wiaservc: Remove unused function wiaservc_strdup.
[wine.git] / configure
blobe5bd2ca693a759259665b82273cc1b0492f9b56f
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.71 for Wine 7.22.
5 # Report bugs to <wine-devel@winehq.org>.
8 # Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation,
9 # Inc.
12 # This configure script is free software; the Free Software Foundation
13 # gives unlimited permission to copy, distribute and modify it.
14 ## -------------------- ##
15 ## M4sh Initialization. ##
16 ## -------------------- ##
18 # Be more Bourne compatible
19 DUALCASE=1; export DUALCASE # for MKS sh
20 as_nop=:
21 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
22 then :
23 emulate sh
24 NULLCMD=:
25 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
26 # is contrary to our usage. Disable this feature.
27 alias -g '${1+"$@"}'='"$@"'
28 setopt NO_GLOB_SUBST
29 else $as_nop
30 case `(set -o) 2>/dev/null` in #(
31 *posix*) :
32 set -o posix ;; #(
33 *) :
35 esac
40 # Reset variables that may have inherited troublesome values from
41 # the environment.
43 # IFS needs to be set, to space, tab, and newline, in precisely that order.
44 # (If _AS_PATH_WALK were called with IFS unset, it would have the
45 # side effect of setting IFS to empty, thus disabling word splitting.)
46 # Quoting is to prevent editors from complaining about space-tab.
47 as_nl='
49 export as_nl
50 IFS=" "" $as_nl"
52 PS1='$ '
53 PS2='> '
54 PS4='+ '
56 # Ensure predictable behavior from utilities with locale-dependent output.
57 LC_ALL=C
58 export LC_ALL
59 LANGUAGE=C
60 export LANGUAGE
62 # We cannot yet rely on "unset" to work, but we need these variables
63 # to be unset--not just set to an empty or harmless value--now, to
64 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
65 # also avoids known problems related to "unset" and subshell syntax
66 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
67 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
68 do eval test \${$as_var+y} \
69 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
70 done
72 # Ensure that fds 0, 1, and 2 are open.
73 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
74 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
75 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
77 # The user is always right.
78 if ${PATH_SEPARATOR+false} :; then
79 PATH_SEPARATOR=:
80 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
81 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
82 PATH_SEPARATOR=';'
87 # Find who we are. Look in the path if we contain no directory separator.
88 as_myself=
89 case $0 in #((
90 *[\\/]* ) as_myself=$0 ;;
91 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
92 for as_dir in $PATH
94 IFS=$as_save_IFS
95 case $as_dir in #(((
96 '') as_dir=./ ;;
97 */) ;;
98 *) as_dir=$as_dir/ ;;
99 esac
100 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
101 done
102 IFS=$as_save_IFS
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109 as_myself=$0
111 if test ! -f "$as_myself"; then
112 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1
117 # Use a proper internal environment variable to ensure we don't fall
118 # into an infinite loop, continuously re-executing ourselves.
119 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
120 _as_can_reexec=no; export _as_can_reexec;
121 # We cannot yet assume a decent shell, so we have to provide a
122 # neutralization value for shells without unset; and this also
123 # works around shells that cannot unset nonexistent variables.
124 # Preserve -v and -x to the replacement shell.
125 BASH_ENV=/dev/null
126 ENV=/dev/null
127 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
128 case $- in # ((((
129 *v*x* | *x*v* ) as_opts=-vx ;;
130 *v* ) as_opts=-v ;;
131 *x* ) as_opts=-x ;;
132 * ) as_opts= ;;
133 esac
134 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
135 # Admittedly, this is quite paranoid, since all the known shells bail
136 # out after a failed `exec'.
137 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
138 exit 255
140 # We don't want this to propagate to other subprocesses.
141 { _as_can_reexec=; unset _as_can_reexec;}
142 if test "x$CONFIG_SHELL" = x; then
143 as_bourne_compatible="as_nop=:
144 if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
145 then :
146 emulate sh
147 NULLCMD=:
148 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
149 # is contrary to our usage. Disable this feature.
150 alias -g '\${1+\"\$@\"}'='\"\$@\"'
151 setopt NO_GLOB_SUBST
152 else \$as_nop
153 case \`(set -o) 2>/dev/null\` in #(
154 *posix*) :
155 set -o posix ;; #(
156 *) :
158 esac
161 as_required="as_fn_return () { (exit \$1); }
162 as_fn_success () { as_fn_return 0; }
163 as_fn_failure () { as_fn_return 1; }
164 as_fn_ret_success () { return 0; }
165 as_fn_ret_failure () { return 1; }
167 exitcode=0
168 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
169 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
170 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
171 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
172 if ( set x; as_fn_ret_success y && test x = \"\$1\" )
173 then :
175 else \$as_nop
176 exitcode=1; echo positional parameters were not saved.
178 test x\$exitcode = x0 || exit 1
179 blah=\$(echo \$(echo blah))
180 test x\"\$blah\" = xblah || exit 1
181 test -x / || exit 1"
182 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
183 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
184 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
185 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
186 test \$(( 1 + 1 )) = 2 || exit 1"
187 if (eval "$as_required") 2>/dev/null
188 then :
189 as_have_required=yes
190 else $as_nop
191 as_have_required=no
193 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
194 then :
196 else $as_nop
197 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
198 as_found=false
199 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
201 IFS=$as_save_IFS
202 case $as_dir in #(((
203 '') as_dir=./ ;;
204 */) ;;
205 *) as_dir=$as_dir/ ;;
206 esac
207 as_found=:
208 case $as_dir in #(
210 for as_base in sh bash ksh sh5; do
211 # Try only shells that exist, to save several forks.
212 as_shell=$as_dir$as_base
213 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
214 as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
215 then :
216 CONFIG_SHELL=$as_shell as_have_required=yes
217 if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
218 then :
219 break 2
222 done;;
223 esac
224 as_found=false
225 done
226 IFS=$as_save_IFS
227 if $as_found
228 then :
230 else $as_nop
231 if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
232 as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
233 then :
234 CONFIG_SHELL=$SHELL as_have_required=yes
239 if test "x$CONFIG_SHELL" != x
240 then :
241 export CONFIG_SHELL
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
246 BASH_ENV=/dev/null
247 ENV=/dev/null
248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
249 case $- in # ((((
250 *v*x* | *x*v* ) as_opts=-vx ;;
251 *v* ) as_opts=-v ;;
252 *x* ) as_opts=-x ;;
253 * ) as_opts= ;;
254 esac
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
259 exit 255
262 if test x$as_have_required = xno
263 then :
264 printf "%s\n" "$0: This script requires a shell more modern than all"
265 printf "%s\n" "$0: the shells that I found on your system."
266 if test ${ZSH_VERSION+y} ; then
267 printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
268 printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
269 else
270 printf "%s\n" "$0: Please tell bug-autoconf@gnu.org and
271 $0: wine-devel@winehq.org about your system, including any
272 $0: error possibly output before this message. Then install
273 $0: a modern shell, or manually run the script under such a
274 $0: shell if you do have one."
276 exit 1
280 SHELL=${CONFIG_SHELL-/bin/sh}
281 export SHELL
282 # Unset more variables known to interfere with behavior of common tools.
283 CLICOLOR_FORCE= GREP_OPTIONS=
284 unset CLICOLOR_FORCE GREP_OPTIONS
286 ## --------------------- ##
287 ## M4sh Shell Functions. ##
288 ## --------------------- ##
289 # as_fn_unset VAR
290 # ---------------
291 # Portably unset VAR.
292 as_fn_unset ()
294 { eval $1=; unset $1;}
296 as_unset=as_fn_unset
299 # as_fn_set_status STATUS
300 # -----------------------
301 # Set $? to STATUS, without forking.
302 as_fn_set_status ()
304 return $1
305 } # as_fn_set_status
307 # as_fn_exit STATUS
308 # -----------------
309 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
310 as_fn_exit ()
312 set +e
313 as_fn_set_status $1
314 exit $1
315 } # as_fn_exit
316 # as_fn_nop
317 # ---------
318 # Do nothing but, unlike ":", preserve the value of $?.
319 as_fn_nop ()
321 return $?
323 as_nop=as_fn_nop
325 # as_fn_mkdir_p
326 # -------------
327 # Create "$as_dir" as a directory, including parents if necessary.
328 as_fn_mkdir_p ()
331 case $as_dir in #(
332 -*) as_dir=./$as_dir;;
333 esac
334 test -d "$as_dir" || eval $as_mkdir_p || {
335 as_dirs=
336 while :; do
337 case $as_dir in #(
338 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
339 *) as_qdir=$as_dir;;
340 esac
341 as_dirs="'$as_qdir' $as_dirs"
342 as_dir=`$as_dirname -- "$as_dir" ||
343 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
344 X"$as_dir" : 'X\(//\)[^/]' \| \
345 X"$as_dir" : 'X\(//\)$' \| \
346 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
347 printf "%s\n" X"$as_dir" |
348 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
349 s//\1/
352 /^X\(\/\/\)[^/].*/{
353 s//\1/
356 /^X\(\/\/\)$/{
357 s//\1/
360 /^X\(\/\).*/{
361 s//\1/
364 s/.*/./; q'`
365 test -d "$as_dir" && break
366 done
367 test -z "$as_dirs" || eval "mkdir $as_dirs"
368 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
371 } # as_fn_mkdir_p
373 # as_fn_executable_p FILE
374 # -----------------------
375 # Test if FILE is an executable regular file.
376 as_fn_executable_p ()
378 test -f "$1" && test -x "$1"
379 } # as_fn_executable_p
380 # as_fn_append VAR VALUE
381 # ----------------------
382 # Append the text in VALUE to the end of the definition contained in VAR. Take
383 # advantage of any shell optimizations that allow amortized linear growth over
384 # repeated appends, instead of the typical quadratic growth present in naive
385 # implementations.
386 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
387 then :
388 eval 'as_fn_append ()
390 eval $1+=\$2
392 else $as_nop
393 as_fn_append ()
395 eval $1=\$$1\$2
397 fi # as_fn_append
399 # as_fn_arith ARG...
400 # ------------------
401 # Perform arithmetic evaluation on the ARGs, and store the result in the
402 # global $as_val. Take advantage of shells that can avoid forks. The arguments
403 # must be portable across $(()) and expr.
404 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
405 then :
406 eval 'as_fn_arith ()
408 as_val=$(( $* ))
410 else $as_nop
411 as_fn_arith ()
413 as_val=`expr "$@" || test $? -eq 1`
415 fi # as_fn_arith
417 # as_fn_nop
418 # ---------
419 # Do nothing but, unlike ":", preserve the value of $?.
420 as_fn_nop ()
422 return $?
424 as_nop=as_fn_nop
426 # as_fn_error STATUS ERROR [LINENO LOG_FD]
427 # ----------------------------------------
428 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
429 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
430 # script with STATUS, using 1 if that was 0.
431 as_fn_error ()
433 as_status=$1; test $as_status -eq 0 && as_status=1
434 if test "$4"; then
435 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
436 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
438 printf "%s\n" "$as_me: error: $2" >&2
439 as_fn_exit $as_status
440 } # as_fn_error
442 if expr a : '\(a\)' >/dev/null 2>&1 &&
443 test "X`expr 00001 : '.*\(...\)'`" = X001; then
444 as_expr=expr
445 else
446 as_expr=false
449 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
450 as_basename=basename
451 else
452 as_basename=false
455 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
456 as_dirname=dirname
457 else
458 as_dirname=false
461 as_me=`$as_basename -- "$0" ||
462 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
463 X"$0" : 'X\(//\)$' \| \
464 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
465 printf "%s\n" X/"$0" |
466 sed '/^.*\/\([^/][^/]*\)\/*$/{
467 s//\1/
470 /^X\/\(\/\/\)$/{
471 s//\1/
474 /^X\/\(\/\).*/{
475 s//\1/
478 s/.*/./; q'`
480 # Avoid depending upon Character Ranges.
481 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
482 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
483 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
484 as_cr_digits='0123456789'
485 as_cr_alnum=$as_cr_Letters$as_cr_digits
488 as_lineno_1=$LINENO as_lineno_1a=$LINENO
489 as_lineno_2=$LINENO as_lineno_2a=$LINENO
490 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
491 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
492 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
493 sed -n '
495 /[$]LINENO/=
496 ' <$as_myself |
497 sed '
498 s/[$]LINENO.*/&-/
499 t lineno
501 :lineno
503 :loop
504 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
505 t loop
506 s/-\n.*//
507 ' >$as_me.lineno &&
508 chmod +x "$as_me.lineno" ||
509 { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
511 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
512 # already done that, so ensure we don't try to do so again and fall
513 # in an infinite loop. This has already happened in practice.
514 _as_can_reexec=no; export _as_can_reexec
515 # Don't try to exec as it changes $[0], causing all sort of problems
516 # (the dirname of $[0] is not the place where we might find the
517 # original and so on. Autoconf is especially sensitive to this).
518 . "./$as_me.lineno"
519 # Exit status is that of the last command.
520 exit
524 # Determine whether it's possible to make 'echo' print without a newline.
525 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
526 # for compatibility with existing Makefiles.
527 ECHO_C= ECHO_N= ECHO_T=
528 case `echo -n x` in #(((((
529 -n*)
530 case `echo 'xy\c'` in
531 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
532 xy) ECHO_C='\c';;
533 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
534 ECHO_T=' ';;
535 esac;;
537 ECHO_N='-n';;
538 esac
540 # For backward compatibility with old third-party macros, we provide
541 # the shell variables $as_echo and $as_echo_n. New code should use
542 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
543 as_echo='printf %s\n'
544 as_echo_n='printf %s'
547 rm -f conf$$ conf$$.exe conf$$.file
548 if test -d conf$$.dir; then
549 rm -f conf$$.dir/conf$$.file
550 else
551 rm -f conf$$.dir
552 mkdir conf$$.dir 2>/dev/null
554 if (echo >conf$$.file) 2>/dev/null; then
555 if ln -s conf$$.file conf$$ 2>/dev/null; then
556 as_ln_s='ln -s'
557 # ... but there are two gotchas:
558 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
559 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
560 # In both cases, we have to default to `cp -pR'.
561 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
562 as_ln_s='cp -pR'
563 elif ln conf$$.file conf$$ 2>/dev/null; then
564 as_ln_s=ln
565 else
566 as_ln_s='cp -pR'
568 else
569 as_ln_s='cp -pR'
571 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
572 rmdir conf$$.dir 2>/dev/null
574 if mkdir -p . 2>/dev/null; then
575 as_mkdir_p='mkdir -p "$as_dir"'
576 else
577 test -d ./-p && rmdir ./-p
578 as_mkdir_p=false
581 as_test_x='test -x'
582 as_executable_p=as_fn_executable_p
584 # Sed expression to map a string onto a valid CPP name.
585 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
587 # Sed expression to map a string onto a valid variable name.
588 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
591 test -n "$DJDIR" || exec 7<&0 </dev/null
592 exec 6>&1
594 # Name of the host.
595 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
596 # so uname gets run too.
597 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
600 # Initializations.
602 ac_default_prefix=/usr/local
603 ac_clean_files=
604 ac_config_libobj_dir=.
605 LIBOBJS=
606 cross_compiling=no
607 subdirs=
608 MFLAGS=
609 MAKEFLAGS=
611 # Identity of this package.
612 PACKAGE_NAME='Wine'
613 PACKAGE_TARNAME='wine'
614 PACKAGE_VERSION='7.22'
615 PACKAGE_STRING='Wine 7.22'
616 PACKAGE_BUGREPORT='wine-devel@winehq.org'
617 PACKAGE_URL='https://www.winehq.org'
619 ac_unique_file="server/atom.c"
620 # Factoring default headers for most tests.
621 ac_includes_default="\
622 #include <stddef.h>
623 #ifdef HAVE_STDIO_H
624 # include <stdio.h>
625 #endif
626 #ifdef HAVE_STDLIB_H
627 # include <stdlib.h>
628 #endif
629 #ifdef HAVE_STRING_H
630 # include <string.h>
631 #endif
632 #ifdef HAVE_INTTYPES_H
633 # include <inttypes.h>
634 #endif
635 #ifdef HAVE_STDINT_H
636 # include <stdint.h>
637 #endif
638 #ifdef HAVE_STRINGS_H
639 # include <strings.h>
640 #endif
641 #ifdef HAVE_SYS_TYPES_H
642 # include <sys/types.h>
643 #endif
644 #ifdef HAVE_SYS_STAT_H
645 # include <sys/stat.h>
646 #endif
647 #ifdef HAVE_UNISTD_H
648 # include <unistd.h>
649 #endif"
651 ac_header_c_list=
652 ac_subst_vars='LTLIBOBJS
653 LIBOBJS
654 TAGSFLAGS
655 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 PCAP_LIBS
704 X_EXTRA_LIBS
705 X_LIBS
706 X_PRE_LIBS
707 X_CFLAGS
709 XMKMF
710 PTHREAD_LIBS
711 ZLIB_PE_LIBS
712 ZLIB_PE_CFLAGS
713 XSLT_PE_LIBS
714 XSLT_PE_CFLAGS
715 XML2_PE_LIBS
716 XML2_PE_CFLAGS
717 VKD3D_PE_LIBS
718 VKD3D_PE_CFLAGS
719 TIFF_PE_LIBS
720 TIFF_PE_CFLAGS
721 PNG_PE_LIBS
722 PNG_PE_CFLAGS
723 MPG123_PE_LIBS
724 MPG123_PE_CFLAGS
725 LDAP_PE_LIBS
726 LDAP_PE_CFLAGS
727 LCMS2_PE_LIBS
728 LCMS2_PE_CFLAGS
729 JXR_PE_LIBS
730 JXR_PE_CFLAGS
731 JPEG_PE_LIBS
732 JPEG_PE_CFLAGS
733 GSM_PE_LIBS
734 GSM_PE_CFLAGS
735 FAUDIO_PE_LIBS
736 FAUDIO_PE_CFLAGS
737 MINGW_PKG_CONFIG
738 PE_ARCHS
739 LIBWINE_DEPENDS
740 PRELINK
741 WINELOADER_DEPENDS
742 LIBWINE_LDFLAGS
743 LIBWINE_SHAREDLIB
744 ac_ct_OBJC
745 OBJCFLAGS
746 OBJC
747 OPENCL_LIBS
748 COREAUDIO_LIBS
749 SYSTEMCONFIGURATION_LIBS
750 SECURITY_LIBS
751 APPKIT_LIBS
752 CORESERVICES_LIBS
753 APPLICATIONSERVICES_LIBS
754 METAL_LIBS
755 IOKIT_LIBS
756 DISKARBITRATION_LIBS
757 COREFOUNDATION_LIBS
758 CARBON_LIBS
759 CONFIGURE_TARGETS
760 DISABLED_SUBDIRS
761 SUBDIRS
762 READELF
763 OTOOL
765 WINEPRELOADER_LDFLAGS
766 WINELOADER_LDFLAGS
767 TOP_INSTALL_DEV
768 TOP_INSTALL_LIB
769 UNIXLDFLAGS
770 UNIXDLLFLAGS
771 EXTRACFLAGS
772 LDEXECFLAGS
773 LDDLLFLAGS
774 DLLFLAGS
775 OPENGL_LIBS
776 I386_LIBS
777 ICOTOOL
778 CONVERT
779 RSVG
780 FONTFORGE
781 PKG_CONFIG
782 MSGFMT
783 LDCONFIG
784 EGREP
785 GREP
786 LN_S
787 RANLIB
788 STRIP
789 ac_ct_AR
791 BISON
792 FLEX
793 SED_CMD
794 RUNTESTFLAGS
795 MAKEDEP
796 toolsdir
797 x86_64_DISABLED_SUBDIRS
798 x86_64_DELAYLOADFLAG
799 x86_64_TARGET
800 x86_64_DEBUG
801 x86_64_LDFLAGS
802 x86_64_EXTRACFLAGS
803 x86_64_CFLAGS
804 x86_64_CC
805 i386_DISABLED_SUBDIRS
806 i386_DELAYLOADFLAG
807 i386_TARGET
808 i386_DEBUG
809 i386_LDFLAGS
810 i386_EXTRACFLAGS
811 i386_CFLAGS
812 i386_CC
813 arm_DISABLED_SUBDIRS
814 arm_DELAYLOADFLAG
815 arm_TARGET
816 arm_DEBUG
817 arm_LDFLAGS
818 arm_EXTRACFLAGS
819 arm_CFLAGS
820 arm_CC
821 aarch64_DISABLED_SUBDIRS
822 aarch64_DELAYLOADFLAG
823 aarch64_TARGET
824 aarch64_DEBUG
825 aarch64_LDFLAGS
826 aarch64_EXTRACFLAGS
827 aarch64_CFLAGS
828 aarch64_CC
829 HOST_ARCH
830 toolsext
831 TARGETFLAGS
833 CPPBIN
834 ac_ct_CXX
835 CXXFLAGS
837 OBJEXT
838 EXEEXT
839 ac_ct_CC
840 CPPFLAGS
841 LDFLAGS
842 CFLAGS
844 SET_MAKE
845 srcdir
846 nlsdir
847 fontdir
848 dlldir
849 host_os
850 host_vendor
851 host_cpu
852 host
853 build_os
854 build_vendor
855 build_cpu
856 build
857 system_dllpath
858 target_alias
859 host_alias
860 build_alias
861 LIBS
862 ECHO_T
863 ECHO_N
864 ECHO_C
865 DEFS
866 mandir
867 localedir
868 libdir
869 psdir
870 pdfdir
871 dvidir
872 htmldir
873 infodir
874 docdir
875 oldincludedir
876 includedir
877 runstatedir
878 localstatedir
879 sharedstatedir
880 sysconfdir
881 datadir
882 datarootdir
883 libexecdir
884 sbindir
885 bindir
886 program_transform_name
887 prefix
888 exec_prefix
889 PACKAGE_URL
890 PACKAGE_BUGREPORT
891 PACKAGE_STRING
892 PACKAGE_VERSION
893 PACKAGE_TARNAME
894 PACKAGE_NAME
895 PATH_SEPARATOR
896 SHELL'
897 ac_subst_files=''
898 ac_user_opts='
899 enable_option_checking
900 enable_archs
901 enable_win16
902 enable_win64
903 enable_tests
904 enable_build_id
905 enable_maintainer_mode
906 enable_silent_rules
907 enable_werror
908 with_alsa
909 with_capi
910 with_coreaudio
911 with_cups
912 with_dbus
913 with_float_abi
914 with_fontconfig
915 with_freetype
916 with_gettext
917 with_gettextpo
918 with_gphoto
919 with_gnutls
920 with_gssapi
921 with_gstreamer
922 with_inotify
923 with_krb5
924 with_mingw
925 with_netapi
926 with_opencl
927 with_opengl
928 with_osmesa
929 with_oss
930 with_pcap
931 with_pthread
932 with_pulse
933 with_sane
934 with_sdl
935 with_udev
936 with_unwind
937 with_usb
938 with_v4l2
939 with_vulkan
940 with_xcomposite
941 with_xcursor
942 with_xfixes
943 with_xinerama
944 with_xinput
945 with_xinput2
946 with_xrandr
947 with_xrender
948 with_xshape
949 with_xshm
950 with_xxf86vm
951 with_system_dllpath
952 with_wine_tools
953 with_wine64
954 enable_largefile
955 with_x
956 enable_acledit
957 enable_aclui
958 enable_activeds_tlb
959 enable_activeds
960 enable_actxprxy
961 enable_adsldp
962 enable_adsldpc
963 enable_advapi32
964 enable_advpack
965 enable_amsi
966 enable_amstream
967 enable_apisetschema
968 enable_apphelp
969 enable_appwiz_cpl
970 enable_atl
971 enable_atl100
972 enable_atl110
973 enable_atl80
974 enable_atl90
975 enable_atlthunk
976 enable_atmlib
977 enable_authz
978 enable_avicap32
979 enable_avifil32
980 enable_avrt
981 enable_bcrypt
982 enable_bluetoothapis
983 enable_browseui
984 enable_bthprops_cpl
985 enable_cabinet
986 enable_capi2032
987 enable_cards
988 enable_cdosys
989 enable_cfgmgr32
990 enable_clusapi
991 enable_cng_sys
992 enable_combase
993 enable_comcat
994 enable_comctl32
995 enable_comdlg32
996 enable_compstui
997 enable_comsvcs
998 enable_concrt140
999 enable_connect
1000 enable_credui
1001 enable_crtdll
1002 enable_crypt32
1003 enable_cryptdlg
1004 enable_cryptdll
1005 enable_cryptext
1006 enable_cryptnet
1007 enable_cryptowinrt
1008 enable_cryptsp
1009 enable_cryptui
1010 enable_ctapi32
1011 enable_ctl3d32
1012 enable_d2d1
1013 enable_d3d10
1014 enable_d3d10_1
1015 enable_d3d10core
1016 enable_d3d11
1017 enable_d3d12
1018 enable_d3d8
1019 enable_d3d8thk
1020 enable_d3d9
1021 enable_d3dcompiler_33
1022 enable_d3dcompiler_34
1023 enable_d3dcompiler_35
1024 enable_d3dcompiler_36
1025 enable_d3dcompiler_37
1026 enable_d3dcompiler_38
1027 enable_d3dcompiler_39
1028 enable_d3dcompiler_40
1029 enable_d3dcompiler_41
1030 enable_d3dcompiler_42
1031 enable_d3dcompiler_43
1032 enable_d3dcompiler_46
1033 enable_d3dcompiler_47
1034 enable_d3dim
1035 enable_d3dim700
1036 enable_d3drm
1037 enable_d3dx10_33
1038 enable_d3dx10_34
1039 enable_d3dx10_35
1040 enable_d3dx10_36
1041 enable_d3dx10_37
1042 enable_d3dx10_38
1043 enable_d3dx10_39
1044 enable_d3dx10_40
1045 enable_d3dx10_41
1046 enable_d3dx10_42
1047 enable_d3dx10_43
1048 enable_d3dx11_42
1049 enable_d3dx11_43
1050 enable_d3dx9_24
1051 enable_d3dx9_25
1052 enable_d3dx9_26
1053 enable_d3dx9_27
1054 enable_d3dx9_28
1055 enable_d3dx9_29
1056 enable_d3dx9_30
1057 enable_d3dx9_31
1058 enable_d3dx9_32
1059 enable_d3dx9_33
1060 enable_d3dx9_34
1061 enable_d3dx9_35
1062 enable_d3dx9_36
1063 enable_d3dx9_37
1064 enable_d3dx9_38
1065 enable_d3dx9_39
1066 enable_d3dx9_40
1067 enable_d3dx9_41
1068 enable_d3dx9_42
1069 enable_d3dx9_43
1070 enable_d3dxof
1071 enable_davclnt
1072 enable_dbgeng
1073 enable_dbghelp
1074 enable_dciman32
1075 enable_dcomp
1076 enable_ddraw
1077 enable_ddrawex
1078 enable_devenum
1079 enable_dhcpcsvc
1080 enable_dhcpcsvc6
1081 enable_dhtmled_ocx
1082 enable_diasymreader
1083 enable_difxapi
1084 enable_dinput
1085 enable_dinput8
1086 enable_directmanipulation
1087 enable_dispex
1088 enable_dmband
1089 enable_dmcompos
1090 enable_dmime
1091 enable_dmloader
1092 enable_dmscript
1093 enable_dmstyle
1094 enable_dmsynth
1095 enable_dmusic
1096 enable_dmusic32
1097 enable_dnsapi
1098 enable_dplay
1099 enable_dplayx
1100 enable_dpnaddr
1101 enable_dpnet
1102 enable_dpnhpast
1103 enable_dpnhupnp
1104 enable_dpnlobby
1105 enable_dpvoice
1106 enable_dpwsockx
1107 enable_drmclien
1108 enable_dsdmo
1109 enable_dsound
1110 enable_dsquery
1111 enable_dssenh
1112 enable_dsuiext
1113 enable_dswave
1114 enable_dwmapi
1115 enable_dwrite
1116 enable_dx8vb
1117 enable_dxdiagn
1118 enable_dxgi
1119 enable_dxtrans
1120 enable_dxva2
1121 enable_esent
1122 enable_evr
1123 enable_explorerframe
1124 enable_faultrep
1125 enable_feclient
1126 enable_fltlib
1127 enable_fltmgr_sys
1128 enable_fntcache
1129 enable_fontsub
1130 enable_fusion
1131 enable_fwpuclnt
1132 enable_gameux
1133 enable_gamingtcui
1134 enable_gdi32
1135 enable_gdiplus
1136 enable_glu32
1137 enable_gphoto2_ds
1138 enable_gpkcsp
1139 enable_hal
1140 enable_hhctrl_ocx
1141 enable_hid
1142 enable_hidclass_sys
1143 enable_hidparse_sys
1144 enable_hlink
1145 enable_hnetcfg
1146 enable_http_sys
1147 enable_httpapi
1148 enable_ia2comproxy
1149 enable_iccvid
1150 enable_icmp
1151 enable_ieframe
1152 enable_ieproxy
1153 enable_imaadp32_acm
1154 enable_imagehlp
1155 enable_imm32
1156 enable_inetcomm
1157 enable_inetcpl_cpl
1158 enable_inetmib1
1159 enable_infosoft
1160 enable_initpki
1161 enable_inkobj
1162 enable_inseng
1163 enable_iphlpapi
1164 enable_iprop
1165 enable_irprops_cpl
1166 enable_itircl
1167 enable_itss
1168 enable_joy_cpl
1169 enable_jscript
1170 enable_jsproxy
1171 enable_kerberos
1172 enable_kernel32
1173 enable_kernelbase
1174 enable_ksecdd_sys
1175 enable_ksproxy_ax
1176 enable_ksuser
1177 enable_ktmw32
1178 enable_l3codeca_acm
1179 enable_light_msstyles
1180 enable_loadperf
1181 enable_localspl
1182 enable_localui
1183 enable_lz32
1184 enable_mapi32
1185 enable_mapistub
1186 enable_mciavi32
1187 enable_mcicda
1188 enable_mciqtz32
1189 enable_mciseq
1190 enable_mciwave
1191 enable_mf
1192 enable_mf3216
1193 enable_mferror
1194 enable_mfmediaengine
1195 enable_mfplat
1196 enable_mfplay
1197 enable_mfreadwrite
1198 enable_mfsrcsnk
1199 enable_mgmtapi
1200 enable_midimap
1201 enable_mlang
1202 enable_mmcndmgr
1203 enable_mmdevapi
1204 enable_mountmgr_sys
1205 enable_mp3dmod
1206 enable_mpr
1207 enable_mprapi
1208 enable_msacm32_drv
1209 enable_msacm32
1210 enable_msado15
1211 enable_msadp32_acm
1212 enable_msasn1
1213 enable_mscat32
1214 enable_mscms
1215 enable_mscoree
1216 enable_mscorwks
1217 enable_msctf
1218 enable_msctfmonitor
1219 enable_msctfp
1220 enable_msdaps
1221 enable_msdasql
1222 enable_msdelta
1223 enable_msdmo
1224 enable_msdrm
1225 enable_msftedit
1226 enable_msg711_acm
1227 enable_msgsm32_acm
1228 enable_mshtml_tlb
1229 enable_mshtml
1230 enable_msi
1231 enable_msident
1232 enable_msimg32
1233 enable_msimsg
1234 enable_msimtf
1235 enable_msisip
1236 enable_msisys_ocx
1237 enable_msls31
1238 enable_msnet32
1239 enable_mspatcha
1240 enable_msports
1241 enable_msrle32
1242 enable_msscript_ocx
1243 enable_mssign32
1244 enable_mssip32
1245 enable_mstask
1246 enable_msv1_0
1247 enable_msvcirt
1248 enable_msvcm80
1249 enable_msvcm90
1250 enable_msvcp100
1251 enable_msvcp110
1252 enable_msvcp120
1253 enable_msvcp120_app
1254 enable_msvcp140
1255 enable_msvcp140_1
1256 enable_msvcp140_2
1257 enable_msvcp140_atomic_wait
1258 enable_msvcp60
1259 enable_msvcp70
1260 enable_msvcp71
1261 enable_msvcp80
1262 enable_msvcp90
1263 enable_msvcp_win
1264 enable_msvcr100
1265 enable_msvcr110
1266 enable_msvcr120
1267 enable_msvcr120_app
1268 enable_msvcr70
1269 enable_msvcr71
1270 enable_msvcr80
1271 enable_msvcr90
1272 enable_msvcrt
1273 enable_msvcrt20
1274 enable_msvcrt40
1275 enable_msvcrtd
1276 enable_msvfw32
1277 enable_msvidc32
1278 enable_mswsock
1279 enable_msxml
1280 enable_msxml2
1281 enable_msxml3
1282 enable_msxml4
1283 enable_msxml6
1284 enable_mtxdm
1285 enable_ncrypt
1286 enable_nddeapi
1287 enable_ndis_sys
1288 enable_netapi32
1289 enable_netcfgx
1290 enable_netio_sys
1291 enable_netprofm
1292 enable_netutils
1293 enable_newdev
1294 enable_ninput
1295 enable_normaliz
1296 enable_npmshtml
1297 enable_npptools
1298 enable_nsi
1299 enable_nsiproxy_sys
1300 enable_ntdll
1301 enable_ntdsapi
1302 enable_ntoskrnl_exe
1303 enable_ntprint
1304 enable_objsel
1305 enable_odbc32
1306 enable_odbcbcp
1307 enable_odbccp32
1308 enable_odbccu32
1309 enable_ole32
1310 enable_oleacc
1311 enable_oleaut32
1312 enable_olecli32
1313 enable_oledb32
1314 enable_oledlg
1315 enable_olepro32
1316 enable_olesvr32
1317 enable_olethk32
1318 enable_opcservices
1319 enable_opencl
1320 enable_opengl32
1321 enable_packager
1322 enable_pdh
1323 enable_photometadatahandler
1324 enable_pidgen
1325 enable_powrprof
1326 enable_printui
1327 enable_prntvpt
1328 enable_propsys
1329 enable_psapi
1330 enable_pstorec
1331 enable_pwrshplugin
1332 enable_qasf
1333 enable_qcap
1334 enable_qdvd
1335 enable_qedit
1336 enable_qmgr
1337 enable_qmgrprxy
1338 enable_quartz
1339 enable_query
1340 enable_qwave
1341 enable_rasapi32
1342 enable_rasdlg
1343 enable_regapi
1344 enable_resutils
1345 enable_riched20
1346 enable_riched32
1347 enable_rpcrt4
1348 enable_rsabase
1349 enable_rsaenh
1350 enable_rstrtmgr
1351 enable_rtutils
1352 enable_rtworkq
1353 enable_samlib
1354 enable_sane_ds
1355 enable_sapi
1356 enable_sas
1357 enable_scarddlg
1358 enable_sccbase
1359 enable_schannel
1360 enable_schedsvc
1361 enable_scrobj
1362 enable_scrrun
1363 enable_scsiport_sys
1364 enable_sechost
1365 enable_secur32
1366 enable_security
1367 enable_sensapi
1368 enable_serialui
1369 enable_setupapi
1370 enable_sfc
1371 enable_sfc_os
1372 enable_shcore
1373 enable_shdoclc
1374 enable_shdocvw
1375 enable_shell32
1376 enable_shfolder
1377 enable_shlwapi
1378 enable_slbcsp
1379 enable_slc
1380 enable_snmpapi
1381 enable_softpub
1382 enable_spoolss
1383 enable_sppc
1384 enable_srclient
1385 enable_srvcli
1386 enable_sspicli
1387 enable_stdole2_tlb
1388 enable_stdole32_tlb
1389 enable_sti
1390 enable_strmdll
1391 enable_svrapi
1392 enable_sxs
1393 enable_t2embed
1394 enable_tapi32
1395 enable_taskschd
1396 enable_tbs
1397 enable_tdh
1398 enable_tdi_sys
1399 enable_threadpoolwinrt
1400 enable_traffic
1401 enable_twain_32
1402 enable_tzres
1403 enable_ucrtbase
1404 enable_uianimation
1405 enable_uiautomationcore
1406 enable_uiribbon
1407 enable_unicows
1408 enable_updspapi
1409 enable_url
1410 enable_urlmon
1411 enable_usbd_sys
1412 enable_user32
1413 enable_userenv
1414 enable_usp10
1415 enable_utildll
1416 enable_uxtheme
1417 enable_vbscript
1418 enable_vcomp
1419 enable_vcomp100
1420 enable_vcomp110
1421 enable_vcomp120
1422 enable_vcomp140
1423 enable_vcomp90
1424 enable_vcruntime140
1425 enable_vcruntime140_1
1426 enable_vdmdbg
1427 enable_version
1428 enable_vga
1429 enable_virtdisk
1430 enable_vssapi
1431 enable_vulkan_1
1432 enable_wbemdisp
1433 enable_wbemprox
1434 enable_wdscore
1435 enable_webservices
1436 enable_websocket
1437 enable_wer
1438 enable_wevtapi
1439 enable_wevtsvc
1440 enable_wiaservc
1441 enable_wimgapi
1442 enable_win32u
1443 enable_windows_devices_enumeration
1444 enable_windows_gaming_input
1445 enable_windows_gaming_ui_gamebar
1446 enable_windows_globalization
1447 enable_windows_media_devices
1448 enable_windows_media_speech
1449 enable_windows_media
1450 enable_windows_networking
1451 enable_windowscodecs
1452 enable_windowscodecsext
1453 enable_winealsa_drv
1454 enable_wineandroid_drv
1455 enable_winebus_sys
1456 enable_winecoreaudio_drv
1457 enable_winecrt0
1458 enable_wined3d
1459 enable_winegstreamer
1460 enable_winehid_sys
1461 enable_winemac_drv
1462 enable_winemapi
1463 enable_wineoss_drv
1464 enable_wineps_drv
1465 enable_winepulse_drv
1466 enable_wineusb_sys
1467 enable_winevulkan
1468 enable_winex11_drv
1469 enable_winexinput_sys
1470 enable_wing32
1471 enable_winhttp
1472 enable_wininet
1473 enable_winmm
1474 enable_winnls32
1475 enable_winprint
1476 enable_winscard
1477 enable_winspool_drv
1478 enable_winsta
1479 enable_wintab32
1480 enable_wintrust
1481 enable_wintypes
1482 enable_winusb
1483 enable_wlanapi
1484 enable_wlanui
1485 enable_wldap32
1486 enable_wmasf
1487 enable_wmi
1488 enable_wmiutils
1489 enable_wmp
1490 enable_wmphoto
1491 enable_wmvcore
1492 enable_wnaspi32
1493 enable_wow64
1494 enable_wow64cpu
1495 enable_wow64win
1496 enable_wpc
1497 enable_wpcap
1498 enable_ws2_32
1499 enable_wsdapi
1500 enable_wshom_ocx
1501 enable_wsnmp32
1502 enable_wsock32
1503 enable_wtsapi32
1504 enable_wuapi
1505 enable_wuaueng
1506 enable_x3daudio1_0
1507 enable_x3daudio1_1
1508 enable_x3daudio1_2
1509 enable_x3daudio1_3
1510 enable_x3daudio1_4
1511 enable_x3daudio1_5
1512 enable_x3daudio1_6
1513 enable_x3daudio1_7
1514 enable_xactengine2_0
1515 enable_xactengine2_4
1516 enable_xactengine2_7
1517 enable_xactengine2_9
1518 enable_xactengine3_0
1519 enable_xactengine3_1
1520 enable_xactengine3_2
1521 enable_xactengine3_3
1522 enable_xactengine3_4
1523 enable_xactengine3_5
1524 enable_xactengine3_6
1525 enable_xactengine3_7
1526 enable_xapofx1_1
1527 enable_xapofx1_2
1528 enable_xapofx1_3
1529 enable_xapofx1_4
1530 enable_xapofx1_5
1531 enable_xaudio2_0
1532 enable_xaudio2_1
1533 enable_xaudio2_2
1534 enable_xaudio2_3
1535 enable_xaudio2_4
1536 enable_xaudio2_5
1537 enable_xaudio2_6
1538 enable_xaudio2_7
1539 enable_xaudio2_8
1540 enable_xaudio2_9
1541 enable_xinput1_1
1542 enable_xinput1_2
1543 enable_xinput1_3
1544 enable_xinput1_4
1545 enable_xinput9_1_0
1546 enable_xinputuap
1547 enable_xmllite
1548 enable_xolehlp
1549 enable_xpsprint
1550 enable_xpssvcs
1551 enable_fonts
1552 enable_include
1553 enable_adsiid
1554 enable_dmoguids
1555 enable_dxerr8
1556 enable_dxerr9
1557 enable_dxguid
1558 enable_faudio
1559 enable_gsm
1560 enable_jpeg
1561 enable_jxr
1562 enable_lcms2
1563 enable_ldap
1564 enable_mfuuid
1565 enable_mpg123
1566 enable_png
1567 enable_strmbase
1568 enable_strmiids
1569 enable_tiff
1570 enable_uuid
1571 enable_vkd3d
1572 enable_wbemuuid
1573 enable_wine
1574 enable_wmcodecdspuuid
1575 enable_xml2
1576 enable_xslt
1577 enable_zlib
1578 enable_loader
1579 enable_nls
1580 enable_po
1581 enable_arp
1582 enable_aspnet_regiis
1583 enable_attrib
1584 enable_cabarc
1585 enable_cacls
1586 enable_certutil
1587 enable_chcp_com
1588 enable_clock
1589 enable_cmd
1590 enable_conhost
1591 enable_control
1592 enable_cscript
1593 enable_dism
1594 enable_dllhost
1595 enable_dplaysvr
1596 enable_dpnsvr
1597 enable_dpvsetup
1598 enable_dxdiag
1599 enable_eject
1600 enable_expand
1601 enable_explorer
1602 enable_extrac32
1603 enable_fc
1604 enable_find
1605 enable_findstr
1606 enable_fsutil
1607 enable_hh
1608 enable_hostname
1609 enable_icacls
1610 enable_icinfo
1611 enable_iexplore
1612 enable_ipconfig
1613 enable_lodctr
1614 enable_mofcomp
1615 enable_mshta
1616 enable_msidb
1617 enable_msiexec
1618 enable_msinfo32
1619 enable_net
1620 enable_netsh
1621 enable_netstat
1622 enable_ngen
1623 enable_notepad
1624 enable_oleview
1625 enable_ping
1626 enable_plugplay
1627 enable_powershell
1628 enable_presentationfontcache
1629 enable_progman
1630 enable_reg
1631 enable_regasm
1632 enable_regedit
1633 enable_regini
1634 enable_regsvcs
1635 enable_regsvr32
1636 enable_robocopy
1637 enable_rpcss
1638 enable_rundll32
1639 enable_sc
1640 enable_schtasks
1641 enable_sdbinst
1642 enable_secedit
1643 enable_servicemodelreg
1644 enable_services
1645 enable_setx
1646 enable_shutdown
1647 enable_spoolsv
1648 enable_start
1649 enable_subst
1650 enable_svchost
1651 enable_systeminfo
1652 enable_taskkill
1653 enable_tasklist
1654 enable_taskmgr
1655 enable_termsv
1656 enable_uninstaller
1657 enable_unlodctr
1658 enable_view
1659 enable_wevtutil
1660 enable_where
1661 enable_whoami
1662 enable_wineboot
1663 enable_winebrowser
1664 enable_winecfg
1665 enable_wineconsole
1666 enable_winedbg
1667 enable_winedevice
1668 enable_winefile
1669 enable_winemenubuilder
1670 enable_winemine
1671 enable_winemsibuilder
1672 enable_winepath
1673 enable_winetest
1674 enable_winhlp32
1675 enable_winmgmt
1676 enable_winver
1677 enable_wmic
1678 enable_wmplayer
1679 enable_wordpad
1680 enable_write
1681 enable_wscript
1682 enable_wuauserv
1683 enable_wusa
1684 enable_xcopy
1685 enable_server
1686 enable_tools
1687 enable_sfnt2fon
1688 enable_widl
1689 enable_winebuild
1690 enable_winedump
1691 enable_winegcc
1692 enable_winemaker
1693 enable_wmc
1694 enable_wrc
1696 ac_precious_vars='build_alias
1697 host_alias
1698 target_alias
1700 CFLAGS
1701 LDFLAGS
1702 LIBS
1703 CPPFLAGS
1705 CXXFLAGS
1707 OBJC
1708 OBJCFLAGS
1709 FAUDIO_PE_CFLAGS
1710 FAUDIO_PE_LIBS
1711 GSM_PE_CFLAGS
1712 GSM_PE_LIBS
1713 JPEG_PE_CFLAGS
1714 JPEG_PE_LIBS
1715 JXR_PE_CFLAGS
1716 JXR_PE_LIBS
1717 LCMS2_PE_CFLAGS
1718 LCMS2_PE_LIBS
1719 LDAP_PE_CFLAGS
1720 LDAP_PE_LIBS
1721 MPG123_PE_CFLAGS
1722 MPG123_PE_LIBS
1723 PNG_PE_CFLAGS
1724 PNG_PE_LIBS
1725 TIFF_PE_CFLAGS
1726 TIFF_PE_LIBS
1727 VKD3D_PE_CFLAGS
1728 VKD3D_PE_LIBS
1729 XML2_PE_CFLAGS
1730 XML2_PE_LIBS
1731 XSLT_PE_CFLAGS
1732 XSLT_PE_LIBS
1733 ZLIB_PE_CFLAGS
1734 ZLIB_PE_LIBS
1735 XMKMF
1737 INOTIFY_CFLAGS
1738 INOTIFY_LIBS
1739 DBUS_CFLAGS
1740 DBUS_LIBS
1741 GNUTLS_CFLAGS
1742 GNUTLS_LIBS
1743 SANE_CFLAGS
1744 SANE_LIBS
1745 USB_CFLAGS
1746 USB_LIBS
1747 GPHOTO2_CFLAGS
1748 GPHOTO2_LIBS
1749 GPHOTO2_PORT_CFLAGS
1750 GPHOTO2_PORT_LIBS
1751 FREETYPE_CFLAGS
1752 FREETYPE_LIBS
1753 PULSE_CFLAGS
1754 PULSE_LIBS
1755 GSTREAMER_CFLAGS
1756 GSTREAMER_LIBS
1757 UDEV_CFLAGS
1758 UDEV_LIBS
1759 UNWIND_CFLAGS
1760 UNWIND_LIBS
1761 SDL2_CFLAGS
1762 SDL2_LIBS
1763 CAPI20_CFLAGS
1764 CAPI20_LIBS
1765 CUPS_CFLAGS
1766 CUPS_LIBS
1767 FONTCONFIG_CFLAGS
1768 FONTCONFIG_LIBS
1769 KRB5_CFLAGS
1770 KRB5_LIBS
1771 GSSAPI_CFLAGS
1772 GSSAPI_LIBS
1773 NETAPI_CFLAGS
1774 NETAPI_LIBS'
1777 # Initialize some variables set by options.
1778 ac_init_help=
1779 ac_init_version=false
1780 ac_unrecognized_opts=
1781 ac_unrecognized_sep=
1782 # The variables have the same names as the options, with
1783 # dashes changed to underlines.
1784 cache_file=/dev/null
1785 exec_prefix=NONE
1786 no_create=
1787 no_recursion=
1788 prefix=NONE
1789 program_prefix=NONE
1790 program_suffix=NONE
1791 program_transform_name=s,x,x,
1792 silent=
1793 site=
1794 srcdir=
1795 verbose=
1796 x_includes=NONE
1797 x_libraries=NONE
1799 # Installation directory options.
1800 # These are left unexpanded so users can "make install exec_prefix=/foo"
1801 # and all the variables that are supposed to be based on exec_prefix
1802 # by default will actually change.
1803 # Use braces instead of parens because sh, perl, etc. also accept them.
1804 # (The list follows the same order as the GNU Coding Standards.)
1805 bindir='${exec_prefix}/bin'
1806 sbindir='${exec_prefix}/sbin'
1807 libexecdir='${exec_prefix}/libexec'
1808 datarootdir='${prefix}/share'
1809 datadir='${datarootdir}'
1810 sysconfdir='${prefix}/etc'
1811 sharedstatedir='${prefix}/com'
1812 localstatedir='${prefix}/var'
1813 runstatedir='${localstatedir}/run'
1814 includedir='${prefix}/include'
1815 oldincludedir='/usr/include'
1816 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1817 infodir='${datarootdir}/info'
1818 htmldir='${docdir}'
1819 dvidir='${docdir}'
1820 pdfdir='${docdir}'
1821 psdir='${docdir}'
1822 libdir='${exec_prefix}/lib'
1823 localedir='${datarootdir}/locale'
1824 mandir='${datarootdir}/man'
1826 ac_prev=
1827 ac_dashdash=
1828 for ac_option
1830 # If the previous option needs an argument, assign it.
1831 if test -n "$ac_prev"; then
1832 eval $ac_prev=\$ac_option
1833 ac_prev=
1834 continue
1837 case $ac_option in
1838 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1839 *=) ac_optarg= ;;
1840 *) ac_optarg=yes ;;
1841 esac
1843 case $ac_dashdash$ac_option in
1845 ac_dashdash=yes ;;
1847 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1848 ac_prev=bindir ;;
1849 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1850 bindir=$ac_optarg ;;
1852 -build | --build | --buil | --bui | --bu)
1853 ac_prev=build_alias ;;
1854 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1855 build_alias=$ac_optarg ;;
1857 -cache-file | --cache-file | --cache-fil | --cache-fi \
1858 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1859 ac_prev=cache_file ;;
1860 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1861 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1862 cache_file=$ac_optarg ;;
1864 --config-cache | -C)
1865 cache_file=config.cache ;;
1867 -datadir | --datadir | --datadi | --datad)
1868 ac_prev=datadir ;;
1869 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1870 datadir=$ac_optarg ;;
1872 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1873 | --dataroo | --dataro | --datar)
1874 ac_prev=datarootdir ;;
1875 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1876 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1877 datarootdir=$ac_optarg ;;
1879 -disable-* | --disable-*)
1880 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1881 # Reject names that are not valid shell variable names.
1882 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1883 as_fn_error $? "invalid feature name: \`$ac_useropt'"
1884 ac_useropt_orig=$ac_useropt
1885 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1886 case $ac_user_opts in
1888 "enable_$ac_useropt"
1889 "*) ;;
1890 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1891 ac_unrecognized_sep=', ';;
1892 esac
1893 eval enable_$ac_useropt=no ;;
1895 -docdir | --docdir | --docdi | --doc | --do)
1896 ac_prev=docdir ;;
1897 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1898 docdir=$ac_optarg ;;
1900 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1901 ac_prev=dvidir ;;
1902 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1903 dvidir=$ac_optarg ;;
1905 -enable-* | --enable-*)
1906 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1907 # Reject names that are not valid shell variable names.
1908 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1909 as_fn_error $? "invalid feature name: \`$ac_useropt'"
1910 ac_useropt_orig=$ac_useropt
1911 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1912 case $ac_user_opts in
1914 "enable_$ac_useropt"
1915 "*) ;;
1916 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1917 ac_unrecognized_sep=', ';;
1918 esac
1919 eval enable_$ac_useropt=\$ac_optarg ;;
1921 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1922 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1923 | --exec | --exe | --ex)
1924 ac_prev=exec_prefix ;;
1925 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1926 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1927 | --exec=* | --exe=* | --ex=*)
1928 exec_prefix=$ac_optarg ;;
1930 -gas | --gas | --ga | --g)
1931 # Obsolete; use --with-gas.
1932 with_gas=yes ;;
1934 -help | --help | --hel | --he | -h)
1935 ac_init_help=long ;;
1936 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1937 ac_init_help=recursive ;;
1938 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1939 ac_init_help=short ;;
1941 -host | --host | --hos | --ho)
1942 ac_prev=host_alias ;;
1943 -host=* | --host=* | --hos=* | --ho=*)
1944 host_alias=$ac_optarg ;;
1946 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1947 ac_prev=htmldir ;;
1948 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1949 | --ht=*)
1950 htmldir=$ac_optarg ;;
1952 -includedir | --includedir | --includedi | --included | --include \
1953 | --includ | --inclu | --incl | --inc)
1954 ac_prev=includedir ;;
1955 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1956 | --includ=* | --inclu=* | --incl=* | --inc=*)
1957 includedir=$ac_optarg ;;
1959 -infodir | --infodir | --infodi | --infod | --info | --inf)
1960 ac_prev=infodir ;;
1961 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1962 infodir=$ac_optarg ;;
1964 -libdir | --libdir | --libdi | --libd)
1965 ac_prev=libdir ;;
1966 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1967 libdir=$ac_optarg ;;
1969 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1970 | --libexe | --libex | --libe)
1971 ac_prev=libexecdir ;;
1972 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1973 | --libexe=* | --libex=* | --libe=*)
1974 libexecdir=$ac_optarg ;;
1976 -localedir | --localedir | --localedi | --localed | --locale)
1977 ac_prev=localedir ;;
1978 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1979 localedir=$ac_optarg ;;
1981 -localstatedir | --localstatedir | --localstatedi | --localstated \
1982 | --localstate | --localstat | --localsta | --localst | --locals)
1983 ac_prev=localstatedir ;;
1984 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1985 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1986 localstatedir=$ac_optarg ;;
1988 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1989 ac_prev=mandir ;;
1990 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1991 mandir=$ac_optarg ;;
1993 -nfp | --nfp | --nf)
1994 # Obsolete; use --without-fp.
1995 with_fp=no ;;
1997 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1998 | --no-cr | --no-c | -n)
1999 no_create=yes ;;
2001 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2002 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2003 no_recursion=yes ;;
2005 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2006 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2007 | --oldin | --oldi | --old | --ol | --o)
2008 ac_prev=oldincludedir ;;
2009 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2010 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2011 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2012 oldincludedir=$ac_optarg ;;
2014 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2015 ac_prev=prefix ;;
2016 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2017 prefix=$ac_optarg ;;
2019 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2020 | --program-pre | --program-pr | --program-p)
2021 ac_prev=program_prefix ;;
2022 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2023 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2024 program_prefix=$ac_optarg ;;
2026 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2027 | --program-suf | --program-su | --program-s)
2028 ac_prev=program_suffix ;;
2029 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2030 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2031 program_suffix=$ac_optarg ;;
2033 -program-transform-name | --program-transform-name \
2034 | --program-transform-nam | --program-transform-na \
2035 | --program-transform-n | --program-transform- \
2036 | --program-transform | --program-transfor \
2037 | --program-transfo | --program-transf \
2038 | --program-trans | --program-tran \
2039 | --progr-tra | --program-tr | --program-t)
2040 ac_prev=program_transform_name ;;
2041 -program-transform-name=* | --program-transform-name=* \
2042 | --program-transform-nam=* | --program-transform-na=* \
2043 | --program-transform-n=* | --program-transform-=* \
2044 | --program-transform=* | --program-transfor=* \
2045 | --program-transfo=* | --program-transf=* \
2046 | --program-trans=* | --program-tran=* \
2047 | --progr-tra=* | --program-tr=* | --program-t=*)
2048 program_transform_name=$ac_optarg ;;
2050 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2051 ac_prev=pdfdir ;;
2052 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2053 pdfdir=$ac_optarg ;;
2055 -psdir | --psdir | --psdi | --psd | --ps)
2056 ac_prev=psdir ;;
2057 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2058 psdir=$ac_optarg ;;
2060 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2061 | -silent | --silent | --silen | --sile | --sil)
2062 silent=yes ;;
2064 -runstatedir | --runstatedir | --runstatedi | --runstated \
2065 | --runstate | --runstat | --runsta | --runst | --runs \
2066 | --run | --ru | --r)
2067 ac_prev=runstatedir ;;
2068 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2069 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2070 | --run=* | --ru=* | --r=*)
2071 runstatedir=$ac_optarg ;;
2073 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2074 ac_prev=sbindir ;;
2075 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2076 | --sbi=* | --sb=*)
2077 sbindir=$ac_optarg ;;
2079 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2080 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2081 | --sharedst | --shareds | --shared | --share | --shar \
2082 | --sha | --sh)
2083 ac_prev=sharedstatedir ;;
2084 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2085 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2086 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2087 | --sha=* | --sh=*)
2088 sharedstatedir=$ac_optarg ;;
2090 -site | --site | --sit)
2091 ac_prev=site ;;
2092 -site=* | --site=* | --sit=*)
2093 site=$ac_optarg ;;
2095 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2096 ac_prev=srcdir ;;
2097 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2098 srcdir=$ac_optarg ;;
2100 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2101 | --syscon | --sysco | --sysc | --sys | --sy)
2102 ac_prev=sysconfdir ;;
2103 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2104 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2105 sysconfdir=$ac_optarg ;;
2107 -target | --target | --targe | --targ | --tar | --ta | --t)
2108 ac_prev=target_alias ;;
2109 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2110 target_alias=$ac_optarg ;;
2112 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2113 verbose=yes ;;
2115 -version | --version | --versio | --versi | --vers | -V)
2116 ac_init_version=: ;;
2118 -with-* | --with-*)
2119 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2120 # Reject names that are not valid shell variable names.
2121 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2122 as_fn_error $? "invalid package name: \`$ac_useropt'"
2123 ac_useropt_orig=$ac_useropt
2124 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2125 case $ac_user_opts in
2127 "with_$ac_useropt"
2128 "*) ;;
2129 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2130 ac_unrecognized_sep=', ';;
2131 esac
2132 eval with_$ac_useropt=\$ac_optarg ;;
2134 -without-* | --without-*)
2135 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2136 # Reject names that are not valid shell variable names.
2137 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2138 as_fn_error $? "invalid package name: \`$ac_useropt'"
2139 ac_useropt_orig=$ac_useropt
2140 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2141 case $ac_user_opts in
2143 "with_$ac_useropt"
2144 "*) ;;
2145 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2146 ac_unrecognized_sep=', ';;
2147 esac
2148 eval with_$ac_useropt=no ;;
2150 --x)
2151 # Obsolete; use --with-x.
2152 with_x=yes ;;
2154 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2155 | --x-incl | --x-inc | --x-in | --x-i)
2156 ac_prev=x_includes ;;
2157 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2158 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2159 x_includes=$ac_optarg ;;
2161 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2162 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2163 ac_prev=x_libraries ;;
2164 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2165 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2166 x_libraries=$ac_optarg ;;
2168 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2169 Try \`$0 --help' for more information"
2172 *=*)
2173 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2174 # Reject names that are not valid shell variable names.
2175 case $ac_envvar in #(
2176 '' | [0-9]* | *[!_$as_cr_alnum]* )
2177 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2178 esac
2179 eval $ac_envvar=\$ac_optarg
2180 export $ac_envvar ;;
2183 # FIXME: should be removed in autoconf 3.0.
2184 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
2185 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2186 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
2187 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2190 esac
2191 done
2193 if test -n "$ac_prev"; then
2194 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2195 as_fn_error $? "missing argument to $ac_option"
2198 if test -n "$ac_unrecognized_opts"; then
2199 case $enable_option_checking in
2200 no) ;;
2201 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2202 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2203 esac
2206 # Check all directory arguments for consistency.
2207 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2208 datadir sysconfdir sharedstatedir localstatedir includedir \
2209 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2210 libdir localedir mandir runstatedir
2212 eval ac_val=\$$ac_var
2213 # Remove trailing slashes.
2214 case $ac_val in
2215 */ )
2216 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2217 eval $ac_var=\$ac_val;;
2218 esac
2219 # Be sure to have absolute directory names.
2220 case $ac_val in
2221 [\\/$]* | ?:[\\/]* ) continue;;
2222 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2223 esac
2224 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2225 done
2227 # There might be people who depend on the old broken behavior: `$host'
2228 # used to hold the argument of --host etc.
2229 # FIXME: To remove some day.
2230 build=$build_alias
2231 host=$host_alias
2232 target=$target_alias
2234 # FIXME: To remove some day.
2235 if test "x$host_alias" != x; then
2236 if test "x$build_alias" = x; then
2237 cross_compiling=maybe
2238 elif test "x$build_alias" != "x$host_alias"; then
2239 cross_compiling=yes
2243 ac_tool_prefix=
2244 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2246 test "$silent" = yes && exec 6>/dev/null
2249 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2250 ac_ls_di=`ls -di .` &&
2251 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2252 as_fn_error $? "working directory cannot be determined"
2253 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2254 as_fn_error $? "pwd does not report name of working directory"
2257 # Find the source files, if location was not specified.
2258 if test -z "$srcdir"; then
2259 ac_srcdir_defaulted=yes
2260 # Try the directory containing this script, then the parent directory.
2261 ac_confdir=`$as_dirname -- "$as_myself" ||
2262 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2263 X"$as_myself" : 'X\(//\)[^/]' \| \
2264 X"$as_myself" : 'X\(//\)$' \| \
2265 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2266 printf "%s\n" X"$as_myself" |
2267 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2268 s//\1/
2271 /^X\(\/\/\)[^/].*/{
2272 s//\1/
2275 /^X\(\/\/\)$/{
2276 s//\1/
2279 /^X\(\/\).*/{
2280 s//\1/
2283 s/.*/./; q'`
2284 srcdir=$ac_confdir
2285 if test ! -r "$srcdir/$ac_unique_file"; then
2286 srcdir=..
2288 else
2289 ac_srcdir_defaulted=no
2291 if test ! -r "$srcdir/$ac_unique_file"; then
2292 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2293 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2295 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2296 ac_abs_confdir=`(
2297 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2298 pwd)`
2299 # When building in place, set srcdir=.
2300 if test "$ac_abs_confdir" = "$ac_pwd"; then
2301 srcdir=.
2303 # Remove unnecessary trailing slashes from srcdir.
2304 # Double slashes in file names in object file debugging info
2305 # mess up M-x gdb in Emacs.
2306 case $srcdir in
2307 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2308 esac
2309 for ac_var in $ac_precious_vars; do
2310 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2311 eval ac_env_${ac_var}_value=\$${ac_var}
2312 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2313 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2314 done
2317 # Report the --help message.
2319 if test "$ac_init_help" = "long"; then
2320 # Omit some internal or obsolete options to make the list less imposing.
2321 # This message is too long to be a string in the A/UX 3.1 sh.
2322 cat <<_ACEOF
2323 \`configure' configures Wine 7.22 to adapt to many kinds of systems.
2325 Usage: $0 [OPTION]... [VAR=VALUE]...
2327 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2328 VAR=VALUE. See below for descriptions of some of the useful variables.
2330 Defaults for the options are specified in brackets.
2332 Configuration:
2333 -h, --help display this help and exit
2334 --help=short display options specific to this package
2335 --help=recursive display the short help of all the included packages
2336 -V, --version display version information and exit
2337 -q, --quiet, --silent do not print \`checking ...' messages
2338 --cache-file=FILE cache test results in FILE [disabled]
2339 -C, --config-cache alias for \`--cache-file=config.cache'
2340 -n, --no-create do not create output files
2341 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2343 Installation directories:
2344 --prefix=PREFIX install architecture-independent files in PREFIX
2345 [$ac_default_prefix]
2346 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2347 [PREFIX]
2349 By default, \`make install' will install all the files in
2350 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2351 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2352 for instance \`--prefix=\$HOME'.
2354 For better control, use the options below.
2356 Fine tuning of the installation directories:
2357 --bindir=DIR user executables [EPREFIX/bin]
2358 --sbindir=DIR system admin executables [EPREFIX/sbin]
2359 --libexecdir=DIR program executables [EPREFIX/libexec]
2360 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2361 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2362 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2363 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2364 --libdir=DIR object code libraries [EPREFIX/lib]
2365 --includedir=DIR C header files [PREFIX/include]
2366 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2367 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2368 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2369 --infodir=DIR info documentation [DATAROOTDIR/info]
2370 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2371 --mandir=DIR man documentation [DATAROOTDIR/man]
2372 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2373 --htmldir=DIR html documentation [DOCDIR]
2374 --dvidir=DIR dvi documentation [DOCDIR]
2375 --pdfdir=DIR pdf documentation [DOCDIR]
2376 --psdir=DIR ps documentation [DOCDIR]
2377 _ACEOF
2379 cat <<\_ACEOF
2381 X features:
2382 --x-includes=DIR X include files are in DIR
2383 --x-libraries=DIR X library files are in DIR
2385 System types:
2386 --build=BUILD configure for building on BUILD [guessed]
2387 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2388 _ACEOF
2391 if test -n "$ac_init_help"; then
2392 case $ac_init_help in
2393 short | recursive ) echo "Configuration of Wine 7.22:";;
2394 esac
2395 cat <<\_ACEOF
2397 Optional Features:
2398 --disable-option-checking ignore unrecognized --enable/--with options
2399 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2400 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2401 --enable-archs={i386,x86_64,arm,aarch64}
2402 enable multiple architectures for PE compilation
2403 --disable-win16 do not include Win16 support
2404 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2405 binaries)
2406 --disable-tests do not build the regression tests
2407 --enable-build-id include .buildid section in output objects
2408 --enable-maintainer-mode
2409 enable maintainer-specific build rules
2410 --enable-silent-rules use silent build rules (override: "make V=1")
2411 --enable-werror treat compilation warnings as errors
2412 --disable-largefile omit support for large files
2414 Optional Packages:
2415 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2416 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2417 --without-alsa do not use the Alsa sound support
2418 --without-capi do not use CAPI (ISDN support)
2419 --without-coreaudio do not use the CoreAudio sound support
2420 --without-cups do not use CUPS
2421 --without-dbus do not use DBus (dynamic device support)
2422 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2423 --without-fontconfig do not use fontconfig
2424 --without-freetype do not use the FreeType library
2425 --without-gettext do not use gettext
2426 --with-gettextpo use the GetTextPO library to rebuild po files
2427 --without-gphoto do not use gphoto (Digital Camera support)
2428 --without-gnutls do not use GnuTLS (schannel support)
2429 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2430 --without-gstreamer do not use GStreamer (codecs support)
2431 --without-inotify do not use inotify (filesystem change notifications)
2432 --without-krb5 do not use krb5 (Kerberos)
2433 --without-mingw do not use the MinGW cross-compiler
2434 --without-netapi do not use the Samba NetAPI library
2435 --without-opencl do not use OpenCL
2436 --without-opengl do not use OpenGL
2437 --without-osmesa do not use the OSMesa library
2438 --without-oss do not use the OSS sound support
2439 --without-pcap do not use the Packet Capture library
2440 --without-pthread do not use the pthread library
2441 --without-pulse do not use PulseAudio sound support
2442 --without-sane do not use SANE (scanner support)
2443 --without-sdl do not use SDL
2444 --without-udev do not use udev (plug and play support)
2445 --without-unwind do not use the libunwind library (exception
2446 handling)
2447 --without-usb do not use the libusb library
2448 --without-v4l2 do not use v4l2 (video capture)
2449 --without-vulkan do not use Vulkan
2450 --without-xcomposite do not use the Xcomposite extension
2451 --without-xcursor do not use the Xcursor extension
2452 --without-xfixes do not use Xfixes for clipboard change notifications
2453 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2454 --without-xinput do not use the Xinput extension
2455 --without-xinput2 do not use the Xinput 2 extension
2456 --without-xrandr do not use Xrandr (multi-monitor support)
2457 --without-xrender do not use the Xrender extension
2458 --without-xshape do not use the Xshape extension
2459 --without-xshm do not use XShm (shared memory extension)
2460 --without-xxf86vm do not use XFree video mode extension
2461 --with-system-dllpath=PATH
2462 load external PE dependencies from colon-separated
2463 path PATH
2464 --with-wine-tools=DIR use Wine tools from directory DIR
2465 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2466 --with-x use the X Window System
2468 Some influential environment variables:
2469 CC C compiler command
2470 CFLAGS C compiler flags
2471 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2472 nonstandard directory <lib dir>
2473 LIBS libraries to pass to the linker, e.g. -l<library>
2474 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2475 you have headers in a nonstandard directory <include dir>
2476 CXX C++ compiler command
2477 CXXFLAGS C++ compiler flags
2478 OBJC Objective C compiler command
2479 OBJCFLAGS Objective C compiler flags
2480 FAUDIO_PE_CFLAGS
2481 C compiler flags for the PE faudio, overriding the bundled
2482 version
2483 FAUDIO_PE_LIBS
2484 Linker flags for the PE faudio, overriding the bundled version
2485 GSM_PE_CFLAGS
2486 C compiler flags for the PE gsm, overriding the bundled version
2487 GSM_PE_LIBS Linker flags for the PE gsm, overriding the bundled version
2488 JPEG_PE_CFLAGS
2489 C compiler flags for the PE jpeg, overriding the bundled version
2490 JPEG_PE_LIBS
2491 Linker flags for the PE jpeg, overriding the bundled version
2492 JXR_PE_CFLAGS
2493 C compiler flags for the PE jxr, overriding the bundled version
2494 JXR_PE_LIBS Linker flags for the PE jxr, overriding the bundled version
2495 LCMS2_PE_CFLAGS
2496 C compiler flags for the PE lcms2, overriding the bundled
2497 version
2498 LCMS2_PE_LIBS
2499 Linker flags for the PE lcms2, overriding the bundled version
2500 LDAP_PE_CFLAGS
2501 C compiler flags for the PE ldap, overriding the bundled version
2502 LDAP_PE_LIBS
2503 Linker flags for the PE ldap, overriding the bundled version
2504 MPG123_PE_CFLAGS
2505 C compiler flags for the PE mpg123, overriding the bundled
2506 version
2507 MPG123_PE_LIBS
2508 Linker flags for the PE mpg123, overriding the bundled version
2509 PNG_PE_CFLAGS
2510 C compiler flags for the PE png, overriding the bundled version
2511 PNG_PE_LIBS Linker flags for the PE png, overriding the bundled version
2512 TIFF_PE_CFLAGS
2513 C compiler flags for the PE tiff, overriding the bundled version
2514 TIFF_PE_LIBS
2515 Linker flags for the PE tiff, overriding the bundled version
2516 VKD3D_PE_CFLAGS
2517 C compiler flags for the PE vkd3d, overriding the bundled
2518 version
2519 VKD3D_PE_LIBS
2520 Linker flags for the PE vkd3d, overriding the bundled version
2521 XML2_PE_CFLAGS
2522 C compiler flags for the PE xml2, overriding the bundled version
2523 XML2_PE_LIBS
2524 Linker flags for the PE xml2, overriding the bundled version
2525 XSLT_PE_CFLAGS
2526 C compiler flags for the PE xslt, overriding the bundled version
2527 XSLT_PE_LIBS
2528 Linker flags for the PE xslt, overriding the bundled version
2529 ZLIB_PE_CFLAGS
2530 C compiler flags for the PE zlib, overriding the bundled version
2531 ZLIB_PE_LIBS
2532 Linker flags for the PE zlib, overriding the bundled version
2533 XMKMF Path to xmkmf, Makefile generator for X Window System
2534 CPP C preprocessor
2535 INOTIFY_CFLAGS
2536 C compiler flags for libinotify, overriding pkg-config
2537 INOTIFY_LIBS
2538 Linker flags for libinotify, overriding pkg-config
2539 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2540 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2541 GNUTLS_CFLAGS
2542 C compiler flags for gnutls, overriding pkg-config
2543 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2544 SANE_CFLAGS C compiler flags for sane-backends, overriding pkg-config
2545 SANE_LIBS Linker flags for sane-backends, overriding pkg-config
2546 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2547 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2548 GPHOTO2_CFLAGS
2549 C compiler flags for libgphoto2, overriding pkg-config
2550 GPHOTO2_LIBS
2551 Linker flags for libgphoto2, overriding pkg-config
2552 GPHOTO2_PORT_CFLAGS
2553 C compiler flags for libgphoto2_port, overriding pkg-config
2554 GPHOTO2_PORT_LIBS
2555 Linker flags for libgphoto2_port, overriding pkg-config
2556 FREETYPE_CFLAGS
2557 C compiler flags for freetype2, overriding pkg-config
2558 FREETYPE_LIBS
2559 Linker flags for freetype2, overriding pkg-config
2560 PULSE_CFLAGS
2561 C compiler flags for libpulse, overriding pkg-config
2562 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2563 GSTREAMER_CFLAGS
2564 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2565 gstreamer-audio-1.0, overriding pkg-config
2566 GSTREAMER_LIBS
2567 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2568 gstreamer-audio-1.0, overriding pkg-config
2569 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2570 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2571 UNWIND_CFLAGS
2572 C compiler flags for libunwind, overriding pkg-config
2573 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2574 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2575 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2576 CAPI20_CFLAGS
2577 C compiler flags for capi20, overriding pkg-config
2578 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2579 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2580 CUPS_LIBS Linker flags for cups, overriding pkg-config
2581 FONTCONFIG_CFLAGS
2582 C compiler flags for fontconfig, overriding pkg-config
2583 FONTCONFIG_LIBS
2584 Linker flags for fontconfig, overriding pkg-config
2585 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2586 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2587 GSSAPI_CFLAGS
2588 C compiler flags for krb5-gssapi, overriding pkg-config
2589 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2590 NETAPI_CFLAGS
2591 C compiler flags for netapi, overriding pkg-config
2592 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2594 Use these variables to override the choices made by `configure' or to help
2595 it to find libraries and programs with nonstandard names/locations.
2597 Report bugs to <wine-devel@winehq.org>.
2598 Wine home page: <https://www.winehq.org>.
2599 _ACEOF
2600 ac_status=$?
2603 if test "$ac_init_help" = "recursive"; then
2604 # If there are subdirs, report their specific --help.
2605 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2606 test -d "$ac_dir" ||
2607 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2608 continue
2609 ac_builddir=.
2611 case "$ac_dir" in
2612 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2614 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
2615 # A ".." for each directory in $ac_dir_suffix.
2616 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2617 case $ac_top_builddir_sub in
2618 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2619 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2620 esac ;;
2621 esac
2622 ac_abs_top_builddir=$ac_pwd
2623 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2624 # for backward compatibility:
2625 ac_top_builddir=$ac_top_build_prefix
2627 case $srcdir in
2628 .) # We are building in place.
2629 ac_srcdir=.
2630 ac_top_srcdir=$ac_top_builddir_sub
2631 ac_abs_top_srcdir=$ac_pwd ;;
2632 [\\/]* | ?:[\\/]* ) # Absolute name.
2633 ac_srcdir=$srcdir$ac_dir_suffix;
2634 ac_top_srcdir=$srcdir
2635 ac_abs_top_srcdir=$srcdir ;;
2636 *) # Relative name.
2637 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2638 ac_top_srcdir=$ac_top_build_prefix$srcdir
2639 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2640 esac
2641 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2643 cd "$ac_dir" || { ac_status=$?; continue; }
2644 # Check for configure.gnu first; this name is used for a wrapper for
2645 # Metaconfig's "Configure" on case-insensitive file systems.
2646 if test -f "$ac_srcdir/configure.gnu"; then
2647 echo &&
2648 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2649 elif test -f "$ac_srcdir/configure"; then
2650 echo &&
2651 $SHELL "$ac_srcdir/configure" --help=recursive
2652 else
2653 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2654 fi || ac_status=$?
2655 cd "$ac_pwd" || { ac_status=$?; break; }
2656 done
2659 test -n "$ac_init_help" && exit $ac_status
2660 if $ac_init_version; then
2661 cat <<\_ACEOF
2662 Wine configure 7.22
2663 generated by GNU Autoconf 2.71
2665 Copyright (C) 2021 Free Software Foundation, Inc.
2666 This configure script is free software; the Free Software Foundation
2667 gives unlimited permission to copy, distribute and modify it.
2668 _ACEOF
2669 exit
2672 ## ------------------------ ##
2673 ## Autoconf initialization. ##
2674 ## ------------------------ ##
2676 # ac_fn_c_try_compile LINENO
2677 # --------------------------
2678 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2679 ac_fn_c_try_compile ()
2681 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2682 rm -f conftest.$ac_objext conftest.beam
2683 if { { ac_try="$ac_compile"
2684 case "(($ac_try" in
2685 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2686 *) ac_try_echo=$ac_try;;
2687 esac
2688 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2689 printf "%s\n" "$ac_try_echo"; } >&5
2690 (eval "$ac_compile") 2>conftest.err
2691 ac_status=$?
2692 if test -s conftest.err; then
2693 grep -v '^ *+' conftest.err >conftest.er1
2694 cat conftest.er1 >&5
2695 mv -f conftest.er1 conftest.err
2697 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2698 test $ac_status = 0; } && {
2699 test -z "$ac_c_werror_flag" ||
2700 test ! -s conftest.err
2701 } && test -s conftest.$ac_objext
2702 then :
2703 ac_retval=0
2704 else $as_nop
2705 printf "%s\n" "$as_me: failed program was:" >&5
2706 sed 's/^/| /' conftest.$ac_ext >&5
2708 ac_retval=1
2710 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2711 as_fn_set_status $ac_retval
2713 } # ac_fn_c_try_compile
2715 # ac_fn_cxx_try_compile LINENO
2716 # ----------------------------
2717 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2718 ac_fn_cxx_try_compile ()
2720 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2721 rm -f conftest.$ac_objext conftest.beam
2722 if { { ac_try="$ac_compile"
2723 case "(($ac_try" in
2724 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2725 *) ac_try_echo=$ac_try;;
2726 esac
2727 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2728 printf "%s\n" "$ac_try_echo"; } >&5
2729 (eval "$ac_compile") 2>conftest.err
2730 ac_status=$?
2731 if test -s conftest.err; then
2732 grep -v '^ *+' conftest.err >conftest.er1
2733 cat conftest.er1 >&5
2734 mv -f conftest.er1 conftest.err
2736 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2737 test $ac_status = 0; } && {
2738 test -z "$ac_cxx_werror_flag" ||
2739 test ! -s conftest.err
2740 } && test -s conftest.$ac_objext
2741 then :
2742 ac_retval=0
2743 else $as_nop
2744 printf "%s\n" "$as_me: failed program was:" >&5
2745 sed 's/^/| /' conftest.$ac_ext >&5
2747 ac_retval=1
2749 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2750 as_fn_set_status $ac_retval
2752 } # ac_fn_cxx_try_compile
2754 # ac_fn_c_try_link LINENO
2755 # -----------------------
2756 # Try to link conftest.$ac_ext, and return whether this succeeded.
2757 ac_fn_c_try_link ()
2759 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2760 rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
2761 if { { ac_try="$ac_link"
2762 case "(($ac_try" in
2763 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2764 *) ac_try_echo=$ac_try;;
2765 esac
2766 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2767 printf "%s\n" "$ac_try_echo"; } >&5
2768 (eval "$ac_link") 2>conftest.err
2769 ac_status=$?
2770 if test -s conftest.err; then
2771 grep -v '^ *+' conftest.err >conftest.er1
2772 cat conftest.er1 >&5
2773 mv -f conftest.er1 conftest.err
2775 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2776 test $ac_status = 0; } && {
2777 test -z "$ac_c_werror_flag" ||
2778 test ! -s conftest.err
2779 } && test -s conftest$ac_exeext && {
2780 test "$cross_compiling" = yes ||
2781 test -x conftest$ac_exeext
2783 then :
2784 ac_retval=0
2785 else $as_nop
2786 printf "%s\n" "$as_me: failed program was:" >&5
2787 sed 's/^/| /' conftest.$ac_ext >&5
2789 ac_retval=1
2791 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2792 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2793 # interfere with the next link command; also delete a directory that is
2794 # left behind by Apple's compiler. We do this before executing the actions.
2795 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2796 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2797 as_fn_set_status $ac_retval
2799 } # ac_fn_c_try_link
2801 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2802 # -------------------------------------------------------
2803 # Tests whether HEADER exists and can be compiled using the include files in
2804 # INCLUDES, setting the cache variable VAR accordingly.
2805 ac_fn_c_check_header_compile ()
2807 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2808 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2809 printf %s "checking for $2... " >&6; }
2810 if eval test \${$3+y}
2811 then :
2812 printf %s "(cached) " >&6
2813 else $as_nop
2814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2815 /* end confdefs.h. */
2817 #include <$2>
2818 _ACEOF
2819 if ac_fn_c_try_compile "$LINENO"
2820 then :
2821 eval "$3=yes"
2822 else $as_nop
2823 eval "$3=no"
2825 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2827 eval ac_res=\$$3
2828 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2829 printf "%s\n" "$ac_res" >&6; }
2830 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2832 } # ac_fn_c_check_header_compile
2834 # ac_fn_objc_try_compile LINENO
2835 # -----------------------------
2836 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2837 ac_fn_objc_try_compile ()
2839 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2840 rm -f conftest.$ac_objext conftest.beam
2841 if { { ac_try="$ac_compile"
2842 case "(($ac_try" in
2843 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2844 *) ac_try_echo=$ac_try;;
2845 esac
2846 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2847 printf "%s\n" "$ac_try_echo"; } >&5
2848 (eval "$ac_compile") 2>conftest.err
2849 ac_status=$?
2850 if test -s conftest.err; then
2851 grep -v '^ *+' conftest.err >conftest.er1
2852 cat conftest.er1 >&5
2853 mv -f conftest.er1 conftest.err
2855 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2856 test $ac_status = 0; } && {
2857 test -z "$ac_objc_werror_flag" ||
2858 test ! -s conftest.err
2859 } && test -s conftest.$ac_objext
2860 then :
2861 ac_retval=0
2862 else $as_nop
2863 printf "%s\n" "$as_me: failed program was:" >&5
2864 sed 's/^/| /' conftest.$ac_ext >&5
2866 ac_retval=1
2868 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2869 as_fn_set_status $ac_retval
2871 } # ac_fn_objc_try_compile
2873 # ac_fn_c_check_func LINENO FUNC VAR
2874 # ----------------------------------
2875 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2876 ac_fn_c_check_func ()
2878 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2879 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2880 printf %s "checking for $2... " >&6; }
2881 if eval test \${$3+y}
2882 then :
2883 printf %s "(cached) " >&6
2884 else $as_nop
2885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2886 /* end confdefs.h. */
2887 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2888 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2889 #define $2 innocuous_$2
2891 /* System header to define __stub macros and hopefully few prototypes,
2892 which can conflict with char $2 (); below. */
2894 #include <limits.h>
2895 #undef $2
2897 /* Override any GCC internal prototype to avoid an error.
2898 Use char because int might match the return type of a GCC
2899 builtin and then its argument prototype would still apply. */
2900 #ifdef __cplusplus
2901 extern "C"
2902 #endif
2903 char $2 ();
2904 /* The GNU C library defines this for functions which it implements
2905 to always fail with ENOSYS. Some functions are actually named
2906 something starting with __ and the normal name is an alias. */
2907 #if defined __stub_$2 || defined __stub___$2
2908 choke me
2909 #endif
2912 main (void)
2914 return $2 ();
2916 return 0;
2918 _ACEOF
2919 if ac_fn_c_try_link "$LINENO"
2920 then :
2921 eval "$3=yes"
2922 else $as_nop
2923 eval "$3=no"
2925 rm -f core conftest.err conftest.$ac_objext conftest.beam \
2926 conftest$ac_exeext conftest.$ac_ext
2928 eval ac_res=\$$3
2929 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2930 printf "%s\n" "$ac_res" >&6; }
2931 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2933 } # ac_fn_c_check_func
2935 # ac_fn_c_try_cpp LINENO
2936 # ----------------------
2937 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2938 ac_fn_c_try_cpp ()
2940 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2941 if { { ac_try="$ac_cpp conftest.$ac_ext"
2942 case "(($ac_try" in
2943 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2944 *) ac_try_echo=$ac_try;;
2945 esac
2946 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2947 printf "%s\n" "$ac_try_echo"; } >&5
2948 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2949 ac_status=$?
2950 if test -s conftest.err; then
2951 grep -v '^ *+' conftest.err >conftest.er1
2952 cat conftest.er1 >&5
2953 mv -f conftest.er1 conftest.err
2955 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2956 test $ac_status = 0; } > conftest.i && {
2957 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2958 test ! -s conftest.err
2960 then :
2961 ac_retval=0
2962 else $as_nop
2963 printf "%s\n" "$as_me: failed program was:" >&5
2964 sed 's/^/| /' conftest.$ac_ext >&5
2966 ac_retval=1
2968 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2969 as_fn_set_status $ac_retval
2971 } # ac_fn_c_try_cpp
2973 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2974 # ----------------------------------------------------
2975 # Tries to find if the field MEMBER exists in type AGGR, after including
2976 # INCLUDES, setting cache variable VAR accordingly.
2977 ac_fn_c_check_member ()
2979 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2980 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2981 printf %s "checking for $2.$3... " >&6; }
2982 if eval test \${$4+y}
2983 then :
2984 printf %s "(cached) " >&6
2985 else $as_nop
2986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2987 /* end confdefs.h. */
2990 main (void)
2992 static $2 ac_aggr;
2993 if (ac_aggr.$3)
2994 return 0;
2996 return 0;
2998 _ACEOF
2999 if ac_fn_c_try_compile "$LINENO"
3000 then :
3001 eval "$4=yes"
3002 else $as_nop
3003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3004 /* end confdefs.h. */
3007 main (void)
3009 static $2 ac_aggr;
3010 if (sizeof ac_aggr.$3)
3011 return 0;
3013 return 0;
3015 _ACEOF
3016 if ac_fn_c_try_compile "$LINENO"
3017 then :
3018 eval "$4=yes"
3019 else $as_nop
3020 eval "$4=no"
3022 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3024 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3026 eval ac_res=\$$4
3027 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3028 printf "%s\n" "$ac_res" >&6; }
3029 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3031 } # ac_fn_c_check_member
3033 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3034 # -------------------------------------------
3035 # Tests whether TYPE exists after having included INCLUDES, setting cache
3036 # variable VAR accordingly.
3037 ac_fn_c_check_type ()
3039 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3040 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3041 printf %s "checking for $2... " >&6; }
3042 if eval test \${$3+y}
3043 then :
3044 printf %s "(cached) " >&6
3045 else $as_nop
3046 eval "$3=no"
3047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3048 /* end confdefs.h. */
3051 main (void)
3053 if (sizeof ($2))
3054 return 0;
3056 return 0;
3058 _ACEOF
3059 if ac_fn_c_try_compile "$LINENO"
3060 then :
3061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3062 /* end confdefs.h. */
3065 main (void)
3067 if (sizeof (($2)))
3068 return 0;
3070 return 0;
3072 _ACEOF
3073 if ac_fn_c_try_compile "$LINENO"
3074 then :
3076 else $as_nop
3077 eval "$3=yes"
3079 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3081 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3083 eval ac_res=\$$3
3084 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3085 printf "%s\n" "$ac_res" >&6; }
3086 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3088 } # ac_fn_c_check_type
3089 ac_configure_args_raw=
3090 for ac_arg
3092 case $ac_arg in
3093 *\'*)
3094 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3095 esac
3096 as_fn_append ac_configure_args_raw " '$ac_arg'"
3097 done
3099 case $ac_configure_args_raw in
3100 *$as_nl*)
3101 ac_safe_unquote= ;;
3103 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
3104 ac_unsafe_a="$ac_unsafe_z#~"
3105 ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
3106 ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
3107 esac
3109 cat >config.log <<_ACEOF
3110 This file contains any messages produced by compilers while
3111 running configure, to aid debugging if configure makes a mistake.
3113 It was created by Wine $as_me 7.22, which was
3114 generated by GNU Autoconf 2.71. Invocation command line was
3116 $ $0$ac_configure_args_raw
3118 _ACEOF
3119 exec 5>>config.log
3121 cat <<_ASUNAME
3122 ## --------- ##
3123 ## Platform. ##
3124 ## --------- ##
3126 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3127 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3128 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3129 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3130 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3132 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3133 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3135 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3136 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3137 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3138 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3139 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3140 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3141 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3143 _ASUNAME
3145 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3146 for as_dir in $PATH
3148 IFS=$as_save_IFS
3149 case $as_dir in #(((
3150 '') as_dir=./ ;;
3151 */) ;;
3152 *) as_dir=$as_dir/ ;;
3153 esac
3154 printf "%s\n" "PATH: $as_dir"
3155 done
3156 IFS=$as_save_IFS
3158 } >&5
3160 cat >&5 <<_ACEOF
3163 ## ----------- ##
3164 ## Core tests. ##
3165 ## ----------- ##
3167 _ACEOF
3170 # Keep a trace of the command line.
3171 # Strip out --no-create and --no-recursion so they do not pile up.
3172 # Strip out --silent because we don't want to record it for future runs.
3173 # Also quote any args containing shell meta-characters.
3174 # Make two passes to allow for proper duplicate-argument suppression.
3175 ac_configure_args=
3176 ac_configure_args0=
3177 ac_configure_args1=
3178 ac_must_keep_next=false
3179 for ac_pass in 1 2
3181 for ac_arg
3183 case $ac_arg in
3184 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3185 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3186 | -silent | --silent | --silen | --sile | --sil)
3187 continue ;;
3188 *\'*)
3189 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3190 esac
3191 case $ac_pass in
3192 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3194 as_fn_append ac_configure_args1 " '$ac_arg'"
3195 if test $ac_must_keep_next = true; then
3196 ac_must_keep_next=false # Got value, back to normal.
3197 else
3198 case $ac_arg in
3199 *=* | --config-cache | -C | -disable-* | --disable-* \
3200 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3201 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3202 | -with-* | --with-* | -without-* | --without-* | --x)
3203 case "$ac_configure_args0 " in
3204 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3205 esac
3207 -* ) ac_must_keep_next=true ;;
3208 esac
3210 as_fn_append ac_configure_args " '$ac_arg'"
3212 esac
3213 done
3214 done
3215 { ac_configure_args0=; unset ac_configure_args0;}
3216 { ac_configure_args1=; unset ac_configure_args1;}
3218 # When interrupted or exit'd, cleanup temporary files, and complete
3219 # config.log. We remove comments because anyway the quotes in there
3220 # would cause problems or look ugly.
3221 # WARNING: Use '\'' to represent an apostrophe within the trap.
3222 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3223 trap 'exit_status=$?
3224 # Sanitize IFS.
3225 IFS=" "" $as_nl"
3226 # Save into config.log some information that might help in debugging.
3228 echo
3230 printf "%s\n" "## ---------------- ##
3231 ## Cache variables. ##
3232 ## ---------------- ##"
3233 echo
3234 # The following way of writing the cache mishandles newlines in values,
3236 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3237 eval ac_val=\$$ac_var
3238 case $ac_val in #(
3239 *${as_nl}*)
3240 case $ac_var in #(
3241 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3242 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3243 esac
3244 case $ac_var in #(
3245 _ | IFS | as_nl) ;; #(
3246 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3247 *) { eval $ac_var=; unset $ac_var;} ;;
3248 esac ;;
3249 esac
3250 done
3251 (set) 2>&1 |
3252 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3253 *${as_nl}ac_space=\ *)
3254 sed -n \
3255 "s/'\''/'\''\\\\'\'''\''/g;
3256 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3257 ;; #(
3259 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3261 esac |
3262 sort
3264 echo
3266 printf "%s\n" "## ----------------- ##
3267 ## Output variables. ##
3268 ## ----------------- ##"
3269 echo
3270 for ac_var in $ac_subst_vars
3272 eval ac_val=\$$ac_var
3273 case $ac_val in
3274 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3275 esac
3276 printf "%s\n" "$ac_var='\''$ac_val'\''"
3277 done | sort
3278 echo
3280 if test -n "$ac_subst_files"; then
3281 printf "%s\n" "## ------------------- ##
3282 ## File substitutions. ##
3283 ## ------------------- ##"
3284 echo
3285 for ac_var in $ac_subst_files
3287 eval ac_val=\$$ac_var
3288 case $ac_val in
3289 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3290 esac
3291 printf "%s\n" "$ac_var='\''$ac_val'\''"
3292 done | sort
3293 echo
3296 if test -s confdefs.h; then
3297 printf "%s\n" "## ----------- ##
3298 ## confdefs.h. ##
3299 ## ----------- ##"
3300 echo
3301 cat confdefs.h
3302 echo
3304 test "$ac_signal" != 0 &&
3305 printf "%s\n" "$as_me: caught signal $ac_signal"
3306 printf "%s\n" "$as_me: exit $exit_status"
3307 } >&5
3308 rm -f core *.core core.conftest.* &&
3309 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3310 exit $exit_status
3312 for ac_signal in 1 2 13 15; do
3313 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3314 done
3315 ac_signal=0
3317 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3318 rm -f -r conftest* confdefs.h
3320 printf "%s\n" "/* confdefs.h */" > confdefs.h
3322 # Predefined preprocessor variables.
3324 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
3326 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
3328 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
3330 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
3332 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
3334 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
3337 # Let the site file select an alternate cache file if it wants to.
3338 # Prefer an explicitly selected file to automatically selected ones.
3339 if test -n "$CONFIG_SITE"; then
3340 ac_site_files="$CONFIG_SITE"
3341 elif test "x$prefix" != xNONE; then
3342 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
3343 else
3344 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
3347 for ac_site_file in $ac_site_files
3349 case $ac_site_file in #(
3350 */*) :
3351 ;; #(
3352 *) :
3353 ac_site_file=./$ac_site_file ;;
3354 esac
3355 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
3356 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3357 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
3358 sed 's/^/| /' "$ac_site_file" >&5
3359 . "$ac_site_file" \
3360 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3361 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3362 as_fn_error $? "failed to load site script $ac_site_file
3363 See \`config.log' for more details" "$LINENO" 5; }
3365 done
3367 if test -r "$cache_file"; then
3368 # Some versions of bash will fail to source /dev/null (special files
3369 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3370 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3371 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3372 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
3373 case $cache_file in
3374 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3375 *) . "./$cache_file";;
3376 esac
3378 else
3379 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3380 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
3381 >$cache_file
3384 # Test code for whether the C compiler supports C89 (global declarations)
3385 ac_c_conftest_c89_globals='
3386 /* Does the compiler advertise C89 conformance?
3387 Do not test the value of __STDC__, because some compilers set it to 0
3388 while being otherwise adequately conformant. */
3389 #if !defined __STDC__
3390 # error "Compiler does not advertise C89 conformance"
3391 #endif
3393 #include <stddef.h>
3394 #include <stdarg.h>
3395 struct stat;
3396 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
3397 struct buf { int x; };
3398 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
3399 static char *e (p, i)
3400 char **p;
3401 int i;
3403 return p[i];
3405 static char *f (char * (*g) (char **, int), char **p, ...)
3407 char *s;
3408 va_list v;
3409 va_start (v,p);
3410 s = g (p, va_arg (v,int));
3411 va_end (v);
3412 return s;
3415 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3416 function prototypes and stuff, but not \xHH hex character constants.
3417 These do not provoke an error unfortunately, instead are silently treated
3418 as an "x". The following induces an error, until -std is added to get
3419 proper ANSI mode. Curiously \x00 != x always comes out true, for an
3420 array size at least. It is necessary to write \x00 == 0 to get something
3421 that is true only with -std. */
3422 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
3424 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3425 inside strings and character constants. */
3426 #define FOO(x) '\''x'\''
3427 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
3429 int test (int i, double x);
3430 struct s1 {int (*f) (int a);};
3431 struct s2 {int (*f) (double a);};
3432 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
3433 int, int);'
3435 # Test code for whether the C compiler supports C89 (body of main).
3436 ac_c_conftest_c89_main='
3437 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
3440 # Test code for whether the C compiler supports C99 (global declarations)
3441 ac_c_conftest_c99_globals='
3442 // Does the compiler advertise C99 conformance?
3443 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
3444 # error "Compiler does not advertise C99 conformance"
3445 #endif
3447 #include <stdbool.h>
3448 extern int puts (const char *);
3449 extern int printf (const char *, ...);
3450 extern int dprintf (int, const char *, ...);
3451 extern void *malloc (size_t);
3453 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3454 // dprintf is used instead of fprintf to avoid needing to declare
3455 // FILE and stderr.
3456 #define debug(...) dprintf (2, __VA_ARGS__)
3457 #define showlist(...) puts (#__VA_ARGS__)
3458 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3459 static void
3460 test_varargs_macros (void)
3462 int x = 1234;
3463 int y = 5678;
3464 debug ("Flag");
3465 debug ("X = %d\n", x);
3466 showlist (The first, second, and third items.);
3467 report (x>y, "x is %d but y is %d", x, y);
3470 // Check long long types.
3471 #define BIG64 18446744073709551615ull
3472 #define BIG32 4294967295ul
3473 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3474 #if !BIG_OK
3475 #error "your preprocessor is broken"
3476 #endif
3477 #if BIG_OK
3478 #else
3479 #error "your preprocessor is broken"
3480 #endif
3481 static long long int bignum = -9223372036854775807LL;
3482 static unsigned long long int ubignum = BIG64;
3484 struct incomplete_array
3486 int datasize;
3487 double data[];
3490 struct named_init {
3491 int number;
3492 const wchar_t *name;
3493 double average;
3496 typedef const char *ccp;
3498 static inline int
3499 test_restrict (ccp restrict text)
3501 // See if C++-style comments work.
3502 // Iterate through items via the restricted pointer.
3503 // Also check for declarations in for loops.
3504 for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
3505 continue;
3506 return 0;
3509 // Check varargs and va_copy.
3510 static bool
3511 test_varargs (const char *format, ...)
3513 va_list args;
3514 va_start (args, format);
3515 va_list args_copy;
3516 va_copy (args_copy, args);
3518 const char *str = "";
3519 int number = 0;
3520 float fnumber = 0;
3522 while (*format)
3524 switch (*format++)
3526 case '\''s'\'': // string
3527 str = va_arg (args_copy, const char *);
3528 break;
3529 case '\''d'\'': // int
3530 number = va_arg (args_copy, int);
3531 break;
3532 case '\''f'\'': // float
3533 fnumber = va_arg (args_copy, double);
3534 break;
3535 default:
3536 break;
3539 va_end (args_copy);
3540 va_end (args);
3542 return *str && number && fnumber;
3546 # Test code for whether the C compiler supports C99 (body of main).
3547 ac_c_conftest_c99_main='
3548 // Check bool.
3549 _Bool success = false;
3550 success |= (argc != 0);
3552 // Check restrict.
3553 if (test_restrict ("String literal") == 0)
3554 success = true;
3555 char *restrict newvar = "Another string";
3557 // Check varargs.
3558 success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
3559 test_varargs_macros ();
3561 // Check flexible array members.
3562 struct incomplete_array *ia =
3563 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3564 ia->datasize = 10;
3565 for (int i = 0; i < ia->datasize; ++i)
3566 ia->data[i] = i * 1.234;
3568 // Check named initializers.
3569 struct named_init ni = {
3570 .number = 34,
3571 .name = L"Test wide string",
3572 .average = 543.34343,
3575 ni.number = 58;
3577 int dynamic_array[ni.number];
3578 dynamic_array[0] = argv[0][0];
3579 dynamic_array[ni.number - 1] = 543;
3581 // work around unused variable warnings
3582 ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
3583 || dynamic_array[ni.number - 1] != 543);
3586 # Test code for whether the C compiler supports C11 (global declarations)
3587 ac_c_conftest_c11_globals='
3588 // Does the compiler advertise C11 conformance?
3589 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
3590 # error "Compiler does not advertise C11 conformance"
3591 #endif
3593 // Check _Alignas.
3594 char _Alignas (double) aligned_as_double;
3595 char _Alignas (0) no_special_alignment;
3596 extern char aligned_as_int;
3597 char _Alignas (0) _Alignas (int) aligned_as_int;
3599 // Check _Alignof.
3600 enum
3602 int_alignment = _Alignof (int),
3603 int_array_alignment = _Alignof (int[100]),
3604 char_alignment = _Alignof (char)
3606 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
3608 // Check _Noreturn.
3609 int _Noreturn does_not_return (void) { for (;;) continue; }
3611 // Check _Static_assert.
3612 struct test_static_assert
3614 int x;
3615 _Static_assert (sizeof (int) <= sizeof (long int),
3616 "_Static_assert does not work in struct");
3617 long int y;
3620 // Check UTF-8 literals.
3621 #define u8 syntax error!
3622 char const utf8_literal[] = u8"happens to be ASCII" "another string";
3624 // Check duplicate typedefs.
3625 typedef long *long_ptr;
3626 typedef long int *long_ptr;
3627 typedef long_ptr long_ptr;
3629 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
3630 struct anonymous
3632 union {
3633 struct { int i; int j; };
3634 struct { int k; long int l; } w;
3636 int m;
3637 } v1;
3640 # Test code for whether the C compiler supports C11 (body of main).
3641 ac_c_conftest_c11_main='
3642 _Static_assert ((offsetof (struct anonymous, i)
3643 == offsetof (struct anonymous, w.k)),
3644 "Anonymous union alignment botch");
3645 v1.i = 2;
3646 v1.w.k = 5;
3647 ok |= v1.i != 5;
3650 # Test code for whether the C compiler supports C11 (complete).
3651 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
3652 ${ac_c_conftest_c99_globals}
3653 ${ac_c_conftest_c11_globals}
3656 main (int argc, char **argv)
3658 int ok = 0;
3659 ${ac_c_conftest_c89_main}
3660 ${ac_c_conftest_c99_main}
3661 ${ac_c_conftest_c11_main}
3662 return ok;
3666 # Test code for whether the C compiler supports C99 (complete).
3667 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
3668 ${ac_c_conftest_c99_globals}
3671 main (int argc, char **argv)
3673 int ok = 0;
3674 ${ac_c_conftest_c89_main}
3675 ${ac_c_conftest_c99_main}
3676 return ok;
3680 # Test code for whether the C compiler supports C89 (complete).
3681 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
3684 main (int argc, char **argv)
3686 int ok = 0;
3687 ${ac_c_conftest_c89_main}
3688 return ok;
3692 # Test code for whether the C++ compiler supports C++98 (global declarations)
3693 ac_cxx_conftest_cxx98_globals='
3694 // Does the compiler advertise C++98 conformance?
3695 #if !defined __cplusplus || __cplusplus < 199711L
3696 # error "Compiler does not advertise C++98 conformance"
3697 #endif
3699 // These inclusions are to reject old compilers that
3700 // lack the unsuffixed header files.
3701 #include <cstdlib>
3702 #include <exception>
3704 // <cassert> and <cstring> are *not* freestanding headers in C++98.
3705 extern void assert (int);
3706 namespace std {
3707 extern int strcmp (const char *, const char *);
3710 // Namespaces, exceptions, and templates were all added after "C++ 2.0".
3711 using std::exception;
3712 using std::strcmp;
3714 namespace {
3716 void test_exception_syntax()
3718 try {
3719 throw "test";
3720 } catch (const char *s) {
3721 // Extra parentheses suppress a warning when building autoconf itself,
3722 // due to lint rules shared with more typical C programs.
3723 assert (!(strcmp) (s, "test"));
3727 template <typename T> struct test_template
3729 T const val;
3730 explicit test_template(T t) : val(t) {}
3731 template <typename U> T add(U u) { return static_cast<T>(u) + val; }
3734 } // anonymous namespace
3737 # Test code for whether the C++ compiler supports C++98 (body of main)
3738 ac_cxx_conftest_cxx98_main='
3739 assert (argc);
3740 assert (! argv[0]);
3742 test_exception_syntax ();
3743 test_template<double> tt (2.0);
3744 assert (tt.add (4) == 6.0);
3745 assert (true && !false);
3749 # Test code for whether the C++ compiler supports C++11 (global declarations)
3750 ac_cxx_conftest_cxx11_globals='
3751 // Does the compiler advertise C++ 2011 conformance?
3752 #if !defined __cplusplus || __cplusplus < 201103L
3753 # error "Compiler does not advertise C++11 conformance"
3754 #endif
3756 namespace cxx11test
3758 constexpr int get_val() { return 20; }
3760 struct testinit
3762 int i;
3763 double d;
3766 class delegate
3768 public:
3769 delegate(int n) : n(n) {}
3770 delegate(): delegate(2354) {}
3772 virtual int getval() { return this->n; };
3773 protected:
3774 int n;
3777 class overridden : public delegate
3779 public:
3780 overridden(int n): delegate(n) {}
3781 virtual int getval() override final { return this->n * 2; }
3784 class nocopy
3786 public:
3787 nocopy(int i): i(i) {}
3788 nocopy() = default;
3789 nocopy(const nocopy&) = delete;
3790 nocopy & operator=(const nocopy&) = delete;
3791 private:
3792 int i;
3795 // for testing lambda expressions
3796 template <typename Ret, typename Fn> Ret eval(Fn f, Ret v)
3798 return f(v);
3801 // for testing variadic templates and trailing return types
3802 template <typename V> auto sum(V first) -> V
3804 return first;
3806 template <typename V, typename... Args> auto sum(V first, Args... rest) -> V
3808 return first + sum(rest...);
3813 # Test code for whether the C++ compiler supports C++11 (body of main)
3814 ac_cxx_conftest_cxx11_main='
3816 // Test auto and decltype
3817 auto a1 = 6538;
3818 auto a2 = 48573953.4;
3819 auto a3 = "String literal";
3821 int total = 0;
3822 for (auto i = a3; *i; ++i) { total += *i; }
3824 decltype(a2) a4 = 34895.034;
3827 // Test constexpr
3828 short sa[cxx11test::get_val()] = { 0 };
3831 // Test initializer lists
3832 cxx11test::testinit il = { 4323, 435234.23544 };
3835 // Test range-based for
3836 int array[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3,
3837 14, 19, 17, 8, 6, 20, 16, 2, 11, 1};
3838 for (auto &x : array) { x += 23; }
3841 // Test lambda expressions
3842 using cxx11test::eval;
3843 assert (eval ([](int x) { return x*2; }, 21) == 42);
3844 double d = 2.0;
3845 assert (eval ([&](double x) { return d += x; }, 3.0) == 5.0);
3846 assert (d == 5.0);
3847 assert (eval ([=](double x) mutable { return d += x; }, 4.0) == 9.0);
3848 assert (d == 5.0);
3851 // Test use of variadic templates
3852 using cxx11test::sum;
3853 auto a = sum(1);
3854 auto b = sum(1, 2);
3855 auto c = sum(1.0, 2.0, 3.0);
3858 // Test constructor delegation
3859 cxx11test::delegate d1;
3860 cxx11test::delegate d2();
3861 cxx11test::delegate d3(45);
3864 // Test override and final
3865 cxx11test::overridden o1(55464);
3868 // Test nullptr
3869 char *c = nullptr;
3872 // Test template brackets
3873 test_template<::test_template<int>> v(test_template<int>(12));
3876 // Unicode literals
3877 char const *utf8 = u8"UTF-8 string \u2500";
3878 char16_t const *utf16 = u"UTF-8 string \u2500";
3879 char32_t const *utf32 = U"UTF-32 string \u2500";
3883 # Test code for whether the C compiler supports C++11 (complete).
3884 ac_cxx_conftest_cxx11_program="${ac_cxx_conftest_cxx98_globals}
3885 ${ac_cxx_conftest_cxx11_globals}
3888 main (int argc, char **argv)
3890 int ok = 0;
3891 ${ac_cxx_conftest_cxx98_main}
3892 ${ac_cxx_conftest_cxx11_main}
3893 return ok;
3897 # Test code for whether the C compiler supports C++98 (complete).
3898 ac_cxx_conftest_cxx98_program="${ac_cxx_conftest_cxx98_globals}
3900 main (int argc, char **argv)
3902 int ok = 0;
3903 ${ac_cxx_conftest_cxx98_main}
3904 return ok;
3908 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
3909 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
3910 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
3911 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
3912 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
3913 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
3914 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
3915 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
3916 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
3918 # Auxiliary files required by this configure script.
3919 ac_aux_files="config.guess config.sub"
3921 # Locations in which to look for auxiliary files.
3922 ac_aux_dir_candidates="${srcdir}/tools"
3924 # Search for a directory containing all of the required auxiliary files,
3925 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
3926 # If we don't find one directory that contains all the files we need,
3927 # we report the set of missing files from the *first* directory in
3928 # $ac_aux_dir_candidates and give up.
3929 ac_missing_aux_files=""
3930 ac_first_candidate=:
3931 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
3932 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3933 as_found=false
3934 for as_dir in $ac_aux_dir_candidates
3936 IFS=$as_save_IFS
3937 case $as_dir in #(((
3938 '') as_dir=./ ;;
3939 */) ;;
3940 *) as_dir=$as_dir/ ;;
3941 esac
3942 as_found=:
3944 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
3945 ac_aux_dir_found=yes
3946 ac_install_sh=
3947 for ac_aux in $ac_aux_files
3949 # As a special case, if "install-sh" is required, that requirement
3950 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
3951 # and $ac_install_sh is set appropriately for whichever one is found.
3952 if test x"$ac_aux" = x"install-sh"
3953 then
3954 if test -f "${as_dir}install-sh"; then
3955 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
3956 ac_install_sh="${as_dir}install-sh -c"
3957 elif test -f "${as_dir}install.sh"; then
3958 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
3959 ac_install_sh="${as_dir}install.sh -c"
3960 elif test -f "${as_dir}shtool"; then
3961 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
3962 ac_install_sh="${as_dir}shtool install -c"
3963 else
3964 ac_aux_dir_found=no
3965 if $ac_first_candidate; then
3966 ac_missing_aux_files="${ac_missing_aux_files} install-sh"
3967 else
3968 break
3971 else
3972 if test -f "${as_dir}${ac_aux}"; then
3973 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
3974 else
3975 ac_aux_dir_found=no
3976 if $ac_first_candidate; then
3977 ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
3978 else
3979 break
3983 done
3984 if test "$ac_aux_dir_found" = yes; then
3985 ac_aux_dir="$as_dir"
3986 break
3988 ac_first_candidate=false
3990 as_found=false
3991 done
3992 IFS=$as_save_IFS
3993 if $as_found
3994 then :
3996 else $as_nop
3997 as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
4001 # These three variables are undocumented and unsupported,
4002 # and are intended to be withdrawn in a future Autoconf release.
4003 # They can cause serious problems if a builder's source tree is in a directory
4004 # whose full name contains unusual characters.
4005 if test -f "${ac_aux_dir}config.guess"; then
4006 ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
4008 if test -f "${ac_aux_dir}config.sub"; then
4009 ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
4011 if test -f "$ac_aux_dir/configure"; then
4012 ac_configure="$SHELL ${ac_aux_dir}configure"
4015 # Check that the precious variables saved in the cache have kept the same
4016 # value.
4017 ac_cache_corrupted=false
4018 for ac_var in $ac_precious_vars; do
4019 eval ac_old_set=\$ac_cv_env_${ac_var}_set
4020 eval ac_new_set=\$ac_env_${ac_var}_set
4021 eval ac_old_val=\$ac_cv_env_${ac_var}_value
4022 eval ac_new_val=\$ac_env_${ac_var}_value
4023 case $ac_old_set,$ac_new_set in
4024 set,)
4025 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
4026 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
4027 ac_cache_corrupted=: ;;
4028 ,set)
4029 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
4030 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
4031 ac_cache_corrupted=: ;;
4032 ,);;
4034 if test "x$ac_old_val" != "x$ac_new_val"; then
4035 # differences in whitespace do not lead to failure.
4036 ac_old_val_w=`echo x $ac_old_val`
4037 ac_new_val_w=`echo x $ac_new_val`
4038 if test "$ac_old_val_w" != "$ac_new_val_w"; then
4039 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
4040 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
4041 ac_cache_corrupted=:
4042 else
4043 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
4044 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
4045 eval $ac_var=\$ac_old_val
4047 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
4048 printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
4049 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
4050 printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
4051 fi;;
4052 esac
4053 # Pass precious variables to config.status.
4054 if test "$ac_new_set" = set; then
4055 case $ac_new_val in
4056 *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
4057 *) ac_arg=$ac_var=$ac_new_val ;;
4058 esac
4059 case " $ac_configure_args " in
4060 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
4061 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
4062 esac
4064 done
4065 if $ac_cache_corrupted; then
4066 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4067 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4068 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
4069 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
4070 as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
4071 and start over" "$LINENO" 5
4073 ## -------------------- ##
4074 ## Main body of script. ##
4075 ## -------------------- ##
4077 ac_ext=c
4078 ac_cpp='$CPP $CPPFLAGS'
4079 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4080 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4081 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4085 ac_config_headers="$ac_config_headers include/config.h"
4089 libwine_version="1.0"
4092 # Check whether --enable-archs was given.
4093 if test ${enable_archs+y}
4094 then :
4095 enableval=$enable_archs;
4098 # Check whether --enable-win16 was given.
4099 if test ${enable_win16+y}
4100 then :
4101 enableval=$enable_win16;
4104 # Check whether --enable-win64 was given.
4105 if test ${enable_win64+y}
4106 then :
4107 enableval=$enable_win64;
4110 # Check whether --enable-tests was given.
4111 if test ${enable_tests+y}
4112 then :
4113 enableval=$enable_tests;
4116 # Check whether --enable-build-id was given.
4117 if test ${enable_build_id+y}
4118 then :
4119 enableval=$enable_build_id;
4122 # Check whether --enable-maintainer-mode was given.
4123 if test ${enable_maintainer_mode+y}
4124 then :
4125 enableval=$enable_maintainer_mode;
4128 # Check whether --enable-silent-rules was given.
4129 if test ${enable_silent_rules+y}
4130 then :
4131 enableval=$enable_silent_rules;
4134 # Check whether --enable-werror was given.
4135 if test ${enable_werror+y}
4136 then :
4137 enableval=$enable_werror;
4142 # Check whether --with-alsa was given.
4143 if test ${with_alsa+y}
4144 then :
4145 withval=$with_alsa;
4149 # Check whether --with-capi was given.
4150 if test ${with_capi+y}
4151 then :
4152 withval=$with_capi;
4156 # Check whether --with-coreaudio was given.
4157 if test ${with_coreaudio+y}
4158 then :
4159 withval=$with_coreaudio;
4163 # Check whether --with-cups was given.
4164 if test ${with_cups+y}
4165 then :
4166 withval=$with_cups;
4170 # Check whether --with-dbus was given.
4171 if test ${with_dbus+y}
4172 then :
4173 withval=$with_dbus;
4177 # Check whether --with-float-abi was given.
4178 if test ${with_float_abi+y}
4179 then :
4180 withval=$with_float_abi;
4184 # Check whether --with-fontconfig was given.
4185 if test ${with_fontconfig+y}
4186 then :
4187 withval=$with_fontconfig;
4191 # Check whether --with-freetype was given.
4192 if test ${with_freetype+y}
4193 then :
4194 withval=$with_freetype;
4198 # Check whether --with-gettext was given.
4199 if test ${with_gettext+y}
4200 then :
4201 withval=$with_gettext;
4205 # Check whether --with-gettextpo was given.
4206 if test ${with_gettextpo+y}
4207 then :
4208 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
4212 # Check whether --with-gphoto was given.
4213 if test ${with_gphoto+y}
4214 then :
4215 withval=$with_gphoto;
4219 # Check whether --with-gnutls was given.
4220 if test ${with_gnutls+y}
4221 then :
4222 withval=$with_gnutls;
4226 # Check whether --with-gssapi was given.
4227 if test ${with_gssapi+y}
4228 then :
4229 withval=$with_gssapi;
4233 # Check whether --with-gstreamer was given.
4234 if test ${with_gstreamer+y}
4235 then :
4236 withval=$with_gstreamer;
4240 # Check whether --with-inotify was given.
4241 if test ${with_inotify+y}
4242 then :
4243 withval=$with_inotify;
4247 # Check whether --with-krb5 was given.
4248 if test ${with_krb5+y}
4249 then :
4250 withval=$with_krb5;
4254 # Check whether --with-mingw was given.
4255 if test ${with_mingw+y}
4256 then :
4257 withval=$with_mingw;
4261 # Check whether --with-netapi was given.
4262 if test ${with_netapi+y}
4263 then :
4264 withval=$with_netapi;
4268 # Check whether --with-opencl was given.
4269 if test ${with_opencl+y}
4270 then :
4271 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4275 # Check whether --with-opengl was given.
4276 if test ${with_opengl+y}
4277 then :
4278 withval=$with_opengl;
4282 # Check whether --with-osmesa was given.
4283 if test ${with_osmesa+y}
4284 then :
4285 withval=$with_osmesa;
4289 # Check whether --with-oss was given.
4290 if test ${with_oss+y}
4291 then :
4292 withval=$with_oss;
4296 # Check whether --with-pcap was given.
4297 if test ${with_pcap+y}
4298 then :
4299 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4303 # Check whether --with-pthread was given.
4304 if test ${with_pthread+y}
4305 then :
4306 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4310 # Check whether --with-pulse was given.
4311 if test ${with_pulse+y}
4312 then :
4313 withval=$with_pulse;
4317 # Check whether --with-sane was given.
4318 if test ${with_sane+y}
4319 then :
4320 withval=$with_sane;
4324 # Check whether --with-sdl was given.
4325 if test ${with_sdl+y}
4326 then :
4327 withval=$with_sdl;
4331 # Check whether --with-udev was given.
4332 if test ${with_udev+y}
4333 then :
4334 withval=$with_udev;
4338 # Check whether --with-unwind was given.
4339 if test ${with_unwind+y}
4340 then :
4341 withval=$with_unwind;
4345 # Check whether --with-usb was given.
4346 if test ${with_usb+y}
4347 then :
4348 withval=$with_usb;
4352 # Check whether --with-v4l2 was given.
4353 if test ${with_v4l2+y}
4354 then :
4355 withval=$with_v4l2;
4359 # Check whether --with-vulkan was given.
4360 if test ${with_vulkan+y}
4361 then :
4362 withval=$with_vulkan;
4366 # Check whether --with-xcomposite was given.
4367 if test ${with_xcomposite+y}
4368 then :
4369 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4373 # Check whether --with-xcursor was given.
4374 if test ${with_xcursor+y}
4375 then :
4376 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4380 # Check whether --with-xfixes was given.
4381 if test ${with_xfixes+y}
4382 then :
4383 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4387 # Check whether --with-xinerama was given.
4388 if test ${with_xinerama+y}
4389 then :
4390 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4394 # Check whether --with-xinput was given.
4395 if test ${with_xinput+y}
4396 then :
4397 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4401 # Check whether --with-xinput2 was given.
4402 if test ${with_xinput2+y}
4403 then :
4404 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4408 # Check whether --with-xrandr was given.
4409 if test ${with_xrandr+y}
4410 then :
4411 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4415 # Check whether --with-xrender was given.
4416 if test ${with_xrender+y}
4417 then :
4418 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4422 # Check whether --with-xshape was given.
4423 if test ${with_xshape+y}
4424 then :
4425 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4429 # Check whether --with-xshm was given.
4430 if test ${with_xshm+y}
4431 then :
4432 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4436 # Check whether --with-xxf86vm was given.
4437 if test ${with_xxf86vm+y}
4438 then :
4439 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
4444 # Check whether --with-system-dllpath was given.
4445 if test ${with_system_dllpath+y}
4446 then :
4447 withval=$with_system_dllpath; system_dllpath=$withval
4452 # Check whether --with-wine-tools was given.
4453 if test ${with_wine_tools+y}
4454 then :
4455 withval=$with_wine_tools;
4459 # Check whether --with-wine64 was given.
4460 if test ${with_wine64+y}
4461 then :
4462 withval=$with_wine64;
4469 # Make sure we can run config.sub.
4470 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
4471 as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
4473 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4474 printf %s "checking build system type... " >&6; }
4475 if test ${ac_cv_build+y}
4476 then :
4477 printf %s "(cached) " >&6
4478 else $as_nop
4479 ac_build_alias=$build_alias
4480 test "x$ac_build_alias" = x &&
4481 ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
4482 test "x$ac_build_alias" = x &&
4483 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4484 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
4485 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
4488 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4489 printf "%s\n" "$ac_cv_build" >&6; }
4490 case $ac_cv_build in
4491 *-*-*) ;;
4492 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4493 esac
4494 build=$ac_cv_build
4495 ac_save_IFS=$IFS; IFS='-'
4496 set x $ac_cv_build
4497 shift
4498 build_cpu=$1
4499 build_vendor=$2
4500 shift; shift
4501 # Remember, the first character of IFS is used to create $*,
4502 # except with old shells:
4503 build_os=$*
4504 IFS=$ac_save_IFS
4505 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4508 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4509 printf %s "checking host system type... " >&6; }
4510 if test ${ac_cv_host+y}
4511 then :
4512 printf %s "(cached) " >&6
4513 else $as_nop
4514 if test "x$host_alias" = x; then
4515 ac_cv_host=$ac_cv_build
4516 else
4517 ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
4518 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
4522 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4523 printf "%s\n" "$ac_cv_host" >&6; }
4524 case $ac_cv_host in
4525 *-*-*) ;;
4526 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4527 esac
4528 host=$ac_cv_host
4529 ac_save_IFS=$IFS; IFS='-'
4530 set x $ac_cv_host
4531 shift
4532 host_cpu=$1
4533 host_vendor=$2
4534 shift; shift
4535 # Remember, the first character of IFS is used to create $*,
4536 # except with old shells:
4537 host_os=$*
4538 IFS=$ac_save_IFS
4539 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4543 dlldir=\${libdir}/wine
4545 fontdir=\${datadir}/wine/fonts
4547 nlsdir=\${datadir}/wine/nls
4552 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4553 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4554 set x ${MAKE-make}
4555 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4556 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
4557 then :
4558 printf %s "(cached) " >&6
4559 else $as_nop
4560 cat >conftest.make <<\_ACEOF
4561 SHELL = /bin/sh
4562 all:
4563 @echo '@@@%%%=$(MAKE)=@@@%%%'
4564 _ACEOF
4565 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4566 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4567 *@@@%%%=?*=@@@%%%*)
4568 eval ac_cv_prog_make_${ac_make}_set=yes;;
4570 eval ac_cv_prog_make_${ac_make}_set=no;;
4571 esac
4572 rm -f conftest.make
4574 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4575 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4576 printf "%s\n" "yes" >&6; }
4577 SET_MAKE=
4578 else
4579 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4580 printf "%s\n" "no" >&6; }
4581 SET_MAKE="MAKE=${MAKE-make}"
4593 ac_ext=c
4594 ac_cpp='$CPP $CPPFLAGS'
4595 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4596 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4597 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4598 if test -n "$ac_tool_prefix"; then
4599 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4600 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4601 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4602 printf %s "checking for $ac_word... " >&6; }
4603 if test ${ac_cv_prog_CC+y}
4604 then :
4605 printf %s "(cached) " >&6
4606 else $as_nop
4607 if test -n "$CC"; then
4608 ac_cv_prog_CC="$CC" # Let the user override the test.
4609 else
4610 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4611 for as_dir in $PATH
4613 IFS=$as_save_IFS
4614 case $as_dir in #(((
4615 '') as_dir=./ ;;
4616 */) ;;
4617 *) as_dir=$as_dir/ ;;
4618 esac
4619 for ac_exec_ext in '' $ac_executable_extensions; do
4620 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4621 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4622 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4623 break 2
4625 done
4626 done
4627 IFS=$as_save_IFS
4631 CC=$ac_cv_prog_CC
4632 if test -n "$CC"; then
4633 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4634 printf "%s\n" "$CC" >&6; }
4635 else
4636 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4637 printf "%s\n" "no" >&6; }
4642 if test -z "$ac_cv_prog_CC"; then
4643 ac_ct_CC=$CC
4644 # Extract the first word of "gcc", so it can be a program name with args.
4645 set dummy gcc; ac_word=$2
4646 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4647 printf %s "checking for $ac_word... " >&6; }
4648 if test ${ac_cv_prog_ac_ct_CC+y}
4649 then :
4650 printf %s "(cached) " >&6
4651 else $as_nop
4652 if test -n "$ac_ct_CC"; then
4653 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4654 else
4655 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4656 for as_dir in $PATH
4658 IFS=$as_save_IFS
4659 case $as_dir in #(((
4660 '') as_dir=./ ;;
4661 */) ;;
4662 *) as_dir=$as_dir/ ;;
4663 esac
4664 for ac_exec_ext in '' $ac_executable_extensions; do
4665 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4666 ac_cv_prog_ac_ct_CC="gcc"
4667 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4668 break 2
4670 done
4671 done
4672 IFS=$as_save_IFS
4676 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4677 if test -n "$ac_ct_CC"; then
4678 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4679 printf "%s\n" "$ac_ct_CC" >&6; }
4680 else
4681 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4682 printf "%s\n" "no" >&6; }
4685 if test "x$ac_ct_CC" = x; then
4686 CC=""
4687 else
4688 case $cross_compiling:$ac_tool_warned in
4689 yes:)
4690 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4691 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4692 ac_tool_warned=yes ;;
4693 esac
4694 CC=$ac_ct_CC
4696 else
4697 CC="$ac_cv_prog_CC"
4700 if test -z "$CC"; then
4701 if test -n "$ac_tool_prefix"; then
4702 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4703 set dummy ${ac_tool_prefix}cc; ac_word=$2
4704 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4705 printf %s "checking for $ac_word... " >&6; }
4706 if test ${ac_cv_prog_CC+y}
4707 then :
4708 printf %s "(cached) " >&6
4709 else $as_nop
4710 if test -n "$CC"; then
4711 ac_cv_prog_CC="$CC" # Let the user override the test.
4712 else
4713 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4714 for as_dir in $PATH
4716 IFS=$as_save_IFS
4717 case $as_dir in #(((
4718 '') as_dir=./ ;;
4719 */) ;;
4720 *) as_dir=$as_dir/ ;;
4721 esac
4722 for ac_exec_ext in '' $ac_executable_extensions; do
4723 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4724 ac_cv_prog_CC="${ac_tool_prefix}cc"
4725 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4726 break 2
4728 done
4729 done
4730 IFS=$as_save_IFS
4734 CC=$ac_cv_prog_CC
4735 if test -n "$CC"; then
4736 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4737 printf "%s\n" "$CC" >&6; }
4738 else
4739 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4740 printf "%s\n" "no" >&6; }
4746 if test -z "$CC"; then
4747 # Extract the first word of "cc", so it can be a program name with args.
4748 set dummy cc; ac_word=$2
4749 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4750 printf %s "checking for $ac_word... " >&6; }
4751 if test ${ac_cv_prog_CC+y}
4752 then :
4753 printf %s "(cached) " >&6
4754 else $as_nop
4755 if test -n "$CC"; then
4756 ac_cv_prog_CC="$CC" # Let the user override the test.
4757 else
4758 ac_prog_rejected=no
4759 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4760 for as_dir in $PATH
4762 IFS=$as_save_IFS
4763 case $as_dir in #(((
4764 '') as_dir=./ ;;
4765 */) ;;
4766 *) as_dir=$as_dir/ ;;
4767 esac
4768 for ac_exec_ext in '' $ac_executable_extensions; do
4769 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4770 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4771 ac_prog_rejected=yes
4772 continue
4774 ac_cv_prog_CC="cc"
4775 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4776 break 2
4778 done
4779 done
4780 IFS=$as_save_IFS
4782 if test $ac_prog_rejected = yes; then
4783 # We found a bogon in the path, so make sure we never use it.
4784 set dummy $ac_cv_prog_CC
4785 shift
4786 if test $# != 0; then
4787 # We chose a different compiler from the bogus one.
4788 # However, it has the same basename, so the bogon will be chosen
4789 # first if we set CC to just the basename; use the full file name.
4790 shift
4791 ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
4796 CC=$ac_cv_prog_CC
4797 if test -n "$CC"; then
4798 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4799 printf "%s\n" "$CC" >&6; }
4800 else
4801 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4802 printf "%s\n" "no" >&6; }
4807 if test -z "$CC"; then
4808 if test -n "$ac_tool_prefix"; then
4809 for ac_prog in cl.exe
4811 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4812 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4813 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4814 printf %s "checking for $ac_word... " >&6; }
4815 if test ${ac_cv_prog_CC+y}
4816 then :
4817 printf %s "(cached) " >&6
4818 else $as_nop
4819 if test -n "$CC"; then
4820 ac_cv_prog_CC="$CC" # Let the user override the test.
4821 else
4822 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4823 for as_dir in $PATH
4825 IFS=$as_save_IFS
4826 case $as_dir in #(((
4827 '') as_dir=./ ;;
4828 */) ;;
4829 *) as_dir=$as_dir/ ;;
4830 esac
4831 for ac_exec_ext in '' $ac_executable_extensions; do
4832 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4833 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4834 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4835 break 2
4837 done
4838 done
4839 IFS=$as_save_IFS
4843 CC=$ac_cv_prog_CC
4844 if test -n "$CC"; then
4845 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4846 printf "%s\n" "$CC" >&6; }
4847 else
4848 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4849 printf "%s\n" "no" >&6; }
4853 test -n "$CC" && break
4854 done
4856 if test -z "$CC"; then
4857 ac_ct_CC=$CC
4858 for ac_prog in cl.exe
4860 # Extract the first word of "$ac_prog", so it can be a program name with args.
4861 set dummy $ac_prog; ac_word=$2
4862 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4863 printf %s "checking for $ac_word... " >&6; }
4864 if test ${ac_cv_prog_ac_ct_CC+y}
4865 then :
4866 printf %s "(cached) " >&6
4867 else $as_nop
4868 if test -n "$ac_ct_CC"; then
4869 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4870 else
4871 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4872 for as_dir in $PATH
4874 IFS=$as_save_IFS
4875 case $as_dir in #(((
4876 '') as_dir=./ ;;
4877 */) ;;
4878 *) as_dir=$as_dir/ ;;
4879 esac
4880 for ac_exec_ext in '' $ac_executable_extensions; do
4881 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4882 ac_cv_prog_ac_ct_CC="$ac_prog"
4883 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4884 break 2
4886 done
4887 done
4888 IFS=$as_save_IFS
4892 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4893 if test -n "$ac_ct_CC"; then
4894 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4895 printf "%s\n" "$ac_ct_CC" >&6; }
4896 else
4897 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4898 printf "%s\n" "no" >&6; }
4902 test -n "$ac_ct_CC" && break
4903 done
4905 if test "x$ac_ct_CC" = x; then
4906 CC=""
4907 else
4908 case $cross_compiling:$ac_tool_warned in
4909 yes:)
4910 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4911 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4912 ac_tool_warned=yes ;;
4913 esac
4914 CC=$ac_ct_CC
4919 if test -z "$CC"; then
4920 if test -n "$ac_tool_prefix"; then
4921 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
4922 set dummy ${ac_tool_prefix}clang; ac_word=$2
4923 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4924 printf %s "checking for $ac_word... " >&6; }
4925 if test ${ac_cv_prog_CC+y}
4926 then :
4927 printf %s "(cached) " >&6
4928 else $as_nop
4929 if test -n "$CC"; then
4930 ac_cv_prog_CC="$CC" # Let the user override the test.
4931 else
4932 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4933 for as_dir in $PATH
4935 IFS=$as_save_IFS
4936 case $as_dir in #(((
4937 '') as_dir=./ ;;
4938 */) ;;
4939 *) as_dir=$as_dir/ ;;
4940 esac
4941 for ac_exec_ext in '' $ac_executable_extensions; do
4942 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4943 ac_cv_prog_CC="${ac_tool_prefix}clang"
4944 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4945 break 2
4947 done
4948 done
4949 IFS=$as_save_IFS
4953 CC=$ac_cv_prog_CC
4954 if test -n "$CC"; then
4955 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4956 printf "%s\n" "$CC" >&6; }
4957 else
4958 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4959 printf "%s\n" "no" >&6; }
4964 if test -z "$ac_cv_prog_CC"; then
4965 ac_ct_CC=$CC
4966 # Extract the first word of "clang", so it can be a program name with args.
4967 set dummy clang; ac_word=$2
4968 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4969 printf %s "checking for $ac_word... " >&6; }
4970 if test ${ac_cv_prog_ac_ct_CC+y}
4971 then :
4972 printf %s "(cached) " >&6
4973 else $as_nop
4974 if test -n "$ac_ct_CC"; then
4975 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4976 else
4977 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4978 for as_dir in $PATH
4980 IFS=$as_save_IFS
4981 case $as_dir in #(((
4982 '') as_dir=./ ;;
4983 */) ;;
4984 *) as_dir=$as_dir/ ;;
4985 esac
4986 for ac_exec_ext in '' $ac_executable_extensions; do
4987 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4988 ac_cv_prog_ac_ct_CC="clang"
4989 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4990 break 2
4992 done
4993 done
4994 IFS=$as_save_IFS
4998 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4999 if test -n "$ac_ct_CC"; then
5000 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5001 printf "%s\n" "$ac_ct_CC" >&6; }
5002 else
5003 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5004 printf "%s\n" "no" >&6; }
5007 if test "x$ac_ct_CC" = x; then
5008 CC=""
5009 else
5010 case $cross_compiling:$ac_tool_warned in
5011 yes:)
5012 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5013 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5014 ac_tool_warned=yes ;;
5015 esac
5016 CC=$ac_ct_CC
5018 else
5019 CC="$ac_cv_prog_CC"
5025 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5026 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5027 as_fn_error $? "no acceptable C compiler found in \$PATH
5028 See \`config.log' for more details" "$LINENO" 5; }
5030 # Provide some information about the compiler.
5031 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5032 set X $ac_compile
5033 ac_compiler=$2
5034 for ac_option in --version -v -V -qversion -version; do
5035 { { ac_try="$ac_compiler $ac_option >&5"
5036 case "(($ac_try" in
5037 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5038 *) ac_try_echo=$ac_try;;
5039 esac
5040 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5041 printf "%s\n" "$ac_try_echo"; } >&5
5042 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5043 ac_status=$?
5044 if test -s conftest.err; then
5045 sed '10a\
5046 ... rest of stderr output deleted ...
5047 10q' conftest.err >conftest.er1
5048 cat conftest.er1 >&5
5050 rm -f conftest.er1 conftest.err
5051 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5052 test $ac_status = 0; }
5053 done
5055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5056 /* end confdefs.h. */
5059 main (void)
5063 return 0;
5065 _ACEOF
5066 ac_clean_files_save=$ac_clean_files
5067 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
5068 # Try to create an executable without -o first, disregard a.out.
5069 # It will help us diagnose broken compilers, and finding out an intuition
5070 # of exeext.
5071 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
5072 printf %s "checking whether the C compiler works... " >&6; }
5073 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
5075 # The possible output files:
5076 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
5078 ac_rmfiles=
5079 for ac_file in $ac_files
5081 case $ac_file in
5082 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5083 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
5084 esac
5085 done
5086 rm -f $ac_rmfiles
5088 if { { ac_try="$ac_link_default"
5089 case "(($ac_try" in
5090 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5091 *) ac_try_echo=$ac_try;;
5092 esac
5093 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5094 printf "%s\n" "$ac_try_echo"; } >&5
5095 (eval "$ac_link_default") 2>&5
5096 ac_status=$?
5097 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5098 test $ac_status = 0; }
5099 then :
5100 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
5101 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
5102 # in a Makefile. We should not override ac_cv_exeext if it was cached,
5103 # so that the user can short-circuit this test for compilers unknown to
5104 # Autoconf.
5105 for ac_file in $ac_files ''
5107 test -f "$ac_file" || continue
5108 case $ac_file in
5109 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
5111 [ab].out )
5112 # We found the default executable, but exeext='' is most
5113 # certainly right.
5114 break;;
5115 *.* )
5116 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
5117 then :; else
5118 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5120 # We set ac_cv_exeext here because the later test for it is not
5121 # safe: cross compilers may not add the suffix if given an `-o'
5122 # argument, so we may need to know it at that point already.
5123 # Even if this section looks crufty: it has the advantage of
5124 # actually working.
5125 break;;
5127 break;;
5128 esac
5129 done
5130 test "$ac_cv_exeext" = no && ac_cv_exeext=
5132 else $as_nop
5133 ac_file=''
5135 if test -z "$ac_file"
5136 then :
5137 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5138 printf "%s\n" "no" >&6; }
5139 printf "%s\n" "$as_me: failed program was:" >&5
5140 sed 's/^/| /' conftest.$ac_ext >&5
5142 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5143 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5144 as_fn_error 77 "C compiler cannot create executables
5145 See \`config.log' for more details" "$LINENO" 5; }
5146 else $as_nop
5147 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5148 printf "%s\n" "yes" >&6; }
5150 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
5151 printf %s "checking for C compiler default output file name... " >&6; }
5152 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
5153 printf "%s\n" "$ac_file" >&6; }
5154 ac_exeext=$ac_cv_exeext
5156 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
5157 ac_clean_files=$ac_clean_files_save
5158 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
5159 printf %s "checking for suffix of executables... " >&6; }
5160 if { { ac_try="$ac_link"
5161 case "(($ac_try" in
5162 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5163 *) ac_try_echo=$ac_try;;
5164 esac
5165 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5166 printf "%s\n" "$ac_try_echo"; } >&5
5167 (eval "$ac_link") 2>&5
5168 ac_status=$?
5169 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5170 test $ac_status = 0; }
5171 then :
5172 # If both `conftest.exe' and `conftest' are `present' (well, observable)
5173 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
5174 # work properly (i.e., refer to `conftest.exe'), while it won't with
5175 # `rm'.
5176 for ac_file in conftest.exe conftest conftest.*; do
5177 test -f "$ac_file" || continue
5178 case $ac_file in
5179 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5180 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5181 break;;
5182 * ) break;;
5183 esac
5184 done
5185 else $as_nop
5186 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5187 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5188 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
5189 See \`config.log' for more details" "$LINENO" 5; }
5191 rm -f conftest conftest$ac_cv_exeext
5192 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
5193 printf "%s\n" "$ac_cv_exeext" >&6; }
5195 rm -f conftest.$ac_ext
5196 EXEEXT=$ac_cv_exeext
5197 ac_exeext=$EXEEXT
5198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5199 /* end confdefs.h. */
5200 #include <stdio.h>
5202 main (void)
5204 FILE *f = fopen ("conftest.out", "w");
5205 return ferror (f) || fclose (f) != 0;
5208 return 0;
5210 _ACEOF
5211 ac_clean_files="$ac_clean_files conftest.out"
5212 # Check that the compiler produces executables we can run. If not, either
5213 # the compiler is broken, or we cross compile.
5214 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
5215 printf %s "checking whether we are cross compiling... " >&6; }
5216 if test "$cross_compiling" != yes; then
5217 { { ac_try="$ac_link"
5218 case "(($ac_try" in
5219 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5220 *) ac_try_echo=$ac_try;;
5221 esac
5222 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5223 printf "%s\n" "$ac_try_echo"; } >&5
5224 (eval "$ac_link") 2>&5
5225 ac_status=$?
5226 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5227 test $ac_status = 0; }
5228 if { ac_try='./conftest$ac_cv_exeext'
5229 { { case "(($ac_try" in
5230 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5231 *) ac_try_echo=$ac_try;;
5232 esac
5233 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5234 printf "%s\n" "$ac_try_echo"; } >&5
5235 (eval "$ac_try") 2>&5
5236 ac_status=$?
5237 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5238 test $ac_status = 0; }; }; then
5239 cross_compiling=no
5240 else
5241 if test "$cross_compiling" = maybe; then
5242 cross_compiling=yes
5243 else
5244 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5245 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5246 as_fn_error 77 "cannot run C compiled programs.
5247 If you meant to cross compile, use \`--host'.
5248 See \`config.log' for more details" "$LINENO" 5; }
5252 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
5253 printf "%s\n" "$cross_compiling" >&6; }
5255 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
5256 ac_clean_files=$ac_clean_files_save
5257 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
5258 printf %s "checking for suffix of object files... " >&6; }
5259 if test ${ac_cv_objext+y}
5260 then :
5261 printf %s "(cached) " >&6
5262 else $as_nop
5263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5264 /* end confdefs.h. */
5267 main (void)
5271 return 0;
5273 _ACEOF
5274 rm -f conftest.o conftest.obj
5275 if { { ac_try="$ac_compile"
5276 case "(($ac_try" in
5277 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5278 *) ac_try_echo=$ac_try;;
5279 esac
5280 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5281 printf "%s\n" "$ac_try_echo"; } >&5
5282 (eval "$ac_compile") 2>&5
5283 ac_status=$?
5284 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5285 test $ac_status = 0; }
5286 then :
5287 for ac_file in conftest.o conftest.obj conftest.*; do
5288 test -f "$ac_file" || continue;
5289 case $ac_file in
5290 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
5291 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
5292 break;;
5293 esac
5294 done
5295 else $as_nop
5296 printf "%s\n" "$as_me: failed program was:" >&5
5297 sed 's/^/| /' conftest.$ac_ext >&5
5299 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5300 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5301 as_fn_error $? "cannot compute suffix of object files: cannot compile
5302 See \`config.log' for more details" "$LINENO" 5; }
5304 rm -f conftest.$ac_cv_objext conftest.$ac_ext
5306 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
5307 printf "%s\n" "$ac_cv_objext" >&6; }
5308 OBJEXT=$ac_cv_objext
5309 ac_objext=$OBJEXT
5310 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
5311 printf %s "checking whether the compiler supports GNU C... " >&6; }
5312 if test ${ac_cv_c_compiler_gnu+y}
5313 then :
5314 printf %s "(cached) " >&6
5315 else $as_nop
5316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5317 /* end confdefs.h. */
5320 main (void)
5322 #ifndef __GNUC__
5323 choke me
5324 #endif
5327 return 0;
5329 _ACEOF
5330 if ac_fn_c_try_compile "$LINENO"
5331 then :
5332 ac_compiler_gnu=yes
5333 else $as_nop
5334 ac_compiler_gnu=no
5336 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5337 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5340 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5341 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
5342 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5344 if test $ac_compiler_gnu = yes; then
5345 GCC=yes
5346 else
5347 GCC=
5349 ac_test_CFLAGS=${CFLAGS+y}
5350 ac_save_CFLAGS=$CFLAGS
5351 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5352 printf %s "checking whether $CC accepts -g... " >&6; }
5353 if test ${ac_cv_prog_cc_g+y}
5354 then :
5355 printf %s "(cached) " >&6
5356 else $as_nop
5357 ac_save_c_werror_flag=$ac_c_werror_flag
5358 ac_c_werror_flag=yes
5359 ac_cv_prog_cc_g=no
5360 CFLAGS="-g"
5361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5362 /* end confdefs.h. */
5365 main (void)
5369 return 0;
5371 _ACEOF
5372 if ac_fn_c_try_compile "$LINENO"
5373 then :
5374 ac_cv_prog_cc_g=yes
5375 else $as_nop
5376 CFLAGS=""
5377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5378 /* end confdefs.h. */
5381 main (void)
5385 return 0;
5387 _ACEOF
5388 if ac_fn_c_try_compile "$LINENO"
5389 then :
5391 else $as_nop
5392 ac_c_werror_flag=$ac_save_c_werror_flag
5393 CFLAGS="-g"
5394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5395 /* end confdefs.h. */
5398 main (void)
5402 return 0;
5404 _ACEOF
5405 if ac_fn_c_try_compile "$LINENO"
5406 then :
5407 ac_cv_prog_cc_g=yes
5409 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5411 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5413 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5414 ac_c_werror_flag=$ac_save_c_werror_flag
5416 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5417 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
5418 if test $ac_test_CFLAGS; then
5419 CFLAGS=$ac_save_CFLAGS
5420 elif test $ac_cv_prog_cc_g = yes; then
5421 if test "$GCC" = yes; then
5422 CFLAGS="-g -O2"
5423 else
5424 CFLAGS="-g"
5426 else
5427 if test "$GCC" = yes; then
5428 CFLAGS="-O2"
5429 else
5430 CFLAGS=
5433 ac_prog_cc_stdc=no
5434 if test x$ac_prog_cc_stdc = xno
5435 then :
5436 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
5437 printf %s "checking for $CC option to enable C11 features... " >&6; }
5438 if test ${ac_cv_prog_cc_c11+y}
5439 then :
5440 printf %s "(cached) " >&6
5441 else $as_nop
5442 ac_cv_prog_cc_c11=no
5443 ac_save_CC=$CC
5444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5445 /* end confdefs.h. */
5446 $ac_c_conftest_c11_program
5447 _ACEOF
5448 for ac_arg in '' -std=gnu11
5450 CC="$ac_save_CC $ac_arg"
5451 if ac_fn_c_try_compile "$LINENO"
5452 then :
5453 ac_cv_prog_cc_c11=$ac_arg
5455 rm -f core conftest.err conftest.$ac_objext conftest.beam
5456 test "x$ac_cv_prog_cc_c11" != "xno" && break
5457 done
5458 rm -f conftest.$ac_ext
5459 CC=$ac_save_CC
5462 if test "x$ac_cv_prog_cc_c11" = xno
5463 then :
5464 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5465 printf "%s\n" "unsupported" >&6; }
5466 else $as_nop
5467 if test "x$ac_cv_prog_cc_c11" = x
5468 then :
5469 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5470 printf "%s\n" "none needed" >&6; }
5471 else $as_nop
5472 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
5473 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
5474 CC="$CC $ac_cv_prog_cc_c11"
5476 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
5477 ac_prog_cc_stdc=c11
5480 if test x$ac_prog_cc_stdc = xno
5481 then :
5482 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
5483 printf %s "checking for $CC option to enable C99 features... " >&6; }
5484 if test ${ac_cv_prog_cc_c99+y}
5485 then :
5486 printf %s "(cached) " >&6
5487 else $as_nop
5488 ac_cv_prog_cc_c99=no
5489 ac_save_CC=$CC
5490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5491 /* end confdefs.h. */
5492 $ac_c_conftest_c99_program
5493 _ACEOF
5494 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
5496 CC="$ac_save_CC $ac_arg"
5497 if ac_fn_c_try_compile "$LINENO"
5498 then :
5499 ac_cv_prog_cc_c99=$ac_arg
5501 rm -f core conftest.err conftest.$ac_objext conftest.beam
5502 test "x$ac_cv_prog_cc_c99" != "xno" && break
5503 done
5504 rm -f conftest.$ac_ext
5505 CC=$ac_save_CC
5508 if test "x$ac_cv_prog_cc_c99" = xno
5509 then :
5510 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5511 printf "%s\n" "unsupported" >&6; }
5512 else $as_nop
5513 if test "x$ac_cv_prog_cc_c99" = x
5514 then :
5515 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5516 printf "%s\n" "none needed" >&6; }
5517 else $as_nop
5518 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5519 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
5520 CC="$CC $ac_cv_prog_cc_c99"
5522 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
5523 ac_prog_cc_stdc=c99
5526 if test x$ac_prog_cc_stdc = xno
5527 then :
5528 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
5529 printf %s "checking for $CC option to enable C89 features... " >&6; }
5530 if test ${ac_cv_prog_cc_c89+y}
5531 then :
5532 printf %s "(cached) " >&6
5533 else $as_nop
5534 ac_cv_prog_cc_c89=no
5535 ac_save_CC=$CC
5536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5537 /* end confdefs.h. */
5538 $ac_c_conftest_c89_program
5539 _ACEOF
5540 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5542 CC="$ac_save_CC $ac_arg"
5543 if ac_fn_c_try_compile "$LINENO"
5544 then :
5545 ac_cv_prog_cc_c89=$ac_arg
5547 rm -f core conftest.err conftest.$ac_objext conftest.beam
5548 test "x$ac_cv_prog_cc_c89" != "xno" && break
5549 done
5550 rm -f conftest.$ac_ext
5551 CC=$ac_save_CC
5554 if test "x$ac_cv_prog_cc_c89" = xno
5555 then :
5556 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5557 printf "%s\n" "unsupported" >&6; }
5558 else $as_nop
5559 if test "x$ac_cv_prog_cc_c89" = x
5560 then :
5561 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5562 printf "%s\n" "none needed" >&6; }
5563 else $as_nop
5564 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5565 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
5566 CC="$CC $ac_cv_prog_cc_c89"
5568 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
5569 ac_prog_cc_stdc=c89
5573 ac_ext=c
5574 ac_cpp='$CPP $CPPFLAGS'
5575 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5576 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5577 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5585 ac_ext=cpp
5586 ac_cpp='$CXXCPP $CPPFLAGS'
5587 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5588 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5589 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5590 if test -z "$CXX"; then
5591 if test -n "$CCC"; then
5592 CXX=$CCC
5593 else
5594 if test -n "$ac_tool_prefix"; then
5595 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5597 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5598 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5599 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5600 printf %s "checking for $ac_word... " >&6; }
5601 if test ${ac_cv_prog_CXX+y}
5602 then :
5603 printf %s "(cached) " >&6
5604 else $as_nop
5605 if test -n "$CXX"; then
5606 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5607 else
5608 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5609 for as_dir in $PATH
5611 IFS=$as_save_IFS
5612 case $as_dir in #(((
5613 '') as_dir=./ ;;
5614 */) ;;
5615 *) as_dir=$as_dir/ ;;
5616 esac
5617 for ac_exec_ext in '' $ac_executable_extensions; do
5618 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5619 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5620 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5621 break 2
5623 done
5624 done
5625 IFS=$as_save_IFS
5629 CXX=$ac_cv_prog_CXX
5630 if test -n "$CXX"; then
5631 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5632 printf "%s\n" "$CXX" >&6; }
5633 else
5634 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5635 printf "%s\n" "no" >&6; }
5639 test -n "$CXX" && break
5640 done
5642 if test -z "$CXX"; then
5643 ac_ct_CXX=$CXX
5644 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5646 # Extract the first word of "$ac_prog", so it can be a program name with args.
5647 set dummy $ac_prog; ac_word=$2
5648 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5649 printf %s "checking for $ac_word... " >&6; }
5650 if test ${ac_cv_prog_ac_ct_CXX+y}
5651 then :
5652 printf %s "(cached) " >&6
5653 else $as_nop
5654 if test -n "$ac_ct_CXX"; then
5655 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5656 else
5657 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5658 for as_dir in $PATH
5660 IFS=$as_save_IFS
5661 case $as_dir in #(((
5662 '') as_dir=./ ;;
5663 */) ;;
5664 *) as_dir=$as_dir/ ;;
5665 esac
5666 for ac_exec_ext in '' $ac_executable_extensions; do
5667 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5668 ac_cv_prog_ac_ct_CXX="$ac_prog"
5669 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5670 break 2
5672 done
5673 done
5674 IFS=$as_save_IFS
5678 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5679 if test -n "$ac_ct_CXX"; then
5680 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5681 printf "%s\n" "$ac_ct_CXX" >&6; }
5682 else
5683 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5684 printf "%s\n" "no" >&6; }
5688 test -n "$ac_ct_CXX" && break
5689 done
5691 if test "x$ac_ct_CXX" = x; then
5692 CXX="g++"
5693 else
5694 case $cross_compiling:$ac_tool_warned in
5695 yes:)
5696 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5697 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5698 ac_tool_warned=yes ;;
5699 esac
5700 CXX=$ac_ct_CXX
5706 # Provide some information about the compiler.
5707 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5708 set X $ac_compile
5709 ac_compiler=$2
5710 for ac_option in --version -v -V -qversion; do
5711 { { ac_try="$ac_compiler $ac_option >&5"
5712 case "(($ac_try" in
5713 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5714 *) ac_try_echo=$ac_try;;
5715 esac
5716 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5717 printf "%s\n" "$ac_try_echo"; } >&5
5718 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5719 ac_status=$?
5720 if test -s conftest.err; then
5721 sed '10a\
5722 ... rest of stderr output deleted ...
5723 10q' conftest.err >conftest.er1
5724 cat conftest.er1 >&5
5726 rm -f conftest.er1 conftest.err
5727 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5728 test $ac_status = 0; }
5729 done
5731 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5
5732 printf %s "checking whether the compiler supports GNU C++... " >&6; }
5733 if test ${ac_cv_cxx_compiler_gnu+y}
5734 then :
5735 printf %s "(cached) " >&6
5736 else $as_nop
5737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5738 /* end confdefs.h. */
5741 main (void)
5743 #ifndef __GNUC__
5744 choke me
5745 #endif
5748 return 0;
5750 _ACEOF
5751 if ac_fn_cxx_try_compile "$LINENO"
5752 then :
5753 ac_compiler_gnu=yes
5754 else $as_nop
5755 ac_compiler_gnu=no
5757 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5758 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5761 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5762 printf "%s\n" "$ac_cv_cxx_compiler_gnu" >&6; }
5763 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5765 if test $ac_compiler_gnu = yes; then
5766 GXX=yes
5767 else
5768 GXX=
5770 ac_test_CXXFLAGS=${CXXFLAGS+y}
5771 ac_save_CXXFLAGS=$CXXFLAGS
5772 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5773 printf %s "checking whether $CXX accepts -g... " >&6; }
5774 if test ${ac_cv_prog_cxx_g+y}
5775 then :
5776 printf %s "(cached) " >&6
5777 else $as_nop
5778 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5779 ac_cxx_werror_flag=yes
5780 ac_cv_prog_cxx_g=no
5781 CXXFLAGS="-g"
5782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5783 /* end confdefs.h. */
5786 main (void)
5790 return 0;
5792 _ACEOF
5793 if ac_fn_cxx_try_compile "$LINENO"
5794 then :
5795 ac_cv_prog_cxx_g=yes
5796 else $as_nop
5797 CXXFLAGS=""
5798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5799 /* end confdefs.h. */
5802 main (void)
5806 return 0;
5808 _ACEOF
5809 if ac_fn_cxx_try_compile "$LINENO"
5810 then :
5812 else $as_nop
5813 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5814 CXXFLAGS="-g"
5815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5816 /* end confdefs.h. */
5819 main (void)
5823 return 0;
5825 _ACEOF
5826 if ac_fn_cxx_try_compile "$LINENO"
5827 then :
5828 ac_cv_prog_cxx_g=yes
5830 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5832 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5834 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5835 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5837 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5838 printf "%s\n" "$ac_cv_prog_cxx_g" >&6; }
5839 if test $ac_test_CXXFLAGS; then
5840 CXXFLAGS=$ac_save_CXXFLAGS
5841 elif test $ac_cv_prog_cxx_g = yes; then
5842 if test "$GXX" = yes; then
5843 CXXFLAGS="-g -O2"
5844 else
5845 CXXFLAGS="-g"
5847 else
5848 if test "$GXX" = yes; then
5849 CXXFLAGS="-O2"
5850 else
5851 CXXFLAGS=
5854 ac_prog_cxx_stdcxx=no
5855 if test x$ac_prog_cxx_stdcxx = xno
5856 then :
5857 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5
5858 printf %s "checking for $CXX option to enable C++11 features... " >&6; }
5859 if test ${ac_cv_prog_cxx_11+y}
5860 then :
5861 printf %s "(cached) " >&6
5862 else $as_nop
5863 ac_cv_prog_cxx_11=no
5864 ac_save_CXX=$CXX
5865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5866 /* end confdefs.h. */
5867 $ac_cxx_conftest_cxx11_program
5868 _ACEOF
5869 for ac_arg in '' -std=gnu++11 -std=gnu++0x -std=c++11 -std=c++0x -qlanglvl=extended0x -AA
5871 CXX="$ac_save_CXX $ac_arg"
5872 if ac_fn_cxx_try_compile "$LINENO"
5873 then :
5874 ac_cv_prog_cxx_cxx11=$ac_arg
5876 rm -f core conftest.err conftest.$ac_objext conftest.beam
5877 test "x$ac_cv_prog_cxx_cxx11" != "xno" && break
5878 done
5879 rm -f conftest.$ac_ext
5880 CXX=$ac_save_CXX
5883 if test "x$ac_cv_prog_cxx_cxx11" = xno
5884 then :
5885 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5886 printf "%s\n" "unsupported" >&6; }
5887 else $as_nop
5888 if test "x$ac_cv_prog_cxx_cxx11" = x
5889 then :
5890 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5891 printf "%s\n" "none needed" >&6; }
5892 else $as_nop
5893 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx11" >&5
5894 printf "%s\n" "$ac_cv_prog_cxx_cxx11" >&6; }
5895 CXX="$CXX $ac_cv_prog_cxx_cxx11"
5897 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx11
5898 ac_prog_cxx_stdcxx=cxx11
5901 if test x$ac_prog_cxx_stdcxx = xno
5902 then :
5903 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5
5904 printf %s "checking for $CXX option to enable C++98 features... " >&6; }
5905 if test ${ac_cv_prog_cxx_98+y}
5906 then :
5907 printf %s "(cached) " >&6
5908 else $as_nop
5909 ac_cv_prog_cxx_98=no
5910 ac_save_CXX=$CXX
5911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5912 /* end confdefs.h. */
5913 $ac_cxx_conftest_cxx98_program
5914 _ACEOF
5915 for ac_arg in '' -std=gnu++98 -std=c++98 -qlanglvl=extended -AA
5917 CXX="$ac_save_CXX $ac_arg"
5918 if ac_fn_cxx_try_compile "$LINENO"
5919 then :
5920 ac_cv_prog_cxx_cxx98=$ac_arg
5922 rm -f core conftest.err conftest.$ac_objext conftest.beam
5923 test "x$ac_cv_prog_cxx_cxx98" != "xno" && break
5924 done
5925 rm -f conftest.$ac_ext
5926 CXX=$ac_save_CXX
5929 if test "x$ac_cv_prog_cxx_cxx98" = xno
5930 then :
5931 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5932 printf "%s\n" "unsupported" >&6; }
5933 else $as_nop
5934 if test "x$ac_cv_prog_cxx_cxx98" = x
5935 then :
5936 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5937 printf "%s\n" "none needed" >&6; }
5938 else $as_nop
5939 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx98" >&5
5940 printf "%s\n" "$ac_cv_prog_cxx_cxx98" >&6; }
5941 CXX="$CXX $ac_cv_prog_cxx_cxx98"
5943 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx98
5944 ac_prog_cxx_stdcxx=cxx98
5948 ac_ext=c
5949 ac_cpp='$CPP $CPPFLAGS'
5950 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5951 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5952 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5954 if test -n "$ac_tool_prefix"; then
5955 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5956 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5957 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5958 printf %s "checking for $ac_word... " >&6; }
5959 if test ${ac_cv_prog_CPPBIN+y}
5960 then :
5961 printf %s "(cached) " >&6
5962 else $as_nop
5963 if test -n "$CPPBIN"; then
5964 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5965 else
5966 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5967 for as_dir in $PATH
5969 IFS=$as_save_IFS
5970 case $as_dir in #(((
5971 '') as_dir=./ ;;
5972 */) ;;
5973 *) as_dir=$as_dir/ ;;
5974 esac
5975 for ac_exec_ext in '' $ac_executable_extensions; do
5976 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5977 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5978 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5979 break 2
5981 done
5982 done
5983 IFS=$as_save_IFS
5987 CPPBIN=$ac_cv_prog_CPPBIN
5988 if test -n "$CPPBIN"; then
5989 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5990 printf "%s\n" "$CPPBIN" >&6; }
5991 else
5992 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5993 printf "%s\n" "no" >&6; }
5998 if test -z "$ac_cv_prog_CPPBIN"; then
5999 ac_ct_CPPBIN=$CPPBIN
6000 # Extract the first word of "cpp", so it can be a program name with args.
6001 set dummy cpp; ac_word=$2
6002 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6003 printf %s "checking for $ac_word... " >&6; }
6004 if test ${ac_cv_prog_ac_ct_CPPBIN+y}
6005 then :
6006 printf %s "(cached) " >&6
6007 else $as_nop
6008 if test -n "$ac_ct_CPPBIN"; then
6009 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
6010 else
6011 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6012 for as_dir in $PATH
6014 IFS=$as_save_IFS
6015 case $as_dir in #(((
6016 '') as_dir=./ ;;
6017 */) ;;
6018 *) as_dir=$as_dir/ ;;
6019 esac
6020 for ac_exec_ext in '' $ac_executable_extensions; do
6021 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6022 ac_cv_prog_ac_ct_CPPBIN="cpp"
6023 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6024 break 2
6026 done
6027 done
6028 IFS=$as_save_IFS
6032 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
6033 if test -n "$ac_ct_CPPBIN"; then
6034 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
6035 printf "%s\n" "$ac_ct_CPPBIN" >&6; }
6036 else
6037 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6038 printf "%s\n" "no" >&6; }
6041 if test "x$ac_ct_CPPBIN" = x; then
6042 CPPBIN="cpp"
6043 else
6044 case $cross_compiling:$ac_tool_warned in
6045 yes:)
6046 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6047 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6048 ac_tool_warned=yes ;;
6049 esac
6050 CPPBIN=$ac_ct_CPPBIN
6052 else
6053 CPPBIN="$ac_cv_prog_CPPBIN"
6057 printf "%s\n" "#define EXEEXT \"$ac_exeext\"" >>confdefs.h
6059 if test -n "$ac_tool_prefix"; then
6060 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
6061 set dummy ${ac_tool_prefix}ld; ac_word=$2
6062 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6063 printf %s "checking for $ac_word... " >&6; }
6064 if test ${ac_cv_prog_LD+y}
6065 then :
6066 printf %s "(cached) " >&6
6067 else $as_nop
6068 if test -n "$LD"; then
6069 ac_cv_prog_LD="$LD" # Let the user override the test.
6070 else
6071 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6072 for as_dir in $PATH
6074 IFS=$as_save_IFS
6075 case $as_dir in #(((
6076 '') as_dir=./ ;;
6077 */) ;;
6078 *) as_dir=$as_dir/ ;;
6079 esac
6080 for ac_exec_ext in '' $ac_executable_extensions; do
6081 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6082 ac_cv_prog_LD="${ac_tool_prefix}ld"
6083 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6084 break 2
6086 done
6087 done
6088 IFS=$as_save_IFS
6092 LD=$ac_cv_prog_LD
6093 if test -n "$LD"; then
6094 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6095 printf "%s\n" "$LD" >&6; }
6096 else
6097 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6098 printf "%s\n" "no" >&6; }
6103 if test -z "$ac_cv_prog_LD"; then
6104 ac_ct_LD=$LD
6105 # Extract the first word of "ld", so it can be a program name with args.
6106 set dummy ld; ac_word=$2
6107 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6108 printf %s "checking for $ac_word... " >&6; }
6109 if test ${ac_cv_prog_ac_ct_LD+y}
6110 then :
6111 printf %s "(cached) " >&6
6112 else $as_nop
6113 if test -n "$ac_ct_LD"; then
6114 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
6115 else
6116 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6117 for as_dir in $PATH
6119 IFS=$as_save_IFS
6120 case $as_dir in #(((
6121 '') as_dir=./ ;;
6122 */) ;;
6123 *) as_dir=$as_dir/ ;;
6124 esac
6125 for ac_exec_ext in '' $ac_executable_extensions; do
6126 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6127 ac_cv_prog_ac_ct_LD="ld"
6128 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6129 break 2
6131 done
6132 done
6133 IFS=$as_save_IFS
6137 ac_ct_LD=$ac_cv_prog_ac_ct_LD
6138 if test -n "$ac_ct_LD"; then
6139 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
6140 printf "%s\n" "$ac_ct_LD" >&6; }
6141 else
6142 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6143 printf "%s\n" "no" >&6; }
6146 if test "x$ac_ct_LD" = x; then
6147 LD=""
6148 else
6149 case $cross_compiling:$ac_tool_warned in
6150 yes:)
6151 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6152 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6153 ac_tool_warned=yes ;;
6154 esac
6155 LD=$ac_ct_LD
6157 else
6158 LD="$ac_cv_prog_LD"
6162 case $host in
6163 *-darwin*)
6164 with_fontconfig=${with_fontconfig:-no}
6166 *-mingw32*|*-cygwin*)
6167 enable_win16=${enable_win16:-no}
6168 with_mingw=${with_mingw:-no}
6170 esac
6173 case $host in
6174 x86_64*|amd64*)
6175 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes" -a x"$enable_archs" = x
6176 then
6177 CC="$CC -m32"
6178 CXX="$CXX -m32"
6180 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
6181 printf %s "checking whether $CC works... " >&6; }
6182 if test ${wine_cv_cc_m32+y}
6183 then :
6184 printf %s "(cached) " >&6
6185 else $as_nop
6186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6187 /* end confdefs.h. */
6190 main (void)
6194 return 0;
6196 _ACEOF
6197 if ac_fn_c_try_link "$LINENO"
6198 then :
6199 wine_cv_cc_m32=yes
6200 else $as_nop
6201 wine_cv_cc_m32=no
6203 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6204 conftest$ac_exeext conftest.$ac_ext
6206 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
6207 printf "%s\n" "$wine_cv_cc_m32" >&6; }
6208 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
6209 host_cpu="i386"
6210 notice_platform="32-bit "
6211 TARGETFLAGS="$TARGETFLAGS -m32"
6212 PKG_CONFIG_LIBDIR=${PKG_CONFIG_LIBDIR:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
6213 export PKG_CONFIG_LIBDIR
6214 with_unwind=${with_unwind:-no}
6215 else
6216 if test "x${GCC}" = "xyes"
6217 then
6218 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
6219 printf %s "checking whether $CC supports __builtin_ms_va_list... " >&6; }
6220 if test ${wine_cv_builtin_ms_va_list+y}
6221 then :
6222 printf %s "(cached) " >&6
6223 else $as_nop
6224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6225 /* end confdefs.h. */
6226 #include <stdarg.h>
6228 main (void)
6230 void func(__builtin_ms_va_list *args);
6232 return 0;
6234 _ACEOF
6235 if ac_fn_c_try_compile "$LINENO"
6236 then :
6237 wine_cv_builtin_ms_va_list=yes
6238 else $as_nop
6239 wine_cv_builtin_ms_va_list=no
6241 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6243 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
6244 printf "%s\n" "$wine_cv_builtin_ms_va_list" >&6; }
6245 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
6247 CC="$CC -m64"
6248 CXX="$CXX -m64"
6249 host_cpu="x86_64"
6250 notice_platform="64-bit "
6251 TARGETFLAGS="$TARGETFLAGS -m64"
6254 arm*)
6255 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb-2" >&5
6256 printf %s "checking whether $CC supports Thumb-2... " >&6; }
6257 if test ${wine_cv_thumb2+y}
6258 then :
6259 printf %s "(cached) " >&6
6260 else $as_nop
6261 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6262 /* end confdefs.h. */
6265 main (void)
6267 asm(".syntax unified\n\t.thumb\n\tldm r0,{r0-r8}");
6269 return 0;
6271 _ACEOF
6272 if ac_fn_c_try_link "$LINENO"
6273 then :
6274 wine_cv_thumb2=yes
6275 else $as_nop
6276 wine_cv_thumb2=no
6278 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6279 conftest$ac_exeext conftest.$ac_ext
6281 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb2" >&5
6282 printf "%s\n" "$wine_cv_thumb2" >&6; }
6283 if test x"$wine_cv_thumb2" = xyes
6284 then
6285 CFLAGS="$CFLAGS -mthumb"
6286 TARGETFLAGS="$TARGETFLAGS -mthumb"
6287 else
6288 CFLAGS="$CFLAGS -marm"
6289 TARGETFLAGS="$TARGETFLAGS -marm"
6291 case $with_float_abi in
6292 soft|softfp|hard)
6293 float_abi=$with_float_abi ;;
6295 case $host_os in
6296 *eabihf)
6297 float_abi=hard ;;
6299 float_abi=softfp
6300 saved_CFLAGS=$CFLAGS
6301 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
6302 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
6303 printf %s "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
6304 if test ${wine_cv_float_abi+y}
6305 then :
6306 printf %s "(cached) " >&6
6307 else $as_nop
6308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6309 /* end confdefs.h. */
6312 main (void)
6314 asm("vmrs r2,fpscr");
6316 return 0;
6318 _ACEOF
6319 if ac_fn_c_try_link "$LINENO"
6320 then :
6321 wine_cv_float_abi=yes
6322 else $as_nop
6323 wine_cv_float_abi=no
6325 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6326 conftest$ac_exeext conftest.$ac_ext
6328 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
6329 printf "%s\n" "$wine_cv_float_abi" >&6; }
6330 if test $wine_cv_float_abi = no
6331 then
6332 float_abi=soft
6333 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
6335 CFLAGS=$saved_CFLAGS
6336 esac
6338 esac
6339 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
6340 TARGETFLAGS="$TARGETFLAGS -mfloat-abi=$float_abi"
6342 i[3456789]86*)
6343 with_unwind=${with_unwind:-no}
6345 esac
6347 enable_win16=${enable_win16:-i386}
6348 enable_win64=${enable_win64:-no}
6349 enable_wow64=${enable_wow64:-aarch64,x86_64}
6350 enable_wow64win=${enable_wow64win:-aarch64,x86_64}
6351 enable_wow64cpu=${enable_wow64cpu:-x86_64}
6353 enable_winetest=${enable_winetest:-$enable_tests}
6355 if test "x$enable_win64" = "xyes"
6356 then
6357 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
6358 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
6361 case $build_os in
6362 cygwin*|mingw32*) toolsext=".exe"
6364 *) toolsext=""
6366 esac
6368 HOST_ARCH=unknown
6369 case "$host_cpu" in
6370 aarch64*) HOST_ARCH=aarch64 ;;
6371 arm*) HOST_ARCH=arm ;;
6372 i[3456789]86*) HOST_ARCH=i386 ;;
6373 x86_64) HOST_ARCH=x86_64 ;;
6374 esac
6377 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
6378 printf %s "checking for the directory containing the Wine tools... " >&6; }
6379 if test ${wine_cv_toolsdir+y}
6380 then :
6381 printf %s "(cached) " >&6
6382 else $as_nop
6383 wine_cv_toolsdir="$with_wine_tools"
6384 if test -z "$with_wine_tools"; then
6385 if test "$cross_compiling" = "yes"; then
6386 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
6387 elif test -n "$with_wine64"; then
6388 wine_cv_toolsdir="$with_wine64"
6392 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
6393 printf "%s\n" "$wine_cv_toolsdir" >&6; }
6394 if test -z "$wine_cv_toolsdir"; then
6395 wine_makedep=tools/makedep$toolsext
6396 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
6397 wine_makedep=$wine_cv_toolsdir/tools/makedep$toolsext
6398 enable_tools=${enable_tools:-no}
6399 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
6400 else
6401 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
6403 toolsdir=$wine_cv_toolsdir
6405 MAKEDEP=$wine_makedep
6407 RUNTESTFLAGS="-q -P wine"
6409 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'"
6412 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
6413 then
6414 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
6417 for ac_prog in flex
6419 # Extract the first word of "$ac_prog", so it can be a program name with args.
6420 set dummy $ac_prog; ac_word=$2
6421 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6422 printf %s "checking for $ac_word... " >&6; }
6423 if test ${ac_cv_prog_FLEX+y}
6424 then :
6425 printf %s "(cached) " >&6
6426 else $as_nop
6427 if test -n "$FLEX"; then
6428 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
6429 else
6430 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6431 for as_dir in $PATH
6433 IFS=$as_save_IFS
6434 case $as_dir in #(((
6435 '') as_dir=./ ;;
6436 */) ;;
6437 *) as_dir=$as_dir/ ;;
6438 esac
6439 for ac_exec_ext in '' $ac_executable_extensions; do
6440 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6441 ac_cv_prog_FLEX="$ac_prog"
6442 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6443 break 2
6445 done
6446 done
6447 IFS=$as_save_IFS
6451 FLEX=$ac_cv_prog_FLEX
6452 if test -n "$FLEX"; then
6453 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
6454 printf "%s\n" "$FLEX" >&6; }
6455 else
6456 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6457 printf "%s\n" "no" >&6; }
6461 test -n "$FLEX" && break
6462 done
6463 test -n "$FLEX" || FLEX="none"
6465 if test "$FLEX" = "none"
6466 then
6467 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
6469 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
6470 printf %s "checking whether flex is recent enough... " >&6; }
6471 if test ${wine_cv_recent_flex+y}
6472 then :
6473 printf %s "(cached) " >&6
6474 else $as_nop
6475 cat >conftest.l <<EOF
6476 %top{
6477 #include "prediluvian.h"
6481 if $FLEX -t conftest.l >/dev/null 2>&5
6482 then
6483 wine_cv_recent_flex=yes
6484 else
6485 wine_cv_recent_flex=no
6488 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
6489 printf "%s\n" "$wine_cv_recent_flex" >&6; }
6490 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
6492 for ac_prog in bison
6494 # Extract the first word of "$ac_prog", so it can be a program name with args.
6495 set dummy $ac_prog; ac_word=$2
6496 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6497 printf %s "checking for $ac_word... " >&6; }
6498 if test ${ac_cv_prog_BISON+y}
6499 then :
6500 printf %s "(cached) " >&6
6501 else $as_nop
6502 if test -n "$BISON"; then
6503 ac_cv_prog_BISON="$BISON" # Let the user override the test.
6504 else
6505 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6506 for as_dir in $PATH
6508 IFS=$as_save_IFS
6509 case $as_dir in #(((
6510 '') as_dir=./ ;;
6511 */) ;;
6512 *) as_dir=$as_dir/ ;;
6513 esac
6514 for ac_exec_ext in '' $ac_executable_extensions; do
6515 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6516 ac_cv_prog_BISON="$ac_prog"
6517 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6518 break 2
6520 done
6521 done
6522 IFS=$as_save_IFS
6526 BISON=$ac_cv_prog_BISON
6527 if test -n "$BISON"; then
6528 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
6529 printf "%s\n" "$BISON" >&6; }
6530 else
6531 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6532 printf "%s\n" "no" >&6; }
6536 test -n "$BISON" && break
6537 done
6538 test -n "$BISON" || BISON="none"
6540 if test "$BISON" = "none"
6541 then
6542 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
6544 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
6545 printf %s "checking whether bison is recent enough... " >&6; }
6546 if test ${wine_cv_recent_bison+y}
6547 then :
6548 printf %s "(cached) " >&6
6549 else $as_nop
6550 cat >conftest.y <<EOF
6551 %define parse.error verbose
6553 empty: ;
6555 if $BISON conftest.y >/dev/null 2>&5
6556 then
6557 wine_cv_recent_bison=yes
6558 else
6559 wine_cv_recent_bison=no
6562 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
6563 printf "%s\n" "$wine_cv_recent_bison" >&6; }
6564 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
6566 if test -n "$ac_tool_prefix"; then
6567 for ac_prog in ar gar
6569 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6570 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6571 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6572 printf %s "checking for $ac_word... " >&6; }
6573 if test ${ac_cv_prog_AR+y}
6574 then :
6575 printf %s "(cached) " >&6
6576 else $as_nop
6577 if test -n "$AR"; then
6578 ac_cv_prog_AR="$AR" # Let the user override the test.
6579 else
6580 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6581 for as_dir in $PATH
6583 IFS=$as_save_IFS
6584 case $as_dir in #(((
6585 '') as_dir=./ ;;
6586 */) ;;
6587 *) as_dir=$as_dir/ ;;
6588 esac
6589 for ac_exec_ext in '' $ac_executable_extensions; do
6590 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6591 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6592 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6593 break 2
6595 done
6596 done
6597 IFS=$as_save_IFS
6601 AR=$ac_cv_prog_AR
6602 if test -n "$AR"; then
6603 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6604 printf "%s\n" "$AR" >&6; }
6605 else
6606 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6607 printf "%s\n" "no" >&6; }
6611 test -n "$AR" && break
6612 done
6614 if test -z "$AR"; then
6615 ac_ct_AR=$AR
6616 for ac_prog in ar gar
6618 # Extract the first word of "$ac_prog", so it can be a program name with args.
6619 set dummy $ac_prog; ac_word=$2
6620 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6621 printf %s "checking for $ac_word... " >&6; }
6622 if test ${ac_cv_prog_ac_ct_AR+y}
6623 then :
6624 printf %s "(cached) " >&6
6625 else $as_nop
6626 if test -n "$ac_ct_AR"; then
6627 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6628 else
6629 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6630 for as_dir in $PATH
6632 IFS=$as_save_IFS
6633 case $as_dir in #(((
6634 '') as_dir=./ ;;
6635 */) ;;
6636 *) as_dir=$as_dir/ ;;
6637 esac
6638 for ac_exec_ext in '' $ac_executable_extensions; do
6639 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6640 ac_cv_prog_ac_ct_AR="$ac_prog"
6641 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6642 break 2
6644 done
6645 done
6646 IFS=$as_save_IFS
6650 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6651 if test -n "$ac_ct_AR"; then
6652 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6653 printf "%s\n" "$ac_ct_AR" >&6; }
6654 else
6655 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6656 printf "%s\n" "no" >&6; }
6660 test -n "$ac_ct_AR" && break
6661 done
6663 if test "x$ac_ct_AR" = x; then
6664 AR="ar"
6665 else
6666 case $cross_compiling:$ac_tool_warned in
6667 yes:)
6668 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6669 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6670 ac_tool_warned=yes ;;
6671 esac
6672 AR=$ac_ct_AR
6676 if test -n "$ac_tool_prefix"; then
6677 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6678 set dummy ${ac_tool_prefix}strip; ac_word=$2
6679 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6680 printf %s "checking for $ac_word... " >&6; }
6681 if test ${ac_cv_prog_STRIP+y}
6682 then :
6683 printf %s "(cached) " >&6
6684 else $as_nop
6685 if test -n "$STRIP"; then
6686 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6687 else
6688 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6689 for as_dir in $PATH
6691 IFS=$as_save_IFS
6692 case $as_dir in #(((
6693 '') as_dir=./ ;;
6694 */) ;;
6695 *) as_dir=$as_dir/ ;;
6696 esac
6697 for ac_exec_ext in '' $ac_executable_extensions; do
6698 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6699 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6700 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6701 break 2
6703 done
6704 done
6705 IFS=$as_save_IFS
6709 STRIP=$ac_cv_prog_STRIP
6710 if test -n "$STRIP"; then
6711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6712 printf "%s\n" "$STRIP" >&6; }
6713 else
6714 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6715 printf "%s\n" "no" >&6; }
6720 if test -z "$ac_cv_prog_STRIP"; then
6721 ac_ct_STRIP=$STRIP
6722 # Extract the first word of "strip", so it can be a program name with args.
6723 set dummy strip; ac_word=$2
6724 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6725 printf %s "checking for $ac_word... " >&6; }
6726 if test ${ac_cv_prog_ac_ct_STRIP+y}
6727 then :
6728 printf %s "(cached) " >&6
6729 else $as_nop
6730 if test -n "$ac_ct_STRIP"; then
6731 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6732 else
6733 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6734 for as_dir in $PATH
6736 IFS=$as_save_IFS
6737 case $as_dir in #(((
6738 '') as_dir=./ ;;
6739 */) ;;
6740 *) as_dir=$as_dir/ ;;
6741 esac
6742 for ac_exec_ext in '' $ac_executable_extensions; do
6743 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6744 ac_cv_prog_ac_ct_STRIP="strip"
6745 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6746 break 2
6748 done
6749 done
6750 IFS=$as_save_IFS
6754 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6755 if test -n "$ac_ct_STRIP"; then
6756 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6757 printf "%s\n" "$ac_ct_STRIP" >&6; }
6758 else
6759 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6760 printf "%s\n" "no" >&6; }
6763 if test "x$ac_ct_STRIP" = x; then
6764 STRIP="strip"
6765 else
6766 case $cross_compiling:$ac_tool_warned in
6767 yes:)
6768 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6769 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6770 ac_tool_warned=yes ;;
6771 esac
6772 STRIP=$ac_ct_STRIP
6774 else
6775 STRIP="$ac_cv_prog_STRIP"
6778 if test -n "$ac_tool_prefix"; then
6779 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6780 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6781 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6782 printf %s "checking for $ac_word... " >&6; }
6783 if test ${ac_cv_prog_RANLIB+y}
6784 then :
6785 printf %s "(cached) " >&6
6786 else $as_nop
6787 if test -n "$RANLIB"; then
6788 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6789 else
6790 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6791 for as_dir in $PATH
6793 IFS=$as_save_IFS
6794 case $as_dir in #(((
6795 '') as_dir=./ ;;
6796 */) ;;
6797 *) as_dir=$as_dir/ ;;
6798 esac
6799 for ac_exec_ext in '' $ac_executable_extensions; do
6800 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6801 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6802 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6803 break 2
6805 done
6806 done
6807 IFS=$as_save_IFS
6811 RANLIB=$ac_cv_prog_RANLIB
6812 if test -n "$RANLIB"; then
6813 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6814 printf "%s\n" "$RANLIB" >&6; }
6815 else
6816 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6817 printf "%s\n" "no" >&6; }
6822 if test -z "$ac_cv_prog_RANLIB"; then
6823 ac_ct_RANLIB=$RANLIB
6824 # Extract the first word of "ranlib", so it can be a program name with args.
6825 set dummy ranlib; ac_word=$2
6826 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6827 printf %s "checking for $ac_word... " >&6; }
6828 if test ${ac_cv_prog_ac_ct_RANLIB+y}
6829 then :
6830 printf %s "(cached) " >&6
6831 else $as_nop
6832 if test -n "$ac_ct_RANLIB"; then
6833 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6834 else
6835 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6836 for as_dir in $PATH
6838 IFS=$as_save_IFS
6839 case $as_dir in #(((
6840 '') as_dir=./ ;;
6841 */) ;;
6842 *) as_dir=$as_dir/ ;;
6843 esac
6844 for ac_exec_ext in '' $ac_executable_extensions; do
6845 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6846 ac_cv_prog_ac_ct_RANLIB="ranlib"
6847 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6848 break 2
6850 done
6851 done
6852 IFS=$as_save_IFS
6856 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6857 if test -n "$ac_ct_RANLIB"; then
6858 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6859 printf "%s\n" "$ac_ct_RANLIB" >&6; }
6860 else
6861 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6862 printf "%s\n" "no" >&6; }
6865 if test "x$ac_ct_RANLIB" = x; then
6866 RANLIB=":"
6867 else
6868 case $cross_compiling:$ac_tool_warned in
6869 yes:)
6870 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6871 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6872 ac_tool_warned=yes ;;
6873 esac
6874 RANLIB=$ac_ct_RANLIB
6876 else
6877 RANLIB="$ac_cv_prog_RANLIB"
6880 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6881 printf %s "checking whether ln -s works... " >&6; }
6882 LN_S=$as_ln_s
6883 if test "$LN_S" = "ln -s"; then
6884 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6885 printf "%s\n" "yes" >&6; }
6886 else
6887 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6888 printf "%s\n" "no, using $LN_S" >&6; }
6891 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6892 printf %s "checking for grep that handles long lines and -e... " >&6; }
6893 if test ${ac_cv_path_GREP+y}
6894 then :
6895 printf %s "(cached) " >&6
6896 else $as_nop
6897 if test -z "$GREP"; then
6898 ac_path_GREP_found=false
6899 # Loop through the user's path and test for each of PROGNAME-LIST
6900 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6901 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6903 IFS=$as_save_IFS
6904 case $as_dir in #(((
6905 '') as_dir=./ ;;
6906 */) ;;
6907 *) as_dir=$as_dir/ ;;
6908 esac
6909 for ac_prog in grep ggrep
6911 for ac_exec_ext in '' $ac_executable_extensions; do
6912 ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
6913 as_fn_executable_p "$ac_path_GREP" || continue
6914 # Check for GNU ac_path_GREP and select it if it is found.
6915 # Check for GNU $ac_path_GREP
6916 case `"$ac_path_GREP" --version 2>&1` in
6917 *GNU*)
6918 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6920 ac_count=0
6921 printf %s 0123456789 >"conftest.in"
6922 while :
6924 cat "conftest.in" "conftest.in" >"conftest.tmp"
6925 mv "conftest.tmp" "conftest.in"
6926 cp "conftest.in" "conftest.nl"
6927 printf "%s\n" 'GREP' >> "conftest.nl"
6928 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6929 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6930 as_fn_arith $ac_count + 1 && ac_count=$as_val
6931 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6932 # Best one so far, save it but keep looking for a better one
6933 ac_cv_path_GREP="$ac_path_GREP"
6934 ac_path_GREP_max=$ac_count
6936 # 10*(2^10) chars as input seems more than enough
6937 test $ac_count -gt 10 && break
6938 done
6939 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6940 esac
6942 $ac_path_GREP_found && break 3
6943 done
6944 done
6945 done
6946 IFS=$as_save_IFS
6947 if test -z "$ac_cv_path_GREP"; then
6948 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6950 else
6951 ac_cv_path_GREP=$GREP
6955 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6956 printf "%s\n" "$ac_cv_path_GREP" >&6; }
6957 GREP="$ac_cv_path_GREP"
6960 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6961 printf %s "checking for egrep... " >&6; }
6962 if test ${ac_cv_path_EGREP+y}
6963 then :
6964 printf %s "(cached) " >&6
6965 else $as_nop
6966 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6967 then ac_cv_path_EGREP="$GREP -E"
6968 else
6969 if test -z "$EGREP"; then
6970 ac_path_EGREP_found=false
6971 # Loop through the user's path and test for each of PROGNAME-LIST
6972 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6973 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6975 IFS=$as_save_IFS
6976 case $as_dir in #(((
6977 '') as_dir=./ ;;
6978 */) ;;
6979 *) as_dir=$as_dir/ ;;
6980 esac
6981 for ac_prog in egrep
6983 for ac_exec_ext in '' $ac_executable_extensions; do
6984 ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
6985 as_fn_executable_p "$ac_path_EGREP" || continue
6986 # Check for GNU ac_path_EGREP and select it if it is found.
6987 # Check for GNU $ac_path_EGREP
6988 case `"$ac_path_EGREP" --version 2>&1` in
6989 *GNU*)
6990 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6992 ac_count=0
6993 printf %s 0123456789 >"conftest.in"
6994 while :
6996 cat "conftest.in" "conftest.in" >"conftest.tmp"
6997 mv "conftest.tmp" "conftest.in"
6998 cp "conftest.in" "conftest.nl"
6999 printf "%s\n" 'EGREP' >> "conftest.nl"
7000 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
7001 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7002 as_fn_arith $ac_count + 1 && ac_count=$as_val
7003 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7004 # Best one so far, save it but keep looking for a better one
7005 ac_cv_path_EGREP="$ac_path_EGREP"
7006 ac_path_EGREP_max=$ac_count
7008 # 10*(2^10) chars as input seems more than enough
7009 test $ac_count -gt 10 && break
7010 done
7011 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7012 esac
7014 $ac_path_EGREP_found && break 3
7015 done
7016 done
7017 done
7018 IFS=$as_save_IFS
7019 if test -z "$ac_cv_path_EGREP"; then
7020 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7022 else
7023 ac_cv_path_EGREP=$EGREP
7028 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
7029 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
7030 EGREP="$ac_cv_path_EGREP"
7033 # Extract the first word of "ldconfig", so it can be a program name with args.
7034 set dummy ldconfig; ac_word=$2
7035 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7036 printf %s "checking for $ac_word... " >&6; }
7037 if test ${ac_cv_path_LDCONFIG+y}
7038 then :
7039 printf %s "(cached) " >&6
7040 else $as_nop
7041 case $LDCONFIG in
7042 [\\/]* | ?:[\\/]*)
7043 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
7046 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7047 for as_dir in /sbin /usr/sbin $PATH
7049 IFS=$as_save_IFS
7050 case $as_dir in #(((
7051 '') as_dir=./ ;;
7052 */) ;;
7053 *) as_dir=$as_dir/ ;;
7054 esac
7055 for ac_exec_ext in '' $ac_executable_extensions; do
7056 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7057 ac_cv_path_LDCONFIG="$as_dir$ac_word$ac_exec_ext"
7058 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7059 break 2
7061 done
7062 done
7063 IFS=$as_save_IFS
7065 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
7067 esac
7069 LDCONFIG=$ac_cv_path_LDCONFIG
7070 if test -n "$LDCONFIG"; then
7071 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
7072 printf "%s\n" "$LDCONFIG" >&6; }
7073 else
7074 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7075 printf "%s\n" "no" >&6; }
7079 for ac_prog in msgfmt
7081 # Extract the first word of "$ac_prog", so it can be a program name with args.
7082 set dummy $ac_prog; ac_word=$2
7083 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7084 printf %s "checking for $ac_word... " >&6; }
7085 if test ${ac_cv_prog_MSGFMT+y}
7086 then :
7087 printf %s "(cached) " >&6
7088 else $as_nop
7089 if test -n "$MSGFMT"; then
7090 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
7091 else
7092 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7093 for as_dir in $PATH
7095 IFS=$as_save_IFS
7096 case $as_dir in #(((
7097 '') as_dir=./ ;;
7098 */) ;;
7099 *) as_dir=$as_dir/ ;;
7100 esac
7101 for ac_exec_ext in '' $ac_executable_extensions; do
7102 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7103 ac_cv_prog_MSGFMT="$ac_prog"
7104 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7105 break 2
7107 done
7108 done
7109 IFS=$as_save_IFS
7113 MSGFMT=$ac_cv_prog_MSGFMT
7114 if test -n "$MSGFMT"; then
7115 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
7116 printf "%s\n" "$MSGFMT" >&6; }
7117 else
7118 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7119 printf "%s\n" "no" >&6; }
7123 test -n "$MSGFMT" && break
7124 done
7125 test -n "$MSGFMT" || MSGFMT="false"
7127 if test ${ac_tool_prefix+y}
7128 then :
7129 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
7130 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
7131 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7132 printf %s "checking for $ac_word... " >&6; }
7133 if test ${ac_cv_prog_PKG_CONFIG+y}
7134 then :
7135 printf %s "(cached) " >&6
7136 else $as_nop
7137 if test -n "$PKG_CONFIG"; then
7138 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
7139 else
7140 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7141 for as_dir in $PATH
7143 IFS=$as_save_IFS
7144 case $as_dir in #(((
7145 '') as_dir=./ ;;
7146 */) ;;
7147 *) as_dir=$as_dir/ ;;
7148 esac
7149 for ac_exec_ext in '' $ac_executable_extensions; do
7150 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7151 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
7152 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7153 break 2
7155 done
7156 done
7157 IFS=$as_save_IFS
7161 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7162 if test -n "$PKG_CONFIG"; then
7163 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7164 printf "%s\n" "$PKG_CONFIG" >&6; }
7165 else
7166 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7167 printf "%s\n" "no" >&6; }
7172 if ${ac_cv_prog_PKG_CONFIG:+false} :
7173 then :
7174 if test "x$cross_compiling" = xyes
7175 then :
7177 else $as_nop
7178 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
7179 # Extract the first word of "pkg-config", so it can be a program name with args.
7180 set dummy pkg-config; ac_word=$2
7181 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7182 printf %s "checking for $ac_word... " >&6; }
7183 if test ${ac_cv_prog_PKG_CONFIG+y}
7184 then :
7185 printf %s "(cached) " >&6
7186 else $as_nop
7187 if test -n "$PKG_CONFIG"; then
7188 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
7189 else
7190 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7191 for as_dir in $PATH
7193 IFS=$as_save_IFS
7194 case $as_dir in #(((
7195 '') as_dir=./ ;;
7196 */) ;;
7197 *) as_dir=$as_dir/ ;;
7198 esac
7199 for ac_exec_ext in '' $ac_executable_extensions; do
7200 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7201 ac_cv_prog_PKG_CONFIG="pkg-config"
7202 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7203 break 2
7205 done
7206 done
7207 IFS=$as_save_IFS
7211 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7212 if test -n "$PKG_CONFIG"; then
7213 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7214 printf "%s\n" "$PKG_CONFIG" >&6; }
7215 else
7216 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7217 printf "%s\n" "no" >&6; }
7222 else $as_nop
7223 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7226 if test "x$enable_maintainer_mode" != "xyes"
7227 then
7228 FONTFORGE=""
7229 RSVG=""
7230 CONVERT=""
7231 ICOTOOL=""
7232 else
7233 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
7234 for ac_prog in fontforge
7236 # Extract the first word of "$ac_prog", so it can be a program name with args.
7237 set dummy $ac_prog; ac_word=$2
7238 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7239 printf %s "checking for $ac_word... " >&6; }
7240 if test ${ac_cv_prog_FONTFORGE+y}
7241 then :
7242 printf %s "(cached) " >&6
7243 else $as_nop
7244 if test -n "$FONTFORGE"; then
7245 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
7246 else
7247 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7248 for as_dir in $PATH
7250 IFS=$as_save_IFS
7251 case $as_dir in #(((
7252 '') as_dir=./ ;;
7253 */) ;;
7254 *) as_dir=$as_dir/ ;;
7255 esac
7256 for ac_exec_ext in '' $ac_executable_extensions; do
7257 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7258 ac_cv_prog_FONTFORGE="$ac_prog"
7259 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7260 break 2
7262 done
7263 done
7264 IFS=$as_save_IFS
7268 FONTFORGE=$ac_cv_prog_FONTFORGE
7269 if test -n "$FONTFORGE"; then
7270 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
7271 printf "%s\n" "$FONTFORGE" >&6; }
7272 else
7273 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7274 printf "%s\n" "no" >&6; }
7278 test -n "$FONTFORGE" && break
7279 done
7280 test -n "$FONTFORGE" || FONTFORGE="false"
7282 for ac_prog in rsvg-convert rsvg
7284 # Extract the first word of "$ac_prog", so it can be a program name with args.
7285 set dummy $ac_prog; ac_word=$2
7286 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7287 printf %s "checking for $ac_word... " >&6; }
7288 if test ${ac_cv_prog_RSVG+y}
7289 then :
7290 printf %s "(cached) " >&6
7291 else $as_nop
7292 if test -n "$RSVG"; then
7293 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
7294 else
7295 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7296 for as_dir in $PATH
7298 IFS=$as_save_IFS
7299 case $as_dir in #(((
7300 '') as_dir=./ ;;
7301 */) ;;
7302 *) as_dir=$as_dir/ ;;
7303 esac
7304 for ac_exec_ext in '' $ac_executable_extensions; do
7305 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7306 ac_cv_prog_RSVG="$ac_prog"
7307 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7308 break 2
7310 done
7311 done
7312 IFS=$as_save_IFS
7316 RSVG=$ac_cv_prog_RSVG
7317 if test -n "$RSVG"; then
7318 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
7319 printf "%s\n" "$RSVG" >&6; }
7320 else
7321 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7322 printf "%s\n" "no" >&6; }
7326 test -n "$RSVG" && break
7327 done
7328 test -n "$RSVG" || RSVG="false"
7330 for ac_prog in convert
7332 # Extract the first word of "$ac_prog", so it can be a program name with args.
7333 set dummy $ac_prog; ac_word=$2
7334 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7335 printf %s "checking for $ac_word... " >&6; }
7336 if test ${ac_cv_prog_CONVERT+y}
7337 then :
7338 printf %s "(cached) " >&6
7339 else $as_nop
7340 if test -n "$CONVERT"; then
7341 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
7342 else
7343 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7344 for as_dir in $PATH
7346 IFS=$as_save_IFS
7347 case $as_dir in #(((
7348 '') as_dir=./ ;;
7349 */) ;;
7350 *) as_dir=$as_dir/ ;;
7351 esac
7352 for ac_exec_ext in '' $ac_executable_extensions; do
7353 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7354 ac_cv_prog_CONVERT="$ac_prog"
7355 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7356 break 2
7358 done
7359 done
7360 IFS=$as_save_IFS
7364 CONVERT=$ac_cv_prog_CONVERT
7365 if test -n "$CONVERT"; then
7366 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
7367 printf "%s\n" "$CONVERT" >&6; }
7368 else
7369 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7370 printf "%s\n" "no" >&6; }
7374 test -n "$CONVERT" && break
7375 done
7376 test -n "$CONVERT" || CONVERT="false"
7378 for ac_prog in icotool
7380 # Extract the first word of "$ac_prog", so it can be a program name with args.
7381 set dummy $ac_prog; ac_word=$2
7382 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7383 printf %s "checking for $ac_word... " >&6; }
7384 if test ${ac_cv_prog_ICOTOOL+y}
7385 then :
7386 printf %s "(cached) " >&6
7387 else $as_nop
7388 if test -n "$ICOTOOL"; then
7389 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
7390 else
7391 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7392 for as_dir in $PATH
7394 IFS=$as_save_IFS
7395 case $as_dir in #(((
7396 '') as_dir=./ ;;
7397 */) ;;
7398 *) as_dir=$as_dir/ ;;
7399 esac
7400 for ac_exec_ext in '' $ac_executable_extensions; do
7401 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7402 ac_cv_prog_ICOTOOL="$ac_prog"
7403 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7404 break 2
7406 done
7407 done
7408 IFS=$as_save_IFS
7412 ICOTOOL=$ac_cv_prog_ICOTOOL
7413 if test -n "$ICOTOOL"; then
7414 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
7415 printf "%s\n" "$ICOTOOL" >&6; }
7416 else
7417 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7418 printf "%s\n" "no" >&6; }
7422 test -n "$ICOTOOL" && break
7423 done
7424 test -n "$ICOTOOL" || ICOTOOL="false"
7426 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
7427 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
7429 if test "$CONVERT" = false
7430 then
7431 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
7432 else
7433 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
7434 printf %s "checking for recent enough imagemagick... " >&6; }
7435 convert_version=`convert --version | head -n1`
7436 if test "x$convert_version" != "x"
7437 then
7438 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
7439 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
7440 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
7441 then
7442 CONVERT=false
7445 if test "$CONVERT" = false
7446 then
7447 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
7448 printf "%s\n" "no ($convert_version_major.$convert_version_minor)" >&6; }
7449 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7450 else
7451 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
7452 printf "%s\n" "yes ($convert_version_major.$convert_version_minor)" >&6; }
7456 if test "$ICOTOOL" = false
7457 then
7458 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
7459 else
7460 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
7461 printf %s "checking for recent enough icotool... " >&6; }
7462 icotool_version=`icotool --version | head -n1`
7463 if test "x$icotool_version" != "x"
7464 then
7465 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
7466 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
7467 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
7468 then
7469 ICOTOOL=false
7470 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
7473 if test "$ICOTOOL" = false
7474 then
7475 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
7476 printf "%s\n" "no ($icotool_version_major.$icotool_version_minor)" >&6; }
7477 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7478 else
7479 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
7480 printf "%s\n" "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
7484 with_gettext=yes
7485 with_gettextpo=yes
7487 enable_werror=yes
7490 test "x$with_gettext" != xno || MSGFMT=false
7491 if test "$MSGFMT" != "false"
7492 then
7493 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
7494 printf %s "checking whether msgfmt supports contexts... " >&6; }
7495 if test ${wine_cv_msgfmt_contexts+y}
7496 then :
7497 printf %s "(cached) " >&6
7498 else $as_nop
7499 cat >conftest.po <<EOF
7500 # comment
7501 msgctxt "ctxt"
7502 msgid "id"
7503 msgstr "str"
7505 if $MSGFMT -o /dev/null conftest.po 2>&5
7506 then
7507 wine_cv_msgfmt_contexts=yes
7508 else
7509 wine_cv_msgfmt_contexts=no
7512 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
7513 printf "%s\n" "$wine_cv_msgfmt_contexts" >&6; }
7514 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
7516 if test "$MSGFMT" = false
7517 then :
7518 case "x$with_gettext" in
7519 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
7520 xno) ;;
7521 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
7522 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
7523 esac
7524 enable_po=${enable_po:-no}
7528 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
7529 printf %s "checking for i386_set_ldt in -li386... " >&6; }
7530 if test ${ac_cv_lib_i386_i386_set_ldt+y}
7531 then :
7532 printf %s "(cached) " >&6
7533 else $as_nop
7534 ac_check_lib_save_LIBS=$LIBS
7535 LIBS="-li386 $LIBS"
7536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7537 /* end confdefs.h. */
7539 /* Override any GCC internal prototype to avoid an error.
7540 Use char because int might match the return type of a GCC
7541 builtin and then its argument prototype would still apply. */
7542 char i386_set_ldt ();
7544 main (void)
7546 return i386_set_ldt ();
7548 return 0;
7550 _ACEOF
7551 if ac_fn_c_try_link "$LINENO"
7552 then :
7553 ac_cv_lib_i386_i386_set_ldt=yes
7554 else $as_nop
7555 ac_cv_lib_i386_i386_set_ldt=no
7557 rm -f core conftest.err conftest.$ac_objext conftest.beam \
7558 conftest$ac_exeext conftest.$ac_ext
7559 LIBS=$ac_check_lib_save_LIBS
7561 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
7562 printf "%s\n" "$ac_cv_lib_i386_i386_set_ldt" >&6; }
7563 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
7564 then :
7565 I386_LIBS="-li386"
7570 OPENGL_LIBS=""
7574 # Check whether --enable-largefile was given.
7575 if test ${enable_largefile+y}
7576 then :
7577 enableval=$enable_largefile;
7580 if test "$enable_largefile" != no; then
7582 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
7583 printf %s "checking for special C compiler options needed for large files... " >&6; }
7584 if test ${ac_cv_sys_largefile_CC+y}
7585 then :
7586 printf %s "(cached) " >&6
7587 else $as_nop
7588 ac_cv_sys_largefile_CC=no
7589 if test "$GCC" != yes; then
7590 ac_save_CC=$CC
7591 while :; do
7592 # IRIX 6.2 and later do not support large files by default,
7593 # so use the C compiler's -n32 option if that helps.
7594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7595 /* end confdefs.h. */
7596 #include <sys/types.h>
7597 /* Check that off_t can represent 2**63 - 1 correctly.
7598 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7599 since some C++ compilers masquerading as C compilers
7600 incorrectly reject 9223372036854775807. */
7601 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7602 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7603 && LARGE_OFF_T % 2147483647 == 1)
7604 ? 1 : -1];
7606 main (void)
7610 return 0;
7612 _ACEOF
7613 if ac_fn_c_try_compile "$LINENO"
7614 then :
7615 break
7617 rm -f core conftest.err conftest.$ac_objext conftest.beam
7618 CC="$CC -n32"
7619 if ac_fn_c_try_compile "$LINENO"
7620 then :
7621 ac_cv_sys_largefile_CC=' -n32'; break
7623 rm -f core conftest.err conftest.$ac_objext conftest.beam
7624 break
7625 done
7626 CC=$ac_save_CC
7627 rm -f conftest.$ac_ext
7630 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
7631 printf "%s\n" "$ac_cv_sys_largefile_CC" >&6; }
7632 if test "$ac_cv_sys_largefile_CC" != no; then
7633 CC=$CC$ac_cv_sys_largefile_CC
7636 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7637 printf %s "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7638 if test ${ac_cv_sys_file_offset_bits+y}
7639 then :
7640 printf %s "(cached) " >&6
7641 else $as_nop
7642 while :; do
7643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7644 /* end confdefs.h. */
7645 #include <sys/types.h>
7646 /* Check that off_t can represent 2**63 - 1 correctly.
7647 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7648 since some C++ compilers masquerading as C compilers
7649 incorrectly reject 9223372036854775807. */
7650 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7651 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7652 && LARGE_OFF_T % 2147483647 == 1)
7653 ? 1 : -1];
7655 main (void)
7659 return 0;
7661 _ACEOF
7662 if ac_fn_c_try_compile "$LINENO"
7663 then :
7664 ac_cv_sys_file_offset_bits=no; break
7666 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7668 /* end confdefs.h. */
7669 #define _FILE_OFFSET_BITS 64
7670 #include <sys/types.h>
7671 /* Check that off_t can represent 2**63 - 1 correctly.
7672 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7673 since some C++ compilers masquerading as C compilers
7674 incorrectly reject 9223372036854775807. */
7675 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7676 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7677 && LARGE_OFF_T % 2147483647 == 1)
7678 ? 1 : -1];
7680 main (void)
7684 return 0;
7686 _ACEOF
7687 if ac_fn_c_try_compile "$LINENO"
7688 then :
7689 ac_cv_sys_file_offset_bits=64; break
7691 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7692 ac_cv_sys_file_offset_bits=unknown
7693 break
7694 done
7696 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7697 printf "%s\n" "$ac_cv_sys_file_offset_bits" >&6; }
7698 case $ac_cv_sys_file_offset_bits in #(
7699 no | unknown) ;;
7701 printf "%s\n" "#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits" >>confdefs.h
7703 esac
7704 rm -rf conftest*
7705 if test $ac_cv_sys_file_offset_bits = unknown; then
7706 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7707 printf %s "checking for _LARGE_FILES value needed for large files... " >&6; }
7708 if test ${ac_cv_sys_large_files+y}
7709 then :
7710 printf %s "(cached) " >&6
7711 else $as_nop
7712 while :; do
7713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7714 /* end confdefs.h. */
7715 #include <sys/types.h>
7716 /* Check that off_t can represent 2**63 - 1 correctly.
7717 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7718 since some C++ compilers masquerading as C compilers
7719 incorrectly reject 9223372036854775807. */
7720 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7721 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7722 && LARGE_OFF_T % 2147483647 == 1)
7723 ? 1 : -1];
7725 main (void)
7729 return 0;
7731 _ACEOF
7732 if ac_fn_c_try_compile "$LINENO"
7733 then :
7734 ac_cv_sys_large_files=no; break
7736 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7738 /* end confdefs.h. */
7739 #define _LARGE_FILES 1
7740 #include <sys/types.h>
7741 /* Check that off_t can represent 2**63 - 1 correctly.
7742 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7743 since some C++ compilers masquerading as C compilers
7744 incorrectly reject 9223372036854775807. */
7745 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7746 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7747 && LARGE_OFF_T % 2147483647 == 1)
7748 ? 1 : -1];
7750 main (void)
7754 return 0;
7756 _ACEOF
7757 if ac_fn_c_try_compile "$LINENO"
7758 then :
7759 ac_cv_sys_large_files=1; break
7761 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7762 ac_cv_sys_large_files=unknown
7763 break
7764 done
7766 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7767 printf "%s\n" "$ac_cv_sys_large_files" >&6; }
7768 case $ac_cv_sys_large_files in #(
7769 no | unknown) ;;
7771 printf "%s\n" "#define _LARGE_FILES $ac_cv_sys_large_files" >>confdefs.h
7773 esac
7774 rm -rf conftest*
7779 ac_header= ac_cache=
7780 for ac_item in $ac_header_c_list
7782 if test $ac_cache; then
7783 ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
7784 if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
7785 printf "%s\n" "#define $ac_item 1" >> confdefs.h
7787 ac_header= ac_cache=
7788 elif test $ac_header; then
7789 ac_cache=$ac_item
7790 else
7791 ac_header=$ac_item
7793 done
7802 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
7803 then :
7805 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
7808 ac_fn_c_check_header_compile "$LINENO" "CL/cl.h" "ac_cv_header_CL_cl_h" "$ac_includes_default"
7809 if test "x$ac_cv_header_CL_cl_h" = xyes
7810 then :
7811 printf "%s\n" "#define HAVE_CL_CL_H 1" >>confdefs.h
7814 ac_fn_c_check_header_compile "$LINENO" "EGL/egl.h" "ac_cv_header_EGL_egl_h" "$ac_includes_default"
7815 if test "x$ac_cv_header_EGL_egl_h" = xyes
7816 then :
7817 printf "%s\n" "#define HAVE_EGL_EGL_H 1" >>confdefs.h
7820 ac_fn_c_check_header_compile "$LINENO" "OpenCL/opencl.h" "ac_cv_header_OpenCL_opencl_h" "$ac_includes_default"
7821 if test "x$ac_cv_header_OpenCL_opencl_h" = xyes
7822 then :
7823 printf "%s\n" "#define HAVE_OPENCL_OPENCL_H 1" >>confdefs.h
7826 ac_fn_c_check_header_compile "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default"
7827 if test "x$ac_cv_header_arpa_inet_h" = xyes
7828 then :
7829 printf "%s\n" "#define HAVE_ARPA_INET_H 1" >>confdefs.h
7832 ac_fn_c_check_header_compile "$LINENO" "arpa/nameser.h" "ac_cv_header_arpa_nameser_h" "$ac_includes_default"
7833 if test "x$ac_cv_header_arpa_nameser_h" = xyes
7834 then :
7835 printf "%s\n" "#define HAVE_ARPA_NAMESER_H 1" >>confdefs.h
7838 ac_fn_c_check_header_compile "$LINENO" "asm/types.h" "ac_cv_header_asm_types_h" "$ac_includes_default"
7839 if test "x$ac_cv_header_asm_types_h" = xyes
7840 then :
7841 printf "%s\n" "#define HAVE_ASM_TYPES_H 1" >>confdefs.h
7844 ac_fn_c_check_header_compile "$LINENO" "asm/user.h" "ac_cv_header_asm_user_h" "$ac_includes_default"
7845 if test "x$ac_cv_header_asm_user_h" = xyes
7846 then :
7847 printf "%s\n" "#define HAVE_ASM_USER_H 1" >>confdefs.h
7850 ac_fn_c_check_header_compile "$LINENO" "elf.h" "ac_cv_header_elf_h" "$ac_includes_default"
7851 if test "x$ac_cv_header_elf_h" = xyes
7852 then :
7853 printf "%s\n" "#define HAVE_ELF_H 1" >>confdefs.h
7856 ac_fn_c_check_header_compile "$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default"
7857 if test "x$ac_cv_header_float_h" = xyes
7858 then :
7859 printf "%s\n" "#define HAVE_FLOAT_H 1" >>confdefs.h
7862 ac_fn_c_check_header_compile "$LINENO" "gettext-po.h" "ac_cv_header_gettext_po_h" "$ac_includes_default"
7863 if test "x$ac_cv_header_gettext_po_h" = xyes
7864 then :
7865 printf "%s\n" "#define HAVE_GETTEXT_PO_H 1" >>confdefs.h
7868 ac_fn_c_check_header_compile "$LINENO" "libproc.h" "ac_cv_header_libproc_h" "$ac_includes_default"
7869 if test "x$ac_cv_header_libproc_h" = xyes
7870 then :
7871 printf "%s\n" "#define HAVE_LIBPROC_H 1" >>confdefs.h
7874 ac_fn_c_check_header_compile "$LINENO" "link.h" "ac_cv_header_link_h" "$ac_includes_default"
7875 if test "x$ac_cv_header_link_h" = xyes
7876 then :
7877 printf "%s\n" "#define HAVE_LINK_H 1" >>confdefs.h
7880 ac_fn_c_check_header_compile "$LINENO" "linux/cdrom.h" "ac_cv_header_linux_cdrom_h" "$ac_includes_default"
7881 if test "x$ac_cv_header_linux_cdrom_h" = xyes
7882 then :
7883 printf "%s\n" "#define HAVE_LINUX_CDROM_H 1" >>confdefs.h
7886 ac_fn_c_check_header_compile "$LINENO" "linux/filter.h" "ac_cv_header_linux_filter_h" "$ac_includes_default"
7887 if test "x$ac_cv_header_linux_filter_h" = xyes
7888 then :
7889 printf "%s\n" "#define HAVE_LINUX_FILTER_H 1" >>confdefs.h
7892 ac_fn_c_check_header_compile "$LINENO" "linux/hdreg.h" "ac_cv_header_linux_hdreg_h" "$ac_includes_default"
7893 if test "x$ac_cv_header_linux_hdreg_h" = xyes
7894 then :
7895 printf "%s\n" "#define HAVE_LINUX_HDREG_H 1" >>confdefs.h
7898 ac_fn_c_check_header_compile "$LINENO" "linux/hidraw.h" "ac_cv_header_linux_hidraw_h" "$ac_includes_default"
7899 if test "x$ac_cv_header_linux_hidraw_h" = xyes
7900 then :
7901 printf "%s\n" "#define HAVE_LINUX_HIDRAW_H 1" >>confdefs.h
7904 ac_fn_c_check_header_compile "$LINENO" "linux/input.h" "ac_cv_header_linux_input_h" "$ac_includes_default"
7905 if test "x$ac_cv_header_linux_input_h" = xyes
7906 then :
7907 printf "%s\n" "#define HAVE_LINUX_INPUT_H 1" >>confdefs.h
7910 ac_fn_c_check_header_compile "$LINENO" "linux/ioctl.h" "ac_cv_header_linux_ioctl_h" "$ac_includes_default"
7911 if test "x$ac_cv_header_linux_ioctl_h" = xyes
7912 then :
7913 printf "%s\n" "#define HAVE_LINUX_IOCTL_H 1" >>confdefs.h
7916 ac_fn_c_check_header_compile "$LINENO" "linux/major.h" "ac_cv_header_linux_major_h" "$ac_includes_default"
7917 if test "x$ac_cv_header_linux_major_h" = xyes
7918 then :
7919 printf "%s\n" "#define HAVE_LINUX_MAJOR_H 1" >>confdefs.h
7922 ac_fn_c_check_header_compile "$LINENO" "linux/param.h" "ac_cv_header_linux_param_h" "$ac_includes_default"
7923 if test "x$ac_cv_header_linux_param_h" = xyes
7924 then :
7925 printf "%s\n" "#define HAVE_LINUX_PARAM_H 1" >>confdefs.h
7928 ac_fn_c_check_header_compile "$LINENO" "linux/serial.h" "ac_cv_header_linux_serial_h" "$ac_includes_default"
7929 if test "x$ac_cv_header_linux_serial_h" = xyes
7930 then :
7931 printf "%s\n" "#define HAVE_LINUX_SERIAL_H 1" >>confdefs.h
7934 ac_fn_c_check_header_compile "$LINENO" "linux/types.h" "ac_cv_header_linux_types_h" "$ac_includes_default"
7935 if test "x$ac_cv_header_linux_types_h" = xyes
7936 then :
7937 printf "%s\n" "#define HAVE_LINUX_TYPES_H 1" >>confdefs.h
7940 ac_fn_c_check_header_compile "$LINENO" "linux/ucdrom.h" "ac_cv_header_linux_ucdrom_h" "$ac_includes_default"
7941 if test "x$ac_cv_header_linux_ucdrom_h" = xyes
7942 then :
7943 printf "%s\n" "#define HAVE_LINUX_UCDROM_H 1" >>confdefs.h
7946 ac_fn_c_check_header_compile "$LINENO" "lwp.h" "ac_cv_header_lwp_h" "$ac_includes_default"
7947 if test "x$ac_cv_header_lwp_h" = xyes
7948 then :
7949 printf "%s\n" "#define HAVE_LWP_H 1" >>confdefs.h
7952 ac_fn_c_check_header_compile "$LINENO" "mach-o/loader.h" "ac_cv_header_mach_o_loader_h" "$ac_includes_default"
7953 if test "x$ac_cv_header_mach_o_loader_h" = xyes
7954 then :
7955 printf "%s\n" "#define HAVE_MACH_O_LOADER_H 1" >>confdefs.h
7958 ac_fn_c_check_header_compile "$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
7959 if test "x$ac_cv_header_mach_mach_h" = xyes
7960 then :
7961 printf "%s\n" "#define HAVE_MACH_MACH_H 1" >>confdefs.h
7964 ac_fn_c_check_header_compile "$LINENO" "machine/cpu.h" "ac_cv_header_machine_cpu_h" "$ac_includes_default"
7965 if test "x$ac_cv_header_machine_cpu_h" = xyes
7966 then :
7967 printf "%s\n" "#define HAVE_MACHINE_CPU_H 1" >>confdefs.h
7970 ac_fn_c_check_header_compile "$LINENO" "machine/sysarch.h" "ac_cv_header_machine_sysarch_h" "$ac_includes_default"
7971 if test "x$ac_cv_header_machine_sysarch_h" = xyes
7972 then :
7973 printf "%s\n" "#define HAVE_MACHINE_SYSARCH_H 1" >>confdefs.h
7976 ac_fn_c_check_header_compile "$LINENO" "mntent.h" "ac_cv_header_mntent_h" "$ac_includes_default"
7977 if test "x$ac_cv_header_mntent_h" = xyes
7978 then :
7979 printf "%s\n" "#define HAVE_MNTENT_H 1" >>confdefs.h
7982 ac_fn_c_check_header_compile "$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default"
7983 if test "x$ac_cv_header_netdb_h" = xyes
7984 then :
7985 printf "%s\n" "#define HAVE_NETDB_H 1" >>confdefs.h
7988 ac_fn_c_check_header_compile "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default"
7989 if test "x$ac_cv_header_netinet_in_h" = xyes
7990 then :
7991 printf "%s\n" "#define HAVE_NETINET_IN_H 1" >>confdefs.h
7994 ac_fn_c_check_header_compile "$LINENO" "netinet/in_systm.h" "ac_cv_header_netinet_in_systm_h" "$ac_includes_default"
7995 if test "x$ac_cv_header_netinet_in_systm_h" = xyes
7996 then :
7997 printf "%s\n" "#define HAVE_NETINET_IN_SYSTM_H 1" >>confdefs.h
8000 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp.h" "ac_cv_header_netinet_tcp_h" "$ac_includes_default"
8001 if test "x$ac_cv_header_netinet_tcp_h" = xyes
8002 then :
8003 printf "%s\n" "#define HAVE_NETINET_TCP_H 1" >>confdefs.h
8006 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_fsm.h" "ac_cv_header_netinet_tcp_fsm_h" "$ac_includes_default"
8007 if test "x$ac_cv_header_netinet_tcp_fsm_h" = xyes
8008 then :
8009 printf "%s\n" "#define HAVE_NETINET_TCP_FSM_H 1" >>confdefs.h
8012 ac_fn_c_check_header_compile "$LINENO" "pcap/pcap.h" "ac_cv_header_pcap_pcap_h" "$ac_includes_default"
8013 if test "x$ac_cv_header_pcap_pcap_h" = xyes
8014 then :
8015 printf "%s\n" "#define HAVE_PCAP_PCAP_H 1" >>confdefs.h
8018 ac_fn_c_check_header_compile "$LINENO" "port.h" "ac_cv_header_port_h" "$ac_includes_default"
8019 if test "x$ac_cv_header_port_h" = xyes
8020 then :
8021 printf "%s\n" "#define HAVE_PORT_H 1" >>confdefs.h
8024 ac_fn_c_check_header_compile "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
8025 if test "x$ac_cv_header_pthread_h" = xyes
8026 then :
8027 printf "%s\n" "#define HAVE_PTHREAD_H 1" >>confdefs.h
8030 ac_fn_c_check_header_compile "$LINENO" "pwd.h" "ac_cv_header_pwd_h" "$ac_includes_default"
8031 if test "x$ac_cv_header_pwd_h" = xyes
8032 then :
8033 printf "%s\n" "#define HAVE_PWD_H 1" >>confdefs.h
8036 ac_fn_c_check_header_compile "$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default"
8037 if test "x$ac_cv_header_sched_h" = xyes
8038 then :
8039 printf "%s\n" "#define HAVE_SCHED_H 1" >>confdefs.h
8042 ac_fn_c_check_header_compile "$LINENO" "scsi/scsi.h" "ac_cv_header_scsi_scsi_h" "$ac_includes_default"
8043 if test "x$ac_cv_header_scsi_scsi_h" = xyes
8044 then :
8045 printf "%s\n" "#define HAVE_SCSI_SCSI_H 1" >>confdefs.h
8048 ac_fn_c_check_header_compile "$LINENO" "scsi/scsi_ioctl.h" "ac_cv_header_scsi_scsi_ioctl_h" "$ac_includes_default"
8049 if test "x$ac_cv_header_scsi_scsi_ioctl_h" = xyes
8050 then :
8051 printf "%s\n" "#define HAVE_SCSI_SCSI_IOCTL_H 1" >>confdefs.h
8054 ac_fn_c_check_header_compile "$LINENO" "scsi/sg.h" "ac_cv_header_scsi_sg_h" "$ac_includes_default"
8055 if test "x$ac_cv_header_scsi_sg_h" = xyes
8056 then :
8057 printf "%s\n" "#define HAVE_SCSI_SG_H 1" >>confdefs.h
8060 ac_fn_c_check_header_compile "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
8061 if test "x$ac_cv_header_stdint_h" = xyes
8062 then :
8063 printf "%s\n" "#define HAVE_STDINT_H 1" >>confdefs.h
8066 ac_fn_c_check_header_compile "$LINENO" "sys/attr.h" "ac_cv_header_sys_attr_h" "$ac_includes_default"
8067 if test "x$ac_cv_header_sys_attr_h" = xyes
8068 then :
8069 printf "%s\n" "#define HAVE_SYS_ATTR_H 1" >>confdefs.h
8072 ac_fn_c_check_header_compile "$LINENO" "sys/auxv.h" "ac_cv_header_sys_auxv_h" "$ac_includes_default"
8073 if test "x$ac_cv_header_sys_auxv_h" = xyes
8074 then :
8075 printf "%s\n" "#define HAVE_SYS_AUXV_H 1" >>confdefs.h
8078 ac_fn_c_check_header_compile "$LINENO" "sys/cdio.h" "ac_cv_header_sys_cdio_h" "$ac_includes_default"
8079 if test "x$ac_cv_header_sys_cdio_h" = xyes
8080 then :
8081 printf "%s\n" "#define HAVE_SYS_CDIO_H 1" >>confdefs.h
8084 ac_fn_c_check_header_compile "$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default"
8085 if test "x$ac_cv_header_sys_epoll_h" = xyes
8086 then :
8087 printf "%s\n" "#define HAVE_SYS_EPOLL_H 1" >>confdefs.h
8090 ac_fn_c_check_header_compile "$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default"
8091 if test "x$ac_cv_header_sys_event_h" = xyes
8092 then :
8093 printf "%s\n" "#define HAVE_SYS_EVENT_H 1" >>confdefs.h
8096 ac_fn_c_check_header_compile "$LINENO" "sys/extattr.h" "ac_cv_header_sys_extattr_h" "$ac_includes_default"
8097 if test "x$ac_cv_header_sys_extattr_h" = xyes
8098 then :
8099 printf "%s\n" "#define HAVE_SYS_EXTATTR_H 1" >>confdefs.h
8102 ac_fn_c_check_header_compile "$LINENO" "sys/filio.h" "ac_cv_header_sys_filio_h" "$ac_includes_default"
8103 if test "x$ac_cv_header_sys_filio_h" = xyes
8104 then :
8105 printf "%s\n" "#define HAVE_SYS_FILIO_H 1" >>confdefs.h
8108 ac_fn_c_check_header_compile "$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
8109 if test "x$ac_cv_header_sys_ipc_h" = xyes
8110 then :
8111 printf "%s\n" "#define HAVE_SYS_IPC_H 1" >>confdefs.h
8114 ac_fn_c_check_header_compile "$LINENO" "sys/link.h" "ac_cv_header_sys_link_h" "$ac_includes_default"
8115 if test "x$ac_cv_header_sys_link_h" = xyes
8116 then :
8117 printf "%s\n" "#define HAVE_SYS_LINK_H 1" >>confdefs.h
8120 ac_fn_c_check_header_compile "$LINENO" "sys/modem.h" "ac_cv_header_sys_modem_h" "$ac_includes_default"
8121 if test "x$ac_cv_header_sys_modem_h" = xyes
8122 then :
8123 printf "%s\n" "#define HAVE_SYS_MODEM_H 1" >>confdefs.h
8126 ac_fn_c_check_header_compile "$LINENO" "sys/mtio.h" "ac_cv_header_sys_mtio_h" "$ac_includes_default"
8127 if test "x$ac_cv_header_sys_mtio_h" = xyes
8128 then :
8129 printf "%s\n" "#define HAVE_SYS_MTIO_H 1" >>confdefs.h
8132 ac_fn_c_check_header_compile "$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
8133 if test "x$ac_cv_header_sys_param_h" = xyes
8134 then :
8135 printf "%s\n" "#define HAVE_SYS_PARAM_H 1" >>confdefs.h
8138 ac_fn_c_check_header_compile "$LINENO" "sys/prctl.h" "ac_cv_header_sys_prctl_h" "$ac_includes_default"
8139 if test "x$ac_cv_header_sys_prctl_h" = xyes
8140 then :
8141 printf "%s\n" "#define HAVE_SYS_PRCTL_H 1" >>confdefs.h
8144 ac_fn_c_check_header_compile "$LINENO" "sys/ptrace.h" "ac_cv_header_sys_ptrace_h" "$ac_includes_default"
8145 if test "x$ac_cv_header_sys_ptrace_h" = xyes
8146 then :
8147 printf "%s\n" "#define HAVE_SYS_PTRACE_H 1" >>confdefs.h
8150 ac_fn_c_check_header_compile "$LINENO" "sys/queue.h" "ac_cv_header_sys_queue_h" "$ac_includes_default"
8151 if test "x$ac_cv_header_sys_queue_h" = xyes
8152 then :
8153 printf "%s\n" "#define HAVE_SYS_QUEUE_H 1" >>confdefs.h
8156 ac_fn_c_check_header_compile "$LINENO" "sys/random.h" "ac_cv_header_sys_random_h" "$ac_includes_default"
8157 if test "x$ac_cv_header_sys_random_h" = xyes
8158 then :
8159 printf "%s\n" "#define HAVE_SYS_RANDOM_H 1" >>confdefs.h
8162 ac_fn_c_check_header_compile "$LINENO" "sys/resource.h" "ac_cv_header_sys_resource_h" "$ac_includes_default"
8163 if test "x$ac_cv_header_sys_resource_h" = xyes
8164 then :
8165 printf "%s\n" "#define HAVE_SYS_RESOURCE_H 1" >>confdefs.h
8168 ac_fn_c_check_header_compile "$LINENO" "sys/scsiio.h" "ac_cv_header_sys_scsiio_h" "$ac_includes_default"
8169 if test "x$ac_cv_header_sys_scsiio_h" = xyes
8170 then :
8171 printf "%s\n" "#define HAVE_SYS_SCSIIO_H 1" >>confdefs.h
8174 ac_fn_c_check_header_compile "$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
8175 if test "x$ac_cv_header_sys_shm_h" = xyes
8176 then :
8177 printf "%s\n" "#define HAVE_SYS_SHM_H 1" >>confdefs.h
8180 ac_fn_c_check_header_compile "$LINENO" "sys/signal.h" "ac_cv_header_sys_signal_h" "$ac_includes_default"
8181 if test "x$ac_cv_header_sys_signal_h" = xyes
8182 then :
8183 printf "%s\n" "#define HAVE_SYS_SIGNAL_H 1" >>confdefs.h
8186 ac_fn_c_check_header_compile "$LINENO" "sys/socketvar.h" "ac_cv_header_sys_socketvar_h" "$ac_includes_default"
8187 if test "x$ac_cv_header_sys_socketvar_h" = xyes
8188 then :
8189 printf "%s\n" "#define HAVE_SYS_SOCKETVAR_H 1" >>confdefs.h
8192 ac_fn_c_check_header_compile "$LINENO" "sys/sockio.h" "ac_cv_header_sys_sockio_h" "$ac_includes_default"
8193 if test "x$ac_cv_header_sys_sockio_h" = xyes
8194 then :
8195 printf "%s\n" "#define HAVE_SYS_SOCKIO_H 1" >>confdefs.h
8198 ac_fn_c_check_header_compile "$LINENO" "sys/statvfs.h" "ac_cv_header_sys_statvfs_h" "$ac_includes_default"
8199 if test "x$ac_cv_header_sys_statvfs_h" = xyes
8200 then :
8201 printf "%s\n" "#define HAVE_SYS_STATVFS_H 1" >>confdefs.h
8204 ac_fn_c_check_header_compile "$LINENO" "sys/strtio.h" "ac_cv_header_sys_strtio_h" "$ac_includes_default"
8205 if test "x$ac_cv_header_sys_strtio_h" = xyes
8206 then :
8207 printf "%s\n" "#define HAVE_SYS_STRTIO_H 1" >>confdefs.h
8210 ac_fn_c_check_header_compile "$LINENO" "sys/syscall.h" "ac_cv_header_sys_syscall_h" "$ac_includes_default"
8211 if test "x$ac_cv_header_sys_syscall_h" = xyes
8212 then :
8213 printf "%s\n" "#define HAVE_SYS_SYSCALL_H 1" >>confdefs.h
8216 ac_fn_c_check_header_compile "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
8217 if test "x$ac_cv_header_sys_sysinfo_h" = xyes
8218 then :
8219 printf "%s\n" "#define HAVE_SYS_SYSINFO_H 1" >>confdefs.h
8222 ac_fn_c_check_header_compile "$LINENO" "sys/times.h" "ac_cv_header_sys_times_h" "$ac_includes_default"
8223 if test "x$ac_cv_header_sys_times_h" = xyes
8224 then :
8225 printf "%s\n" "#define HAVE_SYS_TIMES_H 1" >>confdefs.h
8228 ac_fn_c_check_header_compile "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
8229 if test "x$ac_cv_header_sys_uio_h" = xyes
8230 then :
8231 printf "%s\n" "#define HAVE_SYS_UIO_H 1" >>confdefs.h
8234 ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "$ac_includes_default"
8235 if test "x$ac_cv_header_sys_user_h" = xyes
8236 then :
8237 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8240 ac_fn_c_check_header_compile "$LINENO" "sys/utsname.h" "ac_cv_header_sys_utsname_h" "$ac_includes_default"
8241 if test "x$ac_cv_header_sys_utsname_h" = xyes
8242 then :
8243 printf "%s\n" "#define HAVE_SYS_UTSNAME_H 1" >>confdefs.h
8246 ac_fn_c_check_header_compile "$LINENO" "sys/vnode.h" "ac_cv_header_sys_vnode_h" "$ac_includes_default"
8247 if test "x$ac_cv_header_sys_vnode_h" = xyes
8248 then :
8249 printf "%s\n" "#define HAVE_SYS_VNODE_H 1" >>confdefs.h
8252 ac_fn_c_check_header_compile "$LINENO" "sys/xattr.h" "ac_cv_header_sys_xattr_h" "$ac_includes_default"
8253 if test "x$ac_cv_header_sys_xattr_h" = xyes
8254 then :
8255 printf "%s\n" "#define HAVE_SYS_XATTR_H 1" >>confdefs.h
8258 ac_fn_c_check_header_compile "$LINENO" "syscall.h" "ac_cv_header_syscall_h" "$ac_includes_default"
8259 if test "x$ac_cv_header_syscall_h" = xyes
8260 then :
8261 printf "%s\n" "#define HAVE_SYSCALL_H 1" >>confdefs.h
8264 ac_fn_c_check_header_compile "$LINENO" "utime.h" "ac_cv_header_utime_h" "$ac_includes_default"
8265 if test "x$ac_cv_header_utime_h" = xyes
8266 then :
8267 printf "%s\n" "#define HAVE_UTIME_H 1" >>confdefs.h
8270 ac_fn_c_check_header_compile "$LINENO" "valgrind/memcheck.h" "ac_cv_header_valgrind_memcheck_h" "$ac_includes_default"
8271 if test "x$ac_cv_header_valgrind_memcheck_h" = xyes
8272 then :
8273 printf "%s\n" "#define HAVE_VALGRIND_MEMCHECK_H 1" >>confdefs.h
8276 ac_fn_c_check_header_compile "$LINENO" "valgrind/valgrind.h" "ac_cv_header_valgrind_valgrind_h" "$ac_includes_default"
8277 if test "x$ac_cv_header_valgrind_valgrind_h" = xyes
8278 then :
8279 printf "%s\n" "#define HAVE_VALGRIND_VALGRIND_H 1" >>confdefs.h
8283 ac_fn_c_check_header_compile "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
8284 if test "x$ac_cv_header_sys_mkdev_h" = xyes
8285 then :
8287 printf "%s\n" "#define MAJOR_IN_MKDEV 1" >>confdefs.h
8291 if test $ac_cv_header_sys_mkdev_h = no; then
8292 ac_fn_c_check_header_compile "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
8293 if test "x$ac_cv_header_sys_sysmacros_h" = xyes
8294 then :
8296 printf "%s\n" "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
8301 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
8302 printf %s "checking whether stat file-mode macros are broken... " >&6; }
8303 if test ${ac_cv_header_stat_broken+y}
8304 then :
8305 printf %s "(cached) " >&6
8306 else $as_nop
8307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8308 /* end confdefs.h. */
8309 #include <sys/types.h>
8310 #include <sys/stat.h>
8312 #if defined S_ISBLK && defined S_IFDIR
8313 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
8314 #endif
8316 #if defined S_ISBLK && defined S_IFCHR
8317 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
8318 #endif
8320 #if defined S_ISLNK && defined S_IFREG
8321 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
8322 #endif
8324 #if defined S_ISSOCK && defined S_IFREG
8325 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
8326 #endif
8328 _ACEOF
8329 if ac_fn_c_try_compile "$LINENO"
8330 then :
8331 ac_cv_header_stat_broken=no
8332 else $as_nop
8333 ac_cv_header_stat_broken=yes
8335 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8337 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
8338 printf "%s\n" "$ac_cv_header_stat_broken" >&6; }
8339 if test $ac_cv_header_stat_broken = yes; then
8341 printf "%s\n" "#define STAT_MACROS_BROKEN 1" >>confdefs.h
8347 ac_fn_c_check_header_compile "$LINENO" "sys/conf.h" "ac_cv_header_sys_conf_h" "#include <sys/types.h>
8348 #ifdef HAVE_SYS_PARAM_H
8349 # include <sys/param.h>
8350 #endif
8352 if test "x$ac_cv_header_sys_conf_h" = xyes
8353 then :
8354 printf "%s\n" "#define HAVE_SYS_CONF_H 1" >>confdefs.h
8357 ac_fn_c_check_header_compile "$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/types.h>
8358 #ifdef HAVE_SYS_PARAM_H
8359 # include <sys/param.h>
8360 #endif
8362 if test "x$ac_cv_header_sys_mount_h" = xyes
8363 then :
8364 printf "%s\n" "#define HAVE_SYS_MOUNT_H 1" >>confdefs.h
8367 ac_fn_c_check_header_compile "$LINENO" "sys/statfs.h" "ac_cv_header_sys_statfs_h" "#include <sys/types.h>
8368 #ifdef HAVE_SYS_PARAM_H
8369 # include <sys/param.h>
8370 #endif
8372 if test "x$ac_cv_header_sys_statfs_h" = xyes
8373 then :
8374 printf "%s\n" "#define HAVE_SYS_STATFS_H 1" >>confdefs.h
8377 ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "#include <sys/types.h>
8378 #ifdef HAVE_SYS_PARAM_H
8379 # include <sys/param.h>
8380 #endif
8382 if test "x$ac_cv_header_sys_user_h" = xyes
8383 then :
8384 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8387 ac_fn_c_check_header_compile "$LINENO" "sys/vfs.h" "ac_cv_header_sys_vfs_h" "#include <sys/types.h>
8388 #ifdef HAVE_SYS_PARAM_H
8389 # include <sys/param.h>
8390 #endif
8392 if test "x$ac_cv_header_sys_vfs_h" = xyes
8393 then :
8394 printf "%s\n" "#define HAVE_SYS_VFS_H 1" >>confdefs.h
8399 saved_sysctl_h_CFLAGS=$CFLAGS
8400 test "x${GCC}" != xyes || CFLAGS="$CFLAGS -Werror"
8401 ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
8402 #ifdef HAVE_SYS_PARAM_H
8403 # include <sys/param.h>
8404 #endif
8406 if test "x$ac_cv_header_sys_sysctl_h" = xyes
8407 then :
8408 printf "%s\n" "#define HAVE_SYS_SYSCTL_H 1" >>confdefs.h
8412 CFLAGS=$saved_sysctl_h_CFLAGS
8414 ac_fn_c_check_header_compile "$LINENO" "netinet/ip.h" "ac_cv_header_netinet_ip_h" "#include <sys/types.h>
8415 #include <sys/socket.h>
8416 #ifdef HAVE_SYS_SOCKETVAR_H
8417 # include <sys/socketvar.h>
8418 #endif
8419 #ifdef HAVE_NET_ROUTE_H
8420 # include <net/route.h>
8421 #endif
8422 #ifdef HAVE_NETINET_IN_H
8423 # include <netinet/in.h>
8424 #endif
8425 #ifdef HAVE_NETINET_IN_SYSTM_H
8426 # include <netinet/in_systm.h>
8427 #endif
8428 #ifdef HAVE_NET_IF_H
8429 # include <net/if.h>
8430 #endif
8431 #ifdef HAVE_NETINET_IP_H
8432 # include <netinet/ip.h>
8433 #endif
8435 if test "x$ac_cv_header_netinet_ip_h" = xyes
8436 then :
8437 printf "%s\n" "#define HAVE_NETINET_IP_H 1" >>confdefs.h
8440 ac_fn_c_check_header_compile "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "#include <sys/types.h>
8441 #include <sys/socket.h>
8442 #ifdef HAVE_SYS_SOCKETVAR_H
8443 # include <sys/socketvar.h>
8444 #endif
8445 #ifdef HAVE_NET_ROUTE_H
8446 # include <net/route.h>
8447 #endif
8448 #ifdef HAVE_NETINET_IN_H
8449 # include <netinet/in.h>
8450 #endif
8451 #ifdef HAVE_NETINET_IN_SYSTM_H
8452 # include <netinet/in_systm.h>
8453 #endif
8454 #ifdef HAVE_NET_IF_H
8455 # include <net/if.h>
8456 #endif
8457 #ifdef HAVE_NETINET_IP_H
8458 # include <netinet/ip.h>
8459 #endif
8461 if test "x$ac_cv_header_net_if_h" = xyes
8462 then :
8463 printf "%s\n" "#define HAVE_NET_IF_H 1" >>confdefs.h
8466 ac_fn_c_check_header_compile "$LINENO" "net/if_arp.h" "ac_cv_header_net_if_arp_h" "#include <sys/types.h>
8467 #include <sys/socket.h>
8468 #ifdef HAVE_SYS_SOCKETVAR_H
8469 # include <sys/socketvar.h>
8470 #endif
8471 #ifdef HAVE_NET_ROUTE_H
8472 # include <net/route.h>
8473 #endif
8474 #ifdef HAVE_NETINET_IN_H
8475 # include <netinet/in.h>
8476 #endif
8477 #ifdef HAVE_NETINET_IN_SYSTM_H
8478 # include <netinet/in_systm.h>
8479 #endif
8480 #ifdef HAVE_NET_IF_H
8481 # include <net/if.h>
8482 #endif
8483 #ifdef HAVE_NETINET_IP_H
8484 # include <netinet/ip.h>
8485 #endif
8487 if test "x$ac_cv_header_net_if_arp_h" = xyes
8488 then :
8489 printf "%s\n" "#define HAVE_NET_IF_ARP_H 1" >>confdefs.h
8492 ac_fn_c_check_header_compile "$LINENO" "net/if_dl.h" "ac_cv_header_net_if_dl_h" "#include <sys/types.h>
8493 #include <sys/socket.h>
8494 #ifdef HAVE_SYS_SOCKETVAR_H
8495 # include <sys/socketvar.h>
8496 #endif
8497 #ifdef HAVE_NET_ROUTE_H
8498 # include <net/route.h>
8499 #endif
8500 #ifdef HAVE_NETINET_IN_H
8501 # include <netinet/in.h>
8502 #endif
8503 #ifdef HAVE_NETINET_IN_SYSTM_H
8504 # include <netinet/in_systm.h>
8505 #endif
8506 #ifdef HAVE_NET_IF_H
8507 # include <net/if.h>
8508 #endif
8509 #ifdef HAVE_NETINET_IP_H
8510 # include <netinet/ip.h>
8511 #endif
8513 if test "x$ac_cv_header_net_if_dl_h" = xyes
8514 then :
8515 printf "%s\n" "#define HAVE_NET_IF_DL_H 1" >>confdefs.h
8518 ac_fn_c_check_header_compile "$LINENO" "net/if_types.h" "ac_cv_header_net_if_types_h" "#include <sys/types.h>
8519 #include <sys/socket.h>
8520 #ifdef HAVE_SYS_SOCKETVAR_H
8521 # include <sys/socketvar.h>
8522 #endif
8523 #ifdef HAVE_NET_ROUTE_H
8524 # include <net/route.h>
8525 #endif
8526 #ifdef HAVE_NETINET_IN_H
8527 # include <netinet/in.h>
8528 #endif
8529 #ifdef HAVE_NETINET_IN_SYSTM_H
8530 # include <netinet/in_systm.h>
8531 #endif
8532 #ifdef HAVE_NET_IF_H
8533 # include <net/if.h>
8534 #endif
8535 #ifdef HAVE_NETINET_IP_H
8536 # include <netinet/ip.h>
8537 #endif
8539 if test "x$ac_cv_header_net_if_types_h" = xyes
8540 then :
8541 printf "%s\n" "#define HAVE_NET_IF_TYPES_H 1" >>confdefs.h
8544 ac_fn_c_check_header_compile "$LINENO" "net/route.h" "ac_cv_header_net_route_h" "#include <sys/types.h>
8545 #include <sys/socket.h>
8546 #ifdef HAVE_SYS_SOCKETVAR_H
8547 # include <sys/socketvar.h>
8548 #endif
8549 #ifdef HAVE_NET_ROUTE_H
8550 # include <net/route.h>
8551 #endif
8552 #ifdef HAVE_NETINET_IN_H
8553 # include <netinet/in.h>
8554 #endif
8555 #ifdef HAVE_NETINET_IN_SYSTM_H
8556 # include <netinet/in_systm.h>
8557 #endif
8558 #ifdef HAVE_NET_IF_H
8559 # include <net/if.h>
8560 #endif
8561 #ifdef HAVE_NETINET_IP_H
8562 # include <netinet/ip.h>
8563 #endif
8565 if test "x$ac_cv_header_net_route_h" = xyes
8566 then :
8567 printf "%s\n" "#define HAVE_NET_ROUTE_H 1" >>confdefs.h
8570 ac_fn_c_check_header_compile "$LINENO" "netinet/if_ether.h" "ac_cv_header_netinet_if_ether_h" "#include <sys/types.h>
8571 #include <sys/socket.h>
8572 #ifdef HAVE_SYS_SOCKETVAR_H
8573 # include <sys/socketvar.h>
8574 #endif
8575 #ifdef HAVE_NET_ROUTE_H
8576 # include <net/route.h>
8577 #endif
8578 #ifdef HAVE_NETINET_IN_H
8579 # include <netinet/in.h>
8580 #endif
8581 #ifdef HAVE_NETINET_IN_SYSTM_H
8582 # include <netinet/in_systm.h>
8583 #endif
8584 #ifdef HAVE_NET_IF_H
8585 # include <net/if.h>
8586 #endif
8587 #ifdef HAVE_NETINET_IP_H
8588 # include <netinet/ip.h>
8589 #endif
8591 if test "x$ac_cv_header_netinet_if_ether_h" = xyes
8592 then :
8593 printf "%s\n" "#define HAVE_NETINET_IF_ETHER_H 1" >>confdefs.h
8596 ac_fn_c_check_header_compile "$LINENO" "netinet/in_pcb.h" "ac_cv_header_netinet_in_pcb_h" "#include <sys/types.h>
8597 #include <sys/socket.h>
8598 #ifdef HAVE_SYS_SOCKETVAR_H
8599 # include <sys/socketvar.h>
8600 #endif
8601 #ifdef HAVE_NET_ROUTE_H
8602 # include <net/route.h>
8603 #endif
8604 #ifdef HAVE_NETINET_IN_H
8605 # include <netinet/in.h>
8606 #endif
8607 #ifdef HAVE_NETINET_IN_SYSTM_H
8608 # include <netinet/in_systm.h>
8609 #endif
8610 #ifdef HAVE_NET_IF_H
8611 # include <net/if.h>
8612 #endif
8613 #ifdef HAVE_NETINET_IP_H
8614 # include <netinet/ip.h>
8615 #endif
8617 if test "x$ac_cv_header_netinet_in_pcb_h" = xyes
8618 then :
8619 printf "%s\n" "#define HAVE_NETINET_IN_PCB_H 1" >>confdefs.h
8622 ac_fn_c_check_header_compile "$LINENO" "netinet/ip_icmp.h" "ac_cv_header_netinet_ip_icmp_h" "#include <sys/types.h>
8623 #include <sys/socket.h>
8624 #ifdef HAVE_SYS_SOCKETVAR_H
8625 # include <sys/socketvar.h>
8626 #endif
8627 #ifdef HAVE_NET_ROUTE_H
8628 # include <net/route.h>
8629 #endif
8630 #ifdef HAVE_NETINET_IN_H
8631 # include <netinet/in.h>
8632 #endif
8633 #ifdef HAVE_NETINET_IN_SYSTM_H
8634 # include <netinet/in_systm.h>
8635 #endif
8636 #ifdef HAVE_NET_IF_H
8637 # include <net/if.h>
8638 #endif
8639 #ifdef HAVE_NETINET_IP_H
8640 # include <netinet/ip.h>
8641 #endif
8643 if test "x$ac_cv_header_netinet_ip_icmp_h" = xyes
8644 then :
8645 printf "%s\n" "#define HAVE_NETINET_IP_ICMP_H 1" >>confdefs.h
8648 ac_fn_c_check_header_compile "$LINENO" "netinet/ip_var.h" "ac_cv_header_netinet_ip_var_h" "#include <sys/types.h>
8649 #include <sys/socket.h>
8650 #ifdef HAVE_SYS_SOCKETVAR_H
8651 # include <sys/socketvar.h>
8652 #endif
8653 #ifdef HAVE_NET_ROUTE_H
8654 # include <net/route.h>
8655 #endif
8656 #ifdef HAVE_NETINET_IN_H
8657 # include <netinet/in.h>
8658 #endif
8659 #ifdef HAVE_NETINET_IN_SYSTM_H
8660 # include <netinet/in_systm.h>
8661 #endif
8662 #ifdef HAVE_NET_IF_H
8663 # include <net/if.h>
8664 #endif
8665 #ifdef HAVE_NETINET_IP_H
8666 # include <netinet/ip.h>
8667 #endif
8669 if test "x$ac_cv_header_netinet_ip_var_h" = xyes
8670 then :
8671 printf "%s\n" "#define HAVE_NETINET_IP_VAR_H 1" >>confdefs.h
8674 ac_fn_c_check_header_compile "$LINENO" "netinet/udp.h" "ac_cv_header_netinet_udp_h" "#include <sys/types.h>
8675 #include <sys/socket.h>
8676 #ifdef HAVE_SYS_SOCKETVAR_H
8677 # include <sys/socketvar.h>
8678 #endif
8679 #ifdef HAVE_NET_ROUTE_H
8680 # include <net/route.h>
8681 #endif
8682 #ifdef HAVE_NETINET_IN_H
8683 # include <netinet/in.h>
8684 #endif
8685 #ifdef HAVE_NETINET_IN_SYSTM_H
8686 # include <netinet/in_systm.h>
8687 #endif
8688 #ifdef HAVE_NET_IF_H
8689 # include <net/if.h>
8690 #endif
8691 #ifdef HAVE_NETINET_IP_H
8692 # include <netinet/ip.h>
8693 #endif
8695 if test "x$ac_cv_header_netinet_udp_h" = xyes
8696 then :
8697 printf "%s\n" "#define HAVE_NETINET_UDP_H 1" >>confdefs.h
8700 ac_fn_c_check_header_compile "$LINENO" "netinet6/ip6_var.h" "ac_cv_header_netinet6_ip6_var_h" "#include <sys/types.h>
8701 #include <sys/socket.h>
8702 #ifdef HAVE_SYS_SOCKETVAR_H
8703 # include <sys/socketvar.h>
8704 #endif
8705 #ifdef HAVE_NET_ROUTE_H
8706 # include <net/route.h>
8707 #endif
8708 #ifdef HAVE_NETINET_IN_H
8709 # include <netinet/in.h>
8710 #endif
8711 #ifdef HAVE_NETINET_IN_SYSTM_H
8712 # include <netinet/in_systm.h>
8713 #endif
8714 #ifdef HAVE_NET_IF_H
8715 # include <net/if.h>
8716 #endif
8717 #ifdef HAVE_NETINET_IP_H
8718 # include <netinet/ip.h>
8719 #endif
8721 if test "x$ac_cv_header_netinet6_ip6_var_h" = xyes
8722 then :
8723 printf "%s\n" "#define HAVE_NETINET6_IP6_VAR_H 1" >>confdefs.h
8726 ac_fn_c_check_header_compile "$LINENO" "netipx/ipx.h" "ac_cv_header_netipx_ipx_h" "#include <sys/types.h>
8727 #include <sys/socket.h>
8728 #ifdef HAVE_SYS_SOCKETVAR_H
8729 # include <sys/socketvar.h>
8730 #endif
8731 #ifdef HAVE_NET_ROUTE_H
8732 # include <net/route.h>
8733 #endif
8734 #ifdef HAVE_NETINET_IN_H
8735 # include <netinet/in.h>
8736 #endif
8737 #ifdef HAVE_NETINET_IN_SYSTM_H
8738 # include <netinet/in_systm.h>
8739 #endif
8740 #ifdef HAVE_NET_IF_H
8741 # include <net/if.h>
8742 #endif
8743 #ifdef HAVE_NETINET_IP_H
8744 # include <netinet/ip.h>
8745 #endif
8747 if test "x$ac_cv_header_netipx_ipx_h" = xyes
8748 then :
8749 printf "%s\n" "#define HAVE_NETIPX_IPX_H 1" >>confdefs.h
8752 ac_fn_c_check_header_compile "$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "#include <sys/types.h>
8753 #include <sys/socket.h>
8754 #ifdef HAVE_SYS_SOCKETVAR_H
8755 # include <sys/socketvar.h>
8756 #endif
8757 #ifdef HAVE_NET_ROUTE_H
8758 # include <net/route.h>
8759 #endif
8760 #ifdef HAVE_NETINET_IN_H
8761 # include <netinet/in.h>
8762 #endif
8763 #ifdef HAVE_NETINET_IN_SYSTM_H
8764 # include <netinet/in_systm.h>
8765 #endif
8766 #ifdef HAVE_NET_IF_H
8767 # include <net/if.h>
8768 #endif
8769 #ifdef HAVE_NETINET_IP_H
8770 # include <netinet/ip.h>
8771 #endif
8773 if test "x$ac_cv_header_sys_un_h" = xyes
8774 then :
8775 printf "%s\n" "#define HAVE_SYS_UN_H 1" >>confdefs.h
8780 ac_fn_c_check_header_compile "$LINENO" "netinet/udp_var.h" "ac_cv_header_netinet_udp_var_h" "#include <sys/types.h>
8781 #include <sys/socket.h>
8782 #ifdef HAVE_SYS_SOCKETVAR_H
8783 # include <sys/socketvar.h>
8784 #endif
8785 #ifdef HAVE_NETINET_IN_H
8786 # include <netinet/in.h>
8787 #endif
8788 #ifdef HAVE_NETINET_IN_SYSTM_H
8789 # include <netinet/in_systm.h>
8790 #endif
8791 #ifdef HAVE_NETINET_IP_H
8792 # include <netinet/ip.h>
8793 #endif
8794 #ifdef HAVE_NETINET_IP_VAR_H
8795 # include <netinet/ip_var.h>
8796 #endif
8797 #ifdef HAVE_NETINET_IP_ICMP_H
8798 # include <netinet/ip_icmp.h>
8799 #endif
8800 #ifdef HAVE_NETINET_UDP_H
8801 # include <netinet/udp.h>
8802 #endif
8803 #ifdef HAVE_NETINET_TCP_H
8804 # include <netinet/tcp.h>
8805 #endif
8807 if test "x$ac_cv_header_netinet_udp_var_h" = xyes
8808 then :
8809 printf "%s\n" "#define HAVE_NETINET_UDP_VAR_H 1" >>confdefs.h
8812 ac_fn_c_check_header_compile "$LINENO" "netinet/icmp_var.h" "ac_cv_header_netinet_icmp_var_h" "#include <sys/types.h>
8813 #include <sys/socket.h>
8814 #ifdef HAVE_SYS_SOCKETVAR_H
8815 # include <sys/socketvar.h>
8816 #endif
8817 #ifdef HAVE_NETINET_IN_H
8818 # include <netinet/in.h>
8819 #endif
8820 #ifdef HAVE_NETINET_IN_SYSTM_H
8821 # include <netinet/in_systm.h>
8822 #endif
8823 #ifdef HAVE_NETINET_IP_H
8824 # include <netinet/ip.h>
8825 #endif
8826 #ifdef HAVE_NETINET_IP_VAR_H
8827 # include <netinet/ip_var.h>
8828 #endif
8829 #ifdef HAVE_NETINET_IP_ICMP_H
8830 # include <netinet/ip_icmp.h>
8831 #endif
8832 #ifdef HAVE_NETINET_UDP_H
8833 # include <netinet/udp.h>
8834 #endif
8835 #ifdef HAVE_NETINET_TCP_H
8836 # include <netinet/tcp.h>
8837 #endif
8839 if test "x$ac_cv_header_netinet_icmp_var_h" = xyes
8840 then :
8841 printf "%s\n" "#define HAVE_NETINET_ICMP_VAR_H 1" >>confdefs.h
8844 ac_fn_c_check_header_compile "$LINENO" "netinet/icmp6.h" "ac_cv_header_netinet_icmp6_h" "#include <sys/types.h>
8845 #include <sys/socket.h>
8846 #ifdef HAVE_SYS_SOCKETVAR_H
8847 # include <sys/socketvar.h>
8848 #endif
8849 #ifdef HAVE_NETINET_IN_H
8850 # include <netinet/in.h>
8851 #endif
8852 #ifdef HAVE_NETINET_IN_SYSTM_H
8853 # include <netinet/in_systm.h>
8854 #endif
8855 #ifdef HAVE_NETINET_IP_H
8856 # include <netinet/ip.h>
8857 #endif
8858 #ifdef HAVE_NETINET_IP_VAR_H
8859 # include <netinet/ip_var.h>
8860 #endif
8861 #ifdef HAVE_NETINET_IP_ICMP_H
8862 # include <netinet/ip_icmp.h>
8863 #endif
8864 #ifdef HAVE_NETINET_UDP_H
8865 # include <netinet/udp.h>
8866 #endif
8867 #ifdef HAVE_NETINET_TCP_H
8868 # include <netinet/tcp.h>
8869 #endif
8871 if test "x$ac_cv_header_netinet_icmp6_h" = xyes
8872 then :
8873 printf "%s\n" "#define HAVE_NETINET_ICMP6_H 1" >>confdefs.h
8876 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_var.h" "ac_cv_header_netinet_tcp_var_h" "#include <sys/types.h>
8877 #include <sys/socket.h>
8878 #ifdef HAVE_SYS_SOCKETVAR_H
8879 # include <sys/socketvar.h>
8880 #endif
8881 #ifdef HAVE_NETINET_IN_H
8882 # include <netinet/in.h>
8883 #endif
8884 #ifdef HAVE_NETINET_IN_SYSTM_H
8885 # include <netinet/in_systm.h>
8886 #endif
8887 #ifdef HAVE_NETINET_IP_H
8888 # include <netinet/ip.h>
8889 #endif
8890 #ifdef HAVE_NETINET_IP_VAR_H
8891 # include <netinet/ip_var.h>
8892 #endif
8893 #ifdef HAVE_NETINET_IP_ICMP_H
8894 # include <netinet/ip_icmp.h>
8895 #endif
8896 #ifdef HAVE_NETINET_UDP_H
8897 # include <netinet/udp.h>
8898 #endif
8899 #ifdef HAVE_NETINET_TCP_H
8900 # include <netinet/tcp.h>
8901 #endif
8903 if test "x$ac_cv_header_netinet_tcp_var_h" = xyes
8904 then :
8905 printf "%s\n" "#define HAVE_NETINET_TCP_VAR_H 1" >>confdefs.h
8910 ac_fn_c_check_header_compile "$LINENO" "linux/ipx.h" "ac_cv_header_linux_ipx_h" "#include <sys/types.h>
8911 #include <sys/socket.h>
8912 #ifdef HAVE_ASM_TYPES_H
8913 # include <asm/types.h>
8914 #endif
8915 #ifdef HAVE_LINUX_TYPES_H
8916 # include <linux/types.h>
8917 #endif
8919 if test "x$ac_cv_header_linux_ipx_h" = xyes
8920 then :
8921 printf "%s\n" "#define HAVE_LINUX_IPX_H 1" >>confdefs.h
8924 ac_fn_c_check_header_compile "$LINENO" "linux/irda.h" "ac_cv_header_linux_irda_h" "#include <sys/types.h>
8925 #include <sys/socket.h>
8926 #ifdef HAVE_ASM_TYPES_H
8927 # include <asm/types.h>
8928 #endif
8929 #ifdef HAVE_LINUX_TYPES_H
8930 # include <linux/types.h>
8931 #endif
8933 if test "x$ac_cv_header_linux_irda_h" = xyes
8934 then :
8935 printf "%s\n" "#define HAVE_LINUX_IRDA_H 1" >>confdefs.h
8938 ac_fn_c_check_header_compile "$LINENO" "linux/rtnetlink.h" "ac_cv_header_linux_rtnetlink_h" "#include <sys/types.h>
8939 #include <sys/socket.h>
8940 #ifdef HAVE_ASM_TYPES_H
8941 # include <asm/types.h>
8942 #endif
8943 #ifdef HAVE_LINUX_TYPES_H
8944 # include <linux/types.h>
8945 #endif
8947 if test "x$ac_cv_header_linux_rtnetlink_h" = xyes
8948 then :
8949 printf "%s\n" "#define HAVE_LINUX_RTNETLINK_H 1" >>confdefs.h
8954 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
8955 #include <sys/socket.h>
8956 #ifdef HAVE_NETINET_IN_H
8957 # include <netinet/in.h>
8958 #endif
8959 #ifdef HAVE_ARPA_NAMESER_H
8960 # include <arpa/nameser.h>
8961 #endif
8963 if test "x$ac_cv_header_resolv_h" = xyes
8964 then :
8965 printf "%s\n" "#define HAVE_RESOLV_H 1" >>confdefs.h
8970 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
8972 if test "x$ac_cv_header_ifaddrs_h" = xyes
8973 then :
8974 printf "%s\n" "#define HAVE_IFADDRS_H 1" >>confdefs.h
8979 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
8981 if test "x$ac_cv_header_sys_ucontext_h" = xyes
8982 then :
8983 printf "%s\n" "#define HAVE_SYS_UCONTEXT_H 1" >>confdefs.h
8988 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
8989 #ifdef HAVE_SYS_UCONTEXT_H
8990 #include <sys/ucontext.h>
8991 #endif
8993 if test "x$ac_cv_header_sys_thr_h" = xyes
8994 then :
8995 printf "%s\n" "#define HAVE_SYS_THR_H 1" >>confdefs.h
9000 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
9001 #include <pthread.h>
9002 #endif
9004 if test "x$ac_cv_header_pthread_np_h" = xyes
9005 then :
9006 printf "%s\n" "#define HAVE_PTHREAD_NP_H 1" >>confdefs.h
9011 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#include <sys/time.h>
9012 #include <sys/types.h>
9013 #ifdef HAVE_ASM_TYPES_H
9014 #include <asm/types.h>
9015 #endif
9017 if test "x$ac_cv_header_linux_videodev2_h" = xyes
9018 then :
9019 printf "%s\n" "#define HAVE_LINUX_VIDEODEV2_H 1" >>confdefs.h
9024 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
9025 #include <sys/param.h>
9026 #endif
9027 #include <sys/socket.h>
9028 #ifdef HAVE_SYS_QUEUE_H
9029 #include <sys/queue.h>
9030 #endif
9032 if test "x$ac_cv_header_libprocstat_h" = xyes
9033 then :
9034 printf "%s\n" "#define HAVE_LIBPROCSTAT_H 1" >>confdefs.h
9039 if test "x$ac_cv_header_sys_xattr_h" = xyes
9040 then
9041 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether getxattr takes additional arguments" >&5
9042 printf %s "checking whether getxattr takes additional arguments... " >&6; }
9043 if test ${wine_cv_xattr_extra_args+y}
9044 then :
9045 printf %s "(cached) " >&6
9046 else $as_nop
9047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9048 /* end confdefs.h. */
9049 #include <sys/xattr.h>
9051 main (void)
9053 getxattr("", "", "", 0, 0, 0);
9055 return 0;
9057 _ACEOF
9058 if ac_fn_c_try_compile "$LINENO"
9059 then :
9060 wine_cv_xattr_extra_args=yes
9061 else $as_nop
9062 wine_cv_xattr_extra_args=no
9064 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9066 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_xattr_extra_args" >&5
9067 printf "%s\n" "$wine_cv_xattr_extra_args" >&6; }
9068 test $wine_cv_xattr_extra_args != yes ||
9069 printf "%s\n" "#define XATTR_ADDITIONAL_OPTIONS 1" >>confdefs.h
9074 DLLFLAGS=""
9076 LDDLLFLAGS=""
9078 LDEXECFLAGS=""
9080 EXTRACFLAGS=""
9082 UNIXDLLFLAGS="-fPIC"
9084 UNIXLDFLAGS="-shared -Wl,-Bsymbolic -Wl,-soname,\$(UNIXLIB)"
9086 TOP_INSTALL_LIB=""
9088 TOP_INSTALL_DEV=""
9090 WINELOADER_LDFLAGS=""
9092 WINEPRELOADER_LDFLAGS=""
9094 LIBEXT="so"
9095 # Extract the first word of "ldd", so it can be a program name with args.
9096 set dummy ldd; ac_word=$2
9097 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9098 printf %s "checking for $ac_word... " >&6; }
9099 if test ${ac_cv_path_LDD+y}
9100 then :
9101 printf %s "(cached) " >&6
9102 else $as_nop
9103 case $LDD in
9104 [\\/]* | ?:[\\/]*)
9105 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
9108 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9109 as_dummy="/sbin:/usr/sbin:$PATH"
9110 for as_dir in $as_dummy
9112 IFS=$as_save_IFS
9113 case $as_dir in #(((
9114 '') as_dir=./ ;;
9115 */) ;;
9116 *) as_dir=$as_dir/ ;;
9117 esac
9118 for ac_exec_ext in '' $ac_executable_extensions; do
9119 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9120 ac_cv_path_LDD="$as_dir$ac_word$ac_exec_ext"
9121 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9122 break 2
9124 done
9125 done
9126 IFS=$as_save_IFS
9128 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
9130 esac
9132 LDD=$ac_cv_path_LDD
9133 if test -n "$LDD"; then
9134 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
9135 printf "%s\n" "$LDD" >&6; }
9136 else
9137 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9138 printf "%s\n" "no" >&6; }
9142 if test -n "$ac_tool_prefix"; then
9143 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
9144 set dummy ${ac_tool_prefix}otool; ac_word=$2
9145 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9146 printf %s "checking for $ac_word... " >&6; }
9147 if test ${ac_cv_prog_OTOOL+y}
9148 then :
9149 printf %s "(cached) " >&6
9150 else $as_nop
9151 if test -n "$OTOOL"; then
9152 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
9153 else
9154 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9155 for as_dir in $PATH
9157 IFS=$as_save_IFS
9158 case $as_dir in #(((
9159 '') as_dir=./ ;;
9160 */) ;;
9161 *) as_dir=$as_dir/ ;;
9162 esac
9163 for ac_exec_ext in '' $ac_executable_extensions; do
9164 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9165 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
9166 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9167 break 2
9169 done
9170 done
9171 IFS=$as_save_IFS
9175 OTOOL=$ac_cv_prog_OTOOL
9176 if test -n "$OTOOL"; then
9177 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
9178 printf "%s\n" "$OTOOL" >&6; }
9179 else
9180 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9181 printf "%s\n" "no" >&6; }
9186 if test -z "$ac_cv_prog_OTOOL"; then
9187 ac_ct_OTOOL=$OTOOL
9188 # Extract the first word of "otool", so it can be a program name with args.
9189 set dummy otool; ac_word=$2
9190 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9191 printf %s "checking for $ac_word... " >&6; }
9192 if test ${ac_cv_prog_ac_ct_OTOOL+y}
9193 then :
9194 printf %s "(cached) " >&6
9195 else $as_nop
9196 if test -n "$ac_ct_OTOOL"; then
9197 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
9198 else
9199 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9200 for as_dir in $PATH
9202 IFS=$as_save_IFS
9203 case $as_dir in #(((
9204 '') as_dir=./ ;;
9205 */) ;;
9206 *) as_dir=$as_dir/ ;;
9207 esac
9208 for ac_exec_ext in '' $ac_executable_extensions; do
9209 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9210 ac_cv_prog_ac_ct_OTOOL="otool"
9211 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9212 break 2
9214 done
9215 done
9216 IFS=$as_save_IFS
9220 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
9221 if test -n "$ac_ct_OTOOL"; then
9222 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
9223 printf "%s\n" "$ac_ct_OTOOL" >&6; }
9224 else
9225 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9226 printf "%s\n" "no" >&6; }
9229 if test "x$ac_ct_OTOOL" = x; then
9230 OTOOL="otool"
9231 else
9232 case $cross_compiling:$ac_tool_warned in
9233 yes:)
9234 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9235 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9236 ac_tool_warned=yes ;;
9237 esac
9238 OTOOL=$ac_ct_OTOOL
9240 else
9241 OTOOL="$ac_cv_prog_OTOOL"
9244 if test -n "$ac_tool_prefix"; then
9245 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
9246 set dummy ${ac_tool_prefix}readelf; ac_word=$2
9247 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9248 printf %s "checking for $ac_word... " >&6; }
9249 if test ${ac_cv_prog_READELF+y}
9250 then :
9251 printf %s "(cached) " >&6
9252 else $as_nop
9253 if test -n "$READELF"; then
9254 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9255 else
9256 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9257 for as_dir in $PATH
9259 IFS=$as_save_IFS
9260 case $as_dir in #(((
9261 '') as_dir=./ ;;
9262 */) ;;
9263 *) as_dir=$as_dir/ ;;
9264 esac
9265 for ac_exec_ext in '' $ac_executable_extensions; do
9266 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9267 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
9268 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9269 break 2
9271 done
9272 done
9273 IFS=$as_save_IFS
9277 READELF=$ac_cv_prog_READELF
9278 if test -n "$READELF"; then
9279 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
9280 printf "%s\n" "$READELF" >&6; }
9281 else
9282 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9283 printf "%s\n" "no" >&6; }
9288 if test -z "$ac_cv_prog_READELF"; then
9289 ac_ct_READELF=$READELF
9290 # Extract the first word of "readelf", so it can be a program name with args.
9291 set dummy readelf; ac_word=$2
9292 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9293 printf %s "checking for $ac_word... " >&6; }
9294 if test ${ac_cv_prog_ac_ct_READELF+y}
9295 then :
9296 printf %s "(cached) " >&6
9297 else $as_nop
9298 if test -n "$ac_ct_READELF"; then
9299 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
9300 else
9301 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9302 for as_dir in $PATH
9304 IFS=$as_save_IFS
9305 case $as_dir in #(((
9306 '') as_dir=./ ;;
9307 */) ;;
9308 *) as_dir=$as_dir/ ;;
9309 esac
9310 for ac_exec_ext in '' $ac_executable_extensions; do
9311 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9312 ac_cv_prog_ac_ct_READELF="readelf"
9313 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9314 break 2
9316 done
9317 done
9318 IFS=$as_save_IFS
9322 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
9323 if test -n "$ac_ct_READELF"; then
9324 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
9325 printf "%s\n" "$ac_ct_READELF" >&6; }
9326 else
9327 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9328 printf "%s\n" "no" >&6; }
9331 if test "x$ac_ct_READELF" = x; then
9332 READELF="true"
9333 else
9334 case $cross_compiling:$ac_tool_warned in
9335 yes:)
9336 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9337 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9338 ac_tool_warned=yes ;;
9339 esac
9340 READELF=$ac_ct_READELF
9342 else
9343 READELF="$ac_cv_prog_READELF"
9346 wine_rules="all:"
9347 SUBDIRS=""
9349 DISABLED_SUBDIRS=""
9351 CONFIGURE_TARGETS=""
9354 wine_fn_config_makefile ()
9356 as_fn_append SUBDIRS " \\$as_nl $1"
9357 eval enable=\$$2
9358 case "$enable" in
9359 no) as_fn_append DISABLED_SUBDIRS " $1" ;;
9360 *aarch64*|*arm*|*i386*|*x86_64*)
9361 if test -n "$PE_ARCHS"
9362 then
9363 for i in $PE_ARCHS
9365 test $(expr ",$enable," : ".*,$i,") -gt 0 || as_fn_append ${i}_DISABLED_SUBDIRS " $1"
9366 done
9367 else
9368 test $(expr ",$enable," : ".*,$HOST_ARCH,") -gt 0 || as_fn_append DISABLED_SUBDIRS " $1"
9369 fi;;
9370 esac
9373 wine_fn_config_symlink ()
9375 ac_links=$@
9376 as_fn_append wine_rules "
9377 $ac_links:
9378 @./config.status \$@"
9379 for f in $ac_links; do as_fn_append CONFIGURE_TARGETS " $f"; done
9382 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
9384 case $host_os in
9385 cygwin*|mingw32*)
9386 LIBEXT="dll"
9387 EXTRACFLAGS="-D__WINE_PE_BUILD"
9388 case $host_cpu in
9389 *i[3456]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
9390 printf %s "checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
9391 if test ${ac_cv_cflags__Wl___disable_stdcall_fixup+y}
9392 then :
9393 printf %s "(cached) " >&6
9394 else $as_nop
9395 ac_wine_try_cflags_saved=$CFLAGS
9396 CFLAGS="$CFLAGS -Wl,--disable-stdcall-fixup"
9397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9398 /* end confdefs.h. */
9399 int main(int argc, char **argv) { return 0; }
9400 _ACEOF
9401 if ac_fn_c_try_link "$LINENO"
9402 then :
9403 ac_cv_cflags__Wl___disable_stdcall_fixup=yes
9404 else $as_nop
9405 ac_cv_cflags__Wl___disable_stdcall_fixup=no
9407 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9408 conftest$ac_exeext conftest.$ac_ext
9409 CFLAGS=$ac_wine_try_cflags_saved
9411 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
9412 printf "%s\n" "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
9413 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes
9414 then :
9415 LDDLLFLAGS="-Wl,--disable-stdcall-fixup"
9416 fi ;;
9417 esac
9418 enable_loader=${enable_loader:-no}
9419 enable_server=${enable_server:-no}
9420 with_x=${with_x:-no}
9421 with_pthread=${with_pthread:-no}
9424 darwin*|macosx*)
9425 LIBEXT="dylib"
9426 DLLFLAGS="$DLLFLAGS -fPIC"
9427 LDDLLFLAGS="-fPIC"
9428 enable_winemac_drv=${enable_winemac_drv:-yes}
9429 CARBON_LIBS="-framework Carbon"
9431 COREFOUNDATION_LIBS="-framework CoreFoundation"
9433 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
9435 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
9437 METAL_LIBS="-framework Metal"
9439 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
9441 CORESERVICES_LIBS="-framework CoreServices"
9443 APPKIT_LIBS="-framework AppKit"
9445 SECURITY_LIBS="-framework Security -framework CoreFoundation"
9447 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
9450 WINELOADER_LDFLAGS="-Wl,-pie,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
9452 wine_can_build_preloader=yes
9453 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"
9454 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
9455 printf %s "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
9456 if test ${ac_cv_cflags__Wl__no_new_main__e__main+y}
9457 then :
9458 printf %s "(cached) " >&6
9459 else $as_nop
9460 ac_wine_try_cflags_saved=$CFLAGS
9461 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
9462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9463 /* end confdefs.h. */
9464 int main(int argc, char **argv) { return 0; }
9465 _ACEOF
9466 if ac_fn_c_try_link "$LINENO"
9467 then :
9468 ac_cv_cflags__Wl__no_new_main__e__main=yes
9469 else $as_nop
9470 ac_cv_cflags__Wl__no_new_main__e__main=no
9472 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9473 conftest$ac_exeext conftest.$ac_ext
9474 CFLAGS=$ac_wine_try_cflags_saved
9476 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
9477 printf "%s\n" "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
9478 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes
9479 then :
9480 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
9481 { 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
9482 printf %s "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
9483 if test ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+y}
9484 then :
9485 printf %s "(cached) " >&6
9486 else $as_nop
9487 ac_wine_try_cflags_saved=$CFLAGS
9488 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
9489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9490 /* end confdefs.h. */
9491 int main(int argc, char **argv) { return 0; }
9492 _ACEOF
9493 if ac_fn_c_try_link "$LINENO"
9494 then :
9495 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
9496 else $as_nop
9497 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
9499 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9500 conftest$ac_exeext conftest.$ac_ext
9501 CFLAGS=$ac_wine_try_cflags_saved
9503 { 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
9504 printf "%s\n" "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
9505 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes
9506 then :
9507 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
9508 else $as_nop
9509 wine_can_build_preloader=no
9511 else $as_nop
9512 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
9513 printf %s "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
9514 if test ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+y}
9515 then :
9516 printf %s "(cached) " >&6
9517 else $as_nop
9518 ac_wine_try_cflags_saved=$CFLAGS
9519 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
9520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9521 /* end confdefs.h. */
9522 int main(int argc, char **argv) { return 0; }
9523 _ACEOF
9524 if ac_fn_c_try_link "$LINENO"
9525 then :
9526 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
9527 else $as_nop
9528 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
9530 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9531 conftest$ac_exeext conftest.$ac_ext
9532 CFLAGS=$ac_wine_try_cflags_saved
9534 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
9535 printf "%s\n" "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
9536 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes
9537 then :
9538 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
9539 else $as_nop
9540 wine_can_build_preloader=no
9543 if test "$wine_can_build_preloader" = "yes"
9544 then
9545 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
9546 printf %s "checking whether the compiler supports -Wl,-no_pie... " >&6; }
9547 if test ${ac_cv_cflags__Wl__no_pie+y}
9548 then :
9549 printf %s "(cached) " >&6
9550 else $as_nop
9551 ac_wine_try_cflags_saved=$CFLAGS
9552 CFLAGS="$CFLAGS -Wl,-no_pie"
9553 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9554 /* end confdefs.h. */
9555 int main(int argc, char **argv) { return 0; }
9556 _ACEOF
9557 if ac_fn_c_try_link "$LINENO"
9558 then :
9559 ac_cv_cflags__Wl__no_pie=yes
9560 else $as_nop
9561 ac_cv_cflags__Wl__no_pie=no
9563 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9564 conftest$ac_exeext conftest.$ac_ext
9565 CFLAGS=$ac_wine_try_cflags_saved
9567 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
9568 printf "%s\n" "$ac_cv_cflags__Wl__no_pie" >&6; }
9569 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
9570 then :
9571 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
9573 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -mmacosx-version-min=10.7"
9574 else
9575 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
9578 if test "x$with_coreaudio" != "xno";
9579 then
9580 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
9582 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
9584 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
9585 then
9586 OPENCL_LIBS="-framework OpenCL"
9588 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
9591 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
9592 printf %s "checking whether MTLDevice protocol supports registryID property... " >&6; }
9593 ac_ext=m
9594 ac_cpp='$OBJCPP $CPPFLAGS'
9595 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9596 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9597 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9599 ac_ext=m
9600 ac_cpp='$OBJCPP $CPPFLAGS'
9601 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9602 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9603 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9604 if test -n "$ac_tool_prefix"; then
9605 for ac_prog in gcc objcc objc cc CC clang
9607 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9608 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
9609 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9610 printf %s "checking for $ac_word... " >&6; }
9611 if test ${ac_cv_prog_OBJC+y}
9612 then :
9613 printf %s "(cached) " >&6
9614 else $as_nop
9615 if test -n "$OBJC"; then
9616 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
9617 else
9618 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9619 for as_dir in $PATH
9621 IFS=$as_save_IFS
9622 case $as_dir in #(((
9623 '') as_dir=./ ;;
9624 */) ;;
9625 *) as_dir=$as_dir/ ;;
9626 esac
9627 for ac_exec_ext in '' $ac_executable_extensions; do
9628 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9629 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
9630 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9631 break 2
9633 done
9634 done
9635 IFS=$as_save_IFS
9639 OBJC=$ac_cv_prog_OBJC
9640 if test -n "$OBJC"; then
9641 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
9642 printf "%s\n" "$OBJC" >&6; }
9643 else
9644 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9645 printf "%s\n" "no" >&6; }
9649 test -n "$OBJC" && break
9650 done
9652 if test -z "$OBJC"; then
9653 ac_ct_OBJC=$OBJC
9654 for ac_prog in gcc objcc objc cc CC clang
9656 # Extract the first word of "$ac_prog", so it can be a program name with args.
9657 set dummy $ac_prog; ac_word=$2
9658 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9659 printf %s "checking for $ac_word... " >&6; }
9660 if test ${ac_cv_prog_ac_ct_OBJC+y}
9661 then :
9662 printf %s "(cached) " >&6
9663 else $as_nop
9664 if test -n "$ac_ct_OBJC"; then
9665 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
9666 else
9667 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9668 for as_dir in $PATH
9670 IFS=$as_save_IFS
9671 case $as_dir in #(((
9672 '') as_dir=./ ;;
9673 */) ;;
9674 *) as_dir=$as_dir/ ;;
9675 esac
9676 for ac_exec_ext in '' $ac_executable_extensions; do
9677 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9678 ac_cv_prog_ac_ct_OBJC="$ac_prog"
9679 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9680 break 2
9682 done
9683 done
9684 IFS=$as_save_IFS
9688 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
9689 if test -n "$ac_ct_OBJC"; then
9690 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
9691 printf "%s\n" "$ac_ct_OBJC" >&6; }
9692 else
9693 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9694 printf "%s\n" "no" >&6; }
9698 test -n "$ac_ct_OBJC" && break
9699 done
9701 if test "x$ac_ct_OBJC" = x; then
9702 OBJC="gcc"
9703 else
9704 case $cross_compiling:$ac_tool_warned in
9705 yes:)
9706 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9707 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9708 ac_tool_warned=yes ;;
9709 esac
9710 OBJC=$ac_ct_OBJC
9714 # Provide some information about the compiler.
9715 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
9716 set X $ac_compile
9717 ac_compiler=$2
9718 for ac_option in --version -v -V -qversion; do
9719 { { ac_try="$ac_compiler $ac_option >&5"
9720 case "(($ac_try" in
9721 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9722 *) ac_try_echo=$ac_try;;
9723 esac
9724 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
9725 printf "%s\n" "$ac_try_echo"; } >&5
9726 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
9727 ac_status=$?
9728 if test -s conftest.err; then
9729 sed '10a\
9730 ... rest of stderr output deleted ...
9731 10q' conftest.err >conftest.er1
9732 cat conftest.er1 >&5
9734 rm -f conftest.er1 conftest.err
9735 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9736 test $ac_status = 0; }
9737 done
9739 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU Objective C" >&5
9740 printf %s "checking whether the compiler supports GNU Objective C... " >&6; }
9741 if test ${ac_cv_objc_compiler_gnu+y}
9742 then :
9743 printf %s "(cached) " >&6
9744 else $as_nop
9745 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9746 /* end confdefs.h. */
9749 main (void)
9751 #ifndef __GNUC__
9752 choke me
9753 #endif
9756 return 0;
9758 _ACEOF
9759 if ac_fn_objc_try_compile "$LINENO"
9760 then :
9761 ac_compiler_gnu=yes
9762 else $as_nop
9763 ac_compiler_gnu=no
9765 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9766 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
9769 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
9770 printf "%s\n" "$ac_cv_objc_compiler_gnu" >&6; }
9771 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9773 if test $ac_compiler_gnu = yes; then
9774 GOBJC=yes
9775 else
9776 GOBJC=
9778 ac_test_OBJCFLAGS=${OBJCFLAGS+y}
9779 ac_save_OBJCFLAGS=$OBJCFLAGS
9780 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
9781 printf %s "checking whether $OBJC accepts -g... " >&6; }
9782 if test ${ac_cv_prog_objc_g+y}
9783 then :
9784 printf %s "(cached) " >&6
9785 else $as_nop
9786 ac_save_objc_werror_flag=$ac_objc_werror_flag
9787 ac_objc_werror_flag=yes
9788 ac_cv_prog_objc_g=no
9789 OBJCFLAGS="-g"
9790 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9791 /* end confdefs.h. */
9794 main (void)
9798 return 0;
9800 _ACEOF
9801 if ac_fn_objc_try_compile "$LINENO"
9802 then :
9803 ac_cv_prog_objc_g=yes
9804 else $as_nop
9805 OBJCFLAGS=""
9806 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9807 /* end confdefs.h. */
9810 main (void)
9814 return 0;
9816 _ACEOF
9817 if ac_fn_objc_try_compile "$LINENO"
9818 then :
9820 else $as_nop
9821 ac_objc_werror_flag=$ac_save_objc_werror_flag
9822 OBJCFLAGS="-g"
9823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9824 /* end confdefs.h. */
9827 main (void)
9831 return 0;
9833 _ACEOF
9834 if ac_fn_objc_try_compile "$LINENO"
9835 then :
9836 ac_cv_prog_objc_g=yes
9838 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9840 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9842 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9843 ac_objc_werror_flag=$ac_save_objc_werror_flag
9845 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
9846 printf "%s\n" "$ac_cv_prog_objc_g" >&6; }
9847 if test $ac_test_OBJCFLAGS; then
9848 OBJCFLAGS=$ac_save_OBJCFLAGS
9849 elif test $ac_cv_prog_objc_g = yes; then
9850 if test "$GOBJC" = yes; then
9851 OBJCFLAGS="-g -O2"
9852 else
9853 OBJCFLAGS="-g"
9855 else
9856 if test "$GOBJC" = yes; then
9857 OBJCFLAGS="-O2"
9858 else
9859 OBJCFLAGS=
9862 ac_ext=m
9863 ac_cpp='$OBJCPP $CPPFLAGS'
9864 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9865 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9866 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9870 /* end confdefs.h. */
9871 #include <Metal/Metal.h>
9873 main (void)
9875 id<MTLDevice> device; device.registryID;
9877 return 0;
9879 _ACEOF
9880 if ac_fn_objc_try_compile "$LINENO"
9881 then :
9882 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9883 printf "%s\n" "yes" >&6; }
9885 printf "%s\n" "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
9887 else $as_nop
9888 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9889 printf "%s\n" "no" >&6; }
9891 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9892 ac_ext=c
9893 ac_cpp='$CPP $CPPFLAGS'
9894 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9895 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9896 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9899 UNIXLDFLAGS="-dynamiclib -install_name @rpath/\$(UNIXLIB) -Wl,-rpath,@loader_path\/"
9900 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
9902 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
9904 WINELOADER_DEPENDS="wine_info.plist"
9906 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
9909 linux-android*)
9911 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
9913 DLLFLAGS="$DLLFLAGS -fPIC"
9914 LDDLLFLAGS="-fPIC"
9915 LDEXECFLAGS="-Wl,-pie"
9916 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9917 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
9918 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
9919 if test ${ac_cv_cflags__Wl__z_defs+y}
9920 then :
9921 printf %s "(cached) " >&6
9922 else $as_nop
9923 ac_wine_try_cflags_saved=$CFLAGS
9924 CFLAGS="$CFLAGS -Wl,-z,defs"
9925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9926 /* end confdefs.h. */
9927 int main(int argc, char **argv) { return 0; }
9928 _ACEOF
9929 if ac_fn_c_try_link "$LINENO"
9930 then :
9931 ac_cv_cflags__Wl__z_defs=yes
9932 else $as_nop
9933 ac_cv_cflags__Wl__z_defs=no
9935 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9936 conftest$ac_exeext conftest.$ac_ext
9937 CFLAGS=$ac_wine_try_cflags_saved
9939 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
9940 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
9941 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
9942 then :
9943 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
9945 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9946 printf %s "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9947 if test ${ac_cv_cflags__fPIC__Wl___export_dynamic+y}
9948 then :
9949 printf %s "(cached) " >&6
9950 else $as_nop
9951 ac_wine_try_cflags_saved=$CFLAGS
9952 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9954 /* end confdefs.h. */
9955 int main(int argc, char **argv) { return 0; }
9956 _ACEOF
9957 if ac_fn_c_try_link "$LINENO"
9958 then :
9959 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9960 else $as_nop
9961 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9963 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9964 conftest$ac_exeext conftest.$ac_ext
9965 CFLAGS=$ac_wine_try_cflags_saved
9967 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9968 printf "%s\n" "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9969 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
9970 then :
9971 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9973 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9975 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9976 printf %s "checking for -lEGL... " >&6; }
9977 if test ${ac_cv_lib_soname_EGL+y}
9978 then :
9979 printf %s "(cached) " >&6
9980 else $as_nop
9981 ac_check_soname_save_LIBS=$LIBS
9982 LIBS="-lEGL $LIBS"
9983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9984 /* end confdefs.h. */
9986 /* Override any GCC internal prototype to avoid an error.
9987 Use char because int might match the return type of a GCC
9988 builtin and then its argument prototype would still apply. */
9989 char eglGetProcAddress ();
9991 main (void)
9993 return eglGetProcAddress ();
9995 return 0;
9997 _ACEOF
9998 if ac_fn_c_try_link "$LINENO"
9999 then :
10000 case "$LIBEXT" in
10001 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10002 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'` ;;
10003 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10004 if ${ac_cv_lib_soname_EGL:+false} :
10005 then :
10006 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10007 fi ;;
10008 esac
10009 else $as_nop
10010 ac_cv_lib_soname_EGL=
10012 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10013 conftest$ac_exeext conftest.$ac_ext
10014 LIBS=$ac_check_soname_save_LIBS
10016 if ${ac_cv_lib_soname_EGL:+false} :
10017 then :
10018 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10019 printf "%s\n" "not found" >&6; }
10021 else $as_nop
10022 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
10023 printf "%s\n" "$ac_cv_lib_soname_EGL" >&6; }
10025 printf "%s\n" "#define SONAME_LIBEGL \"$ac_cv_lib_soname_EGL\"" >>confdefs.h
10029 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
10030 printf %s "checking for -lGLESv2... " >&6; }
10031 if test ${ac_cv_lib_soname_GLESv2+y}
10032 then :
10033 printf %s "(cached) " >&6
10034 else $as_nop
10035 ac_check_soname_save_LIBS=$LIBS
10036 LIBS="-lGLESv2 $LIBS"
10037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10038 /* end confdefs.h. */
10040 /* Override any GCC internal prototype to avoid an error.
10041 Use char because int might match the return type of a GCC
10042 builtin and then its argument prototype would still apply. */
10043 char glFlush ();
10045 main (void)
10047 return glFlush ();
10049 return 0;
10051 _ACEOF
10052 if ac_fn_c_try_link "$LINENO"
10053 then :
10054 case "$LIBEXT" in
10055 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10056 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'` ;;
10057 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10058 if ${ac_cv_lib_soname_GLESv2:+false} :
10059 then :
10060 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10061 fi ;;
10062 esac
10063 else $as_nop
10064 ac_cv_lib_soname_GLESv2=
10066 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10067 conftest$ac_exeext conftest.$ac_ext
10068 LIBS=$ac_check_soname_save_LIBS
10070 if ${ac_cv_lib_soname_GLESv2:+false} :
10071 then :
10072 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10073 printf "%s\n" "not found" >&6; }
10075 else $as_nop
10076 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
10077 printf "%s\n" "$ac_cv_lib_soname_GLESv2" >&6; }
10079 printf "%s\n" "#define SONAME_LIBGLESV2 \"$ac_cv_lib_soname_GLESv2\"" >>confdefs.h
10084 if test "x$exec_prefix" = xNONE
10085 then
10086 case $host_cpu in
10087 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
10088 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
10089 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
10090 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
10091 esac
10097 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
10099 test "$ac_cv_sys_file_offset_bits" = 64 &&
10100 printf "%s\n" "#define _TIME_BITS 64" >>confdefs.h
10102 case $host_cpu in
10103 *i[3456789]86*)
10104 DLLFLAGS="$DLLFLAGS -fno-PIC"
10105 LDDLLFLAGS="-fno-PIC"
10106 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-PIC -Wl,-z,notext" >&5
10107 printf %s "checking whether the compiler supports -fno-PIC -Wl,-z,notext... " >&6; }
10108 if test ${ac_cv_cflags__fno_PIC__Wl__z_notext+y}
10109 then :
10110 printf %s "(cached) " >&6
10111 else $as_nop
10112 ac_wine_try_cflags_saved=$CFLAGS
10113 CFLAGS="$CFLAGS -fno-PIC -Wl,-z,notext"
10114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10115 /* end confdefs.h. */
10116 int main(int argc, char **argv) { return 0; }
10117 _ACEOF
10118 if ac_fn_c_try_link "$LINENO"
10119 then :
10120 ac_cv_cflags__fno_PIC__Wl__z_notext=yes
10121 else $as_nop
10122 ac_cv_cflags__fno_PIC__Wl__z_notext=no
10124 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10125 conftest$ac_exeext conftest.$ac_ext
10126 CFLAGS=$ac_wine_try_cflags_saved
10128 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_PIC__Wl__z_notext" >&5
10129 printf "%s\n" "$ac_cv_cflags__fno_PIC__Wl__z_notext" >&6; }
10130 if test "x$ac_cv_cflags__fno_PIC__Wl__z_notext" = xyes
10131 then :
10132 LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"
10136 DLLFLAGS="$DLLFLAGS -fPIC"
10137 LDDLLFLAGS="-fPIC" ;;
10138 esac
10139 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
10141 echo '{ global: *; };' >conftest.map
10142 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
10143 printf %s "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
10144 if test ${ac_cv_cflags__shared__Wl___version_script_conftest_map+y}
10145 then :
10146 printf %s "(cached) " >&6
10147 else $as_nop
10148 ac_wine_try_cflags_saved=$CFLAGS
10149 CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
10150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10151 /* end confdefs.h. */
10152 int main(int argc, char **argv) { return 0; }
10153 _ACEOF
10154 if ac_fn_c_try_link "$LINENO"
10155 then :
10156 ac_cv_cflags__shared__Wl___version_script_conftest_map=yes
10157 else $as_nop
10158 ac_cv_cflags__shared__Wl___version_script_conftest_map=no
10160 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10161 conftest$ac_exeext conftest.$ac_ext
10162 CFLAGS=$ac_wine_try_cflags_saved
10164 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl___version_script_conftest_map" >&5
10165 printf "%s\n" "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
10166 if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes
10167 then :
10168 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
10170 rm -f conftest.map
10172 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
10173 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
10174 if test ${ac_cv_cflags__Wl__z_defs+y}
10175 then :
10176 printf %s "(cached) " >&6
10177 else $as_nop
10178 ac_wine_try_cflags_saved=$CFLAGS
10179 CFLAGS="$CFLAGS -Wl,-z,defs"
10180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10181 /* end confdefs.h. */
10182 int main(int argc, char **argv) { return 0; }
10183 _ACEOF
10184 if ac_fn_c_try_link "$LINENO"
10185 then :
10186 ac_cv_cflags__Wl__z_defs=yes
10187 else $as_nop
10188 ac_cv_cflags__Wl__z_defs=no
10190 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10191 conftest$ac_exeext conftest.$ac_ext
10192 CFLAGS=$ac_wine_try_cflags_saved
10194 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
10195 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
10196 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
10197 then :
10198 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
10200 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
10201 printf %s "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
10202 if test ${ac_cv_cflags__Wl___export_dynamic+y}
10203 then :
10204 printf %s "(cached) " >&6
10205 else $as_nop
10206 ac_wine_try_cflags_saved=$CFLAGS
10207 CFLAGS="$CFLAGS -Wl,--export-dynamic"
10208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10209 /* end confdefs.h. */
10210 int main(int argc, char **argv) { return 0; }
10211 _ACEOF
10212 if ac_fn_c_try_link "$LINENO"
10213 then :
10214 ac_cv_cflags__Wl___export_dynamic=yes
10215 else $as_nop
10216 ac_cv_cflags__Wl___export_dynamic=no
10218 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10219 conftest$ac_exeext conftest.$ac_ext
10220 CFLAGS=$ac_wine_try_cflags_saved
10222 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
10223 printf "%s\n" "$ac_cv_cflags__Wl___export_dynamic" >&6; }
10224 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes
10225 then :
10226 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10228 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
10230 case $host_cpu in
10231 *i[3456789]86* | x86_64 | *aarch64* | arm*)
10232 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
10233 printf %s "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
10234 if test ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+y}
10235 then :
10236 printf %s "(cached) " >&6
10237 else $as_nop
10238 ac_wine_try_cflags_saved=$CFLAGS
10239 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
10240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10241 /* end confdefs.h. */
10242 int main(int argc, char **argv) { return 0; }
10243 _ACEOF
10244 if ac_fn_c_try_link "$LINENO"
10245 then :
10246 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
10247 else $as_nop
10248 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
10250 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10251 conftest$ac_exeext conftest.$ac_ext
10252 CFLAGS=$ac_wine_try_cflags_saved
10254 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
10255 printf "%s\n" "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
10256 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes
10257 then :
10258 case $host_os in
10259 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
10260 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7d000000" ;;
10261 esac
10262 else $as_nop
10263 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400" >&5
10264 printf %s "checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400... " >&6; }
10265 if test ${ac_cv_cflags__Wl___section_start__interp_0x7d000400+y}
10266 then :
10267 printf %s "(cached) " >&6
10268 else $as_nop
10269 ac_wine_try_cflags_saved=$CFLAGS
10270 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7d000400"
10271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10272 /* end confdefs.h. */
10273 int main(int argc, char **argv) { return 0; }
10274 _ACEOF
10275 if ac_fn_c_try_link "$LINENO"
10276 then :
10277 ac_cv_cflags__Wl___section_start__interp_0x7d000400=yes
10278 else $as_nop
10279 ac_cv_cflags__Wl___section_start__interp_0x7d000400=no
10281 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10282 conftest$ac_exeext conftest.$ac_ext
10283 CFLAGS=$ac_wine_try_cflags_saved
10285 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&5
10286 printf "%s\n" "$ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&6; }
10287 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7d000400" = xyes
10288 then :
10289 case $host_os in
10290 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
10291 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7d000400" ;;
10292 esac
10294 # Extract the first word of "prelink", so it can be a program name with args.
10295 set dummy prelink; ac_word=$2
10296 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10297 printf %s "checking for $ac_word... " >&6; }
10298 if test ${ac_cv_path_PRELINK+y}
10299 then :
10300 printf %s "(cached) " >&6
10301 else $as_nop
10302 case $PRELINK in
10303 [\\/]* | ?:[\\/]*)
10304 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
10307 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10308 for as_dir in /sbin /usr/sbin $PATH
10310 IFS=$as_save_IFS
10311 case $as_dir in #(((
10312 '') as_dir=./ ;;
10313 */) ;;
10314 *) as_dir=$as_dir/ ;;
10315 esac
10316 for ac_exec_ext in '' $ac_executable_extensions; do
10317 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10318 ac_cv_path_PRELINK="$as_dir$ac_word$ac_exec_ext"
10319 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10320 break 2
10322 done
10323 done
10324 IFS=$as_save_IFS
10326 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
10328 esac
10330 PRELINK=$ac_cv_path_PRELINK
10331 if test -n "$PRELINK"; then
10332 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
10333 printf "%s\n" "$PRELINK" >&6; }
10334 else
10335 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10336 printf "%s\n" "no" >&6; }
10340 if test "x$PRELINK" = xfalse
10341 then
10342 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
10345 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
10346 printf %s "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
10347 if test ${ac_cv_cflags__Wl__z_max_page_size_0x1000+y}
10348 then :
10349 printf %s "(cached) " >&6
10350 else $as_nop
10351 ac_wine_try_cflags_saved=$CFLAGS
10352 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
10353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10354 /* end confdefs.h. */
10355 int main(int argc, char **argv) { return 0; }
10356 _ACEOF
10357 if ac_fn_c_try_link "$LINENO"
10358 then :
10359 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
10360 else $as_nop
10361 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
10363 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10364 conftest$ac_exeext conftest.$ac_ext
10365 CFLAGS=$ac_wine_try_cflags_saved
10367 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
10368 printf "%s\n" "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
10369 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes
10370 then :
10371 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
10374 esac
10375 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
10377 LIBWINE_DEPENDS="wine.map"
10379 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
10381 esac
10383 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
10384 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
10385 enable_winemac_drv=${enable_winemac_drv:-no}
10387 PE_ARCHS=""
10389 cross_archs=
10390 if test ${enable_archs+y}
10391 then :
10392 test "x$with_system_dllpath" = "x" || as_fn_error $? "\"The --with-system-dllpath option is not compatible with --enable-archs\"" "$LINENO" 5
10393 ac_save_IFS=$IFS
10394 IFS=' ,'
10395 set x $enable_archs
10396 IFS=$ac_save_IFS
10397 shift
10398 for arch
10400 case $arch in
10401 i386|x86_64|arm|aarch64) cross_archs="$cross_archs $arch" ;;
10402 *) as_fn_error $? "Unknown cross-compilation architecture '$arch'" "$LINENO" 5 ;;
10403 esac
10404 done
10405 else $as_nop
10406 if test "x$with_mingw" != xno
10407 then
10408 test $HOST_ARCH = unknown || cross_archs=$HOST_ARCH
10409 case "x$with_mingw" in
10410 x|xyes) ;;
10411 *) eval "${cross_archs}_CC=\$with_mingw" ;;
10412 esac
10416 for wine_arch in $cross_archs
10418 if eval \${${wine_arch}_CC:+false} :
10419 then :
10420 case $wine_arch in
10421 aarch64)
10422 for ac_prog in aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc clang
10424 # Extract the first word of "$ac_prog", so it can be a program name with args.
10425 set dummy $ac_prog; ac_word=$2
10426 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10427 printf %s "checking for $ac_word... " >&6; }
10428 if test ${ac_cv_prog_aarch64_CC+y}
10429 then :
10430 printf %s "(cached) " >&6
10431 else $as_nop
10432 if test -n "$aarch64_CC"; then
10433 ac_cv_prog_aarch64_CC="$aarch64_CC" # Let the user override the test.
10434 else
10435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10436 for as_dir in $PATH
10438 IFS=$as_save_IFS
10439 case $as_dir in #(((
10440 '') as_dir=./ ;;
10441 */) ;;
10442 *) as_dir=$as_dir/ ;;
10443 esac
10444 for ac_exec_ext in '' $ac_executable_extensions; do
10445 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10446 ac_cv_prog_aarch64_CC="$ac_prog"
10447 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10448 break 2
10450 done
10451 done
10452 IFS=$as_save_IFS
10456 aarch64_CC=$ac_cv_prog_aarch64_CC
10457 if test -n "$aarch64_CC"; then
10458 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $aarch64_CC" >&5
10459 printf "%s\n" "$aarch64_CC" >&6; }
10460 else
10461 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10462 printf "%s\n" "no" >&6; }
10466 test -n "$aarch64_CC" && break
10467 done
10468 test -n "$aarch64_CC" || aarch64_CC="false"
10471 arm)
10472 for ac_prog in armv7-w64-mingw32-clang armv7-w64-mingw32-gcc clang
10474 # Extract the first word of "$ac_prog", so it can be a program name with args.
10475 set dummy $ac_prog; ac_word=$2
10476 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10477 printf %s "checking for $ac_word... " >&6; }
10478 if test ${ac_cv_prog_arm_CC+y}
10479 then :
10480 printf %s "(cached) " >&6
10481 else $as_nop
10482 if test -n "$arm_CC"; then
10483 ac_cv_prog_arm_CC="$arm_CC" # Let the user override the test.
10484 else
10485 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10486 for as_dir in $PATH
10488 IFS=$as_save_IFS
10489 case $as_dir in #(((
10490 '') as_dir=./ ;;
10491 */) ;;
10492 *) as_dir=$as_dir/ ;;
10493 esac
10494 for ac_exec_ext in '' $ac_executable_extensions; do
10495 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10496 ac_cv_prog_arm_CC="$ac_prog"
10497 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10498 break 2
10500 done
10501 done
10502 IFS=$as_save_IFS
10506 arm_CC=$ac_cv_prog_arm_CC
10507 if test -n "$arm_CC"; then
10508 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $arm_CC" >&5
10509 printf "%s\n" "$arm_CC" >&6; }
10510 else
10511 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10512 printf "%s\n" "no" >&6; }
10516 test -n "$arm_CC" && break
10517 done
10518 test -n "$arm_CC" || arm_CC="false"
10521 i386)
10522 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 "
10523 for ac_prog in $ac_prefix_list clang
10525 # Extract the first word of "$ac_prog", so it can be a program name with args.
10526 set dummy $ac_prog; ac_word=$2
10527 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10528 printf %s "checking for $ac_word... " >&6; }
10529 if test ${ac_cv_prog_i386_CC+y}
10530 then :
10531 printf %s "(cached) " >&6
10532 else $as_nop
10533 if test -n "$i386_CC"; then
10534 ac_cv_prog_i386_CC="$i386_CC" # Let the user override the test.
10535 else
10536 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10537 for as_dir in $PATH
10539 IFS=$as_save_IFS
10540 case $as_dir in #(((
10541 '') as_dir=./ ;;
10542 */) ;;
10543 *) as_dir=$as_dir/ ;;
10544 esac
10545 for ac_exec_ext in '' $ac_executable_extensions; do
10546 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10547 ac_cv_prog_i386_CC="$ac_prog"
10548 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10549 break 2
10551 done
10552 done
10553 IFS=$as_save_IFS
10557 i386_CC=$ac_cv_prog_i386_CC
10558 if test -n "$i386_CC"; then
10559 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $i386_CC" >&5
10560 printf "%s\n" "$i386_CC" >&6; }
10561 else
10562 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10563 printf "%s\n" "no" >&6; }
10567 test -n "$i386_CC" && break
10568 done
10569 test -n "$i386_CC" || i386_CC="false"
10572 x86_64)
10573 ac_prefix_list="x86_64-w64-mingw32-gcc amd64-w64-mingw32-gcc x86_64-w64-mingw32-clang amd64-w64-mingw32-clang "
10574 for ac_prog in $ac_prefix_list clang
10576 # Extract the first word of "$ac_prog", so it can be a program name with args.
10577 set dummy $ac_prog; ac_word=$2
10578 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10579 printf %s "checking for $ac_word... " >&6; }
10580 if test ${ac_cv_prog_x86_64_CC+y}
10581 then :
10582 printf %s "(cached) " >&6
10583 else $as_nop
10584 if test -n "$x86_64_CC"; then
10585 ac_cv_prog_x86_64_CC="$x86_64_CC" # Let the user override the test.
10586 else
10587 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10588 for as_dir in $PATH
10590 IFS=$as_save_IFS
10591 case $as_dir in #(((
10592 '') as_dir=./ ;;
10593 */) ;;
10594 *) as_dir=$as_dir/ ;;
10595 esac
10596 for ac_exec_ext in '' $ac_executable_extensions; do
10597 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10598 ac_cv_prog_x86_64_CC="$ac_prog"
10599 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10600 break 2
10602 done
10603 done
10604 IFS=$as_save_IFS
10608 x86_64_CC=$ac_cv_prog_x86_64_CC
10609 if test -n "$x86_64_CC"; then
10610 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $x86_64_CC" >&5
10611 printf "%s\n" "$x86_64_CC" >&6; }
10612 else
10613 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10614 printf "%s\n" "no" >&6; }
10618 test -n "$x86_64_CC" && break
10619 done
10620 test -n "$x86_64_CC" || x86_64_CC="false"
10623 esac
10626 if eval test \"x\$"${wine_arch}_CC"\" = x"false"
10627 then :
10628 continue
10631 saved_CC=$CC
10632 saved_CFLAGS=$CFLAGS
10634 CFLAGS=${CROSSCFLAGS:-"-g -O2"}
10635 eval CC=\$${wine_arch}_CC
10636 eval ${wine_arch}_CFLAGS=\$CFLAGS
10637 eval ${wine_arch}_LDFLAGS=\$CROSSLDFLAGS
10638 eval "${wine_arch}_EXTRACFLAGS=\"-D__WINE_PE_BUILD -Wall\""
10640 target=""
10641 as_wine_cv_crosscc=`printf "%s\n" "ac_cv_${wine_arch}_crosscc" | $as_tr_sh`
10643 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
10644 printf %s "checking whether $CC works... " >&6; }
10645 if eval test \${$as_wine_cv_crosscc+y}
10646 then :
10647 printf %s "(cached) " >&6
10648 else $as_nop
10649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10650 /* end confdefs.h. */
10653 main (void)
10657 return 0;
10659 _ACEOF
10660 if ac_fn_c_try_compile "$LINENO"
10661 then :
10662 eval "$as_wine_cv_crosscc=yes"
10663 else $as_nop
10664 eval "$as_wine_cv_crosscc=no"
10666 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10668 eval ac_res=\$$as_wine_cv_crosscc
10669 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10670 printf "%s\n" "$ac_res" >&6; }
10671 if eval test \"x\$"$as_wine_cv_crosscc"\" = x"yes"
10672 then :
10673 set x $CC
10674 shift
10675 while test $# -ge 1
10677 case "$1" in
10678 *-gcc) target=`expr "$1" : '\(.*\)-gcc'` ;;
10679 *-clang) target=`expr "$1" : '\(.*\)-clang'` ;;
10680 esac
10681 shift
10682 done
10684 llvm_target=$target
10685 if test -z "$llvm_target"
10686 then
10687 case $wine_arch in
10688 i386) llvm_target=i686-windows ;;
10689 arm) llvm_target=armv7-windows ;;
10690 *) llvm_target=$wine_arch-windows ;;
10691 esac
10693 llvm_extra_cflags="-target $llvm_target -fuse-ld=lld"
10694 case $llvm_target in
10695 *windows) llvm_cflags="-Wl,-subsystem:console" ;;
10696 esac
10697 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_$llvm_extra_cflags $llvm_cflags" | $as_tr_sh`
10698 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $llvm_extra_cflags $llvm_cflags" >&5
10699 printf %s "checking whether $CC supports $llvm_extra_cflags $llvm_cflags... " >&6; }
10700 if eval test \${$as_ac_var+y}
10701 then :
10702 printf %s "(cached) " >&6
10703 else $as_nop
10704 ac_wine_try_cflags_saved=$CFLAGS
10705 ac_wine_try_cflags_saved_exeext=$ac_exeext
10706 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs $llvm_extra_cflags $llvm_cflags"
10707 ac_exeext=".exe"
10708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10709 /* end confdefs.h. */
10710 int __cdecl mainCRTStartup(void) { return 0; }
10711 _ACEOF
10712 if ac_fn_c_try_link "$LINENO"
10713 then :
10714 eval "$as_ac_var=yes"
10715 else $as_nop
10716 eval "$as_ac_var=no"
10718 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10719 conftest$ac_exeext conftest.$ac_ext
10720 CFLAGS=$ac_wine_try_cflags_saved
10721 ac_exeext=$ac_wine_try_cflags_saved_exeext
10723 eval ac_res=\$$as_ac_var
10724 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10725 printf "%s\n" "$ac_res" >&6; }
10726 if eval test \"x\$"$as_ac_var"\" = x"yes"
10727 then :
10728 target=$llvm_target
10729 eval "${wine_arch}_DELAYLOADFLAG=\"-Wl,-delayload,\""
10730 as_fn_append ${wine_arch}_EXTRACFLAGS " $llvm_extra_cflags"
10731 CFLAGS="$llvm_extra_cflags $llvm_cflags"
10732 fi }
10733 eval "${wine_arch}_TARGET=\$target"
10737 if test -z "$target"
10738 then
10739 CC=$saved_CC
10740 CFLAGS=$saved_CFLAGS
10741 continue
10743 as_fn_append PE_ARCHS " $wine_arch"
10745 as_wine_cv_crosscc_c99=`printf "%s\n" "ac_cv_${wine_arch}_crosscc_c99" | $as_tr_sh`
10747 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
10748 printf %s "checking for $CC option to enable C99 features... " >&6; }
10749 if eval test \${$as_wine_cv_crosscc_c99+y}
10750 then :
10751 printf %s "(cached) " >&6
10752 else $as_nop
10753 eval "$as_wine_cv_crosscc_c99=no"
10754 for arg in '' '-std=gnu99'
10756 test -z "$arg" || CC="$CC $arg"
10757 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10758 /* end confdefs.h. */
10759 $ac_c_conftest_c99_program
10760 _ACEOF
10761 if ac_fn_c_try_compile "$LINENO"
10762 then :
10763 eval "$as_wine_cv_crosscc_c99=\$arg"
10764 else $as_nop
10765 eval "$as_wine_cv_crosscc_c99=no"
10767 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10768 eval CC=\$${wine_arch}_CC
10769 if eval test \"x\$"$as_wine_cv_crosscc_c99"\" = x"no"
10770 then :
10772 else $as_nop
10773 break
10775 done
10778 eval res=\$$as_wine_cv_crosscc_c99
10779 case "x$res" in
10780 x) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
10781 printf "%s\n" "none needed" >&6; } ;;
10782 xno) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
10783 printf "%s\n" "unsupported" >&6; } ;;
10784 x*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $res" >&5
10785 printf "%s\n" "$res" >&6; }
10786 as_fn_append ${wine_arch}_CC " $res" ;;
10787 esac
10790 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-strict-aliasing" | $as_tr_sh`
10791 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-strict-aliasing" >&5
10792 printf %s "checking whether $CC supports -fno-strict-aliasing... " >&6; }
10793 if eval test \${$as_ac_var+y}
10794 then :
10795 printf %s "(cached) " >&6
10796 else $as_nop
10797 ac_wine_try_cflags_saved=$CFLAGS
10798 ac_wine_try_cflags_saved_exeext=$ac_exeext
10799 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -fno-strict-aliasing"
10800 ac_exeext=".exe"
10801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10802 /* end confdefs.h. */
10803 int __cdecl mainCRTStartup(void) { return 0; }
10804 _ACEOF
10805 if ac_fn_c_try_link "$LINENO"
10806 then :
10807 eval "$as_ac_var=yes"
10808 else $as_nop
10809 eval "$as_ac_var=no"
10811 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10812 conftest$ac_exeext conftest.$ac_ext
10813 CFLAGS=$ac_wine_try_cflags_saved
10814 ac_exeext=$ac_wine_try_cflags_saved_exeext
10816 eval ac_res=\$$as_ac_var
10817 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10818 printf "%s\n" "$ac_res" >&6; }
10819 if eval test \"x\$"$as_ac_var"\" = x"yes"
10820 then :
10821 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-strict-aliasing"
10822 fi }
10823 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=unknown-warning-option" | $as_tr_sh`
10824 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=unknown-warning-option" >&5
10825 printf %s "checking whether $CC supports -Werror=unknown-warning-option... " >&6; }
10826 if eval test \${$as_ac_var+y}
10827 then :
10828 printf %s "(cached) " >&6
10829 else $as_nop
10830 ac_wine_try_cflags_saved=$CFLAGS
10831 ac_wine_try_cflags_saved_exeext=$ac_exeext
10832 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror=unknown-warning-option"
10833 ac_exeext=".exe"
10834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10835 /* end confdefs.h. */
10836 int __cdecl mainCRTStartup(void) { return 0; }
10837 _ACEOF
10838 if ac_fn_c_try_link "$LINENO"
10839 then :
10840 eval "$as_ac_var=yes"
10841 else $as_nop
10842 eval "$as_ac_var=no"
10844 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10845 conftest$ac_exeext conftest.$ac_ext
10846 CFLAGS=$ac_wine_try_cflags_saved
10847 ac_exeext=$ac_wine_try_cflags_saved_exeext
10849 eval ac_res=\$$as_ac_var
10850 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10851 printf "%s\n" "$ac_res" >&6; }
10852 if eval test \"x\$"$as_ac_var"\" = x"yes"
10853 then :
10854 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10855 fi }
10856 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=ignored-optimization-argument" | $as_tr_sh`
10857 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=ignored-optimization-argument" >&5
10858 printf %s "checking whether $CC supports -Werror=ignored-optimization-argument... " >&6; }
10859 if eval test \${$as_ac_var+y}
10860 then :
10861 printf %s "(cached) " >&6
10862 else $as_nop
10863 ac_wine_try_cflags_saved=$CFLAGS
10864 ac_wine_try_cflags_saved_exeext=$ac_exeext
10865 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror=ignored-optimization-argument"
10866 ac_exeext=".exe"
10867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10868 /* end confdefs.h. */
10869 int __cdecl mainCRTStartup(void) { return 0; }
10870 _ACEOF
10871 if ac_fn_c_try_link "$LINENO"
10872 then :
10873 eval "$as_ac_var=yes"
10874 else $as_nop
10875 eval "$as_ac_var=no"
10877 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10878 conftest$ac_exeext conftest.$ac_ext
10879 CFLAGS=$ac_wine_try_cflags_saved
10880 ac_exeext=$ac_wine_try_cflags_saved_exeext
10882 eval ac_res=\$$as_ac_var
10883 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10884 printf "%s\n" "$ac_res" >&6; }
10885 if eval test \"x\$"$as_ac_var"\" = x"yes"
10886 then :
10887 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
10888 fi }
10889 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wdeclaration-after-statement" | $as_tr_sh`
10890 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wdeclaration-after-statement" >&5
10891 printf %s "checking whether $CC supports -Wdeclaration-after-statement... " >&6; }
10892 if eval test \${$as_ac_var+y}
10893 then :
10894 printf %s "(cached) " >&6
10895 else $as_nop
10896 ac_wine_try_cflags_saved=$CFLAGS
10897 ac_wine_try_cflags_saved_exeext=$ac_exeext
10898 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wdeclaration-after-statement"
10899 ac_exeext=".exe"
10900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10901 /* end confdefs.h. */
10902 int __cdecl mainCRTStartup(void) { return 0; }
10903 _ACEOF
10904 if ac_fn_c_try_link "$LINENO"
10905 then :
10906 eval "$as_ac_var=yes"
10907 else $as_nop
10908 eval "$as_ac_var=no"
10910 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10911 conftest$ac_exeext conftest.$ac_ext
10912 CFLAGS=$ac_wine_try_cflags_saved
10913 ac_exeext=$ac_wine_try_cflags_saved_exeext
10915 eval ac_res=\$$as_ac_var
10916 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10917 printf "%s\n" "$ac_res" >&6; }
10918 if eval test \"x\$"$as_ac_var"\" = x"yes"
10919 then :
10920 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wdeclaration-after-statement"
10921 fi }
10922 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wempty-body" | $as_tr_sh`
10923 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wempty-body" >&5
10924 printf %s "checking whether $CC supports -Wempty-body... " >&6; }
10925 if eval test \${$as_ac_var+y}
10926 then :
10927 printf %s "(cached) " >&6
10928 else $as_nop
10929 ac_wine_try_cflags_saved=$CFLAGS
10930 ac_wine_try_cflags_saved_exeext=$ac_exeext
10931 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wempty-body"
10932 ac_exeext=".exe"
10933 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10934 /* end confdefs.h. */
10935 int __cdecl mainCRTStartup(void) { return 0; }
10936 _ACEOF
10937 if ac_fn_c_try_link "$LINENO"
10938 then :
10939 eval "$as_ac_var=yes"
10940 else $as_nop
10941 eval "$as_ac_var=no"
10943 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10944 conftest$ac_exeext conftest.$ac_ext
10945 CFLAGS=$ac_wine_try_cflags_saved
10946 ac_exeext=$ac_wine_try_cflags_saved_exeext
10948 eval ac_res=\$$as_ac_var
10949 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10950 printf "%s\n" "$ac_res" >&6; }
10951 if eval test \"x\$"$as_ac_var"\" = x"yes"
10952 then :
10953 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wempty-body"
10954 fi }
10955 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wignored-qualifiers" | $as_tr_sh`
10956 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wignored-qualifiers" >&5
10957 printf %s "checking whether $CC supports -Wignored-qualifiers... " >&6; }
10958 if eval test \${$as_ac_var+y}
10959 then :
10960 printf %s "(cached) " >&6
10961 else $as_nop
10962 ac_wine_try_cflags_saved=$CFLAGS
10963 ac_wine_try_cflags_saved_exeext=$ac_exeext
10964 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wignored-qualifiers"
10965 ac_exeext=".exe"
10966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10967 /* end confdefs.h. */
10968 int __cdecl mainCRTStartup(void) { return 0; }
10969 _ACEOF
10970 if ac_fn_c_try_link "$LINENO"
10971 then :
10972 eval "$as_ac_var=yes"
10973 else $as_nop
10974 eval "$as_ac_var=no"
10976 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10977 conftest$ac_exeext conftest.$ac_ext
10978 CFLAGS=$ac_wine_try_cflags_saved
10979 ac_exeext=$ac_wine_try_cflags_saved_exeext
10981 eval ac_res=\$$as_ac_var
10982 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10983 printf "%s\n" "$ac_res" >&6; }
10984 if eval test \"x\$"$as_ac_var"\" = x"yes"
10985 then :
10986 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wignored-qualifiers"
10987 fi }
10988 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Winit-self" | $as_tr_sh`
10989 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Winit-self" >&5
10990 printf %s "checking whether $CC supports -Winit-self... " >&6; }
10991 if eval test \${$as_ac_var+y}
10992 then :
10993 printf %s "(cached) " >&6
10994 else $as_nop
10995 ac_wine_try_cflags_saved=$CFLAGS
10996 ac_wine_try_cflags_saved_exeext=$ac_exeext
10997 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Winit-self"
10998 ac_exeext=".exe"
10999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11000 /* end confdefs.h. */
11001 int __cdecl mainCRTStartup(void) { return 0; }
11002 _ACEOF
11003 if ac_fn_c_try_link "$LINENO"
11004 then :
11005 eval "$as_ac_var=yes"
11006 else $as_nop
11007 eval "$as_ac_var=no"
11009 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11010 conftest$ac_exeext conftest.$ac_ext
11011 CFLAGS=$ac_wine_try_cflags_saved
11012 ac_exeext=$ac_wine_try_cflags_saved_exeext
11014 eval ac_res=\$$as_ac_var
11015 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11016 printf "%s\n" "$ac_res" >&6; }
11017 if eval test \"x\$"$as_ac_var"\" = x"yes"
11018 then :
11019 as_fn_append ${wine_arch}_EXTRACFLAGS " -Winit-self"
11020 fi }
11021 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpacked-not-aligned" | $as_tr_sh`
11022 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpacked-not-aligned" >&5
11023 printf %s "checking whether $CC supports -Wpacked-not-aligned... " >&6; }
11024 if eval test \${$as_ac_var+y}
11025 then :
11026 printf %s "(cached) " >&6
11027 else $as_nop
11028 ac_wine_try_cflags_saved=$CFLAGS
11029 ac_wine_try_cflags_saved_exeext=$ac_exeext
11030 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpacked-not-aligned"
11031 ac_exeext=".exe"
11032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11033 /* end confdefs.h. */
11034 int __cdecl mainCRTStartup(void) { return 0; }
11035 _ACEOF
11036 if ac_fn_c_try_link "$LINENO"
11037 then :
11038 eval "$as_ac_var=yes"
11039 else $as_nop
11040 eval "$as_ac_var=no"
11042 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11043 conftest$ac_exeext conftest.$ac_ext
11044 CFLAGS=$ac_wine_try_cflags_saved
11045 ac_exeext=$ac_wine_try_cflags_saved_exeext
11047 eval ac_res=\$$as_ac_var
11048 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11049 printf "%s\n" "$ac_res" >&6; }
11050 if eval test \"x\$"$as_ac_var"\" = x"yes"
11051 then :
11052 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-packed-not-aligned"
11053 fi }
11054 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpragma-pack" | $as_tr_sh`
11055 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpragma-pack" >&5
11056 printf %s "checking whether $CC supports -Wpragma-pack... " >&6; }
11057 if eval test \${$as_ac_var+y}
11058 then :
11059 printf %s "(cached) " >&6
11060 else $as_nop
11061 ac_wine_try_cflags_saved=$CFLAGS
11062 ac_wine_try_cflags_saved_exeext=$ac_exeext
11063 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpragma-pack"
11064 ac_exeext=".exe"
11065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11066 /* end confdefs.h. */
11067 int __cdecl mainCRTStartup(void) { return 0; }
11068 _ACEOF
11069 if ac_fn_c_try_link "$LINENO"
11070 then :
11071 eval "$as_ac_var=yes"
11072 else $as_nop
11073 eval "$as_ac_var=no"
11075 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11076 conftest$ac_exeext conftest.$ac_ext
11077 CFLAGS=$ac_wine_try_cflags_saved
11078 ac_exeext=$ac_wine_try_cflags_saved_exeext
11080 eval ac_res=\$$as_ac_var
11081 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11082 printf "%s\n" "$ac_res" >&6; }
11083 if eval test \"x\$"$as_ac_var"\" = x"yes"
11084 then :
11085 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-pragma-pack"
11086 fi }
11087 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wshift-overflow=2" | $as_tr_sh`
11088 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wshift-overflow=2" >&5
11089 printf %s "checking whether $CC supports -Wshift-overflow=2... " >&6; }
11090 if eval test \${$as_ac_var+y}
11091 then :
11092 printf %s "(cached) " >&6
11093 else $as_nop
11094 ac_wine_try_cflags_saved=$CFLAGS
11095 ac_wine_try_cflags_saved_exeext=$ac_exeext
11096 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wshift-overflow=2"
11097 ac_exeext=".exe"
11098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11099 /* end confdefs.h. */
11100 int __cdecl mainCRTStartup(void) { return 0; }
11101 _ACEOF
11102 if ac_fn_c_try_link "$LINENO"
11103 then :
11104 eval "$as_ac_var=yes"
11105 else $as_nop
11106 eval "$as_ac_var=no"
11108 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11109 conftest$ac_exeext conftest.$ac_ext
11110 CFLAGS=$ac_wine_try_cflags_saved
11111 ac_exeext=$ac_wine_try_cflags_saved_exeext
11113 eval ac_res=\$$as_ac_var
11114 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11115 printf "%s\n" "$ac_res" >&6; }
11116 if eval test \"x\$"$as_ac_var"\" = x"yes"
11117 then :
11118 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wshift-overflow=2"
11119 fi }
11120 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wstrict-prototypes" | $as_tr_sh`
11121 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wstrict-prototypes" >&5
11122 printf %s "checking whether $CC supports -Wstrict-prototypes... " >&6; }
11123 if eval test \${$as_ac_var+y}
11124 then :
11125 printf %s "(cached) " >&6
11126 else $as_nop
11127 ac_wine_try_cflags_saved=$CFLAGS
11128 ac_wine_try_cflags_saved_exeext=$ac_exeext
11129 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wstrict-prototypes"
11130 ac_exeext=".exe"
11131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11132 /* end confdefs.h. */
11133 int __cdecl mainCRTStartup(void) { return 0; }
11134 _ACEOF
11135 if ac_fn_c_try_link "$LINENO"
11136 then :
11137 eval "$as_ac_var=yes"
11138 else $as_nop
11139 eval "$as_ac_var=no"
11141 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11142 conftest$ac_exeext conftest.$ac_ext
11143 CFLAGS=$ac_wine_try_cflags_saved
11144 ac_exeext=$ac_wine_try_cflags_saved_exeext
11146 eval ac_res=\$$as_ac_var
11147 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11148 printf "%s\n" "$ac_res" >&6; }
11149 if eval test \"x\$"$as_ac_var"\" = x"yes"
11150 then :
11151 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wstrict-prototypes"
11152 fi }
11153 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wtype-limits" | $as_tr_sh`
11154 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wtype-limits" >&5
11155 printf %s "checking whether $CC supports -Wtype-limits... " >&6; }
11156 if eval test \${$as_ac_var+y}
11157 then :
11158 printf %s "(cached) " >&6
11159 else $as_nop
11160 ac_wine_try_cflags_saved=$CFLAGS
11161 ac_wine_try_cflags_saved_exeext=$ac_exeext
11162 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wtype-limits"
11163 ac_exeext=".exe"
11164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11165 /* end confdefs.h. */
11166 int __cdecl mainCRTStartup(void) { return 0; }
11167 _ACEOF
11168 if ac_fn_c_try_link "$LINENO"
11169 then :
11170 eval "$as_ac_var=yes"
11171 else $as_nop
11172 eval "$as_ac_var=no"
11174 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11175 conftest$ac_exeext conftest.$ac_ext
11176 CFLAGS=$ac_wine_try_cflags_saved
11177 ac_exeext=$ac_wine_try_cflags_saved_exeext
11179 eval ac_res=\$$as_ac_var
11180 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11181 printf "%s\n" "$ac_res" >&6; }
11182 if eval test \"x\$"$as_ac_var"\" = x"yes"
11183 then :
11184 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wtype-limits"
11185 fi }
11186 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wunused-but-set-parameter" | $as_tr_sh`
11187 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wunused-but-set-parameter" >&5
11188 printf %s "checking whether $CC supports -Wunused-but-set-parameter... " >&6; }
11189 if eval test \${$as_ac_var+y}
11190 then :
11191 printf %s "(cached) " >&6
11192 else $as_nop
11193 ac_wine_try_cflags_saved=$CFLAGS
11194 ac_wine_try_cflags_saved_exeext=$ac_exeext
11195 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wunused-but-set-parameter"
11196 ac_exeext=".exe"
11197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11198 /* end confdefs.h. */
11199 int __cdecl mainCRTStartup(void) { return 0; }
11200 _ACEOF
11201 if ac_fn_c_try_link "$LINENO"
11202 then :
11203 eval "$as_ac_var=yes"
11204 else $as_nop
11205 eval "$as_ac_var=no"
11207 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11208 conftest$ac_exeext conftest.$ac_ext
11209 CFLAGS=$ac_wine_try_cflags_saved
11210 ac_exeext=$ac_wine_try_cflags_saved_exeext
11212 eval ac_res=\$$as_ac_var
11213 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11214 printf "%s\n" "$ac_res" >&6; }
11215 if eval test \"x\$"$as_ac_var"\" = x"yes"
11216 then :
11217 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wunused-but-set-parameter"
11218 fi }
11219 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wvla" | $as_tr_sh`
11220 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wvla" >&5
11221 printf %s "checking whether $CC supports -Wvla... " >&6; }
11222 if eval test \${$as_ac_var+y}
11223 then :
11224 printf %s "(cached) " >&6
11225 else $as_nop
11226 ac_wine_try_cflags_saved=$CFLAGS
11227 ac_wine_try_cflags_saved_exeext=$ac_exeext
11228 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wvla"
11229 ac_exeext=".exe"
11230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11231 /* end confdefs.h. */
11232 int __cdecl mainCRTStartup(void) { return 0; }
11233 _ACEOF
11234 if ac_fn_c_try_link "$LINENO"
11235 then :
11236 eval "$as_ac_var=yes"
11237 else $as_nop
11238 eval "$as_ac_var=no"
11240 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11241 conftest$ac_exeext conftest.$ac_ext
11242 CFLAGS=$ac_wine_try_cflags_saved
11243 ac_exeext=$ac_wine_try_cflags_saved_exeext
11245 eval ac_res=\$$as_ac_var
11246 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11247 printf "%s\n" "$ac_res" >&6; }
11248 if eval test \"x\$"$as_ac_var"\" = x"yes"
11249 then :
11250 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wvla"
11251 fi }
11252 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wwrite-strings" | $as_tr_sh`
11253 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wwrite-strings" >&5
11254 printf %s "checking whether $CC supports -Wwrite-strings... " >&6; }
11255 if eval test \${$as_ac_var+y}
11256 then :
11257 printf %s "(cached) " >&6
11258 else $as_nop
11259 ac_wine_try_cflags_saved=$CFLAGS
11260 ac_wine_try_cflags_saved_exeext=$ac_exeext
11261 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wwrite-strings"
11262 ac_exeext=".exe"
11263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11264 /* end confdefs.h. */
11265 int __cdecl mainCRTStartup(void) { return 0; }
11266 _ACEOF
11267 if ac_fn_c_try_link "$LINENO"
11268 then :
11269 eval "$as_ac_var=yes"
11270 else $as_nop
11271 eval "$as_ac_var=no"
11273 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11274 conftest$ac_exeext conftest.$ac_ext
11275 CFLAGS=$ac_wine_try_cflags_saved
11276 ac_exeext=$ac_wine_try_cflags_saved_exeext
11278 eval ac_res=\$$as_ac_var
11279 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11280 printf "%s\n" "$ac_res" >&6; }
11281 if eval test \"x\$"$as_ac_var"\" = x"yes"
11282 then :
11283 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wwrite-strings"
11284 fi }
11285 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpointer-arith" | $as_tr_sh`
11286 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpointer-arith" >&5
11287 printf %s "checking whether $CC supports -Wpointer-arith... " >&6; }
11288 if eval test \${$as_ac_var+y}
11289 then :
11290 printf %s "(cached) " >&6
11291 else $as_nop
11292 ac_wine_try_cflags_saved=$CFLAGS
11293 ac_wine_try_cflags_saved_exeext=$ac_exeext
11294 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpointer-arith"
11295 ac_exeext=".exe"
11296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11297 /* end confdefs.h. */
11298 int __cdecl mainCRTStartup(void) { return 0; }
11299 _ACEOF
11300 if ac_fn_c_try_link "$LINENO"
11301 then :
11302 eval "$as_ac_var=yes"
11303 else $as_nop
11304 eval "$as_ac_var=no"
11306 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11307 conftest$ac_exeext conftest.$ac_ext
11308 CFLAGS=$ac_wine_try_cflags_saved
11309 ac_exeext=$ac_wine_try_cflags_saved_exeext
11311 eval ac_res=\$$as_ac_var
11312 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11313 printf "%s\n" "$ac_res" >&6; }
11314 if eval test \"x\$"$as_ac_var"\" = x"yes"
11315 then :
11316 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wpointer-arith"
11317 fi }
11318 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wlogical-op" | $as_tr_sh`
11319 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wlogical-op" >&5
11320 printf %s "checking whether $CC supports -Wlogical-op... " >&6; }
11321 if eval test \${$as_ac_var+y}
11322 then :
11323 printf %s "(cached) " >&6
11324 else $as_nop
11325 ac_wine_try_cflags_saved=$CFLAGS
11326 ac_wine_try_cflags_saved_exeext=$ac_exeext
11327 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wlogical-op"
11328 ac_exeext=".exe"
11329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11330 /* end confdefs.h. */
11331 int __cdecl mainCRTStartup(void) { return 0; }
11332 _ACEOF
11333 if ac_fn_c_try_link "$LINENO"
11334 then :
11335 eval "$as_ac_var=yes"
11336 else $as_nop
11337 eval "$as_ac_var=no"
11339 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11340 conftest$ac_exeext conftest.$ac_ext
11341 CFLAGS=$ac_wine_try_cflags_saved
11342 ac_exeext=$ac_wine_try_cflags_saved_exeext
11344 eval ac_res=\$$as_ac_var
11345 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11346 printf "%s\n" "$ac_res" >&6; }
11347 if eval test \"x\$"$as_ac_var"\" = x"yes"
11348 then :
11349 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wlogical-op"
11350 fi }
11351 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wabsolute-value" | $as_tr_sh`
11352 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wabsolute-value" >&5
11353 printf %s "checking whether $CC supports -Wabsolute-value... " >&6; }
11354 if eval test \${$as_ac_var+y}
11355 then :
11356 printf %s "(cached) " >&6
11357 else $as_nop
11358 ac_wine_try_cflags_saved=$CFLAGS
11359 ac_wine_try_cflags_saved_exeext=$ac_exeext
11360 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wabsolute-value"
11361 ac_exeext=".exe"
11362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11363 /* end confdefs.h. */
11364 int __cdecl mainCRTStartup(void) { return 0; }
11365 _ACEOF
11366 if ac_fn_c_try_link "$LINENO"
11367 then :
11368 eval "$as_ac_var=yes"
11369 else $as_nop
11370 eval "$as_ac_var=no"
11372 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11373 conftest$ac_exeext conftest.$ac_ext
11374 CFLAGS=$ac_wine_try_cflags_saved
11375 ac_exeext=$ac_wine_try_cflags_saved_exeext
11377 eval ac_res=\$$as_ac_var
11378 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11379 printf "%s\n" "$ac_res" >&6; }
11380 if eval test \"x\$"$as_ac_var"\" = x"yes"
11381 then :
11382 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wabsolute-value"
11383 fi }
11385 case $wine_arch in
11386 i386) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-omit-frame-pointer" | $as_tr_sh`
11387 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-omit-frame-pointer" >&5
11388 printf %s "checking whether $CC supports -fno-omit-frame-pointer... " >&6; }
11389 if eval test \${$as_ac_var+y}
11390 then :
11391 printf %s "(cached) " >&6
11392 else $as_nop
11393 ac_wine_try_cflags_saved=$CFLAGS
11394 ac_wine_try_cflags_saved_exeext=$ac_exeext
11395 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -fno-omit-frame-pointer"
11396 ac_exeext=".exe"
11397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11398 /* end confdefs.h. */
11399 int __cdecl mainCRTStartup(void) { return 0; }
11400 _ACEOF
11401 if ac_fn_c_try_link "$LINENO"
11402 then :
11403 eval "$as_ac_var=yes"
11404 else $as_nop
11405 eval "$as_ac_var=no"
11407 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11408 conftest$ac_exeext conftest.$ac_ext
11409 CFLAGS=$ac_wine_try_cflags_saved
11410 ac_exeext=$ac_wine_try_cflags_saved_exeext
11412 eval ac_res=\$$as_ac_var
11413 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11414 printf "%s\n" "$ac_res" >&6; }
11415 if eval test \"x\$"$as_ac_var"\" = x"yes"
11416 then :
11417 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-omit-frame-pointer"
11418 fi }
11419 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--disable-stdcall-fixup" | $as_tr_sh`
11420 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--disable-stdcall-fixup" >&5
11421 printf %s "checking whether $CC supports -Wl,--disable-stdcall-fixup... " >&6; }
11422 if eval test \${$as_ac_var+y}
11423 then :
11424 printf %s "(cached) " >&6
11425 else $as_nop
11426 ac_wine_try_cflags_saved=$CFLAGS
11427 ac_wine_try_cflags_saved_exeext=$ac_exeext
11428 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wl,--disable-stdcall-fixup"
11429 ac_exeext=".exe"
11430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11431 /* end confdefs.h. */
11432 int __cdecl mainCRTStartup(void) { return 0; }
11433 _ACEOF
11434 if ac_fn_c_try_link "$LINENO"
11435 then :
11436 eval "$as_ac_var=yes"
11437 else $as_nop
11438 eval "$as_ac_var=no"
11440 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11441 conftest$ac_exeext conftest.$ac_ext
11442 CFLAGS=$ac_wine_try_cflags_saved
11443 ac_exeext=$ac_wine_try_cflags_saved_exeext
11445 eval ac_res=\$$as_ac_var
11446 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11447 printf "%s\n" "$ac_res" >&6; }
11448 if eval test \"x\$"$as_ac_var"\" = x"yes"
11449 then :
11450 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--disable-stdcall-fixup"
11451 fi } ;;
11452 x86_64) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wno-format" | $as_tr_sh`
11453 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wno-format" >&5
11454 printf %s "checking whether $CC supports -Wno-format... " >&6; }
11455 if eval test \${$as_ac_var+y}
11456 then :
11457 printf %s "(cached) " >&6
11458 else $as_nop
11459 ac_wine_try_cflags_saved=$CFLAGS
11460 ac_wine_try_cflags_saved_exeext=$ac_exeext
11461 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wno-format"
11462 ac_exeext=".exe"
11463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11464 /* end confdefs.h. */
11465 int __cdecl mainCRTStartup(void) { return 0; }
11466 _ACEOF
11467 if ac_fn_c_try_link "$LINENO"
11468 then :
11469 eval "$as_ac_var=yes"
11470 else $as_nop
11471 eval "$as_ac_var=no"
11473 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11474 conftest$ac_exeext conftest.$ac_ext
11475 CFLAGS=$ac_wine_try_cflags_saved
11476 ac_exeext=$ac_wine_try_cflags_saved_exeext
11478 eval ac_res=\$$as_ac_var
11479 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11480 printf "%s\n" "$ac_res" >&6; }
11481 if eval test \"x\$"$as_ac_var"\" = x"yes"
11482 then :
11483 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-format"
11484 fi }
11485 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wformat-overflow" | $as_tr_sh`
11486 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wformat-overflow" >&5
11487 printf %s "checking whether $CC supports -Wformat-overflow... " >&6; }
11488 if eval test \${$as_ac_var+y}
11489 then :
11490 printf %s "(cached) " >&6
11491 else $as_nop
11492 ac_wine_try_cflags_saved=$CFLAGS
11493 ac_wine_try_cflags_saved_exeext=$ac_exeext
11494 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wformat-overflow"
11495 ac_exeext=".exe"
11496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11497 /* end confdefs.h. */
11498 int __cdecl mainCRTStartup(void) { return 0; }
11499 _ACEOF
11500 if ac_fn_c_try_link "$LINENO"
11501 then :
11502 eval "$as_ac_var=yes"
11503 else $as_nop
11504 eval "$as_ac_var=no"
11506 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11507 conftest$ac_exeext conftest.$ac_ext
11508 CFLAGS=$ac_wine_try_cflags_saved
11509 ac_exeext=$ac_wine_try_cflags_saved_exeext
11511 eval ac_res=\$$as_ac_var
11512 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11513 printf "%s\n" "$ac_res" >&6; }
11514 if eval test \"x\$"$as_ac_var"\" = x"yes"
11515 then :
11516 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wformat-overflow"
11517 fi }
11518 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wnonnull" | $as_tr_sh`
11519 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wnonnull" >&5
11520 printf %s "checking whether $CC supports -Wnonnull... " >&6; }
11521 if eval test \${$as_ac_var+y}
11522 then :
11523 printf %s "(cached) " >&6
11524 else $as_nop
11525 ac_wine_try_cflags_saved=$CFLAGS
11526 ac_wine_try_cflags_saved_exeext=$ac_exeext
11527 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wnonnull"
11528 ac_exeext=".exe"
11529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11530 /* end confdefs.h. */
11531 int __cdecl mainCRTStartup(void) { return 0; }
11532 _ACEOF
11533 if ac_fn_c_try_link "$LINENO"
11534 then :
11535 eval "$as_ac_var=yes"
11536 else $as_nop
11537 eval "$as_ac_var=no"
11539 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11540 conftest$ac_exeext conftest.$ac_ext
11541 CFLAGS=$ac_wine_try_cflags_saved
11542 ac_exeext=$ac_wine_try_cflags_saved_exeext
11544 eval ac_res=\$$as_ac_var
11545 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11546 printf "%s\n" "$ac_res" >&6; }
11547 if eval test \"x\$"$as_ac_var"\" = x"yes"
11548 then :
11549 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wnonnull"
11550 fi }
11551 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-mcx16" | $as_tr_sh`
11552 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mcx16" >&5
11553 printf %s "checking whether $CC supports -mcx16... " >&6; }
11554 if eval test \${$as_ac_var+y}
11555 then :
11556 printf %s "(cached) " >&6
11557 else $as_nop
11558 ac_wine_try_cflags_saved=$CFLAGS
11559 ac_wine_try_cflags_saved_exeext=$ac_exeext
11560 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -mcx16"
11561 ac_exeext=".exe"
11562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11563 /* end confdefs.h. */
11564 int __cdecl mainCRTStartup(void) { return 0; }
11565 _ACEOF
11566 if ac_fn_c_try_link "$LINENO"
11567 then :
11568 eval "$as_ac_var=yes"
11569 else $as_nop
11570 eval "$as_ac_var=no"
11572 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11573 conftest$ac_exeext conftest.$ac_ext
11574 CFLAGS=$ac_wine_try_cflags_saved
11575 ac_exeext=$ac_wine_try_cflags_saved_exeext
11577 eval ac_res=\$$as_ac_var
11578 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11579 printf "%s\n" "$ac_res" >&6; }
11580 if eval test \"x\$"$as_ac_var"\" = x"yes"
11581 then :
11582 as_fn_append ${wine_arch}_EXTRACFLAGS " -mcx16"
11583 fi } ;;
11584 aarch64) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wno-format" | $as_tr_sh`
11585 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wno-format" >&5
11586 printf %s "checking whether $CC supports -Wno-format... " >&6; }
11587 if eval test \${$as_ac_var+y}
11588 then :
11589 printf %s "(cached) " >&6
11590 else $as_nop
11591 ac_wine_try_cflags_saved=$CFLAGS
11592 ac_wine_try_cflags_saved_exeext=$ac_exeext
11593 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wno-format"
11594 ac_exeext=".exe"
11595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11596 /* end confdefs.h. */
11597 int __cdecl mainCRTStartup(void) { return 0; }
11598 _ACEOF
11599 if ac_fn_c_try_link "$LINENO"
11600 then :
11601 eval "$as_ac_var=yes"
11602 else $as_nop
11603 eval "$as_ac_var=no"
11605 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11606 conftest$ac_exeext conftest.$ac_ext
11607 CFLAGS=$ac_wine_try_cflags_saved
11608 ac_exeext=$ac_wine_try_cflags_saved_exeext
11610 eval ac_res=\$$as_ac_var
11611 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11612 printf "%s\n" "$ac_res" >&6; }
11613 if eval test \"x\$"$as_ac_var"\" = x"yes"
11614 then :
11615 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-format"
11616 fi } ;;
11617 esac
11619 wine_crossdebug=$CROSSDEBUG
11620 if test -z "$wine_crossdebug"
11621 then
11622 for ac_flag in $CFLAGS; do
11623 case $ac_flag in
11624 -gdwarf*) wine_crossdebug=dwarf ;;
11625 -gcodeview) wine_crossdebug=pdb ;;
11626 -g) wine_crossdebug=${wine_crossdebug:-dwarf} ;;
11627 esac
11628 done
11631 ac_debug_format_seen=""
11632 for ac_flag in $CFLAGS; do
11633 case $ac_flag in
11634 -gdwarf*|-gcodeview) ac_debug_format_seen=$ac_flag ;;
11635 esac
11636 done
11637 if test "x$ac_debug_format_seen" = x
11638 then
11639 case $wine_crossdebug in
11640 *dwarf) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gdwarf-4" | $as_tr_sh`
11641 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gdwarf-4" >&5
11642 printf %s "checking whether $CC supports -gdwarf-4... " >&6; }
11643 if eval test \${$as_ac_var+y}
11644 then :
11645 printf %s "(cached) " >&6
11646 else $as_nop
11647 ac_wine_try_cflags_saved=$CFLAGS
11648 ac_wine_try_cflags_saved_exeext=$ac_exeext
11649 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -gdwarf-4"
11650 ac_exeext=".exe"
11651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11652 /* end confdefs.h. */
11653 int __cdecl mainCRTStartup(void) { return 0; }
11654 _ACEOF
11655 if ac_fn_c_try_link "$LINENO"
11656 then :
11657 eval "$as_ac_var=yes"
11658 else $as_nop
11659 eval "$as_ac_var=no"
11661 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11662 conftest$ac_exeext conftest.$ac_ext
11663 CFLAGS=$ac_wine_try_cflags_saved
11664 ac_exeext=$ac_wine_try_cflags_saved_exeext
11666 eval ac_res=\$$as_ac_var
11667 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11668 printf "%s\n" "$ac_res" >&6; }
11669 if eval test \"x\$"$as_ac_var"\" = x"yes"
11670 then :
11671 as_fn_append ${wine_arch}_EXTRACFLAGS " -gdwarf-4"
11672 fi } ;;
11673 pdb) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gcodeview" | $as_tr_sh`
11674 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gcodeview" >&5
11675 printf %s "checking whether $CC supports -gcodeview... " >&6; }
11676 if eval test \${$as_ac_var+y}
11677 then :
11678 printf %s "(cached) " >&6
11679 else $as_nop
11680 ac_wine_try_cflags_saved=$CFLAGS
11681 ac_wine_try_cflags_saved_exeext=$ac_exeext
11682 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -gcodeview"
11683 ac_exeext=".exe"
11684 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11685 /* end confdefs.h. */
11686 int __cdecl mainCRTStartup(void) { return 0; }
11687 _ACEOF
11688 if ac_fn_c_try_link "$LINENO"
11689 then :
11690 eval "$as_ac_var=yes"
11691 else $as_nop
11692 eval "$as_ac_var=no"
11694 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11695 conftest$ac_exeext conftest.$ac_ext
11696 CFLAGS=$ac_wine_try_cflags_saved
11697 ac_exeext=$ac_wine_try_cflags_saved_exeext
11699 eval ac_res=\$$as_ac_var
11700 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11701 printf "%s\n" "$ac_res" >&6; }
11702 if eval test \"x\$"$as_ac_var"\" = x"yes"
11703 then :
11704 as_fn_append ${wine_arch}_EXTRACFLAGS " -gcodeview"
11705 fi } ;;
11706 esac
11708 eval "${wine_arch}_DEBUG=\$wine_crossdebug"
11710 test "x$enable_werror" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror" | $as_tr_sh`
11711 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror" >&5
11712 printf %s "checking whether $CC supports -Werror... " >&6; }
11713 if eval test \${$as_ac_var+y}
11714 then :
11715 printf %s "(cached) " >&6
11716 else $as_nop
11717 ac_wine_try_cflags_saved=$CFLAGS
11718 ac_wine_try_cflags_saved_exeext=$ac_exeext
11719 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror"
11720 ac_exeext=".exe"
11721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11722 /* end confdefs.h. */
11723 int __cdecl mainCRTStartup(void) { return 0; }
11724 _ACEOF
11725 if ac_fn_c_try_link "$LINENO"
11726 then :
11727 eval "$as_ac_var=yes"
11728 else $as_nop
11729 eval "$as_ac_var=no"
11731 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11732 conftest$ac_exeext conftest.$ac_ext
11733 CFLAGS=$ac_wine_try_cflags_saved
11734 ac_exeext=$ac_wine_try_cflags_saved_exeext
11736 eval ac_res=\$$as_ac_var
11737 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11738 printf "%s\n" "$ac_res" >&6; }
11739 if eval test \"x\$"$as_ac_var"\" = x"yes"
11740 then :
11741 as_fn_append ${wine_arch}_EXTRACFLAGS " -Werror"
11742 fi }
11743 test "x$enable_build_id" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--build-id" | $as_tr_sh`
11744 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--build-id" >&5
11745 printf %s "checking whether $CC supports -Wl,--build-id... " >&6; }
11746 if eval test \${$as_ac_var+y}
11747 then :
11748 printf %s "(cached) " >&6
11749 else $as_nop
11750 ac_wine_try_cflags_saved=$CFLAGS
11751 ac_wine_try_cflags_saved_exeext=$ac_exeext
11752 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wl,--build-id"
11753 ac_exeext=".exe"
11754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11755 /* end confdefs.h. */
11756 int __cdecl mainCRTStartup(void) { return 0; }
11757 _ACEOF
11758 if ac_fn_c_try_link "$LINENO"
11759 then :
11760 eval "$as_ac_var=yes"
11761 else $as_nop
11762 eval "$as_ac_var=no"
11764 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11765 conftest$ac_exeext conftest.$ac_ext
11766 CFLAGS=$ac_wine_try_cflags_saved
11767 ac_exeext=$ac_wine_try_cflags_saved_exeext
11769 eval ac_res=\$$as_ac_var
11770 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11771 printf "%s\n" "$ac_res" >&6; }
11772 if eval test \"x\$"$as_ac_var"\" = x"yes"
11773 then :
11774 as_fn_append ${wine_arch}_CFLAGS " -Wl,--build-id"
11775 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--build-id"
11776 fi }
11778 CC=$saved_CC
11779 CFLAGS=$saved_CFLAGS
11780 done
11782 if test $HOST_ARCH = aarch64 -a "x$PE_ARCHS" = x
11783 then
11784 as_fn_error $? "PE cross-compilation is required for ARM64, please install clang/llvm-dlltool/lld, or llvm-mingw." "$LINENO" 5
11787 if test "x$PE_ARCHS" = "x"
11788 then :
11789 case "x$with_mingw" in
11790 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
11791 xno) ;;
11792 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
11793 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
11794 esac
11799 if test "x$with_system_dllpath" != "x" -a -n "$PE_ARCHS"
11800 then
11801 case "$host_cpu" in
11802 i[3456789]86*)
11803 ac_prefix_list="i686-w64-mingw32-pkg-config i586-w64-mingw32-pkg-config i486-w64-mingw32-pkg-config i386-w64-mingw32-pkg-config " ;;
11805 ac_prefix_list="$host_cpu-w64-mingw32-pkg-config" ;;
11806 esac
11807 for ac_prog in $ac_prefix_list
11809 # Extract the first word of "$ac_prog", so it can be a program name with args.
11810 set dummy $ac_prog; ac_word=$2
11811 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11812 printf %s "checking for $ac_word... " >&6; }
11813 if test ${ac_cv_prog_MINGW_PKG_CONFIG+y}
11814 then :
11815 printf %s "(cached) " >&6
11816 else $as_nop
11817 if test -n "$MINGW_PKG_CONFIG"; then
11818 ac_cv_prog_MINGW_PKG_CONFIG="$MINGW_PKG_CONFIG" # Let the user override the test.
11819 else
11820 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11821 for as_dir in $PATH
11823 IFS=$as_save_IFS
11824 case $as_dir in #(((
11825 '') as_dir=./ ;;
11826 */) ;;
11827 *) as_dir=$as_dir/ ;;
11828 esac
11829 for ac_exec_ext in '' $ac_executable_extensions; do
11830 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
11831 ac_cv_prog_MINGW_PKG_CONFIG="$ac_prog"
11832 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11833 break 2
11835 done
11836 done
11837 IFS=$as_save_IFS
11841 MINGW_PKG_CONFIG=$ac_cv_prog_MINGW_PKG_CONFIG
11842 if test -n "$MINGW_PKG_CONFIG"; then
11843 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MINGW_PKG_CONFIG" >&5
11844 printf "%s\n" "$MINGW_PKG_CONFIG" >&6; }
11845 else
11846 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11847 printf "%s\n" "no" >&6; }
11851 test -n "$MINGW_PKG_CONFIG" && break
11852 done
11853 test -n "$MINGW_PKG_CONFIG" || MINGW_PKG_CONFIG="false"
11855 if ${FAUDIO_PE_CFLAGS:+false} :
11856 then :
11857 if test ${MINGW_PKG_CONFIG+y}
11858 then :
11859 FAUDIO_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags FAudio 2>/dev/null`
11862 if ${FAUDIO_PE_LIBS:+false} :
11863 then :
11864 if test ${MINGW_PKG_CONFIG+y}
11865 then :
11866 FAUDIO_PE_LIBS=`$MINGW_PKG_CONFIG --libs FAudio 2>/dev/null`
11869 FAUDIO_PE_LIBS=${FAUDIO_PE_LIBS:-"-lFAudio"}
11870 ac_save_CPPFLAGS=$CPPFLAGS
11871 CPPFLAGS="$CPPFLAGS $FAUDIO_PE_CFLAGS"
11872 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW FAudio.h" >&5
11873 printf %s "checking for MinGW FAudio.h... " >&6; }
11874 if test ${ac_cv_mingw_header_FAudio_h+y}
11875 then :
11876 printf %s "(cached) " >&6
11877 else $as_nop
11878 ac_wine_check_headers_saved_cc=$CC
11879 ac_wine_check_headers_saved_exeext=$ac_exeext
11880 eval CC=\$${wine_arch}_CC
11881 ac_exeext=".exe"
11882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11883 /* end confdefs.h. */
11885 #include <FAudio.h>
11887 main (void)
11891 return 0;
11893 _ACEOF
11894 if ac_fn_c_try_compile "$LINENO"
11895 then :
11896 ac_cv_mingw_header_FAudio_h=yes
11897 else $as_nop
11898 ac_cv_mingw_header_FAudio_h=no
11900 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11901 CC=$ac_wine_check_headers_saved_cc
11902 ac_exeext=$ac_wine_check_headers_saved_exeext
11904 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_FAudio_h" >&5
11905 printf "%s\n" "$ac_cv_mingw_header_FAudio_h" >&6; }
11906 if test "x$ac_cv_mingw_header_FAudio_h" = xyes
11907 then :
11908 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for FAudio_CommitOperationSet in MinGW -lFAudio" >&5
11909 printf %s "checking for FAudio_CommitOperationSet in MinGW -lFAudio... " >&6; }
11910 if test ${ac_cv_mingw_lib_FAudio+y}
11911 then :
11912 printf %s "(cached) " >&6
11913 else $as_nop
11914 ac_wine_check_headers_saved_cc=$CC
11915 ac_wine_check_headers_saved_exeext=$ac_exeext
11916 ac_wine_check_headers_saved_libs=$LIBS
11917 eval CC=\$${wine_arch}_CC
11918 ac_exeext=".exe"
11919 LIBS="-lFAudio $FAUDIO_PE_LIBS $LIBS"
11920 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11921 /* end confdefs.h. */
11923 /* Override any GCC internal prototype to avoid an error.
11924 Use char because int might match the return type of a GCC
11925 builtin and then its argument prototype would still apply. */
11926 char FAudio_CommitOperationSet ();
11928 main (void)
11930 return FAudio_CommitOperationSet ();
11932 return 0;
11934 _ACEOF
11935 if ac_fn_c_try_link "$LINENO"
11936 then :
11937 ac_cv_mingw_lib_FAudio=yes
11938 else $as_nop
11939 ac_cv_mingw_lib_FAudio=no
11941 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11942 conftest$ac_exeext conftest.$ac_ext
11943 CC=$ac_wine_check_headers_saved_cc
11944 ac_exeext=$ac_wine_check_headers_saved_exeext
11945 LIBS=$ac_wine_check_headers_saved_libs
11947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_FAudio" >&5
11948 printf "%s\n" "$ac_cv_mingw_lib_FAudio" >&6; }
11949 if test "x$ac_cv_mingw_lib_FAudio" = xyes
11950 then :
11952 else $as_nop
11953 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
11955 else $as_nop
11956 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
11958 CPPFLAGS=$ac_save_CPPFLAGS
11960 if test "x$FAUDIO_PE_LIBS" = "x"
11961 then
11962 as_fn_append wine_notices "|FAudio ${notice_platform}MinGW development files not found (or too old); using bundled version."
11965 if ${JPEG_PE_CFLAGS:+false} :
11966 then :
11967 if test ${MINGW_PKG_CONFIG+y}
11968 then :
11969 JPEG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libjpeg 2>/dev/null`
11972 if ${JPEG_PE_LIBS:+false} :
11973 then :
11974 if test ${MINGW_PKG_CONFIG+y}
11975 then :
11976 JPEG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libjpeg 2>/dev/null`
11980 ac_save_CPPFLAGS=$CPPFLAGS
11981 CPPFLAGS="$CPPFLAGS $JPEG_PE_CFLAGS"
11982 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW jpeglib.h" >&5
11983 printf %s "checking for MinGW jpeglib.h... " >&6; }
11984 if test ${ac_cv_mingw_header_jpeglib_h+y}
11985 then :
11986 printf %s "(cached) " >&6
11987 else $as_nop
11988 ac_wine_check_headers_saved_cc=$CC
11989 ac_wine_check_headers_saved_exeext=$ac_exeext
11990 eval CC=\$${wine_arch}_CC
11991 ac_exeext=".exe"
11992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11993 /* end confdefs.h. */
11994 #include <stddef.h>
11995 #include <stdio.h>
11996 #include <jpeglib.h>
11998 main (void)
12002 return 0;
12004 _ACEOF
12005 if ac_fn_c_try_compile "$LINENO"
12006 then :
12007 ac_cv_mingw_header_jpeglib_h=yes
12008 else $as_nop
12009 ac_cv_mingw_header_jpeglib_h=no
12011 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12012 CC=$ac_wine_check_headers_saved_cc
12013 ac_exeext=$ac_wine_check_headers_saved_exeext
12015 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_jpeglib_h" >&5
12016 printf "%s\n" "$ac_cv_mingw_header_jpeglib_h" >&6; }
12017 if test "x$ac_cv_mingw_header_jpeglib_h" = xyes
12018 then :
12019 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for jpeg_start_decompress in MinGW -ljpeg" >&5
12020 printf %s "checking for jpeg_start_decompress in MinGW -ljpeg... " >&6; }
12021 if test ${ac_cv_mingw_lib_jpeg+y}
12022 then :
12023 printf %s "(cached) " >&6
12024 else $as_nop
12025 ac_wine_check_headers_saved_cc=$CC
12026 ac_wine_check_headers_saved_exeext=$ac_exeext
12027 ac_wine_check_headers_saved_libs=$LIBS
12028 eval CC=\$${wine_arch}_CC
12029 ac_exeext=".exe"
12030 LIBS="-ljpeg $JPEG_PE_LIBS $LIBS"
12031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12032 /* end confdefs.h. */
12034 /* Override any GCC internal prototype to avoid an error.
12035 Use char because int might match the return type of a GCC
12036 builtin and then its argument prototype would still apply. */
12037 char jpeg_start_decompress ();
12039 main (void)
12041 return jpeg_start_decompress ();
12043 return 0;
12045 _ACEOF
12046 if ac_fn_c_try_link "$LINENO"
12047 then :
12048 ac_cv_mingw_lib_jpeg=yes
12049 else $as_nop
12050 ac_cv_mingw_lib_jpeg=no
12052 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12053 conftest$ac_exeext conftest.$ac_ext
12054 CC=$ac_wine_check_headers_saved_cc
12055 ac_exeext=$ac_wine_check_headers_saved_exeext
12056 LIBS=$ac_wine_check_headers_saved_libs
12058 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_jpeg" >&5
12059 printf "%s\n" "$ac_cv_mingw_lib_jpeg" >&6; }
12060 if test "x$ac_cv_mingw_lib_jpeg" = xyes
12061 then :
12063 else $as_nop
12064 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
12066 else $as_nop
12067 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
12069 CPPFLAGS=$ac_save_CPPFLAGS
12071 if test "x$JPEG_PE_LIBS" = "x"
12072 then
12073 as_fn_append wine_notices "|libjpeg ${notice_platform}MinGW development files not found; using bundled version."
12076 if ${LCMS2_PE_CFLAGS:+false} :
12077 then :
12078 if test ${MINGW_PKG_CONFIG+y}
12079 then :
12080 LCMS2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags lcms2 2>/dev/null`
12083 if ${LCMS2_PE_LIBS:+false} :
12084 then :
12085 if test ${MINGW_PKG_CONFIG+y}
12086 then :
12087 LCMS2_PE_LIBS=`$MINGW_PKG_CONFIG --libs lcms2 2>/dev/null`
12090 LCMS2_PE_LIBS=${LCMS2_PE_LIBS:-"-llcms2"}
12091 ac_save_CPPFLAGS=$CPPFLAGS
12092 CPPFLAGS="$CPPFLAGS $LCMS2_PE_CFLAGS"
12093 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW lcms2.h" >&5
12094 printf %s "checking for MinGW lcms2.h... " >&6; }
12095 if test ${ac_cv_mingw_header_lcms2_h+y}
12096 then :
12097 printf %s "(cached) " >&6
12098 else $as_nop
12099 ac_wine_check_headers_saved_cc=$CC
12100 ac_wine_check_headers_saved_exeext=$ac_exeext
12101 eval CC=\$${wine_arch}_CC
12102 ac_exeext=".exe"
12103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12104 /* end confdefs.h. */
12106 #include <lcms2.h>
12108 main (void)
12112 return 0;
12114 _ACEOF
12115 if ac_fn_c_try_compile "$LINENO"
12116 then :
12117 ac_cv_mingw_header_lcms2_h=yes
12118 else $as_nop
12119 ac_cv_mingw_header_lcms2_h=no
12121 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12122 CC=$ac_wine_check_headers_saved_cc
12123 ac_exeext=$ac_wine_check_headers_saved_exeext
12125 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_lcms2_h" >&5
12126 printf "%s\n" "$ac_cv_mingw_header_lcms2_h" >&6; }
12127 if test "x$ac_cv_mingw_header_lcms2_h" = xyes
12128 then :
12129 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in MinGW -llcms2" >&5
12130 printf %s "checking for cmsOpenProfileFromFile in MinGW -llcms2... " >&6; }
12131 if test ${ac_cv_mingw_lib_lcms2+y}
12132 then :
12133 printf %s "(cached) " >&6
12134 else $as_nop
12135 ac_wine_check_headers_saved_cc=$CC
12136 ac_wine_check_headers_saved_exeext=$ac_exeext
12137 ac_wine_check_headers_saved_libs=$LIBS
12138 eval CC=\$${wine_arch}_CC
12139 ac_exeext=".exe"
12140 LIBS="-llcms2 $LCMS2_PE_LIBS $LIBS"
12141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12142 /* end confdefs.h. */
12144 /* Override any GCC internal prototype to avoid an error.
12145 Use char because int might match the return type of a GCC
12146 builtin and then its argument prototype would still apply. */
12147 char cmsOpenProfileFromFile ();
12149 main (void)
12151 return cmsOpenProfileFromFile ();
12153 return 0;
12155 _ACEOF
12156 if ac_fn_c_try_link "$LINENO"
12157 then :
12158 ac_cv_mingw_lib_lcms2=yes
12159 else $as_nop
12160 ac_cv_mingw_lib_lcms2=no
12162 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12163 conftest$ac_exeext conftest.$ac_ext
12164 CC=$ac_wine_check_headers_saved_cc
12165 ac_exeext=$ac_wine_check_headers_saved_exeext
12166 LIBS=$ac_wine_check_headers_saved_libs
12168 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_lcms2" >&5
12169 printf "%s\n" "$ac_cv_mingw_lib_lcms2" >&6; }
12170 if test "x$ac_cv_mingw_lib_lcms2" = xyes
12171 then :
12173 else $as_nop
12174 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12176 else $as_nop
12177 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12179 CPPFLAGS=$ac_save_CPPFLAGS
12181 if test "x$LCMS2_PE_LIBS" = "x"
12182 then
12183 as_fn_append wine_notices "|liblcms2 ${notice_platform}MinGW development files not found; using bundled version."
12186 if ${MPG123_PE_CFLAGS:+false} :
12187 then :
12188 if test ${MINGW_PKG_CONFIG+y}
12189 then :
12190 MPG123_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libmpg123 2>/dev/null`
12193 if ${MPG123_PE_LIBS:+false} :
12194 then :
12195 if test ${MINGW_PKG_CONFIG+y}
12196 then :
12197 MPG123_PE_LIBS=`$MINGW_PKG_CONFIG --libs libmpg123 2>/dev/null`
12200 MPG123_PE_LIBS=${MPG123_PE_LIBS:-"-lmpg123"}
12201 ac_save_CPPFLAGS=$CPPFLAGS
12202 CPPFLAGS="$CPPFLAGS $MPG123_PE_CFLAGS"
12203 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW mpg123.h" >&5
12204 printf %s "checking for MinGW mpg123.h... " >&6; }
12205 if test ${ac_cv_mingw_header_mpg123_h+y}
12206 then :
12207 printf %s "(cached) " >&6
12208 else $as_nop
12209 ac_wine_check_headers_saved_cc=$CC
12210 ac_wine_check_headers_saved_exeext=$ac_exeext
12211 eval CC=\$${wine_arch}_CC
12212 ac_exeext=".exe"
12213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12214 /* end confdefs.h. */
12216 #include <mpg123.h>
12218 main (void)
12222 return 0;
12224 _ACEOF
12225 if ac_fn_c_try_compile "$LINENO"
12226 then :
12227 ac_cv_mingw_header_mpg123_h=yes
12228 else $as_nop
12229 ac_cv_mingw_header_mpg123_h=no
12231 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12232 CC=$ac_wine_check_headers_saved_cc
12233 ac_exeext=$ac_wine_check_headers_saved_exeext
12235 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_mpg123_h" >&5
12236 printf "%s\n" "$ac_cv_mingw_header_mpg123_h" >&6; }
12237 if test "x$ac_cv_mingw_header_mpg123_h" = xyes
12238 then :
12239 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in MinGW -lmpg123" >&5
12240 printf %s "checking for mpg123_feed in MinGW -lmpg123... " >&6; }
12241 if test ${ac_cv_mingw_lib_mpg123+y}
12242 then :
12243 printf %s "(cached) " >&6
12244 else $as_nop
12245 ac_wine_check_headers_saved_cc=$CC
12246 ac_wine_check_headers_saved_exeext=$ac_exeext
12247 ac_wine_check_headers_saved_libs=$LIBS
12248 eval CC=\$${wine_arch}_CC
12249 ac_exeext=".exe"
12250 LIBS="-lmpg123 $MPG123_PE_LIBS $LIBS"
12251 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12252 /* end confdefs.h. */
12254 /* Override any GCC internal prototype to avoid an error.
12255 Use char because int might match the return type of a GCC
12256 builtin and then its argument prototype would still apply. */
12257 char mpg123_feed ();
12259 main (void)
12261 return mpg123_feed ();
12263 return 0;
12265 _ACEOF
12266 if ac_fn_c_try_link "$LINENO"
12267 then :
12268 ac_cv_mingw_lib_mpg123=yes
12269 else $as_nop
12270 ac_cv_mingw_lib_mpg123=no
12272 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12273 conftest$ac_exeext conftest.$ac_ext
12274 CC=$ac_wine_check_headers_saved_cc
12275 ac_exeext=$ac_wine_check_headers_saved_exeext
12276 LIBS=$ac_wine_check_headers_saved_libs
12278 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_mpg123" >&5
12279 printf "%s\n" "$ac_cv_mingw_lib_mpg123" >&6; }
12280 if test "x$ac_cv_mingw_lib_mpg123" = xyes
12281 then :
12283 else $as_nop
12284 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12286 else $as_nop
12287 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12289 CPPFLAGS=$ac_save_CPPFLAGS
12291 if test "x$MPG123_PE_LIBS" = "x"
12292 then
12293 as_fn_append wine_notices "|libmpg123 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12296 if ${PNG_PE_CFLAGS:+false} :
12297 then :
12298 if test ${MINGW_PKG_CONFIG+y}
12299 then :
12300 PNG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libpng 2>/dev/null`
12303 if ${PNG_PE_LIBS:+false} :
12304 then :
12305 if test ${MINGW_PKG_CONFIG+y}
12306 then :
12307 PNG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libpng 2>/dev/null`
12311 ac_save_CPPFLAGS=$CPPFLAGS
12312 CPPFLAGS="$CPPFLAGS $PNG_PE_CFLAGS"
12313 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW png.h" >&5
12314 printf %s "checking for MinGW png.h... " >&6; }
12315 if test ${ac_cv_mingw_header_png_h+y}
12316 then :
12317 printf %s "(cached) " >&6
12318 else $as_nop
12319 ac_wine_check_headers_saved_cc=$CC
12320 ac_wine_check_headers_saved_exeext=$ac_exeext
12321 eval CC=\$${wine_arch}_CC
12322 ac_exeext=".exe"
12323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12324 /* end confdefs.h. */
12326 #include <png.h>
12328 main (void)
12332 return 0;
12334 _ACEOF
12335 if ac_fn_c_try_compile "$LINENO"
12336 then :
12337 ac_cv_mingw_header_png_h=yes
12338 else $as_nop
12339 ac_cv_mingw_header_png_h=no
12341 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12342 CC=$ac_wine_check_headers_saved_cc
12343 ac_exeext=$ac_wine_check_headers_saved_exeext
12345 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_png_h" >&5
12346 printf "%s\n" "$ac_cv_mingw_header_png_h" >&6; }
12347 if test "x$ac_cv_mingw_header_png_h" = xyes
12348 then :
12349 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for png_create_read_struct in MinGW -lpng" >&5
12350 printf %s "checking for png_create_read_struct in MinGW -lpng... " >&6; }
12351 if test ${ac_cv_mingw_lib_png+y}
12352 then :
12353 printf %s "(cached) " >&6
12354 else $as_nop
12355 ac_wine_check_headers_saved_cc=$CC
12356 ac_wine_check_headers_saved_exeext=$ac_exeext
12357 ac_wine_check_headers_saved_libs=$LIBS
12358 eval CC=\$${wine_arch}_CC
12359 ac_exeext=".exe"
12360 LIBS="-lpng $PNG_PE_LIBS $LIBS"
12361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12362 /* end confdefs.h. */
12364 /* Override any GCC internal prototype to avoid an error.
12365 Use char because int might match the return type of a GCC
12366 builtin and then its argument prototype would still apply. */
12367 char png_create_read_struct ();
12369 main (void)
12371 return png_create_read_struct ();
12373 return 0;
12375 _ACEOF
12376 if ac_fn_c_try_link "$LINENO"
12377 then :
12378 ac_cv_mingw_lib_png=yes
12379 else $as_nop
12380 ac_cv_mingw_lib_png=no
12382 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12383 conftest$ac_exeext conftest.$ac_ext
12384 CC=$ac_wine_check_headers_saved_cc
12385 ac_exeext=$ac_wine_check_headers_saved_exeext
12386 LIBS=$ac_wine_check_headers_saved_libs
12388 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_png" >&5
12389 printf "%s\n" "$ac_cv_mingw_lib_png" >&6; }
12390 if test "x$ac_cv_mingw_lib_png" = xyes
12391 then :
12393 else $as_nop
12394 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12396 else $as_nop
12397 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12399 CPPFLAGS=$ac_save_CPPFLAGS
12401 if test "x$PNG_PE_LIBS" = "x"
12402 then
12403 as_fn_append wine_notices "|libpng ${notice_platform}MinGW development files not found; using bundled version."
12406 if ${TIFF_PE_CFLAGS:+false} :
12407 then :
12408 if test ${MINGW_PKG_CONFIG+y}
12409 then :
12410 TIFF_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libtiff-4 2>/dev/null`
12413 if ${TIFF_PE_LIBS:+false} :
12414 then :
12415 if test ${MINGW_PKG_CONFIG+y}
12416 then :
12417 TIFF_PE_LIBS=`$MINGW_PKG_CONFIG --libs libtiff-4 2>/dev/null`
12421 ac_save_CPPFLAGS=$CPPFLAGS
12422 CPPFLAGS="$CPPFLAGS $TIFF_PE_CFLAGS"
12423 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW tiffio.h" >&5
12424 printf %s "checking for MinGW tiffio.h... " >&6; }
12425 if test ${ac_cv_mingw_header_tiffio_h+y}
12426 then :
12427 printf %s "(cached) " >&6
12428 else $as_nop
12429 ac_wine_check_headers_saved_cc=$CC
12430 ac_wine_check_headers_saved_exeext=$ac_exeext
12431 eval CC=\$${wine_arch}_CC
12432 ac_exeext=".exe"
12433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12434 /* end confdefs.h. */
12436 #include <tiffio.h>
12438 main (void)
12442 return 0;
12444 _ACEOF
12445 if ac_fn_c_try_compile "$LINENO"
12446 then :
12447 ac_cv_mingw_header_tiffio_h=yes
12448 else $as_nop
12449 ac_cv_mingw_header_tiffio_h=no
12451 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12452 CC=$ac_wine_check_headers_saved_cc
12453 ac_exeext=$ac_wine_check_headers_saved_exeext
12455 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_tiffio_h" >&5
12456 printf "%s\n" "$ac_cv_mingw_header_tiffio_h" >&6; }
12457 if test "x$ac_cv_mingw_header_tiffio_h" = xyes
12458 then :
12459 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for TIFFClientOpen in MinGW -ltiff" >&5
12460 printf %s "checking for TIFFClientOpen in MinGW -ltiff... " >&6; }
12461 if test ${ac_cv_mingw_lib_tiff+y}
12462 then :
12463 printf %s "(cached) " >&6
12464 else $as_nop
12465 ac_wine_check_headers_saved_cc=$CC
12466 ac_wine_check_headers_saved_exeext=$ac_exeext
12467 ac_wine_check_headers_saved_libs=$LIBS
12468 eval CC=\$${wine_arch}_CC
12469 ac_exeext=".exe"
12470 LIBS="-ltiff $TIFF_PE_LIBS $LIBS"
12471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12472 /* end confdefs.h. */
12474 /* Override any GCC internal prototype to avoid an error.
12475 Use char because int might match the return type of a GCC
12476 builtin and then its argument prototype would still apply. */
12477 char TIFFClientOpen ();
12479 main (void)
12481 return TIFFClientOpen ();
12483 return 0;
12485 _ACEOF
12486 if ac_fn_c_try_link "$LINENO"
12487 then :
12488 ac_cv_mingw_lib_tiff=yes
12489 else $as_nop
12490 ac_cv_mingw_lib_tiff=no
12492 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12493 conftest$ac_exeext conftest.$ac_ext
12494 CC=$ac_wine_check_headers_saved_cc
12495 ac_exeext=$ac_wine_check_headers_saved_exeext
12496 LIBS=$ac_wine_check_headers_saved_libs
12498 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_tiff" >&5
12499 printf "%s\n" "$ac_cv_mingw_lib_tiff" >&6; }
12500 if test "x$ac_cv_mingw_lib_tiff" = xyes
12501 then :
12503 else $as_nop
12504 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12506 else $as_nop
12507 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12509 CPPFLAGS=$ac_save_CPPFLAGS
12511 if test "x$TIFF_PE_LIBS" = "x"
12512 then
12513 as_fn_append wine_notices "|libtiff ${notice_platform}MinGW development files not found; using bundled version."
12516 if ${XML2_PE_CFLAGS:+false} :
12517 then :
12518 if test ${MINGW_PKG_CONFIG+y}
12519 then :
12520 XML2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12523 if ${XML2_PE_LIBS:+false} :
12524 then :
12525 if test ${MINGW_PKG_CONFIG+y}
12526 then :
12527 XML2_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12530 XML2_PE_LIBS=${XML2_PE_LIBS:-"-lxml2"}
12531 ac_save_CPPFLAGS=$CPPFLAGS
12532 CPPFLAGS="$CPPFLAGS $XML2_PE_CFLAGS"
12533 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/parser.h" >&5
12534 printf %s "checking for MinGW libxml/parser.h... " >&6; }
12535 if test ${ac_cv_mingw_header_libxml_parser_h+y}
12536 then :
12537 printf %s "(cached) " >&6
12538 else $as_nop
12539 ac_wine_check_headers_saved_cc=$CC
12540 ac_wine_check_headers_saved_exeext=$ac_exeext
12541 eval CC=\$${wine_arch}_CC
12542 ac_exeext=".exe"
12543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12544 /* end confdefs.h. */
12546 #include <libxml/parser.h>
12548 main (void)
12552 return 0;
12554 _ACEOF
12555 if ac_fn_c_try_compile "$LINENO"
12556 then :
12557 ac_cv_mingw_header_libxml_parser_h=yes
12558 else $as_nop
12559 ac_cv_mingw_header_libxml_parser_h=no
12561 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12562 CC=$ac_wine_check_headers_saved_cc
12563 ac_exeext=$ac_wine_check_headers_saved_exeext
12565 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_parser_h" >&5
12566 printf "%s\n" "$ac_cv_mingw_header_libxml_parser_h" >&6; }
12567 if test "x$ac_cv_mingw_header_libxml_parser_h" = xyes
12568 then :
12571 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/xmlsave.h" >&5
12572 printf %s "checking for MinGW libxml/xmlsave.h... " >&6; }
12573 if test ${ac_cv_mingw_header_libxml_xmlsave_h+y}
12574 then :
12575 printf %s "(cached) " >&6
12576 else $as_nop
12577 ac_wine_check_headers_saved_cc=$CC
12578 ac_wine_check_headers_saved_exeext=$ac_exeext
12579 eval CC=\$${wine_arch}_CC
12580 ac_exeext=".exe"
12581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12582 /* end confdefs.h. */
12584 #include <libxml/xmlsave.h>
12586 main (void)
12590 return 0;
12592 _ACEOF
12593 if ac_fn_c_try_compile "$LINENO"
12594 then :
12595 ac_cv_mingw_header_libxml_xmlsave_h=yes
12596 else $as_nop
12597 ac_cv_mingw_header_libxml_xmlsave_h=no
12599 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12600 CC=$ac_wine_check_headers_saved_cc
12601 ac_exeext=$ac_wine_check_headers_saved_exeext
12603 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_xmlsave_h" >&5
12604 printf "%s\n" "$ac_cv_mingw_header_libxml_xmlsave_h" >&6; }
12605 if test "x$ac_cv_mingw_header_libxml_xmlsave_h" = xyes
12606 then :
12609 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/SAX2.h" >&5
12610 printf %s "checking for MinGW libxml/SAX2.h... " >&6; }
12611 if test ${ac_cv_mingw_header_libxml_SAX2_h+y}
12612 then :
12613 printf %s "(cached) " >&6
12614 else $as_nop
12615 ac_wine_check_headers_saved_cc=$CC
12616 ac_wine_check_headers_saved_exeext=$ac_exeext
12617 eval CC=\$${wine_arch}_CC
12618 ac_exeext=".exe"
12619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12620 /* end confdefs.h. */
12622 #include <libxml/SAX2.h>
12624 main (void)
12628 return 0;
12630 _ACEOF
12631 if ac_fn_c_try_compile "$LINENO"
12632 then :
12633 ac_cv_mingw_header_libxml_SAX2_h=yes
12634 else $as_nop
12635 ac_cv_mingw_header_libxml_SAX2_h=no
12637 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12638 CC=$ac_wine_check_headers_saved_cc
12639 ac_exeext=$ac_wine_check_headers_saved_exeext
12641 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_SAX2_h" >&5
12642 printf "%s\n" "$ac_cv_mingw_header_libxml_SAX2_h" >&6; }
12643 if test "x$ac_cv_mingw_header_libxml_SAX2_h" = xyes
12644 then :
12647 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"
12648 then
12649 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in MinGW -lxml2" >&5
12650 printf %s "checking for xmlFirstElementChild in MinGW -lxml2... " >&6; }
12651 if test ${ac_cv_mingw_lib_xml2+y}
12652 then :
12653 printf %s "(cached) " >&6
12654 else $as_nop
12655 ac_wine_check_headers_saved_cc=$CC
12656 ac_wine_check_headers_saved_exeext=$ac_exeext
12657 ac_wine_check_headers_saved_libs=$LIBS
12658 eval CC=\$${wine_arch}_CC
12659 ac_exeext=".exe"
12660 LIBS="-lxml2 $XML2_PE_LIBS $LIBS"
12661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12662 /* end confdefs.h. */
12664 /* Override any GCC internal prototype to avoid an error.
12665 Use char because int might match the return type of a GCC
12666 builtin and then its argument prototype would still apply. */
12667 char xmlFirstElementChild ();
12669 main (void)
12671 return xmlFirstElementChild ();
12673 return 0;
12675 _ACEOF
12676 if ac_fn_c_try_link "$LINENO"
12677 then :
12678 ac_cv_mingw_lib_xml2=yes
12679 else $as_nop
12680 ac_cv_mingw_lib_xml2=no
12682 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12683 conftest$ac_exeext conftest.$ac_ext
12684 CC=$ac_wine_check_headers_saved_cc
12685 ac_exeext=$ac_wine_check_headers_saved_exeext
12686 LIBS=$ac_wine_check_headers_saved_libs
12688 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xml2" >&5
12689 printf "%s\n" "$ac_cv_mingw_lib_xml2" >&6; }
12690 if test "x$ac_cv_mingw_lib_xml2" = xyes
12691 then :
12693 else $as_nop
12694 XML2_PE_CFLAGS=""; XML2_PE_LIBS=""
12696 else
12697 XML2_PE_CFLAGS=""
12698 XML2_PE_LIBS=""
12700 CPPFLAGS=$ac_save_CPPFLAGS
12702 if test "x$XML2_PE_LIBS" = "x"
12703 then
12704 as_fn_append wine_notices "|libxml2 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12707 if ${XSLT_PE_CFLAGS:+false} :
12708 then :
12709 if test ${MINGW_PKG_CONFIG+y}
12710 then :
12711 XSLT_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxslt 2>/dev/null`
12714 if ${XSLT_PE_LIBS:+false} :
12715 then :
12716 if test ${MINGW_PKG_CONFIG+y}
12717 then :
12718 XSLT_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxslt 2>/dev/null`
12721 XSLT_PE_LIBS=${XSLT_PE_LIBS:-"-lxslt"}
12722 ac_save_CPPFLAGS=$CPPFLAGS
12723 CPPFLAGS="$CPPFLAGS $XSLT_PE_CFLAGS"
12724 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/pattern.h" >&5
12725 printf %s "checking for MinGW libxslt/pattern.h... " >&6; }
12726 if test ${ac_cv_mingw_header_libxslt_pattern_h+y}
12727 then :
12728 printf %s "(cached) " >&6
12729 else $as_nop
12730 ac_wine_check_headers_saved_cc=$CC
12731 ac_wine_check_headers_saved_exeext=$ac_exeext
12732 eval CC=\$${wine_arch}_CC
12733 ac_exeext=".exe"
12734 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12735 /* end confdefs.h. */
12737 #include <libxslt/pattern.h>
12739 main (void)
12743 return 0;
12745 _ACEOF
12746 if ac_fn_c_try_compile "$LINENO"
12747 then :
12748 ac_cv_mingw_header_libxslt_pattern_h=yes
12749 else $as_nop
12750 ac_cv_mingw_header_libxslt_pattern_h=no
12752 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12753 CC=$ac_wine_check_headers_saved_cc
12754 ac_exeext=$ac_wine_check_headers_saved_exeext
12756 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_pattern_h" >&5
12757 printf "%s\n" "$ac_cv_mingw_header_libxslt_pattern_h" >&6; }
12758 if test "x$ac_cv_mingw_header_libxslt_pattern_h" = xyes
12759 then :
12762 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/transform.h" >&5
12763 printf %s "checking for MinGW libxslt/transform.h... " >&6; }
12764 if test ${ac_cv_mingw_header_libxslt_transform_h+y}
12765 then :
12766 printf %s "(cached) " >&6
12767 else $as_nop
12768 ac_wine_check_headers_saved_cc=$CC
12769 ac_wine_check_headers_saved_exeext=$ac_exeext
12770 eval CC=\$${wine_arch}_CC
12771 ac_exeext=".exe"
12772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12773 /* end confdefs.h. */
12775 #include <libxslt/transform.h>
12777 main (void)
12781 return 0;
12783 _ACEOF
12784 if ac_fn_c_try_compile "$LINENO"
12785 then :
12786 ac_cv_mingw_header_libxslt_transform_h=yes
12787 else $as_nop
12788 ac_cv_mingw_header_libxslt_transform_h=no
12790 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12791 CC=$ac_wine_check_headers_saved_cc
12792 ac_exeext=$ac_wine_check_headers_saved_exeext
12794 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_transform_h" >&5
12795 printf "%s\n" "$ac_cv_mingw_header_libxslt_transform_h" >&6; }
12796 if test "x$ac_cv_mingw_header_libxslt_transform_h" = xyes
12797 then :
12800 if test "$ac_cv_mingw_header_libxslt_pattern_h" = "yes" -a "$ac_cv_mingw_header_libxslt_transform_h" = "yes"
12801 then
12802 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xsltCompilePattern in MinGW -lxslt" >&5
12803 printf %s "checking for xsltCompilePattern in MinGW -lxslt... " >&6; }
12804 if test ${ac_cv_mingw_lib_xslt+y}
12805 then :
12806 printf %s "(cached) " >&6
12807 else $as_nop
12808 ac_wine_check_headers_saved_cc=$CC
12809 ac_wine_check_headers_saved_exeext=$ac_exeext
12810 ac_wine_check_headers_saved_libs=$LIBS
12811 eval CC=\$${wine_arch}_CC
12812 ac_exeext=".exe"
12813 LIBS="-lxslt $XSLT_PE_LIBS $LIBS"
12814 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12815 /* end confdefs.h. */
12817 /* Override any GCC internal prototype to avoid an error.
12818 Use char because int might match the return type of a GCC
12819 builtin and then its argument prototype would still apply. */
12820 char xsltCompilePattern ();
12822 main (void)
12824 return xsltCompilePattern ();
12826 return 0;
12828 _ACEOF
12829 if ac_fn_c_try_link "$LINENO"
12830 then :
12831 ac_cv_mingw_lib_xslt=yes
12832 else $as_nop
12833 ac_cv_mingw_lib_xslt=no
12835 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12836 conftest$ac_exeext conftest.$ac_ext
12837 CC=$ac_wine_check_headers_saved_cc
12838 ac_exeext=$ac_wine_check_headers_saved_exeext
12839 LIBS=$ac_wine_check_headers_saved_libs
12841 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xslt" >&5
12842 printf "%s\n" "$ac_cv_mingw_lib_xslt" >&6; }
12843 if test "x$ac_cv_mingw_lib_xslt" = xyes
12844 then :
12846 else $as_nop
12847 XSLT_PE_CFLAGS=""; XSLT_PE_LIBS=""
12849 else
12850 XSLT_PE_CFLAGS=""
12851 XSLT_PE_LIBS=""
12853 CPPFLAGS=$ac_save_CPPFLAGS
12855 if test "x$XSLT_PE_LIBS" = "x"
12856 then
12857 as_fn_append wine_notices "|libxslt ${notice_platform}MinGW development files not found; using bundled version."
12860 if ${VKD3D_PE_CFLAGS:+false} :
12861 then :
12862 if test ${MINGW_PKG_CONFIG+y}
12863 then :
12864 VKD3D_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libvkd3d libvkd3d-shader 2>/dev/null`
12867 if ${VKD3D_PE_LIBS:+false} :
12868 then :
12869 if test ${MINGW_PKG_CONFIG+y}
12870 then :
12871 VKD3D_PE_LIBS=`$MINGW_PKG_CONFIG --libs libvkd3d libvkd3d-shader 2>/dev/null`
12874 VKD3D_PE_LIBS=${VKD3D_PE_LIBS:-"-lvkd3d -lvkd3d-shader"}
12875 ac_save_CPPFLAGS=$CPPFLAGS
12876 CPPFLAGS="$CPPFLAGS $VKD3D_PE_CFLAGS"
12877 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d.h" >&5
12878 printf %s "checking for MinGW vkd3d.h... " >&6; }
12879 if test ${ac_cv_mingw_header_vkd3d_h+y}
12880 then :
12881 printf %s "(cached) " >&6
12882 else $as_nop
12883 ac_wine_check_headers_saved_cc=$CC
12884 ac_wine_check_headers_saved_exeext=$ac_exeext
12885 eval CC=\$${wine_arch}_CC
12886 ac_exeext=".exe"
12887 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12888 /* end confdefs.h. */
12890 #include <vkd3d.h>
12892 main (void)
12896 return 0;
12898 _ACEOF
12899 if ac_fn_c_try_compile "$LINENO"
12900 then :
12901 ac_cv_mingw_header_vkd3d_h=yes
12902 else $as_nop
12903 ac_cv_mingw_header_vkd3d_h=no
12905 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12906 CC=$ac_wine_check_headers_saved_cc
12907 ac_exeext=$ac_wine_check_headers_saved_exeext
12909 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_h" >&5
12910 printf "%s\n" "$ac_cv_mingw_header_vkd3d_h" >&6; }
12911 if test "x$ac_cv_mingw_header_vkd3d_h" = xyes
12912 then :
12915 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d_shader.h" >&5
12916 printf %s "checking for MinGW vkd3d_shader.h... " >&6; }
12917 if test ${ac_cv_mingw_header_vkd3d_shader_h+y}
12918 then :
12919 printf %s "(cached) " >&6
12920 else $as_nop
12921 ac_wine_check_headers_saved_cc=$CC
12922 ac_wine_check_headers_saved_exeext=$ac_exeext
12923 eval CC=\$${wine_arch}_CC
12924 ac_exeext=".exe"
12925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12926 /* end confdefs.h. */
12928 #include <vkd3d_shader.h>
12930 main (void)
12934 return 0;
12936 _ACEOF
12937 if ac_fn_c_try_compile "$LINENO"
12938 then :
12939 ac_cv_mingw_header_vkd3d_shader_h=yes
12940 else $as_nop
12941 ac_cv_mingw_header_vkd3d_shader_h=no
12943 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12944 CC=$ac_wine_check_headers_saved_cc
12945 ac_exeext=$ac_wine_check_headers_saved_exeext
12947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_shader_h" >&5
12948 printf "%s\n" "$ac_cv_mingw_header_vkd3d_shader_h" >&6; }
12949 if test "x$ac_cv_mingw_header_vkd3d_shader_h" = xyes
12950 then :
12953 if test "$ac_cv_mingw_header_vkd3d_h" = "yes" -a "$ac_cv_mingw_header_vkd3d_shader_h" = "yes"
12954 then
12955 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_set_log_callback in MinGW -lvkd3d" >&5
12956 printf %s "checking for vkd3d_set_log_callback in MinGW -lvkd3d... " >&6; }
12957 if test ${ac_cv_mingw_lib_vkd3d+y}
12958 then :
12959 printf %s "(cached) " >&6
12960 else $as_nop
12961 ac_wine_check_headers_saved_cc=$CC
12962 ac_wine_check_headers_saved_exeext=$ac_exeext
12963 ac_wine_check_headers_saved_libs=$LIBS
12964 eval CC=\$${wine_arch}_CC
12965 ac_exeext=".exe"
12966 LIBS="-lvkd3d $VKD3D_PE_LIBS $LIBS"
12967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12968 /* end confdefs.h. */
12970 /* Override any GCC internal prototype to avoid an error.
12971 Use char because int might match the return type of a GCC
12972 builtin and then its argument prototype would still apply. */
12973 char vkd3d_set_log_callback ();
12975 main (void)
12977 return vkd3d_set_log_callback ();
12979 return 0;
12981 _ACEOF
12982 if ac_fn_c_try_link "$LINENO"
12983 then :
12984 ac_cv_mingw_lib_vkd3d=yes
12985 else $as_nop
12986 ac_cv_mingw_lib_vkd3d=no
12988 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12989 conftest$ac_exeext conftest.$ac_ext
12990 CC=$ac_wine_check_headers_saved_cc
12991 ac_exeext=$ac_wine_check_headers_saved_exeext
12992 LIBS=$ac_wine_check_headers_saved_libs
12994 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d" >&5
12995 printf "%s\n" "$ac_cv_mingw_lib_vkd3d" >&6; }
12996 if test "x$ac_cv_mingw_lib_vkd3d" = xyes
12997 then :
12999 else $as_nop
13002 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_shader_compile in MinGW -lvkd3d-shader" >&5
13003 printf %s "checking for vkd3d_shader_compile in MinGW -lvkd3d-shader... " >&6; }
13004 if test ${ac_cv_mingw_lib_vkd3d_shader+y}
13005 then :
13006 printf %s "(cached) " >&6
13007 else $as_nop
13008 ac_wine_check_headers_saved_cc=$CC
13009 ac_wine_check_headers_saved_exeext=$ac_exeext
13010 ac_wine_check_headers_saved_libs=$LIBS
13011 eval CC=\$${wine_arch}_CC
13012 ac_exeext=".exe"
13013 LIBS="-lvkd3d-shader $VKD3D_PE_LIBS $LIBS"
13014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13015 /* end confdefs.h. */
13017 /* Override any GCC internal prototype to avoid an error.
13018 Use char because int might match the return type of a GCC
13019 builtin and then its argument prototype would still apply. */
13020 char vkd3d_shader_compile ();
13022 main (void)
13024 return vkd3d_shader_compile ();
13026 return 0;
13028 _ACEOF
13029 if ac_fn_c_try_link "$LINENO"
13030 then :
13031 ac_cv_mingw_lib_vkd3d_shader=yes
13032 else $as_nop
13033 ac_cv_mingw_lib_vkd3d_shader=no
13035 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13036 conftest$ac_exeext conftest.$ac_ext
13037 CC=$ac_wine_check_headers_saved_cc
13038 ac_exeext=$ac_wine_check_headers_saved_exeext
13039 LIBS=$ac_wine_check_headers_saved_libs
13041 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d_shader" >&5
13042 printf "%s\n" "$ac_cv_mingw_lib_vkd3d_shader" >&6; }
13043 if test "x$ac_cv_mingw_lib_vkd3d_shader" = xyes
13044 then :
13046 else $as_nop
13049 if test "$ac_cv_mingw_lib_vkd3d" = "no" -o "$ac_cv_mingw_lib_vkd3d_shader" = "no"
13050 then
13051 VKD3D_PE_CFLAGS=""
13052 VKD3D_PE_LIBS=""
13054 else
13055 VKD3D_PE_CFLAGS=""
13056 VKD3D_PE_LIBS=""
13058 CPPFLAGS=$ac_save_CPPFLAGS
13060 if test "x$VKD3D_PE_LIBS" = "x"
13061 then
13062 as_fn_append wine_notices "|libvkd3d ${notice_platform}MinGW development files not found (or too old); using bundled version."
13065 if ${ZLIB_PE_CFLAGS:+false} :
13066 then :
13067 if test ${MINGW_PKG_CONFIG+y}
13068 then :
13069 ZLIB_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags zlib 2>/dev/null`
13072 if ${ZLIB_PE_LIBS:+false} :
13073 then :
13074 if test ${MINGW_PKG_CONFIG+y}
13075 then :
13076 ZLIB_PE_LIBS=`$MINGW_PKG_CONFIG --libs zlib 2>/dev/null`
13079 ZLIB_PE_LIBS=${ZLIB_PE_LIBS:-"-lz"}
13080 ac_save_CPPFLAGS=$CPPFLAGS
13081 CPPFLAGS="$CPPFLAGS $ZLIB_PE_CFLAGS"
13082 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW zlib.h" >&5
13083 printf %s "checking for MinGW zlib.h... " >&6; }
13084 if test ${ac_cv_mingw_header_zlib_h+y}
13085 then :
13086 printf %s "(cached) " >&6
13087 else $as_nop
13088 ac_wine_check_headers_saved_cc=$CC
13089 ac_wine_check_headers_saved_exeext=$ac_exeext
13090 eval CC=\$${wine_arch}_CC
13091 ac_exeext=".exe"
13092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13093 /* end confdefs.h. */
13095 #include <zlib.h>
13097 main (void)
13101 return 0;
13103 _ACEOF
13104 if ac_fn_c_try_compile "$LINENO"
13105 then :
13106 ac_cv_mingw_header_zlib_h=yes
13107 else $as_nop
13108 ac_cv_mingw_header_zlib_h=no
13110 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13111 CC=$ac_wine_check_headers_saved_cc
13112 ac_exeext=$ac_wine_check_headers_saved_exeext
13114 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_zlib_h" >&5
13115 printf "%s\n" "$ac_cv_mingw_header_zlib_h" >&6; }
13116 if test "x$ac_cv_mingw_header_zlib_h" = xyes
13117 then :
13118 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inflate in MinGW -lz" >&5
13119 printf %s "checking for inflate in MinGW -lz... " >&6; }
13120 if test ${ac_cv_mingw_lib_z+y}
13121 then :
13122 printf %s "(cached) " >&6
13123 else $as_nop
13124 ac_wine_check_headers_saved_cc=$CC
13125 ac_wine_check_headers_saved_exeext=$ac_exeext
13126 ac_wine_check_headers_saved_libs=$LIBS
13127 eval CC=\$${wine_arch}_CC
13128 ac_exeext=".exe"
13129 LIBS="-lz $ZLIB_PE_LIBS $LIBS"
13130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13131 /* end confdefs.h. */
13133 /* Override any GCC internal prototype to avoid an error.
13134 Use char because int might match the return type of a GCC
13135 builtin and then its argument prototype would still apply. */
13136 char inflate ();
13138 main (void)
13140 return inflate ();
13142 return 0;
13144 _ACEOF
13145 if ac_fn_c_try_link "$LINENO"
13146 then :
13147 ac_cv_mingw_lib_z=yes
13148 else $as_nop
13149 ac_cv_mingw_lib_z=no
13151 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13152 conftest$ac_exeext conftest.$ac_ext
13153 CC=$ac_wine_check_headers_saved_cc
13154 ac_exeext=$ac_wine_check_headers_saved_exeext
13155 LIBS=$ac_wine_check_headers_saved_libs
13157 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_z" >&5
13158 printf "%s\n" "$ac_cv_mingw_lib_z" >&6; }
13159 if test "x$ac_cv_mingw_lib_z" = xyes
13160 then :
13162 else $as_nop
13163 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13165 else $as_nop
13166 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13168 CPPFLAGS=$ac_save_CPPFLAGS
13170 if test "x$ZLIB_PE_LIBS" = "x"
13171 then
13172 as_fn_append wine_notices "|zlib ${notice_platform}MinGW development files not found; using bundled version."
13176 if ${FAUDIO_PE_LIBS:+false} :
13177 then :
13178 FAUDIO_PE_LIBS="faudio mfplat mfreadwrite mfuuid propsys"
13179 if ${FAUDIO_PE_CFLAGS:+false} :
13180 then :
13181 FAUDIO_PE_CFLAGS="-I\$(top_srcdir)/libs/faudio/include"
13182 else $as_nop
13183 enable_faudio=no
13185 else $as_nop
13186 enable_faudio=no
13188 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_PE_CFLAGS" >&5
13189 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_PE_LIBS" >&5
13191 if ${GSM_PE_LIBS:+false} :
13192 then :
13193 GSM_PE_LIBS=gsm
13194 if ${GSM_PE_CFLAGS:+false} :
13195 then :
13196 GSM_PE_CFLAGS="-I\$(top_srcdir)/libs/gsm/inc"
13197 else $as_nop
13198 enable_gsm=no
13200 else $as_nop
13201 enable_gsm=no
13203 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm cflags: $GSM_PE_CFLAGS" >&5
13204 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm libs: $GSM_PE_LIBS" >&5
13206 if ${JPEG_PE_LIBS:+false} :
13207 then :
13208 JPEG_PE_LIBS=jpeg
13209 if ${JPEG_PE_CFLAGS:+false} :
13210 then :
13211 JPEG_PE_CFLAGS="-I\$(top_srcdir)/libs/jpeg"
13212 else $as_nop
13213 enable_jpeg=no
13215 else $as_nop
13216 enable_jpeg=no
13218 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg cflags: $JPEG_PE_CFLAGS" >&5
13219 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg libs: $JPEG_PE_LIBS" >&5
13221 if ${JXR_PE_LIBS:+false} :
13222 then :
13223 JXR_PE_LIBS=jxr
13224 if ${JXR_PE_CFLAGS:+false} :
13225 then :
13226 JXR_PE_CFLAGS="-I\$(top_srcdir)/libs/jxr/jxrgluelib -I\$(top_srcdir)/libs/jxr/image/sys"
13227 else $as_nop
13228 enable_jxr=no
13230 else $as_nop
13231 enable_jxr=no
13233 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr cflags: $JXR_PE_CFLAGS" >&5
13234 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr libs: $JXR_PE_LIBS" >&5
13236 if ${LCMS2_PE_LIBS:+false} :
13237 then :
13238 LCMS2_PE_LIBS=lcms2
13239 if ${LCMS2_PE_CFLAGS:+false} :
13240 then :
13241 LCMS2_PE_CFLAGS="-I\$(top_srcdir)/libs/lcms2/include"
13242 else $as_nop
13243 enable_lcms2=no
13245 else $as_nop
13246 enable_lcms2=no
13248 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_PE_CFLAGS" >&5
13249 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_PE_LIBS" >&5
13251 if ${LDAP_PE_LIBS:+false} :
13252 then :
13253 LDAP_PE_LIBS=ldap
13254 if ${LDAP_PE_CFLAGS:+false} :
13255 then :
13256 LDAP_PE_CFLAGS="-I\$(top_srcdir)/libs/ldap/include"
13257 else $as_nop
13258 enable_ldap=no
13260 else $as_nop
13261 enable_ldap=no
13263 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ldap cflags: $LDAP_PE_CFLAGS" >&5
13264 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ldap libs: $LDAP_PE_LIBS" >&5
13266 if ${MPG123_PE_LIBS:+false} :
13267 then :
13268 MPG123_PE_LIBS=mpg123
13269 if ${MPG123_PE_CFLAGS:+false} :
13270 then :
13271 MPG123_PE_CFLAGS="-I\$(top_srcdir)/libs/mpg123/src/libmpg123"
13272 else $as_nop
13273 enable_mpg123=no
13275 else $as_nop
13276 enable_mpg123=no
13278 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 cflags: $MPG123_PE_CFLAGS" >&5
13279 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 libs: $MPG123_PE_LIBS" >&5
13281 if ${PNG_PE_LIBS:+false} :
13282 then :
13283 PNG_PE_LIBS="png \$(ZLIB_PE_LIBS)"
13284 if ${PNG_PE_CFLAGS:+false} :
13285 then :
13286 PNG_PE_CFLAGS="-I\$(top_srcdir)/libs/png"
13287 else $as_nop
13288 enable_png=no
13290 else $as_nop
13291 enable_png=no
13293 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png cflags: $PNG_PE_CFLAGS" >&5
13294 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png libs: $PNG_PE_LIBS" >&5
13296 if ${TIFF_PE_LIBS:+false} :
13297 then :
13298 TIFF_PE_LIBS="tiff \$(ZLIB_PE_LIBS)"
13299 if ${TIFF_PE_CFLAGS:+false} :
13300 then :
13301 TIFF_PE_CFLAGS="-I\$(top_srcdir)/libs/tiff/libtiff"
13302 else $as_nop
13303 enable_tiff=no
13305 else $as_nop
13306 enable_tiff=no
13308 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff cflags: $TIFF_PE_CFLAGS" >&5
13309 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff libs: $TIFF_PE_LIBS" >&5
13311 if ${VKD3D_PE_LIBS:+false} :
13312 then :
13313 VKD3D_PE_LIBS=vkd3d
13314 if ${VKD3D_PE_CFLAGS:+false} :
13315 then :
13316 VKD3D_PE_CFLAGS="-I\$(top_srcdir)/libs/vkd3d/include"
13317 else $as_nop
13318 enable_vkd3d=no
13320 else $as_nop
13321 enable_vkd3d=no
13323 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d cflags: $VKD3D_PE_CFLAGS" >&5
13324 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d libs: $VKD3D_PE_LIBS" >&5
13326 if ${XML2_PE_LIBS:+false} :
13327 then :
13328 XML2_PE_LIBS=xml2
13329 if ${XML2_PE_CFLAGS:+false} :
13330 then :
13331 XML2_PE_CFLAGS="-I\$(top_srcdir)/libs/xml2/include -DLIBXML_STATIC"
13332 else $as_nop
13333 enable_xml2=no
13335 else $as_nop
13336 enable_xml2=no
13338 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 cflags: $XML2_PE_CFLAGS" >&5
13339 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 libs: $XML2_PE_LIBS" >&5
13341 if ${XSLT_PE_LIBS:+false} :
13342 then :
13343 XSLT_PE_LIBS=xslt
13344 if ${XSLT_PE_CFLAGS:+false} :
13345 then :
13346 XSLT_PE_CFLAGS="-I\$(top_srcdir)/libs/xslt/libxslt -I\$(top_srcdir)/libs/xslt -DLIBXSLT_STATIC"
13347 else $as_nop
13348 enable_xslt=no
13350 else $as_nop
13351 enable_xslt=no
13353 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt cflags: $XSLT_PE_CFLAGS" >&5
13354 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt libs: $XSLT_PE_LIBS" >&5
13356 if ${ZLIB_PE_LIBS:+false} :
13357 then :
13358 ZLIB_PE_LIBS=z
13359 if ${ZLIB_PE_CFLAGS:+false} :
13360 then :
13361 ZLIB_PE_CFLAGS="-I\$(top_srcdir)/libs/zlib -DFAR= -DZ_SOLO"
13362 else $as_nop
13363 enable_zlib=no
13365 else $as_nop
13366 enable_zlib=no
13368 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib cflags: $ZLIB_PE_CFLAGS" >&5
13369 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib libs: $ZLIB_PE_LIBS" >&5
13373 if test "$ac_cv_header_pthread_h" = "yes"
13374 then
13375 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
13376 if test "x$ac_cv_func_pthread_create" = xyes
13377 then :
13379 else $as_nop
13380 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
13381 printf %s "checking for pthread_create in -lpthread... " >&6; }
13382 if test ${ac_cv_lib_pthread_pthread_create+y}
13383 then :
13384 printf %s "(cached) " >&6
13385 else $as_nop
13386 ac_check_lib_save_LIBS=$LIBS
13387 LIBS="-lpthread $LIBS"
13388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13389 /* end confdefs.h. */
13391 /* Override any GCC internal prototype to avoid an error.
13392 Use char because int might match the return type of a GCC
13393 builtin and then its argument prototype would still apply. */
13394 char pthread_create ();
13396 main (void)
13398 return pthread_create ();
13400 return 0;
13402 _ACEOF
13403 if ac_fn_c_try_link "$LINENO"
13404 then :
13405 ac_cv_lib_pthread_pthread_create=yes
13406 else $as_nop
13407 ac_cv_lib_pthread_pthread_create=no
13409 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13410 conftest$ac_exeext conftest.$ac_ext
13411 LIBS=$ac_check_lib_save_LIBS
13413 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
13414 printf "%s\n" "$ac_cv_lib_pthread_pthread_create" >&6; }
13415 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
13416 then :
13417 PTHREAD_LIBS="-lpthread"
13424 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x
13425 then :
13426 case "x$with_pthread" in
13427 xno) ;;
13428 *) as_fn_error $? "pthread ${notice_platform}development files not found.
13429 Wine cannot support threads without libpthread.
13430 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
13431 esac
13436 ac_ext=c
13437 ac_cpp='$CPP $CPPFLAGS'
13438 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13439 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13440 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13441 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
13442 printf %s "checking how to run the C preprocessor... " >&6; }
13443 # On Suns, sometimes $CPP names a directory.
13444 if test -n "$CPP" && test -d "$CPP"; then
13445 CPP=
13447 if test -z "$CPP"; then
13448 if test ${ac_cv_prog_CPP+y}
13449 then :
13450 printf %s "(cached) " >&6
13451 else $as_nop
13452 # Double quotes because $CC needs to be expanded
13453 for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
13455 ac_preproc_ok=false
13456 for ac_c_preproc_warn_flag in '' yes
13458 # Use a header file that comes with gcc, so configuring glibc
13459 # with a fresh cross-compiler works.
13460 # On the NeXT, cc -E runs the code through the compiler's parser,
13461 # not just through cpp. "Syntax error" is here to catch this case.
13462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13463 /* end confdefs.h. */
13464 #include <limits.h>
13465 Syntax error
13466 _ACEOF
13467 if ac_fn_c_try_cpp "$LINENO"
13468 then :
13470 else $as_nop
13471 # Broken: fails on valid input.
13472 continue
13474 rm -f conftest.err conftest.i conftest.$ac_ext
13476 # OK, works on sane cases. Now check whether nonexistent headers
13477 # can be detected and how.
13478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13479 /* end confdefs.h. */
13480 #include <ac_nonexistent.h>
13481 _ACEOF
13482 if ac_fn_c_try_cpp "$LINENO"
13483 then :
13484 # Broken: success on invalid input.
13485 continue
13486 else $as_nop
13487 # Passes both tests.
13488 ac_preproc_ok=:
13489 break
13491 rm -f conftest.err conftest.i conftest.$ac_ext
13493 done
13494 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13495 rm -f conftest.i conftest.err conftest.$ac_ext
13496 if $ac_preproc_ok
13497 then :
13498 break
13501 done
13502 ac_cv_prog_CPP=$CPP
13505 CPP=$ac_cv_prog_CPP
13506 else
13507 ac_cv_prog_CPP=$CPP
13509 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
13510 printf "%s\n" "$CPP" >&6; }
13511 ac_preproc_ok=false
13512 for ac_c_preproc_warn_flag in '' yes
13514 # Use a header file that comes with gcc, so configuring glibc
13515 # with a fresh cross-compiler works.
13516 # On the NeXT, cc -E runs the code through the compiler's parser,
13517 # not just through cpp. "Syntax error" is here to catch this case.
13518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13519 /* end confdefs.h. */
13520 #include <limits.h>
13521 Syntax error
13522 _ACEOF
13523 if ac_fn_c_try_cpp "$LINENO"
13524 then :
13526 else $as_nop
13527 # Broken: fails on valid input.
13528 continue
13530 rm -f conftest.err conftest.i conftest.$ac_ext
13532 # OK, works on sane cases. Now check whether nonexistent headers
13533 # can be detected and how.
13534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13535 /* end confdefs.h. */
13536 #include <ac_nonexistent.h>
13537 _ACEOF
13538 if ac_fn_c_try_cpp "$LINENO"
13539 then :
13540 # Broken: success on invalid input.
13541 continue
13542 else $as_nop
13543 # Passes both tests.
13544 ac_preproc_ok=:
13545 break
13547 rm -f conftest.err conftest.i conftest.$ac_ext
13549 done
13550 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13551 rm -f conftest.i conftest.err conftest.$ac_ext
13552 if $ac_preproc_ok
13553 then :
13555 else $as_nop
13556 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13557 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
13558 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
13559 See \`config.log' for more details" "$LINENO" 5; }
13562 ac_ext=c
13563 ac_cpp='$CPP $CPPFLAGS'
13564 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13565 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13566 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13569 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X" >&5
13570 printf %s "checking for X... " >&6; }
13573 # Check whether --with-x was given.
13574 if test ${with_x+y}
13575 then :
13576 withval=$with_x;
13579 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13580 if test "x$with_x" = xno; then
13581 # The user explicitly disabled X.
13582 have_x=disabled
13583 else
13584 case $x_includes,$x_libraries in #(
13585 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
13586 *,NONE | NONE,*) if test ${ac_cv_have_x+y}
13587 then :
13588 printf %s "(cached) " >&6
13589 else $as_nop
13590 # One or both of the vars are not set, and there is no cached value.
13591 ac_x_includes=no
13592 ac_x_libraries=no
13593 # Do we need to do anything special at all?
13594 ac_save_LIBS=$LIBS
13595 LIBS="-lX11 $LIBS"
13596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13597 /* end confdefs.h. */
13598 #include <X11/Xlib.h>
13600 main (void)
13602 XrmInitialize ()
13604 return 0;
13606 _ACEOF
13607 if ac_fn_c_try_link "$LINENO"
13608 then :
13609 # We can compile and link X programs with no special options.
13610 ac_x_includes=
13611 ac_x_libraries=
13613 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13614 conftest$ac_exeext conftest.$ac_ext
13615 LIBS="$ac_save_LIBS"
13616 # If that didn't work, only try xmkmf and file system searches
13617 # for native compilation.
13618 if test x"$ac_x_includes" = xno && test "$cross_compiling" = no
13619 then :
13620 rm -f -r conftest.dir
13621 if mkdir conftest.dir; then
13622 cd conftest.dir
13623 cat >Imakefile <<'_ACEOF'
13624 incroot:
13625 @echo incroot='${INCROOT}'
13626 usrlibdir:
13627 @echo usrlibdir='${USRLIBDIR}'
13628 libdir:
13629 @echo libdir='${LIBDIR}'
13630 _ACEOF
13631 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
13632 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
13633 for ac_var in incroot usrlibdir libdir; do
13634 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
13635 done
13636 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
13637 for ac_extension in a so sl dylib la dll; do
13638 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
13639 test -f "$ac_im_libdir/libX11.$ac_extension"; then
13640 ac_im_usrlibdir=$ac_im_libdir; break
13642 done
13643 # Screen out bogus values from the imake configuration. They are
13644 # bogus both because they are the default anyway, and because
13645 # using them would break gcc on systems where it needs fixed includes.
13646 case $ac_im_incroot in
13647 /usr/include) ac_x_includes= ;;
13648 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
13649 esac
13650 case $ac_im_usrlibdir in
13651 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
13652 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
13653 esac
13655 cd ..
13656 rm -f -r conftest.dir
13659 # Standard set of common directories for X headers.
13660 # Check X11 before X11Rn because it is often a symlink to the current release.
13661 ac_x_header_dirs='
13662 /usr/X11/include
13663 /usr/X11R7/include
13664 /usr/X11R6/include
13665 /usr/X11R5/include
13666 /usr/X11R4/include
13668 /usr/include/X11
13669 /usr/include/X11R7
13670 /usr/include/X11R6
13671 /usr/include/X11R5
13672 /usr/include/X11R4
13674 /usr/local/X11/include
13675 /usr/local/X11R7/include
13676 /usr/local/X11R6/include
13677 /usr/local/X11R5/include
13678 /usr/local/X11R4/include
13680 /usr/local/include/X11
13681 /usr/local/include/X11R7
13682 /usr/local/include/X11R6
13683 /usr/local/include/X11R5
13684 /usr/local/include/X11R4
13686 /opt/X11/include
13688 /usr/X386/include
13689 /usr/x386/include
13690 /usr/XFree86/include/X11
13692 /usr/include
13693 /usr/local/include
13694 /usr/unsupported/include
13695 /usr/athena/include
13696 /usr/local/x11r5/include
13697 /usr/lpp/Xamples/include
13699 /usr/openwin/include
13700 /usr/openwin/share/include'
13702 if test "$ac_x_includes" = no; then
13703 # Guess where to find include files, by looking for Xlib.h.
13704 # First, try using that file with no special directory specified.
13705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13706 /* end confdefs.h. */
13707 #include <X11/Xlib.h>
13708 _ACEOF
13709 if ac_fn_c_try_cpp "$LINENO"
13710 then :
13711 # We can compile using X headers with no special include directory.
13712 ac_x_includes=
13713 else $as_nop
13714 for ac_dir in $ac_x_header_dirs; do
13715 if test -r "$ac_dir/X11/Xlib.h"; then
13716 ac_x_includes=$ac_dir
13717 break
13719 done
13721 rm -f conftest.err conftest.i conftest.$ac_ext
13722 fi # $ac_x_includes = no
13724 if test "$ac_x_libraries" = no; then
13725 # Check for the libraries.
13726 # See if we find them without any special options.
13727 # Don't add to $LIBS permanently.
13728 ac_save_LIBS=$LIBS
13729 LIBS="-lX11 $LIBS"
13730 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13731 /* end confdefs.h. */
13732 #include <X11/Xlib.h>
13734 main (void)
13736 XrmInitialize ()
13738 return 0;
13740 _ACEOF
13741 if ac_fn_c_try_link "$LINENO"
13742 then :
13743 LIBS=$ac_save_LIBS
13744 # We can link X programs with no special library path.
13745 ac_x_libraries=
13746 else $as_nop
13747 LIBS=$ac_save_LIBS
13748 for ac_dir in `printf "%s\n" "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
13750 # Don't even attempt the hair of trying to link an X program!
13751 for ac_extension in a so sl dylib la dll; do
13752 if test -r "$ac_dir/libX11.$ac_extension"; then
13753 ac_x_libraries=$ac_dir
13754 break 2
13756 done
13757 done
13759 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13760 conftest$ac_exeext conftest.$ac_ext
13761 fi # $ac_x_libraries = no
13764 # Record the results.
13765 case $ac_x_includes,$ac_x_libraries in #(
13766 no,* | *,no | *\'*) :
13767 # Didn't find X, or a directory has "'" in its name.
13768 ac_cv_have_x="have_x=no" ;; #(
13769 *) :
13770 # Record where we found X for the cache.
13771 ac_cv_have_x="have_x=yes\
13772 ac_x_includes='$ac_x_includes'\
13773 ac_x_libraries='$ac_x_libraries'" ;;
13774 esac
13776 ;; #(
13777 *) have_x=yes;;
13778 esac
13779 eval "$ac_cv_have_x"
13780 fi # $with_x != no
13782 if test "$have_x" != yes; then
13783 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
13784 printf "%s\n" "$have_x" >&6; }
13785 no_x=yes
13786 else
13787 # If each of the values was on the command line, it overrides each guess.
13788 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
13789 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
13790 # Update the cache value to reflect the command line values.
13791 ac_cv_have_x="have_x=yes\
13792 ac_x_includes='$x_includes'\
13793 ac_x_libraries='$x_libraries'"
13794 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
13795 printf "%s\n" "libraries $x_libraries, headers $x_includes" >&6; }
13798 if test "$no_x" = yes; then
13799 # Not all programs may use this symbol, but it does not hurt to define it.
13801 printf "%s\n" "#define X_DISPLAY_MISSING 1" >>confdefs.h
13803 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
13804 else
13805 if test -n "$x_includes"; then
13806 X_CFLAGS="$X_CFLAGS -I$x_includes"
13809 # It would also be nice to do this for all -L options, not just this one.
13810 if test -n "$x_libraries"; then
13811 X_LIBS="$X_LIBS -L$x_libraries"
13812 # For Solaris; some versions of Sun CC require a space after -R and
13813 # others require no space. Words are not sufficient . . . .
13814 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
13815 printf %s "checking whether -R must be followed by a space... " >&6; }
13816 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
13817 ac_xsave_c_werror_flag=$ac_c_werror_flag
13818 ac_c_werror_flag=yes
13819 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13820 /* end confdefs.h. */
13823 main (void)
13827 return 0;
13829 _ACEOF
13830 if ac_fn_c_try_link "$LINENO"
13831 then :
13832 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13833 printf "%s\n" "no" >&6; }
13834 X_LIBS="$X_LIBS -R$x_libraries"
13835 else $as_nop
13836 LIBS="$ac_xsave_LIBS -R $x_libraries"
13837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13838 /* end confdefs.h. */
13841 main (void)
13845 return 0;
13847 _ACEOF
13848 if ac_fn_c_try_link "$LINENO"
13849 then :
13850 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13851 printf "%s\n" "yes" >&6; }
13852 X_LIBS="$X_LIBS -R $x_libraries"
13853 else $as_nop
13854 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
13855 printf "%s\n" "neither works" >&6; }
13857 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13858 conftest$ac_exeext conftest.$ac_ext
13860 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13861 conftest$ac_exeext conftest.$ac_ext
13862 ac_c_werror_flag=$ac_xsave_c_werror_flag
13863 LIBS=$ac_xsave_LIBS
13866 # Check for system-dependent libraries X programs must link with.
13867 # Do this before checking for the system-independent R6 libraries
13868 # (-lICE), since we may need -lsocket or whatever for X linking.
13870 if test "$ISC" = yes; then
13871 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
13872 else
13873 # Martyn Johnson says this is needed for Ultrix, if the X
13874 # libraries were built with DECnet support. And Karl Berry says
13875 # the Alpha needs dnet_stub (dnet does not exist).
13876 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
13877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13878 /* end confdefs.h. */
13880 /* Override any GCC internal prototype to avoid an error.
13881 Use char because int might match the return type of a GCC
13882 builtin and then its argument prototype would still apply. */
13883 char XOpenDisplay ();
13885 main (void)
13887 return XOpenDisplay ();
13889 return 0;
13891 _ACEOF
13892 if ac_fn_c_try_link "$LINENO"
13893 then :
13895 else $as_nop
13896 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
13897 printf %s "checking for dnet_ntoa in -ldnet... " >&6; }
13898 if test ${ac_cv_lib_dnet_dnet_ntoa+y}
13899 then :
13900 printf %s "(cached) " >&6
13901 else $as_nop
13902 ac_check_lib_save_LIBS=$LIBS
13903 LIBS="-ldnet $LIBS"
13904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13905 /* end confdefs.h. */
13907 /* Override any GCC internal prototype to avoid an error.
13908 Use char because int might match the return type of a GCC
13909 builtin and then its argument prototype would still apply. */
13910 char dnet_ntoa ();
13912 main (void)
13914 return dnet_ntoa ();
13916 return 0;
13918 _ACEOF
13919 if ac_fn_c_try_link "$LINENO"
13920 then :
13921 ac_cv_lib_dnet_dnet_ntoa=yes
13922 else $as_nop
13923 ac_cv_lib_dnet_dnet_ntoa=no
13925 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13926 conftest$ac_exeext conftest.$ac_ext
13927 LIBS=$ac_check_lib_save_LIBS
13929 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
13930 printf "%s\n" "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
13931 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
13932 then :
13933 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
13936 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
13937 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
13938 printf %s "checking for dnet_ntoa in -ldnet_stub... " >&6; }
13939 if test ${ac_cv_lib_dnet_stub_dnet_ntoa+y}
13940 then :
13941 printf %s "(cached) " >&6
13942 else $as_nop
13943 ac_check_lib_save_LIBS=$LIBS
13944 LIBS="-ldnet_stub $LIBS"
13945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13946 /* end confdefs.h. */
13948 /* Override any GCC internal prototype to avoid an error.
13949 Use char because int might match the return type of a GCC
13950 builtin and then its argument prototype would still apply. */
13951 char dnet_ntoa ();
13953 main (void)
13955 return dnet_ntoa ();
13957 return 0;
13959 _ACEOF
13960 if ac_fn_c_try_link "$LINENO"
13961 then :
13962 ac_cv_lib_dnet_stub_dnet_ntoa=yes
13963 else $as_nop
13964 ac_cv_lib_dnet_stub_dnet_ntoa=no
13966 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13967 conftest$ac_exeext conftest.$ac_ext
13968 LIBS=$ac_check_lib_save_LIBS
13970 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
13971 printf "%s\n" "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
13972 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
13973 then :
13974 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
13979 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13980 conftest$ac_exeext conftest.$ac_ext
13981 LIBS="$ac_xsave_LIBS"
13983 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
13984 # to get the SysV transport functions.
13985 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
13986 # needs -lnsl.
13987 # The nsl library prevents programs from opening the X display
13988 # on Irix 5.2, according to T.E. Dickey.
13989 # The functions gethostbyname, getservbyname, and inet_addr are
13990 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
13991 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
13992 if test "x$ac_cv_func_gethostbyname" = xyes
13993 then :
13997 if test $ac_cv_func_gethostbyname = no; then
13998 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
13999 printf %s "checking for gethostbyname in -lnsl... " >&6; }
14000 if test ${ac_cv_lib_nsl_gethostbyname+y}
14001 then :
14002 printf %s "(cached) " >&6
14003 else $as_nop
14004 ac_check_lib_save_LIBS=$LIBS
14005 LIBS="-lnsl $LIBS"
14006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14007 /* end confdefs.h. */
14009 /* Override any GCC internal prototype to avoid an error.
14010 Use char because int might match the return type of a GCC
14011 builtin and then its argument prototype would still apply. */
14012 char gethostbyname ();
14014 main (void)
14016 return gethostbyname ();
14018 return 0;
14020 _ACEOF
14021 if ac_fn_c_try_link "$LINENO"
14022 then :
14023 ac_cv_lib_nsl_gethostbyname=yes
14024 else $as_nop
14025 ac_cv_lib_nsl_gethostbyname=no
14027 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14028 conftest$ac_exeext conftest.$ac_ext
14029 LIBS=$ac_check_lib_save_LIBS
14031 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
14032 printf "%s\n" "$ac_cv_lib_nsl_gethostbyname" >&6; }
14033 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
14034 then :
14035 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
14038 if test $ac_cv_lib_nsl_gethostbyname = no; then
14039 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
14040 printf %s "checking for gethostbyname in -lbsd... " >&6; }
14041 if test ${ac_cv_lib_bsd_gethostbyname+y}
14042 then :
14043 printf %s "(cached) " >&6
14044 else $as_nop
14045 ac_check_lib_save_LIBS=$LIBS
14046 LIBS="-lbsd $LIBS"
14047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14048 /* end confdefs.h. */
14050 /* Override any GCC internal prototype to avoid an error.
14051 Use char because int might match the return type of a GCC
14052 builtin and then its argument prototype would still apply. */
14053 char gethostbyname ();
14055 main (void)
14057 return gethostbyname ();
14059 return 0;
14061 _ACEOF
14062 if ac_fn_c_try_link "$LINENO"
14063 then :
14064 ac_cv_lib_bsd_gethostbyname=yes
14065 else $as_nop
14066 ac_cv_lib_bsd_gethostbyname=no
14068 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14069 conftest$ac_exeext conftest.$ac_ext
14070 LIBS=$ac_check_lib_save_LIBS
14072 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
14073 printf "%s\n" "$ac_cv_lib_bsd_gethostbyname" >&6; }
14074 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
14075 then :
14076 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
14082 # lieder@skyler.mavd.honeywell.com says without -lsocket,
14083 # socket/setsockopt and other routines are undefined under SCO ODT
14084 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
14085 # on later versions), says Simon Leinen: it contains gethostby*
14086 # variants that don't use the name server (or something). -lsocket
14087 # must be given before -lnsl if both are needed. We assume that
14088 # if connect needs -lnsl, so does gethostbyname.
14089 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
14090 if test "x$ac_cv_func_connect" = xyes
14091 then :
14095 if test $ac_cv_func_connect = no; then
14096 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
14097 printf %s "checking for connect in -lsocket... " >&6; }
14098 if test ${ac_cv_lib_socket_connect+y}
14099 then :
14100 printf %s "(cached) " >&6
14101 else $as_nop
14102 ac_check_lib_save_LIBS=$LIBS
14103 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
14104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14105 /* end confdefs.h. */
14107 /* Override any GCC internal prototype to avoid an error.
14108 Use char because int might match the return type of a GCC
14109 builtin and then its argument prototype would still apply. */
14110 char connect ();
14112 main (void)
14114 return connect ();
14116 return 0;
14118 _ACEOF
14119 if ac_fn_c_try_link "$LINENO"
14120 then :
14121 ac_cv_lib_socket_connect=yes
14122 else $as_nop
14123 ac_cv_lib_socket_connect=no
14125 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14126 conftest$ac_exeext conftest.$ac_ext
14127 LIBS=$ac_check_lib_save_LIBS
14129 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
14130 printf "%s\n" "$ac_cv_lib_socket_connect" >&6; }
14131 if test "x$ac_cv_lib_socket_connect" = xyes
14132 then :
14133 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
14138 # Guillermo Gomez says -lposix is necessary on A/UX.
14139 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
14140 if test "x$ac_cv_func_remove" = xyes
14141 then :
14145 if test $ac_cv_func_remove = no; then
14146 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
14147 printf %s "checking for remove in -lposix... " >&6; }
14148 if test ${ac_cv_lib_posix_remove+y}
14149 then :
14150 printf %s "(cached) " >&6
14151 else $as_nop
14152 ac_check_lib_save_LIBS=$LIBS
14153 LIBS="-lposix $LIBS"
14154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14155 /* end confdefs.h. */
14157 /* Override any GCC internal prototype to avoid an error.
14158 Use char because int might match the return type of a GCC
14159 builtin and then its argument prototype would still apply. */
14160 char remove ();
14162 main (void)
14164 return remove ();
14166 return 0;
14168 _ACEOF
14169 if ac_fn_c_try_link "$LINENO"
14170 then :
14171 ac_cv_lib_posix_remove=yes
14172 else $as_nop
14173 ac_cv_lib_posix_remove=no
14175 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14176 conftest$ac_exeext conftest.$ac_ext
14177 LIBS=$ac_check_lib_save_LIBS
14179 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
14180 printf "%s\n" "$ac_cv_lib_posix_remove" >&6; }
14181 if test "x$ac_cv_lib_posix_remove" = xyes
14182 then :
14183 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
14188 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
14189 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
14190 if test "x$ac_cv_func_shmat" = xyes
14191 then :
14195 if test $ac_cv_func_shmat = no; then
14196 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
14197 printf %s "checking for shmat in -lipc... " >&6; }
14198 if test ${ac_cv_lib_ipc_shmat+y}
14199 then :
14200 printf %s "(cached) " >&6
14201 else $as_nop
14202 ac_check_lib_save_LIBS=$LIBS
14203 LIBS="-lipc $LIBS"
14204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14205 /* end confdefs.h. */
14207 /* Override any GCC internal prototype to avoid an error.
14208 Use char because int might match the return type of a GCC
14209 builtin and then its argument prototype would still apply. */
14210 char shmat ();
14212 main (void)
14214 return shmat ();
14216 return 0;
14218 _ACEOF
14219 if ac_fn_c_try_link "$LINENO"
14220 then :
14221 ac_cv_lib_ipc_shmat=yes
14222 else $as_nop
14223 ac_cv_lib_ipc_shmat=no
14225 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14226 conftest$ac_exeext conftest.$ac_ext
14227 LIBS=$ac_check_lib_save_LIBS
14229 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
14230 printf "%s\n" "$ac_cv_lib_ipc_shmat" >&6; }
14231 if test "x$ac_cv_lib_ipc_shmat" = xyes
14232 then :
14233 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
14239 # Check for libraries that X11R6 Xt/Xaw programs need.
14240 ac_save_LDFLAGS=$LDFLAGS
14241 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
14242 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
14243 # check for ICE first), but we must link in the order -lSM -lICE or
14244 # we get undefined symbols. So assume we have SM if we have ICE.
14245 # These have to be linked with before -lX11, unlike the other
14246 # libraries we check for below, so use a different variable.
14247 # John Interrante, Karl Berry
14248 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
14249 printf %s "checking for IceConnectionNumber in -lICE... " >&6; }
14250 if test ${ac_cv_lib_ICE_IceConnectionNumber+y}
14251 then :
14252 printf %s "(cached) " >&6
14253 else $as_nop
14254 ac_check_lib_save_LIBS=$LIBS
14255 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
14256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14257 /* end confdefs.h. */
14259 /* Override any GCC internal prototype to avoid an error.
14260 Use char because int might match the return type of a GCC
14261 builtin and then its argument prototype would still apply. */
14262 char IceConnectionNumber ();
14264 main (void)
14266 return IceConnectionNumber ();
14268 return 0;
14270 _ACEOF
14271 if ac_fn_c_try_link "$LINENO"
14272 then :
14273 ac_cv_lib_ICE_IceConnectionNumber=yes
14274 else $as_nop
14275 ac_cv_lib_ICE_IceConnectionNumber=no
14277 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14278 conftest$ac_exeext conftest.$ac_ext
14279 LIBS=$ac_check_lib_save_LIBS
14281 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
14282 printf "%s\n" "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
14283 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
14284 then :
14285 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
14288 LDFLAGS=$ac_save_LDFLAGS
14293 if test "$have_x" = "yes"
14294 then
14295 ac_save_CPPFLAGS="$CPPFLAGS"
14296 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
14298 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
14299 printf %s "checking for -lX11... " >&6; }
14300 if test ${ac_cv_lib_soname_X11+y}
14301 then :
14302 printf %s "(cached) " >&6
14303 else $as_nop
14304 ac_check_soname_save_LIBS=$LIBS
14305 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14307 /* end confdefs.h. */
14309 /* Override any GCC internal prototype to avoid an error.
14310 Use char because int might match the return type of a GCC
14311 builtin and then its argument prototype would still apply. */
14312 char XCreateWindow ();
14314 main (void)
14316 return XCreateWindow ();
14318 return 0;
14320 _ACEOF
14321 if ac_fn_c_try_link "$LINENO"
14322 then :
14323 case "$LIBEXT" in
14324 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14325 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'` ;;
14326 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14327 if ${ac_cv_lib_soname_X11:+false} :
14328 then :
14329 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14330 fi ;;
14331 esac
14332 else $as_nop
14333 ac_cv_lib_soname_X11=
14335 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14336 conftest$ac_exeext conftest.$ac_ext
14337 LIBS=$ac_check_soname_save_LIBS
14339 if ${ac_cv_lib_soname_X11:+false} :
14340 then :
14341 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14342 printf "%s\n" "not found" >&6; }
14344 else $as_nop
14345 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
14346 printf "%s\n" "$ac_cv_lib_soname_X11" >&6; }
14348 printf "%s\n" "#define SONAME_LIBX11 \"$ac_cv_lib_soname_X11\"" >>confdefs.h
14352 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
14353 printf %s "checking for -lXext... " >&6; }
14354 if test ${ac_cv_lib_soname_Xext+y}
14355 then :
14356 printf %s "(cached) " >&6
14357 else $as_nop
14358 ac_check_soname_save_LIBS=$LIBS
14359 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14361 /* end confdefs.h. */
14363 /* Override any GCC internal prototype to avoid an error.
14364 Use char because int might match the return type of a GCC
14365 builtin and then its argument prototype would still apply. */
14366 char XextCreateExtension ();
14368 main (void)
14370 return XextCreateExtension ();
14372 return 0;
14374 _ACEOF
14375 if ac_fn_c_try_link "$LINENO"
14376 then :
14377 case "$LIBEXT" in
14378 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14379 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'` ;;
14380 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14381 if ${ac_cv_lib_soname_Xext:+false} :
14382 then :
14383 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14384 fi ;;
14385 esac
14386 else $as_nop
14387 ac_cv_lib_soname_Xext=
14389 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14390 conftest$ac_exeext conftest.$ac_ext
14391 LIBS=$ac_check_soname_save_LIBS
14393 if ${ac_cv_lib_soname_Xext:+false} :
14394 then :
14395 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14396 printf "%s\n" "not found" >&6; }
14398 else $as_nop
14399 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
14400 printf "%s\n" "$ac_cv_lib_soname_Xext" >&6; }
14402 printf "%s\n" "#define SONAME_LIBXEXT \"$ac_cv_lib_soname_Xext\"" >>confdefs.h
14404 X_LIBS="$X_LIBS -lXext"
14406 X_LIBS="$X_LIBS -lX11"
14408 ac_fn_c_check_header_compile "$LINENO" "X11/Xlib.h" "ac_cv_header_X11_Xlib_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_Xlib_h" = xyes
14416 then :
14417 printf "%s\n" "#define HAVE_X11_XLIB_H 1" >>confdefs.h
14420 ac_fn_c_check_header_compile "$LINENO" "X11/XKBlib.h" "ac_cv_header_X11_XKBlib_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_XKBlib_h" = xyes
14428 then :
14429 printf "%s\n" "#define HAVE_X11_XKBLIB_H 1" >>confdefs.h
14432 ac_fn_c_check_header_compile "$LINENO" "X11/Xutil.h" "ac_cv_header_X11_Xutil_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_Xutil_h" = xyes
14440 then :
14441 printf "%s\n" "#define HAVE_X11_XUTIL_H 1" >>confdefs.h
14444 ac_fn_c_check_header_compile "$LINENO" "X11/Xcursor/Xcursor.h" "ac_cv_header_X11_Xcursor_Xcursor_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_Xcursor_Xcursor_h" = xyes
14452 then :
14453 printf "%s\n" "#define HAVE_X11_XCURSOR_XCURSOR_H 1" >>confdefs.h
14456 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/shape.h" "ac_cv_header_X11_extensions_shape_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_shape_h" = xyes
14464 then :
14465 printf "%s\n" "#define HAVE_X11_EXTENSIONS_SHAPE_H 1" >>confdefs.h
14468 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput.h" "ac_cv_header_X11_extensions_XInput_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_XInput_h" = xyes
14476 then :
14477 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT_H 1" >>confdefs.h
14480 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput2.h" "ac_cv_header_X11_extensions_XInput2_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_XInput2_h" = xyes
14488 then :
14489 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT2_H 1" >>confdefs.h
14492 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XShm.h" "ac_cv_header_X11_extensions_XShm_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_XShm_h" = xyes
14500 then :
14501 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XSHM_H 1" >>confdefs.h
14504 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xcomposite.h" "ac_cv_header_X11_extensions_Xcomposite_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_Xcomposite_h" = xyes
14512 then :
14513 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XCOMPOSITE_H 1" >>confdefs.h
14516 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xfixes.h" "ac_cv_header_X11_extensions_Xfixes_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_Xfixes_h" = xyes
14524 then :
14525 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XFIXES_H 1" >>confdefs.h
14528 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xinerama.h" "ac_cv_header_X11_extensions_Xinerama_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_Xinerama_h" = xyes
14536 then :
14537 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINERAMA_H 1" >>confdefs.h
14540 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrandr.h" "ac_cv_header_X11_extensions_Xrandr_h" "#ifdef HAVE_X11_XLIB_H
14541 # include <X11/Xlib.h>
14542 #endif
14543 #ifdef HAVE_X11_XUTIL_H
14544 # include <X11/Xutil.h>
14545 #endif
14547 if test "x$ac_cv_header_X11_extensions_Xrandr_h" = xyes
14548 then :
14549 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRANDR_H 1" >>confdefs.h
14552 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_h" "#ifdef HAVE_X11_XLIB_H
14553 # include <X11/Xlib.h>
14554 #endif
14555 #ifdef HAVE_X11_XUTIL_H
14556 # include <X11/Xutil.h>
14557 #endif
14559 if test "x$ac_cv_header_X11_extensions_Xrender_h" = xyes
14560 then :
14561 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRENDER_H 1" >>confdefs.h
14564 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmode.h" "ac_cv_header_X11_extensions_xf86vmode_h" "#ifdef HAVE_X11_XLIB_H
14565 # include <X11/Xlib.h>
14566 #endif
14567 #ifdef HAVE_X11_XUTIL_H
14568 # include <X11/Xutil.h>
14569 #endif
14571 if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = xyes
14572 then :
14573 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMODE_H 1" >>confdefs.h
14576 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmproto.h" "ac_cv_header_X11_extensions_xf86vmproto_h" "#ifdef HAVE_X11_XLIB_H
14577 # include <X11/Xlib.h>
14578 #endif
14579 #ifdef HAVE_X11_XUTIL_H
14580 # include <X11/Xutil.h>
14581 #endif
14583 if test "x$ac_cv_header_X11_extensions_xf86vmproto_h" = xyes
14584 then :
14585 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMPROTO_H 1" >>confdefs.h
14590 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
14591 then
14592 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
14593 printf %s "checking for XkbQueryExtension in -lX11... " >&6; }
14594 if test ${ac_cv_lib_X11_XkbQueryExtension+y}
14595 then :
14596 printf %s "(cached) " >&6
14597 else $as_nop
14598 ac_check_lib_save_LIBS=$LIBS
14599 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14601 /* end confdefs.h. */
14603 /* Override any GCC internal prototype to avoid an error.
14604 Use char because int might match the return type of a GCC
14605 builtin and then its argument prototype would still apply. */
14606 char XkbQueryExtension ();
14608 main (void)
14610 return XkbQueryExtension ();
14612 return 0;
14614 _ACEOF
14615 if ac_fn_c_try_link "$LINENO"
14616 then :
14617 ac_cv_lib_X11_XkbQueryExtension=yes
14618 else $as_nop
14619 ac_cv_lib_X11_XkbQueryExtension=no
14621 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14622 conftest$ac_exeext conftest.$ac_ext
14623 LIBS=$ac_check_lib_save_LIBS
14625 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
14626 printf "%s\n" "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
14627 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
14628 then :
14630 printf "%s\n" "#define HAVE_XKB 1" >>confdefs.h
14636 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
14637 then
14638 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
14639 printf %s "checking for -lXcursor... " >&6; }
14640 if test ${ac_cv_lib_soname_Xcursor+y}
14641 then :
14642 printf %s "(cached) " >&6
14643 else $as_nop
14644 ac_check_soname_save_LIBS=$LIBS
14645 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
14646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14647 /* end confdefs.h. */
14649 /* Override any GCC internal prototype to avoid an error.
14650 Use char because int might match the return type of a GCC
14651 builtin and then its argument prototype would still apply. */
14652 char XcursorImageLoadCursor ();
14654 main (void)
14656 return XcursorImageLoadCursor ();
14658 return 0;
14660 _ACEOF
14661 if ac_fn_c_try_link "$LINENO"
14662 then :
14663 case "$LIBEXT" in
14664 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14665 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'` ;;
14666 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14667 if ${ac_cv_lib_soname_Xcursor:+false} :
14668 then :
14669 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14670 fi ;;
14671 esac
14672 else $as_nop
14673 ac_cv_lib_soname_Xcursor=
14675 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14676 conftest$ac_exeext conftest.$ac_ext
14677 LIBS=$ac_check_soname_save_LIBS
14679 if ${ac_cv_lib_soname_Xcursor:+false} :
14680 then :
14681 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14682 printf "%s\n" "not found" >&6; }
14684 else $as_nop
14685 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
14686 printf "%s\n" "$ac_cv_lib_soname_Xcursor" >&6; }
14688 printf "%s\n" "#define SONAME_LIBXCURSOR \"$ac_cv_lib_soname_Xcursor\"" >>confdefs.h
14693 if test "x$ac_cv_lib_soname_Xcursor" = "x"
14694 then :
14695 case "x$with_xcursor" in
14696 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
14697 xno) ;;
14698 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
14699 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
14700 esac
14704 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
14705 then
14706 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
14707 printf %s "checking for -lXi... " >&6; }
14708 if test ${ac_cv_lib_soname_Xi+y}
14709 then :
14710 printf %s "(cached) " >&6
14711 else $as_nop
14712 ac_check_soname_save_LIBS=$LIBS
14713 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
14714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14715 /* end confdefs.h. */
14717 /* Override any GCC internal prototype to avoid an error.
14718 Use char because int might match the return type of a GCC
14719 builtin and then its argument prototype would still apply. */
14720 char XOpenDevice ();
14722 main (void)
14724 return XOpenDevice ();
14726 return 0;
14728 _ACEOF
14729 if ac_fn_c_try_link "$LINENO"
14730 then :
14731 case "$LIBEXT" in
14732 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14733 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'` ;;
14734 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14735 if ${ac_cv_lib_soname_Xi:+false} :
14736 then :
14737 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14738 fi ;;
14739 esac
14740 else $as_nop
14741 ac_cv_lib_soname_Xi=
14743 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14744 conftest$ac_exeext conftest.$ac_ext
14745 LIBS=$ac_check_soname_save_LIBS
14747 if ${ac_cv_lib_soname_Xi:+false} :
14748 then :
14749 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14750 printf "%s\n" "not found" >&6; }
14752 else $as_nop
14753 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
14754 printf "%s\n" "$ac_cv_lib_soname_Xi" >&6; }
14756 printf "%s\n" "#define SONAME_LIBXI \"$ac_cv_lib_soname_Xi\"" >>confdefs.h
14761 if test "x$ac_cv_lib_soname_Xi" = "x"
14762 then :
14763 case "x$with_xinput" in
14764 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
14765 xno) ;;
14766 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
14767 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
14768 esac
14772 if test "x$ac_cv_lib_soname_Xi" != x
14773 then
14774 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"
14775 then :
14776 case "x$with_xinput2" in
14777 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
14778 xno) ;;
14779 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
14780 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
14781 esac
14786 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
14787 then
14788 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
14789 printf %s "checking for XShmQueryExtension in -lXext... " >&6; }
14790 if test ${ac_cv_lib_Xext_XShmQueryExtension+y}
14791 then :
14792 printf %s "(cached) " >&6
14793 else $as_nop
14794 ac_check_lib_save_LIBS=$LIBS
14795 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14797 /* end confdefs.h. */
14799 /* Override any GCC internal prototype to avoid an error.
14800 Use char because int might match the return type of a GCC
14801 builtin and then its argument prototype would still apply. */
14802 char XShmQueryExtension ();
14804 main (void)
14806 return XShmQueryExtension ();
14808 return 0;
14810 _ACEOF
14811 if ac_fn_c_try_link "$LINENO"
14812 then :
14813 ac_cv_lib_Xext_XShmQueryExtension=yes
14814 else $as_nop
14815 ac_cv_lib_Xext_XShmQueryExtension=no
14817 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14818 conftest$ac_exeext conftest.$ac_ext
14819 LIBS=$ac_check_lib_save_LIBS
14821 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
14822 printf "%s\n" "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
14823 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
14824 then :
14826 printf "%s\n" "#define HAVE_LIBXXSHM 1" >>confdefs.h
14831 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"
14832 then :
14833 case "x$with_xshm" in
14834 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
14835 xno) ;;
14836 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
14837 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
14838 esac
14842 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
14843 then
14844 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
14845 printf %s "checking for XShapeQueryExtension in -lXext... " >&6; }
14846 if test ${ac_cv_lib_Xext_XShapeQueryExtension+y}
14847 then :
14848 printf %s "(cached) " >&6
14849 else $as_nop
14850 ac_check_lib_save_LIBS=$LIBS
14851 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14853 /* end confdefs.h. */
14855 /* Override any GCC internal prototype to avoid an error.
14856 Use char because int might match the return type of a GCC
14857 builtin and then its argument prototype would still apply. */
14858 char XShapeQueryExtension ();
14860 main (void)
14862 return XShapeQueryExtension ();
14864 return 0;
14866 _ACEOF
14867 if ac_fn_c_try_link "$LINENO"
14868 then :
14869 ac_cv_lib_Xext_XShapeQueryExtension=yes
14870 else $as_nop
14871 ac_cv_lib_Xext_XShapeQueryExtension=no
14873 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14874 conftest$ac_exeext conftest.$ac_ext
14875 LIBS=$ac_check_lib_save_LIBS
14877 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
14878 printf "%s\n" "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
14879 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
14880 then :
14882 printf "%s\n" "#define HAVE_LIBXSHAPE 1" >>confdefs.h
14887 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"
14888 then :
14889 case "x$with_xshape" in
14890 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
14891 xno) ;;
14892 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
14893 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
14894 esac
14898 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
14899 then
14900 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
14901 printf %s "checking for -lXxf86vm... " >&6; }
14902 if test ${ac_cv_lib_soname_Xxf86vm+y}
14903 then :
14904 printf %s "(cached) " >&6
14905 else $as_nop
14906 ac_check_soname_save_LIBS=$LIBS
14907 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
14908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14909 /* end confdefs.h. */
14911 /* Override any GCC internal prototype to avoid an error.
14912 Use char because int might match the return type of a GCC
14913 builtin and then its argument prototype would still apply. */
14914 char XF86VidModeQueryExtension ();
14916 main (void)
14918 return XF86VidModeQueryExtension ();
14920 return 0;
14922 _ACEOF
14923 if ac_fn_c_try_link "$LINENO"
14924 then :
14925 case "$LIBEXT" in
14926 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14927 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'` ;;
14928 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14929 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14930 then :
14931 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14932 fi ;;
14933 esac
14934 else $as_nop
14935 ac_cv_lib_soname_Xxf86vm=
14937 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14938 conftest$ac_exeext conftest.$ac_ext
14939 LIBS=$ac_check_soname_save_LIBS
14941 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14942 then :
14943 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14944 printf "%s\n" "not found" >&6; }
14946 else $as_nop
14947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
14948 printf "%s\n" "$ac_cv_lib_soname_Xxf86vm" >&6; }
14950 printf "%s\n" "#define SONAME_LIBXXF86VM \"$ac_cv_lib_soname_Xxf86vm\"" >>confdefs.h
14955 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"
14956 then :
14957 case "x$with_xxf86vm" in
14958 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
14959 xno) ;;
14960 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
14961 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
14962 esac
14966 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
14967 then
14968 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
14969 printf %s "checking for -lXrender... " >&6; }
14970 if test ${ac_cv_lib_soname_Xrender+y}
14971 then :
14972 printf %s "(cached) " >&6
14973 else $as_nop
14974 ac_check_soname_save_LIBS=$LIBS
14975 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14977 /* end confdefs.h. */
14979 /* Override any GCC internal prototype to avoid an error.
14980 Use char because int might match the return type of a GCC
14981 builtin and then its argument prototype would still apply. */
14982 char XRenderQueryExtension ();
14984 main (void)
14986 return XRenderQueryExtension ();
14988 return 0;
14990 _ACEOF
14991 if ac_fn_c_try_link "$LINENO"
14992 then :
14993 case "$LIBEXT" in
14994 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14995 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'` ;;
14996 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14997 if ${ac_cv_lib_soname_Xrender:+false} :
14998 then :
14999 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15000 fi ;;
15001 esac
15002 else $as_nop
15003 ac_cv_lib_soname_Xrender=
15005 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15006 conftest$ac_exeext conftest.$ac_ext
15007 LIBS=$ac_check_soname_save_LIBS
15009 if ${ac_cv_lib_soname_Xrender:+false} :
15010 then :
15011 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15012 printf "%s\n" "not found" >&6; }
15014 else $as_nop
15015 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
15016 printf "%s\n" "$ac_cv_lib_soname_Xrender" >&6; }
15018 printf "%s\n" "#define SONAME_LIBXRENDER \"$ac_cv_lib_soname_Xrender\"" >>confdefs.h
15020 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
15021 printf %s "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
15022 if test ${ac_cv_lib_Xrender_XRenderSetPictureTransform+y}
15023 then :
15024 printf %s "(cached) " >&6
15025 else $as_nop
15026 ac_check_lib_save_LIBS=$LIBS
15027 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15029 /* end confdefs.h. */
15031 /* Override any GCC internal prototype to avoid an error.
15032 Use char because int might match the return type of a GCC
15033 builtin and then its argument prototype would still apply. */
15034 char XRenderSetPictureTransform ();
15036 main (void)
15038 return XRenderSetPictureTransform ();
15040 return 0;
15042 _ACEOF
15043 if ac_fn_c_try_link "$LINENO"
15044 then :
15045 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
15046 else $as_nop
15047 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
15049 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15050 conftest$ac_exeext conftest.$ac_ext
15051 LIBS=$ac_check_lib_save_LIBS
15053 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
15054 printf "%s\n" "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
15055 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
15056 then :
15058 printf "%s\n" "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
15062 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
15063 printf %s "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
15064 if test ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+y}
15065 then :
15066 printf %s "(cached) " >&6
15067 else $as_nop
15068 ac_check_lib_save_LIBS=$LIBS
15069 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15071 /* end confdefs.h. */
15073 /* Override any GCC internal prototype to avoid an error.
15074 Use char because int might match the return type of a GCC
15075 builtin and then its argument prototype would still apply. */
15076 char XRenderCreateLinearGradient ();
15078 main (void)
15080 return XRenderCreateLinearGradient ();
15082 return 0;
15084 _ACEOF
15085 if ac_fn_c_try_link "$LINENO"
15086 then :
15087 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
15088 else $as_nop
15089 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
15091 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15092 conftest$ac_exeext conftest.$ac_ext
15093 LIBS=$ac_check_lib_save_LIBS
15095 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
15096 printf "%s\n" "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
15097 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
15098 then :
15100 printf "%s\n" "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
15107 if test "x$ac_cv_lib_soname_Xrender" = "x"
15108 then :
15109 case "x$with_xrender" in
15110 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
15111 xno) ;;
15112 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
15113 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
15114 esac
15118 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
15119 then
15120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15121 /* end confdefs.h. */
15122 #include <X11/Xlib.h>
15123 #include <X11/extensions/Xrandr.h>
15125 main (void)
15127 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
15129 return 0;
15131 _ACEOF
15132 if ac_fn_c_try_compile "$LINENO"
15133 then :
15134 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
15135 printf %s "checking for -lXrandr... " >&6; }
15136 if test ${ac_cv_lib_soname_Xrandr+y}
15137 then :
15138 printf %s "(cached) " >&6
15139 else $as_nop
15140 ac_check_soname_save_LIBS=$LIBS
15141 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
15142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15143 /* end confdefs.h. */
15145 /* Override any GCC internal prototype to avoid an error.
15146 Use char because int might match the return type of a GCC
15147 builtin and then its argument prototype would still apply. */
15148 char XRRQueryExtension ();
15150 main (void)
15152 return XRRQueryExtension ();
15154 return 0;
15156 _ACEOF
15157 if ac_fn_c_try_link "$LINENO"
15158 then :
15159 case "$LIBEXT" in
15160 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15161 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'` ;;
15162 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15163 if ${ac_cv_lib_soname_Xrandr:+false} :
15164 then :
15165 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15166 fi ;;
15167 esac
15168 else $as_nop
15169 ac_cv_lib_soname_Xrandr=
15171 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15172 conftest$ac_exeext conftest.$ac_ext
15173 LIBS=$ac_check_soname_save_LIBS
15175 if ${ac_cv_lib_soname_Xrandr:+false} :
15176 then :
15177 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15178 printf "%s\n" "not found" >&6; }
15180 else $as_nop
15181 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
15182 printf "%s\n" "$ac_cv_lib_soname_Xrandr" >&6; }
15184 printf "%s\n" "#define SONAME_LIBXRANDR \"$ac_cv_lib_soname_Xrandr\"" >>confdefs.h
15186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15187 /* end confdefs.h. */
15188 #include <X11/Xlib.h>
15189 #include <X11/extensions/Xrandr.h>
15191 main (void)
15193 static typeof(XRRGetProviderResources) *f; if (f) return 0;
15195 return 0;
15197 _ACEOF
15198 if ac_fn_c_try_compile "$LINENO"
15199 then :
15201 printf "%s\n" "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
15203 else $as_nop
15204 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
15206 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15209 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15211 if test "x$ac_cv_lib_soname_Xrandr" = "x"
15212 then :
15213 case "x$with_xrandr" in
15214 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
15215 xno) ;;
15216 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
15217 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
15218 esac
15222 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
15223 then
15224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15225 /* end confdefs.h. */
15226 #include <X11/Xlib.h>
15227 #include <X11/extensions/Xfixes.h>
15229 main (void)
15231 static typeof(XFixesQueryVersion) * func; if (func) return 0;
15233 return 0;
15235 _ACEOF
15236 if ac_fn_c_try_compile "$LINENO"
15237 then :
15238 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
15239 printf %s "checking for -lXfixes... " >&6; }
15240 if test ${ac_cv_lib_soname_Xfixes+y}
15241 then :
15242 printf %s "(cached) " >&6
15243 else $as_nop
15244 ac_check_soname_save_LIBS=$LIBS
15245 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
15246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15247 /* end confdefs.h. */
15249 /* Override any GCC internal prototype to avoid an error.
15250 Use char because int might match the return type of a GCC
15251 builtin and then its argument prototype would still apply. */
15252 char XFixesQueryVersion ();
15254 main (void)
15256 return XFixesQueryVersion ();
15258 return 0;
15260 _ACEOF
15261 if ac_fn_c_try_link "$LINENO"
15262 then :
15263 case "$LIBEXT" in
15264 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15265 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'` ;;
15266 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15267 if ${ac_cv_lib_soname_Xfixes:+false} :
15268 then :
15269 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15270 fi ;;
15271 esac
15272 else $as_nop
15273 ac_cv_lib_soname_Xfixes=
15275 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15276 conftest$ac_exeext conftest.$ac_ext
15277 LIBS=$ac_check_soname_save_LIBS
15279 if ${ac_cv_lib_soname_Xfixes:+false} :
15280 then :
15281 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15282 printf "%s\n" "not found" >&6; }
15284 else $as_nop
15285 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
15286 printf "%s\n" "$ac_cv_lib_soname_Xfixes" >&6; }
15288 printf "%s\n" "#define SONAME_LIBXFIXES \"$ac_cv_lib_soname_Xfixes\"" >>confdefs.h
15293 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15295 if test "x$ac_cv_lib_soname_Xfixes" = "x"
15296 then :
15297 case "x$with_xfixes" in
15298 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
15299 xno) ;;
15300 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
15301 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
15302 esac
15306 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
15307 then
15308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15309 /* end confdefs.h. */
15310 #include <X11/Xlib.h>
15311 #include <X11/extensions/Xinerama.h>
15313 main (void)
15315 static typeof(XineramaQueryScreens) * func; if (func) return 0;
15317 return 0;
15319 _ACEOF
15320 if ac_fn_c_try_compile "$LINENO"
15321 then :
15322 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
15323 printf %s "checking for -lXinerama... " >&6; }
15324 if test ${ac_cv_lib_soname_Xinerama+y}
15325 then :
15326 printf %s "(cached) " >&6
15327 else $as_nop
15328 ac_check_soname_save_LIBS=$LIBS
15329 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
15330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15331 /* end confdefs.h. */
15333 /* Override any GCC internal prototype to avoid an error.
15334 Use char because int might match the return type of a GCC
15335 builtin and then its argument prototype would still apply. */
15336 char XineramaQueryScreens ();
15338 main (void)
15340 return XineramaQueryScreens ();
15342 return 0;
15344 _ACEOF
15345 if ac_fn_c_try_link "$LINENO"
15346 then :
15347 case "$LIBEXT" in
15348 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15349 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'` ;;
15350 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15351 if ${ac_cv_lib_soname_Xinerama:+false} :
15352 then :
15353 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15354 fi ;;
15355 esac
15356 else $as_nop
15357 ac_cv_lib_soname_Xinerama=
15359 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15360 conftest$ac_exeext conftest.$ac_ext
15361 LIBS=$ac_check_soname_save_LIBS
15363 if ${ac_cv_lib_soname_Xinerama:+false} :
15364 then :
15365 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15366 printf "%s\n" "not found" >&6; }
15368 else $as_nop
15369 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
15370 printf "%s\n" "$ac_cv_lib_soname_Xinerama" >&6; }
15372 printf "%s\n" "#define SONAME_LIBXINERAMA \"$ac_cv_lib_soname_Xinerama\"" >>confdefs.h
15377 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15379 if test "x$ac_cv_lib_soname_Xinerama" = "x"
15380 then :
15381 case "x$with_xinerama" in
15382 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
15383 xno) ;;
15384 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
15385 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
15386 esac
15390 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
15391 then
15392 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
15393 printf %s "checking for -lXcomposite... " >&6; }
15394 if test ${ac_cv_lib_soname_Xcomposite+y}
15395 then :
15396 printf %s "(cached) " >&6
15397 else $as_nop
15398 ac_check_soname_save_LIBS=$LIBS
15399 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
15400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15401 /* end confdefs.h. */
15403 /* Override any GCC internal prototype to avoid an error.
15404 Use char because int might match the return type of a GCC
15405 builtin and then its argument prototype would still apply. */
15406 char XCompositeRedirectWindow ();
15408 main (void)
15410 return XCompositeRedirectWindow ();
15412 return 0;
15414 _ACEOF
15415 if ac_fn_c_try_link "$LINENO"
15416 then :
15417 case "$LIBEXT" in
15418 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15419 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'` ;;
15420 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15421 if ${ac_cv_lib_soname_Xcomposite:+false} :
15422 then :
15423 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15424 fi ;;
15425 esac
15426 else $as_nop
15427 ac_cv_lib_soname_Xcomposite=
15429 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15430 conftest$ac_exeext conftest.$ac_ext
15431 LIBS=$ac_check_soname_save_LIBS
15433 if ${ac_cv_lib_soname_Xcomposite:+false} :
15434 then :
15435 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15436 printf "%s\n" "not found" >&6; }
15438 else $as_nop
15439 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
15440 printf "%s\n" "$ac_cv_lib_soname_Xcomposite" >&6; }
15442 printf "%s\n" "#define SONAME_LIBXCOMPOSITE \"$ac_cv_lib_soname_Xcomposite\"" >>confdefs.h
15447 if test "x$ac_cv_lib_soname_Xcomposite" = "x"
15448 then :
15449 case "x$with_xcomposite" in
15450 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
15451 xno) ;;
15452 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
15453 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
15454 esac
15458 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
15459 #include <X11/Xlib.h>
15460 #endif
15462 if test "x$ac_cv_member_XICCallback_callback" = xyes
15463 then :
15465 printf "%s\n" "#define HAVE_XICCALLBACK_CALLBACK 1" >>confdefs.h
15469 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
15470 #include <X11/Xlib.h>
15471 #endif
15473 if test "x$ac_cv_member_XEvent_xcookie" = xyes
15474 then :
15476 printf "%s\n" "#define HAVE_XEVENT_XCOOKIE 1" >>confdefs.h
15483 opengl_msg=""
15484 if test "x$with_opengl" != "xno"
15485 then
15486 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15487 printf %s "checking for -lGL... " >&6; }
15488 if test ${ac_cv_lib_soname_GL+y}
15489 then :
15490 printf %s "(cached) " >&6
15491 else $as_nop
15492 ac_check_soname_save_LIBS=$LIBS
15493 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15495 /* end confdefs.h. */
15497 /* Override any GCC internal prototype to avoid an error.
15498 Use char because int might match the return type of a GCC
15499 builtin and then its argument prototype would still apply. */
15500 char glXCreateContext ();
15502 main (void)
15504 return glXCreateContext ();
15506 return 0;
15508 _ACEOF
15509 if ac_fn_c_try_link "$LINENO"
15510 then :
15511 case "$LIBEXT" in
15512 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15513 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'` ;;
15514 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15515 if ${ac_cv_lib_soname_GL:+false} :
15516 then :
15517 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15518 fi ;;
15519 esac
15520 else $as_nop
15521 ac_cv_lib_soname_GL=
15523 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15524 conftest$ac_exeext conftest.$ac_ext
15525 LIBS=$ac_check_soname_save_LIBS
15527 if ${ac_cv_lib_soname_GL:+false} :
15528 then :
15529 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15530 printf "%s\n" "not found" >&6; }
15531 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15532 printf %s "checking for -lGL... " >&6; }
15533 if test ${ac_cv_lib_soname_GL+y}
15534 then :
15535 printf %s "(cached) " >&6
15536 else $as_nop
15537 ac_check_soname_save_LIBS=$LIBS
15538 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"
15539 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15540 /* end confdefs.h. */
15542 /* Override any GCC internal prototype to avoid an error.
15543 Use char because int might match the return type of a GCC
15544 builtin and then its argument prototype would still apply. */
15545 char glXCreateContext ();
15547 main (void)
15549 return glXCreateContext ();
15551 return 0;
15553 _ACEOF
15554 if ac_fn_c_try_link "$LINENO"
15555 then :
15556 case "$LIBEXT" in
15557 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15558 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'` ;;
15559 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15560 if ${ac_cv_lib_soname_GL:+false} :
15561 then :
15562 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15563 fi ;;
15564 esac
15565 else $as_nop
15566 ac_cv_lib_soname_GL=
15568 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15569 conftest$ac_exeext conftest.$ac_ext
15570 LIBS=$ac_check_soname_save_LIBS
15572 if ${ac_cv_lib_soname_GL:+false} :
15573 then :
15574 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15575 printf "%s\n" "not found" >&6; }
15576 if test -f /usr/X11R6/lib/libGL.a
15577 then
15578 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
15579 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
15580 else
15581 opengl_msg="No OpenGL library found on this system."
15583 else $as_nop
15584 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15585 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15587 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15589 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"
15591 else $as_nop
15592 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15593 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15595 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15597 OPENGL_LIBS="-lGL"
15599 if test "x$with_osmesa" != "xno"
15600 then
15601 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
15602 printf %s "checking for -lOSMesa... " >&6; }
15603 if test ${ac_cv_lib_soname_OSMesa+y}
15604 then :
15605 printf %s "(cached) " >&6
15606 else $as_nop
15607 ac_check_soname_save_LIBS=$LIBS
15608 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15610 /* end confdefs.h. */
15612 /* Override any GCC internal prototype to avoid an error.
15613 Use char because int might match the return type of a GCC
15614 builtin and then its argument prototype would still apply. */
15615 char OSMesaGetProcAddress ();
15617 main (void)
15619 return OSMesaGetProcAddress ();
15621 return 0;
15623 _ACEOF
15624 if ac_fn_c_try_link "$LINENO"
15625 then :
15626 case "$LIBEXT" in
15627 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15628 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'` ;;
15629 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15630 if ${ac_cv_lib_soname_OSMesa:+false} :
15631 then :
15632 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15633 fi ;;
15634 esac
15635 else $as_nop
15636 ac_cv_lib_soname_OSMesa=
15638 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15639 conftest$ac_exeext conftest.$ac_ext
15640 LIBS=$ac_check_soname_save_LIBS
15642 if ${ac_cv_lib_soname_OSMesa:+false} :
15643 then :
15644 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15645 printf "%s\n" "not found" >&6; }
15647 else $as_nop
15648 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
15649 printf "%s\n" "$ac_cv_lib_soname_OSMesa" >&6; }
15651 printf "%s\n" "#define SONAME_LIBOSMESA \"$ac_cv_lib_soname_OSMesa\"" >>confdefs.h
15655 if test "x$ac_cv_lib_soname_OSMesa" = "x"
15656 then :
15657 case "x$with_osmesa" in
15658 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
15659 xno) ;;
15660 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
15661 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
15662 esac
15667 if test -n "$opengl_msg"
15668 then :
15669 case "x$with_opengl" in
15670 x) as_fn_append wine_warnings "|$opengl_msg
15671 OpenGL and Direct3D won't be supported." ;;
15672 xno) ;;
15673 *) as_fn_error $? "$opengl_msg
15674 OpenGL and Direct3D won't be supported.
15675 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
15676 esac
15680 CPPFLAGS="$ac_save_CPPFLAGS"
15681 else
15682 X_CFLAGS=""
15683 X_LIBS=""
15686 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
15687 then
15688 if test "x$X_LIBS" = "x"
15689 then :
15690 case "x$with_x" in
15691 xno) ;;
15692 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
15693 without X support, which probably isn't what you want. You will need
15694 to install ${notice_platform}development packages of Xlib at the very least.
15695 Use the --without-x option if you really want this." "$LINENO" 5 ;;
15696 esac
15697 enable_winex11_drv=${enable_winex11_drv:-no}
15699 else
15700 if test "x$X_LIBS" = "x"
15701 then :
15702 case "x$with_x" in
15703 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
15704 xno) ;;
15705 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
15706 This is an error since --with-x was requested." "$LINENO" 5 ;;
15707 esac
15708 enable_winex11_drv=${enable_winex11_drv:-no}
15712 if test "$ac_cv_header_CL_cl_h" = "yes"
15713 then
15714 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
15715 printf %s "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
15716 if test ${ac_cv_lib_OpenCL_clGetPlatformInfo+y}
15717 then :
15718 printf %s "(cached) " >&6
15719 else $as_nop
15720 ac_check_lib_save_LIBS=$LIBS
15721 LIBS="-lOpenCL $LIBS"
15722 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15723 /* end confdefs.h. */
15725 /* Override any GCC internal prototype to avoid an error.
15726 Use char because int might match the return type of a GCC
15727 builtin and then its argument prototype would still apply. */
15728 char clGetPlatformInfo ();
15730 main (void)
15732 return clGetPlatformInfo ();
15734 return 0;
15736 _ACEOF
15737 if ac_fn_c_try_link "$LINENO"
15738 then :
15739 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
15740 else $as_nop
15741 ac_cv_lib_OpenCL_clGetPlatformInfo=no
15743 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15744 conftest$ac_exeext conftest.$ac_ext
15745 LIBS=$ac_check_lib_save_LIBS
15747 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
15748 printf "%s\n" "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
15749 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
15750 then :
15751 OPENCL_LIBS="-lOpenCL"
15756 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
15757 then :
15758 case "x$with_opencl" in
15759 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
15760 xno) ;;
15761 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
15762 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
15763 esac
15764 enable_opencl=${enable_opencl:-no}
15767 if test "$ac_cv_header_pcap_pcap_h" = "yes"
15768 then
15769 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
15770 printf %s "checking for pcap_create in -lpcap... " >&6; }
15771 if test ${ac_cv_lib_pcap_pcap_create+y}
15772 then :
15773 printf %s "(cached) " >&6
15774 else $as_nop
15775 ac_check_lib_save_LIBS=$LIBS
15776 LIBS="-lpcap $LIBS"
15777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15778 /* end confdefs.h. */
15780 /* Override any GCC internal prototype to avoid an error.
15781 Use char because int might match the return type of a GCC
15782 builtin and then its argument prototype would still apply. */
15783 char pcap_create ();
15785 main (void)
15787 return pcap_create ();
15789 return 0;
15791 _ACEOF
15792 if ac_fn_c_try_link "$LINENO"
15793 then :
15794 ac_cv_lib_pcap_pcap_create=yes
15795 else $as_nop
15796 ac_cv_lib_pcap_pcap_create=no
15798 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15799 conftest$ac_exeext conftest.$ac_ext
15800 LIBS=$ac_check_lib_save_LIBS
15802 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
15803 printf "%s\n" "$ac_cv_lib_pcap_pcap_create" >&6; }
15804 if test "x$ac_cv_lib_pcap_pcap_create" = xyes
15805 then :
15806 PCAP_LIBS="-lpcap"
15811 if test "x$ac_cv_lib_pcap_pcap_create" != xyes
15812 then :
15813 case "x$with_pcap" in
15814 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
15815 xno) ;;
15816 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
15817 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
15818 esac
15819 enable_wpcap=${enable_wpcap:-no}
15822 if test "x$with_inotify" != "xno"
15823 then
15824 rm -f conftest.err
15825 if ${INOTIFY_CFLAGS:+false} :
15826 then :
15827 if test ${PKG_CONFIG+y}
15828 then :
15829 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>conftest.err`
15833 if ${INOTIFY_LIBS:+false} :
15834 then :
15835 if test ${PKG_CONFIG+y}
15836 then :
15837 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
15842 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
15843 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
15844 if test -s conftest.err; then
15845 printf %s "$as_me:${as_lineno-$LINENO}: libinotify errors: " >&5
15846 cat conftest.err >&5
15848 rm -f conftest.err
15849 ac_save_CPPFLAGS=$CPPFLAGS
15850 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
15851 ac_fn_c_check_header_compile "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
15852 if test "x$ac_cv_header_sys_inotify_h" = xyes
15853 then :
15854 printf "%s\n" "#define HAVE_SYS_INOTIFY_H 1" >>confdefs.h
15858 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
15859 printf %s "checking for inotify_add_watch in -linotify... " >&6; }
15860 if test ${ac_cv_lib_inotify_inotify_add_watch+y}
15861 then :
15862 printf %s "(cached) " >&6
15863 else $as_nop
15864 ac_check_lib_save_LIBS=$LIBS
15865 LIBS="-linotify $INOTIFY_LIBS $LIBS"
15866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15867 /* end confdefs.h. */
15869 /* Override any GCC internal prototype to avoid an error.
15870 Use char because int might match the return type of a GCC
15871 builtin and then its argument prototype would still apply. */
15872 char inotify_add_watch ();
15874 main (void)
15876 return inotify_add_watch ();
15878 return 0;
15880 _ACEOF
15881 if ac_fn_c_try_link "$LINENO"
15882 then :
15883 ac_cv_lib_inotify_inotify_add_watch=yes
15884 else $as_nop
15885 ac_cv_lib_inotify_inotify_add_watch=no
15887 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15888 conftest$ac_exeext conftest.$ac_ext
15889 LIBS=$ac_check_lib_save_LIBS
15891 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
15892 printf "%s\n" "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
15893 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes
15894 then :
15896 else $as_nop
15897 INOTIFY_LIBS=""
15900 CPPFLAGS=$ac_save_CPPFLAGS
15903 if test "$ac_cv_header_sys_inotify_h" != "yes"
15904 then :
15905 case "x$with_inotify" in
15906 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
15907 xno) ;;
15908 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
15909 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
15910 esac
15914 if test "x$with_dbus" != "xno"
15915 then
15916 rm -f conftest.err
15917 if ${DBUS_CFLAGS:+false} :
15918 then :
15919 if test ${PKG_CONFIG+y}
15920 then :
15921 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>conftest.err`
15925 if ${DBUS_LIBS:+false} :
15926 then :
15927 if test ${PKG_CONFIG+y}
15928 then :
15929 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
15934 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
15935 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
15936 if test -s conftest.err; then
15937 printf %s "$as_me:${as_lineno-$LINENO}: dbus-1 errors: " >&5
15938 cat conftest.err >&5
15940 rm -f conftest.err
15941 ac_save_CPPFLAGS=$CPPFLAGS
15942 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
15943 ac_fn_c_check_header_compile "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
15944 if test "x$ac_cv_header_dbus_dbus_h" = xyes
15945 then :
15946 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
15947 printf %s "checking for -ldbus-1... " >&6; }
15948 if test ${ac_cv_lib_soname_dbus_1+y}
15949 then :
15950 printf %s "(cached) " >&6
15951 else $as_nop
15952 ac_check_soname_save_LIBS=$LIBS
15953 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
15954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15955 /* end confdefs.h. */
15957 /* Override any GCC internal prototype to avoid an error.
15958 Use char because int might match the return type of a GCC
15959 builtin and then its argument prototype would still apply. */
15960 char dbus_connection_close ();
15962 main (void)
15964 return dbus_connection_close ();
15966 return 0;
15968 _ACEOF
15969 if ac_fn_c_try_link "$LINENO"
15970 then :
15971 case "$LIBEXT" in
15972 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15973 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'` ;;
15974 *) 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'`
15975 if ${ac_cv_lib_soname_dbus_1:+false} :
15976 then :
15977 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15978 fi ;;
15979 esac
15980 else $as_nop
15981 ac_cv_lib_soname_dbus_1=
15983 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15984 conftest$ac_exeext conftest.$ac_ext
15985 LIBS=$ac_check_soname_save_LIBS
15987 if ${ac_cv_lib_soname_dbus_1:+false} :
15988 then :
15989 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15990 printf "%s\n" "not found" >&6; }
15991 DBUS_CFLAGS=""
15992 else $as_nop
15993 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
15994 printf "%s\n" "$ac_cv_lib_soname_dbus_1" >&6; }
15996 printf "%s\n" "#define SONAME_LIBDBUS_1 \"$ac_cv_lib_soname_dbus_1\"" >>confdefs.h
16000 else $as_nop
16001 DBUS_CFLAGS=""
16004 CPPFLAGS=$ac_save_CPPFLAGS
16007 case $host_os in
16008 darwin*|macosx*) ;;
16009 *) if test "x$ac_cv_lib_soname_dbus_1" = "x"
16010 then :
16011 case "x$with_dbus" in
16012 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
16013 xno) ;;
16014 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
16015 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
16016 esac
16018 fi ;;
16019 esac
16021 if test "x$with_gnutls" != "xno"
16022 then
16023 rm -f conftest.err
16024 if ${GNUTLS_CFLAGS:+false} :
16025 then :
16026 if test ${PKG_CONFIG+y}
16027 then :
16028 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>conftest.err`
16032 if ${GNUTLS_LIBS:+false} :
16033 then :
16034 if test ${PKG_CONFIG+y}
16035 then :
16036 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
16040 GNUTLS_LIBS=${GNUTLS_LIBS:-"-lgnutls"}
16041 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
16042 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
16043 if test -s conftest.err; then
16044 printf %s "$as_me:${as_lineno-$LINENO}: gnutls errors: " >&5
16045 cat conftest.err >&5
16047 rm -f conftest.err
16048 ac_save_CPPFLAGS=$CPPFLAGS
16049 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
16050 ac_fn_c_check_header_compile "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
16051 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
16052 then :
16053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16054 /* end confdefs.h. */
16055 #include <gnutls/gnutls.h>
16056 #include <gnutls/crypto.h>
16058 main (void)
16060 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
16062 return 0;
16064 _ACEOF
16065 if ac_fn_c_try_compile "$LINENO"
16066 then :
16067 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
16068 printf %s "checking for -lgnutls... " >&6; }
16069 if test ${ac_cv_lib_soname_gnutls+y}
16070 then :
16071 printf %s "(cached) " >&6
16072 else $as_nop
16073 ac_check_soname_save_LIBS=$LIBS
16074 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
16075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16076 /* end confdefs.h. */
16078 /* Override any GCC internal prototype to avoid an error.
16079 Use char because int might match the return type of a GCC
16080 builtin and then its argument prototype would still apply. */
16081 char gnutls_global_init ();
16083 main (void)
16085 return gnutls_global_init ();
16087 return 0;
16089 _ACEOF
16090 if ac_fn_c_try_link "$LINENO"
16091 then :
16092 case "$LIBEXT" in
16093 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16094 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'` ;;
16095 *) 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'`
16096 if ${ac_cv_lib_soname_gnutls:+false} :
16097 then :
16098 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'`
16099 fi ;;
16100 esac
16101 else $as_nop
16102 ac_cv_lib_soname_gnutls=
16104 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16105 conftest$ac_exeext conftest.$ac_ext
16106 LIBS=$ac_check_soname_save_LIBS
16108 if ${ac_cv_lib_soname_gnutls:+false} :
16109 then :
16110 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16111 printf "%s\n" "not found" >&6; }
16112 GNUTLS_CFLAGS=""
16113 else $as_nop
16114 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
16115 printf "%s\n" "$ac_cv_lib_soname_gnutls" >&6; }
16117 printf "%s\n" "#define SONAME_LIBGNUTLS \"$ac_cv_lib_soname_gnutls\"" >>confdefs.h
16121 ac_wine_check_funcs_save_LIBS="$LIBS"
16122 LIBS="$LIBS $GNUTLS_LIBS"
16124 for ac_func in gnutls_cipher_init
16125 do :
16126 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
16127 if test "x$ac_cv_func_gnutls_cipher_init" = xyes
16128 then :
16129 printf "%s\n" "#define HAVE_GNUTLS_CIPHER_INIT 1" >>confdefs.h
16131 else $as_nop
16132 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
16135 done
16136 LIBS="$ac_wine_check_funcs_save_LIBS"
16138 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
16139 else $as_nop
16140 GNUTLS_CFLAGS=""
16143 CPPFLAGS=$ac_save_CPPFLAGS
16146 if test "x$ac_cv_lib_soname_gnutls" = "x"
16147 then :
16148 case "x$with_gnutls" in
16149 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
16150 xno) ;;
16151 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
16152 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
16153 esac
16157 if test "x$with_sane" != "xno"
16158 then
16159 rm -f conftest.err
16160 if ${SANE_CFLAGS:+false} :
16161 then :
16162 if test ${PKG_CONFIG+y}
16163 then :
16164 SANE_CFLAGS=`$PKG_CONFIG --cflags sane-backends 2>conftest.err`
16167 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
16168 if ${SANE_LIBS:+false} :
16169 then :
16170 if test ${PKG_CONFIG+y}
16171 then :
16172 SANE_LIBS=`$PKG_CONFIG --libs sane-backends 2>/dev/null`
16175 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
16177 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends cflags: $SANE_CFLAGS" >&5
16178 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends libs: $SANE_LIBS" >&5
16179 if test -s conftest.err; then
16180 printf %s "$as_me:${as_lineno-$LINENO}: sane-backends errors: " >&5
16181 cat conftest.err >&5
16183 rm -f conftest.err
16184 ac_save_CPPFLAGS=$CPPFLAGS
16185 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
16186 ac_fn_c_check_header_compile "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
16187 if test "x$ac_cv_header_sane_sane_h" = xyes
16188 then :
16189 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sane_init in -lsane" >&5
16190 printf %s "checking for sane_init in -lsane... " >&6; }
16191 if test ${ac_cv_lib_sane_sane_init+y}
16192 then :
16193 printf %s "(cached) " >&6
16194 else $as_nop
16195 ac_check_lib_save_LIBS=$LIBS
16196 LIBS="-lsane $SANE_LIBS $LIBS"
16197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16198 /* end confdefs.h. */
16200 /* Override any GCC internal prototype to avoid an error.
16201 Use char because int might match the return type of a GCC
16202 builtin and then its argument prototype would still apply. */
16203 char sane_init ();
16205 main (void)
16207 return sane_init ();
16209 return 0;
16211 _ACEOF
16212 if ac_fn_c_try_link "$LINENO"
16213 then :
16214 ac_cv_lib_sane_sane_init=yes
16215 else $as_nop
16216 ac_cv_lib_sane_sane_init=no
16218 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16219 conftest$ac_exeext conftest.$ac_ext
16220 LIBS=$ac_check_lib_save_LIBS
16222 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sane_sane_init" >&5
16223 printf "%s\n" "$ac_cv_lib_sane_sane_init" >&6; }
16224 if test "x$ac_cv_lib_sane_sane_init" = xyes
16225 then :
16231 CPPFLAGS=$ac_save_CPPFLAGS
16234 if test "$ac_cv_lib_sane_sane_init" != "yes"
16235 then :
16236 case "x$with_sane" in
16237 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
16238 xno) ;;
16239 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
16240 This is an error since --with-sane was requested." "$LINENO" 5 ;;
16241 esac
16242 enable_sane_ds=${enable_sane_ds:-no}
16245 if test "x$with_usb" != "xno"
16246 then
16247 rm -f conftest.err
16248 if ${USB_CFLAGS:+false} :
16249 then :
16250 if test ${PKG_CONFIG+y}
16251 then :
16252 USB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 2>conftest.err`
16256 if ${USB_LIBS:+false} :
16257 then :
16258 if test ${PKG_CONFIG+y}
16259 then :
16260 USB_LIBS=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
16264 USB_LIBS=${USB_LIBS:-"-lusb-1.0"}
16265 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
16266 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
16267 if test -s conftest.err; then
16268 printf %s "$as_me:${as_lineno-$LINENO}: libusb-1.0 errors: " >&5
16269 cat conftest.err >&5
16271 rm -f conftest.err
16272 ac_save_CPPFLAGS=$CPPFLAGS
16273 CPPFLAGS="$CPPFLAGS $USB_CFLAGS"
16274 ac_fn_c_check_header_compile "$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
16275 if test "x$ac_cv_header_libusb_h" = xyes
16276 then :
16277 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
16278 printf %s "checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
16279 if test ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+y}
16280 then :
16281 printf %s "(cached) " >&6
16282 else $as_nop
16283 ac_check_lib_save_LIBS=$LIBS
16284 LIBS="-lusb-1.0 $USB_LIBS $LIBS"
16285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16286 /* end confdefs.h. */
16288 /* Override any GCC internal prototype to avoid an error.
16289 Use char because int might match the return type of a GCC
16290 builtin and then its argument prototype would still apply. */
16291 char libusb_interrupt_event_handler ();
16293 main (void)
16295 return libusb_interrupt_event_handler ();
16297 return 0;
16299 _ACEOF
16300 if ac_fn_c_try_link "$LINENO"
16301 then :
16302 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=yes
16303 else $as_nop
16304 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=no
16306 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16307 conftest$ac_exeext conftest.$ac_ext
16308 LIBS=$ac_check_lib_save_LIBS
16310 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
16311 printf "%s\n" "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
16312 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes
16313 then :
16315 else $as_nop
16316 USB_LIBS=""
16319 else $as_nop
16320 USB_LIBS=""
16323 CPPFLAGS=$ac_save_CPPFLAGS
16326 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"
16327 then :
16328 case "x$with_usb" in
16329 x) as_fn_append wine_notices "|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
16330 xno) ;;
16331 *) as_fn_error $? "libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
16332 This is an error since --with-usb was requested." "$LINENO" 5 ;;
16333 esac
16334 enable_wineusb_sys=${enable_wineusb_sys:-no}
16337 if test "x$with_v4l2" != "xno"
16338 then
16339 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
16340 printf %s "checking for -lv4l2... " >&6; }
16341 if test ${ac_cv_lib_soname_v4l2+y}
16342 then :
16343 printf %s "(cached) " >&6
16344 else $as_nop
16345 ac_check_soname_save_LIBS=$LIBS
16346 LIBS="-lv4l2 $LIBS"
16347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16348 /* end confdefs.h. */
16350 /* Override any GCC internal prototype to avoid an error.
16351 Use char because int might match the return type of a GCC
16352 builtin and then its argument prototype would still apply. */
16353 char v4l2_open ();
16355 main (void)
16357 return v4l2_open ();
16359 return 0;
16361 _ACEOF
16362 if ac_fn_c_try_link "$LINENO"
16363 then :
16364 case "$LIBEXT" in
16365 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16366 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'` ;;
16367 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16368 if ${ac_cv_lib_soname_v4l2:+false} :
16369 then :
16370 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16371 fi ;;
16372 esac
16373 else $as_nop
16374 ac_cv_lib_soname_v4l2=
16376 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16377 conftest$ac_exeext conftest.$ac_ext
16378 LIBS=$ac_check_soname_save_LIBS
16380 if ${ac_cv_lib_soname_v4l2:+false} :
16381 then :
16382 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16383 printf "%s\n" "not found" >&6; }
16385 else $as_nop
16386 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
16387 printf "%s\n" "$ac_cv_lib_soname_v4l2" >&6; }
16389 printf "%s\n" "#define SONAME_LIBV4L2 \"$ac_cv_lib_soname_v4l2\"" >>confdefs.h
16394 if test "x$ac_cv_lib_soname_v4l2" = "x"
16395 then :
16396 case "x$with_v4l2" in
16397 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
16398 xno) ;;
16399 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
16400 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
16401 esac
16405 if test "x$with_gphoto" != "xno"
16406 then
16407 rm -f conftest.err
16408 if ${GPHOTO2_CFLAGS:+false} :
16409 then :
16410 if test ${PKG_CONFIG+y}
16411 then :
16412 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>conftest.err`
16415 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
16416 if ${GPHOTO2_LIBS:+false} :
16417 then :
16418 if test ${PKG_CONFIG+y}
16419 then :
16420 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
16423 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
16424 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
16425 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
16426 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
16427 if test -s conftest.err; then
16428 printf %s "$as_me:${as_lineno-$LINENO}: libgphoto2 errors: " >&5
16429 cat conftest.err >&5
16431 rm -f conftest.err
16432 ac_save_CPPFLAGS=$CPPFLAGS
16433 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
16434 ac_fn_c_check_header_compile "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
16435 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
16436 then :
16437 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
16438 printf %s "checking for gp_camera_new in -lgphoto2... " >&6; }
16439 if test ${ac_cv_lib_gphoto2_gp_camera_new+y}
16440 then :
16441 printf %s "(cached) " >&6
16442 else $as_nop
16443 ac_check_lib_save_LIBS=$LIBS
16444 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
16445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16446 /* end confdefs.h. */
16448 /* Override any GCC internal prototype to avoid an error.
16449 Use char because int might match the return type of a GCC
16450 builtin and then its argument prototype would still apply. */
16451 char gp_camera_new ();
16453 main (void)
16455 return gp_camera_new ();
16457 return 0;
16459 _ACEOF
16460 if ac_fn_c_try_link "$LINENO"
16461 then :
16462 ac_cv_lib_gphoto2_gp_camera_new=yes
16463 else $as_nop
16464 ac_cv_lib_gphoto2_gp_camera_new=no
16466 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16467 conftest$ac_exeext conftest.$ac_ext
16468 LIBS=$ac_check_lib_save_LIBS
16470 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
16471 printf "%s\n" "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
16472 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
16473 then :
16479 CPPFLAGS=$ac_save_CPPFLAGS
16481 rm -f conftest.err
16482 if ${GPHOTO2_PORT_CFLAGS:+false} :
16483 then :
16484 if test ${PKG_CONFIG+y}
16485 then :
16486 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>conftest.err`
16489 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
16490 if ${GPHOTO2_PORT_LIBS:+false} :
16491 then :
16492 if test ${PKG_CONFIG+y}
16493 then :
16494 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
16497 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
16498 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
16499 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
16500 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
16501 if test -s conftest.err; then
16502 printf %s "$as_me:${as_lineno-$LINENO}: libgphoto2_port errors: " >&5
16503 cat conftest.err >&5
16505 rm -f conftest.err
16506 ac_save_CPPFLAGS=$CPPFLAGS
16507 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
16508 ac_fn_c_check_header_compile "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
16509 if test "x$ac_cv_header_gphoto2_port_h" = xyes
16510 then :
16511 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
16512 printf %s "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
16513 if test ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+y}
16514 then :
16515 printf %s "(cached) " >&6
16516 else $as_nop
16517 ac_check_lib_save_LIBS=$LIBS
16518 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
16519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16520 /* end confdefs.h. */
16522 /* Override any GCC internal prototype to avoid an error.
16523 Use char because int might match the return type of a GCC
16524 builtin and then its argument prototype would still apply. */
16525 char gp_port_info_list_new ();
16527 main (void)
16529 return gp_port_info_list_new ();
16531 return 0;
16533 _ACEOF
16534 if ac_fn_c_try_link "$LINENO"
16535 then :
16536 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
16537 else $as_nop
16538 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
16540 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16541 conftest$ac_exeext conftest.$ac_ext
16542 LIBS=$ac_check_lib_save_LIBS
16544 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
16545 printf "%s\n" "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
16546 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
16547 then :
16549 printf "%s\n" "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
16551 else $as_nop
16552 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
16555 else $as_nop
16556 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
16559 CPPFLAGS=$ac_save_CPPFLAGS
16562 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"
16563 then :
16564 case "x$with_gphoto" in
16565 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
16566 xno) ;;
16567 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
16568 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16569 esac
16570 enable_gphoto2_ds=${enable_gphoto2_ds:-no}
16572 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"
16573 then :
16574 case "x$with_gphoto" in
16575 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
16576 xno) ;;
16577 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
16578 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16579 esac
16584 if test "$ac_cv_header_resolv_h" = "yes"
16585 then
16586 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
16587 printf %s "checking for resolver library... " >&6; }
16588 if test ${ac_cv_have_resolv+y}
16589 then :
16590 printf %s "(cached) " >&6
16591 else $as_nop
16592 ac_save_LIBS="$LIBS"
16593 for lib in '' -lresolv
16595 LIBS="$lib $ac_save_LIBS"
16596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16597 /* end confdefs.h. */
16598 #ifdef HAVE_NETINET_IN_H
16599 #include <netinet/in.h>
16600 #endif
16601 #include <resolv.h>
16603 main (void)
16605 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0); ns_initparse(0,0,0)
16607 return 0;
16609 _ACEOF
16610 if ac_fn_c_try_link "$LINENO"
16611 then :
16612 ac_cv_have_resolv=${lib:-"none required"}
16613 else $as_nop
16614 ac_cv_have_resolv="not found"
16616 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16617 conftest$ac_exeext conftest.$ac_ext
16618 test "x$ac_cv_have_resolv" = "xnot found" || break
16619 done
16620 LIBS="$ac_save_LIBS"
16622 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
16623 printf "%s\n" "$ac_cv_have_resolv" >&6; }
16625 case "$ac_cv_have_resolv" in
16626 "not found") ;;
16627 "none required")
16629 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16632 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16634 RESOLV_LIBS=$ac_cv_have_resolv
16636 esac
16638 if test "x$ac_cv_have_resolv" != "xnot found"
16639 then
16640 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
16641 printf %s "checking for res_getservers... " >&6; }
16642 if test ${ac_cv_have_res_getservers+y}
16643 then :
16644 printf %s "(cached) " >&6
16645 else $as_nop
16646 ac_save_LIBS="$LIBS"
16647 LIBS="$RESOLV_LIBS $LIBS"
16648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16649 /* end confdefs.h. */
16650 #include <resolv.h>
16652 main (void)
16654 res_getservers(NULL, NULL, 0);
16656 return 0;
16658 _ACEOF
16659 if ac_fn_c_try_link "$LINENO"
16660 then :
16661 ac_cv_have_res_getservers=yes
16662 else $as_nop
16663 ac_cv_have_res_getservers=no
16665 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16666 conftest$ac_exeext conftest.$ac_ext
16667 LIBS="$ac_save_LIBS"
16669 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
16670 printf "%s\n" "$ac_cv_have_res_getservers" >&6; }
16671 if test "$ac_cv_have_res_getservers" = "yes"
16672 then
16674 printf "%s\n" "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
16680 if test "x$with_freetype" != "xno"
16681 then
16682 rm -f conftest.err
16683 if ${FREETYPE_CFLAGS:+false} :
16684 then :
16685 if test ${PKG_CONFIG+y}
16686 then :
16687 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>conftest.err`
16690 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
16691 if ${FREETYPE_LIBS:+false} :
16692 then :
16693 if test ${PKG_CONFIG+y}
16694 then :
16695 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
16698 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
16699 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
16700 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
16701 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
16702 if test -s conftest.err; then
16703 printf %s "$as_me:${as_lineno-$LINENO}: freetype2 errors: " >&5
16704 cat conftest.err >&5
16706 rm -f conftest.err
16707 ac_save_CPPFLAGS=$CPPFLAGS
16708 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
16709 ac_fn_c_check_header_compile "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
16710 if test "x$ac_cv_header_ft2build_h" = xyes
16711 then :
16712 printf "%s\n" "#define HAVE_FT2BUILD_H 1" >>confdefs.h
16716 if test "$ac_cv_header_ft2build_h" = "yes"
16717 then
16718 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
16719 printf %s "checking for -lfreetype... " >&6; }
16720 if test ${ac_cv_lib_soname_freetype+y}
16721 then :
16722 printf %s "(cached) " >&6
16723 else $as_nop
16724 ac_check_soname_save_LIBS=$LIBS
16725 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
16726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16727 /* end confdefs.h. */
16729 /* Override any GCC internal prototype to avoid an error.
16730 Use char because int might match the return type of a GCC
16731 builtin and then its argument prototype would still apply. */
16732 char FT_Init_FreeType ();
16734 main (void)
16736 return FT_Init_FreeType ();
16738 return 0;
16740 _ACEOF
16741 if ac_fn_c_try_link "$LINENO"
16742 then :
16743 case "$LIBEXT" in
16744 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16745 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'` ;;
16746 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16747 if ${ac_cv_lib_soname_freetype:+false} :
16748 then :
16749 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16750 fi ;;
16751 esac
16752 else $as_nop
16753 ac_cv_lib_soname_freetype=
16755 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16756 conftest$ac_exeext conftest.$ac_ext
16757 LIBS=$ac_check_soname_save_LIBS
16759 if ${ac_cv_lib_soname_freetype:+false} :
16760 then :
16761 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16762 printf "%s\n" "not found" >&6; }
16763 FREETYPE_LIBS=""
16764 else $as_nop
16765 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
16766 printf "%s\n" "$ac_cv_lib_soname_freetype" >&6; }
16768 printf "%s\n" "#define SONAME_LIBFREETYPE \"$ac_cv_lib_soname_freetype\"" >>confdefs.h
16771 printf "%s\n" "#define HAVE_FREETYPE 1" >>confdefs.h
16773 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
16774 #include FT_MODULE_H
16776 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
16777 then :
16779 printf "%s\n" "#define HAVE_FT_TRUETYPEENGINETYPE 1" >>confdefs.h
16785 else
16786 FREETYPE_CFLAGS=""
16787 FREETYPE_LIBS=""
16789 CPPFLAGS=$ac_save_CPPFLAGS
16792 if test "x$ac_cv_lib_soname_freetype" = x
16793 then :
16794 case "x$with_freetype" in
16795 xno) ;;
16796 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
16797 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
16798 esac
16799 enable_fonts=${enable_fonts:-no}
16802 ac_wine_check_funcs_save_LIBS="$LIBS"
16803 LIBS="$LIBS $PTHREAD_LIBS"
16804 ac_fn_c_check_func "$LINENO" "pthread_getthreadid_np" "ac_cv_func_pthread_getthreadid_np"
16805 if test "x$ac_cv_func_pthread_getthreadid_np" = xyes
16806 then :
16807 printf "%s\n" "#define HAVE_PTHREAD_GETTHREADID_NP 1" >>confdefs.h
16811 LIBS="$ac_wine_check_funcs_save_LIBS"
16813 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
16814 then
16815 if test "$ac_cv_header_gettext_po_h" = "yes"
16816 then
16817 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
16818 printf %s "checking for po_message_msgctxt in -lgettextpo... " >&6; }
16819 if test ${ac_cv_lib_gettextpo_po_message_msgctxt+y}
16820 then :
16821 printf %s "(cached) " >&6
16822 else $as_nop
16823 ac_check_lib_save_LIBS=$LIBS
16824 LIBS="-lgettextpo $LIBS"
16825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16826 /* end confdefs.h. */
16828 /* Override any GCC internal prototype to avoid an error.
16829 Use char because int might match the return type of a GCC
16830 builtin and then its argument prototype would still apply. */
16831 char po_message_msgctxt ();
16833 main (void)
16835 return po_message_msgctxt ();
16837 return 0;
16839 _ACEOF
16840 if ac_fn_c_try_link "$LINENO"
16841 then :
16842 ac_cv_lib_gettextpo_po_message_msgctxt=yes
16843 else $as_nop
16844 ac_cv_lib_gettextpo_po_message_msgctxt=no
16846 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16847 conftest$ac_exeext conftest.$ac_ext
16848 LIBS=$ac_check_lib_save_LIBS
16850 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
16851 printf "%s\n" "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
16852 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
16853 then :
16855 printf "%s\n" "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
16857 GETTEXTPO_LIBS="-lgettextpo"
16862 if test "x$GETTEXTPO_LIBS" = "x"
16863 then :
16864 case "x$with_gettextpo" in
16865 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
16866 xno) ;;
16867 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
16868 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16869 esac
16872 if test "$srcdir" != .
16873 then :
16874 case "x$with_gettextpo" in
16875 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
16876 xno) ;;
16877 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
16878 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16879 esac
16884 if test "x$with_pulse" != "xno";
16885 then
16886 rm -f conftest.err
16887 if ${PULSE_CFLAGS:+false} :
16888 then :
16889 if test ${PKG_CONFIG+y}
16890 then :
16891 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>conftest.err`
16895 if ${PULSE_LIBS:+false} :
16896 then :
16897 if test ${PKG_CONFIG+y}
16898 then :
16899 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
16904 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
16905 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
16906 if test -s conftest.err; then
16907 printf %s "$as_me:${as_lineno-$LINENO}: libpulse errors: " >&5
16908 cat conftest.err >&5
16910 rm -f conftest.err
16911 ac_save_CPPFLAGS=$CPPFLAGS
16912 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
16913 for ac_header in pulse/pulseaudio.h
16914 do :
16915 ac_fn_c_check_header_compile "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
16916 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes
16917 then :
16918 printf "%s\n" "#define HAVE_PULSE_PULSEAUDIO_H 1" >>confdefs.h
16919 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
16920 printf %s "checking for pa_stream_is_corked in -lpulse... " >&6; }
16921 if test ${ac_cv_lib_pulse_pa_stream_is_corked+y}
16922 then :
16923 printf %s "(cached) " >&6
16924 else $as_nop
16925 ac_check_lib_save_LIBS=$LIBS
16926 LIBS="-lpulse $PULSE_LIBS $LIBS"
16927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16928 /* end confdefs.h. */
16930 /* Override any GCC internal prototype to avoid an error.
16931 Use char because int might match the return type of a GCC
16932 builtin and then its argument prototype would still apply. */
16933 char pa_stream_is_corked ();
16935 main (void)
16937 return pa_stream_is_corked ();
16939 return 0;
16941 _ACEOF
16942 if ac_fn_c_try_link "$LINENO"
16943 then :
16944 ac_cv_lib_pulse_pa_stream_is_corked=yes
16945 else $as_nop
16946 ac_cv_lib_pulse_pa_stream_is_corked=no
16948 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16949 conftest$ac_exeext conftest.$ac_ext
16950 LIBS=$ac_check_lib_save_LIBS
16952 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
16953 printf "%s\n" "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
16954 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes
16955 then :
16957 else $as_nop
16958 PULSE_LIBS=""
16961 else $as_nop
16962 PULSE_LIBS=""
16965 done
16966 CPPFLAGS=$ac_save_CPPFLAGS
16969 if test -z "$PULSE_LIBS"
16970 then :
16971 case "x$with_pulse" in
16972 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
16973 xno) ;;
16974 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
16975 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
16976 esac
16977 enable_winepulse_drv=${enable_winepulse_drv:-no}
16980 if test "x$with_gstreamer" != "xno"
16981 then
16982 rm -f conftest.err
16983 if ${GSTREAMER_CFLAGS:+false} :
16984 then :
16985 if test ${PKG_CONFIG+y}
16986 then :
16987 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>conftest.err`
16991 if ${GSTREAMER_LIBS:+false} :
16992 then :
16993 if test ${PKG_CONFIG+y}
16994 then :
16995 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
17000 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
17001 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
17002 if test -s conftest.err; then
17003 printf %s "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 errors: " >&5
17004 cat conftest.err >&5
17006 rm -f conftest.err
17007 ac_save_CPPFLAGS=$CPPFLAGS
17008 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
17009 ac_fn_c_check_header_compile "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
17010 if test "x$ac_cv_header_gst_gst_h" = xyes
17011 then :
17012 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
17013 printf %s "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
17014 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17015 /* end confdefs.h. */
17016 #include <gst/gst.h>
17018 main (void)
17020 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
17022 return 0;
17024 _ACEOF
17025 if ac_fn_c_try_compile "$LINENO"
17026 then :
17027 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
17028 printf "%s\n" "yes" >&6; }
17029 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
17030 printf %s "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
17031 if test ${ac_cv_lib_gstreamer_1_0_gst_pad_new+y}
17032 then :
17033 printf %s "(cached) " >&6
17034 else $as_nop
17035 ac_check_lib_save_LIBS=$LIBS
17036 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
17037 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17038 /* end confdefs.h. */
17040 /* Override any GCC internal prototype to avoid an error.
17041 Use char because int might match the return type of a GCC
17042 builtin and then its argument prototype would still apply. */
17043 char gst_pad_new ();
17045 main (void)
17047 return gst_pad_new ();
17049 return 0;
17051 _ACEOF
17052 if ac_fn_c_try_link "$LINENO"
17053 then :
17054 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
17055 else $as_nop
17056 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
17058 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17059 conftest$ac_exeext conftest.$ac_ext
17060 LIBS=$ac_check_lib_save_LIBS
17062 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
17063 printf "%s\n" "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
17064 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes
17065 then :
17069 else $as_nop
17070 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17071 printf "%s\n" "no" >&6; }
17072 ac_glib2_broken=yes
17073 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
17075 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17078 CPPFLAGS=$ac_save_CPPFLAGS
17081 if test "x$ac_glib2_broken" != xyes -a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes
17082 then :
17083 case "x$with_gstreamer" in
17084 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
17085 xno) ;;
17086 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
17087 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
17088 esac
17089 enable_winegstreamer=${enable_winegstreamer:-no}
17092 ALSA_LIBS=""
17094 if test "x$with_alsa" != "xno"
17095 then
17096 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
17097 printf %s "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
17098 if test ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+y}
17099 then :
17100 printf %s "(cached) " >&6
17101 else $as_nop
17102 ac_check_lib_save_LIBS=$LIBS
17103 LIBS="-lasound $LIBS"
17104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17105 /* end confdefs.h. */
17107 /* Override any GCC internal prototype to avoid an error.
17108 Use char because int might match the return type of a GCC
17109 builtin and then its argument prototype would still apply. */
17110 char snd_pcm_hw_params_get_access_mask ();
17112 main (void)
17114 return snd_pcm_hw_params_get_access_mask ();
17116 return 0;
17118 _ACEOF
17119 if ac_fn_c_try_link "$LINENO"
17120 then :
17121 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
17122 else $as_nop
17123 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
17125 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17126 conftest$ac_exeext conftest.$ac_ext
17127 LIBS=$ac_check_lib_save_LIBS
17129 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
17130 printf "%s\n" "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
17131 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
17132 then :
17133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17134 /* end confdefs.h. */
17135 #include <alsa/asoundlib.h>
17137 main (void)
17139 snd_pcm_hw_params_get_access_mask(NULL, NULL)
17141 return 0;
17143 _ACEOF
17144 if ac_fn_c_try_compile "$LINENO"
17145 then :
17146 ALSA_LIBS="-lasound"
17148 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17152 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
17154 if test "x$with_oss" != xno
17155 then
17156 ac_save_CPPFLAGS="$CPPFLAGS"
17157 if test -f /etc/oss.conf
17158 then
17159 . /etc/oss.conf
17161 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
17162 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
17163 ac_fn_c_check_header_compile "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
17164 if test "x$ac_cv_header_sys_soundcard_h" = xyes
17165 then :
17166 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
17168 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
17169 then :
17171 printf "%s\n" "#define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1" >>confdefs.h
17173 OSS4_CFLAGS="$ac_oss_incl"
17175 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
17176 printf %s "checking for _oss_ioctl in -lossaudio... " >&6; }
17177 if test ${ac_cv_lib_ossaudio__oss_ioctl+y}
17178 then :
17179 printf %s "(cached) " >&6
17180 else $as_nop
17181 ac_check_lib_save_LIBS=$LIBS
17182 LIBS="-lossaudio $LIBS"
17183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17184 /* end confdefs.h. */
17186 /* Override any GCC internal prototype to avoid an error.
17187 Use char because int might match the return type of a GCC
17188 builtin and then its argument prototype would still apply. */
17189 char _oss_ioctl ();
17191 main (void)
17193 return _oss_ioctl ();
17195 return 0;
17197 _ACEOF
17198 if ac_fn_c_try_link "$LINENO"
17199 then :
17200 ac_cv_lib_ossaudio__oss_ioctl=yes
17201 else $as_nop
17202 ac_cv_lib_ossaudio__oss_ioctl=no
17204 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17205 conftest$ac_exeext conftest.$ac_ext
17206 LIBS=$ac_check_lib_save_LIBS
17208 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
17209 printf "%s\n" "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
17210 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
17211 then :
17212 OSS4_LIBS="-lossaudio"
17220 CPPFLAGS="$ac_save_CPPFLAGS"
17222 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
17223 then :
17224 case "x$with_oss" in
17225 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
17226 xno) ;;
17227 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
17228 This is an error since --with-oss was requested." "$LINENO" 5 ;;
17229 esac
17230 enable_wineoss_drv=${enable_wineoss_drv:-no}
17233 if test "x$with_udev" != "xno"
17234 then
17235 rm -f conftest.err
17236 if ${UDEV_CFLAGS:+false} :
17237 then :
17238 if test ${PKG_CONFIG+y}
17239 then :
17240 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>conftest.err`
17244 if ${UDEV_LIBS:+false} :
17245 then :
17246 if test ${PKG_CONFIG+y}
17247 then :
17248 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
17252 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
17253 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
17254 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
17255 if test -s conftest.err; then
17256 printf %s "$as_me:${as_lineno-$LINENO}: libudev errors: " >&5
17257 cat conftest.err >&5
17259 rm -f conftest.err
17260 ac_save_CPPFLAGS=$CPPFLAGS
17261 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
17262 for ac_header in libudev.h
17263 do :
17264 ac_fn_c_check_header_compile "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
17265 if test "x$ac_cv_header_libudev_h" = xyes
17266 then :
17267 printf "%s\n" "#define HAVE_LIBUDEV_H 1" >>confdefs.h
17268 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
17269 printf %s "checking for udev_new in -ludev... " >&6; }
17270 if test ${ac_cv_lib_udev_udev_new+y}
17271 then :
17272 printf %s "(cached) " >&6
17273 else $as_nop
17274 ac_check_lib_save_LIBS=$LIBS
17275 LIBS="-ludev $UDEV_LIBS $LIBS"
17276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17277 /* end confdefs.h. */
17279 /* Override any GCC internal prototype to avoid an error.
17280 Use char because int might match the return type of a GCC
17281 builtin and then its argument prototype would still apply. */
17282 char udev_new ();
17284 main (void)
17286 return udev_new ();
17288 return 0;
17290 _ACEOF
17291 if ac_fn_c_try_link "$LINENO"
17292 then :
17293 ac_cv_lib_udev_udev_new=yes
17294 else $as_nop
17295 ac_cv_lib_udev_udev_new=no
17297 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17298 conftest$ac_exeext conftest.$ac_ext
17299 LIBS=$ac_check_lib_save_LIBS
17301 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
17302 printf "%s\n" "$ac_cv_lib_udev_udev_new" >&6; }
17303 if test "x$ac_cv_lib_udev_udev_new" = xyes
17304 then :
17306 printf "%s\n" "#define HAVE_UDEV 1" >>confdefs.h
17308 else $as_nop
17309 UDEV_LIBS=""
17312 else $as_nop
17313 UDEV_LIBS=""
17316 done
17317 CPPFLAGS=$ac_save_CPPFLAGS
17320 if test "x$UDEV_LIBS" = "x"
17321 then :
17322 case "x$with_udev" in
17323 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
17324 xno) ;;
17325 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
17326 This is an error since --with-udev was requested." "$LINENO" 5 ;;
17327 esac
17331 if test "x$with_unwind" != xno
17332 then
17333 rm -f conftest.err
17334 if ${UNWIND_CFLAGS:+false} :
17335 then :
17336 if test ${PKG_CONFIG+y}
17337 then :
17338 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>conftest.err`
17342 if ${UNWIND_LIBS:+false} :
17343 then :
17344 if test ${PKG_CONFIG+y}
17345 then :
17346 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
17350 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
17351 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
17352 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
17353 if test -s conftest.err; then
17354 printf %s "$as_me:${as_lineno-$LINENO}: libunwind errors: " >&5
17355 cat conftest.err >&5
17357 rm -f conftest.err
17358 ac_save_CPPFLAGS=$CPPFLAGS
17359 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
17360 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
17361 printf %s "checking for unw_step... " >&6; }
17362 if test ${wine_cv_have_unw_step+y}
17363 then :
17364 printf %s "(cached) " >&6
17365 else $as_nop
17366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17367 /* end confdefs.h. */
17368 #define UNW_LOCAL_ONLY
17369 #include <libunwind.h>
17371 main (void)
17373 unw_cursor_t cursor; unw_step( &cursor );
17375 return 0;
17377 _ACEOF
17378 if ac_fn_c_try_link "$LINENO"
17379 then :
17380 wine_cv_have_unw_step="yes"
17381 else $as_nop
17382 wine_cv_have_unw_step="no"
17384 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17385 conftest$ac_exeext conftest.$ac_ext
17387 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
17388 printf "%s\n" "$wine_cv_have_unw_step" >&6; }
17389 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
17390 then
17391 save_libs=$LIBS
17392 UNWIND_LIBS="-static-libgcc $UNWIND_LIBS"
17393 LIBS="$UNWIND_LIBS $LIBS"
17394 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
17395 printf %s "checking for unw_step in libunwind... " >&6; }
17396 if test ${wine_cv_have_libunwind_unw_step+y}
17397 then :
17398 printf %s "(cached) " >&6
17399 else $as_nop
17400 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17401 /* end confdefs.h. */
17402 #define UNW_LOCAL_ONLY
17403 #include <libunwind.h>
17405 main (void)
17407 unw_cursor_t cursor; unw_step( &cursor );
17409 return 0;
17411 _ACEOF
17412 if ac_fn_c_try_link "$LINENO"
17413 then :
17414 wine_cv_have_libunwind_unw_step="yes"
17415 else $as_nop
17416 wine_cv_have_libunwind_unw_step="no"
17418 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17419 conftest$ac_exeext conftest.$ac_ext
17421 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
17422 printf "%s\n" "$wine_cv_have_libunwind_unw_step" >&6; }
17423 LIBS=$save_libs
17425 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
17426 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
17427 then
17429 printf "%s\n" "#define HAVE_LIBUNWIND 1" >>confdefs.h
17432 CPPFLAGS=$ac_save_CPPFLAGS
17435 case $host in
17436 aarch64*|*-darwin*)
17437 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono
17438 then :
17439 case "x$with_unwind" in
17440 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
17441 xno) ;;
17442 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
17443 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
17444 esac
17446 fi ;;
17447 esac
17449 if test "x$with_sdl" != "xno"
17450 then
17451 rm -f conftest.err
17452 if ${SDL2_CFLAGS:+false} :
17453 then :
17454 if test ${PKG_CONFIG+y}
17455 then :
17456 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>conftest.err`
17460 if ${SDL2_LIBS:+false} :
17461 then :
17462 if test ${PKG_CONFIG+y}
17463 then :
17464 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
17468 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
17469 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
17470 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
17471 if test -s conftest.err; then
17472 printf %s "$as_me:${as_lineno-$LINENO}: sdl2 errors: " >&5
17473 cat conftest.err >&5
17475 rm -f conftest.err
17476 ac_save_CPPFLAGS=$CPPFLAGS
17477 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
17478 for ac_header in SDL.h
17479 do :
17480 ac_fn_c_check_header_compile "$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
17481 if test "x$ac_cv_header_SDL_h" = xyes
17482 then :
17483 printf "%s\n" "#define HAVE_SDL_H 1" >>confdefs.h
17484 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
17485 printf %s "checking for -lSDL2... " >&6; }
17486 if test ${ac_cv_lib_soname_SDL2+y}
17487 then :
17488 printf %s "(cached) " >&6
17489 else $as_nop
17490 ac_check_soname_save_LIBS=$LIBS
17491 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
17492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17493 /* end confdefs.h. */
17495 /* Override any GCC internal prototype to avoid an error.
17496 Use char because int might match the return type of a GCC
17497 builtin and then its argument prototype would still apply. */
17498 char SDL_Init ();
17500 main (void)
17502 return SDL_Init ();
17504 return 0;
17506 _ACEOF
17507 if ac_fn_c_try_link "$LINENO"
17508 then :
17509 case "$LIBEXT" in
17510 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17511 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'` ;;
17512 *) 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'`
17513 if ${ac_cv_lib_soname_SDL2:+false} :
17514 then :
17515 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17516 fi ;;
17517 esac
17518 else $as_nop
17519 ac_cv_lib_soname_SDL2=
17521 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17522 conftest$ac_exeext conftest.$ac_ext
17523 LIBS=$ac_check_soname_save_LIBS
17525 if ${ac_cv_lib_soname_SDL2:+false} :
17526 then :
17527 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17528 printf "%s\n" "not found" >&6; }
17530 else $as_nop
17531 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
17532 printf "%s\n" "$ac_cv_lib_soname_SDL2" >&6; }
17534 printf "%s\n" "#define SONAME_LIBSDL2 \"$ac_cv_lib_soname_SDL2\"" >>confdefs.h
17540 done
17541 CPPFLAGS=$ac_save_CPPFLAGS
17544 if test "x$ac_cv_lib_soname_SDL2" = "x"
17545 then :
17546 case "x$with_sdl" in
17547 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
17548 xno) ;;
17549 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
17550 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
17551 esac
17555 if test "x$with_capi" != "xno"
17556 then
17557 rm -f conftest.err
17558 if ${CAPI20_CFLAGS:+false} :
17559 then :
17560 if test ${PKG_CONFIG+y}
17561 then :
17562 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>conftest.err`
17566 if ${CAPI20_LIBS:+false} :
17567 then :
17568 if test ${PKG_CONFIG+y}
17569 then :
17570 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
17575 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
17576 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
17577 if test -s conftest.err; then
17578 printf %s "$as_me:${as_lineno-$LINENO}: capi20 errors: " >&5
17579 cat conftest.err >&5
17581 rm -f conftest.err
17582 ac_save_CPPFLAGS=$CPPFLAGS
17583 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
17584 ac_fn_c_check_header_compile "$LINENO" "capi20.h" "ac_cv_header_capi20_h" "#define __user
17586 if test "x$ac_cv_header_capi20_h" = xyes
17587 then :
17588 printf "%s\n" "#define HAVE_CAPI20_H 1" >>confdefs.h
17591 ac_fn_c_check_header_compile "$LINENO" "linux/capi.h" "ac_cv_header_linux_capi_h" "#define __user
17593 if test "x$ac_cv_header_linux_capi_h" = xyes
17594 then :
17595 printf "%s\n" "#define HAVE_LINUX_CAPI_H 1" >>confdefs.h
17599 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
17600 then
17601 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for capi20_register in -lcapi20" >&5
17602 printf %s "checking for capi20_register in -lcapi20... " >&6; }
17603 if test ${ac_cv_lib_capi20_capi20_register+y}
17604 then :
17605 printf %s "(cached) " >&6
17606 else $as_nop
17607 ac_check_lib_save_LIBS=$LIBS
17608 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
17609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17610 /* end confdefs.h. */
17612 /* Override any GCC internal prototype to avoid an error.
17613 Use char because int might match the return type of a GCC
17614 builtin and then its argument prototype would still apply. */
17615 char capi20_register ();
17617 main (void)
17619 return capi20_register ();
17621 return 0;
17623 _ACEOF
17624 if ac_fn_c_try_link "$LINENO"
17625 then :
17626 ac_cv_lib_capi20_capi20_register=yes
17627 else $as_nop
17628 ac_cv_lib_capi20_capi20_register=no
17630 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17631 conftest$ac_exeext conftest.$ac_ext
17632 LIBS=$ac_check_lib_save_LIBS
17634 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_capi20_capi20_register" >&5
17635 printf "%s\n" "$ac_cv_lib_capi20_capi20_register" >&6; }
17636 if test "x$ac_cv_lib_capi20_capi20_register" = xyes
17637 then :
17639 else $as_nop
17640 CAPI20_LIBS=""
17644 CPPFLAGS=$ac_save_CPPFLAGS
17647 if test "x$ac_cv_lib_capi20_capi20_register" != xyes
17648 then :
17649 case "x$with_capi" in
17650 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
17651 xno) ;;
17652 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
17653 This is an error since --with-capi was requested." "$LINENO" 5 ;;
17654 esac
17655 enable_capi2032=${enable_capi2032:-no}
17658 if test "x$with_cups" != "xno"
17659 then
17660 rm -f conftest.err
17661 if ${CUPS_CFLAGS:+false} :
17662 then :
17663 if test ${PKG_CONFIG+y}
17664 then :
17665 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>conftest.err`
17668 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
17669 if ${CUPS_LIBS:+false} :
17670 then :
17671 if test ${PKG_CONFIG+y}
17672 then :
17673 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
17676 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
17677 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
17678 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
17679 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
17680 if test -s conftest.err; then
17681 printf %s "$as_me:${as_lineno-$LINENO}: cups errors: " >&5
17682 cat conftest.err >&5
17684 rm -f conftest.err
17685 ac_save_CPPFLAGS=$CPPFLAGS
17686 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
17687 ac_fn_c_check_header_compile "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
17688 if test "x$ac_cv_header_cups_cups_h" = xyes
17689 then :
17690 printf "%s\n" "#define HAVE_CUPS_CUPS_H 1" >>confdefs.h
17693 ac_fn_c_check_header_compile "$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
17694 if test "x$ac_cv_header_cups_ppd_h" = xyes
17695 then :
17696 printf "%s\n" "#define HAVE_CUPS_PPD_H 1" >>confdefs.h
17700 if test "$ac_cv_header_cups_cups_h" = "yes"
17701 then
17702 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
17703 printf %s "checking for -lcups... " >&6; }
17704 if test ${ac_cv_lib_soname_cups+y}
17705 then :
17706 printf %s "(cached) " >&6
17707 else $as_nop
17708 ac_check_soname_save_LIBS=$LIBS
17709 LIBS="-lcups $CUPS_LIBS $LIBS"
17710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17711 /* end confdefs.h. */
17713 /* Override any GCC internal prototype to avoid an error.
17714 Use char because int might match the return type of a GCC
17715 builtin and then its argument prototype would still apply. */
17716 char cupsGetDefault ();
17718 main (void)
17720 return cupsGetDefault ();
17722 return 0;
17724 _ACEOF
17725 if ac_fn_c_try_link "$LINENO"
17726 then :
17727 case "$LIBEXT" in
17728 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17729 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'` ;;
17730 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17731 if ${ac_cv_lib_soname_cups:+false} :
17732 then :
17733 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17734 fi ;;
17735 esac
17736 else $as_nop
17737 ac_cv_lib_soname_cups=
17739 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17740 conftest$ac_exeext conftest.$ac_ext
17741 LIBS=$ac_check_soname_save_LIBS
17743 if ${ac_cv_lib_soname_cups:+false} :
17744 then :
17745 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17746 printf "%s\n" "not found" >&6; }
17747 CUPS_LIBS=""
17748 else $as_nop
17749 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
17750 printf "%s\n" "$ac_cv_lib_soname_cups" >&6; }
17752 printf "%s\n" "#define SONAME_LIBCUPS \"$ac_cv_lib_soname_cups\"" >>confdefs.h
17756 else
17757 CUPS_CFLAGS=""
17758 CUPS_LIBS=""
17760 CPPFLAGS=$ac_save_CPPFLAGS
17763 if test "x$ac_cv_lib_soname_cups" = "x"
17764 then :
17765 case "x$with_cups" in
17766 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
17767 xno) ;;
17768 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
17769 This is an error since --with-cups was requested." "$LINENO" 5 ;;
17770 esac
17774 if test "x$with_fontconfig" != "xno"
17775 then
17776 rm -f conftest.err
17777 if ${FONTCONFIG_CFLAGS:+false} :
17778 then :
17779 if test ${PKG_CONFIG+y}
17780 then :
17781 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>conftest.err`
17784 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
17785 if ${FONTCONFIG_LIBS:+false} :
17786 then :
17787 if test ${PKG_CONFIG+y}
17788 then :
17789 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
17792 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
17794 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
17795 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
17796 if test -s conftest.err; then
17797 printf %s "$as_me:${as_lineno-$LINENO}: fontconfig errors: " >&5
17798 cat conftest.err >&5
17800 rm -f conftest.err
17801 ac_save_CPPFLAGS=$CPPFLAGS
17802 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
17803 ac_fn_c_check_header_compile "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
17804 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
17805 then :
17806 printf "%s\n" "#define HAVE_FONTCONFIG_FONTCONFIG_H 1" >>confdefs.h
17810 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
17811 then
17812 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
17813 printf %s "checking for -lfontconfig... " >&6; }
17814 if test ${ac_cv_lib_soname_fontconfig+y}
17815 then :
17816 printf %s "(cached) " >&6
17817 else $as_nop
17818 ac_check_soname_save_LIBS=$LIBS
17819 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
17820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17821 /* end confdefs.h. */
17823 /* Override any GCC internal prototype to avoid an error.
17824 Use char because int might match the return type of a GCC
17825 builtin and then its argument prototype would still apply. */
17826 char FcInit ();
17828 main (void)
17830 return FcInit ();
17832 return 0;
17834 _ACEOF
17835 if ac_fn_c_try_link "$LINENO"
17836 then :
17837 case "$LIBEXT" in
17838 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17839 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'` ;;
17840 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17841 if ${ac_cv_lib_soname_fontconfig:+false} :
17842 then :
17843 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17844 fi ;;
17845 esac
17846 else $as_nop
17847 ac_cv_lib_soname_fontconfig=
17849 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17850 conftest$ac_exeext conftest.$ac_ext
17851 LIBS=$ac_check_soname_save_LIBS
17853 if ${ac_cv_lib_soname_fontconfig:+false} :
17854 then :
17855 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17856 printf "%s\n" "not found" >&6; }
17857 FONTCONFIG_CFLAGS=""
17858 else $as_nop
17859 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
17860 printf "%s\n" "$ac_cv_lib_soname_fontconfig" >&6; }
17862 printf "%s\n" "#define SONAME_LIBFONTCONFIG \"$ac_cv_lib_soname_fontconfig\"" >>confdefs.h
17866 else
17867 FONTCONFIG_CFLAGS=""
17869 CPPFLAGS=$ac_save_CPPFLAGS
17872 if test "x$ac_cv_lib_soname_fontconfig" = "x"
17873 then :
17874 case "x$with_fontconfig" in
17875 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
17876 xno) ;;
17877 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
17878 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
17879 esac
17883 if test "x$with_krb5" != "xno"
17884 then
17885 rm -f conftest.err
17886 if ${KRB5_CFLAGS:+false} :
17887 then :
17888 if test ${PKG_CONFIG+y}
17889 then :
17890 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>conftest.err`
17893 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
17894 if ${KRB5_LIBS:+false} :
17895 then :
17896 if test ${PKG_CONFIG+y}
17897 then :
17898 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
17901 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
17903 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
17904 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
17905 if test -s conftest.err; then
17906 printf %s "$as_me:${as_lineno-$LINENO}: krb5 errors: " >&5
17907 cat conftest.err >&5
17909 rm -f conftest.err
17910 ac_save_CPPFLAGS=$CPPFLAGS
17911 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
17912 ac_fn_c_check_header_compile "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
17913 if test "x$ac_cv_header_krb5_krb5_h" = xyes
17914 then :
17915 printf "%s\n" "#define HAVE_KRB5_KRB5_H 1" >>confdefs.h
17919 if test "$ac_cv_header_krb5_krb5_h" = "yes"
17920 then
17921 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
17922 printf %s "checking for -lkrb5... " >&6; }
17923 if test ${ac_cv_lib_soname_krb5+y}
17924 then :
17925 printf %s "(cached) " >&6
17926 else $as_nop
17927 ac_check_soname_save_LIBS=$LIBS
17928 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
17929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17930 /* end confdefs.h. */
17932 /* Override any GCC internal prototype to avoid an error.
17933 Use char because int might match the return type of a GCC
17934 builtin and then its argument prototype would still apply. */
17935 char krb5_is_config_principal ();
17937 main (void)
17939 return krb5_is_config_principal ();
17941 return 0;
17943 _ACEOF
17944 if ac_fn_c_try_link "$LINENO"
17945 then :
17946 case "$LIBEXT" in
17947 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17948 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'` ;;
17949 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17950 if ${ac_cv_lib_soname_krb5:+false} :
17951 then :
17952 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17953 fi ;;
17954 esac
17955 else $as_nop
17956 ac_cv_lib_soname_krb5=
17958 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17959 conftest$ac_exeext conftest.$ac_ext
17960 LIBS=$ac_check_soname_save_LIBS
17962 if ${ac_cv_lib_soname_krb5:+false} :
17963 then :
17964 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17965 printf "%s\n" "not found" >&6; }
17966 KRB5_CFLAGS=""
17967 else $as_nop
17968 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
17969 printf "%s\n" "$ac_cv_lib_soname_krb5" >&6; }
17971 printf "%s\n" "#define SONAME_LIBKRB5 \"$ac_cv_lib_soname_krb5\"" >>confdefs.h
17975 else
17976 KRB5_CFLAGS=""
17978 CPPFLAGS=$ac_save_CPPFLAGS
17981 if test "x$ac_cv_lib_soname_krb5" = "x"
17982 then :
17983 case "x$with_krb5" in
17984 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
17985 xno) ;;
17986 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
17987 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
17988 esac
17991 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
17993 if test "x$with_gssapi" != "xno"
17994 then
17995 rm -f conftest.err
17996 if ${GSSAPI_CFLAGS:+false} :
17997 then :
17998 if test ${PKG_CONFIG+y}
17999 then :
18000 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>conftest.err`
18003 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
18004 if ${GSSAPI_LIBS:+false} :
18005 then :
18006 if test ${PKG_CONFIG+y}
18007 then :
18008 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
18011 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
18013 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
18014 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
18015 if test -s conftest.err; then
18016 printf %s "$as_me:${as_lineno-$LINENO}: krb5-gssapi errors: " >&5
18017 cat conftest.err >&5
18019 rm -f conftest.err
18020 ac_save_CPPFLAGS=$CPPFLAGS
18021 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
18022 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi.h" "ac_cv_header_gssapi_gssapi_h" "$ac_includes_default"
18023 if test "x$ac_cv_header_gssapi_gssapi_h" = xyes
18024 then :
18025 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_H 1" >>confdefs.h
18028 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi_ext.h" "ac_cv_header_gssapi_gssapi_ext_h" "$ac_includes_default"
18029 if test "x$ac_cv_header_gssapi_gssapi_ext_h" = xyes
18030 then :
18031 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_EXT_H 1" >>confdefs.h
18035 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
18036 then
18037 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
18038 printf %s "checking for -lgssapi_krb5... " >&6; }
18039 if test ${ac_cv_lib_soname_gssapi_krb5+y}
18040 then :
18041 printf %s "(cached) " >&6
18042 else $as_nop
18043 ac_check_soname_save_LIBS=$LIBS
18044 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
18045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18046 /* end confdefs.h. */
18048 /* Override any GCC internal prototype to avoid an error.
18049 Use char because int might match the return type of a GCC
18050 builtin and then its argument prototype would still apply. */
18051 char gss_init_sec_context ();
18053 main (void)
18055 return gss_init_sec_context ();
18057 return 0;
18059 _ACEOF
18060 if ac_fn_c_try_link "$LINENO"
18061 then :
18062 case "$LIBEXT" in
18063 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18064 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'` ;;
18065 *) 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'`
18066 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18067 then :
18068 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18069 fi ;;
18070 esac
18071 else $as_nop
18072 ac_cv_lib_soname_gssapi_krb5=
18074 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18075 conftest$ac_exeext conftest.$ac_ext
18076 LIBS=$ac_check_soname_save_LIBS
18078 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18079 then :
18080 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18081 printf "%s\n" "not found" >&6; }
18082 GSSAPI_CFLAGS=""
18083 else $as_nop
18084 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
18085 printf "%s\n" "$ac_cv_lib_soname_gssapi_krb5" >&6; }
18087 printf "%s\n" "#define SONAME_LIBGSSAPI_KRB5 \"$ac_cv_lib_soname_gssapi_krb5\"" >>confdefs.h
18091 else
18092 GSSAPI_CFLAGS=""
18094 CPPFLAGS=$ac_save_CPPFLAGS
18097 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"
18098 then :
18099 case "x$with_gssapi" in
18100 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
18101 xno) ;;
18102 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
18103 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
18104 esac
18108 if test "$ac_cv_header_libprocstat_h" = "yes"
18109 then
18110 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
18111 printf %s "checking for procstat_open_sysctl in -lprocstat... " >&6; }
18112 if test ${ac_cv_lib_procstat_procstat_open_sysctl+y}
18113 then :
18114 printf %s "(cached) " >&6
18115 else $as_nop
18116 ac_check_lib_save_LIBS=$LIBS
18117 LIBS="-lprocstat $LIBS"
18118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18119 /* end confdefs.h. */
18121 /* Override any GCC internal prototype to avoid an error.
18122 Use char because int might match the return type of a GCC
18123 builtin and then its argument prototype would still apply. */
18124 char procstat_open_sysctl ();
18126 main (void)
18128 return procstat_open_sysctl ();
18130 return 0;
18132 _ACEOF
18133 if ac_fn_c_try_link "$LINENO"
18134 then :
18135 ac_cv_lib_procstat_procstat_open_sysctl=yes
18136 else $as_nop
18137 ac_cv_lib_procstat_procstat_open_sysctl=no
18139 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18140 conftest$ac_exeext conftest.$ac_ext
18141 LIBS=$ac_check_lib_save_LIBS
18143 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
18144 printf "%s\n" "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
18145 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
18146 then :
18148 printf "%s\n" "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
18150 PROCSTAT_LIBS="-lprocstat"
18156 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
18157 printf %s "checking for -lodbc... " >&6; }
18158 if test ${ac_cv_lib_soname_odbc+y}
18159 then :
18160 printf %s "(cached) " >&6
18161 else $as_nop
18162 ac_check_soname_save_LIBS=$LIBS
18163 LIBS="-lodbc $LIBS"
18164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18165 /* end confdefs.h. */
18167 /* Override any GCC internal prototype to avoid an error.
18168 Use char because int might match the return type of a GCC
18169 builtin and then its argument prototype would still apply. */
18170 char SQLConnect ();
18172 main (void)
18174 return SQLConnect ();
18176 return 0;
18178 _ACEOF
18179 if ac_fn_c_try_link "$LINENO"
18180 then :
18181 case "$LIBEXT" in
18182 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18183 dylib) ac_cv_lib_soname_odbc=`$OTOOL -L conftest$ac_exeext | grep "libodbc\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libodbc\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
18184 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18185 if ${ac_cv_lib_soname_odbc:+false} :
18186 then :
18187 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18188 fi ;;
18189 esac
18190 else $as_nop
18191 ac_cv_lib_soname_odbc=
18193 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18194 conftest$ac_exeext conftest.$ac_ext
18195 LIBS=$ac_check_soname_save_LIBS
18197 if ${ac_cv_lib_soname_odbc:+false} :
18198 then :
18199 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18200 printf "%s\n" "not found" >&6; }
18201 printf "%s\n" "#define SONAME_LIBODBC \"libodbc.$LIBEXT\"" >>confdefs.h
18203 else $as_nop
18204 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
18205 printf "%s\n" "$ac_cv_lib_soname_odbc" >&6; }
18207 printf "%s\n" "#define SONAME_LIBODBC \"$ac_cv_lib_soname_odbc\"" >>confdefs.h
18212 if test "x$with_netapi" != "xno"
18213 then
18214 rm -f conftest.err
18215 if ${NETAPI_CFLAGS:+false} :
18216 then :
18217 if test ${PKG_CONFIG+y}
18218 then :
18219 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>conftest.err`
18223 if ${NETAPI_LIBS:+false} :
18224 then :
18225 if test ${PKG_CONFIG+y}
18226 then :
18227 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
18232 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
18233 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
18234 if test -s conftest.err; then
18235 printf %s "$as_me:${as_lineno-$LINENO}: netapi errors: " >&5
18236 cat conftest.err >&5
18238 rm -f conftest.err
18239 ac_save_CPPFLAGS=$CPPFLAGS
18240 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
18241 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
18242 printf %s "checking for -lnetapi... " >&6; }
18243 if test ${ac_cv_lib_soname_netapi+y}
18244 then :
18245 printf %s "(cached) " >&6
18246 else $as_nop
18247 ac_check_soname_save_LIBS=$LIBS
18248 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
18249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18250 /* end confdefs.h. */
18252 /* Override any GCC internal prototype to avoid an error.
18253 Use char because int might match the return type of a GCC
18254 builtin and then its argument prototype would still apply. */
18255 char libnetapi_init ();
18257 main (void)
18259 return libnetapi_init ();
18261 return 0;
18263 _ACEOF
18264 if ac_fn_c_try_link "$LINENO"
18265 then :
18266 case "$LIBEXT" in
18267 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18268 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'` ;;
18269 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18270 if ${ac_cv_lib_soname_netapi:+false} :
18271 then :
18272 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18273 fi ;;
18274 esac
18275 else $as_nop
18276 ac_cv_lib_soname_netapi=
18278 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18279 conftest$ac_exeext conftest.$ac_ext
18280 LIBS=$ac_check_soname_save_LIBS
18282 if ${ac_cv_lib_soname_netapi:+false} :
18283 then :
18284 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18285 printf "%s\n" "not found" >&6; }
18286 printf "%s\n" "#define SONAME_LIBNETAPI \"libnetapi.$LIBEXT\"" >>confdefs.h
18288 else $as_nop
18289 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
18290 printf "%s\n" "$ac_cv_lib_soname_netapi" >&6; }
18292 printf "%s\n" "#define SONAME_LIBNETAPI \"$ac_cv_lib_soname_netapi\"" >>confdefs.h
18296 CPPFLAGS=$ac_save_CPPFLAGS
18299 if test "x$ac_cv_lib_soname_netapi" = "x"
18300 then :
18301 case "x$with_netapi" in
18302 x) as_fn_append wine_notices "|libnetapi not found, Samba NetAPI won't be supported." ;;
18303 xno) ;;
18304 *) as_fn_error $? "libnetapi not found, Samba NetAPI won't be supported.
18305 This is an error since --with-netapi was requested." "$LINENO" 5 ;;
18306 esac
18307 enable_netapi=${enable_netapi:-no}
18311 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
18312 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
18313 then
18314 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
18317 if test "x$with_vulkan" != "xno"
18318 then
18319 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
18320 printf %s "checking for -lvulkan... " >&6; }
18321 if test ${ac_cv_lib_soname_vulkan+y}
18322 then :
18323 printf %s "(cached) " >&6
18324 else $as_nop
18325 ac_check_soname_save_LIBS=$LIBS
18326 LIBS="-lvulkan $LIBS"
18327 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18328 /* end confdefs.h. */
18330 /* Override any GCC internal prototype to avoid an error.
18331 Use char because int might match the return type of a GCC
18332 builtin and then its argument prototype would still apply. */
18333 char vkGetInstanceProcAddr ();
18335 main (void)
18337 return vkGetInstanceProcAddr ();
18339 return 0;
18341 _ACEOF
18342 if ac_fn_c_try_link "$LINENO"
18343 then :
18344 case "$LIBEXT" in
18345 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18346 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'` ;;
18347 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18348 if ${ac_cv_lib_soname_vulkan:+false} :
18349 then :
18350 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18351 fi ;;
18352 esac
18353 else $as_nop
18354 ac_cv_lib_soname_vulkan=
18356 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18357 conftest$ac_exeext conftest.$ac_ext
18358 LIBS=$ac_check_soname_save_LIBS
18360 if ${ac_cv_lib_soname_vulkan:+false} :
18361 then :
18362 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18363 printf "%s\n" "not found" >&6; }
18365 else $as_nop
18366 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
18367 printf "%s\n" "$ac_cv_lib_soname_vulkan" >&6; }
18369 printf "%s\n" "#define SONAME_LIBVULKAN \"$ac_cv_lib_soname_vulkan\"" >>confdefs.h
18373 if test "x$ac_cv_lib_soname_vulkan" = "x"
18374 then
18375 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
18376 printf %s "checking for -lMoltenVK... " >&6; }
18377 if test ${ac_cv_lib_soname_MoltenVK+y}
18378 then :
18379 printf %s "(cached) " >&6
18380 else $as_nop
18381 ac_check_soname_save_LIBS=$LIBS
18382 LIBS="-lMoltenVK $LIBS"
18383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18384 /* end confdefs.h. */
18386 /* Override any GCC internal prototype to avoid an error.
18387 Use char because int might match the return type of a GCC
18388 builtin and then its argument prototype would still apply. */
18389 char vkGetInstanceProcAddr ();
18391 main (void)
18393 return vkGetInstanceProcAddr ();
18395 return 0;
18397 _ACEOF
18398 if ac_fn_c_try_link "$LINENO"
18399 then :
18400 case "$LIBEXT" in
18401 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18402 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'` ;;
18403 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18404 if ${ac_cv_lib_soname_MoltenVK:+false} :
18405 then :
18406 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18407 fi ;;
18408 esac
18409 else $as_nop
18410 ac_cv_lib_soname_MoltenVK=
18412 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18413 conftest$ac_exeext conftest.$ac_ext
18414 LIBS=$ac_check_soname_save_LIBS
18416 if ${ac_cv_lib_soname_MoltenVK:+false} :
18417 then :
18418 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18419 printf "%s\n" "not found" >&6; }
18421 else $as_nop
18422 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
18423 printf "%s\n" "$ac_cv_lib_soname_MoltenVK" >&6; }
18425 printf "%s\n" "#define SONAME_LIBMOLTENVK \"$ac_cv_lib_soname_MoltenVK\"" >>confdefs.h
18431 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"
18432 then :
18433 case "x$with_vulkan" in
18434 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
18435 xno) ;;
18436 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
18437 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
18438 esac
18443 if test "x${GCC}" = "xyes"
18444 then
18445 EXTRACFLAGS="$EXTRACFLAGS -Wall -pipe"
18447 saved_CFLAGS=$CFLAGS
18448 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
18449 printf %s "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
18450 if test ${ac_cv_cflags__Werror_unknown_warning_option+y}
18451 then :
18452 printf %s "(cached) " >&6
18453 else $as_nop
18454 ac_wine_try_cflags_saved=$CFLAGS
18455 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
18456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18457 /* end confdefs.h. */
18458 int main(int argc, char **argv) { return 0; }
18459 _ACEOF
18460 if ac_fn_c_try_link "$LINENO"
18461 then :
18462 ac_cv_cflags__Werror_unknown_warning_option=yes
18463 else $as_nop
18464 ac_cv_cflags__Werror_unknown_warning_option=no
18466 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18467 conftest$ac_exeext conftest.$ac_ext
18468 CFLAGS=$ac_wine_try_cflags_saved
18470 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
18471 printf "%s\n" "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
18472 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
18473 then :
18474 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
18476 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
18477 printf %s "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
18478 if test ${ac_cv_cflags__Werror_unused_command_line_argument+y}
18479 then :
18480 printf %s "(cached) " >&6
18481 else $as_nop
18482 ac_wine_try_cflags_saved=$CFLAGS
18483 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
18484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18485 /* end confdefs.h. */
18486 int main(int argc, char **argv) { return 0; }
18487 _ACEOF
18488 if ac_fn_c_try_link "$LINENO"
18489 then :
18490 ac_cv_cflags__Werror_unused_command_line_argument=yes
18491 else $as_nop
18492 ac_cv_cflags__Werror_unused_command_line_argument=no
18494 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18495 conftest$ac_exeext conftest.$ac_ext
18496 CFLAGS=$ac_wine_try_cflags_saved
18498 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
18499 printf "%s\n" "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
18500 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes
18501 then :
18502 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
18504 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
18505 printf %s "checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
18506 if test ${ac_cv_cflags__Werror_ignored_optimization_argument+y}
18507 then :
18508 printf %s "(cached) " >&6
18509 else $as_nop
18510 ac_wine_try_cflags_saved=$CFLAGS
18511 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
18512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18513 /* end confdefs.h. */
18514 int main(int argc, char **argv) { return 0; }
18515 _ACEOF
18516 if ac_fn_c_try_link "$LINENO"
18517 then :
18518 ac_cv_cflags__Werror_ignored_optimization_argument=yes
18519 else $as_nop
18520 ac_cv_cflags__Werror_ignored_optimization_argument=no
18522 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18523 conftest$ac_exeext conftest.$ac_ext
18524 CFLAGS=$ac_wine_try_cflags_saved
18526 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
18527 printf "%s\n" "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
18528 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes
18529 then :
18530 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
18532 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
18533 printf %s "checking whether the compiler supports -fcf-protection=none... " >&6; }
18534 if test ${ac_cv_cflags__fcf_protection_none+y}
18535 then :
18536 printf %s "(cached) " >&6
18537 else $as_nop
18538 ac_wine_try_cflags_saved=$CFLAGS
18539 CFLAGS="$CFLAGS -fcf-protection=none"
18540 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18541 /* end confdefs.h. */
18542 int main(int argc, char **argv) { return 0; }
18543 _ACEOF
18544 if ac_fn_c_try_link "$LINENO"
18545 then :
18546 ac_cv_cflags__fcf_protection_none=yes
18547 else $as_nop
18548 ac_cv_cflags__fcf_protection_none=no
18550 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18551 conftest$ac_exeext conftest.$ac_ext
18552 CFLAGS=$ac_wine_try_cflags_saved
18554 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
18555 printf "%s\n" "$ac_cv_cflags__fcf_protection_none" >&6; }
18556 if test "x$ac_cv_cflags__fcf_protection_none" = xyes
18557 then :
18558 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
18560 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
18561 printf %s "checking whether the compiler supports -fno-stack-protector... " >&6; }
18562 if test ${ac_cv_cflags__fno_stack_protector+y}
18563 then :
18564 printf %s "(cached) " >&6
18565 else $as_nop
18566 ac_wine_try_cflags_saved=$CFLAGS
18567 CFLAGS="$CFLAGS -fno-stack-protector"
18568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18569 /* end confdefs.h. */
18570 int main(int argc, char **argv) { return 0; }
18571 _ACEOF
18572 if ac_fn_c_try_link "$LINENO"
18573 then :
18574 ac_cv_cflags__fno_stack_protector=yes
18575 else $as_nop
18576 ac_cv_cflags__fno_stack_protector=no
18578 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18579 conftest$ac_exeext conftest.$ac_ext
18580 CFLAGS=$ac_wine_try_cflags_saved
18582 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
18583 printf "%s\n" "$ac_cv_cflags__fno_stack_protector" >&6; }
18584 if test "x$ac_cv_cflags__fno_stack_protector" = xyes
18585 then :
18586 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
18588 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
18589 printf %s "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
18590 if test ${ac_cv_cflags__fno_strict_aliasing+y}
18591 then :
18592 printf %s "(cached) " >&6
18593 else $as_nop
18594 ac_wine_try_cflags_saved=$CFLAGS
18595 CFLAGS="$CFLAGS -fno-strict-aliasing"
18596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18597 /* end confdefs.h. */
18598 int main(int argc, char **argv) { return 0; }
18599 _ACEOF
18600 if ac_fn_c_try_link "$LINENO"
18601 then :
18602 ac_cv_cflags__fno_strict_aliasing=yes
18603 else $as_nop
18604 ac_cv_cflags__fno_strict_aliasing=no
18606 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18607 conftest$ac_exeext conftest.$ac_ext
18608 CFLAGS=$ac_wine_try_cflags_saved
18610 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
18611 printf "%s\n" "$ac_cv_cflags__fno_strict_aliasing" >&6; }
18612 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
18613 then :
18614 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
18616 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
18617 printf %s "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
18618 if test ${ac_cv_cflags__Wdeclaration_after_statement+y}
18619 then :
18620 printf %s "(cached) " >&6
18621 else $as_nop
18622 ac_wine_try_cflags_saved=$CFLAGS
18623 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
18624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18625 /* end confdefs.h. */
18626 int main(int argc, char **argv) { return 0; }
18627 _ACEOF
18628 if ac_fn_c_try_link "$LINENO"
18629 then :
18630 ac_cv_cflags__Wdeclaration_after_statement=yes
18631 else $as_nop
18632 ac_cv_cflags__Wdeclaration_after_statement=no
18634 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18635 conftest$ac_exeext conftest.$ac_ext
18636 CFLAGS=$ac_wine_try_cflags_saved
18638 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
18639 printf "%s\n" "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
18640 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
18641 then :
18642 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
18644 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
18645 printf %s "checking whether the compiler supports -Wempty-body... " >&6; }
18646 if test ${ac_cv_cflags__Wempty_body+y}
18647 then :
18648 printf %s "(cached) " >&6
18649 else $as_nop
18650 ac_wine_try_cflags_saved=$CFLAGS
18651 CFLAGS="$CFLAGS -Wempty-body"
18652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18653 /* end confdefs.h. */
18654 int main(int argc, char **argv) { return 0; }
18655 _ACEOF
18656 if ac_fn_c_try_link "$LINENO"
18657 then :
18658 ac_cv_cflags__Wempty_body=yes
18659 else $as_nop
18660 ac_cv_cflags__Wempty_body=no
18662 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18663 conftest$ac_exeext conftest.$ac_ext
18664 CFLAGS=$ac_wine_try_cflags_saved
18666 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
18667 printf "%s\n" "$ac_cv_cflags__Wempty_body" >&6; }
18668 if test "x$ac_cv_cflags__Wempty_body" = xyes
18669 then :
18670 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
18672 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
18673 printf %s "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
18674 if test ${ac_cv_cflags__Wignored_qualifiers+y}
18675 then :
18676 printf %s "(cached) " >&6
18677 else $as_nop
18678 ac_wine_try_cflags_saved=$CFLAGS
18679 CFLAGS="$CFLAGS -Wignored-qualifiers"
18680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18681 /* end confdefs.h. */
18682 int main(int argc, char **argv) { return 0; }
18683 _ACEOF
18684 if ac_fn_c_try_link "$LINENO"
18685 then :
18686 ac_cv_cflags__Wignored_qualifiers=yes
18687 else $as_nop
18688 ac_cv_cflags__Wignored_qualifiers=no
18690 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18691 conftest$ac_exeext conftest.$ac_ext
18692 CFLAGS=$ac_wine_try_cflags_saved
18694 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
18695 printf "%s\n" "$ac_cv_cflags__Wignored_qualifiers" >&6; }
18696 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
18697 then :
18698 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
18700 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Winit-self" >&5
18701 printf %s "checking whether the compiler supports -Winit-self... " >&6; }
18702 if test ${ac_cv_cflags__Winit_self+y}
18703 then :
18704 printf %s "(cached) " >&6
18705 else $as_nop
18706 ac_wine_try_cflags_saved=$CFLAGS
18707 CFLAGS="$CFLAGS -Winit-self"
18708 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18709 /* end confdefs.h. */
18710 int main(int argc, char **argv) { return 0; }
18711 _ACEOF
18712 if ac_fn_c_try_link "$LINENO"
18713 then :
18714 ac_cv_cflags__Winit_self=yes
18715 else $as_nop
18716 ac_cv_cflags__Winit_self=no
18718 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18719 conftest$ac_exeext conftest.$ac_ext
18720 CFLAGS=$ac_wine_try_cflags_saved
18722 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Winit_self" >&5
18723 printf "%s\n" "$ac_cv_cflags__Winit_self" >&6; }
18724 if test "x$ac_cv_cflags__Winit_self" = xyes
18725 then :
18726 EXTRACFLAGS="$EXTRACFLAGS -Winit-self"
18728 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
18729 printf %s "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
18730 if test ${ac_cv_cflags__Wpacked_not_aligned+y}
18731 then :
18732 printf %s "(cached) " >&6
18733 else $as_nop
18734 ac_wine_try_cflags_saved=$CFLAGS
18735 CFLAGS="$CFLAGS -Wpacked-not-aligned"
18736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18737 /* end confdefs.h. */
18738 int main(int argc, char **argv) { return 0; }
18739 _ACEOF
18740 if ac_fn_c_try_link "$LINENO"
18741 then :
18742 ac_cv_cflags__Wpacked_not_aligned=yes
18743 else $as_nop
18744 ac_cv_cflags__Wpacked_not_aligned=no
18746 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18747 conftest$ac_exeext conftest.$ac_ext
18748 CFLAGS=$ac_wine_try_cflags_saved
18750 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
18751 printf "%s\n" "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
18752 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes
18753 then :
18754 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
18756 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
18757 printf %s "checking whether the compiler supports -Wpragma-pack... " >&6; }
18758 if test ${ac_cv_cflags__Wpragma_pack+y}
18759 then :
18760 printf %s "(cached) " >&6
18761 else $as_nop
18762 ac_wine_try_cflags_saved=$CFLAGS
18763 CFLAGS="$CFLAGS -Wpragma-pack"
18764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18765 /* end confdefs.h. */
18766 int main(int argc, char **argv) { return 0; }
18767 _ACEOF
18768 if ac_fn_c_try_link "$LINENO"
18769 then :
18770 ac_cv_cflags__Wpragma_pack=yes
18771 else $as_nop
18772 ac_cv_cflags__Wpragma_pack=no
18774 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18775 conftest$ac_exeext conftest.$ac_ext
18776 CFLAGS=$ac_wine_try_cflags_saved
18778 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
18779 printf "%s\n" "$ac_cv_cflags__Wpragma_pack" >&6; }
18780 if test "x$ac_cv_cflags__Wpragma_pack" = xyes
18781 then :
18782 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
18784 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
18785 printf %s "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
18786 if test ${ac_cv_cflags__Wshift_overflow_2+y}
18787 then :
18788 printf %s "(cached) " >&6
18789 else $as_nop
18790 ac_wine_try_cflags_saved=$CFLAGS
18791 CFLAGS="$CFLAGS -Wshift-overflow=2"
18792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18793 /* end confdefs.h. */
18794 int main(int argc, char **argv) { return 0; }
18795 _ACEOF
18796 if ac_fn_c_try_link "$LINENO"
18797 then :
18798 ac_cv_cflags__Wshift_overflow_2=yes
18799 else $as_nop
18800 ac_cv_cflags__Wshift_overflow_2=no
18802 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18803 conftest$ac_exeext conftest.$ac_ext
18804 CFLAGS=$ac_wine_try_cflags_saved
18806 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
18807 printf "%s\n" "$ac_cv_cflags__Wshift_overflow_2" >&6; }
18808 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes
18809 then :
18810 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
18812 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
18813 printf %s "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
18814 if test ${ac_cv_cflags__Wstrict_prototypes+y}
18815 then :
18816 printf %s "(cached) " >&6
18817 else $as_nop
18818 ac_wine_try_cflags_saved=$CFLAGS
18819 CFLAGS="$CFLAGS -Wstrict-prototypes"
18820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18821 /* end confdefs.h. */
18822 int main(int argc, char **argv) { return 0; }
18823 _ACEOF
18824 if ac_fn_c_try_link "$LINENO"
18825 then :
18826 ac_cv_cflags__Wstrict_prototypes=yes
18827 else $as_nop
18828 ac_cv_cflags__Wstrict_prototypes=no
18830 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18831 conftest$ac_exeext conftest.$ac_ext
18832 CFLAGS=$ac_wine_try_cflags_saved
18834 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
18835 printf "%s\n" "$ac_cv_cflags__Wstrict_prototypes" >&6; }
18836 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
18837 then :
18838 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
18840 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
18841 printf %s "checking whether the compiler supports -Wtype-limits... " >&6; }
18842 if test ${ac_cv_cflags__Wtype_limits+y}
18843 then :
18844 printf %s "(cached) " >&6
18845 else $as_nop
18846 ac_wine_try_cflags_saved=$CFLAGS
18847 CFLAGS="$CFLAGS -Wtype-limits"
18848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18849 /* end confdefs.h. */
18850 int main(int argc, char **argv) { return 0; }
18851 _ACEOF
18852 if ac_fn_c_try_link "$LINENO"
18853 then :
18854 ac_cv_cflags__Wtype_limits=yes
18855 else $as_nop
18856 ac_cv_cflags__Wtype_limits=no
18858 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18859 conftest$ac_exeext conftest.$ac_ext
18860 CFLAGS=$ac_wine_try_cflags_saved
18862 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
18863 printf "%s\n" "$ac_cv_cflags__Wtype_limits" >&6; }
18864 if test "x$ac_cv_cflags__Wtype_limits" = xyes
18865 then :
18866 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
18868 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
18869 printf %s "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
18870 if test ${ac_cv_cflags__Wunused_but_set_parameter+y}
18871 then :
18872 printf %s "(cached) " >&6
18873 else $as_nop
18874 ac_wine_try_cflags_saved=$CFLAGS
18875 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
18876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18877 /* end confdefs.h. */
18878 int main(int argc, char **argv) { return 0; }
18879 _ACEOF
18880 if ac_fn_c_try_link "$LINENO"
18881 then :
18882 ac_cv_cflags__Wunused_but_set_parameter=yes
18883 else $as_nop
18884 ac_cv_cflags__Wunused_but_set_parameter=no
18886 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18887 conftest$ac_exeext conftest.$ac_ext
18888 CFLAGS=$ac_wine_try_cflags_saved
18890 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
18891 printf "%s\n" "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
18892 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
18893 then :
18894 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
18896 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
18897 printf %s "checking whether the compiler supports -Wvla... " >&6; }
18898 if test ${ac_cv_cflags__Wvla+y}
18899 then :
18900 printf %s "(cached) " >&6
18901 else $as_nop
18902 ac_wine_try_cflags_saved=$CFLAGS
18903 CFLAGS="$CFLAGS -Wvla"
18904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18905 /* end confdefs.h. */
18906 int main(int argc, char **argv) { return 0; }
18907 _ACEOF
18908 if ac_fn_c_try_link "$LINENO"
18909 then :
18910 ac_cv_cflags__Wvla=yes
18911 else $as_nop
18912 ac_cv_cflags__Wvla=no
18914 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18915 conftest$ac_exeext conftest.$ac_ext
18916 CFLAGS=$ac_wine_try_cflags_saved
18918 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
18919 printf "%s\n" "$ac_cv_cflags__Wvla" >&6; }
18920 if test "x$ac_cv_cflags__Wvla" = xyes
18921 then :
18922 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
18924 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
18925 printf %s "checking whether the compiler supports -Wwrite-strings... " >&6; }
18926 if test ${ac_cv_cflags__Wwrite_strings+y}
18927 then :
18928 printf %s "(cached) " >&6
18929 else $as_nop
18930 ac_wine_try_cflags_saved=$CFLAGS
18931 CFLAGS="$CFLAGS -Wwrite-strings"
18932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18933 /* end confdefs.h. */
18934 int main(int argc, char **argv) { return 0; }
18935 _ACEOF
18936 if ac_fn_c_try_link "$LINENO"
18937 then :
18938 ac_cv_cflags__Wwrite_strings=yes
18939 else $as_nop
18940 ac_cv_cflags__Wwrite_strings=no
18942 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18943 conftest$ac_exeext conftest.$ac_ext
18944 CFLAGS=$ac_wine_try_cflags_saved
18946 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
18947 printf "%s\n" "$ac_cv_cflags__Wwrite_strings" >&6; }
18948 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
18949 then :
18950 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
18953 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
18954 printf %s "checking whether the compiler supports -Wpointer-arith... " >&6; }
18955 if test ${ac_cv_cflags__Wpointer_arith+y}
18956 then :
18957 printf %s "(cached) " >&6
18958 else $as_nop
18959 ac_wine_try_cflags_saved=$CFLAGS
18960 CFLAGS="$CFLAGS -Wpointer-arith"
18961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18962 /* end confdefs.h. */
18963 int main(int argc, char **argv) { return 0; }
18964 _ACEOF
18965 if ac_fn_c_try_link "$LINENO"
18966 then :
18967 ac_cv_cflags__Wpointer_arith=yes
18968 else $as_nop
18969 ac_cv_cflags__Wpointer_arith=no
18971 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18972 conftest$ac_exeext conftest.$ac_ext
18973 CFLAGS=$ac_wine_try_cflags_saved
18975 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
18976 printf "%s\n" "$ac_cv_cflags__Wpointer_arith" >&6; }
18977 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
18978 then :
18979 saved_string_h_CFLAGS=$CFLAGS
18980 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
18981 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
18982 printf %s "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
18983 if test ${ac_cv_c_string_h_warnings+y}
18984 then :
18985 printf %s "(cached) " >&6
18986 else $as_nop
18987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18988 /* end confdefs.h. */
18989 #include <string.h>
18991 main (void)
18995 return 0;
18997 _ACEOF
18998 if ac_fn_c_try_compile "$LINENO"
18999 then :
19000 ac_cv_c_string_h_warnings=no
19001 else $as_nop
19002 ac_cv_c_string_h_warnings=yes
19004 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19006 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
19007 printf "%s\n" "$ac_cv_c_string_h_warnings" >&6; }
19008 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
19009 CFLAGS=$saved_string_h_CFLAGS
19012 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
19013 printf %s "checking whether the compiler supports -Wlogical-op... " >&6; }
19014 if test ${ac_cv_cflags__Wlogical_op+y}
19015 then :
19016 printf %s "(cached) " >&6
19017 else $as_nop
19018 ac_wine_try_cflags_saved=$CFLAGS
19019 CFLAGS="$CFLAGS -Wlogical-op"
19020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19021 /* end confdefs.h. */
19022 int main(int argc, char **argv) { return 0; }
19023 _ACEOF
19024 if ac_fn_c_try_link "$LINENO"
19025 then :
19026 ac_cv_cflags__Wlogical_op=yes
19027 else $as_nop
19028 ac_cv_cflags__Wlogical_op=no
19030 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19031 conftest$ac_exeext conftest.$ac_ext
19032 CFLAGS=$ac_wine_try_cflags_saved
19034 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
19035 printf "%s\n" "$ac_cv_cflags__Wlogical_op" >&6; }
19036 if test "x$ac_cv_cflags__Wlogical_op" = xyes
19037 then :
19038 saved_string_h_CFLAGS=$CFLAGS
19039 CFLAGS="$CFLAGS -Wlogical-op -Werror"
19040 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
19041 printf %s "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
19042 if test ${ac_cv_c_logicalop_noisy+y}
19043 then :
19044 printf %s "(cached) " >&6
19045 else $as_nop
19046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19047 /* end confdefs.h. */
19048 #include <string.h>
19049 char*f(const char *h,char n) {return strchr(h,n);}
19051 main (void)
19055 return 0;
19057 _ACEOF
19058 if ac_fn_c_try_compile "$LINENO"
19059 then :
19060 ac_cv_c_logicalop_noisy=no
19061 else $as_nop
19062 ac_cv_c_logicalop_noisy=yes
19064 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19066 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
19067 printf "%s\n" "$ac_cv_c_logicalop_noisy" >&6; }
19068 CFLAGS=$saved_string_h_CFLAGS
19069 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
19072 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
19073 printf %s "checking for flags needed for 64-bit compare-and-swap support... " >&6; }
19074 if test ${wine_cv_64bit_compare_swap+y}
19075 then :
19076 printf %s "(cached) " >&6
19077 else $as_nop
19078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19079 /* end confdefs.h. */
19080 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19081 #error no
19082 #endif
19084 main (void)
19088 return 0;
19090 _ACEOF
19091 if ac_fn_c_try_compile "$LINENO"
19092 then :
19093 wine_cv_64bit_compare_swap="none needed"
19094 else $as_nop
19095 case $host_cpu in
19096 *i[3456]86*) wine_cv_64bit_compare_swap="-march=i586" ;;
19097 *arm*) wine_cv_64bit_compare_swap="-march=armv7-a" ;;
19098 *) wine_cv_64bit_compare_swap="unknown" ;;
19099 esac
19100 if test "x$wine_cv_64bit_compare_swap" != xunknown
19101 then
19102 CFLAGS="$CFLAGS $wine_cv_64bit_compare_swap"
19103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19104 /* end confdefs.h. */
19105 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19106 #error no
19107 #endif
19109 main (void)
19113 return 0;
19115 _ACEOF
19116 if ac_fn_c_try_compile "$LINENO"
19117 then :
19119 else $as_nop
19120 wine_cv_64bit_compare_swap="unknown"
19122 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19123 CFLAGS=$saved_CFLAGS
19126 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19128 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
19129 printf "%s\n" "$wine_cv_64bit_compare_swap" >&6; }
19130 case "$wine_cv_64bit_compare_swap" in
19131 unknown) as_fn_error $? "gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
19132 "none needed") ;;
19133 *) EXTRACFLAGS="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
19134 esac
19136 ac_debug_format_seen=""
19137 for ac_flag in $CFLAGS; do
19138 case $ac_flag in
19139 -gdwarf*) ac_debug_format_seen=yes ;;
19140 -g) ac_debug_format_seen=${ac_debug_format_seen:-default} ;;
19141 esac
19142 done
19143 if test "x$ac_debug_format_seen" = xdefault
19144 then
19145 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-4" >&5
19146 printf %s "checking whether the compiler supports -gdwarf-4... " >&6; }
19147 if test ${ac_cv_cflags__gdwarf_4+y}
19148 then :
19149 printf %s "(cached) " >&6
19150 else $as_nop
19151 ac_wine_try_cflags_saved=$CFLAGS
19152 CFLAGS="$CFLAGS -gdwarf-4"
19153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19154 /* end confdefs.h. */
19155 int main(int argc, char **argv) { return 0; }
19156 _ACEOF
19157 if ac_fn_c_try_link "$LINENO"
19158 then :
19159 ac_cv_cflags__gdwarf_4=yes
19160 else $as_nop
19161 ac_cv_cflags__gdwarf_4=no
19163 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19164 conftest$ac_exeext conftest.$ac_ext
19165 CFLAGS=$ac_wine_try_cflags_saved
19167 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_4" >&5
19168 printf "%s\n" "$ac_cv_cflags__gdwarf_4" >&6; }
19169 if test "x$ac_cv_cflags__gdwarf_4" = xyes
19170 then :
19171 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-4"
19175 MSVCRTFLAGS=""
19177 case $host_os in
19178 mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
19179 printf %s "checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
19180 if test ${ac_cv_cflags__Wl__delayload_autoconftest_dll+y}
19181 then :
19182 printf %s "(cached) " >&6
19183 else $as_nop
19184 ac_wine_try_cflags_saved=$CFLAGS
19185 CFLAGS="$CFLAGS -Wl,-delayload,autoconftest.dll"
19186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19187 /* end confdefs.h. */
19188 int main(int argc, char **argv) { return 0; }
19189 _ACEOF
19190 if ac_fn_c_try_link "$LINENO"
19191 then :
19192 ac_cv_cflags__Wl__delayload_autoconftest_dll=yes
19193 else $as_nop
19194 ac_cv_cflags__Wl__delayload_autoconftest_dll=no
19196 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19197 conftest$ac_exeext conftest.$ac_ext
19198 CFLAGS=$ac_wine_try_cflags_saved
19200 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
19201 printf "%s\n" "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
19202 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes
19203 then :
19204 DELAYLOADFLAG="-Wl,-delayload,"
19206 fi ;;
19207 *) MSVCRTFLAGS="-D_WIN32"
19208 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
19209 printf %s "checking whether the compiler supports -fno-builtin... " >&6; }
19210 if test ${ac_cv_cflags__fno_builtin+y}
19211 then :
19212 printf %s "(cached) " >&6
19213 else $as_nop
19214 ac_wine_try_cflags_saved=$CFLAGS
19215 CFLAGS="$CFLAGS -fno-builtin"
19216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19217 /* end confdefs.h. */
19218 int main(int argc, char **argv) { return 0; }
19219 _ACEOF
19220 if ac_fn_c_try_link "$LINENO"
19221 then :
19222 ac_cv_cflags__fno_builtin=yes
19223 else $as_nop
19224 ac_cv_cflags__fno_builtin=no
19226 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19227 conftest$ac_exeext conftest.$ac_ext
19228 CFLAGS=$ac_wine_try_cflags_saved
19230 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
19231 printf "%s\n" "$ac_cv_cflags__fno_builtin" >&6; }
19232 if test "x$ac_cv_cflags__fno_builtin" = xyes
19233 then :
19234 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
19236 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
19237 printf %s "checking whether the compiler supports -fshort-wchar... " >&6; }
19238 if test ${ac_cv_cflags__fshort_wchar+y}
19239 then :
19240 printf %s "(cached) " >&6
19241 else $as_nop
19242 ac_wine_try_cflags_saved=$CFLAGS
19243 CFLAGS="$CFLAGS -fshort-wchar"
19244 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19245 /* end confdefs.h. */
19246 int main(int argc, char **argv) { return 0; }
19247 _ACEOF
19248 if ac_fn_c_try_link "$LINENO"
19249 then :
19250 ac_cv_cflags__fshort_wchar=yes
19251 else $as_nop
19252 ac_cv_cflags__fshort_wchar=no
19254 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19255 conftest$ac_exeext conftest.$ac_ext
19256 CFLAGS=$ac_wine_try_cflags_saved
19258 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
19259 printf "%s\n" "$ac_cv_cflags__fshort_wchar" >&6; }
19260 if test "x$ac_cv_cflags__fshort_wchar" = xyes
19261 then :
19262 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
19264 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19265 printf %s "checking whether the compiler supports -Wno-format... " >&6; }
19266 if test ${ac_cv_cflags__Wno_format+y}
19267 then :
19268 printf %s "(cached) " >&6
19269 else $as_nop
19270 ac_wine_try_cflags_saved=$CFLAGS
19271 CFLAGS="$CFLAGS -Wno-format"
19272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19273 /* end confdefs.h. */
19274 int main(int argc, char **argv) { return 0; }
19275 _ACEOF
19276 if ac_fn_c_try_link "$LINENO"
19277 then :
19278 ac_cv_cflags__Wno_format=yes
19279 else $as_nop
19280 ac_cv_cflags__Wno_format=no
19282 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19283 conftest$ac_exeext conftest.$ac_ext
19284 CFLAGS=$ac_wine_try_cflags_saved
19286 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19287 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19288 if test "x$ac_cv_cflags__Wno_format" = xyes
19289 then :
19290 MSVCRTFLAGS="$MSVCRTFLAGS -Wno-format"
19291 fi ;;
19292 esac
19294 case $host_cpu in
19295 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
19296 printf %s "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
19297 if test ${ac_cv_cflags__fno_omit_frame_pointer+y}
19298 then :
19299 printf %s "(cached) " >&6
19300 else $as_nop
19301 ac_wine_try_cflags_saved=$CFLAGS
19302 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
19303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19304 /* end confdefs.h. */
19305 int main(int argc, char **argv) { return 0; }
19306 _ACEOF
19307 if ac_fn_c_try_link "$LINENO"
19308 then :
19309 ac_cv_cflags__fno_omit_frame_pointer=yes
19310 else $as_nop
19311 ac_cv_cflags__fno_omit_frame_pointer=no
19313 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19314 conftest$ac_exeext conftest.$ac_ext
19315 CFLAGS=$ac_wine_try_cflags_saved
19317 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
19318 printf "%s\n" "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
19319 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
19320 then :
19321 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
19322 fi ;;
19323 *x86_64*)
19324 case $host_os in
19325 cygwin*|mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19326 printf %s "checking whether the compiler supports -Wno-format... " >&6; }
19327 if test ${ac_cv_cflags__Wno_format+y}
19328 then :
19329 printf %s "(cached) " >&6
19330 else $as_nop
19331 ac_wine_try_cflags_saved=$CFLAGS
19332 CFLAGS="$CFLAGS -Wno-format"
19333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19334 /* end confdefs.h. */
19335 int main(int argc, char **argv) { return 0; }
19336 _ACEOF
19337 if ac_fn_c_try_link "$LINENO"
19338 then :
19339 ac_cv_cflags__Wno_format=yes
19340 else $as_nop
19341 ac_cv_cflags__Wno_format=no
19343 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19344 conftest$ac_exeext conftest.$ac_ext
19345 CFLAGS=$ac_wine_try_cflags_saved
19347 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19348 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19349 if test "x$ac_cv_cflags__Wno_format" = xyes
19350 then :
19351 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
19352 fi ;;
19353 *) if test -z "$PE_ARCHS"
19354 then
19355 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working -mabi=ms" >&5
19356 printf %s "checking for working -mabi=ms... " >&6; }
19357 if test ${ac_cv_mabi_ms+y}
19358 then :
19359 printf %s "(cached) " >&6
19360 else $as_nop
19361 CFLAGS="$CFLAGS -mabi=ms"
19362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19363 /* end confdefs.h. */
19364 #include <stdarg.h>
19365 int a(int b, ...) { __builtin_ms_va_list list; __builtin_ms_va_start(list,b); }
19367 main (void)
19371 return 0;
19373 _ACEOF
19374 if ac_fn_c_try_compile "$LINENO"
19375 then :
19376 ac_cv_mabi_ms=yes
19377 else $as_nop
19378 ac_cv_mabi_ms=no
19380 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19381 CFLAGS=$saved_CFLAGS
19383 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mabi_ms" >&5
19384 printf "%s\n" "$ac_cv_mabi_ms" >&6; }
19385 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
19387 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms" ;;
19388 esac ;;
19389 arm*)
19390 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wincompatible-function-pointer-types" >&5
19391 printf %s "checking whether the compiler supports -Wincompatible-function-pointer-types... " >&6; }
19392 if test ${ac_cv_cflags__Wincompatible_function_pointer_types+y}
19393 then :
19394 printf %s "(cached) " >&6
19395 else $as_nop
19396 ac_wine_try_cflags_saved=$CFLAGS
19397 CFLAGS="$CFLAGS -Wincompatible-function-pointer-types"
19398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19399 /* end confdefs.h. */
19400 int main(int argc, char **argv) { return 0; }
19401 _ACEOF
19402 if ac_fn_c_try_link "$LINENO"
19403 then :
19404 ac_cv_cflags__Wincompatible_function_pointer_types=yes
19405 else $as_nop
19406 ac_cv_cflags__Wincompatible_function_pointer_types=no
19408 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19409 conftest$ac_exeext conftest.$ac_ext
19410 CFLAGS=$ac_wine_try_cflags_saved
19412 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wincompatible_function_pointer_types" >&5
19413 printf "%s\n" "$ac_cv_cflags__Wincompatible_function_pointer_types" >&6; }
19414 if test "x$ac_cv_cflags__Wincompatible_function_pointer_types" = xyes
19415 then :
19416 EXTRACFLAGS="$EXTRACFLAGS -Wno-error=incompatible-function-pointer-types"
19417 fi ;;
19418 esac
19420 CFLAGS=$saved_CFLAGS
19422 if test "x$enable_werror" = "xyes"
19423 then
19424 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
19425 printf %s "checking whether the compiler supports -Werror... " >&6; }
19426 if test ${ac_cv_cflags__Werror+y}
19427 then :
19428 printf %s "(cached) " >&6
19429 else $as_nop
19430 ac_wine_try_cflags_saved=$CFLAGS
19431 CFLAGS="$CFLAGS -Werror"
19432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19433 /* end confdefs.h. */
19434 int main(int argc, char **argv) { return 0; }
19435 _ACEOF
19436 if ac_fn_c_try_link "$LINENO"
19437 then :
19438 ac_cv_cflags__Werror=yes
19439 else $as_nop
19440 ac_cv_cflags__Werror=no
19442 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19443 conftest$ac_exeext conftest.$ac_ext
19444 CFLAGS=$ac_wine_try_cflags_saved
19446 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
19447 printf "%s\n" "$ac_cv_cflags__Werror" >&6; }
19448 if test "x$ac_cv_cflags__Werror" = xyes
19449 then :
19450 EXTRACFLAGS="$EXTRACFLAGS -Werror"
19453 if test "x$enable_build_id" = "xyes"
19454 then
19455 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--build-id" >&5
19456 printf %s "checking whether the compiler supports -Wl,--build-id... " >&6; }
19457 if test ${ac_cv_cflags__Wl___build_id+y}
19458 then :
19459 printf %s "(cached) " >&6
19460 else $as_nop
19461 ac_wine_try_cflags_saved=$CFLAGS
19462 CFLAGS="$CFLAGS -Wl,--build-id"
19463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19464 /* end confdefs.h. */
19465 int main(int argc, char **argv) { return 0; }
19466 _ACEOF
19467 if ac_fn_c_try_link "$LINENO"
19468 then :
19469 ac_cv_cflags__Wl___build_id=yes
19470 else $as_nop
19471 ac_cv_cflags__Wl___build_id=no
19473 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19474 conftest$ac_exeext conftest.$ac_ext
19475 CFLAGS=$ac_wine_try_cflags_saved
19477 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___build_id" >&5
19478 printf "%s\n" "$ac_cv_cflags__Wl___build_id" >&6; }
19479 if test "x$ac_cv_cflags__Wl___build_id" = xyes
19480 then :
19481 CFLAGS="$CFLAGS -Wl,--build-id"
19482 LDFLAGS="$LDFLAGS -Wl,--build-id"
19488 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
19489 printf %s "checking for the need to disable Fortify... " >&6; }
19490 if test ${ac_cv_c_fortify_enabled+y}
19491 then :
19492 printf %s "(cached) " >&6
19493 else $as_nop
19494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19495 /* end confdefs.h. */
19496 #include <string.h>
19498 main (void)
19500 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
19501 #error Fortify enabled
19502 #endif
19504 return 0;
19506 _ACEOF
19507 if ac_fn_c_try_compile "$LINENO"
19508 then :
19509 ac_cv_c_fortify_enabled=no
19510 else $as_nop
19511 ac_cv_c_fortify_enabled=yes
19513 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19515 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
19516 printf "%s\n" "$ac_cv_c_fortify_enabled" >&6; }
19517 if test "$ac_cv_c_fortify_enabled" = yes
19518 then
19519 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
19523 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
19524 printf %s "checking whether CFI directives are supported in assembly code... " >&6; }
19525 if test ${ac_cv_c_cfi_support+y}
19526 then :
19527 printf %s "(cached) " >&6
19528 else $as_nop
19529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19530 /* end confdefs.h. */
19531 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
19533 main (void)
19537 return 0;
19539 _ACEOF
19540 if ac_fn_c_try_compile "$LINENO"
19541 then :
19542 ac_cv_c_cfi_support="yes"
19543 else $as_nop
19544 ac_cv_c_cfi_support="no"
19546 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19548 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
19549 printf "%s\n" "$ac_cv_c_cfi_support" >&6; }
19550 if test "$ac_cv_c_cfi_support" = "yes"
19551 then
19552 DLLFLAGS="$DLLFLAGS -fasynchronous-unwind-tables"
19553 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
19554 UNIXDLLFLAGS="$UNIXDLLFLAGS -fasynchronous-unwind-tables"
19555 elif test $HOST_ARCH = x86_64
19556 then
19557 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
19561 case "$HOST_ARCH,$PE_ARCHS" in
19562 x86_64,*i386*) wine_binary="wine" ;;
19563 x86_64,*) wine_binary="wine64" ;;
19564 *) wine_binary="wine" ;;
19565 esac
19566 WINELOADER_PROGRAMS="$wine_binary"
19569 case $host_os in
19570 linux*)
19571 case $host_cpu in
19572 *i[3456789]86*|x86_64*|*aarch64*|arm*)
19573 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine-preloader"
19574 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
19576 esac
19578 darwin*|macosx*)
19579 if test "$wine_can_build_preloader" = "yes"
19580 then
19581 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine-preloader"
19582 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
19585 esac
19588 ac_save_CFLAGS="$CFLAGS"
19589 CFLAGS="$CFLAGS $BUILTINFLAG"
19590 ac_fn_c_check_func "$LINENO" "epoll_create" "ac_cv_func_epoll_create"
19591 if test "x$ac_cv_func_epoll_create" = xyes
19592 then :
19593 printf "%s\n" "#define HAVE_EPOLL_CREATE 1" >>confdefs.h
19596 ac_fn_c_check_func "$LINENO" "fstatfs" "ac_cv_func_fstatfs"
19597 if test "x$ac_cv_func_fstatfs" = xyes
19598 then :
19599 printf "%s\n" "#define HAVE_FSTATFS 1" >>confdefs.h
19602 ac_fn_c_check_func "$LINENO" "futimens" "ac_cv_func_futimens"
19603 if test "x$ac_cv_func_futimens" = xyes
19604 then :
19605 printf "%s\n" "#define HAVE_FUTIMENS 1" >>confdefs.h
19608 ac_fn_c_check_func "$LINENO" "futimes" "ac_cv_func_futimes"
19609 if test "x$ac_cv_func_futimes" = xyes
19610 then :
19611 printf "%s\n" "#define HAVE_FUTIMES 1" >>confdefs.h
19614 ac_fn_c_check_func "$LINENO" "futimesat" "ac_cv_func_futimesat"
19615 if test "x$ac_cv_func_futimesat" = xyes
19616 then :
19617 printf "%s\n" "#define HAVE_FUTIMESAT 1" >>confdefs.h
19620 ac_fn_c_check_func "$LINENO" "getattrlist" "ac_cv_func_getattrlist"
19621 if test "x$ac_cv_func_getattrlist" = xyes
19622 then :
19623 printf "%s\n" "#define HAVE_GETATTRLIST 1" >>confdefs.h
19626 ac_fn_c_check_func "$LINENO" "getauxval" "ac_cv_func_getauxval"
19627 if test "x$ac_cv_func_getauxval" = xyes
19628 then :
19629 printf "%s\n" "#define HAVE_GETAUXVAL 1" >>confdefs.h
19632 ac_fn_c_check_func "$LINENO" "getifaddrs" "ac_cv_func_getifaddrs"
19633 if test "x$ac_cv_func_getifaddrs" = xyes
19634 then :
19635 printf "%s\n" "#define HAVE_GETIFADDRS 1" >>confdefs.h
19638 ac_fn_c_check_func "$LINENO" "getrandom" "ac_cv_func_getrandom"
19639 if test "x$ac_cv_func_getrandom" = xyes
19640 then :
19641 printf "%s\n" "#define HAVE_GETRANDOM 1" >>confdefs.h
19644 ac_fn_c_check_func "$LINENO" "kqueue" "ac_cv_func_kqueue"
19645 if test "x$ac_cv_func_kqueue" = xyes
19646 then :
19647 printf "%s\n" "#define HAVE_KQUEUE 1" >>confdefs.h
19650 ac_fn_c_check_func "$LINENO" "mach_continuous_time" "ac_cv_func_mach_continuous_time"
19651 if test "x$ac_cv_func_mach_continuous_time" = xyes
19652 then :
19653 printf "%s\n" "#define HAVE_MACH_CONTINUOUS_TIME 1" >>confdefs.h
19656 ac_fn_c_check_func "$LINENO" "pipe2" "ac_cv_func_pipe2"
19657 if test "x$ac_cv_func_pipe2" = xyes
19658 then :
19659 printf "%s\n" "#define HAVE_PIPE2 1" >>confdefs.h
19662 ac_fn_c_check_func "$LINENO" "port_create" "ac_cv_func_port_create"
19663 if test "x$ac_cv_func_port_create" = xyes
19664 then :
19665 printf "%s\n" "#define HAVE_PORT_CREATE 1" >>confdefs.h
19668 ac_fn_c_check_func "$LINENO" "posix_fadvise" "ac_cv_func_posix_fadvise"
19669 if test "x$ac_cv_func_posix_fadvise" = xyes
19670 then :
19671 printf "%s\n" "#define HAVE_POSIX_FADVISE 1" >>confdefs.h
19674 ac_fn_c_check_func "$LINENO" "posix_fallocate" "ac_cv_func_posix_fallocate"
19675 if test "x$ac_cv_func_posix_fallocate" = xyes
19676 then :
19677 printf "%s\n" "#define HAVE_POSIX_FALLOCATE 1" >>confdefs.h
19680 ac_fn_c_check_func "$LINENO" "prctl" "ac_cv_func_prctl"
19681 if test "x$ac_cv_func_prctl" = xyes
19682 then :
19683 printf "%s\n" "#define HAVE_PRCTL 1" >>confdefs.h
19686 ac_fn_c_check_func "$LINENO" "proc_pidinfo" "ac_cv_func_proc_pidinfo"
19687 if test "x$ac_cv_func_proc_pidinfo" = xyes
19688 then :
19689 printf "%s\n" "#define HAVE_PROC_PIDINFO 1" >>confdefs.h
19692 ac_fn_c_check_func "$LINENO" "sched_yield" "ac_cv_func_sched_yield"
19693 if test "x$ac_cv_func_sched_yield" = xyes
19694 then :
19695 printf "%s\n" "#define HAVE_SCHED_YIELD 1" >>confdefs.h
19698 ac_fn_c_check_func "$LINENO" "setproctitle" "ac_cv_func_setproctitle"
19699 if test "x$ac_cv_func_setproctitle" = xyes
19700 then :
19701 printf "%s\n" "#define HAVE_SETPROCTITLE 1" >>confdefs.h
19704 ac_fn_c_check_func "$LINENO" "setprogname" "ac_cv_func_setprogname"
19705 if test "x$ac_cv_func_setprogname" = xyes
19706 then :
19707 printf "%s\n" "#define HAVE_SETPROGNAME 1" >>confdefs.h
19710 ac_fn_c_check_func "$LINENO" "sigprocmask" "ac_cv_func_sigprocmask"
19711 if test "x$ac_cv_func_sigprocmask" = xyes
19712 then :
19713 printf "%s\n" "#define HAVE_SIGPROCMASK 1" >>confdefs.h
19716 ac_fn_c_check_func "$LINENO" "sysinfo" "ac_cv_func_sysinfo"
19717 if test "x$ac_cv_func_sysinfo" = xyes
19718 then :
19719 printf "%s\n" "#define HAVE_SYSINFO 1" >>confdefs.h
19722 ac_fn_c_check_func "$LINENO" "tcdrain" "ac_cv_func_tcdrain"
19723 if test "x$ac_cv_func_tcdrain" = xyes
19724 then :
19725 printf "%s\n" "#define HAVE_TCDRAIN 1" >>confdefs.h
19728 ac_fn_c_check_func "$LINENO" "thr_kill2" "ac_cv_func_thr_kill2"
19729 if test "x$ac_cv_func_thr_kill2" = xyes
19730 then :
19731 printf "%s\n" "#define HAVE_THR_KILL2 1" >>confdefs.h
19735 CFLAGS="$ac_save_CFLAGS"
19737 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
19738 printf %s "checking for library containing dlopen... " >&6; }
19739 if test ${ac_cv_search_dlopen+y}
19740 then :
19741 printf %s "(cached) " >&6
19742 else $as_nop
19743 ac_func_search_save_LIBS=$LIBS
19744 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19745 /* end confdefs.h. */
19747 /* Override any GCC internal prototype to avoid an error.
19748 Use char because int might match the return type of a GCC
19749 builtin and then its argument prototype would still apply. */
19750 char dlopen ();
19752 main (void)
19754 return dlopen ();
19756 return 0;
19758 _ACEOF
19759 for ac_lib in '' dl
19761 if test -z "$ac_lib"; then
19762 ac_res="none required"
19763 else
19764 ac_res=-l$ac_lib
19765 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19767 if ac_fn_c_try_link "$LINENO"
19768 then :
19769 ac_cv_search_dlopen=$ac_res
19771 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19772 conftest$ac_exeext
19773 if test ${ac_cv_search_dlopen+y}
19774 then :
19775 break
19777 done
19778 if test ${ac_cv_search_dlopen+y}
19779 then :
19781 else $as_nop
19782 ac_cv_search_dlopen=no
19784 rm conftest.$ac_ext
19785 LIBS=$ac_func_search_save_LIBS
19787 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
19788 printf "%s\n" "$ac_cv_search_dlopen" >&6; }
19789 ac_res=$ac_cv_search_dlopen
19790 if test "$ac_res" != no
19791 then :
19792 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19796 ac_wine_check_funcs_save_LIBS="$LIBS"
19797 LIBS="$LIBS $DL_LIBS"
19798 ac_fn_c_check_func "$LINENO" "dladdr1" "ac_cv_func_dladdr1"
19799 if test "x$ac_cv_func_dladdr1" = xyes
19800 then :
19801 printf "%s\n" "#define HAVE_DLADDR1 1" >>confdefs.h
19804 ac_fn_c_check_func "$LINENO" "dlinfo" "ac_cv_func_dlinfo"
19805 if test "x$ac_cv_func_dlinfo" = xyes
19806 then :
19807 printf "%s\n" "#define HAVE_DLINFO 1" >>confdefs.h
19811 LIBS="$ac_wine_check_funcs_save_LIBS"
19813 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
19814 printf %s "checking for library containing gethostbyname... " >&6; }
19815 if test ${ac_cv_search_gethostbyname+y}
19816 then :
19817 printf %s "(cached) " >&6
19818 else $as_nop
19819 ac_func_search_save_LIBS=$LIBS
19820 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19821 /* end confdefs.h. */
19823 /* Override any GCC internal prototype to avoid an error.
19824 Use char because int might match the return type of a GCC
19825 builtin and then its argument prototype would still apply. */
19826 char gethostbyname ();
19828 main (void)
19830 return gethostbyname ();
19832 return 0;
19834 _ACEOF
19835 for ac_lib in '' nsl
19837 if test -z "$ac_lib"; then
19838 ac_res="none required"
19839 else
19840 ac_res=-l$ac_lib
19841 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19843 if ac_fn_c_try_link "$LINENO"
19844 then :
19845 ac_cv_search_gethostbyname=$ac_res
19847 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19848 conftest$ac_exeext
19849 if test ${ac_cv_search_gethostbyname+y}
19850 then :
19851 break
19853 done
19854 if test ${ac_cv_search_gethostbyname+y}
19855 then :
19857 else $as_nop
19858 ac_cv_search_gethostbyname=no
19860 rm conftest.$ac_ext
19861 LIBS=$ac_func_search_save_LIBS
19863 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
19864 printf "%s\n" "$ac_cv_search_gethostbyname" >&6; }
19865 ac_res=$ac_cv_search_gethostbyname
19866 if test "$ac_res" != no
19867 then :
19868 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19873 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
19874 printf %s "checking for library containing connect... " >&6; }
19875 if test ${ac_cv_search_connect+y}
19876 then :
19877 printf %s "(cached) " >&6
19878 else $as_nop
19879 ac_func_search_save_LIBS=$LIBS
19880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19881 /* end confdefs.h. */
19883 /* Override any GCC internal prototype to avoid an error.
19884 Use char because int might match the return type of a GCC
19885 builtin and then its argument prototype would still apply. */
19886 char connect ();
19888 main (void)
19890 return connect ();
19892 return 0;
19894 _ACEOF
19895 for ac_lib in '' socket
19897 if test -z "$ac_lib"; then
19898 ac_res="none required"
19899 else
19900 ac_res=-l$ac_lib
19901 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19903 if ac_fn_c_try_link "$LINENO"
19904 then :
19905 ac_cv_search_connect=$ac_res
19907 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19908 conftest$ac_exeext
19909 if test ${ac_cv_search_connect+y}
19910 then :
19911 break
19913 done
19914 if test ${ac_cv_search_connect+y}
19915 then :
19917 else $as_nop
19918 ac_cv_search_connect=no
19920 rm conftest.$ac_ext
19921 LIBS=$ac_func_search_save_LIBS
19923 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
19924 printf "%s\n" "$ac_cv_search_connect" >&6; }
19925 ac_res=$ac_cv_search_connect
19926 if test "$ac_res" != no
19927 then :
19928 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19933 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
19934 printf %s "checking for library containing inet_aton... " >&6; }
19935 if test ${ac_cv_search_inet_aton+y}
19936 then :
19937 printf %s "(cached) " >&6
19938 else $as_nop
19939 ac_func_search_save_LIBS=$LIBS
19940 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19941 /* end confdefs.h. */
19943 /* Override any GCC internal prototype to avoid an error.
19944 Use char because int might match the return type of a GCC
19945 builtin and then its argument prototype would still apply. */
19946 char inet_aton ();
19948 main (void)
19950 return inet_aton ();
19952 return 0;
19954 _ACEOF
19955 for ac_lib in '' resolv
19957 if test -z "$ac_lib"; then
19958 ac_res="none required"
19959 else
19960 ac_res=-l$ac_lib
19961 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19963 if ac_fn_c_try_link "$LINENO"
19964 then :
19965 ac_cv_search_inet_aton=$ac_res
19967 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19968 conftest$ac_exeext
19969 if test ${ac_cv_search_inet_aton+y}
19970 then :
19971 break
19973 done
19974 if test ${ac_cv_search_inet_aton+y}
19975 then :
19977 else $as_nop
19978 ac_cv_search_inet_aton=no
19980 rm conftest.$ac_ext
19981 LIBS=$ac_func_search_save_LIBS
19983 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
19984 printf "%s\n" "$ac_cv_search_inet_aton" >&6; }
19985 ac_res=$ac_cv_search_inet_aton
19986 if test "$ac_res" != no
19987 then :
19988 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19993 ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
19994 if test "x$ac_cv_func_getaddrinfo" = xyes
19995 then :
19996 printf "%s\n" "#define HAVE_GETADDRINFO 1" >>confdefs.h
20001 case $host_os in
20002 darwin*|macosx*) ;;
20003 *) ac_save_LIBS=$LIBS
20004 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
20005 printf %s "checking for library containing clock_gettime... " >&6; }
20006 if test ${ac_cv_search_clock_gettime+y}
20007 then :
20008 printf %s "(cached) " >&6
20009 else $as_nop
20010 ac_func_search_save_LIBS=$LIBS
20011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20012 /* end confdefs.h. */
20014 /* Override any GCC internal prototype to avoid an error.
20015 Use char because int might match the return type of a GCC
20016 builtin and then its argument prototype would still apply. */
20017 char clock_gettime ();
20019 main (void)
20021 return clock_gettime ();
20023 return 0;
20025 _ACEOF
20026 for ac_lib in '' rt
20028 if test -z "$ac_lib"; then
20029 ac_res="none required"
20030 else
20031 ac_res=-l$ac_lib
20032 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
20034 if ac_fn_c_try_link "$LINENO"
20035 then :
20036 ac_cv_search_clock_gettime=$ac_res
20038 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20039 conftest$ac_exeext
20040 if test ${ac_cv_search_clock_gettime+y}
20041 then :
20042 break
20044 done
20045 if test ${ac_cv_search_clock_gettime+y}
20046 then :
20048 else $as_nop
20049 ac_cv_search_clock_gettime=no
20051 rm conftest.$ac_ext
20052 LIBS=$ac_func_search_save_LIBS
20054 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
20055 printf "%s\n" "$ac_cv_search_clock_gettime" >&6; }
20056 ac_res=$ac_cv_search_clock_gettime
20057 if test "$ac_res" != no
20058 then :
20059 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
20061 printf "%s\n" "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
20063 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
20067 LIBS=$ac_save_LIBS
20069 esac
20071 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
20072 printf %s "checking for sched_setaffinity... " >&6; }
20073 if test ${wine_cv_have_sched_setaffinity+y}
20074 then :
20075 printf %s "(cached) " >&6
20076 else $as_nop
20077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20078 /* end confdefs.h. */
20079 #include <sched.h>
20081 main (void)
20083 sched_setaffinity(0, 0, 0);
20085 return 0;
20087 _ACEOF
20088 if ac_fn_c_try_link "$LINENO"
20089 then :
20090 wine_cv_have_sched_setaffinity=yes
20091 else $as_nop
20092 wine_cv_have_sched_setaffinity=no
20094 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20095 conftest$ac_exeext conftest.$ac_ext
20097 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
20098 printf "%s\n" "$wine_cv_have_sched_setaffinity" >&6; }
20099 if test "$wine_cv_have_sched_setaffinity" = "yes"
20100 then
20102 printf "%s\n" "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
20107 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
20108 printf %s "checking for inline... " >&6; }
20109 if test ${ac_cv_c_inline+y}
20110 then :
20111 printf %s "(cached) " >&6
20112 else $as_nop
20113 ac_cv_c_inline=no
20114 for ac_kw in inline __inline__ __inline; do
20115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20116 /* end confdefs.h. */
20117 #ifndef __cplusplus
20118 typedef int foo_t;
20119 static $ac_kw foo_t static_foo (void) {return 0; }
20120 $ac_kw foo_t foo (void) {return 0; }
20121 #endif
20123 _ACEOF
20124 if ac_fn_c_try_compile "$LINENO"
20125 then :
20126 ac_cv_c_inline=$ac_kw
20128 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
20129 test "$ac_cv_c_inline" != no && break
20130 done
20133 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
20134 printf "%s\n" "$ac_cv_c_inline" >&6; }
20136 case $ac_cv_c_inline in
20137 inline | yes) ;;
20139 case $ac_cv_c_inline in
20140 no) ac_val=;;
20141 *) ac_val=$ac_cv_c_inline;;
20142 esac
20143 cat >>confdefs.h <<_ACEOF
20144 #ifndef __cplusplus
20145 #define inline $ac_val
20146 #endif
20147 _ACEOF
20149 esac
20151 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
20152 #include <signal.h>
20154 if test "x$ac_cv_type_sigset_t" = xyes
20155 then :
20157 printf "%s\n" "#define HAVE_SIGSET_T 1" >>confdefs.h
20162 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
20164 if test "x$ac_cv_type_request_sense" = xyes
20165 then :
20167 printf "%s\n" "#define HAVE_REQUEST_SENSE 1" >>confdefs.h
20173 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
20174 #include <sys/socket.h>
20175 #ifdef HAVE_SYS_SOCKETVAR_H
20176 #include <sys/socketvar.h>
20177 #endif
20178 #ifdef HAVE_NET_ROUTE_H
20179 #include <net/route.h>
20180 #endif
20181 #ifdef HAVE_NETINET_IN_H
20182 #include <netinet/in.h>
20183 #endif
20184 #ifdef HAVE_NETINET_IN_SYSTM_H
20185 #include <netinet/in_systm.h>
20186 #endif
20187 #ifdef HAVE_NETINET_IP_H
20188 #include <netinet/ip.h>
20189 #endif
20190 #ifdef HAVE_NETINET_IN_PCB_H
20191 #include <netinet/in_pcb.h>
20192 #endif
20194 if test "x$ac_cv_type_struct_xinpgen" = xyes
20195 then :
20197 printf "%s\n" "#define HAVE_STRUCT_XINPGEN 1" >>confdefs.h
20203 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
20204 printf %s "checking for sigaddset... " >&6; }
20205 if test ${wine_cv_have_sigaddset+y}
20206 then :
20207 printf %s "(cached) " >&6
20208 else $as_nop
20209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20210 /* end confdefs.h. */
20211 #include <signal.h>
20213 main (void)
20215 sigset_t set; sigaddset(&set,SIGTERM);
20217 return 0;
20219 _ACEOF
20220 if ac_fn_c_try_link "$LINENO"
20221 then :
20222 wine_cv_have_sigaddset=yes
20223 else $as_nop
20224 wine_cv_have_sigaddset=no
20226 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20227 conftest$ac_exeext conftest.$ac_ext
20229 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
20230 printf "%s\n" "$wine_cv_have_sigaddset" >&6; }
20231 if test "$wine_cv_have_sigaddset" = "yes"
20232 then
20234 printf "%s\n" "#define HAVE_SIGADDSET 1" >>confdefs.h
20239 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
20240 printf %s "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
20241 if test ${wine_cv_linux_gethostbyname_r_6+y}
20242 then :
20243 printf %s "(cached) " >&6
20244 else $as_nop
20245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20246 /* end confdefs.h. */
20247 #include <netdb.h>
20249 main (void)
20252 char *name=0;
20253 struct hostent he;
20254 struct hostent *result;
20255 char *buf=0;
20256 int bufsize=0;
20257 int errnr;
20258 char *addr=0;
20259 int addrlen=0;
20260 int addrtype=0;
20261 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
20262 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
20265 return 0;
20267 _ACEOF
20268 if ac_fn_c_try_link "$LINENO"
20269 then :
20270 wine_cv_linux_gethostbyname_r_6=yes
20271 else $as_nop
20272 wine_cv_linux_gethostbyname_r_6=no
20275 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20276 conftest$ac_exeext conftest.$ac_ext
20279 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
20280 printf "%s\n" "$wine_cv_linux_gethostbyname_r_6" >&6; }
20281 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
20282 then
20284 printf "%s\n" "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
20288 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
20289 #include <sys/socket.h>
20290 #ifdef HAVE_SYS_UN_H
20291 # include <sys/un.h>
20292 #endif
20294 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
20295 then :
20297 printf "%s\n" "#define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1" >>confdefs.h
20301 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
20302 #include <sys/socket.h>
20303 #ifdef HAVE_SYS_UN_H
20304 # include <sys/un.h>
20305 #endif
20307 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
20308 then :
20310 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1" >>confdefs.h
20316 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
20317 #ifdef HAVE_SCSI_SG_H
20318 #include <scsi/sg.h>
20319 #endif
20321 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
20322 then :
20324 printf "%s\n" "#define HAVE_SCSIREQ_T_CMD 1" >>confdefs.h
20328 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>
20329 #ifdef HAVE_SCSI_SG_H
20330 #include <scsi/sg.h>
20331 #endif
20333 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
20334 then :
20336 printf "%s\n" "#define HAVE_SG_IO_HDR_T_INTERFACE_ID 1" >>confdefs.h
20342 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
20344 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
20345 then :
20347 printf "%s\n" "#define HAVE_SIGINFO_T_SI_FD 1" >>confdefs.h
20353 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
20354 #ifdef HAVE_SYS_MTIO_H
20355 #include <sys/mtio.h>
20356 #endif
20358 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
20359 then :
20361 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKSIZ 1" >>confdefs.h
20365 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
20366 #ifdef HAVE_SYS_MTIO_H
20367 #include <sys/mtio.h>
20368 #endif
20370 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
20371 then :
20373 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_GSTAT 1" >>confdefs.h
20377 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
20378 #ifdef HAVE_SYS_MTIO_H
20379 #include <sys/mtio.h>
20380 #endif
20382 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
20383 then :
20385 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKNO 1" >>confdefs.h
20391 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
20392 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
20393 then :
20395 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIM 1" >>confdefs.h
20399 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
20400 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
20401 then :
20403 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIMESPEC 1" >>confdefs.h
20407 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
20408 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
20409 then :
20411 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIM 1" >>confdefs.h
20415 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
20416 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
20417 then :
20419 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIMESPEC 1" >>confdefs.h
20423 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
20424 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
20425 then :
20427 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIM 1" >>confdefs.h
20431 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
20432 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
20433 then :
20435 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIMESPEC 1" >>confdefs.h
20439 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
20440 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
20441 then :
20443 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIME 1" >>confdefs.h
20447 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
20448 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
20449 then :
20451 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIM 1" >>confdefs.h
20455 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
20456 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
20457 then :
20459 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1" >>confdefs.h
20463 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
20464 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
20465 then :
20467 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIME 1" >>confdefs.h
20471 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
20472 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
20473 then :
20475 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIM 1" >>confdefs.h
20481 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>
20482 #ifdef HAVE_NETINET_IN_H
20483 #include <netinet/in.h>
20484 #endif
20486 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
20487 then :
20489 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1" >>confdefs.h
20495 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
20496 #include <resolv.h>
20497 #endif
20499 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
20500 then :
20502 printf "%s\n" "#define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1" >>confdefs.h
20508 ac_fn_c_check_member "$LINENO" "struct in6_pktinfo" "ipi6_addr" "ac_cv_member_struct_in6_pktinfo_ipi6_addr" "#ifdef HAVE_NETINET_IN_H
20509 #include <netinet/in.h>
20510 #endif
20512 if test "x$ac_cv_member_struct_in6_pktinfo_ipi6_addr" = xyes
20513 then :
20515 printf "%s\n" "#define HAVE_STRUCT_IN6_PKTINFO_IPI6_ADDR 1" >>confdefs.h
20521 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#include <sys/types.h>
20522 #ifdef HAVE_SYS_SOCKETVAR_H
20523 #include <sys/socketvar.h>
20524 #endif
20525 #ifdef HAVE_NETINET_IN_H
20526 #include <netinet/in.h>
20527 #endif
20528 #ifdef HAVE_NETINET_IP_VAR_H
20529 #include <netinet/ip_var.h>
20530 #endif
20532 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
20533 then :
20535 printf "%s\n" "#define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1" >>confdefs.h
20541 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
20542 #include <netinet/ip_var.h>
20543 #endif
20545 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
20546 then :
20548 printf "%s\n" "#define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1" >>confdefs.h
20554 ac_fn_c_check_member "$LINENO" "struct ip6stat" "ip6s_total" "ac_cv_member_struct_ip6stat_ip6s_total" "#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_NETINET6_IP6_VAR_H
20562 #include <netinet6/ip6_var.h>
20563 #endif
20565 if test "x$ac_cv_member_struct_ip6stat_ip6s_total" = xyes
20566 then :
20568 printf "%s\n" "#define HAVE_STRUCT_IP6STAT_IP6S_TOTAL 1" >>confdefs.h
20574 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_error" "ac_cv_member_struct_icmpstat_icps_error" "#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_IP_H
20582 #include <netinet/ip.h>
20583 #endif
20584 #ifdef HAVE_NETINET_IP_ICMP_H
20585 #include <netinet/ip_icmp.h>
20586 #endif
20587 #ifdef HAVE_NETINET_ICMP_VAR_H
20588 #include <netinet/icmp_var.h>
20589 #endif
20591 if test "x$ac_cv_member_struct_icmpstat_icps_error" = xyes
20592 then :
20594 printf "%s\n" "#define HAVE_STRUCT_ICMPSTAT_ICPS_ERROR 1" >>confdefs.h
20600 ac_fn_c_check_member "$LINENO" "struct icmp6stat" "icp6s_error" "ac_cv_member_struct_icmp6stat_icp6s_error" "#include <sys/types.h>
20601 #ifdef HAVE_SYS_SOCKETVAR_H
20602 #include <sys/socketvar.h>
20603 #endif
20604 #ifdef HAVE_NETINET_IN_H
20605 #include <netinet/in.h>
20606 #endif
20607 #ifdef HAVE_NETINET_ICMP6_H
20608 #include <netinet/icmp6.h>
20609 #endif
20611 if test "x$ac_cv_member_struct_icmp6stat_icp6s_error" = xyes
20612 then :
20614 printf "%s\n" "#define HAVE_STRUCT_ICMP6STAT_ICP6S_ERROR 1" >>confdefs.h
20620 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#include <sys/types.h>
20621 #ifdef HAVE_SYS_SOCKETVAR_H
20622 #include <sys/socketvar.h>
20623 #endif
20624 #ifdef HAVE_NETINET_IN_H
20625 #include <netinet/in.h>
20626 #endif
20627 #ifdef HAVE_NETINET_TCP_H
20628 #include <netinet/tcp.h>
20629 #endif
20630 #ifdef HAVE_NETINET_TCP_VAR_H
20631 #include <netinet/tcp_var.h>
20632 #endif
20634 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
20635 then :
20637 printf "%s\n" "#define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1" >>confdefs.h
20643 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
20644 #include <netinet/tcp_var.h>
20645 #endif
20647 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
20648 then :
20650 printf "%s\n" "#define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1" >>confdefs.h
20656 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#include <sys/types.h>
20657 #ifdef HAVE_NETINET_IN_H
20658 #include <netinet/in.h>
20659 #endif
20660 #ifdef HAVE_NETINET_IP_VAR_H
20661 #include <netinet/ip_var.h>
20662 #endif
20663 #ifdef HAVE_NETINET_UDP_H
20664 #include <netinet/udp.h>
20665 #endif
20666 #ifdef HAVE_NETINET_UDP_VAR_H
20667 #include <netinet/udp_var.h>
20668 #endif
20670 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
20671 then :
20673 printf "%s\n" "#define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1" >>confdefs.h
20679 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#include <sys/types.h>
20680 #ifdef HAVE_NET_IF_H
20681 # include <net/if.h>
20682 #endif
20684 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
20685 then :
20687 printf "%s\n" "#define HAVE_STRUCT_IFREQ_IFR_HWADDR 1" >>confdefs.h
20693 ac_fn_c_check_member "$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
20694 # include <sys/sysinfo.h>
20695 #endif
20697 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes
20698 then :
20700 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_TOTALRAM 1" >>confdefs.h
20704 ac_fn_c_check_member "$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
20705 # include <sys/sysinfo.h>
20706 #endif
20708 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes
20709 then :
20711 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_MEM_UNIT 1" >>confdefs.h
20717 LIBS="$ac_save_LIBS"
20719 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
20720 printf %s "checking for __builtin_popcount... " >&6; }
20721 if test ${ac_cv_have___builtin_popcount+y}
20722 then :
20723 printf %s "(cached) " >&6
20724 else $as_nop
20725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20726 /* end confdefs.h. */
20729 main (void)
20731 return __builtin_popcount(1)
20733 return 0;
20735 _ACEOF
20736 if ac_fn_c_try_link "$LINENO"
20737 then :
20738 ac_cv_have___builtin_popcount="yes"
20739 else $as_nop
20740 ac_cv_have___builtin_popcount="no"
20742 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20743 conftest$ac_exeext conftest.$ac_ext
20745 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
20746 printf "%s\n" "$ac_cv_have___builtin_popcount" >&6; }
20747 if test "$ac_cv_have___builtin_popcount" = "yes"
20748 then
20750 printf "%s\n" "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
20754 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
20755 printf %s "checking for __clear_cache... " >&6; }
20756 if test ${ac_cv_have___clear_cache+y}
20757 then :
20758 printf %s "(cached) " >&6
20759 else $as_nop
20760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20761 /* end confdefs.h. */
20764 main (void)
20766 __clear_cache((void*)0, (void*)0); return 0;
20768 return 0;
20770 _ACEOF
20771 if ac_fn_c_try_link "$LINENO"
20772 then :
20773 ac_cv_have___clear_cache="yes"
20774 else $as_nop
20775 ac_cv_have___clear_cache="no"
20777 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20778 conftest$ac_exeext conftest.$ac_ext
20780 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
20781 printf "%s\n" "$ac_cv_have___clear_cache" >&6; }
20782 if test "$ac_cv_have___clear_cache" = "yes"
20783 then
20785 printf "%s\n" "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
20790 case $host_cpu in
20791 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
20792 printf %s "checking whether we need to define __i386__... " >&6; }
20793 if test ${ac_cv_cpp_def___i386__+y}
20794 then :
20795 printf %s "(cached) " >&6
20796 else $as_nop
20797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20798 /* end confdefs.h. */
20799 #ifndef __i386__
20801 #endif
20802 _ACEOF
20803 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20804 $EGREP "yes" >/dev/null 2>&1
20805 then :
20806 ac_cv_cpp_def___i386__=yes
20807 else $as_nop
20808 ac_cv_cpp_def___i386__=no
20810 rm -rf conftest*
20813 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
20814 printf "%s\n" "$ac_cv_cpp_def___i386__" >&6; }
20815 if test "x$ac_cv_cpp_def___i386__" = xyes
20816 then :
20817 CFLAGS="$CFLAGS -D__i386__"
20818 LINTFLAGS="$LINTFLAGS -D__i386__"
20819 fi ;;
20820 *x86_64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
20821 printf %s "checking whether we need to define __x86_64__... " >&6; }
20822 if test ${ac_cv_cpp_def___x86_64__+y}
20823 then :
20824 printf %s "(cached) " >&6
20825 else $as_nop
20826 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20827 /* end confdefs.h. */
20828 #ifndef __x86_64__
20830 #endif
20831 _ACEOF
20832 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20833 $EGREP "yes" >/dev/null 2>&1
20834 then :
20835 ac_cv_cpp_def___x86_64__=yes
20836 else $as_nop
20837 ac_cv_cpp_def___x86_64__=no
20839 rm -rf conftest*
20842 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
20843 printf "%s\n" "$ac_cv_cpp_def___x86_64__" >&6; }
20844 if test "x$ac_cv_cpp_def___x86_64__" = xyes
20845 then :
20846 CFLAGS="$CFLAGS -D__x86_64__"
20847 LINTFLAGS="$LINTFLAGS -D__x86_64__"
20848 fi ;;
20849 *sparc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
20850 printf %s "checking whether we need to define __sparc64__... " >&6; }
20851 if test ${ac_cv_cpp_def___sparc64__+y}
20852 then :
20853 printf %s "(cached) " >&6
20854 else $as_nop
20855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20856 /* end confdefs.h. */
20857 #ifndef __sparc64__
20859 #endif
20860 _ACEOF
20861 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20862 $EGREP "yes" >/dev/null 2>&1
20863 then :
20864 ac_cv_cpp_def___sparc64__=yes
20865 else $as_nop
20866 ac_cv_cpp_def___sparc64__=no
20868 rm -rf conftest*
20871 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
20872 printf "%s\n" "$ac_cv_cpp_def___sparc64__" >&6; }
20873 if test "x$ac_cv_cpp_def___sparc64__" = xyes
20874 then :
20875 CFLAGS="$CFLAGS -D__sparc64__"
20876 LINTFLAGS="$LINTFLAGS -D__sparc64__"
20877 fi ;;
20878 *sparc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
20879 printf %s "checking whether we need to define __sparc__... " >&6; }
20880 if test ${ac_cv_cpp_def___sparc__+y}
20881 then :
20882 printf %s "(cached) " >&6
20883 else $as_nop
20884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20885 /* end confdefs.h. */
20886 #ifndef __sparc__
20888 #endif
20889 _ACEOF
20890 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20891 $EGREP "yes" >/dev/null 2>&1
20892 then :
20893 ac_cv_cpp_def___sparc__=yes
20894 else $as_nop
20895 ac_cv_cpp_def___sparc__=no
20897 rm -rf conftest*
20900 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
20901 printf "%s\n" "$ac_cv_cpp_def___sparc__" >&6; }
20902 if test "x$ac_cv_cpp_def___sparc__" = xyes
20903 then :
20904 CFLAGS="$CFLAGS -D__sparc__"
20905 LINTFLAGS="$LINTFLAGS -D__sparc__"
20906 fi ;;
20907 *powerpc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
20908 printf %s "checking whether we need to define __powerpc64__... " >&6; }
20909 if test ${ac_cv_cpp_def___powerpc64__+y}
20910 then :
20911 printf %s "(cached) " >&6
20912 else $as_nop
20913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20914 /* end confdefs.h. */
20915 #ifndef __powerpc64__
20917 #endif
20918 _ACEOF
20919 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20920 $EGREP "yes" >/dev/null 2>&1
20921 then :
20922 ac_cv_cpp_def___powerpc64__=yes
20923 else $as_nop
20924 ac_cv_cpp_def___powerpc64__=no
20926 rm -rf conftest*
20929 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
20930 printf "%s\n" "$ac_cv_cpp_def___powerpc64__" >&6; }
20931 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
20932 then :
20933 CFLAGS="$CFLAGS -D__powerpc64__"
20934 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
20935 fi ;;
20936 *powerpc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
20937 printf %s "checking whether we need to define __powerpc__... " >&6; }
20938 if test ${ac_cv_cpp_def___powerpc__+y}
20939 then :
20940 printf %s "(cached) " >&6
20941 else $as_nop
20942 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20943 /* end confdefs.h. */
20944 #ifndef __powerpc__
20946 #endif
20947 _ACEOF
20948 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20949 $EGREP "yes" >/dev/null 2>&1
20950 then :
20951 ac_cv_cpp_def___powerpc__=yes
20952 else $as_nop
20953 ac_cv_cpp_def___powerpc__=no
20955 rm -rf conftest*
20958 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
20959 printf "%s\n" "$ac_cv_cpp_def___powerpc__" >&6; }
20960 if test "x$ac_cv_cpp_def___powerpc__" = xyes
20961 then :
20962 CFLAGS="$CFLAGS -D__powerpc__"
20963 LINTFLAGS="$LINTFLAGS -D__powerpc__"
20964 fi ;;
20965 *aarch64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
20966 printf %s "checking whether we need to define __aarch64__... " >&6; }
20967 if test ${ac_cv_cpp_def___aarch64__+y}
20968 then :
20969 printf %s "(cached) " >&6
20970 else $as_nop
20971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20972 /* end confdefs.h. */
20973 #ifndef __aarch64__
20975 #endif
20976 _ACEOF
20977 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20978 $EGREP "yes" >/dev/null 2>&1
20979 then :
20980 ac_cv_cpp_def___aarch64__=yes
20981 else $as_nop
20982 ac_cv_cpp_def___aarch64__=no
20984 rm -rf conftest*
20987 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
20988 printf "%s\n" "$ac_cv_cpp_def___aarch64__" >&6; }
20989 if test "x$ac_cv_cpp_def___aarch64__" = xyes
20990 then :
20991 CFLAGS="$CFLAGS -D__aarch64__"
20992 LINTFLAGS="$LINTFLAGS -D__aarch64__"
20993 fi ;;
20994 *arm*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
20995 printf %s "checking whether we need to define __arm__... " >&6; }
20996 if test ${ac_cv_cpp_def___arm__+y}
20997 then :
20998 printf %s "(cached) " >&6
20999 else $as_nop
21000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21001 /* end confdefs.h. */
21002 #ifndef __arm__
21004 #endif
21005 _ACEOF
21006 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21007 $EGREP "yes" >/dev/null 2>&1
21008 then :
21009 ac_cv_cpp_def___arm__=yes
21010 else $as_nop
21011 ac_cv_cpp_def___arm__=no
21013 rm -rf conftest*
21016 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
21017 printf "%s\n" "$ac_cv_cpp_def___arm__" >&6; }
21018 if test "x$ac_cv_cpp_def___arm__" = xyes
21019 then :
21020 CFLAGS="$CFLAGS -D__arm__"
21021 LINTFLAGS="$LINTFLAGS -D__arm__"
21022 fi ;;
21023 esac
21025 case $host_vendor in
21026 *sun*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
21027 printf %s "checking whether we need to define __sun__... " >&6; }
21028 if test ${ac_cv_cpp_def___sun__+y}
21029 then :
21030 printf %s "(cached) " >&6
21031 else $as_nop
21032 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
21033 /* end confdefs.h. */
21034 #ifndef __sun__
21036 #endif
21037 _ACEOF
21038 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
21039 $EGREP "yes" >/dev/null 2>&1
21040 then :
21041 ac_cv_cpp_def___sun__=yes
21042 else $as_nop
21043 ac_cv_cpp_def___sun__=no
21045 rm -rf conftest*
21048 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
21049 printf "%s\n" "$ac_cv_cpp_def___sun__" >&6; }
21050 if test "x$ac_cv_cpp_def___sun__" = xyes
21051 then :
21052 CFLAGS="$CFLAGS -D__sun__"
21053 LINTFLAGS="$LINTFLAGS -D__sun__"
21054 fi ;;
21055 esac
21061 ac_config_commands="$ac_config_commands include/stamp-h"
21063 printf %s "creating Makefile rules..." >&6
21065 makedep_flags=""
21066 test "x$enable_silent_rules" = xyes && makedep_flags="$makedep_flags -S"
21068 wine_srcdir=
21069 test "$srcdir" = . || wine_srcdir="$srcdir/"
21071 ac_config_links="$ac_config_links wine:tools/winewrapper"
21072 wine_fn_config_symlink wine
21073 if test "$HOST_ARCH" = x86_64 -o -n "$with_wine64"; then
21074 ac_config_links="$ac_config_links wine64:tools/winewrapper"
21075 wine_fn_config_symlink wine64
21078 wine_fn_config_makefile dlls/acledit enable_acledit
21079 wine_fn_config_makefile dlls/aclui enable_aclui
21080 wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
21081 wine_fn_config_makefile dlls/activeds enable_activeds
21082 wine_fn_config_makefile dlls/activeds/tests enable_tests
21083 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
21084 wine_fn_config_makefile dlls/adsldp enable_adsldp
21085 wine_fn_config_makefile dlls/adsldp/tests enable_tests
21086 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
21087 wine_fn_config_makefile dlls/advapi32 enable_advapi32
21088 wine_fn_config_makefile dlls/advapi32/tests enable_tests
21089 wine_fn_config_makefile dlls/advpack enable_advpack
21090 wine_fn_config_makefile dlls/advpack/tests enable_tests
21091 wine_fn_config_makefile dlls/amsi enable_amsi
21092 wine_fn_config_makefile dlls/amstream enable_amstream
21093 wine_fn_config_makefile dlls/amstream/tests enable_tests
21094 wine_fn_config_makefile dlls/apisetschema enable_apisetschema
21095 wine_fn_config_makefile dlls/apphelp enable_apphelp
21096 wine_fn_config_makefile dlls/apphelp/tests enable_tests
21097 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
21098 wine_fn_config_makefile dlls/atl enable_atl
21099 wine_fn_config_makefile dlls/atl/tests enable_tests
21100 wine_fn_config_makefile dlls/atl100 enable_atl100
21101 wine_fn_config_makefile dlls/atl100/tests enable_tests
21102 wine_fn_config_makefile dlls/atl110 enable_atl110
21103 wine_fn_config_makefile dlls/atl110/tests enable_tests
21104 wine_fn_config_makefile dlls/atl80 enable_atl80
21105 wine_fn_config_makefile dlls/atl80/tests enable_tests
21106 wine_fn_config_makefile dlls/atl90 enable_atl90
21107 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
21108 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
21109 wine_fn_config_makefile dlls/atmlib enable_atmlib
21110 wine_fn_config_makefile dlls/authz enable_authz
21111 wine_fn_config_makefile dlls/avicap32 enable_avicap32
21112 wine_fn_config_makefile dlls/avifil32 enable_avifil32
21113 wine_fn_config_makefile dlls/avifil32/tests enable_tests
21114 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
21115 wine_fn_config_makefile dlls/avrt enable_avrt
21116 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
21117 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
21118 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
21119 wine_fn_config_makefile dlls/browseui enable_browseui
21120 wine_fn_config_makefile dlls/browseui/tests enable_tests
21121 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
21122 wine_fn_config_makefile dlls/cabinet enable_cabinet
21123 wine_fn_config_makefile dlls/cabinet/tests enable_tests
21124 wine_fn_config_makefile dlls/capi2032 enable_capi2032
21125 wine_fn_config_makefile dlls/cards enable_cards
21126 wine_fn_config_makefile dlls/cdosys enable_cdosys
21127 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
21128 wine_fn_config_makefile dlls/clusapi enable_clusapi
21129 wine_fn_config_makefile dlls/cng.sys enable_cng_sys
21130 wine_fn_config_makefile dlls/combase enable_combase
21131 wine_fn_config_makefile dlls/combase/tests enable_tests
21132 wine_fn_config_makefile dlls/comcat enable_comcat
21133 wine_fn_config_makefile dlls/comcat/tests enable_tests
21134 wine_fn_config_makefile dlls/comctl32 enable_comctl32
21135 wine_fn_config_makefile dlls/comctl32/tests enable_tests
21136 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
21137 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
21138 wine_fn_config_makefile dlls/comm.drv16 enable_win16
21139 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
21140 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
21141 wine_fn_config_makefile dlls/compstui enable_compstui
21142 wine_fn_config_makefile dlls/compstui/tests enable_tests
21143 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
21144 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
21145 wine_fn_config_makefile dlls/concrt140 enable_concrt140
21146 wine_fn_config_makefile dlls/concrt140/tests enable_tests
21147 wine_fn_config_makefile dlls/connect enable_connect
21148 wine_fn_config_makefile dlls/credui enable_credui
21149 wine_fn_config_makefile dlls/credui/tests enable_tests
21150 wine_fn_config_makefile dlls/crtdll enable_crtdll
21151 wine_fn_config_makefile dlls/crypt32 enable_crypt32
21152 wine_fn_config_makefile dlls/crypt32/tests enable_tests
21153 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
21154 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
21155 wine_fn_config_makefile dlls/cryptext enable_cryptext
21156 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
21157 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
21158 wine_fn_config_makefile dlls/cryptowinrt enable_cryptowinrt
21159 wine_fn_config_makefile dlls/cryptsp enable_cryptsp
21160 wine_fn_config_makefile dlls/cryptui enable_cryptui
21161 wine_fn_config_makefile dlls/cryptui/tests enable_tests
21162 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
21163 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
21164 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
21165 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
21166 wine_fn_config_makefile dlls/d2d1 enable_d2d1
21167 wine_fn_config_makefile dlls/d2d1/tests enable_tests
21168 wine_fn_config_makefile dlls/d3d10 enable_d3d10
21169 wine_fn_config_makefile dlls/d3d10/tests enable_tests
21170 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
21171 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
21172 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
21173 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
21174 wine_fn_config_makefile dlls/d3d11 enable_d3d11
21175 wine_fn_config_makefile dlls/d3d11/tests enable_tests
21176 wine_fn_config_makefile dlls/d3d12 enable_d3d12
21177 wine_fn_config_makefile dlls/d3d12/tests enable_tests
21178 wine_fn_config_makefile dlls/d3d8 enable_d3d8
21179 wine_fn_config_makefile dlls/d3d8/tests enable_tests
21180 wine_fn_config_makefile dlls/d3d8thk enable_d3d8thk
21181 wine_fn_config_makefile dlls/d3d9 enable_d3d9
21182 wine_fn_config_makefile dlls/d3d9/tests enable_tests
21183 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
21184 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
21185 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
21186 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
21187 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
21188 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
21189 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
21190 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
21191 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
21192 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
21193 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
21194 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
21195 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
21196 wine_fn_config_makefile dlls/d3dcompiler_46/tests enable_tests
21197 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
21198 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
21199 wine_fn_config_makefile dlls/d3dim enable_d3dim
21200 wine_fn_config_makefile dlls/d3dim700 enable_d3dim700
21201 wine_fn_config_makefile dlls/d3drm enable_d3drm
21202 wine_fn_config_makefile dlls/d3drm/tests enable_tests
21203 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
21204 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
21205 wine_fn_config_makefile dlls/d3dx10_34/tests enable_tests
21206 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
21207 wine_fn_config_makefile dlls/d3dx10_35/tests enable_tests
21208 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
21209 wine_fn_config_makefile dlls/d3dx10_36/tests enable_tests
21210 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
21211 wine_fn_config_makefile dlls/d3dx10_37/tests enable_tests
21212 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
21213 wine_fn_config_makefile dlls/d3dx10_38/tests enable_tests
21214 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
21215 wine_fn_config_makefile dlls/d3dx10_39/tests enable_tests
21216 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
21217 wine_fn_config_makefile dlls/d3dx10_40/tests enable_tests
21218 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
21219 wine_fn_config_makefile dlls/d3dx10_41/tests enable_tests
21220 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
21221 wine_fn_config_makefile dlls/d3dx10_42/tests enable_tests
21222 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
21223 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
21224 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
21225 wine_fn_config_makefile dlls/d3dx11_42/tests enable_tests
21226 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
21227 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
21228 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
21229 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
21230 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
21231 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
21232 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
21233 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
21234 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
21235 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
21236 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
21237 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
21238 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
21239 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
21240 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
21241 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
21242 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
21243 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
21244 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
21245 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
21246 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
21247 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
21248 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
21249 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
21250 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
21251 wine_fn_config_makefile dlls/davclnt enable_davclnt
21252 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
21253 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
21254 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
21255 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
21256 wine_fn_config_makefile dlls/dciman32 enable_dciman32
21257 wine_fn_config_makefile dlls/dcomp enable_dcomp
21258 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
21259 wine_fn_config_makefile dlls/ddraw enable_ddraw
21260 wine_fn_config_makefile dlls/ddraw/tests enable_tests
21261 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
21262 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
21263 wine_fn_config_makefile dlls/devenum enable_devenum
21264 wine_fn_config_makefile dlls/devenum/tests enable_tests
21265 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
21266 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
21267 wine_fn_config_makefile dlls/dhcpcsvc6 enable_dhcpcsvc6
21268 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
21269 wine_fn_config_makefile dlls/diasymreader enable_diasymreader
21270 wine_fn_config_makefile dlls/difxapi enable_difxapi
21271 wine_fn_config_makefile dlls/dinput enable_dinput
21272 wine_fn_config_makefile dlls/dinput/tests enable_tests
21273 wine_fn_config_makefile dlls/dinput8 enable_dinput8
21274 wine_fn_config_makefile dlls/directmanipulation enable_directmanipulation
21275 wine_fn_config_makefile dlls/directmanipulation/tests enable_tests
21276 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
21277 wine_fn_config_makefile dlls/dispex enable_dispex
21278 wine_fn_config_makefile dlls/dispex/tests enable_tests
21279 wine_fn_config_makefile dlls/display.drv16 enable_win16
21280 wine_fn_config_makefile dlls/dmband enable_dmband
21281 wine_fn_config_makefile dlls/dmband/tests enable_tests
21282 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
21283 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
21284 wine_fn_config_makefile dlls/dmime enable_dmime
21285 wine_fn_config_makefile dlls/dmime/tests enable_tests
21286 wine_fn_config_makefile dlls/dmloader enable_dmloader
21287 wine_fn_config_makefile dlls/dmloader/tests enable_tests
21288 wine_fn_config_makefile dlls/dmscript enable_dmscript
21289 wine_fn_config_makefile dlls/dmscript/tests enable_tests
21290 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
21291 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
21292 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
21293 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
21294 wine_fn_config_makefile dlls/dmusic enable_dmusic
21295 wine_fn_config_makefile dlls/dmusic/tests enable_tests
21296 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
21297 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
21298 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
21299 wine_fn_config_makefile dlls/dplay enable_dplay
21300 wine_fn_config_makefile dlls/dplayx enable_dplayx
21301 wine_fn_config_makefile dlls/dplayx/tests enable_tests
21302 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
21303 wine_fn_config_makefile dlls/dpnet enable_dpnet
21304 wine_fn_config_makefile dlls/dpnet/tests enable_tests
21305 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
21306 wine_fn_config_makefile dlls/dpnhupnp enable_dpnhupnp
21307 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
21308 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
21309 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
21310 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
21311 wine_fn_config_makefile dlls/drmclien enable_drmclien
21312 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
21313 wine_fn_config_makefile dlls/dsdmo/tests enable_tests
21314 wine_fn_config_makefile dlls/dsound enable_dsound
21315 wine_fn_config_makefile dlls/dsound/tests enable_tests
21316 wine_fn_config_makefile dlls/dsquery enable_dsquery
21317 wine_fn_config_makefile dlls/dssenh enable_dssenh
21318 wine_fn_config_makefile dlls/dssenh/tests enable_tests
21319 wine_fn_config_makefile dlls/dsuiext enable_dsuiext
21320 wine_fn_config_makefile dlls/dswave enable_dswave
21321 wine_fn_config_makefile dlls/dswave/tests enable_tests
21322 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
21323 wine_fn_config_makefile dlls/dwmapi/tests enable_tests
21324 wine_fn_config_makefile dlls/dwrite enable_dwrite
21325 wine_fn_config_makefile dlls/dwrite/tests enable_tests
21326 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
21327 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
21328 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
21329 wine_fn_config_makefile dlls/dxgi enable_dxgi
21330 wine_fn_config_makefile dlls/dxgi/tests enable_tests
21331 wine_fn_config_makefile dlls/dxtrans enable_dxtrans
21332 wine_fn_config_makefile dlls/dxva2 enable_dxva2
21333 wine_fn_config_makefile dlls/dxva2/tests enable_tests
21334 wine_fn_config_makefile dlls/esent enable_esent
21335 wine_fn_config_makefile dlls/evr enable_evr
21336 wine_fn_config_makefile dlls/evr/tests enable_tests
21337 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
21338 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
21339 wine_fn_config_makefile dlls/faultrep enable_faultrep
21340 wine_fn_config_makefile dlls/faultrep/tests enable_tests
21341 wine_fn_config_makefile dlls/feclient enable_feclient
21342 wine_fn_config_makefile dlls/fltlib enable_fltlib
21343 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
21344 wine_fn_config_makefile dlls/fntcache enable_fntcache
21345 wine_fn_config_makefile dlls/fontsub enable_fontsub
21346 wine_fn_config_makefile dlls/fusion enable_fusion
21347 wine_fn_config_makefile dlls/fusion/tests enable_tests
21348 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
21349 wine_fn_config_makefile dlls/gameux enable_gameux
21350 wine_fn_config_makefile dlls/gameux/tests enable_tests
21351 wine_fn_config_makefile dlls/gamingtcui enable_gamingtcui
21352 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
21353 wine_fn_config_makefile dlls/gdi32 enable_gdi32
21354 wine_fn_config_makefile dlls/gdi32/tests enable_tests
21355 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
21356 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
21357 wine_fn_config_makefile dlls/glu32 enable_glu32
21358 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
21359 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
21360 wine_fn_config_makefile dlls/hal enable_hal
21361 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
21362 wine_fn_config_makefile dlls/hid enable_hid
21363 wine_fn_config_makefile dlls/hid/tests enable_tests
21364 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
21365 wine_fn_config_makefile dlls/hidparse.sys enable_hidparse_sys
21366 wine_fn_config_makefile dlls/hlink enable_hlink
21367 wine_fn_config_makefile dlls/hlink/tests enable_tests
21368 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
21369 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
21370 wine_fn_config_makefile dlls/http.sys enable_http_sys
21371 wine_fn_config_makefile dlls/httpapi enable_httpapi
21372 wine_fn_config_makefile dlls/httpapi/tests enable_tests
21373 wine_fn_config_makefile dlls/ia2comproxy enable_ia2comproxy
21374 wine_fn_config_makefile dlls/iccvid enable_iccvid
21375 wine_fn_config_makefile dlls/icmp enable_icmp
21376 wine_fn_config_makefile dlls/ieframe enable_ieframe
21377 wine_fn_config_makefile dlls/ieframe/tests enable_tests
21378 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
21379 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
21380 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
21381 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
21382 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
21383 wine_fn_config_makefile dlls/imm.dll16 enable_win16
21384 wine_fn_config_makefile dlls/imm32 enable_imm32
21385 wine_fn_config_makefile dlls/imm32/tests enable_tests
21386 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
21387 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
21388 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
21389 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
21390 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
21391 wine_fn_config_makefile dlls/infosoft enable_infosoft
21392 wine_fn_config_makefile dlls/infosoft/tests enable_tests
21393 wine_fn_config_makefile dlls/initpki enable_initpki
21394 wine_fn_config_makefile dlls/inkobj enable_inkobj
21395 wine_fn_config_makefile dlls/inseng enable_inseng
21396 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
21397 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
21398 wine_fn_config_makefile dlls/iprop enable_iprop
21399 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
21400 wine_fn_config_makefile dlls/itircl enable_itircl
21401 wine_fn_config_makefile dlls/itss enable_itss
21402 wine_fn_config_makefile dlls/itss/tests enable_tests
21403 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
21404 wine_fn_config_makefile dlls/jscript enable_jscript
21405 wine_fn_config_makefile dlls/jscript/tests enable_tests
21406 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
21407 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
21408 wine_fn_config_makefile dlls/kerberos enable_kerberos
21409 wine_fn_config_makefile dlls/kernel32 enable_kernel32
21410 wine_fn_config_makefile dlls/kernel32/tests enable_tests
21411 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
21412 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
21413 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
21414 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
21415 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
21416 wine_fn_config_makefile dlls/ksproxy.ax enable_ksproxy_ax
21417 wine_fn_config_makefile dlls/ksuser enable_ksuser
21418 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
21419 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
21420 wine_fn_config_makefile dlls/light.msstyles enable_light_msstyles
21421 wine_fn_config_makefile dlls/loadperf enable_loadperf
21422 wine_fn_config_makefile dlls/localspl enable_localspl
21423 wine_fn_config_makefile dlls/localspl/tests enable_tests
21424 wine_fn_config_makefile dlls/localui enable_localui
21425 wine_fn_config_makefile dlls/localui/tests enable_tests
21426 wine_fn_config_makefile dlls/lz32 enable_lz32
21427 wine_fn_config_makefile dlls/lz32/tests enable_tests
21428 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
21429 wine_fn_config_makefile dlls/mapi32 enable_mapi32
21430 wine_fn_config_makefile dlls/mapi32/tests enable_tests
21431 wine_fn_config_makefile dlls/mapistub enable_mapistub
21432 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
21433 wine_fn_config_makefile dlls/mcicda enable_mcicda
21434 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
21435 wine_fn_config_makefile dlls/mciseq enable_mciseq
21436 wine_fn_config_makefile dlls/mciwave enable_mciwave
21437 wine_fn_config_makefile dlls/mf enable_mf
21438 wine_fn_config_makefile dlls/mf/tests enable_tests
21439 wine_fn_config_makefile dlls/mf3216 enable_mf3216
21440 wine_fn_config_makefile dlls/mferror enable_mferror
21441 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
21442 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
21443 wine_fn_config_makefile dlls/mfplat enable_mfplat
21444 wine_fn_config_makefile dlls/mfplat/tests enable_tests
21445 wine_fn_config_makefile dlls/mfplay enable_mfplay
21446 wine_fn_config_makefile dlls/mfplay/tests enable_tests
21447 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
21448 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
21449 wine_fn_config_makefile dlls/mfsrcsnk enable_mfsrcsnk
21450 wine_fn_config_makefile dlls/mfsrcsnk/tests enable_tests
21451 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
21452 wine_fn_config_makefile dlls/midimap enable_midimap
21453 wine_fn_config_makefile dlls/mlang enable_mlang
21454 wine_fn_config_makefile dlls/mlang/tests enable_tests
21455 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
21456 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
21457 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
21458 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
21459 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
21460 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
21461 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
21462 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
21463 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
21464 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
21465 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
21466 wine_fn_config_makefile dlls/mpr enable_mpr
21467 wine_fn_config_makefile dlls/mpr/tests enable_tests
21468 wine_fn_config_makefile dlls/mprapi enable_mprapi
21469 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
21470 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
21471 wine_fn_config_makefile dlls/msacm32 enable_msacm32
21472 wine_fn_config_makefile dlls/msacm32/tests enable_tests
21473 wine_fn_config_makefile dlls/msado15 enable_msado15
21474 wine_fn_config_makefile dlls/msado15/tests enable_tests
21475 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
21476 wine_fn_config_makefile dlls/msasn1 enable_msasn1
21477 wine_fn_config_makefile dlls/msasn1/tests enable_tests
21478 wine_fn_config_makefile dlls/mscat32 enable_mscat32
21479 wine_fn_config_makefile dlls/mscms enable_mscms
21480 wine_fn_config_makefile dlls/mscms/tests enable_tests
21481 wine_fn_config_makefile dlls/mscoree enable_mscoree
21482 wine_fn_config_makefile dlls/mscoree/tests enable_tests
21483 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
21484 wine_fn_config_makefile dlls/msctf enable_msctf
21485 wine_fn_config_makefile dlls/msctf/tests enable_tests
21486 wine_fn_config_makefile dlls/msctfmonitor enable_msctfmonitor
21487 wine_fn_config_makefile dlls/msctfp enable_msctfp
21488 wine_fn_config_makefile dlls/msdaps enable_msdaps
21489 wine_fn_config_makefile dlls/msdasql enable_msdasql
21490 wine_fn_config_makefile dlls/msdasql/tests enable_tests
21491 wine_fn_config_makefile dlls/msdelta enable_msdelta
21492 wine_fn_config_makefile dlls/msdmo enable_msdmo
21493 wine_fn_config_makefile dlls/msdmo/tests enable_tests
21494 wine_fn_config_makefile dlls/msdrm enable_msdrm
21495 wine_fn_config_makefile dlls/msftedit enable_msftedit
21496 wine_fn_config_makefile dlls/msftedit/tests enable_tests
21497 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
21498 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
21499 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
21500 wine_fn_config_makefile dlls/mshtml enable_mshtml
21501 wine_fn_config_makefile dlls/mshtml/tests enable_tests
21502 wine_fn_config_makefile dlls/msi enable_msi
21503 wine_fn_config_makefile dlls/msi/tests enable_tests
21504 wine_fn_config_makefile dlls/msident enable_msident
21505 wine_fn_config_makefile dlls/msimg32 enable_msimg32
21506 wine_fn_config_makefile dlls/msimsg enable_msimsg
21507 wine_fn_config_makefile dlls/msimtf enable_msimtf
21508 wine_fn_config_makefile dlls/msisip enable_msisip
21509 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
21510 wine_fn_config_makefile dlls/msls31 enable_msls31
21511 wine_fn_config_makefile dlls/msnet32 enable_msnet32
21512 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
21513 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
21514 wine_fn_config_makefile dlls/msports enable_msports
21515 wine_fn_config_makefile dlls/msrle32 enable_msrle32
21516 wine_fn_config_makefile dlls/msrle32/tests enable_tests
21517 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
21518 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
21519 wine_fn_config_makefile dlls/mssign32 enable_mssign32
21520 wine_fn_config_makefile dlls/mssip32 enable_mssip32
21521 wine_fn_config_makefile dlls/mstask enable_mstask
21522 wine_fn_config_makefile dlls/mstask/tests enable_tests
21523 wine_fn_config_makefile dlls/msv1_0 enable_msv1_0
21524 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
21525 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
21526 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
21527 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
21528 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
21529 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
21530 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
21531 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
21532 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
21533 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
21534 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
21535 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
21536 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
21537 wine_fn_config_makefile dlls/msvcp140_1 enable_msvcp140_1
21538 wine_fn_config_makefile dlls/msvcp140_1/tests enable_tests
21539 wine_fn_config_makefile dlls/msvcp140_2 enable_msvcp140_2
21540 wine_fn_config_makefile dlls/msvcp140_atomic_wait enable_msvcp140_atomic_wait
21541 wine_fn_config_makefile dlls/msvcp140_atomic_wait/tests enable_tests
21542 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
21543 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
21544 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
21545 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
21546 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
21547 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
21548 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
21549 wine_fn_config_makefile dlls/msvcp_win enable_msvcp_win
21550 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
21551 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
21552 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
21553 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
21554 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
21555 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
21556 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
21557 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
21558 wine_fn_config_makefile dlls/msvcr70/tests enable_tests
21559 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
21560 wine_fn_config_makefile dlls/msvcr71/tests enable_tests
21561 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
21562 wine_fn_config_makefile dlls/msvcr80/tests enable_tests
21563 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
21564 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
21565 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
21566 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
21567 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
21568 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
21569 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
21570 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
21571 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
21572 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
21573 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
21574 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
21575 wine_fn_config_makefile dlls/mswsock enable_mswsock
21576 wine_fn_config_makefile dlls/msxml enable_msxml
21577 wine_fn_config_makefile dlls/msxml2 enable_msxml2
21578 wine_fn_config_makefile dlls/msxml3 enable_msxml3
21579 wine_fn_config_makefile dlls/msxml3/tests enable_tests
21580 wine_fn_config_makefile dlls/msxml4 enable_msxml4
21581 wine_fn_config_makefile dlls/msxml6 enable_msxml6
21582 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
21583 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
21584 wine_fn_config_makefile dlls/ncrypt/tests enable_tests
21585 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
21586 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
21587 wine_fn_config_makefile dlls/ndis.sys/tests enable_tests
21588 wine_fn_config_makefile dlls/netapi32 enable_netapi32
21589 wine_fn_config_makefile dlls/netapi32/tests enable_tests
21590 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
21591 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
21592 wine_fn_config_makefile dlls/netio.sys enable_netio_sys
21593 wine_fn_config_makefile dlls/netprofm enable_netprofm
21594 wine_fn_config_makefile dlls/netprofm/tests enable_tests
21595 wine_fn_config_makefile dlls/netutils enable_netutils
21596 wine_fn_config_makefile dlls/newdev enable_newdev
21597 wine_fn_config_makefile dlls/ninput enable_ninput
21598 wine_fn_config_makefile dlls/ninput/tests enable_tests
21599 wine_fn_config_makefile dlls/normaliz enable_normaliz
21600 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
21601 wine_fn_config_makefile dlls/npptools enable_npptools
21602 wine_fn_config_makefile dlls/nsi enable_nsi
21603 wine_fn_config_makefile dlls/nsi/tests enable_tests
21604 wine_fn_config_makefile dlls/nsiproxy.sys enable_nsiproxy_sys
21605 wine_fn_config_makefile dlls/ntdll enable_ntdll
21606 wine_fn_config_makefile dlls/ntdll/tests enable_tests
21607 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
21608 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
21609 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
21610 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
21611 wine_fn_config_makefile dlls/ntprint enable_ntprint
21612 wine_fn_config_makefile dlls/ntprint/tests enable_tests
21613 wine_fn_config_makefile dlls/objsel enable_objsel
21614 wine_fn_config_makefile dlls/odbc32 enable_odbc32
21615 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
21616 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
21617 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
21618 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
21619 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
21620 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
21621 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
21622 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
21623 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
21624 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
21625 wine_fn_config_makefile dlls/ole32 enable_ole32
21626 wine_fn_config_makefile dlls/ole32/tests enable_tests
21627 wine_fn_config_makefile dlls/oleacc enable_oleacc
21628 wine_fn_config_makefile dlls/oleacc/tests enable_tests
21629 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
21630 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
21631 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
21632 wine_fn_config_makefile dlls/olecli32 enable_olecli32
21633 wine_fn_config_makefile dlls/oledb32 enable_oledb32
21634 wine_fn_config_makefile dlls/oledb32/tests enable_tests
21635 wine_fn_config_makefile dlls/oledlg enable_oledlg
21636 wine_fn_config_makefile dlls/oledlg/tests enable_tests
21637 wine_fn_config_makefile dlls/olepro32 enable_olepro32
21638 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
21639 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
21640 wine_fn_config_makefile dlls/olethk32 enable_olethk32
21641 wine_fn_config_makefile dlls/opcservices enable_opcservices
21642 wine_fn_config_makefile dlls/opcservices/tests enable_tests
21643 wine_fn_config_makefile dlls/opencl enable_opencl
21644 wine_fn_config_makefile dlls/opengl32 enable_opengl32
21645 wine_fn_config_makefile dlls/opengl32/tests enable_tests
21646 wine_fn_config_makefile dlls/packager enable_packager
21647 wine_fn_config_makefile dlls/packager/tests enable_tests
21648 wine_fn_config_makefile dlls/pdh enable_pdh
21649 wine_fn_config_makefile dlls/pdh/tests enable_tests
21650 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
21651 wine_fn_config_makefile dlls/pidgen enable_pidgen
21652 wine_fn_config_makefile dlls/powrprof enable_powrprof
21653 wine_fn_config_makefile dlls/printui enable_printui
21654 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
21655 wine_fn_config_makefile dlls/prntvpt/tests enable_tests
21656 wine_fn_config_makefile dlls/propsys enable_propsys
21657 wine_fn_config_makefile dlls/propsys/tests enable_tests
21658 wine_fn_config_makefile dlls/psapi enable_psapi
21659 wine_fn_config_makefile dlls/psapi/tests enable_tests
21660 wine_fn_config_makefile dlls/pstorec enable_pstorec
21661 wine_fn_config_makefile dlls/pstorec/tests enable_tests
21662 wine_fn_config_makefile dlls/pwrshplugin enable_pwrshplugin
21663 wine_fn_config_makefile dlls/qasf enable_qasf
21664 wine_fn_config_makefile dlls/qasf/tests enable_tests
21665 wine_fn_config_makefile dlls/qcap enable_qcap
21666 wine_fn_config_makefile dlls/qcap/tests enable_tests
21667 wine_fn_config_makefile dlls/qdvd enable_qdvd
21668 wine_fn_config_makefile dlls/qdvd/tests enable_tests
21669 wine_fn_config_makefile dlls/qedit enable_qedit
21670 wine_fn_config_makefile dlls/qedit/tests enable_tests
21671 wine_fn_config_makefile dlls/qmgr enable_qmgr
21672 wine_fn_config_makefile dlls/qmgr/tests enable_tests
21673 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
21674 wine_fn_config_makefile dlls/quartz enable_quartz
21675 wine_fn_config_makefile dlls/quartz/tests enable_tests
21676 wine_fn_config_makefile dlls/query enable_query
21677 wine_fn_config_makefile dlls/qwave enable_qwave
21678 wine_fn_config_makefile dlls/qwave/tests enable_tests
21679 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
21680 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
21681 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
21682 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
21683 wine_fn_config_makefile dlls/regapi enable_regapi
21684 wine_fn_config_makefile dlls/resutils enable_resutils
21685 wine_fn_config_makefile dlls/riched20 enable_riched20
21686 wine_fn_config_makefile dlls/riched20/tests enable_tests
21687 wine_fn_config_makefile dlls/riched32 enable_riched32
21688 wine_fn_config_makefile dlls/riched32/tests enable_tests
21689 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
21690 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
21691 wine_fn_config_makefile dlls/rsabase enable_rsabase
21692 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
21693 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
21694 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
21695 wine_fn_config_makefile dlls/rtutils enable_rtutils
21696 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
21697 wine_fn_config_makefile dlls/rtworkq/tests enable_tests
21698 wine_fn_config_makefile dlls/samlib enable_samlib
21699 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
21700 wine_fn_config_makefile dlls/sapi enable_sapi
21701 wine_fn_config_makefile dlls/sapi/tests enable_tests
21702 wine_fn_config_makefile dlls/sas enable_sas
21703 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
21704 wine_fn_config_makefile dlls/sccbase enable_sccbase
21705 wine_fn_config_makefile dlls/schannel enable_schannel
21706 wine_fn_config_makefile dlls/schannel/tests enable_tests
21707 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
21708 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
21709 wine_fn_config_makefile dlls/scrobj enable_scrobj
21710 wine_fn_config_makefile dlls/scrobj/tests enable_tests
21711 wine_fn_config_makefile dlls/scrrun enable_scrrun
21712 wine_fn_config_makefile dlls/scrrun/tests enable_tests
21713 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
21714 wine_fn_config_makefile dlls/sechost enable_sechost
21715 wine_fn_config_makefile dlls/secur32 enable_secur32
21716 wine_fn_config_makefile dlls/secur32/tests enable_tests
21717 wine_fn_config_makefile dlls/security enable_security
21718 wine_fn_config_makefile dlls/sensapi enable_sensapi
21719 wine_fn_config_makefile dlls/serialui enable_serialui
21720 wine_fn_config_makefile dlls/serialui/tests enable_tests
21721 wine_fn_config_makefile dlls/setupapi enable_setupapi
21722 wine_fn_config_makefile dlls/setupapi/tests enable_tests
21723 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
21724 wine_fn_config_makefile dlls/sfc enable_sfc
21725 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
21726 wine_fn_config_makefile dlls/shcore enable_shcore
21727 wine_fn_config_makefile dlls/shcore/tests enable_tests
21728 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
21729 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
21730 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
21731 wine_fn_config_makefile dlls/shell.dll16 enable_win16
21732 wine_fn_config_makefile dlls/shell32 enable_shell32
21733 wine_fn_config_makefile dlls/shell32/tests enable_tests
21734 wine_fn_config_makefile dlls/shfolder enable_shfolder
21735 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
21736 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
21737 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
21738 wine_fn_config_makefile dlls/slc enable_slc
21739 wine_fn_config_makefile dlls/slc/tests enable_tests
21740 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
21741 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
21742 wine_fn_config_makefile dlls/softpub enable_softpub
21743 wine_fn_config_makefile dlls/sound.drv16 enable_win16
21744 wine_fn_config_makefile dlls/spoolss enable_spoolss
21745 wine_fn_config_makefile dlls/spoolss/tests enable_tests
21746 wine_fn_config_makefile dlls/sppc enable_sppc
21747 wine_fn_config_makefile dlls/srclient enable_srclient
21748 wine_fn_config_makefile dlls/srvcli enable_srvcli
21749 wine_fn_config_makefile dlls/sspicli enable_sspicli
21750 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
21751 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
21752 wine_fn_config_makefile dlls/sti enable_sti
21753 wine_fn_config_makefile dlls/sti/tests enable_tests
21754 wine_fn_config_makefile dlls/storage.dll16 enable_win16
21755 wine_fn_config_makefile dlls/stress.dll16 enable_win16
21756 wine_fn_config_makefile dlls/strmdll enable_strmdll
21757 wine_fn_config_makefile dlls/svrapi enable_svrapi
21758 wine_fn_config_makefile dlls/sxs enable_sxs
21759 wine_fn_config_makefile dlls/sxs/tests enable_tests
21760 wine_fn_config_makefile dlls/system.drv16 enable_win16
21761 wine_fn_config_makefile dlls/t2embed enable_t2embed
21762 wine_fn_config_makefile dlls/t2embed/tests enable_tests
21763 wine_fn_config_makefile dlls/tapi32 enable_tapi32
21764 wine_fn_config_makefile dlls/tapi32/tests enable_tests
21765 wine_fn_config_makefile dlls/taskschd enable_taskschd
21766 wine_fn_config_makefile dlls/taskschd/tests enable_tests
21767 wine_fn_config_makefile dlls/tbs enable_tbs
21768 wine_fn_config_makefile dlls/tdh enable_tdh
21769 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
21770 wine_fn_config_makefile dlls/threadpoolwinrt enable_threadpoolwinrt
21771 wine_fn_config_makefile dlls/threadpoolwinrt/tests enable_tests
21772 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
21773 wine_fn_config_makefile dlls/traffic enable_traffic
21774 wine_fn_config_makefile dlls/twain.dll16 enable_win16
21775 wine_fn_config_makefile dlls/twain_32 enable_twain_32
21776 wine_fn_config_makefile dlls/twain_32/tests enable_tests
21777 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
21778 wine_fn_config_makefile dlls/tzres enable_tzres
21779 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
21780 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
21781 wine_fn_config_makefile dlls/uianimation enable_uianimation
21782 wine_fn_config_makefile dlls/uianimation/tests enable_tests
21783 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
21784 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
21785 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
21786 wine_fn_config_makefile dlls/unicows enable_unicows
21787 wine_fn_config_makefile dlls/updspapi enable_updspapi
21788 wine_fn_config_makefile dlls/url enable_url
21789 wine_fn_config_makefile dlls/urlmon enable_urlmon
21790 wine_fn_config_makefile dlls/urlmon/tests enable_tests
21791 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
21792 wine_fn_config_makefile dlls/user.exe16 enable_win16
21793 wine_fn_config_makefile dlls/user32 enable_user32
21794 wine_fn_config_makefile dlls/user32/tests enable_tests
21795 wine_fn_config_makefile dlls/userenv enable_userenv
21796 wine_fn_config_makefile dlls/userenv/tests enable_tests
21797 wine_fn_config_makefile dlls/usp10 enable_usp10
21798 wine_fn_config_makefile dlls/usp10/tests enable_tests
21799 wine_fn_config_makefile dlls/utildll enable_utildll
21800 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
21801 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
21802 wine_fn_config_makefile dlls/vbscript enable_vbscript
21803 wine_fn_config_makefile dlls/vbscript/tests enable_tests
21804 wine_fn_config_makefile dlls/vcomp enable_vcomp
21805 wine_fn_config_makefile dlls/vcomp/tests enable_tests
21806 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
21807 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
21808 wine_fn_config_makefile dlls/vcomp110/tests enable_tests
21809 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
21810 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
21811 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
21812 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
21813 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
21814 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
21815 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
21816 wine_fn_config_makefile dlls/ver.dll16 enable_win16
21817 wine_fn_config_makefile dlls/version enable_version
21818 wine_fn_config_makefile dlls/version/tests enable_tests
21819 wine_fn_config_makefile dlls/vga enable_vga
21820 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
21821 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
21822 wine_fn_config_makefile dlls/vmm.vxd enable_win16
21823 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
21824 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
21825 wine_fn_config_makefile dlls/vssapi enable_vssapi
21826 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
21827 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
21828 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
21829 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
21830 wine_fn_config_makefile dlls/w32skrnl enable_win16
21831 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
21832 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
21833 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
21834 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
21835 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
21836 wine_fn_config_makefile dlls/wdscore enable_wdscore
21837 wine_fn_config_makefile dlls/webservices enable_webservices
21838 wine_fn_config_makefile dlls/webservices/tests enable_tests
21839 wine_fn_config_makefile dlls/websocket enable_websocket
21840 wine_fn_config_makefile dlls/wer enable_wer
21841 wine_fn_config_makefile dlls/wer/tests enable_tests
21842 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
21843 wine_fn_config_makefile dlls/wevtapi/tests enable_tests
21844 wine_fn_config_makefile dlls/wevtsvc enable_wevtsvc
21845 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
21846 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
21847 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
21848 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
21849 wine_fn_config_makefile dlls/win32u enable_win32u
21850 wine_fn_config_makefile dlls/win32u/tests enable_tests
21851 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
21852 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
21853 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
21854 wine_fn_config_makefile dlls/windows.devices.enumeration enable_windows_devices_enumeration
21855 wine_fn_config_makefile dlls/windows.devices.enumeration/tests enable_tests
21856 wine_fn_config_makefile dlls/windows.gaming.input enable_windows_gaming_input
21857 wine_fn_config_makefile dlls/windows.gaming.input/tests enable_tests
21858 wine_fn_config_makefile dlls/windows.gaming.ui.gamebar enable_windows_gaming_ui_gamebar
21859 wine_fn_config_makefile dlls/windows.gaming.ui.gamebar/tests enable_tests
21860 wine_fn_config_makefile dlls/windows.globalization enable_windows_globalization
21861 wine_fn_config_makefile dlls/windows.globalization/tests enable_tests
21862 wine_fn_config_makefile dlls/windows.media.devices enable_windows_media_devices
21863 wine_fn_config_makefile dlls/windows.media.devices/tests enable_tests
21864 wine_fn_config_makefile dlls/windows.media.speech enable_windows_media_speech
21865 wine_fn_config_makefile dlls/windows.media.speech/tests enable_tests
21866 wine_fn_config_makefile dlls/windows.media enable_windows_media
21867 wine_fn_config_makefile dlls/windows.media/tests enable_tests
21868 wine_fn_config_makefile dlls/windows.networking enable_windows_networking
21869 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
21870 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
21871 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
21872 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
21873 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
21874 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
21875 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
21876 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
21877 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
21878 wine_fn_config_makefile dlls/wined3d enable_wined3d
21879 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
21880 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
21881 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
21882 wine_fn_config_makefile dlls/winemapi enable_winemapi
21883 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
21884 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
21885 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
21886 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
21887 wine_fn_config_makefile dlls/wineusb.sys enable_wineusb_sys
21888 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
21889 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
21890 wine_fn_config_makefile dlls/winexinput.sys enable_winexinput_sys
21891 wine_fn_config_makefile dlls/wing.dll16 enable_win16
21892 wine_fn_config_makefile dlls/wing32 enable_wing32
21893 wine_fn_config_makefile dlls/winhttp enable_winhttp
21894 wine_fn_config_makefile dlls/winhttp/tests enable_tests
21895 wine_fn_config_makefile dlls/wininet enable_wininet
21896 wine_fn_config_makefile dlls/wininet/tests enable_tests
21897 wine_fn_config_makefile dlls/winmm enable_winmm
21898 wine_fn_config_makefile dlls/winmm/tests enable_tests
21899 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
21900 wine_fn_config_makefile dlls/winnls32 enable_winnls32
21901 wine_fn_config_makefile dlls/winprint enable_winprint
21902 wine_fn_config_makefile dlls/winscard enable_winscard
21903 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
21904 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
21905 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
21906 wine_fn_config_makefile dlls/winsta enable_winsta
21907 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
21908 wine_fn_config_makefile dlls/wintab32 enable_wintab32
21909 wine_fn_config_makefile dlls/wintab32/tests enable_tests
21910 wine_fn_config_makefile dlls/wintrust enable_wintrust
21911 wine_fn_config_makefile dlls/wintrust/tests enable_tests
21912 wine_fn_config_makefile dlls/wintypes enable_wintypes
21913 wine_fn_config_makefile dlls/wintypes/tests enable_tests
21914 wine_fn_config_makefile dlls/winusb enable_winusb
21915 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
21916 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
21917 wine_fn_config_makefile dlls/wlanui enable_wlanui
21918 wine_fn_config_makefile dlls/wldap32 enable_wldap32
21919 wine_fn_config_makefile dlls/wldap32/tests enable_tests
21920 wine_fn_config_makefile dlls/wmasf enable_wmasf
21921 wine_fn_config_makefile dlls/wmi enable_wmi
21922 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
21923 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
21924 wine_fn_config_makefile dlls/wmp enable_wmp
21925 wine_fn_config_makefile dlls/wmp/tests enable_tests
21926 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
21927 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
21928 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
21929 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
21930 wine_fn_config_makefile dlls/wow32 enable_win16
21931 wine_fn_config_makefile dlls/wow64 enable_wow64
21932 wine_fn_config_makefile dlls/wow64cpu enable_wow64cpu
21933 wine_fn_config_makefile dlls/wow64win enable_wow64win
21934 wine_fn_config_makefile dlls/wpc enable_wpc
21935 wine_fn_config_makefile dlls/wpc/tests enable_tests
21936 wine_fn_config_makefile dlls/wpcap enable_wpcap
21937 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
21938 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
21939 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
21940 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
21941 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
21942 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
21943 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
21944 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
21945 wine_fn_config_makefile dlls/wsock32 enable_wsock32
21946 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
21947 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
21948 wine_fn_config_makefile dlls/wuapi enable_wuapi
21949 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
21950 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
21951 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
21952 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
21953 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
21954 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
21955 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
21956 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
21957 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
21958 wine_fn_config_makefile dlls/xactengine2_0 enable_xactengine2_0
21959 wine_fn_config_makefile dlls/xactengine2_4 enable_xactengine2_4
21960 wine_fn_config_makefile dlls/xactengine2_7 enable_xactengine2_7
21961 wine_fn_config_makefile dlls/xactengine2_9 enable_xactengine2_9
21962 wine_fn_config_makefile dlls/xactengine3_0 enable_xactengine3_0
21963 wine_fn_config_makefile dlls/xactengine3_1 enable_xactengine3_1
21964 wine_fn_config_makefile dlls/xactengine3_2 enable_xactengine3_2
21965 wine_fn_config_makefile dlls/xactengine3_3 enable_xactengine3_3
21966 wine_fn_config_makefile dlls/xactengine3_4 enable_xactengine3_4
21967 wine_fn_config_makefile dlls/xactengine3_5 enable_xactengine3_5
21968 wine_fn_config_makefile dlls/xactengine3_6 enable_xactengine3_6
21969 wine_fn_config_makefile dlls/xactengine3_7 enable_xactengine3_7
21970 wine_fn_config_makefile dlls/xactengine3_7/tests enable_tests
21971 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
21972 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
21973 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
21974 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
21975 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
21976 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
21977 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
21978 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
21979 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
21980 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
21981 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
21982 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
21983 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
21984 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
21985 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
21986 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
21987 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
21988 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
21989 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
21990 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
21991 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
21992 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
21993 wine_fn_config_makefile dlls/xinputuap enable_xinputuap
21994 wine_fn_config_makefile dlls/xmllite enable_xmllite
21995 wine_fn_config_makefile dlls/xmllite/tests enable_tests
21996 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
21997 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
21998 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
21999 wine_fn_config_makefile fonts enable_fonts
22000 wine_fn_config_makefile include enable_include
22001 wine_fn_config_makefile libs/adsiid enable_adsiid
22002 wine_fn_config_makefile libs/dmoguids enable_dmoguids
22003 wine_fn_config_makefile libs/dxerr8 enable_dxerr8
22004 wine_fn_config_makefile libs/dxerr9 enable_dxerr9
22005 wine_fn_config_makefile libs/dxguid enable_dxguid
22006 wine_fn_config_makefile libs/faudio enable_faudio
22007 wine_fn_config_makefile libs/gsm enable_gsm
22008 wine_fn_config_makefile libs/jpeg enable_jpeg
22009 wine_fn_config_makefile libs/jxr enable_jxr
22010 wine_fn_config_makefile libs/lcms2 enable_lcms2
22011 wine_fn_config_makefile libs/ldap enable_ldap
22012 wine_fn_config_makefile libs/mfuuid enable_mfuuid
22013 wine_fn_config_makefile libs/mpg123 enable_mpg123
22014 wine_fn_config_makefile libs/png enable_png
22015 wine_fn_config_makefile libs/strmbase enable_strmbase
22016 wine_fn_config_makefile libs/strmiids enable_strmiids
22017 wine_fn_config_makefile libs/tiff enable_tiff
22018 wine_fn_config_makefile libs/uuid enable_uuid
22019 wine_fn_config_makefile libs/vkd3d enable_vkd3d
22020 wine_fn_config_makefile libs/wbemuuid enable_wbemuuid
22021 wine_fn_config_makefile libs/wine enable_wine
22022 wine_fn_config_makefile libs/wmcodecdspuuid enable_wmcodecdspuuid
22023 wine_fn_config_makefile libs/xml2 enable_xml2
22024 wine_fn_config_makefile libs/xslt enable_xslt
22025 wine_fn_config_makefile libs/zlib enable_zlib
22026 wine_fn_config_makefile loader enable_loader
22027 wine_fn_config_makefile nls enable_nls
22028 wine_fn_config_makefile po enable_po
22029 wine_fn_config_makefile programs/arp enable_arp
22030 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
22031 wine_fn_config_makefile programs/attrib enable_attrib
22032 wine_fn_config_makefile programs/cabarc enable_cabarc
22033 wine_fn_config_makefile programs/cacls enable_cacls
22034 wine_fn_config_makefile programs/certutil enable_certutil
22035 wine_fn_config_makefile programs/chcp.com enable_chcp_com
22036 wine_fn_config_makefile programs/clock enable_clock
22037 wine_fn_config_makefile programs/cmd enable_cmd
22038 wine_fn_config_makefile programs/cmd/tests enable_tests
22039 wine_fn_config_makefile programs/conhost enable_conhost
22040 wine_fn_config_makefile programs/conhost/tests enable_tests
22041 wine_fn_config_makefile programs/control enable_control
22042 wine_fn_config_makefile programs/cscript enable_cscript
22043 wine_fn_config_makefile programs/dism enable_dism
22044 wine_fn_config_makefile programs/dllhost enable_dllhost
22045 wine_fn_config_makefile programs/dplaysvr enable_dplaysvr
22046 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
22047 wine_fn_config_makefile programs/dpvsetup enable_dpvsetup
22048 wine_fn_config_makefile programs/dxdiag enable_dxdiag
22049 wine_fn_config_makefile programs/eject enable_eject
22050 wine_fn_config_makefile programs/expand enable_expand
22051 wine_fn_config_makefile programs/explorer enable_explorer
22052 wine_fn_config_makefile programs/explorer/tests enable_tests
22053 wine_fn_config_makefile programs/extrac32 enable_extrac32
22054 wine_fn_config_makefile programs/fc enable_fc
22055 wine_fn_config_makefile programs/find enable_find
22056 wine_fn_config_makefile programs/find/tests enable_tests
22057 wine_fn_config_makefile programs/findstr enable_findstr
22058 wine_fn_config_makefile programs/fsutil enable_fsutil
22059 wine_fn_config_makefile programs/fsutil/tests enable_tests
22060 wine_fn_config_makefile programs/hh enable_hh
22061 wine_fn_config_makefile programs/hostname enable_hostname
22062 wine_fn_config_makefile programs/icacls enable_icacls
22063 wine_fn_config_makefile programs/icinfo enable_icinfo
22064 wine_fn_config_makefile programs/iexplore enable_iexplore
22065 wine_fn_config_makefile programs/ipconfig enable_ipconfig
22066 wine_fn_config_makefile programs/lodctr enable_lodctr
22067 wine_fn_config_makefile programs/mofcomp enable_mofcomp
22068 wine_fn_config_makefile programs/mshta enable_mshta
22069 wine_fn_config_makefile programs/msidb enable_msidb
22070 wine_fn_config_makefile programs/msiexec enable_msiexec
22071 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
22072 wine_fn_config_makefile programs/net enable_net
22073 wine_fn_config_makefile programs/netsh enable_netsh
22074 wine_fn_config_makefile programs/netstat enable_netstat
22075 wine_fn_config_makefile programs/ngen enable_ngen
22076 wine_fn_config_makefile programs/notepad enable_notepad
22077 wine_fn_config_makefile programs/oleview enable_oleview
22078 wine_fn_config_makefile programs/ping enable_ping
22079 wine_fn_config_makefile programs/plugplay enable_plugplay
22080 wine_fn_config_makefile programs/powershell enable_powershell
22081 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
22082 wine_fn_config_makefile programs/progman enable_progman
22083 wine_fn_config_makefile programs/reg enable_reg
22084 wine_fn_config_makefile programs/reg/tests enable_tests
22085 wine_fn_config_makefile programs/regasm enable_regasm
22086 wine_fn_config_makefile programs/regedit enable_regedit
22087 wine_fn_config_makefile programs/regedit/tests enable_tests
22088 wine_fn_config_makefile programs/regini enable_regini
22089 wine_fn_config_makefile programs/regsvcs enable_regsvcs
22090 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
22091 wine_fn_config_makefile programs/robocopy enable_robocopy
22092 wine_fn_config_makefile programs/rpcss enable_rpcss
22093 wine_fn_config_makefile programs/rundll.exe16 enable_win16
22094 wine_fn_config_makefile programs/rundll32 enable_rundll32
22095 wine_fn_config_makefile programs/sc enable_sc
22096 wine_fn_config_makefile programs/sc/tests enable_tests
22097 wine_fn_config_makefile programs/schtasks enable_schtasks
22098 wine_fn_config_makefile programs/schtasks/tests enable_tests
22099 wine_fn_config_makefile programs/sdbinst enable_sdbinst
22100 wine_fn_config_makefile programs/secedit enable_secedit
22101 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
22102 wine_fn_config_makefile programs/services enable_services
22103 wine_fn_config_makefile programs/services/tests enable_tests
22104 wine_fn_config_makefile programs/setx enable_setx
22105 wine_fn_config_makefile programs/shutdown enable_shutdown
22106 wine_fn_config_makefile programs/spoolsv enable_spoolsv
22107 wine_fn_config_makefile programs/start enable_start
22108 wine_fn_config_makefile programs/subst enable_subst
22109 wine_fn_config_makefile programs/svchost enable_svchost
22110 wine_fn_config_makefile programs/systeminfo enable_systeminfo
22111 wine_fn_config_makefile programs/taskkill enable_taskkill
22112 wine_fn_config_makefile programs/tasklist enable_tasklist
22113 wine_fn_config_makefile programs/taskmgr enable_taskmgr
22114 wine_fn_config_makefile programs/termsv enable_termsv
22115 wine_fn_config_makefile programs/uninstaller enable_uninstaller
22116 wine_fn_config_makefile programs/unlodctr enable_unlodctr
22117 wine_fn_config_makefile programs/view enable_view
22118 wine_fn_config_makefile programs/wevtutil enable_wevtutil
22119 wine_fn_config_makefile programs/where enable_where
22120 wine_fn_config_makefile programs/whoami enable_whoami
22121 wine_fn_config_makefile programs/wineboot enable_wineboot
22122 wine_fn_config_makefile programs/winebrowser enable_winebrowser
22123 wine_fn_config_makefile programs/winecfg enable_winecfg
22124 wine_fn_config_makefile programs/wineconsole enable_wineconsole
22125 wine_fn_config_makefile programs/winedbg enable_winedbg
22126 wine_fn_config_makefile programs/winedevice enable_winedevice
22127 wine_fn_config_makefile programs/winefile enable_winefile
22128 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
22129 wine_fn_config_makefile programs/winemine enable_winemine
22130 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
22131 wine_fn_config_makefile programs/winepath enable_winepath
22132 wine_fn_config_makefile programs/winetest enable_winetest
22133 wine_fn_config_makefile programs/winevdm enable_win16
22134 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
22135 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
22136 wine_fn_config_makefile programs/winmgmt enable_winmgmt
22137 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
22138 wine_fn_config_makefile programs/winver enable_winver
22139 wine_fn_config_makefile programs/wmic enable_wmic
22140 wine_fn_config_makefile programs/wmplayer enable_wmplayer
22141 wine_fn_config_makefile programs/wordpad enable_wordpad
22142 wine_fn_config_makefile programs/write enable_write
22143 wine_fn_config_makefile programs/wscript enable_wscript
22144 wine_fn_config_makefile programs/wscript/tests enable_tests
22145 wine_fn_config_makefile programs/wuauserv enable_wuauserv
22146 wine_fn_config_makefile programs/wusa enable_wusa
22147 wine_fn_config_makefile programs/xcopy enable_xcopy
22148 wine_fn_config_makefile programs/xcopy/tests enable_tests
22149 wine_fn_config_makefile server enable_server
22150 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
22151 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
22152 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
22153 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
22154 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
22155 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
22156 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
22157 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
22158 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
22161 as_fn_append CONFIGURE_TARGETS " TAGS"
22162 as_fn_append CONFIGURE_TARGETS " tags"
22163 as_fn_append CONFIGURE_TARGETS " autom4te.cache"
22164 as_fn_append CONFIGURE_TARGETS " config.log"
22165 as_fn_append CONFIGURE_TARGETS " config.status"
22166 as_fn_append CONFIGURE_TARGETS " include/config.h"
22167 as_fn_append CONFIGURE_TARGETS " include/stamp-h"
22168 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine"
22170 if test "x$enable_tools" != xno
22171 then
22172 as_fn_append CONFIGURE_TARGETS " tools/makedep$ac_exeext"
22173 ac_config_commands="$ac_config_commands tools/makedep"
22177 ac_config_commands="$ac_config_commands Makefile"
22181 SHELL=/bin/sh
22184 as_fn_append wine_rules "
22185 all: wine
22186 @echo \"Wine build complete.\"
22187 .INIT: Makefile
22188 .MAKEFILEDEPS:
22189 all: Makefile
22190 Makefile: config.status \$(MAKEDEP)
22191 @./config.status Makefile
22192 depend: \$(MAKEDEP)
22193 \$(MAKEDEP)$makedep_flags"
22196 as_fn_append wine_rules "
22197 config.status: ${wine_srcdir}configure
22198 @./config.status --recheck
22199 include/config.h: include/stamp-h
22200 include/stamp-h: ${wine_srcdir}include/config.h.in config.status
22201 @./config.status include/config.h include/stamp-h"
22203 if test "x$enable_maintainer_mode" = xyes
22204 then
22205 as_fn_append wine_rules "
22206 configure: configure.ac aclocal.m4
22207 autoconf --warnings=all
22208 include/config.h.in: include/stamp-h.in
22209 include/stamp-h.in: configure.ac aclocal.m4
22210 autoheader --warnings=all
22211 @echo timestamp > \$@"
22214 if test "x$enable_tools" != xno
22215 then
22216 as_fn_append wine_rules "
22217 tools/makedep$ac_exeext: ${wine_srcdir}tools/makedep.c include/config.h config.status
22218 @./config.status tools/makedep
22219 Makefile: tools/makedep$ac_exeext"
22220 else
22221 as_fn_append wine_rules "
22222 \$(MAKEDEP):
22223 @echo \"You need to run make in $toolsdir first\" && false"
22227 if test -n "$with_wine64"
22228 then
22229 case "$with_wine64" in
22230 /*) reldir="" ;;
22231 *) reldir="../" ;;
22232 esac
22233 rm -f fonts server 2>/dev/null
22234 as_fn_append wine_rules "
22235 all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
22236 loader/wine64 loader/wine64-preloader:
22237 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
22238 $with_wine64/loader/wine:
22239 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
22240 $with_wine64/loader/wine-preloader:
22241 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
22242 clean::
22243 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
22244 else
22245 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
22246 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
22247 fonts \
22248 loader/wine.inf \
22249 nls \
22250 programs/msidb/msidb \
22251 programs/msiexec/msiexec \
22252 programs/notepad/notepad \
22253 programs/regedit/regedit \
22254 programs/regsvr32/regsvr32 \
22255 programs/wineboot/wineboot \
22256 programs/winecfg/winecfg \
22257 programs/wineconsole/wineconsole \
22258 programs/winedbg/winedbg \
22259 programs/winefile/winefile \
22260 programs/winemine/winemine \
22261 programs/winepath/winepath \
22262 server/wineserver"
22264 case $host_os in
22265 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
22266 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
22267 esac
22271 as_fn_append wine_rules "
22272 distclean:: clean
22273 rm -rf autom4te.cache
22274 maintainer-clean::
22275 rm -f configure include/config.h.in"
22278 as_fn_append wine_rules "
22279 dlls/ntdll/unix/version.c: dummy
22280 @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)
22281 programs/winetest/build.rc: dummy
22282 @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)
22283 programs/winetest/build.nfo:
22284 @-\$(CC) -v 2>\$@
22285 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
22286 cd dlls/wineandroid.drv && gradle -q -Psrcdir=$srcdir assembleDebug
22287 mv dlls/wineandroid.drv/build/outputs/apk/wine-debug.apk \$@"
22290 TAGSFLAGS="--langmap='c:+.idl.l.rh,make:(Make*.in)'"
22292 as_fn_append wine_rules "
22293 TAGS etags:
22294 rm -f TAGS
22295 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs etags -a \$(TAGSFLAGS)
22296 tags ctags:
22297 rm -f tags
22298 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs ctags -a \$(TAGSFLAGS)
22299 dummy:
22300 .PHONY: depend dummy install-manpages"
22302 printf "%s\n" " done" >&6
22303 cat >confcache <<\_ACEOF
22304 # This file is a shell script that caches the results of configure
22305 # tests run on this system so they can be shared between configure
22306 # scripts and configure runs, see configure's option --config-cache.
22307 # It is not useful on other systems. If it contains results you don't
22308 # want to keep, you may remove or edit it.
22310 # config.status only pays attention to the cache file if you give it
22311 # the --recheck option to rerun configure.
22313 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22314 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22315 # following values.
22317 _ACEOF
22319 # The following way of writing the cache mishandles newlines in values,
22320 # but we know of no workaround that is simple, portable, and efficient.
22321 # So, we kill variables containing newlines.
22322 # Ultrix sh set writes to stderr and can't be redirected directly,
22323 # and sets the high bit in the cache file unless we assign to the vars.
22325 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22326 eval ac_val=\$$ac_var
22327 case $ac_val in #(
22328 *${as_nl}*)
22329 case $ac_var in #(
22330 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
22331 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22332 esac
22333 case $ac_var in #(
22334 _ | IFS | as_nl) ;; #(
22335 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
22336 *) { eval $ac_var=; unset $ac_var;} ;;
22337 esac ;;
22338 esac
22339 done
22341 (set) 2>&1 |
22342 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22343 *${as_nl}ac_space=\ *)
22344 # `set' does not quote correctly, so add quotes: double-quote
22345 # substitution turns \\\\ into \\, and sed turns \\ into \.
22346 sed -n \
22347 "s/'/'\\\\''/g;
22348 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22349 ;; #(
22351 # `set' quotes correctly as required by POSIX, so do not add quotes.
22352 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22354 esac |
22355 sort
22357 sed '
22358 /^ac_cv_env_/b end
22359 t clear
22360 :clear
22361 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
22362 t end
22363 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22364 :end' >>confcache
22365 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
22366 if test -w "$cache_file"; then
22367 if test "x$cache_file" != "x/dev/null"; then
22368 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22369 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
22370 if test ! -f "$cache_file" || test -h "$cache_file"; then
22371 cat confcache >"$cache_file"
22372 else
22373 case $cache_file in #(
22374 */* | ?:*)
22375 mv -f confcache "$cache_file"$$ &&
22376 mv -f "$cache_file"$$ "$cache_file" ;; #(
22378 mv -f confcache "$cache_file" ;;
22379 esac
22382 else
22383 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22384 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
22387 rm -f confcache
22389 test "x$prefix" = xNONE && prefix=$ac_default_prefix
22390 # Let make expand exec_prefix.
22391 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22393 DEFS=-DHAVE_CONFIG_H
22395 ac_libobjs=
22396 ac_ltlibobjs=
22398 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
22399 # 1. Remove the extension, and $U if already installed.
22400 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
22401 ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
22402 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22403 # will be set to the directory where LIBOBJS objects are built.
22404 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22405 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
22406 done
22407 LIBOBJS=$ac_libobjs
22409 LTLIBOBJS=$ac_ltlibobjs
22413 : "${CONFIG_STATUS=./config.status}"
22414 ac_write_fail=0
22415 ac_clean_files_save=$ac_clean_files
22416 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
22417 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
22418 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
22419 as_write_fail=0
22420 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
22421 #! $SHELL
22422 # Generated by $as_me.
22423 # Run this file to recreate the current configuration.
22424 # Compiler output produced by configure, useful for debugging
22425 # configure, is in config.log if it exists.
22427 debug=false
22428 ac_cs_recheck=false
22429 ac_cs_silent=false
22431 SHELL=\${CONFIG_SHELL-$SHELL}
22432 export SHELL
22433 _ASEOF
22434 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
22435 ## -------------------- ##
22436 ## M4sh Initialization. ##
22437 ## -------------------- ##
22439 # Be more Bourne compatible
22440 DUALCASE=1; export DUALCASE # for MKS sh
22441 as_nop=:
22442 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
22443 then :
22444 emulate sh
22445 NULLCMD=:
22446 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22447 # is contrary to our usage. Disable this feature.
22448 alias -g '${1+"$@"}'='"$@"'
22449 setopt NO_GLOB_SUBST
22450 else $as_nop
22451 case `(set -o) 2>/dev/null` in #(
22452 *posix*) :
22453 set -o posix ;; #(
22454 *) :
22456 esac
22461 # Reset variables that may have inherited troublesome values from
22462 # the environment.
22464 # IFS needs to be set, to space, tab, and newline, in precisely that order.
22465 # (If _AS_PATH_WALK were called with IFS unset, it would have the
22466 # side effect of setting IFS to empty, thus disabling word splitting.)
22467 # Quoting is to prevent editors from complaining about space-tab.
22468 as_nl='
22470 export as_nl
22471 IFS=" "" $as_nl"
22473 PS1='$ '
22474 PS2='> '
22475 PS4='+ '
22477 # Ensure predictable behavior from utilities with locale-dependent output.
22478 LC_ALL=C
22479 export LC_ALL
22480 LANGUAGE=C
22481 export LANGUAGE
22483 # We cannot yet rely on "unset" to work, but we need these variables
22484 # to be unset--not just set to an empty or harmless value--now, to
22485 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
22486 # also avoids known problems related to "unset" and subshell syntax
22487 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
22488 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
22489 do eval test \${$as_var+y} \
22490 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
22491 done
22493 # Ensure that fds 0, 1, and 2 are open.
22494 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
22495 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
22496 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
22498 # The user is always right.
22499 if ${PATH_SEPARATOR+false} :; then
22500 PATH_SEPARATOR=:
22501 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
22502 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
22503 PATH_SEPARATOR=';'
22508 # Find who we are. Look in the path if we contain no directory separator.
22509 as_myself=
22510 case $0 in #((
22511 *[\\/]* ) as_myself=$0 ;;
22512 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22513 for as_dir in $PATH
22515 IFS=$as_save_IFS
22516 case $as_dir in #(((
22517 '') as_dir=./ ;;
22518 */) ;;
22519 *) as_dir=$as_dir/ ;;
22520 esac
22521 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
22522 done
22523 IFS=$as_save_IFS
22526 esac
22527 # We did not find ourselves, most probably we were run as `sh COMMAND'
22528 # in which case we are not to be found in the path.
22529 if test "x$as_myself" = x; then
22530 as_myself=$0
22532 if test ! -f "$as_myself"; then
22533 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22534 exit 1
22539 # as_fn_error STATUS ERROR [LINENO LOG_FD]
22540 # ----------------------------------------
22541 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
22542 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
22543 # script with STATUS, using 1 if that was 0.
22544 as_fn_error ()
22546 as_status=$1; test $as_status -eq 0 && as_status=1
22547 if test "$4"; then
22548 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
22549 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
22551 printf "%s\n" "$as_me: error: $2" >&2
22552 as_fn_exit $as_status
22553 } # as_fn_error
22557 # as_fn_set_status STATUS
22558 # -----------------------
22559 # Set $? to STATUS, without forking.
22560 as_fn_set_status ()
22562 return $1
22563 } # as_fn_set_status
22565 # as_fn_exit STATUS
22566 # -----------------
22567 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
22568 as_fn_exit ()
22570 set +e
22571 as_fn_set_status $1
22572 exit $1
22573 } # as_fn_exit
22575 # as_fn_unset VAR
22576 # ---------------
22577 # Portably unset VAR.
22578 as_fn_unset ()
22580 { eval $1=; unset $1;}
22582 as_unset=as_fn_unset
22584 # as_fn_append VAR VALUE
22585 # ----------------------
22586 # Append the text in VALUE to the end of the definition contained in VAR. Take
22587 # advantage of any shell optimizations that allow amortized linear growth over
22588 # repeated appends, instead of the typical quadratic growth present in naive
22589 # implementations.
22590 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
22591 then :
22592 eval 'as_fn_append ()
22594 eval $1+=\$2
22596 else $as_nop
22597 as_fn_append ()
22599 eval $1=\$$1\$2
22601 fi # as_fn_append
22603 # as_fn_arith ARG...
22604 # ------------------
22605 # Perform arithmetic evaluation on the ARGs, and store the result in the
22606 # global $as_val. Take advantage of shells that can avoid forks. The arguments
22607 # must be portable across $(()) and expr.
22608 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
22609 then :
22610 eval 'as_fn_arith ()
22612 as_val=$(( $* ))
22614 else $as_nop
22615 as_fn_arith ()
22617 as_val=`expr "$@" || test $? -eq 1`
22619 fi # as_fn_arith
22622 if expr a : '\(a\)' >/dev/null 2>&1 &&
22623 test "X`expr 00001 : '.*\(...\)'`" = X001; then
22624 as_expr=expr
22625 else
22626 as_expr=false
22629 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22630 as_basename=basename
22631 else
22632 as_basename=false
22635 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
22636 as_dirname=dirname
22637 else
22638 as_dirname=false
22641 as_me=`$as_basename -- "$0" ||
22642 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22643 X"$0" : 'X\(//\)$' \| \
22644 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22645 printf "%s\n" X/"$0" |
22646 sed '/^.*\/\([^/][^/]*\)\/*$/{
22647 s//\1/
22650 /^X\/\(\/\/\)$/{
22651 s//\1/
22654 /^X\/\(\/\).*/{
22655 s//\1/
22658 s/.*/./; q'`
22660 # Avoid depending upon Character Ranges.
22661 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
22662 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22663 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
22664 as_cr_digits='0123456789'
22665 as_cr_alnum=$as_cr_Letters$as_cr_digits
22668 # Determine whether it's possible to make 'echo' print without a newline.
22669 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
22670 # for compatibility with existing Makefiles.
22671 ECHO_C= ECHO_N= ECHO_T=
22672 case `echo -n x` in #(((((
22673 -n*)
22674 case `echo 'xy\c'` in
22675 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
22676 xy) ECHO_C='\c';;
22677 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
22678 ECHO_T=' ';;
22679 esac;;
22681 ECHO_N='-n';;
22682 esac
22684 # For backward compatibility with old third-party macros, we provide
22685 # the shell variables $as_echo and $as_echo_n. New code should use
22686 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
22687 as_echo='printf %s\n'
22688 as_echo_n='printf %s'
22690 rm -f conf$$ conf$$.exe conf$$.file
22691 if test -d conf$$.dir; then
22692 rm -f conf$$.dir/conf$$.file
22693 else
22694 rm -f conf$$.dir
22695 mkdir conf$$.dir 2>/dev/null
22697 if (echo >conf$$.file) 2>/dev/null; then
22698 if ln -s conf$$.file conf$$ 2>/dev/null; then
22699 as_ln_s='ln -s'
22700 # ... but there are two gotchas:
22701 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22702 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22703 # In both cases, we have to default to `cp -pR'.
22704 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
22705 as_ln_s='cp -pR'
22706 elif ln conf$$.file conf$$ 2>/dev/null; then
22707 as_ln_s=ln
22708 else
22709 as_ln_s='cp -pR'
22711 else
22712 as_ln_s='cp -pR'
22714 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
22715 rmdir conf$$.dir 2>/dev/null
22718 # as_fn_mkdir_p
22719 # -------------
22720 # Create "$as_dir" as a directory, including parents if necessary.
22721 as_fn_mkdir_p ()
22724 case $as_dir in #(
22725 -*) as_dir=./$as_dir;;
22726 esac
22727 test -d "$as_dir" || eval $as_mkdir_p || {
22728 as_dirs=
22729 while :; do
22730 case $as_dir in #(
22731 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
22732 *) as_qdir=$as_dir;;
22733 esac
22734 as_dirs="'$as_qdir' $as_dirs"
22735 as_dir=`$as_dirname -- "$as_dir" ||
22736 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22737 X"$as_dir" : 'X\(//\)[^/]' \| \
22738 X"$as_dir" : 'X\(//\)$' \| \
22739 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22740 printf "%s\n" X"$as_dir" |
22741 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22742 s//\1/
22745 /^X\(\/\/\)[^/].*/{
22746 s//\1/
22749 /^X\(\/\/\)$/{
22750 s//\1/
22753 /^X\(\/\).*/{
22754 s//\1/
22757 s/.*/./; q'`
22758 test -d "$as_dir" && break
22759 done
22760 test -z "$as_dirs" || eval "mkdir $as_dirs"
22761 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
22764 } # as_fn_mkdir_p
22765 if mkdir -p . 2>/dev/null; then
22766 as_mkdir_p='mkdir -p "$as_dir"'
22767 else
22768 test -d ./-p && rmdir ./-p
22769 as_mkdir_p=false
22773 # as_fn_executable_p FILE
22774 # -----------------------
22775 # Test if FILE is an executable regular file.
22776 as_fn_executable_p ()
22778 test -f "$1" && test -x "$1"
22779 } # as_fn_executable_p
22780 as_test_x='test -x'
22781 as_executable_p=as_fn_executable_p
22783 # Sed expression to map a string onto a valid CPP name.
22784 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22786 # Sed expression to map a string onto a valid variable name.
22787 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22790 exec 6>&1
22791 ## ----------------------------------- ##
22792 ## Main body of $CONFIG_STATUS script. ##
22793 ## ----------------------------------- ##
22794 _ASEOF
22795 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
22797 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22798 # Save the log message, to keep $0 and so on meaningful, and to
22799 # report actual input values of CONFIG_FILES etc. instead of their
22800 # values after options handling.
22801 ac_log="
22802 This file was extended by Wine $as_me 7.22, which was
22803 generated by GNU Autoconf 2.71. Invocation command line was
22805 CONFIG_FILES = $CONFIG_FILES
22806 CONFIG_HEADERS = $CONFIG_HEADERS
22807 CONFIG_LINKS = $CONFIG_LINKS
22808 CONFIG_COMMANDS = $CONFIG_COMMANDS
22809 $ $0 $@
22811 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22814 _ACEOF
22817 case $ac_config_headers in *"
22818 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
22819 esac
22822 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22823 # Files that config.status was made for.
22824 config_headers="$ac_config_headers"
22825 config_links="$ac_config_links"
22826 config_commands="$ac_config_commands"
22828 _ACEOF
22830 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22831 ac_cs_usage="\
22832 \`$as_me' instantiates files and other configuration actions
22833 from templates according to the current configuration. Unless the files
22834 and actions are specified as TAGs, all are instantiated by default.
22836 Usage: $0 [OPTION]... [TAG]...
22838 -h, --help print this help, then exit
22839 -V, --version print version number and configuration settings, then exit
22840 --config print configuration, then exit
22841 -q, --quiet, --silent
22842 do not print progress messages
22843 -d, --debug don't remove temporary files
22844 --recheck update $as_me by reconfiguring in the same conditions
22845 --header=FILE[:TEMPLATE]
22846 instantiate the configuration header FILE
22848 Configuration headers:
22849 $config_headers
22851 Configuration links:
22852 $config_links
22854 Configuration commands:
22855 $config_commands
22857 Report bugs to <wine-devel@winehq.org>.
22858 Wine home page: <https://www.winehq.org>."
22860 _ACEOF
22861 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
22862 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
22863 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22864 ac_cs_config='$ac_cs_config_escaped'
22865 ac_cs_version="\\
22866 Wine config.status 7.22
22867 configured by $0, generated by GNU Autoconf 2.71,
22868 with options \\"\$ac_cs_config\\"
22870 Copyright (C) 2021 Free Software Foundation, Inc.
22871 This config.status script is free software; the Free Software Foundation
22872 gives unlimited permission to copy, distribute and modify it."
22874 ac_pwd='$ac_pwd'
22875 srcdir='$srcdir'
22876 test -n "\$AWK" || AWK=awk
22877 _ACEOF
22879 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22880 # The default lists apply if the user does not specify any file.
22881 ac_need_defaults=:
22882 while test $# != 0
22884 case $1 in
22885 --*=?*)
22886 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22887 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
22888 ac_shift=:
22890 --*=)
22891 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22892 ac_optarg=
22893 ac_shift=:
22896 ac_option=$1
22897 ac_optarg=$2
22898 ac_shift=shift
22900 esac
22902 case $ac_option in
22903 # Handling of the options.
22904 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22905 ac_cs_recheck=: ;;
22906 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
22907 printf "%s\n" "$ac_cs_version"; exit ;;
22908 --config | --confi | --conf | --con | --co | --c )
22909 printf "%s\n" "$ac_cs_config"; exit ;;
22910 --debug | --debu | --deb | --de | --d | -d )
22911 debug=: ;;
22912 --header | --heade | --head | --hea )
22913 $ac_shift
22914 case $ac_optarg in
22915 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22916 esac
22917 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
22918 ac_need_defaults=false;;
22919 --he | --h)
22920 # Conflict between --help and --header
22921 as_fn_error $? "ambiguous option: \`$1'
22922 Try \`$0 --help' for more information.";;
22923 --help | --hel | -h )
22924 printf "%s\n" "$ac_cs_usage"; exit ;;
22925 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22926 | -silent | --silent | --silen | --sile | --sil | --si | --s)
22927 ac_cs_silent=: ;;
22929 # This is an error.
22930 -*) as_fn_error $? "unrecognized option: \`$1'
22931 Try \`$0 --help' for more information." ;;
22933 *) as_fn_append ac_config_targets " $1"
22934 ac_need_defaults=false ;;
22936 esac
22937 shift
22938 done
22940 ac_configure_extra_args=
22942 if $ac_cs_silent; then
22943 exec 6>/dev/null
22944 ac_configure_extra_args="$ac_configure_extra_args --silent"
22947 _ACEOF
22948 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22949 if \$ac_cs_recheck; then
22950 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22951 shift
22952 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
22953 CONFIG_SHELL='$SHELL'
22954 export CONFIG_SHELL
22955 exec "\$@"
22958 _ACEOF
22959 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22960 exec 5>>config.log
22962 echo
22963 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22964 ## Running $as_me. ##
22965 _ASBOX
22966 printf "%s\n" "$ac_log"
22967 } >&5
22969 _ACEOF
22970 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22972 # INIT-COMMANDS
22974 wine_fn_output_makedep ()
22976 as_dir=tools; as_fn_mkdir_p
22977 $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
22979 wine_fn_output_makefile ()
22981 cat <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && "$wine_makedep"$makedep_flags && return
22982 # This Makefile understands the following targets:
22984 # all (default): build wine
22985 # clean: remove all intermediate files
22986 # distclean: also remove all files created by configure
22987 # test: run tests
22988 # testclean: clean test results to force running all tests again
22989 # install-lib: install libraries needed to run applications
22990 # install-dev: install development environment
22991 # install: install everything
22992 # uninstall: uninstall everything
22993 # ctags: create a tags file for vim and others.
22994 # etags: create a TAGS file for Emacs.
22996 SHELL = $SHELL
22997 PATH_SEPARATOR = $PATH_SEPARATOR
22998 PACKAGE_NAME = $PACKAGE_NAME
22999 PACKAGE_TARNAME = $PACKAGE_TARNAME
23000 PACKAGE_VERSION = $PACKAGE_VERSION
23001 PACKAGE_STRING = $PACKAGE_STRING
23002 PACKAGE_BUGREPORT = $PACKAGE_BUGREPORT
23003 PACKAGE_URL = $PACKAGE_URL
23004 exec_prefix = $exec_prefix
23005 prefix = $prefix
23006 program_transform_name = $program_transform_name
23007 bindir = $bindir
23008 sbindir = $sbindir
23009 libexecdir = $libexecdir
23010 datarootdir = $datarootdir
23011 datadir = $datadir
23012 sysconfdir = $sysconfdir
23013 sharedstatedir = $sharedstatedir
23014 localstatedir = $localstatedir
23015 runstatedir = $runstatedir
23016 includedir = $includedir
23017 oldincludedir = $oldincludedir
23018 docdir = $docdir
23019 infodir = $infodir
23020 htmldir = $htmldir
23021 dvidir = $dvidir
23022 pdfdir = $pdfdir
23023 psdir = $psdir
23024 libdir = $libdir
23025 localedir = $localedir
23026 mandir = $mandir
23027 DEFS = $DEFS
23028 ECHO_C = $ECHO_C
23029 ECHO_N = $ECHO_N
23030 ECHO_T = $ECHO_T
23031 LIBS = $LIBS
23032 build_alias = $build_alias
23033 host_alias = $host_alias
23034 target_alias = $target_alias
23035 system_dllpath = $system_dllpath
23036 build = $build
23037 build_cpu = $build_cpu
23038 build_vendor = $build_vendor
23039 build_os = $build_os
23040 host = $host
23041 host_cpu = $host_cpu
23042 host_vendor = $host_vendor
23043 host_os = $host_os
23044 dlldir = $dlldir
23045 fontdir = $fontdir
23046 nlsdir = $nlsdir
23047 srcdir = $srcdir
23048 SET_MAKE = $SET_MAKE
23049 CC = $CC
23050 CFLAGS = $CFLAGS
23051 LDFLAGS = $LDFLAGS
23052 CPPFLAGS = $CPPFLAGS
23053 ac_ct_CC = $ac_ct_CC
23054 EXEEXT = $EXEEXT
23055 OBJEXT = $OBJEXT
23056 CXX = $CXX
23057 CXXFLAGS = $CXXFLAGS
23058 ac_ct_CXX = $ac_ct_CXX
23059 CPPBIN = $CPPBIN
23060 LD = $LD
23061 TARGETFLAGS = $TARGETFLAGS
23062 toolsext = $toolsext
23063 HOST_ARCH = $HOST_ARCH
23064 aarch64_CC = $aarch64_CC
23065 aarch64_CFLAGS = $aarch64_CFLAGS
23066 aarch64_EXTRACFLAGS = $aarch64_EXTRACFLAGS
23067 aarch64_LDFLAGS = $aarch64_LDFLAGS
23068 aarch64_DEBUG = $aarch64_DEBUG
23069 aarch64_TARGET = $aarch64_TARGET
23070 aarch64_DELAYLOADFLAG = $aarch64_DELAYLOADFLAG
23071 aarch64_DISABLED_SUBDIRS = $aarch64_DISABLED_SUBDIRS
23072 arm_CC = $arm_CC
23073 arm_CFLAGS = $arm_CFLAGS
23074 arm_EXTRACFLAGS = $arm_EXTRACFLAGS
23075 arm_LDFLAGS = $arm_LDFLAGS
23076 arm_DEBUG = $arm_DEBUG
23077 arm_TARGET = $arm_TARGET
23078 arm_DELAYLOADFLAG = $arm_DELAYLOADFLAG
23079 arm_DISABLED_SUBDIRS = $arm_DISABLED_SUBDIRS
23080 i386_CC = $i386_CC
23081 i386_CFLAGS = $i386_CFLAGS
23082 i386_EXTRACFLAGS = $i386_EXTRACFLAGS
23083 i386_LDFLAGS = $i386_LDFLAGS
23084 i386_DEBUG = $i386_DEBUG
23085 i386_TARGET = $i386_TARGET
23086 i386_DELAYLOADFLAG = $i386_DELAYLOADFLAG
23087 i386_DISABLED_SUBDIRS = $i386_DISABLED_SUBDIRS
23088 x86_64_CC = $x86_64_CC
23089 x86_64_CFLAGS = $x86_64_CFLAGS
23090 x86_64_EXTRACFLAGS = $x86_64_EXTRACFLAGS
23091 x86_64_LDFLAGS = $x86_64_LDFLAGS
23092 x86_64_DEBUG = $x86_64_DEBUG
23093 x86_64_TARGET = $x86_64_TARGET
23094 x86_64_DELAYLOADFLAG = $x86_64_DELAYLOADFLAG
23095 x86_64_DISABLED_SUBDIRS = $x86_64_DISABLED_SUBDIRS
23096 toolsdir = $toolsdir
23097 MAKEDEP = $MAKEDEP
23098 RUNTESTFLAGS = $RUNTESTFLAGS
23099 SED_CMD = $SED_CMD
23100 FLEX = $FLEX
23101 BISON = $BISON
23102 AR = $AR
23103 ac_ct_AR = $ac_ct_AR
23104 STRIP = $STRIP
23105 RANLIB = $RANLIB
23106 LN_S = $LN_S
23107 GREP = $GREP
23108 EGREP = $EGREP
23109 LDCONFIG = $LDCONFIG
23110 MSGFMT = $MSGFMT
23111 PKG_CONFIG = $PKG_CONFIG
23112 FONTFORGE = $FONTFORGE
23113 RSVG = $RSVG
23114 CONVERT = $CONVERT
23115 ICOTOOL = $ICOTOOL
23116 I386_LIBS = $I386_LIBS
23117 OPENGL_LIBS = $OPENGL_LIBS
23118 DLLFLAGS = $DLLFLAGS
23119 LDDLLFLAGS = $LDDLLFLAGS
23120 LDEXECFLAGS = $LDEXECFLAGS
23121 EXTRACFLAGS = $EXTRACFLAGS
23122 UNIXDLLFLAGS = $UNIXDLLFLAGS
23123 UNIXLDFLAGS = $UNIXLDFLAGS
23124 TOP_INSTALL_LIB = $TOP_INSTALL_LIB
23125 TOP_INSTALL_DEV = $TOP_INSTALL_DEV
23126 WINELOADER_LDFLAGS = $WINELOADER_LDFLAGS
23127 WINEPRELOADER_LDFLAGS = $WINEPRELOADER_LDFLAGS
23128 LDD = $LDD
23129 OTOOL = $OTOOL
23130 READELF = $READELF
23131 SUBDIRS = $SUBDIRS
23132 DISABLED_SUBDIRS = $DISABLED_SUBDIRS
23133 CONFIGURE_TARGETS = $CONFIGURE_TARGETS
23134 CARBON_LIBS = $CARBON_LIBS
23135 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
23136 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
23137 IOKIT_LIBS = $IOKIT_LIBS
23138 METAL_LIBS = $METAL_LIBS
23139 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
23140 CORESERVICES_LIBS = $CORESERVICES_LIBS
23141 APPKIT_LIBS = $APPKIT_LIBS
23142 SECURITY_LIBS = $SECURITY_LIBS
23143 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
23144 COREAUDIO_LIBS = $COREAUDIO_LIBS
23145 OPENCL_LIBS = $OPENCL_LIBS
23146 OBJC = $OBJC
23147 OBJCFLAGS = $OBJCFLAGS
23148 ac_ct_OBJC = $ac_ct_OBJC
23149 LIBWINE_SHAREDLIB = $LIBWINE_SHAREDLIB
23150 LIBWINE_LDFLAGS = $LIBWINE_LDFLAGS
23151 WINELOADER_DEPENDS = $WINELOADER_DEPENDS
23152 PRELINK = $PRELINK
23153 LIBWINE_DEPENDS = $LIBWINE_DEPENDS
23154 PE_ARCHS = $PE_ARCHS
23155 MINGW_PKG_CONFIG = $MINGW_PKG_CONFIG
23156 FAUDIO_PE_CFLAGS = $FAUDIO_PE_CFLAGS
23157 FAUDIO_PE_LIBS = $FAUDIO_PE_LIBS
23158 GSM_PE_CFLAGS = $GSM_PE_CFLAGS
23159 GSM_PE_LIBS = $GSM_PE_LIBS
23160 JPEG_PE_CFLAGS = $JPEG_PE_CFLAGS
23161 JPEG_PE_LIBS = $JPEG_PE_LIBS
23162 JXR_PE_CFLAGS = $JXR_PE_CFLAGS
23163 JXR_PE_LIBS = $JXR_PE_LIBS
23164 LCMS2_PE_CFLAGS = $LCMS2_PE_CFLAGS
23165 LCMS2_PE_LIBS = $LCMS2_PE_LIBS
23166 LDAP_PE_CFLAGS = $LDAP_PE_CFLAGS
23167 LDAP_PE_LIBS = $LDAP_PE_LIBS
23168 MPG123_PE_CFLAGS = $MPG123_PE_CFLAGS
23169 MPG123_PE_LIBS = $MPG123_PE_LIBS
23170 PNG_PE_CFLAGS = $PNG_PE_CFLAGS
23171 PNG_PE_LIBS = $PNG_PE_LIBS
23172 TIFF_PE_CFLAGS = $TIFF_PE_CFLAGS
23173 TIFF_PE_LIBS = $TIFF_PE_LIBS
23174 VKD3D_PE_CFLAGS = $VKD3D_PE_CFLAGS
23175 VKD3D_PE_LIBS = $VKD3D_PE_LIBS
23176 XML2_PE_CFLAGS = $XML2_PE_CFLAGS
23177 XML2_PE_LIBS = $XML2_PE_LIBS
23178 XSLT_PE_CFLAGS = $XSLT_PE_CFLAGS
23179 XSLT_PE_LIBS = $XSLT_PE_LIBS
23180 ZLIB_PE_CFLAGS = $ZLIB_PE_CFLAGS
23181 ZLIB_PE_LIBS = $ZLIB_PE_LIBS
23182 PTHREAD_LIBS = $PTHREAD_LIBS
23183 XMKMF = $XMKMF
23184 CPP = $CPP
23185 X_CFLAGS = $X_CFLAGS
23186 X_PRE_LIBS = $X_PRE_LIBS
23187 X_LIBS = $X_LIBS
23188 X_EXTRA_LIBS = $X_EXTRA_LIBS
23189 PCAP_LIBS = $PCAP_LIBS
23190 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
23191 INOTIFY_LIBS = $INOTIFY_LIBS
23192 DBUS_CFLAGS = $DBUS_CFLAGS
23193 DBUS_LIBS = $DBUS_LIBS
23194 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
23195 GNUTLS_LIBS = $GNUTLS_LIBS
23196 SANE_CFLAGS = $SANE_CFLAGS
23197 SANE_LIBS = $SANE_LIBS
23198 USB_CFLAGS = $USB_CFLAGS
23199 USB_LIBS = $USB_LIBS
23200 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
23201 GPHOTO2_LIBS = $GPHOTO2_LIBS
23202 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
23203 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
23204 RESOLV_LIBS = $RESOLV_LIBS
23205 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
23206 FREETYPE_LIBS = $FREETYPE_LIBS
23207 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
23208 PULSE_CFLAGS = $PULSE_CFLAGS
23209 PULSE_LIBS = $PULSE_LIBS
23210 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
23211 GSTREAMER_LIBS = $GSTREAMER_LIBS
23212 ALSA_LIBS = $ALSA_LIBS
23213 OSS4_CFLAGS = $OSS4_CFLAGS
23214 OSS4_LIBS = $OSS4_LIBS
23215 UDEV_CFLAGS = $UDEV_CFLAGS
23216 UDEV_LIBS = $UDEV_LIBS
23217 UNWIND_CFLAGS = $UNWIND_CFLAGS
23218 UNWIND_LIBS = $UNWIND_LIBS
23219 SDL2_CFLAGS = $SDL2_CFLAGS
23220 SDL2_LIBS = $SDL2_LIBS
23221 CAPI20_CFLAGS = $CAPI20_CFLAGS
23222 CAPI20_LIBS = $CAPI20_LIBS
23223 CUPS_CFLAGS = $CUPS_CFLAGS
23224 CUPS_LIBS = $CUPS_LIBS
23225 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
23226 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
23227 KRB5_CFLAGS = $KRB5_CFLAGS
23228 KRB5_LIBS = $KRB5_LIBS
23229 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
23230 GSSAPI_LIBS = $GSSAPI_LIBS
23231 PROCSTAT_LIBS = $PROCSTAT_LIBS
23232 NETAPI_CFLAGS = $NETAPI_CFLAGS
23233 NETAPI_LIBS = $NETAPI_LIBS
23234 MSVCRTFLAGS = $MSVCRTFLAGS
23235 DELAYLOADFLAG = $DELAYLOADFLAG
23236 WINELOADER_PROGRAMS = $WINELOADER_PROGRAMS
23237 RT_LIBS = $RT_LIBS
23238 TAGSFLAGS = $TAGSFLAGS
23239 LIBOBJS = $LIBOBJS
23240 LTLIBOBJS = $LTLIBOBJS
23241 $SET_MAKE
23242 $wine_rules
23243 _WINE_EOF
23244 as_fn_error $? "could not create Makefile" "$LINENO" 5
23247 _ACEOF
23249 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23251 # Handling of arguments.
23252 for ac_config_target in $ac_config_targets
23254 case $ac_config_target in
23255 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
23256 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
23257 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
23258 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
23259 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
23260 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
23262 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
23263 esac
23264 done
23267 # If the user did not use the arguments to specify the items to instantiate,
23268 # then the envvar interface is used. Set only those that are not.
23269 # We use the long form for the default assignment because of an extremely
23270 # bizarre bug on SunOS 4.1.3.
23271 if $ac_need_defaults; then
23272 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
23273 test ${CONFIG_LINKS+y} || CONFIG_LINKS=$config_links
23274 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
23277 # Have a temporary directory for convenience. Make it in the build tree
23278 # simply because there is no reason against having it here, and in addition,
23279 # creating and moving files from /tmp can sometimes cause problems.
23280 # Hook for its removal unless debugging.
23281 # Note that there is a small window in which the directory will not be cleaned:
23282 # after its creation but before its name has been assigned to `$tmp'.
23283 $debug ||
23285 tmp= ac_tmp=
23286 trap 'exit_status=$?
23287 : "${ac_tmp:=$tmp}"
23288 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
23290 trap 'as_fn_exit 1' 1 2 13 15
23292 # Create a (secure) tmp directory for tmp files.
23295 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23296 test -d "$tmp"
23297 } ||
23299 tmp=./conf$$-$RANDOM
23300 (umask 077 && mkdir "$tmp")
23301 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
23302 ac_tmp=$tmp
23304 # Set up the scripts for CONFIG_HEADERS section.
23305 # No need to generate them if there are no CONFIG_HEADERS.
23306 # This happens for instance with `./config.status Makefile'.
23307 if test -n "$CONFIG_HEADERS"; then
23308 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
23309 BEGIN {
23310 _ACEOF
23312 # Transform confdefs.h into an awk script `defines.awk', embedded as
23313 # here-document in config.status, that substitutes the proper values into
23314 # config.h.in to produce config.h.
23316 # Create a delimiter string that does not exist in confdefs.h, to ease
23317 # handling of long lines.
23318 ac_delim='%!_!# '
23319 for ac_last_try in false false :; do
23320 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
23321 if test -z "$ac_tt"; then
23322 break
23323 elif $ac_last_try; then
23324 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
23325 else
23326 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23328 done
23330 # For the awk script, D is an array of macro values keyed by name,
23331 # likewise P contains macro parameters if any. Preserve backslash
23332 # newline sequences.
23334 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
23335 sed -n '
23336 s/.\{148\}/&'"$ac_delim"'/g
23337 t rset
23338 :rset
23339 s/^[ ]*#[ ]*define[ ][ ]*/ /
23340 t def
23342 :def
23343 s/\\$//
23344 t bsnl
23345 s/["\\]/\\&/g
23346 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23347 D["\1"]=" \3"/p
23348 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
23350 :bsnl
23351 s/["\\]/\\&/g
23352 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23353 D["\1"]=" \3\\\\\\n"\\/p
23354 t cont
23355 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
23356 t cont
23358 :cont
23360 s/.\{148\}/&'"$ac_delim"'/g
23361 t clear
23362 :clear
23363 s/\\$//
23364 t bsnlc
23365 s/["\\]/\\&/g; s/^/"/; s/$/"/p
23367 :bsnlc
23368 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
23369 b cont
23370 ' <confdefs.h | sed '
23371 s/'"$ac_delim"'/"\\\
23372 "/g' >>$CONFIG_STATUS || ac_write_fail=1
23374 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23375 for (key in D) D_is_set[key] = 1
23376 FS = "\a"
23378 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
23379 line = \$ 0
23380 split(line, arg, " ")
23381 if (arg[1] == "#") {
23382 defundef = arg[2]
23383 mac1 = arg[3]
23384 } else {
23385 defundef = substr(arg[1], 2)
23386 mac1 = arg[2]
23388 split(mac1, mac2, "(") #)
23389 macro = mac2[1]
23390 prefix = substr(line, 1, index(line, defundef) - 1)
23391 if (D_is_set[macro]) {
23392 # Preserve the white space surrounding the "#".
23393 print prefix "define", macro P[macro] D[macro]
23394 next
23395 } else {
23396 # Replace #undef with comments. This is necessary, for example,
23397 # in the case of _POSIX_SOURCE, which is predefined and required
23398 # on some systems where configure will not decide to define it.
23399 if (defundef == "undef") {
23400 print "/*", prefix defundef, macro, "*/"
23401 next
23405 { print }
23406 _ACAWK
23407 _ACEOF
23408 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23409 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
23410 fi # test -n "$CONFIG_HEADERS"
23413 eval set X " :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
23414 shift
23415 for ac_tag
23417 case $ac_tag in
23418 :[FHLC]) ac_mode=$ac_tag; continue;;
23419 esac
23420 case $ac_mode$ac_tag in
23421 :[FHL]*:*);;
23422 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
23423 :[FH]-) ac_tag=-:-;;
23424 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
23425 esac
23426 ac_save_IFS=$IFS
23427 IFS=:
23428 set x $ac_tag
23429 IFS=$ac_save_IFS
23430 shift
23431 ac_file=$1
23432 shift
23434 case $ac_mode in
23435 :L) ac_source=$1;;
23436 :[FH])
23437 ac_file_inputs=
23438 for ac_f
23440 case $ac_f in
23441 -) ac_f="$ac_tmp/stdin";;
23442 *) # Look for the file first in the build tree, then in the source tree
23443 # (if the path is not absolute). The absolute path cannot be DOS-style,
23444 # because $ac_f cannot contain `:'.
23445 test -f "$ac_f" ||
23446 case $ac_f in
23447 [\\/$]*) false;;
23448 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
23449 esac ||
23450 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
23451 esac
23452 case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
23453 as_fn_append ac_file_inputs " '$ac_f'"
23454 done
23456 # Let's still pretend it is `configure' which instantiates (i.e., don't
23457 # use $as_me), people would be surprised to read:
23458 # /* config.h. Generated by config.status. */
23459 configure_input='Generated from '`
23460 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
23461 `' by configure.'
23462 if test x"$ac_file" != x-; then
23463 configure_input="$ac_file. $configure_input"
23464 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
23465 printf "%s\n" "$as_me: creating $ac_file" >&6;}
23467 # Neutralize special characters interpreted by sed in replacement strings.
23468 case $configure_input in #(
23469 *\&* | *\|* | *\\* )
23470 ac_sed_conf_input=`printf "%s\n" "$configure_input" |
23471 sed 's/[\\\\&|]/\\\\&/g'`;; #(
23472 *) ac_sed_conf_input=$configure_input;;
23473 esac
23475 case $ac_tag in
23476 *:-:* | *:-) cat >"$ac_tmp/stdin" \
23477 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
23478 esac
23480 esac
23482 ac_dir=`$as_dirname -- "$ac_file" ||
23483 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23484 X"$ac_file" : 'X\(//\)[^/]' \| \
23485 X"$ac_file" : 'X\(//\)$' \| \
23486 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23487 printf "%s\n" X"$ac_file" |
23488 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23489 s//\1/
23492 /^X\(\/\/\)[^/].*/{
23493 s//\1/
23496 /^X\(\/\/\)$/{
23497 s//\1/
23500 /^X\(\/\).*/{
23501 s//\1/
23504 s/.*/./; q'`
23505 as_dir="$ac_dir"; as_fn_mkdir_p
23506 ac_builddir=.
23508 case "$ac_dir" in
23509 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
23511 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
23512 # A ".." for each directory in $ac_dir_suffix.
23513 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
23514 case $ac_top_builddir_sub in
23515 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
23516 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
23517 esac ;;
23518 esac
23519 ac_abs_top_builddir=$ac_pwd
23520 ac_abs_builddir=$ac_pwd$ac_dir_suffix
23521 # for backward compatibility:
23522 ac_top_builddir=$ac_top_build_prefix
23524 case $srcdir in
23525 .) # We are building in place.
23526 ac_srcdir=.
23527 ac_top_srcdir=$ac_top_builddir_sub
23528 ac_abs_top_srcdir=$ac_pwd ;;
23529 [\\/]* | ?:[\\/]* ) # Absolute name.
23530 ac_srcdir=$srcdir$ac_dir_suffix;
23531 ac_top_srcdir=$srcdir
23532 ac_abs_top_srcdir=$srcdir ;;
23533 *) # Relative name.
23534 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
23535 ac_top_srcdir=$ac_top_build_prefix$srcdir
23536 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
23537 esac
23538 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
23541 case $ac_mode in
23545 # CONFIG_HEADER
23547 if test x"$ac_file" != x-; then
23549 printf "%s\n" "/* $configure_input */" >&1 \
23550 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
23551 } >"$ac_tmp/config.h" \
23552 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23553 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
23554 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
23555 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
23556 else
23557 rm -f "$ac_file"
23558 mv "$ac_tmp/config.h" "$ac_file" \
23559 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23561 else
23562 printf "%s\n" "/* $configure_input */" >&1 \
23563 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
23564 || as_fn_error $? "could not create -" "$LINENO" 5
23569 # CONFIG_LINK
23572 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
23574 else
23575 # Prefer the file from the source tree if names are identical.
23576 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
23577 ac_source=$srcdir/$ac_source
23580 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
23581 printf "%s\n" "$as_me: linking $ac_source to $ac_file" >&6;}
23583 if test ! -r "$ac_source"; then
23584 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
23586 rm -f "$ac_file"
23588 # Try a relative symlink, then a hard link, then a copy.
23589 case $ac_source in
23590 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
23591 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
23592 esac
23593 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
23594 ln "$ac_source" "$ac_file" 2>/dev/null ||
23595 cp -p "$ac_source" "$ac_file" ||
23596 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
23599 :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
23600 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
23602 esac
23605 case $ac_file$ac_mode in
23606 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
23607 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
23608 "Makefile":C) wine_fn_output_makefile Makefile ;;
23610 esac
23611 done # for ac_tag
23614 as_fn_exit 0
23615 _ACEOF
23616 ac_clean_files=$ac_clean_files_save
23618 test $ac_write_fail = 0 ||
23619 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
23622 # configure is writing to config.log, and then calls config.status.
23623 # config.status does its own redirection, appending to config.log.
23624 # Unfortunately, on DOS this fails, as config.log is still kept open
23625 # by configure, so config.status won't be able to write to it; its
23626 # output is simply discarded. So we exec the FD to /dev/null,
23627 # effectively closing config.log, so it can be properly (re)opened and
23628 # appended to by config.status. When coming back to configure, we
23629 # need to make the FD available again.
23630 if test "$no_create" != yes; then
23631 ac_cs_success=:
23632 ac_config_status_args=
23633 test "$silent" = yes &&
23634 ac_config_status_args="$ac_config_status_args --quiet"
23635 exec 5>/dev/null
23636 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
23637 exec 5>>config.log
23638 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23639 # would make configure fail if this is the last instruction.
23640 $ac_cs_success || as_fn_exit 1
23642 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
23643 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
23644 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
23648 if test "$no_create" = "yes"
23649 then
23650 exit 0
23653 ac_save_IFS="$IFS"
23654 if test "x$wine_notices" != x; then
23655 echo >&6
23656 IFS="|"
23657 for msg in $wine_notices; do
23658 IFS="$ac_save_IFS"
23659 if ${msg:+false} :
23660 then :
23662 else $as_nop
23663 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $msg" >&5
23664 printf "%s\n" "$as_me: $msg" >&6;}
23666 done
23668 IFS="|"
23669 for msg in $wine_warnings; do
23670 IFS="$ac_save_IFS"
23671 if ${msg:+false} :
23672 then :
23674 else $as_nop
23675 echo >&2
23676 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
23677 printf "%s\n" "$as_me: WARNING: $msg" >&2;}
23679 done
23680 IFS="$ac_save_IFS"
23682 printf "%s\n" "
23683 $as_me: Finished. Do '${ac_make}' to compile Wine.
23684 " >&6