dbghelp: Create a single compiland instance by name in PDB.
[wine.git] / configure
blobca543e4503e60b7ecf2d3a6c8ffc48d8e5cdaf51
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.71 for Wine 7.21.
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.21'
615 PACKAGE_STRING='Wine 7.21'
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 RT_LIBS
656 DELAYLOADFLAG
657 MSVCRTFLAGS
658 NETAPI_LIBS
659 NETAPI_CFLAGS
660 PROCSTAT_LIBS
661 GSSAPI_LIBS
662 GSSAPI_CFLAGS
663 KRB5_LIBS
664 KRB5_CFLAGS
665 FONTCONFIG_LIBS
666 FONTCONFIG_CFLAGS
667 CUPS_LIBS
668 CUPS_CFLAGS
669 CAPI20_LIBS
670 CAPI20_CFLAGS
671 SDL2_LIBS
672 SDL2_CFLAGS
673 UNWIND_LIBS
674 UNWIND_CFLAGS
675 UDEV_LIBS
676 UDEV_CFLAGS
677 OSS4_LIBS
678 OSS4_CFLAGS
679 ALSA_LIBS
680 GSTREAMER_LIBS
681 GSTREAMER_CFLAGS
682 PULSE_LIBS
683 PULSE_CFLAGS
684 GETTEXTPO_LIBS
685 FREETYPE_LIBS
686 FREETYPE_CFLAGS
687 RESOLV_LIBS
688 GPHOTO2_PORT_LIBS
689 GPHOTO2_PORT_CFLAGS
690 GPHOTO2_LIBS
691 GPHOTO2_CFLAGS
692 USB_LIBS
693 USB_CFLAGS
694 SANE_LIBS
695 SANE_CFLAGS
696 GNUTLS_LIBS
697 GNUTLS_CFLAGS
698 DBUS_LIBS
699 DBUS_CFLAGS
700 INOTIFY_LIBS
701 INOTIFY_CFLAGS
702 PCAP_LIBS
703 X_EXTRA_LIBS
704 X_LIBS
705 X_PRE_LIBS
706 X_CFLAGS
708 XMKMF
709 PTHREAD_LIBS
710 ZLIB_PE_LIBS
711 ZLIB_PE_CFLAGS
712 XSLT_PE_LIBS
713 XSLT_PE_CFLAGS
714 XML2_PE_LIBS
715 XML2_PE_CFLAGS
716 VKD3D_PE_LIBS
717 VKD3D_PE_CFLAGS
718 TIFF_PE_LIBS
719 TIFF_PE_CFLAGS
720 PNG_PE_LIBS
721 PNG_PE_CFLAGS
722 MPG123_PE_LIBS
723 MPG123_PE_CFLAGS
724 LDAP_PE_LIBS
725 LDAP_PE_CFLAGS
726 LCMS2_PE_LIBS
727 LCMS2_PE_CFLAGS
728 JXR_PE_LIBS
729 JXR_PE_CFLAGS
730 JPEG_PE_LIBS
731 JPEG_PE_CFLAGS
732 GSM_PE_LIBS
733 GSM_PE_CFLAGS
734 FAUDIO_PE_LIBS
735 FAUDIO_PE_CFLAGS
736 MINGW_PKG_CONFIG
737 PE_ARCHS
738 LIBWINE_DEPENDS
739 PRELINK
740 WINELOADER_DEPENDS
741 LIBWINE_LDFLAGS
742 LIBWINE_SHAREDLIB
743 METAL_LIBS
744 CARBON_LIBS
745 OPENCL_LIBS
746 COREAUDIO_LIBS
747 SECURITY_LIBS
748 DISKARBITRATION_LIBS
749 SYSTEMCONFIGURATION_LIBS
750 APPKIT_LIBS
751 CORESERVICES_LIBS
752 APPLICATIONSERVICES_LIBS
753 IOKIT_LIBS
754 COREFOUNDATION_LIBS
755 ac_ct_OBJC
756 OBJCFLAGS
757 OBJC
758 WINELOADER_PROGRAMS
759 CONFIGURE_TARGETS
760 DISABLED_SUBDIRS
761 SUBDIRS
762 READELF
763 OTOOL
765 WINEPRELOADER_LDFLAGS
766 WINELOADER_LDFLAGS
767 TOP_INSTALL_DEV
768 TOP_INSTALL_LIB
769 UNIXLDFLAGS
770 UNIXDLLFLAGS
771 EXTRACFLAGS
772 LDEXECFLAGS
773 LDDLLFLAGS
774 DLLFLAGS
775 OPENGL_LIBS
776 I386_LIBS
777 ICOTOOL
778 CONVERT
779 RSVG
780 FONTFORGE
781 PKG_CONFIG
782 MSGFMT
783 LDCONFIG
784 EGREP
785 GREP
786 LN_S
787 RANLIB
788 STRIP
789 ac_ct_AR
791 BISON
792 FLEX
793 SED_CMD
794 RUNTESTFLAGS
795 MAKEDEP
796 toolsdir
797 x86_64_DISABLED_SUBDIRS
798 x86_64_DELAYLOADFLAG
799 x86_64_TARGET
800 x86_64_DEBUG
801 x86_64_LDFLAGS
802 x86_64_EXTRACFLAGS
803 x86_64_CFLAGS
804 x86_64_CC
805 i386_DISABLED_SUBDIRS
806 i386_DELAYLOADFLAG
807 i386_TARGET
808 i386_DEBUG
809 i386_LDFLAGS
810 i386_EXTRACFLAGS
811 i386_CFLAGS
812 i386_CC
813 arm_DISABLED_SUBDIRS
814 arm_DELAYLOADFLAG
815 arm_TARGET
816 arm_DEBUG
817 arm_LDFLAGS
818 arm_EXTRACFLAGS
819 arm_CFLAGS
820 arm_CC
821 aarch64_DISABLED_SUBDIRS
822 aarch64_DELAYLOADFLAG
823 aarch64_TARGET
824 aarch64_DEBUG
825 aarch64_LDFLAGS
826 aarch64_EXTRACFLAGS
827 aarch64_CFLAGS
828 aarch64_CC
829 HOST_ARCH
830 toolsext
831 TARGETFLAGS
833 CPPBIN
834 ac_ct_CXX
835 CXXFLAGS
837 OBJEXT
838 EXEEXT
839 ac_ct_CC
840 CPPFLAGS
841 LDFLAGS
842 CFLAGS
844 SET_MAKE
845 srcdir
846 nlsdir
847 fontdir
848 dlldir
849 host_os
850 host_vendor
851 host_cpu
852 host
853 build_os
854 build_vendor
855 build_cpu
856 build
857 system_dllpath
858 target_alias
859 host_alias
860 build_alias
861 LIBS
862 ECHO_T
863 ECHO_N
864 ECHO_C
865 DEFS
866 mandir
867 localedir
868 libdir
869 psdir
870 pdfdir
871 dvidir
872 htmldir
873 infodir
874 docdir
875 oldincludedir
876 includedir
877 runstatedir
878 localstatedir
879 sharedstatedir
880 sysconfdir
881 datadir
882 datarootdir
883 libexecdir
884 sbindir
885 bindir
886 program_transform_name
887 prefix
888 exec_prefix
889 PACKAGE_URL
890 PACKAGE_BUGREPORT
891 PACKAGE_STRING
892 PACKAGE_VERSION
893 PACKAGE_TARNAME
894 PACKAGE_NAME
895 PATH_SEPARATOR
896 SHELL'
897 ac_subst_files=''
898 ac_user_opts='
899 enable_option_checking
900 enable_archs
901 enable_win16
902 enable_win64
903 enable_tests
904 enable_build_id
905 enable_maintainer_mode
906 enable_silent_rules
907 enable_werror
908 with_alsa
909 with_capi
910 with_coreaudio
911 with_cups
912 with_dbus
913 with_float_abi
914 with_fontconfig
915 with_freetype
916 with_gettext
917 with_gettextpo
918 with_gphoto
919 with_gnutls
920 with_gssapi
921 with_gstreamer
922 with_inotify
923 with_krb5
924 with_mingw
925 with_netapi
926 with_opencl
927 with_opengl
928 with_osmesa
929 with_oss
930 with_pcap
931 with_pthread
932 with_pulse
933 with_sane
934 with_sdl
935 with_udev
936 with_unwind
937 with_usb
938 with_v4l2
939 with_vulkan
940 with_xcomposite
941 with_xcursor
942 with_xfixes
943 with_xinerama
944 with_xinput
945 with_xinput2
946 with_xrandr
947 with_xrender
948 with_xshape
949 with_xshm
950 with_xxf86vm
951 with_system_dllpath
952 with_wine_tools
953 with_wine64
954 enable_largefile
955 with_x
956 enable_acledit
957 enable_aclui
958 enable_activeds_tlb
959 enable_activeds
960 enable_actxprxy
961 enable_adsldp
962 enable_adsldpc
963 enable_advapi32
964 enable_advpack
965 enable_amsi
966 enable_amstream
967 enable_apisetschema
968 enable_apphelp
969 enable_appwiz_cpl
970 enable_atl
971 enable_atl100
972 enable_atl110
973 enable_atl80
974 enable_atl90
975 enable_atlthunk
976 enable_atmlib
977 enable_authz
978 enable_avicap32
979 enable_avifil32
980 enable_avrt
981 enable_bcrypt
982 enable_bluetoothapis
983 enable_browseui
984 enable_bthprops_cpl
985 enable_cabinet
986 enable_capi2032
987 enable_cards
988 enable_cdosys
989 enable_cfgmgr32
990 enable_clusapi
991 enable_cng_sys
992 enable_combase
993 enable_comcat
994 enable_comctl32
995 enable_comdlg32
996 enable_compstui
997 enable_comsvcs
998 enable_concrt140
999 enable_connect
1000 enable_credui
1001 enable_crtdll
1002 enable_crypt32
1003 enable_cryptdlg
1004 enable_cryptdll
1005 enable_cryptext
1006 enable_cryptnet
1007 enable_cryptowinrt
1008 enable_cryptsp
1009 enable_cryptui
1010 enable_ctapi32
1011 enable_ctl3d32
1012 enable_d2d1
1013 enable_d3d10
1014 enable_d3d10_1
1015 enable_d3d10core
1016 enable_d3d11
1017 enable_d3d12
1018 enable_d3d8
1019 enable_d3d8thk
1020 enable_d3d9
1021 enable_d3dcompiler_33
1022 enable_d3dcompiler_34
1023 enable_d3dcompiler_35
1024 enable_d3dcompiler_36
1025 enable_d3dcompiler_37
1026 enable_d3dcompiler_38
1027 enable_d3dcompiler_39
1028 enable_d3dcompiler_40
1029 enable_d3dcompiler_41
1030 enable_d3dcompiler_42
1031 enable_d3dcompiler_43
1032 enable_d3dcompiler_46
1033 enable_d3dcompiler_47
1034 enable_d3dim
1035 enable_d3dim700
1036 enable_d3drm
1037 enable_d3dx10_33
1038 enable_d3dx10_34
1039 enable_d3dx10_35
1040 enable_d3dx10_36
1041 enable_d3dx10_37
1042 enable_d3dx10_38
1043 enable_d3dx10_39
1044 enable_d3dx10_40
1045 enable_d3dx10_41
1046 enable_d3dx10_42
1047 enable_d3dx10_43
1048 enable_d3dx11_42
1049 enable_d3dx11_43
1050 enable_d3dx9_24
1051 enable_d3dx9_25
1052 enable_d3dx9_26
1053 enable_d3dx9_27
1054 enable_d3dx9_28
1055 enable_d3dx9_29
1056 enable_d3dx9_30
1057 enable_d3dx9_31
1058 enable_d3dx9_32
1059 enable_d3dx9_33
1060 enable_d3dx9_34
1061 enable_d3dx9_35
1062 enable_d3dx9_36
1063 enable_d3dx9_37
1064 enable_d3dx9_38
1065 enable_d3dx9_39
1066 enable_d3dx9_40
1067 enable_d3dx9_41
1068 enable_d3dx9_42
1069 enable_d3dx9_43
1070 enable_d3dxof
1071 enable_davclnt
1072 enable_dbgeng
1073 enable_dbghelp
1074 enable_dciman32
1075 enable_dcomp
1076 enable_ddraw
1077 enable_ddrawex
1078 enable_devenum
1079 enable_dhcpcsvc
1080 enable_dhcpcsvc6
1081 enable_dhtmled_ocx
1082 enable_diasymreader
1083 enable_difxapi
1084 enable_dinput
1085 enable_dinput8
1086 enable_directmanipulation
1087 enable_dispex
1088 enable_dmband
1089 enable_dmcompos
1090 enable_dmime
1091 enable_dmloader
1092 enable_dmscript
1093 enable_dmstyle
1094 enable_dmsynth
1095 enable_dmusic
1096 enable_dmusic32
1097 enable_dnsapi
1098 enable_dplay
1099 enable_dplayx
1100 enable_dpnaddr
1101 enable_dpnet
1102 enable_dpnhpast
1103 enable_dpnhupnp
1104 enable_dpnlobby
1105 enable_dpvoice
1106 enable_dpwsockx
1107 enable_drmclien
1108 enable_dsdmo
1109 enable_dsound
1110 enable_dsquery
1111 enable_dssenh
1112 enable_dsuiext
1113 enable_dswave
1114 enable_dwmapi
1115 enable_dwrite
1116 enable_dx8vb
1117 enable_dxdiagn
1118 enable_dxgi
1119 enable_dxtrans
1120 enable_dxva2
1121 enable_esent
1122 enable_evr
1123 enable_explorerframe
1124 enable_faultrep
1125 enable_feclient
1126 enable_fltlib
1127 enable_fltmgr_sys
1128 enable_fntcache
1129 enable_fontsub
1130 enable_fusion
1131 enable_fwpuclnt
1132 enable_gameux
1133 enable_gamingtcui
1134 enable_gdi32
1135 enable_gdiplus
1136 enable_glu32
1137 enable_gphoto2_ds
1138 enable_gpkcsp
1139 enable_hal
1140 enable_hhctrl_ocx
1141 enable_hid
1142 enable_hidclass_sys
1143 enable_hidparse_sys
1144 enable_hlink
1145 enable_hnetcfg
1146 enable_http_sys
1147 enable_httpapi
1148 enable_ia2comproxy
1149 enable_iccvid
1150 enable_icmp
1151 enable_ieframe
1152 enable_ieproxy
1153 enable_imaadp32_acm
1154 enable_imagehlp
1155 enable_imm32
1156 enable_inetcomm
1157 enable_inetcpl_cpl
1158 enable_inetmib1
1159 enable_infosoft
1160 enable_initpki
1161 enable_inkobj
1162 enable_inseng
1163 enable_iphlpapi
1164 enable_iprop
1165 enable_irprops_cpl
1166 enable_itircl
1167 enable_itss
1168 enable_joy_cpl
1169 enable_jscript
1170 enable_jsproxy
1171 enable_kerberos
1172 enable_kernel32
1173 enable_kernelbase
1174 enable_ksecdd_sys
1175 enable_ksproxy_ax
1176 enable_ksuser
1177 enable_ktmw32
1178 enable_l3codeca_acm
1179 enable_light_msstyles
1180 enable_loadperf
1181 enable_localspl
1182 enable_localui
1183 enable_lz32
1184 enable_mapi32
1185 enable_mapistub
1186 enable_mciavi32
1187 enable_mcicda
1188 enable_mciqtz32
1189 enable_mciseq
1190 enable_mciwave
1191 enable_mf
1192 enable_mf3216
1193 enable_mferror
1194 enable_mfmediaengine
1195 enable_mfplat
1196 enable_mfplay
1197 enable_mfreadwrite
1198 enable_mfsrcsnk
1199 enable_mgmtapi
1200 enable_midimap
1201 enable_mlang
1202 enable_mmcndmgr
1203 enable_mmdevapi
1204 enable_mountmgr_sys
1205 enable_mp3dmod
1206 enable_mpr
1207 enable_mprapi
1208 enable_msacm32_drv
1209 enable_msacm32
1210 enable_msado15
1211 enable_msadp32_acm
1212 enable_msasn1
1213 enable_mscat32
1214 enable_mscms
1215 enable_mscoree
1216 enable_mscorwks
1217 enable_msctf
1218 enable_msctfmonitor
1219 enable_msctfp
1220 enable_msdaps
1221 enable_msdasql
1222 enable_msdelta
1223 enable_msdmo
1224 enable_msdrm
1225 enable_msftedit
1226 enable_msg711_acm
1227 enable_msgsm32_acm
1228 enable_mshtml_tlb
1229 enable_mshtml
1230 enable_msi
1231 enable_msident
1232 enable_msimg32
1233 enable_msimsg
1234 enable_msimtf
1235 enable_msisip
1236 enable_msisys_ocx
1237 enable_msls31
1238 enable_msnet32
1239 enable_mspatcha
1240 enable_msports
1241 enable_msrle32
1242 enable_msscript_ocx
1243 enable_mssign32
1244 enable_mssip32
1245 enable_mstask
1246 enable_msv1_0
1247 enable_msvcirt
1248 enable_msvcm80
1249 enable_msvcm90
1250 enable_msvcp100
1251 enable_msvcp110
1252 enable_msvcp120
1253 enable_msvcp120_app
1254 enable_msvcp140
1255 enable_msvcp140_1
1256 enable_msvcp140_2
1257 enable_msvcp140_atomic_wait
1258 enable_msvcp60
1259 enable_msvcp70
1260 enable_msvcp71
1261 enable_msvcp80
1262 enable_msvcp90
1263 enable_msvcp_win
1264 enable_msvcr100
1265 enable_msvcr110
1266 enable_msvcr120
1267 enable_msvcr120_app
1268 enable_msvcr70
1269 enable_msvcr71
1270 enable_msvcr80
1271 enable_msvcr90
1272 enable_msvcrt
1273 enable_msvcrt20
1274 enable_msvcrt40
1275 enable_msvcrtd
1276 enable_msvfw32
1277 enable_msvidc32
1278 enable_mswsock
1279 enable_msxml
1280 enable_msxml2
1281 enable_msxml3
1282 enable_msxml4
1283 enable_msxml6
1284 enable_mtxdm
1285 enable_ncrypt
1286 enable_nddeapi
1287 enable_ndis_sys
1288 enable_netapi32
1289 enable_netcfgx
1290 enable_netio_sys
1291 enable_netprofm
1292 enable_netutils
1293 enable_newdev
1294 enable_ninput
1295 enable_normaliz
1296 enable_npmshtml
1297 enable_npptools
1298 enable_nsi
1299 enable_nsiproxy_sys
1300 enable_ntdll
1301 enable_ntdsapi
1302 enable_ntoskrnl_exe
1303 enable_ntprint
1304 enable_objsel
1305 enable_odbc32
1306 enable_odbcbcp
1307 enable_odbccp32
1308 enable_odbccu32
1309 enable_ole32
1310 enable_oleacc
1311 enable_oleaut32
1312 enable_olecli32
1313 enable_oledb32
1314 enable_oledlg
1315 enable_olepro32
1316 enable_olesvr32
1317 enable_olethk32
1318 enable_opcservices
1319 enable_opencl
1320 enable_opengl32
1321 enable_packager
1322 enable_pdh
1323 enable_photometadatahandler
1324 enable_pidgen
1325 enable_powrprof
1326 enable_printui
1327 enable_prntvpt
1328 enable_propsys
1329 enable_psapi
1330 enable_pstorec
1331 enable_pwrshplugin
1332 enable_qasf
1333 enable_qcap
1334 enable_qdvd
1335 enable_qedit
1336 enable_qmgr
1337 enable_qmgrprxy
1338 enable_quartz
1339 enable_query
1340 enable_qwave
1341 enable_rasapi32
1342 enable_rasdlg
1343 enable_regapi
1344 enable_resutils
1345 enable_riched20
1346 enable_riched32
1347 enable_rpcrt4
1348 enable_rsabase
1349 enable_rsaenh
1350 enable_rstrtmgr
1351 enable_rtutils
1352 enable_rtworkq
1353 enable_samlib
1354 enable_sane_ds
1355 enable_sapi
1356 enable_sas
1357 enable_scarddlg
1358 enable_sccbase
1359 enable_schannel
1360 enable_schedsvc
1361 enable_scrobj
1362 enable_scrrun
1363 enable_scsiport_sys
1364 enable_sechost
1365 enable_secur32
1366 enable_security
1367 enable_sensapi
1368 enable_serialui
1369 enable_setupapi
1370 enable_sfc
1371 enable_sfc_os
1372 enable_shcore
1373 enable_shdoclc
1374 enable_shdocvw
1375 enable_shell32
1376 enable_shfolder
1377 enable_shlwapi
1378 enable_slbcsp
1379 enable_slc
1380 enable_snmpapi
1381 enable_softpub
1382 enable_spoolss
1383 enable_sppc
1384 enable_srclient
1385 enable_srvcli
1386 enable_sspicli
1387 enable_stdole2_tlb
1388 enable_stdole32_tlb
1389 enable_sti
1390 enable_strmdll
1391 enable_svrapi
1392 enable_sxs
1393 enable_t2embed
1394 enable_tapi32
1395 enable_taskschd
1396 enable_tbs
1397 enable_tdh
1398 enable_tdi_sys
1399 enable_threadpoolwinrt
1400 enable_traffic
1401 enable_twain_32
1402 enable_tzres
1403 enable_ucrtbase
1404 enable_uianimation
1405 enable_uiautomationcore
1406 enable_uiribbon
1407 enable_unicows
1408 enable_updspapi
1409 enable_url
1410 enable_urlmon
1411 enable_usbd_sys
1412 enable_user32
1413 enable_userenv
1414 enable_usp10
1415 enable_utildll
1416 enable_uxtheme
1417 enable_vbscript
1418 enable_vcomp
1419 enable_vcomp100
1420 enable_vcomp110
1421 enable_vcomp120
1422 enable_vcomp140
1423 enable_vcomp90
1424 enable_vcruntime140
1425 enable_vcruntime140_1
1426 enable_vdmdbg
1427 enable_version
1428 enable_vga
1429 enable_virtdisk
1430 enable_vssapi
1431 enable_vulkan_1
1432 enable_wbemdisp
1433 enable_wbemprox
1434 enable_wdscore
1435 enable_webservices
1436 enable_websocket
1437 enable_wer
1438 enable_wevtapi
1439 enable_wevtsvc
1440 enable_wiaservc
1441 enable_wimgapi
1442 enable_win32u
1443 enable_windows_devices_enumeration
1444 enable_windows_gaming_input
1445 enable_windows_gaming_ui_gamebar
1446 enable_windows_globalization
1447 enable_windows_media_devices
1448 enable_windows_media_speech
1449 enable_windows_networking
1450 enable_windowscodecs
1451 enable_windowscodecsext
1452 enable_winealsa_drv
1453 enable_wineandroid_drv
1454 enable_winebus_sys
1455 enable_winecoreaudio_drv
1456 enable_winecrt0
1457 enable_wined3d
1458 enable_winegstreamer
1459 enable_winehid_sys
1460 enable_winemac_drv
1461 enable_winemapi
1462 enable_wineoss_drv
1463 enable_wineps_drv
1464 enable_winepulse_drv
1465 enable_wineusb_sys
1466 enable_winevulkan
1467 enable_winex11_drv
1468 enable_winexinput_sys
1469 enable_wing32
1470 enable_winhttp
1471 enable_wininet
1472 enable_winmm
1473 enable_winnls32
1474 enable_winscard
1475 enable_winspool_drv
1476 enable_winsta
1477 enable_wintab32
1478 enable_wintrust
1479 enable_wintypes
1480 enable_winusb
1481 enable_wlanapi
1482 enable_wlanui
1483 enable_wldap32
1484 enable_wmasf
1485 enable_wmi
1486 enable_wmiutils
1487 enable_wmp
1488 enable_wmphoto
1489 enable_wmvcore
1490 enable_wnaspi32
1491 enable_wow64
1492 enable_wow64cpu
1493 enable_wow64win
1494 enable_wpc
1495 enable_wpcap
1496 enable_ws2_32
1497 enable_wsdapi
1498 enable_wshom_ocx
1499 enable_wsnmp32
1500 enable_wsock32
1501 enable_wtsapi32
1502 enable_wuapi
1503 enable_wuaueng
1504 enable_x3daudio1_0
1505 enable_x3daudio1_1
1506 enable_x3daudio1_2
1507 enable_x3daudio1_3
1508 enable_x3daudio1_4
1509 enable_x3daudio1_5
1510 enable_x3daudio1_6
1511 enable_x3daudio1_7
1512 enable_xactengine2_0
1513 enable_xactengine2_4
1514 enable_xactengine2_7
1515 enable_xactengine2_9
1516 enable_xactengine3_0
1517 enable_xactengine3_1
1518 enable_xactengine3_2
1519 enable_xactengine3_3
1520 enable_xactengine3_4
1521 enable_xactengine3_5
1522 enable_xactengine3_6
1523 enable_xactengine3_7
1524 enable_xapofx1_1
1525 enable_xapofx1_2
1526 enable_xapofx1_3
1527 enable_xapofx1_4
1528 enable_xapofx1_5
1529 enable_xaudio2_0
1530 enable_xaudio2_1
1531 enable_xaudio2_2
1532 enable_xaudio2_3
1533 enable_xaudio2_4
1534 enable_xaudio2_5
1535 enable_xaudio2_6
1536 enable_xaudio2_7
1537 enable_xaudio2_8
1538 enable_xaudio2_9
1539 enable_xinput1_1
1540 enable_xinput1_2
1541 enable_xinput1_3
1542 enable_xinput1_4
1543 enable_xinput9_1_0
1544 enable_xmllite
1545 enable_xolehlp
1546 enable_xpsprint
1547 enable_xpssvcs
1548 enable_fonts
1549 enable_include
1550 enable_adsiid
1551 enable_dmoguids
1552 enable_dxerr8
1553 enable_dxerr9
1554 enable_dxguid
1555 enable_faudio
1556 enable_gsm
1557 enable_jpeg
1558 enable_jxr
1559 enable_lcms2
1560 enable_ldap
1561 enable_mfuuid
1562 enable_mpg123
1563 enable_png
1564 enable_strmbase
1565 enable_strmiids
1566 enable_tiff
1567 enable_uuid
1568 enable_vkd3d
1569 enable_wbemuuid
1570 enable_wine
1571 enable_wmcodecdspuuid
1572 enable_xml2
1573 enable_xslt
1574 enable_zlib
1575 enable_loader
1576 enable_nls
1577 enable_po
1578 enable_arp
1579 enable_aspnet_regiis
1580 enable_attrib
1581 enable_cabarc
1582 enable_cacls
1583 enable_certutil
1584 enable_chcp_com
1585 enable_clock
1586 enable_cmd
1587 enable_conhost
1588 enable_control
1589 enable_cscript
1590 enable_dism
1591 enable_dllhost
1592 enable_dplaysvr
1593 enable_dpnsvr
1594 enable_dpvsetup
1595 enable_dxdiag
1596 enable_eject
1597 enable_expand
1598 enable_explorer
1599 enable_extrac32
1600 enable_fc
1601 enable_find
1602 enable_findstr
1603 enable_fsutil
1604 enable_hh
1605 enable_hostname
1606 enable_icacls
1607 enable_icinfo
1608 enable_iexplore
1609 enable_ipconfig
1610 enable_lodctr
1611 enable_mofcomp
1612 enable_mshta
1613 enable_msidb
1614 enable_msiexec
1615 enable_msinfo32
1616 enable_net
1617 enable_netsh
1618 enable_netstat
1619 enable_ngen
1620 enable_notepad
1621 enable_oleview
1622 enable_ping
1623 enable_plugplay
1624 enable_powershell
1625 enable_presentationfontcache
1626 enable_progman
1627 enable_reg
1628 enable_regasm
1629 enable_regedit
1630 enable_regini
1631 enable_regsvcs
1632 enable_regsvr32
1633 enable_robocopy
1634 enable_rpcss
1635 enable_rundll32
1636 enable_sc
1637 enable_schtasks
1638 enable_sdbinst
1639 enable_secedit
1640 enable_servicemodelreg
1641 enable_services
1642 enable_setx
1643 enable_shutdown
1644 enable_spoolsv
1645 enable_start
1646 enable_subst
1647 enable_svchost
1648 enable_systeminfo
1649 enable_taskkill
1650 enable_tasklist
1651 enable_taskmgr
1652 enable_termsv
1653 enable_uninstaller
1654 enable_unlodctr
1655 enable_view
1656 enable_wevtutil
1657 enable_where
1658 enable_whoami
1659 enable_wineboot
1660 enable_winebrowser
1661 enable_winecfg
1662 enable_wineconsole
1663 enable_winedbg
1664 enable_winedevice
1665 enable_winefile
1666 enable_winemenubuilder
1667 enable_winemine
1668 enable_winemsibuilder
1669 enable_winepath
1670 enable_winetest
1671 enable_winhlp32
1672 enable_winmgmt
1673 enable_winver
1674 enable_wmic
1675 enable_wmplayer
1676 enable_wordpad
1677 enable_write
1678 enable_wscript
1679 enable_wuauserv
1680 enable_wusa
1681 enable_xcopy
1682 enable_server
1683 enable_tools
1684 enable_sfnt2fon
1685 enable_widl
1686 enable_winebuild
1687 enable_winedump
1688 enable_winegcc
1689 enable_winemaker
1690 enable_wmc
1691 enable_wrc
1693 ac_precious_vars='build_alias
1694 host_alias
1695 target_alias
1697 CFLAGS
1698 LDFLAGS
1699 LIBS
1700 CPPFLAGS
1702 CXXFLAGS
1704 OBJC
1705 OBJCFLAGS
1706 FAUDIO_PE_CFLAGS
1707 FAUDIO_PE_LIBS
1708 GSM_PE_CFLAGS
1709 GSM_PE_LIBS
1710 JPEG_PE_CFLAGS
1711 JPEG_PE_LIBS
1712 JXR_PE_CFLAGS
1713 JXR_PE_LIBS
1714 LCMS2_PE_CFLAGS
1715 LCMS2_PE_LIBS
1716 LDAP_PE_CFLAGS
1717 LDAP_PE_LIBS
1718 MPG123_PE_CFLAGS
1719 MPG123_PE_LIBS
1720 PNG_PE_CFLAGS
1721 PNG_PE_LIBS
1722 TIFF_PE_CFLAGS
1723 TIFF_PE_LIBS
1724 VKD3D_PE_CFLAGS
1725 VKD3D_PE_LIBS
1726 XML2_PE_CFLAGS
1727 XML2_PE_LIBS
1728 XSLT_PE_CFLAGS
1729 XSLT_PE_LIBS
1730 ZLIB_PE_CFLAGS
1731 ZLIB_PE_LIBS
1732 XMKMF
1734 INOTIFY_CFLAGS
1735 INOTIFY_LIBS
1736 DBUS_CFLAGS
1737 DBUS_LIBS
1738 GNUTLS_CFLAGS
1739 GNUTLS_LIBS
1740 SANE_CFLAGS
1741 SANE_LIBS
1742 USB_CFLAGS
1743 USB_LIBS
1744 GPHOTO2_CFLAGS
1745 GPHOTO2_LIBS
1746 GPHOTO2_PORT_CFLAGS
1747 GPHOTO2_PORT_LIBS
1748 FREETYPE_CFLAGS
1749 FREETYPE_LIBS
1750 PULSE_CFLAGS
1751 PULSE_LIBS
1752 GSTREAMER_CFLAGS
1753 GSTREAMER_LIBS
1754 UDEV_CFLAGS
1755 UDEV_LIBS
1756 UNWIND_CFLAGS
1757 UNWIND_LIBS
1758 SDL2_CFLAGS
1759 SDL2_LIBS
1760 CAPI20_CFLAGS
1761 CAPI20_LIBS
1762 CUPS_CFLAGS
1763 CUPS_LIBS
1764 FONTCONFIG_CFLAGS
1765 FONTCONFIG_LIBS
1766 KRB5_CFLAGS
1767 KRB5_LIBS
1768 GSSAPI_CFLAGS
1769 GSSAPI_LIBS
1770 NETAPI_CFLAGS
1771 NETAPI_LIBS'
1774 # Initialize some variables set by options.
1775 ac_init_help=
1776 ac_init_version=false
1777 ac_unrecognized_opts=
1778 ac_unrecognized_sep=
1779 # The variables have the same names as the options, with
1780 # dashes changed to underlines.
1781 cache_file=/dev/null
1782 exec_prefix=NONE
1783 no_create=
1784 no_recursion=
1785 prefix=NONE
1786 program_prefix=NONE
1787 program_suffix=NONE
1788 program_transform_name=s,x,x,
1789 silent=
1790 site=
1791 srcdir=
1792 verbose=
1793 x_includes=NONE
1794 x_libraries=NONE
1796 # Installation directory options.
1797 # These are left unexpanded so users can "make install exec_prefix=/foo"
1798 # and all the variables that are supposed to be based on exec_prefix
1799 # by default will actually change.
1800 # Use braces instead of parens because sh, perl, etc. also accept them.
1801 # (The list follows the same order as the GNU Coding Standards.)
1802 bindir='${exec_prefix}/bin'
1803 sbindir='${exec_prefix}/sbin'
1804 libexecdir='${exec_prefix}/libexec'
1805 datarootdir='${prefix}/share'
1806 datadir='${datarootdir}'
1807 sysconfdir='${prefix}/etc'
1808 sharedstatedir='${prefix}/com'
1809 localstatedir='${prefix}/var'
1810 runstatedir='${localstatedir}/run'
1811 includedir='${prefix}/include'
1812 oldincludedir='/usr/include'
1813 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1814 infodir='${datarootdir}/info'
1815 htmldir='${docdir}'
1816 dvidir='${docdir}'
1817 pdfdir='${docdir}'
1818 psdir='${docdir}'
1819 libdir='${exec_prefix}/lib'
1820 localedir='${datarootdir}/locale'
1821 mandir='${datarootdir}/man'
1823 ac_prev=
1824 ac_dashdash=
1825 for ac_option
1827 # If the previous option needs an argument, assign it.
1828 if test -n "$ac_prev"; then
1829 eval $ac_prev=\$ac_option
1830 ac_prev=
1831 continue
1834 case $ac_option in
1835 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1836 *=) ac_optarg= ;;
1837 *) ac_optarg=yes ;;
1838 esac
1840 case $ac_dashdash$ac_option in
1842 ac_dashdash=yes ;;
1844 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1845 ac_prev=bindir ;;
1846 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1847 bindir=$ac_optarg ;;
1849 -build | --build | --buil | --bui | --bu)
1850 ac_prev=build_alias ;;
1851 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1852 build_alias=$ac_optarg ;;
1854 -cache-file | --cache-file | --cache-fil | --cache-fi \
1855 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1856 ac_prev=cache_file ;;
1857 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1858 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1859 cache_file=$ac_optarg ;;
1861 --config-cache | -C)
1862 cache_file=config.cache ;;
1864 -datadir | --datadir | --datadi | --datad)
1865 ac_prev=datadir ;;
1866 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1867 datadir=$ac_optarg ;;
1869 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1870 | --dataroo | --dataro | --datar)
1871 ac_prev=datarootdir ;;
1872 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1873 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1874 datarootdir=$ac_optarg ;;
1876 -disable-* | --disable-*)
1877 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1878 # Reject names that are not valid shell variable names.
1879 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1880 as_fn_error $? "invalid feature name: \`$ac_useropt'"
1881 ac_useropt_orig=$ac_useropt
1882 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1883 case $ac_user_opts in
1885 "enable_$ac_useropt"
1886 "*) ;;
1887 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1888 ac_unrecognized_sep=', ';;
1889 esac
1890 eval enable_$ac_useropt=no ;;
1892 -docdir | --docdir | --docdi | --doc | --do)
1893 ac_prev=docdir ;;
1894 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1895 docdir=$ac_optarg ;;
1897 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1898 ac_prev=dvidir ;;
1899 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1900 dvidir=$ac_optarg ;;
1902 -enable-* | --enable-*)
1903 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1904 # Reject names that are not valid shell variable names.
1905 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1906 as_fn_error $? "invalid feature name: \`$ac_useropt'"
1907 ac_useropt_orig=$ac_useropt
1908 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1909 case $ac_user_opts in
1911 "enable_$ac_useropt"
1912 "*) ;;
1913 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1914 ac_unrecognized_sep=', ';;
1915 esac
1916 eval enable_$ac_useropt=\$ac_optarg ;;
1918 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1919 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1920 | --exec | --exe | --ex)
1921 ac_prev=exec_prefix ;;
1922 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1923 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1924 | --exec=* | --exe=* | --ex=*)
1925 exec_prefix=$ac_optarg ;;
1927 -gas | --gas | --ga | --g)
1928 # Obsolete; use --with-gas.
1929 with_gas=yes ;;
1931 -help | --help | --hel | --he | -h)
1932 ac_init_help=long ;;
1933 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1934 ac_init_help=recursive ;;
1935 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1936 ac_init_help=short ;;
1938 -host | --host | --hos | --ho)
1939 ac_prev=host_alias ;;
1940 -host=* | --host=* | --hos=* | --ho=*)
1941 host_alias=$ac_optarg ;;
1943 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1944 ac_prev=htmldir ;;
1945 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1946 | --ht=*)
1947 htmldir=$ac_optarg ;;
1949 -includedir | --includedir | --includedi | --included | --include \
1950 | --includ | --inclu | --incl | --inc)
1951 ac_prev=includedir ;;
1952 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1953 | --includ=* | --inclu=* | --incl=* | --inc=*)
1954 includedir=$ac_optarg ;;
1956 -infodir | --infodir | --infodi | --infod | --info | --inf)
1957 ac_prev=infodir ;;
1958 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1959 infodir=$ac_optarg ;;
1961 -libdir | --libdir | --libdi | --libd)
1962 ac_prev=libdir ;;
1963 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1964 libdir=$ac_optarg ;;
1966 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1967 | --libexe | --libex | --libe)
1968 ac_prev=libexecdir ;;
1969 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1970 | --libexe=* | --libex=* | --libe=*)
1971 libexecdir=$ac_optarg ;;
1973 -localedir | --localedir | --localedi | --localed | --locale)
1974 ac_prev=localedir ;;
1975 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1976 localedir=$ac_optarg ;;
1978 -localstatedir | --localstatedir | --localstatedi | --localstated \
1979 | --localstate | --localstat | --localsta | --localst | --locals)
1980 ac_prev=localstatedir ;;
1981 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1982 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1983 localstatedir=$ac_optarg ;;
1985 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1986 ac_prev=mandir ;;
1987 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1988 mandir=$ac_optarg ;;
1990 -nfp | --nfp | --nf)
1991 # Obsolete; use --without-fp.
1992 with_fp=no ;;
1994 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1995 | --no-cr | --no-c | -n)
1996 no_create=yes ;;
1998 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
1999 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2000 no_recursion=yes ;;
2002 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2003 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2004 | --oldin | --oldi | --old | --ol | --o)
2005 ac_prev=oldincludedir ;;
2006 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2007 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2008 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2009 oldincludedir=$ac_optarg ;;
2011 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2012 ac_prev=prefix ;;
2013 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2014 prefix=$ac_optarg ;;
2016 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2017 | --program-pre | --program-pr | --program-p)
2018 ac_prev=program_prefix ;;
2019 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2020 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2021 program_prefix=$ac_optarg ;;
2023 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2024 | --program-suf | --program-su | --program-s)
2025 ac_prev=program_suffix ;;
2026 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2027 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2028 program_suffix=$ac_optarg ;;
2030 -program-transform-name | --program-transform-name \
2031 | --program-transform-nam | --program-transform-na \
2032 | --program-transform-n | --program-transform- \
2033 | --program-transform | --program-transfor \
2034 | --program-transfo | --program-transf \
2035 | --program-trans | --program-tran \
2036 | --progr-tra | --program-tr | --program-t)
2037 ac_prev=program_transform_name ;;
2038 -program-transform-name=* | --program-transform-name=* \
2039 | --program-transform-nam=* | --program-transform-na=* \
2040 | --program-transform-n=* | --program-transform-=* \
2041 | --program-transform=* | --program-transfor=* \
2042 | --program-transfo=* | --program-transf=* \
2043 | --program-trans=* | --program-tran=* \
2044 | --progr-tra=* | --program-tr=* | --program-t=*)
2045 program_transform_name=$ac_optarg ;;
2047 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2048 ac_prev=pdfdir ;;
2049 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2050 pdfdir=$ac_optarg ;;
2052 -psdir | --psdir | --psdi | --psd | --ps)
2053 ac_prev=psdir ;;
2054 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2055 psdir=$ac_optarg ;;
2057 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2058 | -silent | --silent | --silen | --sile | --sil)
2059 silent=yes ;;
2061 -runstatedir | --runstatedir | --runstatedi | --runstated \
2062 | --runstate | --runstat | --runsta | --runst | --runs \
2063 | --run | --ru | --r)
2064 ac_prev=runstatedir ;;
2065 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2066 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2067 | --run=* | --ru=* | --r=*)
2068 runstatedir=$ac_optarg ;;
2070 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2071 ac_prev=sbindir ;;
2072 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2073 | --sbi=* | --sb=*)
2074 sbindir=$ac_optarg ;;
2076 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2077 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2078 | --sharedst | --shareds | --shared | --share | --shar \
2079 | --sha | --sh)
2080 ac_prev=sharedstatedir ;;
2081 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2082 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2083 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2084 | --sha=* | --sh=*)
2085 sharedstatedir=$ac_optarg ;;
2087 -site | --site | --sit)
2088 ac_prev=site ;;
2089 -site=* | --site=* | --sit=*)
2090 site=$ac_optarg ;;
2092 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2093 ac_prev=srcdir ;;
2094 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2095 srcdir=$ac_optarg ;;
2097 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2098 | --syscon | --sysco | --sysc | --sys | --sy)
2099 ac_prev=sysconfdir ;;
2100 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2101 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2102 sysconfdir=$ac_optarg ;;
2104 -target | --target | --targe | --targ | --tar | --ta | --t)
2105 ac_prev=target_alias ;;
2106 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2107 target_alias=$ac_optarg ;;
2109 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2110 verbose=yes ;;
2112 -version | --version | --versio | --versi | --vers | -V)
2113 ac_init_version=: ;;
2115 -with-* | --with-*)
2116 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2117 # Reject names that are not valid shell variable names.
2118 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2119 as_fn_error $? "invalid package name: \`$ac_useropt'"
2120 ac_useropt_orig=$ac_useropt
2121 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2122 case $ac_user_opts in
2124 "with_$ac_useropt"
2125 "*) ;;
2126 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2127 ac_unrecognized_sep=', ';;
2128 esac
2129 eval with_$ac_useropt=\$ac_optarg ;;
2131 -without-* | --without-*)
2132 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2133 # Reject names that are not valid shell variable names.
2134 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2135 as_fn_error $? "invalid package name: \`$ac_useropt'"
2136 ac_useropt_orig=$ac_useropt
2137 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2138 case $ac_user_opts in
2140 "with_$ac_useropt"
2141 "*) ;;
2142 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2143 ac_unrecognized_sep=', ';;
2144 esac
2145 eval with_$ac_useropt=no ;;
2147 --x)
2148 # Obsolete; use --with-x.
2149 with_x=yes ;;
2151 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2152 | --x-incl | --x-inc | --x-in | --x-i)
2153 ac_prev=x_includes ;;
2154 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2155 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2156 x_includes=$ac_optarg ;;
2158 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2159 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2160 ac_prev=x_libraries ;;
2161 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2162 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2163 x_libraries=$ac_optarg ;;
2165 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2166 Try \`$0 --help' for more information"
2169 *=*)
2170 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2171 # Reject names that are not valid shell variable names.
2172 case $ac_envvar in #(
2173 '' | [0-9]* | *[!_$as_cr_alnum]* )
2174 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2175 esac
2176 eval $ac_envvar=\$ac_optarg
2177 export $ac_envvar ;;
2180 # FIXME: should be removed in autoconf 3.0.
2181 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
2182 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2183 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
2184 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2187 esac
2188 done
2190 if test -n "$ac_prev"; then
2191 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2192 as_fn_error $? "missing argument to $ac_option"
2195 if test -n "$ac_unrecognized_opts"; then
2196 case $enable_option_checking in
2197 no) ;;
2198 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2199 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2200 esac
2203 # Check all directory arguments for consistency.
2204 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2205 datadir sysconfdir sharedstatedir localstatedir includedir \
2206 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2207 libdir localedir mandir runstatedir
2209 eval ac_val=\$$ac_var
2210 # Remove trailing slashes.
2211 case $ac_val in
2212 */ )
2213 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2214 eval $ac_var=\$ac_val;;
2215 esac
2216 # Be sure to have absolute directory names.
2217 case $ac_val in
2218 [\\/$]* | ?:[\\/]* ) continue;;
2219 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2220 esac
2221 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2222 done
2224 # There might be people who depend on the old broken behavior: `$host'
2225 # used to hold the argument of --host etc.
2226 # FIXME: To remove some day.
2227 build=$build_alias
2228 host=$host_alias
2229 target=$target_alias
2231 # FIXME: To remove some day.
2232 if test "x$host_alias" != x; then
2233 if test "x$build_alias" = x; then
2234 cross_compiling=maybe
2235 elif test "x$build_alias" != "x$host_alias"; then
2236 cross_compiling=yes
2240 ac_tool_prefix=
2241 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2243 test "$silent" = yes && exec 6>/dev/null
2246 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2247 ac_ls_di=`ls -di .` &&
2248 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2249 as_fn_error $? "working directory cannot be determined"
2250 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2251 as_fn_error $? "pwd does not report name of working directory"
2254 # Find the source files, if location was not specified.
2255 if test -z "$srcdir"; then
2256 ac_srcdir_defaulted=yes
2257 # Try the directory containing this script, then the parent directory.
2258 ac_confdir=`$as_dirname -- "$as_myself" ||
2259 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2260 X"$as_myself" : 'X\(//\)[^/]' \| \
2261 X"$as_myself" : 'X\(//\)$' \| \
2262 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2263 printf "%s\n" X"$as_myself" |
2264 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2265 s//\1/
2268 /^X\(\/\/\)[^/].*/{
2269 s//\1/
2272 /^X\(\/\/\)$/{
2273 s//\1/
2276 /^X\(\/\).*/{
2277 s//\1/
2280 s/.*/./; q'`
2281 srcdir=$ac_confdir
2282 if test ! -r "$srcdir/$ac_unique_file"; then
2283 srcdir=..
2285 else
2286 ac_srcdir_defaulted=no
2288 if test ! -r "$srcdir/$ac_unique_file"; then
2289 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2290 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2292 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2293 ac_abs_confdir=`(
2294 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2295 pwd)`
2296 # When building in place, set srcdir=.
2297 if test "$ac_abs_confdir" = "$ac_pwd"; then
2298 srcdir=.
2300 # Remove unnecessary trailing slashes from srcdir.
2301 # Double slashes in file names in object file debugging info
2302 # mess up M-x gdb in Emacs.
2303 case $srcdir in
2304 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2305 esac
2306 for ac_var in $ac_precious_vars; do
2307 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2308 eval ac_env_${ac_var}_value=\$${ac_var}
2309 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2310 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2311 done
2314 # Report the --help message.
2316 if test "$ac_init_help" = "long"; then
2317 # Omit some internal or obsolete options to make the list less imposing.
2318 # This message is too long to be a string in the A/UX 3.1 sh.
2319 cat <<_ACEOF
2320 \`configure' configures Wine 7.21 to adapt to many kinds of systems.
2322 Usage: $0 [OPTION]... [VAR=VALUE]...
2324 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2325 VAR=VALUE. See below for descriptions of some of the useful variables.
2327 Defaults for the options are specified in brackets.
2329 Configuration:
2330 -h, --help display this help and exit
2331 --help=short display options specific to this package
2332 --help=recursive display the short help of all the included packages
2333 -V, --version display version information and exit
2334 -q, --quiet, --silent do not print \`checking ...' messages
2335 --cache-file=FILE cache test results in FILE [disabled]
2336 -C, --config-cache alias for \`--cache-file=config.cache'
2337 -n, --no-create do not create output files
2338 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2340 Installation directories:
2341 --prefix=PREFIX install architecture-independent files in PREFIX
2342 [$ac_default_prefix]
2343 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2344 [PREFIX]
2346 By default, \`make install' will install all the files in
2347 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2348 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2349 for instance \`--prefix=\$HOME'.
2351 For better control, use the options below.
2353 Fine tuning of the installation directories:
2354 --bindir=DIR user executables [EPREFIX/bin]
2355 --sbindir=DIR system admin executables [EPREFIX/sbin]
2356 --libexecdir=DIR program executables [EPREFIX/libexec]
2357 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2358 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2359 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2360 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2361 --libdir=DIR object code libraries [EPREFIX/lib]
2362 --includedir=DIR C header files [PREFIX/include]
2363 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2364 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2365 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2366 --infodir=DIR info documentation [DATAROOTDIR/info]
2367 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2368 --mandir=DIR man documentation [DATAROOTDIR/man]
2369 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2370 --htmldir=DIR html documentation [DOCDIR]
2371 --dvidir=DIR dvi documentation [DOCDIR]
2372 --pdfdir=DIR pdf documentation [DOCDIR]
2373 --psdir=DIR ps documentation [DOCDIR]
2374 _ACEOF
2376 cat <<\_ACEOF
2378 X features:
2379 --x-includes=DIR X include files are in DIR
2380 --x-libraries=DIR X library files are in DIR
2382 System types:
2383 --build=BUILD configure for building on BUILD [guessed]
2384 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2385 _ACEOF
2388 if test -n "$ac_init_help"; then
2389 case $ac_init_help in
2390 short | recursive ) echo "Configuration of Wine 7.21:";;
2391 esac
2392 cat <<\_ACEOF
2394 Optional Features:
2395 --disable-option-checking ignore unrecognized --enable/--with options
2396 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2397 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2398 --enable-archs={i386,x86_64,arm,aarch64}
2399 enable multiple architectures for PE compilation
2400 --disable-win16 do not include Win16 support
2401 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2402 binaries)
2403 --disable-tests do not build the regression tests
2404 --enable-build-id include .buildid section in output objects
2405 --enable-maintainer-mode
2406 enable maintainer-specific build rules
2407 --enable-silent-rules use silent build rules (override: "make V=1")
2408 --enable-werror treat compilation warnings as errors
2409 --disable-largefile omit support for large files
2411 Optional Packages:
2412 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2413 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2414 --without-alsa do not use the Alsa sound support
2415 --without-capi do not use CAPI (ISDN support)
2416 --without-coreaudio do not use the CoreAudio sound support
2417 --without-cups do not use CUPS
2418 --without-dbus do not use DBus (dynamic device support)
2419 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2420 --without-fontconfig do not use fontconfig
2421 --without-freetype do not use the FreeType library
2422 --without-gettext do not use gettext
2423 --with-gettextpo use the GetTextPO library to rebuild po files
2424 --without-gphoto do not use gphoto (Digital Camera support)
2425 --without-gnutls do not use GnuTLS (schannel support)
2426 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2427 --without-gstreamer do not use GStreamer (codecs support)
2428 --without-inotify do not use inotify (filesystem change notifications)
2429 --without-krb5 do not use krb5 (Kerberos)
2430 --without-mingw do not use the MinGW cross-compiler
2431 --without-netapi do not use the Samba NetAPI library
2432 --without-opencl do not use OpenCL
2433 --without-opengl do not use OpenGL
2434 --without-osmesa do not use the OSMesa library
2435 --without-oss do not use the OSS sound support
2436 --without-pcap do not use the Packet Capture library
2437 --without-pthread do not use the pthread library
2438 --without-pulse do not use PulseAudio sound support
2439 --without-sane do not use SANE (scanner support)
2440 --without-sdl do not use SDL
2441 --without-udev do not use udev (plug and play support)
2442 --without-unwind do not use the libunwind library (exception
2443 handling)
2444 --without-usb do not use the libusb library
2445 --without-v4l2 do not use v4l2 (video capture)
2446 --without-vulkan do not use Vulkan
2447 --without-xcomposite do not use the Xcomposite extension
2448 --without-xcursor do not use the Xcursor extension
2449 --without-xfixes do not use Xfixes for clipboard change notifications
2450 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2451 --without-xinput do not use the Xinput extension
2452 --without-xinput2 do not use the Xinput 2 extension
2453 --without-xrandr do not use Xrandr (multi-monitor support)
2454 --without-xrender do not use the Xrender extension
2455 --without-xshape do not use the Xshape extension
2456 --without-xshm do not use XShm (shared memory extension)
2457 --without-xxf86vm do not use XFree video mode extension
2458 --with-system-dllpath=PATH
2459 load external PE dependencies from colon-separated
2460 path PATH
2461 --with-wine-tools=DIR use Wine tools from directory DIR
2462 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2463 --with-x use the X Window System
2465 Some influential environment variables:
2466 CC C compiler command
2467 CFLAGS C compiler flags
2468 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2469 nonstandard directory <lib dir>
2470 LIBS libraries to pass to the linker, e.g. -l<library>
2471 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2472 you have headers in a nonstandard directory <include dir>
2473 CXX C++ compiler command
2474 CXXFLAGS C++ compiler flags
2475 OBJC Objective C compiler command
2476 OBJCFLAGS Objective C compiler flags
2477 FAUDIO_PE_CFLAGS
2478 C compiler flags for the PE faudio, overriding the bundled
2479 version
2480 FAUDIO_PE_LIBS
2481 Linker flags for the PE faudio, overriding the bundled version
2482 GSM_PE_CFLAGS
2483 C compiler flags for the PE gsm, overriding the bundled version
2484 GSM_PE_LIBS Linker flags for the PE gsm, overriding the bundled version
2485 JPEG_PE_CFLAGS
2486 C compiler flags for the PE jpeg, overriding the bundled version
2487 JPEG_PE_LIBS
2488 Linker flags for the PE jpeg, overriding the bundled version
2489 JXR_PE_CFLAGS
2490 C compiler flags for the PE jxr, overriding the bundled version
2491 JXR_PE_LIBS Linker flags for the PE jxr, overriding the bundled version
2492 LCMS2_PE_CFLAGS
2493 C compiler flags for the PE lcms2, overriding the bundled
2494 version
2495 LCMS2_PE_LIBS
2496 Linker flags for the PE lcms2, overriding the bundled version
2497 LDAP_PE_CFLAGS
2498 C compiler flags for the PE ldap, overriding the bundled version
2499 LDAP_PE_LIBS
2500 Linker flags for the PE ldap, overriding the bundled version
2501 MPG123_PE_CFLAGS
2502 C compiler flags for the PE mpg123, overriding the bundled
2503 version
2504 MPG123_PE_LIBS
2505 Linker flags for the PE mpg123, overriding the bundled version
2506 PNG_PE_CFLAGS
2507 C compiler flags for the PE png, overriding the bundled version
2508 PNG_PE_LIBS Linker flags for the PE png, overriding the bundled version
2509 TIFF_PE_CFLAGS
2510 C compiler flags for the PE tiff, overriding the bundled version
2511 TIFF_PE_LIBS
2512 Linker flags for the PE tiff, overriding the bundled version
2513 VKD3D_PE_CFLAGS
2514 C compiler flags for the PE vkd3d, overriding the bundled
2515 version
2516 VKD3D_PE_LIBS
2517 Linker flags for the PE vkd3d, overriding the bundled version
2518 XML2_PE_CFLAGS
2519 C compiler flags for the PE xml2, overriding the bundled version
2520 XML2_PE_LIBS
2521 Linker flags for the PE xml2, overriding the bundled version
2522 XSLT_PE_CFLAGS
2523 C compiler flags for the PE xslt, overriding the bundled version
2524 XSLT_PE_LIBS
2525 Linker flags for the PE xslt, overriding the bundled version
2526 ZLIB_PE_CFLAGS
2527 C compiler flags for the PE zlib, overriding the bundled version
2528 ZLIB_PE_LIBS
2529 Linker flags for the PE zlib, overriding the bundled version
2530 XMKMF Path to xmkmf, Makefile generator for X Window System
2531 CPP C preprocessor
2532 INOTIFY_CFLAGS
2533 C compiler flags for libinotify, overriding pkg-config
2534 INOTIFY_LIBS
2535 Linker flags for libinotify, overriding pkg-config
2536 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2537 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2538 GNUTLS_CFLAGS
2539 C compiler flags for gnutls, overriding pkg-config
2540 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2541 SANE_CFLAGS C compiler flags for sane-backends, overriding pkg-config
2542 SANE_LIBS Linker flags for sane-backends, overriding pkg-config
2543 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2544 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2545 GPHOTO2_CFLAGS
2546 C compiler flags for libgphoto2, overriding pkg-config
2547 GPHOTO2_LIBS
2548 Linker flags for libgphoto2, overriding pkg-config
2549 GPHOTO2_PORT_CFLAGS
2550 C compiler flags for libgphoto2_port, overriding pkg-config
2551 GPHOTO2_PORT_LIBS
2552 Linker flags for libgphoto2_port, overriding pkg-config
2553 FREETYPE_CFLAGS
2554 C compiler flags for freetype2, overriding pkg-config
2555 FREETYPE_LIBS
2556 Linker flags for freetype2, overriding pkg-config
2557 PULSE_CFLAGS
2558 C compiler flags for libpulse, overriding pkg-config
2559 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2560 GSTREAMER_CFLAGS
2561 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2562 gstreamer-audio-1.0, overriding pkg-config
2563 GSTREAMER_LIBS
2564 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2565 gstreamer-audio-1.0, overriding pkg-config
2566 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2567 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2568 UNWIND_CFLAGS
2569 C compiler flags for libunwind, overriding pkg-config
2570 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2571 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2572 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2573 CAPI20_CFLAGS
2574 C compiler flags for capi20, overriding pkg-config
2575 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2576 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2577 CUPS_LIBS Linker flags for cups, overriding pkg-config
2578 FONTCONFIG_CFLAGS
2579 C compiler flags for fontconfig, overriding pkg-config
2580 FONTCONFIG_LIBS
2581 Linker flags for fontconfig, overriding pkg-config
2582 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2583 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2584 GSSAPI_CFLAGS
2585 C compiler flags for krb5-gssapi, overriding pkg-config
2586 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2587 NETAPI_CFLAGS
2588 C compiler flags for netapi, overriding pkg-config
2589 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2591 Use these variables to override the choices made by `configure' or to help
2592 it to find libraries and programs with nonstandard names/locations.
2594 Report bugs to <wine-devel@winehq.org>.
2595 Wine home page: <https://www.winehq.org>.
2596 _ACEOF
2597 ac_status=$?
2600 if test "$ac_init_help" = "recursive"; then
2601 # If there are subdirs, report their specific --help.
2602 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2603 test -d "$ac_dir" ||
2604 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2605 continue
2606 ac_builddir=.
2608 case "$ac_dir" in
2609 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2611 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
2612 # A ".." for each directory in $ac_dir_suffix.
2613 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2614 case $ac_top_builddir_sub in
2615 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2616 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2617 esac ;;
2618 esac
2619 ac_abs_top_builddir=$ac_pwd
2620 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2621 # for backward compatibility:
2622 ac_top_builddir=$ac_top_build_prefix
2624 case $srcdir in
2625 .) # We are building in place.
2626 ac_srcdir=.
2627 ac_top_srcdir=$ac_top_builddir_sub
2628 ac_abs_top_srcdir=$ac_pwd ;;
2629 [\\/]* | ?:[\\/]* ) # Absolute name.
2630 ac_srcdir=$srcdir$ac_dir_suffix;
2631 ac_top_srcdir=$srcdir
2632 ac_abs_top_srcdir=$srcdir ;;
2633 *) # Relative name.
2634 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2635 ac_top_srcdir=$ac_top_build_prefix$srcdir
2636 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2637 esac
2638 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2640 cd "$ac_dir" || { ac_status=$?; continue; }
2641 # Check for configure.gnu first; this name is used for a wrapper for
2642 # Metaconfig's "Configure" on case-insensitive file systems.
2643 if test -f "$ac_srcdir/configure.gnu"; then
2644 echo &&
2645 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2646 elif test -f "$ac_srcdir/configure"; then
2647 echo &&
2648 $SHELL "$ac_srcdir/configure" --help=recursive
2649 else
2650 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2651 fi || ac_status=$?
2652 cd "$ac_pwd" || { ac_status=$?; break; }
2653 done
2656 test -n "$ac_init_help" && exit $ac_status
2657 if $ac_init_version; then
2658 cat <<\_ACEOF
2659 Wine configure 7.21
2660 generated by GNU Autoconf 2.71
2662 Copyright (C) 2021 Free Software Foundation, Inc.
2663 This configure script is free software; the Free Software Foundation
2664 gives unlimited permission to copy, distribute and modify it.
2665 _ACEOF
2666 exit
2669 ## ------------------------ ##
2670 ## Autoconf initialization. ##
2671 ## ------------------------ ##
2673 # ac_fn_c_try_compile LINENO
2674 # --------------------------
2675 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2676 ac_fn_c_try_compile ()
2678 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2679 rm -f conftest.$ac_objext conftest.beam
2680 if { { ac_try="$ac_compile"
2681 case "(($ac_try" in
2682 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2683 *) ac_try_echo=$ac_try;;
2684 esac
2685 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2686 printf "%s\n" "$ac_try_echo"; } >&5
2687 (eval "$ac_compile") 2>conftest.err
2688 ac_status=$?
2689 if test -s conftest.err; then
2690 grep -v '^ *+' conftest.err >conftest.er1
2691 cat conftest.er1 >&5
2692 mv -f conftest.er1 conftest.err
2694 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2695 test $ac_status = 0; } && {
2696 test -z "$ac_c_werror_flag" ||
2697 test ! -s conftest.err
2698 } && test -s conftest.$ac_objext
2699 then :
2700 ac_retval=0
2701 else $as_nop
2702 printf "%s\n" "$as_me: failed program was:" >&5
2703 sed 's/^/| /' conftest.$ac_ext >&5
2705 ac_retval=1
2707 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2708 as_fn_set_status $ac_retval
2710 } # ac_fn_c_try_compile
2712 # ac_fn_cxx_try_compile LINENO
2713 # ----------------------------
2714 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2715 ac_fn_cxx_try_compile ()
2717 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2718 rm -f conftest.$ac_objext conftest.beam
2719 if { { ac_try="$ac_compile"
2720 case "(($ac_try" in
2721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2722 *) ac_try_echo=$ac_try;;
2723 esac
2724 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2725 printf "%s\n" "$ac_try_echo"; } >&5
2726 (eval "$ac_compile") 2>conftest.err
2727 ac_status=$?
2728 if test -s conftest.err; then
2729 grep -v '^ *+' conftest.err >conftest.er1
2730 cat conftest.er1 >&5
2731 mv -f conftest.er1 conftest.err
2733 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2734 test $ac_status = 0; } && {
2735 test -z "$ac_cxx_werror_flag" ||
2736 test ! -s conftest.err
2737 } && test -s conftest.$ac_objext
2738 then :
2739 ac_retval=0
2740 else $as_nop
2741 printf "%s\n" "$as_me: failed program was:" >&5
2742 sed 's/^/| /' conftest.$ac_ext >&5
2744 ac_retval=1
2746 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2747 as_fn_set_status $ac_retval
2749 } # ac_fn_cxx_try_compile
2751 # ac_fn_c_try_link LINENO
2752 # -----------------------
2753 # Try to link conftest.$ac_ext, and return whether this succeeded.
2754 ac_fn_c_try_link ()
2756 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2757 rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
2758 if { { ac_try="$ac_link"
2759 case "(($ac_try" in
2760 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2761 *) ac_try_echo=$ac_try;;
2762 esac
2763 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2764 printf "%s\n" "$ac_try_echo"; } >&5
2765 (eval "$ac_link") 2>conftest.err
2766 ac_status=$?
2767 if test -s conftest.err; then
2768 grep -v '^ *+' conftest.err >conftest.er1
2769 cat conftest.er1 >&5
2770 mv -f conftest.er1 conftest.err
2772 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2773 test $ac_status = 0; } && {
2774 test -z "$ac_c_werror_flag" ||
2775 test ! -s conftest.err
2776 } && test -s conftest$ac_exeext && {
2777 test "$cross_compiling" = yes ||
2778 test -x conftest$ac_exeext
2780 then :
2781 ac_retval=0
2782 else $as_nop
2783 printf "%s\n" "$as_me: failed program was:" >&5
2784 sed 's/^/| /' conftest.$ac_ext >&5
2786 ac_retval=1
2788 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2789 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2790 # interfere with the next link command; also delete a directory that is
2791 # left behind by Apple's compiler. We do this before executing the actions.
2792 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2793 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2794 as_fn_set_status $ac_retval
2796 } # ac_fn_c_try_link
2798 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2799 # -------------------------------------------------------
2800 # Tests whether HEADER exists and can be compiled using the include files in
2801 # INCLUDES, setting the cache variable VAR accordingly.
2802 ac_fn_c_check_header_compile ()
2804 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2805 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2806 printf %s "checking for $2... " >&6; }
2807 if eval test \${$3+y}
2808 then :
2809 printf %s "(cached) " >&6
2810 else $as_nop
2811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2812 /* end confdefs.h. */
2814 #include <$2>
2815 _ACEOF
2816 if ac_fn_c_try_compile "$LINENO"
2817 then :
2818 eval "$3=yes"
2819 else $as_nop
2820 eval "$3=no"
2822 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2824 eval ac_res=\$$3
2825 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2826 printf "%s\n" "$ac_res" >&6; }
2827 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2829 } # ac_fn_c_check_header_compile
2831 # ac_fn_objc_try_compile LINENO
2832 # -----------------------------
2833 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2834 ac_fn_objc_try_compile ()
2836 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2837 rm -f conftest.$ac_objext conftest.beam
2838 if { { ac_try="$ac_compile"
2839 case "(($ac_try" in
2840 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2841 *) ac_try_echo=$ac_try;;
2842 esac
2843 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2844 printf "%s\n" "$ac_try_echo"; } >&5
2845 (eval "$ac_compile") 2>conftest.err
2846 ac_status=$?
2847 if test -s conftest.err; then
2848 grep -v '^ *+' conftest.err >conftest.er1
2849 cat conftest.er1 >&5
2850 mv -f conftest.er1 conftest.err
2852 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2853 test $ac_status = 0; } && {
2854 test -z "$ac_objc_werror_flag" ||
2855 test ! -s conftest.err
2856 } && test -s conftest.$ac_objext
2857 then :
2858 ac_retval=0
2859 else $as_nop
2860 printf "%s\n" "$as_me: failed program was:" >&5
2861 sed 's/^/| /' conftest.$ac_ext >&5
2863 ac_retval=1
2865 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2866 as_fn_set_status $ac_retval
2868 } # ac_fn_objc_try_compile
2870 # ac_fn_objc_check_header_compile LINENO HEADER VAR INCLUDES
2871 # ----------------------------------------------------------
2872 # Tests whether HEADER exists and can be compiled using the include files in
2873 # INCLUDES, setting the cache variable VAR accordingly.
2874 ac_fn_objc_check_header_compile ()
2876 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2877 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2878 printf %s "checking for $2... " >&6; }
2879 if eval test \${$3+y}
2880 then :
2881 printf %s "(cached) " >&6
2882 else $as_nop
2883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2884 /* end confdefs.h. */
2886 #include <$2>
2887 _ACEOF
2888 if ac_fn_objc_try_compile "$LINENO"
2889 then :
2890 eval "$3=yes"
2891 else $as_nop
2892 eval "$3=no"
2894 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2896 eval ac_res=\$$3
2897 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2898 printf "%s\n" "$ac_res" >&6; }
2899 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2901 } # ac_fn_objc_check_header_compile
2903 # ac_fn_c_check_func LINENO FUNC VAR
2904 # ----------------------------------
2905 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2906 ac_fn_c_check_func ()
2908 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2909 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2910 printf %s "checking for $2... " >&6; }
2911 if eval test \${$3+y}
2912 then :
2913 printf %s "(cached) " >&6
2914 else $as_nop
2915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2916 /* end confdefs.h. */
2917 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2918 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2919 #define $2 innocuous_$2
2921 /* System header to define __stub macros and hopefully few prototypes,
2922 which can conflict with char $2 (); below. */
2924 #include <limits.h>
2925 #undef $2
2927 /* Override any GCC internal prototype to avoid an error.
2928 Use char because int might match the return type of a GCC
2929 builtin and then its argument prototype would still apply. */
2930 #ifdef __cplusplus
2931 extern "C"
2932 #endif
2933 char $2 ();
2934 /* The GNU C library defines this for functions which it implements
2935 to always fail with ENOSYS. Some functions are actually named
2936 something starting with __ and the normal name is an alias. */
2937 #if defined __stub_$2 || defined __stub___$2
2938 choke me
2939 #endif
2942 main (void)
2944 return $2 ();
2946 return 0;
2948 _ACEOF
2949 if ac_fn_c_try_link "$LINENO"
2950 then :
2951 eval "$3=yes"
2952 else $as_nop
2953 eval "$3=no"
2955 rm -f core conftest.err conftest.$ac_objext conftest.beam \
2956 conftest$ac_exeext conftest.$ac_ext
2958 eval ac_res=\$$3
2959 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2960 printf "%s\n" "$ac_res" >&6; }
2961 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2963 } # ac_fn_c_check_func
2965 # ac_fn_c_try_cpp LINENO
2966 # ----------------------
2967 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2968 ac_fn_c_try_cpp ()
2970 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2971 if { { ac_try="$ac_cpp conftest.$ac_ext"
2972 case "(($ac_try" in
2973 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2974 *) ac_try_echo=$ac_try;;
2975 esac
2976 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2977 printf "%s\n" "$ac_try_echo"; } >&5
2978 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2979 ac_status=$?
2980 if test -s conftest.err; then
2981 grep -v '^ *+' conftest.err >conftest.er1
2982 cat conftest.er1 >&5
2983 mv -f conftest.er1 conftest.err
2985 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2986 test $ac_status = 0; } > conftest.i && {
2987 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2988 test ! -s conftest.err
2990 then :
2991 ac_retval=0
2992 else $as_nop
2993 printf "%s\n" "$as_me: failed program was:" >&5
2994 sed 's/^/| /' conftest.$ac_ext >&5
2996 ac_retval=1
2998 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2999 as_fn_set_status $ac_retval
3001 } # ac_fn_c_try_cpp
3003 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3004 # ----------------------------------------------------
3005 # Tries to find if the field MEMBER exists in type AGGR, after including
3006 # INCLUDES, setting cache variable VAR accordingly.
3007 ac_fn_c_check_member ()
3009 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3010 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3011 printf %s "checking for $2.$3... " >&6; }
3012 if eval test \${$4+y}
3013 then :
3014 printf %s "(cached) " >&6
3015 else $as_nop
3016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3017 /* end confdefs.h. */
3020 main (void)
3022 static $2 ac_aggr;
3023 if (ac_aggr.$3)
3024 return 0;
3026 return 0;
3028 _ACEOF
3029 if ac_fn_c_try_compile "$LINENO"
3030 then :
3031 eval "$4=yes"
3032 else $as_nop
3033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3034 /* end confdefs.h. */
3037 main (void)
3039 static $2 ac_aggr;
3040 if (sizeof ac_aggr.$3)
3041 return 0;
3043 return 0;
3045 _ACEOF
3046 if ac_fn_c_try_compile "$LINENO"
3047 then :
3048 eval "$4=yes"
3049 else $as_nop
3050 eval "$4=no"
3052 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3054 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3056 eval ac_res=\$$4
3057 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3058 printf "%s\n" "$ac_res" >&6; }
3059 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3061 } # ac_fn_c_check_member
3063 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3064 # -------------------------------------------
3065 # Tests whether TYPE exists after having included INCLUDES, setting cache
3066 # variable VAR accordingly.
3067 ac_fn_c_check_type ()
3069 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3071 printf %s "checking for $2... " >&6; }
3072 if eval test \${$3+y}
3073 then :
3074 printf %s "(cached) " >&6
3075 else $as_nop
3076 eval "$3=no"
3077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3078 /* end confdefs.h. */
3081 main (void)
3083 if (sizeof ($2))
3084 return 0;
3086 return 0;
3088 _ACEOF
3089 if ac_fn_c_try_compile "$LINENO"
3090 then :
3091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3092 /* end confdefs.h. */
3095 main (void)
3097 if (sizeof (($2)))
3098 return 0;
3100 return 0;
3102 _ACEOF
3103 if ac_fn_c_try_compile "$LINENO"
3104 then :
3106 else $as_nop
3107 eval "$3=yes"
3109 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3111 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3113 eval ac_res=\$$3
3114 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3115 printf "%s\n" "$ac_res" >&6; }
3116 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3118 } # ac_fn_c_check_type
3119 ac_configure_args_raw=
3120 for ac_arg
3122 case $ac_arg in
3123 *\'*)
3124 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3125 esac
3126 as_fn_append ac_configure_args_raw " '$ac_arg'"
3127 done
3129 case $ac_configure_args_raw in
3130 *$as_nl*)
3131 ac_safe_unquote= ;;
3133 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
3134 ac_unsafe_a="$ac_unsafe_z#~"
3135 ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
3136 ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
3137 esac
3139 cat >config.log <<_ACEOF
3140 This file contains any messages produced by compilers while
3141 running configure, to aid debugging if configure makes a mistake.
3143 It was created by Wine $as_me 7.21, which was
3144 generated by GNU Autoconf 2.71. Invocation command line was
3146 $ $0$ac_configure_args_raw
3148 _ACEOF
3149 exec 5>>config.log
3151 cat <<_ASUNAME
3152 ## --------- ##
3153 ## Platform. ##
3154 ## --------- ##
3156 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3157 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3158 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3159 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3160 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3162 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3163 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3165 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3166 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3167 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3168 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3169 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3170 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3171 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3173 _ASUNAME
3175 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3176 for as_dir in $PATH
3178 IFS=$as_save_IFS
3179 case $as_dir in #(((
3180 '') as_dir=./ ;;
3181 */) ;;
3182 *) as_dir=$as_dir/ ;;
3183 esac
3184 printf "%s\n" "PATH: $as_dir"
3185 done
3186 IFS=$as_save_IFS
3188 } >&5
3190 cat >&5 <<_ACEOF
3193 ## ----------- ##
3194 ## Core tests. ##
3195 ## ----------- ##
3197 _ACEOF
3200 # Keep a trace of the command line.
3201 # Strip out --no-create and --no-recursion so they do not pile up.
3202 # Strip out --silent because we don't want to record it for future runs.
3203 # Also quote any args containing shell meta-characters.
3204 # Make two passes to allow for proper duplicate-argument suppression.
3205 ac_configure_args=
3206 ac_configure_args0=
3207 ac_configure_args1=
3208 ac_must_keep_next=false
3209 for ac_pass in 1 2
3211 for ac_arg
3213 case $ac_arg in
3214 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3215 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3216 | -silent | --silent | --silen | --sile | --sil)
3217 continue ;;
3218 *\'*)
3219 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3220 esac
3221 case $ac_pass in
3222 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3224 as_fn_append ac_configure_args1 " '$ac_arg'"
3225 if test $ac_must_keep_next = true; then
3226 ac_must_keep_next=false # Got value, back to normal.
3227 else
3228 case $ac_arg in
3229 *=* | --config-cache | -C | -disable-* | --disable-* \
3230 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3231 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3232 | -with-* | --with-* | -without-* | --without-* | --x)
3233 case "$ac_configure_args0 " in
3234 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3235 esac
3237 -* ) ac_must_keep_next=true ;;
3238 esac
3240 as_fn_append ac_configure_args " '$ac_arg'"
3242 esac
3243 done
3244 done
3245 { ac_configure_args0=; unset ac_configure_args0;}
3246 { ac_configure_args1=; unset ac_configure_args1;}
3248 # When interrupted or exit'd, cleanup temporary files, and complete
3249 # config.log. We remove comments because anyway the quotes in there
3250 # would cause problems or look ugly.
3251 # WARNING: Use '\'' to represent an apostrophe within the trap.
3252 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3253 trap 'exit_status=$?
3254 # Sanitize IFS.
3255 IFS=" "" $as_nl"
3256 # Save into config.log some information that might help in debugging.
3258 echo
3260 printf "%s\n" "## ---------------- ##
3261 ## Cache variables. ##
3262 ## ---------------- ##"
3263 echo
3264 # The following way of writing the cache mishandles newlines in values,
3266 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3267 eval ac_val=\$$ac_var
3268 case $ac_val in #(
3269 *${as_nl}*)
3270 case $ac_var in #(
3271 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3272 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3273 esac
3274 case $ac_var in #(
3275 _ | IFS | as_nl) ;; #(
3276 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3277 *) { eval $ac_var=; unset $ac_var;} ;;
3278 esac ;;
3279 esac
3280 done
3281 (set) 2>&1 |
3282 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3283 *${as_nl}ac_space=\ *)
3284 sed -n \
3285 "s/'\''/'\''\\\\'\'''\''/g;
3286 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3287 ;; #(
3289 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3291 esac |
3292 sort
3294 echo
3296 printf "%s\n" "## ----------------- ##
3297 ## Output variables. ##
3298 ## ----------------- ##"
3299 echo
3300 for ac_var in $ac_subst_vars
3302 eval ac_val=\$$ac_var
3303 case $ac_val in
3304 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3305 esac
3306 printf "%s\n" "$ac_var='\''$ac_val'\''"
3307 done | sort
3308 echo
3310 if test -n "$ac_subst_files"; then
3311 printf "%s\n" "## ------------------- ##
3312 ## File substitutions. ##
3313 ## ------------------- ##"
3314 echo
3315 for ac_var in $ac_subst_files
3317 eval ac_val=\$$ac_var
3318 case $ac_val in
3319 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3320 esac
3321 printf "%s\n" "$ac_var='\''$ac_val'\''"
3322 done | sort
3323 echo
3326 if test -s confdefs.h; then
3327 printf "%s\n" "## ----------- ##
3328 ## confdefs.h. ##
3329 ## ----------- ##"
3330 echo
3331 cat confdefs.h
3332 echo
3334 test "$ac_signal" != 0 &&
3335 printf "%s\n" "$as_me: caught signal $ac_signal"
3336 printf "%s\n" "$as_me: exit $exit_status"
3337 } >&5
3338 rm -f core *.core core.conftest.* &&
3339 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3340 exit $exit_status
3342 for ac_signal in 1 2 13 15; do
3343 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3344 done
3345 ac_signal=0
3347 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3348 rm -f -r conftest* confdefs.h
3350 printf "%s\n" "/* confdefs.h */" > confdefs.h
3352 # Predefined preprocessor variables.
3354 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
3356 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
3358 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
3360 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
3362 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
3364 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
3367 # Let the site file select an alternate cache file if it wants to.
3368 # Prefer an explicitly selected file to automatically selected ones.
3369 if test -n "$CONFIG_SITE"; then
3370 ac_site_files="$CONFIG_SITE"
3371 elif test "x$prefix" != xNONE; then
3372 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
3373 else
3374 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
3377 for ac_site_file in $ac_site_files
3379 case $ac_site_file in #(
3380 */*) :
3381 ;; #(
3382 *) :
3383 ac_site_file=./$ac_site_file ;;
3384 esac
3385 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
3386 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3387 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
3388 sed 's/^/| /' "$ac_site_file" >&5
3389 . "$ac_site_file" \
3390 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3391 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3392 as_fn_error $? "failed to load site script $ac_site_file
3393 See \`config.log' for more details" "$LINENO" 5; }
3395 done
3397 if test -r "$cache_file"; then
3398 # Some versions of bash will fail to source /dev/null (special files
3399 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3400 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3401 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3402 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
3403 case $cache_file in
3404 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3405 *) . "./$cache_file";;
3406 esac
3408 else
3409 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3410 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
3411 >$cache_file
3414 # Test code for whether the C compiler supports C89 (global declarations)
3415 ac_c_conftest_c89_globals='
3416 /* Does the compiler advertise C89 conformance?
3417 Do not test the value of __STDC__, because some compilers set it to 0
3418 while being otherwise adequately conformant. */
3419 #if !defined __STDC__
3420 # error "Compiler does not advertise C89 conformance"
3421 #endif
3423 #include <stddef.h>
3424 #include <stdarg.h>
3425 struct stat;
3426 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
3427 struct buf { int x; };
3428 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
3429 static char *e (p, i)
3430 char **p;
3431 int i;
3433 return p[i];
3435 static char *f (char * (*g) (char **, int), char **p, ...)
3437 char *s;
3438 va_list v;
3439 va_start (v,p);
3440 s = g (p, va_arg (v,int));
3441 va_end (v);
3442 return s;
3445 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3446 function prototypes and stuff, but not \xHH hex character constants.
3447 These do not provoke an error unfortunately, instead are silently treated
3448 as an "x". The following induces an error, until -std is added to get
3449 proper ANSI mode. Curiously \x00 != x always comes out true, for an
3450 array size at least. It is necessary to write \x00 == 0 to get something
3451 that is true only with -std. */
3452 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
3454 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3455 inside strings and character constants. */
3456 #define FOO(x) '\''x'\''
3457 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
3459 int test (int i, double x);
3460 struct s1 {int (*f) (int a);};
3461 struct s2 {int (*f) (double a);};
3462 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
3463 int, int);'
3465 # Test code for whether the C compiler supports C89 (body of main).
3466 ac_c_conftest_c89_main='
3467 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
3470 # Test code for whether the C compiler supports C99 (global declarations)
3471 ac_c_conftest_c99_globals='
3472 // Does the compiler advertise C99 conformance?
3473 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
3474 # error "Compiler does not advertise C99 conformance"
3475 #endif
3477 #include <stdbool.h>
3478 extern int puts (const char *);
3479 extern int printf (const char *, ...);
3480 extern int dprintf (int, const char *, ...);
3481 extern void *malloc (size_t);
3483 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3484 // dprintf is used instead of fprintf to avoid needing to declare
3485 // FILE and stderr.
3486 #define debug(...) dprintf (2, __VA_ARGS__)
3487 #define showlist(...) puts (#__VA_ARGS__)
3488 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3489 static void
3490 test_varargs_macros (void)
3492 int x = 1234;
3493 int y = 5678;
3494 debug ("Flag");
3495 debug ("X = %d\n", x);
3496 showlist (The first, second, and third items.);
3497 report (x>y, "x is %d but y is %d", x, y);
3500 // Check long long types.
3501 #define BIG64 18446744073709551615ull
3502 #define BIG32 4294967295ul
3503 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3504 #if !BIG_OK
3505 #error "your preprocessor is broken"
3506 #endif
3507 #if BIG_OK
3508 #else
3509 #error "your preprocessor is broken"
3510 #endif
3511 static long long int bignum = -9223372036854775807LL;
3512 static unsigned long long int ubignum = BIG64;
3514 struct incomplete_array
3516 int datasize;
3517 double data[];
3520 struct named_init {
3521 int number;
3522 const wchar_t *name;
3523 double average;
3526 typedef const char *ccp;
3528 static inline int
3529 test_restrict (ccp restrict text)
3531 // See if C++-style comments work.
3532 // Iterate through items via the restricted pointer.
3533 // Also check for declarations in for loops.
3534 for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
3535 continue;
3536 return 0;
3539 // Check varargs and va_copy.
3540 static bool
3541 test_varargs (const char *format, ...)
3543 va_list args;
3544 va_start (args, format);
3545 va_list args_copy;
3546 va_copy (args_copy, args);
3548 const char *str = "";
3549 int number = 0;
3550 float fnumber = 0;
3552 while (*format)
3554 switch (*format++)
3556 case '\''s'\'': // string
3557 str = va_arg (args_copy, const char *);
3558 break;
3559 case '\''d'\'': // int
3560 number = va_arg (args_copy, int);
3561 break;
3562 case '\''f'\'': // float
3563 fnumber = va_arg (args_copy, double);
3564 break;
3565 default:
3566 break;
3569 va_end (args_copy);
3570 va_end (args);
3572 return *str && number && fnumber;
3576 # Test code for whether the C compiler supports C99 (body of main).
3577 ac_c_conftest_c99_main='
3578 // Check bool.
3579 _Bool success = false;
3580 success |= (argc != 0);
3582 // Check restrict.
3583 if (test_restrict ("String literal") == 0)
3584 success = true;
3585 char *restrict newvar = "Another string";
3587 // Check varargs.
3588 success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
3589 test_varargs_macros ();
3591 // Check flexible array members.
3592 struct incomplete_array *ia =
3593 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3594 ia->datasize = 10;
3595 for (int i = 0; i < ia->datasize; ++i)
3596 ia->data[i] = i * 1.234;
3598 // Check named initializers.
3599 struct named_init ni = {
3600 .number = 34,
3601 .name = L"Test wide string",
3602 .average = 543.34343,
3605 ni.number = 58;
3607 int dynamic_array[ni.number];
3608 dynamic_array[0] = argv[0][0];
3609 dynamic_array[ni.number - 1] = 543;
3611 // work around unused variable warnings
3612 ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
3613 || dynamic_array[ni.number - 1] != 543);
3616 # Test code for whether the C compiler supports C11 (global declarations)
3617 ac_c_conftest_c11_globals='
3618 // Does the compiler advertise C11 conformance?
3619 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
3620 # error "Compiler does not advertise C11 conformance"
3621 #endif
3623 // Check _Alignas.
3624 char _Alignas (double) aligned_as_double;
3625 char _Alignas (0) no_special_alignment;
3626 extern char aligned_as_int;
3627 char _Alignas (0) _Alignas (int) aligned_as_int;
3629 // Check _Alignof.
3630 enum
3632 int_alignment = _Alignof (int),
3633 int_array_alignment = _Alignof (int[100]),
3634 char_alignment = _Alignof (char)
3636 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
3638 // Check _Noreturn.
3639 int _Noreturn does_not_return (void) { for (;;) continue; }
3641 // Check _Static_assert.
3642 struct test_static_assert
3644 int x;
3645 _Static_assert (sizeof (int) <= sizeof (long int),
3646 "_Static_assert does not work in struct");
3647 long int y;
3650 // Check UTF-8 literals.
3651 #define u8 syntax error!
3652 char const utf8_literal[] = u8"happens to be ASCII" "another string";
3654 // Check duplicate typedefs.
3655 typedef long *long_ptr;
3656 typedef long int *long_ptr;
3657 typedef long_ptr long_ptr;
3659 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
3660 struct anonymous
3662 union {
3663 struct { int i; int j; };
3664 struct { int k; long int l; } w;
3666 int m;
3667 } v1;
3670 # Test code for whether the C compiler supports C11 (body of main).
3671 ac_c_conftest_c11_main='
3672 _Static_assert ((offsetof (struct anonymous, i)
3673 == offsetof (struct anonymous, w.k)),
3674 "Anonymous union alignment botch");
3675 v1.i = 2;
3676 v1.w.k = 5;
3677 ok |= v1.i != 5;
3680 # Test code for whether the C compiler supports C11 (complete).
3681 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
3682 ${ac_c_conftest_c99_globals}
3683 ${ac_c_conftest_c11_globals}
3686 main (int argc, char **argv)
3688 int ok = 0;
3689 ${ac_c_conftest_c89_main}
3690 ${ac_c_conftest_c99_main}
3691 ${ac_c_conftest_c11_main}
3692 return ok;
3696 # Test code for whether the C compiler supports C99 (complete).
3697 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
3698 ${ac_c_conftest_c99_globals}
3701 main (int argc, char **argv)
3703 int ok = 0;
3704 ${ac_c_conftest_c89_main}
3705 ${ac_c_conftest_c99_main}
3706 return ok;
3710 # Test code for whether the C compiler supports C89 (complete).
3711 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
3714 main (int argc, char **argv)
3716 int ok = 0;
3717 ${ac_c_conftest_c89_main}
3718 return ok;
3722 # Test code for whether the C++ compiler supports C++98 (global declarations)
3723 ac_cxx_conftest_cxx98_globals='
3724 // Does the compiler advertise C++98 conformance?
3725 #if !defined __cplusplus || __cplusplus < 199711L
3726 # error "Compiler does not advertise C++98 conformance"
3727 #endif
3729 // These inclusions are to reject old compilers that
3730 // lack the unsuffixed header files.
3731 #include <cstdlib>
3732 #include <exception>
3734 // <cassert> and <cstring> are *not* freestanding headers in C++98.
3735 extern void assert (int);
3736 namespace std {
3737 extern int strcmp (const char *, const char *);
3740 // Namespaces, exceptions, and templates were all added after "C++ 2.0".
3741 using std::exception;
3742 using std::strcmp;
3744 namespace {
3746 void test_exception_syntax()
3748 try {
3749 throw "test";
3750 } catch (const char *s) {
3751 // Extra parentheses suppress a warning when building autoconf itself,
3752 // due to lint rules shared with more typical C programs.
3753 assert (!(strcmp) (s, "test"));
3757 template <typename T> struct test_template
3759 T const val;
3760 explicit test_template(T t) : val(t) {}
3761 template <typename U> T add(U u) { return static_cast<T>(u) + val; }
3764 } // anonymous namespace
3767 # Test code for whether the C++ compiler supports C++98 (body of main)
3768 ac_cxx_conftest_cxx98_main='
3769 assert (argc);
3770 assert (! argv[0]);
3772 test_exception_syntax ();
3773 test_template<double> tt (2.0);
3774 assert (tt.add (4) == 6.0);
3775 assert (true && !false);
3779 # Test code for whether the C++ compiler supports C++11 (global declarations)
3780 ac_cxx_conftest_cxx11_globals='
3781 // Does the compiler advertise C++ 2011 conformance?
3782 #if !defined __cplusplus || __cplusplus < 201103L
3783 # error "Compiler does not advertise C++11 conformance"
3784 #endif
3786 namespace cxx11test
3788 constexpr int get_val() { return 20; }
3790 struct testinit
3792 int i;
3793 double d;
3796 class delegate
3798 public:
3799 delegate(int n) : n(n) {}
3800 delegate(): delegate(2354) {}
3802 virtual int getval() { return this->n; };
3803 protected:
3804 int n;
3807 class overridden : public delegate
3809 public:
3810 overridden(int n): delegate(n) {}
3811 virtual int getval() override final { return this->n * 2; }
3814 class nocopy
3816 public:
3817 nocopy(int i): i(i) {}
3818 nocopy() = default;
3819 nocopy(const nocopy&) = delete;
3820 nocopy & operator=(const nocopy&) = delete;
3821 private:
3822 int i;
3825 // for testing lambda expressions
3826 template <typename Ret, typename Fn> Ret eval(Fn f, Ret v)
3828 return f(v);
3831 // for testing variadic templates and trailing return types
3832 template <typename V> auto sum(V first) -> V
3834 return first;
3836 template <typename V, typename... Args> auto sum(V first, Args... rest) -> V
3838 return first + sum(rest...);
3843 # Test code for whether the C++ compiler supports C++11 (body of main)
3844 ac_cxx_conftest_cxx11_main='
3846 // Test auto and decltype
3847 auto a1 = 6538;
3848 auto a2 = 48573953.4;
3849 auto a3 = "String literal";
3851 int total = 0;
3852 for (auto i = a3; *i; ++i) { total += *i; }
3854 decltype(a2) a4 = 34895.034;
3857 // Test constexpr
3858 short sa[cxx11test::get_val()] = { 0 };
3861 // Test initializer lists
3862 cxx11test::testinit il = { 4323, 435234.23544 };
3865 // Test range-based for
3866 int array[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3,
3867 14, 19, 17, 8, 6, 20, 16, 2, 11, 1};
3868 for (auto &x : array) { x += 23; }
3871 // Test lambda expressions
3872 using cxx11test::eval;
3873 assert (eval ([](int x) { return x*2; }, 21) == 42);
3874 double d = 2.0;
3875 assert (eval ([&](double x) { return d += x; }, 3.0) == 5.0);
3876 assert (d == 5.0);
3877 assert (eval ([=](double x) mutable { return d += x; }, 4.0) == 9.0);
3878 assert (d == 5.0);
3881 // Test use of variadic templates
3882 using cxx11test::sum;
3883 auto a = sum(1);
3884 auto b = sum(1, 2);
3885 auto c = sum(1.0, 2.0, 3.0);
3888 // Test constructor delegation
3889 cxx11test::delegate d1;
3890 cxx11test::delegate d2();
3891 cxx11test::delegate d3(45);
3894 // Test override and final
3895 cxx11test::overridden o1(55464);
3898 // Test nullptr
3899 char *c = nullptr;
3902 // Test template brackets
3903 test_template<::test_template<int>> v(test_template<int>(12));
3906 // Unicode literals
3907 char const *utf8 = u8"UTF-8 string \u2500";
3908 char16_t const *utf16 = u"UTF-8 string \u2500";
3909 char32_t const *utf32 = U"UTF-32 string \u2500";
3913 # Test code for whether the C compiler supports C++11 (complete).
3914 ac_cxx_conftest_cxx11_program="${ac_cxx_conftest_cxx98_globals}
3915 ${ac_cxx_conftest_cxx11_globals}
3918 main (int argc, char **argv)
3920 int ok = 0;
3921 ${ac_cxx_conftest_cxx98_main}
3922 ${ac_cxx_conftest_cxx11_main}
3923 return ok;
3927 # Test code for whether the C compiler supports C++98 (complete).
3928 ac_cxx_conftest_cxx98_program="${ac_cxx_conftest_cxx98_globals}
3930 main (int argc, char **argv)
3932 int ok = 0;
3933 ${ac_cxx_conftest_cxx98_main}
3934 return ok;
3938 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
3939 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
3940 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
3941 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
3942 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
3943 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
3944 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
3945 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
3946 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
3948 # Auxiliary files required by this configure script.
3949 ac_aux_files="config.guess config.sub"
3951 # Locations in which to look for auxiliary files.
3952 ac_aux_dir_candidates="${srcdir}/tools"
3954 # Search for a directory containing all of the required auxiliary files,
3955 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
3956 # If we don't find one directory that contains all the files we need,
3957 # we report the set of missing files from the *first* directory in
3958 # $ac_aux_dir_candidates and give up.
3959 ac_missing_aux_files=""
3960 ac_first_candidate=:
3961 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
3962 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3963 as_found=false
3964 for as_dir in $ac_aux_dir_candidates
3966 IFS=$as_save_IFS
3967 case $as_dir in #(((
3968 '') as_dir=./ ;;
3969 */) ;;
3970 *) as_dir=$as_dir/ ;;
3971 esac
3972 as_found=:
3974 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
3975 ac_aux_dir_found=yes
3976 ac_install_sh=
3977 for ac_aux in $ac_aux_files
3979 # As a special case, if "install-sh" is required, that requirement
3980 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
3981 # and $ac_install_sh is set appropriately for whichever one is found.
3982 if test x"$ac_aux" = x"install-sh"
3983 then
3984 if test -f "${as_dir}install-sh"; then
3985 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
3986 ac_install_sh="${as_dir}install-sh -c"
3987 elif test -f "${as_dir}install.sh"; then
3988 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
3989 ac_install_sh="${as_dir}install.sh -c"
3990 elif test -f "${as_dir}shtool"; then
3991 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
3992 ac_install_sh="${as_dir}shtool install -c"
3993 else
3994 ac_aux_dir_found=no
3995 if $ac_first_candidate; then
3996 ac_missing_aux_files="${ac_missing_aux_files} install-sh"
3997 else
3998 break
4001 else
4002 if test -f "${as_dir}${ac_aux}"; then
4003 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
4004 else
4005 ac_aux_dir_found=no
4006 if $ac_first_candidate; then
4007 ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
4008 else
4009 break
4013 done
4014 if test "$ac_aux_dir_found" = yes; then
4015 ac_aux_dir="$as_dir"
4016 break
4018 ac_first_candidate=false
4020 as_found=false
4021 done
4022 IFS=$as_save_IFS
4023 if $as_found
4024 then :
4026 else $as_nop
4027 as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
4031 # These three variables are undocumented and unsupported,
4032 # and are intended to be withdrawn in a future Autoconf release.
4033 # They can cause serious problems if a builder's source tree is in a directory
4034 # whose full name contains unusual characters.
4035 if test -f "${ac_aux_dir}config.guess"; then
4036 ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
4038 if test -f "${ac_aux_dir}config.sub"; then
4039 ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
4041 if test -f "$ac_aux_dir/configure"; then
4042 ac_configure="$SHELL ${ac_aux_dir}configure"
4045 # Check that the precious variables saved in the cache have kept the same
4046 # value.
4047 ac_cache_corrupted=false
4048 for ac_var in $ac_precious_vars; do
4049 eval ac_old_set=\$ac_cv_env_${ac_var}_set
4050 eval ac_new_set=\$ac_env_${ac_var}_set
4051 eval ac_old_val=\$ac_cv_env_${ac_var}_value
4052 eval ac_new_val=\$ac_env_${ac_var}_value
4053 case $ac_old_set,$ac_new_set in
4054 set,)
4055 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
4056 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
4057 ac_cache_corrupted=: ;;
4058 ,set)
4059 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
4060 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
4061 ac_cache_corrupted=: ;;
4062 ,);;
4064 if test "x$ac_old_val" != "x$ac_new_val"; then
4065 # differences in whitespace do not lead to failure.
4066 ac_old_val_w=`echo x $ac_old_val`
4067 ac_new_val_w=`echo x $ac_new_val`
4068 if test "$ac_old_val_w" != "$ac_new_val_w"; then
4069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
4070 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
4071 ac_cache_corrupted=:
4072 else
4073 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
4074 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
4075 eval $ac_var=\$ac_old_val
4077 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
4078 printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
4079 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
4080 printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
4081 fi;;
4082 esac
4083 # Pass precious variables to config.status.
4084 if test "$ac_new_set" = set; then
4085 case $ac_new_val in
4086 *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
4087 *) ac_arg=$ac_var=$ac_new_val ;;
4088 esac
4089 case " $ac_configure_args " in
4090 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
4091 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
4092 esac
4094 done
4095 if $ac_cache_corrupted; then
4096 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4097 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4098 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
4099 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
4100 as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
4101 and start over" "$LINENO" 5
4103 ## -------------------- ##
4104 ## Main body of script. ##
4105 ## -------------------- ##
4107 ac_ext=c
4108 ac_cpp='$CPP $CPPFLAGS'
4109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4115 ac_config_headers="$ac_config_headers include/config.h"
4119 libwine_version="1.0"
4122 # Check whether --enable-archs was given.
4123 if test ${enable_archs+y}
4124 then :
4125 enableval=$enable_archs;
4128 # Check whether --enable-win16 was given.
4129 if test ${enable_win16+y}
4130 then :
4131 enableval=$enable_win16;
4134 # Check whether --enable-win64 was given.
4135 if test ${enable_win64+y}
4136 then :
4137 enableval=$enable_win64;
4140 # Check whether --enable-tests was given.
4141 if test ${enable_tests+y}
4142 then :
4143 enableval=$enable_tests;
4146 # Check whether --enable-build-id was given.
4147 if test ${enable_build_id+y}
4148 then :
4149 enableval=$enable_build_id;
4152 # Check whether --enable-maintainer-mode was given.
4153 if test ${enable_maintainer_mode+y}
4154 then :
4155 enableval=$enable_maintainer_mode;
4158 # Check whether --enable-silent-rules was given.
4159 if test ${enable_silent_rules+y}
4160 then :
4161 enableval=$enable_silent_rules;
4164 # Check whether --enable-werror was given.
4165 if test ${enable_werror+y}
4166 then :
4167 enableval=$enable_werror;
4172 # Check whether --with-alsa was given.
4173 if test ${with_alsa+y}
4174 then :
4175 withval=$with_alsa;
4179 # Check whether --with-capi was given.
4180 if test ${with_capi+y}
4181 then :
4182 withval=$with_capi;
4186 # Check whether --with-coreaudio was given.
4187 if test ${with_coreaudio+y}
4188 then :
4189 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
4193 # Check whether --with-cups was given.
4194 if test ${with_cups+y}
4195 then :
4196 withval=$with_cups;
4200 # Check whether --with-dbus was given.
4201 if test ${with_dbus+y}
4202 then :
4203 withval=$with_dbus;
4207 # Check whether --with-float-abi was given.
4208 if test ${with_float_abi+y}
4209 then :
4210 withval=$with_float_abi;
4214 # Check whether --with-fontconfig was given.
4215 if test ${with_fontconfig+y}
4216 then :
4217 withval=$with_fontconfig;
4221 # Check whether --with-freetype was given.
4222 if test ${with_freetype+y}
4223 then :
4224 withval=$with_freetype;
4228 # Check whether --with-gettext was given.
4229 if test ${with_gettext+y}
4230 then :
4231 withval=$with_gettext;
4235 # Check whether --with-gettextpo was given.
4236 if test ${with_gettextpo+y}
4237 then :
4238 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
4242 # Check whether --with-gphoto was given.
4243 if test ${with_gphoto+y}
4244 then :
4245 withval=$with_gphoto;
4249 # Check whether --with-gnutls was given.
4250 if test ${with_gnutls+y}
4251 then :
4252 withval=$with_gnutls;
4256 # Check whether --with-gssapi was given.
4257 if test ${with_gssapi+y}
4258 then :
4259 withval=$with_gssapi;
4263 # Check whether --with-gstreamer was given.
4264 if test ${with_gstreamer+y}
4265 then :
4266 withval=$with_gstreamer;
4270 # Check whether --with-inotify was given.
4271 if test ${with_inotify+y}
4272 then :
4273 withval=$with_inotify;
4277 # Check whether --with-krb5 was given.
4278 if test ${with_krb5+y}
4279 then :
4280 withval=$with_krb5;
4284 # Check whether --with-mingw was given.
4285 if test ${with_mingw+y}
4286 then :
4287 withval=$with_mingw;
4291 # Check whether --with-netapi was given.
4292 if test ${with_netapi+y}
4293 then :
4294 withval=$with_netapi;
4298 # Check whether --with-opencl was given.
4299 if test ${with_opencl+y}
4300 then :
4301 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4305 # Check whether --with-opengl was given.
4306 if test ${with_opengl+y}
4307 then :
4308 withval=$with_opengl;
4312 # Check whether --with-osmesa was given.
4313 if test ${with_osmesa+y}
4314 then :
4315 withval=$with_osmesa;
4319 # Check whether --with-oss was given.
4320 if test ${with_oss+y}
4321 then :
4322 withval=$with_oss;
4326 # Check whether --with-pcap was given.
4327 if test ${with_pcap+y}
4328 then :
4329 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4333 # Check whether --with-pthread was given.
4334 if test ${with_pthread+y}
4335 then :
4336 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4340 # Check whether --with-pulse was given.
4341 if test ${with_pulse+y}
4342 then :
4343 withval=$with_pulse;
4347 # Check whether --with-sane was given.
4348 if test ${with_sane+y}
4349 then :
4350 withval=$with_sane;
4354 # Check whether --with-sdl was given.
4355 if test ${with_sdl+y}
4356 then :
4357 withval=$with_sdl;
4361 # Check whether --with-udev was given.
4362 if test ${with_udev+y}
4363 then :
4364 withval=$with_udev;
4368 # Check whether --with-unwind was given.
4369 if test ${with_unwind+y}
4370 then :
4371 withval=$with_unwind;
4375 # Check whether --with-usb was given.
4376 if test ${with_usb+y}
4377 then :
4378 withval=$with_usb;
4382 # Check whether --with-v4l2 was given.
4383 if test ${with_v4l2+y}
4384 then :
4385 withval=$with_v4l2;
4389 # Check whether --with-vulkan was given.
4390 if test ${with_vulkan+y}
4391 then :
4392 withval=$with_vulkan;
4396 # Check whether --with-xcomposite was given.
4397 if test ${with_xcomposite+y}
4398 then :
4399 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4403 # Check whether --with-xcursor was given.
4404 if test ${with_xcursor+y}
4405 then :
4406 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4410 # Check whether --with-xfixes was given.
4411 if test ${with_xfixes+y}
4412 then :
4413 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4417 # Check whether --with-xinerama was given.
4418 if test ${with_xinerama+y}
4419 then :
4420 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4424 # Check whether --with-xinput was given.
4425 if test ${with_xinput+y}
4426 then :
4427 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4431 # Check whether --with-xinput2 was given.
4432 if test ${with_xinput2+y}
4433 then :
4434 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4438 # Check whether --with-xrandr was given.
4439 if test ${with_xrandr+y}
4440 then :
4441 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4445 # Check whether --with-xrender was given.
4446 if test ${with_xrender+y}
4447 then :
4448 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4452 # Check whether --with-xshape was given.
4453 if test ${with_xshape+y}
4454 then :
4455 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4459 # Check whether --with-xshm was given.
4460 if test ${with_xshm+y}
4461 then :
4462 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4466 # Check whether --with-xxf86vm was given.
4467 if test ${with_xxf86vm+y}
4468 then :
4469 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
4474 # Check whether --with-system-dllpath was given.
4475 if test ${with_system_dllpath+y}
4476 then :
4477 withval=$with_system_dllpath; system_dllpath=$withval
4482 # Check whether --with-wine-tools was given.
4483 if test ${with_wine_tools+y}
4484 then :
4485 withval=$with_wine_tools;
4489 # Check whether --with-wine64 was given.
4490 if test ${with_wine64+y}
4491 then :
4492 withval=$with_wine64;
4499 # Make sure we can run config.sub.
4500 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
4501 as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
4503 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4504 printf %s "checking build system type... " >&6; }
4505 if test ${ac_cv_build+y}
4506 then :
4507 printf %s "(cached) " >&6
4508 else $as_nop
4509 ac_build_alias=$build_alias
4510 test "x$ac_build_alias" = x &&
4511 ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
4512 test "x$ac_build_alias" = x &&
4513 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4514 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
4515 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
4518 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4519 printf "%s\n" "$ac_cv_build" >&6; }
4520 case $ac_cv_build in
4521 *-*-*) ;;
4522 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4523 esac
4524 build=$ac_cv_build
4525 ac_save_IFS=$IFS; IFS='-'
4526 set x $ac_cv_build
4527 shift
4528 build_cpu=$1
4529 build_vendor=$2
4530 shift; shift
4531 # Remember, the first character of IFS is used to create $*,
4532 # except with old shells:
4533 build_os=$*
4534 IFS=$ac_save_IFS
4535 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4538 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4539 printf %s "checking host system type... " >&6; }
4540 if test ${ac_cv_host+y}
4541 then :
4542 printf %s "(cached) " >&6
4543 else $as_nop
4544 if test "x$host_alias" = x; then
4545 ac_cv_host=$ac_cv_build
4546 else
4547 ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
4548 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
4552 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4553 printf "%s\n" "$ac_cv_host" >&6; }
4554 case $ac_cv_host in
4555 *-*-*) ;;
4556 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4557 esac
4558 host=$ac_cv_host
4559 ac_save_IFS=$IFS; IFS='-'
4560 set x $ac_cv_host
4561 shift
4562 host_cpu=$1
4563 host_vendor=$2
4564 shift; shift
4565 # Remember, the first character of IFS is used to create $*,
4566 # except with old shells:
4567 host_os=$*
4568 IFS=$ac_save_IFS
4569 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4573 dlldir=\${libdir}/wine
4575 fontdir=\${datadir}/wine/fonts
4577 nlsdir=\${datadir}/wine/nls
4582 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4583 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4584 set x ${MAKE-make}
4585 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4586 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
4587 then :
4588 printf %s "(cached) " >&6
4589 else $as_nop
4590 cat >conftest.make <<\_ACEOF
4591 SHELL = /bin/sh
4592 all:
4593 @echo '@@@%%%=$(MAKE)=@@@%%%'
4594 _ACEOF
4595 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4596 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4597 *@@@%%%=?*=@@@%%%*)
4598 eval ac_cv_prog_make_${ac_make}_set=yes;;
4600 eval ac_cv_prog_make_${ac_make}_set=no;;
4601 esac
4602 rm -f conftest.make
4604 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4605 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4606 printf "%s\n" "yes" >&6; }
4607 SET_MAKE=
4608 else
4609 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4610 printf "%s\n" "no" >&6; }
4611 SET_MAKE="MAKE=${MAKE-make}"
4623 ac_ext=c
4624 ac_cpp='$CPP $CPPFLAGS'
4625 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4626 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4627 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4628 if test -n "$ac_tool_prefix"; then
4629 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4630 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4631 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4632 printf %s "checking for $ac_word... " >&6; }
4633 if test ${ac_cv_prog_CC+y}
4634 then :
4635 printf %s "(cached) " >&6
4636 else $as_nop
4637 if test -n "$CC"; then
4638 ac_cv_prog_CC="$CC" # Let the user override the test.
4639 else
4640 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4641 for as_dir in $PATH
4643 IFS=$as_save_IFS
4644 case $as_dir in #(((
4645 '') as_dir=./ ;;
4646 */) ;;
4647 *) as_dir=$as_dir/ ;;
4648 esac
4649 for ac_exec_ext in '' $ac_executable_extensions; do
4650 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4651 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4652 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4653 break 2
4655 done
4656 done
4657 IFS=$as_save_IFS
4661 CC=$ac_cv_prog_CC
4662 if test -n "$CC"; then
4663 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4664 printf "%s\n" "$CC" >&6; }
4665 else
4666 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4667 printf "%s\n" "no" >&6; }
4672 if test -z "$ac_cv_prog_CC"; then
4673 ac_ct_CC=$CC
4674 # Extract the first word of "gcc", so it can be a program name with args.
4675 set dummy gcc; ac_word=$2
4676 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4677 printf %s "checking for $ac_word... " >&6; }
4678 if test ${ac_cv_prog_ac_ct_CC+y}
4679 then :
4680 printf %s "(cached) " >&6
4681 else $as_nop
4682 if test -n "$ac_ct_CC"; then
4683 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4684 else
4685 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4686 for as_dir in $PATH
4688 IFS=$as_save_IFS
4689 case $as_dir in #(((
4690 '') as_dir=./ ;;
4691 */) ;;
4692 *) as_dir=$as_dir/ ;;
4693 esac
4694 for ac_exec_ext in '' $ac_executable_extensions; do
4695 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4696 ac_cv_prog_ac_ct_CC="gcc"
4697 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4698 break 2
4700 done
4701 done
4702 IFS=$as_save_IFS
4706 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4707 if test -n "$ac_ct_CC"; then
4708 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4709 printf "%s\n" "$ac_ct_CC" >&6; }
4710 else
4711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4712 printf "%s\n" "no" >&6; }
4715 if test "x$ac_ct_CC" = x; then
4716 CC=""
4717 else
4718 case $cross_compiling:$ac_tool_warned in
4719 yes:)
4720 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4721 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4722 ac_tool_warned=yes ;;
4723 esac
4724 CC=$ac_ct_CC
4726 else
4727 CC="$ac_cv_prog_CC"
4730 if test -z "$CC"; then
4731 if test -n "$ac_tool_prefix"; then
4732 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4733 set dummy ${ac_tool_prefix}cc; ac_word=$2
4734 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4735 printf %s "checking for $ac_word... " >&6; }
4736 if test ${ac_cv_prog_CC+y}
4737 then :
4738 printf %s "(cached) " >&6
4739 else $as_nop
4740 if test -n "$CC"; then
4741 ac_cv_prog_CC="$CC" # Let the user override the test.
4742 else
4743 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4744 for as_dir in $PATH
4746 IFS=$as_save_IFS
4747 case $as_dir in #(((
4748 '') as_dir=./ ;;
4749 */) ;;
4750 *) as_dir=$as_dir/ ;;
4751 esac
4752 for ac_exec_ext in '' $ac_executable_extensions; do
4753 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4754 ac_cv_prog_CC="${ac_tool_prefix}cc"
4755 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4756 break 2
4758 done
4759 done
4760 IFS=$as_save_IFS
4764 CC=$ac_cv_prog_CC
4765 if test -n "$CC"; then
4766 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4767 printf "%s\n" "$CC" >&6; }
4768 else
4769 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4770 printf "%s\n" "no" >&6; }
4776 if test -z "$CC"; then
4777 # Extract the first word of "cc", so it can be a program name with args.
4778 set dummy cc; ac_word=$2
4779 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4780 printf %s "checking for $ac_word... " >&6; }
4781 if test ${ac_cv_prog_CC+y}
4782 then :
4783 printf %s "(cached) " >&6
4784 else $as_nop
4785 if test -n "$CC"; then
4786 ac_cv_prog_CC="$CC" # Let the user override the test.
4787 else
4788 ac_prog_rejected=no
4789 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4790 for as_dir in $PATH
4792 IFS=$as_save_IFS
4793 case $as_dir in #(((
4794 '') as_dir=./ ;;
4795 */) ;;
4796 *) as_dir=$as_dir/ ;;
4797 esac
4798 for ac_exec_ext in '' $ac_executable_extensions; do
4799 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4800 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4801 ac_prog_rejected=yes
4802 continue
4804 ac_cv_prog_CC="cc"
4805 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4806 break 2
4808 done
4809 done
4810 IFS=$as_save_IFS
4812 if test $ac_prog_rejected = yes; then
4813 # We found a bogon in the path, so make sure we never use it.
4814 set dummy $ac_cv_prog_CC
4815 shift
4816 if test $# != 0; then
4817 # We chose a different compiler from the bogus one.
4818 # However, it has the same basename, so the bogon will be chosen
4819 # first if we set CC to just the basename; use the full file name.
4820 shift
4821 ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
4826 CC=$ac_cv_prog_CC
4827 if test -n "$CC"; then
4828 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4829 printf "%s\n" "$CC" >&6; }
4830 else
4831 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4832 printf "%s\n" "no" >&6; }
4837 if test -z "$CC"; then
4838 if test -n "$ac_tool_prefix"; then
4839 for ac_prog in cl.exe
4841 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4842 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4843 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4844 printf %s "checking for $ac_word... " >&6; }
4845 if test ${ac_cv_prog_CC+y}
4846 then :
4847 printf %s "(cached) " >&6
4848 else $as_nop
4849 if test -n "$CC"; then
4850 ac_cv_prog_CC="$CC" # Let the user override the test.
4851 else
4852 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4853 for as_dir in $PATH
4855 IFS=$as_save_IFS
4856 case $as_dir in #(((
4857 '') as_dir=./ ;;
4858 */) ;;
4859 *) as_dir=$as_dir/ ;;
4860 esac
4861 for ac_exec_ext in '' $ac_executable_extensions; do
4862 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4863 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4864 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4865 break 2
4867 done
4868 done
4869 IFS=$as_save_IFS
4873 CC=$ac_cv_prog_CC
4874 if test -n "$CC"; then
4875 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4876 printf "%s\n" "$CC" >&6; }
4877 else
4878 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4879 printf "%s\n" "no" >&6; }
4883 test -n "$CC" && break
4884 done
4886 if test -z "$CC"; then
4887 ac_ct_CC=$CC
4888 for ac_prog in cl.exe
4890 # Extract the first word of "$ac_prog", so it can be a program name with args.
4891 set dummy $ac_prog; ac_word=$2
4892 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4893 printf %s "checking for $ac_word... " >&6; }
4894 if test ${ac_cv_prog_ac_ct_CC+y}
4895 then :
4896 printf %s "(cached) " >&6
4897 else $as_nop
4898 if test -n "$ac_ct_CC"; then
4899 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4900 else
4901 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4902 for as_dir in $PATH
4904 IFS=$as_save_IFS
4905 case $as_dir in #(((
4906 '') as_dir=./ ;;
4907 */) ;;
4908 *) as_dir=$as_dir/ ;;
4909 esac
4910 for ac_exec_ext in '' $ac_executable_extensions; do
4911 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4912 ac_cv_prog_ac_ct_CC="$ac_prog"
4913 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4914 break 2
4916 done
4917 done
4918 IFS=$as_save_IFS
4922 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4923 if test -n "$ac_ct_CC"; then
4924 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4925 printf "%s\n" "$ac_ct_CC" >&6; }
4926 else
4927 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4928 printf "%s\n" "no" >&6; }
4932 test -n "$ac_ct_CC" && break
4933 done
4935 if test "x$ac_ct_CC" = x; then
4936 CC=""
4937 else
4938 case $cross_compiling:$ac_tool_warned in
4939 yes:)
4940 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4941 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4942 ac_tool_warned=yes ;;
4943 esac
4944 CC=$ac_ct_CC
4949 if test -z "$CC"; then
4950 if test -n "$ac_tool_prefix"; then
4951 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
4952 set dummy ${ac_tool_prefix}clang; ac_word=$2
4953 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4954 printf %s "checking for $ac_word... " >&6; }
4955 if test ${ac_cv_prog_CC+y}
4956 then :
4957 printf %s "(cached) " >&6
4958 else $as_nop
4959 if test -n "$CC"; then
4960 ac_cv_prog_CC="$CC" # Let the user override the test.
4961 else
4962 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4963 for as_dir in $PATH
4965 IFS=$as_save_IFS
4966 case $as_dir in #(((
4967 '') as_dir=./ ;;
4968 */) ;;
4969 *) as_dir=$as_dir/ ;;
4970 esac
4971 for ac_exec_ext in '' $ac_executable_extensions; do
4972 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4973 ac_cv_prog_CC="${ac_tool_prefix}clang"
4974 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4975 break 2
4977 done
4978 done
4979 IFS=$as_save_IFS
4983 CC=$ac_cv_prog_CC
4984 if test -n "$CC"; then
4985 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4986 printf "%s\n" "$CC" >&6; }
4987 else
4988 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4989 printf "%s\n" "no" >&6; }
4994 if test -z "$ac_cv_prog_CC"; then
4995 ac_ct_CC=$CC
4996 # Extract the first word of "clang", so it can be a program name with args.
4997 set dummy clang; ac_word=$2
4998 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4999 printf %s "checking for $ac_word... " >&6; }
5000 if test ${ac_cv_prog_ac_ct_CC+y}
5001 then :
5002 printf %s "(cached) " >&6
5003 else $as_nop
5004 if test -n "$ac_ct_CC"; then
5005 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
5006 else
5007 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5008 for as_dir in $PATH
5010 IFS=$as_save_IFS
5011 case $as_dir in #(((
5012 '') as_dir=./ ;;
5013 */) ;;
5014 *) as_dir=$as_dir/ ;;
5015 esac
5016 for ac_exec_ext in '' $ac_executable_extensions; do
5017 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5018 ac_cv_prog_ac_ct_CC="clang"
5019 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5020 break 2
5022 done
5023 done
5024 IFS=$as_save_IFS
5028 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5029 if test -n "$ac_ct_CC"; then
5030 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5031 printf "%s\n" "$ac_ct_CC" >&6; }
5032 else
5033 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5034 printf "%s\n" "no" >&6; }
5037 if test "x$ac_ct_CC" = x; then
5038 CC=""
5039 else
5040 case $cross_compiling:$ac_tool_warned in
5041 yes:)
5042 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5043 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5044 ac_tool_warned=yes ;;
5045 esac
5046 CC=$ac_ct_CC
5048 else
5049 CC="$ac_cv_prog_CC"
5055 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5056 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5057 as_fn_error $? "no acceptable C compiler found in \$PATH
5058 See \`config.log' for more details" "$LINENO" 5; }
5060 # Provide some information about the compiler.
5061 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5062 set X $ac_compile
5063 ac_compiler=$2
5064 for ac_option in --version -v -V -qversion -version; do
5065 { { ac_try="$ac_compiler $ac_option >&5"
5066 case "(($ac_try" in
5067 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5068 *) ac_try_echo=$ac_try;;
5069 esac
5070 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5071 printf "%s\n" "$ac_try_echo"; } >&5
5072 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5073 ac_status=$?
5074 if test -s conftest.err; then
5075 sed '10a\
5076 ... rest of stderr output deleted ...
5077 10q' conftest.err >conftest.er1
5078 cat conftest.er1 >&5
5080 rm -f conftest.er1 conftest.err
5081 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5082 test $ac_status = 0; }
5083 done
5085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5086 /* end confdefs.h. */
5089 main (void)
5093 return 0;
5095 _ACEOF
5096 ac_clean_files_save=$ac_clean_files
5097 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
5098 # Try to create an executable without -o first, disregard a.out.
5099 # It will help us diagnose broken compilers, and finding out an intuition
5100 # of exeext.
5101 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
5102 printf %s "checking whether the C compiler works... " >&6; }
5103 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
5105 # The possible output files:
5106 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
5108 ac_rmfiles=
5109 for ac_file in $ac_files
5111 case $ac_file in
5112 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5113 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
5114 esac
5115 done
5116 rm -f $ac_rmfiles
5118 if { { ac_try="$ac_link_default"
5119 case "(($ac_try" in
5120 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5121 *) ac_try_echo=$ac_try;;
5122 esac
5123 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5124 printf "%s\n" "$ac_try_echo"; } >&5
5125 (eval "$ac_link_default") 2>&5
5126 ac_status=$?
5127 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5128 test $ac_status = 0; }
5129 then :
5130 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
5131 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
5132 # in a Makefile. We should not override ac_cv_exeext if it was cached,
5133 # so that the user can short-circuit this test for compilers unknown to
5134 # Autoconf.
5135 for ac_file in $ac_files ''
5137 test -f "$ac_file" || continue
5138 case $ac_file in
5139 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
5141 [ab].out )
5142 # We found the default executable, but exeext='' is most
5143 # certainly right.
5144 break;;
5145 *.* )
5146 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
5147 then :; else
5148 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5150 # We set ac_cv_exeext here because the later test for it is not
5151 # safe: cross compilers may not add the suffix if given an `-o'
5152 # argument, so we may need to know it at that point already.
5153 # Even if this section looks crufty: it has the advantage of
5154 # actually working.
5155 break;;
5157 break;;
5158 esac
5159 done
5160 test "$ac_cv_exeext" = no && ac_cv_exeext=
5162 else $as_nop
5163 ac_file=''
5165 if test -z "$ac_file"
5166 then :
5167 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5168 printf "%s\n" "no" >&6; }
5169 printf "%s\n" "$as_me: failed program was:" >&5
5170 sed 's/^/| /' conftest.$ac_ext >&5
5172 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5173 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5174 as_fn_error 77 "C compiler cannot create executables
5175 See \`config.log' for more details" "$LINENO" 5; }
5176 else $as_nop
5177 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5178 printf "%s\n" "yes" >&6; }
5180 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
5181 printf %s "checking for C compiler default output file name... " >&6; }
5182 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
5183 printf "%s\n" "$ac_file" >&6; }
5184 ac_exeext=$ac_cv_exeext
5186 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
5187 ac_clean_files=$ac_clean_files_save
5188 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
5189 printf %s "checking for suffix of executables... " >&6; }
5190 if { { ac_try="$ac_link"
5191 case "(($ac_try" in
5192 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5193 *) ac_try_echo=$ac_try;;
5194 esac
5195 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5196 printf "%s\n" "$ac_try_echo"; } >&5
5197 (eval "$ac_link") 2>&5
5198 ac_status=$?
5199 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5200 test $ac_status = 0; }
5201 then :
5202 # If both `conftest.exe' and `conftest' are `present' (well, observable)
5203 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
5204 # work properly (i.e., refer to `conftest.exe'), while it won't with
5205 # `rm'.
5206 for ac_file in conftest.exe conftest conftest.*; do
5207 test -f "$ac_file" || continue
5208 case $ac_file in
5209 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5210 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5211 break;;
5212 * ) break;;
5213 esac
5214 done
5215 else $as_nop
5216 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5217 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5218 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
5219 See \`config.log' for more details" "$LINENO" 5; }
5221 rm -f conftest conftest$ac_cv_exeext
5222 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
5223 printf "%s\n" "$ac_cv_exeext" >&6; }
5225 rm -f conftest.$ac_ext
5226 EXEEXT=$ac_cv_exeext
5227 ac_exeext=$EXEEXT
5228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5229 /* end confdefs.h. */
5230 #include <stdio.h>
5232 main (void)
5234 FILE *f = fopen ("conftest.out", "w");
5235 return ferror (f) || fclose (f) != 0;
5238 return 0;
5240 _ACEOF
5241 ac_clean_files="$ac_clean_files conftest.out"
5242 # Check that the compiler produces executables we can run. If not, either
5243 # the compiler is broken, or we cross compile.
5244 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
5245 printf %s "checking whether we are cross compiling... " >&6; }
5246 if test "$cross_compiling" != yes; then
5247 { { ac_try="$ac_link"
5248 case "(($ac_try" in
5249 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5250 *) ac_try_echo=$ac_try;;
5251 esac
5252 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5253 printf "%s\n" "$ac_try_echo"; } >&5
5254 (eval "$ac_link") 2>&5
5255 ac_status=$?
5256 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5257 test $ac_status = 0; }
5258 if { ac_try='./conftest$ac_cv_exeext'
5259 { { case "(($ac_try" in
5260 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5261 *) ac_try_echo=$ac_try;;
5262 esac
5263 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5264 printf "%s\n" "$ac_try_echo"; } >&5
5265 (eval "$ac_try") 2>&5
5266 ac_status=$?
5267 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5268 test $ac_status = 0; }; }; then
5269 cross_compiling=no
5270 else
5271 if test "$cross_compiling" = maybe; then
5272 cross_compiling=yes
5273 else
5274 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5275 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5276 as_fn_error 77 "cannot run C compiled programs.
5277 If you meant to cross compile, use \`--host'.
5278 See \`config.log' for more details" "$LINENO" 5; }
5282 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
5283 printf "%s\n" "$cross_compiling" >&6; }
5285 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
5286 ac_clean_files=$ac_clean_files_save
5287 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
5288 printf %s "checking for suffix of object files... " >&6; }
5289 if test ${ac_cv_objext+y}
5290 then :
5291 printf %s "(cached) " >&6
5292 else $as_nop
5293 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5294 /* end confdefs.h. */
5297 main (void)
5301 return 0;
5303 _ACEOF
5304 rm -f conftest.o conftest.obj
5305 if { { ac_try="$ac_compile"
5306 case "(($ac_try" in
5307 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5308 *) ac_try_echo=$ac_try;;
5309 esac
5310 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5311 printf "%s\n" "$ac_try_echo"; } >&5
5312 (eval "$ac_compile") 2>&5
5313 ac_status=$?
5314 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5315 test $ac_status = 0; }
5316 then :
5317 for ac_file in conftest.o conftest.obj conftest.*; do
5318 test -f "$ac_file" || continue;
5319 case $ac_file in
5320 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
5321 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
5322 break;;
5323 esac
5324 done
5325 else $as_nop
5326 printf "%s\n" "$as_me: failed program was:" >&5
5327 sed 's/^/| /' conftest.$ac_ext >&5
5329 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5330 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5331 as_fn_error $? "cannot compute suffix of object files: cannot compile
5332 See \`config.log' for more details" "$LINENO" 5; }
5334 rm -f conftest.$ac_cv_objext conftest.$ac_ext
5336 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
5337 printf "%s\n" "$ac_cv_objext" >&6; }
5338 OBJEXT=$ac_cv_objext
5339 ac_objext=$OBJEXT
5340 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
5341 printf %s "checking whether the compiler supports GNU C... " >&6; }
5342 if test ${ac_cv_c_compiler_gnu+y}
5343 then :
5344 printf %s "(cached) " >&6
5345 else $as_nop
5346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5347 /* end confdefs.h. */
5350 main (void)
5352 #ifndef __GNUC__
5353 choke me
5354 #endif
5357 return 0;
5359 _ACEOF
5360 if ac_fn_c_try_compile "$LINENO"
5361 then :
5362 ac_compiler_gnu=yes
5363 else $as_nop
5364 ac_compiler_gnu=no
5366 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5367 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5370 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5371 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
5372 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5374 if test $ac_compiler_gnu = yes; then
5375 GCC=yes
5376 else
5377 GCC=
5379 ac_test_CFLAGS=${CFLAGS+y}
5380 ac_save_CFLAGS=$CFLAGS
5381 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5382 printf %s "checking whether $CC accepts -g... " >&6; }
5383 if test ${ac_cv_prog_cc_g+y}
5384 then :
5385 printf %s "(cached) " >&6
5386 else $as_nop
5387 ac_save_c_werror_flag=$ac_c_werror_flag
5388 ac_c_werror_flag=yes
5389 ac_cv_prog_cc_g=no
5390 CFLAGS="-g"
5391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5392 /* end confdefs.h. */
5395 main (void)
5399 return 0;
5401 _ACEOF
5402 if ac_fn_c_try_compile "$LINENO"
5403 then :
5404 ac_cv_prog_cc_g=yes
5405 else $as_nop
5406 CFLAGS=""
5407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5408 /* end confdefs.h. */
5411 main (void)
5415 return 0;
5417 _ACEOF
5418 if ac_fn_c_try_compile "$LINENO"
5419 then :
5421 else $as_nop
5422 ac_c_werror_flag=$ac_save_c_werror_flag
5423 CFLAGS="-g"
5424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5425 /* end confdefs.h. */
5428 main (void)
5432 return 0;
5434 _ACEOF
5435 if ac_fn_c_try_compile "$LINENO"
5436 then :
5437 ac_cv_prog_cc_g=yes
5439 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5441 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5443 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5444 ac_c_werror_flag=$ac_save_c_werror_flag
5446 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5447 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
5448 if test $ac_test_CFLAGS; then
5449 CFLAGS=$ac_save_CFLAGS
5450 elif test $ac_cv_prog_cc_g = yes; then
5451 if test "$GCC" = yes; then
5452 CFLAGS="-g -O2"
5453 else
5454 CFLAGS="-g"
5456 else
5457 if test "$GCC" = yes; then
5458 CFLAGS="-O2"
5459 else
5460 CFLAGS=
5463 ac_prog_cc_stdc=no
5464 if test x$ac_prog_cc_stdc = xno
5465 then :
5466 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
5467 printf %s "checking for $CC option to enable C11 features... " >&6; }
5468 if test ${ac_cv_prog_cc_c11+y}
5469 then :
5470 printf %s "(cached) " >&6
5471 else $as_nop
5472 ac_cv_prog_cc_c11=no
5473 ac_save_CC=$CC
5474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5475 /* end confdefs.h. */
5476 $ac_c_conftest_c11_program
5477 _ACEOF
5478 for ac_arg in '' -std=gnu11
5480 CC="$ac_save_CC $ac_arg"
5481 if ac_fn_c_try_compile "$LINENO"
5482 then :
5483 ac_cv_prog_cc_c11=$ac_arg
5485 rm -f core conftest.err conftest.$ac_objext conftest.beam
5486 test "x$ac_cv_prog_cc_c11" != "xno" && break
5487 done
5488 rm -f conftest.$ac_ext
5489 CC=$ac_save_CC
5492 if test "x$ac_cv_prog_cc_c11" = xno
5493 then :
5494 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5495 printf "%s\n" "unsupported" >&6; }
5496 else $as_nop
5497 if test "x$ac_cv_prog_cc_c11" = x
5498 then :
5499 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5500 printf "%s\n" "none needed" >&6; }
5501 else $as_nop
5502 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
5503 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
5504 CC="$CC $ac_cv_prog_cc_c11"
5506 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
5507 ac_prog_cc_stdc=c11
5510 if test x$ac_prog_cc_stdc = xno
5511 then :
5512 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
5513 printf %s "checking for $CC option to enable C99 features... " >&6; }
5514 if test ${ac_cv_prog_cc_c99+y}
5515 then :
5516 printf %s "(cached) " >&6
5517 else $as_nop
5518 ac_cv_prog_cc_c99=no
5519 ac_save_CC=$CC
5520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5521 /* end confdefs.h. */
5522 $ac_c_conftest_c99_program
5523 _ACEOF
5524 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
5526 CC="$ac_save_CC $ac_arg"
5527 if ac_fn_c_try_compile "$LINENO"
5528 then :
5529 ac_cv_prog_cc_c99=$ac_arg
5531 rm -f core conftest.err conftest.$ac_objext conftest.beam
5532 test "x$ac_cv_prog_cc_c99" != "xno" && break
5533 done
5534 rm -f conftest.$ac_ext
5535 CC=$ac_save_CC
5538 if test "x$ac_cv_prog_cc_c99" = xno
5539 then :
5540 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5541 printf "%s\n" "unsupported" >&6; }
5542 else $as_nop
5543 if test "x$ac_cv_prog_cc_c99" = x
5544 then :
5545 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5546 printf "%s\n" "none needed" >&6; }
5547 else $as_nop
5548 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5549 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
5550 CC="$CC $ac_cv_prog_cc_c99"
5552 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
5553 ac_prog_cc_stdc=c99
5556 if test x$ac_prog_cc_stdc = xno
5557 then :
5558 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
5559 printf %s "checking for $CC option to enable C89 features... " >&6; }
5560 if test ${ac_cv_prog_cc_c89+y}
5561 then :
5562 printf %s "(cached) " >&6
5563 else $as_nop
5564 ac_cv_prog_cc_c89=no
5565 ac_save_CC=$CC
5566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5567 /* end confdefs.h. */
5568 $ac_c_conftest_c89_program
5569 _ACEOF
5570 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5572 CC="$ac_save_CC $ac_arg"
5573 if ac_fn_c_try_compile "$LINENO"
5574 then :
5575 ac_cv_prog_cc_c89=$ac_arg
5577 rm -f core conftest.err conftest.$ac_objext conftest.beam
5578 test "x$ac_cv_prog_cc_c89" != "xno" && break
5579 done
5580 rm -f conftest.$ac_ext
5581 CC=$ac_save_CC
5584 if test "x$ac_cv_prog_cc_c89" = xno
5585 then :
5586 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5587 printf "%s\n" "unsupported" >&6; }
5588 else $as_nop
5589 if test "x$ac_cv_prog_cc_c89" = x
5590 then :
5591 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5592 printf "%s\n" "none needed" >&6; }
5593 else $as_nop
5594 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5595 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
5596 CC="$CC $ac_cv_prog_cc_c89"
5598 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
5599 ac_prog_cc_stdc=c89
5603 ac_ext=c
5604 ac_cpp='$CPP $CPPFLAGS'
5605 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5606 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5607 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5615 ac_ext=cpp
5616 ac_cpp='$CXXCPP $CPPFLAGS'
5617 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5618 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5619 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5620 if test -z "$CXX"; then
5621 if test -n "$CCC"; then
5622 CXX=$CCC
5623 else
5624 if test -n "$ac_tool_prefix"; then
5625 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5627 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5628 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5629 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5630 printf %s "checking for $ac_word... " >&6; }
5631 if test ${ac_cv_prog_CXX+y}
5632 then :
5633 printf %s "(cached) " >&6
5634 else $as_nop
5635 if test -n "$CXX"; then
5636 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5637 else
5638 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5639 for as_dir in $PATH
5641 IFS=$as_save_IFS
5642 case $as_dir in #(((
5643 '') as_dir=./ ;;
5644 */) ;;
5645 *) as_dir=$as_dir/ ;;
5646 esac
5647 for ac_exec_ext in '' $ac_executable_extensions; do
5648 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5649 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5650 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5651 break 2
5653 done
5654 done
5655 IFS=$as_save_IFS
5659 CXX=$ac_cv_prog_CXX
5660 if test -n "$CXX"; then
5661 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5662 printf "%s\n" "$CXX" >&6; }
5663 else
5664 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5665 printf "%s\n" "no" >&6; }
5669 test -n "$CXX" && break
5670 done
5672 if test -z "$CXX"; then
5673 ac_ct_CXX=$CXX
5674 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5676 # Extract the first word of "$ac_prog", so it can be a program name with args.
5677 set dummy $ac_prog; ac_word=$2
5678 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5679 printf %s "checking for $ac_word... " >&6; }
5680 if test ${ac_cv_prog_ac_ct_CXX+y}
5681 then :
5682 printf %s "(cached) " >&6
5683 else $as_nop
5684 if test -n "$ac_ct_CXX"; then
5685 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5686 else
5687 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5688 for as_dir in $PATH
5690 IFS=$as_save_IFS
5691 case $as_dir in #(((
5692 '') as_dir=./ ;;
5693 */) ;;
5694 *) as_dir=$as_dir/ ;;
5695 esac
5696 for ac_exec_ext in '' $ac_executable_extensions; do
5697 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5698 ac_cv_prog_ac_ct_CXX="$ac_prog"
5699 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5700 break 2
5702 done
5703 done
5704 IFS=$as_save_IFS
5708 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5709 if test -n "$ac_ct_CXX"; then
5710 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5711 printf "%s\n" "$ac_ct_CXX" >&6; }
5712 else
5713 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5714 printf "%s\n" "no" >&6; }
5718 test -n "$ac_ct_CXX" && break
5719 done
5721 if test "x$ac_ct_CXX" = x; then
5722 CXX="g++"
5723 else
5724 case $cross_compiling:$ac_tool_warned in
5725 yes:)
5726 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5727 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5728 ac_tool_warned=yes ;;
5729 esac
5730 CXX=$ac_ct_CXX
5736 # Provide some information about the compiler.
5737 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5738 set X $ac_compile
5739 ac_compiler=$2
5740 for ac_option in --version -v -V -qversion; do
5741 { { ac_try="$ac_compiler $ac_option >&5"
5742 case "(($ac_try" in
5743 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5744 *) ac_try_echo=$ac_try;;
5745 esac
5746 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5747 printf "%s\n" "$ac_try_echo"; } >&5
5748 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5749 ac_status=$?
5750 if test -s conftest.err; then
5751 sed '10a\
5752 ... rest of stderr output deleted ...
5753 10q' conftest.err >conftest.er1
5754 cat conftest.er1 >&5
5756 rm -f conftest.er1 conftest.err
5757 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5758 test $ac_status = 0; }
5759 done
5761 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5
5762 printf %s "checking whether the compiler supports GNU C++... " >&6; }
5763 if test ${ac_cv_cxx_compiler_gnu+y}
5764 then :
5765 printf %s "(cached) " >&6
5766 else $as_nop
5767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5768 /* end confdefs.h. */
5771 main (void)
5773 #ifndef __GNUC__
5774 choke me
5775 #endif
5778 return 0;
5780 _ACEOF
5781 if ac_fn_cxx_try_compile "$LINENO"
5782 then :
5783 ac_compiler_gnu=yes
5784 else $as_nop
5785 ac_compiler_gnu=no
5787 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5788 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5791 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5792 printf "%s\n" "$ac_cv_cxx_compiler_gnu" >&6; }
5793 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5795 if test $ac_compiler_gnu = yes; then
5796 GXX=yes
5797 else
5798 GXX=
5800 ac_test_CXXFLAGS=${CXXFLAGS+y}
5801 ac_save_CXXFLAGS=$CXXFLAGS
5802 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5803 printf %s "checking whether $CXX accepts -g... " >&6; }
5804 if test ${ac_cv_prog_cxx_g+y}
5805 then :
5806 printf %s "(cached) " >&6
5807 else $as_nop
5808 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5809 ac_cxx_werror_flag=yes
5810 ac_cv_prog_cxx_g=no
5811 CXXFLAGS="-g"
5812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5813 /* end confdefs.h. */
5816 main (void)
5820 return 0;
5822 _ACEOF
5823 if ac_fn_cxx_try_compile "$LINENO"
5824 then :
5825 ac_cv_prog_cxx_g=yes
5826 else $as_nop
5827 CXXFLAGS=""
5828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5829 /* end confdefs.h. */
5832 main (void)
5836 return 0;
5838 _ACEOF
5839 if ac_fn_cxx_try_compile "$LINENO"
5840 then :
5842 else $as_nop
5843 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5844 CXXFLAGS="-g"
5845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5846 /* end confdefs.h. */
5849 main (void)
5853 return 0;
5855 _ACEOF
5856 if ac_fn_cxx_try_compile "$LINENO"
5857 then :
5858 ac_cv_prog_cxx_g=yes
5860 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5862 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5864 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5865 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5867 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5868 printf "%s\n" "$ac_cv_prog_cxx_g" >&6; }
5869 if test $ac_test_CXXFLAGS; then
5870 CXXFLAGS=$ac_save_CXXFLAGS
5871 elif test $ac_cv_prog_cxx_g = yes; then
5872 if test "$GXX" = yes; then
5873 CXXFLAGS="-g -O2"
5874 else
5875 CXXFLAGS="-g"
5877 else
5878 if test "$GXX" = yes; then
5879 CXXFLAGS="-O2"
5880 else
5881 CXXFLAGS=
5884 ac_prog_cxx_stdcxx=no
5885 if test x$ac_prog_cxx_stdcxx = xno
5886 then :
5887 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5
5888 printf %s "checking for $CXX option to enable C++11 features... " >&6; }
5889 if test ${ac_cv_prog_cxx_11+y}
5890 then :
5891 printf %s "(cached) " >&6
5892 else $as_nop
5893 ac_cv_prog_cxx_11=no
5894 ac_save_CXX=$CXX
5895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5896 /* end confdefs.h. */
5897 $ac_cxx_conftest_cxx11_program
5898 _ACEOF
5899 for ac_arg in '' -std=gnu++11 -std=gnu++0x -std=c++11 -std=c++0x -qlanglvl=extended0x -AA
5901 CXX="$ac_save_CXX $ac_arg"
5902 if ac_fn_cxx_try_compile "$LINENO"
5903 then :
5904 ac_cv_prog_cxx_cxx11=$ac_arg
5906 rm -f core conftest.err conftest.$ac_objext conftest.beam
5907 test "x$ac_cv_prog_cxx_cxx11" != "xno" && break
5908 done
5909 rm -f conftest.$ac_ext
5910 CXX=$ac_save_CXX
5913 if test "x$ac_cv_prog_cxx_cxx11" = xno
5914 then :
5915 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5916 printf "%s\n" "unsupported" >&6; }
5917 else $as_nop
5918 if test "x$ac_cv_prog_cxx_cxx11" = x
5919 then :
5920 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5921 printf "%s\n" "none needed" >&6; }
5922 else $as_nop
5923 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx11" >&5
5924 printf "%s\n" "$ac_cv_prog_cxx_cxx11" >&6; }
5925 CXX="$CXX $ac_cv_prog_cxx_cxx11"
5927 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx11
5928 ac_prog_cxx_stdcxx=cxx11
5931 if test x$ac_prog_cxx_stdcxx = xno
5932 then :
5933 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5
5934 printf %s "checking for $CXX option to enable C++98 features... " >&6; }
5935 if test ${ac_cv_prog_cxx_98+y}
5936 then :
5937 printf %s "(cached) " >&6
5938 else $as_nop
5939 ac_cv_prog_cxx_98=no
5940 ac_save_CXX=$CXX
5941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5942 /* end confdefs.h. */
5943 $ac_cxx_conftest_cxx98_program
5944 _ACEOF
5945 for ac_arg in '' -std=gnu++98 -std=c++98 -qlanglvl=extended -AA
5947 CXX="$ac_save_CXX $ac_arg"
5948 if ac_fn_cxx_try_compile "$LINENO"
5949 then :
5950 ac_cv_prog_cxx_cxx98=$ac_arg
5952 rm -f core conftest.err conftest.$ac_objext conftest.beam
5953 test "x$ac_cv_prog_cxx_cxx98" != "xno" && break
5954 done
5955 rm -f conftest.$ac_ext
5956 CXX=$ac_save_CXX
5959 if test "x$ac_cv_prog_cxx_cxx98" = xno
5960 then :
5961 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5962 printf "%s\n" "unsupported" >&6; }
5963 else $as_nop
5964 if test "x$ac_cv_prog_cxx_cxx98" = x
5965 then :
5966 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5967 printf "%s\n" "none needed" >&6; }
5968 else $as_nop
5969 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx98" >&5
5970 printf "%s\n" "$ac_cv_prog_cxx_cxx98" >&6; }
5971 CXX="$CXX $ac_cv_prog_cxx_cxx98"
5973 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx98
5974 ac_prog_cxx_stdcxx=cxx98
5978 ac_ext=c
5979 ac_cpp='$CPP $CPPFLAGS'
5980 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5981 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5982 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5984 if test -n "$ac_tool_prefix"; then
5985 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5986 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5987 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5988 printf %s "checking for $ac_word... " >&6; }
5989 if test ${ac_cv_prog_CPPBIN+y}
5990 then :
5991 printf %s "(cached) " >&6
5992 else $as_nop
5993 if test -n "$CPPBIN"; then
5994 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5995 else
5996 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5997 for as_dir in $PATH
5999 IFS=$as_save_IFS
6000 case $as_dir in #(((
6001 '') as_dir=./ ;;
6002 */) ;;
6003 *) as_dir=$as_dir/ ;;
6004 esac
6005 for ac_exec_ext in '' $ac_executable_extensions; do
6006 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6007 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
6008 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6009 break 2
6011 done
6012 done
6013 IFS=$as_save_IFS
6017 CPPBIN=$ac_cv_prog_CPPBIN
6018 if test -n "$CPPBIN"; then
6019 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
6020 printf "%s\n" "$CPPBIN" >&6; }
6021 else
6022 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6023 printf "%s\n" "no" >&6; }
6028 if test -z "$ac_cv_prog_CPPBIN"; then
6029 ac_ct_CPPBIN=$CPPBIN
6030 # Extract the first word of "cpp", so it can be a program name with args.
6031 set dummy cpp; ac_word=$2
6032 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6033 printf %s "checking for $ac_word... " >&6; }
6034 if test ${ac_cv_prog_ac_ct_CPPBIN+y}
6035 then :
6036 printf %s "(cached) " >&6
6037 else $as_nop
6038 if test -n "$ac_ct_CPPBIN"; then
6039 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
6040 else
6041 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6042 for as_dir in $PATH
6044 IFS=$as_save_IFS
6045 case $as_dir in #(((
6046 '') as_dir=./ ;;
6047 */) ;;
6048 *) as_dir=$as_dir/ ;;
6049 esac
6050 for ac_exec_ext in '' $ac_executable_extensions; do
6051 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6052 ac_cv_prog_ac_ct_CPPBIN="cpp"
6053 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6054 break 2
6056 done
6057 done
6058 IFS=$as_save_IFS
6062 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
6063 if test -n "$ac_ct_CPPBIN"; then
6064 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
6065 printf "%s\n" "$ac_ct_CPPBIN" >&6; }
6066 else
6067 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6068 printf "%s\n" "no" >&6; }
6071 if test "x$ac_ct_CPPBIN" = x; then
6072 CPPBIN="cpp"
6073 else
6074 case $cross_compiling:$ac_tool_warned in
6075 yes:)
6076 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6077 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6078 ac_tool_warned=yes ;;
6079 esac
6080 CPPBIN=$ac_ct_CPPBIN
6082 else
6083 CPPBIN="$ac_cv_prog_CPPBIN"
6087 printf "%s\n" "#define EXEEXT \"$ac_exeext\"" >>confdefs.h
6089 if test -n "$ac_tool_prefix"; then
6090 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
6091 set dummy ${ac_tool_prefix}ld; ac_word=$2
6092 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6093 printf %s "checking for $ac_word... " >&6; }
6094 if test ${ac_cv_prog_LD+y}
6095 then :
6096 printf %s "(cached) " >&6
6097 else $as_nop
6098 if test -n "$LD"; then
6099 ac_cv_prog_LD="$LD" # Let the user override the test.
6100 else
6101 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6102 for as_dir in $PATH
6104 IFS=$as_save_IFS
6105 case $as_dir in #(((
6106 '') as_dir=./ ;;
6107 */) ;;
6108 *) as_dir=$as_dir/ ;;
6109 esac
6110 for ac_exec_ext in '' $ac_executable_extensions; do
6111 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6112 ac_cv_prog_LD="${ac_tool_prefix}ld"
6113 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6114 break 2
6116 done
6117 done
6118 IFS=$as_save_IFS
6122 LD=$ac_cv_prog_LD
6123 if test -n "$LD"; then
6124 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6125 printf "%s\n" "$LD" >&6; }
6126 else
6127 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6128 printf "%s\n" "no" >&6; }
6133 if test -z "$ac_cv_prog_LD"; then
6134 ac_ct_LD=$LD
6135 # Extract the first word of "ld", so it can be a program name with args.
6136 set dummy ld; ac_word=$2
6137 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6138 printf %s "checking for $ac_word... " >&6; }
6139 if test ${ac_cv_prog_ac_ct_LD+y}
6140 then :
6141 printf %s "(cached) " >&6
6142 else $as_nop
6143 if test -n "$ac_ct_LD"; then
6144 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
6145 else
6146 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6147 for as_dir in $PATH
6149 IFS=$as_save_IFS
6150 case $as_dir in #(((
6151 '') as_dir=./ ;;
6152 */) ;;
6153 *) as_dir=$as_dir/ ;;
6154 esac
6155 for ac_exec_ext in '' $ac_executable_extensions; do
6156 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6157 ac_cv_prog_ac_ct_LD="ld"
6158 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6159 break 2
6161 done
6162 done
6163 IFS=$as_save_IFS
6167 ac_ct_LD=$ac_cv_prog_ac_ct_LD
6168 if test -n "$ac_ct_LD"; then
6169 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
6170 printf "%s\n" "$ac_ct_LD" >&6; }
6171 else
6172 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6173 printf "%s\n" "no" >&6; }
6176 if test "x$ac_ct_LD" = x; then
6177 LD=""
6178 else
6179 case $cross_compiling:$ac_tool_warned in
6180 yes:)
6181 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6182 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6183 ac_tool_warned=yes ;;
6184 esac
6185 LD=$ac_ct_LD
6187 else
6188 LD="$ac_cv_prog_LD"
6192 case $host in
6193 *-darwin*)
6194 with_fontconfig=${with_fontconfig:-no}
6196 *-mingw32*|*-cygwin*)
6197 enable_win16=${enable_win16:-no}
6198 with_mingw=${with_mingw:-no}
6200 esac
6203 case $host in
6204 x86_64*|amd64*)
6205 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes" -a x"$enable_archs" = x
6206 then
6207 CC="$CC -m32"
6208 CXX="$CXX -m32"
6210 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
6211 printf %s "checking whether $CC works... " >&6; }
6212 if test ${wine_cv_cc_m32+y}
6213 then :
6214 printf %s "(cached) " >&6
6215 else $as_nop
6216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6217 /* end confdefs.h. */
6220 main (void)
6224 return 0;
6226 _ACEOF
6227 if ac_fn_c_try_link "$LINENO"
6228 then :
6229 wine_cv_cc_m32=yes
6230 else $as_nop
6231 wine_cv_cc_m32=no
6233 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6234 conftest$ac_exeext conftest.$ac_ext
6236 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
6237 printf "%s\n" "$wine_cv_cc_m32" >&6; }
6238 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
6239 host_cpu="i386"
6240 notice_platform="32-bit "
6241 TARGETFLAGS="$TARGETFLAGS -m32"
6242 PKG_CONFIG_LIBDIR=${PKG_CONFIG_LIBDIR:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
6243 export PKG_CONFIG_LIBDIR
6244 with_unwind=${with_unwind:-no}
6245 else
6246 if test "x${GCC}" = "xyes"
6247 then
6248 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
6249 printf %s "checking whether $CC supports __builtin_ms_va_list... " >&6; }
6250 if test ${wine_cv_builtin_ms_va_list+y}
6251 then :
6252 printf %s "(cached) " >&6
6253 else $as_nop
6254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6255 /* end confdefs.h. */
6256 #include <stdarg.h>
6258 main (void)
6260 void func(__builtin_ms_va_list *args);
6262 return 0;
6264 _ACEOF
6265 if ac_fn_c_try_compile "$LINENO"
6266 then :
6267 wine_cv_builtin_ms_va_list=yes
6268 else $as_nop
6269 wine_cv_builtin_ms_va_list=no
6271 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6273 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
6274 printf "%s\n" "$wine_cv_builtin_ms_va_list" >&6; }
6275 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
6277 CC="$CC -m64"
6278 CXX="$CXX -m64"
6279 host_cpu="x86_64"
6280 notice_platform="64-bit "
6281 TARGETFLAGS="$TARGETFLAGS -m64"
6284 arm*)
6285 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb-2" >&5
6286 printf %s "checking whether $CC supports Thumb-2... " >&6; }
6287 if test ${wine_cv_thumb2+y}
6288 then :
6289 printf %s "(cached) " >&6
6290 else $as_nop
6291 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6292 /* end confdefs.h. */
6295 main (void)
6297 asm(".syntax unified\n\t.thumb\n\tldm r0,{r0-r8}");
6299 return 0;
6301 _ACEOF
6302 if ac_fn_c_try_link "$LINENO"
6303 then :
6304 wine_cv_thumb2=yes
6305 else $as_nop
6306 wine_cv_thumb2=no
6308 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6309 conftest$ac_exeext conftest.$ac_ext
6311 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb2" >&5
6312 printf "%s\n" "$wine_cv_thumb2" >&6; }
6313 if test x"$wine_cv_thumb2" = xyes
6314 then
6315 CFLAGS="$CFLAGS -mthumb"
6316 TARGETFLAGS="$TARGETFLAGS -mthumb"
6317 else
6318 CFLAGS="$CFLAGS -marm"
6319 TARGETFLAGS="$TARGETFLAGS -marm"
6321 case $with_float_abi in
6322 soft|softfp|hard)
6323 float_abi=$with_float_abi ;;
6325 case $host_os in
6326 *eabihf)
6327 float_abi=hard ;;
6329 float_abi=softfp
6330 saved_CFLAGS=$CFLAGS
6331 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
6332 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
6333 printf %s "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
6334 if test ${wine_cv_float_abi+y}
6335 then :
6336 printf %s "(cached) " >&6
6337 else $as_nop
6338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6339 /* end confdefs.h. */
6342 main (void)
6344 asm("vmrs r2,fpscr");
6346 return 0;
6348 _ACEOF
6349 if ac_fn_c_try_link "$LINENO"
6350 then :
6351 wine_cv_float_abi=yes
6352 else $as_nop
6353 wine_cv_float_abi=no
6355 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6356 conftest$ac_exeext conftest.$ac_ext
6358 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
6359 printf "%s\n" "$wine_cv_float_abi" >&6; }
6360 if test $wine_cv_float_abi = no
6361 then
6362 float_abi=soft
6363 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
6365 CFLAGS=$saved_CFLAGS
6366 esac
6368 esac
6369 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
6370 TARGETFLAGS="$TARGETFLAGS -mfloat-abi=$float_abi"
6372 i[3456789]86*)
6373 with_unwind=${with_unwind:-no}
6375 esac
6377 enable_win16=${enable_win16:-i386}
6378 enable_win64=${enable_win64:-no}
6379 enable_wow64=${enable_wow64:-aarch64,x86_64}
6380 enable_wow64win=${enable_wow64win:-aarch64,x86_64}
6381 enable_wow64cpu=${enable_wow64cpu:-x86_64}
6383 enable_winetest=${enable_winetest:-$enable_tests}
6385 if test "x$enable_win64" = "xyes"
6386 then
6387 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
6388 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
6391 case $build_os in
6392 cygwin*|mingw32*) toolsext=".exe"
6394 *) toolsext=""
6396 esac
6398 HOST_ARCH=unknown
6399 case "$host_cpu" in
6400 aarch64*) HOST_ARCH=aarch64 ;;
6401 arm*) HOST_ARCH=arm ;;
6402 i[3456789]86*) HOST_ARCH=i386 ;;
6403 x86_64) HOST_ARCH=x86_64 ;;
6404 esac
6407 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
6408 printf %s "checking for the directory containing the Wine tools... " >&6; }
6409 if test ${wine_cv_toolsdir+y}
6410 then :
6411 printf %s "(cached) " >&6
6412 else $as_nop
6413 wine_cv_toolsdir="$with_wine_tools"
6414 if test -z "$with_wine_tools"; then
6415 if test "$cross_compiling" = "yes"; then
6416 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
6417 elif test -n "$with_wine64"; then
6418 wine_cv_toolsdir="$with_wine64"
6422 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
6423 printf "%s\n" "$wine_cv_toolsdir" >&6; }
6424 if test -z "$wine_cv_toolsdir"; then
6425 wine_makedep=tools/makedep$toolsext
6426 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
6427 wine_makedep=$wine_cv_toolsdir/tools/makedep$toolsext
6428 enable_tools=${enable_tools:-no}
6429 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
6430 else
6431 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
6433 toolsdir=$wine_cv_toolsdir
6435 MAKEDEP=$wine_makedep
6437 RUNTESTFLAGS="-q -P wine"
6439 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'"
6442 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
6443 then
6444 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
6447 for ac_prog in flex
6449 # Extract the first word of "$ac_prog", so it can be a program name with args.
6450 set dummy $ac_prog; ac_word=$2
6451 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6452 printf %s "checking for $ac_word... " >&6; }
6453 if test ${ac_cv_prog_FLEX+y}
6454 then :
6455 printf %s "(cached) " >&6
6456 else $as_nop
6457 if test -n "$FLEX"; then
6458 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
6459 else
6460 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6461 for as_dir in $PATH
6463 IFS=$as_save_IFS
6464 case $as_dir in #(((
6465 '') as_dir=./ ;;
6466 */) ;;
6467 *) as_dir=$as_dir/ ;;
6468 esac
6469 for ac_exec_ext in '' $ac_executable_extensions; do
6470 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6471 ac_cv_prog_FLEX="$ac_prog"
6472 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6473 break 2
6475 done
6476 done
6477 IFS=$as_save_IFS
6481 FLEX=$ac_cv_prog_FLEX
6482 if test -n "$FLEX"; then
6483 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
6484 printf "%s\n" "$FLEX" >&6; }
6485 else
6486 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6487 printf "%s\n" "no" >&6; }
6491 test -n "$FLEX" && break
6492 done
6493 test -n "$FLEX" || FLEX="none"
6495 if test "$FLEX" = "none"
6496 then
6497 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
6499 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
6500 printf %s "checking whether flex is recent enough... " >&6; }
6501 if test ${wine_cv_recent_flex+y}
6502 then :
6503 printf %s "(cached) " >&6
6504 else $as_nop
6505 cat >conftest.l <<EOF
6506 %top{
6507 #include "prediluvian.h"
6511 if $FLEX -t conftest.l >/dev/null 2>&5
6512 then
6513 wine_cv_recent_flex=yes
6514 else
6515 wine_cv_recent_flex=no
6518 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
6519 printf "%s\n" "$wine_cv_recent_flex" >&6; }
6520 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
6522 for ac_prog in bison
6524 # Extract the first word of "$ac_prog", so it can be a program name with args.
6525 set dummy $ac_prog; ac_word=$2
6526 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6527 printf %s "checking for $ac_word... " >&6; }
6528 if test ${ac_cv_prog_BISON+y}
6529 then :
6530 printf %s "(cached) " >&6
6531 else $as_nop
6532 if test -n "$BISON"; then
6533 ac_cv_prog_BISON="$BISON" # Let the user override the test.
6534 else
6535 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6536 for as_dir in $PATH
6538 IFS=$as_save_IFS
6539 case $as_dir in #(((
6540 '') as_dir=./ ;;
6541 */) ;;
6542 *) as_dir=$as_dir/ ;;
6543 esac
6544 for ac_exec_ext in '' $ac_executable_extensions; do
6545 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6546 ac_cv_prog_BISON="$ac_prog"
6547 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6548 break 2
6550 done
6551 done
6552 IFS=$as_save_IFS
6556 BISON=$ac_cv_prog_BISON
6557 if test -n "$BISON"; then
6558 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
6559 printf "%s\n" "$BISON" >&6; }
6560 else
6561 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6562 printf "%s\n" "no" >&6; }
6566 test -n "$BISON" && break
6567 done
6568 test -n "$BISON" || BISON="none"
6570 if test "$BISON" = "none"
6571 then
6572 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
6574 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
6575 printf %s "checking whether bison is recent enough... " >&6; }
6576 if test ${wine_cv_recent_bison+y}
6577 then :
6578 printf %s "(cached) " >&6
6579 else $as_nop
6580 cat >conftest.y <<EOF
6581 %define parse.error verbose
6583 empty: ;
6585 if $BISON conftest.y >/dev/null 2>&5
6586 then
6587 wine_cv_recent_bison=yes
6588 else
6589 wine_cv_recent_bison=no
6592 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
6593 printf "%s\n" "$wine_cv_recent_bison" >&6; }
6594 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
6596 if test -n "$ac_tool_prefix"; then
6597 for ac_prog in ar gar
6599 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6600 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6601 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6602 printf %s "checking for $ac_word... " >&6; }
6603 if test ${ac_cv_prog_AR+y}
6604 then :
6605 printf %s "(cached) " >&6
6606 else $as_nop
6607 if test -n "$AR"; then
6608 ac_cv_prog_AR="$AR" # Let the user override the test.
6609 else
6610 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6611 for as_dir in $PATH
6613 IFS=$as_save_IFS
6614 case $as_dir in #(((
6615 '') as_dir=./ ;;
6616 */) ;;
6617 *) as_dir=$as_dir/ ;;
6618 esac
6619 for ac_exec_ext in '' $ac_executable_extensions; do
6620 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6621 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6622 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6623 break 2
6625 done
6626 done
6627 IFS=$as_save_IFS
6631 AR=$ac_cv_prog_AR
6632 if test -n "$AR"; then
6633 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6634 printf "%s\n" "$AR" >&6; }
6635 else
6636 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6637 printf "%s\n" "no" >&6; }
6641 test -n "$AR" && break
6642 done
6644 if test -z "$AR"; then
6645 ac_ct_AR=$AR
6646 for ac_prog in ar gar
6648 # Extract the first word of "$ac_prog", so it can be a program name with args.
6649 set dummy $ac_prog; ac_word=$2
6650 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6651 printf %s "checking for $ac_word... " >&6; }
6652 if test ${ac_cv_prog_ac_ct_AR+y}
6653 then :
6654 printf %s "(cached) " >&6
6655 else $as_nop
6656 if test -n "$ac_ct_AR"; then
6657 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6658 else
6659 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6660 for as_dir in $PATH
6662 IFS=$as_save_IFS
6663 case $as_dir in #(((
6664 '') as_dir=./ ;;
6665 */) ;;
6666 *) as_dir=$as_dir/ ;;
6667 esac
6668 for ac_exec_ext in '' $ac_executable_extensions; do
6669 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6670 ac_cv_prog_ac_ct_AR="$ac_prog"
6671 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6672 break 2
6674 done
6675 done
6676 IFS=$as_save_IFS
6680 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6681 if test -n "$ac_ct_AR"; then
6682 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6683 printf "%s\n" "$ac_ct_AR" >&6; }
6684 else
6685 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6686 printf "%s\n" "no" >&6; }
6690 test -n "$ac_ct_AR" && break
6691 done
6693 if test "x$ac_ct_AR" = x; then
6694 AR="ar"
6695 else
6696 case $cross_compiling:$ac_tool_warned in
6697 yes:)
6698 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6699 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6700 ac_tool_warned=yes ;;
6701 esac
6702 AR=$ac_ct_AR
6706 if test -n "$ac_tool_prefix"; then
6707 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6708 set dummy ${ac_tool_prefix}strip; ac_word=$2
6709 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6710 printf %s "checking for $ac_word... " >&6; }
6711 if test ${ac_cv_prog_STRIP+y}
6712 then :
6713 printf %s "(cached) " >&6
6714 else $as_nop
6715 if test -n "$STRIP"; then
6716 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6717 else
6718 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6719 for as_dir in $PATH
6721 IFS=$as_save_IFS
6722 case $as_dir in #(((
6723 '') as_dir=./ ;;
6724 */) ;;
6725 *) as_dir=$as_dir/ ;;
6726 esac
6727 for ac_exec_ext in '' $ac_executable_extensions; do
6728 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6729 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6730 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6731 break 2
6733 done
6734 done
6735 IFS=$as_save_IFS
6739 STRIP=$ac_cv_prog_STRIP
6740 if test -n "$STRIP"; then
6741 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6742 printf "%s\n" "$STRIP" >&6; }
6743 else
6744 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6745 printf "%s\n" "no" >&6; }
6750 if test -z "$ac_cv_prog_STRIP"; then
6751 ac_ct_STRIP=$STRIP
6752 # Extract the first word of "strip", so it can be a program name with args.
6753 set dummy strip; ac_word=$2
6754 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6755 printf %s "checking for $ac_word... " >&6; }
6756 if test ${ac_cv_prog_ac_ct_STRIP+y}
6757 then :
6758 printf %s "(cached) " >&6
6759 else $as_nop
6760 if test -n "$ac_ct_STRIP"; then
6761 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6762 else
6763 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6764 for as_dir in $PATH
6766 IFS=$as_save_IFS
6767 case $as_dir in #(((
6768 '') as_dir=./ ;;
6769 */) ;;
6770 *) as_dir=$as_dir/ ;;
6771 esac
6772 for ac_exec_ext in '' $ac_executable_extensions; do
6773 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6774 ac_cv_prog_ac_ct_STRIP="strip"
6775 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6776 break 2
6778 done
6779 done
6780 IFS=$as_save_IFS
6784 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6785 if test -n "$ac_ct_STRIP"; then
6786 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6787 printf "%s\n" "$ac_ct_STRIP" >&6; }
6788 else
6789 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6790 printf "%s\n" "no" >&6; }
6793 if test "x$ac_ct_STRIP" = x; then
6794 STRIP="strip"
6795 else
6796 case $cross_compiling:$ac_tool_warned in
6797 yes:)
6798 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6799 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6800 ac_tool_warned=yes ;;
6801 esac
6802 STRIP=$ac_ct_STRIP
6804 else
6805 STRIP="$ac_cv_prog_STRIP"
6808 if test -n "$ac_tool_prefix"; then
6809 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6810 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6811 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6812 printf %s "checking for $ac_word... " >&6; }
6813 if test ${ac_cv_prog_RANLIB+y}
6814 then :
6815 printf %s "(cached) " >&6
6816 else $as_nop
6817 if test -n "$RANLIB"; then
6818 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6819 else
6820 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6821 for as_dir in $PATH
6823 IFS=$as_save_IFS
6824 case $as_dir in #(((
6825 '') as_dir=./ ;;
6826 */) ;;
6827 *) as_dir=$as_dir/ ;;
6828 esac
6829 for ac_exec_ext in '' $ac_executable_extensions; do
6830 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6831 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6832 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6833 break 2
6835 done
6836 done
6837 IFS=$as_save_IFS
6841 RANLIB=$ac_cv_prog_RANLIB
6842 if test -n "$RANLIB"; then
6843 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6844 printf "%s\n" "$RANLIB" >&6; }
6845 else
6846 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6847 printf "%s\n" "no" >&6; }
6852 if test -z "$ac_cv_prog_RANLIB"; then
6853 ac_ct_RANLIB=$RANLIB
6854 # Extract the first word of "ranlib", so it can be a program name with args.
6855 set dummy ranlib; ac_word=$2
6856 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6857 printf %s "checking for $ac_word... " >&6; }
6858 if test ${ac_cv_prog_ac_ct_RANLIB+y}
6859 then :
6860 printf %s "(cached) " >&6
6861 else $as_nop
6862 if test -n "$ac_ct_RANLIB"; then
6863 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6864 else
6865 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6866 for as_dir in $PATH
6868 IFS=$as_save_IFS
6869 case $as_dir in #(((
6870 '') as_dir=./ ;;
6871 */) ;;
6872 *) as_dir=$as_dir/ ;;
6873 esac
6874 for ac_exec_ext in '' $ac_executable_extensions; do
6875 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6876 ac_cv_prog_ac_ct_RANLIB="ranlib"
6877 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6878 break 2
6880 done
6881 done
6882 IFS=$as_save_IFS
6886 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6887 if test -n "$ac_ct_RANLIB"; then
6888 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6889 printf "%s\n" "$ac_ct_RANLIB" >&6; }
6890 else
6891 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6892 printf "%s\n" "no" >&6; }
6895 if test "x$ac_ct_RANLIB" = x; then
6896 RANLIB=":"
6897 else
6898 case $cross_compiling:$ac_tool_warned in
6899 yes:)
6900 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6901 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6902 ac_tool_warned=yes ;;
6903 esac
6904 RANLIB=$ac_ct_RANLIB
6906 else
6907 RANLIB="$ac_cv_prog_RANLIB"
6910 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6911 printf %s "checking whether ln -s works... " >&6; }
6912 LN_S=$as_ln_s
6913 if test "$LN_S" = "ln -s"; then
6914 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6915 printf "%s\n" "yes" >&6; }
6916 else
6917 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6918 printf "%s\n" "no, using $LN_S" >&6; }
6921 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6922 printf %s "checking for grep that handles long lines and -e... " >&6; }
6923 if test ${ac_cv_path_GREP+y}
6924 then :
6925 printf %s "(cached) " >&6
6926 else $as_nop
6927 if test -z "$GREP"; then
6928 ac_path_GREP_found=false
6929 # Loop through the user's path and test for each of PROGNAME-LIST
6930 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6931 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6933 IFS=$as_save_IFS
6934 case $as_dir in #(((
6935 '') as_dir=./ ;;
6936 */) ;;
6937 *) as_dir=$as_dir/ ;;
6938 esac
6939 for ac_prog in grep ggrep
6941 for ac_exec_ext in '' $ac_executable_extensions; do
6942 ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
6943 as_fn_executable_p "$ac_path_GREP" || continue
6944 # Check for GNU ac_path_GREP and select it if it is found.
6945 # Check for GNU $ac_path_GREP
6946 case `"$ac_path_GREP" --version 2>&1` in
6947 *GNU*)
6948 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6950 ac_count=0
6951 printf %s 0123456789 >"conftest.in"
6952 while :
6954 cat "conftest.in" "conftest.in" >"conftest.tmp"
6955 mv "conftest.tmp" "conftest.in"
6956 cp "conftest.in" "conftest.nl"
6957 printf "%s\n" 'GREP' >> "conftest.nl"
6958 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6959 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6960 as_fn_arith $ac_count + 1 && ac_count=$as_val
6961 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6962 # Best one so far, save it but keep looking for a better one
6963 ac_cv_path_GREP="$ac_path_GREP"
6964 ac_path_GREP_max=$ac_count
6966 # 10*(2^10) chars as input seems more than enough
6967 test $ac_count -gt 10 && break
6968 done
6969 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6970 esac
6972 $ac_path_GREP_found && break 3
6973 done
6974 done
6975 done
6976 IFS=$as_save_IFS
6977 if test -z "$ac_cv_path_GREP"; then
6978 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6980 else
6981 ac_cv_path_GREP=$GREP
6985 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6986 printf "%s\n" "$ac_cv_path_GREP" >&6; }
6987 GREP="$ac_cv_path_GREP"
6990 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6991 printf %s "checking for egrep... " >&6; }
6992 if test ${ac_cv_path_EGREP+y}
6993 then :
6994 printf %s "(cached) " >&6
6995 else $as_nop
6996 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6997 then ac_cv_path_EGREP="$GREP -E"
6998 else
6999 if test -z "$EGREP"; then
7000 ac_path_EGREP_found=false
7001 # Loop through the user's path and test for each of PROGNAME-LIST
7002 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7003 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
7005 IFS=$as_save_IFS
7006 case $as_dir in #(((
7007 '') as_dir=./ ;;
7008 */) ;;
7009 *) as_dir=$as_dir/ ;;
7010 esac
7011 for ac_prog in egrep
7013 for ac_exec_ext in '' $ac_executable_extensions; do
7014 ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
7015 as_fn_executable_p "$ac_path_EGREP" || continue
7016 # Check for GNU ac_path_EGREP and select it if it is found.
7017 # Check for GNU $ac_path_EGREP
7018 case `"$ac_path_EGREP" --version 2>&1` in
7019 *GNU*)
7020 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
7022 ac_count=0
7023 printf %s 0123456789 >"conftest.in"
7024 while :
7026 cat "conftest.in" "conftest.in" >"conftest.tmp"
7027 mv "conftest.tmp" "conftest.in"
7028 cp "conftest.in" "conftest.nl"
7029 printf "%s\n" 'EGREP' >> "conftest.nl"
7030 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
7031 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7032 as_fn_arith $ac_count + 1 && ac_count=$as_val
7033 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7034 # Best one so far, save it but keep looking for a better one
7035 ac_cv_path_EGREP="$ac_path_EGREP"
7036 ac_path_EGREP_max=$ac_count
7038 # 10*(2^10) chars as input seems more than enough
7039 test $ac_count -gt 10 && break
7040 done
7041 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7042 esac
7044 $ac_path_EGREP_found && break 3
7045 done
7046 done
7047 done
7048 IFS=$as_save_IFS
7049 if test -z "$ac_cv_path_EGREP"; then
7050 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7052 else
7053 ac_cv_path_EGREP=$EGREP
7058 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
7059 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
7060 EGREP="$ac_cv_path_EGREP"
7063 # Extract the first word of "ldconfig", so it can be a program name with args.
7064 set dummy ldconfig; ac_word=$2
7065 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7066 printf %s "checking for $ac_word... " >&6; }
7067 if test ${ac_cv_path_LDCONFIG+y}
7068 then :
7069 printf %s "(cached) " >&6
7070 else $as_nop
7071 case $LDCONFIG in
7072 [\\/]* | ?:[\\/]*)
7073 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
7076 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7077 for as_dir in /sbin /usr/sbin $PATH
7079 IFS=$as_save_IFS
7080 case $as_dir in #(((
7081 '') as_dir=./ ;;
7082 */) ;;
7083 *) as_dir=$as_dir/ ;;
7084 esac
7085 for ac_exec_ext in '' $ac_executable_extensions; do
7086 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7087 ac_cv_path_LDCONFIG="$as_dir$ac_word$ac_exec_ext"
7088 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7089 break 2
7091 done
7092 done
7093 IFS=$as_save_IFS
7095 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
7097 esac
7099 LDCONFIG=$ac_cv_path_LDCONFIG
7100 if test -n "$LDCONFIG"; then
7101 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
7102 printf "%s\n" "$LDCONFIG" >&6; }
7103 else
7104 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7105 printf "%s\n" "no" >&6; }
7109 for ac_prog in msgfmt
7111 # Extract the first word of "$ac_prog", so it can be a program name with args.
7112 set dummy $ac_prog; ac_word=$2
7113 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7114 printf %s "checking for $ac_word... " >&6; }
7115 if test ${ac_cv_prog_MSGFMT+y}
7116 then :
7117 printf %s "(cached) " >&6
7118 else $as_nop
7119 if test -n "$MSGFMT"; then
7120 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
7121 else
7122 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7123 for as_dir in $PATH
7125 IFS=$as_save_IFS
7126 case $as_dir in #(((
7127 '') as_dir=./ ;;
7128 */) ;;
7129 *) as_dir=$as_dir/ ;;
7130 esac
7131 for ac_exec_ext in '' $ac_executable_extensions; do
7132 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7133 ac_cv_prog_MSGFMT="$ac_prog"
7134 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7135 break 2
7137 done
7138 done
7139 IFS=$as_save_IFS
7143 MSGFMT=$ac_cv_prog_MSGFMT
7144 if test -n "$MSGFMT"; then
7145 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
7146 printf "%s\n" "$MSGFMT" >&6; }
7147 else
7148 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7149 printf "%s\n" "no" >&6; }
7153 test -n "$MSGFMT" && break
7154 done
7155 test -n "$MSGFMT" || MSGFMT="false"
7157 if test ${ac_tool_prefix+y}
7158 then :
7159 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
7160 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
7161 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7162 printf %s "checking for $ac_word... " >&6; }
7163 if test ${ac_cv_prog_PKG_CONFIG+y}
7164 then :
7165 printf %s "(cached) " >&6
7166 else $as_nop
7167 if test -n "$PKG_CONFIG"; then
7168 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
7169 else
7170 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7171 for as_dir in $PATH
7173 IFS=$as_save_IFS
7174 case $as_dir in #(((
7175 '') as_dir=./ ;;
7176 */) ;;
7177 *) as_dir=$as_dir/ ;;
7178 esac
7179 for ac_exec_ext in '' $ac_executable_extensions; do
7180 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7181 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
7182 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7183 break 2
7185 done
7186 done
7187 IFS=$as_save_IFS
7191 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7192 if test -n "$PKG_CONFIG"; then
7193 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7194 printf "%s\n" "$PKG_CONFIG" >&6; }
7195 else
7196 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7197 printf "%s\n" "no" >&6; }
7202 if ${ac_cv_prog_PKG_CONFIG:+false} :
7203 then :
7204 if test "x$cross_compiling" = xyes
7205 then :
7207 else $as_nop
7208 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
7209 # Extract the first word of "pkg-config", so it can be a program name with args.
7210 set dummy pkg-config; ac_word=$2
7211 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7212 printf %s "checking for $ac_word... " >&6; }
7213 if test ${ac_cv_prog_PKG_CONFIG+y}
7214 then :
7215 printf %s "(cached) " >&6
7216 else $as_nop
7217 if test -n "$PKG_CONFIG"; then
7218 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
7219 else
7220 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7221 for as_dir in $PATH
7223 IFS=$as_save_IFS
7224 case $as_dir in #(((
7225 '') as_dir=./ ;;
7226 */) ;;
7227 *) as_dir=$as_dir/ ;;
7228 esac
7229 for ac_exec_ext in '' $ac_executable_extensions; do
7230 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7231 ac_cv_prog_PKG_CONFIG="pkg-config"
7232 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7233 break 2
7235 done
7236 done
7237 IFS=$as_save_IFS
7241 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7242 if test -n "$PKG_CONFIG"; then
7243 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7244 printf "%s\n" "$PKG_CONFIG" >&6; }
7245 else
7246 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7247 printf "%s\n" "no" >&6; }
7252 else $as_nop
7253 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7256 if test "x$enable_maintainer_mode" != "xyes"
7257 then
7258 FONTFORGE=""
7259 RSVG=""
7260 CONVERT=""
7261 ICOTOOL=""
7262 else
7263 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
7264 for ac_prog in fontforge
7266 # Extract the first word of "$ac_prog", so it can be a program name with args.
7267 set dummy $ac_prog; ac_word=$2
7268 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7269 printf %s "checking for $ac_word... " >&6; }
7270 if test ${ac_cv_prog_FONTFORGE+y}
7271 then :
7272 printf %s "(cached) " >&6
7273 else $as_nop
7274 if test -n "$FONTFORGE"; then
7275 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
7276 else
7277 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7278 for as_dir in $PATH
7280 IFS=$as_save_IFS
7281 case $as_dir in #(((
7282 '') as_dir=./ ;;
7283 */) ;;
7284 *) as_dir=$as_dir/ ;;
7285 esac
7286 for ac_exec_ext in '' $ac_executable_extensions; do
7287 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7288 ac_cv_prog_FONTFORGE="$ac_prog"
7289 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7290 break 2
7292 done
7293 done
7294 IFS=$as_save_IFS
7298 FONTFORGE=$ac_cv_prog_FONTFORGE
7299 if test -n "$FONTFORGE"; then
7300 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
7301 printf "%s\n" "$FONTFORGE" >&6; }
7302 else
7303 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7304 printf "%s\n" "no" >&6; }
7308 test -n "$FONTFORGE" && break
7309 done
7310 test -n "$FONTFORGE" || FONTFORGE="false"
7312 for ac_prog in rsvg-convert rsvg
7314 # Extract the first word of "$ac_prog", so it can be a program name with args.
7315 set dummy $ac_prog; ac_word=$2
7316 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7317 printf %s "checking for $ac_word... " >&6; }
7318 if test ${ac_cv_prog_RSVG+y}
7319 then :
7320 printf %s "(cached) " >&6
7321 else $as_nop
7322 if test -n "$RSVG"; then
7323 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
7324 else
7325 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7326 for as_dir in $PATH
7328 IFS=$as_save_IFS
7329 case $as_dir in #(((
7330 '') as_dir=./ ;;
7331 */) ;;
7332 *) as_dir=$as_dir/ ;;
7333 esac
7334 for ac_exec_ext in '' $ac_executable_extensions; do
7335 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7336 ac_cv_prog_RSVG="$ac_prog"
7337 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7338 break 2
7340 done
7341 done
7342 IFS=$as_save_IFS
7346 RSVG=$ac_cv_prog_RSVG
7347 if test -n "$RSVG"; then
7348 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
7349 printf "%s\n" "$RSVG" >&6; }
7350 else
7351 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7352 printf "%s\n" "no" >&6; }
7356 test -n "$RSVG" && break
7357 done
7358 test -n "$RSVG" || RSVG="false"
7360 for ac_prog in convert
7362 # Extract the first word of "$ac_prog", so it can be a program name with args.
7363 set dummy $ac_prog; ac_word=$2
7364 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7365 printf %s "checking for $ac_word... " >&6; }
7366 if test ${ac_cv_prog_CONVERT+y}
7367 then :
7368 printf %s "(cached) " >&6
7369 else $as_nop
7370 if test -n "$CONVERT"; then
7371 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
7372 else
7373 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7374 for as_dir in $PATH
7376 IFS=$as_save_IFS
7377 case $as_dir in #(((
7378 '') as_dir=./ ;;
7379 */) ;;
7380 *) as_dir=$as_dir/ ;;
7381 esac
7382 for ac_exec_ext in '' $ac_executable_extensions; do
7383 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7384 ac_cv_prog_CONVERT="$ac_prog"
7385 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7386 break 2
7388 done
7389 done
7390 IFS=$as_save_IFS
7394 CONVERT=$ac_cv_prog_CONVERT
7395 if test -n "$CONVERT"; then
7396 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
7397 printf "%s\n" "$CONVERT" >&6; }
7398 else
7399 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7400 printf "%s\n" "no" >&6; }
7404 test -n "$CONVERT" && break
7405 done
7406 test -n "$CONVERT" || CONVERT="false"
7408 for ac_prog in icotool
7410 # Extract the first word of "$ac_prog", so it can be a program name with args.
7411 set dummy $ac_prog; ac_word=$2
7412 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7413 printf %s "checking for $ac_word... " >&6; }
7414 if test ${ac_cv_prog_ICOTOOL+y}
7415 then :
7416 printf %s "(cached) " >&6
7417 else $as_nop
7418 if test -n "$ICOTOOL"; then
7419 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
7420 else
7421 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7422 for as_dir in $PATH
7424 IFS=$as_save_IFS
7425 case $as_dir in #(((
7426 '') as_dir=./ ;;
7427 */) ;;
7428 *) as_dir=$as_dir/ ;;
7429 esac
7430 for ac_exec_ext in '' $ac_executable_extensions; do
7431 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7432 ac_cv_prog_ICOTOOL="$ac_prog"
7433 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7434 break 2
7436 done
7437 done
7438 IFS=$as_save_IFS
7442 ICOTOOL=$ac_cv_prog_ICOTOOL
7443 if test -n "$ICOTOOL"; then
7444 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
7445 printf "%s\n" "$ICOTOOL" >&6; }
7446 else
7447 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7448 printf "%s\n" "no" >&6; }
7452 test -n "$ICOTOOL" && break
7453 done
7454 test -n "$ICOTOOL" || ICOTOOL="false"
7456 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
7457 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
7459 if test "$CONVERT" = false
7460 then
7461 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
7462 else
7463 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
7464 printf %s "checking for recent enough imagemagick... " >&6; }
7465 convert_version=`convert --version | head -n1`
7466 if test "x$convert_version" != "x"
7467 then
7468 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
7469 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
7470 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
7471 then
7472 CONVERT=false
7475 if test "$CONVERT" = false
7476 then
7477 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
7478 printf "%s\n" "no ($convert_version_major.$convert_version_minor)" >&6; }
7479 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7480 else
7481 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
7482 printf "%s\n" "yes ($convert_version_major.$convert_version_minor)" >&6; }
7486 if test "$ICOTOOL" = false
7487 then
7488 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
7489 else
7490 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
7491 printf %s "checking for recent enough icotool... " >&6; }
7492 icotool_version=`icotool --version | head -n1`
7493 if test "x$icotool_version" != "x"
7494 then
7495 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
7496 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
7497 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
7498 then
7499 ICOTOOL=false
7500 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
7503 if test "$ICOTOOL" = false
7504 then
7505 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
7506 printf "%s\n" "no ($icotool_version_major.$icotool_version_minor)" >&6; }
7507 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7508 else
7509 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
7510 printf "%s\n" "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
7514 with_gettext=yes
7515 with_gettextpo=yes
7517 enable_werror=yes
7520 test "x$with_gettext" != xno || MSGFMT=false
7521 if test "$MSGFMT" != "false"
7522 then
7523 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
7524 printf %s "checking whether msgfmt supports contexts... " >&6; }
7525 if test ${wine_cv_msgfmt_contexts+y}
7526 then :
7527 printf %s "(cached) " >&6
7528 else $as_nop
7529 cat >conftest.po <<EOF
7530 # comment
7531 msgctxt "ctxt"
7532 msgid "id"
7533 msgstr "str"
7535 if $MSGFMT -o /dev/null conftest.po 2>&5
7536 then
7537 wine_cv_msgfmt_contexts=yes
7538 else
7539 wine_cv_msgfmt_contexts=no
7542 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
7543 printf "%s\n" "$wine_cv_msgfmt_contexts" >&6; }
7544 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
7546 if test "$MSGFMT" = false
7547 then :
7548 case "x$with_gettext" in
7549 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
7550 xno) ;;
7551 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
7552 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
7553 esac
7554 enable_po=${enable_po:-no}
7558 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
7559 printf %s "checking for i386_set_ldt in -li386... " >&6; }
7560 if test ${ac_cv_lib_i386_i386_set_ldt+y}
7561 then :
7562 printf %s "(cached) " >&6
7563 else $as_nop
7564 ac_check_lib_save_LIBS=$LIBS
7565 LIBS="-li386 $LIBS"
7566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7567 /* end confdefs.h. */
7569 /* Override any GCC internal prototype to avoid an error.
7570 Use char because int might match the return type of a GCC
7571 builtin and then its argument prototype would still apply. */
7572 char i386_set_ldt ();
7574 main (void)
7576 return i386_set_ldt ();
7578 return 0;
7580 _ACEOF
7581 if ac_fn_c_try_link "$LINENO"
7582 then :
7583 ac_cv_lib_i386_i386_set_ldt=yes
7584 else $as_nop
7585 ac_cv_lib_i386_i386_set_ldt=no
7587 rm -f core conftest.err conftest.$ac_objext conftest.beam \
7588 conftest$ac_exeext conftest.$ac_ext
7589 LIBS=$ac_check_lib_save_LIBS
7591 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
7592 printf "%s\n" "$ac_cv_lib_i386_i386_set_ldt" >&6; }
7593 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
7594 then :
7595 I386_LIBS="-li386"
7600 OPENGL_LIBS=""
7604 # Check whether --enable-largefile was given.
7605 if test ${enable_largefile+y}
7606 then :
7607 enableval=$enable_largefile;
7610 if test "$enable_largefile" != no; then
7612 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
7613 printf %s "checking for special C compiler options needed for large files... " >&6; }
7614 if test ${ac_cv_sys_largefile_CC+y}
7615 then :
7616 printf %s "(cached) " >&6
7617 else $as_nop
7618 ac_cv_sys_largefile_CC=no
7619 if test "$GCC" != yes; then
7620 ac_save_CC=$CC
7621 while :; do
7622 # IRIX 6.2 and later do not support large files by default,
7623 # so use the C compiler's -n32 option if that helps.
7624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7625 /* end confdefs.h. */
7626 #include <sys/types.h>
7627 /* Check that off_t can represent 2**63 - 1 correctly.
7628 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7629 since some C++ compilers masquerading as C compilers
7630 incorrectly reject 9223372036854775807. */
7631 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7632 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7633 && LARGE_OFF_T % 2147483647 == 1)
7634 ? 1 : -1];
7636 main (void)
7640 return 0;
7642 _ACEOF
7643 if ac_fn_c_try_compile "$LINENO"
7644 then :
7645 break
7647 rm -f core conftest.err conftest.$ac_objext conftest.beam
7648 CC="$CC -n32"
7649 if ac_fn_c_try_compile "$LINENO"
7650 then :
7651 ac_cv_sys_largefile_CC=' -n32'; break
7653 rm -f core conftest.err conftest.$ac_objext conftest.beam
7654 break
7655 done
7656 CC=$ac_save_CC
7657 rm -f conftest.$ac_ext
7660 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
7661 printf "%s\n" "$ac_cv_sys_largefile_CC" >&6; }
7662 if test "$ac_cv_sys_largefile_CC" != no; then
7663 CC=$CC$ac_cv_sys_largefile_CC
7666 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7667 printf %s "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7668 if test ${ac_cv_sys_file_offset_bits+y}
7669 then :
7670 printf %s "(cached) " >&6
7671 else $as_nop
7672 while :; do
7673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7674 /* end confdefs.h. */
7675 #include <sys/types.h>
7676 /* Check that off_t can represent 2**63 - 1 correctly.
7677 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7678 since some C++ compilers masquerading as C compilers
7679 incorrectly reject 9223372036854775807. */
7680 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7681 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7682 && LARGE_OFF_T % 2147483647 == 1)
7683 ? 1 : -1];
7685 main (void)
7689 return 0;
7691 _ACEOF
7692 if ac_fn_c_try_compile "$LINENO"
7693 then :
7694 ac_cv_sys_file_offset_bits=no; break
7696 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7698 /* end confdefs.h. */
7699 #define _FILE_OFFSET_BITS 64
7700 #include <sys/types.h>
7701 /* Check that off_t can represent 2**63 - 1 correctly.
7702 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7703 since some C++ compilers masquerading as C compilers
7704 incorrectly reject 9223372036854775807. */
7705 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7706 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7707 && LARGE_OFF_T % 2147483647 == 1)
7708 ? 1 : -1];
7710 main (void)
7714 return 0;
7716 _ACEOF
7717 if ac_fn_c_try_compile "$LINENO"
7718 then :
7719 ac_cv_sys_file_offset_bits=64; break
7721 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7722 ac_cv_sys_file_offset_bits=unknown
7723 break
7724 done
7726 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7727 printf "%s\n" "$ac_cv_sys_file_offset_bits" >&6; }
7728 case $ac_cv_sys_file_offset_bits in #(
7729 no | unknown) ;;
7731 printf "%s\n" "#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits" >>confdefs.h
7733 esac
7734 rm -rf conftest*
7735 if test $ac_cv_sys_file_offset_bits = unknown; then
7736 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7737 printf %s "checking for _LARGE_FILES value needed for large files... " >&6; }
7738 if test ${ac_cv_sys_large_files+y}
7739 then :
7740 printf %s "(cached) " >&6
7741 else $as_nop
7742 while :; do
7743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7744 /* end confdefs.h. */
7745 #include <sys/types.h>
7746 /* Check that off_t can represent 2**63 - 1 correctly.
7747 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7748 since some C++ compilers masquerading as C compilers
7749 incorrectly reject 9223372036854775807. */
7750 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7751 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7752 && LARGE_OFF_T % 2147483647 == 1)
7753 ? 1 : -1];
7755 main (void)
7759 return 0;
7761 _ACEOF
7762 if ac_fn_c_try_compile "$LINENO"
7763 then :
7764 ac_cv_sys_large_files=no; break
7766 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7768 /* end confdefs.h. */
7769 #define _LARGE_FILES 1
7770 #include <sys/types.h>
7771 /* Check that off_t can represent 2**63 - 1 correctly.
7772 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7773 since some C++ compilers masquerading as C compilers
7774 incorrectly reject 9223372036854775807. */
7775 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7776 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7777 && LARGE_OFF_T % 2147483647 == 1)
7778 ? 1 : -1];
7780 main (void)
7784 return 0;
7786 _ACEOF
7787 if ac_fn_c_try_compile "$LINENO"
7788 then :
7789 ac_cv_sys_large_files=1; break
7791 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7792 ac_cv_sys_large_files=unknown
7793 break
7794 done
7796 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7797 printf "%s\n" "$ac_cv_sys_large_files" >&6; }
7798 case $ac_cv_sys_large_files in #(
7799 no | unknown) ;;
7801 printf "%s\n" "#define _LARGE_FILES $ac_cv_sys_large_files" >>confdefs.h
7803 esac
7804 rm -rf conftest*
7809 ac_header= ac_cache=
7810 for ac_item in $ac_header_c_list
7812 if test $ac_cache; then
7813 ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
7814 if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
7815 printf "%s\n" "#define $ac_item 1" >> confdefs.h
7817 ac_header= ac_cache=
7818 elif test $ac_header; then
7819 ac_cache=$ac_item
7820 else
7821 ac_header=$ac_item
7823 done
7832 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
7833 then :
7835 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
7838 ac_fn_c_check_header_compile "$LINENO" "AL/al.h" "ac_cv_header_AL_al_h" "$ac_includes_default"
7839 if test "x$ac_cv_header_AL_al_h" = xyes
7840 then :
7841 printf "%s\n" "#define HAVE_AL_AL_H 1" >>confdefs.h
7844 ac_fn_c_check_header_compile "$LINENO" "ApplicationServices/ApplicationServices.h" "ac_cv_header_ApplicationServices_ApplicationServices_h" "$ac_includes_default"
7845 if test "x$ac_cv_header_ApplicationServices_ApplicationServices_h" = xyes
7846 then :
7847 printf "%s\n" "#define HAVE_APPLICATIONSERVICES_APPLICATIONSERVICES_H 1" >>confdefs.h
7850 ac_fn_c_check_header_compile "$LINENO" "CL/cl.h" "ac_cv_header_CL_cl_h" "$ac_includes_default"
7851 if test "x$ac_cv_header_CL_cl_h" = xyes
7852 then :
7853 printf "%s\n" "#define HAVE_CL_CL_H 1" >>confdefs.h
7856 ac_fn_c_check_header_compile "$LINENO" "Carbon/Carbon.h" "ac_cv_header_Carbon_Carbon_h" "$ac_includes_default"
7857 if test "x$ac_cv_header_Carbon_Carbon_h" = xyes
7858 then :
7859 printf "%s\n" "#define HAVE_CARBON_CARBON_H 1" >>confdefs.h
7862 ac_fn_c_check_header_compile "$LINENO" "CoreAudio/CoreAudio.h" "ac_cv_header_CoreAudio_CoreAudio_h" "$ac_includes_default"
7863 if test "x$ac_cv_header_CoreAudio_CoreAudio_h" = xyes
7864 then :
7865 printf "%s\n" "#define HAVE_COREAUDIO_COREAUDIO_H 1" >>confdefs.h
7868 ac_fn_c_check_header_compile "$LINENO" "DiskArbitration/DiskArbitration.h" "ac_cv_header_DiskArbitration_DiskArbitration_h" "$ac_includes_default"
7869 if test "x$ac_cv_header_DiskArbitration_DiskArbitration_h" = xyes
7870 then :
7871 printf "%s\n" "#define HAVE_DISKARBITRATION_DISKARBITRATION_H 1" >>confdefs.h
7874 ac_fn_c_check_header_compile "$LINENO" "EGL/egl.h" "ac_cv_header_EGL_egl_h" "$ac_includes_default"
7875 if test "x$ac_cv_header_EGL_egl_h" = xyes
7876 then :
7877 printf "%s\n" "#define HAVE_EGL_EGL_H 1" >>confdefs.h
7880 ac_fn_c_check_header_compile "$LINENO" "IOKit/IOKitLib.h" "ac_cv_header_IOKit_IOKitLib_h" "$ac_includes_default"
7881 if test "x$ac_cv_header_IOKit_IOKitLib_h" = xyes
7882 then :
7883 printf "%s\n" "#define HAVE_IOKIT_IOKITLIB_H 1" >>confdefs.h
7886 ac_fn_c_check_header_compile "$LINENO" "IOKit/hid/IOHIDLib.h" "ac_cv_header_IOKit_hid_IOHIDLib_h" "$ac_includes_default"
7887 if test "x$ac_cv_header_IOKit_hid_IOHIDLib_h" = xyes
7888 then :
7889 printf "%s\n" "#define HAVE_IOKIT_HID_IOHIDLIB_H 1" >>confdefs.h
7892 ac_fn_c_check_header_compile "$LINENO" "OpenCL/opencl.h" "ac_cv_header_OpenCL_opencl_h" "$ac_includes_default"
7893 if test "x$ac_cv_header_OpenCL_opencl_h" = xyes
7894 then :
7895 printf "%s\n" "#define HAVE_OPENCL_OPENCL_H 1" >>confdefs.h
7898 ac_fn_c_check_header_compile "$LINENO" "Security/Security.h" "ac_cv_header_Security_Security_h" "$ac_includes_default"
7899 if test "x$ac_cv_header_Security_Security_h" = xyes
7900 then :
7901 printf "%s\n" "#define HAVE_SECURITY_SECURITY_H 1" >>confdefs.h
7904 ac_fn_c_check_header_compile "$LINENO" "SystemConfiguration/SCDynamicStoreCopyDHCPInfo.h" "ac_cv_header_SystemConfiguration_SCDynamicStoreCopyDHCPInfo_h" "$ac_includes_default"
7905 if test "x$ac_cv_header_SystemConfiguration_SCDynamicStoreCopyDHCPInfo_h" = xyes
7906 then :
7907 printf "%s\n" "#define HAVE_SYSTEMCONFIGURATION_SCDYNAMICSTORECOPYDHCPINFO_H 1" >>confdefs.h
7910 ac_fn_c_check_header_compile "$LINENO" "SystemConfiguration/SCNetworkConfiguration.h" "ac_cv_header_SystemConfiguration_SCNetworkConfiguration_h" "$ac_includes_default"
7911 if test "x$ac_cv_header_SystemConfiguration_SCNetworkConfiguration_h" = xyes
7912 then :
7913 printf "%s\n" "#define HAVE_SYSTEMCONFIGURATION_SCNETWORKCONFIGURATION_H 1" >>confdefs.h
7916 ac_fn_c_check_header_compile "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default"
7917 if test "x$ac_cv_header_arpa_inet_h" = xyes
7918 then :
7919 printf "%s\n" "#define HAVE_ARPA_INET_H 1" >>confdefs.h
7922 ac_fn_c_check_header_compile "$LINENO" "arpa/nameser.h" "ac_cv_header_arpa_nameser_h" "$ac_includes_default"
7923 if test "x$ac_cv_header_arpa_nameser_h" = xyes
7924 then :
7925 printf "%s\n" "#define HAVE_ARPA_NAMESER_H 1" >>confdefs.h
7928 ac_fn_c_check_header_compile "$LINENO" "asm/types.h" "ac_cv_header_asm_types_h" "$ac_includes_default"
7929 if test "x$ac_cv_header_asm_types_h" = xyes
7930 then :
7931 printf "%s\n" "#define HAVE_ASM_TYPES_H 1" >>confdefs.h
7934 ac_fn_c_check_header_compile "$LINENO" "asm/user.h" "ac_cv_header_asm_user_h" "$ac_includes_default"
7935 if test "x$ac_cv_header_asm_user_h" = xyes
7936 then :
7937 printf "%s\n" "#define HAVE_ASM_USER_H 1" >>confdefs.h
7940 ac_fn_c_check_header_compile "$LINENO" "elf.h" "ac_cv_header_elf_h" "$ac_includes_default"
7941 if test "x$ac_cv_header_elf_h" = xyes
7942 then :
7943 printf "%s\n" "#define HAVE_ELF_H 1" >>confdefs.h
7946 ac_fn_c_check_header_compile "$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default"
7947 if test "x$ac_cv_header_float_h" = xyes
7948 then :
7949 printf "%s\n" "#define HAVE_FLOAT_H 1" >>confdefs.h
7952 ac_fn_c_check_header_compile "$LINENO" "gettext-po.h" "ac_cv_header_gettext_po_h" "$ac_includes_default"
7953 if test "x$ac_cv_header_gettext_po_h" = xyes
7954 then :
7955 printf "%s\n" "#define HAVE_GETTEXT_PO_H 1" >>confdefs.h
7958 ac_fn_c_check_header_compile "$LINENO" "libproc.h" "ac_cv_header_libproc_h" "$ac_includes_default"
7959 if test "x$ac_cv_header_libproc_h" = xyes
7960 then :
7961 printf "%s\n" "#define HAVE_LIBPROC_H 1" >>confdefs.h
7964 ac_fn_c_check_header_compile "$LINENO" "link.h" "ac_cv_header_link_h" "$ac_includes_default"
7965 if test "x$ac_cv_header_link_h" = xyes
7966 then :
7967 printf "%s\n" "#define HAVE_LINK_H 1" >>confdefs.h
7970 ac_fn_c_check_header_compile "$LINENO" "linux/cdrom.h" "ac_cv_header_linux_cdrom_h" "$ac_includes_default"
7971 if test "x$ac_cv_header_linux_cdrom_h" = xyes
7972 then :
7973 printf "%s\n" "#define HAVE_LINUX_CDROM_H 1" >>confdefs.h
7976 ac_fn_c_check_header_compile "$LINENO" "linux/filter.h" "ac_cv_header_linux_filter_h" "$ac_includes_default"
7977 if test "x$ac_cv_header_linux_filter_h" = xyes
7978 then :
7979 printf "%s\n" "#define HAVE_LINUX_FILTER_H 1" >>confdefs.h
7982 ac_fn_c_check_header_compile "$LINENO" "linux/hdreg.h" "ac_cv_header_linux_hdreg_h" "$ac_includes_default"
7983 if test "x$ac_cv_header_linux_hdreg_h" = xyes
7984 then :
7985 printf "%s\n" "#define HAVE_LINUX_HDREG_H 1" >>confdefs.h
7988 ac_fn_c_check_header_compile "$LINENO" "linux/hidraw.h" "ac_cv_header_linux_hidraw_h" "$ac_includes_default"
7989 if test "x$ac_cv_header_linux_hidraw_h" = xyes
7990 then :
7991 printf "%s\n" "#define HAVE_LINUX_HIDRAW_H 1" >>confdefs.h
7994 ac_fn_c_check_header_compile "$LINENO" "linux/input.h" "ac_cv_header_linux_input_h" "$ac_includes_default"
7995 if test "x$ac_cv_header_linux_input_h" = xyes
7996 then :
7997 printf "%s\n" "#define HAVE_LINUX_INPUT_H 1" >>confdefs.h
8000 ac_fn_c_check_header_compile "$LINENO" "linux/ioctl.h" "ac_cv_header_linux_ioctl_h" "$ac_includes_default"
8001 if test "x$ac_cv_header_linux_ioctl_h" = xyes
8002 then :
8003 printf "%s\n" "#define HAVE_LINUX_IOCTL_H 1" >>confdefs.h
8006 ac_fn_c_check_header_compile "$LINENO" "linux/major.h" "ac_cv_header_linux_major_h" "$ac_includes_default"
8007 if test "x$ac_cv_header_linux_major_h" = xyes
8008 then :
8009 printf "%s\n" "#define HAVE_LINUX_MAJOR_H 1" >>confdefs.h
8012 ac_fn_c_check_header_compile "$LINENO" "linux/param.h" "ac_cv_header_linux_param_h" "$ac_includes_default"
8013 if test "x$ac_cv_header_linux_param_h" = xyes
8014 then :
8015 printf "%s\n" "#define HAVE_LINUX_PARAM_H 1" >>confdefs.h
8018 ac_fn_c_check_header_compile "$LINENO" "linux/serial.h" "ac_cv_header_linux_serial_h" "$ac_includes_default"
8019 if test "x$ac_cv_header_linux_serial_h" = xyes
8020 then :
8021 printf "%s\n" "#define HAVE_LINUX_SERIAL_H 1" >>confdefs.h
8024 ac_fn_c_check_header_compile "$LINENO" "linux/types.h" "ac_cv_header_linux_types_h" "$ac_includes_default"
8025 if test "x$ac_cv_header_linux_types_h" = xyes
8026 then :
8027 printf "%s\n" "#define HAVE_LINUX_TYPES_H 1" >>confdefs.h
8030 ac_fn_c_check_header_compile "$LINENO" "linux/ucdrom.h" "ac_cv_header_linux_ucdrom_h" "$ac_includes_default"
8031 if test "x$ac_cv_header_linux_ucdrom_h" = xyes
8032 then :
8033 printf "%s\n" "#define HAVE_LINUX_UCDROM_H 1" >>confdefs.h
8036 ac_fn_c_check_header_compile "$LINENO" "lwp.h" "ac_cv_header_lwp_h" "$ac_includes_default"
8037 if test "x$ac_cv_header_lwp_h" = xyes
8038 then :
8039 printf "%s\n" "#define HAVE_LWP_H 1" >>confdefs.h
8042 ac_fn_c_check_header_compile "$LINENO" "mach-o/loader.h" "ac_cv_header_mach_o_loader_h" "$ac_includes_default"
8043 if test "x$ac_cv_header_mach_o_loader_h" = xyes
8044 then :
8045 printf "%s\n" "#define HAVE_MACH_O_LOADER_H 1" >>confdefs.h
8048 ac_fn_c_check_header_compile "$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
8049 if test "x$ac_cv_header_mach_mach_h" = xyes
8050 then :
8051 printf "%s\n" "#define HAVE_MACH_MACH_H 1" >>confdefs.h
8054 ac_fn_c_check_header_compile "$LINENO" "machine/cpu.h" "ac_cv_header_machine_cpu_h" "$ac_includes_default"
8055 if test "x$ac_cv_header_machine_cpu_h" = xyes
8056 then :
8057 printf "%s\n" "#define HAVE_MACHINE_CPU_H 1" >>confdefs.h
8060 ac_fn_c_check_header_compile "$LINENO" "machine/sysarch.h" "ac_cv_header_machine_sysarch_h" "$ac_includes_default"
8061 if test "x$ac_cv_header_machine_sysarch_h" = xyes
8062 then :
8063 printf "%s\n" "#define HAVE_MACHINE_SYSARCH_H 1" >>confdefs.h
8066 ac_fn_c_check_header_compile "$LINENO" "mntent.h" "ac_cv_header_mntent_h" "$ac_includes_default"
8067 if test "x$ac_cv_header_mntent_h" = xyes
8068 then :
8069 printf "%s\n" "#define HAVE_MNTENT_H 1" >>confdefs.h
8072 ac_fn_c_check_header_compile "$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default"
8073 if test "x$ac_cv_header_netdb_h" = xyes
8074 then :
8075 printf "%s\n" "#define HAVE_NETDB_H 1" >>confdefs.h
8078 ac_fn_c_check_header_compile "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default"
8079 if test "x$ac_cv_header_netinet_in_h" = xyes
8080 then :
8081 printf "%s\n" "#define HAVE_NETINET_IN_H 1" >>confdefs.h
8084 ac_fn_c_check_header_compile "$LINENO" "netinet/in_systm.h" "ac_cv_header_netinet_in_systm_h" "$ac_includes_default"
8085 if test "x$ac_cv_header_netinet_in_systm_h" = xyes
8086 then :
8087 printf "%s\n" "#define HAVE_NETINET_IN_SYSTM_H 1" >>confdefs.h
8090 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp.h" "ac_cv_header_netinet_tcp_h" "$ac_includes_default"
8091 if test "x$ac_cv_header_netinet_tcp_h" = xyes
8092 then :
8093 printf "%s\n" "#define HAVE_NETINET_TCP_H 1" >>confdefs.h
8096 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_fsm.h" "ac_cv_header_netinet_tcp_fsm_h" "$ac_includes_default"
8097 if test "x$ac_cv_header_netinet_tcp_fsm_h" = xyes
8098 then :
8099 printf "%s\n" "#define HAVE_NETINET_TCP_FSM_H 1" >>confdefs.h
8102 ac_fn_c_check_header_compile "$LINENO" "pcap/pcap.h" "ac_cv_header_pcap_pcap_h" "$ac_includes_default"
8103 if test "x$ac_cv_header_pcap_pcap_h" = xyes
8104 then :
8105 printf "%s\n" "#define HAVE_PCAP_PCAP_H 1" >>confdefs.h
8108 ac_fn_c_check_header_compile "$LINENO" "port.h" "ac_cv_header_port_h" "$ac_includes_default"
8109 if test "x$ac_cv_header_port_h" = xyes
8110 then :
8111 printf "%s\n" "#define HAVE_PORT_H 1" >>confdefs.h
8114 ac_fn_c_check_header_compile "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
8115 if test "x$ac_cv_header_pthread_h" = xyes
8116 then :
8117 printf "%s\n" "#define HAVE_PTHREAD_H 1" >>confdefs.h
8120 ac_fn_c_check_header_compile "$LINENO" "pwd.h" "ac_cv_header_pwd_h" "$ac_includes_default"
8121 if test "x$ac_cv_header_pwd_h" = xyes
8122 then :
8123 printf "%s\n" "#define HAVE_PWD_H 1" >>confdefs.h
8126 ac_fn_c_check_header_compile "$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default"
8127 if test "x$ac_cv_header_sched_h" = xyes
8128 then :
8129 printf "%s\n" "#define HAVE_SCHED_H 1" >>confdefs.h
8132 ac_fn_c_check_header_compile "$LINENO" "scsi/scsi.h" "ac_cv_header_scsi_scsi_h" "$ac_includes_default"
8133 if test "x$ac_cv_header_scsi_scsi_h" = xyes
8134 then :
8135 printf "%s\n" "#define HAVE_SCSI_SCSI_H 1" >>confdefs.h
8138 ac_fn_c_check_header_compile "$LINENO" "scsi/scsi_ioctl.h" "ac_cv_header_scsi_scsi_ioctl_h" "$ac_includes_default"
8139 if test "x$ac_cv_header_scsi_scsi_ioctl_h" = xyes
8140 then :
8141 printf "%s\n" "#define HAVE_SCSI_SCSI_IOCTL_H 1" >>confdefs.h
8144 ac_fn_c_check_header_compile "$LINENO" "scsi/sg.h" "ac_cv_header_scsi_sg_h" "$ac_includes_default"
8145 if test "x$ac_cv_header_scsi_sg_h" = xyes
8146 then :
8147 printf "%s\n" "#define HAVE_SCSI_SG_H 1" >>confdefs.h
8150 ac_fn_c_check_header_compile "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
8151 if test "x$ac_cv_header_stdint_h" = xyes
8152 then :
8153 printf "%s\n" "#define HAVE_STDINT_H 1" >>confdefs.h
8156 ac_fn_c_check_header_compile "$LINENO" "sys/attr.h" "ac_cv_header_sys_attr_h" "$ac_includes_default"
8157 if test "x$ac_cv_header_sys_attr_h" = xyes
8158 then :
8159 printf "%s\n" "#define HAVE_SYS_ATTR_H 1" >>confdefs.h
8162 ac_fn_c_check_header_compile "$LINENO" "sys/auxv.h" "ac_cv_header_sys_auxv_h" "$ac_includes_default"
8163 if test "x$ac_cv_header_sys_auxv_h" = xyes
8164 then :
8165 printf "%s\n" "#define HAVE_SYS_AUXV_H 1" >>confdefs.h
8168 ac_fn_c_check_header_compile "$LINENO" "sys/cdio.h" "ac_cv_header_sys_cdio_h" "$ac_includes_default"
8169 if test "x$ac_cv_header_sys_cdio_h" = xyes
8170 then :
8171 printf "%s\n" "#define HAVE_SYS_CDIO_H 1" >>confdefs.h
8174 ac_fn_c_check_header_compile "$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default"
8175 if test "x$ac_cv_header_sys_epoll_h" = xyes
8176 then :
8177 printf "%s\n" "#define HAVE_SYS_EPOLL_H 1" >>confdefs.h
8180 ac_fn_c_check_header_compile "$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default"
8181 if test "x$ac_cv_header_sys_event_h" = xyes
8182 then :
8183 printf "%s\n" "#define HAVE_SYS_EVENT_H 1" >>confdefs.h
8186 ac_fn_c_check_header_compile "$LINENO" "sys/extattr.h" "ac_cv_header_sys_extattr_h" "$ac_includes_default"
8187 if test "x$ac_cv_header_sys_extattr_h" = xyes
8188 then :
8189 printf "%s\n" "#define HAVE_SYS_EXTATTR_H 1" >>confdefs.h
8192 ac_fn_c_check_header_compile "$LINENO" "sys/filio.h" "ac_cv_header_sys_filio_h" "$ac_includes_default"
8193 if test "x$ac_cv_header_sys_filio_h" = xyes
8194 then :
8195 printf "%s\n" "#define HAVE_SYS_FILIO_H 1" >>confdefs.h
8198 ac_fn_c_check_header_compile "$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
8199 if test "x$ac_cv_header_sys_ipc_h" = xyes
8200 then :
8201 printf "%s\n" "#define HAVE_SYS_IPC_H 1" >>confdefs.h
8204 ac_fn_c_check_header_compile "$LINENO" "sys/link.h" "ac_cv_header_sys_link_h" "$ac_includes_default"
8205 if test "x$ac_cv_header_sys_link_h" = xyes
8206 then :
8207 printf "%s\n" "#define HAVE_SYS_LINK_H 1" >>confdefs.h
8210 ac_fn_c_check_header_compile "$LINENO" "sys/modem.h" "ac_cv_header_sys_modem_h" "$ac_includes_default"
8211 if test "x$ac_cv_header_sys_modem_h" = xyes
8212 then :
8213 printf "%s\n" "#define HAVE_SYS_MODEM_H 1" >>confdefs.h
8216 ac_fn_c_check_header_compile "$LINENO" "sys/mtio.h" "ac_cv_header_sys_mtio_h" "$ac_includes_default"
8217 if test "x$ac_cv_header_sys_mtio_h" = xyes
8218 then :
8219 printf "%s\n" "#define HAVE_SYS_MTIO_H 1" >>confdefs.h
8222 ac_fn_c_check_header_compile "$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
8223 if test "x$ac_cv_header_sys_param_h" = xyes
8224 then :
8225 printf "%s\n" "#define HAVE_SYS_PARAM_H 1" >>confdefs.h
8228 ac_fn_c_check_header_compile "$LINENO" "sys/prctl.h" "ac_cv_header_sys_prctl_h" "$ac_includes_default"
8229 if test "x$ac_cv_header_sys_prctl_h" = xyes
8230 then :
8231 printf "%s\n" "#define HAVE_SYS_PRCTL_H 1" >>confdefs.h
8234 ac_fn_c_check_header_compile "$LINENO" "sys/ptrace.h" "ac_cv_header_sys_ptrace_h" "$ac_includes_default"
8235 if test "x$ac_cv_header_sys_ptrace_h" = xyes
8236 then :
8237 printf "%s\n" "#define HAVE_SYS_PTRACE_H 1" >>confdefs.h
8240 ac_fn_c_check_header_compile "$LINENO" "sys/queue.h" "ac_cv_header_sys_queue_h" "$ac_includes_default"
8241 if test "x$ac_cv_header_sys_queue_h" = xyes
8242 then :
8243 printf "%s\n" "#define HAVE_SYS_QUEUE_H 1" >>confdefs.h
8246 ac_fn_c_check_header_compile "$LINENO" "sys/random.h" "ac_cv_header_sys_random_h" "$ac_includes_default"
8247 if test "x$ac_cv_header_sys_random_h" = xyes
8248 then :
8249 printf "%s\n" "#define HAVE_SYS_RANDOM_H 1" >>confdefs.h
8252 ac_fn_c_check_header_compile "$LINENO" "sys/resource.h" "ac_cv_header_sys_resource_h" "$ac_includes_default"
8253 if test "x$ac_cv_header_sys_resource_h" = xyes
8254 then :
8255 printf "%s\n" "#define HAVE_SYS_RESOURCE_H 1" >>confdefs.h
8258 ac_fn_c_check_header_compile "$LINENO" "sys/scsiio.h" "ac_cv_header_sys_scsiio_h" "$ac_includes_default"
8259 if test "x$ac_cv_header_sys_scsiio_h" = xyes
8260 then :
8261 printf "%s\n" "#define HAVE_SYS_SCSIIO_H 1" >>confdefs.h
8264 ac_fn_c_check_header_compile "$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
8265 if test "x$ac_cv_header_sys_shm_h" = xyes
8266 then :
8267 printf "%s\n" "#define HAVE_SYS_SHM_H 1" >>confdefs.h
8270 ac_fn_c_check_header_compile "$LINENO" "sys/signal.h" "ac_cv_header_sys_signal_h" "$ac_includes_default"
8271 if test "x$ac_cv_header_sys_signal_h" = xyes
8272 then :
8273 printf "%s\n" "#define HAVE_SYS_SIGNAL_H 1" >>confdefs.h
8276 ac_fn_c_check_header_compile "$LINENO" "sys/socketvar.h" "ac_cv_header_sys_socketvar_h" "$ac_includes_default"
8277 if test "x$ac_cv_header_sys_socketvar_h" = xyes
8278 then :
8279 printf "%s\n" "#define HAVE_SYS_SOCKETVAR_H 1" >>confdefs.h
8282 ac_fn_c_check_header_compile "$LINENO" "sys/sockio.h" "ac_cv_header_sys_sockio_h" "$ac_includes_default"
8283 if test "x$ac_cv_header_sys_sockio_h" = xyes
8284 then :
8285 printf "%s\n" "#define HAVE_SYS_SOCKIO_H 1" >>confdefs.h
8288 ac_fn_c_check_header_compile "$LINENO" "sys/statvfs.h" "ac_cv_header_sys_statvfs_h" "$ac_includes_default"
8289 if test "x$ac_cv_header_sys_statvfs_h" = xyes
8290 then :
8291 printf "%s\n" "#define HAVE_SYS_STATVFS_H 1" >>confdefs.h
8294 ac_fn_c_check_header_compile "$LINENO" "sys/strtio.h" "ac_cv_header_sys_strtio_h" "$ac_includes_default"
8295 if test "x$ac_cv_header_sys_strtio_h" = xyes
8296 then :
8297 printf "%s\n" "#define HAVE_SYS_STRTIO_H 1" >>confdefs.h
8300 ac_fn_c_check_header_compile "$LINENO" "sys/syscall.h" "ac_cv_header_sys_syscall_h" "$ac_includes_default"
8301 if test "x$ac_cv_header_sys_syscall_h" = xyes
8302 then :
8303 printf "%s\n" "#define HAVE_SYS_SYSCALL_H 1" >>confdefs.h
8306 ac_fn_c_check_header_compile "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
8307 if test "x$ac_cv_header_sys_sysinfo_h" = xyes
8308 then :
8309 printf "%s\n" "#define HAVE_SYS_SYSINFO_H 1" >>confdefs.h
8312 ac_fn_c_check_header_compile "$LINENO" "sys/times.h" "ac_cv_header_sys_times_h" "$ac_includes_default"
8313 if test "x$ac_cv_header_sys_times_h" = xyes
8314 then :
8315 printf "%s\n" "#define HAVE_SYS_TIMES_H 1" >>confdefs.h
8318 ac_fn_c_check_header_compile "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
8319 if test "x$ac_cv_header_sys_uio_h" = xyes
8320 then :
8321 printf "%s\n" "#define HAVE_SYS_UIO_H 1" >>confdefs.h
8324 ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "$ac_includes_default"
8325 if test "x$ac_cv_header_sys_user_h" = xyes
8326 then :
8327 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8330 ac_fn_c_check_header_compile "$LINENO" "sys/utsname.h" "ac_cv_header_sys_utsname_h" "$ac_includes_default"
8331 if test "x$ac_cv_header_sys_utsname_h" = xyes
8332 then :
8333 printf "%s\n" "#define HAVE_SYS_UTSNAME_H 1" >>confdefs.h
8336 ac_fn_c_check_header_compile "$LINENO" "sys/vnode.h" "ac_cv_header_sys_vnode_h" "$ac_includes_default"
8337 if test "x$ac_cv_header_sys_vnode_h" = xyes
8338 then :
8339 printf "%s\n" "#define HAVE_SYS_VNODE_H 1" >>confdefs.h
8342 ac_fn_c_check_header_compile "$LINENO" "sys/xattr.h" "ac_cv_header_sys_xattr_h" "$ac_includes_default"
8343 if test "x$ac_cv_header_sys_xattr_h" = xyes
8344 then :
8345 printf "%s\n" "#define HAVE_SYS_XATTR_H 1" >>confdefs.h
8348 ac_fn_c_check_header_compile "$LINENO" "syscall.h" "ac_cv_header_syscall_h" "$ac_includes_default"
8349 if test "x$ac_cv_header_syscall_h" = xyes
8350 then :
8351 printf "%s\n" "#define HAVE_SYSCALL_H 1" >>confdefs.h
8354 ac_fn_c_check_header_compile "$LINENO" "utime.h" "ac_cv_header_utime_h" "$ac_includes_default"
8355 if test "x$ac_cv_header_utime_h" = xyes
8356 then :
8357 printf "%s\n" "#define HAVE_UTIME_H 1" >>confdefs.h
8360 ac_fn_c_check_header_compile "$LINENO" "valgrind/memcheck.h" "ac_cv_header_valgrind_memcheck_h" "$ac_includes_default"
8361 if test "x$ac_cv_header_valgrind_memcheck_h" = xyes
8362 then :
8363 printf "%s\n" "#define HAVE_VALGRIND_MEMCHECK_H 1" >>confdefs.h
8366 ac_fn_c_check_header_compile "$LINENO" "valgrind/valgrind.h" "ac_cv_header_valgrind_valgrind_h" "$ac_includes_default"
8367 if test "x$ac_cv_header_valgrind_valgrind_h" = xyes
8368 then :
8369 printf "%s\n" "#define HAVE_VALGRIND_VALGRIND_H 1" >>confdefs.h
8373 ac_fn_c_check_header_compile "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
8374 if test "x$ac_cv_header_sys_mkdev_h" = xyes
8375 then :
8377 printf "%s\n" "#define MAJOR_IN_MKDEV 1" >>confdefs.h
8381 if test $ac_cv_header_sys_mkdev_h = no; then
8382 ac_fn_c_check_header_compile "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
8383 if test "x$ac_cv_header_sys_sysmacros_h" = xyes
8384 then :
8386 printf "%s\n" "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
8391 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
8392 printf %s "checking whether stat file-mode macros are broken... " >&6; }
8393 if test ${ac_cv_header_stat_broken+y}
8394 then :
8395 printf %s "(cached) " >&6
8396 else $as_nop
8397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8398 /* end confdefs.h. */
8399 #include <sys/types.h>
8400 #include <sys/stat.h>
8402 #if defined S_ISBLK && defined S_IFDIR
8403 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
8404 #endif
8406 #if defined S_ISBLK && defined S_IFCHR
8407 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
8408 #endif
8410 #if defined S_ISLNK && defined S_IFREG
8411 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
8412 #endif
8414 #if defined S_ISSOCK && defined S_IFREG
8415 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
8416 #endif
8418 _ACEOF
8419 if ac_fn_c_try_compile "$LINENO"
8420 then :
8421 ac_cv_header_stat_broken=no
8422 else $as_nop
8423 ac_cv_header_stat_broken=yes
8425 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8427 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
8428 printf "%s\n" "$ac_cv_header_stat_broken" >&6; }
8429 if test $ac_cv_header_stat_broken = yes; then
8431 printf "%s\n" "#define STAT_MACROS_BROKEN 1" >>confdefs.h
8437 ac_fn_c_check_header_compile "$LINENO" "sys/conf.h" "ac_cv_header_sys_conf_h" "#include <sys/types.h>
8438 #ifdef HAVE_SYS_PARAM_H
8439 # include <sys/param.h>
8440 #endif
8442 if test "x$ac_cv_header_sys_conf_h" = xyes
8443 then :
8444 printf "%s\n" "#define HAVE_SYS_CONF_H 1" >>confdefs.h
8447 ac_fn_c_check_header_compile "$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/types.h>
8448 #ifdef HAVE_SYS_PARAM_H
8449 # include <sys/param.h>
8450 #endif
8452 if test "x$ac_cv_header_sys_mount_h" = xyes
8453 then :
8454 printf "%s\n" "#define HAVE_SYS_MOUNT_H 1" >>confdefs.h
8457 ac_fn_c_check_header_compile "$LINENO" "sys/statfs.h" "ac_cv_header_sys_statfs_h" "#include <sys/types.h>
8458 #ifdef HAVE_SYS_PARAM_H
8459 # include <sys/param.h>
8460 #endif
8462 if test "x$ac_cv_header_sys_statfs_h" = xyes
8463 then :
8464 printf "%s\n" "#define HAVE_SYS_STATFS_H 1" >>confdefs.h
8467 ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "#include <sys/types.h>
8468 #ifdef HAVE_SYS_PARAM_H
8469 # include <sys/param.h>
8470 #endif
8472 if test "x$ac_cv_header_sys_user_h" = xyes
8473 then :
8474 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8477 ac_fn_c_check_header_compile "$LINENO" "sys/vfs.h" "ac_cv_header_sys_vfs_h" "#include <sys/types.h>
8478 #ifdef HAVE_SYS_PARAM_H
8479 # include <sys/param.h>
8480 #endif
8482 if test "x$ac_cv_header_sys_vfs_h" = xyes
8483 then :
8484 printf "%s\n" "#define HAVE_SYS_VFS_H 1" >>confdefs.h
8489 saved_sysctl_h_CFLAGS=$CFLAGS
8490 test "x${GCC}" != xyes || CFLAGS="$CFLAGS -Werror"
8491 ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
8492 #ifdef HAVE_SYS_PARAM_H
8493 # include <sys/param.h>
8494 #endif
8496 if test "x$ac_cv_header_sys_sysctl_h" = xyes
8497 then :
8498 printf "%s\n" "#define HAVE_SYS_SYSCTL_H 1" >>confdefs.h
8502 CFLAGS=$saved_sysctl_h_CFLAGS
8504 ac_fn_c_check_header_compile "$LINENO" "netinet/ip.h" "ac_cv_header_netinet_ip_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_netinet_ip_h" = xyes
8526 then :
8527 printf "%s\n" "#define HAVE_NETINET_IP_H 1" >>confdefs.h
8530 ac_fn_c_check_header_compile "$LINENO" "net/if.h" "ac_cv_header_net_if_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_h" = xyes
8552 then :
8553 printf "%s\n" "#define HAVE_NET_IF_H 1" >>confdefs.h
8556 ac_fn_c_check_header_compile "$LINENO" "net/if_arp.h" "ac_cv_header_net_if_arp_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_arp_h" = xyes
8578 then :
8579 printf "%s\n" "#define HAVE_NET_IF_ARP_H 1" >>confdefs.h
8582 ac_fn_c_check_header_compile "$LINENO" "net/if_dl.h" "ac_cv_header_net_if_dl_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_dl_h" = xyes
8604 then :
8605 printf "%s\n" "#define HAVE_NET_IF_DL_H 1" >>confdefs.h
8608 ac_fn_c_check_header_compile "$LINENO" "net/if_types.h" "ac_cv_header_net_if_types_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_if_types_h" = xyes
8630 then :
8631 printf "%s\n" "#define HAVE_NET_IF_TYPES_H 1" >>confdefs.h
8634 ac_fn_c_check_header_compile "$LINENO" "net/route.h" "ac_cv_header_net_route_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_net_route_h" = xyes
8656 then :
8657 printf "%s\n" "#define HAVE_NET_ROUTE_H 1" >>confdefs.h
8660 ac_fn_c_check_header_compile "$LINENO" "netinet/if_ether.h" "ac_cv_header_netinet_if_ether_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_if_ether_h" = xyes
8682 then :
8683 printf "%s\n" "#define HAVE_NETINET_IF_ETHER_H 1" >>confdefs.h
8686 ac_fn_c_check_header_compile "$LINENO" "netinet/in_pcb.h" "ac_cv_header_netinet_in_pcb_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_in_pcb_h" = xyes
8708 then :
8709 printf "%s\n" "#define HAVE_NETINET_IN_PCB_H 1" >>confdefs.h
8712 ac_fn_c_check_header_compile "$LINENO" "netinet/ip_icmp.h" "ac_cv_header_netinet_ip_icmp_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_icmp_h" = xyes
8734 then :
8735 printf "%s\n" "#define HAVE_NETINET_IP_ICMP_H 1" >>confdefs.h
8738 ac_fn_c_check_header_compile "$LINENO" "netinet/ip_var.h" "ac_cv_header_netinet_ip_var_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_ip_var_h" = xyes
8760 then :
8761 printf "%s\n" "#define HAVE_NETINET_IP_VAR_H 1" >>confdefs.h
8764 ac_fn_c_check_header_compile "$LINENO" "netinet/udp.h" "ac_cv_header_netinet_udp_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_netinet_udp_h" = xyes
8786 then :
8787 printf "%s\n" "#define HAVE_NETINET_UDP_H 1" >>confdefs.h
8790 ac_fn_c_check_header_compile "$LINENO" "netinet6/ip6_var.h" "ac_cv_header_netinet6_ip6_var_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_netinet6_ip6_var_h" = xyes
8812 then :
8813 printf "%s\n" "#define HAVE_NETINET6_IP6_VAR_H 1" >>confdefs.h
8816 ac_fn_c_check_header_compile "$LINENO" "netipx/ipx.h" "ac_cv_header_netipx_ipx_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_netipx_ipx_h" = xyes
8838 then :
8839 printf "%s\n" "#define HAVE_NETIPX_IPX_H 1" >>confdefs.h
8842 ac_fn_c_check_header_compile "$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "#include <sys/types.h>
8843 #include <sys/socket.h>
8844 #ifdef HAVE_SYS_SOCKETVAR_H
8845 # include <sys/socketvar.h>
8846 #endif
8847 #ifdef HAVE_NET_ROUTE_H
8848 # include <net/route.h>
8849 #endif
8850 #ifdef HAVE_NETINET_IN_H
8851 # include <netinet/in.h>
8852 #endif
8853 #ifdef HAVE_NETINET_IN_SYSTM_H
8854 # include <netinet/in_systm.h>
8855 #endif
8856 #ifdef HAVE_NET_IF_H
8857 # include <net/if.h>
8858 #endif
8859 #ifdef HAVE_NETINET_IP_H
8860 # include <netinet/ip.h>
8861 #endif
8863 if test "x$ac_cv_header_sys_un_h" = xyes
8864 then :
8865 printf "%s\n" "#define HAVE_SYS_UN_H 1" >>confdefs.h
8870 ac_fn_c_check_header_compile "$LINENO" "netinet/udp_var.h" "ac_cv_header_netinet_udp_var_h" "#include <sys/types.h>
8871 #include <sys/socket.h>
8872 #ifdef HAVE_SYS_SOCKETVAR_H
8873 # include <sys/socketvar.h>
8874 #endif
8875 #ifdef HAVE_NETINET_IN_H
8876 # include <netinet/in.h>
8877 #endif
8878 #ifdef HAVE_NETINET_IN_SYSTM_H
8879 # include <netinet/in_systm.h>
8880 #endif
8881 #ifdef HAVE_NETINET_IP_H
8882 # include <netinet/ip.h>
8883 #endif
8884 #ifdef HAVE_NETINET_IP_VAR_H
8885 # include <netinet/ip_var.h>
8886 #endif
8887 #ifdef HAVE_NETINET_IP_ICMP_H
8888 # include <netinet/ip_icmp.h>
8889 #endif
8890 #ifdef HAVE_NETINET_UDP_H
8891 # include <netinet/udp.h>
8892 #endif
8893 #ifdef HAVE_NETINET_TCP_H
8894 # include <netinet/tcp.h>
8895 #endif
8897 if test "x$ac_cv_header_netinet_udp_var_h" = xyes
8898 then :
8899 printf "%s\n" "#define HAVE_NETINET_UDP_VAR_H 1" >>confdefs.h
8902 ac_fn_c_check_header_compile "$LINENO" "netinet/icmp_var.h" "ac_cv_header_netinet_icmp_var_h" "#include <sys/types.h>
8903 #include <sys/socket.h>
8904 #ifdef HAVE_SYS_SOCKETVAR_H
8905 # include <sys/socketvar.h>
8906 #endif
8907 #ifdef HAVE_NETINET_IN_H
8908 # include <netinet/in.h>
8909 #endif
8910 #ifdef HAVE_NETINET_IN_SYSTM_H
8911 # include <netinet/in_systm.h>
8912 #endif
8913 #ifdef HAVE_NETINET_IP_H
8914 # include <netinet/ip.h>
8915 #endif
8916 #ifdef HAVE_NETINET_IP_VAR_H
8917 # include <netinet/ip_var.h>
8918 #endif
8919 #ifdef HAVE_NETINET_IP_ICMP_H
8920 # include <netinet/ip_icmp.h>
8921 #endif
8922 #ifdef HAVE_NETINET_UDP_H
8923 # include <netinet/udp.h>
8924 #endif
8925 #ifdef HAVE_NETINET_TCP_H
8926 # include <netinet/tcp.h>
8927 #endif
8929 if test "x$ac_cv_header_netinet_icmp_var_h" = xyes
8930 then :
8931 printf "%s\n" "#define HAVE_NETINET_ICMP_VAR_H 1" >>confdefs.h
8934 ac_fn_c_check_header_compile "$LINENO" "netinet/icmp6.h" "ac_cv_header_netinet_icmp6_h" "#include <sys/types.h>
8935 #include <sys/socket.h>
8936 #ifdef HAVE_SYS_SOCKETVAR_H
8937 # include <sys/socketvar.h>
8938 #endif
8939 #ifdef HAVE_NETINET_IN_H
8940 # include <netinet/in.h>
8941 #endif
8942 #ifdef HAVE_NETINET_IN_SYSTM_H
8943 # include <netinet/in_systm.h>
8944 #endif
8945 #ifdef HAVE_NETINET_IP_H
8946 # include <netinet/ip.h>
8947 #endif
8948 #ifdef HAVE_NETINET_IP_VAR_H
8949 # include <netinet/ip_var.h>
8950 #endif
8951 #ifdef HAVE_NETINET_IP_ICMP_H
8952 # include <netinet/ip_icmp.h>
8953 #endif
8954 #ifdef HAVE_NETINET_UDP_H
8955 # include <netinet/udp.h>
8956 #endif
8957 #ifdef HAVE_NETINET_TCP_H
8958 # include <netinet/tcp.h>
8959 #endif
8961 if test "x$ac_cv_header_netinet_icmp6_h" = xyes
8962 then :
8963 printf "%s\n" "#define HAVE_NETINET_ICMP6_H 1" >>confdefs.h
8966 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_var.h" "ac_cv_header_netinet_tcp_var_h" "#include <sys/types.h>
8967 #include <sys/socket.h>
8968 #ifdef HAVE_SYS_SOCKETVAR_H
8969 # include <sys/socketvar.h>
8970 #endif
8971 #ifdef HAVE_NETINET_IN_H
8972 # include <netinet/in.h>
8973 #endif
8974 #ifdef HAVE_NETINET_IN_SYSTM_H
8975 # include <netinet/in_systm.h>
8976 #endif
8977 #ifdef HAVE_NETINET_IP_H
8978 # include <netinet/ip.h>
8979 #endif
8980 #ifdef HAVE_NETINET_IP_VAR_H
8981 # include <netinet/ip_var.h>
8982 #endif
8983 #ifdef HAVE_NETINET_IP_ICMP_H
8984 # include <netinet/ip_icmp.h>
8985 #endif
8986 #ifdef HAVE_NETINET_UDP_H
8987 # include <netinet/udp.h>
8988 #endif
8989 #ifdef HAVE_NETINET_TCP_H
8990 # include <netinet/tcp.h>
8991 #endif
8993 if test "x$ac_cv_header_netinet_tcp_var_h" = xyes
8994 then :
8995 printf "%s\n" "#define HAVE_NETINET_TCP_VAR_H 1" >>confdefs.h
9000 ac_fn_c_check_header_compile "$LINENO" "linux/ipx.h" "ac_cv_header_linux_ipx_h" "#include <sys/types.h>
9001 #include <sys/socket.h>
9002 #ifdef HAVE_ASM_TYPES_H
9003 # include <asm/types.h>
9004 #endif
9005 #ifdef HAVE_LINUX_TYPES_H
9006 # include <linux/types.h>
9007 #endif
9009 if test "x$ac_cv_header_linux_ipx_h" = xyes
9010 then :
9011 printf "%s\n" "#define HAVE_LINUX_IPX_H 1" >>confdefs.h
9014 ac_fn_c_check_header_compile "$LINENO" "linux/irda.h" "ac_cv_header_linux_irda_h" "#include <sys/types.h>
9015 #include <sys/socket.h>
9016 #ifdef HAVE_ASM_TYPES_H
9017 # include <asm/types.h>
9018 #endif
9019 #ifdef HAVE_LINUX_TYPES_H
9020 # include <linux/types.h>
9021 #endif
9023 if test "x$ac_cv_header_linux_irda_h" = xyes
9024 then :
9025 printf "%s\n" "#define HAVE_LINUX_IRDA_H 1" >>confdefs.h
9028 ac_fn_c_check_header_compile "$LINENO" "linux/rtnetlink.h" "ac_cv_header_linux_rtnetlink_h" "#include <sys/types.h>
9029 #include <sys/socket.h>
9030 #ifdef HAVE_ASM_TYPES_H
9031 # include <asm/types.h>
9032 #endif
9033 #ifdef HAVE_LINUX_TYPES_H
9034 # include <linux/types.h>
9035 #endif
9037 if test "x$ac_cv_header_linux_rtnetlink_h" = xyes
9038 then :
9039 printf "%s\n" "#define HAVE_LINUX_RTNETLINK_H 1" >>confdefs.h
9044 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
9045 #include <sys/socket.h>
9046 #ifdef HAVE_NETINET_IN_H
9047 # include <netinet/in.h>
9048 #endif
9049 #ifdef HAVE_ARPA_NAMESER_H
9050 # include <arpa/nameser.h>
9051 #endif
9053 if test "x$ac_cv_header_resolv_h" = xyes
9054 then :
9055 printf "%s\n" "#define HAVE_RESOLV_H 1" >>confdefs.h
9060 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
9062 if test "x$ac_cv_header_ifaddrs_h" = xyes
9063 then :
9064 printf "%s\n" "#define HAVE_IFADDRS_H 1" >>confdefs.h
9069 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
9071 if test "x$ac_cv_header_sys_ucontext_h" = xyes
9072 then :
9073 printf "%s\n" "#define HAVE_SYS_UCONTEXT_H 1" >>confdefs.h
9078 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
9079 #ifdef HAVE_SYS_UCONTEXT_H
9080 #include <sys/ucontext.h>
9081 #endif
9083 if test "x$ac_cv_header_sys_thr_h" = xyes
9084 then :
9085 printf "%s\n" "#define HAVE_SYS_THR_H 1" >>confdefs.h
9090 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
9091 #include <pthread.h>
9092 #endif
9094 if test "x$ac_cv_header_pthread_np_h" = xyes
9095 then :
9096 printf "%s\n" "#define HAVE_PTHREAD_NP_H 1" >>confdefs.h
9101 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#include <sys/time.h>
9102 #include <sys/types.h>
9103 #ifdef HAVE_ASM_TYPES_H
9104 #include <asm/types.h>
9105 #endif
9107 if test "x$ac_cv_header_linux_videodev2_h" = xyes
9108 then :
9109 printf "%s\n" "#define HAVE_LINUX_VIDEODEV2_H 1" >>confdefs.h
9114 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
9115 #include <sys/param.h>
9116 #endif
9117 #include <sys/socket.h>
9118 #ifdef HAVE_SYS_QUEUE_H
9119 #include <sys/queue.h>
9120 #endif
9122 if test "x$ac_cv_header_libprocstat_h" = xyes
9123 then :
9124 printf "%s\n" "#define HAVE_LIBPROCSTAT_H 1" >>confdefs.h
9129 if test "x$ac_cv_header_sys_xattr_h" = xyes
9130 then
9131 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether getxattr takes additional arguments" >&5
9132 printf %s "checking whether getxattr takes additional arguments... " >&6; }
9133 if test ${wine_cv_xattr_extra_args+y}
9134 then :
9135 printf %s "(cached) " >&6
9136 else $as_nop
9137 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9138 /* end confdefs.h. */
9139 #include <sys/xattr.h>
9141 main (void)
9143 getxattr("", "", "", 0, 0, 0);
9145 return 0;
9147 _ACEOF
9148 if ac_fn_c_try_compile "$LINENO"
9149 then :
9150 wine_cv_xattr_extra_args=yes
9151 else $as_nop
9152 wine_cv_xattr_extra_args=no
9154 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9156 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_xattr_extra_args" >&5
9157 printf "%s\n" "$wine_cv_xattr_extra_args" >&6; }
9158 test $wine_cv_xattr_extra_args != yes ||
9159 printf "%s\n" "#define XATTR_ADDITIONAL_OPTIONS 1" >>confdefs.h
9164 DLLFLAGS=""
9166 LDDLLFLAGS=""
9168 LDEXECFLAGS=""
9170 EXTRACFLAGS=""
9172 UNIXDLLFLAGS="-fPIC"
9174 UNIXLDFLAGS="-shared -Wl,-Bsymbolic -Wl,-soname,\$(UNIXLIB)"
9176 TOP_INSTALL_LIB=""
9178 TOP_INSTALL_DEV=""
9180 WINELOADER_LDFLAGS=""
9182 WINEPRELOADER_LDFLAGS=""
9184 LIBEXT="so"
9185 # Extract the first word of "ldd", so it can be a program name with args.
9186 set dummy ldd; ac_word=$2
9187 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9188 printf %s "checking for $ac_word... " >&6; }
9189 if test ${ac_cv_path_LDD+y}
9190 then :
9191 printf %s "(cached) " >&6
9192 else $as_nop
9193 case $LDD in
9194 [\\/]* | ?:[\\/]*)
9195 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
9198 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9199 as_dummy="/sbin:/usr/sbin:$PATH"
9200 for as_dir in $as_dummy
9202 IFS=$as_save_IFS
9203 case $as_dir in #(((
9204 '') as_dir=./ ;;
9205 */) ;;
9206 *) as_dir=$as_dir/ ;;
9207 esac
9208 for ac_exec_ext in '' $ac_executable_extensions; do
9209 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9210 ac_cv_path_LDD="$as_dir$ac_word$ac_exec_ext"
9211 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9212 break 2
9214 done
9215 done
9216 IFS=$as_save_IFS
9218 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
9220 esac
9222 LDD=$ac_cv_path_LDD
9223 if test -n "$LDD"; then
9224 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
9225 printf "%s\n" "$LDD" >&6; }
9226 else
9227 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9228 printf "%s\n" "no" >&6; }
9232 if test -n "$ac_tool_prefix"; then
9233 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
9234 set dummy ${ac_tool_prefix}otool; ac_word=$2
9235 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9236 printf %s "checking for $ac_word... " >&6; }
9237 if test ${ac_cv_prog_OTOOL+y}
9238 then :
9239 printf %s "(cached) " >&6
9240 else $as_nop
9241 if test -n "$OTOOL"; then
9242 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
9243 else
9244 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9245 for as_dir in $PATH
9247 IFS=$as_save_IFS
9248 case $as_dir in #(((
9249 '') as_dir=./ ;;
9250 */) ;;
9251 *) as_dir=$as_dir/ ;;
9252 esac
9253 for ac_exec_ext in '' $ac_executable_extensions; do
9254 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9255 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
9256 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9257 break 2
9259 done
9260 done
9261 IFS=$as_save_IFS
9265 OTOOL=$ac_cv_prog_OTOOL
9266 if test -n "$OTOOL"; then
9267 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
9268 printf "%s\n" "$OTOOL" >&6; }
9269 else
9270 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9271 printf "%s\n" "no" >&6; }
9276 if test -z "$ac_cv_prog_OTOOL"; then
9277 ac_ct_OTOOL=$OTOOL
9278 # Extract the first word of "otool", so it can be a program name with args.
9279 set dummy otool; ac_word=$2
9280 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9281 printf %s "checking for $ac_word... " >&6; }
9282 if test ${ac_cv_prog_ac_ct_OTOOL+y}
9283 then :
9284 printf %s "(cached) " >&6
9285 else $as_nop
9286 if test -n "$ac_ct_OTOOL"; then
9287 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
9288 else
9289 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9290 for as_dir in $PATH
9292 IFS=$as_save_IFS
9293 case $as_dir in #(((
9294 '') as_dir=./ ;;
9295 */) ;;
9296 *) as_dir=$as_dir/ ;;
9297 esac
9298 for ac_exec_ext in '' $ac_executable_extensions; do
9299 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9300 ac_cv_prog_ac_ct_OTOOL="otool"
9301 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9302 break 2
9304 done
9305 done
9306 IFS=$as_save_IFS
9310 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
9311 if test -n "$ac_ct_OTOOL"; then
9312 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
9313 printf "%s\n" "$ac_ct_OTOOL" >&6; }
9314 else
9315 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9316 printf "%s\n" "no" >&6; }
9319 if test "x$ac_ct_OTOOL" = x; then
9320 OTOOL="otool"
9321 else
9322 case $cross_compiling:$ac_tool_warned in
9323 yes:)
9324 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9325 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9326 ac_tool_warned=yes ;;
9327 esac
9328 OTOOL=$ac_ct_OTOOL
9330 else
9331 OTOOL="$ac_cv_prog_OTOOL"
9334 if test -n "$ac_tool_prefix"; then
9335 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
9336 set dummy ${ac_tool_prefix}readelf; ac_word=$2
9337 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9338 printf %s "checking for $ac_word... " >&6; }
9339 if test ${ac_cv_prog_READELF+y}
9340 then :
9341 printf %s "(cached) " >&6
9342 else $as_nop
9343 if test -n "$READELF"; then
9344 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9345 else
9346 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9347 for as_dir in $PATH
9349 IFS=$as_save_IFS
9350 case $as_dir in #(((
9351 '') as_dir=./ ;;
9352 */) ;;
9353 *) as_dir=$as_dir/ ;;
9354 esac
9355 for ac_exec_ext in '' $ac_executable_extensions; do
9356 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9357 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
9358 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9359 break 2
9361 done
9362 done
9363 IFS=$as_save_IFS
9367 READELF=$ac_cv_prog_READELF
9368 if test -n "$READELF"; then
9369 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
9370 printf "%s\n" "$READELF" >&6; }
9371 else
9372 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9373 printf "%s\n" "no" >&6; }
9378 if test -z "$ac_cv_prog_READELF"; then
9379 ac_ct_READELF=$READELF
9380 # Extract the first word of "readelf", so it can be a program name with args.
9381 set dummy readelf; ac_word=$2
9382 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9383 printf %s "checking for $ac_word... " >&6; }
9384 if test ${ac_cv_prog_ac_ct_READELF+y}
9385 then :
9386 printf %s "(cached) " >&6
9387 else $as_nop
9388 if test -n "$ac_ct_READELF"; then
9389 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
9390 else
9391 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9392 for as_dir in $PATH
9394 IFS=$as_save_IFS
9395 case $as_dir in #(((
9396 '') as_dir=./ ;;
9397 */) ;;
9398 *) as_dir=$as_dir/ ;;
9399 esac
9400 for ac_exec_ext in '' $ac_executable_extensions; do
9401 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9402 ac_cv_prog_ac_ct_READELF="readelf"
9403 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9404 break 2
9406 done
9407 done
9408 IFS=$as_save_IFS
9412 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
9413 if test -n "$ac_ct_READELF"; then
9414 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
9415 printf "%s\n" "$ac_ct_READELF" >&6; }
9416 else
9417 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9418 printf "%s\n" "no" >&6; }
9421 if test "x$ac_ct_READELF" = x; then
9422 READELF="true"
9423 else
9424 case $cross_compiling:$ac_tool_warned in
9425 yes:)
9426 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9427 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9428 ac_tool_warned=yes ;;
9429 esac
9430 READELF=$ac_ct_READELF
9432 else
9433 READELF="$ac_cv_prog_READELF"
9436 wine_rules="all:"
9437 SUBDIRS=""
9439 DISABLED_SUBDIRS=""
9441 CONFIGURE_TARGETS=""
9444 wine_fn_config_makefile ()
9446 as_fn_append SUBDIRS " \\$as_nl $1"
9447 eval enable=\$$2
9448 case "$enable" in
9449 no) as_fn_append DISABLED_SUBDIRS " $1" ;;
9450 *aarch64*|*arm*|*i386*|*x86_64*)
9451 if test -n "$PE_ARCHS"
9452 then
9453 for i in $PE_ARCHS
9455 test $(expr ",$enable," : ".*,$i,") -gt 0 || as_fn_append ${i}_DISABLED_SUBDIRS " $1"
9456 done
9457 else
9458 test $(expr ",$enable," : ".*,$HOST_ARCH,") -gt 0 || as_fn_append DISABLED_SUBDIRS " $1"
9459 fi;;
9460 esac
9463 wine_fn_config_symlink ()
9465 ac_links=$@
9466 as_fn_append wine_rules "
9467 $ac_links:
9468 @./config.status \$@"
9469 for f in $ac_links; do as_fn_append CONFIGURE_TARGETS " $f"; done
9472 wine_binary="wine"
9473 test "$HOST_ARCH" != x86_64 || wine_binary="wine64"
9474 WINELOADER_PROGRAMS="$wine_binary"
9476 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
9478 case $host_os in
9479 cygwin*|mingw32*)
9480 LIBEXT="dll"
9481 EXTRACFLAGS="-D__WINE_PE_BUILD"
9482 case $host_cpu in
9483 *i[3456]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
9484 printf %s "checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
9485 if test ${ac_cv_cflags__Wl___disable_stdcall_fixup+y}
9486 then :
9487 printf %s "(cached) " >&6
9488 else $as_nop
9489 ac_wine_try_cflags_saved=$CFLAGS
9490 CFLAGS="$CFLAGS -Wl,--disable-stdcall-fixup"
9491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9492 /* end confdefs.h. */
9493 int main(int argc, char **argv) { return 0; }
9494 _ACEOF
9495 if ac_fn_c_try_link "$LINENO"
9496 then :
9497 ac_cv_cflags__Wl___disable_stdcall_fixup=yes
9498 else $as_nop
9499 ac_cv_cflags__Wl___disable_stdcall_fixup=no
9501 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9502 conftest$ac_exeext conftest.$ac_ext
9503 CFLAGS=$ac_wine_try_cflags_saved
9505 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
9506 printf "%s\n" "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
9507 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes
9508 then :
9509 LDDLLFLAGS="-Wl,--disable-stdcall-fixup"
9510 fi ;;
9511 esac
9512 enable_loader=${enable_loader:-no}
9513 enable_server=${enable_server:-no}
9514 with_x=${with_x:-no}
9515 with_pthread=${with_pthread:-no}
9518 darwin*|macosx*)
9519 ac_ext=m
9520 ac_cpp='$OBJCPP $CPPFLAGS'
9521 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9522 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9523 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9525 ac_ext=m
9526 ac_cpp='$OBJCPP $CPPFLAGS'
9527 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9528 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9529 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9530 if test -n "$ac_tool_prefix"; then
9531 for ac_prog in gcc objcc objc cc CC clang
9533 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9534 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
9535 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9536 printf %s "checking for $ac_word... " >&6; }
9537 if test ${ac_cv_prog_OBJC+y}
9538 then :
9539 printf %s "(cached) " >&6
9540 else $as_nop
9541 if test -n "$OBJC"; then
9542 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
9543 else
9544 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9545 for as_dir in $PATH
9547 IFS=$as_save_IFS
9548 case $as_dir in #(((
9549 '') as_dir=./ ;;
9550 */) ;;
9551 *) as_dir=$as_dir/ ;;
9552 esac
9553 for ac_exec_ext in '' $ac_executable_extensions; do
9554 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9555 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
9556 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9557 break 2
9559 done
9560 done
9561 IFS=$as_save_IFS
9565 OBJC=$ac_cv_prog_OBJC
9566 if test -n "$OBJC"; then
9567 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
9568 printf "%s\n" "$OBJC" >&6; }
9569 else
9570 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9571 printf "%s\n" "no" >&6; }
9575 test -n "$OBJC" && break
9576 done
9578 if test -z "$OBJC"; then
9579 ac_ct_OBJC=$OBJC
9580 for ac_prog in gcc objcc objc cc CC clang
9582 # Extract the first word of "$ac_prog", so it can be a program name with args.
9583 set dummy $ac_prog; ac_word=$2
9584 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9585 printf %s "checking for $ac_word... " >&6; }
9586 if test ${ac_cv_prog_ac_ct_OBJC+y}
9587 then :
9588 printf %s "(cached) " >&6
9589 else $as_nop
9590 if test -n "$ac_ct_OBJC"; then
9591 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
9592 else
9593 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9594 for as_dir in $PATH
9596 IFS=$as_save_IFS
9597 case $as_dir in #(((
9598 '') as_dir=./ ;;
9599 */) ;;
9600 *) as_dir=$as_dir/ ;;
9601 esac
9602 for ac_exec_ext in '' $ac_executable_extensions; do
9603 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9604 ac_cv_prog_ac_ct_OBJC="$ac_prog"
9605 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9606 break 2
9608 done
9609 done
9610 IFS=$as_save_IFS
9614 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
9615 if test -n "$ac_ct_OBJC"; then
9616 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
9617 printf "%s\n" "$ac_ct_OBJC" >&6; }
9618 else
9619 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9620 printf "%s\n" "no" >&6; }
9624 test -n "$ac_ct_OBJC" && break
9625 done
9627 if test "x$ac_ct_OBJC" = x; then
9628 OBJC="gcc"
9629 else
9630 case $cross_compiling:$ac_tool_warned in
9631 yes:)
9632 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9633 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9634 ac_tool_warned=yes ;;
9635 esac
9636 OBJC=$ac_ct_OBJC
9640 # Provide some information about the compiler.
9641 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
9642 set X $ac_compile
9643 ac_compiler=$2
9644 for ac_option in --version -v -V -qversion; do
9645 { { ac_try="$ac_compiler $ac_option >&5"
9646 case "(($ac_try" in
9647 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9648 *) ac_try_echo=$ac_try;;
9649 esac
9650 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
9651 printf "%s\n" "$ac_try_echo"; } >&5
9652 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
9653 ac_status=$?
9654 if test -s conftest.err; then
9655 sed '10a\
9656 ... rest of stderr output deleted ...
9657 10q' conftest.err >conftest.er1
9658 cat conftest.er1 >&5
9660 rm -f conftest.er1 conftest.err
9661 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9662 test $ac_status = 0; }
9663 done
9665 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU Objective C" >&5
9666 printf %s "checking whether the compiler supports GNU Objective C... " >&6; }
9667 if test ${ac_cv_objc_compiler_gnu+y}
9668 then :
9669 printf %s "(cached) " >&6
9670 else $as_nop
9671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9672 /* end confdefs.h. */
9675 main (void)
9677 #ifndef __GNUC__
9678 choke me
9679 #endif
9682 return 0;
9684 _ACEOF
9685 if ac_fn_objc_try_compile "$LINENO"
9686 then :
9687 ac_compiler_gnu=yes
9688 else $as_nop
9689 ac_compiler_gnu=no
9691 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9692 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
9695 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
9696 printf "%s\n" "$ac_cv_objc_compiler_gnu" >&6; }
9697 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9699 if test $ac_compiler_gnu = yes; then
9700 GOBJC=yes
9701 else
9702 GOBJC=
9704 ac_test_OBJCFLAGS=${OBJCFLAGS+y}
9705 ac_save_OBJCFLAGS=$OBJCFLAGS
9706 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
9707 printf %s "checking whether $OBJC accepts -g... " >&6; }
9708 if test ${ac_cv_prog_objc_g+y}
9709 then :
9710 printf %s "(cached) " >&6
9711 else $as_nop
9712 ac_save_objc_werror_flag=$ac_objc_werror_flag
9713 ac_objc_werror_flag=yes
9714 ac_cv_prog_objc_g=no
9715 OBJCFLAGS="-g"
9716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9717 /* end confdefs.h. */
9720 main (void)
9724 return 0;
9726 _ACEOF
9727 if ac_fn_objc_try_compile "$LINENO"
9728 then :
9729 ac_cv_prog_objc_g=yes
9730 else $as_nop
9731 OBJCFLAGS=""
9732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9733 /* end confdefs.h. */
9736 main (void)
9740 return 0;
9742 _ACEOF
9743 if ac_fn_objc_try_compile "$LINENO"
9744 then :
9746 else $as_nop
9747 ac_objc_werror_flag=$ac_save_objc_werror_flag
9748 OBJCFLAGS="-g"
9749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9750 /* end confdefs.h. */
9753 main (void)
9757 return 0;
9759 _ACEOF
9760 if ac_fn_objc_try_compile "$LINENO"
9761 then :
9762 ac_cv_prog_objc_g=yes
9764 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9766 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9768 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9769 ac_objc_werror_flag=$ac_save_objc_werror_flag
9771 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
9772 printf "%s\n" "$ac_cv_prog_objc_g" >&6; }
9773 if test $ac_test_OBJCFLAGS; then
9774 OBJCFLAGS=$ac_save_OBJCFLAGS
9775 elif test $ac_cv_prog_objc_g = yes; then
9776 if test "$GOBJC" = yes; then
9777 OBJCFLAGS="-g -O2"
9778 else
9779 OBJCFLAGS="-g"
9781 else
9782 if test "$GOBJC" = yes; then
9783 OBJCFLAGS="-O2"
9784 else
9785 OBJCFLAGS=
9788 ac_ext=m
9789 ac_cpp='$OBJCPP $CPPFLAGS'
9790 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9791 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9792 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9795 ac_fn_objc_check_header_compile "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
9796 if test "x$ac_cv_header_Metal_Metal_h" = xyes
9797 then :
9798 printf "%s\n" "#define HAVE_METAL_METAL_H 1" >>confdefs.h
9802 ac_ext=c
9803 ac_cpp='$CPP $CPPFLAGS'
9804 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9805 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9806 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9808 LIBEXT="dylib"
9809 DLLFLAGS="$DLLFLAGS -fPIC"
9810 LDDLLFLAGS="-fPIC"
9811 COREFOUNDATION_LIBS="-framework CoreFoundation"
9813 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
9815 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
9817 CORESERVICES_LIBS="-framework CoreServices"
9819 APPKIT_LIBS="-framework AppKit"
9821 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
9824 WINELOADER_LDFLAGS="-Wl,-pie,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
9826 wine_can_build_preloader=yes
9827 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"
9828 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
9829 printf %s "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
9830 if test ${ac_cv_cflags__Wl__no_new_main__e__main+y}
9831 then :
9832 printf %s "(cached) " >&6
9833 else $as_nop
9834 ac_wine_try_cflags_saved=$CFLAGS
9835 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
9836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9837 /* end confdefs.h. */
9838 int main(int argc, char **argv) { return 0; }
9839 _ACEOF
9840 if ac_fn_c_try_link "$LINENO"
9841 then :
9842 ac_cv_cflags__Wl__no_new_main__e__main=yes
9843 else $as_nop
9844 ac_cv_cflags__Wl__no_new_main__e__main=no
9846 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9847 conftest$ac_exeext conftest.$ac_ext
9848 CFLAGS=$ac_wine_try_cflags_saved
9850 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
9851 printf "%s\n" "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
9852 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes
9853 then :
9854 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
9855 { 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
9856 printf %s "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
9857 if test ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+y}
9858 then :
9859 printf %s "(cached) " >&6
9860 else $as_nop
9861 ac_wine_try_cflags_saved=$CFLAGS
9862 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
9863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9864 /* end confdefs.h. */
9865 int main(int argc, char **argv) { return 0; }
9866 _ACEOF
9867 if ac_fn_c_try_link "$LINENO"
9868 then :
9869 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
9870 else $as_nop
9871 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
9873 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9874 conftest$ac_exeext conftest.$ac_ext
9875 CFLAGS=$ac_wine_try_cflags_saved
9877 { 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
9878 printf "%s\n" "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
9879 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes
9880 then :
9881 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
9882 else $as_nop
9883 wine_can_build_preloader=no
9885 else $as_nop
9886 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
9887 printf %s "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
9888 if test ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+y}
9889 then :
9890 printf %s "(cached) " >&6
9891 else $as_nop
9892 ac_wine_try_cflags_saved=$CFLAGS
9893 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
9894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9895 /* end confdefs.h. */
9896 int main(int argc, char **argv) { return 0; }
9897 _ACEOF
9898 if ac_fn_c_try_link "$LINENO"
9899 then :
9900 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
9901 else $as_nop
9902 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
9904 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9905 conftest$ac_exeext conftest.$ac_ext
9906 CFLAGS=$ac_wine_try_cflags_saved
9908 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
9909 printf "%s\n" "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
9910 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes
9911 then :
9912 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
9913 else $as_nop
9914 wine_can_build_preloader=no
9917 if test "$wine_can_build_preloader" = "yes"
9918 then
9919 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
9920 printf %s "checking whether the compiler supports -Wl,-no_pie... " >&6; }
9921 if test ${ac_cv_cflags__Wl__no_pie+y}
9922 then :
9923 printf %s "(cached) " >&6
9924 else $as_nop
9925 ac_wine_try_cflags_saved=$CFLAGS
9926 CFLAGS="$CFLAGS -Wl,-no_pie"
9927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9928 /* end confdefs.h. */
9929 int main(int argc, char **argv) { return 0; }
9930 _ACEOF
9931 if ac_fn_c_try_link "$LINENO"
9932 then :
9933 ac_cv_cflags__Wl__no_pie=yes
9934 else $as_nop
9935 ac_cv_cflags__Wl__no_pie=no
9937 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9938 conftest$ac_exeext conftest.$ac_ext
9939 CFLAGS=$ac_wine_try_cflags_saved
9941 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
9942 printf "%s\n" "$ac_cv_cflags__Wl__no_pie" >&6; }
9943 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
9944 then :
9945 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
9947 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine-preloader"
9948 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
9949 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -mmacosx-version-min=10.7"
9950 else
9951 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
9954 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
9955 then
9956 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
9959 if test "$ac_cv_header_Security_Security_h" = "yes"
9960 then
9961 SECURITY_LIBS="-framework Security -framework CoreFoundation"
9964 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes"
9965 then
9966 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
9968 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
9970 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
9971 then
9972 OPENCL_LIBS="-framework OpenCL"
9974 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
9976 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
9977 then
9978 ac_save_LIBS="$LIBS"
9979 LIBS="$LIBS $IOKIT_LIBS"
9980 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
9981 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes
9982 then :
9983 printf "%s\n" "#define HAVE_IOHIDMANAGERCREATE 1" >>confdefs.h
9987 LIBS="$ac_save_LIBS"
9990 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
9991 then
9992 CARBON_LIBS="-framework Carbon"
9995 if test "$ac_cv_header_Metal_Metal_h" = "yes"
9996 then
9997 METAL_LIBS="-framework Metal"
10001 if test "$ac_cv_header_Metal_Metal_h" = "yes"
10002 then
10003 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
10004 printf %s "checking whether MTLDevice protocol supports registryID property... " >&6; }
10005 ac_ext=m
10006 ac_cpp='$OBJCPP $CPPFLAGS'
10007 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10008 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10009 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
10011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10012 /* end confdefs.h. */
10013 #include <Metal/Metal.h>
10015 main (void)
10017 id<MTLDevice> device; device.registryID;
10019 return 0;
10021 _ACEOF
10022 if ac_fn_objc_try_compile "$LINENO"
10023 then :
10024 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10025 printf "%s\n" "yes" >&6; }
10027 printf "%s\n" "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
10029 else $as_nop
10030 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10031 printf "%s\n" "no" >&6; }
10033 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10034 ac_ext=c
10035 ac_cpp='$CPP $CPPFLAGS'
10036 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
10037 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
10038 ac_compiler_gnu=$ac_cv_c_compiler_gnu
10042 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
10043 then
10044 ac_save_LIBS="$LIBS"
10045 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
10046 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
10047 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes
10048 then :
10049 enable_winemac_drv=${enable_winemac_drv:-yes}
10052 LIBS="$ac_save_LIBS"
10055 UNIXLDFLAGS="-dynamiclib -install_name @rpath/\$(UNIXLIB) -Wl,-rpath,@loader_path\/"
10056 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
10058 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
10060 WINELOADER_DEPENDS="wine_info.plist"
10062 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
10065 linux-android*)
10067 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
10069 DLLFLAGS="$DLLFLAGS -fPIC"
10070 LDDLLFLAGS="-fPIC"
10071 LDEXECFLAGS="-Wl,-pie"
10072 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
10073 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
10074 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
10075 if test ${ac_cv_cflags__Wl__z_defs+y}
10076 then :
10077 printf %s "(cached) " >&6
10078 else $as_nop
10079 ac_wine_try_cflags_saved=$CFLAGS
10080 CFLAGS="$CFLAGS -Wl,-z,defs"
10081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10082 /* end confdefs.h. */
10083 int main(int argc, char **argv) { return 0; }
10084 _ACEOF
10085 if ac_fn_c_try_link "$LINENO"
10086 then :
10087 ac_cv_cflags__Wl__z_defs=yes
10088 else $as_nop
10089 ac_cv_cflags__Wl__z_defs=no
10091 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10092 conftest$ac_exeext conftest.$ac_ext
10093 CFLAGS=$ac_wine_try_cflags_saved
10095 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
10096 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
10097 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
10098 then :
10099 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
10101 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
10102 printf %s "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
10103 if test ${ac_cv_cflags__fPIC__Wl___export_dynamic+y}
10104 then :
10105 printf %s "(cached) " >&6
10106 else $as_nop
10107 ac_wine_try_cflags_saved=$CFLAGS
10108 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
10109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10110 /* end confdefs.h. */
10111 int main(int argc, char **argv) { return 0; }
10112 _ACEOF
10113 if ac_fn_c_try_link "$LINENO"
10114 then :
10115 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
10116 else $as_nop
10117 ac_cv_cflags__fPIC__Wl___export_dynamic=no
10119 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10120 conftest$ac_exeext conftest.$ac_ext
10121 CFLAGS=$ac_wine_try_cflags_saved
10123 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
10124 printf "%s\n" "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
10125 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
10126 then :
10127 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10129 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
10131 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
10132 printf %s "checking for -lEGL... " >&6; }
10133 if test ${ac_cv_lib_soname_EGL+y}
10134 then :
10135 printf %s "(cached) " >&6
10136 else $as_nop
10137 ac_check_soname_save_LIBS=$LIBS
10138 LIBS="-lEGL $LIBS"
10139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10140 /* end confdefs.h. */
10142 /* Override any GCC internal prototype to avoid an error.
10143 Use char because int might match the return type of a GCC
10144 builtin and then its argument prototype would still apply. */
10145 char eglGetProcAddress ();
10147 main (void)
10149 return eglGetProcAddress ();
10151 return 0;
10153 _ACEOF
10154 if ac_fn_c_try_link "$LINENO"
10155 then :
10156 case "$LIBEXT" in
10157 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10158 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'` ;;
10159 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10160 if ${ac_cv_lib_soname_EGL:+false} :
10161 then :
10162 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10163 fi ;;
10164 esac
10165 else $as_nop
10166 ac_cv_lib_soname_EGL=
10168 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10169 conftest$ac_exeext conftest.$ac_ext
10170 LIBS=$ac_check_soname_save_LIBS
10172 if ${ac_cv_lib_soname_EGL:+false} :
10173 then :
10174 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10175 printf "%s\n" "not found" >&6; }
10177 else $as_nop
10178 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
10179 printf "%s\n" "$ac_cv_lib_soname_EGL" >&6; }
10181 printf "%s\n" "#define SONAME_LIBEGL \"$ac_cv_lib_soname_EGL\"" >>confdefs.h
10185 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
10186 printf %s "checking for -lGLESv2... " >&6; }
10187 if test ${ac_cv_lib_soname_GLESv2+y}
10188 then :
10189 printf %s "(cached) " >&6
10190 else $as_nop
10191 ac_check_soname_save_LIBS=$LIBS
10192 LIBS="-lGLESv2 $LIBS"
10193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10194 /* end confdefs.h. */
10196 /* Override any GCC internal prototype to avoid an error.
10197 Use char because int might match the return type of a GCC
10198 builtin and then its argument prototype would still apply. */
10199 char glFlush ();
10201 main (void)
10203 return glFlush ();
10205 return 0;
10207 _ACEOF
10208 if ac_fn_c_try_link "$LINENO"
10209 then :
10210 case "$LIBEXT" in
10211 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10212 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'` ;;
10213 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10214 if ${ac_cv_lib_soname_GLESv2:+false} :
10215 then :
10216 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10217 fi ;;
10218 esac
10219 else $as_nop
10220 ac_cv_lib_soname_GLESv2=
10222 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10223 conftest$ac_exeext conftest.$ac_ext
10224 LIBS=$ac_check_soname_save_LIBS
10226 if ${ac_cv_lib_soname_GLESv2:+false} :
10227 then :
10228 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10229 printf "%s\n" "not found" >&6; }
10231 else $as_nop
10232 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
10233 printf "%s\n" "$ac_cv_lib_soname_GLESv2" >&6; }
10235 printf "%s\n" "#define SONAME_LIBGLESV2 \"$ac_cv_lib_soname_GLESv2\"" >>confdefs.h
10240 if test "x$exec_prefix" = xNONE
10241 then
10242 case $host_cpu in
10243 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
10244 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
10245 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
10246 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
10247 esac
10253 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
10255 test "$ac_cv_sys_file_offset_bits" = 64 &&
10256 printf "%s\n" "#define _TIME_BITS 64" >>confdefs.h
10258 case $host_cpu in
10259 *i[3456789]86*)
10260 DLLFLAGS="$DLLFLAGS -fno-PIC"
10261 LDDLLFLAGS="-fno-PIC"
10262 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-PIC -Wl,-z,notext" >&5
10263 printf %s "checking whether the compiler supports -fno-PIC -Wl,-z,notext... " >&6; }
10264 if test ${ac_cv_cflags__fno_PIC__Wl__z_notext+y}
10265 then :
10266 printf %s "(cached) " >&6
10267 else $as_nop
10268 ac_wine_try_cflags_saved=$CFLAGS
10269 CFLAGS="$CFLAGS -fno-PIC -Wl,-z,notext"
10270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10271 /* end confdefs.h. */
10272 int main(int argc, char **argv) { return 0; }
10273 _ACEOF
10274 if ac_fn_c_try_link "$LINENO"
10275 then :
10276 ac_cv_cflags__fno_PIC__Wl__z_notext=yes
10277 else $as_nop
10278 ac_cv_cflags__fno_PIC__Wl__z_notext=no
10280 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10281 conftest$ac_exeext conftest.$ac_ext
10282 CFLAGS=$ac_wine_try_cflags_saved
10284 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_PIC__Wl__z_notext" >&5
10285 printf "%s\n" "$ac_cv_cflags__fno_PIC__Wl__z_notext" >&6; }
10286 if test "x$ac_cv_cflags__fno_PIC__Wl__z_notext" = xyes
10287 then :
10288 LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"
10292 DLLFLAGS="$DLLFLAGS -fPIC"
10293 LDDLLFLAGS="-fPIC" ;;
10294 esac
10295 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
10297 echo '{ global: *; };' >conftest.map
10298 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
10299 printf %s "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
10300 if test ${ac_cv_cflags__shared__Wl___version_script_conftest_map+y}
10301 then :
10302 printf %s "(cached) " >&6
10303 else $as_nop
10304 ac_wine_try_cflags_saved=$CFLAGS
10305 CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
10306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10307 /* end confdefs.h. */
10308 int main(int argc, char **argv) { return 0; }
10309 _ACEOF
10310 if ac_fn_c_try_link "$LINENO"
10311 then :
10312 ac_cv_cflags__shared__Wl___version_script_conftest_map=yes
10313 else $as_nop
10314 ac_cv_cflags__shared__Wl___version_script_conftest_map=no
10316 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10317 conftest$ac_exeext conftest.$ac_ext
10318 CFLAGS=$ac_wine_try_cflags_saved
10320 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl___version_script_conftest_map" >&5
10321 printf "%s\n" "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
10322 if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes
10323 then :
10324 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
10326 rm -f conftest.map
10328 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
10329 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
10330 if test ${ac_cv_cflags__Wl__z_defs+y}
10331 then :
10332 printf %s "(cached) " >&6
10333 else $as_nop
10334 ac_wine_try_cflags_saved=$CFLAGS
10335 CFLAGS="$CFLAGS -Wl,-z,defs"
10336 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10337 /* end confdefs.h. */
10338 int main(int argc, char **argv) { return 0; }
10339 _ACEOF
10340 if ac_fn_c_try_link "$LINENO"
10341 then :
10342 ac_cv_cflags__Wl__z_defs=yes
10343 else $as_nop
10344 ac_cv_cflags__Wl__z_defs=no
10346 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10347 conftest$ac_exeext conftest.$ac_ext
10348 CFLAGS=$ac_wine_try_cflags_saved
10350 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
10351 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
10352 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
10353 then :
10354 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
10356 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
10357 printf %s "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
10358 if test ${ac_cv_cflags__Wl___export_dynamic+y}
10359 then :
10360 printf %s "(cached) " >&6
10361 else $as_nop
10362 ac_wine_try_cflags_saved=$CFLAGS
10363 CFLAGS="$CFLAGS -Wl,--export-dynamic"
10364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10365 /* end confdefs.h. */
10366 int main(int argc, char **argv) { return 0; }
10367 _ACEOF
10368 if ac_fn_c_try_link "$LINENO"
10369 then :
10370 ac_cv_cflags__Wl___export_dynamic=yes
10371 else $as_nop
10372 ac_cv_cflags__Wl___export_dynamic=no
10374 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10375 conftest$ac_exeext conftest.$ac_ext
10376 CFLAGS=$ac_wine_try_cflags_saved
10378 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
10379 printf "%s\n" "$ac_cv_cflags__Wl___export_dynamic" >&6; }
10380 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes
10381 then :
10382 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10384 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
10386 case $host_cpu in
10387 *i[3456789]86* | x86_64 | *aarch64* | arm*)
10388 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
10389 printf %s "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
10390 if test ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+y}
10391 then :
10392 printf %s "(cached) " >&6
10393 else $as_nop
10394 ac_wine_try_cflags_saved=$CFLAGS
10395 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
10396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10397 /* end confdefs.h. */
10398 int main(int argc, char **argv) { return 0; }
10399 _ACEOF
10400 if ac_fn_c_try_link "$LINENO"
10401 then :
10402 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
10403 else $as_nop
10404 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
10406 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10407 conftest$ac_exeext conftest.$ac_ext
10408 CFLAGS=$ac_wine_try_cflags_saved
10410 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
10411 printf "%s\n" "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
10412 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes
10413 then :
10414 case $host_os in
10415 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
10416 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7d000000" ;;
10417 esac
10418 else $as_nop
10419 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400" >&5
10420 printf %s "checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400... " >&6; }
10421 if test ${ac_cv_cflags__Wl___section_start__interp_0x7d000400+y}
10422 then :
10423 printf %s "(cached) " >&6
10424 else $as_nop
10425 ac_wine_try_cflags_saved=$CFLAGS
10426 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7d000400"
10427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10428 /* end confdefs.h. */
10429 int main(int argc, char **argv) { return 0; }
10430 _ACEOF
10431 if ac_fn_c_try_link "$LINENO"
10432 then :
10433 ac_cv_cflags__Wl___section_start__interp_0x7d000400=yes
10434 else $as_nop
10435 ac_cv_cflags__Wl___section_start__interp_0x7d000400=no
10437 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10438 conftest$ac_exeext conftest.$ac_ext
10439 CFLAGS=$ac_wine_try_cflags_saved
10441 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&5
10442 printf "%s\n" "$ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&6; }
10443 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7d000400" = xyes
10444 then :
10445 case $host_os in
10446 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
10447 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7d000400" ;;
10448 esac
10450 # Extract the first word of "prelink", so it can be a program name with args.
10451 set dummy prelink; ac_word=$2
10452 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10453 printf %s "checking for $ac_word... " >&6; }
10454 if test ${ac_cv_path_PRELINK+y}
10455 then :
10456 printf %s "(cached) " >&6
10457 else $as_nop
10458 case $PRELINK in
10459 [\\/]* | ?:[\\/]*)
10460 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
10463 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10464 for as_dir in /sbin /usr/sbin $PATH
10466 IFS=$as_save_IFS
10467 case $as_dir in #(((
10468 '') as_dir=./ ;;
10469 */) ;;
10470 *) as_dir=$as_dir/ ;;
10471 esac
10472 for ac_exec_ext in '' $ac_executable_extensions; do
10473 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10474 ac_cv_path_PRELINK="$as_dir$ac_word$ac_exec_ext"
10475 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10476 break 2
10478 done
10479 done
10480 IFS=$as_save_IFS
10482 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
10484 esac
10486 PRELINK=$ac_cv_path_PRELINK
10487 if test -n "$PRELINK"; then
10488 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
10489 printf "%s\n" "$PRELINK" >&6; }
10490 else
10491 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10492 printf "%s\n" "no" >&6; }
10496 if test "x$PRELINK" = xfalse
10497 then
10498 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
10501 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
10502 printf %s "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
10503 if test ${ac_cv_cflags__Wl__z_max_page_size_0x1000+y}
10504 then :
10505 printf %s "(cached) " >&6
10506 else $as_nop
10507 ac_wine_try_cflags_saved=$CFLAGS
10508 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
10509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10510 /* end confdefs.h. */
10511 int main(int argc, char **argv) { return 0; }
10512 _ACEOF
10513 if ac_fn_c_try_link "$LINENO"
10514 then :
10515 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
10516 else $as_nop
10517 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
10519 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10520 conftest$ac_exeext conftest.$ac_ext
10521 CFLAGS=$ac_wine_try_cflags_saved
10523 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
10524 printf "%s\n" "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
10525 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes
10526 then :
10527 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
10530 esac
10531 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
10533 LIBWINE_DEPENDS="wine.map"
10535 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
10537 esac
10539 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
10540 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
10541 enable_winemac_drv=${enable_winemac_drv:-no}
10543 PE_ARCHS=""
10545 cross_archs=
10546 if test ${enable_archs+y}
10547 then :
10548 test "x$with_system_dllpath" = "x" || as_fn_error $? "\"The --with-system-dllpath option is not compatible with --enable-archs\"" "$LINENO" 5
10549 ac_save_IFS=$IFS
10550 IFS=' ,'
10551 set x $enable_archs
10552 IFS=$ac_save_IFS
10553 shift
10554 for arch
10556 case $arch in
10557 i386|x86_64|arm|aarch64) cross_archs="$cross_archs $arch" ;;
10558 *) as_fn_error $? "Unknown cross-compilation architecture '$arch'" "$LINENO" 5 ;;
10559 esac
10560 done
10561 else $as_nop
10562 if test "x$with_mingw" != xno
10563 then
10564 test $HOST_ARCH = unknown || cross_archs=$HOST_ARCH
10565 case "x$with_mingw" in
10566 x|xyes) ;;
10567 *) eval "${cross_archs}_CC=\$with_mingw" ;;
10568 esac
10572 for wine_arch in $cross_archs
10574 if eval \${${wine_arch}_CC:+false} :
10575 then :
10576 case $wine_arch in
10577 aarch64)
10578 for ac_prog in aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc clang
10580 # Extract the first word of "$ac_prog", so it can be a program name with args.
10581 set dummy $ac_prog; ac_word=$2
10582 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10583 printf %s "checking for $ac_word... " >&6; }
10584 if test ${ac_cv_prog_aarch64_CC+y}
10585 then :
10586 printf %s "(cached) " >&6
10587 else $as_nop
10588 if test -n "$aarch64_CC"; then
10589 ac_cv_prog_aarch64_CC="$aarch64_CC" # Let the user override the test.
10590 else
10591 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10592 for as_dir in $PATH
10594 IFS=$as_save_IFS
10595 case $as_dir in #(((
10596 '') as_dir=./ ;;
10597 */) ;;
10598 *) as_dir=$as_dir/ ;;
10599 esac
10600 for ac_exec_ext in '' $ac_executable_extensions; do
10601 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10602 ac_cv_prog_aarch64_CC="$ac_prog"
10603 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10604 break 2
10606 done
10607 done
10608 IFS=$as_save_IFS
10612 aarch64_CC=$ac_cv_prog_aarch64_CC
10613 if test -n "$aarch64_CC"; then
10614 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $aarch64_CC" >&5
10615 printf "%s\n" "$aarch64_CC" >&6; }
10616 else
10617 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10618 printf "%s\n" "no" >&6; }
10622 test -n "$aarch64_CC" && break
10623 done
10624 test -n "$aarch64_CC" || aarch64_CC="false"
10627 arm)
10628 for ac_prog in armv7-w64-mingw32-clang armv7-w64-mingw32-gcc clang
10630 # Extract the first word of "$ac_prog", so it can be a program name with args.
10631 set dummy $ac_prog; ac_word=$2
10632 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10633 printf %s "checking for $ac_word... " >&6; }
10634 if test ${ac_cv_prog_arm_CC+y}
10635 then :
10636 printf %s "(cached) " >&6
10637 else $as_nop
10638 if test -n "$arm_CC"; then
10639 ac_cv_prog_arm_CC="$arm_CC" # Let the user override the test.
10640 else
10641 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10642 for as_dir in $PATH
10644 IFS=$as_save_IFS
10645 case $as_dir in #(((
10646 '') as_dir=./ ;;
10647 */) ;;
10648 *) as_dir=$as_dir/ ;;
10649 esac
10650 for ac_exec_ext in '' $ac_executable_extensions; do
10651 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10652 ac_cv_prog_arm_CC="$ac_prog"
10653 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10654 break 2
10656 done
10657 done
10658 IFS=$as_save_IFS
10662 arm_CC=$ac_cv_prog_arm_CC
10663 if test -n "$arm_CC"; then
10664 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $arm_CC" >&5
10665 printf "%s\n" "$arm_CC" >&6; }
10666 else
10667 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10668 printf "%s\n" "no" >&6; }
10672 test -n "$arm_CC" && break
10673 done
10674 test -n "$arm_CC" || arm_CC="false"
10677 i386)
10678 ac_prefix_list="i686-w64-mingw32-gcc i586-w64-mingw32-gcc i486-w64-mingw32-gcc i386-w64-mingw32-gcc i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang "
10679 for ac_prog in $ac_prefix_list clang
10681 # Extract the first word of "$ac_prog", so it can be a program name with args.
10682 set dummy $ac_prog; ac_word=$2
10683 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10684 printf %s "checking for $ac_word... " >&6; }
10685 if test ${ac_cv_prog_i386_CC+y}
10686 then :
10687 printf %s "(cached) " >&6
10688 else $as_nop
10689 if test -n "$i386_CC"; then
10690 ac_cv_prog_i386_CC="$i386_CC" # Let the user override the test.
10691 else
10692 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10693 for as_dir in $PATH
10695 IFS=$as_save_IFS
10696 case $as_dir in #(((
10697 '') as_dir=./ ;;
10698 */) ;;
10699 *) as_dir=$as_dir/ ;;
10700 esac
10701 for ac_exec_ext in '' $ac_executable_extensions; do
10702 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10703 ac_cv_prog_i386_CC="$ac_prog"
10704 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10705 break 2
10707 done
10708 done
10709 IFS=$as_save_IFS
10713 i386_CC=$ac_cv_prog_i386_CC
10714 if test -n "$i386_CC"; then
10715 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $i386_CC" >&5
10716 printf "%s\n" "$i386_CC" >&6; }
10717 else
10718 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10719 printf "%s\n" "no" >&6; }
10723 test -n "$i386_CC" && break
10724 done
10725 test -n "$i386_CC" || i386_CC="false"
10728 x86_64)
10729 ac_prefix_list="x86_64-w64-mingw32-gcc amd64-w64-mingw32-gcc x86_64-w64-mingw32-clang amd64-w64-mingw32-clang "
10730 for ac_prog in $ac_prefix_list clang
10732 # Extract the first word of "$ac_prog", so it can be a program name with args.
10733 set dummy $ac_prog; ac_word=$2
10734 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10735 printf %s "checking for $ac_word... " >&6; }
10736 if test ${ac_cv_prog_x86_64_CC+y}
10737 then :
10738 printf %s "(cached) " >&6
10739 else $as_nop
10740 if test -n "$x86_64_CC"; then
10741 ac_cv_prog_x86_64_CC="$x86_64_CC" # Let the user override the test.
10742 else
10743 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10744 for as_dir in $PATH
10746 IFS=$as_save_IFS
10747 case $as_dir in #(((
10748 '') as_dir=./ ;;
10749 */) ;;
10750 *) as_dir=$as_dir/ ;;
10751 esac
10752 for ac_exec_ext in '' $ac_executable_extensions; do
10753 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10754 ac_cv_prog_x86_64_CC="$ac_prog"
10755 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10756 break 2
10758 done
10759 done
10760 IFS=$as_save_IFS
10764 x86_64_CC=$ac_cv_prog_x86_64_CC
10765 if test -n "$x86_64_CC"; then
10766 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $x86_64_CC" >&5
10767 printf "%s\n" "$x86_64_CC" >&6; }
10768 else
10769 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10770 printf "%s\n" "no" >&6; }
10774 test -n "$x86_64_CC" && break
10775 done
10776 test -n "$x86_64_CC" || x86_64_CC="false"
10779 esac
10782 if eval test \"x\$"${wine_arch}_CC"\" = x"false"
10783 then :
10784 continue
10787 saved_CC=$CC
10788 saved_CFLAGS=$CFLAGS
10790 CFLAGS=${CROSSCFLAGS:-"-g -O2"}
10791 eval CC=\$${wine_arch}_CC
10792 eval ${wine_arch}_CFLAGS=\$CFLAGS
10793 eval ${wine_arch}_LDFLAGS=\$CROSSLDFLAGS
10794 eval "${wine_arch}_EXTRACFLAGS=\"-D__WINE_PE_BUILD -Wall\""
10796 target=""
10797 as_wine_cv_crosscc=`printf "%s\n" "ac_cv_${wine_arch}_crosscc" | $as_tr_sh`
10799 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
10800 printf %s "checking whether $CC works... " >&6; }
10801 if eval test \${$as_wine_cv_crosscc+y}
10802 then :
10803 printf %s "(cached) " >&6
10804 else $as_nop
10805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10806 /* end confdefs.h. */
10809 main (void)
10813 return 0;
10815 _ACEOF
10816 if ac_fn_c_try_compile "$LINENO"
10817 then :
10818 eval "$as_wine_cv_crosscc=yes"
10819 else $as_nop
10820 eval "$as_wine_cv_crosscc=no"
10822 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10824 eval ac_res=\$$as_wine_cv_crosscc
10825 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10826 printf "%s\n" "$ac_res" >&6; }
10827 if eval test \"x\$"$as_wine_cv_crosscc"\" = x"yes"
10828 then :
10829 set x $CC
10830 shift
10831 while test $# -ge 1
10833 case "$1" in
10834 *-gcc) target=`expr "$1" : '\(.*\)-gcc'` ;;
10835 *-clang) target=`expr "$1" : '\(.*\)-clang'` ;;
10836 esac
10837 shift
10838 done
10840 llvm_target=$target
10841 llvm_cflags="-fuse-ld=lld"
10842 if test -z "$llvm_target"
10843 then
10844 case $wine_arch in
10845 i386) llvm_target=i686-windows ;;
10846 arm) llvm_target=armv7-windows ;;
10847 *) llvm_target=$wine_arch-windows ;;
10848 esac
10850 case $llvm_target in
10851 *windows) llvm_cflags="$llvm_cflags -Wl,-subsystem:console" ;;
10852 esac
10853 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-target $llvm_target $llvm_cflags" | $as_tr_sh`
10854 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -target $llvm_target $llvm_cflags" >&5
10855 printf %s "checking whether $CC supports -target $llvm_target $llvm_cflags... " >&6; }
10856 if eval test \${$as_ac_var+y}
10857 then :
10858 printf %s "(cached) " >&6
10859 else $as_nop
10860 ac_wine_try_cflags_saved=$CFLAGS
10861 ac_wine_try_cflags_saved_exeext=$ac_exeext
10862 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -target $llvm_target $llvm_cflags"
10863 ac_exeext=".exe"
10864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10865 /* end confdefs.h. */
10866 int __cdecl mainCRTStartup(void) { return 0; }
10867 _ACEOF
10868 if ac_fn_c_try_link "$LINENO"
10869 then :
10870 eval "$as_ac_var=yes"
10871 else $as_nop
10872 eval "$as_ac_var=no"
10874 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10875 conftest$ac_exeext conftest.$ac_ext
10876 CFLAGS=$ac_wine_try_cflags_saved
10877 ac_exeext=$ac_wine_try_cflags_saved_exeext
10879 eval ac_res=\$$as_ac_var
10880 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10881 printf "%s\n" "$ac_res" >&6; }
10882 if eval test \"x\$"$as_ac_var"\" = x"yes"
10883 then :
10884 target=$llvm_target
10885 eval "${wine_arch}_DELAYLOADFLAG=\"-Wl,-delayload,\""
10886 as_fn_append ${wine_arch}_EXTRACFLAGS " -target $target"
10887 CFLAGS="$CFLAGS -target $target $llvm_cflags"
10888 fi }
10889 eval "${wine_arch}_TARGET=\$target"
10893 if test -z "$target"
10894 then
10895 CC=$saved_CC
10896 CFLAGS=$saved_CFLAGS
10897 continue
10899 as_fn_append PE_ARCHS " $wine_arch"
10901 as_wine_cv_crosscc_c99=`printf "%s\n" "ac_cv_${wine_arch}_crosscc_c99" | $as_tr_sh`
10903 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
10904 printf %s "checking for $CC option to enable C99 features... " >&6; }
10905 if eval test \${$as_wine_cv_crosscc_c99+y}
10906 then :
10907 printf %s "(cached) " >&6
10908 else $as_nop
10909 eval "$as_wine_cv_crosscc_c99=no"
10910 for arg in '' '-std=gnu99'
10912 test -z "$arg" || CC="$CC $arg"
10913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10914 /* end confdefs.h. */
10915 $ac_c_conftest_c99_program
10916 _ACEOF
10917 if ac_fn_c_try_compile "$LINENO"
10918 then :
10919 eval "$as_wine_cv_crosscc_c99=\$arg"
10920 else $as_nop
10921 eval "$as_wine_cv_crosscc_c99=no"
10923 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10924 eval CC=\$${wine_arch}_CC
10925 if eval test \"x\$"$as_wine_cv_crosscc_c99"\" = x"no"
10926 then :
10928 else $as_nop
10929 break
10931 done
10934 eval res=\$$as_wine_cv_crosscc_c99
10935 case "x$res" in
10936 x) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
10937 printf "%s\n" "none needed" >&6; } ;;
10938 xno) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
10939 printf "%s\n" "unsupported" >&6; } ;;
10940 x*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $res" >&5
10941 printf "%s\n" "$res" >&6; }
10942 as_fn_append ${wine_arch}_CC " $res" ;;
10943 esac
10946 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-strict-aliasing" | $as_tr_sh`
10947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-strict-aliasing" >&5
10948 printf %s "checking whether $CC supports -fno-strict-aliasing... " >&6; }
10949 if eval test \${$as_ac_var+y}
10950 then :
10951 printf %s "(cached) " >&6
10952 else $as_nop
10953 ac_wine_try_cflags_saved=$CFLAGS
10954 ac_wine_try_cflags_saved_exeext=$ac_exeext
10955 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -fno-strict-aliasing"
10956 ac_exeext=".exe"
10957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10958 /* end confdefs.h. */
10959 int __cdecl mainCRTStartup(void) { return 0; }
10960 _ACEOF
10961 if ac_fn_c_try_link "$LINENO"
10962 then :
10963 eval "$as_ac_var=yes"
10964 else $as_nop
10965 eval "$as_ac_var=no"
10967 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10968 conftest$ac_exeext conftest.$ac_ext
10969 CFLAGS=$ac_wine_try_cflags_saved
10970 ac_exeext=$ac_wine_try_cflags_saved_exeext
10972 eval ac_res=\$$as_ac_var
10973 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10974 printf "%s\n" "$ac_res" >&6; }
10975 if eval test \"x\$"$as_ac_var"\" = x"yes"
10976 then :
10977 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-strict-aliasing"
10978 fi }
10979 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=unknown-warning-option" | $as_tr_sh`
10980 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=unknown-warning-option" >&5
10981 printf %s "checking whether $CC supports -Werror=unknown-warning-option... " >&6; }
10982 if eval test \${$as_ac_var+y}
10983 then :
10984 printf %s "(cached) " >&6
10985 else $as_nop
10986 ac_wine_try_cflags_saved=$CFLAGS
10987 ac_wine_try_cflags_saved_exeext=$ac_exeext
10988 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Werror=unknown-warning-option"
10989 ac_exeext=".exe"
10990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10991 /* end confdefs.h. */
10992 int __cdecl mainCRTStartup(void) { return 0; }
10993 _ACEOF
10994 if ac_fn_c_try_link "$LINENO"
10995 then :
10996 eval "$as_ac_var=yes"
10997 else $as_nop
10998 eval "$as_ac_var=no"
11000 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11001 conftest$ac_exeext conftest.$ac_ext
11002 CFLAGS=$ac_wine_try_cflags_saved
11003 ac_exeext=$ac_wine_try_cflags_saved_exeext
11005 eval ac_res=\$$as_ac_var
11006 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11007 printf "%s\n" "$ac_res" >&6; }
11008 if eval test \"x\$"$as_ac_var"\" = x"yes"
11009 then :
11010 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
11011 fi }
11012 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=ignored-optimization-argument" | $as_tr_sh`
11013 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=ignored-optimization-argument" >&5
11014 printf %s "checking whether $CC supports -Werror=ignored-optimization-argument... " >&6; }
11015 if eval test \${$as_ac_var+y}
11016 then :
11017 printf %s "(cached) " >&6
11018 else $as_nop
11019 ac_wine_try_cflags_saved=$CFLAGS
11020 ac_wine_try_cflags_saved_exeext=$ac_exeext
11021 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Werror=ignored-optimization-argument"
11022 ac_exeext=".exe"
11023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11024 /* end confdefs.h. */
11025 int __cdecl mainCRTStartup(void) { return 0; }
11026 _ACEOF
11027 if ac_fn_c_try_link "$LINENO"
11028 then :
11029 eval "$as_ac_var=yes"
11030 else $as_nop
11031 eval "$as_ac_var=no"
11033 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11034 conftest$ac_exeext conftest.$ac_ext
11035 CFLAGS=$ac_wine_try_cflags_saved
11036 ac_exeext=$ac_wine_try_cflags_saved_exeext
11038 eval ac_res=\$$as_ac_var
11039 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11040 printf "%s\n" "$ac_res" >&6; }
11041 if eval test \"x\$"$as_ac_var"\" = x"yes"
11042 then :
11043 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
11044 fi }
11045 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wdeclaration-after-statement" | $as_tr_sh`
11046 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wdeclaration-after-statement" >&5
11047 printf %s "checking whether $CC supports -Wdeclaration-after-statement... " >&6; }
11048 if eval test \${$as_ac_var+y}
11049 then :
11050 printf %s "(cached) " >&6
11051 else $as_nop
11052 ac_wine_try_cflags_saved=$CFLAGS
11053 ac_wine_try_cflags_saved_exeext=$ac_exeext
11054 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wdeclaration-after-statement"
11055 ac_exeext=".exe"
11056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11057 /* end confdefs.h. */
11058 int __cdecl mainCRTStartup(void) { return 0; }
11059 _ACEOF
11060 if ac_fn_c_try_link "$LINENO"
11061 then :
11062 eval "$as_ac_var=yes"
11063 else $as_nop
11064 eval "$as_ac_var=no"
11066 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11067 conftest$ac_exeext conftest.$ac_ext
11068 CFLAGS=$ac_wine_try_cflags_saved
11069 ac_exeext=$ac_wine_try_cflags_saved_exeext
11071 eval ac_res=\$$as_ac_var
11072 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11073 printf "%s\n" "$ac_res" >&6; }
11074 if eval test \"x\$"$as_ac_var"\" = x"yes"
11075 then :
11076 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wdeclaration-after-statement"
11077 fi }
11078 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wempty-body" | $as_tr_sh`
11079 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wempty-body" >&5
11080 printf %s "checking whether $CC supports -Wempty-body... " >&6; }
11081 if eval test \${$as_ac_var+y}
11082 then :
11083 printf %s "(cached) " >&6
11084 else $as_nop
11085 ac_wine_try_cflags_saved=$CFLAGS
11086 ac_wine_try_cflags_saved_exeext=$ac_exeext
11087 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wempty-body"
11088 ac_exeext=".exe"
11089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11090 /* end confdefs.h. */
11091 int __cdecl mainCRTStartup(void) { return 0; }
11092 _ACEOF
11093 if ac_fn_c_try_link "$LINENO"
11094 then :
11095 eval "$as_ac_var=yes"
11096 else $as_nop
11097 eval "$as_ac_var=no"
11099 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11100 conftest$ac_exeext conftest.$ac_ext
11101 CFLAGS=$ac_wine_try_cflags_saved
11102 ac_exeext=$ac_wine_try_cflags_saved_exeext
11104 eval ac_res=\$$as_ac_var
11105 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11106 printf "%s\n" "$ac_res" >&6; }
11107 if eval test \"x\$"$as_ac_var"\" = x"yes"
11108 then :
11109 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wempty-body"
11110 fi }
11111 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wignored-qualifiers" | $as_tr_sh`
11112 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wignored-qualifiers" >&5
11113 printf %s "checking whether $CC supports -Wignored-qualifiers... " >&6; }
11114 if eval test \${$as_ac_var+y}
11115 then :
11116 printf %s "(cached) " >&6
11117 else $as_nop
11118 ac_wine_try_cflags_saved=$CFLAGS
11119 ac_wine_try_cflags_saved_exeext=$ac_exeext
11120 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wignored-qualifiers"
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 eval "$as_ac_var=yes"
11129 else $as_nop
11130 eval "$as_ac_var=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 ac_exeext=$ac_wine_try_cflags_saved_exeext
11137 eval ac_res=\$$as_ac_var
11138 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11139 printf "%s\n" "$ac_res" >&6; }
11140 if eval test \"x\$"$as_ac_var"\" = x"yes"
11141 then :
11142 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wignored-qualifiers"
11143 fi }
11144 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Winit-self" | $as_tr_sh`
11145 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Winit-self" >&5
11146 printf %s "checking whether $CC supports -Winit-self... " >&6; }
11147 if eval test \${$as_ac_var+y}
11148 then :
11149 printf %s "(cached) " >&6
11150 else $as_nop
11151 ac_wine_try_cflags_saved=$CFLAGS
11152 ac_wine_try_cflags_saved_exeext=$ac_exeext
11153 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Winit-self"
11154 ac_exeext=".exe"
11155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11156 /* end confdefs.h. */
11157 int __cdecl mainCRTStartup(void) { return 0; }
11158 _ACEOF
11159 if ac_fn_c_try_link "$LINENO"
11160 then :
11161 eval "$as_ac_var=yes"
11162 else $as_nop
11163 eval "$as_ac_var=no"
11165 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11166 conftest$ac_exeext conftest.$ac_ext
11167 CFLAGS=$ac_wine_try_cflags_saved
11168 ac_exeext=$ac_wine_try_cflags_saved_exeext
11170 eval ac_res=\$$as_ac_var
11171 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11172 printf "%s\n" "$ac_res" >&6; }
11173 if eval test \"x\$"$as_ac_var"\" = x"yes"
11174 then :
11175 as_fn_append ${wine_arch}_EXTRACFLAGS " -Winit-self"
11176 fi }
11177 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpacked-not-aligned" | $as_tr_sh`
11178 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpacked-not-aligned" >&5
11179 printf %s "checking whether $CC supports -Wpacked-not-aligned... " >&6; }
11180 if eval test \${$as_ac_var+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_exeext=$ac_exeext
11186 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wpacked-not-aligned"
11187 ac_exeext=".exe"
11188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11189 /* end confdefs.h. */
11190 int __cdecl mainCRTStartup(void) { return 0; }
11191 _ACEOF
11192 if ac_fn_c_try_link "$LINENO"
11193 then :
11194 eval "$as_ac_var=yes"
11195 else $as_nop
11196 eval "$as_ac_var=no"
11198 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11199 conftest$ac_exeext conftest.$ac_ext
11200 CFLAGS=$ac_wine_try_cflags_saved
11201 ac_exeext=$ac_wine_try_cflags_saved_exeext
11203 eval ac_res=\$$as_ac_var
11204 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11205 printf "%s\n" "$ac_res" >&6; }
11206 if eval test \"x\$"$as_ac_var"\" = x"yes"
11207 then :
11208 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-packed-not-aligned"
11209 fi }
11210 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpragma-pack" | $as_tr_sh`
11211 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpragma-pack" >&5
11212 printf %s "checking whether $CC supports -Wpragma-pack... " >&6; }
11213 if eval test \${$as_ac_var+y}
11214 then :
11215 printf %s "(cached) " >&6
11216 else $as_nop
11217 ac_wine_try_cflags_saved=$CFLAGS
11218 ac_wine_try_cflags_saved_exeext=$ac_exeext
11219 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wpragma-pack"
11220 ac_exeext=".exe"
11221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11222 /* end confdefs.h. */
11223 int __cdecl mainCRTStartup(void) { return 0; }
11224 _ACEOF
11225 if ac_fn_c_try_link "$LINENO"
11226 then :
11227 eval "$as_ac_var=yes"
11228 else $as_nop
11229 eval "$as_ac_var=no"
11231 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11232 conftest$ac_exeext conftest.$ac_ext
11233 CFLAGS=$ac_wine_try_cflags_saved
11234 ac_exeext=$ac_wine_try_cflags_saved_exeext
11236 eval ac_res=\$$as_ac_var
11237 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11238 printf "%s\n" "$ac_res" >&6; }
11239 if eval test \"x\$"$as_ac_var"\" = x"yes"
11240 then :
11241 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-pragma-pack"
11242 fi }
11243 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wshift-overflow=2" | $as_tr_sh`
11244 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wshift-overflow=2" >&5
11245 printf %s "checking whether $CC supports -Wshift-overflow=2... " >&6; }
11246 if eval test \${$as_ac_var+y}
11247 then :
11248 printf %s "(cached) " >&6
11249 else $as_nop
11250 ac_wine_try_cflags_saved=$CFLAGS
11251 ac_wine_try_cflags_saved_exeext=$ac_exeext
11252 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wshift-overflow=2"
11253 ac_exeext=".exe"
11254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11255 /* end confdefs.h. */
11256 int __cdecl mainCRTStartup(void) { return 0; }
11257 _ACEOF
11258 if ac_fn_c_try_link "$LINENO"
11259 then :
11260 eval "$as_ac_var=yes"
11261 else $as_nop
11262 eval "$as_ac_var=no"
11264 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11265 conftest$ac_exeext conftest.$ac_ext
11266 CFLAGS=$ac_wine_try_cflags_saved
11267 ac_exeext=$ac_wine_try_cflags_saved_exeext
11269 eval ac_res=\$$as_ac_var
11270 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11271 printf "%s\n" "$ac_res" >&6; }
11272 if eval test \"x\$"$as_ac_var"\" = x"yes"
11273 then :
11274 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wshift-overflow=2"
11275 fi }
11276 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wstrict-prototypes" | $as_tr_sh`
11277 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wstrict-prototypes" >&5
11278 printf %s "checking whether $CC supports -Wstrict-prototypes... " >&6; }
11279 if eval test \${$as_ac_var+y}
11280 then :
11281 printf %s "(cached) " >&6
11282 else $as_nop
11283 ac_wine_try_cflags_saved=$CFLAGS
11284 ac_wine_try_cflags_saved_exeext=$ac_exeext
11285 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wstrict-prototypes"
11286 ac_exeext=".exe"
11287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11288 /* end confdefs.h. */
11289 int __cdecl mainCRTStartup(void) { return 0; }
11290 _ACEOF
11291 if ac_fn_c_try_link "$LINENO"
11292 then :
11293 eval "$as_ac_var=yes"
11294 else $as_nop
11295 eval "$as_ac_var=no"
11297 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11298 conftest$ac_exeext conftest.$ac_ext
11299 CFLAGS=$ac_wine_try_cflags_saved
11300 ac_exeext=$ac_wine_try_cflags_saved_exeext
11302 eval ac_res=\$$as_ac_var
11303 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11304 printf "%s\n" "$ac_res" >&6; }
11305 if eval test \"x\$"$as_ac_var"\" = x"yes"
11306 then :
11307 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wstrict-prototypes"
11308 fi }
11309 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wtype-limits" | $as_tr_sh`
11310 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wtype-limits" >&5
11311 printf %s "checking whether $CC supports -Wtype-limits... " >&6; }
11312 if eval test \${$as_ac_var+y}
11313 then :
11314 printf %s "(cached) " >&6
11315 else $as_nop
11316 ac_wine_try_cflags_saved=$CFLAGS
11317 ac_wine_try_cflags_saved_exeext=$ac_exeext
11318 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wtype-limits"
11319 ac_exeext=".exe"
11320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11321 /* end confdefs.h. */
11322 int __cdecl mainCRTStartup(void) { return 0; }
11323 _ACEOF
11324 if ac_fn_c_try_link "$LINENO"
11325 then :
11326 eval "$as_ac_var=yes"
11327 else $as_nop
11328 eval "$as_ac_var=no"
11330 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11331 conftest$ac_exeext conftest.$ac_ext
11332 CFLAGS=$ac_wine_try_cflags_saved
11333 ac_exeext=$ac_wine_try_cflags_saved_exeext
11335 eval ac_res=\$$as_ac_var
11336 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11337 printf "%s\n" "$ac_res" >&6; }
11338 if eval test \"x\$"$as_ac_var"\" = x"yes"
11339 then :
11340 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wtype-limits"
11341 fi }
11342 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wunused-but-set-parameter" | $as_tr_sh`
11343 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wunused-but-set-parameter" >&5
11344 printf %s "checking whether $CC supports -Wunused-but-set-parameter... " >&6; }
11345 if eval test \${$as_ac_var+y}
11346 then :
11347 printf %s "(cached) " >&6
11348 else $as_nop
11349 ac_wine_try_cflags_saved=$CFLAGS
11350 ac_wine_try_cflags_saved_exeext=$ac_exeext
11351 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wunused-but-set-parameter"
11352 ac_exeext=".exe"
11353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11354 /* end confdefs.h. */
11355 int __cdecl mainCRTStartup(void) { return 0; }
11356 _ACEOF
11357 if ac_fn_c_try_link "$LINENO"
11358 then :
11359 eval "$as_ac_var=yes"
11360 else $as_nop
11361 eval "$as_ac_var=no"
11363 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11364 conftest$ac_exeext conftest.$ac_ext
11365 CFLAGS=$ac_wine_try_cflags_saved
11366 ac_exeext=$ac_wine_try_cflags_saved_exeext
11368 eval ac_res=\$$as_ac_var
11369 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11370 printf "%s\n" "$ac_res" >&6; }
11371 if eval test \"x\$"$as_ac_var"\" = x"yes"
11372 then :
11373 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wunused-but-set-parameter"
11374 fi }
11375 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wvla" | $as_tr_sh`
11376 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wvla" >&5
11377 printf %s "checking whether $CC supports -Wvla... " >&6; }
11378 if eval test \${$as_ac_var+y}
11379 then :
11380 printf %s "(cached) " >&6
11381 else $as_nop
11382 ac_wine_try_cflags_saved=$CFLAGS
11383 ac_wine_try_cflags_saved_exeext=$ac_exeext
11384 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wvla"
11385 ac_exeext=".exe"
11386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11387 /* end confdefs.h. */
11388 int __cdecl mainCRTStartup(void) { return 0; }
11389 _ACEOF
11390 if ac_fn_c_try_link "$LINENO"
11391 then :
11392 eval "$as_ac_var=yes"
11393 else $as_nop
11394 eval "$as_ac_var=no"
11396 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11397 conftest$ac_exeext conftest.$ac_ext
11398 CFLAGS=$ac_wine_try_cflags_saved
11399 ac_exeext=$ac_wine_try_cflags_saved_exeext
11401 eval ac_res=\$$as_ac_var
11402 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11403 printf "%s\n" "$ac_res" >&6; }
11404 if eval test \"x\$"$as_ac_var"\" = x"yes"
11405 then :
11406 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wvla"
11407 fi }
11408 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wwrite-strings" | $as_tr_sh`
11409 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wwrite-strings" >&5
11410 printf %s "checking whether $CC supports -Wwrite-strings... " >&6; }
11411 if eval test \${$as_ac_var+y}
11412 then :
11413 printf %s "(cached) " >&6
11414 else $as_nop
11415 ac_wine_try_cflags_saved=$CFLAGS
11416 ac_wine_try_cflags_saved_exeext=$ac_exeext
11417 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wwrite-strings"
11418 ac_exeext=".exe"
11419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11420 /* end confdefs.h. */
11421 int __cdecl mainCRTStartup(void) { return 0; }
11422 _ACEOF
11423 if ac_fn_c_try_link "$LINENO"
11424 then :
11425 eval "$as_ac_var=yes"
11426 else $as_nop
11427 eval "$as_ac_var=no"
11429 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11430 conftest$ac_exeext conftest.$ac_ext
11431 CFLAGS=$ac_wine_try_cflags_saved
11432 ac_exeext=$ac_wine_try_cflags_saved_exeext
11434 eval ac_res=\$$as_ac_var
11435 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11436 printf "%s\n" "$ac_res" >&6; }
11437 if eval test \"x\$"$as_ac_var"\" = x"yes"
11438 then :
11439 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wwrite-strings"
11440 fi }
11441 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpointer-arith" | $as_tr_sh`
11442 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpointer-arith" >&5
11443 printf %s "checking whether $CC supports -Wpointer-arith... " >&6; }
11444 if eval test \${$as_ac_var+y}
11445 then :
11446 printf %s "(cached) " >&6
11447 else $as_nop
11448 ac_wine_try_cflags_saved=$CFLAGS
11449 ac_wine_try_cflags_saved_exeext=$ac_exeext
11450 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wpointer-arith"
11451 ac_exeext=".exe"
11452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11453 /* end confdefs.h. */
11454 int __cdecl mainCRTStartup(void) { return 0; }
11455 _ACEOF
11456 if ac_fn_c_try_link "$LINENO"
11457 then :
11458 eval "$as_ac_var=yes"
11459 else $as_nop
11460 eval "$as_ac_var=no"
11462 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11463 conftest$ac_exeext conftest.$ac_ext
11464 CFLAGS=$ac_wine_try_cflags_saved
11465 ac_exeext=$ac_wine_try_cflags_saved_exeext
11467 eval ac_res=\$$as_ac_var
11468 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11469 printf "%s\n" "$ac_res" >&6; }
11470 if eval test \"x\$"$as_ac_var"\" = x"yes"
11471 then :
11472 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wpointer-arith"
11473 fi }
11474 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wlogical-op" | $as_tr_sh`
11475 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wlogical-op" >&5
11476 printf %s "checking whether $CC supports -Wlogical-op... " >&6; }
11477 if eval test \${$as_ac_var+y}
11478 then :
11479 printf %s "(cached) " >&6
11480 else $as_nop
11481 ac_wine_try_cflags_saved=$CFLAGS
11482 ac_wine_try_cflags_saved_exeext=$ac_exeext
11483 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wlogical-op"
11484 ac_exeext=".exe"
11485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11486 /* end confdefs.h. */
11487 int __cdecl mainCRTStartup(void) { return 0; }
11488 _ACEOF
11489 if ac_fn_c_try_link "$LINENO"
11490 then :
11491 eval "$as_ac_var=yes"
11492 else $as_nop
11493 eval "$as_ac_var=no"
11495 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11496 conftest$ac_exeext conftest.$ac_ext
11497 CFLAGS=$ac_wine_try_cflags_saved
11498 ac_exeext=$ac_wine_try_cflags_saved_exeext
11500 eval ac_res=\$$as_ac_var
11501 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11502 printf "%s\n" "$ac_res" >&6; }
11503 if eval test \"x\$"$as_ac_var"\" = x"yes"
11504 then :
11505 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wlogical-op"
11506 fi }
11507 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wabsolute-value" | $as_tr_sh`
11508 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wabsolute-value" >&5
11509 printf %s "checking whether $CC supports -Wabsolute-value... " >&6; }
11510 if eval test \${$as_ac_var+y}
11511 then :
11512 printf %s "(cached) " >&6
11513 else $as_nop
11514 ac_wine_try_cflags_saved=$CFLAGS
11515 ac_wine_try_cflags_saved_exeext=$ac_exeext
11516 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wabsolute-value"
11517 ac_exeext=".exe"
11518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11519 /* end confdefs.h. */
11520 int __cdecl mainCRTStartup(void) { return 0; }
11521 _ACEOF
11522 if ac_fn_c_try_link "$LINENO"
11523 then :
11524 eval "$as_ac_var=yes"
11525 else $as_nop
11526 eval "$as_ac_var=no"
11528 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11529 conftest$ac_exeext conftest.$ac_ext
11530 CFLAGS=$ac_wine_try_cflags_saved
11531 ac_exeext=$ac_wine_try_cflags_saved_exeext
11533 eval ac_res=\$$as_ac_var
11534 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11535 printf "%s\n" "$ac_res" >&6; }
11536 if eval test \"x\$"$as_ac_var"\" = x"yes"
11537 then :
11538 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wabsolute-value"
11539 fi }
11541 case $wine_arch in
11542 i386) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-omit-frame-pointer" | $as_tr_sh`
11543 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-omit-frame-pointer" >&5
11544 printf %s "checking whether $CC supports -fno-omit-frame-pointer... " >&6; }
11545 if eval test \${$as_ac_var+y}
11546 then :
11547 printf %s "(cached) " >&6
11548 else $as_nop
11549 ac_wine_try_cflags_saved=$CFLAGS
11550 ac_wine_try_cflags_saved_exeext=$ac_exeext
11551 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -fno-omit-frame-pointer"
11552 ac_exeext=".exe"
11553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11554 /* end confdefs.h. */
11555 int __cdecl mainCRTStartup(void) { return 0; }
11556 _ACEOF
11557 if ac_fn_c_try_link "$LINENO"
11558 then :
11559 eval "$as_ac_var=yes"
11560 else $as_nop
11561 eval "$as_ac_var=no"
11563 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11564 conftest$ac_exeext conftest.$ac_ext
11565 CFLAGS=$ac_wine_try_cflags_saved
11566 ac_exeext=$ac_wine_try_cflags_saved_exeext
11568 eval ac_res=\$$as_ac_var
11569 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11570 printf "%s\n" "$ac_res" >&6; }
11571 if eval test \"x\$"$as_ac_var"\" = x"yes"
11572 then :
11573 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-omit-frame-pointer"
11574 fi }
11575 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--disable-stdcall-fixup" | $as_tr_sh`
11576 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--disable-stdcall-fixup" >&5
11577 printf %s "checking whether $CC supports -Wl,--disable-stdcall-fixup... " >&6; }
11578 if eval test \${$as_ac_var+y}
11579 then :
11580 printf %s "(cached) " >&6
11581 else $as_nop
11582 ac_wine_try_cflags_saved=$CFLAGS
11583 ac_wine_try_cflags_saved_exeext=$ac_exeext
11584 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wl,--disable-stdcall-fixup"
11585 ac_exeext=".exe"
11586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11587 /* end confdefs.h. */
11588 int __cdecl mainCRTStartup(void) { return 0; }
11589 _ACEOF
11590 if ac_fn_c_try_link "$LINENO"
11591 then :
11592 eval "$as_ac_var=yes"
11593 else $as_nop
11594 eval "$as_ac_var=no"
11596 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11597 conftest$ac_exeext conftest.$ac_ext
11598 CFLAGS=$ac_wine_try_cflags_saved
11599 ac_exeext=$ac_wine_try_cflags_saved_exeext
11601 eval ac_res=\$$as_ac_var
11602 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11603 printf "%s\n" "$ac_res" >&6; }
11604 if eval test \"x\$"$as_ac_var"\" = x"yes"
11605 then :
11606 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--disable-stdcall-fixup"
11607 fi } ;;
11608 x86_64) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wno-format" | $as_tr_sh`
11609 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wno-format" >&5
11610 printf %s "checking whether $CC supports -Wno-format... " >&6; }
11611 if eval test \${$as_ac_var+y}
11612 then :
11613 printf %s "(cached) " >&6
11614 else $as_nop
11615 ac_wine_try_cflags_saved=$CFLAGS
11616 ac_wine_try_cflags_saved_exeext=$ac_exeext
11617 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wno-format"
11618 ac_exeext=".exe"
11619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11620 /* end confdefs.h. */
11621 int __cdecl mainCRTStartup(void) { return 0; }
11622 _ACEOF
11623 if ac_fn_c_try_link "$LINENO"
11624 then :
11625 eval "$as_ac_var=yes"
11626 else $as_nop
11627 eval "$as_ac_var=no"
11629 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11630 conftest$ac_exeext conftest.$ac_ext
11631 CFLAGS=$ac_wine_try_cflags_saved
11632 ac_exeext=$ac_wine_try_cflags_saved_exeext
11634 eval ac_res=\$$as_ac_var
11635 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11636 printf "%s\n" "$ac_res" >&6; }
11637 if eval test \"x\$"$as_ac_var"\" = x"yes"
11638 then :
11639 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-format"
11640 fi }
11641 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wformat-overflow" | $as_tr_sh`
11642 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wformat-overflow" >&5
11643 printf %s "checking whether $CC supports -Wformat-overflow... " >&6; }
11644 if eval test \${$as_ac_var+y}
11645 then :
11646 printf %s "(cached) " >&6
11647 else $as_nop
11648 ac_wine_try_cflags_saved=$CFLAGS
11649 ac_wine_try_cflags_saved_exeext=$ac_exeext
11650 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wformat-overflow"
11651 ac_exeext=".exe"
11652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11653 /* end confdefs.h. */
11654 int __cdecl mainCRTStartup(void) { return 0; }
11655 _ACEOF
11656 if ac_fn_c_try_link "$LINENO"
11657 then :
11658 eval "$as_ac_var=yes"
11659 else $as_nop
11660 eval "$as_ac_var=no"
11662 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11663 conftest$ac_exeext conftest.$ac_ext
11664 CFLAGS=$ac_wine_try_cflags_saved
11665 ac_exeext=$ac_wine_try_cflags_saved_exeext
11667 eval ac_res=\$$as_ac_var
11668 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11669 printf "%s\n" "$ac_res" >&6; }
11670 if eval test \"x\$"$as_ac_var"\" = x"yes"
11671 then :
11672 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wformat-overflow"
11673 fi }
11674 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wnonnull" | $as_tr_sh`
11675 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wnonnull" >&5
11676 printf %s "checking whether $CC supports -Wnonnull... " >&6; }
11677 if eval test \${$as_ac_var+y}
11678 then :
11679 printf %s "(cached) " >&6
11680 else $as_nop
11681 ac_wine_try_cflags_saved=$CFLAGS
11682 ac_wine_try_cflags_saved_exeext=$ac_exeext
11683 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wnonnull"
11684 ac_exeext=".exe"
11685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11686 /* end confdefs.h. */
11687 int __cdecl mainCRTStartup(void) { return 0; }
11688 _ACEOF
11689 if ac_fn_c_try_link "$LINENO"
11690 then :
11691 eval "$as_ac_var=yes"
11692 else $as_nop
11693 eval "$as_ac_var=no"
11695 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11696 conftest$ac_exeext conftest.$ac_ext
11697 CFLAGS=$ac_wine_try_cflags_saved
11698 ac_exeext=$ac_wine_try_cflags_saved_exeext
11700 eval ac_res=\$$as_ac_var
11701 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11702 printf "%s\n" "$ac_res" >&6; }
11703 if eval test \"x\$"$as_ac_var"\" = x"yes"
11704 then :
11705 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wnonnull"
11706 fi }
11707 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-mcx16" | $as_tr_sh`
11708 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mcx16" >&5
11709 printf %s "checking whether $CC supports -mcx16... " >&6; }
11710 if eval test \${$as_ac_var+y}
11711 then :
11712 printf %s "(cached) " >&6
11713 else $as_nop
11714 ac_wine_try_cflags_saved=$CFLAGS
11715 ac_wine_try_cflags_saved_exeext=$ac_exeext
11716 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -mcx16"
11717 ac_exeext=".exe"
11718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11719 /* end confdefs.h. */
11720 int __cdecl mainCRTStartup(void) { return 0; }
11721 _ACEOF
11722 if ac_fn_c_try_link "$LINENO"
11723 then :
11724 eval "$as_ac_var=yes"
11725 else $as_nop
11726 eval "$as_ac_var=no"
11728 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11729 conftest$ac_exeext conftest.$ac_ext
11730 CFLAGS=$ac_wine_try_cflags_saved
11731 ac_exeext=$ac_wine_try_cflags_saved_exeext
11733 eval ac_res=\$$as_ac_var
11734 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11735 printf "%s\n" "$ac_res" >&6; }
11736 if eval test \"x\$"$as_ac_var"\" = x"yes"
11737 then :
11738 as_fn_append ${wine_arch}_EXTRACFLAGS " -mcx16"
11739 fi } ;;
11740 aarch64) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wno-format" | $as_tr_sh`
11741 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wno-format" >&5
11742 printf %s "checking whether $CC supports -Wno-format... " >&6; }
11743 if eval test \${$as_ac_var+y}
11744 then :
11745 printf %s "(cached) " >&6
11746 else $as_nop
11747 ac_wine_try_cflags_saved=$CFLAGS
11748 ac_wine_try_cflags_saved_exeext=$ac_exeext
11749 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wno-format"
11750 ac_exeext=".exe"
11751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11752 /* end confdefs.h. */
11753 int __cdecl mainCRTStartup(void) { return 0; }
11754 _ACEOF
11755 if ac_fn_c_try_link "$LINENO"
11756 then :
11757 eval "$as_ac_var=yes"
11758 else $as_nop
11759 eval "$as_ac_var=no"
11761 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11762 conftest$ac_exeext conftest.$ac_ext
11763 CFLAGS=$ac_wine_try_cflags_saved
11764 ac_exeext=$ac_wine_try_cflags_saved_exeext
11766 eval ac_res=\$$as_ac_var
11767 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11768 printf "%s\n" "$ac_res" >&6; }
11769 if eval test \"x\$"$as_ac_var"\" = x"yes"
11770 then :
11771 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-format"
11772 fi } ;;
11773 esac
11775 wine_crossdebug=$CROSSDEBUG
11776 if test -z "$wine_crossdebug"
11777 then
11778 for ac_flag in $CFLAGS; do
11779 case $ac_flag in
11780 -gdwarf*) wine_crossdebug=dwarf ;;
11781 -gcodeview) wine_crossdebug=pdb ;;
11782 -g) wine_crossdebug=${wine_crossdebug:-dwarf} ;;
11783 esac
11784 done
11787 ac_debug_format_seen=""
11788 for ac_flag in $CFLAGS; do
11789 case $ac_flag in
11790 -gdwarf*|-gcodeview) ac_debug_format_seen=$ac_flag ;;
11791 esac
11792 done
11793 if test "x$ac_debug_format_seen" = x
11794 then
11795 case $wine_crossdebug in
11796 *dwarf) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gdwarf-4" | $as_tr_sh`
11797 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gdwarf-4" >&5
11798 printf %s "checking whether $CC supports -gdwarf-4... " >&6; }
11799 if eval test \${$as_ac_var+y}
11800 then :
11801 printf %s "(cached) " >&6
11802 else $as_nop
11803 ac_wine_try_cflags_saved=$CFLAGS
11804 ac_wine_try_cflags_saved_exeext=$ac_exeext
11805 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -gdwarf-4"
11806 ac_exeext=".exe"
11807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11808 /* end confdefs.h. */
11809 int __cdecl mainCRTStartup(void) { return 0; }
11810 _ACEOF
11811 if ac_fn_c_try_link "$LINENO"
11812 then :
11813 eval "$as_ac_var=yes"
11814 else $as_nop
11815 eval "$as_ac_var=no"
11817 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11818 conftest$ac_exeext conftest.$ac_ext
11819 CFLAGS=$ac_wine_try_cflags_saved
11820 ac_exeext=$ac_wine_try_cflags_saved_exeext
11822 eval ac_res=\$$as_ac_var
11823 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11824 printf "%s\n" "$ac_res" >&6; }
11825 if eval test \"x\$"$as_ac_var"\" = x"yes"
11826 then :
11827 as_fn_append ${wine_arch}_EXTRACFLAGS " -gdwarf-4"
11828 fi } ;;
11829 pdb) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gcodeview" | $as_tr_sh`
11830 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gcodeview" >&5
11831 printf %s "checking whether $CC supports -gcodeview... " >&6; }
11832 if eval test \${$as_ac_var+y}
11833 then :
11834 printf %s "(cached) " >&6
11835 else $as_nop
11836 ac_wine_try_cflags_saved=$CFLAGS
11837 ac_wine_try_cflags_saved_exeext=$ac_exeext
11838 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -gcodeview"
11839 ac_exeext=".exe"
11840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11841 /* end confdefs.h. */
11842 int __cdecl mainCRTStartup(void) { return 0; }
11843 _ACEOF
11844 if ac_fn_c_try_link "$LINENO"
11845 then :
11846 eval "$as_ac_var=yes"
11847 else $as_nop
11848 eval "$as_ac_var=no"
11850 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11851 conftest$ac_exeext conftest.$ac_ext
11852 CFLAGS=$ac_wine_try_cflags_saved
11853 ac_exeext=$ac_wine_try_cflags_saved_exeext
11855 eval ac_res=\$$as_ac_var
11856 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11857 printf "%s\n" "$ac_res" >&6; }
11858 if eval test \"x\$"$as_ac_var"\" = x"yes"
11859 then :
11860 as_fn_append ${wine_arch}_EXTRACFLAGS " -gcodeview"
11861 fi } ;;
11862 esac
11864 eval "${wine_arch}_DEBUG=\$wine_crossdebug"
11866 test "x$enable_werror" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror" | $as_tr_sh`
11867 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror" >&5
11868 printf %s "checking whether $CC supports -Werror... " >&6; }
11869 if eval test \${$as_ac_var+y}
11870 then :
11871 printf %s "(cached) " >&6
11872 else $as_nop
11873 ac_wine_try_cflags_saved=$CFLAGS
11874 ac_wine_try_cflags_saved_exeext=$ac_exeext
11875 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Werror"
11876 ac_exeext=".exe"
11877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11878 /* end confdefs.h. */
11879 int __cdecl mainCRTStartup(void) { return 0; }
11880 _ACEOF
11881 if ac_fn_c_try_link "$LINENO"
11882 then :
11883 eval "$as_ac_var=yes"
11884 else $as_nop
11885 eval "$as_ac_var=no"
11887 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11888 conftest$ac_exeext conftest.$ac_ext
11889 CFLAGS=$ac_wine_try_cflags_saved
11890 ac_exeext=$ac_wine_try_cflags_saved_exeext
11892 eval ac_res=\$$as_ac_var
11893 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11894 printf "%s\n" "$ac_res" >&6; }
11895 if eval test \"x\$"$as_ac_var"\" = x"yes"
11896 then :
11897 as_fn_append ${wine_arch}_EXTRACFLAGS " -Werror"
11898 fi }
11899 test "x$enable_build_id" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--build-id" | $as_tr_sh`
11900 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--build-id" >&5
11901 printf %s "checking whether $CC supports -Wl,--build-id... " >&6; }
11902 if eval test \${$as_ac_var+y}
11903 then :
11904 printf %s "(cached) " >&6
11905 else $as_nop
11906 ac_wine_try_cflags_saved=$CFLAGS
11907 ac_wine_try_cflags_saved_exeext=$ac_exeext
11908 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs -Wl,--build-id"
11909 ac_exeext=".exe"
11910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11911 /* end confdefs.h. */
11912 int __cdecl mainCRTStartup(void) { return 0; }
11913 _ACEOF
11914 if ac_fn_c_try_link "$LINENO"
11915 then :
11916 eval "$as_ac_var=yes"
11917 else $as_nop
11918 eval "$as_ac_var=no"
11920 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11921 conftest$ac_exeext conftest.$ac_ext
11922 CFLAGS=$ac_wine_try_cflags_saved
11923 ac_exeext=$ac_wine_try_cflags_saved_exeext
11925 eval ac_res=\$$as_ac_var
11926 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11927 printf "%s\n" "$ac_res" >&6; }
11928 if eval test \"x\$"$as_ac_var"\" = x"yes"
11929 then :
11930 as_fn_append ${wine_arch}_CFLAGS " -Wl,--build-id"
11931 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--build-id"
11932 fi }
11934 CC=$saved_CC
11935 CFLAGS=$saved_CFLAGS
11936 done
11938 if test $HOST_ARCH = aarch64 -a "x$PE_ARCHS" = x
11939 then
11940 as_fn_error $? "PE cross-compilation is required for ARM64, please install clang/llvm-dlltool/lld, or llvm-mingw." "$LINENO" 5
11943 if test "x$PE_ARCHS" = "x"
11944 then :
11945 case "x$with_mingw" in
11946 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
11947 xno) ;;
11948 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
11949 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
11950 esac
11955 if test "x$with_system_dllpath" != "x" -a -n "$PE_ARCHS"
11956 then
11957 case "$host_cpu" in
11958 i[3456789]86*)
11959 ac_prefix_list="i686-w64-mingw32-pkg-config i586-w64-mingw32-pkg-config i486-w64-mingw32-pkg-config i386-w64-mingw32-pkg-config " ;;
11961 ac_prefix_list="$host_cpu-w64-mingw32-pkg-config" ;;
11962 esac
11963 for ac_prog in $ac_prefix_list
11965 # Extract the first word of "$ac_prog", so it can be a program name with args.
11966 set dummy $ac_prog; ac_word=$2
11967 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11968 printf %s "checking for $ac_word... " >&6; }
11969 if test ${ac_cv_prog_MINGW_PKG_CONFIG+y}
11970 then :
11971 printf %s "(cached) " >&6
11972 else $as_nop
11973 if test -n "$MINGW_PKG_CONFIG"; then
11974 ac_cv_prog_MINGW_PKG_CONFIG="$MINGW_PKG_CONFIG" # Let the user override the test.
11975 else
11976 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11977 for as_dir in $PATH
11979 IFS=$as_save_IFS
11980 case $as_dir in #(((
11981 '') as_dir=./ ;;
11982 */) ;;
11983 *) as_dir=$as_dir/ ;;
11984 esac
11985 for ac_exec_ext in '' $ac_executable_extensions; do
11986 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
11987 ac_cv_prog_MINGW_PKG_CONFIG="$ac_prog"
11988 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11989 break 2
11991 done
11992 done
11993 IFS=$as_save_IFS
11997 MINGW_PKG_CONFIG=$ac_cv_prog_MINGW_PKG_CONFIG
11998 if test -n "$MINGW_PKG_CONFIG"; then
11999 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MINGW_PKG_CONFIG" >&5
12000 printf "%s\n" "$MINGW_PKG_CONFIG" >&6; }
12001 else
12002 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
12003 printf "%s\n" "no" >&6; }
12007 test -n "$MINGW_PKG_CONFIG" && break
12008 done
12009 test -n "$MINGW_PKG_CONFIG" || MINGW_PKG_CONFIG="false"
12011 if ${FAUDIO_PE_CFLAGS:+false} :
12012 then :
12013 if test ${MINGW_PKG_CONFIG+y}
12014 then :
12015 FAUDIO_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags FAudio 2>/dev/null`
12018 if ${FAUDIO_PE_LIBS:+false} :
12019 then :
12020 if test ${MINGW_PKG_CONFIG+y}
12021 then :
12022 FAUDIO_PE_LIBS=`$MINGW_PKG_CONFIG --libs FAudio 2>/dev/null`
12025 FAUDIO_PE_LIBS=${FAUDIO_PE_LIBS:-"-lFAudio"}
12026 ac_save_CPPFLAGS=$CPPFLAGS
12027 CPPFLAGS="$CPPFLAGS $FAUDIO_PE_CFLAGS"
12028 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW FAudio.h" >&5
12029 printf %s "checking for MinGW FAudio.h... " >&6; }
12030 if test ${ac_cv_mingw_header_FAudio_h+y}
12031 then :
12032 printf %s "(cached) " >&6
12033 else $as_nop
12034 ac_wine_check_headers_saved_cc=$CC
12035 ac_wine_check_headers_saved_exeext=$ac_exeext
12036 eval CC=\$${wine_arch}_CC
12037 ac_exeext=".exe"
12038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12039 /* end confdefs.h. */
12041 #include <FAudio.h>
12043 main (void)
12047 return 0;
12049 _ACEOF
12050 if ac_fn_c_try_compile "$LINENO"
12051 then :
12052 ac_cv_mingw_header_FAudio_h=yes
12053 else $as_nop
12054 ac_cv_mingw_header_FAudio_h=no
12056 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12057 CC=$ac_wine_check_headers_saved_cc
12058 ac_exeext=$ac_wine_check_headers_saved_exeext
12060 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_FAudio_h" >&5
12061 printf "%s\n" "$ac_cv_mingw_header_FAudio_h" >&6; }
12062 if test "x$ac_cv_mingw_header_FAudio_h" = xyes
12063 then :
12064 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for FAudio_CommitOperationSet in MinGW -lFAudio" >&5
12065 printf %s "checking for FAudio_CommitOperationSet in MinGW -lFAudio... " >&6; }
12066 if test ${ac_cv_mingw_lib_FAudio+y}
12067 then :
12068 printf %s "(cached) " >&6
12069 else $as_nop
12070 ac_wine_check_headers_saved_cc=$CC
12071 ac_wine_check_headers_saved_exeext=$ac_exeext
12072 ac_wine_check_headers_saved_libs=$LIBS
12073 eval CC=\$${wine_arch}_CC
12074 ac_exeext=".exe"
12075 LIBS="-lFAudio $FAUDIO_PE_LIBS $LIBS"
12076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12077 /* end confdefs.h. */
12079 /* Override any GCC internal prototype to avoid an error.
12080 Use char because int might match the return type of a GCC
12081 builtin and then its argument prototype would still apply. */
12082 char FAudio_CommitOperationSet ();
12084 main (void)
12086 return FAudio_CommitOperationSet ();
12088 return 0;
12090 _ACEOF
12091 if ac_fn_c_try_link "$LINENO"
12092 then :
12093 ac_cv_mingw_lib_FAudio=yes
12094 else $as_nop
12095 ac_cv_mingw_lib_FAudio=no
12097 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12098 conftest$ac_exeext conftest.$ac_ext
12099 CC=$ac_wine_check_headers_saved_cc
12100 ac_exeext=$ac_wine_check_headers_saved_exeext
12101 LIBS=$ac_wine_check_headers_saved_libs
12103 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_FAudio" >&5
12104 printf "%s\n" "$ac_cv_mingw_lib_FAudio" >&6; }
12105 if test "x$ac_cv_mingw_lib_FAudio" = xyes
12106 then :
12108 else $as_nop
12109 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
12111 else $as_nop
12112 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
12114 CPPFLAGS=$ac_save_CPPFLAGS
12116 if test "x$FAUDIO_PE_LIBS" = "x"
12117 then
12118 as_fn_append wine_notices "|FAudio ${notice_platform}MinGW development files not found (or too old); using bundled version."
12121 if ${JPEG_PE_CFLAGS:+false} :
12122 then :
12123 if test ${MINGW_PKG_CONFIG+y}
12124 then :
12125 JPEG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libjpeg 2>/dev/null`
12128 if ${JPEG_PE_LIBS:+false} :
12129 then :
12130 if test ${MINGW_PKG_CONFIG+y}
12131 then :
12132 JPEG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libjpeg 2>/dev/null`
12136 ac_save_CPPFLAGS=$CPPFLAGS
12137 CPPFLAGS="$CPPFLAGS $JPEG_PE_CFLAGS"
12138 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW jpeglib.h" >&5
12139 printf %s "checking for MinGW jpeglib.h... " >&6; }
12140 if test ${ac_cv_mingw_header_jpeglib_h+y}
12141 then :
12142 printf %s "(cached) " >&6
12143 else $as_nop
12144 ac_wine_check_headers_saved_cc=$CC
12145 ac_wine_check_headers_saved_exeext=$ac_exeext
12146 eval CC=\$${wine_arch}_CC
12147 ac_exeext=".exe"
12148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12149 /* end confdefs.h. */
12150 #include <stddef.h>
12151 #include <stdio.h>
12152 #include <jpeglib.h>
12154 main (void)
12158 return 0;
12160 _ACEOF
12161 if ac_fn_c_try_compile "$LINENO"
12162 then :
12163 ac_cv_mingw_header_jpeglib_h=yes
12164 else $as_nop
12165 ac_cv_mingw_header_jpeglib_h=no
12167 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12168 CC=$ac_wine_check_headers_saved_cc
12169 ac_exeext=$ac_wine_check_headers_saved_exeext
12171 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_jpeglib_h" >&5
12172 printf "%s\n" "$ac_cv_mingw_header_jpeglib_h" >&6; }
12173 if test "x$ac_cv_mingw_header_jpeglib_h" = xyes
12174 then :
12175 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for jpeg_start_decompress in MinGW -ljpeg" >&5
12176 printf %s "checking for jpeg_start_decompress in MinGW -ljpeg... " >&6; }
12177 if test ${ac_cv_mingw_lib_jpeg+y}
12178 then :
12179 printf %s "(cached) " >&6
12180 else $as_nop
12181 ac_wine_check_headers_saved_cc=$CC
12182 ac_wine_check_headers_saved_exeext=$ac_exeext
12183 ac_wine_check_headers_saved_libs=$LIBS
12184 eval CC=\$${wine_arch}_CC
12185 ac_exeext=".exe"
12186 LIBS="-ljpeg $JPEG_PE_LIBS $LIBS"
12187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12188 /* end confdefs.h. */
12190 /* Override any GCC internal prototype to avoid an error.
12191 Use char because int might match the return type of a GCC
12192 builtin and then its argument prototype would still apply. */
12193 char jpeg_start_decompress ();
12195 main (void)
12197 return jpeg_start_decompress ();
12199 return 0;
12201 _ACEOF
12202 if ac_fn_c_try_link "$LINENO"
12203 then :
12204 ac_cv_mingw_lib_jpeg=yes
12205 else $as_nop
12206 ac_cv_mingw_lib_jpeg=no
12208 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12209 conftest$ac_exeext conftest.$ac_ext
12210 CC=$ac_wine_check_headers_saved_cc
12211 ac_exeext=$ac_wine_check_headers_saved_exeext
12212 LIBS=$ac_wine_check_headers_saved_libs
12214 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_jpeg" >&5
12215 printf "%s\n" "$ac_cv_mingw_lib_jpeg" >&6; }
12216 if test "x$ac_cv_mingw_lib_jpeg" = xyes
12217 then :
12219 else $as_nop
12220 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
12222 else $as_nop
12223 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
12225 CPPFLAGS=$ac_save_CPPFLAGS
12227 if test "x$JPEG_PE_LIBS" = "x"
12228 then
12229 as_fn_append wine_notices "|libjpeg ${notice_platform}MinGW development files not found; using bundled version."
12232 if ${LCMS2_PE_CFLAGS:+false} :
12233 then :
12234 if test ${MINGW_PKG_CONFIG+y}
12235 then :
12236 LCMS2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags lcms2 2>/dev/null`
12239 if ${LCMS2_PE_LIBS:+false} :
12240 then :
12241 if test ${MINGW_PKG_CONFIG+y}
12242 then :
12243 LCMS2_PE_LIBS=`$MINGW_PKG_CONFIG --libs lcms2 2>/dev/null`
12246 LCMS2_PE_LIBS=${LCMS2_PE_LIBS:-"-llcms2"}
12247 ac_save_CPPFLAGS=$CPPFLAGS
12248 CPPFLAGS="$CPPFLAGS $LCMS2_PE_CFLAGS"
12249 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW lcms2.h" >&5
12250 printf %s "checking for MinGW lcms2.h... " >&6; }
12251 if test ${ac_cv_mingw_header_lcms2_h+y}
12252 then :
12253 printf %s "(cached) " >&6
12254 else $as_nop
12255 ac_wine_check_headers_saved_cc=$CC
12256 ac_wine_check_headers_saved_exeext=$ac_exeext
12257 eval CC=\$${wine_arch}_CC
12258 ac_exeext=".exe"
12259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12260 /* end confdefs.h. */
12262 #include <lcms2.h>
12264 main (void)
12268 return 0;
12270 _ACEOF
12271 if ac_fn_c_try_compile "$LINENO"
12272 then :
12273 ac_cv_mingw_header_lcms2_h=yes
12274 else $as_nop
12275 ac_cv_mingw_header_lcms2_h=no
12277 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12278 CC=$ac_wine_check_headers_saved_cc
12279 ac_exeext=$ac_wine_check_headers_saved_exeext
12281 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_lcms2_h" >&5
12282 printf "%s\n" "$ac_cv_mingw_header_lcms2_h" >&6; }
12283 if test "x$ac_cv_mingw_header_lcms2_h" = xyes
12284 then :
12285 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in MinGW -llcms2" >&5
12286 printf %s "checking for cmsOpenProfileFromFile in MinGW -llcms2... " >&6; }
12287 if test ${ac_cv_mingw_lib_lcms2+y}
12288 then :
12289 printf %s "(cached) " >&6
12290 else $as_nop
12291 ac_wine_check_headers_saved_cc=$CC
12292 ac_wine_check_headers_saved_exeext=$ac_exeext
12293 ac_wine_check_headers_saved_libs=$LIBS
12294 eval CC=\$${wine_arch}_CC
12295 ac_exeext=".exe"
12296 LIBS="-llcms2 $LCMS2_PE_LIBS $LIBS"
12297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12298 /* end confdefs.h. */
12300 /* Override any GCC internal prototype to avoid an error.
12301 Use char because int might match the return type of a GCC
12302 builtin and then its argument prototype would still apply. */
12303 char cmsOpenProfileFromFile ();
12305 main (void)
12307 return cmsOpenProfileFromFile ();
12309 return 0;
12311 _ACEOF
12312 if ac_fn_c_try_link "$LINENO"
12313 then :
12314 ac_cv_mingw_lib_lcms2=yes
12315 else $as_nop
12316 ac_cv_mingw_lib_lcms2=no
12318 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12319 conftest$ac_exeext conftest.$ac_ext
12320 CC=$ac_wine_check_headers_saved_cc
12321 ac_exeext=$ac_wine_check_headers_saved_exeext
12322 LIBS=$ac_wine_check_headers_saved_libs
12324 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_lcms2" >&5
12325 printf "%s\n" "$ac_cv_mingw_lib_lcms2" >&6; }
12326 if test "x$ac_cv_mingw_lib_lcms2" = xyes
12327 then :
12329 else $as_nop
12330 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12332 else $as_nop
12333 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12335 CPPFLAGS=$ac_save_CPPFLAGS
12337 if test "x$LCMS2_PE_LIBS" = "x"
12338 then
12339 as_fn_append wine_notices "|liblcms2 ${notice_platform}MinGW development files not found; using bundled version."
12342 if ${MPG123_PE_CFLAGS:+false} :
12343 then :
12344 if test ${MINGW_PKG_CONFIG+y}
12345 then :
12346 MPG123_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libmpg123 2>/dev/null`
12349 if ${MPG123_PE_LIBS:+false} :
12350 then :
12351 if test ${MINGW_PKG_CONFIG+y}
12352 then :
12353 MPG123_PE_LIBS=`$MINGW_PKG_CONFIG --libs libmpg123 2>/dev/null`
12356 MPG123_PE_LIBS=${MPG123_PE_LIBS:-"-lmpg123"}
12357 ac_save_CPPFLAGS=$CPPFLAGS
12358 CPPFLAGS="$CPPFLAGS $MPG123_PE_CFLAGS"
12359 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW mpg123.h" >&5
12360 printf %s "checking for MinGW mpg123.h... " >&6; }
12361 if test ${ac_cv_mingw_header_mpg123_h+y}
12362 then :
12363 printf %s "(cached) " >&6
12364 else $as_nop
12365 ac_wine_check_headers_saved_cc=$CC
12366 ac_wine_check_headers_saved_exeext=$ac_exeext
12367 eval CC=\$${wine_arch}_CC
12368 ac_exeext=".exe"
12369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12370 /* end confdefs.h. */
12372 #include <mpg123.h>
12374 main (void)
12378 return 0;
12380 _ACEOF
12381 if ac_fn_c_try_compile "$LINENO"
12382 then :
12383 ac_cv_mingw_header_mpg123_h=yes
12384 else $as_nop
12385 ac_cv_mingw_header_mpg123_h=no
12387 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12388 CC=$ac_wine_check_headers_saved_cc
12389 ac_exeext=$ac_wine_check_headers_saved_exeext
12391 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_mpg123_h" >&5
12392 printf "%s\n" "$ac_cv_mingw_header_mpg123_h" >&6; }
12393 if test "x$ac_cv_mingw_header_mpg123_h" = xyes
12394 then :
12395 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in MinGW -lmpg123" >&5
12396 printf %s "checking for mpg123_feed in MinGW -lmpg123... " >&6; }
12397 if test ${ac_cv_mingw_lib_mpg123+y}
12398 then :
12399 printf %s "(cached) " >&6
12400 else $as_nop
12401 ac_wine_check_headers_saved_cc=$CC
12402 ac_wine_check_headers_saved_exeext=$ac_exeext
12403 ac_wine_check_headers_saved_libs=$LIBS
12404 eval CC=\$${wine_arch}_CC
12405 ac_exeext=".exe"
12406 LIBS="-lmpg123 $MPG123_PE_LIBS $LIBS"
12407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12408 /* end confdefs.h. */
12410 /* Override any GCC internal prototype to avoid an error.
12411 Use char because int might match the return type of a GCC
12412 builtin and then its argument prototype would still apply. */
12413 char mpg123_feed ();
12415 main (void)
12417 return mpg123_feed ();
12419 return 0;
12421 _ACEOF
12422 if ac_fn_c_try_link "$LINENO"
12423 then :
12424 ac_cv_mingw_lib_mpg123=yes
12425 else $as_nop
12426 ac_cv_mingw_lib_mpg123=no
12428 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12429 conftest$ac_exeext conftest.$ac_ext
12430 CC=$ac_wine_check_headers_saved_cc
12431 ac_exeext=$ac_wine_check_headers_saved_exeext
12432 LIBS=$ac_wine_check_headers_saved_libs
12434 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_mpg123" >&5
12435 printf "%s\n" "$ac_cv_mingw_lib_mpg123" >&6; }
12436 if test "x$ac_cv_mingw_lib_mpg123" = xyes
12437 then :
12439 else $as_nop
12440 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12442 else $as_nop
12443 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12445 CPPFLAGS=$ac_save_CPPFLAGS
12447 if test "x$MPG123_PE_LIBS" = "x"
12448 then
12449 as_fn_append wine_notices "|libmpg123 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12452 if ${PNG_PE_CFLAGS:+false} :
12453 then :
12454 if test ${MINGW_PKG_CONFIG+y}
12455 then :
12456 PNG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libpng 2>/dev/null`
12459 if ${PNG_PE_LIBS:+false} :
12460 then :
12461 if test ${MINGW_PKG_CONFIG+y}
12462 then :
12463 PNG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libpng 2>/dev/null`
12467 ac_save_CPPFLAGS=$CPPFLAGS
12468 CPPFLAGS="$CPPFLAGS $PNG_PE_CFLAGS"
12469 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW png.h" >&5
12470 printf %s "checking for MinGW png.h... " >&6; }
12471 if test ${ac_cv_mingw_header_png_h+y}
12472 then :
12473 printf %s "(cached) " >&6
12474 else $as_nop
12475 ac_wine_check_headers_saved_cc=$CC
12476 ac_wine_check_headers_saved_exeext=$ac_exeext
12477 eval CC=\$${wine_arch}_CC
12478 ac_exeext=".exe"
12479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12480 /* end confdefs.h. */
12482 #include <png.h>
12484 main (void)
12488 return 0;
12490 _ACEOF
12491 if ac_fn_c_try_compile "$LINENO"
12492 then :
12493 ac_cv_mingw_header_png_h=yes
12494 else $as_nop
12495 ac_cv_mingw_header_png_h=no
12497 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12498 CC=$ac_wine_check_headers_saved_cc
12499 ac_exeext=$ac_wine_check_headers_saved_exeext
12501 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_png_h" >&5
12502 printf "%s\n" "$ac_cv_mingw_header_png_h" >&6; }
12503 if test "x$ac_cv_mingw_header_png_h" = xyes
12504 then :
12505 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for png_create_read_struct in MinGW -lpng" >&5
12506 printf %s "checking for png_create_read_struct in MinGW -lpng... " >&6; }
12507 if test ${ac_cv_mingw_lib_png+y}
12508 then :
12509 printf %s "(cached) " >&6
12510 else $as_nop
12511 ac_wine_check_headers_saved_cc=$CC
12512 ac_wine_check_headers_saved_exeext=$ac_exeext
12513 ac_wine_check_headers_saved_libs=$LIBS
12514 eval CC=\$${wine_arch}_CC
12515 ac_exeext=".exe"
12516 LIBS="-lpng $PNG_PE_LIBS $LIBS"
12517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12518 /* end confdefs.h. */
12520 /* Override any GCC internal prototype to avoid an error.
12521 Use char because int might match the return type of a GCC
12522 builtin and then its argument prototype would still apply. */
12523 char png_create_read_struct ();
12525 main (void)
12527 return png_create_read_struct ();
12529 return 0;
12531 _ACEOF
12532 if ac_fn_c_try_link "$LINENO"
12533 then :
12534 ac_cv_mingw_lib_png=yes
12535 else $as_nop
12536 ac_cv_mingw_lib_png=no
12538 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12539 conftest$ac_exeext conftest.$ac_ext
12540 CC=$ac_wine_check_headers_saved_cc
12541 ac_exeext=$ac_wine_check_headers_saved_exeext
12542 LIBS=$ac_wine_check_headers_saved_libs
12544 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_png" >&5
12545 printf "%s\n" "$ac_cv_mingw_lib_png" >&6; }
12546 if test "x$ac_cv_mingw_lib_png" = xyes
12547 then :
12549 else $as_nop
12550 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12552 else $as_nop
12553 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12555 CPPFLAGS=$ac_save_CPPFLAGS
12557 if test "x$PNG_PE_LIBS" = "x"
12558 then
12559 as_fn_append wine_notices "|libpng ${notice_platform}MinGW development files not found; using bundled version."
12562 if ${TIFF_PE_CFLAGS:+false} :
12563 then :
12564 if test ${MINGW_PKG_CONFIG+y}
12565 then :
12566 TIFF_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libtiff-4 2>/dev/null`
12569 if ${TIFF_PE_LIBS:+false} :
12570 then :
12571 if test ${MINGW_PKG_CONFIG+y}
12572 then :
12573 TIFF_PE_LIBS=`$MINGW_PKG_CONFIG --libs libtiff-4 2>/dev/null`
12577 ac_save_CPPFLAGS=$CPPFLAGS
12578 CPPFLAGS="$CPPFLAGS $TIFF_PE_CFLAGS"
12579 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW tiffio.h" >&5
12580 printf %s "checking for MinGW tiffio.h... " >&6; }
12581 if test ${ac_cv_mingw_header_tiffio_h+y}
12582 then :
12583 printf %s "(cached) " >&6
12584 else $as_nop
12585 ac_wine_check_headers_saved_cc=$CC
12586 ac_wine_check_headers_saved_exeext=$ac_exeext
12587 eval CC=\$${wine_arch}_CC
12588 ac_exeext=".exe"
12589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12590 /* end confdefs.h. */
12592 #include <tiffio.h>
12594 main (void)
12598 return 0;
12600 _ACEOF
12601 if ac_fn_c_try_compile "$LINENO"
12602 then :
12603 ac_cv_mingw_header_tiffio_h=yes
12604 else $as_nop
12605 ac_cv_mingw_header_tiffio_h=no
12607 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12608 CC=$ac_wine_check_headers_saved_cc
12609 ac_exeext=$ac_wine_check_headers_saved_exeext
12611 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_tiffio_h" >&5
12612 printf "%s\n" "$ac_cv_mingw_header_tiffio_h" >&6; }
12613 if test "x$ac_cv_mingw_header_tiffio_h" = xyes
12614 then :
12615 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for TIFFClientOpen in MinGW -ltiff" >&5
12616 printf %s "checking for TIFFClientOpen in MinGW -ltiff... " >&6; }
12617 if test ${ac_cv_mingw_lib_tiff+y}
12618 then :
12619 printf %s "(cached) " >&6
12620 else $as_nop
12621 ac_wine_check_headers_saved_cc=$CC
12622 ac_wine_check_headers_saved_exeext=$ac_exeext
12623 ac_wine_check_headers_saved_libs=$LIBS
12624 eval CC=\$${wine_arch}_CC
12625 ac_exeext=".exe"
12626 LIBS="-ltiff $TIFF_PE_LIBS $LIBS"
12627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12628 /* end confdefs.h. */
12630 /* Override any GCC internal prototype to avoid an error.
12631 Use char because int might match the return type of a GCC
12632 builtin and then its argument prototype would still apply. */
12633 char TIFFClientOpen ();
12635 main (void)
12637 return TIFFClientOpen ();
12639 return 0;
12641 _ACEOF
12642 if ac_fn_c_try_link "$LINENO"
12643 then :
12644 ac_cv_mingw_lib_tiff=yes
12645 else $as_nop
12646 ac_cv_mingw_lib_tiff=no
12648 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12649 conftest$ac_exeext conftest.$ac_ext
12650 CC=$ac_wine_check_headers_saved_cc
12651 ac_exeext=$ac_wine_check_headers_saved_exeext
12652 LIBS=$ac_wine_check_headers_saved_libs
12654 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_tiff" >&5
12655 printf "%s\n" "$ac_cv_mingw_lib_tiff" >&6; }
12656 if test "x$ac_cv_mingw_lib_tiff" = xyes
12657 then :
12659 else $as_nop
12660 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12662 else $as_nop
12663 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12665 CPPFLAGS=$ac_save_CPPFLAGS
12667 if test "x$TIFF_PE_LIBS" = "x"
12668 then
12669 as_fn_append wine_notices "|libtiff ${notice_platform}MinGW development files not found; using bundled version."
12672 if ${XML2_PE_CFLAGS:+false} :
12673 then :
12674 if test ${MINGW_PKG_CONFIG+y}
12675 then :
12676 XML2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12679 if ${XML2_PE_LIBS:+false} :
12680 then :
12681 if test ${MINGW_PKG_CONFIG+y}
12682 then :
12683 XML2_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12686 XML2_PE_LIBS=${XML2_PE_LIBS:-"-lxml2"}
12687 ac_save_CPPFLAGS=$CPPFLAGS
12688 CPPFLAGS="$CPPFLAGS $XML2_PE_CFLAGS"
12689 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/parser.h" >&5
12690 printf %s "checking for MinGW libxml/parser.h... " >&6; }
12691 if test ${ac_cv_mingw_header_libxml_parser_h+y}
12692 then :
12693 printf %s "(cached) " >&6
12694 else $as_nop
12695 ac_wine_check_headers_saved_cc=$CC
12696 ac_wine_check_headers_saved_exeext=$ac_exeext
12697 eval CC=\$${wine_arch}_CC
12698 ac_exeext=".exe"
12699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12700 /* end confdefs.h. */
12702 #include <libxml/parser.h>
12704 main (void)
12708 return 0;
12710 _ACEOF
12711 if ac_fn_c_try_compile "$LINENO"
12712 then :
12713 ac_cv_mingw_header_libxml_parser_h=yes
12714 else $as_nop
12715 ac_cv_mingw_header_libxml_parser_h=no
12717 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12718 CC=$ac_wine_check_headers_saved_cc
12719 ac_exeext=$ac_wine_check_headers_saved_exeext
12721 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_parser_h" >&5
12722 printf "%s\n" "$ac_cv_mingw_header_libxml_parser_h" >&6; }
12723 if test "x$ac_cv_mingw_header_libxml_parser_h" = xyes
12724 then :
12727 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/xmlsave.h" >&5
12728 printf %s "checking for MinGW libxml/xmlsave.h... " >&6; }
12729 if test ${ac_cv_mingw_header_libxml_xmlsave_h+y}
12730 then :
12731 printf %s "(cached) " >&6
12732 else $as_nop
12733 ac_wine_check_headers_saved_cc=$CC
12734 ac_wine_check_headers_saved_exeext=$ac_exeext
12735 eval CC=\$${wine_arch}_CC
12736 ac_exeext=".exe"
12737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12738 /* end confdefs.h. */
12740 #include <libxml/xmlsave.h>
12742 main (void)
12746 return 0;
12748 _ACEOF
12749 if ac_fn_c_try_compile "$LINENO"
12750 then :
12751 ac_cv_mingw_header_libxml_xmlsave_h=yes
12752 else $as_nop
12753 ac_cv_mingw_header_libxml_xmlsave_h=no
12755 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12756 CC=$ac_wine_check_headers_saved_cc
12757 ac_exeext=$ac_wine_check_headers_saved_exeext
12759 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_xmlsave_h" >&5
12760 printf "%s\n" "$ac_cv_mingw_header_libxml_xmlsave_h" >&6; }
12761 if test "x$ac_cv_mingw_header_libxml_xmlsave_h" = xyes
12762 then :
12765 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/SAX2.h" >&5
12766 printf %s "checking for MinGW libxml/SAX2.h... " >&6; }
12767 if test ${ac_cv_mingw_header_libxml_SAX2_h+y}
12768 then :
12769 printf %s "(cached) " >&6
12770 else $as_nop
12771 ac_wine_check_headers_saved_cc=$CC
12772 ac_wine_check_headers_saved_exeext=$ac_exeext
12773 eval CC=\$${wine_arch}_CC
12774 ac_exeext=".exe"
12775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12776 /* end confdefs.h. */
12778 #include <libxml/SAX2.h>
12780 main (void)
12784 return 0;
12786 _ACEOF
12787 if ac_fn_c_try_compile "$LINENO"
12788 then :
12789 ac_cv_mingw_header_libxml_SAX2_h=yes
12790 else $as_nop
12791 ac_cv_mingw_header_libxml_SAX2_h=no
12793 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12794 CC=$ac_wine_check_headers_saved_cc
12795 ac_exeext=$ac_wine_check_headers_saved_exeext
12797 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_SAX2_h" >&5
12798 printf "%s\n" "$ac_cv_mingw_header_libxml_SAX2_h" >&6; }
12799 if test "x$ac_cv_mingw_header_libxml_SAX2_h" = xyes
12800 then :
12803 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"
12804 then
12805 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in MinGW -lxml2" >&5
12806 printf %s "checking for xmlFirstElementChild in MinGW -lxml2... " >&6; }
12807 if test ${ac_cv_mingw_lib_xml2+y}
12808 then :
12809 printf %s "(cached) " >&6
12810 else $as_nop
12811 ac_wine_check_headers_saved_cc=$CC
12812 ac_wine_check_headers_saved_exeext=$ac_exeext
12813 ac_wine_check_headers_saved_libs=$LIBS
12814 eval CC=\$${wine_arch}_CC
12815 ac_exeext=".exe"
12816 LIBS="-lxml2 $XML2_PE_LIBS $LIBS"
12817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12818 /* end confdefs.h. */
12820 /* Override any GCC internal prototype to avoid an error.
12821 Use char because int might match the return type of a GCC
12822 builtin and then its argument prototype would still apply. */
12823 char xmlFirstElementChild ();
12825 main (void)
12827 return xmlFirstElementChild ();
12829 return 0;
12831 _ACEOF
12832 if ac_fn_c_try_link "$LINENO"
12833 then :
12834 ac_cv_mingw_lib_xml2=yes
12835 else $as_nop
12836 ac_cv_mingw_lib_xml2=no
12838 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12839 conftest$ac_exeext conftest.$ac_ext
12840 CC=$ac_wine_check_headers_saved_cc
12841 ac_exeext=$ac_wine_check_headers_saved_exeext
12842 LIBS=$ac_wine_check_headers_saved_libs
12844 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xml2" >&5
12845 printf "%s\n" "$ac_cv_mingw_lib_xml2" >&6; }
12846 if test "x$ac_cv_mingw_lib_xml2" = xyes
12847 then :
12849 else $as_nop
12850 XML2_PE_CFLAGS=""; XML2_PE_LIBS=""
12852 else
12853 XML2_PE_CFLAGS=""
12854 XML2_PE_LIBS=""
12856 CPPFLAGS=$ac_save_CPPFLAGS
12858 if test "x$XML2_PE_LIBS" = "x"
12859 then
12860 as_fn_append wine_notices "|libxml2 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12863 if ${XSLT_PE_CFLAGS:+false} :
12864 then :
12865 if test ${MINGW_PKG_CONFIG+y}
12866 then :
12867 XSLT_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxslt 2>/dev/null`
12870 if ${XSLT_PE_LIBS:+false} :
12871 then :
12872 if test ${MINGW_PKG_CONFIG+y}
12873 then :
12874 XSLT_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxslt 2>/dev/null`
12877 XSLT_PE_LIBS=${XSLT_PE_LIBS:-"-lxslt"}
12878 ac_save_CPPFLAGS=$CPPFLAGS
12879 CPPFLAGS="$CPPFLAGS $XSLT_PE_CFLAGS"
12880 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/pattern.h" >&5
12881 printf %s "checking for MinGW libxslt/pattern.h... " >&6; }
12882 if test ${ac_cv_mingw_header_libxslt_pattern_h+y}
12883 then :
12884 printf %s "(cached) " >&6
12885 else $as_nop
12886 ac_wine_check_headers_saved_cc=$CC
12887 ac_wine_check_headers_saved_exeext=$ac_exeext
12888 eval CC=\$${wine_arch}_CC
12889 ac_exeext=".exe"
12890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12891 /* end confdefs.h. */
12893 #include <libxslt/pattern.h>
12895 main (void)
12899 return 0;
12901 _ACEOF
12902 if ac_fn_c_try_compile "$LINENO"
12903 then :
12904 ac_cv_mingw_header_libxslt_pattern_h=yes
12905 else $as_nop
12906 ac_cv_mingw_header_libxslt_pattern_h=no
12908 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12909 CC=$ac_wine_check_headers_saved_cc
12910 ac_exeext=$ac_wine_check_headers_saved_exeext
12912 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_pattern_h" >&5
12913 printf "%s\n" "$ac_cv_mingw_header_libxslt_pattern_h" >&6; }
12914 if test "x$ac_cv_mingw_header_libxslt_pattern_h" = xyes
12915 then :
12918 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/transform.h" >&5
12919 printf %s "checking for MinGW libxslt/transform.h... " >&6; }
12920 if test ${ac_cv_mingw_header_libxslt_transform_h+y}
12921 then :
12922 printf %s "(cached) " >&6
12923 else $as_nop
12924 ac_wine_check_headers_saved_cc=$CC
12925 ac_wine_check_headers_saved_exeext=$ac_exeext
12926 eval CC=\$${wine_arch}_CC
12927 ac_exeext=".exe"
12928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12929 /* end confdefs.h. */
12931 #include <libxslt/transform.h>
12933 main (void)
12937 return 0;
12939 _ACEOF
12940 if ac_fn_c_try_compile "$LINENO"
12941 then :
12942 ac_cv_mingw_header_libxslt_transform_h=yes
12943 else $as_nop
12944 ac_cv_mingw_header_libxslt_transform_h=no
12946 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12947 CC=$ac_wine_check_headers_saved_cc
12948 ac_exeext=$ac_wine_check_headers_saved_exeext
12950 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_transform_h" >&5
12951 printf "%s\n" "$ac_cv_mingw_header_libxslt_transform_h" >&6; }
12952 if test "x$ac_cv_mingw_header_libxslt_transform_h" = xyes
12953 then :
12956 if test "$ac_cv_mingw_header_libxslt_pattern_h" = "yes" -a "$ac_cv_mingw_header_libxslt_transform_h" = "yes"
12957 then
12958 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xsltCompilePattern in MinGW -lxslt" >&5
12959 printf %s "checking for xsltCompilePattern in MinGW -lxslt... " >&6; }
12960 if test ${ac_cv_mingw_lib_xslt+y}
12961 then :
12962 printf %s "(cached) " >&6
12963 else $as_nop
12964 ac_wine_check_headers_saved_cc=$CC
12965 ac_wine_check_headers_saved_exeext=$ac_exeext
12966 ac_wine_check_headers_saved_libs=$LIBS
12967 eval CC=\$${wine_arch}_CC
12968 ac_exeext=".exe"
12969 LIBS="-lxslt $XSLT_PE_LIBS $LIBS"
12970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12971 /* end confdefs.h. */
12973 /* Override any GCC internal prototype to avoid an error.
12974 Use char because int might match the return type of a GCC
12975 builtin and then its argument prototype would still apply. */
12976 char xsltCompilePattern ();
12978 main (void)
12980 return xsltCompilePattern ();
12982 return 0;
12984 _ACEOF
12985 if ac_fn_c_try_link "$LINENO"
12986 then :
12987 ac_cv_mingw_lib_xslt=yes
12988 else $as_nop
12989 ac_cv_mingw_lib_xslt=no
12991 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12992 conftest$ac_exeext conftest.$ac_ext
12993 CC=$ac_wine_check_headers_saved_cc
12994 ac_exeext=$ac_wine_check_headers_saved_exeext
12995 LIBS=$ac_wine_check_headers_saved_libs
12997 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xslt" >&5
12998 printf "%s\n" "$ac_cv_mingw_lib_xslt" >&6; }
12999 if test "x$ac_cv_mingw_lib_xslt" = xyes
13000 then :
13002 else $as_nop
13003 XSLT_PE_CFLAGS=""; XSLT_PE_LIBS=""
13005 else
13006 XSLT_PE_CFLAGS=""
13007 XSLT_PE_LIBS=""
13009 CPPFLAGS=$ac_save_CPPFLAGS
13011 if test "x$XSLT_PE_LIBS" = "x"
13012 then
13013 as_fn_append wine_notices "|libxslt ${notice_platform}MinGW development files not found; using bundled version."
13016 if ${VKD3D_PE_CFLAGS:+false} :
13017 then :
13018 if test ${MINGW_PKG_CONFIG+y}
13019 then :
13020 VKD3D_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libvkd3d libvkd3d-shader 2>/dev/null`
13023 if ${VKD3D_PE_LIBS:+false} :
13024 then :
13025 if test ${MINGW_PKG_CONFIG+y}
13026 then :
13027 VKD3D_PE_LIBS=`$MINGW_PKG_CONFIG --libs libvkd3d libvkd3d-shader 2>/dev/null`
13030 VKD3D_PE_LIBS=${VKD3D_PE_LIBS:-"-lvkd3d -lvkd3d-shader"}
13031 ac_save_CPPFLAGS=$CPPFLAGS
13032 CPPFLAGS="$CPPFLAGS $VKD3D_PE_CFLAGS"
13033 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d.h" >&5
13034 printf %s "checking for MinGW vkd3d.h... " >&6; }
13035 if test ${ac_cv_mingw_header_vkd3d_h+y}
13036 then :
13037 printf %s "(cached) " >&6
13038 else $as_nop
13039 ac_wine_check_headers_saved_cc=$CC
13040 ac_wine_check_headers_saved_exeext=$ac_exeext
13041 eval CC=\$${wine_arch}_CC
13042 ac_exeext=".exe"
13043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13044 /* end confdefs.h. */
13046 #include <vkd3d.h>
13048 main (void)
13052 return 0;
13054 _ACEOF
13055 if ac_fn_c_try_compile "$LINENO"
13056 then :
13057 ac_cv_mingw_header_vkd3d_h=yes
13058 else $as_nop
13059 ac_cv_mingw_header_vkd3d_h=no
13061 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13062 CC=$ac_wine_check_headers_saved_cc
13063 ac_exeext=$ac_wine_check_headers_saved_exeext
13065 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_h" >&5
13066 printf "%s\n" "$ac_cv_mingw_header_vkd3d_h" >&6; }
13067 if test "x$ac_cv_mingw_header_vkd3d_h" = xyes
13068 then :
13071 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d_shader.h" >&5
13072 printf %s "checking for MinGW vkd3d_shader.h... " >&6; }
13073 if test ${ac_cv_mingw_header_vkd3d_shader_h+y}
13074 then :
13075 printf %s "(cached) " >&6
13076 else $as_nop
13077 ac_wine_check_headers_saved_cc=$CC
13078 ac_wine_check_headers_saved_exeext=$ac_exeext
13079 eval CC=\$${wine_arch}_CC
13080 ac_exeext=".exe"
13081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13082 /* end confdefs.h. */
13084 #include <vkd3d_shader.h>
13086 main (void)
13090 return 0;
13092 _ACEOF
13093 if ac_fn_c_try_compile "$LINENO"
13094 then :
13095 ac_cv_mingw_header_vkd3d_shader_h=yes
13096 else $as_nop
13097 ac_cv_mingw_header_vkd3d_shader_h=no
13099 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13100 CC=$ac_wine_check_headers_saved_cc
13101 ac_exeext=$ac_wine_check_headers_saved_exeext
13103 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_shader_h" >&5
13104 printf "%s\n" "$ac_cv_mingw_header_vkd3d_shader_h" >&6; }
13105 if test "x$ac_cv_mingw_header_vkd3d_shader_h" = xyes
13106 then :
13109 if test "$ac_cv_mingw_header_vkd3d_h" = "yes" -a "$ac_cv_mingw_header_vkd3d_shader_h" = "yes"
13110 then
13111 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_set_log_callback in MinGW -lvkd3d" >&5
13112 printf %s "checking for vkd3d_set_log_callback in MinGW -lvkd3d... " >&6; }
13113 if test ${ac_cv_mingw_lib_vkd3d+y}
13114 then :
13115 printf %s "(cached) " >&6
13116 else $as_nop
13117 ac_wine_check_headers_saved_cc=$CC
13118 ac_wine_check_headers_saved_exeext=$ac_exeext
13119 ac_wine_check_headers_saved_libs=$LIBS
13120 eval CC=\$${wine_arch}_CC
13121 ac_exeext=".exe"
13122 LIBS="-lvkd3d $VKD3D_PE_LIBS $LIBS"
13123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13124 /* end confdefs.h. */
13126 /* Override any GCC internal prototype to avoid an error.
13127 Use char because int might match the return type of a GCC
13128 builtin and then its argument prototype would still apply. */
13129 char vkd3d_set_log_callback ();
13131 main (void)
13133 return vkd3d_set_log_callback ();
13135 return 0;
13137 _ACEOF
13138 if ac_fn_c_try_link "$LINENO"
13139 then :
13140 ac_cv_mingw_lib_vkd3d=yes
13141 else $as_nop
13142 ac_cv_mingw_lib_vkd3d=no
13144 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13145 conftest$ac_exeext conftest.$ac_ext
13146 CC=$ac_wine_check_headers_saved_cc
13147 ac_exeext=$ac_wine_check_headers_saved_exeext
13148 LIBS=$ac_wine_check_headers_saved_libs
13150 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d" >&5
13151 printf "%s\n" "$ac_cv_mingw_lib_vkd3d" >&6; }
13152 if test "x$ac_cv_mingw_lib_vkd3d" = xyes
13153 then :
13155 else $as_nop
13158 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_shader_compile in MinGW -lvkd3d-shader" >&5
13159 printf %s "checking for vkd3d_shader_compile in MinGW -lvkd3d-shader... " >&6; }
13160 if test ${ac_cv_mingw_lib_vkd3d_shader+y}
13161 then :
13162 printf %s "(cached) " >&6
13163 else $as_nop
13164 ac_wine_check_headers_saved_cc=$CC
13165 ac_wine_check_headers_saved_exeext=$ac_exeext
13166 ac_wine_check_headers_saved_libs=$LIBS
13167 eval CC=\$${wine_arch}_CC
13168 ac_exeext=".exe"
13169 LIBS="-lvkd3d-shader $VKD3D_PE_LIBS $LIBS"
13170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13171 /* end confdefs.h. */
13173 /* Override any GCC internal prototype to avoid an error.
13174 Use char because int might match the return type of a GCC
13175 builtin and then its argument prototype would still apply. */
13176 char vkd3d_shader_compile ();
13178 main (void)
13180 return vkd3d_shader_compile ();
13182 return 0;
13184 _ACEOF
13185 if ac_fn_c_try_link "$LINENO"
13186 then :
13187 ac_cv_mingw_lib_vkd3d_shader=yes
13188 else $as_nop
13189 ac_cv_mingw_lib_vkd3d_shader=no
13191 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13192 conftest$ac_exeext conftest.$ac_ext
13193 CC=$ac_wine_check_headers_saved_cc
13194 ac_exeext=$ac_wine_check_headers_saved_exeext
13195 LIBS=$ac_wine_check_headers_saved_libs
13197 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d_shader" >&5
13198 printf "%s\n" "$ac_cv_mingw_lib_vkd3d_shader" >&6; }
13199 if test "x$ac_cv_mingw_lib_vkd3d_shader" = xyes
13200 then :
13202 else $as_nop
13205 if test "$ac_cv_mingw_lib_vkd3d" = "no" -o "$ac_cv_mingw_lib_vkd3d_shader" = "no"
13206 then
13207 VKD3D_PE_CFLAGS=""
13208 VKD3D_PE_LIBS=""
13210 else
13211 VKD3D_PE_CFLAGS=""
13212 VKD3D_PE_LIBS=""
13214 CPPFLAGS=$ac_save_CPPFLAGS
13216 if test "x$VKD3D_PE_LIBS" = "x"
13217 then
13218 as_fn_append wine_notices "|libvkd3d ${notice_platform}MinGW development files not found (or too old); using bundled version."
13221 if ${ZLIB_PE_CFLAGS:+false} :
13222 then :
13223 if test ${MINGW_PKG_CONFIG+y}
13224 then :
13225 ZLIB_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags zlib 2>/dev/null`
13228 if ${ZLIB_PE_LIBS:+false} :
13229 then :
13230 if test ${MINGW_PKG_CONFIG+y}
13231 then :
13232 ZLIB_PE_LIBS=`$MINGW_PKG_CONFIG --libs zlib 2>/dev/null`
13235 ZLIB_PE_LIBS=${ZLIB_PE_LIBS:-"-lz"}
13236 ac_save_CPPFLAGS=$CPPFLAGS
13237 CPPFLAGS="$CPPFLAGS $ZLIB_PE_CFLAGS"
13238 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW zlib.h" >&5
13239 printf %s "checking for MinGW zlib.h... " >&6; }
13240 if test ${ac_cv_mingw_header_zlib_h+y}
13241 then :
13242 printf %s "(cached) " >&6
13243 else $as_nop
13244 ac_wine_check_headers_saved_cc=$CC
13245 ac_wine_check_headers_saved_exeext=$ac_exeext
13246 eval CC=\$${wine_arch}_CC
13247 ac_exeext=".exe"
13248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13249 /* end confdefs.h. */
13251 #include <zlib.h>
13253 main (void)
13257 return 0;
13259 _ACEOF
13260 if ac_fn_c_try_compile "$LINENO"
13261 then :
13262 ac_cv_mingw_header_zlib_h=yes
13263 else $as_nop
13264 ac_cv_mingw_header_zlib_h=no
13266 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13267 CC=$ac_wine_check_headers_saved_cc
13268 ac_exeext=$ac_wine_check_headers_saved_exeext
13270 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_zlib_h" >&5
13271 printf "%s\n" "$ac_cv_mingw_header_zlib_h" >&6; }
13272 if test "x$ac_cv_mingw_header_zlib_h" = xyes
13273 then :
13274 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inflate in MinGW -lz" >&5
13275 printf %s "checking for inflate in MinGW -lz... " >&6; }
13276 if test ${ac_cv_mingw_lib_z+y}
13277 then :
13278 printf %s "(cached) " >&6
13279 else $as_nop
13280 ac_wine_check_headers_saved_cc=$CC
13281 ac_wine_check_headers_saved_exeext=$ac_exeext
13282 ac_wine_check_headers_saved_libs=$LIBS
13283 eval CC=\$${wine_arch}_CC
13284 ac_exeext=".exe"
13285 LIBS="-lz $ZLIB_PE_LIBS $LIBS"
13286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13287 /* end confdefs.h. */
13289 /* Override any GCC internal prototype to avoid an error.
13290 Use char because int might match the return type of a GCC
13291 builtin and then its argument prototype would still apply. */
13292 char inflate ();
13294 main (void)
13296 return inflate ();
13298 return 0;
13300 _ACEOF
13301 if ac_fn_c_try_link "$LINENO"
13302 then :
13303 ac_cv_mingw_lib_z=yes
13304 else $as_nop
13305 ac_cv_mingw_lib_z=no
13307 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13308 conftest$ac_exeext conftest.$ac_ext
13309 CC=$ac_wine_check_headers_saved_cc
13310 ac_exeext=$ac_wine_check_headers_saved_exeext
13311 LIBS=$ac_wine_check_headers_saved_libs
13313 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_z" >&5
13314 printf "%s\n" "$ac_cv_mingw_lib_z" >&6; }
13315 if test "x$ac_cv_mingw_lib_z" = xyes
13316 then :
13318 else $as_nop
13319 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13321 else $as_nop
13322 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13324 CPPFLAGS=$ac_save_CPPFLAGS
13326 if test "x$ZLIB_PE_LIBS" = "x"
13327 then
13328 as_fn_append wine_notices "|zlib ${notice_platform}MinGW development files not found; using bundled version."
13332 if ${FAUDIO_PE_LIBS:+false} :
13333 then :
13334 FAUDIO_PE_LIBS="faudio mfplat mfreadwrite mfuuid propsys"
13335 if ${FAUDIO_PE_CFLAGS:+false} :
13336 then :
13337 FAUDIO_PE_CFLAGS="-I\$(top_srcdir)/libs/faudio/include"
13338 else $as_nop
13339 enable_faudio=no
13341 else $as_nop
13342 enable_faudio=no
13344 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_PE_CFLAGS" >&5
13345 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_PE_LIBS" >&5
13347 if ${GSM_PE_LIBS:+false} :
13348 then :
13349 GSM_PE_LIBS=gsm
13350 if ${GSM_PE_CFLAGS:+false} :
13351 then :
13352 GSM_PE_CFLAGS="-I\$(top_srcdir)/libs/gsm/inc"
13353 else $as_nop
13354 enable_gsm=no
13356 else $as_nop
13357 enable_gsm=no
13359 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm cflags: $GSM_PE_CFLAGS" >&5
13360 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm libs: $GSM_PE_LIBS" >&5
13362 if ${JPEG_PE_LIBS:+false} :
13363 then :
13364 JPEG_PE_LIBS=jpeg
13365 if ${JPEG_PE_CFLAGS:+false} :
13366 then :
13367 JPEG_PE_CFLAGS="-I\$(top_srcdir)/libs/jpeg"
13368 else $as_nop
13369 enable_jpeg=no
13371 else $as_nop
13372 enable_jpeg=no
13374 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg cflags: $JPEG_PE_CFLAGS" >&5
13375 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg libs: $JPEG_PE_LIBS" >&5
13377 if ${JXR_PE_LIBS:+false} :
13378 then :
13379 JXR_PE_LIBS=jxr
13380 if ${JXR_PE_CFLAGS:+false} :
13381 then :
13382 JXR_PE_CFLAGS="-I\$(top_srcdir)/libs/jxr/jxrgluelib -I\$(top_srcdir)/libs/jxr/image/sys"
13383 else $as_nop
13384 enable_jxr=no
13386 else $as_nop
13387 enable_jxr=no
13389 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr cflags: $JXR_PE_CFLAGS" >&5
13390 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr libs: $JXR_PE_LIBS" >&5
13392 if ${LCMS2_PE_LIBS:+false} :
13393 then :
13394 LCMS2_PE_LIBS=lcms2
13395 if ${LCMS2_PE_CFLAGS:+false} :
13396 then :
13397 LCMS2_PE_CFLAGS="-I\$(top_srcdir)/libs/lcms2/include"
13398 else $as_nop
13399 enable_lcms2=no
13401 else $as_nop
13402 enable_lcms2=no
13404 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_PE_CFLAGS" >&5
13405 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_PE_LIBS" >&5
13407 if ${LDAP_PE_LIBS:+false} :
13408 then :
13409 LDAP_PE_LIBS=ldap
13410 if ${LDAP_PE_CFLAGS:+false} :
13411 then :
13412 LDAP_PE_CFLAGS="-I\$(top_srcdir)/libs/ldap/include"
13413 else $as_nop
13414 enable_ldap=no
13416 else $as_nop
13417 enable_ldap=no
13419 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ldap cflags: $LDAP_PE_CFLAGS" >&5
13420 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ldap libs: $LDAP_PE_LIBS" >&5
13422 if ${MPG123_PE_LIBS:+false} :
13423 then :
13424 MPG123_PE_LIBS=mpg123
13425 if ${MPG123_PE_CFLAGS:+false} :
13426 then :
13427 MPG123_PE_CFLAGS="-I\$(top_srcdir)/libs/mpg123/src/libmpg123"
13428 else $as_nop
13429 enable_mpg123=no
13431 else $as_nop
13432 enable_mpg123=no
13434 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 cflags: $MPG123_PE_CFLAGS" >&5
13435 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 libs: $MPG123_PE_LIBS" >&5
13437 if ${PNG_PE_LIBS:+false} :
13438 then :
13439 PNG_PE_LIBS="png \$(ZLIB_PE_LIBS)"
13440 if ${PNG_PE_CFLAGS:+false} :
13441 then :
13442 PNG_PE_CFLAGS="-I\$(top_srcdir)/libs/png"
13443 else $as_nop
13444 enable_png=no
13446 else $as_nop
13447 enable_png=no
13449 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png cflags: $PNG_PE_CFLAGS" >&5
13450 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png libs: $PNG_PE_LIBS" >&5
13452 if ${TIFF_PE_LIBS:+false} :
13453 then :
13454 TIFF_PE_LIBS="tiff \$(ZLIB_PE_LIBS)"
13455 if ${TIFF_PE_CFLAGS:+false} :
13456 then :
13457 TIFF_PE_CFLAGS="-I\$(top_srcdir)/libs/tiff/libtiff"
13458 else $as_nop
13459 enable_tiff=no
13461 else $as_nop
13462 enable_tiff=no
13464 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff cflags: $TIFF_PE_CFLAGS" >&5
13465 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff libs: $TIFF_PE_LIBS" >&5
13467 if ${VKD3D_PE_LIBS:+false} :
13468 then :
13469 VKD3D_PE_LIBS=vkd3d
13470 if ${VKD3D_PE_CFLAGS:+false} :
13471 then :
13472 VKD3D_PE_CFLAGS="-I\$(top_srcdir)/libs/vkd3d/include"
13473 else $as_nop
13474 enable_vkd3d=no
13476 else $as_nop
13477 enable_vkd3d=no
13479 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d cflags: $VKD3D_PE_CFLAGS" >&5
13480 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d libs: $VKD3D_PE_LIBS" >&5
13482 if ${XML2_PE_LIBS:+false} :
13483 then :
13484 XML2_PE_LIBS=xml2
13485 if ${XML2_PE_CFLAGS:+false} :
13486 then :
13487 XML2_PE_CFLAGS="-I\$(top_srcdir)/libs/xml2/include -DLIBXML_STATIC"
13488 else $as_nop
13489 enable_xml2=no
13491 else $as_nop
13492 enable_xml2=no
13494 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 cflags: $XML2_PE_CFLAGS" >&5
13495 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 libs: $XML2_PE_LIBS" >&5
13497 if ${XSLT_PE_LIBS:+false} :
13498 then :
13499 XSLT_PE_LIBS=xslt
13500 if ${XSLT_PE_CFLAGS:+false} :
13501 then :
13502 XSLT_PE_CFLAGS="-I\$(top_srcdir)/libs/xslt/libxslt -I\$(top_srcdir)/libs/xslt -DLIBXSLT_STATIC"
13503 else $as_nop
13504 enable_xslt=no
13506 else $as_nop
13507 enable_xslt=no
13509 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt cflags: $XSLT_PE_CFLAGS" >&5
13510 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt libs: $XSLT_PE_LIBS" >&5
13512 if ${ZLIB_PE_LIBS:+false} :
13513 then :
13514 ZLIB_PE_LIBS=z
13515 if ${ZLIB_PE_CFLAGS:+false} :
13516 then :
13517 ZLIB_PE_CFLAGS="-I\$(top_srcdir)/libs/zlib -DFAR= -DZ_SOLO"
13518 else $as_nop
13519 enable_zlib=no
13521 else $as_nop
13522 enable_zlib=no
13524 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib cflags: $ZLIB_PE_CFLAGS" >&5
13525 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib libs: $ZLIB_PE_LIBS" >&5
13529 if test "$ac_cv_header_pthread_h" = "yes"
13530 then
13531 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
13532 if test "x$ac_cv_func_pthread_create" = xyes
13533 then :
13535 else $as_nop
13536 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
13537 printf %s "checking for pthread_create in -lpthread... " >&6; }
13538 if test ${ac_cv_lib_pthread_pthread_create+y}
13539 then :
13540 printf %s "(cached) " >&6
13541 else $as_nop
13542 ac_check_lib_save_LIBS=$LIBS
13543 LIBS="-lpthread $LIBS"
13544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13545 /* end confdefs.h. */
13547 /* Override any GCC internal prototype to avoid an error.
13548 Use char because int might match the return type of a GCC
13549 builtin and then its argument prototype would still apply. */
13550 char pthread_create ();
13552 main (void)
13554 return pthread_create ();
13556 return 0;
13558 _ACEOF
13559 if ac_fn_c_try_link "$LINENO"
13560 then :
13561 ac_cv_lib_pthread_pthread_create=yes
13562 else $as_nop
13563 ac_cv_lib_pthread_pthread_create=no
13565 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13566 conftest$ac_exeext conftest.$ac_ext
13567 LIBS=$ac_check_lib_save_LIBS
13569 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
13570 printf "%s\n" "$ac_cv_lib_pthread_pthread_create" >&6; }
13571 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
13572 then :
13573 PTHREAD_LIBS="-lpthread"
13580 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x
13581 then :
13582 case "x$with_pthread" in
13583 xno) ;;
13584 *) as_fn_error $? "pthread ${notice_platform}development files not found.
13585 Wine cannot support threads without libpthread.
13586 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
13587 esac
13592 ac_ext=c
13593 ac_cpp='$CPP $CPPFLAGS'
13594 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13595 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13596 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13597 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
13598 printf %s "checking how to run the C preprocessor... " >&6; }
13599 # On Suns, sometimes $CPP names a directory.
13600 if test -n "$CPP" && test -d "$CPP"; then
13601 CPP=
13603 if test -z "$CPP"; then
13604 if test ${ac_cv_prog_CPP+y}
13605 then :
13606 printf %s "(cached) " >&6
13607 else $as_nop
13608 # Double quotes because $CC needs to be expanded
13609 for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
13611 ac_preproc_ok=false
13612 for ac_c_preproc_warn_flag in '' yes
13614 # Use a header file that comes with gcc, so configuring glibc
13615 # with a fresh cross-compiler works.
13616 # On the NeXT, cc -E runs the code through the compiler's parser,
13617 # not just through cpp. "Syntax error" is here to catch this case.
13618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13619 /* end confdefs.h. */
13620 #include <limits.h>
13621 Syntax error
13622 _ACEOF
13623 if ac_fn_c_try_cpp "$LINENO"
13624 then :
13626 else $as_nop
13627 # Broken: fails on valid input.
13628 continue
13630 rm -f conftest.err conftest.i conftest.$ac_ext
13632 # OK, works on sane cases. Now check whether nonexistent headers
13633 # can be detected and how.
13634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13635 /* end confdefs.h. */
13636 #include <ac_nonexistent.h>
13637 _ACEOF
13638 if ac_fn_c_try_cpp "$LINENO"
13639 then :
13640 # Broken: success on invalid input.
13641 continue
13642 else $as_nop
13643 # Passes both tests.
13644 ac_preproc_ok=:
13645 break
13647 rm -f conftest.err conftest.i conftest.$ac_ext
13649 done
13650 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13651 rm -f conftest.i conftest.err conftest.$ac_ext
13652 if $ac_preproc_ok
13653 then :
13654 break
13657 done
13658 ac_cv_prog_CPP=$CPP
13661 CPP=$ac_cv_prog_CPP
13662 else
13663 ac_cv_prog_CPP=$CPP
13665 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
13666 printf "%s\n" "$CPP" >&6; }
13667 ac_preproc_ok=false
13668 for ac_c_preproc_warn_flag in '' yes
13670 # Use a header file that comes with gcc, so configuring glibc
13671 # with a fresh cross-compiler works.
13672 # On the NeXT, cc -E runs the code through the compiler's parser,
13673 # not just through cpp. "Syntax error" is here to catch this case.
13674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13675 /* end confdefs.h. */
13676 #include <limits.h>
13677 Syntax error
13678 _ACEOF
13679 if ac_fn_c_try_cpp "$LINENO"
13680 then :
13682 else $as_nop
13683 # Broken: fails on valid input.
13684 continue
13686 rm -f conftest.err conftest.i conftest.$ac_ext
13688 # OK, works on sane cases. Now check whether nonexistent headers
13689 # can be detected and how.
13690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13691 /* end confdefs.h. */
13692 #include <ac_nonexistent.h>
13693 _ACEOF
13694 if ac_fn_c_try_cpp "$LINENO"
13695 then :
13696 # Broken: success on invalid input.
13697 continue
13698 else $as_nop
13699 # Passes both tests.
13700 ac_preproc_ok=:
13701 break
13703 rm -f conftest.err conftest.i conftest.$ac_ext
13705 done
13706 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13707 rm -f conftest.i conftest.err conftest.$ac_ext
13708 if $ac_preproc_ok
13709 then :
13711 else $as_nop
13712 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13713 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
13714 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
13715 See \`config.log' for more details" "$LINENO" 5; }
13718 ac_ext=c
13719 ac_cpp='$CPP $CPPFLAGS'
13720 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13721 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13722 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13725 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X" >&5
13726 printf %s "checking for X... " >&6; }
13729 # Check whether --with-x was given.
13730 if test ${with_x+y}
13731 then :
13732 withval=$with_x;
13735 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13736 if test "x$with_x" = xno; then
13737 # The user explicitly disabled X.
13738 have_x=disabled
13739 else
13740 case $x_includes,$x_libraries in #(
13741 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
13742 *,NONE | NONE,*) if test ${ac_cv_have_x+y}
13743 then :
13744 printf %s "(cached) " >&6
13745 else $as_nop
13746 # One or both of the vars are not set, and there is no cached value.
13747 ac_x_includes=no
13748 ac_x_libraries=no
13749 # Do we need to do anything special at all?
13750 ac_save_LIBS=$LIBS
13751 LIBS="-lX11 $LIBS"
13752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13753 /* end confdefs.h. */
13754 #include <X11/Xlib.h>
13756 main (void)
13758 XrmInitialize ()
13760 return 0;
13762 _ACEOF
13763 if ac_fn_c_try_link "$LINENO"
13764 then :
13765 # We can compile and link X programs with no special options.
13766 ac_x_includes=
13767 ac_x_libraries=
13769 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13770 conftest$ac_exeext conftest.$ac_ext
13771 LIBS="$ac_save_LIBS"
13772 # If that didn't work, only try xmkmf and file system searches
13773 # for native compilation.
13774 if test x"$ac_x_includes" = xno && test "$cross_compiling" = no
13775 then :
13776 rm -f -r conftest.dir
13777 if mkdir conftest.dir; then
13778 cd conftest.dir
13779 cat >Imakefile <<'_ACEOF'
13780 incroot:
13781 @echo incroot='${INCROOT}'
13782 usrlibdir:
13783 @echo usrlibdir='${USRLIBDIR}'
13784 libdir:
13785 @echo libdir='${LIBDIR}'
13786 _ACEOF
13787 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
13788 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
13789 for ac_var in incroot usrlibdir libdir; do
13790 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
13791 done
13792 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
13793 for ac_extension in a so sl dylib la dll; do
13794 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
13795 test -f "$ac_im_libdir/libX11.$ac_extension"; then
13796 ac_im_usrlibdir=$ac_im_libdir; break
13798 done
13799 # Screen out bogus values from the imake configuration. They are
13800 # bogus both because they are the default anyway, and because
13801 # using them would break gcc on systems where it needs fixed includes.
13802 case $ac_im_incroot in
13803 /usr/include) ac_x_includes= ;;
13804 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
13805 esac
13806 case $ac_im_usrlibdir in
13807 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
13808 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
13809 esac
13811 cd ..
13812 rm -f -r conftest.dir
13815 # Standard set of common directories for X headers.
13816 # Check X11 before X11Rn because it is often a symlink to the current release.
13817 ac_x_header_dirs='
13818 /usr/X11/include
13819 /usr/X11R7/include
13820 /usr/X11R6/include
13821 /usr/X11R5/include
13822 /usr/X11R4/include
13824 /usr/include/X11
13825 /usr/include/X11R7
13826 /usr/include/X11R6
13827 /usr/include/X11R5
13828 /usr/include/X11R4
13830 /usr/local/X11/include
13831 /usr/local/X11R7/include
13832 /usr/local/X11R6/include
13833 /usr/local/X11R5/include
13834 /usr/local/X11R4/include
13836 /usr/local/include/X11
13837 /usr/local/include/X11R7
13838 /usr/local/include/X11R6
13839 /usr/local/include/X11R5
13840 /usr/local/include/X11R4
13842 /opt/X11/include
13844 /usr/X386/include
13845 /usr/x386/include
13846 /usr/XFree86/include/X11
13848 /usr/include
13849 /usr/local/include
13850 /usr/unsupported/include
13851 /usr/athena/include
13852 /usr/local/x11r5/include
13853 /usr/lpp/Xamples/include
13855 /usr/openwin/include
13856 /usr/openwin/share/include'
13858 if test "$ac_x_includes" = no; then
13859 # Guess where to find include files, by looking for Xlib.h.
13860 # First, try using that file with no special directory specified.
13861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13862 /* end confdefs.h. */
13863 #include <X11/Xlib.h>
13864 _ACEOF
13865 if ac_fn_c_try_cpp "$LINENO"
13866 then :
13867 # We can compile using X headers with no special include directory.
13868 ac_x_includes=
13869 else $as_nop
13870 for ac_dir in $ac_x_header_dirs; do
13871 if test -r "$ac_dir/X11/Xlib.h"; then
13872 ac_x_includes=$ac_dir
13873 break
13875 done
13877 rm -f conftest.err conftest.i conftest.$ac_ext
13878 fi # $ac_x_includes = no
13880 if test "$ac_x_libraries" = no; then
13881 # Check for the libraries.
13882 # See if we find them without any special options.
13883 # Don't add to $LIBS permanently.
13884 ac_save_LIBS=$LIBS
13885 LIBS="-lX11 $LIBS"
13886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13887 /* end confdefs.h. */
13888 #include <X11/Xlib.h>
13890 main (void)
13892 XrmInitialize ()
13894 return 0;
13896 _ACEOF
13897 if ac_fn_c_try_link "$LINENO"
13898 then :
13899 LIBS=$ac_save_LIBS
13900 # We can link X programs with no special library path.
13901 ac_x_libraries=
13902 else $as_nop
13903 LIBS=$ac_save_LIBS
13904 for ac_dir in `printf "%s\n" "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
13906 # Don't even attempt the hair of trying to link an X program!
13907 for ac_extension in a so sl dylib la dll; do
13908 if test -r "$ac_dir/libX11.$ac_extension"; then
13909 ac_x_libraries=$ac_dir
13910 break 2
13912 done
13913 done
13915 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13916 conftest$ac_exeext conftest.$ac_ext
13917 fi # $ac_x_libraries = no
13920 # Record the results.
13921 case $ac_x_includes,$ac_x_libraries in #(
13922 no,* | *,no | *\'*) :
13923 # Didn't find X, or a directory has "'" in its name.
13924 ac_cv_have_x="have_x=no" ;; #(
13925 *) :
13926 # Record where we found X for the cache.
13927 ac_cv_have_x="have_x=yes\
13928 ac_x_includes='$ac_x_includes'\
13929 ac_x_libraries='$ac_x_libraries'" ;;
13930 esac
13932 ;; #(
13933 *) have_x=yes;;
13934 esac
13935 eval "$ac_cv_have_x"
13936 fi # $with_x != no
13938 if test "$have_x" != yes; then
13939 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
13940 printf "%s\n" "$have_x" >&6; }
13941 no_x=yes
13942 else
13943 # If each of the values was on the command line, it overrides each guess.
13944 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
13945 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
13946 # Update the cache value to reflect the command line values.
13947 ac_cv_have_x="have_x=yes\
13948 ac_x_includes='$x_includes'\
13949 ac_x_libraries='$x_libraries'"
13950 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
13951 printf "%s\n" "libraries $x_libraries, headers $x_includes" >&6; }
13954 if test "$no_x" = yes; then
13955 # Not all programs may use this symbol, but it does not hurt to define it.
13957 printf "%s\n" "#define X_DISPLAY_MISSING 1" >>confdefs.h
13959 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
13960 else
13961 if test -n "$x_includes"; then
13962 X_CFLAGS="$X_CFLAGS -I$x_includes"
13965 # It would also be nice to do this for all -L options, not just this one.
13966 if test -n "$x_libraries"; then
13967 X_LIBS="$X_LIBS -L$x_libraries"
13968 # For Solaris; some versions of Sun CC require a space after -R and
13969 # others require no space. Words are not sufficient . . . .
13970 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
13971 printf %s "checking whether -R must be followed by a space... " >&6; }
13972 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
13973 ac_xsave_c_werror_flag=$ac_c_werror_flag
13974 ac_c_werror_flag=yes
13975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13976 /* end confdefs.h. */
13979 main (void)
13983 return 0;
13985 _ACEOF
13986 if ac_fn_c_try_link "$LINENO"
13987 then :
13988 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13989 printf "%s\n" "no" >&6; }
13990 X_LIBS="$X_LIBS -R$x_libraries"
13991 else $as_nop
13992 LIBS="$ac_xsave_LIBS -R $x_libraries"
13993 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13994 /* end confdefs.h. */
13997 main (void)
14001 return 0;
14003 _ACEOF
14004 if ac_fn_c_try_link "$LINENO"
14005 then :
14006 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14007 printf "%s\n" "yes" >&6; }
14008 X_LIBS="$X_LIBS -R $x_libraries"
14009 else $as_nop
14010 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
14011 printf "%s\n" "neither works" >&6; }
14013 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14014 conftest$ac_exeext conftest.$ac_ext
14016 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14017 conftest$ac_exeext conftest.$ac_ext
14018 ac_c_werror_flag=$ac_xsave_c_werror_flag
14019 LIBS=$ac_xsave_LIBS
14022 # Check for system-dependent libraries X programs must link with.
14023 # Do this before checking for the system-independent R6 libraries
14024 # (-lICE), since we may need -lsocket or whatever for X linking.
14026 if test "$ISC" = yes; then
14027 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
14028 else
14029 # Martyn Johnson says this is needed for Ultrix, if the X
14030 # libraries were built with DECnet support. And Karl Berry says
14031 # the Alpha needs dnet_stub (dnet does not exist).
14032 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
14033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14034 /* end confdefs.h. */
14036 /* Override any GCC internal prototype to avoid an error.
14037 Use char because int might match the return type of a GCC
14038 builtin and then its argument prototype would still apply. */
14039 char XOpenDisplay ();
14041 main (void)
14043 return XOpenDisplay ();
14045 return 0;
14047 _ACEOF
14048 if ac_fn_c_try_link "$LINENO"
14049 then :
14051 else $as_nop
14052 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
14053 printf %s "checking for dnet_ntoa in -ldnet... " >&6; }
14054 if test ${ac_cv_lib_dnet_dnet_ntoa+y}
14055 then :
14056 printf %s "(cached) " >&6
14057 else $as_nop
14058 ac_check_lib_save_LIBS=$LIBS
14059 LIBS="-ldnet $LIBS"
14060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14061 /* end confdefs.h. */
14063 /* Override any GCC internal prototype to avoid an error.
14064 Use char because int might match the return type of a GCC
14065 builtin and then its argument prototype would still apply. */
14066 char dnet_ntoa ();
14068 main (void)
14070 return dnet_ntoa ();
14072 return 0;
14074 _ACEOF
14075 if ac_fn_c_try_link "$LINENO"
14076 then :
14077 ac_cv_lib_dnet_dnet_ntoa=yes
14078 else $as_nop
14079 ac_cv_lib_dnet_dnet_ntoa=no
14081 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14082 conftest$ac_exeext conftest.$ac_ext
14083 LIBS=$ac_check_lib_save_LIBS
14085 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
14086 printf "%s\n" "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
14087 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
14088 then :
14089 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
14092 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
14093 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
14094 printf %s "checking for dnet_ntoa in -ldnet_stub... " >&6; }
14095 if test ${ac_cv_lib_dnet_stub_dnet_ntoa+y}
14096 then :
14097 printf %s "(cached) " >&6
14098 else $as_nop
14099 ac_check_lib_save_LIBS=$LIBS
14100 LIBS="-ldnet_stub $LIBS"
14101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14102 /* end confdefs.h. */
14104 /* Override any GCC internal prototype to avoid an error.
14105 Use char because int might match the return type of a GCC
14106 builtin and then its argument prototype would still apply. */
14107 char dnet_ntoa ();
14109 main (void)
14111 return dnet_ntoa ();
14113 return 0;
14115 _ACEOF
14116 if ac_fn_c_try_link "$LINENO"
14117 then :
14118 ac_cv_lib_dnet_stub_dnet_ntoa=yes
14119 else $as_nop
14120 ac_cv_lib_dnet_stub_dnet_ntoa=no
14122 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14123 conftest$ac_exeext conftest.$ac_ext
14124 LIBS=$ac_check_lib_save_LIBS
14126 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
14127 printf "%s\n" "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
14128 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
14129 then :
14130 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
14135 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14136 conftest$ac_exeext conftest.$ac_ext
14137 LIBS="$ac_xsave_LIBS"
14139 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
14140 # to get the SysV transport functions.
14141 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
14142 # needs -lnsl.
14143 # The nsl library prevents programs from opening the X display
14144 # on Irix 5.2, according to T.E. Dickey.
14145 # The functions gethostbyname, getservbyname, and inet_addr are
14146 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
14147 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
14148 if test "x$ac_cv_func_gethostbyname" = xyes
14149 then :
14153 if test $ac_cv_func_gethostbyname = no; then
14154 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
14155 printf %s "checking for gethostbyname in -lnsl... " >&6; }
14156 if test ${ac_cv_lib_nsl_gethostbyname+y}
14157 then :
14158 printf %s "(cached) " >&6
14159 else $as_nop
14160 ac_check_lib_save_LIBS=$LIBS
14161 LIBS="-lnsl $LIBS"
14162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14163 /* end confdefs.h. */
14165 /* Override any GCC internal prototype to avoid an error.
14166 Use char because int might match the return type of a GCC
14167 builtin and then its argument prototype would still apply. */
14168 char gethostbyname ();
14170 main (void)
14172 return gethostbyname ();
14174 return 0;
14176 _ACEOF
14177 if ac_fn_c_try_link "$LINENO"
14178 then :
14179 ac_cv_lib_nsl_gethostbyname=yes
14180 else $as_nop
14181 ac_cv_lib_nsl_gethostbyname=no
14183 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14184 conftest$ac_exeext conftest.$ac_ext
14185 LIBS=$ac_check_lib_save_LIBS
14187 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
14188 printf "%s\n" "$ac_cv_lib_nsl_gethostbyname" >&6; }
14189 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
14190 then :
14191 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
14194 if test $ac_cv_lib_nsl_gethostbyname = no; then
14195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
14196 printf %s "checking for gethostbyname in -lbsd... " >&6; }
14197 if test ${ac_cv_lib_bsd_gethostbyname+y}
14198 then :
14199 printf %s "(cached) " >&6
14200 else $as_nop
14201 ac_check_lib_save_LIBS=$LIBS
14202 LIBS="-lbsd $LIBS"
14203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14204 /* end confdefs.h. */
14206 /* Override any GCC internal prototype to avoid an error.
14207 Use char because int might match the return type of a GCC
14208 builtin and then its argument prototype would still apply. */
14209 char gethostbyname ();
14211 main (void)
14213 return gethostbyname ();
14215 return 0;
14217 _ACEOF
14218 if ac_fn_c_try_link "$LINENO"
14219 then :
14220 ac_cv_lib_bsd_gethostbyname=yes
14221 else $as_nop
14222 ac_cv_lib_bsd_gethostbyname=no
14224 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14225 conftest$ac_exeext conftest.$ac_ext
14226 LIBS=$ac_check_lib_save_LIBS
14228 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
14229 printf "%s\n" "$ac_cv_lib_bsd_gethostbyname" >&6; }
14230 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
14231 then :
14232 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
14238 # lieder@skyler.mavd.honeywell.com says without -lsocket,
14239 # socket/setsockopt and other routines are undefined under SCO ODT
14240 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
14241 # on later versions), says Simon Leinen: it contains gethostby*
14242 # variants that don't use the name server (or something). -lsocket
14243 # must be given before -lnsl if both are needed. We assume that
14244 # if connect needs -lnsl, so does gethostbyname.
14245 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
14246 if test "x$ac_cv_func_connect" = xyes
14247 then :
14251 if test $ac_cv_func_connect = no; then
14252 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
14253 printf %s "checking for connect in -lsocket... " >&6; }
14254 if test ${ac_cv_lib_socket_connect+y}
14255 then :
14256 printf %s "(cached) " >&6
14257 else $as_nop
14258 ac_check_lib_save_LIBS=$LIBS
14259 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
14260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14261 /* end confdefs.h. */
14263 /* Override any GCC internal prototype to avoid an error.
14264 Use char because int might match the return type of a GCC
14265 builtin and then its argument prototype would still apply. */
14266 char connect ();
14268 main (void)
14270 return connect ();
14272 return 0;
14274 _ACEOF
14275 if ac_fn_c_try_link "$LINENO"
14276 then :
14277 ac_cv_lib_socket_connect=yes
14278 else $as_nop
14279 ac_cv_lib_socket_connect=no
14281 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14282 conftest$ac_exeext conftest.$ac_ext
14283 LIBS=$ac_check_lib_save_LIBS
14285 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
14286 printf "%s\n" "$ac_cv_lib_socket_connect" >&6; }
14287 if test "x$ac_cv_lib_socket_connect" = xyes
14288 then :
14289 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
14294 # Guillermo Gomez says -lposix is necessary on A/UX.
14295 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
14296 if test "x$ac_cv_func_remove" = xyes
14297 then :
14301 if test $ac_cv_func_remove = no; then
14302 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
14303 printf %s "checking for remove in -lposix... " >&6; }
14304 if test ${ac_cv_lib_posix_remove+y}
14305 then :
14306 printf %s "(cached) " >&6
14307 else $as_nop
14308 ac_check_lib_save_LIBS=$LIBS
14309 LIBS="-lposix $LIBS"
14310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14311 /* end confdefs.h. */
14313 /* Override any GCC internal prototype to avoid an error.
14314 Use char because int might match the return type of a GCC
14315 builtin and then its argument prototype would still apply. */
14316 char remove ();
14318 main (void)
14320 return remove ();
14322 return 0;
14324 _ACEOF
14325 if ac_fn_c_try_link "$LINENO"
14326 then :
14327 ac_cv_lib_posix_remove=yes
14328 else $as_nop
14329 ac_cv_lib_posix_remove=no
14331 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14332 conftest$ac_exeext conftest.$ac_ext
14333 LIBS=$ac_check_lib_save_LIBS
14335 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
14336 printf "%s\n" "$ac_cv_lib_posix_remove" >&6; }
14337 if test "x$ac_cv_lib_posix_remove" = xyes
14338 then :
14339 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
14344 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
14345 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
14346 if test "x$ac_cv_func_shmat" = xyes
14347 then :
14351 if test $ac_cv_func_shmat = no; then
14352 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
14353 printf %s "checking for shmat in -lipc... " >&6; }
14354 if test ${ac_cv_lib_ipc_shmat+y}
14355 then :
14356 printf %s "(cached) " >&6
14357 else $as_nop
14358 ac_check_lib_save_LIBS=$LIBS
14359 LIBS="-lipc $LIBS"
14360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14361 /* end confdefs.h. */
14363 /* Override any GCC internal prototype to avoid an error.
14364 Use char because int might match the return type of a GCC
14365 builtin and then its argument prototype would still apply. */
14366 char shmat ();
14368 main (void)
14370 return shmat ();
14372 return 0;
14374 _ACEOF
14375 if ac_fn_c_try_link "$LINENO"
14376 then :
14377 ac_cv_lib_ipc_shmat=yes
14378 else $as_nop
14379 ac_cv_lib_ipc_shmat=no
14381 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14382 conftest$ac_exeext conftest.$ac_ext
14383 LIBS=$ac_check_lib_save_LIBS
14385 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
14386 printf "%s\n" "$ac_cv_lib_ipc_shmat" >&6; }
14387 if test "x$ac_cv_lib_ipc_shmat" = xyes
14388 then :
14389 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
14395 # Check for libraries that X11R6 Xt/Xaw programs need.
14396 ac_save_LDFLAGS=$LDFLAGS
14397 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
14398 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
14399 # check for ICE first), but we must link in the order -lSM -lICE or
14400 # we get undefined symbols. So assume we have SM if we have ICE.
14401 # These have to be linked with before -lX11, unlike the other
14402 # libraries we check for below, so use a different variable.
14403 # John Interrante, Karl Berry
14404 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
14405 printf %s "checking for IceConnectionNumber in -lICE... " >&6; }
14406 if test ${ac_cv_lib_ICE_IceConnectionNumber+y}
14407 then :
14408 printf %s "(cached) " >&6
14409 else $as_nop
14410 ac_check_lib_save_LIBS=$LIBS
14411 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
14412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14413 /* end confdefs.h. */
14415 /* Override any GCC internal prototype to avoid an error.
14416 Use char because int might match the return type of a GCC
14417 builtin and then its argument prototype would still apply. */
14418 char IceConnectionNumber ();
14420 main (void)
14422 return IceConnectionNumber ();
14424 return 0;
14426 _ACEOF
14427 if ac_fn_c_try_link "$LINENO"
14428 then :
14429 ac_cv_lib_ICE_IceConnectionNumber=yes
14430 else $as_nop
14431 ac_cv_lib_ICE_IceConnectionNumber=no
14433 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14434 conftest$ac_exeext conftest.$ac_ext
14435 LIBS=$ac_check_lib_save_LIBS
14437 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
14438 printf "%s\n" "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
14439 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
14440 then :
14441 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
14444 LDFLAGS=$ac_save_LDFLAGS
14449 if test "$have_x" = "yes"
14450 then
14451 ac_save_CPPFLAGS="$CPPFLAGS"
14452 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
14454 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
14455 printf %s "checking for -lX11... " >&6; }
14456 if test ${ac_cv_lib_soname_X11+y}
14457 then :
14458 printf %s "(cached) " >&6
14459 else $as_nop
14460 ac_check_soname_save_LIBS=$LIBS
14461 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14463 /* end confdefs.h. */
14465 /* Override any GCC internal prototype to avoid an error.
14466 Use char because int might match the return type of a GCC
14467 builtin and then its argument prototype would still apply. */
14468 char XCreateWindow ();
14470 main (void)
14472 return XCreateWindow ();
14474 return 0;
14476 _ACEOF
14477 if ac_fn_c_try_link "$LINENO"
14478 then :
14479 case "$LIBEXT" in
14480 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14481 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'` ;;
14482 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14483 if ${ac_cv_lib_soname_X11:+false} :
14484 then :
14485 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14486 fi ;;
14487 esac
14488 else $as_nop
14489 ac_cv_lib_soname_X11=
14491 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14492 conftest$ac_exeext conftest.$ac_ext
14493 LIBS=$ac_check_soname_save_LIBS
14495 if ${ac_cv_lib_soname_X11:+false} :
14496 then :
14497 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14498 printf "%s\n" "not found" >&6; }
14500 else $as_nop
14501 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
14502 printf "%s\n" "$ac_cv_lib_soname_X11" >&6; }
14504 printf "%s\n" "#define SONAME_LIBX11 \"$ac_cv_lib_soname_X11\"" >>confdefs.h
14508 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
14509 printf %s "checking for -lXext... " >&6; }
14510 if test ${ac_cv_lib_soname_Xext+y}
14511 then :
14512 printf %s "(cached) " >&6
14513 else $as_nop
14514 ac_check_soname_save_LIBS=$LIBS
14515 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14517 /* end confdefs.h. */
14519 /* Override any GCC internal prototype to avoid an error.
14520 Use char because int might match the return type of a GCC
14521 builtin and then its argument prototype would still apply. */
14522 char XextCreateExtension ();
14524 main (void)
14526 return XextCreateExtension ();
14528 return 0;
14530 _ACEOF
14531 if ac_fn_c_try_link "$LINENO"
14532 then :
14533 case "$LIBEXT" in
14534 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14535 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'` ;;
14536 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14537 if ${ac_cv_lib_soname_Xext:+false} :
14538 then :
14539 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14540 fi ;;
14541 esac
14542 else $as_nop
14543 ac_cv_lib_soname_Xext=
14545 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14546 conftest$ac_exeext conftest.$ac_ext
14547 LIBS=$ac_check_soname_save_LIBS
14549 if ${ac_cv_lib_soname_Xext:+false} :
14550 then :
14551 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14552 printf "%s\n" "not found" >&6; }
14554 else $as_nop
14555 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
14556 printf "%s\n" "$ac_cv_lib_soname_Xext" >&6; }
14558 printf "%s\n" "#define SONAME_LIBXEXT \"$ac_cv_lib_soname_Xext\"" >>confdefs.h
14560 X_LIBS="$X_LIBS -lXext"
14562 X_LIBS="$X_LIBS -lX11"
14564 ac_fn_c_check_header_compile "$LINENO" "X11/Xlib.h" "ac_cv_header_X11_Xlib_h" "#ifdef HAVE_X11_XLIB_H
14565 # include <X11/Xlib.h>
14566 #endif
14567 #ifdef HAVE_X11_XUTIL_H
14568 # include <X11/Xutil.h>
14569 #endif
14571 if test "x$ac_cv_header_X11_Xlib_h" = xyes
14572 then :
14573 printf "%s\n" "#define HAVE_X11_XLIB_H 1" >>confdefs.h
14576 ac_fn_c_check_header_compile "$LINENO" "X11/XKBlib.h" "ac_cv_header_X11_XKBlib_h" "#ifdef HAVE_X11_XLIB_H
14577 # include <X11/Xlib.h>
14578 #endif
14579 #ifdef HAVE_X11_XUTIL_H
14580 # include <X11/Xutil.h>
14581 #endif
14583 if test "x$ac_cv_header_X11_XKBlib_h" = xyes
14584 then :
14585 printf "%s\n" "#define HAVE_X11_XKBLIB_H 1" >>confdefs.h
14588 ac_fn_c_check_header_compile "$LINENO" "X11/Xutil.h" "ac_cv_header_X11_Xutil_h" "#ifdef HAVE_X11_XLIB_H
14589 # include <X11/Xlib.h>
14590 #endif
14591 #ifdef HAVE_X11_XUTIL_H
14592 # include <X11/Xutil.h>
14593 #endif
14595 if test "x$ac_cv_header_X11_Xutil_h" = xyes
14596 then :
14597 printf "%s\n" "#define HAVE_X11_XUTIL_H 1" >>confdefs.h
14600 ac_fn_c_check_header_compile "$LINENO" "X11/Xcursor/Xcursor.h" "ac_cv_header_X11_Xcursor_Xcursor_h" "#ifdef HAVE_X11_XLIB_H
14601 # include <X11/Xlib.h>
14602 #endif
14603 #ifdef HAVE_X11_XUTIL_H
14604 # include <X11/Xutil.h>
14605 #endif
14607 if test "x$ac_cv_header_X11_Xcursor_Xcursor_h" = xyes
14608 then :
14609 printf "%s\n" "#define HAVE_X11_XCURSOR_XCURSOR_H 1" >>confdefs.h
14612 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/shape.h" "ac_cv_header_X11_extensions_shape_h" "#ifdef HAVE_X11_XLIB_H
14613 # include <X11/Xlib.h>
14614 #endif
14615 #ifdef HAVE_X11_XUTIL_H
14616 # include <X11/Xutil.h>
14617 #endif
14619 if test "x$ac_cv_header_X11_extensions_shape_h" = xyes
14620 then :
14621 printf "%s\n" "#define HAVE_X11_EXTENSIONS_SHAPE_H 1" >>confdefs.h
14624 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput.h" "ac_cv_header_X11_extensions_XInput_h" "#ifdef HAVE_X11_XLIB_H
14625 # include <X11/Xlib.h>
14626 #endif
14627 #ifdef HAVE_X11_XUTIL_H
14628 # include <X11/Xutil.h>
14629 #endif
14631 if test "x$ac_cv_header_X11_extensions_XInput_h" = xyes
14632 then :
14633 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT_H 1" >>confdefs.h
14636 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput2.h" "ac_cv_header_X11_extensions_XInput2_h" "#ifdef HAVE_X11_XLIB_H
14637 # include <X11/Xlib.h>
14638 #endif
14639 #ifdef HAVE_X11_XUTIL_H
14640 # include <X11/Xutil.h>
14641 #endif
14643 if test "x$ac_cv_header_X11_extensions_XInput2_h" = xyes
14644 then :
14645 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT2_H 1" >>confdefs.h
14648 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XShm.h" "ac_cv_header_X11_extensions_XShm_h" "#ifdef HAVE_X11_XLIB_H
14649 # include <X11/Xlib.h>
14650 #endif
14651 #ifdef HAVE_X11_XUTIL_H
14652 # include <X11/Xutil.h>
14653 #endif
14655 if test "x$ac_cv_header_X11_extensions_XShm_h" = xyes
14656 then :
14657 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XSHM_H 1" >>confdefs.h
14660 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xcomposite.h" "ac_cv_header_X11_extensions_Xcomposite_h" "#ifdef HAVE_X11_XLIB_H
14661 # include <X11/Xlib.h>
14662 #endif
14663 #ifdef HAVE_X11_XUTIL_H
14664 # include <X11/Xutil.h>
14665 #endif
14667 if test "x$ac_cv_header_X11_extensions_Xcomposite_h" = xyes
14668 then :
14669 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XCOMPOSITE_H 1" >>confdefs.h
14672 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xfixes.h" "ac_cv_header_X11_extensions_Xfixes_h" "#ifdef HAVE_X11_XLIB_H
14673 # include <X11/Xlib.h>
14674 #endif
14675 #ifdef HAVE_X11_XUTIL_H
14676 # include <X11/Xutil.h>
14677 #endif
14679 if test "x$ac_cv_header_X11_extensions_Xfixes_h" = xyes
14680 then :
14681 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XFIXES_H 1" >>confdefs.h
14684 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xinerama.h" "ac_cv_header_X11_extensions_Xinerama_h" "#ifdef HAVE_X11_XLIB_H
14685 # include <X11/Xlib.h>
14686 #endif
14687 #ifdef HAVE_X11_XUTIL_H
14688 # include <X11/Xutil.h>
14689 #endif
14691 if test "x$ac_cv_header_X11_extensions_Xinerama_h" = xyes
14692 then :
14693 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINERAMA_H 1" >>confdefs.h
14696 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrandr.h" "ac_cv_header_X11_extensions_Xrandr_h" "#ifdef HAVE_X11_XLIB_H
14697 # include <X11/Xlib.h>
14698 #endif
14699 #ifdef HAVE_X11_XUTIL_H
14700 # include <X11/Xutil.h>
14701 #endif
14703 if test "x$ac_cv_header_X11_extensions_Xrandr_h" = xyes
14704 then :
14705 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRANDR_H 1" >>confdefs.h
14708 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_h" "#ifdef HAVE_X11_XLIB_H
14709 # include <X11/Xlib.h>
14710 #endif
14711 #ifdef HAVE_X11_XUTIL_H
14712 # include <X11/Xutil.h>
14713 #endif
14715 if test "x$ac_cv_header_X11_extensions_Xrender_h" = xyes
14716 then :
14717 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRENDER_H 1" >>confdefs.h
14720 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmode.h" "ac_cv_header_X11_extensions_xf86vmode_h" "#ifdef HAVE_X11_XLIB_H
14721 # include <X11/Xlib.h>
14722 #endif
14723 #ifdef HAVE_X11_XUTIL_H
14724 # include <X11/Xutil.h>
14725 #endif
14727 if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = xyes
14728 then :
14729 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMODE_H 1" >>confdefs.h
14732 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmproto.h" "ac_cv_header_X11_extensions_xf86vmproto_h" "#ifdef HAVE_X11_XLIB_H
14733 # include <X11/Xlib.h>
14734 #endif
14735 #ifdef HAVE_X11_XUTIL_H
14736 # include <X11/Xutil.h>
14737 #endif
14739 if test "x$ac_cv_header_X11_extensions_xf86vmproto_h" = xyes
14740 then :
14741 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMPROTO_H 1" >>confdefs.h
14746 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
14747 then
14748 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
14749 printf %s "checking for XkbQueryExtension in -lX11... " >&6; }
14750 if test ${ac_cv_lib_X11_XkbQueryExtension+y}
14751 then :
14752 printf %s "(cached) " >&6
14753 else $as_nop
14754 ac_check_lib_save_LIBS=$LIBS
14755 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14757 /* end confdefs.h. */
14759 /* Override any GCC internal prototype to avoid an error.
14760 Use char because int might match the return type of a GCC
14761 builtin and then its argument prototype would still apply. */
14762 char XkbQueryExtension ();
14764 main (void)
14766 return XkbQueryExtension ();
14768 return 0;
14770 _ACEOF
14771 if ac_fn_c_try_link "$LINENO"
14772 then :
14773 ac_cv_lib_X11_XkbQueryExtension=yes
14774 else $as_nop
14775 ac_cv_lib_X11_XkbQueryExtension=no
14777 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14778 conftest$ac_exeext conftest.$ac_ext
14779 LIBS=$ac_check_lib_save_LIBS
14781 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
14782 printf "%s\n" "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
14783 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
14784 then :
14786 printf "%s\n" "#define HAVE_XKB 1" >>confdefs.h
14792 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
14793 then
14794 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
14795 printf %s "checking for -lXcursor... " >&6; }
14796 if test ${ac_cv_lib_soname_Xcursor+y}
14797 then :
14798 printf %s "(cached) " >&6
14799 else $as_nop
14800 ac_check_soname_save_LIBS=$LIBS
14801 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
14802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14803 /* end confdefs.h. */
14805 /* Override any GCC internal prototype to avoid an error.
14806 Use char because int might match the return type of a GCC
14807 builtin and then its argument prototype would still apply. */
14808 char XcursorImageLoadCursor ();
14810 main (void)
14812 return XcursorImageLoadCursor ();
14814 return 0;
14816 _ACEOF
14817 if ac_fn_c_try_link "$LINENO"
14818 then :
14819 case "$LIBEXT" in
14820 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14821 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'` ;;
14822 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14823 if ${ac_cv_lib_soname_Xcursor:+false} :
14824 then :
14825 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14826 fi ;;
14827 esac
14828 else $as_nop
14829 ac_cv_lib_soname_Xcursor=
14831 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14832 conftest$ac_exeext conftest.$ac_ext
14833 LIBS=$ac_check_soname_save_LIBS
14835 if ${ac_cv_lib_soname_Xcursor:+false} :
14836 then :
14837 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14838 printf "%s\n" "not found" >&6; }
14840 else $as_nop
14841 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
14842 printf "%s\n" "$ac_cv_lib_soname_Xcursor" >&6; }
14844 printf "%s\n" "#define SONAME_LIBXCURSOR \"$ac_cv_lib_soname_Xcursor\"" >>confdefs.h
14849 if test "x$ac_cv_lib_soname_Xcursor" = "x"
14850 then :
14851 case "x$with_xcursor" in
14852 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
14853 xno) ;;
14854 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
14855 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
14856 esac
14860 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
14861 then
14862 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
14863 printf %s "checking for -lXi... " >&6; }
14864 if test ${ac_cv_lib_soname_Xi+y}
14865 then :
14866 printf %s "(cached) " >&6
14867 else $as_nop
14868 ac_check_soname_save_LIBS=$LIBS
14869 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
14870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14871 /* end confdefs.h. */
14873 /* Override any GCC internal prototype to avoid an error.
14874 Use char because int might match the return type of a GCC
14875 builtin and then its argument prototype would still apply. */
14876 char XOpenDevice ();
14878 main (void)
14880 return XOpenDevice ();
14882 return 0;
14884 _ACEOF
14885 if ac_fn_c_try_link "$LINENO"
14886 then :
14887 case "$LIBEXT" in
14888 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14889 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'` ;;
14890 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14891 if ${ac_cv_lib_soname_Xi:+false} :
14892 then :
14893 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14894 fi ;;
14895 esac
14896 else $as_nop
14897 ac_cv_lib_soname_Xi=
14899 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14900 conftest$ac_exeext conftest.$ac_ext
14901 LIBS=$ac_check_soname_save_LIBS
14903 if ${ac_cv_lib_soname_Xi:+false} :
14904 then :
14905 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14906 printf "%s\n" "not found" >&6; }
14908 else $as_nop
14909 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
14910 printf "%s\n" "$ac_cv_lib_soname_Xi" >&6; }
14912 printf "%s\n" "#define SONAME_LIBXI \"$ac_cv_lib_soname_Xi\"" >>confdefs.h
14917 if test "x$ac_cv_lib_soname_Xi" = "x"
14918 then :
14919 case "x$with_xinput" in
14920 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
14921 xno) ;;
14922 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
14923 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
14924 esac
14928 if test "x$ac_cv_lib_soname_Xi" != x
14929 then
14930 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"
14931 then :
14932 case "x$with_xinput2" in
14933 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
14934 xno) ;;
14935 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
14936 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
14937 esac
14942 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
14943 then
14944 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
14945 printf %s "checking for XShmQueryExtension in -lXext... " >&6; }
14946 if test ${ac_cv_lib_Xext_XShmQueryExtension+y}
14947 then :
14948 printf %s "(cached) " >&6
14949 else $as_nop
14950 ac_check_lib_save_LIBS=$LIBS
14951 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14953 /* end confdefs.h. */
14955 /* Override any GCC internal prototype to avoid an error.
14956 Use char because int might match the return type of a GCC
14957 builtin and then its argument prototype would still apply. */
14958 char XShmQueryExtension ();
14960 main (void)
14962 return XShmQueryExtension ();
14964 return 0;
14966 _ACEOF
14967 if ac_fn_c_try_link "$LINENO"
14968 then :
14969 ac_cv_lib_Xext_XShmQueryExtension=yes
14970 else $as_nop
14971 ac_cv_lib_Xext_XShmQueryExtension=no
14973 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14974 conftest$ac_exeext conftest.$ac_ext
14975 LIBS=$ac_check_lib_save_LIBS
14977 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
14978 printf "%s\n" "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
14979 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
14980 then :
14982 printf "%s\n" "#define HAVE_LIBXXSHM 1" >>confdefs.h
14987 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"
14988 then :
14989 case "x$with_xshm" in
14990 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
14991 xno) ;;
14992 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
14993 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
14994 esac
14998 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
14999 then
15000 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
15001 printf %s "checking for XShapeQueryExtension in -lXext... " >&6; }
15002 if test ${ac_cv_lib_Xext_XShapeQueryExtension+y}
15003 then :
15004 printf %s "(cached) " >&6
15005 else $as_nop
15006 ac_check_lib_save_LIBS=$LIBS
15007 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
15008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15009 /* end confdefs.h. */
15011 /* Override any GCC internal prototype to avoid an error.
15012 Use char because int might match the return type of a GCC
15013 builtin and then its argument prototype would still apply. */
15014 char XShapeQueryExtension ();
15016 main (void)
15018 return XShapeQueryExtension ();
15020 return 0;
15022 _ACEOF
15023 if ac_fn_c_try_link "$LINENO"
15024 then :
15025 ac_cv_lib_Xext_XShapeQueryExtension=yes
15026 else $as_nop
15027 ac_cv_lib_Xext_XShapeQueryExtension=no
15029 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15030 conftest$ac_exeext conftest.$ac_ext
15031 LIBS=$ac_check_lib_save_LIBS
15033 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
15034 printf "%s\n" "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
15035 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
15036 then :
15038 printf "%s\n" "#define HAVE_LIBXSHAPE 1" >>confdefs.h
15043 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"
15044 then :
15045 case "x$with_xshape" in
15046 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
15047 xno) ;;
15048 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
15049 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
15050 esac
15054 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
15055 then
15056 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
15057 printf %s "checking for -lXxf86vm... " >&6; }
15058 if test ${ac_cv_lib_soname_Xxf86vm+y}
15059 then :
15060 printf %s "(cached) " >&6
15061 else $as_nop
15062 ac_check_soname_save_LIBS=$LIBS
15063 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
15064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15065 /* end confdefs.h. */
15067 /* Override any GCC internal prototype to avoid an error.
15068 Use char because int might match the return type of a GCC
15069 builtin and then its argument prototype would still apply. */
15070 char XF86VidModeQueryExtension ();
15072 main (void)
15074 return XF86VidModeQueryExtension ();
15076 return 0;
15078 _ACEOF
15079 if ac_fn_c_try_link "$LINENO"
15080 then :
15081 case "$LIBEXT" in
15082 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15083 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'` ;;
15084 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15085 if ${ac_cv_lib_soname_Xxf86vm:+false} :
15086 then :
15087 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15088 fi ;;
15089 esac
15090 else $as_nop
15091 ac_cv_lib_soname_Xxf86vm=
15093 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15094 conftest$ac_exeext conftest.$ac_ext
15095 LIBS=$ac_check_soname_save_LIBS
15097 if ${ac_cv_lib_soname_Xxf86vm:+false} :
15098 then :
15099 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15100 printf "%s\n" "not found" >&6; }
15102 else $as_nop
15103 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
15104 printf "%s\n" "$ac_cv_lib_soname_Xxf86vm" >&6; }
15106 printf "%s\n" "#define SONAME_LIBXXF86VM \"$ac_cv_lib_soname_Xxf86vm\"" >>confdefs.h
15111 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"
15112 then :
15113 case "x$with_xxf86vm" in
15114 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
15115 xno) ;;
15116 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
15117 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
15118 esac
15122 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
15123 then
15124 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
15125 printf %s "checking for -lXrender... " >&6; }
15126 if test ${ac_cv_lib_soname_Xrender+y}
15127 then :
15128 printf %s "(cached) " >&6
15129 else $as_nop
15130 ac_check_soname_save_LIBS=$LIBS
15131 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15133 /* end confdefs.h. */
15135 /* Override any GCC internal prototype to avoid an error.
15136 Use char because int might match the return type of a GCC
15137 builtin and then its argument prototype would still apply. */
15138 char XRenderQueryExtension ();
15140 main (void)
15142 return XRenderQueryExtension ();
15144 return 0;
15146 _ACEOF
15147 if ac_fn_c_try_link "$LINENO"
15148 then :
15149 case "$LIBEXT" in
15150 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15151 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'` ;;
15152 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15153 if ${ac_cv_lib_soname_Xrender:+false} :
15154 then :
15155 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15156 fi ;;
15157 esac
15158 else $as_nop
15159 ac_cv_lib_soname_Xrender=
15161 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15162 conftest$ac_exeext conftest.$ac_ext
15163 LIBS=$ac_check_soname_save_LIBS
15165 if ${ac_cv_lib_soname_Xrender:+false} :
15166 then :
15167 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15168 printf "%s\n" "not found" >&6; }
15170 else $as_nop
15171 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
15172 printf "%s\n" "$ac_cv_lib_soname_Xrender" >&6; }
15174 printf "%s\n" "#define SONAME_LIBXRENDER \"$ac_cv_lib_soname_Xrender\"" >>confdefs.h
15176 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
15177 printf %s "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
15178 if test ${ac_cv_lib_Xrender_XRenderSetPictureTransform+y}
15179 then :
15180 printf %s "(cached) " >&6
15181 else $as_nop
15182 ac_check_lib_save_LIBS=$LIBS
15183 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15185 /* end confdefs.h. */
15187 /* Override any GCC internal prototype to avoid an error.
15188 Use char because int might match the return type of a GCC
15189 builtin and then its argument prototype would still apply. */
15190 char XRenderSetPictureTransform ();
15192 main (void)
15194 return XRenderSetPictureTransform ();
15196 return 0;
15198 _ACEOF
15199 if ac_fn_c_try_link "$LINENO"
15200 then :
15201 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
15202 else $as_nop
15203 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
15205 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15206 conftest$ac_exeext conftest.$ac_ext
15207 LIBS=$ac_check_lib_save_LIBS
15209 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
15210 printf "%s\n" "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
15211 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
15212 then :
15214 printf "%s\n" "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
15218 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
15219 printf %s "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
15220 if test ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+y}
15221 then :
15222 printf %s "(cached) " >&6
15223 else $as_nop
15224 ac_check_lib_save_LIBS=$LIBS
15225 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15227 /* end confdefs.h. */
15229 /* Override any GCC internal prototype to avoid an error.
15230 Use char because int might match the return type of a GCC
15231 builtin and then its argument prototype would still apply. */
15232 char XRenderCreateLinearGradient ();
15234 main (void)
15236 return XRenderCreateLinearGradient ();
15238 return 0;
15240 _ACEOF
15241 if ac_fn_c_try_link "$LINENO"
15242 then :
15243 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
15244 else $as_nop
15245 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
15247 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15248 conftest$ac_exeext conftest.$ac_ext
15249 LIBS=$ac_check_lib_save_LIBS
15251 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
15252 printf "%s\n" "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
15253 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
15254 then :
15256 printf "%s\n" "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
15263 if test "x$ac_cv_lib_soname_Xrender" = "x"
15264 then :
15265 case "x$with_xrender" in
15266 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
15267 xno) ;;
15268 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
15269 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
15270 esac
15274 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
15275 then
15276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15277 /* end confdefs.h. */
15278 #include <X11/Xlib.h>
15279 #include <X11/extensions/Xrandr.h>
15281 main (void)
15283 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
15285 return 0;
15287 _ACEOF
15288 if ac_fn_c_try_compile "$LINENO"
15289 then :
15290 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
15291 printf %s "checking for -lXrandr... " >&6; }
15292 if test ${ac_cv_lib_soname_Xrandr+y}
15293 then :
15294 printf %s "(cached) " >&6
15295 else $as_nop
15296 ac_check_soname_save_LIBS=$LIBS
15297 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
15298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15299 /* end confdefs.h. */
15301 /* Override any GCC internal prototype to avoid an error.
15302 Use char because int might match the return type of a GCC
15303 builtin and then its argument prototype would still apply. */
15304 char XRRQueryExtension ();
15306 main (void)
15308 return XRRQueryExtension ();
15310 return 0;
15312 _ACEOF
15313 if ac_fn_c_try_link "$LINENO"
15314 then :
15315 case "$LIBEXT" in
15316 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15317 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'` ;;
15318 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15319 if ${ac_cv_lib_soname_Xrandr:+false} :
15320 then :
15321 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15322 fi ;;
15323 esac
15324 else $as_nop
15325 ac_cv_lib_soname_Xrandr=
15327 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15328 conftest$ac_exeext conftest.$ac_ext
15329 LIBS=$ac_check_soname_save_LIBS
15331 if ${ac_cv_lib_soname_Xrandr:+false} :
15332 then :
15333 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15334 printf "%s\n" "not found" >&6; }
15336 else $as_nop
15337 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
15338 printf "%s\n" "$ac_cv_lib_soname_Xrandr" >&6; }
15340 printf "%s\n" "#define SONAME_LIBXRANDR \"$ac_cv_lib_soname_Xrandr\"" >>confdefs.h
15342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15343 /* end confdefs.h. */
15344 #include <X11/Xlib.h>
15345 #include <X11/extensions/Xrandr.h>
15347 main (void)
15349 static typeof(XRRGetProviderResources) *f; if (f) return 0;
15351 return 0;
15353 _ACEOF
15354 if ac_fn_c_try_compile "$LINENO"
15355 then :
15357 printf "%s\n" "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
15359 else $as_nop
15360 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
15362 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15365 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15367 if test "x$ac_cv_lib_soname_Xrandr" = "x"
15368 then :
15369 case "x$with_xrandr" in
15370 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
15371 xno) ;;
15372 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
15373 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
15374 esac
15378 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
15379 then
15380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15381 /* end confdefs.h. */
15382 #include <X11/Xlib.h>
15383 #include <X11/extensions/Xfixes.h>
15385 main (void)
15387 static typeof(XFixesQueryVersion) * func; if (func) return 0;
15389 return 0;
15391 _ACEOF
15392 if ac_fn_c_try_compile "$LINENO"
15393 then :
15394 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
15395 printf %s "checking for -lXfixes... " >&6; }
15396 if test ${ac_cv_lib_soname_Xfixes+y}
15397 then :
15398 printf %s "(cached) " >&6
15399 else $as_nop
15400 ac_check_soname_save_LIBS=$LIBS
15401 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
15402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15403 /* end confdefs.h. */
15405 /* Override any GCC internal prototype to avoid an error.
15406 Use char because int might match the return type of a GCC
15407 builtin and then its argument prototype would still apply. */
15408 char XFixesQueryVersion ();
15410 main (void)
15412 return XFixesQueryVersion ();
15414 return 0;
15416 _ACEOF
15417 if ac_fn_c_try_link "$LINENO"
15418 then :
15419 case "$LIBEXT" in
15420 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15421 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'` ;;
15422 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15423 if ${ac_cv_lib_soname_Xfixes:+false} :
15424 then :
15425 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15426 fi ;;
15427 esac
15428 else $as_nop
15429 ac_cv_lib_soname_Xfixes=
15431 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15432 conftest$ac_exeext conftest.$ac_ext
15433 LIBS=$ac_check_soname_save_LIBS
15435 if ${ac_cv_lib_soname_Xfixes:+false} :
15436 then :
15437 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15438 printf "%s\n" "not found" >&6; }
15440 else $as_nop
15441 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
15442 printf "%s\n" "$ac_cv_lib_soname_Xfixes" >&6; }
15444 printf "%s\n" "#define SONAME_LIBXFIXES \"$ac_cv_lib_soname_Xfixes\"" >>confdefs.h
15449 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15451 if test "x$ac_cv_lib_soname_Xfixes" = "x"
15452 then :
15453 case "x$with_xfixes" in
15454 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
15455 xno) ;;
15456 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
15457 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
15458 esac
15462 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
15463 then
15464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15465 /* end confdefs.h. */
15466 #include <X11/Xlib.h>
15467 #include <X11/extensions/Xinerama.h>
15469 main (void)
15471 static typeof(XineramaQueryScreens) * func; if (func) return 0;
15473 return 0;
15475 _ACEOF
15476 if ac_fn_c_try_compile "$LINENO"
15477 then :
15478 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
15479 printf %s "checking for -lXinerama... " >&6; }
15480 if test ${ac_cv_lib_soname_Xinerama+y}
15481 then :
15482 printf %s "(cached) " >&6
15483 else $as_nop
15484 ac_check_soname_save_LIBS=$LIBS
15485 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
15486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15487 /* end confdefs.h. */
15489 /* Override any GCC internal prototype to avoid an error.
15490 Use char because int might match the return type of a GCC
15491 builtin and then its argument prototype would still apply. */
15492 char XineramaQueryScreens ();
15494 main (void)
15496 return XineramaQueryScreens ();
15498 return 0;
15500 _ACEOF
15501 if ac_fn_c_try_link "$LINENO"
15502 then :
15503 case "$LIBEXT" in
15504 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15505 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'` ;;
15506 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15507 if ${ac_cv_lib_soname_Xinerama:+false} :
15508 then :
15509 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15510 fi ;;
15511 esac
15512 else $as_nop
15513 ac_cv_lib_soname_Xinerama=
15515 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15516 conftest$ac_exeext conftest.$ac_ext
15517 LIBS=$ac_check_soname_save_LIBS
15519 if ${ac_cv_lib_soname_Xinerama:+false} :
15520 then :
15521 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15522 printf "%s\n" "not found" >&6; }
15524 else $as_nop
15525 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
15526 printf "%s\n" "$ac_cv_lib_soname_Xinerama" >&6; }
15528 printf "%s\n" "#define SONAME_LIBXINERAMA \"$ac_cv_lib_soname_Xinerama\"" >>confdefs.h
15533 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15535 if test "x$ac_cv_lib_soname_Xinerama" = "x"
15536 then :
15537 case "x$with_xinerama" in
15538 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
15539 xno) ;;
15540 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
15541 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
15542 esac
15546 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
15547 then
15548 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
15549 printf %s "checking for -lXcomposite... " >&6; }
15550 if test ${ac_cv_lib_soname_Xcomposite+y}
15551 then :
15552 printf %s "(cached) " >&6
15553 else $as_nop
15554 ac_check_soname_save_LIBS=$LIBS
15555 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
15556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15557 /* end confdefs.h. */
15559 /* Override any GCC internal prototype to avoid an error.
15560 Use char because int might match the return type of a GCC
15561 builtin and then its argument prototype would still apply. */
15562 char XCompositeRedirectWindow ();
15564 main (void)
15566 return XCompositeRedirectWindow ();
15568 return 0;
15570 _ACEOF
15571 if ac_fn_c_try_link "$LINENO"
15572 then :
15573 case "$LIBEXT" in
15574 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15575 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'` ;;
15576 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15577 if ${ac_cv_lib_soname_Xcomposite:+false} :
15578 then :
15579 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15580 fi ;;
15581 esac
15582 else $as_nop
15583 ac_cv_lib_soname_Xcomposite=
15585 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15586 conftest$ac_exeext conftest.$ac_ext
15587 LIBS=$ac_check_soname_save_LIBS
15589 if ${ac_cv_lib_soname_Xcomposite:+false} :
15590 then :
15591 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15592 printf "%s\n" "not found" >&6; }
15594 else $as_nop
15595 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
15596 printf "%s\n" "$ac_cv_lib_soname_Xcomposite" >&6; }
15598 printf "%s\n" "#define SONAME_LIBXCOMPOSITE \"$ac_cv_lib_soname_Xcomposite\"" >>confdefs.h
15603 if test "x$ac_cv_lib_soname_Xcomposite" = "x"
15604 then :
15605 case "x$with_xcomposite" in
15606 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
15607 xno) ;;
15608 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
15609 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
15610 esac
15614 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
15615 #include <X11/Xlib.h>
15616 #endif
15618 if test "x$ac_cv_member_XICCallback_callback" = xyes
15619 then :
15621 printf "%s\n" "#define HAVE_XICCALLBACK_CALLBACK 1" >>confdefs.h
15625 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
15626 #include <X11/Xlib.h>
15627 #endif
15629 if test "x$ac_cv_member_XEvent_xcookie" = xyes
15630 then :
15632 printf "%s\n" "#define HAVE_XEVENT_XCOOKIE 1" >>confdefs.h
15639 opengl_msg=""
15640 if test "x$with_opengl" != "xno"
15641 then
15642 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15643 printf %s "checking for -lGL... " >&6; }
15644 if test ${ac_cv_lib_soname_GL+y}
15645 then :
15646 printf %s "(cached) " >&6
15647 else $as_nop
15648 ac_check_soname_save_LIBS=$LIBS
15649 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15651 /* end confdefs.h. */
15653 /* Override any GCC internal prototype to avoid an error.
15654 Use char because int might match the return type of a GCC
15655 builtin and then its argument prototype would still apply. */
15656 char glXCreateContext ();
15658 main (void)
15660 return glXCreateContext ();
15662 return 0;
15664 _ACEOF
15665 if ac_fn_c_try_link "$LINENO"
15666 then :
15667 case "$LIBEXT" in
15668 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15669 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'` ;;
15670 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15671 if ${ac_cv_lib_soname_GL:+false} :
15672 then :
15673 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15674 fi ;;
15675 esac
15676 else $as_nop
15677 ac_cv_lib_soname_GL=
15679 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15680 conftest$ac_exeext conftest.$ac_ext
15681 LIBS=$ac_check_soname_save_LIBS
15683 if ${ac_cv_lib_soname_GL:+false} :
15684 then :
15685 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15686 printf "%s\n" "not found" >&6; }
15687 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15688 printf %s "checking for -lGL... " >&6; }
15689 if test ${ac_cv_lib_soname_GL+y}
15690 then :
15691 printf %s "(cached) " >&6
15692 else $as_nop
15693 ac_check_soname_save_LIBS=$LIBS
15694 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"
15695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15696 /* end confdefs.h. */
15698 /* Override any GCC internal prototype to avoid an error.
15699 Use char because int might match the return type of a GCC
15700 builtin and then its argument prototype would still apply. */
15701 char glXCreateContext ();
15703 main (void)
15705 return glXCreateContext ();
15707 return 0;
15709 _ACEOF
15710 if ac_fn_c_try_link "$LINENO"
15711 then :
15712 case "$LIBEXT" in
15713 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15714 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'` ;;
15715 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15716 if ${ac_cv_lib_soname_GL:+false} :
15717 then :
15718 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15719 fi ;;
15720 esac
15721 else $as_nop
15722 ac_cv_lib_soname_GL=
15724 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15725 conftest$ac_exeext conftest.$ac_ext
15726 LIBS=$ac_check_soname_save_LIBS
15728 if ${ac_cv_lib_soname_GL:+false} :
15729 then :
15730 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15731 printf "%s\n" "not found" >&6; }
15732 if test -f /usr/X11R6/lib/libGL.a
15733 then
15734 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
15735 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
15736 else
15737 opengl_msg="No OpenGL library found on this system."
15739 else $as_nop
15740 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15741 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15743 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15745 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"
15747 else $as_nop
15748 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15749 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15751 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15753 OPENGL_LIBS="-lGL"
15755 if test "x$with_osmesa" != "xno"
15756 then
15757 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
15758 printf %s "checking for -lOSMesa... " >&6; }
15759 if test ${ac_cv_lib_soname_OSMesa+y}
15760 then :
15761 printf %s "(cached) " >&6
15762 else $as_nop
15763 ac_check_soname_save_LIBS=$LIBS
15764 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15766 /* end confdefs.h. */
15768 /* Override any GCC internal prototype to avoid an error.
15769 Use char because int might match the return type of a GCC
15770 builtin and then its argument prototype would still apply. */
15771 char OSMesaGetProcAddress ();
15773 main (void)
15775 return OSMesaGetProcAddress ();
15777 return 0;
15779 _ACEOF
15780 if ac_fn_c_try_link "$LINENO"
15781 then :
15782 case "$LIBEXT" in
15783 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15784 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'` ;;
15785 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15786 if ${ac_cv_lib_soname_OSMesa:+false} :
15787 then :
15788 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15789 fi ;;
15790 esac
15791 else $as_nop
15792 ac_cv_lib_soname_OSMesa=
15794 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15795 conftest$ac_exeext conftest.$ac_ext
15796 LIBS=$ac_check_soname_save_LIBS
15798 if ${ac_cv_lib_soname_OSMesa:+false} :
15799 then :
15800 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15801 printf "%s\n" "not found" >&6; }
15803 else $as_nop
15804 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
15805 printf "%s\n" "$ac_cv_lib_soname_OSMesa" >&6; }
15807 printf "%s\n" "#define SONAME_LIBOSMESA \"$ac_cv_lib_soname_OSMesa\"" >>confdefs.h
15811 if test "x$ac_cv_lib_soname_OSMesa" = "x"
15812 then :
15813 case "x$with_osmesa" in
15814 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
15815 xno) ;;
15816 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
15817 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
15818 esac
15823 if test -n "$opengl_msg"
15824 then :
15825 case "x$with_opengl" in
15826 x) as_fn_append wine_warnings "|$opengl_msg
15827 OpenGL and Direct3D won't be supported." ;;
15828 xno) ;;
15829 *) as_fn_error $? "$opengl_msg
15830 OpenGL and Direct3D won't be supported.
15831 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
15832 esac
15836 CPPFLAGS="$ac_save_CPPFLAGS"
15837 else
15838 X_CFLAGS=""
15839 X_LIBS=""
15842 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
15843 then
15844 if test "x$X_LIBS" = "x"
15845 then :
15846 case "x$with_x" in
15847 xno) ;;
15848 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
15849 without X support, which probably isn't what you want. You will need
15850 to install ${notice_platform}development packages of Xlib at the very least.
15851 Use the --without-x option if you really want this." "$LINENO" 5 ;;
15852 esac
15853 enable_winex11_drv=${enable_winex11_drv:-no}
15855 else
15856 if test "x$X_LIBS" = "x"
15857 then :
15858 case "x$with_x" in
15859 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
15860 xno) ;;
15861 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
15862 This is an error since --with-x was requested." "$LINENO" 5 ;;
15863 esac
15864 enable_winex11_drv=${enable_winex11_drv:-no}
15868 if test "$ac_cv_header_CL_cl_h" = "yes"
15869 then
15870 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
15871 printf %s "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
15872 if test ${ac_cv_lib_OpenCL_clGetPlatformInfo+y}
15873 then :
15874 printf %s "(cached) " >&6
15875 else $as_nop
15876 ac_check_lib_save_LIBS=$LIBS
15877 LIBS="-lOpenCL $LIBS"
15878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15879 /* end confdefs.h. */
15881 /* Override any GCC internal prototype to avoid an error.
15882 Use char because int might match the return type of a GCC
15883 builtin and then its argument prototype would still apply. */
15884 char clGetPlatformInfo ();
15886 main (void)
15888 return clGetPlatformInfo ();
15890 return 0;
15892 _ACEOF
15893 if ac_fn_c_try_link "$LINENO"
15894 then :
15895 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
15896 else $as_nop
15897 ac_cv_lib_OpenCL_clGetPlatformInfo=no
15899 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15900 conftest$ac_exeext conftest.$ac_ext
15901 LIBS=$ac_check_lib_save_LIBS
15903 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
15904 printf "%s\n" "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
15905 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
15906 then :
15907 OPENCL_LIBS="-lOpenCL"
15912 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
15913 then :
15914 case "x$with_opencl" in
15915 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
15916 xno) ;;
15917 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
15918 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
15919 esac
15920 enable_opencl=${enable_opencl:-no}
15923 if test "$ac_cv_header_pcap_pcap_h" = "yes"
15924 then
15925 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
15926 printf %s "checking for pcap_create in -lpcap... " >&6; }
15927 if test ${ac_cv_lib_pcap_pcap_create+y}
15928 then :
15929 printf %s "(cached) " >&6
15930 else $as_nop
15931 ac_check_lib_save_LIBS=$LIBS
15932 LIBS="-lpcap $LIBS"
15933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15934 /* end confdefs.h. */
15936 /* Override any GCC internal prototype to avoid an error.
15937 Use char because int might match the return type of a GCC
15938 builtin and then its argument prototype would still apply. */
15939 char pcap_create ();
15941 main (void)
15943 return pcap_create ();
15945 return 0;
15947 _ACEOF
15948 if ac_fn_c_try_link "$LINENO"
15949 then :
15950 ac_cv_lib_pcap_pcap_create=yes
15951 else $as_nop
15952 ac_cv_lib_pcap_pcap_create=no
15954 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15955 conftest$ac_exeext conftest.$ac_ext
15956 LIBS=$ac_check_lib_save_LIBS
15958 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
15959 printf "%s\n" "$ac_cv_lib_pcap_pcap_create" >&6; }
15960 if test "x$ac_cv_lib_pcap_pcap_create" = xyes
15961 then :
15962 PCAP_LIBS="-lpcap"
15967 if test "x$ac_cv_lib_pcap_pcap_create" != xyes
15968 then :
15969 case "x$with_pcap" in
15970 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
15971 xno) ;;
15972 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
15973 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
15974 esac
15975 enable_wpcap=${enable_wpcap:-no}
15978 if test "x$with_inotify" != "xno"
15979 then
15980 if ${INOTIFY_CFLAGS:+false} :
15981 then :
15982 if test ${PKG_CONFIG+y}
15983 then :
15984 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>/dev/null`
15988 if ${INOTIFY_LIBS:+false} :
15989 then :
15990 if test ${PKG_CONFIG+y}
15991 then :
15992 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
15997 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
15998 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
15999 ac_save_CPPFLAGS=$CPPFLAGS
16000 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
16001 ac_fn_c_check_header_compile "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
16002 if test "x$ac_cv_header_sys_inotify_h" = xyes
16003 then :
16004 printf "%s\n" "#define HAVE_SYS_INOTIFY_H 1" >>confdefs.h
16008 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
16009 printf %s "checking for inotify_add_watch in -linotify... " >&6; }
16010 if test ${ac_cv_lib_inotify_inotify_add_watch+y}
16011 then :
16012 printf %s "(cached) " >&6
16013 else $as_nop
16014 ac_check_lib_save_LIBS=$LIBS
16015 LIBS="-linotify $INOTIFY_LIBS $LIBS"
16016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16017 /* end confdefs.h. */
16019 /* Override any GCC internal prototype to avoid an error.
16020 Use char because int might match the return type of a GCC
16021 builtin and then its argument prototype would still apply. */
16022 char inotify_add_watch ();
16024 main (void)
16026 return inotify_add_watch ();
16028 return 0;
16030 _ACEOF
16031 if ac_fn_c_try_link "$LINENO"
16032 then :
16033 ac_cv_lib_inotify_inotify_add_watch=yes
16034 else $as_nop
16035 ac_cv_lib_inotify_inotify_add_watch=no
16037 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16038 conftest$ac_exeext conftest.$ac_ext
16039 LIBS=$ac_check_lib_save_LIBS
16041 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
16042 printf "%s\n" "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
16043 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes
16044 then :
16046 else $as_nop
16047 INOTIFY_LIBS=""
16050 CPPFLAGS=$ac_save_CPPFLAGS
16053 if test "$ac_cv_header_sys_inotify_h" != "yes"
16054 then :
16055 case "x$with_inotify" in
16056 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
16057 xno) ;;
16058 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
16059 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
16060 esac
16064 if test "x$with_dbus" != "xno"
16065 then
16066 if ${DBUS_CFLAGS:+false} :
16067 then :
16068 if test ${PKG_CONFIG+y}
16069 then :
16070 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
16074 if ${DBUS_LIBS:+false} :
16075 then :
16076 if test ${PKG_CONFIG+y}
16077 then :
16078 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
16083 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
16084 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
16085 ac_save_CPPFLAGS=$CPPFLAGS
16086 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
16087 ac_fn_c_check_header_compile "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
16088 if test "x$ac_cv_header_dbus_dbus_h" = xyes
16089 then :
16090 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
16091 printf %s "checking for -ldbus-1... " >&6; }
16092 if test ${ac_cv_lib_soname_dbus_1+y}
16093 then :
16094 printf %s "(cached) " >&6
16095 else $as_nop
16096 ac_check_soname_save_LIBS=$LIBS
16097 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
16098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16099 /* end confdefs.h. */
16101 /* Override any GCC internal prototype to avoid an error.
16102 Use char because int might match the return type of a GCC
16103 builtin and then its argument prototype would still apply. */
16104 char dbus_connection_close ();
16106 main (void)
16108 return dbus_connection_close ();
16110 return 0;
16112 _ACEOF
16113 if ac_fn_c_try_link "$LINENO"
16114 then :
16115 case "$LIBEXT" in
16116 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16117 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'` ;;
16118 *) 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'`
16119 if ${ac_cv_lib_soname_dbus_1:+false} :
16120 then :
16121 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16122 fi ;;
16123 esac
16124 else $as_nop
16125 ac_cv_lib_soname_dbus_1=
16127 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16128 conftest$ac_exeext conftest.$ac_ext
16129 LIBS=$ac_check_soname_save_LIBS
16131 if ${ac_cv_lib_soname_dbus_1:+false} :
16132 then :
16133 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16134 printf "%s\n" "not found" >&6; }
16135 DBUS_CFLAGS=""
16136 else $as_nop
16137 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
16138 printf "%s\n" "$ac_cv_lib_soname_dbus_1" >&6; }
16140 printf "%s\n" "#define SONAME_LIBDBUS_1 \"$ac_cv_lib_soname_dbus_1\"" >>confdefs.h
16144 else $as_nop
16145 DBUS_CFLAGS=""
16148 CPPFLAGS=$ac_save_CPPFLAGS
16151 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
16152 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"
16153 then :
16154 case "x$with_dbus" in
16155 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
16156 xno) ;;
16157 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
16158 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
16159 esac
16163 if test "x$with_gnutls" != "xno"
16164 then
16165 if ${GNUTLS_CFLAGS:+false} :
16166 then :
16167 if test ${PKG_CONFIG+y}
16168 then :
16169 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
16173 if ${GNUTLS_LIBS:+false} :
16174 then :
16175 if test ${PKG_CONFIG+y}
16176 then :
16177 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
16181 GNUTLS_LIBS=${GNUTLS_LIBS:-"-lgnutls"}
16182 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
16183 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
16184 ac_save_CPPFLAGS=$CPPFLAGS
16185 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
16186 ac_fn_c_check_header_compile "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
16187 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
16188 then :
16189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16190 /* end confdefs.h. */
16191 #include <gnutls/gnutls.h>
16192 #include <gnutls/crypto.h>
16194 main (void)
16196 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
16198 return 0;
16200 _ACEOF
16201 if ac_fn_c_try_compile "$LINENO"
16202 then :
16203 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
16204 printf %s "checking for -lgnutls... " >&6; }
16205 if test ${ac_cv_lib_soname_gnutls+y}
16206 then :
16207 printf %s "(cached) " >&6
16208 else $as_nop
16209 ac_check_soname_save_LIBS=$LIBS
16210 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
16211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16212 /* end confdefs.h. */
16214 /* Override any GCC internal prototype to avoid an error.
16215 Use char because int might match the return type of a GCC
16216 builtin and then its argument prototype would still apply. */
16217 char gnutls_global_init ();
16219 main (void)
16221 return gnutls_global_init ();
16223 return 0;
16225 _ACEOF
16226 if ac_fn_c_try_link "$LINENO"
16227 then :
16228 case "$LIBEXT" in
16229 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16230 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'` ;;
16231 *) 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'`
16232 if ${ac_cv_lib_soname_gnutls:+false} :
16233 then :
16234 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'`
16235 fi ;;
16236 esac
16237 else $as_nop
16238 ac_cv_lib_soname_gnutls=
16240 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16241 conftest$ac_exeext conftest.$ac_ext
16242 LIBS=$ac_check_soname_save_LIBS
16244 if ${ac_cv_lib_soname_gnutls:+false} :
16245 then :
16246 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16247 printf "%s\n" "not found" >&6; }
16248 GNUTLS_CFLAGS=""
16249 else $as_nop
16250 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
16251 printf "%s\n" "$ac_cv_lib_soname_gnutls" >&6; }
16253 printf "%s\n" "#define SONAME_LIBGNUTLS \"$ac_cv_lib_soname_gnutls\"" >>confdefs.h
16257 ac_wine_check_funcs_save_LIBS="$LIBS"
16258 LIBS="$LIBS $GNUTLS_LIBS"
16260 for ac_func in gnutls_cipher_init
16261 do :
16262 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
16263 if test "x$ac_cv_func_gnutls_cipher_init" = xyes
16264 then :
16265 printf "%s\n" "#define HAVE_GNUTLS_CIPHER_INIT 1" >>confdefs.h
16267 else $as_nop
16268 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
16271 done
16272 LIBS="$ac_wine_check_funcs_save_LIBS"
16274 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
16275 else $as_nop
16276 GNUTLS_CFLAGS=""
16279 CPPFLAGS=$ac_save_CPPFLAGS
16282 if test "x$ac_cv_lib_soname_gnutls" = "x"
16283 then :
16284 case "x$with_gnutls" in
16285 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
16286 xno) ;;
16287 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
16288 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
16289 esac
16293 if test "x$with_sane" != "xno"
16294 then
16295 if ${SANE_CFLAGS:+false} :
16296 then :
16297 if test ${PKG_CONFIG+y}
16298 then :
16299 SANE_CFLAGS=`$PKG_CONFIG --cflags sane-backends 2>/dev/null`
16302 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
16303 if ${SANE_LIBS:+false} :
16304 then :
16305 if test ${PKG_CONFIG+y}
16306 then :
16307 SANE_LIBS=`$PKG_CONFIG --libs sane-backends 2>/dev/null`
16310 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
16312 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends cflags: $SANE_CFLAGS" >&5
16313 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends libs: $SANE_LIBS" >&5
16314 ac_save_CPPFLAGS=$CPPFLAGS
16315 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
16316 ac_fn_c_check_header_compile "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
16317 if test "x$ac_cv_header_sane_sane_h" = xyes
16318 then :
16319 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sane_init in -lsane" >&5
16320 printf %s "checking for sane_init in -lsane... " >&6; }
16321 if test ${ac_cv_lib_sane_sane_init+y}
16322 then :
16323 printf %s "(cached) " >&6
16324 else $as_nop
16325 ac_check_lib_save_LIBS=$LIBS
16326 LIBS="-lsane $SANE_LIBS $LIBS"
16327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16328 /* end confdefs.h. */
16330 /* Override any GCC internal prototype to avoid an error.
16331 Use char because int might match the return type of a GCC
16332 builtin and then its argument prototype would still apply. */
16333 char sane_init ();
16335 main (void)
16337 return sane_init ();
16339 return 0;
16341 _ACEOF
16342 if ac_fn_c_try_link "$LINENO"
16343 then :
16344 ac_cv_lib_sane_sane_init=yes
16345 else $as_nop
16346 ac_cv_lib_sane_sane_init=no
16348 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16349 conftest$ac_exeext conftest.$ac_ext
16350 LIBS=$ac_check_lib_save_LIBS
16352 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sane_sane_init" >&5
16353 printf "%s\n" "$ac_cv_lib_sane_sane_init" >&6; }
16354 if test "x$ac_cv_lib_sane_sane_init" = xyes
16355 then :
16361 CPPFLAGS=$ac_save_CPPFLAGS
16364 if test "$ac_cv_lib_sane_sane_init" != "yes"
16365 then :
16366 case "x$with_sane" in
16367 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
16368 xno) ;;
16369 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
16370 This is an error since --with-sane was requested." "$LINENO" 5 ;;
16371 esac
16372 enable_sane_ds=${enable_sane_ds:-no}
16375 if test "x$with_usb" != "xno"
16376 then
16377 if ${USB_CFLAGS:+false} :
16378 then :
16379 if test ${PKG_CONFIG+y}
16380 then :
16381 USB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 2>/dev/null`
16385 if ${USB_LIBS:+false} :
16386 then :
16387 if test ${PKG_CONFIG+y}
16388 then :
16389 USB_LIBS=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
16393 USB_LIBS=${USB_LIBS:-"-lusb-1.0"}
16394 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
16395 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
16396 ac_save_CPPFLAGS=$CPPFLAGS
16397 CPPFLAGS="$CPPFLAGS $USB_CFLAGS"
16398 ac_fn_c_check_header_compile "$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
16399 if test "x$ac_cv_header_libusb_h" = xyes
16400 then :
16401 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
16402 printf %s "checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
16403 if test ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+y}
16404 then :
16405 printf %s "(cached) " >&6
16406 else $as_nop
16407 ac_check_lib_save_LIBS=$LIBS
16408 LIBS="-lusb-1.0 $USB_LIBS $LIBS"
16409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16410 /* end confdefs.h. */
16412 /* Override any GCC internal prototype to avoid an error.
16413 Use char because int might match the return type of a GCC
16414 builtin and then its argument prototype would still apply. */
16415 char libusb_interrupt_event_handler ();
16417 main (void)
16419 return libusb_interrupt_event_handler ();
16421 return 0;
16423 _ACEOF
16424 if ac_fn_c_try_link "$LINENO"
16425 then :
16426 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=yes
16427 else $as_nop
16428 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=no
16430 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16431 conftest$ac_exeext conftest.$ac_ext
16432 LIBS=$ac_check_lib_save_LIBS
16434 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
16435 printf "%s\n" "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
16436 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes
16437 then :
16439 else $as_nop
16440 USB_LIBS=""
16443 else $as_nop
16444 USB_LIBS=""
16447 CPPFLAGS=$ac_save_CPPFLAGS
16450 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"
16451 then :
16452 case "x$with_usb" in
16453 x) as_fn_append wine_notices "|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
16454 xno) ;;
16455 *) as_fn_error $? "libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
16456 This is an error since --with-usb was requested." "$LINENO" 5 ;;
16457 esac
16458 enable_wineusb_sys=${enable_wineusb_sys:-no}
16461 if test "x$with_v4l2" != "xno"
16462 then
16463 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
16464 printf %s "checking for -lv4l2... " >&6; }
16465 if test ${ac_cv_lib_soname_v4l2+y}
16466 then :
16467 printf %s "(cached) " >&6
16468 else $as_nop
16469 ac_check_soname_save_LIBS=$LIBS
16470 LIBS="-lv4l2 $LIBS"
16471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16472 /* end confdefs.h. */
16474 /* Override any GCC internal prototype to avoid an error.
16475 Use char because int might match the return type of a GCC
16476 builtin and then its argument prototype would still apply. */
16477 char v4l2_open ();
16479 main (void)
16481 return v4l2_open ();
16483 return 0;
16485 _ACEOF
16486 if ac_fn_c_try_link "$LINENO"
16487 then :
16488 case "$LIBEXT" in
16489 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16490 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'` ;;
16491 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16492 if ${ac_cv_lib_soname_v4l2:+false} :
16493 then :
16494 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16495 fi ;;
16496 esac
16497 else $as_nop
16498 ac_cv_lib_soname_v4l2=
16500 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16501 conftest$ac_exeext conftest.$ac_ext
16502 LIBS=$ac_check_soname_save_LIBS
16504 if ${ac_cv_lib_soname_v4l2:+false} :
16505 then :
16506 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16507 printf "%s\n" "not found" >&6; }
16509 else $as_nop
16510 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
16511 printf "%s\n" "$ac_cv_lib_soname_v4l2" >&6; }
16513 printf "%s\n" "#define SONAME_LIBV4L2 \"$ac_cv_lib_soname_v4l2\"" >>confdefs.h
16518 if test "x$ac_cv_lib_soname_v4l2" = "x"
16519 then :
16520 case "x$with_v4l2" in
16521 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
16522 xno) ;;
16523 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
16524 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
16525 esac
16529 if test "x$with_gphoto" != "xno"
16530 then
16531 if ${GPHOTO2_CFLAGS:+false} :
16532 then :
16533 if test ${PKG_CONFIG+y}
16534 then :
16535 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
16538 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
16539 if ${GPHOTO2_LIBS:+false} :
16540 then :
16541 if test ${PKG_CONFIG+y}
16542 then :
16543 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
16546 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
16547 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
16548 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
16549 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
16550 ac_save_CPPFLAGS=$CPPFLAGS
16551 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
16552 ac_fn_c_check_header_compile "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
16553 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
16554 then :
16555 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
16556 printf %s "checking for gp_camera_new in -lgphoto2... " >&6; }
16557 if test ${ac_cv_lib_gphoto2_gp_camera_new+y}
16558 then :
16559 printf %s "(cached) " >&6
16560 else $as_nop
16561 ac_check_lib_save_LIBS=$LIBS
16562 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
16563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16564 /* end confdefs.h. */
16566 /* Override any GCC internal prototype to avoid an error.
16567 Use char because int might match the return type of a GCC
16568 builtin and then its argument prototype would still apply. */
16569 char gp_camera_new ();
16571 main (void)
16573 return gp_camera_new ();
16575 return 0;
16577 _ACEOF
16578 if ac_fn_c_try_link "$LINENO"
16579 then :
16580 ac_cv_lib_gphoto2_gp_camera_new=yes
16581 else $as_nop
16582 ac_cv_lib_gphoto2_gp_camera_new=no
16584 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16585 conftest$ac_exeext conftest.$ac_ext
16586 LIBS=$ac_check_lib_save_LIBS
16588 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
16589 printf "%s\n" "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
16590 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
16591 then :
16597 CPPFLAGS=$ac_save_CPPFLAGS
16599 if ${GPHOTO2_PORT_CFLAGS:+false} :
16600 then :
16601 if test ${PKG_CONFIG+y}
16602 then :
16603 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
16606 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
16607 if ${GPHOTO2_PORT_LIBS:+false} :
16608 then :
16609 if test ${PKG_CONFIG+y}
16610 then :
16611 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
16614 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
16615 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
16616 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
16617 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
16618 ac_save_CPPFLAGS=$CPPFLAGS
16619 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
16620 ac_fn_c_check_header_compile "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
16621 if test "x$ac_cv_header_gphoto2_port_h" = xyes
16622 then :
16623 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
16624 printf %s "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
16625 if test ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+y}
16626 then :
16627 printf %s "(cached) " >&6
16628 else $as_nop
16629 ac_check_lib_save_LIBS=$LIBS
16630 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
16631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16632 /* end confdefs.h. */
16634 /* Override any GCC internal prototype to avoid an error.
16635 Use char because int might match the return type of a GCC
16636 builtin and then its argument prototype would still apply. */
16637 char gp_port_info_list_new ();
16639 main (void)
16641 return gp_port_info_list_new ();
16643 return 0;
16645 _ACEOF
16646 if ac_fn_c_try_link "$LINENO"
16647 then :
16648 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
16649 else $as_nop
16650 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
16652 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16653 conftest$ac_exeext conftest.$ac_ext
16654 LIBS=$ac_check_lib_save_LIBS
16656 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
16657 printf "%s\n" "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
16658 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
16659 then :
16661 printf "%s\n" "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
16663 else $as_nop
16664 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
16667 else $as_nop
16668 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
16671 CPPFLAGS=$ac_save_CPPFLAGS
16674 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"
16675 then :
16676 case "x$with_gphoto" in
16677 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
16678 xno) ;;
16679 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
16680 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16681 esac
16682 enable_gphoto2_ds=${enable_gphoto2_ds:-no}
16684 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"
16685 then :
16686 case "x$with_gphoto" in
16687 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
16688 xno) ;;
16689 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
16690 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16691 esac
16696 if test "$ac_cv_header_resolv_h" = "yes"
16697 then
16698 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
16699 printf %s "checking for resolver library... " >&6; }
16700 if test ${ac_cv_have_resolv+y}
16701 then :
16702 printf %s "(cached) " >&6
16703 else $as_nop
16704 ac_save_LIBS="$LIBS"
16705 for lib in '' -lresolv
16707 LIBS="$lib $ac_save_LIBS"
16708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16709 /* end confdefs.h. */
16710 #ifdef HAVE_NETINET_IN_H
16711 #include <netinet/in.h>
16712 #endif
16713 #include <resolv.h>
16715 main (void)
16717 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0); ns_initparse(0,0,0)
16719 return 0;
16721 _ACEOF
16722 if ac_fn_c_try_link "$LINENO"
16723 then :
16724 ac_cv_have_resolv=${lib:-"none required"}
16725 else $as_nop
16726 ac_cv_have_resolv="not found"
16728 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16729 conftest$ac_exeext conftest.$ac_ext
16730 test "x$ac_cv_have_resolv" = "xnot found" || break
16731 done
16732 LIBS="$ac_save_LIBS"
16734 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
16735 printf "%s\n" "$ac_cv_have_resolv" >&6; }
16737 case "$ac_cv_have_resolv" in
16738 "not found") ;;
16739 "none required")
16741 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16744 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16746 RESOLV_LIBS=$ac_cv_have_resolv
16748 esac
16750 if test "x$ac_cv_have_resolv" != "xnot found"
16751 then
16752 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
16753 printf %s "checking for res_getservers... " >&6; }
16754 if test ${ac_cv_have_res_getservers+y}
16755 then :
16756 printf %s "(cached) " >&6
16757 else $as_nop
16758 ac_save_LIBS="$LIBS"
16759 LIBS="$RESOLV_LIBS $LIBS"
16760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16761 /* end confdefs.h. */
16762 #include <resolv.h>
16764 main (void)
16766 res_getservers(NULL, NULL, 0);
16768 return 0;
16770 _ACEOF
16771 if ac_fn_c_try_link "$LINENO"
16772 then :
16773 ac_cv_have_res_getservers=yes
16774 else $as_nop
16775 ac_cv_have_res_getservers=no
16777 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16778 conftest$ac_exeext conftest.$ac_ext
16779 LIBS="$ac_save_LIBS"
16781 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
16782 printf "%s\n" "$ac_cv_have_res_getservers" >&6; }
16783 if test "$ac_cv_have_res_getservers" = "yes"
16784 then
16786 printf "%s\n" "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
16792 if test "x$with_freetype" != "xno"
16793 then
16794 if ${FREETYPE_CFLAGS:+false} :
16795 then :
16796 if test ${PKG_CONFIG+y}
16797 then :
16798 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
16801 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
16802 if ${FREETYPE_LIBS:+false} :
16803 then :
16804 if test ${PKG_CONFIG+y}
16805 then :
16806 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
16809 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
16810 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
16811 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
16812 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
16813 ac_save_CPPFLAGS=$CPPFLAGS
16814 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
16815 ac_fn_c_check_header_compile "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
16816 if test "x$ac_cv_header_ft2build_h" = xyes
16817 then :
16818 printf "%s\n" "#define HAVE_FT2BUILD_H 1" >>confdefs.h
16822 if test "$ac_cv_header_ft2build_h" = "yes"
16823 then
16824 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
16825 printf %s "checking for -lfreetype... " >&6; }
16826 if test ${ac_cv_lib_soname_freetype+y}
16827 then :
16828 printf %s "(cached) " >&6
16829 else $as_nop
16830 ac_check_soname_save_LIBS=$LIBS
16831 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
16832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16833 /* end confdefs.h. */
16835 /* Override any GCC internal prototype to avoid an error.
16836 Use char because int might match the return type of a GCC
16837 builtin and then its argument prototype would still apply. */
16838 char FT_Init_FreeType ();
16840 main (void)
16842 return FT_Init_FreeType ();
16844 return 0;
16846 _ACEOF
16847 if ac_fn_c_try_link "$LINENO"
16848 then :
16849 case "$LIBEXT" in
16850 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16851 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'` ;;
16852 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16853 if ${ac_cv_lib_soname_freetype:+false} :
16854 then :
16855 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16856 fi ;;
16857 esac
16858 else $as_nop
16859 ac_cv_lib_soname_freetype=
16861 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16862 conftest$ac_exeext conftest.$ac_ext
16863 LIBS=$ac_check_soname_save_LIBS
16865 if ${ac_cv_lib_soname_freetype:+false} :
16866 then :
16867 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16868 printf "%s\n" "not found" >&6; }
16869 FREETYPE_LIBS=""
16870 else $as_nop
16871 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
16872 printf "%s\n" "$ac_cv_lib_soname_freetype" >&6; }
16874 printf "%s\n" "#define SONAME_LIBFREETYPE \"$ac_cv_lib_soname_freetype\"" >>confdefs.h
16877 printf "%s\n" "#define HAVE_FREETYPE 1" >>confdefs.h
16879 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
16880 #include FT_MODULE_H
16882 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
16883 then :
16885 printf "%s\n" "#define HAVE_FT_TRUETYPEENGINETYPE 1" >>confdefs.h
16891 else
16892 FREETYPE_CFLAGS=""
16893 FREETYPE_LIBS=""
16895 CPPFLAGS=$ac_save_CPPFLAGS
16898 if test "x$ac_cv_lib_soname_freetype" = x
16899 then :
16900 case "x$with_freetype" in
16901 xno) ;;
16902 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
16903 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
16904 esac
16905 enable_fonts=${enable_fonts:-no}
16908 ac_wine_check_funcs_save_LIBS="$LIBS"
16909 LIBS="$LIBS $PTHREAD_LIBS"
16910 ac_fn_c_check_func "$LINENO" "pthread_getthreadid_np" "ac_cv_func_pthread_getthreadid_np"
16911 if test "x$ac_cv_func_pthread_getthreadid_np" = xyes
16912 then :
16913 printf "%s\n" "#define HAVE_PTHREAD_GETTHREADID_NP 1" >>confdefs.h
16917 LIBS="$ac_wine_check_funcs_save_LIBS"
16919 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
16920 then
16921 if test "$ac_cv_header_gettext_po_h" = "yes"
16922 then
16923 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
16924 printf %s "checking for po_message_msgctxt in -lgettextpo... " >&6; }
16925 if test ${ac_cv_lib_gettextpo_po_message_msgctxt+y}
16926 then :
16927 printf %s "(cached) " >&6
16928 else $as_nop
16929 ac_check_lib_save_LIBS=$LIBS
16930 LIBS="-lgettextpo $LIBS"
16931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16932 /* end confdefs.h. */
16934 /* Override any GCC internal prototype to avoid an error.
16935 Use char because int might match the return type of a GCC
16936 builtin and then its argument prototype would still apply. */
16937 char po_message_msgctxt ();
16939 main (void)
16941 return po_message_msgctxt ();
16943 return 0;
16945 _ACEOF
16946 if ac_fn_c_try_link "$LINENO"
16947 then :
16948 ac_cv_lib_gettextpo_po_message_msgctxt=yes
16949 else $as_nop
16950 ac_cv_lib_gettextpo_po_message_msgctxt=no
16952 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16953 conftest$ac_exeext conftest.$ac_ext
16954 LIBS=$ac_check_lib_save_LIBS
16956 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
16957 printf "%s\n" "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
16958 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
16959 then :
16961 printf "%s\n" "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
16963 GETTEXTPO_LIBS="-lgettextpo"
16968 if test "x$GETTEXTPO_LIBS" = "x"
16969 then :
16970 case "x$with_gettextpo" in
16971 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
16972 xno) ;;
16973 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
16974 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16975 esac
16978 if test "$srcdir" != .
16979 then :
16980 case "x$with_gettextpo" in
16981 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
16982 xno) ;;
16983 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
16984 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16985 esac
16990 if test "x$with_pulse" != "xno";
16991 then
16992 if ${PULSE_CFLAGS:+false} :
16993 then :
16994 if test ${PKG_CONFIG+y}
16995 then :
16996 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
17000 if ${PULSE_LIBS:+false} :
17001 then :
17002 if test ${PKG_CONFIG+y}
17003 then :
17004 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
17009 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
17010 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
17011 ac_save_CPPFLAGS=$CPPFLAGS
17012 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
17013 for ac_header in pulse/pulseaudio.h
17014 do :
17015 ac_fn_c_check_header_compile "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
17016 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes
17017 then :
17018 printf "%s\n" "#define HAVE_PULSE_PULSEAUDIO_H 1" >>confdefs.h
17019 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
17020 printf %s "checking for pa_stream_is_corked in -lpulse... " >&6; }
17021 if test ${ac_cv_lib_pulse_pa_stream_is_corked+y}
17022 then :
17023 printf %s "(cached) " >&6
17024 else $as_nop
17025 ac_check_lib_save_LIBS=$LIBS
17026 LIBS="-lpulse $PULSE_LIBS $LIBS"
17027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17028 /* end confdefs.h. */
17030 /* Override any GCC internal prototype to avoid an error.
17031 Use char because int might match the return type of a GCC
17032 builtin and then its argument prototype would still apply. */
17033 char pa_stream_is_corked ();
17035 main (void)
17037 return pa_stream_is_corked ();
17039 return 0;
17041 _ACEOF
17042 if ac_fn_c_try_link "$LINENO"
17043 then :
17044 ac_cv_lib_pulse_pa_stream_is_corked=yes
17045 else $as_nop
17046 ac_cv_lib_pulse_pa_stream_is_corked=no
17048 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17049 conftest$ac_exeext conftest.$ac_ext
17050 LIBS=$ac_check_lib_save_LIBS
17052 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
17053 printf "%s\n" "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
17054 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes
17055 then :
17057 else $as_nop
17058 PULSE_LIBS=""
17061 else $as_nop
17062 PULSE_LIBS=""
17065 done
17066 CPPFLAGS=$ac_save_CPPFLAGS
17069 if test -z "$PULSE_LIBS"
17070 then :
17071 case "x$with_pulse" in
17072 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
17073 xno) ;;
17074 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
17075 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
17076 esac
17077 enable_winepulse_drv=${enable_winepulse_drv:-no}
17080 if test "x$with_gstreamer" != "xno"
17081 then
17082 if ${GSTREAMER_CFLAGS:+false} :
17083 then :
17084 if test ${PKG_CONFIG+y}
17085 then :
17086 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
17090 if ${GSTREAMER_LIBS:+false} :
17091 then :
17092 if test ${PKG_CONFIG+y}
17093 then :
17094 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
17099 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
17100 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
17101 ac_save_CPPFLAGS=$CPPFLAGS
17102 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
17103 ac_fn_c_check_header_compile "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
17104 if test "x$ac_cv_header_gst_gst_h" = xyes
17105 then :
17106 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
17107 printf %s "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
17108 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17109 /* end confdefs.h. */
17110 #include <gst/gst.h>
17112 main (void)
17114 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
17116 return 0;
17118 _ACEOF
17119 if ac_fn_c_try_compile "$LINENO"
17120 then :
17121 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17122 printf "%s\n" "yes" >&6; }
17123 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
17124 printf %s "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
17125 if test ${ac_cv_lib_gstreamer_1_0_gst_pad_new+y}
17126 then :
17127 printf %s "(cached) " >&6
17128 else $as_nop
17129 ac_check_lib_save_LIBS=$LIBS
17130 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
17131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17132 /* end confdefs.h. */
17134 /* Override any GCC internal prototype to avoid an error.
17135 Use char because int might match the return type of a GCC
17136 builtin and then its argument prototype would still apply. */
17137 char gst_pad_new ();
17139 main (void)
17141 return gst_pad_new ();
17143 return 0;
17145 _ACEOF
17146 if ac_fn_c_try_link "$LINENO"
17147 then :
17148 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
17149 else $as_nop
17150 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
17152 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17153 conftest$ac_exeext conftest.$ac_ext
17154 LIBS=$ac_check_lib_save_LIBS
17156 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
17157 printf "%s\n" "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
17158 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes
17159 then :
17163 else $as_nop
17164 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17165 printf "%s\n" "no" >&6; }
17166 ac_glib2_broken=yes
17167 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
17169 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17172 CPPFLAGS=$ac_save_CPPFLAGS
17175 if test "x$ac_glib2_broken" != xyes -a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes
17176 then :
17177 case "x$with_gstreamer" in
17178 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
17179 xno) ;;
17180 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
17181 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
17182 esac
17183 enable_winegstreamer=${enable_winegstreamer:-no}
17186 ALSA_LIBS=""
17188 if test "x$with_alsa" != "xno"
17189 then
17190 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
17191 printf %s "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
17192 if test ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+y}
17193 then :
17194 printf %s "(cached) " >&6
17195 else $as_nop
17196 ac_check_lib_save_LIBS=$LIBS
17197 LIBS="-lasound $LIBS"
17198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17199 /* end confdefs.h. */
17201 /* Override any GCC internal prototype to avoid an error.
17202 Use char because int might match the return type of a GCC
17203 builtin and then its argument prototype would still apply. */
17204 char snd_pcm_hw_params_get_access_mask ();
17206 main (void)
17208 return snd_pcm_hw_params_get_access_mask ();
17210 return 0;
17212 _ACEOF
17213 if ac_fn_c_try_link "$LINENO"
17214 then :
17215 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
17216 else $as_nop
17217 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
17219 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17220 conftest$ac_exeext conftest.$ac_ext
17221 LIBS=$ac_check_lib_save_LIBS
17223 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
17224 printf "%s\n" "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
17225 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
17226 then :
17227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17228 /* end confdefs.h. */
17229 #include <alsa/asoundlib.h>
17231 main (void)
17233 snd_pcm_hw_params_get_access_mask(NULL, NULL)
17235 return 0;
17237 _ACEOF
17238 if ac_fn_c_try_compile "$LINENO"
17239 then :
17240 ALSA_LIBS="-lasound"
17242 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17246 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
17248 if test "x$with_oss" != xno
17249 then
17250 ac_save_CPPFLAGS="$CPPFLAGS"
17251 if test -f /etc/oss.conf
17252 then
17253 . /etc/oss.conf
17255 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
17256 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
17257 ac_fn_c_check_header_compile "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
17258 if test "x$ac_cv_header_sys_soundcard_h" = xyes
17259 then :
17260 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
17262 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
17263 then :
17265 printf "%s\n" "#define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1" >>confdefs.h
17267 OSS4_CFLAGS="$ac_oss_incl"
17269 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
17270 printf %s "checking for _oss_ioctl in -lossaudio... " >&6; }
17271 if test ${ac_cv_lib_ossaudio__oss_ioctl+y}
17272 then :
17273 printf %s "(cached) " >&6
17274 else $as_nop
17275 ac_check_lib_save_LIBS=$LIBS
17276 LIBS="-lossaudio $LIBS"
17277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17278 /* end confdefs.h. */
17280 /* Override any GCC internal prototype to avoid an error.
17281 Use char because int might match the return type of a GCC
17282 builtin and then its argument prototype would still apply. */
17283 char _oss_ioctl ();
17285 main (void)
17287 return _oss_ioctl ();
17289 return 0;
17291 _ACEOF
17292 if ac_fn_c_try_link "$LINENO"
17293 then :
17294 ac_cv_lib_ossaudio__oss_ioctl=yes
17295 else $as_nop
17296 ac_cv_lib_ossaudio__oss_ioctl=no
17298 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17299 conftest$ac_exeext conftest.$ac_ext
17300 LIBS=$ac_check_lib_save_LIBS
17302 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
17303 printf "%s\n" "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
17304 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
17305 then :
17306 OSS4_LIBS="-lossaudio"
17314 CPPFLAGS="$ac_save_CPPFLAGS"
17316 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
17317 then :
17318 case "x$with_oss" in
17319 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
17320 xno) ;;
17321 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
17322 This is an error since --with-oss was requested." "$LINENO" 5 ;;
17323 esac
17324 enable_wineoss_drv=${enable_wineoss_drv:-no}
17327 if test "x$with_udev" != "xno"
17328 then
17329 if ${UDEV_CFLAGS:+false} :
17330 then :
17331 if test ${PKG_CONFIG+y}
17332 then :
17333 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
17337 if ${UDEV_LIBS:+false} :
17338 then :
17339 if test ${PKG_CONFIG+y}
17340 then :
17341 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
17345 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
17346 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
17347 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
17348 ac_save_CPPFLAGS=$CPPFLAGS
17349 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
17350 for ac_header in libudev.h
17351 do :
17352 ac_fn_c_check_header_compile "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
17353 if test "x$ac_cv_header_libudev_h" = xyes
17354 then :
17355 printf "%s\n" "#define HAVE_LIBUDEV_H 1" >>confdefs.h
17356 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
17357 printf %s "checking for udev_new in -ludev... " >&6; }
17358 if test ${ac_cv_lib_udev_udev_new+y}
17359 then :
17360 printf %s "(cached) " >&6
17361 else $as_nop
17362 ac_check_lib_save_LIBS=$LIBS
17363 LIBS="-ludev $UDEV_LIBS $LIBS"
17364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17365 /* end confdefs.h. */
17367 /* Override any GCC internal prototype to avoid an error.
17368 Use char because int might match the return type of a GCC
17369 builtin and then its argument prototype would still apply. */
17370 char udev_new ();
17372 main (void)
17374 return udev_new ();
17376 return 0;
17378 _ACEOF
17379 if ac_fn_c_try_link "$LINENO"
17380 then :
17381 ac_cv_lib_udev_udev_new=yes
17382 else $as_nop
17383 ac_cv_lib_udev_udev_new=no
17385 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17386 conftest$ac_exeext conftest.$ac_ext
17387 LIBS=$ac_check_lib_save_LIBS
17389 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
17390 printf "%s\n" "$ac_cv_lib_udev_udev_new" >&6; }
17391 if test "x$ac_cv_lib_udev_udev_new" = xyes
17392 then :
17394 printf "%s\n" "#define HAVE_UDEV 1" >>confdefs.h
17396 else $as_nop
17397 UDEV_LIBS=""
17400 else $as_nop
17401 UDEV_LIBS=""
17404 done
17405 CPPFLAGS=$ac_save_CPPFLAGS
17408 if test "x$UDEV_LIBS" = "x"
17409 then :
17410 case "x$with_udev" in
17411 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
17412 xno) ;;
17413 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
17414 This is an error since --with-udev was requested." "$LINENO" 5 ;;
17415 esac
17419 if test "x$with_unwind" != xno
17420 then
17421 if ${UNWIND_CFLAGS:+false} :
17422 then :
17423 if test ${PKG_CONFIG+y}
17424 then :
17425 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>/dev/null`
17429 if ${UNWIND_LIBS:+false} :
17430 then :
17431 if test ${PKG_CONFIG+y}
17432 then :
17433 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
17437 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
17438 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
17439 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
17440 ac_save_CPPFLAGS=$CPPFLAGS
17441 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
17442 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
17443 printf %s "checking for unw_step... " >&6; }
17444 if test ${wine_cv_have_unw_step+y}
17445 then :
17446 printf %s "(cached) " >&6
17447 else $as_nop
17448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17449 /* end confdefs.h. */
17450 #define UNW_LOCAL_ONLY
17451 #include <libunwind.h>
17453 main (void)
17455 unw_cursor_t cursor; unw_step( &cursor );
17457 return 0;
17459 _ACEOF
17460 if ac_fn_c_try_link "$LINENO"
17461 then :
17462 wine_cv_have_unw_step="yes"
17463 else $as_nop
17464 wine_cv_have_unw_step="no"
17466 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17467 conftest$ac_exeext conftest.$ac_ext
17469 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
17470 printf "%s\n" "$wine_cv_have_unw_step" >&6; }
17471 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
17472 then
17473 save_libs=$LIBS
17474 UNWIND_LIBS="-static-libgcc $UNWIND_LIBS"
17475 LIBS="$UNWIND_LIBS $LIBS"
17476 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
17477 printf %s "checking for unw_step in libunwind... " >&6; }
17478 if test ${wine_cv_have_libunwind_unw_step+y}
17479 then :
17480 printf %s "(cached) " >&6
17481 else $as_nop
17482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17483 /* end confdefs.h. */
17484 #define UNW_LOCAL_ONLY
17485 #include <libunwind.h>
17487 main (void)
17489 unw_cursor_t cursor; unw_step( &cursor );
17491 return 0;
17493 _ACEOF
17494 if ac_fn_c_try_link "$LINENO"
17495 then :
17496 wine_cv_have_libunwind_unw_step="yes"
17497 else $as_nop
17498 wine_cv_have_libunwind_unw_step="no"
17500 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17501 conftest$ac_exeext conftest.$ac_ext
17503 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
17504 printf "%s\n" "$wine_cv_have_libunwind_unw_step" >&6; }
17505 LIBS=$save_libs
17507 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
17508 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
17509 then
17511 printf "%s\n" "#define HAVE_LIBUNWIND 1" >>confdefs.h
17514 CPPFLAGS=$ac_save_CPPFLAGS
17517 case $host in
17518 aarch64*|*-darwin*)
17519 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono
17520 then :
17521 case "x$with_unwind" in
17522 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
17523 xno) ;;
17524 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
17525 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
17526 esac
17528 fi ;;
17529 esac
17531 if test "x$with_sdl" != "xno"
17532 then
17533 if ${SDL2_CFLAGS:+false} :
17534 then :
17535 if test ${PKG_CONFIG+y}
17536 then :
17537 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
17541 if ${SDL2_LIBS:+false} :
17542 then :
17543 if test ${PKG_CONFIG+y}
17544 then :
17545 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
17549 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
17550 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
17551 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
17552 ac_save_CPPFLAGS=$CPPFLAGS
17553 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
17554 for ac_header in SDL.h
17555 do :
17556 ac_fn_c_check_header_compile "$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
17557 if test "x$ac_cv_header_SDL_h" = xyes
17558 then :
17559 printf "%s\n" "#define HAVE_SDL_H 1" >>confdefs.h
17560 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
17561 printf %s "checking for -lSDL2... " >&6; }
17562 if test ${ac_cv_lib_soname_SDL2+y}
17563 then :
17564 printf %s "(cached) " >&6
17565 else $as_nop
17566 ac_check_soname_save_LIBS=$LIBS
17567 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
17568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17569 /* end confdefs.h. */
17571 /* Override any GCC internal prototype to avoid an error.
17572 Use char because int might match the return type of a GCC
17573 builtin and then its argument prototype would still apply. */
17574 char SDL_Init ();
17576 main (void)
17578 return SDL_Init ();
17580 return 0;
17582 _ACEOF
17583 if ac_fn_c_try_link "$LINENO"
17584 then :
17585 case "$LIBEXT" in
17586 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17587 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'` ;;
17588 *) 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'`
17589 if ${ac_cv_lib_soname_SDL2:+false} :
17590 then :
17591 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17592 fi ;;
17593 esac
17594 else $as_nop
17595 ac_cv_lib_soname_SDL2=
17597 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17598 conftest$ac_exeext conftest.$ac_ext
17599 LIBS=$ac_check_soname_save_LIBS
17601 if ${ac_cv_lib_soname_SDL2:+false} :
17602 then :
17603 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17604 printf "%s\n" "not found" >&6; }
17606 else $as_nop
17607 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
17608 printf "%s\n" "$ac_cv_lib_soname_SDL2" >&6; }
17610 printf "%s\n" "#define SONAME_LIBSDL2 \"$ac_cv_lib_soname_SDL2\"" >>confdefs.h
17616 done
17617 CPPFLAGS=$ac_save_CPPFLAGS
17620 if test "x$ac_cv_lib_soname_SDL2" = "x"
17621 then :
17622 case "x$with_sdl" in
17623 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
17624 xno) ;;
17625 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
17626 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
17627 esac
17631 if test "x$with_capi" != "xno"
17632 then
17633 if ${CAPI20_CFLAGS:+false} :
17634 then :
17635 if test ${PKG_CONFIG+y}
17636 then :
17637 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
17641 if ${CAPI20_LIBS:+false} :
17642 then :
17643 if test ${PKG_CONFIG+y}
17644 then :
17645 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
17650 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
17651 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
17652 ac_save_CPPFLAGS=$CPPFLAGS
17653 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
17654 ac_fn_c_check_header_compile "$LINENO" "capi20.h" "ac_cv_header_capi20_h" "#define __user
17656 if test "x$ac_cv_header_capi20_h" = xyes
17657 then :
17658 printf "%s\n" "#define HAVE_CAPI20_H 1" >>confdefs.h
17661 ac_fn_c_check_header_compile "$LINENO" "linux/capi.h" "ac_cv_header_linux_capi_h" "#define __user
17663 if test "x$ac_cv_header_linux_capi_h" = xyes
17664 then :
17665 printf "%s\n" "#define HAVE_LINUX_CAPI_H 1" >>confdefs.h
17669 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
17670 then
17671 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for capi20_register in -lcapi20" >&5
17672 printf %s "checking for capi20_register in -lcapi20... " >&6; }
17673 if test ${ac_cv_lib_capi20_capi20_register+y}
17674 then :
17675 printf %s "(cached) " >&6
17676 else $as_nop
17677 ac_check_lib_save_LIBS=$LIBS
17678 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
17679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17680 /* end confdefs.h. */
17682 /* Override any GCC internal prototype to avoid an error.
17683 Use char because int might match the return type of a GCC
17684 builtin and then its argument prototype would still apply. */
17685 char capi20_register ();
17687 main (void)
17689 return capi20_register ();
17691 return 0;
17693 _ACEOF
17694 if ac_fn_c_try_link "$LINENO"
17695 then :
17696 ac_cv_lib_capi20_capi20_register=yes
17697 else $as_nop
17698 ac_cv_lib_capi20_capi20_register=no
17700 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17701 conftest$ac_exeext conftest.$ac_ext
17702 LIBS=$ac_check_lib_save_LIBS
17704 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_capi20_capi20_register" >&5
17705 printf "%s\n" "$ac_cv_lib_capi20_capi20_register" >&6; }
17706 if test "x$ac_cv_lib_capi20_capi20_register" = xyes
17707 then :
17709 else $as_nop
17710 CAPI20_LIBS=""
17714 CPPFLAGS=$ac_save_CPPFLAGS
17717 if test "x$ac_cv_lib_capi20_capi20_register" != xyes
17718 then :
17719 case "x$with_capi" in
17720 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
17721 xno) ;;
17722 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
17723 This is an error since --with-capi was requested." "$LINENO" 5 ;;
17724 esac
17725 enable_capi2032=${enable_capi2032:-no}
17728 if test "x$with_cups" != "xno"
17729 then
17730 if ${CUPS_CFLAGS:+false} :
17731 then :
17732 if test ${PKG_CONFIG+y}
17733 then :
17734 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
17737 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
17738 if ${CUPS_LIBS:+false} :
17739 then :
17740 if test ${PKG_CONFIG+y}
17741 then :
17742 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
17745 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
17746 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
17747 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
17748 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
17749 ac_save_CPPFLAGS=$CPPFLAGS
17750 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
17751 ac_fn_c_check_header_compile "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
17752 if test "x$ac_cv_header_cups_cups_h" = xyes
17753 then :
17754 printf "%s\n" "#define HAVE_CUPS_CUPS_H 1" >>confdefs.h
17757 ac_fn_c_check_header_compile "$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
17758 if test "x$ac_cv_header_cups_ppd_h" = xyes
17759 then :
17760 printf "%s\n" "#define HAVE_CUPS_PPD_H 1" >>confdefs.h
17764 if test "$ac_cv_header_cups_cups_h" = "yes"
17765 then
17766 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
17767 printf %s "checking for -lcups... " >&6; }
17768 if test ${ac_cv_lib_soname_cups+y}
17769 then :
17770 printf %s "(cached) " >&6
17771 else $as_nop
17772 ac_check_soname_save_LIBS=$LIBS
17773 LIBS="-lcups $CUPS_LIBS $LIBS"
17774 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17775 /* end confdefs.h. */
17777 /* Override any GCC internal prototype to avoid an error.
17778 Use char because int might match the return type of a GCC
17779 builtin and then its argument prototype would still apply. */
17780 char cupsGetDefault ();
17782 main (void)
17784 return cupsGetDefault ();
17786 return 0;
17788 _ACEOF
17789 if ac_fn_c_try_link "$LINENO"
17790 then :
17791 case "$LIBEXT" in
17792 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17793 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'` ;;
17794 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17795 if ${ac_cv_lib_soname_cups:+false} :
17796 then :
17797 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17798 fi ;;
17799 esac
17800 else $as_nop
17801 ac_cv_lib_soname_cups=
17803 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17804 conftest$ac_exeext conftest.$ac_ext
17805 LIBS=$ac_check_soname_save_LIBS
17807 if ${ac_cv_lib_soname_cups:+false} :
17808 then :
17809 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17810 printf "%s\n" "not found" >&6; }
17811 CUPS_LIBS=""
17812 else $as_nop
17813 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
17814 printf "%s\n" "$ac_cv_lib_soname_cups" >&6; }
17816 printf "%s\n" "#define SONAME_LIBCUPS \"$ac_cv_lib_soname_cups\"" >>confdefs.h
17820 else
17821 CUPS_CFLAGS=""
17822 CUPS_LIBS=""
17824 CPPFLAGS=$ac_save_CPPFLAGS
17827 if test "x$ac_cv_lib_soname_cups" = "x"
17828 then :
17829 case "x$with_cups" in
17830 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
17831 xno) ;;
17832 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
17833 This is an error since --with-cups was requested." "$LINENO" 5 ;;
17834 esac
17838 if test "x$with_fontconfig" != "xno"
17839 then
17840 if ${FONTCONFIG_CFLAGS:+false} :
17841 then :
17842 if test ${PKG_CONFIG+y}
17843 then :
17844 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
17847 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
17848 if ${FONTCONFIG_LIBS:+false} :
17849 then :
17850 if test ${PKG_CONFIG+y}
17851 then :
17852 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
17855 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
17857 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
17858 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
17859 ac_save_CPPFLAGS=$CPPFLAGS
17860 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
17861 ac_fn_c_check_header_compile "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
17862 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
17863 then :
17864 printf "%s\n" "#define HAVE_FONTCONFIG_FONTCONFIG_H 1" >>confdefs.h
17868 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
17869 then
17870 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
17871 printf %s "checking for -lfontconfig... " >&6; }
17872 if test ${ac_cv_lib_soname_fontconfig+y}
17873 then :
17874 printf %s "(cached) " >&6
17875 else $as_nop
17876 ac_check_soname_save_LIBS=$LIBS
17877 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
17878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17879 /* end confdefs.h. */
17881 /* Override any GCC internal prototype to avoid an error.
17882 Use char because int might match the return type of a GCC
17883 builtin and then its argument prototype would still apply. */
17884 char FcInit ();
17886 main (void)
17888 return FcInit ();
17890 return 0;
17892 _ACEOF
17893 if ac_fn_c_try_link "$LINENO"
17894 then :
17895 case "$LIBEXT" in
17896 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17897 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'` ;;
17898 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17899 if ${ac_cv_lib_soname_fontconfig:+false} :
17900 then :
17901 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17902 fi ;;
17903 esac
17904 else $as_nop
17905 ac_cv_lib_soname_fontconfig=
17907 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17908 conftest$ac_exeext conftest.$ac_ext
17909 LIBS=$ac_check_soname_save_LIBS
17911 if ${ac_cv_lib_soname_fontconfig:+false} :
17912 then :
17913 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17914 printf "%s\n" "not found" >&6; }
17915 FONTCONFIG_CFLAGS=""
17916 else $as_nop
17917 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
17918 printf "%s\n" "$ac_cv_lib_soname_fontconfig" >&6; }
17920 printf "%s\n" "#define SONAME_LIBFONTCONFIG \"$ac_cv_lib_soname_fontconfig\"" >>confdefs.h
17924 else
17925 FONTCONFIG_CFLAGS=""
17927 CPPFLAGS=$ac_save_CPPFLAGS
17930 if test "x$ac_cv_lib_soname_fontconfig" = "x"
17931 then :
17932 case "x$with_fontconfig" in
17933 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
17934 xno) ;;
17935 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
17936 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
17937 esac
17941 if test "x$with_krb5" != "xno"
17942 then
17943 if ${KRB5_CFLAGS:+false} :
17944 then :
17945 if test ${PKG_CONFIG+y}
17946 then :
17947 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
17950 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
17951 if ${KRB5_LIBS:+false} :
17952 then :
17953 if test ${PKG_CONFIG+y}
17954 then :
17955 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
17958 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
17960 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
17961 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
17962 ac_save_CPPFLAGS=$CPPFLAGS
17963 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
17964 ac_fn_c_check_header_compile "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
17965 if test "x$ac_cv_header_krb5_krb5_h" = xyes
17966 then :
17967 printf "%s\n" "#define HAVE_KRB5_KRB5_H 1" >>confdefs.h
17971 if test "$ac_cv_header_krb5_krb5_h" = "yes"
17972 then
17973 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
17974 printf %s "checking for -lkrb5... " >&6; }
17975 if test ${ac_cv_lib_soname_krb5+y}
17976 then :
17977 printf %s "(cached) " >&6
17978 else $as_nop
17979 ac_check_soname_save_LIBS=$LIBS
17980 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
17981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17982 /* end confdefs.h. */
17984 /* Override any GCC internal prototype to avoid an error.
17985 Use char because int might match the return type of a GCC
17986 builtin and then its argument prototype would still apply. */
17987 char krb5_is_config_principal ();
17989 main (void)
17991 return krb5_is_config_principal ();
17993 return 0;
17995 _ACEOF
17996 if ac_fn_c_try_link "$LINENO"
17997 then :
17998 case "$LIBEXT" in
17999 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18000 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'` ;;
18001 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18002 if ${ac_cv_lib_soname_krb5:+false} :
18003 then :
18004 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18005 fi ;;
18006 esac
18007 else $as_nop
18008 ac_cv_lib_soname_krb5=
18010 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18011 conftest$ac_exeext conftest.$ac_ext
18012 LIBS=$ac_check_soname_save_LIBS
18014 if ${ac_cv_lib_soname_krb5:+false} :
18015 then :
18016 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18017 printf "%s\n" "not found" >&6; }
18018 KRB5_CFLAGS=""
18019 else $as_nop
18020 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
18021 printf "%s\n" "$ac_cv_lib_soname_krb5" >&6; }
18023 printf "%s\n" "#define SONAME_LIBKRB5 \"$ac_cv_lib_soname_krb5\"" >>confdefs.h
18027 else
18028 KRB5_CFLAGS=""
18030 CPPFLAGS=$ac_save_CPPFLAGS
18033 if test "x$ac_cv_lib_soname_krb5" = "x"
18034 then :
18035 case "x$with_krb5" in
18036 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
18037 xno) ;;
18038 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
18039 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
18040 esac
18043 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
18045 if test "x$with_gssapi" != "xno"
18046 then
18047 if ${GSSAPI_CFLAGS:+false} :
18048 then :
18049 if test ${PKG_CONFIG+y}
18050 then :
18051 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
18054 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
18055 if ${GSSAPI_LIBS:+false} :
18056 then :
18057 if test ${PKG_CONFIG+y}
18058 then :
18059 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
18062 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
18064 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
18065 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
18066 ac_save_CPPFLAGS=$CPPFLAGS
18067 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
18068 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi.h" "ac_cv_header_gssapi_gssapi_h" "$ac_includes_default"
18069 if test "x$ac_cv_header_gssapi_gssapi_h" = xyes
18070 then :
18071 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_H 1" >>confdefs.h
18074 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi_ext.h" "ac_cv_header_gssapi_gssapi_ext_h" "$ac_includes_default"
18075 if test "x$ac_cv_header_gssapi_gssapi_ext_h" = xyes
18076 then :
18077 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_EXT_H 1" >>confdefs.h
18081 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
18082 then
18083 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
18084 printf %s "checking for -lgssapi_krb5... " >&6; }
18085 if test ${ac_cv_lib_soname_gssapi_krb5+y}
18086 then :
18087 printf %s "(cached) " >&6
18088 else $as_nop
18089 ac_check_soname_save_LIBS=$LIBS
18090 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
18091 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18092 /* end confdefs.h. */
18094 /* Override any GCC internal prototype to avoid an error.
18095 Use char because int might match the return type of a GCC
18096 builtin and then its argument prototype would still apply. */
18097 char gss_init_sec_context ();
18099 main (void)
18101 return gss_init_sec_context ();
18103 return 0;
18105 _ACEOF
18106 if ac_fn_c_try_link "$LINENO"
18107 then :
18108 case "$LIBEXT" in
18109 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18110 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'` ;;
18111 *) 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'`
18112 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18113 then :
18114 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18115 fi ;;
18116 esac
18117 else $as_nop
18118 ac_cv_lib_soname_gssapi_krb5=
18120 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18121 conftest$ac_exeext conftest.$ac_ext
18122 LIBS=$ac_check_soname_save_LIBS
18124 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18125 then :
18126 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18127 printf "%s\n" "not found" >&6; }
18128 GSSAPI_CFLAGS=""
18129 else $as_nop
18130 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
18131 printf "%s\n" "$ac_cv_lib_soname_gssapi_krb5" >&6; }
18133 printf "%s\n" "#define SONAME_LIBGSSAPI_KRB5 \"$ac_cv_lib_soname_gssapi_krb5\"" >>confdefs.h
18137 else
18138 GSSAPI_CFLAGS=""
18140 CPPFLAGS=$ac_save_CPPFLAGS
18143 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"
18144 then :
18145 case "x$with_gssapi" in
18146 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
18147 xno) ;;
18148 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
18149 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
18150 esac
18154 if test "$ac_cv_header_libprocstat_h" = "yes"
18155 then
18156 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
18157 printf %s "checking for procstat_open_sysctl in -lprocstat... " >&6; }
18158 if test ${ac_cv_lib_procstat_procstat_open_sysctl+y}
18159 then :
18160 printf %s "(cached) " >&6
18161 else $as_nop
18162 ac_check_lib_save_LIBS=$LIBS
18163 LIBS="-lprocstat $LIBS"
18164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18165 /* end confdefs.h. */
18167 /* Override any GCC internal prototype to avoid an error.
18168 Use char because int might match the return type of a GCC
18169 builtin and then its argument prototype would still apply. */
18170 char procstat_open_sysctl ();
18172 main (void)
18174 return procstat_open_sysctl ();
18176 return 0;
18178 _ACEOF
18179 if ac_fn_c_try_link "$LINENO"
18180 then :
18181 ac_cv_lib_procstat_procstat_open_sysctl=yes
18182 else $as_nop
18183 ac_cv_lib_procstat_procstat_open_sysctl=no
18185 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18186 conftest$ac_exeext conftest.$ac_ext
18187 LIBS=$ac_check_lib_save_LIBS
18189 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
18190 printf "%s\n" "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
18191 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
18192 then :
18194 printf "%s\n" "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
18196 PROCSTAT_LIBS="-lprocstat"
18202 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
18203 printf %s "checking for -lodbc... " >&6; }
18204 if test ${ac_cv_lib_soname_odbc+y}
18205 then :
18206 printf %s "(cached) " >&6
18207 else $as_nop
18208 ac_check_soname_save_LIBS=$LIBS
18209 LIBS="-lodbc $LIBS"
18210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18211 /* end confdefs.h. */
18213 /* Override any GCC internal prototype to avoid an error.
18214 Use char because int might match the return type of a GCC
18215 builtin and then its argument prototype would still apply. */
18216 char SQLConnect ();
18218 main (void)
18220 return SQLConnect ();
18222 return 0;
18224 _ACEOF
18225 if ac_fn_c_try_link "$LINENO"
18226 then :
18227 case "$LIBEXT" in
18228 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18229 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'` ;;
18230 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18231 if ${ac_cv_lib_soname_odbc:+false} :
18232 then :
18233 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18234 fi ;;
18235 esac
18236 else $as_nop
18237 ac_cv_lib_soname_odbc=
18239 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18240 conftest$ac_exeext conftest.$ac_ext
18241 LIBS=$ac_check_soname_save_LIBS
18243 if ${ac_cv_lib_soname_odbc:+false} :
18244 then :
18245 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18246 printf "%s\n" "not found" >&6; }
18247 printf "%s\n" "#define SONAME_LIBODBC \"libodbc.$LIBEXT\"" >>confdefs.h
18249 else $as_nop
18250 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
18251 printf "%s\n" "$ac_cv_lib_soname_odbc" >&6; }
18253 printf "%s\n" "#define SONAME_LIBODBC \"$ac_cv_lib_soname_odbc\"" >>confdefs.h
18258 if test "x$with_netapi" != "xno"
18259 then
18260 if ${NETAPI_CFLAGS:+false} :
18261 then :
18262 if test ${PKG_CONFIG+y}
18263 then :
18264 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
18268 if ${NETAPI_LIBS:+false} :
18269 then :
18270 if test ${PKG_CONFIG+y}
18271 then :
18272 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
18277 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
18278 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
18279 ac_save_CPPFLAGS=$CPPFLAGS
18280 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
18281 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
18282 printf %s "checking for -lnetapi... " >&6; }
18283 if test ${ac_cv_lib_soname_netapi+y}
18284 then :
18285 printf %s "(cached) " >&6
18286 else $as_nop
18287 ac_check_soname_save_LIBS=$LIBS
18288 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
18289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18290 /* end confdefs.h. */
18292 /* Override any GCC internal prototype to avoid an error.
18293 Use char because int might match the return type of a GCC
18294 builtin and then its argument prototype would still apply. */
18295 char libnetapi_init ();
18297 main (void)
18299 return libnetapi_init ();
18301 return 0;
18303 _ACEOF
18304 if ac_fn_c_try_link "$LINENO"
18305 then :
18306 case "$LIBEXT" in
18307 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18308 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'` ;;
18309 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18310 if ${ac_cv_lib_soname_netapi:+false} :
18311 then :
18312 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18313 fi ;;
18314 esac
18315 else $as_nop
18316 ac_cv_lib_soname_netapi=
18318 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18319 conftest$ac_exeext conftest.$ac_ext
18320 LIBS=$ac_check_soname_save_LIBS
18322 if ${ac_cv_lib_soname_netapi:+false} :
18323 then :
18324 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18325 printf "%s\n" "not found" >&6; }
18326 printf "%s\n" "#define SONAME_LIBNETAPI \"libnetapi.$LIBEXT\"" >>confdefs.h
18328 else $as_nop
18329 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
18330 printf "%s\n" "$ac_cv_lib_soname_netapi" >&6; }
18332 printf "%s\n" "#define SONAME_LIBNETAPI \"$ac_cv_lib_soname_netapi\"" >>confdefs.h
18336 CPPFLAGS=$ac_save_CPPFLAGS
18339 if test "x$ac_cv_lib_soname_netapi" = "x"
18340 then :
18341 case "x$with_netapi" in
18342 x) as_fn_append wine_notices "|libnetapi not found, Samba NetAPI won't be supported." ;;
18343 xno) ;;
18344 *) as_fn_error $? "libnetapi not found, Samba NetAPI won't be supported.
18345 This is an error since --with-netapi was requested." "$LINENO" 5 ;;
18346 esac
18347 enable_netapi=${enable_netapi:-no}
18351 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
18352 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
18353 then
18354 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
18357 if test "x$with_vulkan" != "xno"
18358 then
18359 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
18360 printf %s "checking for -lvulkan... " >&6; }
18361 if test ${ac_cv_lib_soname_vulkan+y}
18362 then :
18363 printf %s "(cached) " >&6
18364 else $as_nop
18365 ac_check_soname_save_LIBS=$LIBS
18366 LIBS="-lvulkan $LIBS"
18367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18368 /* end confdefs.h. */
18370 /* Override any GCC internal prototype to avoid an error.
18371 Use char because int might match the return type of a GCC
18372 builtin and then its argument prototype would still apply. */
18373 char vkGetInstanceProcAddr ();
18375 main (void)
18377 return vkGetInstanceProcAddr ();
18379 return 0;
18381 _ACEOF
18382 if ac_fn_c_try_link "$LINENO"
18383 then :
18384 case "$LIBEXT" in
18385 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18386 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'` ;;
18387 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18388 if ${ac_cv_lib_soname_vulkan:+false} :
18389 then :
18390 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18391 fi ;;
18392 esac
18393 else $as_nop
18394 ac_cv_lib_soname_vulkan=
18396 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18397 conftest$ac_exeext conftest.$ac_ext
18398 LIBS=$ac_check_soname_save_LIBS
18400 if ${ac_cv_lib_soname_vulkan:+false} :
18401 then :
18402 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18403 printf "%s\n" "not found" >&6; }
18405 else $as_nop
18406 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
18407 printf "%s\n" "$ac_cv_lib_soname_vulkan" >&6; }
18409 printf "%s\n" "#define SONAME_LIBVULKAN \"$ac_cv_lib_soname_vulkan\"" >>confdefs.h
18413 if test "x$ac_cv_lib_soname_vulkan" = "x"
18414 then
18415 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
18416 printf %s "checking for -lMoltenVK... " >&6; }
18417 if test ${ac_cv_lib_soname_MoltenVK+y}
18418 then :
18419 printf %s "(cached) " >&6
18420 else $as_nop
18421 ac_check_soname_save_LIBS=$LIBS
18422 LIBS="-lMoltenVK $LIBS"
18423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18424 /* end confdefs.h. */
18426 /* Override any GCC internal prototype to avoid an error.
18427 Use char because int might match the return type of a GCC
18428 builtin and then its argument prototype would still apply. */
18429 char vkGetInstanceProcAddr ();
18431 main (void)
18433 return vkGetInstanceProcAddr ();
18435 return 0;
18437 _ACEOF
18438 if ac_fn_c_try_link "$LINENO"
18439 then :
18440 case "$LIBEXT" in
18441 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18442 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'` ;;
18443 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18444 if ${ac_cv_lib_soname_MoltenVK:+false} :
18445 then :
18446 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18447 fi ;;
18448 esac
18449 else $as_nop
18450 ac_cv_lib_soname_MoltenVK=
18452 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18453 conftest$ac_exeext conftest.$ac_ext
18454 LIBS=$ac_check_soname_save_LIBS
18456 if ${ac_cv_lib_soname_MoltenVK:+false} :
18457 then :
18458 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18459 printf "%s\n" "not found" >&6; }
18461 else $as_nop
18462 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
18463 printf "%s\n" "$ac_cv_lib_soname_MoltenVK" >&6; }
18465 printf "%s\n" "#define SONAME_LIBMOLTENVK \"$ac_cv_lib_soname_MoltenVK\"" >>confdefs.h
18471 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"
18472 then :
18473 case "x$with_vulkan" in
18474 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
18475 xno) ;;
18476 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
18477 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
18478 esac
18483 if test "x${GCC}" = "xyes"
18484 then
18485 EXTRACFLAGS="$EXTRACFLAGS -Wall -pipe"
18487 saved_CFLAGS=$CFLAGS
18488 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
18489 printf %s "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
18490 if test ${ac_cv_cflags__Werror_unknown_warning_option+y}
18491 then :
18492 printf %s "(cached) " >&6
18493 else $as_nop
18494 ac_wine_try_cflags_saved=$CFLAGS
18495 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
18496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18497 /* end confdefs.h. */
18498 int main(int argc, char **argv) { return 0; }
18499 _ACEOF
18500 if ac_fn_c_try_link "$LINENO"
18501 then :
18502 ac_cv_cflags__Werror_unknown_warning_option=yes
18503 else $as_nop
18504 ac_cv_cflags__Werror_unknown_warning_option=no
18506 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18507 conftest$ac_exeext conftest.$ac_ext
18508 CFLAGS=$ac_wine_try_cflags_saved
18510 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
18511 printf "%s\n" "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
18512 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
18513 then :
18514 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
18516 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
18517 printf %s "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
18518 if test ${ac_cv_cflags__Werror_unused_command_line_argument+y}
18519 then :
18520 printf %s "(cached) " >&6
18521 else $as_nop
18522 ac_wine_try_cflags_saved=$CFLAGS
18523 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
18524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18525 /* end confdefs.h. */
18526 int main(int argc, char **argv) { return 0; }
18527 _ACEOF
18528 if ac_fn_c_try_link "$LINENO"
18529 then :
18530 ac_cv_cflags__Werror_unused_command_line_argument=yes
18531 else $as_nop
18532 ac_cv_cflags__Werror_unused_command_line_argument=no
18534 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18535 conftest$ac_exeext conftest.$ac_ext
18536 CFLAGS=$ac_wine_try_cflags_saved
18538 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
18539 printf "%s\n" "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
18540 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes
18541 then :
18542 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
18544 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
18545 printf %s "checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
18546 if test ${ac_cv_cflags__Werror_ignored_optimization_argument+y}
18547 then :
18548 printf %s "(cached) " >&6
18549 else $as_nop
18550 ac_wine_try_cflags_saved=$CFLAGS
18551 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
18552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18553 /* end confdefs.h. */
18554 int main(int argc, char **argv) { return 0; }
18555 _ACEOF
18556 if ac_fn_c_try_link "$LINENO"
18557 then :
18558 ac_cv_cflags__Werror_ignored_optimization_argument=yes
18559 else $as_nop
18560 ac_cv_cflags__Werror_ignored_optimization_argument=no
18562 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18563 conftest$ac_exeext conftest.$ac_ext
18564 CFLAGS=$ac_wine_try_cflags_saved
18566 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
18567 printf "%s\n" "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
18568 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes
18569 then :
18570 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
18572 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
18573 printf %s "checking whether the compiler supports -fcf-protection=none... " >&6; }
18574 if test ${ac_cv_cflags__fcf_protection_none+y}
18575 then :
18576 printf %s "(cached) " >&6
18577 else $as_nop
18578 ac_wine_try_cflags_saved=$CFLAGS
18579 CFLAGS="$CFLAGS -fcf-protection=none"
18580 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18581 /* end confdefs.h. */
18582 int main(int argc, char **argv) { return 0; }
18583 _ACEOF
18584 if ac_fn_c_try_link "$LINENO"
18585 then :
18586 ac_cv_cflags__fcf_protection_none=yes
18587 else $as_nop
18588 ac_cv_cflags__fcf_protection_none=no
18590 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18591 conftest$ac_exeext conftest.$ac_ext
18592 CFLAGS=$ac_wine_try_cflags_saved
18594 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
18595 printf "%s\n" "$ac_cv_cflags__fcf_protection_none" >&6; }
18596 if test "x$ac_cv_cflags__fcf_protection_none" = xyes
18597 then :
18598 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
18600 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
18601 printf %s "checking whether the compiler supports -fno-stack-protector... " >&6; }
18602 if test ${ac_cv_cflags__fno_stack_protector+y}
18603 then :
18604 printf %s "(cached) " >&6
18605 else $as_nop
18606 ac_wine_try_cflags_saved=$CFLAGS
18607 CFLAGS="$CFLAGS -fno-stack-protector"
18608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18609 /* end confdefs.h. */
18610 int main(int argc, char **argv) { return 0; }
18611 _ACEOF
18612 if ac_fn_c_try_link "$LINENO"
18613 then :
18614 ac_cv_cflags__fno_stack_protector=yes
18615 else $as_nop
18616 ac_cv_cflags__fno_stack_protector=no
18618 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18619 conftest$ac_exeext conftest.$ac_ext
18620 CFLAGS=$ac_wine_try_cflags_saved
18622 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
18623 printf "%s\n" "$ac_cv_cflags__fno_stack_protector" >&6; }
18624 if test "x$ac_cv_cflags__fno_stack_protector" = xyes
18625 then :
18626 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
18628 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
18629 printf %s "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
18630 if test ${ac_cv_cflags__fno_strict_aliasing+y}
18631 then :
18632 printf %s "(cached) " >&6
18633 else $as_nop
18634 ac_wine_try_cflags_saved=$CFLAGS
18635 CFLAGS="$CFLAGS -fno-strict-aliasing"
18636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18637 /* end confdefs.h. */
18638 int main(int argc, char **argv) { return 0; }
18639 _ACEOF
18640 if ac_fn_c_try_link "$LINENO"
18641 then :
18642 ac_cv_cflags__fno_strict_aliasing=yes
18643 else $as_nop
18644 ac_cv_cflags__fno_strict_aliasing=no
18646 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18647 conftest$ac_exeext conftest.$ac_ext
18648 CFLAGS=$ac_wine_try_cflags_saved
18650 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
18651 printf "%s\n" "$ac_cv_cflags__fno_strict_aliasing" >&6; }
18652 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
18653 then :
18654 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
18656 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
18657 printf %s "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
18658 if test ${ac_cv_cflags__Wdeclaration_after_statement+y}
18659 then :
18660 printf %s "(cached) " >&6
18661 else $as_nop
18662 ac_wine_try_cflags_saved=$CFLAGS
18663 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
18664 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18665 /* end confdefs.h. */
18666 int main(int argc, char **argv) { return 0; }
18667 _ACEOF
18668 if ac_fn_c_try_link "$LINENO"
18669 then :
18670 ac_cv_cflags__Wdeclaration_after_statement=yes
18671 else $as_nop
18672 ac_cv_cflags__Wdeclaration_after_statement=no
18674 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18675 conftest$ac_exeext conftest.$ac_ext
18676 CFLAGS=$ac_wine_try_cflags_saved
18678 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
18679 printf "%s\n" "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
18680 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
18681 then :
18682 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
18684 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
18685 printf %s "checking whether the compiler supports -Wempty-body... " >&6; }
18686 if test ${ac_cv_cflags__Wempty_body+y}
18687 then :
18688 printf %s "(cached) " >&6
18689 else $as_nop
18690 ac_wine_try_cflags_saved=$CFLAGS
18691 CFLAGS="$CFLAGS -Wempty-body"
18692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18693 /* end confdefs.h. */
18694 int main(int argc, char **argv) { return 0; }
18695 _ACEOF
18696 if ac_fn_c_try_link "$LINENO"
18697 then :
18698 ac_cv_cflags__Wempty_body=yes
18699 else $as_nop
18700 ac_cv_cflags__Wempty_body=no
18702 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18703 conftest$ac_exeext conftest.$ac_ext
18704 CFLAGS=$ac_wine_try_cflags_saved
18706 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
18707 printf "%s\n" "$ac_cv_cflags__Wempty_body" >&6; }
18708 if test "x$ac_cv_cflags__Wempty_body" = xyes
18709 then :
18710 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
18712 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
18713 printf %s "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
18714 if test ${ac_cv_cflags__Wignored_qualifiers+y}
18715 then :
18716 printf %s "(cached) " >&6
18717 else $as_nop
18718 ac_wine_try_cflags_saved=$CFLAGS
18719 CFLAGS="$CFLAGS -Wignored-qualifiers"
18720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18721 /* end confdefs.h. */
18722 int main(int argc, char **argv) { return 0; }
18723 _ACEOF
18724 if ac_fn_c_try_link "$LINENO"
18725 then :
18726 ac_cv_cflags__Wignored_qualifiers=yes
18727 else $as_nop
18728 ac_cv_cflags__Wignored_qualifiers=no
18730 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18731 conftest$ac_exeext conftest.$ac_ext
18732 CFLAGS=$ac_wine_try_cflags_saved
18734 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
18735 printf "%s\n" "$ac_cv_cflags__Wignored_qualifiers" >&6; }
18736 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
18737 then :
18738 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
18740 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Winit-self" >&5
18741 printf %s "checking whether the compiler supports -Winit-self... " >&6; }
18742 if test ${ac_cv_cflags__Winit_self+y}
18743 then :
18744 printf %s "(cached) " >&6
18745 else $as_nop
18746 ac_wine_try_cflags_saved=$CFLAGS
18747 CFLAGS="$CFLAGS -Winit-self"
18748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18749 /* end confdefs.h. */
18750 int main(int argc, char **argv) { return 0; }
18751 _ACEOF
18752 if ac_fn_c_try_link "$LINENO"
18753 then :
18754 ac_cv_cflags__Winit_self=yes
18755 else $as_nop
18756 ac_cv_cflags__Winit_self=no
18758 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18759 conftest$ac_exeext conftest.$ac_ext
18760 CFLAGS=$ac_wine_try_cflags_saved
18762 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Winit_self" >&5
18763 printf "%s\n" "$ac_cv_cflags__Winit_self" >&6; }
18764 if test "x$ac_cv_cflags__Winit_self" = xyes
18765 then :
18766 EXTRACFLAGS="$EXTRACFLAGS -Winit-self"
18768 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
18769 printf %s "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
18770 if test ${ac_cv_cflags__Wpacked_not_aligned+y}
18771 then :
18772 printf %s "(cached) " >&6
18773 else $as_nop
18774 ac_wine_try_cflags_saved=$CFLAGS
18775 CFLAGS="$CFLAGS -Wpacked-not-aligned"
18776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18777 /* end confdefs.h. */
18778 int main(int argc, char **argv) { return 0; }
18779 _ACEOF
18780 if ac_fn_c_try_link "$LINENO"
18781 then :
18782 ac_cv_cflags__Wpacked_not_aligned=yes
18783 else $as_nop
18784 ac_cv_cflags__Wpacked_not_aligned=no
18786 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18787 conftest$ac_exeext conftest.$ac_ext
18788 CFLAGS=$ac_wine_try_cflags_saved
18790 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
18791 printf "%s\n" "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
18792 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes
18793 then :
18794 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
18796 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
18797 printf %s "checking whether the compiler supports -Wpragma-pack... " >&6; }
18798 if test ${ac_cv_cflags__Wpragma_pack+y}
18799 then :
18800 printf %s "(cached) " >&6
18801 else $as_nop
18802 ac_wine_try_cflags_saved=$CFLAGS
18803 CFLAGS="$CFLAGS -Wpragma-pack"
18804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18805 /* end confdefs.h. */
18806 int main(int argc, char **argv) { return 0; }
18807 _ACEOF
18808 if ac_fn_c_try_link "$LINENO"
18809 then :
18810 ac_cv_cflags__Wpragma_pack=yes
18811 else $as_nop
18812 ac_cv_cflags__Wpragma_pack=no
18814 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18815 conftest$ac_exeext conftest.$ac_ext
18816 CFLAGS=$ac_wine_try_cflags_saved
18818 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
18819 printf "%s\n" "$ac_cv_cflags__Wpragma_pack" >&6; }
18820 if test "x$ac_cv_cflags__Wpragma_pack" = xyes
18821 then :
18822 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
18824 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
18825 printf %s "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
18826 if test ${ac_cv_cflags__Wshift_overflow_2+y}
18827 then :
18828 printf %s "(cached) " >&6
18829 else $as_nop
18830 ac_wine_try_cflags_saved=$CFLAGS
18831 CFLAGS="$CFLAGS -Wshift-overflow=2"
18832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18833 /* end confdefs.h. */
18834 int main(int argc, char **argv) { return 0; }
18835 _ACEOF
18836 if ac_fn_c_try_link "$LINENO"
18837 then :
18838 ac_cv_cflags__Wshift_overflow_2=yes
18839 else $as_nop
18840 ac_cv_cflags__Wshift_overflow_2=no
18842 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18843 conftest$ac_exeext conftest.$ac_ext
18844 CFLAGS=$ac_wine_try_cflags_saved
18846 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
18847 printf "%s\n" "$ac_cv_cflags__Wshift_overflow_2" >&6; }
18848 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes
18849 then :
18850 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
18852 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
18853 printf %s "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
18854 if test ${ac_cv_cflags__Wstrict_prototypes+y}
18855 then :
18856 printf %s "(cached) " >&6
18857 else $as_nop
18858 ac_wine_try_cflags_saved=$CFLAGS
18859 CFLAGS="$CFLAGS -Wstrict-prototypes"
18860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18861 /* end confdefs.h. */
18862 int main(int argc, char **argv) { return 0; }
18863 _ACEOF
18864 if ac_fn_c_try_link "$LINENO"
18865 then :
18866 ac_cv_cflags__Wstrict_prototypes=yes
18867 else $as_nop
18868 ac_cv_cflags__Wstrict_prototypes=no
18870 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18871 conftest$ac_exeext conftest.$ac_ext
18872 CFLAGS=$ac_wine_try_cflags_saved
18874 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
18875 printf "%s\n" "$ac_cv_cflags__Wstrict_prototypes" >&6; }
18876 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
18877 then :
18878 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
18880 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
18881 printf %s "checking whether the compiler supports -Wtype-limits... " >&6; }
18882 if test ${ac_cv_cflags__Wtype_limits+y}
18883 then :
18884 printf %s "(cached) " >&6
18885 else $as_nop
18886 ac_wine_try_cflags_saved=$CFLAGS
18887 CFLAGS="$CFLAGS -Wtype-limits"
18888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18889 /* end confdefs.h. */
18890 int main(int argc, char **argv) { return 0; }
18891 _ACEOF
18892 if ac_fn_c_try_link "$LINENO"
18893 then :
18894 ac_cv_cflags__Wtype_limits=yes
18895 else $as_nop
18896 ac_cv_cflags__Wtype_limits=no
18898 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18899 conftest$ac_exeext conftest.$ac_ext
18900 CFLAGS=$ac_wine_try_cflags_saved
18902 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
18903 printf "%s\n" "$ac_cv_cflags__Wtype_limits" >&6; }
18904 if test "x$ac_cv_cflags__Wtype_limits" = xyes
18905 then :
18906 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
18908 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
18909 printf %s "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
18910 if test ${ac_cv_cflags__Wunused_but_set_parameter+y}
18911 then :
18912 printf %s "(cached) " >&6
18913 else $as_nop
18914 ac_wine_try_cflags_saved=$CFLAGS
18915 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
18916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18917 /* end confdefs.h. */
18918 int main(int argc, char **argv) { return 0; }
18919 _ACEOF
18920 if ac_fn_c_try_link "$LINENO"
18921 then :
18922 ac_cv_cflags__Wunused_but_set_parameter=yes
18923 else $as_nop
18924 ac_cv_cflags__Wunused_but_set_parameter=no
18926 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18927 conftest$ac_exeext conftest.$ac_ext
18928 CFLAGS=$ac_wine_try_cflags_saved
18930 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
18931 printf "%s\n" "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
18932 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
18933 then :
18934 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
18936 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
18937 printf %s "checking whether the compiler supports -Wvla... " >&6; }
18938 if test ${ac_cv_cflags__Wvla+y}
18939 then :
18940 printf %s "(cached) " >&6
18941 else $as_nop
18942 ac_wine_try_cflags_saved=$CFLAGS
18943 CFLAGS="$CFLAGS -Wvla"
18944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18945 /* end confdefs.h. */
18946 int main(int argc, char **argv) { return 0; }
18947 _ACEOF
18948 if ac_fn_c_try_link "$LINENO"
18949 then :
18950 ac_cv_cflags__Wvla=yes
18951 else $as_nop
18952 ac_cv_cflags__Wvla=no
18954 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18955 conftest$ac_exeext conftest.$ac_ext
18956 CFLAGS=$ac_wine_try_cflags_saved
18958 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
18959 printf "%s\n" "$ac_cv_cflags__Wvla" >&6; }
18960 if test "x$ac_cv_cflags__Wvla" = xyes
18961 then :
18962 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
18964 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
18965 printf %s "checking whether the compiler supports -Wwrite-strings... " >&6; }
18966 if test ${ac_cv_cflags__Wwrite_strings+y}
18967 then :
18968 printf %s "(cached) " >&6
18969 else $as_nop
18970 ac_wine_try_cflags_saved=$CFLAGS
18971 CFLAGS="$CFLAGS -Wwrite-strings"
18972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18973 /* end confdefs.h. */
18974 int main(int argc, char **argv) { return 0; }
18975 _ACEOF
18976 if ac_fn_c_try_link "$LINENO"
18977 then :
18978 ac_cv_cflags__Wwrite_strings=yes
18979 else $as_nop
18980 ac_cv_cflags__Wwrite_strings=no
18982 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18983 conftest$ac_exeext conftest.$ac_ext
18984 CFLAGS=$ac_wine_try_cflags_saved
18986 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
18987 printf "%s\n" "$ac_cv_cflags__Wwrite_strings" >&6; }
18988 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
18989 then :
18990 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
18993 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
18994 printf %s "checking whether the compiler supports -Wpointer-arith... " >&6; }
18995 if test ${ac_cv_cflags__Wpointer_arith+y}
18996 then :
18997 printf %s "(cached) " >&6
18998 else $as_nop
18999 ac_wine_try_cflags_saved=$CFLAGS
19000 CFLAGS="$CFLAGS -Wpointer-arith"
19001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19002 /* end confdefs.h. */
19003 int main(int argc, char **argv) { return 0; }
19004 _ACEOF
19005 if ac_fn_c_try_link "$LINENO"
19006 then :
19007 ac_cv_cflags__Wpointer_arith=yes
19008 else $as_nop
19009 ac_cv_cflags__Wpointer_arith=no
19011 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19012 conftest$ac_exeext conftest.$ac_ext
19013 CFLAGS=$ac_wine_try_cflags_saved
19015 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
19016 printf "%s\n" "$ac_cv_cflags__Wpointer_arith" >&6; }
19017 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
19018 then :
19019 saved_string_h_CFLAGS=$CFLAGS
19020 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
19021 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
19022 printf %s "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
19023 if test ${ac_cv_c_string_h_warnings+y}
19024 then :
19025 printf %s "(cached) " >&6
19026 else $as_nop
19027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19028 /* end confdefs.h. */
19029 #include <string.h>
19031 main (void)
19035 return 0;
19037 _ACEOF
19038 if ac_fn_c_try_compile "$LINENO"
19039 then :
19040 ac_cv_c_string_h_warnings=no
19041 else $as_nop
19042 ac_cv_c_string_h_warnings=yes
19044 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19046 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
19047 printf "%s\n" "$ac_cv_c_string_h_warnings" >&6; }
19048 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
19049 CFLAGS=$saved_string_h_CFLAGS
19052 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
19053 printf %s "checking whether the compiler supports -Wlogical-op... " >&6; }
19054 if test ${ac_cv_cflags__Wlogical_op+y}
19055 then :
19056 printf %s "(cached) " >&6
19057 else $as_nop
19058 ac_wine_try_cflags_saved=$CFLAGS
19059 CFLAGS="$CFLAGS -Wlogical-op"
19060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19061 /* end confdefs.h. */
19062 int main(int argc, char **argv) { return 0; }
19063 _ACEOF
19064 if ac_fn_c_try_link "$LINENO"
19065 then :
19066 ac_cv_cflags__Wlogical_op=yes
19067 else $as_nop
19068 ac_cv_cflags__Wlogical_op=no
19070 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19071 conftest$ac_exeext conftest.$ac_ext
19072 CFLAGS=$ac_wine_try_cflags_saved
19074 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
19075 printf "%s\n" "$ac_cv_cflags__Wlogical_op" >&6; }
19076 if test "x$ac_cv_cflags__Wlogical_op" = xyes
19077 then :
19078 saved_string_h_CFLAGS=$CFLAGS
19079 CFLAGS="$CFLAGS -Wlogical-op -Werror"
19080 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
19081 printf %s "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
19082 if test ${ac_cv_c_logicalop_noisy+y}
19083 then :
19084 printf %s "(cached) " >&6
19085 else $as_nop
19086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19087 /* end confdefs.h. */
19088 #include <string.h>
19089 char*f(const char *h,char n) {return strchr(h,n);}
19091 main (void)
19095 return 0;
19097 _ACEOF
19098 if ac_fn_c_try_compile "$LINENO"
19099 then :
19100 ac_cv_c_logicalop_noisy=no
19101 else $as_nop
19102 ac_cv_c_logicalop_noisy=yes
19104 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19106 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
19107 printf "%s\n" "$ac_cv_c_logicalop_noisy" >&6; }
19108 CFLAGS=$saved_string_h_CFLAGS
19109 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
19112 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
19113 printf %s "checking for flags needed for 64-bit compare-and-swap support... " >&6; }
19114 if test ${wine_cv_64bit_compare_swap+y}
19115 then :
19116 printf %s "(cached) " >&6
19117 else $as_nop
19118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19119 /* end confdefs.h. */
19120 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19121 #error no
19122 #endif
19124 main (void)
19128 return 0;
19130 _ACEOF
19131 if ac_fn_c_try_compile "$LINENO"
19132 then :
19133 wine_cv_64bit_compare_swap="none needed"
19134 else $as_nop
19135 case $host_cpu in
19136 *i[3456]86*) wine_cv_64bit_compare_swap="-march=i586" ;;
19137 *arm*) wine_cv_64bit_compare_swap="-march=armv7-a" ;;
19138 *) wine_cv_64bit_compare_swap="unknown" ;;
19139 esac
19140 if test "x$wine_cv_64bit_compare_swap" != xunknown
19141 then
19142 CFLAGS="$CFLAGS $wine_cv_64bit_compare_swap"
19143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19144 /* end confdefs.h. */
19145 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19146 #error no
19147 #endif
19149 main (void)
19153 return 0;
19155 _ACEOF
19156 if ac_fn_c_try_compile "$LINENO"
19157 then :
19159 else $as_nop
19160 wine_cv_64bit_compare_swap="unknown"
19162 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19163 CFLAGS=$saved_CFLAGS
19166 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19168 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
19169 printf "%s\n" "$wine_cv_64bit_compare_swap" >&6; }
19170 case "$wine_cv_64bit_compare_swap" in
19171 unknown) as_fn_error $? "gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
19172 "none needed") ;;
19173 *) EXTRACFLAGS="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
19174 esac
19176 ac_debug_format_seen=""
19177 for ac_flag in $CFLAGS; do
19178 case $ac_flag in
19179 -gdwarf*) ac_debug_format_seen=yes ;;
19180 -g) ac_debug_format_seen=${ac_debug_format_seen:-default} ;;
19181 esac
19182 done
19183 if test "x$ac_debug_format_seen" = xdefault
19184 then
19185 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-4" >&5
19186 printf %s "checking whether the compiler supports -gdwarf-4... " >&6; }
19187 if test ${ac_cv_cflags__gdwarf_4+y}
19188 then :
19189 printf %s "(cached) " >&6
19190 else $as_nop
19191 ac_wine_try_cflags_saved=$CFLAGS
19192 CFLAGS="$CFLAGS -gdwarf-4"
19193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19194 /* end confdefs.h. */
19195 int main(int argc, char **argv) { return 0; }
19196 _ACEOF
19197 if ac_fn_c_try_link "$LINENO"
19198 then :
19199 ac_cv_cflags__gdwarf_4=yes
19200 else $as_nop
19201 ac_cv_cflags__gdwarf_4=no
19203 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19204 conftest$ac_exeext conftest.$ac_ext
19205 CFLAGS=$ac_wine_try_cflags_saved
19207 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_4" >&5
19208 printf "%s\n" "$ac_cv_cflags__gdwarf_4" >&6; }
19209 if test "x$ac_cv_cflags__gdwarf_4" = xyes
19210 then :
19211 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-4"
19215 MSVCRTFLAGS=""
19217 case $host_os in
19218 mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
19219 printf %s "checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
19220 if test ${ac_cv_cflags__Wl__delayload_autoconftest_dll+y}
19221 then :
19222 printf %s "(cached) " >&6
19223 else $as_nop
19224 ac_wine_try_cflags_saved=$CFLAGS
19225 CFLAGS="$CFLAGS -Wl,-delayload,autoconftest.dll"
19226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19227 /* end confdefs.h. */
19228 int main(int argc, char **argv) { return 0; }
19229 _ACEOF
19230 if ac_fn_c_try_link "$LINENO"
19231 then :
19232 ac_cv_cflags__Wl__delayload_autoconftest_dll=yes
19233 else $as_nop
19234 ac_cv_cflags__Wl__delayload_autoconftest_dll=no
19236 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19237 conftest$ac_exeext conftest.$ac_ext
19238 CFLAGS=$ac_wine_try_cflags_saved
19240 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
19241 printf "%s\n" "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
19242 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes
19243 then :
19244 DELAYLOADFLAG="-Wl,-delayload,"
19246 fi ;;
19247 *) MSVCRTFLAGS="-D_WIN32"
19248 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
19249 printf %s "checking whether the compiler supports -fno-builtin... " >&6; }
19250 if test ${ac_cv_cflags__fno_builtin+y}
19251 then :
19252 printf %s "(cached) " >&6
19253 else $as_nop
19254 ac_wine_try_cflags_saved=$CFLAGS
19255 CFLAGS="$CFLAGS -fno-builtin"
19256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19257 /* end confdefs.h. */
19258 int main(int argc, char **argv) { return 0; }
19259 _ACEOF
19260 if ac_fn_c_try_link "$LINENO"
19261 then :
19262 ac_cv_cflags__fno_builtin=yes
19263 else $as_nop
19264 ac_cv_cflags__fno_builtin=no
19266 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19267 conftest$ac_exeext conftest.$ac_ext
19268 CFLAGS=$ac_wine_try_cflags_saved
19270 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
19271 printf "%s\n" "$ac_cv_cflags__fno_builtin" >&6; }
19272 if test "x$ac_cv_cflags__fno_builtin" = xyes
19273 then :
19274 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
19276 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
19277 printf %s "checking whether the compiler supports -fshort-wchar... " >&6; }
19278 if test ${ac_cv_cflags__fshort_wchar+y}
19279 then :
19280 printf %s "(cached) " >&6
19281 else $as_nop
19282 ac_wine_try_cflags_saved=$CFLAGS
19283 CFLAGS="$CFLAGS -fshort-wchar"
19284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19285 /* end confdefs.h. */
19286 int main(int argc, char **argv) { return 0; }
19287 _ACEOF
19288 if ac_fn_c_try_link "$LINENO"
19289 then :
19290 ac_cv_cflags__fshort_wchar=yes
19291 else $as_nop
19292 ac_cv_cflags__fshort_wchar=no
19294 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19295 conftest$ac_exeext conftest.$ac_ext
19296 CFLAGS=$ac_wine_try_cflags_saved
19298 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
19299 printf "%s\n" "$ac_cv_cflags__fshort_wchar" >&6; }
19300 if test "x$ac_cv_cflags__fshort_wchar" = xyes
19301 then :
19302 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
19304 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19305 printf %s "checking whether the compiler supports -Wno-format... " >&6; }
19306 if test ${ac_cv_cflags__Wno_format+y}
19307 then :
19308 printf %s "(cached) " >&6
19309 else $as_nop
19310 ac_wine_try_cflags_saved=$CFLAGS
19311 CFLAGS="$CFLAGS -Wno-format"
19312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19313 /* end confdefs.h. */
19314 int main(int argc, char **argv) { return 0; }
19315 _ACEOF
19316 if ac_fn_c_try_link "$LINENO"
19317 then :
19318 ac_cv_cflags__Wno_format=yes
19319 else $as_nop
19320 ac_cv_cflags__Wno_format=no
19322 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19323 conftest$ac_exeext conftest.$ac_ext
19324 CFLAGS=$ac_wine_try_cflags_saved
19326 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19327 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19328 if test "x$ac_cv_cflags__Wno_format" = xyes
19329 then :
19330 MSVCRTFLAGS="$MSVCRTFLAGS -Wno-format"
19331 fi ;;
19332 esac
19334 case $host_cpu in
19335 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
19336 printf %s "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
19337 if test ${ac_cv_cflags__fno_omit_frame_pointer+y}
19338 then :
19339 printf %s "(cached) " >&6
19340 else $as_nop
19341 ac_wine_try_cflags_saved=$CFLAGS
19342 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
19343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19344 /* end confdefs.h. */
19345 int main(int argc, char **argv) { return 0; }
19346 _ACEOF
19347 if ac_fn_c_try_link "$LINENO"
19348 then :
19349 ac_cv_cflags__fno_omit_frame_pointer=yes
19350 else $as_nop
19351 ac_cv_cflags__fno_omit_frame_pointer=no
19353 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19354 conftest$ac_exeext conftest.$ac_ext
19355 CFLAGS=$ac_wine_try_cflags_saved
19357 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
19358 printf "%s\n" "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
19359 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
19360 then :
19361 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
19362 fi ;;
19363 *x86_64*)
19364 case $host_os in
19365 cygwin*|mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19366 printf %s "checking whether the compiler supports -Wno-format... " >&6; }
19367 if test ${ac_cv_cflags__Wno_format+y}
19368 then :
19369 printf %s "(cached) " >&6
19370 else $as_nop
19371 ac_wine_try_cflags_saved=$CFLAGS
19372 CFLAGS="$CFLAGS -Wno-format"
19373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19374 /* end confdefs.h. */
19375 int main(int argc, char **argv) { return 0; }
19376 _ACEOF
19377 if ac_fn_c_try_link "$LINENO"
19378 then :
19379 ac_cv_cflags__Wno_format=yes
19380 else $as_nop
19381 ac_cv_cflags__Wno_format=no
19383 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19384 conftest$ac_exeext conftest.$ac_ext
19385 CFLAGS=$ac_wine_try_cflags_saved
19387 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19388 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19389 if test "x$ac_cv_cflags__Wno_format" = xyes
19390 then :
19391 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
19392 fi ;;
19393 *) if test -z "$PE_ARCHS"
19394 then
19395 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working -mabi=ms" >&5
19396 printf %s "checking for working -mabi=ms... " >&6; }
19397 if test ${ac_cv_mabi_ms+y}
19398 then :
19399 printf %s "(cached) " >&6
19400 else $as_nop
19401 CFLAGS="$CFLAGS -mabi=ms"
19402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19403 /* end confdefs.h. */
19404 #include <stdarg.h>
19405 int a(int b, ...) { __builtin_ms_va_list list; __builtin_ms_va_start(list,b); }
19407 main (void)
19411 return 0;
19413 _ACEOF
19414 if ac_fn_c_try_compile "$LINENO"
19415 then :
19416 ac_cv_mabi_ms=yes
19417 else $as_nop
19418 ac_cv_mabi_ms=no
19420 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19421 CFLAGS=$saved_CFLAGS
19423 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mabi_ms" >&5
19424 printf "%s\n" "$ac_cv_mabi_ms" >&6; }
19425 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
19427 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms" ;;
19428 esac ;;
19429 arm*)
19430 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wincompatible-function-pointer-types" >&5
19431 printf %s "checking whether the compiler supports -Wincompatible-function-pointer-types... " >&6; }
19432 if test ${ac_cv_cflags__Wincompatible_function_pointer_types+y}
19433 then :
19434 printf %s "(cached) " >&6
19435 else $as_nop
19436 ac_wine_try_cflags_saved=$CFLAGS
19437 CFLAGS="$CFLAGS -Wincompatible-function-pointer-types"
19438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19439 /* end confdefs.h. */
19440 int main(int argc, char **argv) { return 0; }
19441 _ACEOF
19442 if ac_fn_c_try_link "$LINENO"
19443 then :
19444 ac_cv_cflags__Wincompatible_function_pointer_types=yes
19445 else $as_nop
19446 ac_cv_cflags__Wincompatible_function_pointer_types=no
19448 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19449 conftest$ac_exeext conftest.$ac_ext
19450 CFLAGS=$ac_wine_try_cflags_saved
19452 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wincompatible_function_pointer_types" >&5
19453 printf "%s\n" "$ac_cv_cflags__Wincompatible_function_pointer_types" >&6; }
19454 if test "x$ac_cv_cflags__Wincompatible_function_pointer_types" = xyes
19455 then :
19456 EXTRACFLAGS="$EXTRACFLAGS -Wno-error=incompatible-function-pointer-types"
19457 fi ;;
19458 esac
19460 CFLAGS=$saved_CFLAGS
19462 if test "x$enable_werror" = "xyes"
19463 then
19464 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
19465 printf %s "checking whether the compiler supports -Werror... " >&6; }
19466 if test ${ac_cv_cflags__Werror+y}
19467 then :
19468 printf %s "(cached) " >&6
19469 else $as_nop
19470 ac_wine_try_cflags_saved=$CFLAGS
19471 CFLAGS="$CFLAGS -Werror"
19472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19473 /* end confdefs.h. */
19474 int main(int argc, char **argv) { return 0; }
19475 _ACEOF
19476 if ac_fn_c_try_link "$LINENO"
19477 then :
19478 ac_cv_cflags__Werror=yes
19479 else $as_nop
19480 ac_cv_cflags__Werror=no
19482 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19483 conftest$ac_exeext conftest.$ac_ext
19484 CFLAGS=$ac_wine_try_cflags_saved
19486 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
19487 printf "%s\n" "$ac_cv_cflags__Werror" >&6; }
19488 if test "x$ac_cv_cflags__Werror" = xyes
19489 then :
19490 EXTRACFLAGS="$EXTRACFLAGS -Werror"
19493 if test "x$enable_build_id" = "xyes"
19494 then
19495 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--build-id" >&5
19496 printf %s "checking whether the compiler supports -Wl,--build-id... " >&6; }
19497 if test ${ac_cv_cflags__Wl___build_id+y}
19498 then :
19499 printf %s "(cached) " >&6
19500 else $as_nop
19501 ac_wine_try_cflags_saved=$CFLAGS
19502 CFLAGS="$CFLAGS -Wl,--build-id"
19503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19504 /* end confdefs.h. */
19505 int main(int argc, char **argv) { return 0; }
19506 _ACEOF
19507 if ac_fn_c_try_link "$LINENO"
19508 then :
19509 ac_cv_cflags__Wl___build_id=yes
19510 else $as_nop
19511 ac_cv_cflags__Wl___build_id=no
19513 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19514 conftest$ac_exeext conftest.$ac_ext
19515 CFLAGS=$ac_wine_try_cflags_saved
19517 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___build_id" >&5
19518 printf "%s\n" "$ac_cv_cflags__Wl___build_id" >&6; }
19519 if test "x$ac_cv_cflags__Wl___build_id" = xyes
19520 then :
19521 CFLAGS="$CFLAGS -Wl,--build-id"
19522 LDFLAGS="$LDFLAGS -Wl,--build-id"
19528 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
19529 printf %s "checking for the need to disable Fortify... " >&6; }
19530 if test ${ac_cv_c_fortify_enabled+y}
19531 then :
19532 printf %s "(cached) " >&6
19533 else $as_nop
19534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19535 /* end confdefs.h. */
19536 #include <string.h>
19538 main (void)
19540 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
19541 #error Fortify enabled
19542 #endif
19544 return 0;
19546 _ACEOF
19547 if ac_fn_c_try_compile "$LINENO"
19548 then :
19549 ac_cv_c_fortify_enabled=no
19550 else $as_nop
19551 ac_cv_c_fortify_enabled=yes
19553 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19555 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
19556 printf "%s\n" "$ac_cv_c_fortify_enabled" >&6; }
19557 if test "$ac_cv_c_fortify_enabled" = yes
19558 then
19559 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
19563 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
19564 printf %s "checking whether CFI directives are supported in assembly code... " >&6; }
19565 if test ${ac_cv_c_cfi_support+y}
19566 then :
19567 printf %s "(cached) " >&6
19568 else $as_nop
19569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19570 /* end confdefs.h. */
19571 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
19573 main (void)
19577 return 0;
19579 _ACEOF
19580 if ac_fn_c_try_compile "$LINENO"
19581 then :
19582 ac_cv_c_cfi_support="yes"
19583 else $as_nop
19584 ac_cv_c_cfi_support="no"
19586 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19588 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
19589 printf "%s\n" "$ac_cv_c_cfi_support" >&6; }
19590 if test "$ac_cv_c_cfi_support" = "yes"
19591 then
19592 DLLFLAGS="$DLLFLAGS -fasynchronous-unwind-tables"
19593 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
19594 UNIXDLLFLAGS="$UNIXDLLFLAGS -fasynchronous-unwind-tables"
19595 elif test $HOST_ARCH = x86_64
19596 then
19597 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
19601 case $host_os in
19602 linux*)
19603 case $host_cpu in
19604 *i[3456789]86*|x86_64*|*aarch64*|arm*)
19605 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine-preloader"
19606 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
19608 esac
19610 esac
19613 ac_save_CFLAGS="$CFLAGS"
19614 CFLAGS="$CFLAGS $BUILTINFLAG"
19615 ac_fn_c_check_func "$LINENO" "epoll_create" "ac_cv_func_epoll_create"
19616 if test "x$ac_cv_func_epoll_create" = xyes
19617 then :
19618 printf "%s\n" "#define HAVE_EPOLL_CREATE 1" >>confdefs.h
19621 ac_fn_c_check_func "$LINENO" "fstatfs" "ac_cv_func_fstatfs"
19622 if test "x$ac_cv_func_fstatfs" = xyes
19623 then :
19624 printf "%s\n" "#define HAVE_FSTATFS 1" >>confdefs.h
19627 ac_fn_c_check_func "$LINENO" "futimens" "ac_cv_func_futimens"
19628 if test "x$ac_cv_func_futimens" = xyes
19629 then :
19630 printf "%s\n" "#define HAVE_FUTIMENS 1" >>confdefs.h
19633 ac_fn_c_check_func "$LINENO" "futimes" "ac_cv_func_futimes"
19634 if test "x$ac_cv_func_futimes" = xyes
19635 then :
19636 printf "%s\n" "#define HAVE_FUTIMES 1" >>confdefs.h
19639 ac_fn_c_check_func "$LINENO" "futimesat" "ac_cv_func_futimesat"
19640 if test "x$ac_cv_func_futimesat" = xyes
19641 then :
19642 printf "%s\n" "#define HAVE_FUTIMESAT 1" >>confdefs.h
19645 ac_fn_c_check_func "$LINENO" "getattrlist" "ac_cv_func_getattrlist"
19646 if test "x$ac_cv_func_getattrlist" = xyes
19647 then :
19648 printf "%s\n" "#define HAVE_GETATTRLIST 1" >>confdefs.h
19651 ac_fn_c_check_func "$LINENO" "getauxval" "ac_cv_func_getauxval"
19652 if test "x$ac_cv_func_getauxval" = xyes
19653 then :
19654 printf "%s\n" "#define HAVE_GETAUXVAL 1" >>confdefs.h
19657 ac_fn_c_check_func "$LINENO" "getifaddrs" "ac_cv_func_getifaddrs"
19658 if test "x$ac_cv_func_getifaddrs" = xyes
19659 then :
19660 printf "%s\n" "#define HAVE_GETIFADDRS 1" >>confdefs.h
19663 ac_fn_c_check_func "$LINENO" "getrandom" "ac_cv_func_getrandom"
19664 if test "x$ac_cv_func_getrandom" = xyes
19665 then :
19666 printf "%s\n" "#define HAVE_GETRANDOM 1" >>confdefs.h
19669 ac_fn_c_check_func "$LINENO" "kqueue" "ac_cv_func_kqueue"
19670 if test "x$ac_cv_func_kqueue" = xyes
19671 then :
19672 printf "%s\n" "#define HAVE_KQUEUE 1" >>confdefs.h
19675 ac_fn_c_check_func "$LINENO" "mach_continuous_time" "ac_cv_func_mach_continuous_time"
19676 if test "x$ac_cv_func_mach_continuous_time" = xyes
19677 then :
19678 printf "%s\n" "#define HAVE_MACH_CONTINUOUS_TIME 1" >>confdefs.h
19681 ac_fn_c_check_func "$LINENO" "pipe2" "ac_cv_func_pipe2"
19682 if test "x$ac_cv_func_pipe2" = xyes
19683 then :
19684 printf "%s\n" "#define HAVE_PIPE2 1" >>confdefs.h
19687 ac_fn_c_check_func "$LINENO" "port_create" "ac_cv_func_port_create"
19688 if test "x$ac_cv_func_port_create" = xyes
19689 then :
19690 printf "%s\n" "#define HAVE_PORT_CREATE 1" >>confdefs.h
19693 ac_fn_c_check_func "$LINENO" "posix_fadvise" "ac_cv_func_posix_fadvise"
19694 if test "x$ac_cv_func_posix_fadvise" = xyes
19695 then :
19696 printf "%s\n" "#define HAVE_POSIX_FADVISE 1" >>confdefs.h
19699 ac_fn_c_check_func "$LINENO" "posix_fallocate" "ac_cv_func_posix_fallocate"
19700 if test "x$ac_cv_func_posix_fallocate" = xyes
19701 then :
19702 printf "%s\n" "#define HAVE_POSIX_FALLOCATE 1" >>confdefs.h
19705 ac_fn_c_check_func "$LINENO" "prctl" "ac_cv_func_prctl"
19706 if test "x$ac_cv_func_prctl" = xyes
19707 then :
19708 printf "%s\n" "#define HAVE_PRCTL 1" >>confdefs.h
19711 ac_fn_c_check_func "$LINENO" "proc_pidinfo" "ac_cv_func_proc_pidinfo"
19712 if test "x$ac_cv_func_proc_pidinfo" = xyes
19713 then :
19714 printf "%s\n" "#define HAVE_PROC_PIDINFO 1" >>confdefs.h
19717 ac_fn_c_check_func "$LINENO" "sched_yield" "ac_cv_func_sched_yield"
19718 if test "x$ac_cv_func_sched_yield" = xyes
19719 then :
19720 printf "%s\n" "#define HAVE_SCHED_YIELD 1" >>confdefs.h
19723 ac_fn_c_check_func "$LINENO" "setproctitle" "ac_cv_func_setproctitle"
19724 if test "x$ac_cv_func_setproctitle" = xyes
19725 then :
19726 printf "%s\n" "#define HAVE_SETPROCTITLE 1" >>confdefs.h
19729 ac_fn_c_check_func "$LINENO" "setprogname" "ac_cv_func_setprogname"
19730 if test "x$ac_cv_func_setprogname" = xyes
19731 then :
19732 printf "%s\n" "#define HAVE_SETPROGNAME 1" >>confdefs.h
19735 ac_fn_c_check_func "$LINENO" "sigprocmask" "ac_cv_func_sigprocmask"
19736 if test "x$ac_cv_func_sigprocmask" = xyes
19737 then :
19738 printf "%s\n" "#define HAVE_SIGPROCMASK 1" >>confdefs.h
19741 ac_fn_c_check_func "$LINENO" "sysinfo" "ac_cv_func_sysinfo"
19742 if test "x$ac_cv_func_sysinfo" = xyes
19743 then :
19744 printf "%s\n" "#define HAVE_SYSINFO 1" >>confdefs.h
19747 ac_fn_c_check_func "$LINENO" "tcdrain" "ac_cv_func_tcdrain"
19748 if test "x$ac_cv_func_tcdrain" = xyes
19749 then :
19750 printf "%s\n" "#define HAVE_TCDRAIN 1" >>confdefs.h
19753 ac_fn_c_check_func "$LINENO" "thr_kill2" "ac_cv_func_thr_kill2"
19754 if test "x$ac_cv_func_thr_kill2" = xyes
19755 then :
19756 printf "%s\n" "#define HAVE_THR_KILL2 1" >>confdefs.h
19760 CFLAGS="$ac_save_CFLAGS"
19762 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
19763 printf %s "checking for library containing dlopen... " >&6; }
19764 if test ${ac_cv_search_dlopen+y}
19765 then :
19766 printf %s "(cached) " >&6
19767 else $as_nop
19768 ac_func_search_save_LIBS=$LIBS
19769 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19770 /* end confdefs.h. */
19772 /* Override any GCC internal prototype to avoid an error.
19773 Use char because int might match the return type of a GCC
19774 builtin and then its argument prototype would still apply. */
19775 char dlopen ();
19777 main (void)
19779 return dlopen ();
19781 return 0;
19783 _ACEOF
19784 for ac_lib in '' dl
19786 if test -z "$ac_lib"; then
19787 ac_res="none required"
19788 else
19789 ac_res=-l$ac_lib
19790 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19792 if ac_fn_c_try_link "$LINENO"
19793 then :
19794 ac_cv_search_dlopen=$ac_res
19796 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19797 conftest$ac_exeext
19798 if test ${ac_cv_search_dlopen+y}
19799 then :
19800 break
19802 done
19803 if test ${ac_cv_search_dlopen+y}
19804 then :
19806 else $as_nop
19807 ac_cv_search_dlopen=no
19809 rm conftest.$ac_ext
19810 LIBS=$ac_func_search_save_LIBS
19812 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
19813 printf "%s\n" "$ac_cv_search_dlopen" >&6; }
19814 ac_res=$ac_cv_search_dlopen
19815 if test "$ac_res" != no
19816 then :
19817 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19821 ac_wine_check_funcs_save_LIBS="$LIBS"
19822 LIBS="$LIBS $DL_LIBS"
19823 ac_fn_c_check_func "$LINENO" "dlinfo" "ac_cv_func_dlinfo"
19824 if test "x$ac_cv_func_dlinfo" = xyes
19825 then :
19826 printf "%s\n" "#define HAVE_DLINFO 1" >>confdefs.h
19830 LIBS="$ac_wine_check_funcs_save_LIBS"
19832 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
19833 printf %s "checking for library containing gethostbyname... " >&6; }
19834 if test ${ac_cv_search_gethostbyname+y}
19835 then :
19836 printf %s "(cached) " >&6
19837 else $as_nop
19838 ac_func_search_save_LIBS=$LIBS
19839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19840 /* end confdefs.h. */
19842 /* Override any GCC internal prototype to avoid an error.
19843 Use char because int might match the return type of a GCC
19844 builtin and then its argument prototype would still apply. */
19845 char gethostbyname ();
19847 main (void)
19849 return gethostbyname ();
19851 return 0;
19853 _ACEOF
19854 for ac_lib in '' nsl
19856 if test -z "$ac_lib"; then
19857 ac_res="none required"
19858 else
19859 ac_res=-l$ac_lib
19860 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19862 if ac_fn_c_try_link "$LINENO"
19863 then :
19864 ac_cv_search_gethostbyname=$ac_res
19866 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19867 conftest$ac_exeext
19868 if test ${ac_cv_search_gethostbyname+y}
19869 then :
19870 break
19872 done
19873 if test ${ac_cv_search_gethostbyname+y}
19874 then :
19876 else $as_nop
19877 ac_cv_search_gethostbyname=no
19879 rm conftest.$ac_ext
19880 LIBS=$ac_func_search_save_LIBS
19882 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
19883 printf "%s\n" "$ac_cv_search_gethostbyname" >&6; }
19884 ac_res=$ac_cv_search_gethostbyname
19885 if test "$ac_res" != no
19886 then :
19887 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19892 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
19893 printf %s "checking for library containing connect... " >&6; }
19894 if test ${ac_cv_search_connect+y}
19895 then :
19896 printf %s "(cached) " >&6
19897 else $as_nop
19898 ac_func_search_save_LIBS=$LIBS
19899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19900 /* end confdefs.h. */
19902 /* Override any GCC internal prototype to avoid an error.
19903 Use char because int might match the return type of a GCC
19904 builtin and then its argument prototype would still apply. */
19905 char connect ();
19907 main (void)
19909 return connect ();
19911 return 0;
19913 _ACEOF
19914 for ac_lib in '' socket
19916 if test -z "$ac_lib"; then
19917 ac_res="none required"
19918 else
19919 ac_res=-l$ac_lib
19920 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19922 if ac_fn_c_try_link "$LINENO"
19923 then :
19924 ac_cv_search_connect=$ac_res
19926 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19927 conftest$ac_exeext
19928 if test ${ac_cv_search_connect+y}
19929 then :
19930 break
19932 done
19933 if test ${ac_cv_search_connect+y}
19934 then :
19936 else $as_nop
19937 ac_cv_search_connect=no
19939 rm conftest.$ac_ext
19940 LIBS=$ac_func_search_save_LIBS
19942 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
19943 printf "%s\n" "$ac_cv_search_connect" >&6; }
19944 ac_res=$ac_cv_search_connect
19945 if test "$ac_res" != no
19946 then :
19947 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19952 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
19953 printf %s "checking for library containing inet_aton... " >&6; }
19954 if test ${ac_cv_search_inet_aton+y}
19955 then :
19956 printf %s "(cached) " >&6
19957 else $as_nop
19958 ac_func_search_save_LIBS=$LIBS
19959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19960 /* end confdefs.h. */
19962 /* Override any GCC internal prototype to avoid an error.
19963 Use char because int might match the return type of a GCC
19964 builtin and then its argument prototype would still apply. */
19965 char inet_aton ();
19967 main (void)
19969 return inet_aton ();
19971 return 0;
19973 _ACEOF
19974 for ac_lib in '' resolv
19976 if test -z "$ac_lib"; then
19977 ac_res="none required"
19978 else
19979 ac_res=-l$ac_lib
19980 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19982 if ac_fn_c_try_link "$LINENO"
19983 then :
19984 ac_cv_search_inet_aton=$ac_res
19986 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19987 conftest$ac_exeext
19988 if test ${ac_cv_search_inet_aton+y}
19989 then :
19990 break
19992 done
19993 if test ${ac_cv_search_inet_aton+y}
19994 then :
19996 else $as_nop
19997 ac_cv_search_inet_aton=no
19999 rm conftest.$ac_ext
20000 LIBS=$ac_func_search_save_LIBS
20002 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
20003 printf "%s\n" "$ac_cv_search_inet_aton" >&6; }
20004 ac_res=$ac_cv_search_inet_aton
20005 if test "$ac_res" != no
20006 then :
20007 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20012 ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
20013 if test "x$ac_cv_func_getaddrinfo" = xyes
20014 then :
20015 printf "%s\n" "#define HAVE_GETADDRINFO 1" >>confdefs.h
20020 case $host_os in
20021 darwin*|macosx*) ;;
20022 *) ac_save_LIBS=$LIBS
20023 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20024 printf %s "checking for library containing clock_gettime... " >&6; }
20025 if test ${ac_cv_search_clock_gettime+y}
20026 then :
20027 printf %s "(cached) " >&6
20028 else $as_nop
20029 ac_func_search_save_LIBS=$LIBS
20030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20031 /* end confdefs.h. */
20033 /* Override any GCC internal prototype to avoid an error.
20034 Use char because int might match the return type of a GCC
20035 builtin and then its argument prototype would still apply. */
20036 char clock_gettime ();
20038 main (void)
20040 return clock_gettime ();
20042 return 0;
20044 _ACEOF
20045 for ac_lib in '' rt
20047 if test -z "$ac_lib"; then
20048 ac_res="none required"
20049 else
20050 ac_res=-l$ac_lib
20051 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20053 if ac_fn_c_try_link "$LINENO"
20054 then :
20055 ac_cv_search_clock_gettime=$ac_res
20057 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20058 conftest$ac_exeext
20059 if test ${ac_cv_search_clock_gettime+y}
20060 then :
20061 break
20063 done
20064 if test ${ac_cv_search_clock_gettime+y}
20065 then :
20067 else $as_nop
20068 ac_cv_search_clock_gettime=no
20070 rm conftest.$ac_ext
20071 LIBS=$ac_func_search_save_LIBS
20073 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20074 printf "%s\n" "$ac_cv_search_clock_gettime" >&6; }
20075 ac_res=$ac_cv_search_clock_gettime
20076 if test "$ac_res" != no
20077 then :
20078 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20080 printf "%s\n" "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
20082 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
20086 LIBS=$ac_save_LIBS
20088 esac
20090 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
20091 printf %s "checking for sched_setaffinity... " >&6; }
20092 if test ${wine_cv_have_sched_setaffinity+y}
20093 then :
20094 printf %s "(cached) " >&6
20095 else $as_nop
20096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20097 /* end confdefs.h. */
20098 #include <sched.h>
20100 main (void)
20102 sched_setaffinity(0, 0, 0);
20104 return 0;
20106 _ACEOF
20107 if ac_fn_c_try_link "$LINENO"
20108 then :
20109 wine_cv_have_sched_setaffinity=yes
20110 else $as_nop
20111 wine_cv_have_sched_setaffinity=no
20113 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20114 conftest$ac_exeext conftest.$ac_ext
20116 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
20117 printf "%s\n" "$wine_cv_have_sched_setaffinity" >&6; }
20118 if test "$wine_cv_have_sched_setaffinity" = "yes"
20119 then
20121 printf "%s\n" "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
20126 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
20127 printf %s "checking for inline... " >&6; }
20128 if test ${ac_cv_c_inline+y}
20129 then :
20130 printf %s "(cached) " >&6
20131 else $as_nop
20132 ac_cv_c_inline=no
20133 for ac_kw in inline __inline__ __inline; do
20134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20135 /* end confdefs.h. */
20136 #ifndef __cplusplus
20137 typedef int foo_t;
20138 static $ac_kw foo_t static_foo (void) {return 0; }
20139 $ac_kw foo_t foo (void) {return 0; }
20140 #endif
20142 _ACEOF
20143 if ac_fn_c_try_compile "$LINENO"
20144 then :
20145 ac_cv_c_inline=$ac_kw
20147 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
20148 test "$ac_cv_c_inline" != no && break
20149 done
20152 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
20153 printf "%s\n" "$ac_cv_c_inline" >&6; }
20155 case $ac_cv_c_inline in
20156 inline | yes) ;;
20158 case $ac_cv_c_inline in
20159 no) ac_val=;;
20160 *) ac_val=$ac_cv_c_inline;;
20161 esac
20162 cat >>confdefs.h <<_ACEOF
20163 #ifndef __cplusplus
20164 #define inline $ac_val
20165 #endif
20166 _ACEOF
20168 esac
20170 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
20171 #include <signal.h>
20173 if test "x$ac_cv_type_sigset_t" = xyes
20174 then :
20176 printf "%s\n" "#define HAVE_SIGSET_T 1" >>confdefs.h
20181 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
20183 if test "x$ac_cv_type_request_sense" = xyes
20184 then :
20186 printf "%s\n" "#define HAVE_REQUEST_SENSE 1" >>confdefs.h
20192 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
20193 #include <sys/socket.h>
20194 #ifdef HAVE_SYS_SOCKETVAR_H
20195 #include <sys/socketvar.h>
20196 #endif
20197 #ifdef HAVE_NET_ROUTE_H
20198 #include <net/route.h>
20199 #endif
20200 #ifdef HAVE_NETINET_IN_H
20201 #include <netinet/in.h>
20202 #endif
20203 #ifdef HAVE_NETINET_IN_SYSTM_H
20204 #include <netinet/in_systm.h>
20205 #endif
20206 #ifdef HAVE_NETINET_IP_H
20207 #include <netinet/ip.h>
20208 #endif
20209 #ifdef HAVE_NETINET_IN_PCB_H
20210 #include <netinet/in_pcb.h>
20211 #endif
20213 if test "x$ac_cv_type_struct_xinpgen" = xyes
20214 then :
20216 printf "%s\n" "#define HAVE_STRUCT_XINPGEN 1" >>confdefs.h
20222 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
20223 printf %s "checking for sigaddset... " >&6; }
20224 if test ${wine_cv_have_sigaddset+y}
20225 then :
20226 printf %s "(cached) " >&6
20227 else $as_nop
20228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20229 /* end confdefs.h. */
20230 #include <signal.h>
20232 main (void)
20234 sigset_t set; sigaddset(&set,SIGTERM);
20236 return 0;
20238 _ACEOF
20239 if ac_fn_c_try_link "$LINENO"
20240 then :
20241 wine_cv_have_sigaddset=yes
20242 else $as_nop
20243 wine_cv_have_sigaddset=no
20245 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20246 conftest$ac_exeext conftest.$ac_ext
20248 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
20249 printf "%s\n" "$wine_cv_have_sigaddset" >&6; }
20250 if test "$wine_cv_have_sigaddset" = "yes"
20251 then
20253 printf "%s\n" "#define HAVE_SIGADDSET 1" >>confdefs.h
20258 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
20259 printf %s "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
20260 if test ${wine_cv_linux_gethostbyname_r_6+y}
20261 then :
20262 printf %s "(cached) " >&6
20263 else $as_nop
20264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20265 /* end confdefs.h. */
20266 #include <netdb.h>
20268 main (void)
20271 char *name=0;
20272 struct hostent he;
20273 struct hostent *result;
20274 char *buf=0;
20275 int bufsize=0;
20276 int errnr;
20277 char *addr=0;
20278 int addrlen=0;
20279 int addrtype=0;
20280 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
20281 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
20284 return 0;
20286 _ACEOF
20287 if ac_fn_c_try_link "$LINENO"
20288 then :
20289 wine_cv_linux_gethostbyname_r_6=yes
20290 else $as_nop
20291 wine_cv_linux_gethostbyname_r_6=no
20294 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20295 conftest$ac_exeext conftest.$ac_ext
20298 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
20299 printf "%s\n" "$wine_cv_linux_gethostbyname_r_6" >&6; }
20300 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
20301 then
20303 printf "%s\n" "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
20307 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
20308 #include <sys/socket.h>
20309 #ifdef HAVE_SYS_UN_H
20310 # include <sys/un.h>
20311 #endif
20313 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
20314 then :
20316 printf "%s\n" "#define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1" >>confdefs.h
20320 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
20321 #include <sys/socket.h>
20322 #ifdef HAVE_SYS_UN_H
20323 # include <sys/un.h>
20324 #endif
20326 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
20327 then :
20329 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1" >>confdefs.h
20335 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
20336 #ifdef HAVE_SCSI_SG_H
20337 #include <scsi/sg.h>
20338 #endif
20340 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
20341 then :
20343 printf "%s\n" "#define HAVE_SCSIREQ_T_CMD 1" >>confdefs.h
20347 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>
20348 #ifdef HAVE_SCSI_SG_H
20349 #include <scsi/sg.h>
20350 #endif
20352 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
20353 then :
20355 printf "%s\n" "#define HAVE_SG_IO_HDR_T_INTERFACE_ID 1" >>confdefs.h
20361 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
20363 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
20364 then :
20366 printf "%s\n" "#define HAVE_SIGINFO_T_SI_FD 1" >>confdefs.h
20372 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
20373 #ifdef HAVE_SYS_MTIO_H
20374 #include <sys/mtio.h>
20375 #endif
20377 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
20378 then :
20380 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKSIZ 1" >>confdefs.h
20384 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
20385 #ifdef HAVE_SYS_MTIO_H
20386 #include <sys/mtio.h>
20387 #endif
20389 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
20390 then :
20392 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_GSTAT 1" >>confdefs.h
20396 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
20397 #ifdef HAVE_SYS_MTIO_H
20398 #include <sys/mtio.h>
20399 #endif
20401 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
20402 then :
20404 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKNO 1" >>confdefs.h
20410 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
20411 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
20412 then :
20414 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIM 1" >>confdefs.h
20418 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
20419 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
20420 then :
20422 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIMESPEC 1" >>confdefs.h
20426 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
20427 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
20428 then :
20430 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIM 1" >>confdefs.h
20434 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
20435 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
20436 then :
20438 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIMESPEC 1" >>confdefs.h
20442 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
20443 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
20444 then :
20446 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIM 1" >>confdefs.h
20450 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
20451 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
20452 then :
20454 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIMESPEC 1" >>confdefs.h
20458 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
20459 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
20460 then :
20462 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIME 1" >>confdefs.h
20466 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
20467 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
20468 then :
20470 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIM 1" >>confdefs.h
20474 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
20475 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
20476 then :
20478 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1" >>confdefs.h
20482 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
20483 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
20484 then :
20486 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIME 1" >>confdefs.h
20490 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
20491 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
20492 then :
20494 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIM 1" >>confdefs.h
20500 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>
20501 #ifdef HAVE_NETINET_IN_H
20502 #include <netinet/in.h>
20503 #endif
20505 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
20506 then :
20508 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1" >>confdefs.h
20514 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
20515 #include <resolv.h>
20516 #endif
20518 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
20519 then :
20521 printf "%s\n" "#define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1" >>confdefs.h
20527 ac_fn_c_check_member "$LINENO" "struct in6_pktinfo" "ipi6_addr" "ac_cv_member_struct_in6_pktinfo_ipi6_addr" "#ifdef HAVE_NETINET_IN_H
20528 #include <netinet/in.h>
20529 #endif
20531 if test "x$ac_cv_member_struct_in6_pktinfo_ipi6_addr" = xyes
20532 then :
20534 printf "%s\n" "#define HAVE_STRUCT_IN6_PKTINFO_IPI6_ADDR 1" >>confdefs.h
20540 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#include <sys/types.h>
20541 #ifdef HAVE_SYS_SOCKETVAR_H
20542 #include <sys/socketvar.h>
20543 #endif
20544 #ifdef HAVE_NETINET_IN_H
20545 #include <netinet/in.h>
20546 #endif
20547 #ifdef HAVE_NETINET_IP_VAR_H
20548 #include <netinet/ip_var.h>
20549 #endif
20551 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
20552 then :
20554 printf "%s\n" "#define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1" >>confdefs.h
20560 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
20561 #include <netinet/ip_var.h>
20562 #endif
20564 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
20565 then :
20567 printf "%s\n" "#define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1" >>confdefs.h
20573 ac_fn_c_check_member "$LINENO" "struct ip6stat" "ip6s_total" "ac_cv_member_struct_ip6stat_ip6s_total" "#include <sys/types.h>
20574 #ifdef HAVE_SYS_SOCKETVAR_H
20575 #include <sys/socketvar.h>
20576 #endif
20577 #ifdef HAVE_NETINET_IN_H
20578 #include <netinet/in.h>
20579 #endif
20580 #ifdef HAVE_NETINET6_IP6_VAR_H
20581 #include <netinet6/ip6_var.h>
20582 #endif
20584 if test "x$ac_cv_member_struct_ip6stat_ip6s_total" = xyes
20585 then :
20587 printf "%s\n" "#define HAVE_STRUCT_IP6STAT_IP6S_TOTAL 1" >>confdefs.h
20593 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_error" "ac_cv_member_struct_icmpstat_icps_error" "#include <sys/types.h>
20594 #ifdef HAVE_SYS_SOCKETVAR_H
20595 #include <sys/socketvar.h>
20596 #endif
20597 #ifdef HAVE_NETINET_IN_H
20598 #include <netinet/in.h>
20599 #endif
20600 #ifdef HAVE_NETINET_IP_H
20601 #include <netinet/ip.h>
20602 #endif
20603 #ifdef HAVE_NETINET_IP_ICMP_H
20604 #include <netinet/ip_icmp.h>
20605 #endif
20606 #ifdef HAVE_NETINET_ICMP_VAR_H
20607 #include <netinet/icmp_var.h>
20608 #endif
20610 if test "x$ac_cv_member_struct_icmpstat_icps_error" = xyes
20611 then :
20613 printf "%s\n" "#define HAVE_STRUCT_ICMPSTAT_ICPS_ERROR 1" >>confdefs.h
20619 ac_fn_c_check_member "$LINENO" "struct icmp6stat" "icp6s_error" "ac_cv_member_struct_icmp6stat_icp6s_error" "#include <sys/types.h>
20620 #ifdef HAVE_SYS_SOCKETVAR_H
20621 #include <sys/socketvar.h>
20622 #endif
20623 #ifdef HAVE_NETINET_IN_H
20624 #include <netinet/in.h>
20625 #endif
20626 #ifdef HAVE_NETINET_ICMP6_H
20627 #include <netinet/icmp6.h>
20628 #endif
20630 if test "x$ac_cv_member_struct_icmp6stat_icp6s_error" = xyes
20631 then :
20633 printf "%s\n" "#define HAVE_STRUCT_ICMP6STAT_ICP6S_ERROR 1" >>confdefs.h
20639 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#include <sys/types.h>
20640 #ifdef HAVE_SYS_SOCKETVAR_H
20641 #include <sys/socketvar.h>
20642 #endif
20643 #ifdef HAVE_NETINET_IN_H
20644 #include <netinet/in.h>
20645 #endif
20646 #ifdef HAVE_NETINET_TCP_H
20647 #include <netinet/tcp.h>
20648 #endif
20649 #ifdef HAVE_NETINET_TCP_VAR_H
20650 #include <netinet/tcp_var.h>
20651 #endif
20653 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
20654 then :
20656 printf "%s\n" "#define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1" >>confdefs.h
20662 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
20663 #include <netinet/tcp_var.h>
20664 #endif
20666 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
20667 then :
20669 printf "%s\n" "#define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1" >>confdefs.h
20675 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#include <sys/types.h>
20676 #ifdef HAVE_NETINET_IN_H
20677 #include <netinet/in.h>
20678 #endif
20679 #ifdef HAVE_NETINET_IP_VAR_H
20680 #include <netinet/ip_var.h>
20681 #endif
20682 #ifdef HAVE_NETINET_UDP_H
20683 #include <netinet/udp.h>
20684 #endif
20685 #ifdef HAVE_NETINET_UDP_VAR_H
20686 #include <netinet/udp_var.h>
20687 #endif
20689 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
20690 then :
20692 printf "%s\n" "#define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1" >>confdefs.h
20698 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#include <sys/types.h>
20699 #ifdef HAVE_NET_IF_H
20700 # include <net/if.h>
20701 #endif
20703 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
20704 then :
20706 printf "%s\n" "#define HAVE_STRUCT_IFREQ_IFR_HWADDR 1" >>confdefs.h
20712 ac_fn_c_check_member "$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
20713 # include <sys/sysinfo.h>
20714 #endif
20716 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes
20717 then :
20719 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_TOTALRAM 1" >>confdefs.h
20723 ac_fn_c_check_member "$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
20724 # include <sys/sysinfo.h>
20725 #endif
20727 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes
20728 then :
20730 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_MEM_UNIT 1" >>confdefs.h
20736 LIBS="$ac_save_LIBS"
20738 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
20739 printf %s "checking for __builtin_popcount... " >&6; }
20740 if test ${ac_cv_have___builtin_popcount+y}
20741 then :
20742 printf %s "(cached) " >&6
20743 else $as_nop
20744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20745 /* end confdefs.h. */
20748 main (void)
20750 return __builtin_popcount(1)
20752 return 0;
20754 _ACEOF
20755 if ac_fn_c_try_link "$LINENO"
20756 then :
20757 ac_cv_have___builtin_popcount="yes"
20758 else $as_nop
20759 ac_cv_have___builtin_popcount="no"
20761 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20762 conftest$ac_exeext conftest.$ac_ext
20764 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
20765 printf "%s\n" "$ac_cv_have___builtin_popcount" >&6; }
20766 if test "$ac_cv_have___builtin_popcount" = "yes"
20767 then
20769 printf "%s\n" "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
20773 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
20774 printf %s "checking for __clear_cache... " >&6; }
20775 if test ${ac_cv_have___clear_cache+y}
20776 then :
20777 printf %s "(cached) " >&6
20778 else $as_nop
20779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20780 /* end confdefs.h. */
20783 main (void)
20785 __clear_cache((void*)0, (void*)0); return 0;
20787 return 0;
20789 _ACEOF
20790 if ac_fn_c_try_link "$LINENO"
20791 then :
20792 ac_cv_have___clear_cache="yes"
20793 else $as_nop
20794 ac_cv_have___clear_cache="no"
20796 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20797 conftest$ac_exeext conftest.$ac_ext
20799 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
20800 printf "%s\n" "$ac_cv_have___clear_cache" >&6; }
20801 if test "$ac_cv_have___clear_cache" = "yes"
20802 then
20804 printf "%s\n" "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
20809 case $host_cpu in
20810 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
20811 printf %s "checking whether we need to define __i386__... " >&6; }
20812 if test ${ac_cv_cpp_def___i386__+y}
20813 then :
20814 printf %s "(cached) " >&6
20815 else $as_nop
20816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20817 /* end confdefs.h. */
20818 #ifndef __i386__
20820 #endif
20821 _ACEOF
20822 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20823 $EGREP "yes" >/dev/null 2>&1
20824 then :
20825 ac_cv_cpp_def___i386__=yes
20826 else $as_nop
20827 ac_cv_cpp_def___i386__=no
20829 rm -rf conftest*
20832 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
20833 printf "%s\n" "$ac_cv_cpp_def___i386__" >&6; }
20834 if test "x$ac_cv_cpp_def___i386__" = xyes
20835 then :
20836 CFLAGS="$CFLAGS -D__i386__"
20837 LINTFLAGS="$LINTFLAGS -D__i386__"
20838 fi ;;
20839 *x86_64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
20840 printf %s "checking whether we need to define __x86_64__... " >&6; }
20841 if test ${ac_cv_cpp_def___x86_64__+y}
20842 then :
20843 printf %s "(cached) " >&6
20844 else $as_nop
20845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20846 /* end confdefs.h. */
20847 #ifndef __x86_64__
20849 #endif
20850 _ACEOF
20851 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20852 $EGREP "yes" >/dev/null 2>&1
20853 then :
20854 ac_cv_cpp_def___x86_64__=yes
20855 else $as_nop
20856 ac_cv_cpp_def___x86_64__=no
20858 rm -rf conftest*
20861 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
20862 printf "%s\n" "$ac_cv_cpp_def___x86_64__" >&6; }
20863 if test "x$ac_cv_cpp_def___x86_64__" = xyes
20864 then :
20865 CFLAGS="$CFLAGS -D__x86_64__"
20866 LINTFLAGS="$LINTFLAGS -D__x86_64__"
20867 fi ;;
20868 *sparc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
20869 printf %s "checking whether we need to define __sparc64__... " >&6; }
20870 if test ${ac_cv_cpp_def___sparc64__+y}
20871 then :
20872 printf %s "(cached) " >&6
20873 else $as_nop
20874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20875 /* end confdefs.h. */
20876 #ifndef __sparc64__
20878 #endif
20879 _ACEOF
20880 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20881 $EGREP "yes" >/dev/null 2>&1
20882 then :
20883 ac_cv_cpp_def___sparc64__=yes
20884 else $as_nop
20885 ac_cv_cpp_def___sparc64__=no
20887 rm -rf conftest*
20890 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
20891 printf "%s\n" "$ac_cv_cpp_def___sparc64__" >&6; }
20892 if test "x$ac_cv_cpp_def___sparc64__" = xyes
20893 then :
20894 CFLAGS="$CFLAGS -D__sparc64__"
20895 LINTFLAGS="$LINTFLAGS -D__sparc64__"
20896 fi ;;
20897 *sparc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
20898 printf %s "checking whether we need to define __sparc__... " >&6; }
20899 if test ${ac_cv_cpp_def___sparc__+y}
20900 then :
20901 printf %s "(cached) " >&6
20902 else $as_nop
20903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20904 /* end confdefs.h. */
20905 #ifndef __sparc__
20907 #endif
20908 _ACEOF
20909 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20910 $EGREP "yes" >/dev/null 2>&1
20911 then :
20912 ac_cv_cpp_def___sparc__=yes
20913 else $as_nop
20914 ac_cv_cpp_def___sparc__=no
20916 rm -rf conftest*
20919 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
20920 printf "%s\n" "$ac_cv_cpp_def___sparc__" >&6; }
20921 if test "x$ac_cv_cpp_def___sparc__" = xyes
20922 then :
20923 CFLAGS="$CFLAGS -D__sparc__"
20924 LINTFLAGS="$LINTFLAGS -D__sparc__"
20925 fi ;;
20926 *powerpc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
20927 printf %s "checking whether we need to define __powerpc64__... " >&6; }
20928 if test ${ac_cv_cpp_def___powerpc64__+y}
20929 then :
20930 printf %s "(cached) " >&6
20931 else $as_nop
20932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20933 /* end confdefs.h. */
20934 #ifndef __powerpc64__
20936 #endif
20937 _ACEOF
20938 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20939 $EGREP "yes" >/dev/null 2>&1
20940 then :
20941 ac_cv_cpp_def___powerpc64__=yes
20942 else $as_nop
20943 ac_cv_cpp_def___powerpc64__=no
20945 rm -rf conftest*
20948 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
20949 printf "%s\n" "$ac_cv_cpp_def___powerpc64__" >&6; }
20950 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
20951 then :
20952 CFLAGS="$CFLAGS -D__powerpc64__"
20953 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
20954 fi ;;
20955 *powerpc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
20956 printf %s "checking whether we need to define __powerpc__... " >&6; }
20957 if test ${ac_cv_cpp_def___powerpc__+y}
20958 then :
20959 printf %s "(cached) " >&6
20960 else $as_nop
20961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20962 /* end confdefs.h. */
20963 #ifndef __powerpc__
20965 #endif
20966 _ACEOF
20967 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20968 $EGREP "yes" >/dev/null 2>&1
20969 then :
20970 ac_cv_cpp_def___powerpc__=yes
20971 else $as_nop
20972 ac_cv_cpp_def___powerpc__=no
20974 rm -rf conftest*
20977 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
20978 printf "%s\n" "$ac_cv_cpp_def___powerpc__" >&6; }
20979 if test "x$ac_cv_cpp_def___powerpc__" = xyes
20980 then :
20981 CFLAGS="$CFLAGS -D__powerpc__"
20982 LINTFLAGS="$LINTFLAGS -D__powerpc__"
20983 fi ;;
20984 *aarch64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
20985 printf %s "checking whether we need to define __aarch64__... " >&6; }
20986 if test ${ac_cv_cpp_def___aarch64__+y}
20987 then :
20988 printf %s "(cached) " >&6
20989 else $as_nop
20990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20991 /* end confdefs.h. */
20992 #ifndef __aarch64__
20994 #endif
20995 _ACEOF
20996 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20997 $EGREP "yes" >/dev/null 2>&1
20998 then :
20999 ac_cv_cpp_def___aarch64__=yes
21000 else $as_nop
21001 ac_cv_cpp_def___aarch64__=no
21003 rm -rf conftest*
21006 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
21007 printf "%s\n" "$ac_cv_cpp_def___aarch64__" >&6; }
21008 if test "x$ac_cv_cpp_def___aarch64__" = xyes
21009 then :
21010 CFLAGS="$CFLAGS -D__aarch64__"
21011 LINTFLAGS="$LINTFLAGS -D__aarch64__"
21012 fi ;;
21013 *arm*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
21014 printf %s "checking whether we need to define __arm__... " >&6; }
21015 if test ${ac_cv_cpp_def___arm__+y}
21016 then :
21017 printf %s "(cached) " >&6
21018 else $as_nop
21019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21020 /* end confdefs.h. */
21021 #ifndef __arm__
21023 #endif
21024 _ACEOF
21025 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21026 $EGREP "yes" >/dev/null 2>&1
21027 then :
21028 ac_cv_cpp_def___arm__=yes
21029 else $as_nop
21030 ac_cv_cpp_def___arm__=no
21032 rm -rf conftest*
21035 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
21036 printf "%s\n" "$ac_cv_cpp_def___arm__" >&6; }
21037 if test "x$ac_cv_cpp_def___arm__" = xyes
21038 then :
21039 CFLAGS="$CFLAGS -D__arm__"
21040 LINTFLAGS="$LINTFLAGS -D__arm__"
21041 fi ;;
21042 esac
21044 case $host_vendor in
21045 *sun*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
21046 printf %s "checking whether we need to define __sun__... " >&6; }
21047 if test ${ac_cv_cpp_def___sun__+y}
21048 then :
21049 printf %s "(cached) " >&6
21050 else $as_nop
21051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21052 /* end confdefs.h. */
21053 #ifndef __sun__
21055 #endif
21056 _ACEOF
21057 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21058 $EGREP "yes" >/dev/null 2>&1
21059 then :
21060 ac_cv_cpp_def___sun__=yes
21061 else $as_nop
21062 ac_cv_cpp_def___sun__=no
21064 rm -rf conftest*
21067 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
21068 printf "%s\n" "$ac_cv_cpp_def___sun__" >&6; }
21069 if test "x$ac_cv_cpp_def___sun__" = xyes
21070 then :
21071 CFLAGS="$CFLAGS -D__sun__"
21072 LINTFLAGS="$LINTFLAGS -D__sun__"
21073 fi ;;
21074 esac
21080 ac_config_commands="$ac_config_commands include/stamp-h"
21082 printf %s "creating Makefile rules..." >&6
21084 makedep_flags=""
21085 test "x$enable_silent_rules" = xyes && makedep_flags="$makedep_flags -S"
21087 wine_srcdir=
21088 test "$srcdir" = . || wine_srcdir="$srcdir/"
21090 ac_config_links="$ac_config_links wine:tools/winewrapper"
21091 wine_fn_config_symlink wine
21092 if test "$HOST_ARCH" = x86_64 -o -n "$with_wine64"; then
21093 ac_config_links="$ac_config_links wine64:tools/winewrapper"
21094 wine_fn_config_symlink wine64
21097 wine_fn_config_makefile dlls/acledit enable_acledit
21098 wine_fn_config_makefile dlls/aclui enable_aclui
21099 wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
21100 wine_fn_config_makefile dlls/activeds enable_activeds
21101 wine_fn_config_makefile dlls/activeds/tests enable_tests
21102 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
21103 wine_fn_config_makefile dlls/adsldp enable_adsldp
21104 wine_fn_config_makefile dlls/adsldp/tests enable_tests
21105 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
21106 wine_fn_config_makefile dlls/advapi32 enable_advapi32
21107 wine_fn_config_makefile dlls/advapi32/tests enable_tests
21108 wine_fn_config_makefile dlls/advpack enable_advpack
21109 wine_fn_config_makefile dlls/advpack/tests enable_tests
21110 wine_fn_config_makefile dlls/amsi enable_amsi
21111 wine_fn_config_makefile dlls/amstream enable_amstream
21112 wine_fn_config_makefile dlls/amstream/tests enable_tests
21113 wine_fn_config_makefile dlls/apisetschema enable_apisetschema
21114 wine_fn_config_makefile dlls/apphelp enable_apphelp
21115 wine_fn_config_makefile dlls/apphelp/tests enable_tests
21116 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
21117 wine_fn_config_makefile dlls/atl enable_atl
21118 wine_fn_config_makefile dlls/atl/tests enable_tests
21119 wine_fn_config_makefile dlls/atl100 enable_atl100
21120 wine_fn_config_makefile dlls/atl100/tests enable_tests
21121 wine_fn_config_makefile dlls/atl110 enable_atl110
21122 wine_fn_config_makefile dlls/atl110/tests enable_tests
21123 wine_fn_config_makefile dlls/atl80 enable_atl80
21124 wine_fn_config_makefile dlls/atl80/tests enable_tests
21125 wine_fn_config_makefile dlls/atl90 enable_atl90
21126 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
21127 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
21128 wine_fn_config_makefile dlls/atmlib enable_atmlib
21129 wine_fn_config_makefile dlls/authz enable_authz
21130 wine_fn_config_makefile dlls/avicap32 enable_avicap32
21131 wine_fn_config_makefile dlls/avifil32 enable_avifil32
21132 wine_fn_config_makefile dlls/avifil32/tests enable_tests
21133 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
21134 wine_fn_config_makefile dlls/avrt enable_avrt
21135 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
21136 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
21137 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
21138 wine_fn_config_makefile dlls/browseui enable_browseui
21139 wine_fn_config_makefile dlls/browseui/tests enable_tests
21140 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
21141 wine_fn_config_makefile dlls/cabinet enable_cabinet
21142 wine_fn_config_makefile dlls/cabinet/tests enable_tests
21143 wine_fn_config_makefile dlls/capi2032 enable_capi2032
21144 wine_fn_config_makefile dlls/cards enable_cards
21145 wine_fn_config_makefile dlls/cdosys enable_cdosys
21146 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
21147 wine_fn_config_makefile dlls/clusapi enable_clusapi
21148 wine_fn_config_makefile dlls/cng.sys enable_cng_sys
21149 wine_fn_config_makefile dlls/combase enable_combase
21150 wine_fn_config_makefile dlls/combase/tests enable_tests
21151 wine_fn_config_makefile dlls/comcat enable_comcat
21152 wine_fn_config_makefile dlls/comcat/tests enable_tests
21153 wine_fn_config_makefile dlls/comctl32 enable_comctl32
21154 wine_fn_config_makefile dlls/comctl32/tests enable_tests
21155 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
21156 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
21157 wine_fn_config_makefile dlls/comm.drv16 enable_win16
21158 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
21159 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
21160 wine_fn_config_makefile dlls/compstui enable_compstui
21161 wine_fn_config_makefile dlls/compstui/tests enable_tests
21162 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
21163 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
21164 wine_fn_config_makefile dlls/concrt140 enable_concrt140
21165 wine_fn_config_makefile dlls/concrt140/tests enable_tests
21166 wine_fn_config_makefile dlls/connect enable_connect
21167 wine_fn_config_makefile dlls/credui enable_credui
21168 wine_fn_config_makefile dlls/credui/tests enable_tests
21169 wine_fn_config_makefile dlls/crtdll enable_crtdll
21170 wine_fn_config_makefile dlls/crypt32 enable_crypt32
21171 wine_fn_config_makefile dlls/crypt32/tests enable_tests
21172 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
21173 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
21174 wine_fn_config_makefile dlls/cryptext enable_cryptext
21175 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
21176 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
21177 wine_fn_config_makefile dlls/cryptowinrt enable_cryptowinrt
21178 wine_fn_config_makefile dlls/cryptsp enable_cryptsp
21179 wine_fn_config_makefile dlls/cryptui enable_cryptui
21180 wine_fn_config_makefile dlls/cryptui/tests enable_tests
21181 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
21182 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
21183 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
21184 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
21185 wine_fn_config_makefile dlls/d2d1 enable_d2d1
21186 wine_fn_config_makefile dlls/d2d1/tests enable_tests
21187 wine_fn_config_makefile dlls/d3d10 enable_d3d10
21188 wine_fn_config_makefile dlls/d3d10/tests enable_tests
21189 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
21190 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
21191 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
21192 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
21193 wine_fn_config_makefile dlls/d3d11 enable_d3d11
21194 wine_fn_config_makefile dlls/d3d11/tests enable_tests
21195 wine_fn_config_makefile dlls/d3d12 enable_d3d12
21196 wine_fn_config_makefile dlls/d3d12/tests enable_tests
21197 wine_fn_config_makefile dlls/d3d8 enable_d3d8
21198 wine_fn_config_makefile dlls/d3d8/tests enable_tests
21199 wine_fn_config_makefile dlls/d3d8thk enable_d3d8thk
21200 wine_fn_config_makefile dlls/d3d9 enable_d3d9
21201 wine_fn_config_makefile dlls/d3d9/tests enable_tests
21202 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
21203 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
21204 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
21205 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
21206 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
21207 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
21208 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
21209 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
21210 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
21211 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
21212 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
21213 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
21214 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
21215 wine_fn_config_makefile dlls/d3dcompiler_46/tests enable_tests
21216 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
21217 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
21218 wine_fn_config_makefile dlls/d3dim enable_d3dim
21219 wine_fn_config_makefile dlls/d3dim700 enable_d3dim700
21220 wine_fn_config_makefile dlls/d3drm enable_d3drm
21221 wine_fn_config_makefile dlls/d3drm/tests enable_tests
21222 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
21223 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
21224 wine_fn_config_makefile dlls/d3dx10_34/tests enable_tests
21225 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
21226 wine_fn_config_makefile dlls/d3dx10_35/tests enable_tests
21227 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
21228 wine_fn_config_makefile dlls/d3dx10_36/tests enable_tests
21229 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
21230 wine_fn_config_makefile dlls/d3dx10_37/tests enable_tests
21231 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
21232 wine_fn_config_makefile dlls/d3dx10_38/tests enable_tests
21233 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
21234 wine_fn_config_makefile dlls/d3dx10_39/tests enable_tests
21235 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
21236 wine_fn_config_makefile dlls/d3dx10_40/tests enable_tests
21237 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
21238 wine_fn_config_makefile dlls/d3dx10_41/tests enable_tests
21239 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
21240 wine_fn_config_makefile dlls/d3dx10_42/tests enable_tests
21241 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
21242 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
21243 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
21244 wine_fn_config_makefile dlls/d3dx11_42/tests enable_tests
21245 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
21246 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
21247 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
21248 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
21249 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
21250 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
21251 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
21252 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
21253 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
21254 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
21255 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
21256 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
21257 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
21258 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
21259 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
21260 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
21261 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
21262 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
21263 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
21264 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
21265 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
21266 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
21267 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
21268 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
21269 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
21270 wine_fn_config_makefile dlls/davclnt enable_davclnt
21271 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
21272 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
21273 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
21274 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
21275 wine_fn_config_makefile dlls/dciman32 enable_dciman32
21276 wine_fn_config_makefile dlls/dcomp enable_dcomp
21277 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
21278 wine_fn_config_makefile dlls/ddraw enable_ddraw
21279 wine_fn_config_makefile dlls/ddraw/tests enable_tests
21280 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
21281 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
21282 wine_fn_config_makefile dlls/devenum enable_devenum
21283 wine_fn_config_makefile dlls/devenum/tests enable_tests
21284 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
21285 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
21286 wine_fn_config_makefile dlls/dhcpcsvc6 enable_dhcpcsvc6
21287 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
21288 wine_fn_config_makefile dlls/diasymreader enable_diasymreader
21289 wine_fn_config_makefile dlls/difxapi enable_difxapi
21290 wine_fn_config_makefile dlls/dinput enable_dinput
21291 wine_fn_config_makefile dlls/dinput/tests enable_tests
21292 wine_fn_config_makefile dlls/dinput8 enable_dinput8
21293 wine_fn_config_makefile dlls/directmanipulation enable_directmanipulation
21294 wine_fn_config_makefile dlls/directmanipulation/tests enable_tests
21295 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
21296 wine_fn_config_makefile dlls/dispex enable_dispex
21297 wine_fn_config_makefile dlls/dispex/tests enable_tests
21298 wine_fn_config_makefile dlls/display.drv16 enable_win16
21299 wine_fn_config_makefile dlls/dmband enable_dmband
21300 wine_fn_config_makefile dlls/dmband/tests enable_tests
21301 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
21302 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
21303 wine_fn_config_makefile dlls/dmime enable_dmime
21304 wine_fn_config_makefile dlls/dmime/tests enable_tests
21305 wine_fn_config_makefile dlls/dmloader enable_dmloader
21306 wine_fn_config_makefile dlls/dmloader/tests enable_tests
21307 wine_fn_config_makefile dlls/dmscript enable_dmscript
21308 wine_fn_config_makefile dlls/dmscript/tests enable_tests
21309 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
21310 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
21311 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
21312 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
21313 wine_fn_config_makefile dlls/dmusic enable_dmusic
21314 wine_fn_config_makefile dlls/dmusic/tests enable_tests
21315 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
21316 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
21317 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
21318 wine_fn_config_makefile dlls/dplay enable_dplay
21319 wine_fn_config_makefile dlls/dplayx enable_dplayx
21320 wine_fn_config_makefile dlls/dplayx/tests enable_tests
21321 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
21322 wine_fn_config_makefile dlls/dpnet enable_dpnet
21323 wine_fn_config_makefile dlls/dpnet/tests enable_tests
21324 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
21325 wine_fn_config_makefile dlls/dpnhupnp enable_dpnhupnp
21326 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
21327 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
21328 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
21329 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
21330 wine_fn_config_makefile dlls/drmclien enable_drmclien
21331 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
21332 wine_fn_config_makefile dlls/dsdmo/tests enable_tests
21333 wine_fn_config_makefile dlls/dsound enable_dsound
21334 wine_fn_config_makefile dlls/dsound/tests enable_tests
21335 wine_fn_config_makefile dlls/dsquery enable_dsquery
21336 wine_fn_config_makefile dlls/dssenh enable_dssenh
21337 wine_fn_config_makefile dlls/dssenh/tests enable_tests
21338 wine_fn_config_makefile dlls/dsuiext enable_dsuiext
21339 wine_fn_config_makefile dlls/dswave enable_dswave
21340 wine_fn_config_makefile dlls/dswave/tests enable_tests
21341 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
21342 wine_fn_config_makefile dlls/dwmapi/tests enable_tests
21343 wine_fn_config_makefile dlls/dwrite enable_dwrite
21344 wine_fn_config_makefile dlls/dwrite/tests enable_tests
21345 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
21346 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
21347 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
21348 wine_fn_config_makefile dlls/dxgi enable_dxgi
21349 wine_fn_config_makefile dlls/dxgi/tests enable_tests
21350 wine_fn_config_makefile dlls/dxtrans enable_dxtrans
21351 wine_fn_config_makefile dlls/dxva2 enable_dxva2
21352 wine_fn_config_makefile dlls/dxva2/tests enable_tests
21353 wine_fn_config_makefile dlls/esent enable_esent
21354 wine_fn_config_makefile dlls/evr enable_evr
21355 wine_fn_config_makefile dlls/evr/tests enable_tests
21356 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
21357 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
21358 wine_fn_config_makefile dlls/faultrep enable_faultrep
21359 wine_fn_config_makefile dlls/faultrep/tests enable_tests
21360 wine_fn_config_makefile dlls/feclient enable_feclient
21361 wine_fn_config_makefile dlls/fltlib enable_fltlib
21362 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
21363 wine_fn_config_makefile dlls/fntcache enable_fntcache
21364 wine_fn_config_makefile dlls/fontsub enable_fontsub
21365 wine_fn_config_makefile dlls/fusion enable_fusion
21366 wine_fn_config_makefile dlls/fusion/tests enable_tests
21367 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
21368 wine_fn_config_makefile dlls/gameux enable_gameux
21369 wine_fn_config_makefile dlls/gameux/tests enable_tests
21370 wine_fn_config_makefile dlls/gamingtcui enable_gamingtcui
21371 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
21372 wine_fn_config_makefile dlls/gdi32 enable_gdi32
21373 wine_fn_config_makefile dlls/gdi32/tests enable_tests
21374 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
21375 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
21376 wine_fn_config_makefile dlls/glu32 enable_glu32
21377 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
21378 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
21379 wine_fn_config_makefile dlls/hal enable_hal
21380 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
21381 wine_fn_config_makefile dlls/hid enable_hid
21382 wine_fn_config_makefile dlls/hid/tests enable_tests
21383 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
21384 wine_fn_config_makefile dlls/hidparse.sys enable_hidparse_sys
21385 wine_fn_config_makefile dlls/hlink enable_hlink
21386 wine_fn_config_makefile dlls/hlink/tests enable_tests
21387 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
21388 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
21389 wine_fn_config_makefile dlls/http.sys enable_http_sys
21390 wine_fn_config_makefile dlls/httpapi enable_httpapi
21391 wine_fn_config_makefile dlls/httpapi/tests enable_tests
21392 wine_fn_config_makefile dlls/ia2comproxy enable_ia2comproxy
21393 wine_fn_config_makefile dlls/iccvid enable_iccvid
21394 wine_fn_config_makefile dlls/icmp enable_icmp
21395 wine_fn_config_makefile dlls/ieframe enable_ieframe
21396 wine_fn_config_makefile dlls/ieframe/tests enable_tests
21397 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
21398 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
21399 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
21400 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
21401 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
21402 wine_fn_config_makefile dlls/imm.dll16 enable_win16
21403 wine_fn_config_makefile dlls/imm32 enable_imm32
21404 wine_fn_config_makefile dlls/imm32/tests enable_tests
21405 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
21406 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
21407 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
21408 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
21409 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
21410 wine_fn_config_makefile dlls/infosoft enable_infosoft
21411 wine_fn_config_makefile dlls/infosoft/tests enable_tests
21412 wine_fn_config_makefile dlls/initpki enable_initpki
21413 wine_fn_config_makefile dlls/inkobj enable_inkobj
21414 wine_fn_config_makefile dlls/inseng enable_inseng
21415 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
21416 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
21417 wine_fn_config_makefile dlls/iprop enable_iprop
21418 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
21419 wine_fn_config_makefile dlls/itircl enable_itircl
21420 wine_fn_config_makefile dlls/itss enable_itss
21421 wine_fn_config_makefile dlls/itss/tests enable_tests
21422 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
21423 wine_fn_config_makefile dlls/jscript enable_jscript
21424 wine_fn_config_makefile dlls/jscript/tests enable_tests
21425 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
21426 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
21427 wine_fn_config_makefile dlls/kerberos enable_kerberos
21428 wine_fn_config_makefile dlls/kernel32 enable_kernel32
21429 wine_fn_config_makefile dlls/kernel32/tests enable_tests
21430 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
21431 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
21432 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
21433 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
21434 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
21435 wine_fn_config_makefile dlls/ksproxy.ax enable_ksproxy_ax
21436 wine_fn_config_makefile dlls/ksuser enable_ksuser
21437 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
21438 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
21439 wine_fn_config_makefile dlls/light.msstyles enable_light_msstyles
21440 wine_fn_config_makefile dlls/loadperf enable_loadperf
21441 wine_fn_config_makefile dlls/localspl enable_localspl
21442 wine_fn_config_makefile dlls/localspl/tests enable_tests
21443 wine_fn_config_makefile dlls/localui enable_localui
21444 wine_fn_config_makefile dlls/localui/tests enable_tests
21445 wine_fn_config_makefile dlls/lz32 enable_lz32
21446 wine_fn_config_makefile dlls/lz32/tests enable_tests
21447 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
21448 wine_fn_config_makefile dlls/mapi32 enable_mapi32
21449 wine_fn_config_makefile dlls/mapi32/tests enable_tests
21450 wine_fn_config_makefile dlls/mapistub enable_mapistub
21451 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
21452 wine_fn_config_makefile dlls/mcicda enable_mcicda
21453 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
21454 wine_fn_config_makefile dlls/mciseq enable_mciseq
21455 wine_fn_config_makefile dlls/mciwave enable_mciwave
21456 wine_fn_config_makefile dlls/mf enable_mf
21457 wine_fn_config_makefile dlls/mf/tests enable_tests
21458 wine_fn_config_makefile dlls/mf3216 enable_mf3216
21459 wine_fn_config_makefile dlls/mferror enable_mferror
21460 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
21461 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
21462 wine_fn_config_makefile dlls/mfplat enable_mfplat
21463 wine_fn_config_makefile dlls/mfplat/tests enable_tests
21464 wine_fn_config_makefile dlls/mfplay enable_mfplay
21465 wine_fn_config_makefile dlls/mfplay/tests enable_tests
21466 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
21467 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
21468 wine_fn_config_makefile dlls/mfsrcsnk enable_mfsrcsnk
21469 wine_fn_config_makefile dlls/mfsrcsnk/tests enable_tests
21470 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
21471 wine_fn_config_makefile dlls/midimap enable_midimap
21472 wine_fn_config_makefile dlls/mlang enable_mlang
21473 wine_fn_config_makefile dlls/mlang/tests enable_tests
21474 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
21475 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
21476 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
21477 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
21478 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
21479 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
21480 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
21481 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
21482 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
21483 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
21484 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
21485 wine_fn_config_makefile dlls/mpr enable_mpr
21486 wine_fn_config_makefile dlls/mpr/tests enable_tests
21487 wine_fn_config_makefile dlls/mprapi enable_mprapi
21488 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
21489 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
21490 wine_fn_config_makefile dlls/msacm32 enable_msacm32
21491 wine_fn_config_makefile dlls/msacm32/tests enable_tests
21492 wine_fn_config_makefile dlls/msado15 enable_msado15
21493 wine_fn_config_makefile dlls/msado15/tests enable_tests
21494 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
21495 wine_fn_config_makefile dlls/msasn1 enable_msasn1
21496 wine_fn_config_makefile dlls/msasn1/tests enable_tests
21497 wine_fn_config_makefile dlls/mscat32 enable_mscat32
21498 wine_fn_config_makefile dlls/mscms enable_mscms
21499 wine_fn_config_makefile dlls/mscms/tests enable_tests
21500 wine_fn_config_makefile dlls/mscoree enable_mscoree
21501 wine_fn_config_makefile dlls/mscoree/tests enable_tests
21502 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
21503 wine_fn_config_makefile dlls/msctf enable_msctf
21504 wine_fn_config_makefile dlls/msctf/tests enable_tests
21505 wine_fn_config_makefile dlls/msctfmonitor enable_msctfmonitor
21506 wine_fn_config_makefile dlls/msctfp enable_msctfp
21507 wine_fn_config_makefile dlls/msdaps enable_msdaps
21508 wine_fn_config_makefile dlls/msdasql enable_msdasql
21509 wine_fn_config_makefile dlls/msdasql/tests enable_tests
21510 wine_fn_config_makefile dlls/msdelta enable_msdelta
21511 wine_fn_config_makefile dlls/msdmo enable_msdmo
21512 wine_fn_config_makefile dlls/msdmo/tests enable_tests
21513 wine_fn_config_makefile dlls/msdrm enable_msdrm
21514 wine_fn_config_makefile dlls/msftedit enable_msftedit
21515 wine_fn_config_makefile dlls/msftedit/tests enable_tests
21516 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
21517 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
21518 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
21519 wine_fn_config_makefile dlls/mshtml enable_mshtml
21520 wine_fn_config_makefile dlls/mshtml/tests enable_tests
21521 wine_fn_config_makefile dlls/msi enable_msi
21522 wine_fn_config_makefile dlls/msi/tests enable_tests
21523 wine_fn_config_makefile dlls/msident enable_msident
21524 wine_fn_config_makefile dlls/msimg32 enable_msimg32
21525 wine_fn_config_makefile dlls/msimsg enable_msimsg
21526 wine_fn_config_makefile dlls/msimtf enable_msimtf
21527 wine_fn_config_makefile dlls/msisip enable_msisip
21528 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
21529 wine_fn_config_makefile dlls/msls31 enable_msls31
21530 wine_fn_config_makefile dlls/msnet32 enable_msnet32
21531 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
21532 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
21533 wine_fn_config_makefile dlls/msports enable_msports
21534 wine_fn_config_makefile dlls/msrle32 enable_msrle32
21535 wine_fn_config_makefile dlls/msrle32/tests enable_tests
21536 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
21537 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
21538 wine_fn_config_makefile dlls/mssign32 enable_mssign32
21539 wine_fn_config_makefile dlls/mssip32 enable_mssip32
21540 wine_fn_config_makefile dlls/mstask enable_mstask
21541 wine_fn_config_makefile dlls/mstask/tests enable_tests
21542 wine_fn_config_makefile dlls/msv1_0 enable_msv1_0
21543 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
21544 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
21545 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
21546 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
21547 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
21548 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
21549 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
21550 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
21551 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
21552 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
21553 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
21554 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
21555 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
21556 wine_fn_config_makefile dlls/msvcp140_1 enable_msvcp140_1
21557 wine_fn_config_makefile dlls/msvcp140_1/tests enable_tests
21558 wine_fn_config_makefile dlls/msvcp140_2 enable_msvcp140_2
21559 wine_fn_config_makefile dlls/msvcp140_atomic_wait enable_msvcp140_atomic_wait
21560 wine_fn_config_makefile dlls/msvcp140_atomic_wait/tests enable_tests
21561 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
21562 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
21563 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
21564 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
21565 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
21566 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
21567 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
21568 wine_fn_config_makefile dlls/msvcp_win enable_msvcp_win
21569 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
21570 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
21571 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
21572 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
21573 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
21574 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
21575 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
21576 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
21577 wine_fn_config_makefile dlls/msvcr70/tests enable_tests
21578 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
21579 wine_fn_config_makefile dlls/msvcr71/tests enable_tests
21580 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
21581 wine_fn_config_makefile dlls/msvcr80/tests enable_tests
21582 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
21583 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
21584 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
21585 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
21586 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
21587 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
21588 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
21589 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
21590 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
21591 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
21592 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
21593 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
21594 wine_fn_config_makefile dlls/mswsock enable_mswsock
21595 wine_fn_config_makefile dlls/msxml enable_msxml
21596 wine_fn_config_makefile dlls/msxml2 enable_msxml2
21597 wine_fn_config_makefile dlls/msxml3 enable_msxml3
21598 wine_fn_config_makefile dlls/msxml3/tests enable_tests
21599 wine_fn_config_makefile dlls/msxml4 enable_msxml4
21600 wine_fn_config_makefile dlls/msxml6 enable_msxml6
21601 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
21602 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
21603 wine_fn_config_makefile dlls/ncrypt/tests enable_tests
21604 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
21605 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
21606 wine_fn_config_makefile dlls/ndis.sys/tests enable_tests
21607 wine_fn_config_makefile dlls/netapi32 enable_netapi32
21608 wine_fn_config_makefile dlls/netapi32/tests enable_tests
21609 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
21610 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
21611 wine_fn_config_makefile dlls/netio.sys enable_netio_sys
21612 wine_fn_config_makefile dlls/netprofm enable_netprofm
21613 wine_fn_config_makefile dlls/netprofm/tests enable_tests
21614 wine_fn_config_makefile dlls/netutils enable_netutils
21615 wine_fn_config_makefile dlls/newdev enable_newdev
21616 wine_fn_config_makefile dlls/ninput enable_ninput
21617 wine_fn_config_makefile dlls/ninput/tests enable_tests
21618 wine_fn_config_makefile dlls/normaliz enable_normaliz
21619 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
21620 wine_fn_config_makefile dlls/npptools enable_npptools
21621 wine_fn_config_makefile dlls/nsi enable_nsi
21622 wine_fn_config_makefile dlls/nsi/tests enable_tests
21623 wine_fn_config_makefile dlls/nsiproxy.sys enable_nsiproxy_sys
21624 wine_fn_config_makefile dlls/ntdll enable_ntdll
21625 wine_fn_config_makefile dlls/ntdll/tests enable_tests
21626 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
21627 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
21628 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
21629 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
21630 wine_fn_config_makefile dlls/ntprint enable_ntprint
21631 wine_fn_config_makefile dlls/ntprint/tests enable_tests
21632 wine_fn_config_makefile dlls/objsel enable_objsel
21633 wine_fn_config_makefile dlls/odbc32 enable_odbc32
21634 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
21635 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
21636 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
21637 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
21638 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
21639 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
21640 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
21641 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
21642 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
21643 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
21644 wine_fn_config_makefile dlls/ole32 enable_ole32
21645 wine_fn_config_makefile dlls/ole32/tests enable_tests
21646 wine_fn_config_makefile dlls/oleacc enable_oleacc
21647 wine_fn_config_makefile dlls/oleacc/tests enable_tests
21648 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
21649 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
21650 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
21651 wine_fn_config_makefile dlls/olecli32 enable_olecli32
21652 wine_fn_config_makefile dlls/oledb32 enable_oledb32
21653 wine_fn_config_makefile dlls/oledb32/tests enable_tests
21654 wine_fn_config_makefile dlls/oledlg enable_oledlg
21655 wine_fn_config_makefile dlls/oledlg/tests enable_tests
21656 wine_fn_config_makefile dlls/olepro32 enable_olepro32
21657 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
21658 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
21659 wine_fn_config_makefile dlls/olethk32 enable_olethk32
21660 wine_fn_config_makefile dlls/opcservices enable_opcservices
21661 wine_fn_config_makefile dlls/opcservices/tests enable_tests
21662 wine_fn_config_makefile dlls/opencl enable_opencl
21663 wine_fn_config_makefile dlls/opengl32 enable_opengl32
21664 wine_fn_config_makefile dlls/opengl32/tests enable_tests
21665 wine_fn_config_makefile dlls/packager enable_packager
21666 wine_fn_config_makefile dlls/packager/tests enable_tests
21667 wine_fn_config_makefile dlls/pdh enable_pdh
21668 wine_fn_config_makefile dlls/pdh/tests enable_tests
21669 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
21670 wine_fn_config_makefile dlls/pidgen enable_pidgen
21671 wine_fn_config_makefile dlls/powrprof enable_powrprof
21672 wine_fn_config_makefile dlls/printui enable_printui
21673 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
21674 wine_fn_config_makefile dlls/prntvpt/tests enable_tests
21675 wine_fn_config_makefile dlls/propsys enable_propsys
21676 wine_fn_config_makefile dlls/propsys/tests enable_tests
21677 wine_fn_config_makefile dlls/psapi enable_psapi
21678 wine_fn_config_makefile dlls/psapi/tests enable_tests
21679 wine_fn_config_makefile dlls/pstorec enable_pstorec
21680 wine_fn_config_makefile dlls/pstorec/tests enable_tests
21681 wine_fn_config_makefile dlls/pwrshplugin enable_pwrshplugin
21682 wine_fn_config_makefile dlls/qasf enable_qasf
21683 wine_fn_config_makefile dlls/qasf/tests enable_tests
21684 wine_fn_config_makefile dlls/qcap enable_qcap
21685 wine_fn_config_makefile dlls/qcap/tests enable_tests
21686 wine_fn_config_makefile dlls/qdvd enable_qdvd
21687 wine_fn_config_makefile dlls/qdvd/tests enable_tests
21688 wine_fn_config_makefile dlls/qedit enable_qedit
21689 wine_fn_config_makefile dlls/qedit/tests enable_tests
21690 wine_fn_config_makefile dlls/qmgr enable_qmgr
21691 wine_fn_config_makefile dlls/qmgr/tests enable_tests
21692 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
21693 wine_fn_config_makefile dlls/quartz enable_quartz
21694 wine_fn_config_makefile dlls/quartz/tests enable_tests
21695 wine_fn_config_makefile dlls/query enable_query
21696 wine_fn_config_makefile dlls/qwave enable_qwave
21697 wine_fn_config_makefile dlls/qwave/tests enable_tests
21698 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
21699 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
21700 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
21701 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
21702 wine_fn_config_makefile dlls/regapi enable_regapi
21703 wine_fn_config_makefile dlls/resutils enable_resutils
21704 wine_fn_config_makefile dlls/riched20 enable_riched20
21705 wine_fn_config_makefile dlls/riched20/tests enable_tests
21706 wine_fn_config_makefile dlls/riched32 enable_riched32
21707 wine_fn_config_makefile dlls/riched32/tests enable_tests
21708 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
21709 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
21710 wine_fn_config_makefile dlls/rsabase enable_rsabase
21711 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
21712 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
21713 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
21714 wine_fn_config_makefile dlls/rtutils enable_rtutils
21715 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
21716 wine_fn_config_makefile dlls/rtworkq/tests enable_tests
21717 wine_fn_config_makefile dlls/samlib enable_samlib
21718 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
21719 wine_fn_config_makefile dlls/sapi enable_sapi
21720 wine_fn_config_makefile dlls/sapi/tests enable_tests
21721 wine_fn_config_makefile dlls/sas enable_sas
21722 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
21723 wine_fn_config_makefile dlls/sccbase enable_sccbase
21724 wine_fn_config_makefile dlls/schannel enable_schannel
21725 wine_fn_config_makefile dlls/schannel/tests enable_tests
21726 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
21727 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
21728 wine_fn_config_makefile dlls/scrobj enable_scrobj
21729 wine_fn_config_makefile dlls/scrobj/tests enable_tests
21730 wine_fn_config_makefile dlls/scrrun enable_scrrun
21731 wine_fn_config_makefile dlls/scrrun/tests enable_tests
21732 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
21733 wine_fn_config_makefile dlls/sechost enable_sechost
21734 wine_fn_config_makefile dlls/secur32 enable_secur32
21735 wine_fn_config_makefile dlls/secur32/tests enable_tests
21736 wine_fn_config_makefile dlls/security enable_security
21737 wine_fn_config_makefile dlls/sensapi enable_sensapi
21738 wine_fn_config_makefile dlls/serialui enable_serialui
21739 wine_fn_config_makefile dlls/serialui/tests enable_tests
21740 wine_fn_config_makefile dlls/setupapi enable_setupapi
21741 wine_fn_config_makefile dlls/setupapi/tests enable_tests
21742 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
21743 wine_fn_config_makefile dlls/sfc enable_sfc
21744 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
21745 wine_fn_config_makefile dlls/shcore enable_shcore
21746 wine_fn_config_makefile dlls/shcore/tests enable_tests
21747 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
21748 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
21749 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
21750 wine_fn_config_makefile dlls/shell.dll16 enable_win16
21751 wine_fn_config_makefile dlls/shell32 enable_shell32
21752 wine_fn_config_makefile dlls/shell32/tests enable_tests
21753 wine_fn_config_makefile dlls/shfolder enable_shfolder
21754 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
21755 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
21756 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
21757 wine_fn_config_makefile dlls/slc enable_slc
21758 wine_fn_config_makefile dlls/slc/tests enable_tests
21759 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
21760 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
21761 wine_fn_config_makefile dlls/softpub enable_softpub
21762 wine_fn_config_makefile dlls/sound.drv16 enable_win16
21763 wine_fn_config_makefile dlls/spoolss enable_spoolss
21764 wine_fn_config_makefile dlls/spoolss/tests enable_tests
21765 wine_fn_config_makefile dlls/sppc enable_sppc
21766 wine_fn_config_makefile dlls/srclient enable_srclient
21767 wine_fn_config_makefile dlls/srvcli enable_srvcli
21768 wine_fn_config_makefile dlls/sspicli enable_sspicli
21769 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
21770 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
21771 wine_fn_config_makefile dlls/sti enable_sti
21772 wine_fn_config_makefile dlls/sti/tests enable_tests
21773 wine_fn_config_makefile dlls/storage.dll16 enable_win16
21774 wine_fn_config_makefile dlls/stress.dll16 enable_win16
21775 wine_fn_config_makefile dlls/strmdll enable_strmdll
21776 wine_fn_config_makefile dlls/svrapi enable_svrapi
21777 wine_fn_config_makefile dlls/sxs enable_sxs
21778 wine_fn_config_makefile dlls/sxs/tests enable_tests
21779 wine_fn_config_makefile dlls/system.drv16 enable_win16
21780 wine_fn_config_makefile dlls/t2embed enable_t2embed
21781 wine_fn_config_makefile dlls/t2embed/tests enable_tests
21782 wine_fn_config_makefile dlls/tapi32 enable_tapi32
21783 wine_fn_config_makefile dlls/tapi32/tests enable_tests
21784 wine_fn_config_makefile dlls/taskschd enable_taskschd
21785 wine_fn_config_makefile dlls/taskschd/tests enable_tests
21786 wine_fn_config_makefile dlls/tbs enable_tbs
21787 wine_fn_config_makefile dlls/tdh enable_tdh
21788 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
21789 wine_fn_config_makefile dlls/threadpoolwinrt enable_threadpoolwinrt
21790 wine_fn_config_makefile dlls/threadpoolwinrt/tests enable_tests
21791 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
21792 wine_fn_config_makefile dlls/traffic enable_traffic
21793 wine_fn_config_makefile dlls/twain.dll16 enable_win16
21794 wine_fn_config_makefile dlls/twain_32 enable_twain_32
21795 wine_fn_config_makefile dlls/twain_32/tests enable_tests
21796 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
21797 wine_fn_config_makefile dlls/tzres enable_tzres
21798 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
21799 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
21800 wine_fn_config_makefile dlls/uianimation enable_uianimation
21801 wine_fn_config_makefile dlls/uianimation/tests enable_tests
21802 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
21803 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
21804 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
21805 wine_fn_config_makefile dlls/unicows enable_unicows
21806 wine_fn_config_makefile dlls/updspapi enable_updspapi
21807 wine_fn_config_makefile dlls/url enable_url
21808 wine_fn_config_makefile dlls/urlmon enable_urlmon
21809 wine_fn_config_makefile dlls/urlmon/tests enable_tests
21810 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
21811 wine_fn_config_makefile dlls/user.exe16 enable_win16
21812 wine_fn_config_makefile dlls/user32 enable_user32
21813 wine_fn_config_makefile dlls/user32/tests enable_tests
21814 wine_fn_config_makefile dlls/userenv enable_userenv
21815 wine_fn_config_makefile dlls/userenv/tests enable_tests
21816 wine_fn_config_makefile dlls/usp10 enable_usp10
21817 wine_fn_config_makefile dlls/usp10/tests enable_tests
21818 wine_fn_config_makefile dlls/utildll enable_utildll
21819 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
21820 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
21821 wine_fn_config_makefile dlls/vbscript enable_vbscript
21822 wine_fn_config_makefile dlls/vbscript/tests enable_tests
21823 wine_fn_config_makefile dlls/vcomp enable_vcomp
21824 wine_fn_config_makefile dlls/vcomp/tests enable_tests
21825 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
21826 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
21827 wine_fn_config_makefile dlls/vcomp110/tests enable_tests
21828 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
21829 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
21830 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
21831 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
21832 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
21833 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
21834 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
21835 wine_fn_config_makefile dlls/ver.dll16 enable_win16
21836 wine_fn_config_makefile dlls/version enable_version
21837 wine_fn_config_makefile dlls/version/tests enable_tests
21838 wine_fn_config_makefile dlls/vga enable_vga
21839 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
21840 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
21841 wine_fn_config_makefile dlls/vmm.vxd enable_win16
21842 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
21843 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
21844 wine_fn_config_makefile dlls/vssapi enable_vssapi
21845 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
21846 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
21847 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
21848 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
21849 wine_fn_config_makefile dlls/w32skrnl enable_win16
21850 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
21851 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
21852 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
21853 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
21854 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
21855 wine_fn_config_makefile dlls/wdscore enable_wdscore
21856 wine_fn_config_makefile dlls/webservices enable_webservices
21857 wine_fn_config_makefile dlls/webservices/tests enable_tests
21858 wine_fn_config_makefile dlls/websocket enable_websocket
21859 wine_fn_config_makefile dlls/wer enable_wer
21860 wine_fn_config_makefile dlls/wer/tests enable_tests
21861 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
21862 wine_fn_config_makefile dlls/wevtapi/tests enable_tests
21863 wine_fn_config_makefile dlls/wevtsvc enable_wevtsvc
21864 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
21865 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
21866 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
21867 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
21868 wine_fn_config_makefile dlls/win32u enable_win32u
21869 wine_fn_config_makefile dlls/win32u/tests enable_tests
21870 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
21871 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
21872 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
21873 wine_fn_config_makefile dlls/windows.devices.enumeration enable_windows_devices_enumeration
21874 wine_fn_config_makefile dlls/windows.devices.enumeration/tests enable_tests
21875 wine_fn_config_makefile dlls/windows.gaming.input enable_windows_gaming_input
21876 wine_fn_config_makefile dlls/windows.gaming.input/tests enable_tests
21877 wine_fn_config_makefile dlls/windows.gaming.ui.gamebar enable_windows_gaming_ui_gamebar
21878 wine_fn_config_makefile dlls/windows.gaming.ui.gamebar/tests enable_tests
21879 wine_fn_config_makefile dlls/windows.globalization enable_windows_globalization
21880 wine_fn_config_makefile dlls/windows.globalization/tests enable_tests
21881 wine_fn_config_makefile dlls/windows.media.devices enable_windows_media_devices
21882 wine_fn_config_makefile dlls/windows.media.devices/tests enable_tests
21883 wine_fn_config_makefile dlls/windows.media.speech enable_windows_media_speech
21884 wine_fn_config_makefile dlls/windows.media.speech/tests enable_tests
21885 wine_fn_config_makefile dlls/windows.networking enable_windows_networking
21886 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
21887 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
21888 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
21889 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
21890 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
21891 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
21892 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
21893 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
21894 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
21895 wine_fn_config_makefile dlls/wined3d enable_wined3d
21896 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
21897 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
21898 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
21899 wine_fn_config_makefile dlls/winemapi enable_winemapi
21900 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
21901 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
21902 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
21903 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
21904 wine_fn_config_makefile dlls/wineusb.sys enable_wineusb_sys
21905 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
21906 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
21907 wine_fn_config_makefile dlls/winexinput.sys enable_winexinput_sys
21908 wine_fn_config_makefile dlls/wing.dll16 enable_win16
21909 wine_fn_config_makefile dlls/wing32 enable_wing32
21910 wine_fn_config_makefile dlls/winhttp enable_winhttp
21911 wine_fn_config_makefile dlls/winhttp/tests enable_tests
21912 wine_fn_config_makefile dlls/wininet enable_wininet
21913 wine_fn_config_makefile dlls/wininet/tests enable_tests
21914 wine_fn_config_makefile dlls/winmm enable_winmm
21915 wine_fn_config_makefile dlls/winmm/tests enable_tests
21916 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
21917 wine_fn_config_makefile dlls/winnls32 enable_winnls32
21918 wine_fn_config_makefile dlls/winscard enable_winscard
21919 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
21920 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
21921 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
21922 wine_fn_config_makefile dlls/winsta enable_winsta
21923 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
21924 wine_fn_config_makefile dlls/wintab32 enable_wintab32
21925 wine_fn_config_makefile dlls/wintab32/tests enable_tests
21926 wine_fn_config_makefile dlls/wintrust enable_wintrust
21927 wine_fn_config_makefile dlls/wintrust/tests enable_tests
21928 wine_fn_config_makefile dlls/wintypes enable_wintypes
21929 wine_fn_config_makefile dlls/wintypes/tests enable_tests
21930 wine_fn_config_makefile dlls/winusb enable_winusb
21931 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
21932 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
21933 wine_fn_config_makefile dlls/wlanui enable_wlanui
21934 wine_fn_config_makefile dlls/wldap32 enable_wldap32
21935 wine_fn_config_makefile dlls/wldap32/tests enable_tests
21936 wine_fn_config_makefile dlls/wmasf enable_wmasf
21937 wine_fn_config_makefile dlls/wmi enable_wmi
21938 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
21939 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
21940 wine_fn_config_makefile dlls/wmp enable_wmp
21941 wine_fn_config_makefile dlls/wmp/tests enable_tests
21942 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
21943 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
21944 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
21945 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
21946 wine_fn_config_makefile dlls/wow32 enable_win16
21947 wine_fn_config_makefile dlls/wow64 enable_wow64
21948 wine_fn_config_makefile dlls/wow64cpu enable_wow64cpu
21949 wine_fn_config_makefile dlls/wow64win enable_wow64win
21950 wine_fn_config_makefile dlls/wpc enable_wpc
21951 wine_fn_config_makefile dlls/wpc/tests enable_tests
21952 wine_fn_config_makefile dlls/wpcap enable_wpcap
21953 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
21954 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
21955 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
21956 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
21957 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
21958 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
21959 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
21960 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
21961 wine_fn_config_makefile dlls/wsock32 enable_wsock32
21962 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
21963 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
21964 wine_fn_config_makefile dlls/wuapi enable_wuapi
21965 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
21966 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
21967 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
21968 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
21969 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
21970 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
21971 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
21972 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
21973 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
21974 wine_fn_config_makefile dlls/xactengine2_0 enable_xactengine2_0
21975 wine_fn_config_makefile dlls/xactengine2_4 enable_xactengine2_4
21976 wine_fn_config_makefile dlls/xactengine2_7 enable_xactengine2_7
21977 wine_fn_config_makefile dlls/xactengine2_9 enable_xactengine2_9
21978 wine_fn_config_makefile dlls/xactengine3_0 enable_xactengine3_0
21979 wine_fn_config_makefile dlls/xactengine3_1 enable_xactengine3_1
21980 wine_fn_config_makefile dlls/xactengine3_2 enable_xactengine3_2
21981 wine_fn_config_makefile dlls/xactengine3_3 enable_xactengine3_3
21982 wine_fn_config_makefile dlls/xactengine3_4 enable_xactengine3_4
21983 wine_fn_config_makefile dlls/xactengine3_5 enable_xactengine3_5
21984 wine_fn_config_makefile dlls/xactengine3_6 enable_xactengine3_6
21985 wine_fn_config_makefile dlls/xactengine3_7 enable_xactengine3_7
21986 wine_fn_config_makefile dlls/xactengine3_7/tests enable_tests
21987 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
21988 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
21989 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
21990 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
21991 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
21992 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
21993 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
21994 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
21995 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
21996 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
21997 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
21998 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
21999 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
22000 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
22001 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
22002 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
22003 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
22004 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
22005 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
22006 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
22007 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
22008 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
22009 wine_fn_config_makefile dlls/xmllite enable_xmllite
22010 wine_fn_config_makefile dlls/xmllite/tests enable_tests
22011 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
22012 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
22013 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
22014 wine_fn_config_makefile fonts enable_fonts
22015 wine_fn_config_makefile include enable_include
22016 wine_fn_config_makefile libs/adsiid enable_adsiid
22017 wine_fn_config_makefile libs/dmoguids enable_dmoguids
22018 wine_fn_config_makefile libs/dxerr8 enable_dxerr8
22019 wine_fn_config_makefile libs/dxerr9 enable_dxerr9
22020 wine_fn_config_makefile libs/dxguid enable_dxguid
22021 wine_fn_config_makefile libs/faudio enable_faudio
22022 wine_fn_config_makefile libs/gsm enable_gsm
22023 wine_fn_config_makefile libs/jpeg enable_jpeg
22024 wine_fn_config_makefile libs/jxr enable_jxr
22025 wine_fn_config_makefile libs/lcms2 enable_lcms2
22026 wine_fn_config_makefile libs/ldap enable_ldap
22027 wine_fn_config_makefile libs/mfuuid enable_mfuuid
22028 wine_fn_config_makefile libs/mpg123 enable_mpg123
22029 wine_fn_config_makefile libs/png enable_png
22030 wine_fn_config_makefile libs/strmbase enable_strmbase
22031 wine_fn_config_makefile libs/strmiids enable_strmiids
22032 wine_fn_config_makefile libs/tiff enable_tiff
22033 wine_fn_config_makefile libs/uuid enable_uuid
22034 wine_fn_config_makefile libs/vkd3d enable_vkd3d
22035 wine_fn_config_makefile libs/wbemuuid enable_wbemuuid
22036 wine_fn_config_makefile libs/wine enable_wine
22037 wine_fn_config_makefile libs/wmcodecdspuuid enable_wmcodecdspuuid
22038 wine_fn_config_makefile libs/xml2 enable_xml2
22039 wine_fn_config_makefile libs/xslt enable_xslt
22040 wine_fn_config_makefile libs/zlib enable_zlib
22041 wine_fn_config_makefile loader enable_loader
22042 wine_fn_config_makefile nls enable_nls
22043 wine_fn_config_makefile po enable_po
22044 wine_fn_config_makefile programs/arp enable_arp
22045 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
22046 wine_fn_config_makefile programs/attrib enable_attrib
22047 wine_fn_config_makefile programs/cabarc enable_cabarc
22048 wine_fn_config_makefile programs/cacls enable_cacls
22049 wine_fn_config_makefile programs/certutil enable_certutil
22050 wine_fn_config_makefile programs/chcp.com enable_chcp_com
22051 wine_fn_config_makefile programs/clock enable_clock
22052 wine_fn_config_makefile programs/cmd enable_cmd
22053 wine_fn_config_makefile programs/cmd/tests enable_tests
22054 wine_fn_config_makefile programs/conhost enable_conhost
22055 wine_fn_config_makefile programs/conhost/tests enable_tests
22056 wine_fn_config_makefile programs/control enable_control
22057 wine_fn_config_makefile programs/cscript enable_cscript
22058 wine_fn_config_makefile programs/dism enable_dism
22059 wine_fn_config_makefile programs/dllhost enable_dllhost
22060 wine_fn_config_makefile programs/dplaysvr enable_dplaysvr
22061 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
22062 wine_fn_config_makefile programs/dpvsetup enable_dpvsetup
22063 wine_fn_config_makefile programs/dxdiag enable_dxdiag
22064 wine_fn_config_makefile programs/eject enable_eject
22065 wine_fn_config_makefile programs/expand enable_expand
22066 wine_fn_config_makefile programs/explorer enable_explorer
22067 wine_fn_config_makefile programs/explorer/tests enable_tests
22068 wine_fn_config_makefile programs/extrac32 enable_extrac32
22069 wine_fn_config_makefile programs/fc enable_fc
22070 wine_fn_config_makefile programs/find enable_find
22071 wine_fn_config_makefile programs/find/tests enable_tests
22072 wine_fn_config_makefile programs/findstr enable_findstr
22073 wine_fn_config_makefile programs/fsutil enable_fsutil
22074 wine_fn_config_makefile programs/fsutil/tests enable_tests
22075 wine_fn_config_makefile programs/hh enable_hh
22076 wine_fn_config_makefile programs/hostname enable_hostname
22077 wine_fn_config_makefile programs/icacls enable_icacls
22078 wine_fn_config_makefile programs/icinfo enable_icinfo
22079 wine_fn_config_makefile programs/iexplore enable_iexplore
22080 wine_fn_config_makefile programs/ipconfig enable_ipconfig
22081 wine_fn_config_makefile programs/lodctr enable_lodctr
22082 wine_fn_config_makefile programs/mofcomp enable_mofcomp
22083 wine_fn_config_makefile programs/mshta enable_mshta
22084 wine_fn_config_makefile programs/msidb enable_msidb
22085 wine_fn_config_makefile programs/msiexec enable_msiexec
22086 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
22087 wine_fn_config_makefile programs/net enable_net
22088 wine_fn_config_makefile programs/netsh enable_netsh
22089 wine_fn_config_makefile programs/netstat enable_netstat
22090 wine_fn_config_makefile programs/ngen enable_ngen
22091 wine_fn_config_makefile programs/notepad enable_notepad
22092 wine_fn_config_makefile programs/oleview enable_oleview
22093 wine_fn_config_makefile programs/ping enable_ping
22094 wine_fn_config_makefile programs/plugplay enable_plugplay
22095 wine_fn_config_makefile programs/powershell enable_powershell
22096 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
22097 wine_fn_config_makefile programs/progman enable_progman
22098 wine_fn_config_makefile programs/reg enable_reg
22099 wine_fn_config_makefile programs/reg/tests enable_tests
22100 wine_fn_config_makefile programs/regasm enable_regasm
22101 wine_fn_config_makefile programs/regedit enable_regedit
22102 wine_fn_config_makefile programs/regedit/tests enable_tests
22103 wine_fn_config_makefile programs/regini enable_regini
22104 wine_fn_config_makefile programs/regsvcs enable_regsvcs
22105 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
22106 wine_fn_config_makefile programs/robocopy enable_robocopy
22107 wine_fn_config_makefile programs/rpcss enable_rpcss
22108 wine_fn_config_makefile programs/rundll.exe16 enable_win16
22109 wine_fn_config_makefile programs/rundll32 enable_rundll32
22110 wine_fn_config_makefile programs/sc enable_sc
22111 wine_fn_config_makefile programs/sc/tests enable_tests
22112 wine_fn_config_makefile programs/schtasks enable_schtasks
22113 wine_fn_config_makefile programs/schtasks/tests enable_tests
22114 wine_fn_config_makefile programs/sdbinst enable_sdbinst
22115 wine_fn_config_makefile programs/secedit enable_secedit
22116 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
22117 wine_fn_config_makefile programs/services enable_services
22118 wine_fn_config_makefile programs/services/tests enable_tests
22119 wine_fn_config_makefile programs/setx enable_setx
22120 wine_fn_config_makefile programs/shutdown enable_shutdown
22121 wine_fn_config_makefile programs/spoolsv enable_spoolsv
22122 wine_fn_config_makefile programs/start enable_start
22123 wine_fn_config_makefile programs/subst enable_subst
22124 wine_fn_config_makefile programs/svchost enable_svchost
22125 wine_fn_config_makefile programs/systeminfo enable_systeminfo
22126 wine_fn_config_makefile programs/taskkill enable_taskkill
22127 wine_fn_config_makefile programs/tasklist enable_tasklist
22128 wine_fn_config_makefile programs/taskmgr enable_taskmgr
22129 wine_fn_config_makefile programs/termsv enable_termsv
22130 wine_fn_config_makefile programs/uninstaller enable_uninstaller
22131 wine_fn_config_makefile programs/unlodctr enable_unlodctr
22132 wine_fn_config_makefile programs/view enable_view
22133 wine_fn_config_makefile programs/wevtutil enable_wevtutil
22134 wine_fn_config_makefile programs/where enable_where
22135 wine_fn_config_makefile programs/whoami enable_whoami
22136 wine_fn_config_makefile programs/wineboot enable_wineboot
22137 wine_fn_config_makefile programs/winebrowser enable_winebrowser
22138 wine_fn_config_makefile programs/winecfg enable_winecfg
22139 wine_fn_config_makefile programs/wineconsole enable_wineconsole
22140 wine_fn_config_makefile programs/winedbg enable_winedbg
22141 wine_fn_config_makefile programs/winedevice enable_winedevice
22142 wine_fn_config_makefile programs/winefile enable_winefile
22143 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
22144 wine_fn_config_makefile programs/winemine enable_winemine
22145 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
22146 wine_fn_config_makefile programs/winepath enable_winepath
22147 wine_fn_config_makefile programs/winetest enable_winetest
22148 wine_fn_config_makefile programs/winevdm enable_win16
22149 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
22150 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
22151 wine_fn_config_makefile programs/winmgmt enable_winmgmt
22152 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
22153 wine_fn_config_makefile programs/winver enable_winver
22154 wine_fn_config_makefile programs/wmic enable_wmic
22155 wine_fn_config_makefile programs/wmplayer enable_wmplayer
22156 wine_fn_config_makefile programs/wordpad enable_wordpad
22157 wine_fn_config_makefile programs/write enable_write
22158 wine_fn_config_makefile programs/wscript enable_wscript
22159 wine_fn_config_makefile programs/wscript/tests enable_tests
22160 wine_fn_config_makefile programs/wuauserv enable_wuauserv
22161 wine_fn_config_makefile programs/wusa enable_wusa
22162 wine_fn_config_makefile programs/xcopy enable_xcopy
22163 wine_fn_config_makefile programs/xcopy/tests enable_tests
22164 wine_fn_config_makefile server enable_server
22165 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
22166 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
22167 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
22168 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
22169 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
22170 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
22171 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
22172 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
22173 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
22176 as_fn_append CONFIGURE_TARGETS " TAGS"
22177 as_fn_append CONFIGURE_TARGETS " tags"
22178 as_fn_append CONFIGURE_TARGETS " autom4te.cache"
22179 as_fn_append CONFIGURE_TARGETS " config.log"
22180 as_fn_append CONFIGURE_TARGETS " config.status"
22181 as_fn_append CONFIGURE_TARGETS " include/config.h"
22182 as_fn_append CONFIGURE_TARGETS " include/stamp-h"
22183 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine"
22185 if test "x$enable_tools" != xno
22186 then
22187 as_fn_append CONFIGURE_TARGETS " tools/makedep$ac_exeext"
22188 ac_config_commands="$ac_config_commands tools/makedep"
22192 ac_config_commands="$ac_config_commands Makefile"
22196 SHELL=/bin/sh
22199 as_fn_append wine_rules "
22200 all: wine
22201 @echo \"Wine build complete.\"
22202 .INIT: Makefile
22203 .MAKEFILEDEPS:
22204 all: Makefile
22205 Makefile: config.status \$(MAKEDEP)
22206 @./config.status Makefile
22207 depend: \$(MAKEDEP)
22208 \$(MAKEDEP)$makedep_flags"
22211 as_fn_append wine_rules "
22212 config.status: ${wine_srcdir}configure
22213 @./config.status --recheck
22214 include/config.h: include/stamp-h
22215 include/stamp-h: ${wine_srcdir}include/config.h.in config.status
22216 @./config.status include/config.h include/stamp-h"
22218 if test "x$enable_maintainer_mode" = xyes
22219 then
22220 as_fn_append wine_rules "
22221 configure: configure.ac aclocal.m4
22222 autoconf --warnings=all
22223 include/config.h.in: include/stamp-h.in
22224 include/stamp-h.in: configure.ac aclocal.m4
22225 autoheader --warnings=all
22226 @echo timestamp > \$@"
22229 if test "x$enable_tools" != xno
22230 then
22231 as_fn_append wine_rules "
22232 tools/makedep$ac_exeext: ${wine_srcdir}tools/makedep.c include/config.h config.status
22233 @./config.status tools/makedep
22234 Makefile: tools/makedep$ac_exeext"
22235 else
22236 as_fn_append wine_rules "
22237 \$(MAKEDEP):
22238 @echo \"You need to run make in $toolsdir first\" && false"
22242 if test -n "$with_wine64"
22243 then
22244 case "$with_wine64" in
22245 /*) reldir="" ;;
22246 *) reldir="../" ;;
22247 esac
22248 rm -f fonts server 2>/dev/null
22249 as_fn_append wine_rules "
22250 all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
22251 loader/wine64 loader/wine64-preloader:
22252 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
22253 $with_wine64/loader/wine:
22254 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
22255 $with_wine64/loader/wine-preloader:
22256 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
22257 clean::
22258 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
22259 else
22260 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
22261 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
22262 fonts \
22263 loader/wine.inf \
22264 nls \
22265 programs/msidb/msidb \
22266 programs/msiexec/msiexec \
22267 programs/notepad/notepad \
22268 programs/regedit/regedit \
22269 programs/regsvr32/regsvr32 \
22270 programs/wineboot/wineboot \
22271 programs/winecfg/winecfg \
22272 programs/wineconsole/wineconsole \
22273 programs/winedbg/winedbg \
22274 programs/winefile/winefile \
22275 programs/winemine/winemine \
22276 programs/winepath/winepath \
22277 server/wineserver"
22279 case $host_os in
22280 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
22281 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
22282 esac
22286 as_fn_append wine_rules "
22287 distclean:: clean
22288 rm -rf autom4te.cache
22289 maintainer-clean::
22290 rm -f configure include/config.h.in"
22293 as_fn_append wine_rules "
22294 dlls/ntdll/unix/version.c: dummy
22295 @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)
22296 programs/winetest/build.rc: dummy
22297 @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)
22298 programs/winetest/build.nfo:
22299 @-\$(CC) -v 2>\$@
22300 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
22301 cd dlls/wineandroid.drv && gradle -q -Psrcdir=$srcdir assembleDebug
22302 mv dlls/wineandroid.drv/build/outputs/apk/wine-debug.apk \$@"
22305 TAGSFLAGS="--langmap='c:+.idl.l.rh,make:(Make*.in)'"
22307 as_fn_append wine_rules "
22308 TAGS etags:
22309 rm -f TAGS
22310 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs etags -a \$(TAGSFLAGS)
22311 tags ctags:
22312 rm -f tags
22313 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs ctags -a \$(TAGSFLAGS)
22314 dummy:
22315 .PHONY: depend dummy install-manpages"
22317 printf "%s\n" " done" >&6
22318 cat >confcache <<\_ACEOF
22319 # This file is a shell script that caches the results of configure
22320 # tests run on this system so they can be shared between configure
22321 # scripts and configure runs, see configure's option --config-cache.
22322 # It is not useful on other systems. If it contains results you don't
22323 # want to keep, you may remove or edit it.
22325 # config.status only pays attention to the cache file if you give it
22326 # the --recheck option to rerun configure.
22328 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22329 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22330 # following values.
22332 _ACEOF
22334 # The following way of writing the cache mishandles newlines in values,
22335 # but we know of no workaround that is simple, portable, and efficient.
22336 # So, we kill variables containing newlines.
22337 # Ultrix sh set writes to stderr and can't be redirected directly,
22338 # and sets the high bit in the cache file unless we assign to the vars.
22340 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22341 eval ac_val=\$$ac_var
22342 case $ac_val in #(
22343 *${as_nl}*)
22344 case $ac_var in #(
22345 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
22346 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22347 esac
22348 case $ac_var in #(
22349 _ | IFS | as_nl) ;; #(
22350 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
22351 *) { eval $ac_var=; unset $ac_var;} ;;
22352 esac ;;
22353 esac
22354 done
22356 (set) 2>&1 |
22357 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22358 *${as_nl}ac_space=\ *)
22359 # `set' does not quote correctly, so add quotes: double-quote
22360 # substitution turns \\\\ into \\, and sed turns \\ into \.
22361 sed -n \
22362 "s/'/'\\\\''/g;
22363 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22364 ;; #(
22366 # `set' quotes correctly as required by POSIX, so do not add quotes.
22367 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22369 esac |
22370 sort
22372 sed '
22373 /^ac_cv_env_/b end
22374 t clear
22375 :clear
22376 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
22377 t end
22378 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22379 :end' >>confcache
22380 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
22381 if test -w "$cache_file"; then
22382 if test "x$cache_file" != "x/dev/null"; then
22383 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22384 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
22385 if test ! -f "$cache_file" || test -h "$cache_file"; then
22386 cat confcache >"$cache_file"
22387 else
22388 case $cache_file in #(
22389 */* | ?:*)
22390 mv -f confcache "$cache_file"$$ &&
22391 mv -f "$cache_file"$$ "$cache_file" ;; #(
22393 mv -f confcache "$cache_file" ;;
22394 esac
22397 else
22398 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22399 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
22402 rm -f confcache
22404 test "x$prefix" = xNONE && prefix=$ac_default_prefix
22405 # Let make expand exec_prefix.
22406 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22408 DEFS=-DHAVE_CONFIG_H
22410 ac_libobjs=
22411 ac_ltlibobjs=
22413 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
22414 # 1. Remove the extension, and $U if already installed.
22415 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
22416 ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
22417 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22418 # will be set to the directory where LIBOBJS objects are built.
22419 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22420 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
22421 done
22422 LIBOBJS=$ac_libobjs
22424 LTLIBOBJS=$ac_ltlibobjs
22428 : "${CONFIG_STATUS=./config.status}"
22429 ac_write_fail=0
22430 ac_clean_files_save=$ac_clean_files
22431 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
22432 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
22433 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
22434 as_write_fail=0
22435 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
22436 #! $SHELL
22437 # Generated by $as_me.
22438 # Run this file to recreate the current configuration.
22439 # Compiler output produced by configure, useful for debugging
22440 # configure, is in config.log if it exists.
22442 debug=false
22443 ac_cs_recheck=false
22444 ac_cs_silent=false
22446 SHELL=\${CONFIG_SHELL-$SHELL}
22447 export SHELL
22448 _ASEOF
22449 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
22450 ## -------------------- ##
22451 ## M4sh Initialization. ##
22452 ## -------------------- ##
22454 # Be more Bourne compatible
22455 DUALCASE=1; export DUALCASE # for MKS sh
22456 as_nop=:
22457 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
22458 then :
22459 emulate sh
22460 NULLCMD=:
22461 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22462 # is contrary to our usage. Disable this feature.
22463 alias -g '${1+"$@"}'='"$@"'
22464 setopt NO_GLOB_SUBST
22465 else $as_nop
22466 case `(set -o) 2>/dev/null` in #(
22467 *posix*) :
22468 set -o posix ;; #(
22469 *) :
22471 esac
22476 # Reset variables that may have inherited troublesome values from
22477 # the environment.
22479 # IFS needs to be set, to space, tab, and newline, in precisely that order.
22480 # (If _AS_PATH_WALK were called with IFS unset, it would have the
22481 # side effect of setting IFS to empty, thus disabling word splitting.)
22482 # Quoting is to prevent editors from complaining about space-tab.
22483 as_nl='
22485 export as_nl
22486 IFS=" "" $as_nl"
22488 PS1='$ '
22489 PS2='> '
22490 PS4='+ '
22492 # Ensure predictable behavior from utilities with locale-dependent output.
22493 LC_ALL=C
22494 export LC_ALL
22495 LANGUAGE=C
22496 export LANGUAGE
22498 # We cannot yet rely on "unset" to work, but we need these variables
22499 # to be unset--not just set to an empty or harmless value--now, to
22500 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
22501 # also avoids known problems related to "unset" and subshell syntax
22502 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
22503 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
22504 do eval test \${$as_var+y} \
22505 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
22506 done
22508 # Ensure that fds 0, 1, and 2 are open.
22509 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
22510 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
22511 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
22513 # The user is always right.
22514 if ${PATH_SEPARATOR+false} :; then
22515 PATH_SEPARATOR=:
22516 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
22517 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
22518 PATH_SEPARATOR=';'
22523 # Find who we are. Look in the path if we contain no directory separator.
22524 as_myself=
22525 case $0 in #((
22526 *[\\/]* ) as_myself=$0 ;;
22527 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22528 for as_dir in $PATH
22530 IFS=$as_save_IFS
22531 case $as_dir in #(((
22532 '') as_dir=./ ;;
22533 */) ;;
22534 *) as_dir=$as_dir/ ;;
22535 esac
22536 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
22537 done
22538 IFS=$as_save_IFS
22541 esac
22542 # We did not find ourselves, most probably we were run as `sh COMMAND'
22543 # in which case we are not to be found in the path.
22544 if test "x$as_myself" = x; then
22545 as_myself=$0
22547 if test ! -f "$as_myself"; then
22548 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22549 exit 1
22554 # as_fn_error STATUS ERROR [LINENO LOG_FD]
22555 # ----------------------------------------
22556 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
22557 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
22558 # script with STATUS, using 1 if that was 0.
22559 as_fn_error ()
22561 as_status=$1; test $as_status -eq 0 && as_status=1
22562 if test "$4"; then
22563 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
22564 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
22566 printf "%s\n" "$as_me: error: $2" >&2
22567 as_fn_exit $as_status
22568 } # as_fn_error
22572 # as_fn_set_status STATUS
22573 # -----------------------
22574 # Set $? to STATUS, without forking.
22575 as_fn_set_status ()
22577 return $1
22578 } # as_fn_set_status
22580 # as_fn_exit STATUS
22581 # -----------------
22582 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
22583 as_fn_exit ()
22585 set +e
22586 as_fn_set_status $1
22587 exit $1
22588 } # as_fn_exit
22590 # as_fn_unset VAR
22591 # ---------------
22592 # Portably unset VAR.
22593 as_fn_unset ()
22595 { eval $1=; unset $1;}
22597 as_unset=as_fn_unset
22599 # as_fn_append VAR VALUE
22600 # ----------------------
22601 # Append the text in VALUE to the end of the definition contained in VAR. Take
22602 # advantage of any shell optimizations that allow amortized linear growth over
22603 # repeated appends, instead of the typical quadratic growth present in naive
22604 # implementations.
22605 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
22606 then :
22607 eval 'as_fn_append ()
22609 eval $1+=\$2
22611 else $as_nop
22612 as_fn_append ()
22614 eval $1=\$$1\$2
22616 fi # as_fn_append
22618 # as_fn_arith ARG...
22619 # ------------------
22620 # Perform arithmetic evaluation on the ARGs, and store the result in the
22621 # global $as_val. Take advantage of shells that can avoid forks. The arguments
22622 # must be portable across $(()) and expr.
22623 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
22624 then :
22625 eval 'as_fn_arith ()
22627 as_val=$(( $* ))
22629 else $as_nop
22630 as_fn_arith ()
22632 as_val=`expr "$@" || test $? -eq 1`
22634 fi # as_fn_arith
22637 if expr a : '\(a\)' >/dev/null 2>&1 &&
22638 test "X`expr 00001 : '.*\(...\)'`" = X001; then
22639 as_expr=expr
22640 else
22641 as_expr=false
22644 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22645 as_basename=basename
22646 else
22647 as_basename=false
22650 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
22651 as_dirname=dirname
22652 else
22653 as_dirname=false
22656 as_me=`$as_basename -- "$0" ||
22657 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22658 X"$0" : 'X\(//\)$' \| \
22659 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22660 printf "%s\n" X/"$0" |
22661 sed '/^.*\/\([^/][^/]*\)\/*$/{
22662 s//\1/
22665 /^X\/\(\/\/\)$/{
22666 s//\1/
22669 /^X\/\(\/\).*/{
22670 s//\1/
22673 s/.*/./; q'`
22675 # Avoid depending upon Character Ranges.
22676 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
22677 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22678 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
22679 as_cr_digits='0123456789'
22680 as_cr_alnum=$as_cr_Letters$as_cr_digits
22683 # Determine whether it's possible to make 'echo' print without a newline.
22684 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
22685 # for compatibility with existing Makefiles.
22686 ECHO_C= ECHO_N= ECHO_T=
22687 case `echo -n x` in #(((((
22688 -n*)
22689 case `echo 'xy\c'` in
22690 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
22691 xy) ECHO_C='\c';;
22692 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
22693 ECHO_T=' ';;
22694 esac;;
22696 ECHO_N='-n';;
22697 esac
22699 # For backward compatibility with old third-party macros, we provide
22700 # the shell variables $as_echo and $as_echo_n. New code should use
22701 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
22702 as_echo='printf %s\n'
22703 as_echo_n='printf %s'
22705 rm -f conf$$ conf$$.exe conf$$.file
22706 if test -d conf$$.dir; then
22707 rm -f conf$$.dir/conf$$.file
22708 else
22709 rm -f conf$$.dir
22710 mkdir conf$$.dir 2>/dev/null
22712 if (echo >conf$$.file) 2>/dev/null; then
22713 if ln -s conf$$.file conf$$ 2>/dev/null; then
22714 as_ln_s='ln -s'
22715 # ... but there are two gotchas:
22716 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22717 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22718 # In both cases, we have to default to `cp -pR'.
22719 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
22720 as_ln_s='cp -pR'
22721 elif ln conf$$.file conf$$ 2>/dev/null; then
22722 as_ln_s=ln
22723 else
22724 as_ln_s='cp -pR'
22726 else
22727 as_ln_s='cp -pR'
22729 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
22730 rmdir conf$$.dir 2>/dev/null
22733 # as_fn_mkdir_p
22734 # -------------
22735 # Create "$as_dir" as a directory, including parents if necessary.
22736 as_fn_mkdir_p ()
22739 case $as_dir in #(
22740 -*) as_dir=./$as_dir;;
22741 esac
22742 test -d "$as_dir" || eval $as_mkdir_p || {
22743 as_dirs=
22744 while :; do
22745 case $as_dir in #(
22746 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
22747 *) as_qdir=$as_dir;;
22748 esac
22749 as_dirs="'$as_qdir' $as_dirs"
22750 as_dir=`$as_dirname -- "$as_dir" ||
22751 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22752 X"$as_dir" : 'X\(//\)[^/]' \| \
22753 X"$as_dir" : 'X\(//\)$' \| \
22754 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22755 printf "%s\n" X"$as_dir" |
22756 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22757 s//\1/
22760 /^X\(\/\/\)[^/].*/{
22761 s//\1/
22764 /^X\(\/\/\)$/{
22765 s//\1/
22768 /^X\(\/\).*/{
22769 s//\1/
22772 s/.*/./; q'`
22773 test -d "$as_dir" && break
22774 done
22775 test -z "$as_dirs" || eval "mkdir $as_dirs"
22776 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
22779 } # as_fn_mkdir_p
22780 if mkdir -p . 2>/dev/null; then
22781 as_mkdir_p='mkdir -p "$as_dir"'
22782 else
22783 test -d ./-p && rmdir ./-p
22784 as_mkdir_p=false
22788 # as_fn_executable_p FILE
22789 # -----------------------
22790 # Test if FILE is an executable regular file.
22791 as_fn_executable_p ()
22793 test -f "$1" && test -x "$1"
22794 } # as_fn_executable_p
22795 as_test_x='test -x'
22796 as_executable_p=as_fn_executable_p
22798 # Sed expression to map a string onto a valid CPP name.
22799 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22801 # Sed expression to map a string onto a valid variable name.
22802 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22805 exec 6>&1
22806 ## ----------------------------------- ##
22807 ## Main body of $CONFIG_STATUS script. ##
22808 ## ----------------------------------- ##
22809 _ASEOF
22810 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
22812 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22813 # Save the log message, to keep $0 and so on meaningful, and to
22814 # report actual input values of CONFIG_FILES etc. instead of their
22815 # values after options handling.
22816 ac_log="
22817 This file was extended by Wine $as_me 7.21, which was
22818 generated by GNU Autoconf 2.71. Invocation command line was
22820 CONFIG_FILES = $CONFIG_FILES
22821 CONFIG_HEADERS = $CONFIG_HEADERS
22822 CONFIG_LINKS = $CONFIG_LINKS
22823 CONFIG_COMMANDS = $CONFIG_COMMANDS
22824 $ $0 $@
22826 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22829 _ACEOF
22832 case $ac_config_headers in *"
22833 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
22834 esac
22837 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22838 # Files that config.status was made for.
22839 config_headers="$ac_config_headers"
22840 config_links="$ac_config_links"
22841 config_commands="$ac_config_commands"
22843 _ACEOF
22845 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22846 ac_cs_usage="\
22847 \`$as_me' instantiates files and other configuration actions
22848 from templates according to the current configuration. Unless the files
22849 and actions are specified as TAGs, all are instantiated by default.
22851 Usage: $0 [OPTION]... [TAG]...
22853 -h, --help print this help, then exit
22854 -V, --version print version number and configuration settings, then exit
22855 --config print configuration, then exit
22856 -q, --quiet, --silent
22857 do not print progress messages
22858 -d, --debug don't remove temporary files
22859 --recheck update $as_me by reconfiguring in the same conditions
22860 --header=FILE[:TEMPLATE]
22861 instantiate the configuration header FILE
22863 Configuration headers:
22864 $config_headers
22866 Configuration links:
22867 $config_links
22869 Configuration commands:
22870 $config_commands
22872 Report bugs to <wine-devel@winehq.org>.
22873 Wine home page: <https://www.winehq.org>."
22875 _ACEOF
22876 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
22877 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
22878 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22879 ac_cs_config='$ac_cs_config_escaped'
22880 ac_cs_version="\\
22881 Wine config.status 7.21
22882 configured by $0, generated by GNU Autoconf 2.71,
22883 with options \\"\$ac_cs_config\\"
22885 Copyright (C) 2021 Free Software Foundation, Inc.
22886 This config.status script is free software; the Free Software Foundation
22887 gives unlimited permission to copy, distribute and modify it."
22889 ac_pwd='$ac_pwd'
22890 srcdir='$srcdir'
22891 test -n "\$AWK" || AWK=awk
22892 _ACEOF
22894 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22895 # The default lists apply if the user does not specify any file.
22896 ac_need_defaults=:
22897 while test $# != 0
22899 case $1 in
22900 --*=?*)
22901 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22902 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
22903 ac_shift=:
22905 --*=)
22906 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22907 ac_optarg=
22908 ac_shift=:
22911 ac_option=$1
22912 ac_optarg=$2
22913 ac_shift=shift
22915 esac
22917 case $ac_option in
22918 # Handling of the options.
22919 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22920 ac_cs_recheck=: ;;
22921 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
22922 printf "%s\n" "$ac_cs_version"; exit ;;
22923 --config | --confi | --conf | --con | --co | --c )
22924 printf "%s\n" "$ac_cs_config"; exit ;;
22925 --debug | --debu | --deb | --de | --d | -d )
22926 debug=: ;;
22927 --header | --heade | --head | --hea )
22928 $ac_shift
22929 case $ac_optarg in
22930 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22931 esac
22932 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
22933 ac_need_defaults=false;;
22934 --he | --h)
22935 # Conflict between --help and --header
22936 as_fn_error $? "ambiguous option: \`$1'
22937 Try \`$0 --help' for more information.";;
22938 --help | --hel | -h )
22939 printf "%s\n" "$ac_cs_usage"; exit ;;
22940 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22941 | -silent | --silent | --silen | --sile | --sil | --si | --s)
22942 ac_cs_silent=: ;;
22944 # This is an error.
22945 -*) as_fn_error $? "unrecognized option: \`$1'
22946 Try \`$0 --help' for more information." ;;
22948 *) as_fn_append ac_config_targets " $1"
22949 ac_need_defaults=false ;;
22951 esac
22952 shift
22953 done
22955 ac_configure_extra_args=
22957 if $ac_cs_silent; then
22958 exec 6>/dev/null
22959 ac_configure_extra_args="$ac_configure_extra_args --silent"
22962 _ACEOF
22963 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22964 if \$ac_cs_recheck; then
22965 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22966 shift
22967 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
22968 CONFIG_SHELL='$SHELL'
22969 export CONFIG_SHELL
22970 exec "\$@"
22973 _ACEOF
22974 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22975 exec 5>>config.log
22977 echo
22978 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22979 ## Running $as_me. ##
22980 _ASBOX
22981 printf "%s\n" "$ac_log"
22982 } >&5
22984 _ACEOF
22985 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22987 # INIT-COMMANDS
22989 wine_fn_output_makedep ()
22991 as_dir=tools; as_fn_mkdir_p
22992 $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
22994 wine_fn_output_makefile ()
22996 cat <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && "$wine_makedep"$makedep_flags && return
22997 # This Makefile understands the following targets:
22999 # all (default): build wine
23000 # clean: remove all intermediate files
23001 # distclean: also remove all files created by configure
23002 # test: run tests
23003 # testclean: clean test results to force running all tests again
23004 # install-lib: install libraries needed to run applications
23005 # install-dev: install development environment
23006 # install: install everything
23007 # uninstall: uninstall everything
23008 # ctags: create a tags file for vim and others.
23009 # etags: create a TAGS file for Emacs.
23011 SHELL = $SHELL
23012 PATH_SEPARATOR = $PATH_SEPARATOR
23013 PACKAGE_NAME = $PACKAGE_NAME
23014 PACKAGE_TARNAME = $PACKAGE_TARNAME
23015 PACKAGE_VERSION = $PACKAGE_VERSION
23016 PACKAGE_STRING = $PACKAGE_STRING
23017 PACKAGE_BUGREPORT = $PACKAGE_BUGREPORT
23018 PACKAGE_URL = $PACKAGE_URL
23019 exec_prefix = $exec_prefix
23020 prefix = $prefix
23021 program_transform_name = $program_transform_name
23022 bindir = $bindir
23023 sbindir = $sbindir
23024 libexecdir = $libexecdir
23025 datarootdir = $datarootdir
23026 datadir = $datadir
23027 sysconfdir = $sysconfdir
23028 sharedstatedir = $sharedstatedir
23029 localstatedir = $localstatedir
23030 runstatedir = $runstatedir
23031 includedir = $includedir
23032 oldincludedir = $oldincludedir
23033 docdir = $docdir
23034 infodir = $infodir
23035 htmldir = $htmldir
23036 dvidir = $dvidir
23037 pdfdir = $pdfdir
23038 psdir = $psdir
23039 libdir = $libdir
23040 localedir = $localedir
23041 mandir = $mandir
23042 DEFS = $DEFS
23043 ECHO_C = $ECHO_C
23044 ECHO_N = $ECHO_N
23045 ECHO_T = $ECHO_T
23046 LIBS = $LIBS
23047 build_alias = $build_alias
23048 host_alias = $host_alias
23049 target_alias = $target_alias
23050 system_dllpath = $system_dllpath
23051 build = $build
23052 build_cpu = $build_cpu
23053 build_vendor = $build_vendor
23054 build_os = $build_os
23055 host = $host
23056 host_cpu = $host_cpu
23057 host_vendor = $host_vendor
23058 host_os = $host_os
23059 dlldir = $dlldir
23060 fontdir = $fontdir
23061 nlsdir = $nlsdir
23062 srcdir = $srcdir
23063 SET_MAKE = $SET_MAKE
23064 CC = $CC
23065 CFLAGS = $CFLAGS
23066 LDFLAGS = $LDFLAGS
23067 CPPFLAGS = $CPPFLAGS
23068 ac_ct_CC = $ac_ct_CC
23069 EXEEXT = $EXEEXT
23070 OBJEXT = $OBJEXT
23071 CXX = $CXX
23072 CXXFLAGS = $CXXFLAGS
23073 ac_ct_CXX = $ac_ct_CXX
23074 CPPBIN = $CPPBIN
23075 LD = $LD
23076 TARGETFLAGS = $TARGETFLAGS
23077 toolsext = $toolsext
23078 HOST_ARCH = $HOST_ARCH
23079 aarch64_CC = $aarch64_CC
23080 aarch64_CFLAGS = $aarch64_CFLAGS
23081 aarch64_EXTRACFLAGS = $aarch64_EXTRACFLAGS
23082 aarch64_LDFLAGS = $aarch64_LDFLAGS
23083 aarch64_DEBUG = $aarch64_DEBUG
23084 aarch64_TARGET = $aarch64_TARGET
23085 aarch64_DELAYLOADFLAG = $aarch64_DELAYLOADFLAG
23086 aarch64_DISABLED_SUBDIRS = $aarch64_DISABLED_SUBDIRS
23087 arm_CC = $arm_CC
23088 arm_CFLAGS = $arm_CFLAGS
23089 arm_EXTRACFLAGS = $arm_EXTRACFLAGS
23090 arm_LDFLAGS = $arm_LDFLAGS
23091 arm_DEBUG = $arm_DEBUG
23092 arm_TARGET = $arm_TARGET
23093 arm_DELAYLOADFLAG = $arm_DELAYLOADFLAG
23094 arm_DISABLED_SUBDIRS = $arm_DISABLED_SUBDIRS
23095 i386_CC = $i386_CC
23096 i386_CFLAGS = $i386_CFLAGS
23097 i386_EXTRACFLAGS = $i386_EXTRACFLAGS
23098 i386_LDFLAGS = $i386_LDFLAGS
23099 i386_DEBUG = $i386_DEBUG
23100 i386_TARGET = $i386_TARGET
23101 i386_DELAYLOADFLAG = $i386_DELAYLOADFLAG
23102 i386_DISABLED_SUBDIRS = $i386_DISABLED_SUBDIRS
23103 x86_64_CC = $x86_64_CC
23104 x86_64_CFLAGS = $x86_64_CFLAGS
23105 x86_64_EXTRACFLAGS = $x86_64_EXTRACFLAGS
23106 x86_64_LDFLAGS = $x86_64_LDFLAGS
23107 x86_64_DEBUG = $x86_64_DEBUG
23108 x86_64_TARGET = $x86_64_TARGET
23109 x86_64_DELAYLOADFLAG = $x86_64_DELAYLOADFLAG
23110 x86_64_DISABLED_SUBDIRS = $x86_64_DISABLED_SUBDIRS
23111 toolsdir = $toolsdir
23112 MAKEDEP = $MAKEDEP
23113 RUNTESTFLAGS = $RUNTESTFLAGS
23114 SED_CMD = $SED_CMD
23115 FLEX = $FLEX
23116 BISON = $BISON
23117 AR = $AR
23118 ac_ct_AR = $ac_ct_AR
23119 STRIP = $STRIP
23120 RANLIB = $RANLIB
23121 LN_S = $LN_S
23122 GREP = $GREP
23123 EGREP = $EGREP
23124 LDCONFIG = $LDCONFIG
23125 MSGFMT = $MSGFMT
23126 PKG_CONFIG = $PKG_CONFIG
23127 FONTFORGE = $FONTFORGE
23128 RSVG = $RSVG
23129 CONVERT = $CONVERT
23130 ICOTOOL = $ICOTOOL
23131 I386_LIBS = $I386_LIBS
23132 OPENGL_LIBS = $OPENGL_LIBS
23133 DLLFLAGS = $DLLFLAGS
23134 LDDLLFLAGS = $LDDLLFLAGS
23135 LDEXECFLAGS = $LDEXECFLAGS
23136 EXTRACFLAGS = $EXTRACFLAGS
23137 UNIXDLLFLAGS = $UNIXDLLFLAGS
23138 UNIXLDFLAGS = $UNIXLDFLAGS
23139 TOP_INSTALL_LIB = $TOP_INSTALL_LIB
23140 TOP_INSTALL_DEV = $TOP_INSTALL_DEV
23141 WINELOADER_LDFLAGS = $WINELOADER_LDFLAGS
23142 WINEPRELOADER_LDFLAGS = $WINEPRELOADER_LDFLAGS
23143 LDD = $LDD
23144 OTOOL = $OTOOL
23145 READELF = $READELF
23146 SUBDIRS = $SUBDIRS
23147 DISABLED_SUBDIRS = $DISABLED_SUBDIRS
23148 CONFIGURE_TARGETS = $CONFIGURE_TARGETS
23149 WINELOADER_PROGRAMS = $WINELOADER_PROGRAMS
23150 OBJC = $OBJC
23151 OBJCFLAGS = $OBJCFLAGS
23152 ac_ct_OBJC = $ac_ct_OBJC
23153 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
23154 IOKIT_LIBS = $IOKIT_LIBS
23155 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
23156 CORESERVICES_LIBS = $CORESERVICES_LIBS
23157 APPKIT_LIBS = $APPKIT_LIBS
23158 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
23159 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
23160 SECURITY_LIBS = $SECURITY_LIBS
23161 COREAUDIO_LIBS = $COREAUDIO_LIBS
23162 OPENCL_LIBS = $OPENCL_LIBS
23163 CARBON_LIBS = $CARBON_LIBS
23164 METAL_LIBS = $METAL_LIBS
23165 LIBWINE_SHAREDLIB = $LIBWINE_SHAREDLIB
23166 LIBWINE_LDFLAGS = $LIBWINE_LDFLAGS
23167 WINELOADER_DEPENDS = $WINELOADER_DEPENDS
23168 PRELINK = $PRELINK
23169 LIBWINE_DEPENDS = $LIBWINE_DEPENDS
23170 PE_ARCHS = $PE_ARCHS
23171 MINGW_PKG_CONFIG = $MINGW_PKG_CONFIG
23172 FAUDIO_PE_CFLAGS = $FAUDIO_PE_CFLAGS
23173 FAUDIO_PE_LIBS = $FAUDIO_PE_LIBS
23174 GSM_PE_CFLAGS = $GSM_PE_CFLAGS
23175 GSM_PE_LIBS = $GSM_PE_LIBS
23176 JPEG_PE_CFLAGS = $JPEG_PE_CFLAGS
23177 JPEG_PE_LIBS = $JPEG_PE_LIBS
23178 JXR_PE_CFLAGS = $JXR_PE_CFLAGS
23179 JXR_PE_LIBS = $JXR_PE_LIBS
23180 LCMS2_PE_CFLAGS = $LCMS2_PE_CFLAGS
23181 LCMS2_PE_LIBS = $LCMS2_PE_LIBS
23182 LDAP_PE_CFLAGS = $LDAP_PE_CFLAGS
23183 LDAP_PE_LIBS = $LDAP_PE_LIBS
23184 MPG123_PE_CFLAGS = $MPG123_PE_CFLAGS
23185 MPG123_PE_LIBS = $MPG123_PE_LIBS
23186 PNG_PE_CFLAGS = $PNG_PE_CFLAGS
23187 PNG_PE_LIBS = $PNG_PE_LIBS
23188 TIFF_PE_CFLAGS = $TIFF_PE_CFLAGS
23189 TIFF_PE_LIBS = $TIFF_PE_LIBS
23190 VKD3D_PE_CFLAGS = $VKD3D_PE_CFLAGS
23191 VKD3D_PE_LIBS = $VKD3D_PE_LIBS
23192 XML2_PE_CFLAGS = $XML2_PE_CFLAGS
23193 XML2_PE_LIBS = $XML2_PE_LIBS
23194 XSLT_PE_CFLAGS = $XSLT_PE_CFLAGS
23195 XSLT_PE_LIBS = $XSLT_PE_LIBS
23196 ZLIB_PE_CFLAGS = $ZLIB_PE_CFLAGS
23197 ZLIB_PE_LIBS = $ZLIB_PE_LIBS
23198 PTHREAD_LIBS = $PTHREAD_LIBS
23199 XMKMF = $XMKMF
23200 CPP = $CPP
23201 X_CFLAGS = $X_CFLAGS
23202 X_PRE_LIBS = $X_PRE_LIBS
23203 X_LIBS = $X_LIBS
23204 X_EXTRA_LIBS = $X_EXTRA_LIBS
23205 PCAP_LIBS = $PCAP_LIBS
23206 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
23207 INOTIFY_LIBS = $INOTIFY_LIBS
23208 DBUS_CFLAGS = $DBUS_CFLAGS
23209 DBUS_LIBS = $DBUS_LIBS
23210 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
23211 GNUTLS_LIBS = $GNUTLS_LIBS
23212 SANE_CFLAGS = $SANE_CFLAGS
23213 SANE_LIBS = $SANE_LIBS
23214 USB_CFLAGS = $USB_CFLAGS
23215 USB_LIBS = $USB_LIBS
23216 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
23217 GPHOTO2_LIBS = $GPHOTO2_LIBS
23218 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
23219 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
23220 RESOLV_LIBS = $RESOLV_LIBS
23221 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
23222 FREETYPE_LIBS = $FREETYPE_LIBS
23223 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
23224 PULSE_CFLAGS = $PULSE_CFLAGS
23225 PULSE_LIBS = $PULSE_LIBS
23226 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
23227 GSTREAMER_LIBS = $GSTREAMER_LIBS
23228 ALSA_LIBS = $ALSA_LIBS
23229 OSS4_CFLAGS = $OSS4_CFLAGS
23230 OSS4_LIBS = $OSS4_LIBS
23231 UDEV_CFLAGS = $UDEV_CFLAGS
23232 UDEV_LIBS = $UDEV_LIBS
23233 UNWIND_CFLAGS = $UNWIND_CFLAGS
23234 UNWIND_LIBS = $UNWIND_LIBS
23235 SDL2_CFLAGS = $SDL2_CFLAGS
23236 SDL2_LIBS = $SDL2_LIBS
23237 CAPI20_CFLAGS = $CAPI20_CFLAGS
23238 CAPI20_LIBS = $CAPI20_LIBS
23239 CUPS_CFLAGS = $CUPS_CFLAGS
23240 CUPS_LIBS = $CUPS_LIBS
23241 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
23242 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
23243 KRB5_CFLAGS = $KRB5_CFLAGS
23244 KRB5_LIBS = $KRB5_LIBS
23245 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
23246 GSSAPI_LIBS = $GSSAPI_LIBS
23247 PROCSTAT_LIBS = $PROCSTAT_LIBS
23248 NETAPI_CFLAGS = $NETAPI_CFLAGS
23249 NETAPI_LIBS = $NETAPI_LIBS
23250 MSVCRTFLAGS = $MSVCRTFLAGS
23251 DELAYLOADFLAG = $DELAYLOADFLAG
23252 RT_LIBS = $RT_LIBS
23253 TAGSFLAGS = $TAGSFLAGS
23254 LIBOBJS = $LIBOBJS
23255 LTLIBOBJS = $LTLIBOBJS
23256 $SET_MAKE
23257 $wine_rules
23258 _WINE_EOF
23259 as_fn_error $? "could not create Makefile" "$LINENO" 5
23262 _ACEOF
23264 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23266 # Handling of arguments.
23267 for ac_config_target in $ac_config_targets
23269 case $ac_config_target in
23270 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
23271 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
23272 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
23273 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
23274 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
23275 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
23277 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
23278 esac
23279 done
23282 # If the user did not use the arguments to specify the items to instantiate,
23283 # then the envvar interface is used. Set only those that are not.
23284 # We use the long form for the default assignment because of an extremely
23285 # bizarre bug on SunOS 4.1.3.
23286 if $ac_need_defaults; then
23287 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
23288 test ${CONFIG_LINKS+y} || CONFIG_LINKS=$config_links
23289 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
23292 # Have a temporary directory for convenience. Make it in the build tree
23293 # simply because there is no reason against having it here, and in addition,
23294 # creating and moving files from /tmp can sometimes cause problems.
23295 # Hook for its removal unless debugging.
23296 # Note that there is a small window in which the directory will not be cleaned:
23297 # after its creation but before its name has been assigned to `$tmp'.
23298 $debug ||
23300 tmp= ac_tmp=
23301 trap 'exit_status=$?
23302 : "${ac_tmp:=$tmp}"
23303 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
23305 trap 'as_fn_exit 1' 1 2 13 15
23307 # Create a (secure) tmp directory for tmp files.
23310 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23311 test -d "$tmp"
23312 } ||
23314 tmp=./conf$$-$RANDOM
23315 (umask 077 && mkdir "$tmp")
23316 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
23317 ac_tmp=$tmp
23319 # Set up the scripts for CONFIG_HEADERS section.
23320 # No need to generate them if there are no CONFIG_HEADERS.
23321 # This happens for instance with `./config.status Makefile'.
23322 if test -n "$CONFIG_HEADERS"; then
23323 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
23324 BEGIN {
23325 _ACEOF
23327 # Transform confdefs.h into an awk script `defines.awk', embedded as
23328 # here-document in config.status, that substitutes the proper values into
23329 # config.h.in to produce config.h.
23331 # Create a delimiter string that does not exist in confdefs.h, to ease
23332 # handling of long lines.
23333 ac_delim='%!_!# '
23334 for ac_last_try in false false :; do
23335 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
23336 if test -z "$ac_tt"; then
23337 break
23338 elif $ac_last_try; then
23339 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
23340 else
23341 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23343 done
23345 # For the awk script, D is an array of macro values keyed by name,
23346 # likewise P contains macro parameters if any. Preserve backslash
23347 # newline sequences.
23349 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
23350 sed -n '
23351 s/.\{148\}/&'"$ac_delim"'/g
23352 t rset
23353 :rset
23354 s/^[ ]*#[ ]*define[ ][ ]*/ /
23355 t def
23357 :def
23358 s/\\$//
23359 t bsnl
23360 s/["\\]/\\&/g
23361 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23362 D["\1"]=" \3"/p
23363 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
23365 :bsnl
23366 s/["\\]/\\&/g
23367 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23368 D["\1"]=" \3\\\\\\n"\\/p
23369 t cont
23370 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
23371 t cont
23373 :cont
23375 s/.\{148\}/&'"$ac_delim"'/g
23376 t clear
23377 :clear
23378 s/\\$//
23379 t bsnlc
23380 s/["\\]/\\&/g; s/^/"/; s/$/"/p
23382 :bsnlc
23383 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
23384 b cont
23385 ' <confdefs.h | sed '
23386 s/'"$ac_delim"'/"\\\
23387 "/g' >>$CONFIG_STATUS || ac_write_fail=1
23389 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23390 for (key in D) D_is_set[key] = 1
23391 FS = "\a"
23393 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
23394 line = \$ 0
23395 split(line, arg, " ")
23396 if (arg[1] == "#") {
23397 defundef = arg[2]
23398 mac1 = arg[3]
23399 } else {
23400 defundef = substr(arg[1], 2)
23401 mac1 = arg[2]
23403 split(mac1, mac2, "(") #)
23404 macro = mac2[1]
23405 prefix = substr(line, 1, index(line, defundef) - 1)
23406 if (D_is_set[macro]) {
23407 # Preserve the white space surrounding the "#".
23408 print prefix "define", macro P[macro] D[macro]
23409 next
23410 } else {
23411 # Replace #undef with comments. This is necessary, for example,
23412 # in the case of _POSIX_SOURCE, which is predefined and required
23413 # on some systems where configure will not decide to define it.
23414 if (defundef == "undef") {
23415 print "/*", prefix defundef, macro, "*/"
23416 next
23420 { print }
23421 _ACAWK
23422 _ACEOF
23423 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23424 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
23425 fi # test -n "$CONFIG_HEADERS"
23428 eval set X " :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
23429 shift
23430 for ac_tag
23432 case $ac_tag in
23433 :[FHLC]) ac_mode=$ac_tag; continue;;
23434 esac
23435 case $ac_mode$ac_tag in
23436 :[FHL]*:*);;
23437 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
23438 :[FH]-) ac_tag=-:-;;
23439 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
23440 esac
23441 ac_save_IFS=$IFS
23442 IFS=:
23443 set x $ac_tag
23444 IFS=$ac_save_IFS
23445 shift
23446 ac_file=$1
23447 shift
23449 case $ac_mode in
23450 :L) ac_source=$1;;
23451 :[FH])
23452 ac_file_inputs=
23453 for ac_f
23455 case $ac_f in
23456 -) ac_f="$ac_tmp/stdin";;
23457 *) # Look for the file first in the build tree, then in the source tree
23458 # (if the path is not absolute). The absolute path cannot be DOS-style,
23459 # because $ac_f cannot contain `:'.
23460 test -f "$ac_f" ||
23461 case $ac_f in
23462 [\\/$]*) false;;
23463 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
23464 esac ||
23465 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
23466 esac
23467 case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
23468 as_fn_append ac_file_inputs " '$ac_f'"
23469 done
23471 # Let's still pretend it is `configure' which instantiates (i.e., don't
23472 # use $as_me), people would be surprised to read:
23473 # /* config.h. Generated by config.status. */
23474 configure_input='Generated from '`
23475 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
23476 `' by configure.'
23477 if test x"$ac_file" != x-; then
23478 configure_input="$ac_file. $configure_input"
23479 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
23480 printf "%s\n" "$as_me: creating $ac_file" >&6;}
23482 # Neutralize special characters interpreted by sed in replacement strings.
23483 case $configure_input in #(
23484 *\&* | *\|* | *\\* )
23485 ac_sed_conf_input=`printf "%s\n" "$configure_input" |
23486 sed 's/[\\\\&|]/\\\\&/g'`;; #(
23487 *) ac_sed_conf_input=$configure_input;;
23488 esac
23490 case $ac_tag in
23491 *:-:* | *:-) cat >"$ac_tmp/stdin" \
23492 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
23493 esac
23495 esac
23497 ac_dir=`$as_dirname -- "$ac_file" ||
23498 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23499 X"$ac_file" : 'X\(//\)[^/]' \| \
23500 X"$ac_file" : 'X\(//\)$' \| \
23501 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23502 printf "%s\n" X"$ac_file" |
23503 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23504 s//\1/
23507 /^X\(\/\/\)[^/].*/{
23508 s//\1/
23511 /^X\(\/\/\)$/{
23512 s//\1/
23515 /^X\(\/\).*/{
23516 s//\1/
23519 s/.*/./; q'`
23520 as_dir="$ac_dir"; as_fn_mkdir_p
23521 ac_builddir=.
23523 case "$ac_dir" in
23524 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
23526 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
23527 # A ".." for each directory in $ac_dir_suffix.
23528 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
23529 case $ac_top_builddir_sub in
23530 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
23531 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
23532 esac ;;
23533 esac
23534 ac_abs_top_builddir=$ac_pwd
23535 ac_abs_builddir=$ac_pwd$ac_dir_suffix
23536 # for backward compatibility:
23537 ac_top_builddir=$ac_top_build_prefix
23539 case $srcdir in
23540 .) # We are building in place.
23541 ac_srcdir=.
23542 ac_top_srcdir=$ac_top_builddir_sub
23543 ac_abs_top_srcdir=$ac_pwd ;;
23544 [\\/]* | ?:[\\/]* ) # Absolute name.
23545 ac_srcdir=$srcdir$ac_dir_suffix;
23546 ac_top_srcdir=$srcdir
23547 ac_abs_top_srcdir=$srcdir ;;
23548 *) # Relative name.
23549 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
23550 ac_top_srcdir=$ac_top_build_prefix$srcdir
23551 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
23552 esac
23553 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
23556 case $ac_mode in
23560 # CONFIG_HEADER
23562 if test x"$ac_file" != x-; then
23564 printf "%s\n" "/* $configure_input */" >&1 \
23565 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
23566 } >"$ac_tmp/config.h" \
23567 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23568 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
23569 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
23570 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
23571 else
23572 rm -f "$ac_file"
23573 mv "$ac_tmp/config.h" "$ac_file" \
23574 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23576 else
23577 printf "%s\n" "/* $configure_input */" >&1 \
23578 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
23579 || as_fn_error $? "could not create -" "$LINENO" 5
23584 # CONFIG_LINK
23587 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
23589 else
23590 # Prefer the file from the source tree if names are identical.
23591 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
23592 ac_source=$srcdir/$ac_source
23595 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
23596 printf "%s\n" "$as_me: linking $ac_source to $ac_file" >&6;}
23598 if test ! -r "$ac_source"; then
23599 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
23601 rm -f "$ac_file"
23603 # Try a relative symlink, then a hard link, then a copy.
23604 case $ac_source in
23605 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
23606 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
23607 esac
23608 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
23609 ln "$ac_source" "$ac_file" 2>/dev/null ||
23610 cp -p "$ac_source" "$ac_file" ||
23611 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
23614 :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
23615 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
23617 esac
23620 case $ac_file$ac_mode in
23621 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
23622 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
23623 "Makefile":C) wine_fn_output_makefile Makefile ;;
23625 esac
23626 done # for ac_tag
23629 as_fn_exit 0
23630 _ACEOF
23631 ac_clean_files=$ac_clean_files_save
23633 test $ac_write_fail = 0 ||
23634 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
23637 # configure is writing to config.log, and then calls config.status.
23638 # config.status does its own redirection, appending to config.log.
23639 # Unfortunately, on DOS this fails, as config.log is still kept open
23640 # by configure, so config.status won't be able to write to it; its
23641 # output is simply discarded. So we exec the FD to /dev/null,
23642 # effectively closing config.log, so it can be properly (re)opened and
23643 # appended to by config.status. When coming back to configure, we
23644 # need to make the FD available again.
23645 if test "$no_create" != yes; then
23646 ac_cs_success=:
23647 ac_config_status_args=
23648 test "$silent" = yes &&
23649 ac_config_status_args="$ac_config_status_args --quiet"
23650 exec 5>/dev/null
23651 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
23652 exec 5>>config.log
23653 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23654 # would make configure fail if this is the last instruction.
23655 $ac_cs_success || as_fn_exit 1
23657 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
23658 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
23659 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
23663 if test "$no_create" = "yes"
23664 then
23665 exit 0
23668 ac_save_IFS="$IFS"
23669 if test "x$wine_notices" != x; then
23670 echo >&6
23671 IFS="|"
23672 for msg in $wine_notices; do
23673 IFS="$ac_save_IFS"
23674 if ${msg:+false} :
23675 then :
23677 else $as_nop
23678 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $msg" >&5
23679 printf "%s\n" "$as_me: $msg" >&6;}
23681 done
23683 IFS="|"
23684 for msg in $wine_warnings; do
23685 IFS="$ac_save_IFS"
23686 if ${msg:+false} :
23687 then :
23689 else $as_nop
23690 echo >&2
23691 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
23692 printf "%s\n" "$as_me: WARNING: $msg" >&2;}
23694 done
23695 IFS="$ac_save_IFS"
23697 printf "%s\n" "
23698 $as_me: Finished. Do '${ac_make}' to compile Wine.
23699 " >&6