msvcrt: Fix _wdupenv_s behavior with missing env var.
[wine.git] / configure
blobf3ef73cc21cb58ab7a17e787814a8e677cdc56b2
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.71 for Wine 8.2.
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='8.2'
615 PACKAGE_STRING='Wine 8.2'
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 WINELOADER_PROGRAMS
657 DELAYLOADFLAG
658 MSVCRTFLAGS
659 NETAPI_LIBS
660 NETAPI_CFLAGS
661 PROCSTAT_LIBS
662 GSSAPI_LIBS
663 GSSAPI_CFLAGS
664 KRB5_LIBS
665 KRB5_CFLAGS
666 FONTCONFIG_LIBS
667 FONTCONFIG_CFLAGS
668 CUPS_LIBS
669 CUPS_CFLAGS
670 CAPI20_LIBS
671 CAPI20_CFLAGS
672 SDL2_LIBS
673 SDL2_CFLAGS
674 UNWIND_LIBS
675 UNWIND_CFLAGS
676 UDEV_LIBS
677 UDEV_CFLAGS
678 OSS4_LIBS
679 OSS4_CFLAGS
680 ALSA_LIBS
681 GSTREAMER_LIBS
682 GSTREAMER_CFLAGS
683 PULSE_LIBS
684 PULSE_CFLAGS
685 GETTEXTPO_LIBS
686 FREETYPE_LIBS
687 FREETYPE_CFLAGS
688 RESOLV_LIBS
689 GPHOTO2_PORT_LIBS
690 GPHOTO2_PORT_CFLAGS
691 GPHOTO2_LIBS
692 GPHOTO2_CFLAGS
693 USB_LIBS
694 USB_CFLAGS
695 SANE_LIBS
696 SANE_CFLAGS
697 GNUTLS_LIBS
698 GNUTLS_CFLAGS
699 DBUS_LIBS
700 DBUS_CFLAGS
701 INOTIFY_LIBS
702 INOTIFY_CFLAGS
703 PCSCLITE_LIBS
704 PCAP_LIBS
705 X_EXTRA_LIBS
706 X_LIBS
707 X_PRE_LIBS
708 X_CFLAGS
710 XMKMF
711 PTHREAD_LIBS
712 ZLIB_PE_LIBS
713 ZLIB_PE_CFLAGS
714 XSLT_PE_LIBS
715 XSLT_PE_CFLAGS
716 XML2_PE_LIBS
717 XML2_PE_CFLAGS
718 VKD3D_PE_LIBS
719 VKD3D_PE_CFLAGS
720 TIFF_PE_LIBS
721 TIFF_PE_CFLAGS
722 PNG_PE_LIBS
723 PNG_PE_CFLAGS
724 MPG123_PE_LIBS
725 MPG123_PE_CFLAGS
726 LDAP_PE_LIBS
727 LDAP_PE_CFLAGS
728 LCMS2_PE_LIBS
729 LCMS2_PE_CFLAGS
730 JXR_PE_LIBS
731 JXR_PE_CFLAGS
732 JPEG_PE_LIBS
733 JPEG_PE_CFLAGS
734 GSM_PE_LIBS
735 GSM_PE_CFLAGS
736 FAUDIO_PE_LIBS
737 FAUDIO_PE_CFLAGS
738 MINGW_PKG_CONFIG
739 PE_ARCHS
740 LIBWINE_DEPENDS
741 PRELINK
742 WINELOADER_DEPENDS
743 LIBWINE_LDFLAGS
744 LIBWINE_SHAREDLIB
745 ac_ct_OBJC
746 OBJCFLAGS
747 OBJC
748 OPENCL_LIBS
749 COREAUDIO_LIBS
750 SYSTEMCONFIGURATION_LIBS
751 SECURITY_LIBS
752 APPKIT_LIBS
753 CORESERVICES_LIBS
754 APPLICATIONSERVICES_LIBS
755 METAL_LIBS
756 IOKIT_LIBS
757 DISKARBITRATION_LIBS
758 COREFOUNDATION_LIBS
759 CARBON_LIBS
760 CONFIGURE_TARGETS
761 DISABLED_SUBDIRS
762 SUBDIRS
763 READELF
764 OTOOL
766 WINEPRELOADER_LDFLAGS
767 WINELOADER_LDFLAGS
768 TOP_INSTALL_DEV
769 TOP_INSTALL_LIB
770 UNIXLDFLAGS
771 UNIXDLLFLAGS
772 EXTRACFLAGS
773 LDEXECFLAGS
774 LDDLLFLAGS
775 DLLFLAGS
776 OPENGL_LIBS
777 I386_LIBS
778 ICOTOOL
779 CONVERT
780 RSVG
781 FONTFORGE
782 PKG_CONFIG
783 MSGFMT
784 LDCONFIG
785 EGREP
786 GREP
787 LN_S
788 RANLIB
789 STRIP
790 ac_ct_AR
792 BISON
793 FLEX
794 SED_CMD
795 RUNTESTFLAGS
796 MAKEDEP
797 toolsdir
798 x86_64_DISABLED_SUBDIRS
799 x86_64_DELAYLOADFLAG
800 x86_64_TARGET
801 x86_64_DEBUG
802 x86_64_LDFLAGS
803 x86_64_EXTRACFLAGS
804 x86_64_CFLAGS
805 x86_64_CC
806 i386_DISABLED_SUBDIRS
807 i386_DELAYLOADFLAG
808 i386_TARGET
809 i386_DEBUG
810 i386_LDFLAGS
811 i386_EXTRACFLAGS
812 i386_CFLAGS
813 i386_CC
814 arm_DISABLED_SUBDIRS
815 arm_DELAYLOADFLAG
816 arm_TARGET
817 arm_DEBUG
818 arm_LDFLAGS
819 arm_EXTRACFLAGS
820 arm_CFLAGS
821 arm_CC
822 aarch64_DISABLED_SUBDIRS
823 aarch64_DELAYLOADFLAG
824 aarch64_TARGET
825 aarch64_DEBUG
826 aarch64_LDFLAGS
827 aarch64_EXTRACFLAGS
828 aarch64_CFLAGS
829 aarch64_CC
830 HOST_ARCH
831 toolsext
832 TARGETFLAGS
834 CPPBIN
835 ac_ct_CXX
836 CXXFLAGS
838 OBJEXT
839 EXEEXT
840 ac_ct_CC
841 CPPFLAGS
842 LDFLAGS
843 CFLAGS
845 SET_MAKE
846 srcdir
847 nlsdir
848 fontdir
849 dlldir
850 host_os
851 host_vendor
852 host_cpu
853 host
854 build_os
855 build_vendor
856 build_cpu
857 build
858 system_dllpath
859 target_alias
860 host_alias
861 build_alias
862 LIBS
863 ECHO_T
864 ECHO_N
865 ECHO_C
866 DEFS
867 mandir
868 localedir
869 libdir
870 psdir
871 pdfdir
872 dvidir
873 htmldir
874 infodir
875 docdir
876 oldincludedir
877 includedir
878 runstatedir
879 localstatedir
880 sharedstatedir
881 sysconfdir
882 datadir
883 datarootdir
884 libexecdir
885 sbindir
886 bindir
887 program_transform_name
888 prefix
889 exec_prefix
890 PACKAGE_URL
891 PACKAGE_BUGREPORT
892 PACKAGE_STRING
893 PACKAGE_VERSION
894 PACKAGE_TARNAME
895 PACKAGE_NAME
896 PATH_SEPARATOR
897 SHELL'
898 ac_subst_files=''
899 ac_user_opts='
900 enable_option_checking
901 enable_archs
902 enable_win16
903 enable_win64
904 enable_tests
905 enable_build_id
906 enable_maintainer_mode
907 enable_silent_rules
908 enable_werror
909 with_alsa
910 with_capi
911 with_coreaudio
912 with_cups
913 with_dbus
914 with_float_abi
915 with_fontconfig
916 with_freetype
917 with_gettext
918 with_gettextpo
919 with_gphoto
920 with_gnutls
921 with_gssapi
922 with_gstreamer
923 with_inotify
924 with_krb5
925 with_mingw
926 with_netapi
927 with_opencl
928 with_opengl
929 with_osmesa
930 with_oss
931 with_pcap
932 with_pcsclite
933 with_pthread
934 with_pulse
935 with_sane
936 with_sdl
937 with_udev
938 with_unwind
939 with_usb
940 with_v4l2
941 with_vulkan
942 with_xcomposite
943 with_xcursor
944 with_xfixes
945 with_xinerama
946 with_xinput
947 with_xinput2
948 with_xrandr
949 with_xrender
950 with_xshape
951 with_xshm
952 with_xxf86vm
953 with_system_dllpath
954 with_wine_tools
955 with_wine64
956 enable_largefile
957 with_x
958 enable_acledit
959 enable_aclui
960 enable_activeds_tlb
961 enable_activeds
962 enable_actxprxy
963 enable_adsldp
964 enable_adsldpc
965 enable_advapi32
966 enable_advpack
967 enable_amsi
968 enable_amstream
969 enable_apisetschema
970 enable_apphelp
971 enable_appwiz_cpl
972 enable_atl
973 enable_atl100
974 enable_atl110
975 enable_atl80
976 enable_atl90
977 enable_atlthunk
978 enable_atmlib
979 enable_authz
980 enable_avicap32
981 enable_avifil32
982 enable_avrt
983 enable_bcrypt
984 enable_bluetoothapis
985 enable_browseui
986 enable_bthprops_cpl
987 enable_cabinet
988 enable_capi2032
989 enable_cards
990 enable_cdosys
991 enable_cfgmgr32
992 enable_clusapi
993 enable_cng_sys
994 enable_combase
995 enable_comcat
996 enable_comctl32
997 enable_comdlg32
998 enable_compstui
999 enable_comsvcs
1000 enable_concrt140
1001 enable_connect
1002 enable_credui
1003 enable_crtdll
1004 enable_crypt32
1005 enable_cryptdlg
1006 enable_cryptdll
1007 enable_cryptext
1008 enable_cryptnet
1009 enable_cryptowinrt
1010 enable_cryptsp
1011 enable_cryptui
1012 enable_ctapi32
1013 enable_ctl3d32
1014 enable_d2d1
1015 enable_d3d10
1016 enable_d3d10_1
1017 enable_d3d10core
1018 enable_d3d11
1019 enable_d3d12
1020 enable_d3d12core
1021 enable_d3d8
1022 enable_d3d8thk
1023 enable_d3d9
1024 enable_d3dcompiler_33
1025 enable_d3dcompiler_34
1026 enable_d3dcompiler_35
1027 enable_d3dcompiler_36
1028 enable_d3dcompiler_37
1029 enable_d3dcompiler_38
1030 enable_d3dcompiler_39
1031 enable_d3dcompiler_40
1032 enable_d3dcompiler_41
1033 enable_d3dcompiler_42
1034 enable_d3dcompiler_43
1035 enable_d3dcompiler_46
1036 enable_d3dcompiler_47
1037 enable_d3dim
1038 enable_d3dim700
1039 enable_d3drm
1040 enable_d3dx10_33
1041 enable_d3dx10_34
1042 enable_d3dx10_35
1043 enable_d3dx10_36
1044 enable_d3dx10_37
1045 enable_d3dx10_38
1046 enable_d3dx10_39
1047 enable_d3dx10_40
1048 enable_d3dx10_41
1049 enable_d3dx10_42
1050 enable_d3dx10_43
1051 enable_d3dx11_42
1052 enable_d3dx11_43
1053 enable_d3dx9_24
1054 enable_d3dx9_25
1055 enable_d3dx9_26
1056 enable_d3dx9_27
1057 enable_d3dx9_28
1058 enable_d3dx9_29
1059 enable_d3dx9_30
1060 enable_d3dx9_31
1061 enable_d3dx9_32
1062 enable_d3dx9_33
1063 enable_d3dx9_34
1064 enable_d3dx9_35
1065 enable_d3dx9_36
1066 enable_d3dx9_37
1067 enable_d3dx9_38
1068 enable_d3dx9_39
1069 enable_d3dx9_40
1070 enable_d3dx9_41
1071 enable_d3dx9_42
1072 enable_d3dx9_43
1073 enable_d3dxof
1074 enable_davclnt
1075 enable_dbgeng
1076 enable_dbghelp
1077 enable_dciman32
1078 enable_dcomp
1079 enable_ddraw
1080 enable_ddrawex
1081 enable_devenum
1082 enable_dhcpcsvc
1083 enable_dhcpcsvc6
1084 enable_dhtmled_ocx
1085 enable_diasymreader
1086 enable_difxapi
1087 enable_dinput
1088 enable_dinput8
1089 enable_directmanipulation
1090 enable_dispex
1091 enable_dmband
1092 enable_dmcompos
1093 enable_dmime
1094 enable_dmloader
1095 enable_dmscript
1096 enable_dmstyle
1097 enable_dmsynth
1098 enable_dmusic
1099 enable_dmusic32
1100 enable_dnsapi
1101 enable_dplay
1102 enable_dplayx
1103 enable_dpnaddr
1104 enable_dpnet
1105 enable_dpnhpast
1106 enable_dpnhupnp
1107 enable_dpnlobby
1108 enable_dpvoice
1109 enable_dpwsockx
1110 enable_drmclien
1111 enable_dsdmo
1112 enable_dsound
1113 enable_dsquery
1114 enable_dssenh
1115 enable_dsuiext
1116 enable_dswave
1117 enable_dwmapi
1118 enable_dwrite
1119 enable_dx8vb
1120 enable_dxdiagn
1121 enable_dxgi
1122 enable_dxtrans
1123 enable_dxva2
1124 enable_esent
1125 enable_evr
1126 enable_explorerframe
1127 enable_faultrep
1128 enable_feclient
1129 enable_fltlib
1130 enable_fltmgr_sys
1131 enable_fntcache
1132 enable_fontsub
1133 enable_fusion
1134 enable_fwpuclnt
1135 enable_gameux
1136 enable_gamingtcui
1137 enable_gdi32
1138 enable_gdiplus
1139 enable_glu32
1140 enable_gphoto2_ds
1141 enable_gpkcsp
1142 enable_hal
1143 enable_hhctrl_ocx
1144 enable_hid
1145 enable_hidclass_sys
1146 enable_hidparse_sys
1147 enable_hlink
1148 enable_hnetcfg
1149 enable_http_sys
1150 enable_httpapi
1151 enable_ia2comproxy
1152 enable_iccvid
1153 enable_icmp
1154 enable_ieframe
1155 enable_ieproxy
1156 enable_imaadp32_acm
1157 enable_imagehlp
1158 enable_imm32
1159 enable_inetcomm
1160 enable_inetcpl_cpl
1161 enable_inetmib1
1162 enable_infosoft
1163 enable_initpki
1164 enable_inkobj
1165 enable_inseng
1166 enable_iphlpapi
1167 enable_iprop
1168 enable_ir50_32
1169 enable_irprops_cpl
1170 enable_itircl
1171 enable_itss
1172 enable_joy_cpl
1173 enable_jscript
1174 enable_jsproxy
1175 enable_kerberos
1176 enable_kernel32
1177 enable_kernelbase
1178 enable_ksecdd_sys
1179 enable_ksproxy_ax
1180 enable_ksuser
1181 enable_ktmw32
1182 enable_l3codeca_acm
1183 enable_light_msstyles
1184 enable_loadperf
1185 enable_localspl
1186 enable_localui
1187 enable_lz32
1188 enable_mapi32
1189 enable_mapistub
1190 enable_mciavi32
1191 enable_mcicda
1192 enable_mciqtz32
1193 enable_mciseq
1194 enable_mciwave
1195 enable_mf
1196 enable_mf3216
1197 enable_mferror
1198 enable_mfmediaengine
1199 enable_mfplat
1200 enable_mfplay
1201 enable_mfreadwrite
1202 enable_mfsrcsnk
1203 enable_mgmtapi
1204 enable_midimap
1205 enable_mlang
1206 enable_mmcndmgr
1207 enable_mmdevapi
1208 enable_mountmgr_sys
1209 enable_mp3dmod
1210 enable_mpr
1211 enable_mprapi
1212 enable_msacm32_drv
1213 enable_msacm32
1214 enable_msado15
1215 enable_msadp32_acm
1216 enable_msasn1
1217 enable_msauddecmft
1218 enable_mscat32
1219 enable_mscms
1220 enable_mscoree
1221 enable_mscorwks
1222 enable_msctf
1223 enable_msctfmonitor
1224 enable_msctfp
1225 enable_msdaps
1226 enable_msdasql
1227 enable_msdelta
1228 enable_msdmo
1229 enable_msdrm
1230 enable_msftedit
1231 enable_msg711_acm
1232 enable_msgsm32_acm
1233 enable_mshtml_tlb
1234 enable_mshtml
1235 enable_msi
1236 enable_msident
1237 enable_msimg32
1238 enable_msimsg
1239 enable_msimtf
1240 enable_msisip
1241 enable_msisys_ocx
1242 enable_msls31
1243 enable_msmpeg2vdec
1244 enable_msnet32
1245 enable_mspatcha
1246 enable_msports
1247 enable_msrle32
1248 enable_msscript_ocx
1249 enable_mssign32
1250 enable_mssip32
1251 enable_mstask
1252 enable_msv1_0
1253 enable_msvcirt
1254 enable_msvcm80
1255 enable_msvcm90
1256 enable_msvcp100
1257 enable_msvcp110
1258 enable_msvcp120
1259 enable_msvcp120_app
1260 enable_msvcp140
1261 enable_msvcp140_1
1262 enable_msvcp140_2
1263 enable_msvcp140_atomic_wait
1264 enable_msvcp60
1265 enable_msvcp70
1266 enable_msvcp71
1267 enable_msvcp80
1268 enable_msvcp90
1269 enable_msvcp_win
1270 enable_msvcr100
1271 enable_msvcr110
1272 enable_msvcr120
1273 enable_msvcr120_app
1274 enable_msvcr70
1275 enable_msvcr71
1276 enable_msvcr80
1277 enable_msvcr90
1278 enable_msvcrt
1279 enable_msvcrt20
1280 enable_msvcrt40
1281 enable_msvcrtd
1282 enable_msvfw32
1283 enable_msvidc32
1284 enable_mswsock
1285 enable_msxml
1286 enable_msxml2
1287 enable_msxml3
1288 enable_msxml4
1289 enable_msxml6
1290 enable_mtxdm
1291 enable_ncrypt
1292 enable_nddeapi
1293 enable_ndis_sys
1294 enable_netapi32
1295 enable_netcfgx
1296 enable_netio_sys
1297 enable_netprofm
1298 enable_netutils
1299 enable_newdev
1300 enable_ninput
1301 enable_normaliz
1302 enable_npmshtml
1303 enable_npptools
1304 enable_nsi
1305 enable_nsiproxy_sys
1306 enable_ntdll
1307 enable_ntdsapi
1308 enable_ntoskrnl_exe
1309 enable_ntprint
1310 enable_objsel
1311 enable_odbc32
1312 enable_odbcbcp
1313 enable_odbccp32
1314 enable_odbccu32
1315 enable_ole32
1316 enable_oleacc
1317 enable_oleaut32
1318 enable_olecli32
1319 enable_oledb32
1320 enable_oledlg
1321 enable_olepro32
1322 enable_olesvr32
1323 enable_olethk32
1324 enable_opcservices
1325 enable_opencl
1326 enable_opengl32
1327 enable_packager
1328 enable_pdh
1329 enable_photometadatahandler
1330 enable_pidgen
1331 enable_powrprof
1332 enable_printui
1333 enable_prntvpt
1334 enable_propsys
1335 enable_psapi
1336 enable_pstorec
1337 enable_pwrshplugin
1338 enable_qasf
1339 enable_qcap
1340 enable_qdvd
1341 enable_qedit
1342 enable_qmgr
1343 enable_qmgrprxy
1344 enable_quartz
1345 enable_query
1346 enable_qwave
1347 enable_rasapi32
1348 enable_rasdlg
1349 enable_regapi
1350 enable_resutils
1351 enable_riched20
1352 enable_riched32
1353 enable_rpcrt4
1354 enable_rsabase
1355 enable_rsaenh
1356 enable_rstrtmgr
1357 enable_rtutils
1358 enable_rtworkq
1359 enable_samlib
1360 enable_sane_ds
1361 enable_sapi
1362 enable_sas
1363 enable_scarddlg
1364 enable_scardsvr
1365 enable_sccbase
1366 enable_schannel
1367 enable_schedsvc
1368 enable_scrobj
1369 enable_scrrun
1370 enable_scsiport_sys
1371 enable_sechost
1372 enable_secur32
1373 enable_security
1374 enable_sensapi
1375 enable_serialui
1376 enable_setupapi
1377 enable_sfc
1378 enable_sfc_os
1379 enable_shcore
1380 enable_shdoclc
1381 enable_shdocvw
1382 enable_shell32
1383 enable_shfolder
1384 enable_shlwapi
1385 enable_slbcsp
1386 enable_slc
1387 enable_snmpapi
1388 enable_softpub
1389 enable_spoolss
1390 enable_sppc
1391 enable_srclient
1392 enable_srvcli
1393 enable_sspicli
1394 enable_stdole2_tlb
1395 enable_stdole32_tlb
1396 enable_sti
1397 enable_strmdll
1398 enable_svrapi
1399 enable_sxs
1400 enable_t2embed
1401 enable_tapi32
1402 enable_taskschd
1403 enable_tbs
1404 enable_tdh
1405 enable_tdi_sys
1406 enable_threadpoolwinrt
1407 enable_traffic
1408 enable_twain_32
1409 enable_tzres
1410 enable_ucrtbase
1411 enable_uianimation
1412 enable_uiautomationcore
1413 enable_uiribbon
1414 enable_unicows
1415 enable_updspapi
1416 enable_url
1417 enable_urlmon
1418 enable_usbd_sys
1419 enable_user32
1420 enable_userenv
1421 enable_usp10
1422 enable_utildll
1423 enable_uxtheme
1424 enable_vbscript
1425 enable_vcomp
1426 enable_vcomp100
1427 enable_vcomp110
1428 enable_vcomp120
1429 enable_vcomp140
1430 enable_vcomp90
1431 enable_vcruntime140
1432 enable_vcruntime140_1
1433 enable_vdmdbg
1434 enable_version
1435 enable_vga
1436 enable_virtdisk
1437 enable_vssapi
1438 enable_vulkan_1
1439 enable_wbemdisp
1440 enable_wbemprox
1441 enable_wdscore
1442 enable_webservices
1443 enable_websocket
1444 enable_wer
1445 enable_wevtapi
1446 enable_wevtsvc
1447 enable_wiaservc
1448 enable_wimgapi
1449 enable_win32u
1450 enable_windows_devices_enumeration
1451 enable_windows_gaming_input
1452 enable_windows_gaming_ui_gamebar
1453 enable_windows_globalization
1454 enable_windows_media_devices
1455 enable_windows_media_speech
1456 enable_windows_media
1457 enable_windows_networking
1458 enable_windows_system_profile_systemmanufacturers
1459 enable_windows_ui
1460 enable_windowscodecs
1461 enable_windowscodecsext
1462 enable_winealsa_drv
1463 enable_wineandroid_drv
1464 enable_winebus_sys
1465 enable_winecoreaudio_drv
1466 enable_winecrt0
1467 enable_wined3d
1468 enable_winegstreamer
1469 enable_winehid_sys
1470 enable_winemac_drv
1471 enable_winemapi
1472 enable_wineoss_drv
1473 enable_wineps_drv
1474 enable_winepulse_drv
1475 enable_wineusb_sys
1476 enable_winevulkan
1477 enable_winex11_drv
1478 enable_winexinput_sys
1479 enable_wing32
1480 enable_winhttp
1481 enable_wininet
1482 enable_winmm
1483 enable_winnls32
1484 enable_winprint
1485 enable_winscard
1486 enable_winspool_drv
1487 enable_winsta
1488 enable_wintab32
1489 enable_wintrust
1490 enable_wintypes
1491 enable_winusb
1492 enable_wlanapi
1493 enable_wlanui
1494 enable_wldap32
1495 enable_wmasf
1496 enable_wmi
1497 enable_wmiutils
1498 enable_wmp
1499 enable_wmphoto
1500 enable_wmvcore
1501 enable_wnaspi32
1502 enable_wofutil
1503 enable_wow64
1504 enable_wow64cpu
1505 enable_wow64win
1506 enable_wpc
1507 enable_wpcap
1508 enable_ws2_32
1509 enable_wsdapi
1510 enable_wshom_ocx
1511 enable_wsnmp32
1512 enable_wsock32
1513 enable_wtsapi32
1514 enable_wuapi
1515 enable_wuaueng
1516 enable_x3daudio1_0
1517 enable_x3daudio1_1
1518 enable_x3daudio1_2
1519 enable_x3daudio1_3
1520 enable_x3daudio1_4
1521 enable_x3daudio1_5
1522 enable_x3daudio1_6
1523 enable_x3daudio1_7
1524 enable_xactengine2_0
1525 enable_xactengine2_4
1526 enable_xactengine2_7
1527 enable_xactengine2_9
1528 enable_xactengine3_0
1529 enable_xactengine3_1
1530 enable_xactengine3_2
1531 enable_xactengine3_3
1532 enable_xactengine3_4
1533 enable_xactengine3_5
1534 enable_xactengine3_6
1535 enable_xactengine3_7
1536 enable_xapofx1_1
1537 enable_xapofx1_2
1538 enable_xapofx1_3
1539 enable_xapofx1_4
1540 enable_xapofx1_5
1541 enable_xaudio2_0
1542 enable_xaudio2_1
1543 enable_xaudio2_2
1544 enable_xaudio2_3
1545 enable_xaudio2_4
1546 enable_xaudio2_5
1547 enable_xaudio2_6
1548 enable_xaudio2_7
1549 enable_xaudio2_8
1550 enable_xaudio2_9
1551 enable_xinput1_1
1552 enable_xinput1_2
1553 enable_xinput1_3
1554 enable_xinput1_4
1555 enable_xinput9_1_0
1556 enable_xinputuap
1557 enable_xmllite
1558 enable_xolehlp
1559 enable_xpsprint
1560 enable_xpssvcs
1561 enable_fonts
1562 enable_include
1563 enable_adsiid
1564 enable_dmoguids
1565 enable_dxerr8
1566 enable_dxerr9
1567 enable_dxguid
1568 enable_faudio
1569 enable_gsm
1570 enable_jpeg
1571 enable_jxr
1572 enable_lcms2
1573 enable_ldap
1574 enable_mfuuid
1575 enable_mpg123
1576 enable_png
1577 enable_strmbase
1578 enable_strmiids
1579 enable_tiff
1580 enable_uuid
1581 enable_vkd3d
1582 enable_wbemuuid
1583 enable_wine
1584 enable_wmcodecdspuuid
1585 enable_xml2
1586 enable_xslt
1587 enable_zlib
1588 enable_loader
1589 enable_nls
1590 enable_po
1591 enable_arp
1592 enable_aspnet_regiis
1593 enable_attrib
1594 enable_cabarc
1595 enable_cacls
1596 enable_certutil
1597 enable_chcp_com
1598 enable_clock
1599 enable_cmd
1600 enable_conhost
1601 enable_control
1602 enable_cscript
1603 enable_dism
1604 enable_dllhost
1605 enable_dplaysvr
1606 enable_dpnsvr
1607 enable_dpvsetup
1608 enable_dxdiag
1609 enable_eject
1610 enable_expand
1611 enable_explorer
1612 enable_extrac32
1613 enable_fc
1614 enable_find
1615 enable_findstr
1616 enable_fsutil
1617 enable_hh
1618 enable_hostname
1619 enable_icacls
1620 enable_icinfo
1621 enable_iexplore
1622 enable_ipconfig
1623 enable_lodctr
1624 enable_mofcomp
1625 enable_mshta
1626 enable_msidb
1627 enable_msiexec
1628 enable_msinfo32
1629 enable_net
1630 enable_netsh
1631 enable_netstat
1632 enable_ngen
1633 enable_notepad
1634 enable_oleview
1635 enable_ping
1636 enable_plugplay
1637 enable_powershell
1638 enable_presentationfontcache
1639 enable_progman
1640 enable_reg
1641 enable_regasm
1642 enable_regedit
1643 enable_regini
1644 enable_regsvcs
1645 enable_regsvr32
1646 enable_robocopy
1647 enable_rpcss
1648 enable_rundll32
1649 enable_sc
1650 enable_schtasks
1651 enable_sdbinst
1652 enable_secedit
1653 enable_servicemodelreg
1654 enable_services
1655 enable_setx
1656 enable_shutdown
1657 enable_spoolsv
1658 enable_start
1659 enable_subst
1660 enable_svchost
1661 enable_systeminfo
1662 enable_taskkill
1663 enable_tasklist
1664 enable_taskmgr
1665 enable_termsv
1666 enable_uninstaller
1667 enable_unlodctr
1668 enable_view
1669 enable_wevtutil
1670 enable_where
1671 enable_whoami
1672 enable_wineboot
1673 enable_winebrowser
1674 enable_winecfg
1675 enable_wineconsole
1676 enable_winedbg
1677 enable_winedevice
1678 enable_winefile
1679 enable_winemenubuilder
1680 enable_winemine
1681 enable_winemsibuilder
1682 enable_winepath
1683 enable_winetest
1684 enable_winhlp32
1685 enable_winmgmt
1686 enable_winver
1687 enable_wmic
1688 enable_wmplayer
1689 enable_wordpad
1690 enable_write
1691 enable_wscript
1692 enable_wuauserv
1693 enable_wusa
1694 enable_xcopy
1695 enable_server
1696 enable_tools
1697 enable_sfnt2fon
1698 enable_widl
1699 enable_winebuild
1700 enable_winedump
1701 enable_winegcc
1702 enable_winemaker
1703 enable_wmc
1704 enable_wrc
1706 ac_precious_vars='build_alias
1707 host_alias
1708 target_alias
1710 CFLAGS
1711 LDFLAGS
1712 LIBS
1713 CPPFLAGS
1715 CXXFLAGS
1717 OBJC
1718 OBJCFLAGS
1719 FAUDIO_PE_CFLAGS
1720 FAUDIO_PE_LIBS
1721 GSM_PE_CFLAGS
1722 GSM_PE_LIBS
1723 JPEG_PE_CFLAGS
1724 JPEG_PE_LIBS
1725 JXR_PE_CFLAGS
1726 JXR_PE_LIBS
1727 LCMS2_PE_CFLAGS
1728 LCMS2_PE_LIBS
1729 LDAP_PE_CFLAGS
1730 LDAP_PE_LIBS
1731 MPG123_PE_CFLAGS
1732 MPG123_PE_LIBS
1733 PNG_PE_CFLAGS
1734 PNG_PE_LIBS
1735 TIFF_PE_CFLAGS
1736 TIFF_PE_LIBS
1737 VKD3D_PE_CFLAGS
1738 VKD3D_PE_LIBS
1739 XML2_PE_CFLAGS
1740 XML2_PE_LIBS
1741 XSLT_PE_CFLAGS
1742 XSLT_PE_LIBS
1743 ZLIB_PE_CFLAGS
1744 ZLIB_PE_LIBS
1745 XMKMF
1747 INOTIFY_CFLAGS
1748 INOTIFY_LIBS
1749 DBUS_CFLAGS
1750 DBUS_LIBS
1751 GNUTLS_CFLAGS
1752 GNUTLS_LIBS
1753 SANE_CFLAGS
1754 SANE_LIBS
1755 USB_CFLAGS
1756 USB_LIBS
1757 GPHOTO2_CFLAGS
1758 GPHOTO2_LIBS
1759 GPHOTO2_PORT_CFLAGS
1760 GPHOTO2_PORT_LIBS
1761 FREETYPE_CFLAGS
1762 FREETYPE_LIBS
1763 PULSE_CFLAGS
1764 PULSE_LIBS
1765 GSTREAMER_CFLAGS
1766 GSTREAMER_LIBS
1767 UDEV_CFLAGS
1768 UDEV_LIBS
1769 UNWIND_CFLAGS
1770 UNWIND_LIBS
1771 SDL2_CFLAGS
1772 SDL2_LIBS
1773 CAPI20_CFLAGS
1774 CAPI20_LIBS
1775 CUPS_CFLAGS
1776 CUPS_LIBS
1777 FONTCONFIG_CFLAGS
1778 FONTCONFIG_LIBS
1779 KRB5_CFLAGS
1780 KRB5_LIBS
1781 GSSAPI_CFLAGS
1782 GSSAPI_LIBS
1783 NETAPI_CFLAGS
1784 NETAPI_LIBS'
1787 # Initialize some variables set by options.
1788 ac_init_help=
1789 ac_init_version=false
1790 ac_unrecognized_opts=
1791 ac_unrecognized_sep=
1792 # The variables have the same names as the options, with
1793 # dashes changed to underlines.
1794 cache_file=/dev/null
1795 exec_prefix=NONE
1796 no_create=
1797 no_recursion=
1798 prefix=NONE
1799 program_prefix=NONE
1800 program_suffix=NONE
1801 program_transform_name=s,x,x,
1802 silent=
1803 site=
1804 srcdir=
1805 verbose=
1806 x_includes=NONE
1807 x_libraries=NONE
1809 # Installation directory options.
1810 # These are left unexpanded so users can "make install exec_prefix=/foo"
1811 # and all the variables that are supposed to be based on exec_prefix
1812 # by default will actually change.
1813 # Use braces instead of parens because sh, perl, etc. also accept them.
1814 # (The list follows the same order as the GNU Coding Standards.)
1815 bindir='${exec_prefix}/bin'
1816 sbindir='${exec_prefix}/sbin'
1817 libexecdir='${exec_prefix}/libexec'
1818 datarootdir='${prefix}/share'
1819 datadir='${datarootdir}'
1820 sysconfdir='${prefix}/etc'
1821 sharedstatedir='${prefix}/com'
1822 localstatedir='${prefix}/var'
1823 runstatedir='${localstatedir}/run'
1824 includedir='${prefix}/include'
1825 oldincludedir='/usr/include'
1826 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1827 infodir='${datarootdir}/info'
1828 htmldir='${docdir}'
1829 dvidir='${docdir}'
1830 pdfdir='${docdir}'
1831 psdir='${docdir}'
1832 libdir='${exec_prefix}/lib'
1833 localedir='${datarootdir}/locale'
1834 mandir='${datarootdir}/man'
1836 ac_prev=
1837 ac_dashdash=
1838 for ac_option
1840 # If the previous option needs an argument, assign it.
1841 if test -n "$ac_prev"; then
1842 eval $ac_prev=\$ac_option
1843 ac_prev=
1844 continue
1847 case $ac_option in
1848 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1849 *=) ac_optarg= ;;
1850 *) ac_optarg=yes ;;
1851 esac
1853 case $ac_dashdash$ac_option in
1855 ac_dashdash=yes ;;
1857 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1858 ac_prev=bindir ;;
1859 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1860 bindir=$ac_optarg ;;
1862 -build | --build | --buil | --bui | --bu)
1863 ac_prev=build_alias ;;
1864 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1865 build_alias=$ac_optarg ;;
1867 -cache-file | --cache-file | --cache-fil | --cache-fi \
1868 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1869 ac_prev=cache_file ;;
1870 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1871 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1872 cache_file=$ac_optarg ;;
1874 --config-cache | -C)
1875 cache_file=config.cache ;;
1877 -datadir | --datadir | --datadi | --datad)
1878 ac_prev=datadir ;;
1879 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1880 datadir=$ac_optarg ;;
1882 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1883 | --dataroo | --dataro | --datar)
1884 ac_prev=datarootdir ;;
1885 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1886 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1887 datarootdir=$ac_optarg ;;
1889 -disable-* | --disable-*)
1890 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1891 # Reject names that are not valid shell variable names.
1892 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1893 as_fn_error $? "invalid feature name: \`$ac_useropt'"
1894 ac_useropt_orig=$ac_useropt
1895 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1896 case $ac_user_opts in
1898 "enable_$ac_useropt"
1899 "*) ;;
1900 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1901 ac_unrecognized_sep=', ';;
1902 esac
1903 eval enable_$ac_useropt=no ;;
1905 -docdir | --docdir | --docdi | --doc | --do)
1906 ac_prev=docdir ;;
1907 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1908 docdir=$ac_optarg ;;
1910 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1911 ac_prev=dvidir ;;
1912 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1913 dvidir=$ac_optarg ;;
1915 -enable-* | --enable-*)
1916 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1917 # Reject names that are not valid shell variable names.
1918 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1919 as_fn_error $? "invalid feature name: \`$ac_useropt'"
1920 ac_useropt_orig=$ac_useropt
1921 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1922 case $ac_user_opts in
1924 "enable_$ac_useropt"
1925 "*) ;;
1926 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1927 ac_unrecognized_sep=', ';;
1928 esac
1929 eval enable_$ac_useropt=\$ac_optarg ;;
1931 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1932 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1933 | --exec | --exe | --ex)
1934 ac_prev=exec_prefix ;;
1935 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1936 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1937 | --exec=* | --exe=* | --ex=*)
1938 exec_prefix=$ac_optarg ;;
1940 -gas | --gas | --ga | --g)
1941 # Obsolete; use --with-gas.
1942 with_gas=yes ;;
1944 -help | --help | --hel | --he | -h)
1945 ac_init_help=long ;;
1946 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1947 ac_init_help=recursive ;;
1948 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1949 ac_init_help=short ;;
1951 -host | --host | --hos | --ho)
1952 ac_prev=host_alias ;;
1953 -host=* | --host=* | --hos=* | --ho=*)
1954 host_alias=$ac_optarg ;;
1956 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1957 ac_prev=htmldir ;;
1958 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1959 | --ht=*)
1960 htmldir=$ac_optarg ;;
1962 -includedir | --includedir | --includedi | --included | --include \
1963 | --includ | --inclu | --incl | --inc)
1964 ac_prev=includedir ;;
1965 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1966 | --includ=* | --inclu=* | --incl=* | --inc=*)
1967 includedir=$ac_optarg ;;
1969 -infodir | --infodir | --infodi | --infod | --info | --inf)
1970 ac_prev=infodir ;;
1971 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1972 infodir=$ac_optarg ;;
1974 -libdir | --libdir | --libdi | --libd)
1975 ac_prev=libdir ;;
1976 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1977 libdir=$ac_optarg ;;
1979 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1980 | --libexe | --libex | --libe)
1981 ac_prev=libexecdir ;;
1982 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1983 | --libexe=* | --libex=* | --libe=*)
1984 libexecdir=$ac_optarg ;;
1986 -localedir | --localedir | --localedi | --localed | --locale)
1987 ac_prev=localedir ;;
1988 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1989 localedir=$ac_optarg ;;
1991 -localstatedir | --localstatedir | --localstatedi | --localstated \
1992 | --localstate | --localstat | --localsta | --localst | --locals)
1993 ac_prev=localstatedir ;;
1994 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1995 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1996 localstatedir=$ac_optarg ;;
1998 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1999 ac_prev=mandir ;;
2000 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2001 mandir=$ac_optarg ;;
2003 -nfp | --nfp | --nf)
2004 # Obsolete; use --without-fp.
2005 with_fp=no ;;
2007 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2008 | --no-cr | --no-c | -n)
2009 no_create=yes ;;
2011 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2012 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2013 no_recursion=yes ;;
2015 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2016 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2017 | --oldin | --oldi | --old | --ol | --o)
2018 ac_prev=oldincludedir ;;
2019 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2020 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2021 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2022 oldincludedir=$ac_optarg ;;
2024 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2025 ac_prev=prefix ;;
2026 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2027 prefix=$ac_optarg ;;
2029 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2030 | --program-pre | --program-pr | --program-p)
2031 ac_prev=program_prefix ;;
2032 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2033 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2034 program_prefix=$ac_optarg ;;
2036 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2037 | --program-suf | --program-su | --program-s)
2038 ac_prev=program_suffix ;;
2039 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2040 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2041 program_suffix=$ac_optarg ;;
2043 -program-transform-name | --program-transform-name \
2044 | --program-transform-nam | --program-transform-na \
2045 | --program-transform-n | --program-transform- \
2046 | --program-transform | --program-transfor \
2047 | --program-transfo | --program-transf \
2048 | --program-trans | --program-tran \
2049 | --progr-tra | --program-tr | --program-t)
2050 ac_prev=program_transform_name ;;
2051 -program-transform-name=* | --program-transform-name=* \
2052 | --program-transform-nam=* | --program-transform-na=* \
2053 | --program-transform-n=* | --program-transform-=* \
2054 | --program-transform=* | --program-transfor=* \
2055 | --program-transfo=* | --program-transf=* \
2056 | --program-trans=* | --program-tran=* \
2057 | --progr-tra=* | --program-tr=* | --program-t=*)
2058 program_transform_name=$ac_optarg ;;
2060 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2061 ac_prev=pdfdir ;;
2062 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2063 pdfdir=$ac_optarg ;;
2065 -psdir | --psdir | --psdi | --psd | --ps)
2066 ac_prev=psdir ;;
2067 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2068 psdir=$ac_optarg ;;
2070 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2071 | -silent | --silent | --silen | --sile | --sil)
2072 silent=yes ;;
2074 -runstatedir | --runstatedir | --runstatedi | --runstated \
2075 | --runstate | --runstat | --runsta | --runst | --runs \
2076 | --run | --ru | --r)
2077 ac_prev=runstatedir ;;
2078 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2079 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2080 | --run=* | --ru=* | --r=*)
2081 runstatedir=$ac_optarg ;;
2083 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2084 ac_prev=sbindir ;;
2085 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2086 | --sbi=* | --sb=*)
2087 sbindir=$ac_optarg ;;
2089 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2090 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2091 | --sharedst | --shareds | --shared | --share | --shar \
2092 | --sha | --sh)
2093 ac_prev=sharedstatedir ;;
2094 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2095 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2096 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2097 | --sha=* | --sh=*)
2098 sharedstatedir=$ac_optarg ;;
2100 -site | --site | --sit)
2101 ac_prev=site ;;
2102 -site=* | --site=* | --sit=*)
2103 site=$ac_optarg ;;
2105 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2106 ac_prev=srcdir ;;
2107 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2108 srcdir=$ac_optarg ;;
2110 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2111 | --syscon | --sysco | --sysc | --sys | --sy)
2112 ac_prev=sysconfdir ;;
2113 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2114 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2115 sysconfdir=$ac_optarg ;;
2117 -target | --target | --targe | --targ | --tar | --ta | --t)
2118 ac_prev=target_alias ;;
2119 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2120 target_alias=$ac_optarg ;;
2122 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2123 verbose=yes ;;
2125 -version | --version | --versio | --versi | --vers | -V)
2126 ac_init_version=: ;;
2128 -with-* | --with-*)
2129 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2130 # Reject names that are not valid shell variable names.
2131 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2132 as_fn_error $? "invalid package name: \`$ac_useropt'"
2133 ac_useropt_orig=$ac_useropt
2134 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2135 case $ac_user_opts in
2137 "with_$ac_useropt"
2138 "*) ;;
2139 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2140 ac_unrecognized_sep=', ';;
2141 esac
2142 eval with_$ac_useropt=\$ac_optarg ;;
2144 -without-* | --without-*)
2145 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2146 # Reject names that are not valid shell variable names.
2147 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2148 as_fn_error $? "invalid package name: \`$ac_useropt'"
2149 ac_useropt_orig=$ac_useropt
2150 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2151 case $ac_user_opts in
2153 "with_$ac_useropt"
2154 "*) ;;
2155 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2156 ac_unrecognized_sep=', ';;
2157 esac
2158 eval with_$ac_useropt=no ;;
2160 --x)
2161 # Obsolete; use --with-x.
2162 with_x=yes ;;
2164 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2165 | --x-incl | --x-inc | --x-in | --x-i)
2166 ac_prev=x_includes ;;
2167 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2168 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2169 x_includes=$ac_optarg ;;
2171 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2172 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2173 ac_prev=x_libraries ;;
2174 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2175 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2176 x_libraries=$ac_optarg ;;
2178 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2179 Try \`$0 --help' for more information"
2182 *=*)
2183 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2184 # Reject names that are not valid shell variable names.
2185 case $ac_envvar in #(
2186 '' | [0-9]* | *[!_$as_cr_alnum]* )
2187 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2188 esac
2189 eval $ac_envvar=\$ac_optarg
2190 export $ac_envvar ;;
2193 # FIXME: should be removed in autoconf 3.0.
2194 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
2195 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2196 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
2197 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2200 esac
2201 done
2203 if test -n "$ac_prev"; then
2204 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2205 as_fn_error $? "missing argument to $ac_option"
2208 if test -n "$ac_unrecognized_opts"; then
2209 case $enable_option_checking in
2210 no) ;;
2211 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2212 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2213 esac
2216 # Check all directory arguments for consistency.
2217 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2218 datadir sysconfdir sharedstatedir localstatedir includedir \
2219 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2220 libdir localedir mandir runstatedir
2222 eval ac_val=\$$ac_var
2223 # Remove trailing slashes.
2224 case $ac_val in
2225 */ )
2226 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2227 eval $ac_var=\$ac_val;;
2228 esac
2229 # Be sure to have absolute directory names.
2230 case $ac_val in
2231 [\\/$]* | ?:[\\/]* ) continue;;
2232 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2233 esac
2234 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2235 done
2237 # There might be people who depend on the old broken behavior: `$host'
2238 # used to hold the argument of --host etc.
2239 # FIXME: To remove some day.
2240 build=$build_alias
2241 host=$host_alias
2242 target=$target_alias
2244 # FIXME: To remove some day.
2245 if test "x$host_alias" != x; then
2246 if test "x$build_alias" = x; then
2247 cross_compiling=maybe
2248 elif test "x$build_alias" != "x$host_alias"; then
2249 cross_compiling=yes
2253 ac_tool_prefix=
2254 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2256 test "$silent" = yes && exec 6>/dev/null
2259 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2260 ac_ls_di=`ls -di .` &&
2261 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2262 as_fn_error $? "working directory cannot be determined"
2263 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2264 as_fn_error $? "pwd does not report name of working directory"
2267 # Find the source files, if location was not specified.
2268 if test -z "$srcdir"; then
2269 ac_srcdir_defaulted=yes
2270 # Try the directory containing this script, then the parent directory.
2271 ac_confdir=`$as_dirname -- "$as_myself" ||
2272 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2273 X"$as_myself" : 'X\(//\)[^/]' \| \
2274 X"$as_myself" : 'X\(//\)$' \| \
2275 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2276 printf "%s\n" X"$as_myself" |
2277 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2278 s//\1/
2281 /^X\(\/\/\)[^/].*/{
2282 s//\1/
2285 /^X\(\/\/\)$/{
2286 s//\1/
2289 /^X\(\/\).*/{
2290 s//\1/
2293 s/.*/./; q'`
2294 srcdir=$ac_confdir
2295 if test ! -r "$srcdir/$ac_unique_file"; then
2296 srcdir=..
2298 else
2299 ac_srcdir_defaulted=no
2301 if test ! -r "$srcdir/$ac_unique_file"; then
2302 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2303 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2305 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2306 ac_abs_confdir=`(
2307 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2308 pwd)`
2309 # When building in place, set srcdir=.
2310 if test "$ac_abs_confdir" = "$ac_pwd"; then
2311 srcdir=.
2313 # Remove unnecessary trailing slashes from srcdir.
2314 # Double slashes in file names in object file debugging info
2315 # mess up M-x gdb in Emacs.
2316 case $srcdir in
2317 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2318 esac
2319 for ac_var in $ac_precious_vars; do
2320 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2321 eval ac_env_${ac_var}_value=\$${ac_var}
2322 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2323 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2324 done
2327 # Report the --help message.
2329 if test "$ac_init_help" = "long"; then
2330 # Omit some internal or obsolete options to make the list less imposing.
2331 # This message is too long to be a string in the A/UX 3.1 sh.
2332 cat <<_ACEOF
2333 \`configure' configures Wine 8.2 to adapt to many kinds of systems.
2335 Usage: $0 [OPTION]... [VAR=VALUE]...
2337 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2338 VAR=VALUE. See below for descriptions of some of the useful variables.
2340 Defaults for the options are specified in brackets.
2342 Configuration:
2343 -h, --help display this help and exit
2344 --help=short display options specific to this package
2345 --help=recursive display the short help of all the included packages
2346 -V, --version display version information and exit
2347 -q, --quiet, --silent do not print \`checking ...' messages
2348 --cache-file=FILE cache test results in FILE [disabled]
2349 -C, --config-cache alias for \`--cache-file=config.cache'
2350 -n, --no-create do not create output files
2351 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2353 Installation directories:
2354 --prefix=PREFIX install architecture-independent files in PREFIX
2355 [$ac_default_prefix]
2356 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2357 [PREFIX]
2359 By default, \`make install' will install all the files in
2360 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2361 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2362 for instance \`--prefix=\$HOME'.
2364 For better control, use the options below.
2366 Fine tuning of the installation directories:
2367 --bindir=DIR user executables [EPREFIX/bin]
2368 --sbindir=DIR system admin executables [EPREFIX/sbin]
2369 --libexecdir=DIR program executables [EPREFIX/libexec]
2370 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2371 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2372 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2373 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2374 --libdir=DIR object code libraries [EPREFIX/lib]
2375 --includedir=DIR C header files [PREFIX/include]
2376 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2377 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2378 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2379 --infodir=DIR info documentation [DATAROOTDIR/info]
2380 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2381 --mandir=DIR man documentation [DATAROOTDIR/man]
2382 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2383 --htmldir=DIR html documentation [DOCDIR]
2384 --dvidir=DIR dvi documentation [DOCDIR]
2385 --pdfdir=DIR pdf documentation [DOCDIR]
2386 --psdir=DIR ps documentation [DOCDIR]
2387 _ACEOF
2389 cat <<\_ACEOF
2391 X features:
2392 --x-includes=DIR X include files are in DIR
2393 --x-libraries=DIR X library files are in DIR
2395 System types:
2396 --build=BUILD configure for building on BUILD [guessed]
2397 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2398 _ACEOF
2401 if test -n "$ac_init_help"; then
2402 case $ac_init_help in
2403 short | recursive ) echo "Configuration of Wine 8.2:";;
2404 esac
2405 cat <<\_ACEOF
2407 Optional Features:
2408 --disable-option-checking ignore unrecognized --enable/--with options
2409 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2410 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2411 --enable-archs={i386,x86_64,arm,aarch64}
2412 enable multiple architectures for PE compilation
2413 --disable-win16 do not include Win16 support
2414 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2415 binaries)
2416 --disable-tests do not build the regression tests
2417 --enable-build-id include .buildid section in output objects
2418 --enable-maintainer-mode
2419 enable maintainer-specific build rules
2420 --enable-silent-rules use silent build rules (override: "make V=1")
2421 --enable-werror treat compilation warnings as errors
2422 --disable-largefile omit support for large files
2424 Optional Packages:
2425 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2426 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2427 --without-alsa do not use the Alsa sound support
2428 --without-capi do not use CAPI (ISDN support)
2429 --without-coreaudio do not use the CoreAudio sound support
2430 --without-cups do not use CUPS
2431 --without-dbus do not use DBus (dynamic device support)
2432 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2433 --without-fontconfig do not use fontconfig
2434 --without-freetype do not use the FreeType library
2435 --without-gettext do not use gettext
2436 --with-gettextpo use the GetTextPO library to rebuild po files
2437 --without-gphoto do not use gphoto (Digital Camera support)
2438 --without-gnutls do not use GnuTLS (schannel support)
2439 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2440 --without-gstreamer do not use GStreamer (codecs support)
2441 --without-inotify do not use inotify (filesystem change notifications)
2442 --without-krb5 do not use krb5 (Kerberos)
2443 --without-mingw do not use the MinGW cross-compiler
2444 --without-netapi do not use the Samba NetAPI library
2445 --without-opencl do not use OpenCL
2446 --without-opengl do not use OpenGL
2447 --without-osmesa do not use the OSMesa library
2448 --without-oss do not use the OSS sound support
2449 --without-pcap do not use the Packet Capture library
2450 --without-pcsclite do not use PCSC lite
2451 --without-pthread do not use the pthread library
2452 --without-pulse do not use PulseAudio sound support
2453 --without-sane do not use SANE (scanner support)
2454 --without-sdl do not use SDL
2455 --without-udev do not use udev (plug and play support)
2456 --without-unwind do not use the libunwind library (exception
2457 handling)
2458 --without-usb do not use the libusb library
2459 --without-v4l2 do not use v4l2 (video capture)
2460 --without-vulkan do not use Vulkan
2461 --without-xcomposite do not use the Xcomposite extension
2462 --without-xcursor do not use the Xcursor extension
2463 --without-xfixes do not use Xfixes for clipboard change notifications
2464 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2465 --without-xinput do not use the Xinput extension
2466 --without-xinput2 do not use the Xinput 2 extension
2467 --without-xrandr do not use Xrandr (multi-monitor support)
2468 --without-xrender do not use the Xrender extension
2469 --without-xshape do not use the Xshape extension
2470 --without-xshm do not use XShm (shared memory extension)
2471 --without-xxf86vm do not use XFree video mode extension
2472 --with-system-dllpath=PATH
2473 load external PE dependencies from colon-separated
2474 path PATH
2475 --with-wine-tools=DIR use Wine tools from directory DIR
2476 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2477 --with-x use the X Window System
2479 Some influential environment variables:
2480 CC C compiler command
2481 CFLAGS C compiler flags
2482 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2483 nonstandard directory <lib dir>
2484 LIBS libraries to pass to the linker, e.g. -l<library>
2485 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2486 you have headers in a nonstandard directory <include dir>
2487 CXX C++ compiler command
2488 CXXFLAGS C++ compiler flags
2489 OBJC Objective C compiler command
2490 OBJCFLAGS Objective C compiler flags
2491 FAUDIO_PE_CFLAGS
2492 C compiler flags for the PE faudio, overriding the bundled
2493 version
2494 FAUDIO_PE_LIBS
2495 Linker flags for the PE faudio, overriding the bundled version
2496 GSM_PE_CFLAGS
2497 C compiler flags for the PE gsm, overriding the bundled version
2498 GSM_PE_LIBS Linker flags for the PE gsm, overriding the bundled version
2499 JPEG_PE_CFLAGS
2500 C compiler flags for the PE jpeg, overriding the bundled version
2501 JPEG_PE_LIBS
2502 Linker flags for the PE jpeg, overriding the bundled version
2503 JXR_PE_CFLAGS
2504 C compiler flags for the PE jxr, overriding the bundled version
2505 JXR_PE_LIBS Linker flags for the PE jxr, overriding the bundled version
2506 LCMS2_PE_CFLAGS
2507 C compiler flags for the PE lcms2, overriding the bundled
2508 version
2509 LCMS2_PE_LIBS
2510 Linker flags for the PE lcms2, overriding the bundled version
2511 LDAP_PE_CFLAGS
2512 C compiler flags for the PE ldap, overriding the bundled version
2513 LDAP_PE_LIBS
2514 Linker flags for the PE ldap, overriding the bundled version
2515 MPG123_PE_CFLAGS
2516 C compiler flags for the PE mpg123, overriding the bundled
2517 version
2518 MPG123_PE_LIBS
2519 Linker flags for the PE mpg123, overriding the bundled version
2520 PNG_PE_CFLAGS
2521 C compiler flags for the PE png, overriding the bundled version
2522 PNG_PE_LIBS Linker flags for the PE png, overriding the bundled version
2523 TIFF_PE_CFLAGS
2524 C compiler flags for the PE tiff, overriding the bundled version
2525 TIFF_PE_LIBS
2526 Linker flags for the PE tiff, overriding the bundled version
2527 VKD3D_PE_CFLAGS
2528 C compiler flags for the PE vkd3d, overriding the bundled
2529 version
2530 VKD3D_PE_LIBS
2531 Linker flags for the PE vkd3d, overriding the bundled version
2532 XML2_PE_CFLAGS
2533 C compiler flags for the PE xml2, overriding the bundled version
2534 XML2_PE_LIBS
2535 Linker flags for the PE xml2, overriding the bundled version
2536 XSLT_PE_CFLAGS
2537 C compiler flags for the PE xslt, overriding the bundled version
2538 XSLT_PE_LIBS
2539 Linker flags for the PE xslt, overriding the bundled version
2540 ZLIB_PE_CFLAGS
2541 C compiler flags for the PE zlib, overriding the bundled version
2542 ZLIB_PE_LIBS
2543 Linker flags for the PE zlib, overriding the bundled version
2544 XMKMF Path to xmkmf, Makefile generator for X Window System
2545 CPP C preprocessor
2546 INOTIFY_CFLAGS
2547 C compiler flags for libinotify, overriding pkg-config
2548 INOTIFY_LIBS
2549 Linker flags for libinotify, overriding pkg-config
2550 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2551 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2552 GNUTLS_CFLAGS
2553 C compiler flags for gnutls, overriding pkg-config
2554 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2555 SANE_CFLAGS C compiler flags for sane-backends, overriding pkg-config
2556 SANE_LIBS Linker flags for sane-backends, overriding pkg-config
2557 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2558 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2559 GPHOTO2_CFLAGS
2560 C compiler flags for libgphoto2, overriding pkg-config
2561 GPHOTO2_LIBS
2562 Linker flags for libgphoto2, overriding pkg-config
2563 GPHOTO2_PORT_CFLAGS
2564 C compiler flags for libgphoto2_port, overriding pkg-config
2565 GPHOTO2_PORT_LIBS
2566 Linker flags for libgphoto2_port, overriding pkg-config
2567 FREETYPE_CFLAGS
2568 C compiler flags for freetype2, overriding pkg-config
2569 FREETYPE_LIBS
2570 Linker flags for freetype2, overriding pkg-config
2571 PULSE_CFLAGS
2572 C compiler flags for libpulse, overriding pkg-config
2573 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2574 GSTREAMER_CFLAGS
2575 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2576 gstreamer-audio-1.0 gstreamer-tag-1.0, overriding pkg-config
2577 GSTREAMER_LIBS
2578 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2579 gstreamer-audio-1.0 gstreamer-tag-1.0, overriding pkg-config
2580 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2581 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2582 UNWIND_CFLAGS
2583 C compiler flags for libunwind, overriding pkg-config
2584 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2585 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2586 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2587 CAPI20_CFLAGS
2588 C compiler flags for capi20, overriding pkg-config
2589 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2590 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2591 CUPS_LIBS Linker flags for cups, overriding pkg-config
2592 FONTCONFIG_CFLAGS
2593 C compiler flags for fontconfig, overriding pkg-config
2594 FONTCONFIG_LIBS
2595 Linker flags for fontconfig, overriding pkg-config
2596 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2597 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2598 GSSAPI_CFLAGS
2599 C compiler flags for krb5-gssapi, overriding pkg-config
2600 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2601 NETAPI_CFLAGS
2602 C compiler flags for netapi, overriding pkg-config
2603 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2605 Use these variables to override the choices made by `configure' or to help
2606 it to find libraries and programs with nonstandard names/locations.
2608 Report bugs to <wine-devel@winehq.org>.
2609 Wine home page: <https://www.winehq.org>.
2610 _ACEOF
2611 ac_status=$?
2614 if test "$ac_init_help" = "recursive"; then
2615 # If there are subdirs, report their specific --help.
2616 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2617 test -d "$ac_dir" ||
2618 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2619 continue
2620 ac_builddir=.
2622 case "$ac_dir" in
2623 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2625 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
2626 # A ".." for each directory in $ac_dir_suffix.
2627 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2628 case $ac_top_builddir_sub in
2629 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2630 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2631 esac ;;
2632 esac
2633 ac_abs_top_builddir=$ac_pwd
2634 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2635 # for backward compatibility:
2636 ac_top_builddir=$ac_top_build_prefix
2638 case $srcdir in
2639 .) # We are building in place.
2640 ac_srcdir=.
2641 ac_top_srcdir=$ac_top_builddir_sub
2642 ac_abs_top_srcdir=$ac_pwd ;;
2643 [\\/]* | ?:[\\/]* ) # Absolute name.
2644 ac_srcdir=$srcdir$ac_dir_suffix;
2645 ac_top_srcdir=$srcdir
2646 ac_abs_top_srcdir=$srcdir ;;
2647 *) # Relative name.
2648 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2649 ac_top_srcdir=$ac_top_build_prefix$srcdir
2650 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2651 esac
2652 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2654 cd "$ac_dir" || { ac_status=$?; continue; }
2655 # Check for configure.gnu first; this name is used for a wrapper for
2656 # Metaconfig's "Configure" on case-insensitive file systems.
2657 if test -f "$ac_srcdir/configure.gnu"; then
2658 echo &&
2659 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2660 elif test -f "$ac_srcdir/configure"; then
2661 echo &&
2662 $SHELL "$ac_srcdir/configure" --help=recursive
2663 else
2664 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2665 fi || ac_status=$?
2666 cd "$ac_pwd" || { ac_status=$?; break; }
2667 done
2670 test -n "$ac_init_help" && exit $ac_status
2671 if $ac_init_version; then
2672 cat <<\_ACEOF
2673 Wine configure 8.2
2674 generated by GNU Autoconf 2.71
2676 Copyright (C) 2021 Free Software Foundation, Inc.
2677 This configure script is free software; the Free Software Foundation
2678 gives unlimited permission to copy, distribute and modify it.
2679 _ACEOF
2680 exit
2683 ## ------------------------ ##
2684 ## Autoconf initialization. ##
2685 ## ------------------------ ##
2687 # ac_fn_c_try_compile LINENO
2688 # --------------------------
2689 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2690 ac_fn_c_try_compile ()
2692 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2693 rm -f conftest.$ac_objext conftest.beam
2694 if { { ac_try="$ac_compile"
2695 case "(($ac_try" in
2696 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2697 *) ac_try_echo=$ac_try;;
2698 esac
2699 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2700 printf "%s\n" "$ac_try_echo"; } >&5
2701 (eval "$ac_compile") 2>conftest.err
2702 ac_status=$?
2703 if test -s conftest.err; then
2704 grep -v '^ *+' conftest.err >conftest.er1
2705 cat conftest.er1 >&5
2706 mv -f conftest.er1 conftest.err
2708 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2709 test $ac_status = 0; } && {
2710 test -z "$ac_c_werror_flag" ||
2711 test ! -s conftest.err
2712 } && test -s conftest.$ac_objext
2713 then :
2714 ac_retval=0
2715 else $as_nop
2716 printf "%s\n" "$as_me: failed program was:" >&5
2717 sed 's/^/| /' conftest.$ac_ext >&5
2719 ac_retval=1
2721 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2722 as_fn_set_status $ac_retval
2724 } # ac_fn_c_try_compile
2726 # ac_fn_cxx_try_compile LINENO
2727 # ----------------------------
2728 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2729 ac_fn_cxx_try_compile ()
2731 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2732 rm -f conftest.$ac_objext conftest.beam
2733 if { { ac_try="$ac_compile"
2734 case "(($ac_try" in
2735 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2736 *) ac_try_echo=$ac_try;;
2737 esac
2738 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2739 printf "%s\n" "$ac_try_echo"; } >&5
2740 (eval "$ac_compile") 2>conftest.err
2741 ac_status=$?
2742 if test -s conftest.err; then
2743 grep -v '^ *+' conftest.err >conftest.er1
2744 cat conftest.er1 >&5
2745 mv -f conftest.er1 conftest.err
2747 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2748 test $ac_status = 0; } && {
2749 test -z "$ac_cxx_werror_flag" ||
2750 test ! -s conftest.err
2751 } && test -s conftest.$ac_objext
2752 then :
2753 ac_retval=0
2754 else $as_nop
2755 printf "%s\n" "$as_me: failed program was:" >&5
2756 sed 's/^/| /' conftest.$ac_ext >&5
2758 ac_retval=1
2760 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2761 as_fn_set_status $ac_retval
2763 } # ac_fn_cxx_try_compile
2765 # ac_fn_c_try_link LINENO
2766 # -----------------------
2767 # Try to link conftest.$ac_ext, and return whether this succeeded.
2768 ac_fn_c_try_link ()
2770 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2771 rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
2772 if { { ac_try="$ac_link"
2773 case "(($ac_try" in
2774 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2775 *) ac_try_echo=$ac_try;;
2776 esac
2777 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2778 printf "%s\n" "$ac_try_echo"; } >&5
2779 (eval "$ac_link") 2>conftest.err
2780 ac_status=$?
2781 if test -s conftest.err; then
2782 grep -v '^ *+' conftest.err >conftest.er1
2783 cat conftest.er1 >&5
2784 mv -f conftest.er1 conftest.err
2786 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2787 test $ac_status = 0; } && {
2788 test -z "$ac_c_werror_flag" ||
2789 test ! -s conftest.err
2790 } && test -s conftest$ac_exeext && {
2791 test "$cross_compiling" = yes ||
2792 test -x conftest$ac_exeext
2794 then :
2795 ac_retval=0
2796 else $as_nop
2797 printf "%s\n" "$as_me: failed program was:" >&5
2798 sed 's/^/| /' conftest.$ac_ext >&5
2800 ac_retval=1
2802 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2803 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2804 # interfere with the next link command; also delete a directory that is
2805 # left behind by Apple's compiler. We do this before executing the actions.
2806 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2807 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2808 as_fn_set_status $ac_retval
2810 } # ac_fn_c_try_link
2812 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2813 # -------------------------------------------------------
2814 # Tests whether HEADER exists and can be compiled using the include files in
2815 # INCLUDES, setting the cache variable VAR accordingly.
2816 ac_fn_c_check_header_compile ()
2818 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2819 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2820 printf %s "checking for $2... " >&6; }
2821 if eval test \${$3+y}
2822 then :
2823 printf %s "(cached) " >&6
2824 else $as_nop
2825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2826 /* end confdefs.h. */
2828 #include <$2>
2829 _ACEOF
2830 if ac_fn_c_try_compile "$LINENO"
2831 then :
2832 eval "$3=yes"
2833 else $as_nop
2834 eval "$3=no"
2836 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2838 eval ac_res=\$$3
2839 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2840 printf "%s\n" "$ac_res" >&6; }
2841 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2843 } # ac_fn_c_check_header_compile
2845 # ac_fn_objc_try_compile LINENO
2846 # -----------------------------
2847 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2848 ac_fn_objc_try_compile ()
2850 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2851 rm -f conftest.$ac_objext conftest.beam
2852 if { { ac_try="$ac_compile"
2853 case "(($ac_try" in
2854 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2855 *) ac_try_echo=$ac_try;;
2856 esac
2857 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2858 printf "%s\n" "$ac_try_echo"; } >&5
2859 (eval "$ac_compile") 2>conftest.err
2860 ac_status=$?
2861 if test -s conftest.err; then
2862 grep -v '^ *+' conftest.err >conftest.er1
2863 cat conftest.er1 >&5
2864 mv -f conftest.er1 conftest.err
2866 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2867 test $ac_status = 0; } && {
2868 test -z "$ac_objc_werror_flag" ||
2869 test ! -s conftest.err
2870 } && test -s conftest.$ac_objext
2871 then :
2872 ac_retval=0
2873 else $as_nop
2874 printf "%s\n" "$as_me: failed program was:" >&5
2875 sed 's/^/| /' conftest.$ac_ext >&5
2877 ac_retval=1
2879 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2880 as_fn_set_status $ac_retval
2882 } # ac_fn_objc_try_compile
2884 # ac_fn_c_check_func LINENO FUNC VAR
2885 # ----------------------------------
2886 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2887 ac_fn_c_check_func ()
2889 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2890 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2891 printf %s "checking for $2... " >&6; }
2892 if eval test \${$3+y}
2893 then :
2894 printf %s "(cached) " >&6
2895 else $as_nop
2896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2897 /* end confdefs.h. */
2898 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2899 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2900 #define $2 innocuous_$2
2902 /* System header to define __stub macros and hopefully few prototypes,
2903 which can conflict with char $2 (); below. */
2905 #include <limits.h>
2906 #undef $2
2908 /* Override any GCC internal prototype to avoid an error.
2909 Use char because int might match the return type of a GCC
2910 builtin and then its argument prototype would still apply. */
2911 #ifdef __cplusplus
2912 extern "C"
2913 #endif
2914 char $2 ();
2915 /* The GNU C library defines this for functions which it implements
2916 to always fail with ENOSYS. Some functions are actually named
2917 something starting with __ and the normal name is an alias. */
2918 #if defined __stub_$2 || defined __stub___$2
2919 choke me
2920 #endif
2923 main (void)
2925 return $2 ();
2927 return 0;
2929 _ACEOF
2930 if ac_fn_c_try_link "$LINENO"
2931 then :
2932 eval "$3=yes"
2933 else $as_nop
2934 eval "$3=no"
2936 rm -f core conftest.err conftest.$ac_objext conftest.beam \
2937 conftest$ac_exeext conftest.$ac_ext
2939 eval ac_res=\$$3
2940 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2941 printf "%s\n" "$ac_res" >&6; }
2942 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2944 } # ac_fn_c_check_func
2946 # ac_fn_c_try_cpp LINENO
2947 # ----------------------
2948 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2949 ac_fn_c_try_cpp ()
2951 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2952 if { { ac_try="$ac_cpp conftest.$ac_ext"
2953 case "(($ac_try" in
2954 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2955 *) ac_try_echo=$ac_try;;
2956 esac
2957 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2958 printf "%s\n" "$ac_try_echo"; } >&5
2959 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2960 ac_status=$?
2961 if test -s conftest.err; then
2962 grep -v '^ *+' conftest.err >conftest.er1
2963 cat conftest.er1 >&5
2964 mv -f conftest.er1 conftest.err
2966 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2967 test $ac_status = 0; } > conftest.i && {
2968 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2969 test ! -s conftest.err
2971 then :
2972 ac_retval=0
2973 else $as_nop
2974 printf "%s\n" "$as_me: failed program was:" >&5
2975 sed 's/^/| /' conftest.$ac_ext >&5
2977 ac_retval=1
2979 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2980 as_fn_set_status $ac_retval
2982 } # ac_fn_c_try_cpp
2984 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2985 # ----------------------------------------------------
2986 # Tries to find if the field MEMBER exists in type AGGR, after including
2987 # INCLUDES, setting cache variable VAR accordingly.
2988 ac_fn_c_check_member ()
2990 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2991 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2992 printf %s "checking for $2.$3... " >&6; }
2993 if eval test \${$4+y}
2994 then :
2995 printf %s "(cached) " >&6
2996 else $as_nop
2997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2998 /* end confdefs.h. */
3001 main (void)
3003 static $2 ac_aggr;
3004 if (ac_aggr.$3)
3005 return 0;
3007 return 0;
3009 _ACEOF
3010 if ac_fn_c_try_compile "$LINENO"
3011 then :
3012 eval "$4=yes"
3013 else $as_nop
3014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3015 /* end confdefs.h. */
3018 main (void)
3020 static $2 ac_aggr;
3021 if (sizeof ac_aggr.$3)
3022 return 0;
3024 return 0;
3026 _ACEOF
3027 if ac_fn_c_try_compile "$LINENO"
3028 then :
3029 eval "$4=yes"
3030 else $as_nop
3031 eval "$4=no"
3033 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3035 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3037 eval ac_res=\$$4
3038 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3039 printf "%s\n" "$ac_res" >&6; }
3040 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3042 } # ac_fn_c_check_member
3044 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3045 # -------------------------------------------
3046 # Tests whether TYPE exists after having included INCLUDES, setting cache
3047 # variable VAR accordingly.
3048 ac_fn_c_check_type ()
3050 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3051 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3052 printf %s "checking for $2... " >&6; }
3053 if eval test \${$3+y}
3054 then :
3055 printf %s "(cached) " >&6
3056 else $as_nop
3057 eval "$3=no"
3058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3059 /* end confdefs.h. */
3062 main (void)
3064 if (sizeof ($2))
3065 return 0;
3067 return 0;
3069 _ACEOF
3070 if ac_fn_c_try_compile "$LINENO"
3071 then :
3072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3073 /* end confdefs.h. */
3076 main (void)
3078 if (sizeof (($2)))
3079 return 0;
3081 return 0;
3083 _ACEOF
3084 if ac_fn_c_try_compile "$LINENO"
3085 then :
3087 else $as_nop
3088 eval "$3=yes"
3090 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3092 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3094 eval ac_res=\$$3
3095 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3096 printf "%s\n" "$ac_res" >&6; }
3097 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3099 } # ac_fn_c_check_type
3100 ac_configure_args_raw=
3101 for ac_arg
3103 case $ac_arg in
3104 *\'*)
3105 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3106 esac
3107 as_fn_append ac_configure_args_raw " '$ac_arg'"
3108 done
3110 case $ac_configure_args_raw in
3111 *$as_nl*)
3112 ac_safe_unquote= ;;
3114 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
3115 ac_unsafe_a="$ac_unsafe_z#~"
3116 ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
3117 ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
3118 esac
3120 cat >config.log <<_ACEOF
3121 This file contains any messages produced by compilers while
3122 running configure, to aid debugging if configure makes a mistake.
3124 It was created by Wine $as_me 8.2, which was
3125 generated by GNU Autoconf 2.71. Invocation command line was
3127 $ $0$ac_configure_args_raw
3129 _ACEOF
3130 exec 5>>config.log
3132 cat <<_ASUNAME
3133 ## --------- ##
3134 ## Platform. ##
3135 ## --------- ##
3137 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3138 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3139 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3140 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3141 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3143 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3144 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3146 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3147 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3148 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3149 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3150 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3151 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3152 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3154 _ASUNAME
3156 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3157 for as_dir in $PATH
3159 IFS=$as_save_IFS
3160 case $as_dir in #(((
3161 '') as_dir=./ ;;
3162 */) ;;
3163 *) as_dir=$as_dir/ ;;
3164 esac
3165 printf "%s\n" "PATH: $as_dir"
3166 done
3167 IFS=$as_save_IFS
3169 } >&5
3171 cat >&5 <<_ACEOF
3174 ## ----------- ##
3175 ## Core tests. ##
3176 ## ----------- ##
3178 _ACEOF
3181 # Keep a trace of the command line.
3182 # Strip out --no-create and --no-recursion so they do not pile up.
3183 # Strip out --silent because we don't want to record it for future runs.
3184 # Also quote any args containing shell meta-characters.
3185 # Make two passes to allow for proper duplicate-argument suppression.
3186 ac_configure_args=
3187 ac_configure_args0=
3188 ac_configure_args1=
3189 ac_must_keep_next=false
3190 for ac_pass in 1 2
3192 for ac_arg
3194 case $ac_arg in
3195 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3196 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3197 | -silent | --silent | --silen | --sile | --sil)
3198 continue ;;
3199 *\'*)
3200 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3201 esac
3202 case $ac_pass in
3203 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3205 as_fn_append ac_configure_args1 " '$ac_arg'"
3206 if test $ac_must_keep_next = true; then
3207 ac_must_keep_next=false # Got value, back to normal.
3208 else
3209 case $ac_arg in
3210 *=* | --config-cache | -C | -disable-* | --disable-* \
3211 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3212 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3213 | -with-* | --with-* | -without-* | --without-* | --x)
3214 case "$ac_configure_args0 " in
3215 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3216 esac
3218 -* ) ac_must_keep_next=true ;;
3219 esac
3221 as_fn_append ac_configure_args " '$ac_arg'"
3223 esac
3224 done
3225 done
3226 { ac_configure_args0=; unset ac_configure_args0;}
3227 { ac_configure_args1=; unset ac_configure_args1;}
3229 # When interrupted or exit'd, cleanup temporary files, and complete
3230 # config.log. We remove comments because anyway the quotes in there
3231 # would cause problems or look ugly.
3232 # WARNING: Use '\'' to represent an apostrophe within the trap.
3233 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3234 trap 'exit_status=$?
3235 # Sanitize IFS.
3236 IFS=" "" $as_nl"
3237 # Save into config.log some information that might help in debugging.
3239 echo
3241 printf "%s\n" "## ---------------- ##
3242 ## Cache variables. ##
3243 ## ---------------- ##"
3244 echo
3245 # The following way of writing the cache mishandles newlines in values,
3247 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3248 eval ac_val=\$$ac_var
3249 case $ac_val in #(
3250 *${as_nl}*)
3251 case $ac_var in #(
3252 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3253 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3254 esac
3255 case $ac_var in #(
3256 _ | IFS | as_nl) ;; #(
3257 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3258 *) { eval $ac_var=; unset $ac_var;} ;;
3259 esac ;;
3260 esac
3261 done
3262 (set) 2>&1 |
3263 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3264 *${as_nl}ac_space=\ *)
3265 sed -n \
3266 "s/'\''/'\''\\\\'\'''\''/g;
3267 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3268 ;; #(
3270 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3272 esac |
3273 sort
3275 echo
3277 printf "%s\n" "## ----------------- ##
3278 ## Output variables. ##
3279 ## ----------------- ##"
3280 echo
3281 for ac_var in $ac_subst_vars
3283 eval ac_val=\$$ac_var
3284 case $ac_val in
3285 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3286 esac
3287 printf "%s\n" "$ac_var='\''$ac_val'\''"
3288 done | sort
3289 echo
3291 if test -n "$ac_subst_files"; then
3292 printf "%s\n" "## ------------------- ##
3293 ## File substitutions. ##
3294 ## ------------------- ##"
3295 echo
3296 for ac_var in $ac_subst_files
3298 eval ac_val=\$$ac_var
3299 case $ac_val in
3300 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3301 esac
3302 printf "%s\n" "$ac_var='\''$ac_val'\''"
3303 done | sort
3304 echo
3307 if test -s confdefs.h; then
3308 printf "%s\n" "## ----------- ##
3309 ## confdefs.h. ##
3310 ## ----------- ##"
3311 echo
3312 cat confdefs.h
3313 echo
3315 test "$ac_signal" != 0 &&
3316 printf "%s\n" "$as_me: caught signal $ac_signal"
3317 printf "%s\n" "$as_me: exit $exit_status"
3318 } >&5
3319 rm -f core *.core core.conftest.* &&
3320 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3321 exit $exit_status
3323 for ac_signal in 1 2 13 15; do
3324 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3325 done
3326 ac_signal=0
3328 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3329 rm -f -r conftest* confdefs.h
3331 printf "%s\n" "/* confdefs.h */" > confdefs.h
3333 # Predefined preprocessor variables.
3335 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
3337 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
3339 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
3341 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
3343 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
3345 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
3348 # Let the site file select an alternate cache file if it wants to.
3349 # Prefer an explicitly selected file to automatically selected ones.
3350 if test -n "$CONFIG_SITE"; then
3351 ac_site_files="$CONFIG_SITE"
3352 elif test "x$prefix" != xNONE; then
3353 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
3354 else
3355 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
3358 for ac_site_file in $ac_site_files
3360 case $ac_site_file in #(
3361 */*) :
3362 ;; #(
3363 *) :
3364 ac_site_file=./$ac_site_file ;;
3365 esac
3366 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
3367 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3368 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
3369 sed 's/^/| /' "$ac_site_file" >&5
3370 . "$ac_site_file" \
3371 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3372 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3373 as_fn_error $? "failed to load site script $ac_site_file
3374 See \`config.log' for more details" "$LINENO" 5; }
3376 done
3378 if test -r "$cache_file"; then
3379 # Some versions of bash will fail to source /dev/null (special files
3380 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3381 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3382 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3383 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
3384 case $cache_file in
3385 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3386 *) . "./$cache_file";;
3387 esac
3389 else
3390 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3391 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
3392 >$cache_file
3395 # Test code for whether the C compiler supports C89 (global declarations)
3396 ac_c_conftest_c89_globals='
3397 /* Does the compiler advertise C89 conformance?
3398 Do not test the value of __STDC__, because some compilers set it to 0
3399 while being otherwise adequately conformant. */
3400 #if !defined __STDC__
3401 # error "Compiler does not advertise C89 conformance"
3402 #endif
3404 #include <stddef.h>
3405 #include <stdarg.h>
3406 struct stat;
3407 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
3408 struct buf { int x; };
3409 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
3410 static char *e (p, i)
3411 char **p;
3412 int i;
3414 return p[i];
3416 static char *f (char * (*g) (char **, int), char **p, ...)
3418 char *s;
3419 va_list v;
3420 va_start (v,p);
3421 s = g (p, va_arg (v,int));
3422 va_end (v);
3423 return s;
3426 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3427 function prototypes and stuff, but not \xHH hex character constants.
3428 These do not provoke an error unfortunately, instead are silently treated
3429 as an "x". The following induces an error, until -std is added to get
3430 proper ANSI mode. Curiously \x00 != x always comes out true, for an
3431 array size at least. It is necessary to write \x00 == 0 to get something
3432 that is true only with -std. */
3433 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
3435 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3436 inside strings and character constants. */
3437 #define FOO(x) '\''x'\''
3438 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
3440 int test (int i, double x);
3441 struct s1 {int (*f) (int a);};
3442 struct s2 {int (*f) (double a);};
3443 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
3444 int, int);'
3446 # Test code for whether the C compiler supports C89 (body of main).
3447 ac_c_conftest_c89_main='
3448 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
3451 # Test code for whether the C compiler supports C99 (global declarations)
3452 ac_c_conftest_c99_globals='
3453 // Does the compiler advertise C99 conformance?
3454 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
3455 # error "Compiler does not advertise C99 conformance"
3456 #endif
3458 #include <stdbool.h>
3459 extern int puts (const char *);
3460 extern int printf (const char *, ...);
3461 extern int dprintf (int, const char *, ...);
3462 extern void *malloc (size_t);
3464 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3465 // dprintf is used instead of fprintf to avoid needing to declare
3466 // FILE and stderr.
3467 #define debug(...) dprintf (2, __VA_ARGS__)
3468 #define showlist(...) puts (#__VA_ARGS__)
3469 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3470 static void
3471 test_varargs_macros (void)
3473 int x = 1234;
3474 int y = 5678;
3475 debug ("Flag");
3476 debug ("X = %d\n", x);
3477 showlist (The first, second, and third items.);
3478 report (x>y, "x is %d but y is %d", x, y);
3481 // Check long long types.
3482 #define BIG64 18446744073709551615ull
3483 #define BIG32 4294967295ul
3484 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3485 #if !BIG_OK
3486 #error "your preprocessor is broken"
3487 #endif
3488 #if BIG_OK
3489 #else
3490 #error "your preprocessor is broken"
3491 #endif
3492 static long long int bignum = -9223372036854775807LL;
3493 static unsigned long long int ubignum = BIG64;
3495 struct incomplete_array
3497 int datasize;
3498 double data[];
3501 struct named_init {
3502 int number;
3503 const wchar_t *name;
3504 double average;
3507 typedef const char *ccp;
3509 static inline int
3510 test_restrict (ccp restrict text)
3512 // See if C++-style comments work.
3513 // Iterate through items via the restricted pointer.
3514 // Also check for declarations in for loops.
3515 for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
3516 continue;
3517 return 0;
3520 // Check varargs and va_copy.
3521 static bool
3522 test_varargs (const char *format, ...)
3524 va_list args;
3525 va_start (args, format);
3526 va_list args_copy;
3527 va_copy (args_copy, args);
3529 const char *str = "";
3530 int number = 0;
3531 float fnumber = 0;
3533 while (*format)
3535 switch (*format++)
3537 case '\''s'\'': // string
3538 str = va_arg (args_copy, const char *);
3539 break;
3540 case '\''d'\'': // int
3541 number = va_arg (args_copy, int);
3542 break;
3543 case '\''f'\'': // float
3544 fnumber = va_arg (args_copy, double);
3545 break;
3546 default:
3547 break;
3550 va_end (args_copy);
3551 va_end (args);
3553 return *str && number && fnumber;
3557 # Test code for whether the C compiler supports C99 (body of main).
3558 ac_c_conftest_c99_main='
3559 // Check bool.
3560 _Bool success = false;
3561 success |= (argc != 0);
3563 // Check restrict.
3564 if (test_restrict ("String literal") == 0)
3565 success = true;
3566 char *restrict newvar = "Another string";
3568 // Check varargs.
3569 success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
3570 test_varargs_macros ();
3572 // Check flexible array members.
3573 struct incomplete_array *ia =
3574 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3575 ia->datasize = 10;
3576 for (int i = 0; i < ia->datasize; ++i)
3577 ia->data[i] = i * 1.234;
3579 // Check named initializers.
3580 struct named_init ni = {
3581 .number = 34,
3582 .name = L"Test wide string",
3583 .average = 543.34343,
3586 ni.number = 58;
3588 int dynamic_array[ni.number];
3589 dynamic_array[0] = argv[0][0];
3590 dynamic_array[ni.number - 1] = 543;
3592 // work around unused variable warnings
3593 ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
3594 || dynamic_array[ni.number - 1] != 543);
3597 # Test code for whether the C compiler supports C11 (global declarations)
3598 ac_c_conftest_c11_globals='
3599 // Does the compiler advertise C11 conformance?
3600 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
3601 # error "Compiler does not advertise C11 conformance"
3602 #endif
3604 // Check _Alignas.
3605 char _Alignas (double) aligned_as_double;
3606 char _Alignas (0) no_special_alignment;
3607 extern char aligned_as_int;
3608 char _Alignas (0) _Alignas (int) aligned_as_int;
3610 // Check _Alignof.
3611 enum
3613 int_alignment = _Alignof (int),
3614 int_array_alignment = _Alignof (int[100]),
3615 char_alignment = _Alignof (char)
3617 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
3619 // Check _Noreturn.
3620 int _Noreturn does_not_return (void) { for (;;) continue; }
3622 // Check _Static_assert.
3623 struct test_static_assert
3625 int x;
3626 _Static_assert (sizeof (int) <= sizeof (long int),
3627 "_Static_assert does not work in struct");
3628 long int y;
3631 // Check UTF-8 literals.
3632 #define u8 syntax error!
3633 char const utf8_literal[] = u8"happens to be ASCII" "another string";
3635 // Check duplicate typedefs.
3636 typedef long *long_ptr;
3637 typedef long int *long_ptr;
3638 typedef long_ptr long_ptr;
3640 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
3641 struct anonymous
3643 union {
3644 struct { int i; int j; };
3645 struct { int k; long int l; } w;
3647 int m;
3648 } v1;
3651 # Test code for whether the C compiler supports C11 (body of main).
3652 ac_c_conftest_c11_main='
3653 _Static_assert ((offsetof (struct anonymous, i)
3654 == offsetof (struct anonymous, w.k)),
3655 "Anonymous union alignment botch");
3656 v1.i = 2;
3657 v1.w.k = 5;
3658 ok |= v1.i != 5;
3661 # Test code for whether the C compiler supports C11 (complete).
3662 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
3663 ${ac_c_conftest_c99_globals}
3664 ${ac_c_conftest_c11_globals}
3667 main (int argc, char **argv)
3669 int ok = 0;
3670 ${ac_c_conftest_c89_main}
3671 ${ac_c_conftest_c99_main}
3672 ${ac_c_conftest_c11_main}
3673 return ok;
3677 # Test code for whether the C compiler supports C99 (complete).
3678 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
3679 ${ac_c_conftest_c99_globals}
3682 main (int argc, char **argv)
3684 int ok = 0;
3685 ${ac_c_conftest_c89_main}
3686 ${ac_c_conftest_c99_main}
3687 return ok;
3691 # Test code for whether the C compiler supports C89 (complete).
3692 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
3695 main (int argc, char **argv)
3697 int ok = 0;
3698 ${ac_c_conftest_c89_main}
3699 return ok;
3703 # Test code for whether the C++ compiler supports C++98 (global declarations)
3704 ac_cxx_conftest_cxx98_globals='
3705 // Does the compiler advertise C++98 conformance?
3706 #if !defined __cplusplus || __cplusplus < 199711L
3707 # error "Compiler does not advertise C++98 conformance"
3708 #endif
3710 // These inclusions are to reject old compilers that
3711 // lack the unsuffixed header files.
3712 #include <cstdlib>
3713 #include <exception>
3715 // <cassert> and <cstring> are *not* freestanding headers in C++98.
3716 extern void assert (int);
3717 namespace std {
3718 extern int strcmp (const char *, const char *);
3721 // Namespaces, exceptions, and templates were all added after "C++ 2.0".
3722 using std::exception;
3723 using std::strcmp;
3725 namespace {
3727 void test_exception_syntax()
3729 try {
3730 throw "test";
3731 } catch (const char *s) {
3732 // Extra parentheses suppress a warning when building autoconf itself,
3733 // due to lint rules shared with more typical C programs.
3734 assert (!(strcmp) (s, "test"));
3738 template <typename T> struct test_template
3740 T const val;
3741 explicit test_template(T t) : val(t) {}
3742 template <typename U> T add(U u) { return static_cast<T>(u) + val; }
3745 } // anonymous namespace
3748 # Test code for whether the C++ compiler supports C++98 (body of main)
3749 ac_cxx_conftest_cxx98_main='
3750 assert (argc);
3751 assert (! argv[0]);
3753 test_exception_syntax ();
3754 test_template<double> tt (2.0);
3755 assert (tt.add (4) == 6.0);
3756 assert (true && !false);
3760 # Test code for whether the C++ compiler supports C++11 (global declarations)
3761 ac_cxx_conftest_cxx11_globals='
3762 // Does the compiler advertise C++ 2011 conformance?
3763 #if !defined __cplusplus || __cplusplus < 201103L
3764 # error "Compiler does not advertise C++11 conformance"
3765 #endif
3767 namespace cxx11test
3769 constexpr int get_val() { return 20; }
3771 struct testinit
3773 int i;
3774 double d;
3777 class delegate
3779 public:
3780 delegate(int n) : n(n) {}
3781 delegate(): delegate(2354) {}
3783 virtual int getval() { return this->n; };
3784 protected:
3785 int n;
3788 class overridden : public delegate
3790 public:
3791 overridden(int n): delegate(n) {}
3792 virtual int getval() override final { return this->n * 2; }
3795 class nocopy
3797 public:
3798 nocopy(int i): i(i) {}
3799 nocopy() = default;
3800 nocopy(const nocopy&) = delete;
3801 nocopy & operator=(const nocopy&) = delete;
3802 private:
3803 int i;
3806 // for testing lambda expressions
3807 template <typename Ret, typename Fn> Ret eval(Fn f, Ret v)
3809 return f(v);
3812 // for testing variadic templates and trailing return types
3813 template <typename V> auto sum(V first) -> V
3815 return first;
3817 template <typename V, typename... Args> auto sum(V first, Args... rest) -> V
3819 return first + sum(rest...);
3824 # Test code for whether the C++ compiler supports C++11 (body of main)
3825 ac_cxx_conftest_cxx11_main='
3827 // Test auto and decltype
3828 auto a1 = 6538;
3829 auto a2 = 48573953.4;
3830 auto a3 = "String literal";
3832 int total = 0;
3833 for (auto i = a3; *i; ++i) { total += *i; }
3835 decltype(a2) a4 = 34895.034;
3838 // Test constexpr
3839 short sa[cxx11test::get_val()] = { 0 };
3842 // Test initializer lists
3843 cxx11test::testinit il = { 4323, 435234.23544 };
3846 // Test range-based for
3847 int array[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3,
3848 14, 19, 17, 8, 6, 20, 16, 2, 11, 1};
3849 for (auto &x : array) { x += 23; }
3852 // Test lambda expressions
3853 using cxx11test::eval;
3854 assert (eval ([](int x) { return x*2; }, 21) == 42);
3855 double d = 2.0;
3856 assert (eval ([&](double x) { return d += x; }, 3.0) == 5.0);
3857 assert (d == 5.0);
3858 assert (eval ([=](double x) mutable { return d += x; }, 4.0) == 9.0);
3859 assert (d == 5.0);
3862 // Test use of variadic templates
3863 using cxx11test::sum;
3864 auto a = sum(1);
3865 auto b = sum(1, 2);
3866 auto c = sum(1.0, 2.0, 3.0);
3869 // Test constructor delegation
3870 cxx11test::delegate d1;
3871 cxx11test::delegate d2();
3872 cxx11test::delegate d3(45);
3875 // Test override and final
3876 cxx11test::overridden o1(55464);
3879 // Test nullptr
3880 char *c = nullptr;
3883 // Test template brackets
3884 test_template<::test_template<int>> v(test_template<int>(12));
3887 // Unicode literals
3888 char const *utf8 = u8"UTF-8 string \u2500";
3889 char16_t const *utf16 = u"UTF-8 string \u2500";
3890 char32_t const *utf32 = U"UTF-32 string \u2500";
3894 # Test code for whether the C compiler supports C++11 (complete).
3895 ac_cxx_conftest_cxx11_program="${ac_cxx_conftest_cxx98_globals}
3896 ${ac_cxx_conftest_cxx11_globals}
3899 main (int argc, char **argv)
3901 int ok = 0;
3902 ${ac_cxx_conftest_cxx98_main}
3903 ${ac_cxx_conftest_cxx11_main}
3904 return ok;
3908 # Test code for whether the C compiler supports C++98 (complete).
3909 ac_cxx_conftest_cxx98_program="${ac_cxx_conftest_cxx98_globals}
3911 main (int argc, char **argv)
3913 int ok = 0;
3914 ${ac_cxx_conftest_cxx98_main}
3915 return ok;
3919 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
3920 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
3921 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
3922 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
3923 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
3924 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
3925 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
3926 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
3927 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
3929 # Auxiliary files required by this configure script.
3930 ac_aux_files="config.guess config.sub"
3932 # Locations in which to look for auxiliary files.
3933 ac_aux_dir_candidates="${srcdir}/tools"
3935 # Search for a directory containing all of the required auxiliary files,
3936 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
3937 # If we don't find one directory that contains all the files we need,
3938 # we report the set of missing files from the *first* directory in
3939 # $ac_aux_dir_candidates and give up.
3940 ac_missing_aux_files=""
3941 ac_first_candidate=:
3942 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
3943 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3944 as_found=false
3945 for as_dir in $ac_aux_dir_candidates
3947 IFS=$as_save_IFS
3948 case $as_dir in #(((
3949 '') as_dir=./ ;;
3950 */) ;;
3951 *) as_dir=$as_dir/ ;;
3952 esac
3953 as_found=:
3955 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
3956 ac_aux_dir_found=yes
3957 ac_install_sh=
3958 for ac_aux in $ac_aux_files
3960 # As a special case, if "install-sh" is required, that requirement
3961 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
3962 # and $ac_install_sh is set appropriately for whichever one is found.
3963 if test x"$ac_aux" = x"install-sh"
3964 then
3965 if test -f "${as_dir}install-sh"; then
3966 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
3967 ac_install_sh="${as_dir}install-sh -c"
3968 elif test -f "${as_dir}install.sh"; then
3969 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
3970 ac_install_sh="${as_dir}install.sh -c"
3971 elif test -f "${as_dir}shtool"; then
3972 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
3973 ac_install_sh="${as_dir}shtool install -c"
3974 else
3975 ac_aux_dir_found=no
3976 if $ac_first_candidate; then
3977 ac_missing_aux_files="${ac_missing_aux_files} install-sh"
3978 else
3979 break
3982 else
3983 if test -f "${as_dir}${ac_aux}"; then
3984 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
3985 else
3986 ac_aux_dir_found=no
3987 if $ac_first_candidate; then
3988 ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
3989 else
3990 break
3994 done
3995 if test "$ac_aux_dir_found" = yes; then
3996 ac_aux_dir="$as_dir"
3997 break
3999 ac_first_candidate=false
4001 as_found=false
4002 done
4003 IFS=$as_save_IFS
4004 if $as_found
4005 then :
4007 else $as_nop
4008 as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
4012 # These three variables are undocumented and unsupported,
4013 # and are intended to be withdrawn in a future Autoconf release.
4014 # They can cause serious problems if a builder's source tree is in a directory
4015 # whose full name contains unusual characters.
4016 if test -f "${ac_aux_dir}config.guess"; then
4017 ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
4019 if test -f "${ac_aux_dir}config.sub"; then
4020 ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
4022 if test -f "$ac_aux_dir/configure"; then
4023 ac_configure="$SHELL ${ac_aux_dir}configure"
4026 # Check that the precious variables saved in the cache have kept the same
4027 # value.
4028 ac_cache_corrupted=false
4029 for ac_var in $ac_precious_vars; do
4030 eval ac_old_set=\$ac_cv_env_${ac_var}_set
4031 eval ac_new_set=\$ac_env_${ac_var}_set
4032 eval ac_old_val=\$ac_cv_env_${ac_var}_value
4033 eval ac_new_val=\$ac_env_${ac_var}_value
4034 case $ac_old_set,$ac_new_set in
4035 set,)
4036 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
4037 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
4038 ac_cache_corrupted=: ;;
4039 ,set)
4040 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
4041 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
4042 ac_cache_corrupted=: ;;
4043 ,);;
4045 if test "x$ac_old_val" != "x$ac_new_val"; then
4046 # differences in whitespace do not lead to failure.
4047 ac_old_val_w=`echo x $ac_old_val`
4048 ac_new_val_w=`echo x $ac_new_val`
4049 if test "$ac_old_val_w" != "$ac_new_val_w"; then
4050 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
4051 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
4052 ac_cache_corrupted=:
4053 else
4054 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
4055 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
4056 eval $ac_var=\$ac_old_val
4058 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
4059 printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
4060 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
4061 printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
4062 fi;;
4063 esac
4064 # Pass precious variables to config.status.
4065 if test "$ac_new_set" = set; then
4066 case $ac_new_val in
4067 *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
4068 *) ac_arg=$ac_var=$ac_new_val ;;
4069 esac
4070 case " $ac_configure_args " in
4071 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
4072 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
4073 esac
4075 done
4076 if $ac_cache_corrupted; then
4077 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4078 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4079 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
4080 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
4081 as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
4082 and start over" "$LINENO" 5
4084 ## -------------------- ##
4085 ## Main body of script. ##
4086 ## -------------------- ##
4088 ac_ext=c
4089 ac_cpp='$CPP $CPPFLAGS'
4090 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4091 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4092 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4096 ac_config_headers="$ac_config_headers include/config.h"
4100 libwine_version="1.0"
4103 # Check whether --enable-archs was given.
4104 if test ${enable_archs+y}
4105 then :
4106 enableval=$enable_archs;
4109 # Check whether --enable-win16 was given.
4110 if test ${enable_win16+y}
4111 then :
4112 enableval=$enable_win16;
4115 # Check whether --enable-win64 was given.
4116 if test ${enable_win64+y}
4117 then :
4118 enableval=$enable_win64;
4121 # Check whether --enable-tests was given.
4122 if test ${enable_tests+y}
4123 then :
4124 enableval=$enable_tests;
4127 # Check whether --enable-build-id was given.
4128 if test ${enable_build_id+y}
4129 then :
4130 enableval=$enable_build_id;
4133 # Check whether --enable-maintainer-mode was given.
4134 if test ${enable_maintainer_mode+y}
4135 then :
4136 enableval=$enable_maintainer_mode;
4139 # Check whether --enable-silent-rules was given.
4140 if test ${enable_silent_rules+y}
4141 then :
4142 enableval=$enable_silent_rules;
4145 # Check whether --enable-werror was given.
4146 if test ${enable_werror+y}
4147 then :
4148 enableval=$enable_werror;
4153 # Check whether --with-alsa was given.
4154 if test ${with_alsa+y}
4155 then :
4156 withval=$with_alsa;
4160 # Check whether --with-capi was given.
4161 if test ${with_capi+y}
4162 then :
4163 withval=$with_capi;
4167 # Check whether --with-coreaudio was given.
4168 if test ${with_coreaudio+y}
4169 then :
4170 withval=$with_coreaudio;
4174 # Check whether --with-cups was given.
4175 if test ${with_cups+y}
4176 then :
4177 withval=$with_cups;
4181 # Check whether --with-dbus was given.
4182 if test ${with_dbus+y}
4183 then :
4184 withval=$with_dbus;
4188 # Check whether --with-float-abi was given.
4189 if test ${with_float_abi+y}
4190 then :
4191 withval=$with_float_abi;
4195 # Check whether --with-fontconfig was given.
4196 if test ${with_fontconfig+y}
4197 then :
4198 withval=$with_fontconfig;
4202 # Check whether --with-freetype was given.
4203 if test ${with_freetype+y}
4204 then :
4205 withval=$with_freetype;
4209 # Check whether --with-gettext was given.
4210 if test ${with_gettext+y}
4211 then :
4212 withval=$with_gettext;
4216 # Check whether --with-gettextpo was given.
4217 if test ${with_gettextpo+y}
4218 then :
4219 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
4223 # Check whether --with-gphoto was given.
4224 if test ${with_gphoto+y}
4225 then :
4226 withval=$with_gphoto;
4230 # Check whether --with-gnutls was given.
4231 if test ${with_gnutls+y}
4232 then :
4233 withval=$with_gnutls;
4237 # Check whether --with-gssapi was given.
4238 if test ${with_gssapi+y}
4239 then :
4240 withval=$with_gssapi;
4244 # Check whether --with-gstreamer was given.
4245 if test ${with_gstreamer+y}
4246 then :
4247 withval=$with_gstreamer;
4251 # Check whether --with-inotify was given.
4252 if test ${with_inotify+y}
4253 then :
4254 withval=$with_inotify;
4258 # Check whether --with-krb5 was given.
4259 if test ${with_krb5+y}
4260 then :
4261 withval=$with_krb5;
4265 # Check whether --with-mingw was given.
4266 if test ${with_mingw+y}
4267 then :
4268 withval=$with_mingw;
4272 # Check whether --with-netapi was given.
4273 if test ${with_netapi+y}
4274 then :
4275 withval=$with_netapi;
4279 # Check whether --with-opencl was given.
4280 if test ${with_opencl+y}
4281 then :
4282 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4286 # Check whether --with-opengl was given.
4287 if test ${with_opengl+y}
4288 then :
4289 withval=$with_opengl;
4293 # Check whether --with-osmesa was given.
4294 if test ${with_osmesa+y}
4295 then :
4296 withval=$with_osmesa;
4300 # Check whether --with-oss was given.
4301 if test ${with_oss+y}
4302 then :
4303 withval=$with_oss;
4307 # Check whether --with-pcap was given.
4308 if test ${with_pcap+y}
4309 then :
4310 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4314 # Check whether --with-pcsclite was given.
4315 if test ${with_pcsclite+y}
4316 then :
4317 withval=$with_pcsclite;
4321 # Check whether --with-pthread was given.
4322 if test ${with_pthread+y}
4323 then :
4324 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4328 # Check whether --with-pulse was given.
4329 if test ${with_pulse+y}
4330 then :
4331 withval=$with_pulse;
4335 # Check whether --with-sane was given.
4336 if test ${with_sane+y}
4337 then :
4338 withval=$with_sane;
4342 # Check whether --with-sdl was given.
4343 if test ${with_sdl+y}
4344 then :
4345 withval=$with_sdl;
4349 # Check whether --with-udev was given.
4350 if test ${with_udev+y}
4351 then :
4352 withval=$with_udev;
4356 # Check whether --with-unwind was given.
4357 if test ${with_unwind+y}
4358 then :
4359 withval=$with_unwind;
4363 # Check whether --with-usb was given.
4364 if test ${with_usb+y}
4365 then :
4366 withval=$with_usb;
4370 # Check whether --with-v4l2 was given.
4371 if test ${with_v4l2+y}
4372 then :
4373 withval=$with_v4l2;
4377 # Check whether --with-vulkan was given.
4378 if test ${with_vulkan+y}
4379 then :
4380 withval=$with_vulkan;
4384 # Check whether --with-xcomposite was given.
4385 if test ${with_xcomposite+y}
4386 then :
4387 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4391 # Check whether --with-xcursor was given.
4392 if test ${with_xcursor+y}
4393 then :
4394 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4398 # Check whether --with-xfixes was given.
4399 if test ${with_xfixes+y}
4400 then :
4401 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4405 # Check whether --with-xinerama was given.
4406 if test ${with_xinerama+y}
4407 then :
4408 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4412 # Check whether --with-xinput was given.
4413 if test ${with_xinput+y}
4414 then :
4415 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4419 # Check whether --with-xinput2 was given.
4420 if test ${with_xinput2+y}
4421 then :
4422 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4426 # Check whether --with-xrandr was given.
4427 if test ${with_xrandr+y}
4428 then :
4429 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4433 # Check whether --with-xrender was given.
4434 if test ${with_xrender+y}
4435 then :
4436 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4440 # Check whether --with-xshape was given.
4441 if test ${with_xshape+y}
4442 then :
4443 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4447 # Check whether --with-xshm was given.
4448 if test ${with_xshm+y}
4449 then :
4450 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4454 # Check whether --with-xxf86vm was given.
4455 if test ${with_xxf86vm+y}
4456 then :
4457 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
4462 # Check whether --with-system-dllpath was given.
4463 if test ${with_system_dllpath+y}
4464 then :
4465 withval=$with_system_dllpath; system_dllpath=$withval
4470 # Check whether --with-wine-tools was given.
4471 if test ${with_wine_tools+y}
4472 then :
4473 withval=$with_wine_tools;
4477 # Check whether --with-wine64 was given.
4478 if test ${with_wine64+y}
4479 then :
4480 withval=$with_wine64;
4487 # Make sure we can run config.sub.
4488 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
4489 as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
4491 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4492 printf %s "checking build system type... " >&6; }
4493 if test ${ac_cv_build+y}
4494 then :
4495 printf %s "(cached) " >&6
4496 else $as_nop
4497 ac_build_alias=$build_alias
4498 test "x$ac_build_alias" = x &&
4499 ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
4500 test "x$ac_build_alias" = x &&
4501 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4502 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
4503 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
4506 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4507 printf "%s\n" "$ac_cv_build" >&6; }
4508 case $ac_cv_build in
4509 *-*-*) ;;
4510 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4511 esac
4512 build=$ac_cv_build
4513 ac_save_IFS=$IFS; IFS='-'
4514 set x $ac_cv_build
4515 shift
4516 build_cpu=$1
4517 build_vendor=$2
4518 shift; shift
4519 # Remember, the first character of IFS is used to create $*,
4520 # except with old shells:
4521 build_os=$*
4522 IFS=$ac_save_IFS
4523 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4526 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4527 printf %s "checking host system type... " >&6; }
4528 if test ${ac_cv_host+y}
4529 then :
4530 printf %s "(cached) " >&6
4531 else $as_nop
4532 if test "x$host_alias" = x; then
4533 ac_cv_host=$ac_cv_build
4534 else
4535 ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
4536 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
4540 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4541 printf "%s\n" "$ac_cv_host" >&6; }
4542 case $ac_cv_host in
4543 *-*-*) ;;
4544 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4545 esac
4546 host=$ac_cv_host
4547 ac_save_IFS=$IFS; IFS='-'
4548 set x $ac_cv_host
4549 shift
4550 host_cpu=$1
4551 host_vendor=$2
4552 shift; shift
4553 # Remember, the first character of IFS is used to create $*,
4554 # except with old shells:
4555 host_os=$*
4556 IFS=$ac_save_IFS
4557 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4561 dlldir=\${libdir}/wine
4563 fontdir=\${datadir}/wine/fonts
4565 nlsdir=\${datadir}/wine/nls
4570 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4571 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4572 set x ${MAKE-make}
4573 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4574 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
4575 then :
4576 printf %s "(cached) " >&6
4577 else $as_nop
4578 cat >conftest.make <<\_ACEOF
4579 SHELL = /bin/sh
4580 all:
4581 @echo '@@@%%%=$(MAKE)=@@@%%%'
4582 _ACEOF
4583 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4584 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4585 *@@@%%%=?*=@@@%%%*)
4586 eval ac_cv_prog_make_${ac_make}_set=yes;;
4588 eval ac_cv_prog_make_${ac_make}_set=no;;
4589 esac
4590 rm -f conftest.make
4592 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4593 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4594 printf "%s\n" "yes" >&6; }
4595 SET_MAKE=
4596 else
4597 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4598 printf "%s\n" "no" >&6; }
4599 SET_MAKE="MAKE=${MAKE-make}"
4611 ac_ext=c
4612 ac_cpp='$CPP $CPPFLAGS'
4613 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4614 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4615 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4616 if test -n "$ac_tool_prefix"; then
4617 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4618 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4619 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4620 printf %s "checking for $ac_word... " >&6; }
4621 if test ${ac_cv_prog_CC+y}
4622 then :
4623 printf %s "(cached) " >&6
4624 else $as_nop
4625 if test -n "$CC"; then
4626 ac_cv_prog_CC="$CC" # Let the user override the test.
4627 else
4628 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4629 for as_dir in $PATH
4631 IFS=$as_save_IFS
4632 case $as_dir in #(((
4633 '') as_dir=./ ;;
4634 */) ;;
4635 *) as_dir=$as_dir/ ;;
4636 esac
4637 for ac_exec_ext in '' $ac_executable_extensions; do
4638 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4639 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4640 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4641 break 2
4643 done
4644 done
4645 IFS=$as_save_IFS
4649 CC=$ac_cv_prog_CC
4650 if test -n "$CC"; then
4651 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4652 printf "%s\n" "$CC" >&6; }
4653 else
4654 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4655 printf "%s\n" "no" >&6; }
4660 if test -z "$ac_cv_prog_CC"; then
4661 ac_ct_CC=$CC
4662 # Extract the first word of "gcc", so it can be a program name with args.
4663 set dummy gcc; ac_word=$2
4664 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4665 printf %s "checking for $ac_word... " >&6; }
4666 if test ${ac_cv_prog_ac_ct_CC+y}
4667 then :
4668 printf %s "(cached) " >&6
4669 else $as_nop
4670 if test -n "$ac_ct_CC"; then
4671 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4672 else
4673 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4674 for as_dir in $PATH
4676 IFS=$as_save_IFS
4677 case $as_dir in #(((
4678 '') as_dir=./ ;;
4679 */) ;;
4680 *) as_dir=$as_dir/ ;;
4681 esac
4682 for ac_exec_ext in '' $ac_executable_extensions; do
4683 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4684 ac_cv_prog_ac_ct_CC="gcc"
4685 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4686 break 2
4688 done
4689 done
4690 IFS=$as_save_IFS
4694 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4695 if test -n "$ac_ct_CC"; then
4696 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4697 printf "%s\n" "$ac_ct_CC" >&6; }
4698 else
4699 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4700 printf "%s\n" "no" >&6; }
4703 if test "x$ac_ct_CC" = x; then
4704 CC=""
4705 else
4706 case $cross_compiling:$ac_tool_warned in
4707 yes:)
4708 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4709 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4710 ac_tool_warned=yes ;;
4711 esac
4712 CC=$ac_ct_CC
4714 else
4715 CC="$ac_cv_prog_CC"
4718 if test -z "$CC"; then
4719 if test -n "$ac_tool_prefix"; then
4720 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4721 set dummy ${ac_tool_prefix}cc; ac_word=$2
4722 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4723 printf %s "checking for $ac_word... " >&6; }
4724 if test ${ac_cv_prog_CC+y}
4725 then :
4726 printf %s "(cached) " >&6
4727 else $as_nop
4728 if test -n "$CC"; then
4729 ac_cv_prog_CC="$CC" # Let the user override the test.
4730 else
4731 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4732 for as_dir in $PATH
4734 IFS=$as_save_IFS
4735 case $as_dir in #(((
4736 '') as_dir=./ ;;
4737 */) ;;
4738 *) as_dir=$as_dir/ ;;
4739 esac
4740 for ac_exec_ext in '' $ac_executable_extensions; do
4741 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4742 ac_cv_prog_CC="${ac_tool_prefix}cc"
4743 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4744 break 2
4746 done
4747 done
4748 IFS=$as_save_IFS
4752 CC=$ac_cv_prog_CC
4753 if test -n "$CC"; then
4754 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4755 printf "%s\n" "$CC" >&6; }
4756 else
4757 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4758 printf "%s\n" "no" >&6; }
4764 if test -z "$CC"; then
4765 # Extract the first word of "cc", so it can be a program name with args.
4766 set dummy cc; ac_word=$2
4767 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4768 printf %s "checking for $ac_word... " >&6; }
4769 if test ${ac_cv_prog_CC+y}
4770 then :
4771 printf %s "(cached) " >&6
4772 else $as_nop
4773 if test -n "$CC"; then
4774 ac_cv_prog_CC="$CC" # Let the user override the test.
4775 else
4776 ac_prog_rejected=no
4777 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4778 for as_dir in $PATH
4780 IFS=$as_save_IFS
4781 case $as_dir in #(((
4782 '') as_dir=./ ;;
4783 */) ;;
4784 *) as_dir=$as_dir/ ;;
4785 esac
4786 for ac_exec_ext in '' $ac_executable_extensions; do
4787 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4788 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4789 ac_prog_rejected=yes
4790 continue
4792 ac_cv_prog_CC="cc"
4793 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4794 break 2
4796 done
4797 done
4798 IFS=$as_save_IFS
4800 if test $ac_prog_rejected = yes; then
4801 # We found a bogon in the path, so make sure we never use it.
4802 set dummy $ac_cv_prog_CC
4803 shift
4804 if test $# != 0; then
4805 # We chose a different compiler from the bogus one.
4806 # However, it has the same basename, so the bogon will be chosen
4807 # first if we set CC to just the basename; use the full file name.
4808 shift
4809 ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
4814 CC=$ac_cv_prog_CC
4815 if test -n "$CC"; then
4816 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4817 printf "%s\n" "$CC" >&6; }
4818 else
4819 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4820 printf "%s\n" "no" >&6; }
4825 if test -z "$CC"; then
4826 if test -n "$ac_tool_prefix"; then
4827 for ac_prog in cl.exe
4829 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4830 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4831 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4832 printf %s "checking for $ac_word... " >&6; }
4833 if test ${ac_cv_prog_CC+y}
4834 then :
4835 printf %s "(cached) " >&6
4836 else $as_nop
4837 if test -n "$CC"; then
4838 ac_cv_prog_CC="$CC" # Let the user override the test.
4839 else
4840 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4841 for as_dir in $PATH
4843 IFS=$as_save_IFS
4844 case $as_dir in #(((
4845 '') as_dir=./ ;;
4846 */) ;;
4847 *) as_dir=$as_dir/ ;;
4848 esac
4849 for ac_exec_ext in '' $ac_executable_extensions; do
4850 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4851 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4852 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4853 break 2
4855 done
4856 done
4857 IFS=$as_save_IFS
4861 CC=$ac_cv_prog_CC
4862 if test -n "$CC"; then
4863 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4864 printf "%s\n" "$CC" >&6; }
4865 else
4866 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4867 printf "%s\n" "no" >&6; }
4871 test -n "$CC" && break
4872 done
4874 if test -z "$CC"; then
4875 ac_ct_CC=$CC
4876 for ac_prog in cl.exe
4878 # Extract the first word of "$ac_prog", so it can be a program name with args.
4879 set dummy $ac_prog; ac_word=$2
4880 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4881 printf %s "checking for $ac_word... " >&6; }
4882 if test ${ac_cv_prog_ac_ct_CC+y}
4883 then :
4884 printf %s "(cached) " >&6
4885 else $as_nop
4886 if test -n "$ac_ct_CC"; then
4887 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4888 else
4889 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4890 for as_dir in $PATH
4892 IFS=$as_save_IFS
4893 case $as_dir in #(((
4894 '') as_dir=./ ;;
4895 */) ;;
4896 *) as_dir=$as_dir/ ;;
4897 esac
4898 for ac_exec_ext in '' $ac_executable_extensions; do
4899 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4900 ac_cv_prog_ac_ct_CC="$ac_prog"
4901 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4902 break 2
4904 done
4905 done
4906 IFS=$as_save_IFS
4910 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4911 if test -n "$ac_ct_CC"; then
4912 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4913 printf "%s\n" "$ac_ct_CC" >&6; }
4914 else
4915 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4916 printf "%s\n" "no" >&6; }
4920 test -n "$ac_ct_CC" && break
4921 done
4923 if test "x$ac_ct_CC" = x; then
4924 CC=""
4925 else
4926 case $cross_compiling:$ac_tool_warned in
4927 yes:)
4928 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4929 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4930 ac_tool_warned=yes ;;
4931 esac
4932 CC=$ac_ct_CC
4937 if test -z "$CC"; then
4938 if test -n "$ac_tool_prefix"; then
4939 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
4940 set dummy ${ac_tool_prefix}clang; ac_word=$2
4941 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4942 printf %s "checking for $ac_word... " >&6; }
4943 if test ${ac_cv_prog_CC+y}
4944 then :
4945 printf %s "(cached) " >&6
4946 else $as_nop
4947 if test -n "$CC"; then
4948 ac_cv_prog_CC="$CC" # Let the user override the test.
4949 else
4950 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4951 for as_dir in $PATH
4953 IFS=$as_save_IFS
4954 case $as_dir in #(((
4955 '') as_dir=./ ;;
4956 */) ;;
4957 *) as_dir=$as_dir/ ;;
4958 esac
4959 for ac_exec_ext in '' $ac_executable_extensions; do
4960 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4961 ac_cv_prog_CC="${ac_tool_prefix}clang"
4962 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4963 break 2
4965 done
4966 done
4967 IFS=$as_save_IFS
4971 CC=$ac_cv_prog_CC
4972 if test -n "$CC"; then
4973 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4974 printf "%s\n" "$CC" >&6; }
4975 else
4976 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4977 printf "%s\n" "no" >&6; }
4982 if test -z "$ac_cv_prog_CC"; then
4983 ac_ct_CC=$CC
4984 # Extract the first word of "clang", so it can be a program name with args.
4985 set dummy clang; ac_word=$2
4986 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4987 printf %s "checking for $ac_word... " >&6; }
4988 if test ${ac_cv_prog_ac_ct_CC+y}
4989 then :
4990 printf %s "(cached) " >&6
4991 else $as_nop
4992 if test -n "$ac_ct_CC"; then
4993 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4994 else
4995 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4996 for as_dir in $PATH
4998 IFS=$as_save_IFS
4999 case $as_dir in #(((
5000 '') as_dir=./ ;;
5001 */) ;;
5002 *) as_dir=$as_dir/ ;;
5003 esac
5004 for ac_exec_ext in '' $ac_executable_extensions; do
5005 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5006 ac_cv_prog_ac_ct_CC="clang"
5007 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5008 break 2
5010 done
5011 done
5012 IFS=$as_save_IFS
5016 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5017 if test -n "$ac_ct_CC"; then
5018 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5019 printf "%s\n" "$ac_ct_CC" >&6; }
5020 else
5021 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5022 printf "%s\n" "no" >&6; }
5025 if test "x$ac_ct_CC" = x; then
5026 CC=""
5027 else
5028 case $cross_compiling:$ac_tool_warned in
5029 yes:)
5030 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5031 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5032 ac_tool_warned=yes ;;
5033 esac
5034 CC=$ac_ct_CC
5036 else
5037 CC="$ac_cv_prog_CC"
5043 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5044 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5045 as_fn_error $? "no acceptable C compiler found in \$PATH
5046 See \`config.log' for more details" "$LINENO" 5; }
5048 # Provide some information about the compiler.
5049 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5050 set X $ac_compile
5051 ac_compiler=$2
5052 for ac_option in --version -v -V -qversion -version; do
5053 { { ac_try="$ac_compiler $ac_option >&5"
5054 case "(($ac_try" in
5055 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5056 *) ac_try_echo=$ac_try;;
5057 esac
5058 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5059 printf "%s\n" "$ac_try_echo"; } >&5
5060 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5061 ac_status=$?
5062 if test -s conftest.err; then
5063 sed '10a\
5064 ... rest of stderr output deleted ...
5065 10q' conftest.err >conftest.er1
5066 cat conftest.er1 >&5
5068 rm -f conftest.er1 conftest.err
5069 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5070 test $ac_status = 0; }
5071 done
5073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5074 /* end confdefs.h. */
5077 main (void)
5081 return 0;
5083 _ACEOF
5084 ac_clean_files_save=$ac_clean_files
5085 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
5086 # Try to create an executable without -o first, disregard a.out.
5087 # It will help us diagnose broken compilers, and finding out an intuition
5088 # of exeext.
5089 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
5090 printf %s "checking whether the C compiler works... " >&6; }
5091 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
5093 # The possible output files:
5094 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
5096 ac_rmfiles=
5097 for ac_file in $ac_files
5099 case $ac_file in
5100 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5101 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
5102 esac
5103 done
5104 rm -f $ac_rmfiles
5106 if { { ac_try="$ac_link_default"
5107 case "(($ac_try" in
5108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5109 *) ac_try_echo=$ac_try;;
5110 esac
5111 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5112 printf "%s\n" "$ac_try_echo"; } >&5
5113 (eval "$ac_link_default") 2>&5
5114 ac_status=$?
5115 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5116 test $ac_status = 0; }
5117 then :
5118 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
5119 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
5120 # in a Makefile. We should not override ac_cv_exeext if it was cached,
5121 # so that the user can short-circuit this test for compilers unknown to
5122 # Autoconf.
5123 for ac_file in $ac_files ''
5125 test -f "$ac_file" || continue
5126 case $ac_file in
5127 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
5129 [ab].out )
5130 # We found the default executable, but exeext='' is most
5131 # certainly right.
5132 break;;
5133 *.* )
5134 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
5135 then :; else
5136 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5138 # We set ac_cv_exeext here because the later test for it is not
5139 # safe: cross compilers may not add the suffix if given an `-o'
5140 # argument, so we may need to know it at that point already.
5141 # Even if this section looks crufty: it has the advantage of
5142 # actually working.
5143 break;;
5145 break;;
5146 esac
5147 done
5148 test "$ac_cv_exeext" = no && ac_cv_exeext=
5150 else $as_nop
5151 ac_file=''
5153 if test -z "$ac_file"
5154 then :
5155 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5156 printf "%s\n" "no" >&6; }
5157 printf "%s\n" "$as_me: failed program was:" >&5
5158 sed 's/^/| /' conftest.$ac_ext >&5
5160 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5161 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5162 as_fn_error 77 "C compiler cannot create executables
5163 See \`config.log' for more details" "$LINENO" 5; }
5164 else $as_nop
5165 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5166 printf "%s\n" "yes" >&6; }
5168 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
5169 printf %s "checking for C compiler default output file name... " >&6; }
5170 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
5171 printf "%s\n" "$ac_file" >&6; }
5172 ac_exeext=$ac_cv_exeext
5174 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
5175 ac_clean_files=$ac_clean_files_save
5176 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
5177 printf %s "checking for suffix of executables... " >&6; }
5178 if { { ac_try="$ac_link"
5179 case "(($ac_try" in
5180 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5181 *) ac_try_echo=$ac_try;;
5182 esac
5183 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5184 printf "%s\n" "$ac_try_echo"; } >&5
5185 (eval "$ac_link") 2>&5
5186 ac_status=$?
5187 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5188 test $ac_status = 0; }
5189 then :
5190 # If both `conftest.exe' and `conftest' are `present' (well, observable)
5191 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
5192 # work properly (i.e., refer to `conftest.exe'), while it won't with
5193 # `rm'.
5194 for ac_file in conftest.exe conftest conftest.*; do
5195 test -f "$ac_file" || continue
5196 case $ac_file in
5197 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5198 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5199 break;;
5200 * ) break;;
5201 esac
5202 done
5203 else $as_nop
5204 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5205 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5206 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
5207 See \`config.log' for more details" "$LINENO" 5; }
5209 rm -f conftest conftest$ac_cv_exeext
5210 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
5211 printf "%s\n" "$ac_cv_exeext" >&6; }
5213 rm -f conftest.$ac_ext
5214 EXEEXT=$ac_cv_exeext
5215 ac_exeext=$EXEEXT
5216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5217 /* end confdefs.h. */
5218 #include <stdio.h>
5220 main (void)
5222 FILE *f = fopen ("conftest.out", "w");
5223 return ferror (f) || fclose (f) != 0;
5226 return 0;
5228 _ACEOF
5229 ac_clean_files="$ac_clean_files conftest.out"
5230 # Check that the compiler produces executables we can run. If not, either
5231 # the compiler is broken, or we cross compile.
5232 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
5233 printf %s "checking whether we are cross compiling... " >&6; }
5234 if test "$cross_compiling" != yes; then
5235 { { ac_try="$ac_link"
5236 case "(($ac_try" in
5237 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5238 *) ac_try_echo=$ac_try;;
5239 esac
5240 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5241 printf "%s\n" "$ac_try_echo"; } >&5
5242 (eval "$ac_link") 2>&5
5243 ac_status=$?
5244 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5245 test $ac_status = 0; }
5246 if { ac_try='./conftest$ac_cv_exeext'
5247 { { case "(($ac_try" in
5248 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5249 *) ac_try_echo=$ac_try;;
5250 esac
5251 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5252 printf "%s\n" "$ac_try_echo"; } >&5
5253 (eval "$ac_try") 2>&5
5254 ac_status=$?
5255 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5256 test $ac_status = 0; }; }; then
5257 cross_compiling=no
5258 else
5259 if test "$cross_compiling" = maybe; then
5260 cross_compiling=yes
5261 else
5262 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5263 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5264 as_fn_error 77 "cannot run C compiled programs.
5265 If you meant to cross compile, use \`--host'.
5266 See \`config.log' for more details" "$LINENO" 5; }
5270 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
5271 printf "%s\n" "$cross_compiling" >&6; }
5273 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
5274 ac_clean_files=$ac_clean_files_save
5275 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
5276 printf %s "checking for suffix of object files... " >&6; }
5277 if test ${ac_cv_objext+y}
5278 then :
5279 printf %s "(cached) " >&6
5280 else $as_nop
5281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5282 /* end confdefs.h. */
5285 main (void)
5289 return 0;
5291 _ACEOF
5292 rm -f conftest.o conftest.obj
5293 if { { ac_try="$ac_compile"
5294 case "(($ac_try" in
5295 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5296 *) ac_try_echo=$ac_try;;
5297 esac
5298 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5299 printf "%s\n" "$ac_try_echo"; } >&5
5300 (eval "$ac_compile") 2>&5
5301 ac_status=$?
5302 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5303 test $ac_status = 0; }
5304 then :
5305 for ac_file in conftest.o conftest.obj conftest.*; do
5306 test -f "$ac_file" || continue;
5307 case $ac_file in
5308 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
5309 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
5310 break;;
5311 esac
5312 done
5313 else $as_nop
5314 printf "%s\n" "$as_me: failed program was:" >&5
5315 sed 's/^/| /' conftest.$ac_ext >&5
5317 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5318 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5319 as_fn_error $? "cannot compute suffix of object files: cannot compile
5320 See \`config.log' for more details" "$LINENO" 5; }
5322 rm -f conftest.$ac_cv_objext conftest.$ac_ext
5324 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
5325 printf "%s\n" "$ac_cv_objext" >&6; }
5326 OBJEXT=$ac_cv_objext
5327 ac_objext=$OBJEXT
5328 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
5329 printf %s "checking whether the compiler supports GNU C... " >&6; }
5330 if test ${ac_cv_c_compiler_gnu+y}
5331 then :
5332 printf %s "(cached) " >&6
5333 else $as_nop
5334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5335 /* end confdefs.h. */
5338 main (void)
5340 #ifndef __GNUC__
5341 choke me
5342 #endif
5345 return 0;
5347 _ACEOF
5348 if ac_fn_c_try_compile "$LINENO"
5349 then :
5350 ac_compiler_gnu=yes
5351 else $as_nop
5352 ac_compiler_gnu=no
5354 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5355 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5358 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5359 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
5360 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5362 if test $ac_compiler_gnu = yes; then
5363 GCC=yes
5364 else
5365 GCC=
5367 ac_test_CFLAGS=${CFLAGS+y}
5368 ac_save_CFLAGS=$CFLAGS
5369 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5370 printf %s "checking whether $CC accepts -g... " >&6; }
5371 if test ${ac_cv_prog_cc_g+y}
5372 then :
5373 printf %s "(cached) " >&6
5374 else $as_nop
5375 ac_save_c_werror_flag=$ac_c_werror_flag
5376 ac_c_werror_flag=yes
5377 ac_cv_prog_cc_g=no
5378 CFLAGS="-g"
5379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5380 /* end confdefs.h. */
5383 main (void)
5387 return 0;
5389 _ACEOF
5390 if ac_fn_c_try_compile "$LINENO"
5391 then :
5392 ac_cv_prog_cc_g=yes
5393 else $as_nop
5394 CFLAGS=""
5395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5396 /* end confdefs.h. */
5399 main (void)
5403 return 0;
5405 _ACEOF
5406 if ac_fn_c_try_compile "$LINENO"
5407 then :
5409 else $as_nop
5410 ac_c_werror_flag=$ac_save_c_werror_flag
5411 CFLAGS="-g"
5412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5413 /* end confdefs.h. */
5416 main (void)
5420 return 0;
5422 _ACEOF
5423 if ac_fn_c_try_compile "$LINENO"
5424 then :
5425 ac_cv_prog_cc_g=yes
5427 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5429 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5431 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5432 ac_c_werror_flag=$ac_save_c_werror_flag
5434 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5435 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
5436 if test $ac_test_CFLAGS; then
5437 CFLAGS=$ac_save_CFLAGS
5438 elif test $ac_cv_prog_cc_g = yes; then
5439 if test "$GCC" = yes; then
5440 CFLAGS="-g -O2"
5441 else
5442 CFLAGS="-g"
5444 else
5445 if test "$GCC" = yes; then
5446 CFLAGS="-O2"
5447 else
5448 CFLAGS=
5451 ac_prog_cc_stdc=no
5452 if test x$ac_prog_cc_stdc = xno
5453 then :
5454 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
5455 printf %s "checking for $CC option to enable C11 features... " >&6; }
5456 if test ${ac_cv_prog_cc_c11+y}
5457 then :
5458 printf %s "(cached) " >&6
5459 else $as_nop
5460 ac_cv_prog_cc_c11=no
5461 ac_save_CC=$CC
5462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5463 /* end confdefs.h. */
5464 $ac_c_conftest_c11_program
5465 _ACEOF
5466 for ac_arg in '' -std=gnu11
5468 CC="$ac_save_CC $ac_arg"
5469 if ac_fn_c_try_compile "$LINENO"
5470 then :
5471 ac_cv_prog_cc_c11=$ac_arg
5473 rm -f core conftest.err conftest.$ac_objext conftest.beam
5474 test "x$ac_cv_prog_cc_c11" != "xno" && break
5475 done
5476 rm -f conftest.$ac_ext
5477 CC=$ac_save_CC
5480 if test "x$ac_cv_prog_cc_c11" = xno
5481 then :
5482 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5483 printf "%s\n" "unsupported" >&6; }
5484 else $as_nop
5485 if test "x$ac_cv_prog_cc_c11" = x
5486 then :
5487 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5488 printf "%s\n" "none needed" >&6; }
5489 else $as_nop
5490 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
5491 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
5492 CC="$CC $ac_cv_prog_cc_c11"
5494 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
5495 ac_prog_cc_stdc=c11
5498 if test x$ac_prog_cc_stdc = xno
5499 then :
5500 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
5501 printf %s "checking for $CC option to enable C99 features... " >&6; }
5502 if test ${ac_cv_prog_cc_c99+y}
5503 then :
5504 printf %s "(cached) " >&6
5505 else $as_nop
5506 ac_cv_prog_cc_c99=no
5507 ac_save_CC=$CC
5508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5509 /* end confdefs.h. */
5510 $ac_c_conftest_c99_program
5511 _ACEOF
5512 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
5514 CC="$ac_save_CC $ac_arg"
5515 if ac_fn_c_try_compile "$LINENO"
5516 then :
5517 ac_cv_prog_cc_c99=$ac_arg
5519 rm -f core conftest.err conftest.$ac_objext conftest.beam
5520 test "x$ac_cv_prog_cc_c99" != "xno" && break
5521 done
5522 rm -f conftest.$ac_ext
5523 CC=$ac_save_CC
5526 if test "x$ac_cv_prog_cc_c99" = xno
5527 then :
5528 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5529 printf "%s\n" "unsupported" >&6; }
5530 else $as_nop
5531 if test "x$ac_cv_prog_cc_c99" = x
5532 then :
5533 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5534 printf "%s\n" "none needed" >&6; }
5535 else $as_nop
5536 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5537 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
5538 CC="$CC $ac_cv_prog_cc_c99"
5540 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
5541 ac_prog_cc_stdc=c99
5544 if test x$ac_prog_cc_stdc = xno
5545 then :
5546 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
5547 printf %s "checking for $CC option to enable C89 features... " >&6; }
5548 if test ${ac_cv_prog_cc_c89+y}
5549 then :
5550 printf %s "(cached) " >&6
5551 else $as_nop
5552 ac_cv_prog_cc_c89=no
5553 ac_save_CC=$CC
5554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5555 /* end confdefs.h. */
5556 $ac_c_conftest_c89_program
5557 _ACEOF
5558 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5560 CC="$ac_save_CC $ac_arg"
5561 if ac_fn_c_try_compile "$LINENO"
5562 then :
5563 ac_cv_prog_cc_c89=$ac_arg
5565 rm -f core conftest.err conftest.$ac_objext conftest.beam
5566 test "x$ac_cv_prog_cc_c89" != "xno" && break
5567 done
5568 rm -f conftest.$ac_ext
5569 CC=$ac_save_CC
5572 if test "x$ac_cv_prog_cc_c89" = xno
5573 then :
5574 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5575 printf "%s\n" "unsupported" >&6; }
5576 else $as_nop
5577 if test "x$ac_cv_prog_cc_c89" = x
5578 then :
5579 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5580 printf "%s\n" "none needed" >&6; }
5581 else $as_nop
5582 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5583 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
5584 CC="$CC $ac_cv_prog_cc_c89"
5586 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
5587 ac_prog_cc_stdc=c89
5591 ac_ext=c
5592 ac_cpp='$CPP $CPPFLAGS'
5593 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5594 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5595 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5603 ac_ext=cpp
5604 ac_cpp='$CXXCPP $CPPFLAGS'
5605 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5606 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5607 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5608 if test -z "$CXX"; then
5609 if test -n "$CCC"; then
5610 CXX=$CCC
5611 else
5612 if test -n "$ac_tool_prefix"; then
5613 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5615 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5616 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5617 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5618 printf %s "checking for $ac_word... " >&6; }
5619 if test ${ac_cv_prog_CXX+y}
5620 then :
5621 printf %s "(cached) " >&6
5622 else $as_nop
5623 if test -n "$CXX"; then
5624 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5625 else
5626 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5627 for as_dir in $PATH
5629 IFS=$as_save_IFS
5630 case $as_dir in #(((
5631 '') as_dir=./ ;;
5632 */) ;;
5633 *) as_dir=$as_dir/ ;;
5634 esac
5635 for ac_exec_ext in '' $ac_executable_extensions; do
5636 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5637 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5638 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5639 break 2
5641 done
5642 done
5643 IFS=$as_save_IFS
5647 CXX=$ac_cv_prog_CXX
5648 if test -n "$CXX"; then
5649 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5650 printf "%s\n" "$CXX" >&6; }
5651 else
5652 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5653 printf "%s\n" "no" >&6; }
5657 test -n "$CXX" && break
5658 done
5660 if test -z "$CXX"; then
5661 ac_ct_CXX=$CXX
5662 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5664 # Extract the first word of "$ac_prog", so it can be a program name with args.
5665 set dummy $ac_prog; ac_word=$2
5666 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5667 printf %s "checking for $ac_word... " >&6; }
5668 if test ${ac_cv_prog_ac_ct_CXX+y}
5669 then :
5670 printf %s "(cached) " >&6
5671 else $as_nop
5672 if test -n "$ac_ct_CXX"; then
5673 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5674 else
5675 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5676 for as_dir in $PATH
5678 IFS=$as_save_IFS
5679 case $as_dir in #(((
5680 '') as_dir=./ ;;
5681 */) ;;
5682 *) as_dir=$as_dir/ ;;
5683 esac
5684 for ac_exec_ext in '' $ac_executable_extensions; do
5685 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5686 ac_cv_prog_ac_ct_CXX="$ac_prog"
5687 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5688 break 2
5690 done
5691 done
5692 IFS=$as_save_IFS
5696 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5697 if test -n "$ac_ct_CXX"; then
5698 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5699 printf "%s\n" "$ac_ct_CXX" >&6; }
5700 else
5701 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5702 printf "%s\n" "no" >&6; }
5706 test -n "$ac_ct_CXX" && break
5707 done
5709 if test "x$ac_ct_CXX" = x; then
5710 CXX="g++"
5711 else
5712 case $cross_compiling:$ac_tool_warned in
5713 yes:)
5714 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5715 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5716 ac_tool_warned=yes ;;
5717 esac
5718 CXX=$ac_ct_CXX
5724 # Provide some information about the compiler.
5725 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5726 set X $ac_compile
5727 ac_compiler=$2
5728 for ac_option in --version -v -V -qversion; do
5729 { { ac_try="$ac_compiler $ac_option >&5"
5730 case "(($ac_try" in
5731 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5732 *) ac_try_echo=$ac_try;;
5733 esac
5734 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5735 printf "%s\n" "$ac_try_echo"; } >&5
5736 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5737 ac_status=$?
5738 if test -s conftest.err; then
5739 sed '10a\
5740 ... rest of stderr output deleted ...
5741 10q' conftest.err >conftest.er1
5742 cat conftest.er1 >&5
5744 rm -f conftest.er1 conftest.err
5745 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5746 test $ac_status = 0; }
5747 done
5749 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5
5750 printf %s "checking whether the compiler supports GNU C++... " >&6; }
5751 if test ${ac_cv_cxx_compiler_gnu+y}
5752 then :
5753 printf %s "(cached) " >&6
5754 else $as_nop
5755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5756 /* end confdefs.h. */
5759 main (void)
5761 #ifndef __GNUC__
5762 choke me
5763 #endif
5766 return 0;
5768 _ACEOF
5769 if ac_fn_cxx_try_compile "$LINENO"
5770 then :
5771 ac_compiler_gnu=yes
5772 else $as_nop
5773 ac_compiler_gnu=no
5775 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5776 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5779 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5780 printf "%s\n" "$ac_cv_cxx_compiler_gnu" >&6; }
5781 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5783 if test $ac_compiler_gnu = yes; then
5784 GXX=yes
5785 else
5786 GXX=
5788 ac_test_CXXFLAGS=${CXXFLAGS+y}
5789 ac_save_CXXFLAGS=$CXXFLAGS
5790 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5791 printf %s "checking whether $CXX accepts -g... " >&6; }
5792 if test ${ac_cv_prog_cxx_g+y}
5793 then :
5794 printf %s "(cached) " >&6
5795 else $as_nop
5796 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5797 ac_cxx_werror_flag=yes
5798 ac_cv_prog_cxx_g=no
5799 CXXFLAGS="-g"
5800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5801 /* end confdefs.h. */
5804 main (void)
5808 return 0;
5810 _ACEOF
5811 if ac_fn_cxx_try_compile "$LINENO"
5812 then :
5813 ac_cv_prog_cxx_g=yes
5814 else $as_nop
5815 CXXFLAGS=""
5816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5817 /* end confdefs.h. */
5820 main (void)
5824 return 0;
5826 _ACEOF
5827 if ac_fn_cxx_try_compile "$LINENO"
5828 then :
5830 else $as_nop
5831 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5832 CXXFLAGS="-g"
5833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5834 /* end confdefs.h. */
5837 main (void)
5841 return 0;
5843 _ACEOF
5844 if ac_fn_cxx_try_compile "$LINENO"
5845 then :
5846 ac_cv_prog_cxx_g=yes
5848 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5850 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5852 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5853 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5855 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5856 printf "%s\n" "$ac_cv_prog_cxx_g" >&6; }
5857 if test $ac_test_CXXFLAGS; then
5858 CXXFLAGS=$ac_save_CXXFLAGS
5859 elif test $ac_cv_prog_cxx_g = yes; then
5860 if test "$GXX" = yes; then
5861 CXXFLAGS="-g -O2"
5862 else
5863 CXXFLAGS="-g"
5865 else
5866 if test "$GXX" = yes; then
5867 CXXFLAGS="-O2"
5868 else
5869 CXXFLAGS=
5872 ac_prog_cxx_stdcxx=no
5873 if test x$ac_prog_cxx_stdcxx = xno
5874 then :
5875 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5
5876 printf %s "checking for $CXX option to enable C++11 features... " >&6; }
5877 if test ${ac_cv_prog_cxx_cxx11+y}
5878 then :
5879 printf %s "(cached) " >&6
5880 else $as_nop
5881 ac_cv_prog_cxx_cxx11=no
5882 ac_save_CXX=$CXX
5883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5884 /* end confdefs.h. */
5885 $ac_cxx_conftest_cxx11_program
5886 _ACEOF
5887 for ac_arg in '' -std=gnu++11 -std=gnu++0x -std=c++11 -std=c++0x -qlanglvl=extended0x -AA
5889 CXX="$ac_save_CXX $ac_arg"
5890 if ac_fn_cxx_try_compile "$LINENO"
5891 then :
5892 ac_cv_prog_cxx_cxx11=$ac_arg
5894 rm -f core conftest.err conftest.$ac_objext conftest.beam
5895 test "x$ac_cv_prog_cxx_cxx11" != "xno" && break
5896 done
5897 rm -f conftest.$ac_ext
5898 CXX=$ac_save_CXX
5901 if test "x$ac_cv_prog_cxx_cxx11" = xno
5902 then :
5903 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5904 printf "%s\n" "unsupported" >&6; }
5905 else $as_nop
5906 if test "x$ac_cv_prog_cxx_cxx11" = x
5907 then :
5908 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5909 printf "%s\n" "none needed" >&6; }
5910 else $as_nop
5911 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx11" >&5
5912 printf "%s\n" "$ac_cv_prog_cxx_cxx11" >&6; }
5913 CXX="$CXX $ac_cv_prog_cxx_cxx11"
5915 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx11
5916 ac_prog_cxx_stdcxx=cxx11
5919 if test x$ac_prog_cxx_stdcxx = xno
5920 then :
5921 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5
5922 printf %s "checking for $CXX option to enable C++98 features... " >&6; }
5923 if test ${ac_cv_prog_cxx_cxx98+y}
5924 then :
5925 printf %s "(cached) " >&6
5926 else $as_nop
5927 ac_cv_prog_cxx_cxx98=no
5928 ac_save_CXX=$CXX
5929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5930 /* end confdefs.h. */
5931 $ac_cxx_conftest_cxx98_program
5932 _ACEOF
5933 for ac_arg in '' -std=gnu++98 -std=c++98 -qlanglvl=extended -AA
5935 CXX="$ac_save_CXX $ac_arg"
5936 if ac_fn_cxx_try_compile "$LINENO"
5937 then :
5938 ac_cv_prog_cxx_cxx98=$ac_arg
5940 rm -f core conftest.err conftest.$ac_objext conftest.beam
5941 test "x$ac_cv_prog_cxx_cxx98" != "xno" && break
5942 done
5943 rm -f conftest.$ac_ext
5944 CXX=$ac_save_CXX
5947 if test "x$ac_cv_prog_cxx_cxx98" = xno
5948 then :
5949 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5950 printf "%s\n" "unsupported" >&6; }
5951 else $as_nop
5952 if test "x$ac_cv_prog_cxx_cxx98" = x
5953 then :
5954 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5955 printf "%s\n" "none needed" >&6; }
5956 else $as_nop
5957 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx98" >&5
5958 printf "%s\n" "$ac_cv_prog_cxx_cxx98" >&6; }
5959 CXX="$CXX $ac_cv_prog_cxx_cxx98"
5961 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx98
5962 ac_prog_cxx_stdcxx=cxx98
5966 ac_ext=c
5967 ac_cpp='$CPP $CPPFLAGS'
5968 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5969 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5970 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5972 if test -n "$ac_tool_prefix"; then
5973 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5974 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5975 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5976 printf %s "checking for $ac_word... " >&6; }
5977 if test ${ac_cv_prog_CPPBIN+y}
5978 then :
5979 printf %s "(cached) " >&6
5980 else $as_nop
5981 if test -n "$CPPBIN"; then
5982 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5983 else
5984 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5985 for as_dir in $PATH
5987 IFS=$as_save_IFS
5988 case $as_dir in #(((
5989 '') as_dir=./ ;;
5990 */) ;;
5991 *) as_dir=$as_dir/ ;;
5992 esac
5993 for ac_exec_ext in '' $ac_executable_extensions; do
5994 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5995 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5996 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5997 break 2
5999 done
6000 done
6001 IFS=$as_save_IFS
6005 CPPBIN=$ac_cv_prog_CPPBIN
6006 if test -n "$CPPBIN"; then
6007 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
6008 printf "%s\n" "$CPPBIN" >&6; }
6009 else
6010 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6011 printf "%s\n" "no" >&6; }
6016 if test -z "$ac_cv_prog_CPPBIN"; then
6017 ac_ct_CPPBIN=$CPPBIN
6018 # Extract the first word of "cpp", so it can be a program name with args.
6019 set dummy cpp; ac_word=$2
6020 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6021 printf %s "checking for $ac_word... " >&6; }
6022 if test ${ac_cv_prog_ac_ct_CPPBIN+y}
6023 then :
6024 printf %s "(cached) " >&6
6025 else $as_nop
6026 if test -n "$ac_ct_CPPBIN"; then
6027 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
6028 else
6029 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6030 for as_dir in $PATH
6032 IFS=$as_save_IFS
6033 case $as_dir in #(((
6034 '') as_dir=./ ;;
6035 */) ;;
6036 *) as_dir=$as_dir/ ;;
6037 esac
6038 for ac_exec_ext in '' $ac_executable_extensions; do
6039 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6040 ac_cv_prog_ac_ct_CPPBIN="cpp"
6041 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6042 break 2
6044 done
6045 done
6046 IFS=$as_save_IFS
6050 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
6051 if test -n "$ac_ct_CPPBIN"; then
6052 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
6053 printf "%s\n" "$ac_ct_CPPBIN" >&6; }
6054 else
6055 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6056 printf "%s\n" "no" >&6; }
6059 if test "x$ac_ct_CPPBIN" = x; then
6060 CPPBIN="cpp"
6061 else
6062 case $cross_compiling:$ac_tool_warned in
6063 yes:)
6064 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6065 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6066 ac_tool_warned=yes ;;
6067 esac
6068 CPPBIN=$ac_ct_CPPBIN
6070 else
6071 CPPBIN="$ac_cv_prog_CPPBIN"
6075 printf "%s\n" "#define EXEEXT \"$ac_exeext\"" >>confdefs.h
6077 if test -n "$ac_tool_prefix"; then
6078 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
6079 set dummy ${ac_tool_prefix}ld; ac_word=$2
6080 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6081 printf %s "checking for $ac_word... " >&6; }
6082 if test ${ac_cv_prog_LD+y}
6083 then :
6084 printf %s "(cached) " >&6
6085 else $as_nop
6086 if test -n "$LD"; then
6087 ac_cv_prog_LD="$LD" # Let the user override the test.
6088 else
6089 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6090 for as_dir in $PATH
6092 IFS=$as_save_IFS
6093 case $as_dir in #(((
6094 '') as_dir=./ ;;
6095 */) ;;
6096 *) as_dir=$as_dir/ ;;
6097 esac
6098 for ac_exec_ext in '' $ac_executable_extensions; do
6099 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6100 ac_cv_prog_LD="${ac_tool_prefix}ld"
6101 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6102 break 2
6104 done
6105 done
6106 IFS=$as_save_IFS
6110 LD=$ac_cv_prog_LD
6111 if test -n "$LD"; then
6112 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6113 printf "%s\n" "$LD" >&6; }
6114 else
6115 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6116 printf "%s\n" "no" >&6; }
6121 if test -z "$ac_cv_prog_LD"; then
6122 ac_ct_LD=$LD
6123 # Extract the first word of "ld", so it can be a program name with args.
6124 set dummy ld; ac_word=$2
6125 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6126 printf %s "checking for $ac_word... " >&6; }
6127 if test ${ac_cv_prog_ac_ct_LD+y}
6128 then :
6129 printf %s "(cached) " >&6
6130 else $as_nop
6131 if test -n "$ac_ct_LD"; then
6132 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
6133 else
6134 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6135 for as_dir in $PATH
6137 IFS=$as_save_IFS
6138 case $as_dir in #(((
6139 '') as_dir=./ ;;
6140 */) ;;
6141 *) as_dir=$as_dir/ ;;
6142 esac
6143 for ac_exec_ext in '' $ac_executable_extensions; do
6144 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6145 ac_cv_prog_ac_ct_LD="ld"
6146 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6147 break 2
6149 done
6150 done
6151 IFS=$as_save_IFS
6155 ac_ct_LD=$ac_cv_prog_ac_ct_LD
6156 if test -n "$ac_ct_LD"; then
6157 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
6158 printf "%s\n" "$ac_ct_LD" >&6; }
6159 else
6160 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6161 printf "%s\n" "no" >&6; }
6164 if test "x$ac_ct_LD" = x; then
6165 LD=""
6166 else
6167 case $cross_compiling:$ac_tool_warned in
6168 yes:)
6169 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6170 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6171 ac_tool_warned=yes ;;
6172 esac
6173 LD=$ac_ct_LD
6175 else
6176 LD="$ac_cv_prog_LD"
6180 case $host in
6181 *-darwin*)
6182 with_fontconfig=${with_fontconfig:-no}
6184 *-mingw32*|*-cygwin*)
6185 enable_win16=${enable_win16:-no}
6186 with_mingw=${with_mingw:-no}
6188 esac
6191 case $host in
6192 x86_64*|amd64*)
6193 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes" -a x"$enable_archs" = x
6194 then
6195 CC="$CC -m32"
6196 CXX="$CXX -m32"
6198 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
6199 printf %s "checking whether $CC works... " >&6; }
6200 if test ${wine_cv_cc_m32+y}
6201 then :
6202 printf %s "(cached) " >&6
6203 else $as_nop
6204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6205 /* end confdefs.h. */
6208 main (void)
6212 return 0;
6214 _ACEOF
6215 if ac_fn_c_try_link "$LINENO"
6216 then :
6217 wine_cv_cc_m32=yes
6218 else $as_nop
6219 wine_cv_cc_m32=no
6221 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6222 conftest$ac_exeext conftest.$ac_ext
6224 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
6225 printf "%s\n" "$wine_cv_cc_m32" >&6; }
6226 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
6227 host_cpu="i386"
6228 notice_platform="32-bit "
6229 TARGETFLAGS="$TARGETFLAGS -m32"
6230 PKG_CONFIG_LIBDIR=${PKG_CONFIG_LIBDIR:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
6231 export PKG_CONFIG_LIBDIR
6232 with_unwind=${with_unwind:-no}
6233 else
6234 if test "x${GCC}" = "xyes"
6235 then
6236 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
6237 printf %s "checking whether $CC supports __builtin_ms_va_list... " >&6; }
6238 if test ${wine_cv_builtin_ms_va_list+y}
6239 then :
6240 printf %s "(cached) " >&6
6241 else $as_nop
6242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6243 /* end confdefs.h. */
6244 #include <stdarg.h>
6246 main (void)
6248 void func(__builtin_ms_va_list *args);
6250 return 0;
6252 _ACEOF
6253 if ac_fn_c_try_compile "$LINENO"
6254 then :
6255 wine_cv_builtin_ms_va_list=yes
6256 else $as_nop
6257 wine_cv_builtin_ms_va_list=no
6259 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6261 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
6262 printf "%s\n" "$wine_cv_builtin_ms_va_list" >&6; }
6263 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
6265 CC="$CC -m64"
6266 CXX="$CXX -m64"
6267 host_cpu="x86_64"
6268 notice_platform="64-bit "
6269 TARGETFLAGS="$TARGETFLAGS -m64"
6272 arm*)
6273 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb-2" >&5
6274 printf %s "checking whether $CC supports Thumb-2... " >&6; }
6275 if test ${wine_cv_thumb2+y}
6276 then :
6277 printf %s "(cached) " >&6
6278 else $as_nop
6279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6280 /* end confdefs.h. */
6283 main (void)
6285 asm(".syntax unified\n\t.thumb\n\tldm r0,{r0-r8}");
6287 return 0;
6289 _ACEOF
6290 if ac_fn_c_try_link "$LINENO"
6291 then :
6292 wine_cv_thumb2=yes
6293 else $as_nop
6294 wine_cv_thumb2=no
6296 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6297 conftest$ac_exeext conftest.$ac_ext
6299 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb2" >&5
6300 printf "%s\n" "$wine_cv_thumb2" >&6; }
6301 if test x"$wine_cv_thumb2" = xyes
6302 then
6303 CFLAGS="$CFLAGS -mthumb"
6304 TARGETFLAGS="$TARGETFLAGS -mthumb"
6305 else
6306 CFLAGS="$CFLAGS -marm"
6307 TARGETFLAGS="$TARGETFLAGS -marm"
6309 case $with_float_abi in
6310 soft|softfp|hard)
6311 float_abi=$with_float_abi ;;
6313 case $host_os in
6314 *eabihf)
6315 float_abi=hard ;;
6317 float_abi=softfp
6318 saved_CFLAGS=$CFLAGS
6319 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
6320 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
6321 printf %s "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
6322 if test ${wine_cv_float_abi+y}
6323 then :
6324 printf %s "(cached) " >&6
6325 else $as_nop
6326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6327 /* end confdefs.h. */
6330 main (void)
6332 asm("vmrs r2,fpscr");
6334 return 0;
6336 _ACEOF
6337 if ac_fn_c_try_link "$LINENO"
6338 then :
6339 wine_cv_float_abi=yes
6340 else $as_nop
6341 wine_cv_float_abi=no
6343 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6344 conftest$ac_exeext conftest.$ac_ext
6346 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
6347 printf "%s\n" "$wine_cv_float_abi" >&6; }
6348 if test $wine_cv_float_abi = no
6349 then
6350 float_abi=soft
6351 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
6353 CFLAGS=$saved_CFLAGS
6354 esac
6356 esac
6357 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
6358 TARGETFLAGS="$TARGETFLAGS -mfloat-abi=$float_abi"
6360 i[3456789]86*)
6361 with_unwind=${with_unwind:-no}
6363 esac
6365 enable_win16=${enable_win16:-i386}
6366 enable_win64=${enable_win64:-no}
6367 enable_wow64=${enable_wow64:-aarch64,x86_64}
6368 enable_wow64win=${enable_wow64win:-aarch64,x86_64}
6369 enable_wow64cpu=${enable_wow64cpu:-x86_64}
6371 enable_winetest=${enable_winetest:-$enable_tests}
6373 if test "x$enable_win64" = "xyes"
6374 then
6375 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
6376 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
6379 case $build_os in
6380 cygwin*|mingw32*) toolsext=".exe"
6382 *) toolsext=""
6384 esac
6386 HOST_ARCH=unknown
6387 case "$host_cpu" in
6388 aarch64*) HOST_ARCH=aarch64 ;;
6389 arm*) HOST_ARCH=arm ;;
6390 i[3456789]86*) HOST_ARCH=i386 ;;
6391 x86_64) HOST_ARCH=x86_64 ;;
6392 esac
6395 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
6396 printf %s "checking for the directory containing the Wine tools... " >&6; }
6397 if test ${wine_cv_toolsdir+y}
6398 then :
6399 printf %s "(cached) " >&6
6400 else $as_nop
6401 wine_cv_toolsdir="$with_wine_tools"
6402 if test -z "$with_wine_tools"; then
6403 if test "$cross_compiling" = "yes"; then
6404 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
6405 elif test -n "$with_wine64"; then
6406 wine_cv_toolsdir="$with_wine64"
6410 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
6411 printf "%s\n" "$wine_cv_toolsdir" >&6; }
6412 if test -z "$wine_cv_toolsdir"; then
6413 wine_makedep=tools/makedep$toolsext
6414 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
6415 wine_makedep=$wine_cv_toolsdir/tools/makedep$toolsext
6416 enable_tools=${enable_tools:-no}
6417 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
6418 else
6419 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
6421 toolsdir=$wine_cv_toolsdir
6423 MAKEDEP=$wine_makedep
6425 RUNTESTFLAGS="-q -P wine"
6427 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'"
6430 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
6431 then
6432 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
6435 for ac_prog in flex
6437 # Extract the first word of "$ac_prog", so it can be a program name with args.
6438 set dummy $ac_prog; ac_word=$2
6439 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6440 printf %s "checking for $ac_word... " >&6; }
6441 if test ${ac_cv_prog_FLEX+y}
6442 then :
6443 printf %s "(cached) " >&6
6444 else $as_nop
6445 if test -n "$FLEX"; then
6446 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
6447 else
6448 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6449 for as_dir in $PATH
6451 IFS=$as_save_IFS
6452 case $as_dir in #(((
6453 '') as_dir=./ ;;
6454 */) ;;
6455 *) as_dir=$as_dir/ ;;
6456 esac
6457 for ac_exec_ext in '' $ac_executable_extensions; do
6458 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6459 ac_cv_prog_FLEX="$ac_prog"
6460 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6461 break 2
6463 done
6464 done
6465 IFS=$as_save_IFS
6469 FLEX=$ac_cv_prog_FLEX
6470 if test -n "$FLEX"; then
6471 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
6472 printf "%s\n" "$FLEX" >&6; }
6473 else
6474 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6475 printf "%s\n" "no" >&6; }
6479 test -n "$FLEX" && break
6480 done
6481 test -n "$FLEX" || FLEX="none"
6483 if test "$FLEX" = "none"
6484 then
6485 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
6487 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
6488 printf %s "checking whether flex is recent enough... " >&6; }
6489 if test ${wine_cv_recent_flex+y}
6490 then :
6491 printf %s "(cached) " >&6
6492 else $as_nop
6493 cat >conftest.l <<EOF
6494 %top{
6495 #include "prediluvian.h"
6499 if $FLEX -t conftest.l >/dev/null 2>&5
6500 then
6501 wine_cv_recent_flex=yes
6502 else
6503 wine_cv_recent_flex=no
6506 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
6507 printf "%s\n" "$wine_cv_recent_flex" >&6; }
6508 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
6510 for ac_prog in bison
6512 # Extract the first word of "$ac_prog", so it can be a program name with args.
6513 set dummy $ac_prog; ac_word=$2
6514 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6515 printf %s "checking for $ac_word... " >&6; }
6516 if test ${ac_cv_prog_BISON+y}
6517 then :
6518 printf %s "(cached) " >&6
6519 else $as_nop
6520 if test -n "$BISON"; then
6521 ac_cv_prog_BISON="$BISON" # Let the user override the test.
6522 else
6523 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6524 for as_dir in $PATH
6526 IFS=$as_save_IFS
6527 case $as_dir in #(((
6528 '') as_dir=./ ;;
6529 */) ;;
6530 *) as_dir=$as_dir/ ;;
6531 esac
6532 for ac_exec_ext in '' $ac_executable_extensions; do
6533 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6534 ac_cv_prog_BISON="$ac_prog"
6535 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6536 break 2
6538 done
6539 done
6540 IFS=$as_save_IFS
6544 BISON=$ac_cv_prog_BISON
6545 if test -n "$BISON"; then
6546 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
6547 printf "%s\n" "$BISON" >&6; }
6548 else
6549 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6550 printf "%s\n" "no" >&6; }
6554 test -n "$BISON" && break
6555 done
6556 test -n "$BISON" || BISON="none"
6558 if test "$BISON" = "none"
6559 then
6560 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
6562 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
6563 printf %s "checking whether bison is recent enough... " >&6; }
6564 if test ${wine_cv_recent_bison+y}
6565 then :
6566 printf %s "(cached) " >&6
6567 else $as_nop
6568 cat >conftest.y <<EOF
6569 %define parse.error verbose
6571 empty: ;
6573 if $BISON conftest.y >/dev/null 2>&5
6574 then
6575 wine_cv_recent_bison=yes
6576 else
6577 wine_cv_recent_bison=no
6580 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
6581 printf "%s\n" "$wine_cv_recent_bison" >&6; }
6582 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
6584 if test -n "$ac_tool_prefix"; then
6585 for ac_prog in ar gar
6587 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6588 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6589 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6590 printf %s "checking for $ac_word... " >&6; }
6591 if test ${ac_cv_prog_AR+y}
6592 then :
6593 printf %s "(cached) " >&6
6594 else $as_nop
6595 if test -n "$AR"; then
6596 ac_cv_prog_AR="$AR" # Let the user override the test.
6597 else
6598 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6599 for as_dir in $PATH
6601 IFS=$as_save_IFS
6602 case $as_dir in #(((
6603 '') as_dir=./ ;;
6604 */) ;;
6605 *) as_dir=$as_dir/ ;;
6606 esac
6607 for ac_exec_ext in '' $ac_executable_extensions; do
6608 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6609 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6610 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6611 break 2
6613 done
6614 done
6615 IFS=$as_save_IFS
6619 AR=$ac_cv_prog_AR
6620 if test -n "$AR"; then
6621 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6622 printf "%s\n" "$AR" >&6; }
6623 else
6624 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6625 printf "%s\n" "no" >&6; }
6629 test -n "$AR" && break
6630 done
6632 if test -z "$AR"; then
6633 ac_ct_AR=$AR
6634 for ac_prog in ar gar
6636 # Extract the first word of "$ac_prog", so it can be a program name with args.
6637 set dummy $ac_prog; ac_word=$2
6638 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6639 printf %s "checking for $ac_word... " >&6; }
6640 if test ${ac_cv_prog_ac_ct_AR+y}
6641 then :
6642 printf %s "(cached) " >&6
6643 else $as_nop
6644 if test -n "$ac_ct_AR"; then
6645 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6646 else
6647 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6648 for as_dir in $PATH
6650 IFS=$as_save_IFS
6651 case $as_dir in #(((
6652 '') as_dir=./ ;;
6653 */) ;;
6654 *) as_dir=$as_dir/ ;;
6655 esac
6656 for ac_exec_ext in '' $ac_executable_extensions; do
6657 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6658 ac_cv_prog_ac_ct_AR="$ac_prog"
6659 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6660 break 2
6662 done
6663 done
6664 IFS=$as_save_IFS
6668 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6669 if test -n "$ac_ct_AR"; then
6670 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6671 printf "%s\n" "$ac_ct_AR" >&6; }
6672 else
6673 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6674 printf "%s\n" "no" >&6; }
6678 test -n "$ac_ct_AR" && break
6679 done
6681 if test "x$ac_ct_AR" = x; then
6682 AR="ar"
6683 else
6684 case $cross_compiling:$ac_tool_warned in
6685 yes:)
6686 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6687 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6688 ac_tool_warned=yes ;;
6689 esac
6690 AR=$ac_ct_AR
6694 if test -n "$ac_tool_prefix"; then
6695 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6696 set dummy ${ac_tool_prefix}strip; ac_word=$2
6697 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6698 printf %s "checking for $ac_word... " >&6; }
6699 if test ${ac_cv_prog_STRIP+y}
6700 then :
6701 printf %s "(cached) " >&6
6702 else $as_nop
6703 if test -n "$STRIP"; then
6704 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6705 else
6706 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6707 for as_dir in $PATH
6709 IFS=$as_save_IFS
6710 case $as_dir in #(((
6711 '') as_dir=./ ;;
6712 */) ;;
6713 *) as_dir=$as_dir/ ;;
6714 esac
6715 for ac_exec_ext in '' $ac_executable_extensions; do
6716 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6717 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6718 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6719 break 2
6721 done
6722 done
6723 IFS=$as_save_IFS
6727 STRIP=$ac_cv_prog_STRIP
6728 if test -n "$STRIP"; then
6729 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6730 printf "%s\n" "$STRIP" >&6; }
6731 else
6732 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6733 printf "%s\n" "no" >&6; }
6738 if test -z "$ac_cv_prog_STRIP"; then
6739 ac_ct_STRIP=$STRIP
6740 # Extract the first word of "strip", so it can be a program name with args.
6741 set dummy strip; ac_word=$2
6742 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6743 printf %s "checking for $ac_word... " >&6; }
6744 if test ${ac_cv_prog_ac_ct_STRIP+y}
6745 then :
6746 printf %s "(cached) " >&6
6747 else $as_nop
6748 if test -n "$ac_ct_STRIP"; then
6749 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6750 else
6751 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6752 for as_dir in $PATH
6754 IFS=$as_save_IFS
6755 case $as_dir in #(((
6756 '') as_dir=./ ;;
6757 */) ;;
6758 *) as_dir=$as_dir/ ;;
6759 esac
6760 for ac_exec_ext in '' $ac_executable_extensions; do
6761 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6762 ac_cv_prog_ac_ct_STRIP="strip"
6763 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6764 break 2
6766 done
6767 done
6768 IFS=$as_save_IFS
6772 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6773 if test -n "$ac_ct_STRIP"; then
6774 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6775 printf "%s\n" "$ac_ct_STRIP" >&6; }
6776 else
6777 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6778 printf "%s\n" "no" >&6; }
6781 if test "x$ac_ct_STRIP" = x; then
6782 STRIP="strip"
6783 else
6784 case $cross_compiling:$ac_tool_warned in
6785 yes:)
6786 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6787 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6788 ac_tool_warned=yes ;;
6789 esac
6790 STRIP=$ac_ct_STRIP
6792 else
6793 STRIP="$ac_cv_prog_STRIP"
6796 if test -n "$ac_tool_prefix"; then
6797 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6798 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6799 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6800 printf %s "checking for $ac_word... " >&6; }
6801 if test ${ac_cv_prog_RANLIB+y}
6802 then :
6803 printf %s "(cached) " >&6
6804 else $as_nop
6805 if test -n "$RANLIB"; then
6806 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6807 else
6808 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6809 for as_dir in $PATH
6811 IFS=$as_save_IFS
6812 case $as_dir in #(((
6813 '') as_dir=./ ;;
6814 */) ;;
6815 *) as_dir=$as_dir/ ;;
6816 esac
6817 for ac_exec_ext in '' $ac_executable_extensions; do
6818 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6819 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6820 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6821 break 2
6823 done
6824 done
6825 IFS=$as_save_IFS
6829 RANLIB=$ac_cv_prog_RANLIB
6830 if test -n "$RANLIB"; then
6831 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6832 printf "%s\n" "$RANLIB" >&6; }
6833 else
6834 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6835 printf "%s\n" "no" >&6; }
6840 if test -z "$ac_cv_prog_RANLIB"; then
6841 ac_ct_RANLIB=$RANLIB
6842 # Extract the first word of "ranlib", so it can be a program name with args.
6843 set dummy ranlib; ac_word=$2
6844 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6845 printf %s "checking for $ac_word... " >&6; }
6846 if test ${ac_cv_prog_ac_ct_RANLIB+y}
6847 then :
6848 printf %s "(cached) " >&6
6849 else $as_nop
6850 if test -n "$ac_ct_RANLIB"; then
6851 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6852 else
6853 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6854 for as_dir in $PATH
6856 IFS=$as_save_IFS
6857 case $as_dir in #(((
6858 '') as_dir=./ ;;
6859 */) ;;
6860 *) as_dir=$as_dir/ ;;
6861 esac
6862 for ac_exec_ext in '' $ac_executable_extensions; do
6863 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6864 ac_cv_prog_ac_ct_RANLIB="ranlib"
6865 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6866 break 2
6868 done
6869 done
6870 IFS=$as_save_IFS
6874 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6875 if test -n "$ac_ct_RANLIB"; then
6876 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6877 printf "%s\n" "$ac_ct_RANLIB" >&6; }
6878 else
6879 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6880 printf "%s\n" "no" >&6; }
6883 if test "x$ac_ct_RANLIB" = x; then
6884 RANLIB=":"
6885 else
6886 case $cross_compiling:$ac_tool_warned in
6887 yes:)
6888 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6889 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6890 ac_tool_warned=yes ;;
6891 esac
6892 RANLIB=$ac_ct_RANLIB
6894 else
6895 RANLIB="$ac_cv_prog_RANLIB"
6898 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6899 printf %s "checking whether ln -s works... " >&6; }
6900 LN_S=$as_ln_s
6901 if test "$LN_S" = "ln -s"; then
6902 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6903 printf "%s\n" "yes" >&6; }
6904 else
6905 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6906 printf "%s\n" "no, using $LN_S" >&6; }
6909 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6910 printf %s "checking for grep that handles long lines and -e... " >&6; }
6911 if test ${ac_cv_path_GREP+y}
6912 then :
6913 printf %s "(cached) " >&6
6914 else $as_nop
6915 if test -z "$GREP"; then
6916 ac_path_GREP_found=false
6917 # Loop through the user's path and test for each of PROGNAME-LIST
6918 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6919 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6921 IFS=$as_save_IFS
6922 case $as_dir in #(((
6923 '') as_dir=./ ;;
6924 */) ;;
6925 *) as_dir=$as_dir/ ;;
6926 esac
6927 for ac_prog in grep ggrep
6929 for ac_exec_ext in '' $ac_executable_extensions; do
6930 ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
6931 as_fn_executable_p "$ac_path_GREP" || continue
6932 # Check for GNU ac_path_GREP and select it if it is found.
6933 # Check for GNU $ac_path_GREP
6934 case `"$ac_path_GREP" --version 2>&1` in
6935 *GNU*)
6936 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6938 ac_count=0
6939 printf %s 0123456789 >"conftest.in"
6940 while :
6942 cat "conftest.in" "conftest.in" >"conftest.tmp"
6943 mv "conftest.tmp" "conftest.in"
6944 cp "conftest.in" "conftest.nl"
6945 printf "%s\n" 'GREP' >> "conftest.nl"
6946 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6947 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6948 as_fn_arith $ac_count + 1 && ac_count=$as_val
6949 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6950 # Best one so far, save it but keep looking for a better one
6951 ac_cv_path_GREP="$ac_path_GREP"
6952 ac_path_GREP_max=$ac_count
6954 # 10*(2^10) chars as input seems more than enough
6955 test $ac_count -gt 10 && break
6956 done
6957 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6958 esac
6960 $ac_path_GREP_found && break 3
6961 done
6962 done
6963 done
6964 IFS=$as_save_IFS
6965 if test -z "$ac_cv_path_GREP"; then
6966 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6968 else
6969 ac_cv_path_GREP=$GREP
6973 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6974 printf "%s\n" "$ac_cv_path_GREP" >&6; }
6975 GREP="$ac_cv_path_GREP"
6978 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6979 printf %s "checking for egrep... " >&6; }
6980 if test ${ac_cv_path_EGREP+y}
6981 then :
6982 printf %s "(cached) " >&6
6983 else $as_nop
6984 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6985 then ac_cv_path_EGREP="$GREP -E"
6986 else
6987 if test -z "$EGREP"; then
6988 ac_path_EGREP_found=false
6989 # Loop through the user's path and test for each of PROGNAME-LIST
6990 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6991 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6993 IFS=$as_save_IFS
6994 case $as_dir in #(((
6995 '') as_dir=./ ;;
6996 */) ;;
6997 *) as_dir=$as_dir/ ;;
6998 esac
6999 for ac_prog in egrep
7001 for ac_exec_ext in '' $ac_executable_extensions; do
7002 ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
7003 as_fn_executable_p "$ac_path_EGREP" || continue
7004 # Check for GNU ac_path_EGREP and select it if it is found.
7005 # Check for GNU $ac_path_EGREP
7006 case `"$ac_path_EGREP" --version 2>&1` in
7007 *GNU*)
7008 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
7010 ac_count=0
7011 printf %s 0123456789 >"conftest.in"
7012 while :
7014 cat "conftest.in" "conftest.in" >"conftest.tmp"
7015 mv "conftest.tmp" "conftest.in"
7016 cp "conftest.in" "conftest.nl"
7017 printf "%s\n" 'EGREP' >> "conftest.nl"
7018 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
7019 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7020 as_fn_arith $ac_count + 1 && ac_count=$as_val
7021 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7022 # Best one so far, save it but keep looking for a better one
7023 ac_cv_path_EGREP="$ac_path_EGREP"
7024 ac_path_EGREP_max=$ac_count
7026 # 10*(2^10) chars as input seems more than enough
7027 test $ac_count -gt 10 && break
7028 done
7029 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7030 esac
7032 $ac_path_EGREP_found && break 3
7033 done
7034 done
7035 done
7036 IFS=$as_save_IFS
7037 if test -z "$ac_cv_path_EGREP"; then
7038 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7040 else
7041 ac_cv_path_EGREP=$EGREP
7046 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
7047 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
7048 EGREP="$ac_cv_path_EGREP"
7051 # Extract the first word of "ldconfig", so it can be a program name with args.
7052 set dummy ldconfig; ac_word=$2
7053 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7054 printf %s "checking for $ac_word... " >&6; }
7055 if test ${ac_cv_path_LDCONFIG+y}
7056 then :
7057 printf %s "(cached) " >&6
7058 else $as_nop
7059 case $LDCONFIG in
7060 [\\/]* | ?:[\\/]*)
7061 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
7064 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7065 for as_dir in /sbin /usr/sbin $PATH
7067 IFS=$as_save_IFS
7068 case $as_dir in #(((
7069 '') as_dir=./ ;;
7070 */) ;;
7071 *) as_dir=$as_dir/ ;;
7072 esac
7073 for ac_exec_ext in '' $ac_executable_extensions; do
7074 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7075 ac_cv_path_LDCONFIG="$as_dir$ac_word$ac_exec_ext"
7076 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7077 break 2
7079 done
7080 done
7081 IFS=$as_save_IFS
7083 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
7085 esac
7087 LDCONFIG=$ac_cv_path_LDCONFIG
7088 if test -n "$LDCONFIG"; then
7089 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
7090 printf "%s\n" "$LDCONFIG" >&6; }
7091 else
7092 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7093 printf "%s\n" "no" >&6; }
7097 for ac_prog in msgfmt
7099 # Extract the first word of "$ac_prog", so it can be a program name with args.
7100 set dummy $ac_prog; ac_word=$2
7101 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7102 printf %s "checking for $ac_word... " >&6; }
7103 if test ${ac_cv_prog_MSGFMT+y}
7104 then :
7105 printf %s "(cached) " >&6
7106 else $as_nop
7107 if test -n "$MSGFMT"; then
7108 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
7109 else
7110 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7111 for as_dir in $PATH
7113 IFS=$as_save_IFS
7114 case $as_dir in #(((
7115 '') as_dir=./ ;;
7116 */) ;;
7117 *) as_dir=$as_dir/ ;;
7118 esac
7119 for ac_exec_ext in '' $ac_executable_extensions; do
7120 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7121 ac_cv_prog_MSGFMT="$ac_prog"
7122 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7123 break 2
7125 done
7126 done
7127 IFS=$as_save_IFS
7131 MSGFMT=$ac_cv_prog_MSGFMT
7132 if test -n "$MSGFMT"; then
7133 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
7134 printf "%s\n" "$MSGFMT" >&6; }
7135 else
7136 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7137 printf "%s\n" "no" >&6; }
7141 test -n "$MSGFMT" && break
7142 done
7143 test -n "$MSGFMT" || MSGFMT="false"
7145 if test ${ac_tool_prefix+y}
7146 then :
7147 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
7148 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
7149 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7150 printf %s "checking for $ac_word... " >&6; }
7151 if test ${ac_cv_prog_PKG_CONFIG+y}
7152 then :
7153 printf %s "(cached) " >&6
7154 else $as_nop
7155 if test -n "$PKG_CONFIG"; then
7156 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
7157 else
7158 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7159 for as_dir in $PATH
7161 IFS=$as_save_IFS
7162 case $as_dir in #(((
7163 '') as_dir=./ ;;
7164 */) ;;
7165 *) as_dir=$as_dir/ ;;
7166 esac
7167 for ac_exec_ext in '' $ac_executable_extensions; do
7168 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7169 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
7170 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7171 break 2
7173 done
7174 done
7175 IFS=$as_save_IFS
7179 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7180 if test -n "$PKG_CONFIG"; then
7181 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7182 printf "%s\n" "$PKG_CONFIG" >&6; }
7183 else
7184 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7185 printf "%s\n" "no" >&6; }
7190 if ${ac_cv_prog_PKG_CONFIG:+false} :
7191 then :
7192 if test "x$cross_compiling" = xyes
7193 then :
7195 else $as_nop
7196 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
7197 # Extract the first word of "pkg-config", so it can be a program name with args.
7198 set dummy pkg-config; ac_word=$2
7199 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7200 printf %s "checking for $ac_word... " >&6; }
7201 if test ${ac_cv_prog_PKG_CONFIG+y}
7202 then :
7203 printf %s "(cached) " >&6
7204 else $as_nop
7205 if test -n "$PKG_CONFIG"; then
7206 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
7207 else
7208 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7209 for as_dir in $PATH
7211 IFS=$as_save_IFS
7212 case $as_dir in #(((
7213 '') as_dir=./ ;;
7214 */) ;;
7215 *) as_dir=$as_dir/ ;;
7216 esac
7217 for ac_exec_ext in '' $ac_executable_extensions; do
7218 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7219 ac_cv_prog_PKG_CONFIG="pkg-config"
7220 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7221 break 2
7223 done
7224 done
7225 IFS=$as_save_IFS
7229 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7230 if test -n "$PKG_CONFIG"; then
7231 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7232 printf "%s\n" "$PKG_CONFIG" >&6; }
7233 else
7234 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7235 printf "%s\n" "no" >&6; }
7240 else $as_nop
7241 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7244 if test "x$enable_maintainer_mode" != "xyes"
7245 then
7246 FONTFORGE=""
7247 RSVG=""
7248 CONVERT=""
7249 ICOTOOL=""
7250 else
7251 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
7252 for ac_prog in fontforge
7254 # Extract the first word of "$ac_prog", so it can be a program name with args.
7255 set dummy $ac_prog; ac_word=$2
7256 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7257 printf %s "checking for $ac_word... " >&6; }
7258 if test ${ac_cv_prog_FONTFORGE+y}
7259 then :
7260 printf %s "(cached) " >&6
7261 else $as_nop
7262 if test -n "$FONTFORGE"; then
7263 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
7264 else
7265 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7266 for as_dir in $PATH
7268 IFS=$as_save_IFS
7269 case $as_dir in #(((
7270 '') as_dir=./ ;;
7271 */) ;;
7272 *) as_dir=$as_dir/ ;;
7273 esac
7274 for ac_exec_ext in '' $ac_executable_extensions; do
7275 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7276 ac_cv_prog_FONTFORGE="$ac_prog"
7277 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7278 break 2
7280 done
7281 done
7282 IFS=$as_save_IFS
7286 FONTFORGE=$ac_cv_prog_FONTFORGE
7287 if test -n "$FONTFORGE"; then
7288 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
7289 printf "%s\n" "$FONTFORGE" >&6; }
7290 else
7291 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7292 printf "%s\n" "no" >&6; }
7296 test -n "$FONTFORGE" && break
7297 done
7298 test -n "$FONTFORGE" || FONTFORGE="false"
7300 for ac_prog in rsvg-convert rsvg
7302 # Extract the first word of "$ac_prog", so it can be a program name with args.
7303 set dummy $ac_prog; ac_word=$2
7304 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7305 printf %s "checking for $ac_word... " >&6; }
7306 if test ${ac_cv_prog_RSVG+y}
7307 then :
7308 printf %s "(cached) " >&6
7309 else $as_nop
7310 if test -n "$RSVG"; then
7311 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
7312 else
7313 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7314 for as_dir in $PATH
7316 IFS=$as_save_IFS
7317 case $as_dir in #(((
7318 '') as_dir=./ ;;
7319 */) ;;
7320 *) as_dir=$as_dir/ ;;
7321 esac
7322 for ac_exec_ext in '' $ac_executable_extensions; do
7323 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7324 ac_cv_prog_RSVG="$ac_prog"
7325 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7326 break 2
7328 done
7329 done
7330 IFS=$as_save_IFS
7334 RSVG=$ac_cv_prog_RSVG
7335 if test -n "$RSVG"; then
7336 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
7337 printf "%s\n" "$RSVG" >&6; }
7338 else
7339 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7340 printf "%s\n" "no" >&6; }
7344 test -n "$RSVG" && break
7345 done
7346 test -n "$RSVG" || RSVG="false"
7348 for ac_prog in convert
7350 # Extract the first word of "$ac_prog", so it can be a program name with args.
7351 set dummy $ac_prog; ac_word=$2
7352 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7353 printf %s "checking for $ac_word... " >&6; }
7354 if test ${ac_cv_prog_CONVERT+y}
7355 then :
7356 printf %s "(cached) " >&6
7357 else $as_nop
7358 if test -n "$CONVERT"; then
7359 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
7360 else
7361 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7362 for as_dir in $PATH
7364 IFS=$as_save_IFS
7365 case $as_dir in #(((
7366 '') as_dir=./ ;;
7367 */) ;;
7368 *) as_dir=$as_dir/ ;;
7369 esac
7370 for ac_exec_ext in '' $ac_executable_extensions; do
7371 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7372 ac_cv_prog_CONVERT="$ac_prog"
7373 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7374 break 2
7376 done
7377 done
7378 IFS=$as_save_IFS
7382 CONVERT=$ac_cv_prog_CONVERT
7383 if test -n "$CONVERT"; then
7384 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
7385 printf "%s\n" "$CONVERT" >&6; }
7386 else
7387 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7388 printf "%s\n" "no" >&6; }
7392 test -n "$CONVERT" && break
7393 done
7394 test -n "$CONVERT" || CONVERT="false"
7396 for ac_prog in icotool
7398 # Extract the first word of "$ac_prog", so it can be a program name with args.
7399 set dummy $ac_prog; ac_word=$2
7400 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7401 printf %s "checking for $ac_word... " >&6; }
7402 if test ${ac_cv_prog_ICOTOOL+y}
7403 then :
7404 printf %s "(cached) " >&6
7405 else $as_nop
7406 if test -n "$ICOTOOL"; then
7407 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
7408 else
7409 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7410 for as_dir in $PATH
7412 IFS=$as_save_IFS
7413 case $as_dir in #(((
7414 '') as_dir=./ ;;
7415 */) ;;
7416 *) as_dir=$as_dir/ ;;
7417 esac
7418 for ac_exec_ext in '' $ac_executable_extensions; do
7419 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7420 ac_cv_prog_ICOTOOL="$ac_prog"
7421 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7422 break 2
7424 done
7425 done
7426 IFS=$as_save_IFS
7430 ICOTOOL=$ac_cv_prog_ICOTOOL
7431 if test -n "$ICOTOOL"; then
7432 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
7433 printf "%s\n" "$ICOTOOL" >&6; }
7434 else
7435 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7436 printf "%s\n" "no" >&6; }
7440 test -n "$ICOTOOL" && break
7441 done
7442 test -n "$ICOTOOL" || ICOTOOL="false"
7444 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
7445 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
7447 if test "$CONVERT" = false
7448 then
7449 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
7450 else
7451 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
7452 printf %s "checking for recent enough imagemagick... " >&6; }
7453 convert_version=`convert --version | head -n1`
7454 if test "x$convert_version" != "x"
7455 then
7456 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
7457 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
7458 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
7459 then
7460 CONVERT=false
7463 if test "$CONVERT" = false
7464 then
7465 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
7466 printf "%s\n" "no ($convert_version_major.$convert_version_minor)" >&6; }
7467 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7468 else
7469 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
7470 printf "%s\n" "yes ($convert_version_major.$convert_version_minor)" >&6; }
7474 if test "$ICOTOOL" = false
7475 then
7476 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
7477 else
7478 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
7479 printf %s "checking for recent enough icotool... " >&6; }
7480 icotool_version=`icotool --version | head -n1`
7481 if test "x$icotool_version" != "x"
7482 then
7483 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
7484 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
7485 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
7486 then
7487 ICOTOOL=false
7488 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
7491 if test "$ICOTOOL" = false
7492 then
7493 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
7494 printf "%s\n" "no ($icotool_version_major.$icotool_version_minor)" >&6; }
7495 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7496 else
7497 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
7498 printf "%s\n" "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
7502 with_gettext=yes
7503 with_gettextpo=yes
7505 enable_werror=yes
7508 test "x$with_gettext" != xno || MSGFMT=false
7509 if test "$MSGFMT" != "false"
7510 then
7511 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
7512 printf %s "checking whether msgfmt supports contexts... " >&6; }
7513 if test ${wine_cv_msgfmt_contexts+y}
7514 then :
7515 printf %s "(cached) " >&6
7516 else $as_nop
7517 cat >conftest.po <<EOF
7518 # comment
7519 msgctxt "ctxt"
7520 msgid "id"
7521 msgstr "str"
7523 if $MSGFMT -o /dev/null conftest.po 2>&5
7524 then
7525 wine_cv_msgfmt_contexts=yes
7526 else
7527 wine_cv_msgfmt_contexts=no
7530 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
7531 printf "%s\n" "$wine_cv_msgfmt_contexts" >&6; }
7532 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
7534 if test "$MSGFMT" = false
7535 then :
7536 case "x$with_gettext" in
7537 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
7538 xno) ;;
7539 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
7540 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
7541 esac
7542 enable_po=${enable_po:-no}
7546 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
7547 printf %s "checking for i386_set_ldt in -li386... " >&6; }
7548 if test ${ac_cv_lib_i386_i386_set_ldt+y}
7549 then :
7550 printf %s "(cached) " >&6
7551 else $as_nop
7552 ac_check_lib_save_LIBS=$LIBS
7553 LIBS="-li386 $LIBS"
7554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7555 /* end confdefs.h. */
7557 /* Override any GCC internal prototype to avoid an error.
7558 Use char because int might match the return type of a GCC
7559 builtin and then its argument prototype would still apply. */
7560 char i386_set_ldt ();
7562 main (void)
7564 return i386_set_ldt ();
7566 return 0;
7568 _ACEOF
7569 if ac_fn_c_try_link "$LINENO"
7570 then :
7571 ac_cv_lib_i386_i386_set_ldt=yes
7572 else $as_nop
7573 ac_cv_lib_i386_i386_set_ldt=no
7575 rm -f core conftest.err conftest.$ac_objext conftest.beam \
7576 conftest$ac_exeext conftest.$ac_ext
7577 LIBS=$ac_check_lib_save_LIBS
7579 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
7580 printf "%s\n" "$ac_cv_lib_i386_i386_set_ldt" >&6; }
7581 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
7582 then :
7583 I386_LIBS="-li386"
7588 OPENGL_LIBS=""
7592 # Check whether --enable-largefile was given.
7593 if test ${enable_largefile+y}
7594 then :
7595 enableval=$enable_largefile;
7598 if test "$enable_largefile" != no; then
7600 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
7601 printf %s "checking for special C compiler options needed for large files... " >&6; }
7602 if test ${ac_cv_sys_largefile_CC+y}
7603 then :
7604 printf %s "(cached) " >&6
7605 else $as_nop
7606 ac_cv_sys_largefile_CC=no
7607 if test "$GCC" != yes; then
7608 ac_save_CC=$CC
7609 while :; do
7610 # IRIX 6.2 and later do not support large files by default,
7611 # so use the C compiler's -n32 option if that helps.
7612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7613 /* end confdefs.h. */
7614 #include <sys/types.h>
7615 /* Check that off_t can represent 2**63 - 1 correctly.
7616 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7617 since some C++ compilers masquerading as C compilers
7618 incorrectly reject 9223372036854775807. */
7619 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7620 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7621 && LARGE_OFF_T % 2147483647 == 1)
7622 ? 1 : -1];
7624 main (void)
7628 return 0;
7630 _ACEOF
7631 if ac_fn_c_try_compile "$LINENO"
7632 then :
7633 break
7635 rm -f core conftest.err conftest.$ac_objext conftest.beam
7636 CC="$CC -n32"
7637 if ac_fn_c_try_compile "$LINENO"
7638 then :
7639 ac_cv_sys_largefile_CC=' -n32'; break
7641 rm -f core conftest.err conftest.$ac_objext conftest.beam
7642 break
7643 done
7644 CC=$ac_save_CC
7645 rm -f conftest.$ac_ext
7648 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
7649 printf "%s\n" "$ac_cv_sys_largefile_CC" >&6; }
7650 if test "$ac_cv_sys_largefile_CC" != no; then
7651 CC=$CC$ac_cv_sys_largefile_CC
7654 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7655 printf %s "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7656 if test ${ac_cv_sys_file_offset_bits+y}
7657 then :
7658 printf %s "(cached) " >&6
7659 else $as_nop
7660 while :; do
7661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7662 /* end confdefs.h. */
7663 #include <sys/types.h>
7664 /* Check that off_t can represent 2**63 - 1 correctly.
7665 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7666 since some C++ compilers masquerading as C compilers
7667 incorrectly reject 9223372036854775807. */
7668 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7669 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7670 && LARGE_OFF_T % 2147483647 == 1)
7671 ? 1 : -1];
7673 main (void)
7677 return 0;
7679 _ACEOF
7680 if ac_fn_c_try_compile "$LINENO"
7681 then :
7682 ac_cv_sys_file_offset_bits=no; break
7684 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7685 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7686 /* end confdefs.h. */
7687 #define _FILE_OFFSET_BITS 64
7688 #include <sys/types.h>
7689 /* Check that off_t can represent 2**63 - 1 correctly.
7690 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7691 since some C++ compilers masquerading as C compilers
7692 incorrectly reject 9223372036854775807. */
7693 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7694 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7695 && LARGE_OFF_T % 2147483647 == 1)
7696 ? 1 : -1];
7698 main (void)
7702 return 0;
7704 _ACEOF
7705 if ac_fn_c_try_compile "$LINENO"
7706 then :
7707 ac_cv_sys_file_offset_bits=64; break
7709 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7710 ac_cv_sys_file_offset_bits=unknown
7711 break
7712 done
7714 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7715 printf "%s\n" "$ac_cv_sys_file_offset_bits" >&6; }
7716 case $ac_cv_sys_file_offset_bits in #(
7717 no | unknown) ;;
7719 printf "%s\n" "#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits" >>confdefs.h
7721 esac
7722 rm -rf conftest*
7723 if test $ac_cv_sys_file_offset_bits = unknown; then
7724 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7725 printf %s "checking for _LARGE_FILES value needed for large files... " >&6; }
7726 if test ${ac_cv_sys_large_files+y}
7727 then :
7728 printf %s "(cached) " >&6
7729 else $as_nop
7730 while :; do
7731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7732 /* end confdefs.h. */
7733 #include <sys/types.h>
7734 /* Check that off_t can represent 2**63 - 1 correctly.
7735 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7736 since some C++ compilers masquerading as C compilers
7737 incorrectly reject 9223372036854775807. */
7738 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7739 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7740 && LARGE_OFF_T % 2147483647 == 1)
7741 ? 1 : -1];
7743 main (void)
7747 return 0;
7749 _ACEOF
7750 if ac_fn_c_try_compile "$LINENO"
7751 then :
7752 ac_cv_sys_large_files=no; break
7754 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7756 /* end confdefs.h. */
7757 #define _LARGE_FILES 1
7758 #include <sys/types.h>
7759 /* Check that off_t can represent 2**63 - 1 correctly.
7760 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7761 since some C++ compilers masquerading as C compilers
7762 incorrectly reject 9223372036854775807. */
7763 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7764 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7765 && LARGE_OFF_T % 2147483647 == 1)
7766 ? 1 : -1];
7768 main (void)
7772 return 0;
7774 _ACEOF
7775 if ac_fn_c_try_compile "$LINENO"
7776 then :
7777 ac_cv_sys_large_files=1; break
7779 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7780 ac_cv_sys_large_files=unknown
7781 break
7782 done
7784 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7785 printf "%s\n" "$ac_cv_sys_large_files" >&6; }
7786 case $ac_cv_sys_large_files in #(
7787 no | unknown) ;;
7789 printf "%s\n" "#define _LARGE_FILES $ac_cv_sys_large_files" >>confdefs.h
7791 esac
7792 rm -rf conftest*
7797 ac_header= ac_cache=
7798 for ac_item in $ac_header_c_list
7800 if test $ac_cache; then
7801 ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
7802 if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
7803 printf "%s\n" "#define $ac_item 1" >> confdefs.h
7805 ac_header= ac_cache=
7806 elif test $ac_header; then
7807 ac_cache=$ac_item
7808 else
7809 ac_header=$ac_item
7811 done
7820 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
7821 then :
7823 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
7826 ac_fn_c_check_header_compile "$LINENO" "CL/cl.h" "ac_cv_header_CL_cl_h" "$ac_includes_default"
7827 if test "x$ac_cv_header_CL_cl_h" = xyes
7828 then :
7829 printf "%s\n" "#define HAVE_CL_CL_H 1" >>confdefs.h
7832 ac_fn_c_check_header_compile "$LINENO" "EGL/egl.h" "ac_cv_header_EGL_egl_h" "$ac_includes_default"
7833 if test "x$ac_cv_header_EGL_egl_h" = xyes
7834 then :
7835 printf "%s\n" "#define HAVE_EGL_EGL_H 1" >>confdefs.h
7838 ac_fn_c_check_header_compile "$LINENO" "OpenCL/opencl.h" "ac_cv_header_OpenCL_opencl_h" "$ac_includes_default"
7839 if test "x$ac_cv_header_OpenCL_opencl_h" = xyes
7840 then :
7841 printf "%s\n" "#define HAVE_OPENCL_OPENCL_H 1" >>confdefs.h
7844 ac_fn_c_check_header_compile "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default"
7845 if test "x$ac_cv_header_arpa_inet_h" = xyes
7846 then :
7847 printf "%s\n" "#define HAVE_ARPA_INET_H 1" >>confdefs.h
7850 ac_fn_c_check_header_compile "$LINENO" "arpa/nameser.h" "ac_cv_header_arpa_nameser_h" "$ac_includes_default"
7851 if test "x$ac_cv_header_arpa_nameser_h" = xyes
7852 then :
7853 printf "%s\n" "#define HAVE_ARPA_NAMESER_H 1" >>confdefs.h
7856 ac_fn_c_check_header_compile "$LINENO" "asm/types.h" "ac_cv_header_asm_types_h" "$ac_includes_default"
7857 if test "x$ac_cv_header_asm_types_h" = xyes
7858 then :
7859 printf "%s\n" "#define HAVE_ASM_TYPES_H 1" >>confdefs.h
7862 ac_fn_c_check_header_compile "$LINENO" "asm/user.h" "ac_cv_header_asm_user_h" "$ac_includes_default"
7863 if test "x$ac_cv_header_asm_user_h" = xyes
7864 then :
7865 printf "%s\n" "#define HAVE_ASM_USER_H 1" >>confdefs.h
7868 ac_fn_c_check_header_compile "$LINENO" "elf.h" "ac_cv_header_elf_h" "$ac_includes_default"
7869 if test "x$ac_cv_header_elf_h" = xyes
7870 then :
7871 printf "%s\n" "#define HAVE_ELF_H 1" >>confdefs.h
7874 ac_fn_c_check_header_compile "$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default"
7875 if test "x$ac_cv_header_float_h" = xyes
7876 then :
7877 printf "%s\n" "#define HAVE_FLOAT_H 1" >>confdefs.h
7880 ac_fn_c_check_header_compile "$LINENO" "gettext-po.h" "ac_cv_header_gettext_po_h" "$ac_includes_default"
7881 if test "x$ac_cv_header_gettext_po_h" = xyes
7882 then :
7883 printf "%s\n" "#define HAVE_GETTEXT_PO_H 1" >>confdefs.h
7886 ac_fn_c_check_header_compile "$LINENO" "libproc.h" "ac_cv_header_libproc_h" "$ac_includes_default"
7887 if test "x$ac_cv_header_libproc_h" = xyes
7888 then :
7889 printf "%s\n" "#define HAVE_LIBPROC_H 1" >>confdefs.h
7892 ac_fn_c_check_header_compile "$LINENO" "link.h" "ac_cv_header_link_h" "$ac_includes_default"
7893 if test "x$ac_cv_header_link_h" = xyes
7894 then :
7895 printf "%s\n" "#define HAVE_LINK_H 1" >>confdefs.h
7898 ac_fn_c_check_header_compile "$LINENO" "linux/cdrom.h" "ac_cv_header_linux_cdrom_h" "$ac_includes_default"
7899 if test "x$ac_cv_header_linux_cdrom_h" = xyes
7900 then :
7901 printf "%s\n" "#define HAVE_LINUX_CDROM_H 1" >>confdefs.h
7904 ac_fn_c_check_header_compile "$LINENO" "linux/filter.h" "ac_cv_header_linux_filter_h" "$ac_includes_default"
7905 if test "x$ac_cv_header_linux_filter_h" = xyes
7906 then :
7907 printf "%s\n" "#define HAVE_LINUX_FILTER_H 1" >>confdefs.h
7910 ac_fn_c_check_header_compile "$LINENO" "linux/hdreg.h" "ac_cv_header_linux_hdreg_h" "$ac_includes_default"
7911 if test "x$ac_cv_header_linux_hdreg_h" = xyes
7912 then :
7913 printf "%s\n" "#define HAVE_LINUX_HDREG_H 1" >>confdefs.h
7916 ac_fn_c_check_header_compile "$LINENO" "linux/hidraw.h" "ac_cv_header_linux_hidraw_h" "$ac_includes_default"
7917 if test "x$ac_cv_header_linux_hidraw_h" = xyes
7918 then :
7919 printf "%s\n" "#define HAVE_LINUX_HIDRAW_H 1" >>confdefs.h
7922 ac_fn_c_check_header_compile "$LINENO" "linux/input.h" "ac_cv_header_linux_input_h" "$ac_includes_default"
7923 if test "x$ac_cv_header_linux_input_h" = xyes
7924 then :
7925 printf "%s\n" "#define HAVE_LINUX_INPUT_H 1" >>confdefs.h
7928 ac_fn_c_check_header_compile "$LINENO" "linux/ioctl.h" "ac_cv_header_linux_ioctl_h" "$ac_includes_default"
7929 if test "x$ac_cv_header_linux_ioctl_h" = xyes
7930 then :
7931 printf "%s\n" "#define HAVE_LINUX_IOCTL_H 1" >>confdefs.h
7934 ac_fn_c_check_header_compile "$LINENO" "linux/major.h" "ac_cv_header_linux_major_h" "$ac_includes_default"
7935 if test "x$ac_cv_header_linux_major_h" = xyes
7936 then :
7937 printf "%s\n" "#define HAVE_LINUX_MAJOR_H 1" >>confdefs.h
7940 ac_fn_c_check_header_compile "$LINENO" "linux/param.h" "ac_cv_header_linux_param_h" "$ac_includes_default"
7941 if test "x$ac_cv_header_linux_param_h" = xyes
7942 then :
7943 printf "%s\n" "#define HAVE_LINUX_PARAM_H 1" >>confdefs.h
7946 ac_fn_c_check_header_compile "$LINENO" "linux/serial.h" "ac_cv_header_linux_serial_h" "$ac_includes_default"
7947 if test "x$ac_cv_header_linux_serial_h" = xyes
7948 then :
7949 printf "%s\n" "#define HAVE_LINUX_SERIAL_H 1" >>confdefs.h
7952 ac_fn_c_check_header_compile "$LINENO" "linux/types.h" "ac_cv_header_linux_types_h" "$ac_includes_default"
7953 if test "x$ac_cv_header_linux_types_h" = xyes
7954 then :
7955 printf "%s\n" "#define HAVE_LINUX_TYPES_H 1" >>confdefs.h
7958 ac_fn_c_check_header_compile "$LINENO" "linux/ucdrom.h" "ac_cv_header_linux_ucdrom_h" "$ac_includes_default"
7959 if test "x$ac_cv_header_linux_ucdrom_h" = xyes
7960 then :
7961 printf "%s\n" "#define HAVE_LINUX_UCDROM_H 1" >>confdefs.h
7964 ac_fn_c_check_header_compile "$LINENO" "lwp.h" "ac_cv_header_lwp_h" "$ac_includes_default"
7965 if test "x$ac_cv_header_lwp_h" = xyes
7966 then :
7967 printf "%s\n" "#define HAVE_LWP_H 1" >>confdefs.h
7970 ac_fn_c_check_header_compile "$LINENO" "mach-o/loader.h" "ac_cv_header_mach_o_loader_h" "$ac_includes_default"
7971 if test "x$ac_cv_header_mach_o_loader_h" = xyes
7972 then :
7973 printf "%s\n" "#define HAVE_MACH_O_LOADER_H 1" >>confdefs.h
7976 ac_fn_c_check_header_compile "$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
7977 if test "x$ac_cv_header_mach_mach_h" = xyes
7978 then :
7979 printf "%s\n" "#define HAVE_MACH_MACH_H 1" >>confdefs.h
7982 ac_fn_c_check_header_compile "$LINENO" "machine/cpu.h" "ac_cv_header_machine_cpu_h" "$ac_includes_default"
7983 if test "x$ac_cv_header_machine_cpu_h" = xyes
7984 then :
7985 printf "%s\n" "#define HAVE_MACHINE_CPU_H 1" >>confdefs.h
7988 ac_fn_c_check_header_compile "$LINENO" "machine/sysarch.h" "ac_cv_header_machine_sysarch_h" "$ac_includes_default"
7989 if test "x$ac_cv_header_machine_sysarch_h" = xyes
7990 then :
7991 printf "%s\n" "#define HAVE_MACHINE_SYSARCH_H 1" >>confdefs.h
7994 ac_fn_c_check_header_compile "$LINENO" "mntent.h" "ac_cv_header_mntent_h" "$ac_includes_default"
7995 if test "x$ac_cv_header_mntent_h" = xyes
7996 then :
7997 printf "%s\n" "#define HAVE_MNTENT_H 1" >>confdefs.h
8000 ac_fn_c_check_header_compile "$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default"
8001 if test "x$ac_cv_header_netdb_h" = xyes
8002 then :
8003 printf "%s\n" "#define HAVE_NETDB_H 1" >>confdefs.h
8006 ac_fn_c_check_header_compile "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default"
8007 if test "x$ac_cv_header_netinet_in_h" = xyes
8008 then :
8009 printf "%s\n" "#define HAVE_NETINET_IN_H 1" >>confdefs.h
8012 ac_fn_c_check_header_compile "$LINENO" "netinet/in_systm.h" "ac_cv_header_netinet_in_systm_h" "$ac_includes_default"
8013 if test "x$ac_cv_header_netinet_in_systm_h" = xyes
8014 then :
8015 printf "%s\n" "#define HAVE_NETINET_IN_SYSTM_H 1" >>confdefs.h
8018 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp.h" "ac_cv_header_netinet_tcp_h" "$ac_includes_default"
8019 if test "x$ac_cv_header_netinet_tcp_h" = xyes
8020 then :
8021 printf "%s\n" "#define HAVE_NETINET_TCP_H 1" >>confdefs.h
8024 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_fsm.h" "ac_cv_header_netinet_tcp_fsm_h" "$ac_includes_default"
8025 if test "x$ac_cv_header_netinet_tcp_fsm_h" = xyes
8026 then :
8027 printf "%s\n" "#define HAVE_NETINET_TCP_FSM_H 1" >>confdefs.h
8030 ac_fn_c_check_header_compile "$LINENO" "pcap/pcap.h" "ac_cv_header_pcap_pcap_h" "$ac_includes_default"
8031 if test "x$ac_cv_header_pcap_pcap_h" = xyes
8032 then :
8033 printf "%s\n" "#define HAVE_PCAP_PCAP_H 1" >>confdefs.h
8036 ac_fn_c_check_header_compile "$LINENO" "port.h" "ac_cv_header_port_h" "$ac_includes_default"
8037 if test "x$ac_cv_header_port_h" = xyes
8038 then :
8039 printf "%s\n" "#define HAVE_PORT_H 1" >>confdefs.h
8042 ac_fn_c_check_header_compile "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
8043 if test "x$ac_cv_header_pthread_h" = xyes
8044 then :
8045 printf "%s\n" "#define HAVE_PTHREAD_H 1" >>confdefs.h
8048 ac_fn_c_check_header_compile "$LINENO" "pwd.h" "ac_cv_header_pwd_h" "$ac_includes_default"
8049 if test "x$ac_cv_header_pwd_h" = xyes
8050 then :
8051 printf "%s\n" "#define HAVE_PWD_H 1" >>confdefs.h
8054 ac_fn_c_check_header_compile "$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default"
8055 if test "x$ac_cv_header_sched_h" = xyes
8056 then :
8057 printf "%s\n" "#define HAVE_SCHED_H 1" >>confdefs.h
8060 ac_fn_c_check_header_compile "$LINENO" "scsi/scsi.h" "ac_cv_header_scsi_scsi_h" "$ac_includes_default"
8061 if test "x$ac_cv_header_scsi_scsi_h" = xyes
8062 then :
8063 printf "%s\n" "#define HAVE_SCSI_SCSI_H 1" >>confdefs.h
8066 ac_fn_c_check_header_compile "$LINENO" "scsi/scsi_ioctl.h" "ac_cv_header_scsi_scsi_ioctl_h" "$ac_includes_default"
8067 if test "x$ac_cv_header_scsi_scsi_ioctl_h" = xyes
8068 then :
8069 printf "%s\n" "#define HAVE_SCSI_SCSI_IOCTL_H 1" >>confdefs.h
8072 ac_fn_c_check_header_compile "$LINENO" "scsi/sg.h" "ac_cv_header_scsi_sg_h" "$ac_includes_default"
8073 if test "x$ac_cv_header_scsi_sg_h" = xyes
8074 then :
8075 printf "%s\n" "#define HAVE_SCSI_SG_H 1" >>confdefs.h
8078 ac_fn_c_check_header_compile "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
8079 if test "x$ac_cv_header_stdint_h" = xyes
8080 then :
8081 printf "%s\n" "#define HAVE_STDINT_H 1" >>confdefs.h
8084 ac_fn_c_check_header_compile "$LINENO" "sys/attr.h" "ac_cv_header_sys_attr_h" "$ac_includes_default"
8085 if test "x$ac_cv_header_sys_attr_h" = xyes
8086 then :
8087 printf "%s\n" "#define HAVE_SYS_ATTR_H 1" >>confdefs.h
8090 ac_fn_c_check_header_compile "$LINENO" "sys/auxv.h" "ac_cv_header_sys_auxv_h" "$ac_includes_default"
8091 if test "x$ac_cv_header_sys_auxv_h" = xyes
8092 then :
8093 printf "%s\n" "#define HAVE_SYS_AUXV_H 1" >>confdefs.h
8096 ac_fn_c_check_header_compile "$LINENO" "sys/cdio.h" "ac_cv_header_sys_cdio_h" "$ac_includes_default"
8097 if test "x$ac_cv_header_sys_cdio_h" = xyes
8098 then :
8099 printf "%s\n" "#define HAVE_SYS_CDIO_H 1" >>confdefs.h
8102 ac_fn_c_check_header_compile "$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default"
8103 if test "x$ac_cv_header_sys_epoll_h" = xyes
8104 then :
8105 printf "%s\n" "#define HAVE_SYS_EPOLL_H 1" >>confdefs.h
8108 ac_fn_c_check_header_compile "$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default"
8109 if test "x$ac_cv_header_sys_event_h" = xyes
8110 then :
8111 printf "%s\n" "#define HAVE_SYS_EVENT_H 1" >>confdefs.h
8114 ac_fn_c_check_header_compile "$LINENO" "sys/extattr.h" "ac_cv_header_sys_extattr_h" "$ac_includes_default"
8115 if test "x$ac_cv_header_sys_extattr_h" = xyes
8116 then :
8117 printf "%s\n" "#define HAVE_SYS_EXTATTR_H 1" >>confdefs.h
8120 ac_fn_c_check_header_compile "$LINENO" "sys/filio.h" "ac_cv_header_sys_filio_h" "$ac_includes_default"
8121 if test "x$ac_cv_header_sys_filio_h" = xyes
8122 then :
8123 printf "%s\n" "#define HAVE_SYS_FILIO_H 1" >>confdefs.h
8126 ac_fn_c_check_header_compile "$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
8127 if test "x$ac_cv_header_sys_ipc_h" = xyes
8128 then :
8129 printf "%s\n" "#define HAVE_SYS_IPC_H 1" >>confdefs.h
8132 ac_fn_c_check_header_compile "$LINENO" "sys/link.h" "ac_cv_header_sys_link_h" "$ac_includes_default"
8133 if test "x$ac_cv_header_sys_link_h" = xyes
8134 then :
8135 printf "%s\n" "#define HAVE_SYS_LINK_H 1" >>confdefs.h
8138 ac_fn_c_check_header_compile "$LINENO" "sys/modem.h" "ac_cv_header_sys_modem_h" "$ac_includes_default"
8139 if test "x$ac_cv_header_sys_modem_h" = xyes
8140 then :
8141 printf "%s\n" "#define HAVE_SYS_MODEM_H 1" >>confdefs.h
8144 ac_fn_c_check_header_compile "$LINENO" "sys/mtio.h" "ac_cv_header_sys_mtio_h" "$ac_includes_default"
8145 if test "x$ac_cv_header_sys_mtio_h" = xyes
8146 then :
8147 printf "%s\n" "#define HAVE_SYS_MTIO_H 1" >>confdefs.h
8150 ac_fn_c_check_header_compile "$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
8151 if test "x$ac_cv_header_sys_param_h" = xyes
8152 then :
8153 printf "%s\n" "#define HAVE_SYS_PARAM_H 1" >>confdefs.h
8156 ac_fn_c_check_header_compile "$LINENO" "sys/prctl.h" "ac_cv_header_sys_prctl_h" "$ac_includes_default"
8157 if test "x$ac_cv_header_sys_prctl_h" = xyes
8158 then :
8159 printf "%s\n" "#define HAVE_SYS_PRCTL_H 1" >>confdefs.h
8162 ac_fn_c_check_header_compile "$LINENO" "sys/ptrace.h" "ac_cv_header_sys_ptrace_h" "$ac_includes_default"
8163 if test "x$ac_cv_header_sys_ptrace_h" = xyes
8164 then :
8165 printf "%s\n" "#define HAVE_SYS_PTRACE_H 1" >>confdefs.h
8168 ac_fn_c_check_header_compile "$LINENO" "sys/queue.h" "ac_cv_header_sys_queue_h" "$ac_includes_default"
8169 if test "x$ac_cv_header_sys_queue_h" = xyes
8170 then :
8171 printf "%s\n" "#define HAVE_SYS_QUEUE_H 1" >>confdefs.h
8174 ac_fn_c_check_header_compile "$LINENO" "sys/random.h" "ac_cv_header_sys_random_h" "$ac_includes_default"
8175 if test "x$ac_cv_header_sys_random_h" = xyes
8176 then :
8177 printf "%s\n" "#define HAVE_SYS_RANDOM_H 1" >>confdefs.h
8180 ac_fn_c_check_header_compile "$LINENO" "sys/resource.h" "ac_cv_header_sys_resource_h" "$ac_includes_default"
8181 if test "x$ac_cv_header_sys_resource_h" = xyes
8182 then :
8183 printf "%s\n" "#define HAVE_SYS_RESOURCE_H 1" >>confdefs.h
8186 ac_fn_c_check_header_compile "$LINENO" "sys/scsiio.h" "ac_cv_header_sys_scsiio_h" "$ac_includes_default"
8187 if test "x$ac_cv_header_sys_scsiio_h" = xyes
8188 then :
8189 printf "%s\n" "#define HAVE_SYS_SCSIIO_H 1" >>confdefs.h
8192 ac_fn_c_check_header_compile "$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
8193 if test "x$ac_cv_header_sys_shm_h" = xyes
8194 then :
8195 printf "%s\n" "#define HAVE_SYS_SHM_H 1" >>confdefs.h
8198 ac_fn_c_check_header_compile "$LINENO" "sys/signal.h" "ac_cv_header_sys_signal_h" "$ac_includes_default"
8199 if test "x$ac_cv_header_sys_signal_h" = xyes
8200 then :
8201 printf "%s\n" "#define HAVE_SYS_SIGNAL_H 1" >>confdefs.h
8204 ac_fn_c_check_header_compile "$LINENO" "sys/socketvar.h" "ac_cv_header_sys_socketvar_h" "$ac_includes_default"
8205 if test "x$ac_cv_header_sys_socketvar_h" = xyes
8206 then :
8207 printf "%s\n" "#define HAVE_SYS_SOCKETVAR_H 1" >>confdefs.h
8210 ac_fn_c_check_header_compile "$LINENO" "sys/sockio.h" "ac_cv_header_sys_sockio_h" "$ac_includes_default"
8211 if test "x$ac_cv_header_sys_sockio_h" = xyes
8212 then :
8213 printf "%s\n" "#define HAVE_SYS_SOCKIO_H 1" >>confdefs.h
8216 ac_fn_c_check_header_compile "$LINENO" "sys/statvfs.h" "ac_cv_header_sys_statvfs_h" "$ac_includes_default"
8217 if test "x$ac_cv_header_sys_statvfs_h" = xyes
8218 then :
8219 printf "%s\n" "#define HAVE_SYS_STATVFS_H 1" >>confdefs.h
8222 ac_fn_c_check_header_compile "$LINENO" "sys/strtio.h" "ac_cv_header_sys_strtio_h" "$ac_includes_default"
8223 if test "x$ac_cv_header_sys_strtio_h" = xyes
8224 then :
8225 printf "%s\n" "#define HAVE_SYS_STRTIO_H 1" >>confdefs.h
8228 ac_fn_c_check_header_compile "$LINENO" "sys/syscall.h" "ac_cv_header_sys_syscall_h" "$ac_includes_default"
8229 if test "x$ac_cv_header_sys_syscall_h" = xyes
8230 then :
8231 printf "%s\n" "#define HAVE_SYS_SYSCALL_H 1" >>confdefs.h
8234 ac_fn_c_check_header_compile "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
8235 if test "x$ac_cv_header_sys_sysinfo_h" = xyes
8236 then :
8237 printf "%s\n" "#define HAVE_SYS_SYSINFO_H 1" >>confdefs.h
8240 ac_fn_c_check_header_compile "$LINENO" "sys/times.h" "ac_cv_header_sys_times_h" "$ac_includes_default"
8241 if test "x$ac_cv_header_sys_times_h" = xyes
8242 then :
8243 printf "%s\n" "#define HAVE_SYS_TIMES_H 1" >>confdefs.h
8246 ac_fn_c_check_header_compile "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
8247 if test "x$ac_cv_header_sys_uio_h" = xyes
8248 then :
8249 printf "%s\n" "#define HAVE_SYS_UIO_H 1" >>confdefs.h
8252 ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "$ac_includes_default"
8253 if test "x$ac_cv_header_sys_user_h" = xyes
8254 then :
8255 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8258 ac_fn_c_check_header_compile "$LINENO" "sys/utsname.h" "ac_cv_header_sys_utsname_h" "$ac_includes_default"
8259 if test "x$ac_cv_header_sys_utsname_h" = xyes
8260 then :
8261 printf "%s\n" "#define HAVE_SYS_UTSNAME_H 1" >>confdefs.h
8264 ac_fn_c_check_header_compile "$LINENO" "sys/vnode.h" "ac_cv_header_sys_vnode_h" "$ac_includes_default"
8265 if test "x$ac_cv_header_sys_vnode_h" = xyes
8266 then :
8267 printf "%s\n" "#define HAVE_SYS_VNODE_H 1" >>confdefs.h
8270 ac_fn_c_check_header_compile "$LINENO" "sys/xattr.h" "ac_cv_header_sys_xattr_h" "$ac_includes_default"
8271 if test "x$ac_cv_header_sys_xattr_h" = xyes
8272 then :
8273 printf "%s\n" "#define HAVE_SYS_XATTR_H 1" >>confdefs.h
8276 ac_fn_c_check_header_compile "$LINENO" "syscall.h" "ac_cv_header_syscall_h" "$ac_includes_default"
8277 if test "x$ac_cv_header_syscall_h" = xyes
8278 then :
8279 printf "%s\n" "#define HAVE_SYSCALL_H 1" >>confdefs.h
8282 ac_fn_c_check_header_compile "$LINENO" "utime.h" "ac_cv_header_utime_h" "$ac_includes_default"
8283 if test "x$ac_cv_header_utime_h" = xyes
8284 then :
8285 printf "%s\n" "#define HAVE_UTIME_H 1" >>confdefs.h
8288 ac_fn_c_check_header_compile "$LINENO" "valgrind/memcheck.h" "ac_cv_header_valgrind_memcheck_h" "$ac_includes_default"
8289 if test "x$ac_cv_header_valgrind_memcheck_h" = xyes
8290 then :
8291 printf "%s\n" "#define HAVE_VALGRIND_MEMCHECK_H 1" >>confdefs.h
8294 ac_fn_c_check_header_compile "$LINENO" "valgrind/valgrind.h" "ac_cv_header_valgrind_valgrind_h" "$ac_includes_default"
8295 if test "x$ac_cv_header_valgrind_valgrind_h" = xyes
8296 then :
8297 printf "%s\n" "#define HAVE_VALGRIND_VALGRIND_H 1" >>confdefs.h
8301 ac_fn_c_check_header_compile "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
8302 if test "x$ac_cv_header_sys_mkdev_h" = xyes
8303 then :
8305 printf "%s\n" "#define MAJOR_IN_MKDEV 1" >>confdefs.h
8309 if test $ac_cv_header_sys_mkdev_h = no; then
8310 ac_fn_c_check_header_compile "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
8311 if test "x$ac_cv_header_sys_sysmacros_h" = xyes
8312 then :
8314 printf "%s\n" "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
8319 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
8320 printf %s "checking whether stat file-mode macros are broken... " >&6; }
8321 if test ${ac_cv_header_stat_broken+y}
8322 then :
8323 printf %s "(cached) " >&6
8324 else $as_nop
8325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8326 /* end confdefs.h. */
8327 #include <sys/types.h>
8328 #include <sys/stat.h>
8330 #if defined S_ISBLK && defined S_IFDIR
8331 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
8332 #endif
8334 #if defined S_ISBLK && defined S_IFCHR
8335 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
8336 #endif
8338 #if defined S_ISLNK && defined S_IFREG
8339 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
8340 #endif
8342 #if defined S_ISSOCK && defined S_IFREG
8343 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
8344 #endif
8346 _ACEOF
8347 if ac_fn_c_try_compile "$LINENO"
8348 then :
8349 ac_cv_header_stat_broken=no
8350 else $as_nop
8351 ac_cv_header_stat_broken=yes
8353 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8355 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
8356 printf "%s\n" "$ac_cv_header_stat_broken" >&6; }
8357 if test $ac_cv_header_stat_broken = yes; then
8359 printf "%s\n" "#define STAT_MACROS_BROKEN 1" >>confdefs.h
8365 ac_fn_c_check_header_compile "$LINENO" "sys/conf.h" "ac_cv_header_sys_conf_h" "#include <sys/types.h>
8366 #ifdef HAVE_SYS_PARAM_H
8367 # include <sys/param.h>
8368 #endif
8370 if test "x$ac_cv_header_sys_conf_h" = xyes
8371 then :
8372 printf "%s\n" "#define HAVE_SYS_CONF_H 1" >>confdefs.h
8375 ac_fn_c_check_header_compile "$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/types.h>
8376 #ifdef HAVE_SYS_PARAM_H
8377 # include <sys/param.h>
8378 #endif
8380 if test "x$ac_cv_header_sys_mount_h" = xyes
8381 then :
8382 printf "%s\n" "#define HAVE_SYS_MOUNT_H 1" >>confdefs.h
8385 ac_fn_c_check_header_compile "$LINENO" "sys/statfs.h" "ac_cv_header_sys_statfs_h" "#include <sys/types.h>
8386 #ifdef HAVE_SYS_PARAM_H
8387 # include <sys/param.h>
8388 #endif
8390 if test "x$ac_cv_header_sys_statfs_h" = xyes
8391 then :
8392 printf "%s\n" "#define HAVE_SYS_STATFS_H 1" >>confdefs.h
8395 ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "#include <sys/types.h>
8396 #ifdef HAVE_SYS_PARAM_H
8397 # include <sys/param.h>
8398 #endif
8400 if test "x$ac_cv_header_sys_user_h" = xyes
8401 then :
8402 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8405 ac_fn_c_check_header_compile "$LINENO" "sys/vfs.h" "ac_cv_header_sys_vfs_h" "#include <sys/types.h>
8406 #ifdef HAVE_SYS_PARAM_H
8407 # include <sys/param.h>
8408 #endif
8410 if test "x$ac_cv_header_sys_vfs_h" = xyes
8411 then :
8412 printf "%s\n" "#define HAVE_SYS_VFS_H 1" >>confdefs.h
8417 saved_sysctl_h_CFLAGS=$CFLAGS
8418 test "x${GCC}" != xyes || CFLAGS="$CFLAGS -Werror"
8419 ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
8420 #ifdef HAVE_SYS_PARAM_H
8421 # include <sys/param.h>
8422 #endif
8424 if test "x$ac_cv_header_sys_sysctl_h" = xyes
8425 then :
8426 printf "%s\n" "#define HAVE_SYS_SYSCTL_H 1" >>confdefs.h
8430 CFLAGS=$saved_sysctl_h_CFLAGS
8432 ac_fn_c_check_header_compile "$LINENO" "netinet/ip.h" "ac_cv_header_netinet_ip_h" "#include <sys/types.h>
8433 #include <sys/socket.h>
8434 #ifdef HAVE_SYS_SOCKETVAR_H
8435 # include <sys/socketvar.h>
8436 #endif
8437 #ifdef HAVE_NET_ROUTE_H
8438 # include <net/route.h>
8439 #endif
8440 #ifdef HAVE_NETINET_IN_H
8441 # include <netinet/in.h>
8442 #endif
8443 #ifdef HAVE_NETINET_IN_SYSTM_H
8444 # include <netinet/in_systm.h>
8445 #endif
8446 #ifdef HAVE_NET_IF_H
8447 # include <net/if.h>
8448 #endif
8449 #ifdef HAVE_NETINET_IP_H
8450 # include <netinet/ip.h>
8451 #endif
8453 if test "x$ac_cv_header_netinet_ip_h" = xyes
8454 then :
8455 printf "%s\n" "#define HAVE_NETINET_IP_H 1" >>confdefs.h
8458 ac_fn_c_check_header_compile "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "#include <sys/types.h>
8459 #include <sys/socket.h>
8460 #ifdef HAVE_SYS_SOCKETVAR_H
8461 # include <sys/socketvar.h>
8462 #endif
8463 #ifdef HAVE_NET_ROUTE_H
8464 # include <net/route.h>
8465 #endif
8466 #ifdef HAVE_NETINET_IN_H
8467 # include <netinet/in.h>
8468 #endif
8469 #ifdef HAVE_NETINET_IN_SYSTM_H
8470 # include <netinet/in_systm.h>
8471 #endif
8472 #ifdef HAVE_NET_IF_H
8473 # include <net/if.h>
8474 #endif
8475 #ifdef HAVE_NETINET_IP_H
8476 # include <netinet/ip.h>
8477 #endif
8479 if test "x$ac_cv_header_net_if_h" = xyes
8480 then :
8481 printf "%s\n" "#define HAVE_NET_IF_H 1" >>confdefs.h
8484 ac_fn_c_check_header_compile "$LINENO" "net/if_arp.h" "ac_cv_header_net_if_arp_h" "#include <sys/types.h>
8485 #include <sys/socket.h>
8486 #ifdef HAVE_SYS_SOCKETVAR_H
8487 # include <sys/socketvar.h>
8488 #endif
8489 #ifdef HAVE_NET_ROUTE_H
8490 # include <net/route.h>
8491 #endif
8492 #ifdef HAVE_NETINET_IN_H
8493 # include <netinet/in.h>
8494 #endif
8495 #ifdef HAVE_NETINET_IN_SYSTM_H
8496 # include <netinet/in_systm.h>
8497 #endif
8498 #ifdef HAVE_NET_IF_H
8499 # include <net/if.h>
8500 #endif
8501 #ifdef HAVE_NETINET_IP_H
8502 # include <netinet/ip.h>
8503 #endif
8505 if test "x$ac_cv_header_net_if_arp_h" = xyes
8506 then :
8507 printf "%s\n" "#define HAVE_NET_IF_ARP_H 1" >>confdefs.h
8510 ac_fn_c_check_header_compile "$LINENO" "net/if_dl.h" "ac_cv_header_net_if_dl_h" "#include <sys/types.h>
8511 #include <sys/socket.h>
8512 #ifdef HAVE_SYS_SOCKETVAR_H
8513 # include <sys/socketvar.h>
8514 #endif
8515 #ifdef HAVE_NET_ROUTE_H
8516 # include <net/route.h>
8517 #endif
8518 #ifdef HAVE_NETINET_IN_H
8519 # include <netinet/in.h>
8520 #endif
8521 #ifdef HAVE_NETINET_IN_SYSTM_H
8522 # include <netinet/in_systm.h>
8523 #endif
8524 #ifdef HAVE_NET_IF_H
8525 # include <net/if.h>
8526 #endif
8527 #ifdef HAVE_NETINET_IP_H
8528 # include <netinet/ip.h>
8529 #endif
8531 if test "x$ac_cv_header_net_if_dl_h" = xyes
8532 then :
8533 printf "%s\n" "#define HAVE_NET_IF_DL_H 1" >>confdefs.h
8536 ac_fn_c_check_header_compile "$LINENO" "net/if_types.h" "ac_cv_header_net_if_types_h" "#include <sys/types.h>
8537 #include <sys/socket.h>
8538 #ifdef HAVE_SYS_SOCKETVAR_H
8539 # include <sys/socketvar.h>
8540 #endif
8541 #ifdef HAVE_NET_ROUTE_H
8542 # include <net/route.h>
8543 #endif
8544 #ifdef HAVE_NETINET_IN_H
8545 # include <netinet/in.h>
8546 #endif
8547 #ifdef HAVE_NETINET_IN_SYSTM_H
8548 # include <netinet/in_systm.h>
8549 #endif
8550 #ifdef HAVE_NET_IF_H
8551 # include <net/if.h>
8552 #endif
8553 #ifdef HAVE_NETINET_IP_H
8554 # include <netinet/ip.h>
8555 #endif
8557 if test "x$ac_cv_header_net_if_types_h" = xyes
8558 then :
8559 printf "%s\n" "#define HAVE_NET_IF_TYPES_H 1" >>confdefs.h
8562 ac_fn_c_check_header_compile "$LINENO" "net/route.h" "ac_cv_header_net_route_h" "#include <sys/types.h>
8563 #include <sys/socket.h>
8564 #ifdef HAVE_SYS_SOCKETVAR_H
8565 # include <sys/socketvar.h>
8566 #endif
8567 #ifdef HAVE_NET_ROUTE_H
8568 # include <net/route.h>
8569 #endif
8570 #ifdef HAVE_NETINET_IN_H
8571 # include <netinet/in.h>
8572 #endif
8573 #ifdef HAVE_NETINET_IN_SYSTM_H
8574 # include <netinet/in_systm.h>
8575 #endif
8576 #ifdef HAVE_NET_IF_H
8577 # include <net/if.h>
8578 #endif
8579 #ifdef HAVE_NETINET_IP_H
8580 # include <netinet/ip.h>
8581 #endif
8583 if test "x$ac_cv_header_net_route_h" = xyes
8584 then :
8585 printf "%s\n" "#define HAVE_NET_ROUTE_H 1" >>confdefs.h
8588 ac_fn_c_check_header_compile "$LINENO" "netinet/if_ether.h" "ac_cv_header_netinet_if_ether_h" "#include <sys/types.h>
8589 #include <sys/socket.h>
8590 #ifdef HAVE_SYS_SOCKETVAR_H
8591 # include <sys/socketvar.h>
8592 #endif
8593 #ifdef HAVE_NET_ROUTE_H
8594 # include <net/route.h>
8595 #endif
8596 #ifdef HAVE_NETINET_IN_H
8597 # include <netinet/in.h>
8598 #endif
8599 #ifdef HAVE_NETINET_IN_SYSTM_H
8600 # include <netinet/in_systm.h>
8601 #endif
8602 #ifdef HAVE_NET_IF_H
8603 # include <net/if.h>
8604 #endif
8605 #ifdef HAVE_NETINET_IP_H
8606 # include <netinet/ip.h>
8607 #endif
8609 if test "x$ac_cv_header_netinet_if_ether_h" = xyes
8610 then :
8611 printf "%s\n" "#define HAVE_NETINET_IF_ETHER_H 1" >>confdefs.h
8614 ac_fn_c_check_header_compile "$LINENO" "netinet/in_pcb.h" "ac_cv_header_netinet_in_pcb_h" "#include <sys/types.h>
8615 #include <sys/socket.h>
8616 #ifdef HAVE_SYS_SOCKETVAR_H
8617 # include <sys/socketvar.h>
8618 #endif
8619 #ifdef HAVE_NET_ROUTE_H
8620 # include <net/route.h>
8621 #endif
8622 #ifdef HAVE_NETINET_IN_H
8623 # include <netinet/in.h>
8624 #endif
8625 #ifdef HAVE_NETINET_IN_SYSTM_H
8626 # include <netinet/in_systm.h>
8627 #endif
8628 #ifdef HAVE_NET_IF_H
8629 # include <net/if.h>
8630 #endif
8631 #ifdef HAVE_NETINET_IP_H
8632 # include <netinet/ip.h>
8633 #endif
8635 if test "x$ac_cv_header_netinet_in_pcb_h" = xyes
8636 then :
8637 printf "%s\n" "#define HAVE_NETINET_IN_PCB_H 1" >>confdefs.h
8640 ac_fn_c_check_header_compile "$LINENO" "netinet/ip_icmp.h" "ac_cv_header_netinet_ip_icmp_h" "#include <sys/types.h>
8641 #include <sys/socket.h>
8642 #ifdef HAVE_SYS_SOCKETVAR_H
8643 # include <sys/socketvar.h>
8644 #endif
8645 #ifdef HAVE_NET_ROUTE_H
8646 # include <net/route.h>
8647 #endif
8648 #ifdef HAVE_NETINET_IN_H
8649 # include <netinet/in.h>
8650 #endif
8651 #ifdef HAVE_NETINET_IN_SYSTM_H
8652 # include <netinet/in_systm.h>
8653 #endif
8654 #ifdef HAVE_NET_IF_H
8655 # include <net/if.h>
8656 #endif
8657 #ifdef HAVE_NETINET_IP_H
8658 # include <netinet/ip.h>
8659 #endif
8661 if test "x$ac_cv_header_netinet_ip_icmp_h" = xyes
8662 then :
8663 printf "%s\n" "#define HAVE_NETINET_IP_ICMP_H 1" >>confdefs.h
8666 ac_fn_c_check_header_compile "$LINENO" "netinet/ip_var.h" "ac_cv_header_netinet_ip_var_h" "#include <sys/types.h>
8667 #include <sys/socket.h>
8668 #ifdef HAVE_SYS_SOCKETVAR_H
8669 # include <sys/socketvar.h>
8670 #endif
8671 #ifdef HAVE_NET_ROUTE_H
8672 # include <net/route.h>
8673 #endif
8674 #ifdef HAVE_NETINET_IN_H
8675 # include <netinet/in.h>
8676 #endif
8677 #ifdef HAVE_NETINET_IN_SYSTM_H
8678 # include <netinet/in_systm.h>
8679 #endif
8680 #ifdef HAVE_NET_IF_H
8681 # include <net/if.h>
8682 #endif
8683 #ifdef HAVE_NETINET_IP_H
8684 # include <netinet/ip.h>
8685 #endif
8687 if test "x$ac_cv_header_netinet_ip_var_h" = xyes
8688 then :
8689 printf "%s\n" "#define HAVE_NETINET_IP_VAR_H 1" >>confdefs.h
8692 ac_fn_c_check_header_compile "$LINENO" "netinet/udp.h" "ac_cv_header_netinet_udp_h" "#include <sys/types.h>
8693 #include <sys/socket.h>
8694 #ifdef HAVE_SYS_SOCKETVAR_H
8695 # include <sys/socketvar.h>
8696 #endif
8697 #ifdef HAVE_NET_ROUTE_H
8698 # include <net/route.h>
8699 #endif
8700 #ifdef HAVE_NETINET_IN_H
8701 # include <netinet/in.h>
8702 #endif
8703 #ifdef HAVE_NETINET_IN_SYSTM_H
8704 # include <netinet/in_systm.h>
8705 #endif
8706 #ifdef HAVE_NET_IF_H
8707 # include <net/if.h>
8708 #endif
8709 #ifdef HAVE_NETINET_IP_H
8710 # include <netinet/ip.h>
8711 #endif
8713 if test "x$ac_cv_header_netinet_udp_h" = xyes
8714 then :
8715 printf "%s\n" "#define HAVE_NETINET_UDP_H 1" >>confdefs.h
8718 ac_fn_c_check_header_compile "$LINENO" "netinet6/ip6_var.h" "ac_cv_header_netinet6_ip6_var_h" "#include <sys/types.h>
8719 #include <sys/socket.h>
8720 #ifdef HAVE_SYS_SOCKETVAR_H
8721 # include <sys/socketvar.h>
8722 #endif
8723 #ifdef HAVE_NET_ROUTE_H
8724 # include <net/route.h>
8725 #endif
8726 #ifdef HAVE_NETINET_IN_H
8727 # include <netinet/in.h>
8728 #endif
8729 #ifdef HAVE_NETINET_IN_SYSTM_H
8730 # include <netinet/in_systm.h>
8731 #endif
8732 #ifdef HAVE_NET_IF_H
8733 # include <net/if.h>
8734 #endif
8735 #ifdef HAVE_NETINET_IP_H
8736 # include <netinet/ip.h>
8737 #endif
8739 if test "x$ac_cv_header_netinet6_ip6_var_h" = xyes
8740 then :
8741 printf "%s\n" "#define HAVE_NETINET6_IP6_VAR_H 1" >>confdefs.h
8744 ac_fn_c_check_header_compile "$LINENO" "netipx/ipx.h" "ac_cv_header_netipx_ipx_h" "#include <sys/types.h>
8745 #include <sys/socket.h>
8746 #ifdef HAVE_SYS_SOCKETVAR_H
8747 # include <sys/socketvar.h>
8748 #endif
8749 #ifdef HAVE_NET_ROUTE_H
8750 # include <net/route.h>
8751 #endif
8752 #ifdef HAVE_NETINET_IN_H
8753 # include <netinet/in.h>
8754 #endif
8755 #ifdef HAVE_NETINET_IN_SYSTM_H
8756 # include <netinet/in_systm.h>
8757 #endif
8758 #ifdef HAVE_NET_IF_H
8759 # include <net/if.h>
8760 #endif
8761 #ifdef HAVE_NETINET_IP_H
8762 # include <netinet/ip.h>
8763 #endif
8765 if test "x$ac_cv_header_netipx_ipx_h" = xyes
8766 then :
8767 printf "%s\n" "#define HAVE_NETIPX_IPX_H 1" >>confdefs.h
8770 ac_fn_c_check_header_compile "$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "#include <sys/types.h>
8771 #include <sys/socket.h>
8772 #ifdef HAVE_SYS_SOCKETVAR_H
8773 # include <sys/socketvar.h>
8774 #endif
8775 #ifdef HAVE_NET_ROUTE_H
8776 # include <net/route.h>
8777 #endif
8778 #ifdef HAVE_NETINET_IN_H
8779 # include <netinet/in.h>
8780 #endif
8781 #ifdef HAVE_NETINET_IN_SYSTM_H
8782 # include <netinet/in_systm.h>
8783 #endif
8784 #ifdef HAVE_NET_IF_H
8785 # include <net/if.h>
8786 #endif
8787 #ifdef HAVE_NETINET_IP_H
8788 # include <netinet/ip.h>
8789 #endif
8791 if test "x$ac_cv_header_sys_un_h" = xyes
8792 then :
8793 printf "%s\n" "#define HAVE_SYS_UN_H 1" >>confdefs.h
8798 ac_fn_c_check_header_compile "$LINENO" "netinet/udp_var.h" "ac_cv_header_netinet_udp_var_h" "#include <sys/types.h>
8799 #include <sys/socket.h>
8800 #ifdef HAVE_SYS_SOCKETVAR_H
8801 # include <sys/socketvar.h>
8802 #endif
8803 #ifdef HAVE_NETINET_IN_H
8804 # include <netinet/in.h>
8805 #endif
8806 #ifdef HAVE_NETINET_IN_SYSTM_H
8807 # include <netinet/in_systm.h>
8808 #endif
8809 #ifdef HAVE_NETINET_IP_H
8810 # include <netinet/ip.h>
8811 #endif
8812 #ifdef HAVE_NETINET_IP_VAR_H
8813 # include <netinet/ip_var.h>
8814 #endif
8815 #ifdef HAVE_NETINET_IP_ICMP_H
8816 # include <netinet/ip_icmp.h>
8817 #endif
8818 #ifdef HAVE_NETINET_UDP_H
8819 # include <netinet/udp.h>
8820 #endif
8821 #ifdef HAVE_NETINET_TCP_H
8822 # include <netinet/tcp.h>
8823 #endif
8825 if test "x$ac_cv_header_netinet_udp_var_h" = xyes
8826 then :
8827 printf "%s\n" "#define HAVE_NETINET_UDP_VAR_H 1" >>confdefs.h
8830 ac_fn_c_check_header_compile "$LINENO" "netinet/icmp_var.h" "ac_cv_header_netinet_icmp_var_h" "#include <sys/types.h>
8831 #include <sys/socket.h>
8832 #ifdef HAVE_SYS_SOCKETVAR_H
8833 # include <sys/socketvar.h>
8834 #endif
8835 #ifdef HAVE_NETINET_IN_H
8836 # include <netinet/in.h>
8837 #endif
8838 #ifdef HAVE_NETINET_IN_SYSTM_H
8839 # include <netinet/in_systm.h>
8840 #endif
8841 #ifdef HAVE_NETINET_IP_H
8842 # include <netinet/ip.h>
8843 #endif
8844 #ifdef HAVE_NETINET_IP_VAR_H
8845 # include <netinet/ip_var.h>
8846 #endif
8847 #ifdef HAVE_NETINET_IP_ICMP_H
8848 # include <netinet/ip_icmp.h>
8849 #endif
8850 #ifdef HAVE_NETINET_UDP_H
8851 # include <netinet/udp.h>
8852 #endif
8853 #ifdef HAVE_NETINET_TCP_H
8854 # include <netinet/tcp.h>
8855 #endif
8857 if test "x$ac_cv_header_netinet_icmp_var_h" = xyes
8858 then :
8859 printf "%s\n" "#define HAVE_NETINET_ICMP_VAR_H 1" >>confdefs.h
8862 ac_fn_c_check_header_compile "$LINENO" "netinet/icmp6.h" "ac_cv_header_netinet_icmp6_h" "#include <sys/types.h>
8863 #include <sys/socket.h>
8864 #ifdef HAVE_SYS_SOCKETVAR_H
8865 # include <sys/socketvar.h>
8866 #endif
8867 #ifdef HAVE_NETINET_IN_H
8868 # include <netinet/in.h>
8869 #endif
8870 #ifdef HAVE_NETINET_IN_SYSTM_H
8871 # include <netinet/in_systm.h>
8872 #endif
8873 #ifdef HAVE_NETINET_IP_H
8874 # include <netinet/ip.h>
8875 #endif
8876 #ifdef HAVE_NETINET_IP_VAR_H
8877 # include <netinet/ip_var.h>
8878 #endif
8879 #ifdef HAVE_NETINET_IP_ICMP_H
8880 # include <netinet/ip_icmp.h>
8881 #endif
8882 #ifdef HAVE_NETINET_UDP_H
8883 # include <netinet/udp.h>
8884 #endif
8885 #ifdef HAVE_NETINET_TCP_H
8886 # include <netinet/tcp.h>
8887 #endif
8889 if test "x$ac_cv_header_netinet_icmp6_h" = xyes
8890 then :
8891 printf "%s\n" "#define HAVE_NETINET_ICMP6_H 1" >>confdefs.h
8894 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_var.h" "ac_cv_header_netinet_tcp_var_h" "#include <sys/types.h>
8895 #include <sys/socket.h>
8896 #ifdef HAVE_SYS_SOCKETVAR_H
8897 # include <sys/socketvar.h>
8898 #endif
8899 #ifdef HAVE_NETINET_IN_H
8900 # include <netinet/in.h>
8901 #endif
8902 #ifdef HAVE_NETINET_IN_SYSTM_H
8903 # include <netinet/in_systm.h>
8904 #endif
8905 #ifdef HAVE_NETINET_IP_H
8906 # include <netinet/ip.h>
8907 #endif
8908 #ifdef HAVE_NETINET_IP_VAR_H
8909 # include <netinet/ip_var.h>
8910 #endif
8911 #ifdef HAVE_NETINET_IP_ICMP_H
8912 # include <netinet/ip_icmp.h>
8913 #endif
8914 #ifdef HAVE_NETINET_UDP_H
8915 # include <netinet/udp.h>
8916 #endif
8917 #ifdef HAVE_NETINET_TCP_H
8918 # include <netinet/tcp.h>
8919 #endif
8921 if test "x$ac_cv_header_netinet_tcp_var_h" = xyes
8922 then :
8923 printf "%s\n" "#define HAVE_NETINET_TCP_VAR_H 1" >>confdefs.h
8928 ac_fn_c_check_header_compile "$LINENO" "linux/ipx.h" "ac_cv_header_linux_ipx_h" "#include <sys/types.h>
8929 #include <sys/socket.h>
8930 #ifdef HAVE_ASM_TYPES_H
8931 # include <asm/types.h>
8932 #endif
8933 #ifdef HAVE_LINUX_TYPES_H
8934 # include <linux/types.h>
8935 #endif
8937 if test "x$ac_cv_header_linux_ipx_h" = xyes
8938 then :
8939 printf "%s\n" "#define HAVE_LINUX_IPX_H 1" >>confdefs.h
8942 ac_fn_c_check_header_compile "$LINENO" "linux/irda.h" "ac_cv_header_linux_irda_h" "#include <sys/types.h>
8943 #include <sys/socket.h>
8944 #ifdef HAVE_ASM_TYPES_H
8945 # include <asm/types.h>
8946 #endif
8947 #ifdef HAVE_LINUX_TYPES_H
8948 # include <linux/types.h>
8949 #endif
8951 if test "x$ac_cv_header_linux_irda_h" = xyes
8952 then :
8953 printf "%s\n" "#define HAVE_LINUX_IRDA_H 1" >>confdefs.h
8956 ac_fn_c_check_header_compile "$LINENO" "linux/rtnetlink.h" "ac_cv_header_linux_rtnetlink_h" "#include <sys/types.h>
8957 #include <sys/socket.h>
8958 #ifdef HAVE_ASM_TYPES_H
8959 # include <asm/types.h>
8960 #endif
8961 #ifdef HAVE_LINUX_TYPES_H
8962 # include <linux/types.h>
8963 #endif
8965 if test "x$ac_cv_header_linux_rtnetlink_h" = xyes
8966 then :
8967 printf "%s\n" "#define HAVE_LINUX_RTNETLINK_H 1" >>confdefs.h
8972 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
8973 #include <sys/socket.h>
8974 #ifdef HAVE_NETINET_IN_H
8975 # include <netinet/in.h>
8976 #endif
8977 #ifdef HAVE_ARPA_NAMESER_H
8978 # include <arpa/nameser.h>
8979 #endif
8981 if test "x$ac_cv_header_resolv_h" = xyes
8982 then :
8983 printf "%s\n" "#define HAVE_RESOLV_H 1" >>confdefs.h
8988 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
8990 if test "x$ac_cv_header_ifaddrs_h" = xyes
8991 then :
8992 printf "%s\n" "#define HAVE_IFADDRS_H 1" >>confdefs.h
8997 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
8999 if test "x$ac_cv_header_sys_ucontext_h" = xyes
9000 then :
9001 printf "%s\n" "#define HAVE_SYS_UCONTEXT_H 1" >>confdefs.h
9006 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
9007 #ifdef HAVE_SYS_UCONTEXT_H
9008 #include <sys/ucontext.h>
9009 #endif
9011 if test "x$ac_cv_header_sys_thr_h" = xyes
9012 then :
9013 printf "%s\n" "#define HAVE_SYS_THR_H 1" >>confdefs.h
9018 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
9019 #include <pthread.h>
9020 #endif
9022 if test "x$ac_cv_header_pthread_np_h" = xyes
9023 then :
9024 printf "%s\n" "#define HAVE_PTHREAD_NP_H 1" >>confdefs.h
9029 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#include <sys/time.h>
9030 #include <sys/types.h>
9031 #ifdef HAVE_ASM_TYPES_H
9032 #include <asm/types.h>
9033 #endif
9035 if test "x$ac_cv_header_linux_videodev2_h" = xyes
9036 then :
9037 printf "%s\n" "#define HAVE_LINUX_VIDEODEV2_H 1" >>confdefs.h
9042 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
9043 #include <sys/param.h>
9044 #endif
9045 #include <sys/socket.h>
9046 #ifdef HAVE_SYS_QUEUE_H
9047 #include <sys/queue.h>
9048 #endif
9050 if test "x$ac_cv_header_libprocstat_h" = xyes
9051 then :
9052 printf "%s\n" "#define HAVE_LIBPROCSTAT_H 1" >>confdefs.h
9057 if test "x$ac_cv_header_sys_xattr_h" = xyes
9058 then
9059 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether getxattr takes additional arguments" >&5
9060 printf %s "checking whether getxattr takes additional arguments... " >&6; }
9061 if test ${wine_cv_xattr_extra_args+y}
9062 then :
9063 printf %s "(cached) " >&6
9064 else $as_nop
9065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9066 /* end confdefs.h. */
9067 #include <sys/xattr.h>
9069 main (void)
9071 getxattr("", "", "", 0, 0, 0);
9073 return 0;
9075 _ACEOF
9076 if ac_fn_c_try_compile "$LINENO"
9077 then :
9078 wine_cv_xattr_extra_args=yes
9079 else $as_nop
9080 wine_cv_xattr_extra_args=no
9082 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9084 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_xattr_extra_args" >&5
9085 printf "%s\n" "$wine_cv_xattr_extra_args" >&6; }
9086 test $wine_cv_xattr_extra_args != yes ||
9087 printf "%s\n" "#define XATTR_ADDITIONAL_OPTIONS 1" >>confdefs.h
9092 DLLFLAGS=""
9094 LDDLLFLAGS=""
9096 LDEXECFLAGS=""
9098 EXTRACFLAGS=""
9100 UNIXDLLFLAGS="-fPIC"
9102 UNIXLDFLAGS="-shared -Wl,-Bsymbolic -Wl,-soname,\$(UNIXLIB)"
9104 TOP_INSTALL_LIB=""
9106 TOP_INSTALL_DEV=""
9108 WINELOADER_LDFLAGS=""
9110 WINEPRELOADER_LDFLAGS=""
9112 LIBEXT="so"
9113 # Extract the first word of "ldd", so it can be a program name with args.
9114 set dummy ldd; ac_word=$2
9115 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9116 printf %s "checking for $ac_word... " >&6; }
9117 if test ${ac_cv_path_LDD+y}
9118 then :
9119 printf %s "(cached) " >&6
9120 else $as_nop
9121 case $LDD in
9122 [\\/]* | ?:[\\/]*)
9123 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
9126 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9127 as_dummy="/sbin:/usr/sbin:$PATH"
9128 for as_dir in $as_dummy
9130 IFS=$as_save_IFS
9131 case $as_dir in #(((
9132 '') as_dir=./ ;;
9133 */) ;;
9134 *) as_dir=$as_dir/ ;;
9135 esac
9136 for ac_exec_ext in '' $ac_executable_extensions; do
9137 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9138 ac_cv_path_LDD="$as_dir$ac_word$ac_exec_ext"
9139 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9140 break 2
9142 done
9143 done
9144 IFS=$as_save_IFS
9146 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
9148 esac
9150 LDD=$ac_cv_path_LDD
9151 if test -n "$LDD"; then
9152 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
9153 printf "%s\n" "$LDD" >&6; }
9154 else
9155 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9156 printf "%s\n" "no" >&6; }
9160 if test -n "$ac_tool_prefix"; then
9161 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
9162 set dummy ${ac_tool_prefix}otool; ac_word=$2
9163 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9164 printf %s "checking for $ac_word... " >&6; }
9165 if test ${ac_cv_prog_OTOOL+y}
9166 then :
9167 printf %s "(cached) " >&6
9168 else $as_nop
9169 if test -n "$OTOOL"; then
9170 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
9171 else
9172 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9173 for as_dir in $PATH
9175 IFS=$as_save_IFS
9176 case $as_dir in #(((
9177 '') as_dir=./ ;;
9178 */) ;;
9179 *) as_dir=$as_dir/ ;;
9180 esac
9181 for ac_exec_ext in '' $ac_executable_extensions; do
9182 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9183 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
9184 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9185 break 2
9187 done
9188 done
9189 IFS=$as_save_IFS
9193 OTOOL=$ac_cv_prog_OTOOL
9194 if test -n "$OTOOL"; then
9195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
9196 printf "%s\n" "$OTOOL" >&6; }
9197 else
9198 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9199 printf "%s\n" "no" >&6; }
9204 if test -z "$ac_cv_prog_OTOOL"; then
9205 ac_ct_OTOOL=$OTOOL
9206 # Extract the first word of "otool", so it can be a program name with args.
9207 set dummy otool; ac_word=$2
9208 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9209 printf %s "checking for $ac_word... " >&6; }
9210 if test ${ac_cv_prog_ac_ct_OTOOL+y}
9211 then :
9212 printf %s "(cached) " >&6
9213 else $as_nop
9214 if test -n "$ac_ct_OTOOL"; then
9215 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
9216 else
9217 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9218 for as_dir in $PATH
9220 IFS=$as_save_IFS
9221 case $as_dir in #(((
9222 '') as_dir=./ ;;
9223 */) ;;
9224 *) as_dir=$as_dir/ ;;
9225 esac
9226 for ac_exec_ext in '' $ac_executable_extensions; do
9227 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9228 ac_cv_prog_ac_ct_OTOOL="otool"
9229 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9230 break 2
9232 done
9233 done
9234 IFS=$as_save_IFS
9238 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
9239 if test -n "$ac_ct_OTOOL"; then
9240 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
9241 printf "%s\n" "$ac_ct_OTOOL" >&6; }
9242 else
9243 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9244 printf "%s\n" "no" >&6; }
9247 if test "x$ac_ct_OTOOL" = x; then
9248 OTOOL="otool"
9249 else
9250 case $cross_compiling:$ac_tool_warned in
9251 yes:)
9252 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9253 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9254 ac_tool_warned=yes ;;
9255 esac
9256 OTOOL=$ac_ct_OTOOL
9258 else
9259 OTOOL="$ac_cv_prog_OTOOL"
9262 if test -n "$ac_tool_prefix"; then
9263 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
9264 set dummy ${ac_tool_prefix}readelf; ac_word=$2
9265 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9266 printf %s "checking for $ac_word... " >&6; }
9267 if test ${ac_cv_prog_READELF+y}
9268 then :
9269 printf %s "(cached) " >&6
9270 else $as_nop
9271 if test -n "$READELF"; then
9272 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9273 else
9274 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9275 for as_dir in $PATH
9277 IFS=$as_save_IFS
9278 case $as_dir in #(((
9279 '') as_dir=./ ;;
9280 */) ;;
9281 *) as_dir=$as_dir/ ;;
9282 esac
9283 for ac_exec_ext in '' $ac_executable_extensions; do
9284 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9285 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
9286 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9287 break 2
9289 done
9290 done
9291 IFS=$as_save_IFS
9295 READELF=$ac_cv_prog_READELF
9296 if test -n "$READELF"; then
9297 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
9298 printf "%s\n" "$READELF" >&6; }
9299 else
9300 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9301 printf "%s\n" "no" >&6; }
9306 if test -z "$ac_cv_prog_READELF"; then
9307 ac_ct_READELF=$READELF
9308 # Extract the first word of "readelf", so it can be a program name with args.
9309 set dummy readelf; ac_word=$2
9310 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9311 printf %s "checking for $ac_word... " >&6; }
9312 if test ${ac_cv_prog_ac_ct_READELF+y}
9313 then :
9314 printf %s "(cached) " >&6
9315 else $as_nop
9316 if test -n "$ac_ct_READELF"; then
9317 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
9318 else
9319 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9320 for as_dir in $PATH
9322 IFS=$as_save_IFS
9323 case $as_dir in #(((
9324 '') as_dir=./ ;;
9325 */) ;;
9326 *) as_dir=$as_dir/ ;;
9327 esac
9328 for ac_exec_ext in '' $ac_executable_extensions; do
9329 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9330 ac_cv_prog_ac_ct_READELF="readelf"
9331 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9332 break 2
9334 done
9335 done
9336 IFS=$as_save_IFS
9340 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
9341 if test -n "$ac_ct_READELF"; then
9342 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
9343 printf "%s\n" "$ac_ct_READELF" >&6; }
9344 else
9345 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9346 printf "%s\n" "no" >&6; }
9349 if test "x$ac_ct_READELF" = x; then
9350 READELF="true"
9351 else
9352 case $cross_compiling:$ac_tool_warned in
9353 yes:)
9354 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9355 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9356 ac_tool_warned=yes ;;
9357 esac
9358 READELF=$ac_ct_READELF
9360 else
9361 READELF="$ac_cv_prog_READELF"
9364 wine_rules="all:"
9365 SUBDIRS=""
9367 DISABLED_SUBDIRS=""
9369 CONFIGURE_TARGETS=""
9372 wine_fn_config_makefile ()
9374 as_fn_append SUBDIRS " \\$as_nl $1"
9375 eval enable=\$$2
9376 case "$enable" in
9377 no) as_fn_append DISABLED_SUBDIRS " $1" ;;
9378 *aarch64*|*arm*|*i386*|*x86_64*)
9379 if test -n "$PE_ARCHS"
9380 then
9381 for i in $PE_ARCHS
9383 test $(expr ",$enable," : ".*,$i,") -gt 0 || as_fn_append ${i}_DISABLED_SUBDIRS " $1"
9384 done
9385 else
9386 test $(expr ",$enable," : ".*,$HOST_ARCH,") -gt 0 || as_fn_append DISABLED_SUBDIRS " $1"
9387 fi;;
9388 esac
9391 wine_fn_config_symlink ()
9393 ac_links=$@
9394 as_fn_append wine_rules "
9395 $ac_links:
9396 @./config.status \$@"
9397 for f in $ac_links; do as_fn_append CONFIGURE_TARGETS " $f"; done
9400 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
9402 case $host_os in
9403 cygwin*|mingw32*)
9404 LIBEXT="dll"
9405 EXTRACFLAGS="-D__WINE_PE_BUILD"
9406 case $host_cpu in
9407 *i[3456]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
9408 printf %s "checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
9409 if test ${ac_cv_cflags__Wl___disable_stdcall_fixup+y}
9410 then :
9411 printf %s "(cached) " >&6
9412 else $as_nop
9413 ac_wine_try_cflags_saved=$CFLAGS
9414 CFLAGS="$CFLAGS -Wl,--disable-stdcall-fixup"
9415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9416 /* end confdefs.h. */
9417 int main(int argc, char **argv) { return 0; }
9418 _ACEOF
9419 if ac_fn_c_try_link "$LINENO"
9420 then :
9421 ac_cv_cflags__Wl___disable_stdcall_fixup=yes
9422 else $as_nop
9423 ac_cv_cflags__Wl___disable_stdcall_fixup=no
9425 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9426 conftest$ac_exeext conftest.$ac_ext
9427 CFLAGS=$ac_wine_try_cflags_saved
9429 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
9430 printf "%s\n" "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
9431 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes
9432 then :
9433 LDDLLFLAGS="-Wl,--disable-stdcall-fixup"
9434 fi ;;
9435 esac
9436 enable_loader=${enable_loader:-no}
9437 enable_server=${enable_server:-no}
9438 with_x=${with_x:-no}
9439 with_pthread=${with_pthread:-no}
9442 darwin*|macosx*)
9443 LIBEXT="dylib"
9444 DLLFLAGS="$DLLFLAGS -fPIC"
9445 LDDLLFLAGS="-fPIC"
9446 enable_winemac_drv=${enable_winemac_drv:-yes}
9447 CARBON_LIBS="-framework Carbon"
9449 COREFOUNDATION_LIBS="-framework CoreFoundation"
9451 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
9453 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
9455 METAL_LIBS="-framework Metal"
9457 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
9459 CORESERVICES_LIBS="-framework CoreServices"
9461 APPKIT_LIBS="-framework AppKit"
9463 SECURITY_LIBS="-framework Security -framework CoreFoundation"
9465 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
9468 WINELOADER_LDFLAGS="-Wl,-pie,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
9470 wine_can_build_preloader=yes
9471 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"
9472 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
9473 printf %s "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
9474 if test ${ac_cv_cflags__Wl__no_new_main__e__main+y}
9475 then :
9476 printf %s "(cached) " >&6
9477 else $as_nop
9478 ac_wine_try_cflags_saved=$CFLAGS
9479 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
9480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9481 /* end confdefs.h. */
9482 int main(int argc, char **argv) { return 0; }
9483 _ACEOF
9484 if ac_fn_c_try_link "$LINENO"
9485 then :
9486 ac_cv_cflags__Wl__no_new_main__e__main=yes
9487 else $as_nop
9488 ac_cv_cflags__Wl__no_new_main__e__main=no
9490 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9491 conftest$ac_exeext conftest.$ac_ext
9492 CFLAGS=$ac_wine_try_cflags_saved
9494 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
9495 printf "%s\n" "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
9496 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes
9497 then :
9498 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
9499 { 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
9500 printf %s "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
9501 if test ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+y}
9502 then :
9503 printf %s "(cached) " >&6
9504 else $as_nop
9505 ac_wine_try_cflags_saved=$CFLAGS
9506 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
9507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9508 /* end confdefs.h. */
9509 int main(int argc, char **argv) { return 0; }
9510 _ACEOF
9511 if ac_fn_c_try_link "$LINENO"
9512 then :
9513 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
9514 else $as_nop
9515 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
9517 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9518 conftest$ac_exeext conftest.$ac_ext
9519 CFLAGS=$ac_wine_try_cflags_saved
9521 { 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
9522 printf "%s\n" "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
9523 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes
9524 then :
9525 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
9526 else $as_nop
9527 wine_can_build_preloader=no
9529 else $as_nop
9530 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
9531 printf %s "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
9532 if test ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+y}
9533 then :
9534 printf %s "(cached) " >&6
9535 else $as_nop
9536 ac_wine_try_cflags_saved=$CFLAGS
9537 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
9538 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9539 /* end confdefs.h. */
9540 int main(int argc, char **argv) { return 0; }
9541 _ACEOF
9542 if ac_fn_c_try_link "$LINENO"
9543 then :
9544 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
9545 else $as_nop
9546 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
9548 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9549 conftest$ac_exeext conftest.$ac_ext
9550 CFLAGS=$ac_wine_try_cflags_saved
9552 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
9553 printf "%s\n" "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
9554 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes
9555 then :
9556 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
9557 else $as_nop
9558 wine_can_build_preloader=no
9561 if test "$wine_can_build_preloader" = "yes"
9562 then
9563 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
9564 printf %s "checking whether the compiler supports -Wl,-no_pie... " >&6; }
9565 if test ${ac_cv_cflags__Wl__no_pie+y}
9566 then :
9567 printf %s "(cached) " >&6
9568 else $as_nop
9569 ac_wine_try_cflags_saved=$CFLAGS
9570 CFLAGS="$CFLAGS -Wl,-no_pie"
9571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9572 /* end confdefs.h. */
9573 int main(int argc, char **argv) { return 0; }
9574 _ACEOF
9575 if ac_fn_c_try_link "$LINENO"
9576 then :
9577 ac_cv_cflags__Wl__no_pie=yes
9578 else $as_nop
9579 ac_cv_cflags__Wl__no_pie=no
9581 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9582 conftest$ac_exeext conftest.$ac_ext
9583 CFLAGS=$ac_wine_try_cflags_saved
9585 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
9586 printf "%s\n" "$ac_cv_cflags__Wl__no_pie" >&6; }
9587 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
9588 then :
9589 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
9591 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -mmacosx-version-min=10.7"
9592 else
9593 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
9596 if test "x$with_coreaudio" != "xno";
9597 then
9598 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
9600 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
9602 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
9603 then
9604 OPENCL_LIBS="-framework OpenCL"
9606 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
9609 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
9610 printf %s "checking whether MTLDevice protocol supports registryID property... " >&6; }
9611 ac_ext=m
9612 ac_cpp='$OBJCPP $CPPFLAGS'
9613 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9614 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9615 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9617 ac_ext=m
9618 ac_cpp='$OBJCPP $CPPFLAGS'
9619 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9620 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9621 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9622 if test -n "$ac_tool_prefix"; then
9623 for ac_prog in gcc objcc objc cc CC clang
9625 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9626 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
9627 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9628 printf %s "checking for $ac_word... " >&6; }
9629 if test ${ac_cv_prog_OBJC+y}
9630 then :
9631 printf %s "(cached) " >&6
9632 else $as_nop
9633 if test -n "$OBJC"; then
9634 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
9635 else
9636 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9637 for as_dir in $PATH
9639 IFS=$as_save_IFS
9640 case $as_dir in #(((
9641 '') as_dir=./ ;;
9642 */) ;;
9643 *) as_dir=$as_dir/ ;;
9644 esac
9645 for ac_exec_ext in '' $ac_executable_extensions; do
9646 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9647 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
9648 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9649 break 2
9651 done
9652 done
9653 IFS=$as_save_IFS
9657 OBJC=$ac_cv_prog_OBJC
9658 if test -n "$OBJC"; then
9659 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
9660 printf "%s\n" "$OBJC" >&6; }
9661 else
9662 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9663 printf "%s\n" "no" >&6; }
9667 test -n "$OBJC" && break
9668 done
9670 if test -z "$OBJC"; then
9671 ac_ct_OBJC=$OBJC
9672 for ac_prog in gcc objcc objc cc CC clang
9674 # Extract the first word of "$ac_prog", so it can be a program name with args.
9675 set dummy $ac_prog; ac_word=$2
9676 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9677 printf %s "checking for $ac_word... " >&6; }
9678 if test ${ac_cv_prog_ac_ct_OBJC+y}
9679 then :
9680 printf %s "(cached) " >&6
9681 else $as_nop
9682 if test -n "$ac_ct_OBJC"; then
9683 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
9684 else
9685 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9686 for as_dir in $PATH
9688 IFS=$as_save_IFS
9689 case $as_dir in #(((
9690 '') as_dir=./ ;;
9691 */) ;;
9692 *) as_dir=$as_dir/ ;;
9693 esac
9694 for ac_exec_ext in '' $ac_executable_extensions; do
9695 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9696 ac_cv_prog_ac_ct_OBJC="$ac_prog"
9697 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9698 break 2
9700 done
9701 done
9702 IFS=$as_save_IFS
9706 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
9707 if test -n "$ac_ct_OBJC"; then
9708 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
9709 printf "%s\n" "$ac_ct_OBJC" >&6; }
9710 else
9711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9712 printf "%s\n" "no" >&6; }
9716 test -n "$ac_ct_OBJC" && break
9717 done
9719 if test "x$ac_ct_OBJC" = x; then
9720 OBJC="gcc"
9721 else
9722 case $cross_compiling:$ac_tool_warned in
9723 yes:)
9724 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9725 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9726 ac_tool_warned=yes ;;
9727 esac
9728 OBJC=$ac_ct_OBJC
9732 # Provide some information about the compiler.
9733 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
9734 set X $ac_compile
9735 ac_compiler=$2
9736 for ac_option in --version -v -V -qversion; do
9737 { { ac_try="$ac_compiler $ac_option >&5"
9738 case "(($ac_try" in
9739 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9740 *) ac_try_echo=$ac_try;;
9741 esac
9742 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
9743 printf "%s\n" "$ac_try_echo"; } >&5
9744 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
9745 ac_status=$?
9746 if test -s conftest.err; then
9747 sed '10a\
9748 ... rest of stderr output deleted ...
9749 10q' conftest.err >conftest.er1
9750 cat conftest.er1 >&5
9752 rm -f conftest.er1 conftest.err
9753 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9754 test $ac_status = 0; }
9755 done
9757 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU Objective C" >&5
9758 printf %s "checking whether the compiler supports GNU Objective C... " >&6; }
9759 if test ${ac_cv_objc_compiler_gnu+y}
9760 then :
9761 printf %s "(cached) " >&6
9762 else $as_nop
9763 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9764 /* end confdefs.h. */
9767 main (void)
9769 #ifndef __GNUC__
9770 choke me
9771 #endif
9774 return 0;
9776 _ACEOF
9777 if ac_fn_objc_try_compile "$LINENO"
9778 then :
9779 ac_compiler_gnu=yes
9780 else $as_nop
9781 ac_compiler_gnu=no
9783 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9784 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
9787 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
9788 printf "%s\n" "$ac_cv_objc_compiler_gnu" >&6; }
9789 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9791 if test $ac_compiler_gnu = yes; then
9792 GOBJC=yes
9793 else
9794 GOBJC=
9796 ac_test_OBJCFLAGS=${OBJCFLAGS+y}
9797 ac_save_OBJCFLAGS=$OBJCFLAGS
9798 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
9799 printf %s "checking whether $OBJC accepts -g... " >&6; }
9800 if test ${ac_cv_prog_objc_g+y}
9801 then :
9802 printf %s "(cached) " >&6
9803 else $as_nop
9804 ac_save_objc_werror_flag=$ac_objc_werror_flag
9805 ac_objc_werror_flag=yes
9806 ac_cv_prog_objc_g=no
9807 OBJCFLAGS="-g"
9808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9809 /* end confdefs.h. */
9812 main (void)
9816 return 0;
9818 _ACEOF
9819 if ac_fn_objc_try_compile "$LINENO"
9820 then :
9821 ac_cv_prog_objc_g=yes
9822 else $as_nop
9823 OBJCFLAGS=""
9824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9825 /* end confdefs.h. */
9828 main (void)
9832 return 0;
9834 _ACEOF
9835 if ac_fn_objc_try_compile "$LINENO"
9836 then :
9838 else $as_nop
9839 ac_objc_werror_flag=$ac_save_objc_werror_flag
9840 OBJCFLAGS="-g"
9841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9842 /* end confdefs.h. */
9845 main (void)
9849 return 0;
9851 _ACEOF
9852 if ac_fn_objc_try_compile "$LINENO"
9853 then :
9854 ac_cv_prog_objc_g=yes
9856 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9858 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9860 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9861 ac_objc_werror_flag=$ac_save_objc_werror_flag
9863 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
9864 printf "%s\n" "$ac_cv_prog_objc_g" >&6; }
9865 if test $ac_test_OBJCFLAGS; then
9866 OBJCFLAGS=$ac_save_OBJCFLAGS
9867 elif test $ac_cv_prog_objc_g = yes; then
9868 if test "$GOBJC" = yes; then
9869 OBJCFLAGS="-g -O2"
9870 else
9871 OBJCFLAGS="-g"
9873 else
9874 if test "$GOBJC" = yes; then
9875 OBJCFLAGS="-O2"
9876 else
9877 OBJCFLAGS=
9880 ac_ext=m
9881 ac_cpp='$OBJCPP $CPPFLAGS'
9882 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9883 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9884 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9888 /* end confdefs.h. */
9889 #include <Metal/Metal.h>
9891 main (void)
9893 id<MTLDevice> device; device.registryID;
9895 return 0;
9897 _ACEOF
9898 if ac_fn_objc_try_compile "$LINENO"
9899 then :
9900 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9901 printf "%s\n" "yes" >&6; }
9903 printf "%s\n" "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
9905 else $as_nop
9906 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9907 printf "%s\n" "no" >&6; }
9909 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9910 ac_ext=c
9911 ac_cpp='$CPP $CPPFLAGS'
9912 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9913 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9914 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9917 UNIXLDFLAGS="-dynamiclib -install_name @rpath/\$(UNIXLIB) -Wl,-rpath,@loader_path\/"
9918 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
9920 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
9922 WINELOADER_DEPENDS="wine_info.plist"
9924 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
9927 linux-android*)
9929 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
9931 DLLFLAGS="$DLLFLAGS -fPIC"
9932 LDDLLFLAGS="-fPIC"
9933 LDEXECFLAGS="-Wl,-pie"
9934 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9935 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
9936 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
9937 if test ${ac_cv_cflags__Wl__z_defs+y}
9938 then :
9939 printf %s "(cached) " >&6
9940 else $as_nop
9941 ac_wine_try_cflags_saved=$CFLAGS
9942 CFLAGS="$CFLAGS -Wl,-z,defs"
9943 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9944 /* end confdefs.h. */
9945 int main(int argc, char **argv) { return 0; }
9946 _ACEOF
9947 if ac_fn_c_try_link "$LINENO"
9948 then :
9949 ac_cv_cflags__Wl__z_defs=yes
9950 else $as_nop
9951 ac_cv_cflags__Wl__z_defs=no
9953 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9954 conftest$ac_exeext conftest.$ac_ext
9955 CFLAGS=$ac_wine_try_cflags_saved
9957 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
9958 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
9959 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
9960 then :
9961 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
9963 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9964 printf %s "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9965 if test ${ac_cv_cflags__fPIC__Wl___export_dynamic+y}
9966 then :
9967 printf %s "(cached) " >&6
9968 else $as_nop
9969 ac_wine_try_cflags_saved=$CFLAGS
9970 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9972 /* end confdefs.h. */
9973 int main(int argc, char **argv) { return 0; }
9974 _ACEOF
9975 if ac_fn_c_try_link "$LINENO"
9976 then :
9977 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9978 else $as_nop
9979 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9981 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9982 conftest$ac_exeext conftest.$ac_ext
9983 CFLAGS=$ac_wine_try_cflags_saved
9985 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9986 printf "%s\n" "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9987 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
9988 then :
9989 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9991 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9993 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9994 printf %s "checking for -lEGL... " >&6; }
9995 if test ${ac_cv_lib_soname_EGL+y}
9996 then :
9997 printf %s "(cached) " >&6
9998 else $as_nop
9999 ac_check_soname_save_LIBS=$LIBS
10000 LIBS="-lEGL $LIBS"
10001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10002 /* end confdefs.h. */
10004 /* Override any GCC internal prototype to avoid an error.
10005 Use char because int might match the return type of a GCC
10006 builtin and then its argument prototype would still apply. */
10007 char eglGetProcAddress ();
10009 main (void)
10011 return eglGetProcAddress ();
10013 return 0;
10015 _ACEOF
10016 if ac_fn_c_try_link "$LINENO"
10017 then :
10018 case "$LIBEXT" in
10019 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10020 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'` ;;
10021 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10022 if ${ac_cv_lib_soname_EGL:+false} :
10023 then :
10024 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10025 fi ;;
10026 esac
10027 else $as_nop
10028 ac_cv_lib_soname_EGL=
10030 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10031 conftest$ac_exeext conftest.$ac_ext
10032 LIBS=$ac_check_soname_save_LIBS
10034 if ${ac_cv_lib_soname_EGL:+false} :
10035 then :
10036 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10037 printf "%s\n" "not found" >&6; }
10039 else $as_nop
10040 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
10041 printf "%s\n" "$ac_cv_lib_soname_EGL" >&6; }
10043 printf "%s\n" "#define SONAME_LIBEGL \"$ac_cv_lib_soname_EGL\"" >>confdefs.h
10047 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
10048 printf %s "checking for -lGLESv2... " >&6; }
10049 if test ${ac_cv_lib_soname_GLESv2+y}
10050 then :
10051 printf %s "(cached) " >&6
10052 else $as_nop
10053 ac_check_soname_save_LIBS=$LIBS
10054 LIBS="-lGLESv2 $LIBS"
10055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10056 /* end confdefs.h. */
10058 /* Override any GCC internal prototype to avoid an error.
10059 Use char because int might match the return type of a GCC
10060 builtin and then its argument prototype would still apply. */
10061 char glFlush ();
10063 main (void)
10065 return glFlush ();
10067 return 0;
10069 _ACEOF
10070 if ac_fn_c_try_link "$LINENO"
10071 then :
10072 case "$LIBEXT" in
10073 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10074 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'` ;;
10075 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10076 if ${ac_cv_lib_soname_GLESv2:+false} :
10077 then :
10078 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10079 fi ;;
10080 esac
10081 else $as_nop
10082 ac_cv_lib_soname_GLESv2=
10084 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10085 conftest$ac_exeext conftest.$ac_ext
10086 LIBS=$ac_check_soname_save_LIBS
10088 if ${ac_cv_lib_soname_GLESv2:+false} :
10089 then :
10090 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10091 printf "%s\n" "not found" >&6; }
10093 else $as_nop
10094 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
10095 printf "%s\n" "$ac_cv_lib_soname_GLESv2" >&6; }
10097 printf "%s\n" "#define SONAME_LIBGLESV2 \"$ac_cv_lib_soname_GLESv2\"" >>confdefs.h
10102 if test "x$exec_prefix" = xNONE
10103 then
10104 case $host_cpu in
10105 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
10106 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
10107 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
10108 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
10109 esac
10115 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
10117 test "$ac_cv_sys_file_offset_bits" = 64 &&
10118 printf "%s\n" "#define _TIME_BITS 64" >>confdefs.h
10120 case $host_cpu in
10121 *i[3456789]86*)
10122 DLLFLAGS="$DLLFLAGS -fno-PIC"
10123 LDDLLFLAGS="-fno-PIC"
10124 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-PIC -Wl,-z,notext" >&5
10125 printf %s "checking whether the compiler supports -fno-PIC -Wl,-z,notext... " >&6; }
10126 if test ${ac_cv_cflags__fno_PIC__Wl__z_notext+y}
10127 then :
10128 printf %s "(cached) " >&6
10129 else $as_nop
10130 ac_wine_try_cflags_saved=$CFLAGS
10131 CFLAGS="$CFLAGS -fno-PIC -Wl,-z,notext"
10132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10133 /* end confdefs.h. */
10134 int main(int argc, char **argv) { return 0; }
10135 _ACEOF
10136 if ac_fn_c_try_link "$LINENO"
10137 then :
10138 ac_cv_cflags__fno_PIC__Wl__z_notext=yes
10139 else $as_nop
10140 ac_cv_cflags__fno_PIC__Wl__z_notext=no
10142 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10143 conftest$ac_exeext conftest.$ac_ext
10144 CFLAGS=$ac_wine_try_cflags_saved
10146 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_PIC__Wl__z_notext" >&5
10147 printf "%s\n" "$ac_cv_cflags__fno_PIC__Wl__z_notext" >&6; }
10148 if test "x$ac_cv_cflags__fno_PIC__Wl__z_notext" = xyes
10149 then :
10150 LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"
10154 DLLFLAGS="$DLLFLAGS -fPIC"
10155 LDDLLFLAGS="-fPIC" ;;
10156 esac
10157 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
10159 echo '{ global: *; };' >conftest.map
10160 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
10161 printf %s "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
10162 if test ${ac_cv_cflags__shared__Wl___version_script_conftest_map+y}
10163 then :
10164 printf %s "(cached) " >&6
10165 else $as_nop
10166 ac_wine_try_cflags_saved=$CFLAGS
10167 CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
10168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10169 /* end confdefs.h. */
10170 int main(int argc, char **argv) { return 0; }
10171 _ACEOF
10172 if ac_fn_c_try_link "$LINENO"
10173 then :
10174 ac_cv_cflags__shared__Wl___version_script_conftest_map=yes
10175 else $as_nop
10176 ac_cv_cflags__shared__Wl___version_script_conftest_map=no
10178 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10179 conftest$ac_exeext conftest.$ac_ext
10180 CFLAGS=$ac_wine_try_cflags_saved
10182 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl___version_script_conftest_map" >&5
10183 printf "%s\n" "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
10184 if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes
10185 then :
10186 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
10188 rm -f conftest.map
10190 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
10191 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
10192 if test ${ac_cv_cflags__Wl__z_defs+y}
10193 then :
10194 printf %s "(cached) " >&6
10195 else $as_nop
10196 ac_wine_try_cflags_saved=$CFLAGS
10197 CFLAGS="$CFLAGS -Wl,-z,defs"
10198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10199 /* end confdefs.h. */
10200 int main(int argc, char **argv) { return 0; }
10201 _ACEOF
10202 if ac_fn_c_try_link "$LINENO"
10203 then :
10204 ac_cv_cflags__Wl__z_defs=yes
10205 else $as_nop
10206 ac_cv_cflags__Wl__z_defs=no
10208 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10209 conftest$ac_exeext conftest.$ac_ext
10210 CFLAGS=$ac_wine_try_cflags_saved
10212 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
10213 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
10214 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
10215 then :
10216 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
10218 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
10219 printf %s "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
10220 if test ${ac_cv_cflags__Wl___export_dynamic+y}
10221 then :
10222 printf %s "(cached) " >&6
10223 else $as_nop
10224 ac_wine_try_cflags_saved=$CFLAGS
10225 CFLAGS="$CFLAGS -Wl,--export-dynamic"
10226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10227 /* end confdefs.h. */
10228 int main(int argc, char **argv) { return 0; }
10229 _ACEOF
10230 if ac_fn_c_try_link "$LINENO"
10231 then :
10232 ac_cv_cflags__Wl___export_dynamic=yes
10233 else $as_nop
10234 ac_cv_cflags__Wl___export_dynamic=no
10236 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10237 conftest$ac_exeext conftest.$ac_ext
10238 CFLAGS=$ac_wine_try_cflags_saved
10240 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
10241 printf "%s\n" "$ac_cv_cflags__Wl___export_dynamic" >&6; }
10242 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes
10243 then :
10244 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10246 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
10248 case $host_cpu in
10249 *i[3456789]86* | x86_64 | *aarch64* | arm*)
10250 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
10251 printf %s "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
10252 if test ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+y}
10253 then :
10254 printf %s "(cached) " >&6
10255 else $as_nop
10256 ac_wine_try_cflags_saved=$CFLAGS
10257 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
10258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10259 /* end confdefs.h. */
10260 int main(int argc, char **argv) { return 0; }
10261 _ACEOF
10262 if ac_fn_c_try_link "$LINENO"
10263 then :
10264 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
10265 else $as_nop
10266 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
10268 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10269 conftest$ac_exeext conftest.$ac_ext
10270 CFLAGS=$ac_wine_try_cflags_saved
10272 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
10273 printf "%s\n" "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
10274 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes
10275 then :
10276 case $host_os in
10277 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
10278 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7d000000" ;;
10279 esac
10280 else $as_nop
10281 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400" >&5
10282 printf %s "checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400... " >&6; }
10283 if test ${ac_cv_cflags__Wl___section_start__interp_0x7d000400+y}
10284 then :
10285 printf %s "(cached) " >&6
10286 else $as_nop
10287 ac_wine_try_cflags_saved=$CFLAGS
10288 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7d000400"
10289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10290 /* end confdefs.h. */
10291 int main(int argc, char **argv) { return 0; }
10292 _ACEOF
10293 if ac_fn_c_try_link "$LINENO"
10294 then :
10295 ac_cv_cflags__Wl___section_start__interp_0x7d000400=yes
10296 else $as_nop
10297 ac_cv_cflags__Wl___section_start__interp_0x7d000400=no
10299 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10300 conftest$ac_exeext conftest.$ac_ext
10301 CFLAGS=$ac_wine_try_cflags_saved
10303 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&5
10304 printf "%s\n" "$ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&6; }
10305 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7d000400" = xyes
10306 then :
10307 case $host_os in
10308 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
10309 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7d000400" ;;
10310 esac
10312 # Extract the first word of "prelink", so it can be a program name with args.
10313 set dummy prelink; ac_word=$2
10314 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10315 printf %s "checking for $ac_word... " >&6; }
10316 if test ${ac_cv_path_PRELINK+y}
10317 then :
10318 printf %s "(cached) " >&6
10319 else $as_nop
10320 case $PRELINK in
10321 [\\/]* | ?:[\\/]*)
10322 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
10325 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10326 for as_dir in /sbin /usr/sbin $PATH
10328 IFS=$as_save_IFS
10329 case $as_dir in #(((
10330 '') as_dir=./ ;;
10331 */) ;;
10332 *) as_dir=$as_dir/ ;;
10333 esac
10334 for ac_exec_ext in '' $ac_executable_extensions; do
10335 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10336 ac_cv_path_PRELINK="$as_dir$ac_word$ac_exec_ext"
10337 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10338 break 2
10340 done
10341 done
10342 IFS=$as_save_IFS
10344 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
10346 esac
10348 PRELINK=$ac_cv_path_PRELINK
10349 if test -n "$PRELINK"; then
10350 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
10351 printf "%s\n" "$PRELINK" >&6; }
10352 else
10353 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10354 printf "%s\n" "no" >&6; }
10358 if test "x$PRELINK" = xfalse
10359 then
10360 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
10363 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
10364 printf %s "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
10365 if test ${ac_cv_cflags__Wl__z_max_page_size_0x1000+y}
10366 then :
10367 printf %s "(cached) " >&6
10368 else $as_nop
10369 ac_wine_try_cflags_saved=$CFLAGS
10370 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
10371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10372 /* end confdefs.h. */
10373 int main(int argc, char **argv) { return 0; }
10374 _ACEOF
10375 if ac_fn_c_try_link "$LINENO"
10376 then :
10377 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
10378 else $as_nop
10379 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
10381 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10382 conftest$ac_exeext conftest.$ac_ext
10383 CFLAGS=$ac_wine_try_cflags_saved
10385 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
10386 printf "%s\n" "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
10387 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes
10388 then :
10389 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
10392 esac
10393 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
10395 LIBWINE_DEPENDS="wine.map"
10397 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
10399 esac
10401 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
10402 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
10403 enable_winemac_drv=${enable_winemac_drv:-no}
10405 PE_ARCHS=""
10407 cross_archs=
10408 if test ${enable_archs+y}
10409 then :
10410 test "x$with_system_dllpath" = "x" || as_fn_error $? "\"The --with-system-dllpath option is not compatible with --enable-archs\"" "$LINENO" 5
10411 ac_save_IFS=$IFS
10412 IFS=' ,'
10413 set x $enable_archs
10414 IFS=$ac_save_IFS
10415 shift
10416 for arch
10418 case $arch in
10419 i386|x86_64|arm|aarch64) cross_archs="$cross_archs $arch" ;;
10420 *) as_fn_error $? "Unknown cross-compilation architecture '$arch'" "$LINENO" 5 ;;
10421 esac
10422 done
10423 else $as_nop
10424 if test "x$with_mingw" != xno
10425 then
10426 test $HOST_ARCH = unknown || cross_archs=$HOST_ARCH
10427 case "x$with_mingw" in
10428 x|xyes) ;;
10429 *) eval "${cross_archs}_CC=\$with_mingw" ;;
10430 esac
10434 for wine_arch in $cross_archs
10436 if eval \${${wine_arch}_CC:+false} :
10437 then :
10438 case $wine_arch in
10439 aarch64)
10440 for ac_prog in aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc clang
10442 # Extract the first word of "$ac_prog", so it can be a program name with args.
10443 set dummy $ac_prog; ac_word=$2
10444 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10445 printf %s "checking for $ac_word... " >&6; }
10446 if test ${ac_cv_prog_aarch64_CC+y}
10447 then :
10448 printf %s "(cached) " >&6
10449 else $as_nop
10450 if test -n "$aarch64_CC"; then
10451 ac_cv_prog_aarch64_CC="$aarch64_CC" # Let the user override the test.
10452 else
10453 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10454 for as_dir in $PATH
10456 IFS=$as_save_IFS
10457 case $as_dir in #(((
10458 '') as_dir=./ ;;
10459 */) ;;
10460 *) as_dir=$as_dir/ ;;
10461 esac
10462 for ac_exec_ext in '' $ac_executable_extensions; do
10463 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10464 ac_cv_prog_aarch64_CC="$ac_prog"
10465 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10466 break 2
10468 done
10469 done
10470 IFS=$as_save_IFS
10474 aarch64_CC=$ac_cv_prog_aarch64_CC
10475 if test -n "$aarch64_CC"; then
10476 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $aarch64_CC" >&5
10477 printf "%s\n" "$aarch64_CC" >&6; }
10478 else
10479 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10480 printf "%s\n" "no" >&6; }
10484 test -n "$aarch64_CC" && break
10485 done
10486 test -n "$aarch64_CC" || aarch64_CC="false"
10489 arm)
10490 for ac_prog in armv7-w64-mingw32-clang armv7-w64-mingw32-gcc clang
10492 # Extract the first word of "$ac_prog", so it can be a program name with args.
10493 set dummy $ac_prog; ac_word=$2
10494 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10495 printf %s "checking for $ac_word... " >&6; }
10496 if test ${ac_cv_prog_arm_CC+y}
10497 then :
10498 printf %s "(cached) " >&6
10499 else $as_nop
10500 if test -n "$arm_CC"; then
10501 ac_cv_prog_arm_CC="$arm_CC" # Let the user override the test.
10502 else
10503 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10504 for as_dir in $PATH
10506 IFS=$as_save_IFS
10507 case $as_dir in #(((
10508 '') as_dir=./ ;;
10509 */) ;;
10510 *) as_dir=$as_dir/ ;;
10511 esac
10512 for ac_exec_ext in '' $ac_executable_extensions; do
10513 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10514 ac_cv_prog_arm_CC="$ac_prog"
10515 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10516 break 2
10518 done
10519 done
10520 IFS=$as_save_IFS
10524 arm_CC=$ac_cv_prog_arm_CC
10525 if test -n "$arm_CC"; then
10526 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $arm_CC" >&5
10527 printf "%s\n" "$arm_CC" >&6; }
10528 else
10529 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10530 printf "%s\n" "no" >&6; }
10534 test -n "$arm_CC" && break
10535 done
10536 test -n "$arm_CC" || arm_CC="false"
10539 i386)
10540 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 "
10541 for ac_prog in $ac_prefix_list clang
10543 # Extract the first word of "$ac_prog", so it can be a program name with args.
10544 set dummy $ac_prog; ac_word=$2
10545 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10546 printf %s "checking for $ac_word... " >&6; }
10547 if test ${ac_cv_prog_i386_CC+y}
10548 then :
10549 printf %s "(cached) " >&6
10550 else $as_nop
10551 if test -n "$i386_CC"; then
10552 ac_cv_prog_i386_CC="$i386_CC" # Let the user override the test.
10553 else
10554 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10555 for as_dir in $PATH
10557 IFS=$as_save_IFS
10558 case $as_dir in #(((
10559 '') as_dir=./ ;;
10560 */) ;;
10561 *) as_dir=$as_dir/ ;;
10562 esac
10563 for ac_exec_ext in '' $ac_executable_extensions; do
10564 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10565 ac_cv_prog_i386_CC="$ac_prog"
10566 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10567 break 2
10569 done
10570 done
10571 IFS=$as_save_IFS
10575 i386_CC=$ac_cv_prog_i386_CC
10576 if test -n "$i386_CC"; then
10577 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $i386_CC" >&5
10578 printf "%s\n" "$i386_CC" >&6; }
10579 else
10580 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10581 printf "%s\n" "no" >&6; }
10585 test -n "$i386_CC" && break
10586 done
10587 test -n "$i386_CC" || i386_CC="false"
10590 x86_64)
10591 ac_prefix_list="x86_64-w64-mingw32-gcc amd64-w64-mingw32-gcc x86_64-w64-mingw32-clang amd64-w64-mingw32-clang "
10592 for ac_prog in $ac_prefix_list clang
10594 # Extract the first word of "$ac_prog", so it can be a program name with args.
10595 set dummy $ac_prog; ac_word=$2
10596 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10597 printf %s "checking for $ac_word... " >&6; }
10598 if test ${ac_cv_prog_x86_64_CC+y}
10599 then :
10600 printf %s "(cached) " >&6
10601 else $as_nop
10602 if test -n "$x86_64_CC"; then
10603 ac_cv_prog_x86_64_CC="$x86_64_CC" # Let the user override the test.
10604 else
10605 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10606 for as_dir in $PATH
10608 IFS=$as_save_IFS
10609 case $as_dir in #(((
10610 '') as_dir=./ ;;
10611 */) ;;
10612 *) as_dir=$as_dir/ ;;
10613 esac
10614 for ac_exec_ext in '' $ac_executable_extensions; do
10615 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10616 ac_cv_prog_x86_64_CC="$ac_prog"
10617 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10618 break 2
10620 done
10621 done
10622 IFS=$as_save_IFS
10626 x86_64_CC=$ac_cv_prog_x86_64_CC
10627 if test -n "$x86_64_CC"; then
10628 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $x86_64_CC" >&5
10629 printf "%s\n" "$x86_64_CC" >&6; }
10630 else
10631 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10632 printf "%s\n" "no" >&6; }
10636 test -n "$x86_64_CC" && break
10637 done
10638 test -n "$x86_64_CC" || x86_64_CC="false"
10641 esac
10644 if eval test \"x\$"${wine_arch}_CC"\" = x"false"
10645 then :
10646 continue
10649 saved_CC=$CC
10650 saved_CFLAGS=$CFLAGS
10652 CFLAGS=${CROSSCFLAGS:-"-g -O2"}
10653 eval CC=\$${wine_arch}_CC
10654 eval ${wine_arch}_CFLAGS=\$CFLAGS
10655 eval ${wine_arch}_LDFLAGS=\$CROSSLDFLAGS
10656 eval "${wine_arch}_EXTRACFLAGS=\"-D__WINE_PE_BUILD -Wall\""
10658 target=""
10659 as_wine_cv_crosscc=`printf "%s\n" "ac_cv_${wine_arch}_crosscc" | $as_tr_sh`
10661 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
10662 printf %s "checking whether $CC works... " >&6; }
10663 if eval test \${$as_wine_cv_crosscc+y}
10664 then :
10665 printf %s "(cached) " >&6
10666 else $as_nop
10667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10668 /* end confdefs.h. */
10671 main (void)
10675 return 0;
10677 _ACEOF
10678 if ac_fn_c_try_compile "$LINENO"
10679 then :
10680 eval "$as_wine_cv_crosscc=yes"
10681 else $as_nop
10682 eval "$as_wine_cv_crosscc=no"
10684 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10686 eval ac_res=\$$as_wine_cv_crosscc
10687 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10688 printf "%s\n" "$ac_res" >&6; }
10689 if eval test \"x\$"$as_wine_cv_crosscc"\" = x"yes"
10690 then :
10691 set x $CC
10692 shift
10693 while test $# -ge 1
10695 case "$1" in
10696 *-gcc) target=`expr "$1" : '\(.*\)-gcc'` ;;
10697 *-clang) target=`expr "$1" : '\(.*\)-clang'` ;;
10698 esac
10699 shift
10700 done
10702 llvm_target=$target
10703 if test -z "$llvm_target"
10704 then
10705 case $wine_arch in
10706 i386) llvm_target=i686-windows ;;
10707 arm) llvm_target=armv7-windows ;;
10708 *) llvm_target=$wine_arch-windows ;;
10709 esac
10711 llvm_extra_cflags="-target $llvm_target -fuse-ld=lld"
10712 case $llvm_target in
10713 *windows) llvm_cflags="-Wl,-subsystem:console -Wl,-WX" ;;
10714 esac
10715 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_$llvm_extra_cflags $llvm_cflags" | $as_tr_sh`
10716 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $llvm_extra_cflags $llvm_cflags" >&5
10717 printf %s "checking whether $CC supports $llvm_extra_cflags $llvm_cflags... " >&6; }
10718 if eval test \${$as_ac_var+y}
10719 then :
10720 printf %s "(cached) " >&6
10721 else $as_nop
10722 ac_wine_try_cflags_saved=$CFLAGS
10723 ac_wine_try_cflags_saved_exeext=$ac_exeext
10724 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs $llvm_extra_cflags $llvm_cflags"
10725 ac_exeext=".exe"
10726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10727 /* end confdefs.h. */
10728 int __cdecl mainCRTStartup(void) { return 0; }
10729 _ACEOF
10730 if ac_fn_c_try_link "$LINENO"
10731 then :
10732 eval "$as_ac_var=yes"
10733 else $as_nop
10734 eval "$as_ac_var=no"
10736 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10737 conftest$ac_exeext conftest.$ac_ext
10738 CFLAGS=$ac_wine_try_cflags_saved
10739 ac_exeext=$ac_wine_try_cflags_saved_exeext
10741 eval ac_res=\$$as_ac_var
10742 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10743 printf "%s\n" "$ac_res" >&6; }
10744 if eval test \"x\$"$as_ac_var"\" = x"yes"
10745 then :
10746 target=$llvm_target
10747 eval "${wine_arch}_DELAYLOADFLAG=\"-Wl,-delayload,\""
10748 as_fn_append ${wine_arch}_EXTRACFLAGS " $llvm_extra_cflags"
10749 CFLAGS="$llvm_extra_cflags $llvm_cflags"
10750 fi }
10751 eval "${wine_arch}_TARGET=\$target"
10755 if test -z "$target"
10756 then
10757 CC=$saved_CC
10758 CFLAGS=$saved_CFLAGS
10759 continue
10761 as_fn_append PE_ARCHS " $wine_arch"
10763 as_wine_cv_crosscc_c99=`printf "%s\n" "ac_cv_${wine_arch}_crosscc_c99" | $as_tr_sh`
10765 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
10766 printf %s "checking for $CC option to enable C99 features... " >&6; }
10767 if eval test \${$as_wine_cv_crosscc_c99+y}
10768 then :
10769 printf %s "(cached) " >&6
10770 else $as_nop
10771 eval "$as_wine_cv_crosscc_c99=no"
10772 for arg in '' '-std=gnu99'
10774 test -z "$arg" || CC="$CC $arg"
10775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10776 /* end confdefs.h. */
10777 $ac_c_conftest_c99_program
10778 _ACEOF
10779 if ac_fn_c_try_compile "$LINENO"
10780 then :
10781 eval "$as_wine_cv_crosscc_c99=\$arg"
10782 else $as_nop
10783 eval "$as_wine_cv_crosscc_c99=no"
10785 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10786 eval CC=\$${wine_arch}_CC
10787 if eval test \"x\$"$as_wine_cv_crosscc_c99"\" = x"no"
10788 then :
10790 else $as_nop
10791 break
10793 done
10796 eval res=\$$as_wine_cv_crosscc_c99
10797 case "x$res" in
10798 x) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
10799 printf "%s\n" "none needed" >&6; } ;;
10800 xno) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
10801 printf "%s\n" "unsupported" >&6; } ;;
10802 x*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $res" >&5
10803 printf "%s\n" "$res" >&6; }
10804 as_fn_append ${wine_arch}_CC " $res" ;;
10805 esac
10808 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-strict-aliasing" | $as_tr_sh`
10809 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-strict-aliasing" >&5
10810 printf %s "checking whether $CC supports -fno-strict-aliasing... " >&6; }
10811 if eval test \${$as_ac_var+y}
10812 then :
10813 printf %s "(cached) " >&6
10814 else $as_nop
10815 ac_wine_try_cflags_saved=$CFLAGS
10816 ac_wine_try_cflags_saved_exeext=$ac_exeext
10817 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -fno-strict-aliasing"
10818 ac_exeext=".exe"
10819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10820 /* end confdefs.h. */
10821 int __cdecl mainCRTStartup(void) { return 0; }
10822 _ACEOF
10823 if ac_fn_c_try_link "$LINENO"
10824 then :
10825 eval "$as_ac_var=yes"
10826 else $as_nop
10827 eval "$as_ac_var=no"
10829 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10830 conftest$ac_exeext conftest.$ac_ext
10831 CFLAGS=$ac_wine_try_cflags_saved
10832 ac_exeext=$ac_wine_try_cflags_saved_exeext
10834 eval ac_res=\$$as_ac_var
10835 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10836 printf "%s\n" "$ac_res" >&6; }
10837 if eval test \"x\$"$as_ac_var"\" = x"yes"
10838 then :
10839 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-strict-aliasing"
10840 fi }
10841 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=unknown-warning-option" | $as_tr_sh`
10842 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=unknown-warning-option" >&5
10843 printf %s "checking whether $CC supports -Werror=unknown-warning-option... " >&6; }
10844 if eval test \${$as_ac_var+y}
10845 then :
10846 printf %s "(cached) " >&6
10847 else $as_nop
10848 ac_wine_try_cflags_saved=$CFLAGS
10849 ac_wine_try_cflags_saved_exeext=$ac_exeext
10850 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror=unknown-warning-option"
10851 ac_exeext=".exe"
10852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10853 /* end confdefs.h. */
10854 int __cdecl mainCRTStartup(void) { return 0; }
10855 _ACEOF
10856 if ac_fn_c_try_link "$LINENO"
10857 then :
10858 eval "$as_ac_var=yes"
10859 else $as_nop
10860 eval "$as_ac_var=no"
10862 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10863 conftest$ac_exeext conftest.$ac_ext
10864 CFLAGS=$ac_wine_try_cflags_saved
10865 ac_exeext=$ac_wine_try_cflags_saved_exeext
10867 eval ac_res=\$$as_ac_var
10868 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10869 printf "%s\n" "$ac_res" >&6; }
10870 if eval test \"x\$"$as_ac_var"\" = x"yes"
10871 then :
10872 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10873 fi }
10874 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=ignored-optimization-argument" | $as_tr_sh`
10875 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=ignored-optimization-argument" >&5
10876 printf %s "checking whether $CC supports -Werror=ignored-optimization-argument... " >&6; }
10877 if eval test \${$as_ac_var+y}
10878 then :
10879 printf %s "(cached) " >&6
10880 else $as_nop
10881 ac_wine_try_cflags_saved=$CFLAGS
10882 ac_wine_try_cflags_saved_exeext=$ac_exeext
10883 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror=ignored-optimization-argument"
10884 ac_exeext=".exe"
10885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10886 /* end confdefs.h. */
10887 int __cdecl mainCRTStartup(void) { return 0; }
10888 _ACEOF
10889 if ac_fn_c_try_link "$LINENO"
10890 then :
10891 eval "$as_ac_var=yes"
10892 else $as_nop
10893 eval "$as_ac_var=no"
10895 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10896 conftest$ac_exeext conftest.$ac_ext
10897 CFLAGS=$ac_wine_try_cflags_saved
10898 ac_exeext=$ac_wine_try_cflags_saved_exeext
10900 eval ac_res=\$$as_ac_var
10901 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10902 printf "%s\n" "$ac_res" >&6; }
10903 if eval test \"x\$"$as_ac_var"\" = x"yes"
10904 then :
10905 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
10906 fi }
10907 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wdeclaration-after-statement" | $as_tr_sh`
10908 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wdeclaration-after-statement" >&5
10909 printf %s "checking whether $CC supports -Wdeclaration-after-statement... " >&6; }
10910 if eval test \${$as_ac_var+y}
10911 then :
10912 printf %s "(cached) " >&6
10913 else $as_nop
10914 ac_wine_try_cflags_saved=$CFLAGS
10915 ac_wine_try_cflags_saved_exeext=$ac_exeext
10916 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wdeclaration-after-statement"
10917 ac_exeext=".exe"
10918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10919 /* end confdefs.h. */
10920 int __cdecl mainCRTStartup(void) { return 0; }
10921 _ACEOF
10922 if ac_fn_c_try_link "$LINENO"
10923 then :
10924 eval "$as_ac_var=yes"
10925 else $as_nop
10926 eval "$as_ac_var=no"
10928 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10929 conftest$ac_exeext conftest.$ac_ext
10930 CFLAGS=$ac_wine_try_cflags_saved
10931 ac_exeext=$ac_wine_try_cflags_saved_exeext
10933 eval ac_res=\$$as_ac_var
10934 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10935 printf "%s\n" "$ac_res" >&6; }
10936 if eval test \"x\$"$as_ac_var"\" = x"yes"
10937 then :
10938 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wdeclaration-after-statement"
10939 fi }
10940 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wempty-body" | $as_tr_sh`
10941 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wempty-body" >&5
10942 printf %s "checking whether $CC supports -Wempty-body... " >&6; }
10943 if eval test \${$as_ac_var+y}
10944 then :
10945 printf %s "(cached) " >&6
10946 else $as_nop
10947 ac_wine_try_cflags_saved=$CFLAGS
10948 ac_wine_try_cflags_saved_exeext=$ac_exeext
10949 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wempty-body"
10950 ac_exeext=".exe"
10951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10952 /* end confdefs.h. */
10953 int __cdecl mainCRTStartup(void) { return 0; }
10954 _ACEOF
10955 if ac_fn_c_try_link "$LINENO"
10956 then :
10957 eval "$as_ac_var=yes"
10958 else $as_nop
10959 eval "$as_ac_var=no"
10961 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10962 conftest$ac_exeext conftest.$ac_ext
10963 CFLAGS=$ac_wine_try_cflags_saved
10964 ac_exeext=$ac_wine_try_cflags_saved_exeext
10966 eval ac_res=\$$as_ac_var
10967 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10968 printf "%s\n" "$ac_res" >&6; }
10969 if eval test \"x\$"$as_ac_var"\" = x"yes"
10970 then :
10971 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wempty-body"
10972 fi }
10973 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wignored-qualifiers" | $as_tr_sh`
10974 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wignored-qualifiers" >&5
10975 printf %s "checking whether $CC supports -Wignored-qualifiers... " >&6; }
10976 if eval test \${$as_ac_var+y}
10977 then :
10978 printf %s "(cached) " >&6
10979 else $as_nop
10980 ac_wine_try_cflags_saved=$CFLAGS
10981 ac_wine_try_cflags_saved_exeext=$ac_exeext
10982 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wignored-qualifiers"
10983 ac_exeext=".exe"
10984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10985 /* end confdefs.h. */
10986 int __cdecl mainCRTStartup(void) { return 0; }
10987 _ACEOF
10988 if ac_fn_c_try_link "$LINENO"
10989 then :
10990 eval "$as_ac_var=yes"
10991 else $as_nop
10992 eval "$as_ac_var=no"
10994 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10995 conftest$ac_exeext conftest.$ac_ext
10996 CFLAGS=$ac_wine_try_cflags_saved
10997 ac_exeext=$ac_wine_try_cflags_saved_exeext
10999 eval ac_res=\$$as_ac_var
11000 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11001 printf "%s\n" "$ac_res" >&6; }
11002 if eval test \"x\$"$as_ac_var"\" = x"yes"
11003 then :
11004 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wignored-qualifiers"
11005 fi }
11006 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Winit-self" | $as_tr_sh`
11007 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Winit-self" >&5
11008 printf %s "checking whether $CC supports -Winit-self... " >&6; }
11009 if eval test \${$as_ac_var+y}
11010 then :
11011 printf %s "(cached) " >&6
11012 else $as_nop
11013 ac_wine_try_cflags_saved=$CFLAGS
11014 ac_wine_try_cflags_saved_exeext=$ac_exeext
11015 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Winit-self"
11016 ac_exeext=".exe"
11017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11018 /* end confdefs.h. */
11019 int __cdecl mainCRTStartup(void) { return 0; }
11020 _ACEOF
11021 if ac_fn_c_try_link "$LINENO"
11022 then :
11023 eval "$as_ac_var=yes"
11024 else $as_nop
11025 eval "$as_ac_var=no"
11027 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11028 conftest$ac_exeext conftest.$ac_ext
11029 CFLAGS=$ac_wine_try_cflags_saved
11030 ac_exeext=$ac_wine_try_cflags_saved_exeext
11032 eval ac_res=\$$as_ac_var
11033 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11034 printf "%s\n" "$ac_res" >&6; }
11035 if eval test \"x\$"$as_ac_var"\" = x"yes"
11036 then :
11037 as_fn_append ${wine_arch}_EXTRACFLAGS " -Winit-self"
11038 fi }
11039 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpacked-not-aligned" | $as_tr_sh`
11040 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpacked-not-aligned" >&5
11041 printf %s "checking whether $CC supports -Wpacked-not-aligned... " >&6; }
11042 if eval test \${$as_ac_var+y}
11043 then :
11044 printf %s "(cached) " >&6
11045 else $as_nop
11046 ac_wine_try_cflags_saved=$CFLAGS
11047 ac_wine_try_cflags_saved_exeext=$ac_exeext
11048 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpacked-not-aligned"
11049 ac_exeext=".exe"
11050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11051 /* end confdefs.h. */
11052 int __cdecl mainCRTStartup(void) { return 0; }
11053 _ACEOF
11054 if ac_fn_c_try_link "$LINENO"
11055 then :
11056 eval "$as_ac_var=yes"
11057 else $as_nop
11058 eval "$as_ac_var=no"
11060 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11061 conftest$ac_exeext conftest.$ac_ext
11062 CFLAGS=$ac_wine_try_cflags_saved
11063 ac_exeext=$ac_wine_try_cflags_saved_exeext
11065 eval ac_res=\$$as_ac_var
11066 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11067 printf "%s\n" "$ac_res" >&6; }
11068 if eval test \"x\$"$as_ac_var"\" = x"yes"
11069 then :
11070 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-packed-not-aligned"
11071 fi }
11072 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpragma-pack" | $as_tr_sh`
11073 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpragma-pack" >&5
11074 printf %s "checking whether $CC supports -Wpragma-pack... " >&6; }
11075 if eval test \${$as_ac_var+y}
11076 then :
11077 printf %s "(cached) " >&6
11078 else $as_nop
11079 ac_wine_try_cflags_saved=$CFLAGS
11080 ac_wine_try_cflags_saved_exeext=$ac_exeext
11081 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpragma-pack"
11082 ac_exeext=".exe"
11083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11084 /* end confdefs.h. */
11085 int __cdecl mainCRTStartup(void) { return 0; }
11086 _ACEOF
11087 if ac_fn_c_try_link "$LINENO"
11088 then :
11089 eval "$as_ac_var=yes"
11090 else $as_nop
11091 eval "$as_ac_var=no"
11093 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11094 conftest$ac_exeext conftest.$ac_ext
11095 CFLAGS=$ac_wine_try_cflags_saved
11096 ac_exeext=$ac_wine_try_cflags_saved_exeext
11098 eval ac_res=\$$as_ac_var
11099 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11100 printf "%s\n" "$ac_res" >&6; }
11101 if eval test \"x\$"$as_ac_var"\" = x"yes"
11102 then :
11103 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-pragma-pack"
11104 fi }
11105 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wshift-overflow=2" | $as_tr_sh`
11106 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wshift-overflow=2" >&5
11107 printf %s "checking whether $CC supports -Wshift-overflow=2... " >&6; }
11108 if eval test \${$as_ac_var+y}
11109 then :
11110 printf %s "(cached) " >&6
11111 else $as_nop
11112 ac_wine_try_cflags_saved=$CFLAGS
11113 ac_wine_try_cflags_saved_exeext=$ac_exeext
11114 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wshift-overflow=2"
11115 ac_exeext=".exe"
11116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11117 /* end confdefs.h. */
11118 int __cdecl mainCRTStartup(void) { return 0; }
11119 _ACEOF
11120 if ac_fn_c_try_link "$LINENO"
11121 then :
11122 eval "$as_ac_var=yes"
11123 else $as_nop
11124 eval "$as_ac_var=no"
11126 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11127 conftest$ac_exeext conftest.$ac_ext
11128 CFLAGS=$ac_wine_try_cflags_saved
11129 ac_exeext=$ac_wine_try_cflags_saved_exeext
11131 eval ac_res=\$$as_ac_var
11132 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11133 printf "%s\n" "$ac_res" >&6; }
11134 if eval test \"x\$"$as_ac_var"\" = x"yes"
11135 then :
11136 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wshift-overflow=2"
11137 fi }
11138 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wstrict-prototypes" | $as_tr_sh`
11139 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wstrict-prototypes" >&5
11140 printf %s "checking whether $CC supports -Wstrict-prototypes... " >&6; }
11141 if eval test \${$as_ac_var+y}
11142 then :
11143 printf %s "(cached) " >&6
11144 else $as_nop
11145 ac_wine_try_cflags_saved=$CFLAGS
11146 ac_wine_try_cflags_saved_exeext=$ac_exeext
11147 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wstrict-prototypes"
11148 ac_exeext=".exe"
11149 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11150 /* end confdefs.h. */
11151 int __cdecl mainCRTStartup(void) { return 0; }
11152 _ACEOF
11153 if ac_fn_c_try_link "$LINENO"
11154 then :
11155 eval "$as_ac_var=yes"
11156 else $as_nop
11157 eval "$as_ac_var=no"
11159 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11160 conftest$ac_exeext conftest.$ac_ext
11161 CFLAGS=$ac_wine_try_cflags_saved
11162 ac_exeext=$ac_wine_try_cflags_saved_exeext
11164 eval ac_res=\$$as_ac_var
11165 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11166 printf "%s\n" "$ac_res" >&6; }
11167 if eval test \"x\$"$as_ac_var"\" = x"yes"
11168 then :
11169 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wstrict-prototypes"
11170 fi }
11171 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wtype-limits" | $as_tr_sh`
11172 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wtype-limits" >&5
11173 printf %s "checking whether $CC supports -Wtype-limits... " >&6; }
11174 if eval test \${$as_ac_var+y}
11175 then :
11176 printf %s "(cached) " >&6
11177 else $as_nop
11178 ac_wine_try_cflags_saved=$CFLAGS
11179 ac_wine_try_cflags_saved_exeext=$ac_exeext
11180 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wtype-limits"
11181 ac_exeext=".exe"
11182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11183 /* end confdefs.h. */
11184 int __cdecl mainCRTStartup(void) { return 0; }
11185 _ACEOF
11186 if ac_fn_c_try_link "$LINENO"
11187 then :
11188 eval "$as_ac_var=yes"
11189 else $as_nop
11190 eval "$as_ac_var=no"
11192 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11193 conftest$ac_exeext conftest.$ac_ext
11194 CFLAGS=$ac_wine_try_cflags_saved
11195 ac_exeext=$ac_wine_try_cflags_saved_exeext
11197 eval ac_res=\$$as_ac_var
11198 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11199 printf "%s\n" "$ac_res" >&6; }
11200 if eval test \"x\$"$as_ac_var"\" = x"yes"
11201 then :
11202 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wtype-limits"
11203 fi }
11204 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wunused-but-set-parameter" | $as_tr_sh`
11205 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wunused-but-set-parameter" >&5
11206 printf %s "checking whether $CC supports -Wunused-but-set-parameter... " >&6; }
11207 if eval test \${$as_ac_var+y}
11208 then :
11209 printf %s "(cached) " >&6
11210 else $as_nop
11211 ac_wine_try_cflags_saved=$CFLAGS
11212 ac_wine_try_cflags_saved_exeext=$ac_exeext
11213 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wunused-but-set-parameter"
11214 ac_exeext=".exe"
11215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11216 /* end confdefs.h. */
11217 int __cdecl mainCRTStartup(void) { return 0; }
11218 _ACEOF
11219 if ac_fn_c_try_link "$LINENO"
11220 then :
11221 eval "$as_ac_var=yes"
11222 else $as_nop
11223 eval "$as_ac_var=no"
11225 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11226 conftest$ac_exeext conftest.$ac_ext
11227 CFLAGS=$ac_wine_try_cflags_saved
11228 ac_exeext=$ac_wine_try_cflags_saved_exeext
11230 eval ac_res=\$$as_ac_var
11231 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11232 printf "%s\n" "$ac_res" >&6; }
11233 if eval test \"x\$"$as_ac_var"\" = x"yes"
11234 then :
11235 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wunused-but-set-parameter"
11236 fi }
11237 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wvla" | $as_tr_sh`
11238 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wvla" >&5
11239 printf %s "checking whether $CC supports -Wvla... " >&6; }
11240 if eval test \${$as_ac_var+y}
11241 then :
11242 printf %s "(cached) " >&6
11243 else $as_nop
11244 ac_wine_try_cflags_saved=$CFLAGS
11245 ac_wine_try_cflags_saved_exeext=$ac_exeext
11246 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wvla"
11247 ac_exeext=".exe"
11248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11249 /* end confdefs.h. */
11250 int __cdecl mainCRTStartup(void) { return 0; }
11251 _ACEOF
11252 if ac_fn_c_try_link "$LINENO"
11253 then :
11254 eval "$as_ac_var=yes"
11255 else $as_nop
11256 eval "$as_ac_var=no"
11258 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11259 conftest$ac_exeext conftest.$ac_ext
11260 CFLAGS=$ac_wine_try_cflags_saved
11261 ac_exeext=$ac_wine_try_cflags_saved_exeext
11263 eval ac_res=\$$as_ac_var
11264 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11265 printf "%s\n" "$ac_res" >&6; }
11266 if eval test \"x\$"$as_ac_var"\" = x"yes"
11267 then :
11268 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wvla"
11269 fi }
11270 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wwrite-strings" | $as_tr_sh`
11271 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wwrite-strings" >&5
11272 printf %s "checking whether $CC supports -Wwrite-strings... " >&6; }
11273 if eval test \${$as_ac_var+y}
11274 then :
11275 printf %s "(cached) " >&6
11276 else $as_nop
11277 ac_wine_try_cflags_saved=$CFLAGS
11278 ac_wine_try_cflags_saved_exeext=$ac_exeext
11279 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wwrite-strings"
11280 ac_exeext=".exe"
11281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11282 /* end confdefs.h. */
11283 int __cdecl mainCRTStartup(void) { return 0; }
11284 _ACEOF
11285 if ac_fn_c_try_link "$LINENO"
11286 then :
11287 eval "$as_ac_var=yes"
11288 else $as_nop
11289 eval "$as_ac_var=no"
11291 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11292 conftest$ac_exeext conftest.$ac_ext
11293 CFLAGS=$ac_wine_try_cflags_saved
11294 ac_exeext=$ac_wine_try_cflags_saved_exeext
11296 eval ac_res=\$$as_ac_var
11297 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11298 printf "%s\n" "$ac_res" >&6; }
11299 if eval test \"x\$"$as_ac_var"\" = x"yes"
11300 then :
11301 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wwrite-strings"
11302 fi }
11303 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpointer-arith" | $as_tr_sh`
11304 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpointer-arith" >&5
11305 printf %s "checking whether $CC supports -Wpointer-arith... " >&6; }
11306 if eval test \${$as_ac_var+y}
11307 then :
11308 printf %s "(cached) " >&6
11309 else $as_nop
11310 ac_wine_try_cflags_saved=$CFLAGS
11311 ac_wine_try_cflags_saved_exeext=$ac_exeext
11312 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpointer-arith"
11313 ac_exeext=".exe"
11314 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11315 /* end confdefs.h. */
11316 int __cdecl mainCRTStartup(void) { return 0; }
11317 _ACEOF
11318 if ac_fn_c_try_link "$LINENO"
11319 then :
11320 eval "$as_ac_var=yes"
11321 else $as_nop
11322 eval "$as_ac_var=no"
11324 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11325 conftest$ac_exeext conftest.$ac_ext
11326 CFLAGS=$ac_wine_try_cflags_saved
11327 ac_exeext=$ac_wine_try_cflags_saved_exeext
11329 eval ac_res=\$$as_ac_var
11330 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11331 printf "%s\n" "$ac_res" >&6; }
11332 if eval test \"x\$"$as_ac_var"\" = x"yes"
11333 then :
11334 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wpointer-arith"
11335 fi }
11336 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wlogical-op" | $as_tr_sh`
11337 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wlogical-op" >&5
11338 printf %s "checking whether $CC supports -Wlogical-op... " >&6; }
11339 if eval test \${$as_ac_var+y}
11340 then :
11341 printf %s "(cached) " >&6
11342 else $as_nop
11343 ac_wine_try_cflags_saved=$CFLAGS
11344 ac_wine_try_cflags_saved_exeext=$ac_exeext
11345 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wlogical-op"
11346 ac_exeext=".exe"
11347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11348 /* end confdefs.h. */
11349 int __cdecl mainCRTStartup(void) { return 0; }
11350 _ACEOF
11351 if ac_fn_c_try_link "$LINENO"
11352 then :
11353 eval "$as_ac_var=yes"
11354 else $as_nop
11355 eval "$as_ac_var=no"
11357 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11358 conftest$ac_exeext conftest.$ac_ext
11359 CFLAGS=$ac_wine_try_cflags_saved
11360 ac_exeext=$ac_wine_try_cflags_saved_exeext
11362 eval ac_res=\$$as_ac_var
11363 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11364 printf "%s\n" "$ac_res" >&6; }
11365 if eval test \"x\$"$as_ac_var"\" = x"yes"
11366 then :
11367 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wlogical-op"
11368 fi }
11369 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wabsolute-value" | $as_tr_sh`
11370 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wabsolute-value" >&5
11371 printf %s "checking whether $CC supports -Wabsolute-value... " >&6; }
11372 if eval test \${$as_ac_var+y}
11373 then :
11374 printf %s "(cached) " >&6
11375 else $as_nop
11376 ac_wine_try_cflags_saved=$CFLAGS
11377 ac_wine_try_cflags_saved_exeext=$ac_exeext
11378 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wabsolute-value"
11379 ac_exeext=".exe"
11380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11381 /* end confdefs.h. */
11382 int __cdecl mainCRTStartup(void) { return 0; }
11383 _ACEOF
11384 if ac_fn_c_try_link "$LINENO"
11385 then :
11386 eval "$as_ac_var=yes"
11387 else $as_nop
11388 eval "$as_ac_var=no"
11390 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11391 conftest$ac_exeext conftest.$ac_ext
11392 CFLAGS=$ac_wine_try_cflags_saved
11393 ac_exeext=$ac_wine_try_cflags_saved_exeext
11395 eval ac_res=\$$as_ac_var
11396 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11397 printf "%s\n" "$ac_res" >&6; }
11398 if eval test \"x\$"$as_ac_var"\" = x"yes"
11399 then :
11400 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wabsolute-value"
11401 fi }
11403 case $wine_arch in
11404 i386) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-omit-frame-pointer" | $as_tr_sh`
11405 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-omit-frame-pointer" >&5
11406 printf %s "checking whether $CC supports -fno-omit-frame-pointer... " >&6; }
11407 if eval test \${$as_ac_var+y}
11408 then :
11409 printf %s "(cached) " >&6
11410 else $as_nop
11411 ac_wine_try_cflags_saved=$CFLAGS
11412 ac_wine_try_cflags_saved_exeext=$ac_exeext
11413 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -fno-omit-frame-pointer"
11414 ac_exeext=".exe"
11415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11416 /* end confdefs.h. */
11417 int __cdecl mainCRTStartup(void) { return 0; }
11418 _ACEOF
11419 if ac_fn_c_try_link "$LINENO"
11420 then :
11421 eval "$as_ac_var=yes"
11422 else $as_nop
11423 eval "$as_ac_var=no"
11425 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11426 conftest$ac_exeext conftest.$ac_ext
11427 CFLAGS=$ac_wine_try_cflags_saved
11428 ac_exeext=$ac_wine_try_cflags_saved_exeext
11430 eval ac_res=\$$as_ac_var
11431 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11432 printf "%s\n" "$ac_res" >&6; }
11433 if eval test \"x\$"$as_ac_var"\" = x"yes"
11434 then :
11435 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-omit-frame-pointer"
11436 fi }
11437 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--disable-stdcall-fixup" | $as_tr_sh`
11438 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--disable-stdcall-fixup" >&5
11439 printf %s "checking whether $CC supports -Wl,--disable-stdcall-fixup... " >&6; }
11440 if eval test \${$as_ac_var+y}
11441 then :
11442 printf %s "(cached) " >&6
11443 else $as_nop
11444 ac_wine_try_cflags_saved=$CFLAGS
11445 ac_wine_try_cflags_saved_exeext=$ac_exeext
11446 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wl,--disable-stdcall-fixup"
11447 ac_exeext=".exe"
11448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11449 /* end confdefs.h. */
11450 int __cdecl mainCRTStartup(void) { return 0; }
11451 _ACEOF
11452 if ac_fn_c_try_link "$LINENO"
11453 then :
11454 eval "$as_ac_var=yes"
11455 else $as_nop
11456 eval "$as_ac_var=no"
11458 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11459 conftest$ac_exeext conftest.$ac_ext
11460 CFLAGS=$ac_wine_try_cflags_saved
11461 ac_exeext=$ac_wine_try_cflags_saved_exeext
11463 eval ac_res=\$$as_ac_var
11464 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11465 printf "%s\n" "$ac_res" >&6; }
11466 if eval test \"x\$"$as_ac_var"\" = x"yes"
11467 then :
11468 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--disable-stdcall-fixup"
11469 fi } ;;
11470 x86_64) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wformat-overflow" | $as_tr_sh`
11471 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wformat-overflow" >&5
11472 printf %s "checking whether $CC supports -Wformat-overflow... " >&6; }
11473 if eval test \${$as_ac_var+y}
11474 then :
11475 printf %s "(cached) " >&6
11476 else $as_nop
11477 ac_wine_try_cflags_saved=$CFLAGS
11478 ac_wine_try_cflags_saved_exeext=$ac_exeext
11479 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wformat-overflow"
11480 ac_exeext=".exe"
11481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11482 /* end confdefs.h. */
11483 int __cdecl mainCRTStartup(void) { return 0; }
11484 _ACEOF
11485 if ac_fn_c_try_link "$LINENO"
11486 then :
11487 eval "$as_ac_var=yes"
11488 else $as_nop
11489 eval "$as_ac_var=no"
11491 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11492 conftest$ac_exeext conftest.$ac_ext
11493 CFLAGS=$ac_wine_try_cflags_saved
11494 ac_exeext=$ac_wine_try_cflags_saved_exeext
11496 eval ac_res=\$$as_ac_var
11497 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11498 printf "%s\n" "$ac_res" >&6; }
11499 if eval test \"x\$"$as_ac_var"\" = x"yes"
11500 then :
11501 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wformat-overflow"
11502 fi }
11503 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wnonnull" | $as_tr_sh`
11504 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wnonnull" >&5
11505 printf %s "checking whether $CC supports -Wnonnull... " >&6; }
11506 if eval test \${$as_ac_var+y}
11507 then :
11508 printf %s "(cached) " >&6
11509 else $as_nop
11510 ac_wine_try_cflags_saved=$CFLAGS
11511 ac_wine_try_cflags_saved_exeext=$ac_exeext
11512 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wnonnull"
11513 ac_exeext=".exe"
11514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11515 /* end confdefs.h. */
11516 int __cdecl mainCRTStartup(void) { return 0; }
11517 _ACEOF
11518 if ac_fn_c_try_link "$LINENO"
11519 then :
11520 eval "$as_ac_var=yes"
11521 else $as_nop
11522 eval "$as_ac_var=no"
11524 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11525 conftest$ac_exeext conftest.$ac_ext
11526 CFLAGS=$ac_wine_try_cflags_saved
11527 ac_exeext=$ac_wine_try_cflags_saved_exeext
11529 eval ac_res=\$$as_ac_var
11530 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11531 printf "%s\n" "$ac_res" >&6; }
11532 if eval test \"x\$"$as_ac_var"\" = x"yes"
11533 then :
11534 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wnonnull"
11535 fi }
11536 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-mcx16" | $as_tr_sh`
11537 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mcx16" >&5
11538 printf %s "checking whether $CC supports -mcx16... " >&6; }
11539 if eval test \${$as_ac_var+y}
11540 then :
11541 printf %s "(cached) " >&6
11542 else $as_nop
11543 ac_wine_try_cflags_saved=$CFLAGS
11544 ac_wine_try_cflags_saved_exeext=$ac_exeext
11545 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -mcx16"
11546 ac_exeext=".exe"
11547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11548 /* end confdefs.h. */
11549 int __cdecl mainCRTStartup(void) { return 0; }
11550 _ACEOF
11551 if ac_fn_c_try_link "$LINENO"
11552 then :
11553 eval "$as_ac_var=yes"
11554 else $as_nop
11555 eval "$as_ac_var=no"
11557 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11558 conftest$ac_exeext conftest.$ac_ext
11559 CFLAGS=$ac_wine_try_cflags_saved
11560 ac_exeext=$ac_wine_try_cflags_saved_exeext
11562 eval ac_res=\$$as_ac_var
11563 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11564 printf "%s\n" "$ac_res" >&6; }
11565 if eval test \"x\$"$as_ac_var"\" = x"yes"
11566 then :
11567 as_fn_append ${wine_arch}_EXTRACFLAGS " -mcx16"
11568 fi } ;;
11569 esac
11571 wine_crossdebug=$CROSSDEBUG
11572 if test -z "$wine_crossdebug"
11573 then
11574 for ac_flag in $CFLAGS; do
11575 case $ac_flag in
11576 -gdwarf*) wine_crossdebug=dwarf ;;
11577 -gcodeview) wine_crossdebug=pdb ;;
11578 -g) wine_crossdebug=${wine_crossdebug:-dwarf} ;;
11579 esac
11580 done
11583 ac_debug_format_seen=""
11584 for ac_flag in $CFLAGS; do
11585 case $ac_flag in
11586 -gdwarf*|-gcodeview) ac_debug_format_seen=$ac_flag ;;
11587 esac
11588 done
11589 if test "x$ac_debug_format_seen" = x
11590 then
11591 case $wine_crossdebug in
11592 *dwarf) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gdwarf-4" | $as_tr_sh`
11593 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gdwarf-4" >&5
11594 printf %s "checking whether $CC supports -gdwarf-4... " >&6; }
11595 if eval test \${$as_ac_var+y}
11596 then :
11597 printf %s "(cached) " >&6
11598 else $as_nop
11599 ac_wine_try_cflags_saved=$CFLAGS
11600 ac_wine_try_cflags_saved_exeext=$ac_exeext
11601 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -gdwarf-4"
11602 ac_exeext=".exe"
11603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11604 /* end confdefs.h. */
11605 int __cdecl mainCRTStartup(void) { return 0; }
11606 _ACEOF
11607 if ac_fn_c_try_link "$LINENO"
11608 then :
11609 eval "$as_ac_var=yes"
11610 else $as_nop
11611 eval "$as_ac_var=no"
11613 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11614 conftest$ac_exeext conftest.$ac_ext
11615 CFLAGS=$ac_wine_try_cflags_saved
11616 ac_exeext=$ac_wine_try_cflags_saved_exeext
11618 eval ac_res=\$$as_ac_var
11619 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11620 printf "%s\n" "$ac_res" >&6; }
11621 if eval test \"x\$"$as_ac_var"\" = x"yes"
11622 then :
11623 as_fn_append ${wine_arch}_EXTRACFLAGS " -gdwarf-4"
11624 fi } ;;
11625 pdb) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gcodeview" | $as_tr_sh`
11626 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gcodeview" >&5
11627 printf %s "checking whether $CC supports -gcodeview... " >&6; }
11628 if eval test \${$as_ac_var+y}
11629 then :
11630 printf %s "(cached) " >&6
11631 else $as_nop
11632 ac_wine_try_cflags_saved=$CFLAGS
11633 ac_wine_try_cflags_saved_exeext=$ac_exeext
11634 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -gcodeview"
11635 ac_exeext=".exe"
11636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11637 /* end confdefs.h. */
11638 int __cdecl mainCRTStartup(void) { return 0; }
11639 _ACEOF
11640 if ac_fn_c_try_link "$LINENO"
11641 then :
11642 eval "$as_ac_var=yes"
11643 else $as_nop
11644 eval "$as_ac_var=no"
11646 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11647 conftest$ac_exeext conftest.$ac_ext
11648 CFLAGS=$ac_wine_try_cflags_saved
11649 ac_exeext=$ac_wine_try_cflags_saved_exeext
11651 eval ac_res=\$$as_ac_var
11652 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11653 printf "%s\n" "$ac_res" >&6; }
11654 if eval test \"x\$"$as_ac_var"\" = x"yes"
11655 then :
11656 as_fn_append ${wine_arch}_EXTRACFLAGS " -gcodeview"
11657 fi } ;;
11658 esac
11660 eval "${wine_arch}_DEBUG=\$wine_crossdebug"
11662 test "x$enable_werror" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror" | $as_tr_sh`
11663 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror" >&5
11664 printf %s "checking whether $CC supports -Werror... " >&6; }
11665 if eval test \${$as_ac_var+y}
11666 then :
11667 printf %s "(cached) " >&6
11668 else $as_nop
11669 ac_wine_try_cflags_saved=$CFLAGS
11670 ac_wine_try_cflags_saved_exeext=$ac_exeext
11671 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror"
11672 ac_exeext=".exe"
11673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11674 /* end confdefs.h. */
11675 int __cdecl mainCRTStartup(void) { return 0; }
11676 _ACEOF
11677 if ac_fn_c_try_link "$LINENO"
11678 then :
11679 eval "$as_ac_var=yes"
11680 else $as_nop
11681 eval "$as_ac_var=no"
11683 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11684 conftest$ac_exeext conftest.$ac_ext
11685 CFLAGS=$ac_wine_try_cflags_saved
11686 ac_exeext=$ac_wine_try_cflags_saved_exeext
11688 eval ac_res=\$$as_ac_var
11689 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11690 printf "%s\n" "$ac_res" >&6; }
11691 if eval test \"x\$"$as_ac_var"\" = x"yes"
11692 then :
11693 as_fn_append ${wine_arch}_EXTRACFLAGS " -Werror"
11694 fi }
11695 test "x$enable_build_id" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--build-id" | $as_tr_sh`
11696 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--build-id" >&5
11697 printf %s "checking whether $CC supports -Wl,--build-id... " >&6; }
11698 if eval test \${$as_ac_var+y}
11699 then :
11700 printf %s "(cached) " >&6
11701 else $as_nop
11702 ac_wine_try_cflags_saved=$CFLAGS
11703 ac_wine_try_cflags_saved_exeext=$ac_exeext
11704 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wl,--build-id"
11705 ac_exeext=".exe"
11706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11707 /* end confdefs.h. */
11708 int __cdecl mainCRTStartup(void) { return 0; }
11709 _ACEOF
11710 if ac_fn_c_try_link "$LINENO"
11711 then :
11712 eval "$as_ac_var=yes"
11713 else $as_nop
11714 eval "$as_ac_var=no"
11716 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11717 conftest$ac_exeext conftest.$ac_ext
11718 CFLAGS=$ac_wine_try_cflags_saved
11719 ac_exeext=$ac_wine_try_cflags_saved_exeext
11721 eval ac_res=\$$as_ac_var
11722 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11723 printf "%s\n" "$ac_res" >&6; }
11724 if eval test \"x\$"$as_ac_var"\" = x"yes"
11725 then :
11726 as_fn_append ${wine_arch}_CFLAGS " -Wl,--build-id"
11727 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--build-id"
11728 fi }
11730 CC=$saved_CC
11731 CFLAGS=$saved_CFLAGS
11732 done
11734 if test $HOST_ARCH = aarch64 -a "x$PE_ARCHS" = x
11735 then
11736 as_fn_error $? "PE cross-compilation is required for ARM64, please install clang/llvm-dlltool/lld, or llvm-mingw." "$LINENO" 5
11739 if test "x$PE_ARCHS" = "x"
11740 then :
11741 case "x$with_mingw" in
11742 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
11743 xno) ;;
11744 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
11745 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
11746 esac
11751 if test "x$with_system_dllpath" != "x" -a -n "$PE_ARCHS"
11752 then
11753 case "$host_cpu" in
11754 i[3456789]86*)
11755 ac_prefix_list="i686-w64-mingw32-pkg-config i586-w64-mingw32-pkg-config i486-w64-mingw32-pkg-config i386-w64-mingw32-pkg-config " ;;
11757 ac_prefix_list="$host_cpu-w64-mingw32-pkg-config" ;;
11758 esac
11759 for ac_prog in $ac_prefix_list
11761 # Extract the first word of "$ac_prog", so it can be a program name with args.
11762 set dummy $ac_prog; ac_word=$2
11763 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11764 printf %s "checking for $ac_word... " >&6; }
11765 if test ${ac_cv_prog_MINGW_PKG_CONFIG+y}
11766 then :
11767 printf %s "(cached) " >&6
11768 else $as_nop
11769 if test -n "$MINGW_PKG_CONFIG"; then
11770 ac_cv_prog_MINGW_PKG_CONFIG="$MINGW_PKG_CONFIG" # Let the user override the test.
11771 else
11772 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11773 for as_dir in $PATH
11775 IFS=$as_save_IFS
11776 case $as_dir in #(((
11777 '') as_dir=./ ;;
11778 */) ;;
11779 *) as_dir=$as_dir/ ;;
11780 esac
11781 for ac_exec_ext in '' $ac_executable_extensions; do
11782 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
11783 ac_cv_prog_MINGW_PKG_CONFIG="$ac_prog"
11784 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11785 break 2
11787 done
11788 done
11789 IFS=$as_save_IFS
11793 MINGW_PKG_CONFIG=$ac_cv_prog_MINGW_PKG_CONFIG
11794 if test -n "$MINGW_PKG_CONFIG"; then
11795 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MINGW_PKG_CONFIG" >&5
11796 printf "%s\n" "$MINGW_PKG_CONFIG" >&6; }
11797 else
11798 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11799 printf "%s\n" "no" >&6; }
11803 test -n "$MINGW_PKG_CONFIG" && break
11804 done
11805 test -n "$MINGW_PKG_CONFIG" || MINGW_PKG_CONFIG="false"
11807 if ${FAUDIO_PE_CFLAGS:+false} :
11808 then :
11809 if test ${MINGW_PKG_CONFIG+y}
11810 then :
11811 FAUDIO_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags FAudio 2>/dev/null`
11814 if ${FAUDIO_PE_LIBS:+false} :
11815 then :
11816 if test ${MINGW_PKG_CONFIG+y}
11817 then :
11818 FAUDIO_PE_LIBS=`$MINGW_PKG_CONFIG --libs FAudio 2>/dev/null`
11821 FAUDIO_PE_LIBS=${FAUDIO_PE_LIBS:-"-lFAudio"}
11822 ac_save_CPPFLAGS=$CPPFLAGS
11823 CPPFLAGS="$CPPFLAGS $FAUDIO_PE_CFLAGS"
11824 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW FAudio.h" >&5
11825 printf %s "checking for MinGW FAudio.h... " >&6; }
11826 if test ${ac_cv_mingw_header_FAudio_h+y}
11827 then :
11828 printf %s "(cached) " >&6
11829 else $as_nop
11830 ac_wine_check_headers_saved_cc=$CC
11831 ac_wine_check_headers_saved_exeext=$ac_exeext
11832 eval CC=\$${wine_arch}_CC
11833 ac_exeext=".exe"
11834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11835 /* end confdefs.h. */
11837 #include <FAudio.h>
11839 main (void)
11843 return 0;
11845 _ACEOF
11846 if ac_fn_c_try_compile "$LINENO"
11847 then :
11848 ac_cv_mingw_header_FAudio_h=yes
11849 else $as_nop
11850 ac_cv_mingw_header_FAudio_h=no
11852 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11853 CC=$ac_wine_check_headers_saved_cc
11854 ac_exeext=$ac_wine_check_headers_saved_exeext
11856 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_FAudio_h" >&5
11857 printf "%s\n" "$ac_cv_mingw_header_FAudio_h" >&6; }
11858 if test "x$ac_cv_mingw_header_FAudio_h" = xyes
11859 then :
11860 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for FAudio_CommitOperationSet in MinGW -lFAudio" >&5
11861 printf %s "checking for FAudio_CommitOperationSet in MinGW -lFAudio... " >&6; }
11862 if test ${ac_cv_mingw_lib_FAudio+y}
11863 then :
11864 printf %s "(cached) " >&6
11865 else $as_nop
11866 ac_wine_check_headers_saved_cc=$CC
11867 ac_wine_check_headers_saved_exeext=$ac_exeext
11868 ac_wine_check_headers_saved_libs=$LIBS
11869 eval CC=\$${wine_arch}_CC
11870 ac_exeext=".exe"
11871 LIBS="-lFAudio $FAUDIO_PE_LIBS $LIBS"
11872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11873 /* end confdefs.h. */
11875 /* Override any GCC internal prototype to avoid an error.
11876 Use char because int might match the return type of a GCC
11877 builtin and then its argument prototype would still apply. */
11878 char FAudio_CommitOperationSet ();
11880 main (void)
11882 return FAudio_CommitOperationSet ();
11884 return 0;
11886 _ACEOF
11887 if ac_fn_c_try_link "$LINENO"
11888 then :
11889 ac_cv_mingw_lib_FAudio=yes
11890 else $as_nop
11891 ac_cv_mingw_lib_FAudio=no
11893 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11894 conftest$ac_exeext conftest.$ac_ext
11895 CC=$ac_wine_check_headers_saved_cc
11896 ac_exeext=$ac_wine_check_headers_saved_exeext
11897 LIBS=$ac_wine_check_headers_saved_libs
11899 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_FAudio" >&5
11900 printf "%s\n" "$ac_cv_mingw_lib_FAudio" >&6; }
11901 if test "x$ac_cv_mingw_lib_FAudio" = xyes
11902 then :
11904 else $as_nop
11905 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
11907 else $as_nop
11908 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
11910 CPPFLAGS=$ac_save_CPPFLAGS
11912 if test "x$FAUDIO_PE_LIBS" = "x"
11913 then
11914 as_fn_append wine_notices "|FAudio ${notice_platform}MinGW development files not found (or too old); using bundled version."
11917 if ${JPEG_PE_CFLAGS:+false} :
11918 then :
11919 if test ${MINGW_PKG_CONFIG+y}
11920 then :
11921 JPEG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libjpeg 2>/dev/null`
11924 if ${JPEG_PE_LIBS:+false} :
11925 then :
11926 if test ${MINGW_PKG_CONFIG+y}
11927 then :
11928 JPEG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libjpeg 2>/dev/null`
11932 ac_save_CPPFLAGS=$CPPFLAGS
11933 CPPFLAGS="$CPPFLAGS $JPEG_PE_CFLAGS"
11934 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW jpeglib.h" >&5
11935 printf %s "checking for MinGW jpeglib.h... " >&6; }
11936 if test ${ac_cv_mingw_header_jpeglib_h+y}
11937 then :
11938 printf %s "(cached) " >&6
11939 else $as_nop
11940 ac_wine_check_headers_saved_cc=$CC
11941 ac_wine_check_headers_saved_exeext=$ac_exeext
11942 eval CC=\$${wine_arch}_CC
11943 ac_exeext=".exe"
11944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11945 /* end confdefs.h. */
11946 #include <stddef.h>
11947 #include <stdio.h>
11948 #include <jpeglib.h>
11950 main (void)
11954 return 0;
11956 _ACEOF
11957 if ac_fn_c_try_compile "$LINENO"
11958 then :
11959 ac_cv_mingw_header_jpeglib_h=yes
11960 else $as_nop
11961 ac_cv_mingw_header_jpeglib_h=no
11963 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11964 CC=$ac_wine_check_headers_saved_cc
11965 ac_exeext=$ac_wine_check_headers_saved_exeext
11967 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_jpeglib_h" >&5
11968 printf "%s\n" "$ac_cv_mingw_header_jpeglib_h" >&6; }
11969 if test "x$ac_cv_mingw_header_jpeglib_h" = xyes
11970 then :
11971 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for jpeg_start_decompress in MinGW -ljpeg" >&5
11972 printf %s "checking for jpeg_start_decompress in MinGW -ljpeg... " >&6; }
11973 if test ${ac_cv_mingw_lib_jpeg+y}
11974 then :
11975 printf %s "(cached) " >&6
11976 else $as_nop
11977 ac_wine_check_headers_saved_cc=$CC
11978 ac_wine_check_headers_saved_exeext=$ac_exeext
11979 ac_wine_check_headers_saved_libs=$LIBS
11980 eval CC=\$${wine_arch}_CC
11981 ac_exeext=".exe"
11982 LIBS="-ljpeg $JPEG_PE_LIBS $LIBS"
11983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11984 /* end confdefs.h. */
11986 /* Override any GCC internal prototype to avoid an error.
11987 Use char because int might match the return type of a GCC
11988 builtin and then its argument prototype would still apply. */
11989 char jpeg_start_decompress ();
11991 main (void)
11993 return jpeg_start_decompress ();
11995 return 0;
11997 _ACEOF
11998 if ac_fn_c_try_link "$LINENO"
11999 then :
12000 ac_cv_mingw_lib_jpeg=yes
12001 else $as_nop
12002 ac_cv_mingw_lib_jpeg=no
12004 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12005 conftest$ac_exeext conftest.$ac_ext
12006 CC=$ac_wine_check_headers_saved_cc
12007 ac_exeext=$ac_wine_check_headers_saved_exeext
12008 LIBS=$ac_wine_check_headers_saved_libs
12010 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_jpeg" >&5
12011 printf "%s\n" "$ac_cv_mingw_lib_jpeg" >&6; }
12012 if test "x$ac_cv_mingw_lib_jpeg" = xyes
12013 then :
12015 else $as_nop
12016 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
12018 else $as_nop
12019 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
12021 CPPFLAGS=$ac_save_CPPFLAGS
12023 if test "x$JPEG_PE_LIBS" = "x"
12024 then
12025 as_fn_append wine_notices "|libjpeg ${notice_platform}MinGW development files not found; using bundled version."
12028 if ${LCMS2_PE_CFLAGS:+false} :
12029 then :
12030 if test ${MINGW_PKG_CONFIG+y}
12031 then :
12032 LCMS2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags lcms2 2>/dev/null`
12035 if ${LCMS2_PE_LIBS:+false} :
12036 then :
12037 if test ${MINGW_PKG_CONFIG+y}
12038 then :
12039 LCMS2_PE_LIBS=`$MINGW_PKG_CONFIG --libs lcms2 2>/dev/null`
12042 LCMS2_PE_LIBS=${LCMS2_PE_LIBS:-"-llcms2"}
12043 ac_save_CPPFLAGS=$CPPFLAGS
12044 CPPFLAGS="$CPPFLAGS $LCMS2_PE_CFLAGS"
12045 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW lcms2.h" >&5
12046 printf %s "checking for MinGW lcms2.h... " >&6; }
12047 if test ${ac_cv_mingw_header_lcms2_h+y}
12048 then :
12049 printf %s "(cached) " >&6
12050 else $as_nop
12051 ac_wine_check_headers_saved_cc=$CC
12052 ac_wine_check_headers_saved_exeext=$ac_exeext
12053 eval CC=\$${wine_arch}_CC
12054 ac_exeext=".exe"
12055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12056 /* end confdefs.h. */
12058 #include <lcms2.h>
12060 main (void)
12064 return 0;
12066 _ACEOF
12067 if ac_fn_c_try_compile "$LINENO"
12068 then :
12069 ac_cv_mingw_header_lcms2_h=yes
12070 else $as_nop
12071 ac_cv_mingw_header_lcms2_h=no
12073 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12074 CC=$ac_wine_check_headers_saved_cc
12075 ac_exeext=$ac_wine_check_headers_saved_exeext
12077 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_lcms2_h" >&5
12078 printf "%s\n" "$ac_cv_mingw_header_lcms2_h" >&6; }
12079 if test "x$ac_cv_mingw_header_lcms2_h" = xyes
12080 then :
12081 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in MinGW -llcms2" >&5
12082 printf %s "checking for cmsOpenProfileFromFile in MinGW -llcms2... " >&6; }
12083 if test ${ac_cv_mingw_lib_lcms2+y}
12084 then :
12085 printf %s "(cached) " >&6
12086 else $as_nop
12087 ac_wine_check_headers_saved_cc=$CC
12088 ac_wine_check_headers_saved_exeext=$ac_exeext
12089 ac_wine_check_headers_saved_libs=$LIBS
12090 eval CC=\$${wine_arch}_CC
12091 ac_exeext=".exe"
12092 LIBS="-llcms2 $LCMS2_PE_LIBS $LIBS"
12093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12094 /* end confdefs.h. */
12096 /* Override any GCC internal prototype to avoid an error.
12097 Use char because int might match the return type of a GCC
12098 builtin and then its argument prototype would still apply. */
12099 char cmsOpenProfileFromFile ();
12101 main (void)
12103 return cmsOpenProfileFromFile ();
12105 return 0;
12107 _ACEOF
12108 if ac_fn_c_try_link "$LINENO"
12109 then :
12110 ac_cv_mingw_lib_lcms2=yes
12111 else $as_nop
12112 ac_cv_mingw_lib_lcms2=no
12114 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12115 conftest$ac_exeext conftest.$ac_ext
12116 CC=$ac_wine_check_headers_saved_cc
12117 ac_exeext=$ac_wine_check_headers_saved_exeext
12118 LIBS=$ac_wine_check_headers_saved_libs
12120 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_lcms2" >&5
12121 printf "%s\n" "$ac_cv_mingw_lib_lcms2" >&6; }
12122 if test "x$ac_cv_mingw_lib_lcms2" = xyes
12123 then :
12125 else $as_nop
12126 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12128 else $as_nop
12129 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12131 CPPFLAGS=$ac_save_CPPFLAGS
12133 if test "x$LCMS2_PE_LIBS" = "x"
12134 then
12135 as_fn_append wine_notices "|liblcms2 ${notice_platform}MinGW development files not found; using bundled version."
12138 if ${MPG123_PE_CFLAGS:+false} :
12139 then :
12140 if test ${MINGW_PKG_CONFIG+y}
12141 then :
12142 MPG123_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libmpg123 2>/dev/null`
12145 if ${MPG123_PE_LIBS:+false} :
12146 then :
12147 if test ${MINGW_PKG_CONFIG+y}
12148 then :
12149 MPG123_PE_LIBS=`$MINGW_PKG_CONFIG --libs libmpg123 2>/dev/null`
12152 MPG123_PE_LIBS=${MPG123_PE_LIBS:-"-lmpg123"}
12153 ac_save_CPPFLAGS=$CPPFLAGS
12154 CPPFLAGS="$CPPFLAGS $MPG123_PE_CFLAGS"
12155 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW mpg123.h" >&5
12156 printf %s "checking for MinGW mpg123.h... " >&6; }
12157 if test ${ac_cv_mingw_header_mpg123_h+y}
12158 then :
12159 printf %s "(cached) " >&6
12160 else $as_nop
12161 ac_wine_check_headers_saved_cc=$CC
12162 ac_wine_check_headers_saved_exeext=$ac_exeext
12163 eval CC=\$${wine_arch}_CC
12164 ac_exeext=".exe"
12165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12166 /* end confdefs.h. */
12168 #include <mpg123.h>
12170 main (void)
12174 return 0;
12176 _ACEOF
12177 if ac_fn_c_try_compile "$LINENO"
12178 then :
12179 ac_cv_mingw_header_mpg123_h=yes
12180 else $as_nop
12181 ac_cv_mingw_header_mpg123_h=no
12183 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12184 CC=$ac_wine_check_headers_saved_cc
12185 ac_exeext=$ac_wine_check_headers_saved_exeext
12187 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_mpg123_h" >&5
12188 printf "%s\n" "$ac_cv_mingw_header_mpg123_h" >&6; }
12189 if test "x$ac_cv_mingw_header_mpg123_h" = xyes
12190 then :
12191 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in MinGW -lmpg123" >&5
12192 printf %s "checking for mpg123_feed in MinGW -lmpg123... " >&6; }
12193 if test ${ac_cv_mingw_lib_mpg123+y}
12194 then :
12195 printf %s "(cached) " >&6
12196 else $as_nop
12197 ac_wine_check_headers_saved_cc=$CC
12198 ac_wine_check_headers_saved_exeext=$ac_exeext
12199 ac_wine_check_headers_saved_libs=$LIBS
12200 eval CC=\$${wine_arch}_CC
12201 ac_exeext=".exe"
12202 LIBS="-lmpg123 $MPG123_PE_LIBS $LIBS"
12203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12204 /* end confdefs.h. */
12206 /* Override any GCC internal prototype to avoid an error.
12207 Use char because int might match the return type of a GCC
12208 builtin and then its argument prototype would still apply. */
12209 char mpg123_feed ();
12211 main (void)
12213 return mpg123_feed ();
12215 return 0;
12217 _ACEOF
12218 if ac_fn_c_try_link "$LINENO"
12219 then :
12220 ac_cv_mingw_lib_mpg123=yes
12221 else $as_nop
12222 ac_cv_mingw_lib_mpg123=no
12224 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12225 conftest$ac_exeext conftest.$ac_ext
12226 CC=$ac_wine_check_headers_saved_cc
12227 ac_exeext=$ac_wine_check_headers_saved_exeext
12228 LIBS=$ac_wine_check_headers_saved_libs
12230 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_mpg123" >&5
12231 printf "%s\n" "$ac_cv_mingw_lib_mpg123" >&6; }
12232 if test "x$ac_cv_mingw_lib_mpg123" = xyes
12233 then :
12235 else $as_nop
12236 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12238 else $as_nop
12239 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12241 CPPFLAGS=$ac_save_CPPFLAGS
12243 if test "x$MPG123_PE_LIBS" = "x"
12244 then
12245 as_fn_append wine_notices "|libmpg123 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12248 if ${PNG_PE_CFLAGS:+false} :
12249 then :
12250 if test ${MINGW_PKG_CONFIG+y}
12251 then :
12252 PNG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libpng 2>/dev/null`
12255 if ${PNG_PE_LIBS:+false} :
12256 then :
12257 if test ${MINGW_PKG_CONFIG+y}
12258 then :
12259 PNG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libpng 2>/dev/null`
12263 ac_save_CPPFLAGS=$CPPFLAGS
12264 CPPFLAGS="$CPPFLAGS $PNG_PE_CFLAGS"
12265 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW png.h" >&5
12266 printf %s "checking for MinGW png.h... " >&6; }
12267 if test ${ac_cv_mingw_header_png_h+y}
12268 then :
12269 printf %s "(cached) " >&6
12270 else $as_nop
12271 ac_wine_check_headers_saved_cc=$CC
12272 ac_wine_check_headers_saved_exeext=$ac_exeext
12273 eval CC=\$${wine_arch}_CC
12274 ac_exeext=".exe"
12275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12276 /* end confdefs.h. */
12278 #include <png.h>
12280 main (void)
12284 return 0;
12286 _ACEOF
12287 if ac_fn_c_try_compile "$LINENO"
12288 then :
12289 ac_cv_mingw_header_png_h=yes
12290 else $as_nop
12291 ac_cv_mingw_header_png_h=no
12293 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12294 CC=$ac_wine_check_headers_saved_cc
12295 ac_exeext=$ac_wine_check_headers_saved_exeext
12297 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_png_h" >&5
12298 printf "%s\n" "$ac_cv_mingw_header_png_h" >&6; }
12299 if test "x$ac_cv_mingw_header_png_h" = xyes
12300 then :
12301 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for png_create_read_struct in MinGW -lpng" >&5
12302 printf %s "checking for png_create_read_struct in MinGW -lpng... " >&6; }
12303 if test ${ac_cv_mingw_lib_png+y}
12304 then :
12305 printf %s "(cached) " >&6
12306 else $as_nop
12307 ac_wine_check_headers_saved_cc=$CC
12308 ac_wine_check_headers_saved_exeext=$ac_exeext
12309 ac_wine_check_headers_saved_libs=$LIBS
12310 eval CC=\$${wine_arch}_CC
12311 ac_exeext=".exe"
12312 LIBS="-lpng $PNG_PE_LIBS $LIBS"
12313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12314 /* end confdefs.h. */
12316 /* Override any GCC internal prototype to avoid an error.
12317 Use char because int might match the return type of a GCC
12318 builtin and then its argument prototype would still apply. */
12319 char png_create_read_struct ();
12321 main (void)
12323 return png_create_read_struct ();
12325 return 0;
12327 _ACEOF
12328 if ac_fn_c_try_link "$LINENO"
12329 then :
12330 ac_cv_mingw_lib_png=yes
12331 else $as_nop
12332 ac_cv_mingw_lib_png=no
12334 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12335 conftest$ac_exeext conftest.$ac_ext
12336 CC=$ac_wine_check_headers_saved_cc
12337 ac_exeext=$ac_wine_check_headers_saved_exeext
12338 LIBS=$ac_wine_check_headers_saved_libs
12340 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_png" >&5
12341 printf "%s\n" "$ac_cv_mingw_lib_png" >&6; }
12342 if test "x$ac_cv_mingw_lib_png" = xyes
12343 then :
12345 else $as_nop
12346 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12348 else $as_nop
12349 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12351 CPPFLAGS=$ac_save_CPPFLAGS
12353 if test "x$PNG_PE_LIBS" = "x"
12354 then
12355 as_fn_append wine_notices "|libpng ${notice_platform}MinGW development files not found; using bundled version."
12358 if ${TIFF_PE_CFLAGS:+false} :
12359 then :
12360 if test ${MINGW_PKG_CONFIG+y}
12361 then :
12362 TIFF_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libtiff-4 2>/dev/null`
12365 if ${TIFF_PE_LIBS:+false} :
12366 then :
12367 if test ${MINGW_PKG_CONFIG+y}
12368 then :
12369 TIFF_PE_LIBS=`$MINGW_PKG_CONFIG --libs libtiff-4 2>/dev/null`
12373 ac_save_CPPFLAGS=$CPPFLAGS
12374 CPPFLAGS="$CPPFLAGS $TIFF_PE_CFLAGS"
12375 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW tiffio.h" >&5
12376 printf %s "checking for MinGW tiffio.h... " >&6; }
12377 if test ${ac_cv_mingw_header_tiffio_h+y}
12378 then :
12379 printf %s "(cached) " >&6
12380 else $as_nop
12381 ac_wine_check_headers_saved_cc=$CC
12382 ac_wine_check_headers_saved_exeext=$ac_exeext
12383 eval CC=\$${wine_arch}_CC
12384 ac_exeext=".exe"
12385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12386 /* end confdefs.h. */
12388 #include <tiffio.h>
12390 main (void)
12394 return 0;
12396 _ACEOF
12397 if ac_fn_c_try_compile "$LINENO"
12398 then :
12399 ac_cv_mingw_header_tiffio_h=yes
12400 else $as_nop
12401 ac_cv_mingw_header_tiffio_h=no
12403 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12404 CC=$ac_wine_check_headers_saved_cc
12405 ac_exeext=$ac_wine_check_headers_saved_exeext
12407 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_tiffio_h" >&5
12408 printf "%s\n" "$ac_cv_mingw_header_tiffio_h" >&6; }
12409 if test "x$ac_cv_mingw_header_tiffio_h" = xyes
12410 then :
12411 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for TIFFClientOpen in MinGW -ltiff" >&5
12412 printf %s "checking for TIFFClientOpen in MinGW -ltiff... " >&6; }
12413 if test ${ac_cv_mingw_lib_tiff+y}
12414 then :
12415 printf %s "(cached) " >&6
12416 else $as_nop
12417 ac_wine_check_headers_saved_cc=$CC
12418 ac_wine_check_headers_saved_exeext=$ac_exeext
12419 ac_wine_check_headers_saved_libs=$LIBS
12420 eval CC=\$${wine_arch}_CC
12421 ac_exeext=".exe"
12422 LIBS="-ltiff $TIFF_PE_LIBS $LIBS"
12423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12424 /* end confdefs.h. */
12426 /* Override any GCC internal prototype to avoid an error.
12427 Use char because int might match the return type of a GCC
12428 builtin and then its argument prototype would still apply. */
12429 char TIFFClientOpen ();
12431 main (void)
12433 return TIFFClientOpen ();
12435 return 0;
12437 _ACEOF
12438 if ac_fn_c_try_link "$LINENO"
12439 then :
12440 ac_cv_mingw_lib_tiff=yes
12441 else $as_nop
12442 ac_cv_mingw_lib_tiff=no
12444 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12445 conftest$ac_exeext conftest.$ac_ext
12446 CC=$ac_wine_check_headers_saved_cc
12447 ac_exeext=$ac_wine_check_headers_saved_exeext
12448 LIBS=$ac_wine_check_headers_saved_libs
12450 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_tiff" >&5
12451 printf "%s\n" "$ac_cv_mingw_lib_tiff" >&6; }
12452 if test "x$ac_cv_mingw_lib_tiff" = xyes
12453 then :
12455 else $as_nop
12456 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12458 else $as_nop
12459 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12461 CPPFLAGS=$ac_save_CPPFLAGS
12463 if test "x$TIFF_PE_LIBS" = "x"
12464 then
12465 as_fn_append wine_notices "|libtiff ${notice_platform}MinGW development files not found; using bundled version."
12468 if ${XML2_PE_CFLAGS:+false} :
12469 then :
12470 if test ${MINGW_PKG_CONFIG+y}
12471 then :
12472 XML2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12475 if ${XML2_PE_LIBS:+false} :
12476 then :
12477 if test ${MINGW_PKG_CONFIG+y}
12478 then :
12479 XML2_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12482 XML2_PE_LIBS=${XML2_PE_LIBS:-"-lxml2"}
12483 ac_save_CPPFLAGS=$CPPFLAGS
12484 CPPFLAGS="$CPPFLAGS $XML2_PE_CFLAGS"
12485 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/parser.h" >&5
12486 printf %s "checking for MinGW libxml/parser.h... " >&6; }
12487 if test ${ac_cv_mingw_header_libxml_parser_h+y}
12488 then :
12489 printf %s "(cached) " >&6
12490 else $as_nop
12491 ac_wine_check_headers_saved_cc=$CC
12492 ac_wine_check_headers_saved_exeext=$ac_exeext
12493 eval CC=\$${wine_arch}_CC
12494 ac_exeext=".exe"
12495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12496 /* end confdefs.h. */
12498 #include <libxml/parser.h>
12500 main (void)
12504 return 0;
12506 _ACEOF
12507 if ac_fn_c_try_compile "$LINENO"
12508 then :
12509 ac_cv_mingw_header_libxml_parser_h=yes
12510 else $as_nop
12511 ac_cv_mingw_header_libxml_parser_h=no
12513 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12514 CC=$ac_wine_check_headers_saved_cc
12515 ac_exeext=$ac_wine_check_headers_saved_exeext
12517 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_parser_h" >&5
12518 printf "%s\n" "$ac_cv_mingw_header_libxml_parser_h" >&6; }
12519 if test "x$ac_cv_mingw_header_libxml_parser_h" = xyes
12520 then :
12523 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/xmlsave.h" >&5
12524 printf %s "checking for MinGW libxml/xmlsave.h... " >&6; }
12525 if test ${ac_cv_mingw_header_libxml_xmlsave_h+y}
12526 then :
12527 printf %s "(cached) " >&6
12528 else $as_nop
12529 ac_wine_check_headers_saved_cc=$CC
12530 ac_wine_check_headers_saved_exeext=$ac_exeext
12531 eval CC=\$${wine_arch}_CC
12532 ac_exeext=".exe"
12533 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12534 /* end confdefs.h. */
12536 #include <libxml/xmlsave.h>
12538 main (void)
12542 return 0;
12544 _ACEOF
12545 if ac_fn_c_try_compile "$LINENO"
12546 then :
12547 ac_cv_mingw_header_libxml_xmlsave_h=yes
12548 else $as_nop
12549 ac_cv_mingw_header_libxml_xmlsave_h=no
12551 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12552 CC=$ac_wine_check_headers_saved_cc
12553 ac_exeext=$ac_wine_check_headers_saved_exeext
12555 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_xmlsave_h" >&5
12556 printf "%s\n" "$ac_cv_mingw_header_libxml_xmlsave_h" >&6; }
12557 if test "x$ac_cv_mingw_header_libxml_xmlsave_h" = xyes
12558 then :
12561 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/SAX2.h" >&5
12562 printf %s "checking for MinGW libxml/SAX2.h... " >&6; }
12563 if test ${ac_cv_mingw_header_libxml_SAX2_h+y}
12564 then :
12565 printf %s "(cached) " >&6
12566 else $as_nop
12567 ac_wine_check_headers_saved_cc=$CC
12568 ac_wine_check_headers_saved_exeext=$ac_exeext
12569 eval CC=\$${wine_arch}_CC
12570 ac_exeext=".exe"
12571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12572 /* end confdefs.h. */
12574 #include <libxml/SAX2.h>
12576 main (void)
12580 return 0;
12582 _ACEOF
12583 if ac_fn_c_try_compile "$LINENO"
12584 then :
12585 ac_cv_mingw_header_libxml_SAX2_h=yes
12586 else $as_nop
12587 ac_cv_mingw_header_libxml_SAX2_h=no
12589 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12590 CC=$ac_wine_check_headers_saved_cc
12591 ac_exeext=$ac_wine_check_headers_saved_exeext
12593 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_SAX2_h" >&5
12594 printf "%s\n" "$ac_cv_mingw_header_libxml_SAX2_h" >&6; }
12595 if test "x$ac_cv_mingw_header_libxml_SAX2_h" = xyes
12596 then :
12599 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"
12600 then
12601 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in MinGW -lxml2" >&5
12602 printf %s "checking for xmlFirstElementChild in MinGW -lxml2... " >&6; }
12603 if test ${ac_cv_mingw_lib_xml2+y}
12604 then :
12605 printf %s "(cached) " >&6
12606 else $as_nop
12607 ac_wine_check_headers_saved_cc=$CC
12608 ac_wine_check_headers_saved_exeext=$ac_exeext
12609 ac_wine_check_headers_saved_libs=$LIBS
12610 eval CC=\$${wine_arch}_CC
12611 ac_exeext=".exe"
12612 LIBS="-lxml2 $XML2_PE_LIBS $LIBS"
12613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12614 /* end confdefs.h. */
12616 /* Override any GCC internal prototype to avoid an error.
12617 Use char because int might match the return type of a GCC
12618 builtin and then its argument prototype would still apply. */
12619 char xmlFirstElementChild ();
12621 main (void)
12623 return xmlFirstElementChild ();
12625 return 0;
12627 _ACEOF
12628 if ac_fn_c_try_link "$LINENO"
12629 then :
12630 ac_cv_mingw_lib_xml2=yes
12631 else $as_nop
12632 ac_cv_mingw_lib_xml2=no
12634 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12635 conftest$ac_exeext conftest.$ac_ext
12636 CC=$ac_wine_check_headers_saved_cc
12637 ac_exeext=$ac_wine_check_headers_saved_exeext
12638 LIBS=$ac_wine_check_headers_saved_libs
12640 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xml2" >&5
12641 printf "%s\n" "$ac_cv_mingw_lib_xml2" >&6; }
12642 if test "x$ac_cv_mingw_lib_xml2" = xyes
12643 then :
12645 else $as_nop
12646 XML2_PE_CFLAGS=""; XML2_PE_LIBS=""
12648 else
12649 XML2_PE_CFLAGS=""
12650 XML2_PE_LIBS=""
12652 CPPFLAGS=$ac_save_CPPFLAGS
12654 if test "x$XML2_PE_LIBS" = "x"
12655 then
12656 as_fn_append wine_notices "|libxml2 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12659 if ${XSLT_PE_CFLAGS:+false} :
12660 then :
12661 if test ${MINGW_PKG_CONFIG+y}
12662 then :
12663 XSLT_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxslt 2>/dev/null`
12666 if ${XSLT_PE_LIBS:+false} :
12667 then :
12668 if test ${MINGW_PKG_CONFIG+y}
12669 then :
12670 XSLT_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxslt 2>/dev/null`
12673 XSLT_PE_LIBS=${XSLT_PE_LIBS:-"-lxslt"}
12674 ac_save_CPPFLAGS=$CPPFLAGS
12675 CPPFLAGS="$CPPFLAGS $XSLT_PE_CFLAGS"
12676 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/pattern.h" >&5
12677 printf %s "checking for MinGW libxslt/pattern.h... " >&6; }
12678 if test ${ac_cv_mingw_header_libxslt_pattern_h+y}
12679 then :
12680 printf %s "(cached) " >&6
12681 else $as_nop
12682 ac_wine_check_headers_saved_cc=$CC
12683 ac_wine_check_headers_saved_exeext=$ac_exeext
12684 eval CC=\$${wine_arch}_CC
12685 ac_exeext=".exe"
12686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12687 /* end confdefs.h. */
12689 #include <libxslt/pattern.h>
12691 main (void)
12695 return 0;
12697 _ACEOF
12698 if ac_fn_c_try_compile "$LINENO"
12699 then :
12700 ac_cv_mingw_header_libxslt_pattern_h=yes
12701 else $as_nop
12702 ac_cv_mingw_header_libxslt_pattern_h=no
12704 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12705 CC=$ac_wine_check_headers_saved_cc
12706 ac_exeext=$ac_wine_check_headers_saved_exeext
12708 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_pattern_h" >&5
12709 printf "%s\n" "$ac_cv_mingw_header_libxslt_pattern_h" >&6; }
12710 if test "x$ac_cv_mingw_header_libxslt_pattern_h" = xyes
12711 then :
12714 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/transform.h" >&5
12715 printf %s "checking for MinGW libxslt/transform.h... " >&6; }
12716 if test ${ac_cv_mingw_header_libxslt_transform_h+y}
12717 then :
12718 printf %s "(cached) " >&6
12719 else $as_nop
12720 ac_wine_check_headers_saved_cc=$CC
12721 ac_wine_check_headers_saved_exeext=$ac_exeext
12722 eval CC=\$${wine_arch}_CC
12723 ac_exeext=".exe"
12724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12725 /* end confdefs.h. */
12727 #include <libxslt/transform.h>
12729 main (void)
12733 return 0;
12735 _ACEOF
12736 if ac_fn_c_try_compile "$LINENO"
12737 then :
12738 ac_cv_mingw_header_libxslt_transform_h=yes
12739 else $as_nop
12740 ac_cv_mingw_header_libxslt_transform_h=no
12742 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12743 CC=$ac_wine_check_headers_saved_cc
12744 ac_exeext=$ac_wine_check_headers_saved_exeext
12746 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_transform_h" >&5
12747 printf "%s\n" "$ac_cv_mingw_header_libxslt_transform_h" >&6; }
12748 if test "x$ac_cv_mingw_header_libxslt_transform_h" = xyes
12749 then :
12752 if test "$ac_cv_mingw_header_libxslt_pattern_h" = "yes" -a "$ac_cv_mingw_header_libxslt_transform_h" = "yes"
12753 then
12754 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xsltCompilePattern in MinGW -lxslt" >&5
12755 printf %s "checking for xsltCompilePattern in MinGW -lxslt... " >&6; }
12756 if test ${ac_cv_mingw_lib_xslt+y}
12757 then :
12758 printf %s "(cached) " >&6
12759 else $as_nop
12760 ac_wine_check_headers_saved_cc=$CC
12761 ac_wine_check_headers_saved_exeext=$ac_exeext
12762 ac_wine_check_headers_saved_libs=$LIBS
12763 eval CC=\$${wine_arch}_CC
12764 ac_exeext=".exe"
12765 LIBS="-lxslt $XSLT_PE_LIBS $LIBS"
12766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12767 /* end confdefs.h. */
12769 /* Override any GCC internal prototype to avoid an error.
12770 Use char because int might match the return type of a GCC
12771 builtin and then its argument prototype would still apply. */
12772 char xsltCompilePattern ();
12774 main (void)
12776 return xsltCompilePattern ();
12778 return 0;
12780 _ACEOF
12781 if ac_fn_c_try_link "$LINENO"
12782 then :
12783 ac_cv_mingw_lib_xslt=yes
12784 else $as_nop
12785 ac_cv_mingw_lib_xslt=no
12787 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12788 conftest$ac_exeext conftest.$ac_ext
12789 CC=$ac_wine_check_headers_saved_cc
12790 ac_exeext=$ac_wine_check_headers_saved_exeext
12791 LIBS=$ac_wine_check_headers_saved_libs
12793 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xslt" >&5
12794 printf "%s\n" "$ac_cv_mingw_lib_xslt" >&6; }
12795 if test "x$ac_cv_mingw_lib_xslt" = xyes
12796 then :
12798 else $as_nop
12799 XSLT_PE_CFLAGS=""; XSLT_PE_LIBS=""
12801 else
12802 XSLT_PE_CFLAGS=""
12803 XSLT_PE_LIBS=""
12805 CPPFLAGS=$ac_save_CPPFLAGS
12807 if test "x$XSLT_PE_LIBS" = "x"
12808 then
12809 as_fn_append wine_notices "|libxslt ${notice_platform}MinGW development files not found; using bundled version."
12812 if ${VKD3D_PE_CFLAGS:+false} :
12813 then :
12814 if test ${MINGW_PKG_CONFIG+y}
12815 then :
12816 VKD3D_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libvkd3d libvkd3d-shader 2>/dev/null`
12819 if ${VKD3D_PE_LIBS:+false} :
12820 then :
12821 if test ${MINGW_PKG_CONFIG+y}
12822 then :
12823 VKD3D_PE_LIBS=`$MINGW_PKG_CONFIG --libs libvkd3d libvkd3d-shader 2>/dev/null`
12826 VKD3D_PE_LIBS=${VKD3D_PE_LIBS:-"-lvkd3d -lvkd3d-shader"}
12827 ac_save_CPPFLAGS=$CPPFLAGS
12828 CPPFLAGS="$CPPFLAGS $VKD3D_PE_CFLAGS"
12829 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d.h" >&5
12830 printf %s "checking for MinGW vkd3d.h... " >&6; }
12831 if test ${ac_cv_mingw_header_vkd3d_h+y}
12832 then :
12833 printf %s "(cached) " >&6
12834 else $as_nop
12835 ac_wine_check_headers_saved_cc=$CC
12836 ac_wine_check_headers_saved_exeext=$ac_exeext
12837 eval CC=\$${wine_arch}_CC
12838 ac_exeext=".exe"
12839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12840 /* end confdefs.h. */
12842 #include <vkd3d.h>
12844 main (void)
12848 return 0;
12850 _ACEOF
12851 if ac_fn_c_try_compile "$LINENO"
12852 then :
12853 ac_cv_mingw_header_vkd3d_h=yes
12854 else $as_nop
12855 ac_cv_mingw_header_vkd3d_h=no
12857 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12858 CC=$ac_wine_check_headers_saved_cc
12859 ac_exeext=$ac_wine_check_headers_saved_exeext
12861 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_h" >&5
12862 printf "%s\n" "$ac_cv_mingw_header_vkd3d_h" >&6; }
12863 if test "x$ac_cv_mingw_header_vkd3d_h" = xyes
12864 then :
12867 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d_shader.h" >&5
12868 printf %s "checking for MinGW vkd3d_shader.h... " >&6; }
12869 if test ${ac_cv_mingw_header_vkd3d_shader_h+y}
12870 then :
12871 printf %s "(cached) " >&6
12872 else $as_nop
12873 ac_wine_check_headers_saved_cc=$CC
12874 ac_wine_check_headers_saved_exeext=$ac_exeext
12875 eval CC=\$${wine_arch}_CC
12876 ac_exeext=".exe"
12877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12878 /* end confdefs.h. */
12880 #include <vkd3d_shader.h>
12882 main (void)
12886 return 0;
12888 _ACEOF
12889 if ac_fn_c_try_compile "$LINENO"
12890 then :
12891 ac_cv_mingw_header_vkd3d_shader_h=yes
12892 else $as_nop
12893 ac_cv_mingw_header_vkd3d_shader_h=no
12895 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12896 CC=$ac_wine_check_headers_saved_cc
12897 ac_exeext=$ac_wine_check_headers_saved_exeext
12899 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_shader_h" >&5
12900 printf "%s\n" "$ac_cv_mingw_header_vkd3d_shader_h" >&6; }
12901 if test "x$ac_cv_mingw_header_vkd3d_shader_h" = xyes
12902 then :
12905 if test "$ac_cv_mingw_header_vkd3d_h" = "yes" -a "$ac_cv_mingw_header_vkd3d_shader_h" = "yes"
12906 then
12907 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_set_log_callback in MinGW -lvkd3d" >&5
12908 printf %s "checking for vkd3d_set_log_callback in MinGW -lvkd3d... " >&6; }
12909 if test ${ac_cv_mingw_lib_vkd3d+y}
12910 then :
12911 printf %s "(cached) " >&6
12912 else $as_nop
12913 ac_wine_check_headers_saved_cc=$CC
12914 ac_wine_check_headers_saved_exeext=$ac_exeext
12915 ac_wine_check_headers_saved_libs=$LIBS
12916 eval CC=\$${wine_arch}_CC
12917 ac_exeext=".exe"
12918 LIBS="-lvkd3d $VKD3D_PE_LIBS $LIBS"
12919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12920 /* end confdefs.h. */
12922 /* Override any GCC internal prototype to avoid an error.
12923 Use char because int might match the return type of a GCC
12924 builtin and then its argument prototype would still apply. */
12925 char vkd3d_set_log_callback ();
12927 main (void)
12929 return vkd3d_set_log_callback ();
12931 return 0;
12933 _ACEOF
12934 if ac_fn_c_try_link "$LINENO"
12935 then :
12936 ac_cv_mingw_lib_vkd3d=yes
12937 else $as_nop
12938 ac_cv_mingw_lib_vkd3d=no
12940 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12941 conftest$ac_exeext conftest.$ac_ext
12942 CC=$ac_wine_check_headers_saved_cc
12943 ac_exeext=$ac_wine_check_headers_saved_exeext
12944 LIBS=$ac_wine_check_headers_saved_libs
12946 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d" >&5
12947 printf "%s\n" "$ac_cv_mingw_lib_vkd3d" >&6; }
12948 if test "x$ac_cv_mingw_lib_vkd3d" = xyes
12949 then :
12951 else $as_nop
12954 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_shader_compile in MinGW -lvkd3d-shader" >&5
12955 printf %s "checking for vkd3d_shader_compile in MinGW -lvkd3d-shader... " >&6; }
12956 if test ${ac_cv_mingw_lib_vkd3d_shader+y}
12957 then :
12958 printf %s "(cached) " >&6
12959 else $as_nop
12960 ac_wine_check_headers_saved_cc=$CC
12961 ac_wine_check_headers_saved_exeext=$ac_exeext
12962 ac_wine_check_headers_saved_libs=$LIBS
12963 eval CC=\$${wine_arch}_CC
12964 ac_exeext=".exe"
12965 LIBS="-lvkd3d-shader $VKD3D_PE_LIBS $LIBS"
12966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12967 /* end confdefs.h. */
12969 /* Override any GCC internal prototype to avoid an error.
12970 Use char because int might match the return type of a GCC
12971 builtin and then its argument prototype would still apply. */
12972 char vkd3d_shader_compile ();
12974 main (void)
12976 return vkd3d_shader_compile ();
12978 return 0;
12980 _ACEOF
12981 if ac_fn_c_try_link "$LINENO"
12982 then :
12983 ac_cv_mingw_lib_vkd3d_shader=yes
12984 else $as_nop
12985 ac_cv_mingw_lib_vkd3d_shader=no
12987 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12988 conftest$ac_exeext conftest.$ac_ext
12989 CC=$ac_wine_check_headers_saved_cc
12990 ac_exeext=$ac_wine_check_headers_saved_exeext
12991 LIBS=$ac_wine_check_headers_saved_libs
12993 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d_shader" >&5
12994 printf "%s\n" "$ac_cv_mingw_lib_vkd3d_shader" >&6; }
12995 if test "x$ac_cv_mingw_lib_vkd3d_shader" = xyes
12996 then :
12998 else $as_nop
13001 if test "$ac_cv_mingw_lib_vkd3d" = "no" -o "$ac_cv_mingw_lib_vkd3d_shader" = "no"
13002 then
13003 VKD3D_PE_CFLAGS=""
13004 VKD3D_PE_LIBS=""
13006 else
13007 VKD3D_PE_CFLAGS=""
13008 VKD3D_PE_LIBS=""
13010 CPPFLAGS=$ac_save_CPPFLAGS
13012 if test "x$VKD3D_PE_LIBS" = "x"
13013 then
13014 as_fn_append wine_notices "|libvkd3d ${notice_platform}MinGW development files not found (or too old); using bundled version."
13017 if ${ZLIB_PE_CFLAGS:+false} :
13018 then :
13019 if test ${MINGW_PKG_CONFIG+y}
13020 then :
13021 ZLIB_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags zlib 2>/dev/null`
13024 if ${ZLIB_PE_LIBS:+false} :
13025 then :
13026 if test ${MINGW_PKG_CONFIG+y}
13027 then :
13028 ZLIB_PE_LIBS=`$MINGW_PKG_CONFIG --libs zlib 2>/dev/null`
13031 ZLIB_PE_LIBS=${ZLIB_PE_LIBS:-"-lz"}
13032 ac_save_CPPFLAGS=$CPPFLAGS
13033 CPPFLAGS="$CPPFLAGS $ZLIB_PE_CFLAGS"
13034 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW zlib.h" >&5
13035 printf %s "checking for MinGW zlib.h... " >&6; }
13036 if test ${ac_cv_mingw_header_zlib_h+y}
13037 then :
13038 printf %s "(cached) " >&6
13039 else $as_nop
13040 ac_wine_check_headers_saved_cc=$CC
13041 ac_wine_check_headers_saved_exeext=$ac_exeext
13042 eval CC=\$${wine_arch}_CC
13043 ac_exeext=".exe"
13044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13045 /* end confdefs.h. */
13047 #include <zlib.h>
13049 main (void)
13053 return 0;
13055 _ACEOF
13056 if ac_fn_c_try_compile "$LINENO"
13057 then :
13058 ac_cv_mingw_header_zlib_h=yes
13059 else $as_nop
13060 ac_cv_mingw_header_zlib_h=no
13062 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13063 CC=$ac_wine_check_headers_saved_cc
13064 ac_exeext=$ac_wine_check_headers_saved_exeext
13066 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_zlib_h" >&5
13067 printf "%s\n" "$ac_cv_mingw_header_zlib_h" >&6; }
13068 if test "x$ac_cv_mingw_header_zlib_h" = xyes
13069 then :
13070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inflate in MinGW -lz" >&5
13071 printf %s "checking for inflate in MinGW -lz... " >&6; }
13072 if test ${ac_cv_mingw_lib_z+y}
13073 then :
13074 printf %s "(cached) " >&6
13075 else $as_nop
13076 ac_wine_check_headers_saved_cc=$CC
13077 ac_wine_check_headers_saved_exeext=$ac_exeext
13078 ac_wine_check_headers_saved_libs=$LIBS
13079 eval CC=\$${wine_arch}_CC
13080 ac_exeext=".exe"
13081 LIBS="-lz $ZLIB_PE_LIBS $LIBS"
13082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13083 /* end confdefs.h. */
13085 /* Override any GCC internal prototype to avoid an error.
13086 Use char because int might match the return type of a GCC
13087 builtin and then its argument prototype would still apply. */
13088 char inflate ();
13090 main (void)
13092 return inflate ();
13094 return 0;
13096 _ACEOF
13097 if ac_fn_c_try_link "$LINENO"
13098 then :
13099 ac_cv_mingw_lib_z=yes
13100 else $as_nop
13101 ac_cv_mingw_lib_z=no
13103 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13104 conftest$ac_exeext conftest.$ac_ext
13105 CC=$ac_wine_check_headers_saved_cc
13106 ac_exeext=$ac_wine_check_headers_saved_exeext
13107 LIBS=$ac_wine_check_headers_saved_libs
13109 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_z" >&5
13110 printf "%s\n" "$ac_cv_mingw_lib_z" >&6; }
13111 if test "x$ac_cv_mingw_lib_z" = xyes
13112 then :
13114 else $as_nop
13115 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13117 else $as_nop
13118 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13120 CPPFLAGS=$ac_save_CPPFLAGS
13122 if test "x$ZLIB_PE_LIBS" = "x"
13123 then
13124 as_fn_append wine_notices "|zlib ${notice_platform}MinGW development files not found; using bundled version."
13128 if ${FAUDIO_PE_LIBS:+false} :
13129 then :
13130 FAUDIO_PE_LIBS="faudio mfplat mfreadwrite mfuuid propsys"
13131 if ${FAUDIO_PE_CFLAGS:+false} :
13132 then :
13133 FAUDIO_PE_CFLAGS="-I\$(top_srcdir)/libs/faudio/include"
13134 else $as_nop
13135 enable_faudio=no
13137 else $as_nop
13138 enable_faudio=no
13140 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_PE_CFLAGS" >&5
13141 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_PE_LIBS" >&5
13143 if ${GSM_PE_LIBS:+false} :
13144 then :
13145 GSM_PE_LIBS=gsm
13146 if ${GSM_PE_CFLAGS:+false} :
13147 then :
13148 GSM_PE_CFLAGS="-I\$(top_srcdir)/libs/gsm/inc"
13149 else $as_nop
13150 enable_gsm=no
13152 else $as_nop
13153 enable_gsm=no
13155 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm cflags: $GSM_PE_CFLAGS" >&5
13156 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm libs: $GSM_PE_LIBS" >&5
13158 if ${JPEG_PE_LIBS:+false} :
13159 then :
13160 JPEG_PE_LIBS=jpeg
13161 if ${JPEG_PE_CFLAGS:+false} :
13162 then :
13163 JPEG_PE_CFLAGS="-I\$(top_srcdir)/libs/jpeg"
13164 else $as_nop
13165 enable_jpeg=no
13167 else $as_nop
13168 enable_jpeg=no
13170 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg cflags: $JPEG_PE_CFLAGS" >&5
13171 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg libs: $JPEG_PE_LIBS" >&5
13173 if ${JXR_PE_LIBS:+false} :
13174 then :
13175 JXR_PE_LIBS=jxr
13176 if ${JXR_PE_CFLAGS:+false} :
13177 then :
13178 JXR_PE_CFLAGS="-I\$(top_srcdir)/libs/jxr/jxrgluelib -I\$(top_srcdir)/libs/jxr/image/sys"
13179 else $as_nop
13180 enable_jxr=no
13182 else $as_nop
13183 enable_jxr=no
13185 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr cflags: $JXR_PE_CFLAGS" >&5
13186 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr libs: $JXR_PE_LIBS" >&5
13188 if ${LCMS2_PE_LIBS:+false} :
13189 then :
13190 LCMS2_PE_LIBS=lcms2
13191 if ${LCMS2_PE_CFLAGS:+false} :
13192 then :
13193 LCMS2_PE_CFLAGS="-I\$(top_srcdir)/libs/lcms2/include"
13194 else $as_nop
13195 enable_lcms2=no
13197 else $as_nop
13198 enable_lcms2=no
13200 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_PE_CFLAGS" >&5
13201 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_PE_LIBS" >&5
13203 if ${LDAP_PE_LIBS:+false} :
13204 then :
13205 LDAP_PE_LIBS=ldap
13206 if ${LDAP_PE_CFLAGS:+false} :
13207 then :
13208 LDAP_PE_CFLAGS="-I\$(top_srcdir)/libs/ldap/include"
13209 else $as_nop
13210 enable_ldap=no
13212 else $as_nop
13213 enable_ldap=no
13215 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ldap cflags: $LDAP_PE_CFLAGS" >&5
13216 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ldap libs: $LDAP_PE_LIBS" >&5
13218 if ${MPG123_PE_LIBS:+false} :
13219 then :
13220 MPG123_PE_LIBS=mpg123
13221 if ${MPG123_PE_CFLAGS:+false} :
13222 then :
13223 MPG123_PE_CFLAGS="-I\$(top_srcdir)/libs/mpg123/src/libmpg123"
13224 else $as_nop
13225 enable_mpg123=no
13227 else $as_nop
13228 enable_mpg123=no
13230 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 cflags: $MPG123_PE_CFLAGS" >&5
13231 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 libs: $MPG123_PE_LIBS" >&5
13233 if ${PNG_PE_LIBS:+false} :
13234 then :
13235 PNG_PE_LIBS="png \$(ZLIB_PE_LIBS)"
13236 if ${PNG_PE_CFLAGS:+false} :
13237 then :
13238 PNG_PE_CFLAGS="-I\$(top_srcdir)/libs/png"
13239 else $as_nop
13240 enable_png=no
13242 else $as_nop
13243 enable_png=no
13245 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png cflags: $PNG_PE_CFLAGS" >&5
13246 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png libs: $PNG_PE_LIBS" >&5
13248 if ${TIFF_PE_LIBS:+false} :
13249 then :
13250 TIFF_PE_LIBS="tiff \$(ZLIB_PE_LIBS)"
13251 if ${TIFF_PE_CFLAGS:+false} :
13252 then :
13253 TIFF_PE_CFLAGS="-I\$(top_srcdir)/libs/tiff/libtiff"
13254 else $as_nop
13255 enable_tiff=no
13257 else $as_nop
13258 enable_tiff=no
13260 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff cflags: $TIFF_PE_CFLAGS" >&5
13261 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff libs: $TIFF_PE_LIBS" >&5
13263 if ${VKD3D_PE_LIBS:+false} :
13264 then :
13265 VKD3D_PE_LIBS=vkd3d
13266 if ${VKD3D_PE_CFLAGS:+false} :
13267 then :
13268 VKD3D_PE_CFLAGS="-I\$(top_srcdir)/libs/vkd3d/include"
13269 else $as_nop
13270 enable_vkd3d=no
13272 else $as_nop
13273 enable_vkd3d=no
13275 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d cflags: $VKD3D_PE_CFLAGS" >&5
13276 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d libs: $VKD3D_PE_LIBS" >&5
13278 if ${XML2_PE_LIBS:+false} :
13279 then :
13280 XML2_PE_LIBS=xml2
13281 if ${XML2_PE_CFLAGS:+false} :
13282 then :
13283 XML2_PE_CFLAGS="-I\$(top_srcdir)/libs/xml2/include -DLIBXML_STATIC"
13284 else $as_nop
13285 enable_xml2=no
13287 else $as_nop
13288 enable_xml2=no
13290 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 cflags: $XML2_PE_CFLAGS" >&5
13291 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 libs: $XML2_PE_LIBS" >&5
13293 if ${XSLT_PE_LIBS:+false} :
13294 then :
13295 XSLT_PE_LIBS=xslt
13296 if ${XSLT_PE_CFLAGS:+false} :
13297 then :
13298 XSLT_PE_CFLAGS="-I\$(top_srcdir)/libs/xslt/libxslt -I\$(top_srcdir)/libs/xslt -DLIBXSLT_STATIC"
13299 else $as_nop
13300 enable_xslt=no
13302 else $as_nop
13303 enable_xslt=no
13305 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt cflags: $XSLT_PE_CFLAGS" >&5
13306 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt libs: $XSLT_PE_LIBS" >&5
13308 if ${ZLIB_PE_LIBS:+false} :
13309 then :
13310 ZLIB_PE_LIBS=z
13311 if ${ZLIB_PE_CFLAGS:+false} :
13312 then :
13313 ZLIB_PE_CFLAGS="-I\$(top_srcdir)/libs/zlib -DFAR= -DZ_SOLO"
13314 else $as_nop
13315 enable_zlib=no
13317 else $as_nop
13318 enable_zlib=no
13320 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib cflags: $ZLIB_PE_CFLAGS" >&5
13321 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib libs: $ZLIB_PE_LIBS" >&5
13325 if test "$ac_cv_header_pthread_h" = "yes"
13326 then
13327 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
13328 if test "x$ac_cv_func_pthread_create" = xyes
13329 then :
13331 else $as_nop
13332 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
13333 printf %s "checking for pthread_create in -lpthread... " >&6; }
13334 if test ${ac_cv_lib_pthread_pthread_create+y}
13335 then :
13336 printf %s "(cached) " >&6
13337 else $as_nop
13338 ac_check_lib_save_LIBS=$LIBS
13339 LIBS="-lpthread $LIBS"
13340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13341 /* end confdefs.h. */
13343 /* Override any GCC internal prototype to avoid an error.
13344 Use char because int might match the return type of a GCC
13345 builtin and then its argument prototype would still apply. */
13346 char pthread_create ();
13348 main (void)
13350 return pthread_create ();
13352 return 0;
13354 _ACEOF
13355 if ac_fn_c_try_link "$LINENO"
13356 then :
13357 ac_cv_lib_pthread_pthread_create=yes
13358 else $as_nop
13359 ac_cv_lib_pthread_pthread_create=no
13361 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13362 conftest$ac_exeext conftest.$ac_ext
13363 LIBS=$ac_check_lib_save_LIBS
13365 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
13366 printf "%s\n" "$ac_cv_lib_pthread_pthread_create" >&6; }
13367 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
13368 then :
13369 PTHREAD_LIBS="-lpthread"
13376 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x
13377 then :
13378 case "x$with_pthread" in
13379 xno) ;;
13380 *) as_fn_error $? "pthread ${notice_platform}development files not found.
13381 Wine cannot support threads without libpthread.
13382 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
13383 esac
13388 ac_ext=c
13389 ac_cpp='$CPP $CPPFLAGS'
13390 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13391 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13392 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13393 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
13394 printf %s "checking how to run the C preprocessor... " >&6; }
13395 # On Suns, sometimes $CPP names a directory.
13396 if test -n "$CPP" && test -d "$CPP"; then
13397 CPP=
13399 if test -z "$CPP"; then
13400 if test ${ac_cv_prog_CPP+y}
13401 then :
13402 printf %s "(cached) " >&6
13403 else $as_nop
13404 # Double quotes because $CC needs to be expanded
13405 for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
13407 ac_preproc_ok=false
13408 for ac_c_preproc_warn_flag in '' yes
13410 # Use a header file that comes with gcc, so configuring glibc
13411 # with a fresh cross-compiler works.
13412 # On the NeXT, cc -E runs the code through the compiler's parser,
13413 # not just through cpp. "Syntax error" is here to catch this case.
13414 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13415 /* end confdefs.h. */
13416 #include <limits.h>
13417 Syntax error
13418 _ACEOF
13419 if ac_fn_c_try_cpp "$LINENO"
13420 then :
13422 else $as_nop
13423 # Broken: fails on valid input.
13424 continue
13426 rm -f conftest.err conftest.i conftest.$ac_ext
13428 # OK, works on sane cases. Now check whether nonexistent headers
13429 # can be detected and how.
13430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13431 /* end confdefs.h. */
13432 #include <ac_nonexistent.h>
13433 _ACEOF
13434 if ac_fn_c_try_cpp "$LINENO"
13435 then :
13436 # Broken: success on invalid input.
13437 continue
13438 else $as_nop
13439 # Passes both tests.
13440 ac_preproc_ok=:
13441 break
13443 rm -f conftest.err conftest.i conftest.$ac_ext
13445 done
13446 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13447 rm -f conftest.i conftest.err conftest.$ac_ext
13448 if $ac_preproc_ok
13449 then :
13450 break
13453 done
13454 ac_cv_prog_CPP=$CPP
13457 CPP=$ac_cv_prog_CPP
13458 else
13459 ac_cv_prog_CPP=$CPP
13461 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
13462 printf "%s\n" "$CPP" >&6; }
13463 ac_preproc_ok=false
13464 for ac_c_preproc_warn_flag in '' yes
13466 # Use a header file that comes with gcc, so configuring glibc
13467 # with a fresh cross-compiler works.
13468 # On the NeXT, cc -E runs the code through the compiler's parser,
13469 # not just through cpp. "Syntax error" is here to catch this case.
13470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13471 /* end confdefs.h. */
13472 #include <limits.h>
13473 Syntax error
13474 _ACEOF
13475 if ac_fn_c_try_cpp "$LINENO"
13476 then :
13478 else $as_nop
13479 # Broken: fails on valid input.
13480 continue
13482 rm -f conftest.err conftest.i conftest.$ac_ext
13484 # OK, works on sane cases. Now check whether nonexistent headers
13485 # can be detected and how.
13486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13487 /* end confdefs.h. */
13488 #include <ac_nonexistent.h>
13489 _ACEOF
13490 if ac_fn_c_try_cpp "$LINENO"
13491 then :
13492 # Broken: success on invalid input.
13493 continue
13494 else $as_nop
13495 # Passes both tests.
13496 ac_preproc_ok=:
13497 break
13499 rm -f conftest.err conftest.i conftest.$ac_ext
13501 done
13502 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13503 rm -f conftest.i conftest.err conftest.$ac_ext
13504 if $ac_preproc_ok
13505 then :
13507 else $as_nop
13508 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13509 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
13510 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
13511 See \`config.log' for more details" "$LINENO" 5; }
13514 ac_ext=c
13515 ac_cpp='$CPP $CPPFLAGS'
13516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13521 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X" >&5
13522 printf %s "checking for X... " >&6; }
13525 # Check whether --with-x was given.
13526 if test ${with_x+y}
13527 then :
13528 withval=$with_x;
13531 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13532 if test "x$with_x" = xno; then
13533 # The user explicitly disabled X.
13534 have_x=disabled
13535 else
13536 case $x_includes,$x_libraries in #(
13537 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
13538 *,NONE | NONE,*) if test ${ac_cv_have_x+y}
13539 then :
13540 printf %s "(cached) " >&6
13541 else $as_nop
13542 # One or both of the vars are not set, and there is no cached value.
13543 ac_x_includes=no
13544 ac_x_libraries=no
13545 # Do we need to do anything special at all?
13546 ac_save_LIBS=$LIBS
13547 LIBS="-lX11 $LIBS"
13548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13549 /* end confdefs.h. */
13550 #include <X11/Xlib.h>
13552 main (void)
13554 XrmInitialize ()
13556 return 0;
13558 _ACEOF
13559 if ac_fn_c_try_link "$LINENO"
13560 then :
13561 # We can compile and link X programs with no special options.
13562 ac_x_includes=
13563 ac_x_libraries=
13565 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13566 conftest$ac_exeext conftest.$ac_ext
13567 LIBS="$ac_save_LIBS"
13568 # If that didn't work, only try xmkmf and file system searches
13569 # for native compilation.
13570 if test x"$ac_x_includes" = xno && test "$cross_compiling" = no
13571 then :
13572 rm -f -r conftest.dir
13573 if mkdir conftest.dir; then
13574 cd conftest.dir
13575 cat >Imakefile <<'_ACEOF'
13576 incroot:
13577 @echo incroot='${INCROOT}'
13578 usrlibdir:
13579 @echo usrlibdir='${USRLIBDIR}'
13580 libdir:
13581 @echo libdir='${LIBDIR}'
13582 _ACEOF
13583 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
13584 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
13585 for ac_var in incroot usrlibdir libdir; do
13586 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
13587 done
13588 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
13589 for ac_extension in a so sl dylib la dll; do
13590 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
13591 test -f "$ac_im_libdir/libX11.$ac_extension"; then
13592 ac_im_usrlibdir=$ac_im_libdir; break
13594 done
13595 # Screen out bogus values from the imake configuration. They are
13596 # bogus both because they are the default anyway, and because
13597 # using them would break gcc on systems where it needs fixed includes.
13598 case $ac_im_incroot in
13599 /usr/include) ac_x_includes= ;;
13600 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
13601 esac
13602 case $ac_im_usrlibdir in
13603 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
13604 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
13605 esac
13607 cd ..
13608 rm -f -r conftest.dir
13611 # Standard set of common directories for X headers.
13612 # Check X11 before X11Rn because it is often a symlink to the current release.
13613 ac_x_header_dirs='
13614 /usr/X11/include
13615 /usr/X11R7/include
13616 /usr/X11R6/include
13617 /usr/X11R5/include
13618 /usr/X11R4/include
13620 /usr/include/X11
13621 /usr/include/X11R7
13622 /usr/include/X11R6
13623 /usr/include/X11R5
13624 /usr/include/X11R4
13626 /usr/local/X11/include
13627 /usr/local/X11R7/include
13628 /usr/local/X11R6/include
13629 /usr/local/X11R5/include
13630 /usr/local/X11R4/include
13632 /usr/local/include/X11
13633 /usr/local/include/X11R7
13634 /usr/local/include/X11R6
13635 /usr/local/include/X11R5
13636 /usr/local/include/X11R4
13638 /opt/X11/include
13640 /usr/X386/include
13641 /usr/x386/include
13642 /usr/XFree86/include/X11
13644 /usr/include
13645 /usr/local/include
13646 /usr/unsupported/include
13647 /usr/athena/include
13648 /usr/local/x11r5/include
13649 /usr/lpp/Xamples/include
13651 /usr/openwin/include
13652 /usr/openwin/share/include'
13654 if test "$ac_x_includes" = no; then
13655 # Guess where to find include files, by looking for Xlib.h.
13656 # First, try using that file with no special directory specified.
13657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13658 /* end confdefs.h. */
13659 #include <X11/Xlib.h>
13660 _ACEOF
13661 if ac_fn_c_try_cpp "$LINENO"
13662 then :
13663 # We can compile using X headers with no special include directory.
13664 ac_x_includes=
13665 else $as_nop
13666 for ac_dir in $ac_x_header_dirs; do
13667 if test -r "$ac_dir/X11/Xlib.h"; then
13668 ac_x_includes=$ac_dir
13669 break
13671 done
13673 rm -f conftest.err conftest.i conftest.$ac_ext
13674 fi # $ac_x_includes = no
13676 if test "$ac_x_libraries" = no; then
13677 # Check for the libraries.
13678 # See if we find them without any special options.
13679 # Don't add to $LIBS permanently.
13680 ac_save_LIBS=$LIBS
13681 LIBS="-lX11 $LIBS"
13682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13683 /* end confdefs.h. */
13684 #include <X11/Xlib.h>
13686 main (void)
13688 XrmInitialize ()
13690 return 0;
13692 _ACEOF
13693 if ac_fn_c_try_link "$LINENO"
13694 then :
13695 LIBS=$ac_save_LIBS
13696 # We can link X programs with no special library path.
13697 ac_x_libraries=
13698 else $as_nop
13699 LIBS=$ac_save_LIBS
13700 for ac_dir in `printf "%s\n" "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
13702 # Don't even attempt the hair of trying to link an X program!
13703 for ac_extension in a so sl dylib la dll; do
13704 if test -r "$ac_dir/libX11.$ac_extension"; then
13705 ac_x_libraries=$ac_dir
13706 break 2
13708 done
13709 done
13711 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13712 conftest$ac_exeext conftest.$ac_ext
13713 fi # $ac_x_libraries = no
13716 # Record the results.
13717 case $ac_x_includes,$ac_x_libraries in #(
13718 no,* | *,no | *\'*) :
13719 # Didn't find X, or a directory has "'" in its name.
13720 ac_cv_have_x="have_x=no" ;; #(
13721 *) :
13722 # Record where we found X for the cache.
13723 ac_cv_have_x="have_x=yes\
13724 ac_x_includes='$ac_x_includes'\
13725 ac_x_libraries='$ac_x_libraries'" ;;
13726 esac
13728 ;; #(
13729 *) have_x=yes;;
13730 esac
13731 eval "$ac_cv_have_x"
13732 fi # $with_x != no
13734 if test "$have_x" != yes; then
13735 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
13736 printf "%s\n" "$have_x" >&6; }
13737 no_x=yes
13738 else
13739 # If each of the values was on the command line, it overrides each guess.
13740 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
13741 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
13742 # Update the cache value to reflect the command line values.
13743 ac_cv_have_x="have_x=yes\
13744 ac_x_includes='$x_includes'\
13745 ac_x_libraries='$x_libraries'"
13746 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
13747 printf "%s\n" "libraries $x_libraries, headers $x_includes" >&6; }
13750 if test "$no_x" = yes; then
13751 # Not all programs may use this symbol, but it does not hurt to define it.
13753 printf "%s\n" "#define X_DISPLAY_MISSING 1" >>confdefs.h
13755 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
13756 else
13757 if test -n "$x_includes"; then
13758 X_CFLAGS="$X_CFLAGS -I$x_includes"
13761 # It would also be nice to do this for all -L options, not just this one.
13762 if test -n "$x_libraries"; then
13763 X_LIBS="$X_LIBS -L$x_libraries"
13764 # For Solaris; some versions of Sun CC require a space after -R and
13765 # others require no space. Words are not sufficient . . . .
13766 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
13767 printf %s "checking whether -R must be followed by a space... " >&6; }
13768 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
13769 ac_xsave_c_werror_flag=$ac_c_werror_flag
13770 ac_c_werror_flag=yes
13771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13772 /* end confdefs.h. */
13775 main (void)
13779 return 0;
13781 _ACEOF
13782 if ac_fn_c_try_link "$LINENO"
13783 then :
13784 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13785 printf "%s\n" "no" >&6; }
13786 X_LIBS="$X_LIBS -R$x_libraries"
13787 else $as_nop
13788 LIBS="$ac_xsave_LIBS -R $x_libraries"
13789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13790 /* end confdefs.h. */
13793 main (void)
13797 return 0;
13799 _ACEOF
13800 if ac_fn_c_try_link "$LINENO"
13801 then :
13802 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13803 printf "%s\n" "yes" >&6; }
13804 X_LIBS="$X_LIBS -R $x_libraries"
13805 else $as_nop
13806 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
13807 printf "%s\n" "neither works" >&6; }
13809 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13810 conftest$ac_exeext conftest.$ac_ext
13812 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13813 conftest$ac_exeext conftest.$ac_ext
13814 ac_c_werror_flag=$ac_xsave_c_werror_flag
13815 LIBS=$ac_xsave_LIBS
13818 # Check for system-dependent libraries X programs must link with.
13819 # Do this before checking for the system-independent R6 libraries
13820 # (-lICE), since we may need -lsocket or whatever for X linking.
13822 if test "$ISC" = yes; then
13823 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
13824 else
13825 # Martyn Johnson says this is needed for Ultrix, if the X
13826 # libraries were built with DECnet support. And Karl Berry says
13827 # the Alpha needs dnet_stub (dnet does not exist).
13828 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
13829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13830 /* end confdefs.h. */
13832 /* Override any GCC internal prototype to avoid an error.
13833 Use char because int might match the return type of a GCC
13834 builtin and then its argument prototype would still apply. */
13835 char XOpenDisplay ();
13837 main (void)
13839 return XOpenDisplay ();
13841 return 0;
13843 _ACEOF
13844 if ac_fn_c_try_link "$LINENO"
13845 then :
13847 else $as_nop
13848 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
13849 printf %s "checking for dnet_ntoa in -ldnet... " >&6; }
13850 if test ${ac_cv_lib_dnet_dnet_ntoa+y}
13851 then :
13852 printf %s "(cached) " >&6
13853 else $as_nop
13854 ac_check_lib_save_LIBS=$LIBS
13855 LIBS="-ldnet $LIBS"
13856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13857 /* end confdefs.h. */
13859 /* Override any GCC internal prototype to avoid an error.
13860 Use char because int might match the return type of a GCC
13861 builtin and then its argument prototype would still apply. */
13862 char dnet_ntoa ();
13864 main (void)
13866 return dnet_ntoa ();
13868 return 0;
13870 _ACEOF
13871 if ac_fn_c_try_link "$LINENO"
13872 then :
13873 ac_cv_lib_dnet_dnet_ntoa=yes
13874 else $as_nop
13875 ac_cv_lib_dnet_dnet_ntoa=no
13877 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13878 conftest$ac_exeext conftest.$ac_ext
13879 LIBS=$ac_check_lib_save_LIBS
13881 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
13882 printf "%s\n" "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
13883 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
13884 then :
13885 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
13888 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
13889 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
13890 printf %s "checking for dnet_ntoa in -ldnet_stub... " >&6; }
13891 if test ${ac_cv_lib_dnet_stub_dnet_ntoa+y}
13892 then :
13893 printf %s "(cached) " >&6
13894 else $as_nop
13895 ac_check_lib_save_LIBS=$LIBS
13896 LIBS="-ldnet_stub $LIBS"
13897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13898 /* end confdefs.h. */
13900 /* Override any GCC internal prototype to avoid an error.
13901 Use char because int might match the return type of a GCC
13902 builtin and then its argument prototype would still apply. */
13903 char dnet_ntoa ();
13905 main (void)
13907 return dnet_ntoa ();
13909 return 0;
13911 _ACEOF
13912 if ac_fn_c_try_link "$LINENO"
13913 then :
13914 ac_cv_lib_dnet_stub_dnet_ntoa=yes
13915 else $as_nop
13916 ac_cv_lib_dnet_stub_dnet_ntoa=no
13918 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13919 conftest$ac_exeext conftest.$ac_ext
13920 LIBS=$ac_check_lib_save_LIBS
13922 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
13923 printf "%s\n" "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
13924 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
13925 then :
13926 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
13931 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13932 conftest$ac_exeext conftest.$ac_ext
13933 LIBS="$ac_xsave_LIBS"
13935 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
13936 # to get the SysV transport functions.
13937 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
13938 # needs -lnsl.
13939 # The nsl library prevents programs from opening the X display
13940 # on Irix 5.2, according to T.E. Dickey.
13941 # The functions gethostbyname, getservbyname, and inet_addr are
13942 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
13943 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
13944 if test "x$ac_cv_func_gethostbyname" = xyes
13945 then :
13949 if test $ac_cv_func_gethostbyname = no; then
13950 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
13951 printf %s "checking for gethostbyname in -lnsl... " >&6; }
13952 if test ${ac_cv_lib_nsl_gethostbyname+y}
13953 then :
13954 printf %s "(cached) " >&6
13955 else $as_nop
13956 ac_check_lib_save_LIBS=$LIBS
13957 LIBS="-lnsl $LIBS"
13958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13959 /* end confdefs.h. */
13961 /* Override any GCC internal prototype to avoid an error.
13962 Use char because int might match the return type of a GCC
13963 builtin and then its argument prototype would still apply. */
13964 char gethostbyname ();
13966 main (void)
13968 return gethostbyname ();
13970 return 0;
13972 _ACEOF
13973 if ac_fn_c_try_link "$LINENO"
13974 then :
13975 ac_cv_lib_nsl_gethostbyname=yes
13976 else $as_nop
13977 ac_cv_lib_nsl_gethostbyname=no
13979 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13980 conftest$ac_exeext conftest.$ac_ext
13981 LIBS=$ac_check_lib_save_LIBS
13983 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
13984 printf "%s\n" "$ac_cv_lib_nsl_gethostbyname" >&6; }
13985 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
13986 then :
13987 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
13990 if test $ac_cv_lib_nsl_gethostbyname = no; then
13991 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
13992 printf %s "checking for gethostbyname in -lbsd... " >&6; }
13993 if test ${ac_cv_lib_bsd_gethostbyname+y}
13994 then :
13995 printf %s "(cached) " >&6
13996 else $as_nop
13997 ac_check_lib_save_LIBS=$LIBS
13998 LIBS="-lbsd $LIBS"
13999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14000 /* end confdefs.h. */
14002 /* Override any GCC internal prototype to avoid an error.
14003 Use char because int might match the return type of a GCC
14004 builtin and then its argument prototype would still apply. */
14005 char gethostbyname ();
14007 main (void)
14009 return gethostbyname ();
14011 return 0;
14013 _ACEOF
14014 if ac_fn_c_try_link "$LINENO"
14015 then :
14016 ac_cv_lib_bsd_gethostbyname=yes
14017 else $as_nop
14018 ac_cv_lib_bsd_gethostbyname=no
14020 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14021 conftest$ac_exeext conftest.$ac_ext
14022 LIBS=$ac_check_lib_save_LIBS
14024 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
14025 printf "%s\n" "$ac_cv_lib_bsd_gethostbyname" >&6; }
14026 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
14027 then :
14028 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
14034 # lieder@skyler.mavd.honeywell.com says without -lsocket,
14035 # socket/setsockopt and other routines are undefined under SCO ODT
14036 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
14037 # on later versions), says Simon Leinen: it contains gethostby*
14038 # variants that don't use the name server (or something). -lsocket
14039 # must be given before -lnsl if both are needed. We assume that
14040 # if connect needs -lnsl, so does gethostbyname.
14041 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
14042 if test "x$ac_cv_func_connect" = xyes
14043 then :
14047 if test $ac_cv_func_connect = no; then
14048 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
14049 printf %s "checking for connect in -lsocket... " >&6; }
14050 if test ${ac_cv_lib_socket_connect+y}
14051 then :
14052 printf %s "(cached) " >&6
14053 else $as_nop
14054 ac_check_lib_save_LIBS=$LIBS
14055 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
14056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14057 /* end confdefs.h. */
14059 /* Override any GCC internal prototype to avoid an error.
14060 Use char because int might match the return type of a GCC
14061 builtin and then its argument prototype would still apply. */
14062 char connect ();
14064 main (void)
14066 return connect ();
14068 return 0;
14070 _ACEOF
14071 if ac_fn_c_try_link "$LINENO"
14072 then :
14073 ac_cv_lib_socket_connect=yes
14074 else $as_nop
14075 ac_cv_lib_socket_connect=no
14077 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14078 conftest$ac_exeext conftest.$ac_ext
14079 LIBS=$ac_check_lib_save_LIBS
14081 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
14082 printf "%s\n" "$ac_cv_lib_socket_connect" >&6; }
14083 if test "x$ac_cv_lib_socket_connect" = xyes
14084 then :
14085 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
14090 # Guillermo Gomez says -lposix is necessary on A/UX.
14091 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
14092 if test "x$ac_cv_func_remove" = xyes
14093 then :
14097 if test $ac_cv_func_remove = no; then
14098 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
14099 printf %s "checking for remove in -lposix... " >&6; }
14100 if test ${ac_cv_lib_posix_remove+y}
14101 then :
14102 printf %s "(cached) " >&6
14103 else $as_nop
14104 ac_check_lib_save_LIBS=$LIBS
14105 LIBS="-lposix $LIBS"
14106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14107 /* end confdefs.h. */
14109 /* Override any GCC internal prototype to avoid an error.
14110 Use char because int might match the return type of a GCC
14111 builtin and then its argument prototype would still apply. */
14112 char remove ();
14114 main (void)
14116 return remove ();
14118 return 0;
14120 _ACEOF
14121 if ac_fn_c_try_link "$LINENO"
14122 then :
14123 ac_cv_lib_posix_remove=yes
14124 else $as_nop
14125 ac_cv_lib_posix_remove=no
14127 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14128 conftest$ac_exeext conftest.$ac_ext
14129 LIBS=$ac_check_lib_save_LIBS
14131 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
14132 printf "%s\n" "$ac_cv_lib_posix_remove" >&6; }
14133 if test "x$ac_cv_lib_posix_remove" = xyes
14134 then :
14135 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
14140 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
14141 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
14142 if test "x$ac_cv_func_shmat" = xyes
14143 then :
14147 if test $ac_cv_func_shmat = no; then
14148 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
14149 printf %s "checking for shmat in -lipc... " >&6; }
14150 if test ${ac_cv_lib_ipc_shmat+y}
14151 then :
14152 printf %s "(cached) " >&6
14153 else $as_nop
14154 ac_check_lib_save_LIBS=$LIBS
14155 LIBS="-lipc $LIBS"
14156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14157 /* end confdefs.h. */
14159 /* Override any GCC internal prototype to avoid an error.
14160 Use char because int might match the return type of a GCC
14161 builtin and then its argument prototype would still apply. */
14162 char shmat ();
14164 main (void)
14166 return shmat ();
14168 return 0;
14170 _ACEOF
14171 if ac_fn_c_try_link "$LINENO"
14172 then :
14173 ac_cv_lib_ipc_shmat=yes
14174 else $as_nop
14175 ac_cv_lib_ipc_shmat=no
14177 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14178 conftest$ac_exeext conftest.$ac_ext
14179 LIBS=$ac_check_lib_save_LIBS
14181 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
14182 printf "%s\n" "$ac_cv_lib_ipc_shmat" >&6; }
14183 if test "x$ac_cv_lib_ipc_shmat" = xyes
14184 then :
14185 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
14191 # Check for libraries that X11R6 Xt/Xaw programs need.
14192 ac_save_LDFLAGS=$LDFLAGS
14193 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
14194 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
14195 # check for ICE first), but we must link in the order -lSM -lICE or
14196 # we get undefined symbols. So assume we have SM if we have ICE.
14197 # These have to be linked with before -lX11, unlike the other
14198 # libraries we check for below, so use a different variable.
14199 # John Interrante, Karl Berry
14200 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
14201 printf %s "checking for IceConnectionNumber in -lICE... " >&6; }
14202 if test ${ac_cv_lib_ICE_IceConnectionNumber+y}
14203 then :
14204 printf %s "(cached) " >&6
14205 else $as_nop
14206 ac_check_lib_save_LIBS=$LIBS
14207 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
14208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14209 /* end confdefs.h. */
14211 /* Override any GCC internal prototype to avoid an error.
14212 Use char because int might match the return type of a GCC
14213 builtin and then its argument prototype would still apply. */
14214 char IceConnectionNumber ();
14216 main (void)
14218 return IceConnectionNumber ();
14220 return 0;
14222 _ACEOF
14223 if ac_fn_c_try_link "$LINENO"
14224 then :
14225 ac_cv_lib_ICE_IceConnectionNumber=yes
14226 else $as_nop
14227 ac_cv_lib_ICE_IceConnectionNumber=no
14229 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14230 conftest$ac_exeext conftest.$ac_ext
14231 LIBS=$ac_check_lib_save_LIBS
14233 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
14234 printf "%s\n" "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
14235 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
14236 then :
14237 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
14240 LDFLAGS=$ac_save_LDFLAGS
14245 if test "$have_x" = "yes"
14246 then
14247 ac_save_CPPFLAGS="$CPPFLAGS"
14248 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
14250 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
14251 printf %s "checking for -lX11... " >&6; }
14252 if test ${ac_cv_lib_soname_X11+y}
14253 then :
14254 printf %s "(cached) " >&6
14255 else $as_nop
14256 ac_check_soname_save_LIBS=$LIBS
14257 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14259 /* end confdefs.h. */
14261 /* Override any GCC internal prototype to avoid an error.
14262 Use char because int might match the return type of a GCC
14263 builtin and then its argument prototype would still apply. */
14264 char XCreateWindow ();
14266 main (void)
14268 return XCreateWindow ();
14270 return 0;
14272 _ACEOF
14273 if ac_fn_c_try_link "$LINENO"
14274 then :
14275 case "$LIBEXT" in
14276 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14277 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'` ;;
14278 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14279 if ${ac_cv_lib_soname_X11:+false} :
14280 then :
14281 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14282 fi ;;
14283 esac
14284 else $as_nop
14285 ac_cv_lib_soname_X11=
14287 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14288 conftest$ac_exeext conftest.$ac_ext
14289 LIBS=$ac_check_soname_save_LIBS
14291 if ${ac_cv_lib_soname_X11:+false} :
14292 then :
14293 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14294 printf "%s\n" "not found" >&6; }
14296 else $as_nop
14297 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
14298 printf "%s\n" "$ac_cv_lib_soname_X11" >&6; }
14300 printf "%s\n" "#define SONAME_LIBX11 \"$ac_cv_lib_soname_X11\"" >>confdefs.h
14304 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
14305 printf %s "checking for -lXext... " >&6; }
14306 if test ${ac_cv_lib_soname_Xext+y}
14307 then :
14308 printf %s "(cached) " >&6
14309 else $as_nop
14310 ac_check_soname_save_LIBS=$LIBS
14311 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14313 /* end confdefs.h. */
14315 /* Override any GCC internal prototype to avoid an error.
14316 Use char because int might match the return type of a GCC
14317 builtin and then its argument prototype would still apply. */
14318 char XextCreateExtension ();
14320 main (void)
14322 return XextCreateExtension ();
14324 return 0;
14326 _ACEOF
14327 if ac_fn_c_try_link "$LINENO"
14328 then :
14329 case "$LIBEXT" in
14330 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14331 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'` ;;
14332 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14333 if ${ac_cv_lib_soname_Xext:+false} :
14334 then :
14335 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14336 fi ;;
14337 esac
14338 else $as_nop
14339 ac_cv_lib_soname_Xext=
14341 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14342 conftest$ac_exeext conftest.$ac_ext
14343 LIBS=$ac_check_soname_save_LIBS
14345 if ${ac_cv_lib_soname_Xext:+false} :
14346 then :
14347 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14348 printf "%s\n" "not found" >&6; }
14350 else $as_nop
14351 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
14352 printf "%s\n" "$ac_cv_lib_soname_Xext" >&6; }
14354 printf "%s\n" "#define SONAME_LIBXEXT \"$ac_cv_lib_soname_Xext\"" >>confdefs.h
14356 X_LIBS="$X_LIBS -lXext"
14358 X_LIBS="$X_LIBS -lX11"
14360 ac_fn_c_check_header_compile "$LINENO" "X11/Xlib.h" "ac_cv_header_X11_Xlib_h" "#ifdef HAVE_X11_XLIB_H
14361 # include <X11/Xlib.h>
14362 #endif
14363 #ifdef HAVE_X11_XUTIL_H
14364 # include <X11/Xutil.h>
14365 #endif
14367 if test "x$ac_cv_header_X11_Xlib_h" = xyes
14368 then :
14369 printf "%s\n" "#define HAVE_X11_XLIB_H 1" >>confdefs.h
14372 ac_fn_c_check_header_compile "$LINENO" "X11/XKBlib.h" "ac_cv_header_X11_XKBlib_h" "#ifdef HAVE_X11_XLIB_H
14373 # include <X11/Xlib.h>
14374 #endif
14375 #ifdef HAVE_X11_XUTIL_H
14376 # include <X11/Xutil.h>
14377 #endif
14379 if test "x$ac_cv_header_X11_XKBlib_h" = xyes
14380 then :
14381 printf "%s\n" "#define HAVE_X11_XKBLIB_H 1" >>confdefs.h
14384 ac_fn_c_check_header_compile "$LINENO" "X11/Xutil.h" "ac_cv_header_X11_Xutil_h" "#ifdef HAVE_X11_XLIB_H
14385 # include <X11/Xlib.h>
14386 #endif
14387 #ifdef HAVE_X11_XUTIL_H
14388 # include <X11/Xutil.h>
14389 #endif
14391 if test "x$ac_cv_header_X11_Xutil_h" = xyes
14392 then :
14393 printf "%s\n" "#define HAVE_X11_XUTIL_H 1" >>confdefs.h
14396 ac_fn_c_check_header_compile "$LINENO" "X11/Xcursor/Xcursor.h" "ac_cv_header_X11_Xcursor_Xcursor_h" "#ifdef HAVE_X11_XLIB_H
14397 # include <X11/Xlib.h>
14398 #endif
14399 #ifdef HAVE_X11_XUTIL_H
14400 # include <X11/Xutil.h>
14401 #endif
14403 if test "x$ac_cv_header_X11_Xcursor_Xcursor_h" = xyes
14404 then :
14405 printf "%s\n" "#define HAVE_X11_XCURSOR_XCURSOR_H 1" >>confdefs.h
14408 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/shape.h" "ac_cv_header_X11_extensions_shape_h" "#ifdef HAVE_X11_XLIB_H
14409 # include <X11/Xlib.h>
14410 #endif
14411 #ifdef HAVE_X11_XUTIL_H
14412 # include <X11/Xutil.h>
14413 #endif
14415 if test "x$ac_cv_header_X11_extensions_shape_h" = xyes
14416 then :
14417 printf "%s\n" "#define HAVE_X11_EXTENSIONS_SHAPE_H 1" >>confdefs.h
14420 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput.h" "ac_cv_header_X11_extensions_XInput_h" "#ifdef HAVE_X11_XLIB_H
14421 # include <X11/Xlib.h>
14422 #endif
14423 #ifdef HAVE_X11_XUTIL_H
14424 # include <X11/Xutil.h>
14425 #endif
14427 if test "x$ac_cv_header_X11_extensions_XInput_h" = xyes
14428 then :
14429 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT_H 1" >>confdefs.h
14432 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput2.h" "ac_cv_header_X11_extensions_XInput2_h" "#ifdef HAVE_X11_XLIB_H
14433 # include <X11/Xlib.h>
14434 #endif
14435 #ifdef HAVE_X11_XUTIL_H
14436 # include <X11/Xutil.h>
14437 #endif
14439 if test "x$ac_cv_header_X11_extensions_XInput2_h" = xyes
14440 then :
14441 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT2_H 1" >>confdefs.h
14444 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XShm.h" "ac_cv_header_X11_extensions_XShm_h" "#ifdef HAVE_X11_XLIB_H
14445 # include <X11/Xlib.h>
14446 #endif
14447 #ifdef HAVE_X11_XUTIL_H
14448 # include <X11/Xutil.h>
14449 #endif
14451 if test "x$ac_cv_header_X11_extensions_XShm_h" = xyes
14452 then :
14453 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XSHM_H 1" >>confdefs.h
14456 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xcomposite.h" "ac_cv_header_X11_extensions_Xcomposite_h" "#ifdef HAVE_X11_XLIB_H
14457 # include <X11/Xlib.h>
14458 #endif
14459 #ifdef HAVE_X11_XUTIL_H
14460 # include <X11/Xutil.h>
14461 #endif
14463 if test "x$ac_cv_header_X11_extensions_Xcomposite_h" = xyes
14464 then :
14465 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XCOMPOSITE_H 1" >>confdefs.h
14468 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xfixes.h" "ac_cv_header_X11_extensions_Xfixes_h" "#ifdef HAVE_X11_XLIB_H
14469 # include <X11/Xlib.h>
14470 #endif
14471 #ifdef HAVE_X11_XUTIL_H
14472 # include <X11/Xutil.h>
14473 #endif
14475 if test "x$ac_cv_header_X11_extensions_Xfixes_h" = xyes
14476 then :
14477 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XFIXES_H 1" >>confdefs.h
14480 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xinerama.h" "ac_cv_header_X11_extensions_Xinerama_h" "#ifdef HAVE_X11_XLIB_H
14481 # include <X11/Xlib.h>
14482 #endif
14483 #ifdef HAVE_X11_XUTIL_H
14484 # include <X11/Xutil.h>
14485 #endif
14487 if test "x$ac_cv_header_X11_extensions_Xinerama_h" = xyes
14488 then :
14489 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINERAMA_H 1" >>confdefs.h
14492 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrandr.h" "ac_cv_header_X11_extensions_Xrandr_h" "#ifdef HAVE_X11_XLIB_H
14493 # include <X11/Xlib.h>
14494 #endif
14495 #ifdef HAVE_X11_XUTIL_H
14496 # include <X11/Xutil.h>
14497 #endif
14499 if test "x$ac_cv_header_X11_extensions_Xrandr_h" = xyes
14500 then :
14501 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRANDR_H 1" >>confdefs.h
14504 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_h" "#ifdef HAVE_X11_XLIB_H
14505 # include <X11/Xlib.h>
14506 #endif
14507 #ifdef HAVE_X11_XUTIL_H
14508 # include <X11/Xutil.h>
14509 #endif
14511 if test "x$ac_cv_header_X11_extensions_Xrender_h" = xyes
14512 then :
14513 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRENDER_H 1" >>confdefs.h
14516 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmode.h" "ac_cv_header_X11_extensions_xf86vmode_h" "#ifdef HAVE_X11_XLIB_H
14517 # include <X11/Xlib.h>
14518 #endif
14519 #ifdef HAVE_X11_XUTIL_H
14520 # include <X11/Xutil.h>
14521 #endif
14523 if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = xyes
14524 then :
14525 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMODE_H 1" >>confdefs.h
14528 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmproto.h" "ac_cv_header_X11_extensions_xf86vmproto_h" "#ifdef HAVE_X11_XLIB_H
14529 # include <X11/Xlib.h>
14530 #endif
14531 #ifdef HAVE_X11_XUTIL_H
14532 # include <X11/Xutil.h>
14533 #endif
14535 if test "x$ac_cv_header_X11_extensions_xf86vmproto_h" = xyes
14536 then :
14537 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMPROTO_H 1" >>confdefs.h
14542 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
14543 then
14544 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
14545 printf %s "checking for XkbQueryExtension in -lX11... " >&6; }
14546 if test ${ac_cv_lib_X11_XkbQueryExtension+y}
14547 then :
14548 printf %s "(cached) " >&6
14549 else $as_nop
14550 ac_check_lib_save_LIBS=$LIBS
14551 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14553 /* end confdefs.h. */
14555 /* Override any GCC internal prototype to avoid an error.
14556 Use char because int might match the return type of a GCC
14557 builtin and then its argument prototype would still apply. */
14558 char XkbQueryExtension ();
14560 main (void)
14562 return XkbQueryExtension ();
14564 return 0;
14566 _ACEOF
14567 if ac_fn_c_try_link "$LINENO"
14568 then :
14569 ac_cv_lib_X11_XkbQueryExtension=yes
14570 else $as_nop
14571 ac_cv_lib_X11_XkbQueryExtension=no
14573 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14574 conftest$ac_exeext conftest.$ac_ext
14575 LIBS=$ac_check_lib_save_LIBS
14577 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
14578 printf "%s\n" "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
14579 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
14580 then :
14582 printf "%s\n" "#define HAVE_XKB 1" >>confdefs.h
14588 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
14589 then
14590 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
14591 printf %s "checking for -lXcursor... " >&6; }
14592 if test ${ac_cv_lib_soname_Xcursor+y}
14593 then :
14594 printf %s "(cached) " >&6
14595 else $as_nop
14596 ac_check_soname_save_LIBS=$LIBS
14597 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
14598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14599 /* end confdefs.h. */
14601 /* Override any GCC internal prototype to avoid an error.
14602 Use char because int might match the return type of a GCC
14603 builtin and then its argument prototype would still apply. */
14604 char XcursorImageLoadCursor ();
14606 main (void)
14608 return XcursorImageLoadCursor ();
14610 return 0;
14612 _ACEOF
14613 if ac_fn_c_try_link "$LINENO"
14614 then :
14615 case "$LIBEXT" in
14616 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14617 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'` ;;
14618 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14619 if ${ac_cv_lib_soname_Xcursor:+false} :
14620 then :
14621 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14622 fi ;;
14623 esac
14624 else $as_nop
14625 ac_cv_lib_soname_Xcursor=
14627 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14628 conftest$ac_exeext conftest.$ac_ext
14629 LIBS=$ac_check_soname_save_LIBS
14631 if ${ac_cv_lib_soname_Xcursor:+false} :
14632 then :
14633 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14634 printf "%s\n" "not found" >&6; }
14636 else $as_nop
14637 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
14638 printf "%s\n" "$ac_cv_lib_soname_Xcursor" >&6; }
14640 printf "%s\n" "#define SONAME_LIBXCURSOR \"$ac_cv_lib_soname_Xcursor\"" >>confdefs.h
14645 if test "x$ac_cv_lib_soname_Xcursor" = "x"
14646 then :
14647 case "x$with_xcursor" in
14648 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
14649 xno) ;;
14650 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
14651 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
14652 esac
14656 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
14657 then
14658 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
14659 printf %s "checking for -lXi... " >&6; }
14660 if test ${ac_cv_lib_soname_Xi+y}
14661 then :
14662 printf %s "(cached) " >&6
14663 else $as_nop
14664 ac_check_soname_save_LIBS=$LIBS
14665 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
14666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14667 /* end confdefs.h. */
14669 /* Override any GCC internal prototype to avoid an error.
14670 Use char because int might match the return type of a GCC
14671 builtin and then its argument prototype would still apply. */
14672 char XOpenDevice ();
14674 main (void)
14676 return XOpenDevice ();
14678 return 0;
14680 _ACEOF
14681 if ac_fn_c_try_link "$LINENO"
14682 then :
14683 case "$LIBEXT" in
14684 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14685 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'` ;;
14686 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14687 if ${ac_cv_lib_soname_Xi:+false} :
14688 then :
14689 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14690 fi ;;
14691 esac
14692 else $as_nop
14693 ac_cv_lib_soname_Xi=
14695 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14696 conftest$ac_exeext conftest.$ac_ext
14697 LIBS=$ac_check_soname_save_LIBS
14699 if ${ac_cv_lib_soname_Xi:+false} :
14700 then :
14701 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14702 printf "%s\n" "not found" >&6; }
14704 else $as_nop
14705 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
14706 printf "%s\n" "$ac_cv_lib_soname_Xi" >&6; }
14708 printf "%s\n" "#define SONAME_LIBXI \"$ac_cv_lib_soname_Xi\"" >>confdefs.h
14713 if test "x$ac_cv_lib_soname_Xi" = "x"
14714 then :
14715 case "x$with_xinput" in
14716 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
14717 xno) ;;
14718 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
14719 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
14720 esac
14724 if test "x$ac_cv_lib_soname_Xi" != x
14725 then
14726 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"
14727 then :
14728 case "x$with_xinput2" in
14729 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
14730 xno) ;;
14731 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
14732 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
14733 esac
14738 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
14739 then
14740 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
14741 printf %s "checking for XShmQueryExtension in -lXext... " >&6; }
14742 if test ${ac_cv_lib_Xext_XShmQueryExtension+y}
14743 then :
14744 printf %s "(cached) " >&6
14745 else $as_nop
14746 ac_check_lib_save_LIBS=$LIBS
14747 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14749 /* end confdefs.h. */
14751 /* Override any GCC internal prototype to avoid an error.
14752 Use char because int might match the return type of a GCC
14753 builtin and then its argument prototype would still apply. */
14754 char XShmQueryExtension ();
14756 main (void)
14758 return XShmQueryExtension ();
14760 return 0;
14762 _ACEOF
14763 if ac_fn_c_try_link "$LINENO"
14764 then :
14765 ac_cv_lib_Xext_XShmQueryExtension=yes
14766 else $as_nop
14767 ac_cv_lib_Xext_XShmQueryExtension=no
14769 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14770 conftest$ac_exeext conftest.$ac_ext
14771 LIBS=$ac_check_lib_save_LIBS
14773 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
14774 printf "%s\n" "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
14775 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
14776 then :
14778 printf "%s\n" "#define HAVE_LIBXXSHM 1" >>confdefs.h
14783 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"
14784 then :
14785 case "x$with_xshm" in
14786 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
14787 xno) ;;
14788 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
14789 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
14790 esac
14794 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
14795 then
14796 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
14797 printf %s "checking for XShapeQueryExtension in -lXext... " >&6; }
14798 if test ${ac_cv_lib_Xext_XShapeQueryExtension+y}
14799 then :
14800 printf %s "(cached) " >&6
14801 else $as_nop
14802 ac_check_lib_save_LIBS=$LIBS
14803 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14805 /* end confdefs.h. */
14807 /* Override any GCC internal prototype to avoid an error.
14808 Use char because int might match the return type of a GCC
14809 builtin and then its argument prototype would still apply. */
14810 char XShapeQueryExtension ();
14812 main (void)
14814 return XShapeQueryExtension ();
14816 return 0;
14818 _ACEOF
14819 if ac_fn_c_try_link "$LINENO"
14820 then :
14821 ac_cv_lib_Xext_XShapeQueryExtension=yes
14822 else $as_nop
14823 ac_cv_lib_Xext_XShapeQueryExtension=no
14825 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14826 conftest$ac_exeext conftest.$ac_ext
14827 LIBS=$ac_check_lib_save_LIBS
14829 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
14830 printf "%s\n" "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
14831 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
14832 then :
14834 printf "%s\n" "#define HAVE_LIBXSHAPE 1" >>confdefs.h
14839 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"
14840 then :
14841 case "x$with_xshape" in
14842 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
14843 xno) ;;
14844 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
14845 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
14846 esac
14850 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
14851 then
14852 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
14853 printf %s "checking for -lXxf86vm... " >&6; }
14854 if test ${ac_cv_lib_soname_Xxf86vm+y}
14855 then :
14856 printf %s "(cached) " >&6
14857 else $as_nop
14858 ac_check_soname_save_LIBS=$LIBS
14859 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
14860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14861 /* end confdefs.h. */
14863 /* Override any GCC internal prototype to avoid an error.
14864 Use char because int might match the return type of a GCC
14865 builtin and then its argument prototype would still apply. */
14866 char XF86VidModeQueryExtension ();
14868 main (void)
14870 return XF86VidModeQueryExtension ();
14872 return 0;
14874 _ACEOF
14875 if ac_fn_c_try_link "$LINENO"
14876 then :
14877 case "$LIBEXT" in
14878 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14879 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'` ;;
14880 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14881 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14882 then :
14883 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14884 fi ;;
14885 esac
14886 else $as_nop
14887 ac_cv_lib_soname_Xxf86vm=
14889 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14890 conftest$ac_exeext conftest.$ac_ext
14891 LIBS=$ac_check_soname_save_LIBS
14893 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14894 then :
14895 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14896 printf "%s\n" "not found" >&6; }
14898 else $as_nop
14899 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
14900 printf "%s\n" "$ac_cv_lib_soname_Xxf86vm" >&6; }
14902 printf "%s\n" "#define SONAME_LIBXXF86VM \"$ac_cv_lib_soname_Xxf86vm\"" >>confdefs.h
14907 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"
14908 then :
14909 case "x$with_xxf86vm" in
14910 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
14911 xno) ;;
14912 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
14913 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
14914 esac
14918 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
14919 then
14920 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
14921 printf %s "checking for -lXrender... " >&6; }
14922 if test ${ac_cv_lib_soname_Xrender+y}
14923 then :
14924 printf %s "(cached) " >&6
14925 else $as_nop
14926 ac_check_soname_save_LIBS=$LIBS
14927 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14929 /* end confdefs.h. */
14931 /* Override any GCC internal prototype to avoid an error.
14932 Use char because int might match the return type of a GCC
14933 builtin and then its argument prototype would still apply. */
14934 char XRenderQueryExtension ();
14936 main (void)
14938 return XRenderQueryExtension ();
14940 return 0;
14942 _ACEOF
14943 if ac_fn_c_try_link "$LINENO"
14944 then :
14945 case "$LIBEXT" in
14946 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14947 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'` ;;
14948 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14949 if ${ac_cv_lib_soname_Xrender:+false} :
14950 then :
14951 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14952 fi ;;
14953 esac
14954 else $as_nop
14955 ac_cv_lib_soname_Xrender=
14957 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14958 conftest$ac_exeext conftest.$ac_ext
14959 LIBS=$ac_check_soname_save_LIBS
14961 if ${ac_cv_lib_soname_Xrender:+false} :
14962 then :
14963 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14964 printf "%s\n" "not found" >&6; }
14966 else $as_nop
14967 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
14968 printf "%s\n" "$ac_cv_lib_soname_Xrender" >&6; }
14970 printf "%s\n" "#define SONAME_LIBXRENDER \"$ac_cv_lib_soname_Xrender\"" >>confdefs.h
14972 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
14973 printf %s "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
14974 if test ${ac_cv_lib_Xrender_XRenderSetPictureTransform+y}
14975 then :
14976 printf %s "(cached) " >&6
14977 else $as_nop
14978 ac_check_lib_save_LIBS=$LIBS
14979 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14981 /* end confdefs.h. */
14983 /* Override any GCC internal prototype to avoid an error.
14984 Use char because int might match the return type of a GCC
14985 builtin and then its argument prototype would still apply. */
14986 char XRenderSetPictureTransform ();
14988 main (void)
14990 return XRenderSetPictureTransform ();
14992 return 0;
14994 _ACEOF
14995 if ac_fn_c_try_link "$LINENO"
14996 then :
14997 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
14998 else $as_nop
14999 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
15001 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15002 conftest$ac_exeext conftest.$ac_ext
15003 LIBS=$ac_check_lib_save_LIBS
15005 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
15006 printf "%s\n" "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
15007 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
15008 then :
15010 printf "%s\n" "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
15014 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
15015 printf %s "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
15016 if test ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+y}
15017 then :
15018 printf %s "(cached) " >&6
15019 else $as_nop
15020 ac_check_lib_save_LIBS=$LIBS
15021 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15022 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15023 /* end confdefs.h. */
15025 /* Override any GCC internal prototype to avoid an error.
15026 Use char because int might match the return type of a GCC
15027 builtin and then its argument prototype would still apply. */
15028 char XRenderCreateLinearGradient ();
15030 main (void)
15032 return XRenderCreateLinearGradient ();
15034 return 0;
15036 _ACEOF
15037 if ac_fn_c_try_link "$LINENO"
15038 then :
15039 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
15040 else $as_nop
15041 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
15043 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15044 conftest$ac_exeext conftest.$ac_ext
15045 LIBS=$ac_check_lib_save_LIBS
15047 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
15048 printf "%s\n" "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
15049 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
15050 then :
15052 printf "%s\n" "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
15059 if test "x$ac_cv_lib_soname_Xrender" = "x"
15060 then :
15061 case "x$with_xrender" in
15062 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
15063 xno) ;;
15064 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
15065 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
15066 esac
15070 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
15071 then
15072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15073 /* end confdefs.h. */
15074 #include <X11/Xlib.h>
15075 #include <X11/extensions/Xrandr.h>
15077 main (void)
15079 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
15081 return 0;
15083 _ACEOF
15084 if ac_fn_c_try_compile "$LINENO"
15085 then :
15086 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
15087 printf %s "checking for -lXrandr... " >&6; }
15088 if test ${ac_cv_lib_soname_Xrandr+y}
15089 then :
15090 printf %s "(cached) " >&6
15091 else $as_nop
15092 ac_check_soname_save_LIBS=$LIBS
15093 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
15094 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15095 /* end confdefs.h. */
15097 /* Override any GCC internal prototype to avoid an error.
15098 Use char because int might match the return type of a GCC
15099 builtin and then its argument prototype would still apply. */
15100 char XRRQueryExtension ();
15102 main (void)
15104 return XRRQueryExtension ();
15106 return 0;
15108 _ACEOF
15109 if ac_fn_c_try_link "$LINENO"
15110 then :
15111 case "$LIBEXT" in
15112 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15113 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'` ;;
15114 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15115 if ${ac_cv_lib_soname_Xrandr:+false} :
15116 then :
15117 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15118 fi ;;
15119 esac
15120 else $as_nop
15121 ac_cv_lib_soname_Xrandr=
15123 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15124 conftest$ac_exeext conftest.$ac_ext
15125 LIBS=$ac_check_soname_save_LIBS
15127 if ${ac_cv_lib_soname_Xrandr:+false} :
15128 then :
15129 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15130 printf "%s\n" "not found" >&6; }
15132 else $as_nop
15133 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
15134 printf "%s\n" "$ac_cv_lib_soname_Xrandr" >&6; }
15136 printf "%s\n" "#define SONAME_LIBXRANDR \"$ac_cv_lib_soname_Xrandr\"" >>confdefs.h
15138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15139 /* end confdefs.h. */
15140 #include <X11/Xlib.h>
15141 #include <X11/extensions/Xrandr.h>
15143 main (void)
15145 static typeof(XRRGetProviderResources) *f; if (f) return 0;
15147 return 0;
15149 _ACEOF
15150 if ac_fn_c_try_compile "$LINENO"
15151 then :
15153 printf "%s\n" "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
15155 else $as_nop
15156 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
15158 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15161 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15163 if test "x$ac_cv_lib_soname_Xrandr" = "x"
15164 then :
15165 case "x$with_xrandr" in
15166 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
15167 xno) ;;
15168 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
15169 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
15170 esac
15174 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
15175 then
15176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15177 /* end confdefs.h. */
15178 #include <X11/Xlib.h>
15179 #include <X11/extensions/Xfixes.h>
15181 main (void)
15183 static typeof(XFixesQueryVersion) * func; if (func) return 0;
15185 return 0;
15187 _ACEOF
15188 if ac_fn_c_try_compile "$LINENO"
15189 then :
15190 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
15191 printf %s "checking for -lXfixes... " >&6; }
15192 if test ${ac_cv_lib_soname_Xfixes+y}
15193 then :
15194 printf %s "(cached) " >&6
15195 else $as_nop
15196 ac_check_soname_save_LIBS=$LIBS
15197 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
15198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15199 /* end confdefs.h. */
15201 /* Override any GCC internal prototype to avoid an error.
15202 Use char because int might match the return type of a GCC
15203 builtin and then its argument prototype would still apply. */
15204 char XFixesQueryVersion ();
15206 main (void)
15208 return XFixesQueryVersion ();
15210 return 0;
15212 _ACEOF
15213 if ac_fn_c_try_link "$LINENO"
15214 then :
15215 case "$LIBEXT" in
15216 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15217 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'` ;;
15218 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15219 if ${ac_cv_lib_soname_Xfixes:+false} :
15220 then :
15221 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15222 fi ;;
15223 esac
15224 else $as_nop
15225 ac_cv_lib_soname_Xfixes=
15227 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15228 conftest$ac_exeext conftest.$ac_ext
15229 LIBS=$ac_check_soname_save_LIBS
15231 if ${ac_cv_lib_soname_Xfixes:+false} :
15232 then :
15233 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15234 printf "%s\n" "not found" >&6; }
15236 else $as_nop
15237 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
15238 printf "%s\n" "$ac_cv_lib_soname_Xfixes" >&6; }
15240 printf "%s\n" "#define SONAME_LIBXFIXES \"$ac_cv_lib_soname_Xfixes\"" >>confdefs.h
15245 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15247 if test "x$ac_cv_lib_soname_Xfixes" = "x"
15248 then :
15249 case "x$with_xfixes" in
15250 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
15251 xno) ;;
15252 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
15253 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
15254 esac
15258 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
15259 then
15260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15261 /* end confdefs.h. */
15262 #include <X11/Xlib.h>
15263 #include <X11/extensions/Xinerama.h>
15265 main (void)
15267 static typeof(XineramaQueryScreens) * func; if (func) return 0;
15269 return 0;
15271 _ACEOF
15272 if ac_fn_c_try_compile "$LINENO"
15273 then :
15274 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
15275 printf %s "checking for -lXinerama... " >&6; }
15276 if test ${ac_cv_lib_soname_Xinerama+y}
15277 then :
15278 printf %s "(cached) " >&6
15279 else $as_nop
15280 ac_check_soname_save_LIBS=$LIBS
15281 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
15282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15283 /* end confdefs.h. */
15285 /* Override any GCC internal prototype to avoid an error.
15286 Use char because int might match the return type of a GCC
15287 builtin and then its argument prototype would still apply. */
15288 char XineramaQueryScreens ();
15290 main (void)
15292 return XineramaQueryScreens ();
15294 return 0;
15296 _ACEOF
15297 if ac_fn_c_try_link "$LINENO"
15298 then :
15299 case "$LIBEXT" in
15300 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15301 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'` ;;
15302 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15303 if ${ac_cv_lib_soname_Xinerama:+false} :
15304 then :
15305 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15306 fi ;;
15307 esac
15308 else $as_nop
15309 ac_cv_lib_soname_Xinerama=
15311 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15312 conftest$ac_exeext conftest.$ac_ext
15313 LIBS=$ac_check_soname_save_LIBS
15315 if ${ac_cv_lib_soname_Xinerama:+false} :
15316 then :
15317 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15318 printf "%s\n" "not found" >&6; }
15320 else $as_nop
15321 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
15322 printf "%s\n" "$ac_cv_lib_soname_Xinerama" >&6; }
15324 printf "%s\n" "#define SONAME_LIBXINERAMA \"$ac_cv_lib_soname_Xinerama\"" >>confdefs.h
15329 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15331 if test "x$ac_cv_lib_soname_Xinerama" = "x"
15332 then :
15333 case "x$with_xinerama" in
15334 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
15335 xno) ;;
15336 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
15337 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
15338 esac
15342 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
15343 then
15344 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
15345 printf %s "checking for -lXcomposite... " >&6; }
15346 if test ${ac_cv_lib_soname_Xcomposite+y}
15347 then :
15348 printf %s "(cached) " >&6
15349 else $as_nop
15350 ac_check_soname_save_LIBS=$LIBS
15351 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
15352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15353 /* end confdefs.h. */
15355 /* Override any GCC internal prototype to avoid an error.
15356 Use char because int might match the return type of a GCC
15357 builtin and then its argument prototype would still apply. */
15358 char XCompositeRedirectWindow ();
15360 main (void)
15362 return XCompositeRedirectWindow ();
15364 return 0;
15366 _ACEOF
15367 if ac_fn_c_try_link "$LINENO"
15368 then :
15369 case "$LIBEXT" in
15370 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15371 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'` ;;
15372 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15373 if ${ac_cv_lib_soname_Xcomposite:+false} :
15374 then :
15375 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15376 fi ;;
15377 esac
15378 else $as_nop
15379 ac_cv_lib_soname_Xcomposite=
15381 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15382 conftest$ac_exeext conftest.$ac_ext
15383 LIBS=$ac_check_soname_save_LIBS
15385 if ${ac_cv_lib_soname_Xcomposite:+false} :
15386 then :
15387 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15388 printf "%s\n" "not found" >&6; }
15390 else $as_nop
15391 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
15392 printf "%s\n" "$ac_cv_lib_soname_Xcomposite" >&6; }
15394 printf "%s\n" "#define SONAME_LIBXCOMPOSITE \"$ac_cv_lib_soname_Xcomposite\"" >>confdefs.h
15399 if test "x$ac_cv_lib_soname_Xcomposite" = "x"
15400 then :
15401 case "x$with_xcomposite" in
15402 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
15403 xno) ;;
15404 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
15405 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
15406 esac
15410 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
15411 #include <X11/Xlib.h>
15412 #endif
15414 if test "x$ac_cv_member_XICCallback_callback" = xyes
15415 then :
15417 printf "%s\n" "#define HAVE_XICCALLBACK_CALLBACK 1" >>confdefs.h
15421 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
15422 #include <X11/Xlib.h>
15423 #endif
15425 if test "x$ac_cv_member_XEvent_xcookie" = xyes
15426 then :
15428 printf "%s\n" "#define HAVE_XEVENT_XCOOKIE 1" >>confdefs.h
15435 opengl_msg=""
15436 if test "x$with_opengl" != "xno"
15437 then
15438 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15439 printf %s "checking for -lGL... " >&6; }
15440 if test ${ac_cv_lib_soname_GL+y}
15441 then :
15442 printf %s "(cached) " >&6
15443 else $as_nop
15444 ac_check_soname_save_LIBS=$LIBS
15445 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15447 /* end confdefs.h. */
15449 /* Override any GCC internal prototype to avoid an error.
15450 Use char because int might match the return type of a GCC
15451 builtin and then its argument prototype would still apply. */
15452 char glXCreateContext ();
15454 main (void)
15456 return glXCreateContext ();
15458 return 0;
15460 _ACEOF
15461 if ac_fn_c_try_link "$LINENO"
15462 then :
15463 case "$LIBEXT" in
15464 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15465 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'` ;;
15466 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15467 if ${ac_cv_lib_soname_GL:+false} :
15468 then :
15469 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15470 fi ;;
15471 esac
15472 else $as_nop
15473 ac_cv_lib_soname_GL=
15475 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15476 conftest$ac_exeext conftest.$ac_ext
15477 LIBS=$ac_check_soname_save_LIBS
15479 if ${ac_cv_lib_soname_GL:+false} :
15480 then :
15481 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15482 printf "%s\n" "not found" >&6; }
15483 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15484 printf %s "checking for -lGL... " >&6; }
15485 if test ${ac_cv_lib_soname_GL+y}
15486 then :
15487 printf %s "(cached) " >&6
15488 else $as_nop
15489 ac_check_soname_save_LIBS=$LIBS
15490 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"
15491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15492 /* end confdefs.h. */
15494 /* Override any GCC internal prototype to avoid an error.
15495 Use char because int might match the return type of a GCC
15496 builtin and then its argument prototype would still apply. */
15497 char glXCreateContext ();
15499 main (void)
15501 return glXCreateContext ();
15503 return 0;
15505 _ACEOF
15506 if ac_fn_c_try_link "$LINENO"
15507 then :
15508 case "$LIBEXT" in
15509 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15510 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'` ;;
15511 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15512 if ${ac_cv_lib_soname_GL:+false} :
15513 then :
15514 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15515 fi ;;
15516 esac
15517 else $as_nop
15518 ac_cv_lib_soname_GL=
15520 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15521 conftest$ac_exeext conftest.$ac_ext
15522 LIBS=$ac_check_soname_save_LIBS
15524 if ${ac_cv_lib_soname_GL:+false} :
15525 then :
15526 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15527 printf "%s\n" "not found" >&6; }
15528 if test -f /usr/X11R6/lib/libGL.a
15529 then
15530 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
15531 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
15532 else
15533 opengl_msg="No OpenGL library found on this system."
15535 else $as_nop
15536 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15537 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15539 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15541 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"
15543 else $as_nop
15544 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15545 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15547 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15549 OPENGL_LIBS="-lGL"
15551 if test "x$with_osmesa" != "xno"
15552 then
15553 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
15554 printf %s "checking for -lOSMesa... " >&6; }
15555 if test ${ac_cv_lib_soname_OSMesa+y}
15556 then :
15557 printf %s "(cached) " >&6
15558 else $as_nop
15559 ac_check_soname_save_LIBS=$LIBS
15560 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15562 /* end confdefs.h. */
15564 /* Override any GCC internal prototype to avoid an error.
15565 Use char because int might match the return type of a GCC
15566 builtin and then its argument prototype would still apply. */
15567 char OSMesaGetProcAddress ();
15569 main (void)
15571 return OSMesaGetProcAddress ();
15573 return 0;
15575 _ACEOF
15576 if ac_fn_c_try_link "$LINENO"
15577 then :
15578 case "$LIBEXT" in
15579 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15580 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'` ;;
15581 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15582 if ${ac_cv_lib_soname_OSMesa:+false} :
15583 then :
15584 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15585 fi ;;
15586 esac
15587 else $as_nop
15588 ac_cv_lib_soname_OSMesa=
15590 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15591 conftest$ac_exeext conftest.$ac_ext
15592 LIBS=$ac_check_soname_save_LIBS
15594 if ${ac_cv_lib_soname_OSMesa:+false} :
15595 then :
15596 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15597 printf "%s\n" "not found" >&6; }
15599 else $as_nop
15600 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
15601 printf "%s\n" "$ac_cv_lib_soname_OSMesa" >&6; }
15603 printf "%s\n" "#define SONAME_LIBOSMESA \"$ac_cv_lib_soname_OSMesa\"" >>confdefs.h
15607 if test "x$ac_cv_lib_soname_OSMesa" = "x"
15608 then :
15609 case "x$with_osmesa" in
15610 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
15611 xno) ;;
15612 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
15613 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
15614 esac
15619 if test -n "$opengl_msg"
15620 then :
15621 case "x$with_opengl" in
15622 x) as_fn_append wine_warnings "|$opengl_msg
15623 OpenGL and Direct3D won't be supported." ;;
15624 xno) ;;
15625 *) as_fn_error $? "$opengl_msg
15626 OpenGL and Direct3D won't be supported.
15627 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
15628 esac
15632 CPPFLAGS="$ac_save_CPPFLAGS"
15633 else
15634 X_CFLAGS=""
15635 X_LIBS=""
15638 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
15639 then
15640 if test "x$X_LIBS" = "x"
15641 then :
15642 case "x$with_x" in
15643 xno) ;;
15644 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
15645 without X support, which probably isn't what you want. You will need
15646 to install ${notice_platform}development packages of Xlib at the very least.
15647 Use the --without-x option if you really want this." "$LINENO" 5 ;;
15648 esac
15649 enable_winex11_drv=${enable_winex11_drv:-no}
15651 else
15652 if test "x$X_LIBS" = "x"
15653 then :
15654 case "x$with_x" in
15655 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
15656 xno) ;;
15657 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
15658 This is an error since --with-x was requested." "$LINENO" 5 ;;
15659 esac
15660 enable_winex11_drv=${enable_winex11_drv:-no}
15664 if test "$ac_cv_header_CL_cl_h" = "yes"
15665 then
15666 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
15667 printf %s "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
15668 if test ${ac_cv_lib_OpenCL_clGetPlatformInfo+y}
15669 then :
15670 printf %s "(cached) " >&6
15671 else $as_nop
15672 ac_check_lib_save_LIBS=$LIBS
15673 LIBS="-lOpenCL $LIBS"
15674 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15675 /* end confdefs.h. */
15677 /* Override any GCC internal prototype to avoid an error.
15678 Use char because int might match the return type of a GCC
15679 builtin and then its argument prototype would still apply. */
15680 char clGetPlatformInfo ();
15682 main (void)
15684 return clGetPlatformInfo ();
15686 return 0;
15688 _ACEOF
15689 if ac_fn_c_try_link "$LINENO"
15690 then :
15691 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
15692 else $as_nop
15693 ac_cv_lib_OpenCL_clGetPlatformInfo=no
15695 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15696 conftest$ac_exeext conftest.$ac_ext
15697 LIBS=$ac_check_lib_save_LIBS
15699 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
15700 printf "%s\n" "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
15701 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
15702 then :
15703 OPENCL_LIBS="-lOpenCL"
15708 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
15709 then :
15710 case "x$with_opencl" in
15711 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
15712 xno) ;;
15713 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
15714 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
15715 esac
15716 enable_opencl=${enable_opencl:-no}
15719 if test "$ac_cv_header_pcap_pcap_h" = "yes"
15720 then
15721 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pcap_init in -lpcap" >&5
15722 printf %s "checking for pcap_init in -lpcap... " >&6; }
15723 if test ${ac_cv_lib_pcap_pcap_init+y}
15724 then :
15725 printf %s "(cached) " >&6
15726 else $as_nop
15727 ac_check_lib_save_LIBS=$LIBS
15728 LIBS="-lpcap $LIBS"
15729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15730 /* end confdefs.h. */
15732 /* Override any GCC internal prototype to avoid an error.
15733 Use char because int might match the return type of a GCC
15734 builtin and then its argument prototype would still apply. */
15735 char pcap_init ();
15737 main (void)
15739 return pcap_init ();
15741 return 0;
15743 _ACEOF
15744 if ac_fn_c_try_link "$LINENO"
15745 then :
15746 ac_cv_lib_pcap_pcap_init=yes
15747 else $as_nop
15748 ac_cv_lib_pcap_pcap_init=no
15750 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15751 conftest$ac_exeext conftest.$ac_ext
15752 LIBS=$ac_check_lib_save_LIBS
15754 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_init" >&5
15755 printf "%s\n" "$ac_cv_lib_pcap_pcap_init" >&6; }
15756 if test "x$ac_cv_lib_pcap_pcap_init" = xyes
15757 then :
15758 PCAP_LIBS="-lpcap"
15763 if test "x$ac_cv_lib_pcap_pcap_init" != xyes
15764 then :
15765 case "x$with_pcap" in
15766 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
15767 xno) ;;
15768 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
15769 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
15770 esac
15771 enable_wpcap=${enable_wpcap:-no}
15774 if test "x$with_pcsclite" != "xno"
15775 then
15776 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for SCardEstablishContext in -lpcsclite" >&5
15777 printf %s "checking for SCardEstablishContext in -lpcsclite... " >&6; }
15778 if test ${ac_cv_lib_pcsclite_SCardEstablishContext+y}
15779 then :
15780 printf %s "(cached) " >&6
15781 else $as_nop
15782 ac_check_lib_save_LIBS=$LIBS
15783 LIBS="-lpcsclite $LIBS"
15784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15785 /* end confdefs.h. */
15787 /* Override any GCC internal prototype to avoid an error.
15788 Use char because int might match the return type of a GCC
15789 builtin and then its argument prototype would still apply. */
15790 char SCardEstablishContext ();
15792 main (void)
15794 return SCardEstablishContext ();
15796 return 0;
15798 _ACEOF
15799 if ac_fn_c_try_link "$LINENO"
15800 then :
15801 ac_cv_lib_pcsclite_SCardEstablishContext=yes
15802 else $as_nop
15803 ac_cv_lib_pcsclite_SCardEstablishContext=no
15805 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15806 conftest$ac_exeext conftest.$ac_ext
15807 LIBS=$ac_check_lib_save_LIBS
15809 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcsclite_SCardEstablishContext" >&5
15810 printf "%s\n" "$ac_cv_lib_pcsclite_SCardEstablishContext" >&6; }
15811 if test "x$ac_cv_lib_pcsclite_SCardEstablishContext" = xyes
15812 then :
15813 PCSCLITE_LIBS="-lpcsclite"
15818 if test "x$ac_cv_lib_pcsclite_SCardEstablishContext" != xyes
15819 then :
15820 case "x$with_pcsclite" in
15821 x) as_fn_append wine_notices "|libpcsclite not found, smart cards won't be supported." ;;
15822 xno) ;;
15823 *) as_fn_error $? "libpcsclite not found, smart cards won't be supported.
15824 This is an error since --with-pcsclite was requested." "$LINENO" 5 ;;
15825 esac
15826 enable_winscard=${enable_winscard:-no}
15829 if test "x$with_inotify" != "xno"
15830 then
15831 rm -f conftest.err
15832 if ${INOTIFY_CFLAGS:+false} :
15833 then :
15834 if test ${PKG_CONFIG+y}
15835 then :
15836 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>conftest.err`
15840 if ${INOTIFY_LIBS:+false} :
15841 then :
15842 if test ${PKG_CONFIG+y}
15843 then :
15844 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
15849 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
15850 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
15851 if test -s conftest.err; then
15852 printf %s "$as_me:${as_lineno-$LINENO}: libinotify errors: " >&5
15853 cat conftest.err >&5
15855 rm -f conftest.err
15856 ac_save_CPPFLAGS=$CPPFLAGS
15857 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
15858 ac_fn_c_check_header_compile "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
15859 if test "x$ac_cv_header_sys_inotify_h" = xyes
15860 then :
15861 printf "%s\n" "#define HAVE_SYS_INOTIFY_H 1" >>confdefs.h
15865 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
15866 printf %s "checking for inotify_add_watch in -linotify... " >&6; }
15867 if test ${ac_cv_lib_inotify_inotify_add_watch+y}
15868 then :
15869 printf %s "(cached) " >&6
15870 else $as_nop
15871 ac_check_lib_save_LIBS=$LIBS
15872 LIBS="-linotify $INOTIFY_LIBS $LIBS"
15873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15874 /* end confdefs.h. */
15876 /* Override any GCC internal prototype to avoid an error.
15877 Use char because int might match the return type of a GCC
15878 builtin and then its argument prototype would still apply. */
15879 char inotify_add_watch ();
15881 main (void)
15883 return inotify_add_watch ();
15885 return 0;
15887 _ACEOF
15888 if ac_fn_c_try_link "$LINENO"
15889 then :
15890 ac_cv_lib_inotify_inotify_add_watch=yes
15891 else $as_nop
15892 ac_cv_lib_inotify_inotify_add_watch=no
15894 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15895 conftest$ac_exeext conftest.$ac_ext
15896 LIBS=$ac_check_lib_save_LIBS
15898 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
15899 printf "%s\n" "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
15900 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes
15901 then :
15903 else $as_nop
15904 INOTIFY_LIBS=""
15907 CPPFLAGS=$ac_save_CPPFLAGS
15910 if test "$ac_cv_header_sys_inotify_h" != "yes"
15911 then :
15912 case "x$with_inotify" in
15913 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
15914 xno) ;;
15915 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
15916 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
15917 esac
15921 if test "x$with_dbus" != "xno"
15922 then
15923 rm -f conftest.err
15924 if ${DBUS_CFLAGS:+false} :
15925 then :
15926 if test ${PKG_CONFIG+y}
15927 then :
15928 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>conftest.err`
15932 if ${DBUS_LIBS:+false} :
15933 then :
15934 if test ${PKG_CONFIG+y}
15935 then :
15936 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
15941 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
15942 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
15943 if test -s conftest.err; then
15944 printf %s "$as_me:${as_lineno-$LINENO}: dbus-1 errors: " >&5
15945 cat conftest.err >&5
15947 rm -f conftest.err
15948 ac_save_CPPFLAGS=$CPPFLAGS
15949 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
15950 ac_fn_c_check_header_compile "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
15951 if test "x$ac_cv_header_dbus_dbus_h" = xyes
15952 then :
15953 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
15954 printf %s "checking for -ldbus-1... " >&6; }
15955 if test ${ac_cv_lib_soname_dbus_1+y}
15956 then :
15957 printf %s "(cached) " >&6
15958 else $as_nop
15959 ac_check_soname_save_LIBS=$LIBS
15960 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
15961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15962 /* end confdefs.h. */
15964 /* Override any GCC internal prototype to avoid an error.
15965 Use char because int might match the return type of a GCC
15966 builtin and then its argument prototype would still apply. */
15967 char dbus_connection_close ();
15969 main (void)
15971 return dbus_connection_close ();
15973 return 0;
15975 _ACEOF
15976 if ac_fn_c_try_link "$LINENO"
15977 then :
15978 case "$LIBEXT" in
15979 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15980 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'` ;;
15981 *) 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'`
15982 if ${ac_cv_lib_soname_dbus_1:+false} :
15983 then :
15984 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15985 fi ;;
15986 esac
15987 else $as_nop
15988 ac_cv_lib_soname_dbus_1=
15990 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15991 conftest$ac_exeext conftest.$ac_ext
15992 LIBS=$ac_check_soname_save_LIBS
15994 if ${ac_cv_lib_soname_dbus_1:+false} :
15995 then :
15996 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15997 printf "%s\n" "not found" >&6; }
15998 DBUS_CFLAGS=""
15999 else $as_nop
16000 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
16001 printf "%s\n" "$ac_cv_lib_soname_dbus_1" >&6; }
16003 printf "%s\n" "#define SONAME_LIBDBUS_1 \"$ac_cv_lib_soname_dbus_1\"" >>confdefs.h
16007 else $as_nop
16008 DBUS_CFLAGS=""
16011 CPPFLAGS=$ac_save_CPPFLAGS
16014 case $host_os in
16015 darwin*|macosx*) ;;
16016 *) if test "x$ac_cv_lib_soname_dbus_1" = "x"
16017 then :
16018 case "x$with_dbus" in
16019 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
16020 xno) ;;
16021 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
16022 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
16023 esac
16025 fi ;;
16026 esac
16028 if test "x$with_gnutls" != "xno"
16029 then
16030 rm -f conftest.err
16031 if ${GNUTLS_CFLAGS:+false} :
16032 then :
16033 if test ${PKG_CONFIG+y}
16034 then :
16035 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>conftest.err`
16039 if ${GNUTLS_LIBS:+false} :
16040 then :
16041 if test ${PKG_CONFIG+y}
16042 then :
16043 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
16047 GNUTLS_LIBS=${GNUTLS_LIBS:-"-lgnutls"}
16048 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
16049 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
16050 if test -s conftest.err; then
16051 printf %s "$as_me:${as_lineno-$LINENO}: gnutls errors: " >&5
16052 cat conftest.err >&5
16054 rm -f conftest.err
16055 ac_save_CPPFLAGS=$CPPFLAGS
16056 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
16057 ac_fn_c_check_header_compile "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
16058 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
16059 then :
16060 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16061 /* end confdefs.h. */
16062 #include <gnutls/gnutls.h>
16063 #include <gnutls/crypto.h>
16065 main (void)
16067 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
16069 return 0;
16071 _ACEOF
16072 if ac_fn_c_try_compile "$LINENO"
16073 then :
16074 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
16075 printf %s "checking for -lgnutls... " >&6; }
16076 if test ${ac_cv_lib_soname_gnutls+y}
16077 then :
16078 printf %s "(cached) " >&6
16079 else $as_nop
16080 ac_check_soname_save_LIBS=$LIBS
16081 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
16082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16083 /* end confdefs.h. */
16085 /* Override any GCC internal prototype to avoid an error.
16086 Use char because int might match the return type of a GCC
16087 builtin and then its argument prototype would still apply. */
16088 char gnutls_global_init ();
16090 main (void)
16092 return gnutls_global_init ();
16094 return 0;
16096 _ACEOF
16097 if ac_fn_c_try_link "$LINENO"
16098 then :
16099 case "$LIBEXT" in
16100 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16101 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'` ;;
16102 *) 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'`
16103 if ${ac_cv_lib_soname_gnutls:+false} :
16104 then :
16105 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'`
16106 fi ;;
16107 esac
16108 else $as_nop
16109 ac_cv_lib_soname_gnutls=
16111 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16112 conftest$ac_exeext conftest.$ac_ext
16113 LIBS=$ac_check_soname_save_LIBS
16115 if ${ac_cv_lib_soname_gnutls:+false} :
16116 then :
16117 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16118 printf "%s\n" "not found" >&6; }
16119 GNUTLS_CFLAGS=""
16120 else $as_nop
16121 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
16122 printf "%s\n" "$ac_cv_lib_soname_gnutls" >&6; }
16124 printf "%s\n" "#define SONAME_LIBGNUTLS \"$ac_cv_lib_soname_gnutls\"" >>confdefs.h
16128 ac_wine_check_funcs_save_LIBS="$LIBS"
16129 LIBS="$LIBS $GNUTLS_LIBS"
16131 for ac_func in gnutls_cipher_init
16132 do :
16133 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
16134 if test "x$ac_cv_func_gnutls_cipher_init" = xyes
16135 then :
16136 printf "%s\n" "#define HAVE_GNUTLS_CIPHER_INIT 1" >>confdefs.h
16138 else $as_nop
16139 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
16142 done
16143 LIBS="$ac_wine_check_funcs_save_LIBS"
16145 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
16146 else $as_nop
16147 GNUTLS_CFLAGS=""
16150 CPPFLAGS=$ac_save_CPPFLAGS
16153 if test "x$ac_cv_lib_soname_gnutls" = "x"
16154 then :
16155 case "x$with_gnutls" in
16156 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
16157 xno) ;;
16158 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
16159 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
16160 esac
16164 if test "x$with_sane" != "xno"
16165 then
16166 rm -f conftest.err
16167 if ${SANE_CFLAGS:+false} :
16168 then :
16169 if test ${PKG_CONFIG+y}
16170 then :
16171 SANE_CFLAGS=`$PKG_CONFIG --cflags sane-backends 2>conftest.err`
16174 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
16175 if ${SANE_LIBS:+false} :
16176 then :
16177 if test ${PKG_CONFIG+y}
16178 then :
16179 SANE_LIBS=`$PKG_CONFIG --libs sane-backends 2>/dev/null`
16182 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
16184 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends cflags: $SANE_CFLAGS" >&5
16185 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends libs: $SANE_LIBS" >&5
16186 if test -s conftest.err; then
16187 printf %s "$as_me:${as_lineno-$LINENO}: sane-backends errors: " >&5
16188 cat conftest.err >&5
16190 rm -f conftest.err
16191 ac_save_CPPFLAGS=$CPPFLAGS
16192 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
16193 ac_fn_c_check_header_compile "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
16194 if test "x$ac_cv_header_sane_sane_h" = xyes
16195 then :
16196 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sane_init in -lsane" >&5
16197 printf %s "checking for sane_init in -lsane... " >&6; }
16198 if test ${ac_cv_lib_sane_sane_init+y}
16199 then :
16200 printf %s "(cached) " >&6
16201 else $as_nop
16202 ac_check_lib_save_LIBS=$LIBS
16203 LIBS="-lsane $SANE_LIBS $LIBS"
16204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16205 /* end confdefs.h. */
16207 /* Override any GCC internal prototype to avoid an error.
16208 Use char because int might match the return type of a GCC
16209 builtin and then its argument prototype would still apply. */
16210 char sane_init ();
16212 main (void)
16214 return sane_init ();
16216 return 0;
16218 _ACEOF
16219 if ac_fn_c_try_link "$LINENO"
16220 then :
16221 ac_cv_lib_sane_sane_init=yes
16222 else $as_nop
16223 ac_cv_lib_sane_sane_init=no
16225 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16226 conftest$ac_exeext conftest.$ac_ext
16227 LIBS=$ac_check_lib_save_LIBS
16229 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sane_sane_init" >&5
16230 printf "%s\n" "$ac_cv_lib_sane_sane_init" >&6; }
16231 if test "x$ac_cv_lib_sane_sane_init" = xyes
16232 then :
16238 CPPFLAGS=$ac_save_CPPFLAGS
16241 if test "$ac_cv_lib_sane_sane_init" != "yes"
16242 then :
16243 case "x$with_sane" in
16244 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
16245 xno) ;;
16246 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
16247 This is an error since --with-sane was requested." "$LINENO" 5 ;;
16248 esac
16249 enable_sane_ds=${enable_sane_ds:-no}
16252 if test "x$with_usb" != "xno"
16253 then
16254 rm -f conftest.err
16255 if ${USB_CFLAGS:+false} :
16256 then :
16257 if test ${PKG_CONFIG+y}
16258 then :
16259 USB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 2>conftest.err`
16263 if ${USB_LIBS:+false} :
16264 then :
16265 if test ${PKG_CONFIG+y}
16266 then :
16267 USB_LIBS=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
16271 USB_LIBS=${USB_LIBS:-"-lusb-1.0"}
16272 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
16273 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
16274 if test -s conftest.err; then
16275 printf %s "$as_me:${as_lineno-$LINENO}: libusb-1.0 errors: " >&5
16276 cat conftest.err >&5
16278 rm -f conftest.err
16279 ac_save_CPPFLAGS=$CPPFLAGS
16280 CPPFLAGS="$CPPFLAGS $USB_CFLAGS"
16281 ac_fn_c_check_header_compile "$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
16282 if test "x$ac_cv_header_libusb_h" = xyes
16283 then :
16284 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
16285 printf %s "checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
16286 if test ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+y}
16287 then :
16288 printf %s "(cached) " >&6
16289 else $as_nop
16290 ac_check_lib_save_LIBS=$LIBS
16291 LIBS="-lusb-1.0 $USB_LIBS $LIBS"
16292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16293 /* end confdefs.h. */
16295 /* Override any GCC internal prototype to avoid an error.
16296 Use char because int might match the return type of a GCC
16297 builtin and then its argument prototype would still apply. */
16298 char libusb_interrupt_event_handler ();
16300 main (void)
16302 return libusb_interrupt_event_handler ();
16304 return 0;
16306 _ACEOF
16307 if ac_fn_c_try_link "$LINENO"
16308 then :
16309 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=yes
16310 else $as_nop
16311 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=no
16313 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16314 conftest$ac_exeext conftest.$ac_ext
16315 LIBS=$ac_check_lib_save_LIBS
16317 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
16318 printf "%s\n" "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
16319 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes
16320 then :
16322 else $as_nop
16323 USB_LIBS=""
16326 else $as_nop
16327 USB_LIBS=""
16330 CPPFLAGS=$ac_save_CPPFLAGS
16333 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"
16334 then :
16335 case "x$with_usb" in
16336 x) as_fn_append wine_notices "|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
16337 xno) ;;
16338 *) as_fn_error $? "libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
16339 This is an error since --with-usb was requested." "$LINENO" 5 ;;
16340 esac
16341 enable_wineusb_sys=${enable_wineusb_sys:-no}
16344 if test "x$with_v4l2" != "xno"
16345 then
16346 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
16347 printf %s "checking for -lv4l2... " >&6; }
16348 if test ${ac_cv_lib_soname_v4l2+y}
16349 then :
16350 printf %s "(cached) " >&6
16351 else $as_nop
16352 ac_check_soname_save_LIBS=$LIBS
16353 LIBS="-lv4l2 $LIBS"
16354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16355 /* end confdefs.h. */
16357 /* Override any GCC internal prototype to avoid an error.
16358 Use char because int might match the return type of a GCC
16359 builtin and then its argument prototype would still apply. */
16360 char v4l2_open ();
16362 main (void)
16364 return v4l2_open ();
16366 return 0;
16368 _ACEOF
16369 if ac_fn_c_try_link "$LINENO"
16370 then :
16371 case "$LIBEXT" in
16372 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16373 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'` ;;
16374 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16375 if ${ac_cv_lib_soname_v4l2:+false} :
16376 then :
16377 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16378 fi ;;
16379 esac
16380 else $as_nop
16381 ac_cv_lib_soname_v4l2=
16383 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16384 conftest$ac_exeext conftest.$ac_ext
16385 LIBS=$ac_check_soname_save_LIBS
16387 if ${ac_cv_lib_soname_v4l2:+false} :
16388 then :
16389 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16390 printf "%s\n" "not found" >&6; }
16392 else $as_nop
16393 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
16394 printf "%s\n" "$ac_cv_lib_soname_v4l2" >&6; }
16396 printf "%s\n" "#define SONAME_LIBV4L2 \"$ac_cv_lib_soname_v4l2\"" >>confdefs.h
16401 if test "x$ac_cv_lib_soname_v4l2" = "x"
16402 then :
16403 case "x$with_v4l2" in
16404 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
16405 xno) ;;
16406 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
16407 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
16408 esac
16412 if test "x$with_gphoto" != "xno"
16413 then
16414 rm -f conftest.err
16415 if ${GPHOTO2_CFLAGS:+false} :
16416 then :
16417 if test ${PKG_CONFIG+y}
16418 then :
16419 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>conftest.err`
16422 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
16423 if ${GPHOTO2_LIBS:+false} :
16424 then :
16425 if test ${PKG_CONFIG+y}
16426 then :
16427 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
16430 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
16431 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
16432 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
16433 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
16434 if test -s conftest.err; then
16435 printf %s "$as_me:${as_lineno-$LINENO}: libgphoto2 errors: " >&5
16436 cat conftest.err >&5
16438 rm -f conftest.err
16439 ac_save_CPPFLAGS=$CPPFLAGS
16440 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
16441 ac_fn_c_check_header_compile "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
16442 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
16443 then :
16444 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
16445 printf %s "checking for gp_camera_new in -lgphoto2... " >&6; }
16446 if test ${ac_cv_lib_gphoto2_gp_camera_new+y}
16447 then :
16448 printf %s "(cached) " >&6
16449 else $as_nop
16450 ac_check_lib_save_LIBS=$LIBS
16451 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
16452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16453 /* end confdefs.h. */
16455 /* Override any GCC internal prototype to avoid an error.
16456 Use char because int might match the return type of a GCC
16457 builtin and then its argument prototype would still apply. */
16458 char gp_camera_new ();
16460 main (void)
16462 return gp_camera_new ();
16464 return 0;
16466 _ACEOF
16467 if ac_fn_c_try_link "$LINENO"
16468 then :
16469 ac_cv_lib_gphoto2_gp_camera_new=yes
16470 else $as_nop
16471 ac_cv_lib_gphoto2_gp_camera_new=no
16473 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16474 conftest$ac_exeext conftest.$ac_ext
16475 LIBS=$ac_check_lib_save_LIBS
16477 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
16478 printf "%s\n" "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
16479 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
16480 then :
16486 CPPFLAGS=$ac_save_CPPFLAGS
16488 rm -f conftest.err
16489 if ${GPHOTO2_PORT_CFLAGS:+false} :
16490 then :
16491 if test ${PKG_CONFIG+y}
16492 then :
16493 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>conftest.err`
16496 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
16497 if ${GPHOTO2_PORT_LIBS:+false} :
16498 then :
16499 if test ${PKG_CONFIG+y}
16500 then :
16501 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
16504 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
16505 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
16506 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
16507 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
16508 if test -s conftest.err; then
16509 printf %s "$as_me:${as_lineno-$LINENO}: libgphoto2_port errors: " >&5
16510 cat conftest.err >&5
16512 rm -f conftest.err
16513 ac_save_CPPFLAGS=$CPPFLAGS
16514 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
16515 ac_fn_c_check_header_compile "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
16516 if test "x$ac_cv_header_gphoto2_port_h" = xyes
16517 then :
16518 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
16519 printf %s "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
16520 if test ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+y}
16521 then :
16522 printf %s "(cached) " >&6
16523 else $as_nop
16524 ac_check_lib_save_LIBS=$LIBS
16525 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
16526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16527 /* end confdefs.h. */
16529 /* Override any GCC internal prototype to avoid an error.
16530 Use char because int might match the return type of a GCC
16531 builtin and then its argument prototype would still apply. */
16532 char gp_port_info_list_new ();
16534 main (void)
16536 return gp_port_info_list_new ();
16538 return 0;
16540 _ACEOF
16541 if ac_fn_c_try_link "$LINENO"
16542 then :
16543 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
16544 else $as_nop
16545 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
16547 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16548 conftest$ac_exeext conftest.$ac_ext
16549 LIBS=$ac_check_lib_save_LIBS
16551 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
16552 printf "%s\n" "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
16553 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
16554 then :
16556 printf "%s\n" "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
16558 else $as_nop
16559 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
16562 else $as_nop
16563 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
16566 CPPFLAGS=$ac_save_CPPFLAGS
16569 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"
16570 then :
16571 case "x$with_gphoto" in
16572 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
16573 xno) ;;
16574 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
16575 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16576 esac
16577 enable_gphoto2_ds=${enable_gphoto2_ds:-no}
16579 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"
16580 then :
16581 case "x$with_gphoto" in
16582 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
16583 xno) ;;
16584 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
16585 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16586 esac
16591 if test "$ac_cv_header_resolv_h" = "yes"
16592 then
16593 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
16594 printf %s "checking for resolver library... " >&6; }
16595 if test ${ac_cv_have_resolv+y}
16596 then :
16597 printf %s "(cached) " >&6
16598 else $as_nop
16599 ac_save_LIBS="$LIBS"
16600 for lib in '' -lresolv
16602 LIBS="$lib $ac_save_LIBS"
16603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16604 /* end confdefs.h. */
16605 #ifdef HAVE_NETINET_IN_H
16606 #include <netinet/in.h>
16607 #endif
16608 #include <resolv.h>
16610 main (void)
16612 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0); ns_initparse(0,0,0)
16614 return 0;
16616 _ACEOF
16617 if ac_fn_c_try_link "$LINENO"
16618 then :
16619 ac_cv_have_resolv=${lib:-"none required"}
16620 else $as_nop
16621 ac_cv_have_resolv="not found"
16623 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16624 conftest$ac_exeext conftest.$ac_ext
16625 test "x$ac_cv_have_resolv" = "xnot found" || break
16626 done
16627 LIBS="$ac_save_LIBS"
16629 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
16630 printf "%s\n" "$ac_cv_have_resolv" >&6; }
16632 case "$ac_cv_have_resolv" in
16633 "not found") ;;
16634 "none required")
16636 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16639 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16641 RESOLV_LIBS=$ac_cv_have_resolv
16643 esac
16645 if test "x$ac_cv_have_resolv" != "xnot found"
16646 then
16647 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
16648 printf %s "checking for res_getservers... " >&6; }
16649 if test ${ac_cv_have_res_getservers+y}
16650 then :
16651 printf %s "(cached) " >&6
16652 else $as_nop
16653 ac_save_LIBS="$LIBS"
16654 LIBS="$RESOLV_LIBS $LIBS"
16655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16656 /* end confdefs.h. */
16657 #include <resolv.h>
16659 main (void)
16661 res_getservers(NULL, NULL, 0);
16663 return 0;
16665 _ACEOF
16666 if ac_fn_c_try_link "$LINENO"
16667 then :
16668 ac_cv_have_res_getservers=yes
16669 else $as_nop
16670 ac_cv_have_res_getservers=no
16672 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16673 conftest$ac_exeext conftest.$ac_ext
16674 LIBS="$ac_save_LIBS"
16676 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
16677 printf "%s\n" "$ac_cv_have_res_getservers" >&6; }
16678 if test "$ac_cv_have_res_getservers" = "yes"
16679 then
16681 printf "%s\n" "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
16687 if test "x$with_freetype" != "xno"
16688 then
16689 rm -f conftest.err
16690 if ${FREETYPE_CFLAGS:+false} :
16691 then :
16692 if test ${PKG_CONFIG+y}
16693 then :
16694 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>conftest.err`
16697 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
16698 if ${FREETYPE_LIBS:+false} :
16699 then :
16700 if test ${PKG_CONFIG+y}
16701 then :
16702 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
16705 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
16706 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
16707 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
16708 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
16709 if test -s conftest.err; then
16710 printf %s "$as_me:${as_lineno-$LINENO}: freetype2 errors: " >&5
16711 cat conftest.err >&5
16713 rm -f conftest.err
16714 ac_save_CPPFLAGS=$CPPFLAGS
16715 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
16716 ac_fn_c_check_header_compile "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
16717 if test "x$ac_cv_header_ft2build_h" = xyes
16718 then :
16719 printf "%s\n" "#define HAVE_FT2BUILD_H 1" >>confdefs.h
16723 if test "$ac_cv_header_ft2build_h" = "yes"
16724 then
16725 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
16726 printf %s "checking for -lfreetype... " >&6; }
16727 if test ${ac_cv_lib_soname_freetype+y}
16728 then :
16729 printf %s "(cached) " >&6
16730 else $as_nop
16731 ac_check_soname_save_LIBS=$LIBS
16732 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
16733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16734 /* end confdefs.h. */
16736 /* Override any GCC internal prototype to avoid an error.
16737 Use char because int might match the return type of a GCC
16738 builtin and then its argument prototype would still apply. */
16739 char FT_Init_FreeType ();
16741 main (void)
16743 return FT_Init_FreeType ();
16745 return 0;
16747 _ACEOF
16748 if ac_fn_c_try_link "$LINENO"
16749 then :
16750 case "$LIBEXT" in
16751 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16752 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'` ;;
16753 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16754 if ${ac_cv_lib_soname_freetype:+false} :
16755 then :
16756 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16757 fi ;;
16758 esac
16759 else $as_nop
16760 ac_cv_lib_soname_freetype=
16762 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16763 conftest$ac_exeext conftest.$ac_ext
16764 LIBS=$ac_check_soname_save_LIBS
16766 if ${ac_cv_lib_soname_freetype:+false} :
16767 then :
16768 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16769 printf "%s\n" "not found" >&6; }
16770 FREETYPE_LIBS=""
16771 else $as_nop
16772 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
16773 printf "%s\n" "$ac_cv_lib_soname_freetype" >&6; }
16775 printf "%s\n" "#define SONAME_LIBFREETYPE \"$ac_cv_lib_soname_freetype\"" >>confdefs.h
16778 printf "%s\n" "#define HAVE_FREETYPE 1" >>confdefs.h
16780 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
16781 #include FT_MODULE_H
16783 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
16784 then :
16786 printf "%s\n" "#define HAVE_FT_TRUETYPEENGINETYPE 1" >>confdefs.h
16792 else
16793 FREETYPE_CFLAGS=""
16794 FREETYPE_LIBS=""
16796 CPPFLAGS=$ac_save_CPPFLAGS
16799 if test "x$ac_cv_lib_soname_freetype" = x
16800 then :
16801 case "x$with_freetype" in
16802 xno) ;;
16803 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
16804 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
16805 esac
16806 enable_fonts=${enable_fonts:-no}
16809 ac_wine_check_funcs_save_LIBS="$LIBS"
16810 LIBS="$LIBS $PTHREAD_LIBS"
16811 ac_fn_c_check_func "$LINENO" "pthread_getthreadid_np" "ac_cv_func_pthread_getthreadid_np"
16812 if test "x$ac_cv_func_pthread_getthreadid_np" = xyes
16813 then :
16814 printf "%s\n" "#define HAVE_PTHREAD_GETTHREADID_NP 1" >>confdefs.h
16818 LIBS="$ac_wine_check_funcs_save_LIBS"
16820 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
16821 then
16822 if test "$ac_cv_header_gettext_po_h" = "yes"
16823 then
16824 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
16825 printf %s "checking for po_message_msgctxt in -lgettextpo... " >&6; }
16826 if test ${ac_cv_lib_gettextpo_po_message_msgctxt+y}
16827 then :
16828 printf %s "(cached) " >&6
16829 else $as_nop
16830 ac_check_lib_save_LIBS=$LIBS
16831 LIBS="-lgettextpo $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 po_message_msgctxt ();
16840 main (void)
16842 return po_message_msgctxt ();
16844 return 0;
16846 _ACEOF
16847 if ac_fn_c_try_link "$LINENO"
16848 then :
16849 ac_cv_lib_gettextpo_po_message_msgctxt=yes
16850 else $as_nop
16851 ac_cv_lib_gettextpo_po_message_msgctxt=no
16853 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16854 conftest$ac_exeext conftest.$ac_ext
16855 LIBS=$ac_check_lib_save_LIBS
16857 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
16858 printf "%s\n" "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
16859 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
16860 then :
16862 printf "%s\n" "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
16864 GETTEXTPO_LIBS="-lgettextpo"
16869 if test "x$GETTEXTPO_LIBS" = "x"
16870 then :
16871 case "x$with_gettextpo" in
16872 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
16873 xno) ;;
16874 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
16875 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16876 esac
16879 if test "$srcdir" != .
16880 then :
16881 case "x$with_gettextpo" in
16882 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
16883 xno) ;;
16884 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
16885 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16886 esac
16891 if test "x$with_pulse" != "xno";
16892 then
16893 rm -f conftest.err
16894 if ${PULSE_CFLAGS:+false} :
16895 then :
16896 if test ${PKG_CONFIG+y}
16897 then :
16898 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>conftest.err`
16902 if ${PULSE_LIBS:+false} :
16903 then :
16904 if test ${PKG_CONFIG+y}
16905 then :
16906 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
16911 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
16912 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
16913 if test -s conftest.err; then
16914 printf %s "$as_me:${as_lineno-$LINENO}: libpulse errors: " >&5
16915 cat conftest.err >&5
16917 rm -f conftest.err
16918 ac_save_CPPFLAGS=$CPPFLAGS
16919 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
16920 for ac_header in pulse/pulseaudio.h
16921 do :
16922 ac_fn_c_check_header_compile "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
16923 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes
16924 then :
16925 printf "%s\n" "#define HAVE_PULSE_PULSEAUDIO_H 1" >>confdefs.h
16926 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
16927 printf %s "checking for pa_stream_is_corked in -lpulse... " >&6; }
16928 if test ${ac_cv_lib_pulse_pa_stream_is_corked+y}
16929 then :
16930 printf %s "(cached) " >&6
16931 else $as_nop
16932 ac_check_lib_save_LIBS=$LIBS
16933 LIBS="-lpulse $PULSE_LIBS $LIBS"
16934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16935 /* end confdefs.h. */
16937 /* Override any GCC internal prototype to avoid an error.
16938 Use char because int might match the return type of a GCC
16939 builtin and then its argument prototype would still apply. */
16940 char pa_stream_is_corked ();
16942 main (void)
16944 return pa_stream_is_corked ();
16946 return 0;
16948 _ACEOF
16949 if ac_fn_c_try_link "$LINENO"
16950 then :
16951 ac_cv_lib_pulse_pa_stream_is_corked=yes
16952 else $as_nop
16953 ac_cv_lib_pulse_pa_stream_is_corked=no
16955 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16956 conftest$ac_exeext conftest.$ac_ext
16957 LIBS=$ac_check_lib_save_LIBS
16959 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
16960 printf "%s\n" "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
16961 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes
16962 then :
16964 else $as_nop
16965 PULSE_LIBS=""
16968 else $as_nop
16969 PULSE_LIBS=""
16972 done
16973 CPPFLAGS=$ac_save_CPPFLAGS
16976 if test -z "$PULSE_LIBS"
16977 then :
16978 case "x$with_pulse" in
16979 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
16980 xno) ;;
16981 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
16982 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
16983 esac
16984 enable_winepulse_drv=${enable_winepulse_drv:-no}
16987 if test "x$with_gstreamer" != "xno"
16988 then
16989 rm -f conftest.err
16990 if ${GSTREAMER_CFLAGS:+false} :
16991 then :
16992 if test ${PKG_CONFIG+y}
16993 then :
16994 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 2>conftest.err`
16998 if ${GSTREAMER_LIBS:+false} :
16999 then :
17000 if test ${PKG_CONFIG+y}
17001 then :
17002 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 2>/dev/null`
17007 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 cflags: $GSTREAMER_CFLAGS" >&5
17008 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 libs: $GSTREAMER_LIBS" >&5
17009 if test -s conftest.err; then
17010 printf %s "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 gstreamer-tag-1.0 errors: " >&5
17011 cat conftest.err >&5
17013 rm -f conftest.err
17014 ac_save_CPPFLAGS=$CPPFLAGS
17015 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
17016 ac_fn_c_check_header_compile "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
17017 if test "x$ac_cv_header_gst_gst_h" = xyes
17018 then :
17019 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
17020 printf %s "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
17021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17022 /* end confdefs.h. */
17023 #include <gst/gst.h>
17025 main (void)
17027 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
17029 return 0;
17031 _ACEOF
17032 if ac_fn_c_try_compile "$LINENO"
17033 then :
17034 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17035 printf "%s\n" "yes" >&6; }
17036 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
17037 printf %s "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
17038 if test ${ac_cv_lib_gstreamer_1_0_gst_pad_new+y}
17039 then :
17040 printf %s "(cached) " >&6
17041 else $as_nop
17042 ac_check_lib_save_LIBS=$LIBS
17043 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
17044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17045 /* end confdefs.h. */
17047 /* Override any GCC internal prototype to avoid an error.
17048 Use char because int might match the return type of a GCC
17049 builtin and then its argument prototype would still apply. */
17050 char gst_pad_new ();
17052 main (void)
17054 return gst_pad_new ();
17056 return 0;
17058 _ACEOF
17059 if ac_fn_c_try_link "$LINENO"
17060 then :
17061 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
17062 else $as_nop
17063 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
17065 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17066 conftest$ac_exeext conftest.$ac_ext
17067 LIBS=$ac_check_lib_save_LIBS
17069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
17070 printf "%s\n" "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
17071 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes
17072 then :
17076 else $as_nop
17077 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17078 printf "%s\n" "no" >&6; }
17079 ac_glib2_broken=yes
17080 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
17082 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17085 CPPFLAGS=$ac_save_CPPFLAGS
17088 if test "x$ac_glib2_broken" != xyes -a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes
17089 then :
17090 case "x$with_gstreamer" in
17091 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
17092 xno) ;;
17093 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
17094 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
17095 esac
17096 enable_winegstreamer=${enable_winegstreamer:-no}
17099 ALSA_LIBS=""
17101 if test "x$with_alsa" != "xno"
17102 then
17103 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
17104 printf %s "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
17105 if test ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+y}
17106 then :
17107 printf %s "(cached) " >&6
17108 else $as_nop
17109 ac_check_lib_save_LIBS=$LIBS
17110 LIBS="-lasound $LIBS"
17111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17112 /* end confdefs.h. */
17114 /* Override any GCC internal prototype to avoid an error.
17115 Use char because int might match the return type of a GCC
17116 builtin and then its argument prototype would still apply. */
17117 char snd_pcm_hw_params_get_access_mask ();
17119 main (void)
17121 return snd_pcm_hw_params_get_access_mask ();
17123 return 0;
17125 _ACEOF
17126 if ac_fn_c_try_link "$LINENO"
17127 then :
17128 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
17129 else $as_nop
17130 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
17132 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17133 conftest$ac_exeext conftest.$ac_ext
17134 LIBS=$ac_check_lib_save_LIBS
17136 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
17137 printf "%s\n" "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
17138 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
17139 then :
17140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17141 /* end confdefs.h. */
17142 #include <alsa/asoundlib.h>
17144 main (void)
17146 snd_pcm_hw_params_get_access_mask(NULL, NULL)
17148 return 0;
17150 _ACEOF
17151 if ac_fn_c_try_compile "$LINENO"
17152 then :
17153 ALSA_LIBS="-lasound"
17155 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17159 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
17161 if test "x$with_oss" != xno
17162 then
17163 ac_save_CPPFLAGS="$CPPFLAGS"
17164 if test -f /etc/oss.conf
17165 then
17166 . /etc/oss.conf
17168 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
17169 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
17170 ac_fn_c_check_header_compile "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
17171 if test "x$ac_cv_header_sys_soundcard_h" = xyes
17172 then :
17173 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
17175 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
17176 then :
17178 printf "%s\n" "#define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1" >>confdefs.h
17180 OSS4_CFLAGS="$ac_oss_incl"
17182 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
17183 printf %s "checking for _oss_ioctl in -lossaudio... " >&6; }
17184 if test ${ac_cv_lib_ossaudio__oss_ioctl+y}
17185 then :
17186 printf %s "(cached) " >&6
17187 else $as_nop
17188 ac_check_lib_save_LIBS=$LIBS
17189 LIBS="-lossaudio $LIBS"
17190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17191 /* end confdefs.h. */
17193 /* Override any GCC internal prototype to avoid an error.
17194 Use char because int might match the return type of a GCC
17195 builtin and then its argument prototype would still apply. */
17196 char _oss_ioctl ();
17198 main (void)
17200 return _oss_ioctl ();
17202 return 0;
17204 _ACEOF
17205 if ac_fn_c_try_link "$LINENO"
17206 then :
17207 ac_cv_lib_ossaudio__oss_ioctl=yes
17208 else $as_nop
17209 ac_cv_lib_ossaudio__oss_ioctl=no
17211 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17212 conftest$ac_exeext conftest.$ac_ext
17213 LIBS=$ac_check_lib_save_LIBS
17215 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
17216 printf "%s\n" "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
17217 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
17218 then :
17219 OSS4_LIBS="-lossaudio"
17227 CPPFLAGS="$ac_save_CPPFLAGS"
17229 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
17230 then :
17231 case "x$with_oss" in
17232 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
17233 xno) ;;
17234 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
17235 This is an error since --with-oss was requested." "$LINENO" 5 ;;
17236 esac
17237 enable_wineoss_drv=${enable_wineoss_drv:-no}
17240 if test "x$with_udev" != "xno"
17241 then
17242 rm -f conftest.err
17243 if ${UDEV_CFLAGS:+false} :
17244 then :
17245 if test ${PKG_CONFIG+y}
17246 then :
17247 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>conftest.err`
17251 if ${UDEV_LIBS:+false} :
17252 then :
17253 if test ${PKG_CONFIG+y}
17254 then :
17255 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
17259 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
17260 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
17261 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
17262 if test -s conftest.err; then
17263 printf %s "$as_me:${as_lineno-$LINENO}: libudev errors: " >&5
17264 cat conftest.err >&5
17266 rm -f conftest.err
17267 ac_save_CPPFLAGS=$CPPFLAGS
17268 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
17269 for ac_header in libudev.h
17270 do :
17271 ac_fn_c_check_header_compile "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
17272 if test "x$ac_cv_header_libudev_h" = xyes
17273 then :
17274 printf "%s\n" "#define HAVE_LIBUDEV_H 1" >>confdefs.h
17275 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
17276 printf %s "checking for udev_new in -ludev... " >&6; }
17277 if test ${ac_cv_lib_udev_udev_new+y}
17278 then :
17279 printf %s "(cached) " >&6
17280 else $as_nop
17281 ac_check_lib_save_LIBS=$LIBS
17282 LIBS="-ludev $UDEV_LIBS $LIBS"
17283 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17284 /* end confdefs.h. */
17286 /* Override any GCC internal prototype to avoid an error.
17287 Use char because int might match the return type of a GCC
17288 builtin and then its argument prototype would still apply. */
17289 char udev_new ();
17291 main (void)
17293 return udev_new ();
17295 return 0;
17297 _ACEOF
17298 if ac_fn_c_try_link "$LINENO"
17299 then :
17300 ac_cv_lib_udev_udev_new=yes
17301 else $as_nop
17302 ac_cv_lib_udev_udev_new=no
17304 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17305 conftest$ac_exeext conftest.$ac_ext
17306 LIBS=$ac_check_lib_save_LIBS
17308 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
17309 printf "%s\n" "$ac_cv_lib_udev_udev_new" >&6; }
17310 if test "x$ac_cv_lib_udev_udev_new" = xyes
17311 then :
17313 printf "%s\n" "#define HAVE_UDEV 1" >>confdefs.h
17315 else $as_nop
17316 UDEV_LIBS=""
17319 else $as_nop
17320 UDEV_LIBS=""
17323 done
17324 CPPFLAGS=$ac_save_CPPFLAGS
17327 if test "x$UDEV_LIBS" = "x"
17328 then :
17329 case "x$with_udev" in
17330 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
17331 xno) ;;
17332 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
17333 This is an error since --with-udev was requested." "$LINENO" 5 ;;
17334 esac
17338 if test "x$with_unwind" != xno
17339 then
17340 rm -f conftest.err
17341 if ${UNWIND_CFLAGS:+false} :
17342 then :
17343 if test ${PKG_CONFIG+y}
17344 then :
17345 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>conftest.err`
17349 if ${UNWIND_LIBS:+false} :
17350 then :
17351 if test ${PKG_CONFIG+y}
17352 then :
17353 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
17357 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
17358 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
17359 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
17360 if test -s conftest.err; then
17361 printf %s "$as_me:${as_lineno-$LINENO}: libunwind errors: " >&5
17362 cat conftest.err >&5
17364 rm -f conftest.err
17365 ac_save_CPPFLAGS=$CPPFLAGS
17366 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
17367 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
17368 printf %s "checking for unw_step... " >&6; }
17369 if test ${wine_cv_have_unw_step+y}
17370 then :
17371 printf %s "(cached) " >&6
17372 else $as_nop
17373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17374 /* end confdefs.h. */
17375 #define UNW_LOCAL_ONLY
17376 #include <libunwind.h>
17378 main (void)
17380 unw_cursor_t cursor; unw_step( &cursor );
17382 return 0;
17384 _ACEOF
17385 if ac_fn_c_try_link "$LINENO"
17386 then :
17387 wine_cv_have_unw_step="yes"
17388 else $as_nop
17389 wine_cv_have_unw_step="no"
17391 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17392 conftest$ac_exeext conftest.$ac_ext
17394 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
17395 printf "%s\n" "$wine_cv_have_unw_step" >&6; }
17396 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
17397 then
17398 save_libs=$LIBS
17399 UNWIND_LIBS="-static-libgcc $UNWIND_LIBS"
17400 LIBS="$UNWIND_LIBS $LIBS"
17401 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
17402 printf %s "checking for unw_step in libunwind... " >&6; }
17403 if test ${wine_cv_have_libunwind_unw_step+y}
17404 then :
17405 printf %s "(cached) " >&6
17406 else $as_nop
17407 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17408 /* end confdefs.h. */
17409 #define UNW_LOCAL_ONLY
17410 #include <libunwind.h>
17412 main (void)
17414 unw_cursor_t cursor; unw_step( &cursor );
17416 return 0;
17418 _ACEOF
17419 if ac_fn_c_try_link "$LINENO"
17420 then :
17421 wine_cv_have_libunwind_unw_step="yes"
17422 else $as_nop
17423 wine_cv_have_libunwind_unw_step="no"
17425 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17426 conftest$ac_exeext conftest.$ac_ext
17428 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
17429 printf "%s\n" "$wine_cv_have_libunwind_unw_step" >&6; }
17430 LIBS=$save_libs
17432 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
17433 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
17434 then
17436 printf "%s\n" "#define HAVE_LIBUNWIND 1" >>confdefs.h
17439 CPPFLAGS=$ac_save_CPPFLAGS
17442 case $host in
17443 aarch64*|*-darwin*)
17444 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono
17445 then :
17446 case "x$with_unwind" in
17447 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
17448 xno) ;;
17449 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
17450 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
17451 esac
17453 fi ;;
17454 esac
17456 if test "x$with_sdl" != "xno"
17457 then
17458 rm -f conftest.err
17459 if ${SDL2_CFLAGS:+false} :
17460 then :
17461 if test ${PKG_CONFIG+y}
17462 then :
17463 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>conftest.err`
17467 if ${SDL2_LIBS:+false} :
17468 then :
17469 if test ${PKG_CONFIG+y}
17470 then :
17471 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
17475 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
17476 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
17477 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
17478 if test -s conftest.err; then
17479 printf %s "$as_me:${as_lineno-$LINENO}: sdl2 errors: " >&5
17480 cat conftest.err >&5
17482 rm -f conftest.err
17483 ac_save_CPPFLAGS=$CPPFLAGS
17484 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
17485 for ac_header in SDL.h
17486 do :
17487 ac_fn_c_check_header_compile "$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
17488 if test "x$ac_cv_header_SDL_h" = xyes
17489 then :
17490 printf "%s\n" "#define HAVE_SDL_H 1" >>confdefs.h
17491 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
17492 printf %s "checking for -lSDL2... " >&6; }
17493 if test ${ac_cv_lib_soname_SDL2+y}
17494 then :
17495 printf %s "(cached) " >&6
17496 else $as_nop
17497 ac_check_soname_save_LIBS=$LIBS
17498 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
17499 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17500 /* end confdefs.h. */
17502 /* Override any GCC internal prototype to avoid an error.
17503 Use char because int might match the return type of a GCC
17504 builtin and then its argument prototype would still apply. */
17505 char SDL_Init ();
17507 main (void)
17509 return SDL_Init ();
17511 return 0;
17513 _ACEOF
17514 if ac_fn_c_try_link "$LINENO"
17515 then :
17516 case "$LIBEXT" in
17517 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17518 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'` ;;
17519 *) 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'`
17520 if ${ac_cv_lib_soname_SDL2:+false} :
17521 then :
17522 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17523 fi ;;
17524 esac
17525 else $as_nop
17526 ac_cv_lib_soname_SDL2=
17528 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17529 conftest$ac_exeext conftest.$ac_ext
17530 LIBS=$ac_check_soname_save_LIBS
17532 if ${ac_cv_lib_soname_SDL2:+false} :
17533 then :
17534 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17535 printf "%s\n" "not found" >&6; }
17537 else $as_nop
17538 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
17539 printf "%s\n" "$ac_cv_lib_soname_SDL2" >&6; }
17541 printf "%s\n" "#define SONAME_LIBSDL2 \"$ac_cv_lib_soname_SDL2\"" >>confdefs.h
17547 done
17548 CPPFLAGS=$ac_save_CPPFLAGS
17551 if test "x$ac_cv_lib_soname_SDL2" = "x"
17552 then :
17553 case "x$with_sdl" in
17554 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
17555 xno) ;;
17556 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
17557 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
17558 esac
17562 if test "x$with_capi" != "xno"
17563 then
17564 rm -f conftest.err
17565 if ${CAPI20_CFLAGS:+false} :
17566 then :
17567 if test ${PKG_CONFIG+y}
17568 then :
17569 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>conftest.err`
17573 if ${CAPI20_LIBS:+false} :
17574 then :
17575 if test ${PKG_CONFIG+y}
17576 then :
17577 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
17582 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
17583 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
17584 if test -s conftest.err; then
17585 printf %s "$as_me:${as_lineno-$LINENO}: capi20 errors: " >&5
17586 cat conftest.err >&5
17588 rm -f conftest.err
17589 ac_save_CPPFLAGS=$CPPFLAGS
17590 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
17591 ac_fn_c_check_header_compile "$LINENO" "capi20.h" "ac_cv_header_capi20_h" "#define __user
17593 if test "x$ac_cv_header_capi20_h" = xyes
17594 then :
17595 printf "%s\n" "#define HAVE_CAPI20_H 1" >>confdefs.h
17598 ac_fn_c_check_header_compile "$LINENO" "linux/capi.h" "ac_cv_header_linux_capi_h" "#define __user
17600 if test "x$ac_cv_header_linux_capi_h" = xyes
17601 then :
17602 printf "%s\n" "#define HAVE_LINUX_CAPI_H 1" >>confdefs.h
17606 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
17607 then
17608 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for capi20_register in -lcapi20" >&5
17609 printf %s "checking for capi20_register in -lcapi20... " >&6; }
17610 if test ${ac_cv_lib_capi20_capi20_register+y}
17611 then :
17612 printf %s "(cached) " >&6
17613 else $as_nop
17614 ac_check_lib_save_LIBS=$LIBS
17615 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
17616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17617 /* end confdefs.h. */
17619 /* Override any GCC internal prototype to avoid an error.
17620 Use char because int might match the return type of a GCC
17621 builtin and then its argument prototype would still apply. */
17622 char capi20_register ();
17624 main (void)
17626 return capi20_register ();
17628 return 0;
17630 _ACEOF
17631 if ac_fn_c_try_link "$LINENO"
17632 then :
17633 ac_cv_lib_capi20_capi20_register=yes
17634 else $as_nop
17635 ac_cv_lib_capi20_capi20_register=no
17637 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17638 conftest$ac_exeext conftest.$ac_ext
17639 LIBS=$ac_check_lib_save_LIBS
17641 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_capi20_capi20_register" >&5
17642 printf "%s\n" "$ac_cv_lib_capi20_capi20_register" >&6; }
17643 if test "x$ac_cv_lib_capi20_capi20_register" = xyes
17644 then :
17646 else $as_nop
17647 CAPI20_LIBS=""
17651 CPPFLAGS=$ac_save_CPPFLAGS
17654 if test "x$ac_cv_lib_capi20_capi20_register" != xyes
17655 then :
17656 case "x$with_capi" in
17657 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
17658 xno) ;;
17659 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
17660 This is an error since --with-capi was requested." "$LINENO" 5 ;;
17661 esac
17662 enable_capi2032=${enable_capi2032:-no}
17665 if test "x$with_cups" != "xno"
17666 then
17667 rm -f conftest.err
17668 if ${CUPS_CFLAGS:+false} :
17669 then :
17670 if test ${PKG_CONFIG+y}
17671 then :
17672 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>conftest.err`
17675 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
17676 if ${CUPS_LIBS:+false} :
17677 then :
17678 if test ${PKG_CONFIG+y}
17679 then :
17680 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
17683 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
17684 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
17685 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
17686 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
17687 if test -s conftest.err; then
17688 printf %s "$as_me:${as_lineno-$LINENO}: cups errors: " >&5
17689 cat conftest.err >&5
17691 rm -f conftest.err
17692 ac_save_CPPFLAGS=$CPPFLAGS
17693 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
17694 ac_fn_c_check_header_compile "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
17695 if test "x$ac_cv_header_cups_cups_h" = xyes
17696 then :
17697 printf "%s\n" "#define HAVE_CUPS_CUPS_H 1" >>confdefs.h
17700 ac_fn_c_check_header_compile "$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
17701 if test "x$ac_cv_header_cups_ppd_h" = xyes
17702 then :
17703 printf "%s\n" "#define HAVE_CUPS_PPD_H 1" >>confdefs.h
17707 if test "$ac_cv_header_cups_cups_h" = "yes"
17708 then
17709 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
17710 printf %s "checking for -lcups... " >&6; }
17711 if test ${ac_cv_lib_soname_cups+y}
17712 then :
17713 printf %s "(cached) " >&6
17714 else $as_nop
17715 ac_check_soname_save_LIBS=$LIBS
17716 LIBS="-lcups $CUPS_LIBS $LIBS"
17717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17718 /* end confdefs.h. */
17720 /* Override any GCC internal prototype to avoid an error.
17721 Use char because int might match the return type of a GCC
17722 builtin and then its argument prototype would still apply. */
17723 char cupsGetDefault ();
17725 main (void)
17727 return cupsGetDefault ();
17729 return 0;
17731 _ACEOF
17732 if ac_fn_c_try_link "$LINENO"
17733 then :
17734 case "$LIBEXT" in
17735 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17736 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'` ;;
17737 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17738 if ${ac_cv_lib_soname_cups:+false} :
17739 then :
17740 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17741 fi ;;
17742 esac
17743 else $as_nop
17744 ac_cv_lib_soname_cups=
17746 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17747 conftest$ac_exeext conftest.$ac_ext
17748 LIBS=$ac_check_soname_save_LIBS
17750 if ${ac_cv_lib_soname_cups:+false} :
17751 then :
17752 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17753 printf "%s\n" "not found" >&6; }
17754 CUPS_LIBS=""
17755 else $as_nop
17756 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
17757 printf "%s\n" "$ac_cv_lib_soname_cups" >&6; }
17759 printf "%s\n" "#define SONAME_LIBCUPS \"$ac_cv_lib_soname_cups\"" >>confdefs.h
17763 else
17764 CUPS_CFLAGS=""
17765 CUPS_LIBS=""
17767 CPPFLAGS=$ac_save_CPPFLAGS
17770 if test "x$ac_cv_lib_soname_cups" = "x"
17771 then :
17772 case "x$with_cups" in
17773 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
17774 xno) ;;
17775 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
17776 This is an error since --with-cups was requested." "$LINENO" 5 ;;
17777 esac
17781 if test "x$with_fontconfig" != "xno"
17782 then
17783 rm -f conftest.err
17784 if ${FONTCONFIG_CFLAGS:+false} :
17785 then :
17786 if test ${PKG_CONFIG+y}
17787 then :
17788 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>conftest.err`
17791 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
17792 if ${FONTCONFIG_LIBS:+false} :
17793 then :
17794 if test ${PKG_CONFIG+y}
17795 then :
17796 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
17799 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
17801 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
17802 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
17803 if test -s conftest.err; then
17804 printf %s "$as_me:${as_lineno-$LINENO}: fontconfig errors: " >&5
17805 cat conftest.err >&5
17807 rm -f conftest.err
17808 ac_save_CPPFLAGS=$CPPFLAGS
17809 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
17810 ac_fn_c_check_header_compile "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
17811 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
17812 then :
17813 printf "%s\n" "#define HAVE_FONTCONFIG_FONTCONFIG_H 1" >>confdefs.h
17817 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
17818 then
17819 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
17820 printf %s "checking for -lfontconfig... " >&6; }
17821 if test ${ac_cv_lib_soname_fontconfig+y}
17822 then :
17823 printf %s "(cached) " >&6
17824 else $as_nop
17825 ac_check_soname_save_LIBS=$LIBS
17826 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
17827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17828 /* end confdefs.h. */
17830 /* Override any GCC internal prototype to avoid an error.
17831 Use char because int might match the return type of a GCC
17832 builtin and then its argument prototype would still apply. */
17833 char FcInit ();
17835 main (void)
17837 return FcInit ();
17839 return 0;
17841 _ACEOF
17842 if ac_fn_c_try_link "$LINENO"
17843 then :
17844 case "$LIBEXT" in
17845 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17846 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'` ;;
17847 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17848 if ${ac_cv_lib_soname_fontconfig:+false} :
17849 then :
17850 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17851 fi ;;
17852 esac
17853 else $as_nop
17854 ac_cv_lib_soname_fontconfig=
17856 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17857 conftest$ac_exeext conftest.$ac_ext
17858 LIBS=$ac_check_soname_save_LIBS
17860 if ${ac_cv_lib_soname_fontconfig:+false} :
17861 then :
17862 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17863 printf "%s\n" "not found" >&6; }
17864 FONTCONFIG_CFLAGS=""
17865 else $as_nop
17866 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
17867 printf "%s\n" "$ac_cv_lib_soname_fontconfig" >&6; }
17869 printf "%s\n" "#define SONAME_LIBFONTCONFIG \"$ac_cv_lib_soname_fontconfig\"" >>confdefs.h
17873 else
17874 FONTCONFIG_CFLAGS=""
17876 CPPFLAGS=$ac_save_CPPFLAGS
17879 if test "x$ac_cv_lib_soname_fontconfig" = "x"
17880 then :
17881 case "x$with_fontconfig" in
17882 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
17883 xno) ;;
17884 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
17885 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
17886 esac
17890 if test "x$with_krb5" != "xno"
17891 then
17892 rm -f conftest.err
17893 if ${KRB5_CFLAGS:+false} :
17894 then :
17895 if test ${PKG_CONFIG+y}
17896 then :
17897 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>conftest.err`
17900 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
17901 if ${KRB5_LIBS:+false} :
17902 then :
17903 if test ${PKG_CONFIG+y}
17904 then :
17905 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
17908 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
17910 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
17911 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
17912 if test -s conftest.err; then
17913 printf %s "$as_me:${as_lineno-$LINENO}: krb5 errors: " >&5
17914 cat conftest.err >&5
17916 rm -f conftest.err
17917 ac_save_CPPFLAGS=$CPPFLAGS
17918 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
17919 ac_fn_c_check_header_compile "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
17920 if test "x$ac_cv_header_krb5_krb5_h" = xyes
17921 then :
17922 printf "%s\n" "#define HAVE_KRB5_KRB5_H 1" >>confdefs.h
17926 if test "$ac_cv_header_krb5_krb5_h" = "yes"
17927 then
17928 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
17929 printf %s "checking for -lkrb5... " >&6; }
17930 if test ${ac_cv_lib_soname_krb5+y}
17931 then :
17932 printf %s "(cached) " >&6
17933 else $as_nop
17934 ac_check_soname_save_LIBS=$LIBS
17935 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
17936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17937 /* end confdefs.h. */
17939 /* Override any GCC internal prototype to avoid an error.
17940 Use char because int might match the return type of a GCC
17941 builtin and then its argument prototype would still apply. */
17942 char krb5_is_config_principal ();
17944 main (void)
17946 return krb5_is_config_principal ();
17948 return 0;
17950 _ACEOF
17951 if ac_fn_c_try_link "$LINENO"
17952 then :
17953 case "$LIBEXT" in
17954 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17955 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'` ;;
17956 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17957 if ${ac_cv_lib_soname_krb5:+false} :
17958 then :
17959 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17960 fi ;;
17961 esac
17962 else $as_nop
17963 ac_cv_lib_soname_krb5=
17965 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17966 conftest$ac_exeext conftest.$ac_ext
17967 LIBS=$ac_check_soname_save_LIBS
17969 if ${ac_cv_lib_soname_krb5:+false} :
17970 then :
17971 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17972 printf "%s\n" "not found" >&6; }
17973 KRB5_CFLAGS=""
17974 else $as_nop
17975 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
17976 printf "%s\n" "$ac_cv_lib_soname_krb5" >&6; }
17978 printf "%s\n" "#define SONAME_LIBKRB5 \"$ac_cv_lib_soname_krb5\"" >>confdefs.h
17982 else
17983 KRB5_CFLAGS=""
17985 CPPFLAGS=$ac_save_CPPFLAGS
17988 if test "x$ac_cv_lib_soname_krb5" = "x"
17989 then :
17990 case "x$with_krb5" in
17991 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
17992 xno) ;;
17993 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
17994 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
17995 esac
17998 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
18000 if test "x$with_gssapi" != "xno"
18001 then
18002 rm -f conftest.err
18003 if ${GSSAPI_CFLAGS:+false} :
18004 then :
18005 if test ${PKG_CONFIG+y}
18006 then :
18007 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>conftest.err`
18010 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
18011 if ${GSSAPI_LIBS:+false} :
18012 then :
18013 if test ${PKG_CONFIG+y}
18014 then :
18015 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
18018 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
18020 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
18021 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
18022 if test -s conftest.err; then
18023 printf %s "$as_me:${as_lineno-$LINENO}: krb5-gssapi errors: " >&5
18024 cat conftest.err >&5
18026 rm -f conftest.err
18027 ac_save_CPPFLAGS=$CPPFLAGS
18028 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
18029 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi.h" "ac_cv_header_gssapi_gssapi_h" "$ac_includes_default"
18030 if test "x$ac_cv_header_gssapi_gssapi_h" = xyes
18031 then :
18032 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_H 1" >>confdefs.h
18035 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi_ext.h" "ac_cv_header_gssapi_gssapi_ext_h" "$ac_includes_default"
18036 if test "x$ac_cv_header_gssapi_gssapi_ext_h" = xyes
18037 then :
18038 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_EXT_H 1" >>confdefs.h
18042 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
18043 then
18044 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
18045 printf %s "checking for -lgssapi_krb5... " >&6; }
18046 if test ${ac_cv_lib_soname_gssapi_krb5+y}
18047 then :
18048 printf %s "(cached) " >&6
18049 else $as_nop
18050 ac_check_soname_save_LIBS=$LIBS
18051 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
18052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18053 /* end confdefs.h. */
18055 /* Override any GCC internal prototype to avoid an error.
18056 Use char because int might match the return type of a GCC
18057 builtin and then its argument prototype would still apply. */
18058 char gss_init_sec_context ();
18060 main (void)
18062 return gss_init_sec_context ();
18064 return 0;
18066 _ACEOF
18067 if ac_fn_c_try_link "$LINENO"
18068 then :
18069 case "$LIBEXT" in
18070 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18071 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'` ;;
18072 *) 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'`
18073 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18074 then :
18075 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18076 fi ;;
18077 esac
18078 else $as_nop
18079 ac_cv_lib_soname_gssapi_krb5=
18081 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18082 conftest$ac_exeext conftest.$ac_ext
18083 LIBS=$ac_check_soname_save_LIBS
18085 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18086 then :
18087 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18088 printf "%s\n" "not found" >&6; }
18089 GSSAPI_CFLAGS=""
18090 else $as_nop
18091 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
18092 printf "%s\n" "$ac_cv_lib_soname_gssapi_krb5" >&6; }
18094 printf "%s\n" "#define SONAME_LIBGSSAPI_KRB5 \"$ac_cv_lib_soname_gssapi_krb5\"" >>confdefs.h
18098 else
18099 GSSAPI_CFLAGS=""
18101 CPPFLAGS=$ac_save_CPPFLAGS
18104 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"
18105 then :
18106 case "x$with_gssapi" in
18107 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
18108 xno) ;;
18109 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
18110 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
18111 esac
18115 if test "$ac_cv_header_libprocstat_h" = "yes"
18116 then
18117 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
18118 printf %s "checking for procstat_open_sysctl in -lprocstat... " >&6; }
18119 if test ${ac_cv_lib_procstat_procstat_open_sysctl+y}
18120 then :
18121 printf %s "(cached) " >&6
18122 else $as_nop
18123 ac_check_lib_save_LIBS=$LIBS
18124 LIBS="-lprocstat $LIBS"
18125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18126 /* end confdefs.h. */
18128 /* Override any GCC internal prototype to avoid an error.
18129 Use char because int might match the return type of a GCC
18130 builtin and then its argument prototype would still apply. */
18131 char procstat_open_sysctl ();
18133 main (void)
18135 return procstat_open_sysctl ();
18137 return 0;
18139 _ACEOF
18140 if ac_fn_c_try_link "$LINENO"
18141 then :
18142 ac_cv_lib_procstat_procstat_open_sysctl=yes
18143 else $as_nop
18144 ac_cv_lib_procstat_procstat_open_sysctl=no
18146 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18147 conftest$ac_exeext conftest.$ac_ext
18148 LIBS=$ac_check_lib_save_LIBS
18150 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
18151 printf "%s\n" "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
18152 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
18153 then :
18155 printf "%s\n" "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
18157 PROCSTAT_LIBS="-lprocstat"
18163 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
18164 printf %s "checking for -lodbc... " >&6; }
18165 if test ${ac_cv_lib_soname_odbc+y}
18166 then :
18167 printf %s "(cached) " >&6
18168 else $as_nop
18169 ac_check_soname_save_LIBS=$LIBS
18170 LIBS="-lodbc $LIBS"
18171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18172 /* end confdefs.h. */
18174 /* Override any GCC internal prototype to avoid an error.
18175 Use char because int might match the return type of a GCC
18176 builtin and then its argument prototype would still apply. */
18177 char SQLConnect ();
18179 main (void)
18181 return SQLConnect ();
18183 return 0;
18185 _ACEOF
18186 if ac_fn_c_try_link "$LINENO"
18187 then :
18188 case "$LIBEXT" in
18189 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18190 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'` ;;
18191 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18192 if ${ac_cv_lib_soname_odbc:+false} :
18193 then :
18194 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18195 fi ;;
18196 esac
18197 else $as_nop
18198 ac_cv_lib_soname_odbc=
18200 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18201 conftest$ac_exeext conftest.$ac_ext
18202 LIBS=$ac_check_soname_save_LIBS
18204 if ${ac_cv_lib_soname_odbc:+false} :
18205 then :
18206 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18207 printf "%s\n" "not found" >&6; }
18208 printf "%s\n" "#define SONAME_LIBODBC \"libodbc.$LIBEXT\"" >>confdefs.h
18210 else $as_nop
18211 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
18212 printf "%s\n" "$ac_cv_lib_soname_odbc" >&6; }
18214 printf "%s\n" "#define SONAME_LIBODBC \"$ac_cv_lib_soname_odbc\"" >>confdefs.h
18219 if test "x$with_netapi" != "xno"
18220 then
18221 rm -f conftest.err
18222 if ${NETAPI_CFLAGS:+false} :
18223 then :
18224 if test ${PKG_CONFIG+y}
18225 then :
18226 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>conftest.err`
18230 if ${NETAPI_LIBS:+false} :
18231 then :
18232 if test ${PKG_CONFIG+y}
18233 then :
18234 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
18239 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
18240 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
18241 if test -s conftest.err; then
18242 printf %s "$as_me:${as_lineno-$LINENO}: netapi errors: " >&5
18243 cat conftest.err >&5
18245 rm -f conftest.err
18246 ac_save_CPPFLAGS=$CPPFLAGS
18247 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
18248 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
18249 printf %s "checking for -lnetapi... " >&6; }
18250 if test ${ac_cv_lib_soname_netapi+y}
18251 then :
18252 printf %s "(cached) " >&6
18253 else $as_nop
18254 ac_check_soname_save_LIBS=$LIBS
18255 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
18256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18257 /* end confdefs.h. */
18259 /* Override any GCC internal prototype to avoid an error.
18260 Use char because int might match the return type of a GCC
18261 builtin and then its argument prototype would still apply. */
18262 char libnetapi_init ();
18264 main (void)
18266 return libnetapi_init ();
18268 return 0;
18270 _ACEOF
18271 if ac_fn_c_try_link "$LINENO"
18272 then :
18273 case "$LIBEXT" in
18274 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18275 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'` ;;
18276 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18277 if ${ac_cv_lib_soname_netapi:+false} :
18278 then :
18279 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18280 fi ;;
18281 esac
18282 else $as_nop
18283 ac_cv_lib_soname_netapi=
18285 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18286 conftest$ac_exeext conftest.$ac_ext
18287 LIBS=$ac_check_soname_save_LIBS
18289 if ${ac_cv_lib_soname_netapi:+false} :
18290 then :
18291 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18292 printf "%s\n" "not found" >&6; }
18293 printf "%s\n" "#define SONAME_LIBNETAPI \"libnetapi.$LIBEXT\"" >>confdefs.h
18295 else $as_nop
18296 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
18297 printf "%s\n" "$ac_cv_lib_soname_netapi" >&6; }
18299 printf "%s\n" "#define SONAME_LIBNETAPI \"$ac_cv_lib_soname_netapi\"" >>confdefs.h
18303 CPPFLAGS=$ac_save_CPPFLAGS
18306 if test "x$ac_cv_lib_soname_netapi" = "x"
18307 then :
18308 case "x$with_netapi" in
18309 x) as_fn_append wine_notices "|libnetapi not found, Samba NetAPI won't be supported." ;;
18310 xno) ;;
18311 *) as_fn_error $? "libnetapi not found, Samba NetAPI won't be supported.
18312 This is an error since --with-netapi was requested." "$LINENO" 5 ;;
18313 esac
18314 enable_netapi=${enable_netapi:-no}
18318 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
18319 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
18320 then
18321 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
18324 if test "x$with_vulkan" != "xno"
18325 then
18326 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
18327 printf %s "checking for -lvulkan... " >&6; }
18328 if test ${ac_cv_lib_soname_vulkan+y}
18329 then :
18330 printf %s "(cached) " >&6
18331 else $as_nop
18332 ac_check_soname_save_LIBS=$LIBS
18333 LIBS="-lvulkan $LIBS"
18334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18335 /* end confdefs.h. */
18337 /* Override any GCC internal prototype to avoid an error.
18338 Use char because int might match the return type of a GCC
18339 builtin and then its argument prototype would still apply. */
18340 char vkGetInstanceProcAddr ();
18342 main (void)
18344 return vkGetInstanceProcAddr ();
18346 return 0;
18348 _ACEOF
18349 if ac_fn_c_try_link "$LINENO"
18350 then :
18351 case "$LIBEXT" in
18352 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18353 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'` ;;
18354 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18355 if ${ac_cv_lib_soname_vulkan:+false} :
18356 then :
18357 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18358 fi ;;
18359 esac
18360 else $as_nop
18361 ac_cv_lib_soname_vulkan=
18363 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18364 conftest$ac_exeext conftest.$ac_ext
18365 LIBS=$ac_check_soname_save_LIBS
18367 if ${ac_cv_lib_soname_vulkan:+false} :
18368 then :
18369 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18370 printf "%s\n" "not found" >&6; }
18372 else $as_nop
18373 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
18374 printf "%s\n" "$ac_cv_lib_soname_vulkan" >&6; }
18376 printf "%s\n" "#define SONAME_LIBVULKAN \"$ac_cv_lib_soname_vulkan\"" >>confdefs.h
18380 if test "x$ac_cv_lib_soname_vulkan" = "x"
18381 then
18382 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
18383 printf %s "checking for -lMoltenVK... " >&6; }
18384 if test ${ac_cv_lib_soname_MoltenVK+y}
18385 then :
18386 printf %s "(cached) " >&6
18387 else $as_nop
18388 ac_check_soname_save_LIBS=$LIBS
18389 LIBS="-lMoltenVK $LIBS"
18390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18391 /* end confdefs.h. */
18393 /* Override any GCC internal prototype to avoid an error.
18394 Use char because int might match the return type of a GCC
18395 builtin and then its argument prototype would still apply. */
18396 char vkGetInstanceProcAddr ();
18398 main (void)
18400 return vkGetInstanceProcAddr ();
18402 return 0;
18404 _ACEOF
18405 if ac_fn_c_try_link "$LINENO"
18406 then :
18407 case "$LIBEXT" in
18408 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18409 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'` ;;
18410 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18411 if ${ac_cv_lib_soname_MoltenVK:+false} :
18412 then :
18413 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18414 fi ;;
18415 esac
18416 else $as_nop
18417 ac_cv_lib_soname_MoltenVK=
18419 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18420 conftest$ac_exeext conftest.$ac_ext
18421 LIBS=$ac_check_soname_save_LIBS
18423 if ${ac_cv_lib_soname_MoltenVK:+false} :
18424 then :
18425 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18426 printf "%s\n" "not found" >&6; }
18428 else $as_nop
18429 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
18430 printf "%s\n" "$ac_cv_lib_soname_MoltenVK" >&6; }
18432 printf "%s\n" "#define SONAME_LIBMOLTENVK \"$ac_cv_lib_soname_MoltenVK\"" >>confdefs.h
18438 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"
18439 then :
18440 case "x$with_vulkan" in
18441 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
18442 xno) ;;
18443 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
18444 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
18445 esac
18450 if test "x${GCC}" = "xyes"
18451 then
18452 EXTRACFLAGS="$EXTRACFLAGS -Wall -pipe"
18454 saved_CFLAGS=$CFLAGS
18455 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
18456 printf %s "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
18457 if test ${ac_cv_cflags__Werror_unknown_warning_option+y}
18458 then :
18459 printf %s "(cached) " >&6
18460 else $as_nop
18461 ac_wine_try_cflags_saved=$CFLAGS
18462 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
18463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18464 /* end confdefs.h. */
18465 int main(int argc, char **argv) { return 0; }
18466 _ACEOF
18467 if ac_fn_c_try_link "$LINENO"
18468 then :
18469 ac_cv_cflags__Werror_unknown_warning_option=yes
18470 else $as_nop
18471 ac_cv_cflags__Werror_unknown_warning_option=no
18473 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18474 conftest$ac_exeext conftest.$ac_ext
18475 CFLAGS=$ac_wine_try_cflags_saved
18477 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
18478 printf "%s\n" "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
18479 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
18480 then :
18481 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
18483 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
18484 printf %s "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
18485 if test ${ac_cv_cflags__Werror_unused_command_line_argument+y}
18486 then :
18487 printf %s "(cached) " >&6
18488 else $as_nop
18489 ac_wine_try_cflags_saved=$CFLAGS
18490 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
18491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18492 /* end confdefs.h. */
18493 int main(int argc, char **argv) { return 0; }
18494 _ACEOF
18495 if ac_fn_c_try_link "$LINENO"
18496 then :
18497 ac_cv_cflags__Werror_unused_command_line_argument=yes
18498 else $as_nop
18499 ac_cv_cflags__Werror_unused_command_line_argument=no
18501 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18502 conftest$ac_exeext conftest.$ac_ext
18503 CFLAGS=$ac_wine_try_cflags_saved
18505 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
18506 printf "%s\n" "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
18507 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes
18508 then :
18509 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
18511 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
18512 printf %s "checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
18513 if test ${ac_cv_cflags__Werror_ignored_optimization_argument+y}
18514 then :
18515 printf %s "(cached) " >&6
18516 else $as_nop
18517 ac_wine_try_cflags_saved=$CFLAGS
18518 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
18519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18520 /* end confdefs.h. */
18521 int main(int argc, char **argv) { return 0; }
18522 _ACEOF
18523 if ac_fn_c_try_link "$LINENO"
18524 then :
18525 ac_cv_cflags__Werror_ignored_optimization_argument=yes
18526 else $as_nop
18527 ac_cv_cflags__Werror_ignored_optimization_argument=no
18529 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18530 conftest$ac_exeext conftest.$ac_ext
18531 CFLAGS=$ac_wine_try_cflags_saved
18533 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
18534 printf "%s\n" "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
18535 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes
18536 then :
18537 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
18539 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
18540 printf %s "checking whether the compiler supports -fcf-protection=none... " >&6; }
18541 if test ${ac_cv_cflags__fcf_protection_none+y}
18542 then :
18543 printf %s "(cached) " >&6
18544 else $as_nop
18545 ac_wine_try_cflags_saved=$CFLAGS
18546 CFLAGS="$CFLAGS -fcf-protection=none"
18547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18548 /* end confdefs.h. */
18549 int main(int argc, char **argv) { return 0; }
18550 _ACEOF
18551 if ac_fn_c_try_link "$LINENO"
18552 then :
18553 ac_cv_cflags__fcf_protection_none=yes
18554 else $as_nop
18555 ac_cv_cflags__fcf_protection_none=no
18557 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18558 conftest$ac_exeext conftest.$ac_ext
18559 CFLAGS=$ac_wine_try_cflags_saved
18561 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
18562 printf "%s\n" "$ac_cv_cflags__fcf_protection_none" >&6; }
18563 if test "x$ac_cv_cflags__fcf_protection_none" = xyes
18564 then :
18565 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
18567 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
18568 printf %s "checking whether the compiler supports -fno-stack-protector... " >&6; }
18569 if test ${ac_cv_cflags__fno_stack_protector+y}
18570 then :
18571 printf %s "(cached) " >&6
18572 else $as_nop
18573 ac_wine_try_cflags_saved=$CFLAGS
18574 CFLAGS="$CFLAGS -fno-stack-protector"
18575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18576 /* end confdefs.h. */
18577 int main(int argc, char **argv) { return 0; }
18578 _ACEOF
18579 if ac_fn_c_try_link "$LINENO"
18580 then :
18581 ac_cv_cflags__fno_stack_protector=yes
18582 else $as_nop
18583 ac_cv_cflags__fno_stack_protector=no
18585 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18586 conftest$ac_exeext conftest.$ac_ext
18587 CFLAGS=$ac_wine_try_cflags_saved
18589 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
18590 printf "%s\n" "$ac_cv_cflags__fno_stack_protector" >&6; }
18591 if test "x$ac_cv_cflags__fno_stack_protector" = xyes
18592 then :
18593 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
18595 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
18596 printf %s "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
18597 if test ${ac_cv_cflags__fno_strict_aliasing+y}
18598 then :
18599 printf %s "(cached) " >&6
18600 else $as_nop
18601 ac_wine_try_cflags_saved=$CFLAGS
18602 CFLAGS="$CFLAGS -fno-strict-aliasing"
18603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18604 /* end confdefs.h. */
18605 int main(int argc, char **argv) { return 0; }
18606 _ACEOF
18607 if ac_fn_c_try_link "$LINENO"
18608 then :
18609 ac_cv_cflags__fno_strict_aliasing=yes
18610 else $as_nop
18611 ac_cv_cflags__fno_strict_aliasing=no
18613 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18614 conftest$ac_exeext conftest.$ac_ext
18615 CFLAGS=$ac_wine_try_cflags_saved
18617 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
18618 printf "%s\n" "$ac_cv_cflags__fno_strict_aliasing" >&6; }
18619 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
18620 then :
18621 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
18623 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
18624 printf %s "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
18625 if test ${ac_cv_cflags__Wdeclaration_after_statement+y}
18626 then :
18627 printf %s "(cached) " >&6
18628 else $as_nop
18629 ac_wine_try_cflags_saved=$CFLAGS
18630 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
18631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18632 /* end confdefs.h. */
18633 int main(int argc, char **argv) { return 0; }
18634 _ACEOF
18635 if ac_fn_c_try_link "$LINENO"
18636 then :
18637 ac_cv_cflags__Wdeclaration_after_statement=yes
18638 else $as_nop
18639 ac_cv_cflags__Wdeclaration_after_statement=no
18641 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18642 conftest$ac_exeext conftest.$ac_ext
18643 CFLAGS=$ac_wine_try_cflags_saved
18645 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
18646 printf "%s\n" "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
18647 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
18648 then :
18649 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
18651 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
18652 printf %s "checking whether the compiler supports -Wempty-body... " >&6; }
18653 if test ${ac_cv_cflags__Wempty_body+y}
18654 then :
18655 printf %s "(cached) " >&6
18656 else $as_nop
18657 ac_wine_try_cflags_saved=$CFLAGS
18658 CFLAGS="$CFLAGS -Wempty-body"
18659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18660 /* end confdefs.h. */
18661 int main(int argc, char **argv) { return 0; }
18662 _ACEOF
18663 if ac_fn_c_try_link "$LINENO"
18664 then :
18665 ac_cv_cflags__Wempty_body=yes
18666 else $as_nop
18667 ac_cv_cflags__Wempty_body=no
18669 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18670 conftest$ac_exeext conftest.$ac_ext
18671 CFLAGS=$ac_wine_try_cflags_saved
18673 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
18674 printf "%s\n" "$ac_cv_cflags__Wempty_body" >&6; }
18675 if test "x$ac_cv_cflags__Wempty_body" = xyes
18676 then :
18677 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
18679 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
18680 printf %s "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
18681 if test ${ac_cv_cflags__Wignored_qualifiers+y}
18682 then :
18683 printf %s "(cached) " >&6
18684 else $as_nop
18685 ac_wine_try_cflags_saved=$CFLAGS
18686 CFLAGS="$CFLAGS -Wignored-qualifiers"
18687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18688 /* end confdefs.h. */
18689 int main(int argc, char **argv) { return 0; }
18690 _ACEOF
18691 if ac_fn_c_try_link "$LINENO"
18692 then :
18693 ac_cv_cflags__Wignored_qualifiers=yes
18694 else $as_nop
18695 ac_cv_cflags__Wignored_qualifiers=no
18697 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18698 conftest$ac_exeext conftest.$ac_ext
18699 CFLAGS=$ac_wine_try_cflags_saved
18701 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
18702 printf "%s\n" "$ac_cv_cflags__Wignored_qualifiers" >&6; }
18703 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
18704 then :
18705 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
18707 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Winit-self" >&5
18708 printf %s "checking whether the compiler supports -Winit-self... " >&6; }
18709 if test ${ac_cv_cflags__Winit_self+y}
18710 then :
18711 printf %s "(cached) " >&6
18712 else $as_nop
18713 ac_wine_try_cflags_saved=$CFLAGS
18714 CFLAGS="$CFLAGS -Winit-self"
18715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18716 /* end confdefs.h. */
18717 int main(int argc, char **argv) { return 0; }
18718 _ACEOF
18719 if ac_fn_c_try_link "$LINENO"
18720 then :
18721 ac_cv_cflags__Winit_self=yes
18722 else $as_nop
18723 ac_cv_cflags__Winit_self=no
18725 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18726 conftest$ac_exeext conftest.$ac_ext
18727 CFLAGS=$ac_wine_try_cflags_saved
18729 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Winit_self" >&5
18730 printf "%s\n" "$ac_cv_cflags__Winit_self" >&6; }
18731 if test "x$ac_cv_cflags__Winit_self" = xyes
18732 then :
18733 EXTRACFLAGS="$EXTRACFLAGS -Winit-self"
18735 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
18736 printf %s "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
18737 if test ${ac_cv_cflags__Wpacked_not_aligned+y}
18738 then :
18739 printf %s "(cached) " >&6
18740 else $as_nop
18741 ac_wine_try_cflags_saved=$CFLAGS
18742 CFLAGS="$CFLAGS -Wpacked-not-aligned"
18743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18744 /* end confdefs.h. */
18745 int main(int argc, char **argv) { return 0; }
18746 _ACEOF
18747 if ac_fn_c_try_link "$LINENO"
18748 then :
18749 ac_cv_cflags__Wpacked_not_aligned=yes
18750 else $as_nop
18751 ac_cv_cflags__Wpacked_not_aligned=no
18753 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18754 conftest$ac_exeext conftest.$ac_ext
18755 CFLAGS=$ac_wine_try_cflags_saved
18757 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
18758 printf "%s\n" "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
18759 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes
18760 then :
18761 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
18763 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
18764 printf %s "checking whether the compiler supports -Wpragma-pack... " >&6; }
18765 if test ${ac_cv_cflags__Wpragma_pack+y}
18766 then :
18767 printf %s "(cached) " >&6
18768 else $as_nop
18769 ac_wine_try_cflags_saved=$CFLAGS
18770 CFLAGS="$CFLAGS -Wpragma-pack"
18771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18772 /* end confdefs.h. */
18773 int main(int argc, char **argv) { return 0; }
18774 _ACEOF
18775 if ac_fn_c_try_link "$LINENO"
18776 then :
18777 ac_cv_cflags__Wpragma_pack=yes
18778 else $as_nop
18779 ac_cv_cflags__Wpragma_pack=no
18781 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18782 conftest$ac_exeext conftest.$ac_ext
18783 CFLAGS=$ac_wine_try_cflags_saved
18785 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
18786 printf "%s\n" "$ac_cv_cflags__Wpragma_pack" >&6; }
18787 if test "x$ac_cv_cflags__Wpragma_pack" = xyes
18788 then :
18789 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
18791 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
18792 printf %s "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
18793 if test ${ac_cv_cflags__Wshift_overflow_2+y}
18794 then :
18795 printf %s "(cached) " >&6
18796 else $as_nop
18797 ac_wine_try_cflags_saved=$CFLAGS
18798 CFLAGS="$CFLAGS -Wshift-overflow=2"
18799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18800 /* end confdefs.h. */
18801 int main(int argc, char **argv) { return 0; }
18802 _ACEOF
18803 if ac_fn_c_try_link "$LINENO"
18804 then :
18805 ac_cv_cflags__Wshift_overflow_2=yes
18806 else $as_nop
18807 ac_cv_cflags__Wshift_overflow_2=no
18809 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18810 conftest$ac_exeext conftest.$ac_ext
18811 CFLAGS=$ac_wine_try_cflags_saved
18813 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
18814 printf "%s\n" "$ac_cv_cflags__Wshift_overflow_2" >&6; }
18815 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes
18816 then :
18817 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
18819 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
18820 printf %s "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
18821 if test ${ac_cv_cflags__Wstrict_prototypes+y}
18822 then :
18823 printf %s "(cached) " >&6
18824 else $as_nop
18825 ac_wine_try_cflags_saved=$CFLAGS
18826 CFLAGS="$CFLAGS -Wstrict-prototypes"
18827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18828 /* end confdefs.h. */
18829 int main(int argc, char **argv) { return 0; }
18830 _ACEOF
18831 if ac_fn_c_try_link "$LINENO"
18832 then :
18833 ac_cv_cflags__Wstrict_prototypes=yes
18834 else $as_nop
18835 ac_cv_cflags__Wstrict_prototypes=no
18837 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18838 conftest$ac_exeext conftest.$ac_ext
18839 CFLAGS=$ac_wine_try_cflags_saved
18841 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
18842 printf "%s\n" "$ac_cv_cflags__Wstrict_prototypes" >&6; }
18843 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
18844 then :
18845 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
18847 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
18848 printf %s "checking whether the compiler supports -Wtype-limits... " >&6; }
18849 if test ${ac_cv_cflags__Wtype_limits+y}
18850 then :
18851 printf %s "(cached) " >&6
18852 else $as_nop
18853 ac_wine_try_cflags_saved=$CFLAGS
18854 CFLAGS="$CFLAGS -Wtype-limits"
18855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18856 /* end confdefs.h. */
18857 int main(int argc, char **argv) { return 0; }
18858 _ACEOF
18859 if ac_fn_c_try_link "$LINENO"
18860 then :
18861 ac_cv_cflags__Wtype_limits=yes
18862 else $as_nop
18863 ac_cv_cflags__Wtype_limits=no
18865 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18866 conftest$ac_exeext conftest.$ac_ext
18867 CFLAGS=$ac_wine_try_cflags_saved
18869 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
18870 printf "%s\n" "$ac_cv_cflags__Wtype_limits" >&6; }
18871 if test "x$ac_cv_cflags__Wtype_limits" = xyes
18872 then :
18873 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
18875 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
18876 printf %s "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
18877 if test ${ac_cv_cflags__Wunused_but_set_parameter+y}
18878 then :
18879 printf %s "(cached) " >&6
18880 else $as_nop
18881 ac_wine_try_cflags_saved=$CFLAGS
18882 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
18883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18884 /* end confdefs.h. */
18885 int main(int argc, char **argv) { return 0; }
18886 _ACEOF
18887 if ac_fn_c_try_link "$LINENO"
18888 then :
18889 ac_cv_cflags__Wunused_but_set_parameter=yes
18890 else $as_nop
18891 ac_cv_cflags__Wunused_but_set_parameter=no
18893 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18894 conftest$ac_exeext conftest.$ac_ext
18895 CFLAGS=$ac_wine_try_cflags_saved
18897 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
18898 printf "%s\n" "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
18899 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
18900 then :
18901 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
18903 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
18904 printf %s "checking whether the compiler supports -Wvla... " >&6; }
18905 if test ${ac_cv_cflags__Wvla+y}
18906 then :
18907 printf %s "(cached) " >&6
18908 else $as_nop
18909 ac_wine_try_cflags_saved=$CFLAGS
18910 CFLAGS="$CFLAGS -Wvla"
18911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18912 /* end confdefs.h. */
18913 int main(int argc, char **argv) { return 0; }
18914 _ACEOF
18915 if ac_fn_c_try_link "$LINENO"
18916 then :
18917 ac_cv_cflags__Wvla=yes
18918 else $as_nop
18919 ac_cv_cflags__Wvla=no
18921 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18922 conftest$ac_exeext conftest.$ac_ext
18923 CFLAGS=$ac_wine_try_cflags_saved
18925 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
18926 printf "%s\n" "$ac_cv_cflags__Wvla" >&6; }
18927 if test "x$ac_cv_cflags__Wvla" = xyes
18928 then :
18929 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
18931 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
18932 printf %s "checking whether the compiler supports -Wwrite-strings... " >&6; }
18933 if test ${ac_cv_cflags__Wwrite_strings+y}
18934 then :
18935 printf %s "(cached) " >&6
18936 else $as_nop
18937 ac_wine_try_cflags_saved=$CFLAGS
18938 CFLAGS="$CFLAGS -Wwrite-strings"
18939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18940 /* end confdefs.h. */
18941 int main(int argc, char **argv) { return 0; }
18942 _ACEOF
18943 if ac_fn_c_try_link "$LINENO"
18944 then :
18945 ac_cv_cflags__Wwrite_strings=yes
18946 else $as_nop
18947 ac_cv_cflags__Wwrite_strings=no
18949 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18950 conftest$ac_exeext conftest.$ac_ext
18951 CFLAGS=$ac_wine_try_cflags_saved
18953 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
18954 printf "%s\n" "$ac_cv_cflags__Wwrite_strings" >&6; }
18955 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
18956 then :
18957 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
18960 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
18961 printf %s "checking whether the compiler supports -Wpointer-arith... " >&6; }
18962 if test ${ac_cv_cflags__Wpointer_arith+y}
18963 then :
18964 printf %s "(cached) " >&6
18965 else $as_nop
18966 ac_wine_try_cflags_saved=$CFLAGS
18967 CFLAGS="$CFLAGS -Wpointer-arith"
18968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18969 /* end confdefs.h. */
18970 int main(int argc, char **argv) { return 0; }
18971 _ACEOF
18972 if ac_fn_c_try_link "$LINENO"
18973 then :
18974 ac_cv_cflags__Wpointer_arith=yes
18975 else $as_nop
18976 ac_cv_cflags__Wpointer_arith=no
18978 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18979 conftest$ac_exeext conftest.$ac_ext
18980 CFLAGS=$ac_wine_try_cflags_saved
18982 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
18983 printf "%s\n" "$ac_cv_cflags__Wpointer_arith" >&6; }
18984 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
18985 then :
18986 saved_string_h_CFLAGS=$CFLAGS
18987 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
18988 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
18989 printf %s "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
18990 if test ${ac_cv_c_string_h_warnings+y}
18991 then :
18992 printf %s "(cached) " >&6
18993 else $as_nop
18994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18995 /* end confdefs.h. */
18996 #include <string.h>
18998 main (void)
19002 return 0;
19004 _ACEOF
19005 if ac_fn_c_try_compile "$LINENO"
19006 then :
19007 ac_cv_c_string_h_warnings=no
19008 else $as_nop
19009 ac_cv_c_string_h_warnings=yes
19011 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19013 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
19014 printf "%s\n" "$ac_cv_c_string_h_warnings" >&6; }
19015 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
19016 CFLAGS=$saved_string_h_CFLAGS
19019 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
19020 printf %s "checking whether the compiler supports -Wlogical-op... " >&6; }
19021 if test ${ac_cv_cflags__Wlogical_op+y}
19022 then :
19023 printf %s "(cached) " >&6
19024 else $as_nop
19025 ac_wine_try_cflags_saved=$CFLAGS
19026 CFLAGS="$CFLAGS -Wlogical-op"
19027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19028 /* end confdefs.h. */
19029 int main(int argc, char **argv) { return 0; }
19030 _ACEOF
19031 if ac_fn_c_try_link "$LINENO"
19032 then :
19033 ac_cv_cflags__Wlogical_op=yes
19034 else $as_nop
19035 ac_cv_cflags__Wlogical_op=no
19037 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19038 conftest$ac_exeext conftest.$ac_ext
19039 CFLAGS=$ac_wine_try_cflags_saved
19041 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
19042 printf "%s\n" "$ac_cv_cflags__Wlogical_op" >&6; }
19043 if test "x$ac_cv_cflags__Wlogical_op" = xyes
19044 then :
19045 saved_string_h_CFLAGS=$CFLAGS
19046 CFLAGS="$CFLAGS -Wlogical-op -Werror"
19047 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
19048 printf %s "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
19049 if test ${ac_cv_c_logicalop_noisy+y}
19050 then :
19051 printf %s "(cached) " >&6
19052 else $as_nop
19053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19054 /* end confdefs.h. */
19055 #include <string.h>
19056 char*f(const char *h,char n) {return strchr(h,n);}
19058 main (void)
19062 return 0;
19064 _ACEOF
19065 if ac_fn_c_try_compile "$LINENO"
19066 then :
19067 ac_cv_c_logicalop_noisy=no
19068 else $as_nop
19069 ac_cv_c_logicalop_noisy=yes
19071 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19073 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
19074 printf "%s\n" "$ac_cv_c_logicalop_noisy" >&6; }
19075 CFLAGS=$saved_string_h_CFLAGS
19076 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
19079 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
19080 printf %s "checking for flags needed for 64-bit compare-and-swap support... " >&6; }
19081 if test ${wine_cv_64bit_compare_swap+y}
19082 then :
19083 printf %s "(cached) " >&6
19084 else $as_nop
19085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19086 /* end confdefs.h. */
19087 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19088 #error no
19089 #endif
19091 main (void)
19095 return 0;
19097 _ACEOF
19098 if ac_fn_c_try_compile "$LINENO"
19099 then :
19100 wine_cv_64bit_compare_swap="none needed"
19101 else $as_nop
19102 case $host_cpu in
19103 *i[3456]86*) wine_cv_64bit_compare_swap="-march=i586" ;;
19104 *arm*) wine_cv_64bit_compare_swap="-march=armv7-a" ;;
19105 *) wine_cv_64bit_compare_swap="unknown" ;;
19106 esac
19107 if test "x$wine_cv_64bit_compare_swap" != xunknown
19108 then
19109 CFLAGS="$CFLAGS $wine_cv_64bit_compare_swap"
19110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19111 /* end confdefs.h. */
19112 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19113 #error no
19114 #endif
19116 main (void)
19120 return 0;
19122 _ACEOF
19123 if ac_fn_c_try_compile "$LINENO"
19124 then :
19126 else $as_nop
19127 wine_cv_64bit_compare_swap="unknown"
19129 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19130 CFLAGS=$saved_CFLAGS
19133 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19135 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
19136 printf "%s\n" "$wine_cv_64bit_compare_swap" >&6; }
19137 case "$wine_cv_64bit_compare_swap" in
19138 unknown) as_fn_error $? "gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
19139 "none needed") ;;
19140 *) EXTRACFLAGS="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
19141 esac
19143 ac_debug_format_seen=""
19144 for ac_flag in $CFLAGS; do
19145 case $ac_flag in
19146 -gdwarf*) ac_debug_format_seen=yes ;;
19147 -g) ac_debug_format_seen=${ac_debug_format_seen:-default} ;;
19148 esac
19149 done
19150 if test "x$ac_debug_format_seen" = xdefault
19151 then
19152 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-4" >&5
19153 printf %s "checking whether the compiler supports -gdwarf-4... " >&6; }
19154 if test ${ac_cv_cflags__gdwarf_4+y}
19155 then :
19156 printf %s "(cached) " >&6
19157 else $as_nop
19158 ac_wine_try_cflags_saved=$CFLAGS
19159 CFLAGS="$CFLAGS -gdwarf-4"
19160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19161 /* end confdefs.h. */
19162 int main(int argc, char **argv) { return 0; }
19163 _ACEOF
19164 if ac_fn_c_try_link "$LINENO"
19165 then :
19166 ac_cv_cflags__gdwarf_4=yes
19167 else $as_nop
19168 ac_cv_cflags__gdwarf_4=no
19170 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19171 conftest$ac_exeext conftest.$ac_ext
19172 CFLAGS=$ac_wine_try_cflags_saved
19174 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_4" >&5
19175 printf "%s\n" "$ac_cv_cflags__gdwarf_4" >&6; }
19176 if test "x$ac_cv_cflags__gdwarf_4" = xyes
19177 then :
19178 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-4"
19182 MSVCRTFLAGS=""
19184 case $host_os in
19185 mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
19186 printf %s "checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
19187 if test ${ac_cv_cflags__Wl__delayload_autoconftest_dll+y}
19188 then :
19189 printf %s "(cached) " >&6
19190 else $as_nop
19191 ac_wine_try_cflags_saved=$CFLAGS
19192 CFLAGS="$CFLAGS -Wl,-delayload,autoconftest.dll"
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__Wl__delayload_autoconftest_dll=yes
19200 else $as_nop
19201 ac_cv_cflags__Wl__delayload_autoconftest_dll=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__Wl__delayload_autoconftest_dll" >&5
19208 printf "%s\n" "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
19209 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes
19210 then :
19211 DELAYLOADFLAG="-Wl,-delayload,"
19213 fi ;;
19214 *) MSVCRTFLAGS="-D_WIN32"
19215 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
19216 printf %s "checking whether the compiler supports -fno-builtin... " >&6; }
19217 if test ${ac_cv_cflags__fno_builtin+y}
19218 then :
19219 printf %s "(cached) " >&6
19220 else $as_nop
19221 ac_wine_try_cflags_saved=$CFLAGS
19222 CFLAGS="$CFLAGS -fno-builtin"
19223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19224 /* end confdefs.h. */
19225 int main(int argc, char **argv) { return 0; }
19226 _ACEOF
19227 if ac_fn_c_try_link "$LINENO"
19228 then :
19229 ac_cv_cflags__fno_builtin=yes
19230 else $as_nop
19231 ac_cv_cflags__fno_builtin=no
19233 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19234 conftest$ac_exeext conftest.$ac_ext
19235 CFLAGS=$ac_wine_try_cflags_saved
19237 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
19238 printf "%s\n" "$ac_cv_cflags__fno_builtin" >&6; }
19239 if test "x$ac_cv_cflags__fno_builtin" = xyes
19240 then :
19241 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
19243 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
19244 printf %s "checking whether the compiler supports -fshort-wchar... " >&6; }
19245 if test ${ac_cv_cflags__fshort_wchar+y}
19246 then :
19247 printf %s "(cached) " >&6
19248 else $as_nop
19249 ac_wine_try_cflags_saved=$CFLAGS
19250 CFLAGS="$CFLAGS -fshort-wchar"
19251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19252 /* end confdefs.h. */
19253 int main(int argc, char **argv) { return 0; }
19254 _ACEOF
19255 if ac_fn_c_try_link "$LINENO"
19256 then :
19257 ac_cv_cflags__fshort_wchar=yes
19258 else $as_nop
19259 ac_cv_cflags__fshort_wchar=no
19261 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19262 conftest$ac_exeext conftest.$ac_ext
19263 CFLAGS=$ac_wine_try_cflags_saved
19265 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
19266 printf "%s\n" "$ac_cv_cflags__fshort_wchar" >&6; }
19267 if test "x$ac_cv_cflags__fshort_wchar" = xyes
19268 then :
19269 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
19271 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19272 printf %s "checking whether the compiler supports -Wno-format... " >&6; }
19273 if test ${ac_cv_cflags__Wno_format+y}
19274 then :
19275 printf %s "(cached) " >&6
19276 else $as_nop
19277 ac_wine_try_cflags_saved=$CFLAGS
19278 CFLAGS="$CFLAGS -Wno-format"
19279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19280 /* end confdefs.h. */
19281 int main(int argc, char **argv) { return 0; }
19282 _ACEOF
19283 if ac_fn_c_try_link "$LINENO"
19284 then :
19285 ac_cv_cflags__Wno_format=yes
19286 else $as_nop
19287 ac_cv_cflags__Wno_format=no
19289 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19290 conftest$ac_exeext conftest.$ac_ext
19291 CFLAGS=$ac_wine_try_cflags_saved
19293 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19294 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19295 if test "x$ac_cv_cflags__Wno_format" = xyes
19296 then :
19297 MSVCRTFLAGS="$MSVCRTFLAGS -Wno-format"
19298 fi ;;
19299 esac
19301 case $host_cpu in
19302 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
19303 printf %s "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
19304 if test ${ac_cv_cflags__fno_omit_frame_pointer+y}
19305 then :
19306 printf %s "(cached) " >&6
19307 else $as_nop
19308 ac_wine_try_cflags_saved=$CFLAGS
19309 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
19310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19311 /* end confdefs.h. */
19312 int main(int argc, char **argv) { return 0; }
19313 _ACEOF
19314 if ac_fn_c_try_link "$LINENO"
19315 then :
19316 ac_cv_cflags__fno_omit_frame_pointer=yes
19317 else $as_nop
19318 ac_cv_cflags__fno_omit_frame_pointer=no
19320 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19321 conftest$ac_exeext conftest.$ac_ext
19322 CFLAGS=$ac_wine_try_cflags_saved
19324 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
19325 printf "%s\n" "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
19326 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
19327 then :
19328 MSVCRTFLAGS="$MSVCRTFLAGS -fno-omit-frame-pointer"
19329 fi ;;
19330 *x86_64*)
19331 case $host_os in
19332 cygwin*|mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19333 printf %s "checking whether the compiler supports -Wno-format... " >&6; }
19334 if test ${ac_cv_cflags__Wno_format+y}
19335 then :
19336 printf %s "(cached) " >&6
19337 else $as_nop
19338 ac_wine_try_cflags_saved=$CFLAGS
19339 CFLAGS="$CFLAGS -Wno-format"
19340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19341 /* end confdefs.h. */
19342 int main(int argc, char **argv) { return 0; }
19343 _ACEOF
19344 if ac_fn_c_try_link "$LINENO"
19345 then :
19346 ac_cv_cflags__Wno_format=yes
19347 else $as_nop
19348 ac_cv_cflags__Wno_format=no
19350 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19351 conftest$ac_exeext conftest.$ac_ext
19352 CFLAGS=$ac_wine_try_cflags_saved
19354 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19355 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19356 if test "x$ac_cv_cflags__Wno_format" = xyes
19357 then :
19358 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
19359 fi ;;
19360 *) if test -z "$PE_ARCHS"
19361 then
19362 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working -mabi=ms" >&5
19363 printf %s "checking for working -mabi=ms... " >&6; }
19364 if test ${ac_cv_mabi_ms+y}
19365 then :
19366 printf %s "(cached) " >&6
19367 else $as_nop
19368 CFLAGS="$CFLAGS -mabi=ms"
19369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19370 /* end confdefs.h. */
19371 #include <stdarg.h>
19372 int a(int b, ...) { __builtin_ms_va_list list; __builtin_ms_va_start(list,b); }
19374 main (void)
19378 return 0;
19380 _ACEOF
19381 if ac_fn_c_try_compile "$LINENO"
19382 then :
19383 ac_cv_mabi_ms=yes
19384 else $as_nop
19385 ac_cv_mabi_ms=no
19387 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19388 CFLAGS=$saved_CFLAGS
19390 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mabi_ms" >&5
19391 printf "%s\n" "$ac_cv_mabi_ms" >&6; }
19392 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
19394 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms" ;;
19395 esac ;;
19396 arm*)
19397 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wincompatible-function-pointer-types" >&5
19398 printf %s "checking whether the compiler supports -Wincompatible-function-pointer-types... " >&6; }
19399 if test ${ac_cv_cflags__Wincompatible_function_pointer_types+y}
19400 then :
19401 printf %s "(cached) " >&6
19402 else $as_nop
19403 ac_wine_try_cflags_saved=$CFLAGS
19404 CFLAGS="$CFLAGS -Wincompatible-function-pointer-types"
19405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19406 /* end confdefs.h. */
19407 int main(int argc, char **argv) { return 0; }
19408 _ACEOF
19409 if ac_fn_c_try_link "$LINENO"
19410 then :
19411 ac_cv_cflags__Wincompatible_function_pointer_types=yes
19412 else $as_nop
19413 ac_cv_cflags__Wincompatible_function_pointer_types=no
19415 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19416 conftest$ac_exeext conftest.$ac_ext
19417 CFLAGS=$ac_wine_try_cflags_saved
19419 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wincompatible_function_pointer_types" >&5
19420 printf "%s\n" "$ac_cv_cflags__Wincompatible_function_pointer_types" >&6; }
19421 if test "x$ac_cv_cflags__Wincompatible_function_pointer_types" = xyes
19422 then :
19423 EXTRACFLAGS="$EXTRACFLAGS -Wno-error=incompatible-function-pointer-types"
19424 fi ;;
19425 esac
19427 CFLAGS=$saved_CFLAGS
19429 if test "x$enable_werror" = "xyes"
19430 then
19431 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
19432 printf %s "checking whether the compiler supports -Werror... " >&6; }
19433 if test ${ac_cv_cflags__Werror+y}
19434 then :
19435 printf %s "(cached) " >&6
19436 else $as_nop
19437 ac_wine_try_cflags_saved=$CFLAGS
19438 CFLAGS="$CFLAGS -Werror"
19439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19440 /* end confdefs.h. */
19441 int main(int argc, char **argv) { return 0; }
19442 _ACEOF
19443 if ac_fn_c_try_link "$LINENO"
19444 then :
19445 ac_cv_cflags__Werror=yes
19446 else $as_nop
19447 ac_cv_cflags__Werror=no
19449 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19450 conftest$ac_exeext conftest.$ac_ext
19451 CFLAGS=$ac_wine_try_cflags_saved
19453 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
19454 printf "%s\n" "$ac_cv_cflags__Werror" >&6; }
19455 if test "x$ac_cv_cflags__Werror" = xyes
19456 then :
19457 EXTRACFLAGS="$EXTRACFLAGS -Werror"
19460 if test "x$enable_build_id" = "xyes"
19461 then
19462 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--build-id" >&5
19463 printf %s "checking whether the compiler supports -Wl,--build-id... " >&6; }
19464 if test ${ac_cv_cflags__Wl___build_id+y}
19465 then :
19466 printf %s "(cached) " >&6
19467 else $as_nop
19468 ac_wine_try_cflags_saved=$CFLAGS
19469 CFLAGS="$CFLAGS -Wl,--build-id"
19470 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19471 /* end confdefs.h. */
19472 int main(int argc, char **argv) { return 0; }
19473 _ACEOF
19474 if ac_fn_c_try_link "$LINENO"
19475 then :
19476 ac_cv_cflags__Wl___build_id=yes
19477 else $as_nop
19478 ac_cv_cflags__Wl___build_id=no
19480 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19481 conftest$ac_exeext conftest.$ac_ext
19482 CFLAGS=$ac_wine_try_cflags_saved
19484 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___build_id" >&5
19485 printf "%s\n" "$ac_cv_cflags__Wl___build_id" >&6; }
19486 if test "x$ac_cv_cflags__Wl___build_id" = xyes
19487 then :
19488 CFLAGS="$CFLAGS -Wl,--build-id"
19489 LDFLAGS="$LDFLAGS -Wl,--build-id"
19495 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
19496 printf %s "checking for the need to disable Fortify... " >&6; }
19497 if test ${ac_cv_c_fortify_enabled+y}
19498 then :
19499 printf %s "(cached) " >&6
19500 else $as_nop
19501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19502 /* end confdefs.h. */
19503 #include <string.h>
19505 main (void)
19507 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
19508 #error Fortify enabled
19509 #endif
19511 return 0;
19513 _ACEOF
19514 if ac_fn_c_try_compile "$LINENO"
19515 then :
19516 ac_cv_c_fortify_enabled=no
19517 else $as_nop
19518 ac_cv_c_fortify_enabled=yes
19520 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19522 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
19523 printf "%s\n" "$ac_cv_c_fortify_enabled" >&6; }
19524 if test "$ac_cv_c_fortify_enabled" = yes
19525 then
19526 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
19530 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
19531 printf %s "checking whether CFI directives are supported in assembly code... " >&6; }
19532 if test ${ac_cv_c_cfi_support+y}
19533 then :
19534 printf %s "(cached) " >&6
19535 else $as_nop
19536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19537 /* end confdefs.h. */
19538 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
19540 main (void)
19544 return 0;
19546 _ACEOF
19547 if ac_fn_c_try_compile "$LINENO"
19548 then :
19549 ac_cv_c_cfi_support="yes"
19550 else $as_nop
19551 ac_cv_c_cfi_support="no"
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_cfi_support" >&5
19556 printf "%s\n" "$ac_cv_c_cfi_support" >&6; }
19557 if test "$ac_cv_c_cfi_support" = "yes"
19558 then
19559 DLLFLAGS="$DLLFLAGS -fasynchronous-unwind-tables"
19560 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
19561 UNIXDLLFLAGS="$UNIXDLLFLAGS -fasynchronous-unwind-tables"
19562 elif test $HOST_ARCH = x86_64
19563 then
19564 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
19568 case "$HOST_ARCH,$PE_ARCHS" in
19569 x86_64,*i386*) wine_binary="wine" ;;
19570 x86_64,*) wine_binary="wine64" ;;
19571 *) wine_binary="wine" ;;
19572 esac
19573 WINELOADER_PROGRAMS="$wine_binary"
19576 case $host_os in
19577 linux*)
19578 case $host_cpu in
19579 *i[3456789]86*|x86_64*|*aarch64*|arm*)
19580 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine-preloader"
19581 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
19583 esac
19585 darwin*|macosx*)
19586 if test "$wine_can_build_preloader" = "yes"
19587 then
19588 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine-preloader"
19589 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
19592 esac
19595 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
19596 printf %s "checking for library containing dlopen... " >&6; }
19597 if test ${ac_cv_search_dlopen+y}
19598 then :
19599 printf %s "(cached) " >&6
19600 else $as_nop
19601 ac_func_search_save_LIBS=$LIBS
19602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19603 /* end confdefs.h. */
19605 /* Override any GCC internal prototype to avoid an error.
19606 Use char because int might match the return type of a GCC
19607 builtin and then its argument prototype would still apply. */
19608 char dlopen ();
19610 main (void)
19612 return dlopen ();
19614 return 0;
19616 _ACEOF
19617 for ac_lib in '' dl
19619 if test -z "$ac_lib"; then
19620 ac_res="none required"
19621 else
19622 ac_res=-l$ac_lib
19623 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19625 if ac_fn_c_try_link "$LINENO"
19626 then :
19627 ac_cv_search_dlopen=$ac_res
19629 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19630 conftest$ac_exeext
19631 if test ${ac_cv_search_dlopen+y}
19632 then :
19633 break
19635 done
19636 if test ${ac_cv_search_dlopen+y}
19637 then :
19639 else $as_nop
19640 ac_cv_search_dlopen=no
19642 rm conftest.$ac_ext
19643 LIBS=$ac_func_search_save_LIBS
19645 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
19646 printf "%s\n" "$ac_cv_search_dlopen" >&6; }
19647 ac_res=$ac_cv_search_dlopen
19648 if test "$ac_res" != no
19649 then :
19650 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19655 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
19656 printf %s "checking for library containing gethostbyname... " >&6; }
19657 if test ${ac_cv_search_gethostbyname+y}
19658 then :
19659 printf %s "(cached) " >&6
19660 else $as_nop
19661 ac_func_search_save_LIBS=$LIBS
19662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19663 /* end confdefs.h. */
19665 /* Override any GCC internal prototype to avoid an error.
19666 Use char because int might match the return type of a GCC
19667 builtin and then its argument prototype would still apply. */
19668 char gethostbyname ();
19670 main (void)
19672 return gethostbyname ();
19674 return 0;
19676 _ACEOF
19677 for ac_lib in '' nsl
19679 if test -z "$ac_lib"; then
19680 ac_res="none required"
19681 else
19682 ac_res=-l$ac_lib
19683 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19685 if ac_fn_c_try_link "$LINENO"
19686 then :
19687 ac_cv_search_gethostbyname=$ac_res
19689 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19690 conftest$ac_exeext
19691 if test ${ac_cv_search_gethostbyname+y}
19692 then :
19693 break
19695 done
19696 if test ${ac_cv_search_gethostbyname+y}
19697 then :
19699 else $as_nop
19700 ac_cv_search_gethostbyname=no
19702 rm conftest.$ac_ext
19703 LIBS=$ac_func_search_save_LIBS
19705 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
19706 printf "%s\n" "$ac_cv_search_gethostbyname" >&6; }
19707 ac_res=$ac_cv_search_gethostbyname
19708 if test "$ac_res" != no
19709 then :
19710 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19715 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
19716 printf %s "checking for library containing connect... " >&6; }
19717 if test ${ac_cv_search_connect+y}
19718 then :
19719 printf %s "(cached) " >&6
19720 else $as_nop
19721 ac_func_search_save_LIBS=$LIBS
19722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19723 /* end confdefs.h. */
19725 /* Override any GCC internal prototype to avoid an error.
19726 Use char because int might match the return type of a GCC
19727 builtin and then its argument prototype would still apply. */
19728 char connect ();
19730 main (void)
19732 return connect ();
19734 return 0;
19736 _ACEOF
19737 for ac_lib in '' socket
19739 if test -z "$ac_lib"; then
19740 ac_res="none required"
19741 else
19742 ac_res=-l$ac_lib
19743 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19745 if ac_fn_c_try_link "$LINENO"
19746 then :
19747 ac_cv_search_connect=$ac_res
19749 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19750 conftest$ac_exeext
19751 if test ${ac_cv_search_connect+y}
19752 then :
19753 break
19755 done
19756 if test ${ac_cv_search_connect+y}
19757 then :
19759 else $as_nop
19760 ac_cv_search_connect=no
19762 rm conftest.$ac_ext
19763 LIBS=$ac_func_search_save_LIBS
19765 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
19766 printf "%s\n" "$ac_cv_search_connect" >&6; }
19767 ac_res=$ac_cv_search_connect
19768 if test "$ac_res" != no
19769 then :
19770 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19775 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
19776 printf %s "checking for library containing inet_aton... " >&6; }
19777 if test ${ac_cv_search_inet_aton+y}
19778 then :
19779 printf %s "(cached) " >&6
19780 else $as_nop
19781 ac_func_search_save_LIBS=$LIBS
19782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19783 /* end confdefs.h. */
19785 /* Override any GCC internal prototype to avoid an error.
19786 Use char because int might match the return type of a GCC
19787 builtin and then its argument prototype would still apply. */
19788 char inet_aton ();
19790 main (void)
19792 return inet_aton ();
19794 return 0;
19796 _ACEOF
19797 for ac_lib in '' resolv
19799 if test -z "$ac_lib"; then
19800 ac_res="none required"
19801 else
19802 ac_res=-l$ac_lib
19803 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19805 if ac_fn_c_try_link "$LINENO"
19806 then :
19807 ac_cv_search_inet_aton=$ac_res
19809 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19810 conftest$ac_exeext
19811 if test ${ac_cv_search_inet_aton+y}
19812 then :
19813 break
19815 done
19816 if test ${ac_cv_search_inet_aton+y}
19817 then :
19819 else $as_nop
19820 ac_cv_search_inet_aton=no
19822 rm conftest.$ac_ext
19823 LIBS=$ac_func_search_save_LIBS
19825 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
19826 printf "%s\n" "$ac_cv_search_inet_aton" >&6; }
19827 ac_res=$ac_cv_search_inet_aton
19828 if test "$ac_res" != no
19829 then :
19830 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19835 ac_save_CFLAGS="$CFLAGS"
19836 CFLAGS="$CFLAGS $BUILTINFLAG"
19837 ac_fn_c_check_func "$LINENO" "dladdr1" "ac_cv_func_dladdr1"
19838 if test "x$ac_cv_func_dladdr1" = xyes
19839 then :
19840 printf "%s\n" "#define HAVE_DLADDR1 1" >>confdefs.h
19843 ac_fn_c_check_func "$LINENO" "dlinfo" "ac_cv_func_dlinfo"
19844 if test "x$ac_cv_func_dlinfo" = xyes
19845 then :
19846 printf "%s\n" "#define HAVE_DLINFO 1" >>confdefs.h
19849 ac_fn_c_check_func "$LINENO" "epoll_create" "ac_cv_func_epoll_create"
19850 if test "x$ac_cv_func_epoll_create" = xyes
19851 then :
19852 printf "%s\n" "#define HAVE_EPOLL_CREATE 1" >>confdefs.h
19855 ac_fn_c_check_func "$LINENO" "fstatfs" "ac_cv_func_fstatfs"
19856 if test "x$ac_cv_func_fstatfs" = xyes
19857 then :
19858 printf "%s\n" "#define HAVE_FSTATFS 1" >>confdefs.h
19861 ac_fn_c_check_func "$LINENO" "futimens" "ac_cv_func_futimens"
19862 if test "x$ac_cv_func_futimens" = xyes
19863 then :
19864 printf "%s\n" "#define HAVE_FUTIMENS 1" >>confdefs.h
19867 ac_fn_c_check_func "$LINENO" "futimes" "ac_cv_func_futimes"
19868 if test "x$ac_cv_func_futimes" = xyes
19869 then :
19870 printf "%s\n" "#define HAVE_FUTIMES 1" >>confdefs.h
19873 ac_fn_c_check_func "$LINENO" "futimesat" "ac_cv_func_futimesat"
19874 if test "x$ac_cv_func_futimesat" = xyes
19875 then :
19876 printf "%s\n" "#define HAVE_FUTIMESAT 1" >>confdefs.h
19879 ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
19880 if test "x$ac_cv_func_getaddrinfo" = xyes
19881 then :
19882 printf "%s\n" "#define HAVE_GETADDRINFO 1" >>confdefs.h
19885 ac_fn_c_check_func "$LINENO" "getattrlist" "ac_cv_func_getattrlist"
19886 if test "x$ac_cv_func_getattrlist" = xyes
19887 then :
19888 printf "%s\n" "#define HAVE_GETATTRLIST 1" >>confdefs.h
19891 ac_fn_c_check_func "$LINENO" "getauxval" "ac_cv_func_getauxval"
19892 if test "x$ac_cv_func_getauxval" = xyes
19893 then :
19894 printf "%s\n" "#define HAVE_GETAUXVAL 1" >>confdefs.h
19897 ac_fn_c_check_func "$LINENO" "getifaddrs" "ac_cv_func_getifaddrs"
19898 if test "x$ac_cv_func_getifaddrs" = xyes
19899 then :
19900 printf "%s\n" "#define HAVE_GETIFADDRS 1" >>confdefs.h
19903 ac_fn_c_check_func "$LINENO" "getrandom" "ac_cv_func_getrandom"
19904 if test "x$ac_cv_func_getrandom" = xyes
19905 then :
19906 printf "%s\n" "#define HAVE_GETRANDOM 1" >>confdefs.h
19909 ac_fn_c_check_func "$LINENO" "kqueue" "ac_cv_func_kqueue"
19910 if test "x$ac_cv_func_kqueue" = xyes
19911 then :
19912 printf "%s\n" "#define HAVE_KQUEUE 1" >>confdefs.h
19915 ac_fn_c_check_func "$LINENO" "mach_continuous_time" "ac_cv_func_mach_continuous_time"
19916 if test "x$ac_cv_func_mach_continuous_time" = xyes
19917 then :
19918 printf "%s\n" "#define HAVE_MACH_CONTINUOUS_TIME 1" >>confdefs.h
19921 ac_fn_c_check_func "$LINENO" "pipe2" "ac_cv_func_pipe2"
19922 if test "x$ac_cv_func_pipe2" = xyes
19923 then :
19924 printf "%s\n" "#define HAVE_PIPE2 1" >>confdefs.h
19927 ac_fn_c_check_func "$LINENO" "port_create" "ac_cv_func_port_create"
19928 if test "x$ac_cv_func_port_create" = xyes
19929 then :
19930 printf "%s\n" "#define HAVE_PORT_CREATE 1" >>confdefs.h
19933 ac_fn_c_check_func "$LINENO" "posix_fadvise" "ac_cv_func_posix_fadvise"
19934 if test "x$ac_cv_func_posix_fadvise" = xyes
19935 then :
19936 printf "%s\n" "#define HAVE_POSIX_FADVISE 1" >>confdefs.h
19939 ac_fn_c_check_func "$LINENO" "posix_fallocate" "ac_cv_func_posix_fallocate"
19940 if test "x$ac_cv_func_posix_fallocate" = xyes
19941 then :
19942 printf "%s\n" "#define HAVE_POSIX_FALLOCATE 1" >>confdefs.h
19945 ac_fn_c_check_func "$LINENO" "prctl" "ac_cv_func_prctl"
19946 if test "x$ac_cv_func_prctl" = xyes
19947 then :
19948 printf "%s\n" "#define HAVE_PRCTL 1" >>confdefs.h
19951 ac_fn_c_check_func "$LINENO" "proc_pidinfo" "ac_cv_func_proc_pidinfo"
19952 if test "x$ac_cv_func_proc_pidinfo" = xyes
19953 then :
19954 printf "%s\n" "#define HAVE_PROC_PIDINFO 1" >>confdefs.h
19957 ac_fn_c_check_func "$LINENO" "sched_yield" "ac_cv_func_sched_yield"
19958 if test "x$ac_cv_func_sched_yield" = xyes
19959 then :
19960 printf "%s\n" "#define HAVE_SCHED_YIELD 1" >>confdefs.h
19963 ac_fn_c_check_func "$LINENO" "setproctitle" "ac_cv_func_setproctitle"
19964 if test "x$ac_cv_func_setproctitle" = xyes
19965 then :
19966 printf "%s\n" "#define HAVE_SETPROCTITLE 1" >>confdefs.h
19969 ac_fn_c_check_func "$LINENO" "setprogname" "ac_cv_func_setprogname"
19970 if test "x$ac_cv_func_setprogname" = xyes
19971 then :
19972 printf "%s\n" "#define HAVE_SETPROGNAME 1" >>confdefs.h
19975 ac_fn_c_check_func "$LINENO" "sigprocmask" "ac_cv_func_sigprocmask"
19976 if test "x$ac_cv_func_sigprocmask" = xyes
19977 then :
19978 printf "%s\n" "#define HAVE_SIGPROCMASK 1" >>confdefs.h
19981 ac_fn_c_check_func "$LINENO" "sysinfo" "ac_cv_func_sysinfo"
19982 if test "x$ac_cv_func_sysinfo" = xyes
19983 then :
19984 printf "%s\n" "#define HAVE_SYSINFO 1" >>confdefs.h
19987 ac_fn_c_check_func "$LINENO" "tcdrain" "ac_cv_func_tcdrain"
19988 if test "x$ac_cv_func_tcdrain" = xyes
19989 then :
19990 printf "%s\n" "#define HAVE_TCDRAIN 1" >>confdefs.h
19993 ac_fn_c_check_func "$LINENO" "thr_kill2" "ac_cv_func_thr_kill2"
19994 if test "x$ac_cv_func_thr_kill2" = xyes
19995 then :
19996 printf "%s\n" "#define HAVE_THR_KILL2 1" >>confdefs.h
20000 CFLAGS="$ac_save_CFLAGS"
20002 case $host_os in
20003 darwin*|macosx*) ;;
20004 *) ac_save_LIBS=$LIBS
20005 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20006 printf %s "checking for library containing clock_gettime... " >&6; }
20007 if test ${ac_cv_search_clock_gettime+y}
20008 then :
20009 printf %s "(cached) " >&6
20010 else $as_nop
20011 ac_func_search_save_LIBS=$LIBS
20012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20013 /* end confdefs.h. */
20015 /* Override any GCC internal prototype to avoid an error.
20016 Use char because int might match the return type of a GCC
20017 builtin and then its argument prototype would still apply. */
20018 char clock_gettime ();
20020 main (void)
20022 return clock_gettime ();
20024 return 0;
20026 _ACEOF
20027 for ac_lib in '' rt
20029 if test -z "$ac_lib"; then
20030 ac_res="none required"
20031 else
20032 ac_res=-l$ac_lib
20033 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20035 if ac_fn_c_try_link "$LINENO"
20036 then :
20037 ac_cv_search_clock_gettime=$ac_res
20039 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20040 conftest$ac_exeext
20041 if test ${ac_cv_search_clock_gettime+y}
20042 then :
20043 break
20045 done
20046 if test ${ac_cv_search_clock_gettime+y}
20047 then :
20049 else $as_nop
20050 ac_cv_search_clock_gettime=no
20052 rm conftest.$ac_ext
20053 LIBS=$ac_func_search_save_LIBS
20055 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20056 printf "%s\n" "$ac_cv_search_clock_gettime" >&6; }
20057 ac_res=$ac_cv_search_clock_gettime
20058 if test "$ac_res" != no
20059 then :
20060 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20062 printf "%s\n" "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
20064 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
20068 LIBS=$ac_save_LIBS
20070 esac
20072 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
20073 printf %s "checking for sched_setaffinity... " >&6; }
20074 if test ${wine_cv_have_sched_setaffinity+y}
20075 then :
20076 printf %s "(cached) " >&6
20077 else $as_nop
20078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20079 /* end confdefs.h. */
20080 #include <sched.h>
20082 main (void)
20084 sched_setaffinity(0, 0, 0);
20086 return 0;
20088 _ACEOF
20089 if ac_fn_c_try_link "$LINENO"
20090 then :
20091 wine_cv_have_sched_setaffinity=yes
20092 else $as_nop
20093 wine_cv_have_sched_setaffinity=no
20095 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20096 conftest$ac_exeext conftest.$ac_ext
20098 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
20099 printf "%s\n" "$wine_cv_have_sched_setaffinity" >&6; }
20100 if test "$wine_cv_have_sched_setaffinity" = "yes"
20101 then
20103 printf "%s\n" "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
20108 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
20109 printf %s "checking for inline... " >&6; }
20110 if test ${ac_cv_c_inline+y}
20111 then :
20112 printf %s "(cached) " >&6
20113 else $as_nop
20114 ac_cv_c_inline=no
20115 for ac_kw in inline __inline__ __inline; do
20116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20117 /* end confdefs.h. */
20118 #ifndef __cplusplus
20119 typedef int foo_t;
20120 static $ac_kw foo_t static_foo (void) {return 0; }
20121 $ac_kw foo_t foo (void) {return 0; }
20122 #endif
20124 _ACEOF
20125 if ac_fn_c_try_compile "$LINENO"
20126 then :
20127 ac_cv_c_inline=$ac_kw
20129 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
20130 test "$ac_cv_c_inline" != no && break
20131 done
20134 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
20135 printf "%s\n" "$ac_cv_c_inline" >&6; }
20137 case $ac_cv_c_inline in
20138 inline | yes) ;;
20140 case $ac_cv_c_inline in
20141 no) ac_val=;;
20142 *) ac_val=$ac_cv_c_inline;;
20143 esac
20144 cat >>confdefs.h <<_ACEOF
20145 #ifndef __cplusplus
20146 #define inline $ac_val
20147 #endif
20148 _ACEOF
20150 esac
20152 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
20154 if test "x$ac_cv_type_request_sense" = xyes
20155 then :
20157 printf "%s\n" "#define HAVE_REQUEST_SENSE 1" >>confdefs.h
20163 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
20164 #include <sys/socket.h>
20165 #ifdef HAVE_SYS_SOCKETVAR_H
20166 #include <sys/socketvar.h>
20167 #endif
20168 #ifdef HAVE_NET_ROUTE_H
20169 #include <net/route.h>
20170 #endif
20171 #ifdef HAVE_NETINET_IN_H
20172 #include <netinet/in.h>
20173 #endif
20174 #ifdef HAVE_NETINET_IN_SYSTM_H
20175 #include <netinet/in_systm.h>
20176 #endif
20177 #ifdef HAVE_NETINET_IP_H
20178 #include <netinet/ip.h>
20179 #endif
20180 #ifdef HAVE_NETINET_IN_PCB_H
20181 #include <netinet/in_pcb.h>
20182 #endif
20184 if test "x$ac_cv_type_struct_xinpgen" = xyes
20185 then :
20187 printf "%s\n" "#define HAVE_STRUCT_XINPGEN 1" >>confdefs.h
20193 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
20194 printf %s "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
20195 if test ${wine_cv_linux_gethostbyname_r_6+y}
20196 then :
20197 printf %s "(cached) " >&6
20198 else $as_nop
20199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20200 /* end confdefs.h. */
20201 #include <netdb.h>
20203 main (void)
20206 char *name=0;
20207 struct hostent he;
20208 struct hostent *result;
20209 char *buf=0;
20210 int bufsize=0;
20211 int errnr;
20212 char *addr=0;
20213 int addrlen=0;
20214 int addrtype=0;
20215 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
20216 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
20219 return 0;
20221 _ACEOF
20222 if ac_fn_c_try_link "$LINENO"
20223 then :
20224 wine_cv_linux_gethostbyname_r_6=yes
20225 else $as_nop
20226 wine_cv_linux_gethostbyname_r_6=no
20229 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20230 conftest$ac_exeext conftest.$ac_ext
20233 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
20234 printf "%s\n" "$wine_cv_linux_gethostbyname_r_6" >&6; }
20235 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
20236 then
20238 printf "%s\n" "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
20242 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
20243 #include <sys/socket.h>
20244 #ifdef HAVE_SYS_UN_H
20245 # include <sys/un.h>
20246 #endif
20248 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
20249 then :
20251 printf "%s\n" "#define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1" >>confdefs.h
20255 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
20256 #include <sys/socket.h>
20257 #ifdef HAVE_SYS_UN_H
20258 # include <sys/un.h>
20259 #endif
20261 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
20262 then :
20264 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1" >>confdefs.h
20270 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
20271 #ifdef HAVE_SCSI_SG_H
20272 #include <scsi/sg.h>
20273 #endif
20275 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
20276 then :
20278 printf "%s\n" "#define HAVE_SCSIREQ_T_CMD 1" >>confdefs.h
20282 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>
20283 #ifdef HAVE_SCSI_SG_H
20284 #include <scsi/sg.h>
20285 #endif
20287 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
20288 then :
20290 printf "%s\n" "#define HAVE_SG_IO_HDR_T_INTERFACE_ID 1" >>confdefs.h
20296 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
20298 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
20299 then :
20301 printf "%s\n" "#define HAVE_SIGINFO_T_SI_FD 1" >>confdefs.h
20307 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
20308 #ifdef HAVE_SYS_MTIO_H
20309 #include <sys/mtio.h>
20310 #endif
20312 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
20313 then :
20315 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKSIZ 1" >>confdefs.h
20319 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
20320 #ifdef HAVE_SYS_MTIO_H
20321 #include <sys/mtio.h>
20322 #endif
20324 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
20325 then :
20327 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_GSTAT 1" >>confdefs.h
20331 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
20332 #ifdef HAVE_SYS_MTIO_H
20333 #include <sys/mtio.h>
20334 #endif
20336 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
20337 then :
20339 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKNO 1" >>confdefs.h
20345 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
20346 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
20347 then :
20349 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIM 1" >>confdefs.h
20353 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
20354 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
20355 then :
20357 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIMESPEC 1" >>confdefs.h
20361 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
20362 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
20363 then :
20365 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIM 1" >>confdefs.h
20369 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
20370 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
20371 then :
20373 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIMESPEC 1" >>confdefs.h
20377 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
20378 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
20379 then :
20381 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIM 1" >>confdefs.h
20385 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
20386 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
20387 then :
20389 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIMESPEC 1" >>confdefs.h
20393 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
20394 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
20395 then :
20397 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIME 1" >>confdefs.h
20401 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
20402 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
20403 then :
20405 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIM 1" >>confdefs.h
20409 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
20410 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
20411 then :
20413 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1" >>confdefs.h
20417 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
20418 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
20419 then :
20421 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIME 1" >>confdefs.h
20425 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
20426 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
20427 then :
20429 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIM 1" >>confdefs.h
20435 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>
20436 #ifdef HAVE_NETINET_IN_H
20437 #include <netinet/in.h>
20438 #endif
20440 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
20441 then :
20443 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1" >>confdefs.h
20449 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
20450 #include <resolv.h>
20451 #endif
20453 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
20454 then :
20456 printf "%s\n" "#define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1" >>confdefs.h
20462 ac_fn_c_check_member "$LINENO" "struct in6_pktinfo" "ipi6_addr" "ac_cv_member_struct_in6_pktinfo_ipi6_addr" "#ifdef HAVE_NETINET_IN_H
20463 #include <netinet/in.h>
20464 #endif
20466 if test "x$ac_cv_member_struct_in6_pktinfo_ipi6_addr" = xyes
20467 then :
20469 printf "%s\n" "#define HAVE_STRUCT_IN6_PKTINFO_IPI6_ADDR 1" >>confdefs.h
20475 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#include <sys/types.h>
20476 #ifdef HAVE_SYS_SOCKETVAR_H
20477 #include <sys/socketvar.h>
20478 #endif
20479 #ifdef HAVE_NETINET_IN_H
20480 #include <netinet/in.h>
20481 #endif
20482 #ifdef HAVE_NETINET_IP_VAR_H
20483 #include <netinet/ip_var.h>
20484 #endif
20486 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
20487 then :
20489 printf "%s\n" "#define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1" >>confdefs.h
20495 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
20496 #include <netinet/ip_var.h>
20497 #endif
20499 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
20500 then :
20502 printf "%s\n" "#define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1" >>confdefs.h
20508 ac_fn_c_check_member "$LINENO" "struct ip6stat" "ip6s_total" "ac_cv_member_struct_ip6stat_ip6s_total" "#include <sys/types.h>
20509 #ifdef HAVE_SYS_SOCKETVAR_H
20510 #include <sys/socketvar.h>
20511 #endif
20512 #ifdef HAVE_NETINET_IN_H
20513 #include <netinet/in.h>
20514 #endif
20515 #ifdef HAVE_NETINET6_IP6_VAR_H
20516 #include <netinet6/ip6_var.h>
20517 #endif
20519 if test "x$ac_cv_member_struct_ip6stat_ip6s_total" = xyes
20520 then :
20522 printf "%s\n" "#define HAVE_STRUCT_IP6STAT_IP6S_TOTAL 1" >>confdefs.h
20528 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_error" "ac_cv_member_struct_icmpstat_icps_error" "#include <sys/types.h>
20529 #ifdef HAVE_SYS_SOCKETVAR_H
20530 #include <sys/socketvar.h>
20531 #endif
20532 #ifdef HAVE_NETINET_IN_H
20533 #include <netinet/in.h>
20534 #endif
20535 #ifdef HAVE_NETINET_IP_H
20536 #include <netinet/ip.h>
20537 #endif
20538 #ifdef HAVE_NETINET_IP_ICMP_H
20539 #include <netinet/ip_icmp.h>
20540 #endif
20541 #ifdef HAVE_NETINET_ICMP_VAR_H
20542 #include <netinet/icmp_var.h>
20543 #endif
20545 if test "x$ac_cv_member_struct_icmpstat_icps_error" = xyes
20546 then :
20548 printf "%s\n" "#define HAVE_STRUCT_ICMPSTAT_ICPS_ERROR 1" >>confdefs.h
20554 ac_fn_c_check_member "$LINENO" "struct icmp6stat" "icp6s_error" "ac_cv_member_struct_icmp6stat_icp6s_error" "#include <sys/types.h>
20555 #ifdef HAVE_SYS_SOCKETVAR_H
20556 #include <sys/socketvar.h>
20557 #endif
20558 #ifdef HAVE_NETINET_IN_H
20559 #include <netinet/in.h>
20560 #endif
20561 #ifdef HAVE_NETINET_ICMP6_H
20562 #include <netinet/icmp6.h>
20563 #endif
20565 if test "x$ac_cv_member_struct_icmp6stat_icp6s_error" = xyes
20566 then :
20568 printf "%s\n" "#define HAVE_STRUCT_ICMP6STAT_ICP6S_ERROR 1" >>confdefs.h
20574 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#include <sys/types.h>
20575 #ifdef HAVE_SYS_SOCKETVAR_H
20576 #include <sys/socketvar.h>
20577 #endif
20578 #ifdef HAVE_NETINET_IN_H
20579 #include <netinet/in.h>
20580 #endif
20581 #ifdef HAVE_NETINET_TCP_H
20582 #include <netinet/tcp.h>
20583 #endif
20584 #ifdef HAVE_NETINET_TCP_VAR_H
20585 #include <netinet/tcp_var.h>
20586 #endif
20588 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
20589 then :
20591 printf "%s\n" "#define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1" >>confdefs.h
20597 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
20598 #include <netinet/tcp_var.h>
20599 #endif
20601 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
20602 then :
20604 printf "%s\n" "#define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1" >>confdefs.h
20610 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#include <sys/types.h>
20611 #ifdef HAVE_NETINET_IN_H
20612 #include <netinet/in.h>
20613 #endif
20614 #ifdef HAVE_NETINET_IP_VAR_H
20615 #include <netinet/ip_var.h>
20616 #endif
20617 #ifdef HAVE_NETINET_UDP_H
20618 #include <netinet/udp.h>
20619 #endif
20620 #ifdef HAVE_NETINET_UDP_VAR_H
20621 #include <netinet/udp_var.h>
20622 #endif
20624 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
20625 then :
20627 printf "%s\n" "#define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1" >>confdefs.h
20633 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#include <sys/types.h>
20634 #ifdef HAVE_NET_IF_H
20635 # include <net/if.h>
20636 #endif
20638 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
20639 then :
20641 printf "%s\n" "#define HAVE_STRUCT_IFREQ_IFR_HWADDR 1" >>confdefs.h
20647 ac_fn_c_check_member "$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
20648 # include <sys/sysinfo.h>
20649 #endif
20651 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes
20652 then :
20654 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_TOTALRAM 1" >>confdefs.h
20658 ac_fn_c_check_member "$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
20659 # include <sys/sysinfo.h>
20660 #endif
20662 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes
20663 then :
20665 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_MEM_UNIT 1" >>confdefs.h
20671 LIBS="$ac_save_LIBS"
20673 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
20674 printf %s "checking for __builtin_popcount... " >&6; }
20675 if test ${ac_cv_have___builtin_popcount+y}
20676 then :
20677 printf %s "(cached) " >&6
20678 else $as_nop
20679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20680 /* end confdefs.h. */
20683 main (void)
20685 return __builtin_popcount(1)
20687 return 0;
20689 _ACEOF
20690 if ac_fn_c_try_link "$LINENO"
20691 then :
20692 ac_cv_have___builtin_popcount="yes"
20693 else $as_nop
20694 ac_cv_have___builtin_popcount="no"
20696 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20697 conftest$ac_exeext conftest.$ac_ext
20699 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
20700 printf "%s\n" "$ac_cv_have___builtin_popcount" >&6; }
20701 if test "$ac_cv_have___builtin_popcount" = "yes"
20702 then
20704 printf "%s\n" "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
20708 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
20709 printf %s "checking for __clear_cache... " >&6; }
20710 if test ${ac_cv_have___clear_cache+y}
20711 then :
20712 printf %s "(cached) " >&6
20713 else $as_nop
20714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20715 /* end confdefs.h. */
20718 main (void)
20720 __clear_cache((void*)0, (void*)0); return 0;
20722 return 0;
20724 _ACEOF
20725 if ac_fn_c_try_link "$LINENO"
20726 then :
20727 ac_cv_have___clear_cache="yes"
20728 else $as_nop
20729 ac_cv_have___clear_cache="no"
20731 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20732 conftest$ac_exeext conftest.$ac_ext
20734 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
20735 printf "%s\n" "$ac_cv_have___clear_cache" >&6; }
20736 if test "$ac_cv_have___clear_cache" = "yes"
20737 then
20739 printf "%s\n" "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
20744 case $host_cpu in
20745 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
20746 printf %s "checking whether we need to define __i386__... " >&6; }
20747 if test ${ac_cv_cpp_def___i386__+y}
20748 then :
20749 printf %s "(cached) " >&6
20750 else $as_nop
20751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20752 /* end confdefs.h. */
20753 #ifndef __i386__
20755 #endif
20756 _ACEOF
20757 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20758 $EGREP "yes" >/dev/null 2>&1
20759 then :
20760 ac_cv_cpp_def___i386__=yes
20761 else $as_nop
20762 ac_cv_cpp_def___i386__=no
20764 rm -rf conftest*
20767 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
20768 printf "%s\n" "$ac_cv_cpp_def___i386__" >&6; }
20769 if test "x$ac_cv_cpp_def___i386__" = xyes
20770 then :
20771 CFLAGS="$CFLAGS -D__i386__"
20772 LINTFLAGS="$LINTFLAGS -D__i386__"
20773 fi ;;
20774 *x86_64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
20775 printf %s "checking whether we need to define __x86_64__... " >&6; }
20776 if test ${ac_cv_cpp_def___x86_64__+y}
20777 then :
20778 printf %s "(cached) " >&6
20779 else $as_nop
20780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20781 /* end confdefs.h. */
20782 #ifndef __x86_64__
20784 #endif
20785 _ACEOF
20786 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20787 $EGREP "yes" >/dev/null 2>&1
20788 then :
20789 ac_cv_cpp_def___x86_64__=yes
20790 else $as_nop
20791 ac_cv_cpp_def___x86_64__=no
20793 rm -rf conftest*
20796 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
20797 printf "%s\n" "$ac_cv_cpp_def___x86_64__" >&6; }
20798 if test "x$ac_cv_cpp_def___x86_64__" = xyes
20799 then :
20800 CFLAGS="$CFLAGS -D__x86_64__"
20801 LINTFLAGS="$LINTFLAGS -D__x86_64__"
20802 fi ;;
20803 *sparc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
20804 printf %s "checking whether we need to define __sparc64__... " >&6; }
20805 if test ${ac_cv_cpp_def___sparc64__+y}
20806 then :
20807 printf %s "(cached) " >&6
20808 else $as_nop
20809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20810 /* end confdefs.h. */
20811 #ifndef __sparc64__
20813 #endif
20814 _ACEOF
20815 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20816 $EGREP "yes" >/dev/null 2>&1
20817 then :
20818 ac_cv_cpp_def___sparc64__=yes
20819 else $as_nop
20820 ac_cv_cpp_def___sparc64__=no
20822 rm -rf conftest*
20825 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
20826 printf "%s\n" "$ac_cv_cpp_def___sparc64__" >&6; }
20827 if test "x$ac_cv_cpp_def___sparc64__" = xyes
20828 then :
20829 CFLAGS="$CFLAGS -D__sparc64__"
20830 LINTFLAGS="$LINTFLAGS -D__sparc64__"
20831 fi ;;
20832 *sparc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
20833 printf %s "checking whether we need to define __sparc__... " >&6; }
20834 if test ${ac_cv_cpp_def___sparc__+y}
20835 then :
20836 printf %s "(cached) " >&6
20837 else $as_nop
20838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20839 /* end confdefs.h. */
20840 #ifndef __sparc__
20842 #endif
20843 _ACEOF
20844 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20845 $EGREP "yes" >/dev/null 2>&1
20846 then :
20847 ac_cv_cpp_def___sparc__=yes
20848 else $as_nop
20849 ac_cv_cpp_def___sparc__=no
20851 rm -rf conftest*
20854 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
20855 printf "%s\n" "$ac_cv_cpp_def___sparc__" >&6; }
20856 if test "x$ac_cv_cpp_def___sparc__" = xyes
20857 then :
20858 CFLAGS="$CFLAGS -D__sparc__"
20859 LINTFLAGS="$LINTFLAGS -D__sparc__"
20860 fi ;;
20861 *powerpc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
20862 printf %s "checking whether we need to define __powerpc64__... " >&6; }
20863 if test ${ac_cv_cpp_def___powerpc64__+y}
20864 then :
20865 printf %s "(cached) " >&6
20866 else $as_nop
20867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20868 /* end confdefs.h. */
20869 #ifndef __powerpc64__
20871 #endif
20872 _ACEOF
20873 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20874 $EGREP "yes" >/dev/null 2>&1
20875 then :
20876 ac_cv_cpp_def___powerpc64__=yes
20877 else $as_nop
20878 ac_cv_cpp_def___powerpc64__=no
20880 rm -rf conftest*
20883 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
20884 printf "%s\n" "$ac_cv_cpp_def___powerpc64__" >&6; }
20885 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
20886 then :
20887 CFLAGS="$CFLAGS -D__powerpc64__"
20888 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
20889 fi ;;
20890 *powerpc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
20891 printf %s "checking whether we need to define __powerpc__... " >&6; }
20892 if test ${ac_cv_cpp_def___powerpc__+y}
20893 then :
20894 printf %s "(cached) " >&6
20895 else $as_nop
20896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20897 /* end confdefs.h. */
20898 #ifndef __powerpc__
20900 #endif
20901 _ACEOF
20902 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20903 $EGREP "yes" >/dev/null 2>&1
20904 then :
20905 ac_cv_cpp_def___powerpc__=yes
20906 else $as_nop
20907 ac_cv_cpp_def___powerpc__=no
20909 rm -rf conftest*
20912 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
20913 printf "%s\n" "$ac_cv_cpp_def___powerpc__" >&6; }
20914 if test "x$ac_cv_cpp_def___powerpc__" = xyes
20915 then :
20916 CFLAGS="$CFLAGS -D__powerpc__"
20917 LINTFLAGS="$LINTFLAGS -D__powerpc__"
20918 fi ;;
20919 *aarch64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
20920 printf %s "checking whether we need to define __aarch64__... " >&6; }
20921 if test ${ac_cv_cpp_def___aarch64__+y}
20922 then :
20923 printf %s "(cached) " >&6
20924 else $as_nop
20925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20926 /* end confdefs.h. */
20927 #ifndef __aarch64__
20929 #endif
20930 _ACEOF
20931 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20932 $EGREP "yes" >/dev/null 2>&1
20933 then :
20934 ac_cv_cpp_def___aarch64__=yes
20935 else $as_nop
20936 ac_cv_cpp_def___aarch64__=no
20938 rm -rf conftest*
20941 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
20942 printf "%s\n" "$ac_cv_cpp_def___aarch64__" >&6; }
20943 if test "x$ac_cv_cpp_def___aarch64__" = xyes
20944 then :
20945 CFLAGS="$CFLAGS -D__aarch64__"
20946 LINTFLAGS="$LINTFLAGS -D__aarch64__"
20947 fi ;;
20948 *arm*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
20949 printf %s "checking whether we need to define __arm__... " >&6; }
20950 if test ${ac_cv_cpp_def___arm__+y}
20951 then :
20952 printf %s "(cached) " >&6
20953 else $as_nop
20954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20955 /* end confdefs.h. */
20956 #ifndef __arm__
20958 #endif
20959 _ACEOF
20960 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20961 $EGREP "yes" >/dev/null 2>&1
20962 then :
20963 ac_cv_cpp_def___arm__=yes
20964 else $as_nop
20965 ac_cv_cpp_def___arm__=no
20967 rm -rf conftest*
20970 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
20971 printf "%s\n" "$ac_cv_cpp_def___arm__" >&6; }
20972 if test "x$ac_cv_cpp_def___arm__" = xyes
20973 then :
20974 CFLAGS="$CFLAGS -D__arm__"
20975 LINTFLAGS="$LINTFLAGS -D__arm__"
20976 fi ;;
20977 esac
20979 case $host_vendor in
20980 *sun*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
20981 printf %s "checking whether we need to define __sun__... " >&6; }
20982 if test ${ac_cv_cpp_def___sun__+y}
20983 then :
20984 printf %s "(cached) " >&6
20985 else $as_nop
20986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20987 /* end confdefs.h. */
20988 #ifndef __sun__
20990 #endif
20991 _ACEOF
20992 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20993 $EGREP "yes" >/dev/null 2>&1
20994 then :
20995 ac_cv_cpp_def___sun__=yes
20996 else $as_nop
20997 ac_cv_cpp_def___sun__=no
20999 rm -rf conftest*
21002 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
21003 printf "%s\n" "$ac_cv_cpp_def___sun__" >&6; }
21004 if test "x$ac_cv_cpp_def___sun__" = xyes
21005 then :
21006 CFLAGS="$CFLAGS -D__sun__"
21007 LINTFLAGS="$LINTFLAGS -D__sun__"
21008 fi ;;
21009 esac
21015 ac_config_commands="$ac_config_commands include/stamp-h"
21017 printf %s "creating Makefile rules..." >&6
21019 makedep_flags=""
21020 test "x$enable_silent_rules" = xyes && makedep_flags="$makedep_flags -S"
21022 wine_srcdir=
21023 test "$srcdir" = . || wine_srcdir="$srcdir/"
21025 ac_config_links="$ac_config_links wine:tools/winewrapper"
21026 wine_fn_config_symlink wine
21027 if test "$HOST_ARCH" = x86_64 -o -n "$with_wine64"; then
21028 ac_config_links="$ac_config_links wine64:tools/winewrapper"
21029 wine_fn_config_symlink wine64
21032 wine_fn_config_makefile dlls/acledit enable_acledit
21033 wine_fn_config_makefile dlls/aclui enable_aclui
21034 wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
21035 wine_fn_config_makefile dlls/activeds enable_activeds
21036 wine_fn_config_makefile dlls/activeds/tests enable_tests
21037 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
21038 wine_fn_config_makefile dlls/adsldp enable_adsldp
21039 wine_fn_config_makefile dlls/adsldp/tests enable_tests
21040 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
21041 wine_fn_config_makefile dlls/advapi32 enable_advapi32
21042 wine_fn_config_makefile dlls/advapi32/tests enable_tests
21043 wine_fn_config_makefile dlls/advpack enable_advpack
21044 wine_fn_config_makefile dlls/advpack/tests enable_tests
21045 wine_fn_config_makefile dlls/amsi enable_amsi
21046 wine_fn_config_makefile dlls/amstream enable_amstream
21047 wine_fn_config_makefile dlls/amstream/tests enable_tests
21048 wine_fn_config_makefile dlls/apisetschema enable_apisetschema
21049 wine_fn_config_makefile dlls/apphelp enable_apphelp
21050 wine_fn_config_makefile dlls/apphelp/tests enable_tests
21051 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
21052 wine_fn_config_makefile dlls/atl enable_atl
21053 wine_fn_config_makefile dlls/atl/tests enable_tests
21054 wine_fn_config_makefile dlls/atl100 enable_atl100
21055 wine_fn_config_makefile dlls/atl100/tests enable_tests
21056 wine_fn_config_makefile dlls/atl110 enable_atl110
21057 wine_fn_config_makefile dlls/atl110/tests enable_tests
21058 wine_fn_config_makefile dlls/atl80 enable_atl80
21059 wine_fn_config_makefile dlls/atl80/tests enable_tests
21060 wine_fn_config_makefile dlls/atl90 enable_atl90
21061 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
21062 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
21063 wine_fn_config_makefile dlls/atmlib enable_atmlib
21064 wine_fn_config_makefile dlls/authz enable_authz
21065 wine_fn_config_makefile dlls/avicap32 enable_avicap32
21066 wine_fn_config_makefile dlls/avifil32 enable_avifil32
21067 wine_fn_config_makefile dlls/avifil32/tests enable_tests
21068 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
21069 wine_fn_config_makefile dlls/avrt enable_avrt
21070 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
21071 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
21072 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
21073 wine_fn_config_makefile dlls/browseui enable_browseui
21074 wine_fn_config_makefile dlls/browseui/tests enable_tests
21075 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
21076 wine_fn_config_makefile dlls/cabinet enable_cabinet
21077 wine_fn_config_makefile dlls/cabinet/tests enable_tests
21078 wine_fn_config_makefile dlls/capi2032 enable_capi2032
21079 wine_fn_config_makefile dlls/cards enable_cards
21080 wine_fn_config_makefile dlls/cdosys enable_cdosys
21081 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
21082 wine_fn_config_makefile dlls/clusapi enable_clusapi
21083 wine_fn_config_makefile dlls/cng.sys enable_cng_sys
21084 wine_fn_config_makefile dlls/combase enable_combase
21085 wine_fn_config_makefile dlls/combase/tests enable_tests
21086 wine_fn_config_makefile dlls/comcat enable_comcat
21087 wine_fn_config_makefile dlls/comcat/tests enable_tests
21088 wine_fn_config_makefile dlls/comctl32 enable_comctl32
21089 wine_fn_config_makefile dlls/comctl32/tests enable_tests
21090 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
21091 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
21092 wine_fn_config_makefile dlls/comm.drv16 enable_win16
21093 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
21094 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
21095 wine_fn_config_makefile dlls/compstui enable_compstui
21096 wine_fn_config_makefile dlls/compstui/tests enable_tests
21097 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
21098 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
21099 wine_fn_config_makefile dlls/concrt140 enable_concrt140
21100 wine_fn_config_makefile dlls/concrt140/tests enable_tests
21101 wine_fn_config_makefile dlls/connect enable_connect
21102 wine_fn_config_makefile dlls/credui enable_credui
21103 wine_fn_config_makefile dlls/credui/tests enable_tests
21104 wine_fn_config_makefile dlls/crtdll enable_crtdll
21105 wine_fn_config_makefile dlls/crypt32 enable_crypt32
21106 wine_fn_config_makefile dlls/crypt32/tests enable_tests
21107 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
21108 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
21109 wine_fn_config_makefile dlls/cryptext enable_cryptext
21110 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
21111 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
21112 wine_fn_config_makefile dlls/cryptowinrt enable_cryptowinrt
21113 wine_fn_config_makefile dlls/cryptsp enable_cryptsp
21114 wine_fn_config_makefile dlls/cryptui enable_cryptui
21115 wine_fn_config_makefile dlls/cryptui/tests enable_tests
21116 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
21117 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
21118 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
21119 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
21120 wine_fn_config_makefile dlls/d2d1 enable_d2d1
21121 wine_fn_config_makefile dlls/d2d1/tests enable_tests
21122 wine_fn_config_makefile dlls/d3d10 enable_d3d10
21123 wine_fn_config_makefile dlls/d3d10/tests enable_tests
21124 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
21125 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
21126 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
21127 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
21128 wine_fn_config_makefile dlls/d3d11 enable_d3d11
21129 wine_fn_config_makefile dlls/d3d11/tests enable_tests
21130 wine_fn_config_makefile dlls/d3d12 enable_d3d12
21131 wine_fn_config_makefile dlls/d3d12/tests enable_tests
21132 wine_fn_config_makefile dlls/d3d12core enable_d3d12core
21133 wine_fn_config_makefile dlls/d3d8 enable_d3d8
21134 wine_fn_config_makefile dlls/d3d8/tests enable_tests
21135 wine_fn_config_makefile dlls/d3d8thk enable_d3d8thk
21136 wine_fn_config_makefile dlls/d3d9 enable_d3d9
21137 wine_fn_config_makefile dlls/d3d9/tests enable_tests
21138 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
21139 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
21140 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
21141 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
21142 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
21143 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
21144 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
21145 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
21146 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
21147 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
21148 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
21149 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
21150 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
21151 wine_fn_config_makefile dlls/d3dcompiler_46/tests enable_tests
21152 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
21153 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
21154 wine_fn_config_makefile dlls/d3dim enable_d3dim
21155 wine_fn_config_makefile dlls/d3dim700 enable_d3dim700
21156 wine_fn_config_makefile dlls/d3drm enable_d3drm
21157 wine_fn_config_makefile dlls/d3drm/tests enable_tests
21158 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
21159 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
21160 wine_fn_config_makefile dlls/d3dx10_34/tests enable_tests
21161 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
21162 wine_fn_config_makefile dlls/d3dx10_35/tests enable_tests
21163 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
21164 wine_fn_config_makefile dlls/d3dx10_36/tests enable_tests
21165 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
21166 wine_fn_config_makefile dlls/d3dx10_37/tests enable_tests
21167 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
21168 wine_fn_config_makefile dlls/d3dx10_38/tests enable_tests
21169 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
21170 wine_fn_config_makefile dlls/d3dx10_39/tests enable_tests
21171 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
21172 wine_fn_config_makefile dlls/d3dx10_40/tests enable_tests
21173 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
21174 wine_fn_config_makefile dlls/d3dx10_41/tests enable_tests
21175 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
21176 wine_fn_config_makefile dlls/d3dx10_42/tests enable_tests
21177 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
21178 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
21179 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
21180 wine_fn_config_makefile dlls/d3dx11_42/tests enable_tests
21181 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
21182 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
21183 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
21184 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
21185 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
21186 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
21187 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
21188 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
21189 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
21190 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
21191 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
21192 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
21193 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
21194 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
21195 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
21196 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
21197 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
21198 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
21199 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
21200 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
21201 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
21202 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
21203 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
21204 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
21205 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
21206 wine_fn_config_makefile dlls/davclnt enable_davclnt
21207 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
21208 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
21209 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
21210 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
21211 wine_fn_config_makefile dlls/dciman32 enable_dciman32
21212 wine_fn_config_makefile dlls/dcomp enable_dcomp
21213 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
21214 wine_fn_config_makefile dlls/ddraw enable_ddraw
21215 wine_fn_config_makefile dlls/ddraw/tests enable_tests
21216 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
21217 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
21218 wine_fn_config_makefile dlls/devenum enable_devenum
21219 wine_fn_config_makefile dlls/devenum/tests enable_tests
21220 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
21221 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
21222 wine_fn_config_makefile dlls/dhcpcsvc6 enable_dhcpcsvc6
21223 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
21224 wine_fn_config_makefile dlls/diasymreader enable_diasymreader
21225 wine_fn_config_makefile dlls/difxapi enable_difxapi
21226 wine_fn_config_makefile dlls/dinput enable_dinput
21227 wine_fn_config_makefile dlls/dinput/tests enable_tests
21228 wine_fn_config_makefile dlls/dinput8 enable_dinput8
21229 wine_fn_config_makefile dlls/directmanipulation enable_directmanipulation
21230 wine_fn_config_makefile dlls/directmanipulation/tests enable_tests
21231 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
21232 wine_fn_config_makefile dlls/dispex enable_dispex
21233 wine_fn_config_makefile dlls/dispex/tests enable_tests
21234 wine_fn_config_makefile dlls/display.drv16 enable_win16
21235 wine_fn_config_makefile dlls/dmband enable_dmband
21236 wine_fn_config_makefile dlls/dmband/tests enable_tests
21237 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
21238 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
21239 wine_fn_config_makefile dlls/dmime enable_dmime
21240 wine_fn_config_makefile dlls/dmime/tests enable_tests
21241 wine_fn_config_makefile dlls/dmloader enable_dmloader
21242 wine_fn_config_makefile dlls/dmloader/tests enable_tests
21243 wine_fn_config_makefile dlls/dmscript enable_dmscript
21244 wine_fn_config_makefile dlls/dmscript/tests enable_tests
21245 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
21246 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
21247 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
21248 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
21249 wine_fn_config_makefile dlls/dmusic enable_dmusic
21250 wine_fn_config_makefile dlls/dmusic/tests enable_tests
21251 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
21252 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
21253 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
21254 wine_fn_config_makefile dlls/dplay enable_dplay
21255 wine_fn_config_makefile dlls/dplayx enable_dplayx
21256 wine_fn_config_makefile dlls/dplayx/tests enable_tests
21257 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
21258 wine_fn_config_makefile dlls/dpnet enable_dpnet
21259 wine_fn_config_makefile dlls/dpnet/tests enable_tests
21260 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
21261 wine_fn_config_makefile dlls/dpnhupnp enable_dpnhupnp
21262 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
21263 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
21264 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
21265 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
21266 wine_fn_config_makefile dlls/drmclien enable_drmclien
21267 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
21268 wine_fn_config_makefile dlls/dsdmo/tests enable_tests
21269 wine_fn_config_makefile dlls/dsound enable_dsound
21270 wine_fn_config_makefile dlls/dsound/tests enable_tests
21271 wine_fn_config_makefile dlls/dsquery enable_dsquery
21272 wine_fn_config_makefile dlls/dssenh enable_dssenh
21273 wine_fn_config_makefile dlls/dssenh/tests enable_tests
21274 wine_fn_config_makefile dlls/dsuiext enable_dsuiext
21275 wine_fn_config_makefile dlls/dswave enable_dswave
21276 wine_fn_config_makefile dlls/dswave/tests enable_tests
21277 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
21278 wine_fn_config_makefile dlls/dwmapi/tests enable_tests
21279 wine_fn_config_makefile dlls/dwrite enable_dwrite
21280 wine_fn_config_makefile dlls/dwrite/tests enable_tests
21281 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
21282 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
21283 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
21284 wine_fn_config_makefile dlls/dxgi enable_dxgi
21285 wine_fn_config_makefile dlls/dxgi/tests enable_tests
21286 wine_fn_config_makefile dlls/dxtrans enable_dxtrans
21287 wine_fn_config_makefile dlls/dxva2 enable_dxva2
21288 wine_fn_config_makefile dlls/dxva2/tests enable_tests
21289 wine_fn_config_makefile dlls/esent enable_esent
21290 wine_fn_config_makefile dlls/evr enable_evr
21291 wine_fn_config_makefile dlls/evr/tests enable_tests
21292 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
21293 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
21294 wine_fn_config_makefile dlls/faultrep enable_faultrep
21295 wine_fn_config_makefile dlls/faultrep/tests enable_tests
21296 wine_fn_config_makefile dlls/feclient enable_feclient
21297 wine_fn_config_makefile dlls/fltlib enable_fltlib
21298 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
21299 wine_fn_config_makefile dlls/fntcache enable_fntcache
21300 wine_fn_config_makefile dlls/fontsub enable_fontsub
21301 wine_fn_config_makefile dlls/fusion enable_fusion
21302 wine_fn_config_makefile dlls/fusion/tests enable_tests
21303 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
21304 wine_fn_config_makefile dlls/gameux enable_gameux
21305 wine_fn_config_makefile dlls/gameux/tests enable_tests
21306 wine_fn_config_makefile dlls/gamingtcui enable_gamingtcui
21307 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
21308 wine_fn_config_makefile dlls/gdi32 enable_gdi32
21309 wine_fn_config_makefile dlls/gdi32/tests enable_tests
21310 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
21311 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
21312 wine_fn_config_makefile dlls/glu32 enable_glu32
21313 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
21314 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
21315 wine_fn_config_makefile dlls/hal enable_hal
21316 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
21317 wine_fn_config_makefile dlls/hid enable_hid
21318 wine_fn_config_makefile dlls/hid/tests enable_tests
21319 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
21320 wine_fn_config_makefile dlls/hidparse.sys enable_hidparse_sys
21321 wine_fn_config_makefile dlls/hlink enable_hlink
21322 wine_fn_config_makefile dlls/hlink/tests enable_tests
21323 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
21324 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
21325 wine_fn_config_makefile dlls/http.sys enable_http_sys
21326 wine_fn_config_makefile dlls/httpapi enable_httpapi
21327 wine_fn_config_makefile dlls/httpapi/tests enable_tests
21328 wine_fn_config_makefile dlls/ia2comproxy enable_ia2comproxy
21329 wine_fn_config_makefile dlls/iccvid enable_iccvid
21330 wine_fn_config_makefile dlls/icmp enable_icmp
21331 wine_fn_config_makefile dlls/ieframe enable_ieframe
21332 wine_fn_config_makefile dlls/ieframe/tests enable_tests
21333 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
21334 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
21335 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
21336 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
21337 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
21338 wine_fn_config_makefile dlls/imm.dll16 enable_win16
21339 wine_fn_config_makefile dlls/imm32 enable_imm32
21340 wine_fn_config_makefile dlls/imm32/tests enable_tests
21341 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
21342 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
21343 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
21344 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
21345 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
21346 wine_fn_config_makefile dlls/infosoft enable_infosoft
21347 wine_fn_config_makefile dlls/infosoft/tests enable_tests
21348 wine_fn_config_makefile dlls/initpki enable_initpki
21349 wine_fn_config_makefile dlls/inkobj enable_inkobj
21350 wine_fn_config_makefile dlls/inseng enable_inseng
21351 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
21352 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
21353 wine_fn_config_makefile dlls/iprop enable_iprop
21354 wine_fn_config_makefile dlls/ir50_32 enable_ir50_32
21355 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
21356 wine_fn_config_makefile dlls/itircl enable_itircl
21357 wine_fn_config_makefile dlls/itss enable_itss
21358 wine_fn_config_makefile dlls/itss/tests enable_tests
21359 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
21360 wine_fn_config_makefile dlls/jscript enable_jscript
21361 wine_fn_config_makefile dlls/jscript/tests enable_tests
21362 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
21363 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
21364 wine_fn_config_makefile dlls/kerberos enable_kerberos
21365 wine_fn_config_makefile dlls/kernel32 enable_kernel32
21366 wine_fn_config_makefile dlls/kernel32/tests enable_tests
21367 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
21368 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
21369 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
21370 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
21371 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
21372 wine_fn_config_makefile dlls/ksproxy.ax enable_ksproxy_ax
21373 wine_fn_config_makefile dlls/ksuser enable_ksuser
21374 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
21375 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
21376 wine_fn_config_makefile dlls/light.msstyles enable_light_msstyles
21377 wine_fn_config_makefile dlls/loadperf enable_loadperf
21378 wine_fn_config_makefile dlls/localspl enable_localspl
21379 wine_fn_config_makefile dlls/localspl/tests enable_tests
21380 wine_fn_config_makefile dlls/localui enable_localui
21381 wine_fn_config_makefile dlls/localui/tests enable_tests
21382 wine_fn_config_makefile dlls/lz32 enable_lz32
21383 wine_fn_config_makefile dlls/lz32/tests enable_tests
21384 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
21385 wine_fn_config_makefile dlls/mapi32 enable_mapi32
21386 wine_fn_config_makefile dlls/mapi32/tests enable_tests
21387 wine_fn_config_makefile dlls/mapistub enable_mapistub
21388 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
21389 wine_fn_config_makefile dlls/mcicda enable_mcicda
21390 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
21391 wine_fn_config_makefile dlls/mciseq enable_mciseq
21392 wine_fn_config_makefile dlls/mciwave enable_mciwave
21393 wine_fn_config_makefile dlls/mf enable_mf
21394 wine_fn_config_makefile dlls/mf/tests enable_tests
21395 wine_fn_config_makefile dlls/mf3216 enable_mf3216
21396 wine_fn_config_makefile dlls/mferror enable_mferror
21397 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
21398 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
21399 wine_fn_config_makefile dlls/mfplat enable_mfplat
21400 wine_fn_config_makefile dlls/mfplat/tests enable_tests
21401 wine_fn_config_makefile dlls/mfplay enable_mfplay
21402 wine_fn_config_makefile dlls/mfplay/tests enable_tests
21403 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
21404 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
21405 wine_fn_config_makefile dlls/mfsrcsnk enable_mfsrcsnk
21406 wine_fn_config_makefile dlls/mfsrcsnk/tests enable_tests
21407 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
21408 wine_fn_config_makefile dlls/midimap enable_midimap
21409 wine_fn_config_makefile dlls/mlang enable_mlang
21410 wine_fn_config_makefile dlls/mlang/tests enable_tests
21411 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
21412 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
21413 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
21414 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
21415 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
21416 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
21417 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
21418 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
21419 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
21420 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
21421 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
21422 wine_fn_config_makefile dlls/mpr enable_mpr
21423 wine_fn_config_makefile dlls/mpr/tests enable_tests
21424 wine_fn_config_makefile dlls/mprapi enable_mprapi
21425 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
21426 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
21427 wine_fn_config_makefile dlls/msacm32 enable_msacm32
21428 wine_fn_config_makefile dlls/msacm32/tests enable_tests
21429 wine_fn_config_makefile dlls/msado15 enable_msado15
21430 wine_fn_config_makefile dlls/msado15/tests enable_tests
21431 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
21432 wine_fn_config_makefile dlls/msasn1 enable_msasn1
21433 wine_fn_config_makefile dlls/msasn1/tests enable_tests
21434 wine_fn_config_makefile dlls/msauddecmft enable_msauddecmft
21435 wine_fn_config_makefile dlls/mscat32 enable_mscat32
21436 wine_fn_config_makefile dlls/mscms enable_mscms
21437 wine_fn_config_makefile dlls/mscms/tests enable_tests
21438 wine_fn_config_makefile dlls/mscoree enable_mscoree
21439 wine_fn_config_makefile dlls/mscoree/tests enable_tests
21440 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
21441 wine_fn_config_makefile dlls/msctf enable_msctf
21442 wine_fn_config_makefile dlls/msctf/tests enable_tests
21443 wine_fn_config_makefile dlls/msctfmonitor enable_msctfmonitor
21444 wine_fn_config_makefile dlls/msctfp enable_msctfp
21445 wine_fn_config_makefile dlls/msdaps enable_msdaps
21446 wine_fn_config_makefile dlls/msdasql enable_msdasql
21447 wine_fn_config_makefile dlls/msdasql/tests enable_tests
21448 wine_fn_config_makefile dlls/msdelta enable_msdelta
21449 wine_fn_config_makefile dlls/msdmo enable_msdmo
21450 wine_fn_config_makefile dlls/msdmo/tests enable_tests
21451 wine_fn_config_makefile dlls/msdrm enable_msdrm
21452 wine_fn_config_makefile dlls/msftedit enable_msftedit
21453 wine_fn_config_makefile dlls/msftedit/tests enable_tests
21454 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
21455 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
21456 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
21457 wine_fn_config_makefile dlls/mshtml enable_mshtml
21458 wine_fn_config_makefile dlls/mshtml/tests enable_tests
21459 wine_fn_config_makefile dlls/msi enable_msi
21460 wine_fn_config_makefile dlls/msi/tests enable_tests
21461 wine_fn_config_makefile dlls/msident enable_msident
21462 wine_fn_config_makefile dlls/msimg32 enable_msimg32
21463 wine_fn_config_makefile dlls/msimsg enable_msimsg
21464 wine_fn_config_makefile dlls/msimtf enable_msimtf
21465 wine_fn_config_makefile dlls/msisip enable_msisip
21466 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
21467 wine_fn_config_makefile dlls/msls31 enable_msls31
21468 wine_fn_config_makefile dlls/msmpeg2vdec enable_msmpeg2vdec
21469 wine_fn_config_makefile dlls/msnet32 enable_msnet32
21470 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
21471 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
21472 wine_fn_config_makefile dlls/msports enable_msports
21473 wine_fn_config_makefile dlls/msrle32 enable_msrle32
21474 wine_fn_config_makefile dlls/msrle32/tests enable_tests
21475 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
21476 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
21477 wine_fn_config_makefile dlls/mssign32 enable_mssign32
21478 wine_fn_config_makefile dlls/mssip32 enable_mssip32
21479 wine_fn_config_makefile dlls/mstask enable_mstask
21480 wine_fn_config_makefile dlls/mstask/tests enable_tests
21481 wine_fn_config_makefile dlls/msv1_0 enable_msv1_0
21482 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
21483 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
21484 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
21485 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
21486 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
21487 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
21488 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
21489 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
21490 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
21491 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
21492 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
21493 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
21494 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
21495 wine_fn_config_makefile dlls/msvcp140_1 enable_msvcp140_1
21496 wine_fn_config_makefile dlls/msvcp140_1/tests enable_tests
21497 wine_fn_config_makefile dlls/msvcp140_2 enable_msvcp140_2
21498 wine_fn_config_makefile dlls/msvcp140_atomic_wait enable_msvcp140_atomic_wait
21499 wine_fn_config_makefile dlls/msvcp140_atomic_wait/tests enable_tests
21500 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
21501 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
21502 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
21503 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
21504 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
21505 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
21506 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
21507 wine_fn_config_makefile dlls/msvcp_win enable_msvcp_win
21508 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
21509 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
21510 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
21511 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
21512 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
21513 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
21514 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
21515 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
21516 wine_fn_config_makefile dlls/msvcr70/tests enable_tests
21517 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
21518 wine_fn_config_makefile dlls/msvcr71/tests enable_tests
21519 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
21520 wine_fn_config_makefile dlls/msvcr80/tests enable_tests
21521 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
21522 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
21523 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
21524 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
21525 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
21526 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
21527 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
21528 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
21529 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
21530 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
21531 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
21532 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
21533 wine_fn_config_makefile dlls/mswsock enable_mswsock
21534 wine_fn_config_makefile dlls/msxml enable_msxml
21535 wine_fn_config_makefile dlls/msxml2 enable_msxml2
21536 wine_fn_config_makefile dlls/msxml3 enable_msxml3
21537 wine_fn_config_makefile dlls/msxml3/tests enable_tests
21538 wine_fn_config_makefile dlls/msxml4 enable_msxml4
21539 wine_fn_config_makefile dlls/msxml6 enable_msxml6
21540 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
21541 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
21542 wine_fn_config_makefile dlls/ncrypt/tests enable_tests
21543 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
21544 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
21545 wine_fn_config_makefile dlls/ndis.sys/tests enable_tests
21546 wine_fn_config_makefile dlls/netapi32 enable_netapi32
21547 wine_fn_config_makefile dlls/netapi32/tests enable_tests
21548 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
21549 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
21550 wine_fn_config_makefile dlls/netio.sys enable_netio_sys
21551 wine_fn_config_makefile dlls/netprofm enable_netprofm
21552 wine_fn_config_makefile dlls/netprofm/tests enable_tests
21553 wine_fn_config_makefile dlls/netutils enable_netutils
21554 wine_fn_config_makefile dlls/newdev enable_newdev
21555 wine_fn_config_makefile dlls/ninput enable_ninput
21556 wine_fn_config_makefile dlls/ninput/tests enable_tests
21557 wine_fn_config_makefile dlls/normaliz enable_normaliz
21558 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
21559 wine_fn_config_makefile dlls/npptools enable_npptools
21560 wine_fn_config_makefile dlls/nsi enable_nsi
21561 wine_fn_config_makefile dlls/nsi/tests enable_tests
21562 wine_fn_config_makefile dlls/nsiproxy.sys enable_nsiproxy_sys
21563 wine_fn_config_makefile dlls/ntdll enable_ntdll
21564 wine_fn_config_makefile dlls/ntdll/tests enable_tests
21565 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
21566 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
21567 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
21568 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
21569 wine_fn_config_makefile dlls/ntprint enable_ntprint
21570 wine_fn_config_makefile dlls/ntprint/tests enable_tests
21571 wine_fn_config_makefile dlls/objsel enable_objsel
21572 wine_fn_config_makefile dlls/odbc32 enable_odbc32
21573 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
21574 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
21575 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
21576 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
21577 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
21578 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
21579 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
21580 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
21581 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
21582 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
21583 wine_fn_config_makefile dlls/ole32 enable_ole32
21584 wine_fn_config_makefile dlls/ole32/tests enable_tests
21585 wine_fn_config_makefile dlls/oleacc enable_oleacc
21586 wine_fn_config_makefile dlls/oleacc/tests enable_tests
21587 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
21588 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
21589 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
21590 wine_fn_config_makefile dlls/olecli32 enable_olecli32
21591 wine_fn_config_makefile dlls/oledb32 enable_oledb32
21592 wine_fn_config_makefile dlls/oledb32/tests enable_tests
21593 wine_fn_config_makefile dlls/oledlg enable_oledlg
21594 wine_fn_config_makefile dlls/oledlg/tests enable_tests
21595 wine_fn_config_makefile dlls/olepro32 enable_olepro32
21596 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
21597 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
21598 wine_fn_config_makefile dlls/olethk32 enable_olethk32
21599 wine_fn_config_makefile dlls/opcservices enable_opcservices
21600 wine_fn_config_makefile dlls/opcservices/tests enable_tests
21601 wine_fn_config_makefile dlls/opencl enable_opencl
21602 wine_fn_config_makefile dlls/opengl32 enable_opengl32
21603 wine_fn_config_makefile dlls/opengl32/tests enable_tests
21604 wine_fn_config_makefile dlls/packager enable_packager
21605 wine_fn_config_makefile dlls/packager/tests enable_tests
21606 wine_fn_config_makefile dlls/pdh enable_pdh
21607 wine_fn_config_makefile dlls/pdh/tests enable_tests
21608 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
21609 wine_fn_config_makefile dlls/pidgen enable_pidgen
21610 wine_fn_config_makefile dlls/powrprof enable_powrprof
21611 wine_fn_config_makefile dlls/printui enable_printui
21612 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
21613 wine_fn_config_makefile dlls/prntvpt/tests enable_tests
21614 wine_fn_config_makefile dlls/propsys enable_propsys
21615 wine_fn_config_makefile dlls/propsys/tests enable_tests
21616 wine_fn_config_makefile dlls/psapi enable_psapi
21617 wine_fn_config_makefile dlls/psapi/tests enable_tests
21618 wine_fn_config_makefile dlls/pstorec enable_pstorec
21619 wine_fn_config_makefile dlls/pstorec/tests enable_tests
21620 wine_fn_config_makefile dlls/pwrshplugin enable_pwrshplugin
21621 wine_fn_config_makefile dlls/qasf enable_qasf
21622 wine_fn_config_makefile dlls/qasf/tests enable_tests
21623 wine_fn_config_makefile dlls/qcap enable_qcap
21624 wine_fn_config_makefile dlls/qcap/tests enable_tests
21625 wine_fn_config_makefile dlls/qdvd enable_qdvd
21626 wine_fn_config_makefile dlls/qdvd/tests enable_tests
21627 wine_fn_config_makefile dlls/qedit enable_qedit
21628 wine_fn_config_makefile dlls/qedit/tests enable_tests
21629 wine_fn_config_makefile dlls/qmgr enable_qmgr
21630 wine_fn_config_makefile dlls/qmgr/tests enable_tests
21631 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
21632 wine_fn_config_makefile dlls/quartz enable_quartz
21633 wine_fn_config_makefile dlls/quartz/tests enable_tests
21634 wine_fn_config_makefile dlls/query enable_query
21635 wine_fn_config_makefile dlls/qwave enable_qwave
21636 wine_fn_config_makefile dlls/qwave/tests enable_tests
21637 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
21638 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
21639 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
21640 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
21641 wine_fn_config_makefile dlls/regapi enable_regapi
21642 wine_fn_config_makefile dlls/resutils enable_resutils
21643 wine_fn_config_makefile dlls/riched20 enable_riched20
21644 wine_fn_config_makefile dlls/riched20/tests enable_tests
21645 wine_fn_config_makefile dlls/riched32 enable_riched32
21646 wine_fn_config_makefile dlls/riched32/tests enable_tests
21647 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
21648 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
21649 wine_fn_config_makefile dlls/rsabase enable_rsabase
21650 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
21651 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
21652 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
21653 wine_fn_config_makefile dlls/rtutils enable_rtutils
21654 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
21655 wine_fn_config_makefile dlls/rtworkq/tests enable_tests
21656 wine_fn_config_makefile dlls/samlib enable_samlib
21657 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
21658 wine_fn_config_makefile dlls/sapi enable_sapi
21659 wine_fn_config_makefile dlls/sapi/tests enable_tests
21660 wine_fn_config_makefile dlls/sas enable_sas
21661 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
21662 wine_fn_config_makefile dlls/scardsvr enable_scardsvr
21663 wine_fn_config_makefile dlls/sccbase enable_sccbase
21664 wine_fn_config_makefile dlls/schannel enable_schannel
21665 wine_fn_config_makefile dlls/schannel/tests enable_tests
21666 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
21667 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
21668 wine_fn_config_makefile dlls/scrobj enable_scrobj
21669 wine_fn_config_makefile dlls/scrobj/tests enable_tests
21670 wine_fn_config_makefile dlls/scrrun enable_scrrun
21671 wine_fn_config_makefile dlls/scrrun/tests enable_tests
21672 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
21673 wine_fn_config_makefile dlls/sechost enable_sechost
21674 wine_fn_config_makefile dlls/secur32 enable_secur32
21675 wine_fn_config_makefile dlls/secur32/tests enable_tests
21676 wine_fn_config_makefile dlls/security enable_security
21677 wine_fn_config_makefile dlls/sensapi enable_sensapi
21678 wine_fn_config_makefile dlls/serialui enable_serialui
21679 wine_fn_config_makefile dlls/serialui/tests enable_tests
21680 wine_fn_config_makefile dlls/setupapi enable_setupapi
21681 wine_fn_config_makefile dlls/setupapi/tests enable_tests
21682 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
21683 wine_fn_config_makefile dlls/sfc enable_sfc
21684 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
21685 wine_fn_config_makefile dlls/shcore enable_shcore
21686 wine_fn_config_makefile dlls/shcore/tests enable_tests
21687 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
21688 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
21689 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
21690 wine_fn_config_makefile dlls/shell.dll16 enable_win16
21691 wine_fn_config_makefile dlls/shell32 enable_shell32
21692 wine_fn_config_makefile dlls/shell32/tests enable_tests
21693 wine_fn_config_makefile dlls/shfolder enable_shfolder
21694 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
21695 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
21696 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
21697 wine_fn_config_makefile dlls/slc enable_slc
21698 wine_fn_config_makefile dlls/slc/tests enable_tests
21699 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
21700 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
21701 wine_fn_config_makefile dlls/softpub enable_softpub
21702 wine_fn_config_makefile dlls/sound.drv16 enable_win16
21703 wine_fn_config_makefile dlls/spoolss enable_spoolss
21704 wine_fn_config_makefile dlls/spoolss/tests enable_tests
21705 wine_fn_config_makefile dlls/sppc enable_sppc
21706 wine_fn_config_makefile dlls/srclient enable_srclient
21707 wine_fn_config_makefile dlls/srvcli enable_srvcli
21708 wine_fn_config_makefile dlls/sspicli enable_sspicli
21709 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
21710 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
21711 wine_fn_config_makefile dlls/sti enable_sti
21712 wine_fn_config_makefile dlls/sti/tests enable_tests
21713 wine_fn_config_makefile dlls/storage.dll16 enable_win16
21714 wine_fn_config_makefile dlls/stress.dll16 enable_win16
21715 wine_fn_config_makefile dlls/strmdll enable_strmdll
21716 wine_fn_config_makefile dlls/svrapi enable_svrapi
21717 wine_fn_config_makefile dlls/sxs enable_sxs
21718 wine_fn_config_makefile dlls/sxs/tests enable_tests
21719 wine_fn_config_makefile dlls/system.drv16 enable_win16
21720 wine_fn_config_makefile dlls/t2embed enable_t2embed
21721 wine_fn_config_makefile dlls/t2embed/tests enable_tests
21722 wine_fn_config_makefile dlls/tapi32 enable_tapi32
21723 wine_fn_config_makefile dlls/tapi32/tests enable_tests
21724 wine_fn_config_makefile dlls/taskschd enable_taskschd
21725 wine_fn_config_makefile dlls/taskschd/tests enable_tests
21726 wine_fn_config_makefile dlls/tbs enable_tbs
21727 wine_fn_config_makefile dlls/tdh enable_tdh
21728 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
21729 wine_fn_config_makefile dlls/threadpoolwinrt enable_threadpoolwinrt
21730 wine_fn_config_makefile dlls/threadpoolwinrt/tests enable_tests
21731 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
21732 wine_fn_config_makefile dlls/traffic enable_traffic
21733 wine_fn_config_makefile dlls/twain.dll16 enable_win16
21734 wine_fn_config_makefile dlls/twain_32 enable_twain_32
21735 wine_fn_config_makefile dlls/twain_32/tests enable_tests
21736 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
21737 wine_fn_config_makefile dlls/tzres enable_tzres
21738 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
21739 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
21740 wine_fn_config_makefile dlls/uianimation enable_uianimation
21741 wine_fn_config_makefile dlls/uianimation/tests enable_tests
21742 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
21743 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
21744 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
21745 wine_fn_config_makefile dlls/unicows enable_unicows
21746 wine_fn_config_makefile dlls/updspapi enable_updspapi
21747 wine_fn_config_makefile dlls/url enable_url
21748 wine_fn_config_makefile dlls/urlmon enable_urlmon
21749 wine_fn_config_makefile dlls/urlmon/tests enable_tests
21750 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
21751 wine_fn_config_makefile dlls/user.exe16 enable_win16
21752 wine_fn_config_makefile dlls/user32 enable_user32
21753 wine_fn_config_makefile dlls/user32/tests enable_tests
21754 wine_fn_config_makefile dlls/userenv enable_userenv
21755 wine_fn_config_makefile dlls/userenv/tests enable_tests
21756 wine_fn_config_makefile dlls/usp10 enable_usp10
21757 wine_fn_config_makefile dlls/usp10/tests enable_tests
21758 wine_fn_config_makefile dlls/utildll enable_utildll
21759 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
21760 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
21761 wine_fn_config_makefile dlls/vbscript enable_vbscript
21762 wine_fn_config_makefile dlls/vbscript/tests enable_tests
21763 wine_fn_config_makefile dlls/vcomp enable_vcomp
21764 wine_fn_config_makefile dlls/vcomp/tests enable_tests
21765 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
21766 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
21767 wine_fn_config_makefile dlls/vcomp110/tests enable_tests
21768 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
21769 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
21770 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
21771 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
21772 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
21773 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
21774 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
21775 wine_fn_config_makefile dlls/ver.dll16 enable_win16
21776 wine_fn_config_makefile dlls/version enable_version
21777 wine_fn_config_makefile dlls/version/tests enable_tests
21778 wine_fn_config_makefile dlls/vga enable_vga
21779 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
21780 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
21781 wine_fn_config_makefile dlls/vmm.vxd enable_win16
21782 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
21783 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
21784 wine_fn_config_makefile dlls/vssapi enable_vssapi
21785 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
21786 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
21787 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
21788 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
21789 wine_fn_config_makefile dlls/w32skrnl enable_win16
21790 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
21791 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
21792 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
21793 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
21794 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
21795 wine_fn_config_makefile dlls/wdscore enable_wdscore
21796 wine_fn_config_makefile dlls/webservices enable_webservices
21797 wine_fn_config_makefile dlls/webservices/tests enable_tests
21798 wine_fn_config_makefile dlls/websocket enable_websocket
21799 wine_fn_config_makefile dlls/wer enable_wer
21800 wine_fn_config_makefile dlls/wer/tests enable_tests
21801 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
21802 wine_fn_config_makefile dlls/wevtapi/tests enable_tests
21803 wine_fn_config_makefile dlls/wevtsvc enable_wevtsvc
21804 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
21805 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
21806 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
21807 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
21808 wine_fn_config_makefile dlls/win32u enable_win32u
21809 wine_fn_config_makefile dlls/win32u/tests enable_tests
21810 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
21811 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
21812 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
21813 wine_fn_config_makefile dlls/windows.devices.enumeration enable_windows_devices_enumeration
21814 wine_fn_config_makefile dlls/windows.devices.enumeration/tests enable_tests
21815 wine_fn_config_makefile dlls/windows.gaming.input enable_windows_gaming_input
21816 wine_fn_config_makefile dlls/windows.gaming.input/tests enable_tests
21817 wine_fn_config_makefile dlls/windows.gaming.ui.gamebar enable_windows_gaming_ui_gamebar
21818 wine_fn_config_makefile dlls/windows.gaming.ui.gamebar/tests enable_tests
21819 wine_fn_config_makefile dlls/windows.globalization enable_windows_globalization
21820 wine_fn_config_makefile dlls/windows.globalization/tests enable_tests
21821 wine_fn_config_makefile dlls/windows.media.devices enable_windows_media_devices
21822 wine_fn_config_makefile dlls/windows.media.devices/tests enable_tests
21823 wine_fn_config_makefile dlls/windows.media.speech enable_windows_media_speech
21824 wine_fn_config_makefile dlls/windows.media.speech/tests enable_tests
21825 wine_fn_config_makefile dlls/windows.media enable_windows_media
21826 wine_fn_config_makefile dlls/windows.media/tests enable_tests
21827 wine_fn_config_makefile dlls/windows.networking enable_windows_networking
21828 wine_fn_config_makefile dlls/windows.system.profile.systemmanufacturers enable_windows_system_profile_systemmanufacturers
21829 wine_fn_config_makefile dlls/windows.system.profile.systemmanufacturers/tests enable_tests
21830 wine_fn_config_makefile dlls/windows.ui enable_windows_ui
21831 wine_fn_config_makefile dlls/windows.ui/tests enable_tests
21832 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
21833 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
21834 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
21835 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
21836 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
21837 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
21838 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
21839 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
21840 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
21841 wine_fn_config_makefile dlls/wined3d enable_wined3d
21842 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
21843 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
21844 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
21845 wine_fn_config_makefile dlls/winemapi enable_winemapi
21846 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
21847 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
21848 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
21849 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
21850 wine_fn_config_makefile dlls/wineusb.sys enable_wineusb_sys
21851 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
21852 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
21853 wine_fn_config_makefile dlls/winexinput.sys enable_winexinput_sys
21854 wine_fn_config_makefile dlls/wing.dll16 enable_win16
21855 wine_fn_config_makefile dlls/wing32 enable_wing32
21856 wine_fn_config_makefile dlls/winhttp enable_winhttp
21857 wine_fn_config_makefile dlls/winhttp/tests enable_tests
21858 wine_fn_config_makefile dlls/wininet enable_wininet
21859 wine_fn_config_makefile dlls/wininet/tests enable_tests
21860 wine_fn_config_makefile dlls/winmm enable_winmm
21861 wine_fn_config_makefile dlls/winmm/tests enable_tests
21862 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
21863 wine_fn_config_makefile dlls/winnls32 enable_winnls32
21864 wine_fn_config_makefile dlls/winprint enable_winprint
21865 wine_fn_config_makefile dlls/winscard enable_winscard
21866 wine_fn_config_makefile dlls/winscard/tests enable_tests
21867 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
21868 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
21869 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
21870 wine_fn_config_makefile dlls/winsta enable_winsta
21871 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
21872 wine_fn_config_makefile dlls/wintab32 enable_wintab32
21873 wine_fn_config_makefile dlls/wintab32/tests enable_tests
21874 wine_fn_config_makefile dlls/wintrust enable_wintrust
21875 wine_fn_config_makefile dlls/wintrust/tests enable_tests
21876 wine_fn_config_makefile dlls/wintypes enable_wintypes
21877 wine_fn_config_makefile dlls/wintypes/tests enable_tests
21878 wine_fn_config_makefile dlls/winusb enable_winusb
21879 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
21880 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
21881 wine_fn_config_makefile dlls/wlanui enable_wlanui
21882 wine_fn_config_makefile dlls/wldap32 enable_wldap32
21883 wine_fn_config_makefile dlls/wldap32/tests enable_tests
21884 wine_fn_config_makefile dlls/wmasf enable_wmasf
21885 wine_fn_config_makefile dlls/wmi enable_wmi
21886 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
21887 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
21888 wine_fn_config_makefile dlls/wmp enable_wmp
21889 wine_fn_config_makefile dlls/wmp/tests enable_tests
21890 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
21891 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
21892 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
21893 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
21894 wine_fn_config_makefile dlls/wofutil enable_wofutil
21895 wine_fn_config_makefile dlls/wow32 enable_win16
21896 wine_fn_config_makefile dlls/wow64 enable_wow64
21897 wine_fn_config_makefile dlls/wow64cpu enable_wow64cpu
21898 wine_fn_config_makefile dlls/wow64win enable_wow64win
21899 wine_fn_config_makefile dlls/wpc enable_wpc
21900 wine_fn_config_makefile dlls/wpc/tests enable_tests
21901 wine_fn_config_makefile dlls/wpcap enable_wpcap
21902 wine_fn_config_makefile dlls/wpcap/tests enable_tests
21903 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
21904 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
21905 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
21906 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
21907 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
21908 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
21909 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
21910 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
21911 wine_fn_config_makefile dlls/wsock32 enable_wsock32
21912 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
21913 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
21914 wine_fn_config_makefile dlls/wuapi enable_wuapi
21915 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
21916 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
21917 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
21918 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
21919 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
21920 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
21921 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
21922 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
21923 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
21924 wine_fn_config_makefile dlls/xactengine2_0 enable_xactengine2_0
21925 wine_fn_config_makefile dlls/xactengine2_4 enable_xactengine2_4
21926 wine_fn_config_makefile dlls/xactengine2_7 enable_xactengine2_7
21927 wine_fn_config_makefile dlls/xactengine2_9 enable_xactengine2_9
21928 wine_fn_config_makefile dlls/xactengine3_0 enable_xactengine3_0
21929 wine_fn_config_makefile dlls/xactengine3_1 enable_xactengine3_1
21930 wine_fn_config_makefile dlls/xactengine3_2 enable_xactengine3_2
21931 wine_fn_config_makefile dlls/xactengine3_3 enable_xactengine3_3
21932 wine_fn_config_makefile dlls/xactengine3_4 enable_xactengine3_4
21933 wine_fn_config_makefile dlls/xactengine3_5 enable_xactengine3_5
21934 wine_fn_config_makefile dlls/xactengine3_6 enable_xactengine3_6
21935 wine_fn_config_makefile dlls/xactengine3_7 enable_xactengine3_7
21936 wine_fn_config_makefile dlls/xactengine3_7/tests enable_tests
21937 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
21938 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
21939 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
21940 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
21941 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
21942 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
21943 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
21944 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
21945 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
21946 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
21947 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
21948 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
21949 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
21950 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
21951 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
21952 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
21953 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
21954 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
21955 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
21956 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
21957 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
21958 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
21959 wine_fn_config_makefile dlls/xinputuap enable_xinputuap
21960 wine_fn_config_makefile dlls/xmllite enable_xmllite
21961 wine_fn_config_makefile dlls/xmllite/tests enable_tests
21962 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
21963 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
21964 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
21965 wine_fn_config_makefile fonts enable_fonts
21966 wine_fn_config_makefile include enable_include
21967 wine_fn_config_makefile libs/adsiid enable_adsiid
21968 wine_fn_config_makefile libs/dmoguids enable_dmoguids
21969 wine_fn_config_makefile libs/dxerr8 enable_dxerr8
21970 wine_fn_config_makefile libs/dxerr9 enable_dxerr9
21971 wine_fn_config_makefile libs/dxguid enable_dxguid
21972 wine_fn_config_makefile libs/faudio enable_faudio
21973 wine_fn_config_makefile libs/gsm enable_gsm
21974 wine_fn_config_makefile libs/jpeg enable_jpeg
21975 wine_fn_config_makefile libs/jxr enable_jxr
21976 wine_fn_config_makefile libs/lcms2 enable_lcms2
21977 wine_fn_config_makefile libs/ldap enable_ldap
21978 wine_fn_config_makefile libs/mfuuid enable_mfuuid
21979 wine_fn_config_makefile libs/mpg123 enable_mpg123
21980 wine_fn_config_makefile libs/png enable_png
21981 wine_fn_config_makefile libs/strmbase enable_strmbase
21982 wine_fn_config_makefile libs/strmiids enable_strmiids
21983 wine_fn_config_makefile libs/tiff enable_tiff
21984 wine_fn_config_makefile libs/uuid enable_uuid
21985 wine_fn_config_makefile libs/vkd3d enable_vkd3d
21986 wine_fn_config_makefile libs/wbemuuid enable_wbemuuid
21987 wine_fn_config_makefile libs/wine enable_wine
21988 wine_fn_config_makefile libs/wmcodecdspuuid enable_wmcodecdspuuid
21989 wine_fn_config_makefile libs/xml2 enable_xml2
21990 wine_fn_config_makefile libs/xslt enable_xslt
21991 wine_fn_config_makefile libs/zlib enable_zlib
21992 wine_fn_config_makefile loader enable_loader
21993 wine_fn_config_makefile nls enable_nls
21994 wine_fn_config_makefile po enable_po
21995 wine_fn_config_makefile programs/arp enable_arp
21996 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
21997 wine_fn_config_makefile programs/attrib enable_attrib
21998 wine_fn_config_makefile programs/cabarc enable_cabarc
21999 wine_fn_config_makefile programs/cacls enable_cacls
22000 wine_fn_config_makefile programs/certutil enable_certutil
22001 wine_fn_config_makefile programs/chcp.com enable_chcp_com
22002 wine_fn_config_makefile programs/clock enable_clock
22003 wine_fn_config_makefile programs/cmd enable_cmd
22004 wine_fn_config_makefile programs/cmd/tests enable_tests
22005 wine_fn_config_makefile programs/conhost enable_conhost
22006 wine_fn_config_makefile programs/conhost/tests enable_tests
22007 wine_fn_config_makefile programs/control enable_control
22008 wine_fn_config_makefile programs/cscript enable_cscript
22009 wine_fn_config_makefile programs/dism enable_dism
22010 wine_fn_config_makefile programs/dllhost enable_dllhost
22011 wine_fn_config_makefile programs/dplaysvr enable_dplaysvr
22012 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
22013 wine_fn_config_makefile programs/dpvsetup enable_dpvsetup
22014 wine_fn_config_makefile programs/dxdiag enable_dxdiag
22015 wine_fn_config_makefile programs/eject enable_eject
22016 wine_fn_config_makefile programs/expand enable_expand
22017 wine_fn_config_makefile programs/explorer enable_explorer
22018 wine_fn_config_makefile programs/explorer/tests enable_tests
22019 wine_fn_config_makefile programs/extrac32 enable_extrac32
22020 wine_fn_config_makefile programs/fc enable_fc
22021 wine_fn_config_makefile programs/find enable_find
22022 wine_fn_config_makefile programs/find/tests enable_tests
22023 wine_fn_config_makefile programs/findstr enable_findstr
22024 wine_fn_config_makefile programs/fsutil enable_fsutil
22025 wine_fn_config_makefile programs/fsutil/tests enable_tests
22026 wine_fn_config_makefile programs/hh enable_hh
22027 wine_fn_config_makefile programs/hostname enable_hostname
22028 wine_fn_config_makefile programs/icacls enable_icacls
22029 wine_fn_config_makefile programs/icinfo enable_icinfo
22030 wine_fn_config_makefile programs/iexplore enable_iexplore
22031 wine_fn_config_makefile programs/ipconfig enable_ipconfig
22032 wine_fn_config_makefile programs/lodctr enable_lodctr
22033 wine_fn_config_makefile programs/mofcomp enable_mofcomp
22034 wine_fn_config_makefile programs/mshta enable_mshta
22035 wine_fn_config_makefile programs/msidb enable_msidb
22036 wine_fn_config_makefile programs/msiexec enable_msiexec
22037 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
22038 wine_fn_config_makefile programs/net enable_net
22039 wine_fn_config_makefile programs/netsh enable_netsh
22040 wine_fn_config_makefile programs/netstat enable_netstat
22041 wine_fn_config_makefile programs/ngen enable_ngen
22042 wine_fn_config_makefile programs/notepad enable_notepad
22043 wine_fn_config_makefile programs/oleview enable_oleview
22044 wine_fn_config_makefile programs/ping enable_ping
22045 wine_fn_config_makefile programs/plugplay enable_plugplay
22046 wine_fn_config_makefile programs/powershell enable_powershell
22047 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
22048 wine_fn_config_makefile programs/progman enable_progman
22049 wine_fn_config_makefile programs/reg enable_reg
22050 wine_fn_config_makefile programs/reg/tests enable_tests
22051 wine_fn_config_makefile programs/regasm enable_regasm
22052 wine_fn_config_makefile programs/regedit enable_regedit
22053 wine_fn_config_makefile programs/regedit/tests enable_tests
22054 wine_fn_config_makefile programs/regini enable_regini
22055 wine_fn_config_makefile programs/regsvcs enable_regsvcs
22056 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
22057 wine_fn_config_makefile programs/robocopy enable_robocopy
22058 wine_fn_config_makefile programs/rpcss enable_rpcss
22059 wine_fn_config_makefile programs/rundll.exe16 enable_win16
22060 wine_fn_config_makefile programs/rundll32 enable_rundll32
22061 wine_fn_config_makefile programs/sc enable_sc
22062 wine_fn_config_makefile programs/sc/tests enable_tests
22063 wine_fn_config_makefile programs/schtasks enable_schtasks
22064 wine_fn_config_makefile programs/schtasks/tests enable_tests
22065 wine_fn_config_makefile programs/sdbinst enable_sdbinst
22066 wine_fn_config_makefile programs/secedit enable_secedit
22067 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
22068 wine_fn_config_makefile programs/services enable_services
22069 wine_fn_config_makefile programs/services/tests enable_tests
22070 wine_fn_config_makefile programs/setx enable_setx
22071 wine_fn_config_makefile programs/shutdown enable_shutdown
22072 wine_fn_config_makefile programs/spoolsv enable_spoolsv
22073 wine_fn_config_makefile programs/start enable_start
22074 wine_fn_config_makefile programs/subst enable_subst
22075 wine_fn_config_makefile programs/svchost enable_svchost
22076 wine_fn_config_makefile programs/systeminfo enable_systeminfo
22077 wine_fn_config_makefile programs/taskkill enable_taskkill
22078 wine_fn_config_makefile programs/tasklist enable_tasklist
22079 wine_fn_config_makefile programs/taskmgr enable_taskmgr
22080 wine_fn_config_makefile programs/termsv enable_termsv
22081 wine_fn_config_makefile programs/uninstaller enable_uninstaller
22082 wine_fn_config_makefile programs/unlodctr enable_unlodctr
22083 wine_fn_config_makefile programs/view enable_view
22084 wine_fn_config_makefile programs/wevtutil enable_wevtutil
22085 wine_fn_config_makefile programs/where enable_where
22086 wine_fn_config_makefile programs/whoami enable_whoami
22087 wine_fn_config_makefile programs/wineboot enable_wineboot
22088 wine_fn_config_makefile programs/winebrowser enable_winebrowser
22089 wine_fn_config_makefile programs/winecfg enable_winecfg
22090 wine_fn_config_makefile programs/wineconsole enable_wineconsole
22091 wine_fn_config_makefile programs/winedbg enable_winedbg
22092 wine_fn_config_makefile programs/winedevice enable_winedevice
22093 wine_fn_config_makefile programs/winefile enable_winefile
22094 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
22095 wine_fn_config_makefile programs/winemine enable_winemine
22096 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
22097 wine_fn_config_makefile programs/winepath enable_winepath
22098 wine_fn_config_makefile programs/winetest enable_winetest
22099 wine_fn_config_makefile programs/winevdm enable_win16
22100 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
22101 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
22102 wine_fn_config_makefile programs/winmgmt enable_winmgmt
22103 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
22104 wine_fn_config_makefile programs/winver enable_winver
22105 wine_fn_config_makefile programs/wmic enable_wmic
22106 wine_fn_config_makefile programs/wmplayer enable_wmplayer
22107 wine_fn_config_makefile programs/wordpad enable_wordpad
22108 wine_fn_config_makefile programs/write enable_write
22109 wine_fn_config_makefile programs/wscript enable_wscript
22110 wine_fn_config_makefile programs/wscript/tests enable_tests
22111 wine_fn_config_makefile programs/wuauserv enable_wuauserv
22112 wine_fn_config_makefile programs/wusa enable_wusa
22113 wine_fn_config_makefile programs/xcopy enable_xcopy
22114 wine_fn_config_makefile programs/xcopy/tests enable_tests
22115 wine_fn_config_makefile server enable_server
22116 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
22117 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
22118 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
22119 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
22120 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
22121 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
22122 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
22123 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
22124 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
22127 as_fn_append CONFIGURE_TARGETS " TAGS"
22128 as_fn_append CONFIGURE_TARGETS " tags"
22129 as_fn_append CONFIGURE_TARGETS " autom4te.cache"
22130 as_fn_append CONFIGURE_TARGETS " config.log"
22131 as_fn_append CONFIGURE_TARGETS " config.status"
22132 as_fn_append CONFIGURE_TARGETS " include/config.h"
22133 as_fn_append CONFIGURE_TARGETS " include/stamp-h"
22134 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine"
22136 if test "x$enable_tools" != xno
22137 then
22138 as_fn_append CONFIGURE_TARGETS " tools/makedep$ac_exeext"
22139 ac_config_commands="$ac_config_commands tools/makedep"
22143 ac_config_commands="$ac_config_commands Makefile"
22147 SHELL=/bin/sh
22150 as_fn_append wine_rules "
22151 all: wine
22152 @echo \"Wine build complete.\"
22153 .INIT: Makefile
22154 .MAKEFILEDEPS:
22155 all: Makefile
22156 Makefile: config.status \$(MAKEDEP)
22157 @./config.status Makefile
22158 depend: \$(MAKEDEP)
22159 \$(MAKEDEP)$makedep_flags"
22162 as_fn_append wine_rules "
22163 config.status: ${wine_srcdir}configure
22164 @./config.status --recheck
22165 include/config.h: include/stamp-h
22166 include/stamp-h: ${wine_srcdir}include/config.h.in config.status
22167 @./config.status include/config.h include/stamp-h"
22169 if test "x$enable_maintainer_mode" = xyes
22170 then
22171 as_fn_append wine_rules "
22172 configure: configure.ac aclocal.m4
22173 autoconf --warnings=all
22174 include/config.h.in: include/stamp-h.in
22175 include/stamp-h.in: configure.ac aclocal.m4
22176 autoheader --warnings=all
22177 @echo timestamp > \$@"
22180 if test "x$enable_tools" != xno
22181 then
22182 as_fn_append wine_rules "
22183 tools/makedep$ac_exeext: ${wine_srcdir}tools/makedep.c include/config.h config.status
22184 @./config.status tools/makedep
22185 Makefile: tools/makedep$ac_exeext"
22186 else
22187 as_fn_append wine_rules "
22188 \$(MAKEDEP):
22189 @echo \"You need to run make in $toolsdir first\" && false"
22193 if test -n "$with_wine64"
22194 then
22195 case "$with_wine64" in
22196 /*) reldir="" ;;
22197 *) reldir="../" ;;
22198 esac
22199 rm -f fonts server 2>/dev/null
22200 as_fn_append wine_rules "
22201 all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
22202 loader/wine64 loader/wine64-preloader:
22203 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
22204 $with_wine64/loader/wine:
22205 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
22206 $with_wine64/loader/wine-preloader:
22207 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
22208 clean::
22209 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
22210 else
22211 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
22212 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
22213 fonts \
22214 loader/wine.inf \
22215 nls \
22216 programs/msidb/msidb \
22217 programs/msiexec/msiexec \
22218 programs/notepad/notepad \
22219 programs/regedit/regedit \
22220 programs/regsvr32/regsvr32 \
22221 programs/wineboot/wineboot \
22222 programs/winecfg/winecfg \
22223 programs/wineconsole/wineconsole \
22224 programs/winedbg/winedbg \
22225 programs/winefile/winefile \
22226 programs/winemine/winemine \
22227 programs/winepath/winepath \
22228 server/wineserver"
22230 case $host_os in
22231 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
22232 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
22233 esac
22237 as_fn_append wine_rules "
22238 distclean:: clean
22239 rm -rf autom4te.cache
22240 maintainer-clean::
22241 rm -f configure include/config.h.in"
22244 as_fn_append wine_rules "
22245 dlls/ntdll/unix/version.c: dummy
22246 @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)
22247 programs/winetest/build.rc: dummy
22248 @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)
22249 programs/winetest/build.nfo:
22250 @-\$(CC) -v 2>\$@
22251 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
22252 cd dlls/wineandroid.drv && gradle -q -Psrcdir=$srcdir assembleDebug
22253 mv dlls/wineandroid.drv/build/outputs/apk/wine-debug.apk \$@"
22256 TAGSFLAGS="--langmap='c:+.idl.l.rh,make:(Make*.in)'"
22258 as_fn_append wine_rules "
22259 TAGS etags:
22260 rm -f TAGS
22261 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs etags -a \$(TAGSFLAGS)
22262 tags ctags:
22263 rm -f tags
22264 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs ctags -a \$(TAGSFLAGS)
22265 dummy:
22266 .PHONY: depend dummy install-manpages"
22268 printf "%s\n" " done" >&6
22269 cat >confcache <<\_ACEOF
22270 # This file is a shell script that caches the results of configure
22271 # tests run on this system so they can be shared between configure
22272 # scripts and configure runs, see configure's option --config-cache.
22273 # It is not useful on other systems. If it contains results you don't
22274 # want to keep, you may remove or edit it.
22276 # config.status only pays attention to the cache file if you give it
22277 # the --recheck option to rerun configure.
22279 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22280 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22281 # following values.
22283 _ACEOF
22285 # The following way of writing the cache mishandles newlines in values,
22286 # but we know of no workaround that is simple, portable, and efficient.
22287 # So, we kill variables containing newlines.
22288 # Ultrix sh set writes to stderr and can't be redirected directly,
22289 # and sets the high bit in the cache file unless we assign to the vars.
22291 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22292 eval ac_val=\$$ac_var
22293 case $ac_val in #(
22294 *${as_nl}*)
22295 case $ac_var in #(
22296 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
22297 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22298 esac
22299 case $ac_var in #(
22300 _ | IFS | as_nl) ;; #(
22301 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
22302 *) { eval $ac_var=; unset $ac_var;} ;;
22303 esac ;;
22304 esac
22305 done
22307 (set) 2>&1 |
22308 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22309 *${as_nl}ac_space=\ *)
22310 # `set' does not quote correctly, so add quotes: double-quote
22311 # substitution turns \\\\ into \\, and sed turns \\ into \.
22312 sed -n \
22313 "s/'/'\\\\''/g;
22314 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22315 ;; #(
22317 # `set' quotes correctly as required by POSIX, so do not add quotes.
22318 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22320 esac |
22321 sort
22323 sed '
22324 /^ac_cv_env_/b end
22325 t clear
22326 :clear
22327 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
22328 t end
22329 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22330 :end' >>confcache
22331 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
22332 if test -w "$cache_file"; then
22333 if test "x$cache_file" != "x/dev/null"; then
22334 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22335 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
22336 if test ! -f "$cache_file" || test -h "$cache_file"; then
22337 cat confcache >"$cache_file"
22338 else
22339 case $cache_file in #(
22340 */* | ?:*)
22341 mv -f confcache "$cache_file"$$ &&
22342 mv -f "$cache_file"$$ "$cache_file" ;; #(
22344 mv -f confcache "$cache_file" ;;
22345 esac
22348 else
22349 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22350 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
22353 rm -f confcache
22355 test "x$prefix" = xNONE && prefix=$ac_default_prefix
22356 # Let make expand exec_prefix.
22357 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22359 DEFS=-DHAVE_CONFIG_H
22361 ac_libobjs=
22362 ac_ltlibobjs=
22364 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
22365 # 1. Remove the extension, and $U if already installed.
22366 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
22367 ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
22368 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22369 # will be set to the directory where LIBOBJS objects are built.
22370 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22371 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
22372 done
22373 LIBOBJS=$ac_libobjs
22375 LTLIBOBJS=$ac_ltlibobjs
22379 : "${CONFIG_STATUS=./config.status}"
22380 ac_write_fail=0
22381 ac_clean_files_save=$ac_clean_files
22382 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
22383 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
22384 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
22385 as_write_fail=0
22386 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
22387 #! $SHELL
22388 # Generated by $as_me.
22389 # Run this file to recreate the current configuration.
22390 # Compiler output produced by configure, useful for debugging
22391 # configure, is in config.log if it exists.
22393 debug=false
22394 ac_cs_recheck=false
22395 ac_cs_silent=false
22397 SHELL=\${CONFIG_SHELL-$SHELL}
22398 export SHELL
22399 _ASEOF
22400 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
22401 ## -------------------- ##
22402 ## M4sh Initialization. ##
22403 ## -------------------- ##
22405 # Be more Bourne compatible
22406 DUALCASE=1; export DUALCASE # for MKS sh
22407 as_nop=:
22408 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
22409 then :
22410 emulate sh
22411 NULLCMD=:
22412 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22413 # is contrary to our usage. Disable this feature.
22414 alias -g '${1+"$@"}'='"$@"'
22415 setopt NO_GLOB_SUBST
22416 else $as_nop
22417 case `(set -o) 2>/dev/null` in #(
22418 *posix*) :
22419 set -o posix ;; #(
22420 *) :
22422 esac
22427 # Reset variables that may have inherited troublesome values from
22428 # the environment.
22430 # IFS needs to be set, to space, tab, and newline, in precisely that order.
22431 # (If _AS_PATH_WALK were called with IFS unset, it would have the
22432 # side effect of setting IFS to empty, thus disabling word splitting.)
22433 # Quoting is to prevent editors from complaining about space-tab.
22434 as_nl='
22436 export as_nl
22437 IFS=" "" $as_nl"
22439 PS1='$ '
22440 PS2='> '
22441 PS4='+ '
22443 # Ensure predictable behavior from utilities with locale-dependent output.
22444 LC_ALL=C
22445 export LC_ALL
22446 LANGUAGE=C
22447 export LANGUAGE
22449 # We cannot yet rely on "unset" to work, but we need these variables
22450 # to be unset--not just set to an empty or harmless value--now, to
22451 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
22452 # also avoids known problems related to "unset" and subshell syntax
22453 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
22454 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
22455 do eval test \${$as_var+y} \
22456 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
22457 done
22459 # Ensure that fds 0, 1, and 2 are open.
22460 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
22461 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
22462 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
22464 # The user is always right.
22465 if ${PATH_SEPARATOR+false} :; then
22466 PATH_SEPARATOR=:
22467 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
22468 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
22469 PATH_SEPARATOR=';'
22474 # Find who we are. Look in the path if we contain no directory separator.
22475 as_myself=
22476 case $0 in #((
22477 *[\\/]* ) as_myself=$0 ;;
22478 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22479 for as_dir in $PATH
22481 IFS=$as_save_IFS
22482 case $as_dir in #(((
22483 '') as_dir=./ ;;
22484 */) ;;
22485 *) as_dir=$as_dir/ ;;
22486 esac
22487 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
22488 done
22489 IFS=$as_save_IFS
22492 esac
22493 # We did not find ourselves, most probably we were run as `sh COMMAND'
22494 # in which case we are not to be found in the path.
22495 if test "x$as_myself" = x; then
22496 as_myself=$0
22498 if test ! -f "$as_myself"; then
22499 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22500 exit 1
22505 # as_fn_error STATUS ERROR [LINENO LOG_FD]
22506 # ----------------------------------------
22507 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
22508 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
22509 # script with STATUS, using 1 if that was 0.
22510 as_fn_error ()
22512 as_status=$1; test $as_status -eq 0 && as_status=1
22513 if test "$4"; then
22514 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
22515 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
22517 printf "%s\n" "$as_me: error: $2" >&2
22518 as_fn_exit $as_status
22519 } # as_fn_error
22523 # as_fn_set_status STATUS
22524 # -----------------------
22525 # Set $? to STATUS, without forking.
22526 as_fn_set_status ()
22528 return $1
22529 } # as_fn_set_status
22531 # as_fn_exit STATUS
22532 # -----------------
22533 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
22534 as_fn_exit ()
22536 set +e
22537 as_fn_set_status $1
22538 exit $1
22539 } # as_fn_exit
22541 # as_fn_unset VAR
22542 # ---------------
22543 # Portably unset VAR.
22544 as_fn_unset ()
22546 { eval $1=; unset $1;}
22548 as_unset=as_fn_unset
22550 # as_fn_append VAR VALUE
22551 # ----------------------
22552 # Append the text in VALUE to the end of the definition contained in VAR. Take
22553 # advantage of any shell optimizations that allow amortized linear growth over
22554 # repeated appends, instead of the typical quadratic growth present in naive
22555 # implementations.
22556 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
22557 then :
22558 eval 'as_fn_append ()
22560 eval $1+=\$2
22562 else $as_nop
22563 as_fn_append ()
22565 eval $1=\$$1\$2
22567 fi # as_fn_append
22569 # as_fn_arith ARG...
22570 # ------------------
22571 # Perform arithmetic evaluation on the ARGs, and store the result in the
22572 # global $as_val. Take advantage of shells that can avoid forks. The arguments
22573 # must be portable across $(()) and expr.
22574 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
22575 then :
22576 eval 'as_fn_arith ()
22578 as_val=$(( $* ))
22580 else $as_nop
22581 as_fn_arith ()
22583 as_val=`expr "$@" || test $? -eq 1`
22585 fi # as_fn_arith
22588 if expr a : '\(a\)' >/dev/null 2>&1 &&
22589 test "X`expr 00001 : '.*\(...\)'`" = X001; then
22590 as_expr=expr
22591 else
22592 as_expr=false
22595 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22596 as_basename=basename
22597 else
22598 as_basename=false
22601 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
22602 as_dirname=dirname
22603 else
22604 as_dirname=false
22607 as_me=`$as_basename -- "$0" ||
22608 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22609 X"$0" : 'X\(//\)$' \| \
22610 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22611 printf "%s\n" X/"$0" |
22612 sed '/^.*\/\([^/][^/]*\)\/*$/{
22613 s//\1/
22616 /^X\/\(\/\/\)$/{
22617 s//\1/
22620 /^X\/\(\/\).*/{
22621 s//\1/
22624 s/.*/./; q'`
22626 # Avoid depending upon Character Ranges.
22627 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
22628 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22629 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
22630 as_cr_digits='0123456789'
22631 as_cr_alnum=$as_cr_Letters$as_cr_digits
22634 # Determine whether it's possible to make 'echo' print without a newline.
22635 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
22636 # for compatibility with existing Makefiles.
22637 ECHO_C= ECHO_N= ECHO_T=
22638 case `echo -n x` in #(((((
22639 -n*)
22640 case `echo 'xy\c'` in
22641 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
22642 xy) ECHO_C='\c';;
22643 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
22644 ECHO_T=' ';;
22645 esac;;
22647 ECHO_N='-n';;
22648 esac
22650 # For backward compatibility with old third-party macros, we provide
22651 # the shell variables $as_echo and $as_echo_n. New code should use
22652 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
22653 as_echo='printf %s\n'
22654 as_echo_n='printf %s'
22656 rm -f conf$$ conf$$.exe conf$$.file
22657 if test -d conf$$.dir; then
22658 rm -f conf$$.dir/conf$$.file
22659 else
22660 rm -f conf$$.dir
22661 mkdir conf$$.dir 2>/dev/null
22663 if (echo >conf$$.file) 2>/dev/null; then
22664 if ln -s conf$$.file conf$$ 2>/dev/null; then
22665 as_ln_s='ln -s'
22666 # ... but there are two gotchas:
22667 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22668 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22669 # In both cases, we have to default to `cp -pR'.
22670 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
22671 as_ln_s='cp -pR'
22672 elif ln conf$$.file conf$$ 2>/dev/null; then
22673 as_ln_s=ln
22674 else
22675 as_ln_s='cp -pR'
22677 else
22678 as_ln_s='cp -pR'
22680 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
22681 rmdir conf$$.dir 2>/dev/null
22684 # as_fn_mkdir_p
22685 # -------------
22686 # Create "$as_dir" as a directory, including parents if necessary.
22687 as_fn_mkdir_p ()
22690 case $as_dir in #(
22691 -*) as_dir=./$as_dir;;
22692 esac
22693 test -d "$as_dir" || eval $as_mkdir_p || {
22694 as_dirs=
22695 while :; do
22696 case $as_dir in #(
22697 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
22698 *) as_qdir=$as_dir;;
22699 esac
22700 as_dirs="'$as_qdir' $as_dirs"
22701 as_dir=`$as_dirname -- "$as_dir" ||
22702 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22703 X"$as_dir" : 'X\(//\)[^/]' \| \
22704 X"$as_dir" : 'X\(//\)$' \| \
22705 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22706 printf "%s\n" X"$as_dir" |
22707 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22708 s//\1/
22711 /^X\(\/\/\)[^/].*/{
22712 s//\1/
22715 /^X\(\/\/\)$/{
22716 s//\1/
22719 /^X\(\/\).*/{
22720 s//\1/
22723 s/.*/./; q'`
22724 test -d "$as_dir" && break
22725 done
22726 test -z "$as_dirs" || eval "mkdir $as_dirs"
22727 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
22730 } # as_fn_mkdir_p
22731 if mkdir -p . 2>/dev/null; then
22732 as_mkdir_p='mkdir -p "$as_dir"'
22733 else
22734 test -d ./-p && rmdir ./-p
22735 as_mkdir_p=false
22739 # as_fn_executable_p FILE
22740 # -----------------------
22741 # Test if FILE is an executable regular file.
22742 as_fn_executable_p ()
22744 test -f "$1" && test -x "$1"
22745 } # as_fn_executable_p
22746 as_test_x='test -x'
22747 as_executable_p=as_fn_executable_p
22749 # Sed expression to map a string onto a valid CPP name.
22750 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22752 # Sed expression to map a string onto a valid variable name.
22753 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22756 exec 6>&1
22757 ## ----------------------------------- ##
22758 ## Main body of $CONFIG_STATUS script. ##
22759 ## ----------------------------------- ##
22760 _ASEOF
22761 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
22763 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22764 # Save the log message, to keep $0 and so on meaningful, and to
22765 # report actual input values of CONFIG_FILES etc. instead of their
22766 # values after options handling.
22767 ac_log="
22768 This file was extended by Wine $as_me 8.2, which was
22769 generated by GNU Autoconf 2.71. Invocation command line was
22771 CONFIG_FILES = $CONFIG_FILES
22772 CONFIG_HEADERS = $CONFIG_HEADERS
22773 CONFIG_LINKS = $CONFIG_LINKS
22774 CONFIG_COMMANDS = $CONFIG_COMMANDS
22775 $ $0 $@
22777 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22780 _ACEOF
22783 case $ac_config_headers in *"
22784 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
22785 esac
22788 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22789 # Files that config.status was made for.
22790 config_headers="$ac_config_headers"
22791 config_links="$ac_config_links"
22792 config_commands="$ac_config_commands"
22794 _ACEOF
22796 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22797 ac_cs_usage="\
22798 \`$as_me' instantiates files and other configuration actions
22799 from templates according to the current configuration. Unless the files
22800 and actions are specified as TAGs, all are instantiated by default.
22802 Usage: $0 [OPTION]... [TAG]...
22804 -h, --help print this help, then exit
22805 -V, --version print version number and configuration settings, then exit
22806 --config print configuration, then exit
22807 -q, --quiet, --silent
22808 do not print progress messages
22809 -d, --debug don't remove temporary files
22810 --recheck update $as_me by reconfiguring in the same conditions
22811 --header=FILE[:TEMPLATE]
22812 instantiate the configuration header FILE
22814 Configuration headers:
22815 $config_headers
22817 Configuration links:
22818 $config_links
22820 Configuration commands:
22821 $config_commands
22823 Report bugs to <wine-devel@winehq.org>.
22824 Wine home page: <https://www.winehq.org>."
22826 _ACEOF
22827 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
22828 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
22829 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22830 ac_cs_config='$ac_cs_config_escaped'
22831 ac_cs_version="\\
22832 Wine config.status 8.2
22833 configured by $0, generated by GNU Autoconf 2.71,
22834 with options \\"\$ac_cs_config\\"
22836 Copyright (C) 2021 Free Software Foundation, Inc.
22837 This config.status script is free software; the Free Software Foundation
22838 gives unlimited permission to copy, distribute and modify it."
22840 ac_pwd='$ac_pwd'
22841 srcdir='$srcdir'
22842 test -n "\$AWK" || AWK=awk
22843 _ACEOF
22845 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22846 # The default lists apply if the user does not specify any file.
22847 ac_need_defaults=:
22848 while test $# != 0
22850 case $1 in
22851 --*=?*)
22852 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22853 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
22854 ac_shift=:
22856 --*=)
22857 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22858 ac_optarg=
22859 ac_shift=:
22862 ac_option=$1
22863 ac_optarg=$2
22864 ac_shift=shift
22866 esac
22868 case $ac_option in
22869 # Handling of the options.
22870 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22871 ac_cs_recheck=: ;;
22872 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
22873 printf "%s\n" "$ac_cs_version"; exit ;;
22874 --config | --confi | --conf | --con | --co | --c )
22875 printf "%s\n" "$ac_cs_config"; exit ;;
22876 --debug | --debu | --deb | --de | --d | -d )
22877 debug=: ;;
22878 --header | --heade | --head | --hea )
22879 $ac_shift
22880 case $ac_optarg in
22881 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22882 esac
22883 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
22884 ac_need_defaults=false;;
22885 --he | --h)
22886 # Conflict between --help and --header
22887 as_fn_error $? "ambiguous option: \`$1'
22888 Try \`$0 --help' for more information.";;
22889 --help | --hel | -h )
22890 printf "%s\n" "$ac_cs_usage"; exit ;;
22891 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22892 | -silent | --silent | --silen | --sile | --sil | --si | --s)
22893 ac_cs_silent=: ;;
22895 # This is an error.
22896 -*) as_fn_error $? "unrecognized option: \`$1'
22897 Try \`$0 --help' for more information." ;;
22899 *) as_fn_append ac_config_targets " $1"
22900 ac_need_defaults=false ;;
22902 esac
22903 shift
22904 done
22906 ac_configure_extra_args=
22908 if $ac_cs_silent; then
22909 exec 6>/dev/null
22910 ac_configure_extra_args="$ac_configure_extra_args --silent"
22913 _ACEOF
22914 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22915 if \$ac_cs_recheck; then
22916 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22917 shift
22918 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
22919 CONFIG_SHELL='$SHELL'
22920 export CONFIG_SHELL
22921 exec "\$@"
22924 _ACEOF
22925 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22926 exec 5>>config.log
22928 echo
22929 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22930 ## Running $as_me. ##
22931 _ASBOX
22932 printf "%s\n" "$ac_log"
22933 } >&5
22935 _ACEOF
22936 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22938 # INIT-COMMANDS
22940 wine_fn_output_makedep ()
22942 as_dir=tools; as_fn_mkdir_p
22943 $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
22945 wine_fn_output_makefile ()
22947 cat <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && "$wine_makedep"$makedep_flags && return
22948 # This Makefile understands the following targets:
22950 # all (default): build wine
22951 # clean: remove all intermediate files
22952 # distclean: also remove all files created by configure
22953 # test: run tests
22954 # testclean: clean test results to force running all tests again
22955 # install-lib: install libraries needed to run applications
22956 # install-dev: install development environment
22957 # install: install everything
22958 # uninstall: uninstall everything
22959 # ctags: create a tags file for vim and others.
22960 # etags: create a TAGS file for Emacs.
22962 SHELL = $SHELL
22963 PATH_SEPARATOR = $PATH_SEPARATOR
22964 PACKAGE_NAME = $PACKAGE_NAME
22965 PACKAGE_TARNAME = $PACKAGE_TARNAME
22966 PACKAGE_VERSION = $PACKAGE_VERSION
22967 PACKAGE_STRING = $PACKAGE_STRING
22968 PACKAGE_BUGREPORT = $PACKAGE_BUGREPORT
22969 PACKAGE_URL = $PACKAGE_URL
22970 exec_prefix = $exec_prefix
22971 prefix = $prefix
22972 program_transform_name = $program_transform_name
22973 bindir = $bindir
22974 sbindir = $sbindir
22975 libexecdir = $libexecdir
22976 datarootdir = $datarootdir
22977 datadir = $datadir
22978 sysconfdir = $sysconfdir
22979 sharedstatedir = $sharedstatedir
22980 localstatedir = $localstatedir
22981 runstatedir = $runstatedir
22982 includedir = $includedir
22983 oldincludedir = $oldincludedir
22984 docdir = $docdir
22985 infodir = $infodir
22986 htmldir = $htmldir
22987 dvidir = $dvidir
22988 pdfdir = $pdfdir
22989 psdir = $psdir
22990 libdir = $libdir
22991 localedir = $localedir
22992 mandir = $mandir
22993 DEFS = $DEFS
22994 ECHO_C = $ECHO_C
22995 ECHO_N = $ECHO_N
22996 ECHO_T = $ECHO_T
22997 LIBS = $LIBS
22998 build_alias = $build_alias
22999 host_alias = $host_alias
23000 target_alias = $target_alias
23001 system_dllpath = $system_dllpath
23002 build = $build
23003 build_cpu = $build_cpu
23004 build_vendor = $build_vendor
23005 build_os = $build_os
23006 host = $host
23007 host_cpu = $host_cpu
23008 host_vendor = $host_vendor
23009 host_os = $host_os
23010 dlldir = $dlldir
23011 fontdir = $fontdir
23012 nlsdir = $nlsdir
23013 srcdir = $srcdir
23014 SET_MAKE = $SET_MAKE
23015 CC = $CC
23016 CFLAGS = $CFLAGS
23017 LDFLAGS = $LDFLAGS
23018 CPPFLAGS = $CPPFLAGS
23019 ac_ct_CC = $ac_ct_CC
23020 EXEEXT = $EXEEXT
23021 OBJEXT = $OBJEXT
23022 CXX = $CXX
23023 CXXFLAGS = $CXXFLAGS
23024 ac_ct_CXX = $ac_ct_CXX
23025 CPPBIN = $CPPBIN
23026 LD = $LD
23027 TARGETFLAGS = $TARGETFLAGS
23028 toolsext = $toolsext
23029 HOST_ARCH = $HOST_ARCH
23030 aarch64_CC = $aarch64_CC
23031 aarch64_CFLAGS = $aarch64_CFLAGS
23032 aarch64_EXTRACFLAGS = $aarch64_EXTRACFLAGS
23033 aarch64_LDFLAGS = $aarch64_LDFLAGS
23034 aarch64_DEBUG = $aarch64_DEBUG
23035 aarch64_TARGET = $aarch64_TARGET
23036 aarch64_DELAYLOADFLAG = $aarch64_DELAYLOADFLAG
23037 aarch64_DISABLED_SUBDIRS = $aarch64_DISABLED_SUBDIRS
23038 arm_CC = $arm_CC
23039 arm_CFLAGS = $arm_CFLAGS
23040 arm_EXTRACFLAGS = $arm_EXTRACFLAGS
23041 arm_LDFLAGS = $arm_LDFLAGS
23042 arm_DEBUG = $arm_DEBUG
23043 arm_TARGET = $arm_TARGET
23044 arm_DELAYLOADFLAG = $arm_DELAYLOADFLAG
23045 arm_DISABLED_SUBDIRS = $arm_DISABLED_SUBDIRS
23046 i386_CC = $i386_CC
23047 i386_CFLAGS = $i386_CFLAGS
23048 i386_EXTRACFLAGS = $i386_EXTRACFLAGS
23049 i386_LDFLAGS = $i386_LDFLAGS
23050 i386_DEBUG = $i386_DEBUG
23051 i386_TARGET = $i386_TARGET
23052 i386_DELAYLOADFLAG = $i386_DELAYLOADFLAG
23053 i386_DISABLED_SUBDIRS = $i386_DISABLED_SUBDIRS
23054 x86_64_CC = $x86_64_CC
23055 x86_64_CFLAGS = $x86_64_CFLAGS
23056 x86_64_EXTRACFLAGS = $x86_64_EXTRACFLAGS
23057 x86_64_LDFLAGS = $x86_64_LDFLAGS
23058 x86_64_DEBUG = $x86_64_DEBUG
23059 x86_64_TARGET = $x86_64_TARGET
23060 x86_64_DELAYLOADFLAG = $x86_64_DELAYLOADFLAG
23061 x86_64_DISABLED_SUBDIRS = $x86_64_DISABLED_SUBDIRS
23062 toolsdir = $toolsdir
23063 MAKEDEP = $MAKEDEP
23064 RUNTESTFLAGS = $RUNTESTFLAGS
23065 SED_CMD = $SED_CMD
23066 FLEX = $FLEX
23067 BISON = $BISON
23068 AR = $AR
23069 ac_ct_AR = $ac_ct_AR
23070 STRIP = $STRIP
23071 RANLIB = $RANLIB
23072 LN_S = $LN_S
23073 GREP = $GREP
23074 EGREP = $EGREP
23075 LDCONFIG = $LDCONFIG
23076 MSGFMT = $MSGFMT
23077 PKG_CONFIG = $PKG_CONFIG
23078 FONTFORGE = $FONTFORGE
23079 RSVG = $RSVG
23080 CONVERT = $CONVERT
23081 ICOTOOL = $ICOTOOL
23082 I386_LIBS = $I386_LIBS
23083 OPENGL_LIBS = $OPENGL_LIBS
23084 DLLFLAGS = $DLLFLAGS
23085 LDDLLFLAGS = $LDDLLFLAGS
23086 LDEXECFLAGS = $LDEXECFLAGS
23087 EXTRACFLAGS = $EXTRACFLAGS
23088 UNIXDLLFLAGS = $UNIXDLLFLAGS
23089 UNIXLDFLAGS = $UNIXLDFLAGS
23090 TOP_INSTALL_LIB = $TOP_INSTALL_LIB
23091 TOP_INSTALL_DEV = $TOP_INSTALL_DEV
23092 WINELOADER_LDFLAGS = $WINELOADER_LDFLAGS
23093 WINEPRELOADER_LDFLAGS = $WINEPRELOADER_LDFLAGS
23094 LDD = $LDD
23095 OTOOL = $OTOOL
23096 READELF = $READELF
23097 SUBDIRS = $SUBDIRS
23098 DISABLED_SUBDIRS = $DISABLED_SUBDIRS
23099 CONFIGURE_TARGETS = $CONFIGURE_TARGETS
23100 CARBON_LIBS = $CARBON_LIBS
23101 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
23102 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
23103 IOKIT_LIBS = $IOKIT_LIBS
23104 METAL_LIBS = $METAL_LIBS
23105 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
23106 CORESERVICES_LIBS = $CORESERVICES_LIBS
23107 APPKIT_LIBS = $APPKIT_LIBS
23108 SECURITY_LIBS = $SECURITY_LIBS
23109 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
23110 COREAUDIO_LIBS = $COREAUDIO_LIBS
23111 OPENCL_LIBS = $OPENCL_LIBS
23112 OBJC = $OBJC
23113 OBJCFLAGS = $OBJCFLAGS
23114 ac_ct_OBJC = $ac_ct_OBJC
23115 LIBWINE_SHAREDLIB = $LIBWINE_SHAREDLIB
23116 LIBWINE_LDFLAGS = $LIBWINE_LDFLAGS
23117 WINELOADER_DEPENDS = $WINELOADER_DEPENDS
23118 PRELINK = $PRELINK
23119 LIBWINE_DEPENDS = $LIBWINE_DEPENDS
23120 PE_ARCHS = $PE_ARCHS
23121 MINGW_PKG_CONFIG = $MINGW_PKG_CONFIG
23122 FAUDIO_PE_CFLAGS = $FAUDIO_PE_CFLAGS
23123 FAUDIO_PE_LIBS = $FAUDIO_PE_LIBS
23124 GSM_PE_CFLAGS = $GSM_PE_CFLAGS
23125 GSM_PE_LIBS = $GSM_PE_LIBS
23126 JPEG_PE_CFLAGS = $JPEG_PE_CFLAGS
23127 JPEG_PE_LIBS = $JPEG_PE_LIBS
23128 JXR_PE_CFLAGS = $JXR_PE_CFLAGS
23129 JXR_PE_LIBS = $JXR_PE_LIBS
23130 LCMS2_PE_CFLAGS = $LCMS2_PE_CFLAGS
23131 LCMS2_PE_LIBS = $LCMS2_PE_LIBS
23132 LDAP_PE_CFLAGS = $LDAP_PE_CFLAGS
23133 LDAP_PE_LIBS = $LDAP_PE_LIBS
23134 MPG123_PE_CFLAGS = $MPG123_PE_CFLAGS
23135 MPG123_PE_LIBS = $MPG123_PE_LIBS
23136 PNG_PE_CFLAGS = $PNG_PE_CFLAGS
23137 PNG_PE_LIBS = $PNG_PE_LIBS
23138 TIFF_PE_CFLAGS = $TIFF_PE_CFLAGS
23139 TIFF_PE_LIBS = $TIFF_PE_LIBS
23140 VKD3D_PE_CFLAGS = $VKD3D_PE_CFLAGS
23141 VKD3D_PE_LIBS = $VKD3D_PE_LIBS
23142 XML2_PE_CFLAGS = $XML2_PE_CFLAGS
23143 XML2_PE_LIBS = $XML2_PE_LIBS
23144 XSLT_PE_CFLAGS = $XSLT_PE_CFLAGS
23145 XSLT_PE_LIBS = $XSLT_PE_LIBS
23146 ZLIB_PE_CFLAGS = $ZLIB_PE_CFLAGS
23147 ZLIB_PE_LIBS = $ZLIB_PE_LIBS
23148 PTHREAD_LIBS = $PTHREAD_LIBS
23149 XMKMF = $XMKMF
23150 CPP = $CPP
23151 X_CFLAGS = $X_CFLAGS
23152 X_PRE_LIBS = $X_PRE_LIBS
23153 X_LIBS = $X_LIBS
23154 X_EXTRA_LIBS = $X_EXTRA_LIBS
23155 PCAP_LIBS = $PCAP_LIBS
23156 PCSCLITE_LIBS = $PCSCLITE_LIBS
23157 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
23158 INOTIFY_LIBS = $INOTIFY_LIBS
23159 DBUS_CFLAGS = $DBUS_CFLAGS
23160 DBUS_LIBS = $DBUS_LIBS
23161 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
23162 GNUTLS_LIBS = $GNUTLS_LIBS
23163 SANE_CFLAGS = $SANE_CFLAGS
23164 SANE_LIBS = $SANE_LIBS
23165 USB_CFLAGS = $USB_CFLAGS
23166 USB_LIBS = $USB_LIBS
23167 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
23168 GPHOTO2_LIBS = $GPHOTO2_LIBS
23169 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
23170 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
23171 RESOLV_LIBS = $RESOLV_LIBS
23172 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
23173 FREETYPE_LIBS = $FREETYPE_LIBS
23174 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
23175 PULSE_CFLAGS = $PULSE_CFLAGS
23176 PULSE_LIBS = $PULSE_LIBS
23177 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
23178 GSTREAMER_LIBS = $GSTREAMER_LIBS
23179 ALSA_LIBS = $ALSA_LIBS
23180 OSS4_CFLAGS = $OSS4_CFLAGS
23181 OSS4_LIBS = $OSS4_LIBS
23182 UDEV_CFLAGS = $UDEV_CFLAGS
23183 UDEV_LIBS = $UDEV_LIBS
23184 UNWIND_CFLAGS = $UNWIND_CFLAGS
23185 UNWIND_LIBS = $UNWIND_LIBS
23186 SDL2_CFLAGS = $SDL2_CFLAGS
23187 SDL2_LIBS = $SDL2_LIBS
23188 CAPI20_CFLAGS = $CAPI20_CFLAGS
23189 CAPI20_LIBS = $CAPI20_LIBS
23190 CUPS_CFLAGS = $CUPS_CFLAGS
23191 CUPS_LIBS = $CUPS_LIBS
23192 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
23193 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
23194 KRB5_CFLAGS = $KRB5_CFLAGS
23195 KRB5_LIBS = $KRB5_LIBS
23196 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
23197 GSSAPI_LIBS = $GSSAPI_LIBS
23198 PROCSTAT_LIBS = $PROCSTAT_LIBS
23199 NETAPI_CFLAGS = $NETAPI_CFLAGS
23200 NETAPI_LIBS = $NETAPI_LIBS
23201 MSVCRTFLAGS = $MSVCRTFLAGS
23202 DELAYLOADFLAG = $DELAYLOADFLAG
23203 WINELOADER_PROGRAMS = $WINELOADER_PROGRAMS
23204 RT_LIBS = $RT_LIBS
23205 TAGSFLAGS = $TAGSFLAGS
23206 LIBOBJS = $LIBOBJS
23207 LTLIBOBJS = $LTLIBOBJS
23208 $SET_MAKE
23209 $wine_rules
23210 _WINE_EOF
23211 as_fn_error $? "could not create Makefile" "$LINENO" 5
23214 _ACEOF
23216 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23218 # Handling of arguments.
23219 for ac_config_target in $ac_config_targets
23221 case $ac_config_target in
23222 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
23223 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
23224 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
23225 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
23226 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
23227 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
23229 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
23230 esac
23231 done
23234 # If the user did not use the arguments to specify the items to instantiate,
23235 # then the envvar interface is used. Set only those that are not.
23236 # We use the long form for the default assignment because of an extremely
23237 # bizarre bug on SunOS 4.1.3.
23238 if $ac_need_defaults; then
23239 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
23240 test ${CONFIG_LINKS+y} || CONFIG_LINKS=$config_links
23241 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
23244 # Have a temporary directory for convenience. Make it in the build tree
23245 # simply because there is no reason against having it here, and in addition,
23246 # creating and moving files from /tmp can sometimes cause problems.
23247 # Hook for its removal unless debugging.
23248 # Note that there is a small window in which the directory will not be cleaned:
23249 # after its creation but before its name has been assigned to `$tmp'.
23250 $debug ||
23252 tmp= ac_tmp=
23253 trap 'exit_status=$?
23254 : "${ac_tmp:=$tmp}"
23255 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
23257 trap 'as_fn_exit 1' 1 2 13 15
23259 # Create a (secure) tmp directory for tmp files.
23262 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23263 test -d "$tmp"
23264 } ||
23266 tmp=./conf$$-$RANDOM
23267 (umask 077 && mkdir "$tmp")
23268 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
23269 ac_tmp=$tmp
23271 # Set up the scripts for CONFIG_HEADERS section.
23272 # No need to generate them if there are no CONFIG_HEADERS.
23273 # This happens for instance with `./config.status Makefile'.
23274 if test -n "$CONFIG_HEADERS"; then
23275 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
23276 BEGIN {
23277 _ACEOF
23279 # Transform confdefs.h into an awk script `defines.awk', embedded as
23280 # here-document in config.status, that substitutes the proper values into
23281 # config.h.in to produce config.h.
23283 # Create a delimiter string that does not exist in confdefs.h, to ease
23284 # handling of long lines.
23285 ac_delim='%!_!# '
23286 for ac_last_try in false false :; do
23287 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
23288 if test -z "$ac_tt"; then
23289 break
23290 elif $ac_last_try; then
23291 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
23292 else
23293 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23295 done
23297 # For the awk script, D is an array of macro values keyed by name,
23298 # likewise P contains macro parameters if any. Preserve backslash
23299 # newline sequences.
23301 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
23302 sed -n '
23303 s/.\{148\}/&'"$ac_delim"'/g
23304 t rset
23305 :rset
23306 s/^[ ]*#[ ]*define[ ][ ]*/ /
23307 t def
23309 :def
23310 s/\\$//
23311 t bsnl
23312 s/["\\]/\\&/g
23313 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23314 D["\1"]=" \3"/p
23315 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
23317 :bsnl
23318 s/["\\]/\\&/g
23319 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23320 D["\1"]=" \3\\\\\\n"\\/p
23321 t cont
23322 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
23323 t cont
23325 :cont
23327 s/.\{148\}/&'"$ac_delim"'/g
23328 t clear
23329 :clear
23330 s/\\$//
23331 t bsnlc
23332 s/["\\]/\\&/g; s/^/"/; s/$/"/p
23334 :bsnlc
23335 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
23336 b cont
23337 ' <confdefs.h | sed '
23338 s/'"$ac_delim"'/"\\\
23339 "/g' >>$CONFIG_STATUS || ac_write_fail=1
23341 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23342 for (key in D) D_is_set[key] = 1
23343 FS = "\a"
23345 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
23346 line = \$ 0
23347 split(line, arg, " ")
23348 if (arg[1] == "#") {
23349 defundef = arg[2]
23350 mac1 = arg[3]
23351 } else {
23352 defundef = substr(arg[1], 2)
23353 mac1 = arg[2]
23355 split(mac1, mac2, "(") #)
23356 macro = mac2[1]
23357 prefix = substr(line, 1, index(line, defundef) - 1)
23358 if (D_is_set[macro]) {
23359 # Preserve the white space surrounding the "#".
23360 print prefix "define", macro P[macro] D[macro]
23361 next
23362 } else {
23363 # Replace #undef with comments. This is necessary, for example,
23364 # in the case of _POSIX_SOURCE, which is predefined and required
23365 # on some systems where configure will not decide to define it.
23366 if (defundef == "undef") {
23367 print "/*", prefix defundef, macro, "*/"
23368 next
23372 { print }
23373 _ACAWK
23374 _ACEOF
23375 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23376 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
23377 fi # test -n "$CONFIG_HEADERS"
23380 eval set X " :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
23381 shift
23382 for ac_tag
23384 case $ac_tag in
23385 :[FHLC]) ac_mode=$ac_tag; continue;;
23386 esac
23387 case $ac_mode$ac_tag in
23388 :[FHL]*:*);;
23389 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
23390 :[FH]-) ac_tag=-:-;;
23391 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
23392 esac
23393 ac_save_IFS=$IFS
23394 IFS=:
23395 set x $ac_tag
23396 IFS=$ac_save_IFS
23397 shift
23398 ac_file=$1
23399 shift
23401 case $ac_mode in
23402 :L) ac_source=$1;;
23403 :[FH])
23404 ac_file_inputs=
23405 for ac_f
23407 case $ac_f in
23408 -) ac_f="$ac_tmp/stdin";;
23409 *) # Look for the file first in the build tree, then in the source tree
23410 # (if the path is not absolute). The absolute path cannot be DOS-style,
23411 # because $ac_f cannot contain `:'.
23412 test -f "$ac_f" ||
23413 case $ac_f in
23414 [\\/$]*) false;;
23415 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
23416 esac ||
23417 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
23418 esac
23419 case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
23420 as_fn_append ac_file_inputs " '$ac_f'"
23421 done
23423 # Let's still pretend it is `configure' which instantiates (i.e., don't
23424 # use $as_me), people would be surprised to read:
23425 # /* config.h. Generated by config.status. */
23426 configure_input='Generated from '`
23427 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
23428 `' by configure.'
23429 if test x"$ac_file" != x-; then
23430 configure_input="$ac_file. $configure_input"
23431 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
23432 printf "%s\n" "$as_me: creating $ac_file" >&6;}
23434 # Neutralize special characters interpreted by sed in replacement strings.
23435 case $configure_input in #(
23436 *\&* | *\|* | *\\* )
23437 ac_sed_conf_input=`printf "%s\n" "$configure_input" |
23438 sed 's/[\\\\&|]/\\\\&/g'`;; #(
23439 *) ac_sed_conf_input=$configure_input;;
23440 esac
23442 case $ac_tag in
23443 *:-:* | *:-) cat >"$ac_tmp/stdin" \
23444 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
23445 esac
23447 esac
23449 ac_dir=`$as_dirname -- "$ac_file" ||
23450 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23451 X"$ac_file" : 'X\(//\)[^/]' \| \
23452 X"$ac_file" : 'X\(//\)$' \| \
23453 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23454 printf "%s\n" X"$ac_file" |
23455 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23456 s//\1/
23459 /^X\(\/\/\)[^/].*/{
23460 s//\1/
23463 /^X\(\/\/\)$/{
23464 s//\1/
23467 /^X\(\/\).*/{
23468 s//\1/
23471 s/.*/./; q'`
23472 as_dir="$ac_dir"; as_fn_mkdir_p
23473 ac_builddir=.
23475 case "$ac_dir" in
23476 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
23478 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
23479 # A ".." for each directory in $ac_dir_suffix.
23480 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
23481 case $ac_top_builddir_sub in
23482 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
23483 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
23484 esac ;;
23485 esac
23486 ac_abs_top_builddir=$ac_pwd
23487 ac_abs_builddir=$ac_pwd$ac_dir_suffix
23488 # for backward compatibility:
23489 ac_top_builddir=$ac_top_build_prefix
23491 case $srcdir in
23492 .) # We are building in place.
23493 ac_srcdir=.
23494 ac_top_srcdir=$ac_top_builddir_sub
23495 ac_abs_top_srcdir=$ac_pwd ;;
23496 [\\/]* | ?:[\\/]* ) # Absolute name.
23497 ac_srcdir=$srcdir$ac_dir_suffix;
23498 ac_top_srcdir=$srcdir
23499 ac_abs_top_srcdir=$srcdir ;;
23500 *) # Relative name.
23501 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
23502 ac_top_srcdir=$ac_top_build_prefix$srcdir
23503 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
23504 esac
23505 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
23508 case $ac_mode in
23512 # CONFIG_HEADER
23514 if test x"$ac_file" != x-; then
23516 printf "%s\n" "/* $configure_input */" >&1 \
23517 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
23518 } >"$ac_tmp/config.h" \
23519 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23520 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
23521 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
23522 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
23523 else
23524 rm -f "$ac_file"
23525 mv "$ac_tmp/config.h" "$ac_file" \
23526 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23528 else
23529 printf "%s\n" "/* $configure_input */" >&1 \
23530 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
23531 || as_fn_error $? "could not create -" "$LINENO" 5
23536 # CONFIG_LINK
23539 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
23541 else
23542 # Prefer the file from the source tree if names are identical.
23543 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
23544 ac_source=$srcdir/$ac_source
23547 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
23548 printf "%s\n" "$as_me: linking $ac_source to $ac_file" >&6;}
23550 if test ! -r "$ac_source"; then
23551 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
23553 rm -f "$ac_file"
23555 # Try a relative symlink, then a hard link, then a copy.
23556 case $ac_source in
23557 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
23558 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
23559 esac
23560 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
23561 ln "$ac_source" "$ac_file" 2>/dev/null ||
23562 cp -p "$ac_source" "$ac_file" ||
23563 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
23566 :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
23567 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
23569 esac
23572 case $ac_file$ac_mode in
23573 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
23574 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
23575 "Makefile":C) wine_fn_output_makefile Makefile ;;
23577 esac
23578 done # for ac_tag
23581 as_fn_exit 0
23582 _ACEOF
23583 ac_clean_files=$ac_clean_files_save
23585 test $ac_write_fail = 0 ||
23586 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
23589 # configure is writing to config.log, and then calls config.status.
23590 # config.status does its own redirection, appending to config.log.
23591 # Unfortunately, on DOS this fails, as config.log is still kept open
23592 # by configure, so config.status won't be able to write to it; its
23593 # output is simply discarded. So we exec the FD to /dev/null,
23594 # effectively closing config.log, so it can be properly (re)opened and
23595 # appended to by config.status. When coming back to configure, we
23596 # need to make the FD available again.
23597 if test "$no_create" != yes; then
23598 ac_cs_success=:
23599 ac_config_status_args=
23600 test "$silent" = yes &&
23601 ac_config_status_args="$ac_config_status_args --quiet"
23602 exec 5>/dev/null
23603 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
23604 exec 5>>config.log
23605 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23606 # would make configure fail if this is the last instruction.
23607 $ac_cs_success || as_fn_exit 1
23609 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
23610 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
23611 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
23615 if test "$no_create" = "yes"
23616 then
23617 exit 0
23620 ac_save_IFS="$IFS"
23621 if test "x$wine_notices" != x; then
23622 echo >&6
23623 IFS="|"
23624 for msg in $wine_notices; do
23625 IFS="$ac_save_IFS"
23626 if ${msg:+false} :
23627 then :
23629 else $as_nop
23630 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $msg" >&5
23631 printf "%s\n" "$as_me: $msg" >&6;}
23633 done
23635 IFS="|"
23636 for msg in $wine_warnings; do
23637 IFS="$ac_save_IFS"
23638 if ${msg:+false} :
23639 then :
23641 else $as_nop
23642 echo >&2
23643 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
23644 printf "%s\n" "$as_me: WARNING: $msg" >&2;}
23646 done
23647 IFS="$ac_save_IFS"
23649 printf "%s\n" "
23650 $as_me: Finished. Do '${ac_make}' to compile Wine.
23651 " >&6