po: Update Japanese translation.
[wine.git] / configure
bloba337ec87a8d81b78f7f62a2e0960a907676b0865
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.71 for Wine 8.0-rc1.
5 # Report bugs to <wine-devel@winehq.org>.
8 # Copyright (C) 1992-1996, 1998-2017, 2020-2021 Free Software Foundation,
9 # Inc.
12 # This configure script is free software; the Free Software Foundation
13 # gives unlimited permission to copy, distribute and modify it.
14 ## -------------------- ##
15 ## M4sh Initialization. ##
16 ## -------------------- ##
18 # Be more Bourne compatible
19 DUALCASE=1; export DUALCASE # for MKS sh
20 as_nop=:
21 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
22 then :
23 emulate sh
24 NULLCMD=:
25 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
26 # is contrary to our usage. Disable this feature.
27 alias -g '${1+"$@"}'='"$@"'
28 setopt NO_GLOB_SUBST
29 else $as_nop
30 case `(set -o) 2>/dev/null` in #(
31 *posix*) :
32 set -o posix ;; #(
33 *) :
35 esac
40 # Reset variables that may have inherited troublesome values from
41 # the environment.
43 # IFS needs to be set, to space, tab, and newline, in precisely that order.
44 # (If _AS_PATH_WALK were called with IFS unset, it would have the
45 # side effect of setting IFS to empty, thus disabling word splitting.)
46 # Quoting is to prevent editors from complaining about space-tab.
47 as_nl='
49 export as_nl
50 IFS=" "" $as_nl"
52 PS1='$ '
53 PS2='> '
54 PS4='+ '
56 # Ensure predictable behavior from utilities with locale-dependent output.
57 LC_ALL=C
58 export LC_ALL
59 LANGUAGE=C
60 export LANGUAGE
62 # We cannot yet rely on "unset" to work, but we need these variables
63 # to be unset--not just set to an empty or harmless value--now, to
64 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
65 # also avoids known problems related to "unset" and subshell syntax
66 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
67 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
68 do eval test \${$as_var+y} \
69 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
70 done
72 # Ensure that fds 0, 1, and 2 are open.
73 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
74 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
75 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
77 # The user is always right.
78 if ${PATH_SEPARATOR+false} :; then
79 PATH_SEPARATOR=:
80 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
81 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
82 PATH_SEPARATOR=';'
87 # Find who we are. Look in the path if we contain no directory separator.
88 as_myself=
89 case $0 in #((
90 *[\\/]* ) as_myself=$0 ;;
91 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
92 for as_dir in $PATH
94 IFS=$as_save_IFS
95 case $as_dir in #(((
96 '') as_dir=./ ;;
97 */) ;;
98 *) as_dir=$as_dir/ ;;
99 esac
100 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
101 done
102 IFS=$as_save_IFS
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109 as_myself=$0
111 if test ! -f "$as_myself"; then
112 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1
117 # Use a proper internal environment variable to ensure we don't fall
118 # into an infinite loop, continuously re-executing ourselves.
119 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
120 _as_can_reexec=no; export _as_can_reexec;
121 # We cannot yet assume a decent shell, so we have to provide a
122 # neutralization value for shells without unset; and this also
123 # works around shells that cannot unset nonexistent variables.
124 # Preserve -v and -x to the replacement shell.
125 BASH_ENV=/dev/null
126 ENV=/dev/null
127 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
128 case $- in # ((((
129 *v*x* | *x*v* ) as_opts=-vx ;;
130 *v* ) as_opts=-v ;;
131 *x* ) as_opts=-x ;;
132 * ) as_opts= ;;
133 esac
134 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
135 # Admittedly, this is quite paranoid, since all the known shells bail
136 # out after a failed `exec'.
137 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
138 exit 255
140 # We don't want this to propagate to other subprocesses.
141 { _as_can_reexec=; unset _as_can_reexec;}
142 if test "x$CONFIG_SHELL" = x; then
143 as_bourne_compatible="as_nop=:
144 if test \${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
145 then :
146 emulate sh
147 NULLCMD=:
148 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
149 # is contrary to our usage. Disable this feature.
150 alias -g '\${1+\"\$@\"}'='\"\$@\"'
151 setopt NO_GLOB_SUBST
152 else \$as_nop
153 case \`(set -o) 2>/dev/null\` in #(
154 *posix*) :
155 set -o posix ;; #(
156 *) :
158 esac
161 as_required="as_fn_return () { (exit \$1); }
162 as_fn_success () { as_fn_return 0; }
163 as_fn_failure () { as_fn_return 1; }
164 as_fn_ret_success () { return 0; }
165 as_fn_ret_failure () { return 1; }
167 exitcode=0
168 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
169 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
170 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
171 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
172 if ( set x; as_fn_ret_success y && test x = \"\$1\" )
173 then :
175 else \$as_nop
176 exitcode=1; echo positional parameters were not saved.
178 test x\$exitcode = x0 || exit 1
179 blah=\$(echo \$(echo blah))
180 test x\"\$blah\" = xblah || exit 1
181 test -x / || exit 1"
182 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
183 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
184 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
185 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
186 test \$(( 1 + 1 )) = 2 || exit 1"
187 if (eval "$as_required") 2>/dev/null
188 then :
189 as_have_required=yes
190 else $as_nop
191 as_have_required=no
193 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null
194 then :
196 else $as_nop
197 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
198 as_found=false
199 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
201 IFS=$as_save_IFS
202 case $as_dir in #(((
203 '') as_dir=./ ;;
204 */) ;;
205 *) as_dir=$as_dir/ ;;
206 esac
207 as_found=:
208 case $as_dir in #(
210 for as_base in sh bash ksh sh5; do
211 # Try only shells that exist, to save several forks.
212 as_shell=$as_dir$as_base
213 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
214 as_run=a "$as_shell" -c "$as_bourne_compatible""$as_required" 2>/dev/null
215 then :
216 CONFIG_SHELL=$as_shell as_have_required=yes
217 if as_run=a "$as_shell" -c "$as_bourne_compatible""$as_suggested" 2>/dev/null
218 then :
219 break 2
222 done;;
223 esac
224 as_found=false
225 done
226 IFS=$as_save_IFS
227 if $as_found
228 then :
230 else $as_nop
231 if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
232 as_run=a "$SHELL" -c "$as_bourne_compatible""$as_required" 2>/dev/null
233 then :
234 CONFIG_SHELL=$SHELL as_have_required=yes
239 if test "x$CONFIG_SHELL" != x
240 then :
241 export CONFIG_SHELL
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
246 BASH_ENV=/dev/null
247 ENV=/dev/null
248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
249 case $- in # ((((
250 *v*x* | *x*v* ) as_opts=-vx ;;
251 *v* ) as_opts=-v ;;
252 *x* ) as_opts=-x ;;
253 * ) as_opts= ;;
254 esac
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 printf "%s\n" "$0: could not re-execute with $CONFIG_SHELL" >&2
259 exit 255
262 if test x$as_have_required = xno
263 then :
264 printf "%s\n" "$0: This script requires a shell more modern than all"
265 printf "%s\n" "$0: the shells that I found on your system."
266 if test ${ZSH_VERSION+y} ; then
267 printf "%s\n" "$0: In particular, zsh $ZSH_VERSION has bugs and should"
268 printf "%s\n" "$0: be upgraded to zsh 4.3.4 or later."
269 else
270 printf "%s\n" "$0: Please tell bug-autoconf@gnu.org and
271 $0: wine-devel@winehq.org about your system, including any
272 $0: error possibly output before this message. Then install
273 $0: a modern shell, or manually run the script under such a
274 $0: shell if you do have one."
276 exit 1
280 SHELL=${CONFIG_SHELL-/bin/sh}
281 export SHELL
282 # Unset more variables known to interfere with behavior of common tools.
283 CLICOLOR_FORCE= GREP_OPTIONS=
284 unset CLICOLOR_FORCE GREP_OPTIONS
286 ## --------------------- ##
287 ## M4sh Shell Functions. ##
288 ## --------------------- ##
289 # as_fn_unset VAR
290 # ---------------
291 # Portably unset VAR.
292 as_fn_unset ()
294 { eval $1=; unset $1;}
296 as_unset=as_fn_unset
299 # as_fn_set_status STATUS
300 # -----------------------
301 # Set $? to STATUS, without forking.
302 as_fn_set_status ()
304 return $1
305 } # as_fn_set_status
307 # as_fn_exit STATUS
308 # -----------------
309 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
310 as_fn_exit ()
312 set +e
313 as_fn_set_status $1
314 exit $1
315 } # as_fn_exit
316 # as_fn_nop
317 # ---------
318 # Do nothing but, unlike ":", preserve the value of $?.
319 as_fn_nop ()
321 return $?
323 as_nop=as_fn_nop
325 # as_fn_mkdir_p
326 # -------------
327 # Create "$as_dir" as a directory, including parents if necessary.
328 as_fn_mkdir_p ()
331 case $as_dir in #(
332 -*) as_dir=./$as_dir;;
333 esac
334 test -d "$as_dir" || eval $as_mkdir_p || {
335 as_dirs=
336 while :; do
337 case $as_dir in #(
338 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
339 *) as_qdir=$as_dir;;
340 esac
341 as_dirs="'$as_qdir' $as_dirs"
342 as_dir=`$as_dirname -- "$as_dir" ||
343 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
344 X"$as_dir" : 'X\(//\)[^/]' \| \
345 X"$as_dir" : 'X\(//\)$' \| \
346 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
347 printf "%s\n" X"$as_dir" |
348 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
349 s//\1/
352 /^X\(\/\/\)[^/].*/{
353 s//\1/
356 /^X\(\/\/\)$/{
357 s//\1/
360 /^X\(\/\).*/{
361 s//\1/
364 s/.*/./; q'`
365 test -d "$as_dir" && break
366 done
367 test -z "$as_dirs" || eval "mkdir $as_dirs"
368 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
371 } # as_fn_mkdir_p
373 # as_fn_executable_p FILE
374 # -----------------------
375 # Test if FILE is an executable regular file.
376 as_fn_executable_p ()
378 test -f "$1" && test -x "$1"
379 } # as_fn_executable_p
380 # as_fn_append VAR VALUE
381 # ----------------------
382 # Append the text in VALUE to the end of the definition contained in VAR. Take
383 # advantage of any shell optimizations that allow amortized linear growth over
384 # repeated appends, instead of the typical quadratic growth present in naive
385 # implementations.
386 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
387 then :
388 eval 'as_fn_append ()
390 eval $1+=\$2
392 else $as_nop
393 as_fn_append ()
395 eval $1=\$$1\$2
397 fi # as_fn_append
399 # as_fn_arith ARG...
400 # ------------------
401 # Perform arithmetic evaluation on the ARGs, and store the result in the
402 # global $as_val. Take advantage of shells that can avoid forks. The arguments
403 # must be portable across $(()) and expr.
404 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
405 then :
406 eval 'as_fn_arith ()
408 as_val=$(( $* ))
410 else $as_nop
411 as_fn_arith ()
413 as_val=`expr "$@" || test $? -eq 1`
415 fi # as_fn_arith
417 # as_fn_nop
418 # ---------
419 # Do nothing but, unlike ":", preserve the value of $?.
420 as_fn_nop ()
422 return $?
424 as_nop=as_fn_nop
426 # as_fn_error STATUS ERROR [LINENO LOG_FD]
427 # ----------------------------------------
428 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
429 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
430 # script with STATUS, using 1 if that was 0.
431 as_fn_error ()
433 as_status=$1; test $as_status -eq 0 && as_status=1
434 if test "$4"; then
435 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
436 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
438 printf "%s\n" "$as_me: error: $2" >&2
439 as_fn_exit $as_status
440 } # as_fn_error
442 if expr a : '\(a\)' >/dev/null 2>&1 &&
443 test "X`expr 00001 : '.*\(...\)'`" = X001; then
444 as_expr=expr
445 else
446 as_expr=false
449 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
450 as_basename=basename
451 else
452 as_basename=false
455 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
456 as_dirname=dirname
457 else
458 as_dirname=false
461 as_me=`$as_basename -- "$0" ||
462 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
463 X"$0" : 'X\(//\)$' \| \
464 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
465 printf "%s\n" X/"$0" |
466 sed '/^.*\/\([^/][^/]*\)\/*$/{
467 s//\1/
470 /^X\/\(\/\/\)$/{
471 s//\1/
474 /^X\/\(\/\).*/{
475 s//\1/
478 s/.*/./; q'`
480 # Avoid depending upon Character Ranges.
481 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
482 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
483 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
484 as_cr_digits='0123456789'
485 as_cr_alnum=$as_cr_Letters$as_cr_digits
488 as_lineno_1=$LINENO as_lineno_1a=$LINENO
489 as_lineno_2=$LINENO as_lineno_2a=$LINENO
490 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
491 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
492 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
493 sed -n '
495 /[$]LINENO/=
496 ' <$as_myself |
497 sed '
498 s/[$]LINENO.*/&-/
499 t lineno
501 :lineno
503 :loop
504 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
505 t loop
506 s/-\n.*//
507 ' >$as_me.lineno &&
508 chmod +x "$as_me.lineno" ||
509 { printf "%s\n" "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
511 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
512 # already done that, so ensure we don't try to do so again and fall
513 # in an infinite loop. This has already happened in practice.
514 _as_can_reexec=no; export _as_can_reexec
515 # Don't try to exec as it changes $[0], causing all sort of problems
516 # (the dirname of $[0] is not the place where we might find the
517 # original and so on. Autoconf is especially sensitive to this).
518 . "./$as_me.lineno"
519 # Exit status is that of the last command.
520 exit
524 # Determine whether it's possible to make 'echo' print without a newline.
525 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
526 # for compatibility with existing Makefiles.
527 ECHO_C= ECHO_N= ECHO_T=
528 case `echo -n x` in #(((((
529 -n*)
530 case `echo 'xy\c'` in
531 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
532 xy) ECHO_C='\c';;
533 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
534 ECHO_T=' ';;
535 esac;;
537 ECHO_N='-n';;
538 esac
540 # For backward compatibility with old third-party macros, we provide
541 # the shell variables $as_echo and $as_echo_n. New code should use
542 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
543 as_echo='printf %s\n'
544 as_echo_n='printf %s'
547 rm -f conf$$ conf$$.exe conf$$.file
548 if test -d conf$$.dir; then
549 rm -f conf$$.dir/conf$$.file
550 else
551 rm -f conf$$.dir
552 mkdir conf$$.dir 2>/dev/null
554 if (echo >conf$$.file) 2>/dev/null; then
555 if ln -s conf$$.file conf$$ 2>/dev/null; then
556 as_ln_s='ln -s'
557 # ... but there are two gotchas:
558 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
559 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
560 # In both cases, we have to default to `cp -pR'.
561 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
562 as_ln_s='cp -pR'
563 elif ln conf$$.file conf$$ 2>/dev/null; then
564 as_ln_s=ln
565 else
566 as_ln_s='cp -pR'
568 else
569 as_ln_s='cp -pR'
571 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
572 rmdir conf$$.dir 2>/dev/null
574 if mkdir -p . 2>/dev/null; then
575 as_mkdir_p='mkdir -p "$as_dir"'
576 else
577 test -d ./-p && rmdir ./-p
578 as_mkdir_p=false
581 as_test_x='test -x'
582 as_executable_p=as_fn_executable_p
584 # Sed expression to map a string onto a valid CPP name.
585 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
587 # Sed expression to map a string onto a valid variable name.
588 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
591 test -n "$DJDIR" || exec 7<&0 </dev/null
592 exec 6>&1
594 # Name of the host.
595 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
596 # so uname gets run too.
597 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
600 # Initializations.
602 ac_default_prefix=/usr/local
603 ac_clean_files=
604 ac_config_libobj_dir=.
605 LIBOBJS=
606 cross_compiling=no
607 subdirs=
608 MFLAGS=
609 MAKEFLAGS=
611 # Identity of this package.
612 PACKAGE_NAME='Wine'
613 PACKAGE_TARNAME='wine'
614 PACKAGE_VERSION='8.0-rc1'
615 PACKAGE_STRING='Wine 8.0-rc1'
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_wofutil
1494 enable_wow64
1495 enable_wow64cpu
1496 enable_wow64win
1497 enable_wpc
1498 enable_wpcap
1499 enable_ws2_32
1500 enable_wsdapi
1501 enable_wshom_ocx
1502 enable_wsnmp32
1503 enable_wsock32
1504 enable_wtsapi32
1505 enable_wuapi
1506 enable_wuaueng
1507 enable_x3daudio1_0
1508 enable_x3daudio1_1
1509 enable_x3daudio1_2
1510 enable_x3daudio1_3
1511 enable_x3daudio1_4
1512 enable_x3daudio1_5
1513 enable_x3daudio1_6
1514 enable_x3daudio1_7
1515 enable_xactengine2_0
1516 enable_xactengine2_4
1517 enable_xactengine2_7
1518 enable_xactengine2_9
1519 enable_xactengine3_0
1520 enable_xactengine3_1
1521 enable_xactengine3_2
1522 enable_xactengine3_3
1523 enable_xactengine3_4
1524 enable_xactengine3_5
1525 enable_xactengine3_6
1526 enable_xactengine3_7
1527 enable_xapofx1_1
1528 enable_xapofx1_2
1529 enable_xapofx1_3
1530 enable_xapofx1_4
1531 enable_xapofx1_5
1532 enable_xaudio2_0
1533 enable_xaudio2_1
1534 enable_xaudio2_2
1535 enable_xaudio2_3
1536 enable_xaudio2_4
1537 enable_xaudio2_5
1538 enable_xaudio2_6
1539 enable_xaudio2_7
1540 enable_xaudio2_8
1541 enable_xaudio2_9
1542 enable_xinput1_1
1543 enable_xinput1_2
1544 enable_xinput1_3
1545 enable_xinput1_4
1546 enable_xinput9_1_0
1547 enable_xinputuap
1548 enable_xmllite
1549 enable_xolehlp
1550 enable_xpsprint
1551 enable_xpssvcs
1552 enable_fonts
1553 enable_include
1554 enable_adsiid
1555 enable_dmoguids
1556 enable_dxerr8
1557 enable_dxerr9
1558 enable_dxguid
1559 enable_faudio
1560 enable_gsm
1561 enable_jpeg
1562 enable_jxr
1563 enable_lcms2
1564 enable_ldap
1565 enable_mfuuid
1566 enable_mpg123
1567 enable_png
1568 enable_strmbase
1569 enable_strmiids
1570 enable_tiff
1571 enable_uuid
1572 enable_vkd3d
1573 enable_wbemuuid
1574 enable_wine
1575 enable_wmcodecdspuuid
1576 enable_xml2
1577 enable_xslt
1578 enable_zlib
1579 enable_loader
1580 enable_nls
1581 enable_po
1582 enable_arp
1583 enable_aspnet_regiis
1584 enable_attrib
1585 enable_cabarc
1586 enable_cacls
1587 enable_certutil
1588 enable_chcp_com
1589 enable_clock
1590 enable_cmd
1591 enable_conhost
1592 enable_control
1593 enable_cscript
1594 enable_dism
1595 enable_dllhost
1596 enable_dplaysvr
1597 enable_dpnsvr
1598 enable_dpvsetup
1599 enable_dxdiag
1600 enable_eject
1601 enable_expand
1602 enable_explorer
1603 enable_extrac32
1604 enable_fc
1605 enable_find
1606 enable_findstr
1607 enable_fsutil
1608 enable_hh
1609 enable_hostname
1610 enable_icacls
1611 enable_icinfo
1612 enable_iexplore
1613 enable_ipconfig
1614 enable_lodctr
1615 enable_mofcomp
1616 enable_mshta
1617 enable_msidb
1618 enable_msiexec
1619 enable_msinfo32
1620 enable_net
1621 enable_netsh
1622 enable_netstat
1623 enable_ngen
1624 enable_notepad
1625 enable_oleview
1626 enable_ping
1627 enable_plugplay
1628 enable_powershell
1629 enable_presentationfontcache
1630 enable_progman
1631 enable_reg
1632 enable_regasm
1633 enable_regedit
1634 enable_regini
1635 enable_regsvcs
1636 enable_regsvr32
1637 enable_robocopy
1638 enable_rpcss
1639 enable_rundll32
1640 enable_sc
1641 enable_schtasks
1642 enable_sdbinst
1643 enable_secedit
1644 enable_servicemodelreg
1645 enable_services
1646 enable_setx
1647 enable_shutdown
1648 enable_spoolsv
1649 enable_start
1650 enable_subst
1651 enable_svchost
1652 enable_systeminfo
1653 enable_taskkill
1654 enable_tasklist
1655 enable_taskmgr
1656 enable_termsv
1657 enable_uninstaller
1658 enable_unlodctr
1659 enable_view
1660 enable_wevtutil
1661 enable_where
1662 enable_whoami
1663 enable_wineboot
1664 enable_winebrowser
1665 enable_winecfg
1666 enable_wineconsole
1667 enable_winedbg
1668 enable_winedevice
1669 enable_winefile
1670 enable_winemenubuilder
1671 enable_winemine
1672 enable_winemsibuilder
1673 enable_winepath
1674 enable_winetest
1675 enable_winhlp32
1676 enable_winmgmt
1677 enable_winver
1678 enable_wmic
1679 enable_wmplayer
1680 enable_wordpad
1681 enable_write
1682 enable_wscript
1683 enable_wuauserv
1684 enable_wusa
1685 enable_xcopy
1686 enable_server
1687 enable_tools
1688 enable_sfnt2fon
1689 enable_widl
1690 enable_winebuild
1691 enable_winedump
1692 enable_winegcc
1693 enable_winemaker
1694 enable_wmc
1695 enable_wrc
1697 ac_precious_vars='build_alias
1698 host_alias
1699 target_alias
1701 CFLAGS
1702 LDFLAGS
1703 LIBS
1704 CPPFLAGS
1706 CXXFLAGS
1708 OBJC
1709 OBJCFLAGS
1710 FAUDIO_PE_CFLAGS
1711 FAUDIO_PE_LIBS
1712 GSM_PE_CFLAGS
1713 GSM_PE_LIBS
1714 JPEG_PE_CFLAGS
1715 JPEG_PE_LIBS
1716 JXR_PE_CFLAGS
1717 JXR_PE_LIBS
1718 LCMS2_PE_CFLAGS
1719 LCMS2_PE_LIBS
1720 LDAP_PE_CFLAGS
1721 LDAP_PE_LIBS
1722 MPG123_PE_CFLAGS
1723 MPG123_PE_LIBS
1724 PNG_PE_CFLAGS
1725 PNG_PE_LIBS
1726 TIFF_PE_CFLAGS
1727 TIFF_PE_LIBS
1728 VKD3D_PE_CFLAGS
1729 VKD3D_PE_LIBS
1730 XML2_PE_CFLAGS
1731 XML2_PE_LIBS
1732 XSLT_PE_CFLAGS
1733 XSLT_PE_LIBS
1734 ZLIB_PE_CFLAGS
1735 ZLIB_PE_LIBS
1736 XMKMF
1738 INOTIFY_CFLAGS
1739 INOTIFY_LIBS
1740 DBUS_CFLAGS
1741 DBUS_LIBS
1742 GNUTLS_CFLAGS
1743 GNUTLS_LIBS
1744 SANE_CFLAGS
1745 SANE_LIBS
1746 USB_CFLAGS
1747 USB_LIBS
1748 GPHOTO2_CFLAGS
1749 GPHOTO2_LIBS
1750 GPHOTO2_PORT_CFLAGS
1751 GPHOTO2_PORT_LIBS
1752 FREETYPE_CFLAGS
1753 FREETYPE_LIBS
1754 PULSE_CFLAGS
1755 PULSE_LIBS
1756 GSTREAMER_CFLAGS
1757 GSTREAMER_LIBS
1758 UDEV_CFLAGS
1759 UDEV_LIBS
1760 UNWIND_CFLAGS
1761 UNWIND_LIBS
1762 SDL2_CFLAGS
1763 SDL2_LIBS
1764 CAPI20_CFLAGS
1765 CAPI20_LIBS
1766 CUPS_CFLAGS
1767 CUPS_LIBS
1768 FONTCONFIG_CFLAGS
1769 FONTCONFIG_LIBS
1770 KRB5_CFLAGS
1771 KRB5_LIBS
1772 GSSAPI_CFLAGS
1773 GSSAPI_LIBS
1774 NETAPI_CFLAGS
1775 NETAPI_LIBS'
1778 # Initialize some variables set by options.
1779 ac_init_help=
1780 ac_init_version=false
1781 ac_unrecognized_opts=
1782 ac_unrecognized_sep=
1783 # The variables have the same names as the options, with
1784 # dashes changed to underlines.
1785 cache_file=/dev/null
1786 exec_prefix=NONE
1787 no_create=
1788 no_recursion=
1789 prefix=NONE
1790 program_prefix=NONE
1791 program_suffix=NONE
1792 program_transform_name=s,x,x,
1793 silent=
1794 site=
1795 srcdir=
1796 verbose=
1797 x_includes=NONE
1798 x_libraries=NONE
1800 # Installation directory options.
1801 # These are left unexpanded so users can "make install exec_prefix=/foo"
1802 # and all the variables that are supposed to be based on exec_prefix
1803 # by default will actually change.
1804 # Use braces instead of parens because sh, perl, etc. also accept them.
1805 # (The list follows the same order as the GNU Coding Standards.)
1806 bindir='${exec_prefix}/bin'
1807 sbindir='${exec_prefix}/sbin'
1808 libexecdir='${exec_prefix}/libexec'
1809 datarootdir='${prefix}/share'
1810 datadir='${datarootdir}'
1811 sysconfdir='${prefix}/etc'
1812 sharedstatedir='${prefix}/com'
1813 localstatedir='${prefix}/var'
1814 runstatedir='${localstatedir}/run'
1815 includedir='${prefix}/include'
1816 oldincludedir='/usr/include'
1817 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1818 infodir='${datarootdir}/info'
1819 htmldir='${docdir}'
1820 dvidir='${docdir}'
1821 pdfdir='${docdir}'
1822 psdir='${docdir}'
1823 libdir='${exec_prefix}/lib'
1824 localedir='${datarootdir}/locale'
1825 mandir='${datarootdir}/man'
1827 ac_prev=
1828 ac_dashdash=
1829 for ac_option
1831 # If the previous option needs an argument, assign it.
1832 if test -n "$ac_prev"; then
1833 eval $ac_prev=\$ac_option
1834 ac_prev=
1835 continue
1838 case $ac_option in
1839 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1840 *=) ac_optarg= ;;
1841 *) ac_optarg=yes ;;
1842 esac
1844 case $ac_dashdash$ac_option in
1846 ac_dashdash=yes ;;
1848 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1849 ac_prev=bindir ;;
1850 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1851 bindir=$ac_optarg ;;
1853 -build | --build | --buil | --bui | --bu)
1854 ac_prev=build_alias ;;
1855 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1856 build_alias=$ac_optarg ;;
1858 -cache-file | --cache-file | --cache-fil | --cache-fi \
1859 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1860 ac_prev=cache_file ;;
1861 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1862 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1863 cache_file=$ac_optarg ;;
1865 --config-cache | -C)
1866 cache_file=config.cache ;;
1868 -datadir | --datadir | --datadi | --datad)
1869 ac_prev=datadir ;;
1870 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1871 datadir=$ac_optarg ;;
1873 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1874 | --dataroo | --dataro | --datar)
1875 ac_prev=datarootdir ;;
1876 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1877 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1878 datarootdir=$ac_optarg ;;
1880 -disable-* | --disable-*)
1881 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1882 # Reject names that are not valid shell variable names.
1883 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1884 as_fn_error $? "invalid feature name: \`$ac_useropt'"
1885 ac_useropt_orig=$ac_useropt
1886 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1887 case $ac_user_opts in
1889 "enable_$ac_useropt"
1890 "*) ;;
1891 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1892 ac_unrecognized_sep=', ';;
1893 esac
1894 eval enable_$ac_useropt=no ;;
1896 -docdir | --docdir | --docdi | --doc | --do)
1897 ac_prev=docdir ;;
1898 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1899 docdir=$ac_optarg ;;
1901 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1902 ac_prev=dvidir ;;
1903 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1904 dvidir=$ac_optarg ;;
1906 -enable-* | --enable-*)
1907 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1908 # Reject names that are not valid shell variable names.
1909 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1910 as_fn_error $? "invalid feature name: \`$ac_useropt'"
1911 ac_useropt_orig=$ac_useropt
1912 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
1913 case $ac_user_opts in
1915 "enable_$ac_useropt"
1916 "*) ;;
1917 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1918 ac_unrecognized_sep=', ';;
1919 esac
1920 eval enable_$ac_useropt=\$ac_optarg ;;
1922 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1923 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1924 | --exec | --exe | --ex)
1925 ac_prev=exec_prefix ;;
1926 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1927 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1928 | --exec=* | --exe=* | --ex=*)
1929 exec_prefix=$ac_optarg ;;
1931 -gas | --gas | --ga | --g)
1932 # Obsolete; use --with-gas.
1933 with_gas=yes ;;
1935 -help | --help | --hel | --he | -h)
1936 ac_init_help=long ;;
1937 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1938 ac_init_help=recursive ;;
1939 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1940 ac_init_help=short ;;
1942 -host | --host | --hos | --ho)
1943 ac_prev=host_alias ;;
1944 -host=* | --host=* | --hos=* | --ho=*)
1945 host_alias=$ac_optarg ;;
1947 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1948 ac_prev=htmldir ;;
1949 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1950 | --ht=*)
1951 htmldir=$ac_optarg ;;
1953 -includedir | --includedir | --includedi | --included | --include \
1954 | --includ | --inclu | --incl | --inc)
1955 ac_prev=includedir ;;
1956 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1957 | --includ=* | --inclu=* | --incl=* | --inc=*)
1958 includedir=$ac_optarg ;;
1960 -infodir | --infodir | --infodi | --infod | --info | --inf)
1961 ac_prev=infodir ;;
1962 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1963 infodir=$ac_optarg ;;
1965 -libdir | --libdir | --libdi | --libd)
1966 ac_prev=libdir ;;
1967 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1968 libdir=$ac_optarg ;;
1970 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
1971 | --libexe | --libex | --libe)
1972 ac_prev=libexecdir ;;
1973 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
1974 | --libexe=* | --libex=* | --libe=*)
1975 libexecdir=$ac_optarg ;;
1977 -localedir | --localedir | --localedi | --localed | --locale)
1978 ac_prev=localedir ;;
1979 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
1980 localedir=$ac_optarg ;;
1982 -localstatedir | --localstatedir | --localstatedi | --localstated \
1983 | --localstate | --localstat | --localsta | --localst | --locals)
1984 ac_prev=localstatedir ;;
1985 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
1986 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
1987 localstatedir=$ac_optarg ;;
1989 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
1990 ac_prev=mandir ;;
1991 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
1992 mandir=$ac_optarg ;;
1994 -nfp | --nfp | --nf)
1995 # Obsolete; use --without-fp.
1996 with_fp=no ;;
1998 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
1999 | --no-cr | --no-c | -n)
2000 no_create=yes ;;
2002 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2003 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2004 no_recursion=yes ;;
2006 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2007 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2008 | --oldin | --oldi | --old | --ol | --o)
2009 ac_prev=oldincludedir ;;
2010 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2011 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2012 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2013 oldincludedir=$ac_optarg ;;
2015 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2016 ac_prev=prefix ;;
2017 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2018 prefix=$ac_optarg ;;
2020 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2021 | --program-pre | --program-pr | --program-p)
2022 ac_prev=program_prefix ;;
2023 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2024 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2025 program_prefix=$ac_optarg ;;
2027 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2028 | --program-suf | --program-su | --program-s)
2029 ac_prev=program_suffix ;;
2030 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2031 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2032 program_suffix=$ac_optarg ;;
2034 -program-transform-name | --program-transform-name \
2035 | --program-transform-nam | --program-transform-na \
2036 | --program-transform-n | --program-transform- \
2037 | --program-transform | --program-transfor \
2038 | --program-transfo | --program-transf \
2039 | --program-trans | --program-tran \
2040 | --progr-tra | --program-tr | --program-t)
2041 ac_prev=program_transform_name ;;
2042 -program-transform-name=* | --program-transform-name=* \
2043 | --program-transform-nam=* | --program-transform-na=* \
2044 | --program-transform-n=* | --program-transform-=* \
2045 | --program-transform=* | --program-transfor=* \
2046 | --program-transfo=* | --program-transf=* \
2047 | --program-trans=* | --program-tran=* \
2048 | --progr-tra=* | --program-tr=* | --program-t=*)
2049 program_transform_name=$ac_optarg ;;
2051 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2052 ac_prev=pdfdir ;;
2053 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2054 pdfdir=$ac_optarg ;;
2056 -psdir | --psdir | --psdi | --psd | --ps)
2057 ac_prev=psdir ;;
2058 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2059 psdir=$ac_optarg ;;
2061 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2062 | -silent | --silent | --silen | --sile | --sil)
2063 silent=yes ;;
2065 -runstatedir | --runstatedir | --runstatedi | --runstated \
2066 | --runstate | --runstat | --runsta | --runst | --runs \
2067 | --run | --ru | --r)
2068 ac_prev=runstatedir ;;
2069 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2070 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2071 | --run=* | --ru=* | --r=*)
2072 runstatedir=$ac_optarg ;;
2074 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2075 ac_prev=sbindir ;;
2076 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2077 | --sbi=* | --sb=*)
2078 sbindir=$ac_optarg ;;
2080 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2081 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2082 | --sharedst | --shareds | --shared | --share | --shar \
2083 | --sha | --sh)
2084 ac_prev=sharedstatedir ;;
2085 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2086 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2087 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2088 | --sha=* | --sh=*)
2089 sharedstatedir=$ac_optarg ;;
2091 -site | --site | --sit)
2092 ac_prev=site ;;
2093 -site=* | --site=* | --sit=*)
2094 site=$ac_optarg ;;
2096 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2097 ac_prev=srcdir ;;
2098 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2099 srcdir=$ac_optarg ;;
2101 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2102 | --syscon | --sysco | --sysc | --sys | --sy)
2103 ac_prev=sysconfdir ;;
2104 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2105 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2106 sysconfdir=$ac_optarg ;;
2108 -target | --target | --targe | --targ | --tar | --ta | --t)
2109 ac_prev=target_alias ;;
2110 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2111 target_alias=$ac_optarg ;;
2113 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2114 verbose=yes ;;
2116 -version | --version | --versio | --versi | --vers | -V)
2117 ac_init_version=: ;;
2119 -with-* | --with-*)
2120 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2121 # Reject names that are not valid shell variable names.
2122 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2123 as_fn_error $? "invalid package name: \`$ac_useropt'"
2124 ac_useropt_orig=$ac_useropt
2125 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2126 case $ac_user_opts in
2128 "with_$ac_useropt"
2129 "*) ;;
2130 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2131 ac_unrecognized_sep=', ';;
2132 esac
2133 eval with_$ac_useropt=\$ac_optarg ;;
2135 -without-* | --without-*)
2136 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2137 # Reject names that are not valid shell variable names.
2138 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2139 as_fn_error $? "invalid package name: \`$ac_useropt'"
2140 ac_useropt_orig=$ac_useropt
2141 ac_useropt=`printf "%s\n" "$ac_useropt" | sed 's/[-+.]/_/g'`
2142 case $ac_user_opts in
2144 "with_$ac_useropt"
2145 "*) ;;
2146 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2147 ac_unrecognized_sep=', ';;
2148 esac
2149 eval with_$ac_useropt=no ;;
2151 --x)
2152 # Obsolete; use --with-x.
2153 with_x=yes ;;
2155 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2156 | --x-incl | --x-inc | --x-in | --x-i)
2157 ac_prev=x_includes ;;
2158 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2159 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2160 x_includes=$ac_optarg ;;
2162 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2163 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2164 ac_prev=x_libraries ;;
2165 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2166 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2167 x_libraries=$ac_optarg ;;
2169 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2170 Try \`$0 --help' for more information"
2173 *=*)
2174 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2175 # Reject names that are not valid shell variable names.
2176 case $ac_envvar in #(
2177 '' | [0-9]* | *[!_$as_cr_alnum]* )
2178 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2179 esac
2180 eval $ac_envvar=\$ac_optarg
2181 export $ac_envvar ;;
2184 # FIXME: should be removed in autoconf 3.0.
2185 printf "%s\n" "$as_me: WARNING: you should use --build, --host, --target" >&2
2186 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2187 printf "%s\n" "$as_me: WARNING: invalid host type: $ac_option" >&2
2188 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2191 esac
2192 done
2194 if test -n "$ac_prev"; then
2195 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2196 as_fn_error $? "missing argument to $ac_option"
2199 if test -n "$ac_unrecognized_opts"; then
2200 case $enable_option_checking in
2201 no) ;;
2202 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2203 *) printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2204 esac
2207 # Check all directory arguments for consistency.
2208 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2209 datadir sysconfdir sharedstatedir localstatedir includedir \
2210 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2211 libdir localedir mandir runstatedir
2213 eval ac_val=\$$ac_var
2214 # Remove trailing slashes.
2215 case $ac_val in
2216 */ )
2217 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2218 eval $ac_var=\$ac_val;;
2219 esac
2220 # Be sure to have absolute directory names.
2221 case $ac_val in
2222 [\\/$]* | ?:[\\/]* ) continue;;
2223 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2224 esac
2225 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2226 done
2228 # There might be people who depend on the old broken behavior: `$host'
2229 # used to hold the argument of --host etc.
2230 # FIXME: To remove some day.
2231 build=$build_alias
2232 host=$host_alias
2233 target=$target_alias
2235 # FIXME: To remove some day.
2236 if test "x$host_alias" != x; then
2237 if test "x$build_alias" = x; then
2238 cross_compiling=maybe
2239 elif test "x$build_alias" != "x$host_alias"; then
2240 cross_compiling=yes
2244 ac_tool_prefix=
2245 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2247 test "$silent" = yes && exec 6>/dev/null
2250 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2251 ac_ls_di=`ls -di .` &&
2252 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2253 as_fn_error $? "working directory cannot be determined"
2254 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2255 as_fn_error $? "pwd does not report name of working directory"
2258 # Find the source files, if location was not specified.
2259 if test -z "$srcdir"; then
2260 ac_srcdir_defaulted=yes
2261 # Try the directory containing this script, then the parent directory.
2262 ac_confdir=`$as_dirname -- "$as_myself" ||
2263 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2264 X"$as_myself" : 'X\(//\)[^/]' \| \
2265 X"$as_myself" : 'X\(//\)$' \| \
2266 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2267 printf "%s\n" X"$as_myself" |
2268 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2269 s//\1/
2272 /^X\(\/\/\)[^/].*/{
2273 s//\1/
2276 /^X\(\/\/\)$/{
2277 s//\1/
2280 /^X\(\/\).*/{
2281 s//\1/
2284 s/.*/./; q'`
2285 srcdir=$ac_confdir
2286 if test ! -r "$srcdir/$ac_unique_file"; then
2287 srcdir=..
2289 else
2290 ac_srcdir_defaulted=no
2292 if test ! -r "$srcdir/$ac_unique_file"; then
2293 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2294 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2296 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2297 ac_abs_confdir=`(
2298 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2299 pwd)`
2300 # When building in place, set srcdir=.
2301 if test "$ac_abs_confdir" = "$ac_pwd"; then
2302 srcdir=.
2304 # Remove unnecessary trailing slashes from srcdir.
2305 # Double slashes in file names in object file debugging info
2306 # mess up M-x gdb in Emacs.
2307 case $srcdir in
2308 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2309 esac
2310 for ac_var in $ac_precious_vars; do
2311 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2312 eval ac_env_${ac_var}_value=\$${ac_var}
2313 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2314 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2315 done
2318 # Report the --help message.
2320 if test "$ac_init_help" = "long"; then
2321 # Omit some internal or obsolete options to make the list less imposing.
2322 # This message is too long to be a string in the A/UX 3.1 sh.
2323 cat <<_ACEOF
2324 \`configure' configures Wine 8.0-rc1 to adapt to many kinds of systems.
2326 Usage: $0 [OPTION]... [VAR=VALUE]...
2328 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2329 VAR=VALUE. See below for descriptions of some of the useful variables.
2331 Defaults for the options are specified in brackets.
2333 Configuration:
2334 -h, --help display this help and exit
2335 --help=short display options specific to this package
2336 --help=recursive display the short help of all the included packages
2337 -V, --version display version information and exit
2338 -q, --quiet, --silent do not print \`checking ...' messages
2339 --cache-file=FILE cache test results in FILE [disabled]
2340 -C, --config-cache alias for \`--cache-file=config.cache'
2341 -n, --no-create do not create output files
2342 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2344 Installation directories:
2345 --prefix=PREFIX install architecture-independent files in PREFIX
2346 [$ac_default_prefix]
2347 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2348 [PREFIX]
2350 By default, \`make install' will install all the files in
2351 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2352 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2353 for instance \`--prefix=\$HOME'.
2355 For better control, use the options below.
2357 Fine tuning of the installation directories:
2358 --bindir=DIR user executables [EPREFIX/bin]
2359 --sbindir=DIR system admin executables [EPREFIX/sbin]
2360 --libexecdir=DIR program executables [EPREFIX/libexec]
2361 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2362 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2363 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2364 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2365 --libdir=DIR object code libraries [EPREFIX/lib]
2366 --includedir=DIR C header files [PREFIX/include]
2367 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2368 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2369 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2370 --infodir=DIR info documentation [DATAROOTDIR/info]
2371 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2372 --mandir=DIR man documentation [DATAROOTDIR/man]
2373 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2374 --htmldir=DIR html documentation [DOCDIR]
2375 --dvidir=DIR dvi documentation [DOCDIR]
2376 --pdfdir=DIR pdf documentation [DOCDIR]
2377 --psdir=DIR ps documentation [DOCDIR]
2378 _ACEOF
2380 cat <<\_ACEOF
2382 X features:
2383 --x-includes=DIR X include files are in DIR
2384 --x-libraries=DIR X library files are in DIR
2386 System types:
2387 --build=BUILD configure for building on BUILD [guessed]
2388 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2389 _ACEOF
2392 if test -n "$ac_init_help"; then
2393 case $ac_init_help in
2394 short | recursive ) echo "Configuration of Wine 8.0-rc1:";;
2395 esac
2396 cat <<\_ACEOF
2398 Optional Features:
2399 --disable-option-checking ignore unrecognized --enable/--with options
2400 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2401 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2402 --enable-archs={i386,x86_64,arm,aarch64}
2403 enable multiple architectures for PE compilation
2404 --disable-win16 do not include Win16 support
2405 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2406 binaries)
2407 --disable-tests do not build the regression tests
2408 --enable-build-id include .buildid section in output objects
2409 --enable-maintainer-mode
2410 enable maintainer-specific build rules
2411 --enable-silent-rules use silent build rules (override: "make V=1")
2412 --enable-werror treat compilation warnings as errors
2413 --disable-largefile omit support for large files
2415 Optional Packages:
2416 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2417 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2418 --without-alsa do not use the Alsa sound support
2419 --without-capi do not use CAPI (ISDN support)
2420 --without-coreaudio do not use the CoreAudio sound support
2421 --without-cups do not use CUPS
2422 --without-dbus do not use DBus (dynamic device support)
2423 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2424 --without-fontconfig do not use fontconfig
2425 --without-freetype do not use the FreeType library
2426 --without-gettext do not use gettext
2427 --with-gettextpo use the GetTextPO library to rebuild po files
2428 --without-gphoto do not use gphoto (Digital Camera support)
2429 --without-gnutls do not use GnuTLS (schannel support)
2430 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2431 --without-gstreamer do not use GStreamer (codecs support)
2432 --without-inotify do not use inotify (filesystem change notifications)
2433 --without-krb5 do not use krb5 (Kerberos)
2434 --without-mingw do not use the MinGW cross-compiler
2435 --without-netapi do not use the Samba NetAPI library
2436 --without-opencl do not use OpenCL
2437 --without-opengl do not use OpenGL
2438 --without-osmesa do not use the OSMesa library
2439 --without-oss do not use the OSS sound support
2440 --without-pcap do not use the Packet Capture library
2441 --without-pthread do not use the pthread library
2442 --without-pulse do not use PulseAudio sound support
2443 --without-sane do not use SANE (scanner support)
2444 --without-sdl do not use SDL
2445 --without-udev do not use udev (plug and play support)
2446 --without-unwind do not use the libunwind library (exception
2447 handling)
2448 --without-usb do not use the libusb library
2449 --without-v4l2 do not use v4l2 (video capture)
2450 --without-vulkan do not use Vulkan
2451 --without-xcomposite do not use the Xcomposite extension
2452 --without-xcursor do not use the Xcursor extension
2453 --without-xfixes do not use Xfixes for clipboard change notifications
2454 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2455 --without-xinput do not use the Xinput extension
2456 --without-xinput2 do not use the Xinput 2 extension
2457 --without-xrandr do not use Xrandr (multi-monitor support)
2458 --without-xrender do not use the Xrender extension
2459 --without-xshape do not use the Xshape extension
2460 --without-xshm do not use XShm (shared memory extension)
2461 --without-xxf86vm do not use XFree video mode extension
2462 --with-system-dllpath=PATH
2463 load external PE dependencies from colon-separated
2464 path PATH
2465 --with-wine-tools=DIR use Wine tools from directory DIR
2466 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2467 --with-x use the X Window System
2469 Some influential environment variables:
2470 CC C compiler command
2471 CFLAGS C compiler flags
2472 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2473 nonstandard directory <lib dir>
2474 LIBS libraries to pass to the linker, e.g. -l<library>
2475 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2476 you have headers in a nonstandard directory <include dir>
2477 CXX C++ compiler command
2478 CXXFLAGS C++ compiler flags
2479 OBJC Objective C compiler command
2480 OBJCFLAGS Objective C compiler flags
2481 FAUDIO_PE_CFLAGS
2482 C compiler flags for the PE faudio, overriding the bundled
2483 version
2484 FAUDIO_PE_LIBS
2485 Linker flags for the PE faudio, overriding the bundled version
2486 GSM_PE_CFLAGS
2487 C compiler flags for the PE gsm, overriding the bundled version
2488 GSM_PE_LIBS Linker flags for the PE gsm, overriding the bundled version
2489 JPEG_PE_CFLAGS
2490 C compiler flags for the PE jpeg, overriding the bundled version
2491 JPEG_PE_LIBS
2492 Linker flags for the PE jpeg, overriding the bundled version
2493 JXR_PE_CFLAGS
2494 C compiler flags for the PE jxr, overriding the bundled version
2495 JXR_PE_LIBS Linker flags for the PE jxr, overriding the bundled version
2496 LCMS2_PE_CFLAGS
2497 C compiler flags for the PE lcms2, overriding the bundled
2498 version
2499 LCMS2_PE_LIBS
2500 Linker flags for the PE lcms2, overriding the bundled version
2501 LDAP_PE_CFLAGS
2502 C compiler flags for the PE ldap, overriding the bundled version
2503 LDAP_PE_LIBS
2504 Linker flags for the PE ldap, overriding the bundled version
2505 MPG123_PE_CFLAGS
2506 C compiler flags for the PE mpg123, overriding the bundled
2507 version
2508 MPG123_PE_LIBS
2509 Linker flags for the PE mpg123, overriding the bundled version
2510 PNG_PE_CFLAGS
2511 C compiler flags for the PE png, overriding the bundled version
2512 PNG_PE_LIBS Linker flags for the PE png, overriding the bundled version
2513 TIFF_PE_CFLAGS
2514 C compiler flags for the PE tiff, overriding the bundled version
2515 TIFF_PE_LIBS
2516 Linker flags for the PE tiff, overriding the bundled version
2517 VKD3D_PE_CFLAGS
2518 C compiler flags for the PE vkd3d, overriding the bundled
2519 version
2520 VKD3D_PE_LIBS
2521 Linker flags for the PE vkd3d, overriding the bundled version
2522 XML2_PE_CFLAGS
2523 C compiler flags for the PE xml2, overriding the bundled version
2524 XML2_PE_LIBS
2525 Linker flags for the PE xml2, overriding the bundled version
2526 XSLT_PE_CFLAGS
2527 C compiler flags for the PE xslt, overriding the bundled version
2528 XSLT_PE_LIBS
2529 Linker flags for the PE xslt, overriding the bundled version
2530 ZLIB_PE_CFLAGS
2531 C compiler flags for the PE zlib, overriding the bundled version
2532 ZLIB_PE_LIBS
2533 Linker flags for the PE zlib, overriding the bundled version
2534 XMKMF Path to xmkmf, Makefile generator for X Window System
2535 CPP C preprocessor
2536 INOTIFY_CFLAGS
2537 C compiler flags for libinotify, overriding pkg-config
2538 INOTIFY_LIBS
2539 Linker flags for libinotify, overriding pkg-config
2540 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2541 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2542 GNUTLS_CFLAGS
2543 C compiler flags for gnutls, overriding pkg-config
2544 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2545 SANE_CFLAGS C compiler flags for sane-backends, overriding pkg-config
2546 SANE_LIBS Linker flags for sane-backends, overriding pkg-config
2547 USB_CFLAGS C compiler flags for libusb-1.0, overriding pkg-config
2548 USB_LIBS Linker flags for libusb-1.0, overriding pkg-config
2549 GPHOTO2_CFLAGS
2550 C compiler flags for libgphoto2, overriding pkg-config
2551 GPHOTO2_LIBS
2552 Linker flags for libgphoto2, overriding pkg-config
2553 GPHOTO2_PORT_CFLAGS
2554 C compiler flags for libgphoto2_port, overriding pkg-config
2555 GPHOTO2_PORT_LIBS
2556 Linker flags for libgphoto2_port, overriding pkg-config
2557 FREETYPE_CFLAGS
2558 C compiler flags for freetype2, overriding pkg-config
2559 FREETYPE_LIBS
2560 Linker flags for freetype2, overriding pkg-config
2561 PULSE_CFLAGS
2562 C compiler flags for libpulse, overriding pkg-config
2563 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2564 GSTREAMER_CFLAGS
2565 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2566 gstreamer-audio-1.0, overriding pkg-config
2567 GSTREAMER_LIBS
2568 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2569 gstreamer-audio-1.0, overriding pkg-config
2570 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2571 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2572 UNWIND_CFLAGS
2573 C compiler flags for libunwind, overriding pkg-config
2574 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2575 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2576 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2577 CAPI20_CFLAGS
2578 C compiler flags for capi20, overriding pkg-config
2579 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2580 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2581 CUPS_LIBS Linker flags for cups, overriding pkg-config
2582 FONTCONFIG_CFLAGS
2583 C compiler flags for fontconfig, overriding pkg-config
2584 FONTCONFIG_LIBS
2585 Linker flags for fontconfig, overriding pkg-config
2586 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2587 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2588 GSSAPI_CFLAGS
2589 C compiler flags for krb5-gssapi, overriding pkg-config
2590 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2591 NETAPI_CFLAGS
2592 C compiler flags for netapi, overriding pkg-config
2593 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2595 Use these variables to override the choices made by `configure' or to help
2596 it to find libraries and programs with nonstandard names/locations.
2598 Report bugs to <wine-devel@winehq.org>.
2599 Wine home page: <https://www.winehq.org>.
2600 _ACEOF
2601 ac_status=$?
2604 if test "$ac_init_help" = "recursive"; then
2605 # If there are subdirs, report their specific --help.
2606 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2607 test -d "$ac_dir" ||
2608 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2609 continue
2610 ac_builddir=.
2612 case "$ac_dir" in
2613 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2615 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
2616 # A ".." for each directory in $ac_dir_suffix.
2617 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2618 case $ac_top_builddir_sub in
2619 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2620 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2621 esac ;;
2622 esac
2623 ac_abs_top_builddir=$ac_pwd
2624 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2625 # for backward compatibility:
2626 ac_top_builddir=$ac_top_build_prefix
2628 case $srcdir in
2629 .) # We are building in place.
2630 ac_srcdir=.
2631 ac_top_srcdir=$ac_top_builddir_sub
2632 ac_abs_top_srcdir=$ac_pwd ;;
2633 [\\/]* | ?:[\\/]* ) # Absolute name.
2634 ac_srcdir=$srcdir$ac_dir_suffix;
2635 ac_top_srcdir=$srcdir
2636 ac_abs_top_srcdir=$srcdir ;;
2637 *) # Relative name.
2638 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2639 ac_top_srcdir=$ac_top_build_prefix$srcdir
2640 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2641 esac
2642 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2644 cd "$ac_dir" || { ac_status=$?; continue; }
2645 # Check for configure.gnu first; this name is used for a wrapper for
2646 # Metaconfig's "Configure" on case-insensitive file systems.
2647 if test -f "$ac_srcdir/configure.gnu"; then
2648 echo &&
2649 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2650 elif test -f "$ac_srcdir/configure"; then
2651 echo &&
2652 $SHELL "$ac_srcdir/configure" --help=recursive
2653 else
2654 printf "%s\n" "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2655 fi || ac_status=$?
2656 cd "$ac_pwd" || { ac_status=$?; break; }
2657 done
2660 test -n "$ac_init_help" && exit $ac_status
2661 if $ac_init_version; then
2662 cat <<\_ACEOF
2663 Wine configure 8.0-rc1
2664 generated by GNU Autoconf 2.71
2666 Copyright (C) 2021 Free Software Foundation, Inc.
2667 This configure script is free software; the Free Software Foundation
2668 gives unlimited permission to copy, distribute and modify it.
2669 _ACEOF
2670 exit
2673 ## ------------------------ ##
2674 ## Autoconf initialization. ##
2675 ## ------------------------ ##
2677 # ac_fn_c_try_compile LINENO
2678 # --------------------------
2679 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2680 ac_fn_c_try_compile ()
2682 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2683 rm -f conftest.$ac_objext conftest.beam
2684 if { { ac_try="$ac_compile"
2685 case "(($ac_try" in
2686 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2687 *) ac_try_echo=$ac_try;;
2688 esac
2689 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2690 printf "%s\n" "$ac_try_echo"; } >&5
2691 (eval "$ac_compile") 2>conftest.err
2692 ac_status=$?
2693 if test -s conftest.err; then
2694 grep -v '^ *+' conftest.err >conftest.er1
2695 cat conftest.er1 >&5
2696 mv -f conftest.er1 conftest.err
2698 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2699 test $ac_status = 0; } && {
2700 test -z "$ac_c_werror_flag" ||
2701 test ! -s conftest.err
2702 } && test -s conftest.$ac_objext
2703 then :
2704 ac_retval=0
2705 else $as_nop
2706 printf "%s\n" "$as_me: failed program was:" >&5
2707 sed 's/^/| /' conftest.$ac_ext >&5
2709 ac_retval=1
2711 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2712 as_fn_set_status $ac_retval
2714 } # ac_fn_c_try_compile
2716 # ac_fn_cxx_try_compile LINENO
2717 # ----------------------------
2718 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2719 ac_fn_cxx_try_compile ()
2721 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2722 rm -f conftest.$ac_objext conftest.beam
2723 if { { ac_try="$ac_compile"
2724 case "(($ac_try" in
2725 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2726 *) ac_try_echo=$ac_try;;
2727 esac
2728 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2729 printf "%s\n" "$ac_try_echo"; } >&5
2730 (eval "$ac_compile") 2>conftest.err
2731 ac_status=$?
2732 if test -s conftest.err; then
2733 grep -v '^ *+' conftest.err >conftest.er1
2734 cat conftest.er1 >&5
2735 mv -f conftest.er1 conftest.err
2737 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2738 test $ac_status = 0; } && {
2739 test -z "$ac_cxx_werror_flag" ||
2740 test ! -s conftest.err
2741 } && test -s conftest.$ac_objext
2742 then :
2743 ac_retval=0
2744 else $as_nop
2745 printf "%s\n" "$as_me: failed program was:" >&5
2746 sed 's/^/| /' conftest.$ac_ext >&5
2748 ac_retval=1
2750 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2751 as_fn_set_status $ac_retval
2753 } # ac_fn_cxx_try_compile
2755 # ac_fn_c_try_link LINENO
2756 # -----------------------
2757 # Try to link conftest.$ac_ext, and return whether this succeeded.
2758 ac_fn_c_try_link ()
2760 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2761 rm -f conftest.$ac_objext conftest.beam conftest$ac_exeext
2762 if { { ac_try="$ac_link"
2763 case "(($ac_try" in
2764 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2765 *) ac_try_echo=$ac_try;;
2766 esac
2767 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2768 printf "%s\n" "$ac_try_echo"; } >&5
2769 (eval "$ac_link") 2>conftest.err
2770 ac_status=$?
2771 if test -s conftest.err; then
2772 grep -v '^ *+' conftest.err >conftest.er1
2773 cat conftest.er1 >&5
2774 mv -f conftest.er1 conftest.err
2776 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2777 test $ac_status = 0; } && {
2778 test -z "$ac_c_werror_flag" ||
2779 test ! -s conftest.err
2780 } && test -s conftest$ac_exeext && {
2781 test "$cross_compiling" = yes ||
2782 test -x conftest$ac_exeext
2784 then :
2785 ac_retval=0
2786 else $as_nop
2787 printf "%s\n" "$as_me: failed program was:" >&5
2788 sed 's/^/| /' conftest.$ac_ext >&5
2790 ac_retval=1
2792 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2793 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2794 # interfere with the next link command; also delete a directory that is
2795 # left behind by Apple's compiler. We do this before executing the actions.
2796 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2797 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2798 as_fn_set_status $ac_retval
2800 } # ac_fn_c_try_link
2802 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2803 # -------------------------------------------------------
2804 # Tests whether HEADER exists and can be compiled using the include files in
2805 # INCLUDES, setting the cache variable VAR accordingly.
2806 ac_fn_c_check_header_compile ()
2808 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2809 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2810 printf %s "checking for $2... " >&6; }
2811 if eval test \${$3+y}
2812 then :
2813 printf %s "(cached) " >&6
2814 else $as_nop
2815 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2816 /* end confdefs.h. */
2818 #include <$2>
2819 _ACEOF
2820 if ac_fn_c_try_compile "$LINENO"
2821 then :
2822 eval "$3=yes"
2823 else $as_nop
2824 eval "$3=no"
2826 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
2828 eval ac_res=\$$3
2829 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2830 printf "%s\n" "$ac_res" >&6; }
2831 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2833 } # ac_fn_c_check_header_compile
2835 # ac_fn_objc_try_compile LINENO
2836 # -----------------------------
2837 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2838 ac_fn_objc_try_compile ()
2840 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2841 rm -f conftest.$ac_objext conftest.beam
2842 if { { ac_try="$ac_compile"
2843 case "(($ac_try" in
2844 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2845 *) ac_try_echo=$ac_try;;
2846 esac
2847 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2848 printf "%s\n" "$ac_try_echo"; } >&5
2849 (eval "$ac_compile") 2>conftest.err
2850 ac_status=$?
2851 if test -s conftest.err; then
2852 grep -v '^ *+' conftest.err >conftest.er1
2853 cat conftest.er1 >&5
2854 mv -f conftest.er1 conftest.err
2856 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2857 test $ac_status = 0; } && {
2858 test -z "$ac_objc_werror_flag" ||
2859 test ! -s conftest.err
2860 } && test -s conftest.$ac_objext
2861 then :
2862 ac_retval=0
2863 else $as_nop
2864 printf "%s\n" "$as_me: failed program was:" >&5
2865 sed 's/^/| /' conftest.$ac_ext >&5
2867 ac_retval=1
2869 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2870 as_fn_set_status $ac_retval
2872 } # ac_fn_objc_try_compile
2874 # ac_fn_c_check_func LINENO FUNC VAR
2875 # ----------------------------------
2876 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2877 ac_fn_c_check_func ()
2879 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2880 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2881 printf %s "checking for $2... " >&6; }
2882 if eval test \${$3+y}
2883 then :
2884 printf %s "(cached) " >&6
2885 else $as_nop
2886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2887 /* end confdefs.h. */
2888 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
2889 For example, HP-UX 11i <limits.h> declares gettimeofday. */
2890 #define $2 innocuous_$2
2892 /* System header to define __stub macros and hopefully few prototypes,
2893 which can conflict with char $2 (); below. */
2895 #include <limits.h>
2896 #undef $2
2898 /* Override any GCC internal prototype to avoid an error.
2899 Use char because int might match the return type of a GCC
2900 builtin and then its argument prototype would still apply. */
2901 #ifdef __cplusplus
2902 extern "C"
2903 #endif
2904 char $2 ();
2905 /* The GNU C library defines this for functions which it implements
2906 to always fail with ENOSYS. Some functions are actually named
2907 something starting with __ and the normal name is an alias. */
2908 #if defined __stub_$2 || defined __stub___$2
2909 choke me
2910 #endif
2913 main (void)
2915 return $2 ();
2917 return 0;
2919 _ACEOF
2920 if ac_fn_c_try_link "$LINENO"
2921 then :
2922 eval "$3=yes"
2923 else $as_nop
2924 eval "$3=no"
2926 rm -f core conftest.err conftest.$ac_objext conftest.beam \
2927 conftest$ac_exeext conftest.$ac_ext
2929 eval ac_res=\$$3
2930 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2931 printf "%s\n" "$ac_res" >&6; }
2932 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2934 } # ac_fn_c_check_func
2936 # ac_fn_c_try_cpp LINENO
2937 # ----------------------
2938 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2939 ac_fn_c_try_cpp ()
2941 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2942 if { { ac_try="$ac_cpp conftest.$ac_ext"
2943 case "(($ac_try" in
2944 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2945 *) ac_try_echo=$ac_try;;
2946 esac
2947 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2948 printf "%s\n" "$ac_try_echo"; } >&5
2949 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2950 ac_status=$?
2951 if test -s conftest.err; then
2952 grep -v '^ *+' conftest.err >conftest.er1
2953 cat conftest.er1 >&5
2954 mv -f conftest.er1 conftest.err
2956 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2957 test $ac_status = 0; } > conftest.i && {
2958 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2959 test ! -s conftest.err
2961 then :
2962 ac_retval=0
2963 else $as_nop
2964 printf "%s\n" "$as_me: failed program was:" >&5
2965 sed 's/^/| /' conftest.$ac_ext >&5
2967 ac_retval=1
2969 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2970 as_fn_set_status $ac_retval
2972 } # ac_fn_c_try_cpp
2974 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
2975 # ----------------------------------------------------
2976 # Tries to find if the field MEMBER exists in type AGGR, after including
2977 # INCLUDES, setting cache variable VAR accordingly.
2978 ac_fn_c_check_member ()
2980 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2981 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
2982 printf %s "checking for $2.$3... " >&6; }
2983 if eval test \${$4+y}
2984 then :
2985 printf %s "(cached) " >&6
2986 else $as_nop
2987 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2988 /* end confdefs.h. */
2991 main (void)
2993 static $2 ac_aggr;
2994 if (ac_aggr.$3)
2995 return 0;
2997 return 0;
2999 _ACEOF
3000 if ac_fn_c_try_compile "$LINENO"
3001 then :
3002 eval "$4=yes"
3003 else $as_nop
3004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3005 /* end confdefs.h. */
3008 main (void)
3010 static $2 ac_aggr;
3011 if (sizeof ac_aggr.$3)
3012 return 0;
3014 return 0;
3016 _ACEOF
3017 if ac_fn_c_try_compile "$LINENO"
3018 then :
3019 eval "$4=yes"
3020 else $as_nop
3021 eval "$4=no"
3023 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3025 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3027 eval ac_res=\$$4
3028 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3029 printf "%s\n" "$ac_res" >&6; }
3030 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3032 } # ac_fn_c_check_member
3034 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3035 # -------------------------------------------
3036 # Tests whether TYPE exists after having included INCLUDES, setting cache
3037 # variable VAR accordingly.
3038 ac_fn_c_check_type ()
3040 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3041 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3042 printf %s "checking for $2... " >&6; }
3043 if eval test \${$3+y}
3044 then :
3045 printf %s "(cached) " >&6
3046 else $as_nop
3047 eval "$3=no"
3048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3049 /* end confdefs.h. */
3052 main (void)
3054 if (sizeof ($2))
3055 return 0;
3057 return 0;
3059 _ACEOF
3060 if ac_fn_c_try_compile "$LINENO"
3061 then :
3062 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3063 /* end confdefs.h. */
3066 main (void)
3068 if (sizeof (($2)))
3069 return 0;
3071 return 0;
3073 _ACEOF
3074 if ac_fn_c_try_compile "$LINENO"
3075 then :
3077 else $as_nop
3078 eval "$3=yes"
3080 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3082 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
3084 eval ac_res=\$$3
3085 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3086 printf "%s\n" "$ac_res" >&6; }
3087 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3089 } # ac_fn_c_check_type
3090 ac_configure_args_raw=
3091 for ac_arg
3093 case $ac_arg in
3094 *\'*)
3095 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3096 esac
3097 as_fn_append ac_configure_args_raw " '$ac_arg'"
3098 done
3100 case $ac_configure_args_raw in
3101 *$as_nl*)
3102 ac_safe_unquote= ;;
3104 ac_unsafe_z='|&;<>()$`\\"*?[ '' ' # This string ends in space, tab.
3105 ac_unsafe_a="$ac_unsafe_z#~"
3106 ac_safe_unquote="s/ '\\([^$ac_unsafe_a][^$ac_unsafe_z]*\\)'/ \\1/g"
3107 ac_configure_args_raw=` printf "%s\n" "$ac_configure_args_raw" | sed "$ac_safe_unquote"`;;
3108 esac
3110 cat >config.log <<_ACEOF
3111 This file contains any messages produced by compilers while
3112 running configure, to aid debugging if configure makes a mistake.
3114 It was created by Wine $as_me 8.0-rc1, which was
3115 generated by GNU Autoconf 2.71. Invocation command line was
3117 $ $0$ac_configure_args_raw
3119 _ACEOF
3120 exec 5>>config.log
3122 cat <<_ASUNAME
3123 ## --------- ##
3124 ## Platform. ##
3125 ## --------- ##
3127 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3128 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3129 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3130 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3131 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3133 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3134 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3136 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3137 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3138 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3139 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3140 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3141 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3142 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3144 _ASUNAME
3146 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3147 for as_dir in $PATH
3149 IFS=$as_save_IFS
3150 case $as_dir in #(((
3151 '') as_dir=./ ;;
3152 */) ;;
3153 *) as_dir=$as_dir/ ;;
3154 esac
3155 printf "%s\n" "PATH: $as_dir"
3156 done
3157 IFS=$as_save_IFS
3159 } >&5
3161 cat >&5 <<_ACEOF
3164 ## ----------- ##
3165 ## Core tests. ##
3166 ## ----------- ##
3168 _ACEOF
3171 # Keep a trace of the command line.
3172 # Strip out --no-create and --no-recursion so they do not pile up.
3173 # Strip out --silent because we don't want to record it for future runs.
3174 # Also quote any args containing shell meta-characters.
3175 # Make two passes to allow for proper duplicate-argument suppression.
3176 ac_configure_args=
3177 ac_configure_args0=
3178 ac_configure_args1=
3179 ac_must_keep_next=false
3180 for ac_pass in 1 2
3182 for ac_arg
3184 case $ac_arg in
3185 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3186 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3187 | -silent | --silent | --silen | --sile | --sil)
3188 continue ;;
3189 *\'*)
3190 ac_arg=`printf "%s\n" "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3191 esac
3192 case $ac_pass in
3193 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3195 as_fn_append ac_configure_args1 " '$ac_arg'"
3196 if test $ac_must_keep_next = true; then
3197 ac_must_keep_next=false # Got value, back to normal.
3198 else
3199 case $ac_arg in
3200 *=* | --config-cache | -C | -disable-* | --disable-* \
3201 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3202 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3203 | -with-* | --with-* | -without-* | --without-* | --x)
3204 case "$ac_configure_args0 " in
3205 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3206 esac
3208 -* ) ac_must_keep_next=true ;;
3209 esac
3211 as_fn_append ac_configure_args " '$ac_arg'"
3213 esac
3214 done
3215 done
3216 { ac_configure_args0=; unset ac_configure_args0;}
3217 { ac_configure_args1=; unset ac_configure_args1;}
3219 # When interrupted or exit'd, cleanup temporary files, and complete
3220 # config.log. We remove comments because anyway the quotes in there
3221 # would cause problems or look ugly.
3222 # WARNING: Use '\'' to represent an apostrophe within the trap.
3223 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3224 trap 'exit_status=$?
3225 # Sanitize IFS.
3226 IFS=" "" $as_nl"
3227 # Save into config.log some information that might help in debugging.
3229 echo
3231 printf "%s\n" "## ---------------- ##
3232 ## Cache variables. ##
3233 ## ---------------- ##"
3234 echo
3235 # The following way of writing the cache mishandles newlines in values,
3237 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3238 eval ac_val=\$$ac_var
3239 case $ac_val in #(
3240 *${as_nl}*)
3241 case $ac_var in #(
3242 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3243 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3244 esac
3245 case $ac_var in #(
3246 _ | IFS | as_nl) ;; #(
3247 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3248 *) { eval $ac_var=; unset $ac_var;} ;;
3249 esac ;;
3250 esac
3251 done
3252 (set) 2>&1 |
3253 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3254 *${as_nl}ac_space=\ *)
3255 sed -n \
3256 "s/'\''/'\''\\\\'\'''\''/g;
3257 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3258 ;; #(
3260 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3262 esac |
3263 sort
3265 echo
3267 printf "%s\n" "## ----------------- ##
3268 ## Output variables. ##
3269 ## ----------------- ##"
3270 echo
3271 for ac_var in $ac_subst_vars
3273 eval ac_val=\$$ac_var
3274 case $ac_val in
3275 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3276 esac
3277 printf "%s\n" "$ac_var='\''$ac_val'\''"
3278 done | sort
3279 echo
3281 if test -n "$ac_subst_files"; then
3282 printf "%s\n" "## ------------------- ##
3283 ## File substitutions. ##
3284 ## ------------------- ##"
3285 echo
3286 for ac_var in $ac_subst_files
3288 eval ac_val=\$$ac_var
3289 case $ac_val in
3290 *\'\''*) ac_val=`printf "%s\n" "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3291 esac
3292 printf "%s\n" "$ac_var='\''$ac_val'\''"
3293 done | sort
3294 echo
3297 if test -s confdefs.h; then
3298 printf "%s\n" "## ----------- ##
3299 ## confdefs.h. ##
3300 ## ----------- ##"
3301 echo
3302 cat confdefs.h
3303 echo
3305 test "$ac_signal" != 0 &&
3306 printf "%s\n" "$as_me: caught signal $ac_signal"
3307 printf "%s\n" "$as_me: exit $exit_status"
3308 } >&5
3309 rm -f core *.core core.conftest.* &&
3310 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3311 exit $exit_status
3313 for ac_signal in 1 2 13 15; do
3314 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3315 done
3316 ac_signal=0
3318 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3319 rm -f -r conftest* confdefs.h
3321 printf "%s\n" "/* confdefs.h */" > confdefs.h
3323 # Predefined preprocessor variables.
3325 printf "%s\n" "#define PACKAGE_NAME \"$PACKAGE_NAME\"" >>confdefs.h
3327 printf "%s\n" "#define PACKAGE_TARNAME \"$PACKAGE_TARNAME\"" >>confdefs.h
3329 printf "%s\n" "#define PACKAGE_VERSION \"$PACKAGE_VERSION\"" >>confdefs.h
3331 printf "%s\n" "#define PACKAGE_STRING \"$PACKAGE_STRING\"" >>confdefs.h
3333 printf "%s\n" "#define PACKAGE_BUGREPORT \"$PACKAGE_BUGREPORT\"" >>confdefs.h
3335 printf "%s\n" "#define PACKAGE_URL \"$PACKAGE_URL\"" >>confdefs.h
3338 # Let the site file select an alternate cache file if it wants to.
3339 # Prefer an explicitly selected file to automatically selected ones.
3340 if test -n "$CONFIG_SITE"; then
3341 ac_site_files="$CONFIG_SITE"
3342 elif test "x$prefix" != xNONE; then
3343 ac_site_files="$prefix/share/config.site $prefix/etc/config.site"
3344 else
3345 ac_site_files="$ac_default_prefix/share/config.site $ac_default_prefix/etc/config.site"
3348 for ac_site_file in $ac_site_files
3350 case $ac_site_file in #(
3351 */*) :
3352 ;; #(
3353 *) :
3354 ac_site_file=./$ac_site_file ;;
3355 esac
3356 if test -f "$ac_site_file" && test -r "$ac_site_file"; then
3357 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3358 printf "%s\n" "$as_me: loading site script $ac_site_file" >&6;}
3359 sed 's/^/| /' "$ac_site_file" >&5
3360 . "$ac_site_file" \
3361 || { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3362 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
3363 as_fn_error $? "failed to load site script $ac_site_file
3364 See \`config.log' for more details" "$LINENO" 5; }
3366 done
3368 if test -r "$cache_file"; then
3369 # Some versions of bash will fail to source /dev/null (special files
3370 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3371 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3372 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3373 printf "%s\n" "$as_me: loading cache $cache_file" >&6;}
3374 case $cache_file in
3375 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3376 *) . "./$cache_file";;
3377 esac
3379 else
3380 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3381 printf "%s\n" "$as_me: creating cache $cache_file" >&6;}
3382 >$cache_file
3385 # Test code for whether the C compiler supports C89 (global declarations)
3386 ac_c_conftest_c89_globals='
3387 /* Does the compiler advertise C89 conformance?
3388 Do not test the value of __STDC__, because some compilers set it to 0
3389 while being otherwise adequately conformant. */
3390 #if !defined __STDC__
3391 # error "Compiler does not advertise C89 conformance"
3392 #endif
3394 #include <stddef.h>
3395 #include <stdarg.h>
3396 struct stat;
3397 /* Most of the following tests are stolen from RCS 5.7 src/conf.sh. */
3398 struct buf { int x; };
3399 struct buf * (*rcsopen) (struct buf *, struct stat *, int);
3400 static char *e (p, i)
3401 char **p;
3402 int i;
3404 return p[i];
3406 static char *f (char * (*g) (char **, int), char **p, ...)
3408 char *s;
3409 va_list v;
3410 va_start (v,p);
3411 s = g (p, va_arg (v,int));
3412 va_end (v);
3413 return s;
3416 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
3417 function prototypes and stuff, but not \xHH hex character constants.
3418 These do not provoke an error unfortunately, instead are silently treated
3419 as an "x". The following induces an error, until -std is added to get
3420 proper ANSI mode. Curiously \x00 != x always comes out true, for an
3421 array size at least. It is necessary to write \x00 == 0 to get something
3422 that is true only with -std. */
3423 int osf4_cc_array ['\''\x00'\'' == 0 ? 1 : -1];
3425 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
3426 inside strings and character constants. */
3427 #define FOO(x) '\''x'\''
3428 int xlc6_cc_array[FOO(a) == '\''x'\'' ? 1 : -1];
3430 int test (int i, double x);
3431 struct s1 {int (*f) (int a);};
3432 struct s2 {int (*f) (double a);};
3433 int pairnames (int, char **, int *(*)(struct buf *, struct stat *, int),
3434 int, int);'
3436 # Test code for whether the C compiler supports C89 (body of main).
3437 ac_c_conftest_c89_main='
3438 ok |= (argc == 0 || f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1]);
3441 # Test code for whether the C compiler supports C99 (global declarations)
3442 ac_c_conftest_c99_globals='
3443 // Does the compiler advertise C99 conformance?
3444 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 199901L
3445 # error "Compiler does not advertise C99 conformance"
3446 #endif
3448 #include <stdbool.h>
3449 extern int puts (const char *);
3450 extern int printf (const char *, ...);
3451 extern int dprintf (int, const char *, ...);
3452 extern void *malloc (size_t);
3454 // Check varargs macros. These examples are taken from C99 6.10.3.5.
3455 // dprintf is used instead of fprintf to avoid needing to declare
3456 // FILE and stderr.
3457 #define debug(...) dprintf (2, __VA_ARGS__)
3458 #define showlist(...) puts (#__VA_ARGS__)
3459 #define report(test,...) ((test) ? puts (#test) : printf (__VA_ARGS__))
3460 static void
3461 test_varargs_macros (void)
3463 int x = 1234;
3464 int y = 5678;
3465 debug ("Flag");
3466 debug ("X = %d\n", x);
3467 showlist (The first, second, and third items.);
3468 report (x>y, "x is %d but y is %d", x, y);
3471 // Check long long types.
3472 #define BIG64 18446744073709551615ull
3473 #define BIG32 4294967295ul
3474 #define BIG_OK (BIG64 / BIG32 == 4294967297ull && BIG64 % BIG32 == 0)
3475 #if !BIG_OK
3476 #error "your preprocessor is broken"
3477 #endif
3478 #if BIG_OK
3479 #else
3480 #error "your preprocessor is broken"
3481 #endif
3482 static long long int bignum = -9223372036854775807LL;
3483 static unsigned long long int ubignum = BIG64;
3485 struct incomplete_array
3487 int datasize;
3488 double data[];
3491 struct named_init {
3492 int number;
3493 const wchar_t *name;
3494 double average;
3497 typedef const char *ccp;
3499 static inline int
3500 test_restrict (ccp restrict text)
3502 // See if C++-style comments work.
3503 // Iterate through items via the restricted pointer.
3504 // Also check for declarations in for loops.
3505 for (unsigned int i = 0; *(text+i) != '\''\0'\''; ++i)
3506 continue;
3507 return 0;
3510 // Check varargs and va_copy.
3511 static bool
3512 test_varargs (const char *format, ...)
3514 va_list args;
3515 va_start (args, format);
3516 va_list args_copy;
3517 va_copy (args_copy, args);
3519 const char *str = "";
3520 int number = 0;
3521 float fnumber = 0;
3523 while (*format)
3525 switch (*format++)
3527 case '\''s'\'': // string
3528 str = va_arg (args_copy, const char *);
3529 break;
3530 case '\''d'\'': // int
3531 number = va_arg (args_copy, int);
3532 break;
3533 case '\''f'\'': // float
3534 fnumber = va_arg (args_copy, double);
3535 break;
3536 default:
3537 break;
3540 va_end (args_copy);
3541 va_end (args);
3543 return *str && number && fnumber;
3547 # Test code for whether the C compiler supports C99 (body of main).
3548 ac_c_conftest_c99_main='
3549 // Check bool.
3550 _Bool success = false;
3551 success |= (argc != 0);
3553 // Check restrict.
3554 if (test_restrict ("String literal") == 0)
3555 success = true;
3556 char *restrict newvar = "Another string";
3558 // Check varargs.
3559 success &= test_varargs ("s, d'\'' f .", "string", 65, 34.234);
3560 test_varargs_macros ();
3562 // Check flexible array members.
3563 struct incomplete_array *ia =
3564 malloc (sizeof (struct incomplete_array) + (sizeof (double) * 10));
3565 ia->datasize = 10;
3566 for (int i = 0; i < ia->datasize; ++i)
3567 ia->data[i] = i * 1.234;
3569 // Check named initializers.
3570 struct named_init ni = {
3571 .number = 34,
3572 .name = L"Test wide string",
3573 .average = 543.34343,
3576 ni.number = 58;
3578 int dynamic_array[ni.number];
3579 dynamic_array[0] = argv[0][0];
3580 dynamic_array[ni.number - 1] = 543;
3582 // work around unused variable warnings
3583 ok |= (!success || bignum == 0LL || ubignum == 0uLL || newvar[0] == '\''x'\''
3584 || dynamic_array[ni.number - 1] != 543);
3587 # Test code for whether the C compiler supports C11 (global declarations)
3588 ac_c_conftest_c11_globals='
3589 // Does the compiler advertise C11 conformance?
3590 #if !defined __STDC_VERSION__ || __STDC_VERSION__ < 201112L
3591 # error "Compiler does not advertise C11 conformance"
3592 #endif
3594 // Check _Alignas.
3595 char _Alignas (double) aligned_as_double;
3596 char _Alignas (0) no_special_alignment;
3597 extern char aligned_as_int;
3598 char _Alignas (0) _Alignas (int) aligned_as_int;
3600 // Check _Alignof.
3601 enum
3603 int_alignment = _Alignof (int),
3604 int_array_alignment = _Alignof (int[100]),
3605 char_alignment = _Alignof (char)
3607 _Static_assert (0 < -_Alignof (int), "_Alignof is signed");
3609 // Check _Noreturn.
3610 int _Noreturn does_not_return (void) { for (;;) continue; }
3612 // Check _Static_assert.
3613 struct test_static_assert
3615 int x;
3616 _Static_assert (sizeof (int) <= sizeof (long int),
3617 "_Static_assert does not work in struct");
3618 long int y;
3621 // Check UTF-8 literals.
3622 #define u8 syntax error!
3623 char const utf8_literal[] = u8"happens to be ASCII" "another string";
3625 // Check duplicate typedefs.
3626 typedef long *long_ptr;
3627 typedef long int *long_ptr;
3628 typedef long_ptr long_ptr;
3630 // Anonymous structures and unions -- taken from C11 6.7.2.1 Example 1.
3631 struct anonymous
3633 union {
3634 struct { int i; int j; };
3635 struct { int k; long int l; } w;
3637 int m;
3638 } v1;
3641 # Test code for whether the C compiler supports C11 (body of main).
3642 ac_c_conftest_c11_main='
3643 _Static_assert ((offsetof (struct anonymous, i)
3644 == offsetof (struct anonymous, w.k)),
3645 "Anonymous union alignment botch");
3646 v1.i = 2;
3647 v1.w.k = 5;
3648 ok |= v1.i != 5;
3651 # Test code for whether the C compiler supports C11 (complete).
3652 ac_c_conftest_c11_program="${ac_c_conftest_c89_globals}
3653 ${ac_c_conftest_c99_globals}
3654 ${ac_c_conftest_c11_globals}
3657 main (int argc, char **argv)
3659 int ok = 0;
3660 ${ac_c_conftest_c89_main}
3661 ${ac_c_conftest_c99_main}
3662 ${ac_c_conftest_c11_main}
3663 return ok;
3667 # Test code for whether the C compiler supports C99 (complete).
3668 ac_c_conftest_c99_program="${ac_c_conftest_c89_globals}
3669 ${ac_c_conftest_c99_globals}
3672 main (int argc, char **argv)
3674 int ok = 0;
3675 ${ac_c_conftest_c89_main}
3676 ${ac_c_conftest_c99_main}
3677 return ok;
3681 # Test code for whether the C compiler supports C89 (complete).
3682 ac_c_conftest_c89_program="${ac_c_conftest_c89_globals}
3685 main (int argc, char **argv)
3687 int ok = 0;
3688 ${ac_c_conftest_c89_main}
3689 return ok;
3693 # Test code for whether the C++ compiler supports C++98 (global declarations)
3694 ac_cxx_conftest_cxx98_globals='
3695 // Does the compiler advertise C++98 conformance?
3696 #if !defined __cplusplus || __cplusplus < 199711L
3697 # error "Compiler does not advertise C++98 conformance"
3698 #endif
3700 // These inclusions are to reject old compilers that
3701 // lack the unsuffixed header files.
3702 #include <cstdlib>
3703 #include <exception>
3705 // <cassert> and <cstring> are *not* freestanding headers in C++98.
3706 extern void assert (int);
3707 namespace std {
3708 extern int strcmp (const char *, const char *);
3711 // Namespaces, exceptions, and templates were all added after "C++ 2.0".
3712 using std::exception;
3713 using std::strcmp;
3715 namespace {
3717 void test_exception_syntax()
3719 try {
3720 throw "test";
3721 } catch (const char *s) {
3722 // Extra parentheses suppress a warning when building autoconf itself,
3723 // due to lint rules shared with more typical C programs.
3724 assert (!(strcmp) (s, "test"));
3728 template <typename T> struct test_template
3730 T const val;
3731 explicit test_template(T t) : val(t) {}
3732 template <typename U> T add(U u) { return static_cast<T>(u) + val; }
3735 } // anonymous namespace
3738 # Test code for whether the C++ compiler supports C++98 (body of main)
3739 ac_cxx_conftest_cxx98_main='
3740 assert (argc);
3741 assert (! argv[0]);
3743 test_exception_syntax ();
3744 test_template<double> tt (2.0);
3745 assert (tt.add (4) == 6.0);
3746 assert (true && !false);
3750 # Test code for whether the C++ compiler supports C++11 (global declarations)
3751 ac_cxx_conftest_cxx11_globals='
3752 // Does the compiler advertise C++ 2011 conformance?
3753 #if !defined __cplusplus || __cplusplus < 201103L
3754 # error "Compiler does not advertise C++11 conformance"
3755 #endif
3757 namespace cxx11test
3759 constexpr int get_val() { return 20; }
3761 struct testinit
3763 int i;
3764 double d;
3767 class delegate
3769 public:
3770 delegate(int n) : n(n) {}
3771 delegate(): delegate(2354) {}
3773 virtual int getval() { return this->n; };
3774 protected:
3775 int n;
3778 class overridden : public delegate
3780 public:
3781 overridden(int n): delegate(n) {}
3782 virtual int getval() override final { return this->n * 2; }
3785 class nocopy
3787 public:
3788 nocopy(int i): i(i) {}
3789 nocopy() = default;
3790 nocopy(const nocopy&) = delete;
3791 nocopy & operator=(const nocopy&) = delete;
3792 private:
3793 int i;
3796 // for testing lambda expressions
3797 template <typename Ret, typename Fn> Ret eval(Fn f, Ret v)
3799 return f(v);
3802 // for testing variadic templates and trailing return types
3803 template <typename V> auto sum(V first) -> V
3805 return first;
3807 template <typename V, typename... Args> auto sum(V first, Args... rest) -> V
3809 return first + sum(rest...);
3814 # Test code for whether the C++ compiler supports C++11 (body of main)
3815 ac_cxx_conftest_cxx11_main='
3817 // Test auto and decltype
3818 auto a1 = 6538;
3819 auto a2 = 48573953.4;
3820 auto a3 = "String literal";
3822 int total = 0;
3823 for (auto i = a3; *i; ++i) { total += *i; }
3825 decltype(a2) a4 = 34895.034;
3828 // Test constexpr
3829 short sa[cxx11test::get_val()] = { 0 };
3832 // Test initializer lists
3833 cxx11test::testinit il = { 4323, 435234.23544 };
3836 // Test range-based for
3837 int array[] = {9, 7, 13, 15, 4, 18, 12, 10, 5, 3,
3838 14, 19, 17, 8, 6, 20, 16, 2, 11, 1};
3839 for (auto &x : array) { x += 23; }
3842 // Test lambda expressions
3843 using cxx11test::eval;
3844 assert (eval ([](int x) { return x*2; }, 21) == 42);
3845 double d = 2.0;
3846 assert (eval ([&](double x) { return d += x; }, 3.0) == 5.0);
3847 assert (d == 5.0);
3848 assert (eval ([=](double x) mutable { return d += x; }, 4.0) == 9.0);
3849 assert (d == 5.0);
3852 // Test use of variadic templates
3853 using cxx11test::sum;
3854 auto a = sum(1);
3855 auto b = sum(1, 2);
3856 auto c = sum(1.0, 2.0, 3.0);
3859 // Test constructor delegation
3860 cxx11test::delegate d1;
3861 cxx11test::delegate d2();
3862 cxx11test::delegate d3(45);
3865 // Test override and final
3866 cxx11test::overridden o1(55464);
3869 // Test nullptr
3870 char *c = nullptr;
3873 // Test template brackets
3874 test_template<::test_template<int>> v(test_template<int>(12));
3877 // Unicode literals
3878 char const *utf8 = u8"UTF-8 string \u2500";
3879 char16_t const *utf16 = u"UTF-8 string \u2500";
3880 char32_t const *utf32 = U"UTF-32 string \u2500";
3884 # Test code for whether the C compiler supports C++11 (complete).
3885 ac_cxx_conftest_cxx11_program="${ac_cxx_conftest_cxx98_globals}
3886 ${ac_cxx_conftest_cxx11_globals}
3889 main (int argc, char **argv)
3891 int ok = 0;
3892 ${ac_cxx_conftest_cxx98_main}
3893 ${ac_cxx_conftest_cxx11_main}
3894 return ok;
3898 # Test code for whether the C compiler supports C++98 (complete).
3899 ac_cxx_conftest_cxx98_program="${ac_cxx_conftest_cxx98_globals}
3901 main (int argc, char **argv)
3903 int ok = 0;
3904 ${ac_cxx_conftest_cxx98_main}
3905 return ok;
3909 as_fn_append ac_header_c_list " stdio.h stdio_h HAVE_STDIO_H"
3910 as_fn_append ac_header_c_list " stdlib.h stdlib_h HAVE_STDLIB_H"
3911 as_fn_append ac_header_c_list " string.h string_h HAVE_STRING_H"
3912 as_fn_append ac_header_c_list " inttypes.h inttypes_h HAVE_INTTYPES_H"
3913 as_fn_append ac_header_c_list " stdint.h stdint_h HAVE_STDINT_H"
3914 as_fn_append ac_header_c_list " strings.h strings_h HAVE_STRINGS_H"
3915 as_fn_append ac_header_c_list " sys/stat.h sys_stat_h HAVE_SYS_STAT_H"
3916 as_fn_append ac_header_c_list " sys/types.h sys_types_h HAVE_SYS_TYPES_H"
3917 as_fn_append ac_header_c_list " unistd.h unistd_h HAVE_UNISTD_H"
3919 # Auxiliary files required by this configure script.
3920 ac_aux_files="config.guess config.sub"
3922 # Locations in which to look for auxiliary files.
3923 ac_aux_dir_candidates="${srcdir}/tools"
3925 # Search for a directory containing all of the required auxiliary files,
3926 # $ac_aux_files, from the $PATH-style list $ac_aux_dir_candidates.
3927 # If we don't find one directory that contains all the files we need,
3928 # we report the set of missing files from the *first* directory in
3929 # $ac_aux_dir_candidates and give up.
3930 ac_missing_aux_files=""
3931 ac_first_candidate=:
3932 printf "%s\n" "$as_me:${as_lineno-$LINENO}: looking for aux files: $ac_aux_files" >&5
3933 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3934 as_found=false
3935 for as_dir in $ac_aux_dir_candidates
3937 IFS=$as_save_IFS
3938 case $as_dir in #(((
3939 '') as_dir=./ ;;
3940 */) ;;
3941 *) as_dir=$as_dir/ ;;
3942 esac
3943 as_found=:
3945 printf "%s\n" "$as_me:${as_lineno-$LINENO}: trying $as_dir" >&5
3946 ac_aux_dir_found=yes
3947 ac_install_sh=
3948 for ac_aux in $ac_aux_files
3950 # As a special case, if "install-sh" is required, that requirement
3951 # can be satisfied by any of "install-sh", "install.sh", or "shtool",
3952 # and $ac_install_sh is set appropriately for whichever one is found.
3953 if test x"$ac_aux" = x"install-sh"
3954 then
3955 if test -f "${as_dir}install-sh"; then
3956 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install-sh found" >&5
3957 ac_install_sh="${as_dir}install-sh -c"
3958 elif test -f "${as_dir}install.sh"; then
3959 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}install.sh found" >&5
3960 ac_install_sh="${as_dir}install.sh -c"
3961 elif test -f "${as_dir}shtool"; then
3962 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}shtool found" >&5
3963 ac_install_sh="${as_dir}shtool install -c"
3964 else
3965 ac_aux_dir_found=no
3966 if $ac_first_candidate; then
3967 ac_missing_aux_files="${ac_missing_aux_files} install-sh"
3968 else
3969 break
3972 else
3973 if test -f "${as_dir}${ac_aux}"; then
3974 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ${as_dir}${ac_aux} found" >&5
3975 else
3976 ac_aux_dir_found=no
3977 if $ac_first_candidate; then
3978 ac_missing_aux_files="${ac_missing_aux_files} ${ac_aux}"
3979 else
3980 break
3984 done
3985 if test "$ac_aux_dir_found" = yes; then
3986 ac_aux_dir="$as_dir"
3987 break
3989 ac_first_candidate=false
3991 as_found=false
3992 done
3993 IFS=$as_save_IFS
3994 if $as_found
3995 then :
3997 else $as_nop
3998 as_fn_error $? "cannot find required auxiliary files:$ac_missing_aux_files" "$LINENO" 5
4002 # These three variables are undocumented and unsupported,
4003 # and are intended to be withdrawn in a future Autoconf release.
4004 # They can cause serious problems if a builder's source tree is in a directory
4005 # whose full name contains unusual characters.
4006 if test -f "${ac_aux_dir}config.guess"; then
4007 ac_config_guess="$SHELL ${ac_aux_dir}config.guess"
4009 if test -f "${ac_aux_dir}config.sub"; then
4010 ac_config_sub="$SHELL ${ac_aux_dir}config.sub"
4012 if test -f "$ac_aux_dir/configure"; then
4013 ac_configure="$SHELL ${ac_aux_dir}configure"
4016 # Check that the precious variables saved in the cache have kept the same
4017 # value.
4018 ac_cache_corrupted=false
4019 for ac_var in $ac_precious_vars; do
4020 eval ac_old_set=\$ac_cv_env_${ac_var}_set
4021 eval ac_new_set=\$ac_env_${ac_var}_set
4022 eval ac_old_val=\$ac_cv_env_${ac_var}_value
4023 eval ac_new_val=\$ac_env_${ac_var}_value
4024 case $ac_old_set,$ac_new_set in
4025 set,)
4026 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
4027 printf "%s\n" "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
4028 ac_cache_corrupted=: ;;
4029 ,set)
4030 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
4031 printf "%s\n" "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
4032 ac_cache_corrupted=: ;;
4033 ,);;
4035 if test "x$ac_old_val" != "x$ac_new_val"; then
4036 # differences in whitespace do not lead to failure.
4037 ac_old_val_w=`echo x $ac_old_val`
4038 ac_new_val_w=`echo x $ac_new_val`
4039 if test "$ac_old_val_w" != "$ac_new_val_w"; then
4040 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
4041 printf "%s\n" "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
4042 ac_cache_corrupted=:
4043 else
4044 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
4045 printf "%s\n" "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
4046 eval $ac_var=\$ac_old_val
4048 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
4049 printf "%s\n" "$as_me: former value: \`$ac_old_val'" >&2;}
4050 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
4051 printf "%s\n" "$as_me: current value: \`$ac_new_val'" >&2;}
4052 fi;;
4053 esac
4054 # Pass precious variables to config.status.
4055 if test "$ac_new_set" = set; then
4056 case $ac_new_val in
4057 *\'*) ac_arg=$ac_var=`printf "%s\n" "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
4058 *) ac_arg=$ac_var=$ac_new_val ;;
4059 esac
4060 case " $ac_configure_args " in
4061 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
4062 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
4063 esac
4065 done
4066 if $ac_cache_corrupted; then
4067 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4068 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
4069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
4070 printf "%s\n" "$as_me: error: changes in the environment can compromise the build" >&2;}
4071 as_fn_error $? "run \`${MAKE-make} distclean' and/or \`rm $cache_file'
4072 and start over" "$LINENO" 5
4074 ## -------------------- ##
4075 ## Main body of script. ##
4076 ## -------------------- ##
4078 ac_ext=c
4079 ac_cpp='$CPP $CPPFLAGS'
4080 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4081 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4082 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4086 ac_config_headers="$ac_config_headers include/config.h"
4090 libwine_version="1.0"
4093 # Check whether --enable-archs was given.
4094 if test ${enable_archs+y}
4095 then :
4096 enableval=$enable_archs;
4099 # Check whether --enable-win16 was given.
4100 if test ${enable_win16+y}
4101 then :
4102 enableval=$enable_win16;
4105 # Check whether --enable-win64 was given.
4106 if test ${enable_win64+y}
4107 then :
4108 enableval=$enable_win64;
4111 # Check whether --enable-tests was given.
4112 if test ${enable_tests+y}
4113 then :
4114 enableval=$enable_tests;
4117 # Check whether --enable-build-id was given.
4118 if test ${enable_build_id+y}
4119 then :
4120 enableval=$enable_build_id;
4123 # Check whether --enable-maintainer-mode was given.
4124 if test ${enable_maintainer_mode+y}
4125 then :
4126 enableval=$enable_maintainer_mode;
4129 # Check whether --enable-silent-rules was given.
4130 if test ${enable_silent_rules+y}
4131 then :
4132 enableval=$enable_silent_rules;
4135 # Check whether --enable-werror was given.
4136 if test ${enable_werror+y}
4137 then :
4138 enableval=$enable_werror;
4143 # Check whether --with-alsa was given.
4144 if test ${with_alsa+y}
4145 then :
4146 withval=$with_alsa;
4150 # Check whether --with-capi was given.
4151 if test ${with_capi+y}
4152 then :
4153 withval=$with_capi;
4157 # Check whether --with-coreaudio was given.
4158 if test ${with_coreaudio+y}
4159 then :
4160 withval=$with_coreaudio;
4164 # Check whether --with-cups was given.
4165 if test ${with_cups+y}
4166 then :
4167 withval=$with_cups;
4171 # Check whether --with-dbus was given.
4172 if test ${with_dbus+y}
4173 then :
4174 withval=$with_dbus;
4178 # Check whether --with-float-abi was given.
4179 if test ${with_float_abi+y}
4180 then :
4181 withval=$with_float_abi;
4185 # Check whether --with-fontconfig was given.
4186 if test ${with_fontconfig+y}
4187 then :
4188 withval=$with_fontconfig;
4192 # Check whether --with-freetype was given.
4193 if test ${with_freetype+y}
4194 then :
4195 withval=$with_freetype;
4199 # Check whether --with-gettext was given.
4200 if test ${with_gettext+y}
4201 then :
4202 withval=$with_gettext;
4206 # Check whether --with-gettextpo was given.
4207 if test ${with_gettextpo+y}
4208 then :
4209 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
4213 # Check whether --with-gphoto was given.
4214 if test ${with_gphoto+y}
4215 then :
4216 withval=$with_gphoto;
4220 # Check whether --with-gnutls was given.
4221 if test ${with_gnutls+y}
4222 then :
4223 withval=$with_gnutls;
4227 # Check whether --with-gssapi was given.
4228 if test ${with_gssapi+y}
4229 then :
4230 withval=$with_gssapi;
4234 # Check whether --with-gstreamer was given.
4235 if test ${with_gstreamer+y}
4236 then :
4237 withval=$with_gstreamer;
4241 # Check whether --with-inotify was given.
4242 if test ${with_inotify+y}
4243 then :
4244 withval=$with_inotify;
4248 # Check whether --with-krb5 was given.
4249 if test ${with_krb5+y}
4250 then :
4251 withval=$with_krb5;
4255 # Check whether --with-mingw was given.
4256 if test ${with_mingw+y}
4257 then :
4258 withval=$with_mingw;
4262 # Check whether --with-netapi was given.
4263 if test ${with_netapi+y}
4264 then :
4265 withval=$with_netapi;
4269 # Check whether --with-opencl was given.
4270 if test ${with_opencl+y}
4271 then :
4272 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4276 # Check whether --with-opengl was given.
4277 if test ${with_opengl+y}
4278 then :
4279 withval=$with_opengl;
4283 # Check whether --with-osmesa was given.
4284 if test ${with_osmesa+y}
4285 then :
4286 withval=$with_osmesa;
4290 # Check whether --with-oss was given.
4291 if test ${with_oss+y}
4292 then :
4293 withval=$with_oss;
4297 # Check whether --with-pcap was given.
4298 if test ${with_pcap+y}
4299 then :
4300 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4304 # Check whether --with-pthread was given.
4305 if test ${with_pthread+y}
4306 then :
4307 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4311 # Check whether --with-pulse was given.
4312 if test ${with_pulse+y}
4313 then :
4314 withval=$with_pulse;
4318 # Check whether --with-sane was given.
4319 if test ${with_sane+y}
4320 then :
4321 withval=$with_sane;
4325 # Check whether --with-sdl was given.
4326 if test ${with_sdl+y}
4327 then :
4328 withval=$with_sdl;
4332 # Check whether --with-udev was given.
4333 if test ${with_udev+y}
4334 then :
4335 withval=$with_udev;
4339 # Check whether --with-unwind was given.
4340 if test ${with_unwind+y}
4341 then :
4342 withval=$with_unwind;
4346 # Check whether --with-usb was given.
4347 if test ${with_usb+y}
4348 then :
4349 withval=$with_usb;
4353 # Check whether --with-v4l2 was given.
4354 if test ${with_v4l2+y}
4355 then :
4356 withval=$with_v4l2;
4360 # Check whether --with-vulkan was given.
4361 if test ${with_vulkan+y}
4362 then :
4363 withval=$with_vulkan;
4367 # Check whether --with-xcomposite was given.
4368 if test ${with_xcomposite+y}
4369 then :
4370 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4374 # Check whether --with-xcursor was given.
4375 if test ${with_xcursor+y}
4376 then :
4377 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4381 # Check whether --with-xfixes was given.
4382 if test ${with_xfixes+y}
4383 then :
4384 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4388 # Check whether --with-xinerama was given.
4389 if test ${with_xinerama+y}
4390 then :
4391 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4395 # Check whether --with-xinput was given.
4396 if test ${with_xinput+y}
4397 then :
4398 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4402 # Check whether --with-xinput2 was given.
4403 if test ${with_xinput2+y}
4404 then :
4405 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4409 # Check whether --with-xrandr was given.
4410 if test ${with_xrandr+y}
4411 then :
4412 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4416 # Check whether --with-xrender was given.
4417 if test ${with_xrender+y}
4418 then :
4419 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4423 # Check whether --with-xshape was given.
4424 if test ${with_xshape+y}
4425 then :
4426 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4430 # Check whether --with-xshm was given.
4431 if test ${with_xshm+y}
4432 then :
4433 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4437 # Check whether --with-xxf86vm was given.
4438 if test ${with_xxf86vm+y}
4439 then :
4440 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
4445 # Check whether --with-system-dllpath was given.
4446 if test ${with_system_dllpath+y}
4447 then :
4448 withval=$with_system_dllpath; system_dllpath=$withval
4453 # Check whether --with-wine-tools was given.
4454 if test ${with_wine_tools+y}
4455 then :
4456 withval=$with_wine_tools;
4460 # Check whether --with-wine64 was given.
4461 if test ${with_wine64+y}
4462 then :
4463 withval=$with_wine64;
4470 # Make sure we can run config.sub.
4471 $SHELL "${ac_aux_dir}config.sub" sun4 >/dev/null 2>&1 ||
4472 as_fn_error $? "cannot run $SHELL ${ac_aux_dir}config.sub" "$LINENO" 5
4474 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4475 printf %s "checking build system type... " >&6; }
4476 if test ${ac_cv_build+y}
4477 then :
4478 printf %s "(cached) " >&6
4479 else $as_nop
4480 ac_build_alias=$build_alias
4481 test "x$ac_build_alias" = x &&
4482 ac_build_alias=`$SHELL "${ac_aux_dir}config.guess"`
4483 test "x$ac_build_alias" = x &&
4484 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4485 ac_cv_build=`$SHELL "${ac_aux_dir}config.sub" $ac_build_alias` ||
4486 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $ac_build_alias failed" "$LINENO" 5
4489 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4490 printf "%s\n" "$ac_cv_build" >&6; }
4491 case $ac_cv_build in
4492 *-*-*) ;;
4493 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4494 esac
4495 build=$ac_cv_build
4496 ac_save_IFS=$IFS; IFS='-'
4497 set x $ac_cv_build
4498 shift
4499 build_cpu=$1
4500 build_vendor=$2
4501 shift; shift
4502 # Remember, the first character of IFS is used to create $*,
4503 # except with old shells:
4504 build_os=$*
4505 IFS=$ac_save_IFS
4506 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4509 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4510 printf %s "checking host system type... " >&6; }
4511 if test ${ac_cv_host+y}
4512 then :
4513 printf %s "(cached) " >&6
4514 else $as_nop
4515 if test "x$host_alias" = x; then
4516 ac_cv_host=$ac_cv_build
4517 else
4518 ac_cv_host=`$SHELL "${ac_aux_dir}config.sub" $host_alias` ||
4519 as_fn_error $? "$SHELL ${ac_aux_dir}config.sub $host_alias failed" "$LINENO" 5
4523 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4524 printf "%s\n" "$ac_cv_host" >&6; }
4525 case $ac_cv_host in
4526 *-*-*) ;;
4527 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4528 esac
4529 host=$ac_cv_host
4530 ac_save_IFS=$IFS; IFS='-'
4531 set x $ac_cv_host
4532 shift
4533 host_cpu=$1
4534 host_vendor=$2
4535 shift; shift
4536 # Remember, the first character of IFS is used to create $*,
4537 # except with old shells:
4538 host_os=$*
4539 IFS=$ac_save_IFS
4540 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4544 dlldir=\${libdir}/wine
4546 fontdir=\${datadir}/wine/fonts
4548 nlsdir=\${datadir}/wine/nls
4553 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4554 printf %s "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4555 set x ${MAKE-make}
4556 ac_make=`printf "%s\n" "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4557 if eval test \${ac_cv_prog_make_${ac_make}_set+y}
4558 then :
4559 printf %s "(cached) " >&6
4560 else $as_nop
4561 cat >conftest.make <<\_ACEOF
4562 SHELL = /bin/sh
4563 all:
4564 @echo '@@@%%%=$(MAKE)=@@@%%%'
4565 _ACEOF
4566 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4567 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4568 *@@@%%%=?*=@@@%%%*)
4569 eval ac_cv_prog_make_${ac_make}_set=yes;;
4571 eval ac_cv_prog_make_${ac_make}_set=no;;
4572 esac
4573 rm -f conftest.make
4575 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4576 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4577 printf "%s\n" "yes" >&6; }
4578 SET_MAKE=
4579 else
4580 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4581 printf "%s\n" "no" >&6; }
4582 SET_MAKE="MAKE=${MAKE-make}"
4594 ac_ext=c
4595 ac_cpp='$CPP $CPPFLAGS'
4596 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4597 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4598 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4599 if test -n "$ac_tool_prefix"; then
4600 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4601 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4602 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4603 printf %s "checking for $ac_word... " >&6; }
4604 if test ${ac_cv_prog_CC+y}
4605 then :
4606 printf %s "(cached) " >&6
4607 else $as_nop
4608 if test -n "$CC"; then
4609 ac_cv_prog_CC="$CC" # Let the user override the test.
4610 else
4611 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4612 for as_dir in $PATH
4614 IFS=$as_save_IFS
4615 case $as_dir in #(((
4616 '') as_dir=./ ;;
4617 */) ;;
4618 *) as_dir=$as_dir/ ;;
4619 esac
4620 for ac_exec_ext in '' $ac_executable_extensions; do
4621 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4622 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4623 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4624 break 2
4626 done
4627 done
4628 IFS=$as_save_IFS
4632 CC=$ac_cv_prog_CC
4633 if test -n "$CC"; then
4634 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4635 printf "%s\n" "$CC" >&6; }
4636 else
4637 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4638 printf "%s\n" "no" >&6; }
4643 if test -z "$ac_cv_prog_CC"; then
4644 ac_ct_CC=$CC
4645 # Extract the first word of "gcc", so it can be a program name with args.
4646 set dummy gcc; ac_word=$2
4647 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4648 printf %s "checking for $ac_word... " >&6; }
4649 if test ${ac_cv_prog_ac_ct_CC+y}
4650 then :
4651 printf %s "(cached) " >&6
4652 else $as_nop
4653 if test -n "$ac_ct_CC"; then
4654 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4655 else
4656 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4657 for as_dir in $PATH
4659 IFS=$as_save_IFS
4660 case $as_dir in #(((
4661 '') as_dir=./ ;;
4662 */) ;;
4663 *) as_dir=$as_dir/ ;;
4664 esac
4665 for ac_exec_ext in '' $ac_executable_extensions; do
4666 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4667 ac_cv_prog_ac_ct_CC="gcc"
4668 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4669 break 2
4671 done
4672 done
4673 IFS=$as_save_IFS
4677 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4678 if test -n "$ac_ct_CC"; then
4679 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4680 printf "%s\n" "$ac_ct_CC" >&6; }
4681 else
4682 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4683 printf "%s\n" "no" >&6; }
4686 if test "x$ac_ct_CC" = x; then
4687 CC=""
4688 else
4689 case $cross_compiling:$ac_tool_warned in
4690 yes:)
4691 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4692 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4693 ac_tool_warned=yes ;;
4694 esac
4695 CC=$ac_ct_CC
4697 else
4698 CC="$ac_cv_prog_CC"
4701 if test -z "$CC"; then
4702 if test -n "$ac_tool_prefix"; then
4703 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4704 set dummy ${ac_tool_prefix}cc; ac_word=$2
4705 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4706 printf %s "checking for $ac_word... " >&6; }
4707 if test ${ac_cv_prog_CC+y}
4708 then :
4709 printf %s "(cached) " >&6
4710 else $as_nop
4711 if test -n "$CC"; then
4712 ac_cv_prog_CC="$CC" # Let the user override the test.
4713 else
4714 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4715 for as_dir in $PATH
4717 IFS=$as_save_IFS
4718 case $as_dir in #(((
4719 '') as_dir=./ ;;
4720 */) ;;
4721 *) as_dir=$as_dir/ ;;
4722 esac
4723 for ac_exec_ext in '' $ac_executable_extensions; do
4724 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4725 ac_cv_prog_CC="${ac_tool_prefix}cc"
4726 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4727 break 2
4729 done
4730 done
4731 IFS=$as_save_IFS
4735 CC=$ac_cv_prog_CC
4736 if test -n "$CC"; then
4737 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4738 printf "%s\n" "$CC" >&6; }
4739 else
4740 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4741 printf "%s\n" "no" >&6; }
4747 if test -z "$CC"; then
4748 # Extract the first word of "cc", so it can be a program name with args.
4749 set dummy cc; ac_word=$2
4750 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4751 printf %s "checking for $ac_word... " >&6; }
4752 if test ${ac_cv_prog_CC+y}
4753 then :
4754 printf %s "(cached) " >&6
4755 else $as_nop
4756 if test -n "$CC"; then
4757 ac_cv_prog_CC="$CC" # Let the user override the test.
4758 else
4759 ac_prog_rejected=no
4760 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4761 for as_dir in $PATH
4763 IFS=$as_save_IFS
4764 case $as_dir in #(((
4765 '') as_dir=./ ;;
4766 */) ;;
4767 *) as_dir=$as_dir/ ;;
4768 esac
4769 for ac_exec_ext in '' $ac_executable_extensions; do
4770 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4771 if test "$as_dir$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4772 ac_prog_rejected=yes
4773 continue
4775 ac_cv_prog_CC="cc"
4776 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4777 break 2
4779 done
4780 done
4781 IFS=$as_save_IFS
4783 if test $ac_prog_rejected = yes; then
4784 # We found a bogon in the path, so make sure we never use it.
4785 set dummy $ac_cv_prog_CC
4786 shift
4787 if test $# != 0; then
4788 # We chose a different compiler from the bogus one.
4789 # However, it has the same basename, so the bogon will be chosen
4790 # first if we set CC to just the basename; use the full file name.
4791 shift
4792 ac_cv_prog_CC="$as_dir$ac_word${1+' '}$@"
4797 CC=$ac_cv_prog_CC
4798 if test -n "$CC"; then
4799 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4800 printf "%s\n" "$CC" >&6; }
4801 else
4802 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4803 printf "%s\n" "no" >&6; }
4808 if test -z "$CC"; then
4809 if test -n "$ac_tool_prefix"; then
4810 for ac_prog in cl.exe
4812 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4813 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4814 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4815 printf %s "checking for $ac_word... " >&6; }
4816 if test ${ac_cv_prog_CC+y}
4817 then :
4818 printf %s "(cached) " >&6
4819 else $as_nop
4820 if test -n "$CC"; then
4821 ac_cv_prog_CC="$CC" # Let the user override the test.
4822 else
4823 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4824 for as_dir in $PATH
4826 IFS=$as_save_IFS
4827 case $as_dir in #(((
4828 '') as_dir=./ ;;
4829 */) ;;
4830 *) as_dir=$as_dir/ ;;
4831 esac
4832 for ac_exec_ext in '' $ac_executable_extensions; do
4833 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4834 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4835 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4836 break 2
4838 done
4839 done
4840 IFS=$as_save_IFS
4844 CC=$ac_cv_prog_CC
4845 if test -n "$CC"; then
4846 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4847 printf "%s\n" "$CC" >&6; }
4848 else
4849 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4850 printf "%s\n" "no" >&6; }
4854 test -n "$CC" && break
4855 done
4857 if test -z "$CC"; then
4858 ac_ct_CC=$CC
4859 for ac_prog in cl.exe
4861 # Extract the first word of "$ac_prog", so it can be a program name with args.
4862 set dummy $ac_prog; ac_word=$2
4863 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4864 printf %s "checking for $ac_word... " >&6; }
4865 if test ${ac_cv_prog_ac_ct_CC+y}
4866 then :
4867 printf %s "(cached) " >&6
4868 else $as_nop
4869 if test -n "$ac_ct_CC"; then
4870 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4871 else
4872 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4873 for as_dir in $PATH
4875 IFS=$as_save_IFS
4876 case $as_dir in #(((
4877 '') as_dir=./ ;;
4878 */) ;;
4879 *) as_dir=$as_dir/ ;;
4880 esac
4881 for ac_exec_ext in '' $ac_executable_extensions; do
4882 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4883 ac_cv_prog_ac_ct_CC="$ac_prog"
4884 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4885 break 2
4887 done
4888 done
4889 IFS=$as_save_IFS
4893 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4894 if test -n "$ac_ct_CC"; then
4895 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4896 printf "%s\n" "$ac_ct_CC" >&6; }
4897 else
4898 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4899 printf "%s\n" "no" >&6; }
4903 test -n "$ac_ct_CC" && break
4904 done
4906 if test "x$ac_ct_CC" = x; then
4907 CC=""
4908 else
4909 case $cross_compiling:$ac_tool_warned in
4910 yes:)
4911 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4912 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4913 ac_tool_warned=yes ;;
4914 esac
4915 CC=$ac_ct_CC
4920 if test -z "$CC"; then
4921 if test -n "$ac_tool_prefix"; then
4922 # Extract the first word of "${ac_tool_prefix}clang", so it can be a program name with args.
4923 set dummy ${ac_tool_prefix}clang; ac_word=$2
4924 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4925 printf %s "checking for $ac_word... " >&6; }
4926 if test ${ac_cv_prog_CC+y}
4927 then :
4928 printf %s "(cached) " >&6
4929 else $as_nop
4930 if test -n "$CC"; then
4931 ac_cv_prog_CC="$CC" # Let the user override the test.
4932 else
4933 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4934 for as_dir in $PATH
4936 IFS=$as_save_IFS
4937 case $as_dir in #(((
4938 '') as_dir=./ ;;
4939 */) ;;
4940 *) as_dir=$as_dir/ ;;
4941 esac
4942 for ac_exec_ext in '' $ac_executable_extensions; do
4943 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4944 ac_cv_prog_CC="${ac_tool_prefix}clang"
4945 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4946 break 2
4948 done
4949 done
4950 IFS=$as_save_IFS
4954 CC=$ac_cv_prog_CC
4955 if test -n "$CC"; then
4956 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4957 printf "%s\n" "$CC" >&6; }
4958 else
4959 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
4960 printf "%s\n" "no" >&6; }
4965 if test -z "$ac_cv_prog_CC"; then
4966 ac_ct_CC=$CC
4967 # Extract the first word of "clang", so it can be a program name with args.
4968 set dummy clang; ac_word=$2
4969 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4970 printf %s "checking for $ac_word... " >&6; }
4971 if test ${ac_cv_prog_ac_ct_CC+y}
4972 then :
4973 printf %s "(cached) " >&6
4974 else $as_nop
4975 if test -n "$ac_ct_CC"; then
4976 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4977 else
4978 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4979 for as_dir in $PATH
4981 IFS=$as_save_IFS
4982 case $as_dir in #(((
4983 '') as_dir=./ ;;
4984 */) ;;
4985 *) as_dir=$as_dir/ ;;
4986 esac
4987 for ac_exec_ext in '' $ac_executable_extensions; do
4988 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
4989 ac_cv_prog_ac_ct_CC="clang"
4990 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
4991 break 2
4993 done
4994 done
4995 IFS=$as_save_IFS
4999 ac_ct_CC=$ac_cv_prog_ac_ct_CC
5000 if test -n "$ac_ct_CC"; then
5001 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
5002 printf "%s\n" "$ac_ct_CC" >&6; }
5003 else
5004 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5005 printf "%s\n" "no" >&6; }
5008 if test "x$ac_ct_CC" = x; then
5009 CC=""
5010 else
5011 case $cross_compiling:$ac_tool_warned in
5012 yes:)
5013 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5014 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5015 ac_tool_warned=yes ;;
5016 esac
5017 CC=$ac_ct_CC
5019 else
5020 CC="$ac_cv_prog_CC"
5026 test -z "$CC" && { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5027 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5028 as_fn_error $? "no acceptable C compiler found in \$PATH
5029 See \`config.log' for more details" "$LINENO" 5; }
5031 # Provide some information about the compiler.
5032 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
5033 set X $ac_compile
5034 ac_compiler=$2
5035 for ac_option in --version -v -V -qversion -version; do
5036 { { ac_try="$ac_compiler $ac_option >&5"
5037 case "(($ac_try" in
5038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5039 *) ac_try_echo=$ac_try;;
5040 esac
5041 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5042 printf "%s\n" "$ac_try_echo"; } >&5
5043 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5044 ac_status=$?
5045 if test -s conftest.err; then
5046 sed '10a\
5047 ... rest of stderr output deleted ...
5048 10q' conftest.err >conftest.er1
5049 cat conftest.er1 >&5
5051 rm -f conftest.er1 conftest.err
5052 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5053 test $ac_status = 0; }
5054 done
5056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5057 /* end confdefs.h. */
5060 main (void)
5064 return 0;
5066 _ACEOF
5067 ac_clean_files_save=$ac_clean_files
5068 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
5069 # Try to create an executable without -o first, disregard a.out.
5070 # It will help us diagnose broken compilers, and finding out an intuition
5071 # of exeext.
5072 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
5073 printf %s "checking whether the C compiler works... " >&6; }
5074 ac_link_default=`printf "%s\n" "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
5076 # The possible output files:
5077 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
5079 ac_rmfiles=
5080 for ac_file in $ac_files
5082 case $ac_file in
5083 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5084 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
5085 esac
5086 done
5087 rm -f $ac_rmfiles
5089 if { { ac_try="$ac_link_default"
5090 case "(($ac_try" in
5091 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5092 *) ac_try_echo=$ac_try;;
5093 esac
5094 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5095 printf "%s\n" "$ac_try_echo"; } >&5
5096 (eval "$ac_link_default") 2>&5
5097 ac_status=$?
5098 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5099 test $ac_status = 0; }
5100 then :
5101 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
5102 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
5103 # in a Makefile. We should not override ac_cv_exeext if it was cached,
5104 # so that the user can short-circuit this test for compilers unknown to
5105 # Autoconf.
5106 for ac_file in $ac_files ''
5108 test -f "$ac_file" || continue
5109 case $ac_file in
5110 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
5112 [ab].out )
5113 # We found the default executable, but exeext='' is most
5114 # certainly right.
5115 break;;
5116 *.* )
5117 if test ${ac_cv_exeext+y} && test "$ac_cv_exeext" != no;
5118 then :; else
5119 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5121 # We set ac_cv_exeext here because the later test for it is not
5122 # safe: cross compilers may not add the suffix if given an `-o'
5123 # argument, so we may need to know it at that point already.
5124 # Even if this section looks crufty: it has the advantage of
5125 # actually working.
5126 break;;
5128 break;;
5129 esac
5130 done
5131 test "$ac_cv_exeext" = no && ac_cv_exeext=
5133 else $as_nop
5134 ac_file=''
5136 if test -z "$ac_file"
5137 then :
5138 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5139 printf "%s\n" "no" >&6; }
5140 printf "%s\n" "$as_me: failed program was:" >&5
5141 sed 's/^/| /' conftest.$ac_ext >&5
5143 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5144 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5145 as_fn_error 77 "C compiler cannot create executables
5146 See \`config.log' for more details" "$LINENO" 5; }
5147 else $as_nop
5148 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5149 printf "%s\n" "yes" >&6; }
5151 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
5152 printf %s "checking for C compiler default output file name... " >&6; }
5153 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
5154 printf "%s\n" "$ac_file" >&6; }
5155 ac_exeext=$ac_cv_exeext
5157 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
5158 ac_clean_files=$ac_clean_files_save
5159 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
5160 printf %s "checking for suffix of executables... " >&6; }
5161 if { { ac_try="$ac_link"
5162 case "(($ac_try" in
5163 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5164 *) ac_try_echo=$ac_try;;
5165 esac
5166 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5167 printf "%s\n" "$ac_try_echo"; } >&5
5168 (eval "$ac_link") 2>&5
5169 ac_status=$?
5170 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5171 test $ac_status = 0; }
5172 then :
5173 # If both `conftest.exe' and `conftest' are `present' (well, observable)
5174 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
5175 # work properly (i.e., refer to `conftest.exe'), while it won't with
5176 # `rm'.
5177 for ac_file in conftest.exe conftest conftest.*; do
5178 test -f "$ac_file" || continue
5179 case $ac_file in
5180 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
5181 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
5182 break;;
5183 * ) break;;
5184 esac
5185 done
5186 else $as_nop
5187 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5188 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5189 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
5190 See \`config.log' for more details" "$LINENO" 5; }
5192 rm -f conftest conftest$ac_cv_exeext
5193 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
5194 printf "%s\n" "$ac_cv_exeext" >&6; }
5196 rm -f conftest.$ac_ext
5197 EXEEXT=$ac_cv_exeext
5198 ac_exeext=$EXEEXT
5199 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5200 /* end confdefs.h. */
5201 #include <stdio.h>
5203 main (void)
5205 FILE *f = fopen ("conftest.out", "w");
5206 return ferror (f) || fclose (f) != 0;
5209 return 0;
5211 _ACEOF
5212 ac_clean_files="$ac_clean_files conftest.out"
5213 # Check that the compiler produces executables we can run. If not, either
5214 # the compiler is broken, or we cross compile.
5215 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
5216 printf %s "checking whether we are cross compiling... " >&6; }
5217 if test "$cross_compiling" != yes; then
5218 { { ac_try="$ac_link"
5219 case "(($ac_try" in
5220 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5221 *) ac_try_echo=$ac_try;;
5222 esac
5223 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5224 printf "%s\n" "$ac_try_echo"; } >&5
5225 (eval "$ac_link") 2>&5
5226 ac_status=$?
5227 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5228 test $ac_status = 0; }
5229 if { ac_try='./conftest$ac_cv_exeext'
5230 { { case "(($ac_try" in
5231 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5232 *) ac_try_echo=$ac_try;;
5233 esac
5234 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5235 printf "%s\n" "$ac_try_echo"; } >&5
5236 (eval "$ac_try") 2>&5
5237 ac_status=$?
5238 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5239 test $ac_status = 0; }; }; then
5240 cross_compiling=no
5241 else
5242 if test "$cross_compiling" = maybe; then
5243 cross_compiling=yes
5244 else
5245 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5246 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5247 as_fn_error 77 "cannot run C compiled programs.
5248 If you meant to cross compile, use \`--host'.
5249 See \`config.log' for more details" "$LINENO" 5; }
5253 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
5254 printf "%s\n" "$cross_compiling" >&6; }
5256 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
5257 ac_clean_files=$ac_clean_files_save
5258 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
5259 printf %s "checking for suffix of object files... " >&6; }
5260 if test ${ac_cv_objext+y}
5261 then :
5262 printf %s "(cached) " >&6
5263 else $as_nop
5264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5265 /* end confdefs.h. */
5268 main (void)
5272 return 0;
5274 _ACEOF
5275 rm -f conftest.o conftest.obj
5276 if { { ac_try="$ac_compile"
5277 case "(($ac_try" in
5278 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5279 *) ac_try_echo=$ac_try;;
5280 esac
5281 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5282 printf "%s\n" "$ac_try_echo"; } >&5
5283 (eval "$ac_compile") 2>&5
5284 ac_status=$?
5285 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5286 test $ac_status = 0; }
5287 then :
5288 for ac_file in conftest.o conftest.obj conftest.*; do
5289 test -f "$ac_file" || continue;
5290 case $ac_file in
5291 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
5292 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
5293 break;;
5294 esac
5295 done
5296 else $as_nop
5297 printf "%s\n" "$as_me: failed program was:" >&5
5298 sed 's/^/| /' conftest.$ac_ext >&5
5300 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
5301 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
5302 as_fn_error $? "cannot compute suffix of object files: cannot compile
5303 See \`config.log' for more details" "$LINENO" 5; }
5305 rm -f conftest.$ac_cv_objext conftest.$ac_ext
5307 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
5308 printf "%s\n" "$ac_cv_objext" >&6; }
5309 OBJEXT=$ac_cv_objext
5310 ac_objext=$OBJEXT
5311 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C" >&5
5312 printf %s "checking whether the compiler supports GNU C... " >&6; }
5313 if test ${ac_cv_c_compiler_gnu+y}
5314 then :
5315 printf %s "(cached) " >&6
5316 else $as_nop
5317 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5318 /* end confdefs.h. */
5321 main (void)
5323 #ifndef __GNUC__
5324 choke me
5325 #endif
5328 return 0;
5330 _ACEOF
5331 if ac_fn_c_try_compile "$LINENO"
5332 then :
5333 ac_compiler_gnu=yes
5334 else $as_nop
5335 ac_compiler_gnu=no
5337 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5338 ac_cv_c_compiler_gnu=$ac_compiler_gnu
5341 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
5342 printf "%s\n" "$ac_cv_c_compiler_gnu" >&6; }
5343 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5345 if test $ac_compiler_gnu = yes; then
5346 GCC=yes
5347 else
5348 GCC=
5350 ac_test_CFLAGS=${CFLAGS+y}
5351 ac_save_CFLAGS=$CFLAGS
5352 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
5353 printf %s "checking whether $CC accepts -g... " >&6; }
5354 if test ${ac_cv_prog_cc_g+y}
5355 then :
5356 printf %s "(cached) " >&6
5357 else $as_nop
5358 ac_save_c_werror_flag=$ac_c_werror_flag
5359 ac_c_werror_flag=yes
5360 ac_cv_prog_cc_g=no
5361 CFLAGS="-g"
5362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5363 /* end confdefs.h. */
5366 main (void)
5370 return 0;
5372 _ACEOF
5373 if ac_fn_c_try_compile "$LINENO"
5374 then :
5375 ac_cv_prog_cc_g=yes
5376 else $as_nop
5377 CFLAGS=""
5378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5379 /* end confdefs.h. */
5382 main (void)
5386 return 0;
5388 _ACEOF
5389 if ac_fn_c_try_compile "$LINENO"
5390 then :
5392 else $as_nop
5393 ac_c_werror_flag=$ac_save_c_werror_flag
5394 CFLAGS="-g"
5395 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5396 /* end confdefs.h. */
5399 main (void)
5403 return 0;
5405 _ACEOF
5406 if ac_fn_c_try_compile "$LINENO"
5407 then :
5408 ac_cv_prog_cc_g=yes
5410 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5412 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5414 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5415 ac_c_werror_flag=$ac_save_c_werror_flag
5417 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5418 printf "%s\n" "$ac_cv_prog_cc_g" >&6; }
5419 if test $ac_test_CFLAGS; then
5420 CFLAGS=$ac_save_CFLAGS
5421 elif test $ac_cv_prog_cc_g = yes; then
5422 if test "$GCC" = yes; then
5423 CFLAGS="-g -O2"
5424 else
5425 CFLAGS="-g"
5427 else
5428 if test "$GCC" = yes; then
5429 CFLAGS="-O2"
5430 else
5431 CFLAGS=
5434 ac_prog_cc_stdc=no
5435 if test x$ac_prog_cc_stdc = xno
5436 then :
5437 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C11 features" >&5
5438 printf %s "checking for $CC option to enable C11 features... " >&6; }
5439 if test ${ac_cv_prog_cc_c11+y}
5440 then :
5441 printf %s "(cached) " >&6
5442 else $as_nop
5443 ac_cv_prog_cc_c11=no
5444 ac_save_CC=$CC
5445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5446 /* end confdefs.h. */
5447 $ac_c_conftest_c11_program
5448 _ACEOF
5449 for ac_arg in '' -std=gnu11
5451 CC="$ac_save_CC $ac_arg"
5452 if ac_fn_c_try_compile "$LINENO"
5453 then :
5454 ac_cv_prog_cc_c11=$ac_arg
5456 rm -f core conftest.err conftest.$ac_objext conftest.beam
5457 test "x$ac_cv_prog_cc_c11" != "xno" && break
5458 done
5459 rm -f conftest.$ac_ext
5460 CC=$ac_save_CC
5463 if test "x$ac_cv_prog_cc_c11" = xno
5464 then :
5465 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5466 printf "%s\n" "unsupported" >&6; }
5467 else $as_nop
5468 if test "x$ac_cv_prog_cc_c11" = x
5469 then :
5470 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5471 printf "%s\n" "none needed" >&6; }
5472 else $as_nop
5473 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c11" >&5
5474 printf "%s\n" "$ac_cv_prog_cc_c11" >&6; }
5475 CC="$CC $ac_cv_prog_cc_c11"
5477 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c11
5478 ac_prog_cc_stdc=c11
5481 if test x$ac_prog_cc_stdc = xno
5482 then :
5483 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
5484 printf %s "checking for $CC option to enable C99 features... " >&6; }
5485 if test ${ac_cv_prog_cc_c99+y}
5486 then :
5487 printf %s "(cached) " >&6
5488 else $as_nop
5489 ac_cv_prog_cc_c99=no
5490 ac_save_CC=$CC
5491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5492 /* end confdefs.h. */
5493 $ac_c_conftest_c99_program
5494 _ACEOF
5495 for ac_arg in '' -std=gnu99 -std=c99 -c99 -qlanglvl=extc1x -qlanglvl=extc99 -AC99 -D_STDC_C99=
5497 CC="$ac_save_CC $ac_arg"
5498 if ac_fn_c_try_compile "$LINENO"
5499 then :
5500 ac_cv_prog_cc_c99=$ac_arg
5502 rm -f core conftest.err conftest.$ac_objext conftest.beam
5503 test "x$ac_cv_prog_cc_c99" != "xno" && break
5504 done
5505 rm -f conftest.$ac_ext
5506 CC=$ac_save_CC
5509 if test "x$ac_cv_prog_cc_c99" = xno
5510 then :
5511 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5512 printf "%s\n" "unsupported" >&6; }
5513 else $as_nop
5514 if test "x$ac_cv_prog_cc_c99" = x
5515 then :
5516 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5517 printf "%s\n" "none needed" >&6; }
5518 else $as_nop
5519 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c99" >&5
5520 printf "%s\n" "$ac_cv_prog_cc_c99" >&6; }
5521 CC="$CC $ac_cv_prog_cc_c99"
5523 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c99
5524 ac_prog_cc_stdc=c99
5527 if test x$ac_prog_cc_stdc = xno
5528 then :
5529 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C89 features" >&5
5530 printf %s "checking for $CC option to enable C89 features... " >&6; }
5531 if test ${ac_cv_prog_cc_c89+y}
5532 then :
5533 printf %s "(cached) " >&6
5534 else $as_nop
5535 ac_cv_prog_cc_c89=no
5536 ac_save_CC=$CC
5537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5538 /* end confdefs.h. */
5539 $ac_c_conftest_c89_program
5540 _ACEOF
5541 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5543 CC="$ac_save_CC $ac_arg"
5544 if ac_fn_c_try_compile "$LINENO"
5545 then :
5546 ac_cv_prog_cc_c89=$ac_arg
5548 rm -f core conftest.err conftest.$ac_objext conftest.beam
5549 test "x$ac_cv_prog_cc_c89" != "xno" && break
5550 done
5551 rm -f conftest.$ac_ext
5552 CC=$ac_save_CC
5555 if test "x$ac_cv_prog_cc_c89" = xno
5556 then :
5557 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5558 printf "%s\n" "unsupported" >&6; }
5559 else $as_nop
5560 if test "x$ac_cv_prog_cc_c89" = x
5561 then :
5562 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5563 printf "%s\n" "none needed" >&6; }
5564 else $as_nop
5565 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5566 printf "%s\n" "$ac_cv_prog_cc_c89" >&6; }
5567 CC="$CC $ac_cv_prog_cc_c89"
5569 ac_cv_prog_cc_stdc=$ac_cv_prog_cc_c89
5570 ac_prog_cc_stdc=c89
5574 ac_ext=c
5575 ac_cpp='$CPP $CPPFLAGS'
5576 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5577 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5578 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5586 ac_ext=cpp
5587 ac_cpp='$CXXCPP $CPPFLAGS'
5588 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5589 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5590 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5591 if test -z "$CXX"; then
5592 if test -n "$CCC"; then
5593 CXX=$CCC
5594 else
5595 if test -n "$ac_tool_prefix"; then
5596 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5598 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5599 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5600 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5601 printf %s "checking for $ac_word... " >&6; }
5602 if test ${ac_cv_prog_CXX+y}
5603 then :
5604 printf %s "(cached) " >&6
5605 else $as_nop
5606 if test -n "$CXX"; then
5607 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5608 else
5609 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5610 for as_dir in $PATH
5612 IFS=$as_save_IFS
5613 case $as_dir in #(((
5614 '') as_dir=./ ;;
5615 */) ;;
5616 *) as_dir=$as_dir/ ;;
5617 esac
5618 for ac_exec_ext in '' $ac_executable_extensions; do
5619 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5620 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5621 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5622 break 2
5624 done
5625 done
5626 IFS=$as_save_IFS
5630 CXX=$ac_cv_prog_CXX
5631 if test -n "$CXX"; then
5632 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5633 printf "%s\n" "$CXX" >&6; }
5634 else
5635 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5636 printf "%s\n" "no" >&6; }
5640 test -n "$CXX" && break
5641 done
5643 if test -z "$CXX"; then
5644 ac_ct_CXX=$CXX
5645 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC clang++
5647 # Extract the first word of "$ac_prog", so it can be a program name with args.
5648 set dummy $ac_prog; ac_word=$2
5649 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5650 printf %s "checking for $ac_word... " >&6; }
5651 if test ${ac_cv_prog_ac_ct_CXX+y}
5652 then :
5653 printf %s "(cached) " >&6
5654 else $as_nop
5655 if test -n "$ac_ct_CXX"; then
5656 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5657 else
5658 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5659 for as_dir in $PATH
5661 IFS=$as_save_IFS
5662 case $as_dir in #(((
5663 '') as_dir=./ ;;
5664 */) ;;
5665 *) as_dir=$as_dir/ ;;
5666 esac
5667 for ac_exec_ext in '' $ac_executable_extensions; do
5668 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5669 ac_cv_prog_ac_ct_CXX="$ac_prog"
5670 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5671 break 2
5673 done
5674 done
5675 IFS=$as_save_IFS
5679 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5680 if test -n "$ac_ct_CXX"; then
5681 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5682 printf "%s\n" "$ac_ct_CXX" >&6; }
5683 else
5684 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5685 printf "%s\n" "no" >&6; }
5689 test -n "$ac_ct_CXX" && break
5690 done
5692 if test "x$ac_ct_CXX" = x; then
5693 CXX="g++"
5694 else
5695 case $cross_compiling:$ac_tool_warned in
5696 yes:)
5697 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5698 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5699 ac_tool_warned=yes ;;
5700 esac
5701 CXX=$ac_ct_CXX
5707 # Provide some information about the compiler.
5708 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5709 set X $ac_compile
5710 ac_compiler=$2
5711 for ac_option in --version -v -V -qversion; do
5712 { { ac_try="$ac_compiler $ac_option >&5"
5713 case "(($ac_try" in
5714 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5715 *) ac_try_echo=$ac_try;;
5716 esac
5717 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5718 printf "%s\n" "$ac_try_echo"; } >&5
5719 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5720 ac_status=$?
5721 if test -s conftest.err; then
5722 sed '10a\
5723 ... rest of stderr output deleted ...
5724 10q' conftest.err >conftest.er1
5725 cat conftest.er1 >&5
5727 rm -f conftest.er1 conftest.err
5728 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5729 test $ac_status = 0; }
5730 done
5732 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU C++" >&5
5733 printf %s "checking whether the compiler supports GNU C++... " >&6; }
5734 if test ${ac_cv_cxx_compiler_gnu+y}
5735 then :
5736 printf %s "(cached) " >&6
5737 else $as_nop
5738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5739 /* end confdefs.h. */
5742 main (void)
5744 #ifndef __GNUC__
5745 choke me
5746 #endif
5749 return 0;
5751 _ACEOF
5752 if ac_fn_cxx_try_compile "$LINENO"
5753 then :
5754 ac_compiler_gnu=yes
5755 else $as_nop
5756 ac_compiler_gnu=no
5758 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5759 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5762 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5763 printf "%s\n" "$ac_cv_cxx_compiler_gnu" >&6; }
5764 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5766 if test $ac_compiler_gnu = yes; then
5767 GXX=yes
5768 else
5769 GXX=
5771 ac_test_CXXFLAGS=${CXXFLAGS+y}
5772 ac_save_CXXFLAGS=$CXXFLAGS
5773 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5774 printf %s "checking whether $CXX accepts -g... " >&6; }
5775 if test ${ac_cv_prog_cxx_g+y}
5776 then :
5777 printf %s "(cached) " >&6
5778 else $as_nop
5779 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5780 ac_cxx_werror_flag=yes
5781 ac_cv_prog_cxx_g=no
5782 CXXFLAGS="-g"
5783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5784 /* end confdefs.h. */
5787 main (void)
5791 return 0;
5793 _ACEOF
5794 if ac_fn_cxx_try_compile "$LINENO"
5795 then :
5796 ac_cv_prog_cxx_g=yes
5797 else $as_nop
5798 CXXFLAGS=""
5799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5800 /* end confdefs.h. */
5803 main (void)
5807 return 0;
5809 _ACEOF
5810 if ac_fn_cxx_try_compile "$LINENO"
5811 then :
5813 else $as_nop
5814 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5815 CXXFLAGS="-g"
5816 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5817 /* end confdefs.h. */
5820 main (void)
5824 return 0;
5826 _ACEOF
5827 if ac_fn_cxx_try_compile "$LINENO"
5828 then :
5829 ac_cv_prog_cxx_g=yes
5831 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5833 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5835 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
5836 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5838 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5839 printf "%s\n" "$ac_cv_prog_cxx_g" >&6; }
5840 if test $ac_test_CXXFLAGS; then
5841 CXXFLAGS=$ac_save_CXXFLAGS
5842 elif test $ac_cv_prog_cxx_g = yes; then
5843 if test "$GXX" = yes; then
5844 CXXFLAGS="-g -O2"
5845 else
5846 CXXFLAGS="-g"
5848 else
5849 if test "$GXX" = yes; then
5850 CXXFLAGS="-O2"
5851 else
5852 CXXFLAGS=
5855 ac_prog_cxx_stdcxx=no
5856 if test x$ac_prog_cxx_stdcxx = xno
5857 then :
5858 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++11 features" >&5
5859 printf %s "checking for $CXX option to enable C++11 features... " >&6; }
5860 if test ${ac_cv_prog_cxx_11+y}
5861 then :
5862 printf %s "(cached) " >&6
5863 else $as_nop
5864 ac_cv_prog_cxx_11=no
5865 ac_save_CXX=$CXX
5866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5867 /* end confdefs.h. */
5868 $ac_cxx_conftest_cxx11_program
5869 _ACEOF
5870 for ac_arg in '' -std=gnu++11 -std=gnu++0x -std=c++11 -std=c++0x -qlanglvl=extended0x -AA
5872 CXX="$ac_save_CXX $ac_arg"
5873 if ac_fn_cxx_try_compile "$LINENO"
5874 then :
5875 ac_cv_prog_cxx_cxx11=$ac_arg
5877 rm -f core conftest.err conftest.$ac_objext conftest.beam
5878 test "x$ac_cv_prog_cxx_cxx11" != "xno" && break
5879 done
5880 rm -f conftest.$ac_ext
5881 CXX=$ac_save_CXX
5884 if test "x$ac_cv_prog_cxx_cxx11" = xno
5885 then :
5886 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5887 printf "%s\n" "unsupported" >&6; }
5888 else $as_nop
5889 if test "x$ac_cv_prog_cxx_cxx11" = x
5890 then :
5891 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5892 printf "%s\n" "none needed" >&6; }
5893 else $as_nop
5894 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx11" >&5
5895 printf "%s\n" "$ac_cv_prog_cxx_cxx11" >&6; }
5896 CXX="$CXX $ac_cv_prog_cxx_cxx11"
5898 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx11
5899 ac_prog_cxx_stdcxx=cxx11
5902 if test x$ac_prog_cxx_stdcxx = xno
5903 then :
5904 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CXX option to enable C++98 features" >&5
5905 printf %s "checking for $CXX option to enable C++98 features... " >&6; }
5906 if test ${ac_cv_prog_cxx_98+y}
5907 then :
5908 printf %s "(cached) " >&6
5909 else $as_nop
5910 ac_cv_prog_cxx_98=no
5911 ac_save_CXX=$CXX
5912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5913 /* end confdefs.h. */
5914 $ac_cxx_conftest_cxx98_program
5915 _ACEOF
5916 for ac_arg in '' -std=gnu++98 -std=c++98 -qlanglvl=extended -AA
5918 CXX="$ac_save_CXX $ac_arg"
5919 if ac_fn_cxx_try_compile "$LINENO"
5920 then :
5921 ac_cv_prog_cxx_cxx98=$ac_arg
5923 rm -f core conftest.err conftest.$ac_objext conftest.beam
5924 test "x$ac_cv_prog_cxx_cxx98" != "xno" && break
5925 done
5926 rm -f conftest.$ac_ext
5927 CXX=$ac_save_CXX
5930 if test "x$ac_cv_prog_cxx_cxx98" = xno
5931 then :
5932 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5933 printf "%s\n" "unsupported" >&6; }
5934 else $as_nop
5935 if test "x$ac_cv_prog_cxx_cxx98" = x
5936 then :
5937 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5938 printf "%s\n" "none needed" >&6; }
5939 else $as_nop
5940 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_cxx98" >&5
5941 printf "%s\n" "$ac_cv_prog_cxx_cxx98" >&6; }
5942 CXX="$CXX $ac_cv_prog_cxx_cxx98"
5944 ac_cv_prog_cxx_stdcxx=$ac_cv_prog_cxx_cxx98
5945 ac_prog_cxx_stdcxx=cxx98
5949 ac_ext=c
5950 ac_cpp='$CPP $CPPFLAGS'
5951 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5952 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5953 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5955 if test -n "$ac_tool_prefix"; then
5956 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5957 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5958 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5959 printf %s "checking for $ac_word... " >&6; }
5960 if test ${ac_cv_prog_CPPBIN+y}
5961 then :
5962 printf %s "(cached) " >&6
5963 else $as_nop
5964 if test -n "$CPPBIN"; then
5965 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5966 else
5967 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5968 for as_dir in $PATH
5970 IFS=$as_save_IFS
5971 case $as_dir in #(((
5972 '') as_dir=./ ;;
5973 */) ;;
5974 *) as_dir=$as_dir/ ;;
5975 esac
5976 for ac_exec_ext in '' $ac_executable_extensions; do
5977 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
5978 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5979 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
5980 break 2
5982 done
5983 done
5984 IFS=$as_save_IFS
5988 CPPBIN=$ac_cv_prog_CPPBIN
5989 if test -n "$CPPBIN"; then
5990 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5991 printf "%s\n" "$CPPBIN" >&6; }
5992 else
5993 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
5994 printf "%s\n" "no" >&6; }
5999 if test -z "$ac_cv_prog_CPPBIN"; then
6000 ac_ct_CPPBIN=$CPPBIN
6001 # Extract the first word of "cpp", so it can be a program name with args.
6002 set dummy cpp; ac_word=$2
6003 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6004 printf %s "checking for $ac_word... " >&6; }
6005 if test ${ac_cv_prog_ac_ct_CPPBIN+y}
6006 then :
6007 printf %s "(cached) " >&6
6008 else $as_nop
6009 if test -n "$ac_ct_CPPBIN"; then
6010 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
6011 else
6012 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6013 for as_dir in $PATH
6015 IFS=$as_save_IFS
6016 case $as_dir in #(((
6017 '') as_dir=./ ;;
6018 */) ;;
6019 *) as_dir=$as_dir/ ;;
6020 esac
6021 for ac_exec_ext in '' $ac_executable_extensions; do
6022 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6023 ac_cv_prog_ac_ct_CPPBIN="cpp"
6024 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6025 break 2
6027 done
6028 done
6029 IFS=$as_save_IFS
6033 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
6034 if test -n "$ac_ct_CPPBIN"; then
6035 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
6036 printf "%s\n" "$ac_ct_CPPBIN" >&6; }
6037 else
6038 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6039 printf "%s\n" "no" >&6; }
6042 if test "x$ac_ct_CPPBIN" = x; then
6043 CPPBIN="cpp"
6044 else
6045 case $cross_compiling:$ac_tool_warned in
6046 yes:)
6047 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6048 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6049 ac_tool_warned=yes ;;
6050 esac
6051 CPPBIN=$ac_ct_CPPBIN
6053 else
6054 CPPBIN="$ac_cv_prog_CPPBIN"
6058 printf "%s\n" "#define EXEEXT \"$ac_exeext\"" >>confdefs.h
6060 if test -n "$ac_tool_prefix"; then
6061 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
6062 set dummy ${ac_tool_prefix}ld; ac_word=$2
6063 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6064 printf %s "checking for $ac_word... " >&6; }
6065 if test ${ac_cv_prog_LD+y}
6066 then :
6067 printf %s "(cached) " >&6
6068 else $as_nop
6069 if test -n "$LD"; then
6070 ac_cv_prog_LD="$LD" # Let the user override the test.
6071 else
6072 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6073 for as_dir in $PATH
6075 IFS=$as_save_IFS
6076 case $as_dir in #(((
6077 '') as_dir=./ ;;
6078 */) ;;
6079 *) as_dir=$as_dir/ ;;
6080 esac
6081 for ac_exec_ext in '' $ac_executable_extensions; do
6082 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6083 ac_cv_prog_LD="${ac_tool_prefix}ld"
6084 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6085 break 2
6087 done
6088 done
6089 IFS=$as_save_IFS
6093 LD=$ac_cv_prog_LD
6094 if test -n "$LD"; then
6095 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
6096 printf "%s\n" "$LD" >&6; }
6097 else
6098 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6099 printf "%s\n" "no" >&6; }
6104 if test -z "$ac_cv_prog_LD"; then
6105 ac_ct_LD=$LD
6106 # Extract the first word of "ld", so it can be a program name with args.
6107 set dummy ld; ac_word=$2
6108 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6109 printf %s "checking for $ac_word... " >&6; }
6110 if test ${ac_cv_prog_ac_ct_LD+y}
6111 then :
6112 printf %s "(cached) " >&6
6113 else $as_nop
6114 if test -n "$ac_ct_LD"; then
6115 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
6116 else
6117 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6118 for as_dir in $PATH
6120 IFS=$as_save_IFS
6121 case $as_dir in #(((
6122 '') as_dir=./ ;;
6123 */) ;;
6124 *) as_dir=$as_dir/ ;;
6125 esac
6126 for ac_exec_ext in '' $ac_executable_extensions; do
6127 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6128 ac_cv_prog_ac_ct_LD="ld"
6129 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6130 break 2
6132 done
6133 done
6134 IFS=$as_save_IFS
6138 ac_ct_LD=$ac_cv_prog_ac_ct_LD
6139 if test -n "$ac_ct_LD"; then
6140 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
6141 printf "%s\n" "$ac_ct_LD" >&6; }
6142 else
6143 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6144 printf "%s\n" "no" >&6; }
6147 if test "x$ac_ct_LD" = x; then
6148 LD=""
6149 else
6150 case $cross_compiling:$ac_tool_warned in
6151 yes:)
6152 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6153 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6154 ac_tool_warned=yes ;;
6155 esac
6156 LD=$ac_ct_LD
6158 else
6159 LD="$ac_cv_prog_LD"
6163 case $host in
6164 *-darwin*)
6165 with_fontconfig=${with_fontconfig:-no}
6167 *-mingw32*|*-cygwin*)
6168 enable_win16=${enable_win16:-no}
6169 with_mingw=${with_mingw:-no}
6171 esac
6174 case $host in
6175 x86_64*|amd64*)
6176 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes" -a x"$enable_archs" = x
6177 then
6178 CC="$CC -m32"
6179 CXX="$CXX -m32"
6181 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
6182 printf %s "checking whether $CC works... " >&6; }
6183 if test ${wine_cv_cc_m32+y}
6184 then :
6185 printf %s "(cached) " >&6
6186 else $as_nop
6187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6188 /* end confdefs.h. */
6191 main (void)
6195 return 0;
6197 _ACEOF
6198 if ac_fn_c_try_link "$LINENO"
6199 then :
6200 wine_cv_cc_m32=yes
6201 else $as_nop
6202 wine_cv_cc_m32=no
6204 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6205 conftest$ac_exeext conftest.$ac_ext
6207 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
6208 printf "%s\n" "$wine_cv_cc_m32" >&6; }
6209 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
6210 host_cpu="i386"
6211 notice_platform="32-bit "
6212 TARGETFLAGS="$TARGETFLAGS -m32"
6213 PKG_CONFIG_LIBDIR=${PKG_CONFIG_LIBDIR:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
6214 export PKG_CONFIG_LIBDIR
6215 with_unwind=${with_unwind:-no}
6216 else
6217 if test "x${GCC}" = "xyes"
6218 then
6219 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
6220 printf %s "checking whether $CC supports __builtin_ms_va_list... " >&6; }
6221 if test ${wine_cv_builtin_ms_va_list+y}
6222 then :
6223 printf %s "(cached) " >&6
6224 else $as_nop
6225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6226 /* end confdefs.h. */
6227 #include <stdarg.h>
6229 main (void)
6231 void func(__builtin_ms_va_list *args);
6233 return 0;
6235 _ACEOF
6236 if ac_fn_c_try_compile "$LINENO"
6237 then :
6238 wine_cv_builtin_ms_va_list=yes
6239 else $as_nop
6240 wine_cv_builtin_ms_va_list=no
6242 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
6244 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
6245 printf "%s\n" "$wine_cv_builtin_ms_va_list" >&6; }
6246 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
6248 CC="$CC -m64"
6249 CXX="$CXX -m64"
6250 host_cpu="x86_64"
6251 notice_platform="64-bit "
6252 TARGETFLAGS="$TARGETFLAGS -m64"
6255 arm*)
6256 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb-2" >&5
6257 printf %s "checking whether $CC supports Thumb-2... " >&6; }
6258 if test ${wine_cv_thumb2+y}
6259 then :
6260 printf %s "(cached) " >&6
6261 else $as_nop
6262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6263 /* end confdefs.h. */
6266 main (void)
6268 asm(".syntax unified\n\t.thumb\n\tldm r0,{r0-r8}");
6270 return 0;
6272 _ACEOF
6273 if ac_fn_c_try_link "$LINENO"
6274 then :
6275 wine_cv_thumb2=yes
6276 else $as_nop
6277 wine_cv_thumb2=no
6279 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6280 conftest$ac_exeext conftest.$ac_ext
6282 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb2" >&5
6283 printf "%s\n" "$wine_cv_thumb2" >&6; }
6284 if test x"$wine_cv_thumb2" = xyes
6285 then
6286 CFLAGS="$CFLAGS -mthumb"
6287 TARGETFLAGS="$TARGETFLAGS -mthumb"
6288 else
6289 CFLAGS="$CFLAGS -marm"
6290 TARGETFLAGS="$TARGETFLAGS -marm"
6292 case $with_float_abi in
6293 soft|softfp|hard)
6294 float_abi=$with_float_abi ;;
6296 case $host_os in
6297 *eabihf)
6298 float_abi=hard ;;
6300 float_abi=softfp
6301 saved_CFLAGS=$CFLAGS
6302 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
6303 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
6304 printf %s "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
6305 if test ${wine_cv_float_abi+y}
6306 then :
6307 printf %s "(cached) " >&6
6308 else $as_nop
6309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6310 /* end confdefs.h. */
6313 main (void)
6315 asm("vmrs r2,fpscr");
6317 return 0;
6319 _ACEOF
6320 if ac_fn_c_try_link "$LINENO"
6321 then :
6322 wine_cv_float_abi=yes
6323 else $as_nop
6324 wine_cv_float_abi=no
6326 rm -f core conftest.err conftest.$ac_objext conftest.beam \
6327 conftest$ac_exeext conftest.$ac_ext
6329 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
6330 printf "%s\n" "$wine_cv_float_abi" >&6; }
6331 if test $wine_cv_float_abi = no
6332 then
6333 float_abi=soft
6334 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
6336 CFLAGS=$saved_CFLAGS
6337 esac
6339 esac
6340 CFLAGS="$CFLAGS -mfloat-abi=$float_abi"
6341 TARGETFLAGS="$TARGETFLAGS -mfloat-abi=$float_abi"
6343 i[3456789]86*)
6344 with_unwind=${with_unwind:-no}
6346 esac
6348 enable_win16=${enable_win16:-i386}
6349 enable_win64=${enable_win64:-no}
6350 enable_wow64=${enable_wow64:-aarch64,x86_64}
6351 enable_wow64win=${enable_wow64win:-aarch64,x86_64}
6352 enable_wow64cpu=${enable_wow64cpu:-x86_64}
6354 enable_winetest=${enable_winetest:-$enable_tests}
6356 if test "x$enable_win64" = "xyes"
6357 then
6358 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
6359 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
6362 case $build_os in
6363 cygwin*|mingw32*) toolsext=".exe"
6365 *) toolsext=""
6367 esac
6369 HOST_ARCH=unknown
6370 case "$host_cpu" in
6371 aarch64*) HOST_ARCH=aarch64 ;;
6372 arm*) HOST_ARCH=arm ;;
6373 i[3456789]86*) HOST_ARCH=i386 ;;
6374 x86_64) HOST_ARCH=x86_64 ;;
6375 esac
6378 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
6379 printf %s "checking for the directory containing the Wine tools... " >&6; }
6380 if test ${wine_cv_toolsdir+y}
6381 then :
6382 printf %s "(cached) " >&6
6383 else $as_nop
6384 wine_cv_toolsdir="$with_wine_tools"
6385 if test -z "$with_wine_tools"; then
6386 if test "$cross_compiling" = "yes"; then
6387 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
6388 elif test -n "$with_wine64"; then
6389 wine_cv_toolsdir="$with_wine64"
6393 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
6394 printf "%s\n" "$wine_cv_toolsdir" >&6; }
6395 if test -z "$wine_cv_toolsdir"; then
6396 wine_makedep=tools/makedep$toolsext
6397 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
6398 wine_makedep=$wine_cv_toolsdir/tools/makedep$toolsext
6399 enable_tools=${enable_tools:-no}
6400 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
6401 else
6402 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
6404 toolsdir=$wine_cv_toolsdir
6406 MAKEDEP=$wine_makedep
6408 RUNTESTFLAGS="-q -P wine"
6410 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'"
6413 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
6414 then
6415 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
6418 for ac_prog in flex
6420 # Extract the first word of "$ac_prog", so it can be a program name with args.
6421 set dummy $ac_prog; ac_word=$2
6422 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6423 printf %s "checking for $ac_word... " >&6; }
6424 if test ${ac_cv_prog_FLEX+y}
6425 then :
6426 printf %s "(cached) " >&6
6427 else $as_nop
6428 if test -n "$FLEX"; then
6429 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
6430 else
6431 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6432 for as_dir in $PATH
6434 IFS=$as_save_IFS
6435 case $as_dir in #(((
6436 '') as_dir=./ ;;
6437 */) ;;
6438 *) as_dir=$as_dir/ ;;
6439 esac
6440 for ac_exec_ext in '' $ac_executable_extensions; do
6441 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6442 ac_cv_prog_FLEX="$ac_prog"
6443 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6444 break 2
6446 done
6447 done
6448 IFS=$as_save_IFS
6452 FLEX=$ac_cv_prog_FLEX
6453 if test -n "$FLEX"; then
6454 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
6455 printf "%s\n" "$FLEX" >&6; }
6456 else
6457 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6458 printf "%s\n" "no" >&6; }
6462 test -n "$FLEX" && break
6463 done
6464 test -n "$FLEX" || FLEX="none"
6466 if test "$FLEX" = "none"
6467 then
6468 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
6470 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
6471 printf %s "checking whether flex is recent enough... " >&6; }
6472 if test ${wine_cv_recent_flex+y}
6473 then :
6474 printf %s "(cached) " >&6
6475 else $as_nop
6476 cat >conftest.l <<EOF
6477 %top{
6478 #include "prediluvian.h"
6482 if $FLEX -t conftest.l >/dev/null 2>&5
6483 then
6484 wine_cv_recent_flex=yes
6485 else
6486 wine_cv_recent_flex=no
6489 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
6490 printf "%s\n" "$wine_cv_recent_flex" >&6; }
6491 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
6493 for ac_prog in bison
6495 # Extract the first word of "$ac_prog", so it can be a program name with args.
6496 set dummy $ac_prog; ac_word=$2
6497 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6498 printf %s "checking for $ac_word... " >&6; }
6499 if test ${ac_cv_prog_BISON+y}
6500 then :
6501 printf %s "(cached) " >&6
6502 else $as_nop
6503 if test -n "$BISON"; then
6504 ac_cv_prog_BISON="$BISON" # Let the user override the test.
6505 else
6506 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6507 for as_dir in $PATH
6509 IFS=$as_save_IFS
6510 case $as_dir in #(((
6511 '') as_dir=./ ;;
6512 */) ;;
6513 *) as_dir=$as_dir/ ;;
6514 esac
6515 for ac_exec_ext in '' $ac_executable_extensions; do
6516 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6517 ac_cv_prog_BISON="$ac_prog"
6518 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6519 break 2
6521 done
6522 done
6523 IFS=$as_save_IFS
6527 BISON=$ac_cv_prog_BISON
6528 if test -n "$BISON"; then
6529 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
6530 printf "%s\n" "$BISON" >&6; }
6531 else
6532 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6533 printf "%s\n" "no" >&6; }
6537 test -n "$BISON" && break
6538 done
6539 test -n "$BISON" || BISON="none"
6541 if test "$BISON" = "none"
6542 then
6543 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
6545 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
6546 printf %s "checking whether bison is recent enough... " >&6; }
6547 if test ${wine_cv_recent_bison+y}
6548 then :
6549 printf %s "(cached) " >&6
6550 else $as_nop
6551 cat >conftest.y <<EOF
6552 %define parse.error verbose
6554 empty: ;
6556 if $BISON conftest.y >/dev/null 2>&5
6557 then
6558 wine_cv_recent_bison=yes
6559 else
6560 wine_cv_recent_bison=no
6563 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
6564 printf "%s\n" "$wine_cv_recent_bison" >&6; }
6565 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
6567 if test -n "$ac_tool_prefix"; then
6568 for ac_prog in ar gar
6570 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
6571 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
6572 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6573 printf %s "checking for $ac_word... " >&6; }
6574 if test ${ac_cv_prog_AR+y}
6575 then :
6576 printf %s "(cached) " >&6
6577 else $as_nop
6578 if test -n "$AR"; then
6579 ac_cv_prog_AR="$AR" # Let the user override the test.
6580 else
6581 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6582 for as_dir in $PATH
6584 IFS=$as_save_IFS
6585 case $as_dir in #(((
6586 '') as_dir=./ ;;
6587 */) ;;
6588 *) as_dir=$as_dir/ ;;
6589 esac
6590 for ac_exec_ext in '' $ac_executable_extensions; do
6591 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6592 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
6593 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6594 break 2
6596 done
6597 done
6598 IFS=$as_save_IFS
6602 AR=$ac_cv_prog_AR
6603 if test -n "$AR"; then
6604 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
6605 printf "%s\n" "$AR" >&6; }
6606 else
6607 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6608 printf "%s\n" "no" >&6; }
6612 test -n "$AR" && break
6613 done
6615 if test -z "$AR"; then
6616 ac_ct_AR=$AR
6617 for ac_prog in ar gar
6619 # Extract the first word of "$ac_prog", so it can be a program name with args.
6620 set dummy $ac_prog; ac_word=$2
6621 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6622 printf %s "checking for $ac_word... " >&6; }
6623 if test ${ac_cv_prog_ac_ct_AR+y}
6624 then :
6625 printf %s "(cached) " >&6
6626 else $as_nop
6627 if test -n "$ac_ct_AR"; then
6628 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6629 else
6630 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6631 for as_dir in $PATH
6633 IFS=$as_save_IFS
6634 case $as_dir in #(((
6635 '') as_dir=./ ;;
6636 */) ;;
6637 *) as_dir=$as_dir/ ;;
6638 esac
6639 for ac_exec_ext in '' $ac_executable_extensions; do
6640 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6641 ac_cv_prog_ac_ct_AR="$ac_prog"
6642 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6643 break 2
6645 done
6646 done
6647 IFS=$as_save_IFS
6651 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6652 if test -n "$ac_ct_AR"; then
6653 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6654 printf "%s\n" "$ac_ct_AR" >&6; }
6655 else
6656 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6657 printf "%s\n" "no" >&6; }
6661 test -n "$ac_ct_AR" && break
6662 done
6664 if test "x$ac_ct_AR" = x; then
6665 AR="ar"
6666 else
6667 case $cross_compiling:$ac_tool_warned in
6668 yes:)
6669 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6670 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6671 ac_tool_warned=yes ;;
6672 esac
6673 AR=$ac_ct_AR
6677 if test -n "$ac_tool_prefix"; then
6678 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6679 set dummy ${ac_tool_prefix}strip; ac_word=$2
6680 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6681 printf %s "checking for $ac_word... " >&6; }
6682 if test ${ac_cv_prog_STRIP+y}
6683 then :
6684 printf %s "(cached) " >&6
6685 else $as_nop
6686 if test -n "$STRIP"; then
6687 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6688 else
6689 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6690 for as_dir in $PATH
6692 IFS=$as_save_IFS
6693 case $as_dir in #(((
6694 '') as_dir=./ ;;
6695 */) ;;
6696 *) as_dir=$as_dir/ ;;
6697 esac
6698 for ac_exec_ext in '' $ac_executable_extensions; do
6699 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6700 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6701 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6702 break 2
6704 done
6705 done
6706 IFS=$as_save_IFS
6710 STRIP=$ac_cv_prog_STRIP
6711 if test -n "$STRIP"; then
6712 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6713 printf "%s\n" "$STRIP" >&6; }
6714 else
6715 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6716 printf "%s\n" "no" >&6; }
6721 if test -z "$ac_cv_prog_STRIP"; then
6722 ac_ct_STRIP=$STRIP
6723 # Extract the first word of "strip", so it can be a program name with args.
6724 set dummy strip; ac_word=$2
6725 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6726 printf %s "checking for $ac_word... " >&6; }
6727 if test ${ac_cv_prog_ac_ct_STRIP+y}
6728 then :
6729 printf %s "(cached) " >&6
6730 else $as_nop
6731 if test -n "$ac_ct_STRIP"; then
6732 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6733 else
6734 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6735 for as_dir in $PATH
6737 IFS=$as_save_IFS
6738 case $as_dir in #(((
6739 '') as_dir=./ ;;
6740 */) ;;
6741 *) as_dir=$as_dir/ ;;
6742 esac
6743 for ac_exec_ext in '' $ac_executable_extensions; do
6744 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6745 ac_cv_prog_ac_ct_STRIP="strip"
6746 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6747 break 2
6749 done
6750 done
6751 IFS=$as_save_IFS
6755 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6756 if test -n "$ac_ct_STRIP"; then
6757 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6758 printf "%s\n" "$ac_ct_STRIP" >&6; }
6759 else
6760 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6761 printf "%s\n" "no" >&6; }
6764 if test "x$ac_ct_STRIP" = x; then
6765 STRIP="strip"
6766 else
6767 case $cross_compiling:$ac_tool_warned in
6768 yes:)
6769 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6770 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6771 ac_tool_warned=yes ;;
6772 esac
6773 STRIP=$ac_ct_STRIP
6775 else
6776 STRIP="$ac_cv_prog_STRIP"
6779 if test -n "$ac_tool_prefix"; then
6780 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6781 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6782 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6783 printf %s "checking for $ac_word... " >&6; }
6784 if test ${ac_cv_prog_RANLIB+y}
6785 then :
6786 printf %s "(cached) " >&6
6787 else $as_nop
6788 if test -n "$RANLIB"; then
6789 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6790 else
6791 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6792 for as_dir in $PATH
6794 IFS=$as_save_IFS
6795 case $as_dir in #(((
6796 '') as_dir=./ ;;
6797 */) ;;
6798 *) as_dir=$as_dir/ ;;
6799 esac
6800 for ac_exec_ext in '' $ac_executable_extensions; do
6801 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6802 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6803 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6804 break 2
6806 done
6807 done
6808 IFS=$as_save_IFS
6812 RANLIB=$ac_cv_prog_RANLIB
6813 if test -n "$RANLIB"; then
6814 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6815 printf "%s\n" "$RANLIB" >&6; }
6816 else
6817 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6818 printf "%s\n" "no" >&6; }
6823 if test -z "$ac_cv_prog_RANLIB"; then
6824 ac_ct_RANLIB=$RANLIB
6825 # Extract the first word of "ranlib", so it can be a program name with args.
6826 set dummy ranlib; ac_word=$2
6827 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6828 printf %s "checking for $ac_word... " >&6; }
6829 if test ${ac_cv_prog_ac_ct_RANLIB+y}
6830 then :
6831 printf %s "(cached) " >&6
6832 else $as_nop
6833 if test -n "$ac_ct_RANLIB"; then
6834 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6835 else
6836 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6837 for as_dir in $PATH
6839 IFS=$as_save_IFS
6840 case $as_dir in #(((
6841 '') as_dir=./ ;;
6842 */) ;;
6843 *) as_dir=$as_dir/ ;;
6844 esac
6845 for ac_exec_ext in '' $ac_executable_extensions; do
6846 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
6847 ac_cv_prog_ac_ct_RANLIB="ranlib"
6848 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
6849 break 2
6851 done
6852 done
6853 IFS=$as_save_IFS
6857 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6858 if test -n "$ac_ct_RANLIB"; then
6859 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6860 printf "%s\n" "$ac_ct_RANLIB" >&6; }
6861 else
6862 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
6863 printf "%s\n" "no" >&6; }
6866 if test "x$ac_ct_RANLIB" = x; then
6867 RANLIB=":"
6868 else
6869 case $cross_compiling:$ac_tool_warned in
6870 yes:)
6871 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6872 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6873 ac_tool_warned=yes ;;
6874 esac
6875 RANLIB=$ac_ct_RANLIB
6877 else
6878 RANLIB="$ac_cv_prog_RANLIB"
6881 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6882 printf %s "checking whether ln -s works... " >&6; }
6883 LN_S=$as_ln_s
6884 if test "$LN_S" = "ln -s"; then
6885 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6886 printf "%s\n" "yes" >&6; }
6887 else
6888 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6889 printf "%s\n" "no, using $LN_S" >&6; }
6892 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6893 printf %s "checking for grep that handles long lines and -e... " >&6; }
6894 if test ${ac_cv_path_GREP+y}
6895 then :
6896 printf %s "(cached) " >&6
6897 else $as_nop
6898 if test -z "$GREP"; then
6899 ac_path_GREP_found=false
6900 # Loop through the user's path and test for each of PROGNAME-LIST
6901 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6902 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6904 IFS=$as_save_IFS
6905 case $as_dir in #(((
6906 '') as_dir=./ ;;
6907 */) ;;
6908 *) as_dir=$as_dir/ ;;
6909 esac
6910 for ac_prog in grep ggrep
6912 for ac_exec_ext in '' $ac_executable_extensions; do
6913 ac_path_GREP="$as_dir$ac_prog$ac_exec_ext"
6914 as_fn_executable_p "$ac_path_GREP" || continue
6915 # Check for GNU ac_path_GREP and select it if it is found.
6916 # Check for GNU $ac_path_GREP
6917 case `"$ac_path_GREP" --version 2>&1` in
6918 *GNU*)
6919 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6921 ac_count=0
6922 printf %s 0123456789 >"conftest.in"
6923 while :
6925 cat "conftest.in" "conftest.in" >"conftest.tmp"
6926 mv "conftest.tmp" "conftest.in"
6927 cp "conftest.in" "conftest.nl"
6928 printf "%s\n" 'GREP' >> "conftest.nl"
6929 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6930 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6931 as_fn_arith $ac_count + 1 && ac_count=$as_val
6932 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6933 # Best one so far, save it but keep looking for a better one
6934 ac_cv_path_GREP="$ac_path_GREP"
6935 ac_path_GREP_max=$ac_count
6937 # 10*(2^10) chars as input seems more than enough
6938 test $ac_count -gt 10 && break
6939 done
6940 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6941 esac
6943 $ac_path_GREP_found && break 3
6944 done
6945 done
6946 done
6947 IFS=$as_save_IFS
6948 if test -z "$ac_cv_path_GREP"; then
6949 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6951 else
6952 ac_cv_path_GREP=$GREP
6956 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6957 printf "%s\n" "$ac_cv_path_GREP" >&6; }
6958 GREP="$ac_cv_path_GREP"
6961 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6962 printf %s "checking for egrep... " >&6; }
6963 if test ${ac_cv_path_EGREP+y}
6964 then :
6965 printf %s "(cached) " >&6
6966 else $as_nop
6967 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6968 then ac_cv_path_EGREP="$GREP -E"
6969 else
6970 if test -z "$EGREP"; then
6971 ac_path_EGREP_found=false
6972 # Loop through the user's path and test for each of PROGNAME-LIST
6973 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6974 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6976 IFS=$as_save_IFS
6977 case $as_dir in #(((
6978 '') as_dir=./ ;;
6979 */) ;;
6980 *) as_dir=$as_dir/ ;;
6981 esac
6982 for ac_prog in egrep
6984 for ac_exec_ext in '' $ac_executable_extensions; do
6985 ac_path_EGREP="$as_dir$ac_prog$ac_exec_ext"
6986 as_fn_executable_p "$ac_path_EGREP" || continue
6987 # Check for GNU ac_path_EGREP and select it if it is found.
6988 # Check for GNU $ac_path_EGREP
6989 case `"$ac_path_EGREP" --version 2>&1` in
6990 *GNU*)
6991 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6993 ac_count=0
6994 printf %s 0123456789 >"conftest.in"
6995 while :
6997 cat "conftest.in" "conftest.in" >"conftest.tmp"
6998 mv "conftest.tmp" "conftest.in"
6999 cp "conftest.in" "conftest.nl"
7000 printf "%s\n" 'EGREP' >> "conftest.nl"
7001 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
7002 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
7003 as_fn_arith $ac_count + 1 && ac_count=$as_val
7004 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
7005 # Best one so far, save it but keep looking for a better one
7006 ac_cv_path_EGREP="$ac_path_EGREP"
7007 ac_path_EGREP_max=$ac_count
7009 # 10*(2^10) chars as input seems more than enough
7010 test $ac_count -gt 10 && break
7011 done
7012 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
7013 esac
7015 $ac_path_EGREP_found && break 3
7016 done
7017 done
7018 done
7019 IFS=$as_save_IFS
7020 if test -z "$ac_cv_path_EGREP"; then
7021 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
7023 else
7024 ac_cv_path_EGREP=$EGREP
7029 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
7030 printf "%s\n" "$ac_cv_path_EGREP" >&6; }
7031 EGREP="$ac_cv_path_EGREP"
7034 # Extract the first word of "ldconfig", so it can be a program name with args.
7035 set dummy ldconfig; ac_word=$2
7036 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7037 printf %s "checking for $ac_word... " >&6; }
7038 if test ${ac_cv_path_LDCONFIG+y}
7039 then :
7040 printf %s "(cached) " >&6
7041 else $as_nop
7042 case $LDCONFIG in
7043 [\\/]* | ?:[\\/]*)
7044 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
7047 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7048 for as_dir in /sbin /usr/sbin $PATH
7050 IFS=$as_save_IFS
7051 case $as_dir in #(((
7052 '') as_dir=./ ;;
7053 */) ;;
7054 *) as_dir=$as_dir/ ;;
7055 esac
7056 for ac_exec_ext in '' $ac_executable_extensions; do
7057 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7058 ac_cv_path_LDCONFIG="$as_dir$ac_word$ac_exec_ext"
7059 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7060 break 2
7062 done
7063 done
7064 IFS=$as_save_IFS
7066 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
7068 esac
7070 LDCONFIG=$ac_cv_path_LDCONFIG
7071 if test -n "$LDCONFIG"; then
7072 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
7073 printf "%s\n" "$LDCONFIG" >&6; }
7074 else
7075 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7076 printf "%s\n" "no" >&6; }
7080 for ac_prog in msgfmt
7082 # Extract the first word of "$ac_prog", so it can be a program name with args.
7083 set dummy $ac_prog; ac_word=$2
7084 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7085 printf %s "checking for $ac_word... " >&6; }
7086 if test ${ac_cv_prog_MSGFMT+y}
7087 then :
7088 printf %s "(cached) " >&6
7089 else $as_nop
7090 if test -n "$MSGFMT"; then
7091 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
7092 else
7093 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7094 for as_dir in $PATH
7096 IFS=$as_save_IFS
7097 case $as_dir in #(((
7098 '') as_dir=./ ;;
7099 */) ;;
7100 *) as_dir=$as_dir/ ;;
7101 esac
7102 for ac_exec_ext in '' $ac_executable_extensions; do
7103 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7104 ac_cv_prog_MSGFMT="$ac_prog"
7105 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7106 break 2
7108 done
7109 done
7110 IFS=$as_save_IFS
7114 MSGFMT=$ac_cv_prog_MSGFMT
7115 if test -n "$MSGFMT"; then
7116 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
7117 printf "%s\n" "$MSGFMT" >&6; }
7118 else
7119 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7120 printf "%s\n" "no" >&6; }
7124 test -n "$MSGFMT" && break
7125 done
7126 test -n "$MSGFMT" || MSGFMT="false"
7128 if test ${ac_tool_prefix+y}
7129 then :
7130 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
7131 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
7132 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7133 printf %s "checking for $ac_word... " >&6; }
7134 if test ${ac_cv_prog_PKG_CONFIG+y}
7135 then :
7136 printf %s "(cached) " >&6
7137 else $as_nop
7138 if test -n "$PKG_CONFIG"; then
7139 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
7140 else
7141 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7142 for as_dir in $PATH
7144 IFS=$as_save_IFS
7145 case $as_dir in #(((
7146 '') as_dir=./ ;;
7147 */) ;;
7148 *) as_dir=$as_dir/ ;;
7149 esac
7150 for ac_exec_ext in '' $ac_executable_extensions; do
7151 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7152 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
7153 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7154 break 2
7156 done
7157 done
7158 IFS=$as_save_IFS
7162 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7163 if test -n "$PKG_CONFIG"; then
7164 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7165 printf "%s\n" "$PKG_CONFIG" >&6; }
7166 else
7167 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7168 printf "%s\n" "no" >&6; }
7173 if ${ac_cv_prog_PKG_CONFIG:+false} :
7174 then :
7175 if test "x$cross_compiling" = xyes
7176 then :
7178 else $as_nop
7179 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
7180 # Extract the first word of "pkg-config", so it can be a program name with args.
7181 set dummy pkg-config; ac_word=$2
7182 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7183 printf %s "checking for $ac_word... " >&6; }
7184 if test ${ac_cv_prog_PKG_CONFIG+y}
7185 then :
7186 printf %s "(cached) " >&6
7187 else $as_nop
7188 if test -n "$PKG_CONFIG"; then
7189 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
7190 else
7191 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7192 for as_dir in $PATH
7194 IFS=$as_save_IFS
7195 case $as_dir in #(((
7196 '') as_dir=./ ;;
7197 */) ;;
7198 *) as_dir=$as_dir/ ;;
7199 esac
7200 for ac_exec_ext in '' $ac_executable_extensions; do
7201 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7202 ac_cv_prog_PKG_CONFIG="pkg-config"
7203 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7204 break 2
7206 done
7207 done
7208 IFS=$as_save_IFS
7212 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7213 if test -n "$PKG_CONFIG"; then
7214 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
7215 printf "%s\n" "$PKG_CONFIG" >&6; }
7216 else
7217 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7218 printf "%s\n" "no" >&6; }
7223 else $as_nop
7224 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
7227 if test "x$enable_maintainer_mode" != "xyes"
7228 then
7229 FONTFORGE=""
7230 RSVG=""
7231 CONVERT=""
7232 ICOTOOL=""
7233 else
7234 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
7235 for ac_prog in fontforge
7237 # Extract the first word of "$ac_prog", so it can be a program name with args.
7238 set dummy $ac_prog; ac_word=$2
7239 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7240 printf %s "checking for $ac_word... " >&6; }
7241 if test ${ac_cv_prog_FONTFORGE+y}
7242 then :
7243 printf %s "(cached) " >&6
7244 else $as_nop
7245 if test -n "$FONTFORGE"; then
7246 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
7247 else
7248 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7249 for as_dir in $PATH
7251 IFS=$as_save_IFS
7252 case $as_dir in #(((
7253 '') as_dir=./ ;;
7254 */) ;;
7255 *) as_dir=$as_dir/ ;;
7256 esac
7257 for ac_exec_ext in '' $ac_executable_extensions; do
7258 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7259 ac_cv_prog_FONTFORGE="$ac_prog"
7260 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7261 break 2
7263 done
7264 done
7265 IFS=$as_save_IFS
7269 FONTFORGE=$ac_cv_prog_FONTFORGE
7270 if test -n "$FONTFORGE"; then
7271 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
7272 printf "%s\n" "$FONTFORGE" >&6; }
7273 else
7274 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7275 printf "%s\n" "no" >&6; }
7279 test -n "$FONTFORGE" && break
7280 done
7281 test -n "$FONTFORGE" || FONTFORGE="false"
7283 for ac_prog in rsvg-convert rsvg
7285 # Extract the first word of "$ac_prog", so it can be a program name with args.
7286 set dummy $ac_prog; ac_word=$2
7287 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7288 printf %s "checking for $ac_word... " >&6; }
7289 if test ${ac_cv_prog_RSVG+y}
7290 then :
7291 printf %s "(cached) " >&6
7292 else $as_nop
7293 if test -n "$RSVG"; then
7294 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
7295 else
7296 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7297 for as_dir in $PATH
7299 IFS=$as_save_IFS
7300 case $as_dir in #(((
7301 '') as_dir=./ ;;
7302 */) ;;
7303 *) as_dir=$as_dir/ ;;
7304 esac
7305 for ac_exec_ext in '' $ac_executable_extensions; do
7306 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7307 ac_cv_prog_RSVG="$ac_prog"
7308 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7309 break 2
7311 done
7312 done
7313 IFS=$as_save_IFS
7317 RSVG=$ac_cv_prog_RSVG
7318 if test -n "$RSVG"; then
7319 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
7320 printf "%s\n" "$RSVG" >&6; }
7321 else
7322 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7323 printf "%s\n" "no" >&6; }
7327 test -n "$RSVG" && break
7328 done
7329 test -n "$RSVG" || RSVG="false"
7331 for ac_prog in convert
7333 # Extract the first word of "$ac_prog", so it can be a program name with args.
7334 set dummy $ac_prog; ac_word=$2
7335 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7336 printf %s "checking for $ac_word... " >&6; }
7337 if test ${ac_cv_prog_CONVERT+y}
7338 then :
7339 printf %s "(cached) " >&6
7340 else $as_nop
7341 if test -n "$CONVERT"; then
7342 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
7343 else
7344 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7345 for as_dir in $PATH
7347 IFS=$as_save_IFS
7348 case $as_dir in #(((
7349 '') as_dir=./ ;;
7350 */) ;;
7351 *) as_dir=$as_dir/ ;;
7352 esac
7353 for ac_exec_ext in '' $ac_executable_extensions; do
7354 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7355 ac_cv_prog_CONVERT="$ac_prog"
7356 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7357 break 2
7359 done
7360 done
7361 IFS=$as_save_IFS
7365 CONVERT=$ac_cv_prog_CONVERT
7366 if test -n "$CONVERT"; then
7367 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
7368 printf "%s\n" "$CONVERT" >&6; }
7369 else
7370 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7371 printf "%s\n" "no" >&6; }
7375 test -n "$CONVERT" && break
7376 done
7377 test -n "$CONVERT" || CONVERT="false"
7379 for ac_prog in icotool
7381 # Extract the first word of "$ac_prog", so it can be a program name with args.
7382 set dummy $ac_prog; ac_word=$2
7383 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7384 printf %s "checking for $ac_word... " >&6; }
7385 if test ${ac_cv_prog_ICOTOOL+y}
7386 then :
7387 printf %s "(cached) " >&6
7388 else $as_nop
7389 if test -n "$ICOTOOL"; then
7390 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
7391 else
7392 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7393 for as_dir in $PATH
7395 IFS=$as_save_IFS
7396 case $as_dir in #(((
7397 '') as_dir=./ ;;
7398 */) ;;
7399 *) as_dir=$as_dir/ ;;
7400 esac
7401 for ac_exec_ext in '' $ac_executable_extensions; do
7402 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
7403 ac_cv_prog_ICOTOOL="$ac_prog"
7404 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
7405 break 2
7407 done
7408 done
7409 IFS=$as_save_IFS
7413 ICOTOOL=$ac_cv_prog_ICOTOOL
7414 if test -n "$ICOTOOL"; then
7415 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
7416 printf "%s\n" "$ICOTOOL" >&6; }
7417 else
7418 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
7419 printf "%s\n" "no" >&6; }
7423 test -n "$ICOTOOL" && break
7424 done
7425 test -n "$ICOTOOL" || ICOTOOL="false"
7427 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
7428 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
7430 if test "$CONVERT" = false
7431 then
7432 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
7433 else
7434 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
7435 printf %s "checking for recent enough imagemagick... " >&6; }
7436 convert_version=`convert --version | head -n1`
7437 if test "x$convert_version" != "x"
7438 then
7439 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
7440 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
7441 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
7442 then
7443 CONVERT=false
7446 if test "$CONVERT" = false
7447 then
7448 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
7449 printf "%s\n" "no ($convert_version_major.$convert_version_minor)" >&6; }
7450 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7451 else
7452 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
7453 printf "%s\n" "yes ($convert_version_major.$convert_version_minor)" >&6; }
7457 if test "$ICOTOOL" = false
7458 then
7459 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
7460 else
7461 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
7462 printf %s "checking for recent enough icotool... " >&6; }
7463 icotool_version=`icotool --version | head -n1`
7464 if test "x$icotool_version" != "x"
7465 then
7466 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
7467 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
7468 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
7469 then
7470 ICOTOOL=false
7471 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
7474 if test "$ICOTOOL" = false
7475 then
7476 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
7477 printf "%s\n" "no ($icotool_version_major.$icotool_version_minor)" >&6; }
7478 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
7479 else
7480 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
7481 printf "%s\n" "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
7485 with_gettext=yes
7486 with_gettextpo=yes
7488 enable_werror=yes
7491 test "x$with_gettext" != xno || MSGFMT=false
7492 if test "$MSGFMT" != "false"
7493 then
7494 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
7495 printf %s "checking whether msgfmt supports contexts... " >&6; }
7496 if test ${wine_cv_msgfmt_contexts+y}
7497 then :
7498 printf %s "(cached) " >&6
7499 else $as_nop
7500 cat >conftest.po <<EOF
7501 # comment
7502 msgctxt "ctxt"
7503 msgid "id"
7504 msgstr "str"
7506 if $MSGFMT -o /dev/null conftest.po 2>&5
7507 then
7508 wine_cv_msgfmt_contexts=yes
7509 else
7510 wine_cv_msgfmt_contexts=no
7513 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
7514 printf "%s\n" "$wine_cv_msgfmt_contexts" >&6; }
7515 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
7517 if test "$MSGFMT" = false
7518 then :
7519 case "x$with_gettext" in
7520 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
7521 xno) ;;
7522 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
7523 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
7524 esac
7525 enable_po=${enable_po:-no}
7529 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
7530 printf %s "checking for i386_set_ldt in -li386... " >&6; }
7531 if test ${ac_cv_lib_i386_i386_set_ldt+y}
7532 then :
7533 printf %s "(cached) " >&6
7534 else $as_nop
7535 ac_check_lib_save_LIBS=$LIBS
7536 LIBS="-li386 $LIBS"
7537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7538 /* end confdefs.h. */
7540 /* Override any GCC internal prototype to avoid an error.
7541 Use char because int might match the return type of a GCC
7542 builtin and then its argument prototype would still apply. */
7543 char i386_set_ldt ();
7545 main (void)
7547 return i386_set_ldt ();
7549 return 0;
7551 _ACEOF
7552 if ac_fn_c_try_link "$LINENO"
7553 then :
7554 ac_cv_lib_i386_i386_set_ldt=yes
7555 else $as_nop
7556 ac_cv_lib_i386_i386_set_ldt=no
7558 rm -f core conftest.err conftest.$ac_objext conftest.beam \
7559 conftest$ac_exeext conftest.$ac_ext
7560 LIBS=$ac_check_lib_save_LIBS
7562 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
7563 printf "%s\n" "$ac_cv_lib_i386_i386_set_ldt" >&6; }
7564 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes
7565 then :
7566 I386_LIBS="-li386"
7571 OPENGL_LIBS=""
7575 # Check whether --enable-largefile was given.
7576 if test ${enable_largefile+y}
7577 then :
7578 enableval=$enable_largefile;
7581 if test "$enable_largefile" != no; then
7583 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
7584 printf %s "checking for special C compiler options needed for large files... " >&6; }
7585 if test ${ac_cv_sys_largefile_CC+y}
7586 then :
7587 printf %s "(cached) " >&6
7588 else $as_nop
7589 ac_cv_sys_largefile_CC=no
7590 if test "$GCC" != yes; then
7591 ac_save_CC=$CC
7592 while :; do
7593 # IRIX 6.2 and later do not support large files by default,
7594 # so use the C compiler's -n32 option if that helps.
7595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7596 /* end confdefs.h. */
7597 #include <sys/types.h>
7598 /* Check that off_t can represent 2**63 - 1 correctly.
7599 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7600 since some C++ compilers masquerading as C compilers
7601 incorrectly reject 9223372036854775807. */
7602 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7603 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7604 && LARGE_OFF_T % 2147483647 == 1)
7605 ? 1 : -1];
7607 main (void)
7611 return 0;
7613 _ACEOF
7614 if ac_fn_c_try_compile "$LINENO"
7615 then :
7616 break
7618 rm -f core conftest.err conftest.$ac_objext conftest.beam
7619 CC="$CC -n32"
7620 if ac_fn_c_try_compile "$LINENO"
7621 then :
7622 ac_cv_sys_largefile_CC=' -n32'; break
7624 rm -f core conftest.err conftest.$ac_objext conftest.beam
7625 break
7626 done
7627 CC=$ac_save_CC
7628 rm -f conftest.$ac_ext
7631 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
7632 printf "%s\n" "$ac_cv_sys_largefile_CC" >&6; }
7633 if test "$ac_cv_sys_largefile_CC" != no; then
7634 CC=$CC$ac_cv_sys_largefile_CC
7637 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
7638 printf %s "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
7639 if test ${ac_cv_sys_file_offset_bits+y}
7640 then :
7641 printf %s "(cached) " >&6
7642 else $as_nop
7643 while :; do
7644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7645 /* end confdefs.h. */
7646 #include <sys/types.h>
7647 /* Check that off_t can represent 2**63 - 1 correctly.
7648 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7649 since some C++ compilers masquerading as C compilers
7650 incorrectly reject 9223372036854775807. */
7651 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7652 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7653 && LARGE_OFF_T % 2147483647 == 1)
7654 ? 1 : -1];
7656 main (void)
7660 return 0;
7662 _ACEOF
7663 if ac_fn_c_try_compile "$LINENO"
7664 then :
7665 ac_cv_sys_file_offset_bits=no; break
7667 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7669 /* end confdefs.h. */
7670 #define _FILE_OFFSET_BITS 64
7671 #include <sys/types.h>
7672 /* Check that off_t can represent 2**63 - 1 correctly.
7673 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7674 since some C++ compilers masquerading as C compilers
7675 incorrectly reject 9223372036854775807. */
7676 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7677 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7678 && LARGE_OFF_T % 2147483647 == 1)
7679 ? 1 : -1];
7681 main (void)
7685 return 0;
7687 _ACEOF
7688 if ac_fn_c_try_compile "$LINENO"
7689 then :
7690 ac_cv_sys_file_offset_bits=64; break
7692 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7693 ac_cv_sys_file_offset_bits=unknown
7694 break
7695 done
7697 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
7698 printf "%s\n" "$ac_cv_sys_file_offset_bits" >&6; }
7699 case $ac_cv_sys_file_offset_bits in #(
7700 no | unknown) ;;
7702 printf "%s\n" "#define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits" >>confdefs.h
7704 esac
7705 rm -rf conftest*
7706 if test $ac_cv_sys_file_offset_bits = unknown; then
7707 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7708 printf %s "checking for _LARGE_FILES value needed for large files... " >&6; }
7709 if test ${ac_cv_sys_large_files+y}
7710 then :
7711 printf %s "(cached) " >&6
7712 else $as_nop
7713 while :; do
7714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7715 /* end confdefs.h. */
7716 #include <sys/types.h>
7717 /* Check that off_t can represent 2**63 - 1 correctly.
7718 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7719 since some C++ compilers masquerading as C compilers
7720 incorrectly reject 9223372036854775807. */
7721 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7722 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7723 && LARGE_OFF_T % 2147483647 == 1)
7724 ? 1 : -1];
7726 main (void)
7730 return 0;
7732 _ACEOF
7733 if ac_fn_c_try_compile "$LINENO"
7734 then :
7735 ac_cv_sys_large_files=no; break
7737 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7739 /* end confdefs.h. */
7740 #define _LARGE_FILES 1
7741 #include <sys/types.h>
7742 /* Check that off_t can represent 2**63 - 1 correctly.
7743 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7744 since some C++ compilers masquerading as C compilers
7745 incorrectly reject 9223372036854775807. */
7746 #define LARGE_OFF_T (((off_t) 1 << 31 << 31) - 1 + ((off_t) 1 << 31 << 31))
7747 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7748 && LARGE_OFF_T % 2147483647 == 1)
7749 ? 1 : -1];
7751 main (void)
7755 return 0;
7757 _ACEOF
7758 if ac_fn_c_try_compile "$LINENO"
7759 then :
7760 ac_cv_sys_large_files=1; break
7762 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
7763 ac_cv_sys_large_files=unknown
7764 break
7765 done
7767 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7768 printf "%s\n" "$ac_cv_sys_large_files" >&6; }
7769 case $ac_cv_sys_large_files in #(
7770 no | unknown) ;;
7772 printf "%s\n" "#define _LARGE_FILES $ac_cv_sys_large_files" >>confdefs.h
7774 esac
7775 rm -rf conftest*
7780 ac_header= ac_cache=
7781 for ac_item in $ac_header_c_list
7783 if test $ac_cache; then
7784 ac_fn_c_check_header_compile "$LINENO" $ac_header ac_cv_header_$ac_cache "$ac_includes_default"
7785 if eval test \"x\$ac_cv_header_$ac_cache\" = xyes; then
7786 printf "%s\n" "#define $ac_item 1" >> confdefs.h
7788 ac_header= ac_cache=
7789 elif test $ac_header; then
7790 ac_cache=$ac_item
7791 else
7792 ac_header=$ac_item
7794 done
7803 if test $ac_cv_header_stdlib_h = yes && test $ac_cv_header_string_h = yes
7804 then :
7806 printf "%s\n" "#define STDC_HEADERS 1" >>confdefs.h
7809 ac_fn_c_check_header_compile "$LINENO" "CL/cl.h" "ac_cv_header_CL_cl_h" "$ac_includes_default"
7810 if test "x$ac_cv_header_CL_cl_h" = xyes
7811 then :
7812 printf "%s\n" "#define HAVE_CL_CL_H 1" >>confdefs.h
7815 ac_fn_c_check_header_compile "$LINENO" "EGL/egl.h" "ac_cv_header_EGL_egl_h" "$ac_includes_default"
7816 if test "x$ac_cv_header_EGL_egl_h" = xyes
7817 then :
7818 printf "%s\n" "#define HAVE_EGL_EGL_H 1" >>confdefs.h
7821 ac_fn_c_check_header_compile "$LINENO" "OpenCL/opencl.h" "ac_cv_header_OpenCL_opencl_h" "$ac_includes_default"
7822 if test "x$ac_cv_header_OpenCL_opencl_h" = xyes
7823 then :
7824 printf "%s\n" "#define HAVE_OPENCL_OPENCL_H 1" >>confdefs.h
7827 ac_fn_c_check_header_compile "$LINENO" "arpa/inet.h" "ac_cv_header_arpa_inet_h" "$ac_includes_default"
7828 if test "x$ac_cv_header_arpa_inet_h" = xyes
7829 then :
7830 printf "%s\n" "#define HAVE_ARPA_INET_H 1" >>confdefs.h
7833 ac_fn_c_check_header_compile "$LINENO" "arpa/nameser.h" "ac_cv_header_arpa_nameser_h" "$ac_includes_default"
7834 if test "x$ac_cv_header_arpa_nameser_h" = xyes
7835 then :
7836 printf "%s\n" "#define HAVE_ARPA_NAMESER_H 1" >>confdefs.h
7839 ac_fn_c_check_header_compile "$LINENO" "asm/types.h" "ac_cv_header_asm_types_h" "$ac_includes_default"
7840 if test "x$ac_cv_header_asm_types_h" = xyes
7841 then :
7842 printf "%s\n" "#define HAVE_ASM_TYPES_H 1" >>confdefs.h
7845 ac_fn_c_check_header_compile "$LINENO" "asm/user.h" "ac_cv_header_asm_user_h" "$ac_includes_default"
7846 if test "x$ac_cv_header_asm_user_h" = xyes
7847 then :
7848 printf "%s\n" "#define HAVE_ASM_USER_H 1" >>confdefs.h
7851 ac_fn_c_check_header_compile "$LINENO" "elf.h" "ac_cv_header_elf_h" "$ac_includes_default"
7852 if test "x$ac_cv_header_elf_h" = xyes
7853 then :
7854 printf "%s\n" "#define HAVE_ELF_H 1" >>confdefs.h
7857 ac_fn_c_check_header_compile "$LINENO" "float.h" "ac_cv_header_float_h" "$ac_includes_default"
7858 if test "x$ac_cv_header_float_h" = xyes
7859 then :
7860 printf "%s\n" "#define HAVE_FLOAT_H 1" >>confdefs.h
7863 ac_fn_c_check_header_compile "$LINENO" "gettext-po.h" "ac_cv_header_gettext_po_h" "$ac_includes_default"
7864 if test "x$ac_cv_header_gettext_po_h" = xyes
7865 then :
7866 printf "%s\n" "#define HAVE_GETTEXT_PO_H 1" >>confdefs.h
7869 ac_fn_c_check_header_compile "$LINENO" "libproc.h" "ac_cv_header_libproc_h" "$ac_includes_default"
7870 if test "x$ac_cv_header_libproc_h" = xyes
7871 then :
7872 printf "%s\n" "#define HAVE_LIBPROC_H 1" >>confdefs.h
7875 ac_fn_c_check_header_compile "$LINENO" "link.h" "ac_cv_header_link_h" "$ac_includes_default"
7876 if test "x$ac_cv_header_link_h" = xyes
7877 then :
7878 printf "%s\n" "#define HAVE_LINK_H 1" >>confdefs.h
7881 ac_fn_c_check_header_compile "$LINENO" "linux/cdrom.h" "ac_cv_header_linux_cdrom_h" "$ac_includes_default"
7882 if test "x$ac_cv_header_linux_cdrom_h" = xyes
7883 then :
7884 printf "%s\n" "#define HAVE_LINUX_CDROM_H 1" >>confdefs.h
7887 ac_fn_c_check_header_compile "$LINENO" "linux/filter.h" "ac_cv_header_linux_filter_h" "$ac_includes_default"
7888 if test "x$ac_cv_header_linux_filter_h" = xyes
7889 then :
7890 printf "%s\n" "#define HAVE_LINUX_FILTER_H 1" >>confdefs.h
7893 ac_fn_c_check_header_compile "$LINENO" "linux/hdreg.h" "ac_cv_header_linux_hdreg_h" "$ac_includes_default"
7894 if test "x$ac_cv_header_linux_hdreg_h" = xyes
7895 then :
7896 printf "%s\n" "#define HAVE_LINUX_HDREG_H 1" >>confdefs.h
7899 ac_fn_c_check_header_compile "$LINENO" "linux/hidraw.h" "ac_cv_header_linux_hidraw_h" "$ac_includes_default"
7900 if test "x$ac_cv_header_linux_hidraw_h" = xyes
7901 then :
7902 printf "%s\n" "#define HAVE_LINUX_HIDRAW_H 1" >>confdefs.h
7905 ac_fn_c_check_header_compile "$LINENO" "linux/input.h" "ac_cv_header_linux_input_h" "$ac_includes_default"
7906 if test "x$ac_cv_header_linux_input_h" = xyes
7907 then :
7908 printf "%s\n" "#define HAVE_LINUX_INPUT_H 1" >>confdefs.h
7911 ac_fn_c_check_header_compile "$LINENO" "linux/ioctl.h" "ac_cv_header_linux_ioctl_h" "$ac_includes_default"
7912 if test "x$ac_cv_header_linux_ioctl_h" = xyes
7913 then :
7914 printf "%s\n" "#define HAVE_LINUX_IOCTL_H 1" >>confdefs.h
7917 ac_fn_c_check_header_compile "$LINENO" "linux/major.h" "ac_cv_header_linux_major_h" "$ac_includes_default"
7918 if test "x$ac_cv_header_linux_major_h" = xyes
7919 then :
7920 printf "%s\n" "#define HAVE_LINUX_MAJOR_H 1" >>confdefs.h
7923 ac_fn_c_check_header_compile "$LINENO" "linux/param.h" "ac_cv_header_linux_param_h" "$ac_includes_default"
7924 if test "x$ac_cv_header_linux_param_h" = xyes
7925 then :
7926 printf "%s\n" "#define HAVE_LINUX_PARAM_H 1" >>confdefs.h
7929 ac_fn_c_check_header_compile "$LINENO" "linux/serial.h" "ac_cv_header_linux_serial_h" "$ac_includes_default"
7930 if test "x$ac_cv_header_linux_serial_h" = xyes
7931 then :
7932 printf "%s\n" "#define HAVE_LINUX_SERIAL_H 1" >>confdefs.h
7935 ac_fn_c_check_header_compile "$LINENO" "linux/types.h" "ac_cv_header_linux_types_h" "$ac_includes_default"
7936 if test "x$ac_cv_header_linux_types_h" = xyes
7937 then :
7938 printf "%s\n" "#define HAVE_LINUX_TYPES_H 1" >>confdefs.h
7941 ac_fn_c_check_header_compile "$LINENO" "linux/ucdrom.h" "ac_cv_header_linux_ucdrom_h" "$ac_includes_default"
7942 if test "x$ac_cv_header_linux_ucdrom_h" = xyes
7943 then :
7944 printf "%s\n" "#define HAVE_LINUX_UCDROM_H 1" >>confdefs.h
7947 ac_fn_c_check_header_compile "$LINENO" "lwp.h" "ac_cv_header_lwp_h" "$ac_includes_default"
7948 if test "x$ac_cv_header_lwp_h" = xyes
7949 then :
7950 printf "%s\n" "#define HAVE_LWP_H 1" >>confdefs.h
7953 ac_fn_c_check_header_compile "$LINENO" "mach-o/loader.h" "ac_cv_header_mach_o_loader_h" "$ac_includes_default"
7954 if test "x$ac_cv_header_mach_o_loader_h" = xyes
7955 then :
7956 printf "%s\n" "#define HAVE_MACH_O_LOADER_H 1" >>confdefs.h
7959 ac_fn_c_check_header_compile "$LINENO" "mach/mach.h" "ac_cv_header_mach_mach_h" "$ac_includes_default"
7960 if test "x$ac_cv_header_mach_mach_h" = xyes
7961 then :
7962 printf "%s\n" "#define HAVE_MACH_MACH_H 1" >>confdefs.h
7965 ac_fn_c_check_header_compile "$LINENO" "machine/cpu.h" "ac_cv_header_machine_cpu_h" "$ac_includes_default"
7966 if test "x$ac_cv_header_machine_cpu_h" = xyes
7967 then :
7968 printf "%s\n" "#define HAVE_MACHINE_CPU_H 1" >>confdefs.h
7971 ac_fn_c_check_header_compile "$LINENO" "machine/sysarch.h" "ac_cv_header_machine_sysarch_h" "$ac_includes_default"
7972 if test "x$ac_cv_header_machine_sysarch_h" = xyes
7973 then :
7974 printf "%s\n" "#define HAVE_MACHINE_SYSARCH_H 1" >>confdefs.h
7977 ac_fn_c_check_header_compile "$LINENO" "mntent.h" "ac_cv_header_mntent_h" "$ac_includes_default"
7978 if test "x$ac_cv_header_mntent_h" = xyes
7979 then :
7980 printf "%s\n" "#define HAVE_MNTENT_H 1" >>confdefs.h
7983 ac_fn_c_check_header_compile "$LINENO" "netdb.h" "ac_cv_header_netdb_h" "$ac_includes_default"
7984 if test "x$ac_cv_header_netdb_h" = xyes
7985 then :
7986 printf "%s\n" "#define HAVE_NETDB_H 1" >>confdefs.h
7989 ac_fn_c_check_header_compile "$LINENO" "netinet/in.h" "ac_cv_header_netinet_in_h" "$ac_includes_default"
7990 if test "x$ac_cv_header_netinet_in_h" = xyes
7991 then :
7992 printf "%s\n" "#define HAVE_NETINET_IN_H 1" >>confdefs.h
7995 ac_fn_c_check_header_compile "$LINENO" "netinet/in_systm.h" "ac_cv_header_netinet_in_systm_h" "$ac_includes_default"
7996 if test "x$ac_cv_header_netinet_in_systm_h" = xyes
7997 then :
7998 printf "%s\n" "#define HAVE_NETINET_IN_SYSTM_H 1" >>confdefs.h
8001 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp.h" "ac_cv_header_netinet_tcp_h" "$ac_includes_default"
8002 if test "x$ac_cv_header_netinet_tcp_h" = xyes
8003 then :
8004 printf "%s\n" "#define HAVE_NETINET_TCP_H 1" >>confdefs.h
8007 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_fsm.h" "ac_cv_header_netinet_tcp_fsm_h" "$ac_includes_default"
8008 if test "x$ac_cv_header_netinet_tcp_fsm_h" = xyes
8009 then :
8010 printf "%s\n" "#define HAVE_NETINET_TCP_FSM_H 1" >>confdefs.h
8013 ac_fn_c_check_header_compile "$LINENO" "pcap/pcap.h" "ac_cv_header_pcap_pcap_h" "$ac_includes_default"
8014 if test "x$ac_cv_header_pcap_pcap_h" = xyes
8015 then :
8016 printf "%s\n" "#define HAVE_PCAP_PCAP_H 1" >>confdefs.h
8019 ac_fn_c_check_header_compile "$LINENO" "port.h" "ac_cv_header_port_h" "$ac_includes_default"
8020 if test "x$ac_cv_header_port_h" = xyes
8021 then :
8022 printf "%s\n" "#define HAVE_PORT_H 1" >>confdefs.h
8025 ac_fn_c_check_header_compile "$LINENO" "pthread.h" "ac_cv_header_pthread_h" "$ac_includes_default"
8026 if test "x$ac_cv_header_pthread_h" = xyes
8027 then :
8028 printf "%s\n" "#define HAVE_PTHREAD_H 1" >>confdefs.h
8031 ac_fn_c_check_header_compile "$LINENO" "pwd.h" "ac_cv_header_pwd_h" "$ac_includes_default"
8032 if test "x$ac_cv_header_pwd_h" = xyes
8033 then :
8034 printf "%s\n" "#define HAVE_PWD_H 1" >>confdefs.h
8037 ac_fn_c_check_header_compile "$LINENO" "sched.h" "ac_cv_header_sched_h" "$ac_includes_default"
8038 if test "x$ac_cv_header_sched_h" = xyes
8039 then :
8040 printf "%s\n" "#define HAVE_SCHED_H 1" >>confdefs.h
8043 ac_fn_c_check_header_compile "$LINENO" "scsi/scsi.h" "ac_cv_header_scsi_scsi_h" "$ac_includes_default"
8044 if test "x$ac_cv_header_scsi_scsi_h" = xyes
8045 then :
8046 printf "%s\n" "#define HAVE_SCSI_SCSI_H 1" >>confdefs.h
8049 ac_fn_c_check_header_compile "$LINENO" "scsi/scsi_ioctl.h" "ac_cv_header_scsi_scsi_ioctl_h" "$ac_includes_default"
8050 if test "x$ac_cv_header_scsi_scsi_ioctl_h" = xyes
8051 then :
8052 printf "%s\n" "#define HAVE_SCSI_SCSI_IOCTL_H 1" >>confdefs.h
8055 ac_fn_c_check_header_compile "$LINENO" "scsi/sg.h" "ac_cv_header_scsi_sg_h" "$ac_includes_default"
8056 if test "x$ac_cv_header_scsi_sg_h" = xyes
8057 then :
8058 printf "%s\n" "#define HAVE_SCSI_SG_H 1" >>confdefs.h
8061 ac_fn_c_check_header_compile "$LINENO" "stdint.h" "ac_cv_header_stdint_h" "$ac_includes_default"
8062 if test "x$ac_cv_header_stdint_h" = xyes
8063 then :
8064 printf "%s\n" "#define HAVE_STDINT_H 1" >>confdefs.h
8067 ac_fn_c_check_header_compile "$LINENO" "sys/attr.h" "ac_cv_header_sys_attr_h" "$ac_includes_default"
8068 if test "x$ac_cv_header_sys_attr_h" = xyes
8069 then :
8070 printf "%s\n" "#define HAVE_SYS_ATTR_H 1" >>confdefs.h
8073 ac_fn_c_check_header_compile "$LINENO" "sys/auxv.h" "ac_cv_header_sys_auxv_h" "$ac_includes_default"
8074 if test "x$ac_cv_header_sys_auxv_h" = xyes
8075 then :
8076 printf "%s\n" "#define HAVE_SYS_AUXV_H 1" >>confdefs.h
8079 ac_fn_c_check_header_compile "$LINENO" "sys/cdio.h" "ac_cv_header_sys_cdio_h" "$ac_includes_default"
8080 if test "x$ac_cv_header_sys_cdio_h" = xyes
8081 then :
8082 printf "%s\n" "#define HAVE_SYS_CDIO_H 1" >>confdefs.h
8085 ac_fn_c_check_header_compile "$LINENO" "sys/epoll.h" "ac_cv_header_sys_epoll_h" "$ac_includes_default"
8086 if test "x$ac_cv_header_sys_epoll_h" = xyes
8087 then :
8088 printf "%s\n" "#define HAVE_SYS_EPOLL_H 1" >>confdefs.h
8091 ac_fn_c_check_header_compile "$LINENO" "sys/event.h" "ac_cv_header_sys_event_h" "$ac_includes_default"
8092 if test "x$ac_cv_header_sys_event_h" = xyes
8093 then :
8094 printf "%s\n" "#define HAVE_SYS_EVENT_H 1" >>confdefs.h
8097 ac_fn_c_check_header_compile "$LINENO" "sys/extattr.h" "ac_cv_header_sys_extattr_h" "$ac_includes_default"
8098 if test "x$ac_cv_header_sys_extattr_h" = xyes
8099 then :
8100 printf "%s\n" "#define HAVE_SYS_EXTATTR_H 1" >>confdefs.h
8103 ac_fn_c_check_header_compile "$LINENO" "sys/filio.h" "ac_cv_header_sys_filio_h" "$ac_includes_default"
8104 if test "x$ac_cv_header_sys_filio_h" = xyes
8105 then :
8106 printf "%s\n" "#define HAVE_SYS_FILIO_H 1" >>confdefs.h
8109 ac_fn_c_check_header_compile "$LINENO" "sys/ipc.h" "ac_cv_header_sys_ipc_h" "$ac_includes_default"
8110 if test "x$ac_cv_header_sys_ipc_h" = xyes
8111 then :
8112 printf "%s\n" "#define HAVE_SYS_IPC_H 1" >>confdefs.h
8115 ac_fn_c_check_header_compile "$LINENO" "sys/link.h" "ac_cv_header_sys_link_h" "$ac_includes_default"
8116 if test "x$ac_cv_header_sys_link_h" = xyes
8117 then :
8118 printf "%s\n" "#define HAVE_SYS_LINK_H 1" >>confdefs.h
8121 ac_fn_c_check_header_compile "$LINENO" "sys/modem.h" "ac_cv_header_sys_modem_h" "$ac_includes_default"
8122 if test "x$ac_cv_header_sys_modem_h" = xyes
8123 then :
8124 printf "%s\n" "#define HAVE_SYS_MODEM_H 1" >>confdefs.h
8127 ac_fn_c_check_header_compile "$LINENO" "sys/mtio.h" "ac_cv_header_sys_mtio_h" "$ac_includes_default"
8128 if test "x$ac_cv_header_sys_mtio_h" = xyes
8129 then :
8130 printf "%s\n" "#define HAVE_SYS_MTIO_H 1" >>confdefs.h
8133 ac_fn_c_check_header_compile "$LINENO" "sys/param.h" "ac_cv_header_sys_param_h" "$ac_includes_default"
8134 if test "x$ac_cv_header_sys_param_h" = xyes
8135 then :
8136 printf "%s\n" "#define HAVE_SYS_PARAM_H 1" >>confdefs.h
8139 ac_fn_c_check_header_compile "$LINENO" "sys/prctl.h" "ac_cv_header_sys_prctl_h" "$ac_includes_default"
8140 if test "x$ac_cv_header_sys_prctl_h" = xyes
8141 then :
8142 printf "%s\n" "#define HAVE_SYS_PRCTL_H 1" >>confdefs.h
8145 ac_fn_c_check_header_compile "$LINENO" "sys/ptrace.h" "ac_cv_header_sys_ptrace_h" "$ac_includes_default"
8146 if test "x$ac_cv_header_sys_ptrace_h" = xyes
8147 then :
8148 printf "%s\n" "#define HAVE_SYS_PTRACE_H 1" >>confdefs.h
8151 ac_fn_c_check_header_compile "$LINENO" "sys/queue.h" "ac_cv_header_sys_queue_h" "$ac_includes_default"
8152 if test "x$ac_cv_header_sys_queue_h" = xyes
8153 then :
8154 printf "%s\n" "#define HAVE_SYS_QUEUE_H 1" >>confdefs.h
8157 ac_fn_c_check_header_compile "$LINENO" "sys/random.h" "ac_cv_header_sys_random_h" "$ac_includes_default"
8158 if test "x$ac_cv_header_sys_random_h" = xyes
8159 then :
8160 printf "%s\n" "#define HAVE_SYS_RANDOM_H 1" >>confdefs.h
8163 ac_fn_c_check_header_compile "$LINENO" "sys/resource.h" "ac_cv_header_sys_resource_h" "$ac_includes_default"
8164 if test "x$ac_cv_header_sys_resource_h" = xyes
8165 then :
8166 printf "%s\n" "#define HAVE_SYS_RESOURCE_H 1" >>confdefs.h
8169 ac_fn_c_check_header_compile "$LINENO" "sys/scsiio.h" "ac_cv_header_sys_scsiio_h" "$ac_includes_default"
8170 if test "x$ac_cv_header_sys_scsiio_h" = xyes
8171 then :
8172 printf "%s\n" "#define HAVE_SYS_SCSIIO_H 1" >>confdefs.h
8175 ac_fn_c_check_header_compile "$LINENO" "sys/shm.h" "ac_cv_header_sys_shm_h" "$ac_includes_default"
8176 if test "x$ac_cv_header_sys_shm_h" = xyes
8177 then :
8178 printf "%s\n" "#define HAVE_SYS_SHM_H 1" >>confdefs.h
8181 ac_fn_c_check_header_compile "$LINENO" "sys/signal.h" "ac_cv_header_sys_signal_h" "$ac_includes_default"
8182 if test "x$ac_cv_header_sys_signal_h" = xyes
8183 then :
8184 printf "%s\n" "#define HAVE_SYS_SIGNAL_H 1" >>confdefs.h
8187 ac_fn_c_check_header_compile "$LINENO" "sys/socketvar.h" "ac_cv_header_sys_socketvar_h" "$ac_includes_default"
8188 if test "x$ac_cv_header_sys_socketvar_h" = xyes
8189 then :
8190 printf "%s\n" "#define HAVE_SYS_SOCKETVAR_H 1" >>confdefs.h
8193 ac_fn_c_check_header_compile "$LINENO" "sys/sockio.h" "ac_cv_header_sys_sockio_h" "$ac_includes_default"
8194 if test "x$ac_cv_header_sys_sockio_h" = xyes
8195 then :
8196 printf "%s\n" "#define HAVE_SYS_SOCKIO_H 1" >>confdefs.h
8199 ac_fn_c_check_header_compile "$LINENO" "sys/statvfs.h" "ac_cv_header_sys_statvfs_h" "$ac_includes_default"
8200 if test "x$ac_cv_header_sys_statvfs_h" = xyes
8201 then :
8202 printf "%s\n" "#define HAVE_SYS_STATVFS_H 1" >>confdefs.h
8205 ac_fn_c_check_header_compile "$LINENO" "sys/strtio.h" "ac_cv_header_sys_strtio_h" "$ac_includes_default"
8206 if test "x$ac_cv_header_sys_strtio_h" = xyes
8207 then :
8208 printf "%s\n" "#define HAVE_SYS_STRTIO_H 1" >>confdefs.h
8211 ac_fn_c_check_header_compile "$LINENO" "sys/syscall.h" "ac_cv_header_sys_syscall_h" "$ac_includes_default"
8212 if test "x$ac_cv_header_sys_syscall_h" = xyes
8213 then :
8214 printf "%s\n" "#define HAVE_SYS_SYSCALL_H 1" >>confdefs.h
8217 ac_fn_c_check_header_compile "$LINENO" "sys/sysinfo.h" "ac_cv_header_sys_sysinfo_h" "$ac_includes_default"
8218 if test "x$ac_cv_header_sys_sysinfo_h" = xyes
8219 then :
8220 printf "%s\n" "#define HAVE_SYS_SYSINFO_H 1" >>confdefs.h
8223 ac_fn_c_check_header_compile "$LINENO" "sys/times.h" "ac_cv_header_sys_times_h" "$ac_includes_default"
8224 if test "x$ac_cv_header_sys_times_h" = xyes
8225 then :
8226 printf "%s\n" "#define HAVE_SYS_TIMES_H 1" >>confdefs.h
8229 ac_fn_c_check_header_compile "$LINENO" "sys/uio.h" "ac_cv_header_sys_uio_h" "$ac_includes_default"
8230 if test "x$ac_cv_header_sys_uio_h" = xyes
8231 then :
8232 printf "%s\n" "#define HAVE_SYS_UIO_H 1" >>confdefs.h
8235 ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "$ac_includes_default"
8236 if test "x$ac_cv_header_sys_user_h" = xyes
8237 then :
8238 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8241 ac_fn_c_check_header_compile "$LINENO" "sys/utsname.h" "ac_cv_header_sys_utsname_h" "$ac_includes_default"
8242 if test "x$ac_cv_header_sys_utsname_h" = xyes
8243 then :
8244 printf "%s\n" "#define HAVE_SYS_UTSNAME_H 1" >>confdefs.h
8247 ac_fn_c_check_header_compile "$LINENO" "sys/vnode.h" "ac_cv_header_sys_vnode_h" "$ac_includes_default"
8248 if test "x$ac_cv_header_sys_vnode_h" = xyes
8249 then :
8250 printf "%s\n" "#define HAVE_SYS_VNODE_H 1" >>confdefs.h
8253 ac_fn_c_check_header_compile "$LINENO" "sys/xattr.h" "ac_cv_header_sys_xattr_h" "$ac_includes_default"
8254 if test "x$ac_cv_header_sys_xattr_h" = xyes
8255 then :
8256 printf "%s\n" "#define HAVE_SYS_XATTR_H 1" >>confdefs.h
8259 ac_fn_c_check_header_compile "$LINENO" "syscall.h" "ac_cv_header_syscall_h" "$ac_includes_default"
8260 if test "x$ac_cv_header_syscall_h" = xyes
8261 then :
8262 printf "%s\n" "#define HAVE_SYSCALL_H 1" >>confdefs.h
8265 ac_fn_c_check_header_compile "$LINENO" "utime.h" "ac_cv_header_utime_h" "$ac_includes_default"
8266 if test "x$ac_cv_header_utime_h" = xyes
8267 then :
8268 printf "%s\n" "#define HAVE_UTIME_H 1" >>confdefs.h
8271 ac_fn_c_check_header_compile "$LINENO" "valgrind/memcheck.h" "ac_cv_header_valgrind_memcheck_h" "$ac_includes_default"
8272 if test "x$ac_cv_header_valgrind_memcheck_h" = xyes
8273 then :
8274 printf "%s\n" "#define HAVE_VALGRIND_MEMCHECK_H 1" >>confdefs.h
8277 ac_fn_c_check_header_compile "$LINENO" "valgrind/valgrind.h" "ac_cv_header_valgrind_valgrind_h" "$ac_includes_default"
8278 if test "x$ac_cv_header_valgrind_valgrind_h" = xyes
8279 then :
8280 printf "%s\n" "#define HAVE_VALGRIND_VALGRIND_H 1" >>confdefs.h
8284 ac_fn_c_check_header_compile "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
8285 if test "x$ac_cv_header_sys_mkdev_h" = xyes
8286 then :
8288 printf "%s\n" "#define MAJOR_IN_MKDEV 1" >>confdefs.h
8292 if test $ac_cv_header_sys_mkdev_h = no; then
8293 ac_fn_c_check_header_compile "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
8294 if test "x$ac_cv_header_sys_sysmacros_h" = xyes
8295 then :
8297 printf "%s\n" "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
8302 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
8303 printf %s "checking whether stat file-mode macros are broken... " >&6; }
8304 if test ${ac_cv_header_stat_broken+y}
8305 then :
8306 printf %s "(cached) " >&6
8307 else $as_nop
8308 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8309 /* end confdefs.h. */
8310 #include <sys/types.h>
8311 #include <sys/stat.h>
8313 #if defined S_ISBLK && defined S_IFDIR
8314 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
8315 #endif
8317 #if defined S_ISBLK && defined S_IFCHR
8318 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
8319 #endif
8321 #if defined S_ISLNK && defined S_IFREG
8322 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
8323 #endif
8325 #if defined S_ISSOCK && defined S_IFREG
8326 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
8327 #endif
8329 _ACEOF
8330 if ac_fn_c_try_compile "$LINENO"
8331 then :
8332 ac_cv_header_stat_broken=no
8333 else $as_nop
8334 ac_cv_header_stat_broken=yes
8336 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
8338 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
8339 printf "%s\n" "$ac_cv_header_stat_broken" >&6; }
8340 if test $ac_cv_header_stat_broken = yes; then
8342 printf "%s\n" "#define STAT_MACROS_BROKEN 1" >>confdefs.h
8348 ac_fn_c_check_header_compile "$LINENO" "sys/conf.h" "ac_cv_header_sys_conf_h" "#include <sys/types.h>
8349 #ifdef HAVE_SYS_PARAM_H
8350 # include <sys/param.h>
8351 #endif
8353 if test "x$ac_cv_header_sys_conf_h" = xyes
8354 then :
8355 printf "%s\n" "#define HAVE_SYS_CONF_H 1" >>confdefs.h
8358 ac_fn_c_check_header_compile "$LINENO" "sys/mount.h" "ac_cv_header_sys_mount_h" "#include <sys/types.h>
8359 #ifdef HAVE_SYS_PARAM_H
8360 # include <sys/param.h>
8361 #endif
8363 if test "x$ac_cv_header_sys_mount_h" = xyes
8364 then :
8365 printf "%s\n" "#define HAVE_SYS_MOUNT_H 1" >>confdefs.h
8368 ac_fn_c_check_header_compile "$LINENO" "sys/statfs.h" "ac_cv_header_sys_statfs_h" "#include <sys/types.h>
8369 #ifdef HAVE_SYS_PARAM_H
8370 # include <sys/param.h>
8371 #endif
8373 if test "x$ac_cv_header_sys_statfs_h" = xyes
8374 then :
8375 printf "%s\n" "#define HAVE_SYS_STATFS_H 1" >>confdefs.h
8378 ac_fn_c_check_header_compile "$LINENO" "sys/user.h" "ac_cv_header_sys_user_h" "#include <sys/types.h>
8379 #ifdef HAVE_SYS_PARAM_H
8380 # include <sys/param.h>
8381 #endif
8383 if test "x$ac_cv_header_sys_user_h" = xyes
8384 then :
8385 printf "%s\n" "#define HAVE_SYS_USER_H 1" >>confdefs.h
8388 ac_fn_c_check_header_compile "$LINENO" "sys/vfs.h" "ac_cv_header_sys_vfs_h" "#include <sys/types.h>
8389 #ifdef HAVE_SYS_PARAM_H
8390 # include <sys/param.h>
8391 #endif
8393 if test "x$ac_cv_header_sys_vfs_h" = xyes
8394 then :
8395 printf "%s\n" "#define HAVE_SYS_VFS_H 1" >>confdefs.h
8400 saved_sysctl_h_CFLAGS=$CFLAGS
8401 test "x${GCC}" != xyes || CFLAGS="$CFLAGS -Werror"
8402 ac_fn_c_check_header_compile "$LINENO" "sys/sysctl.h" "ac_cv_header_sys_sysctl_h" "#include <sys/types.h>
8403 #ifdef HAVE_SYS_PARAM_H
8404 # include <sys/param.h>
8405 #endif
8407 if test "x$ac_cv_header_sys_sysctl_h" = xyes
8408 then :
8409 printf "%s\n" "#define HAVE_SYS_SYSCTL_H 1" >>confdefs.h
8413 CFLAGS=$saved_sysctl_h_CFLAGS
8415 ac_fn_c_check_header_compile "$LINENO" "netinet/ip.h" "ac_cv_header_netinet_ip_h" "#include <sys/types.h>
8416 #include <sys/socket.h>
8417 #ifdef HAVE_SYS_SOCKETVAR_H
8418 # include <sys/socketvar.h>
8419 #endif
8420 #ifdef HAVE_NET_ROUTE_H
8421 # include <net/route.h>
8422 #endif
8423 #ifdef HAVE_NETINET_IN_H
8424 # include <netinet/in.h>
8425 #endif
8426 #ifdef HAVE_NETINET_IN_SYSTM_H
8427 # include <netinet/in_systm.h>
8428 #endif
8429 #ifdef HAVE_NET_IF_H
8430 # include <net/if.h>
8431 #endif
8432 #ifdef HAVE_NETINET_IP_H
8433 # include <netinet/ip.h>
8434 #endif
8436 if test "x$ac_cv_header_netinet_ip_h" = xyes
8437 then :
8438 printf "%s\n" "#define HAVE_NETINET_IP_H 1" >>confdefs.h
8441 ac_fn_c_check_header_compile "$LINENO" "net/if.h" "ac_cv_header_net_if_h" "#include <sys/types.h>
8442 #include <sys/socket.h>
8443 #ifdef HAVE_SYS_SOCKETVAR_H
8444 # include <sys/socketvar.h>
8445 #endif
8446 #ifdef HAVE_NET_ROUTE_H
8447 # include <net/route.h>
8448 #endif
8449 #ifdef HAVE_NETINET_IN_H
8450 # include <netinet/in.h>
8451 #endif
8452 #ifdef HAVE_NETINET_IN_SYSTM_H
8453 # include <netinet/in_systm.h>
8454 #endif
8455 #ifdef HAVE_NET_IF_H
8456 # include <net/if.h>
8457 #endif
8458 #ifdef HAVE_NETINET_IP_H
8459 # include <netinet/ip.h>
8460 #endif
8462 if test "x$ac_cv_header_net_if_h" = xyes
8463 then :
8464 printf "%s\n" "#define HAVE_NET_IF_H 1" >>confdefs.h
8467 ac_fn_c_check_header_compile "$LINENO" "net/if_arp.h" "ac_cv_header_net_if_arp_h" "#include <sys/types.h>
8468 #include <sys/socket.h>
8469 #ifdef HAVE_SYS_SOCKETVAR_H
8470 # include <sys/socketvar.h>
8471 #endif
8472 #ifdef HAVE_NET_ROUTE_H
8473 # include <net/route.h>
8474 #endif
8475 #ifdef HAVE_NETINET_IN_H
8476 # include <netinet/in.h>
8477 #endif
8478 #ifdef HAVE_NETINET_IN_SYSTM_H
8479 # include <netinet/in_systm.h>
8480 #endif
8481 #ifdef HAVE_NET_IF_H
8482 # include <net/if.h>
8483 #endif
8484 #ifdef HAVE_NETINET_IP_H
8485 # include <netinet/ip.h>
8486 #endif
8488 if test "x$ac_cv_header_net_if_arp_h" = xyes
8489 then :
8490 printf "%s\n" "#define HAVE_NET_IF_ARP_H 1" >>confdefs.h
8493 ac_fn_c_check_header_compile "$LINENO" "net/if_dl.h" "ac_cv_header_net_if_dl_h" "#include <sys/types.h>
8494 #include <sys/socket.h>
8495 #ifdef HAVE_SYS_SOCKETVAR_H
8496 # include <sys/socketvar.h>
8497 #endif
8498 #ifdef HAVE_NET_ROUTE_H
8499 # include <net/route.h>
8500 #endif
8501 #ifdef HAVE_NETINET_IN_H
8502 # include <netinet/in.h>
8503 #endif
8504 #ifdef HAVE_NETINET_IN_SYSTM_H
8505 # include <netinet/in_systm.h>
8506 #endif
8507 #ifdef HAVE_NET_IF_H
8508 # include <net/if.h>
8509 #endif
8510 #ifdef HAVE_NETINET_IP_H
8511 # include <netinet/ip.h>
8512 #endif
8514 if test "x$ac_cv_header_net_if_dl_h" = xyes
8515 then :
8516 printf "%s\n" "#define HAVE_NET_IF_DL_H 1" >>confdefs.h
8519 ac_fn_c_check_header_compile "$LINENO" "net/if_types.h" "ac_cv_header_net_if_types_h" "#include <sys/types.h>
8520 #include <sys/socket.h>
8521 #ifdef HAVE_SYS_SOCKETVAR_H
8522 # include <sys/socketvar.h>
8523 #endif
8524 #ifdef HAVE_NET_ROUTE_H
8525 # include <net/route.h>
8526 #endif
8527 #ifdef HAVE_NETINET_IN_H
8528 # include <netinet/in.h>
8529 #endif
8530 #ifdef HAVE_NETINET_IN_SYSTM_H
8531 # include <netinet/in_systm.h>
8532 #endif
8533 #ifdef HAVE_NET_IF_H
8534 # include <net/if.h>
8535 #endif
8536 #ifdef HAVE_NETINET_IP_H
8537 # include <netinet/ip.h>
8538 #endif
8540 if test "x$ac_cv_header_net_if_types_h" = xyes
8541 then :
8542 printf "%s\n" "#define HAVE_NET_IF_TYPES_H 1" >>confdefs.h
8545 ac_fn_c_check_header_compile "$LINENO" "net/route.h" "ac_cv_header_net_route_h" "#include <sys/types.h>
8546 #include <sys/socket.h>
8547 #ifdef HAVE_SYS_SOCKETVAR_H
8548 # include <sys/socketvar.h>
8549 #endif
8550 #ifdef HAVE_NET_ROUTE_H
8551 # include <net/route.h>
8552 #endif
8553 #ifdef HAVE_NETINET_IN_H
8554 # include <netinet/in.h>
8555 #endif
8556 #ifdef HAVE_NETINET_IN_SYSTM_H
8557 # include <netinet/in_systm.h>
8558 #endif
8559 #ifdef HAVE_NET_IF_H
8560 # include <net/if.h>
8561 #endif
8562 #ifdef HAVE_NETINET_IP_H
8563 # include <netinet/ip.h>
8564 #endif
8566 if test "x$ac_cv_header_net_route_h" = xyes
8567 then :
8568 printf "%s\n" "#define HAVE_NET_ROUTE_H 1" >>confdefs.h
8571 ac_fn_c_check_header_compile "$LINENO" "netinet/if_ether.h" "ac_cv_header_netinet_if_ether_h" "#include <sys/types.h>
8572 #include <sys/socket.h>
8573 #ifdef HAVE_SYS_SOCKETVAR_H
8574 # include <sys/socketvar.h>
8575 #endif
8576 #ifdef HAVE_NET_ROUTE_H
8577 # include <net/route.h>
8578 #endif
8579 #ifdef HAVE_NETINET_IN_H
8580 # include <netinet/in.h>
8581 #endif
8582 #ifdef HAVE_NETINET_IN_SYSTM_H
8583 # include <netinet/in_systm.h>
8584 #endif
8585 #ifdef HAVE_NET_IF_H
8586 # include <net/if.h>
8587 #endif
8588 #ifdef HAVE_NETINET_IP_H
8589 # include <netinet/ip.h>
8590 #endif
8592 if test "x$ac_cv_header_netinet_if_ether_h" = xyes
8593 then :
8594 printf "%s\n" "#define HAVE_NETINET_IF_ETHER_H 1" >>confdefs.h
8597 ac_fn_c_check_header_compile "$LINENO" "netinet/in_pcb.h" "ac_cv_header_netinet_in_pcb_h" "#include <sys/types.h>
8598 #include <sys/socket.h>
8599 #ifdef HAVE_SYS_SOCKETVAR_H
8600 # include <sys/socketvar.h>
8601 #endif
8602 #ifdef HAVE_NET_ROUTE_H
8603 # include <net/route.h>
8604 #endif
8605 #ifdef HAVE_NETINET_IN_H
8606 # include <netinet/in.h>
8607 #endif
8608 #ifdef HAVE_NETINET_IN_SYSTM_H
8609 # include <netinet/in_systm.h>
8610 #endif
8611 #ifdef HAVE_NET_IF_H
8612 # include <net/if.h>
8613 #endif
8614 #ifdef HAVE_NETINET_IP_H
8615 # include <netinet/ip.h>
8616 #endif
8618 if test "x$ac_cv_header_netinet_in_pcb_h" = xyes
8619 then :
8620 printf "%s\n" "#define HAVE_NETINET_IN_PCB_H 1" >>confdefs.h
8623 ac_fn_c_check_header_compile "$LINENO" "netinet/ip_icmp.h" "ac_cv_header_netinet_ip_icmp_h" "#include <sys/types.h>
8624 #include <sys/socket.h>
8625 #ifdef HAVE_SYS_SOCKETVAR_H
8626 # include <sys/socketvar.h>
8627 #endif
8628 #ifdef HAVE_NET_ROUTE_H
8629 # include <net/route.h>
8630 #endif
8631 #ifdef HAVE_NETINET_IN_H
8632 # include <netinet/in.h>
8633 #endif
8634 #ifdef HAVE_NETINET_IN_SYSTM_H
8635 # include <netinet/in_systm.h>
8636 #endif
8637 #ifdef HAVE_NET_IF_H
8638 # include <net/if.h>
8639 #endif
8640 #ifdef HAVE_NETINET_IP_H
8641 # include <netinet/ip.h>
8642 #endif
8644 if test "x$ac_cv_header_netinet_ip_icmp_h" = xyes
8645 then :
8646 printf "%s\n" "#define HAVE_NETINET_IP_ICMP_H 1" >>confdefs.h
8649 ac_fn_c_check_header_compile "$LINENO" "netinet/ip_var.h" "ac_cv_header_netinet_ip_var_h" "#include <sys/types.h>
8650 #include <sys/socket.h>
8651 #ifdef HAVE_SYS_SOCKETVAR_H
8652 # include <sys/socketvar.h>
8653 #endif
8654 #ifdef HAVE_NET_ROUTE_H
8655 # include <net/route.h>
8656 #endif
8657 #ifdef HAVE_NETINET_IN_H
8658 # include <netinet/in.h>
8659 #endif
8660 #ifdef HAVE_NETINET_IN_SYSTM_H
8661 # include <netinet/in_systm.h>
8662 #endif
8663 #ifdef HAVE_NET_IF_H
8664 # include <net/if.h>
8665 #endif
8666 #ifdef HAVE_NETINET_IP_H
8667 # include <netinet/ip.h>
8668 #endif
8670 if test "x$ac_cv_header_netinet_ip_var_h" = xyes
8671 then :
8672 printf "%s\n" "#define HAVE_NETINET_IP_VAR_H 1" >>confdefs.h
8675 ac_fn_c_check_header_compile "$LINENO" "netinet/udp.h" "ac_cv_header_netinet_udp_h" "#include <sys/types.h>
8676 #include <sys/socket.h>
8677 #ifdef HAVE_SYS_SOCKETVAR_H
8678 # include <sys/socketvar.h>
8679 #endif
8680 #ifdef HAVE_NET_ROUTE_H
8681 # include <net/route.h>
8682 #endif
8683 #ifdef HAVE_NETINET_IN_H
8684 # include <netinet/in.h>
8685 #endif
8686 #ifdef HAVE_NETINET_IN_SYSTM_H
8687 # include <netinet/in_systm.h>
8688 #endif
8689 #ifdef HAVE_NET_IF_H
8690 # include <net/if.h>
8691 #endif
8692 #ifdef HAVE_NETINET_IP_H
8693 # include <netinet/ip.h>
8694 #endif
8696 if test "x$ac_cv_header_netinet_udp_h" = xyes
8697 then :
8698 printf "%s\n" "#define HAVE_NETINET_UDP_H 1" >>confdefs.h
8701 ac_fn_c_check_header_compile "$LINENO" "netinet6/ip6_var.h" "ac_cv_header_netinet6_ip6_var_h" "#include <sys/types.h>
8702 #include <sys/socket.h>
8703 #ifdef HAVE_SYS_SOCKETVAR_H
8704 # include <sys/socketvar.h>
8705 #endif
8706 #ifdef HAVE_NET_ROUTE_H
8707 # include <net/route.h>
8708 #endif
8709 #ifdef HAVE_NETINET_IN_H
8710 # include <netinet/in.h>
8711 #endif
8712 #ifdef HAVE_NETINET_IN_SYSTM_H
8713 # include <netinet/in_systm.h>
8714 #endif
8715 #ifdef HAVE_NET_IF_H
8716 # include <net/if.h>
8717 #endif
8718 #ifdef HAVE_NETINET_IP_H
8719 # include <netinet/ip.h>
8720 #endif
8722 if test "x$ac_cv_header_netinet6_ip6_var_h" = xyes
8723 then :
8724 printf "%s\n" "#define HAVE_NETINET6_IP6_VAR_H 1" >>confdefs.h
8727 ac_fn_c_check_header_compile "$LINENO" "netipx/ipx.h" "ac_cv_header_netipx_ipx_h" "#include <sys/types.h>
8728 #include <sys/socket.h>
8729 #ifdef HAVE_SYS_SOCKETVAR_H
8730 # include <sys/socketvar.h>
8731 #endif
8732 #ifdef HAVE_NET_ROUTE_H
8733 # include <net/route.h>
8734 #endif
8735 #ifdef HAVE_NETINET_IN_H
8736 # include <netinet/in.h>
8737 #endif
8738 #ifdef HAVE_NETINET_IN_SYSTM_H
8739 # include <netinet/in_systm.h>
8740 #endif
8741 #ifdef HAVE_NET_IF_H
8742 # include <net/if.h>
8743 #endif
8744 #ifdef HAVE_NETINET_IP_H
8745 # include <netinet/ip.h>
8746 #endif
8748 if test "x$ac_cv_header_netipx_ipx_h" = xyes
8749 then :
8750 printf "%s\n" "#define HAVE_NETIPX_IPX_H 1" >>confdefs.h
8753 ac_fn_c_check_header_compile "$LINENO" "sys/un.h" "ac_cv_header_sys_un_h" "#include <sys/types.h>
8754 #include <sys/socket.h>
8755 #ifdef HAVE_SYS_SOCKETVAR_H
8756 # include <sys/socketvar.h>
8757 #endif
8758 #ifdef HAVE_NET_ROUTE_H
8759 # include <net/route.h>
8760 #endif
8761 #ifdef HAVE_NETINET_IN_H
8762 # include <netinet/in.h>
8763 #endif
8764 #ifdef HAVE_NETINET_IN_SYSTM_H
8765 # include <netinet/in_systm.h>
8766 #endif
8767 #ifdef HAVE_NET_IF_H
8768 # include <net/if.h>
8769 #endif
8770 #ifdef HAVE_NETINET_IP_H
8771 # include <netinet/ip.h>
8772 #endif
8774 if test "x$ac_cv_header_sys_un_h" = xyes
8775 then :
8776 printf "%s\n" "#define HAVE_SYS_UN_H 1" >>confdefs.h
8781 ac_fn_c_check_header_compile "$LINENO" "netinet/udp_var.h" "ac_cv_header_netinet_udp_var_h" "#include <sys/types.h>
8782 #include <sys/socket.h>
8783 #ifdef HAVE_SYS_SOCKETVAR_H
8784 # include <sys/socketvar.h>
8785 #endif
8786 #ifdef HAVE_NETINET_IN_H
8787 # include <netinet/in.h>
8788 #endif
8789 #ifdef HAVE_NETINET_IN_SYSTM_H
8790 # include <netinet/in_systm.h>
8791 #endif
8792 #ifdef HAVE_NETINET_IP_H
8793 # include <netinet/ip.h>
8794 #endif
8795 #ifdef HAVE_NETINET_IP_VAR_H
8796 # include <netinet/ip_var.h>
8797 #endif
8798 #ifdef HAVE_NETINET_IP_ICMP_H
8799 # include <netinet/ip_icmp.h>
8800 #endif
8801 #ifdef HAVE_NETINET_UDP_H
8802 # include <netinet/udp.h>
8803 #endif
8804 #ifdef HAVE_NETINET_TCP_H
8805 # include <netinet/tcp.h>
8806 #endif
8808 if test "x$ac_cv_header_netinet_udp_var_h" = xyes
8809 then :
8810 printf "%s\n" "#define HAVE_NETINET_UDP_VAR_H 1" >>confdefs.h
8813 ac_fn_c_check_header_compile "$LINENO" "netinet/icmp_var.h" "ac_cv_header_netinet_icmp_var_h" "#include <sys/types.h>
8814 #include <sys/socket.h>
8815 #ifdef HAVE_SYS_SOCKETVAR_H
8816 # include <sys/socketvar.h>
8817 #endif
8818 #ifdef HAVE_NETINET_IN_H
8819 # include <netinet/in.h>
8820 #endif
8821 #ifdef HAVE_NETINET_IN_SYSTM_H
8822 # include <netinet/in_systm.h>
8823 #endif
8824 #ifdef HAVE_NETINET_IP_H
8825 # include <netinet/ip.h>
8826 #endif
8827 #ifdef HAVE_NETINET_IP_VAR_H
8828 # include <netinet/ip_var.h>
8829 #endif
8830 #ifdef HAVE_NETINET_IP_ICMP_H
8831 # include <netinet/ip_icmp.h>
8832 #endif
8833 #ifdef HAVE_NETINET_UDP_H
8834 # include <netinet/udp.h>
8835 #endif
8836 #ifdef HAVE_NETINET_TCP_H
8837 # include <netinet/tcp.h>
8838 #endif
8840 if test "x$ac_cv_header_netinet_icmp_var_h" = xyes
8841 then :
8842 printf "%s\n" "#define HAVE_NETINET_ICMP_VAR_H 1" >>confdefs.h
8845 ac_fn_c_check_header_compile "$LINENO" "netinet/icmp6.h" "ac_cv_header_netinet_icmp6_h" "#include <sys/types.h>
8846 #include <sys/socket.h>
8847 #ifdef HAVE_SYS_SOCKETVAR_H
8848 # include <sys/socketvar.h>
8849 #endif
8850 #ifdef HAVE_NETINET_IN_H
8851 # include <netinet/in.h>
8852 #endif
8853 #ifdef HAVE_NETINET_IN_SYSTM_H
8854 # include <netinet/in_systm.h>
8855 #endif
8856 #ifdef HAVE_NETINET_IP_H
8857 # include <netinet/ip.h>
8858 #endif
8859 #ifdef HAVE_NETINET_IP_VAR_H
8860 # include <netinet/ip_var.h>
8861 #endif
8862 #ifdef HAVE_NETINET_IP_ICMP_H
8863 # include <netinet/ip_icmp.h>
8864 #endif
8865 #ifdef HAVE_NETINET_UDP_H
8866 # include <netinet/udp.h>
8867 #endif
8868 #ifdef HAVE_NETINET_TCP_H
8869 # include <netinet/tcp.h>
8870 #endif
8872 if test "x$ac_cv_header_netinet_icmp6_h" = xyes
8873 then :
8874 printf "%s\n" "#define HAVE_NETINET_ICMP6_H 1" >>confdefs.h
8877 ac_fn_c_check_header_compile "$LINENO" "netinet/tcp_var.h" "ac_cv_header_netinet_tcp_var_h" "#include <sys/types.h>
8878 #include <sys/socket.h>
8879 #ifdef HAVE_SYS_SOCKETVAR_H
8880 # include <sys/socketvar.h>
8881 #endif
8882 #ifdef HAVE_NETINET_IN_H
8883 # include <netinet/in.h>
8884 #endif
8885 #ifdef HAVE_NETINET_IN_SYSTM_H
8886 # include <netinet/in_systm.h>
8887 #endif
8888 #ifdef HAVE_NETINET_IP_H
8889 # include <netinet/ip.h>
8890 #endif
8891 #ifdef HAVE_NETINET_IP_VAR_H
8892 # include <netinet/ip_var.h>
8893 #endif
8894 #ifdef HAVE_NETINET_IP_ICMP_H
8895 # include <netinet/ip_icmp.h>
8896 #endif
8897 #ifdef HAVE_NETINET_UDP_H
8898 # include <netinet/udp.h>
8899 #endif
8900 #ifdef HAVE_NETINET_TCP_H
8901 # include <netinet/tcp.h>
8902 #endif
8904 if test "x$ac_cv_header_netinet_tcp_var_h" = xyes
8905 then :
8906 printf "%s\n" "#define HAVE_NETINET_TCP_VAR_H 1" >>confdefs.h
8911 ac_fn_c_check_header_compile "$LINENO" "linux/ipx.h" "ac_cv_header_linux_ipx_h" "#include <sys/types.h>
8912 #include <sys/socket.h>
8913 #ifdef HAVE_ASM_TYPES_H
8914 # include <asm/types.h>
8915 #endif
8916 #ifdef HAVE_LINUX_TYPES_H
8917 # include <linux/types.h>
8918 #endif
8920 if test "x$ac_cv_header_linux_ipx_h" = xyes
8921 then :
8922 printf "%s\n" "#define HAVE_LINUX_IPX_H 1" >>confdefs.h
8925 ac_fn_c_check_header_compile "$LINENO" "linux/irda.h" "ac_cv_header_linux_irda_h" "#include <sys/types.h>
8926 #include <sys/socket.h>
8927 #ifdef HAVE_ASM_TYPES_H
8928 # include <asm/types.h>
8929 #endif
8930 #ifdef HAVE_LINUX_TYPES_H
8931 # include <linux/types.h>
8932 #endif
8934 if test "x$ac_cv_header_linux_irda_h" = xyes
8935 then :
8936 printf "%s\n" "#define HAVE_LINUX_IRDA_H 1" >>confdefs.h
8939 ac_fn_c_check_header_compile "$LINENO" "linux/rtnetlink.h" "ac_cv_header_linux_rtnetlink_h" "#include <sys/types.h>
8940 #include <sys/socket.h>
8941 #ifdef HAVE_ASM_TYPES_H
8942 # include <asm/types.h>
8943 #endif
8944 #ifdef HAVE_LINUX_TYPES_H
8945 # include <linux/types.h>
8946 #endif
8948 if test "x$ac_cv_header_linux_rtnetlink_h" = xyes
8949 then :
8950 printf "%s\n" "#define HAVE_LINUX_RTNETLINK_H 1" >>confdefs.h
8955 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
8956 #include <sys/socket.h>
8957 #ifdef HAVE_NETINET_IN_H
8958 # include <netinet/in.h>
8959 #endif
8960 #ifdef HAVE_ARPA_NAMESER_H
8961 # include <arpa/nameser.h>
8962 #endif
8964 if test "x$ac_cv_header_resolv_h" = xyes
8965 then :
8966 printf "%s\n" "#define HAVE_RESOLV_H 1" >>confdefs.h
8971 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
8973 if test "x$ac_cv_header_ifaddrs_h" = xyes
8974 then :
8975 printf "%s\n" "#define HAVE_IFADDRS_H 1" >>confdefs.h
8980 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
8982 if test "x$ac_cv_header_sys_ucontext_h" = xyes
8983 then :
8984 printf "%s\n" "#define HAVE_SYS_UCONTEXT_H 1" >>confdefs.h
8989 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
8990 #ifdef HAVE_SYS_UCONTEXT_H
8991 #include <sys/ucontext.h>
8992 #endif
8994 if test "x$ac_cv_header_sys_thr_h" = xyes
8995 then :
8996 printf "%s\n" "#define HAVE_SYS_THR_H 1" >>confdefs.h
9001 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
9002 #include <pthread.h>
9003 #endif
9005 if test "x$ac_cv_header_pthread_np_h" = xyes
9006 then :
9007 printf "%s\n" "#define HAVE_PTHREAD_NP_H 1" >>confdefs.h
9012 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#include <sys/time.h>
9013 #include <sys/types.h>
9014 #ifdef HAVE_ASM_TYPES_H
9015 #include <asm/types.h>
9016 #endif
9018 if test "x$ac_cv_header_linux_videodev2_h" = xyes
9019 then :
9020 printf "%s\n" "#define HAVE_LINUX_VIDEODEV2_H 1" >>confdefs.h
9025 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
9026 #include <sys/param.h>
9027 #endif
9028 #include <sys/socket.h>
9029 #ifdef HAVE_SYS_QUEUE_H
9030 #include <sys/queue.h>
9031 #endif
9033 if test "x$ac_cv_header_libprocstat_h" = xyes
9034 then :
9035 printf "%s\n" "#define HAVE_LIBPROCSTAT_H 1" >>confdefs.h
9040 if test "x$ac_cv_header_sys_xattr_h" = xyes
9041 then
9042 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether getxattr takes additional arguments" >&5
9043 printf %s "checking whether getxattr takes additional arguments... " >&6; }
9044 if test ${wine_cv_xattr_extra_args+y}
9045 then :
9046 printf %s "(cached) " >&6
9047 else $as_nop
9048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9049 /* end confdefs.h. */
9050 #include <sys/xattr.h>
9052 main (void)
9054 getxattr("", "", "", 0, 0, 0);
9056 return 0;
9058 _ACEOF
9059 if ac_fn_c_try_compile "$LINENO"
9060 then :
9061 wine_cv_xattr_extra_args=yes
9062 else $as_nop
9063 wine_cv_xattr_extra_args=no
9065 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9067 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_xattr_extra_args" >&5
9068 printf "%s\n" "$wine_cv_xattr_extra_args" >&6; }
9069 test $wine_cv_xattr_extra_args != yes ||
9070 printf "%s\n" "#define XATTR_ADDITIONAL_OPTIONS 1" >>confdefs.h
9075 DLLFLAGS=""
9077 LDDLLFLAGS=""
9079 LDEXECFLAGS=""
9081 EXTRACFLAGS=""
9083 UNIXDLLFLAGS="-fPIC"
9085 UNIXLDFLAGS="-shared -Wl,-Bsymbolic -Wl,-soname,\$(UNIXLIB)"
9087 TOP_INSTALL_LIB=""
9089 TOP_INSTALL_DEV=""
9091 WINELOADER_LDFLAGS=""
9093 WINEPRELOADER_LDFLAGS=""
9095 LIBEXT="so"
9096 # Extract the first word of "ldd", so it can be a program name with args.
9097 set dummy ldd; ac_word=$2
9098 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9099 printf %s "checking for $ac_word... " >&6; }
9100 if test ${ac_cv_path_LDD+y}
9101 then :
9102 printf %s "(cached) " >&6
9103 else $as_nop
9104 case $LDD in
9105 [\\/]* | ?:[\\/]*)
9106 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
9109 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9110 as_dummy="/sbin:/usr/sbin:$PATH"
9111 for as_dir in $as_dummy
9113 IFS=$as_save_IFS
9114 case $as_dir in #(((
9115 '') as_dir=./ ;;
9116 */) ;;
9117 *) as_dir=$as_dir/ ;;
9118 esac
9119 for ac_exec_ext in '' $ac_executable_extensions; do
9120 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9121 ac_cv_path_LDD="$as_dir$ac_word$ac_exec_ext"
9122 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9123 break 2
9125 done
9126 done
9127 IFS=$as_save_IFS
9129 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
9131 esac
9133 LDD=$ac_cv_path_LDD
9134 if test -n "$LDD"; then
9135 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
9136 printf "%s\n" "$LDD" >&6; }
9137 else
9138 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9139 printf "%s\n" "no" >&6; }
9143 if test -n "$ac_tool_prefix"; then
9144 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
9145 set dummy ${ac_tool_prefix}otool; ac_word=$2
9146 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9147 printf %s "checking for $ac_word... " >&6; }
9148 if test ${ac_cv_prog_OTOOL+y}
9149 then :
9150 printf %s "(cached) " >&6
9151 else $as_nop
9152 if test -n "$OTOOL"; then
9153 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
9154 else
9155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9156 for as_dir in $PATH
9158 IFS=$as_save_IFS
9159 case $as_dir in #(((
9160 '') as_dir=./ ;;
9161 */) ;;
9162 *) as_dir=$as_dir/ ;;
9163 esac
9164 for ac_exec_ext in '' $ac_executable_extensions; do
9165 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9166 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
9167 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9168 break 2
9170 done
9171 done
9172 IFS=$as_save_IFS
9176 OTOOL=$ac_cv_prog_OTOOL
9177 if test -n "$OTOOL"; then
9178 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
9179 printf "%s\n" "$OTOOL" >&6; }
9180 else
9181 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9182 printf "%s\n" "no" >&6; }
9187 if test -z "$ac_cv_prog_OTOOL"; then
9188 ac_ct_OTOOL=$OTOOL
9189 # Extract the first word of "otool", so it can be a program name with args.
9190 set dummy otool; ac_word=$2
9191 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9192 printf %s "checking for $ac_word... " >&6; }
9193 if test ${ac_cv_prog_ac_ct_OTOOL+y}
9194 then :
9195 printf %s "(cached) " >&6
9196 else $as_nop
9197 if test -n "$ac_ct_OTOOL"; then
9198 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
9199 else
9200 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9201 for as_dir in $PATH
9203 IFS=$as_save_IFS
9204 case $as_dir in #(((
9205 '') as_dir=./ ;;
9206 */) ;;
9207 *) as_dir=$as_dir/ ;;
9208 esac
9209 for ac_exec_ext in '' $ac_executable_extensions; do
9210 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9211 ac_cv_prog_ac_ct_OTOOL="otool"
9212 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9213 break 2
9215 done
9216 done
9217 IFS=$as_save_IFS
9221 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
9222 if test -n "$ac_ct_OTOOL"; then
9223 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
9224 printf "%s\n" "$ac_ct_OTOOL" >&6; }
9225 else
9226 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9227 printf "%s\n" "no" >&6; }
9230 if test "x$ac_ct_OTOOL" = x; then
9231 OTOOL="otool"
9232 else
9233 case $cross_compiling:$ac_tool_warned in
9234 yes:)
9235 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9236 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9237 ac_tool_warned=yes ;;
9238 esac
9239 OTOOL=$ac_ct_OTOOL
9241 else
9242 OTOOL="$ac_cv_prog_OTOOL"
9245 if test -n "$ac_tool_prefix"; then
9246 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
9247 set dummy ${ac_tool_prefix}readelf; ac_word=$2
9248 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9249 printf %s "checking for $ac_word... " >&6; }
9250 if test ${ac_cv_prog_READELF+y}
9251 then :
9252 printf %s "(cached) " >&6
9253 else $as_nop
9254 if test -n "$READELF"; then
9255 ac_cv_prog_READELF="$READELF" # Let the user override the test.
9256 else
9257 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9258 for as_dir in $PATH
9260 IFS=$as_save_IFS
9261 case $as_dir in #(((
9262 '') as_dir=./ ;;
9263 */) ;;
9264 *) as_dir=$as_dir/ ;;
9265 esac
9266 for ac_exec_ext in '' $ac_executable_extensions; do
9267 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9268 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
9269 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9270 break 2
9272 done
9273 done
9274 IFS=$as_save_IFS
9278 READELF=$ac_cv_prog_READELF
9279 if test -n "$READELF"; then
9280 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
9281 printf "%s\n" "$READELF" >&6; }
9282 else
9283 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9284 printf "%s\n" "no" >&6; }
9289 if test -z "$ac_cv_prog_READELF"; then
9290 ac_ct_READELF=$READELF
9291 # Extract the first word of "readelf", so it can be a program name with args.
9292 set dummy readelf; ac_word=$2
9293 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9294 printf %s "checking for $ac_word... " >&6; }
9295 if test ${ac_cv_prog_ac_ct_READELF+y}
9296 then :
9297 printf %s "(cached) " >&6
9298 else $as_nop
9299 if test -n "$ac_ct_READELF"; then
9300 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
9301 else
9302 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9303 for as_dir in $PATH
9305 IFS=$as_save_IFS
9306 case $as_dir in #(((
9307 '') as_dir=./ ;;
9308 */) ;;
9309 *) as_dir=$as_dir/ ;;
9310 esac
9311 for ac_exec_ext in '' $ac_executable_extensions; do
9312 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9313 ac_cv_prog_ac_ct_READELF="readelf"
9314 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9315 break 2
9317 done
9318 done
9319 IFS=$as_save_IFS
9323 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
9324 if test -n "$ac_ct_READELF"; then
9325 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
9326 printf "%s\n" "$ac_ct_READELF" >&6; }
9327 else
9328 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9329 printf "%s\n" "no" >&6; }
9332 if test "x$ac_ct_READELF" = x; then
9333 READELF="true"
9334 else
9335 case $cross_compiling:$ac_tool_warned in
9336 yes:)
9337 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9338 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9339 ac_tool_warned=yes ;;
9340 esac
9341 READELF=$ac_ct_READELF
9343 else
9344 READELF="$ac_cv_prog_READELF"
9347 wine_rules="all:"
9348 SUBDIRS=""
9350 DISABLED_SUBDIRS=""
9352 CONFIGURE_TARGETS=""
9355 wine_fn_config_makefile ()
9357 as_fn_append SUBDIRS " \\$as_nl $1"
9358 eval enable=\$$2
9359 case "$enable" in
9360 no) as_fn_append DISABLED_SUBDIRS " $1" ;;
9361 *aarch64*|*arm*|*i386*|*x86_64*)
9362 if test -n "$PE_ARCHS"
9363 then
9364 for i in $PE_ARCHS
9366 test $(expr ",$enable," : ".*,$i,") -gt 0 || as_fn_append ${i}_DISABLED_SUBDIRS " $1"
9367 done
9368 else
9369 test $(expr ",$enable," : ".*,$HOST_ARCH,") -gt 0 || as_fn_append DISABLED_SUBDIRS " $1"
9370 fi;;
9371 esac
9374 wine_fn_config_symlink ()
9376 ac_links=$@
9377 as_fn_append wine_rules "
9378 $ac_links:
9379 @./config.status \$@"
9380 for f in $ac_links; do as_fn_append CONFIGURE_TARGETS " $f"; done
9383 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
9385 case $host_os in
9386 cygwin*|mingw32*)
9387 LIBEXT="dll"
9388 EXTRACFLAGS="-D__WINE_PE_BUILD"
9389 case $host_cpu in
9390 *i[3456]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--disable-stdcall-fixup" >&5
9391 printf %s "checking whether the compiler supports -Wl,--disable-stdcall-fixup... " >&6; }
9392 if test ${ac_cv_cflags__Wl___disable_stdcall_fixup+y}
9393 then :
9394 printf %s "(cached) " >&6
9395 else $as_nop
9396 ac_wine_try_cflags_saved=$CFLAGS
9397 CFLAGS="$CFLAGS -Wl,--disable-stdcall-fixup"
9398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9399 /* end confdefs.h. */
9400 int main(int argc, char **argv) { return 0; }
9401 _ACEOF
9402 if ac_fn_c_try_link "$LINENO"
9403 then :
9404 ac_cv_cflags__Wl___disable_stdcall_fixup=yes
9405 else $as_nop
9406 ac_cv_cflags__Wl___disable_stdcall_fixup=no
9408 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9409 conftest$ac_exeext conftest.$ac_ext
9410 CFLAGS=$ac_wine_try_cflags_saved
9412 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___disable_stdcall_fixup" >&5
9413 printf "%s\n" "$ac_cv_cflags__Wl___disable_stdcall_fixup" >&6; }
9414 if test "x$ac_cv_cflags__Wl___disable_stdcall_fixup" = xyes
9415 then :
9416 LDDLLFLAGS="-Wl,--disable-stdcall-fixup"
9417 fi ;;
9418 esac
9419 enable_loader=${enable_loader:-no}
9420 enable_server=${enable_server:-no}
9421 with_x=${with_x:-no}
9422 with_pthread=${with_pthread:-no}
9425 darwin*|macosx*)
9426 LIBEXT="dylib"
9427 DLLFLAGS="$DLLFLAGS -fPIC"
9428 LDDLLFLAGS="-fPIC"
9429 enable_winemac_drv=${enable_winemac_drv:-yes}
9430 CARBON_LIBS="-framework Carbon"
9432 COREFOUNDATION_LIBS="-framework CoreFoundation"
9434 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
9436 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
9438 METAL_LIBS="-framework Metal"
9440 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
9442 CORESERVICES_LIBS="-framework CoreServices"
9444 APPKIT_LIBS="-framework AppKit"
9446 SECURITY_LIBS="-framework Security -framework CoreFoundation"
9448 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
9451 WINELOADER_LDFLAGS="-Wl,-pie,-segalign,0x1000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,loader/wine_info.plist"
9453 wine_can_build_preloader=yes
9454 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"
9455 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
9456 printf %s "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
9457 if test ${ac_cv_cflags__Wl__no_new_main__e__main+y}
9458 then :
9459 printf %s "(cached) " >&6
9460 else $as_nop
9461 ac_wine_try_cflags_saved=$CFLAGS
9462 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
9463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9464 /* end confdefs.h. */
9465 int main(int argc, char **argv) { return 0; }
9466 _ACEOF
9467 if ac_fn_c_try_link "$LINENO"
9468 then :
9469 ac_cv_cflags__Wl__no_new_main__e__main=yes
9470 else $as_nop
9471 ac_cv_cflags__Wl__no_new_main__e__main=no
9473 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9474 conftest$ac_exeext conftest.$ac_ext
9475 CFLAGS=$ac_wine_try_cflags_saved
9477 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
9478 printf "%s\n" "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
9479 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes
9480 then :
9481 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
9482 { 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
9483 printf %s "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
9484 if test ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+y}
9485 then :
9486 printf %s "(cached) " >&6
9487 else $as_nop
9488 ac_wine_try_cflags_saved=$CFLAGS
9489 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
9490 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9491 /* end confdefs.h. */
9492 int main(int argc, char **argv) { return 0; }
9493 _ACEOF
9494 if ac_fn_c_try_link "$LINENO"
9495 then :
9496 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
9497 else $as_nop
9498 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
9500 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9501 conftest$ac_exeext conftest.$ac_ext
9502 CFLAGS=$ac_wine_try_cflags_saved
9504 { 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
9505 printf "%s\n" "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
9506 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes
9507 then :
9508 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
9509 else $as_nop
9510 wine_can_build_preloader=no
9512 else $as_nop
9513 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
9514 printf %s "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
9515 if test ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+y}
9516 then :
9517 printf %s "(cached) " >&6
9518 else $as_nop
9519 ac_wine_try_cflags_saved=$CFLAGS
9520 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
9521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9522 /* end confdefs.h. */
9523 int main(int argc, char **argv) { return 0; }
9524 _ACEOF
9525 if ac_fn_c_try_link "$LINENO"
9526 then :
9527 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
9528 else $as_nop
9529 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
9531 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9532 conftest$ac_exeext conftest.$ac_ext
9533 CFLAGS=$ac_wine_try_cflags_saved
9535 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
9536 printf "%s\n" "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
9537 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes
9538 then :
9539 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
9540 else $as_nop
9541 wine_can_build_preloader=no
9544 if test "$wine_can_build_preloader" = "yes"
9545 then
9546 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
9547 printf %s "checking whether the compiler supports -Wl,-no_pie... " >&6; }
9548 if test ${ac_cv_cflags__Wl__no_pie+y}
9549 then :
9550 printf %s "(cached) " >&6
9551 else $as_nop
9552 ac_wine_try_cflags_saved=$CFLAGS
9553 CFLAGS="$CFLAGS -Wl,-no_pie"
9554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9555 /* end confdefs.h. */
9556 int main(int argc, char **argv) { return 0; }
9557 _ACEOF
9558 if ac_fn_c_try_link "$LINENO"
9559 then :
9560 ac_cv_cflags__Wl__no_pie=yes
9561 else $as_nop
9562 ac_cv_cflags__Wl__no_pie=no
9564 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9565 conftest$ac_exeext conftest.$ac_ext
9566 CFLAGS=$ac_wine_try_cflags_saved
9568 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
9569 printf "%s\n" "$ac_cv_cflags__Wl__no_pie" >&6; }
9570 if test "x$ac_cv_cflags__Wl__no_pie" = xyes
9571 then :
9572 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
9574 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -mmacosx-version-min=10.7"
9575 else
9576 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
9579 if test "x$with_coreaudio" != "xno";
9580 then
9581 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
9583 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
9585 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
9586 then
9587 OPENCL_LIBS="-framework OpenCL"
9589 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
9592 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
9593 printf %s "checking whether MTLDevice protocol supports registryID property... " >&6; }
9594 ac_ext=m
9595 ac_cpp='$OBJCPP $CPPFLAGS'
9596 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9597 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9598 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9600 ac_ext=m
9601 ac_cpp='$OBJCPP $CPPFLAGS'
9602 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9603 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9604 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9605 if test -n "$ac_tool_prefix"; then
9606 for ac_prog in gcc objcc objc cc CC clang
9608 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
9609 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
9610 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9611 printf %s "checking for $ac_word... " >&6; }
9612 if test ${ac_cv_prog_OBJC+y}
9613 then :
9614 printf %s "(cached) " >&6
9615 else $as_nop
9616 if test -n "$OBJC"; then
9617 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
9618 else
9619 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9620 for as_dir in $PATH
9622 IFS=$as_save_IFS
9623 case $as_dir in #(((
9624 '') as_dir=./ ;;
9625 */) ;;
9626 *) as_dir=$as_dir/ ;;
9627 esac
9628 for ac_exec_ext in '' $ac_executable_extensions; do
9629 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9630 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
9631 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9632 break 2
9634 done
9635 done
9636 IFS=$as_save_IFS
9640 OBJC=$ac_cv_prog_OBJC
9641 if test -n "$OBJC"; then
9642 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
9643 printf "%s\n" "$OBJC" >&6; }
9644 else
9645 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9646 printf "%s\n" "no" >&6; }
9650 test -n "$OBJC" && break
9651 done
9653 if test -z "$OBJC"; then
9654 ac_ct_OBJC=$OBJC
9655 for ac_prog in gcc objcc objc cc CC clang
9657 # Extract the first word of "$ac_prog", so it can be a program name with args.
9658 set dummy $ac_prog; ac_word=$2
9659 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9660 printf %s "checking for $ac_word... " >&6; }
9661 if test ${ac_cv_prog_ac_ct_OBJC+y}
9662 then :
9663 printf %s "(cached) " >&6
9664 else $as_nop
9665 if test -n "$ac_ct_OBJC"; then
9666 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
9667 else
9668 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9669 for as_dir in $PATH
9671 IFS=$as_save_IFS
9672 case $as_dir in #(((
9673 '') as_dir=./ ;;
9674 */) ;;
9675 *) as_dir=$as_dir/ ;;
9676 esac
9677 for ac_exec_ext in '' $ac_executable_extensions; do
9678 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
9679 ac_cv_prog_ac_ct_OBJC="$ac_prog"
9680 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
9681 break 2
9683 done
9684 done
9685 IFS=$as_save_IFS
9689 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
9690 if test -n "$ac_ct_OBJC"; then
9691 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
9692 printf "%s\n" "$ac_ct_OBJC" >&6; }
9693 else
9694 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9695 printf "%s\n" "no" >&6; }
9699 test -n "$ac_ct_OBJC" && break
9700 done
9702 if test "x$ac_ct_OBJC" = x; then
9703 OBJC="gcc"
9704 else
9705 case $cross_compiling:$ac_tool_warned in
9706 yes:)
9707 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
9708 printf "%s\n" "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
9709 ac_tool_warned=yes ;;
9710 esac
9711 OBJC=$ac_ct_OBJC
9715 # Provide some information about the compiler.
9716 printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
9717 set X $ac_compile
9718 ac_compiler=$2
9719 for ac_option in --version -v -V -qversion; do
9720 { { ac_try="$ac_compiler $ac_option >&5"
9721 case "(($ac_try" in
9722 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
9723 *) ac_try_echo=$ac_try;;
9724 esac
9725 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
9726 printf "%s\n" "$ac_try_echo"; } >&5
9727 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
9728 ac_status=$?
9729 if test -s conftest.err; then
9730 sed '10a\
9731 ... rest of stderr output deleted ...
9732 10q' conftest.err >conftest.er1
9733 cat conftest.er1 >&5
9735 rm -f conftest.er1 conftest.err
9736 printf "%s\n" "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
9737 test $ac_status = 0; }
9738 done
9740 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports GNU Objective C" >&5
9741 printf %s "checking whether the compiler supports GNU Objective C... " >&6; }
9742 if test ${ac_cv_objc_compiler_gnu+y}
9743 then :
9744 printf %s "(cached) " >&6
9745 else $as_nop
9746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9747 /* end confdefs.h. */
9750 main (void)
9752 #ifndef __GNUC__
9753 choke me
9754 #endif
9757 return 0;
9759 _ACEOF
9760 if ac_fn_objc_try_compile "$LINENO"
9761 then :
9762 ac_compiler_gnu=yes
9763 else $as_nop
9764 ac_compiler_gnu=no
9766 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9767 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
9770 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
9771 printf "%s\n" "$ac_cv_objc_compiler_gnu" >&6; }
9772 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9774 if test $ac_compiler_gnu = yes; then
9775 GOBJC=yes
9776 else
9777 GOBJC=
9779 ac_test_OBJCFLAGS=${OBJCFLAGS+y}
9780 ac_save_OBJCFLAGS=$OBJCFLAGS
9781 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
9782 printf %s "checking whether $OBJC accepts -g... " >&6; }
9783 if test ${ac_cv_prog_objc_g+y}
9784 then :
9785 printf %s "(cached) " >&6
9786 else $as_nop
9787 ac_save_objc_werror_flag=$ac_objc_werror_flag
9788 ac_objc_werror_flag=yes
9789 ac_cv_prog_objc_g=no
9790 OBJCFLAGS="-g"
9791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9792 /* end confdefs.h. */
9795 main (void)
9799 return 0;
9801 _ACEOF
9802 if ac_fn_objc_try_compile "$LINENO"
9803 then :
9804 ac_cv_prog_objc_g=yes
9805 else $as_nop
9806 OBJCFLAGS=""
9807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9808 /* end confdefs.h. */
9811 main (void)
9815 return 0;
9817 _ACEOF
9818 if ac_fn_objc_try_compile "$LINENO"
9819 then :
9821 else $as_nop
9822 ac_objc_werror_flag=$ac_save_objc_werror_flag
9823 OBJCFLAGS="-g"
9824 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9825 /* end confdefs.h. */
9828 main (void)
9832 return 0;
9834 _ACEOF
9835 if ac_fn_objc_try_compile "$LINENO"
9836 then :
9837 ac_cv_prog_objc_g=yes
9839 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9841 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9843 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9844 ac_objc_werror_flag=$ac_save_objc_werror_flag
9846 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
9847 printf "%s\n" "$ac_cv_prog_objc_g" >&6; }
9848 if test $ac_test_OBJCFLAGS; then
9849 OBJCFLAGS=$ac_save_OBJCFLAGS
9850 elif test $ac_cv_prog_objc_g = yes; then
9851 if test "$GOBJC" = yes; then
9852 OBJCFLAGS="-g -O2"
9853 else
9854 OBJCFLAGS="-g"
9856 else
9857 if test "$GOBJC" = yes; then
9858 OBJCFLAGS="-O2"
9859 else
9860 OBJCFLAGS=
9863 ac_ext=m
9864 ac_cpp='$OBJCPP $CPPFLAGS'
9865 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9866 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9867 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
9870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9871 /* end confdefs.h. */
9872 #include <Metal/Metal.h>
9874 main (void)
9876 id<MTLDevice> device; device.registryID;
9878 return 0;
9880 _ACEOF
9881 if ac_fn_objc_try_compile "$LINENO"
9882 then :
9883 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9884 printf "%s\n" "yes" >&6; }
9886 printf "%s\n" "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
9888 else $as_nop
9889 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
9890 printf "%s\n" "no" >&6; }
9892 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
9893 ac_ext=c
9894 ac_cpp='$CPP $CPPFLAGS'
9895 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9896 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9897 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9900 UNIXLDFLAGS="-dynamiclib -install_name @rpath/\$(UNIXLIB) -Wl,-rpath,@loader_path\/"
9901 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
9903 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
9905 WINELOADER_DEPENDS="wine_info.plist"
9907 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
9910 linux-android*)
9912 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
9914 DLLFLAGS="$DLLFLAGS -fPIC"
9915 LDDLLFLAGS="-fPIC"
9916 LDEXECFLAGS="-Wl,-pie"
9917 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9918 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
9919 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
9920 if test ${ac_cv_cflags__Wl__z_defs+y}
9921 then :
9922 printf %s "(cached) " >&6
9923 else $as_nop
9924 ac_wine_try_cflags_saved=$CFLAGS
9925 CFLAGS="$CFLAGS -Wl,-z,defs"
9926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9927 /* end confdefs.h. */
9928 int main(int argc, char **argv) { return 0; }
9929 _ACEOF
9930 if ac_fn_c_try_link "$LINENO"
9931 then :
9932 ac_cv_cflags__Wl__z_defs=yes
9933 else $as_nop
9934 ac_cv_cflags__Wl__z_defs=no
9936 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9937 conftest$ac_exeext conftest.$ac_ext
9938 CFLAGS=$ac_wine_try_cflags_saved
9940 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
9941 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
9942 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
9943 then :
9944 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
9946 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9947 printf %s "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9948 if test ${ac_cv_cflags__fPIC__Wl___export_dynamic+y}
9949 then :
9950 printf %s "(cached) " >&6
9951 else $as_nop
9952 ac_wine_try_cflags_saved=$CFLAGS
9953 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9955 /* end confdefs.h. */
9956 int main(int argc, char **argv) { return 0; }
9957 _ACEOF
9958 if ac_fn_c_try_link "$LINENO"
9959 then :
9960 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9961 else $as_nop
9962 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9964 rm -f core conftest.err conftest.$ac_objext conftest.beam \
9965 conftest$ac_exeext conftest.$ac_ext
9966 CFLAGS=$ac_wine_try_cflags_saved
9968 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9969 printf "%s\n" "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9970 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes
9971 then :
9972 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9974 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
9976 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9977 printf %s "checking for -lEGL... " >&6; }
9978 if test ${ac_cv_lib_soname_EGL+y}
9979 then :
9980 printf %s "(cached) " >&6
9981 else $as_nop
9982 ac_check_soname_save_LIBS=$LIBS
9983 LIBS="-lEGL $LIBS"
9984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9985 /* end confdefs.h. */
9987 /* Override any GCC internal prototype to avoid an error.
9988 Use char because int might match the return type of a GCC
9989 builtin and then its argument prototype would still apply. */
9990 char eglGetProcAddress ();
9992 main (void)
9994 return eglGetProcAddress ();
9996 return 0;
9998 _ACEOF
9999 if ac_fn_c_try_link "$LINENO"
10000 then :
10001 case "$LIBEXT" in
10002 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10003 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'` ;;
10004 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10005 if ${ac_cv_lib_soname_EGL:+false} :
10006 then :
10007 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10008 fi ;;
10009 esac
10010 else $as_nop
10011 ac_cv_lib_soname_EGL=
10013 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10014 conftest$ac_exeext conftest.$ac_ext
10015 LIBS=$ac_check_soname_save_LIBS
10017 if ${ac_cv_lib_soname_EGL:+false} :
10018 then :
10019 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10020 printf "%s\n" "not found" >&6; }
10022 else $as_nop
10023 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
10024 printf "%s\n" "$ac_cv_lib_soname_EGL" >&6; }
10026 printf "%s\n" "#define SONAME_LIBEGL \"$ac_cv_lib_soname_EGL\"" >>confdefs.h
10030 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
10031 printf %s "checking for -lGLESv2... " >&6; }
10032 if test ${ac_cv_lib_soname_GLESv2+y}
10033 then :
10034 printf %s "(cached) " >&6
10035 else $as_nop
10036 ac_check_soname_save_LIBS=$LIBS
10037 LIBS="-lGLESv2 $LIBS"
10038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10039 /* end confdefs.h. */
10041 /* Override any GCC internal prototype to avoid an error.
10042 Use char because int might match the return type of a GCC
10043 builtin and then its argument prototype would still apply. */
10044 char glFlush ();
10046 main (void)
10048 return glFlush ();
10050 return 0;
10052 _ACEOF
10053 if ac_fn_c_try_link "$LINENO"
10054 then :
10055 case "$LIBEXT" in
10056 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10057 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'` ;;
10058 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10059 if ${ac_cv_lib_soname_GLESv2:+false} :
10060 then :
10061 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10062 fi ;;
10063 esac
10064 else $as_nop
10065 ac_cv_lib_soname_GLESv2=
10067 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10068 conftest$ac_exeext conftest.$ac_ext
10069 LIBS=$ac_check_soname_save_LIBS
10071 if ${ac_cv_lib_soname_GLESv2:+false} :
10072 then :
10073 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10074 printf "%s\n" "not found" >&6; }
10076 else $as_nop
10077 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
10078 printf "%s\n" "$ac_cv_lib_soname_GLESv2" >&6; }
10080 printf "%s\n" "#define SONAME_LIBGLESV2 \"$ac_cv_lib_soname_GLESv2\"" >>confdefs.h
10085 if test "x$exec_prefix" = xNONE
10086 then
10087 case $host_cpu in
10088 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
10089 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
10090 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
10091 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
10092 esac
10098 printf "%s\n" "#define _GNU_SOURCE 1" >>confdefs.h
10100 test "$ac_cv_sys_file_offset_bits" = 64 &&
10101 printf "%s\n" "#define _TIME_BITS 64" >>confdefs.h
10103 case $host_cpu in
10104 *i[3456789]86*)
10105 DLLFLAGS="$DLLFLAGS -fno-PIC"
10106 LDDLLFLAGS="-fno-PIC"
10107 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-PIC -Wl,-z,notext" >&5
10108 printf %s "checking whether the compiler supports -fno-PIC -Wl,-z,notext... " >&6; }
10109 if test ${ac_cv_cflags__fno_PIC__Wl__z_notext+y}
10110 then :
10111 printf %s "(cached) " >&6
10112 else $as_nop
10113 ac_wine_try_cflags_saved=$CFLAGS
10114 CFLAGS="$CFLAGS -fno-PIC -Wl,-z,notext"
10115 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10116 /* end confdefs.h. */
10117 int main(int argc, char **argv) { return 0; }
10118 _ACEOF
10119 if ac_fn_c_try_link "$LINENO"
10120 then :
10121 ac_cv_cflags__fno_PIC__Wl__z_notext=yes
10122 else $as_nop
10123 ac_cv_cflags__fno_PIC__Wl__z_notext=no
10125 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10126 conftest$ac_exeext conftest.$ac_ext
10127 CFLAGS=$ac_wine_try_cflags_saved
10129 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_PIC__Wl__z_notext" >&5
10130 printf "%s\n" "$ac_cv_cflags__fno_PIC__Wl__z_notext" >&6; }
10131 if test "x$ac_cv_cflags__fno_PIC__Wl__z_notext" = xyes
10132 then :
10133 LDDLLFLAGS="$LDDLLFLAGS -Wl,-z,notext"
10137 DLLFLAGS="$DLLFLAGS -fPIC"
10138 LDDLLFLAGS="-fPIC" ;;
10139 esac
10140 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
10142 echo '{ global: *; };' >conftest.map
10143 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
10144 printf %s "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
10145 if test ${ac_cv_cflags__shared__Wl___version_script_conftest_map+y}
10146 then :
10147 printf %s "(cached) " >&6
10148 else $as_nop
10149 ac_wine_try_cflags_saved=$CFLAGS
10150 CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
10151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10152 /* end confdefs.h. */
10153 int main(int argc, char **argv) { return 0; }
10154 _ACEOF
10155 if ac_fn_c_try_link "$LINENO"
10156 then :
10157 ac_cv_cflags__shared__Wl___version_script_conftest_map=yes
10158 else $as_nop
10159 ac_cv_cflags__shared__Wl___version_script_conftest_map=no
10161 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10162 conftest$ac_exeext conftest.$ac_ext
10163 CFLAGS=$ac_wine_try_cflags_saved
10165 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl___version_script_conftest_map" >&5
10166 printf "%s\n" "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
10167 if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes
10168 then :
10169 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
10171 rm -f conftest.map
10173 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,defs" >&5
10174 printf %s "checking whether the compiler supports -Wl,-z,defs... " >&6; }
10175 if test ${ac_cv_cflags__Wl__z_defs+y}
10176 then :
10177 printf %s "(cached) " >&6
10178 else $as_nop
10179 ac_wine_try_cflags_saved=$CFLAGS
10180 CFLAGS="$CFLAGS -Wl,-z,defs"
10181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10182 /* end confdefs.h. */
10183 int main(int argc, char **argv) { return 0; }
10184 _ACEOF
10185 if ac_fn_c_try_link "$LINENO"
10186 then :
10187 ac_cv_cflags__Wl__z_defs=yes
10188 else $as_nop
10189 ac_cv_cflags__Wl__z_defs=no
10191 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10192 conftest$ac_exeext conftest.$ac_ext
10193 CFLAGS=$ac_wine_try_cflags_saved
10195 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_defs" >&5
10196 printf "%s\n" "$ac_cv_cflags__Wl__z_defs" >&6; }
10197 if test "x$ac_cv_cflags__Wl__z_defs" = xyes
10198 then :
10199 UNIXLDFLAGS="$UNIXLDFLAGS -Wl,-z,defs"
10201 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
10202 printf %s "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
10203 if test ${ac_cv_cflags__Wl___export_dynamic+y}
10204 then :
10205 printf %s "(cached) " >&6
10206 else $as_nop
10207 ac_wine_try_cflags_saved=$CFLAGS
10208 CFLAGS="$CFLAGS -Wl,--export-dynamic"
10209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10210 /* end confdefs.h. */
10211 int main(int argc, char **argv) { return 0; }
10212 _ACEOF
10213 if ac_fn_c_try_link "$LINENO"
10214 then :
10215 ac_cv_cflags__Wl___export_dynamic=yes
10216 else $as_nop
10217 ac_cv_cflags__Wl___export_dynamic=no
10219 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10220 conftest$ac_exeext conftest.$ac_ext
10221 CFLAGS=$ac_wine_try_cflags_saved
10223 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
10224 printf "%s\n" "$ac_cv_cflags__Wl___export_dynamic" >&6; }
10225 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes
10226 then :
10227 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
10229 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7d400000"
10231 case $host_cpu in
10232 *i[3456789]86* | x86_64 | *aarch64* | arm*)
10233 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
10234 printf %s "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
10235 if test ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+y}
10236 then :
10237 printf %s "(cached) " >&6
10238 else $as_nop
10239 ac_wine_try_cflags_saved=$CFLAGS
10240 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
10241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10242 /* end confdefs.h. */
10243 int main(int argc, char **argv) { return 0; }
10244 _ACEOF
10245 if ac_fn_c_try_link "$LINENO"
10246 then :
10247 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
10248 else $as_nop
10249 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
10251 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10252 conftest$ac_exeext conftest.$ac_ext
10253 CFLAGS=$ac_wine_try_cflags_saved
10255 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
10256 printf "%s\n" "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
10257 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes
10258 then :
10259 case $host_os in
10260 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
10261 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7d000000" ;;
10262 esac
10263 else $as_nop
10264 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400" >&5
10265 printf %s "checking whether the compiler supports -Wl,--section-start,.interp=0x7d000400... " >&6; }
10266 if test ${ac_cv_cflags__Wl___section_start__interp_0x7d000400+y}
10267 then :
10268 printf %s "(cached) " >&6
10269 else $as_nop
10270 ac_wine_try_cflags_saved=$CFLAGS
10271 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7d000400"
10272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10273 /* end confdefs.h. */
10274 int main(int argc, char **argv) { return 0; }
10275 _ACEOF
10276 if ac_fn_c_try_link "$LINENO"
10277 then :
10278 ac_cv_cflags__Wl___section_start__interp_0x7d000400=yes
10279 else $as_nop
10280 ac_cv_cflags__Wl___section_start__interp_0x7d000400=no
10282 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10283 conftest$ac_exeext conftest.$ac_ext
10284 CFLAGS=$ac_wine_try_cflags_saved
10286 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&5
10287 printf "%s\n" "$ac_cv_cflags__Wl___section_start__interp_0x7d000400" >&6; }
10288 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7d000400" = xyes
10289 then :
10290 case $host_os in
10291 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
10292 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7d000400" ;;
10293 esac
10295 # Extract the first word of "prelink", so it can be a program name with args.
10296 set dummy prelink; ac_word=$2
10297 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10298 printf %s "checking for $ac_word... " >&6; }
10299 if test ${ac_cv_path_PRELINK+y}
10300 then :
10301 printf %s "(cached) " >&6
10302 else $as_nop
10303 case $PRELINK in
10304 [\\/]* | ?:[\\/]*)
10305 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
10308 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10309 for as_dir in /sbin /usr/sbin $PATH
10311 IFS=$as_save_IFS
10312 case $as_dir in #(((
10313 '') as_dir=./ ;;
10314 */) ;;
10315 *) as_dir=$as_dir/ ;;
10316 esac
10317 for ac_exec_ext in '' $ac_executable_extensions; do
10318 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10319 ac_cv_path_PRELINK="$as_dir$ac_word$ac_exec_ext"
10320 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10321 break 2
10323 done
10324 done
10325 IFS=$as_save_IFS
10327 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
10329 esac
10331 PRELINK=$ac_cv_path_PRELINK
10332 if test -n "$PRELINK"; then
10333 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
10334 printf "%s\n" "$PRELINK" >&6; }
10335 else
10336 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10337 printf "%s\n" "no" >&6; }
10341 if test "x$PRELINK" = xfalse
10342 then
10343 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
10346 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
10347 printf %s "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
10348 if test ${ac_cv_cflags__Wl__z_max_page_size_0x1000+y}
10349 then :
10350 printf %s "(cached) " >&6
10351 else $as_nop
10352 ac_wine_try_cflags_saved=$CFLAGS
10353 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
10354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10355 /* end confdefs.h. */
10356 int main(int argc, char **argv) { return 0; }
10357 _ACEOF
10358 if ac_fn_c_try_link "$LINENO"
10359 then :
10360 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
10361 else $as_nop
10362 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
10364 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10365 conftest$ac_exeext conftest.$ac_ext
10366 CFLAGS=$ac_wine_try_cflags_saved
10368 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
10369 printf "%s\n" "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
10370 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes
10371 then :
10372 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
10375 esac
10376 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
10378 LIBWINE_DEPENDS="wine.map"
10380 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
10382 esac
10384 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
10385 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
10386 enable_winemac_drv=${enable_winemac_drv:-no}
10388 PE_ARCHS=""
10390 cross_archs=
10391 if test ${enable_archs+y}
10392 then :
10393 test "x$with_system_dllpath" = "x" || as_fn_error $? "\"The --with-system-dllpath option is not compatible with --enable-archs\"" "$LINENO" 5
10394 ac_save_IFS=$IFS
10395 IFS=' ,'
10396 set x $enable_archs
10397 IFS=$ac_save_IFS
10398 shift
10399 for arch
10401 case $arch in
10402 i386|x86_64|arm|aarch64) cross_archs="$cross_archs $arch" ;;
10403 *) as_fn_error $? "Unknown cross-compilation architecture '$arch'" "$LINENO" 5 ;;
10404 esac
10405 done
10406 else $as_nop
10407 if test "x$with_mingw" != xno
10408 then
10409 test $HOST_ARCH = unknown || cross_archs=$HOST_ARCH
10410 case "x$with_mingw" in
10411 x|xyes) ;;
10412 *) eval "${cross_archs}_CC=\$with_mingw" ;;
10413 esac
10417 for wine_arch in $cross_archs
10419 if eval \${${wine_arch}_CC:+false} :
10420 then :
10421 case $wine_arch in
10422 aarch64)
10423 for ac_prog in aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc clang
10425 # Extract the first word of "$ac_prog", so it can be a program name with args.
10426 set dummy $ac_prog; ac_word=$2
10427 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10428 printf %s "checking for $ac_word... " >&6; }
10429 if test ${ac_cv_prog_aarch64_CC+y}
10430 then :
10431 printf %s "(cached) " >&6
10432 else $as_nop
10433 if test -n "$aarch64_CC"; then
10434 ac_cv_prog_aarch64_CC="$aarch64_CC" # Let the user override the test.
10435 else
10436 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10437 for as_dir in $PATH
10439 IFS=$as_save_IFS
10440 case $as_dir in #(((
10441 '') as_dir=./ ;;
10442 */) ;;
10443 *) as_dir=$as_dir/ ;;
10444 esac
10445 for ac_exec_ext in '' $ac_executable_extensions; do
10446 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10447 ac_cv_prog_aarch64_CC="$ac_prog"
10448 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10449 break 2
10451 done
10452 done
10453 IFS=$as_save_IFS
10457 aarch64_CC=$ac_cv_prog_aarch64_CC
10458 if test -n "$aarch64_CC"; then
10459 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $aarch64_CC" >&5
10460 printf "%s\n" "$aarch64_CC" >&6; }
10461 else
10462 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10463 printf "%s\n" "no" >&6; }
10467 test -n "$aarch64_CC" && break
10468 done
10469 test -n "$aarch64_CC" || aarch64_CC="false"
10472 arm)
10473 for ac_prog in armv7-w64-mingw32-clang armv7-w64-mingw32-gcc clang
10475 # Extract the first word of "$ac_prog", so it can be a program name with args.
10476 set dummy $ac_prog; ac_word=$2
10477 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10478 printf %s "checking for $ac_word... " >&6; }
10479 if test ${ac_cv_prog_arm_CC+y}
10480 then :
10481 printf %s "(cached) " >&6
10482 else $as_nop
10483 if test -n "$arm_CC"; then
10484 ac_cv_prog_arm_CC="$arm_CC" # Let the user override the test.
10485 else
10486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10487 for as_dir in $PATH
10489 IFS=$as_save_IFS
10490 case $as_dir in #(((
10491 '') as_dir=./ ;;
10492 */) ;;
10493 *) as_dir=$as_dir/ ;;
10494 esac
10495 for ac_exec_ext in '' $ac_executable_extensions; do
10496 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10497 ac_cv_prog_arm_CC="$ac_prog"
10498 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10499 break 2
10501 done
10502 done
10503 IFS=$as_save_IFS
10507 arm_CC=$ac_cv_prog_arm_CC
10508 if test -n "$arm_CC"; then
10509 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $arm_CC" >&5
10510 printf "%s\n" "$arm_CC" >&6; }
10511 else
10512 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10513 printf "%s\n" "no" >&6; }
10517 test -n "$arm_CC" && break
10518 done
10519 test -n "$arm_CC" || arm_CC="false"
10522 i386)
10523 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 "
10524 for ac_prog in $ac_prefix_list clang
10526 # Extract the first word of "$ac_prog", so it can be a program name with args.
10527 set dummy $ac_prog; ac_word=$2
10528 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10529 printf %s "checking for $ac_word... " >&6; }
10530 if test ${ac_cv_prog_i386_CC+y}
10531 then :
10532 printf %s "(cached) " >&6
10533 else $as_nop
10534 if test -n "$i386_CC"; then
10535 ac_cv_prog_i386_CC="$i386_CC" # Let the user override the test.
10536 else
10537 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10538 for as_dir in $PATH
10540 IFS=$as_save_IFS
10541 case $as_dir in #(((
10542 '') as_dir=./ ;;
10543 */) ;;
10544 *) as_dir=$as_dir/ ;;
10545 esac
10546 for ac_exec_ext in '' $ac_executable_extensions; do
10547 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10548 ac_cv_prog_i386_CC="$ac_prog"
10549 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10550 break 2
10552 done
10553 done
10554 IFS=$as_save_IFS
10558 i386_CC=$ac_cv_prog_i386_CC
10559 if test -n "$i386_CC"; then
10560 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $i386_CC" >&5
10561 printf "%s\n" "$i386_CC" >&6; }
10562 else
10563 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10564 printf "%s\n" "no" >&6; }
10568 test -n "$i386_CC" && break
10569 done
10570 test -n "$i386_CC" || i386_CC="false"
10573 x86_64)
10574 ac_prefix_list="x86_64-w64-mingw32-gcc amd64-w64-mingw32-gcc x86_64-w64-mingw32-clang amd64-w64-mingw32-clang "
10575 for ac_prog in $ac_prefix_list clang
10577 # Extract the first word of "$ac_prog", so it can be a program name with args.
10578 set dummy $ac_prog; ac_word=$2
10579 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
10580 printf %s "checking for $ac_word... " >&6; }
10581 if test ${ac_cv_prog_x86_64_CC+y}
10582 then :
10583 printf %s "(cached) " >&6
10584 else $as_nop
10585 if test -n "$x86_64_CC"; then
10586 ac_cv_prog_x86_64_CC="$x86_64_CC" # Let the user override the test.
10587 else
10588 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
10589 for as_dir in $PATH
10591 IFS=$as_save_IFS
10592 case $as_dir in #(((
10593 '') as_dir=./ ;;
10594 */) ;;
10595 *) as_dir=$as_dir/ ;;
10596 esac
10597 for ac_exec_ext in '' $ac_executable_extensions; do
10598 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
10599 ac_cv_prog_x86_64_CC="$ac_prog"
10600 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
10601 break 2
10603 done
10604 done
10605 IFS=$as_save_IFS
10609 x86_64_CC=$ac_cv_prog_x86_64_CC
10610 if test -n "$x86_64_CC"; then
10611 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $x86_64_CC" >&5
10612 printf "%s\n" "$x86_64_CC" >&6; }
10613 else
10614 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
10615 printf "%s\n" "no" >&6; }
10619 test -n "$x86_64_CC" && break
10620 done
10621 test -n "$x86_64_CC" || x86_64_CC="false"
10624 esac
10627 if eval test \"x\$"${wine_arch}_CC"\" = x"false"
10628 then :
10629 continue
10632 saved_CC=$CC
10633 saved_CFLAGS=$CFLAGS
10635 CFLAGS=${CROSSCFLAGS:-"-g -O2"}
10636 eval CC=\$${wine_arch}_CC
10637 eval ${wine_arch}_CFLAGS=\$CFLAGS
10638 eval ${wine_arch}_LDFLAGS=\$CROSSLDFLAGS
10639 eval "${wine_arch}_EXTRACFLAGS=\"-D__WINE_PE_BUILD -Wall\""
10641 target=""
10642 as_wine_cv_crosscc=`printf "%s\n" "ac_cv_${wine_arch}_crosscc" | $as_tr_sh`
10644 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
10645 printf %s "checking whether $CC works... " >&6; }
10646 if eval test \${$as_wine_cv_crosscc+y}
10647 then :
10648 printf %s "(cached) " >&6
10649 else $as_nop
10650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10651 /* end confdefs.h. */
10654 main (void)
10658 return 0;
10660 _ACEOF
10661 if ac_fn_c_try_compile "$LINENO"
10662 then :
10663 eval "$as_wine_cv_crosscc=yes"
10664 else $as_nop
10665 eval "$as_wine_cv_crosscc=no"
10667 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10669 eval ac_res=\$$as_wine_cv_crosscc
10670 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10671 printf "%s\n" "$ac_res" >&6; }
10672 if eval test \"x\$"$as_wine_cv_crosscc"\" = x"yes"
10673 then :
10674 set x $CC
10675 shift
10676 while test $# -ge 1
10678 case "$1" in
10679 *-gcc) target=`expr "$1" : '\(.*\)-gcc'` ;;
10680 *-clang) target=`expr "$1" : '\(.*\)-clang'` ;;
10681 esac
10682 shift
10683 done
10685 llvm_target=$target
10686 if test -z "$llvm_target"
10687 then
10688 case $wine_arch in
10689 i386) llvm_target=i686-windows ;;
10690 arm) llvm_target=armv7-windows ;;
10691 *) llvm_target=$wine_arch-windows ;;
10692 esac
10694 llvm_extra_cflags="-target $llvm_target -fuse-ld=lld"
10695 case $llvm_target in
10696 *windows) llvm_cflags="-Wl,-subsystem:console -Wl,-WX" ;;
10697 esac
10698 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_$llvm_extra_cflags $llvm_cflags" | $as_tr_sh`
10699 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports $llvm_extra_cflags $llvm_cflags" >&5
10700 printf %s "checking whether $CC supports $llvm_extra_cflags $llvm_cflags... " >&6; }
10701 if eval test \${$as_ac_var+y}
10702 then :
10703 printf %s "(cached) " >&6
10704 else $as_nop
10705 ac_wine_try_cflags_saved=$CFLAGS
10706 ac_wine_try_cflags_saved_exeext=$ac_exeext
10707 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs $llvm_extra_cflags $llvm_cflags"
10708 ac_exeext=".exe"
10709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10710 /* end confdefs.h. */
10711 int __cdecl mainCRTStartup(void) { return 0; }
10712 _ACEOF
10713 if ac_fn_c_try_link "$LINENO"
10714 then :
10715 eval "$as_ac_var=yes"
10716 else $as_nop
10717 eval "$as_ac_var=no"
10719 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10720 conftest$ac_exeext conftest.$ac_ext
10721 CFLAGS=$ac_wine_try_cflags_saved
10722 ac_exeext=$ac_wine_try_cflags_saved_exeext
10724 eval ac_res=\$$as_ac_var
10725 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10726 printf "%s\n" "$ac_res" >&6; }
10727 if eval test \"x\$"$as_ac_var"\" = x"yes"
10728 then :
10729 target=$llvm_target
10730 eval "${wine_arch}_DELAYLOADFLAG=\"-Wl,-delayload,\""
10731 as_fn_append ${wine_arch}_EXTRACFLAGS " $llvm_extra_cflags"
10732 CFLAGS="$llvm_extra_cflags $llvm_cflags"
10733 fi }
10734 eval "${wine_arch}_TARGET=\$target"
10738 if test -z "$target"
10739 then
10740 CC=$saved_CC
10741 CFLAGS=$saved_CFLAGS
10742 continue
10744 as_fn_append PE_ARCHS " $wine_arch"
10746 as_wine_cv_crosscc_c99=`printf "%s\n" "ac_cv_${wine_arch}_crosscc_c99" | $as_tr_sh`
10748 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $CC option to enable C99 features" >&5
10749 printf %s "checking for $CC option to enable C99 features... " >&6; }
10750 if eval test \${$as_wine_cv_crosscc_c99+y}
10751 then :
10752 printf %s "(cached) " >&6
10753 else $as_nop
10754 eval "$as_wine_cv_crosscc_c99=no"
10755 for arg in '' '-std=gnu99'
10757 test -z "$arg" || CC="$CC $arg"
10758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10759 /* end confdefs.h. */
10760 $ac_c_conftest_c99_program
10761 _ACEOF
10762 if ac_fn_c_try_compile "$LINENO"
10763 then :
10764 eval "$as_wine_cv_crosscc_c99=\$arg"
10765 else $as_nop
10766 eval "$as_wine_cv_crosscc_c99=no"
10768 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
10769 eval CC=\$${wine_arch}_CC
10770 if eval test \"x\$"$as_wine_cv_crosscc_c99"\" = x"no"
10771 then :
10773 else $as_nop
10774 break
10776 done
10779 eval res=\$$as_wine_cv_crosscc_c99
10780 case "x$res" in
10781 x) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
10782 printf "%s\n" "none needed" >&6; } ;;
10783 xno) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
10784 printf "%s\n" "unsupported" >&6; } ;;
10785 x*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $res" >&5
10786 printf "%s\n" "$res" >&6; }
10787 as_fn_append ${wine_arch}_CC " $res" ;;
10788 esac
10791 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-strict-aliasing" | $as_tr_sh`
10792 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-strict-aliasing" >&5
10793 printf %s "checking whether $CC supports -fno-strict-aliasing... " >&6; }
10794 if eval test \${$as_ac_var+y}
10795 then :
10796 printf %s "(cached) " >&6
10797 else $as_nop
10798 ac_wine_try_cflags_saved=$CFLAGS
10799 ac_wine_try_cflags_saved_exeext=$ac_exeext
10800 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -fno-strict-aliasing"
10801 ac_exeext=".exe"
10802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10803 /* end confdefs.h. */
10804 int __cdecl mainCRTStartup(void) { return 0; }
10805 _ACEOF
10806 if ac_fn_c_try_link "$LINENO"
10807 then :
10808 eval "$as_ac_var=yes"
10809 else $as_nop
10810 eval "$as_ac_var=no"
10812 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10813 conftest$ac_exeext conftest.$ac_ext
10814 CFLAGS=$ac_wine_try_cflags_saved
10815 ac_exeext=$ac_wine_try_cflags_saved_exeext
10817 eval ac_res=\$$as_ac_var
10818 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10819 printf "%s\n" "$ac_res" >&6; }
10820 if eval test \"x\$"$as_ac_var"\" = x"yes"
10821 then :
10822 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-strict-aliasing"
10823 fi }
10824 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=unknown-warning-option" | $as_tr_sh`
10825 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=unknown-warning-option" >&5
10826 printf %s "checking whether $CC supports -Werror=unknown-warning-option... " >&6; }
10827 if eval test \${$as_ac_var+y}
10828 then :
10829 printf %s "(cached) " >&6
10830 else $as_nop
10831 ac_wine_try_cflags_saved=$CFLAGS
10832 ac_wine_try_cflags_saved_exeext=$ac_exeext
10833 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror=unknown-warning-option"
10834 ac_exeext=".exe"
10835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10836 /* end confdefs.h. */
10837 int __cdecl mainCRTStartup(void) { return 0; }
10838 _ACEOF
10839 if ac_fn_c_try_link "$LINENO"
10840 then :
10841 eval "$as_ac_var=yes"
10842 else $as_nop
10843 eval "$as_ac_var=no"
10845 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10846 conftest$ac_exeext conftest.$ac_ext
10847 CFLAGS=$ac_wine_try_cflags_saved
10848 ac_exeext=$ac_wine_try_cflags_saved_exeext
10850 eval ac_res=\$$as_ac_var
10851 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10852 printf "%s\n" "$ac_res" >&6; }
10853 if eval test \"x\$"$as_ac_var"\" = x"yes"
10854 then :
10855 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
10856 fi }
10857 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror=ignored-optimization-argument" | $as_tr_sh`
10858 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror=ignored-optimization-argument" >&5
10859 printf %s "checking whether $CC supports -Werror=ignored-optimization-argument... " >&6; }
10860 if eval test \${$as_ac_var+y}
10861 then :
10862 printf %s "(cached) " >&6
10863 else $as_nop
10864 ac_wine_try_cflags_saved=$CFLAGS
10865 ac_wine_try_cflags_saved_exeext=$ac_exeext
10866 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror=ignored-optimization-argument"
10867 ac_exeext=".exe"
10868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10869 /* end confdefs.h. */
10870 int __cdecl mainCRTStartup(void) { return 0; }
10871 _ACEOF
10872 if ac_fn_c_try_link "$LINENO"
10873 then :
10874 eval "$as_ac_var=yes"
10875 else $as_nop
10876 eval "$as_ac_var=no"
10878 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10879 conftest$ac_exeext conftest.$ac_ext
10880 CFLAGS=$ac_wine_try_cflags_saved
10881 ac_exeext=$ac_wine_try_cflags_saved_exeext
10883 eval ac_res=\$$as_ac_var
10884 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10885 printf "%s\n" "$ac_res" >&6; }
10886 if eval test \"x\$"$as_ac_var"\" = x"yes"
10887 then :
10888 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
10889 fi }
10890 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wdeclaration-after-statement" | $as_tr_sh`
10891 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wdeclaration-after-statement" >&5
10892 printf %s "checking whether $CC supports -Wdeclaration-after-statement... " >&6; }
10893 if eval test \${$as_ac_var+y}
10894 then :
10895 printf %s "(cached) " >&6
10896 else $as_nop
10897 ac_wine_try_cflags_saved=$CFLAGS
10898 ac_wine_try_cflags_saved_exeext=$ac_exeext
10899 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wdeclaration-after-statement"
10900 ac_exeext=".exe"
10901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10902 /* end confdefs.h. */
10903 int __cdecl mainCRTStartup(void) { return 0; }
10904 _ACEOF
10905 if ac_fn_c_try_link "$LINENO"
10906 then :
10907 eval "$as_ac_var=yes"
10908 else $as_nop
10909 eval "$as_ac_var=no"
10911 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10912 conftest$ac_exeext conftest.$ac_ext
10913 CFLAGS=$ac_wine_try_cflags_saved
10914 ac_exeext=$ac_wine_try_cflags_saved_exeext
10916 eval ac_res=\$$as_ac_var
10917 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10918 printf "%s\n" "$ac_res" >&6; }
10919 if eval test \"x\$"$as_ac_var"\" = x"yes"
10920 then :
10921 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wdeclaration-after-statement"
10922 fi }
10923 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wempty-body" | $as_tr_sh`
10924 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wempty-body" >&5
10925 printf %s "checking whether $CC supports -Wempty-body... " >&6; }
10926 if eval test \${$as_ac_var+y}
10927 then :
10928 printf %s "(cached) " >&6
10929 else $as_nop
10930 ac_wine_try_cflags_saved=$CFLAGS
10931 ac_wine_try_cflags_saved_exeext=$ac_exeext
10932 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wempty-body"
10933 ac_exeext=".exe"
10934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10935 /* end confdefs.h. */
10936 int __cdecl mainCRTStartup(void) { return 0; }
10937 _ACEOF
10938 if ac_fn_c_try_link "$LINENO"
10939 then :
10940 eval "$as_ac_var=yes"
10941 else $as_nop
10942 eval "$as_ac_var=no"
10944 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10945 conftest$ac_exeext conftest.$ac_ext
10946 CFLAGS=$ac_wine_try_cflags_saved
10947 ac_exeext=$ac_wine_try_cflags_saved_exeext
10949 eval ac_res=\$$as_ac_var
10950 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10951 printf "%s\n" "$ac_res" >&6; }
10952 if eval test \"x\$"$as_ac_var"\" = x"yes"
10953 then :
10954 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wempty-body"
10955 fi }
10956 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wignored-qualifiers" | $as_tr_sh`
10957 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wignored-qualifiers" >&5
10958 printf %s "checking whether $CC supports -Wignored-qualifiers... " >&6; }
10959 if eval test \${$as_ac_var+y}
10960 then :
10961 printf %s "(cached) " >&6
10962 else $as_nop
10963 ac_wine_try_cflags_saved=$CFLAGS
10964 ac_wine_try_cflags_saved_exeext=$ac_exeext
10965 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wignored-qualifiers"
10966 ac_exeext=".exe"
10967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10968 /* end confdefs.h. */
10969 int __cdecl mainCRTStartup(void) { return 0; }
10970 _ACEOF
10971 if ac_fn_c_try_link "$LINENO"
10972 then :
10973 eval "$as_ac_var=yes"
10974 else $as_nop
10975 eval "$as_ac_var=no"
10977 rm -f core conftest.err conftest.$ac_objext conftest.beam \
10978 conftest$ac_exeext conftest.$ac_ext
10979 CFLAGS=$ac_wine_try_cflags_saved
10980 ac_exeext=$ac_wine_try_cflags_saved_exeext
10982 eval ac_res=\$$as_ac_var
10983 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
10984 printf "%s\n" "$ac_res" >&6; }
10985 if eval test \"x\$"$as_ac_var"\" = x"yes"
10986 then :
10987 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wignored-qualifiers"
10988 fi }
10989 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Winit-self" | $as_tr_sh`
10990 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Winit-self" >&5
10991 printf %s "checking whether $CC supports -Winit-self... " >&6; }
10992 if eval test \${$as_ac_var+y}
10993 then :
10994 printf %s "(cached) " >&6
10995 else $as_nop
10996 ac_wine_try_cflags_saved=$CFLAGS
10997 ac_wine_try_cflags_saved_exeext=$ac_exeext
10998 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Winit-self"
10999 ac_exeext=".exe"
11000 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11001 /* end confdefs.h. */
11002 int __cdecl mainCRTStartup(void) { return 0; }
11003 _ACEOF
11004 if ac_fn_c_try_link "$LINENO"
11005 then :
11006 eval "$as_ac_var=yes"
11007 else $as_nop
11008 eval "$as_ac_var=no"
11010 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11011 conftest$ac_exeext conftest.$ac_ext
11012 CFLAGS=$ac_wine_try_cflags_saved
11013 ac_exeext=$ac_wine_try_cflags_saved_exeext
11015 eval ac_res=\$$as_ac_var
11016 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11017 printf "%s\n" "$ac_res" >&6; }
11018 if eval test \"x\$"$as_ac_var"\" = x"yes"
11019 then :
11020 as_fn_append ${wine_arch}_EXTRACFLAGS " -Winit-self"
11021 fi }
11022 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpacked-not-aligned" | $as_tr_sh`
11023 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpacked-not-aligned" >&5
11024 printf %s "checking whether $CC supports -Wpacked-not-aligned... " >&6; }
11025 if eval test \${$as_ac_var+y}
11026 then :
11027 printf %s "(cached) " >&6
11028 else $as_nop
11029 ac_wine_try_cflags_saved=$CFLAGS
11030 ac_wine_try_cflags_saved_exeext=$ac_exeext
11031 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpacked-not-aligned"
11032 ac_exeext=".exe"
11033 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11034 /* end confdefs.h. */
11035 int __cdecl mainCRTStartup(void) { return 0; }
11036 _ACEOF
11037 if ac_fn_c_try_link "$LINENO"
11038 then :
11039 eval "$as_ac_var=yes"
11040 else $as_nop
11041 eval "$as_ac_var=no"
11043 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11044 conftest$ac_exeext conftest.$ac_ext
11045 CFLAGS=$ac_wine_try_cflags_saved
11046 ac_exeext=$ac_wine_try_cflags_saved_exeext
11048 eval ac_res=\$$as_ac_var
11049 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11050 printf "%s\n" "$ac_res" >&6; }
11051 if eval test \"x\$"$as_ac_var"\" = x"yes"
11052 then :
11053 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-packed-not-aligned"
11054 fi }
11055 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpragma-pack" | $as_tr_sh`
11056 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpragma-pack" >&5
11057 printf %s "checking whether $CC supports -Wpragma-pack... " >&6; }
11058 if eval test \${$as_ac_var+y}
11059 then :
11060 printf %s "(cached) " >&6
11061 else $as_nop
11062 ac_wine_try_cflags_saved=$CFLAGS
11063 ac_wine_try_cflags_saved_exeext=$ac_exeext
11064 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpragma-pack"
11065 ac_exeext=".exe"
11066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11067 /* end confdefs.h. */
11068 int __cdecl mainCRTStartup(void) { return 0; }
11069 _ACEOF
11070 if ac_fn_c_try_link "$LINENO"
11071 then :
11072 eval "$as_ac_var=yes"
11073 else $as_nop
11074 eval "$as_ac_var=no"
11076 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11077 conftest$ac_exeext conftest.$ac_ext
11078 CFLAGS=$ac_wine_try_cflags_saved
11079 ac_exeext=$ac_wine_try_cflags_saved_exeext
11081 eval ac_res=\$$as_ac_var
11082 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11083 printf "%s\n" "$ac_res" >&6; }
11084 if eval test \"x\$"$as_ac_var"\" = x"yes"
11085 then :
11086 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wno-pragma-pack"
11087 fi }
11088 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wshift-overflow=2" | $as_tr_sh`
11089 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wshift-overflow=2" >&5
11090 printf %s "checking whether $CC supports -Wshift-overflow=2... " >&6; }
11091 if eval test \${$as_ac_var+y}
11092 then :
11093 printf %s "(cached) " >&6
11094 else $as_nop
11095 ac_wine_try_cflags_saved=$CFLAGS
11096 ac_wine_try_cflags_saved_exeext=$ac_exeext
11097 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wshift-overflow=2"
11098 ac_exeext=".exe"
11099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11100 /* end confdefs.h. */
11101 int __cdecl mainCRTStartup(void) { return 0; }
11102 _ACEOF
11103 if ac_fn_c_try_link "$LINENO"
11104 then :
11105 eval "$as_ac_var=yes"
11106 else $as_nop
11107 eval "$as_ac_var=no"
11109 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11110 conftest$ac_exeext conftest.$ac_ext
11111 CFLAGS=$ac_wine_try_cflags_saved
11112 ac_exeext=$ac_wine_try_cflags_saved_exeext
11114 eval ac_res=\$$as_ac_var
11115 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11116 printf "%s\n" "$ac_res" >&6; }
11117 if eval test \"x\$"$as_ac_var"\" = x"yes"
11118 then :
11119 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wshift-overflow=2"
11120 fi }
11121 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wstrict-prototypes" | $as_tr_sh`
11122 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wstrict-prototypes" >&5
11123 printf %s "checking whether $CC supports -Wstrict-prototypes... " >&6; }
11124 if eval test \${$as_ac_var+y}
11125 then :
11126 printf %s "(cached) " >&6
11127 else $as_nop
11128 ac_wine_try_cflags_saved=$CFLAGS
11129 ac_wine_try_cflags_saved_exeext=$ac_exeext
11130 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wstrict-prototypes"
11131 ac_exeext=".exe"
11132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11133 /* end confdefs.h. */
11134 int __cdecl mainCRTStartup(void) { return 0; }
11135 _ACEOF
11136 if ac_fn_c_try_link "$LINENO"
11137 then :
11138 eval "$as_ac_var=yes"
11139 else $as_nop
11140 eval "$as_ac_var=no"
11142 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11143 conftest$ac_exeext conftest.$ac_ext
11144 CFLAGS=$ac_wine_try_cflags_saved
11145 ac_exeext=$ac_wine_try_cflags_saved_exeext
11147 eval ac_res=\$$as_ac_var
11148 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11149 printf "%s\n" "$ac_res" >&6; }
11150 if eval test \"x\$"$as_ac_var"\" = x"yes"
11151 then :
11152 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wstrict-prototypes"
11153 fi }
11154 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wtype-limits" | $as_tr_sh`
11155 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wtype-limits" >&5
11156 printf %s "checking whether $CC supports -Wtype-limits... " >&6; }
11157 if eval test \${$as_ac_var+y}
11158 then :
11159 printf %s "(cached) " >&6
11160 else $as_nop
11161 ac_wine_try_cflags_saved=$CFLAGS
11162 ac_wine_try_cflags_saved_exeext=$ac_exeext
11163 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wtype-limits"
11164 ac_exeext=".exe"
11165 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11166 /* end confdefs.h. */
11167 int __cdecl mainCRTStartup(void) { return 0; }
11168 _ACEOF
11169 if ac_fn_c_try_link "$LINENO"
11170 then :
11171 eval "$as_ac_var=yes"
11172 else $as_nop
11173 eval "$as_ac_var=no"
11175 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11176 conftest$ac_exeext conftest.$ac_ext
11177 CFLAGS=$ac_wine_try_cflags_saved
11178 ac_exeext=$ac_wine_try_cflags_saved_exeext
11180 eval ac_res=\$$as_ac_var
11181 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11182 printf "%s\n" "$ac_res" >&6; }
11183 if eval test \"x\$"$as_ac_var"\" = x"yes"
11184 then :
11185 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wtype-limits"
11186 fi }
11187 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wunused-but-set-parameter" | $as_tr_sh`
11188 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wunused-but-set-parameter" >&5
11189 printf %s "checking whether $CC supports -Wunused-but-set-parameter... " >&6; }
11190 if eval test \${$as_ac_var+y}
11191 then :
11192 printf %s "(cached) " >&6
11193 else $as_nop
11194 ac_wine_try_cflags_saved=$CFLAGS
11195 ac_wine_try_cflags_saved_exeext=$ac_exeext
11196 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wunused-but-set-parameter"
11197 ac_exeext=".exe"
11198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11199 /* end confdefs.h. */
11200 int __cdecl mainCRTStartup(void) { return 0; }
11201 _ACEOF
11202 if ac_fn_c_try_link "$LINENO"
11203 then :
11204 eval "$as_ac_var=yes"
11205 else $as_nop
11206 eval "$as_ac_var=no"
11208 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11209 conftest$ac_exeext conftest.$ac_ext
11210 CFLAGS=$ac_wine_try_cflags_saved
11211 ac_exeext=$ac_wine_try_cflags_saved_exeext
11213 eval ac_res=\$$as_ac_var
11214 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11215 printf "%s\n" "$ac_res" >&6; }
11216 if eval test \"x\$"$as_ac_var"\" = x"yes"
11217 then :
11218 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wunused-but-set-parameter"
11219 fi }
11220 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wvla" | $as_tr_sh`
11221 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wvla" >&5
11222 printf %s "checking whether $CC supports -Wvla... " >&6; }
11223 if eval test \${$as_ac_var+y}
11224 then :
11225 printf %s "(cached) " >&6
11226 else $as_nop
11227 ac_wine_try_cflags_saved=$CFLAGS
11228 ac_wine_try_cflags_saved_exeext=$ac_exeext
11229 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wvla"
11230 ac_exeext=".exe"
11231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11232 /* end confdefs.h. */
11233 int __cdecl mainCRTStartup(void) { return 0; }
11234 _ACEOF
11235 if ac_fn_c_try_link "$LINENO"
11236 then :
11237 eval "$as_ac_var=yes"
11238 else $as_nop
11239 eval "$as_ac_var=no"
11241 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11242 conftest$ac_exeext conftest.$ac_ext
11243 CFLAGS=$ac_wine_try_cflags_saved
11244 ac_exeext=$ac_wine_try_cflags_saved_exeext
11246 eval ac_res=\$$as_ac_var
11247 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11248 printf "%s\n" "$ac_res" >&6; }
11249 if eval test \"x\$"$as_ac_var"\" = x"yes"
11250 then :
11251 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wvla"
11252 fi }
11253 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wwrite-strings" | $as_tr_sh`
11254 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wwrite-strings" >&5
11255 printf %s "checking whether $CC supports -Wwrite-strings... " >&6; }
11256 if eval test \${$as_ac_var+y}
11257 then :
11258 printf %s "(cached) " >&6
11259 else $as_nop
11260 ac_wine_try_cflags_saved=$CFLAGS
11261 ac_wine_try_cflags_saved_exeext=$ac_exeext
11262 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wwrite-strings"
11263 ac_exeext=".exe"
11264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11265 /* end confdefs.h. */
11266 int __cdecl mainCRTStartup(void) { return 0; }
11267 _ACEOF
11268 if ac_fn_c_try_link "$LINENO"
11269 then :
11270 eval "$as_ac_var=yes"
11271 else $as_nop
11272 eval "$as_ac_var=no"
11274 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11275 conftest$ac_exeext conftest.$ac_ext
11276 CFLAGS=$ac_wine_try_cflags_saved
11277 ac_exeext=$ac_wine_try_cflags_saved_exeext
11279 eval ac_res=\$$as_ac_var
11280 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11281 printf "%s\n" "$ac_res" >&6; }
11282 if eval test \"x\$"$as_ac_var"\" = x"yes"
11283 then :
11284 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wwrite-strings"
11285 fi }
11286 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wpointer-arith" | $as_tr_sh`
11287 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wpointer-arith" >&5
11288 printf %s "checking whether $CC supports -Wpointer-arith... " >&6; }
11289 if eval test \${$as_ac_var+y}
11290 then :
11291 printf %s "(cached) " >&6
11292 else $as_nop
11293 ac_wine_try_cflags_saved=$CFLAGS
11294 ac_wine_try_cflags_saved_exeext=$ac_exeext
11295 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wpointer-arith"
11296 ac_exeext=".exe"
11297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11298 /* end confdefs.h. */
11299 int __cdecl mainCRTStartup(void) { return 0; }
11300 _ACEOF
11301 if ac_fn_c_try_link "$LINENO"
11302 then :
11303 eval "$as_ac_var=yes"
11304 else $as_nop
11305 eval "$as_ac_var=no"
11307 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11308 conftest$ac_exeext conftest.$ac_ext
11309 CFLAGS=$ac_wine_try_cflags_saved
11310 ac_exeext=$ac_wine_try_cflags_saved_exeext
11312 eval ac_res=\$$as_ac_var
11313 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11314 printf "%s\n" "$ac_res" >&6; }
11315 if eval test \"x\$"$as_ac_var"\" = x"yes"
11316 then :
11317 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wpointer-arith"
11318 fi }
11319 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wlogical-op" | $as_tr_sh`
11320 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wlogical-op" >&5
11321 printf %s "checking whether $CC supports -Wlogical-op... " >&6; }
11322 if eval test \${$as_ac_var+y}
11323 then :
11324 printf %s "(cached) " >&6
11325 else $as_nop
11326 ac_wine_try_cflags_saved=$CFLAGS
11327 ac_wine_try_cflags_saved_exeext=$ac_exeext
11328 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wlogical-op"
11329 ac_exeext=".exe"
11330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11331 /* end confdefs.h. */
11332 int __cdecl mainCRTStartup(void) { return 0; }
11333 _ACEOF
11334 if ac_fn_c_try_link "$LINENO"
11335 then :
11336 eval "$as_ac_var=yes"
11337 else $as_nop
11338 eval "$as_ac_var=no"
11340 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11341 conftest$ac_exeext conftest.$ac_ext
11342 CFLAGS=$ac_wine_try_cflags_saved
11343 ac_exeext=$ac_wine_try_cflags_saved_exeext
11345 eval ac_res=\$$as_ac_var
11346 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11347 printf "%s\n" "$ac_res" >&6; }
11348 if eval test \"x\$"$as_ac_var"\" = x"yes"
11349 then :
11350 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wlogical-op"
11351 fi }
11352 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wabsolute-value" | $as_tr_sh`
11353 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wabsolute-value" >&5
11354 printf %s "checking whether $CC supports -Wabsolute-value... " >&6; }
11355 if eval test \${$as_ac_var+y}
11356 then :
11357 printf %s "(cached) " >&6
11358 else $as_nop
11359 ac_wine_try_cflags_saved=$CFLAGS
11360 ac_wine_try_cflags_saved_exeext=$ac_exeext
11361 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wabsolute-value"
11362 ac_exeext=".exe"
11363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11364 /* end confdefs.h. */
11365 int __cdecl mainCRTStartup(void) { return 0; }
11366 _ACEOF
11367 if ac_fn_c_try_link "$LINENO"
11368 then :
11369 eval "$as_ac_var=yes"
11370 else $as_nop
11371 eval "$as_ac_var=no"
11373 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11374 conftest$ac_exeext conftest.$ac_ext
11375 CFLAGS=$ac_wine_try_cflags_saved
11376 ac_exeext=$ac_wine_try_cflags_saved_exeext
11378 eval ac_res=\$$as_ac_var
11379 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11380 printf "%s\n" "$ac_res" >&6; }
11381 if eval test \"x\$"$as_ac_var"\" = x"yes"
11382 then :
11383 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wabsolute-value"
11384 fi }
11386 case $wine_arch in
11387 i386) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-fno-omit-frame-pointer" | $as_tr_sh`
11388 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -fno-omit-frame-pointer" >&5
11389 printf %s "checking whether $CC supports -fno-omit-frame-pointer... " >&6; }
11390 if eval test \${$as_ac_var+y}
11391 then :
11392 printf %s "(cached) " >&6
11393 else $as_nop
11394 ac_wine_try_cflags_saved=$CFLAGS
11395 ac_wine_try_cflags_saved_exeext=$ac_exeext
11396 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -fno-omit-frame-pointer"
11397 ac_exeext=".exe"
11398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11399 /* end confdefs.h. */
11400 int __cdecl mainCRTStartup(void) { return 0; }
11401 _ACEOF
11402 if ac_fn_c_try_link "$LINENO"
11403 then :
11404 eval "$as_ac_var=yes"
11405 else $as_nop
11406 eval "$as_ac_var=no"
11408 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11409 conftest$ac_exeext conftest.$ac_ext
11410 CFLAGS=$ac_wine_try_cflags_saved
11411 ac_exeext=$ac_wine_try_cflags_saved_exeext
11413 eval ac_res=\$$as_ac_var
11414 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11415 printf "%s\n" "$ac_res" >&6; }
11416 if eval test \"x\$"$as_ac_var"\" = x"yes"
11417 then :
11418 as_fn_append ${wine_arch}_EXTRACFLAGS " -fno-omit-frame-pointer"
11419 fi }
11420 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--disable-stdcall-fixup" | $as_tr_sh`
11421 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--disable-stdcall-fixup" >&5
11422 printf %s "checking whether $CC supports -Wl,--disable-stdcall-fixup... " >&6; }
11423 if eval test \${$as_ac_var+y}
11424 then :
11425 printf %s "(cached) " >&6
11426 else $as_nop
11427 ac_wine_try_cflags_saved=$CFLAGS
11428 ac_wine_try_cflags_saved_exeext=$ac_exeext
11429 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wl,--disable-stdcall-fixup"
11430 ac_exeext=".exe"
11431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11432 /* end confdefs.h. */
11433 int __cdecl mainCRTStartup(void) { return 0; }
11434 _ACEOF
11435 if ac_fn_c_try_link "$LINENO"
11436 then :
11437 eval "$as_ac_var=yes"
11438 else $as_nop
11439 eval "$as_ac_var=no"
11441 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11442 conftest$ac_exeext conftest.$ac_ext
11443 CFLAGS=$ac_wine_try_cflags_saved
11444 ac_exeext=$ac_wine_try_cflags_saved_exeext
11446 eval ac_res=\$$as_ac_var
11447 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11448 printf "%s\n" "$ac_res" >&6; }
11449 if eval test \"x\$"$as_ac_var"\" = x"yes"
11450 then :
11451 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--disable-stdcall-fixup"
11452 fi } ;;
11453 x86_64) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wformat-overflow" | $as_tr_sh`
11454 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wformat-overflow" >&5
11455 printf %s "checking whether $CC supports -Wformat-overflow... " >&6; }
11456 if eval test \${$as_ac_var+y}
11457 then :
11458 printf %s "(cached) " >&6
11459 else $as_nop
11460 ac_wine_try_cflags_saved=$CFLAGS
11461 ac_wine_try_cflags_saved_exeext=$ac_exeext
11462 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wformat-overflow"
11463 ac_exeext=".exe"
11464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11465 /* end confdefs.h. */
11466 int __cdecl mainCRTStartup(void) { return 0; }
11467 _ACEOF
11468 if ac_fn_c_try_link "$LINENO"
11469 then :
11470 eval "$as_ac_var=yes"
11471 else $as_nop
11472 eval "$as_ac_var=no"
11474 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11475 conftest$ac_exeext conftest.$ac_ext
11476 CFLAGS=$ac_wine_try_cflags_saved
11477 ac_exeext=$ac_wine_try_cflags_saved_exeext
11479 eval ac_res=\$$as_ac_var
11480 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11481 printf "%s\n" "$ac_res" >&6; }
11482 if eval test \"x\$"$as_ac_var"\" = x"yes"
11483 then :
11484 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wformat-overflow"
11485 fi }
11486 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wnonnull" | $as_tr_sh`
11487 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wnonnull" >&5
11488 printf %s "checking whether $CC supports -Wnonnull... " >&6; }
11489 if eval test \${$as_ac_var+y}
11490 then :
11491 printf %s "(cached) " >&6
11492 else $as_nop
11493 ac_wine_try_cflags_saved=$CFLAGS
11494 ac_wine_try_cflags_saved_exeext=$ac_exeext
11495 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wnonnull"
11496 ac_exeext=".exe"
11497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11498 /* end confdefs.h. */
11499 int __cdecl mainCRTStartup(void) { return 0; }
11500 _ACEOF
11501 if ac_fn_c_try_link "$LINENO"
11502 then :
11503 eval "$as_ac_var=yes"
11504 else $as_nop
11505 eval "$as_ac_var=no"
11507 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11508 conftest$ac_exeext conftest.$ac_ext
11509 CFLAGS=$ac_wine_try_cflags_saved
11510 ac_exeext=$ac_wine_try_cflags_saved_exeext
11512 eval ac_res=\$$as_ac_var
11513 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11514 printf "%s\n" "$ac_res" >&6; }
11515 if eval test \"x\$"$as_ac_var"\" = x"yes"
11516 then :
11517 as_fn_append ${wine_arch}_EXTRACFLAGS " -Wnonnull"
11518 fi }
11519 { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-mcx16" | $as_tr_sh`
11520 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mcx16" >&5
11521 printf %s "checking whether $CC supports -mcx16... " >&6; }
11522 if eval test \${$as_ac_var+y}
11523 then :
11524 printf %s "(cached) " >&6
11525 else $as_nop
11526 ac_wine_try_cflags_saved=$CFLAGS
11527 ac_wine_try_cflags_saved_exeext=$ac_exeext
11528 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -mcx16"
11529 ac_exeext=".exe"
11530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11531 /* end confdefs.h. */
11532 int __cdecl mainCRTStartup(void) { return 0; }
11533 _ACEOF
11534 if ac_fn_c_try_link "$LINENO"
11535 then :
11536 eval "$as_ac_var=yes"
11537 else $as_nop
11538 eval "$as_ac_var=no"
11540 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11541 conftest$ac_exeext conftest.$ac_ext
11542 CFLAGS=$ac_wine_try_cflags_saved
11543 ac_exeext=$ac_wine_try_cflags_saved_exeext
11545 eval ac_res=\$$as_ac_var
11546 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11547 printf "%s\n" "$ac_res" >&6; }
11548 if eval test \"x\$"$as_ac_var"\" = x"yes"
11549 then :
11550 as_fn_append ${wine_arch}_EXTRACFLAGS " -mcx16"
11551 fi } ;;
11552 esac
11554 wine_crossdebug=$CROSSDEBUG
11555 if test -z "$wine_crossdebug"
11556 then
11557 for ac_flag in $CFLAGS; do
11558 case $ac_flag in
11559 -gdwarf*) wine_crossdebug=dwarf ;;
11560 -gcodeview) wine_crossdebug=pdb ;;
11561 -g) wine_crossdebug=${wine_crossdebug:-dwarf} ;;
11562 esac
11563 done
11566 ac_debug_format_seen=""
11567 for ac_flag in $CFLAGS; do
11568 case $ac_flag in
11569 -gdwarf*|-gcodeview) ac_debug_format_seen=$ac_flag ;;
11570 esac
11571 done
11572 if test "x$ac_debug_format_seen" = x
11573 then
11574 case $wine_crossdebug in
11575 *dwarf) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gdwarf-4" | $as_tr_sh`
11576 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gdwarf-4" >&5
11577 printf %s "checking whether $CC supports -gdwarf-4... " >&6; }
11578 if eval test \${$as_ac_var+y}
11579 then :
11580 printf %s "(cached) " >&6
11581 else $as_nop
11582 ac_wine_try_cflags_saved=$CFLAGS
11583 ac_wine_try_cflags_saved_exeext=$ac_exeext
11584 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -gdwarf-4"
11585 ac_exeext=".exe"
11586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11587 /* end confdefs.h. */
11588 int __cdecl mainCRTStartup(void) { return 0; }
11589 _ACEOF
11590 if ac_fn_c_try_link "$LINENO"
11591 then :
11592 eval "$as_ac_var=yes"
11593 else $as_nop
11594 eval "$as_ac_var=no"
11596 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11597 conftest$ac_exeext conftest.$ac_ext
11598 CFLAGS=$ac_wine_try_cflags_saved
11599 ac_exeext=$ac_wine_try_cflags_saved_exeext
11601 eval ac_res=\$$as_ac_var
11602 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11603 printf "%s\n" "$ac_res" >&6; }
11604 if eval test \"x\$"$as_ac_var"\" = x"yes"
11605 then :
11606 as_fn_append ${wine_arch}_EXTRACFLAGS " -gdwarf-4"
11607 fi } ;;
11608 pdb) { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-gcodeview" | $as_tr_sh`
11609 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -gcodeview" >&5
11610 printf %s "checking whether $CC supports -gcodeview... " >&6; }
11611 if eval test \${$as_ac_var+y}
11612 then :
11613 printf %s "(cached) " >&6
11614 else $as_nop
11615 ac_wine_try_cflags_saved=$CFLAGS
11616 ac_wine_try_cflags_saved_exeext=$ac_exeext
11617 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -gcodeview"
11618 ac_exeext=".exe"
11619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11620 /* end confdefs.h. */
11621 int __cdecl mainCRTStartup(void) { return 0; }
11622 _ACEOF
11623 if ac_fn_c_try_link "$LINENO"
11624 then :
11625 eval "$as_ac_var=yes"
11626 else $as_nop
11627 eval "$as_ac_var=no"
11629 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11630 conftest$ac_exeext conftest.$ac_ext
11631 CFLAGS=$ac_wine_try_cflags_saved
11632 ac_exeext=$ac_wine_try_cflags_saved_exeext
11634 eval ac_res=\$$as_ac_var
11635 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11636 printf "%s\n" "$ac_res" >&6; }
11637 if eval test \"x\$"$as_ac_var"\" = x"yes"
11638 then :
11639 as_fn_append ${wine_arch}_EXTRACFLAGS " -gcodeview"
11640 fi } ;;
11641 esac
11643 eval "${wine_arch}_DEBUG=\$wine_crossdebug"
11645 test "x$enable_werror" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Werror" | $as_tr_sh`
11646 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Werror" >&5
11647 printf %s "checking whether $CC supports -Werror... " >&6; }
11648 if eval test \${$as_ac_var+y}
11649 then :
11650 printf %s "(cached) " >&6
11651 else $as_nop
11652 ac_wine_try_cflags_saved=$CFLAGS
11653 ac_wine_try_cflags_saved_exeext=$ac_exeext
11654 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Werror"
11655 ac_exeext=".exe"
11656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11657 /* end confdefs.h. */
11658 int __cdecl mainCRTStartup(void) { return 0; }
11659 _ACEOF
11660 if ac_fn_c_try_link "$LINENO"
11661 then :
11662 eval "$as_ac_var=yes"
11663 else $as_nop
11664 eval "$as_ac_var=no"
11666 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11667 conftest$ac_exeext conftest.$ac_ext
11668 CFLAGS=$ac_wine_try_cflags_saved
11669 ac_exeext=$ac_wine_try_cflags_saved_exeext
11671 eval ac_res=\$$as_ac_var
11672 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11673 printf "%s\n" "$ac_res" >&6; }
11674 if eval test \"x\$"$as_ac_var"\" = x"yes"
11675 then :
11676 as_fn_append ${wine_arch}_EXTRACFLAGS " -Werror"
11677 fi }
11678 test "x$enable_build_id" != xyes || { as_ac_var=`printf "%s\n" "ac_cv_${wine_arch}_cflags_-Wl,--build-id" | $as_tr_sh`
11679 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -Wl,--build-id" >&5
11680 printf %s "checking whether $CC supports -Wl,--build-id... " >&6; }
11681 if eval test \${$as_ac_var+y}
11682 then :
11683 printf %s "(cached) " >&6
11684 else $as_nop
11685 ac_wine_try_cflags_saved=$CFLAGS
11686 ac_wine_try_cflags_saved_exeext=$ac_exeext
11687 CFLAGS="$CFLAGS -nostdlib -nodefaultlibs -Wl,--build-id"
11688 ac_exeext=".exe"
11689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11690 /* end confdefs.h. */
11691 int __cdecl mainCRTStartup(void) { return 0; }
11692 _ACEOF
11693 if ac_fn_c_try_link "$LINENO"
11694 then :
11695 eval "$as_ac_var=yes"
11696 else $as_nop
11697 eval "$as_ac_var=no"
11699 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11700 conftest$ac_exeext conftest.$ac_ext
11701 CFLAGS=$ac_wine_try_cflags_saved
11702 ac_exeext=$ac_wine_try_cflags_saved_exeext
11704 eval ac_res=\$$as_ac_var
11705 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
11706 printf "%s\n" "$ac_res" >&6; }
11707 if eval test \"x\$"$as_ac_var"\" = x"yes"
11708 then :
11709 as_fn_append ${wine_arch}_CFLAGS " -Wl,--build-id"
11710 as_fn_append ${wine_arch}_LDFLAGS " -Wl,--build-id"
11711 fi }
11713 CC=$saved_CC
11714 CFLAGS=$saved_CFLAGS
11715 done
11717 if test $HOST_ARCH = aarch64 -a "x$PE_ARCHS" = x
11718 then
11719 as_fn_error $? "PE cross-compilation is required for ARM64, please install clang/llvm-dlltool/lld, or llvm-mingw." "$LINENO" 5
11722 if test "x$PE_ARCHS" = "x"
11723 then :
11724 case "x$with_mingw" in
11725 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
11726 xno) ;;
11727 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
11728 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
11729 esac
11734 if test "x$with_system_dllpath" != "x" -a -n "$PE_ARCHS"
11735 then
11736 case "$host_cpu" in
11737 i[3456789]86*)
11738 ac_prefix_list="i686-w64-mingw32-pkg-config i586-w64-mingw32-pkg-config i486-w64-mingw32-pkg-config i386-w64-mingw32-pkg-config " ;;
11740 ac_prefix_list="$host_cpu-w64-mingw32-pkg-config" ;;
11741 esac
11742 for ac_prog in $ac_prefix_list
11744 # Extract the first word of "$ac_prog", so it can be a program name with args.
11745 set dummy $ac_prog; ac_word=$2
11746 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
11747 printf %s "checking for $ac_word... " >&6; }
11748 if test ${ac_cv_prog_MINGW_PKG_CONFIG+y}
11749 then :
11750 printf %s "(cached) " >&6
11751 else $as_nop
11752 if test -n "$MINGW_PKG_CONFIG"; then
11753 ac_cv_prog_MINGW_PKG_CONFIG="$MINGW_PKG_CONFIG" # Let the user override the test.
11754 else
11755 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
11756 for as_dir in $PATH
11758 IFS=$as_save_IFS
11759 case $as_dir in #(((
11760 '') as_dir=./ ;;
11761 */) ;;
11762 *) as_dir=$as_dir/ ;;
11763 esac
11764 for ac_exec_ext in '' $ac_executable_extensions; do
11765 if as_fn_executable_p "$as_dir$ac_word$ac_exec_ext"; then
11766 ac_cv_prog_MINGW_PKG_CONFIG="$ac_prog"
11767 printf "%s\n" "$as_me:${as_lineno-$LINENO}: found $as_dir$ac_word$ac_exec_ext" >&5
11768 break 2
11770 done
11771 done
11772 IFS=$as_save_IFS
11776 MINGW_PKG_CONFIG=$ac_cv_prog_MINGW_PKG_CONFIG
11777 if test -n "$MINGW_PKG_CONFIG"; then
11778 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $MINGW_PKG_CONFIG" >&5
11779 printf "%s\n" "$MINGW_PKG_CONFIG" >&6; }
11780 else
11781 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
11782 printf "%s\n" "no" >&6; }
11786 test -n "$MINGW_PKG_CONFIG" && break
11787 done
11788 test -n "$MINGW_PKG_CONFIG" || MINGW_PKG_CONFIG="false"
11790 if ${FAUDIO_PE_CFLAGS:+false} :
11791 then :
11792 if test ${MINGW_PKG_CONFIG+y}
11793 then :
11794 FAUDIO_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags FAudio 2>/dev/null`
11797 if ${FAUDIO_PE_LIBS:+false} :
11798 then :
11799 if test ${MINGW_PKG_CONFIG+y}
11800 then :
11801 FAUDIO_PE_LIBS=`$MINGW_PKG_CONFIG --libs FAudio 2>/dev/null`
11804 FAUDIO_PE_LIBS=${FAUDIO_PE_LIBS:-"-lFAudio"}
11805 ac_save_CPPFLAGS=$CPPFLAGS
11806 CPPFLAGS="$CPPFLAGS $FAUDIO_PE_CFLAGS"
11807 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW FAudio.h" >&5
11808 printf %s "checking for MinGW FAudio.h... " >&6; }
11809 if test ${ac_cv_mingw_header_FAudio_h+y}
11810 then :
11811 printf %s "(cached) " >&6
11812 else $as_nop
11813 ac_wine_check_headers_saved_cc=$CC
11814 ac_wine_check_headers_saved_exeext=$ac_exeext
11815 eval CC=\$${wine_arch}_CC
11816 ac_exeext=".exe"
11817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11818 /* end confdefs.h. */
11820 #include <FAudio.h>
11822 main (void)
11826 return 0;
11828 _ACEOF
11829 if ac_fn_c_try_compile "$LINENO"
11830 then :
11831 ac_cv_mingw_header_FAudio_h=yes
11832 else $as_nop
11833 ac_cv_mingw_header_FAudio_h=no
11835 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11836 CC=$ac_wine_check_headers_saved_cc
11837 ac_exeext=$ac_wine_check_headers_saved_exeext
11839 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_FAudio_h" >&5
11840 printf "%s\n" "$ac_cv_mingw_header_FAudio_h" >&6; }
11841 if test "x$ac_cv_mingw_header_FAudio_h" = xyes
11842 then :
11843 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for FAudio_CommitOperationSet in MinGW -lFAudio" >&5
11844 printf %s "checking for FAudio_CommitOperationSet in MinGW -lFAudio... " >&6; }
11845 if test ${ac_cv_mingw_lib_FAudio+y}
11846 then :
11847 printf %s "(cached) " >&6
11848 else $as_nop
11849 ac_wine_check_headers_saved_cc=$CC
11850 ac_wine_check_headers_saved_exeext=$ac_exeext
11851 ac_wine_check_headers_saved_libs=$LIBS
11852 eval CC=\$${wine_arch}_CC
11853 ac_exeext=".exe"
11854 LIBS="-lFAudio $FAUDIO_PE_LIBS $LIBS"
11855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11856 /* end confdefs.h. */
11858 /* Override any GCC internal prototype to avoid an error.
11859 Use char because int might match the return type of a GCC
11860 builtin and then its argument prototype would still apply. */
11861 char FAudio_CommitOperationSet ();
11863 main (void)
11865 return FAudio_CommitOperationSet ();
11867 return 0;
11869 _ACEOF
11870 if ac_fn_c_try_link "$LINENO"
11871 then :
11872 ac_cv_mingw_lib_FAudio=yes
11873 else $as_nop
11874 ac_cv_mingw_lib_FAudio=no
11876 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11877 conftest$ac_exeext conftest.$ac_ext
11878 CC=$ac_wine_check_headers_saved_cc
11879 ac_exeext=$ac_wine_check_headers_saved_exeext
11880 LIBS=$ac_wine_check_headers_saved_libs
11882 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_FAudio" >&5
11883 printf "%s\n" "$ac_cv_mingw_lib_FAudio" >&6; }
11884 if test "x$ac_cv_mingw_lib_FAudio" = xyes
11885 then :
11887 else $as_nop
11888 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
11890 else $as_nop
11891 FAUDIO_PE_CFLAGS=""; FAUDIO_PE_LIBS=""
11893 CPPFLAGS=$ac_save_CPPFLAGS
11895 if test "x$FAUDIO_PE_LIBS" = "x"
11896 then
11897 as_fn_append wine_notices "|FAudio ${notice_platform}MinGW development files not found (or too old); using bundled version."
11900 if ${JPEG_PE_CFLAGS:+false} :
11901 then :
11902 if test ${MINGW_PKG_CONFIG+y}
11903 then :
11904 JPEG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libjpeg 2>/dev/null`
11907 if ${JPEG_PE_LIBS:+false} :
11908 then :
11909 if test ${MINGW_PKG_CONFIG+y}
11910 then :
11911 JPEG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libjpeg 2>/dev/null`
11915 ac_save_CPPFLAGS=$CPPFLAGS
11916 CPPFLAGS="$CPPFLAGS $JPEG_PE_CFLAGS"
11917 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW jpeglib.h" >&5
11918 printf %s "checking for MinGW jpeglib.h... " >&6; }
11919 if test ${ac_cv_mingw_header_jpeglib_h+y}
11920 then :
11921 printf %s "(cached) " >&6
11922 else $as_nop
11923 ac_wine_check_headers_saved_cc=$CC
11924 ac_wine_check_headers_saved_exeext=$ac_exeext
11925 eval CC=\$${wine_arch}_CC
11926 ac_exeext=".exe"
11927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11928 /* end confdefs.h. */
11929 #include <stddef.h>
11930 #include <stdio.h>
11931 #include <jpeglib.h>
11933 main (void)
11937 return 0;
11939 _ACEOF
11940 if ac_fn_c_try_compile "$LINENO"
11941 then :
11942 ac_cv_mingw_header_jpeglib_h=yes
11943 else $as_nop
11944 ac_cv_mingw_header_jpeglib_h=no
11946 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
11947 CC=$ac_wine_check_headers_saved_cc
11948 ac_exeext=$ac_wine_check_headers_saved_exeext
11950 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_jpeglib_h" >&5
11951 printf "%s\n" "$ac_cv_mingw_header_jpeglib_h" >&6; }
11952 if test "x$ac_cv_mingw_header_jpeglib_h" = xyes
11953 then :
11954 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for jpeg_start_decompress in MinGW -ljpeg" >&5
11955 printf %s "checking for jpeg_start_decompress in MinGW -ljpeg... " >&6; }
11956 if test ${ac_cv_mingw_lib_jpeg+y}
11957 then :
11958 printf %s "(cached) " >&6
11959 else $as_nop
11960 ac_wine_check_headers_saved_cc=$CC
11961 ac_wine_check_headers_saved_exeext=$ac_exeext
11962 ac_wine_check_headers_saved_libs=$LIBS
11963 eval CC=\$${wine_arch}_CC
11964 ac_exeext=".exe"
11965 LIBS="-ljpeg $JPEG_PE_LIBS $LIBS"
11966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11967 /* end confdefs.h. */
11969 /* Override any GCC internal prototype to avoid an error.
11970 Use char because int might match the return type of a GCC
11971 builtin and then its argument prototype would still apply. */
11972 char jpeg_start_decompress ();
11974 main (void)
11976 return jpeg_start_decompress ();
11978 return 0;
11980 _ACEOF
11981 if ac_fn_c_try_link "$LINENO"
11982 then :
11983 ac_cv_mingw_lib_jpeg=yes
11984 else $as_nop
11985 ac_cv_mingw_lib_jpeg=no
11987 rm -f core conftest.err conftest.$ac_objext conftest.beam \
11988 conftest$ac_exeext conftest.$ac_ext
11989 CC=$ac_wine_check_headers_saved_cc
11990 ac_exeext=$ac_wine_check_headers_saved_exeext
11991 LIBS=$ac_wine_check_headers_saved_libs
11993 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_jpeg" >&5
11994 printf "%s\n" "$ac_cv_mingw_lib_jpeg" >&6; }
11995 if test "x$ac_cv_mingw_lib_jpeg" = xyes
11996 then :
11998 else $as_nop
11999 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
12001 else $as_nop
12002 JPEG_PE_CFLAGS=""; JPEG_PE_LIBS=""
12004 CPPFLAGS=$ac_save_CPPFLAGS
12006 if test "x$JPEG_PE_LIBS" = "x"
12007 then
12008 as_fn_append wine_notices "|libjpeg ${notice_platform}MinGW development files not found; using bundled version."
12011 if ${LCMS2_PE_CFLAGS:+false} :
12012 then :
12013 if test ${MINGW_PKG_CONFIG+y}
12014 then :
12015 LCMS2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags lcms2 2>/dev/null`
12018 if ${LCMS2_PE_LIBS:+false} :
12019 then :
12020 if test ${MINGW_PKG_CONFIG+y}
12021 then :
12022 LCMS2_PE_LIBS=`$MINGW_PKG_CONFIG --libs lcms2 2>/dev/null`
12025 LCMS2_PE_LIBS=${LCMS2_PE_LIBS:-"-llcms2"}
12026 ac_save_CPPFLAGS=$CPPFLAGS
12027 CPPFLAGS="$CPPFLAGS $LCMS2_PE_CFLAGS"
12028 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW lcms2.h" >&5
12029 printf %s "checking for MinGW lcms2.h... " >&6; }
12030 if test ${ac_cv_mingw_header_lcms2_h+y}
12031 then :
12032 printf %s "(cached) " >&6
12033 else $as_nop
12034 ac_wine_check_headers_saved_cc=$CC
12035 ac_wine_check_headers_saved_exeext=$ac_exeext
12036 eval CC=\$${wine_arch}_CC
12037 ac_exeext=".exe"
12038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12039 /* end confdefs.h. */
12041 #include <lcms2.h>
12043 main (void)
12047 return 0;
12049 _ACEOF
12050 if ac_fn_c_try_compile "$LINENO"
12051 then :
12052 ac_cv_mingw_header_lcms2_h=yes
12053 else $as_nop
12054 ac_cv_mingw_header_lcms2_h=no
12056 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12057 CC=$ac_wine_check_headers_saved_cc
12058 ac_exeext=$ac_wine_check_headers_saved_exeext
12060 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_lcms2_h" >&5
12061 printf "%s\n" "$ac_cv_mingw_header_lcms2_h" >&6; }
12062 if test "x$ac_cv_mingw_header_lcms2_h" = xyes
12063 then :
12064 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in MinGW -llcms2" >&5
12065 printf %s "checking for cmsOpenProfileFromFile in MinGW -llcms2... " >&6; }
12066 if test ${ac_cv_mingw_lib_lcms2+y}
12067 then :
12068 printf %s "(cached) " >&6
12069 else $as_nop
12070 ac_wine_check_headers_saved_cc=$CC
12071 ac_wine_check_headers_saved_exeext=$ac_exeext
12072 ac_wine_check_headers_saved_libs=$LIBS
12073 eval CC=\$${wine_arch}_CC
12074 ac_exeext=".exe"
12075 LIBS="-llcms2 $LCMS2_PE_LIBS $LIBS"
12076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12077 /* end confdefs.h. */
12079 /* Override any GCC internal prototype to avoid an error.
12080 Use char because int might match the return type of a GCC
12081 builtin and then its argument prototype would still apply. */
12082 char cmsOpenProfileFromFile ();
12084 main (void)
12086 return cmsOpenProfileFromFile ();
12088 return 0;
12090 _ACEOF
12091 if ac_fn_c_try_link "$LINENO"
12092 then :
12093 ac_cv_mingw_lib_lcms2=yes
12094 else $as_nop
12095 ac_cv_mingw_lib_lcms2=no
12097 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12098 conftest$ac_exeext conftest.$ac_ext
12099 CC=$ac_wine_check_headers_saved_cc
12100 ac_exeext=$ac_wine_check_headers_saved_exeext
12101 LIBS=$ac_wine_check_headers_saved_libs
12103 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_lcms2" >&5
12104 printf "%s\n" "$ac_cv_mingw_lib_lcms2" >&6; }
12105 if test "x$ac_cv_mingw_lib_lcms2" = xyes
12106 then :
12108 else $as_nop
12109 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12111 else $as_nop
12112 LCMS2_PE_CFLAGS=""; LCMS2_PE_LIBS=""
12114 CPPFLAGS=$ac_save_CPPFLAGS
12116 if test "x$LCMS2_PE_LIBS" = "x"
12117 then
12118 as_fn_append wine_notices "|liblcms2 ${notice_platform}MinGW development files not found; using bundled version."
12121 if ${MPG123_PE_CFLAGS:+false} :
12122 then :
12123 if test ${MINGW_PKG_CONFIG+y}
12124 then :
12125 MPG123_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libmpg123 2>/dev/null`
12128 if ${MPG123_PE_LIBS:+false} :
12129 then :
12130 if test ${MINGW_PKG_CONFIG+y}
12131 then :
12132 MPG123_PE_LIBS=`$MINGW_PKG_CONFIG --libs libmpg123 2>/dev/null`
12135 MPG123_PE_LIBS=${MPG123_PE_LIBS:-"-lmpg123"}
12136 ac_save_CPPFLAGS=$CPPFLAGS
12137 CPPFLAGS="$CPPFLAGS $MPG123_PE_CFLAGS"
12138 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW mpg123.h" >&5
12139 printf %s "checking for MinGW mpg123.h... " >&6; }
12140 if test ${ac_cv_mingw_header_mpg123_h+y}
12141 then :
12142 printf %s "(cached) " >&6
12143 else $as_nop
12144 ac_wine_check_headers_saved_cc=$CC
12145 ac_wine_check_headers_saved_exeext=$ac_exeext
12146 eval CC=\$${wine_arch}_CC
12147 ac_exeext=".exe"
12148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12149 /* end confdefs.h. */
12151 #include <mpg123.h>
12153 main (void)
12157 return 0;
12159 _ACEOF
12160 if ac_fn_c_try_compile "$LINENO"
12161 then :
12162 ac_cv_mingw_header_mpg123_h=yes
12163 else $as_nop
12164 ac_cv_mingw_header_mpg123_h=no
12166 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12167 CC=$ac_wine_check_headers_saved_cc
12168 ac_exeext=$ac_wine_check_headers_saved_exeext
12170 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_mpg123_h" >&5
12171 printf "%s\n" "$ac_cv_mingw_header_mpg123_h" >&6; }
12172 if test "x$ac_cv_mingw_header_mpg123_h" = xyes
12173 then :
12174 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in MinGW -lmpg123" >&5
12175 printf %s "checking for mpg123_feed in MinGW -lmpg123... " >&6; }
12176 if test ${ac_cv_mingw_lib_mpg123+y}
12177 then :
12178 printf %s "(cached) " >&6
12179 else $as_nop
12180 ac_wine_check_headers_saved_cc=$CC
12181 ac_wine_check_headers_saved_exeext=$ac_exeext
12182 ac_wine_check_headers_saved_libs=$LIBS
12183 eval CC=\$${wine_arch}_CC
12184 ac_exeext=".exe"
12185 LIBS="-lmpg123 $MPG123_PE_LIBS $LIBS"
12186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12187 /* end confdefs.h. */
12189 /* Override any GCC internal prototype to avoid an error.
12190 Use char because int might match the return type of a GCC
12191 builtin and then its argument prototype would still apply. */
12192 char mpg123_feed ();
12194 main (void)
12196 return mpg123_feed ();
12198 return 0;
12200 _ACEOF
12201 if ac_fn_c_try_link "$LINENO"
12202 then :
12203 ac_cv_mingw_lib_mpg123=yes
12204 else $as_nop
12205 ac_cv_mingw_lib_mpg123=no
12207 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12208 conftest$ac_exeext conftest.$ac_ext
12209 CC=$ac_wine_check_headers_saved_cc
12210 ac_exeext=$ac_wine_check_headers_saved_exeext
12211 LIBS=$ac_wine_check_headers_saved_libs
12213 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_mpg123" >&5
12214 printf "%s\n" "$ac_cv_mingw_lib_mpg123" >&6; }
12215 if test "x$ac_cv_mingw_lib_mpg123" = xyes
12216 then :
12218 else $as_nop
12219 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12221 else $as_nop
12222 MPG123_PE_CFLAGS=""; MPG123_PE_LIBS=""
12224 CPPFLAGS=$ac_save_CPPFLAGS
12226 if test "x$MPG123_PE_LIBS" = "x"
12227 then
12228 as_fn_append wine_notices "|libmpg123 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12231 if ${PNG_PE_CFLAGS:+false} :
12232 then :
12233 if test ${MINGW_PKG_CONFIG+y}
12234 then :
12235 PNG_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libpng 2>/dev/null`
12238 if ${PNG_PE_LIBS:+false} :
12239 then :
12240 if test ${MINGW_PKG_CONFIG+y}
12241 then :
12242 PNG_PE_LIBS=`$MINGW_PKG_CONFIG --libs libpng 2>/dev/null`
12246 ac_save_CPPFLAGS=$CPPFLAGS
12247 CPPFLAGS="$CPPFLAGS $PNG_PE_CFLAGS"
12248 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW png.h" >&5
12249 printf %s "checking for MinGW png.h... " >&6; }
12250 if test ${ac_cv_mingw_header_png_h+y}
12251 then :
12252 printf %s "(cached) " >&6
12253 else $as_nop
12254 ac_wine_check_headers_saved_cc=$CC
12255 ac_wine_check_headers_saved_exeext=$ac_exeext
12256 eval CC=\$${wine_arch}_CC
12257 ac_exeext=".exe"
12258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12259 /* end confdefs.h. */
12261 #include <png.h>
12263 main (void)
12267 return 0;
12269 _ACEOF
12270 if ac_fn_c_try_compile "$LINENO"
12271 then :
12272 ac_cv_mingw_header_png_h=yes
12273 else $as_nop
12274 ac_cv_mingw_header_png_h=no
12276 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12277 CC=$ac_wine_check_headers_saved_cc
12278 ac_exeext=$ac_wine_check_headers_saved_exeext
12280 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_png_h" >&5
12281 printf "%s\n" "$ac_cv_mingw_header_png_h" >&6; }
12282 if test "x$ac_cv_mingw_header_png_h" = xyes
12283 then :
12284 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for png_create_read_struct in MinGW -lpng" >&5
12285 printf %s "checking for png_create_read_struct in MinGW -lpng... " >&6; }
12286 if test ${ac_cv_mingw_lib_png+y}
12287 then :
12288 printf %s "(cached) " >&6
12289 else $as_nop
12290 ac_wine_check_headers_saved_cc=$CC
12291 ac_wine_check_headers_saved_exeext=$ac_exeext
12292 ac_wine_check_headers_saved_libs=$LIBS
12293 eval CC=\$${wine_arch}_CC
12294 ac_exeext=".exe"
12295 LIBS="-lpng $PNG_PE_LIBS $LIBS"
12296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12297 /* end confdefs.h. */
12299 /* Override any GCC internal prototype to avoid an error.
12300 Use char because int might match the return type of a GCC
12301 builtin and then its argument prototype would still apply. */
12302 char png_create_read_struct ();
12304 main (void)
12306 return png_create_read_struct ();
12308 return 0;
12310 _ACEOF
12311 if ac_fn_c_try_link "$LINENO"
12312 then :
12313 ac_cv_mingw_lib_png=yes
12314 else $as_nop
12315 ac_cv_mingw_lib_png=no
12317 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12318 conftest$ac_exeext conftest.$ac_ext
12319 CC=$ac_wine_check_headers_saved_cc
12320 ac_exeext=$ac_wine_check_headers_saved_exeext
12321 LIBS=$ac_wine_check_headers_saved_libs
12323 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_png" >&5
12324 printf "%s\n" "$ac_cv_mingw_lib_png" >&6; }
12325 if test "x$ac_cv_mingw_lib_png" = xyes
12326 then :
12328 else $as_nop
12329 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12331 else $as_nop
12332 PNG_PE_CFLAGS=""; PNG_PE_LIBS=""
12334 CPPFLAGS=$ac_save_CPPFLAGS
12336 if test "x$PNG_PE_LIBS" = "x"
12337 then
12338 as_fn_append wine_notices "|libpng ${notice_platform}MinGW development files not found; using bundled version."
12341 if ${TIFF_PE_CFLAGS:+false} :
12342 then :
12343 if test ${MINGW_PKG_CONFIG+y}
12344 then :
12345 TIFF_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libtiff-4 2>/dev/null`
12348 if ${TIFF_PE_LIBS:+false} :
12349 then :
12350 if test ${MINGW_PKG_CONFIG+y}
12351 then :
12352 TIFF_PE_LIBS=`$MINGW_PKG_CONFIG --libs libtiff-4 2>/dev/null`
12356 ac_save_CPPFLAGS=$CPPFLAGS
12357 CPPFLAGS="$CPPFLAGS $TIFF_PE_CFLAGS"
12358 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW tiffio.h" >&5
12359 printf %s "checking for MinGW tiffio.h... " >&6; }
12360 if test ${ac_cv_mingw_header_tiffio_h+y}
12361 then :
12362 printf %s "(cached) " >&6
12363 else $as_nop
12364 ac_wine_check_headers_saved_cc=$CC
12365 ac_wine_check_headers_saved_exeext=$ac_exeext
12366 eval CC=\$${wine_arch}_CC
12367 ac_exeext=".exe"
12368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12369 /* end confdefs.h. */
12371 #include <tiffio.h>
12373 main (void)
12377 return 0;
12379 _ACEOF
12380 if ac_fn_c_try_compile "$LINENO"
12381 then :
12382 ac_cv_mingw_header_tiffio_h=yes
12383 else $as_nop
12384 ac_cv_mingw_header_tiffio_h=no
12386 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12387 CC=$ac_wine_check_headers_saved_cc
12388 ac_exeext=$ac_wine_check_headers_saved_exeext
12390 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_tiffio_h" >&5
12391 printf "%s\n" "$ac_cv_mingw_header_tiffio_h" >&6; }
12392 if test "x$ac_cv_mingw_header_tiffio_h" = xyes
12393 then :
12394 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for TIFFClientOpen in MinGW -ltiff" >&5
12395 printf %s "checking for TIFFClientOpen in MinGW -ltiff... " >&6; }
12396 if test ${ac_cv_mingw_lib_tiff+y}
12397 then :
12398 printf %s "(cached) " >&6
12399 else $as_nop
12400 ac_wine_check_headers_saved_cc=$CC
12401 ac_wine_check_headers_saved_exeext=$ac_exeext
12402 ac_wine_check_headers_saved_libs=$LIBS
12403 eval CC=\$${wine_arch}_CC
12404 ac_exeext=".exe"
12405 LIBS="-ltiff $TIFF_PE_LIBS $LIBS"
12406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12407 /* end confdefs.h. */
12409 /* Override any GCC internal prototype to avoid an error.
12410 Use char because int might match the return type of a GCC
12411 builtin and then its argument prototype would still apply. */
12412 char TIFFClientOpen ();
12414 main (void)
12416 return TIFFClientOpen ();
12418 return 0;
12420 _ACEOF
12421 if ac_fn_c_try_link "$LINENO"
12422 then :
12423 ac_cv_mingw_lib_tiff=yes
12424 else $as_nop
12425 ac_cv_mingw_lib_tiff=no
12427 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12428 conftest$ac_exeext conftest.$ac_ext
12429 CC=$ac_wine_check_headers_saved_cc
12430 ac_exeext=$ac_wine_check_headers_saved_exeext
12431 LIBS=$ac_wine_check_headers_saved_libs
12433 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_tiff" >&5
12434 printf "%s\n" "$ac_cv_mingw_lib_tiff" >&6; }
12435 if test "x$ac_cv_mingw_lib_tiff" = xyes
12436 then :
12438 else $as_nop
12439 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12441 else $as_nop
12442 TIFF_PE_CFLAGS=""; TIFF_PE_LIBS=""
12444 CPPFLAGS=$ac_save_CPPFLAGS
12446 if test "x$TIFF_PE_LIBS" = "x"
12447 then
12448 as_fn_append wine_notices "|libtiff ${notice_platform}MinGW development files not found; using bundled version."
12451 if ${XML2_PE_CFLAGS:+false} :
12452 then :
12453 if test ${MINGW_PKG_CONFIG+y}
12454 then :
12455 XML2_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12458 if ${XML2_PE_LIBS:+false} :
12459 then :
12460 if test ${MINGW_PKG_CONFIG+y}
12461 then :
12462 XML2_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12465 XML2_PE_LIBS=${XML2_PE_LIBS:-"-lxml2"}
12466 ac_save_CPPFLAGS=$CPPFLAGS
12467 CPPFLAGS="$CPPFLAGS $XML2_PE_CFLAGS"
12468 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/parser.h" >&5
12469 printf %s "checking for MinGW libxml/parser.h... " >&6; }
12470 if test ${ac_cv_mingw_header_libxml_parser_h+y}
12471 then :
12472 printf %s "(cached) " >&6
12473 else $as_nop
12474 ac_wine_check_headers_saved_cc=$CC
12475 ac_wine_check_headers_saved_exeext=$ac_exeext
12476 eval CC=\$${wine_arch}_CC
12477 ac_exeext=".exe"
12478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12479 /* end confdefs.h. */
12481 #include <libxml/parser.h>
12483 main (void)
12487 return 0;
12489 _ACEOF
12490 if ac_fn_c_try_compile "$LINENO"
12491 then :
12492 ac_cv_mingw_header_libxml_parser_h=yes
12493 else $as_nop
12494 ac_cv_mingw_header_libxml_parser_h=no
12496 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12497 CC=$ac_wine_check_headers_saved_cc
12498 ac_exeext=$ac_wine_check_headers_saved_exeext
12500 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_parser_h" >&5
12501 printf "%s\n" "$ac_cv_mingw_header_libxml_parser_h" >&6; }
12502 if test "x$ac_cv_mingw_header_libxml_parser_h" = xyes
12503 then :
12506 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/xmlsave.h" >&5
12507 printf %s "checking for MinGW libxml/xmlsave.h... " >&6; }
12508 if test ${ac_cv_mingw_header_libxml_xmlsave_h+y}
12509 then :
12510 printf %s "(cached) " >&6
12511 else $as_nop
12512 ac_wine_check_headers_saved_cc=$CC
12513 ac_wine_check_headers_saved_exeext=$ac_exeext
12514 eval CC=\$${wine_arch}_CC
12515 ac_exeext=".exe"
12516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12517 /* end confdefs.h. */
12519 #include <libxml/xmlsave.h>
12521 main (void)
12525 return 0;
12527 _ACEOF
12528 if ac_fn_c_try_compile "$LINENO"
12529 then :
12530 ac_cv_mingw_header_libxml_xmlsave_h=yes
12531 else $as_nop
12532 ac_cv_mingw_header_libxml_xmlsave_h=no
12534 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12535 CC=$ac_wine_check_headers_saved_cc
12536 ac_exeext=$ac_wine_check_headers_saved_exeext
12538 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_xmlsave_h" >&5
12539 printf "%s\n" "$ac_cv_mingw_header_libxml_xmlsave_h" >&6; }
12540 if test "x$ac_cv_mingw_header_libxml_xmlsave_h" = xyes
12541 then :
12544 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxml/SAX2.h" >&5
12545 printf %s "checking for MinGW libxml/SAX2.h... " >&6; }
12546 if test ${ac_cv_mingw_header_libxml_SAX2_h+y}
12547 then :
12548 printf %s "(cached) " >&6
12549 else $as_nop
12550 ac_wine_check_headers_saved_cc=$CC
12551 ac_wine_check_headers_saved_exeext=$ac_exeext
12552 eval CC=\$${wine_arch}_CC
12553 ac_exeext=".exe"
12554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12555 /* end confdefs.h. */
12557 #include <libxml/SAX2.h>
12559 main (void)
12563 return 0;
12565 _ACEOF
12566 if ac_fn_c_try_compile "$LINENO"
12567 then :
12568 ac_cv_mingw_header_libxml_SAX2_h=yes
12569 else $as_nop
12570 ac_cv_mingw_header_libxml_SAX2_h=no
12572 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12573 CC=$ac_wine_check_headers_saved_cc
12574 ac_exeext=$ac_wine_check_headers_saved_exeext
12576 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxml_SAX2_h" >&5
12577 printf "%s\n" "$ac_cv_mingw_header_libxml_SAX2_h" >&6; }
12578 if test "x$ac_cv_mingw_header_libxml_SAX2_h" = xyes
12579 then :
12582 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"
12583 then
12584 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in MinGW -lxml2" >&5
12585 printf %s "checking for xmlFirstElementChild in MinGW -lxml2... " >&6; }
12586 if test ${ac_cv_mingw_lib_xml2+y}
12587 then :
12588 printf %s "(cached) " >&6
12589 else $as_nop
12590 ac_wine_check_headers_saved_cc=$CC
12591 ac_wine_check_headers_saved_exeext=$ac_exeext
12592 ac_wine_check_headers_saved_libs=$LIBS
12593 eval CC=\$${wine_arch}_CC
12594 ac_exeext=".exe"
12595 LIBS="-lxml2 $XML2_PE_LIBS $LIBS"
12596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12597 /* end confdefs.h. */
12599 /* Override any GCC internal prototype to avoid an error.
12600 Use char because int might match the return type of a GCC
12601 builtin and then its argument prototype would still apply. */
12602 char xmlFirstElementChild ();
12604 main (void)
12606 return xmlFirstElementChild ();
12608 return 0;
12610 _ACEOF
12611 if ac_fn_c_try_link "$LINENO"
12612 then :
12613 ac_cv_mingw_lib_xml2=yes
12614 else $as_nop
12615 ac_cv_mingw_lib_xml2=no
12617 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12618 conftest$ac_exeext conftest.$ac_ext
12619 CC=$ac_wine_check_headers_saved_cc
12620 ac_exeext=$ac_wine_check_headers_saved_exeext
12621 LIBS=$ac_wine_check_headers_saved_libs
12623 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xml2" >&5
12624 printf "%s\n" "$ac_cv_mingw_lib_xml2" >&6; }
12625 if test "x$ac_cv_mingw_lib_xml2" = xyes
12626 then :
12628 else $as_nop
12629 XML2_PE_CFLAGS=""; XML2_PE_LIBS=""
12631 else
12632 XML2_PE_CFLAGS=""
12633 XML2_PE_LIBS=""
12635 CPPFLAGS=$ac_save_CPPFLAGS
12637 if test "x$XML2_PE_LIBS" = "x"
12638 then
12639 as_fn_append wine_notices "|libxml2 ${notice_platform}MinGW development files not found (or too old); using bundled version."
12642 if ${XSLT_PE_CFLAGS:+false} :
12643 then :
12644 if test ${MINGW_PKG_CONFIG+y}
12645 then :
12646 XSLT_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libxslt 2>/dev/null`
12649 if ${XSLT_PE_LIBS:+false} :
12650 then :
12651 if test ${MINGW_PKG_CONFIG+y}
12652 then :
12653 XSLT_PE_LIBS=`$MINGW_PKG_CONFIG --libs libxslt 2>/dev/null`
12656 XSLT_PE_LIBS=${XSLT_PE_LIBS:-"-lxslt"}
12657 ac_save_CPPFLAGS=$CPPFLAGS
12658 CPPFLAGS="$CPPFLAGS $XSLT_PE_CFLAGS"
12659 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/pattern.h" >&5
12660 printf %s "checking for MinGW libxslt/pattern.h... " >&6; }
12661 if test ${ac_cv_mingw_header_libxslt_pattern_h+y}
12662 then :
12663 printf %s "(cached) " >&6
12664 else $as_nop
12665 ac_wine_check_headers_saved_cc=$CC
12666 ac_wine_check_headers_saved_exeext=$ac_exeext
12667 eval CC=\$${wine_arch}_CC
12668 ac_exeext=".exe"
12669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12670 /* end confdefs.h. */
12672 #include <libxslt/pattern.h>
12674 main (void)
12678 return 0;
12680 _ACEOF
12681 if ac_fn_c_try_compile "$LINENO"
12682 then :
12683 ac_cv_mingw_header_libxslt_pattern_h=yes
12684 else $as_nop
12685 ac_cv_mingw_header_libxslt_pattern_h=no
12687 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12688 CC=$ac_wine_check_headers_saved_cc
12689 ac_exeext=$ac_wine_check_headers_saved_exeext
12691 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_pattern_h" >&5
12692 printf "%s\n" "$ac_cv_mingw_header_libxslt_pattern_h" >&6; }
12693 if test "x$ac_cv_mingw_header_libxslt_pattern_h" = xyes
12694 then :
12697 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW libxslt/transform.h" >&5
12698 printf %s "checking for MinGW libxslt/transform.h... " >&6; }
12699 if test ${ac_cv_mingw_header_libxslt_transform_h+y}
12700 then :
12701 printf %s "(cached) " >&6
12702 else $as_nop
12703 ac_wine_check_headers_saved_cc=$CC
12704 ac_wine_check_headers_saved_exeext=$ac_exeext
12705 eval CC=\$${wine_arch}_CC
12706 ac_exeext=".exe"
12707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12708 /* end confdefs.h. */
12710 #include <libxslt/transform.h>
12712 main (void)
12716 return 0;
12718 _ACEOF
12719 if ac_fn_c_try_compile "$LINENO"
12720 then :
12721 ac_cv_mingw_header_libxslt_transform_h=yes
12722 else $as_nop
12723 ac_cv_mingw_header_libxslt_transform_h=no
12725 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12726 CC=$ac_wine_check_headers_saved_cc
12727 ac_exeext=$ac_wine_check_headers_saved_exeext
12729 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_libxslt_transform_h" >&5
12730 printf "%s\n" "$ac_cv_mingw_header_libxslt_transform_h" >&6; }
12731 if test "x$ac_cv_mingw_header_libxslt_transform_h" = xyes
12732 then :
12735 if test "$ac_cv_mingw_header_libxslt_pattern_h" = "yes" -a "$ac_cv_mingw_header_libxslt_transform_h" = "yes"
12736 then
12737 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for xsltCompilePattern in MinGW -lxslt" >&5
12738 printf %s "checking for xsltCompilePattern in MinGW -lxslt... " >&6; }
12739 if test ${ac_cv_mingw_lib_xslt+y}
12740 then :
12741 printf %s "(cached) " >&6
12742 else $as_nop
12743 ac_wine_check_headers_saved_cc=$CC
12744 ac_wine_check_headers_saved_exeext=$ac_exeext
12745 ac_wine_check_headers_saved_libs=$LIBS
12746 eval CC=\$${wine_arch}_CC
12747 ac_exeext=".exe"
12748 LIBS="-lxslt $XSLT_PE_LIBS $LIBS"
12749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12750 /* end confdefs.h. */
12752 /* Override any GCC internal prototype to avoid an error.
12753 Use char because int might match the return type of a GCC
12754 builtin and then its argument prototype would still apply. */
12755 char xsltCompilePattern ();
12757 main (void)
12759 return xsltCompilePattern ();
12761 return 0;
12763 _ACEOF
12764 if ac_fn_c_try_link "$LINENO"
12765 then :
12766 ac_cv_mingw_lib_xslt=yes
12767 else $as_nop
12768 ac_cv_mingw_lib_xslt=no
12770 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12771 conftest$ac_exeext conftest.$ac_ext
12772 CC=$ac_wine_check_headers_saved_cc
12773 ac_exeext=$ac_wine_check_headers_saved_exeext
12774 LIBS=$ac_wine_check_headers_saved_libs
12776 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_xslt" >&5
12777 printf "%s\n" "$ac_cv_mingw_lib_xslt" >&6; }
12778 if test "x$ac_cv_mingw_lib_xslt" = xyes
12779 then :
12781 else $as_nop
12782 XSLT_PE_CFLAGS=""; XSLT_PE_LIBS=""
12784 else
12785 XSLT_PE_CFLAGS=""
12786 XSLT_PE_LIBS=""
12788 CPPFLAGS=$ac_save_CPPFLAGS
12790 if test "x$XSLT_PE_LIBS" = "x"
12791 then
12792 as_fn_append wine_notices "|libxslt ${notice_platform}MinGW development files not found; using bundled version."
12795 if ${VKD3D_PE_CFLAGS:+false} :
12796 then :
12797 if test ${MINGW_PKG_CONFIG+y}
12798 then :
12799 VKD3D_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags libvkd3d libvkd3d-shader 2>/dev/null`
12802 if ${VKD3D_PE_LIBS:+false} :
12803 then :
12804 if test ${MINGW_PKG_CONFIG+y}
12805 then :
12806 VKD3D_PE_LIBS=`$MINGW_PKG_CONFIG --libs libvkd3d libvkd3d-shader 2>/dev/null`
12809 VKD3D_PE_LIBS=${VKD3D_PE_LIBS:-"-lvkd3d -lvkd3d-shader"}
12810 ac_save_CPPFLAGS=$CPPFLAGS
12811 CPPFLAGS="$CPPFLAGS $VKD3D_PE_CFLAGS"
12812 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d.h" >&5
12813 printf %s "checking for MinGW vkd3d.h... " >&6; }
12814 if test ${ac_cv_mingw_header_vkd3d_h+y}
12815 then :
12816 printf %s "(cached) " >&6
12817 else $as_nop
12818 ac_wine_check_headers_saved_cc=$CC
12819 ac_wine_check_headers_saved_exeext=$ac_exeext
12820 eval CC=\$${wine_arch}_CC
12821 ac_exeext=".exe"
12822 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12823 /* end confdefs.h. */
12825 #include <vkd3d.h>
12827 main (void)
12831 return 0;
12833 _ACEOF
12834 if ac_fn_c_try_compile "$LINENO"
12835 then :
12836 ac_cv_mingw_header_vkd3d_h=yes
12837 else $as_nop
12838 ac_cv_mingw_header_vkd3d_h=no
12840 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12841 CC=$ac_wine_check_headers_saved_cc
12842 ac_exeext=$ac_wine_check_headers_saved_exeext
12844 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_h" >&5
12845 printf "%s\n" "$ac_cv_mingw_header_vkd3d_h" >&6; }
12846 if test "x$ac_cv_mingw_header_vkd3d_h" = xyes
12847 then :
12850 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW vkd3d_shader.h" >&5
12851 printf %s "checking for MinGW vkd3d_shader.h... " >&6; }
12852 if test ${ac_cv_mingw_header_vkd3d_shader_h+y}
12853 then :
12854 printf %s "(cached) " >&6
12855 else $as_nop
12856 ac_wine_check_headers_saved_cc=$CC
12857 ac_wine_check_headers_saved_exeext=$ac_exeext
12858 eval CC=\$${wine_arch}_CC
12859 ac_exeext=".exe"
12860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12861 /* end confdefs.h. */
12863 #include <vkd3d_shader.h>
12865 main (void)
12869 return 0;
12871 _ACEOF
12872 if ac_fn_c_try_compile "$LINENO"
12873 then :
12874 ac_cv_mingw_header_vkd3d_shader_h=yes
12875 else $as_nop
12876 ac_cv_mingw_header_vkd3d_shader_h=no
12878 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
12879 CC=$ac_wine_check_headers_saved_cc
12880 ac_exeext=$ac_wine_check_headers_saved_exeext
12882 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_vkd3d_shader_h" >&5
12883 printf "%s\n" "$ac_cv_mingw_header_vkd3d_shader_h" >&6; }
12884 if test "x$ac_cv_mingw_header_vkd3d_shader_h" = xyes
12885 then :
12888 if test "$ac_cv_mingw_header_vkd3d_h" = "yes" -a "$ac_cv_mingw_header_vkd3d_shader_h" = "yes"
12889 then
12890 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_set_log_callback in MinGW -lvkd3d" >&5
12891 printf %s "checking for vkd3d_set_log_callback in MinGW -lvkd3d... " >&6; }
12892 if test ${ac_cv_mingw_lib_vkd3d+y}
12893 then :
12894 printf %s "(cached) " >&6
12895 else $as_nop
12896 ac_wine_check_headers_saved_cc=$CC
12897 ac_wine_check_headers_saved_exeext=$ac_exeext
12898 ac_wine_check_headers_saved_libs=$LIBS
12899 eval CC=\$${wine_arch}_CC
12900 ac_exeext=".exe"
12901 LIBS="-lvkd3d $VKD3D_PE_LIBS $LIBS"
12902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12903 /* end confdefs.h. */
12905 /* Override any GCC internal prototype to avoid an error.
12906 Use char because int might match the return type of a GCC
12907 builtin and then its argument prototype would still apply. */
12908 char vkd3d_set_log_callback ();
12910 main (void)
12912 return vkd3d_set_log_callback ();
12914 return 0;
12916 _ACEOF
12917 if ac_fn_c_try_link "$LINENO"
12918 then :
12919 ac_cv_mingw_lib_vkd3d=yes
12920 else $as_nop
12921 ac_cv_mingw_lib_vkd3d=no
12923 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12924 conftest$ac_exeext conftest.$ac_ext
12925 CC=$ac_wine_check_headers_saved_cc
12926 ac_exeext=$ac_wine_check_headers_saved_exeext
12927 LIBS=$ac_wine_check_headers_saved_libs
12929 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d" >&5
12930 printf "%s\n" "$ac_cv_mingw_lib_vkd3d" >&6; }
12931 if test "x$ac_cv_mingw_lib_vkd3d" = xyes
12932 then :
12934 else $as_nop
12937 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for vkd3d_shader_compile in MinGW -lvkd3d-shader" >&5
12938 printf %s "checking for vkd3d_shader_compile in MinGW -lvkd3d-shader... " >&6; }
12939 if test ${ac_cv_mingw_lib_vkd3d_shader+y}
12940 then :
12941 printf %s "(cached) " >&6
12942 else $as_nop
12943 ac_wine_check_headers_saved_cc=$CC
12944 ac_wine_check_headers_saved_exeext=$ac_exeext
12945 ac_wine_check_headers_saved_libs=$LIBS
12946 eval CC=\$${wine_arch}_CC
12947 ac_exeext=".exe"
12948 LIBS="-lvkd3d-shader $VKD3D_PE_LIBS $LIBS"
12949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12950 /* end confdefs.h. */
12952 /* Override any GCC internal prototype to avoid an error.
12953 Use char because int might match the return type of a GCC
12954 builtin and then its argument prototype would still apply. */
12955 char vkd3d_shader_compile ();
12957 main (void)
12959 return vkd3d_shader_compile ();
12961 return 0;
12963 _ACEOF
12964 if ac_fn_c_try_link "$LINENO"
12965 then :
12966 ac_cv_mingw_lib_vkd3d_shader=yes
12967 else $as_nop
12968 ac_cv_mingw_lib_vkd3d_shader=no
12970 rm -f core conftest.err conftest.$ac_objext conftest.beam \
12971 conftest$ac_exeext conftest.$ac_ext
12972 CC=$ac_wine_check_headers_saved_cc
12973 ac_exeext=$ac_wine_check_headers_saved_exeext
12974 LIBS=$ac_wine_check_headers_saved_libs
12976 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_vkd3d_shader" >&5
12977 printf "%s\n" "$ac_cv_mingw_lib_vkd3d_shader" >&6; }
12978 if test "x$ac_cv_mingw_lib_vkd3d_shader" = xyes
12979 then :
12981 else $as_nop
12984 if test "$ac_cv_mingw_lib_vkd3d" = "no" -o "$ac_cv_mingw_lib_vkd3d_shader" = "no"
12985 then
12986 VKD3D_PE_CFLAGS=""
12987 VKD3D_PE_LIBS=""
12989 else
12990 VKD3D_PE_CFLAGS=""
12991 VKD3D_PE_LIBS=""
12993 CPPFLAGS=$ac_save_CPPFLAGS
12995 if test "x$VKD3D_PE_LIBS" = "x"
12996 then
12997 as_fn_append wine_notices "|libvkd3d ${notice_platform}MinGW development files not found (or too old); using bundled version."
13000 if ${ZLIB_PE_CFLAGS:+false} :
13001 then :
13002 if test ${MINGW_PKG_CONFIG+y}
13003 then :
13004 ZLIB_PE_CFLAGS=`$MINGW_PKG_CONFIG --cflags zlib 2>/dev/null`
13007 if ${ZLIB_PE_LIBS:+false} :
13008 then :
13009 if test ${MINGW_PKG_CONFIG+y}
13010 then :
13011 ZLIB_PE_LIBS=`$MINGW_PKG_CONFIG --libs zlib 2>/dev/null`
13014 ZLIB_PE_LIBS=${ZLIB_PE_LIBS:-"-lz"}
13015 ac_save_CPPFLAGS=$CPPFLAGS
13016 CPPFLAGS="$CPPFLAGS $ZLIB_PE_CFLAGS"
13017 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for MinGW zlib.h" >&5
13018 printf %s "checking for MinGW zlib.h... " >&6; }
13019 if test ${ac_cv_mingw_header_zlib_h+y}
13020 then :
13021 printf %s "(cached) " >&6
13022 else $as_nop
13023 ac_wine_check_headers_saved_cc=$CC
13024 ac_wine_check_headers_saved_exeext=$ac_exeext
13025 eval CC=\$${wine_arch}_CC
13026 ac_exeext=".exe"
13027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13028 /* end confdefs.h. */
13030 #include <zlib.h>
13032 main (void)
13036 return 0;
13038 _ACEOF
13039 if ac_fn_c_try_compile "$LINENO"
13040 then :
13041 ac_cv_mingw_header_zlib_h=yes
13042 else $as_nop
13043 ac_cv_mingw_header_zlib_h=no
13045 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
13046 CC=$ac_wine_check_headers_saved_cc
13047 ac_exeext=$ac_wine_check_headers_saved_exeext
13049 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_header_zlib_h" >&5
13050 printf "%s\n" "$ac_cv_mingw_header_zlib_h" >&6; }
13051 if test "x$ac_cv_mingw_header_zlib_h" = xyes
13052 then :
13053 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inflate in MinGW -lz" >&5
13054 printf %s "checking for inflate in MinGW -lz... " >&6; }
13055 if test ${ac_cv_mingw_lib_z+y}
13056 then :
13057 printf %s "(cached) " >&6
13058 else $as_nop
13059 ac_wine_check_headers_saved_cc=$CC
13060 ac_wine_check_headers_saved_exeext=$ac_exeext
13061 ac_wine_check_headers_saved_libs=$LIBS
13062 eval CC=\$${wine_arch}_CC
13063 ac_exeext=".exe"
13064 LIBS="-lz $ZLIB_PE_LIBS $LIBS"
13065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13066 /* end confdefs.h. */
13068 /* Override any GCC internal prototype to avoid an error.
13069 Use char because int might match the return type of a GCC
13070 builtin and then its argument prototype would still apply. */
13071 char inflate ();
13073 main (void)
13075 return inflate ();
13077 return 0;
13079 _ACEOF
13080 if ac_fn_c_try_link "$LINENO"
13081 then :
13082 ac_cv_mingw_lib_z=yes
13083 else $as_nop
13084 ac_cv_mingw_lib_z=no
13086 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13087 conftest$ac_exeext conftest.$ac_ext
13088 CC=$ac_wine_check_headers_saved_cc
13089 ac_exeext=$ac_wine_check_headers_saved_exeext
13090 LIBS=$ac_wine_check_headers_saved_libs
13092 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mingw_lib_z" >&5
13093 printf "%s\n" "$ac_cv_mingw_lib_z" >&6; }
13094 if test "x$ac_cv_mingw_lib_z" = xyes
13095 then :
13097 else $as_nop
13098 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13100 else $as_nop
13101 ZLIB_PE_CFLAGS=""; ZLIB_PE_LIBS=""
13103 CPPFLAGS=$ac_save_CPPFLAGS
13105 if test "x$ZLIB_PE_LIBS" = "x"
13106 then
13107 as_fn_append wine_notices "|zlib ${notice_platform}MinGW development files not found; using bundled version."
13111 if ${FAUDIO_PE_LIBS:+false} :
13112 then :
13113 FAUDIO_PE_LIBS="faudio mfplat mfreadwrite mfuuid propsys"
13114 if ${FAUDIO_PE_CFLAGS:+false} :
13115 then :
13116 FAUDIO_PE_CFLAGS="-I\$(top_srcdir)/libs/faudio/include"
13117 else $as_nop
13118 enable_faudio=no
13120 else $as_nop
13121 enable_faudio=no
13123 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_PE_CFLAGS" >&5
13124 printf "%s\n" "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_PE_LIBS" >&5
13126 if ${GSM_PE_LIBS:+false} :
13127 then :
13128 GSM_PE_LIBS=gsm
13129 if ${GSM_PE_CFLAGS:+false} :
13130 then :
13131 GSM_PE_CFLAGS="-I\$(top_srcdir)/libs/gsm/inc"
13132 else $as_nop
13133 enable_gsm=no
13135 else $as_nop
13136 enable_gsm=no
13138 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm cflags: $GSM_PE_CFLAGS" >&5
13139 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gsm libs: $GSM_PE_LIBS" >&5
13141 if ${JPEG_PE_LIBS:+false} :
13142 then :
13143 JPEG_PE_LIBS=jpeg
13144 if ${JPEG_PE_CFLAGS:+false} :
13145 then :
13146 JPEG_PE_CFLAGS="-I\$(top_srcdir)/libs/jpeg"
13147 else $as_nop
13148 enable_jpeg=no
13150 else $as_nop
13151 enable_jpeg=no
13153 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg cflags: $JPEG_PE_CFLAGS" >&5
13154 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jpeg libs: $JPEG_PE_LIBS" >&5
13156 if ${JXR_PE_LIBS:+false} :
13157 then :
13158 JXR_PE_LIBS=jxr
13159 if ${JXR_PE_CFLAGS:+false} :
13160 then :
13161 JXR_PE_CFLAGS="-I\$(top_srcdir)/libs/jxr/jxrgluelib -I\$(top_srcdir)/libs/jxr/image/sys"
13162 else $as_nop
13163 enable_jxr=no
13165 else $as_nop
13166 enable_jxr=no
13168 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr cflags: $JXR_PE_CFLAGS" >&5
13169 printf "%s\n" "$as_me:${as_lineno-$LINENO}: jxr libs: $JXR_PE_LIBS" >&5
13171 if ${LCMS2_PE_LIBS:+false} :
13172 then :
13173 LCMS2_PE_LIBS=lcms2
13174 if ${LCMS2_PE_CFLAGS:+false} :
13175 then :
13176 LCMS2_PE_CFLAGS="-I\$(top_srcdir)/libs/lcms2/include"
13177 else $as_nop
13178 enable_lcms2=no
13180 else $as_nop
13181 enable_lcms2=no
13183 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_PE_CFLAGS" >&5
13184 printf "%s\n" "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_PE_LIBS" >&5
13186 if ${LDAP_PE_LIBS:+false} :
13187 then :
13188 LDAP_PE_LIBS=ldap
13189 if ${LDAP_PE_CFLAGS:+false} :
13190 then :
13191 LDAP_PE_CFLAGS="-I\$(top_srcdir)/libs/ldap/include"
13192 else $as_nop
13193 enable_ldap=no
13195 else $as_nop
13196 enable_ldap=no
13198 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ldap cflags: $LDAP_PE_CFLAGS" >&5
13199 printf "%s\n" "$as_me:${as_lineno-$LINENO}: ldap libs: $LDAP_PE_LIBS" >&5
13201 if ${MPG123_PE_LIBS:+false} :
13202 then :
13203 MPG123_PE_LIBS=mpg123
13204 if ${MPG123_PE_CFLAGS:+false} :
13205 then :
13206 MPG123_PE_CFLAGS="-I\$(top_srcdir)/libs/mpg123/src/libmpg123"
13207 else $as_nop
13208 enable_mpg123=no
13210 else $as_nop
13211 enable_mpg123=no
13213 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 cflags: $MPG123_PE_CFLAGS" >&5
13214 printf "%s\n" "$as_me:${as_lineno-$LINENO}: mpg123 libs: $MPG123_PE_LIBS" >&5
13216 if ${PNG_PE_LIBS:+false} :
13217 then :
13218 PNG_PE_LIBS="png \$(ZLIB_PE_LIBS)"
13219 if ${PNG_PE_CFLAGS:+false} :
13220 then :
13221 PNG_PE_CFLAGS="-I\$(top_srcdir)/libs/png"
13222 else $as_nop
13223 enable_png=no
13225 else $as_nop
13226 enable_png=no
13228 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png cflags: $PNG_PE_CFLAGS" >&5
13229 printf "%s\n" "$as_me:${as_lineno-$LINENO}: png libs: $PNG_PE_LIBS" >&5
13231 if ${TIFF_PE_LIBS:+false} :
13232 then :
13233 TIFF_PE_LIBS="tiff \$(ZLIB_PE_LIBS)"
13234 if ${TIFF_PE_CFLAGS:+false} :
13235 then :
13236 TIFF_PE_CFLAGS="-I\$(top_srcdir)/libs/tiff/libtiff"
13237 else $as_nop
13238 enable_tiff=no
13240 else $as_nop
13241 enable_tiff=no
13243 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff cflags: $TIFF_PE_CFLAGS" >&5
13244 printf "%s\n" "$as_me:${as_lineno-$LINENO}: tiff libs: $TIFF_PE_LIBS" >&5
13246 if ${VKD3D_PE_LIBS:+false} :
13247 then :
13248 VKD3D_PE_LIBS=vkd3d
13249 if ${VKD3D_PE_CFLAGS:+false} :
13250 then :
13251 VKD3D_PE_CFLAGS="-I\$(top_srcdir)/libs/vkd3d/include"
13252 else $as_nop
13253 enable_vkd3d=no
13255 else $as_nop
13256 enable_vkd3d=no
13258 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d cflags: $VKD3D_PE_CFLAGS" >&5
13259 printf "%s\n" "$as_me:${as_lineno-$LINENO}: vkd3d libs: $VKD3D_PE_LIBS" >&5
13261 if ${XML2_PE_LIBS:+false} :
13262 then :
13263 XML2_PE_LIBS=xml2
13264 if ${XML2_PE_CFLAGS:+false} :
13265 then :
13266 XML2_PE_CFLAGS="-I\$(top_srcdir)/libs/xml2/include -DLIBXML_STATIC"
13267 else $as_nop
13268 enable_xml2=no
13270 else $as_nop
13271 enable_xml2=no
13273 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 cflags: $XML2_PE_CFLAGS" >&5
13274 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xml2 libs: $XML2_PE_LIBS" >&5
13276 if ${XSLT_PE_LIBS:+false} :
13277 then :
13278 XSLT_PE_LIBS=xslt
13279 if ${XSLT_PE_CFLAGS:+false} :
13280 then :
13281 XSLT_PE_CFLAGS="-I\$(top_srcdir)/libs/xslt/libxslt -I\$(top_srcdir)/libs/xslt -DLIBXSLT_STATIC"
13282 else $as_nop
13283 enable_xslt=no
13285 else $as_nop
13286 enable_xslt=no
13288 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt cflags: $XSLT_PE_CFLAGS" >&5
13289 printf "%s\n" "$as_me:${as_lineno-$LINENO}: xslt libs: $XSLT_PE_LIBS" >&5
13291 if ${ZLIB_PE_LIBS:+false} :
13292 then :
13293 ZLIB_PE_LIBS=z
13294 if ${ZLIB_PE_CFLAGS:+false} :
13295 then :
13296 ZLIB_PE_CFLAGS="-I\$(top_srcdir)/libs/zlib -DFAR= -DZ_SOLO"
13297 else $as_nop
13298 enable_zlib=no
13300 else $as_nop
13301 enable_zlib=no
13303 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib cflags: $ZLIB_PE_CFLAGS" >&5
13304 printf "%s\n" "$as_me:${as_lineno-$LINENO}: zlib libs: $ZLIB_PE_LIBS" >&5
13308 if test "$ac_cv_header_pthread_h" = "yes"
13309 then
13310 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
13311 if test "x$ac_cv_func_pthread_create" = xyes
13312 then :
13314 else $as_nop
13315 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
13316 printf %s "checking for pthread_create in -lpthread... " >&6; }
13317 if test ${ac_cv_lib_pthread_pthread_create+y}
13318 then :
13319 printf %s "(cached) " >&6
13320 else $as_nop
13321 ac_check_lib_save_LIBS=$LIBS
13322 LIBS="-lpthread $LIBS"
13323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13324 /* end confdefs.h. */
13326 /* Override any GCC internal prototype to avoid an error.
13327 Use char because int might match the return type of a GCC
13328 builtin and then its argument prototype would still apply. */
13329 char pthread_create ();
13331 main (void)
13333 return pthread_create ();
13335 return 0;
13337 _ACEOF
13338 if ac_fn_c_try_link "$LINENO"
13339 then :
13340 ac_cv_lib_pthread_pthread_create=yes
13341 else $as_nop
13342 ac_cv_lib_pthread_pthread_create=no
13344 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13345 conftest$ac_exeext conftest.$ac_ext
13346 LIBS=$ac_check_lib_save_LIBS
13348 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
13349 printf "%s\n" "$ac_cv_lib_pthread_pthread_create" >&6; }
13350 if test "x$ac_cv_lib_pthread_pthread_create" = xyes
13351 then :
13352 PTHREAD_LIBS="-lpthread"
13359 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x
13360 then :
13361 case "x$with_pthread" in
13362 xno) ;;
13363 *) as_fn_error $? "pthread ${notice_platform}development files not found.
13364 Wine cannot support threads without libpthread.
13365 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
13366 esac
13371 ac_ext=c
13372 ac_cpp='$CPP $CPPFLAGS'
13373 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13374 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13375 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13376 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
13377 printf %s "checking how to run the C preprocessor... " >&6; }
13378 # On Suns, sometimes $CPP names a directory.
13379 if test -n "$CPP" && test -d "$CPP"; then
13380 CPP=
13382 if test -z "$CPP"; then
13383 if test ${ac_cv_prog_CPP+y}
13384 then :
13385 printf %s "(cached) " >&6
13386 else $as_nop
13387 # Double quotes because $CC needs to be expanded
13388 for CPP in "$CC -E" "$CC -E -traditional-cpp" cpp /lib/cpp
13390 ac_preproc_ok=false
13391 for ac_c_preproc_warn_flag in '' yes
13393 # Use a header file that comes with gcc, so configuring glibc
13394 # with a fresh cross-compiler works.
13395 # On the NeXT, cc -E runs the code through the compiler's parser,
13396 # not just through cpp. "Syntax error" is here to catch this case.
13397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13398 /* end confdefs.h. */
13399 #include <limits.h>
13400 Syntax error
13401 _ACEOF
13402 if ac_fn_c_try_cpp "$LINENO"
13403 then :
13405 else $as_nop
13406 # Broken: fails on valid input.
13407 continue
13409 rm -f conftest.err conftest.i conftest.$ac_ext
13411 # OK, works on sane cases. Now check whether nonexistent headers
13412 # can be detected and how.
13413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13414 /* end confdefs.h. */
13415 #include <ac_nonexistent.h>
13416 _ACEOF
13417 if ac_fn_c_try_cpp "$LINENO"
13418 then :
13419 # Broken: success on invalid input.
13420 continue
13421 else $as_nop
13422 # Passes both tests.
13423 ac_preproc_ok=:
13424 break
13426 rm -f conftest.err conftest.i conftest.$ac_ext
13428 done
13429 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13430 rm -f conftest.i conftest.err conftest.$ac_ext
13431 if $ac_preproc_ok
13432 then :
13433 break
13436 done
13437 ac_cv_prog_CPP=$CPP
13440 CPP=$ac_cv_prog_CPP
13441 else
13442 ac_cv_prog_CPP=$CPP
13444 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
13445 printf "%s\n" "$CPP" >&6; }
13446 ac_preproc_ok=false
13447 for ac_c_preproc_warn_flag in '' yes
13449 # Use a header file that comes with gcc, so configuring glibc
13450 # with a fresh cross-compiler works.
13451 # On the NeXT, cc -E runs the code through the compiler's parser,
13452 # not just through cpp. "Syntax error" is here to catch this case.
13453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13454 /* end confdefs.h. */
13455 #include <limits.h>
13456 Syntax error
13457 _ACEOF
13458 if ac_fn_c_try_cpp "$LINENO"
13459 then :
13461 else $as_nop
13462 # Broken: fails on valid input.
13463 continue
13465 rm -f conftest.err conftest.i conftest.$ac_ext
13467 # OK, works on sane cases. Now check whether nonexistent headers
13468 # can be detected and how.
13469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13470 /* end confdefs.h. */
13471 #include <ac_nonexistent.h>
13472 _ACEOF
13473 if ac_fn_c_try_cpp "$LINENO"
13474 then :
13475 # Broken: success on invalid input.
13476 continue
13477 else $as_nop
13478 # Passes both tests.
13479 ac_preproc_ok=:
13480 break
13482 rm -f conftest.err conftest.i conftest.$ac_ext
13484 done
13485 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
13486 rm -f conftest.i conftest.err conftest.$ac_ext
13487 if $ac_preproc_ok
13488 then :
13490 else $as_nop
13491 { { printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
13492 printf "%s\n" "$as_me: error: in \`$ac_pwd':" >&2;}
13493 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
13494 See \`config.log' for more details" "$LINENO" 5; }
13497 ac_ext=c
13498 ac_cpp='$CPP $CPPFLAGS'
13499 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
13500 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
13501 ac_compiler_gnu=$ac_cv_c_compiler_gnu
13504 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for X" >&5
13505 printf %s "checking for X... " >&6; }
13508 # Check whether --with-x was given.
13509 if test ${with_x+y}
13510 then :
13511 withval=$with_x;
13514 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
13515 if test "x$with_x" = xno; then
13516 # The user explicitly disabled X.
13517 have_x=disabled
13518 else
13519 case $x_includes,$x_libraries in #(
13520 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
13521 *,NONE | NONE,*) if test ${ac_cv_have_x+y}
13522 then :
13523 printf %s "(cached) " >&6
13524 else $as_nop
13525 # One or both of the vars are not set, and there is no cached value.
13526 ac_x_includes=no
13527 ac_x_libraries=no
13528 # Do we need to do anything special at all?
13529 ac_save_LIBS=$LIBS
13530 LIBS="-lX11 $LIBS"
13531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13532 /* end confdefs.h. */
13533 #include <X11/Xlib.h>
13535 main (void)
13537 XrmInitialize ()
13539 return 0;
13541 _ACEOF
13542 if ac_fn_c_try_link "$LINENO"
13543 then :
13544 # We can compile and link X programs with no special options.
13545 ac_x_includes=
13546 ac_x_libraries=
13548 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13549 conftest$ac_exeext conftest.$ac_ext
13550 LIBS="$ac_save_LIBS"
13551 # If that didn't work, only try xmkmf and file system searches
13552 # for native compilation.
13553 if test x"$ac_x_includes" = xno && test "$cross_compiling" = no
13554 then :
13555 rm -f -r conftest.dir
13556 if mkdir conftest.dir; then
13557 cd conftest.dir
13558 cat >Imakefile <<'_ACEOF'
13559 incroot:
13560 @echo incroot='${INCROOT}'
13561 usrlibdir:
13562 @echo usrlibdir='${USRLIBDIR}'
13563 libdir:
13564 @echo libdir='${LIBDIR}'
13565 _ACEOF
13566 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
13567 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
13568 for ac_var in incroot usrlibdir libdir; do
13569 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
13570 done
13571 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
13572 for ac_extension in a so sl dylib la dll; do
13573 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
13574 test -f "$ac_im_libdir/libX11.$ac_extension"; then
13575 ac_im_usrlibdir=$ac_im_libdir; break
13577 done
13578 # Screen out bogus values from the imake configuration. They are
13579 # bogus both because they are the default anyway, and because
13580 # using them would break gcc on systems where it needs fixed includes.
13581 case $ac_im_incroot in
13582 /usr/include) ac_x_includes= ;;
13583 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
13584 esac
13585 case $ac_im_usrlibdir in
13586 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
13587 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
13588 esac
13590 cd ..
13591 rm -f -r conftest.dir
13594 # Standard set of common directories for X headers.
13595 # Check X11 before X11Rn because it is often a symlink to the current release.
13596 ac_x_header_dirs='
13597 /usr/X11/include
13598 /usr/X11R7/include
13599 /usr/X11R6/include
13600 /usr/X11R5/include
13601 /usr/X11R4/include
13603 /usr/include/X11
13604 /usr/include/X11R7
13605 /usr/include/X11R6
13606 /usr/include/X11R5
13607 /usr/include/X11R4
13609 /usr/local/X11/include
13610 /usr/local/X11R7/include
13611 /usr/local/X11R6/include
13612 /usr/local/X11R5/include
13613 /usr/local/X11R4/include
13615 /usr/local/include/X11
13616 /usr/local/include/X11R7
13617 /usr/local/include/X11R6
13618 /usr/local/include/X11R5
13619 /usr/local/include/X11R4
13621 /opt/X11/include
13623 /usr/X386/include
13624 /usr/x386/include
13625 /usr/XFree86/include/X11
13627 /usr/include
13628 /usr/local/include
13629 /usr/unsupported/include
13630 /usr/athena/include
13631 /usr/local/x11r5/include
13632 /usr/lpp/Xamples/include
13634 /usr/openwin/include
13635 /usr/openwin/share/include'
13637 if test "$ac_x_includes" = no; then
13638 # Guess where to find include files, by looking for Xlib.h.
13639 # First, try using that file with no special directory specified.
13640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13641 /* end confdefs.h. */
13642 #include <X11/Xlib.h>
13643 _ACEOF
13644 if ac_fn_c_try_cpp "$LINENO"
13645 then :
13646 # We can compile using X headers with no special include directory.
13647 ac_x_includes=
13648 else $as_nop
13649 for ac_dir in $ac_x_header_dirs; do
13650 if test -r "$ac_dir/X11/Xlib.h"; then
13651 ac_x_includes=$ac_dir
13652 break
13654 done
13656 rm -f conftest.err conftest.i conftest.$ac_ext
13657 fi # $ac_x_includes = no
13659 if test "$ac_x_libraries" = no; then
13660 # Check for the libraries.
13661 # See if we find them without any special options.
13662 # Don't add to $LIBS permanently.
13663 ac_save_LIBS=$LIBS
13664 LIBS="-lX11 $LIBS"
13665 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13666 /* end confdefs.h. */
13667 #include <X11/Xlib.h>
13669 main (void)
13671 XrmInitialize ()
13673 return 0;
13675 _ACEOF
13676 if ac_fn_c_try_link "$LINENO"
13677 then :
13678 LIBS=$ac_save_LIBS
13679 # We can link X programs with no special library path.
13680 ac_x_libraries=
13681 else $as_nop
13682 LIBS=$ac_save_LIBS
13683 for ac_dir in `printf "%s\n" "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
13685 # Don't even attempt the hair of trying to link an X program!
13686 for ac_extension in a so sl dylib la dll; do
13687 if test -r "$ac_dir/libX11.$ac_extension"; then
13688 ac_x_libraries=$ac_dir
13689 break 2
13691 done
13692 done
13694 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13695 conftest$ac_exeext conftest.$ac_ext
13696 fi # $ac_x_libraries = no
13699 # Record the results.
13700 case $ac_x_includes,$ac_x_libraries in #(
13701 no,* | *,no | *\'*) :
13702 # Didn't find X, or a directory has "'" in its name.
13703 ac_cv_have_x="have_x=no" ;; #(
13704 *) :
13705 # Record where we found X for the cache.
13706 ac_cv_have_x="have_x=yes\
13707 ac_x_includes='$ac_x_includes'\
13708 ac_x_libraries='$ac_x_libraries'" ;;
13709 esac
13711 ;; #(
13712 *) have_x=yes;;
13713 esac
13714 eval "$ac_cv_have_x"
13715 fi # $with_x != no
13717 if test "$have_x" != yes; then
13718 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
13719 printf "%s\n" "$have_x" >&6; }
13720 no_x=yes
13721 else
13722 # If each of the values was on the command line, it overrides each guess.
13723 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
13724 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
13725 # Update the cache value to reflect the command line values.
13726 ac_cv_have_x="have_x=yes\
13727 ac_x_includes='$x_includes'\
13728 ac_x_libraries='$x_libraries'"
13729 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
13730 printf "%s\n" "libraries $x_libraries, headers $x_includes" >&6; }
13733 if test "$no_x" = yes; then
13734 # Not all programs may use this symbol, but it does not hurt to define it.
13736 printf "%s\n" "#define X_DISPLAY_MISSING 1" >>confdefs.h
13738 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
13739 else
13740 if test -n "$x_includes"; then
13741 X_CFLAGS="$X_CFLAGS -I$x_includes"
13744 # It would also be nice to do this for all -L options, not just this one.
13745 if test -n "$x_libraries"; then
13746 X_LIBS="$X_LIBS -L$x_libraries"
13747 # For Solaris; some versions of Sun CC require a space after -R and
13748 # others require no space. Words are not sufficient . . . .
13749 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
13750 printf %s "checking whether -R must be followed by a space... " >&6; }
13751 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
13752 ac_xsave_c_werror_flag=$ac_c_werror_flag
13753 ac_c_werror_flag=yes
13754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13755 /* end confdefs.h. */
13758 main (void)
13762 return 0;
13764 _ACEOF
13765 if ac_fn_c_try_link "$LINENO"
13766 then :
13767 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
13768 printf "%s\n" "no" >&6; }
13769 X_LIBS="$X_LIBS -R$x_libraries"
13770 else $as_nop
13771 LIBS="$ac_xsave_LIBS -R $x_libraries"
13772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13773 /* end confdefs.h. */
13776 main (void)
13780 return 0;
13782 _ACEOF
13783 if ac_fn_c_try_link "$LINENO"
13784 then :
13785 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
13786 printf "%s\n" "yes" >&6; }
13787 X_LIBS="$X_LIBS -R $x_libraries"
13788 else $as_nop
13789 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
13790 printf "%s\n" "neither works" >&6; }
13792 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13793 conftest$ac_exeext conftest.$ac_ext
13795 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13796 conftest$ac_exeext conftest.$ac_ext
13797 ac_c_werror_flag=$ac_xsave_c_werror_flag
13798 LIBS=$ac_xsave_LIBS
13801 # Check for system-dependent libraries X programs must link with.
13802 # Do this before checking for the system-independent R6 libraries
13803 # (-lICE), since we may need -lsocket or whatever for X linking.
13805 if test "$ISC" = yes; then
13806 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
13807 else
13808 # Martyn Johnson says this is needed for Ultrix, if the X
13809 # libraries were built with DECnet support. And Karl Berry says
13810 # the Alpha needs dnet_stub (dnet does not exist).
13811 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
13812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13813 /* end confdefs.h. */
13815 /* Override any GCC internal prototype to avoid an error.
13816 Use char because int might match the return type of a GCC
13817 builtin and then its argument prototype would still apply. */
13818 char XOpenDisplay ();
13820 main (void)
13822 return XOpenDisplay ();
13824 return 0;
13826 _ACEOF
13827 if ac_fn_c_try_link "$LINENO"
13828 then :
13830 else $as_nop
13831 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
13832 printf %s "checking for dnet_ntoa in -ldnet... " >&6; }
13833 if test ${ac_cv_lib_dnet_dnet_ntoa+y}
13834 then :
13835 printf %s "(cached) " >&6
13836 else $as_nop
13837 ac_check_lib_save_LIBS=$LIBS
13838 LIBS="-ldnet $LIBS"
13839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13840 /* end confdefs.h. */
13842 /* Override any GCC internal prototype to avoid an error.
13843 Use char because int might match the return type of a GCC
13844 builtin and then its argument prototype would still apply. */
13845 char dnet_ntoa ();
13847 main (void)
13849 return dnet_ntoa ();
13851 return 0;
13853 _ACEOF
13854 if ac_fn_c_try_link "$LINENO"
13855 then :
13856 ac_cv_lib_dnet_dnet_ntoa=yes
13857 else $as_nop
13858 ac_cv_lib_dnet_dnet_ntoa=no
13860 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13861 conftest$ac_exeext conftest.$ac_ext
13862 LIBS=$ac_check_lib_save_LIBS
13864 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
13865 printf "%s\n" "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
13866 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes
13867 then :
13868 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
13871 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
13872 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
13873 printf %s "checking for dnet_ntoa in -ldnet_stub... " >&6; }
13874 if test ${ac_cv_lib_dnet_stub_dnet_ntoa+y}
13875 then :
13876 printf %s "(cached) " >&6
13877 else $as_nop
13878 ac_check_lib_save_LIBS=$LIBS
13879 LIBS="-ldnet_stub $LIBS"
13880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13881 /* end confdefs.h. */
13883 /* Override any GCC internal prototype to avoid an error.
13884 Use char because int might match the return type of a GCC
13885 builtin and then its argument prototype would still apply. */
13886 char dnet_ntoa ();
13888 main (void)
13890 return dnet_ntoa ();
13892 return 0;
13894 _ACEOF
13895 if ac_fn_c_try_link "$LINENO"
13896 then :
13897 ac_cv_lib_dnet_stub_dnet_ntoa=yes
13898 else $as_nop
13899 ac_cv_lib_dnet_stub_dnet_ntoa=no
13901 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13902 conftest$ac_exeext conftest.$ac_ext
13903 LIBS=$ac_check_lib_save_LIBS
13905 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
13906 printf "%s\n" "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
13907 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes
13908 then :
13909 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
13914 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13915 conftest$ac_exeext conftest.$ac_ext
13916 LIBS="$ac_xsave_LIBS"
13918 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
13919 # to get the SysV transport functions.
13920 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
13921 # needs -lnsl.
13922 # The nsl library prevents programs from opening the X display
13923 # on Irix 5.2, according to T.E. Dickey.
13924 # The functions gethostbyname, getservbyname, and inet_addr are
13925 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
13926 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
13927 if test "x$ac_cv_func_gethostbyname" = xyes
13928 then :
13932 if test $ac_cv_func_gethostbyname = no; then
13933 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
13934 printf %s "checking for gethostbyname in -lnsl... " >&6; }
13935 if test ${ac_cv_lib_nsl_gethostbyname+y}
13936 then :
13937 printf %s "(cached) " >&6
13938 else $as_nop
13939 ac_check_lib_save_LIBS=$LIBS
13940 LIBS="-lnsl $LIBS"
13941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13942 /* end confdefs.h. */
13944 /* Override any GCC internal prototype to avoid an error.
13945 Use char because int might match the return type of a GCC
13946 builtin and then its argument prototype would still apply. */
13947 char gethostbyname ();
13949 main (void)
13951 return gethostbyname ();
13953 return 0;
13955 _ACEOF
13956 if ac_fn_c_try_link "$LINENO"
13957 then :
13958 ac_cv_lib_nsl_gethostbyname=yes
13959 else $as_nop
13960 ac_cv_lib_nsl_gethostbyname=no
13962 rm -f core conftest.err conftest.$ac_objext conftest.beam \
13963 conftest$ac_exeext conftest.$ac_ext
13964 LIBS=$ac_check_lib_save_LIBS
13966 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
13967 printf "%s\n" "$ac_cv_lib_nsl_gethostbyname" >&6; }
13968 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes
13969 then :
13970 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
13973 if test $ac_cv_lib_nsl_gethostbyname = no; then
13974 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
13975 printf %s "checking for gethostbyname in -lbsd... " >&6; }
13976 if test ${ac_cv_lib_bsd_gethostbyname+y}
13977 then :
13978 printf %s "(cached) " >&6
13979 else $as_nop
13980 ac_check_lib_save_LIBS=$LIBS
13981 LIBS="-lbsd $LIBS"
13982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13983 /* end confdefs.h. */
13985 /* Override any GCC internal prototype to avoid an error.
13986 Use char because int might match the return type of a GCC
13987 builtin and then its argument prototype would still apply. */
13988 char gethostbyname ();
13990 main (void)
13992 return gethostbyname ();
13994 return 0;
13996 _ACEOF
13997 if ac_fn_c_try_link "$LINENO"
13998 then :
13999 ac_cv_lib_bsd_gethostbyname=yes
14000 else $as_nop
14001 ac_cv_lib_bsd_gethostbyname=no
14003 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14004 conftest$ac_exeext conftest.$ac_ext
14005 LIBS=$ac_check_lib_save_LIBS
14007 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
14008 printf "%s\n" "$ac_cv_lib_bsd_gethostbyname" >&6; }
14009 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes
14010 then :
14011 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
14017 # lieder@skyler.mavd.honeywell.com says without -lsocket,
14018 # socket/setsockopt and other routines are undefined under SCO ODT
14019 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
14020 # on later versions), says Simon Leinen: it contains gethostby*
14021 # variants that don't use the name server (or something). -lsocket
14022 # must be given before -lnsl if both are needed. We assume that
14023 # if connect needs -lnsl, so does gethostbyname.
14024 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
14025 if test "x$ac_cv_func_connect" = xyes
14026 then :
14030 if test $ac_cv_func_connect = no; then
14031 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
14032 printf %s "checking for connect in -lsocket... " >&6; }
14033 if test ${ac_cv_lib_socket_connect+y}
14034 then :
14035 printf %s "(cached) " >&6
14036 else $as_nop
14037 ac_check_lib_save_LIBS=$LIBS
14038 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
14039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14040 /* end confdefs.h. */
14042 /* Override any GCC internal prototype to avoid an error.
14043 Use char because int might match the return type of a GCC
14044 builtin and then its argument prototype would still apply. */
14045 char connect ();
14047 main (void)
14049 return connect ();
14051 return 0;
14053 _ACEOF
14054 if ac_fn_c_try_link "$LINENO"
14055 then :
14056 ac_cv_lib_socket_connect=yes
14057 else $as_nop
14058 ac_cv_lib_socket_connect=no
14060 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14061 conftest$ac_exeext conftest.$ac_ext
14062 LIBS=$ac_check_lib_save_LIBS
14064 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
14065 printf "%s\n" "$ac_cv_lib_socket_connect" >&6; }
14066 if test "x$ac_cv_lib_socket_connect" = xyes
14067 then :
14068 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
14073 # Guillermo Gomez says -lposix is necessary on A/UX.
14074 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
14075 if test "x$ac_cv_func_remove" = xyes
14076 then :
14080 if test $ac_cv_func_remove = no; then
14081 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
14082 printf %s "checking for remove in -lposix... " >&6; }
14083 if test ${ac_cv_lib_posix_remove+y}
14084 then :
14085 printf %s "(cached) " >&6
14086 else $as_nop
14087 ac_check_lib_save_LIBS=$LIBS
14088 LIBS="-lposix $LIBS"
14089 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14090 /* end confdefs.h. */
14092 /* Override any GCC internal prototype to avoid an error.
14093 Use char because int might match the return type of a GCC
14094 builtin and then its argument prototype would still apply. */
14095 char remove ();
14097 main (void)
14099 return remove ();
14101 return 0;
14103 _ACEOF
14104 if ac_fn_c_try_link "$LINENO"
14105 then :
14106 ac_cv_lib_posix_remove=yes
14107 else $as_nop
14108 ac_cv_lib_posix_remove=no
14110 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14111 conftest$ac_exeext conftest.$ac_ext
14112 LIBS=$ac_check_lib_save_LIBS
14114 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
14115 printf "%s\n" "$ac_cv_lib_posix_remove" >&6; }
14116 if test "x$ac_cv_lib_posix_remove" = xyes
14117 then :
14118 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
14123 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
14124 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
14125 if test "x$ac_cv_func_shmat" = xyes
14126 then :
14130 if test $ac_cv_func_shmat = no; then
14131 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
14132 printf %s "checking for shmat in -lipc... " >&6; }
14133 if test ${ac_cv_lib_ipc_shmat+y}
14134 then :
14135 printf %s "(cached) " >&6
14136 else $as_nop
14137 ac_check_lib_save_LIBS=$LIBS
14138 LIBS="-lipc $LIBS"
14139 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14140 /* end confdefs.h. */
14142 /* Override any GCC internal prototype to avoid an error.
14143 Use char because int might match the return type of a GCC
14144 builtin and then its argument prototype would still apply. */
14145 char shmat ();
14147 main (void)
14149 return shmat ();
14151 return 0;
14153 _ACEOF
14154 if ac_fn_c_try_link "$LINENO"
14155 then :
14156 ac_cv_lib_ipc_shmat=yes
14157 else $as_nop
14158 ac_cv_lib_ipc_shmat=no
14160 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14161 conftest$ac_exeext conftest.$ac_ext
14162 LIBS=$ac_check_lib_save_LIBS
14164 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
14165 printf "%s\n" "$ac_cv_lib_ipc_shmat" >&6; }
14166 if test "x$ac_cv_lib_ipc_shmat" = xyes
14167 then :
14168 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
14174 # Check for libraries that X11R6 Xt/Xaw programs need.
14175 ac_save_LDFLAGS=$LDFLAGS
14176 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
14177 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
14178 # check for ICE first), but we must link in the order -lSM -lICE or
14179 # we get undefined symbols. So assume we have SM if we have ICE.
14180 # These have to be linked with before -lX11, unlike the other
14181 # libraries we check for below, so use a different variable.
14182 # John Interrante, Karl Berry
14183 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
14184 printf %s "checking for IceConnectionNumber in -lICE... " >&6; }
14185 if test ${ac_cv_lib_ICE_IceConnectionNumber+y}
14186 then :
14187 printf %s "(cached) " >&6
14188 else $as_nop
14189 ac_check_lib_save_LIBS=$LIBS
14190 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
14191 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14192 /* end confdefs.h. */
14194 /* Override any GCC internal prototype to avoid an error.
14195 Use char because int might match the return type of a GCC
14196 builtin and then its argument prototype would still apply. */
14197 char IceConnectionNumber ();
14199 main (void)
14201 return IceConnectionNumber ();
14203 return 0;
14205 _ACEOF
14206 if ac_fn_c_try_link "$LINENO"
14207 then :
14208 ac_cv_lib_ICE_IceConnectionNumber=yes
14209 else $as_nop
14210 ac_cv_lib_ICE_IceConnectionNumber=no
14212 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14213 conftest$ac_exeext conftest.$ac_ext
14214 LIBS=$ac_check_lib_save_LIBS
14216 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
14217 printf "%s\n" "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
14218 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes
14219 then :
14220 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
14223 LDFLAGS=$ac_save_LDFLAGS
14228 if test "$have_x" = "yes"
14229 then
14230 ac_save_CPPFLAGS="$CPPFLAGS"
14231 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
14233 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
14234 printf %s "checking for -lX11... " >&6; }
14235 if test ${ac_cv_lib_soname_X11+y}
14236 then :
14237 printf %s "(cached) " >&6
14238 else $as_nop
14239 ac_check_soname_save_LIBS=$LIBS
14240 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14242 /* end confdefs.h. */
14244 /* Override any GCC internal prototype to avoid an error.
14245 Use char because int might match the return type of a GCC
14246 builtin and then its argument prototype would still apply. */
14247 char XCreateWindow ();
14249 main (void)
14251 return XCreateWindow ();
14253 return 0;
14255 _ACEOF
14256 if ac_fn_c_try_link "$LINENO"
14257 then :
14258 case "$LIBEXT" in
14259 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14260 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'` ;;
14261 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14262 if ${ac_cv_lib_soname_X11:+false} :
14263 then :
14264 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14265 fi ;;
14266 esac
14267 else $as_nop
14268 ac_cv_lib_soname_X11=
14270 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14271 conftest$ac_exeext conftest.$ac_ext
14272 LIBS=$ac_check_soname_save_LIBS
14274 if ${ac_cv_lib_soname_X11:+false} :
14275 then :
14276 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14277 printf "%s\n" "not found" >&6; }
14279 else $as_nop
14280 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
14281 printf "%s\n" "$ac_cv_lib_soname_X11" >&6; }
14283 printf "%s\n" "#define SONAME_LIBX11 \"$ac_cv_lib_soname_X11\"" >>confdefs.h
14287 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
14288 printf %s "checking for -lXext... " >&6; }
14289 if test ${ac_cv_lib_soname_Xext+y}
14290 then :
14291 printf %s "(cached) " >&6
14292 else $as_nop
14293 ac_check_soname_save_LIBS=$LIBS
14294 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
14295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14296 /* end confdefs.h. */
14298 /* Override any GCC internal prototype to avoid an error.
14299 Use char because int might match the return type of a GCC
14300 builtin and then its argument prototype would still apply. */
14301 char XextCreateExtension ();
14303 main (void)
14305 return XextCreateExtension ();
14307 return 0;
14309 _ACEOF
14310 if ac_fn_c_try_link "$LINENO"
14311 then :
14312 case "$LIBEXT" in
14313 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14314 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'` ;;
14315 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14316 if ${ac_cv_lib_soname_Xext:+false} :
14317 then :
14318 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14319 fi ;;
14320 esac
14321 else $as_nop
14322 ac_cv_lib_soname_Xext=
14324 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14325 conftest$ac_exeext conftest.$ac_ext
14326 LIBS=$ac_check_soname_save_LIBS
14328 if ${ac_cv_lib_soname_Xext:+false} :
14329 then :
14330 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14331 printf "%s\n" "not found" >&6; }
14333 else $as_nop
14334 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
14335 printf "%s\n" "$ac_cv_lib_soname_Xext" >&6; }
14337 printf "%s\n" "#define SONAME_LIBXEXT \"$ac_cv_lib_soname_Xext\"" >>confdefs.h
14339 X_LIBS="$X_LIBS -lXext"
14341 X_LIBS="$X_LIBS -lX11"
14343 ac_fn_c_check_header_compile "$LINENO" "X11/Xlib.h" "ac_cv_header_X11_Xlib_h" "#ifdef HAVE_X11_XLIB_H
14344 # include <X11/Xlib.h>
14345 #endif
14346 #ifdef HAVE_X11_XUTIL_H
14347 # include <X11/Xutil.h>
14348 #endif
14350 if test "x$ac_cv_header_X11_Xlib_h" = xyes
14351 then :
14352 printf "%s\n" "#define HAVE_X11_XLIB_H 1" >>confdefs.h
14355 ac_fn_c_check_header_compile "$LINENO" "X11/XKBlib.h" "ac_cv_header_X11_XKBlib_h" "#ifdef HAVE_X11_XLIB_H
14356 # include <X11/Xlib.h>
14357 #endif
14358 #ifdef HAVE_X11_XUTIL_H
14359 # include <X11/Xutil.h>
14360 #endif
14362 if test "x$ac_cv_header_X11_XKBlib_h" = xyes
14363 then :
14364 printf "%s\n" "#define HAVE_X11_XKBLIB_H 1" >>confdefs.h
14367 ac_fn_c_check_header_compile "$LINENO" "X11/Xutil.h" "ac_cv_header_X11_Xutil_h" "#ifdef HAVE_X11_XLIB_H
14368 # include <X11/Xlib.h>
14369 #endif
14370 #ifdef HAVE_X11_XUTIL_H
14371 # include <X11/Xutil.h>
14372 #endif
14374 if test "x$ac_cv_header_X11_Xutil_h" = xyes
14375 then :
14376 printf "%s\n" "#define HAVE_X11_XUTIL_H 1" >>confdefs.h
14379 ac_fn_c_check_header_compile "$LINENO" "X11/Xcursor/Xcursor.h" "ac_cv_header_X11_Xcursor_Xcursor_h" "#ifdef HAVE_X11_XLIB_H
14380 # include <X11/Xlib.h>
14381 #endif
14382 #ifdef HAVE_X11_XUTIL_H
14383 # include <X11/Xutil.h>
14384 #endif
14386 if test "x$ac_cv_header_X11_Xcursor_Xcursor_h" = xyes
14387 then :
14388 printf "%s\n" "#define HAVE_X11_XCURSOR_XCURSOR_H 1" >>confdefs.h
14391 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/shape.h" "ac_cv_header_X11_extensions_shape_h" "#ifdef HAVE_X11_XLIB_H
14392 # include <X11/Xlib.h>
14393 #endif
14394 #ifdef HAVE_X11_XUTIL_H
14395 # include <X11/Xutil.h>
14396 #endif
14398 if test "x$ac_cv_header_X11_extensions_shape_h" = xyes
14399 then :
14400 printf "%s\n" "#define HAVE_X11_EXTENSIONS_SHAPE_H 1" >>confdefs.h
14403 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput.h" "ac_cv_header_X11_extensions_XInput_h" "#ifdef HAVE_X11_XLIB_H
14404 # include <X11/Xlib.h>
14405 #endif
14406 #ifdef HAVE_X11_XUTIL_H
14407 # include <X11/Xutil.h>
14408 #endif
14410 if test "x$ac_cv_header_X11_extensions_XInput_h" = xyes
14411 then :
14412 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT_H 1" >>confdefs.h
14415 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XInput2.h" "ac_cv_header_X11_extensions_XInput2_h" "#ifdef HAVE_X11_XLIB_H
14416 # include <X11/Xlib.h>
14417 #endif
14418 #ifdef HAVE_X11_XUTIL_H
14419 # include <X11/Xutil.h>
14420 #endif
14422 if test "x$ac_cv_header_X11_extensions_XInput2_h" = xyes
14423 then :
14424 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINPUT2_H 1" >>confdefs.h
14427 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/XShm.h" "ac_cv_header_X11_extensions_XShm_h" "#ifdef HAVE_X11_XLIB_H
14428 # include <X11/Xlib.h>
14429 #endif
14430 #ifdef HAVE_X11_XUTIL_H
14431 # include <X11/Xutil.h>
14432 #endif
14434 if test "x$ac_cv_header_X11_extensions_XShm_h" = xyes
14435 then :
14436 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XSHM_H 1" >>confdefs.h
14439 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xcomposite.h" "ac_cv_header_X11_extensions_Xcomposite_h" "#ifdef HAVE_X11_XLIB_H
14440 # include <X11/Xlib.h>
14441 #endif
14442 #ifdef HAVE_X11_XUTIL_H
14443 # include <X11/Xutil.h>
14444 #endif
14446 if test "x$ac_cv_header_X11_extensions_Xcomposite_h" = xyes
14447 then :
14448 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XCOMPOSITE_H 1" >>confdefs.h
14451 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xfixes.h" "ac_cv_header_X11_extensions_Xfixes_h" "#ifdef HAVE_X11_XLIB_H
14452 # include <X11/Xlib.h>
14453 #endif
14454 #ifdef HAVE_X11_XUTIL_H
14455 # include <X11/Xutil.h>
14456 #endif
14458 if test "x$ac_cv_header_X11_extensions_Xfixes_h" = xyes
14459 then :
14460 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XFIXES_H 1" >>confdefs.h
14463 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xinerama.h" "ac_cv_header_X11_extensions_Xinerama_h" "#ifdef HAVE_X11_XLIB_H
14464 # include <X11/Xlib.h>
14465 #endif
14466 #ifdef HAVE_X11_XUTIL_H
14467 # include <X11/Xutil.h>
14468 #endif
14470 if test "x$ac_cv_header_X11_extensions_Xinerama_h" = xyes
14471 then :
14472 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XINERAMA_H 1" >>confdefs.h
14475 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrandr.h" "ac_cv_header_X11_extensions_Xrandr_h" "#ifdef HAVE_X11_XLIB_H
14476 # include <X11/Xlib.h>
14477 #endif
14478 #ifdef HAVE_X11_XUTIL_H
14479 # include <X11/Xutil.h>
14480 #endif
14482 if test "x$ac_cv_header_X11_extensions_Xrandr_h" = xyes
14483 then :
14484 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRANDR_H 1" >>confdefs.h
14487 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/Xrender.h" "ac_cv_header_X11_extensions_Xrender_h" "#ifdef HAVE_X11_XLIB_H
14488 # include <X11/Xlib.h>
14489 #endif
14490 #ifdef HAVE_X11_XUTIL_H
14491 # include <X11/Xutil.h>
14492 #endif
14494 if test "x$ac_cv_header_X11_extensions_Xrender_h" = xyes
14495 then :
14496 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XRENDER_H 1" >>confdefs.h
14499 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmode.h" "ac_cv_header_X11_extensions_xf86vmode_h" "#ifdef HAVE_X11_XLIB_H
14500 # include <X11/Xlib.h>
14501 #endif
14502 #ifdef HAVE_X11_XUTIL_H
14503 # include <X11/Xutil.h>
14504 #endif
14506 if test "x$ac_cv_header_X11_extensions_xf86vmode_h" = xyes
14507 then :
14508 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMODE_H 1" >>confdefs.h
14511 ac_fn_c_check_header_compile "$LINENO" "X11/extensions/xf86vmproto.h" "ac_cv_header_X11_extensions_xf86vmproto_h" "#ifdef HAVE_X11_XLIB_H
14512 # include <X11/Xlib.h>
14513 #endif
14514 #ifdef HAVE_X11_XUTIL_H
14515 # include <X11/Xutil.h>
14516 #endif
14518 if test "x$ac_cv_header_X11_extensions_xf86vmproto_h" = xyes
14519 then :
14520 printf "%s\n" "#define HAVE_X11_EXTENSIONS_XF86VMPROTO_H 1" >>confdefs.h
14525 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
14526 then
14527 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
14528 printf %s "checking for XkbQueryExtension in -lX11... " >&6; }
14529 if test ${ac_cv_lib_X11_XkbQueryExtension+y}
14530 then :
14531 printf %s "(cached) " >&6
14532 else $as_nop
14533 ac_check_lib_save_LIBS=$LIBS
14534 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
14535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14536 /* end confdefs.h. */
14538 /* Override any GCC internal prototype to avoid an error.
14539 Use char because int might match the return type of a GCC
14540 builtin and then its argument prototype would still apply. */
14541 char XkbQueryExtension ();
14543 main (void)
14545 return XkbQueryExtension ();
14547 return 0;
14549 _ACEOF
14550 if ac_fn_c_try_link "$LINENO"
14551 then :
14552 ac_cv_lib_X11_XkbQueryExtension=yes
14553 else $as_nop
14554 ac_cv_lib_X11_XkbQueryExtension=no
14556 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14557 conftest$ac_exeext conftest.$ac_ext
14558 LIBS=$ac_check_lib_save_LIBS
14560 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
14561 printf "%s\n" "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
14562 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes
14563 then :
14565 printf "%s\n" "#define HAVE_XKB 1" >>confdefs.h
14571 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
14572 then
14573 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
14574 printf %s "checking for -lXcursor... " >&6; }
14575 if test ${ac_cv_lib_soname_Xcursor+y}
14576 then :
14577 printf %s "(cached) " >&6
14578 else $as_nop
14579 ac_check_soname_save_LIBS=$LIBS
14580 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
14581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14582 /* end confdefs.h. */
14584 /* Override any GCC internal prototype to avoid an error.
14585 Use char because int might match the return type of a GCC
14586 builtin and then its argument prototype would still apply. */
14587 char XcursorImageLoadCursor ();
14589 main (void)
14591 return XcursorImageLoadCursor ();
14593 return 0;
14595 _ACEOF
14596 if ac_fn_c_try_link "$LINENO"
14597 then :
14598 case "$LIBEXT" in
14599 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14600 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'` ;;
14601 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14602 if ${ac_cv_lib_soname_Xcursor:+false} :
14603 then :
14604 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14605 fi ;;
14606 esac
14607 else $as_nop
14608 ac_cv_lib_soname_Xcursor=
14610 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14611 conftest$ac_exeext conftest.$ac_ext
14612 LIBS=$ac_check_soname_save_LIBS
14614 if ${ac_cv_lib_soname_Xcursor:+false} :
14615 then :
14616 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14617 printf "%s\n" "not found" >&6; }
14619 else $as_nop
14620 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
14621 printf "%s\n" "$ac_cv_lib_soname_Xcursor" >&6; }
14623 printf "%s\n" "#define SONAME_LIBXCURSOR \"$ac_cv_lib_soname_Xcursor\"" >>confdefs.h
14628 if test "x$ac_cv_lib_soname_Xcursor" = "x"
14629 then :
14630 case "x$with_xcursor" in
14631 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
14632 xno) ;;
14633 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
14634 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
14635 esac
14639 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
14640 then
14641 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
14642 printf %s "checking for -lXi... " >&6; }
14643 if test ${ac_cv_lib_soname_Xi+y}
14644 then :
14645 printf %s "(cached) " >&6
14646 else $as_nop
14647 ac_check_soname_save_LIBS=$LIBS
14648 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
14649 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14650 /* end confdefs.h. */
14652 /* Override any GCC internal prototype to avoid an error.
14653 Use char because int might match the return type of a GCC
14654 builtin and then its argument prototype would still apply. */
14655 char XOpenDevice ();
14657 main (void)
14659 return XOpenDevice ();
14661 return 0;
14663 _ACEOF
14664 if ac_fn_c_try_link "$LINENO"
14665 then :
14666 case "$LIBEXT" in
14667 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14668 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'` ;;
14669 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14670 if ${ac_cv_lib_soname_Xi:+false} :
14671 then :
14672 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14673 fi ;;
14674 esac
14675 else $as_nop
14676 ac_cv_lib_soname_Xi=
14678 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14679 conftest$ac_exeext conftest.$ac_ext
14680 LIBS=$ac_check_soname_save_LIBS
14682 if ${ac_cv_lib_soname_Xi:+false} :
14683 then :
14684 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14685 printf "%s\n" "not found" >&6; }
14687 else $as_nop
14688 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
14689 printf "%s\n" "$ac_cv_lib_soname_Xi" >&6; }
14691 printf "%s\n" "#define SONAME_LIBXI \"$ac_cv_lib_soname_Xi\"" >>confdefs.h
14696 if test "x$ac_cv_lib_soname_Xi" = "x"
14697 then :
14698 case "x$with_xinput" in
14699 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
14700 xno) ;;
14701 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
14702 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
14703 esac
14707 if test "x$ac_cv_lib_soname_Xi" != x
14708 then
14709 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"
14710 then :
14711 case "x$with_xinput2" in
14712 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
14713 xno) ;;
14714 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
14715 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
14716 esac
14721 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
14722 then
14723 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
14724 printf %s "checking for XShmQueryExtension in -lXext... " >&6; }
14725 if test ${ac_cv_lib_Xext_XShmQueryExtension+y}
14726 then :
14727 printf %s "(cached) " >&6
14728 else $as_nop
14729 ac_check_lib_save_LIBS=$LIBS
14730 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14732 /* end confdefs.h. */
14734 /* Override any GCC internal prototype to avoid an error.
14735 Use char because int might match the return type of a GCC
14736 builtin and then its argument prototype would still apply. */
14737 char XShmQueryExtension ();
14739 main (void)
14741 return XShmQueryExtension ();
14743 return 0;
14745 _ACEOF
14746 if ac_fn_c_try_link "$LINENO"
14747 then :
14748 ac_cv_lib_Xext_XShmQueryExtension=yes
14749 else $as_nop
14750 ac_cv_lib_Xext_XShmQueryExtension=no
14752 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14753 conftest$ac_exeext conftest.$ac_ext
14754 LIBS=$ac_check_lib_save_LIBS
14756 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
14757 printf "%s\n" "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
14758 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes
14759 then :
14761 printf "%s\n" "#define HAVE_LIBXXSHM 1" >>confdefs.h
14766 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"
14767 then :
14768 case "x$with_xshm" in
14769 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
14770 xno) ;;
14771 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
14772 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
14773 esac
14777 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
14778 then
14779 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
14780 printf %s "checking for XShapeQueryExtension in -lXext... " >&6; }
14781 if test ${ac_cv_lib_Xext_XShapeQueryExtension+y}
14782 then :
14783 printf %s "(cached) " >&6
14784 else $as_nop
14785 ac_check_lib_save_LIBS=$LIBS
14786 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
14787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14788 /* end confdefs.h. */
14790 /* Override any GCC internal prototype to avoid an error.
14791 Use char because int might match the return type of a GCC
14792 builtin and then its argument prototype would still apply. */
14793 char XShapeQueryExtension ();
14795 main (void)
14797 return XShapeQueryExtension ();
14799 return 0;
14801 _ACEOF
14802 if ac_fn_c_try_link "$LINENO"
14803 then :
14804 ac_cv_lib_Xext_XShapeQueryExtension=yes
14805 else $as_nop
14806 ac_cv_lib_Xext_XShapeQueryExtension=no
14808 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14809 conftest$ac_exeext conftest.$ac_ext
14810 LIBS=$ac_check_lib_save_LIBS
14812 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
14813 printf "%s\n" "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
14814 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes
14815 then :
14817 printf "%s\n" "#define HAVE_LIBXSHAPE 1" >>confdefs.h
14822 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"
14823 then :
14824 case "x$with_xshape" in
14825 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
14826 xno) ;;
14827 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
14828 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
14829 esac
14833 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
14834 then
14835 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
14836 printf %s "checking for -lXxf86vm... " >&6; }
14837 if test ${ac_cv_lib_soname_Xxf86vm+y}
14838 then :
14839 printf %s "(cached) " >&6
14840 else $as_nop
14841 ac_check_soname_save_LIBS=$LIBS
14842 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
14843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14844 /* end confdefs.h. */
14846 /* Override any GCC internal prototype to avoid an error.
14847 Use char because int might match the return type of a GCC
14848 builtin and then its argument prototype would still apply. */
14849 char XF86VidModeQueryExtension ();
14851 main (void)
14853 return XF86VidModeQueryExtension ();
14855 return 0;
14857 _ACEOF
14858 if ac_fn_c_try_link "$LINENO"
14859 then :
14860 case "$LIBEXT" in
14861 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14862 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'` ;;
14863 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14864 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14865 then :
14866 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14867 fi ;;
14868 esac
14869 else $as_nop
14870 ac_cv_lib_soname_Xxf86vm=
14872 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14873 conftest$ac_exeext conftest.$ac_ext
14874 LIBS=$ac_check_soname_save_LIBS
14876 if ${ac_cv_lib_soname_Xxf86vm:+false} :
14877 then :
14878 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14879 printf "%s\n" "not found" >&6; }
14881 else $as_nop
14882 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
14883 printf "%s\n" "$ac_cv_lib_soname_Xxf86vm" >&6; }
14885 printf "%s\n" "#define SONAME_LIBXXF86VM \"$ac_cv_lib_soname_Xxf86vm\"" >>confdefs.h
14890 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"
14891 then :
14892 case "x$with_xxf86vm" in
14893 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
14894 xno) ;;
14895 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
14896 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
14897 esac
14901 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
14902 then
14903 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
14904 printf %s "checking for -lXrender... " >&6; }
14905 if test ${ac_cv_lib_soname_Xrender+y}
14906 then :
14907 printf %s "(cached) " >&6
14908 else $as_nop
14909 ac_check_soname_save_LIBS=$LIBS
14910 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14912 /* end confdefs.h. */
14914 /* Override any GCC internal prototype to avoid an error.
14915 Use char because int might match the return type of a GCC
14916 builtin and then its argument prototype would still apply. */
14917 char XRenderQueryExtension ();
14919 main (void)
14921 return XRenderQueryExtension ();
14923 return 0;
14925 _ACEOF
14926 if ac_fn_c_try_link "$LINENO"
14927 then :
14928 case "$LIBEXT" in
14929 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14930 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'` ;;
14931 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14932 if ${ac_cv_lib_soname_Xrender:+false} :
14933 then :
14934 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14935 fi ;;
14936 esac
14937 else $as_nop
14938 ac_cv_lib_soname_Xrender=
14940 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14941 conftest$ac_exeext conftest.$ac_ext
14942 LIBS=$ac_check_soname_save_LIBS
14944 if ${ac_cv_lib_soname_Xrender:+false} :
14945 then :
14946 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14947 printf "%s\n" "not found" >&6; }
14949 else $as_nop
14950 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
14951 printf "%s\n" "$ac_cv_lib_soname_Xrender" >&6; }
14953 printf "%s\n" "#define SONAME_LIBXRENDER \"$ac_cv_lib_soname_Xrender\"" >>confdefs.h
14955 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
14956 printf %s "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
14957 if test ${ac_cv_lib_Xrender_XRenderSetPictureTransform+y}
14958 then :
14959 printf %s "(cached) " >&6
14960 else $as_nop
14961 ac_check_lib_save_LIBS=$LIBS
14962 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
14963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14964 /* end confdefs.h. */
14966 /* Override any GCC internal prototype to avoid an error.
14967 Use char because int might match the return type of a GCC
14968 builtin and then its argument prototype would still apply. */
14969 char XRenderSetPictureTransform ();
14971 main (void)
14973 return XRenderSetPictureTransform ();
14975 return 0;
14977 _ACEOF
14978 if ac_fn_c_try_link "$LINENO"
14979 then :
14980 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
14981 else $as_nop
14982 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
14984 rm -f core conftest.err conftest.$ac_objext conftest.beam \
14985 conftest$ac_exeext conftest.$ac_ext
14986 LIBS=$ac_check_lib_save_LIBS
14988 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
14989 printf "%s\n" "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
14990 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes
14991 then :
14993 printf "%s\n" "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
14997 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
14998 printf %s "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
14999 if test ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+y}
15000 then :
15001 printf %s "(cached) " >&6
15002 else $as_nop
15003 ac_check_lib_save_LIBS=$LIBS
15004 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
15005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15006 /* end confdefs.h. */
15008 /* Override any GCC internal prototype to avoid an error.
15009 Use char because int might match the return type of a GCC
15010 builtin and then its argument prototype would still apply. */
15011 char XRenderCreateLinearGradient ();
15013 main (void)
15015 return XRenderCreateLinearGradient ();
15017 return 0;
15019 _ACEOF
15020 if ac_fn_c_try_link "$LINENO"
15021 then :
15022 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
15023 else $as_nop
15024 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
15026 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15027 conftest$ac_exeext conftest.$ac_ext
15028 LIBS=$ac_check_lib_save_LIBS
15030 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
15031 printf "%s\n" "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
15032 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes
15033 then :
15035 printf "%s\n" "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
15042 if test "x$ac_cv_lib_soname_Xrender" = "x"
15043 then :
15044 case "x$with_xrender" in
15045 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
15046 xno) ;;
15047 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
15048 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
15049 esac
15053 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
15054 then
15055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15056 /* end confdefs.h. */
15057 #include <X11/Xlib.h>
15058 #include <X11/extensions/Xrandr.h>
15060 main (void)
15062 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
15064 return 0;
15066 _ACEOF
15067 if ac_fn_c_try_compile "$LINENO"
15068 then :
15069 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
15070 printf %s "checking for -lXrandr... " >&6; }
15071 if test ${ac_cv_lib_soname_Xrandr+y}
15072 then :
15073 printf %s "(cached) " >&6
15074 else $as_nop
15075 ac_check_soname_save_LIBS=$LIBS
15076 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
15077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15078 /* end confdefs.h. */
15080 /* Override any GCC internal prototype to avoid an error.
15081 Use char because int might match the return type of a GCC
15082 builtin and then its argument prototype would still apply. */
15083 char XRRQueryExtension ();
15085 main (void)
15087 return XRRQueryExtension ();
15089 return 0;
15091 _ACEOF
15092 if ac_fn_c_try_link "$LINENO"
15093 then :
15094 case "$LIBEXT" in
15095 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15096 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'` ;;
15097 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15098 if ${ac_cv_lib_soname_Xrandr:+false} :
15099 then :
15100 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15101 fi ;;
15102 esac
15103 else $as_nop
15104 ac_cv_lib_soname_Xrandr=
15106 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15107 conftest$ac_exeext conftest.$ac_ext
15108 LIBS=$ac_check_soname_save_LIBS
15110 if ${ac_cv_lib_soname_Xrandr:+false} :
15111 then :
15112 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15113 printf "%s\n" "not found" >&6; }
15115 else $as_nop
15116 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
15117 printf "%s\n" "$ac_cv_lib_soname_Xrandr" >&6; }
15119 printf "%s\n" "#define SONAME_LIBXRANDR \"$ac_cv_lib_soname_Xrandr\"" >>confdefs.h
15121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15122 /* end confdefs.h. */
15123 #include <X11/Xlib.h>
15124 #include <X11/extensions/Xrandr.h>
15126 main (void)
15128 static typeof(XRRGetProviderResources) *f; if (f) return 0;
15130 return 0;
15132 _ACEOF
15133 if ac_fn_c_try_compile "$LINENO"
15134 then :
15136 printf "%s\n" "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
15138 else $as_nop
15139 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
15141 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15144 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15146 if test "x$ac_cv_lib_soname_Xrandr" = "x"
15147 then :
15148 case "x$with_xrandr" in
15149 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
15150 xno) ;;
15151 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
15152 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
15153 esac
15157 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
15158 then
15159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15160 /* end confdefs.h. */
15161 #include <X11/Xlib.h>
15162 #include <X11/extensions/Xfixes.h>
15164 main (void)
15166 static typeof(XFixesQueryVersion) * func; if (func) return 0;
15168 return 0;
15170 _ACEOF
15171 if ac_fn_c_try_compile "$LINENO"
15172 then :
15173 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
15174 printf %s "checking for -lXfixes... " >&6; }
15175 if test ${ac_cv_lib_soname_Xfixes+y}
15176 then :
15177 printf %s "(cached) " >&6
15178 else $as_nop
15179 ac_check_soname_save_LIBS=$LIBS
15180 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
15181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15182 /* end confdefs.h. */
15184 /* Override any GCC internal prototype to avoid an error.
15185 Use char because int might match the return type of a GCC
15186 builtin and then its argument prototype would still apply. */
15187 char XFixesQueryVersion ();
15189 main (void)
15191 return XFixesQueryVersion ();
15193 return 0;
15195 _ACEOF
15196 if ac_fn_c_try_link "$LINENO"
15197 then :
15198 case "$LIBEXT" in
15199 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15200 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'` ;;
15201 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15202 if ${ac_cv_lib_soname_Xfixes:+false} :
15203 then :
15204 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15205 fi ;;
15206 esac
15207 else $as_nop
15208 ac_cv_lib_soname_Xfixes=
15210 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15211 conftest$ac_exeext conftest.$ac_ext
15212 LIBS=$ac_check_soname_save_LIBS
15214 if ${ac_cv_lib_soname_Xfixes:+false} :
15215 then :
15216 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15217 printf "%s\n" "not found" >&6; }
15219 else $as_nop
15220 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
15221 printf "%s\n" "$ac_cv_lib_soname_Xfixes" >&6; }
15223 printf "%s\n" "#define SONAME_LIBXFIXES \"$ac_cv_lib_soname_Xfixes\"" >>confdefs.h
15228 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15230 if test "x$ac_cv_lib_soname_Xfixes" = "x"
15231 then :
15232 case "x$with_xfixes" in
15233 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
15234 xno) ;;
15235 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
15236 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
15237 esac
15241 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
15242 then
15243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15244 /* end confdefs.h. */
15245 #include <X11/Xlib.h>
15246 #include <X11/extensions/Xinerama.h>
15248 main (void)
15250 static typeof(XineramaQueryScreens) * func; if (func) return 0;
15252 return 0;
15254 _ACEOF
15255 if ac_fn_c_try_compile "$LINENO"
15256 then :
15257 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
15258 printf %s "checking for -lXinerama... " >&6; }
15259 if test ${ac_cv_lib_soname_Xinerama+y}
15260 then :
15261 printf %s "(cached) " >&6
15262 else $as_nop
15263 ac_check_soname_save_LIBS=$LIBS
15264 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
15265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15266 /* end confdefs.h. */
15268 /* Override any GCC internal prototype to avoid an error.
15269 Use char because int might match the return type of a GCC
15270 builtin and then its argument prototype would still apply. */
15271 char XineramaQueryScreens ();
15273 main (void)
15275 return XineramaQueryScreens ();
15277 return 0;
15279 _ACEOF
15280 if ac_fn_c_try_link "$LINENO"
15281 then :
15282 case "$LIBEXT" in
15283 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15284 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'` ;;
15285 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15286 if ${ac_cv_lib_soname_Xinerama:+false} :
15287 then :
15288 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15289 fi ;;
15290 esac
15291 else $as_nop
15292 ac_cv_lib_soname_Xinerama=
15294 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15295 conftest$ac_exeext conftest.$ac_ext
15296 LIBS=$ac_check_soname_save_LIBS
15298 if ${ac_cv_lib_soname_Xinerama:+false} :
15299 then :
15300 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15301 printf "%s\n" "not found" >&6; }
15303 else $as_nop
15304 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
15305 printf "%s\n" "$ac_cv_lib_soname_Xinerama" >&6; }
15307 printf "%s\n" "#define SONAME_LIBXINERAMA \"$ac_cv_lib_soname_Xinerama\"" >>confdefs.h
15312 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
15314 if test "x$ac_cv_lib_soname_Xinerama" = "x"
15315 then :
15316 case "x$with_xinerama" in
15317 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
15318 xno) ;;
15319 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
15320 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
15321 esac
15325 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
15326 then
15327 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
15328 printf %s "checking for -lXcomposite... " >&6; }
15329 if test ${ac_cv_lib_soname_Xcomposite+y}
15330 then :
15331 printf %s "(cached) " >&6
15332 else $as_nop
15333 ac_check_soname_save_LIBS=$LIBS
15334 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
15335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15336 /* end confdefs.h. */
15338 /* Override any GCC internal prototype to avoid an error.
15339 Use char because int might match the return type of a GCC
15340 builtin and then its argument prototype would still apply. */
15341 char XCompositeRedirectWindow ();
15343 main (void)
15345 return XCompositeRedirectWindow ();
15347 return 0;
15349 _ACEOF
15350 if ac_fn_c_try_link "$LINENO"
15351 then :
15352 case "$LIBEXT" in
15353 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15354 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'` ;;
15355 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15356 if ${ac_cv_lib_soname_Xcomposite:+false} :
15357 then :
15358 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15359 fi ;;
15360 esac
15361 else $as_nop
15362 ac_cv_lib_soname_Xcomposite=
15364 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15365 conftest$ac_exeext conftest.$ac_ext
15366 LIBS=$ac_check_soname_save_LIBS
15368 if ${ac_cv_lib_soname_Xcomposite:+false} :
15369 then :
15370 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15371 printf "%s\n" "not found" >&6; }
15373 else $as_nop
15374 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
15375 printf "%s\n" "$ac_cv_lib_soname_Xcomposite" >&6; }
15377 printf "%s\n" "#define SONAME_LIBXCOMPOSITE \"$ac_cv_lib_soname_Xcomposite\"" >>confdefs.h
15382 if test "x$ac_cv_lib_soname_Xcomposite" = "x"
15383 then :
15384 case "x$with_xcomposite" in
15385 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
15386 xno) ;;
15387 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
15388 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
15389 esac
15393 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
15394 #include <X11/Xlib.h>
15395 #endif
15397 if test "x$ac_cv_member_XICCallback_callback" = xyes
15398 then :
15400 printf "%s\n" "#define HAVE_XICCALLBACK_CALLBACK 1" >>confdefs.h
15404 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
15405 #include <X11/Xlib.h>
15406 #endif
15408 if test "x$ac_cv_member_XEvent_xcookie" = xyes
15409 then :
15411 printf "%s\n" "#define HAVE_XEVENT_XCOOKIE 1" >>confdefs.h
15418 opengl_msg=""
15419 if test "x$with_opengl" != "xno"
15420 then
15421 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15422 printf %s "checking for -lGL... " >&6; }
15423 if test ${ac_cv_lib_soname_GL+y}
15424 then :
15425 printf %s "(cached) " >&6
15426 else $as_nop
15427 ac_check_soname_save_LIBS=$LIBS
15428 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15430 /* end confdefs.h. */
15432 /* Override any GCC internal prototype to avoid an error.
15433 Use char because int might match the return type of a GCC
15434 builtin and then its argument prototype would still apply. */
15435 char glXCreateContext ();
15437 main (void)
15439 return glXCreateContext ();
15441 return 0;
15443 _ACEOF
15444 if ac_fn_c_try_link "$LINENO"
15445 then :
15446 case "$LIBEXT" in
15447 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15448 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'` ;;
15449 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15450 if ${ac_cv_lib_soname_GL:+false} :
15451 then :
15452 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15453 fi ;;
15454 esac
15455 else $as_nop
15456 ac_cv_lib_soname_GL=
15458 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15459 conftest$ac_exeext conftest.$ac_ext
15460 LIBS=$ac_check_soname_save_LIBS
15462 if ${ac_cv_lib_soname_GL:+false} :
15463 then :
15464 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15465 printf "%s\n" "not found" >&6; }
15466 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
15467 printf %s "checking for -lGL... " >&6; }
15468 if test ${ac_cv_lib_soname_GL+y}
15469 then :
15470 printf %s "(cached) " >&6
15471 else $as_nop
15472 ac_check_soname_save_LIBS=$LIBS
15473 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"
15474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15475 /* end confdefs.h. */
15477 /* Override any GCC internal prototype to avoid an error.
15478 Use char because int might match the return type of a GCC
15479 builtin and then its argument prototype would still apply. */
15480 char glXCreateContext ();
15482 main (void)
15484 return glXCreateContext ();
15486 return 0;
15488 _ACEOF
15489 if ac_fn_c_try_link "$LINENO"
15490 then :
15491 case "$LIBEXT" in
15492 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15493 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'` ;;
15494 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15495 if ${ac_cv_lib_soname_GL:+false} :
15496 then :
15497 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15498 fi ;;
15499 esac
15500 else $as_nop
15501 ac_cv_lib_soname_GL=
15503 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15504 conftest$ac_exeext conftest.$ac_ext
15505 LIBS=$ac_check_soname_save_LIBS
15507 if ${ac_cv_lib_soname_GL:+false} :
15508 then :
15509 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15510 printf "%s\n" "not found" >&6; }
15511 if test -f /usr/X11R6/lib/libGL.a
15512 then
15513 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
15514 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
15515 else
15516 opengl_msg="No OpenGL library found on this system."
15518 else $as_nop
15519 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15520 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15522 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15524 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"
15526 else $as_nop
15527 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
15528 printf "%s\n" "$ac_cv_lib_soname_GL" >&6; }
15530 printf "%s\n" "#define SONAME_LIBGL \"$ac_cv_lib_soname_GL\"" >>confdefs.h
15532 OPENGL_LIBS="-lGL"
15534 if test "x$with_osmesa" != "xno"
15535 then
15536 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
15537 printf %s "checking for -lOSMesa... " >&6; }
15538 if test ${ac_cv_lib_soname_OSMesa+y}
15539 then :
15540 printf %s "(cached) " >&6
15541 else $as_nop
15542 ac_check_soname_save_LIBS=$LIBS
15543 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
15544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15545 /* end confdefs.h. */
15547 /* Override any GCC internal prototype to avoid an error.
15548 Use char because int might match the return type of a GCC
15549 builtin and then its argument prototype would still apply. */
15550 char OSMesaGetProcAddress ();
15552 main (void)
15554 return OSMesaGetProcAddress ();
15556 return 0;
15558 _ACEOF
15559 if ac_fn_c_try_link "$LINENO"
15560 then :
15561 case "$LIBEXT" in
15562 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15563 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'` ;;
15564 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15565 if ${ac_cv_lib_soname_OSMesa:+false} :
15566 then :
15567 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15568 fi ;;
15569 esac
15570 else $as_nop
15571 ac_cv_lib_soname_OSMesa=
15573 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15574 conftest$ac_exeext conftest.$ac_ext
15575 LIBS=$ac_check_soname_save_LIBS
15577 if ${ac_cv_lib_soname_OSMesa:+false} :
15578 then :
15579 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15580 printf "%s\n" "not found" >&6; }
15582 else $as_nop
15583 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
15584 printf "%s\n" "$ac_cv_lib_soname_OSMesa" >&6; }
15586 printf "%s\n" "#define SONAME_LIBOSMESA \"$ac_cv_lib_soname_OSMesa\"" >>confdefs.h
15590 if test "x$ac_cv_lib_soname_OSMesa" = "x"
15591 then :
15592 case "x$with_osmesa" in
15593 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
15594 xno) ;;
15595 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
15596 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
15597 esac
15602 if test -n "$opengl_msg"
15603 then :
15604 case "x$with_opengl" in
15605 x) as_fn_append wine_warnings "|$opengl_msg
15606 OpenGL and Direct3D won't be supported." ;;
15607 xno) ;;
15608 *) as_fn_error $? "$opengl_msg
15609 OpenGL and Direct3D won't be supported.
15610 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
15611 esac
15615 CPPFLAGS="$ac_save_CPPFLAGS"
15616 else
15617 X_CFLAGS=""
15618 X_LIBS=""
15621 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
15622 then
15623 if test "x$X_LIBS" = "x"
15624 then :
15625 case "x$with_x" in
15626 xno) ;;
15627 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
15628 without X support, which probably isn't what you want. You will need
15629 to install ${notice_platform}development packages of Xlib at the very least.
15630 Use the --without-x option if you really want this." "$LINENO" 5 ;;
15631 esac
15632 enable_winex11_drv=${enable_winex11_drv:-no}
15634 else
15635 if test "x$X_LIBS" = "x"
15636 then :
15637 case "x$with_x" in
15638 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
15639 xno) ;;
15640 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
15641 This is an error since --with-x was requested." "$LINENO" 5 ;;
15642 esac
15643 enable_winex11_drv=${enable_winex11_drv:-no}
15647 if test "$ac_cv_header_CL_cl_h" = "yes"
15648 then
15649 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
15650 printf %s "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
15651 if test ${ac_cv_lib_OpenCL_clGetPlatformInfo+y}
15652 then :
15653 printf %s "(cached) " >&6
15654 else $as_nop
15655 ac_check_lib_save_LIBS=$LIBS
15656 LIBS="-lOpenCL $LIBS"
15657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15658 /* end confdefs.h. */
15660 /* Override any GCC internal prototype to avoid an error.
15661 Use char because int might match the return type of a GCC
15662 builtin and then its argument prototype would still apply. */
15663 char clGetPlatformInfo ();
15665 main (void)
15667 return clGetPlatformInfo ();
15669 return 0;
15671 _ACEOF
15672 if ac_fn_c_try_link "$LINENO"
15673 then :
15674 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
15675 else $as_nop
15676 ac_cv_lib_OpenCL_clGetPlatformInfo=no
15678 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15679 conftest$ac_exeext conftest.$ac_ext
15680 LIBS=$ac_check_lib_save_LIBS
15682 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
15683 printf "%s\n" "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
15684 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes
15685 then :
15686 OPENCL_LIBS="-lOpenCL"
15691 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes
15692 then :
15693 case "x$with_opencl" in
15694 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
15695 xno) ;;
15696 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
15697 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
15698 esac
15699 enable_opencl=${enable_opencl:-no}
15702 if test "$ac_cv_header_pcap_pcap_h" = "yes"
15703 then
15704 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
15705 printf %s "checking for pcap_create in -lpcap... " >&6; }
15706 if test ${ac_cv_lib_pcap_pcap_create+y}
15707 then :
15708 printf %s "(cached) " >&6
15709 else $as_nop
15710 ac_check_lib_save_LIBS=$LIBS
15711 LIBS="-lpcap $LIBS"
15712 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15713 /* end confdefs.h. */
15715 /* Override any GCC internal prototype to avoid an error.
15716 Use char because int might match the return type of a GCC
15717 builtin and then its argument prototype would still apply. */
15718 char pcap_create ();
15720 main (void)
15722 return pcap_create ();
15724 return 0;
15726 _ACEOF
15727 if ac_fn_c_try_link "$LINENO"
15728 then :
15729 ac_cv_lib_pcap_pcap_create=yes
15730 else $as_nop
15731 ac_cv_lib_pcap_pcap_create=no
15733 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15734 conftest$ac_exeext conftest.$ac_ext
15735 LIBS=$ac_check_lib_save_LIBS
15737 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
15738 printf "%s\n" "$ac_cv_lib_pcap_pcap_create" >&6; }
15739 if test "x$ac_cv_lib_pcap_pcap_create" = xyes
15740 then :
15741 PCAP_LIBS="-lpcap"
15746 if test "x$ac_cv_lib_pcap_pcap_create" != xyes
15747 then :
15748 case "x$with_pcap" in
15749 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
15750 xno) ;;
15751 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
15752 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
15753 esac
15754 enable_wpcap=${enable_wpcap:-no}
15757 if test "x$with_inotify" != "xno"
15758 then
15759 rm -f conftest.err
15760 if ${INOTIFY_CFLAGS:+false} :
15761 then :
15762 if test ${PKG_CONFIG+y}
15763 then :
15764 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>conftest.err`
15768 if ${INOTIFY_LIBS:+false} :
15769 then :
15770 if test ${PKG_CONFIG+y}
15771 then :
15772 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
15777 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
15778 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
15779 if test -s conftest.err; then
15780 printf %s "$as_me:${as_lineno-$LINENO}: libinotify errors: " >&5
15781 cat conftest.err >&5
15783 rm -f conftest.err
15784 ac_save_CPPFLAGS=$CPPFLAGS
15785 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
15786 ac_fn_c_check_header_compile "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
15787 if test "x$ac_cv_header_sys_inotify_h" = xyes
15788 then :
15789 printf "%s\n" "#define HAVE_SYS_INOTIFY_H 1" >>confdefs.h
15793 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
15794 printf %s "checking for inotify_add_watch in -linotify... " >&6; }
15795 if test ${ac_cv_lib_inotify_inotify_add_watch+y}
15796 then :
15797 printf %s "(cached) " >&6
15798 else $as_nop
15799 ac_check_lib_save_LIBS=$LIBS
15800 LIBS="-linotify $INOTIFY_LIBS $LIBS"
15801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15802 /* end confdefs.h. */
15804 /* Override any GCC internal prototype to avoid an error.
15805 Use char because int might match the return type of a GCC
15806 builtin and then its argument prototype would still apply. */
15807 char inotify_add_watch ();
15809 main (void)
15811 return inotify_add_watch ();
15813 return 0;
15815 _ACEOF
15816 if ac_fn_c_try_link "$LINENO"
15817 then :
15818 ac_cv_lib_inotify_inotify_add_watch=yes
15819 else $as_nop
15820 ac_cv_lib_inotify_inotify_add_watch=no
15822 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15823 conftest$ac_exeext conftest.$ac_ext
15824 LIBS=$ac_check_lib_save_LIBS
15826 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
15827 printf "%s\n" "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
15828 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes
15829 then :
15831 else $as_nop
15832 INOTIFY_LIBS=""
15835 CPPFLAGS=$ac_save_CPPFLAGS
15838 if test "$ac_cv_header_sys_inotify_h" != "yes"
15839 then :
15840 case "x$with_inotify" in
15841 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
15842 xno) ;;
15843 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
15844 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
15845 esac
15849 if test "x$with_dbus" != "xno"
15850 then
15851 rm -f conftest.err
15852 if ${DBUS_CFLAGS:+false} :
15853 then :
15854 if test ${PKG_CONFIG+y}
15855 then :
15856 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>conftest.err`
15860 if ${DBUS_LIBS:+false} :
15861 then :
15862 if test ${PKG_CONFIG+y}
15863 then :
15864 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
15869 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
15870 printf "%s\n" "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
15871 if test -s conftest.err; then
15872 printf %s "$as_me:${as_lineno-$LINENO}: dbus-1 errors: " >&5
15873 cat conftest.err >&5
15875 rm -f conftest.err
15876 ac_save_CPPFLAGS=$CPPFLAGS
15877 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
15878 ac_fn_c_check_header_compile "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
15879 if test "x$ac_cv_header_dbus_dbus_h" = xyes
15880 then :
15881 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
15882 printf %s "checking for -ldbus-1... " >&6; }
15883 if test ${ac_cv_lib_soname_dbus_1+y}
15884 then :
15885 printf %s "(cached) " >&6
15886 else $as_nop
15887 ac_check_soname_save_LIBS=$LIBS
15888 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
15889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15890 /* end confdefs.h. */
15892 /* Override any GCC internal prototype to avoid an error.
15893 Use char because int might match the return type of a GCC
15894 builtin and then its argument prototype would still apply. */
15895 char dbus_connection_close ();
15897 main (void)
15899 return dbus_connection_close ();
15901 return 0;
15903 _ACEOF
15904 if ac_fn_c_try_link "$LINENO"
15905 then :
15906 case "$LIBEXT" in
15907 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15908 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'` ;;
15909 *) 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'`
15910 if ${ac_cv_lib_soname_dbus_1:+false} :
15911 then :
15912 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15913 fi ;;
15914 esac
15915 else $as_nop
15916 ac_cv_lib_soname_dbus_1=
15918 rm -f core conftest.err conftest.$ac_objext conftest.beam \
15919 conftest$ac_exeext conftest.$ac_ext
15920 LIBS=$ac_check_soname_save_LIBS
15922 if ${ac_cv_lib_soname_dbus_1:+false} :
15923 then :
15924 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15925 printf "%s\n" "not found" >&6; }
15926 DBUS_CFLAGS=""
15927 else $as_nop
15928 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
15929 printf "%s\n" "$ac_cv_lib_soname_dbus_1" >&6; }
15931 printf "%s\n" "#define SONAME_LIBDBUS_1 \"$ac_cv_lib_soname_dbus_1\"" >>confdefs.h
15935 else $as_nop
15936 DBUS_CFLAGS=""
15939 CPPFLAGS=$ac_save_CPPFLAGS
15942 case $host_os in
15943 darwin*|macosx*) ;;
15944 *) if test "x$ac_cv_lib_soname_dbus_1" = "x"
15945 then :
15946 case "x$with_dbus" in
15947 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
15948 xno) ;;
15949 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
15950 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
15951 esac
15953 fi ;;
15954 esac
15956 if test "x$with_gnutls" != "xno"
15957 then
15958 rm -f conftest.err
15959 if ${GNUTLS_CFLAGS:+false} :
15960 then :
15961 if test ${PKG_CONFIG+y}
15962 then :
15963 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>conftest.err`
15967 if ${GNUTLS_LIBS:+false} :
15968 then :
15969 if test ${PKG_CONFIG+y}
15970 then :
15971 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
15975 GNUTLS_LIBS=${GNUTLS_LIBS:-"-lgnutls"}
15976 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
15977 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
15978 if test -s conftest.err; then
15979 printf %s "$as_me:${as_lineno-$LINENO}: gnutls errors: " >&5
15980 cat conftest.err >&5
15982 rm -f conftest.err
15983 ac_save_CPPFLAGS=$CPPFLAGS
15984 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
15985 ac_fn_c_check_header_compile "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
15986 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes
15987 then :
15988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15989 /* end confdefs.h. */
15990 #include <gnutls/gnutls.h>
15991 #include <gnutls/crypto.h>
15993 main (void)
15995 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
15997 return 0;
15999 _ACEOF
16000 if ac_fn_c_try_compile "$LINENO"
16001 then :
16002 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
16003 printf %s "checking for -lgnutls... " >&6; }
16004 if test ${ac_cv_lib_soname_gnutls+y}
16005 then :
16006 printf %s "(cached) " >&6
16007 else $as_nop
16008 ac_check_soname_save_LIBS=$LIBS
16009 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
16010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16011 /* end confdefs.h. */
16013 /* Override any GCC internal prototype to avoid an error.
16014 Use char because int might match the return type of a GCC
16015 builtin and then its argument prototype would still apply. */
16016 char gnutls_global_init ();
16018 main (void)
16020 return gnutls_global_init ();
16022 return 0;
16024 _ACEOF
16025 if ac_fn_c_try_link "$LINENO"
16026 then :
16027 case "$LIBEXT" in
16028 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16029 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'` ;;
16030 *) 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'`
16031 if ${ac_cv_lib_soname_gnutls:+false} :
16032 then :
16033 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'`
16034 fi ;;
16035 esac
16036 else $as_nop
16037 ac_cv_lib_soname_gnutls=
16039 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16040 conftest$ac_exeext conftest.$ac_ext
16041 LIBS=$ac_check_soname_save_LIBS
16043 if ${ac_cv_lib_soname_gnutls:+false} :
16044 then :
16045 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16046 printf "%s\n" "not found" >&6; }
16047 GNUTLS_CFLAGS=""
16048 else $as_nop
16049 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
16050 printf "%s\n" "$ac_cv_lib_soname_gnutls" >&6; }
16052 printf "%s\n" "#define SONAME_LIBGNUTLS \"$ac_cv_lib_soname_gnutls\"" >>confdefs.h
16056 ac_wine_check_funcs_save_LIBS="$LIBS"
16057 LIBS="$LIBS $GNUTLS_LIBS"
16059 for ac_func in gnutls_cipher_init
16060 do :
16061 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
16062 if test "x$ac_cv_func_gnutls_cipher_init" = xyes
16063 then :
16064 printf "%s\n" "#define HAVE_GNUTLS_CIPHER_INIT 1" >>confdefs.h
16066 else $as_nop
16067 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
16070 done
16071 LIBS="$ac_wine_check_funcs_save_LIBS"
16073 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
16074 else $as_nop
16075 GNUTLS_CFLAGS=""
16078 CPPFLAGS=$ac_save_CPPFLAGS
16081 if test "x$ac_cv_lib_soname_gnutls" = "x"
16082 then :
16083 case "x$with_gnutls" in
16084 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
16085 xno) ;;
16086 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
16087 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
16088 esac
16092 if test "x$with_sane" != "xno"
16093 then
16094 rm -f conftest.err
16095 if ${SANE_CFLAGS:+false} :
16096 then :
16097 if test ${PKG_CONFIG+y}
16098 then :
16099 SANE_CFLAGS=`$PKG_CONFIG --cflags sane-backends 2>conftest.err`
16102 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
16103 if ${SANE_LIBS:+false} :
16104 then :
16105 if test ${PKG_CONFIG+y}
16106 then :
16107 SANE_LIBS=`$PKG_CONFIG --libs sane-backends 2>/dev/null`
16110 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
16112 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends cflags: $SANE_CFLAGS" >&5
16113 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sane-backends libs: $SANE_LIBS" >&5
16114 if test -s conftest.err; then
16115 printf %s "$as_me:${as_lineno-$LINENO}: sane-backends errors: " >&5
16116 cat conftest.err >&5
16118 rm -f conftest.err
16119 ac_save_CPPFLAGS=$CPPFLAGS
16120 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
16121 ac_fn_c_check_header_compile "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
16122 if test "x$ac_cv_header_sane_sane_h" = xyes
16123 then :
16124 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sane_init in -lsane" >&5
16125 printf %s "checking for sane_init in -lsane... " >&6; }
16126 if test ${ac_cv_lib_sane_sane_init+y}
16127 then :
16128 printf %s "(cached) " >&6
16129 else $as_nop
16130 ac_check_lib_save_LIBS=$LIBS
16131 LIBS="-lsane $SANE_LIBS $LIBS"
16132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16133 /* end confdefs.h. */
16135 /* Override any GCC internal prototype to avoid an error.
16136 Use char because int might match the return type of a GCC
16137 builtin and then its argument prototype would still apply. */
16138 char sane_init ();
16140 main (void)
16142 return sane_init ();
16144 return 0;
16146 _ACEOF
16147 if ac_fn_c_try_link "$LINENO"
16148 then :
16149 ac_cv_lib_sane_sane_init=yes
16150 else $as_nop
16151 ac_cv_lib_sane_sane_init=no
16153 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16154 conftest$ac_exeext conftest.$ac_ext
16155 LIBS=$ac_check_lib_save_LIBS
16157 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_sane_sane_init" >&5
16158 printf "%s\n" "$ac_cv_lib_sane_sane_init" >&6; }
16159 if test "x$ac_cv_lib_sane_sane_init" = xyes
16160 then :
16166 CPPFLAGS=$ac_save_CPPFLAGS
16169 if test "$ac_cv_lib_sane_sane_init" != "yes"
16170 then :
16171 case "x$with_sane" in
16172 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
16173 xno) ;;
16174 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
16175 This is an error since --with-sane was requested." "$LINENO" 5 ;;
16176 esac
16177 enable_sane_ds=${enable_sane_ds:-no}
16180 if test "x$with_usb" != "xno"
16181 then
16182 rm -f conftest.err
16183 if ${USB_CFLAGS:+false} :
16184 then :
16185 if test ${PKG_CONFIG+y}
16186 then :
16187 USB_CFLAGS=`$PKG_CONFIG --cflags libusb-1.0 2>conftest.err`
16191 if ${USB_LIBS:+false} :
16192 then :
16193 if test ${PKG_CONFIG+y}
16194 then :
16195 USB_LIBS=`$PKG_CONFIG --libs libusb-1.0 2>/dev/null`
16199 USB_LIBS=${USB_LIBS:-"-lusb-1.0"}
16200 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 cflags: $USB_CFLAGS" >&5
16201 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libusb-1.0 libs: $USB_LIBS" >&5
16202 if test -s conftest.err; then
16203 printf %s "$as_me:${as_lineno-$LINENO}: libusb-1.0 errors: " >&5
16204 cat conftest.err >&5
16206 rm -f conftest.err
16207 ac_save_CPPFLAGS=$CPPFLAGS
16208 CPPFLAGS="$CPPFLAGS $USB_CFLAGS"
16209 ac_fn_c_check_header_compile "$LINENO" "libusb.h" "ac_cv_header_libusb_h" "$ac_includes_default"
16210 if test "x$ac_cv_header_libusb_h" = xyes
16211 then :
16212 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for libusb_interrupt_event_handler in -lusb-1.0" >&5
16213 printf %s "checking for libusb_interrupt_event_handler in -lusb-1.0... " >&6; }
16214 if test ${ac_cv_lib_usb_1_0_libusb_interrupt_event_handler+y}
16215 then :
16216 printf %s "(cached) " >&6
16217 else $as_nop
16218 ac_check_lib_save_LIBS=$LIBS
16219 LIBS="-lusb-1.0 $USB_LIBS $LIBS"
16220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16221 /* end confdefs.h. */
16223 /* Override any GCC internal prototype to avoid an error.
16224 Use char because int might match the return type of a GCC
16225 builtin and then its argument prototype would still apply. */
16226 char libusb_interrupt_event_handler ();
16228 main (void)
16230 return libusb_interrupt_event_handler ();
16232 return 0;
16234 _ACEOF
16235 if ac_fn_c_try_link "$LINENO"
16236 then :
16237 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=yes
16238 else $as_nop
16239 ac_cv_lib_usb_1_0_libusb_interrupt_event_handler=no
16241 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16242 conftest$ac_exeext conftest.$ac_ext
16243 LIBS=$ac_check_lib_save_LIBS
16245 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&5
16246 printf "%s\n" "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" >&6; }
16247 if test "x$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" = xyes
16248 then :
16250 else $as_nop
16251 USB_LIBS=""
16254 else $as_nop
16255 USB_LIBS=""
16258 CPPFLAGS=$ac_save_CPPFLAGS
16261 if test "$ac_cv_lib_usb_1_0_libusb_interrupt_event_handler" != "yes"
16262 then :
16263 case "x$with_usb" in
16264 x) as_fn_append wine_notices "|libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported." ;;
16265 xno) ;;
16266 *) as_fn_error $? "libusb-1.0 ${notice_platform}development files not found (or too old), USB devices won't be supported.
16267 This is an error since --with-usb was requested." "$LINENO" 5 ;;
16268 esac
16269 enable_wineusb_sys=${enable_wineusb_sys:-no}
16272 if test "x$with_v4l2" != "xno"
16273 then
16274 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
16275 printf %s "checking for -lv4l2... " >&6; }
16276 if test ${ac_cv_lib_soname_v4l2+y}
16277 then :
16278 printf %s "(cached) " >&6
16279 else $as_nop
16280 ac_check_soname_save_LIBS=$LIBS
16281 LIBS="-lv4l2 $LIBS"
16282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16283 /* end confdefs.h. */
16285 /* Override any GCC internal prototype to avoid an error.
16286 Use char because int might match the return type of a GCC
16287 builtin and then its argument prototype would still apply. */
16288 char v4l2_open ();
16290 main (void)
16292 return v4l2_open ();
16294 return 0;
16296 _ACEOF
16297 if ac_fn_c_try_link "$LINENO"
16298 then :
16299 case "$LIBEXT" in
16300 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16301 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'` ;;
16302 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16303 if ${ac_cv_lib_soname_v4l2:+false} :
16304 then :
16305 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16306 fi ;;
16307 esac
16308 else $as_nop
16309 ac_cv_lib_soname_v4l2=
16311 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16312 conftest$ac_exeext conftest.$ac_ext
16313 LIBS=$ac_check_soname_save_LIBS
16315 if ${ac_cv_lib_soname_v4l2:+false} :
16316 then :
16317 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16318 printf "%s\n" "not found" >&6; }
16320 else $as_nop
16321 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
16322 printf "%s\n" "$ac_cv_lib_soname_v4l2" >&6; }
16324 printf "%s\n" "#define SONAME_LIBV4L2 \"$ac_cv_lib_soname_v4l2\"" >>confdefs.h
16329 if test "x$ac_cv_lib_soname_v4l2" = "x"
16330 then :
16331 case "x$with_v4l2" in
16332 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
16333 xno) ;;
16334 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
16335 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
16336 esac
16340 if test "x$with_gphoto" != "xno"
16341 then
16342 rm -f conftest.err
16343 if ${GPHOTO2_CFLAGS:+false} :
16344 then :
16345 if test ${PKG_CONFIG+y}
16346 then :
16347 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>conftest.err`
16350 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
16351 if ${GPHOTO2_LIBS:+false} :
16352 then :
16353 if test ${PKG_CONFIG+y}
16354 then :
16355 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
16358 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
16359 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
16360 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
16361 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
16362 if test -s conftest.err; then
16363 printf %s "$as_me:${as_lineno-$LINENO}: libgphoto2 errors: " >&5
16364 cat conftest.err >&5
16366 rm -f conftest.err
16367 ac_save_CPPFLAGS=$CPPFLAGS
16368 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
16369 ac_fn_c_check_header_compile "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
16370 if test "x$ac_cv_header_gphoto2_camera_h" = xyes
16371 then :
16372 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
16373 printf %s "checking for gp_camera_new in -lgphoto2... " >&6; }
16374 if test ${ac_cv_lib_gphoto2_gp_camera_new+y}
16375 then :
16376 printf %s "(cached) " >&6
16377 else $as_nop
16378 ac_check_lib_save_LIBS=$LIBS
16379 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
16380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16381 /* end confdefs.h. */
16383 /* Override any GCC internal prototype to avoid an error.
16384 Use char because int might match the return type of a GCC
16385 builtin and then its argument prototype would still apply. */
16386 char gp_camera_new ();
16388 main (void)
16390 return gp_camera_new ();
16392 return 0;
16394 _ACEOF
16395 if ac_fn_c_try_link "$LINENO"
16396 then :
16397 ac_cv_lib_gphoto2_gp_camera_new=yes
16398 else $as_nop
16399 ac_cv_lib_gphoto2_gp_camera_new=no
16401 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16402 conftest$ac_exeext conftest.$ac_ext
16403 LIBS=$ac_check_lib_save_LIBS
16405 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
16406 printf "%s\n" "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
16407 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes
16408 then :
16414 CPPFLAGS=$ac_save_CPPFLAGS
16416 rm -f conftest.err
16417 if ${GPHOTO2_PORT_CFLAGS:+false} :
16418 then :
16419 if test ${PKG_CONFIG+y}
16420 then :
16421 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>conftest.err`
16424 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
16425 if ${GPHOTO2_PORT_LIBS:+false} :
16426 then :
16427 if test ${PKG_CONFIG+y}
16428 then :
16429 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
16432 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
16433 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
16434 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
16435 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
16436 if test -s conftest.err; then
16437 printf %s "$as_me:${as_lineno-$LINENO}: libgphoto2_port errors: " >&5
16438 cat conftest.err >&5
16440 rm -f conftest.err
16441 ac_save_CPPFLAGS=$CPPFLAGS
16442 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
16443 ac_fn_c_check_header_compile "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
16444 if test "x$ac_cv_header_gphoto2_port_h" = xyes
16445 then :
16446 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
16447 printf %s "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
16448 if test ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+y}
16449 then :
16450 printf %s "(cached) " >&6
16451 else $as_nop
16452 ac_check_lib_save_LIBS=$LIBS
16453 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
16454 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16455 /* end confdefs.h. */
16457 /* Override any GCC internal prototype to avoid an error.
16458 Use char because int might match the return type of a GCC
16459 builtin and then its argument prototype would still apply. */
16460 char gp_port_info_list_new ();
16462 main (void)
16464 return gp_port_info_list_new ();
16466 return 0;
16468 _ACEOF
16469 if ac_fn_c_try_link "$LINENO"
16470 then :
16471 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
16472 else $as_nop
16473 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
16475 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16476 conftest$ac_exeext conftest.$ac_ext
16477 LIBS=$ac_check_lib_save_LIBS
16479 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
16480 printf "%s\n" "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
16481 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes
16482 then :
16484 printf "%s\n" "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
16486 else $as_nop
16487 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
16490 else $as_nop
16491 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
16494 CPPFLAGS=$ac_save_CPPFLAGS
16497 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"
16498 then :
16499 case "x$with_gphoto" in
16500 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
16501 xno) ;;
16502 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
16503 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16504 esac
16505 enable_gphoto2_ds=${enable_gphoto2_ds:-no}
16507 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"
16508 then :
16509 case "x$with_gphoto" in
16510 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
16511 xno) ;;
16512 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
16513 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
16514 esac
16519 if test "$ac_cv_header_resolv_h" = "yes"
16520 then
16521 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
16522 printf %s "checking for resolver library... " >&6; }
16523 if test ${ac_cv_have_resolv+y}
16524 then :
16525 printf %s "(cached) " >&6
16526 else $as_nop
16527 ac_save_LIBS="$LIBS"
16528 for lib in '' -lresolv
16530 LIBS="$lib $ac_save_LIBS"
16531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16532 /* end confdefs.h. */
16533 #ifdef HAVE_NETINET_IN_H
16534 #include <netinet/in.h>
16535 #endif
16536 #include <resolv.h>
16538 main (void)
16540 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0); ns_initparse(0,0,0)
16542 return 0;
16544 _ACEOF
16545 if ac_fn_c_try_link "$LINENO"
16546 then :
16547 ac_cv_have_resolv=${lib:-"none required"}
16548 else $as_nop
16549 ac_cv_have_resolv="not found"
16551 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16552 conftest$ac_exeext conftest.$ac_ext
16553 test "x$ac_cv_have_resolv" = "xnot found" || break
16554 done
16555 LIBS="$ac_save_LIBS"
16557 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
16558 printf "%s\n" "$ac_cv_have_resolv" >&6; }
16560 case "$ac_cv_have_resolv" in
16561 "not found") ;;
16562 "none required")
16564 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16567 printf "%s\n" "#define HAVE_RESOLV 1" >>confdefs.h
16569 RESOLV_LIBS=$ac_cv_have_resolv
16571 esac
16573 if test "x$ac_cv_have_resolv" != "xnot found"
16574 then
16575 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for res_getservers" >&5
16576 printf %s "checking for res_getservers... " >&6; }
16577 if test ${ac_cv_have_res_getservers+y}
16578 then :
16579 printf %s "(cached) " >&6
16580 else $as_nop
16581 ac_save_LIBS="$LIBS"
16582 LIBS="$RESOLV_LIBS $LIBS"
16583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16584 /* end confdefs.h. */
16585 #include <resolv.h>
16587 main (void)
16589 res_getservers(NULL, NULL, 0);
16591 return 0;
16593 _ACEOF
16594 if ac_fn_c_try_link "$LINENO"
16595 then :
16596 ac_cv_have_res_getservers=yes
16597 else $as_nop
16598 ac_cv_have_res_getservers=no
16600 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16601 conftest$ac_exeext conftest.$ac_ext
16602 LIBS="$ac_save_LIBS"
16604 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_res_getservers" >&5
16605 printf "%s\n" "$ac_cv_have_res_getservers" >&6; }
16606 if test "$ac_cv_have_res_getservers" = "yes"
16607 then
16609 printf "%s\n" "#define HAVE_RES_GETSERVERS 1" >>confdefs.h
16615 if test "x$with_freetype" != "xno"
16616 then
16617 rm -f conftest.err
16618 if ${FREETYPE_CFLAGS:+false} :
16619 then :
16620 if test ${PKG_CONFIG+y}
16621 then :
16622 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>conftest.err`
16625 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
16626 if ${FREETYPE_LIBS:+false} :
16627 then :
16628 if test ${PKG_CONFIG+y}
16629 then :
16630 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
16633 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
16634 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
16635 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
16636 printf "%s\n" "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
16637 if test -s conftest.err; then
16638 printf %s "$as_me:${as_lineno-$LINENO}: freetype2 errors: " >&5
16639 cat conftest.err >&5
16641 rm -f conftest.err
16642 ac_save_CPPFLAGS=$CPPFLAGS
16643 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
16644 ac_fn_c_check_header_compile "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
16645 if test "x$ac_cv_header_ft2build_h" = xyes
16646 then :
16647 printf "%s\n" "#define HAVE_FT2BUILD_H 1" >>confdefs.h
16651 if test "$ac_cv_header_ft2build_h" = "yes"
16652 then
16653 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
16654 printf %s "checking for -lfreetype... " >&6; }
16655 if test ${ac_cv_lib_soname_freetype+y}
16656 then :
16657 printf %s "(cached) " >&6
16658 else $as_nop
16659 ac_check_soname_save_LIBS=$LIBS
16660 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
16661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16662 /* end confdefs.h. */
16664 /* Override any GCC internal prototype to avoid an error.
16665 Use char because int might match the return type of a GCC
16666 builtin and then its argument prototype would still apply. */
16667 char FT_Init_FreeType ();
16669 main (void)
16671 return FT_Init_FreeType ();
16673 return 0;
16675 _ACEOF
16676 if ac_fn_c_try_link "$LINENO"
16677 then :
16678 case "$LIBEXT" in
16679 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16680 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'` ;;
16681 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16682 if ${ac_cv_lib_soname_freetype:+false} :
16683 then :
16684 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16685 fi ;;
16686 esac
16687 else $as_nop
16688 ac_cv_lib_soname_freetype=
16690 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16691 conftest$ac_exeext conftest.$ac_ext
16692 LIBS=$ac_check_soname_save_LIBS
16694 if ${ac_cv_lib_soname_freetype:+false} :
16695 then :
16696 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16697 printf "%s\n" "not found" >&6; }
16698 FREETYPE_LIBS=""
16699 else $as_nop
16700 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
16701 printf "%s\n" "$ac_cv_lib_soname_freetype" >&6; }
16703 printf "%s\n" "#define SONAME_LIBFREETYPE \"$ac_cv_lib_soname_freetype\"" >>confdefs.h
16706 printf "%s\n" "#define HAVE_FREETYPE 1" >>confdefs.h
16708 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
16709 #include FT_MODULE_H
16711 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes
16712 then :
16714 printf "%s\n" "#define HAVE_FT_TRUETYPEENGINETYPE 1" >>confdefs.h
16720 else
16721 FREETYPE_CFLAGS=""
16722 FREETYPE_LIBS=""
16724 CPPFLAGS=$ac_save_CPPFLAGS
16727 if test "x$ac_cv_lib_soname_freetype" = x
16728 then :
16729 case "x$with_freetype" in
16730 xno) ;;
16731 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
16732 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
16733 esac
16734 enable_fonts=${enable_fonts:-no}
16737 ac_wine_check_funcs_save_LIBS="$LIBS"
16738 LIBS="$LIBS $PTHREAD_LIBS"
16739 ac_fn_c_check_func "$LINENO" "pthread_getthreadid_np" "ac_cv_func_pthread_getthreadid_np"
16740 if test "x$ac_cv_func_pthread_getthreadid_np" = xyes
16741 then :
16742 printf "%s\n" "#define HAVE_PTHREAD_GETTHREADID_NP 1" >>confdefs.h
16746 LIBS="$ac_wine_check_funcs_save_LIBS"
16748 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
16749 then
16750 if test "$ac_cv_header_gettext_po_h" = "yes"
16751 then
16752 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
16753 printf %s "checking for po_message_msgctxt in -lgettextpo... " >&6; }
16754 if test ${ac_cv_lib_gettextpo_po_message_msgctxt+y}
16755 then :
16756 printf %s "(cached) " >&6
16757 else $as_nop
16758 ac_check_lib_save_LIBS=$LIBS
16759 LIBS="-lgettextpo $LIBS"
16760 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16761 /* end confdefs.h. */
16763 /* Override any GCC internal prototype to avoid an error.
16764 Use char because int might match the return type of a GCC
16765 builtin and then its argument prototype would still apply. */
16766 char po_message_msgctxt ();
16768 main (void)
16770 return po_message_msgctxt ();
16772 return 0;
16774 _ACEOF
16775 if ac_fn_c_try_link "$LINENO"
16776 then :
16777 ac_cv_lib_gettextpo_po_message_msgctxt=yes
16778 else $as_nop
16779 ac_cv_lib_gettextpo_po_message_msgctxt=no
16781 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16782 conftest$ac_exeext conftest.$ac_ext
16783 LIBS=$ac_check_lib_save_LIBS
16785 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
16786 printf "%s\n" "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
16787 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes
16788 then :
16790 printf "%s\n" "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
16792 GETTEXTPO_LIBS="-lgettextpo"
16797 if test "x$GETTEXTPO_LIBS" = "x"
16798 then :
16799 case "x$with_gettextpo" in
16800 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
16801 xno) ;;
16802 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
16803 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16804 esac
16807 if test "$srcdir" != .
16808 then :
16809 case "x$with_gettextpo" in
16810 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
16811 xno) ;;
16812 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
16813 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
16814 esac
16819 if test "x$with_pulse" != "xno";
16820 then
16821 rm -f conftest.err
16822 if ${PULSE_CFLAGS:+false} :
16823 then :
16824 if test ${PKG_CONFIG+y}
16825 then :
16826 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>conftest.err`
16830 if ${PULSE_LIBS:+false} :
16831 then :
16832 if test ${PKG_CONFIG+y}
16833 then :
16834 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
16839 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
16840 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
16841 if test -s conftest.err; then
16842 printf %s "$as_me:${as_lineno-$LINENO}: libpulse errors: " >&5
16843 cat conftest.err >&5
16845 rm -f conftest.err
16846 ac_save_CPPFLAGS=$CPPFLAGS
16847 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
16848 for ac_header in pulse/pulseaudio.h
16849 do :
16850 ac_fn_c_check_header_compile "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
16851 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes
16852 then :
16853 printf "%s\n" "#define HAVE_PULSE_PULSEAUDIO_H 1" >>confdefs.h
16854 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
16855 printf %s "checking for pa_stream_is_corked in -lpulse... " >&6; }
16856 if test ${ac_cv_lib_pulse_pa_stream_is_corked+y}
16857 then :
16858 printf %s "(cached) " >&6
16859 else $as_nop
16860 ac_check_lib_save_LIBS=$LIBS
16861 LIBS="-lpulse $PULSE_LIBS $LIBS"
16862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16863 /* end confdefs.h. */
16865 /* Override any GCC internal prototype to avoid an error.
16866 Use char because int might match the return type of a GCC
16867 builtin and then its argument prototype would still apply. */
16868 char pa_stream_is_corked ();
16870 main (void)
16872 return pa_stream_is_corked ();
16874 return 0;
16876 _ACEOF
16877 if ac_fn_c_try_link "$LINENO"
16878 then :
16879 ac_cv_lib_pulse_pa_stream_is_corked=yes
16880 else $as_nop
16881 ac_cv_lib_pulse_pa_stream_is_corked=no
16883 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16884 conftest$ac_exeext conftest.$ac_ext
16885 LIBS=$ac_check_lib_save_LIBS
16887 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
16888 printf "%s\n" "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
16889 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes
16890 then :
16892 else $as_nop
16893 PULSE_LIBS=""
16896 else $as_nop
16897 PULSE_LIBS=""
16900 done
16901 CPPFLAGS=$ac_save_CPPFLAGS
16904 if test -z "$PULSE_LIBS"
16905 then :
16906 case "x$with_pulse" in
16907 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
16908 xno) ;;
16909 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
16910 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
16911 esac
16912 enable_winepulse_drv=${enable_winepulse_drv:-no}
16915 if test "x$with_gstreamer" != "xno"
16916 then
16917 rm -f conftest.err
16918 if ${GSTREAMER_CFLAGS:+false} :
16919 then :
16920 if test ${PKG_CONFIG+y}
16921 then :
16922 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>conftest.err`
16926 if ${GSTREAMER_LIBS:+false} :
16927 then :
16928 if test ${PKG_CONFIG+y}
16929 then :
16930 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
16935 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
16936 printf "%s\n" "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
16937 if test -s conftest.err; then
16938 printf %s "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 errors: " >&5
16939 cat conftest.err >&5
16941 rm -f conftest.err
16942 ac_save_CPPFLAGS=$CPPFLAGS
16943 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
16944 ac_fn_c_check_header_compile "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
16945 if test "x$ac_cv_header_gst_gst_h" = xyes
16946 then :
16947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
16948 printf %s "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
16949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16950 /* end confdefs.h. */
16951 #include <gst/gst.h>
16953 main (void)
16955 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
16957 return 0;
16959 _ACEOF
16960 if ac_fn_c_try_compile "$LINENO"
16961 then :
16962 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: yes" >&5
16963 printf "%s\n" "yes" >&6; }
16964 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
16965 printf %s "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
16966 if test ${ac_cv_lib_gstreamer_1_0_gst_pad_new+y}
16967 then :
16968 printf %s "(cached) " >&6
16969 else $as_nop
16970 ac_check_lib_save_LIBS=$LIBS
16971 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
16972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16973 /* end confdefs.h. */
16975 /* Override any GCC internal prototype to avoid an error.
16976 Use char because int might match the return type of a GCC
16977 builtin and then its argument prototype would still apply. */
16978 char gst_pad_new ();
16980 main (void)
16982 return gst_pad_new ();
16984 return 0;
16986 _ACEOF
16987 if ac_fn_c_try_link "$LINENO"
16988 then :
16989 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
16990 else $as_nop
16991 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
16993 rm -f core conftest.err conftest.$ac_objext conftest.beam \
16994 conftest$ac_exeext conftest.$ac_ext
16995 LIBS=$ac_check_lib_save_LIBS
16997 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
16998 printf "%s\n" "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
16999 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes
17000 then :
17004 else $as_nop
17005 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: no" >&5
17006 printf "%s\n" "no" >&6; }
17007 ac_glib2_broken=yes
17008 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
17010 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17013 CPPFLAGS=$ac_save_CPPFLAGS
17016 if test "x$ac_glib2_broken" != xyes -a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes
17017 then :
17018 case "x$with_gstreamer" in
17019 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
17020 xno) ;;
17021 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
17022 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
17023 esac
17024 enable_winegstreamer=${enable_winegstreamer:-no}
17027 ALSA_LIBS=""
17029 if test "x$with_alsa" != "xno"
17030 then
17031 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
17032 printf %s "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
17033 if test ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+y}
17034 then :
17035 printf %s "(cached) " >&6
17036 else $as_nop
17037 ac_check_lib_save_LIBS=$LIBS
17038 LIBS="-lasound $LIBS"
17039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17040 /* end confdefs.h. */
17042 /* Override any GCC internal prototype to avoid an error.
17043 Use char because int might match the return type of a GCC
17044 builtin and then its argument prototype would still apply. */
17045 char snd_pcm_hw_params_get_access_mask ();
17047 main (void)
17049 return snd_pcm_hw_params_get_access_mask ();
17051 return 0;
17053 _ACEOF
17054 if ac_fn_c_try_link "$LINENO"
17055 then :
17056 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
17057 else $as_nop
17058 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
17060 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17061 conftest$ac_exeext conftest.$ac_ext
17062 LIBS=$ac_check_lib_save_LIBS
17064 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
17065 printf "%s\n" "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
17066 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes
17067 then :
17068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17069 /* end confdefs.h. */
17070 #include <alsa/asoundlib.h>
17072 main (void)
17074 snd_pcm_hw_params_get_access_mask(NULL, NULL)
17076 return 0;
17078 _ACEOF
17079 if ac_fn_c_try_compile "$LINENO"
17080 then :
17081 ALSA_LIBS="-lasound"
17083 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
17087 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
17089 if test "x$with_oss" != xno
17090 then
17091 ac_save_CPPFLAGS="$CPPFLAGS"
17092 if test -f /etc/oss.conf
17093 then
17094 . /etc/oss.conf
17096 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
17097 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
17098 ac_fn_c_check_header_compile "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
17099 if test "x$ac_cv_header_sys_soundcard_h" = xyes
17100 then :
17101 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
17103 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes
17104 then :
17106 printf "%s\n" "#define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1" >>confdefs.h
17108 OSS4_CFLAGS="$ac_oss_incl"
17110 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
17111 printf %s "checking for _oss_ioctl in -lossaudio... " >&6; }
17112 if test ${ac_cv_lib_ossaudio__oss_ioctl+y}
17113 then :
17114 printf %s "(cached) " >&6
17115 else $as_nop
17116 ac_check_lib_save_LIBS=$LIBS
17117 LIBS="-lossaudio $LIBS"
17118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17119 /* end confdefs.h. */
17121 /* Override any GCC internal prototype to avoid an error.
17122 Use char because int might match the return type of a GCC
17123 builtin and then its argument prototype would still apply. */
17124 char _oss_ioctl ();
17126 main (void)
17128 return _oss_ioctl ();
17130 return 0;
17132 _ACEOF
17133 if ac_fn_c_try_link "$LINENO"
17134 then :
17135 ac_cv_lib_ossaudio__oss_ioctl=yes
17136 else $as_nop
17137 ac_cv_lib_ossaudio__oss_ioctl=no
17139 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17140 conftest$ac_exeext conftest.$ac_ext
17141 LIBS=$ac_check_lib_save_LIBS
17143 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
17144 printf "%s\n" "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
17145 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes
17146 then :
17147 OSS4_LIBS="-lossaudio"
17155 CPPFLAGS="$ac_save_CPPFLAGS"
17157 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes
17158 then :
17159 case "x$with_oss" in
17160 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
17161 xno) ;;
17162 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
17163 This is an error since --with-oss was requested." "$LINENO" 5 ;;
17164 esac
17165 enable_wineoss_drv=${enable_wineoss_drv:-no}
17168 if test "x$with_udev" != "xno"
17169 then
17170 rm -f conftest.err
17171 if ${UDEV_CFLAGS:+false} :
17172 then :
17173 if test ${PKG_CONFIG+y}
17174 then :
17175 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>conftest.err`
17179 if ${UDEV_LIBS:+false} :
17180 then :
17181 if test ${PKG_CONFIG+y}
17182 then :
17183 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
17187 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
17188 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
17189 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
17190 if test -s conftest.err; then
17191 printf %s "$as_me:${as_lineno-$LINENO}: libudev errors: " >&5
17192 cat conftest.err >&5
17194 rm -f conftest.err
17195 ac_save_CPPFLAGS=$CPPFLAGS
17196 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
17197 for ac_header in libudev.h
17198 do :
17199 ac_fn_c_check_header_compile "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
17200 if test "x$ac_cv_header_libudev_h" = xyes
17201 then :
17202 printf "%s\n" "#define HAVE_LIBUDEV_H 1" >>confdefs.h
17203 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
17204 printf %s "checking for udev_new in -ludev... " >&6; }
17205 if test ${ac_cv_lib_udev_udev_new+y}
17206 then :
17207 printf %s "(cached) " >&6
17208 else $as_nop
17209 ac_check_lib_save_LIBS=$LIBS
17210 LIBS="-ludev $UDEV_LIBS $LIBS"
17211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17212 /* end confdefs.h. */
17214 /* Override any GCC internal prototype to avoid an error.
17215 Use char because int might match the return type of a GCC
17216 builtin and then its argument prototype would still apply. */
17217 char udev_new ();
17219 main (void)
17221 return udev_new ();
17223 return 0;
17225 _ACEOF
17226 if ac_fn_c_try_link "$LINENO"
17227 then :
17228 ac_cv_lib_udev_udev_new=yes
17229 else $as_nop
17230 ac_cv_lib_udev_udev_new=no
17232 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17233 conftest$ac_exeext conftest.$ac_ext
17234 LIBS=$ac_check_lib_save_LIBS
17236 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
17237 printf "%s\n" "$ac_cv_lib_udev_udev_new" >&6; }
17238 if test "x$ac_cv_lib_udev_udev_new" = xyes
17239 then :
17241 printf "%s\n" "#define HAVE_UDEV 1" >>confdefs.h
17243 else $as_nop
17244 UDEV_LIBS=""
17247 else $as_nop
17248 UDEV_LIBS=""
17251 done
17252 CPPFLAGS=$ac_save_CPPFLAGS
17255 if test "x$UDEV_LIBS" = "x"
17256 then :
17257 case "x$with_udev" in
17258 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
17259 xno) ;;
17260 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
17261 This is an error since --with-udev was requested." "$LINENO" 5 ;;
17262 esac
17266 if test "x$with_unwind" != xno
17267 then
17268 rm -f conftest.err
17269 if ${UNWIND_CFLAGS:+false} :
17270 then :
17271 if test ${PKG_CONFIG+y}
17272 then :
17273 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>conftest.err`
17277 if ${UNWIND_LIBS:+false} :
17278 then :
17279 if test ${PKG_CONFIG+y}
17280 then :
17281 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
17285 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
17286 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
17287 printf "%s\n" "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
17288 if test -s conftest.err; then
17289 printf %s "$as_me:${as_lineno-$LINENO}: libunwind errors: " >&5
17290 cat conftest.err >&5
17292 rm -f conftest.err
17293 ac_save_CPPFLAGS=$CPPFLAGS
17294 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
17295 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
17296 printf %s "checking for unw_step... " >&6; }
17297 if test ${wine_cv_have_unw_step+y}
17298 then :
17299 printf %s "(cached) " >&6
17300 else $as_nop
17301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17302 /* end confdefs.h. */
17303 #define UNW_LOCAL_ONLY
17304 #include <libunwind.h>
17306 main (void)
17308 unw_cursor_t cursor; unw_step( &cursor );
17310 return 0;
17312 _ACEOF
17313 if ac_fn_c_try_link "$LINENO"
17314 then :
17315 wine_cv_have_unw_step="yes"
17316 else $as_nop
17317 wine_cv_have_unw_step="no"
17319 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17320 conftest$ac_exeext conftest.$ac_ext
17322 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
17323 printf "%s\n" "$wine_cv_have_unw_step" >&6; }
17324 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
17325 then
17326 save_libs=$LIBS
17327 UNWIND_LIBS="-static-libgcc $UNWIND_LIBS"
17328 LIBS="$UNWIND_LIBS $LIBS"
17329 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
17330 printf %s "checking for unw_step in libunwind... " >&6; }
17331 if test ${wine_cv_have_libunwind_unw_step+y}
17332 then :
17333 printf %s "(cached) " >&6
17334 else $as_nop
17335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17336 /* end confdefs.h. */
17337 #define UNW_LOCAL_ONLY
17338 #include <libunwind.h>
17340 main (void)
17342 unw_cursor_t cursor; unw_step( &cursor );
17344 return 0;
17346 _ACEOF
17347 if ac_fn_c_try_link "$LINENO"
17348 then :
17349 wine_cv_have_libunwind_unw_step="yes"
17350 else $as_nop
17351 wine_cv_have_libunwind_unw_step="no"
17353 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17354 conftest$ac_exeext conftest.$ac_ext
17356 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
17357 printf "%s\n" "$wine_cv_have_libunwind_unw_step" >&6; }
17358 LIBS=$save_libs
17360 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
17361 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
17362 then
17364 printf "%s\n" "#define HAVE_LIBUNWIND 1" >>confdefs.h
17367 CPPFLAGS=$ac_save_CPPFLAGS
17370 case $host in
17371 aarch64*|*-darwin*)
17372 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono
17373 then :
17374 case "x$with_unwind" in
17375 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
17376 xno) ;;
17377 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
17378 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
17379 esac
17381 fi ;;
17382 esac
17384 if test "x$with_sdl" != "xno"
17385 then
17386 rm -f conftest.err
17387 if ${SDL2_CFLAGS:+false} :
17388 then :
17389 if test ${PKG_CONFIG+y}
17390 then :
17391 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>conftest.err`
17395 if ${SDL2_LIBS:+false} :
17396 then :
17397 if test ${PKG_CONFIG+y}
17398 then :
17399 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
17403 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
17404 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
17405 printf "%s\n" "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
17406 if test -s conftest.err; then
17407 printf %s "$as_me:${as_lineno-$LINENO}: sdl2 errors: " >&5
17408 cat conftest.err >&5
17410 rm -f conftest.err
17411 ac_save_CPPFLAGS=$CPPFLAGS
17412 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
17413 for ac_header in SDL.h
17414 do :
17415 ac_fn_c_check_header_compile "$LINENO" "SDL.h" "ac_cv_header_SDL_h" "$ac_includes_default"
17416 if test "x$ac_cv_header_SDL_h" = xyes
17417 then :
17418 printf "%s\n" "#define HAVE_SDL_H 1" >>confdefs.h
17419 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
17420 printf %s "checking for -lSDL2... " >&6; }
17421 if test ${ac_cv_lib_soname_SDL2+y}
17422 then :
17423 printf %s "(cached) " >&6
17424 else $as_nop
17425 ac_check_soname_save_LIBS=$LIBS
17426 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
17427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17428 /* end confdefs.h. */
17430 /* Override any GCC internal prototype to avoid an error.
17431 Use char because int might match the return type of a GCC
17432 builtin and then its argument prototype would still apply. */
17433 char SDL_Init ();
17435 main (void)
17437 return SDL_Init ();
17439 return 0;
17441 _ACEOF
17442 if ac_fn_c_try_link "$LINENO"
17443 then :
17444 case "$LIBEXT" in
17445 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17446 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'` ;;
17447 *) 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'`
17448 if ${ac_cv_lib_soname_SDL2:+false} :
17449 then :
17450 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17451 fi ;;
17452 esac
17453 else $as_nop
17454 ac_cv_lib_soname_SDL2=
17456 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17457 conftest$ac_exeext conftest.$ac_ext
17458 LIBS=$ac_check_soname_save_LIBS
17460 if ${ac_cv_lib_soname_SDL2:+false} :
17461 then :
17462 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17463 printf "%s\n" "not found" >&6; }
17465 else $as_nop
17466 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
17467 printf "%s\n" "$ac_cv_lib_soname_SDL2" >&6; }
17469 printf "%s\n" "#define SONAME_LIBSDL2 \"$ac_cv_lib_soname_SDL2\"" >>confdefs.h
17475 done
17476 CPPFLAGS=$ac_save_CPPFLAGS
17479 if test "x$ac_cv_lib_soname_SDL2" = "x"
17480 then :
17481 case "x$with_sdl" in
17482 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
17483 xno) ;;
17484 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
17485 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
17486 esac
17490 if test "x$with_capi" != "xno"
17491 then
17492 rm -f conftest.err
17493 if ${CAPI20_CFLAGS:+false} :
17494 then :
17495 if test ${PKG_CONFIG+y}
17496 then :
17497 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>conftest.err`
17501 if ${CAPI20_LIBS:+false} :
17502 then :
17503 if test ${PKG_CONFIG+y}
17504 then :
17505 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
17510 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
17511 printf "%s\n" "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
17512 if test -s conftest.err; then
17513 printf %s "$as_me:${as_lineno-$LINENO}: capi20 errors: " >&5
17514 cat conftest.err >&5
17516 rm -f conftest.err
17517 ac_save_CPPFLAGS=$CPPFLAGS
17518 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
17519 ac_fn_c_check_header_compile "$LINENO" "capi20.h" "ac_cv_header_capi20_h" "#define __user
17521 if test "x$ac_cv_header_capi20_h" = xyes
17522 then :
17523 printf "%s\n" "#define HAVE_CAPI20_H 1" >>confdefs.h
17526 ac_fn_c_check_header_compile "$LINENO" "linux/capi.h" "ac_cv_header_linux_capi_h" "#define __user
17528 if test "x$ac_cv_header_linux_capi_h" = xyes
17529 then :
17530 printf "%s\n" "#define HAVE_LINUX_CAPI_H 1" >>confdefs.h
17534 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
17535 then
17536 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for capi20_register in -lcapi20" >&5
17537 printf %s "checking for capi20_register in -lcapi20... " >&6; }
17538 if test ${ac_cv_lib_capi20_capi20_register+y}
17539 then :
17540 printf %s "(cached) " >&6
17541 else $as_nop
17542 ac_check_lib_save_LIBS=$LIBS
17543 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
17544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17545 /* end confdefs.h. */
17547 /* Override any GCC internal prototype to avoid an error.
17548 Use char because int might match the return type of a GCC
17549 builtin and then its argument prototype would still apply. */
17550 char capi20_register ();
17552 main (void)
17554 return capi20_register ();
17556 return 0;
17558 _ACEOF
17559 if ac_fn_c_try_link "$LINENO"
17560 then :
17561 ac_cv_lib_capi20_capi20_register=yes
17562 else $as_nop
17563 ac_cv_lib_capi20_capi20_register=no
17565 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17566 conftest$ac_exeext conftest.$ac_ext
17567 LIBS=$ac_check_lib_save_LIBS
17569 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_capi20_capi20_register" >&5
17570 printf "%s\n" "$ac_cv_lib_capi20_capi20_register" >&6; }
17571 if test "x$ac_cv_lib_capi20_capi20_register" = xyes
17572 then :
17574 else $as_nop
17575 CAPI20_LIBS=""
17579 CPPFLAGS=$ac_save_CPPFLAGS
17582 if test "x$ac_cv_lib_capi20_capi20_register" != xyes
17583 then :
17584 case "x$with_capi" in
17585 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
17586 xno) ;;
17587 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
17588 This is an error since --with-capi was requested." "$LINENO" 5 ;;
17589 esac
17590 enable_capi2032=${enable_capi2032:-no}
17593 if test "x$with_cups" != "xno"
17594 then
17595 rm -f conftest.err
17596 if ${CUPS_CFLAGS:+false} :
17597 then :
17598 if test ${PKG_CONFIG+y}
17599 then :
17600 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>conftest.err`
17603 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
17604 if ${CUPS_LIBS:+false} :
17605 then :
17606 if test ${PKG_CONFIG+y}
17607 then :
17608 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
17611 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
17612 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
17613 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
17614 printf "%s\n" "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
17615 if test -s conftest.err; then
17616 printf %s "$as_me:${as_lineno-$LINENO}: cups errors: " >&5
17617 cat conftest.err >&5
17619 rm -f conftest.err
17620 ac_save_CPPFLAGS=$CPPFLAGS
17621 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
17622 ac_fn_c_check_header_compile "$LINENO" "cups/cups.h" "ac_cv_header_cups_cups_h" "$ac_includes_default"
17623 if test "x$ac_cv_header_cups_cups_h" = xyes
17624 then :
17625 printf "%s\n" "#define HAVE_CUPS_CUPS_H 1" >>confdefs.h
17628 ac_fn_c_check_header_compile "$LINENO" "cups/ppd.h" "ac_cv_header_cups_ppd_h" "$ac_includes_default"
17629 if test "x$ac_cv_header_cups_ppd_h" = xyes
17630 then :
17631 printf "%s\n" "#define HAVE_CUPS_PPD_H 1" >>confdefs.h
17635 if test "$ac_cv_header_cups_cups_h" = "yes"
17636 then
17637 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
17638 printf %s "checking for -lcups... " >&6; }
17639 if test ${ac_cv_lib_soname_cups+y}
17640 then :
17641 printf %s "(cached) " >&6
17642 else $as_nop
17643 ac_check_soname_save_LIBS=$LIBS
17644 LIBS="-lcups $CUPS_LIBS $LIBS"
17645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17646 /* end confdefs.h. */
17648 /* Override any GCC internal prototype to avoid an error.
17649 Use char because int might match the return type of a GCC
17650 builtin and then its argument prototype would still apply. */
17651 char cupsGetDefault ();
17653 main (void)
17655 return cupsGetDefault ();
17657 return 0;
17659 _ACEOF
17660 if ac_fn_c_try_link "$LINENO"
17661 then :
17662 case "$LIBEXT" in
17663 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17664 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'` ;;
17665 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17666 if ${ac_cv_lib_soname_cups:+false} :
17667 then :
17668 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17669 fi ;;
17670 esac
17671 else $as_nop
17672 ac_cv_lib_soname_cups=
17674 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17675 conftest$ac_exeext conftest.$ac_ext
17676 LIBS=$ac_check_soname_save_LIBS
17678 if ${ac_cv_lib_soname_cups:+false} :
17679 then :
17680 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17681 printf "%s\n" "not found" >&6; }
17682 CUPS_LIBS=""
17683 else $as_nop
17684 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
17685 printf "%s\n" "$ac_cv_lib_soname_cups" >&6; }
17687 printf "%s\n" "#define SONAME_LIBCUPS \"$ac_cv_lib_soname_cups\"" >>confdefs.h
17691 else
17692 CUPS_CFLAGS=""
17693 CUPS_LIBS=""
17695 CPPFLAGS=$ac_save_CPPFLAGS
17698 if test "x$ac_cv_lib_soname_cups" = "x"
17699 then :
17700 case "x$with_cups" in
17701 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
17702 xno) ;;
17703 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
17704 This is an error since --with-cups was requested." "$LINENO" 5 ;;
17705 esac
17709 if test "x$with_fontconfig" != "xno"
17710 then
17711 rm -f conftest.err
17712 if ${FONTCONFIG_CFLAGS:+false} :
17713 then :
17714 if test ${PKG_CONFIG+y}
17715 then :
17716 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>conftest.err`
17719 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
17720 if ${FONTCONFIG_LIBS:+false} :
17721 then :
17722 if test ${PKG_CONFIG+y}
17723 then :
17724 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
17727 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
17729 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
17730 printf "%s\n" "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
17731 if test -s conftest.err; then
17732 printf %s "$as_me:${as_lineno-$LINENO}: fontconfig errors: " >&5
17733 cat conftest.err >&5
17735 rm -f conftest.err
17736 ac_save_CPPFLAGS=$CPPFLAGS
17737 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
17738 ac_fn_c_check_header_compile "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
17739 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes
17740 then :
17741 printf "%s\n" "#define HAVE_FONTCONFIG_FONTCONFIG_H 1" >>confdefs.h
17745 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
17746 then
17747 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
17748 printf %s "checking for -lfontconfig... " >&6; }
17749 if test ${ac_cv_lib_soname_fontconfig+y}
17750 then :
17751 printf %s "(cached) " >&6
17752 else $as_nop
17753 ac_check_soname_save_LIBS=$LIBS
17754 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
17755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17756 /* end confdefs.h. */
17758 /* Override any GCC internal prototype to avoid an error.
17759 Use char because int might match the return type of a GCC
17760 builtin and then its argument prototype would still apply. */
17761 char FcInit ();
17763 main (void)
17765 return FcInit ();
17767 return 0;
17769 _ACEOF
17770 if ac_fn_c_try_link "$LINENO"
17771 then :
17772 case "$LIBEXT" in
17773 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17774 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'` ;;
17775 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17776 if ${ac_cv_lib_soname_fontconfig:+false} :
17777 then :
17778 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17779 fi ;;
17780 esac
17781 else $as_nop
17782 ac_cv_lib_soname_fontconfig=
17784 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17785 conftest$ac_exeext conftest.$ac_ext
17786 LIBS=$ac_check_soname_save_LIBS
17788 if ${ac_cv_lib_soname_fontconfig:+false} :
17789 then :
17790 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17791 printf "%s\n" "not found" >&6; }
17792 FONTCONFIG_CFLAGS=""
17793 else $as_nop
17794 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
17795 printf "%s\n" "$ac_cv_lib_soname_fontconfig" >&6; }
17797 printf "%s\n" "#define SONAME_LIBFONTCONFIG \"$ac_cv_lib_soname_fontconfig\"" >>confdefs.h
17801 else
17802 FONTCONFIG_CFLAGS=""
17804 CPPFLAGS=$ac_save_CPPFLAGS
17807 if test "x$ac_cv_lib_soname_fontconfig" = "x"
17808 then :
17809 case "x$with_fontconfig" in
17810 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
17811 xno) ;;
17812 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
17813 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
17814 esac
17818 if test "x$with_krb5" != "xno"
17819 then
17820 rm -f conftest.err
17821 if ${KRB5_CFLAGS:+false} :
17822 then :
17823 if test ${PKG_CONFIG+y}
17824 then :
17825 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>conftest.err`
17828 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
17829 if ${KRB5_LIBS:+false} :
17830 then :
17831 if test ${PKG_CONFIG+y}
17832 then :
17833 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
17836 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
17838 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
17839 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
17840 if test -s conftest.err; then
17841 printf %s "$as_me:${as_lineno-$LINENO}: krb5 errors: " >&5
17842 cat conftest.err >&5
17844 rm -f conftest.err
17845 ac_save_CPPFLAGS=$CPPFLAGS
17846 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
17847 ac_fn_c_check_header_compile "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
17848 if test "x$ac_cv_header_krb5_krb5_h" = xyes
17849 then :
17850 printf "%s\n" "#define HAVE_KRB5_KRB5_H 1" >>confdefs.h
17854 if test "$ac_cv_header_krb5_krb5_h" = "yes"
17855 then
17856 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
17857 printf %s "checking for -lkrb5... " >&6; }
17858 if test ${ac_cv_lib_soname_krb5+y}
17859 then :
17860 printf %s "(cached) " >&6
17861 else $as_nop
17862 ac_check_soname_save_LIBS=$LIBS
17863 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
17864 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17865 /* end confdefs.h. */
17867 /* Override any GCC internal prototype to avoid an error.
17868 Use char because int might match the return type of a GCC
17869 builtin and then its argument prototype would still apply. */
17870 char krb5_is_config_principal ();
17872 main (void)
17874 return krb5_is_config_principal ();
17876 return 0;
17878 _ACEOF
17879 if ac_fn_c_try_link "$LINENO"
17880 then :
17881 case "$LIBEXT" in
17882 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17883 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'` ;;
17884 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
17885 if ${ac_cv_lib_soname_krb5:+false} :
17886 then :
17887 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
17888 fi ;;
17889 esac
17890 else $as_nop
17891 ac_cv_lib_soname_krb5=
17893 rm -f core conftest.err conftest.$ac_objext conftest.beam \
17894 conftest$ac_exeext conftest.$ac_ext
17895 LIBS=$ac_check_soname_save_LIBS
17897 if ${ac_cv_lib_soname_krb5:+false} :
17898 then :
17899 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
17900 printf "%s\n" "not found" >&6; }
17901 KRB5_CFLAGS=""
17902 else $as_nop
17903 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
17904 printf "%s\n" "$ac_cv_lib_soname_krb5" >&6; }
17906 printf "%s\n" "#define SONAME_LIBKRB5 \"$ac_cv_lib_soname_krb5\"" >>confdefs.h
17910 else
17911 KRB5_CFLAGS=""
17913 CPPFLAGS=$ac_save_CPPFLAGS
17916 if test "x$ac_cv_lib_soname_krb5" = "x"
17917 then :
17918 case "x$with_krb5" in
17919 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
17920 xno) ;;
17921 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
17922 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
17923 esac
17926 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
17928 if test "x$with_gssapi" != "xno"
17929 then
17930 rm -f conftest.err
17931 if ${GSSAPI_CFLAGS:+false} :
17932 then :
17933 if test ${PKG_CONFIG+y}
17934 then :
17935 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>conftest.err`
17938 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
17939 if ${GSSAPI_LIBS:+false} :
17940 then :
17941 if test ${PKG_CONFIG+y}
17942 then :
17943 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
17946 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
17948 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
17949 printf "%s\n" "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
17950 if test -s conftest.err; then
17951 printf %s "$as_me:${as_lineno-$LINENO}: krb5-gssapi errors: " >&5
17952 cat conftest.err >&5
17954 rm -f conftest.err
17955 ac_save_CPPFLAGS=$CPPFLAGS
17956 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
17957 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi.h" "ac_cv_header_gssapi_gssapi_h" "$ac_includes_default"
17958 if test "x$ac_cv_header_gssapi_gssapi_h" = xyes
17959 then :
17960 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_H 1" >>confdefs.h
17963 ac_fn_c_check_header_compile "$LINENO" "gssapi/gssapi_ext.h" "ac_cv_header_gssapi_gssapi_ext_h" "$ac_includes_default"
17964 if test "x$ac_cv_header_gssapi_gssapi_ext_h" = xyes
17965 then :
17966 printf "%s\n" "#define HAVE_GSSAPI_GSSAPI_EXT_H 1" >>confdefs.h
17970 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
17971 then
17972 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
17973 printf %s "checking for -lgssapi_krb5... " >&6; }
17974 if test ${ac_cv_lib_soname_gssapi_krb5+y}
17975 then :
17976 printf %s "(cached) " >&6
17977 else $as_nop
17978 ac_check_soname_save_LIBS=$LIBS
17979 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
17980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17981 /* end confdefs.h. */
17983 /* Override any GCC internal prototype to avoid an error.
17984 Use char because int might match the return type of a GCC
17985 builtin and then its argument prototype would still apply. */
17986 char gss_init_sec_context ();
17988 main (void)
17990 return gss_init_sec_context ();
17992 return 0;
17994 _ACEOF
17995 if ac_fn_c_try_link "$LINENO"
17996 then :
17997 case "$LIBEXT" in
17998 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
17999 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'` ;;
18000 *) 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'`
18001 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18002 then :
18003 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18004 fi ;;
18005 esac
18006 else $as_nop
18007 ac_cv_lib_soname_gssapi_krb5=
18009 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18010 conftest$ac_exeext conftest.$ac_ext
18011 LIBS=$ac_check_soname_save_LIBS
18013 if ${ac_cv_lib_soname_gssapi_krb5:+false} :
18014 then :
18015 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18016 printf "%s\n" "not found" >&6; }
18017 GSSAPI_CFLAGS=""
18018 else $as_nop
18019 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
18020 printf "%s\n" "$ac_cv_lib_soname_gssapi_krb5" >&6; }
18022 printf "%s\n" "#define SONAME_LIBGSSAPI_KRB5 \"$ac_cv_lib_soname_gssapi_krb5\"" >>confdefs.h
18026 else
18027 GSSAPI_CFLAGS=""
18029 CPPFLAGS=$ac_save_CPPFLAGS
18032 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"
18033 then :
18034 case "x$with_gssapi" in
18035 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
18036 xno) ;;
18037 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
18038 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
18039 esac
18043 if test "$ac_cv_header_libprocstat_h" = "yes"
18044 then
18045 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
18046 printf %s "checking for procstat_open_sysctl in -lprocstat... " >&6; }
18047 if test ${ac_cv_lib_procstat_procstat_open_sysctl+y}
18048 then :
18049 printf %s "(cached) " >&6
18050 else $as_nop
18051 ac_check_lib_save_LIBS=$LIBS
18052 LIBS="-lprocstat $LIBS"
18053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18054 /* end confdefs.h. */
18056 /* Override any GCC internal prototype to avoid an error.
18057 Use char because int might match the return type of a GCC
18058 builtin and then its argument prototype would still apply. */
18059 char procstat_open_sysctl ();
18061 main (void)
18063 return procstat_open_sysctl ();
18065 return 0;
18067 _ACEOF
18068 if ac_fn_c_try_link "$LINENO"
18069 then :
18070 ac_cv_lib_procstat_procstat_open_sysctl=yes
18071 else $as_nop
18072 ac_cv_lib_procstat_procstat_open_sysctl=no
18074 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18075 conftest$ac_exeext conftest.$ac_ext
18076 LIBS=$ac_check_lib_save_LIBS
18078 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
18079 printf "%s\n" "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
18080 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes
18081 then :
18083 printf "%s\n" "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
18085 PROCSTAT_LIBS="-lprocstat"
18091 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
18092 printf %s "checking for -lodbc... " >&6; }
18093 if test ${ac_cv_lib_soname_odbc+y}
18094 then :
18095 printf %s "(cached) " >&6
18096 else $as_nop
18097 ac_check_soname_save_LIBS=$LIBS
18098 LIBS="-lodbc $LIBS"
18099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18100 /* end confdefs.h. */
18102 /* Override any GCC internal prototype to avoid an error.
18103 Use char because int might match the return type of a GCC
18104 builtin and then its argument prototype would still apply. */
18105 char SQLConnect ();
18107 main (void)
18109 return SQLConnect ();
18111 return 0;
18113 _ACEOF
18114 if ac_fn_c_try_link "$LINENO"
18115 then :
18116 case "$LIBEXT" in
18117 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18118 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'` ;;
18119 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18120 if ${ac_cv_lib_soname_odbc:+false} :
18121 then :
18122 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18123 fi ;;
18124 esac
18125 else $as_nop
18126 ac_cv_lib_soname_odbc=
18128 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18129 conftest$ac_exeext conftest.$ac_ext
18130 LIBS=$ac_check_soname_save_LIBS
18132 if ${ac_cv_lib_soname_odbc:+false} :
18133 then :
18134 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18135 printf "%s\n" "not found" >&6; }
18136 printf "%s\n" "#define SONAME_LIBODBC \"libodbc.$LIBEXT\"" >>confdefs.h
18138 else $as_nop
18139 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
18140 printf "%s\n" "$ac_cv_lib_soname_odbc" >&6; }
18142 printf "%s\n" "#define SONAME_LIBODBC \"$ac_cv_lib_soname_odbc\"" >>confdefs.h
18147 if test "x$with_netapi" != "xno"
18148 then
18149 rm -f conftest.err
18150 if ${NETAPI_CFLAGS:+false} :
18151 then :
18152 if test ${PKG_CONFIG+y}
18153 then :
18154 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>conftest.err`
18158 if ${NETAPI_LIBS:+false} :
18159 then :
18160 if test ${PKG_CONFIG+y}
18161 then :
18162 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
18167 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
18168 printf "%s\n" "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
18169 if test -s conftest.err; then
18170 printf %s "$as_me:${as_lineno-$LINENO}: netapi errors: " >&5
18171 cat conftest.err >&5
18173 rm -f conftest.err
18174 ac_save_CPPFLAGS=$CPPFLAGS
18175 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
18176 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
18177 printf %s "checking for -lnetapi... " >&6; }
18178 if test ${ac_cv_lib_soname_netapi+y}
18179 then :
18180 printf %s "(cached) " >&6
18181 else $as_nop
18182 ac_check_soname_save_LIBS=$LIBS
18183 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
18184 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18185 /* end confdefs.h. */
18187 /* Override any GCC internal prototype to avoid an error.
18188 Use char because int might match the return type of a GCC
18189 builtin and then its argument prototype would still apply. */
18190 char libnetapi_init ();
18192 main (void)
18194 return libnetapi_init ();
18196 return 0;
18198 _ACEOF
18199 if ac_fn_c_try_link "$LINENO"
18200 then :
18201 case "$LIBEXT" in
18202 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18203 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'` ;;
18204 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18205 if ${ac_cv_lib_soname_netapi:+false} :
18206 then :
18207 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18208 fi ;;
18209 esac
18210 else $as_nop
18211 ac_cv_lib_soname_netapi=
18213 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18214 conftest$ac_exeext conftest.$ac_ext
18215 LIBS=$ac_check_soname_save_LIBS
18217 if ${ac_cv_lib_soname_netapi:+false} :
18218 then :
18219 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18220 printf "%s\n" "not found" >&6; }
18221 printf "%s\n" "#define SONAME_LIBNETAPI \"libnetapi.$LIBEXT\"" >>confdefs.h
18223 else $as_nop
18224 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
18225 printf "%s\n" "$ac_cv_lib_soname_netapi" >&6; }
18227 printf "%s\n" "#define SONAME_LIBNETAPI \"$ac_cv_lib_soname_netapi\"" >>confdefs.h
18231 CPPFLAGS=$ac_save_CPPFLAGS
18234 if test "x$ac_cv_lib_soname_netapi" = "x"
18235 then :
18236 case "x$with_netapi" in
18237 x) as_fn_append wine_notices "|libnetapi not found, Samba NetAPI won't be supported." ;;
18238 xno) ;;
18239 *) as_fn_error $? "libnetapi not found, Samba NetAPI won't be supported.
18240 This is an error since --with-netapi was requested." "$LINENO" 5 ;;
18241 esac
18242 enable_netapi=${enable_netapi:-no}
18246 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
18247 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
18248 then
18249 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
18252 if test "x$with_vulkan" != "xno"
18253 then
18254 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
18255 printf %s "checking for -lvulkan... " >&6; }
18256 if test ${ac_cv_lib_soname_vulkan+y}
18257 then :
18258 printf %s "(cached) " >&6
18259 else $as_nop
18260 ac_check_soname_save_LIBS=$LIBS
18261 LIBS="-lvulkan $LIBS"
18262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18263 /* end confdefs.h. */
18265 /* Override any GCC internal prototype to avoid an error.
18266 Use char because int might match the return type of a GCC
18267 builtin and then its argument prototype would still apply. */
18268 char vkGetInstanceProcAddr ();
18270 main (void)
18272 return vkGetInstanceProcAddr ();
18274 return 0;
18276 _ACEOF
18277 if ac_fn_c_try_link "$LINENO"
18278 then :
18279 case "$LIBEXT" in
18280 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18281 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'` ;;
18282 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18283 if ${ac_cv_lib_soname_vulkan:+false} :
18284 then :
18285 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18286 fi ;;
18287 esac
18288 else $as_nop
18289 ac_cv_lib_soname_vulkan=
18291 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18292 conftest$ac_exeext conftest.$ac_ext
18293 LIBS=$ac_check_soname_save_LIBS
18295 if ${ac_cv_lib_soname_vulkan:+false} :
18296 then :
18297 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18298 printf "%s\n" "not found" >&6; }
18300 else $as_nop
18301 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
18302 printf "%s\n" "$ac_cv_lib_soname_vulkan" >&6; }
18304 printf "%s\n" "#define SONAME_LIBVULKAN \"$ac_cv_lib_soname_vulkan\"" >>confdefs.h
18308 if test "x$ac_cv_lib_soname_vulkan" = "x"
18309 then
18310 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
18311 printf %s "checking for -lMoltenVK... " >&6; }
18312 if test ${ac_cv_lib_soname_MoltenVK+y}
18313 then :
18314 printf %s "(cached) " >&6
18315 else $as_nop
18316 ac_check_soname_save_LIBS=$LIBS
18317 LIBS="-lMoltenVK $LIBS"
18318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18319 /* end confdefs.h. */
18321 /* Override any GCC internal prototype to avoid an error.
18322 Use char because int might match the return type of a GCC
18323 builtin and then its argument prototype would still apply. */
18324 char vkGetInstanceProcAddr ();
18326 main (void)
18328 return vkGetInstanceProcAddr ();
18330 return 0;
18332 _ACEOF
18333 if ac_fn_c_try_link "$LINENO"
18334 then :
18335 case "$LIBEXT" in
18336 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
18337 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'` ;;
18338 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
18339 if ${ac_cv_lib_soname_MoltenVK:+false} :
18340 then :
18341 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
18342 fi ;;
18343 esac
18344 else $as_nop
18345 ac_cv_lib_soname_MoltenVK=
18347 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18348 conftest$ac_exeext conftest.$ac_ext
18349 LIBS=$ac_check_soname_save_LIBS
18351 if ${ac_cv_lib_soname_MoltenVK:+false} :
18352 then :
18353 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: not found" >&5
18354 printf "%s\n" "not found" >&6; }
18356 else $as_nop
18357 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
18358 printf "%s\n" "$ac_cv_lib_soname_MoltenVK" >&6; }
18360 printf "%s\n" "#define SONAME_LIBMOLTENVK \"$ac_cv_lib_soname_MoltenVK\"" >>confdefs.h
18366 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"
18367 then :
18368 case "x$with_vulkan" in
18369 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
18370 xno) ;;
18371 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
18372 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
18373 esac
18378 if test "x${GCC}" = "xyes"
18379 then
18380 EXTRACFLAGS="$EXTRACFLAGS -Wall -pipe"
18382 saved_CFLAGS=$CFLAGS
18383 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
18384 printf %s "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
18385 if test ${ac_cv_cflags__Werror_unknown_warning_option+y}
18386 then :
18387 printf %s "(cached) " >&6
18388 else $as_nop
18389 ac_wine_try_cflags_saved=$CFLAGS
18390 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
18391 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18392 /* end confdefs.h. */
18393 int main(int argc, char **argv) { return 0; }
18394 _ACEOF
18395 if ac_fn_c_try_link "$LINENO"
18396 then :
18397 ac_cv_cflags__Werror_unknown_warning_option=yes
18398 else $as_nop
18399 ac_cv_cflags__Werror_unknown_warning_option=no
18401 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18402 conftest$ac_exeext conftest.$ac_ext
18403 CFLAGS=$ac_wine_try_cflags_saved
18405 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
18406 printf "%s\n" "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
18407 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes
18408 then :
18409 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
18411 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
18412 printf %s "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
18413 if test ${ac_cv_cflags__Werror_unused_command_line_argument+y}
18414 then :
18415 printf %s "(cached) " >&6
18416 else $as_nop
18417 ac_wine_try_cflags_saved=$CFLAGS
18418 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
18419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18420 /* end confdefs.h. */
18421 int main(int argc, char **argv) { return 0; }
18422 _ACEOF
18423 if ac_fn_c_try_link "$LINENO"
18424 then :
18425 ac_cv_cflags__Werror_unused_command_line_argument=yes
18426 else $as_nop
18427 ac_cv_cflags__Werror_unused_command_line_argument=no
18429 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18430 conftest$ac_exeext conftest.$ac_ext
18431 CFLAGS=$ac_wine_try_cflags_saved
18433 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
18434 printf "%s\n" "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
18435 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes
18436 then :
18437 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
18439 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=ignored-optimization-argument" >&5
18440 printf %s "checking whether the compiler supports -Werror=ignored-optimization-argument... " >&6; }
18441 if test ${ac_cv_cflags__Werror_ignored_optimization_argument+y}
18442 then :
18443 printf %s "(cached) " >&6
18444 else $as_nop
18445 ac_wine_try_cflags_saved=$CFLAGS
18446 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
18447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18448 /* end confdefs.h. */
18449 int main(int argc, char **argv) { return 0; }
18450 _ACEOF
18451 if ac_fn_c_try_link "$LINENO"
18452 then :
18453 ac_cv_cflags__Werror_ignored_optimization_argument=yes
18454 else $as_nop
18455 ac_cv_cflags__Werror_ignored_optimization_argument=no
18457 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18458 conftest$ac_exeext conftest.$ac_ext
18459 CFLAGS=$ac_wine_try_cflags_saved
18461 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_ignored_optimization_argument" >&5
18462 printf "%s\n" "$ac_cv_cflags__Werror_ignored_optimization_argument" >&6; }
18463 if test "x$ac_cv_cflags__Werror_ignored_optimization_argument" = xyes
18464 then :
18465 CFLAGS="$CFLAGS -Werror=ignored-optimization-argument"
18467 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
18468 printf %s "checking whether the compiler supports -fcf-protection=none... " >&6; }
18469 if test ${ac_cv_cflags__fcf_protection_none+y}
18470 then :
18471 printf %s "(cached) " >&6
18472 else $as_nop
18473 ac_wine_try_cflags_saved=$CFLAGS
18474 CFLAGS="$CFLAGS -fcf-protection=none"
18475 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18476 /* end confdefs.h. */
18477 int main(int argc, char **argv) { return 0; }
18478 _ACEOF
18479 if ac_fn_c_try_link "$LINENO"
18480 then :
18481 ac_cv_cflags__fcf_protection_none=yes
18482 else $as_nop
18483 ac_cv_cflags__fcf_protection_none=no
18485 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18486 conftest$ac_exeext conftest.$ac_ext
18487 CFLAGS=$ac_wine_try_cflags_saved
18489 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
18490 printf "%s\n" "$ac_cv_cflags__fcf_protection_none" >&6; }
18491 if test "x$ac_cv_cflags__fcf_protection_none" = xyes
18492 then :
18493 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
18495 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
18496 printf %s "checking whether the compiler supports -fno-stack-protector... " >&6; }
18497 if test ${ac_cv_cflags__fno_stack_protector+y}
18498 then :
18499 printf %s "(cached) " >&6
18500 else $as_nop
18501 ac_wine_try_cflags_saved=$CFLAGS
18502 CFLAGS="$CFLAGS -fno-stack-protector"
18503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18504 /* end confdefs.h. */
18505 int main(int argc, char **argv) { return 0; }
18506 _ACEOF
18507 if ac_fn_c_try_link "$LINENO"
18508 then :
18509 ac_cv_cflags__fno_stack_protector=yes
18510 else $as_nop
18511 ac_cv_cflags__fno_stack_protector=no
18513 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18514 conftest$ac_exeext conftest.$ac_ext
18515 CFLAGS=$ac_wine_try_cflags_saved
18517 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
18518 printf "%s\n" "$ac_cv_cflags__fno_stack_protector" >&6; }
18519 if test "x$ac_cv_cflags__fno_stack_protector" = xyes
18520 then :
18521 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
18523 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
18524 printf %s "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
18525 if test ${ac_cv_cflags__fno_strict_aliasing+y}
18526 then :
18527 printf %s "(cached) " >&6
18528 else $as_nop
18529 ac_wine_try_cflags_saved=$CFLAGS
18530 CFLAGS="$CFLAGS -fno-strict-aliasing"
18531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18532 /* end confdefs.h. */
18533 int main(int argc, char **argv) { return 0; }
18534 _ACEOF
18535 if ac_fn_c_try_link "$LINENO"
18536 then :
18537 ac_cv_cflags__fno_strict_aliasing=yes
18538 else $as_nop
18539 ac_cv_cflags__fno_strict_aliasing=no
18541 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18542 conftest$ac_exeext conftest.$ac_ext
18543 CFLAGS=$ac_wine_try_cflags_saved
18545 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
18546 printf "%s\n" "$ac_cv_cflags__fno_strict_aliasing" >&6; }
18547 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes
18548 then :
18549 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
18551 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
18552 printf %s "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
18553 if test ${ac_cv_cflags__Wdeclaration_after_statement+y}
18554 then :
18555 printf %s "(cached) " >&6
18556 else $as_nop
18557 ac_wine_try_cflags_saved=$CFLAGS
18558 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
18559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18560 /* end confdefs.h. */
18561 int main(int argc, char **argv) { return 0; }
18562 _ACEOF
18563 if ac_fn_c_try_link "$LINENO"
18564 then :
18565 ac_cv_cflags__Wdeclaration_after_statement=yes
18566 else $as_nop
18567 ac_cv_cflags__Wdeclaration_after_statement=no
18569 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18570 conftest$ac_exeext conftest.$ac_ext
18571 CFLAGS=$ac_wine_try_cflags_saved
18573 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
18574 printf "%s\n" "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
18575 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes
18576 then :
18577 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
18579 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
18580 printf %s "checking whether the compiler supports -Wempty-body... " >&6; }
18581 if test ${ac_cv_cflags__Wempty_body+y}
18582 then :
18583 printf %s "(cached) " >&6
18584 else $as_nop
18585 ac_wine_try_cflags_saved=$CFLAGS
18586 CFLAGS="$CFLAGS -Wempty-body"
18587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18588 /* end confdefs.h. */
18589 int main(int argc, char **argv) { return 0; }
18590 _ACEOF
18591 if ac_fn_c_try_link "$LINENO"
18592 then :
18593 ac_cv_cflags__Wempty_body=yes
18594 else $as_nop
18595 ac_cv_cflags__Wempty_body=no
18597 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18598 conftest$ac_exeext conftest.$ac_ext
18599 CFLAGS=$ac_wine_try_cflags_saved
18601 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
18602 printf "%s\n" "$ac_cv_cflags__Wempty_body" >&6; }
18603 if test "x$ac_cv_cflags__Wempty_body" = xyes
18604 then :
18605 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
18607 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
18608 printf %s "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
18609 if test ${ac_cv_cflags__Wignored_qualifiers+y}
18610 then :
18611 printf %s "(cached) " >&6
18612 else $as_nop
18613 ac_wine_try_cflags_saved=$CFLAGS
18614 CFLAGS="$CFLAGS -Wignored-qualifiers"
18615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18616 /* end confdefs.h. */
18617 int main(int argc, char **argv) { return 0; }
18618 _ACEOF
18619 if ac_fn_c_try_link "$LINENO"
18620 then :
18621 ac_cv_cflags__Wignored_qualifiers=yes
18622 else $as_nop
18623 ac_cv_cflags__Wignored_qualifiers=no
18625 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18626 conftest$ac_exeext conftest.$ac_ext
18627 CFLAGS=$ac_wine_try_cflags_saved
18629 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
18630 printf "%s\n" "$ac_cv_cflags__Wignored_qualifiers" >&6; }
18631 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes
18632 then :
18633 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
18635 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Winit-self" >&5
18636 printf %s "checking whether the compiler supports -Winit-self... " >&6; }
18637 if test ${ac_cv_cflags__Winit_self+y}
18638 then :
18639 printf %s "(cached) " >&6
18640 else $as_nop
18641 ac_wine_try_cflags_saved=$CFLAGS
18642 CFLAGS="$CFLAGS -Winit-self"
18643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18644 /* end confdefs.h. */
18645 int main(int argc, char **argv) { return 0; }
18646 _ACEOF
18647 if ac_fn_c_try_link "$LINENO"
18648 then :
18649 ac_cv_cflags__Winit_self=yes
18650 else $as_nop
18651 ac_cv_cflags__Winit_self=no
18653 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18654 conftest$ac_exeext conftest.$ac_ext
18655 CFLAGS=$ac_wine_try_cflags_saved
18657 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Winit_self" >&5
18658 printf "%s\n" "$ac_cv_cflags__Winit_self" >&6; }
18659 if test "x$ac_cv_cflags__Winit_self" = xyes
18660 then :
18661 EXTRACFLAGS="$EXTRACFLAGS -Winit-self"
18663 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
18664 printf %s "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
18665 if test ${ac_cv_cflags__Wpacked_not_aligned+y}
18666 then :
18667 printf %s "(cached) " >&6
18668 else $as_nop
18669 ac_wine_try_cflags_saved=$CFLAGS
18670 CFLAGS="$CFLAGS -Wpacked-not-aligned"
18671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18672 /* end confdefs.h. */
18673 int main(int argc, char **argv) { return 0; }
18674 _ACEOF
18675 if ac_fn_c_try_link "$LINENO"
18676 then :
18677 ac_cv_cflags__Wpacked_not_aligned=yes
18678 else $as_nop
18679 ac_cv_cflags__Wpacked_not_aligned=no
18681 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18682 conftest$ac_exeext conftest.$ac_ext
18683 CFLAGS=$ac_wine_try_cflags_saved
18685 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
18686 printf "%s\n" "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
18687 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes
18688 then :
18689 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
18691 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
18692 printf %s "checking whether the compiler supports -Wpragma-pack... " >&6; }
18693 if test ${ac_cv_cflags__Wpragma_pack+y}
18694 then :
18695 printf %s "(cached) " >&6
18696 else $as_nop
18697 ac_wine_try_cflags_saved=$CFLAGS
18698 CFLAGS="$CFLAGS -Wpragma-pack"
18699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18700 /* end confdefs.h. */
18701 int main(int argc, char **argv) { return 0; }
18702 _ACEOF
18703 if ac_fn_c_try_link "$LINENO"
18704 then :
18705 ac_cv_cflags__Wpragma_pack=yes
18706 else $as_nop
18707 ac_cv_cflags__Wpragma_pack=no
18709 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18710 conftest$ac_exeext conftest.$ac_ext
18711 CFLAGS=$ac_wine_try_cflags_saved
18713 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
18714 printf "%s\n" "$ac_cv_cflags__Wpragma_pack" >&6; }
18715 if test "x$ac_cv_cflags__Wpragma_pack" = xyes
18716 then :
18717 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
18719 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
18720 printf %s "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
18721 if test ${ac_cv_cflags__Wshift_overflow_2+y}
18722 then :
18723 printf %s "(cached) " >&6
18724 else $as_nop
18725 ac_wine_try_cflags_saved=$CFLAGS
18726 CFLAGS="$CFLAGS -Wshift-overflow=2"
18727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18728 /* end confdefs.h. */
18729 int main(int argc, char **argv) { return 0; }
18730 _ACEOF
18731 if ac_fn_c_try_link "$LINENO"
18732 then :
18733 ac_cv_cflags__Wshift_overflow_2=yes
18734 else $as_nop
18735 ac_cv_cflags__Wshift_overflow_2=no
18737 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18738 conftest$ac_exeext conftest.$ac_ext
18739 CFLAGS=$ac_wine_try_cflags_saved
18741 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
18742 printf "%s\n" "$ac_cv_cflags__Wshift_overflow_2" >&6; }
18743 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes
18744 then :
18745 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
18747 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
18748 printf %s "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
18749 if test ${ac_cv_cflags__Wstrict_prototypes+y}
18750 then :
18751 printf %s "(cached) " >&6
18752 else $as_nop
18753 ac_wine_try_cflags_saved=$CFLAGS
18754 CFLAGS="$CFLAGS -Wstrict-prototypes"
18755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18756 /* end confdefs.h. */
18757 int main(int argc, char **argv) { return 0; }
18758 _ACEOF
18759 if ac_fn_c_try_link "$LINENO"
18760 then :
18761 ac_cv_cflags__Wstrict_prototypes=yes
18762 else $as_nop
18763 ac_cv_cflags__Wstrict_prototypes=no
18765 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18766 conftest$ac_exeext conftest.$ac_ext
18767 CFLAGS=$ac_wine_try_cflags_saved
18769 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
18770 printf "%s\n" "$ac_cv_cflags__Wstrict_prototypes" >&6; }
18771 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes
18772 then :
18773 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
18775 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
18776 printf %s "checking whether the compiler supports -Wtype-limits... " >&6; }
18777 if test ${ac_cv_cflags__Wtype_limits+y}
18778 then :
18779 printf %s "(cached) " >&6
18780 else $as_nop
18781 ac_wine_try_cflags_saved=$CFLAGS
18782 CFLAGS="$CFLAGS -Wtype-limits"
18783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18784 /* end confdefs.h. */
18785 int main(int argc, char **argv) { return 0; }
18786 _ACEOF
18787 if ac_fn_c_try_link "$LINENO"
18788 then :
18789 ac_cv_cflags__Wtype_limits=yes
18790 else $as_nop
18791 ac_cv_cflags__Wtype_limits=no
18793 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18794 conftest$ac_exeext conftest.$ac_ext
18795 CFLAGS=$ac_wine_try_cflags_saved
18797 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
18798 printf "%s\n" "$ac_cv_cflags__Wtype_limits" >&6; }
18799 if test "x$ac_cv_cflags__Wtype_limits" = xyes
18800 then :
18801 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
18803 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
18804 printf %s "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
18805 if test ${ac_cv_cflags__Wunused_but_set_parameter+y}
18806 then :
18807 printf %s "(cached) " >&6
18808 else $as_nop
18809 ac_wine_try_cflags_saved=$CFLAGS
18810 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
18811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18812 /* end confdefs.h. */
18813 int main(int argc, char **argv) { return 0; }
18814 _ACEOF
18815 if ac_fn_c_try_link "$LINENO"
18816 then :
18817 ac_cv_cflags__Wunused_but_set_parameter=yes
18818 else $as_nop
18819 ac_cv_cflags__Wunused_but_set_parameter=no
18821 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18822 conftest$ac_exeext conftest.$ac_ext
18823 CFLAGS=$ac_wine_try_cflags_saved
18825 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
18826 printf "%s\n" "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
18827 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes
18828 then :
18829 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
18831 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
18832 printf %s "checking whether the compiler supports -Wvla... " >&6; }
18833 if test ${ac_cv_cflags__Wvla+y}
18834 then :
18835 printf %s "(cached) " >&6
18836 else $as_nop
18837 ac_wine_try_cflags_saved=$CFLAGS
18838 CFLAGS="$CFLAGS -Wvla"
18839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18840 /* end confdefs.h. */
18841 int main(int argc, char **argv) { return 0; }
18842 _ACEOF
18843 if ac_fn_c_try_link "$LINENO"
18844 then :
18845 ac_cv_cflags__Wvla=yes
18846 else $as_nop
18847 ac_cv_cflags__Wvla=no
18849 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18850 conftest$ac_exeext conftest.$ac_ext
18851 CFLAGS=$ac_wine_try_cflags_saved
18853 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
18854 printf "%s\n" "$ac_cv_cflags__Wvla" >&6; }
18855 if test "x$ac_cv_cflags__Wvla" = xyes
18856 then :
18857 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
18859 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
18860 printf %s "checking whether the compiler supports -Wwrite-strings... " >&6; }
18861 if test ${ac_cv_cflags__Wwrite_strings+y}
18862 then :
18863 printf %s "(cached) " >&6
18864 else $as_nop
18865 ac_wine_try_cflags_saved=$CFLAGS
18866 CFLAGS="$CFLAGS -Wwrite-strings"
18867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18868 /* end confdefs.h. */
18869 int main(int argc, char **argv) { return 0; }
18870 _ACEOF
18871 if ac_fn_c_try_link "$LINENO"
18872 then :
18873 ac_cv_cflags__Wwrite_strings=yes
18874 else $as_nop
18875 ac_cv_cflags__Wwrite_strings=no
18877 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18878 conftest$ac_exeext conftest.$ac_ext
18879 CFLAGS=$ac_wine_try_cflags_saved
18881 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
18882 printf "%s\n" "$ac_cv_cflags__Wwrite_strings" >&6; }
18883 if test "x$ac_cv_cflags__Wwrite_strings" = xyes
18884 then :
18885 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
18888 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
18889 printf %s "checking whether the compiler supports -Wpointer-arith... " >&6; }
18890 if test ${ac_cv_cflags__Wpointer_arith+y}
18891 then :
18892 printf %s "(cached) " >&6
18893 else $as_nop
18894 ac_wine_try_cflags_saved=$CFLAGS
18895 CFLAGS="$CFLAGS -Wpointer-arith"
18896 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18897 /* end confdefs.h. */
18898 int main(int argc, char **argv) { return 0; }
18899 _ACEOF
18900 if ac_fn_c_try_link "$LINENO"
18901 then :
18902 ac_cv_cflags__Wpointer_arith=yes
18903 else $as_nop
18904 ac_cv_cflags__Wpointer_arith=no
18906 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18907 conftest$ac_exeext conftest.$ac_ext
18908 CFLAGS=$ac_wine_try_cflags_saved
18910 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
18911 printf "%s\n" "$ac_cv_cflags__Wpointer_arith" >&6; }
18912 if test "x$ac_cv_cflags__Wpointer_arith" = xyes
18913 then :
18914 saved_string_h_CFLAGS=$CFLAGS
18915 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
18916 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
18917 printf %s "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
18918 if test ${ac_cv_c_string_h_warnings+y}
18919 then :
18920 printf %s "(cached) " >&6
18921 else $as_nop
18922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18923 /* end confdefs.h. */
18924 #include <string.h>
18926 main (void)
18930 return 0;
18932 _ACEOF
18933 if ac_fn_c_try_compile "$LINENO"
18934 then :
18935 ac_cv_c_string_h_warnings=no
18936 else $as_nop
18937 ac_cv_c_string_h_warnings=yes
18939 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
18941 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
18942 printf "%s\n" "$ac_cv_c_string_h_warnings" >&6; }
18943 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
18944 CFLAGS=$saved_string_h_CFLAGS
18947 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
18948 printf %s "checking whether the compiler supports -Wlogical-op... " >&6; }
18949 if test ${ac_cv_cflags__Wlogical_op+y}
18950 then :
18951 printf %s "(cached) " >&6
18952 else $as_nop
18953 ac_wine_try_cflags_saved=$CFLAGS
18954 CFLAGS="$CFLAGS -Wlogical-op"
18955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18956 /* end confdefs.h. */
18957 int main(int argc, char **argv) { return 0; }
18958 _ACEOF
18959 if ac_fn_c_try_link "$LINENO"
18960 then :
18961 ac_cv_cflags__Wlogical_op=yes
18962 else $as_nop
18963 ac_cv_cflags__Wlogical_op=no
18965 rm -f core conftest.err conftest.$ac_objext conftest.beam \
18966 conftest$ac_exeext conftest.$ac_ext
18967 CFLAGS=$ac_wine_try_cflags_saved
18969 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
18970 printf "%s\n" "$ac_cv_cflags__Wlogical_op" >&6; }
18971 if test "x$ac_cv_cflags__Wlogical_op" = xyes
18972 then :
18973 saved_string_h_CFLAGS=$CFLAGS
18974 CFLAGS="$CFLAGS -Wlogical-op -Werror"
18975 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
18976 printf %s "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
18977 if test ${ac_cv_c_logicalop_noisy+y}
18978 then :
18979 printf %s "(cached) " >&6
18980 else $as_nop
18981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18982 /* end confdefs.h. */
18983 #include <string.h>
18984 char*f(const char *h,char n) {return strchr(h,n);}
18986 main (void)
18990 return 0;
18992 _ACEOF
18993 if ac_fn_c_try_compile "$LINENO"
18994 then :
18995 ac_cv_c_logicalop_noisy=no
18996 else $as_nop
18997 ac_cv_c_logicalop_noisy=yes
18999 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19001 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
19002 printf "%s\n" "$ac_cv_c_logicalop_noisy" >&6; }
19003 CFLAGS=$saved_string_h_CFLAGS
19004 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
19007 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for flags needed for 64-bit compare-and-swap support" >&5
19008 printf %s "checking for flags needed for 64-bit compare-and-swap support... " >&6; }
19009 if test ${wine_cv_64bit_compare_swap+y}
19010 then :
19011 printf %s "(cached) " >&6
19012 else $as_nop
19013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19014 /* end confdefs.h. */
19015 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19016 #error no
19017 #endif
19019 main (void)
19023 return 0;
19025 _ACEOF
19026 if ac_fn_c_try_compile "$LINENO"
19027 then :
19028 wine_cv_64bit_compare_swap="none needed"
19029 else $as_nop
19030 case $host_cpu in
19031 *i[3456]86*) wine_cv_64bit_compare_swap="-march=i586" ;;
19032 *arm*) wine_cv_64bit_compare_swap="-march=armv7-a" ;;
19033 *) wine_cv_64bit_compare_swap="unknown" ;;
19034 esac
19035 if test "x$wine_cv_64bit_compare_swap" != xunknown
19036 then
19037 CFLAGS="$CFLAGS $wine_cv_64bit_compare_swap"
19038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19039 /* end confdefs.h. */
19040 #ifndef __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8
19041 #error no
19042 #endif
19044 main (void)
19048 return 0;
19050 _ACEOF
19051 if ac_fn_c_try_compile "$LINENO"
19052 then :
19054 else $as_nop
19055 wine_cv_64bit_compare_swap="unknown"
19057 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19058 CFLAGS=$saved_CFLAGS
19061 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19063 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_64bit_compare_swap" >&5
19064 printf "%s\n" "$wine_cv_64bit_compare_swap" >&6; }
19065 case "$wine_cv_64bit_compare_swap" in
19066 unknown) as_fn_error $? "gcc doesn't support 64-bit compare-and-swap on this platform" "$LINENO" 5 ;;
19067 "none needed") ;;
19068 *) EXTRACFLAGS="$EXTRACFLAGS $wine_cv_64bit_compare_swap" ;;
19069 esac
19071 ac_debug_format_seen=""
19072 for ac_flag in $CFLAGS; do
19073 case $ac_flag in
19074 -gdwarf*) ac_debug_format_seen=yes ;;
19075 -g) ac_debug_format_seen=${ac_debug_format_seen:-default} ;;
19076 esac
19077 done
19078 if test "x$ac_debug_format_seen" = xdefault
19079 then
19080 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-4" >&5
19081 printf %s "checking whether the compiler supports -gdwarf-4... " >&6; }
19082 if test ${ac_cv_cflags__gdwarf_4+y}
19083 then :
19084 printf %s "(cached) " >&6
19085 else $as_nop
19086 ac_wine_try_cflags_saved=$CFLAGS
19087 CFLAGS="$CFLAGS -gdwarf-4"
19088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19089 /* end confdefs.h. */
19090 int main(int argc, char **argv) { return 0; }
19091 _ACEOF
19092 if ac_fn_c_try_link "$LINENO"
19093 then :
19094 ac_cv_cflags__gdwarf_4=yes
19095 else $as_nop
19096 ac_cv_cflags__gdwarf_4=no
19098 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19099 conftest$ac_exeext conftest.$ac_ext
19100 CFLAGS=$ac_wine_try_cflags_saved
19102 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_4" >&5
19103 printf "%s\n" "$ac_cv_cflags__gdwarf_4" >&6; }
19104 if test "x$ac_cv_cflags__gdwarf_4" = xyes
19105 then :
19106 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-4"
19110 MSVCRTFLAGS=""
19112 case $host_os in
19113 mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
19114 printf %s "checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
19115 if test ${ac_cv_cflags__Wl__delayload_autoconftest_dll+y}
19116 then :
19117 printf %s "(cached) " >&6
19118 else $as_nop
19119 ac_wine_try_cflags_saved=$CFLAGS
19120 CFLAGS="$CFLAGS -Wl,-delayload,autoconftest.dll"
19121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19122 /* end confdefs.h. */
19123 int main(int argc, char **argv) { return 0; }
19124 _ACEOF
19125 if ac_fn_c_try_link "$LINENO"
19126 then :
19127 ac_cv_cflags__Wl__delayload_autoconftest_dll=yes
19128 else $as_nop
19129 ac_cv_cflags__Wl__delayload_autoconftest_dll=no
19131 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19132 conftest$ac_exeext conftest.$ac_ext
19133 CFLAGS=$ac_wine_try_cflags_saved
19135 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
19136 printf "%s\n" "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
19137 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes
19138 then :
19139 DELAYLOADFLAG="-Wl,-delayload,"
19141 fi ;;
19142 *) MSVCRTFLAGS="-D_WIN32"
19143 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
19144 printf %s "checking whether the compiler supports -fno-builtin... " >&6; }
19145 if test ${ac_cv_cflags__fno_builtin+y}
19146 then :
19147 printf %s "(cached) " >&6
19148 else $as_nop
19149 ac_wine_try_cflags_saved=$CFLAGS
19150 CFLAGS="$CFLAGS -fno-builtin"
19151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19152 /* end confdefs.h. */
19153 int main(int argc, char **argv) { return 0; }
19154 _ACEOF
19155 if ac_fn_c_try_link "$LINENO"
19156 then :
19157 ac_cv_cflags__fno_builtin=yes
19158 else $as_nop
19159 ac_cv_cflags__fno_builtin=no
19161 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19162 conftest$ac_exeext conftest.$ac_ext
19163 CFLAGS=$ac_wine_try_cflags_saved
19165 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
19166 printf "%s\n" "$ac_cv_cflags__fno_builtin" >&6; }
19167 if test "x$ac_cv_cflags__fno_builtin" = xyes
19168 then :
19169 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
19171 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
19172 printf %s "checking whether the compiler supports -fshort-wchar... " >&6; }
19173 if test ${ac_cv_cflags__fshort_wchar+y}
19174 then :
19175 printf %s "(cached) " >&6
19176 else $as_nop
19177 ac_wine_try_cflags_saved=$CFLAGS
19178 CFLAGS="$CFLAGS -fshort-wchar"
19179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19180 /* end confdefs.h. */
19181 int main(int argc, char **argv) { return 0; }
19182 _ACEOF
19183 if ac_fn_c_try_link "$LINENO"
19184 then :
19185 ac_cv_cflags__fshort_wchar=yes
19186 else $as_nop
19187 ac_cv_cflags__fshort_wchar=no
19189 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19190 conftest$ac_exeext conftest.$ac_ext
19191 CFLAGS=$ac_wine_try_cflags_saved
19193 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
19194 printf "%s\n" "$ac_cv_cflags__fshort_wchar" >&6; }
19195 if test "x$ac_cv_cflags__fshort_wchar" = xyes
19196 then :
19197 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
19199 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19200 printf %s "checking whether the compiler supports -Wno-format... " >&6; }
19201 if test ${ac_cv_cflags__Wno_format+y}
19202 then :
19203 printf %s "(cached) " >&6
19204 else $as_nop
19205 ac_wine_try_cflags_saved=$CFLAGS
19206 CFLAGS="$CFLAGS -Wno-format"
19207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19208 /* end confdefs.h. */
19209 int main(int argc, char **argv) { return 0; }
19210 _ACEOF
19211 if ac_fn_c_try_link "$LINENO"
19212 then :
19213 ac_cv_cflags__Wno_format=yes
19214 else $as_nop
19215 ac_cv_cflags__Wno_format=no
19217 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19218 conftest$ac_exeext conftest.$ac_ext
19219 CFLAGS=$ac_wine_try_cflags_saved
19221 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19222 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19223 if test "x$ac_cv_cflags__Wno_format" = xyes
19224 then :
19225 MSVCRTFLAGS="$MSVCRTFLAGS -Wno-format"
19226 fi ;;
19227 esac
19229 case $host_cpu in
19230 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
19231 printf %s "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
19232 if test ${ac_cv_cflags__fno_omit_frame_pointer+y}
19233 then :
19234 printf %s "(cached) " >&6
19235 else $as_nop
19236 ac_wine_try_cflags_saved=$CFLAGS
19237 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
19238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19239 /* end confdefs.h. */
19240 int main(int argc, char **argv) { return 0; }
19241 _ACEOF
19242 if ac_fn_c_try_link "$LINENO"
19243 then :
19244 ac_cv_cflags__fno_omit_frame_pointer=yes
19245 else $as_nop
19246 ac_cv_cflags__fno_omit_frame_pointer=no
19248 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19249 conftest$ac_exeext conftest.$ac_ext
19250 CFLAGS=$ac_wine_try_cflags_saved
19252 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
19253 printf "%s\n" "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
19254 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes
19255 then :
19256 MSVCRTFLAGS="$MSVCRTFLAGS -fno-omit-frame-pointer"
19257 fi ;;
19258 *x86_64*)
19259 case $host_os in
19260 cygwin*|mingw32*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
19261 printf %s "checking whether the compiler supports -Wno-format... " >&6; }
19262 if test ${ac_cv_cflags__Wno_format+y}
19263 then :
19264 printf %s "(cached) " >&6
19265 else $as_nop
19266 ac_wine_try_cflags_saved=$CFLAGS
19267 CFLAGS="$CFLAGS -Wno-format"
19268 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19269 /* end confdefs.h. */
19270 int main(int argc, char **argv) { return 0; }
19271 _ACEOF
19272 if ac_fn_c_try_link "$LINENO"
19273 then :
19274 ac_cv_cflags__Wno_format=yes
19275 else $as_nop
19276 ac_cv_cflags__Wno_format=no
19278 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19279 conftest$ac_exeext conftest.$ac_ext
19280 CFLAGS=$ac_wine_try_cflags_saved
19282 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
19283 printf "%s\n" "$ac_cv_cflags__Wno_format" >&6; }
19284 if test "x$ac_cv_cflags__Wno_format" = xyes
19285 then :
19286 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
19287 fi ;;
19288 *) if test -z "$PE_ARCHS"
19289 then
19290 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for working -mabi=ms" >&5
19291 printf %s "checking for working -mabi=ms... " >&6; }
19292 if test ${ac_cv_mabi_ms+y}
19293 then :
19294 printf %s "(cached) " >&6
19295 else $as_nop
19296 CFLAGS="$CFLAGS -mabi=ms"
19297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19298 /* end confdefs.h. */
19299 #include <stdarg.h>
19300 int a(int b, ...) { __builtin_ms_va_list list; __builtin_ms_va_start(list,b); }
19302 main (void)
19306 return 0;
19308 _ACEOF
19309 if ac_fn_c_try_compile "$LINENO"
19310 then :
19311 ac_cv_mabi_ms=yes
19312 else $as_nop
19313 ac_cv_mabi_ms=no
19315 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19316 CFLAGS=$saved_CFLAGS
19318 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_mabi_ms" >&5
19319 printf "%s\n" "$ac_cv_mabi_ms" >&6; }
19320 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
19322 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms" ;;
19323 esac ;;
19324 arm*)
19325 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wincompatible-function-pointer-types" >&5
19326 printf %s "checking whether the compiler supports -Wincompatible-function-pointer-types... " >&6; }
19327 if test ${ac_cv_cflags__Wincompatible_function_pointer_types+y}
19328 then :
19329 printf %s "(cached) " >&6
19330 else $as_nop
19331 ac_wine_try_cflags_saved=$CFLAGS
19332 CFLAGS="$CFLAGS -Wincompatible-function-pointer-types"
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__Wincompatible_function_pointer_types=yes
19340 else $as_nop
19341 ac_cv_cflags__Wincompatible_function_pointer_types=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__Wincompatible_function_pointer_types" >&5
19348 printf "%s\n" "$ac_cv_cflags__Wincompatible_function_pointer_types" >&6; }
19349 if test "x$ac_cv_cflags__Wincompatible_function_pointer_types" = xyes
19350 then :
19351 EXTRACFLAGS="$EXTRACFLAGS -Wno-error=incompatible-function-pointer-types"
19352 fi ;;
19353 esac
19355 CFLAGS=$saved_CFLAGS
19357 if test "x$enable_werror" = "xyes"
19358 then
19359 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
19360 printf %s "checking whether the compiler supports -Werror... " >&6; }
19361 if test ${ac_cv_cflags__Werror+y}
19362 then :
19363 printf %s "(cached) " >&6
19364 else $as_nop
19365 ac_wine_try_cflags_saved=$CFLAGS
19366 CFLAGS="$CFLAGS -Werror"
19367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19368 /* end confdefs.h. */
19369 int main(int argc, char **argv) { return 0; }
19370 _ACEOF
19371 if ac_fn_c_try_link "$LINENO"
19372 then :
19373 ac_cv_cflags__Werror=yes
19374 else $as_nop
19375 ac_cv_cflags__Werror=no
19377 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19378 conftest$ac_exeext conftest.$ac_ext
19379 CFLAGS=$ac_wine_try_cflags_saved
19381 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
19382 printf "%s\n" "$ac_cv_cflags__Werror" >&6; }
19383 if test "x$ac_cv_cflags__Werror" = xyes
19384 then :
19385 EXTRACFLAGS="$EXTRACFLAGS -Werror"
19388 if test "x$enable_build_id" = "xyes"
19389 then
19390 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--build-id" >&5
19391 printf %s "checking whether the compiler supports -Wl,--build-id... " >&6; }
19392 if test ${ac_cv_cflags__Wl___build_id+y}
19393 then :
19394 printf %s "(cached) " >&6
19395 else $as_nop
19396 ac_wine_try_cflags_saved=$CFLAGS
19397 CFLAGS="$CFLAGS -Wl,--build-id"
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__Wl___build_id=yes
19405 else $as_nop
19406 ac_cv_cflags__Wl___build_id=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__Wl___build_id" >&5
19413 printf "%s\n" "$ac_cv_cflags__Wl___build_id" >&6; }
19414 if test "x$ac_cv_cflags__Wl___build_id" = xyes
19415 then :
19416 CFLAGS="$CFLAGS -Wl,--build-id"
19417 LDFLAGS="$LDFLAGS -Wl,--build-id"
19423 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
19424 printf %s "checking for the need to disable Fortify... " >&6; }
19425 if test ${ac_cv_c_fortify_enabled+y}
19426 then :
19427 printf %s "(cached) " >&6
19428 else $as_nop
19429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19430 /* end confdefs.h. */
19431 #include <string.h>
19433 main (void)
19435 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
19436 #error Fortify enabled
19437 #endif
19439 return 0;
19441 _ACEOF
19442 if ac_fn_c_try_compile "$LINENO"
19443 then :
19444 ac_cv_c_fortify_enabled=no
19445 else $as_nop
19446 ac_cv_c_fortify_enabled=yes
19448 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19450 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
19451 printf "%s\n" "$ac_cv_c_fortify_enabled" >&6; }
19452 if test "$ac_cv_c_fortify_enabled" = yes
19453 then
19454 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
19458 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
19459 printf %s "checking whether CFI directives are supported in assembly code... " >&6; }
19460 if test ${ac_cv_c_cfi_support+y}
19461 then :
19462 printf %s "(cached) " >&6
19463 else $as_nop
19464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19465 /* end confdefs.h. */
19466 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
19468 main (void)
19472 return 0;
19474 _ACEOF
19475 if ac_fn_c_try_compile "$LINENO"
19476 then :
19477 ac_cv_c_cfi_support="yes"
19478 else $as_nop
19479 ac_cv_c_cfi_support="no"
19481 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
19483 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
19484 printf "%s\n" "$ac_cv_c_cfi_support" >&6; }
19485 if test "$ac_cv_c_cfi_support" = "yes"
19486 then
19487 DLLFLAGS="$DLLFLAGS -fasynchronous-unwind-tables"
19488 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
19489 UNIXDLLFLAGS="$UNIXDLLFLAGS -fasynchronous-unwind-tables"
19490 elif test $HOST_ARCH = x86_64
19491 then
19492 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
19496 case "$HOST_ARCH,$PE_ARCHS" in
19497 x86_64,*i386*) wine_binary="wine" ;;
19498 x86_64,*) wine_binary="wine64" ;;
19499 *) wine_binary="wine" ;;
19500 esac
19501 WINELOADER_PROGRAMS="$wine_binary"
19504 case $host_os in
19505 linux*)
19506 case $host_cpu in
19507 *i[3456789]86*|x86_64*|*aarch64*|arm*)
19508 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine-preloader"
19509 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
19511 esac
19513 darwin*|macosx*)
19514 if test "$wine_can_build_preloader" = "yes"
19515 then
19516 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine-preloader"
19517 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
19520 esac
19523 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing dlopen" >&5
19524 printf %s "checking for library containing dlopen... " >&6; }
19525 if test ${ac_cv_search_dlopen+y}
19526 then :
19527 printf %s "(cached) " >&6
19528 else $as_nop
19529 ac_func_search_save_LIBS=$LIBS
19530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19531 /* end confdefs.h. */
19533 /* Override any GCC internal prototype to avoid an error.
19534 Use char because int might match the return type of a GCC
19535 builtin and then its argument prototype would still apply. */
19536 char dlopen ();
19538 main (void)
19540 return dlopen ();
19542 return 0;
19544 _ACEOF
19545 for ac_lib in '' dl
19547 if test -z "$ac_lib"; then
19548 ac_res="none required"
19549 else
19550 ac_res=-l$ac_lib
19551 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19553 if ac_fn_c_try_link "$LINENO"
19554 then :
19555 ac_cv_search_dlopen=$ac_res
19557 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19558 conftest$ac_exeext
19559 if test ${ac_cv_search_dlopen+y}
19560 then :
19561 break
19563 done
19564 if test ${ac_cv_search_dlopen+y}
19565 then :
19567 else $as_nop
19568 ac_cv_search_dlopen=no
19570 rm conftest.$ac_ext
19571 LIBS=$ac_func_search_save_LIBS
19573 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_dlopen" >&5
19574 printf "%s\n" "$ac_cv_search_dlopen" >&6; }
19575 ac_res=$ac_cv_search_dlopen
19576 if test "$ac_res" != no
19577 then :
19578 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19583 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
19584 printf %s "checking for library containing gethostbyname... " >&6; }
19585 if test ${ac_cv_search_gethostbyname+y}
19586 then :
19587 printf %s "(cached) " >&6
19588 else $as_nop
19589 ac_func_search_save_LIBS=$LIBS
19590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19591 /* end confdefs.h. */
19593 /* Override any GCC internal prototype to avoid an error.
19594 Use char because int might match the return type of a GCC
19595 builtin and then its argument prototype would still apply. */
19596 char gethostbyname ();
19598 main (void)
19600 return gethostbyname ();
19602 return 0;
19604 _ACEOF
19605 for ac_lib in '' nsl
19607 if test -z "$ac_lib"; then
19608 ac_res="none required"
19609 else
19610 ac_res=-l$ac_lib
19611 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19613 if ac_fn_c_try_link "$LINENO"
19614 then :
19615 ac_cv_search_gethostbyname=$ac_res
19617 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19618 conftest$ac_exeext
19619 if test ${ac_cv_search_gethostbyname+y}
19620 then :
19621 break
19623 done
19624 if test ${ac_cv_search_gethostbyname+y}
19625 then :
19627 else $as_nop
19628 ac_cv_search_gethostbyname=no
19630 rm conftest.$ac_ext
19631 LIBS=$ac_func_search_save_LIBS
19633 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
19634 printf "%s\n" "$ac_cv_search_gethostbyname" >&6; }
19635 ac_res=$ac_cv_search_gethostbyname
19636 if test "$ac_res" != no
19637 then :
19638 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19643 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
19644 printf %s "checking for library containing connect... " >&6; }
19645 if test ${ac_cv_search_connect+y}
19646 then :
19647 printf %s "(cached) " >&6
19648 else $as_nop
19649 ac_func_search_save_LIBS=$LIBS
19650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19651 /* end confdefs.h. */
19653 /* Override any GCC internal prototype to avoid an error.
19654 Use char because int might match the return type of a GCC
19655 builtin and then its argument prototype would still apply. */
19656 char connect ();
19658 main (void)
19660 return connect ();
19662 return 0;
19664 _ACEOF
19665 for ac_lib in '' socket
19667 if test -z "$ac_lib"; then
19668 ac_res="none required"
19669 else
19670 ac_res=-l$ac_lib
19671 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19673 if ac_fn_c_try_link "$LINENO"
19674 then :
19675 ac_cv_search_connect=$ac_res
19677 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19678 conftest$ac_exeext
19679 if test ${ac_cv_search_connect+y}
19680 then :
19681 break
19683 done
19684 if test ${ac_cv_search_connect+y}
19685 then :
19687 else $as_nop
19688 ac_cv_search_connect=no
19690 rm conftest.$ac_ext
19691 LIBS=$ac_func_search_save_LIBS
19693 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
19694 printf "%s\n" "$ac_cv_search_connect" >&6; }
19695 ac_res=$ac_cv_search_connect
19696 if test "$ac_res" != no
19697 then :
19698 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19703 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
19704 printf %s "checking for library containing inet_aton... " >&6; }
19705 if test ${ac_cv_search_inet_aton+y}
19706 then :
19707 printf %s "(cached) " >&6
19708 else $as_nop
19709 ac_func_search_save_LIBS=$LIBS
19710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19711 /* end confdefs.h. */
19713 /* Override any GCC internal prototype to avoid an error.
19714 Use char because int might match the return type of a GCC
19715 builtin and then its argument prototype would still apply. */
19716 char inet_aton ();
19718 main (void)
19720 return inet_aton ();
19722 return 0;
19724 _ACEOF
19725 for ac_lib in '' resolv
19727 if test -z "$ac_lib"; then
19728 ac_res="none required"
19729 else
19730 ac_res=-l$ac_lib
19731 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
19733 if ac_fn_c_try_link "$LINENO"
19734 then :
19735 ac_cv_search_inet_aton=$ac_res
19737 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19738 conftest$ac_exeext
19739 if test ${ac_cv_search_inet_aton+y}
19740 then :
19741 break
19743 done
19744 if test ${ac_cv_search_inet_aton+y}
19745 then :
19747 else $as_nop
19748 ac_cv_search_inet_aton=no
19750 rm conftest.$ac_ext
19751 LIBS=$ac_func_search_save_LIBS
19753 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
19754 printf "%s\n" "$ac_cv_search_inet_aton" >&6; }
19755 ac_res=$ac_cv_search_inet_aton
19756 if test "$ac_res" != no
19757 then :
19758 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19763 ac_save_CFLAGS="$CFLAGS"
19764 CFLAGS="$CFLAGS $BUILTINFLAG"
19765 ac_fn_c_check_func "$LINENO" "dladdr1" "ac_cv_func_dladdr1"
19766 if test "x$ac_cv_func_dladdr1" = xyes
19767 then :
19768 printf "%s\n" "#define HAVE_DLADDR1 1" >>confdefs.h
19771 ac_fn_c_check_func "$LINENO" "dlinfo" "ac_cv_func_dlinfo"
19772 if test "x$ac_cv_func_dlinfo" = xyes
19773 then :
19774 printf "%s\n" "#define HAVE_DLINFO 1" >>confdefs.h
19777 ac_fn_c_check_func "$LINENO" "epoll_create" "ac_cv_func_epoll_create"
19778 if test "x$ac_cv_func_epoll_create" = xyes
19779 then :
19780 printf "%s\n" "#define HAVE_EPOLL_CREATE 1" >>confdefs.h
19783 ac_fn_c_check_func "$LINENO" "fstatfs" "ac_cv_func_fstatfs"
19784 if test "x$ac_cv_func_fstatfs" = xyes
19785 then :
19786 printf "%s\n" "#define HAVE_FSTATFS 1" >>confdefs.h
19789 ac_fn_c_check_func "$LINENO" "futimens" "ac_cv_func_futimens"
19790 if test "x$ac_cv_func_futimens" = xyes
19791 then :
19792 printf "%s\n" "#define HAVE_FUTIMENS 1" >>confdefs.h
19795 ac_fn_c_check_func "$LINENO" "futimes" "ac_cv_func_futimes"
19796 if test "x$ac_cv_func_futimes" = xyes
19797 then :
19798 printf "%s\n" "#define HAVE_FUTIMES 1" >>confdefs.h
19801 ac_fn_c_check_func "$LINENO" "futimesat" "ac_cv_func_futimesat"
19802 if test "x$ac_cv_func_futimesat" = xyes
19803 then :
19804 printf "%s\n" "#define HAVE_FUTIMESAT 1" >>confdefs.h
19807 ac_fn_c_check_func "$LINENO" "getaddrinfo" "ac_cv_func_getaddrinfo"
19808 if test "x$ac_cv_func_getaddrinfo" = xyes
19809 then :
19810 printf "%s\n" "#define HAVE_GETADDRINFO 1" >>confdefs.h
19813 ac_fn_c_check_func "$LINENO" "getattrlist" "ac_cv_func_getattrlist"
19814 if test "x$ac_cv_func_getattrlist" = xyes
19815 then :
19816 printf "%s\n" "#define HAVE_GETATTRLIST 1" >>confdefs.h
19819 ac_fn_c_check_func "$LINENO" "getauxval" "ac_cv_func_getauxval"
19820 if test "x$ac_cv_func_getauxval" = xyes
19821 then :
19822 printf "%s\n" "#define HAVE_GETAUXVAL 1" >>confdefs.h
19825 ac_fn_c_check_func "$LINENO" "getifaddrs" "ac_cv_func_getifaddrs"
19826 if test "x$ac_cv_func_getifaddrs" = xyes
19827 then :
19828 printf "%s\n" "#define HAVE_GETIFADDRS 1" >>confdefs.h
19831 ac_fn_c_check_func "$LINENO" "getrandom" "ac_cv_func_getrandom"
19832 if test "x$ac_cv_func_getrandom" = xyes
19833 then :
19834 printf "%s\n" "#define HAVE_GETRANDOM 1" >>confdefs.h
19837 ac_fn_c_check_func "$LINENO" "kqueue" "ac_cv_func_kqueue"
19838 if test "x$ac_cv_func_kqueue" = xyes
19839 then :
19840 printf "%s\n" "#define HAVE_KQUEUE 1" >>confdefs.h
19843 ac_fn_c_check_func "$LINENO" "mach_continuous_time" "ac_cv_func_mach_continuous_time"
19844 if test "x$ac_cv_func_mach_continuous_time" = xyes
19845 then :
19846 printf "%s\n" "#define HAVE_MACH_CONTINUOUS_TIME 1" >>confdefs.h
19849 ac_fn_c_check_func "$LINENO" "pipe2" "ac_cv_func_pipe2"
19850 if test "x$ac_cv_func_pipe2" = xyes
19851 then :
19852 printf "%s\n" "#define HAVE_PIPE2 1" >>confdefs.h
19855 ac_fn_c_check_func "$LINENO" "port_create" "ac_cv_func_port_create"
19856 if test "x$ac_cv_func_port_create" = xyes
19857 then :
19858 printf "%s\n" "#define HAVE_PORT_CREATE 1" >>confdefs.h
19861 ac_fn_c_check_func "$LINENO" "posix_fadvise" "ac_cv_func_posix_fadvise"
19862 if test "x$ac_cv_func_posix_fadvise" = xyes
19863 then :
19864 printf "%s\n" "#define HAVE_POSIX_FADVISE 1" >>confdefs.h
19867 ac_fn_c_check_func "$LINENO" "posix_fallocate" "ac_cv_func_posix_fallocate"
19868 if test "x$ac_cv_func_posix_fallocate" = xyes
19869 then :
19870 printf "%s\n" "#define HAVE_POSIX_FALLOCATE 1" >>confdefs.h
19873 ac_fn_c_check_func "$LINENO" "prctl" "ac_cv_func_prctl"
19874 if test "x$ac_cv_func_prctl" = xyes
19875 then :
19876 printf "%s\n" "#define HAVE_PRCTL 1" >>confdefs.h
19879 ac_fn_c_check_func "$LINENO" "proc_pidinfo" "ac_cv_func_proc_pidinfo"
19880 if test "x$ac_cv_func_proc_pidinfo" = xyes
19881 then :
19882 printf "%s\n" "#define HAVE_PROC_PIDINFO 1" >>confdefs.h
19885 ac_fn_c_check_func "$LINENO" "sched_yield" "ac_cv_func_sched_yield"
19886 if test "x$ac_cv_func_sched_yield" = xyes
19887 then :
19888 printf "%s\n" "#define HAVE_SCHED_YIELD 1" >>confdefs.h
19891 ac_fn_c_check_func "$LINENO" "setproctitle" "ac_cv_func_setproctitle"
19892 if test "x$ac_cv_func_setproctitle" = xyes
19893 then :
19894 printf "%s\n" "#define HAVE_SETPROCTITLE 1" >>confdefs.h
19897 ac_fn_c_check_func "$LINENO" "setprogname" "ac_cv_func_setprogname"
19898 if test "x$ac_cv_func_setprogname" = xyes
19899 then :
19900 printf "%s\n" "#define HAVE_SETPROGNAME 1" >>confdefs.h
19903 ac_fn_c_check_func "$LINENO" "sigprocmask" "ac_cv_func_sigprocmask"
19904 if test "x$ac_cv_func_sigprocmask" = xyes
19905 then :
19906 printf "%s\n" "#define HAVE_SIGPROCMASK 1" >>confdefs.h
19909 ac_fn_c_check_func "$LINENO" "sysinfo" "ac_cv_func_sysinfo"
19910 if test "x$ac_cv_func_sysinfo" = xyes
19911 then :
19912 printf "%s\n" "#define HAVE_SYSINFO 1" >>confdefs.h
19915 ac_fn_c_check_func "$LINENO" "tcdrain" "ac_cv_func_tcdrain"
19916 if test "x$ac_cv_func_tcdrain" = xyes
19917 then :
19918 printf "%s\n" "#define HAVE_TCDRAIN 1" >>confdefs.h
19921 ac_fn_c_check_func "$LINENO" "thr_kill2" "ac_cv_func_thr_kill2"
19922 if test "x$ac_cv_func_thr_kill2" = xyes
19923 then :
19924 printf "%s\n" "#define HAVE_THR_KILL2 1" >>confdefs.h
19928 CFLAGS="$ac_save_CFLAGS"
19930 case $host_os in
19931 darwin*|macosx*) ;;
19932 *) ac_save_LIBS=$LIBS
19933 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
19934 printf %s "checking for library containing clock_gettime... " >&6; }
19935 if test ${ac_cv_search_clock_gettime+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 clock_gettime ();
19948 main (void)
19950 return clock_gettime ();
19952 return 0;
19954 _ACEOF
19955 for ac_lib in '' rt
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_clock_gettime=$ac_res
19967 rm -f core conftest.err conftest.$ac_objext conftest.beam \
19968 conftest$ac_exeext
19969 if test ${ac_cv_search_clock_gettime+y}
19970 then :
19971 break
19973 done
19974 if test ${ac_cv_search_clock_gettime+y}
19975 then :
19977 else $as_nop
19978 ac_cv_search_clock_gettime=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_clock_gettime" >&5
19984 printf "%s\n" "$ac_cv_search_clock_gettime" >&6; }
19985 ac_res=$ac_cv_search_clock_gettime
19986 if test "$ac_res" != no
19987 then :
19988 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
19990 printf "%s\n" "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
19992 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
19996 LIBS=$ac_save_LIBS
19998 esac
20000 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
20001 printf %s "checking for sched_setaffinity... " >&6; }
20002 if test ${wine_cv_have_sched_setaffinity+y}
20003 then :
20004 printf %s "(cached) " >&6
20005 else $as_nop
20006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20007 /* end confdefs.h. */
20008 #include <sched.h>
20010 main (void)
20012 sched_setaffinity(0, 0, 0);
20014 return 0;
20016 _ACEOF
20017 if ac_fn_c_try_link "$LINENO"
20018 then :
20019 wine_cv_have_sched_setaffinity=yes
20020 else $as_nop
20021 wine_cv_have_sched_setaffinity=no
20023 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20024 conftest$ac_exeext conftest.$ac_ext
20026 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
20027 printf "%s\n" "$wine_cv_have_sched_setaffinity" >&6; }
20028 if test "$wine_cv_have_sched_setaffinity" = "yes"
20029 then
20031 printf "%s\n" "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
20036 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
20037 printf %s "checking for inline... " >&6; }
20038 if test ${ac_cv_c_inline+y}
20039 then :
20040 printf %s "(cached) " >&6
20041 else $as_nop
20042 ac_cv_c_inline=no
20043 for ac_kw in inline __inline__ __inline; do
20044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20045 /* end confdefs.h. */
20046 #ifndef __cplusplus
20047 typedef int foo_t;
20048 static $ac_kw foo_t static_foo (void) {return 0; }
20049 $ac_kw foo_t foo (void) {return 0; }
20050 #endif
20052 _ACEOF
20053 if ac_fn_c_try_compile "$LINENO"
20054 then :
20055 ac_cv_c_inline=$ac_kw
20057 rm -f core conftest.err conftest.$ac_objext conftest.beam conftest.$ac_ext
20058 test "$ac_cv_c_inline" != no && break
20059 done
20062 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
20063 printf "%s\n" "$ac_cv_c_inline" >&6; }
20065 case $ac_cv_c_inline in
20066 inline | yes) ;;
20068 case $ac_cv_c_inline in
20069 no) ac_val=;;
20070 *) ac_val=$ac_cv_c_inline;;
20071 esac
20072 cat >>confdefs.h <<_ACEOF
20073 #ifndef __cplusplus
20074 #define inline $ac_val
20075 #endif
20076 _ACEOF
20078 esac
20080 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
20081 #include <signal.h>
20083 if test "x$ac_cv_type_sigset_t" = xyes
20084 then :
20086 printf "%s\n" "#define HAVE_SIGSET_T 1" >>confdefs.h
20091 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
20093 if test "x$ac_cv_type_request_sense" = xyes
20094 then :
20096 printf "%s\n" "#define HAVE_REQUEST_SENSE 1" >>confdefs.h
20102 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
20103 #include <sys/socket.h>
20104 #ifdef HAVE_SYS_SOCKETVAR_H
20105 #include <sys/socketvar.h>
20106 #endif
20107 #ifdef HAVE_NET_ROUTE_H
20108 #include <net/route.h>
20109 #endif
20110 #ifdef HAVE_NETINET_IN_H
20111 #include <netinet/in.h>
20112 #endif
20113 #ifdef HAVE_NETINET_IN_SYSTM_H
20114 #include <netinet/in_systm.h>
20115 #endif
20116 #ifdef HAVE_NETINET_IP_H
20117 #include <netinet/ip.h>
20118 #endif
20119 #ifdef HAVE_NETINET_IN_PCB_H
20120 #include <netinet/in_pcb.h>
20121 #endif
20123 if test "x$ac_cv_type_struct_xinpgen" = xyes
20124 then :
20126 printf "%s\n" "#define HAVE_STRUCT_XINPGEN 1" >>confdefs.h
20132 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
20133 printf %s "checking for sigaddset... " >&6; }
20134 if test ${wine_cv_have_sigaddset+y}
20135 then :
20136 printf %s "(cached) " >&6
20137 else $as_nop
20138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20139 /* end confdefs.h. */
20140 #include <signal.h>
20142 main (void)
20144 sigset_t set; sigaddset(&set,SIGTERM);
20146 return 0;
20148 _ACEOF
20149 if ac_fn_c_try_link "$LINENO"
20150 then :
20151 wine_cv_have_sigaddset=yes
20152 else $as_nop
20153 wine_cv_have_sigaddset=no
20155 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20156 conftest$ac_exeext conftest.$ac_ext
20158 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
20159 printf "%s\n" "$wine_cv_have_sigaddset" >&6; }
20160 if test "$wine_cv_have_sigaddset" = "yes"
20161 then
20163 printf "%s\n" "#define HAVE_SIGADDSET 1" >>confdefs.h
20168 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
20169 printf %s "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
20170 if test ${wine_cv_linux_gethostbyname_r_6+y}
20171 then :
20172 printf %s "(cached) " >&6
20173 else $as_nop
20174 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20175 /* end confdefs.h. */
20176 #include <netdb.h>
20178 main (void)
20181 char *name=0;
20182 struct hostent he;
20183 struct hostent *result;
20184 char *buf=0;
20185 int bufsize=0;
20186 int errnr;
20187 char *addr=0;
20188 int addrlen=0;
20189 int addrtype=0;
20190 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
20191 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
20194 return 0;
20196 _ACEOF
20197 if ac_fn_c_try_link "$LINENO"
20198 then :
20199 wine_cv_linux_gethostbyname_r_6=yes
20200 else $as_nop
20201 wine_cv_linux_gethostbyname_r_6=no
20204 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20205 conftest$ac_exeext conftest.$ac_ext
20208 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
20209 printf "%s\n" "$wine_cv_linux_gethostbyname_r_6" >&6; }
20210 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
20211 then
20213 printf "%s\n" "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
20217 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
20218 #include <sys/socket.h>
20219 #ifdef HAVE_SYS_UN_H
20220 # include <sys/un.h>
20221 #endif
20223 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes
20224 then :
20226 printf "%s\n" "#define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1" >>confdefs.h
20230 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
20231 #include <sys/socket.h>
20232 #ifdef HAVE_SYS_UN_H
20233 # include <sys/un.h>
20234 #endif
20236 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes
20237 then :
20239 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1" >>confdefs.h
20245 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
20246 #ifdef HAVE_SCSI_SG_H
20247 #include <scsi/sg.h>
20248 #endif
20250 if test "x$ac_cv_member_scsireq_t_cmd" = xyes
20251 then :
20253 printf "%s\n" "#define HAVE_SCSIREQ_T_CMD 1" >>confdefs.h
20257 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>
20258 #ifdef HAVE_SCSI_SG_H
20259 #include <scsi/sg.h>
20260 #endif
20262 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes
20263 then :
20265 printf "%s\n" "#define HAVE_SG_IO_HDR_T_INTERFACE_ID 1" >>confdefs.h
20271 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
20273 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes
20274 then :
20276 printf "%s\n" "#define HAVE_SIGINFO_T_SI_FD 1" >>confdefs.h
20282 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
20283 #ifdef HAVE_SYS_MTIO_H
20284 #include <sys/mtio.h>
20285 #endif
20287 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes
20288 then :
20290 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKSIZ 1" >>confdefs.h
20294 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
20295 #ifdef HAVE_SYS_MTIO_H
20296 #include <sys/mtio.h>
20297 #endif
20299 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes
20300 then :
20302 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_GSTAT 1" >>confdefs.h
20306 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
20307 #ifdef HAVE_SYS_MTIO_H
20308 #include <sys/mtio.h>
20309 #endif
20311 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes
20312 then :
20314 printf "%s\n" "#define HAVE_STRUCT_MTGET_MT_BLKNO 1" >>confdefs.h
20320 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
20321 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes
20322 then :
20324 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIM 1" >>confdefs.h
20328 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
20329 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes
20330 then :
20332 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_MTIMESPEC 1" >>confdefs.h
20336 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
20337 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes
20338 then :
20340 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIM 1" >>confdefs.h
20344 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
20345 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes
20346 then :
20348 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_CTIMESPEC 1" >>confdefs.h
20352 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
20353 if test "x$ac_cv_member_struct_stat_st_atim" = xyes
20354 then :
20356 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIM 1" >>confdefs.h
20360 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
20361 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes
20362 then :
20364 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_ATIMESPEC 1" >>confdefs.h
20368 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
20369 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes
20370 then :
20372 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIME 1" >>confdefs.h
20376 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
20377 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes
20378 then :
20380 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIM 1" >>confdefs.h
20384 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
20385 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes
20386 then :
20388 printf "%s\n" "#define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1" >>confdefs.h
20392 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
20393 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes
20394 then :
20396 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIME 1" >>confdefs.h
20400 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
20401 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes
20402 then :
20404 printf "%s\n" "#define HAVE_STRUCT_STAT___ST_BIRTHTIM 1" >>confdefs.h
20410 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>
20411 #ifdef HAVE_NETINET_IN_H
20412 #include <netinet/in.h>
20413 #endif
20415 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes
20416 then :
20418 printf "%s\n" "#define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1" >>confdefs.h
20424 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
20425 #include <resolv.h>
20426 #endif
20428 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes
20429 then :
20431 printf "%s\n" "#define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1" >>confdefs.h
20437 ac_fn_c_check_member "$LINENO" "struct in6_pktinfo" "ipi6_addr" "ac_cv_member_struct_in6_pktinfo_ipi6_addr" "#ifdef HAVE_NETINET_IN_H
20438 #include <netinet/in.h>
20439 #endif
20441 if test "x$ac_cv_member_struct_in6_pktinfo_ipi6_addr" = xyes
20442 then :
20444 printf "%s\n" "#define HAVE_STRUCT_IN6_PKTINFO_IPI6_ADDR 1" >>confdefs.h
20450 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#include <sys/types.h>
20451 #ifdef HAVE_SYS_SOCKETVAR_H
20452 #include <sys/socketvar.h>
20453 #endif
20454 #ifdef HAVE_NETINET_IN_H
20455 #include <netinet/in.h>
20456 #endif
20457 #ifdef HAVE_NETINET_IP_VAR_H
20458 #include <netinet/ip_var.h>
20459 #endif
20461 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes
20462 then :
20464 printf "%s\n" "#define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1" >>confdefs.h
20470 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
20471 #include <netinet/ip_var.h>
20472 #endif
20474 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes
20475 then :
20477 printf "%s\n" "#define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1" >>confdefs.h
20483 ac_fn_c_check_member "$LINENO" "struct ip6stat" "ip6s_total" "ac_cv_member_struct_ip6stat_ip6s_total" "#include <sys/types.h>
20484 #ifdef HAVE_SYS_SOCKETVAR_H
20485 #include <sys/socketvar.h>
20486 #endif
20487 #ifdef HAVE_NETINET_IN_H
20488 #include <netinet/in.h>
20489 #endif
20490 #ifdef HAVE_NETINET6_IP6_VAR_H
20491 #include <netinet6/ip6_var.h>
20492 #endif
20494 if test "x$ac_cv_member_struct_ip6stat_ip6s_total" = xyes
20495 then :
20497 printf "%s\n" "#define HAVE_STRUCT_IP6STAT_IP6S_TOTAL 1" >>confdefs.h
20503 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_error" "ac_cv_member_struct_icmpstat_icps_error" "#include <sys/types.h>
20504 #ifdef HAVE_SYS_SOCKETVAR_H
20505 #include <sys/socketvar.h>
20506 #endif
20507 #ifdef HAVE_NETINET_IN_H
20508 #include <netinet/in.h>
20509 #endif
20510 #ifdef HAVE_NETINET_IP_H
20511 #include <netinet/ip.h>
20512 #endif
20513 #ifdef HAVE_NETINET_IP_ICMP_H
20514 #include <netinet/ip_icmp.h>
20515 #endif
20516 #ifdef HAVE_NETINET_ICMP_VAR_H
20517 #include <netinet/icmp_var.h>
20518 #endif
20520 if test "x$ac_cv_member_struct_icmpstat_icps_error" = xyes
20521 then :
20523 printf "%s\n" "#define HAVE_STRUCT_ICMPSTAT_ICPS_ERROR 1" >>confdefs.h
20529 ac_fn_c_check_member "$LINENO" "struct icmp6stat" "icp6s_error" "ac_cv_member_struct_icmp6stat_icp6s_error" "#include <sys/types.h>
20530 #ifdef HAVE_SYS_SOCKETVAR_H
20531 #include <sys/socketvar.h>
20532 #endif
20533 #ifdef HAVE_NETINET_IN_H
20534 #include <netinet/in.h>
20535 #endif
20536 #ifdef HAVE_NETINET_ICMP6_H
20537 #include <netinet/icmp6.h>
20538 #endif
20540 if test "x$ac_cv_member_struct_icmp6stat_icp6s_error" = xyes
20541 then :
20543 printf "%s\n" "#define HAVE_STRUCT_ICMP6STAT_ICP6S_ERROR 1" >>confdefs.h
20549 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#include <sys/types.h>
20550 #ifdef HAVE_SYS_SOCKETVAR_H
20551 #include <sys/socketvar.h>
20552 #endif
20553 #ifdef HAVE_NETINET_IN_H
20554 #include <netinet/in.h>
20555 #endif
20556 #ifdef HAVE_NETINET_TCP_H
20557 #include <netinet/tcp.h>
20558 #endif
20559 #ifdef HAVE_NETINET_TCP_VAR_H
20560 #include <netinet/tcp_var.h>
20561 #endif
20563 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes
20564 then :
20566 printf "%s\n" "#define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1" >>confdefs.h
20572 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
20573 #include <netinet/tcp_var.h>
20574 #endif
20576 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes
20577 then :
20579 printf "%s\n" "#define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1" >>confdefs.h
20585 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#include <sys/types.h>
20586 #ifdef HAVE_NETINET_IN_H
20587 #include <netinet/in.h>
20588 #endif
20589 #ifdef HAVE_NETINET_IP_VAR_H
20590 #include <netinet/ip_var.h>
20591 #endif
20592 #ifdef HAVE_NETINET_UDP_H
20593 #include <netinet/udp.h>
20594 #endif
20595 #ifdef HAVE_NETINET_UDP_VAR_H
20596 #include <netinet/udp_var.h>
20597 #endif
20599 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes
20600 then :
20602 printf "%s\n" "#define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1" >>confdefs.h
20608 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#include <sys/types.h>
20609 #ifdef HAVE_NET_IF_H
20610 # include <net/if.h>
20611 #endif
20613 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes
20614 then :
20616 printf "%s\n" "#define HAVE_STRUCT_IFREQ_IFR_HWADDR 1" >>confdefs.h
20622 ac_fn_c_check_member "$LINENO" "struct sysinfo" "totalram" "ac_cv_member_struct_sysinfo_totalram" "#ifdef HAVE_SYS_SYSINFO_H
20623 # include <sys/sysinfo.h>
20624 #endif
20626 if test "x$ac_cv_member_struct_sysinfo_totalram" = xyes
20627 then :
20629 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_TOTALRAM 1" >>confdefs.h
20633 ac_fn_c_check_member "$LINENO" "struct sysinfo" "mem_unit" "ac_cv_member_struct_sysinfo_mem_unit" "#ifdef HAVE_SYS_SYSINFO_H
20634 # include <sys/sysinfo.h>
20635 #endif
20637 if test "x$ac_cv_member_struct_sysinfo_mem_unit" = xyes
20638 then :
20640 printf "%s\n" "#define HAVE_STRUCT_SYSINFO_MEM_UNIT 1" >>confdefs.h
20646 LIBS="$ac_save_LIBS"
20648 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
20649 printf %s "checking for __builtin_popcount... " >&6; }
20650 if test ${ac_cv_have___builtin_popcount+y}
20651 then :
20652 printf %s "(cached) " >&6
20653 else $as_nop
20654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20655 /* end confdefs.h. */
20658 main (void)
20660 return __builtin_popcount(1)
20662 return 0;
20664 _ACEOF
20665 if ac_fn_c_try_link "$LINENO"
20666 then :
20667 ac_cv_have___builtin_popcount="yes"
20668 else $as_nop
20669 ac_cv_have___builtin_popcount="no"
20671 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20672 conftest$ac_exeext conftest.$ac_ext
20674 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
20675 printf "%s\n" "$ac_cv_have___builtin_popcount" >&6; }
20676 if test "$ac_cv_have___builtin_popcount" = "yes"
20677 then
20679 printf "%s\n" "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
20683 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
20684 printf %s "checking for __clear_cache... " >&6; }
20685 if test ${ac_cv_have___clear_cache+y}
20686 then :
20687 printf %s "(cached) " >&6
20688 else $as_nop
20689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20690 /* end confdefs.h. */
20693 main (void)
20695 __clear_cache((void*)0, (void*)0); return 0;
20697 return 0;
20699 _ACEOF
20700 if ac_fn_c_try_link "$LINENO"
20701 then :
20702 ac_cv_have___clear_cache="yes"
20703 else $as_nop
20704 ac_cv_have___clear_cache="no"
20706 rm -f core conftest.err conftest.$ac_objext conftest.beam \
20707 conftest$ac_exeext conftest.$ac_ext
20709 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
20710 printf "%s\n" "$ac_cv_have___clear_cache" >&6; }
20711 if test "$ac_cv_have___clear_cache" = "yes"
20712 then
20714 printf "%s\n" "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
20719 case $host_cpu in
20720 *i[3456789]86*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
20721 printf %s "checking whether we need to define __i386__... " >&6; }
20722 if test ${ac_cv_cpp_def___i386__+y}
20723 then :
20724 printf %s "(cached) " >&6
20725 else $as_nop
20726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20727 /* end confdefs.h. */
20728 #ifndef __i386__
20730 #endif
20731 _ACEOF
20732 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20733 $EGREP "yes" >/dev/null 2>&1
20734 then :
20735 ac_cv_cpp_def___i386__=yes
20736 else $as_nop
20737 ac_cv_cpp_def___i386__=no
20739 rm -rf conftest*
20742 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
20743 printf "%s\n" "$ac_cv_cpp_def___i386__" >&6; }
20744 if test "x$ac_cv_cpp_def___i386__" = xyes
20745 then :
20746 CFLAGS="$CFLAGS -D__i386__"
20747 LINTFLAGS="$LINTFLAGS -D__i386__"
20748 fi ;;
20749 *x86_64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
20750 printf %s "checking whether we need to define __x86_64__... " >&6; }
20751 if test ${ac_cv_cpp_def___x86_64__+y}
20752 then :
20753 printf %s "(cached) " >&6
20754 else $as_nop
20755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20756 /* end confdefs.h. */
20757 #ifndef __x86_64__
20759 #endif
20760 _ACEOF
20761 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20762 $EGREP "yes" >/dev/null 2>&1
20763 then :
20764 ac_cv_cpp_def___x86_64__=yes
20765 else $as_nop
20766 ac_cv_cpp_def___x86_64__=no
20768 rm -rf conftest*
20771 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
20772 printf "%s\n" "$ac_cv_cpp_def___x86_64__" >&6; }
20773 if test "x$ac_cv_cpp_def___x86_64__" = xyes
20774 then :
20775 CFLAGS="$CFLAGS -D__x86_64__"
20776 LINTFLAGS="$LINTFLAGS -D__x86_64__"
20777 fi ;;
20778 *sparc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
20779 printf %s "checking whether we need to define __sparc64__... " >&6; }
20780 if test ${ac_cv_cpp_def___sparc64__+y}
20781 then :
20782 printf %s "(cached) " >&6
20783 else $as_nop
20784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20785 /* end confdefs.h. */
20786 #ifndef __sparc64__
20788 #endif
20789 _ACEOF
20790 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20791 $EGREP "yes" >/dev/null 2>&1
20792 then :
20793 ac_cv_cpp_def___sparc64__=yes
20794 else $as_nop
20795 ac_cv_cpp_def___sparc64__=no
20797 rm -rf conftest*
20800 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
20801 printf "%s\n" "$ac_cv_cpp_def___sparc64__" >&6; }
20802 if test "x$ac_cv_cpp_def___sparc64__" = xyes
20803 then :
20804 CFLAGS="$CFLAGS -D__sparc64__"
20805 LINTFLAGS="$LINTFLAGS -D__sparc64__"
20806 fi ;;
20807 *sparc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
20808 printf %s "checking whether we need to define __sparc__... " >&6; }
20809 if test ${ac_cv_cpp_def___sparc__+y}
20810 then :
20811 printf %s "(cached) " >&6
20812 else $as_nop
20813 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20814 /* end confdefs.h. */
20815 #ifndef __sparc__
20817 #endif
20818 _ACEOF
20819 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20820 $EGREP "yes" >/dev/null 2>&1
20821 then :
20822 ac_cv_cpp_def___sparc__=yes
20823 else $as_nop
20824 ac_cv_cpp_def___sparc__=no
20826 rm -rf conftest*
20829 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
20830 printf "%s\n" "$ac_cv_cpp_def___sparc__" >&6; }
20831 if test "x$ac_cv_cpp_def___sparc__" = xyes
20832 then :
20833 CFLAGS="$CFLAGS -D__sparc__"
20834 LINTFLAGS="$LINTFLAGS -D__sparc__"
20835 fi ;;
20836 *powerpc64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
20837 printf %s "checking whether we need to define __powerpc64__... " >&6; }
20838 if test ${ac_cv_cpp_def___powerpc64__+y}
20839 then :
20840 printf %s "(cached) " >&6
20841 else $as_nop
20842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20843 /* end confdefs.h. */
20844 #ifndef __powerpc64__
20846 #endif
20847 _ACEOF
20848 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20849 $EGREP "yes" >/dev/null 2>&1
20850 then :
20851 ac_cv_cpp_def___powerpc64__=yes
20852 else $as_nop
20853 ac_cv_cpp_def___powerpc64__=no
20855 rm -rf conftest*
20858 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
20859 printf "%s\n" "$ac_cv_cpp_def___powerpc64__" >&6; }
20860 if test "x$ac_cv_cpp_def___powerpc64__" = xyes
20861 then :
20862 CFLAGS="$CFLAGS -D__powerpc64__"
20863 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
20864 fi ;;
20865 *powerpc*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
20866 printf %s "checking whether we need to define __powerpc__... " >&6; }
20867 if test ${ac_cv_cpp_def___powerpc__+y}
20868 then :
20869 printf %s "(cached) " >&6
20870 else $as_nop
20871 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20872 /* end confdefs.h. */
20873 #ifndef __powerpc__
20875 #endif
20876 _ACEOF
20877 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20878 $EGREP "yes" >/dev/null 2>&1
20879 then :
20880 ac_cv_cpp_def___powerpc__=yes
20881 else $as_nop
20882 ac_cv_cpp_def___powerpc__=no
20884 rm -rf conftest*
20887 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
20888 printf "%s\n" "$ac_cv_cpp_def___powerpc__" >&6; }
20889 if test "x$ac_cv_cpp_def___powerpc__" = xyes
20890 then :
20891 CFLAGS="$CFLAGS -D__powerpc__"
20892 LINTFLAGS="$LINTFLAGS -D__powerpc__"
20893 fi ;;
20894 *aarch64*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
20895 printf %s "checking whether we need to define __aarch64__... " >&6; }
20896 if test ${ac_cv_cpp_def___aarch64__+y}
20897 then :
20898 printf %s "(cached) " >&6
20899 else $as_nop
20900 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20901 /* end confdefs.h. */
20902 #ifndef __aarch64__
20904 #endif
20905 _ACEOF
20906 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20907 $EGREP "yes" >/dev/null 2>&1
20908 then :
20909 ac_cv_cpp_def___aarch64__=yes
20910 else $as_nop
20911 ac_cv_cpp_def___aarch64__=no
20913 rm -rf conftest*
20916 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
20917 printf "%s\n" "$ac_cv_cpp_def___aarch64__" >&6; }
20918 if test "x$ac_cv_cpp_def___aarch64__" = xyes
20919 then :
20920 CFLAGS="$CFLAGS -D__aarch64__"
20921 LINTFLAGS="$LINTFLAGS -D__aarch64__"
20922 fi ;;
20923 *arm*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
20924 printf %s "checking whether we need to define __arm__... " >&6; }
20925 if test ${ac_cv_cpp_def___arm__+y}
20926 then :
20927 printf %s "(cached) " >&6
20928 else $as_nop
20929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20930 /* end confdefs.h. */
20931 #ifndef __arm__
20933 #endif
20934 _ACEOF
20935 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20936 $EGREP "yes" >/dev/null 2>&1
20937 then :
20938 ac_cv_cpp_def___arm__=yes
20939 else $as_nop
20940 ac_cv_cpp_def___arm__=no
20942 rm -rf conftest*
20945 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
20946 printf "%s\n" "$ac_cv_cpp_def___arm__" >&6; }
20947 if test "x$ac_cv_cpp_def___arm__" = xyes
20948 then :
20949 CFLAGS="$CFLAGS -D__arm__"
20950 LINTFLAGS="$LINTFLAGS -D__arm__"
20951 fi ;;
20952 esac
20954 case $host_vendor in
20955 *sun*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
20956 printf %s "checking whether we need to define __sun__... " >&6; }
20957 if test ${ac_cv_cpp_def___sun__+y}
20958 then :
20959 printf %s "(cached) " >&6
20960 else $as_nop
20961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
20962 /* end confdefs.h. */
20963 #ifndef __sun__
20965 #endif
20966 _ACEOF
20967 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
20968 $EGREP "yes" >/dev/null 2>&1
20969 then :
20970 ac_cv_cpp_def___sun__=yes
20971 else $as_nop
20972 ac_cv_cpp_def___sun__=no
20974 rm -rf conftest*
20977 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
20978 printf "%s\n" "$ac_cv_cpp_def___sun__" >&6; }
20979 if test "x$ac_cv_cpp_def___sun__" = xyes
20980 then :
20981 CFLAGS="$CFLAGS -D__sun__"
20982 LINTFLAGS="$LINTFLAGS -D__sun__"
20983 fi ;;
20984 esac
20990 ac_config_commands="$ac_config_commands include/stamp-h"
20992 printf %s "creating Makefile rules..." >&6
20994 makedep_flags=""
20995 test "x$enable_silent_rules" = xyes && makedep_flags="$makedep_flags -S"
20997 wine_srcdir=
20998 test "$srcdir" = . || wine_srcdir="$srcdir/"
21000 ac_config_links="$ac_config_links wine:tools/winewrapper"
21001 wine_fn_config_symlink wine
21002 if test "$HOST_ARCH" = x86_64 -o -n "$with_wine64"; then
21003 ac_config_links="$ac_config_links wine64:tools/winewrapper"
21004 wine_fn_config_symlink wine64
21007 wine_fn_config_makefile dlls/acledit enable_acledit
21008 wine_fn_config_makefile dlls/aclui enable_aclui
21009 wine_fn_config_makefile dlls/activeds.tlb enable_activeds_tlb
21010 wine_fn_config_makefile dlls/activeds enable_activeds
21011 wine_fn_config_makefile dlls/activeds/tests enable_tests
21012 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
21013 wine_fn_config_makefile dlls/adsldp enable_adsldp
21014 wine_fn_config_makefile dlls/adsldp/tests enable_tests
21015 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
21016 wine_fn_config_makefile dlls/advapi32 enable_advapi32
21017 wine_fn_config_makefile dlls/advapi32/tests enable_tests
21018 wine_fn_config_makefile dlls/advpack enable_advpack
21019 wine_fn_config_makefile dlls/advpack/tests enable_tests
21020 wine_fn_config_makefile dlls/amsi enable_amsi
21021 wine_fn_config_makefile dlls/amstream enable_amstream
21022 wine_fn_config_makefile dlls/amstream/tests enable_tests
21023 wine_fn_config_makefile dlls/apisetschema enable_apisetschema
21024 wine_fn_config_makefile dlls/apphelp enable_apphelp
21025 wine_fn_config_makefile dlls/apphelp/tests enable_tests
21026 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
21027 wine_fn_config_makefile dlls/atl enable_atl
21028 wine_fn_config_makefile dlls/atl/tests enable_tests
21029 wine_fn_config_makefile dlls/atl100 enable_atl100
21030 wine_fn_config_makefile dlls/atl100/tests enable_tests
21031 wine_fn_config_makefile dlls/atl110 enable_atl110
21032 wine_fn_config_makefile dlls/atl110/tests enable_tests
21033 wine_fn_config_makefile dlls/atl80 enable_atl80
21034 wine_fn_config_makefile dlls/atl80/tests enable_tests
21035 wine_fn_config_makefile dlls/atl90 enable_atl90
21036 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
21037 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
21038 wine_fn_config_makefile dlls/atmlib enable_atmlib
21039 wine_fn_config_makefile dlls/authz enable_authz
21040 wine_fn_config_makefile dlls/avicap32 enable_avicap32
21041 wine_fn_config_makefile dlls/avifil32 enable_avifil32
21042 wine_fn_config_makefile dlls/avifil32/tests enable_tests
21043 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
21044 wine_fn_config_makefile dlls/avrt enable_avrt
21045 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
21046 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
21047 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
21048 wine_fn_config_makefile dlls/browseui enable_browseui
21049 wine_fn_config_makefile dlls/browseui/tests enable_tests
21050 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
21051 wine_fn_config_makefile dlls/cabinet enable_cabinet
21052 wine_fn_config_makefile dlls/cabinet/tests enable_tests
21053 wine_fn_config_makefile dlls/capi2032 enable_capi2032
21054 wine_fn_config_makefile dlls/cards enable_cards
21055 wine_fn_config_makefile dlls/cdosys enable_cdosys
21056 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
21057 wine_fn_config_makefile dlls/clusapi enable_clusapi
21058 wine_fn_config_makefile dlls/cng.sys enable_cng_sys
21059 wine_fn_config_makefile dlls/combase enable_combase
21060 wine_fn_config_makefile dlls/combase/tests enable_tests
21061 wine_fn_config_makefile dlls/comcat enable_comcat
21062 wine_fn_config_makefile dlls/comcat/tests enable_tests
21063 wine_fn_config_makefile dlls/comctl32 enable_comctl32
21064 wine_fn_config_makefile dlls/comctl32/tests enable_tests
21065 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
21066 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
21067 wine_fn_config_makefile dlls/comm.drv16 enable_win16
21068 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
21069 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
21070 wine_fn_config_makefile dlls/compstui enable_compstui
21071 wine_fn_config_makefile dlls/compstui/tests enable_tests
21072 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
21073 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
21074 wine_fn_config_makefile dlls/concrt140 enable_concrt140
21075 wine_fn_config_makefile dlls/concrt140/tests enable_tests
21076 wine_fn_config_makefile dlls/connect enable_connect
21077 wine_fn_config_makefile dlls/credui enable_credui
21078 wine_fn_config_makefile dlls/credui/tests enable_tests
21079 wine_fn_config_makefile dlls/crtdll enable_crtdll
21080 wine_fn_config_makefile dlls/crypt32 enable_crypt32
21081 wine_fn_config_makefile dlls/crypt32/tests enable_tests
21082 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
21083 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
21084 wine_fn_config_makefile dlls/cryptext enable_cryptext
21085 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
21086 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
21087 wine_fn_config_makefile dlls/cryptowinrt enable_cryptowinrt
21088 wine_fn_config_makefile dlls/cryptsp enable_cryptsp
21089 wine_fn_config_makefile dlls/cryptui enable_cryptui
21090 wine_fn_config_makefile dlls/cryptui/tests enable_tests
21091 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
21092 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
21093 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
21094 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
21095 wine_fn_config_makefile dlls/d2d1 enable_d2d1
21096 wine_fn_config_makefile dlls/d2d1/tests enable_tests
21097 wine_fn_config_makefile dlls/d3d10 enable_d3d10
21098 wine_fn_config_makefile dlls/d3d10/tests enable_tests
21099 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
21100 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
21101 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
21102 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
21103 wine_fn_config_makefile dlls/d3d11 enable_d3d11
21104 wine_fn_config_makefile dlls/d3d11/tests enable_tests
21105 wine_fn_config_makefile dlls/d3d12 enable_d3d12
21106 wine_fn_config_makefile dlls/d3d12/tests enable_tests
21107 wine_fn_config_makefile dlls/d3d8 enable_d3d8
21108 wine_fn_config_makefile dlls/d3d8/tests enable_tests
21109 wine_fn_config_makefile dlls/d3d8thk enable_d3d8thk
21110 wine_fn_config_makefile dlls/d3d9 enable_d3d9
21111 wine_fn_config_makefile dlls/d3d9/tests enable_tests
21112 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
21113 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
21114 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
21115 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
21116 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
21117 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
21118 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
21119 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
21120 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
21121 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
21122 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
21123 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
21124 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
21125 wine_fn_config_makefile dlls/d3dcompiler_46/tests enable_tests
21126 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
21127 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
21128 wine_fn_config_makefile dlls/d3dim enable_d3dim
21129 wine_fn_config_makefile dlls/d3dim700 enable_d3dim700
21130 wine_fn_config_makefile dlls/d3drm enable_d3drm
21131 wine_fn_config_makefile dlls/d3drm/tests enable_tests
21132 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
21133 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
21134 wine_fn_config_makefile dlls/d3dx10_34/tests enable_tests
21135 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
21136 wine_fn_config_makefile dlls/d3dx10_35/tests enable_tests
21137 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
21138 wine_fn_config_makefile dlls/d3dx10_36/tests enable_tests
21139 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
21140 wine_fn_config_makefile dlls/d3dx10_37/tests enable_tests
21141 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
21142 wine_fn_config_makefile dlls/d3dx10_38/tests enable_tests
21143 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
21144 wine_fn_config_makefile dlls/d3dx10_39/tests enable_tests
21145 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
21146 wine_fn_config_makefile dlls/d3dx10_40/tests enable_tests
21147 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
21148 wine_fn_config_makefile dlls/d3dx10_41/tests enable_tests
21149 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
21150 wine_fn_config_makefile dlls/d3dx10_42/tests enable_tests
21151 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
21152 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
21153 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
21154 wine_fn_config_makefile dlls/d3dx11_42/tests enable_tests
21155 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
21156 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
21157 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
21158 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
21159 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
21160 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
21161 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
21162 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
21163 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
21164 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
21165 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
21166 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
21167 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
21168 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
21169 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
21170 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
21171 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
21172 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
21173 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
21174 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
21175 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
21176 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
21177 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
21178 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
21179 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
21180 wine_fn_config_makefile dlls/davclnt enable_davclnt
21181 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
21182 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
21183 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
21184 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
21185 wine_fn_config_makefile dlls/dciman32 enable_dciman32
21186 wine_fn_config_makefile dlls/dcomp enable_dcomp
21187 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
21188 wine_fn_config_makefile dlls/ddraw enable_ddraw
21189 wine_fn_config_makefile dlls/ddraw/tests enable_tests
21190 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
21191 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
21192 wine_fn_config_makefile dlls/devenum enable_devenum
21193 wine_fn_config_makefile dlls/devenum/tests enable_tests
21194 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
21195 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
21196 wine_fn_config_makefile dlls/dhcpcsvc6 enable_dhcpcsvc6
21197 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
21198 wine_fn_config_makefile dlls/diasymreader enable_diasymreader
21199 wine_fn_config_makefile dlls/difxapi enable_difxapi
21200 wine_fn_config_makefile dlls/dinput enable_dinput
21201 wine_fn_config_makefile dlls/dinput/tests enable_tests
21202 wine_fn_config_makefile dlls/dinput8 enable_dinput8
21203 wine_fn_config_makefile dlls/directmanipulation enable_directmanipulation
21204 wine_fn_config_makefile dlls/directmanipulation/tests enable_tests
21205 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
21206 wine_fn_config_makefile dlls/dispex enable_dispex
21207 wine_fn_config_makefile dlls/dispex/tests enable_tests
21208 wine_fn_config_makefile dlls/display.drv16 enable_win16
21209 wine_fn_config_makefile dlls/dmband enable_dmband
21210 wine_fn_config_makefile dlls/dmband/tests enable_tests
21211 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
21212 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
21213 wine_fn_config_makefile dlls/dmime enable_dmime
21214 wine_fn_config_makefile dlls/dmime/tests enable_tests
21215 wine_fn_config_makefile dlls/dmloader enable_dmloader
21216 wine_fn_config_makefile dlls/dmloader/tests enable_tests
21217 wine_fn_config_makefile dlls/dmscript enable_dmscript
21218 wine_fn_config_makefile dlls/dmscript/tests enable_tests
21219 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
21220 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
21221 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
21222 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
21223 wine_fn_config_makefile dlls/dmusic enable_dmusic
21224 wine_fn_config_makefile dlls/dmusic/tests enable_tests
21225 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
21226 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
21227 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
21228 wine_fn_config_makefile dlls/dplay enable_dplay
21229 wine_fn_config_makefile dlls/dplayx enable_dplayx
21230 wine_fn_config_makefile dlls/dplayx/tests enable_tests
21231 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
21232 wine_fn_config_makefile dlls/dpnet enable_dpnet
21233 wine_fn_config_makefile dlls/dpnet/tests enable_tests
21234 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
21235 wine_fn_config_makefile dlls/dpnhupnp enable_dpnhupnp
21236 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
21237 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
21238 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
21239 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
21240 wine_fn_config_makefile dlls/drmclien enable_drmclien
21241 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
21242 wine_fn_config_makefile dlls/dsdmo/tests enable_tests
21243 wine_fn_config_makefile dlls/dsound enable_dsound
21244 wine_fn_config_makefile dlls/dsound/tests enable_tests
21245 wine_fn_config_makefile dlls/dsquery enable_dsquery
21246 wine_fn_config_makefile dlls/dssenh enable_dssenh
21247 wine_fn_config_makefile dlls/dssenh/tests enable_tests
21248 wine_fn_config_makefile dlls/dsuiext enable_dsuiext
21249 wine_fn_config_makefile dlls/dswave enable_dswave
21250 wine_fn_config_makefile dlls/dswave/tests enable_tests
21251 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
21252 wine_fn_config_makefile dlls/dwmapi/tests enable_tests
21253 wine_fn_config_makefile dlls/dwrite enable_dwrite
21254 wine_fn_config_makefile dlls/dwrite/tests enable_tests
21255 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
21256 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
21257 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
21258 wine_fn_config_makefile dlls/dxgi enable_dxgi
21259 wine_fn_config_makefile dlls/dxgi/tests enable_tests
21260 wine_fn_config_makefile dlls/dxtrans enable_dxtrans
21261 wine_fn_config_makefile dlls/dxva2 enable_dxva2
21262 wine_fn_config_makefile dlls/dxva2/tests enable_tests
21263 wine_fn_config_makefile dlls/esent enable_esent
21264 wine_fn_config_makefile dlls/evr enable_evr
21265 wine_fn_config_makefile dlls/evr/tests enable_tests
21266 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
21267 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
21268 wine_fn_config_makefile dlls/faultrep enable_faultrep
21269 wine_fn_config_makefile dlls/faultrep/tests enable_tests
21270 wine_fn_config_makefile dlls/feclient enable_feclient
21271 wine_fn_config_makefile dlls/fltlib enable_fltlib
21272 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
21273 wine_fn_config_makefile dlls/fntcache enable_fntcache
21274 wine_fn_config_makefile dlls/fontsub enable_fontsub
21275 wine_fn_config_makefile dlls/fusion enable_fusion
21276 wine_fn_config_makefile dlls/fusion/tests enable_tests
21277 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
21278 wine_fn_config_makefile dlls/gameux enable_gameux
21279 wine_fn_config_makefile dlls/gameux/tests enable_tests
21280 wine_fn_config_makefile dlls/gamingtcui enable_gamingtcui
21281 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
21282 wine_fn_config_makefile dlls/gdi32 enable_gdi32
21283 wine_fn_config_makefile dlls/gdi32/tests enable_tests
21284 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
21285 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
21286 wine_fn_config_makefile dlls/glu32 enable_glu32
21287 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
21288 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
21289 wine_fn_config_makefile dlls/hal enable_hal
21290 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
21291 wine_fn_config_makefile dlls/hid enable_hid
21292 wine_fn_config_makefile dlls/hid/tests enable_tests
21293 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
21294 wine_fn_config_makefile dlls/hidparse.sys enable_hidparse_sys
21295 wine_fn_config_makefile dlls/hlink enable_hlink
21296 wine_fn_config_makefile dlls/hlink/tests enable_tests
21297 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
21298 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
21299 wine_fn_config_makefile dlls/http.sys enable_http_sys
21300 wine_fn_config_makefile dlls/httpapi enable_httpapi
21301 wine_fn_config_makefile dlls/httpapi/tests enable_tests
21302 wine_fn_config_makefile dlls/ia2comproxy enable_ia2comproxy
21303 wine_fn_config_makefile dlls/iccvid enable_iccvid
21304 wine_fn_config_makefile dlls/icmp enable_icmp
21305 wine_fn_config_makefile dlls/ieframe enable_ieframe
21306 wine_fn_config_makefile dlls/ieframe/tests enable_tests
21307 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
21308 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
21309 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
21310 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
21311 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
21312 wine_fn_config_makefile dlls/imm.dll16 enable_win16
21313 wine_fn_config_makefile dlls/imm32 enable_imm32
21314 wine_fn_config_makefile dlls/imm32/tests enable_tests
21315 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
21316 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
21317 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
21318 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
21319 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
21320 wine_fn_config_makefile dlls/infosoft enable_infosoft
21321 wine_fn_config_makefile dlls/infosoft/tests enable_tests
21322 wine_fn_config_makefile dlls/initpki enable_initpki
21323 wine_fn_config_makefile dlls/inkobj enable_inkobj
21324 wine_fn_config_makefile dlls/inseng enable_inseng
21325 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
21326 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
21327 wine_fn_config_makefile dlls/iprop enable_iprop
21328 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
21329 wine_fn_config_makefile dlls/itircl enable_itircl
21330 wine_fn_config_makefile dlls/itss enable_itss
21331 wine_fn_config_makefile dlls/itss/tests enable_tests
21332 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
21333 wine_fn_config_makefile dlls/jscript enable_jscript
21334 wine_fn_config_makefile dlls/jscript/tests enable_tests
21335 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
21336 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
21337 wine_fn_config_makefile dlls/kerberos enable_kerberos
21338 wine_fn_config_makefile dlls/kernel32 enable_kernel32
21339 wine_fn_config_makefile dlls/kernel32/tests enable_tests
21340 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
21341 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
21342 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
21343 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
21344 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
21345 wine_fn_config_makefile dlls/ksproxy.ax enable_ksproxy_ax
21346 wine_fn_config_makefile dlls/ksuser enable_ksuser
21347 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
21348 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
21349 wine_fn_config_makefile dlls/light.msstyles enable_light_msstyles
21350 wine_fn_config_makefile dlls/loadperf enable_loadperf
21351 wine_fn_config_makefile dlls/localspl enable_localspl
21352 wine_fn_config_makefile dlls/localspl/tests enable_tests
21353 wine_fn_config_makefile dlls/localui enable_localui
21354 wine_fn_config_makefile dlls/localui/tests enable_tests
21355 wine_fn_config_makefile dlls/lz32 enable_lz32
21356 wine_fn_config_makefile dlls/lz32/tests enable_tests
21357 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
21358 wine_fn_config_makefile dlls/mapi32 enable_mapi32
21359 wine_fn_config_makefile dlls/mapi32/tests enable_tests
21360 wine_fn_config_makefile dlls/mapistub enable_mapistub
21361 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
21362 wine_fn_config_makefile dlls/mcicda enable_mcicda
21363 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
21364 wine_fn_config_makefile dlls/mciseq enable_mciseq
21365 wine_fn_config_makefile dlls/mciwave enable_mciwave
21366 wine_fn_config_makefile dlls/mf enable_mf
21367 wine_fn_config_makefile dlls/mf/tests enable_tests
21368 wine_fn_config_makefile dlls/mf3216 enable_mf3216
21369 wine_fn_config_makefile dlls/mferror enable_mferror
21370 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
21371 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
21372 wine_fn_config_makefile dlls/mfplat enable_mfplat
21373 wine_fn_config_makefile dlls/mfplat/tests enable_tests
21374 wine_fn_config_makefile dlls/mfplay enable_mfplay
21375 wine_fn_config_makefile dlls/mfplay/tests enable_tests
21376 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
21377 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
21378 wine_fn_config_makefile dlls/mfsrcsnk enable_mfsrcsnk
21379 wine_fn_config_makefile dlls/mfsrcsnk/tests enable_tests
21380 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
21381 wine_fn_config_makefile dlls/midimap enable_midimap
21382 wine_fn_config_makefile dlls/mlang enable_mlang
21383 wine_fn_config_makefile dlls/mlang/tests enable_tests
21384 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
21385 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
21386 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
21387 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
21388 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
21389 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
21390 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
21391 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
21392 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
21393 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
21394 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
21395 wine_fn_config_makefile dlls/mpr enable_mpr
21396 wine_fn_config_makefile dlls/mpr/tests enable_tests
21397 wine_fn_config_makefile dlls/mprapi enable_mprapi
21398 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
21399 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
21400 wine_fn_config_makefile dlls/msacm32 enable_msacm32
21401 wine_fn_config_makefile dlls/msacm32/tests enable_tests
21402 wine_fn_config_makefile dlls/msado15 enable_msado15
21403 wine_fn_config_makefile dlls/msado15/tests enable_tests
21404 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
21405 wine_fn_config_makefile dlls/msasn1 enable_msasn1
21406 wine_fn_config_makefile dlls/msasn1/tests enable_tests
21407 wine_fn_config_makefile dlls/mscat32 enable_mscat32
21408 wine_fn_config_makefile dlls/mscms enable_mscms
21409 wine_fn_config_makefile dlls/mscms/tests enable_tests
21410 wine_fn_config_makefile dlls/mscoree enable_mscoree
21411 wine_fn_config_makefile dlls/mscoree/tests enable_tests
21412 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
21413 wine_fn_config_makefile dlls/msctf enable_msctf
21414 wine_fn_config_makefile dlls/msctf/tests enable_tests
21415 wine_fn_config_makefile dlls/msctfmonitor enable_msctfmonitor
21416 wine_fn_config_makefile dlls/msctfp enable_msctfp
21417 wine_fn_config_makefile dlls/msdaps enable_msdaps
21418 wine_fn_config_makefile dlls/msdasql enable_msdasql
21419 wine_fn_config_makefile dlls/msdasql/tests enable_tests
21420 wine_fn_config_makefile dlls/msdelta enable_msdelta
21421 wine_fn_config_makefile dlls/msdmo enable_msdmo
21422 wine_fn_config_makefile dlls/msdmo/tests enable_tests
21423 wine_fn_config_makefile dlls/msdrm enable_msdrm
21424 wine_fn_config_makefile dlls/msftedit enable_msftedit
21425 wine_fn_config_makefile dlls/msftedit/tests enable_tests
21426 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
21427 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
21428 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
21429 wine_fn_config_makefile dlls/mshtml enable_mshtml
21430 wine_fn_config_makefile dlls/mshtml/tests enable_tests
21431 wine_fn_config_makefile dlls/msi enable_msi
21432 wine_fn_config_makefile dlls/msi/tests enable_tests
21433 wine_fn_config_makefile dlls/msident enable_msident
21434 wine_fn_config_makefile dlls/msimg32 enable_msimg32
21435 wine_fn_config_makefile dlls/msimsg enable_msimsg
21436 wine_fn_config_makefile dlls/msimtf enable_msimtf
21437 wine_fn_config_makefile dlls/msisip enable_msisip
21438 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
21439 wine_fn_config_makefile dlls/msls31 enable_msls31
21440 wine_fn_config_makefile dlls/msnet32 enable_msnet32
21441 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
21442 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
21443 wine_fn_config_makefile dlls/msports enable_msports
21444 wine_fn_config_makefile dlls/msrle32 enable_msrle32
21445 wine_fn_config_makefile dlls/msrle32/tests enable_tests
21446 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
21447 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
21448 wine_fn_config_makefile dlls/mssign32 enable_mssign32
21449 wine_fn_config_makefile dlls/mssip32 enable_mssip32
21450 wine_fn_config_makefile dlls/mstask enable_mstask
21451 wine_fn_config_makefile dlls/mstask/tests enable_tests
21452 wine_fn_config_makefile dlls/msv1_0 enable_msv1_0
21453 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
21454 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
21455 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
21456 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
21457 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
21458 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
21459 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
21460 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
21461 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
21462 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
21463 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
21464 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
21465 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
21466 wine_fn_config_makefile dlls/msvcp140_1 enable_msvcp140_1
21467 wine_fn_config_makefile dlls/msvcp140_1/tests enable_tests
21468 wine_fn_config_makefile dlls/msvcp140_2 enable_msvcp140_2
21469 wine_fn_config_makefile dlls/msvcp140_atomic_wait enable_msvcp140_atomic_wait
21470 wine_fn_config_makefile dlls/msvcp140_atomic_wait/tests enable_tests
21471 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
21472 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
21473 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
21474 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
21475 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
21476 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
21477 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
21478 wine_fn_config_makefile dlls/msvcp_win enable_msvcp_win
21479 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
21480 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
21481 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
21482 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
21483 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
21484 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
21485 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
21486 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
21487 wine_fn_config_makefile dlls/msvcr70/tests enable_tests
21488 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
21489 wine_fn_config_makefile dlls/msvcr71/tests enable_tests
21490 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
21491 wine_fn_config_makefile dlls/msvcr80/tests enable_tests
21492 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
21493 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
21494 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
21495 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
21496 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
21497 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
21498 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
21499 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
21500 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
21501 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
21502 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
21503 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
21504 wine_fn_config_makefile dlls/mswsock enable_mswsock
21505 wine_fn_config_makefile dlls/msxml enable_msxml
21506 wine_fn_config_makefile dlls/msxml2 enable_msxml2
21507 wine_fn_config_makefile dlls/msxml3 enable_msxml3
21508 wine_fn_config_makefile dlls/msxml3/tests enable_tests
21509 wine_fn_config_makefile dlls/msxml4 enable_msxml4
21510 wine_fn_config_makefile dlls/msxml6 enable_msxml6
21511 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
21512 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
21513 wine_fn_config_makefile dlls/ncrypt/tests enable_tests
21514 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
21515 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
21516 wine_fn_config_makefile dlls/ndis.sys/tests enable_tests
21517 wine_fn_config_makefile dlls/netapi32 enable_netapi32
21518 wine_fn_config_makefile dlls/netapi32/tests enable_tests
21519 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
21520 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
21521 wine_fn_config_makefile dlls/netio.sys enable_netio_sys
21522 wine_fn_config_makefile dlls/netprofm enable_netprofm
21523 wine_fn_config_makefile dlls/netprofm/tests enable_tests
21524 wine_fn_config_makefile dlls/netutils enable_netutils
21525 wine_fn_config_makefile dlls/newdev enable_newdev
21526 wine_fn_config_makefile dlls/ninput enable_ninput
21527 wine_fn_config_makefile dlls/ninput/tests enable_tests
21528 wine_fn_config_makefile dlls/normaliz enable_normaliz
21529 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
21530 wine_fn_config_makefile dlls/npptools enable_npptools
21531 wine_fn_config_makefile dlls/nsi enable_nsi
21532 wine_fn_config_makefile dlls/nsi/tests enable_tests
21533 wine_fn_config_makefile dlls/nsiproxy.sys enable_nsiproxy_sys
21534 wine_fn_config_makefile dlls/ntdll enable_ntdll
21535 wine_fn_config_makefile dlls/ntdll/tests enable_tests
21536 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
21537 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
21538 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
21539 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
21540 wine_fn_config_makefile dlls/ntprint enable_ntprint
21541 wine_fn_config_makefile dlls/ntprint/tests enable_tests
21542 wine_fn_config_makefile dlls/objsel enable_objsel
21543 wine_fn_config_makefile dlls/odbc32 enable_odbc32
21544 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
21545 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
21546 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
21547 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
21548 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
21549 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
21550 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
21551 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
21552 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
21553 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
21554 wine_fn_config_makefile dlls/ole32 enable_ole32
21555 wine_fn_config_makefile dlls/ole32/tests enable_tests
21556 wine_fn_config_makefile dlls/oleacc enable_oleacc
21557 wine_fn_config_makefile dlls/oleacc/tests enable_tests
21558 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
21559 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
21560 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
21561 wine_fn_config_makefile dlls/olecli32 enable_olecli32
21562 wine_fn_config_makefile dlls/oledb32 enable_oledb32
21563 wine_fn_config_makefile dlls/oledb32/tests enable_tests
21564 wine_fn_config_makefile dlls/oledlg enable_oledlg
21565 wine_fn_config_makefile dlls/oledlg/tests enable_tests
21566 wine_fn_config_makefile dlls/olepro32 enable_olepro32
21567 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
21568 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
21569 wine_fn_config_makefile dlls/olethk32 enable_olethk32
21570 wine_fn_config_makefile dlls/opcservices enable_opcservices
21571 wine_fn_config_makefile dlls/opcservices/tests enable_tests
21572 wine_fn_config_makefile dlls/opencl enable_opencl
21573 wine_fn_config_makefile dlls/opengl32 enable_opengl32
21574 wine_fn_config_makefile dlls/opengl32/tests enable_tests
21575 wine_fn_config_makefile dlls/packager enable_packager
21576 wine_fn_config_makefile dlls/packager/tests enable_tests
21577 wine_fn_config_makefile dlls/pdh enable_pdh
21578 wine_fn_config_makefile dlls/pdh/tests enable_tests
21579 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
21580 wine_fn_config_makefile dlls/pidgen enable_pidgen
21581 wine_fn_config_makefile dlls/powrprof enable_powrprof
21582 wine_fn_config_makefile dlls/printui enable_printui
21583 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
21584 wine_fn_config_makefile dlls/prntvpt/tests enable_tests
21585 wine_fn_config_makefile dlls/propsys enable_propsys
21586 wine_fn_config_makefile dlls/propsys/tests enable_tests
21587 wine_fn_config_makefile dlls/psapi enable_psapi
21588 wine_fn_config_makefile dlls/psapi/tests enable_tests
21589 wine_fn_config_makefile dlls/pstorec enable_pstorec
21590 wine_fn_config_makefile dlls/pstorec/tests enable_tests
21591 wine_fn_config_makefile dlls/pwrshplugin enable_pwrshplugin
21592 wine_fn_config_makefile dlls/qasf enable_qasf
21593 wine_fn_config_makefile dlls/qasf/tests enable_tests
21594 wine_fn_config_makefile dlls/qcap enable_qcap
21595 wine_fn_config_makefile dlls/qcap/tests enable_tests
21596 wine_fn_config_makefile dlls/qdvd enable_qdvd
21597 wine_fn_config_makefile dlls/qdvd/tests enable_tests
21598 wine_fn_config_makefile dlls/qedit enable_qedit
21599 wine_fn_config_makefile dlls/qedit/tests enable_tests
21600 wine_fn_config_makefile dlls/qmgr enable_qmgr
21601 wine_fn_config_makefile dlls/qmgr/tests enable_tests
21602 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
21603 wine_fn_config_makefile dlls/quartz enable_quartz
21604 wine_fn_config_makefile dlls/quartz/tests enable_tests
21605 wine_fn_config_makefile dlls/query enable_query
21606 wine_fn_config_makefile dlls/qwave enable_qwave
21607 wine_fn_config_makefile dlls/qwave/tests enable_tests
21608 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
21609 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
21610 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
21611 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
21612 wine_fn_config_makefile dlls/regapi enable_regapi
21613 wine_fn_config_makefile dlls/resutils enable_resutils
21614 wine_fn_config_makefile dlls/riched20 enable_riched20
21615 wine_fn_config_makefile dlls/riched20/tests enable_tests
21616 wine_fn_config_makefile dlls/riched32 enable_riched32
21617 wine_fn_config_makefile dlls/riched32/tests enable_tests
21618 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
21619 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
21620 wine_fn_config_makefile dlls/rsabase enable_rsabase
21621 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
21622 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
21623 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
21624 wine_fn_config_makefile dlls/rtutils enable_rtutils
21625 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
21626 wine_fn_config_makefile dlls/rtworkq/tests enable_tests
21627 wine_fn_config_makefile dlls/samlib enable_samlib
21628 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
21629 wine_fn_config_makefile dlls/sapi enable_sapi
21630 wine_fn_config_makefile dlls/sapi/tests enable_tests
21631 wine_fn_config_makefile dlls/sas enable_sas
21632 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
21633 wine_fn_config_makefile dlls/sccbase enable_sccbase
21634 wine_fn_config_makefile dlls/schannel enable_schannel
21635 wine_fn_config_makefile dlls/schannel/tests enable_tests
21636 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
21637 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
21638 wine_fn_config_makefile dlls/scrobj enable_scrobj
21639 wine_fn_config_makefile dlls/scrobj/tests enable_tests
21640 wine_fn_config_makefile dlls/scrrun enable_scrrun
21641 wine_fn_config_makefile dlls/scrrun/tests enable_tests
21642 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
21643 wine_fn_config_makefile dlls/sechost enable_sechost
21644 wine_fn_config_makefile dlls/secur32 enable_secur32
21645 wine_fn_config_makefile dlls/secur32/tests enable_tests
21646 wine_fn_config_makefile dlls/security enable_security
21647 wine_fn_config_makefile dlls/sensapi enable_sensapi
21648 wine_fn_config_makefile dlls/serialui enable_serialui
21649 wine_fn_config_makefile dlls/serialui/tests enable_tests
21650 wine_fn_config_makefile dlls/setupapi enable_setupapi
21651 wine_fn_config_makefile dlls/setupapi/tests enable_tests
21652 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
21653 wine_fn_config_makefile dlls/sfc enable_sfc
21654 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
21655 wine_fn_config_makefile dlls/shcore enable_shcore
21656 wine_fn_config_makefile dlls/shcore/tests enable_tests
21657 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
21658 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
21659 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
21660 wine_fn_config_makefile dlls/shell.dll16 enable_win16
21661 wine_fn_config_makefile dlls/shell32 enable_shell32
21662 wine_fn_config_makefile dlls/shell32/tests enable_tests
21663 wine_fn_config_makefile dlls/shfolder enable_shfolder
21664 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
21665 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
21666 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
21667 wine_fn_config_makefile dlls/slc enable_slc
21668 wine_fn_config_makefile dlls/slc/tests enable_tests
21669 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
21670 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
21671 wine_fn_config_makefile dlls/softpub enable_softpub
21672 wine_fn_config_makefile dlls/sound.drv16 enable_win16
21673 wine_fn_config_makefile dlls/spoolss enable_spoolss
21674 wine_fn_config_makefile dlls/spoolss/tests enable_tests
21675 wine_fn_config_makefile dlls/sppc enable_sppc
21676 wine_fn_config_makefile dlls/srclient enable_srclient
21677 wine_fn_config_makefile dlls/srvcli enable_srvcli
21678 wine_fn_config_makefile dlls/sspicli enable_sspicli
21679 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
21680 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
21681 wine_fn_config_makefile dlls/sti enable_sti
21682 wine_fn_config_makefile dlls/sti/tests enable_tests
21683 wine_fn_config_makefile dlls/storage.dll16 enable_win16
21684 wine_fn_config_makefile dlls/stress.dll16 enable_win16
21685 wine_fn_config_makefile dlls/strmdll enable_strmdll
21686 wine_fn_config_makefile dlls/svrapi enable_svrapi
21687 wine_fn_config_makefile dlls/sxs enable_sxs
21688 wine_fn_config_makefile dlls/sxs/tests enable_tests
21689 wine_fn_config_makefile dlls/system.drv16 enable_win16
21690 wine_fn_config_makefile dlls/t2embed enable_t2embed
21691 wine_fn_config_makefile dlls/t2embed/tests enable_tests
21692 wine_fn_config_makefile dlls/tapi32 enable_tapi32
21693 wine_fn_config_makefile dlls/tapi32/tests enable_tests
21694 wine_fn_config_makefile dlls/taskschd enable_taskschd
21695 wine_fn_config_makefile dlls/taskschd/tests enable_tests
21696 wine_fn_config_makefile dlls/tbs enable_tbs
21697 wine_fn_config_makefile dlls/tdh enable_tdh
21698 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
21699 wine_fn_config_makefile dlls/threadpoolwinrt enable_threadpoolwinrt
21700 wine_fn_config_makefile dlls/threadpoolwinrt/tests enable_tests
21701 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
21702 wine_fn_config_makefile dlls/traffic enable_traffic
21703 wine_fn_config_makefile dlls/twain.dll16 enable_win16
21704 wine_fn_config_makefile dlls/twain_32 enable_twain_32
21705 wine_fn_config_makefile dlls/twain_32/tests enable_tests
21706 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
21707 wine_fn_config_makefile dlls/tzres enable_tzres
21708 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
21709 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
21710 wine_fn_config_makefile dlls/uianimation enable_uianimation
21711 wine_fn_config_makefile dlls/uianimation/tests enable_tests
21712 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
21713 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
21714 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
21715 wine_fn_config_makefile dlls/unicows enable_unicows
21716 wine_fn_config_makefile dlls/updspapi enable_updspapi
21717 wine_fn_config_makefile dlls/url enable_url
21718 wine_fn_config_makefile dlls/urlmon enable_urlmon
21719 wine_fn_config_makefile dlls/urlmon/tests enable_tests
21720 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
21721 wine_fn_config_makefile dlls/user.exe16 enable_win16
21722 wine_fn_config_makefile dlls/user32 enable_user32
21723 wine_fn_config_makefile dlls/user32/tests enable_tests
21724 wine_fn_config_makefile dlls/userenv enable_userenv
21725 wine_fn_config_makefile dlls/userenv/tests enable_tests
21726 wine_fn_config_makefile dlls/usp10 enable_usp10
21727 wine_fn_config_makefile dlls/usp10/tests enable_tests
21728 wine_fn_config_makefile dlls/utildll enable_utildll
21729 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
21730 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
21731 wine_fn_config_makefile dlls/vbscript enable_vbscript
21732 wine_fn_config_makefile dlls/vbscript/tests enable_tests
21733 wine_fn_config_makefile dlls/vcomp enable_vcomp
21734 wine_fn_config_makefile dlls/vcomp/tests enable_tests
21735 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
21736 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
21737 wine_fn_config_makefile dlls/vcomp110/tests enable_tests
21738 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
21739 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
21740 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
21741 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
21742 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
21743 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
21744 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
21745 wine_fn_config_makefile dlls/ver.dll16 enable_win16
21746 wine_fn_config_makefile dlls/version enable_version
21747 wine_fn_config_makefile dlls/version/tests enable_tests
21748 wine_fn_config_makefile dlls/vga enable_vga
21749 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
21750 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
21751 wine_fn_config_makefile dlls/vmm.vxd enable_win16
21752 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
21753 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
21754 wine_fn_config_makefile dlls/vssapi enable_vssapi
21755 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
21756 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
21757 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
21758 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
21759 wine_fn_config_makefile dlls/w32skrnl enable_win16
21760 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
21761 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
21762 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
21763 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
21764 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
21765 wine_fn_config_makefile dlls/wdscore enable_wdscore
21766 wine_fn_config_makefile dlls/webservices enable_webservices
21767 wine_fn_config_makefile dlls/webservices/tests enable_tests
21768 wine_fn_config_makefile dlls/websocket enable_websocket
21769 wine_fn_config_makefile dlls/wer enable_wer
21770 wine_fn_config_makefile dlls/wer/tests enable_tests
21771 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
21772 wine_fn_config_makefile dlls/wevtapi/tests enable_tests
21773 wine_fn_config_makefile dlls/wevtsvc enable_wevtsvc
21774 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
21775 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
21776 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
21777 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
21778 wine_fn_config_makefile dlls/win32u enable_win32u
21779 wine_fn_config_makefile dlls/win32u/tests enable_tests
21780 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
21781 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
21782 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
21783 wine_fn_config_makefile dlls/windows.devices.enumeration enable_windows_devices_enumeration
21784 wine_fn_config_makefile dlls/windows.devices.enumeration/tests enable_tests
21785 wine_fn_config_makefile dlls/windows.gaming.input enable_windows_gaming_input
21786 wine_fn_config_makefile dlls/windows.gaming.input/tests enable_tests
21787 wine_fn_config_makefile dlls/windows.gaming.ui.gamebar enable_windows_gaming_ui_gamebar
21788 wine_fn_config_makefile dlls/windows.gaming.ui.gamebar/tests enable_tests
21789 wine_fn_config_makefile dlls/windows.globalization enable_windows_globalization
21790 wine_fn_config_makefile dlls/windows.globalization/tests enable_tests
21791 wine_fn_config_makefile dlls/windows.media.devices enable_windows_media_devices
21792 wine_fn_config_makefile dlls/windows.media.devices/tests enable_tests
21793 wine_fn_config_makefile dlls/windows.media.speech enable_windows_media_speech
21794 wine_fn_config_makefile dlls/windows.media.speech/tests enable_tests
21795 wine_fn_config_makefile dlls/windows.media enable_windows_media
21796 wine_fn_config_makefile dlls/windows.media/tests enable_tests
21797 wine_fn_config_makefile dlls/windows.networking enable_windows_networking
21798 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
21799 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
21800 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
21801 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
21802 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
21803 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
21804 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
21805 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
21806 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
21807 wine_fn_config_makefile dlls/wined3d enable_wined3d
21808 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
21809 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
21810 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
21811 wine_fn_config_makefile dlls/winemapi enable_winemapi
21812 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
21813 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
21814 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
21815 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
21816 wine_fn_config_makefile dlls/wineusb.sys enable_wineusb_sys
21817 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
21818 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
21819 wine_fn_config_makefile dlls/winexinput.sys enable_winexinput_sys
21820 wine_fn_config_makefile dlls/wing.dll16 enable_win16
21821 wine_fn_config_makefile dlls/wing32 enable_wing32
21822 wine_fn_config_makefile dlls/winhttp enable_winhttp
21823 wine_fn_config_makefile dlls/winhttp/tests enable_tests
21824 wine_fn_config_makefile dlls/wininet enable_wininet
21825 wine_fn_config_makefile dlls/wininet/tests enable_tests
21826 wine_fn_config_makefile dlls/winmm enable_winmm
21827 wine_fn_config_makefile dlls/winmm/tests enable_tests
21828 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
21829 wine_fn_config_makefile dlls/winnls32 enable_winnls32
21830 wine_fn_config_makefile dlls/winprint enable_winprint
21831 wine_fn_config_makefile dlls/winscard enable_winscard
21832 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
21833 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
21834 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
21835 wine_fn_config_makefile dlls/winsta enable_winsta
21836 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
21837 wine_fn_config_makefile dlls/wintab32 enable_wintab32
21838 wine_fn_config_makefile dlls/wintab32/tests enable_tests
21839 wine_fn_config_makefile dlls/wintrust enable_wintrust
21840 wine_fn_config_makefile dlls/wintrust/tests enable_tests
21841 wine_fn_config_makefile dlls/wintypes enable_wintypes
21842 wine_fn_config_makefile dlls/wintypes/tests enable_tests
21843 wine_fn_config_makefile dlls/winusb enable_winusb
21844 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
21845 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
21846 wine_fn_config_makefile dlls/wlanui enable_wlanui
21847 wine_fn_config_makefile dlls/wldap32 enable_wldap32
21848 wine_fn_config_makefile dlls/wldap32/tests enable_tests
21849 wine_fn_config_makefile dlls/wmasf enable_wmasf
21850 wine_fn_config_makefile dlls/wmi enable_wmi
21851 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
21852 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
21853 wine_fn_config_makefile dlls/wmp enable_wmp
21854 wine_fn_config_makefile dlls/wmp/tests enable_tests
21855 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
21856 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
21857 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
21858 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
21859 wine_fn_config_makefile dlls/wofutil enable_wofutil
21860 wine_fn_config_makefile dlls/wow32 enable_win16
21861 wine_fn_config_makefile dlls/wow64 enable_wow64
21862 wine_fn_config_makefile dlls/wow64cpu enable_wow64cpu
21863 wine_fn_config_makefile dlls/wow64win enable_wow64win
21864 wine_fn_config_makefile dlls/wpc enable_wpc
21865 wine_fn_config_makefile dlls/wpc/tests enable_tests
21866 wine_fn_config_makefile dlls/wpcap enable_wpcap
21867 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
21868 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
21869 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
21870 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
21871 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
21872 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
21873 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
21874 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
21875 wine_fn_config_makefile dlls/wsock32 enable_wsock32
21876 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
21877 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
21878 wine_fn_config_makefile dlls/wuapi enable_wuapi
21879 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
21880 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
21881 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
21882 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
21883 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
21884 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
21885 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
21886 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
21887 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
21888 wine_fn_config_makefile dlls/xactengine2_0 enable_xactengine2_0
21889 wine_fn_config_makefile dlls/xactengine2_4 enable_xactengine2_4
21890 wine_fn_config_makefile dlls/xactengine2_7 enable_xactengine2_7
21891 wine_fn_config_makefile dlls/xactengine2_9 enable_xactengine2_9
21892 wine_fn_config_makefile dlls/xactengine3_0 enable_xactengine3_0
21893 wine_fn_config_makefile dlls/xactengine3_1 enable_xactengine3_1
21894 wine_fn_config_makefile dlls/xactengine3_2 enable_xactengine3_2
21895 wine_fn_config_makefile dlls/xactengine3_3 enable_xactengine3_3
21896 wine_fn_config_makefile dlls/xactengine3_4 enable_xactengine3_4
21897 wine_fn_config_makefile dlls/xactengine3_5 enable_xactengine3_5
21898 wine_fn_config_makefile dlls/xactengine3_6 enable_xactengine3_6
21899 wine_fn_config_makefile dlls/xactengine3_7 enable_xactengine3_7
21900 wine_fn_config_makefile dlls/xactengine3_7/tests enable_tests
21901 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
21902 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
21903 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
21904 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
21905 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
21906 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
21907 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
21908 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
21909 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
21910 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
21911 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
21912 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
21913 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
21914 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
21915 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
21916 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
21917 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
21918 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
21919 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
21920 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
21921 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
21922 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
21923 wine_fn_config_makefile dlls/xinputuap enable_xinputuap
21924 wine_fn_config_makefile dlls/xmllite enable_xmllite
21925 wine_fn_config_makefile dlls/xmllite/tests enable_tests
21926 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
21927 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
21928 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
21929 wine_fn_config_makefile fonts enable_fonts
21930 wine_fn_config_makefile include enable_include
21931 wine_fn_config_makefile libs/adsiid enable_adsiid
21932 wine_fn_config_makefile libs/dmoguids enable_dmoguids
21933 wine_fn_config_makefile libs/dxerr8 enable_dxerr8
21934 wine_fn_config_makefile libs/dxerr9 enable_dxerr9
21935 wine_fn_config_makefile libs/dxguid enable_dxguid
21936 wine_fn_config_makefile libs/faudio enable_faudio
21937 wine_fn_config_makefile libs/gsm enable_gsm
21938 wine_fn_config_makefile libs/jpeg enable_jpeg
21939 wine_fn_config_makefile libs/jxr enable_jxr
21940 wine_fn_config_makefile libs/lcms2 enable_lcms2
21941 wine_fn_config_makefile libs/ldap enable_ldap
21942 wine_fn_config_makefile libs/mfuuid enable_mfuuid
21943 wine_fn_config_makefile libs/mpg123 enable_mpg123
21944 wine_fn_config_makefile libs/png enable_png
21945 wine_fn_config_makefile libs/strmbase enable_strmbase
21946 wine_fn_config_makefile libs/strmiids enable_strmiids
21947 wine_fn_config_makefile libs/tiff enable_tiff
21948 wine_fn_config_makefile libs/uuid enable_uuid
21949 wine_fn_config_makefile libs/vkd3d enable_vkd3d
21950 wine_fn_config_makefile libs/wbemuuid enable_wbemuuid
21951 wine_fn_config_makefile libs/wine enable_wine
21952 wine_fn_config_makefile libs/wmcodecdspuuid enable_wmcodecdspuuid
21953 wine_fn_config_makefile libs/xml2 enable_xml2
21954 wine_fn_config_makefile libs/xslt enable_xslt
21955 wine_fn_config_makefile libs/zlib enable_zlib
21956 wine_fn_config_makefile loader enable_loader
21957 wine_fn_config_makefile nls enable_nls
21958 wine_fn_config_makefile po enable_po
21959 wine_fn_config_makefile programs/arp enable_arp
21960 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
21961 wine_fn_config_makefile programs/attrib enable_attrib
21962 wine_fn_config_makefile programs/cabarc enable_cabarc
21963 wine_fn_config_makefile programs/cacls enable_cacls
21964 wine_fn_config_makefile programs/certutil enable_certutil
21965 wine_fn_config_makefile programs/chcp.com enable_chcp_com
21966 wine_fn_config_makefile programs/clock enable_clock
21967 wine_fn_config_makefile programs/cmd enable_cmd
21968 wine_fn_config_makefile programs/cmd/tests enable_tests
21969 wine_fn_config_makefile programs/conhost enable_conhost
21970 wine_fn_config_makefile programs/conhost/tests enable_tests
21971 wine_fn_config_makefile programs/control enable_control
21972 wine_fn_config_makefile programs/cscript enable_cscript
21973 wine_fn_config_makefile programs/dism enable_dism
21974 wine_fn_config_makefile programs/dllhost enable_dllhost
21975 wine_fn_config_makefile programs/dplaysvr enable_dplaysvr
21976 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
21977 wine_fn_config_makefile programs/dpvsetup enable_dpvsetup
21978 wine_fn_config_makefile programs/dxdiag enable_dxdiag
21979 wine_fn_config_makefile programs/eject enable_eject
21980 wine_fn_config_makefile programs/expand enable_expand
21981 wine_fn_config_makefile programs/explorer enable_explorer
21982 wine_fn_config_makefile programs/explorer/tests enable_tests
21983 wine_fn_config_makefile programs/extrac32 enable_extrac32
21984 wine_fn_config_makefile programs/fc enable_fc
21985 wine_fn_config_makefile programs/find enable_find
21986 wine_fn_config_makefile programs/find/tests enable_tests
21987 wine_fn_config_makefile programs/findstr enable_findstr
21988 wine_fn_config_makefile programs/fsutil enable_fsutil
21989 wine_fn_config_makefile programs/fsutil/tests enable_tests
21990 wine_fn_config_makefile programs/hh enable_hh
21991 wine_fn_config_makefile programs/hostname enable_hostname
21992 wine_fn_config_makefile programs/icacls enable_icacls
21993 wine_fn_config_makefile programs/icinfo enable_icinfo
21994 wine_fn_config_makefile programs/iexplore enable_iexplore
21995 wine_fn_config_makefile programs/ipconfig enable_ipconfig
21996 wine_fn_config_makefile programs/lodctr enable_lodctr
21997 wine_fn_config_makefile programs/mofcomp enable_mofcomp
21998 wine_fn_config_makefile programs/mshta enable_mshta
21999 wine_fn_config_makefile programs/msidb enable_msidb
22000 wine_fn_config_makefile programs/msiexec enable_msiexec
22001 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
22002 wine_fn_config_makefile programs/net enable_net
22003 wine_fn_config_makefile programs/netsh enable_netsh
22004 wine_fn_config_makefile programs/netstat enable_netstat
22005 wine_fn_config_makefile programs/ngen enable_ngen
22006 wine_fn_config_makefile programs/notepad enable_notepad
22007 wine_fn_config_makefile programs/oleview enable_oleview
22008 wine_fn_config_makefile programs/ping enable_ping
22009 wine_fn_config_makefile programs/plugplay enable_plugplay
22010 wine_fn_config_makefile programs/powershell enable_powershell
22011 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
22012 wine_fn_config_makefile programs/progman enable_progman
22013 wine_fn_config_makefile programs/reg enable_reg
22014 wine_fn_config_makefile programs/reg/tests enable_tests
22015 wine_fn_config_makefile programs/regasm enable_regasm
22016 wine_fn_config_makefile programs/regedit enable_regedit
22017 wine_fn_config_makefile programs/regedit/tests enable_tests
22018 wine_fn_config_makefile programs/regini enable_regini
22019 wine_fn_config_makefile programs/regsvcs enable_regsvcs
22020 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
22021 wine_fn_config_makefile programs/robocopy enable_robocopy
22022 wine_fn_config_makefile programs/rpcss enable_rpcss
22023 wine_fn_config_makefile programs/rundll.exe16 enable_win16
22024 wine_fn_config_makefile programs/rundll32 enable_rundll32
22025 wine_fn_config_makefile programs/sc enable_sc
22026 wine_fn_config_makefile programs/sc/tests enable_tests
22027 wine_fn_config_makefile programs/schtasks enable_schtasks
22028 wine_fn_config_makefile programs/schtasks/tests enable_tests
22029 wine_fn_config_makefile programs/sdbinst enable_sdbinst
22030 wine_fn_config_makefile programs/secedit enable_secedit
22031 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
22032 wine_fn_config_makefile programs/services enable_services
22033 wine_fn_config_makefile programs/services/tests enable_tests
22034 wine_fn_config_makefile programs/setx enable_setx
22035 wine_fn_config_makefile programs/shutdown enable_shutdown
22036 wine_fn_config_makefile programs/spoolsv enable_spoolsv
22037 wine_fn_config_makefile programs/start enable_start
22038 wine_fn_config_makefile programs/subst enable_subst
22039 wine_fn_config_makefile programs/svchost enable_svchost
22040 wine_fn_config_makefile programs/systeminfo enable_systeminfo
22041 wine_fn_config_makefile programs/taskkill enable_taskkill
22042 wine_fn_config_makefile programs/tasklist enable_tasklist
22043 wine_fn_config_makefile programs/taskmgr enable_taskmgr
22044 wine_fn_config_makefile programs/termsv enable_termsv
22045 wine_fn_config_makefile programs/uninstaller enable_uninstaller
22046 wine_fn_config_makefile programs/unlodctr enable_unlodctr
22047 wine_fn_config_makefile programs/view enable_view
22048 wine_fn_config_makefile programs/wevtutil enable_wevtutil
22049 wine_fn_config_makefile programs/where enable_where
22050 wine_fn_config_makefile programs/whoami enable_whoami
22051 wine_fn_config_makefile programs/wineboot enable_wineboot
22052 wine_fn_config_makefile programs/winebrowser enable_winebrowser
22053 wine_fn_config_makefile programs/winecfg enable_winecfg
22054 wine_fn_config_makefile programs/wineconsole enable_wineconsole
22055 wine_fn_config_makefile programs/winedbg enable_winedbg
22056 wine_fn_config_makefile programs/winedevice enable_winedevice
22057 wine_fn_config_makefile programs/winefile enable_winefile
22058 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
22059 wine_fn_config_makefile programs/winemine enable_winemine
22060 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
22061 wine_fn_config_makefile programs/winepath enable_winepath
22062 wine_fn_config_makefile programs/winetest enable_winetest
22063 wine_fn_config_makefile programs/winevdm enable_win16
22064 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
22065 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
22066 wine_fn_config_makefile programs/winmgmt enable_winmgmt
22067 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
22068 wine_fn_config_makefile programs/winver enable_winver
22069 wine_fn_config_makefile programs/wmic enable_wmic
22070 wine_fn_config_makefile programs/wmplayer enable_wmplayer
22071 wine_fn_config_makefile programs/wordpad enable_wordpad
22072 wine_fn_config_makefile programs/write enable_write
22073 wine_fn_config_makefile programs/wscript enable_wscript
22074 wine_fn_config_makefile programs/wscript/tests enable_tests
22075 wine_fn_config_makefile programs/wuauserv enable_wuauserv
22076 wine_fn_config_makefile programs/wusa enable_wusa
22077 wine_fn_config_makefile programs/xcopy enable_xcopy
22078 wine_fn_config_makefile programs/xcopy/tests enable_tests
22079 wine_fn_config_makefile server enable_server
22080 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
22081 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
22082 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
22083 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
22084 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
22085 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
22086 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
22087 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
22088 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
22091 as_fn_append CONFIGURE_TARGETS " TAGS"
22092 as_fn_append CONFIGURE_TARGETS " tags"
22093 as_fn_append CONFIGURE_TARGETS " autom4te.cache"
22094 as_fn_append CONFIGURE_TARGETS " config.log"
22095 as_fn_append CONFIGURE_TARGETS " config.status"
22096 as_fn_append CONFIGURE_TARGETS " include/config.h"
22097 as_fn_append CONFIGURE_TARGETS " include/stamp-h"
22098 test "$wine_binary" = wine || as_fn_append CONFIGURE_TARGETS " loader/wine"
22100 if test "x$enable_tools" != xno
22101 then
22102 as_fn_append CONFIGURE_TARGETS " tools/makedep$ac_exeext"
22103 ac_config_commands="$ac_config_commands tools/makedep"
22107 ac_config_commands="$ac_config_commands Makefile"
22111 SHELL=/bin/sh
22114 as_fn_append wine_rules "
22115 all: wine
22116 @echo \"Wine build complete.\"
22117 .INIT: Makefile
22118 .MAKEFILEDEPS:
22119 all: Makefile
22120 Makefile: config.status \$(MAKEDEP)
22121 @./config.status Makefile
22122 depend: \$(MAKEDEP)
22123 \$(MAKEDEP)$makedep_flags"
22126 as_fn_append wine_rules "
22127 config.status: ${wine_srcdir}configure
22128 @./config.status --recheck
22129 include/config.h: include/stamp-h
22130 include/stamp-h: ${wine_srcdir}include/config.h.in config.status
22131 @./config.status include/config.h include/stamp-h"
22133 if test "x$enable_maintainer_mode" = xyes
22134 then
22135 as_fn_append wine_rules "
22136 configure: configure.ac aclocal.m4
22137 autoconf --warnings=all
22138 include/config.h.in: include/stamp-h.in
22139 include/stamp-h.in: configure.ac aclocal.m4
22140 autoheader --warnings=all
22141 @echo timestamp > \$@"
22144 if test "x$enable_tools" != xno
22145 then
22146 as_fn_append wine_rules "
22147 tools/makedep$ac_exeext: ${wine_srcdir}tools/makedep.c include/config.h config.status
22148 @./config.status tools/makedep
22149 Makefile: tools/makedep$ac_exeext"
22150 else
22151 as_fn_append wine_rules "
22152 \$(MAKEDEP):
22153 @echo \"You need to run make in $toolsdir first\" && false"
22157 if test -n "$with_wine64"
22158 then
22159 case "$with_wine64" in
22160 /*) reldir="" ;;
22161 *) reldir="../" ;;
22162 esac
22163 rm -f fonts server 2>/dev/null
22164 as_fn_append wine_rules "
22165 all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
22166 loader/wine64 loader/wine64-preloader:
22167 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
22168 $with_wine64/loader/wine:
22169 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
22170 $with_wine64/loader/wine-preloader:
22171 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
22172 clean::
22173 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
22174 else
22175 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
22176 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
22177 fonts \
22178 loader/wine.inf \
22179 nls \
22180 programs/msidb/msidb \
22181 programs/msiexec/msiexec \
22182 programs/notepad/notepad \
22183 programs/regedit/regedit \
22184 programs/regsvr32/regsvr32 \
22185 programs/wineboot/wineboot \
22186 programs/winecfg/winecfg \
22187 programs/wineconsole/wineconsole \
22188 programs/winedbg/winedbg \
22189 programs/winefile/winefile \
22190 programs/winemine/winemine \
22191 programs/winepath/winepath \
22192 server/wineserver"
22194 case $host_os in
22195 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
22196 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
22197 esac
22201 as_fn_append wine_rules "
22202 distclean:: clean
22203 rm -rf autom4te.cache
22204 maintainer-clean::
22205 rm -f configure include/config.h.in"
22208 as_fn_append wine_rules "
22209 dlls/ntdll/unix/version.c: dummy
22210 @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)
22211 programs/winetest/build.rc: dummy
22212 @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)
22213 programs/winetest/build.nfo:
22214 @-\$(CC) -v 2>\$@
22215 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
22216 cd dlls/wineandroid.drv && gradle -q -Psrcdir=$srcdir assembleDebug
22217 mv dlls/wineandroid.drv/build/outputs/apk/wine-debug.apk \$@"
22220 TAGSFLAGS="--langmap='c:+.idl.l.rh,make:(Make*.in)'"
22222 as_fn_append wine_rules "
22223 TAGS etags:
22224 rm -f TAGS
22225 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs etags -a \$(TAGSFLAGS)
22226 tags ctags:
22227 rm -f tags
22228 (test -d .git && git ls-files || find -L $srcdir -name '*.[ch]' -print) | xargs ctags -a \$(TAGSFLAGS)
22229 dummy:
22230 .PHONY: depend dummy install-manpages"
22232 printf "%s\n" " done" >&6
22233 cat >confcache <<\_ACEOF
22234 # This file is a shell script that caches the results of configure
22235 # tests run on this system so they can be shared between configure
22236 # scripts and configure runs, see configure's option --config-cache.
22237 # It is not useful on other systems. If it contains results you don't
22238 # want to keep, you may remove or edit it.
22240 # config.status only pays attention to the cache file if you give it
22241 # the --recheck option to rerun configure.
22243 # `ac_cv_env_foo' variables (set or unset) will be overridden when
22244 # loading this file, other *unset* `ac_cv_foo' will be assigned the
22245 # following values.
22247 _ACEOF
22249 # The following way of writing the cache mishandles newlines in values,
22250 # but we know of no workaround that is simple, portable, and efficient.
22251 # So, we kill variables containing newlines.
22252 # Ultrix sh set writes to stderr and can't be redirected directly,
22253 # and sets the high bit in the cache file unless we assign to the vars.
22255 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
22256 eval ac_val=\$$ac_var
22257 case $ac_val in #(
22258 *${as_nl}*)
22259 case $ac_var in #(
22260 *_cv_*) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
22261 printf "%s\n" "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
22262 esac
22263 case $ac_var in #(
22264 _ | IFS | as_nl) ;; #(
22265 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
22266 *) { eval $ac_var=; unset $ac_var;} ;;
22267 esac ;;
22268 esac
22269 done
22271 (set) 2>&1 |
22272 case $as_nl`(ac_space=' '; set) 2>&1` in #(
22273 *${as_nl}ac_space=\ *)
22274 # `set' does not quote correctly, so add quotes: double-quote
22275 # substitution turns \\\\ into \\, and sed turns \\ into \.
22276 sed -n \
22277 "s/'/'\\\\''/g;
22278 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
22279 ;; #(
22281 # `set' quotes correctly as required by POSIX, so do not add quotes.
22282 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
22284 esac |
22285 sort
22287 sed '
22288 /^ac_cv_env_/b end
22289 t clear
22290 :clear
22291 s/^\([^=]*\)=\(.*[{}].*\)$/test ${\1+y} || &/
22292 t end
22293 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
22294 :end' >>confcache
22295 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
22296 if test -w "$cache_file"; then
22297 if test "x$cache_file" != "x/dev/null"; then
22298 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
22299 printf "%s\n" "$as_me: updating cache $cache_file" >&6;}
22300 if test ! -f "$cache_file" || test -h "$cache_file"; then
22301 cat confcache >"$cache_file"
22302 else
22303 case $cache_file in #(
22304 */* | ?:*)
22305 mv -f confcache "$cache_file"$$ &&
22306 mv -f "$cache_file"$$ "$cache_file" ;; #(
22308 mv -f confcache "$cache_file" ;;
22309 esac
22312 else
22313 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
22314 printf "%s\n" "$as_me: not updating unwritable cache $cache_file" >&6;}
22317 rm -f confcache
22319 test "x$prefix" = xNONE && prefix=$ac_default_prefix
22320 # Let make expand exec_prefix.
22321 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
22323 DEFS=-DHAVE_CONFIG_H
22325 ac_libobjs=
22326 ac_ltlibobjs=
22328 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
22329 # 1. Remove the extension, and $U if already installed.
22330 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
22331 ac_i=`printf "%s\n" "$ac_i" | sed "$ac_script"`
22332 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
22333 # will be set to the directory where LIBOBJS objects are built.
22334 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
22335 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
22336 done
22337 LIBOBJS=$ac_libobjs
22339 LTLIBOBJS=$ac_ltlibobjs
22343 : "${CONFIG_STATUS=./config.status}"
22344 ac_write_fail=0
22345 ac_clean_files_save=$ac_clean_files
22346 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
22347 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
22348 printf "%s\n" "$as_me: creating $CONFIG_STATUS" >&6;}
22349 as_write_fail=0
22350 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
22351 #! $SHELL
22352 # Generated by $as_me.
22353 # Run this file to recreate the current configuration.
22354 # Compiler output produced by configure, useful for debugging
22355 # configure, is in config.log if it exists.
22357 debug=false
22358 ac_cs_recheck=false
22359 ac_cs_silent=false
22361 SHELL=\${CONFIG_SHELL-$SHELL}
22362 export SHELL
22363 _ASEOF
22364 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
22365 ## -------------------- ##
22366 ## M4sh Initialization. ##
22367 ## -------------------- ##
22369 # Be more Bourne compatible
22370 DUALCASE=1; export DUALCASE # for MKS sh
22371 as_nop=:
22372 if test ${ZSH_VERSION+y} && (emulate sh) >/dev/null 2>&1
22373 then :
22374 emulate sh
22375 NULLCMD=:
22376 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
22377 # is contrary to our usage. Disable this feature.
22378 alias -g '${1+"$@"}'='"$@"'
22379 setopt NO_GLOB_SUBST
22380 else $as_nop
22381 case `(set -o) 2>/dev/null` in #(
22382 *posix*) :
22383 set -o posix ;; #(
22384 *) :
22386 esac
22391 # Reset variables that may have inherited troublesome values from
22392 # the environment.
22394 # IFS needs to be set, to space, tab, and newline, in precisely that order.
22395 # (If _AS_PATH_WALK were called with IFS unset, it would have the
22396 # side effect of setting IFS to empty, thus disabling word splitting.)
22397 # Quoting is to prevent editors from complaining about space-tab.
22398 as_nl='
22400 export as_nl
22401 IFS=" "" $as_nl"
22403 PS1='$ '
22404 PS2='> '
22405 PS4='+ '
22407 # Ensure predictable behavior from utilities with locale-dependent output.
22408 LC_ALL=C
22409 export LC_ALL
22410 LANGUAGE=C
22411 export LANGUAGE
22413 # We cannot yet rely on "unset" to work, but we need these variables
22414 # to be unset--not just set to an empty or harmless value--now, to
22415 # avoid bugs in old shells (e.g. pre-3.0 UWIN ksh). This construct
22416 # also avoids known problems related to "unset" and subshell syntax
22417 # in other old shells (e.g. bash 2.01 and pdksh 5.2.14).
22418 for as_var in BASH_ENV ENV MAIL MAILPATH CDPATH
22419 do eval test \${$as_var+y} \
22420 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
22421 done
22423 # Ensure that fds 0, 1, and 2 are open.
22424 if (exec 3>&0) 2>/dev/null; then :; else exec 0</dev/null; fi
22425 if (exec 3>&1) 2>/dev/null; then :; else exec 1>/dev/null; fi
22426 if (exec 3>&2) ; then :; else exec 2>/dev/null; fi
22428 # The user is always right.
22429 if ${PATH_SEPARATOR+false} :; then
22430 PATH_SEPARATOR=:
22431 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
22432 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
22433 PATH_SEPARATOR=';'
22438 # Find who we are. Look in the path if we contain no directory separator.
22439 as_myself=
22440 case $0 in #((
22441 *[\\/]* ) as_myself=$0 ;;
22442 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
22443 for as_dir in $PATH
22445 IFS=$as_save_IFS
22446 case $as_dir in #(((
22447 '') as_dir=./ ;;
22448 */) ;;
22449 *) as_dir=$as_dir/ ;;
22450 esac
22451 test -r "$as_dir$0" && as_myself=$as_dir$0 && break
22452 done
22453 IFS=$as_save_IFS
22456 esac
22457 # We did not find ourselves, most probably we were run as `sh COMMAND'
22458 # in which case we are not to be found in the path.
22459 if test "x$as_myself" = x; then
22460 as_myself=$0
22462 if test ! -f "$as_myself"; then
22463 printf "%s\n" "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
22464 exit 1
22469 # as_fn_error STATUS ERROR [LINENO LOG_FD]
22470 # ----------------------------------------
22471 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
22472 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
22473 # script with STATUS, using 1 if that was 0.
22474 as_fn_error ()
22476 as_status=$1; test $as_status -eq 0 && as_status=1
22477 if test "$4"; then
22478 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
22479 printf "%s\n" "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
22481 printf "%s\n" "$as_me: error: $2" >&2
22482 as_fn_exit $as_status
22483 } # as_fn_error
22487 # as_fn_set_status STATUS
22488 # -----------------------
22489 # Set $? to STATUS, without forking.
22490 as_fn_set_status ()
22492 return $1
22493 } # as_fn_set_status
22495 # as_fn_exit STATUS
22496 # -----------------
22497 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
22498 as_fn_exit ()
22500 set +e
22501 as_fn_set_status $1
22502 exit $1
22503 } # as_fn_exit
22505 # as_fn_unset VAR
22506 # ---------------
22507 # Portably unset VAR.
22508 as_fn_unset ()
22510 { eval $1=; unset $1;}
22512 as_unset=as_fn_unset
22514 # as_fn_append VAR VALUE
22515 # ----------------------
22516 # Append the text in VALUE to the end of the definition contained in VAR. Take
22517 # advantage of any shell optimizations that allow amortized linear growth over
22518 # repeated appends, instead of the typical quadratic growth present in naive
22519 # implementations.
22520 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null
22521 then :
22522 eval 'as_fn_append ()
22524 eval $1+=\$2
22526 else $as_nop
22527 as_fn_append ()
22529 eval $1=\$$1\$2
22531 fi # as_fn_append
22533 # as_fn_arith ARG...
22534 # ------------------
22535 # Perform arithmetic evaluation on the ARGs, and store the result in the
22536 # global $as_val. Take advantage of shells that can avoid forks. The arguments
22537 # must be portable across $(()) and expr.
22538 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null
22539 then :
22540 eval 'as_fn_arith ()
22542 as_val=$(( $* ))
22544 else $as_nop
22545 as_fn_arith ()
22547 as_val=`expr "$@" || test $? -eq 1`
22549 fi # as_fn_arith
22552 if expr a : '\(a\)' >/dev/null 2>&1 &&
22553 test "X`expr 00001 : '.*\(...\)'`" = X001; then
22554 as_expr=expr
22555 else
22556 as_expr=false
22559 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
22560 as_basename=basename
22561 else
22562 as_basename=false
22565 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
22566 as_dirname=dirname
22567 else
22568 as_dirname=false
22571 as_me=`$as_basename -- "$0" ||
22572 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
22573 X"$0" : 'X\(//\)$' \| \
22574 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
22575 printf "%s\n" X/"$0" |
22576 sed '/^.*\/\([^/][^/]*\)\/*$/{
22577 s//\1/
22580 /^X\/\(\/\/\)$/{
22581 s//\1/
22584 /^X\/\(\/\).*/{
22585 s//\1/
22588 s/.*/./; q'`
22590 # Avoid depending upon Character Ranges.
22591 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
22592 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
22593 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
22594 as_cr_digits='0123456789'
22595 as_cr_alnum=$as_cr_Letters$as_cr_digits
22598 # Determine whether it's possible to make 'echo' print without a newline.
22599 # These variables are no longer used directly by Autoconf, but are AC_SUBSTed
22600 # for compatibility with existing Makefiles.
22601 ECHO_C= ECHO_N= ECHO_T=
22602 case `echo -n x` in #(((((
22603 -n*)
22604 case `echo 'xy\c'` in
22605 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
22606 xy) ECHO_C='\c';;
22607 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
22608 ECHO_T=' ';;
22609 esac;;
22611 ECHO_N='-n';;
22612 esac
22614 # For backward compatibility with old third-party macros, we provide
22615 # the shell variables $as_echo and $as_echo_n. New code should use
22616 # AS_ECHO(["message"]) and AS_ECHO_N(["message"]), respectively.
22617 as_echo='printf %s\n'
22618 as_echo_n='printf %s'
22620 rm -f conf$$ conf$$.exe conf$$.file
22621 if test -d conf$$.dir; then
22622 rm -f conf$$.dir/conf$$.file
22623 else
22624 rm -f conf$$.dir
22625 mkdir conf$$.dir 2>/dev/null
22627 if (echo >conf$$.file) 2>/dev/null; then
22628 if ln -s conf$$.file conf$$ 2>/dev/null; then
22629 as_ln_s='ln -s'
22630 # ... but there are two gotchas:
22631 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
22632 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
22633 # In both cases, we have to default to `cp -pR'.
22634 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
22635 as_ln_s='cp -pR'
22636 elif ln conf$$.file conf$$ 2>/dev/null; then
22637 as_ln_s=ln
22638 else
22639 as_ln_s='cp -pR'
22641 else
22642 as_ln_s='cp -pR'
22644 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
22645 rmdir conf$$.dir 2>/dev/null
22648 # as_fn_mkdir_p
22649 # -------------
22650 # Create "$as_dir" as a directory, including parents if necessary.
22651 as_fn_mkdir_p ()
22654 case $as_dir in #(
22655 -*) as_dir=./$as_dir;;
22656 esac
22657 test -d "$as_dir" || eval $as_mkdir_p || {
22658 as_dirs=
22659 while :; do
22660 case $as_dir in #(
22661 *\'*) as_qdir=`printf "%s\n" "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
22662 *) as_qdir=$as_dir;;
22663 esac
22664 as_dirs="'$as_qdir' $as_dirs"
22665 as_dir=`$as_dirname -- "$as_dir" ||
22666 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22667 X"$as_dir" : 'X\(//\)[^/]' \| \
22668 X"$as_dir" : 'X\(//\)$' \| \
22669 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
22670 printf "%s\n" X"$as_dir" |
22671 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22672 s//\1/
22675 /^X\(\/\/\)[^/].*/{
22676 s//\1/
22679 /^X\(\/\/\)$/{
22680 s//\1/
22683 /^X\(\/\).*/{
22684 s//\1/
22687 s/.*/./; q'`
22688 test -d "$as_dir" && break
22689 done
22690 test -z "$as_dirs" || eval "mkdir $as_dirs"
22691 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
22694 } # as_fn_mkdir_p
22695 if mkdir -p . 2>/dev/null; then
22696 as_mkdir_p='mkdir -p "$as_dir"'
22697 else
22698 test -d ./-p && rmdir ./-p
22699 as_mkdir_p=false
22703 # as_fn_executable_p FILE
22704 # -----------------------
22705 # Test if FILE is an executable regular file.
22706 as_fn_executable_p ()
22708 test -f "$1" && test -x "$1"
22709 } # as_fn_executable_p
22710 as_test_x='test -x'
22711 as_executable_p=as_fn_executable_p
22713 # Sed expression to map a string onto a valid CPP name.
22714 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
22716 # Sed expression to map a string onto a valid variable name.
22717 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
22720 exec 6>&1
22721 ## ----------------------------------- ##
22722 ## Main body of $CONFIG_STATUS script. ##
22723 ## ----------------------------------- ##
22724 _ASEOF
22725 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
22727 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22728 # Save the log message, to keep $0 and so on meaningful, and to
22729 # report actual input values of CONFIG_FILES etc. instead of their
22730 # values after options handling.
22731 ac_log="
22732 This file was extended by Wine $as_me 8.0-rc1, which was
22733 generated by GNU Autoconf 2.71. Invocation command line was
22735 CONFIG_FILES = $CONFIG_FILES
22736 CONFIG_HEADERS = $CONFIG_HEADERS
22737 CONFIG_LINKS = $CONFIG_LINKS
22738 CONFIG_COMMANDS = $CONFIG_COMMANDS
22739 $ $0 $@
22741 on `(hostname || uname -n) 2>/dev/null | sed 1q`
22744 _ACEOF
22747 case $ac_config_headers in *"
22748 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
22749 esac
22752 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22753 # Files that config.status was made for.
22754 config_headers="$ac_config_headers"
22755 config_links="$ac_config_links"
22756 config_commands="$ac_config_commands"
22758 _ACEOF
22760 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22761 ac_cs_usage="\
22762 \`$as_me' instantiates files and other configuration actions
22763 from templates according to the current configuration. Unless the files
22764 and actions are specified as TAGs, all are instantiated by default.
22766 Usage: $0 [OPTION]... [TAG]...
22768 -h, --help print this help, then exit
22769 -V, --version print version number and configuration settings, then exit
22770 --config print configuration, then exit
22771 -q, --quiet, --silent
22772 do not print progress messages
22773 -d, --debug don't remove temporary files
22774 --recheck update $as_me by reconfiguring in the same conditions
22775 --header=FILE[:TEMPLATE]
22776 instantiate the configuration header FILE
22778 Configuration headers:
22779 $config_headers
22781 Configuration links:
22782 $config_links
22784 Configuration commands:
22785 $config_commands
22787 Report bugs to <wine-devel@winehq.org>.
22788 Wine home page: <https://www.winehq.org>."
22790 _ACEOF
22791 ac_cs_config=`printf "%s\n" "$ac_configure_args" | sed "$ac_safe_unquote"`
22792 ac_cs_config_escaped=`printf "%s\n" "$ac_cs_config" | sed "s/^ //; s/'/'\\\\\\\\''/g"`
22793 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22794 ac_cs_config='$ac_cs_config_escaped'
22795 ac_cs_version="\\
22796 Wine config.status 8.0-rc1
22797 configured by $0, generated by GNU Autoconf 2.71,
22798 with options \\"\$ac_cs_config\\"
22800 Copyright (C) 2021 Free Software Foundation, Inc.
22801 This config.status script is free software; the Free Software Foundation
22802 gives unlimited permission to copy, distribute and modify it."
22804 ac_pwd='$ac_pwd'
22805 srcdir='$srcdir'
22806 test -n "\$AWK" || AWK=awk
22807 _ACEOF
22809 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22810 # The default lists apply if the user does not specify any file.
22811 ac_need_defaults=:
22812 while test $# != 0
22814 case $1 in
22815 --*=?*)
22816 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22817 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
22818 ac_shift=:
22820 --*=)
22821 ac_option=`expr "X$1" : 'X\([^=]*\)='`
22822 ac_optarg=
22823 ac_shift=:
22826 ac_option=$1
22827 ac_optarg=$2
22828 ac_shift=shift
22830 esac
22832 case $ac_option in
22833 # Handling of the options.
22834 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
22835 ac_cs_recheck=: ;;
22836 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
22837 printf "%s\n" "$ac_cs_version"; exit ;;
22838 --config | --confi | --conf | --con | --co | --c )
22839 printf "%s\n" "$ac_cs_config"; exit ;;
22840 --debug | --debu | --deb | --de | --d | -d )
22841 debug=: ;;
22842 --header | --heade | --head | --hea )
22843 $ac_shift
22844 case $ac_optarg in
22845 *\'*) ac_optarg=`printf "%s\n" "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
22846 esac
22847 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
22848 ac_need_defaults=false;;
22849 --he | --h)
22850 # Conflict between --help and --header
22851 as_fn_error $? "ambiguous option: \`$1'
22852 Try \`$0 --help' for more information.";;
22853 --help | --hel | -h )
22854 printf "%s\n" "$ac_cs_usage"; exit ;;
22855 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
22856 | -silent | --silent | --silen | --sile | --sil | --si | --s)
22857 ac_cs_silent=: ;;
22859 # This is an error.
22860 -*) as_fn_error $? "unrecognized option: \`$1'
22861 Try \`$0 --help' for more information." ;;
22863 *) as_fn_append ac_config_targets " $1"
22864 ac_need_defaults=false ;;
22866 esac
22867 shift
22868 done
22870 ac_configure_extra_args=
22872 if $ac_cs_silent; then
22873 exec 6>/dev/null
22874 ac_configure_extra_args="$ac_configure_extra_args --silent"
22877 _ACEOF
22878 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22879 if \$ac_cs_recheck; then
22880 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
22881 shift
22882 \printf "%s\n" "running CONFIG_SHELL=$SHELL \$*" >&6
22883 CONFIG_SHELL='$SHELL'
22884 export CONFIG_SHELL
22885 exec "\$@"
22888 _ACEOF
22889 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22890 exec 5>>config.log
22892 echo
22893 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
22894 ## Running $as_me. ##
22895 _ASBOX
22896 printf "%s\n" "$ac_log"
22897 } >&5
22899 _ACEOF
22900 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22902 # INIT-COMMANDS
22904 wine_fn_output_makedep ()
22906 as_dir=tools; as_fn_mkdir_p
22907 $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
22909 wine_fn_output_makefile ()
22911 cat <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && "$wine_makedep"$makedep_flags && return
22912 # This Makefile understands the following targets:
22914 # all (default): build wine
22915 # clean: remove all intermediate files
22916 # distclean: also remove all files created by configure
22917 # test: run tests
22918 # testclean: clean test results to force running all tests again
22919 # install-lib: install libraries needed to run applications
22920 # install-dev: install development environment
22921 # install: install everything
22922 # uninstall: uninstall everything
22923 # ctags: create a tags file for vim and others.
22924 # etags: create a TAGS file for Emacs.
22926 SHELL = $SHELL
22927 PATH_SEPARATOR = $PATH_SEPARATOR
22928 PACKAGE_NAME = $PACKAGE_NAME
22929 PACKAGE_TARNAME = $PACKAGE_TARNAME
22930 PACKAGE_VERSION = $PACKAGE_VERSION
22931 PACKAGE_STRING = $PACKAGE_STRING
22932 PACKAGE_BUGREPORT = $PACKAGE_BUGREPORT
22933 PACKAGE_URL = $PACKAGE_URL
22934 exec_prefix = $exec_prefix
22935 prefix = $prefix
22936 program_transform_name = $program_transform_name
22937 bindir = $bindir
22938 sbindir = $sbindir
22939 libexecdir = $libexecdir
22940 datarootdir = $datarootdir
22941 datadir = $datadir
22942 sysconfdir = $sysconfdir
22943 sharedstatedir = $sharedstatedir
22944 localstatedir = $localstatedir
22945 runstatedir = $runstatedir
22946 includedir = $includedir
22947 oldincludedir = $oldincludedir
22948 docdir = $docdir
22949 infodir = $infodir
22950 htmldir = $htmldir
22951 dvidir = $dvidir
22952 pdfdir = $pdfdir
22953 psdir = $psdir
22954 libdir = $libdir
22955 localedir = $localedir
22956 mandir = $mandir
22957 DEFS = $DEFS
22958 ECHO_C = $ECHO_C
22959 ECHO_N = $ECHO_N
22960 ECHO_T = $ECHO_T
22961 LIBS = $LIBS
22962 build_alias = $build_alias
22963 host_alias = $host_alias
22964 target_alias = $target_alias
22965 system_dllpath = $system_dllpath
22966 build = $build
22967 build_cpu = $build_cpu
22968 build_vendor = $build_vendor
22969 build_os = $build_os
22970 host = $host
22971 host_cpu = $host_cpu
22972 host_vendor = $host_vendor
22973 host_os = $host_os
22974 dlldir = $dlldir
22975 fontdir = $fontdir
22976 nlsdir = $nlsdir
22977 srcdir = $srcdir
22978 SET_MAKE = $SET_MAKE
22979 CC = $CC
22980 CFLAGS = $CFLAGS
22981 LDFLAGS = $LDFLAGS
22982 CPPFLAGS = $CPPFLAGS
22983 ac_ct_CC = $ac_ct_CC
22984 EXEEXT = $EXEEXT
22985 OBJEXT = $OBJEXT
22986 CXX = $CXX
22987 CXXFLAGS = $CXXFLAGS
22988 ac_ct_CXX = $ac_ct_CXX
22989 CPPBIN = $CPPBIN
22990 LD = $LD
22991 TARGETFLAGS = $TARGETFLAGS
22992 toolsext = $toolsext
22993 HOST_ARCH = $HOST_ARCH
22994 aarch64_CC = $aarch64_CC
22995 aarch64_CFLAGS = $aarch64_CFLAGS
22996 aarch64_EXTRACFLAGS = $aarch64_EXTRACFLAGS
22997 aarch64_LDFLAGS = $aarch64_LDFLAGS
22998 aarch64_DEBUG = $aarch64_DEBUG
22999 aarch64_TARGET = $aarch64_TARGET
23000 aarch64_DELAYLOADFLAG = $aarch64_DELAYLOADFLAG
23001 aarch64_DISABLED_SUBDIRS = $aarch64_DISABLED_SUBDIRS
23002 arm_CC = $arm_CC
23003 arm_CFLAGS = $arm_CFLAGS
23004 arm_EXTRACFLAGS = $arm_EXTRACFLAGS
23005 arm_LDFLAGS = $arm_LDFLAGS
23006 arm_DEBUG = $arm_DEBUG
23007 arm_TARGET = $arm_TARGET
23008 arm_DELAYLOADFLAG = $arm_DELAYLOADFLAG
23009 arm_DISABLED_SUBDIRS = $arm_DISABLED_SUBDIRS
23010 i386_CC = $i386_CC
23011 i386_CFLAGS = $i386_CFLAGS
23012 i386_EXTRACFLAGS = $i386_EXTRACFLAGS
23013 i386_LDFLAGS = $i386_LDFLAGS
23014 i386_DEBUG = $i386_DEBUG
23015 i386_TARGET = $i386_TARGET
23016 i386_DELAYLOADFLAG = $i386_DELAYLOADFLAG
23017 i386_DISABLED_SUBDIRS = $i386_DISABLED_SUBDIRS
23018 x86_64_CC = $x86_64_CC
23019 x86_64_CFLAGS = $x86_64_CFLAGS
23020 x86_64_EXTRACFLAGS = $x86_64_EXTRACFLAGS
23021 x86_64_LDFLAGS = $x86_64_LDFLAGS
23022 x86_64_DEBUG = $x86_64_DEBUG
23023 x86_64_TARGET = $x86_64_TARGET
23024 x86_64_DELAYLOADFLAG = $x86_64_DELAYLOADFLAG
23025 x86_64_DISABLED_SUBDIRS = $x86_64_DISABLED_SUBDIRS
23026 toolsdir = $toolsdir
23027 MAKEDEP = $MAKEDEP
23028 RUNTESTFLAGS = $RUNTESTFLAGS
23029 SED_CMD = $SED_CMD
23030 FLEX = $FLEX
23031 BISON = $BISON
23032 AR = $AR
23033 ac_ct_AR = $ac_ct_AR
23034 STRIP = $STRIP
23035 RANLIB = $RANLIB
23036 LN_S = $LN_S
23037 GREP = $GREP
23038 EGREP = $EGREP
23039 LDCONFIG = $LDCONFIG
23040 MSGFMT = $MSGFMT
23041 PKG_CONFIG = $PKG_CONFIG
23042 FONTFORGE = $FONTFORGE
23043 RSVG = $RSVG
23044 CONVERT = $CONVERT
23045 ICOTOOL = $ICOTOOL
23046 I386_LIBS = $I386_LIBS
23047 OPENGL_LIBS = $OPENGL_LIBS
23048 DLLFLAGS = $DLLFLAGS
23049 LDDLLFLAGS = $LDDLLFLAGS
23050 LDEXECFLAGS = $LDEXECFLAGS
23051 EXTRACFLAGS = $EXTRACFLAGS
23052 UNIXDLLFLAGS = $UNIXDLLFLAGS
23053 UNIXLDFLAGS = $UNIXLDFLAGS
23054 TOP_INSTALL_LIB = $TOP_INSTALL_LIB
23055 TOP_INSTALL_DEV = $TOP_INSTALL_DEV
23056 WINELOADER_LDFLAGS = $WINELOADER_LDFLAGS
23057 WINEPRELOADER_LDFLAGS = $WINEPRELOADER_LDFLAGS
23058 LDD = $LDD
23059 OTOOL = $OTOOL
23060 READELF = $READELF
23061 SUBDIRS = $SUBDIRS
23062 DISABLED_SUBDIRS = $DISABLED_SUBDIRS
23063 CONFIGURE_TARGETS = $CONFIGURE_TARGETS
23064 CARBON_LIBS = $CARBON_LIBS
23065 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
23066 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
23067 IOKIT_LIBS = $IOKIT_LIBS
23068 METAL_LIBS = $METAL_LIBS
23069 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
23070 CORESERVICES_LIBS = $CORESERVICES_LIBS
23071 APPKIT_LIBS = $APPKIT_LIBS
23072 SECURITY_LIBS = $SECURITY_LIBS
23073 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
23074 COREAUDIO_LIBS = $COREAUDIO_LIBS
23075 OPENCL_LIBS = $OPENCL_LIBS
23076 OBJC = $OBJC
23077 OBJCFLAGS = $OBJCFLAGS
23078 ac_ct_OBJC = $ac_ct_OBJC
23079 LIBWINE_SHAREDLIB = $LIBWINE_SHAREDLIB
23080 LIBWINE_LDFLAGS = $LIBWINE_LDFLAGS
23081 WINELOADER_DEPENDS = $WINELOADER_DEPENDS
23082 PRELINK = $PRELINK
23083 LIBWINE_DEPENDS = $LIBWINE_DEPENDS
23084 PE_ARCHS = $PE_ARCHS
23085 MINGW_PKG_CONFIG = $MINGW_PKG_CONFIG
23086 FAUDIO_PE_CFLAGS = $FAUDIO_PE_CFLAGS
23087 FAUDIO_PE_LIBS = $FAUDIO_PE_LIBS
23088 GSM_PE_CFLAGS = $GSM_PE_CFLAGS
23089 GSM_PE_LIBS = $GSM_PE_LIBS
23090 JPEG_PE_CFLAGS = $JPEG_PE_CFLAGS
23091 JPEG_PE_LIBS = $JPEG_PE_LIBS
23092 JXR_PE_CFLAGS = $JXR_PE_CFLAGS
23093 JXR_PE_LIBS = $JXR_PE_LIBS
23094 LCMS2_PE_CFLAGS = $LCMS2_PE_CFLAGS
23095 LCMS2_PE_LIBS = $LCMS2_PE_LIBS
23096 LDAP_PE_CFLAGS = $LDAP_PE_CFLAGS
23097 LDAP_PE_LIBS = $LDAP_PE_LIBS
23098 MPG123_PE_CFLAGS = $MPG123_PE_CFLAGS
23099 MPG123_PE_LIBS = $MPG123_PE_LIBS
23100 PNG_PE_CFLAGS = $PNG_PE_CFLAGS
23101 PNG_PE_LIBS = $PNG_PE_LIBS
23102 TIFF_PE_CFLAGS = $TIFF_PE_CFLAGS
23103 TIFF_PE_LIBS = $TIFF_PE_LIBS
23104 VKD3D_PE_CFLAGS = $VKD3D_PE_CFLAGS
23105 VKD3D_PE_LIBS = $VKD3D_PE_LIBS
23106 XML2_PE_CFLAGS = $XML2_PE_CFLAGS
23107 XML2_PE_LIBS = $XML2_PE_LIBS
23108 XSLT_PE_CFLAGS = $XSLT_PE_CFLAGS
23109 XSLT_PE_LIBS = $XSLT_PE_LIBS
23110 ZLIB_PE_CFLAGS = $ZLIB_PE_CFLAGS
23111 ZLIB_PE_LIBS = $ZLIB_PE_LIBS
23112 PTHREAD_LIBS = $PTHREAD_LIBS
23113 XMKMF = $XMKMF
23114 CPP = $CPP
23115 X_CFLAGS = $X_CFLAGS
23116 X_PRE_LIBS = $X_PRE_LIBS
23117 X_LIBS = $X_LIBS
23118 X_EXTRA_LIBS = $X_EXTRA_LIBS
23119 PCAP_LIBS = $PCAP_LIBS
23120 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
23121 INOTIFY_LIBS = $INOTIFY_LIBS
23122 DBUS_CFLAGS = $DBUS_CFLAGS
23123 DBUS_LIBS = $DBUS_LIBS
23124 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
23125 GNUTLS_LIBS = $GNUTLS_LIBS
23126 SANE_CFLAGS = $SANE_CFLAGS
23127 SANE_LIBS = $SANE_LIBS
23128 USB_CFLAGS = $USB_CFLAGS
23129 USB_LIBS = $USB_LIBS
23130 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
23131 GPHOTO2_LIBS = $GPHOTO2_LIBS
23132 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
23133 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
23134 RESOLV_LIBS = $RESOLV_LIBS
23135 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
23136 FREETYPE_LIBS = $FREETYPE_LIBS
23137 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
23138 PULSE_CFLAGS = $PULSE_CFLAGS
23139 PULSE_LIBS = $PULSE_LIBS
23140 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
23141 GSTREAMER_LIBS = $GSTREAMER_LIBS
23142 ALSA_LIBS = $ALSA_LIBS
23143 OSS4_CFLAGS = $OSS4_CFLAGS
23144 OSS4_LIBS = $OSS4_LIBS
23145 UDEV_CFLAGS = $UDEV_CFLAGS
23146 UDEV_LIBS = $UDEV_LIBS
23147 UNWIND_CFLAGS = $UNWIND_CFLAGS
23148 UNWIND_LIBS = $UNWIND_LIBS
23149 SDL2_CFLAGS = $SDL2_CFLAGS
23150 SDL2_LIBS = $SDL2_LIBS
23151 CAPI20_CFLAGS = $CAPI20_CFLAGS
23152 CAPI20_LIBS = $CAPI20_LIBS
23153 CUPS_CFLAGS = $CUPS_CFLAGS
23154 CUPS_LIBS = $CUPS_LIBS
23155 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
23156 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
23157 KRB5_CFLAGS = $KRB5_CFLAGS
23158 KRB5_LIBS = $KRB5_LIBS
23159 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
23160 GSSAPI_LIBS = $GSSAPI_LIBS
23161 PROCSTAT_LIBS = $PROCSTAT_LIBS
23162 NETAPI_CFLAGS = $NETAPI_CFLAGS
23163 NETAPI_LIBS = $NETAPI_LIBS
23164 MSVCRTFLAGS = $MSVCRTFLAGS
23165 DELAYLOADFLAG = $DELAYLOADFLAG
23166 WINELOADER_PROGRAMS = $WINELOADER_PROGRAMS
23167 RT_LIBS = $RT_LIBS
23168 TAGSFLAGS = $TAGSFLAGS
23169 LIBOBJS = $LIBOBJS
23170 LTLIBOBJS = $LTLIBOBJS
23171 $SET_MAKE
23172 $wine_rules
23173 _WINE_EOF
23174 as_fn_error $? "could not create Makefile" "$LINENO" 5
23177 _ACEOF
23179 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23181 # Handling of arguments.
23182 for ac_config_target in $ac_config_targets
23184 case $ac_config_target in
23185 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
23186 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
23187 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
23188 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
23189 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
23190 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
23192 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
23193 esac
23194 done
23197 # If the user did not use the arguments to specify the items to instantiate,
23198 # then the envvar interface is used. Set only those that are not.
23199 # We use the long form for the default assignment because of an extremely
23200 # bizarre bug on SunOS 4.1.3.
23201 if $ac_need_defaults; then
23202 test ${CONFIG_HEADERS+y} || CONFIG_HEADERS=$config_headers
23203 test ${CONFIG_LINKS+y} || CONFIG_LINKS=$config_links
23204 test ${CONFIG_COMMANDS+y} || CONFIG_COMMANDS=$config_commands
23207 # Have a temporary directory for convenience. Make it in the build tree
23208 # simply because there is no reason against having it here, and in addition,
23209 # creating and moving files from /tmp can sometimes cause problems.
23210 # Hook for its removal unless debugging.
23211 # Note that there is a small window in which the directory will not be cleaned:
23212 # after its creation but before its name has been assigned to `$tmp'.
23213 $debug ||
23215 tmp= ac_tmp=
23216 trap 'exit_status=$?
23217 : "${ac_tmp:=$tmp}"
23218 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
23220 trap 'as_fn_exit 1' 1 2 13 15
23222 # Create a (secure) tmp directory for tmp files.
23225 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
23226 test -d "$tmp"
23227 } ||
23229 tmp=./conf$$-$RANDOM
23230 (umask 077 && mkdir "$tmp")
23231 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
23232 ac_tmp=$tmp
23234 # Set up the scripts for CONFIG_HEADERS section.
23235 # No need to generate them if there are no CONFIG_HEADERS.
23236 # This happens for instance with `./config.status Makefile'.
23237 if test -n "$CONFIG_HEADERS"; then
23238 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
23239 BEGIN {
23240 _ACEOF
23242 # Transform confdefs.h into an awk script `defines.awk', embedded as
23243 # here-document in config.status, that substitutes the proper values into
23244 # config.h.in to produce config.h.
23246 # Create a delimiter string that does not exist in confdefs.h, to ease
23247 # handling of long lines.
23248 ac_delim='%!_!# '
23249 for ac_last_try in false false :; do
23250 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
23251 if test -z "$ac_tt"; then
23252 break
23253 elif $ac_last_try; then
23254 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
23255 else
23256 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
23258 done
23260 # For the awk script, D is an array of macro values keyed by name,
23261 # likewise P contains macro parameters if any. Preserve backslash
23262 # newline sequences.
23264 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
23265 sed -n '
23266 s/.\{148\}/&'"$ac_delim"'/g
23267 t rset
23268 :rset
23269 s/^[ ]*#[ ]*define[ ][ ]*/ /
23270 t def
23272 :def
23273 s/\\$//
23274 t bsnl
23275 s/["\\]/\\&/g
23276 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23277 D["\1"]=" \3"/p
23278 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
23280 :bsnl
23281 s/["\\]/\\&/g
23282 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
23283 D["\1"]=" \3\\\\\\n"\\/p
23284 t cont
23285 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
23286 t cont
23288 :cont
23290 s/.\{148\}/&'"$ac_delim"'/g
23291 t clear
23292 :clear
23293 s/\\$//
23294 t bsnlc
23295 s/["\\]/\\&/g; s/^/"/; s/$/"/p
23297 :bsnlc
23298 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
23299 b cont
23300 ' <confdefs.h | sed '
23301 s/'"$ac_delim"'/"\\\
23302 "/g' >>$CONFIG_STATUS || ac_write_fail=1
23304 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
23305 for (key in D) D_is_set[key] = 1
23306 FS = "\a"
23308 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
23309 line = \$ 0
23310 split(line, arg, " ")
23311 if (arg[1] == "#") {
23312 defundef = arg[2]
23313 mac1 = arg[3]
23314 } else {
23315 defundef = substr(arg[1], 2)
23316 mac1 = arg[2]
23318 split(mac1, mac2, "(") #)
23319 macro = mac2[1]
23320 prefix = substr(line, 1, index(line, defundef) - 1)
23321 if (D_is_set[macro]) {
23322 # Preserve the white space surrounding the "#".
23323 print prefix "define", macro P[macro] D[macro]
23324 next
23325 } else {
23326 # Replace #undef with comments. This is necessary, for example,
23327 # in the case of _POSIX_SOURCE, which is predefined and required
23328 # on some systems where configure will not decide to define it.
23329 if (defundef == "undef") {
23330 print "/*", prefix defundef, macro, "*/"
23331 next
23335 { print }
23336 _ACAWK
23337 _ACEOF
23338 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
23339 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
23340 fi # test -n "$CONFIG_HEADERS"
23343 eval set X " :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
23344 shift
23345 for ac_tag
23347 case $ac_tag in
23348 :[FHLC]) ac_mode=$ac_tag; continue;;
23349 esac
23350 case $ac_mode$ac_tag in
23351 :[FHL]*:*);;
23352 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
23353 :[FH]-) ac_tag=-:-;;
23354 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
23355 esac
23356 ac_save_IFS=$IFS
23357 IFS=:
23358 set x $ac_tag
23359 IFS=$ac_save_IFS
23360 shift
23361 ac_file=$1
23362 shift
23364 case $ac_mode in
23365 :L) ac_source=$1;;
23366 :[FH])
23367 ac_file_inputs=
23368 for ac_f
23370 case $ac_f in
23371 -) ac_f="$ac_tmp/stdin";;
23372 *) # Look for the file first in the build tree, then in the source tree
23373 # (if the path is not absolute). The absolute path cannot be DOS-style,
23374 # because $ac_f cannot contain `:'.
23375 test -f "$ac_f" ||
23376 case $ac_f in
23377 [\\/$]*) false;;
23378 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
23379 esac ||
23380 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
23381 esac
23382 case $ac_f in *\'*) ac_f=`printf "%s\n" "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
23383 as_fn_append ac_file_inputs " '$ac_f'"
23384 done
23386 # Let's still pretend it is `configure' which instantiates (i.e., don't
23387 # use $as_me), people would be surprised to read:
23388 # /* config.h. Generated by config.status. */
23389 configure_input='Generated from '`
23390 printf "%s\n" "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
23391 `' by configure.'
23392 if test x"$ac_file" != x-; then
23393 configure_input="$ac_file. $configure_input"
23394 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
23395 printf "%s\n" "$as_me: creating $ac_file" >&6;}
23397 # Neutralize special characters interpreted by sed in replacement strings.
23398 case $configure_input in #(
23399 *\&* | *\|* | *\\* )
23400 ac_sed_conf_input=`printf "%s\n" "$configure_input" |
23401 sed 's/[\\\\&|]/\\\\&/g'`;; #(
23402 *) ac_sed_conf_input=$configure_input;;
23403 esac
23405 case $ac_tag in
23406 *:-:* | *:-) cat >"$ac_tmp/stdin" \
23407 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
23408 esac
23410 esac
23412 ac_dir=`$as_dirname -- "$ac_file" ||
23413 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
23414 X"$ac_file" : 'X\(//\)[^/]' \| \
23415 X"$ac_file" : 'X\(//\)$' \| \
23416 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
23417 printf "%s\n" X"$ac_file" |
23418 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
23419 s//\1/
23422 /^X\(\/\/\)[^/].*/{
23423 s//\1/
23426 /^X\(\/\/\)$/{
23427 s//\1/
23430 /^X\(\/\).*/{
23431 s//\1/
23434 s/.*/./; q'`
23435 as_dir="$ac_dir"; as_fn_mkdir_p
23436 ac_builddir=.
23438 case "$ac_dir" in
23439 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
23441 ac_dir_suffix=/`printf "%s\n" "$ac_dir" | sed 's|^\.[\\/]||'`
23442 # A ".." for each directory in $ac_dir_suffix.
23443 ac_top_builddir_sub=`printf "%s\n" "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
23444 case $ac_top_builddir_sub in
23445 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
23446 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
23447 esac ;;
23448 esac
23449 ac_abs_top_builddir=$ac_pwd
23450 ac_abs_builddir=$ac_pwd$ac_dir_suffix
23451 # for backward compatibility:
23452 ac_top_builddir=$ac_top_build_prefix
23454 case $srcdir in
23455 .) # We are building in place.
23456 ac_srcdir=.
23457 ac_top_srcdir=$ac_top_builddir_sub
23458 ac_abs_top_srcdir=$ac_pwd ;;
23459 [\\/]* | ?:[\\/]* ) # Absolute name.
23460 ac_srcdir=$srcdir$ac_dir_suffix;
23461 ac_top_srcdir=$srcdir
23462 ac_abs_top_srcdir=$srcdir ;;
23463 *) # Relative name.
23464 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
23465 ac_top_srcdir=$ac_top_build_prefix$srcdir
23466 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
23467 esac
23468 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
23471 case $ac_mode in
23475 # CONFIG_HEADER
23477 if test x"$ac_file" != x-; then
23479 printf "%s\n" "/* $configure_input */" >&1 \
23480 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
23481 } >"$ac_tmp/config.h" \
23482 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23483 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
23484 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
23485 printf "%s\n" "$as_me: $ac_file is unchanged" >&6;}
23486 else
23487 rm -f "$ac_file"
23488 mv "$ac_tmp/config.h" "$ac_file" \
23489 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
23491 else
23492 printf "%s\n" "/* $configure_input */" >&1 \
23493 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
23494 || as_fn_error $? "could not create -" "$LINENO" 5
23499 # CONFIG_LINK
23502 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
23504 else
23505 # Prefer the file from the source tree if names are identical.
23506 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
23507 ac_source=$srcdir/$ac_source
23510 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
23511 printf "%s\n" "$as_me: linking $ac_source to $ac_file" >&6;}
23513 if test ! -r "$ac_source"; then
23514 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
23516 rm -f "$ac_file"
23518 # Try a relative symlink, then a hard link, then a copy.
23519 case $ac_source in
23520 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
23521 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
23522 esac
23523 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
23524 ln "$ac_source" "$ac_file" 2>/dev/null ||
23525 cp -p "$ac_source" "$ac_file" ||
23526 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
23529 :C) { printf "%s\n" "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
23530 printf "%s\n" "$as_me: executing $ac_file commands" >&6;}
23532 esac
23535 case $ac_file$ac_mode in
23536 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
23537 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
23538 "Makefile":C) wine_fn_output_makefile Makefile ;;
23540 esac
23541 done # for ac_tag
23544 as_fn_exit 0
23545 _ACEOF
23546 ac_clean_files=$ac_clean_files_save
23548 test $ac_write_fail = 0 ||
23549 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
23552 # configure is writing to config.log, and then calls config.status.
23553 # config.status does its own redirection, appending to config.log.
23554 # Unfortunately, on DOS this fails, as config.log is still kept open
23555 # by configure, so config.status won't be able to write to it; its
23556 # output is simply discarded. So we exec the FD to /dev/null,
23557 # effectively closing config.log, so it can be properly (re)opened and
23558 # appended to by config.status. When coming back to configure, we
23559 # need to make the FD available again.
23560 if test "$no_create" != yes; then
23561 ac_cs_success=:
23562 ac_config_status_args=
23563 test "$silent" = yes &&
23564 ac_config_status_args="$ac_config_status_args --quiet"
23565 exec 5>/dev/null
23566 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
23567 exec 5>>config.log
23568 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
23569 # would make configure fail if this is the last instruction.
23570 $ac_cs_success || as_fn_exit 1
23572 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
23573 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
23574 printf "%s\n" "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
23578 if test "$no_create" = "yes"
23579 then
23580 exit 0
23583 ac_save_IFS="$IFS"
23584 if test "x$wine_notices" != x; then
23585 echo >&6
23586 IFS="|"
23587 for msg in $wine_notices; do
23588 IFS="$ac_save_IFS"
23589 if ${msg:+false} :
23590 then :
23592 else $as_nop
23593 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: $msg" >&5
23594 printf "%s\n" "$as_me: $msg" >&6;}
23596 done
23598 IFS="|"
23599 for msg in $wine_warnings; do
23600 IFS="$ac_save_IFS"
23601 if ${msg:+false} :
23602 then :
23604 else $as_nop
23605 echo >&2
23606 { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
23607 printf "%s\n" "$as_me: WARNING: $msg" >&2;}
23609 done
23610 IFS="$ac_save_IFS"
23612 printf "%s\n" "
23613 $as_me: Finished. Do '${ac_make}' to compile Wine.
23614 " >&6