vbscript: Don't free procs allocated in the heap pool.
[wine.git] / configure
bloba5c504b70ba0330a0c820b8cd7a38addc6a14721
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 4.21.
5 # Report bugs to <wine-devel@winehq.org>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 emulate sh
21 NULLCMD=:
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
25 setopt NO_GLOB_SUBST
26 else
27 case `(set -o) 2>/dev/null` in #(
28 *posix*) :
29 set -o posix ;; #(
30 *) :
32 esac
36 as_nl='
38 export as_nl
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47 as_echo='print -r --'
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo='printf %s\n'
51 as_echo_n='printf %s'
52 else
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
56 else
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58 as_echo_n_body='eval
59 arg=$1;
60 case $arg in #(
61 *"$as_nl"*)
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64 esac;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
67 export as_echo_n_body
68 as_echo_n='sh -c $as_echo_n_body as_echo'
70 export as_echo_body
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76 PATH_SEPARATOR=:
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79 PATH_SEPARATOR=';'
84 # IFS
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
89 IFS=" "" $as_nl"
91 # Find who we are. Look in the path if we contain no directory separator.
92 as_myself=
93 case $0 in #((
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 for as_dir in $PATH
98 IFS=$as_save_IFS
99 test -z "$as_dir" && as_dir=.
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 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123 done
124 PS1='$ '
125 PS2='> '
126 PS4='+ '
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
134 # CDPATH.
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140 _as_can_reexec=no; export _as_can_reexec;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
145 BASH_ENV=/dev/null
146 ENV=/dev/null
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148 case $- in # ((((
149 *v*x* | *x*v* ) as_opts=-vx ;;
150 *v* ) as_opts=-v ;;
151 *x* ) as_opts=-x ;;
152 * ) as_opts= ;;
153 esac
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 as_fn_exit 255
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 emulate sh
165 NULLCMD=:
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 setopt NO_GLOB_SUBST
170 else
171 case \`(set -o) 2>/dev/null\` in #(
172 *posix*) :
173 set -o posix ;; #(
174 *) :
176 esac
179 as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
185 exitcode=0
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
192 else
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
196 test -x / || exit 1"
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1"
202 if (eval "$as_required") 2>/dev/null; then :
203 as_have_required=yes
204 else
205 as_have_required=no
207 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
209 else
210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
211 as_found=false
212 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
214 IFS=$as_save_IFS
215 test -z "$as_dir" && as_dir=.
216 as_found=:
217 case $as_dir in #(
219 for as_base in sh bash ksh sh5; do
220 # Try only shells that exist, to save several forks.
221 as_shell=$as_dir/$as_base
222 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
223 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
224 CONFIG_SHELL=$as_shell as_have_required=yes
225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
226 break 2
229 done;;
230 esac
231 as_found=false
232 done
233 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
234 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
235 CONFIG_SHELL=$SHELL as_have_required=yes
236 fi; }
237 IFS=$as_save_IFS
240 if test "x$CONFIG_SHELL" != x; 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 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
259 exit 255
262 if test x$as_have_required = xno; then :
263 $as_echo "$0: This script requires a shell more modern than all"
264 $as_echo "$0: the shells that I found on your system."
265 if test x${ZSH_VERSION+set} = xset ; then
266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
268 else
269 $as_echo "$0: Please tell bug-autoconf@gnu.org and
270 $0: wine-devel@winehq.org about your system, including any
271 $0: error possibly output before this message. Then install
272 $0: a modern shell, or manually run the script under such a
273 $0: shell if you do have one."
275 exit 1
279 SHELL=${CONFIG_SHELL-/bin/sh}
280 export SHELL
281 # Unset more variables known to interfere with behavior of common tools.
282 CLICOLOR_FORCE= GREP_OPTIONS=
283 unset CLICOLOR_FORCE GREP_OPTIONS
285 ## --------------------- ##
286 ## M4sh Shell Functions. ##
287 ## --------------------- ##
288 # as_fn_unset VAR
289 # ---------------
290 # Portably unset VAR.
291 as_fn_unset ()
293 { eval $1=; unset $1;}
295 as_unset=as_fn_unset
297 # as_fn_set_status STATUS
298 # -----------------------
299 # Set $? to STATUS, without forking.
300 as_fn_set_status ()
302 return $1
303 } # as_fn_set_status
305 # as_fn_exit STATUS
306 # -----------------
307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
308 as_fn_exit ()
310 set +e
311 as_fn_set_status $1
312 exit $1
313 } # as_fn_exit
315 # as_fn_mkdir_p
316 # -------------
317 # Create "$as_dir" as a directory, including parents if necessary.
318 as_fn_mkdir_p ()
321 case $as_dir in #(
322 -*) as_dir=./$as_dir;;
323 esac
324 test -d "$as_dir" || eval $as_mkdir_p || {
325 as_dirs=
326 while :; do
327 case $as_dir in #(
328 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
329 *) as_qdir=$as_dir;;
330 esac
331 as_dirs="'$as_qdir' $as_dirs"
332 as_dir=`$as_dirname -- "$as_dir" ||
333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334 X"$as_dir" : 'X\(//\)[^/]' \| \
335 X"$as_dir" : 'X\(//\)$' \| \
336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337 $as_echo X"$as_dir" |
338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
339 s//\1/
342 /^X\(\/\/\)[^/].*/{
343 s//\1/
346 /^X\(\/\/\)$/{
347 s//\1/
350 /^X\(\/\).*/{
351 s//\1/
354 s/.*/./; q'`
355 test -d "$as_dir" && break
356 done
357 test -z "$as_dirs" || eval "mkdir $as_dirs"
358 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
361 } # as_fn_mkdir_p
363 # as_fn_executable_p FILE
364 # -----------------------
365 # Test if FILE is an executable regular file.
366 as_fn_executable_p ()
368 test -f "$1" && test -x "$1"
369 } # as_fn_executable_p
370 # as_fn_append VAR VALUE
371 # ----------------------
372 # Append the text in VALUE to the end of the definition contained in VAR. Take
373 # advantage of any shell optimizations that allow amortized linear growth over
374 # repeated appends, instead of the typical quadratic growth present in naive
375 # implementations.
376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
377 eval 'as_fn_append ()
379 eval $1+=\$2
381 else
382 as_fn_append ()
384 eval $1=\$$1\$2
386 fi # as_fn_append
388 # as_fn_arith ARG...
389 # ------------------
390 # Perform arithmetic evaluation on the ARGs, and store the result in the
391 # global $as_val. Take advantage of shells that can avoid forks. The arguments
392 # must be portable across $(()) and expr.
393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
394 eval 'as_fn_arith ()
396 as_val=$(( $* ))
398 else
399 as_fn_arith ()
401 as_val=`expr "$@" || test $? -eq 1`
403 fi # as_fn_arith
406 # as_fn_error STATUS ERROR [LINENO LOG_FD]
407 # ----------------------------------------
408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410 # script with STATUS, using 1 if that was 0.
411 as_fn_error ()
413 as_status=$1; test $as_status -eq 0 && as_status=1
414 if test "$4"; then
415 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
418 $as_echo "$as_me: error: $2" >&2
419 as_fn_exit $as_status
420 } # as_fn_error
422 if expr a : '\(a\)' >/dev/null 2>&1 &&
423 test "X`expr 00001 : '.*\(...\)'`" = X001; then
424 as_expr=expr
425 else
426 as_expr=false
429 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
430 as_basename=basename
431 else
432 as_basename=false
435 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
436 as_dirname=dirname
437 else
438 as_dirname=false
441 as_me=`$as_basename -- "$0" ||
442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443 X"$0" : 'X\(//\)$' \| \
444 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
445 $as_echo X/"$0" |
446 sed '/^.*\/\([^/][^/]*\)\/*$/{
447 s//\1/
450 /^X\/\(\/\/\)$/{
451 s//\1/
454 /^X\/\(\/\).*/{
455 s//\1/
458 s/.*/./; q'`
460 # Avoid depending upon Character Ranges.
461 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
462 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
464 as_cr_digits='0123456789'
465 as_cr_alnum=$as_cr_Letters$as_cr_digits
468 as_lineno_1=$LINENO as_lineno_1a=$LINENO
469 as_lineno_2=$LINENO as_lineno_2a=$LINENO
470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
473 sed -n '
475 /[$]LINENO/=
476 ' <$as_myself |
477 sed '
478 s/[$]LINENO.*/&-/
479 t lineno
481 :lineno
483 :loop
484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
485 t loop
486 s/-\n.*//
487 ' >$as_me.lineno &&
488 chmod +x "$as_me.lineno" ||
489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492 # already done that, so ensure we don't try to do so again and fall
493 # in an infinite loop. This has already happened in practice.
494 _as_can_reexec=no; export _as_can_reexec
495 # Don't try to exec as it changes $[0], causing all sort of problems
496 # (the dirname of $[0] is not the place where we might find the
497 # original and so on. Autoconf is especially sensitive to this).
498 . "./$as_me.lineno"
499 # Exit status is that of the last command.
500 exit
503 ECHO_C= ECHO_N= ECHO_T=
504 case `echo -n x` in #(((((
505 -n*)
506 case `echo 'xy\c'` in
507 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
508 xy) ECHO_C='\c';;
509 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
510 ECHO_T=' ';;
511 esac;;
513 ECHO_N='-n';;
514 esac
516 rm -f conf$$ conf$$.exe conf$$.file
517 if test -d conf$$.dir; then
518 rm -f conf$$.dir/conf$$.file
519 else
520 rm -f conf$$.dir
521 mkdir conf$$.dir 2>/dev/null
523 if (echo >conf$$.file) 2>/dev/null; then
524 if ln -s conf$$.file conf$$ 2>/dev/null; then
525 as_ln_s='ln -s'
526 # ... but there are two gotchas:
527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529 # In both cases, we have to default to `cp -pR'.
530 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
531 as_ln_s='cp -pR'
532 elif ln conf$$.file conf$$ 2>/dev/null; then
533 as_ln_s=ln
534 else
535 as_ln_s='cp -pR'
537 else
538 as_ln_s='cp -pR'
540 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
541 rmdir conf$$.dir 2>/dev/null
543 if mkdir -p . 2>/dev/null; then
544 as_mkdir_p='mkdir -p "$as_dir"'
545 else
546 test -d ./-p && rmdir ./-p
547 as_mkdir_p=false
550 as_test_x='test -x'
551 as_executable_p=as_fn_executable_p
553 # Sed expression to map a string onto a valid CPP name.
554 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
556 # Sed expression to map a string onto a valid variable name.
557 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
560 test -n "$DJDIR" || exec 7<&0 </dev/null
561 exec 6>&1
563 # Name of the host.
564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565 # so uname gets run too.
566 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
569 # Initializations.
571 ac_default_prefix=/usr/local
572 ac_clean_files=
573 ac_config_libobj_dir=.
574 LIBOBJS=
575 cross_compiling=no
576 subdirs=
577 MFLAGS=
578 MAKEFLAGS=
580 # Identity of this package.
581 PACKAGE_NAME='Wine'
582 PACKAGE_TARNAME='wine'
583 PACKAGE_VERSION='4.21'
584 PACKAGE_STRING='Wine 4.21'
585 PACKAGE_BUGREPORT='wine-devel@winehq.org'
586 PACKAGE_URL='https://www.winehq.org'
588 ac_unique_file="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default="\
591 #include <stdio.h>
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
594 #endif
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
597 #endif
598 #ifdef STDC_HEADERS
599 # include <stdlib.h>
600 # include <stddef.h>
601 #else
602 # ifdef HAVE_STDLIB_H
603 # include <stdlib.h>
604 # endif
605 #endif
606 #ifdef HAVE_STRING_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
608 # include <memory.h>
609 # endif
610 # include <string.h>
611 #endif
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
614 #endif
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
617 #endif
618 #ifdef HAVE_STDINT_H
619 # include <stdint.h>
620 #endif
621 #ifdef HAVE_UNISTD_H
622 # include <unistd.h>
623 #endif"
625 ac_subst_vars='LTLIBOBJS
626 LIBOBJS
627 ALL_VARS_RULES
628 LDAP_LIBS
629 LDAP_CFLAGS
630 RT_LIBS
631 POLL_LIBS
632 DL_LIBS
633 TOOLSEXT
634 MSVCRTFLAGS
635 EXCESS_PRECISION_CFLAGS
636 EXTRACFLAGS
637 VKD3D_LIBS
638 VKD3D_CFLAGS
639 NETAPI_LIBS
640 NETAPI_CFLAGS
641 PROCSTAT_LIBS
642 KSTAT_LIBS
643 MPG123_LIBS
644 MPG123_CFLAGS
645 TIFF_LIBS
646 TIFF_CFLAGS
647 PNG_LIBS
648 PNG_CFLAGS
649 JPEG_LIBS
650 JPEG_CFLAGS
651 GSSAPI_LIBS
652 GSSAPI_CFLAGS
653 KRB5_LIBS
654 KRB5_CFLAGS
655 FONTCONFIG_LIBS
656 FONTCONFIG_CFLAGS
657 CUPS_LIBS
658 CUPS_CFLAGS
659 CAPI20_LIBS
660 CAPI20_CFLAGS
661 FAUDIO_LIBS
662 FAUDIO_CFLAGS
663 SDL2_LIBS
664 SDL2_CFLAGS
665 UNWIND_LIBS
666 UNWIND_CFLAGS
667 UDEV_LIBS
668 UDEV_CFLAGS
669 OSS4_LIBS
670 OSS4_CFLAGS
671 ALSA_LIBS
672 GSTREAMER_LIBS
673 GSTREAMER_CFLAGS
674 PULSE_LIBS
675 PULSE_CFLAGS
676 GETTEXTPO_LIBS
677 Z_LIBS
678 Z_CFLAGS
679 FREETYPE_LIBS
680 FREETYPE_CFLAGS
681 LCMS2_LIBS
682 LCMS2_CFLAGS
683 RESOLV_LIBS
684 GPHOTO2_PORT_LIBS
685 GPHOTO2_PORT_CFLAGS
686 GPHOTO2_LIBS
687 GPHOTO2_CFLAGS
688 SANE_LIBS
689 SANE_CFLAGS
690 GNUTLS_LIBS
691 GNUTLS_CFLAGS
692 HAL_LIBS
693 HAL_CFLAGS
694 DBUS_LIBS
695 DBUS_CFLAGS
696 INOTIFY_LIBS
697 INOTIFY_CFLAGS
698 XSLT_LIBS
699 XSLT_CFLAGS
700 XML2_LIBS
701 XML2_CFLAGS
702 PCAP_LIBS
703 X_EXTRA_LIBS
704 X_LIBS
705 X_PRE_LIBS
706 X_CFLAGS
707 XMKMF
708 PTHREAD_LIBS
709 DELAYLOADFLAG
710 EXTRACROSSCFLAGS
711 CROSSCFLAGS
712 CROSSCC
713 CROSSTARGET
714 LIBWINE_DEPENDS
715 PRELINK
716 WINELOADER_DEPENDS
717 LIBWINE_LDFLAGS
718 LIBWINE_SHAREDLIB
719 METAL_LIBS
720 CARBON_LIBS
721 QUICKTIME_LIBS
722 OPENCL_LIBS
723 OPENAL_LIBS
724 COREAUDIO_LIBS
725 SECURITY_LIBS
726 DISKARBITRATION_LIBS
727 SYSTEMCONFIGURATION_LIBS
728 APPKIT_LIBS
729 CORESERVICES_LIBS
730 APPLICATIONSERVICES_LIBS
731 FORCEFEEDBACK_LIBS
732 IOKIT_LIBS
733 COREFOUNDATION_LIBS
734 OBJCPP
735 ac_ct_OBJC
736 OBJCFLAGS
737 OBJC
738 DLLTOOL
739 WINELOADER_PROGRAMS
740 CONFIGURE_TARGETS
741 DISABLED_SUBDIRS
742 SUBDIRS
743 READELF
744 OTOOL
746 WINEPRELOADER_LDFLAGS
747 WINELOADER_LDFLAGS
748 TOP_INSTALL_DEV
749 TOP_INSTALL_LIB
750 LDEXECFLAGS
751 LDDLLFLAGS
752 LDRPATH_LOCAL
753 LDRPATH_INSTALL
754 DLLFLAGS
756 OPENGL_LIBS
757 I386_LIBS
758 ICOTOOL
759 CONVERT
760 RSVG
761 FONTFORGE
762 PKG_CONFIG
763 MSGFMT
764 LDCONFIG
765 EGREP
766 GREP
767 LN_S
768 RANLIB
769 STRIP
770 ac_ct_AR
772 BISON
773 FLEX
774 TOOLSDIR
775 TARGETFLAGS
777 CPPBIN
778 ac_ct_CXX
779 CXXFLAGS
781 OBJEXT
782 EXEEXT
783 ac_ct_CC
784 CPPFLAGS
785 LDFLAGS
786 CFLAGS
788 SET_MAKE
789 host_os
790 host_vendor
791 host_cpu
792 host
793 build_os
794 build_vendor
795 build_cpu
796 build
797 target_alias
798 host_alias
799 build_alias
800 LIBS
801 ECHO_T
802 ECHO_N
803 ECHO_C
804 DEFS
805 mandir
806 localedir
807 libdir
808 psdir
809 pdfdir
810 dvidir
811 htmldir
812 infodir
813 docdir
814 oldincludedir
815 includedir
816 runstatedir
817 localstatedir
818 sharedstatedir
819 sysconfdir
820 datadir
821 datarootdir
822 libexecdir
823 sbindir
824 bindir
825 program_transform_name
826 prefix
827 exec_prefix
828 PACKAGE_URL
829 PACKAGE_BUGREPORT
830 PACKAGE_STRING
831 PACKAGE_VERSION
832 PACKAGE_TARNAME
833 PACKAGE_NAME
834 PATH_SEPARATOR
835 SHELL'
836 ac_subst_files=''
837 ac_user_opts='
838 enable_option_checking
839 enable_win16
840 enable_win64
841 enable_tests
842 enable_maintainer_mode
843 with_alsa
844 with_capi
845 with_cms
846 with_coreaudio
847 with_cups
848 with_curses
849 with_dbus
850 with_faudio
851 with_float_abi
852 with_fontconfig
853 with_freetype
854 with_gettext
855 with_gettextpo
856 with_gphoto
857 with_glu
858 with_gnutls
859 with_gsm
860 with_gssapi
861 with_gstreamer
862 with_hal
863 with_inotify
864 with_jpeg
865 with_krb5
866 with_ldap
867 with_mingw
868 with_mpg123
869 with_netapi
870 with_openal
871 with_opencl
872 with_opengl
873 with_osmesa
874 with_oss
875 with_pcap
876 with_png
877 with_pthread
878 with_pulse
879 with_sane
880 with_sdl
881 with_tiff
882 with_udev
883 with_unwind
884 with_v4l2
885 with_vkd3d
886 with_vulkan
887 with_xcomposite
888 with_xcursor
889 with_xfixes
890 with_xinerama
891 with_xinput
892 with_xinput2
893 with_xml
894 with_xrandr
895 with_xrender
896 with_xshape
897 with_xshm
898 with_xslt
899 with_xxf86vm
900 with_zlib
901 with_wine_tools
902 with_wine64
903 enable_largefile
904 with_x
905 enable_acledit
906 enable_aclui
907 enable_activeds
908 enable_actxprxy
909 enable_adsiid
910 enable_adsldp
911 enable_adsldpc
912 enable_advapi32
913 enable_advpack
914 enable_amsi
915 enable_amstream
916 enable_api_ms_win_appmodel_identity_l1_1_0
917 enable_api_ms_win_appmodel_runtime_l1_1_1
918 enable_api_ms_win_appmodel_runtime_l1_1_2
919 enable_api_ms_win_core_apiquery_l1_1_0
920 enable_api_ms_win_core_appcompat_l1_1_1
921 enable_api_ms_win_core_appinit_l1_1_0
922 enable_api_ms_win_core_atoms_l1_1_0
923 enable_api_ms_win_core_bem_l1_1_0
924 enable_api_ms_win_core_com_l1_1_0
925 enable_api_ms_win_core_com_l1_1_1
926 enable_api_ms_win_core_com_private_l1_1_0
927 enable_api_ms_win_core_comm_l1_1_0
928 enable_api_ms_win_core_console_l1_1_0
929 enable_api_ms_win_core_console_l2_1_0
930 enable_api_ms_win_core_crt_l1_1_0
931 enable_api_ms_win_core_crt_l2_1_0
932 enable_api_ms_win_core_datetime_l1_1_0
933 enable_api_ms_win_core_datetime_l1_1_1
934 enable_api_ms_win_core_debug_l1_1_0
935 enable_api_ms_win_core_debug_l1_1_1
936 enable_api_ms_win_core_delayload_l1_1_0
937 enable_api_ms_win_core_delayload_l1_1_1
938 enable_api_ms_win_core_errorhandling_l1_1_0
939 enable_api_ms_win_core_errorhandling_l1_1_1
940 enable_api_ms_win_core_errorhandling_l1_1_2
941 enable_api_ms_win_core_errorhandling_l1_1_3
942 enable_api_ms_win_core_fibers_l1_1_0
943 enable_api_ms_win_core_fibers_l1_1_1
944 enable_api_ms_win_core_file_l1_1_0
945 enable_api_ms_win_core_file_l1_2_0
946 enable_api_ms_win_core_file_l1_2_1
947 enable_api_ms_win_core_file_l1_2_2
948 enable_api_ms_win_core_file_l2_1_0
949 enable_api_ms_win_core_file_l2_1_1
950 enable_api_ms_win_core_file_l2_1_2
951 enable_api_ms_win_core_handle_l1_1_0
952 enable_api_ms_win_core_heap_l1_1_0
953 enable_api_ms_win_core_heap_l1_2_0
954 enable_api_ms_win_core_heap_l2_1_0
955 enable_api_ms_win_core_heap_obsolete_l1_1_0
956 enable_api_ms_win_core_interlocked_l1_1_0
957 enable_api_ms_win_core_interlocked_l1_2_0
958 enable_api_ms_win_core_io_l1_1_0
959 enable_api_ms_win_core_io_l1_1_1
960 enable_api_ms_win_core_job_l1_1_0
961 enable_api_ms_win_core_job_l2_1_0
962 enable_api_ms_win_core_kernel32_legacy_l1_1_0
963 enable_api_ms_win_core_kernel32_legacy_l1_1_1
964 enable_api_ms_win_core_kernel32_private_l1_1_1
965 enable_api_ms_win_core_largeinteger_l1_1_0
966 enable_api_ms_win_core_libraryloader_l1_1_0
967 enable_api_ms_win_core_libraryloader_l1_1_1
968 enable_api_ms_win_core_libraryloader_l1_2_0
969 enable_api_ms_win_core_libraryloader_l1_2_1
970 enable_api_ms_win_core_libraryloader_l1_2_2
971 enable_api_ms_win_core_localization_l1_1_0
972 enable_api_ms_win_core_localization_l1_2_0
973 enable_api_ms_win_core_localization_l1_2_1
974 enable_api_ms_win_core_localization_l2_1_0
975 enable_api_ms_win_core_localization_obsolete_l1_1_0
976 enable_api_ms_win_core_localization_obsolete_l1_2_0
977 enable_api_ms_win_core_localization_obsolete_l1_3_0
978 enable_api_ms_win_core_localization_private_l1_1_0
979 enable_api_ms_win_core_localregistry_l1_1_0
980 enable_api_ms_win_core_memory_l1_1_0
981 enable_api_ms_win_core_memory_l1_1_1
982 enable_api_ms_win_core_memory_l1_1_2
983 enable_api_ms_win_core_misc_l1_1_0
984 enable_api_ms_win_core_namedpipe_l1_1_0
985 enable_api_ms_win_core_namedpipe_l1_2_0
986 enable_api_ms_win_core_namespace_l1_1_0
987 enable_api_ms_win_core_normalization_l1_1_0
988 enable_api_ms_win_core_path_l1_1_0
989 enable_api_ms_win_core_privateprofile_l1_1_1
990 enable_api_ms_win_core_processenvironment_l1_1_0
991 enable_api_ms_win_core_processenvironment_l1_2_0
992 enable_api_ms_win_core_processthreads_l1_1_0
993 enable_api_ms_win_core_processthreads_l1_1_1
994 enable_api_ms_win_core_processthreads_l1_1_2
995 enable_api_ms_win_core_processthreads_l1_1_3
996 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
997 enable_api_ms_win_core_profile_l1_1_0
998 enable_api_ms_win_core_psapi_ansi_l1_1_0
999 enable_api_ms_win_core_psapi_l1_1_0
1000 enable_api_ms_win_core_psapi_obsolete_l1_1_0
1001 enable_api_ms_win_core_quirks_l1_1_0
1002 enable_api_ms_win_core_realtime_l1_1_0
1003 enable_api_ms_win_core_registry_l1_1_0
1004 enable_api_ms_win_core_registry_l2_1_0
1005 enable_api_ms_win_core_registryuserspecific_l1_1_0
1006 enable_api_ms_win_core_rtlsupport_l1_1_0
1007 enable_api_ms_win_core_rtlsupport_l1_2_0
1008 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
1009 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
1010 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
1011 enable_api_ms_win_core_shutdown_l1_1_0
1012 enable_api_ms_win_core_sidebyside_l1_1_0
1013 enable_api_ms_win_core_string_l1_1_0
1014 enable_api_ms_win_core_string_l2_1_0
1015 enable_api_ms_win_core_string_obsolete_l1_1_0
1016 enable_api_ms_win_core_stringansi_l1_1_0
1017 enable_api_ms_win_core_stringloader_l1_1_1
1018 enable_api_ms_win_core_synch_ansi_l1_1_0
1019 enable_api_ms_win_core_synch_l1_1_0
1020 enable_api_ms_win_core_synch_l1_2_0
1021 enable_api_ms_win_core_synch_l1_2_1
1022 enable_api_ms_win_core_sysinfo_l1_1_0
1023 enable_api_ms_win_core_sysinfo_l1_2_0
1024 enable_api_ms_win_core_sysinfo_l1_2_1
1025 enable_api_ms_win_core_threadpool_l1_1_0
1026 enable_api_ms_win_core_threadpool_l1_2_0
1027 enable_api_ms_win_core_threadpool_legacy_l1_1_0
1028 enable_api_ms_win_core_threadpool_private_l1_1_0
1029 enable_api_ms_win_core_timezone_l1_1_0
1030 enable_api_ms_win_core_toolhelp_l1_1_0
1031 enable_api_ms_win_core_url_l1_1_0
1032 enable_api_ms_win_core_util_l1_1_0
1033 enable_api_ms_win_core_version_l1_1_0
1034 enable_api_ms_win_core_version_l1_1_1
1035 enable_api_ms_win_core_version_private_l1_1_0
1036 enable_api_ms_win_core_versionansi_l1_1_0
1037 enable_api_ms_win_core_windowserrorreporting_l1_1_0
1038 enable_api_ms_win_core_winrt_error_l1_1_0
1039 enable_api_ms_win_core_winrt_error_l1_1_1
1040 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
1041 enable_api_ms_win_core_winrt_l1_1_0
1042 enable_api_ms_win_core_winrt_registration_l1_1_0
1043 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
1044 enable_api_ms_win_core_winrt_string_l1_1_0
1045 enable_api_ms_win_core_winrt_string_l1_1_1
1046 enable_api_ms_win_core_wow64_l1_1_0
1047 enable_api_ms_win_core_wow64_l1_1_1
1048 enable_api_ms_win_core_xstate_l1_1_0
1049 enable_api_ms_win_core_xstate_l2_1_0
1050 enable_api_ms_win_crt_conio_l1_1_0
1051 enable_api_ms_win_crt_convert_l1_1_0
1052 enable_api_ms_win_crt_environment_l1_1_0
1053 enable_api_ms_win_crt_filesystem_l1_1_0
1054 enable_api_ms_win_crt_heap_l1_1_0
1055 enable_api_ms_win_crt_locale_l1_1_0
1056 enable_api_ms_win_crt_math_l1_1_0
1057 enable_api_ms_win_crt_multibyte_l1_1_0
1058 enable_api_ms_win_crt_private_l1_1_0
1059 enable_api_ms_win_crt_process_l1_1_0
1060 enable_api_ms_win_crt_runtime_l1_1_0
1061 enable_api_ms_win_crt_stdio_l1_1_0
1062 enable_api_ms_win_crt_string_l1_1_0
1063 enable_api_ms_win_crt_time_l1_1_0
1064 enable_api_ms_win_crt_utility_l1_1_0
1065 enable_api_ms_win_devices_config_l1_1_0
1066 enable_api_ms_win_devices_config_l1_1_1
1067 enable_api_ms_win_devices_query_l1_1_1
1068 enable_api_ms_win_downlevel_advapi32_l1_1_0
1069 enable_api_ms_win_downlevel_advapi32_l2_1_0
1070 enable_api_ms_win_downlevel_normaliz_l1_1_0
1071 enable_api_ms_win_downlevel_ole32_l1_1_0
1072 enable_api_ms_win_downlevel_shell32_l1_1_0
1073 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1074 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1075 enable_api_ms_win_downlevel_user32_l1_1_0
1076 enable_api_ms_win_downlevel_version_l1_1_0
1077 enable_api_ms_win_dx_d3dkmt_l1_1_0
1078 enable_api_ms_win_eventing_classicprovider_l1_1_0
1079 enable_api_ms_win_eventing_consumer_l1_1_0
1080 enable_api_ms_win_eventing_controller_l1_1_0
1081 enable_api_ms_win_eventing_legacy_l1_1_0
1082 enable_api_ms_win_eventing_provider_l1_1_0
1083 enable_api_ms_win_eventlog_legacy_l1_1_0
1084 enable_api_ms_win_gdi_dpiinfo_l1_1_0
1085 enable_api_ms_win_mm_joystick_l1_1_0
1086 enable_api_ms_win_mm_misc_l1_1_1
1087 enable_api_ms_win_mm_mme_l1_1_0
1088 enable_api_ms_win_mm_time_l1_1_0
1089 enable_api_ms_win_ntuser_dc_access_l1_1_0
1090 enable_api_ms_win_ntuser_rectangle_l1_1_0
1091 enable_api_ms_win_ntuser_sysparams_l1_1_0
1092 enable_api_ms_win_perf_legacy_l1_1_0
1093 enable_api_ms_win_power_base_l1_1_0
1094 enable_api_ms_win_power_setting_l1_1_0
1095 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
1096 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1097 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
1098 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
1099 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
1100 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
1101 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
1102 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1103 enable_api_ms_win_security_audit_l1_1_1
1104 enable_api_ms_win_security_base_l1_1_0
1105 enable_api_ms_win_security_base_l1_2_0
1106 enable_api_ms_win_security_base_private_l1_1_1
1107 enable_api_ms_win_security_credentials_l1_1_0
1108 enable_api_ms_win_security_cryptoapi_l1_1_0
1109 enable_api_ms_win_security_grouppolicy_l1_1_0
1110 enable_api_ms_win_security_lsalookup_l1_1_0
1111 enable_api_ms_win_security_lsalookup_l1_1_1
1112 enable_api_ms_win_security_lsalookup_l2_1_0
1113 enable_api_ms_win_security_lsalookup_l2_1_1
1114 enable_api_ms_win_security_lsapolicy_l1_1_0
1115 enable_api_ms_win_security_provider_l1_1_0
1116 enable_api_ms_win_security_sddl_l1_1_0
1117 enable_api_ms_win_security_systemfunctions_l1_1_0
1118 enable_api_ms_win_service_core_l1_1_0
1119 enable_api_ms_win_service_core_l1_1_1
1120 enable_api_ms_win_service_management_l1_1_0
1121 enable_api_ms_win_service_management_l2_1_0
1122 enable_api_ms_win_service_private_l1_1_1
1123 enable_api_ms_win_service_winsvc_l1_1_0
1124 enable_api_ms_win_service_winsvc_l1_2_0
1125 enable_api_ms_win_shcore_obsolete_l1_1_0
1126 enable_api_ms_win_shcore_scaling_l1_1_1
1127 enable_api_ms_win_shcore_stream_l1_1_0
1128 enable_api_ms_win_shcore_thread_l1_1_0
1129 enable_api_ms_win_shell_shellcom_l1_1_0
1130 enable_api_ms_win_shell_shellfolders_l1_1_0
1131 enable_apphelp
1132 enable_appwiz_cpl
1133 enable_atl
1134 enable_atl100
1135 enable_atl110
1136 enable_atl80
1137 enable_atl90
1138 enable_atlthunk
1139 enable_atmlib
1140 enable_authz
1141 enable_avicap32
1142 enable_avifil32
1143 enable_avrt
1144 enable_bcrypt
1145 enable_bluetoothapis
1146 enable_browseui
1147 enable_bthprops_cpl
1148 enable_cabinet
1149 enable_capi2032
1150 enable_cards
1151 enable_cdosys
1152 enable_cfgmgr32
1153 enable_clusapi
1154 enable_combase
1155 enable_comcat
1156 enable_comctl32
1157 enable_comdlg32
1158 enable_compstui
1159 enable_comsvcs
1160 enable_concrt140
1161 enable_connect
1162 enable_credui
1163 enable_crtdll
1164 enable_crypt32
1165 enable_cryptdlg
1166 enable_cryptdll
1167 enable_cryptext
1168 enable_cryptnet
1169 enable_cryptui
1170 enable_ctapi32
1171 enable_ctl3d32
1172 enable_d2d1
1173 enable_d3d10
1174 enable_d3d10_1
1175 enable_d3d10core
1176 enable_d3d11
1177 enable_d3d12
1178 enable_d3d8
1179 enable_d3d9
1180 enable_d3dcompiler_33
1181 enable_d3dcompiler_34
1182 enable_d3dcompiler_35
1183 enable_d3dcompiler_36
1184 enable_d3dcompiler_37
1185 enable_d3dcompiler_38
1186 enable_d3dcompiler_39
1187 enable_d3dcompiler_40
1188 enable_d3dcompiler_41
1189 enable_d3dcompiler_42
1190 enable_d3dcompiler_43
1191 enable_d3dcompiler_46
1192 enable_d3dcompiler_47
1193 enable_d3dim
1194 enable_d3drm
1195 enable_d3dx10_33
1196 enable_d3dx10_34
1197 enable_d3dx10_35
1198 enable_d3dx10_36
1199 enable_d3dx10_37
1200 enable_d3dx10_38
1201 enable_d3dx10_39
1202 enable_d3dx10_40
1203 enable_d3dx10_41
1204 enable_d3dx10_42
1205 enable_d3dx10_43
1206 enable_d3dx11_42
1207 enable_d3dx11_43
1208 enable_d3dx9_24
1209 enable_d3dx9_25
1210 enable_d3dx9_26
1211 enable_d3dx9_27
1212 enable_d3dx9_28
1213 enable_d3dx9_29
1214 enable_d3dx9_30
1215 enable_d3dx9_31
1216 enable_d3dx9_32
1217 enable_d3dx9_33
1218 enable_d3dx9_34
1219 enable_d3dx9_35
1220 enable_d3dx9_36
1221 enable_d3dx9_37
1222 enable_d3dx9_38
1223 enable_d3dx9_39
1224 enable_d3dx9_40
1225 enable_d3dx9_41
1226 enable_d3dx9_42
1227 enable_d3dx9_43
1228 enable_d3dxof
1229 enable_davclnt
1230 enable_dbgeng
1231 enable_dbghelp
1232 enable_dciman32
1233 enable_ddraw
1234 enable_ddrawex
1235 enable_devenum
1236 enable_dhcpcsvc
1237 enable_dhtmled_ocx
1238 enable_difxapi
1239 enable_dinput
1240 enable_dinput8
1241 enable_dispex
1242 enable_dmband
1243 enable_dmcompos
1244 enable_dmime
1245 enable_dmloader
1246 enable_dmoguids
1247 enable_dmscript
1248 enable_dmstyle
1249 enable_dmsynth
1250 enable_dmusic
1251 enable_dmusic32
1252 enable_dnsapi
1253 enable_dplay
1254 enable_dplayx
1255 enable_dpnaddr
1256 enable_dpnet
1257 enable_dpnhpast
1258 enable_dpnlobby
1259 enable_dpvoice
1260 enable_dpwsockx
1261 enable_drmclien
1262 enable_dsdmo
1263 enable_dsound
1264 enable_dsquery
1265 enable_dssenh
1266 enable_dswave
1267 enable_dwmapi
1268 enable_dwrite
1269 enable_dx8vb
1270 enable_dxdiagn
1271 enable_dxerr8
1272 enable_dxerr9
1273 enable_dxgi
1274 enable_dxguid
1275 enable_dxva2
1276 enable_esent
1277 enable_evr
1278 enable_explorerframe
1279 enable_ext_ms_win_authz_context_l1_1_0
1280 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1281 enable_ext_ms_win_dwmapi_ext_l1_1_0
1282 enable_ext_ms_win_gdi_dc_create_l1_1_0
1283 enable_ext_ms_win_gdi_dc_create_l1_1_1
1284 enable_ext_ms_win_gdi_dc_l1_2_0
1285 enable_ext_ms_win_gdi_devcaps_l1_1_0
1286 enable_ext_ms_win_gdi_draw_l1_1_0
1287 enable_ext_ms_win_gdi_draw_l1_1_1
1288 enable_ext_ms_win_gdi_font_l1_1_0
1289 enable_ext_ms_win_gdi_font_l1_1_1
1290 enable_ext_ms_win_gdi_render_l1_1_0
1291 enable_ext_ms_win_kernel32_package_current_l1_1_0
1292 enable_ext_ms_win_kernel32_package_l1_1_1
1293 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
1294 enable_ext_ms_win_ntuser_draw_l1_1_0
1295 enable_ext_ms_win_ntuser_gui_l1_1_0
1296 enable_ext_ms_win_ntuser_gui_l1_3_0
1297 enable_ext_ms_win_ntuser_keyboard_l1_3_0
1298 enable_ext_ms_win_ntuser_message_l1_1_0
1299 enable_ext_ms_win_ntuser_message_l1_1_1
1300 enable_ext_ms_win_ntuser_misc_l1_1_0
1301 enable_ext_ms_win_ntuser_misc_l1_2_0
1302 enable_ext_ms_win_ntuser_misc_l1_5_1
1303 enable_ext_ms_win_ntuser_mouse_l1_1_0
1304 enable_ext_ms_win_ntuser_private_l1_1_1
1305 enable_ext_ms_win_ntuser_private_l1_3_1
1306 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1307 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1308 enable_ext_ms_win_ntuser_window_l1_1_0
1309 enable_ext_ms_win_ntuser_window_l1_1_1
1310 enable_ext_ms_win_ntuser_window_l1_1_4
1311 enable_ext_ms_win_ntuser_windowclass_l1_1_0
1312 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1313 enable_ext_ms_win_oleacc_l1_1_0
1314 enable_ext_ms_win_ras_rasapi32_l1_1_0
1315 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
1316 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1317 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1318 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
1319 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1320 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1321 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
1322 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
1323 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
1324 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1325 enable_ext_ms_win_security_credui_l1_1_0
1326 enable_ext_ms_win_security_cryptui_l1_1_0
1327 enable_ext_ms_win_shell_comctl32_init_l1_1_0
1328 enable_ext_ms_win_shell_comdlg32_l1_1_0
1329 enable_ext_ms_win_shell_shell32_l1_2_0
1330 enable_ext_ms_win_uxtheme_themes_l1_1_0
1331 enable_faultrep
1332 enable_feclient
1333 enable_fltlib
1334 enable_fltmgr_sys
1335 enable_fntcache
1336 enable_fontsub
1337 enable_fusion
1338 enable_fwpuclnt
1339 enable_gameux
1340 enable_gdi32
1341 enable_gdiplus
1342 enable_glu32
1343 enable_gphoto2_ds
1344 enable_gpkcsp
1345 enable_hal
1346 enable_hhctrl_ocx
1347 enable_hid
1348 enable_hidclass_sys
1349 enable_hlink
1350 enable_hnetcfg
1351 enable_http_sys
1352 enable_httpapi
1353 enable_iccvid
1354 enable_icmp
1355 enable_ieframe
1356 enable_ieproxy
1357 enable_imaadp32_acm
1358 enable_imagehlp
1359 enable_imm32
1360 enable_inetcomm
1361 enable_inetcpl_cpl
1362 enable_inetmib1
1363 enable_infosoft
1364 enable_initpki
1365 enable_inkobj
1366 enable_inseng
1367 enable_iphlpapi
1368 enable_iprop
1369 enable_irprops_cpl
1370 enable_itircl
1371 enable_itss
1372 enable_joy_cpl
1373 enable_jscript
1374 enable_jsproxy
1375 enable_kerberos
1376 enable_kernel32
1377 enable_kernelbase
1378 enable_ksecdd_sys
1379 enable_ksuser
1380 enable_ktmw32
1381 enable_l3codeca_acm
1382 enable_loadperf
1383 enable_localspl
1384 enable_localui
1385 enable_lz32
1386 enable_mapi32
1387 enable_mapistub
1388 enable_mciavi32
1389 enable_mcicda
1390 enable_mciqtz32
1391 enable_mciseq
1392 enable_mciwave
1393 enable_mf
1394 enable_mf3216
1395 enable_mferror
1396 enable_mfmediaengine
1397 enable_mfplat
1398 enable_mfplay
1399 enable_mfreadwrite
1400 enable_mfuuid
1401 enable_mgmtapi
1402 enable_midimap
1403 enable_mlang
1404 enable_mmcndmgr
1405 enable_mmdevapi
1406 enable_mountmgr_sys
1407 enable_mp3dmod
1408 enable_mpr
1409 enable_mprapi
1410 enable_msacm32_drv
1411 enable_msacm32
1412 enable_msado15
1413 enable_msadp32_acm
1414 enable_msasn1
1415 enable_mscat32
1416 enable_mscms
1417 enable_mscoree
1418 enable_mscorwks
1419 enable_msctf
1420 enable_msctfp
1421 enable_msdaps
1422 enable_msdelta
1423 enable_msdmo
1424 enable_msdrm
1425 enable_msftedit
1426 enable_msg711_acm
1427 enable_msgsm32_acm
1428 enable_mshtml_tlb
1429 enable_mshtml
1430 enable_msi
1431 enable_msident
1432 enable_msimg32
1433 enable_msimsg
1434 enable_msimtf
1435 enable_msisip
1436 enable_msisys_ocx
1437 enable_msls31
1438 enable_msnet32
1439 enable_mspatcha
1440 enable_msports
1441 enable_msrle32
1442 enable_msscript_ocx
1443 enable_mssign32
1444 enable_mssip32
1445 enable_mstask
1446 enable_msvcirt
1447 enable_msvcm80
1448 enable_msvcm90
1449 enable_msvcp100
1450 enable_msvcp110
1451 enable_msvcp120
1452 enable_msvcp120_app
1453 enable_msvcp140
1454 enable_msvcp60
1455 enable_msvcp70
1456 enable_msvcp71
1457 enable_msvcp80
1458 enable_msvcp90
1459 enable_msvcr100
1460 enable_msvcr110
1461 enable_msvcr120
1462 enable_msvcr120_app
1463 enable_msvcr70
1464 enable_msvcr71
1465 enable_msvcr80
1466 enable_msvcr90
1467 enable_msvcrt
1468 enable_msvcrt20
1469 enable_msvcrt40
1470 enable_msvcrtd
1471 enable_msvfw32
1472 enable_msvidc32
1473 enable_mswsock
1474 enable_msxml
1475 enable_msxml2
1476 enable_msxml3
1477 enable_msxml4
1478 enable_msxml6
1479 enable_mtxdm
1480 enable_ncrypt
1481 enable_nddeapi
1482 enable_ndis_sys
1483 enable_netapi32
1484 enable_netcfgx
1485 enable_netprofm
1486 enable_newdev
1487 enable_ninput
1488 enable_normaliz
1489 enable_npmshtml
1490 enable_npptools
1491 enable_ntdll
1492 enable_ntdsapi
1493 enable_ntoskrnl_exe
1494 enable_ntprint
1495 enable_objsel
1496 enable_odbc32
1497 enable_odbcbcp
1498 enable_odbccp32
1499 enable_odbccu32
1500 enable_ole32
1501 enable_oleacc
1502 enable_oleaut32
1503 enable_olecli32
1504 enable_oledb32
1505 enable_oledlg
1506 enable_olepro32
1507 enable_olesvr32
1508 enable_olethk32
1509 enable_opcservices
1510 enable_openal32
1511 enable_opencl
1512 enable_opengl32
1513 enable_packager
1514 enable_pdh
1515 enable_photometadatahandler
1516 enable_pidgen
1517 enable_powrprof
1518 enable_printui
1519 enable_prntvpt
1520 enable_propsys
1521 enable_psapi
1522 enable_pstorec
1523 enable_qcap
1524 enable_qedit
1525 enable_qmgr
1526 enable_qmgrprxy
1527 enable_quartz
1528 enable_query
1529 enable_qwave
1530 enable_rasapi32
1531 enable_rasdlg
1532 enable_regapi
1533 enable_resutils
1534 enable_riched20
1535 enable_riched32
1536 enable_rpcrt4
1537 enable_rsabase
1538 enable_rsaenh
1539 enable_rstrtmgr
1540 enable_rtutils
1541 enable_samlib
1542 enable_sane_ds
1543 enable_sapi
1544 enable_sas
1545 enable_scarddlg
1546 enable_sccbase
1547 enable_schannel
1548 enable_schedsvc
1549 enable_scrobj
1550 enable_scrrun
1551 enable_scsiport_sys
1552 enable_secur32
1553 enable_security
1554 enable_sensapi
1555 enable_serialui
1556 enable_setupapi
1557 enable_sfc
1558 enable_sfc_os
1559 enable_shcore
1560 enable_shdoclc
1561 enable_shdocvw
1562 enable_shell32
1563 enable_shfolder
1564 enable_shlwapi
1565 enable_slbcsp
1566 enable_slc
1567 enable_snmpapi
1568 enable_softpub
1569 enable_spoolss
1570 enable_srclient
1571 enable_sspicli
1572 enable_stdole2_tlb
1573 enable_stdole32_tlb
1574 enable_sti
1575 enable_strmbase
1576 enable_strmdll
1577 enable_strmiids
1578 enable_svrapi
1579 enable_sxs
1580 enable_t2embed
1581 enable_tapi32
1582 enable_taskschd
1583 enable_tdh
1584 enable_tdi_sys
1585 enable_traffic
1586 enable_twain_32
1587 enable_tzres
1588 enable_ucrtbase
1589 enable_uianimation
1590 enable_uiautomationcore
1591 enable_uiribbon
1592 enable_unicows
1593 enable_updspapi
1594 enable_url
1595 enable_urlmon
1596 enable_usbd_sys
1597 enable_user32
1598 enable_userenv
1599 enable_usp10
1600 enable_utildll
1601 enable_uuid
1602 enable_uxtheme
1603 enable_vbscript
1604 enable_vcomp
1605 enable_vcomp100
1606 enable_vcomp110
1607 enable_vcomp120
1608 enable_vcomp140
1609 enable_vcomp90
1610 enable_vcruntime140
1611 enable_vdmdbg
1612 enable_version
1613 enable_virtdisk
1614 enable_vssapi
1615 enable_vulkan_1
1616 enable_wbemdisp
1617 enable_wbemprox
1618 enable_wdscore
1619 enable_webservices
1620 enable_wer
1621 enable_wevtapi
1622 enable_wiaservc
1623 enable_wimgapi
1624 enable_windowscodecs
1625 enable_windowscodecsext
1626 enable_winealsa_drv
1627 enable_wineandroid_drv
1628 enable_winebus_sys
1629 enable_winecoreaudio_drv
1630 enable_winecrt0
1631 enable_wined3d
1632 enable_winegstreamer
1633 enable_winehid_sys
1634 enable_winejoystick_drv
1635 enable_winemac_drv
1636 enable_winemapi
1637 enable_wineoss_drv
1638 enable_wineps_drv
1639 enable_winepulse_drv
1640 enable_wineqtdecoder
1641 enable_winevulkan
1642 enable_winex11_drv
1643 enable_wing32
1644 enable_winhttp
1645 enable_wininet
1646 enable_winmm
1647 enable_winnls32
1648 enable_winscard
1649 enable_winspool_drv
1650 enable_winsta
1651 enable_wintab32
1652 enable_wintrust
1653 enable_winusb
1654 enable_wlanapi
1655 enable_wlanui
1656 enable_wldap32
1657 enable_wmasf
1658 enable_wmcodecdspuuid
1659 enable_wmi
1660 enable_wmiutils
1661 enable_wmp
1662 enable_wmphoto
1663 enable_wmvcore
1664 enable_wnaspi32
1665 enable_wpc
1666 enable_wpcap
1667 enable_ws2_32
1668 enable_wsdapi
1669 enable_wshom_ocx
1670 enable_wsnmp32
1671 enable_wsock32
1672 enable_wtsapi32
1673 enable_wuapi
1674 enable_wuaueng
1675 enable_x3daudio1_0
1676 enable_x3daudio1_1
1677 enable_x3daudio1_2
1678 enable_x3daudio1_3
1679 enable_x3daudio1_4
1680 enable_x3daudio1_5
1681 enable_x3daudio1_6
1682 enable_x3daudio1_7
1683 enable_xapofx1_1
1684 enable_xapofx1_2
1685 enable_xapofx1_3
1686 enable_xapofx1_4
1687 enable_xapofx1_5
1688 enable_xaudio2_0
1689 enable_xaudio2_1
1690 enable_xaudio2_2
1691 enable_xaudio2_3
1692 enable_xaudio2_4
1693 enable_xaudio2_5
1694 enable_xaudio2_6
1695 enable_xaudio2_7
1696 enable_xaudio2_8
1697 enable_xaudio2_9
1698 enable_xinput1_1
1699 enable_xinput1_2
1700 enable_xinput1_3
1701 enable_xinput1_4
1702 enable_xinput9_1_0
1703 enable_xmllite
1704 enable_xolehlp
1705 enable_xpsprint
1706 enable_xpssvcs
1707 enable_fonts
1708 enable_include
1709 enable_port
1710 enable_wine
1711 enable_wpp
1712 enable_loader
1713 enable_po
1714 enable_arp
1715 enable_aspnet_regiis
1716 enable_attrib
1717 enable_cabarc
1718 enable_cacls
1719 enable_clock
1720 enable_cmd
1721 enable_conhost
1722 enable_control
1723 enable_cscript
1724 enable_dism
1725 enable_dpnsvr
1726 enable_dxdiag
1727 enable_eject
1728 enable_expand
1729 enable_explorer
1730 enable_extrac32
1731 enable_fc
1732 enable_find
1733 enable_findstr
1734 enable_fsutil
1735 enable_hh
1736 enable_hostname
1737 enable_icacls
1738 enable_icinfo
1739 enable_iexplore
1740 enable_ipconfig
1741 enable_lodctr
1742 enable_mofcomp
1743 enable_mshta
1744 enable_msidb
1745 enable_msiexec
1746 enable_msinfo32
1747 enable_net
1748 enable_netsh
1749 enable_netstat
1750 enable_ngen
1751 enable_notepad
1752 enable_oleview
1753 enable_ping
1754 enable_plugplay
1755 enable_powershell
1756 enable_presentationfontcache
1757 enable_progman
1758 enable_reg
1759 enable_regasm
1760 enable_regedit
1761 enable_regini
1762 enable_regsvcs
1763 enable_regsvr32
1764 enable_rpcss
1765 enable_rundll32
1766 enable_sc
1767 enable_schtasks
1768 enable_sdbinst
1769 enable_secedit
1770 enable_servicemodelreg
1771 enable_services
1772 enable_shutdown
1773 enable_spoolsv
1774 enable_start
1775 enable_subst
1776 enable_svchost
1777 enable_systeminfo
1778 enable_taskkill
1779 enable_tasklist
1780 enable_taskmgr
1781 enable_termsv
1782 enable_uninstaller
1783 enable_unlodctr
1784 enable_view
1785 enable_wevtutil
1786 enable_wineboot
1787 enable_winebrowser
1788 enable_winecfg
1789 enable_wineconsole
1790 enable_winedbg
1791 enable_winedevice
1792 enable_winefile
1793 enable_winemenubuilder
1794 enable_winemine
1795 enable_winemsibuilder
1796 enable_winepath
1797 enable_winetest
1798 enable_winhlp32
1799 enable_winmgmt
1800 enable_winver
1801 enable_wmic
1802 enable_wmplayer
1803 enable_wordpad
1804 enable_write
1805 enable_wscript
1806 enable_wuauserv
1807 enable_wusa
1808 enable_xcopy
1809 enable_server
1810 enable_tools
1811 enable_sfnt2fon
1812 enable_widl
1813 enable_winebuild
1814 enable_winedump
1815 enable_winegcc
1816 enable_winemaker
1817 enable_wmc
1818 enable_wrc
1820 ac_precious_vars='build_alias
1821 host_alias
1822 target_alias
1824 CFLAGS
1825 LDFLAGS
1826 LIBS
1827 CPPFLAGS
1829 CXXFLAGS
1832 OBJC
1833 OBJCFLAGS
1834 OBJCPP
1835 XMKMF
1836 XML2_CFLAGS
1837 XML2_LIBS
1838 XSLT_CFLAGS
1839 XSLT_LIBS
1840 INOTIFY_CFLAGS
1841 INOTIFY_LIBS
1842 DBUS_CFLAGS
1843 DBUS_LIBS
1844 HAL_CFLAGS
1845 HAL_LIBS
1846 GNUTLS_CFLAGS
1847 GNUTLS_LIBS
1848 SANE_CFLAGS
1849 SANE_LIBS
1850 GPHOTO2_CFLAGS
1851 GPHOTO2_LIBS
1852 GPHOTO2_PORT_CFLAGS
1853 GPHOTO2_PORT_LIBS
1854 LCMS2_CFLAGS
1855 LCMS2_LIBS
1856 FREETYPE_CFLAGS
1857 FREETYPE_LIBS
1858 Z_CFLAGS
1859 Z_LIBS
1860 PULSE_CFLAGS
1861 PULSE_LIBS
1862 GSTREAMER_CFLAGS
1863 GSTREAMER_LIBS
1864 UDEV_CFLAGS
1865 UDEV_LIBS
1866 UNWIND_CFLAGS
1867 UNWIND_LIBS
1868 SDL2_CFLAGS
1869 SDL2_LIBS
1870 FAUDIO_CFLAGS
1871 FAUDIO_LIBS
1872 CAPI20_CFLAGS
1873 CAPI20_LIBS
1874 CUPS_CFLAGS
1875 CUPS_LIBS
1876 FONTCONFIG_CFLAGS
1877 FONTCONFIG_LIBS
1878 KRB5_CFLAGS
1879 KRB5_LIBS
1880 GSSAPI_CFLAGS
1881 GSSAPI_LIBS
1882 JPEG_CFLAGS
1883 JPEG_LIBS
1884 PNG_CFLAGS
1885 PNG_LIBS
1886 TIFF_CFLAGS
1887 TIFF_LIBS
1888 MPG123_CFLAGS
1889 MPG123_LIBS
1890 NETAPI_CFLAGS
1891 NETAPI_LIBS
1892 VKD3D_CFLAGS
1893 VKD3D_LIBS
1894 LDAP_CFLAGS
1895 LDAP_LIBS'
1898 # Initialize some variables set by options.
1899 ac_init_help=
1900 ac_init_version=false
1901 ac_unrecognized_opts=
1902 ac_unrecognized_sep=
1903 # The variables have the same names as the options, with
1904 # dashes changed to underlines.
1905 cache_file=/dev/null
1906 exec_prefix=NONE
1907 no_create=
1908 no_recursion=
1909 prefix=NONE
1910 program_prefix=NONE
1911 program_suffix=NONE
1912 program_transform_name=s,x,x,
1913 silent=
1914 site=
1915 srcdir=
1916 verbose=
1917 x_includes=NONE
1918 x_libraries=NONE
1920 # Installation directory options.
1921 # These are left unexpanded so users can "make install exec_prefix=/foo"
1922 # and all the variables that are supposed to be based on exec_prefix
1923 # by default will actually change.
1924 # Use braces instead of parens because sh, perl, etc. also accept them.
1925 # (The list follows the same order as the GNU Coding Standards.)
1926 bindir='${exec_prefix}/bin'
1927 sbindir='${exec_prefix}/sbin'
1928 libexecdir='${exec_prefix}/libexec'
1929 datarootdir='${prefix}/share'
1930 datadir='${datarootdir}'
1931 sysconfdir='${prefix}/etc'
1932 sharedstatedir='${prefix}/com'
1933 localstatedir='${prefix}/var'
1934 runstatedir='${localstatedir}/run'
1935 includedir='${prefix}/include'
1936 oldincludedir='/usr/include'
1937 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1938 infodir='${datarootdir}/info'
1939 htmldir='${docdir}'
1940 dvidir='${docdir}'
1941 pdfdir='${docdir}'
1942 psdir='${docdir}'
1943 libdir='${exec_prefix}/lib'
1944 localedir='${datarootdir}/locale'
1945 mandir='${datarootdir}/man'
1947 ac_prev=
1948 ac_dashdash=
1949 for ac_option
1951 # If the previous option needs an argument, assign it.
1952 if test -n "$ac_prev"; then
1953 eval $ac_prev=\$ac_option
1954 ac_prev=
1955 continue
1958 case $ac_option in
1959 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1960 *=) ac_optarg= ;;
1961 *) ac_optarg=yes ;;
1962 esac
1964 # Accept the important Cygnus configure options, so we can diagnose typos.
1966 case $ac_dashdash$ac_option in
1968 ac_dashdash=yes ;;
1970 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1971 ac_prev=bindir ;;
1972 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1973 bindir=$ac_optarg ;;
1975 -build | --build | --buil | --bui | --bu)
1976 ac_prev=build_alias ;;
1977 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1978 build_alias=$ac_optarg ;;
1980 -cache-file | --cache-file | --cache-fil | --cache-fi \
1981 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1982 ac_prev=cache_file ;;
1983 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1984 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1985 cache_file=$ac_optarg ;;
1987 --config-cache | -C)
1988 cache_file=config.cache ;;
1990 -datadir | --datadir | --datadi | --datad)
1991 ac_prev=datadir ;;
1992 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1993 datadir=$ac_optarg ;;
1995 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1996 | --dataroo | --dataro | --datar)
1997 ac_prev=datarootdir ;;
1998 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1999 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
2000 datarootdir=$ac_optarg ;;
2002 -disable-* | --disable-*)
2003 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
2004 # Reject names that are not valid shell variable names.
2005 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2006 as_fn_error $? "invalid feature name: $ac_useropt"
2007 ac_useropt_orig=$ac_useropt
2008 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2009 case $ac_user_opts in
2011 "enable_$ac_useropt"
2012 "*) ;;
2013 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
2014 ac_unrecognized_sep=', ';;
2015 esac
2016 eval enable_$ac_useropt=no ;;
2018 -docdir | --docdir | --docdi | --doc | --do)
2019 ac_prev=docdir ;;
2020 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
2021 docdir=$ac_optarg ;;
2023 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
2024 ac_prev=dvidir ;;
2025 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
2026 dvidir=$ac_optarg ;;
2028 -enable-* | --enable-*)
2029 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
2030 # Reject names that are not valid shell variable names.
2031 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2032 as_fn_error $? "invalid feature name: $ac_useropt"
2033 ac_useropt_orig=$ac_useropt
2034 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2035 case $ac_user_opts in
2037 "enable_$ac_useropt"
2038 "*) ;;
2039 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
2040 ac_unrecognized_sep=', ';;
2041 esac
2042 eval enable_$ac_useropt=\$ac_optarg ;;
2044 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
2045 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
2046 | --exec | --exe | --ex)
2047 ac_prev=exec_prefix ;;
2048 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
2049 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
2050 | --exec=* | --exe=* | --ex=*)
2051 exec_prefix=$ac_optarg ;;
2053 -gas | --gas | --ga | --g)
2054 # Obsolete; use --with-gas.
2055 with_gas=yes ;;
2057 -help | --help | --hel | --he | -h)
2058 ac_init_help=long ;;
2059 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
2060 ac_init_help=recursive ;;
2061 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
2062 ac_init_help=short ;;
2064 -host | --host | --hos | --ho)
2065 ac_prev=host_alias ;;
2066 -host=* | --host=* | --hos=* | --ho=*)
2067 host_alias=$ac_optarg ;;
2069 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
2070 ac_prev=htmldir ;;
2071 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
2072 | --ht=*)
2073 htmldir=$ac_optarg ;;
2075 -includedir | --includedir | --includedi | --included | --include \
2076 | --includ | --inclu | --incl | --inc)
2077 ac_prev=includedir ;;
2078 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2079 | --includ=* | --inclu=* | --incl=* | --inc=*)
2080 includedir=$ac_optarg ;;
2082 -infodir | --infodir | --infodi | --infod | --info | --inf)
2083 ac_prev=infodir ;;
2084 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2085 infodir=$ac_optarg ;;
2087 -libdir | --libdir | --libdi | --libd)
2088 ac_prev=libdir ;;
2089 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2090 libdir=$ac_optarg ;;
2092 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2093 | --libexe | --libex | --libe)
2094 ac_prev=libexecdir ;;
2095 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2096 | --libexe=* | --libex=* | --libe=*)
2097 libexecdir=$ac_optarg ;;
2099 -localedir | --localedir | --localedi | --localed | --locale)
2100 ac_prev=localedir ;;
2101 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2102 localedir=$ac_optarg ;;
2104 -localstatedir | --localstatedir | --localstatedi | --localstated \
2105 | --localstate | --localstat | --localsta | --localst | --locals)
2106 ac_prev=localstatedir ;;
2107 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2108 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2109 localstatedir=$ac_optarg ;;
2111 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2112 ac_prev=mandir ;;
2113 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2114 mandir=$ac_optarg ;;
2116 -nfp | --nfp | --nf)
2117 # Obsolete; use --without-fp.
2118 with_fp=no ;;
2120 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2121 | --no-cr | --no-c | -n)
2122 no_create=yes ;;
2124 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2125 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2126 no_recursion=yes ;;
2128 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2129 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2130 | --oldin | --oldi | --old | --ol | --o)
2131 ac_prev=oldincludedir ;;
2132 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2133 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2134 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2135 oldincludedir=$ac_optarg ;;
2137 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2138 ac_prev=prefix ;;
2139 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2140 prefix=$ac_optarg ;;
2142 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2143 | --program-pre | --program-pr | --program-p)
2144 ac_prev=program_prefix ;;
2145 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2146 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2147 program_prefix=$ac_optarg ;;
2149 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2150 | --program-suf | --program-su | --program-s)
2151 ac_prev=program_suffix ;;
2152 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2153 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2154 program_suffix=$ac_optarg ;;
2156 -program-transform-name | --program-transform-name \
2157 | --program-transform-nam | --program-transform-na \
2158 | --program-transform-n | --program-transform- \
2159 | --program-transform | --program-transfor \
2160 | --program-transfo | --program-transf \
2161 | --program-trans | --program-tran \
2162 | --progr-tra | --program-tr | --program-t)
2163 ac_prev=program_transform_name ;;
2164 -program-transform-name=* | --program-transform-name=* \
2165 | --program-transform-nam=* | --program-transform-na=* \
2166 | --program-transform-n=* | --program-transform-=* \
2167 | --program-transform=* | --program-transfor=* \
2168 | --program-transfo=* | --program-transf=* \
2169 | --program-trans=* | --program-tran=* \
2170 | --progr-tra=* | --program-tr=* | --program-t=*)
2171 program_transform_name=$ac_optarg ;;
2173 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2174 ac_prev=pdfdir ;;
2175 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2176 pdfdir=$ac_optarg ;;
2178 -psdir | --psdir | --psdi | --psd | --ps)
2179 ac_prev=psdir ;;
2180 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2181 psdir=$ac_optarg ;;
2183 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2184 | -silent | --silent | --silen | --sile | --sil)
2185 silent=yes ;;
2187 -runstatedir | --runstatedir | --runstatedi | --runstated \
2188 | --runstate | --runstat | --runsta | --runst | --runs \
2189 | --run | --ru | --r)
2190 ac_prev=runstatedir ;;
2191 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2192 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2193 | --run=* | --ru=* | --r=*)
2194 runstatedir=$ac_optarg ;;
2196 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2197 ac_prev=sbindir ;;
2198 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2199 | --sbi=* | --sb=*)
2200 sbindir=$ac_optarg ;;
2202 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2203 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2204 | --sharedst | --shareds | --shared | --share | --shar \
2205 | --sha | --sh)
2206 ac_prev=sharedstatedir ;;
2207 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2208 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2209 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2210 | --sha=* | --sh=*)
2211 sharedstatedir=$ac_optarg ;;
2213 -site | --site | --sit)
2214 ac_prev=site ;;
2215 -site=* | --site=* | --sit=*)
2216 site=$ac_optarg ;;
2218 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2219 ac_prev=srcdir ;;
2220 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2221 srcdir=$ac_optarg ;;
2223 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2224 | --syscon | --sysco | --sysc | --sys | --sy)
2225 ac_prev=sysconfdir ;;
2226 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2227 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2228 sysconfdir=$ac_optarg ;;
2230 -target | --target | --targe | --targ | --tar | --ta | --t)
2231 ac_prev=target_alias ;;
2232 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2233 target_alias=$ac_optarg ;;
2235 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2236 verbose=yes ;;
2238 -version | --version | --versio | --versi | --vers | -V)
2239 ac_init_version=: ;;
2241 -with-* | --with-*)
2242 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2243 # Reject names that are not valid shell variable names.
2244 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2245 as_fn_error $? "invalid package name: $ac_useropt"
2246 ac_useropt_orig=$ac_useropt
2247 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2248 case $ac_user_opts in
2250 "with_$ac_useropt"
2251 "*) ;;
2252 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2253 ac_unrecognized_sep=', ';;
2254 esac
2255 eval with_$ac_useropt=\$ac_optarg ;;
2257 -without-* | --without-*)
2258 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2259 # Reject names that are not valid shell variable names.
2260 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2261 as_fn_error $? "invalid package name: $ac_useropt"
2262 ac_useropt_orig=$ac_useropt
2263 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2264 case $ac_user_opts in
2266 "with_$ac_useropt"
2267 "*) ;;
2268 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2269 ac_unrecognized_sep=', ';;
2270 esac
2271 eval with_$ac_useropt=no ;;
2273 --x)
2274 # Obsolete; use --with-x.
2275 with_x=yes ;;
2277 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2278 | --x-incl | --x-inc | --x-in | --x-i)
2279 ac_prev=x_includes ;;
2280 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2281 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2282 x_includes=$ac_optarg ;;
2284 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2285 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2286 ac_prev=x_libraries ;;
2287 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2288 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2289 x_libraries=$ac_optarg ;;
2291 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2292 Try \`$0 --help' for more information"
2295 *=*)
2296 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2297 # Reject names that are not valid shell variable names.
2298 case $ac_envvar in #(
2299 '' | [0-9]* | *[!_$as_cr_alnum]* )
2300 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2301 esac
2302 eval $ac_envvar=\$ac_optarg
2303 export $ac_envvar ;;
2306 # FIXME: should be removed in autoconf 3.0.
2307 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2308 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2309 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2310 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2313 esac
2314 done
2316 if test -n "$ac_prev"; then
2317 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2318 as_fn_error $? "missing argument to $ac_option"
2321 if test -n "$ac_unrecognized_opts"; then
2322 case $enable_option_checking in
2323 no) ;;
2324 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2325 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2326 esac
2329 # Check all directory arguments for consistency.
2330 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2331 datadir sysconfdir sharedstatedir localstatedir includedir \
2332 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2333 libdir localedir mandir runstatedir
2335 eval ac_val=\$$ac_var
2336 # Remove trailing slashes.
2337 case $ac_val in
2338 */ )
2339 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2340 eval $ac_var=\$ac_val;;
2341 esac
2342 # Be sure to have absolute directory names.
2343 case $ac_val in
2344 [\\/$]* | ?:[\\/]* ) continue;;
2345 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2346 esac
2347 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2348 done
2350 # There might be people who depend on the old broken behavior: `$host'
2351 # used to hold the argument of --host etc.
2352 # FIXME: To remove some day.
2353 build=$build_alias
2354 host=$host_alias
2355 target=$target_alias
2357 # FIXME: To remove some day.
2358 if test "x$host_alias" != x; then
2359 if test "x$build_alias" = x; then
2360 cross_compiling=maybe
2361 elif test "x$build_alias" != "x$host_alias"; then
2362 cross_compiling=yes
2366 ac_tool_prefix=
2367 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2369 test "$silent" = yes && exec 6>/dev/null
2372 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2373 ac_ls_di=`ls -di .` &&
2374 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2375 as_fn_error $? "working directory cannot be determined"
2376 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2377 as_fn_error $? "pwd does not report name of working directory"
2380 # Find the source files, if location was not specified.
2381 if test -z "$srcdir"; then
2382 ac_srcdir_defaulted=yes
2383 # Try the directory containing this script, then the parent directory.
2384 ac_confdir=`$as_dirname -- "$as_myself" ||
2385 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2386 X"$as_myself" : 'X\(//\)[^/]' \| \
2387 X"$as_myself" : 'X\(//\)$' \| \
2388 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2389 $as_echo X"$as_myself" |
2390 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2391 s//\1/
2394 /^X\(\/\/\)[^/].*/{
2395 s//\1/
2398 /^X\(\/\/\)$/{
2399 s//\1/
2402 /^X\(\/\).*/{
2403 s//\1/
2406 s/.*/./; q'`
2407 srcdir=$ac_confdir
2408 if test ! -r "$srcdir/$ac_unique_file"; then
2409 srcdir=..
2411 else
2412 ac_srcdir_defaulted=no
2414 if test ! -r "$srcdir/$ac_unique_file"; then
2415 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2416 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2418 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2419 ac_abs_confdir=`(
2420 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2421 pwd)`
2422 # When building in place, set srcdir=.
2423 if test "$ac_abs_confdir" = "$ac_pwd"; then
2424 srcdir=.
2426 # Remove unnecessary trailing slashes from srcdir.
2427 # Double slashes in file names in object file debugging info
2428 # mess up M-x gdb in Emacs.
2429 case $srcdir in
2430 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2431 esac
2432 for ac_var in $ac_precious_vars; do
2433 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2434 eval ac_env_${ac_var}_value=\$${ac_var}
2435 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2436 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2437 done
2440 # Report the --help message.
2442 if test "$ac_init_help" = "long"; then
2443 # Omit some internal or obsolete options to make the list less imposing.
2444 # This message is too long to be a string in the A/UX 3.1 sh.
2445 cat <<_ACEOF
2446 \`configure' configures Wine 4.21 to adapt to many kinds of systems.
2448 Usage: $0 [OPTION]... [VAR=VALUE]...
2450 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2451 VAR=VALUE. See below for descriptions of some of the useful variables.
2453 Defaults for the options are specified in brackets.
2455 Configuration:
2456 -h, --help display this help and exit
2457 --help=short display options specific to this package
2458 --help=recursive display the short help of all the included packages
2459 -V, --version display version information and exit
2460 -q, --quiet, --silent do not print \`checking ...' messages
2461 --cache-file=FILE cache test results in FILE [disabled]
2462 -C, --config-cache alias for \`--cache-file=config.cache'
2463 -n, --no-create do not create output files
2464 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2466 Installation directories:
2467 --prefix=PREFIX install architecture-independent files in PREFIX
2468 [$ac_default_prefix]
2469 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2470 [PREFIX]
2472 By default, \`make install' will install all the files in
2473 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2474 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2475 for instance \`--prefix=\$HOME'.
2477 For better control, use the options below.
2479 Fine tuning of the installation directories:
2480 --bindir=DIR user executables [EPREFIX/bin]
2481 --sbindir=DIR system admin executables [EPREFIX/sbin]
2482 --libexecdir=DIR program executables [EPREFIX/libexec]
2483 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2484 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2485 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2486 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2487 --libdir=DIR object code libraries [EPREFIX/lib]
2488 --includedir=DIR C header files [PREFIX/include]
2489 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2490 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2491 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2492 --infodir=DIR info documentation [DATAROOTDIR/info]
2493 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2494 --mandir=DIR man documentation [DATAROOTDIR/man]
2495 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2496 --htmldir=DIR html documentation [DOCDIR]
2497 --dvidir=DIR dvi documentation [DOCDIR]
2498 --pdfdir=DIR pdf documentation [DOCDIR]
2499 --psdir=DIR ps documentation [DOCDIR]
2500 _ACEOF
2502 cat <<\_ACEOF
2504 X features:
2505 --x-includes=DIR X include files are in DIR
2506 --x-libraries=DIR X library files are in DIR
2508 System types:
2509 --build=BUILD configure for building on BUILD [guessed]
2510 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2511 _ACEOF
2514 if test -n "$ac_init_help"; then
2515 case $ac_init_help in
2516 short | recursive ) echo "Configuration of Wine 4.21:";;
2517 esac
2518 cat <<\_ACEOF
2520 Optional Features:
2521 --disable-option-checking ignore unrecognized --enable/--with options
2522 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2523 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2524 --disable-win16 do not include Win16 support
2525 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2526 binaries)
2527 --disable-tests do not build the regression tests
2528 --enable-maintainer-mode
2529 enable maintainer-specific build rules
2530 --disable-largefile omit support for large files
2532 Optional Packages:
2533 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2534 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2535 --without-alsa do not use the Alsa sound support
2536 --without-capi do not use CAPI (ISDN support)
2537 --without-cms do not use CMS (color management support)
2538 --without-coreaudio do not use the CoreAudio sound support
2539 --without-cups do not use CUPS
2540 --without-curses do not use (n)curses
2541 --without-dbus do not use DBus (dynamic device support)
2542 --without-faudio do not use FAudio (XAudio2 support)
2543 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2544 --without-fontconfig do not use fontconfig
2545 --without-freetype do not use the FreeType library
2546 --without-gettext do not use gettext
2547 --with-gettextpo use the GetTextPO library to rebuild po files
2548 --without-gphoto do not use gphoto (Digital Camera support)
2549 --without-glu do not use the GLU library
2550 --without-gnutls do not use GnuTLS (schannel support)
2551 --without-gsm do not use libgsm (GSM 06.10 codec support)
2552 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2553 --without-gstreamer do not use GStreamer (codecs support)
2554 --without-hal do not use HAL (dynamic device support)
2555 --without-inotify do not use inotify (filesystem change notifications)
2556 --without-jpeg do not use JPEG
2557 --without-krb5 do not use krb5 (Kerberos)
2558 --without-ldap do not use LDAP
2559 --without-mingw do not use the MinGW cross-compiler
2560 --without-mpg123 do not use the mpg123 library
2561 --without-netapi do not use the Samba NetAPI library
2562 --without-openal do not use OpenAL
2563 --without-opencl do not use OpenCL
2564 --without-opengl do not use OpenGL
2565 --without-osmesa do not use the OSMesa library
2566 --without-oss do not use the OSS sound support
2567 --without-pcap do not use the Packet Capture library
2568 --without-png do not use PNG
2569 --without-pthread do not use the pthread library
2570 --without-pulse do not use PulseAudio sound support
2571 --without-sane do not use SANE (scanner support)
2572 --without-sdl do not use SDL
2573 --without-tiff do not use TIFF
2574 --without-udev do not use udev (plug and play support)
2575 --without-unwind do not use the libunwind library (exception
2576 handling)
2577 --without-v4l2 do not use v4l2 (video capture)
2578 --without-vkd3d do not use vkd3d (Direct3D 12 support)
2579 --without-vulkan do not use Vulkan
2580 --without-xcomposite do not use the Xcomposite extension
2581 --without-xcursor do not use the Xcursor extension
2582 --without-xfixes do not use Xfixes for clipboard change notifications
2583 --without-xinerama do not use Xinerama (multi-monitor support)
2584 --without-xinput do not use the Xinput extension
2585 --without-xinput2 do not use the Xinput 2 extension
2586 --without-xml do not use XML
2587 --without-xrandr do not use Xrandr (resolution changes)
2588 --without-xrender do not use the Xrender extension
2589 --without-xshape do not use the Xshape extension
2590 --without-xshm do not use XShm (shared memory extension)
2591 --without-xslt do not use XSLT
2592 --without-xxf86vm do not use XFree video mode extension
2593 --without-zlib do not use Zlib (data compression)
2594 --with-wine-tools=DIR use Wine tools from directory DIR
2595 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2596 --with-x use the X Window System
2598 Some influential environment variables:
2599 CC C compiler command
2600 CFLAGS C compiler flags
2601 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2602 nonstandard directory <lib dir>
2603 LIBS libraries to pass to the linker, e.g. -l<library>
2604 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2605 you have headers in a nonstandard directory <include dir>
2606 CXX C++ compiler command
2607 CXXFLAGS C++ compiler flags
2608 CPP C preprocessor
2609 OBJC Objective C compiler command
2610 OBJCFLAGS Objective C compiler flags
2611 OBJCPP Objective C preprocessor
2612 XMKMF Path to xmkmf, Makefile generator for X Window System
2613 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2614 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2615 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2616 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2617 INOTIFY_CFLAGS
2618 C compiler flags for libinotify, overriding pkg-config
2619 INOTIFY_LIBS
2620 Linker flags for libinotify, overriding pkg-config
2621 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2622 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2623 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2624 HAL_LIBS Linker flags for hal, overriding pkg-config
2625 GNUTLS_CFLAGS
2626 C compiler flags for gnutls, overriding pkg-config
2627 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2628 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2629 SANE_LIBS Linker flags for libsane, overriding pkg-config
2630 GPHOTO2_CFLAGS
2631 C compiler flags for libgphoto2, overriding pkg-config
2632 GPHOTO2_LIBS
2633 Linker flags for libgphoto2, overriding pkg-config
2634 GPHOTO2_PORT_CFLAGS
2635 C compiler flags for libgphoto2_port, overriding pkg-config
2636 GPHOTO2_PORT_LIBS
2637 Linker flags for libgphoto2_port, overriding pkg-config
2638 LCMS2_CFLAGS
2639 C compiler flags for lcms2, overriding pkg-config
2640 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2641 FREETYPE_CFLAGS
2642 C compiler flags for freetype2, overriding pkg-config
2643 FREETYPE_LIBS
2644 Linker flags for freetype2, overriding pkg-config
2645 Z_CFLAGS C compiler flags for libz, overriding pkg-config
2646 Z_LIBS Linker flags for libz, overriding pkg-config
2647 PULSE_CFLAGS
2648 C compiler flags for libpulse, overriding pkg-config
2649 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2650 GSTREAMER_CFLAGS
2651 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2652 gstreamer-audio-1.0, overriding pkg-config
2653 GSTREAMER_LIBS
2654 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2655 gstreamer-audio-1.0, overriding pkg-config
2656 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2657 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2658 UNWIND_CFLAGS
2659 C compiler flags for libunwind, overriding pkg-config
2660 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2661 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2662 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2663 FAUDIO_CFLAGS
2664 C compiler flags for faudio, overriding pkg-config
2665 FAUDIO_LIBS Linker flags for faudio, overriding pkg-config
2666 CAPI20_CFLAGS
2667 C compiler flags for capi20, overriding pkg-config
2668 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2669 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2670 CUPS_LIBS Linker flags for cups, overriding pkg-config
2671 FONTCONFIG_CFLAGS
2672 C compiler flags for fontconfig, overriding pkg-config
2673 FONTCONFIG_LIBS
2674 Linker flags for fontconfig, overriding pkg-config
2675 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2676 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2677 GSSAPI_CFLAGS
2678 C compiler flags for krb5-gssapi, overriding pkg-config
2679 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2680 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2681 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2682 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2683 PNG_LIBS Linker flags for libpng, overriding pkg-config
2684 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2685 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2686 MPG123_CFLAGS
2687 C compiler flags for libmpg123, overriding pkg-config
2688 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2689 NETAPI_CFLAGS
2690 C compiler flags for netapi, overriding pkg-config
2691 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2692 VKD3D_CFLAGS
2693 C compiler flags for libvkd3d, overriding pkg-config
2694 VKD3D_LIBS Linker flags for libvkd3d, overriding pkg-config
2695 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2696 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2698 Use these variables to override the choices made by `configure' or to help
2699 it to find libraries and programs with nonstandard names/locations.
2701 Report bugs to <wine-devel@winehq.org>.
2702 Wine home page: <https://www.winehq.org>.
2703 _ACEOF
2704 ac_status=$?
2707 if test "$ac_init_help" = "recursive"; then
2708 # If there are subdirs, report their specific --help.
2709 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2710 test -d "$ac_dir" ||
2711 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2712 continue
2713 ac_builddir=.
2715 case "$ac_dir" in
2716 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2718 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2719 # A ".." for each directory in $ac_dir_suffix.
2720 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2721 case $ac_top_builddir_sub in
2722 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2723 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2724 esac ;;
2725 esac
2726 ac_abs_top_builddir=$ac_pwd
2727 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2728 # for backward compatibility:
2729 ac_top_builddir=$ac_top_build_prefix
2731 case $srcdir in
2732 .) # We are building in place.
2733 ac_srcdir=.
2734 ac_top_srcdir=$ac_top_builddir_sub
2735 ac_abs_top_srcdir=$ac_pwd ;;
2736 [\\/]* | ?:[\\/]* ) # Absolute name.
2737 ac_srcdir=$srcdir$ac_dir_suffix;
2738 ac_top_srcdir=$srcdir
2739 ac_abs_top_srcdir=$srcdir ;;
2740 *) # Relative name.
2741 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2742 ac_top_srcdir=$ac_top_build_prefix$srcdir
2743 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2744 esac
2745 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2747 cd "$ac_dir" || { ac_status=$?; continue; }
2748 # Check for guested configure.
2749 if test -f "$ac_srcdir/configure.gnu"; then
2750 echo &&
2751 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2752 elif test -f "$ac_srcdir/configure"; then
2753 echo &&
2754 $SHELL "$ac_srcdir/configure" --help=recursive
2755 else
2756 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2757 fi || ac_status=$?
2758 cd "$ac_pwd" || { ac_status=$?; break; }
2759 done
2762 test -n "$ac_init_help" && exit $ac_status
2763 if $ac_init_version; then
2764 cat <<\_ACEOF
2765 Wine configure 4.21
2766 generated by GNU Autoconf 2.69
2768 Copyright (C) 2012 Free Software Foundation, Inc.
2769 This configure script is free software; the Free Software Foundation
2770 gives unlimited permission to copy, distribute and modify it.
2771 _ACEOF
2772 exit
2775 ## ------------------------ ##
2776 ## Autoconf initialization. ##
2777 ## ------------------------ ##
2779 # ac_fn_c_try_compile LINENO
2780 # --------------------------
2781 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2782 ac_fn_c_try_compile ()
2784 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2785 rm -f conftest.$ac_objext
2786 if { { ac_try="$ac_compile"
2787 case "(($ac_try" in
2788 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2789 *) ac_try_echo=$ac_try;;
2790 esac
2791 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2792 $as_echo "$ac_try_echo"; } >&5
2793 (eval "$ac_compile") 2>conftest.err
2794 ac_status=$?
2795 if test -s conftest.err; then
2796 grep -v '^ *+' conftest.err >conftest.er1
2797 cat conftest.er1 >&5
2798 mv -f conftest.er1 conftest.err
2800 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2801 test $ac_status = 0; } && {
2802 test -z "$ac_c_werror_flag" ||
2803 test ! -s conftest.err
2804 } && test -s conftest.$ac_objext; then :
2805 ac_retval=0
2806 else
2807 $as_echo "$as_me: failed program was:" >&5
2808 sed 's/^/| /' conftest.$ac_ext >&5
2810 ac_retval=1
2812 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2813 as_fn_set_status $ac_retval
2815 } # ac_fn_c_try_compile
2817 # ac_fn_cxx_try_compile LINENO
2818 # ----------------------------
2819 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2820 ac_fn_cxx_try_compile ()
2822 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2823 rm -f conftest.$ac_objext
2824 if { { ac_try="$ac_compile"
2825 case "(($ac_try" in
2826 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2827 *) ac_try_echo=$ac_try;;
2828 esac
2829 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2830 $as_echo "$ac_try_echo"; } >&5
2831 (eval "$ac_compile") 2>conftest.err
2832 ac_status=$?
2833 if test -s conftest.err; then
2834 grep -v '^ *+' conftest.err >conftest.er1
2835 cat conftest.er1 >&5
2836 mv -f conftest.er1 conftest.err
2838 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2839 test $ac_status = 0; } && {
2840 test -z "$ac_cxx_werror_flag" ||
2841 test ! -s conftest.err
2842 } && test -s conftest.$ac_objext; then :
2843 ac_retval=0
2844 else
2845 $as_echo "$as_me: failed program was:" >&5
2846 sed 's/^/| /' conftest.$ac_ext >&5
2848 ac_retval=1
2850 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2851 as_fn_set_status $ac_retval
2853 } # ac_fn_cxx_try_compile
2855 # ac_fn_c_try_link LINENO
2856 # -----------------------
2857 # Try to link conftest.$ac_ext, and return whether this succeeded.
2858 ac_fn_c_try_link ()
2860 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2861 rm -f conftest.$ac_objext conftest$ac_exeext
2862 if { { ac_try="$ac_link"
2863 case "(($ac_try" in
2864 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2865 *) ac_try_echo=$ac_try;;
2866 esac
2867 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2868 $as_echo "$ac_try_echo"; } >&5
2869 (eval "$ac_link") 2>conftest.err
2870 ac_status=$?
2871 if test -s conftest.err; then
2872 grep -v '^ *+' conftest.err >conftest.er1
2873 cat conftest.er1 >&5
2874 mv -f conftest.er1 conftest.err
2876 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2877 test $ac_status = 0; } && {
2878 test -z "$ac_c_werror_flag" ||
2879 test ! -s conftest.err
2880 } && test -s conftest$ac_exeext && {
2881 test "$cross_compiling" = yes ||
2882 test -x conftest$ac_exeext
2883 }; then :
2884 ac_retval=0
2885 else
2886 $as_echo "$as_me: failed program was:" >&5
2887 sed 's/^/| /' conftest.$ac_ext >&5
2889 ac_retval=1
2891 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2892 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2893 # interfere with the next link command; also delete a directory that is
2894 # left behind by Apple's compiler. We do this before executing the actions.
2895 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2896 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2897 as_fn_set_status $ac_retval
2899 } # ac_fn_c_try_link
2901 # ac_fn_c_try_cpp LINENO
2902 # ----------------------
2903 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2904 ac_fn_c_try_cpp ()
2906 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2907 if { { ac_try="$ac_cpp conftest.$ac_ext"
2908 case "(($ac_try" in
2909 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2910 *) ac_try_echo=$ac_try;;
2911 esac
2912 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2913 $as_echo "$ac_try_echo"; } >&5
2914 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2915 ac_status=$?
2916 if test -s conftest.err; then
2917 grep -v '^ *+' conftest.err >conftest.er1
2918 cat conftest.er1 >&5
2919 mv -f conftest.er1 conftest.err
2921 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2922 test $ac_status = 0; } > conftest.i && {
2923 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2924 test ! -s conftest.err
2925 }; then :
2926 ac_retval=0
2927 else
2928 $as_echo "$as_me: failed program was:" >&5
2929 sed 's/^/| /' conftest.$ac_ext >&5
2931 ac_retval=1
2933 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2934 as_fn_set_status $ac_retval
2936 } # ac_fn_c_try_cpp
2938 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2939 # -------------------------------------------------------
2940 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2941 # the include files in INCLUDES and setting the cache variable VAR
2942 # accordingly.
2943 ac_fn_c_check_header_mongrel ()
2945 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2946 if eval \${$3+:} false; then :
2947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2948 $as_echo_n "checking for $2... " >&6; }
2949 if eval \${$3+:} false; then :
2950 $as_echo_n "(cached) " >&6
2952 eval ac_res=\$$3
2953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2954 $as_echo "$ac_res" >&6; }
2955 else
2956 # Is the header compilable?
2957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2958 $as_echo_n "checking $2 usability... " >&6; }
2959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2960 /* end confdefs.h. */
2962 #include <$2>
2963 _ACEOF
2964 if ac_fn_c_try_compile "$LINENO"; then :
2965 ac_header_compiler=yes
2966 else
2967 ac_header_compiler=no
2969 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2971 $as_echo "$ac_header_compiler" >&6; }
2973 # Is the header present?
2974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2975 $as_echo_n "checking $2 presence... " >&6; }
2976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2977 /* end confdefs.h. */
2978 #include <$2>
2979 _ACEOF
2980 if ac_fn_c_try_cpp "$LINENO"; then :
2981 ac_header_preproc=yes
2982 else
2983 ac_header_preproc=no
2985 rm -f conftest.err conftest.i conftest.$ac_ext
2986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2987 $as_echo "$ac_header_preproc" >&6; }
2989 # So? What about this header?
2990 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2991 yes:no: )
2992 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2993 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2994 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2995 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2997 no:yes:* )
2998 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2999 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3000 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3001 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3002 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3003 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3004 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3005 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3006 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3007 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3008 ( $as_echo "## ------------------------------------ ##
3009 ## Report this to wine-devel@winehq.org ##
3010 ## ------------------------------------ ##"
3011 ) | sed "s/^/$as_me: WARNING: /" >&2
3013 esac
3014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3015 $as_echo_n "checking for $2... " >&6; }
3016 if eval \${$3+:} false; then :
3017 $as_echo_n "(cached) " >&6
3018 else
3019 eval "$3=\$ac_header_compiler"
3021 eval ac_res=\$$3
3022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3023 $as_echo "$ac_res" >&6; }
3025 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3027 } # ac_fn_c_check_header_mongrel
3029 # ac_fn_c_try_run LINENO
3030 # ----------------------
3031 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
3032 # that executables *can* be run.
3033 ac_fn_c_try_run ()
3035 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3036 if { { ac_try="$ac_link"
3037 case "(($ac_try" in
3038 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3039 *) ac_try_echo=$ac_try;;
3040 esac
3041 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3042 $as_echo "$ac_try_echo"; } >&5
3043 (eval "$ac_link") 2>&5
3044 ac_status=$?
3045 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3046 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
3047 { { case "(($ac_try" in
3048 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3049 *) ac_try_echo=$ac_try;;
3050 esac
3051 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3052 $as_echo "$ac_try_echo"; } >&5
3053 (eval "$ac_try") 2>&5
3054 ac_status=$?
3055 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3056 test $ac_status = 0; }; }; then :
3057 ac_retval=0
3058 else
3059 $as_echo "$as_me: program exited with status $ac_status" >&5
3060 $as_echo "$as_me: failed program was:" >&5
3061 sed 's/^/| /' conftest.$ac_ext >&5
3063 ac_retval=$ac_status
3065 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3066 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3067 as_fn_set_status $ac_retval
3069 } # ac_fn_c_try_run
3071 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
3072 # -------------------------------------------------------
3073 # Tests whether HEADER exists and can be compiled using the include files in
3074 # INCLUDES, setting the cache variable VAR accordingly.
3075 ac_fn_c_check_header_compile ()
3077 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3079 $as_echo_n "checking for $2... " >&6; }
3080 if eval \${$3+:} false; then :
3081 $as_echo_n "(cached) " >&6
3082 else
3083 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3084 /* end confdefs.h. */
3086 #include <$2>
3087 _ACEOF
3088 if ac_fn_c_try_compile "$LINENO"; then :
3089 eval "$3=yes"
3090 else
3091 eval "$3=no"
3093 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3095 eval ac_res=\$$3
3096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3097 $as_echo "$ac_res" >&6; }
3098 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3100 } # ac_fn_c_check_header_compile
3102 # ac_fn_objc_try_compile LINENO
3103 # -----------------------------
3104 # Try to compile conftest.$ac_ext, and return whether this succeeded.
3105 ac_fn_objc_try_compile ()
3107 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3108 rm -f conftest.$ac_objext
3109 if { { ac_try="$ac_compile"
3110 case "(($ac_try" in
3111 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3112 *) ac_try_echo=$ac_try;;
3113 esac
3114 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3115 $as_echo "$ac_try_echo"; } >&5
3116 (eval "$ac_compile") 2>conftest.err
3117 ac_status=$?
3118 if test -s conftest.err; then
3119 grep -v '^ *+' conftest.err >conftest.er1
3120 cat conftest.er1 >&5
3121 mv -f conftest.er1 conftest.err
3123 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3124 test $ac_status = 0; } && {
3125 test -z "$ac_objc_werror_flag" ||
3126 test ! -s conftest.err
3127 } && test -s conftest.$ac_objext; then :
3128 ac_retval=0
3129 else
3130 $as_echo "$as_me: failed program was:" >&5
3131 sed 's/^/| /' conftest.$ac_ext >&5
3133 ac_retval=1
3135 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3136 as_fn_set_status $ac_retval
3138 } # ac_fn_objc_try_compile
3140 # ac_fn_objc_try_cpp LINENO
3141 # -------------------------
3142 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3143 ac_fn_objc_try_cpp ()
3145 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3146 if { { ac_try="$ac_cpp conftest.$ac_ext"
3147 case "(($ac_try" in
3148 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3149 *) ac_try_echo=$ac_try;;
3150 esac
3151 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3152 $as_echo "$ac_try_echo"; } >&5
3153 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3154 ac_status=$?
3155 if test -s conftest.err; then
3156 grep -v '^ *+' conftest.err >conftest.er1
3157 cat conftest.er1 >&5
3158 mv -f conftest.er1 conftest.err
3160 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3161 test $ac_status = 0; } > conftest.i && {
3162 test -z "$ac_objc_preproc_warn_flag$ac_objc_werror_flag" ||
3163 test ! -s conftest.err
3164 }; then :
3165 ac_retval=0
3166 else
3167 $as_echo "$as_me: failed program was:" >&5
3168 sed 's/^/| /' conftest.$ac_ext >&5
3170 ac_retval=1
3172 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3173 as_fn_set_status $ac_retval
3175 } # ac_fn_objc_try_cpp
3177 # ac_fn_objc_check_header_mongrel LINENO HEADER VAR INCLUDES
3178 # ----------------------------------------------------------
3179 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3180 # the include files in INCLUDES and setting the cache variable VAR
3181 # accordingly.
3182 ac_fn_objc_check_header_mongrel ()
3184 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3185 if eval \${$3+:} false; then :
3186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3187 $as_echo_n "checking for $2... " >&6; }
3188 if eval \${$3+:} false; then :
3189 $as_echo_n "(cached) " >&6
3191 eval ac_res=\$$3
3192 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3193 $as_echo "$ac_res" >&6; }
3194 else
3195 # Is the header compilable?
3196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3197 $as_echo_n "checking $2 usability... " >&6; }
3198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3199 /* end confdefs.h. */
3201 #include <$2>
3202 _ACEOF
3203 if ac_fn_objc_try_compile "$LINENO"; then :
3204 ac_header_compiler=yes
3205 else
3206 ac_header_compiler=no
3208 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3210 $as_echo "$ac_header_compiler" >&6; }
3212 # Is the header present?
3213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3214 $as_echo_n "checking $2 presence... " >&6; }
3215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3216 /* end confdefs.h. */
3217 #include <$2>
3218 _ACEOF
3219 if ac_fn_objc_try_cpp "$LINENO"; then :
3220 ac_header_preproc=yes
3221 else
3222 ac_header_preproc=no
3224 rm -f conftest.err conftest.i conftest.$ac_ext
3225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3226 $as_echo "$ac_header_preproc" >&6; }
3228 # So? What about this header?
3229 case $ac_header_compiler:$ac_header_preproc:$ac_objc_preproc_warn_flag in #((
3230 yes:no: )
3231 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3232 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3233 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3234 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3236 no:yes:* )
3237 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3238 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3239 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3240 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3241 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3242 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3243 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3244 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3245 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3246 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3247 ( $as_echo "## ------------------------------------ ##
3248 ## Report this to wine-devel@winehq.org ##
3249 ## ------------------------------------ ##"
3250 ) | sed "s/^/$as_me: WARNING: /" >&2
3252 esac
3253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3254 $as_echo_n "checking for $2... " >&6; }
3255 if eval \${$3+:} false; then :
3256 $as_echo_n "(cached) " >&6
3257 else
3258 eval "$3=\$ac_header_compiler"
3260 eval ac_res=\$$3
3261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3262 $as_echo "$ac_res" >&6; }
3264 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3266 } # ac_fn_objc_check_header_mongrel
3268 # ac_fn_c_check_func LINENO FUNC VAR
3269 # ----------------------------------
3270 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3271 ac_fn_c_check_func ()
3273 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3275 $as_echo_n "checking for $2... " >&6; }
3276 if eval \${$3+:} false; then :
3277 $as_echo_n "(cached) " >&6
3278 else
3279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3280 /* end confdefs.h. */
3281 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3282 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3283 #define $2 innocuous_$2
3285 /* System header to define __stub macros and hopefully few prototypes,
3286 which can conflict with char $2 (); below.
3287 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3288 <limits.h> exists even on freestanding compilers. */
3290 #ifdef __STDC__
3291 # include <limits.h>
3292 #else
3293 # include <assert.h>
3294 #endif
3296 #undef $2
3298 /* Override any GCC internal prototype to avoid an error.
3299 Use char because int might match the return type of a GCC
3300 builtin and then its argument prototype would still apply. */
3301 #ifdef __cplusplus
3302 extern "C"
3303 #endif
3304 char $2 ();
3305 /* The GNU C library defines this for functions which it implements
3306 to always fail with ENOSYS. Some functions are actually named
3307 something starting with __ and the normal name is an alias. */
3308 #if defined __stub_$2 || defined __stub___$2
3309 choke me
3310 #endif
3313 main ()
3315 return $2 ();
3317 return 0;
3319 _ACEOF
3320 if ac_fn_c_try_link "$LINENO"; then :
3321 eval "$3=yes"
3322 else
3323 eval "$3=no"
3325 rm -f core conftest.err conftest.$ac_objext \
3326 conftest$ac_exeext conftest.$ac_ext
3328 eval ac_res=\$$3
3329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3330 $as_echo "$ac_res" >&6; }
3331 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3333 } # ac_fn_c_check_func
3335 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3336 # ----------------------------------------------------
3337 # Tries to find if the field MEMBER exists in type AGGR, after including
3338 # INCLUDES, setting cache variable VAR accordingly.
3339 ac_fn_c_check_member ()
3341 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3343 $as_echo_n "checking for $2.$3... " >&6; }
3344 if eval \${$4+:} false; then :
3345 $as_echo_n "(cached) " >&6
3346 else
3347 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3348 /* end confdefs.h. */
3351 main ()
3353 static $2 ac_aggr;
3354 if (ac_aggr.$3)
3355 return 0;
3357 return 0;
3359 _ACEOF
3360 if ac_fn_c_try_compile "$LINENO"; then :
3361 eval "$4=yes"
3362 else
3363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3364 /* end confdefs.h. */
3367 main ()
3369 static $2 ac_aggr;
3370 if (sizeof ac_aggr.$3)
3371 return 0;
3373 return 0;
3375 _ACEOF
3376 if ac_fn_c_try_compile "$LINENO"; then :
3377 eval "$4=yes"
3378 else
3379 eval "$4=no"
3381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3383 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3385 eval ac_res=\$$4
3386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3387 $as_echo "$ac_res" >&6; }
3388 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3390 } # ac_fn_c_check_member
3392 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3393 # -------------------------------------------
3394 # Tests whether TYPE exists after having included INCLUDES, setting cache
3395 # variable VAR accordingly.
3396 ac_fn_c_check_type ()
3398 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3400 $as_echo_n "checking for $2... " >&6; }
3401 if eval \${$3+:} false; then :
3402 $as_echo_n "(cached) " >&6
3403 else
3404 eval "$3=no"
3405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3406 /* end confdefs.h. */
3409 main ()
3411 if (sizeof ($2))
3412 return 0;
3414 return 0;
3416 _ACEOF
3417 if ac_fn_c_try_compile "$LINENO"; then :
3418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3419 /* end confdefs.h. */
3422 main ()
3424 if (sizeof (($2)))
3425 return 0;
3427 return 0;
3429 _ACEOF
3430 if ac_fn_c_try_compile "$LINENO"; then :
3432 else
3433 eval "$3=yes"
3435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3437 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3439 eval ac_res=\$$3
3440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3441 $as_echo "$ac_res" >&6; }
3442 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3444 } # ac_fn_c_check_type
3445 cat >config.log <<_ACEOF
3446 This file contains any messages produced by compilers while
3447 running configure, to aid debugging if configure makes a mistake.
3449 It was created by Wine $as_me 4.21, which was
3450 generated by GNU Autoconf 2.69. Invocation command line was
3452 $ $0 $@
3454 _ACEOF
3455 exec 5>>config.log
3457 cat <<_ASUNAME
3458 ## --------- ##
3459 ## Platform. ##
3460 ## --------- ##
3462 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3463 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3464 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3465 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3466 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3468 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3469 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3471 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3472 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3473 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3474 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3475 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3476 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3477 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3479 _ASUNAME
3481 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3482 for as_dir in $PATH
3484 IFS=$as_save_IFS
3485 test -z "$as_dir" && as_dir=.
3486 $as_echo "PATH: $as_dir"
3487 done
3488 IFS=$as_save_IFS
3490 } >&5
3492 cat >&5 <<_ACEOF
3495 ## ----------- ##
3496 ## Core tests. ##
3497 ## ----------- ##
3499 _ACEOF
3502 # Keep a trace of the command line.
3503 # Strip out --no-create and --no-recursion so they do not pile up.
3504 # Strip out --silent because we don't want to record it for future runs.
3505 # Also quote any args containing shell meta-characters.
3506 # Make two passes to allow for proper duplicate-argument suppression.
3507 ac_configure_args=
3508 ac_configure_args0=
3509 ac_configure_args1=
3510 ac_must_keep_next=false
3511 for ac_pass in 1 2
3513 for ac_arg
3515 case $ac_arg in
3516 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3517 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3518 | -silent | --silent | --silen | --sile | --sil)
3519 continue ;;
3520 *\'*)
3521 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3522 esac
3523 case $ac_pass in
3524 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3526 as_fn_append ac_configure_args1 " '$ac_arg'"
3527 if test $ac_must_keep_next = true; then
3528 ac_must_keep_next=false # Got value, back to normal.
3529 else
3530 case $ac_arg in
3531 *=* | --config-cache | -C | -disable-* | --disable-* \
3532 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3533 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3534 | -with-* | --with-* | -without-* | --without-* | --x)
3535 case "$ac_configure_args0 " in
3536 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3537 esac
3539 -* ) ac_must_keep_next=true ;;
3540 esac
3542 as_fn_append ac_configure_args " '$ac_arg'"
3544 esac
3545 done
3546 done
3547 { ac_configure_args0=; unset ac_configure_args0;}
3548 { ac_configure_args1=; unset ac_configure_args1;}
3550 # When interrupted or exit'd, cleanup temporary files, and complete
3551 # config.log. We remove comments because anyway the quotes in there
3552 # would cause problems or look ugly.
3553 # WARNING: Use '\'' to represent an apostrophe within the trap.
3554 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3555 trap 'exit_status=$?
3556 # Save into config.log some information that might help in debugging.
3558 echo
3560 $as_echo "## ---------------- ##
3561 ## Cache variables. ##
3562 ## ---------------- ##"
3563 echo
3564 # The following way of writing the cache mishandles newlines in values,
3566 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3567 eval ac_val=\$$ac_var
3568 case $ac_val in #(
3569 *${as_nl}*)
3570 case $ac_var in #(
3571 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3572 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3573 esac
3574 case $ac_var in #(
3575 _ | IFS | as_nl) ;; #(
3576 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3577 *) { eval $ac_var=; unset $ac_var;} ;;
3578 esac ;;
3579 esac
3580 done
3581 (set) 2>&1 |
3582 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3583 *${as_nl}ac_space=\ *)
3584 sed -n \
3585 "s/'\''/'\''\\\\'\'''\''/g;
3586 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3587 ;; #(
3589 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3591 esac |
3592 sort
3594 echo
3596 $as_echo "## ----------------- ##
3597 ## Output variables. ##
3598 ## ----------------- ##"
3599 echo
3600 for ac_var in $ac_subst_vars
3602 eval ac_val=\$$ac_var
3603 case $ac_val in
3604 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3605 esac
3606 $as_echo "$ac_var='\''$ac_val'\''"
3607 done | sort
3608 echo
3610 if test -n "$ac_subst_files"; then
3611 $as_echo "## ------------------- ##
3612 ## File substitutions. ##
3613 ## ------------------- ##"
3614 echo
3615 for ac_var in $ac_subst_files
3617 eval ac_val=\$$ac_var
3618 case $ac_val in
3619 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3620 esac
3621 $as_echo "$ac_var='\''$ac_val'\''"
3622 done | sort
3623 echo
3626 if test -s confdefs.h; then
3627 $as_echo "## ----------- ##
3628 ## confdefs.h. ##
3629 ## ----------- ##"
3630 echo
3631 cat confdefs.h
3632 echo
3634 test "$ac_signal" != 0 &&
3635 $as_echo "$as_me: caught signal $ac_signal"
3636 $as_echo "$as_me: exit $exit_status"
3637 } >&5
3638 rm -f core *.core core.conftest.* &&
3639 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3640 exit $exit_status
3642 for ac_signal in 1 2 13 15; do
3643 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3644 done
3645 ac_signal=0
3647 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3648 rm -f -r conftest* confdefs.h
3650 $as_echo "/* confdefs.h */" > confdefs.h
3652 # Predefined preprocessor variables.
3654 cat >>confdefs.h <<_ACEOF
3655 #define PACKAGE_NAME "$PACKAGE_NAME"
3656 _ACEOF
3658 cat >>confdefs.h <<_ACEOF
3659 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3660 _ACEOF
3662 cat >>confdefs.h <<_ACEOF
3663 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3664 _ACEOF
3666 cat >>confdefs.h <<_ACEOF
3667 #define PACKAGE_STRING "$PACKAGE_STRING"
3668 _ACEOF
3670 cat >>confdefs.h <<_ACEOF
3671 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3672 _ACEOF
3674 cat >>confdefs.h <<_ACEOF
3675 #define PACKAGE_URL "$PACKAGE_URL"
3676 _ACEOF
3679 # Let the site file select an alternate cache file if it wants to.
3680 # Prefer an explicitly selected file to automatically selected ones.
3681 ac_site_file1=NONE
3682 ac_site_file2=NONE
3683 if test -n "$CONFIG_SITE"; then
3684 # We do not want a PATH search for config.site.
3685 case $CONFIG_SITE in #((
3686 -*) ac_site_file1=./$CONFIG_SITE;;
3687 */*) ac_site_file1=$CONFIG_SITE;;
3688 *) ac_site_file1=./$CONFIG_SITE;;
3689 esac
3690 elif test "x$prefix" != xNONE; then
3691 ac_site_file1=$prefix/share/config.site
3692 ac_site_file2=$prefix/etc/config.site
3693 else
3694 ac_site_file1=$ac_default_prefix/share/config.site
3695 ac_site_file2=$ac_default_prefix/etc/config.site
3697 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3699 test "x$ac_site_file" = xNONE && continue
3700 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3701 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3702 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3703 sed 's/^/| /' "$ac_site_file" >&5
3704 . "$ac_site_file" \
3705 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3706 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3707 as_fn_error $? "failed to load site script $ac_site_file
3708 See \`config.log' for more details" "$LINENO" 5; }
3710 done
3712 if test -r "$cache_file"; then
3713 # Some versions of bash will fail to source /dev/null (special files
3714 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3715 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3716 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3717 $as_echo "$as_me: loading cache $cache_file" >&6;}
3718 case $cache_file in
3719 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3720 *) . "./$cache_file";;
3721 esac
3723 else
3724 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3725 $as_echo "$as_me: creating cache $cache_file" >&6;}
3726 >$cache_file
3729 # Check that the precious variables saved in the cache have kept the same
3730 # value.
3731 ac_cache_corrupted=false
3732 for ac_var in $ac_precious_vars; do
3733 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3734 eval ac_new_set=\$ac_env_${ac_var}_set
3735 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3736 eval ac_new_val=\$ac_env_${ac_var}_value
3737 case $ac_old_set,$ac_new_set in
3738 set,)
3739 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3740 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3741 ac_cache_corrupted=: ;;
3742 ,set)
3743 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3744 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3745 ac_cache_corrupted=: ;;
3746 ,);;
3748 if test "x$ac_old_val" != "x$ac_new_val"; then
3749 # differences in whitespace do not lead to failure.
3750 ac_old_val_w=`echo x $ac_old_val`
3751 ac_new_val_w=`echo x $ac_new_val`
3752 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3753 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3754 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3755 ac_cache_corrupted=:
3756 else
3757 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3758 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3759 eval $ac_var=\$ac_old_val
3761 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3762 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3763 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3764 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3765 fi;;
3766 esac
3767 # Pass precious variables to config.status.
3768 if test "$ac_new_set" = set; then
3769 case $ac_new_val in
3770 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3771 *) ac_arg=$ac_var=$ac_new_val ;;
3772 esac
3773 case " $ac_configure_args " in
3774 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3775 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3776 esac
3778 done
3779 if $ac_cache_corrupted; then
3780 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3781 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3782 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3783 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3784 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3786 ## -------------------- ##
3787 ## Main body of script. ##
3788 ## -------------------- ##
3790 ac_ext=c
3791 ac_cpp='$CPP $CPPFLAGS'
3792 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3793 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3794 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3798 ac_config_headers="$ac_config_headers include/config.h"
3800 ac_aux_dir=
3801 for ac_dir in tools "$srcdir"/tools; do
3802 if test -f "$ac_dir/install-sh"; then
3803 ac_aux_dir=$ac_dir
3804 ac_install_sh="$ac_aux_dir/install-sh -c"
3805 break
3806 elif test -f "$ac_dir/install.sh"; then
3807 ac_aux_dir=$ac_dir
3808 ac_install_sh="$ac_aux_dir/install.sh -c"
3809 break
3810 elif test -f "$ac_dir/shtool"; then
3811 ac_aux_dir=$ac_dir
3812 ac_install_sh="$ac_aux_dir/shtool install -c"
3813 break
3815 done
3816 if test -z "$ac_aux_dir"; then
3817 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3820 # These three variables are undocumented and unsupported,
3821 # and are intended to be withdrawn in a future Autoconf release.
3822 # They can cause serious problems if a builder's source tree is in a directory
3823 # whose full name contains unusual characters.
3824 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3825 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3826 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3830 libwine_version="1.0"
3834 # Check whether --enable-win16 was given.
3835 if test "${enable_win16+set}" = set; then :
3836 enableval=$enable_win16;
3839 # Check whether --enable-win64 was given.
3840 if test "${enable_win64+set}" = set; then :
3841 enableval=$enable_win64;
3844 # Check whether --enable-tests was given.
3845 if test "${enable_tests+set}" = set; then :
3846 enableval=$enable_tests;
3849 # Check whether --enable-maintainer-mode was given.
3850 if test "${enable_maintainer_mode+set}" = set; then :
3851 enableval=$enable_maintainer_mode;
3856 # Check whether --with-alsa was given.
3857 if test "${with_alsa+set}" = set; then :
3858 withval=$with_alsa;
3862 # Check whether --with-capi was given.
3863 if test "${with_capi+set}" = set; then :
3864 withval=$with_capi;
3868 # Check whether --with-cms was given.
3869 if test "${with_cms+set}" = set; then :
3870 withval=$with_cms;
3874 # Check whether --with-coreaudio was given.
3875 if test "${with_coreaudio+set}" = set; then :
3876 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3880 # Check whether --with-cups was given.
3881 if test "${with_cups+set}" = set; then :
3882 withval=$with_cups;
3886 # Check whether --with-curses was given.
3887 if test "${with_curses+set}" = set; then :
3888 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3892 # Check whether --with-dbus was given.
3893 if test "${with_dbus+set}" = set; then :
3894 withval=$with_dbus;
3898 # Check whether --with-faudio was given.
3899 if test "${with_faudio+set}" = set; then :
3900 withval=$with_faudio;
3904 # Check whether --with-float-abi was given.
3905 if test "${with_float_abi+set}" = set; then :
3906 withval=$with_float_abi;
3910 # Check whether --with-fontconfig was given.
3911 if test "${with_fontconfig+set}" = set; then :
3912 withval=$with_fontconfig;
3916 # Check whether --with-freetype was given.
3917 if test "${with_freetype+set}" = set; then :
3918 withval=$with_freetype;
3922 # Check whether --with-gettext was given.
3923 if test "${with_gettext+set}" = set; then :
3924 withval=$with_gettext;
3928 # Check whether --with-gettextpo was given.
3929 if test "${with_gettextpo+set}" = set; then :
3930 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3934 # Check whether --with-gphoto was given.
3935 if test "${with_gphoto+set}" = set; then :
3936 withval=$with_gphoto;
3940 # Check whether --with-glu was given.
3941 if test "${with_glu+set}" = set; then :
3942 withval=$with_glu;
3946 # Check whether --with-gnutls was given.
3947 if test "${with_gnutls+set}" = set; then :
3948 withval=$with_gnutls;
3952 # Check whether --with-gsm was given.
3953 if test "${with_gsm+set}" = set; then :
3954 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3958 # Check whether --with-gssapi was given.
3959 if test "${with_gssapi+set}" = set; then :
3960 withval=$with_gssapi;
3964 # Check whether --with-gstreamer was given.
3965 if test "${with_gstreamer+set}" = set; then :
3966 withval=$with_gstreamer;
3970 # Check whether --with-hal was given.
3971 if test "${with_hal+set}" = set; then :
3972 withval=$with_hal;
3976 # Check whether --with-inotify was given.
3977 if test "${with_inotify+set}" = set; then :
3978 withval=$with_inotify;
3982 # Check whether --with-jpeg was given.
3983 if test "${with_jpeg+set}" = set; then :
3984 withval=$with_jpeg;
3988 # Check whether --with-krb5 was given.
3989 if test "${with_krb5+set}" = set; then :
3990 withval=$with_krb5;
3994 # Check whether --with-ldap was given.
3995 if test "${with_ldap+set}" = set; then :
3996 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
4000 # Check whether --with-mingw was given.
4001 if test "${with_mingw+set}" = set; then :
4002 withval=$with_mingw;
4006 # Check whether --with-mpg123 was given.
4007 if test "${with_mpg123+set}" = set; then :
4008 withval=$with_mpg123;
4012 # Check whether --with-netapi was given.
4013 if test "${with_netapi+set}" = set; then :
4014 withval=$with_netapi;
4018 # Check whether --with-openal was given.
4019 if test "${with_openal+set}" = set; then :
4020 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
4024 # Check whether --with-opencl was given.
4025 if test "${with_opencl+set}" = set; then :
4026 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4030 # Check whether --with-opengl was given.
4031 if test "${with_opengl+set}" = set; then :
4032 withval=$with_opengl;
4036 # Check whether --with-osmesa was given.
4037 if test "${with_osmesa+set}" = set; then :
4038 withval=$with_osmesa;
4042 # Check whether --with-oss was given.
4043 if test "${with_oss+set}" = set; then :
4044 withval=$with_oss;
4048 # Check whether --with-pcap was given.
4049 if test "${with_pcap+set}" = set; then :
4050 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4054 # Check whether --with-png was given.
4055 if test "${with_png+set}" = set; then :
4056 withval=$with_png;
4060 # Check whether --with-pthread was given.
4061 if test "${with_pthread+set}" = set; then :
4062 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4066 # Check whether --with-pulse was given.
4067 if test "${with_pulse+set}" = set; then :
4068 withval=$with_pulse;
4072 # Check whether --with-sane was given.
4073 if test "${with_sane+set}" = set; then :
4074 withval=$with_sane;
4078 # Check whether --with-sdl was given.
4079 if test "${with_sdl+set}" = set; then :
4080 withval=$with_sdl;
4084 # Check whether --with-tiff was given.
4085 if test "${with_tiff+set}" = set; then :
4086 withval=$with_tiff;
4090 # Check whether --with-udev was given.
4091 if test "${with_udev+set}" = set; then :
4092 withval=$with_udev;
4096 # Check whether --with-unwind was given.
4097 if test "${with_unwind+set}" = set; then :
4098 withval=$with_unwind;
4102 # Check whether --with-v4l2 was given.
4103 if test "${with_v4l2+set}" = set; then :
4104 withval=$with_v4l2;
4108 # Check whether --with-vkd3d was given.
4109 if test "${with_vkd3d+set}" = set; then :
4110 withval=$with_vkd3d;
4114 # Check whether --with-vulkan was given.
4115 if test "${with_vulkan+set}" = set; then :
4116 withval=$with_vulkan;
4120 # Check whether --with-xcomposite was given.
4121 if test "${with_xcomposite+set}" = set; then :
4122 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4126 # Check whether --with-xcursor was given.
4127 if test "${with_xcursor+set}" = set; then :
4128 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4132 # Check whether --with-xfixes was given.
4133 if test "${with_xfixes+set}" = set; then :
4134 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4138 # Check whether --with-xinerama was given.
4139 if test "${with_xinerama+set}" = set; then :
4140 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4144 # Check whether --with-xinput was given.
4145 if test "${with_xinput+set}" = set; then :
4146 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4150 # Check whether --with-xinput2 was given.
4151 if test "${with_xinput2+set}" = set; then :
4152 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4156 # Check whether --with-xml was given.
4157 if test "${with_xml+set}" = set; then :
4158 withval=$with_xml;
4162 # Check whether --with-xrandr was given.
4163 if test "${with_xrandr+set}" = set; then :
4164 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4168 # Check whether --with-xrender was given.
4169 if test "${with_xrender+set}" = set; then :
4170 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4174 # Check whether --with-xshape was given.
4175 if test "${with_xshape+set}" = set; then :
4176 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4180 # Check whether --with-xshm was given.
4181 if test "${with_xshm+set}" = set; then :
4182 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4186 # Check whether --with-xslt was given.
4187 if test "${with_xslt+set}" = set; then :
4188 withval=$with_xslt;
4192 # Check whether --with-xxf86vm was given.
4193 if test "${with_xxf86vm+set}" = set; then :
4194 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
4198 # Check whether --with-zlib was given.
4199 if test "${with_zlib+set}" = set; then :
4200 withval=$with_zlib;
4205 # Check whether --with-wine-tools was given.
4206 if test "${with_wine_tools+set}" = set; then :
4207 withval=$with_wine_tools;
4211 # Check whether --with-wine64 was given.
4212 if test "${with_wine64+set}" = set; then :
4213 withval=$with_wine64;
4217 # Make sure we can run config.sub.
4218 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4219 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4222 $as_echo_n "checking build system type... " >&6; }
4223 if ${ac_cv_build+:} false; then :
4224 $as_echo_n "(cached) " >&6
4225 else
4226 ac_build_alias=$build_alias
4227 test "x$ac_build_alias" = x &&
4228 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4229 test "x$ac_build_alias" = x &&
4230 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4231 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4232 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4236 $as_echo "$ac_cv_build" >&6; }
4237 case $ac_cv_build in
4238 *-*-*) ;;
4239 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4240 esac
4241 build=$ac_cv_build
4242 ac_save_IFS=$IFS; IFS='-'
4243 set x $ac_cv_build
4244 shift
4245 build_cpu=$1
4246 build_vendor=$2
4247 shift; shift
4248 # Remember, the first character of IFS is used to create $*,
4249 # except with old shells:
4250 build_os=$*
4251 IFS=$ac_save_IFS
4252 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4256 $as_echo_n "checking host system type... " >&6; }
4257 if ${ac_cv_host+:} false; then :
4258 $as_echo_n "(cached) " >&6
4259 else
4260 if test "x$host_alias" = x; then
4261 ac_cv_host=$ac_cv_build
4262 else
4263 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4264 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4269 $as_echo "$ac_cv_host" >&6; }
4270 case $ac_cv_host in
4271 *-*-*) ;;
4272 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4273 esac
4274 host=$ac_cv_host
4275 ac_save_IFS=$IFS; IFS='-'
4276 set x $ac_cv_host
4277 shift
4278 host_cpu=$1
4279 host_vendor=$2
4280 shift; shift
4281 # Remember, the first character of IFS is used to create $*,
4282 # except with old shells:
4283 host_os=$*
4284 IFS=$ac_save_IFS
4285 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4289 case "$srcdir" in
4290 .) ;;
4291 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
4292 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
4293 You need to run 'make distclean' in the source tree first." "$LINENO" 5
4294 fi ;;
4295 esac
4298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4299 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4300 set x ${MAKE-make}
4301 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4302 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4303 $as_echo_n "(cached) " >&6
4304 else
4305 cat >conftest.make <<\_ACEOF
4306 SHELL = /bin/sh
4307 all:
4308 @echo '@@@%%%=$(MAKE)=@@@%%%'
4309 _ACEOF
4310 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4311 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4312 *@@@%%%=?*=@@@%%%*)
4313 eval ac_cv_prog_make_${ac_make}_set=yes;;
4315 eval ac_cv_prog_make_${ac_make}_set=no;;
4316 esac
4317 rm -f conftest.make
4319 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4321 $as_echo "yes" >&6; }
4322 SET_MAKE=
4323 else
4324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4325 $as_echo "no" >&6; }
4326 SET_MAKE="MAKE=${MAKE-make}"
4329 ac_ext=c
4330 ac_cpp='$CPP $CPPFLAGS'
4331 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4332 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4333 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4334 if test -n "$ac_tool_prefix"; then
4335 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4336 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4338 $as_echo_n "checking for $ac_word... " >&6; }
4339 if ${ac_cv_prog_CC+:} false; then :
4340 $as_echo_n "(cached) " >&6
4341 else
4342 if test -n "$CC"; then
4343 ac_cv_prog_CC="$CC" # Let the user override the test.
4344 else
4345 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4346 for as_dir in $PATH
4348 IFS=$as_save_IFS
4349 test -z "$as_dir" && as_dir=.
4350 for ac_exec_ext in '' $ac_executable_extensions; do
4351 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4352 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4353 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4354 break 2
4356 done
4357 done
4358 IFS=$as_save_IFS
4362 CC=$ac_cv_prog_CC
4363 if test -n "$CC"; then
4364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4365 $as_echo "$CC" >&6; }
4366 else
4367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4368 $as_echo "no" >&6; }
4373 if test -z "$ac_cv_prog_CC"; then
4374 ac_ct_CC=$CC
4375 # Extract the first word of "gcc", so it can be a program name with args.
4376 set dummy gcc; ac_word=$2
4377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4378 $as_echo_n "checking for $ac_word... " >&6; }
4379 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4380 $as_echo_n "(cached) " >&6
4381 else
4382 if test -n "$ac_ct_CC"; then
4383 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4384 else
4385 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4386 for as_dir in $PATH
4388 IFS=$as_save_IFS
4389 test -z "$as_dir" && as_dir=.
4390 for ac_exec_ext in '' $ac_executable_extensions; do
4391 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4392 ac_cv_prog_ac_ct_CC="gcc"
4393 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4394 break 2
4396 done
4397 done
4398 IFS=$as_save_IFS
4402 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4403 if test -n "$ac_ct_CC"; then
4404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4405 $as_echo "$ac_ct_CC" >&6; }
4406 else
4407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4408 $as_echo "no" >&6; }
4411 if test "x$ac_ct_CC" = x; then
4412 CC=""
4413 else
4414 case $cross_compiling:$ac_tool_warned in
4415 yes:)
4416 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4417 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4418 ac_tool_warned=yes ;;
4419 esac
4420 CC=$ac_ct_CC
4422 else
4423 CC="$ac_cv_prog_CC"
4426 if test -z "$CC"; then
4427 if test -n "$ac_tool_prefix"; then
4428 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4429 set dummy ${ac_tool_prefix}cc; ac_word=$2
4430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4431 $as_echo_n "checking for $ac_word... " >&6; }
4432 if ${ac_cv_prog_CC+:} false; then :
4433 $as_echo_n "(cached) " >&6
4434 else
4435 if test -n "$CC"; then
4436 ac_cv_prog_CC="$CC" # Let the user override the test.
4437 else
4438 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4439 for as_dir in $PATH
4441 IFS=$as_save_IFS
4442 test -z "$as_dir" && as_dir=.
4443 for ac_exec_ext in '' $ac_executable_extensions; do
4444 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4445 ac_cv_prog_CC="${ac_tool_prefix}cc"
4446 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4447 break 2
4449 done
4450 done
4451 IFS=$as_save_IFS
4455 CC=$ac_cv_prog_CC
4456 if test -n "$CC"; then
4457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4458 $as_echo "$CC" >&6; }
4459 else
4460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4461 $as_echo "no" >&6; }
4467 if test -z "$CC"; then
4468 # Extract the first word of "cc", so it can be a program name with args.
4469 set dummy cc; ac_word=$2
4470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4471 $as_echo_n "checking for $ac_word... " >&6; }
4472 if ${ac_cv_prog_CC+:} false; then :
4473 $as_echo_n "(cached) " >&6
4474 else
4475 if test -n "$CC"; then
4476 ac_cv_prog_CC="$CC" # Let the user override the test.
4477 else
4478 ac_prog_rejected=no
4479 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4480 for as_dir in $PATH
4482 IFS=$as_save_IFS
4483 test -z "$as_dir" && as_dir=.
4484 for ac_exec_ext in '' $ac_executable_extensions; do
4485 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4486 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4487 ac_prog_rejected=yes
4488 continue
4490 ac_cv_prog_CC="cc"
4491 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4492 break 2
4494 done
4495 done
4496 IFS=$as_save_IFS
4498 if test $ac_prog_rejected = yes; then
4499 # We found a bogon in the path, so make sure we never use it.
4500 set dummy $ac_cv_prog_CC
4501 shift
4502 if test $# != 0; then
4503 # We chose a different compiler from the bogus one.
4504 # However, it has the same basename, so the bogon will be chosen
4505 # first if we set CC to just the basename; use the full file name.
4506 shift
4507 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4512 CC=$ac_cv_prog_CC
4513 if test -n "$CC"; then
4514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4515 $as_echo "$CC" >&6; }
4516 else
4517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4518 $as_echo "no" >&6; }
4523 if test -z "$CC"; then
4524 if test -n "$ac_tool_prefix"; then
4525 for ac_prog in cl.exe
4527 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4528 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4530 $as_echo_n "checking for $ac_word... " >&6; }
4531 if ${ac_cv_prog_CC+:} false; then :
4532 $as_echo_n "(cached) " >&6
4533 else
4534 if test -n "$CC"; then
4535 ac_cv_prog_CC="$CC" # Let the user override the test.
4536 else
4537 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4538 for as_dir in $PATH
4540 IFS=$as_save_IFS
4541 test -z "$as_dir" && as_dir=.
4542 for ac_exec_ext in '' $ac_executable_extensions; do
4543 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4544 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4545 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4546 break 2
4548 done
4549 done
4550 IFS=$as_save_IFS
4554 CC=$ac_cv_prog_CC
4555 if test -n "$CC"; then
4556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4557 $as_echo "$CC" >&6; }
4558 else
4559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4560 $as_echo "no" >&6; }
4564 test -n "$CC" && break
4565 done
4567 if test -z "$CC"; then
4568 ac_ct_CC=$CC
4569 for ac_prog in cl.exe
4571 # Extract the first word of "$ac_prog", so it can be a program name with args.
4572 set dummy $ac_prog; ac_word=$2
4573 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4574 $as_echo_n "checking for $ac_word... " >&6; }
4575 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4576 $as_echo_n "(cached) " >&6
4577 else
4578 if test -n "$ac_ct_CC"; then
4579 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4580 else
4581 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4582 for as_dir in $PATH
4584 IFS=$as_save_IFS
4585 test -z "$as_dir" && as_dir=.
4586 for ac_exec_ext in '' $ac_executable_extensions; do
4587 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4588 ac_cv_prog_ac_ct_CC="$ac_prog"
4589 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4590 break 2
4592 done
4593 done
4594 IFS=$as_save_IFS
4598 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4599 if test -n "$ac_ct_CC"; then
4600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4601 $as_echo "$ac_ct_CC" >&6; }
4602 else
4603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4604 $as_echo "no" >&6; }
4608 test -n "$ac_ct_CC" && break
4609 done
4611 if test "x$ac_ct_CC" = x; then
4612 CC=""
4613 else
4614 case $cross_compiling:$ac_tool_warned in
4615 yes:)
4616 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4617 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4618 ac_tool_warned=yes ;;
4619 esac
4620 CC=$ac_ct_CC
4627 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4628 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4629 as_fn_error $? "no acceptable C compiler found in \$PATH
4630 See \`config.log' for more details" "$LINENO" 5; }
4632 # Provide some information about the compiler.
4633 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4634 set X $ac_compile
4635 ac_compiler=$2
4636 for ac_option in --version -v -V -qversion; do
4637 { { ac_try="$ac_compiler $ac_option >&5"
4638 case "(($ac_try" in
4639 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4640 *) ac_try_echo=$ac_try;;
4641 esac
4642 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4643 $as_echo "$ac_try_echo"; } >&5
4644 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4645 ac_status=$?
4646 if test -s conftest.err; then
4647 sed '10a\
4648 ... rest of stderr output deleted ...
4649 10q' conftest.err >conftest.er1
4650 cat conftest.er1 >&5
4652 rm -f conftest.er1 conftest.err
4653 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4654 test $ac_status = 0; }
4655 done
4657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4658 /* end confdefs.h. */
4661 main ()
4665 return 0;
4667 _ACEOF
4668 ac_clean_files_save=$ac_clean_files
4669 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4670 # Try to create an executable without -o first, disregard a.out.
4671 # It will help us diagnose broken compilers, and finding out an intuition
4672 # of exeext.
4673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4674 $as_echo_n "checking whether the C compiler works... " >&6; }
4675 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4677 # The possible output files:
4678 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4680 ac_rmfiles=
4681 for ac_file in $ac_files
4683 case $ac_file in
4684 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4685 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4686 esac
4687 done
4688 rm -f $ac_rmfiles
4690 if { { ac_try="$ac_link_default"
4691 case "(($ac_try" in
4692 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4693 *) ac_try_echo=$ac_try;;
4694 esac
4695 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4696 $as_echo "$ac_try_echo"; } >&5
4697 (eval "$ac_link_default") 2>&5
4698 ac_status=$?
4699 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4700 test $ac_status = 0; }; then :
4701 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4702 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4703 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4704 # so that the user can short-circuit this test for compilers unknown to
4705 # Autoconf.
4706 for ac_file in $ac_files ''
4708 test -f "$ac_file" || continue
4709 case $ac_file in
4710 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4712 [ab].out )
4713 # We found the default executable, but exeext='' is most
4714 # certainly right.
4715 break;;
4716 *.* )
4717 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4718 then :; else
4719 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4721 # We set ac_cv_exeext here because the later test for it is not
4722 # safe: cross compilers may not add the suffix if given an `-o'
4723 # argument, so we may need to know it at that point already.
4724 # Even if this section looks crufty: it has the advantage of
4725 # actually working.
4726 break;;
4728 break;;
4729 esac
4730 done
4731 test "$ac_cv_exeext" = no && ac_cv_exeext=
4733 else
4734 ac_file=''
4736 if test -z "$ac_file"; then :
4737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4738 $as_echo "no" >&6; }
4739 $as_echo "$as_me: failed program was:" >&5
4740 sed 's/^/| /' conftest.$ac_ext >&5
4742 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4743 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4744 as_fn_error 77 "C compiler cannot create executables
4745 See \`config.log' for more details" "$LINENO" 5; }
4746 else
4747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4748 $as_echo "yes" >&6; }
4750 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4751 $as_echo_n "checking for C compiler default output file name... " >&6; }
4752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4753 $as_echo "$ac_file" >&6; }
4754 ac_exeext=$ac_cv_exeext
4756 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4757 ac_clean_files=$ac_clean_files_save
4758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4759 $as_echo_n "checking for suffix of executables... " >&6; }
4760 if { { ac_try="$ac_link"
4761 case "(($ac_try" in
4762 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4763 *) ac_try_echo=$ac_try;;
4764 esac
4765 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4766 $as_echo "$ac_try_echo"; } >&5
4767 (eval "$ac_link") 2>&5
4768 ac_status=$?
4769 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4770 test $ac_status = 0; }; then :
4771 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4772 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4773 # work properly (i.e., refer to `conftest.exe'), while it won't with
4774 # `rm'.
4775 for ac_file in conftest.exe conftest conftest.*; do
4776 test -f "$ac_file" || continue
4777 case $ac_file in
4778 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4779 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4780 break;;
4781 * ) break;;
4782 esac
4783 done
4784 else
4785 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4786 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4787 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4788 See \`config.log' for more details" "$LINENO" 5; }
4790 rm -f conftest conftest$ac_cv_exeext
4791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4792 $as_echo "$ac_cv_exeext" >&6; }
4794 rm -f conftest.$ac_ext
4795 EXEEXT=$ac_cv_exeext
4796 ac_exeext=$EXEEXT
4797 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4798 /* end confdefs.h. */
4799 #include <stdio.h>
4801 main ()
4803 FILE *f = fopen ("conftest.out", "w");
4804 return ferror (f) || fclose (f) != 0;
4807 return 0;
4809 _ACEOF
4810 ac_clean_files="$ac_clean_files conftest.out"
4811 # Check that the compiler produces executables we can run. If not, either
4812 # the compiler is broken, or we cross compile.
4813 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4814 $as_echo_n "checking whether we are cross compiling... " >&6; }
4815 if test "$cross_compiling" != yes; then
4816 { { ac_try="$ac_link"
4817 case "(($ac_try" in
4818 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4819 *) ac_try_echo=$ac_try;;
4820 esac
4821 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4822 $as_echo "$ac_try_echo"; } >&5
4823 (eval "$ac_link") 2>&5
4824 ac_status=$?
4825 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4826 test $ac_status = 0; }
4827 if { ac_try='./conftest$ac_cv_exeext'
4828 { { case "(($ac_try" in
4829 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4830 *) ac_try_echo=$ac_try;;
4831 esac
4832 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4833 $as_echo "$ac_try_echo"; } >&5
4834 (eval "$ac_try") 2>&5
4835 ac_status=$?
4836 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4837 test $ac_status = 0; }; }; then
4838 cross_compiling=no
4839 else
4840 if test "$cross_compiling" = maybe; then
4841 cross_compiling=yes
4842 else
4843 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4844 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4845 as_fn_error $? "cannot run C compiled programs.
4846 If you meant to cross compile, use \`--host'.
4847 See \`config.log' for more details" "$LINENO" 5; }
4851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4852 $as_echo "$cross_compiling" >&6; }
4854 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4855 ac_clean_files=$ac_clean_files_save
4856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4857 $as_echo_n "checking for suffix of object files... " >&6; }
4858 if ${ac_cv_objext+:} false; then :
4859 $as_echo_n "(cached) " >&6
4860 else
4861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4862 /* end confdefs.h. */
4865 main ()
4869 return 0;
4871 _ACEOF
4872 rm -f conftest.o conftest.obj
4873 if { { ac_try="$ac_compile"
4874 case "(($ac_try" in
4875 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4876 *) ac_try_echo=$ac_try;;
4877 esac
4878 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4879 $as_echo "$ac_try_echo"; } >&5
4880 (eval "$ac_compile") 2>&5
4881 ac_status=$?
4882 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4883 test $ac_status = 0; }; then :
4884 for ac_file in conftest.o conftest.obj conftest.*; do
4885 test -f "$ac_file" || continue;
4886 case $ac_file in
4887 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4888 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4889 break;;
4890 esac
4891 done
4892 else
4893 $as_echo "$as_me: failed program was:" >&5
4894 sed 's/^/| /' conftest.$ac_ext >&5
4896 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4897 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4898 as_fn_error $? "cannot compute suffix of object files: cannot compile
4899 See \`config.log' for more details" "$LINENO" 5; }
4901 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4904 $as_echo "$ac_cv_objext" >&6; }
4905 OBJEXT=$ac_cv_objext
4906 ac_objext=$OBJEXT
4907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4908 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4909 if ${ac_cv_c_compiler_gnu+:} false; then :
4910 $as_echo_n "(cached) " >&6
4911 else
4912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4913 /* end confdefs.h. */
4916 main ()
4918 #ifndef __GNUC__
4919 choke me
4920 #endif
4923 return 0;
4925 _ACEOF
4926 if ac_fn_c_try_compile "$LINENO"; then :
4927 ac_compiler_gnu=yes
4928 else
4929 ac_compiler_gnu=no
4931 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4932 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4936 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4937 if test $ac_compiler_gnu = yes; then
4938 GCC=yes
4939 else
4940 GCC=
4942 ac_test_CFLAGS=${CFLAGS+set}
4943 ac_save_CFLAGS=$CFLAGS
4944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4945 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4946 if ${ac_cv_prog_cc_g+:} false; then :
4947 $as_echo_n "(cached) " >&6
4948 else
4949 ac_save_c_werror_flag=$ac_c_werror_flag
4950 ac_c_werror_flag=yes
4951 ac_cv_prog_cc_g=no
4952 CFLAGS="-g"
4953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4954 /* end confdefs.h. */
4957 main ()
4961 return 0;
4963 _ACEOF
4964 if ac_fn_c_try_compile "$LINENO"; then :
4965 ac_cv_prog_cc_g=yes
4966 else
4967 CFLAGS=""
4968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4969 /* end confdefs.h. */
4972 main ()
4976 return 0;
4978 _ACEOF
4979 if ac_fn_c_try_compile "$LINENO"; then :
4981 else
4982 ac_c_werror_flag=$ac_save_c_werror_flag
4983 CFLAGS="-g"
4984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4985 /* end confdefs.h. */
4988 main ()
4992 return 0;
4994 _ACEOF
4995 if ac_fn_c_try_compile "$LINENO"; then :
4996 ac_cv_prog_cc_g=yes
4998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5002 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5003 ac_c_werror_flag=$ac_save_c_werror_flag
5005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5006 $as_echo "$ac_cv_prog_cc_g" >&6; }
5007 if test "$ac_test_CFLAGS" = set; then
5008 CFLAGS=$ac_save_CFLAGS
5009 elif test $ac_cv_prog_cc_g = yes; then
5010 if test "$GCC" = yes; then
5011 CFLAGS="-g -O2"
5012 else
5013 CFLAGS="-g"
5015 else
5016 if test "$GCC" = yes; then
5017 CFLAGS="-O2"
5018 else
5019 CFLAGS=
5022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5023 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5024 if ${ac_cv_prog_cc_c89+:} false; then :
5025 $as_echo_n "(cached) " >&6
5026 else
5027 ac_cv_prog_cc_c89=no
5028 ac_save_CC=$CC
5029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5030 /* end confdefs.h. */
5031 #include <stdarg.h>
5032 #include <stdio.h>
5033 struct stat;
5034 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5035 struct buf { int x; };
5036 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5037 static char *e (p, i)
5038 char **p;
5039 int i;
5041 return p[i];
5043 static char *f (char * (*g) (char **, int), char **p, ...)
5045 char *s;
5046 va_list v;
5047 va_start (v,p);
5048 s = g (p, va_arg (v,int));
5049 va_end (v);
5050 return s;
5053 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5054 function prototypes and stuff, but not '\xHH' hex character constants.
5055 These don't provoke an error unfortunately, instead are silently treated
5056 as 'x'. The following induces an error, until -std is added to get
5057 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5058 array size at least. It's necessary to write '\x00'==0 to get something
5059 that's true only with -std. */
5060 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5062 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5063 inside strings and character constants. */
5064 #define FOO(x) 'x'
5065 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5067 int test (int i, double x);
5068 struct s1 {int (*f) (int a);};
5069 struct s2 {int (*f) (double a);};
5070 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5071 int argc;
5072 char **argv;
5074 main ()
5076 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5078 return 0;
5080 _ACEOF
5081 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5082 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5084 CC="$ac_save_CC $ac_arg"
5085 if ac_fn_c_try_compile "$LINENO"; then :
5086 ac_cv_prog_cc_c89=$ac_arg
5088 rm -f core conftest.err conftest.$ac_objext
5089 test "x$ac_cv_prog_cc_c89" != "xno" && break
5090 done
5091 rm -f conftest.$ac_ext
5092 CC=$ac_save_CC
5095 # AC_CACHE_VAL
5096 case "x$ac_cv_prog_cc_c89" in
5098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5099 $as_echo "none needed" >&6; } ;;
5100 xno)
5101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5102 $as_echo "unsupported" >&6; } ;;
5104 CC="$CC $ac_cv_prog_cc_c89"
5105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5106 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5107 esac
5108 if test "x$ac_cv_prog_cc_c89" != xno; then :
5112 ac_ext=c
5113 ac_cpp='$CPP $CPPFLAGS'
5114 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5115 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5116 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5118 ac_ext=cpp
5119 ac_cpp='$CXXCPP $CPPFLAGS'
5120 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5121 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5122 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5123 if test -z "$CXX"; then
5124 if test -n "$CCC"; then
5125 CXX=$CCC
5126 else
5127 if test -n "$ac_tool_prefix"; then
5128 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5130 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5131 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5132 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5133 $as_echo_n "checking for $ac_word... " >&6; }
5134 if ${ac_cv_prog_CXX+:} false; then :
5135 $as_echo_n "(cached) " >&6
5136 else
5137 if test -n "$CXX"; then
5138 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5139 else
5140 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5141 for as_dir in $PATH
5143 IFS=$as_save_IFS
5144 test -z "$as_dir" && as_dir=.
5145 for ac_exec_ext in '' $ac_executable_extensions; do
5146 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5147 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5148 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5149 break 2
5151 done
5152 done
5153 IFS=$as_save_IFS
5157 CXX=$ac_cv_prog_CXX
5158 if test -n "$CXX"; then
5159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5160 $as_echo "$CXX" >&6; }
5161 else
5162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5163 $as_echo "no" >&6; }
5167 test -n "$CXX" && break
5168 done
5170 if test -z "$CXX"; then
5171 ac_ct_CXX=$CXX
5172 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5174 # Extract the first word of "$ac_prog", so it can be a program name with args.
5175 set dummy $ac_prog; ac_word=$2
5176 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5177 $as_echo_n "checking for $ac_word... " >&6; }
5178 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5179 $as_echo_n "(cached) " >&6
5180 else
5181 if test -n "$ac_ct_CXX"; then
5182 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5183 else
5184 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5185 for as_dir in $PATH
5187 IFS=$as_save_IFS
5188 test -z "$as_dir" && as_dir=.
5189 for ac_exec_ext in '' $ac_executable_extensions; do
5190 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5191 ac_cv_prog_ac_ct_CXX="$ac_prog"
5192 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5193 break 2
5195 done
5196 done
5197 IFS=$as_save_IFS
5201 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5202 if test -n "$ac_ct_CXX"; then
5203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5204 $as_echo "$ac_ct_CXX" >&6; }
5205 else
5206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5207 $as_echo "no" >&6; }
5211 test -n "$ac_ct_CXX" && break
5212 done
5214 if test "x$ac_ct_CXX" = x; then
5215 CXX="g++"
5216 else
5217 case $cross_compiling:$ac_tool_warned in
5218 yes:)
5219 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5220 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5221 ac_tool_warned=yes ;;
5222 esac
5223 CXX=$ac_ct_CXX
5229 # Provide some information about the compiler.
5230 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5231 set X $ac_compile
5232 ac_compiler=$2
5233 for ac_option in --version -v -V -qversion; do
5234 { { ac_try="$ac_compiler $ac_option >&5"
5235 case "(($ac_try" in
5236 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5237 *) ac_try_echo=$ac_try;;
5238 esac
5239 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5240 $as_echo "$ac_try_echo"; } >&5
5241 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5242 ac_status=$?
5243 if test -s conftest.err; then
5244 sed '10a\
5245 ... rest of stderr output deleted ...
5246 10q' conftest.err >conftest.er1
5247 cat conftest.er1 >&5
5249 rm -f conftest.er1 conftest.err
5250 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5251 test $ac_status = 0; }
5252 done
5254 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5255 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5256 if ${ac_cv_cxx_compiler_gnu+:} false; then :
5257 $as_echo_n "(cached) " >&6
5258 else
5259 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5260 /* end confdefs.h. */
5263 main ()
5265 #ifndef __GNUC__
5266 choke me
5267 #endif
5270 return 0;
5272 _ACEOF
5273 if ac_fn_cxx_try_compile "$LINENO"; then :
5274 ac_compiler_gnu=yes
5275 else
5276 ac_compiler_gnu=no
5278 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5279 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5283 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5284 if test $ac_compiler_gnu = yes; then
5285 GXX=yes
5286 else
5287 GXX=
5289 ac_test_CXXFLAGS=${CXXFLAGS+set}
5290 ac_save_CXXFLAGS=$CXXFLAGS
5291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5292 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5293 if ${ac_cv_prog_cxx_g+:} false; then :
5294 $as_echo_n "(cached) " >&6
5295 else
5296 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5297 ac_cxx_werror_flag=yes
5298 ac_cv_prog_cxx_g=no
5299 CXXFLAGS="-g"
5300 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5301 /* end confdefs.h. */
5304 main ()
5308 return 0;
5310 _ACEOF
5311 if ac_fn_cxx_try_compile "$LINENO"; then :
5312 ac_cv_prog_cxx_g=yes
5313 else
5314 CXXFLAGS=""
5315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5316 /* end confdefs.h. */
5319 main ()
5323 return 0;
5325 _ACEOF
5326 if ac_fn_cxx_try_compile "$LINENO"; then :
5328 else
5329 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5330 CXXFLAGS="-g"
5331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5332 /* end confdefs.h. */
5335 main ()
5339 return 0;
5341 _ACEOF
5342 if ac_fn_cxx_try_compile "$LINENO"; then :
5343 ac_cv_prog_cxx_g=yes
5345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5349 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5350 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5353 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5354 if test "$ac_test_CXXFLAGS" = set; then
5355 CXXFLAGS=$ac_save_CXXFLAGS
5356 elif test $ac_cv_prog_cxx_g = yes; then
5357 if test "$GXX" = yes; then
5358 CXXFLAGS="-g -O2"
5359 else
5360 CXXFLAGS="-g"
5362 else
5363 if test "$GXX" = yes; then
5364 CXXFLAGS="-O2"
5365 else
5366 CXXFLAGS=
5369 ac_ext=c
5370 ac_cpp='$CPP $CPPFLAGS'
5371 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5372 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5373 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5375 if test -n "$ac_tool_prefix"; then
5376 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5377 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5379 $as_echo_n "checking for $ac_word... " >&6; }
5380 if ${ac_cv_prog_CPPBIN+:} false; then :
5381 $as_echo_n "(cached) " >&6
5382 else
5383 if test -n "$CPPBIN"; then
5384 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5385 else
5386 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5387 for as_dir in $PATH
5389 IFS=$as_save_IFS
5390 test -z "$as_dir" && as_dir=.
5391 for ac_exec_ext in '' $ac_executable_extensions; do
5392 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5393 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5394 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5395 break 2
5397 done
5398 done
5399 IFS=$as_save_IFS
5403 CPPBIN=$ac_cv_prog_CPPBIN
5404 if test -n "$CPPBIN"; then
5405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5406 $as_echo "$CPPBIN" >&6; }
5407 else
5408 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5409 $as_echo "no" >&6; }
5414 if test -z "$ac_cv_prog_CPPBIN"; then
5415 ac_ct_CPPBIN=$CPPBIN
5416 # Extract the first word of "cpp", so it can be a program name with args.
5417 set dummy cpp; ac_word=$2
5418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5419 $as_echo_n "checking for $ac_word... " >&6; }
5420 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
5421 $as_echo_n "(cached) " >&6
5422 else
5423 if test -n "$ac_ct_CPPBIN"; then
5424 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
5425 else
5426 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5427 for as_dir in $PATH
5429 IFS=$as_save_IFS
5430 test -z "$as_dir" && as_dir=.
5431 for ac_exec_ext in '' $ac_executable_extensions; do
5432 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5433 ac_cv_prog_ac_ct_CPPBIN="cpp"
5434 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5435 break 2
5437 done
5438 done
5439 IFS=$as_save_IFS
5443 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5444 if test -n "$ac_ct_CPPBIN"; then
5445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5446 $as_echo "$ac_ct_CPPBIN" >&6; }
5447 else
5448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5449 $as_echo "no" >&6; }
5452 if test "x$ac_ct_CPPBIN" = x; then
5453 CPPBIN="cpp"
5454 else
5455 case $cross_compiling:$ac_tool_warned in
5456 yes:)
5457 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5458 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5459 ac_tool_warned=yes ;;
5460 esac
5461 CPPBIN=$ac_ct_CPPBIN
5463 else
5464 CPPBIN="$ac_cv_prog_CPPBIN"
5468 cat >>confdefs.h <<_ACEOF
5469 #define EXEEXT "$ac_exeext"
5470 _ACEOF
5472 if test -n "$ac_tool_prefix"; then
5473 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5474 set dummy ${ac_tool_prefix}ld; ac_word=$2
5475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5476 $as_echo_n "checking for $ac_word... " >&6; }
5477 if ${ac_cv_prog_LD+:} false; then :
5478 $as_echo_n "(cached) " >&6
5479 else
5480 if test -n "$LD"; then
5481 ac_cv_prog_LD="$LD" # Let the user override the test.
5482 else
5483 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5484 for as_dir in $PATH
5486 IFS=$as_save_IFS
5487 test -z "$as_dir" && as_dir=.
5488 for ac_exec_ext in '' $ac_executable_extensions; do
5489 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5490 ac_cv_prog_LD="${ac_tool_prefix}ld"
5491 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5492 break 2
5494 done
5495 done
5496 IFS=$as_save_IFS
5500 LD=$ac_cv_prog_LD
5501 if test -n "$LD"; then
5502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5503 $as_echo "$LD" >&6; }
5504 else
5505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5506 $as_echo "no" >&6; }
5511 if test -z "$ac_cv_prog_LD"; then
5512 ac_ct_LD=$LD
5513 # Extract the first word of "ld", so it can be a program name with args.
5514 set dummy ld; ac_word=$2
5515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5516 $as_echo_n "checking for $ac_word... " >&6; }
5517 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5518 $as_echo_n "(cached) " >&6
5519 else
5520 if test -n "$ac_ct_LD"; then
5521 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5522 else
5523 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5524 for as_dir in $PATH
5526 IFS=$as_save_IFS
5527 test -z "$as_dir" && as_dir=.
5528 for ac_exec_ext in '' $ac_executable_extensions; do
5529 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5530 ac_cv_prog_ac_ct_LD="ld"
5531 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5532 break 2
5534 done
5535 done
5536 IFS=$as_save_IFS
5540 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5541 if test -n "$ac_ct_LD"; then
5542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5543 $as_echo "$ac_ct_LD" >&6; }
5544 else
5545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5546 $as_echo "no" >&6; }
5549 if test "x$ac_ct_LD" = x; then
5550 LD=""
5551 else
5552 case $cross_compiling:$ac_tool_warned in
5553 yes:)
5554 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5555 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5556 ac_tool_warned=yes ;;
5557 esac
5558 LD=$ac_ct_LD
5560 else
5561 LD="$ac_cv_prog_LD"
5565 case $host in
5566 *-darwin*)
5567 with_fontconfig=${with_fontconfig:-no}
5569 *-mingw32*|*-cygwin*)
5570 enable_win16=${enable_win16:-no}
5571 with_mingw=${with_mingw:-no}
5572 CFLAGS="$CFLAGS -D_WIN32"
5574 esac
5576 case $host in
5577 x86_64*|amd64*)
5578 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5579 then
5580 CC="$CC -m32"
5581 CXX="$CXX -m32"
5583 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5584 $as_echo_n "checking whether $CC works... " >&6; }
5585 if ${wine_cv_cc_m32+:} false; then :
5586 $as_echo_n "(cached) " >&6
5587 else
5588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5589 /* end confdefs.h. */
5592 main ()
5596 return 0;
5598 _ACEOF
5599 if ac_fn_c_try_link "$LINENO"; then :
5600 wine_cv_cc_m32=yes
5601 else
5602 wine_cv_cc_m32=no
5604 rm -f core conftest.err conftest.$ac_objext \
5605 conftest$ac_exeext conftest.$ac_ext
5607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
5608 $as_echo "$wine_cv_cc_m32" >&6; }
5609 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
5610 host_cpu="i386"
5611 notice_platform="32-bit "
5612 TARGETFLAGS="-m32"
5614 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
5615 export PKG_CONFIG_PATH
5616 enable_win16=${enable_win16:-yes}
5617 with_unwind=${with_unwind:-no}
5618 else
5619 if test "x${GCC}" = "xyes"
5620 then
5621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5622 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5623 if ${wine_cv_builtin_ms_va_list+:} false; then :
5624 $as_echo_n "(cached) " >&6
5625 else
5626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5627 /* end confdefs.h. */
5628 #include <stdarg.h>
5630 main ()
5632 void func(__builtin_ms_va_list *args);
5634 return 0;
5636 _ACEOF
5637 if ac_fn_c_try_compile "$LINENO"; then :
5638 wine_cv_builtin_ms_va_list=yes
5639 else
5640 wine_cv_builtin_ms_va_list=no
5642 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5645 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5646 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
5648 CC="$CC -m64"
5649 CXX="$CXX -m64"
5650 host_cpu="x86_64"
5651 notice_platform="64-bit "
5652 TARGETFLAGS="-m64"
5656 arm*)
5657 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5658 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5659 if ${wine_cv_thumb+:} false; then :
5660 $as_echo_n "(cached) " >&6
5661 else
5662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5663 /* end confdefs.h. */
5664 int ac_test(int i) { return i; }
5666 main ()
5668 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5670 return 0;
5672 _ACEOF
5673 if ac_fn_c_try_link "$LINENO"; then :
5674 wine_cv_thumb=yes
5675 else
5676 wine_cv_thumb=no
5678 rm -f core conftest.err conftest.$ac_objext \
5679 conftest$ac_exeext conftest.$ac_ext
5681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb" >&5
5682 $as_echo "$wine_cv_thumb" >&6; }
5683 test $wine_cv_thumb != no || as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5684 case $with_float_abi in
5685 soft|softfp|hard)
5686 float_abi=$with_float_abi ;;
5688 case $host_os in
5689 *eabihf)
5690 float_abi=hard ;;
5692 float_abi=softfp
5693 saved_CFLAGS=$CFLAGS
5694 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
5696 $as_echo_n "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
5697 if ${wine_cv_float_abi+:} false; then :
5698 $as_echo_n "(cached) " >&6
5699 else
5700 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5701 /* end confdefs.h. */
5704 main ()
5706 asm("vmrs r2,fpscr");
5708 return 0;
5710 _ACEOF
5711 if ac_fn_c_try_link "$LINENO"; then :
5712 wine_cv_float_abi=yes
5713 else
5714 wine_cv_float_abi=no
5716 rm -f core conftest.err conftest.$ac_objext \
5717 conftest$ac_exeext conftest.$ac_ext
5719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
5720 $as_echo "$wine_cv_float_abi" >&6; }
5721 if test $wine_cv_float_abi = no
5722 then
5723 float_abi=soft
5724 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
5726 CFLAGS=$saved_CFLAGS
5727 esac
5729 esac
5730 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5731 TARGETFLAGS="-marm -mfloat-abi=$float_abi"
5734 aarch64*)
5735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5736 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5737 if ${wine_cv_builtin_ms_va_list+:} false; then :
5738 $as_echo_n "(cached) " >&6
5739 else
5740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5741 /* end confdefs.h. */
5742 #include <stdarg.h>
5744 main ()
5746 void func(__builtin_ms_va_list *args);
5748 return 0;
5750 _ACEOF
5751 if ac_fn_c_try_compile "$LINENO"; then :
5752 wine_cv_builtin_ms_va_list=yes
5753 else
5754 wine_cv_builtin_ms_va_list=no
5756 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5759 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5760 test $wine_cv_builtin_ms_va_list != no || as_fn_error $? "You need clang >= 5.0 to build Wine for arm64." "$LINENO" 5
5762 i[3456789]86*)
5763 enable_win16=${enable_win16:-yes}
5764 with_unwind=${with_unwind:-no}
5766 esac
5768 enable_win16=${enable_win16:-no}
5769 enable_win64=${enable_win64:-no}
5771 enable_winetest=${enable_winetest:-$enable_tests}
5773 if test "x$enable_win64" = "xyes"
5774 then
5775 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5776 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5777 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5781 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5782 if ${wine_cv_toolsdir+:} false; then :
5783 $as_echo_n "(cached) " >&6
5784 else
5785 wine_cv_toolsdir="$with_wine_tools"
5786 if test -z "$with_wine_tools"; then
5787 if test "$cross_compiling" = "yes"; then
5788 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5789 elif test -n "$with_wine64"; then
5790 wine_cv_toolsdir="$with_wine64"
5794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5795 $as_echo "$wine_cv_toolsdir" >&6; }
5796 if test -z "$wine_cv_toolsdir"; then
5797 wine_makedep=tools/makedep
5798 TOOLSDIR="\$(top_builddir)"
5800 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5801 wine_makedep=$wine_cv_toolsdir/tools/makedep
5802 case "$wine_cv_toolsdir" in
5803 /*) TOOLSDIR=$wine_cv_toolsdir
5805 *) TOOLSDIR="\$(top_builddir)/$wine_cv_toolsdir"
5807 esac
5808 enable_tools=${enable_tools:-no}
5809 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5810 else
5811 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5813 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5814 then
5815 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5819 for ac_prog in flex
5821 # Extract the first word of "$ac_prog", so it can be a program name with args.
5822 set dummy $ac_prog; ac_word=$2
5823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5824 $as_echo_n "checking for $ac_word... " >&6; }
5825 if ${ac_cv_prog_FLEX+:} false; then :
5826 $as_echo_n "(cached) " >&6
5827 else
5828 if test -n "$FLEX"; then
5829 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5830 else
5831 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5832 for as_dir in $PATH
5834 IFS=$as_save_IFS
5835 test -z "$as_dir" && as_dir=.
5836 for ac_exec_ext in '' $ac_executable_extensions; do
5837 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5838 ac_cv_prog_FLEX="$ac_prog"
5839 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5840 break 2
5842 done
5843 done
5844 IFS=$as_save_IFS
5848 FLEX=$ac_cv_prog_FLEX
5849 if test -n "$FLEX"; then
5850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5851 $as_echo "$FLEX" >&6; }
5852 else
5853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5854 $as_echo "no" >&6; }
5858 test -n "$FLEX" && break
5859 done
5860 test -n "$FLEX" || FLEX="none"
5862 if test "$FLEX" = "none"
5863 then
5864 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5867 $as_echo_n "checking whether flex is recent enough... " >&6; }
5868 if ${wine_cv_recent_flex+:} false; then :
5869 $as_echo_n "(cached) " >&6
5870 else
5871 cat >conftest.l <<EOF
5872 %top{
5873 #include "prediluvian.h"
5877 if $FLEX -t conftest.l >/dev/null 2>&5
5878 then
5879 wine_cv_recent_flex=yes
5880 else
5881 wine_cv_recent_flex=no
5884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
5885 $as_echo "$wine_cv_recent_flex" >&6; }
5886 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
5888 for ac_prog in bison
5890 # Extract the first word of "$ac_prog", so it can be a program name with args.
5891 set dummy $ac_prog; ac_word=$2
5892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5893 $as_echo_n "checking for $ac_word... " >&6; }
5894 if ${ac_cv_prog_BISON+:} false; then :
5895 $as_echo_n "(cached) " >&6
5896 else
5897 if test -n "$BISON"; then
5898 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5899 else
5900 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5901 for as_dir in $PATH
5903 IFS=$as_save_IFS
5904 test -z "$as_dir" && as_dir=.
5905 for ac_exec_ext in '' $ac_executable_extensions; do
5906 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5907 ac_cv_prog_BISON="$ac_prog"
5908 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5909 break 2
5911 done
5912 done
5913 IFS=$as_save_IFS
5917 BISON=$ac_cv_prog_BISON
5918 if test -n "$BISON"; then
5919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5920 $as_echo "$BISON" >&6; }
5921 else
5922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5923 $as_echo "no" >&6; }
5927 test -n "$BISON" && break
5928 done
5929 test -n "$BISON" || BISON="none"
5931 if test "$BISON" = "none"
5932 then
5933 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5935 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
5936 $as_echo_n "checking whether bison is recent enough... " >&6; }
5937 if ${wine_cv_recent_bison+:} false; then :
5938 $as_echo_n "(cached) " >&6
5939 else
5940 cat >conftest.y <<EOF
5941 %define parse.error verbose
5943 empty: ;
5945 if $BISON conftest.y >/dev/null 2>&5
5946 then
5947 wine_cv_recent_bison=yes
5948 else
5949 wine_cv_recent_bison=no
5952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
5953 $as_echo "$wine_cv_recent_bison" >&6; }
5954 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
5956 if test -n "$ac_tool_prefix"; then
5957 for ac_prog in ar gar
5959 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5960 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5962 $as_echo_n "checking for $ac_word... " >&6; }
5963 if ${ac_cv_prog_AR+:} false; then :
5964 $as_echo_n "(cached) " >&6
5965 else
5966 if test -n "$AR"; then
5967 ac_cv_prog_AR="$AR" # Let the user override the test.
5968 else
5969 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5970 for as_dir in $PATH
5972 IFS=$as_save_IFS
5973 test -z "$as_dir" && as_dir=.
5974 for ac_exec_ext in '' $ac_executable_extensions; do
5975 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5976 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5977 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5978 break 2
5980 done
5981 done
5982 IFS=$as_save_IFS
5986 AR=$ac_cv_prog_AR
5987 if test -n "$AR"; then
5988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5989 $as_echo "$AR" >&6; }
5990 else
5991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5992 $as_echo "no" >&6; }
5996 test -n "$AR" && break
5997 done
5999 if test -z "$AR"; then
6000 ac_ct_AR=$AR
6001 for ac_prog in ar gar
6003 # Extract the first word of "$ac_prog", so it can be a program name with args.
6004 set dummy $ac_prog; ac_word=$2
6005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6006 $as_echo_n "checking for $ac_word... " >&6; }
6007 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6008 $as_echo_n "(cached) " >&6
6009 else
6010 if test -n "$ac_ct_AR"; then
6011 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6012 else
6013 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6014 for as_dir in $PATH
6016 IFS=$as_save_IFS
6017 test -z "$as_dir" && as_dir=.
6018 for ac_exec_ext in '' $ac_executable_extensions; do
6019 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6020 ac_cv_prog_ac_ct_AR="$ac_prog"
6021 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6022 break 2
6024 done
6025 done
6026 IFS=$as_save_IFS
6030 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6031 if test -n "$ac_ct_AR"; then
6032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6033 $as_echo "$ac_ct_AR" >&6; }
6034 else
6035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6036 $as_echo "no" >&6; }
6040 test -n "$ac_ct_AR" && break
6041 done
6043 if test "x$ac_ct_AR" = x; then
6044 AR="ar"
6045 else
6046 case $cross_compiling:$ac_tool_warned in
6047 yes:)
6048 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6049 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6050 ac_tool_warned=yes ;;
6051 esac
6052 AR=$ac_ct_AR
6056 if test -n "$ac_tool_prefix"; then
6057 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6058 set dummy ${ac_tool_prefix}strip; ac_word=$2
6059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6060 $as_echo_n "checking for $ac_word... " >&6; }
6061 if ${ac_cv_prog_STRIP+:} false; then :
6062 $as_echo_n "(cached) " >&6
6063 else
6064 if test -n "$STRIP"; then
6065 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6066 else
6067 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6068 for as_dir in $PATH
6070 IFS=$as_save_IFS
6071 test -z "$as_dir" && as_dir=.
6072 for ac_exec_ext in '' $ac_executable_extensions; do
6073 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6074 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6075 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6076 break 2
6078 done
6079 done
6080 IFS=$as_save_IFS
6084 STRIP=$ac_cv_prog_STRIP
6085 if test -n "$STRIP"; then
6086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6087 $as_echo "$STRIP" >&6; }
6088 else
6089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6090 $as_echo "no" >&6; }
6095 if test -z "$ac_cv_prog_STRIP"; then
6096 ac_ct_STRIP=$STRIP
6097 # Extract the first word of "strip", so it can be a program name with args.
6098 set dummy strip; ac_word=$2
6099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6100 $as_echo_n "checking for $ac_word... " >&6; }
6101 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6102 $as_echo_n "(cached) " >&6
6103 else
6104 if test -n "$ac_ct_STRIP"; then
6105 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6106 else
6107 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6108 for as_dir in $PATH
6110 IFS=$as_save_IFS
6111 test -z "$as_dir" && as_dir=.
6112 for ac_exec_ext in '' $ac_executable_extensions; do
6113 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6114 ac_cv_prog_ac_ct_STRIP="strip"
6115 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6116 break 2
6118 done
6119 done
6120 IFS=$as_save_IFS
6124 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6125 if test -n "$ac_ct_STRIP"; then
6126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6127 $as_echo "$ac_ct_STRIP" >&6; }
6128 else
6129 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6130 $as_echo "no" >&6; }
6133 if test "x$ac_ct_STRIP" = x; then
6134 STRIP="strip"
6135 else
6136 case $cross_compiling:$ac_tool_warned in
6137 yes:)
6138 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6139 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6140 ac_tool_warned=yes ;;
6141 esac
6142 STRIP=$ac_ct_STRIP
6144 else
6145 STRIP="$ac_cv_prog_STRIP"
6148 if test -n "$ac_tool_prefix"; then
6149 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6150 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6152 $as_echo_n "checking for $ac_word... " >&6; }
6153 if ${ac_cv_prog_RANLIB+:} false; then :
6154 $as_echo_n "(cached) " >&6
6155 else
6156 if test -n "$RANLIB"; then
6157 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6158 else
6159 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6160 for as_dir in $PATH
6162 IFS=$as_save_IFS
6163 test -z "$as_dir" && as_dir=.
6164 for ac_exec_ext in '' $ac_executable_extensions; do
6165 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6166 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6167 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6168 break 2
6170 done
6171 done
6172 IFS=$as_save_IFS
6176 RANLIB=$ac_cv_prog_RANLIB
6177 if test -n "$RANLIB"; then
6178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6179 $as_echo "$RANLIB" >&6; }
6180 else
6181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6182 $as_echo "no" >&6; }
6187 if test -z "$ac_cv_prog_RANLIB"; then
6188 ac_ct_RANLIB=$RANLIB
6189 # Extract the first word of "ranlib", so it can be a program name with args.
6190 set dummy ranlib; ac_word=$2
6191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6192 $as_echo_n "checking for $ac_word... " >&6; }
6193 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6194 $as_echo_n "(cached) " >&6
6195 else
6196 if test -n "$ac_ct_RANLIB"; then
6197 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6198 else
6199 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6200 for as_dir in $PATH
6202 IFS=$as_save_IFS
6203 test -z "$as_dir" && as_dir=.
6204 for ac_exec_ext in '' $ac_executable_extensions; do
6205 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6206 ac_cv_prog_ac_ct_RANLIB="ranlib"
6207 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6208 break 2
6210 done
6211 done
6212 IFS=$as_save_IFS
6216 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6217 if test -n "$ac_ct_RANLIB"; then
6218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6219 $as_echo "$ac_ct_RANLIB" >&6; }
6220 else
6221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6222 $as_echo "no" >&6; }
6225 if test "x$ac_ct_RANLIB" = x; then
6226 RANLIB=":"
6227 else
6228 case $cross_compiling:$ac_tool_warned in
6229 yes:)
6230 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6231 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6232 ac_tool_warned=yes ;;
6233 esac
6234 RANLIB=$ac_ct_RANLIB
6236 else
6237 RANLIB="$ac_cv_prog_RANLIB"
6240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6241 $as_echo_n "checking whether ln -s works... " >&6; }
6242 LN_S=$as_ln_s
6243 if test "$LN_S" = "ln -s"; then
6244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6245 $as_echo "yes" >&6; }
6246 else
6247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6248 $as_echo "no, using $LN_S" >&6; }
6251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6252 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6253 if ${ac_cv_path_GREP+:} false; then :
6254 $as_echo_n "(cached) " >&6
6255 else
6256 if test -z "$GREP"; then
6257 ac_path_GREP_found=false
6258 # Loop through the user's path and test for each of PROGNAME-LIST
6259 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6260 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6262 IFS=$as_save_IFS
6263 test -z "$as_dir" && as_dir=.
6264 for ac_prog in grep ggrep; do
6265 for ac_exec_ext in '' $ac_executable_extensions; do
6266 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6267 as_fn_executable_p "$ac_path_GREP" || continue
6268 # Check for GNU ac_path_GREP and select it if it is found.
6269 # Check for GNU $ac_path_GREP
6270 case `"$ac_path_GREP" --version 2>&1` in
6271 *GNU*)
6272 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6274 ac_count=0
6275 $as_echo_n 0123456789 >"conftest.in"
6276 while :
6278 cat "conftest.in" "conftest.in" >"conftest.tmp"
6279 mv "conftest.tmp" "conftest.in"
6280 cp "conftest.in" "conftest.nl"
6281 $as_echo 'GREP' >> "conftest.nl"
6282 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6283 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6284 as_fn_arith $ac_count + 1 && ac_count=$as_val
6285 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6286 # Best one so far, save it but keep looking for a better one
6287 ac_cv_path_GREP="$ac_path_GREP"
6288 ac_path_GREP_max=$ac_count
6290 # 10*(2^10) chars as input seems more than enough
6291 test $ac_count -gt 10 && break
6292 done
6293 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6294 esac
6296 $ac_path_GREP_found && break 3
6297 done
6298 done
6299 done
6300 IFS=$as_save_IFS
6301 if test -z "$ac_cv_path_GREP"; then
6302 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6304 else
6305 ac_cv_path_GREP=$GREP
6309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6310 $as_echo "$ac_cv_path_GREP" >&6; }
6311 GREP="$ac_cv_path_GREP"
6314 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6315 $as_echo_n "checking for egrep... " >&6; }
6316 if ${ac_cv_path_EGREP+:} false; then :
6317 $as_echo_n "(cached) " >&6
6318 else
6319 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6320 then ac_cv_path_EGREP="$GREP -E"
6321 else
6322 if test -z "$EGREP"; then
6323 ac_path_EGREP_found=false
6324 # Loop through the user's path and test for each of PROGNAME-LIST
6325 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6326 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6328 IFS=$as_save_IFS
6329 test -z "$as_dir" && as_dir=.
6330 for ac_prog in egrep; do
6331 for ac_exec_ext in '' $ac_executable_extensions; do
6332 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6333 as_fn_executable_p "$ac_path_EGREP" || continue
6334 # Check for GNU ac_path_EGREP and select it if it is found.
6335 # Check for GNU $ac_path_EGREP
6336 case `"$ac_path_EGREP" --version 2>&1` in
6337 *GNU*)
6338 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6340 ac_count=0
6341 $as_echo_n 0123456789 >"conftest.in"
6342 while :
6344 cat "conftest.in" "conftest.in" >"conftest.tmp"
6345 mv "conftest.tmp" "conftest.in"
6346 cp "conftest.in" "conftest.nl"
6347 $as_echo 'EGREP' >> "conftest.nl"
6348 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6349 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6350 as_fn_arith $ac_count + 1 && ac_count=$as_val
6351 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6352 # Best one so far, save it but keep looking for a better one
6353 ac_cv_path_EGREP="$ac_path_EGREP"
6354 ac_path_EGREP_max=$ac_count
6356 # 10*(2^10) chars as input seems more than enough
6357 test $ac_count -gt 10 && break
6358 done
6359 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6360 esac
6362 $ac_path_EGREP_found && break 3
6363 done
6364 done
6365 done
6366 IFS=$as_save_IFS
6367 if test -z "$ac_cv_path_EGREP"; then
6368 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6370 else
6371 ac_cv_path_EGREP=$EGREP
6376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6377 $as_echo "$ac_cv_path_EGREP" >&6; }
6378 EGREP="$ac_cv_path_EGREP"
6381 # Extract the first word of "ldconfig", so it can be a program name with args.
6382 set dummy ldconfig; ac_word=$2
6383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6384 $as_echo_n "checking for $ac_word... " >&6; }
6385 if ${ac_cv_path_LDCONFIG+:} false; then :
6386 $as_echo_n "(cached) " >&6
6387 else
6388 case $LDCONFIG in
6389 [\\/]* | ?:[\\/]*)
6390 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6393 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6394 for as_dir in /sbin /usr/sbin $PATH
6396 IFS=$as_save_IFS
6397 test -z "$as_dir" && as_dir=.
6398 for ac_exec_ext in '' $ac_executable_extensions; do
6399 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6400 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6401 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6402 break 2
6404 done
6405 done
6406 IFS=$as_save_IFS
6408 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6410 esac
6412 LDCONFIG=$ac_cv_path_LDCONFIG
6413 if test -n "$LDCONFIG"; then
6414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
6415 $as_echo "$LDCONFIG" >&6; }
6416 else
6417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6418 $as_echo "no" >&6; }
6422 for ac_prog in msgfmt
6424 # Extract the first word of "$ac_prog", so it can be a program name with args.
6425 set dummy $ac_prog; ac_word=$2
6426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6427 $as_echo_n "checking for $ac_word... " >&6; }
6428 if ${ac_cv_prog_MSGFMT+:} false; then :
6429 $as_echo_n "(cached) " >&6
6430 else
6431 if test -n "$MSGFMT"; then
6432 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
6433 else
6434 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6435 for as_dir in $PATH
6437 IFS=$as_save_IFS
6438 test -z "$as_dir" && as_dir=.
6439 for ac_exec_ext in '' $ac_executable_extensions; do
6440 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6441 ac_cv_prog_MSGFMT="$ac_prog"
6442 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6443 break 2
6445 done
6446 done
6447 IFS=$as_save_IFS
6451 MSGFMT=$ac_cv_prog_MSGFMT
6452 if test -n "$MSGFMT"; then
6453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6454 $as_echo "$MSGFMT" >&6; }
6455 else
6456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6457 $as_echo "no" >&6; }
6461 test -n "$MSGFMT" && break
6462 done
6463 test -n "$MSGFMT" || MSGFMT="false"
6465 if ${ac_tool_prefix+:} false; then :
6466 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6467 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6469 $as_echo_n "checking for $ac_word... " >&6; }
6470 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6471 $as_echo_n "(cached) " >&6
6472 else
6473 if test -n "$PKG_CONFIG"; then
6474 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6475 else
6476 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6477 for as_dir in $PATH
6479 IFS=$as_save_IFS
6480 test -z "$as_dir" && as_dir=.
6481 for ac_exec_ext in '' $ac_executable_extensions; do
6482 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6483 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
6484 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6485 break 2
6487 done
6488 done
6489 IFS=$as_save_IFS
6493 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6494 if test -n "$PKG_CONFIG"; then
6495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6496 $as_echo "$PKG_CONFIG" >&6; }
6497 else
6498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6499 $as_echo "no" >&6; }
6504 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
6505 if test "x$cross_compiling" = xyes; then :
6507 else
6508 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
6509 # Extract the first word of "pkg-config", so it can be a program name with args.
6510 set dummy pkg-config; ac_word=$2
6511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6512 $as_echo_n "checking for $ac_word... " >&6; }
6513 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6514 $as_echo_n "(cached) " >&6
6515 else
6516 if test -n "$PKG_CONFIG"; then
6517 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6518 else
6519 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6520 for as_dir in $PATH
6522 IFS=$as_save_IFS
6523 test -z "$as_dir" && as_dir=.
6524 for ac_exec_ext in '' $ac_executable_extensions; do
6525 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6526 ac_cv_prog_PKG_CONFIG="pkg-config"
6527 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6528 break 2
6530 done
6531 done
6532 IFS=$as_save_IFS
6536 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6537 if test -n "$PKG_CONFIG"; then
6538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6539 $as_echo "$PKG_CONFIG" >&6; }
6540 else
6541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6542 $as_echo "no" >&6; }
6547 else
6548 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6551 if test "x$enable_maintainer_mode" != "xyes"
6552 then
6553 FONTFORGE=""
6554 RSVG=""
6555 CONVERT=""
6556 ICOTOOL=""
6557 else
6558 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6559 for ac_prog in fontforge
6561 # Extract the first word of "$ac_prog", so it can be a program name with args.
6562 set dummy $ac_prog; ac_word=$2
6563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6564 $as_echo_n "checking for $ac_word... " >&6; }
6565 if ${ac_cv_prog_FONTFORGE+:} false; then :
6566 $as_echo_n "(cached) " >&6
6567 else
6568 if test -n "$FONTFORGE"; then
6569 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6570 else
6571 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6572 for as_dir in $PATH
6574 IFS=$as_save_IFS
6575 test -z "$as_dir" && as_dir=.
6576 for ac_exec_ext in '' $ac_executable_extensions; do
6577 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6578 ac_cv_prog_FONTFORGE="$ac_prog"
6579 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6580 break 2
6582 done
6583 done
6584 IFS=$as_save_IFS
6588 FONTFORGE=$ac_cv_prog_FONTFORGE
6589 if test -n "$FONTFORGE"; then
6590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6591 $as_echo "$FONTFORGE" >&6; }
6592 else
6593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6594 $as_echo "no" >&6; }
6598 test -n "$FONTFORGE" && break
6599 done
6600 test -n "$FONTFORGE" || FONTFORGE="false"
6602 for ac_prog in rsvg-convert rsvg
6604 # Extract the first word of "$ac_prog", so it can be a program name with args.
6605 set dummy $ac_prog; ac_word=$2
6606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6607 $as_echo_n "checking for $ac_word... " >&6; }
6608 if ${ac_cv_prog_RSVG+:} false; then :
6609 $as_echo_n "(cached) " >&6
6610 else
6611 if test -n "$RSVG"; then
6612 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6613 else
6614 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6615 for as_dir in $PATH
6617 IFS=$as_save_IFS
6618 test -z "$as_dir" && as_dir=.
6619 for ac_exec_ext in '' $ac_executable_extensions; do
6620 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6621 ac_cv_prog_RSVG="$ac_prog"
6622 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6623 break 2
6625 done
6626 done
6627 IFS=$as_save_IFS
6631 RSVG=$ac_cv_prog_RSVG
6632 if test -n "$RSVG"; then
6633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6634 $as_echo "$RSVG" >&6; }
6635 else
6636 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6637 $as_echo "no" >&6; }
6641 test -n "$RSVG" && break
6642 done
6643 test -n "$RSVG" || RSVG="false"
6645 for ac_prog in convert
6647 # Extract the first word of "$ac_prog", so it can be a program name with args.
6648 set dummy $ac_prog; ac_word=$2
6649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6650 $as_echo_n "checking for $ac_word... " >&6; }
6651 if ${ac_cv_prog_CONVERT+:} false; then :
6652 $as_echo_n "(cached) " >&6
6653 else
6654 if test -n "$CONVERT"; then
6655 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6656 else
6657 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6658 for as_dir in $PATH
6660 IFS=$as_save_IFS
6661 test -z "$as_dir" && as_dir=.
6662 for ac_exec_ext in '' $ac_executable_extensions; do
6663 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6664 ac_cv_prog_CONVERT="$ac_prog"
6665 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6666 break 2
6668 done
6669 done
6670 IFS=$as_save_IFS
6674 CONVERT=$ac_cv_prog_CONVERT
6675 if test -n "$CONVERT"; then
6676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6677 $as_echo "$CONVERT" >&6; }
6678 else
6679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6680 $as_echo "no" >&6; }
6684 test -n "$CONVERT" && break
6685 done
6686 test -n "$CONVERT" || CONVERT="false"
6688 for ac_prog in icotool
6690 # Extract the first word of "$ac_prog", so it can be a program name with args.
6691 set dummy $ac_prog; ac_word=$2
6692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6693 $as_echo_n "checking for $ac_word... " >&6; }
6694 if ${ac_cv_prog_ICOTOOL+:} false; then :
6695 $as_echo_n "(cached) " >&6
6696 else
6697 if test -n "$ICOTOOL"; then
6698 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6699 else
6700 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6701 for as_dir in $PATH
6703 IFS=$as_save_IFS
6704 test -z "$as_dir" && as_dir=.
6705 for ac_exec_ext in '' $ac_executable_extensions; do
6706 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6707 ac_cv_prog_ICOTOOL="$ac_prog"
6708 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6709 break 2
6711 done
6712 done
6713 IFS=$as_save_IFS
6717 ICOTOOL=$ac_cv_prog_ICOTOOL
6718 if test -n "$ICOTOOL"; then
6719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6720 $as_echo "$ICOTOOL" >&6; }
6721 else
6722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6723 $as_echo "no" >&6; }
6727 test -n "$ICOTOOL" && break
6728 done
6729 test -n "$ICOTOOL" || ICOTOOL="false"
6731 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6732 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6734 if test "$CONVERT" = false
6735 then
6736 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6737 else
6738 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6739 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6740 convert_version=`convert --version | head -n1`
6741 if test "x$convert_version" != "x"
6742 then
6743 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6744 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6745 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6746 then
6747 CONVERT=false
6750 if test "$CONVERT" = false
6751 then
6752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6753 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6754 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6755 else
6756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6757 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6761 if test "$ICOTOOL" = false
6762 then
6763 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6764 else
6765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6766 $as_echo_n "checking for recent enough icotool... " >&6; }
6767 icotool_version=`icotool --version | head -n1`
6768 if test "x$icotool_version" != "x"
6769 then
6770 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6771 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6772 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6773 then
6774 ICOTOOL=false
6775 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6778 if test "$ICOTOOL" = false
6779 then
6780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6781 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6782 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6783 else
6784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6785 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6789 with_gettext=yes
6790 with_gettextpo=yes
6793 test "x$with_gettext" != xno || MSGFMT=false
6794 if test "$MSGFMT" != "false"
6795 then
6796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6797 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6798 if ${wine_cv_msgfmt_contexts+:} false; then :
6799 $as_echo_n "(cached) " >&6
6800 else
6801 cat >conftest.po <<EOF
6802 # comment
6803 msgctxt "ctxt"
6804 msgid "id"
6805 msgstr "str"
6807 if $MSGFMT -o /dev/null conftest.po 2>&5
6808 then
6809 wine_cv_msgfmt_contexts=yes
6810 else
6811 wine_cv_msgfmt_contexts=no
6814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
6815 $as_echo "$wine_cv_msgfmt_contexts" >&6; }
6816 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
6818 if test "$MSGFMT" = false; then :
6819 case "x$with_gettext" in
6820 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6821 xno) ;;
6822 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6823 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6824 esac
6825 enable_po=${enable_po:-no}
6829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6830 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6831 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6832 $as_echo_n "(cached) " >&6
6833 else
6834 ac_check_lib_save_LIBS=$LIBS
6835 LIBS="-li386 $LIBS"
6836 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6837 /* end confdefs.h. */
6839 /* Override any GCC internal prototype to avoid an error.
6840 Use char because int might match the return type of a GCC
6841 builtin and then its argument prototype would still apply. */
6842 #ifdef __cplusplus
6843 extern "C"
6844 #endif
6845 char i386_set_ldt ();
6847 main ()
6849 return i386_set_ldt ();
6851 return 0;
6853 _ACEOF
6854 if ac_fn_c_try_link "$LINENO"; then :
6855 ac_cv_lib_i386_i386_set_ldt=yes
6856 else
6857 ac_cv_lib_i386_i386_set_ldt=no
6859 rm -f core conftest.err conftest.$ac_objext \
6860 conftest$ac_exeext conftest.$ac_ext
6861 LIBS=$ac_check_lib_save_LIBS
6863 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6864 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6865 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6866 I386_LIBS="-li386"
6871 OPENGL_LIBS=""
6875 # Check whether --enable-largefile was given.
6876 if test "${enable_largefile+set}" = set; then :
6877 enableval=$enable_largefile;
6880 if test "$enable_largefile" != no; then
6882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6883 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6884 if ${ac_cv_sys_largefile_CC+:} false; then :
6885 $as_echo_n "(cached) " >&6
6886 else
6887 ac_cv_sys_largefile_CC=no
6888 if test "$GCC" != yes; then
6889 ac_save_CC=$CC
6890 while :; do
6891 # IRIX 6.2 and later do not support large files by default,
6892 # so use the C compiler's -n32 option if that helps.
6893 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6894 /* end confdefs.h. */
6895 #include <sys/types.h>
6896 /* Check that off_t can represent 2**63 - 1 correctly.
6897 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6898 since some C++ compilers masquerading as C compilers
6899 incorrectly reject 9223372036854775807. */
6900 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6901 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6902 && LARGE_OFF_T % 2147483647 == 1)
6903 ? 1 : -1];
6905 main ()
6909 return 0;
6911 _ACEOF
6912 if ac_fn_c_try_compile "$LINENO"; then :
6913 break
6915 rm -f core conftest.err conftest.$ac_objext
6916 CC="$CC -n32"
6917 if ac_fn_c_try_compile "$LINENO"; then :
6918 ac_cv_sys_largefile_CC=' -n32'; break
6920 rm -f core conftest.err conftest.$ac_objext
6921 break
6922 done
6923 CC=$ac_save_CC
6924 rm -f conftest.$ac_ext
6927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6928 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6929 if test "$ac_cv_sys_largefile_CC" != no; then
6930 CC=$CC$ac_cv_sys_largefile_CC
6933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6934 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6935 if ${ac_cv_sys_file_offset_bits+:} false; then :
6936 $as_echo_n "(cached) " >&6
6937 else
6938 while :; do
6939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6940 /* end confdefs.h. */
6941 #include <sys/types.h>
6942 /* Check that off_t can represent 2**63 - 1 correctly.
6943 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6944 since some C++ compilers masquerading as C compilers
6945 incorrectly reject 9223372036854775807. */
6946 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6947 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6948 && LARGE_OFF_T % 2147483647 == 1)
6949 ? 1 : -1];
6951 main ()
6955 return 0;
6957 _ACEOF
6958 if ac_fn_c_try_compile "$LINENO"; then :
6959 ac_cv_sys_file_offset_bits=no; break
6961 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6963 /* end confdefs.h. */
6964 #define _FILE_OFFSET_BITS 64
6965 #include <sys/types.h>
6966 /* Check that off_t can represent 2**63 - 1 correctly.
6967 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6968 since some C++ compilers masquerading as C compilers
6969 incorrectly reject 9223372036854775807. */
6970 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6971 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6972 && LARGE_OFF_T % 2147483647 == 1)
6973 ? 1 : -1];
6975 main ()
6979 return 0;
6981 _ACEOF
6982 if ac_fn_c_try_compile "$LINENO"; then :
6983 ac_cv_sys_file_offset_bits=64; break
6985 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6986 ac_cv_sys_file_offset_bits=unknown
6987 break
6988 done
6990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6991 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6992 case $ac_cv_sys_file_offset_bits in #(
6993 no | unknown) ;;
6995 cat >>confdefs.h <<_ACEOF
6996 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6997 _ACEOF
6999 esac
7000 rm -rf conftest*
7001 if test $ac_cv_sys_file_offset_bits = unknown; then
7002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7003 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
7004 if ${ac_cv_sys_large_files+:} false; then :
7005 $as_echo_n "(cached) " >&6
7006 else
7007 while :; do
7008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7009 /* end confdefs.h. */
7010 #include <sys/types.h>
7011 /* Check that off_t can represent 2**63 - 1 correctly.
7012 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7013 since some C++ compilers masquerading as C compilers
7014 incorrectly reject 9223372036854775807. */
7015 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7016 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7017 && LARGE_OFF_T % 2147483647 == 1)
7018 ? 1 : -1];
7020 main ()
7024 return 0;
7026 _ACEOF
7027 if ac_fn_c_try_compile "$LINENO"; then :
7028 ac_cv_sys_large_files=no; break
7030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7032 /* end confdefs.h. */
7033 #define _LARGE_FILES 1
7034 #include <sys/types.h>
7035 /* Check that off_t can represent 2**63 - 1 correctly.
7036 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7037 since some C++ compilers masquerading as C compilers
7038 incorrectly reject 9223372036854775807. */
7039 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7040 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7041 && LARGE_OFF_T % 2147483647 == 1)
7042 ? 1 : -1];
7044 main ()
7048 return 0;
7050 _ACEOF
7051 if ac_fn_c_try_compile "$LINENO"; then :
7052 ac_cv_sys_large_files=1; break
7054 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7055 ac_cv_sys_large_files=unknown
7056 break
7057 done
7059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7060 $as_echo "$ac_cv_sys_large_files" >&6; }
7061 case $ac_cv_sys_large_files in #(
7062 no | unknown) ;;
7064 cat >>confdefs.h <<_ACEOF
7065 #define _LARGE_FILES $ac_cv_sys_large_files
7066 _ACEOF
7068 esac
7069 rm -rf conftest*
7076 ac_ext=c
7077 ac_cpp='$CPP $CPPFLAGS'
7078 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7079 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7080 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7082 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7083 # On Suns, sometimes $CPP names a directory.
7084 if test -n "$CPP" && test -d "$CPP"; then
7085 CPP=
7087 if test -z "$CPP"; then
7088 if ${ac_cv_prog_CPP+:} false; then :
7089 $as_echo_n "(cached) " >&6
7090 else
7091 # Double quotes because CPP needs to be expanded
7092 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7094 ac_preproc_ok=false
7095 for ac_c_preproc_warn_flag in '' yes
7097 # Use a header file that comes with gcc, so configuring glibc
7098 # with a fresh cross-compiler works.
7099 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7100 # <limits.h> exists even on freestanding compilers.
7101 # On the NeXT, cc -E runs the code through the compiler's parser,
7102 # not just through cpp. "Syntax error" is here to catch this case.
7103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7104 /* end confdefs.h. */
7105 #ifdef __STDC__
7106 # include <limits.h>
7107 #else
7108 # include <assert.h>
7109 #endif
7110 Syntax error
7111 _ACEOF
7112 if ac_fn_c_try_cpp "$LINENO"; then :
7114 else
7115 # Broken: fails on valid input.
7116 continue
7118 rm -f conftest.err conftest.i conftest.$ac_ext
7120 # OK, works on sane cases. Now check whether nonexistent headers
7121 # can be detected and how.
7122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7123 /* end confdefs.h. */
7124 #include <ac_nonexistent.h>
7125 _ACEOF
7126 if ac_fn_c_try_cpp "$LINENO"; then :
7127 # Broken: success on invalid input.
7128 continue
7129 else
7130 # Passes both tests.
7131 ac_preproc_ok=:
7132 break
7134 rm -f conftest.err conftest.i conftest.$ac_ext
7136 done
7137 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7138 rm -f conftest.i conftest.err conftest.$ac_ext
7139 if $ac_preproc_ok; then :
7140 break
7143 done
7144 ac_cv_prog_CPP=$CPP
7147 CPP=$ac_cv_prog_CPP
7148 else
7149 ac_cv_prog_CPP=$CPP
7151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7152 $as_echo "$CPP" >&6; }
7153 ac_preproc_ok=false
7154 for ac_c_preproc_warn_flag in '' yes
7156 # Use a header file that comes with gcc, so configuring glibc
7157 # with a fresh cross-compiler works.
7158 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7159 # <limits.h> exists even on freestanding compilers.
7160 # On the NeXT, cc -E runs the code through the compiler's parser,
7161 # not just through cpp. "Syntax error" is here to catch this case.
7162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7163 /* end confdefs.h. */
7164 #ifdef __STDC__
7165 # include <limits.h>
7166 #else
7167 # include <assert.h>
7168 #endif
7169 Syntax error
7170 _ACEOF
7171 if ac_fn_c_try_cpp "$LINENO"; then :
7173 else
7174 # Broken: fails on valid input.
7175 continue
7177 rm -f conftest.err conftest.i conftest.$ac_ext
7179 # OK, works on sane cases. Now check whether nonexistent headers
7180 # can be detected and how.
7181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7182 /* end confdefs.h. */
7183 #include <ac_nonexistent.h>
7184 _ACEOF
7185 if ac_fn_c_try_cpp "$LINENO"; then :
7186 # Broken: success on invalid input.
7187 continue
7188 else
7189 # Passes both tests.
7190 ac_preproc_ok=:
7191 break
7193 rm -f conftest.err conftest.i conftest.$ac_ext
7195 done
7196 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7197 rm -f conftest.i conftest.err conftest.$ac_ext
7198 if $ac_preproc_ok; then :
7200 else
7201 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7202 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7203 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7204 See \`config.log' for more details" "$LINENO" 5; }
7207 ac_ext=c
7208 ac_cpp='$CPP $CPPFLAGS'
7209 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7210 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7211 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7215 $as_echo_n "checking for ANSI C header files... " >&6; }
7216 if ${ac_cv_header_stdc+:} false; then :
7217 $as_echo_n "(cached) " >&6
7218 else
7219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7220 /* end confdefs.h. */
7221 #include <stdlib.h>
7222 #include <stdarg.h>
7223 #include <string.h>
7224 #include <float.h>
7227 main ()
7231 return 0;
7233 _ACEOF
7234 if ac_fn_c_try_compile "$LINENO"; then :
7235 ac_cv_header_stdc=yes
7236 else
7237 ac_cv_header_stdc=no
7239 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7241 if test $ac_cv_header_stdc = yes; then
7242 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7244 /* end confdefs.h. */
7245 #include <string.h>
7247 _ACEOF
7248 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7249 $EGREP "memchr" >/dev/null 2>&1; then :
7251 else
7252 ac_cv_header_stdc=no
7254 rm -f conftest*
7258 if test $ac_cv_header_stdc = yes; then
7259 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7260 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7261 /* end confdefs.h. */
7262 #include <stdlib.h>
7264 _ACEOF
7265 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7266 $EGREP "free" >/dev/null 2>&1; then :
7268 else
7269 ac_cv_header_stdc=no
7271 rm -f conftest*
7275 if test $ac_cv_header_stdc = yes; then
7276 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7277 if test "$cross_compiling" = yes; then :
7279 else
7280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7281 /* end confdefs.h. */
7282 #include <ctype.h>
7283 #include <stdlib.h>
7284 #if ((' ' & 0x0FF) == 0x020)
7285 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7286 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7287 #else
7288 # define ISLOWER(c) \
7289 (('a' <= (c) && (c) <= 'i') \
7290 || ('j' <= (c) && (c) <= 'r') \
7291 || ('s' <= (c) && (c) <= 'z'))
7292 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7293 #endif
7295 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7297 main ()
7299 int i;
7300 for (i = 0; i < 256; i++)
7301 if (XOR (islower (i), ISLOWER (i))
7302 || toupper (i) != TOUPPER (i))
7303 return 2;
7304 return 0;
7306 _ACEOF
7307 if ac_fn_c_try_run "$LINENO"; then :
7309 else
7310 ac_cv_header_stdc=no
7312 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7313 conftest.$ac_objext conftest.beam conftest.$ac_ext
7318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7319 $as_echo "$ac_cv_header_stdc" >&6; }
7320 if test $ac_cv_header_stdc = yes; then
7322 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7326 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7327 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7328 inttypes.h stdint.h unistd.h
7329 do :
7330 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7331 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7333 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7334 cat >>confdefs.h <<_ACEOF
7335 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7336 _ACEOF
7340 done
7343 for ac_header in \
7344 AL/al.h \
7345 ApplicationServices/ApplicationServices.h \
7346 AudioToolbox/AudioConverter.h \
7347 AudioUnit/AudioUnit.h \
7348 AudioUnit/AudioComponent.h \
7349 CL/cl.h \
7350 Carbon/Carbon.h \
7351 CommonCrypto/CommonCryptor.h \
7352 CoreAudio/CoreAudio.h \
7353 CoreServices/CoreServices.h \
7354 DiskArbitration/DiskArbitration.h \
7355 EGL/egl.h \
7356 IOKit/IOKitLib.h \
7357 IOKit/hid/IOHIDLib.h \
7358 OpenAL/al.h \
7359 OpenCL/opencl.h \
7360 QuickTime/ImageCompression.h \
7361 Security/Security.h \
7362 SystemConfiguration/SCDynamicStoreCopyDHCPInfo.h \
7363 SystemConfiguration/SCNetworkConfiguration.h \
7364 alias.h \
7365 arpa/inet.h \
7366 arpa/nameser.h \
7367 asm/types.h \
7368 asm/user.h \
7369 curses.h \
7370 dirent.h \
7371 dlfcn.h \
7372 elf.h \
7373 float.h \
7374 fnmatch.h \
7375 getopt.h \
7376 gettext-po.h \
7377 grp.h \
7378 gsm.h \
7379 gsm/gsm.h \
7380 ieeefp.h \
7381 inet/mib2.h \
7382 kstat.h \
7383 libproc.h \
7384 link.h \
7385 linux/cdrom.h \
7386 linux/compiler.h \
7387 linux/filter.h \
7388 linux/hdreg.h \
7389 linux/hidraw.h \
7390 linux/input.h \
7391 linux/ioctl.h \
7392 linux/joystick.h \
7393 linux/major.h \
7394 linux/param.h \
7395 linux/serial.h \
7396 linux/types.h \
7397 linux/ucdrom.h \
7398 lwp.h \
7399 mach-o/nlist.h \
7400 mach-o/loader.h \
7401 mach/mach.h \
7402 mach/machine.h \
7403 machine/cpu.h \
7404 machine/limits.h \
7405 machine/sysarch.h \
7406 mntent.h \
7407 ncurses.h \
7408 netdb.h \
7409 netinet/in.h \
7410 netinet/in_systm.h \
7411 netinet/tcp.h \
7412 netinet/tcp_fsm.h \
7413 pcap/pcap.h \
7414 poll.h \
7415 port.h \
7416 pthread.h \
7417 pwd.h \
7418 sched.h \
7419 scsi/scsi.h \
7420 scsi/scsi_ioctl.h \
7421 scsi/sg.h \
7422 stdbool.h \
7423 stdint.h \
7424 stropts.h \
7425 sys/attr.h \
7426 sys/auxv.h \
7427 sys/cdio.h \
7428 sys/elf32.h \
7429 sys/epoll.h \
7430 sys/event.h \
7431 sys/exec_elf.h \
7432 sys/filio.h \
7433 sys/ioctl.h \
7434 sys/ipc.h \
7435 sys/limits.h \
7436 sys/link.h \
7437 sys/mman.h \
7438 sys/modem.h \
7439 sys/msg.h \
7440 sys/mtio.h \
7441 sys/param.h \
7442 sys/poll.h \
7443 sys/prctl.h \
7444 sys/protosw.h \
7445 sys/ptrace.h \
7446 sys/queue.h \
7447 sys/resource.h \
7448 sys/scsiio.h \
7449 sys/shm.h \
7450 sys/signal.h \
7451 sys/socket.h \
7452 sys/socketvar.h \
7453 sys/sockio.h \
7454 sys/statvfs.h \
7455 sys/strtio.h \
7456 sys/syscall.h \
7457 sys/sysinfo.h \
7458 sys/tihdr.h \
7459 sys/time.h \
7460 sys/timeout.h \
7461 sys/times.h \
7462 sys/uio.h \
7463 sys/user.h \
7464 sys/utsname.h \
7465 sys/vnode.h \
7466 sys/wait.h \
7467 syscall.h \
7468 termios.h \
7469 unistd.h \
7470 utime.h \
7471 valgrind/memcheck.h \
7472 valgrind/valgrind.h
7474 do :
7475 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7476 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7477 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7478 cat >>confdefs.h <<_ACEOF
7479 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7480 _ACEOF
7484 done
7486 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7487 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7489 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7494 if test $ac_cv_header_sys_mkdev_h = no; then
7495 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7496 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7498 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7505 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7506 if ${ac_cv_header_stat_broken+:} false; then :
7507 $as_echo_n "(cached) " >&6
7508 else
7509 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7510 /* end confdefs.h. */
7511 #include <sys/types.h>
7512 #include <sys/stat.h>
7514 #if defined S_ISBLK && defined S_IFDIR
7515 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7516 #endif
7518 #if defined S_ISBLK && defined S_IFCHR
7519 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7520 #endif
7522 #if defined S_ISLNK && defined S_IFREG
7523 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7524 #endif
7526 #if defined S_ISSOCK && defined S_IFREG
7527 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7528 #endif
7530 _ACEOF
7531 if ac_fn_c_try_compile "$LINENO"; then :
7532 ac_cv_header_stat_broken=no
7533 else
7534 ac_cv_header_stat_broken=yes
7536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7539 $as_echo "$ac_cv_header_stat_broken" >&6; }
7540 if test $ac_cv_header_stat_broken = yes; then
7542 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7548 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
7549 do :
7550 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7551 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7552 #ifdef HAVE_SYS_PARAM_H
7553 # include <sys/param.h>
7554 #endif
7556 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7557 cat >>confdefs.h <<_ACEOF
7558 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7559 _ACEOF
7563 done
7566 for ac_header in \
7567 netinet/ip.h \
7568 net/if.h \
7569 net/if_arp.h \
7570 net/if_dl.h \
7571 net/if_types.h \
7572 net/route.h \
7573 netinet/if_ether.h \
7574 netinet/if_inarp.h \
7575 netinet/in_pcb.h \
7576 netinet/ip_icmp.h \
7577 netinet/ip_var.h \
7578 netinet/udp.h \
7579 netipx/ipx.h \
7580 sys/un.h \
7582 do :
7583 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7584 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7585 #ifdef HAVE_SYS_SOCKET_H
7586 # include <sys/socket.h>
7587 #endif
7588 #ifdef HAVE_SYS_SOCKETVAR_H
7589 # include <sys/socketvar.h>
7590 #endif
7591 #ifdef HAVE_NET_ROUTE_H
7592 # include <net/route.h>
7593 #endif
7594 #ifdef HAVE_NETINET_IN_H
7595 # include <netinet/in.h>
7596 #endif
7597 #ifdef HAVE_NETINET_IN_SYSTM_H
7598 # include <netinet/in_systm.h>
7599 #endif
7600 #ifdef HAVE_NET_IF_H
7601 # include <net/if.h>
7602 #endif
7603 #ifdef HAVE_NETINET_IP_H
7604 # include <netinet/ip.h>
7605 #endif
7607 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7608 cat >>confdefs.h <<_ACEOF
7609 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7610 _ACEOF
7614 done
7617 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7618 do :
7619 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7620 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7621 #ifdef HAVE_ALIAS_H
7622 # include <alias.h>
7623 #endif
7624 #ifdef HAVE_SYS_SOCKET_H
7625 # include <sys/socket.h>
7626 #endif
7627 #ifdef HAVE_SYS_SOCKETVAR_H
7628 # include <sys/socketvar.h>
7629 #endif
7630 #ifdef HAVE_SYS_TIMEOUT_H
7631 # include <sys/timeout.h>
7632 #endif
7633 #ifdef HAVE_NETINET_IN_H
7634 # include <netinet/in.h>
7635 #endif
7636 #ifdef HAVE_NETINET_IN_SYSTM_H
7637 # include <netinet/in_systm.h>
7638 #endif
7639 #ifdef HAVE_NETINET_IP_H
7640 # include <netinet/ip.h>
7641 #endif
7642 #ifdef HAVE_NETINET_IP_VAR_H
7643 # include <netinet/ip_var.h>
7644 #endif
7645 #ifdef HAVE_NETINET_IP_ICMP_H
7646 # include <netinet/ip_icmp.h>
7647 #endif
7648 #ifdef HAVE_NETINET_UDP_H
7649 # include <netinet/udp.h>
7650 #endif
7651 #ifdef HAVE_NETINET_TCP_H
7652 # include <netinet/tcp.h>
7653 #endif
7654 #ifdef HAVE_NETINET_TCP_TIMER_H
7655 #include <netinet/tcp_timer.h>
7656 #endif
7658 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7659 cat >>confdefs.h <<_ACEOF
7660 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7661 _ACEOF
7665 done
7668 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7669 do :
7670 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7671 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7672 #ifdef HAVE_ASM_TYPES_H
7673 # include <asm/types.h>
7674 #endif
7675 #ifdef HAVE_SYS_SOCKET_H
7676 # include <sys/socket.h>
7677 #endif
7678 #ifdef HAVE_LINUX_TYPES_H
7679 # include <linux/types.h>
7680 #endif
7682 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7683 cat >>confdefs.h <<_ACEOF
7684 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7685 _ACEOF
7689 done
7692 for ac_header in mach-o/dyld_images.h
7693 do :
7694 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7695 # include <stdbool.h>
7696 #endif
7697 #ifdef HAVE_STDINT_H
7698 # include <stdint.h>
7699 #endif
7701 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7702 cat >>confdefs.h <<_ACEOF
7703 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7704 _ACEOF
7708 done
7711 for ac_header in resolv.h
7712 do :
7713 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7714 #ifdef HAVE_SYS_SOCKET_H
7715 # include <sys/socket.h>
7716 #endif
7717 #ifdef HAVE_NETINET_IN_H
7718 # include <netinet/in.h>
7719 #endif
7720 #ifdef HAVE_ARPA_NAMESER_H
7721 # include <arpa/nameser.h>
7722 #endif
7724 if test "x$ac_cv_header_resolv_h" = xyes; then :
7725 cat >>confdefs.h <<_ACEOF
7726 #define HAVE_RESOLV_H 1
7727 _ACEOF
7731 done
7734 for ac_header in ifaddrs.h
7735 do :
7736 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7738 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7739 cat >>confdefs.h <<_ACEOF
7740 #define HAVE_IFADDRS_H 1
7741 _ACEOF
7745 done
7748 for ac_header in sys/ucontext.h
7749 do :
7750 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7752 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7753 cat >>confdefs.h <<_ACEOF
7754 #define HAVE_SYS_UCONTEXT_H 1
7755 _ACEOF
7759 done
7762 for ac_header in sys/thr.h
7763 do :
7764 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7765 #ifdef HAVE_SYS_UCONTEXT_H
7766 #include <sys/ucontext.h>
7767 #endif
7769 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7770 cat >>confdefs.h <<_ACEOF
7771 #define HAVE_SYS_THR_H 1
7772 _ACEOF
7776 done
7779 for ac_header in pthread_np.h
7780 do :
7781 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7782 #include <pthread.h>
7783 #endif
7785 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7786 cat >>confdefs.h <<_ACEOF
7787 #define HAVE_PTHREAD_NP_H 1
7788 _ACEOF
7792 done
7795 for ac_header in linux/videodev2.h
7796 do :
7797 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#ifdef HAVE_SYS_TIME_H
7798 #include <sys/time.h>
7799 #endif
7800 #include <sys/types.h>
7801 #ifdef HAVE_ASM_TYPES_H
7802 #include <asm/types.h>
7803 #endif
7805 if test "x$ac_cv_header_linux_videodev2_h" = xyes; then :
7806 cat >>confdefs.h <<_ACEOF
7807 #define HAVE_LINUX_VIDEODEV2_H 1
7808 _ACEOF
7812 done
7815 for ac_header in libprocstat.h
7816 do :
7817 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7818 #include <sys/param.h>
7819 #endif
7820 #ifdef HAVE_SYS_QUEUE_H
7821 #include <sys/queue.h>
7822 #endif
7823 #ifdef HAVE_SYS_SOCKET_H
7824 #include <sys/socket.h>
7825 #endif
7827 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7828 cat >>confdefs.h <<_ACEOF
7829 #define HAVE_LIBPROCSTAT_H 1
7830 _ACEOF
7834 done
7838 DLLFLAGS="-D_REENTRANT"
7840 LDRPATH_INSTALL=""
7842 LDRPATH_LOCAL=""
7844 LDDLLFLAGS=""
7846 LDEXECFLAGS=""
7848 TOP_INSTALL_LIB=""
7850 TOP_INSTALL_DEV=""
7852 WINELOADER_LDFLAGS=""
7854 WINEPRELOADER_LDFLAGS=""
7856 LIBEXT="so"
7857 DLLEXT=".so"
7858 # Extract the first word of "ldd", so it can be a program name with args.
7859 set dummy ldd; ac_word=$2
7860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7861 $as_echo_n "checking for $ac_word... " >&6; }
7862 if ${ac_cv_path_LDD+:} false; then :
7863 $as_echo_n "(cached) " >&6
7864 else
7865 case $LDD in
7866 [\\/]* | ?:[\\/]*)
7867 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7870 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7871 as_dummy="/sbin:/usr/sbin:$PATH"
7872 for as_dir in $as_dummy
7874 IFS=$as_save_IFS
7875 test -z "$as_dir" && as_dir=.
7876 for ac_exec_ext in '' $ac_executable_extensions; do
7877 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7878 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7879 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7880 break 2
7882 done
7883 done
7884 IFS=$as_save_IFS
7886 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7888 esac
7890 LDD=$ac_cv_path_LDD
7891 if test -n "$LDD"; then
7892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7893 $as_echo "$LDD" >&6; }
7894 else
7895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7896 $as_echo "no" >&6; }
7900 if test -n "$ac_tool_prefix"; then
7901 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7902 set dummy ${ac_tool_prefix}otool; ac_word=$2
7903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7904 $as_echo_n "checking for $ac_word... " >&6; }
7905 if ${ac_cv_prog_OTOOL+:} false; then :
7906 $as_echo_n "(cached) " >&6
7907 else
7908 if test -n "$OTOOL"; then
7909 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7910 else
7911 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7912 for as_dir in $PATH
7914 IFS=$as_save_IFS
7915 test -z "$as_dir" && as_dir=.
7916 for ac_exec_ext in '' $ac_executable_extensions; do
7917 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7918 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7919 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7920 break 2
7922 done
7923 done
7924 IFS=$as_save_IFS
7928 OTOOL=$ac_cv_prog_OTOOL
7929 if test -n "$OTOOL"; then
7930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7931 $as_echo "$OTOOL" >&6; }
7932 else
7933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7934 $as_echo "no" >&6; }
7939 if test -z "$ac_cv_prog_OTOOL"; then
7940 ac_ct_OTOOL=$OTOOL
7941 # Extract the first word of "otool", so it can be a program name with args.
7942 set dummy otool; ac_word=$2
7943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7944 $as_echo_n "checking for $ac_word... " >&6; }
7945 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7946 $as_echo_n "(cached) " >&6
7947 else
7948 if test -n "$ac_ct_OTOOL"; then
7949 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7950 else
7951 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7952 for as_dir in $PATH
7954 IFS=$as_save_IFS
7955 test -z "$as_dir" && as_dir=.
7956 for ac_exec_ext in '' $ac_executable_extensions; do
7957 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7958 ac_cv_prog_ac_ct_OTOOL="otool"
7959 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7960 break 2
7962 done
7963 done
7964 IFS=$as_save_IFS
7968 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7969 if test -n "$ac_ct_OTOOL"; then
7970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7971 $as_echo "$ac_ct_OTOOL" >&6; }
7972 else
7973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7974 $as_echo "no" >&6; }
7977 if test "x$ac_ct_OTOOL" = x; then
7978 OTOOL="otool"
7979 else
7980 case $cross_compiling:$ac_tool_warned in
7981 yes:)
7982 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7983 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7984 ac_tool_warned=yes ;;
7985 esac
7986 OTOOL=$ac_ct_OTOOL
7988 else
7989 OTOOL="$ac_cv_prog_OTOOL"
7992 if test -n "$ac_tool_prefix"; then
7993 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7994 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7996 $as_echo_n "checking for $ac_word... " >&6; }
7997 if ${ac_cv_prog_READELF+:} false; then :
7998 $as_echo_n "(cached) " >&6
7999 else
8000 if test -n "$READELF"; then
8001 ac_cv_prog_READELF="$READELF" # Let the user override the test.
8002 else
8003 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8004 for as_dir in $PATH
8006 IFS=$as_save_IFS
8007 test -z "$as_dir" && as_dir=.
8008 for ac_exec_ext in '' $ac_executable_extensions; do
8009 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8010 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
8011 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8012 break 2
8014 done
8015 done
8016 IFS=$as_save_IFS
8020 READELF=$ac_cv_prog_READELF
8021 if test -n "$READELF"; then
8022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
8023 $as_echo "$READELF" >&6; }
8024 else
8025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8026 $as_echo "no" >&6; }
8031 if test -z "$ac_cv_prog_READELF"; then
8032 ac_ct_READELF=$READELF
8033 # Extract the first word of "readelf", so it can be a program name with args.
8034 set dummy readelf; ac_word=$2
8035 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8036 $as_echo_n "checking for $ac_word... " >&6; }
8037 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
8038 $as_echo_n "(cached) " >&6
8039 else
8040 if test -n "$ac_ct_READELF"; then
8041 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
8042 else
8043 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8044 for as_dir in $PATH
8046 IFS=$as_save_IFS
8047 test -z "$as_dir" && as_dir=.
8048 for ac_exec_ext in '' $ac_executable_extensions; do
8049 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8050 ac_cv_prog_ac_ct_READELF="readelf"
8051 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8052 break 2
8054 done
8055 done
8056 IFS=$as_save_IFS
8060 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
8061 if test -n "$ac_ct_READELF"; then
8062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
8063 $as_echo "$ac_ct_READELF" >&6; }
8064 else
8065 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8066 $as_echo "no" >&6; }
8069 if test "x$ac_ct_READELF" = x; then
8070 READELF="true"
8071 else
8072 case $cross_compiling:$ac_tool_warned in
8073 yes:)
8074 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8075 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8076 ac_tool_warned=yes ;;
8077 esac
8078 READELF=$ac_ct_READELF
8080 else
8081 READELF="$ac_cv_prog_READELF"
8084 wine_rules_file=conf$$rules.make
8085 rm -f $wine_rules_file
8086 SUBDIRS=""
8088 DISABLED_SUBDIRS=""
8090 CONFIGURE_TARGETS=""
8093 wine_fn_append_file ()
8095 as_fn_append $1 " \\$as_nl $2"
8098 wine_fn_append_rule ()
8100 $as_echo "$1" >>$wine_rules_file
8103 wine_fn_config_makefile ()
8105 wine_fn_append_file SUBDIRS $1
8106 if eval test \"x\$"$2"\" = x"no"; then :
8107 wine_fn_append_file DISABLED_SUBDIRS $1
8111 wine_fn_config_symlink ()
8113 ac_links=$@
8114 wine_fn_append_rule \
8115 "$ac_links:
8116 @./config.status \$@"
8117 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
8120 wine_binary="wine"
8121 test "x$enable_win64" != "xyes" || wine_binary="wine64"
8122 WINELOADER_PROGRAMS="$wine_binary"
8124 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
8126 case $host_os in
8127 cygwin*|mingw32*)
8128 if test -n "$ac_tool_prefix"; then
8129 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8130 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8132 $as_echo_n "checking for $ac_word... " >&6; }
8133 if ${ac_cv_prog_DLLTOOL+:} false; then :
8134 $as_echo_n "(cached) " >&6
8135 else
8136 if test -n "$DLLTOOL"; then
8137 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8138 else
8139 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8140 for as_dir in $PATH
8142 IFS=$as_save_IFS
8143 test -z "$as_dir" && as_dir=.
8144 for ac_exec_ext in '' $ac_executable_extensions; do
8145 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8146 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8147 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8148 break 2
8150 done
8151 done
8152 IFS=$as_save_IFS
8156 DLLTOOL=$ac_cv_prog_DLLTOOL
8157 if test -n "$DLLTOOL"; then
8158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8159 $as_echo "$DLLTOOL" >&6; }
8160 else
8161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8162 $as_echo "no" >&6; }
8167 if test -z "$ac_cv_prog_DLLTOOL"; then
8168 ac_ct_DLLTOOL=$DLLTOOL
8169 # Extract the first word of "dlltool", so it can be a program name with args.
8170 set dummy dlltool; ac_word=$2
8171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8172 $as_echo_n "checking for $ac_word... " >&6; }
8173 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8174 $as_echo_n "(cached) " >&6
8175 else
8176 if test -n "$ac_ct_DLLTOOL"; then
8177 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8178 else
8179 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8180 for as_dir in $PATH
8182 IFS=$as_save_IFS
8183 test -z "$as_dir" && as_dir=.
8184 for ac_exec_ext in '' $ac_executable_extensions; do
8185 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8186 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8187 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8188 break 2
8190 done
8191 done
8192 IFS=$as_save_IFS
8196 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8197 if test -n "$ac_ct_DLLTOOL"; then
8198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8199 $as_echo "$ac_ct_DLLTOOL" >&6; }
8200 else
8201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8202 $as_echo "no" >&6; }
8205 if test "x$ac_ct_DLLTOOL" = x; then
8206 DLLTOOL="false"
8207 else
8208 case $cross_compiling:$ac_tool_warned in
8209 yes:)
8210 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8211 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8212 ac_tool_warned=yes ;;
8213 esac
8214 DLLTOOL=$ac_ct_DLLTOOL
8216 else
8217 DLLTOOL="$ac_cv_prog_DLLTOOL"
8220 LIBEXT="dll"
8221 DLLEXT=""
8222 case $host_cpu in
8223 *i[3456]86*) LDDLLFLAGS="-Wl,--disable-stdcall-fixup" ;;
8224 esac
8225 enable_iphlpapi=${enable_iphlpapi:-no}
8226 enable_kernel32=${enable_kernel32:-no}
8227 enable_ntdll=${enable_ntdll:-no}
8228 enable_ws2_32=${enable_ws2_32:-no}
8229 enable_loader=${enable_loader:-no}
8230 enable_server=${enable_server:-no}
8231 with_x=${with_x:-no}
8232 with_pthread=${with_pthread:-no}
8235 darwin*|macosx*)
8236 ac_ext=m
8237 ac_cpp='$OBJCPP $CPPFLAGS'
8238 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8239 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8240 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8242 ac_ext=m
8243 ac_cpp='$OBJCPP $CPPFLAGS'
8244 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8245 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8246 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8247 if test -n "$ac_tool_prefix"; then
8248 for ac_prog in gcc objcc objc cc CC
8250 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8251 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8253 $as_echo_n "checking for $ac_word... " >&6; }
8254 if ${ac_cv_prog_OBJC+:} false; then :
8255 $as_echo_n "(cached) " >&6
8256 else
8257 if test -n "$OBJC"; then
8258 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
8259 else
8260 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8261 for as_dir in $PATH
8263 IFS=$as_save_IFS
8264 test -z "$as_dir" && as_dir=.
8265 for ac_exec_ext in '' $ac_executable_extensions; do
8266 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8267 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
8268 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8269 break 2
8271 done
8272 done
8273 IFS=$as_save_IFS
8277 OBJC=$ac_cv_prog_OBJC
8278 if test -n "$OBJC"; then
8279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
8280 $as_echo "$OBJC" >&6; }
8281 else
8282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8283 $as_echo "no" >&6; }
8287 test -n "$OBJC" && break
8288 done
8290 if test -z "$OBJC"; then
8291 ac_ct_OBJC=$OBJC
8292 for ac_prog in gcc objcc objc cc CC
8294 # Extract the first word of "$ac_prog", so it can be a program name with args.
8295 set dummy $ac_prog; ac_word=$2
8296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8297 $as_echo_n "checking for $ac_word... " >&6; }
8298 if ${ac_cv_prog_ac_ct_OBJC+:} false; then :
8299 $as_echo_n "(cached) " >&6
8300 else
8301 if test -n "$ac_ct_OBJC"; then
8302 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
8303 else
8304 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8305 for as_dir in $PATH
8307 IFS=$as_save_IFS
8308 test -z "$as_dir" && as_dir=.
8309 for ac_exec_ext in '' $ac_executable_extensions; do
8310 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8311 ac_cv_prog_ac_ct_OBJC="$ac_prog"
8312 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8313 break 2
8315 done
8316 done
8317 IFS=$as_save_IFS
8321 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
8322 if test -n "$ac_ct_OBJC"; then
8323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
8324 $as_echo "$ac_ct_OBJC" >&6; }
8325 else
8326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8327 $as_echo "no" >&6; }
8331 test -n "$ac_ct_OBJC" && break
8332 done
8334 if test "x$ac_ct_OBJC" = x; then
8335 OBJC="gcc"
8336 else
8337 case $cross_compiling:$ac_tool_warned in
8338 yes:)
8339 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8340 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8341 ac_tool_warned=yes ;;
8342 esac
8343 OBJC=$ac_ct_OBJC
8347 # Provide some information about the compiler.
8348 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
8349 set X $ac_compile
8350 ac_compiler=$2
8351 for ac_option in --version -v -V -qversion; do
8352 { { ac_try="$ac_compiler $ac_option >&5"
8353 case "(($ac_try" in
8354 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8355 *) ac_try_echo=$ac_try;;
8356 esac
8357 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
8358 $as_echo "$ac_try_echo"; } >&5
8359 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
8360 ac_status=$?
8361 if test -s conftest.err; then
8362 sed '10a\
8363 ... rest of stderr output deleted ...
8364 10q' conftest.err >conftest.er1
8365 cat conftest.er1 >&5
8367 rm -f conftest.er1 conftest.err
8368 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8369 test $ac_status = 0; }
8370 done
8372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C compiler" >&5
8373 $as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; }
8374 if ${ac_cv_objc_compiler_gnu+:} false; then :
8375 $as_echo_n "(cached) " >&6
8376 else
8377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8378 /* end confdefs.h. */
8381 main ()
8383 #ifndef __GNUC__
8384 choke me
8385 #endif
8388 return 0;
8390 _ACEOF
8391 if ac_fn_objc_try_compile "$LINENO"; then :
8392 ac_compiler_gnu=yes
8393 else
8394 ac_compiler_gnu=no
8396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8397 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
8400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
8401 $as_echo "$ac_cv_objc_compiler_gnu" >&6; }
8402 if test $ac_compiler_gnu = yes; then
8403 GOBJC=yes
8404 else
8405 GOBJC=
8407 ac_test_OBJCFLAGS=${OBJCFLAGS+set}
8408 ac_save_OBJCFLAGS=$OBJCFLAGS
8409 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
8410 $as_echo_n "checking whether $OBJC accepts -g... " >&6; }
8411 if ${ac_cv_prog_objc_g+:} false; then :
8412 $as_echo_n "(cached) " >&6
8413 else
8414 ac_save_objc_werror_flag=$ac_objc_werror_flag
8415 ac_objc_werror_flag=yes
8416 ac_cv_prog_objc_g=no
8417 OBJCFLAGS="-g"
8418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8419 /* end confdefs.h. */
8422 main ()
8426 return 0;
8428 _ACEOF
8429 if ac_fn_objc_try_compile "$LINENO"; then :
8430 ac_cv_prog_objc_g=yes
8431 else
8432 OBJCFLAGS=""
8433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8434 /* end confdefs.h. */
8437 main ()
8441 return 0;
8443 _ACEOF
8444 if ac_fn_objc_try_compile "$LINENO"; then :
8446 else
8447 ac_objc_werror_flag=$ac_save_objc_werror_flag
8448 OBJCFLAGS="-g"
8449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8450 /* end confdefs.h. */
8453 main ()
8457 return 0;
8459 _ACEOF
8460 if ac_fn_objc_try_compile "$LINENO"; then :
8461 ac_cv_prog_objc_g=yes
8463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8467 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8468 ac_objc_werror_flag=$ac_save_objc_werror_flag
8470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
8471 $as_echo "$ac_cv_prog_objc_g" >&6; }
8472 if test "$ac_test_OBJCFLAGS" = set; then
8473 OBJCFLAGS=$ac_save_OBJCFLAGS
8474 elif test $ac_cv_prog_objc_g = yes; then
8475 if test "$GOBJC" = yes; then
8476 OBJCFLAGS="-g -O2"
8477 else
8478 OBJCFLAGS="-g"
8480 else
8481 if test "$GOBJC" = yes; then
8482 OBJCFLAGS="-O2"
8483 else
8484 OBJCFLAGS=
8487 ac_ext=m
8488 ac_cpp='$OBJCPP $CPPFLAGS'
8489 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8490 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8491 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8494 ac_ext=m
8495 ac_cpp='$OBJCPP $CPPFLAGS'
8496 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8497 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8498 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the Objective C preprocessor" >&5
8500 $as_echo_n "checking how to run the Objective C preprocessor... " >&6; }
8501 if test -z "$OBJCPP"; then
8502 if ${ac_cv_prog_OBJCPP+:} false; then :
8503 $as_echo_n "(cached) " >&6
8504 else
8505 # Double quotes because OBJCPP needs to be expanded
8506 for OBJCPP in "$OBJC -E" "/lib/cpp"
8508 ac_preproc_ok=false
8509 for ac_objc_preproc_warn_flag in '' yes
8511 # Use a header file that comes with gcc, so configuring glibc
8512 # with a fresh cross-compiler works.
8513 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8514 # <limits.h> exists even on freestanding compilers.
8515 # On the NeXT, cc -E runs the code through the compiler's parser,
8516 # not just through cpp. "Syntax error" is here to catch this case.
8517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8518 /* end confdefs.h. */
8519 #ifdef __STDC__
8520 # include <limits.h>
8521 #else
8522 # include <assert.h>
8523 #endif
8524 Syntax error
8525 _ACEOF
8526 if ac_fn_objc_try_cpp "$LINENO"; then :
8528 else
8529 # Broken: fails on valid input.
8530 continue
8532 rm -f conftest.err conftest.i conftest.$ac_ext
8534 # OK, works on sane cases. Now check whether nonexistent headers
8535 # can be detected and how.
8536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8537 /* end confdefs.h. */
8538 #include <ac_nonexistent.h>
8539 _ACEOF
8540 if ac_fn_objc_try_cpp "$LINENO"; then :
8541 # Broken: success on invalid input.
8542 continue
8543 else
8544 # Passes both tests.
8545 ac_preproc_ok=:
8546 break
8548 rm -f conftest.err conftest.i conftest.$ac_ext
8550 done
8551 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8552 rm -f conftest.i conftest.err conftest.$ac_ext
8553 if $ac_preproc_ok; then :
8554 break
8557 done
8558 ac_cv_prog_OBJCPP=$OBJCPP
8561 OBJCPP=$ac_cv_prog_OBJCPP
8562 else
8563 ac_cv_prog_OBJCPP=$OBJCPP
8565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCPP" >&5
8566 $as_echo "$OBJCPP" >&6; }
8567 ac_preproc_ok=false
8568 for ac_objc_preproc_warn_flag in '' yes
8570 # Use a header file that comes with gcc, so configuring glibc
8571 # with a fresh cross-compiler works.
8572 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8573 # <limits.h> exists even on freestanding compilers.
8574 # On the NeXT, cc -E runs the code through the compiler's parser,
8575 # not just through cpp. "Syntax error" is here to catch this case.
8576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8577 /* end confdefs.h. */
8578 #ifdef __STDC__
8579 # include <limits.h>
8580 #else
8581 # include <assert.h>
8582 #endif
8583 Syntax error
8584 _ACEOF
8585 if ac_fn_objc_try_cpp "$LINENO"; then :
8587 else
8588 # Broken: fails on valid input.
8589 continue
8591 rm -f conftest.err conftest.i conftest.$ac_ext
8593 # OK, works on sane cases. Now check whether nonexistent headers
8594 # can be detected and how.
8595 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8596 /* end confdefs.h. */
8597 #include <ac_nonexistent.h>
8598 _ACEOF
8599 if ac_fn_objc_try_cpp "$LINENO"; then :
8600 # Broken: success on invalid input.
8601 continue
8602 else
8603 # Passes both tests.
8604 ac_preproc_ok=:
8605 break
8607 rm -f conftest.err conftest.i conftest.$ac_ext
8609 done
8610 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8611 rm -f conftest.i conftest.err conftest.$ac_ext
8612 if $ac_preproc_ok; then :
8614 else
8615 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8616 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8617 as_fn_error $? "Objective C preprocessor \"$OBJCPP\" fails sanity check
8618 See \`config.log' for more details" "$LINENO" 5; }
8621 ac_ext=m
8622 ac_cpp='$OBJCPP $CPPFLAGS'
8623 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8624 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8625 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8628 for ac_header in Metal/Metal.h
8629 do :
8630 ac_fn_objc_check_header_mongrel "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
8631 if test "x$ac_cv_header_Metal_Metal_h" = xyes; then :
8632 cat >>confdefs.h <<_ACEOF
8633 #define HAVE_METAL_METAL_H 1
8634 _ACEOF
8638 done
8640 ac_ext=c
8641 ac_cpp='$CPP $CPPFLAGS'
8642 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8643 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8644 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8646 LIBEXT="dylib"
8647 DLLFLAGS="$DLLFLAGS -fPIC"
8648 LDDLLFLAGS="-fPIC"
8649 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8650 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8651 COREFOUNDATION_LIBS="-framework CoreFoundation"
8653 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8655 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8657 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8659 CORESERVICES_LIBS="-framework CoreServices"
8661 APPKIT_LIBS="-framework AppKit"
8663 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
8666 WINELOADER_LDFLAGS="-Wl,-pie,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8668 wine_can_build_preloader=yes
8669 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs -e _start -ldylib1.o -Wl,-image_base,0x7c400000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
8671 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
8672 if ${ac_cv_cflags__Wl__no_new_main__e__main+:} false; then :
8673 $as_echo_n "(cached) " >&6
8674 else
8675 ac_wine_try_cflags_saved=$CFLAGS
8676 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
8677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8678 /* end confdefs.h. */
8679 int main(int argc, char **argv) { return 0; }
8680 _ACEOF
8681 if ac_fn_c_try_link "$LINENO"; then :
8682 ac_cv_cflags__Wl__no_new_main__e__main=yes
8683 else
8684 ac_cv_cflags__Wl__no_new_main__e__main=no
8686 rm -f core conftest.err conftest.$ac_objext \
8687 conftest$ac_exeext conftest.$ac_ext
8688 CFLAGS=$ac_wine_try_cflags_saved
8690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
8691 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
8692 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes; then :
8693 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
8694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs" >&5
8695 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs... " >&6; }
8696 if ${ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs+:} false; then :
8697 $as_echo_n "(cached) " >&6
8698 else
8699 ac_wine_try_cflags_saved=$CFLAGS
8700 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8702 /* end confdefs.h. */
8703 int main(int argc, char **argv) { return 0; }
8704 _ACEOF
8705 if ac_fn_c_try_link "$LINENO"; then :
8706 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=yes
8707 else
8708 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=no
8710 rm -f core conftest.err conftest.$ac_objext \
8711 conftest$ac_exeext conftest.$ac_ext
8712 CFLAGS=$ac_wine_try_cflags_saved
8714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&5
8715 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&6; }
8716 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" = xyes; then :
8717 EXTRACFLAGS="$EXTRACFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8718 else
8719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
8720 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8721 if ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8722 $as_echo_n "(cached) " >&6
8723 else
8724 ac_wine_try_cflags_saved=$CFLAGS
8725 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8727 /* end confdefs.h. */
8728 int main(int argc, char **argv) { return 0; }
8729 _ACEOF
8730 if ac_fn_c_try_link "$LINENO"; then :
8731 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8732 else
8733 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8735 rm -f core conftest.err conftest.$ac_objext \
8736 conftest$ac_exeext conftest.$ac_ext
8737 CFLAGS=$ac_wine_try_cflags_saved
8739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
8740 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8741 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8742 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8743 else
8744 wine_can_build_preloader=no
8747 else
8748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -nostartfiles -nodefaultlibs" >&5
8749 $as_echo_n "checking whether the compiler supports -nostartfiles -nodefaultlibs... " >&6; }
8750 if ${ac_cv_cflags__nostartfiles__nodefaultlibs+:} false; then :
8751 $as_echo_n "(cached) " >&6
8752 else
8753 ac_wine_try_cflags_saved=$CFLAGS
8754 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs"
8755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8756 /* end confdefs.h. */
8757 int main(int argc, char **argv) { return 0; }
8758 _ACEOF
8759 if ac_fn_c_try_link "$LINENO"; then :
8760 ac_cv_cflags__nostartfiles__nodefaultlibs=yes
8761 else
8762 ac_cv_cflags__nostartfiles__nodefaultlibs=no
8764 rm -f core conftest.err conftest.$ac_objext \
8765 conftest$ac_exeext conftest.$ac_ext
8766 CFLAGS=$ac_wine_try_cflags_saved
8768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__nostartfiles__nodefaultlibs" >&5
8769 $as_echo "$ac_cv_cflags__nostartfiles__nodefaultlibs" >&6; }
8770 if test "x$ac_cv_cflags__nostartfiles__nodefaultlibs" = xyes; then :
8771 EXTRACFLAGS="$EXTRACFLAGS -nostartfiles -nodefaultlibs"
8772 else
8773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
8774 $as_echo_n "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8775 if ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8776 $as_echo_n "(cached) " >&6
8777 else
8778 ac_wine_try_cflags_saved=$CFLAGS
8779 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8781 /* end confdefs.h. */
8782 int main(int argc, char **argv) { return 0; }
8783 _ACEOF
8784 if ac_fn_c_try_link "$LINENO"; then :
8785 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8786 else
8787 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8789 rm -f core conftest.err conftest.$ac_objext \
8790 conftest$ac_exeext conftest.$ac_ext
8791 CFLAGS=$ac_wine_try_cflags_saved
8793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
8794 $as_echo "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8795 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8796 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8797 else
8798 wine_can_build_preloader=no
8802 if test "$wine_can_build_preloader" = "yes"
8803 then
8804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8805 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8806 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8807 $as_echo_n "(cached) " >&6
8808 else
8809 ac_wine_try_cflags_saved=$CFLAGS
8810 CFLAGS="$CFLAGS -Wl,-no_pie"
8811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8812 /* end confdefs.h. */
8813 int main(int argc, char **argv) { return 0; }
8814 _ACEOF
8815 if ac_fn_c_try_link "$LINENO"; then :
8816 ac_cv_cflags__Wl__no_pie=yes
8817 else
8818 ac_cv_cflags__Wl__no_pie=no
8820 rm -f core conftest.err conftest.$ac_objext \
8821 conftest$ac_exeext conftest.$ac_ext
8822 CFLAGS=$ac_wine_try_cflags_saved
8824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8825 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8826 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8827 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
8829 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
8830 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
8831 else
8832 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
8835 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8836 then
8837 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8840 if test "$ac_cv_header_Security_Security_h" = "yes"
8841 then
8842 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8844 ac_save_LIBS="$LIBS"
8845 LIBS="$LIBS $SECURITY_LIBS"
8846 for ac_func in SSLCopyPeerCertificates
8847 do :
8848 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8849 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8850 cat >>confdefs.h <<_ACEOF
8851 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8852 _ACEOF
8855 done
8857 LIBS="$ac_save_LIBS"
8859 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8860 then
8861 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8862 then
8863 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8865 else
8866 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8869 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8870 ac_save_LIBS="$LIBS"
8871 LIBS="$LIBS $COREAUDIO_LIBS"
8872 for ac_func in AUGraphAddNode
8873 do :
8874 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8875 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8876 cat >>confdefs.h <<_ACEOF
8877 #define HAVE_AUGRAPHADDNODE 1
8878 _ACEOF
8881 done
8883 LIBS="$ac_save_LIBS"
8885 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8886 then
8887 OPENAL_LIBS="-framework OpenAL"
8890 cat >>confdefs.h <<_ACEOF
8891 #define HAVE_OPENAL 1
8892 _ACEOF
8894 ac_cv_lib_openal=yes
8896 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8897 then
8898 OPENCL_LIBS="-framework OpenCL"
8900 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8902 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8903 then
8904 ac_save_LIBS="$LIBS"
8905 LIBS="$LIBS $IOKIT_LIBS"
8906 for ac_func in IOHIDManagerCreate
8907 do :
8908 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8909 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8910 cat >>confdefs.h <<_ACEOF
8911 #define HAVE_IOHIDMANAGERCREATE 1
8912 _ACEOF
8915 done
8917 LIBS="$ac_save_LIBS"
8919 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8920 then
8921 ac_save_LIBS="$LIBS"
8922 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8924 $as_echo_n "checking for the QuickTime framework... " >&6; }
8925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8926 /* end confdefs.h. */
8927 #include <QuickTime/ImageCompression.h>
8929 main ()
8931 CodecManagerVersion(NULL);
8933 return 0;
8935 _ACEOF
8936 if ac_fn_c_try_link "$LINENO"; then :
8937 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8938 $as_echo "yes" >&6; }
8939 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8941 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8942 else
8943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8944 $as_echo "no" >&6; }
8945 ac_cv_header_QuickTime_ImageCompression_h=no
8947 rm -f core conftest.err conftest.$ac_objext \
8948 conftest$ac_exeext conftest.$ac_ext
8949 LIBS="$ac_save_LIBS"
8951 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8952 then
8953 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8955 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8956 then
8957 CARBON_LIBS="-framework Carbon"
8960 if test "$ac_cv_header_Metal_Metal_h" = "yes"
8961 then
8962 METAL_LIBS="-framework Metal -framework QuartzCore"
8966 if test "$ac_cv_header_Metal_Metal_h" = "yes"
8967 then
8968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
8969 $as_echo_n "checking whether MTLDevice protocol supports registryID property... " >&6; }
8970 ac_ext=m
8971 ac_cpp='$OBJCPP $CPPFLAGS'
8972 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8973 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8974 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8977 /* end confdefs.h. */
8978 #include <Metal/Metal.h>
8980 main ()
8982 id<MTLDevice> device; device.registryID;
8984 return 0;
8986 _ACEOF
8987 if ac_fn_objc_try_compile "$LINENO"; then :
8988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8989 $as_echo "yes" >&6; }
8991 $as_echo "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
8993 else
8994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8995 $as_echo "no" >&6; }
8997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8998 ac_ext=c
8999 ac_cpp='$CPP $CPPFLAGS'
9000 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
9001 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9002 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9006 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
9007 then
9008 ac_save_LIBS="$LIBS"
9009 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
9010 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
9011 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
9012 enable_winemac_drv=${enable_winemac_drv:-yes}
9015 LIBS="$ac_save_LIBS"
9018 if test "x$enable_win16" = "xyes"
9019 then
9020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
9021 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
9022 if test "$cross_compiling" = yes; then :
9023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
9024 $as_echo "cross-compiling, assuming yes" >&6; }
9025 else
9026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9027 /* end confdefs.h. */
9028 asm(".text\n"
9029 "bad:\tnop;nop\n"
9030 "good:\tnop;nop\n\t"
9031 ".globl _testfunc\n"
9032 "_testfunc:\tcallw good");
9033 extern void testfunc();
9035 main ()
9037 unsigned short *p = (unsigned short *)testfunc;
9038 return p[0] != 0xe866 || p[1] != 0xfffa
9040 return 0;
9042 _ACEOF
9043 if ac_fn_c_try_run "$LINENO"; then :
9044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9045 $as_echo "yes" >&6; }
9046 else
9047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9048 $as_echo "no" >&6; }
9049 as_fn_error $? "Xcode 3.x cannot build 16-bit code correctly. Use --disable-win16 if you don't need 16-bit support." "$LINENO" 5
9051 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
9052 conftest.$ac_objext conftest.beam conftest.$ac_ext
9057 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
9059 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
9061 WINELOADER_DEPENDS="wine_info.plist"
9063 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
9064 TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.dylib"
9067 linux-android*)
9068 DLLFLAGS="$DLLFLAGS -fPIC"
9069 LDDLLFLAGS="-fPIC"
9070 LDEXECFLAGS="-Wl,-pie"
9071 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9073 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9074 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
9075 $as_echo_n "(cached) " >&6
9076 else
9077 ac_wine_try_cflags_saved=$CFLAGS
9078 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9080 /* end confdefs.h. */
9081 int main(int argc, char **argv) { return 0; }
9082 _ACEOF
9083 if ac_fn_c_try_link "$LINENO"; then :
9084 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9085 else
9086 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9088 rm -f core conftest.err conftest.$ac_objext \
9089 conftest$ac_exeext conftest.$ac_ext
9090 CFLAGS=$ac_wine_try_cflags_saved
9092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9093 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9094 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
9095 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9097 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000"
9098 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
9099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
9100 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
9101 if eval \${$as_ac_var+:} false; then :
9102 $as_echo_n "(cached) " >&6
9103 else
9104 ac_wine_try_cflags_saved=$CFLAGS
9105 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
9106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9107 /* end confdefs.h. */
9108 int main(int argc, char **argv) { return 0; }
9109 _ACEOF
9110 if ac_fn_c_try_link "$LINENO"; then :
9111 eval "$as_ac_var=yes"
9112 else
9113 eval "$as_ac_var=no"
9115 rm -f core conftest.err conftest.$ac_objext \
9116 conftest$ac_exeext conftest.$ac_ext
9117 CFLAGS=$ac_wine_try_cflags_saved
9119 eval ac_res=\$$as_ac_var
9120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9121 $as_echo "$ac_res" >&6; }
9122 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9123 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9124 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9125 else
9126 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
9127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
9128 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
9129 if eval \${$as_ac_var+:} false; then :
9130 $as_echo_n "(cached) " >&6
9131 else
9132 ac_wine_try_cflags_saved=$CFLAGS
9133 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
9134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9135 /* end confdefs.h. */
9136 int main(int argc, char **argv) { return 0; }
9137 _ACEOF
9138 if ac_fn_c_try_link "$LINENO"; then :
9139 eval "$as_ac_var=yes"
9140 else
9141 eval "$as_ac_var=no"
9143 rm -f core conftest.err conftest.$ac_objext \
9144 conftest$ac_exeext conftest.$ac_ext
9145 CFLAGS=$ac_wine_try_cflags_saved
9147 eval ac_res=\$$as_ac_var
9148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9149 $as_echo "$ac_res" >&6; }
9150 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9151 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9152 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
9156 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
9157 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
9158 $as_echo_n "(cached) " >&6
9159 else
9160 ac_wine_try_cflags_saved=$CFLAGS
9161 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
9162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9163 /* end confdefs.h. */
9164 int main(int argc, char **argv) { return 0; }
9165 _ACEOF
9166 if ac_fn_c_try_link "$LINENO"; then :
9167 ac_cv_cflags__Wl___enable_new_dtags=yes
9168 else
9169 ac_cv_cflags__Wl___enable_new_dtags=no
9171 rm -f core conftest.err conftest.$ac_objext \
9172 conftest$ac_exeext conftest.$ac_ext
9173 CFLAGS=$ac_wine_try_cflags_saved
9175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9176 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9177 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
9178 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9181 LIBWINE_SHAREDLIB="libwine.so"
9183 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
9185 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so"
9187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9188 $as_echo_n "checking for -lEGL... " >&6; }
9189 if ${ac_cv_lib_soname_EGL+:} false; then :
9190 $as_echo_n "(cached) " >&6
9191 else
9192 ac_check_soname_save_LIBS=$LIBS
9193 LIBS="-lEGL $LIBS"
9194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9195 /* end confdefs.h. */
9197 /* Override any GCC internal prototype to avoid an error.
9198 Use char because int might match the return type of a GCC
9199 builtin and then its argument prototype would still apply. */
9200 #ifdef __cplusplus
9201 extern "C"
9202 #endif
9203 char eglGetProcAddress ();
9205 main ()
9207 return eglGetProcAddress ();
9209 return 0;
9211 _ACEOF
9212 if ac_fn_c_try_link "$LINENO"; then :
9213 case "$LIBEXT" in
9214 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9215 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'` ;;
9216 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9217 if ${ac_cv_lib_soname_EGL:+false} :; then :
9218 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9219 fi ;;
9220 esac
9221 else
9222 ac_cv_lib_soname_EGL=
9224 rm -f core conftest.err conftest.$ac_objext \
9225 conftest$ac_exeext conftest.$ac_ext
9226 LIBS=$ac_check_soname_save_LIBS
9228 if ${ac_cv_lib_soname_EGL:+false} :; then :
9229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9230 $as_echo "not found" >&6; }
9232 else
9233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
9234 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
9236 cat >>confdefs.h <<_ACEOF
9237 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
9238 _ACEOF
9242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
9243 $as_echo_n "checking for -lGLESv2... " >&6; }
9244 if ${ac_cv_lib_soname_GLESv2+:} false; then :
9245 $as_echo_n "(cached) " >&6
9246 else
9247 ac_check_soname_save_LIBS=$LIBS
9248 LIBS="-lGLESv2 $LIBS"
9249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9250 /* end confdefs.h. */
9252 /* Override any GCC internal prototype to avoid an error.
9253 Use char because int might match the return type of a GCC
9254 builtin and then its argument prototype would still apply. */
9255 #ifdef __cplusplus
9256 extern "C"
9257 #endif
9258 char glFlush ();
9260 main ()
9262 return glFlush ();
9264 return 0;
9266 _ACEOF
9267 if ac_fn_c_try_link "$LINENO"; then :
9268 case "$LIBEXT" in
9269 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9270 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'` ;;
9271 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9272 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9273 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9274 fi ;;
9275 esac
9276 else
9277 ac_cv_lib_soname_GLESv2=
9279 rm -f core conftest.err conftest.$ac_objext \
9280 conftest$ac_exeext conftest.$ac_ext
9281 LIBS=$ac_check_soname_save_LIBS
9283 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9285 $as_echo "not found" >&6; }
9287 else
9288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
9289 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
9291 cat >>confdefs.h <<_ACEOF
9292 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
9293 _ACEOF
9298 if test "x$exec_prefix" = xNONE
9299 then
9300 case $host_cpu in
9301 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
9302 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
9303 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
9304 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
9305 esac
9310 case $host_cpu in
9311 *i[3456789]86*)
9312 DLLFLAGS="$DLLFLAGS -fno-PIC"
9313 LDDLLFLAGS="-fno-PIC" ;;
9315 DLLFLAGS="$DLLFLAGS -fPIC"
9316 LDDLLFLAGS="-fPIC" ;;
9317 esac
9318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
9319 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
9320 if ${ac_cv_c_dll_gnuelf+:} false; then :
9321 $as_echo_n "(cached) " >&6
9322 else
9323 ac_wine_try_cflags_saved=$CFLAGS
9324 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
9325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9326 /* end confdefs.h. */
9327 void myfunc() {}
9328 _ACEOF
9329 if ac_fn_c_try_link "$LINENO"; then :
9330 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=yes
9331 else
9332 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=no
9334 rm -f core conftest.err conftest.$ac_objext \
9335 conftest$ac_exeext conftest.$ac_ext
9336 CFLAGS=$ac_wine_try_cflags_saved
9337 if test "x$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic" = xyes; then :
9338 ac_cv_c_dll_gnuelf="yes"
9339 else
9340 ac_cv_c_dll_gnuelf="no"
9343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
9344 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
9345 if test "$ac_cv_c_dll_gnuelf" = "yes"
9346 then
9347 LIBWINE_LDFLAGS="-shared"
9348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-soname,confest.so.1" >&5
9349 $as_echo_n "checking whether the compiler supports -shared -Wl,-soname,confest.so.1... " >&6; }
9350 if ${ac_cv_cflags__shared__Wl__soname_confest_so_1+:} false; then :
9351 $as_echo_n "(cached) " >&6
9352 else
9353 ac_wine_try_cflags_saved=$CFLAGS
9354 CFLAGS="$CFLAGS -shared -Wl,-soname,confest.so.1"
9355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9356 /* end confdefs.h. */
9357 int main(int argc, char **argv) { return 0; }
9358 _ACEOF
9359 if ac_fn_c_try_link "$LINENO"; then :
9360 ac_cv_cflags__shared__Wl__soname_confest_so_1=yes
9361 else
9362 ac_cv_cflags__shared__Wl__soname_confest_so_1=no
9364 rm -f core conftest.err conftest.$ac_objext \
9365 conftest$ac_exeext conftest.$ac_ext
9366 CFLAGS=$ac_wine_try_cflags_saved
9368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__soname_confest_so_1" >&5
9369 $as_echo "$ac_cv_cflags__shared__Wl__soname_confest_so_1" >&6; }
9370 if test "x$ac_cv_cflags__shared__Wl__soname_confest_so_1" = xyes; then :
9371 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
9372 else
9373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-h,confest.so.1" >&5
9374 $as_echo_n "checking whether the compiler supports -shared -Wl,-h,confest.so.1... " >&6; }
9375 if ${ac_cv_cflags__shared__Wl__h_confest_so_1+:} false; then :
9376 $as_echo_n "(cached) " >&6
9377 else
9378 ac_wine_try_cflags_saved=$CFLAGS
9379 CFLAGS="$CFLAGS -shared -Wl,-h,confest.so.1"
9380 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9381 /* end confdefs.h. */
9382 int main(int argc, char **argv) { return 0; }
9383 _ACEOF
9384 if ac_fn_c_try_link "$LINENO"; then :
9385 ac_cv_cflags__shared__Wl__h_confest_so_1=yes
9386 else
9387 ac_cv_cflags__shared__Wl__h_confest_so_1=no
9389 rm -f core conftest.err conftest.$ac_objext \
9390 conftest$ac_exeext conftest.$ac_ext
9391 CFLAGS=$ac_wine_try_cflags_saved
9393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__h_confest_so_1" >&5
9394 $as_echo "$ac_cv_cflags__shared__Wl__h_confest_so_1" >&6; }
9395 if test "x$ac_cv_cflags__shared__Wl__h_confest_so_1" = xyes; then :
9396 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
9400 echo '{ global: *; };' >conftest.map
9401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
9402 $as_echo_n "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
9403 if ${ac_cv_cflags__shared__Wl___version_script_conftest_map+:} false; then :
9404 $as_echo_n "(cached) " >&6
9405 else
9406 ac_wine_try_cflags_saved=$CFLAGS
9407 CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
9408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9409 /* end confdefs.h. */
9410 int main(int argc, char **argv) { return 0; }
9411 _ACEOF
9412 if ac_fn_c_try_link "$LINENO"; then :
9413 ac_cv_cflags__shared__Wl___version_script_conftest_map=yes
9414 else
9415 ac_cv_cflags__shared__Wl___version_script_conftest_map=no
9417 rm -f core conftest.err conftest.$ac_objext \
9418 conftest$ac_exeext conftest.$ac_ext
9419 CFLAGS=$ac_wine_try_cflags_saved
9421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl___version_script_conftest_map" >&5
9422 $as_echo "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
9423 if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes; then :
9424 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
9426 rm -f conftest.map
9428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
9429 $as_echo_n "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
9430 if ${ac_cv_cflags__Wl___export_dynamic+:} false; then :
9431 $as_echo_n "(cached) " >&6
9432 else
9433 ac_wine_try_cflags_saved=$CFLAGS
9434 CFLAGS="$CFLAGS -Wl,--export-dynamic"
9435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9436 /* end confdefs.h. */
9437 int main(int argc, char **argv) { return 0; }
9438 _ACEOF
9439 if ac_fn_c_try_link "$LINENO"; then :
9440 ac_cv_cflags__Wl___export_dynamic=yes
9441 else
9442 ac_cv_cflags__Wl___export_dynamic=no
9444 rm -f core conftest.err conftest.$ac_objext \
9445 conftest$ac_exeext conftest.$ac_ext
9446 CFLAGS=$ac_wine_try_cflags_saved
9448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
9449 $as_echo "$ac_cv_cflags__Wl___export_dynamic" >&6; }
9450 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes; then :
9451 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9453 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000"
9455 as_ac_var=`$as_echo "ac_cv_cflags_-Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
9456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--rpath,\$ORIGIN/../lib" >&5
9457 $as_echo_n "checking whether the compiler supports -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
9458 if eval \${$as_ac_var+:} false; then :
9459 $as_echo_n "(cached) " >&6
9460 else
9461 ac_wine_try_cflags_saved=$CFLAGS
9462 CFLAGS="$CFLAGS -Wl,--rpath,\$ORIGIN/../lib"
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"; then :
9468 eval "$as_ac_var=yes"
9469 else
9470 eval "$as_ac_var=no"
9472 rm -f core conftest.err conftest.$ac_objext \
9473 conftest$ac_exeext conftest.$ac_ext
9474 CFLAGS=$ac_wine_try_cflags_saved
9476 eval ac_res=\$$as_ac_var
9477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9478 $as_echo "$ac_res" >&6; }
9479 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9480 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9481 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9482 else
9483 as_ac_var=`$as_echo "ac_cv_cflags_-Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
9484 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-R,\$ORIGIN/../lib" >&5
9485 $as_echo_n "checking whether the compiler supports -Wl,-R,\$ORIGIN/../lib... " >&6; }
9486 if eval \${$as_ac_var+:} false; then :
9487 $as_echo_n "(cached) " >&6
9488 else
9489 ac_wine_try_cflags_saved=$CFLAGS
9490 CFLAGS="$CFLAGS -Wl,-R,\$ORIGIN/../lib"
9491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9492 /* end confdefs.h. */
9493 int main(int argc, char **argv) { return 0; }
9494 _ACEOF
9495 if ac_fn_c_try_link "$LINENO"; then :
9496 eval "$as_ac_var=yes"
9497 else
9498 eval "$as_ac_var=no"
9500 rm -f core conftest.err conftest.$ac_objext \
9501 conftest$ac_exeext conftest.$ac_ext
9502 CFLAGS=$ac_wine_try_cflags_saved
9504 eval ac_res=\$$as_ac_var
9505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9506 $as_echo "$ac_res" >&6; }
9507 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9508 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9509 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
9514 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
9515 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
9516 $as_echo_n "(cached) " >&6
9517 else
9518 ac_wine_try_cflags_saved=$CFLAGS
9519 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
9520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9521 /* end confdefs.h. */
9522 int main(int argc, char **argv) { return 0; }
9523 _ACEOF
9524 if ac_fn_c_try_link "$LINENO"; then :
9525 ac_cv_cflags__Wl___enable_new_dtags=yes
9526 else
9527 ac_cv_cflags__Wl___enable_new_dtags=no
9529 rm -f core conftest.err conftest.$ac_objext \
9530 conftest$ac_exeext conftest.$ac_ext
9531 CFLAGS=$ac_wine_try_cflags_saved
9533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9534 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9535 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
9536 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9539 case $host_cpu in
9540 *i[3456789]86* | x86_64 | *aarch64*)
9541 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
9542 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
9543 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
9544 $as_echo_n "(cached) " >&6
9545 else
9546 ac_wine_try_cflags_saved=$CFLAGS
9547 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
9548 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9549 /* end confdefs.h. */
9550 int main(int argc, char **argv) { return 0; }
9551 _ACEOF
9552 if ac_fn_c_try_link "$LINENO"; then :
9553 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
9554 else
9555 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
9557 rm -f core conftest.err conftest.$ac_objext \
9558 conftest$ac_exeext conftest.$ac_ext
9559 CFLAGS=$ac_wine_try_cflags_saved
9561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
9562 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
9563 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
9564 case $host_os in
9565 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
9566 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
9567 esac
9568 else
9569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
9570 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
9571 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
9572 $as_echo_n "(cached) " >&6
9573 else
9574 ac_wine_try_cflags_saved=$CFLAGS
9575 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
9576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9577 /* end confdefs.h. */
9578 int main(int argc, char **argv) { return 0; }
9579 _ACEOF
9580 if ac_fn_c_try_link "$LINENO"; then :
9581 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
9582 else
9583 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
9585 rm -f core conftest.err conftest.$ac_objext \
9586 conftest$ac_exeext conftest.$ac_ext
9587 CFLAGS=$ac_wine_try_cflags_saved
9589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
9590 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
9591 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
9592 case $host_os in
9593 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
9594 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
9595 esac
9597 # Extract the first word of "prelink", so it can be a program name with args.
9598 set dummy prelink; ac_word=$2
9599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9600 $as_echo_n "checking for $ac_word... " >&6; }
9601 if ${ac_cv_path_PRELINK+:} false; then :
9602 $as_echo_n "(cached) " >&6
9603 else
9604 case $PRELINK in
9605 [\\/]* | ?:[\\/]*)
9606 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
9609 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9610 for as_dir in /sbin /usr/sbin $PATH
9612 IFS=$as_save_IFS
9613 test -z "$as_dir" && as_dir=.
9614 for ac_exec_ext in '' $ac_executable_extensions; do
9615 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9616 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
9617 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9618 break 2
9620 done
9621 done
9622 IFS=$as_save_IFS
9624 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
9626 esac
9628 PRELINK=$ac_cv_path_PRELINK
9629 if test -n "$PRELINK"; then
9630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
9631 $as_echo "$PRELINK" >&6; }
9632 else
9633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9634 $as_echo "no" >&6; }
9638 if test "x$PRELINK" = xfalse
9639 then
9640 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
9643 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
9644 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
9645 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
9646 $as_echo_n "(cached) " >&6
9647 else
9648 ac_wine_try_cflags_saved=$CFLAGS
9649 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
9650 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9651 /* end confdefs.h. */
9652 int main(int argc, char **argv) { return 0; }
9653 _ACEOF
9654 if ac_fn_c_try_link "$LINENO"; then :
9655 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
9656 else
9657 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
9659 rm -f core conftest.err conftest.$ac_objext \
9660 conftest$ac_exeext conftest.$ac_ext
9661 CFLAGS=$ac_wine_try_cflags_saved
9663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
9664 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
9665 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
9666 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
9669 esac
9671 else
9672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
9673 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
9674 if ${ac_cv_c_dll_unixware+:} false; then :
9675 $as_echo_n "(cached) " >&6
9676 else
9677 ac_wine_try_cflags_saved=$CFLAGS
9678 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9680 /* end confdefs.h. */
9681 void myfunc() {}
9682 _ACEOF
9683 if ac_fn_c_try_link "$LINENO"; then :
9684 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=yes
9685 else
9686 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=no
9688 rm -f core conftest.err conftest.$ac_objext \
9689 conftest$ac_exeext conftest.$ac_ext
9690 CFLAGS=$ac_wine_try_cflags_saved
9691 if test "x$ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic" = xyes; then :
9692 ac_cv_c_dll_unixware="yes"
9693 else
9694 ac_cv_c_dll_unixware="no"
9697 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
9698 $as_echo "$ac_cv_c_dll_unixware" >&6; }
9699 if test "$ac_cv_c_dll_unixware" = "yes"
9700 then
9701 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
9704 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
9706 LIBWINE_DEPENDS="wine.map"
9708 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
9709 TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.so"
9711 esac
9713 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
9714 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
9715 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
9716 enable_winemac_drv=${enable_winemac_drv:-no}
9717 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
9719 CROSSTARGET=""
9721 if test "x$with_mingw" != xno
9722 then
9723 case "x$with_mingw" in
9724 x|xyes) case "$host_cpu" in
9725 aarch64*)
9726 ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc" ;;
9727 arm*)
9728 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
9729 i[3456789]86*)
9730 ac_prefix_list="i686-w64-mingw32-gcc i586-w64-mingw32-gcc i486-w64-mingw32-gcc i386-w64-mingw32-gcc i686-pc-mingw32-gcc i586-pc-mingw32-gcc i486-pc-mingw32-gcc i386-pc-mingw32-gcc i686-mingw32msvc-gcc i586-mingw32msvc-gcc i486-mingw32msvc-gcc i386-mingw32msvc-gcc i686-mingw32-gcc i586-mingw32-gcc i486-mingw32-gcc i386-mingw32-gcc
9731 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9732 mingw32-gcc" ;;
9733 x86_64)
9734 ac_prefix_list="x86_64-pc-mingw32-gcc amd64-pc-mingw32-gcc x86_64-w64-mingw32-gcc amd64-w64-mingw32-gcc x86_64-mingw32msvc-gcc amd64-mingw32msvc-gcc
9735 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
9737 ac_prefix_list="" ;;
9738 esac
9739 for ac_prog in $ac_prefix_list
9741 # Extract the first word of "$ac_prog", so it can be a program name with args.
9742 set dummy $ac_prog; ac_word=$2
9743 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9744 $as_echo_n "checking for $ac_word... " >&6; }
9745 if ${ac_cv_prog_CROSSCC+:} false; then :
9746 $as_echo_n "(cached) " >&6
9747 else
9748 if test -n "$CROSSCC"; then
9749 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9750 else
9751 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9752 for as_dir in $PATH
9754 IFS=$as_save_IFS
9755 test -z "$as_dir" && as_dir=.
9756 for ac_exec_ext in '' $ac_executable_extensions; do
9757 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9758 ac_cv_prog_CROSSCC="$ac_prog"
9759 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9760 break 2
9762 done
9763 done
9764 IFS=$as_save_IFS
9768 CROSSCC=$ac_cv_prog_CROSSCC
9769 if test -n "$CROSSCC"; then
9770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9771 $as_echo "$CROSSCC" >&6; }
9772 else
9773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9774 $as_echo "no" >&6; }
9778 test -n "$CROSSCC" && break
9779 done
9780 test -n "$CROSSCC" || CROSSCC="false"
9782 *) CROSSCC=$with_mingw ;;
9783 esac
9784 if test "$CROSSCC" != "false"
9785 then
9786 ac_save_CC="$CC"
9787 saved_CFLAGS=$CFLAGS
9788 CROSSCFLAGS=${CROSSCFLAGS:-"-g -O2"}
9790 EXTRACROSSCFLAGS="-DWINE_CROSS_PE -Wall"
9793 CC="$CROSSCC"
9794 CFLAGS=$CROSSCFLAGS
9795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9796 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9797 if ${wine_cv_crosscc+:} false; then :
9798 $as_echo_n "(cached) " >&6
9799 else
9800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9801 /* end confdefs.h. */
9804 main ()
9808 return 0;
9810 _ACEOF
9811 if ac_fn_c_try_compile "$LINENO"; then :
9812 wine_cv_crosscc=yes
9813 else
9814 wine_cv_crosscc=no
9816 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_crosscc" >&5
9819 $as_echo "$wine_cv_crosscc" >&6; }
9820 if test $wine_cv_crosscc = yes
9821 then
9822 set x $CROSSCC
9823 shift
9824 while test $# -ge 1
9826 case "$1" in
9827 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
9828 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
9829 esac
9830 shift
9831 done
9833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-strict-aliasing" >&5
9834 $as_echo_n "checking whether the cross-compiler supports -fno-strict-aliasing... " >&6; }
9835 if ${ac_cv_crosscflags__fno_strict_aliasing+:} false; then :
9836 $as_echo_n "(cached) " >&6
9837 else
9838 ac_wine_try_cflags_saved=$CFLAGS
9839 ac_wine_try_cflags_saved_cc=$CC
9840 ac_wine_try_cflags_saved_exeext=$ac_exeext
9841 CFLAGS="$CFLAGS -fno-strict-aliasing"
9842 CC="$CROSSCC"
9843 ac_exeext=".exe"
9844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9845 /* end confdefs.h. */
9846 int main(int argc, char **argv) { return 0; }
9847 _ACEOF
9848 if ac_fn_c_try_link "$LINENO"; then :
9849 ac_cv_crosscflags__fno_strict_aliasing=yes
9850 else
9851 ac_cv_crosscflags__fno_strict_aliasing=no
9853 rm -f core conftest.err conftest.$ac_objext \
9854 conftest$ac_exeext conftest.$ac_ext
9855 CFLAGS=$ac_wine_try_cflags_saved
9856 CC=$ac_wine_try_cflags_saved_cc
9857 ac_exeext=$ac_wine_try_cflags_saved_exeext
9859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_strict_aliasing" >&5
9860 $as_echo "$ac_cv_crosscflags__fno_strict_aliasing" >&6; }
9861 if test "x$ac_cv_crosscflags__fno_strict_aliasing" = xyes; then :
9862 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-strict-aliasing"
9864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=unknown-warning-option" >&5
9865 $as_echo_n "checking whether the cross-compiler supports -Werror=unknown-warning-option... " >&6; }
9866 if ${ac_cv_crosscflags__Werror_unknown_warning_option+:} false; then :
9867 $as_echo_n "(cached) " >&6
9868 else
9869 ac_wine_try_cflags_saved=$CFLAGS
9870 ac_wine_try_cflags_saved_cc=$CC
9871 ac_wine_try_cflags_saved_exeext=$ac_exeext
9872 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9873 CC="$CROSSCC"
9874 ac_exeext=".exe"
9875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9876 /* end confdefs.h. */
9877 int main(int argc, char **argv) { return 0; }
9878 _ACEOF
9879 if ac_fn_c_try_link "$LINENO"; then :
9880 ac_cv_crosscflags__Werror_unknown_warning_option=yes
9881 else
9882 ac_cv_crosscflags__Werror_unknown_warning_option=no
9884 rm -f core conftest.err conftest.$ac_objext \
9885 conftest$ac_exeext conftest.$ac_ext
9886 CFLAGS=$ac_wine_try_cflags_saved
9887 CC=$ac_wine_try_cflags_saved_cc
9888 ac_exeext=$ac_wine_try_cflags_saved_exeext
9890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_unknown_warning_option" >&5
9891 $as_echo "$ac_cv_crosscflags__Werror_unknown_warning_option" >&6; }
9892 if test "x$ac_cv_crosscflags__Werror_unknown_warning_option" = xyes; then :
9893 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9895 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wdeclaration-after-statement" >&5
9896 $as_echo_n "checking whether the cross-compiler supports -Wdeclaration-after-statement... " >&6; }
9897 if ${ac_cv_crosscflags__Wdeclaration_after_statement+:} false; then :
9898 $as_echo_n "(cached) " >&6
9899 else
9900 ac_wine_try_cflags_saved=$CFLAGS
9901 ac_wine_try_cflags_saved_cc=$CC
9902 ac_wine_try_cflags_saved_exeext=$ac_exeext
9903 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
9904 CC="$CROSSCC"
9905 ac_exeext=".exe"
9906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9907 /* end confdefs.h. */
9908 int main(int argc, char **argv) { return 0; }
9909 _ACEOF
9910 if ac_fn_c_try_link "$LINENO"; then :
9911 ac_cv_crosscflags__Wdeclaration_after_statement=yes
9912 else
9913 ac_cv_crosscflags__Wdeclaration_after_statement=no
9915 rm -f core conftest.err conftest.$ac_objext \
9916 conftest$ac_exeext conftest.$ac_ext
9917 CFLAGS=$ac_wine_try_cflags_saved
9918 CC=$ac_wine_try_cflags_saved_cc
9919 ac_exeext=$ac_wine_try_cflags_saved_exeext
9921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wdeclaration_after_statement" >&5
9922 $as_echo "$ac_cv_crosscflags__Wdeclaration_after_statement" >&6; }
9923 if test "x$ac_cv_crosscflags__Wdeclaration_after_statement" = xyes; then :
9924 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wdeclaration-after-statement"
9926 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wempty-body" >&5
9927 $as_echo_n "checking whether the cross-compiler supports -Wempty-body... " >&6; }
9928 if ${ac_cv_crosscflags__Wempty_body+:} false; then :
9929 $as_echo_n "(cached) " >&6
9930 else
9931 ac_wine_try_cflags_saved=$CFLAGS
9932 ac_wine_try_cflags_saved_cc=$CC
9933 ac_wine_try_cflags_saved_exeext=$ac_exeext
9934 CFLAGS="$CFLAGS -Wempty-body"
9935 CC="$CROSSCC"
9936 ac_exeext=".exe"
9937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9938 /* end confdefs.h. */
9939 int main(int argc, char **argv) { return 0; }
9940 _ACEOF
9941 if ac_fn_c_try_link "$LINENO"; then :
9942 ac_cv_crosscflags__Wempty_body=yes
9943 else
9944 ac_cv_crosscflags__Wempty_body=no
9946 rm -f core conftest.err conftest.$ac_objext \
9947 conftest$ac_exeext conftest.$ac_ext
9948 CFLAGS=$ac_wine_try_cflags_saved
9949 CC=$ac_wine_try_cflags_saved_cc
9950 ac_exeext=$ac_wine_try_cflags_saved_exeext
9952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wempty_body" >&5
9953 $as_echo "$ac_cv_crosscflags__Wempty_body" >&6; }
9954 if test "x$ac_cv_crosscflags__Wempty_body" = xyes; then :
9955 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wempty-body"
9957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wignored-qualifiers" >&5
9958 $as_echo_n "checking whether the cross-compiler supports -Wignored-qualifiers... " >&6; }
9959 if ${ac_cv_crosscflags__Wignored_qualifiers+:} false; then :
9960 $as_echo_n "(cached) " >&6
9961 else
9962 ac_wine_try_cflags_saved=$CFLAGS
9963 ac_wine_try_cflags_saved_cc=$CC
9964 ac_wine_try_cflags_saved_exeext=$ac_exeext
9965 CFLAGS="$CFLAGS -Wignored-qualifiers"
9966 CC="$CROSSCC"
9967 ac_exeext=".exe"
9968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9969 /* end confdefs.h. */
9970 int main(int argc, char **argv) { return 0; }
9971 _ACEOF
9972 if ac_fn_c_try_link "$LINENO"; then :
9973 ac_cv_crosscflags__Wignored_qualifiers=yes
9974 else
9975 ac_cv_crosscflags__Wignored_qualifiers=no
9977 rm -f core conftest.err conftest.$ac_objext \
9978 conftest$ac_exeext conftest.$ac_ext
9979 CFLAGS=$ac_wine_try_cflags_saved
9980 CC=$ac_wine_try_cflags_saved_cc
9981 ac_exeext=$ac_wine_try_cflags_saved_exeext
9983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wignored_qualifiers" >&5
9984 $as_echo "$ac_cv_crosscflags__Wignored_qualifiers" >&6; }
9985 if test "x$ac_cv_crosscflags__Wignored_qualifiers" = xyes; then :
9986 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wignored-qualifiers"
9988 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpacked-not-aligned" >&5
9989 $as_echo_n "checking whether the cross-compiler supports -Wpacked-not-aligned... " >&6; }
9990 if ${ac_cv_crosscflags__Wpacked_not_aligned+:} false; then :
9991 $as_echo_n "(cached) " >&6
9992 else
9993 ac_wine_try_cflags_saved=$CFLAGS
9994 ac_wine_try_cflags_saved_cc=$CC
9995 ac_wine_try_cflags_saved_exeext=$ac_exeext
9996 CFLAGS="$CFLAGS -Wpacked-not-aligned"
9997 CC="$CROSSCC"
9998 ac_exeext=".exe"
9999 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10000 /* end confdefs.h. */
10001 int main(int argc, char **argv) { return 0; }
10002 _ACEOF
10003 if ac_fn_c_try_link "$LINENO"; then :
10004 ac_cv_crosscflags__Wpacked_not_aligned=yes
10005 else
10006 ac_cv_crosscflags__Wpacked_not_aligned=no
10008 rm -f core conftest.err conftest.$ac_objext \
10009 conftest$ac_exeext conftest.$ac_ext
10010 CFLAGS=$ac_wine_try_cflags_saved
10011 CC=$ac_wine_try_cflags_saved_cc
10012 ac_exeext=$ac_wine_try_cflags_saved_exeext
10014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpacked_not_aligned" >&5
10015 $as_echo "$ac_cv_crosscflags__Wpacked_not_aligned" >&6; }
10016 if test "x$ac_cv_crosscflags__Wpacked_not_aligned" = xyes; then :
10017 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-packed-not-aligned"
10019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpragma-pack" >&5
10020 $as_echo_n "checking whether the cross-compiler supports -Wpragma-pack... " >&6; }
10021 if ${ac_cv_crosscflags__Wpragma_pack+:} false; then :
10022 $as_echo_n "(cached) " >&6
10023 else
10024 ac_wine_try_cflags_saved=$CFLAGS
10025 ac_wine_try_cflags_saved_cc=$CC
10026 ac_wine_try_cflags_saved_exeext=$ac_exeext
10027 CFLAGS="$CFLAGS -Wpragma-pack"
10028 CC="$CROSSCC"
10029 ac_exeext=".exe"
10030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10031 /* end confdefs.h. */
10032 int main(int argc, char **argv) { return 0; }
10033 _ACEOF
10034 if ac_fn_c_try_link "$LINENO"; then :
10035 ac_cv_crosscflags__Wpragma_pack=yes
10036 else
10037 ac_cv_crosscflags__Wpragma_pack=no
10039 rm -f core conftest.err conftest.$ac_objext \
10040 conftest$ac_exeext conftest.$ac_ext
10041 CFLAGS=$ac_wine_try_cflags_saved
10042 CC=$ac_wine_try_cflags_saved_cc
10043 ac_exeext=$ac_wine_try_cflags_saved_exeext
10045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpragma_pack" >&5
10046 $as_echo "$ac_cv_crosscflags__Wpragma_pack" >&6; }
10047 if test "x$ac_cv_crosscflags__Wpragma_pack" = xyes; then :
10048 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-pragma-pack"
10050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wshift-overflow=2" >&5
10051 $as_echo_n "checking whether the cross-compiler supports -Wshift-overflow=2... " >&6; }
10052 if ${ac_cv_crosscflags__Wshift_overflow_2+:} false; then :
10053 $as_echo_n "(cached) " >&6
10054 else
10055 ac_wine_try_cflags_saved=$CFLAGS
10056 ac_wine_try_cflags_saved_cc=$CC
10057 ac_wine_try_cflags_saved_exeext=$ac_exeext
10058 CFLAGS="$CFLAGS -Wshift-overflow=2"
10059 CC="$CROSSCC"
10060 ac_exeext=".exe"
10061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10062 /* end confdefs.h. */
10063 int main(int argc, char **argv) { return 0; }
10064 _ACEOF
10065 if ac_fn_c_try_link "$LINENO"; then :
10066 ac_cv_crosscflags__Wshift_overflow_2=yes
10067 else
10068 ac_cv_crosscflags__Wshift_overflow_2=no
10070 rm -f core conftest.err conftest.$ac_objext \
10071 conftest$ac_exeext conftest.$ac_ext
10072 CFLAGS=$ac_wine_try_cflags_saved
10073 CC=$ac_wine_try_cflags_saved_cc
10074 ac_exeext=$ac_wine_try_cflags_saved_exeext
10076 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wshift_overflow_2" >&5
10077 $as_echo "$ac_cv_crosscflags__Wshift_overflow_2" >&6; }
10078 if test "x$ac_cv_crosscflags__Wshift_overflow_2" = xyes; then :
10079 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wshift-overflow=2"
10081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wstrict-prototypes" >&5
10082 $as_echo_n "checking whether the cross-compiler supports -Wstrict-prototypes... " >&6; }
10083 if ${ac_cv_crosscflags__Wstrict_prototypes+:} false; then :
10084 $as_echo_n "(cached) " >&6
10085 else
10086 ac_wine_try_cflags_saved=$CFLAGS
10087 ac_wine_try_cflags_saved_cc=$CC
10088 ac_wine_try_cflags_saved_exeext=$ac_exeext
10089 CFLAGS="$CFLAGS -Wstrict-prototypes"
10090 CC="$CROSSCC"
10091 ac_exeext=".exe"
10092 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10093 /* end confdefs.h. */
10094 int main(int argc, char **argv) { return 0; }
10095 _ACEOF
10096 if ac_fn_c_try_link "$LINENO"; then :
10097 ac_cv_crosscflags__Wstrict_prototypes=yes
10098 else
10099 ac_cv_crosscflags__Wstrict_prototypes=no
10101 rm -f core conftest.err conftest.$ac_objext \
10102 conftest$ac_exeext conftest.$ac_ext
10103 CFLAGS=$ac_wine_try_cflags_saved
10104 CC=$ac_wine_try_cflags_saved_cc
10105 ac_exeext=$ac_wine_try_cflags_saved_exeext
10107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wstrict_prototypes" >&5
10108 $as_echo "$ac_cv_crosscflags__Wstrict_prototypes" >&6; }
10109 if test "x$ac_cv_crosscflags__Wstrict_prototypes" = xyes; then :
10110 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wstrict-prototypes"
10112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wtype-limits" >&5
10113 $as_echo_n "checking whether the cross-compiler supports -Wtype-limits... " >&6; }
10114 if ${ac_cv_crosscflags__Wtype_limits+:} false; then :
10115 $as_echo_n "(cached) " >&6
10116 else
10117 ac_wine_try_cflags_saved=$CFLAGS
10118 ac_wine_try_cflags_saved_cc=$CC
10119 ac_wine_try_cflags_saved_exeext=$ac_exeext
10120 CFLAGS="$CFLAGS -Wtype-limits"
10121 CC="$CROSSCC"
10122 ac_exeext=".exe"
10123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10124 /* end confdefs.h. */
10125 int main(int argc, char **argv) { return 0; }
10126 _ACEOF
10127 if ac_fn_c_try_link "$LINENO"; then :
10128 ac_cv_crosscflags__Wtype_limits=yes
10129 else
10130 ac_cv_crosscflags__Wtype_limits=no
10132 rm -f core conftest.err conftest.$ac_objext \
10133 conftest$ac_exeext conftest.$ac_ext
10134 CFLAGS=$ac_wine_try_cflags_saved
10135 CC=$ac_wine_try_cflags_saved_cc
10136 ac_exeext=$ac_wine_try_cflags_saved_exeext
10138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wtype_limits" >&5
10139 $as_echo "$ac_cv_crosscflags__Wtype_limits" >&6; }
10140 if test "x$ac_cv_crosscflags__Wtype_limits" = xyes; then :
10141 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wtype-limits"
10143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wunused-but-set-parameter" >&5
10144 $as_echo_n "checking whether the cross-compiler supports -Wunused-but-set-parameter... " >&6; }
10145 if ${ac_cv_crosscflags__Wunused_but_set_parameter+:} false; then :
10146 $as_echo_n "(cached) " >&6
10147 else
10148 ac_wine_try_cflags_saved=$CFLAGS
10149 ac_wine_try_cflags_saved_cc=$CC
10150 ac_wine_try_cflags_saved_exeext=$ac_exeext
10151 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
10152 CC="$CROSSCC"
10153 ac_exeext=".exe"
10154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10155 /* end confdefs.h. */
10156 int main(int argc, char **argv) { return 0; }
10157 _ACEOF
10158 if ac_fn_c_try_link "$LINENO"; then :
10159 ac_cv_crosscflags__Wunused_but_set_parameter=yes
10160 else
10161 ac_cv_crosscflags__Wunused_but_set_parameter=no
10163 rm -f core conftest.err conftest.$ac_objext \
10164 conftest$ac_exeext conftest.$ac_ext
10165 CFLAGS=$ac_wine_try_cflags_saved
10166 CC=$ac_wine_try_cflags_saved_cc
10167 ac_exeext=$ac_wine_try_cflags_saved_exeext
10169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wunused_but_set_parameter" >&5
10170 $as_echo "$ac_cv_crosscflags__Wunused_but_set_parameter" >&6; }
10171 if test "x$ac_cv_crosscflags__Wunused_but_set_parameter" = xyes; then :
10172 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wunused-but-set-parameter"
10174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wvla" >&5
10175 $as_echo_n "checking whether the cross-compiler supports -Wvla... " >&6; }
10176 if ${ac_cv_crosscflags__Wvla+:} false; then :
10177 $as_echo_n "(cached) " >&6
10178 else
10179 ac_wine_try_cflags_saved=$CFLAGS
10180 ac_wine_try_cflags_saved_cc=$CC
10181 ac_wine_try_cflags_saved_exeext=$ac_exeext
10182 CFLAGS="$CFLAGS -Wvla"
10183 CC="$CROSSCC"
10184 ac_exeext=".exe"
10185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10186 /* end confdefs.h. */
10187 int main(int argc, char **argv) { return 0; }
10188 _ACEOF
10189 if ac_fn_c_try_link "$LINENO"; then :
10190 ac_cv_crosscflags__Wvla=yes
10191 else
10192 ac_cv_crosscflags__Wvla=no
10194 rm -f core conftest.err conftest.$ac_objext \
10195 conftest$ac_exeext conftest.$ac_ext
10196 CFLAGS=$ac_wine_try_cflags_saved
10197 CC=$ac_wine_try_cflags_saved_cc
10198 ac_exeext=$ac_wine_try_cflags_saved_exeext
10200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wvla" >&5
10201 $as_echo "$ac_cv_crosscflags__Wvla" >&6; }
10202 if test "x$ac_cv_crosscflags__Wvla" = xyes; then :
10203 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wvla"
10205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wwrite-strings" >&5
10206 $as_echo_n "checking whether the cross-compiler supports -Wwrite-strings... " >&6; }
10207 if ${ac_cv_crosscflags__Wwrite_strings+:} false; then :
10208 $as_echo_n "(cached) " >&6
10209 else
10210 ac_wine_try_cflags_saved=$CFLAGS
10211 ac_wine_try_cflags_saved_cc=$CC
10212 ac_wine_try_cflags_saved_exeext=$ac_exeext
10213 CFLAGS="$CFLAGS -Wwrite-strings"
10214 CC="$CROSSCC"
10215 ac_exeext=".exe"
10216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10217 /* end confdefs.h. */
10218 int main(int argc, char **argv) { return 0; }
10219 _ACEOF
10220 if ac_fn_c_try_link "$LINENO"; then :
10221 ac_cv_crosscflags__Wwrite_strings=yes
10222 else
10223 ac_cv_crosscflags__Wwrite_strings=no
10225 rm -f core conftest.err conftest.$ac_objext \
10226 conftest$ac_exeext conftest.$ac_ext
10227 CFLAGS=$ac_wine_try_cflags_saved
10228 CC=$ac_wine_try_cflags_saved_cc
10229 ac_exeext=$ac_wine_try_cflags_saved_exeext
10231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wwrite_strings" >&5
10232 $as_echo "$ac_cv_crosscflags__Wwrite_strings" >&6; }
10233 if test "x$ac_cv_crosscflags__Wwrite_strings" = xyes; then :
10234 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wwrite-strings"
10236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpointer-arith" >&5
10237 $as_echo_n "checking whether the cross-compiler supports -Wpointer-arith... " >&6; }
10238 if ${ac_cv_crosscflags__Wpointer_arith+:} false; then :
10239 $as_echo_n "(cached) " >&6
10240 else
10241 ac_wine_try_cflags_saved=$CFLAGS
10242 ac_wine_try_cflags_saved_cc=$CC
10243 ac_wine_try_cflags_saved_exeext=$ac_exeext
10244 CFLAGS="$CFLAGS -Wpointer-arith"
10245 CC="$CROSSCC"
10246 ac_exeext=".exe"
10247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10248 /* end confdefs.h. */
10249 int main(int argc, char **argv) { return 0; }
10250 _ACEOF
10251 if ac_fn_c_try_link "$LINENO"; then :
10252 ac_cv_crosscflags__Wpointer_arith=yes
10253 else
10254 ac_cv_crosscflags__Wpointer_arith=no
10256 rm -f core conftest.err conftest.$ac_objext \
10257 conftest$ac_exeext conftest.$ac_ext
10258 CFLAGS=$ac_wine_try_cflags_saved
10259 CC=$ac_wine_try_cflags_saved_cc
10260 ac_exeext=$ac_wine_try_cflags_saved_exeext
10262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpointer_arith" >&5
10263 $as_echo "$ac_cv_crosscflags__Wpointer_arith" >&6; }
10264 if test "x$ac_cv_crosscflags__Wpointer_arith" = xyes; then :
10265 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wpointer-arith"
10267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wlogical-op" >&5
10268 $as_echo_n "checking whether the cross-compiler supports -Wlogical-op... " >&6; }
10269 if ${ac_cv_crosscflags__Wlogical_op+:} false; then :
10270 $as_echo_n "(cached) " >&6
10271 else
10272 ac_wine_try_cflags_saved=$CFLAGS
10273 ac_wine_try_cflags_saved_cc=$CC
10274 ac_wine_try_cflags_saved_exeext=$ac_exeext
10275 CFLAGS="$CFLAGS -Wlogical-op"
10276 CC="$CROSSCC"
10277 ac_exeext=".exe"
10278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10279 /* end confdefs.h. */
10280 int main(int argc, char **argv) { return 0; }
10281 _ACEOF
10282 if ac_fn_c_try_link "$LINENO"; then :
10283 ac_cv_crosscflags__Wlogical_op=yes
10284 else
10285 ac_cv_crosscflags__Wlogical_op=no
10287 rm -f core conftest.err conftest.$ac_objext \
10288 conftest$ac_exeext conftest.$ac_ext
10289 CFLAGS=$ac_wine_try_cflags_saved
10290 CC=$ac_wine_try_cflags_saved_cc
10291 ac_exeext=$ac_wine_try_cflags_saved_exeext
10293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wlogical_op" >&5
10294 $as_echo "$ac_cv_crosscflags__Wlogical_op" >&6; }
10295 if test "x$ac_cv_crosscflags__Wlogical_op" = xyes; then :
10296 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wlogical-op"
10299 case $host_cpu in
10300 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-omit-frame-pointer" >&5
10301 $as_echo_n "checking whether the cross-compiler supports -fno-omit-frame-pointer... " >&6; }
10302 if ${ac_cv_crosscflags__fno_omit_frame_pointer+:} false; then :
10303 $as_echo_n "(cached) " >&6
10304 else
10305 ac_wine_try_cflags_saved=$CFLAGS
10306 ac_wine_try_cflags_saved_cc=$CC
10307 ac_wine_try_cflags_saved_exeext=$ac_exeext
10308 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
10309 CC="$CROSSCC"
10310 ac_exeext=".exe"
10311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10312 /* end confdefs.h. */
10313 int main(int argc, char **argv) { return 0; }
10314 _ACEOF
10315 if ac_fn_c_try_link "$LINENO"; then :
10316 ac_cv_crosscflags__fno_omit_frame_pointer=yes
10317 else
10318 ac_cv_crosscflags__fno_omit_frame_pointer=no
10320 rm -f core conftest.err conftest.$ac_objext \
10321 conftest$ac_exeext conftest.$ac_ext
10322 CFLAGS=$ac_wine_try_cflags_saved
10323 CC=$ac_wine_try_cflags_saved_cc
10324 ac_exeext=$ac_wine_try_cflags_saved_exeext
10326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_omit_frame_pointer" >&5
10327 $as_echo "$ac_cv_crosscflags__fno_omit_frame_pointer" >&6; }
10328 if test "x$ac_cv_crosscflags__fno_omit_frame_pointer" = xyes; then :
10329 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-omit-frame-pointer"
10330 fi ;;
10331 x86_64) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
10332 $as_echo_n "checking whether the cross-compiler supports -Wno-format... " >&6; }
10333 if ${ac_cv_crosscflags__Wno_format+:} false; then :
10334 $as_echo_n "(cached) " >&6
10335 else
10336 ac_wine_try_cflags_saved=$CFLAGS
10337 ac_wine_try_cflags_saved_cc=$CC
10338 ac_wine_try_cflags_saved_exeext=$ac_exeext
10339 CFLAGS="$CFLAGS -Wno-format"
10340 CC="$CROSSCC"
10341 ac_exeext=".exe"
10342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10343 /* end confdefs.h. */
10344 int main(int argc, char **argv) { return 0; }
10345 _ACEOF
10346 if ac_fn_c_try_link "$LINENO"; then :
10347 ac_cv_crosscflags__Wno_format=yes
10348 else
10349 ac_cv_crosscflags__Wno_format=no
10351 rm -f core conftest.err conftest.$ac_objext \
10352 conftest$ac_exeext conftest.$ac_ext
10353 CFLAGS=$ac_wine_try_cflags_saved
10354 CC=$ac_wine_try_cflags_saved_cc
10355 ac_exeext=$ac_wine_try_cflags_saved_exeext
10357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
10358 $as_echo "$ac_cv_crosscflags__Wno_format" >&6; }
10359 if test "x$ac_cv_crosscflags__Wno_format" = xyes; then :
10360 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
10361 fi ;;
10362 esac
10364 for ac_flag in $CROSSCFLAGS; do
10365 case $ac_flag in
10366 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gdwarf-2" >&5
10367 $as_echo_n "checking whether the cross-compiler supports -gdwarf-2... " >&6; }
10368 if ${ac_cv_crosscflags__gdwarf_2+:} false; then :
10369 $as_echo_n "(cached) " >&6
10370 else
10371 ac_wine_try_cflags_saved=$CFLAGS
10372 ac_wine_try_cflags_saved_cc=$CC
10373 ac_wine_try_cflags_saved_exeext=$ac_exeext
10374 CFLAGS="$CFLAGS -gdwarf-2"
10375 CC="$CROSSCC"
10376 ac_exeext=".exe"
10377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10378 /* end confdefs.h. */
10379 int main(int argc, char **argv) { return 0; }
10380 _ACEOF
10381 if ac_fn_c_try_link "$LINENO"; then :
10382 ac_cv_crosscflags__gdwarf_2=yes
10383 else
10384 ac_cv_crosscflags__gdwarf_2=no
10386 rm -f core conftest.err conftest.$ac_objext \
10387 conftest$ac_exeext conftest.$ac_ext
10388 CFLAGS=$ac_wine_try_cflags_saved
10389 CC=$ac_wine_try_cflags_saved_cc
10390 ac_exeext=$ac_wine_try_cflags_saved_exeext
10392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gdwarf_2" >&5
10393 $as_echo "$ac_cv_crosscflags__gdwarf_2" >&6; }
10394 if test "x$ac_cv_crosscflags__gdwarf_2" = xyes; then :
10395 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gdwarf-2"
10397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gstrict-dwarf" >&5
10398 $as_echo_n "checking whether the cross-compiler supports -gstrict-dwarf... " >&6; }
10399 if ${ac_cv_crosscflags__gstrict_dwarf+:} false; then :
10400 $as_echo_n "(cached) " >&6
10401 else
10402 ac_wine_try_cflags_saved=$CFLAGS
10403 ac_wine_try_cflags_saved_cc=$CC
10404 ac_wine_try_cflags_saved_exeext=$ac_exeext
10405 CFLAGS="$CFLAGS -gstrict-dwarf"
10406 CC="$CROSSCC"
10407 ac_exeext=".exe"
10408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10409 /* end confdefs.h. */
10410 int main(int argc, char **argv) { return 0; }
10411 _ACEOF
10412 if ac_fn_c_try_link "$LINENO"; then :
10413 ac_cv_crosscflags__gstrict_dwarf=yes
10414 else
10415 ac_cv_crosscflags__gstrict_dwarf=no
10417 rm -f core conftest.err conftest.$ac_objext \
10418 conftest$ac_exeext conftest.$ac_ext
10419 CFLAGS=$ac_wine_try_cflags_saved
10420 CC=$ac_wine_try_cflags_saved_cc
10421 ac_exeext=$ac_wine_try_cflags_saved_exeext
10423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gstrict_dwarf" >&5
10424 $as_echo "$ac_cv_crosscflags__gstrict_dwarf" >&6; }
10425 if test "x$ac_cv_crosscflags__gstrict_dwarf" = xyes; then :
10426 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gstrict-dwarf"
10427 fi ;;
10428 esac
10429 done
10431 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
10432 $as_echo_n "checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
10433 if ${ac_cv_cflags__Wl__delayload_autoconftest_dll+:} false; then :
10434 $as_echo_n "(cached) " >&6
10435 else
10436 ac_wine_try_cflags_saved=$CFLAGS
10437 CFLAGS="$CFLAGS -Wl,-delayload,autoconftest.dll"
10438 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10439 /* end confdefs.h. */
10440 int main(int argc, char **argv) { return 0; }
10441 _ACEOF
10442 if ac_fn_c_try_link "$LINENO"; then :
10443 ac_cv_cflags__Wl__delayload_autoconftest_dll=yes
10444 else
10445 ac_cv_cflags__Wl__delayload_autoconftest_dll=no
10447 rm -f core conftest.err conftest.$ac_objext \
10448 conftest$ac_exeext conftest.$ac_ext
10449 CFLAGS=$ac_wine_try_cflags_saved
10451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
10452 $as_echo "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
10453 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes; then :
10454 DELAYLOADFLAG="-Wl,-delayload,"
10458 if test "x$enable_maintainer_mode" = xyes
10459 then
10460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror" >&5
10461 $as_echo_n "checking whether the cross-compiler supports -Werror... " >&6; }
10462 if ${ac_cv_crosscflags__Werror+:} false; then :
10463 $as_echo_n "(cached) " >&6
10464 else
10465 ac_wine_try_cflags_saved=$CFLAGS
10466 ac_wine_try_cflags_saved_cc=$CC
10467 ac_wine_try_cflags_saved_exeext=$ac_exeext
10468 CFLAGS="$CFLAGS -Werror"
10469 CC="$CROSSCC"
10470 ac_exeext=".exe"
10471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10472 /* end confdefs.h. */
10473 int main(int argc, char **argv) { return 0; }
10474 _ACEOF
10475 if ac_fn_c_try_link "$LINENO"; then :
10476 ac_cv_crosscflags__Werror=yes
10477 else
10478 ac_cv_crosscflags__Werror=no
10480 rm -f core conftest.err conftest.$ac_objext \
10481 conftest$ac_exeext conftest.$ac_ext
10482 CFLAGS=$ac_wine_try_cflags_saved
10483 CC=$ac_wine_try_cflags_saved_cc
10484 ac_exeext=$ac_wine_try_cflags_saved_exeext
10486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror" >&5
10487 $as_echo "$ac_cv_crosscflags__Werror" >&6; }
10488 if test "x$ac_cv_crosscflags__Werror" = xyes; then :
10489 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Werror"
10493 CFLAGS=$saved_CFLAGS
10494 CC="$ac_save_CC"
10497 if test "x$CROSSTARGET" = "x"; then :
10498 case "x$with_mingw" in
10499 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
10500 xno) ;;
10501 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
10502 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
10503 esac
10508 if test "$ac_cv_header_pthread_h" = "yes"
10509 then
10510 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
10511 if test "x$ac_cv_func_pthread_create" = xyes; then :
10513 else
10514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
10515 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
10516 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
10517 $as_echo_n "(cached) " >&6
10518 else
10519 ac_check_lib_save_LIBS=$LIBS
10520 LIBS="-lpthread $LIBS"
10521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10522 /* end confdefs.h. */
10524 /* Override any GCC internal prototype to avoid an error.
10525 Use char because int might match the return type of a GCC
10526 builtin and then its argument prototype would still apply. */
10527 #ifdef __cplusplus
10528 extern "C"
10529 #endif
10530 char pthread_create ();
10532 main ()
10534 return pthread_create ();
10536 return 0;
10538 _ACEOF
10539 if ac_fn_c_try_link "$LINENO"; then :
10540 ac_cv_lib_pthread_pthread_create=yes
10541 else
10542 ac_cv_lib_pthread_pthread_create=no
10544 rm -f core conftest.err conftest.$ac_objext \
10545 conftest$ac_exeext conftest.$ac_ext
10546 LIBS=$ac_check_lib_save_LIBS
10548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
10549 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
10550 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
10551 PTHREAD_LIBS="-lpthread"
10558 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
10559 case "x$with_pthread" in
10560 xno) ;;
10561 *) as_fn_error $? "pthread ${notice_platform}development files not found.
10562 Wine cannot support threads without libpthread.
10563 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
10564 esac
10569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
10570 $as_echo_n "checking for X... " >&6; }
10573 # Check whether --with-x was given.
10574 if test "${with_x+set}" = set; then :
10575 withval=$with_x;
10578 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
10579 if test "x$with_x" = xno; then
10580 # The user explicitly disabled X.
10581 have_x=disabled
10582 else
10583 case $x_includes,$x_libraries in #(
10584 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
10585 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
10586 $as_echo_n "(cached) " >&6
10587 else
10588 # One or both of the vars are not set, and there is no cached value.
10589 ac_x_includes=no ac_x_libraries=no
10590 rm -f -r conftest.dir
10591 if mkdir conftest.dir; then
10592 cd conftest.dir
10593 cat >Imakefile <<'_ACEOF'
10594 incroot:
10595 @echo incroot='${INCROOT}'
10596 usrlibdir:
10597 @echo usrlibdir='${USRLIBDIR}'
10598 libdir:
10599 @echo libdir='${LIBDIR}'
10600 _ACEOF
10601 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
10602 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
10603 for ac_var in incroot usrlibdir libdir; do
10604 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
10605 done
10606 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
10607 for ac_extension in a so sl dylib la dll; do
10608 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
10609 test -f "$ac_im_libdir/libX11.$ac_extension"; then
10610 ac_im_usrlibdir=$ac_im_libdir; break
10612 done
10613 # Screen out bogus values from the imake configuration. They are
10614 # bogus both because they are the default anyway, and because
10615 # using them would break gcc on systems where it needs fixed includes.
10616 case $ac_im_incroot in
10617 /usr/include) ac_x_includes= ;;
10618 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
10619 esac
10620 case $ac_im_usrlibdir in
10621 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
10622 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
10623 esac
10625 cd ..
10626 rm -f -r conftest.dir
10629 # Standard set of common directories for X headers.
10630 # Check X11 before X11Rn because it is often a symlink to the current release.
10631 ac_x_header_dirs='
10632 /usr/X11/include
10633 /usr/X11R7/include
10634 /usr/X11R6/include
10635 /usr/X11R5/include
10636 /usr/X11R4/include
10638 /usr/include/X11
10639 /usr/include/X11R7
10640 /usr/include/X11R6
10641 /usr/include/X11R5
10642 /usr/include/X11R4
10644 /usr/local/X11/include
10645 /usr/local/X11R7/include
10646 /usr/local/X11R6/include
10647 /usr/local/X11R5/include
10648 /usr/local/X11R4/include
10650 /usr/local/include/X11
10651 /usr/local/include/X11R7
10652 /usr/local/include/X11R6
10653 /usr/local/include/X11R5
10654 /usr/local/include/X11R4
10656 /usr/X386/include
10657 /usr/x386/include
10658 /usr/XFree86/include/X11
10660 /usr/include
10661 /usr/local/include
10662 /usr/unsupported/include
10663 /usr/athena/include
10664 /usr/local/x11r5/include
10665 /usr/lpp/Xamples/include
10667 /usr/openwin/include
10668 /usr/openwin/share/include'
10670 if test "$ac_x_includes" = no; then
10671 # Guess where to find include files, by looking for Xlib.h.
10672 # First, try using that file with no special directory specified.
10673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10674 /* end confdefs.h. */
10675 #include <X11/Xlib.h>
10676 _ACEOF
10677 if ac_fn_c_try_cpp "$LINENO"; then :
10678 # We can compile using X headers with no special include directory.
10679 ac_x_includes=
10680 else
10681 for ac_dir in $ac_x_header_dirs; do
10682 if test -r "$ac_dir/X11/Xlib.h"; then
10683 ac_x_includes=$ac_dir
10684 break
10686 done
10688 rm -f conftest.err conftest.i conftest.$ac_ext
10689 fi # $ac_x_includes = no
10691 if test "$ac_x_libraries" = no; then
10692 # Check for the libraries.
10693 # See if we find them without any special options.
10694 # Don't add to $LIBS permanently.
10695 ac_save_LIBS=$LIBS
10696 LIBS="-lX11 $LIBS"
10697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10698 /* end confdefs.h. */
10699 #include <X11/Xlib.h>
10701 main ()
10703 XrmInitialize ()
10705 return 0;
10707 _ACEOF
10708 if ac_fn_c_try_link "$LINENO"; then :
10709 LIBS=$ac_save_LIBS
10710 # We can link X programs with no special library path.
10711 ac_x_libraries=
10712 else
10713 LIBS=$ac_save_LIBS
10714 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
10716 # Don't even attempt the hair of trying to link an X program!
10717 for ac_extension in a so sl dylib la dll; do
10718 if test -r "$ac_dir/libX11.$ac_extension"; then
10719 ac_x_libraries=$ac_dir
10720 break 2
10722 done
10723 done
10725 rm -f core conftest.err conftest.$ac_objext \
10726 conftest$ac_exeext conftest.$ac_ext
10727 fi # $ac_x_libraries = no
10729 case $ac_x_includes,$ac_x_libraries in #(
10730 no,* | *,no | *\'*)
10731 # Didn't find X, or a directory has "'" in its name.
10732 ac_cv_have_x="have_x=no";; #(
10734 # Record where we found X for the cache.
10735 ac_cv_have_x="have_x=yes\
10736 ac_x_includes='$ac_x_includes'\
10737 ac_x_libraries='$ac_x_libraries'"
10738 esac
10740 ;; #(
10741 *) have_x=yes;;
10742 esac
10743 eval "$ac_cv_have_x"
10744 fi # $with_x != no
10746 if test "$have_x" != yes; then
10747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
10748 $as_echo "$have_x" >&6; }
10749 no_x=yes
10750 else
10751 # If each of the values was on the command line, it overrides each guess.
10752 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
10753 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
10754 # Update the cache value to reflect the command line values.
10755 ac_cv_have_x="have_x=yes\
10756 ac_x_includes='$x_includes'\
10757 ac_x_libraries='$x_libraries'"
10758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
10759 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
10762 if test "$no_x" = yes; then
10763 # Not all programs may use this symbol, but it does not hurt to define it.
10765 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
10767 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
10768 else
10769 if test -n "$x_includes"; then
10770 X_CFLAGS="$X_CFLAGS -I$x_includes"
10773 # It would also be nice to do this for all -L options, not just this one.
10774 if test -n "$x_libraries"; then
10775 X_LIBS="$X_LIBS -L$x_libraries"
10776 # For Solaris; some versions of Sun CC require a space after -R and
10777 # others require no space. Words are not sufficient . . . .
10778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
10779 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
10780 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
10781 ac_xsave_c_werror_flag=$ac_c_werror_flag
10782 ac_c_werror_flag=yes
10783 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10784 /* end confdefs.h. */
10787 main ()
10791 return 0;
10793 _ACEOF
10794 if ac_fn_c_try_link "$LINENO"; then :
10795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10796 $as_echo "no" >&6; }
10797 X_LIBS="$X_LIBS -R$x_libraries"
10798 else
10799 LIBS="$ac_xsave_LIBS -R $x_libraries"
10800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10801 /* end confdefs.h. */
10804 main ()
10808 return 0;
10810 _ACEOF
10811 if ac_fn_c_try_link "$LINENO"; then :
10812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10813 $as_echo "yes" >&6; }
10814 X_LIBS="$X_LIBS -R $x_libraries"
10815 else
10816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
10817 $as_echo "neither works" >&6; }
10819 rm -f core conftest.err conftest.$ac_objext \
10820 conftest$ac_exeext conftest.$ac_ext
10822 rm -f core conftest.err conftest.$ac_objext \
10823 conftest$ac_exeext conftest.$ac_ext
10824 ac_c_werror_flag=$ac_xsave_c_werror_flag
10825 LIBS=$ac_xsave_LIBS
10828 # Check for system-dependent libraries X programs must link with.
10829 # Do this before checking for the system-independent R6 libraries
10830 # (-lICE), since we may need -lsocket or whatever for X linking.
10832 if test "$ISC" = yes; then
10833 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
10834 else
10835 # Martyn Johnson says this is needed for Ultrix, if the X
10836 # libraries were built with DECnet support. And Karl Berry says
10837 # the Alpha needs dnet_stub (dnet does not exist).
10838 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
10839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10840 /* end confdefs.h. */
10842 /* Override any GCC internal prototype to avoid an error.
10843 Use char because int might match the return type of a GCC
10844 builtin and then its argument prototype would still apply. */
10845 #ifdef __cplusplus
10846 extern "C"
10847 #endif
10848 char XOpenDisplay ();
10850 main ()
10852 return XOpenDisplay ();
10854 return 0;
10856 _ACEOF
10857 if ac_fn_c_try_link "$LINENO"; then :
10859 else
10860 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
10861 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
10862 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
10863 $as_echo_n "(cached) " >&6
10864 else
10865 ac_check_lib_save_LIBS=$LIBS
10866 LIBS="-ldnet $LIBS"
10867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10868 /* end confdefs.h. */
10870 /* Override any GCC internal prototype to avoid an error.
10871 Use char because int might match the return type of a GCC
10872 builtin and then its argument prototype would still apply. */
10873 #ifdef __cplusplus
10874 extern "C"
10875 #endif
10876 char dnet_ntoa ();
10878 main ()
10880 return dnet_ntoa ();
10882 return 0;
10884 _ACEOF
10885 if ac_fn_c_try_link "$LINENO"; then :
10886 ac_cv_lib_dnet_dnet_ntoa=yes
10887 else
10888 ac_cv_lib_dnet_dnet_ntoa=no
10890 rm -f core conftest.err conftest.$ac_objext \
10891 conftest$ac_exeext conftest.$ac_ext
10892 LIBS=$ac_check_lib_save_LIBS
10894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
10895 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
10896 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
10897 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
10900 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
10901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
10902 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
10903 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
10904 $as_echo_n "(cached) " >&6
10905 else
10906 ac_check_lib_save_LIBS=$LIBS
10907 LIBS="-ldnet_stub $LIBS"
10908 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10909 /* end confdefs.h. */
10911 /* Override any GCC internal prototype to avoid an error.
10912 Use char because int might match the return type of a GCC
10913 builtin and then its argument prototype would still apply. */
10914 #ifdef __cplusplus
10915 extern "C"
10916 #endif
10917 char dnet_ntoa ();
10919 main ()
10921 return dnet_ntoa ();
10923 return 0;
10925 _ACEOF
10926 if ac_fn_c_try_link "$LINENO"; then :
10927 ac_cv_lib_dnet_stub_dnet_ntoa=yes
10928 else
10929 ac_cv_lib_dnet_stub_dnet_ntoa=no
10931 rm -f core conftest.err conftest.$ac_objext \
10932 conftest$ac_exeext conftest.$ac_ext
10933 LIBS=$ac_check_lib_save_LIBS
10935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
10936 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
10937 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
10938 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
10943 rm -f core conftest.err conftest.$ac_objext \
10944 conftest$ac_exeext conftest.$ac_ext
10945 LIBS="$ac_xsave_LIBS"
10947 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
10948 # to get the SysV transport functions.
10949 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
10950 # needs -lnsl.
10951 # The nsl library prevents programs from opening the X display
10952 # on Irix 5.2, according to T.E. Dickey.
10953 # The functions gethostbyname, getservbyname, and inet_addr are
10954 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
10955 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
10956 if test "x$ac_cv_func_gethostbyname" = xyes; then :
10960 if test $ac_cv_func_gethostbyname = no; then
10961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
10962 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
10963 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
10964 $as_echo_n "(cached) " >&6
10965 else
10966 ac_check_lib_save_LIBS=$LIBS
10967 LIBS="-lnsl $LIBS"
10968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10969 /* end confdefs.h. */
10971 /* Override any GCC internal prototype to avoid an error.
10972 Use char because int might match the return type of a GCC
10973 builtin and then its argument prototype would still apply. */
10974 #ifdef __cplusplus
10975 extern "C"
10976 #endif
10977 char gethostbyname ();
10979 main ()
10981 return gethostbyname ();
10983 return 0;
10985 _ACEOF
10986 if ac_fn_c_try_link "$LINENO"; then :
10987 ac_cv_lib_nsl_gethostbyname=yes
10988 else
10989 ac_cv_lib_nsl_gethostbyname=no
10991 rm -f core conftest.err conftest.$ac_objext \
10992 conftest$ac_exeext conftest.$ac_ext
10993 LIBS=$ac_check_lib_save_LIBS
10995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
10996 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
10997 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
10998 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
11001 if test $ac_cv_lib_nsl_gethostbyname = no; then
11002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
11003 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
11004 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
11005 $as_echo_n "(cached) " >&6
11006 else
11007 ac_check_lib_save_LIBS=$LIBS
11008 LIBS="-lbsd $LIBS"
11009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11010 /* end confdefs.h. */
11012 /* Override any GCC internal prototype to avoid an error.
11013 Use char because int might match the return type of a GCC
11014 builtin and then its argument prototype would still apply. */
11015 #ifdef __cplusplus
11016 extern "C"
11017 #endif
11018 char gethostbyname ();
11020 main ()
11022 return gethostbyname ();
11024 return 0;
11026 _ACEOF
11027 if ac_fn_c_try_link "$LINENO"; then :
11028 ac_cv_lib_bsd_gethostbyname=yes
11029 else
11030 ac_cv_lib_bsd_gethostbyname=no
11032 rm -f core conftest.err conftest.$ac_objext \
11033 conftest$ac_exeext conftest.$ac_ext
11034 LIBS=$ac_check_lib_save_LIBS
11036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
11037 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
11038 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
11039 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
11045 # lieder@skyler.mavd.honeywell.com says without -lsocket,
11046 # socket/setsockopt and other routines are undefined under SCO ODT
11047 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
11048 # on later versions), says Simon Leinen: it contains gethostby*
11049 # variants that don't use the name server (or something). -lsocket
11050 # must be given before -lnsl if both are needed. We assume that
11051 # if connect needs -lnsl, so does gethostbyname.
11052 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
11053 if test "x$ac_cv_func_connect" = xyes; then :
11057 if test $ac_cv_func_connect = no; then
11058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
11059 $as_echo_n "checking for connect in -lsocket... " >&6; }
11060 if ${ac_cv_lib_socket_connect+:} false; then :
11061 $as_echo_n "(cached) " >&6
11062 else
11063 ac_check_lib_save_LIBS=$LIBS
11064 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
11065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11066 /* end confdefs.h. */
11068 /* Override any GCC internal prototype to avoid an error.
11069 Use char because int might match the return type of a GCC
11070 builtin and then its argument prototype would still apply. */
11071 #ifdef __cplusplus
11072 extern "C"
11073 #endif
11074 char connect ();
11076 main ()
11078 return connect ();
11080 return 0;
11082 _ACEOF
11083 if ac_fn_c_try_link "$LINENO"; then :
11084 ac_cv_lib_socket_connect=yes
11085 else
11086 ac_cv_lib_socket_connect=no
11088 rm -f core conftest.err conftest.$ac_objext \
11089 conftest$ac_exeext conftest.$ac_ext
11090 LIBS=$ac_check_lib_save_LIBS
11092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
11093 $as_echo "$ac_cv_lib_socket_connect" >&6; }
11094 if test "x$ac_cv_lib_socket_connect" = xyes; then :
11095 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
11100 # Guillermo Gomez says -lposix is necessary on A/UX.
11101 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
11102 if test "x$ac_cv_func_remove" = xyes; then :
11106 if test $ac_cv_func_remove = no; then
11107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
11108 $as_echo_n "checking for remove in -lposix... " >&6; }
11109 if ${ac_cv_lib_posix_remove+:} false; then :
11110 $as_echo_n "(cached) " >&6
11111 else
11112 ac_check_lib_save_LIBS=$LIBS
11113 LIBS="-lposix $LIBS"
11114 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11115 /* end confdefs.h. */
11117 /* Override any GCC internal prototype to avoid an error.
11118 Use char because int might match the return type of a GCC
11119 builtin and then its argument prototype would still apply. */
11120 #ifdef __cplusplus
11121 extern "C"
11122 #endif
11123 char remove ();
11125 main ()
11127 return remove ();
11129 return 0;
11131 _ACEOF
11132 if ac_fn_c_try_link "$LINENO"; then :
11133 ac_cv_lib_posix_remove=yes
11134 else
11135 ac_cv_lib_posix_remove=no
11137 rm -f core conftest.err conftest.$ac_objext \
11138 conftest$ac_exeext conftest.$ac_ext
11139 LIBS=$ac_check_lib_save_LIBS
11141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
11142 $as_echo "$ac_cv_lib_posix_remove" >&6; }
11143 if test "x$ac_cv_lib_posix_remove" = xyes; then :
11144 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
11149 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
11150 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
11151 if test "x$ac_cv_func_shmat" = xyes; then :
11155 if test $ac_cv_func_shmat = no; then
11156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
11157 $as_echo_n "checking for shmat in -lipc... " >&6; }
11158 if ${ac_cv_lib_ipc_shmat+:} false; then :
11159 $as_echo_n "(cached) " >&6
11160 else
11161 ac_check_lib_save_LIBS=$LIBS
11162 LIBS="-lipc $LIBS"
11163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11164 /* end confdefs.h. */
11166 /* Override any GCC internal prototype to avoid an error.
11167 Use char because int might match the return type of a GCC
11168 builtin and then its argument prototype would still apply. */
11169 #ifdef __cplusplus
11170 extern "C"
11171 #endif
11172 char shmat ();
11174 main ()
11176 return shmat ();
11178 return 0;
11180 _ACEOF
11181 if ac_fn_c_try_link "$LINENO"; then :
11182 ac_cv_lib_ipc_shmat=yes
11183 else
11184 ac_cv_lib_ipc_shmat=no
11186 rm -f core conftest.err conftest.$ac_objext \
11187 conftest$ac_exeext conftest.$ac_ext
11188 LIBS=$ac_check_lib_save_LIBS
11190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
11191 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
11192 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
11193 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
11199 # Check for libraries that X11R6 Xt/Xaw programs need.
11200 ac_save_LDFLAGS=$LDFLAGS
11201 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
11202 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
11203 # check for ICE first), but we must link in the order -lSM -lICE or
11204 # we get undefined symbols. So assume we have SM if we have ICE.
11205 # These have to be linked with before -lX11, unlike the other
11206 # libraries we check for below, so use a different variable.
11207 # John Interrante, Karl Berry
11208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
11209 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
11210 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
11211 $as_echo_n "(cached) " >&6
11212 else
11213 ac_check_lib_save_LIBS=$LIBS
11214 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
11215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11216 /* end confdefs.h. */
11218 /* Override any GCC internal prototype to avoid an error.
11219 Use char because int might match the return type of a GCC
11220 builtin and then its argument prototype would still apply. */
11221 #ifdef __cplusplus
11222 extern "C"
11223 #endif
11224 char IceConnectionNumber ();
11226 main ()
11228 return IceConnectionNumber ();
11230 return 0;
11232 _ACEOF
11233 if ac_fn_c_try_link "$LINENO"; then :
11234 ac_cv_lib_ICE_IceConnectionNumber=yes
11235 else
11236 ac_cv_lib_ICE_IceConnectionNumber=no
11238 rm -f core conftest.err conftest.$ac_objext \
11239 conftest$ac_exeext conftest.$ac_ext
11240 LIBS=$ac_check_lib_save_LIBS
11242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
11243 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
11244 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
11245 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
11248 LDFLAGS=$ac_save_LDFLAGS
11253 if test "$have_x" = "yes"
11254 then
11255 ac_save_CPPFLAGS="$CPPFLAGS"
11256 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
11258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
11259 $as_echo_n "checking for -lX11... " >&6; }
11260 if ${ac_cv_lib_soname_X11+:} false; then :
11261 $as_echo_n "(cached) " >&6
11262 else
11263 ac_check_soname_save_LIBS=$LIBS
11264 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11266 /* end confdefs.h. */
11268 /* Override any GCC internal prototype to avoid an error.
11269 Use char because int might match the return type of a GCC
11270 builtin and then its argument prototype would still apply. */
11271 #ifdef __cplusplus
11272 extern "C"
11273 #endif
11274 char XCreateWindow ();
11276 main ()
11278 return XCreateWindow ();
11280 return 0;
11282 _ACEOF
11283 if ac_fn_c_try_link "$LINENO"; then :
11284 case "$LIBEXT" in
11285 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11286 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'` ;;
11287 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11288 if ${ac_cv_lib_soname_X11:+false} :; then :
11289 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11290 fi ;;
11291 esac
11292 else
11293 ac_cv_lib_soname_X11=
11295 rm -f core conftest.err conftest.$ac_objext \
11296 conftest$ac_exeext conftest.$ac_ext
11297 LIBS=$ac_check_soname_save_LIBS
11299 if ${ac_cv_lib_soname_X11:+false} :; then :
11300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11301 $as_echo "not found" >&6; }
11303 else
11304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
11305 $as_echo "$ac_cv_lib_soname_X11" >&6; }
11307 cat >>confdefs.h <<_ACEOF
11308 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
11309 _ACEOF
11313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
11314 $as_echo_n "checking for -lXext... " >&6; }
11315 if ${ac_cv_lib_soname_Xext+:} false; then :
11316 $as_echo_n "(cached) " >&6
11317 else
11318 ac_check_soname_save_LIBS=$LIBS
11319 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
11320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11321 /* end confdefs.h. */
11323 /* Override any GCC internal prototype to avoid an error.
11324 Use char because int might match the return type of a GCC
11325 builtin and then its argument prototype would still apply. */
11326 #ifdef __cplusplus
11327 extern "C"
11328 #endif
11329 char XextCreateExtension ();
11331 main ()
11333 return XextCreateExtension ();
11335 return 0;
11337 _ACEOF
11338 if ac_fn_c_try_link "$LINENO"; then :
11339 case "$LIBEXT" in
11340 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11341 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'` ;;
11342 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11343 if ${ac_cv_lib_soname_Xext:+false} :; then :
11344 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11345 fi ;;
11346 esac
11347 else
11348 ac_cv_lib_soname_Xext=
11350 rm -f core conftest.err conftest.$ac_objext \
11351 conftest$ac_exeext conftest.$ac_ext
11352 LIBS=$ac_check_soname_save_LIBS
11354 if ${ac_cv_lib_soname_Xext:+false} :; then :
11355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11356 $as_echo "not found" >&6; }
11358 else
11359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
11360 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
11362 cat >>confdefs.h <<_ACEOF
11363 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
11364 _ACEOF
11366 X_LIBS="$X_LIBS -lXext"
11368 X_LIBS="$X_LIBS -lX11"
11370 for ac_header in X11/Xlib.h \
11371 X11/XKBlib.h \
11372 X11/Xutil.h \
11373 X11/Xcursor/Xcursor.h \
11374 X11/extensions/shape.h \
11375 X11/extensions/XInput.h \
11376 X11/extensions/XInput2.h \
11377 X11/extensions/XShm.h \
11378 X11/extensions/Xcomposite.h \
11379 X11/extensions/Xfixes.h \
11380 X11/extensions/Xinerama.h \
11381 X11/extensions/Xrandr.h \
11382 X11/extensions/Xrender.h \
11383 X11/extensions/xf86vmode.h \
11384 X11/extensions/xf86vmproto.h
11385 do :
11386 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11387 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
11388 # include <X11/Xlib.h>
11389 #endif
11390 #ifdef HAVE_X11_XUTIL_H
11391 # include <X11/Xutil.h>
11392 #endif
11394 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11395 cat >>confdefs.h <<_ACEOF
11396 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11397 _ACEOF
11401 done
11404 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
11405 then
11406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
11407 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
11408 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
11409 $as_echo_n "(cached) " >&6
11410 else
11411 ac_check_lib_save_LIBS=$LIBS
11412 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11414 /* end confdefs.h. */
11416 /* Override any GCC internal prototype to avoid an error.
11417 Use char because int might match the return type of a GCC
11418 builtin and then its argument prototype would still apply. */
11419 #ifdef __cplusplus
11420 extern "C"
11421 #endif
11422 char XkbQueryExtension ();
11424 main ()
11426 return XkbQueryExtension ();
11428 return 0;
11430 _ACEOF
11431 if ac_fn_c_try_link "$LINENO"; then :
11432 ac_cv_lib_X11_XkbQueryExtension=yes
11433 else
11434 ac_cv_lib_X11_XkbQueryExtension=no
11436 rm -f core conftest.err conftest.$ac_objext \
11437 conftest$ac_exeext conftest.$ac_ext
11438 LIBS=$ac_check_lib_save_LIBS
11440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
11441 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
11442 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
11444 $as_echo "#define HAVE_XKB 1" >>confdefs.h
11450 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
11451 then
11452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
11453 $as_echo_n "checking for -lXcursor... " >&6; }
11454 if ${ac_cv_lib_soname_Xcursor+:} false; then :
11455 $as_echo_n "(cached) " >&6
11456 else
11457 ac_check_soname_save_LIBS=$LIBS
11458 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
11459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11460 /* end confdefs.h. */
11462 /* Override any GCC internal prototype to avoid an error.
11463 Use char because int might match the return type of a GCC
11464 builtin and then its argument prototype would still apply. */
11465 #ifdef __cplusplus
11466 extern "C"
11467 #endif
11468 char XcursorImageLoadCursor ();
11470 main ()
11472 return XcursorImageLoadCursor ();
11474 return 0;
11476 _ACEOF
11477 if ac_fn_c_try_link "$LINENO"; then :
11478 case "$LIBEXT" in
11479 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11480 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'` ;;
11481 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11482 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11483 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11484 fi ;;
11485 esac
11486 else
11487 ac_cv_lib_soname_Xcursor=
11489 rm -f core conftest.err conftest.$ac_objext \
11490 conftest$ac_exeext conftest.$ac_ext
11491 LIBS=$ac_check_soname_save_LIBS
11493 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11495 $as_echo "not found" >&6; }
11497 else
11498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
11499 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
11501 cat >>confdefs.h <<_ACEOF
11502 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
11503 _ACEOF
11508 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
11509 case "x$with_xcursor" in
11510 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
11511 xno) ;;
11512 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
11513 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
11514 esac
11518 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
11519 then
11520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
11521 $as_echo_n "checking for -lXi... " >&6; }
11522 if ${ac_cv_lib_soname_Xi+:} false; then :
11523 $as_echo_n "(cached) " >&6
11524 else
11525 ac_check_soname_save_LIBS=$LIBS
11526 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
11527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11528 /* end confdefs.h. */
11530 /* Override any GCC internal prototype to avoid an error.
11531 Use char because int might match the return type of a GCC
11532 builtin and then its argument prototype would still apply. */
11533 #ifdef __cplusplus
11534 extern "C"
11535 #endif
11536 char XOpenDevice ();
11538 main ()
11540 return XOpenDevice ();
11542 return 0;
11544 _ACEOF
11545 if ac_fn_c_try_link "$LINENO"; then :
11546 case "$LIBEXT" in
11547 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11548 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'` ;;
11549 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11550 if ${ac_cv_lib_soname_Xi:+false} :; then :
11551 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11552 fi ;;
11553 esac
11554 else
11555 ac_cv_lib_soname_Xi=
11557 rm -f core conftest.err conftest.$ac_objext \
11558 conftest$ac_exeext conftest.$ac_ext
11559 LIBS=$ac_check_soname_save_LIBS
11561 if ${ac_cv_lib_soname_Xi:+false} :; then :
11562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11563 $as_echo "not found" >&6; }
11565 else
11566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
11567 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
11569 cat >>confdefs.h <<_ACEOF
11570 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
11571 _ACEOF
11576 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
11577 case "x$with_xinput" in
11578 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
11579 xno) ;;
11580 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
11581 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
11582 esac
11586 if test "x$ac_cv_lib_soname_Xi" != x
11587 then
11588 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
11589 case "x$with_xinput2" in
11590 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
11591 xno) ;;
11592 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
11593 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
11594 esac
11599 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
11600 then
11601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
11602 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
11603 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
11604 $as_echo_n "(cached) " >&6
11605 else
11606 ac_check_lib_save_LIBS=$LIBS
11607 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11609 /* end confdefs.h. */
11611 /* Override any GCC internal prototype to avoid an error.
11612 Use char because int might match the return type of a GCC
11613 builtin and then its argument prototype would still apply. */
11614 #ifdef __cplusplus
11615 extern "C"
11616 #endif
11617 char XShmQueryExtension ();
11619 main ()
11621 return XShmQueryExtension ();
11623 return 0;
11625 _ACEOF
11626 if ac_fn_c_try_link "$LINENO"; then :
11627 ac_cv_lib_Xext_XShmQueryExtension=yes
11628 else
11629 ac_cv_lib_Xext_XShmQueryExtension=no
11631 rm -f core conftest.err conftest.$ac_objext \
11632 conftest$ac_exeext conftest.$ac_ext
11633 LIBS=$ac_check_lib_save_LIBS
11635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
11636 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
11637 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
11639 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
11644 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
11645 case "x$with_xshm" in
11646 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
11647 xno) ;;
11648 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
11649 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
11650 esac
11654 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
11655 then
11656 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
11657 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
11658 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
11659 $as_echo_n "(cached) " >&6
11660 else
11661 ac_check_lib_save_LIBS=$LIBS
11662 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11664 /* end confdefs.h. */
11666 /* Override any GCC internal prototype to avoid an error.
11667 Use char because int might match the return type of a GCC
11668 builtin and then its argument prototype would still apply. */
11669 #ifdef __cplusplus
11670 extern "C"
11671 #endif
11672 char XShapeQueryExtension ();
11674 main ()
11676 return XShapeQueryExtension ();
11678 return 0;
11680 _ACEOF
11681 if ac_fn_c_try_link "$LINENO"; then :
11682 ac_cv_lib_Xext_XShapeQueryExtension=yes
11683 else
11684 ac_cv_lib_Xext_XShapeQueryExtension=no
11686 rm -f core conftest.err conftest.$ac_objext \
11687 conftest$ac_exeext conftest.$ac_ext
11688 LIBS=$ac_check_lib_save_LIBS
11690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
11691 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
11692 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
11694 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
11699 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
11700 case "x$with_xshape" in
11701 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
11702 xno) ;;
11703 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
11704 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
11705 esac
11709 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
11710 then
11711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
11712 $as_echo_n "checking for -lXxf86vm... " >&6; }
11713 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
11714 $as_echo_n "(cached) " >&6
11715 else
11716 ac_check_soname_save_LIBS=$LIBS
11717 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
11718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11719 /* end confdefs.h. */
11721 /* Override any GCC internal prototype to avoid an error.
11722 Use char because int might match the return type of a GCC
11723 builtin and then its argument prototype would still apply. */
11724 #ifdef __cplusplus
11725 extern "C"
11726 #endif
11727 char XF86VidModeQueryExtension ();
11729 main ()
11731 return XF86VidModeQueryExtension ();
11733 return 0;
11735 _ACEOF
11736 if ac_fn_c_try_link "$LINENO"; then :
11737 case "$LIBEXT" in
11738 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11739 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'` ;;
11740 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11741 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
11742 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11743 fi ;;
11744 esac
11745 else
11746 ac_cv_lib_soname_Xxf86vm=
11748 rm -f core conftest.err conftest.$ac_objext \
11749 conftest$ac_exeext conftest.$ac_ext
11750 LIBS=$ac_check_soname_save_LIBS
11752 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
11753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11754 $as_echo "not found" >&6; }
11756 else
11757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
11758 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
11760 cat >>confdefs.h <<_ACEOF
11761 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
11762 _ACEOF
11767 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
11768 case "x$with_xxf86vm" in
11769 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
11770 xno) ;;
11771 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
11772 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
11773 esac
11777 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
11778 then
11779 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
11780 $as_echo_n "checking for -lXrender... " >&6; }
11781 if ${ac_cv_lib_soname_Xrender+:} false; then :
11782 $as_echo_n "(cached) " >&6
11783 else
11784 ac_check_soname_save_LIBS=$LIBS
11785 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
11786 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11787 /* end confdefs.h. */
11789 /* Override any GCC internal prototype to avoid an error.
11790 Use char because int might match the return type of a GCC
11791 builtin and then its argument prototype would still apply. */
11792 #ifdef __cplusplus
11793 extern "C"
11794 #endif
11795 char XRenderQueryExtension ();
11797 main ()
11799 return XRenderQueryExtension ();
11801 return 0;
11803 _ACEOF
11804 if ac_fn_c_try_link "$LINENO"; then :
11805 case "$LIBEXT" in
11806 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11807 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'` ;;
11808 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11809 if ${ac_cv_lib_soname_Xrender:+false} :; then :
11810 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11811 fi ;;
11812 esac
11813 else
11814 ac_cv_lib_soname_Xrender=
11816 rm -f core conftest.err conftest.$ac_objext \
11817 conftest$ac_exeext conftest.$ac_ext
11818 LIBS=$ac_check_soname_save_LIBS
11820 if ${ac_cv_lib_soname_Xrender:+false} :; then :
11821 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11822 $as_echo "not found" >&6; }
11824 else
11825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
11826 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
11828 cat >>confdefs.h <<_ACEOF
11829 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
11830 _ACEOF
11832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
11833 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
11834 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
11835 $as_echo_n "(cached) " >&6
11836 else
11837 ac_check_lib_save_LIBS=$LIBS
11838 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
11839 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11840 /* end confdefs.h. */
11842 /* Override any GCC internal prototype to avoid an error.
11843 Use char because int might match the return type of a GCC
11844 builtin and then its argument prototype would still apply. */
11845 #ifdef __cplusplus
11846 extern "C"
11847 #endif
11848 char XRenderSetPictureTransform ();
11850 main ()
11852 return XRenderSetPictureTransform ();
11854 return 0;
11856 _ACEOF
11857 if ac_fn_c_try_link "$LINENO"; then :
11858 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
11859 else
11860 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
11862 rm -f core conftest.err conftest.$ac_objext \
11863 conftest$ac_exeext conftest.$ac_ext
11864 LIBS=$ac_check_lib_save_LIBS
11866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
11867 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
11868 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
11870 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
11874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
11875 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
11876 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
11877 $as_echo_n "(cached) " >&6
11878 else
11879 ac_check_lib_save_LIBS=$LIBS
11880 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
11881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11882 /* end confdefs.h. */
11884 /* Override any GCC internal prototype to avoid an error.
11885 Use char because int might match the return type of a GCC
11886 builtin and then its argument prototype would still apply. */
11887 #ifdef __cplusplus
11888 extern "C"
11889 #endif
11890 char XRenderCreateLinearGradient ();
11892 main ()
11894 return XRenderCreateLinearGradient ();
11896 return 0;
11898 _ACEOF
11899 if ac_fn_c_try_link "$LINENO"; then :
11900 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
11901 else
11902 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
11904 rm -f core conftest.err conftest.$ac_objext \
11905 conftest$ac_exeext conftest.$ac_ext
11906 LIBS=$ac_check_lib_save_LIBS
11908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
11909 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
11910 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
11912 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
11919 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
11920 case "x$with_xrender" in
11921 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
11922 xno) ;;
11923 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
11924 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
11925 esac
11929 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
11930 then
11931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11932 /* end confdefs.h. */
11933 #include <X11/Xlib.h>
11934 #include <X11/extensions/Xrandr.h>
11936 main ()
11938 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
11940 return 0;
11942 _ACEOF
11943 if ac_fn_c_try_compile "$LINENO"; then :
11944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
11945 $as_echo_n "checking for -lXrandr... " >&6; }
11946 if ${ac_cv_lib_soname_Xrandr+:} false; then :
11947 $as_echo_n "(cached) " >&6
11948 else
11949 ac_check_soname_save_LIBS=$LIBS
11950 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
11951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11952 /* end confdefs.h. */
11954 /* Override any GCC internal prototype to avoid an error.
11955 Use char because int might match the return type of a GCC
11956 builtin and then its argument prototype would still apply. */
11957 #ifdef __cplusplus
11958 extern "C"
11959 #endif
11960 char XRRQueryExtension ();
11962 main ()
11964 return XRRQueryExtension ();
11966 return 0;
11968 _ACEOF
11969 if ac_fn_c_try_link "$LINENO"; then :
11970 case "$LIBEXT" in
11971 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11972 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'` ;;
11973 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11974 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
11975 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11976 fi ;;
11977 esac
11978 else
11979 ac_cv_lib_soname_Xrandr=
11981 rm -f core conftest.err conftest.$ac_objext \
11982 conftest$ac_exeext conftest.$ac_ext
11983 LIBS=$ac_check_soname_save_LIBS
11985 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
11986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11987 $as_echo "not found" >&6; }
11989 else
11990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
11991 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
11993 cat >>confdefs.h <<_ACEOF
11994 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
11995 _ACEOF
11997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11998 /* end confdefs.h. */
11999 #include <X11/Xlib.h>
12000 #include <X11/extensions/Xrandr.h>
12002 main ()
12004 static typeof(XRRGetScreenResources) *f; if (f) return 0;
12006 return 0;
12008 _ACEOF
12009 if ac_fn_c_try_compile "$LINENO"; then :
12011 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
12014 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12016 /* end confdefs.h. */
12017 #include <X11/Xlib.h>
12018 #include <X11/extensions/Xrandr.h>
12020 main ()
12022 static typeof(XRRGetProviderResources) *f; if (f) return 0;
12024 return 0;
12026 _ACEOF
12027 if ac_fn_c_try_compile "$LINENO"; then :
12029 $as_echo "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
12031 else
12032 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
12034 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12039 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
12040 case "x$with_xrandr" in
12041 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
12042 xno) ;;
12043 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
12044 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
12045 esac
12049 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
12050 then
12051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12052 /* end confdefs.h. */
12053 #include <X11/Xlib.h>
12054 #include <X11/extensions/Xfixes.h>
12056 main ()
12058 static typeof(XFixesQueryVersion) * func; if (func) return 0;
12060 return 0;
12062 _ACEOF
12063 if ac_fn_c_try_compile "$LINENO"; then :
12064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
12065 $as_echo_n "checking for -lXfixes... " >&6; }
12066 if ${ac_cv_lib_soname_Xfixes+:} false; then :
12067 $as_echo_n "(cached) " >&6
12068 else
12069 ac_check_soname_save_LIBS=$LIBS
12070 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
12071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12072 /* end confdefs.h. */
12074 /* Override any GCC internal prototype to avoid an error.
12075 Use char because int might match the return type of a GCC
12076 builtin and then its argument prototype would still apply. */
12077 #ifdef __cplusplus
12078 extern "C"
12079 #endif
12080 char XFixesQueryVersion ();
12082 main ()
12084 return XFixesQueryVersion ();
12086 return 0;
12088 _ACEOF
12089 if ac_fn_c_try_link "$LINENO"; then :
12090 case "$LIBEXT" in
12091 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12092 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'` ;;
12093 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12094 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12095 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12096 fi ;;
12097 esac
12098 else
12099 ac_cv_lib_soname_Xfixes=
12101 rm -f core conftest.err conftest.$ac_objext \
12102 conftest$ac_exeext conftest.$ac_ext
12103 LIBS=$ac_check_soname_save_LIBS
12105 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12107 $as_echo "not found" >&6; }
12109 else
12110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
12111 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
12113 cat >>confdefs.h <<_ACEOF
12114 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
12115 _ACEOF
12120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12122 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
12123 case "x$with_xfixes" in
12124 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
12125 xno) ;;
12126 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
12127 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
12128 esac
12132 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
12133 then
12134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12135 /* end confdefs.h. */
12136 #include <X11/Xlib.h>
12137 #include <X11/extensions/Xinerama.h>
12139 main ()
12141 static typeof(XineramaQueryScreens) * func; if (func) return 0;
12143 return 0;
12145 _ACEOF
12146 if ac_fn_c_try_compile "$LINENO"; then :
12147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
12148 $as_echo_n "checking for -lXinerama... " >&6; }
12149 if ${ac_cv_lib_soname_Xinerama+:} false; then :
12150 $as_echo_n "(cached) " >&6
12151 else
12152 ac_check_soname_save_LIBS=$LIBS
12153 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
12154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12155 /* end confdefs.h. */
12157 /* Override any GCC internal prototype to avoid an error.
12158 Use char because int might match the return type of a GCC
12159 builtin and then its argument prototype would still apply. */
12160 #ifdef __cplusplus
12161 extern "C"
12162 #endif
12163 char XineramaQueryScreens ();
12165 main ()
12167 return XineramaQueryScreens ();
12169 return 0;
12171 _ACEOF
12172 if ac_fn_c_try_link "$LINENO"; then :
12173 case "$LIBEXT" in
12174 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12175 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'` ;;
12176 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12177 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12178 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12179 fi ;;
12180 esac
12181 else
12182 ac_cv_lib_soname_Xinerama=
12184 rm -f core conftest.err conftest.$ac_objext \
12185 conftest$ac_exeext conftest.$ac_ext
12186 LIBS=$ac_check_soname_save_LIBS
12188 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12190 $as_echo "not found" >&6; }
12192 else
12193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
12194 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
12196 cat >>confdefs.h <<_ACEOF
12197 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
12198 _ACEOF
12203 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12205 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
12206 case "x$with_xinerama" in
12207 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
12208 xno) ;;
12209 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
12210 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
12211 esac
12215 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
12216 then
12217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
12218 $as_echo_n "checking for -lXcomposite... " >&6; }
12219 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
12220 $as_echo_n "(cached) " >&6
12221 else
12222 ac_check_soname_save_LIBS=$LIBS
12223 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
12224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12225 /* end confdefs.h. */
12227 /* Override any GCC internal prototype to avoid an error.
12228 Use char because int might match the return type of a GCC
12229 builtin and then its argument prototype would still apply. */
12230 #ifdef __cplusplus
12231 extern "C"
12232 #endif
12233 char XCompositeRedirectWindow ();
12235 main ()
12237 return XCompositeRedirectWindow ();
12239 return 0;
12241 _ACEOF
12242 if ac_fn_c_try_link "$LINENO"; then :
12243 case "$LIBEXT" in
12244 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12245 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'` ;;
12246 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12247 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12248 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12249 fi ;;
12250 esac
12251 else
12252 ac_cv_lib_soname_Xcomposite=
12254 rm -f core conftest.err conftest.$ac_objext \
12255 conftest$ac_exeext conftest.$ac_ext
12256 LIBS=$ac_check_soname_save_LIBS
12258 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12260 $as_echo "not found" >&6; }
12262 else
12263 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
12264 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
12266 cat >>confdefs.h <<_ACEOF
12267 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
12268 _ACEOF
12273 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
12274 case "x$with_xcomposite" in
12275 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
12276 xno) ;;
12277 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
12278 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
12279 esac
12283 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
12284 #include <X11/Xlib.h>
12285 #endif
12287 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
12289 cat >>confdefs.h <<_ACEOF
12290 #define HAVE_XICCALLBACK_CALLBACK 1
12291 _ACEOF
12295 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
12296 #include <X11/Xlib.h>
12297 #endif
12299 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
12301 cat >>confdefs.h <<_ACEOF
12302 #define HAVE_XEVENT_XCOOKIE 1
12303 _ACEOF
12310 opengl_msg=""
12311 if test "x$with_opengl" != "xno"
12312 then
12313 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12314 $as_echo_n "checking for -lGL... " >&6; }
12315 if ${ac_cv_lib_soname_GL+:} false; then :
12316 $as_echo_n "(cached) " >&6
12317 else
12318 ac_check_soname_save_LIBS=$LIBS
12319 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12320 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12321 /* end confdefs.h. */
12323 /* Override any GCC internal prototype to avoid an error.
12324 Use char because int might match the return type of a GCC
12325 builtin and then its argument prototype would still apply. */
12326 #ifdef __cplusplus
12327 extern "C"
12328 #endif
12329 char glXCreateContext ();
12331 main ()
12333 return glXCreateContext ();
12335 return 0;
12337 _ACEOF
12338 if ac_fn_c_try_link "$LINENO"; then :
12339 case "$LIBEXT" in
12340 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12341 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'` ;;
12342 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12343 if ${ac_cv_lib_soname_GL:+false} :; then :
12344 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12345 fi ;;
12346 esac
12347 else
12348 ac_cv_lib_soname_GL=
12350 rm -f core conftest.err conftest.$ac_objext \
12351 conftest$ac_exeext conftest.$ac_ext
12352 LIBS=$ac_check_soname_save_LIBS
12354 if ${ac_cv_lib_soname_GL:+false} :; then :
12355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12356 $as_echo "not found" >&6; }
12357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12358 $as_echo_n "checking for -lGL... " >&6; }
12359 if ${ac_cv_lib_soname_GL+:} false; then :
12360 $as_echo_n "(cached) " >&6
12361 else
12362 ac_check_soname_save_LIBS=$LIBS
12363 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"
12364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12365 /* end confdefs.h. */
12367 /* Override any GCC internal prototype to avoid an error.
12368 Use char because int might match the return type of a GCC
12369 builtin and then its argument prototype would still apply. */
12370 #ifdef __cplusplus
12371 extern "C"
12372 #endif
12373 char glXCreateContext ();
12375 main ()
12377 return glXCreateContext ();
12379 return 0;
12381 _ACEOF
12382 if ac_fn_c_try_link "$LINENO"; then :
12383 case "$LIBEXT" in
12384 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12385 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'` ;;
12386 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12387 if ${ac_cv_lib_soname_GL:+false} :; then :
12388 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12389 fi ;;
12390 esac
12391 else
12392 ac_cv_lib_soname_GL=
12394 rm -f core conftest.err conftest.$ac_objext \
12395 conftest$ac_exeext conftest.$ac_ext
12396 LIBS=$ac_check_soname_save_LIBS
12398 if ${ac_cv_lib_soname_GL:+false} :; then :
12399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12400 $as_echo "not found" >&6; }
12401 if test -f /usr/X11R6/lib/libGL.a
12402 then
12403 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
12404 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
12405 else
12406 opengl_msg="No OpenGL library found on this system."
12408 else
12409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12410 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12412 cat >>confdefs.h <<_ACEOF
12413 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12414 _ACEOF
12416 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"
12418 else
12419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12420 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12422 cat >>confdefs.h <<_ACEOF
12423 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12424 _ACEOF
12426 OPENGL_LIBS="-lGL"
12428 if test "x$with_glu" != "xno"
12429 then
12430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
12431 $as_echo_n "checking for -lGLU... " >&6; }
12432 if ${ac_cv_lib_soname_GLU+:} false; then :
12433 $as_echo_n "(cached) " >&6
12434 else
12435 ac_check_soname_save_LIBS=$LIBS
12436 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12438 /* end confdefs.h. */
12440 /* Override any GCC internal prototype to avoid an error.
12441 Use char because int might match the return type of a GCC
12442 builtin and then its argument prototype would still apply. */
12443 #ifdef __cplusplus
12444 extern "C"
12445 #endif
12446 char gluLookAt ();
12448 main ()
12450 return gluLookAt ();
12452 return 0;
12454 _ACEOF
12455 if ac_fn_c_try_link "$LINENO"; then :
12456 case "$LIBEXT" in
12457 dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12458 dylib) ac_cv_lib_soname_GLU=`$OTOOL -L conftest$ac_exeext | grep "libGLU\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libGLU\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
12459 *) ac_cv_lib_soname_GLU=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLU\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLU\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12460 if ${ac_cv_lib_soname_GLU:+false} :; then :
12461 ac_cv_lib_soname_GLU=`$LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12462 fi ;;
12463 esac
12464 else
12465 ac_cv_lib_soname_GLU=
12467 rm -f core conftest.err conftest.$ac_objext \
12468 conftest$ac_exeext conftest.$ac_ext
12469 LIBS=$ac_check_soname_save_LIBS
12471 if ${ac_cv_lib_soname_GLU:+false} :; then :
12472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12473 $as_echo "not found" >&6; }
12475 else
12476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
12477 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
12479 cat >>confdefs.h <<_ACEOF
12480 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
12481 _ACEOF
12485 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
12486 case "x$with_glu" in
12487 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
12488 xno) ;;
12489 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
12490 This is an error since --with-glu was requested." "$LINENO" 5 ;;
12491 esac
12496 if test "x$with_osmesa" != "xno"
12497 then
12498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
12499 $as_echo_n "checking for -lOSMesa... " >&6; }
12500 if ${ac_cv_lib_soname_OSMesa+:} false; then :
12501 $as_echo_n "(cached) " >&6
12502 else
12503 ac_check_soname_save_LIBS=$LIBS
12504 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12506 /* end confdefs.h. */
12508 /* Override any GCC internal prototype to avoid an error.
12509 Use char because int might match the return type of a GCC
12510 builtin and then its argument prototype would still apply. */
12511 #ifdef __cplusplus
12512 extern "C"
12513 #endif
12514 char OSMesaGetProcAddress ();
12516 main ()
12518 return OSMesaGetProcAddress ();
12520 return 0;
12522 _ACEOF
12523 if ac_fn_c_try_link "$LINENO"; then :
12524 case "$LIBEXT" in
12525 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12526 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'` ;;
12527 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12528 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12529 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12530 fi ;;
12531 esac
12532 else
12533 ac_cv_lib_soname_OSMesa=
12535 rm -f core conftest.err conftest.$ac_objext \
12536 conftest$ac_exeext conftest.$ac_ext
12537 LIBS=$ac_check_soname_save_LIBS
12539 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12541 $as_echo "not found" >&6; }
12543 else
12544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
12545 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
12547 cat >>confdefs.h <<_ACEOF
12548 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
12549 _ACEOF
12553 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
12554 case "x$with_osmesa" in
12555 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
12556 xno) ;;
12557 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
12558 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
12559 esac
12564 if test -n "$opengl_msg"; then :
12565 case "x$with_opengl" in
12566 x) as_fn_append wine_warnings "|$opengl_msg
12567 OpenGL and Direct3D won't be supported." ;;
12568 xno) ;;
12569 *) as_fn_error $? "$opengl_msg
12570 OpenGL and Direct3D won't be supported.
12571 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
12572 esac
12576 CPPFLAGS="$ac_save_CPPFLAGS"
12577 else
12578 X_CFLAGS=""
12579 X_LIBS=""
12582 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
12583 then
12584 if test "x$X_LIBS" = "x"; then :
12585 case "x$with_x" in
12586 xno) ;;
12587 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
12588 without X support, which probably isn't what you want. You will need
12589 to install ${notice_platform}development packages of Xlib at the very least.
12590 Use the --without-x option if you really want this." "$LINENO" 5 ;;
12591 esac
12592 enable_winex11_drv=${enable_winex11_drv:-no}
12594 else
12595 if test "x$X_LIBS" = "x"; then :
12596 case "x$with_x" in
12597 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
12598 xno) ;;
12599 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
12600 This is an error since --with-x was requested." "$LINENO" 5 ;;
12601 esac
12602 enable_winex11_drv=${enable_winex11_drv:-no}
12606 if test "$ac_cv_header_CL_cl_h" = "yes"
12607 then
12608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
12609 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
12610 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
12611 $as_echo_n "(cached) " >&6
12612 else
12613 ac_check_lib_save_LIBS=$LIBS
12614 LIBS="-lOpenCL $LIBS"
12615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12616 /* end confdefs.h. */
12618 /* Override any GCC internal prototype to avoid an error.
12619 Use char because int might match the return type of a GCC
12620 builtin and then its argument prototype would still apply. */
12621 #ifdef __cplusplus
12622 extern "C"
12623 #endif
12624 char clGetPlatformInfo ();
12626 main ()
12628 return clGetPlatformInfo ();
12630 return 0;
12632 _ACEOF
12633 if ac_fn_c_try_link "$LINENO"; then :
12634 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
12635 else
12636 ac_cv_lib_OpenCL_clGetPlatformInfo=no
12638 rm -f core conftest.err conftest.$ac_objext \
12639 conftest$ac_exeext conftest.$ac_ext
12640 LIBS=$ac_check_lib_save_LIBS
12642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
12643 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
12644 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
12645 OPENCL_LIBS="-lOpenCL"
12650 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
12651 case "x$with_opencl" in
12652 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
12653 xno) ;;
12654 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
12655 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
12656 esac
12657 enable_opencl=${enable_opencl:-no}
12660 if test "$ac_cv_header_pcap_pcap_h" = "yes"
12661 then
12662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
12663 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
12664 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
12665 $as_echo_n "(cached) " >&6
12666 else
12667 ac_check_lib_save_LIBS=$LIBS
12668 LIBS="-lpcap $LIBS"
12669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12670 /* end confdefs.h. */
12672 /* Override any GCC internal prototype to avoid an error.
12673 Use char because int might match the return type of a GCC
12674 builtin and then its argument prototype would still apply. */
12675 #ifdef __cplusplus
12676 extern "C"
12677 #endif
12678 char pcap_create ();
12680 main ()
12682 return pcap_create ();
12684 return 0;
12686 _ACEOF
12687 if ac_fn_c_try_link "$LINENO"; then :
12688 ac_cv_lib_pcap_pcap_create=yes
12689 else
12690 ac_cv_lib_pcap_pcap_create=no
12692 rm -f core conftest.err conftest.$ac_objext \
12693 conftest$ac_exeext conftest.$ac_ext
12694 LIBS=$ac_check_lib_save_LIBS
12696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
12697 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
12698 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
12699 PCAP_LIBS="-lpcap"
12704 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
12705 case "x$with_pcap" in
12706 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
12707 xno) ;;
12708 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
12709 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
12710 esac
12711 enable_wpcap=${enable_wpcap:-no}
12715 if test "x$with_xml" != "xno"
12716 then
12717 if ${XML2_CFLAGS:+false} :; then :
12718 if ${PKG_CONFIG+:} false; then :
12719 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12722 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
12723 if ${XML2_LIBS:+false} :; then :
12724 if ${PKG_CONFIG+:} false; then :
12725 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12728 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
12729 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
12730 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
12731 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
12732 ac_save_CPPFLAGS=$CPPFLAGS
12733 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
12734 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
12735 do :
12736 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12737 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12738 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12739 cat >>confdefs.h <<_ACEOF
12740 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12741 _ACEOF
12745 done
12747 if test "$ac_cv_header_libxml_parser_h" = "yes" -a "$ac_cv_header_libxml_xmlsave_h" = "yes" -a "$ac_cv_header_libxml_SAX2_h" = "yes"
12748 then
12749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
12750 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
12751 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
12752 $as_echo_n "(cached) " >&6
12753 else
12754 ac_check_lib_save_LIBS=$LIBS
12755 LIBS="-lxml2 $XML2_LIBS $LIBS"
12756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12757 /* end confdefs.h. */
12759 /* Override any GCC internal prototype to avoid an error.
12760 Use char because int might match the return type of a GCC
12761 builtin and then its argument prototype would still apply. */
12762 #ifdef __cplusplus
12763 extern "C"
12764 #endif
12765 char xmlParseMemory ();
12767 main ()
12769 return xmlParseMemory ();
12771 return 0;
12773 _ACEOF
12774 if ac_fn_c_try_link "$LINENO"; then :
12775 ac_cv_lib_xml2_xmlParseMemory=yes
12776 else
12777 ac_cv_lib_xml2_xmlParseMemory=no
12779 rm -f core conftest.err conftest.$ac_objext \
12780 conftest$ac_exeext conftest.$ac_ext
12781 LIBS=$ac_check_lib_save_LIBS
12783 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
12784 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
12785 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
12787 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
12789 else
12790 XML2_LIBS=""
12793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
12794 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
12795 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
12796 $as_echo_n "(cached) " >&6
12797 else
12798 ac_check_lib_save_LIBS=$LIBS
12799 LIBS="-lxml2 $XML2_LIBS $LIBS"
12800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12801 /* end confdefs.h. */
12803 /* Override any GCC internal prototype to avoid an error.
12804 Use char because int might match the return type of a GCC
12805 builtin and then its argument prototype would still apply. */
12806 #ifdef __cplusplus
12807 extern "C"
12808 #endif
12809 char xmlReadMemory ();
12811 main ()
12813 return xmlReadMemory ();
12815 return 0;
12817 _ACEOF
12818 if ac_fn_c_try_link "$LINENO"; then :
12819 ac_cv_lib_xml2_xmlReadMemory=yes
12820 else
12821 ac_cv_lib_xml2_xmlReadMemory=no
12823 rm -f core conftest.err conftest.$ac_objext \
12824 conftest$ac_exeext conftest.$ac_ext
12825 LIBS=$ac_check_lib_save_LIBS
12827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
12828 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
12829 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
12831 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
12835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
12836 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
12837 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
12838 $as_echo_n "(cached) " >&6
12839 else
12840 ac_check_lib_save_LIBS=$LIBS
12841 LIBS="-lxml2 $XML2_LIBS $LIBS"
12842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12843 /* end confdefs.h. */
12845 /* Override any GCC internal prototype to avoid an error.
12846 Use char because int might match the return type of a GCC
12847 builtin and then its argument prototype would still apply. */
12848 #ifdef __cplusplus
12849 extern "C"
12850 #endif
12851 char xmlNewDocPI ();
12853 main ()
12855 return xmlNewDocPI ();
12857 return 0;
12859 _ACEOF
12860 if ac_fn_c_try_link "$LINENO"; then :
12861 ac_cv_lib_xml2_xmlNewDocPI=yes
12862 else
12863 ac_cv_lib_xml2_xmlNewDocPI=no
12865 rm -f core conftest.err conftest.$ac_objext \
12866 conftest$ac_exeext conftest.$ac_ext
12867 LIBS=$ac_check_lib_save_LIBS
12869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
12870 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
12871 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
12873 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
12877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
12878 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
12879 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
12880 $as_echo_n "(cached) " >&6
12881 else
12882 ac_check_lib_save_LIBS=$LIBS
12883 LIBS="-lxml2 $XML2_LIBS $LIBS"
12884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12885 /* end confdefs.h. */
12887 /* Override any GCC internal prototype to avoid an error.
12888 Use char because int might match the return type of a GCC
12889 builtin and then its argument prototype would still apply. */
12890 #ifdef __cplusplus
12891 extern "C"
12892 #endif
12893 char xmlSchemaSetParserStructuredErrors ();
12895 main ()
12897 return xmlSchemaSetParserStructuredErrors ();
12899 return 0;
12901 _ACEOF
12902 if ac_fn_c_try_link "$LINENO"; then :
12903 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
12904 else
12905 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
12907 rm -f core conftest.err conftest.$ac_objext \
12908 conftest$ac_exeext conftest.$ac_ext
12909 LIBS=$ac_check_lib_save_LIBS
12911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
12912 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
12913 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
12915 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
12919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
12920 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
12921 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
12922 $as_echo_n "(cached) " >&6
12923 else
12924 ac_check_lib_save_LIBS=$LIBS
12925 LIBS="-lxml2 $XML2_LIBS $LIBS"
12926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12927 /* end confdefs.h. */
12929 /* Override any GCC internal prototype to avoid an error.
12930 Use char because int might match the return type of a GCC
12931 builtin and then its argument prototype would still apply. */
12932 #ifdef __cplusplus
12933 extern "C"
12934 #endif
12935 char xmlSchemaSetValidStructuredErrors ();
12937 main ()
12939 return xmlSchemaSetValidStructuredErrors ();
12941 return 0;
12943 _ACEOF
12944 if ac_fn_c_try_link "$LINENO"; then :
12945 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
12946 else
12947 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
12949 rm -f core conftest.err conftest.$ac_objext \
12950 conftest$ac_exeext conftest.$ac_ext
12951 LIBS=$ac_check_lib_save_LIBS
12953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
12954 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
12955 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
12957 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
12961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
12962 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
12963 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
12964 $as_echo_n "(cached) " >&6
12965 else
12966 ac_check_lib_save_LIBS=$LIBS
12967 LIBS="-lxml2 $XML2_LIBS $LIBS"
12968 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12969 /* end confdefs.h. */
12971 /* Override any GCC internal prototype to avoid an error.
12972 Use char because int might match the return type of a GCC
12973 builtin and then its argument prototype would still apply. */
12974 #ifdef __cplusplus
12975 extern "C"
12976 #endif
12977 char xmlFirstElementChild ();
12979 main ()
12981 return xmlFirstElementChild ();
12983 return 0;
12985 _ACEOF
12986 if ac_fn_c_try_link "$LINENO"; then :
12987 ac_cv_lib_xml2_xmlFirstElementChild=yes
12988 else
12989 ac_cv_lib_xml2_xmlFirstElementChild=no
12991 rm -f core conftest.err conftest.$ac_objext \
12992 conftest$ac_exeext conftest.$ac_ext
12993 LIBS=$ac_check_lib_save_LIBS
12995 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
12996 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
12997 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
12999 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
13003 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
13005 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
13007 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
13011 else
13012 XML2_CFLAGS=""
13013 XML2_LIBS=""
13015 CPPFLAGS=$ac_save_CPPFLAGS
13016 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13017 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13020 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
13021 case "x$with_xml" in
13022 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
13023 xno) ;;
13024 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
13025 This is an error since --with-xml was requested." "$LINENO" 5 ;;
13026 esac
13030 if test "x$with_xslt" != "xno"
13031 then
13032 if ${XSLT_CFLAGS:+false} :; then :
13033 if ${PKG_CONFIG+:} false; then :
13034 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
13037 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
13038 if ${XSLT_LIBS:+false} :; then :
13039 if ${PKG_CONFIG+:} false; then :
13040 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
13043 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
13044 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
13045 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
13046 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
13047 ac_save_CPPFLAGS=$CPPFLAGS
13048 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
13049 for ac_header in libxslt/pattern.h libxslt/transform.h
13050 do :
13051 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13052 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
13053 # include <libxslt/pattern.h>
13054 #endif
13056 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13057 cat >>confdefs.h <<_ACEOF
13058 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13059 _ACEOF
13063 done
13065 if test "$ac_cv_header_libxslt_transform_h" = "yes"
13066 then
13067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
13068 $as_echo_n "checking for -lxslt... " >&6; }
13069 if ${ac_cv_lib_soname_xslt+:} false; then :
13070 $as_echo_n "(cached) " >&6
13071 else
13072 ac_check_soname_save_LIBS=$LIBS
13073 LIBS="-lxslt $XSLT_LIBS $LIBS"
13074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13075 /* end confdefs.h. */
13077 /* Override any GCC internal prototype to avoid an error.
13078 Use char because int might match the return type of a GCC
13079 builtin and then its argument prototype would still apply. */
13080 #ifdef __cplusplus
13081 extern "C"
13082 #endif
13083 char xsltCompilePattern ();
13085 main ()
13087 return xsltCompilePattern ();
13089 return 0;
13091 _ACEOF
13092 if ac_fn_c_try_link "$LINENO"; then :
13093 case "$LIBEXT" in
13094 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13095 dylib) ac_cv_lib_soname_xslt=`$OTOOL -L conftest$ac_exeext | grep "libxslt\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libxslt\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
13096 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13097 if ${ac_cv_lib_soname_xslt:+false} :; then :
13098 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13099 fi ;;
13100 esac
13101 else
13102 ac_cv_lib_soname_xslt=
13104 rm -f core conftest.err conftest.$ac_objext \
13105 conftest$ac_exeext conftest.$ac_ext
13106 LIBS=$ac_check_soname_save_LIBS
13108 if ${ac_cv_lib_soname_xslt:+false} :; then :
13109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13110 $as_echo "not found" >&6; }
13112 else
13113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
13114 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
13116 cat >>confdefs.h <<_ACEOF
13117 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
13118 _ACEOF
13122 else
13123 XSLT_CFLAGS=""
13125 CPPFLAGS=$ac_save_CPPFLAGS
13126 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13127 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13130 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
13131 case "x$with_xslt" in
13132 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
13133 xno) ;;
13134 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
13135 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
13136 esac
13140 if test "x$with_inotify" != "xno"
13141 then
13142 if ${INOTIFY_CFLAGS:+false} :; then :
13143 if ${PKG_CONFIG+:} false; then :
13144 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>/dev/null`
13148 if ${INOTIFY_LIBS:+false} :; then :
13149 if ${PKG_CONFIG+:} false; then :
13150 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
13155 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
13156 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
13157 ac_save_CPPFLAGS=$CPPFLAGS
13158 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
13159 for ac_header in sys/inotify.h
13160 do :
13161 ac_fn_c_check_header_mongrel "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
13162 if test "x$ac_cv_header_sys_inotify_h" = xyes; then :
13163 cat >>confdefs.h <<_ACEOF
13164 #define HAVE_SYS_INOTIFY_H 1
13165 _ACEOF
13169 done
13171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
13172 $as_echo_n "checking for inotify_add_watch in -linotify... " >&6; }
13173 if ${ac_cv_lib_inotify_inotify_add_watch+:} false; then :
13174 $as_echo_n "(cached) " >&6
13175 else
13176 ac_check_lib_save_LIBS=$LIBS
13177 LIBS="-linotify $INOTIFY_LIBS $LIBS"
13178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13179 /* end confdefs.h. */
13181 /* Override any GCC internal prototype to avoid an error.
13182 Use char because int might match the return type of a GCC
13183 builtin and then its argument prototype would still apply. */
13184 #ifdef __cplusplus
13185 extern "C"
13186 #endif
13187 char inotify_add_watch ();
13189 main ()
13191 return inotify_add_watch ();
13193 return 0;
13195 _ACEOF
13196 if ac_fn_c_try_link "$LINENO"; then :
13197 ac_cv_lib_inotify_inotify_add_watch=yes
13198 else
13199 ac_cv_lib_inotify_inotify_add_watch=no
13201 rm -f core conftest.err conftest.$ac_objext \
13202 conftest$ac_exeext conftest.$ac_ext
13203 LIBS=$ac_check_lib_save_LIBS
13205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
13206 $as_echo "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
13207 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes; then :
13209 else
13210 INOTIFY_LIBS=""
13213 CPPFLAGS=$ac_save_CPPFLAGS
13214 test -z "$INOTIFY_CFLAGS" || INOTIFY_CFLAGS=`echo " $INOTIFY_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13215 test -z "$INOTIFY_LIBS" || INOTIFY_LIBS=`echo " $INOTIFY_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13218 if test "$ac_cv_header_sys_inotify_h" != "yes"; then :
13219 case "x$with_inotify" in
13220 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
13221 xno) ;;
13222 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
13223 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
13224 esac
13228 if test "x$with_dbus" != "xno"
13229 then
13230 if ${DBUS_CFLAGS:+false} :; then :
13231 if ${PKG_CONFIG+:} false; then :
13232 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
13236 if ${DBUS_LIBS:+false} :; then :
13237 if ${PKG_CONFIG+:} false; then :
13238 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
13243 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
13244 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
13245 ac_save_CPPFLAGS=$CPPFLAGS
13246 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
13247 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
13248 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
13249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
13250 $as_echo_n "checking for -ldbus-1... " >&6; }
13251 if ${ac_cv_lib_soname_dbus_1+:} false; then :
13252 $as_echo_n "(cached) " >&6
13253 else
13254 ac_check_soname_save_LIBS=$LIBS
13255 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
13256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13257 /* end confdefs.h. */
13259 /* Override any GCC internal prototype to avoid an error.
13260 Use char because int might match the return type of a GCC
13261 builtin and then its argument prototype would still apply. */
13262 #ifdef __cplusplus
13263 extern "C"
13264 #endif
13265 char dbus_connection_close ();
13267 main ()
13269 return dbus_connection_close ();
13271 return 0;
13273 _ACEOF
13274 if ac_fn_c_try_link "$LINENO"; then :
13275 case "$LIBEXT" in
13276 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13277 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'` ;;
13278 *) 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'`
13279 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13280 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13281 fi ;;
13282 esac
13283 else
13284 ac_cv_lib_soname_dbus_1=
13286 rm -f core conftest.err conftest.$ac_objext \
13287 conftest$ac_exeext conftest.$ac_ext
13288 LIBS=$ac_check_soname_save_LIBS
13290 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13292 $as_echo "not found" >&6; }
13293 DBUS_CFLAGS=""
13294 else
13295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
13296 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
13298 cat >>confdefs.h <<_ACEOF
13299 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
13300 _ACEOF
13304 else
13305 DBUS_CFLAGS=""
13309 CPPFLAGS=$ac_save_CPPFLAGS
13310 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13311 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13314 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
13315 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13316 case "x$with_dbus" in
13317 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
13318 xno) ;;
13319 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
13320 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
13321 esac
13325 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
13326 then
13327 if ${HAL_CFLAGS:+false} :; then :
13328 if ${PKG_CONFIG+:} false; then :
13329 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
13333 if ${HAL_LIBS:+false} :; then :
13334 if ${PKG_CONFIG+:} false; then :
13335 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
13339 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
13340 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
13341 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
13342 ac_save_CPPFLAGS=$CPPFLAGS
13343 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
13344 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
13345 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
13346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
13347 $as_echo_n "checking for -lhal... " >&6; }
13348 if ${ac_cv_lib_soname_hal+:} false; then :
13349 $as_echo_n "(cached) " >&6
13350 else
13351 ac_check_soname_save_LIBS=$LIBS
13352 LIBS="-lhal $HAL_LIBS $LIBS"
13353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13354 /* end confdefs.h. */
13356 /* Override any GCC internal prototype to avoid an error.
13357 Use char because int might match the return type of a GCC
13358 builtin and then its argument prototype would still apply. */
13359 #ifdef __cplusplus
13360 extern "C"
13361 #endif
13362 char libhal_ctx_new ();
13364 main ()
13366 return libhal_ctx_new ();
13368 return 0;
13370 _ACEOF
13371 if ac_fn_c_try_link "$LINENO"; then :
13372 case "$LIBEXT" in
13373 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13374 dylib) ac_cv_lib_soname_hal=`$OTOOL -L conftest$ac_exeext | grep "libhal\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libhal\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
13375 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13376 if ${ac_cv_lib_soname_hal:+false} :; then :
13377 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13378 fi ;;
13379 esac
13380 else
13381 ac_cv_lib_soname_hal=
13383 rm -f core conftest.err conftest.$ac_objext \
13384 conftest$ac_exeext conftest.$ac_ext
13385 LIBS=$ac_check_soname_save_LIBS
13387 if ${ac_cv_lib_soname_hal:+false} :; then :
13388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13389 $as_echo "not found" >&6; }
13390 HAL_CFLAGS=""
13391 else
13392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
13393 $as_echo "$ac_cv_lib_soname_hal" >&6; }
13395 cat >>confdefs.h <<_ACEOF
13396 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
13397 _ACEOF
13401 else
13402 HAL_CFLAGS=""
13406 CPPFLAGS=$ac_save_CPPFLAGS
13407 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13408 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13410 if test "x$ac_cv_lib_soname_hal" = "x" -a \
13411 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13412 case "x$with_hal" in
13413 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
13414 xno) ;;
13415 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
13416 This is an error since --with-hal was requested." "$LINENO" 5 ;;
13417 esac
13422 if test "x$with_gnutls" != "xno"
13423 then
13424 if ${GNUTLS_CFLAGS:+false} :; then :
13425 if ${PKG_CONFIG+:} false; then :
13426 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
13430 if ${GNUTLS_LIBS:+false} :; then :
13431 if ${PKG_CONFIG+:} false; then :
13432 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
13437 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
13438 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
13439 ac_save_CPPFLAGS=$CPPFLAGS
13440 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
13441 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
13442 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
13443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13444 /* end confdefs.h. */
13445 #include <gnutls/gnutls.h>
13446 #include <gnutls/crypto.h>
13448 main ()
13450 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
13452 return 0;
13454 _ACEOF
13455 if ac_fn_c_try_compile "$LINENO"; then :
13456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
13457 $as_echo_n "checking for -lgnutls... " >&6; }
13458 if ${ac_cv_lib_soname_gnutls+:} false; then :
13459 $as_echo_n "(cached) " >&6
13460 else
13461 ac_check_soname_save_LIBS=$LIBS
13462 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
13463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13464 /* end confdefs.h. */
13466 /* Override any GCC internal prototype to avoid an error.
13467 Use char because int might match the return type of a GCC
13468 builtin and then its argument prototype would still apply. */
13469 #ifdef __cplusplus
13470 extern "C"
13471 #endif
13472 char gnutls_global_init ();
13474 main ()
13476 return gnutls_global_init ();
13478 return 0;
13480 _ACEOF
13481 if ac_fn_c_try_link "$LINENO"; then :
13482 case "$LIBEXT" in
13483 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13484 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'` ;;
13485 *) 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'`
13486 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13487 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'`
13488 fi ;;
13489 esac
13490 else
13491 ac_cv_lib_soname_gnutls=
13493 rm -f core conftest.err conftest.$ac_objext \
13494 conftest$ac_exeext conftest.$ac_ext
13495 LIBS=$ac_check_soname_save_LIBS
13497 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13499 $as_echo "not found" >&6; }
13500 GNUTLS_CFLAGS=""
13501 else
13502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
13503 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
13505 cat >>confdefs.h <<_ACEOF
13506 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
13507 _ACEOF
13511 ac_wine_check_funcs_save_LIBS="$LIBS"
13512 LIBS="$LIBS $GNUTLS_LIBS"
13513 for ac_func in gnutls_cipher_init
13514 do :
13515 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
13516 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
13517 cat >>confdefs.h <<_ACEOF
13518 #define HAVE_GNUTLS_CIPHER_INIT 1
13519 _ACEOF
13521 else
13522 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
13524 done
13526 LIBS="$ac_wine_check_funcs_save_LIBS"
13528 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13529 else
13530 GNUTLS_CFLAGS=""
13534 CPPFLAGS=$ac_save_CPPFLAGS
13535 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13536 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13539 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
13540 case "x$with_gnutls" in
13541 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
13542 xno) ;;
13543 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
13544 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
13545 esac
13549 CURSES_LIBS=""
13550 if test "$ac_cv_header_ncurses_h" = "yes"
13551 then
13552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
13553 $as_echo_n "checking for -lncurses... " >&6; }
13554 if ${ac_cv_lib_soname_ncurses+:} false; then :
13555 $as_echo_n "(cached) " >&6
13556 else
13557 ac_check_soname_save_LIBS=$LIBS
13558 LIBS="-lncurses $LIBS"
13559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13560 /* end confdefs.h. */
13562 /* Override any GCC internal prototype to avoid an error.
13563 Use char because int might match the return type of a GCC
13564 builtin and then its argument prototype would still apply. */
13565 #ifdef __cplusplus
13566 extern "C"
13567 #endif
13568 char waddch ();
13570 main ()
13572 return waddch ();
13574 return 0;
13576 _ACEOF
13577 if ac_fn_c_try_link "$LINENO"; then :
13578 case "$LIBEXT" in
13579 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13580 dylib) ac_cv_lib_soname_ncurses=`$OTOOL -L conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libncursesw\\{0,1\\}\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
13581 *) ac_cv_lib_soname_ncurses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\\[\\(libncursesw\\{0,1\\}\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13582 if ${ac_cv_lib_soname_ncurses:+false} :; then :
13583 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13584 fi ;;
13585 esac
13586 else
13587 ac_cv_lib_soname_ncurses=
13589 rm -f core conftest.err conftest.$ac_objext \
13590 conftest$ac_exeext conftest.$ac_ext
13591 LIBS=$ac_check_soname_save_LIBS
13593 if ${ac_cv_lib_soname_ncurses:+false} :; then :
13594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13595 $as_echo "not found" >&6; }
13597 else
13598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
13599 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
13601 cat >>confdefs.h <<_ACEOF
13602 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
13603 _ACEOF
13605 CURSES_LIBS="-lncurses"
13607 elif test "$ac_cv_header_curses_h" = "yes"
13608 then
13609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
13610 $as_echo_n "checking for -lcurses... " >&6; }
13611 if ${ac_cv_lib_soname_curses+:} false; then :
13612 $as_echo_n "(cached) " >&6
13613 else
13614 ac_check_soname_save_LIBS=$LIBS
13615 LIBS="-lcurses $LIBS"
13616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13617 /* end confdefs.h. */
13619 /* Override any GCC internal prototype to avoid an error.
13620 Use char because int might match the return type of a GCC
13621 builtin and then its argument prototype would still apply. */
13622 #ifdef __cplusplus
13623 extern "C"
13624 #endif
13625 char waddch ();
13627 main ()
13629 return waddch ();
13631 return 0;
13633 _ACEOF
13634 if ac_fn_c_try_link "$LINENO"; then :
13635 case "$LIBEXT" in
13636 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13637 dylib) ac_cv_lib_soname_curses=`$OTOOL -L conftest$ac_exeext | grep "libcurses\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libcurses\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
13638 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13639 if ${ac_cv_lib_soname_curses:+false} :; then :
13640 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13641 fi ;;
13642 esac
13643 else
13644 ac_cv_lib_soname_curses=
13646 rm -f core conftest.err conftest.$ac_objext \
13647 conftest$ac_exeext conftest.$ac_ext
13648 LIBS=$ac_check_soname_save_LIBS
13650 if ${ac_cv_lib_soname_curses:+false} :; then :
13651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13652 $as_echo "not found" >&6; }
13654 else
13655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
13656 $as_echo "$ac_cv_lib_soname_curses" >&6; }
13658 cat >>confdefs.h <<_ACEOF
13659 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
13660 _ACEOF
13662 CURSES_LIBS="-lcurses"
13665 ac_save_LIBS="$LIBS"
13666 LIBS="$LIBS $CURSES_LIBS"
13667 for ac_func in mousemask
13668 do :
13669 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
13670 if test "x$ac_cv_func_mousemask" = xyes; then :
13671 cat >>confdefs.h <<_ACEOF
13672 #define HAVE_MOUSEMASK 1
13673 _ACEOF
13676 done
13678 LIBS="$ac_save_LIBS"
13679 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
13680 case "x$with_curses" in
13681 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
13682 xno) ;;
13683 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
13684 This is an error since --with-curses was requested." "$LINENO" 5 ;;
13685 esac
13689 if test "x$with_sane" != "xno"
13690 then
13691 if ${SANE_CFLAGS:+false} :; then :
13692 if ${PKG_CONFIG+:} false; then :
13693 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
13696 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
13697 if ${SANE_LIBS:+false} :; then :
13698 if ${PKG_CONFIG+:} false; then :
13699 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
13702 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
13704 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
13705 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
13706 ac_save_CPPFLAGS=$CPPFLAGS
13707 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
13708 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
13709 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
13710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
13711 $as_echo_n "checking for -lsane... " >&6; }
13712 if ${ac_cv_lib_soname_sane+:} false; then :
13713 $as_echo_n "(cached) " >&6
13714 else
13715 ac_check_soname_save_LIBS=$LIBS
13716 LIBS="-lsane $SANE_LIBS $LIBS"
13717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13718 /* end confdefs.h. */
13720 /* Override any GCC internal prototype to avoid an error.
13721 Use char because int might match the return type of a GCC
13722 builtin and then its argument prototype would still apply. */
13723 #ifdef __cplusplus
13724 extern "C"
13725 #endif
13726 char sane_init ();
13728 main ()
13730 return sane_init ();
13732 return 0;
13734 _ACEOF
13735 if ac_fn_c_try_link "$LINENO"; then :
13736 case "$LIBEXT" in
13737 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13738 dylib) ac_cv_lib_soname_sane=`$OTOOL -L conftest$ac_exeext | grep "libsane\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libsane\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
13739 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13740 if ${ac_cv_lib_soname_sane:+false} :; then :
13741 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13742 fi ;;
13743 esac
13744 else
13745 ac_cv_lib_soname_sane=
13747 rm -f core conftest.err conftest.$ac_objext \
13748 conftest$ac_exeext conftest.$ac_ext
13749 LIBS=$ac_check_soname_save_LIBS
13751 if ${ac_cv_lib_soname_sane:+false} :; then :
13752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13753 $as_echo "not found" >&6; }
13754 SANE_CFLAGS=""
13755 else
13756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
13757 $as_echo "$ac_cv_lib_soname_sane" >&6; }
13759 cat >>confdefs.h <<_ACEOF
13760 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
13761 _ACEOF
13765 else
13766 SANE_CFLAGS=""
13770 CPPFLAGS=$ac_save_CPPFLAGS
13771 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13772 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13775 if test "x$ac_cv_lib_soname_sane" = "x"; then :
13776 case "x$with_sane" in
13777 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
13778 xno) ;;
13779 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
13780 This is an error since --with-sane was requested." "$LINENO" 5 ;;
13781 esac
13785 if test "x$with_v4l2" != "xno"
13786 then
13787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
13788 $as_echo_n "checking for -lv4l2... " >&6; }
13789 if ${ac_cv_lib_soname_v4l2+:} false; then :
13790 $as_echo_n "(cached) " >&6
13791 else
13792 ac_check_soname_save_LIBS=$LIBS
13793 LIBS="-lv4l2 $LIBS"
13794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13795 /* end confdefs.h. */
13797 /* Override any GCC internal prototype to avoid an error.
13798 Use char because int might match the return type of a GCC
13799 builtin and then its argument prototype would still apply. */
13800 #ifdef __cplusplus
13801 extern "C"
13802 #endif
13803 char v4l2_open ();
13805 main ()
13807 return v4l2_open ();
13809 return 0;
13811 _ACEOF
13812 if ac_fn_c_try_link "$LINENO"; then :
13813 case "$LIBEXT" in
13814 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13815 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'` ;;
13816 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13817 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13818 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13819 fi ;;
13820 esac
13821 else
13822 ac_cv_lib_soname_v4l2=
13824 rm -f core conftest.err conftest.$ac_objext \
13825 conftest$ac_exeext conftest.$ac_ext
13826 LIBS=$ac_check_soname_save_LIBS
13828 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13830 $as_echo "not found" >&6; }
13832 else
13833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
13834 $as_echo "$ac_cv_lib_soname_v4l2" >&6; }
13836 cat >>confdefs.h <<_ACEOF
13837 #define SONAME_LIBV4L2 "$ac_cv_lib_soname_v4l2"
13838 _ACEOF
13843 if test "x$ac_cv_lib_soname_v4l2" = "x"; then :
13844 case "x$with_v4l2" in
13845 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
13846 xno) ;;
13847 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
13848 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
13849 esac
13853 if test "x$with_gphoto" != "xno"
13854 then
13855 if ${GPHOTO2_CFLAGS:+false} :; then :
13856 if ${PKG_CONFIG+:} false; then :
13857 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
13860 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
13861 if ${GPHOTO2_LIBS:+false} :; then :
13862 if ${PKG_CONFIG+:} false; then :
13863 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
13866 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
13867 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
13868 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
13869 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
13870 ac_save_CPPFLAGS=$CPPFLAGS
13871 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
13872 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
13873 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
13874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
13875 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
13876 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
13877 $as_echo_n "(cached) " >&6
13878 else
13879 ac_check_lib_save_LIBS=$LIBS
13880 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
13881 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13882 /* end confdefs.h. */
13884 /* Override any GCC internal prototype to avoid an error.
13885 Use char because int might match the return type of a GCC
13886 builtin and then its argument prototype would still apply. */
13887 #ifdef __cplusplus
13888 extern "C"
13889 #endif
13890 char gp_camera_new ();
13892 main ()
13894 return gp_camera_new ();
13896 return 0;
13898 _ACEOF
13899 if ac_fn_c_try_link "$LINENO"; then :
13900 ac_cv_lib_gphoto2_gp_camera_new=yes
13901 else
13902 ac_cv_lib_gphoto2_gp_camera_new=no
13904 rm -f core conftest.err conftest.$ac_objext \
13905 conftest$ac_exeext conftest.$ac_ext
13906 LIBS=$ac_check_lib_save_LIBS
13908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
13909 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
13910 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
13912 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
13914 else
13915 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
13918 else
13919 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
13923 CPPFLAGS=$ac_save_CPPFLAGS
13924 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13925 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13927 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
13928 if ${PKG_CONFIG+:} false; then :
13929 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
13932 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
13933 if ${GPHOTO2_PORT_LIBS:+false} :; then :
13934 if ${PKG_CONFIG+:} false; then :
13935 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
13938 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
13939 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
13940 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
13941 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
13942 ac_save_CPPFLAGS=$CPPFLAGS
13943 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
13944 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
13945 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
13946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
13947 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
13948 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
13949 $as_echo_n "(cached) " >&6
13950 else
13951 ac_check_lib_save_LIBS=$LIBS
13952 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
13953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13954 /* end confdefs.h. */
13956 /* Override any GCC internal prototype to avoid an error.
13957 Use char because int might match the return type of a GCC
13958 builtin and then its argument prototype would still apply. */
13959 #ifdef __cplusplus
13960 extern "C"
13961 #endif
13962 char gp_port_info_list_new ();
13964 main ()
13966 return gp_port_info_list_new ();
13968 return 0;
13970 _ACEOF
13971 if ac_fn_c_try_link "$LINENO"; then :
13972 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
13973 else
13974 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
13976 rm -f core conftest.err conftest.$ac_objext \
13977 conftest$ac_exeext conftest.$ac_ext
13978 LIBS=$ac_check_lib_save_LIBS
13980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
13981 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
13982 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
13984 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
13986 else
13987 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
13990 else
13991 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
13995 CPPFLAGS=$ac_save_CPPFLAGS
13996 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13997 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14000 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
14001 case "x$with_gphoto" in
14002 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
14003 xno) ;;
14004 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
14005 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14006 esac
14009 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
14010 case "x$with_gphoto" in
14011 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
14012 xno) ;;
14013 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
14014 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14015 esac
14020 if test "$ac_cv_header_resolv_h" = "yes"
14021 then
14022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
14023 $as_echo_n "checking for resolver library... " >&6; }
14024 if ${ac_cv_have_resolv+:} false; then :
14025 $as_echo_n "(cached) " >&6
14026 else
14027 ac_save_LIBS="$LIBS"
14028 for lib in '' -lresolv
14030 LIBS="$lib $ac_save_LIBS"
14031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14032 /* end confdefs.h. */
14033 #ifdef HAVE_NETINET_IN_H
14034 #include <netinet/in.h>
14035 #endif
14036 #include <resolv.h>
14038 main ()
14040 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
14042 return 0;
14044 _ACEOF
14045 if ac_fn_c_try_link "$LINENO"; then :
14046 ac_cv_have_resolv=${lib:-"none required"}
14047 else
14048 ac_cv_have_resolv="not found"
14050 rm -f core conftest.err conftest.$ac_objext \
14051 conftest$ac_exeext conftest.$ac_ext
14052 test "x$ac_cv_have_resolv" = "xnot found" || break
14053 done
14054 LIBS="$ac_save_LIBS"
14056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
14057 $as_echo "$ac_cv_have_resolv" >&6; }
14059 case "$ac_cv_have_resolv" in
14060 "not found") ;;
14061 "none required")
14063 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14066 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14068 RESOLV_LIBS=$ac_cv_have_resolv
14070 esac
14073 if test "x$with_cms" != "xno"
14074 then
14075 if ${LCMS2_CFLAGS:+false} :; then :
14076 if ${PKG_CONFIG+:} false; then :
14077 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
14081 if ${LCMS2_LIBS:+false} :; then :
14082 if ${PKG_CONFIG+:} false; then :
14083 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
14087 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
14088 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
14089 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
14090 ac_save_CPPFLAGS=$CPPFLAGS
14091 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
14092 for ac_header in lcms2.h
14093 do :
14094 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
14095 if test "x$ac_cv_header_lcms2_h" = xyes; then :
14096 cat >>confdefs.h <<_ACEOF
14097 #define HAVE_LCMS2_H 1
14098 _ACEOF
14102 done
14104 if test "$ac_cv_header_lcms2_h" = "yes"
14105 then
14106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
14107 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
14108 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
14109 $as_echo_n "(cached) " >&6
14110 else
14111 ac_check_lib_save_LIBS=$LIBS
14112 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
14113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14114 /* end confdefs.h. */
14116 /* Override any GCC internal prototype to avoid an error.
14117 Use char because int might match the return type of a GCC
14118 builtin and then its argument prototype would still apply. */
14119 #ifdef __cplusplus
14120 extern "C"
14121 #endif
14122 char cmsOpenProfileFromFile ();
14124 main ()
14126 return cmsOpenProfileFromFile ();
14128 return 0;
14130 _ACEOF
14131 if ac_fn_c_try_link "$LINENO"; then :
14132 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
14133 else
14134 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
14136 rm -f core conftest.err conftest.$ac_objext \
14137 conftest$ac_exeext conftest.$ac_ext
14138 LIBS=$ac_check_lib_save_LIBS
14140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
14141 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
14142 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
14144 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
14146 else
14147 LCMS2_LIBS=""
14150 else
14151 LCMS2_CFLAGS=""
14152 LCMS2_LIBS=""
14154 CPPFLAGS=$ac_save_CPPFLAGS
14155 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14156 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14159 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
14160 case "x$with_cms" in
14161 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
14162 xno) ;;
14163 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
14164 This is an error since --with-cms was requested." "$LINENO" 5 ;;
14165 esac
14169 if test "x$with_freetype" != "xno"
14170 then
14171 if ${FREETYPE_CFLAGS:+false} :; then :
14172 if ${PKG_CONFIG+:} false; then :
14173 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
14176 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
14177 if ${FREETYPE_LIBS:+false} :; then :
14178 if ${PKG_CONFIG+:} false; then :
14179 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
14182 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
14183 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
14184 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
14185 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
14186 ac_save_CPPFLAGS=$CPPFLAGS
14187 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
14188 for ac_header in ft2build.h
14189 do :
14190 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
14191 if test "x$ac_cv_header_ft2build_h" = xyes; then :
14192 cat >>confdefs.h <<_ACEOF
14193 #define HAVE_FT2BUILD_H 1
14194 _ACEOF
14198 done
14200 if test "$ac_cv_header_ft2build_h" = "yes"
14201 then
14202 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
14203 $as_echo_n "checking for -lfreetype... " >&6; }
14204 if ${ac_cv_lib_soname_freetype+:} false; then :
14205 $as_echo_n "(cached) " >&6
14206 else
14207 ac_check_soname_save_LIBS=$LIBS
14208 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
14209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14210 /* end confdefs.h. */
14212 /* Override any GCC internal prototype to avoid an error.
14213 Use char because int might match the return type of a GCC
14214 builtin and then its argument prototype would still apply. */
14215 #ifdef __cplusplus
14216 extern "C"
14217 #endif
14218 char FT_Init_FreeType ();
14220 main ()
14222 return FT_Init_FreeType ();
14224 return 0;
14226 _ACEOF
14227 if ac_fn_c_try_link "$LINENO"; then :
14228 case "$LIBEXT" in
14229 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14230 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'` ;;
14231 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14232 if ${ac_cv_lib_soname_freetype:+false} :; then :
14233 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14234 fi ;;
14235 esac
14236 else
14237 ac_cv_lib_soname_freetype=
14239 rm -f core conftest.err conftest.$ac_objext \
14240 conftest$ac_exeext conftest.$ac_ext
14241 LIBS=$ac_check_soname_save_LIBS
14243 if ${ac_cv_lib_soname_freetype:+false} :; then :
14244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14245 $as_echo "not found" >&6; }
14246 FREETYPE_LIBS=""
14247 else
14248 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
14249 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
14251 cat >>confdefs.h <<_ACEOF
14252 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
14253 _ACEOF
14256 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
14258 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
14259 #include FT_MODULE_H
14261 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
14263 cat >>confdefs.h <<_ACEOF
14264 #define HAVE_FT_TRUETYPEENGINETYPE 1
14265 _ACEOF
14271 else
14272 FREETYPE_CFLAGS=""
14273 FREETYPE_LIBS=""
14275 CPPFLAGS=$ac_save_CPPFLAGS
14276 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14277 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14280 if test "x$ac_cv_lib_soname_freetype" = x; then :
14281 case "x$with_freetype" in
14282 xno) ;;
14283 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
14284 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
14285 esac
14286 enable_fonts=${enable_fonts:-no}
14289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
14290 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
14291 if ${ac_cv_c_ppdev+:} false; then :
14292 $as_echo_n "(cached) " >&6
14293 else
14294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14295 /* end confdefs.h. */
14296 #ifdef HAVE_SYS_IOCTL_H
14297 # include <sys/ioctl.h>
14298 #endif
14299 #include <linux/ppdev.h>
14301 main ()
14303 ioctl (1,PPCLAIM,0)
14305 return 0;
14307 _ACEOF
14308 if ac_fn_c_try_compile "$LINENO"; then :
14309 ac_cv_c_ppdev="yes"
14310 else
14311 ac_cv_c_ppdev="no"
14313 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
14316 $as_echo "$ac_cv_c_ppdev" >&6; }
14317 if test "$ac_cv_c_ppdev" = "yes"
14318 then
14320 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
14324 ac_wine_check_funcs_save_LIBS="$LIBS"
14325 LIBS="$LIBS $PTHREAD_LIBS"
14326 for ac_func in \
14327 pthread_getthreadid_np
14328 do :
14329 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14330 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14331 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14332 cat >>confdefs.h <<_ACEOF
14333 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14334 _ACEOF
14337 done
14339 LIBS="$ac_wine_check_funcs_save_LIBS"
14341 if test "x$with_zlib" != "xno"
14342 then
14343 if ${Z_CFLAGS:+false} :; then :
14344 if ${PKG_CONFIG+:} false; then :
14345 Z_CFLAGS=`$PKG_CONFIG --cflags libz 2>/dev/null`
14349 if ${Z_LIBS:+false} :; then :
14350 if ${PKG_CONFIG+:} false; then :
14351 Z_LIBS=`$PKG_CONFIG --libs libz 2>/dev/null`
14355 Z_LIBS=${Z_LIBS:-"-lz"}
14356 $as_echo "$as_me:${as_lineno-$LINENO}: libz cflags: $Z_CFLAGS" >&5
14357 $as_echo "$as_me:${as_lineno-$LINENO}: libz libs: $Z_LIBS" >&5
14358 ac_save_CPPFLAGS=$CPPFLAGS
14359 CPPFLAGS="$CPPFLAGS $Z_CFLAGS"
14360 for ac_header in zlib.h
14361 do :
14362 ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
14363 if test "x$ac_cv_header_zlib_h" = xyes; then :
14364 cat >>confdefs.h <<_ACEOF
14365 #define HAVE_ZLIB_H 1
14366 _ACEOF
14367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
14368 $as_echo_n "checking for inflate in -lz... " >&6; }
14369 if ${ac_cv_lib_z_inflate+:} false; then :
14370 $as_echo_n "(cached) " >&6
14371 else
14372 ac_check_lib_save_LIBS=$LIBS
14373 LIBS="-lz $Z_LIBS $LIBS"
14374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14375 /* end confdefs.h. */
14377 /* Override any GCC internal prototype to avoid an error.
14378 Use char because int might match the return type of a GCC
14379 builtin and then its argument prototype would still apply. */
14380 #ifdef __cplusplus
14381 extern "C"
14382 #endif
14383 char inflate ();
14385 main ()
14387 return inflate ();
14389 return 0;
14391 _ACEOF
14392 if ac_fn_c_try_link "$LINENO"; then :
14393 ac_cv_lib_z_inflate=yes
14394 else
14395 ac_cv_lib_z_inflate=no
14397 rm -f core conftest.err conftest.$ac_objext \
14398 conftest$ac_exeext conftest.$ac_ext
14399 LIBS=$ac_check_lib_save_LIBS
14401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
14402 $as_echo "$ac_cv_lib_z_inflate" >&6; }
14403 if test "x$ac_cv_lib_z_inflate" = xyes; then :
14405 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
14407 else
14408 Z_LIBS=""
14411 else
14412 Z_LIBS=""
14415 done
14417 CPPFLAGS=$ac_save_CPPFLAGS
14418 test -z "$Z_CFLAGS" || Z_CFLAGS=`echo " $Z_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14419 test -z "$Z_LIBS" || Z_LIBS=`echo " $Z_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14422 if test "x$Z_LIBS" = "x"; then :
14423 case "x$with_zlib" in
14424 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
14425 xno) ;;
14426 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
14427 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
14428 esac
14432 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
14433 then
14434 if test "$ac_cv_header_gettext_po_h" = "yes"
14435 then
14436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
14437 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
14438 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
14439 $as_echo_n "(cached) " >&6
14440 else
14441 ac_check_lib_save_LIBS=$LIBS
14442 LIBS="-lgettextpo $LIBS"
14443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14444 /* end confdefs.h. */
14446 /* Override any GCC internal prototype to avoid an error.
14447 Use char because int might match the return type of a GCC
14448 builtin and then its argument prototype would still apply. */
14449 #ifdef __cplusplus
14450 extern "C"
14451 #endif
14452 char po_message_msgctxt ();
14454 main ()
14456 return po_message_msgctxt ();
14458 return 0;
14460 _ACEOF
14461 if ac_fn_c_try_link "$LINENO"; then :
14462 ac_cv_lib_gettextpo_po_message_msgctxt=yes
14463 else
14464 ac_cv_lib_gettextpo_po_message_msgctxt=no
14466 rm -f core conftest.err conftest.$ac_objext \
14467 conftest$ac_exeext conftest.$ac_ext
14468 LIBS=$ac_check_lib_save_LIBS
14470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
14471 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
14472 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
14474 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
14476 GETTEXTPO_LIBS="-lgettextpo"
14481 if test "x$GETTEXTPO_LIBS" = "x"; then :
14482 case "x$with_gettextpo" in
14483 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
14484 xno) ;;
14485 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
14486 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14487 esac
14490 if test "$srcdir" != .; then :
14491 case "x$with_gettextpo" in
14492 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
14493 xno) ;;
14494 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
14495 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14496 esac
14501 if test "x$with_pulse" != "xno";
14502 then
14503 if ${PULSE_CFLAGS:+false} :; then :
14504 if ${PKG_CONFIG+:} false; then :
14505 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
14509 if ${PULSE_LIBS:+false} :; then :
14510 if ${PKG_CONFIG+:} false; then :
14511 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
14516 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
14517 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
14518 ac_save_CPPFLAGS=$CPPFLAGS
14519 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
14520 for ac_header in pulse/pulseaudio.h
14521 do :
14522 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
14523 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
14524 cat >>confdefs.h <<_ACEOF
14525 #define HAVE_PULSE_PULSEAUDIO_H 1
14526 _ACEOF
14527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
14528 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
14529 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
14530 $as_echo_n "(cached) " >&6
14531 else
14532 ac_check_lib_save_LIBS=$LIBS
14533 LIBS="-lpulse $PULSE_LIBS $LIBS"
14534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14535 /* end confdefs.h. */
14537 /* Override any GCC internal prototype to avoid an error.
14538 Use char because int might match the return type of a GCC
14539 builtin and then its argument prototype would still apply. */
14540 #ifdef __cplusplus
14541 extern "C"
14542 #endif
14543 char pa_stream_is_corked ();
14545 main ()
14547 return pa_stream_is_corked ();
14549 return 0;
14551 _ACEOF
14552 if ac_fn_c_try_link "$LINENO"; then :
14553 ac_cv_lib_pulse_pa_stream_is_corked=yes
14554 else
14555 ac_cv_lib_pulse_pa_stream_is_corked=no
14557 rm -f core conftest.err conftest.$ac_objext \
14558 conftest$ac_exeext conftest.$ac_ext
14559 LIBS=$ac_check_lib_save_LIBS
14561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
14562 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
14563 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
14565 else
14566 PULSE_LIBS=""
14569 else
14570 PULSE_LIBS=""
14573 done
14575 CPPFLAGS=$ac_save_CPPFLAGS
14576 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14577 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14580 if test -z "$PULSE_LIBS"; then :
14581 case "x$with_pulse" in
14582 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
14583 xno) ;;
14584 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
14585 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
14586 esac
14587 enable_winepulse_drv=${enable_winepulse_drv:-no}
14590 if test "x$with_gstreamer" != "xno"
14591 then
14592 if ${GSTREAMER_CFLAGS:+false} :; then :
14593 if ${PKG_CONFIG+:} false; then :
14594 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14598 if ${GSTREAMER_LIBS:+false} :; then :
14599 if ${PKG_CONFIG+:} false; then :
14600 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14605 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
14606 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
14607 ac_save_CPPFLAGS=$CPPFLAGS
14608 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
14609 ac_gst_incl=""
14610 for i in $GSTREAMER_CFLAGS
14612 case "$i" in
14613 -I*) ac_gst_incl="$ac_gst_incl $i";;
14614 esac
14615 done
14616 GSTREAMER_CFLAGS=$ac_gst_incl
14617 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
14618 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
14619 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
14620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
14621 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
14622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14623 /* end confdefs.h. */
14624 #include <gst/gst.h>
14626 main ()
14628 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
14630 return 0;
14632 _ACEOF
14633 if ac_fn_c_try_compile "$LINENO"; then :
14634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14635 $as_echo "yes" >&6; }
14636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
14637 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
14638 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
14639 $as_echo_n "(cached) " >&6
14640 else
14641 ac_check_lib_save_LIBS=$LIBS
14642 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
14643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14644 /* end confdefs.h. */
14646 /* Override any GCC internal prototype to avoid an error.
14647 Use char because int might match the return type of a GCC
14648 builtin and then its argument prototype would still apply. */
14649 #ifdef __cplusplus
14650 extern "C"
14651 #endif
14652 char gst_pad_new ();
14654 main ()
14656 return gst_pad_new ();
14658 return 0;
14660 _ACEOF
14661 if ac_fn_c_try_link "$LINENO"; then :
14662 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
14663 else
14664 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
14666 rm -f core conftest.err conftest.$ac_objext \
14667 conftest$ac_exeext conftest.$ac_ext
14668 LIBS=$ac_check_lib_save_LIBS
14670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
14671 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
14672 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
14676 else
14677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14678 $as_echo "no" >&6; }
14679 ac_glib2_broken=yes
14680 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
14682 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14686 CPPFLAGS=$ac_save_CPPFLAGS
14687 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14688 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14691 if test "x$ac_glib2_broken" != xyes -a "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" != xyes -a "x$ac_cv_header_QuickTime_ImageCompression_h" != xyes ; then :
14692 case "x$with_gstreamer" in
14693 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
14694 xno) ;;
14695 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
14696 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
14697 esac
14700 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
14702 ALSA_LIBS=""
14704 if test "x$with_alsa" != "xno"
14705 then
14706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
14707 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
14708 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
14709 $as_echo_n "(cached) " >&6
14710 else
14711 ac_check_lib_save_LIBS=$LIBS
14712 LIBS="-lasound $LIBS"
14713 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14714 /* end confdefs.h. */
14716 /* Override any GCC internal prototype to avoid an error.
14717 Use char because int might match the return type of a GCC
14718 builtin and then its argument prototype would still apply. */
14719 #ifdef __cplusplus
14720 extern "C"
14721 #endif
14722 char snd_pcm_hw_params_get_access_mask ();
14724 main ()
14726 return snd_pcm_hw_params_get_access_mask ();
14728 return 0;
14730 _ACEOF
14731 if ac_fn_c_try_link "$LINENO"; then :
14732 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
14733 else
14734 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
14736 rm -f core conftest.err conftest.$ac_objext \
14737 conftest$ac_exeext conftest.$ac_ext
14738 LIBS=$ac_check_lib_save_LIBS
14740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
14741 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
14742 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
14743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14744 /* end confdefs.h. */
14745 #include <alsa/asoundlib.h>
14747 main ()
14749 snd_pcm_hw_params_get_access_mask(NULL, NULL)
14751 return 0;
14753 _ACEOF
14754 if ac_fn_c_try_compile "$LINENO"; then :
14755 ALSA_LIBS="-lasound"
14757 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14761 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
14763 if test "x$with_oss" != xno
14764 then
14765 ac_save_CPPFLAGS="$CPPFLAGS"
14766 if test -f /etc/oss.conf
14767 then
14768 . /etc/oss.conf
14770 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
14771 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
14772 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
14773 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
14774 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
14776 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
14778 cat >>confdefs.h <<_ACEOF
14779 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
14780 _ACEOF
14782 OSS4_CFLAGS="$ac_oss_incl"
14784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
14785 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
14786 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
14787 $as_echo_n "(cached) " >&6
14788 else
14789 ac_check_lib_save_LIBS=$LIBS
14790 LIBS="-lossaudio $LIBS"
14791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14792 /* end confdefs.h. */
14794 /* Override any GCC internal prototype to avoid an error.
14795 Use char because int might match the return type of a GCC
14796 builtin and then its argument prototype would still apply. */
14797 #ifdef __cplusplus
14798 extern "C"
14799 #endif
14800 char _oss_ioctl ();
14802 main ()
14804 return _oss_ioctl ();
14806 return 0;
14808 _ACEOF
14809 if ac_fn_c_try_link "$LINENO"; then :
14810 ac_cv_lib_ossaudio__oss_ioctl=yes
14811 else
14812 ac_cv_lib_ossaudio__oss_ioctl=no
14814 rm -f core conftest.err conftest.$ac_objext \
14815 conftest$ac_exeext conftest.$ac_ext
14816 LIBS=$ac_check_lib_save_LIBS
14818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
14819 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
14820 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
14821 OSS4_LIBS="-lossaudio"
14830 CPPFLAGS="$ac_save_CPPFLAGS"
14832 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
14833 case "x$with_oss" in
14834 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
14835 xno) ;;
14836 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
14837 This is an error since --with-oss was requested." "$LINENO" 5 ;;
14838 esac
14839 enable_wineoss_drv=${enable_wineoss_drv:-no}
14842 if test "x$with_udev" != "xno"
14843 then
14844 if ${UDEV_CFLAGS:+false} :; then :
14845 if ${PKG_CONFIG+:} false; then :
14846 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
14850 if ${UDEV_LIBS:+false} :; then :
14851 if ${PKG_CONFIG+:} false; then :
14852 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
14856 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
14857 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
14858 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
14859 ac_save_CPPFLAGS=$CPPFLAGS
14860 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
14861 for ac_header in libudev.h
14862 do :
14863 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
14864 if test "x$ac_cv_header_libudev_h" = xyes; then :
14865 cat >>confdefs.h <<_ACEOF
14866 #define HAVE_LIBUDEV_H 1
14867 _ACEOF
14868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
14869 $as_echo_n "checking for udev_new in -ludev... " >&6; }
14870 if ${ac_cv_lib_udev_udev_new+:} false; then :
14871 $as_echo_n "(cached) " >&6
14872 else
14873 ac_check_lib_save_LIBS=$LIBS
14874 LIBS="-ludev $UDEV_LIBS $LIBS"
14875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14876 /* end confdefs.h. */
14878 /* Override any GCC internal prototype to avoid an error.
14879 Use char because int might match the return type of a GCC
14880 builtin and then its argument prototype would still apply. */
14881 #ifdef __cplusplus
14882 extern "C"
14883 #endif
14884 char udev_new ();
14886 main ()
14888 return udev_new ();
14890 return 0;
14892 _ACEOF
14893 if ac_fn_c_try_link "$LINENO"; then :
14894 ac_cv_lib_udev_udev_new=yes
14895 else
14896 ac_cv_lib_udev_udev_new=no
14898 rm -f core conftest.err conftest.$ac_objext \
14899 conftest$ac_exeext conftest.$ac_ext
14900 LIBS=$ac_check_lib_save_LIBS
14902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
14903 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
14904 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
14906 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
14908 else
14909 UDEV_LIBS=""
14912 else
14913 UDEV_LIBS=""
14916 done
14918 CPPFLAGS=$ac_save_CPPFLAGS
14919 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14920 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14923 if test "x$UDEV_LIBS" = "x"; then :
14924 case "x$with_udev" in
14925 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
14926 xno) ;;
14927 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
14928 This is an error since --with-udev was requested." "$LINENO" 5 ;;
14929 esac
14933 if test "x$with_unwind" != xno
14934 then
14935 if ${UNWIND_CFLAGS:+false} :; then :
14936 if ${PKG_CONFIG+:} false; then :
14937 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>/dev/null`
14941 if ${UNWIND_LIBS:+false} :; then :
14942 if ${PKG_CONFIG+:} false; then :
14943 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
14947 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
14948 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
14949 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
14950 ac_save_CPPFLAGS=$CPPFLAGS
14951 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
14952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
14953 $as_echo_n "checking for unw_step... " >&6; }
14954 if ${wine_cv_have_unw_step+:} false; then :
14955 $as_echo_n "(cached) " >&6
14956 else
14957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14958 /* end confdefs.h. */
14959 #define UNW_LOCAL_ONLY
14960 #include <libunwind.h>
14962 main ()
14964 unw_cursor_t cursor; unw_step( &cursor );
14966 return 0;
14968 _ACEOF
14969 if ac_fn_c_try_link "$LINENO"; then :
14970 wine_cv_have_unw_step="yes"
14971 else
14972 wine_cv_have_unw_step="no"
14974 rm -f core conftest.err conftest.$ac_objext \
14975 conftest$ac_exeext conftest.$ac_ext
14977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
14978 $as_echo "$wine_cv_have_unw_step" >&6; }
14979 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
14980 then
14981 save_libs=$LIBS
14982 LIBS="$UNWIND_LIBS $LIBS"
14983 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
14984 $as_echo_n "checking for unw_step in libunwind... " >&6; }
14985 if ${wine_cv_have_libunwind_unw_step+:} false; then :
14986 $as_echo_n "(cached) " >&6
14987 else
14988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14989 /* end confdefs.h. */
14990 #define UNW_LOCAL_ONLY
14991 #include <libunwind.h>
14993 main ()
14995 unw_cursor_t cursor; unw_step( &cursor );
14997 return 0;
14999 _ACEOF
15000 if ac_fn_c_try_link "$LINENO"; then :
15001 wine_cv_have_libunwind_unw_step="yes"
15002 else
15003 wine_cv_have_libunwind_unw_step="no"
15005 rm -f core conftest.err conftest.$ac_objext \
15006 conftest$ac_exeext conftest.$ac_ext
15008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
15009 $as_echo "$wine_cv_have_libunwind_unw_step" >&6; }
15010 LIBS=$save_libs
15012 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
15013 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
15014 then
15016 $as_echo "#define HAVE_LIBUNWIND 1" >>confdefs.h
15019 CPPFLAGS=$ac_save_CPPFLAGS
15020 test -z "$UNWIND_CFLAGS" || UNWIND_CFLAGS=`echo " $UNWIND_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15021 test -z "$UNWIND_LIBS" || UNWIND_LIBS=`echo " $UNWIND_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15024 case $host in
15025 aarch64*|*-darwin*)
15026 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono; then :
15027 case "x$with_unwind" in
15028 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
15029 xno) ;;
15030 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
15031 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
15032 esac
15034 fi ;;
15035 esac
15037 if test "x$with_sdl" != "xno"
15038 then
15039 if ${SDL2_CFLAGS:+false} :; then :
15040 if ${PKG_CONFIG+:} false; then :
15041 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
15045 if ${SDL2_LIBS:+false} :; then :
15046 if ${PKG_CONFIG+:} false; then :
15047 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
15051 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
15052 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
15053 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
15054 ac_save_CPPFLAGS=$CPPFLAGS
15055 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
15056 for ac_header in SDL2/SDL.h
15057 do :
15058 ac_fn_c_check_header_mongrel "$LINENO" "SDL2/SDL.h" "ac_cv_header_SDL2_SDL_h" "$ac_includes_default"
15059 if test "x$ac_cv_header_SDL2_SDL_h" = xyes; then :
15060 cat >>confdefs.h <<_ACEOF
15061 #define HAVE_SDL2_SDL_H 1
15062 _ACEOF
15063 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
15064 $as_echo_n "checking for -lSDL2... " >&6; }
15065 if ${ac_cv_lib_soname_SDL2+:} false; then :
15066 $as_echo_n "(cached) " >&6
15067 else
15068 ac_check_soname_save_LIBS=$LIBS
15069 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
15070 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15071 /* end confdefs.h. */
15073 /* Override any GCC internal prototype to avoid an error.
15074 Use char because int might match the return type of a GCC
15075 builtin and then its argument prototype would still apply. */
15076 #ifdef __cplusplus
15077 extern "C"
15078 #endif
15079 char SDL_Init ();
15081 main ()
15083 return SDL_Init ();
15085 return 0;
15087 _ACEOF
15088 if ac_fn_c_try_link "$LINENO"; then :
15089 case "$LIBEXT" in
15090 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15091 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'` ;;
15092 *) 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'`
15093 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15094 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15095 fi ;;
15096 esac
15097 else
15098 ac_cv_lib_soname_SDL2=
15100 rm -f core conftest.err conftest.$ac_objext \
15101 conftest$ac_exeext conftest.$ac_ext
15102 LIBS=$ac_check_soname_save_LIBS
15104 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15106 $as_echo "not found" >&6; }
15108 else
15109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
15110 $as_echo "$ac_cv_lib_soname_SDL2" >&6; }
15112 cat >>confdefs.h <<_ACEOF
15113 #define SONAME_LIBSDL2 "$ac_cv_lib_soname_SDL2"
15114 _ACEOF
15120 done
15122 CPPFLAGS=$ac_save_CPPFLAGS
15123 test -z "$SDL2_CFLAGS" || SDL2_CFLAGS=`echo " $SDL2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15124 test -z "$SDL2_LIBS" || SDL2_LIBS=`echo " $SDL2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15127 if test "x$ac_cv_lib_soname_SDL2" = "x"; then :
15128 case "x$with_sdl" in
15129 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
15130 xno) ;;
15131 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
15132 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
15133 esac
15137 if test "x$with_faudio" != "xno"
15138 then
15139 if ${FAUDIO_CFLAGS:+false} :; then :
15140 if ${PKG_CONFIG+:} false; then :
15141 FAUDIO_CFLAGS=`$PKG_CONFIG --cflags faudio 2>/dev/null`
15145 if ${FAUDIO_LIBS:+false} :; then :
15146 if ${PKG_CONFIG+:} false; then :
15147 FAUDIO_LIBS=`$PKG_CONFIG --libs faudio 2>/dev/null`
15151 FAUDIO_LIBS=${FAUDIO_LIBS:-"-lFAudio"}
15152 $as_echo "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_CFLAGS" >&5
15153 $as_echo "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_LIBS" >&5
15154 ac_save_CPPFLAGS=$CPPFLAGS
15155 CPPFLAGS="$CPPFLAGS $FAUDIO_CFLAGS"
15156 for ac_header in FAudio.h
15157 do :
15158 ac_fn_c_check_header_mongrel "$LINENO" "FAudio.h" "ac_cv_header_FAudio_h" "$ac_includes_default"
15159 if test "x$ac_cv_header_FAudio_h" = xyes; then :
15160 cat >>confdefs.h <<_ACEOF
15161 #define HAVE_FAUDIO_H 1
15162 _ACEOF
15163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lFAudio" >&5
15164 $as_echo_n "checking for -lFAudio... " >&6; }
15165 if ${ac_cv_lib_soname_FAudio+:} false; then :
15166 $as_echo_n "(cached) " >&6
15167 else
15168 ac_check_soname_save_LIBS=$LIBS
15169 LIBS="-lFAudio $FAUDIO_LIBS $LIBS"
15170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15171 /* end confdefs.h. */
15173 /* Override any GCC internal prototype to avoid an error.
15174 Use char because int might match the return type of a GCC
15175 builtin and then its argument prototype would still apply. */
15176 #ifdef __cplusplus
15177 extern "C"
15178 #endif
15179 char FAudioCreate ();
15181 main ()
15183 return FAudioCreate ();
15185 return 0;
15187 _ACEOF
15188 if ac_fn_c_try_link "$LINENO"; then :
15189 case "$LIBEXT" in
15190 dll) ac_cv_lib_soname_FAudio=`$ac_cv_path_LDD conftest.exe | grep "FAudio" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15191 dylib) ac_cv_lib_soname_FAudio=`$OTOOL -L conftest$ac_exeext | grep "libFAudio*\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libFAudio*\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
15192 *) ac_cv_lib_soname_FAudio=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libFAudio*\\.$LIBEXT" | sed -e "s/^.*\\[\\(libFAudio*\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15193 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15194 ac_cv_lib_soname_FAudio=`$LDD conftest$ac_exeext | grep "libFAudio*\\.$LIBEXT" | sed -e "s/^.*\(libFAudio*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15195 fi ;;
15196 esac
15197 else
15198 ac_cv_lib_soname_FAudio=
15200 rm -f core conftest.err conftest.$ac_objext \
15201 conftest$ac_exeext conftest.$ac_ext
15202 LIBS=$ac_check_soname_save_LIBS
15204 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15206 $as_echo "not found" >&6; }
15208 else
15209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_FAudio" >&5
15210 $as_echo "$ac_cv_lib_soname_FAudio" >&6; }
15212 cat >>confdefs.h <<_ACEOF
15213 #define SONAME_LIBFAUDIO "$ac_cv_lib_soname_FAudio"
15214 _ACEOF
15220 done
15222 ac_wine_check_funcs_save_LIBS="$LIBS"
15223 LIBS="$LIBS $FAUDIO_LIBS"
15224 for ac_func in FAudio_CommitOperationSet \
15225 F3DAudioInitialize8
15226 do :
15227 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15228 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15229 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15230 cat >>confdefs.h <<_ACEOF
15231 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15232 _ACEOF
15235 done
15237 LIBS="$ac_wine_check_funcs_save_LIBS"
15239 CPPFLAGS=$ac_save_CPPFLAGS
15240 test -z "$FAUDIO_CFLAGS" || FAUDIO_CFLAGS=`echo " $FAUDIO_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15241 test -z "$FAUDIO_LIBS" || FAUDIO_LIBS=`echo " $FAUDIO_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15244 if test "x$ac_cv_lib_soname_FAudio" = "x"; then :
15245 case "x$with_faudio" in
15246 x) as_fn_append wine_notices "|libFAudio ${notice_platform}development files not found, XAudio2 won't be supported." ;;
15247 xno) ;;
15248 *) as_fn_error $? "libFAudio ${notice_platform}development files not found, XAudio2 won't be supported.
15249 This is an error since --with-faudio was requested." "$LINENO" 5 ;;
15250 esac
15254 if test "x$with_capi" != "xno"
15255 then
15256 if ${CAPI20_CFLAGS:+false} :; then :
15257 if ${PKG_CONFIG+:} false; then :
15258 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
15262 if ${CAPI20_LIBS:+false} :; then :
15263 if ${PKG_CONFIG+:} false; then :
15264 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
15269 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
15270 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
15271 ac_save_CPPFLAGS=$CPPFLAGS
15272 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
15273 for ac_header in capi20.h linux/capi.h
15274 do :
15275 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15276 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
15278 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15279 cat >>confdefs.h <<_ACEOF
15280 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15281 _ACEOF
15285 done
15287 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
15288 then
15289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
15290 $as_echo_n "checking for -lcapi20... " >&6; }
15291 if ${ac_cv_lib_soname_capi20+:} false; then :
15292 $as_echo_n "(cached) " >&6
15293 else
15294 ac_check_soname_save_LIBS=$LIBS
15295 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
15296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15297 /* end confdefs.h. */
15299 /* Override any GCC internal prototype to avoid an error.
15300 Use char because int might match the return type of a GCC
15301 builtin and then its argument prototype would still apply. */
15302 #ifdef __cplusplus
15303 extern "C"
15304 #endif
15305 char capi20_register ();
15307 main ()
15309 return capi20_register ();
15311 return 0;
15313 _ACEOF
15314 if ac_fn_c_try_link "$LINENO"; then :
15315 case "$LIBEXT" in
15316 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15317 dylib) ac_cv_lib_soname_capi20=`$OTOOL -L conftest$ac_exeext | grep "libcapi20\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libcapi20\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
15318 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15319 if ${ac_cv_lib_soname_capi20:+false} :; then :
15320 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15321 fi ;;
15322 esac
15323 else
15324 ac_cv_lib_soname_capi20=
15326 rm -f core conftest.err conftest.$ac_objext \
15327 conftest$ac_exeext conftest.$ac_ext
15328 LIBS=$ac_check_soname_save_LIBS
15330 if ${ac_cv_lib_soname_capi20:+false} :; then :
15331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15332 $as_echo "not found" >&6; }
15334 else
15335 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
15336 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
15338 cat >>confdefs.h <<_ACEOF
15339 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
15340 _ACEOF
15345 CPPFLAGS=$ac_save_CPPFLAGS
15346 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15347 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15350 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
15351 case "x$with_capi" in
15352 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
15353 xno) ;;
15354 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
15355 This is an error since --with-capi was requested." "$LINENO" 5 ;;
15356 esac
15360 if test "x$with_cups" != "xno"
15361 then
15362 if ${CUPS_CFLAGS:+false} :; then :
15363 if ${PKG_CONFIG+:} false; then :
15364 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
15367 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
15368 if ${CUPS_LIBS:+false} :; then :
15369 if ${PKG_CONFIG+:} false; then :
15370 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
15373 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
15374 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
15375 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
15376 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
15377 ac_save_CPPFLAGS=$CPPFLAGS
15378 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
15379 for ac_header in cups/cups.h cups/ppd.h
15380 do :
15381 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15382 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15383 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15384 cat >>confdefs.h <<_ACEOF
15385 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15386 _ACEOF
15390 done
15392 if test "$ac_cv_header_cups_cups_h" = "yes"
15393 then
15394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
15395 $as_echo_n "checking for -lcups... " >&6; }
15396 if ${ac_cv_lib_soname_cups+:} false; then :
15397 $as_echo_n "(cached) " >&6
15398 else
15399 ac_check_soname_save_LIBS=$LIBS
15400 LIBS="-lcups $CUPS_LIBS $LIBS"
15401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15402 /* end confdefs.h. */
15404 /* Override any GCC internal prototype to avoid an error.
15405 Use char because int might match the return type of a GCC
15406 builtin and then its argument prototype would still apply. */
15407 #ifdef __cplusplus
15408 extern "C"
15409 #endif
15410 char cupsGetDefault ();
15412 main ()
15414 return cupsGetDefault ();
15416 return 0;
15418 _ACEOF
15419 if ac_fn_c_try_link "$LINENO"; then :
15420 case "$LIBEXT" in
15421 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15422 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'` ;;
15423 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15424 if ${ac_cv_lib_soname_cups:+false} :; then :
15425 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15426 fi ;;
15427 esac
15428 else
15429 ac_cv_lib_soname_cups=
15431 rm -f core conftest.err conftest.$ac_objext \
15432 conftest$ac_exeext conftest.$ac_ext
15433 LIBS=$ac_check_soname_save_LIBS
15435 if ${ac_cv_lib_soname_cups:+false} :; then :
15436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15437 $as_echo "not found" >&6; }
15438 CUPS_LIBS=""
15439 else
15440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
15441 $as_echo "$ac_cv_lib_soname_cups" >&6; }
15443 cat >>confdefs.h <<_ACEOF
15444 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15445 _ACEOF
15449 else
15450 CUPS_CFLAGS=""
15451 CUPS_LIBS=""
15453 CPPFLAGS=$ac_save_CPPFLAGS
15454 test -z "$CUPS_CFLAGS" || CUPS_CFLAGS=`echo " $CUPS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15455 test -z "$CUPS_LIBS" || CUPS_LIBS=`echo " $CUPS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15458 if test "x$ac_cv_lib_soname_cups" = "x"; then :
15459 case "x$with_cups" in
15460 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
15461 xno) ;;
15462 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
15463 This is an error since --with-cups was requested." "$LINENO" 5 ;;
15464 esac
15468 if test "x$with_fontconfig" != "xno"
15469 then
15470 if ${FONTCONFIG_CFLAGS:+false} :; then :
15471 if ${PKG_CONFIG+:} false; then :
15472 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
15475 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
15476 if ${FONTCONFIG_LIBS:+false} :; then :
15477 if ${PKG_CONFIG+:} false; then :
15478 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
15481 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
15483 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
15484 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
15485 ac_save_CPPFLAGS=$CPPFLAGS
15486 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
15487 for ac_header in fontconfig/fontconfig.h
15488 do :
15489 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
15490 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
15491 cat >>confdefs.h <<_ACEOF
15492 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
15493 _ACEOF
15497 done
15499 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15500 then
15501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
15502 $as_echo_n "checking for -lfontconfig... " >&6; }
15503 if ${ac_cv_lib_soname_fontconfig+:} false; then :
15504 $as_echo_n "(cached) " >&6
15505 else
15506 ac_check_soname_save_LIBS=$LIBS
15507 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
15508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15509 /* end confdefs.h. */
15511 /* Override any GCC internal prototype to avoid an error.
15512 Use char because int might match the return type of a GCC
15513 builtin and then its argument prototype would still apply. */
15514 #ifdef __cplusplus
15515 extern "C"
15516 #endif
15517 char FcInit ();
15519 main ()
15521 return FcInit ();
15523 return 0;
15525 _ACEOF
15526 if ac_fn_c_try_link "$LINENO"; then :
15527 case "$LIBEXT" in
15528 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15529 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'` ;;
15530 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15531 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15532 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15533 fi ;;
15534 esac
15535 else
15536 ac_cv_lib_soname_fontconfig=
15538 rm -f core conftest.err conftest.$ac_objext \
15539 conftest$ac_exeext conftest.$ac_ext
15540 LIBS=$ac_check_soname_save_LIBS
15542 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15544 $as_echo "not found" >&6; }
15545 FONTCONFIG_CFLAGS=""
15546 else
15547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
15548 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
15550 cat >>confdefs.h <<_ACEOF
15551 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15552 _ACEOF
15556 else
15557 FONTCONFIG_CFLAGS=""
15559 CPPFLAGS=$ac_save_CPPFLAGS
15560 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15561 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15564 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
15565 case "x$with_fontconfig" in
15566 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
15567 xno) ;;
15568 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
15569 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
15570 esac
15574 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
15575 then
15576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
15577 $as_echo_n "checking for -lgsm... " >&6; }
15578 if ${ac_cv_lib_soname_gsm+:} false; then :
15579 $as_echo_n "(cached) " >&6
15580 else
15581 ac_check_soname_save_LIBS=$LIBS
15582 LIBS="-lgsm $LIBS"
15583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15584 /* end confdefs.h. */
15586 /* Override any GCC internal prototype to avoid an error.
15587 Use char because int might match the return type of a GCC
15588 builtin and then its argument prototype would still apply. */
15589 #ifdef __cplusplus
15590 extern "C"
15591 #endif
15592 char gsm_create ();
15594 main ()
15596 return gsm_create ();
15598 return 0;
15600 _ACEOF
15601 if ac_fn_c_try_link "$LINENO"; then :
15602 case "$LIBEXT" in
15603 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15604 dylib) ac_cv_lib_soname_gsm=`$OTOOL -L conftest$ac_exeext | grep "libgsm\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libgsm\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
15605 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15606 if ${ac_cv_lib_soname_gsm:+false} :; then :
15607 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15608 fi ;;
15609 esac
15610 else
15611 ac_cv_lib_soname_gsm=
15613 rm -f core conftest.err conftest.$ac_objext \
15614 conftest$ac_exeext conftest.$ac_ext
15615 LIBS=$ac_check_soname_save_LIBS
15617 if ${ac_cv_lib_soname_gsm:+false} :; then :
15618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15619 $as_echo "not found" >&6; }
15621 else
15622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
15623 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
15625 cat >>confdefs.h <<_ACEOF
15626 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
15627 _ACEOF
15632 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
15633 case "x$with_gsm" in
15634 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
15635 xno) ;;
15636 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
15637 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
15638 esac
15642 if test "x$with_krb5" != "xno"
15643 then
15644 if ${KRB5_CFLAGS:+false} :; then :
15645 if ${PKG_CONFIG+:} false; then :
15646 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
15649 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
15650 if ${KRB5_LIBS:+false} :; then :
15651 if ${PKG_CONFIG+:} false; then :
15652 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
15655 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
15657 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
15658 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
15659 ac_save_CPPFLAGS=$CPPFLAGS
15660 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
15661 for ac_header in krb5/krb5.h
15662 do :
15663 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
15664 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
15665 cat >>confdefs.h <<_ACEOF
15666 #define HAVE_KRB5_KRB5_H 1
15667 _ACEOF
15671 done
15673 if test "$ac_cv_header_krb5_krb5_h" = "yes"
15674 then
15675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
15676 $as_echo_n "checking for -lkrb5... " >&6; }
15677 if ${ac_cv_lib_soname_krb5+:} false; then :
15678 $as_echo_n "(cached) " >&6
15679 else
15680 ac_check_soname_save_LIBS=$LIBS
15681 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
15682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15683 /* end confdefs.h. */
15685 /* Override any GCC internal prototype to avoid an error.
15686 Use char because int might match the return type of a GCC
15687 builtin and then its argument prototype would still apply. */
15688 #ifdef __cplusplus
15689 extern "C"
15690 #endif
15691 char krb5_is_config_principal ();
15693 main ()
15695 return krb5_is_config_principal ();
15697 return 0;
15699 _ACEOF
15700 if ac_fn_c_try_link "$LINENO"; then :
15701 case "$LIBEXT" in
15702 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15703 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'` ;;
15704 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15705 if ${ac_cv_lib_soname_krb5:+false} :; then :
15706 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15707 fi ;;
15708 esac
15709 else
15710 ac_cv_lib_soname_krb5=
15712 rm -f core conftest.err conftest.$ac_objext \
15713 conftest$ac_exeext conftest.$ac_ext
15714 LIBS=$ac_check_soname_save_LIBS
15716 if ${ac_cv_lib_soname_krb5:+false} :; then :
15717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15718 $as_echo "not found" >&6; }
15719 KRB5_CFLAGS=""
15720 else
15721 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
15722 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
15724 cat >>confdefs.h <<_ACEOF
15725 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
15726 _ACEOF
15730 else
15731 KRB5_CFLAGS=""
15733 CPPFLAGS=$ac_save_CPPFLAGS
15734 test -z "$KRB5_CFLAGS" || KRB5_CFLAGS=`echo " $KRB5_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15735 test -z "$KRB5_LIBS" || KRB5_LIBS=`echo " $KRB5_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15737 else
15738 with_gssapi=${with_gssapi:-no}
15740 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
15741 case "x$with_krb5" in
15742 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
15743 xno) ;;
15744 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
15745 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
15746 esac
15750 if test "x$with_gssapi" != "xno"
15751 then
15752 if ${GSSAPI_CFLAGS:+false} :; then :
15753 if ${PKG_CONFIG+:} false; then :
15754 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
15757 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
15758 if ${GSSAPI_LIBS:+false} :; then :
15759 if ${PKG_CONFIG+:} false; then :
15760 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
15763 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
15765 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
15766 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
15767 ac_save_CPPFLAGS=$CPPFLAGS
15768 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
15769 for ac_header in gssapi/gssapi.h gssapi/gssapi_ext.h
15770 do :
15771 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15772 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15773 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15774 cat >>confdefs.h <<_ACEOF
15775 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15776 _ACEOF
15780 done
15782 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
15783 then
15784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
15785 $as_echo_n "checking for -lgssapi_krb5... " >&6; }
15786 if ${ac_cv_lib_soname_gssapi_krb5+:} false; then :
15787 $as_echo_n "(cached) " >&6
15788 else
15789 ac_check_soname_save_LIBS=$LIBS
15790 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
15791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15792 /* end confdefs.h. */
15794 /* Override any GCC internal prototype to avoid an error.
15795 Use char because int might match the return type of a GCC
15796 builtin and then its argument prototype would still apply. */
15797 #ifdef __cplusplus
15798 extern "C"
15799 #endif
15800 char gss_init_sec_context ();
15802 main ()
15804 return gss_init_sec_context ();
15806 return 0;
15808 _ACEOF
15809 if ac_fn_c_try_link "$LINENO"; then :
15810 case "$LIBEXT" in
15811 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15812 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'` ;;
15813 *) 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'`
15814 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15815 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15816 fi ;;
15817 esac
15818 else
15819 ac_cv_lib_soname_gssapi_krb5=
15821 rm -f core conftest.err conftest.$ac_objext \
15822 conftest$ac_exeext conftest.$ac_ext
15823 LIBS=$ac_check_soname_save_LIBS
15825 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15827 $as_echo "not found" >&6; }
15828 GSSAPI_CFLAGS=""
15829 else
15830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
15831 $as_echo "$ac_cv_lib_soname_gssapi_krb5" >&6; }
15833 cat >>confdefs.h <<_ACEOF
15834 #define SONAME_LIBGSSAPI_KRB5 "$ac_cv_lib_soname_gssapi_krb5"
15835 _ACEOF
15839 else
15840 GSSAPI_CFLAGS=""
15842 CPPFLAGS=$ac_save_CPPFLAGS
15843 test -z "$GSSAPI_CFLAGS" || GSSAPI_CFLAGS=`echo " $GSSAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15844 test -z "$GSSAPI_LIBS" || GSSAPI_LIBS=`echo " $GSSAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15847 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"; then :
15848 case "x$with_gssapi" in
15849 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
15850 xno) ;;
15851 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
15852 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
15853 esac
15857 if test "x$with_jpeg" != "xno"
15858 then
15859 if ${JPEG_CFLAGS:+false} :; then :
15860 if ${PKG_CONFIG+:} false; then :
15861 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
15865 if ${JPEG_LIBS:+false} :; then :
15866 if ${PKG_CONFIG+:} false; then :
15867 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
15872 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
15873 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
15874 ac_save_CPPFLAGS=$CPPFLAGS
15875 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
15876 for ac_header in jpeglib.h
15877 do :
15878 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
15879 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
15880 cat >>confdefs.h <<_ACEOF
15881 #define HAVE_JPEGLIB_H 1
15882 _ACEOF
15886 done
15888 if test "$ac_cv_header_jpeglib_h" = "yes"
15889 then
15890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
15891 $as_echo_n "checking for -ljpeg... " >&6; }
15892 if ${ac_cv_lib_soname_jpeg+:} false; then :
15893 $as_echo_n "(cached) " >&6
15894 else
15895 ac_check_soname_save_LIBS=$LIBS
15896 LIBS="-ljpeg $JPEG_LIBS $LIBS"
15897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15898 /* end confdefs.h. */
15900 /* Override any GCC internal prototype to avoid an error.
15901 Use char because int might match the return type of a GCC
15902 builtin and then its argument prototype would still apply. */
15903 #ifdef __cplusplus
15904 extern "C"
15905 #endif
15906 char jpeg_start_decompress ();
15908 main ()
15910 return jpeg_start_decompress ();
15912 return 0;
15914 _ACEOF
15915 if ac_fn_c_try_link "$LINENO"; then :
15916 case "$LIBEXT" in
15917 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15918 dylib) ac_cv_lib_soname_jpeg=`$OTOOL -L conftest$ac_exeext | grep "libjpeg\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libjpeg\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
15919 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15920 if ${ac_cv_lib_soname_jpeg:+false} :; then :
15921 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15922 fi ;;
15923 esac
15924 else
15925 ac_cv_lib_soname_jpeg=
15927 rm -f core conftest.err conftest.$ac_objext \
15928 conftest$ac_exeext conftest.$ac_ext
15929 LIBS=$ac_check_soname_save_LIBS
15931 if ${ac_cv_lib_soname_jpeg:+false} :; then :
15932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15933 $as_echo "not found" >&6; }
15934 JPEG_CFLAGS=""
15935 else
15936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
15937 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
15939 cat >>confdefs.h <<_ACEOF
15940 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15941 _ACEOF
15945 else
15946 JPEG_CFLAGS=""
15948 CPPFLAGS=$ac_save_CPPFLAGS
15949 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15950 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15953 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
15954 case "x$with_jpeg" in
15955 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
15956 xno) ;;
15957 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
15958 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
15959 esac
15963 if test "x$with_png" != "xno"
15964 then
15965 if ${PNG_CFLAGS:+false} :; then :
15966 if ${PKG_CONFIG+:} false; then :
15967 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
15970 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
15971 if ${PNG_LIBS:+false} :; then :
15972 if ${PKG_CONFIG+:} false; then :
15973 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
15976 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
15978 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
15979 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
15980 ac_save_CPPFLAGS=$CPPFLAGS
15981 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
15982 for ac_header in png.h
15983 do :
15984 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
15985 if test "x$ac_cv_header_png_h" = xyes; then :
15986 cat >>confdefs.h <<_ACEOF
15987 #define HAVE_PNG_H 1
15988 _ACEOF
15992 done
15994 if test "$ac_cv_header_png_h" = "yes"
15995 then
15996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
15997 $as_echo_n "checking for -lpng... " >&6; }
15998 if ${ac_cv_lib_soname_png+:} false; then :
15999 $as_echo_n "(cached) " >&6
16000 else
16001 ac_check_soname_save_LIBS=$LIBS
16002 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
16003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16004 /* end confdefs.h. */
16006 /* Override any GCC internal prototype to avoid an error.
16007 Use char because int might match the return type of a GCC
16008 builtin and then its argument prototype would still apply. */
16009 #ifdef __cplusplus
16010 extern "C"
16011 #endif
16012 char png_create_read_struct ();
16014 main ()
16016 return png_create_read_struct ();
16018 return 0;
16020 _ACEOF
16021 if ac_fn_c_try_link "$LINENO"; then :
16022 case "$LIBEXT" in
16023 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16024 dylib) ac_cv_lib_soname_png=`$OTOOL -L conftest$ac_exeext | grep "libpng[0-9]*\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libpng[0-9]*\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
16025 *) ac_cv_lib_soname_png=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\\[\\(libpng[0-9]*\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16026 if ${ac_cv_lib_soname_png:+false} :; then :
16027 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16028 fi ;;
16029 esac
16030 else
16031 ac_cv_lib_soname_png=
16033 rm -f core conftest.err conftest.$ac_objext \
16034 conftest$ac_exeext conftest.$ac_ext
16035 LIBS=$ac_check_soname_save_LIBS
16037 if ${ac_cv_lib_soname_png:+false} :; then :
16038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16039 $as_echo "not found" >&6; }
16040 PNG_CFLAGS=""
16041 else
16042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
16043 $as_echo "$ac_cv_lib_soname_png" >&6; }
16045 cat >>confdefs.h <<_ACEOF
16046 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
16047 _ACEOF
16051 else
16052 PNG_CFLAGS=""
16054 CPPFLAGS=$ac_save_CPPFLAGS
16055 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16056 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16059 if test "x$ac_cv_lib_soname_png" = "x"; then :
16060 case "x$with_png" in
16061 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
16062 xno) ;;
16063 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
16064 This is an error since --with-png was requested." "$LINENO" 5 ;;
16065 esac
16069 if test "x$with_tiff" != "xno"
16070 then
16071 if ${TIFF_CFLAGS:+false} :; then :
16072 if ${PKG_CONFIG+:} false; then :
16073 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
16077 if ${TIFF_LIBS:+false} :; then :
16078 if ${PKG_CONFIG+:} false; then :
16079 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
16084 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
16085 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
16086 ac_save_CPPFLAGS=$CPPFLAGS
16087 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
16088 for ac_header in tiffio.h
16089 do :
16090 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
16091 if test "x$ac_cv_header_tiffio_h" = xyes; then :
16092 cat >>confdefs.h <<_ACEOF
16093 #define HAVE_TIFFIO_H 1
16094 _ACEOF
16098 done
16100 if test "$ac_cv_header_tiffio_h" = "yes"
16101 then
16102 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
16103 $as_echo_n "checking for -ltiff... " >&6; }
16104 if ${ac_cv_lib_soname_tiff+:} false; then :
16105 $as_echo_n "(cached) " >&6
16106 else
16107 ac_check_soname_save_LIBS=$LIBS
16108 LIBS="-ltiff $TIFF_LIBS $LIBS"
16109 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16110 /* end confdefs.h. */
16112 /* Override any GCC internal prototype to avoid an error.
16113 Use char because int might match the return type of a GCC
16114 builtin and then its argument prototype would still apply. */
16115 #ifdef __cplusplus
16116 extern "C"
16117 #endif
16118 char TIFFClientOpen ();
16120 main ()
16122 return TIFFClientOpen ();
16124 return 0;
16126 _ACEOF
16127 if ac_fn_c_try_link "$LINENO"; then :
16128 case "$LIBEXT" in
16129 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16130 dylib) ac_cv_lib_soname_tiff=`$OTOOL -L conftest$ac_exeext | grep "libtiff\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libtiff\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
16131 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16132 if ${ac_cv_lib_soname_tiff:+false} :; then :
16133 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16134 fi ;;
16135 esac
16136 else
16137 ac_cv_lib_soname_tiff=
16139 rm -f core conftest.err conftest.$ac_objext \
16140 conftest$ac_exeext conftest.$ac_ext
16141 LIBS=$ac_check_soname_save_LIBS
16143 if ${ac_cv_lib_soname_tiff:+false} :; then :
16144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16145 $as_echo "not found" >&6; }
16147 else
16148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
16149 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
16151 cat >>confdefs.h <<_ACEOF
16152 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
16153 _ACEOF
16158 CPPFLAGS=$ac_save_CPPFLAGS
16159 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16160 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16163 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
16164 case "x$with_tiff" in
16165 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
16166 xno) ;;
16167 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
16168 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
16169 esac
16173 if test "x$with_mpg123" != "xno"
16174 then
16175 if ${MPG123_CFLAGS:+false} :; then :
16176 if ${PKG_CONFIG+:} false; then :
16177 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
16181 if ${MPG123_LIBS:+false} :; then :
16182 if ${PKG_CONFIG+:} false; then :
16183 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
16187 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
16188 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
16189 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
16190 ac_save_CPPFLAGS=$CPPFLAGS
16191 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
16192 for ac_header in mpg123.h
16193 do :
16194 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
16195 if test "x$ac_cv_header_mpg123_h" = xyes; then :
16196 cat >>confdefs.h <<_ACEOF
16197 #define HAVE_MPG123_H 1
16198 _ACEOF
16202 done
16204 if test "$ac_cv_header_mpg123_h" = "yes"
16205 then
16206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
16207 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
16208 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
16209 $as_echo_n "(cached) " >&6
16210 else
16211 ac_check_lib_save_LIBS=$LIBS
16212 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
16213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16214 /* end confdefs.h. */
16216 /* Override any GCC internal prototype to avoid an error.
16217 Use char because int might match the return type of a GCC
16218 builtin and then its argument prototype would still apply. */
16219 #ifdef __cplusplus
16220 extern "C"
16221 #endif
16222 char mpg123_feed ();
16224 main ()
16226 return mpg123_feed ();
16228 return 0;
16230 _ACEOF
16231 if ac_fn_c_try_link "$LINENO"; then :
16232 ac_cv_lib_mpg123_mpg123_feed=yes
16233 else
16234 ac_cv_lib_mpg123_mpg123_feed=no
16236 rm -f core conftest.err conftest.$ac_objext \
16237 conftest$ac_exeext conftest.$ac_ext
16238 LIBS=$ac_check_lib_save_LIBS
16240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
16241 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
16242 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
16244 else
16245 MPG123_LIBS=""
16248 else
16249 MPG123_CFLAGS=""
16250 MPG123_LIBS=""
16252 CPPFLAGS=$ac_save_CPPFLAGS
16253 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16254 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16257 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
16258 case "x$with_mpg123" in
16259 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
16260 xno) ;;
16261 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
16262 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
16263 esac
16264 enable_l3codeca_acm=${enable_l3codeca_acm:-no}
16266 test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes || enable_mp3dmod=${enable_mp3dmod:-no}
16268 if test "$ac_cv_header_AL_al_h" = "yes"
16269 then
16270 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
16271 $as_echo_n "checking for -lopenal... " >&6; }
16272 if ${ac_cv_lib_soname_openal+:} false; then :
16273 $as_echo_n "(cached) " >&6
16274 else
16275 ac_check_soname_save_LIBS=$LIBS
16276 LIBS="-lopenal $LIBS"
16277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16278 /* end confdefs.h. */
16280 /* Override any GCC internal prototype to avoid an error.
16281 Use char because int might match the return type of a GCC
16282 builtin and then its argument prototype would still apply. */
16283 #ifdef __cplusplus
16284 extern "C"
16285 #endif
16286 char alGetSource3i ();
16288 main ()
16290 return alGetSource3i ();
16292 return 0;
16294 _ACEOF
16295 if ac_fn_c_try_link "$LINENO"; then :
16296 case "$LIBEXT" in
16297 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16298 dylib) ac_cv_lib_soname_openal=`$OTOOL -L conftest$ac_exeext | grep "libopenal\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libopenal\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
16299 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16300 if ${ac_cv_lib_soname_openal:+false} :; then :
16301 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16302 fi ;;
16303 esac
16304 else
16305 ac_cv_lib_soname_openal=
16307 rm -f core conftest.err conftest.$ac_objext \
16308 conftest$ac_exeext conftest.$ac_ext
16309 LIBS=$ac_check_soname_save_LIBS
16311 if ${ac_cv_lib_soname_openal:+false} :; then :
16312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16313 $as_echo "not found" >&6; }
16315 else
16316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
16317 $as_echo "$ac_cv_lib_soname_openal" >&6; }
16319 cat >>confdefs.h <<_ACEOF
16320 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
16321 _ACEOF
16323 OPENAL_LIBS="-lopenal"
16325 ac_cv_lib_openal=yes
16327 cat >>confdefs.h <<_ACEOF
16328 #define HAVE_OPENAL 1
16329 _ACEOF
16333 if test "x$ac_cv_lib_openal" != xyes; then :
16334 case "x$with_openal" in
16335 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
16336 xno) ;;
16337 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
16338 This is an error since --with-openal was requested." "$LINENO" 5 ;;
16339 esac
16340 enable_openal32=${enable_openal32:-no}
16343 if test "x$ac_cv_lib_soname_FAudio" = "x"
16344 then
16345 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
16346 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
16347 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
16348 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
16349 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
16350 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
16351 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
16352 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
16353 enable_xapofx1_1=${enable_xapofx1_1:-no}
16354 enable_xapofx1_2=${enable_xapofx1_2:-no}
16355 enable_xapofx1_3=${enable_xapofx1_3:-no}
16356 enable_xapofx1_4=${enable_xapofx1_4:-no}
16357 enable_xapofx1_5=${enable_xapofx1_5:-no}
16358 enable_xaudio2_0=${enable_xaudio2_0:-no}
16359 enable_xaudio2_1=${enable_xaudio2_1:-no}
16360 enable_xaudio2_2=${enable_xaudio2_2:-no}
16361 enable_xaudio2_3=${enable_xaudio2_3:-no}
16362 enable_xaudio2_4=${enable_xaudio2_4:-no}
16363 enable_xaudio2_5=${enable_xaudio2_5:-no}
16364 enable_xaudio2_6=${enable_xaudio2_6:-no}
16365 enable_xaudio2_7=${enable_xaudio2_7:-no}
16366 enable_xaudio2_8=${enable_xaudio2_8:-no}
16367 enable_xaudio2_9=${enable_xaudio2_9:-no}
16370 if test "$ac_cv_header_kstat_h" = "yes"
16371 then
16372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
16373 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
16374 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
16375 $as_echo_n "(cached) " >&6
16376 else
16377 ac_check_lib_save_LIBS=$LIBS
16378 LIBS="-lkstat $LIBS"
16379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16380 /* end confdefs.h. */
16382 /* Override any GCC internal prototype to avoid an error.
16383 Use char because int might match the return type of a GCC
16384 builtin and then its argument prototype would still apply. */
16385 #ifdef __cplusplus
16386 extern "C"
16387 #endif
16388 char kstat_open ();
16390 main ()
16392 return kstat_open ();
16394 return 0;
16396 _ACEOF
16397 if ac_fn_c_try_link "$LINENO"; then :
16398 ac_cv_lib_kstat_kstat_open=yes
16399 else
16400 ac_cv_lib_kstat_kstat_open=no
16402 rm -f core conftest.err conftest.$ac_objext \
16403 conftest$ac_exeext conftest.$ac_ext
16404 LIBS=$ac_check_lib_save_LIBS
16406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
16407 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
16408 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
16410 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
16412 KSTAT_LIBS="-lkstat"
16418 if test "$ac_cv_header_libprocstat_h" = "yes"
16419 then
16420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
16421 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
16422 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
16423 $as_echo_n "(cached) " >&6
16424 else
16425 ac_check_lib_save_LIBS=$LIBS
16426 LIBS="-lprocstat $LIBS"
16427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16428 /* end confdefs.h. */
16430 /* Override any GCC internal prototype to avoid an error.
16431 Use char because int might match the return type of a GCC
16432 builtin and then its argument prototype would still apply. */
16433 #ifdef __cplusplus
16434 extern "C"
16435 #endif
16436 char procstat_open_sysctl ();
16438 main ()
16440 return procstat_open_sysctl ();
16442 return 0;
16444 _ACEOF
16445 if ac_fn_c_try_link "$LINENO"; then :
16446 ac_cv_lib_procstat_procstat_open_sysctl=yes
16447 else
16448 ac_cv_lib_procstat_procstat_open_sysctl=no
16450 rm -f core conftest.err conftest.$ac_objext \
16451 conftest$ac_exeext conftest.$ac_ext
16452 LIBS=$ac_check_lib_save_LIBS
16454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
16455 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
16456 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
16458 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
16460 PROCSTAT_LIBS="-lprocstat"
16466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
16467 $as_echo_n "checking for -lodbc... " >&6; }
16468 if ${ac_cv_lib_soname_odbc+:} false; then :
16469 $as_echo_n "(cached) " >&6
16470 else
16471 ac_check_soname_save_LIBS=$LIBS
16472 LIBS="-lodbc $LIBS"
16473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16474 /* end confdefs.h. */
16476 /* Override any GCC internal prototype to avoid an error.
16477 Use char because int might match the return type of a GCC
16478 builtin and then its argument prototype would still apply. */
16479 #ifdef __cplusplus
16480 extern "C"
16481 #endif
16482 char SQLConnect ();
16484 main ()
16486 return SQLConnect ();
16488 return 0;
16490 _ACEOF
16491 if ac_fn_c_try_link "$LINENO"; then :
16492 case "$LIBEXT" in
16493 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16494 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'` ;;
16495 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16496 if ${ac_cv_lib_soname_odbc:+false} :; then :
16497 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16498 fi ;;
16499 esac
16500 else
16501 ac_cv_lib_soname_odbc=
16503 rm -f core conftest.err conftest.$ac_objext \
16504 conftest$ac_exeext conftest.$ac_ext
16505 LIBS=$ac_check_soname_save_LIBS
16507 if ${ac_cv_lib_soname_odbc:+false} :; then :
16508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16509 $as_echo "not found" >&6; }
16510 cat >>confdefs.h <<_ACEOF
16511 #define SONAME_LIBODBC "libodbc.$LIBEXT"
16512 _ACEOF
16514 else
16515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
16516 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
16518 cat >>confdefs.h <<_ACEOF
16519 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
16520 _ACEOF
16525 if test "x$with_netapi" != "xno"
16526 then
16527 if ${NETAPI_CFLAGS:+false} :; then :
16528 if ${PKG_CONFIG+:} false; then :
16529 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
16533 if ${NETAPI_LIBS:+false} :; then :
16534 if ${PKG_CONFIG+:} false; then :
16535 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
16540 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
16541 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
16542 ac_save_CPPFLAGS=$CPPFLAGS
16543 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
16544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
16545 $as_echo_n "checking for -lnetapi... " >&6; }
16546 if ${ac_cv_lib_soname_netapi+:} false; then :
16547 $as_echo_n "(cached) " >&6
16548 else
16549 ac_check_soname_save_LIBS=$LIBS
16550 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
16551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16552 /* end confdefs.h. */
16554 /* Override any GCC internal prototype to avoid an error.
16555 Use char because int might match the return type of a GCC
16556 builtin and then its argument prototype would still apply. */
16557 #ifdef __cplusplus
16558 extern "C"
16559 #endif
16560 char libnetapi_init ();
16562 main ()
16564 return libnetapi_init ();
16566 return 0;
16568 _ACEOF
16569 if ac_fn_c_try_link "$LINENO"; then :
16570 case "$LIBEXT" in
16571 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16572 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'` ;;
16573 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16574 if ${ac_cv_lib_soname_netapi:+false} :; then :
16575 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16576 fi ;;
16577 esac
16578 else
16579 ac_cv_lib_soname_netapi=
16581 rm -f core conftest.err conftest.$ac_objext \
16582 conftest$ac_exeext conftest.$ac_ext
16583 LIBS=$ac_check_soname_save_LIBS
16585 if ${ac_cv_lib_soname_netapi:+false} :; then :
16586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16587 $as_echo "not found" >&6; }
16588 cat >>confdefs.h <<_ACEOF
16589 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
16590 _ACEOF
16592 else
16593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
16594 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
16596 cat >>confdefs.h <<_ACEOF
16597 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
16598 _ACEOF
16602 CPPFLAGS=$ac_save_CPPFLAGS
16603 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16604 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16608 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
16609 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
16610 then
16611 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
16614 if test "x$with_vulkan" != "xno"
16615 then
16616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
16617 $as_echo_n "checking for -lvulkan... " >&6; }
16618 if ${ac_cv_lib_soname_vulkan+:} false; then :
16619 $as_echo_n "(cached) " >&6
16620 else
16621 ac_check_soname_save_LIBS=$LIBS
16622 LIBS="-lvulkan $LIBS"
16623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16624 /* end confdefs.h. */
16626 /* Override any GCC internal prototype to avoid an error.
16627 Use char because int might match the return type of a GCC
16628 builtin and then its argument prototype would still apply. */
16629 #ifdef __cplusplus
16630 extern "C"
16631 #endif
16632 char vkGetInstanceProcAddr ();
16634 main ()
16636 return vkGetInstanceProcAddr ();
16638 return 0;
16640 _ACEOF
16641 if ac_fn_c_try_link "$LINENO"; then :
16642 case "$LIBEXT" in
16643 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16644 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'` ;;
16645 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16646 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16647 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16648 fi ;;
16649 esac
16650 else
16651 ac_cv_lib_soname_vulkan=
16653 rm -f core conftest.err conftest.$ac_objext \
16654 conftest$ac_exeext conftest.$ac_ext
16655 LIBS=$ac_check_soname_save_LIBS
16657 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16659 $as_echo "not found" >&6; }
16661 else
16662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
16663 $as_echo "$ac_cv_lib_soname_vulkan" >&6; }
16665 cat >>confdefs.h <<_ACEOF
16666 #define SONAME_LIBVULKAN "$ac_cv_lib_soname_vulkan"
16667 _ACEOF
16671 if test "x$ac_cv_lib_soname_vulkan" = "x"
16672 then
16673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
16674 $as_echo_n "checking for -lMoltenVK... " >&6; }
16675 if ${ac_cv_lib_soname_MoltenVK+:} false; then :
16676 $as_echo_n "(cached) " >&6
16677 else
16678 ac_check_soname_save_LIBS=$LIBS
16679 LIBS="-lMoltenVK $LIBS"
16680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16681 /* end confdefs.h. */
16683 /* Override any GCC internal prototype to avoid an error.
16684 Use char because int might match the return type of a GCC
16685 builtin and then its argument prototype would still apply. */
16686 #ifdef __cplusplus
16687 extern "C"
16688 #endif
16689 char vkGetInstanceProcAddr ();
16691 main ()
16693 return vkGetInstanceProcAddr ();
16695 return 0;
16697 _ACEOF
16698 if ac_fn_c_try_link "$LINENO"; then :
16699 case "$LIBEXT" in
16700 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16701 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'` ;;
16702 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16703 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16704 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16705 fi ;;
16706 esac
16707 else
16708 ac_cv_lib_soname_MoltenVK=
16710 rm -f core conftest.err conftest.$ac_objext \
16711 conftest$ac_exeext conftest.$ac_ext
16712 LIBS=$ac_check_soname_save_LIBS
16714 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16716 $as_echo "not found" >&6; }
16718 else
16719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
16720 $as_echo "$ac_cv_lib_soname_MoltenVK" >&6; }
16722 cat >>confdefs.h <<_ACEOF
16723 #define SONAME_LIBMOLTENVK "$ac_cv_lib_soname_MoltenVK"
16724 _ACEOF
16730 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"; then :
16731 case "x$with_vulkan" in
16732 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
16733 xno) ;;
16734 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
16735 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
16736 esac
16740 if test "x$with_vkd3d" != "xno"
16741 then
16742 if ${VKD3D_CFLAGS:+false} :; then :
16743 if ${PKG_CONFIG+:} false; then :
16744 VKD3D_CFLAGS=`$PKG_CONFIG --cflags libvkd3d 2>/dev/null`
16748 if ${VKD3D_LIBS:+false} :; then :
16749 if ${PKG_CONFIG+:} false; then :
16750 VKD3D_LIBS=`$PKG_CONFIG --libs libvkd3d 2>/dev/null`
16755 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d cflags: $VKD3D_CFLAGS" >&5
16756 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d libs: $VKD3D_LIBS" >&5
16757 ac_save_CPPFLAGS=$CPPFLAGS
16758 CPPFLAGS="$CPPFLAGS $VKD3D_CFLAGS"
16759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d" >&5
16760 $as_echo_n "checking for -lvkd3d... " >&6; }
16761 if ${ac_cv_lib_soname_vkd3d+:} false; then :
16762 $as_echo_n "(cached) " >&6
16763 else
16764 ac_check_soname_save_LIBS=$LIBS
16765 LIBS="-lvkd3d $VKD3D_LIBS $LIBS"
16766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16767 /* end confdefs.h. */
16769 /* Override any GCC internal prototype to avoid an error.
16770 Use char because int might match the return type of a GCC
16771 builtin and then its argument prototype would still apply. */
16772 #ifdef __cplusplus
16773 extern "C"
16774 #endif
16775 char vkd3d_get_dxgi_format ();
16777 main ()
16779 return vkd3d_get_dxgi_format ();
16781 return 0;
16783 _ACEOF
16784 if ac_fn_c_try_link "$LINENO"; then :
16785 case "$LIBEXT" in
16786 dll) ac_cv_lib_soname_vkd3d=`$ac_cv_path_LDD conftest.exe | grep "vkd3d" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16787 dylib) ac_cv_lib_soname_vkd3d=`$OTOOL -L conftest$ac_exeext | grep "libvkd3d\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libvkd3d\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
16788 *) ac_cv_lib_soname_vkd3d=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvkd3d\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvkd3d\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16789 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16790 ac_cv_lib_soname_vkd3d=`$LDD conftest$ac_exeext | grep "libvkd3d\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16791 fi ;;
16792 esac
16793 else
16794 ac_cv_lib_soname_vkd3d=
16796 rm -f core conftest.err conftest.$ac_objext \
16797 conftest$ac_exeext conftest.$ac_ext
16798 LIBS=$ac_check_soname_save_LIBS
16800 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16801 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16802 $as_echo "not found" >&6; }
16804 else
16805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d" >&5
16806 $as_echo "$ac_cv_lib_soname_vkd3d" >&6; }
16808 cat >>confdefs.h <<_ACEOF
16809 #define SONAME_LIBVKD3D "$ac_cv_lib_soname_vkd3d"
16810 _ACEOF
16814 CPPFLAGS=$ac_save_CPPFLAGS
16815 test -z "$VKD3D_CFLAGS" || VKD3D_CFLAGS=`echo " $VKD3D_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16816 test -z "$VKD3D_LIBS" || VKD3D_LIBS=`echo " $VKD3D_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16819 if test "x$ac_cv_lib_soname_vkd3d" = "x"; then :
16820 case "x$with_vkd3d" in
16821 x) as_fn_append wine_notices "|vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported." ;;
16822 xno) ;;
16823 *) as_fn_error $? "vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported.
16824 This is an error since --with-vkd3d was requested." "$LINENO" 5 ;;
16825 esac
16828 test "x$ac_cv_lib_soname_vkd3d" != "x" || enable_d3d12=${enable_d3d12:-no}
16831 EXTRACFLAGS=""
16833 if test "x${GCC}" = "xyes"
16834 then
16835 EXTRACFLAGS="-Wall -pipe"
16837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
16838 $as_echo_n "checking whether the compiler supports -fcf-protection=none... " >&6; }
16839 if ${ac_cv_cflags__fcf_protection_none+:} false; then :
16840 $as_echo_n "(cached) " >&6
16841 else
16842 ac_wine_try_cflags_saved=$CFLAGS
16843 CFLAGS="$CFLAGS -fcf-protection=none"
16844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16845 /* end confdefs.h. */
16846 int main(int argc, char **argv) { return 0; }
16847 _ACEOF
16848 if ac_fn_c_try_link "$LINENO"; then :
16849 ac_cv_cflags__fcf_protection_none=yes
16850 else
16851 ac_cv_cflags__fcf_protection_none=no
16853 rm -f core conftest.err conftest.$ac_objext \
16854 conftest$ac_exeext conftest.$ac_ext
16855 CFLAGS=$ac_wine_try_cflags_saved
16857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
16858 $as_echo "$ac_cv_cflags__fcf_protection_none" >&6; }
16859 if test "x$ac_cv_cflags__fcf_protection_none" = xyes; then :
16860 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
16862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
16863 $as_echo_n "checking whether the compiler supports -fno-stack-protector... " >&6; }
16864 if ${ac_cv_cflags__fno_stack_protector+:} false; then :
16865 $as_echo_n "(cached) " >&6
16866 else
16867 ac_wine_try_cflags_saved=$CFLAGS
16868 CFLAGS="$CFLAGS -fno-stack-protector"
16869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16870 /* end confdefs.h. */
16871 int main(int argc, char **argv) { return 0; }
16872 _ACEOF
16873 if ac_fn_c_try_link "$LINENO"; then :
16874 ac_cv_cflags__fno_stack_protector=yes
16875 else
16876 ac_cv_cflags__fno_stack_protector=no
16878 rm -f core conftest.err conftest.$ac_objext \
16879 conftest$ac_exeext conftest.$ac_ext
16880 CFLAGS=$ac_wine_try_cflags_saved
16882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
16883 $as_echo "$ac_cv_cflags__fno_stack_protector" >&6; }
16884 if test "x$ac_cv_cflags__fno_stack_protector" = xyes; then :
16885 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
16887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
16888 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
16889 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
16890 $as_echo_n "(cached) " >&6
16891 else
16892 ac_wine_try_cflags_saved=$CFLAGS
16893 CFLAGS="$CFLAGS -fno-strict-aliasing"
16894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16895 /* end confdefs.h. */
16896 int main(int argc, char **argv) { return 0; }
16897 _ACEOF
16898 if ac_fn_c_try_link "$LINENO"; then :
16899 ac_cv_cflags__fno_strict_aliasing=yes
16900 else
16901 ac_cv_cflags__fno_strict_aliasing=no
16903 rm -f core conftest.err conftest.$ac_objext \
16904 conftest$ac_exeext conftest.$ac_ext
16905 CFLAGS=$ac_wine_try_cflags_saved
16907 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
16908 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
16909 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
16910 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
16912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
16913 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
16914 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
16915 $as_echo_n "(cached) " >&6
16916 else
16917 ac_wine_try_cflags_saved=$CFLAGS
16918 CFLAGS="$CFLAGS -fexcess-precision=standard"
16919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16920 /* end confdefs.h. */
16921 int main(int argc, char **argv) { return 0; }
16922 _ACEOF
16923 if ac_fn_c_try_link "$LINENO"; then :
16924 ac_cv_cflags__fexcess_precision_standard=yes
16925 else
16926 ac_cv_cflags__fexcess_precision_standard=no
16928 rm -f core conftest.err conftest.$ac_objext \
16929 conftest$ac_exeext conftest.$ac_ext
16930 CFLAGS=$ac_wine_try_cflags_saved
16932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
16933 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
16934 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
16935 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
16938 saved_CFLAGS=$CFLAGS
16939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
16940 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
16941 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
16942 $as_echo_n "(cached) " >&6
16943 else
16944 ac_wine_try_cflags_saved=$CFLAGS
16945 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
16946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16947 /* end confdefs.h. */
16948 int main(int argc, char **argv) { return 0; }
16949 _ACEOF
16950 if ac_fn_c_try_link "$LINENO"; then :
16951 ac_cv_cflags__Werror_unknown_warning_option=yes
16952 else
16953 ac_cv_cflags__Werror_unknown_warning_option=no
16955 rm -f core conftest.err conftest.$ac_objext \
16956 conftest$ac_exeext conftest.$ac_ext
16957 CFLAGS=$ac_wine_try_cflags_saved
16959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
16960 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
16961 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
16962 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
16964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
16965 $as_echo_n "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
16966 if ${ac_cv_cflags__Werror_unused_command_line_argument+:} false; then :
16967 $as_echo_n "(cached) " >&6
16968 else
16969 ac_wine_try_cflags_saved=$CFLAGS
16970 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
16971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16972 /* end confdefs.h. */
16973 int main(int argc, char **argv) { return 0; }
16974 _ACEOF
16975 if ac_fn_c_try_link "$LINENO"; then :
16976 ac_cv_cflags__Werror_unused_command_line_argument=yes
16977 else
16978 ac_cv_cflags__Werror_unused_command_line_argument=no
16980 rm -f core conftest.err conftest.$ac_objext \
16981 conftest$ac_exeext conftest.$ac_ext
16982 CFLAGS=$ac_wine_try_cflags_saved
16984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
16985 $as_echo "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
16986 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes; then :
16987 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
16989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
16990 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
16991 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
16992 $as_echo_n "(cached) " >&6
16993 else
16994 ac_wine_try_cflags_saved=$CFLAGS
16995 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
16996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16997 /* end confdefs.h. */
16998 int main(int argc, char **argv) { return 0; }
16999 _ACEOF
17000 if ac_fn_c_try_link "$LINENO"; then :
17001 ac_cv_cflags__Wdeclaration_after_statement=yes
17002 else
17003 ac_cv_cflags__Wdeclaration_after_statement=no
17005 rm -f core conftest.err conftest.$ac_objext \
17006 conftest$ac_exeext conftest.$ac_ext
17007 CFLAGS=$ac_wine_try_cflags_saved
17009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
17010 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
17011 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
17012 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
17014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
17015 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
17016 if ${ac_cv_cflags__Wempty_body+:} false; then :
17017 $as_echo_n "(cached) " >&6
17018 else
17019 ac_wine_try_cflags_saved=$CFLAGS
17020 CFLAGS="$CFLAGS -Wempty-body"
17021 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17022 /* end confdefs.h. */
17023 int main(int argc, char **argv) { return 0; }
17024 _ACEOF
17025 if ac_fn_c_try_link "$LINENO"; then :
17026 ac_cv_cflags__Wempty_body=yes
17027 else
17028 ac_cv_cflags__Wempty_body=no
17030 rm -f core conftest.err conftest.$ac_objext \
17031 conftest$ac_exeext conftest.$ac_ext
17032 CFLAGS=$ac_wine_try_cflags_saved
17034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
17035 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
17036 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
17037 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
17039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
17040 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
17041 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
17042 $as_echo_n "(cached) " >&6
17043 else
17044 ac_wine_try_cflags_saved=$CFLAGS
17045 CFLAGS="$CFLAGS -Wignored-qualifiers"
17046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17047 /* end confdefs.h. */
17048 int main(int argc, char **argv) { return 0; }
17049 _ACEOF
17050 if ac_fn_c_try_link "$LINENO"; then :
17051 ac_cv_cflags__Wignored_qualifiers=yes
17052 else
17053 ac_cv_cflags__Wignored_qualifiers=no
17055 rm -f core conftest.err conftest.$ac_objext \
17056 conftest$ac_exeext conftest.$ac_ext
17057 CFLAGS=$ac_wine_try_cflags_saved
17059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
17060 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
17061 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
17062 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
17064 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
17065 $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
17066 if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
17067 $as_echo_n "(cached) " >&6
17068 else
17069 ac_wine_try_cflags_saved=$CFLAGS
17070 CFLAGS="$CFLAGS -Wpacked-not-aligned"
17071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17072 /* end confdefs.h. */
17073 int main(int argc, char **argv) { return 0; }
17074 _ACEOF
17075 if ac_fn_c_try_link "$LINENO"; then :
17076 ac_cv_cflags__Wpacked_not_aligned=yes
17077 else
17078 ac_cv_cflags__Wpacked_not_aligned=no
17080 rm -f core conftest.err conftest.$ac_objext \
17081 conftest$ac_exeext conftest.$ac_ext
17082 CFLAGS=$ac_wine_try_cflags_saved
17084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
17085 $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
17086 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
17087 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
17089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
17090 $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
17091 if ${ac_cv_cflags__Wpragma_pack+:} false; then :
17092 $as_echo_n "(cached) " >&6
17093 else
17094 ac_wine_try_cflags_saved=$CFLAGS
17095 CFLAGS="$CFLAGS -Wpragma-pack"
17096 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17097 /* end confdefs.h. */
17098 int main(int argc, char **argv) { return 0; }
17099 _ACEOF
17100 if ac_fn_c_try_link "$LINENO"; then :
17101 ac_cv_cflags__Wpragma_pack=yes
17102 else
17103 ac_cv_cflags__Wpragma_pack=no
17105 rm -f core conftest.err conftest.$ac_objext \
17106 conftest$ac_exeext conftest.$ac_ext
17107 CFLAGS=$ac_wine_try_cflags_saved
17109 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
17110 $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
17111 if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
17112 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
17114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
17115 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
17116 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
17117 $as_echo_n "(cached) " >&6
17118 else
17119 ac_wine_try_cflags_saved=$CFLAGS
17120 CFLAGS="$CFLAGS -Wshift-overflow=2"
17121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17122 /* end confdefs.h. */
17123 int main(int argc, char **argv) { return 0; }
17124 _ACEOF
17125 if ac_fn_c_try_link "$LINENO"; then :
17126 ac_cv_cflags__Wshift_overflow_2=yes
17127 else
17128 ac_cv_cflags__Wshift_overflow_2=no
17130 rm -f core conftest.err conftest.$ac_objext \
17131 conftest$ac_exeext conftest.$ac_ext
17132 CFLAGS=$ac_wine_try_cflags_saved
17134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
17135 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
17136 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
17137 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
17139 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
17140 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
17141 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
17142 $as_echo_n "(cached) " >&6
17143 else
17144 ac_wine_try_cflags_saved=$CFLAGS
17145 CFLAGS="$CFLAGS -Wstrict-prototypes"
17146 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17147 /* end confdefs.h. */
17148 int main(int argc, char **argv) { return 0; }
17149 _ACEOF
17150 if ac_fn_c_try_link "$LINENO"; then :
17151 ac_cv_cflags__Wstrict_prototypes=yes
17152 else
17153 ac_cv_cflags__Wstrict_prototypes=no
17155 rm -f core conftest.err conftest.$ac_objext \
17156 conftest$ac_exeext conftest.$ac_ext
17157 CFLAGS=$ac_wine_try_cflags_saved
17159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
17160 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
17161 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
17162 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
17164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
17165 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
17166 if ${ac_cv_cflags__Wtype_limits+:} false; then :
17167 $as_echo_n "(cached) " >&6
17168 else
17169 ac_wine_try_cflags_saved=$CFLAGS
17170 CFLAGS="$CFLAGS -Wtype-limits"
17171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17172 /* end confdefs.h. */
17173 int main(int argc, char **argv) { return 0; }
17174 _ACEOF
17175 if ac_fn_c_try_link "$LINENO"; then :
17176 ac_cv_cflags__Wtype_limits=yes
17177 else
17178 ac_cv_cflags__Wtype_limits=no
17180 rm -f core conftest.err conftest.$ac_objext \
17181 conftest$ac_exeext conftest.$ac_ext
17182 CFLAGS=$ac_wine_try_cflags_saved
17184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
17185 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
17186 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
17187 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
17189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
17190 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
17191 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
17192 $as_echo_n "(cached) " >&6
17193 else
17194 ac_wine_try_cflags_saved=$CFLAGS
17195 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
17196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17197 /* end confdefs.h. */
17198 int main(int argc, char **argv) { return 0; }
17199 _ACEOF
17200 if ac_fn_c_try_link "$LINENO"; then :
17201 ac_cv_cflags__Wunused_but_set_parameter=yes
17202 else
17203 ac_cv_cflags__Wunused_but_set_parameter=no
17205 rm -f core conftest.err conftest.$ac_objext \
17206 conftest$ac_exeext conftest.$ac_ext
17207 CFLAGS=$ac_wine_try_cflags_saved
17209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
17210 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
17211 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
17212 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
17214 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
17215 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
17216 if ${ac_cv_cflags__Wvla+:} false; then :
17217 $as_echo_n "(cached) " >&6
17218 else
17219 ac_wine_try_cflags_saved=$CFLAGS
17220 CFLAGS="$CFLAGS -Wvla"
17221 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17222 /* end confdefs.h. */
17223 int main(int argc, char **argv) { return 0; }
17224 _ACEOF
17225 if ac_fn_c_try_link "$LINENO"; then :
17226 ac_cv_cflags__Wvla=yes
17227 else
17228 ac_cv_cflags__Wvla=no
17230 rm -f core conftest.err conftest.$ac_objext \
17231 conftest$ac_exeext conftest.$ac_ext
17232 CFLAGS=$ac_wine_try_cflags_saved
17234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
17235 $as_echo "$ac_cv_cflags__Wvla" >&6; }
17236 if test "x$ac_cv_cflags__Wvla" = xyes; then :
17237 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
17239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
17240 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
17241 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
17242 $as_echo_n "(cached) " >&6
17243 else
17244 ac_wine_try_cflags_saved=$CFLAGS
17245 CFLAGS="$CFLAGS -Wwrite-strings"
17246 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17247 /* end confdefs.h. */
17248 int main(int argc, char **argv) { return 0; }
17249 _ACEOF
17250 if ac_fn_c_try_link "$LINENO"; then :
17251 ac_cv_cflags__Wwrite_strings=yes
17252 else
17253 ac_cv_cflags__Wwrite_strings=no
17255 rm -f core conftest.err conftest.$ac_objext \
17256 conftest$ac_exeext conftest.$ac_ext
17257 CFLAGS=$ac_wine_try_cflags_saved
17259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
17260 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
17261 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
17262 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
17265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
17266 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
17267 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
17268 $as_echo_n "(cached) " >&6
17269 else
17270 ac_wine_try_cflags_saved=$CFLAGS
17271 CFLAGS="$CFLAGS -Wpointer-arith"
17272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17273 /* end confdefs.h. */
17274 int main(int argc, char **argv) { return 0; }
17275 _ACEOF
17276 if ac_fn_c_try_link "$LINENO"; then :
17277 ac_cv_cflags__Wpointer_arith=yes
17278 else
17279 ac_cv_cflags__Wpointer_arith=no
17281 rm -f core conftest.err conftest.$ac_objext \
17282 conftest$ac_exeext conftest.$ac_ext
17283 CFLAGS=$ac_wine_try_cflags_saved
17285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
17286 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
17287 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
17288 saved_string_h_CFLAGS=$CFLAGS
17289 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
17290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
17291 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
17292 if ${ac_cv_c_string_h_warnings+:} false; then :
17293 $as_echo_n "(cached) " >&6
17294 else
17295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17296 /* end confdefs.h. */
17297 #include <string.h>
17299 main ()
17303 return 0;
17305 _ACEOF
17306 if ac_fn_c_try_compile "$LINENO"; then :
17307 ac_cv_c_string_h_warnings=no
17308 else
17309 ac_cv_c_string_h_warnings=yes
17311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
17314 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
17315 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
17316 CFLAGS=$saved_string_h_CFLAGS
17319 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
17320 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
17321 if ${ac_cv_cflags__Wlogical_op+:} false; then :
17322 $as_echo_n "(cached) " >&6
17323 else
17324 ac_wine_try_cflags_saved=$CFLAGS
17325 CFLAGS="$CFLAGS -Wlogical-op"
17326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17327 /* end confdefs.h. */
17328 int main(int argc, char **argv) { return 0; }
17329 _ACEOF
17330 if ac_fn_c_try_link "$LINENO"; then :
17331 ac_cv_cflags__Wlogical_op=yes
17332 else
17333 ac_cv_cflags__Wlogical_op=no
17335 rm -f core conftest.err conftest.$ac_objext \
17336 conftest$ac_exeext conftest.$ac_ext
17337 CFLAGS=$ac_wine_try_cflags_saved
17339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
17340 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
17341 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
17342 saved_string_h_CFLAGS=$CFLAGS
17343 CFLAGS="$CFLAGS -Wlogical-op -Werror"
17344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
17345 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
17346 if ${ac_cv_c_logicalop_noisy+:} false; then :
17347 $as_echo_n "(cached) " >&6
17348 else
17349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17350 /* end confdefs.h. */
17351 #include <string.h>
17352 char*f(const char *h,char n) {return strchr(h,n);}
17354 main ()
17358 return 0;
17360 _ACEOF
17361 if ac_fn_c_try_compile "$LINENO"; then :
17362 ac_cv_c_logicalop_noisy=no
17363 else
17364 ac_cv_c_logicalop_noisy=yes
17366 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
17369 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
17370 CFLAGS=$saved_string_h_CFLAGS
17371 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
17374 for ac_flag in $CFLAGS; do
17375 case $ac_flag in
17376 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
17377 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
17378 if ${ac_cv_cflags__gdwarf_2+:} false; then :
17379 $as_echo_n "(cached) " >&6
17380 else
17381 ac_wine_try_cflags_saved=$CFLAGS
17382 CFLAGS="$CFLAGS -gdwarf-2"
17383 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17384 /* end confdefs.h. */
17385 int main(int argc, char **argv) { return 0; }
17386 _ACEOF
17387 if ac_fn_c_try_link "$LINENO"; then :
17388 ac_cv_cflags__gdwarf_2=yes
17389 else
17390 ac_cv_cflags__gdwarf_2=no
17392 rm -f core conftest.err conftest.$ac_objext \
17393 conftest$ac_exeext conftest.$ac_ext
17394 CFLAGS=$ac_wine_try_cflags_saved
17396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
17397 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
17398 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
17399 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
17401 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
17402 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
17403 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
17404 $as_echo_n "(cached) " >&6
17405 else
17406 ac_wine_try_cflags_saved=$CFLAGS
17407 CFLAGS="$CFLAGS -gstrict-dwarf"
17408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17409 /* end confdefs.h. */
17410 int main(int argc, char **argv) { return 0; }
17411 _ACEOF
17412 if ac_fn_c_try_link "$LINENO"; then :
17413 ac_cv_cflags__gstrict_dwarf=yes
17414 else
17415 ac_cv_cflags__gstrict_dwarf=no
17417 rm -f core conftest.err conftest.$ac_objext \
17418 conftest$ac_exeext conftest.$ac_ext
17419 CFLAGS=$ac_wine_try_cflags_saved
17421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
17422 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
17423 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
17424 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
17425 fi ;;
17426 esac
17427 done
17429 MSVCRTFLAGS=""
17431 case $host_os in
17432 cygwin*|mingw32*) ;;
17433 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
17434 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
17435 if ${ac_cv_cflags__fno_builtin+:} false; then :
17436 $as_echo_n "(cached) " >&6
17437 else
17438 ac_wine_try_cflags_saved=$CFLAGS
17439 CFLAGS="$CFLAGS -fno-builtin"
17440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17441 /* end confdefs.h. */
17442 int main(int argc, char **argv) { return 0; }
17443 _ACEOF
17444 if ac_fn_c_try_link "$LINENO"; then :
17445 ac_cv_cflags__fno_builtin=yes
17446 else
17447 ac_cv_cflags__fno_builtin=no
17449 rm -f core conftest.err conftest.$ac_objext \
17450 conftest$ac_exeext conftest.$ac_ext
17451 CFLAGS=$ac_wine_try_cflags_saved
17453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
17454 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
17455 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
17456 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
17458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
17459 $as_echo_n "checking whether the compiler supports -fshort-wchar... " >&6; }
17460 if ${ac_cv_cflags__fshort_wchar+:} false; then :
17461 $as_echo_n "(cached) " >&6
17462 else
17463 ac_wine_try_cflags_saved=$CFLAGS
17464 CFLAGS="$CFLAGS -fshort-wchar"
17465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17466 /* end confdefs.h. */
17467 int main(int argc, char **argv) { return 0; }
17468 _ACEOF
17469 if ac_fn_c_try_link "$LINENO"; then :
17470 ac_cv_cflags__fshort_wchar=yes
17471 else
17472 ac_cv_cflags__fshort_wchar=no
17474 rm -f core conftest.err conftest.$ac_objext \
17475 conftest$ac_exeext conftest.$ac_ext
17476 CFLAGS=$ac_wine_try_cflags_saved
17478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
17479 $as_echo "$ac_cv_cflags__fshort_wchar" >&6; }
17480 if test "x$ac_cv_cflags__fshort_wchar" = xyes; then :
17481 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
17482 fi ;;
17483 esac
17485 case $host_cpu in
17486 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
17487 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
17488 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
17489 $as_echo_n "(cached) " >&6
17490 else
17491 ac_wine_try_cflags_saved=$CFLAGS
17492 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
17493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17494 /* end confdefs.h. */
17495 int main(int argc, char **argv) { return 0; }
17496 _ACEOF
17497 if ac_fn_c_try_link "$LINENO"; then :
17498 ac_cv_cflags__fno_omit_frame_pointer=yes
17499 else
17500 ac_cv_cflags__fno_omit_frame_pointer=no
17502 rm -f core conftest.err conftest.$ac_objext \
17503 conftest$ac_exeext conftest.$ac_ext
17504 CFLAGS=$ac_wine_try_cflags_saved
17506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
17507 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
17508 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
17509 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
17510 fi ;;
17511 *x86_64*)
17512 case $host_os in
17513 cygwin*|mingw32*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
17514 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
17515 if ${ac_cv_cflags__Wno_format+:} false; then :
17516 $as_echo_n "(cached) " >&6
17517 else
17518 ac_wine_try_cflags_saved=$CFLAGS
17519 CFLAGS="$CFLAGS -Wno-format"
17520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17521 /* end confdefs.h. */
17522 int main(int argc, char **argv) { return 0; }
17523 _ACEOF
17524 if ac_fn_c_try_link "$LINENO"; then :
17525 ac_cv_cflags__Wno_format=yes
17526 else
17527 ac_cv_cflags__Wno_format=no
17529 rm -f core conftest.err conftest.$ac_objext \
17530 conftest$ac_exeext conftest.$ac_ext
17531 CFLAGS=$ac_wine_try_cflags_saved
17533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
17534 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
17535 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
17536 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
17537 fi ;;
17538 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mabi=ms" >&5
17539 $as_echo_n "checking whether the compiler supports -mabi=ms... " >&6; }
17540 if ${ac_cv_cflags__mabi_ms+:} false; then :
17541 $as_echo_n "(cached) " >&6
17542 else
17543 ac_wine_try_cflags_saved=$CFLAGS
17544 CFLAGS="$CFLAGS -mabi=ms"
17545 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17546 /* end confdefs.h. */
17547 int main(int argc, char **argv) { return 0; }
17548 _ACEOF
17549 if ac_fn_c_try_link "$LINENO"; then :
17550 ac_cv_cflags__mabi_ms=yes
17551 else
17552 ac_cv_cflags__mabi_ms=no
17554 rm -f core conftest.err conftest.$ac_objext \
17555 conftest$ac_exeext conftest.$ac_ext
17556 CFLAGS=$ac_wine_try_cflags_saved
17558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mabi_ms" >&5
17559 $as_echo "$ac_cv_cflags__mabi_ms" >&6; }
17560 if test "x$ac_cv_cflags__mabi_ms" = xyes; then :
17561 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms"
17562 fi ;;
17563 esac ;;
17564 esac
17566 CFLAGS=$saved_CFLAGS
17568 if test "x$enable_maintainer_mode" = "xyes"
17569 then
17570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
17571 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
17572 if ${ac_cv_cflags__Werror+:} false; then :
17573 $as_echo_n "(cached) " >&6
17574 else
17575 ac_wine_try_cflags_saved=$CFLAGS
17576 CFLAGS="$CFLAGS -Werror"
17577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17578 /* end confdefs.h. */
17579 int main(int argc, char **argv) { return 0; }
17580 _ACEOF
17581 if ac_fn_c_try_link "$LINENO"; then :
17582 ac_cv_cflags__Werror=yes
17583 else
17584 ac_cv_cflags__Werror=no
17586 rm -f core conftest.err conftest.$ac_objext \
17587 conftest$ac_exeext conftest.$ac_ext
17588 CFLAGS=$ac_wine_try_cflags_saved
17590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
17591 $as_echo "$ac_cv_cflags__Werror" >&6; }
17592 if test "x$ac_cv_cflags__Werror" = xyes; then :
17593 EXTRACFLAGS="$EXTRACFLAGS -Werror"
17599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
17600 $as_echo_n "checking for the need to disable Fortify... " >&6; }
17601 if ${ac_cv_c_fortify_enabled+:} false; then :
17602 $as_echo_n "(cached) " >&6
17603 else
17604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17605 /* end confdefs.h. */
17606 #include <string.h>
17608 main ()
17610 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
17611 #error Fortify enabled
17612 #endif
17614 return 0;
17616 _ACEOF
17617 if ac_fn_c_try_compile "$LINENO"; then :
17618 ac_cv_c_fortify_enabled=no
17619 else
17620 ac_cv_c_fortify_enabled=yes
17622 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
17625 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
17626 if test "$ac_cv_c_fortify_enabled" = yes
17627 then
17628 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
17632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
17633 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
17634 if ${ac_cv_c_cfi_support+:} false; then :
17635 $as_echo_n "(cached) " >&6
17636 else
17637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17638 /* end confdefs.h. */
17639 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
17641 main ()
17645 return 0;
17647 _ACEOF
17648 if ac_fn_c_try_compile "$LINENO"; then :
17649 ac_cv_c_cfi_support="yes"
17650 else
17651 ac_cv_c_cfi_support="no"
17653 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
17656 $as_echo "$ac_cv_c_cfi_support" >&6; }
17657 if test "$ac_cv_c_cfi_support" = "yes"
17658 then
17659 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
17660 else
17661 if test "x$enable_win64" = "xyes"
17662 then
17663 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
17668 case $build_os in
17669 cygwin*|mingw32*) TOOLSEXT=".exe"
17671 esac
17673 case $host_os in
17674 linux*)
17675 case $host_cpu in
17676 *i[3456789]86*|x86_64*|*aarch64*)
17677 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
17678 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
17680 esac
17682 esac
17685 ac_save_CFLAGS="$CFLAGS"
17686 CFLAGS="$CFLAGS $BUILTINFLAG"
17687 for ac_func in \
17688 __res_get_state \
17689 __res_getservers \
17690 _spawnvp \
17691 dlopen \
17692 epoll_create \
17693 ffs \
17694 finitef \
17695 fnmatch \
17696 fork \
17697 fpclass \
17698 fstatfs \
17699 fstatvfs \
17700 futimens \
17701 futimes \
17702 futimesat \
17703 getattrlist \
17704 getauxval \
17705 getifaddrs \
17706 getopt_long_only \
17707 kqueue \
17708 lstat \
17709 mach_continuous_time \
17710 pipe2 \
17711 poll \
17712 port_create \
17713 prctl \
17714 pread \
17715 proc_pidinfo \
17716 pwrite \
17717 readdir \
17718 readlink \
17719 sched_yield \
17720 select \
17721 setproctitle \
17722 setprogname \
17723 settimeofday \
17724 sigprocmask \
17725 statfs \
17726 statvfs \
17727 strnlen \
17728 strtold \
17729 symlink \
17730 sysinfo \
17731 tcdrain \
17732 thr_kill2 \
17733 timegm \
17734 usleep
17736 do :
17737 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17738 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17739 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17740 cat >>confdefs.h <<_ACEOF
17741 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17742 _ACEOF
17745 done
17747 CFLAGS="$ac_save_CFLAGS"
17749 if test "$ac_cv_func_dlopen" = no
17750 then
17751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
17752 $as_echo_n "checking for dlopen in -ldl... " >&6; }
17753 if ${ac_cv_lib_dl_dlopen+:} false; then :
17754 $as_echo_n "(cached) " >&6
17755 else
17756 ac_check_lib_save_LIBS=$LIBS
17757 LIBS="-ldl $LIBS"
17758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17759 /* end confdefs.h. */
17761 /* Override any GCC internal prototype to avoid an error.
17762 Use char because int might match the return type of a GCC
17763 builtin and then its argument prototype would still apply. */
17764 #ifdef __cplusplus
17765 extern "C"
17766 #endif
17767 char dlopen ();
17769 main ()
17771 return dlopen ();
17773 return 0;
17775 _ACEOF
17776 if ac_fn_c_try_link "$LINENO"; then :
17777 ac_cv_lib_dl_dlopen=yes
17778 else
17779 ac_cv_lib_dl_dlopen=no
17781 rm -f core conftest.err conftest.$ac_objext \
17782 conftest$ac_exeext conftest.$ac_ext
17783 LIBS=$ac_check_lib_save_LIBS
17785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
17786 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
17787 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
17788 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
17789 DL_LIBS="-ldl"
17794 ac_wine_check_funcs_save_LIBS="$LIBS"
17795 LIBS="$LIBS $DL_LIBS"
17796 for ac_func in dladdr
17797 do :
17798 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
17799 if test "x$ac_cv_func_dladdr" = xyes; then :
17800 cat >>confdefs.h <<_ACEOF
17801 #define HAVE_DLADDR 1
17802 _ACEOF
17805 done
17807 LIBS="$ac_wine_check_funcs_save_LIBS"
17809 if test "$ac_cv_func_poll" = no
17810 then
17811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
17812 $as_echo_n "checking for poll in -lpoll... " >&6; }
17813 if ${ac_cv_lib_poll_poll+:} false; then :
17814 $as_echo_n "(cached) " >&6
17815 else
17816 ac_check_lib_save_LIBS=$LIBS
17817 LIBS="-lpoll $LIBS"
17818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17819 /* end confdefs.h. */
17821 /* Override any GCC internal prototype to avoid an error.
17822 Use char because int might match the return type of a GCC
17823 builtin and then its argument prototype would still apply. */
17824 #ifdef __cplusplus
17825 extern "C"
17826 #endif
17827 char poll ();
17829 main ()
17831 return poll ();
17833 return 0;
17835 _ACEOF
17836 if ac_fn_c_try_link "$LINENO"; then :
17837 ac_cv_lib_poll_poll=yes
17838 else
17839 ac_cv_lib_poll_poll=no
17841 rm -f core conftest.err conftest.$ac_objext \
17842 conftest$ac_exeext conftest.$ac_ext
17843 LIBS=$ac_check_lib_save_LIBS
17845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
17846 $as_echo "$ac_cv_lib_poll_poll" >&6; }
17847 if test "x$ac_cv_lib_poll_poll" = xyes; then :
17848 $as_echo "#define HAVE_POLL 1" >>confdefs.h
17849 POLL_LIBS="-lpoll"
17855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
17856 $as_echo_n "checking for library containing gethostbyname... " >&6; }
17857 if ${ac_cv_search_gethostbyname+:} false; then :
17858 $as_echo_n "(cached) " >&6
17859 else
17860 ac_func_search_save_LIBS=$LIBS
17861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17862 /* end confdefs.h. */
17864 /* Override any GCC internal prototype to avoid an error.
17865 Use char because int might match the return type of a GCC
17866 builtin and then its argument prototype would still apply. */
17867 #ifdef __cplusplus
17868 extern "C"
17869 #endif
17870 char gethostbyname ();
17872 main ()
17874 return gethostbyname ();
17876 return 0;
17878 _ACEOF
17879 for ac_lib in '' nsl; do
17880 if test -z "$ac_lib"; then
17881 ac_res="none required"
17882 else
17883 ac_res=-l$ac_lib
17884 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17886 if ac_fn_c_try_link "$LINENO"; then :
17887 ac_cv_search_gethostbyname=$ac_res
17889 rm -f core conftest.err conftest.$ac_objext \
17890 conftest$ac_exeext
17891 if ${ac_cv_search_gethostbyname+:} false; then :
17892 break
17894 done
17895 if ${ac_cv_search_gethostbyname+:} false; then :
17897 else
17898 ac_cv_search_gethostbyname=no
17900 rm conftest.$ac_ext
17901 LIBS=$ac_func_search_save_LIBS
17903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
17904 $as_echo "$ac_cv_search_gethostbyname" >&6; }
17905 ac_res=$ac_cv_search_gethostbyname
17906 if test "$ac_res" != no; then :
17907 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
17913 $as_echo_n "checking for library containing connect... " >&6; }
17914 if ${ac_cv_search_connect+:} false; then :
17915 $as_echo_n "(cached) " >&6
17916 else
17917 ac_func_search_save_LIBS=$LIBS
17918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17919 /* end confdefs.h. */
17921 /* Override any GCC internal prototype to avoid an error.
17922 Use char because int might match the return type of a GCC
17923 builtin and then its argument prototype would still apply. */
17924 #ifdef __cplusplus
17925 extern "C"
17926 #endif
17927 char connect ();
17929 main ()
17931 return connect ();
17933 return 0;
17935 _ACEOF
17936 for ac_lib in '' socket; do
17937 if test -z "$ac_lib"; then
17938 ac_res="none required"
17939 else
17940 ac_res=-l$ac_lib
17941 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17943 if ac_fn_c_try_link "$LINENO"; then :
17944 ac_cv_search_connect=$ac_res
17946 rm -f core conftest.err conftest.$ac_objext \
17947 conftest$ac_exeext
17948 if ${ac_cv_search_connect+:} false; then :
17949 break
17951 done
17952 if ${ac_cv_search_connect+:} false; then :
17954 else
17955 ac_cv_search_connect=no
17957 rm conftest.$ac_ext
17958 LIBS=$ac_func_search_save_LIBS
17960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
17961 $as_echo "$ac_cv_search_connect" >&6; }
17962 ac_res=$ac_cv_search_connect
17963 if test "$ac_res" != no; then :
17964 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
17970 $as_echo_n "checking for library containing inet_aton... " >&6; }
17971 if ${ac_cv_search_inet_aton+:} false; then :
17972 $as_echo_n "(cached) " >&6
17973 else
17974 ac_func_search_save_LIBS=$LIBS
17975 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17976 /* end confdefs.h. */
17978 /* Override any GCC internal prototype to avoid an error.
17979 Use char because int might match the return type of a GCC
17980 builtin and then its argument prototype would still apply. */
17981 #ifdef __cplusplus
17982 extern "C"
17983 #endif
17984 char inet_aton ();
17986 main ()
17988 return inet_aton ();
17990 return 0;
17992 _ACEOF
17993 for ac_lib in '' resolv; do
17994 if test -z "$ac_lib"; then
17995 ac_res="none required"
17996 else
17997 ac_res=-l$ac_lib
17998 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18000 if ac_fn_c_try_link "$LINENO"; then :
18001 ac_cv_search_inet_aton=$ac_res
18003 rm -f core conftest.err conftest.$ac_objext \
18004 conftest$ac_exeext
18005 if ${ac_cv_search_inet_aton+:} false; then :
18006 break
18008 done
18009 if ${ac_cv_search_inet_aton+:} false; then :
18011 else
18012 ac_cv_search_inet_aton=no
18014 rm conftest.$ac_ext
18015 LIBS=$ac_func_search_save_LIBS
18017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
18018 $as_echo "$ac_cv_search_inet_aton" >&6; }
18019 ac_res=$ac_cv_search_inet_aton
18020 if test "$ac_res" != no; then :
18021 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18026 for ac_func in \
18027 getaddrinfo \
18028 getnameinfo \
18029 getnetbyname \
18030 getprotobyname \
18031 getprotobynumber \
18032 getservbyport \
18033 inet_addr \
18034 inet_network \
18035 inet_ntop \
18036 inet_pton \
18038 do :
18039 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18040 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18041 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18042 cat >>confdefs.h <<_ACEOF
18043 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18044 _ACEOF
18047 done
18050 case $host_os in
18051 darwin*|macosx*) ;;
18052 *) ac_save_LIBS=$LIBS
18053 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
18054 $as_echo_n "checking for library containing clock_gettime... " >&6; }
18055 if ${ac_cv_search_clock_gettime+:} false; then :
18056 $as_echo_n "(cached) " >&6
18057 else
18058 ac_func_search_save_LIBS=$LIBS
18059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18060 /* end confdefs.h. */
18062 /* Override any GCC internal prototype to avoid an error.
18063 Use char because int might match the return type of a GCC
18064 builtin and then its argument prototype would still apply. */
18065 #ifdef __cplusplus
18066 extern "C"
18067 #endif
18068 char clock_gettime ();
18070 main ()
18072 return clock_gettime ();
18074 return 0;
18076 _ACEOF
18077 for ac_lib in '' rt; do
18078 if test -z "$ac_lib"; then
18079 ac_res="none required"
18080 else
18081 ac_res=-l$ac_lib
18082 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18084 if ac_fn_c_try_link "$LINENO"; then :
18085 ac_cv_search_clock_gettime=$ac_res
18087 rm -f core conftest.err conftest.$ac_objext \
18088 conftest$ac_exeext
18089 if ${ac_cv_search_clock_gettime+:} false; then :
18090 break
18092 done
18093 if ${ac_cv_search_clock_gettime+:} false; then :
18095 else
18096 ac_cv_search_clock_gettime=no
18098 rm conftest.$ac_ext
18099 LIBS=$ac_func_search_save_LIBS
18101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
18102 $as_echo "$ac_cv_search_clock_gettime" >&6; }
18103 ac_res=$ac_cv_search_clock_gettime
18104 if test "$ac_res" != no; then :
18105 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18107 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
18109 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
18113 LIBS=$ac_save_LIBS
18115 esac
18117 if test "x$with_ldap" != "xno"
18118 then
18119 if ${LDAP_CFLAGS:+false} :; then :
18120 if ${PKG_CONFIG+:} false; then :
18121 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
18125 if ${LDAP_LIBS:+false} :; then :
18126 if ${PKG_CONFIG+:} false; then :
18127 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
18131 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
18132 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
18133 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
18134 ac_save_CPPFLAGS=$CPPFLAGS
18135 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
18136 for ac_header in ldap.h lber.h
18137 do :
18138 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18139 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18140 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
18141 cat >>confdefs.h <<_ACEOF
18142 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18143 _ACEOF
18147 done
18149 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
18150 then
18151 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
18153 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
18154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
18155 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
18156 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
18157 $as_echo_n "(cached) " >&6
18158 else
18159 ac_check_lib_save_LIBS=$LIBS
18160 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18162 /* end confdefs.h. */
18164 /* Override any GCC internal prototype to avoid an error.
18165 Use char because int might match the return type of a GCC
18166 builtin and then its argument prototype would still apply. */
18167 #ifdef __cplusplus
18168 extern "C"
18169 #endif
18170 char ldap_initialize ();
18172 main ()
18174 return ldap_initialize ();
18176 return 0;
18178 _ACEOF
18179 if ac_fn_c_try_link "$LINENO"; then :
18180 ac_cv_lib_ldap_r_ldap_initialize=yes
18181 else
18182 ac_cv_lib_ldap_r_ldap_initialize=no
18184 rm -f core conftest.err conftest.$ac_objext \
18185 conftest$ac_exeext conftest.$ac_ext
18186 LIBS=$ac_check_lib_save_LIBS
18188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
18189 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
18190 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
18191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
18192 $as_echo_n "checking for ber_init in -llber... " >&6; }
18193 if ${ac_cv_lib_lber_ber_init+:} false; then :
18194 $as_echo_n "(cached) " >&6
18195 else
18196 ac_check_lib_save_LIBS=$LIBS
18197 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18198 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18199 /* end confdefs.h. */
18201 /* Override any GCC internal prototype to avoid an error.
18202 Use char because int might match the return type of a GCC
18203 builtin and then its argument prototype would still apply. */
18204 #ifdef __cplusplus
18205 extern "C"
18206 #endif
18207 char ber_init ();
18209 main ()
18211 return ber_init ();
18213 return 0;
18215 _ACEOF
18216 if ac_fn_c_try_link "$LINENO"; then :
18217 ac_cv_lib_lber_ber_init=yes
18218 else
18219 ac_cv_lib_lber_ber_init=no
18221 rm -f core conftest.err conftest.$ac_objext \
18222 conftest$ac_exeext conftest.$ac_ext
18223 LIBS=$ac_check_lib_save_LIBS
18225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
18226 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
18227 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
18229 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
18231 else
18232 LDAP_LIBS=""
18235 else
18236 LDAP_LIBS=""
18239 else
18240 LDAP_LIBS=""
18243 ac_wine_check_funcs_save_LIBS="$LIBS"
18244 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
18245 for ac_func in \
18246 ldap_count_references \
18247 ldap_first_reference \
18248 ldap_next_reference \
18249 ldap_parse_reference \
18250 ldap_parse_sort_control \
18251 ldap_parse_sortresponse_control \
18252 ldap_parse_vlv_control \
18253 ldap_parse_vlvresponse_control
18254 do :
18255 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18256 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18257 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18258 cat >>confdefs.h <<_ACEOF
18259 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18260 _ACEOF
18263 done
18265 LIBS="$ac_wine_check_funcs_save_LIBS"
18266 else
18267 LDAP_LIBS=""
18269 CPPFLAGS=$ac_save_CPPFLAGS
18270 test -z "$LDAP_CFLAGS" || LDAP_CFLAGS=`echo " $LDAP_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
18271 test -z "$LDAP_LIBS" || LDAP_LIBS=`echo " $LDAP_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
18274 if test "x$LDAP_LIBS" = "x"; then :
18275 case "x$with_ldap" in
18276 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
18277 xno) ;;
18278 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
18279 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
18280 esac
18284 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
18285 $as_echo_n "checking for sched_setaffinity... " >&6; }
18286 if ${wine_cv_have_sched_setaffinity+:} false; then :
18287 $as_echo_n "(cached) " >&6
18288 else
18289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18290 /* end confdefs.h. */
18291 #define _GNU_SOURCE
18292 #include <sched.h>
18294 main ()
18296 sched_setaffinity(0, 0, 0);
18298 return 0;
18300 _ACEOF
18301 if ac_fn_c_try_link "$LINENO"; then :
18302 wine_cv_have_sched_setaffinity=yes
18303 else
18304 wine_cv_have_sched_setaffinity=no
18306 rm -f core conftest.err conftest.$ac_objext \
18307 conftest$ac_exeext conftest.$ac_ext
18309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
18310 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
18311 if test "$wine_cv_have_sched_setaffinity" = "yes"
18312 then
18314 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
18318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
18319 $as_echo_n "checking for fallocate... " >&6; }
18320 if ${wine_cv_have_fallocate+:} false; then :
18321 $as_echo_n "(cached) " >&6
18322 else
18323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18324 /* end confdefs.h. */
18325 #define _GNU_SOURCE
18326 #include <fcntl.h>
18328 main ()
18330 fallocate(-1, 0, 0, 0);
18332 return 0;
18334 _ACEOF
18335 if ac_fn_c_try_link "$LINENO"; then :
18336 wine_cv_have_fallocate=yes
18337 else
18338 wine_cv_have_fallocate=no
18340 rm -f core conftest.err conftest.$ac_objext \
18341 conftest$ac_exeext conftest.$ac_ext
18343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
18344 $as_echo "$wine_cv_have_fallocate" >&6; }
18345 if test "$wine_cv_have_fallocate" = "yes"
18346 then
18348 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
18353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
18354 $as_echo_n "checking for inline... " >&6; }
18355 if ${ac_cv_c_inline+:} false; then :
18356 $as_echo_n "(cached) " >&6
18357 else
18358 ac_cv_c_inline=no
18359 for ac_kw in inline __inline__ __inline; do
18360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18361 /* end confdefs.h. */
18362 #ifndef __cplusplus
18363 typedef int foo_t;
18364 static $ac_kw foo_t static_foo () {return 0; }
18365 $ac_kw foo_t foo () {return 0; }
18366 #endif
18368 _ACEOF
18369 if ac_fn_c_try_compile "$LINENO"; then :
18370 ac_cv_c_inline=$ac_kw
18372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18373 test "$ac_cv_c_inline" != no && break
18374 done
18377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
18378 $as_echo "$ac_cv_c_inline" >&6; }
18380 case $ac_cv_c_inline in
18381 inline | yes) ;;
18383 case $ac_cv_c_inline in
18384 no) ac_val=;;
18385 *) ac_val=$ac_cv_c_inline;;
18386 esac
18387 cat >>confdefs.h <<_ACEOF
18388 #ifndef __cplusplus
18389 #define inline $ac_val
18390 #endif
18391 _ACEOF
18393 esac
18395 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
18396 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
18398 cat >>confdefs.h <<_ACEOF
18399 #define HAVE_FSBLKCNT_T 1
18400 _ACEOF
18404 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
18405 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
18407 cat >>confdefs.h <<_ACEOF
18408 #define HAVE_FSFILCNT_T 1
18409 _ACEOF
18414 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
18415 #include <signal.h>
18417 if test "x$ac_cv_type_sigset_t" = xyes; then :
18419 cat >>confdefs.h <<_ACEOF
18420 #define HAVE_SIGSET_T 1
18421 _ACEOF
18426 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
18428 if test "x$ac_cv_type_request_sense" = xyes; then :
18430 cat >>confdefs.h <<_ACEOF
18431 #define HAVE_REQUEST_SENSE 1
18432 _ACEOF
18438 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
18439 #ifdef HAVE_SYS_SOCKET_H
18440 #include <sys/socket.h>
18441 #endif
18442 #ifdef HAVE_SYS_SOCKETVAR_H
18443 #include <sys/socketvar.h>
18444 #endif
18445 #ifdef HAVE_NET_ROUTE_H
18446 #include <net/route.h>
18447 #endif
18448 #ifdef HAVE_NETINET_IN_H
18449 #include <netinet/in.h>
18450 #endif
18451 #ifdef HAVE_NETINET_IN_SYSTM_H
18452 #include <netinet/in_systm.h>
18453 #endif
18454 #ifdef HAVE_NETINET_IP_H
18455 #include <netinet/ip.h>
18456 #endif
18457 #ifdef HAVE_NETINET_IN_PCB_H
18458 #include <netinet/in_pcb.h>
18459 #endif
18461 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
18463 cat >>confdefs.h <<_ACEOF
18464 #define HAVE_STRUCT_XINPGEN 1
18465 _ACEOF
18471 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
18472 #include <link.h>
18473 #endif
18474 #ifdef HAVE_SYS_LINK_H
18475 #include <sys/link.h>
18476 #endif
18478 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
18480 cat >>confdefs.h <<_ACEOF
18481 #define HAVE_STRUCT_R_DEBUG 1
18482 _ACEOF
18486 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
18487 #include <link.h>
18488 #endif
18489 #ifdef HAVE_SYS_LINK_H
18490 #include <sys/link.h>
18491 #endif
18493 if test "x$ac_cv_type_struct_link_map" = xyes; then :
18495 cat >>confdefs.h <<_ACEOF
18496 #define HAVE_STRUCT_LINK_MAP 1
18497 _ACEOF
18503 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
18504 #include <linux/input.h>
18505 #endif
18507 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
18509 cat >>confdefs.h <<_ACEOF
18510 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
18511 _ACEOF
18517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
18518 $as_echo_n "checking for if_nameindex... " >&6; }
18519 if ${wine_cv_have_if_nameindex+:} false; then :
18520 $as_echo_n "(cached) " >&6
18521 else
18522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18523 /* end confdefs.h. */
18524 #ifdef HAVE_SYS_TYPES_H
18525 #include <sys/types.h>
18526 #endif
18527 #ifdef HAVE_SYS_SOCKET_H
18528 #include <sys/socket.h>
18529 #endif
18530 #ifdef HAVE_NET_IF_H
18531 # include <net/if.h>
18532 #endif
18534 main ()
18536 struct if_nameindex *p = if_nameindex(); return p->if_index;
18538 return 0;
18540 _ACEOF
18541 if ac_fn_c_try_link "$LINENO"; then :
18542 wine_cv_have_if_nameindex=yes
18543 else
18544 wine_cv_have_if_nameindex=no
18546 rm -f core conftest.err conftest.$ac_objext \
18547 conftest$ac_exeext conftest.$ac_ext
18549 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
18550 $as_echo "$wine_cv_have_if_nameindex" >&6; }
18551 if test "$wine_cv_have_if_nameindex" = "yes"
18552 then
18554 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
18558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
18559 $as_echo_n "checking for sigaddset... " >&6; }
18560 if ${wine_cv_have_sigaddset+:} false; then :
18561 $as_echo_n "(cached) " >&6
18562 else
18563 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18564 /* end confdefs.h. */
18565 #include <signal.h>
18567 main ()
18569 sigset_t set; sigaddset(&set,SIGTERM);
18571 return 0;
18573 _ACEOF
18574 if ac_fn_c_try_link "$LINENO"; then :
18575 wine_cv_have_sigaddset=yes
18576 else
18577 wine_cv_have_sigaddset=no
18579 rm -f core conftest.err conftest.$ac_objext \
18580 conftest$ac_exeext conftest.$ac_ext
18582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
18583 $as_echo "$wine_cv_have_sigaddset" >&6; }
18584 if test "$wine_cv_have_sigaddset" = "yes"
18585 then
18587 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
18592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
18593 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
18594 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
18595 $as_echo_n "(cached) " >&6
18596 else
18597 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18598 /* end confdefs.h. */
18599 #include <netdb.h>
18601 main ()
18604 char *name=0;
18605 struct hostent he;
18606 struct hostent *result;
18607 char *buf=0;
18608 int bufsize=0;
18609 int errnr;
18610 char *addr=0;
18611 int addrlen=0;
18612 int addrtype=0;
18613 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
18614 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
18617 return 0;
18619 _ACEOF
18620 if ac_fn_c_try_link "$LINENO"; then :
18621 wine_cv_linux_gethostbyname_r_6=yes
18622 else
18623 wine_cv_linux_gethostbyname_r_6=no
18626 rm -f core conftest.err conftest.$ac_objext \
18627 conftest$ac_exeext conftest.$ac_ext
18630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
18631 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
18632 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
18633 then
18635 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
18639 if test "$ac_cv_header_linux_joystick_h" = "yes"
18640 then
18641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
18642 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
18643 if ${wine_cv_linux_joystick_22_api+:} false; then :
18644 $as_echo_n "(cached) " >&6
18645 else
18646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18647 /* end confdefs.h. */
18649 #include <sys/ioctl.h>
18650 #include <sys/types.h>
18651 #include <linux/joystick.h>
18653 struct js_event blub;
18654 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
18655 #error "no 2.2 header"
18656 #endif
18659 main ()
18661 /*empty*/
18663 return 0;
18665 _ACEOF
18666 if ac_fn_c_try_compile "$LINENO"; then :
18667 wine_cv_linux_joystick_22_api=yes
18668 else
18669 wine_cv_linux_joystick_22_api=no
18671 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
18675 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
18676 if test "$wine_cv_linux_joystick_22_api" = "yes"
18677 then
18679 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
18685 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
18686 #ifdef HAVE_SYS_PARAM_H
18687 # include <sys/param.h>
18688 #endif
18689 #ifdef HAVE_SYS_MOUNT_H
18690 # include <sys/mount.h>
18691 #endif
18692 #ifdef HAVE_SYS_VFS_H
18693 # include <sys/vfs.h>
18694 #endif
18695 #ifdef HAVE_SYS_STATFS_H
18696 # include <sys/statfs.h>
18697 #endif
18699 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
18701 cat >>confdefs.h <<_ACEOF
18702 #define HAVE_STRUCT_STATFS_F_BFREE 1
18703 _ACEOF
18707 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
18708 #ifdef HAVE_SYS_PARAM_H
18709 # include <sys/param.h>
18710 #endif
18711 #ifdef HAVE_SYS_MOUNT_H
18712 # include <sys/mount.h>
18713 #endif
18714 #ifdef HAVE_SYS_VFS_H
18715 # include <sys/vfs.h>
18716 #endif
18717 #ifdef HAVE_SYS_STATFS_H
18718 # include <sys/statfs.h>
18719 #endif
18721 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
18723 cat >>confdefs.h <<_ACEOF
18724 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
18725 _ACEOF
18729 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
18730 #ifdef HAVE_SYS_PARAM_H
18731 # include <sys/param.h>
18732 #endif
18733 #ifdef HAVE_SYS_MOUNT_H
18734 # include <sys/mount.h>
18735 #endif
18736 #ifdef HAVE_SYS_VFS_H
18737 # include <sys/vfs.h>
18738 #endif
18739 #ifdef HAVE_SYS_STATFS_H
18740 # include <sys/statfs.h>
18741 #endif
18743 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
18745 cat >>confdefs.h <<_ACEOF
18746 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
18747 _ACEOF
18751 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
18752 #ifdef HAVE_SYS_PARAM_H
18753 # include <sys/param.h>
18754 #endif
18755 #ifdef HAVE_SYS_MOUNT_H
18756 # include <sys/mount.h>
18757 #endif
18758 #ifdef HAVE_SYS_VFS_H
18759 # include <sys/vfs.h>
18760 #endif
18761 #ifdef HAVE_SYS_STATFS_H
18762 # include <sys/statfs.h>
18763 #endif
18765 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
18767 cat >>confdefs.h <<_ACEOF
18768 #define HAVE_STRUCT_STATFS_F_FFREE 1
18769 _ACEOF
18773 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
18774 #ifdef HAVE_SYS_PARAM_H
18775 # include <sys/param.h>
18776 #endif
18777 #ifdef HAVE_SYS_MOUNT_H
18778 # include <sys/mount.h>
18779 #endif
18780 #ifdef HAVE_SYS_VFS_H
18781 # include <sys/vfs.h>
18782 #endif
18783 #ifdef HAVE_SYS_STATFS_H
18784 # include <sys/statfs.h>
18785 #endif
18787 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
18789 cat >>confdefs.h <<_ACEOF
18790 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
18791 _ACEOF
18795 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
18796 #ifdef HAVE_SYS_PARAM_H
18797 # include <sys/param.h>
18798 #endif
18799 #ifdef HAVE_SYS_MOUNT_H
18800 # include <sys/mount.h>
18801 #endif
18802 #ifdef HAVE_SYS_VFS_H
18803 # include <sys/vfs.h>
18804 #endif
18805 #ifdef HAVE_SYS_STATFS_H
18806 # include <sys/statfs.h>
18807 #endif
18809 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
18811 cat >>confdefs.h <<_ACEOF
18812 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
18813 _ACEOF
18819 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
18820 #include <sys/statvfs.h>
18821 #endif
18823 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
18825 cat >>confdefs.h <<_ACEOF
18826 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
18827 _ACEOF
18833 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
18834 #include <dirent.h>
18835 #endif
18837 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
18839 cat >>confdefs.h <<_ACEOF
18840 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
18841 _ACEOF
18847 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
18848 #ifdef HAVE_SYS_SOCKET_H
18849 # include <sys/socket.h>
18850 #endif
18851 #ifdef HAVE_SYS_UN_H
18852 # include <sys/un.h>
18853 #endif
18855 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
18857 cat >>confdefs.h <<_ACEOF
18858 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
18859 _ACEOF
18863 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
18864 #ifdef HAVE_SYS_SOCKET_H
18865 # include <sys/socket.h>
18866 #endif
18867 #ifdef HAVE_SYS_UN_H
18868 # include <sys/un.h>
18869 #endif
18871 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
18873 cat >>confdefs.h <<_ACEOF
18874 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
18875 _ACEOF
18879 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
18880 #ifdef HAVE_SYS_SOCKET_H
18881 # include <sys/socket.h>
18882 #endif
18883 #ifdef HAVE_SYS_UN_H
18884 # include <sys/un.h>
18885 #endif
18887 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
18889 cat >>confdefs.h <<_ACEOF
18890 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
18891 _ACEOF
18897 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
18898 #ifdef HAVE_SCSI_SG_H
18899 #include <scsi/sg.h>
18900 #endif
18902 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
18904 cat >>confdefs.h <<_ACEOF
18905 #define HAVE_SCSIREQ_T_CMD 1
18906 _ACEOF
18910 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>
18911 #ifdef HAVE_SCSI_SG_H
18912 #include <scsi/sg.h>
18913 #endif
18915 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
18917 cat >>confdefs.h <<_ACEOF
18918 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
18919 _ACEOF
18925 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
18927 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
18929 cat >>confdefs.h <<_ACEOF
18930 #define HAVE_SIGINFO_T_SI_FD 1
18931 _ACEOF
18937 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
18938 #ifdef HAVE_SYS_MTIO_H
18939 #include <sys/mtio.h>
18940 #endif
18942 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
18944 cat >>confdefs.h <<_ACEOF
18945 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
18946 _ACEOF
18950 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
18951 #ifdef HAVE_SYS_MTIO_H
18952 #include <sys/mtio.h>
18953 #endif
18955 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
18957 cat >>confdefs.h <<_ACEOF
18958 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
18959 _ACEOF
18963 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
18964 #ifdef HAVE_SYS_MTIO_H
18965 #include <sys/mtio.h>
18966 #endif
18968 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
18970 cat >>confdefs.h <<_ACEOF
18971 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
18972 _ACEOF
18978 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
18979 #include <getopt.h>
18980 #endif
18982 if test "x$ac_cv_member_struct_option_name" = xyes; then :
18984 cat >>confdefs.h <<_ACEOF
18985 #define HAVE_STRUCT_OPTION_NAME 1
18986 _ACEOF
18992 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
18993 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
18995 cat >>confdefs.h <<_ACEOF
18996 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
18997 _ACEOF
19001 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
19002 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
19004 cat >>confdefs.h <<_ACEOF
19005 #define HAVE_STRUCT_STAT_ST_MTIM 1
19006 _ACEOF
19010 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
19011 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
19013 cat >>confdefs.h <<_ACEOF
19014 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
19015 _ACEOF
19019 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
19020 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
19022 cat >>confdefs.h <<_ACEOF
19023 #define HAVE_STRUCT_STAT_ST_CTIM 1
19024 _ACEOF
19028 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
19029 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
19031 cat >>confdefs.h <<_ACEOF
19032 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
19033 _ACEOF
19037 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
19038 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
19040 cat >>confdefs.h <<_ACEOF
19041 #define HAVE_STRUCT_STAT_ST_ATIM 1
19042 _ACEOF
19046 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
19047 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
19049 cat >>confdefs.h <<_ACEOF
19050 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
19051 _ACEOF
19055 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
19056 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
19058 cat >>confdefs.h <<_ACEOF
19059 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
19060 _ACEOF
19064 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
19065 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
19067 cat >>confdefs.h <<_ACEOF
19068 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
19069 _ACEOF
19073 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
19074 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
19076 cat >>confdefs.h <<_ACEOF
19077 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
19078 _ACEOF
19082 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
19083 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
19085 cat >>confdefs.h <<_ACEOF
19086 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
19087 _ACEOF
19091 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
19092 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
19094 cat >>confdefs.h <<_ACEOF
19095 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
19096 _ACEOF
19102 ac_fn_c_check_member "$LINENO" "struct sockaddr_in6" "sin6_scope_id" "ac_cv_member_struct_sockaddr_in6_sin6_scope_id" "#ifdef HAVE_SYS_TYPES_H
19103 #include <sys/types.h>
19104 #endif
19105 #ifdef HAVE_NETINET_IN_H
19106 #include <netinet/in.h>
19107 #endif
19109 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
19111 cat >>confdefs.h <<_ACEOF
19112 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
19113 _ACEOF
19119 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
19120 #include <sys/types.h>
19121 #endif
19122 #ifdef HAVE_NETINET_IN_H
19123 #include <netinet/in.h>
19124 #endif
19125 #ifdef HAVE_RESOLV_H
19126 #include <resolv.h>
19127 #endif
19129 if test "x$ac_cv_type_struct___res_state" = xyes; then :
19131 cat >>confdefs.h <<_ACEOF
19132 #define HAVE_STRUCT___RES_STATE 1
19133 _ACEOF
19139 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
19140 #include <resolv.h>
19141 #endif
19143 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
19145 cat >>confdefs.h <<_ACEOF
19146 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
19147 _ACEOF
19153 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
19154 #include <sys/types.h>
19155 #endif
19156 #ifdef HAVE_NETINET_IN_H
19157 # include <netinet/in.h>
19158 #endif
19159 #ifdef HAVE_ARPA_NAMESER_H
19160 # include <arpa/nameser.h>
19161 #endif
19163 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
19165 cat >>confdefs.h <<_ACEOF
19166 #define HAVE_NS_MSG__MSG_PTR 1
19167 _ACEOF
19173 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
19174 #include <sys/types.h>
19175 #endif
19176 #ifdef HAVE_NETINET_IN_H
19177 #include <netinet/in.h>
19178 #endif
19179 #ifdef HAVE_NETINET_IP_H
19180 #include <netinet/ip.h>
19181 #endif
19182 #ifdef HAVE_NETINET_IP_ICMP_H
19183 #include <netinet/ip_icmp.h>
19184 #endif
19185 #ifdef HAVE_NETINET_ICMP_VAR_H
19186 #include <netinet/icmp_var.h>
19187 #endif
19189 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
19191 cat >>confdefs.h <<_ACEOF
19192 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
19193 _ACEOF
19199 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
19200 #include <sys/types.h>
19201 #endif
19202 #ifdef HAVE_ALIAS_H
19203 #include <alias.h>
19204 #endif
19205 #ifdef HAVE_SYS_SOCKET_H
19206 #include <sys/socket.h>
19207 #endif
19208 #ifdef HAVE_SYS_SOCKETVAR_H
19209 #include <sys/socketvar.h>
19210 #endif
19211 #ifdef HAVE_SYS_TIMEOUT_H
19212 #include <sys/timeout.h>
19213 #endif
19214 #ifdef HAVE_NETINET_IN_H
19215 #include <netinet/in.h>
19216 #endif
19217 #ifdef HAVE_NETINET_IN_SYSTM_H
19218 #include <netinet/in_systm.h>
19219 #endif
19220 #ifdef HAVE_NETINET_IP_H
19221 #include <netinet/ip.h>
19222 #endif
19223 #ifdef HAVE_NETINET_IP_VAR_H
19224 #include <netinet/ip_var.h>
19225 #endif
19226 #ifdef HAVE_NETINET_IP_ICMP_H
19227 #include <netinet/ip_icmp.h>
19228 #endif
19229 #ifdef HAVE_NETINET_ICMP_VAR_H
19230 #include <netinet/icmp_var.h>
19231 #endif
19233 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
19235 cat >>confdefs.h <<_ACEOF
19236 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
19237 _ACEOF
19243 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
19244 #include <sys/types.h>
19245 #endif
19246 #ifdef HAVE_SYS_SOCKETVAR_H
19247 #include <sys/socketvar.h>
19248 #endif
19249 #ifdef HAVE_NETINET_IN_H
19250 #include <netinet/in.h>
19251 #endif
19252 #ifdef HAVE_NETINET_IP_VAR_H
19253 #include <netinet/ip_var.h>
19254 #endif
19256 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
19258 cat >>confdefs.h <<_ACEOF
19259 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
19260 _ACEOF
19266 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
19267 #include <netinet/ip_var.h>
19268 #endif
19270 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
19272 cat >>confdefs.h <<_ACEOF
19273 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
19274 _ACEOF
19280 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
19281 #include <sys/types.h>
19282 #endif
19283 #ifdef HAVE_SYS_SOCKETVAR_H
19284 #include <sys/socketvar.h>
19285 #endif
19286 #ifdef HAVE_NETINET_IN_H
19287 #include <netinet/in.h>
19288 #endif
19289 #ifdef HAVE_NETINET_TCP_H
19290 #include <netinet/tcp.h>
19291 #endif
19292 #ifdef HAVE_NETINET_TCP_VAR_H
19293 #include <netinet/tcp_var.h>
19294 #endif
19296 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
19298 cat >>confdefs.h <<_ACEOF
19299 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
19300 _ACEOF
19306 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
19307 #include <netinet/tcp_var.h>
19308 #endif
19310 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
19312 cat >>confdefs.h <<_ACEOF
19313 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
19314 _ACEOF
19320 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
19321 #include <sys/types.h>
19322 #endif
19323 #ifdef HAVE_NETINET_IN_H
19324 #include <netinet/in.h>
19325 #endif
19326 #ifdef HAVE_NETINET_IP_VAR_H
19327 #include <netinet/ip_var.h>
19328 #endif
19329 #ifdef HAVE_NETINET_UDP_H
19330 #include <netinet/udp.h>
19331 #endif
19332 #ifdef HAVE_NETINET_UDP_VAR_H
19333 #include <netinet/udp_var.h>
19334 #endif
19336 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
19338 cat >>confdefs.h <<_ACEOF
19339 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
19340 _ACEOF
19346 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
19347 #include <sys/types.h>
19348 #endif
19349 #ifdef HAVE_NET_IF_H
19350 # include <net/if.h>
19351 #endif
19353 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
19355 cat >>confdefs.h <<_ACEOF
19356 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
19357 _ACEOF
19363 ac_save_LIBS="$LIBS"
19364 LIBS="$LIBS -lm"
19365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
19366 $as_echo_n "checking for isfinite... " >&6; }
19367 if ${ac_cv_have_isfinite+:} false; then :
19368 $as_echo_n "(cached) " >&6
19369 else
19370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19371 /* end confdefs.h. */
19372 #define _GNU_SOURCE
19373 #include <math.h>
19375 main ()
19377 float f = 0.0; return isfinite(f)
19379 return 0;
19381 _ACEOF
19382 if ac_fn_c_try_link "$LINENO"; then :
19383 ac_cv_have_isfinite="yes"
19384 else
19385 ac_cv_have_isfinite="no"
19387 rm -f core conftest.err conftest.$ac_objext \
19388 conftest$ac_exeext conftest.$ac_ext
19390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
19391 $as_echo "$ac_cv_have_isfinite" >&6; }
19392 if test "$ac_cv_have_isfinite" = "yes"
19393 then
19395 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
19399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
19400 $as_echo_n "checking for isinf... " >&6; }
19401 if ${ac_cv_have_isinf+:} false; then :
19402 $as_echo_n "(cached) " >&6
19403 else
19404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19405 /* end confdefs.h. */
19406 #include <math.h>
19408 main ()
19410 float f = 0.0; return isinf(f)
19412 return 0;
19414 _ACEOF
19415 if ac_fn_c_try_link "$LINENO"; then :
19416 ac_cv_have_isinf="yes"
19417 else
19418 ac_cv_have_isinf="no"
19420 rm -f core conftest.err conftest.$ac_objext \
19421 conftest$ac_exeext conftest.$ac_ext
19423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
19424 $as_echo "$ac_cv_have_isinf" >&6; }
19425 if test "$ac_cv_have_isinf" = "yes"
19426 then
19428 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
19432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
19433 $as_echo_n "checking for isnan... " >&6; }
19434 if ${ac_cv_have_isnan+:} false; then :
19435 $as_echo_n "(cached) " >&6
19436 else
19437 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19438 /* end confdefs.h. */
19439 #include <math.h>
19441 main ()
19443 float f = 0.0; return isnan(f)
19445 return 0;
19447 _ACEOF
19448 if ac_fn_c_try_link "$LINENO"; then :
19449 ac_cv_have_isnan="yes"
19450 else
19451 ac_cv_have_isnan="no"
19453 rm -f core conftest.err conftest.$ac_objext \
19454 conftest$ac_exeext conftest.$ac_ext
19456 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
19457 $as_echo "$ac_cv_have_isnan" >&6; }
19458 if test "$ac_cv_have_isnan" = "yes"
19459 then
19461 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
19465 for ac_func in \
19466 acosh \
19467 acoshf \
19468 asinh \
19469 asinhf \
19470 atanh \
19471 atanhf \
19472 cbrt \
19473 cbrtf \
19474 erf \
19475 erfc \
19476 erfcf \
19477 erff \
19478 exp2 \
19479 exp2f \
19480 expm1 \
19481 expm1f \
19482 fma \
19483 fmaf \
19484 ilogb \
19485 ilogbf \
19486 j0 \
19487 j1 \
19488 jn \
19489 lgamma \
19490 lgammaf \
19491 llrint \
19492 llrintf \
19493 llround \
19494 llroundf \
19495 log1p \
19496 log1pf \
19497 log2 \
19498 log2f \
19499 lrint \
19500 lrintf \
19501 lround \
19502 lroundf \
19503 nearbyint \
19504 nearbyintf \
19505 nexttoward \
19506 nexttowardf \
19507 powl \
19508 remainder \
19509 remainderf \
19510 remquo \
19511 remquof \
19512 rint \
19513 rintf \
19514 round \
19515 roundf \
19516 tgamma \
19517 tgammaf \
19518 trunc \
19519 truncf \
19520 y0 \
19521 y1 \
19524 do :
19525 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19526 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
19527 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
19528 cat >>confdefs.h <<_ACEOF
19529 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19530 _ACEOF
19533 done
19535 LIBS="$ac_save_LIBS"
19537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
19538 $as_echo_n "checking for __builtin_popcount... " >&6; }
19539 if ${ac_cv_have___builtin_popcount+:} false; then :
19540 $as_echo_n "(cached) " >&6
19541 else
19542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19543 /* end confdefs.h. */
19546 main ()
19548 return __builtin_popcount(1)
19550 return 0;
19552 _ACEOF
19553 if ac_fn_c_try_link "$LINENO"; then :
19554 ac_cv_have___builtin_popcount="yes"
19555 else
19556 ac_cv_have___builtin_popcount="no"
19558 rm -f core conftest.err conftest.$ac_objext \
19559 conftest$ac_exeext conftest.$ac_ext
19561 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
19562 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
19563 if test "$ac_cv_have___builtin_popcount" = "yes"
19564 then
19566 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
19570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
19571 $as_echo_n "checking for __clear_cache... " >&6; }
19572 if ${ac_cv_have___clear_cache+:} false; then :
19573 $as_echo_n "(cached) " >&6
19574 else
19575 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19576 /* end confdefs.h. */
19579 main ()
19581 __clear_cache((void*)0, (void*)0); return 0;
19583 return 0;
19585 _ACEOF
19586 if ac_fn_c_try_link "$LINENO"; then :
19587 ac_cv_have___clear_cache="yes"
19588 else
19589 ac_cv_have___clear_cache="no"
19591 rm -f core conftest.err conftest.$ac_objext \
19592 conftest$ac_exeext conftest.$ac_ext
19594 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
19595 $as_echo "$ac_cv_have___clear_cache" >&6; }
19596 if test "$ac_cv_have___clear_cache" = "yes"
19597 then
19599 $as_echo "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
19604 case $host_cpu in
19605 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
19606 $as_echo_n "checking whether we need to define __i386__... " >&6; }
19607 if ${ac_cv_cpp_def___i386__+:} false; then :
19608 $as_echo_n "(cached) " >&6
19609 else
19610 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19611 /* end confdefs.h. */
19612 #ifndef __i386__
19614 #endif
19615 _ACEOF
19616 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19617 $EGREP "yes" >/dev/null 2>&1; then :
19618 ac_cv_cpp_def___i386__=yes
19619 else
19620 ac_cv_cpp_def___i386__=no
19622 rm -f conftest*
19625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
19626 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
19627 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
19628 CFLAGS="$CFLAGS -D__i386__"
19629 LINTFLAGS="$LINTFLAGS -D__i386__"
19630 fi ;;
19631 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
19632 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
19633 if ${ac_cv_cpp_def___x86_64__+:} false; then :
19634 $as_echo_n "(cached) " >&6
19635 else
19636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19637 /* end confdefs.h. */
19638 #ifndef __x86_64__
19640 #endif
19641 _ACEOF
19642 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19643 $EGREP "yes" >/dev/null 2>&1; then :
19644 ac_cv_cpp_def___x86_64__=yes
19645 else
19646 ac_cv_cpp_def___x86_64__=no
19648 rm -f conftest*
19651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
19652 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
19653 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
19654 CFLAGS="$CFLAGS -D__x86_64__"
19655 LINTFLAGS="$LINTFLAGS -D__x86_64__"
19656 fi ;;
19657 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
19658 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
19659 if ${ac_cv_cpp_def___sparc64__+:} false; then :
19660 $as_echo_n "(cached) " >&6
19661 else
19662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19663 /* end confdefs.h. */
19664 #ifndef __sparc64__
19666 #endif
19667 _ACEOF
19668 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19669 $EGREP "yes" >/dev/null 2>&1; then :
19670 ac_cv_cpp_def___sparc64__=yes
19671 else
19672 ac_cv_cpp_def___sparc64__=no
19674 rm -f conftest*
19677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
19678 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
19679 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
19680 CFLAGS="$CFLAGS -D__sparc64__"
19681 LINTFLAGS="$LINTFLAGS -D__sparc64__"
19682 fi ;;
19683 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
19684 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
19685 if ${ac_cv_cpp_def___sparc__+:} false; then :
19686 $as_echo_n "(cached) " >&6
19687 else
19688 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19689 /* end confdefs.h. */
19690 #ifndef __sparc__
19692 #endif
19693 _ACEOF
19694 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19695 $EGREP "yes" >/dev/null 2>&1; then :
19696 ac_cv_cpp_def___sparc__=yes
19697 else
19698 ac_cv_cpp_def___sparc__=no
19700 rm -f conftest*
19703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
19704 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
19705 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
19706 CFLAGS="$CFLAGS -D__sparc__"
19707 LINTFLAGS="$LINTFLAGS -D__sparc__"
19708 fi ;;
19709 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
19710 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
19711 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
19712 $as_echo_n "(cached) " >&6
19713 else
19714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19715 /* end confdefs.h. */
19716 #ifndef __powerpc64__
19718 #endif
19719 _ACEOF
19720 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19721 $EGREP "yes" >/dev/null 2>&1; then :
19722 ac_cv_cpp_def___powerpc64__=yes
19723 else
19724 ac_cv_cpp_def___powerpc64__=no
19726 rm -f conftest*
19729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
19730 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
19731 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
19732 CFLAGS="$CFLAGS -D__powerpc64__"
19733 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
19734 fi ;;
19735 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
19736 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
19737 if ${ac_cv_cpp_def___powerpc__+:} false; then :
19738 $as_echo_n "(cached) " >&6
19739 else
19740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19741 /* end confdefs.h. */
19742 #ifndef __powerpc__
19744 #endif
19745 _ACEOF
19746 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19747 $EGREP "yes" >/dev/null 2>&1; then :
19748 ac_cv_cpp_def___powerpc__=yes
19749 else
19750 ac_cv_cpp_def___powerpc__=no
19752 rm -f conftest*
19755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
19756 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
19757 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
19758 CFLAGS="$CFLAGS -D__powerpc__"
19759 LINTFLAGS="$LINTFLAGS -D__powerpc__"
19760 fi ;;
19761 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
19762 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
19763 if ${ac_cv_cpp_def___aarch64__+:} false; then :
19764 $as_echo_n "(cached) " >&6
19765 else
19766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19767 /* end confdefs.h. */
19768 #ifndef __aarch64__
19770 #endif
19771 _ACEOF
19772 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19773 $EGREP "yes" >/dev/null 2>&1; then :
19774 ac_cv_cpp_def___aarch64__=yes
19775 else
19776 ac_cv_cpp_def___aarch64__=no
19778 rm -f conftest*
19781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
19782 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
19783 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
19784 CFLAGS="$CFLAGS -D__aarch64__"
19785 LINTFLAGS="$LINTFLAGS -D__aarch64__"
19786 fi ;;
19787 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
19788 $as_echo_n "checking whether we need to define __arm__... " >&6; }
19789 if ${ac_cv_cpp_def___arm__+:} false; then :
19790 $as_echo_n "(cached) " >&6
19791 else
19792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19793 /* end confdefs.h. */
19794 #ifndef __arm__
19796 #endif
19797 _ACEOF
19798 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19799 $EGREP "yes" >/dev/null 2>&1; then :
19800 ac_cv_cpp_def___arm__=yes
19801 else
19802 ac_cv_cpp_def___arm__=no
19804 rm -f conftest*
19807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
19808 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
19809 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
19810 CFLAGS="$CFLAGS -D__arm__"
19811 LINTFLAGS="$LINTFLAGS -D__arm__"
19812 fi ;;
19813 esac
19815 case $host_vendor in
19816 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
19817 $as_echo_n "checking whether we need to define __sun__... " >&6; }
19818 if ${ac_cv_cpp_def___sun__+:} false; then :
19819 $as_echo_n "(cached) " >&6
19820 else
19821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19822 /* end confdefs.h. */
19823 #ifndef __sun__
19825 #endif
19826 _ACEOF
19827 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19828 $EGREP "yes" >/dev/null 2>&1; then :
19829 ac_cv_cpp_def___sun__=yes
19830 else
19831 ac_cv_cpp_def___sun__=no
19833 rm -f conftest*
19836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
19837 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
19838 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
19839 CFLAGS="$CFLAGS -D__sun__"
19840 LINTFLAGS="$LINTFLAGS -D__sun__"
19841 fi ;;
19842 esac
19848 ac_config_commands="$ac_config_commands include/stamp-h"
19850 $as_echo_n "creating Makefile rules..." >&6
19852 ALL_VARS_RULES="I386_LIBS = $I386_LIBS
19853 OPENGL_LIBS = $OPENGL_LIBS
19854 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
19855 IOKIT_LIBS = $IOKIT_LIBS
19856 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
19857 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
19858 CORESERVICES_LIBS = $CORESERVICES_LIBS
19859 APPKIT_LIBS = $APPKIT_LIBS
19860 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
19861 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
19862 SECURITY_LIBS = $SECURITY_LIBS
19863 COREAUDIO_LIBS = $COREAUDIO_LIBS
19864 OPENAL_LIBS = $OPENAL_LIBS
19865 OPENCL_LIBS = $OPENCL_LIBS
19866 QUICKTIME_LIBS = $QUICKTIME_LIBS
19867 CARBON_LIBS = $CARBON_LIBS
19868 METAL_LIBS = $METAL_LIBS
19869 PTHREAD_LIBS = $PTHREAD_LIBS
19870 X_CFLAGS = $X_CFLAGS
19871 X_PRE_LIBS = $X_PRE_LIBS
19872 X_LIBS = $X_LIBS
19873 X_EXTRA_LIBS = $X_EXTRA_LIBS
19874 PCAP_LIBS = $PCAP_LIBS
19875 XML2_CFLAGS = $XML2_CFLAGS
19876 XML2_LIBS = $XML2_LIBS
19877 XSLT_CFLAGS = $XSLT_CFLAGS
19878 XSLT_LIBS = $XSLT_LIBS
19879 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
19880 INOTIFY_LIBS = $INOTIFY_LIBS
19881 DBUS_CFLAGS = $DBUS_CFLAGS
19882 DBUS_LIBS = $DBUS_LIBS
19883 HAL_CFLAGS = $HAL_CFLAGS
19884 HAL_LIBS = $HAL_LIBS
19885 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
19886 GNUTLS_LIBS = $GNUTLS_LIBS
19887 SANE_CFLAGS = $SANE_CFLAGS
19888 SANE_LIBS = $SANE_LIBS
19889 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
19890 GPHOTO2_LIBS = $GPHOTO2_LIBS
19891 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
19892 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
19893 RESOLV_LIBS = $RESOLV_LIBS
19894 LCMS2_CFLAGS = $LCMS2_CFLAGS
19895 LCMS2_LIBS = $LCMS2_LIBS
19896 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
19897 FREETYPE_LIBS = $FREETYPE_LIBS
19898 Z_CFLAGS = $Z_CFLAGS
19899 Z_LIBS = $Z_LIBS
19900 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
19901 PULSE_CFLAGS = $PULSE_CFLAGS
19902 PULSE_LIBS = $PULSE_LIBS
19903 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
19904 GSTREAMER_LIBS = $GSTREAMER_LIBS
19905 ALSA_LIBS = $ALSA_LIBS
19906 OSS4_CFLAGS = $OSS4_CFLAGS
19907 OSS4_LIBS = $OSS4_LIBS
19908 UDEV_CFLAGS = $UDEV_CFLAGS
19909 UDEV_LIBS = $UDEV_LIBS
19910 UNWIND_CFLAGS = $UNWIND_CFLAGS
19911 UNWIND_LIBS = $UNWIND_LIBS
19912 SDL2_CFLAGS = $SDL2_CFLAGS
19913 SDL2_LIBS = $SDL2_LIBS
19914 FAUDIO_CFLAGS = $FAUDIO_CFLAGS
19915 FAUDIO_LIBS = $FAUDIO_LIBS
19916 CAPI20_CFLAGS = $CAPI20_CFLAGS
19917 CAPI20_LIBS = $CAPI20_LIBS
19918 CUPS_CFLAGS = $CUPS_CFLAGS
19919 CUPS_LIBS = $CUPS_LIBS
19920 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
19921 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
19922 KRB5_CFLAGS = $KRB5_CFLAGS
19923 KRB5_LIBS = $KRB5_LIBS
19924 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
19925 GSSAPI_LIBS = $GSSAPI_LIBS
19926 JPEG_CFLAGS = $JPEG_CFLAGS
19927 JPEG_LIBS = $JPEG_LIBS
19928 PNG_CFLAGS = $PNG_CFLAGS
19929 PNG_LIBS = $PNG_LIBS
19930 TIFF_CFLAGS = $TIFF_CFLAGS
19931 TIFF_LIBS = $TIFF_LIBS
19932 MPG123_CFLAGS = $MPG123_CFLAGS
19933 MPG123_LIBS = $MPG123_LIBS
19934 KSTAT_LIBS = $KSTAT_LIBS
19935 PROCSTAT_LIBS = $PROCSTAT_LIBS
19936 NETAPI_CFLAGS = $NETAPI_CFLAGS
19937 NETAPI_LIBS = $NETAPI_LIBS
19938 VKD3D_CFLAGS = $VKD3D_CFLAGS
19939 VKD3D_LIBS = $VKD3D_LIBS
19940 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
19941 DL_LIBS = $DL_LIBS
19942 POLL_LIBS = $POLL_LIBS
19943 RT_LIBS = $RT_LIBS
19944 LDAP_CFLAGS = $LDAP_CFLAGS
19945 LDAP_LIBS = $LDAP_LIBS
19950 wine_fn_append_rule "
19951 # Rules automatically generated by configure
19953 .INIT: Makefile
19954 .MAKEFILEDEPS:
19955 all: Makefile
19956 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
19957 @./config.status Make.tmp Makefile
19958 depend: \$(MAKEDEP) dummy
19959 \$(MAKEDEP)"
19961 ac_config_links="$ac_config_links wine:tools/winewrapper"
19962 wine_fn_config_symlink wine
19963 if test "x$enable_win64" != xno -o -n "$with_wine64"; then
19964 ac_config_links="$ac_config_links wine64:tools/winewrapper"
19965 wine_fn_config_symlink wine64
19968 wine_fn_config_makefile dlls/acledit enable_acledit
19969 wine_fn_config_makefile dlls/aclui enable_aclui
19970 wine_fn_config_makefile dlls/activeds enable_activeds
19971 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
19972 wine_fn_config_makefile dlls/adsiid enable_adsiid
19973 wine_fn_config_makefile dlls/adsldp enable_adsldp
19974 wine_fn_config_makefile dlls/adsldp/tests enable_tests
19975 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
19976 wine_fn_config_makefile dlls/advapi32 enable_advapi32
19977 wine_fn_config_makefile dlls/advapi32/tests enable_tests
19978 wine_fn_config_makefile dlls/advpack enable_advpack
19979 wine_fn_config_makefile dlls/advpack/tests enable_tests
19980 wine_fn_config_makefile dlls/amsi enable_amsi
19981 wine_fn_config_makefile dlls/amstream enable_amstream
19982 wine_fn_config_makefile dlls/amstream/tests enable_tests
19983 wine_fn_config_makefile dlls/api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
19984 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
19985 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
19986 wine_fn_config_makefile dlls/api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
19987 wine_fn_config_makefile dlls/api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
19988 wine_fn_config_makefile dlls/api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
19989 wine_fn_config_makefile dlls/api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
19990 wine_fn_config_makefile dlls/api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
19991 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
19992 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
19993 wine_fn_config_makefile dlls/api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
19994 wine_fn_config_makefile dlls/api-ms-win-core-comm-l1-1-0 enable_api_ms_win_core_comm_l1_1_0
19995 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
19996 wine_fn_config_makefile dlls/api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
19997 wine_fn_config_makefile dlls/api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
19998 wine_fn_config_makefile dlls/api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
19999 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
20000 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
20001 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
20002 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
20003 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
20004 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
20005 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
20006 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
20007 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
20008 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
20009 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
20010 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
20011 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
20012 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
20013 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
20014 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
20015 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
20016 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
20017 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
20018 wine_fn_config_makefile dlls/api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
20019 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
20020 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
20021 wine_fn_config_makefile dlls/api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
20022 wine_fn_config_makefile dlls/api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
20023 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
20024 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
20025 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
20026 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
20027 wine_fn_config_makefile dlls/api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
20028 wine_fn_config_makefile dlls/api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
20029 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
20030 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
20031 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
20032 wine_fn_config_makefile dlls/api-ms-win-core-largeinteger-l1-1-0 enable_api_ms_win_core_largeinteger_l1_1_0
20033 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
20034 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
20035 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
20036 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
20037 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
20038 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
20039 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
20040 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
20041 wine_fn_config_makefile dlls/api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
20042 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
20043 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
20044 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
20045 wine_fn_config_makefile dlls/api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
20046 wine_fn_config_makefile dlls/api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
20047 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
20048 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
20049 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
20050 wine_fn_config_makefile dlls/api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
20051 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
20052 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
20053 wine_fn_config_makefile dlls/api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
20054 wine_fn_config_makefile dlls/api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
20055 wine_fn_config_makefile dlls/api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
20056 wine_fn_config_makefile dlls/api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
20057 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
20058 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
20059 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
20060 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
20061 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
20062 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-3 enable_api_ms_win_core_processthreads_l1_1_3
20063 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
20064 wine_fn_config_makefile dlls/api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
20065 wine_fn_config_makefile dlls/api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
20066 wine_fn_config_makefile dlls/api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
20067 wine_fn_config_makefile dlls/api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
20068 wine_fn_config_makefile dlls/api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
20069 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
20070 wine_fn_config_makefile dlls/api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
20071 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
20072 wine_fn_config_makefile dlls/api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
20073 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
20074 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
20075 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
20076 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
20077 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
20078 wine_fn_config_makefile dlls/api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
20079 wine_fn_config_makefile dlls/api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
20080 wine_fn_config_makefile dlls/api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
20081 wine_fn_config_makefile dlls/api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
20082 wine_fn_config_makefile dlls/api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
20083 wine_fn_config_makefile dlls/api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
20084 wine_fn_config_makefile dlls/api-ms-win-core-stringloader-l1-1-1 enable_api_ms_win_core_stringloader_l1_1_1
20085 wine_fn_config_makefile dlls/api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
20086 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
20087 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
20088 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
20089 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
20090 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
20091 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
20092 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
20093 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
20094 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
20095 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
20096 wine_fn_config_makefile dlls/api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
20097 wine_fn_config_makefile dlls/api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
20098 wine_fn_config_makefile dlls/api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
20099 wine_fn_config_makefile dlls/api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
20100 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
20101 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
20102 wine_fn_config_makefile dlls/api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
20103 wine_fn_config_makefile dlls/api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
20104 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
20105 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
20106 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
20107 wine_fn_config_makefile dlls/api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
20108 wine_fn_config_makefile dlls/api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
20109 wine_fn_config_makefile dlls/api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
20110 wine_fn_config_makefile dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
20111 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
20112 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-1 enable_api_ms_win_core_winrt_string_l1_1_1
20113 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
20114 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
20115 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
20116 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
20117 wine_fn_config_makefile dlls/api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
20118 wine_fn_config_makefile dlls/api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
20119 wine_fn_config_makefile dlls/api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
20120 wine_fn_config_makefile dlls/api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
20121 wine_fn_config_makefile dlls/api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
20122 wine_fn_config_makefile dlls/api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
20123 wine_fn_config_makefile dlls/api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
20124 wine_fn_config_makefile dlls/api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
20125 wine_fn_config_makefile dlls/api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
20126 wine_fn_config_makefile dlls/api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
20127 wine_fn_config_makefile dlls/api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
20128 wine_fn_config_makefile dlls/api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
20129 wine_fn_config_makefile dlls/api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
20130 wine_fn_config_makefile dlls/api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
20131 wine_fn_config_makefile dlls/api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
20132 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-0 enable_api_ms_win_devices_config_l1_1_0
20133 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
20134 wine_fn_config_makefile dlls/api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
20135 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
20136 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
20137 wine_fn_config_makefile dlls/api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
20138 wine_fn_config_makefile dlls/api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
20139 wine_fn_config_makefile dlls/api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
20140 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
20141 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
20142 wine_fn_config_makefile dlls/api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
20143 wine_fn_config_makefile dlls/api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
20144 wine_fn_config_makefile dlls/api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
20145 wine_fn_config_makefile dlls/api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
20146 wine_fn_config_makefile dlls/api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
20147 wine_fn_config_makefile dlls/api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
20148 wine_fn_config_makefile dlls/api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
20149 wine_fn_config_makefile dlls/api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
20150 wine_fn_config_makefile dlls/api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
20151 wine_fn_config_makefile dlls/api-ms-win-gdi-dpiinfo-l1-1-0 enable_api_ms_win_gdi_dpiinfo_l1_1_0
20152 wine_fn_config_makefile dlls/api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
20153 wine_fn_config_makefile dlls/api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
20154 wine_fn_config_makefile dlls/api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
20155 wine_fn_config_makefile dlls/api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
20156 wine_fn_config_makefile dlls/api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
20157 wine_fn_config_makefile dlls/api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
20158 wine_fn_config_makefile dlls/api-ms-win-ntuser-sysparams-l1-1-0 enable_api_ms_win_ntuser_sysparams_l1_1_0
20159 wine_fn_config_makefile dlls/api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
20160 wine_fn_config_makefile dlls/api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
20161 wine_fn_config_makefile dlls/api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
20162 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-draw-l1-1-0 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
20163 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
20164 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-4 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
20165 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-window-l1-1-0 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
20166 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-winevent-l1-1-0 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
20167 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
20168 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-3 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
20169 wine_fn_config_makefile dlls/api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
20170 wine_fn_config_makefile dlls/api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
20171 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
20172 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
20173 wine_fn_config_makefile dlls/api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
20174 wine_fn_config_makefile dlls/api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
20175 wine_fn_config_makefile dlls/api-ms-win-security-cryptoapi-l1-1-0 enable_api_ms_win_security_cryptoapi_l1_1_0
20176 wine_fn_config_makefile dlls/api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
20177 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
20178 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
20179 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
20180 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
20181 wine_fn_config_makefile dlls/api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
20182 wine_fn_config_makefile dlls/api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
20183 wine_fn_config_makefile dlls/api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
20184 wine_fn_config_makefile dlls/api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
20185 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
20186 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
20187 wine_fn_config_makefile dlls/api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
20188 wine_fn_config_makefile dlls/api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
20189 wine_fn_config_makefile dlls/api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
20190 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
20191 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
20192 wine_fn_config_makefile dlls/api-ms-win-shcore-obsolete-l1-1-0 enable_api_ms_win_shcore_obsolete_l1_1_0
20193 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
20194 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-l1-1-0 enable_api_ms_win_shcore_stream_l1_1_0
20195 wine_fn_config_makefile dlls/api-ms-win-shcore-thread-l1-1-0 enable_api_ms_win_shcore_thread_l1_1_0
20196 wine_fn_config_makefile dlls/api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
20197 wine_fn_config_makefile dlls/api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
20198 wine_fn_config_makefile dlls/apphelp enable_apphelp
20199 wine_fn_config_makefile dlls/apphelp/tests enable_tests
20200 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
20201 wine_fn_config_makefile dlls/atl enable_atl
20202 wine_fn_config_makefile dlls/atl/tests enable_tests
20203 wine_fn_config_makefile dlls/atl100 enable_atl100
20204 wine_fn_config_makefile dlls/atl100/tests enable_tests
20205 wine_fn_config_makefile dlls/atl110 enable_atl110
20206 wine_fn_config_makefile dlls/atl80 enable_atl80
20207 wine_fn_config_makefile dlls/atl80/tests enable_tests
20208 wine_fn_config_makefile dlls/atl90 enable_atl90
20209 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
20210 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
20211 wine_fn_config_makefile dlls/atmlib enable_atmlib
20212 wine_fn_config_makefile dlls/authz enable_authz
20213 wine_fn_config_makefile dlls/avicap32 enable_avicap32
20214 wine_fn_config_makefile dlls/avifil32 enable_avifil32
20215 wine_fn_config_makefile dlls/avifil32/tests enable_tests
20216 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
20217 wine_fn_config_makefile dlls/avrt enable_avrt
20218 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
20219 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
20220 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
20221 wine_fn_config_makefile dlls/browseui enable_browseui
20222 wine_fn_config_makefile dlls/browseui/tests enable_tests
20223 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
20224 wine_fn_config_makefile dlls/cabinet enable_cabinet
20225 wine_fn_config_makefile dlls/cabinet/tests enable_tests
20226 wine_fn_config_makefile dlls/capi2032 enable_capi2032
20227 wine_fn_config_makefile dlls/cards enable_cards
20228 wine_fn_config_makefile dlls/cdosys enable_cdosys
20229 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
20230 wine_fn_config_makefile dlls/clusapi enable_clusapi
20231 wine_fn_config_makefile dlls/combase enable_combase
20232 wine_fn_config_makefile dlls/combase/tests enable_tests
20233 wine_fn_config_makefile dlls/comcat enable_comcat
20234 wine_fn_config_makefile dlls/comcat/tests enable_tests
20235 wine_fn_config_makefile dlls/comctl32 enable_comctl32
20236 wine_fn_config_makefile dlls/comctl32/tests enable_tests
20237 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
20238 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
20239 wine_fn_config_makefile dlls/comm.drv16 enable_win16
20240 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
20241 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
20242 wine_fn_config_makefile dlls/compstui enable_compstui
20243 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
20244 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
20245 wine_fn_config_makefile dlls/concrt140 enable_concrt140
20246 wine_fn_config_makefile dlls/connect enable_connect
20247 wine_fn_config_makefile dlls/credui enable_credui
20248 wine_fn_config_makefile dlls/credui/tests enable_tests
20249 wine_fn_config_makefile dlls/crtdll enable_crtdll
20250 wine_fn_config_makefile dlls/crypt32 enable_crypt32
20251 wine_fn_config_makefile dlls/crypt32/tests enable_tests
20252 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
20253 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
20254 wine_fn_config_makefile dlls/cryptext enable_cryptext
20255 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
20256 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
20257 wine_fn_config_makefile dlls/cryptui enable_cryptui
20258 wine_fn_config_makefile dlls/cryptui/tests enable_tests
20259 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
20260 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
20261 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
20262 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
20263 wine_fn_config_makefile dlls/d2d1 enable_d2d1
20264 wine_fn_config_makefile dlls/d2d1/tests enable_tests
20265 wine_fn_config_makefile dlls/d3d10 enable_d3d10
20266 wine_fn_config_makefile dlls/d3d10/tests enable_tests
20267 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
20268 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
20269 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
20270 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
20271 wine_fn_config_makefile dlls/d3d11 enable_d3d11
20272 wine_fn_config_makefile dlls/d3d11/tests enable_tests
20273 wine_fn_config_makefile dlls/d3d12 enable_d3d12
20274 wine_fn_config_makefile dlls/d3d12/tests enable_tests
20275 wine_fn_config_makefile dlls/d3d8 enable_d3d8
20276 wine_fn_config_makefile dlls/d3d8/tests enable_tests
20277 wine_fn_config_makefile dlls/d3d9 enable_d3d9
20278 wine_fn_config_makefile dlls/d3d9/tests enable_tests
20279 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
20280 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
20281 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
20282 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
20283 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
20284 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
20285 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
20286 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
20287 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
20288 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
20289 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
20290 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
20291 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
20292 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
20293 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
20294 wine_fn_config_makefile dlls/d3dim enable_d3dim
20295 wine_fn_config_makefile dlls/d3drm enable_d3drm
20296 wine_fn_config_makefile dlls/d3drm/tests enable_tests
20297 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
20298 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
20299 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
20300 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
20301 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
20302 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
20303 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
20304 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
20305 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
20306 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
20307 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
20308 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
20309 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
20310 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
20311 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
20312 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
20313 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
20314 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
20315 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
20316 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
20317 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
20318 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
20319 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
20320 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
20321 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
20322 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
20323 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
20324 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
20325 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
20326 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
20327 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
20328 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
20329 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
20330 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
20331 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
20332 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
20333 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
20334 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
20335 wine_fn_config_makefile dlls/davclnt enable_davclnt
20336 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
20337 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
20338 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
20339 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
20340 wine_fn_config_makefile dlls/dciman32 enable_dciman32
20341 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
20342 wine_fn_config_makefile dlls/ddraw enable_ddraw
20343 wine_fn_config_makefile dlls/ddraw/tests enable_tests
20344 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
20345 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
20346 wine_fn_config_makefile dlls/devenum enable_devenum
20347 wine_fn_config_makefile dlls/devenum/tests enable_tests
20348 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
20349 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
20350 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
20351 wine_fn_config_makefile dlls/difxapi enable_difxapi
20352 wine_fn_config_makefile dlls/dinput enable_dinput
20353 wine_fn_config_makefile dlls/dinput/tests enable_tests
20354 wine_fn_config_makefile dlls/dinput8 enable_dinput8
20355 wine_fn_config_makefile dlls/dinput8/tests enable_tests
20356 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
20357 wine_fn_config_makefile dlls/dispex enable_dispex
20358 wine_fn_config_makefile dlls/dispex/tests enable_tests
20359 wine_fn_config_makefile dlls/display.drv16 enable_win16
20360 wine_fn_config_makefile dlls/dmband enable_dmband
20361 wine_fn_config_makefile dlls/dmband/tests enable_tests
20362 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
20363 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
20364 wine_fn_config_makefile dlls/dmime enable_dmime
20365 wine_fn_config_makefile dlls/dmime/tests enable_tests
20366 wine_fn_config_makefile dlls/dmloader enable_dmloader
20367 wine_fn_config_makefile dlls/dmloader/tests enable_tests
20368 wine_fn_config_makefile dlls/dmoguids enable_dmoguids
20369 wine_fn_config_makefile dlls/dmscript enable_dmscript
20370 wine_fn_config_makefile dlls/dmscript/tests enable_tests
20371 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
20372 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
20373 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
20374 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
20375 wine_fn_config_makefile dlls/dmusic enable_dmusic
20376 wine_fn_config_makefile dlls/dmusic/tests enable_tests
20377 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
20378 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
20379 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
20380 wine_fn_config_makefile dlls/dplay enable_dplay
20381 wine_fn_config_makefile dlls/dplayx enable_dplayx
20382 wine_fn_config_makefile dlls/dplayx/tests enable_tests
20383 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
20384 wine_fn_config_makefile dlls/dpnet enable_dpnet
20385 wine_fn_config_makefile dlls/dpnet/tests enable_tests
20386 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
20387 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
20388 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
20389 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
20390 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
20391 wine_fn_config_makefile dlls/drmclien enable_drmclien
20392 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
20393 wine_fn_config_makefile dlls/dsound enable_dsound
20394 wine_fn_config_makefile dlls/dsound/tests enable_tests
20395 wine_fn_config_makefile dlls/dsquery enable_dsquery
20396 wine_fn_config_makefile dlls/dssenh enable_dssenh
20397 wine_fn_config_makefile dlls/dssenh/tests enable_tests
20398 wine_fn_config_makefile dlls/dswave enable_dswave
20399 wine_fn_config_makefile dlls/dswave/tests enable_tests
20400 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
20401 wine_fn_config_makefile dlls/dwrite enable_dwrite
20402 wine_fn_config_makefile dlls/dwrite/tests enable_tests
20403 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
20404 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
20405 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
20406 wine_fn_config_makefile dlls/dxerr8 enable_dxerr8
20407 wine_fn_config_makefile dlls/dxerr9 enable_dxerr9
20408 wine_fn_config_makefile dlls/dxgi enable_dxgi
20409 wine_fn_config_makefile dlls/dxgi/tests enable_tests
20410 wine_fn_config_makefile dlls/dxguid enable_dxguid
20411 wine_fn_config_makefile dlls/dxva2 enable_dxva2
20412 wine_fn_config_makefile dlls/esent enable_esent
20413 wine_fn_config_makefile dlls/evr enable_evr
20414 wine_fn_config_makefile dlls/evr/tests enable_tests
20415 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
20416 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
20417 wine_fn_config_makefile dlls/ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
20418 wine_fn_config_makefile dlls/ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
20419 wine_fn_config_makefile dlls/ext-ms-win-dwmapi-ext-l1-1-0 enable_ext_ms_win_dwmapi_ext_l1_1_0
20420 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-0 enable_ext_ms_win_gdi_dc_create_l1_1_0
20421 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
20422 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
20423 wine_fn_config_makefile dlls/ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
20424 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-0 enable_ext_ms_win_gdi_draw_l1_1_0
20425 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
20426 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-0 enable_ext_ms_win_gdi_font_l1_1_0
20427 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-1 enable_ext_ms_win_gdi_font_l1_1_1
20428 wine_fn_config_makefile dlls/ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
20429 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
20430 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
20431 wine_fn_config_makefile dlls/ext-ms-win-ntuser-dialogbox-l1-1-0 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
20432 wine_fn_config_makefile dlls/ext-ms-win-ntuser-draw-l1-1-0 enable_ext_ms_win_ntuser_draw_l1_1_0
20433 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-1-0 enable_ext_ms_win_ntuser_gui_l1_1_0
20434 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-3-0 enable_ext_ms_win_ntuser_gui_l1_3_0
20435 wine_fn_config_makefile dlls/ext-ms-win-ntuser-keyboard-l1-3-0 enable_ext_ms_win_ntuser_keyboard_l1_3_0
20436 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-0 enable_ext_ms_win_ntuser_message_l1_1_0
20437 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
20438 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-1-0 enable_ext_ms_win_ntuser_misc_l1_1_0
20439 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-2-0 enable_ext_ms_win_ntuser_misc_l1_2_0
20440 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-5-1 enable_ext_ms_win_ntuser_misc_l1_5_1
20441 wine_fn_config_makefile dlls/ext-ms-win-ntuser-mouse-l1-1-0 enable_ext_ms_win_ntuser_mouse_l1_1_0
20442 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
20443 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-3-1 enable_ext_ms_win_ntuser_private_l1_3_1
20444 wine_fn_config_makefile dlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
20445 wine_fn_config_makefile dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
20446 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-0 enable_ext_ms_win_ntuser_window_l1_1_0
20447 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
20448 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-4 enable_ext_ms_win_ntuser_window_l1_1_4
20449 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-0 enable_ext_ms_win_ntuser_windowclass_l1_1_0
20450 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
20451 wine_fn_config_makefile dlls/ext-ms-win-oleacc-l1-1-0 enable_ext_ms_win_oleacc_l1_1_0
20452 wine_fn_config_makefile dlls/ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
20453 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-devcaps-l1-1-0 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
20454 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
20455 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
20456 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-cursor-l1-1-0 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
20457 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dc-access-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
20458 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
20459 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-2-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
20460 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-rawinput-l1-1-0 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
20461 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-syscolors-l1-1-0 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
20462 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
20463 wine_fn_config_makefile dlls/ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
20464 wine_fn_config_makefile dlls/ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
20465 wine_fn_config_makefile dlls/ext-ms-win-shell-comctl32-init-l1-1-0 enable_ext_ms_win_shell_comctl32_init_l1_1_0
20466 wine_fn_config_makefile dlls/ext-ms-win-shell-comdlg32-l1-1-0 enable_ext_ms_win_shell_comdlg32_l1_1_0
20467 wine_fn_config_makefile dlls/ext-ms-win-shell-shell32-l1-2-0 enable_ext_ms_win_shell_shell32_l1_2_0
20468 wine_fn_config_makefile dlls/ext-ms-win-uxtheme-themes-l1-1-0 enable_ext_ms_win_uxtheme_themes_l1_1_0
20469 wine_fn_config_makefile dlls/faultrep enable_faultrep
20470 wine_fn_config_makefile dlls/faultrep/tests enable_tests
20471 wine_fn_config_makefile dlls/feclient enable_feclient
20472 wine_fn_config_makefile dlls/fltlib enable_fltlib
20473 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
20474 wine_fn_config_makefile dlls/fntcache enable_fntcache
20475 wine_fn_config_makefile dlls/fontsub enable_fontsub
20476 wine_fn_config_makefile dlls/fusion enable_fusion
20477 wine_fn_config_makefile dlls/fusion/tests enable_tests
20478 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
20479 wine_fn_config_makefile dlls/gameux enable_gameux
20480 wine_fn_config_makefile dlls/gameux/tests enable_tests
20481 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
20482 wine_fn_config_makefile dlls/gdi32 enable_gdi32
20483 wine_fn_config_makefile dlls/gdi32/tests enable_tests
20484 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
20485 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
20486 wine_fn_config_makefile dlls/glu32 enable_glu32
20487 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
20488 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
20489 wine_fn_config_makefile dlls/hal enable_hal
20490 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
20491 wine_fn_config_makefile dlls/hid enable_hid
20492 wine_fn_config_makefile dlls/hid/tests enable_tests
20493 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
20494 wine_fn_config_makefile dlls/hlink enable_hlink
20495 wine_fn_config_makefile dlls/hlink/tests enable_tests
20496 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
20497 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
20498 wine_fn_config_makefile dlls/http.sys enable_http_sys
20499 wine_fn_config_makefile dlls/httpapi enable_httpapi
20500 wine_fn_config_makefile dlls/httpapi/tests enable_tests
20501 wine_fn_config_makefile dlls/iccvid enable_iccvid
20502 wine_fn_config_makefile dlls/icmp enable_icmp
20503 wine_fn_config_makefile dlls/ieframe enable_ieframe
20504 wine_fn_config_makefile dlls/ieframe/tests enable_tests
20505 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
20506 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
20507 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
20508 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
20509 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
20510 wine_fn_config_makefile dlls/imm.dll16 enable_win16
20511 wine_fn_config_makefile dlls/imm32 enable_imm32
20512 wine_fn_config_makefile dlls/imm32/tests enable_tests
20513 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
20514 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
20515 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
20516 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
20517 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
20518 wine_fn_config_makefile dlls/infosoft enable_infosoft
20519 wine_fn_config_makefile dlls/infosoft/tests enable_tests
20520 wine_fn_config_makefile dlls/initpki enable_initpki
20521 wine_fn_config_makefile dlls/inkobj enable_inkobj
20522 wine_fn_config_makefile dlls/inseng enable_inseng
20523 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
20524 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
20525 wine_fn_config_makefile dlls/iprop enable_iprop
20526 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
20527 wine_fn_config_makefile dlls/itircl enable_itircl
20528 wine_fn_config_makefile dlls/itss enable_itss
20529 wine_fn_config_makefile dlls/itss/tests enable_tests
20530 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
20531 wine_fn_config_makefile dlls/jscript enable_jscript
20532 wine_fn_config_makefile dlls/jscript/tests enable_tests
20533 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
20534 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
20535 wine_fn_config_makefile dlls/kerberos enable_kerberos
20536 wine_fn_config_makefile dlls/kernel32 enable_kernel32
20537 wine_fn_config_makefile dlls/kernel32/tests enable_tests
20538 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
20539 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
20540 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
20541 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
20542 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
20543 wine_fn_config_makefile dlls/ksuser enable_ksuser
20544 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
20545 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
20546 wine_fn_config_makefile dlls/loadperf enable_loadperf
20547 wine_fn_config_makefile dlls/localspl enable_localspl
20548 wine_fn_config_makefile dlls/localspl/tests enable_tests
20549 wine_fn_config_makefile dlls/localui enable_localui
20550 wine_fn_config_makefile dlls/localui/tests enable_tests
20551 wine_fn_config_makefile dlls/lz32 enable_lz32
20552 wine_fn_config_makefile dlls/lz32/tests enable_tests
20553 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
20554 wine_fn_config_makefile dlls/mapi32 enable_mapi32
20555 wine_fn_config_makefile dlls/mapi32/tests enable_tests
20556 wine_fn_config_makefile dlls/mapistub enable_mapistub
20557 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
20558 wine_fn_config_makefile dlls/mcicda enable_mcicda
20559 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
20560 wine_fn_config_makefile dlls/mciseq enable_mciseq
20561 wine_fn_config_makefile dlls/mciwave enable_mciwave
20562 wine_fn_config_makefile dlls/mf enable_mf
20563 wine_fn_config_makefile dlls/mf/tests enable_tests
20564 wine_fn_config_makefile dlls/mf3216 enable_mf3216
20565 wine_fn_config_makefile dlls/mferror enable_mferror
20566 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
20567 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
20568 wine_fn_config_makefile dlls/mfplat enable_mfplat
20569 wine_fn_config_makefile dlls/mfplat/tests enable_tests
20570 wine_fn_config_makefile dlls/mfplay enable_mfplay
20571 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
20572 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
20573 wine_fn_config_makefile dlls/mfuuid enable_mfuuid
20574 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
20575 wine_fn_config_makefile dlls/midimap enable_midimap
20576 wine_fn_config_makefile dlls/mlang enable_mlang
20577 wine_fn_config_makefile dlls/mlang/tests enable_tests
20578 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
20579 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
20580 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
20581 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
20582 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
20583 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
20584 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
20585 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
20586 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
20587 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
20588 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
20589 wine_fn_config_makefile dlls/mpr enable_mpr
20590 wine_fn_config_makefile dlls/mpr/tests enable_tests
20591 wine_fn_config_makefile dlls/mprapi enable_mprapi
20592 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
20593 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
20594 wine_fn_config_makefile dlls/msacm32 enable_msacm32
20595 wine_fn_config_makefile dlls/msacm32/tests enable_tests
20596 wine_fn_config_makefile dlls/msado15 enable_msado15
20597 wine_fn_config_makefile dlls/msado15/tests enable_tests
20598 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
20599 wine_fn_config_makefile dlls/msasn1 enable_msasn1
20600 wine_fn_config_makefile dlls/mscat32 enable_mscat32
20601 wine_fn_config_makefile dlls/mscms enable_mscms
20602 wine_fn_config_makefile dlls/mscms/tests enable_tests
20603 wine_fn_config_makefile dlls/mscoree enable_mscoree
20604 wine_fn_config_makefile dlls/mscoree/tests enable_tests
20605 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
20606 wine_fn_config_makefile dlls/msctf enable_msctf
20607 wine_fn_config_makefile dlls/msctf/tests enable_tests
20608 wine_fn_config_makefile dlls/msctfp enable_msctfp
20609 wine_fn_config_makefile dlls/msdaps enable_msdaps
20610 wine_fn_config_makefile dlls/msdelta enable_msdelta
20611 wine_fn_config_makefile dlls/msdmo enable_msdmo
20612 wine_fn_config_makefile dlls/msdmo/tests enable_tests
20613 wine_fn_config_makefile dlls/msdrm enable_msdrm
20614 wine_fn_config_makefile dlls/msftedit enable_msftedit
20615 wine_fn_config_makefile dlls/msftedit/tests enable_tests
20616 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
20617 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
20618 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
20619 wine_fn_config_makefile dlls/mshtml enable_mshtml
20620 wine_fn_config_makefile dlls/mshtml/tests enable_tests
20621 wine_fn_config_makefile dlls/msi enable_msi
20622 wine_fn_config_makefile dlls/msi/tests enable_tests
20623 wine_fn_config_makefile dlls/msident enable_msident
20624 wine_fn_config_makefile dlls/msimg32 enable_msimg32
20625 wine_fn_config_makefile dlls/msimsg enable_msimsg
20626 wine_fn_config_makefile dlls/msimtf enable_msimtf
20627 wine_fn_config_makefile dlls/msisip enable_msisip
20628 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
20629 wine_fn_config_makefile dlls/msls31 enable_msls31
20630 wine_fn_config_makefile dlls/msnet32 enable_msnet32
20631 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
20632 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
20633 wine_fn_config_makefile dlls/msports enable_msports
20634 wine_fn_config_makefile dlls/msrle32 enable_msrle32
20635 wine_fn_config_makefile dlls/msrle32/tests enable_tests
20636 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
20637 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
20638 wine_fn_config_makefile dlls/mssign32 enable_mssign32
20639 wine_fn_config_makefile dlls/mssip32 enable_mssip32
20640 wine_fn_config_makefile dlls/mstask enable_mstask
20641 wine_fn_config_makefile dlls/mstask/tests enable_tests
20642 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
20643 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
20644 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
20645 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
20646 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
20647 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
20648 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
20649 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
20650 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
20651 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
20652 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
20653 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
20654 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
20655 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
20656 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
20657 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
20658 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
20659 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
20660 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
20661 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
20662 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
20663 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
20664 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
20665 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
20666 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
20667 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
20668 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
20669 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
20670 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
20671 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
20672 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
20673 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
20674 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
20675 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
20676 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
20677 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
20678 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
20679 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
20680 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
20681 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
20682 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
20683 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
20684 wine_fn_config_makefile dlls/mswsock enable_mswsock
20685 wine_fn_config_makefile dlls/msxml enable_msxml
20686 wine_fn_config_makefile dlls/msxml2 enable_msxml2
20687 wine_fn_config_makefile dlls/msxml3 enable_msxml3
20688 wine_fn_config_makefile dlls/msxml3/tests enable_tests
20689 wine_fn_config_makefile dlls/msxml4 enable_msxml4
20690 wine_fn_config_makefile dlls/msxml6 enable_msxml6
20691 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
20692 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
20693 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
20694 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
20695 wine_fn_config_makefile dlls/netapi32 enable_netapi32
20696 wine_fn_config_makefile dlls/netapi32/tests enable_tests
20697 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
20698 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
20699 wine_fn_config_makefile dlls/netprofm enable_netprofm
20700 wine_fn_config_makefile dlls/netprofm/tests enable_tests
20701 wine_fn_config_makefile dlls/newdev enable_newdev
20702 wine_fn_config_makefile dlls/ninput enable_ninput
20703 wine_fn_config_makefile dlls/ninput/tests enable_tests
20704 wine_fn_config_makefile dlls/normaliz enable_normaliz
20705 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
20706 wine_fn_config_makefile dlls/npptools enable_npptools
20707 wine_fn_config_makefile dlls/ntdll enable_ntdll
20708 wine_fn_config_makefile dlls/ntdll/tests enable_tests
20709 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
20710 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
20711 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
20712 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
20713 wine_fn_config_makefile dlls/ntprint enable_ntprint
20714 wine_fn_config_makefile dlls/ntprint/tests enable_tests
20715 wine_fn_config_makefile dlls/objsel enable_objsel
20716 wine_fn_config_makefile dlls/odbc32 enable_odbc32
20717 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
20718 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
20719 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
20720 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
20721 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
20722 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
20723 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
20724 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
20725 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
20726 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
20727 wine_fn_config_makefile dlls/ole32 enable_ole32
20728 wine_fn_config_makefile dlls/ole32/tests enable_tests
20729 wine_fn_config_makefile dlls/oleacc enable_oleacc
20730 wine_fn_config_makefile dlls/oleacc/tests enable_tests
20731 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
20732 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
20733 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
20734 wine_fn_config_makefile dlls/olecli32 enable_olecli32
20735 wine_fn_config_makefile dlls/oledb32 enable_oledb32
20736 wine_fn_config_makefile dlls/oledb32/tests enable_tests
20737 wine_fn_config_makefile dlls/oledlg enable_oledlg
20738 wine_fn_config_makefile dlls/oledlg/tests enable_tests
20739 wine_fn_config_makefile dlls/olepro32 enable_olepro32
20740 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
20741 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
20742 wine_fn_config_makefile dlls/olethk32 enable_olethk32
20743 wine_fn_config_makefile dlls/opcservices enable_opcservices
20744 wine_fn_config_makefile dlls/opcservices/tests enable_tests
20745 wine_fn_config_makefile dlls/openal32 enable_openal32
20746 wine_fn_config_makefile dlls/opencl enable_opencl
20747 wine_fn_config_makefile dlls/opengl32 enable_opengl32
20748 wine_fn_config_makefile dlls/opengl32/tests enable_tests
20749 wine_fn_config_makefile dlls/packager enable_packager
20750 wine_fn_config_makefile dlls/packager/tests enable_tests
20751 wine_fn_config_makefile dlls/pdh enable_pdh
20752 wine_fn_config_makefile dlls/pdh/tests enable_tests
20753 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
20754 wine_fn_config_makefile dlls/pidgen enable_pidgen
20755 wine_fn_config_makefile dlls/powrprof enable_powrprof
20756 wine_fn_config_makefile dlls/printui enable_printui
20757 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
20758 wine_fn_config_makefile dlls/propsys enable_propsys
20759 wine_fn_config_makefile dlls/propsys/tests enable_tests
20760 wine_fn_config_makefile dlls/psapi enable_psapi
20761 wine_fn_config_makefile dlls/psapi/tests enable_tests
20762 wine_fn_config_makefile dlls/pstorec enable_pstorec
20763 wine_fn_config_makefile dlls/pstorec/tests enable_tests
20764 wine_fn_config_makefile dlls/qcap enable_qcap
20765 wine_fn_config_makefile dlls/qcap/tests enable_tests
20766 wine_fn_config_makefile dlls/qedit enable_qedit
20767 wine_fn_config_makefile dlls/qedit/tests enable_tests
20768 wine_fn_config_makefile dlls/qmgr enable_qmgr
20769 wine_fn_config_makefile dlls/qmgr/tests enable_tests
20770 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
20771 wine_fn_config_makefile dlls/quartz enable_quartz
20772 wine_fn_config_makefile dlls/quartz/tests enable_tests
20773 wine_fn_config_makefile dlls/query enable_query
20774 wine_fn_config_makefile dlls/qwave enable_qwave
20775 wine_fn_config_makefile dlls/qwave/tests enable_tests
20776 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
20777 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
20778 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
20779 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
20780 wine_fn_config_makefile dlls/regapi enable_regapi
20781 wine_fn_config_makefile dlls/resutils enable_resutils
20782 wine_fn_config_makefile dlls/riched20 enable_riched20
20783 wine_fn_config_makefile dlls/riched20/tests enable_tests
20784 wine_fn_config_makefile dlls/riched32 enable_riched32
20785 wine_fn_config_makefile dlls/riched32/tests enable_tests
20786 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
20787 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
20788 wine_fn_config_makefile dlls/rsabase enable_rsabase
20789 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
20790 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
20791 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
20792 wine_fn_config_makefile dlls/rtutils enable_rtutils
20793 wine_fn_config_makefile dlls/samlib enable_samlib
20794 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
20795 wine_fn_config_makefile dlls/sapi enable_sapi
20796 wine_fn_config_makefile dlls/sapi/tests enable_tests
20797 wine_fn_config_makefile dlls/sas enable_sas
20798 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
20799 wine_fn_config_makefile dlls/sccbase enable_sccbase
20800 wine_fn_config_makefile dlls/schannel enable_schannel
20801 wine_fn_config_makefile dlls/schannel/tests enable_tests
20802 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
20803 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
20804 wine_fn_config_makefile dlls/scrobj enable_scrobj
20805 wine_fn_config_makefile dlls/scrobj/tests enable_tests
20806 wine_fn_config_makefile dlls/scrrun enable_scrrun
20807 wine_fn_config_makefile dlls/scrrun/tests enable_tests
20808 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
20809 wine_fn_config_makefile dlls/secur32 enable_secur32
20810 wine_fn_config_makefile dlls/secur32/tests enable_tests
20811 wine_fn_config_makefile dlls/security enable_security
20812 wine_fn_config_makefile dlls/sensapi enable_sensapi
20813 wine_fn_config_makefile dlls/serialui enable_serialui
20814 wine_fn_config_makefile dlls/serialui/tests enable_tests
20815 wine_fn_config_makefile dlls/setupapi enable_setupapi
20816 wine_fn_config_makefile dlls/setupapi/tests enable_tests
20817 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
20818 wine_fn_config_makefile dlls/sfc enable_sfc
20819 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
20820 wine_fn_config_makefile dlls/shcore enable_shcore
20821 wine_fn_config_makefile dlls/shcore/tests enable_tests
20822 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
20823 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
20824 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
20825 wine_fn_config_makefile dlls/shell.dll16 enable_win16
20826 wine_fn_config_makefile dlls/shell32 enable_shell32
20827 wine_fn_config_makefile dlls/shell32/tests enable_tests
20828 wine_fn_config_makefile dlls/shfolder enable_shfolder
20829 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
20830 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
20831 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
20832 wine_fn_config_makefile dlls/slc enable_slc
20833 wine_fn_config_makefile dlls/slc/tests enable_tests
20834 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
20835 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
20836 wine_fn_config_makefile dlls/softpub enable_softpub
20837 wine_fn_config_makefile dlls/sound.drv16 enable_win16
20838 wine_fn_config_makefile dlls/spoolss enable_spoolss
20839 wine_fn_config_makefile dlls/spoolss/tests enable_tests
20840 wine_fn_config_makefile dlls/srclient enable_srclient
20841 wine_fn_config_makefile dlls/sspicli enable_sspicli
20842 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
20843 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
20844 wine_fn_config_makefile dlls/sti enable_sti
20845 wine_fn_config_makefile dlls/sti/tests enable_tests
20846 wine_fn_config_makefile dlls/storage.dll16 enable_win16
20847 wine_fn_config_makefile dlls/stress.dll16 enable_win16
20848 wine_fn_config_makefile dlls/strmbase enable_strmbase
20849 wine_fn_config_makefile dlls/strmdll enable_strmdll
20850 wine_fn_config_makefile dlls/strmiids enable_strmiids
20851 wine_fn_config_makefile dlls/svrapi enable_svrapi
20852 wine_fn_config_makefile dlls/sxs enable_sxs
20853 wine_fn_config_makefile dlls/sxs/tests enable_tests
20854 wine_fn_config_makefile dlls/system.drv16 enable_win16
20855 wine_fn_config_makefile dlls/t2embed enable_t2embed
20856 wine_fn_config_makefile dlls/t2embed/tests enable_tests
20857 wine_fn_config_makefile dlls/tapi32 enable_tapi32
20858 wine_fn_config_makefile dlls/tapi32/tests enable_tests
20859 wine_fn_config_makefile dlls/taskschd enable_taskschd
20860 wine_fn_config_makefile dlls/taskschd/tests enable_tests
20861 wine_fn_config_makefile dlls/tdh enable_tdh
20862 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
20863 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
20864 wine_fn_config_makefile dlls/traffic enable_traffic
20865 wine_fn_config_makefile dlls/twain.dll16 enable_win16
20866 wine_fn_config_makefile dlls/twain_32 enable_twain_32
20867 wine_fn_config_makefile dlls/twain_32/tests enable_tests
20868 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
20869 wine_fn_config_makefile dlls/tzres enable_tzres
20870 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
20871 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
20872 wine_fn_config_makefile dlls/uianimation enable_uianimation
20873 wine_fn_config_makefile dlls/uianimation/tests enable_tests
20874 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
20875 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
20876 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
20877 wine_fn_config_makefile dlls/unicows enable_unicows
20878 wine_fn_config_makefile dlls/updspapi enable_updspapi
20879 wine_fn_config_makefile dlls/url enable_url
20880 wine_fn_config_makefile dlls/urlmon enable_urlmon
20881 wine_fn_config_makefile dlls/urlmon/tests enable_tests
20882 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
20883 wine_fn_config_makefile dlls/user.exe16 enable_win16
20884 wine_fn_config_makefile dlls/user32 enable_user32
20885 wine_fn_config_makefile dlls/user32/tests enable_tests
20886 wine_fn_config_makefile dlls/userenv enable_userenv
20887 wine_fn_config_makefile dlls/userenv/tests enable_tests
20888 wine_fn_config_makefile dlls/usp10 enable_usp10
20889 wine_fn_config_makefile dlls/usp10/tests enable_tests
20890 wine_fn_config_makefile dlls/utildll enable_utildll
20891 wine_fn_config_makefile dlls/uuid enable_uuid
20892 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
20893 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
20894 wine_fn_config_makefile dlls/vbscript enable_vbscript
20895 wine_fn_config_makefile dlls/vbscript/tests enable_tests
20896 wine_fn_config_makefile dlls/vcomp enable_vcomp
20897 wine_fn_config_makefile dlls/vcomp/tests enable_tests
20898 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
20899 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
20900 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
20901 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
20902 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
20903 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
20904 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
20905 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
20906 wine_fn_config_makefile dlls/ver.dll16 enable_win16
20907 wine_fn_config_makefile dlls/version enable_version
20908 wine_fn_config_makefile dlls/version/tests enable_tests
20909 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
20910 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
20911 wine_fn_config_makefile dlls/vmm.vxd enable_win16
20912 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
20913 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
20914 wine_fn_config_makefile dlls/vssapi enable_vssapi
20915 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
20916 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
20917 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
20918 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
20919 wine_fn_config_makefile dlls/w32skrnl enable_win16
20920 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
20921 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
20922 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
20923 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
20924 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
20925 wine_fn_config_makefile dlls/wdscore enable_wdscore
20926 wine_fn_config_makefile dlls/webservices enable_webservices
20927 wine_fn_config_makefile dlls/webservices/tests enable_tests
20928 wine_fn_config_makefile dlls/wer enable_wer
20929 wine_fn_config_makefile dlls/wer/tests enable_tests
20930 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
20931 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
20932 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
20933 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
20934 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
20935 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
20936 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
20937 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
20938 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
20939 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
20940 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
20941 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
20942 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
20943 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
20944 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
20945 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
20946 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
20947 wine_fn_config_makefile dlls/wined3d enable_wined3d
20948 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
20949 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
20950 wine_fn_config_makefile dlls/winejoystick.drv enable_winejoystick_drv
20951 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
20952 wine_fn_config_makefile dlls/winemapi enable_winemapi
20953 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
20954 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
20955 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
20956 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
20957 wine_fn_config_makefile dlls/wineqtdecoder enable_wineqtdecoder
20958 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
20959 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
20960 wine_fn_config_makefile dlls/wing.dll16 enable_win16
20961 wine_fn_config_makefile dlls/wing32 enable_wing32
20962 wine_fn_config_makefile dlls/winhttp enable_winhttp
20963 wine_fn_config_makefile dlls/winhttp/tests enable_tests
20964 wine_fn_config_makefile dlls/wininet enable_wininet
20965 wine_fn_config_makefile dlls/wininet/tests enable_tests
20966 wine_fn_config_makefile dlls/winmm enable_winmm
20967 wine_fn_config_makefile dlls/winmm/tests enable_tests
20968 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
20969 wine_fn_config_makefile dlls/winnls32 enable_winnls32
20970 wine_fn_config_makefile dlls/winscard enable_winscard
20971 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
20972 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
20973 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
20974 wine_fn_config_makefile dlls/winsta enable_winsta
20975 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
20976 wine_fn_config_makefile dlls/wintab32 enable_wintab32
20977 wine_fn_config_makefile dlls/wintab32/tests enable_tests
20978 wine_fn_config_makefile dlls/wintrust enable_wintrust
20979 wine_fn_config_makefile dlls/wintrust/tests enable_tests
20980 wine_fn_config_makefile dlls/winusb enable_winusb
20981 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
20982 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
20983 wine_fn_config_makefile dlls/wlanui enable_wlanui
20984 wine_fn_config_makefile dlls/wldap32 enable_wldap32
20985 wine_fn_config_makefile dlls/wldap32/tests enable_tests
20986 wine_fn_config_makefile dlls/wmasf enable_wmasf
20987 wine_fn_config_makefile dlls/wmcodecdspuuid enable_wmcodecdspuuid
20988 wine_fn_config_makefile dlls/wmi enable_wmi
20989 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
20990 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
20991 wine_fn_config_makefile dlls/wmp enable_wmp
20992 wine_fn_config_makefile dlls/wmp/tests enable_tests
20993 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
20994 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
20995 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
20996 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
20997 wine_fn_config_makefile dlls/wow32 enable_win16
20998 wine_fn_config_makefile dlls/wpc enable_wpc
20999 wine_fn_config_makefile dlls/wpc/tests enable_tests
21000 wine_fn_config_makefile dlls/wpcap enable_wpcap
21001 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
21002 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
21003 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
21004 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
21005 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
21006 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
21007 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
21008 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
21009 wine_fn_config_makefile dlls/wsock32 enable_wsock32
21010 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
21011 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
21012 wine_fn_config_makefile dlls/wuapi enable_wuapi
21013 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
21014 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
21015 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
21016 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
21017 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
21018 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
21019 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
21020 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
21021 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
21022 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
21023 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
21024 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
21025 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
21026 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
21027 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
21028 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
21029 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
21030 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
21031 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
21032 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
21033 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
21034 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
21035 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
21036 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
21037 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
21038 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
21039 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
21040 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
21041 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
21042 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
21043 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
21044 wine_fn_config_makefile dlls/xmllite enable_xmllite
21045 wine_fn_config_makefile dlls/xmllite/tests enable_tests
21046 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
21047 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
21048 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
21049 wine_fn_config_makefile fonts enable_fonts
21050 wine_fn_config_makefile include enable_include
21051 wine_fn_config_makefile libs/port enable_port
21052 wine_fn_config_makefile libs/wine enable_wine
21053 wine_fn_config_makefile libs/wpp enable_wpp
21054 wine_fn_config_makefile loader enable_loader
21055 wine_fn_config_makefile po enable_po
21056 wine_fn_config_makefile programs/arp enable_arp
21057 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
21058 wine_fn_config_makefile programs/attrib enable_attrib
21059 wine_fn_config_makefile programs/cabarc enable_cabarc
21060 wine_fn_config_makefile programs/cacls enable_cacls
21061 wine_fn_config_makefile programs/clock enable_clock
21062 wine_fn_config_makefile programs/cmd enable_cmd
21063 wine_fn_config_makefile programs/cmd/tests enable_tests
21064 wine_fn_config_makefile programs/conhost enable_conhost
21065 wine_fn_config_makefile programs/control enable_control
21066 wine_fn_config_makefile programs/cscript enable_cscript
21067 wine_fn_config_makefile programs/dism enable_dism
21068 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
21069 wine_fn_config_makefile programs/dxdiag enable_dxdiag
21070 wine_fn_config_makefile programs/eject enable_eject
21071 wine_fn_config_makefile programs/expand enable_expand
21072 wine_fn_config_makefile programs/explorer enable_explorer
21073 wine_fn_config_makefile programs/extrac32 enable_extrac32
21074 wine_fn_config_makefile programs/fc enable_fc
21075 wine_fn_config_makefile programs/find enable_find
21076 wine_fn_config_makefile programs/find/tests enable_tests
21077 wine_fn_config_makefile programs/findstr enable_findstr
21078 wine_fn_config_makefile programs/fsutil enable_fsutil
21079 wine_fn_config_makefile programs/hh enable_hh
21080 wine_fn_config_makefile programs/hostname enable_hostname
21081 wine_fn_config_makefile programs/icacls enable_icacls
21082 wine_fn_config_makefile programs/icinfo enable_icinfo
21083 wine_fn_config_makefile programs/iexplore enable_iexplore
21084 wine_fn_config_makefile programs/ipconfig enable_ipconfig
21085 wine_fn_config_makefile programs/lodctr enable_lodctr
21086 wine_fn_config_makefile programs/mofcomp enable_mofcomp
21087 wine_fn_config_makefile programs/mshta enable_mshta
21088 wine_fn_config_makefile programs/msidb enable_msidb
21089 wine_fn_config_makefile programs/msiexec enable_msiexec
21090 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
21091 wine_fn_config_makefile programs/net enable_net
21092 wine_fn_config_makefile programs/netsh enable_netsh
21093 wine_fn_config_makefile programs/netstat enable_netstat
21094 wine_fn_config_makefile programs/ngen enable_ngen
21095 wine_fn_config_makefile programs/notepad enable_notepad
21096 wine_fn_config_makefile programs/oleview enable_oleview
21097 wine_fn_config_makefile programs/ping enable_ping
21098 wine_fn_config_makefile programs/plugplay enable_plugplay
21099 wine_fn_config_makefile programs/powershell enable_powershell
21100 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
21101 wine_fn_config_makefile programs/progman enable_progman
21102 wine_fn_config_makefile programs/reg enable_reg
21103 wine_fn_config_makefile programs/reg/tests enable_tests
21104 wine_fn_config_makefile programs/regasm enable_regasm
21105 wine_fn_config_makefile programs/regedit enable_regedit
21106 wine_fn_config_makefile programs/regedit/tests enable_tests
21107 wine_fn_config_makefile programs/regini enable_regini
21108 wine_fn_config_makefile programs/regsvcs enable_regsvcs
21109 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
21110 wine_fn_config_makefile programs/rpcss enable_rpcss
21111 wine_fn_config_makefile programs/rundll.exe16 enable_win16
21112 wine_fn_config_makefile programs/rundll32 enable_rundll32
21113 wine_fn_config_makefile programs/sc enable_sc
21114 wine_fn_config_makefile programs/schtasks enable_schtasks
21115 wine_fn_config_makefile programs/schtasks/tests enable_tests
21116 wine_fn_config_makefile programs/sdbinst enable_sdbinst
21117 wine_fn_config_makefile programs/secedit enable_secedit
21118 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
21119 wine_fn_config_makefile programs/services enable_services
21120 wine_fn_config_makefile programs/services/tests enable_tests
21121 wine_fn_config_makefile programs/shutdown enable_shutdown
21122 wine_fn_config_makefile programs/spoolsv enable_spoolsv
21123 wine_fn_config_makefile programs/start enable_start
21124 wine_fn_config_makefile programs/subst enable_subst
21125 wine_fn_config_makefile programs/svchost enable_svchost
21126 wine_fn_config_makefile programs/systeminfo enable_systeminfo
21127 wine_fn_config_makefile programs/taskkill enable_taskkill
21128 wine_fn_config_makefile programs/tasklist enable_tasklist
21129 wine_fn_config_makefile programs/taskmgr enable_taskmgr
21130 wine_fn_config_makefile programs/termsv enable_termsv
21131 wine_fn_config_makefile programs/uninstaller enable_uninstaller
21132 wine_fn_config_makefile programs/unlodctr enable_unlodctr
21133 wine_fn_config_makefile programs/view enable_view
21134 wine_fn_config_makefile programs/wevtutil enable_wevtutil
21135 wine_fn_config_makefile programs/wineboot enable_wineboot
21136 wine_fn_config_makefile programs/winebrowser enable_winebrowser
21137 wine_fn_config_makefile programs/winecfg enable_winecfg
21138 wine_fn_config_makefile programs/wineconsole enable_wineconsole
21139 wine_fn_config_makefile programs/winedbg enable_winedbg
21140 wine_fn_config_makefile programs/winedevice enable_winedevice
21141 wine_fn_config_makefile programs/winefile enable_winefile
21142 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
21143 wine_fn_config_makefile programs/winemine enable_winemine
21144 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
21145 wine_fn_config_makefile programs/winepath enable_winepath
21146 wine_fn_config_makefile programs/winetest enable_winetest
21147 wine_fn_config_makefile programs/winevdm enable_win16
21148 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
21149 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
21150 wine_fn_config_makefile programs/winmgmt enable_winmgmt
21151 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
21152 wine_fn_config_makefile programs/winver enable_winver
21153 wine_fn_config_makefile programs/wmic enable_wmic
21154 wine_fn_config_makefile programs/wmplayer enable_wmplayer
21155 wine_fn_config_makefile programs/wordpad enable_wordpad
21156 wine_fn_config_makefile programs/write enable_write
21157 wine_fn_config_makefile programs/wscript enable_wscript
21158 wine_fn_config_makefile programs/wscript/tests enable_tests
21159 wine_fn_config_makefile programs/wuauserv enable_wuauserv
21160 wine_fn_config_makefile programs/wusa enable_wusa
21161 wine_fn_config_makefile programs/xcopy enable_xcopy
21162 wine_fn_config_makefile programs/xcopy/tests enable_tests
21163 wine_fn_config_makefile server enable_server
21164 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
21165 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
21166 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
21167 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
21168 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
21169 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
21170 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
21171 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
21172 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
21175 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
21176 wine_fn_append_file CONFIGURE_TARGETS "tags"
21177 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
21178 wine_fn_append_file CONFIGURE_TARGETS "config.log"
21179 wine_fn_append_file CONFIGURE_TARGETS "config.status"
21180 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
21181 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
21182 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
21184 if test "x$enable_tools" != xno
21185 then
21186 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
21187 ac_config_commands="$ac_config_commands tools/makedep"
21191 ac_config_commands="$ac_config_commands Makefile"
21194 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
21198 if test "x$enable_maintainer_mode" = xyes
21199 then
21200 wine_fn_append_rule "configure: configure.ac aclocal.m4
21201 autoconf --warnings=all
21202 include/config.h.in: include/stamp-h.in
21203 include/stamp-h.in: configure.ac aclocal.m4
21204 autoheader --warnings=all
21205 @echo timestamp > \$@"
21208 if test "x$enable_tools" != xno
21209 then
21210 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
21211 @./config.status tools/makedep
21212 Makefile: tools/makedep$ac_exeext
21213 fonts: tools/sfnt2fon
21214 include: tools tools/widl"
21215 else
21216 wine_fn_append_rule "\$(MAKEDEP):
21217 @echo \"You need to run make in $TOOLSDIR first\" && false"
21220 if test -n "$with_wine64"
21221 then
21222 case "$with_wine64" in
21223 /*) reldir="" ;;
21224 *) reldir="../" ;;
21225 esac
21226 rm -f fonts server 2>/dev/null
21227 wine_fn_append_rule "all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
21228 loader/wine64 loader/wine64-preloader:
21229 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
21230 $with_wine64/loader/wine:
21231 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
21232 $with_wine64/loader/wine-preloader:
21233 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
21234 clean::
21235 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
21236 else
21237 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
21238 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
21239 fonts \
21240 loader/l_intl.nls \
21241 loader/wine.inf \
21242 loader/winebus.inf \
21243 loader/winehid.inf \
21244 programs/msidb/msidb \
21245 programs/msiexec/msiexec \
21246 programs/notepad/notepad \
21247 programs/regedit/regedit \
21248 programs/regsvr32/regsvr32 \
21249 programs/wineboot/wineboot \
21250 programs/winecfg/winecfg \
21251 programs/wineconsole/wineconsole \
21252 programs/winedbg/winedbg \
21253 programs/winefile/winefile \
21254 programs/winemine/winemine \
21255 programs/winepath/winepath \
21256 server/wineserver"
21258 case $host_os in
21259 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
21260 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
21261 esac
21264 $as_echo " done" >&6
21265 cat >confcache <<\_ACEOF
21266 # This file is a shell script that caches the results of configure
21267 # tests run on this system so they can be shared between configure
21268 # scripts and configure runs, see configure's option --config-cache.
21269 # It is not useful on other systems. If it contains results you don't
21270 # want to keep, you may remove or edit it.
21272 # config.status only pays attention to the cache file if you give it
21273 # the --recheck option to rerun configure.
21275 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21276 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21277 # following values.
21279 _ACEOF
21281 # The following way of writing the cache mishandles newlines in values,
21282 # but we know of no workaround that is simple, portable, and efficient.
21283 # So, we kill variables containing newlines.
21284 # Ultrix sh set writes to stderr and can't be redirected directly,
21285 # and sets the high bit in the cache file unless we assign to the vars.
21287 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21288 eval ac_val=\$$ac_var
21289 case $ac_val in #(
21290 *${as_nl}*)
21291 case $ac_var in #(
21292 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
21293 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
21294 esac
21295 case $ac_var in #(
21296 _ | IFS | as_nl) ;; #(
21297 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
21298 *) { eval $ac_var=; unset $ac_var;} ;;
21299 esac ;;
21300 esac
21301 done
21303 (set) 2>&1 |
21304 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21305 *${as_nl}ac_space=\ *)
21306 # `set' does not quote correctly, so add quotes: double-quote
21307 # substitution turns \\\\ into \\, and sed turns \\ into \.
21308 sed -n \
21309 "s/'/'\\\\''/g;
21310 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21311 ;; #(
21313 # `set' quotes correctly as required by POSIX, so do not add quotes.
21314 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21316 esac |
21317 sort
21319 sed '
21320 /^ac_cv_env_/b end
21321 t clear
21322 :clear
21323 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21324 t end
21325 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21326 :end' >>confcache
21327 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
21328 if test -w "$cache_file"; then
21329 if test "x$cache_file" != "x/dev/null"; then
21330 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
21331 $as_echo "$as_me: updating cache $cache_file" >&6;}
21332 if test ! -f "$cache_file" || test -h "$cache_file"; then
21333 cat confcache >"$cache_file"
21334 else
21335 case $cache_file in #(
21336 */* | ?:*)
21337 mv -f confcache "$cache_file"$$ &&
21338 mv -f "$cache_file"$$ "$cache_file" ;; #(
21340 mv -f confcache "$cache_file" ;;
21341 esac
21344 else
21345 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
21346 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21349 rm -f confcache
21351 test "x$prefix" = xNONE && prefix=$ac_default_prefix
21352 # Let make expand exec_prefix.
21353 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
21355 DEFS=-DHAVE_CONFIG_H
21357 ac_libobjs=
21358 ac_ltlibobjs=
21360 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
21361 # 1. Remove the extension, and $U if already installed.
21362 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
21363 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
21364 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21365 # will be set to the directory where LIBOBJS objects are built.
21366 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21367 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
21368 done
21369 LIBOBJS=$ac_libobjs
21371 LTLIBOBJS=$ac_ltlibobjs
21375 : "${CONFIG_STATUS=./config.status}"
21376 ac_write_fail=0
21377 ac_clean_files_save=$ac_clean_files
21378 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
21379 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
21380 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
21381 as_write_fail=0
21382 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
21383 #! $SHELL
21384 # Generated by $as_me.
21385 # Run this file to recreate the current configuration.
21386 # Compiler output produced by configure, useful for debugging
21387 # configure, is in config.log if it exists.
21389 debug=false
21390 ac_cs_recheck=false
21391 ac_cs_silent=false
21393 SHELL=\${CONFIG_SHELL-$SHELL}
21394 export SHELL
21395 _ASEOF
21396 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
21397 ## -------------------- ##
21398 ## M4sh Initialization. ##
21399 ## -------------------- ##
21401 # Be more Bourne compatible
21402 DUALCASE=1; export DUALCASE # for MKS sh
21403 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
21404 emulate sh
21405 NULLCMD=:
21406 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21407 # is contrary to our usage. Disable this feature.
21408 alias -g '${1+"$@"}'='"$@"'
21409 setopt NO_GLOB_SUBST
21410 else
21411 case `(set -o) 2>/dev/null` in #(
21412 *posix*) :
21413 set -o posix ;; #(
21414 *) :
21416 esac
21420 as_nl='
21422 export as_nl
21423 # Printing a long string crashes Solaris 7 /usr/bin/printf.
21424 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
21425 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
21426 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
21427 # Prefer a ksh shell builtin over an external printf program on Solaris,
21428 # but without wasting forks for bash or zsh.
21429 if test -z "$BASH_VERSION$ZSH_VERSION" \
21430 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
21431 as_echo='print -r --'
21432 as_echo_n='print -rn --'
21433 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
21434 as_echo='printf %s\n'
21435 as_echo_n='printf %s'
21436 else
21437 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
21438 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
21439 as_echo_n='/usr/ucb/echo -n'
21440 else
21441 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
21442 as_echo_n_body='eval
21443 arg=$1;
21444 case $arg in #(
21445 *"$as_nl"*)
21446 expr "X$arg" : "X\\(.*\\)$as_nl";
21447 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
21448 esac;
21449 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
21451 export as_echo_n_body
21452 as_echo_n='sh -c $as_echo_n_body as_echo'
21454 export as_echo_body
21455 as_echo='sh -c $as_echo_body as_echo'
21458 # The user is always right.
21459 if test "${PATH_SEPARATOR+set}" != set; then
21460 PATH_SEPARATOR=:
21461 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
21462 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
21463 PATH_SEPARATOR=';'
21468 # IFS
21469 # We need space, tab and new line, in precisely that order. Quoting is
21470 # there to prevent editors from complaining about space-tab.
21471 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21472 # splitting by setting IFS to empty value.)
21473 IFS=" "" $as_nl"
21475 # Find who we are. Look in the path if we contain no directory separator.
21476 as_myself=
21477 case $0 in #((
21478 *[\\/]* ) as_myself=$0 ;;
21479 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21480 for as_dir in $PATH
21482 IFS=$as_save_IFS
21483 test -z "$as_dir" && as_dir=.
21484 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21485 done
21486 IFS=$as_save_IFS
21489 esac
21490 # We did not find ourselves, most probably we were run as `sh COMMAND'
21491 # in which case we are not to be found in the path.
21492 if test "x$as_myself" = x; then
21493 as_myself=$0
21495 if test ! -f "$as_myself"; then
21496 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21497 exit 1
21500 # Unset variables that we do not need and which cause bugs (e.g. in
21501 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
21502 # suppresses any "Segmentation fault" message there. '((' could
21503 # trigger a bug in pdksh 5.2.14.
21504 for as_var in BASH_ENV ENV MAIL MAILPATH
21505 do eval test x\${$as_var+set} = xset \
21506 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
21507 done
21508 PS1='$ '
21509 PS2='> '
21510 PS4='+ '
21512 # NLS nuisances.
21513 LC_ALL=C
21514 export LC_ALL
21515 LANGUAGE=C
21516 export LANGUAGE
21518 # CDPATH.
21519 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
21522 # as_fn_error STATUS ERROR [LINENO LOG_FD]
21523 # ----------------------------------------
21524 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
21525 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
21526 # script with STATUS, using 1 if that was 0.
21527 as_fn_error ()
21529 as_status=$1; test $as_status -eq 0 && as_status=1
21530 if test "$4"; then
21531 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
21532 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
21534 $as_echo "$as_me: error: $2" >&2
21535 as_fn_exit $as_status
21536 } # as_fn_error
21539 # as_fn_set_status STATUS
21540 # -----------------------
21541 # Set $? to STATUS, without forking.
21542 as_fn_set_status ()
21544 return $1
21545 } # as_fn_set_status
21547 # as_fn_exit STATUS
21548 # -----------------
21549 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
21550 as_fn_exit ()
21552 set +e
21553 as_fn_set_status $1
21554 exit $1
21555 } # as_fn_exit
21557 # as_fn_unset VAR
21558 # ---------------
21559 # Portably unset VAR.
21560 as_fn_unset ()
21562 { eval $1=; unset $1;}
21564 as_unset=as_fn_unset
21565 # as_fn_append VAR VALUE
21566 # ----------------------
21567 # Append the text in VALUE to the end of the definition contained in VAR. Take
21568 # advantage of any shell optimizations that allow amortized linear growth over
21569 # repeated appends, instead of the typical quadratic growth present in naive
21570 # implementations.
21571 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
21572 eval 'as_fn_append ()
21574 eval $1+=\$2
21576 else
21577 as_fn_append ()
21579 eval $1=\$$1\$2
21581 fi # as_fn_append
21583 # as_fn_arith ARG...
21584 # ------------------
21585 # Perform arithmetic evaluation on the ARGs, and store the result in the
21586 # global $as_val. Take advantage of shells that can avoid forks. The arguments
21587 # must be portable across $(()) and expr.
21588 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
21589 eval 'as_fn_arith ()
21591 as_val=$(( $* ))
21593 else
21594 as_fn_arith ()
21596 as_val=`expr "$@" || test $? -eq 1`
21598 fi # as_fn_arith
21601 if expr a : '\(a\)' >/dev/null 2>&1 &&
21602 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21603 as_expr=expr
21604 else
21605 as_expr=false
21608 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21609 as_basename=basename
21610 else
21611 as_basename=false
21614 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
21615 as_dirname=dirname
21616 else
21617 as_dirname=false
21620 as_me=`$as_basename -- "$0" ||
21621 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21622 X"$0" : 'X\(//\)$' \| \
21623 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21624 $as_echo X/"$0" |
21625 sed '/^.*\/\([^/][^/]*\)\/*$/{
21626 s//\1/
21629 /^X\/\(\/\/\)$/{
21630 s//\1/
21633 /^X\/\(\/\).*/{
21634 s//\1/
21637 s/.*/./; q'`
21639 # Avoid depending upon Character Ranges.
21640 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21641 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21642 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21643 as_cr_digits='0123456789'
21644 as_cr_alnum=$as_cr_Letters$as_cr_digits
21646 ECHO_C= ECHO_N= ECHO_T=
21647 case `echo -n x` in #(((((
21648 -n*)
21649 case `echo 'xy\c'` in
21650 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
21651 xy) ECHO_C='\c';;
21652 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
21653 ECHO_T=' ';;
21654 esac;;
21656 ECHO_N='-n';;
21657 esac
21659 rm -f conf$$ conf$$.exe conf$$.file
21660 if test -d conf$$.dir; then
21661 rm -f conf$$.dir/conf$$.file
21662 else
21663 rm -f conf$$.dir
21664 mkdir conf$$.dir 2>/dev/null
21666 if (echo >conf$$.file) 2>/dev/null; then
21667 if ln -s conf$$.file conf$$ 2>/dev/null; then
21668 as_ln_s='ln -s'
21669 # ... but there are two gotchas:
21670 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21671 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21672 # In both cases, we have to default to `cp -pR'.
21673 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
21674 as_ln_s='cp -pR'
21675 elif ln conf$$.file conf$$ 2>/dev/null; then
21676 as_ln_s=ln
21677 else
21678 as_ln_s='cp -pR'
21680 else
21681 as_ln_s='cp -pR'
21683 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
21684 rmdir conf$$.dir 2>/dev/null
21687 # as_fn_mkdir_p
21688 # -------------
21689 # Create "$as_dir" as a directory, including parents if necessary.
21690 as_fn_mkdir_p ()
21693 case $as_dir in #(
21694 -*) as_dir=./$as_dir;;
21695 esac
21696 test -d "$as_dir" || eval $as_mkdir_p || {
21697 as_dirs=
21698 while :; do
21699 case $as_dir in #(
21700 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
21701 *) as_qdir=$as_dir;;
21702 esac
21703 as_dirs="'$as_qdir' $as_dirs"
21704 as_dir=`$as_dirname -- "$as_dir" ||
21705 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21706 X"$as_dir" : 'X\(//\)[^/]' \| \
21707 X"$as_dir" : 'X\(//\)$' \| \
21708 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21709 $as_echo X"$as_dir" |
21710 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21711 s//\1/
21714 /^X\(\/\/\)[^/].*/{
21715 s//\1/
21718 /^X\(\/\/\)$/{
21719 s//\1/
21722 /^X\(\/\).*/{
21723 s//\1/
21726 s/.*/./; q'`
21727 test -d "$as_dir" && break
21728 done
21729 test -z "$as_dirs" || eval "mkdir $as_dirs"
21730 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
21733 } # as_fn_mkdir_p
21734 if mkdir -p . 2>/dev/null; then
21735 as_mkdir_p='mkdir -p "$as_dir"'
21736 else
21737 test -d ./-p && rmdir ./-p
21738 as_mkdir_p=false
21742 # as_fn_executable_p FILE
21743 # -----------------------
21744 # Test if FILE is an executable regular file.
21745 as_fn_executable_p ()
21747 test -f "$1" && test -x "$1"
21748 } # as_fn_executable_p
21749 as_test_x='test -x'
21750 as_executable_p=as_fn_executable_p
21752 # Sed expression to map a string onto a valid CPP name.
21753 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21755 # Sed expression to map a string onto a valid variable name.
21756 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21759 exec 6>&1
21760 ## ----------------------------------- ##
21761 ## Main body of $CONFIG_STATUS script. ##
21762 ## ----------------------------------- ##
21763 _ASEOF
21764 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
21766 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21767 # Save the log message, to keep $0 and so on meaningful, and to
21768 # report actual input values of CONFIG_FILES etc. instead of their
21769 # values after options handling.
21770 ac_log="
21771 This file was extended by Wine $as_me 4.21, which was
21772 generated by GNU Autoconf 2.69. Invocation command line was
21774 CONFIG_FILES = $CONFIG_FILES
21775 CONFIG_HEADERS = $CONFIG_HEADERS
21776 CONFIG_LINKS = $CONFIG_LINKS
21777 CONFIG_COMMANDS = $CONFIG_COMMANDS
21778 $ $0 $@
21780 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21783 _ACEOF
21785 case $ac_config_files in *"
21786 "*) set x $ac_config_files; shift; ac_config_files=$*;;
21787 esac
21789 case $ac_config_headers in *"
21790 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
21791 esac
21794 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21795 # Files that config.status was made for.
21796 config_files="$ac_config_files"
21797 config_headers="$ac_config_headers"
21798 config_links="$ac_config_links"
21799 config_commands="$ac_config_commands"
21801 _ACEOF
21803 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21804 ac_cs_usage="\
21805 \`$as_me' instantiates files and other configuration actions
21806 from templates according to the current configuration. Unless the files
21807 and actions are specified as TAGs, all are instantiated by default.
21809 Usage: $0 [OPTION]... [TAG]...
21811 -h, --help print this help, then exit
21812 -V, --version print version number and configuration settings, then exit
21813 --config print configuration, then exit
21814 -q, --quiet, --silent
21815 do not print progress messages
21816 -d, --debug don't remove temporary files
21817 --recheck update $as_me by reconfiguring in the same conditions
21818 --file=FILE[:TEMPLATE]
21819 instantiate the configuration file FILE
21820 --header=FILE[:TEMPLATE]
21821 instantiate the configuration header FILE
21823 Configuration files:
21824 $config_files
21826 Configuration headers:
21827 $config_headers
21829 Configuration links:
21830 $config_links
21832 Configuration commands:
21833 $config_commands
21835 Report bugs to <wine-devel@winehq.org>.
21836 Wine home page: <https://www.winehq.org>."
21838 _ACEOF
21839 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21840 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
21841 ac_cs_version="\\
21842 Wine config.status 4.21
21843 configured by $0, generated by GNU Autoconf 2.69,
21844 with options \\"\$ac_cs_config\\"
21846 Copyright (C) 2012 Free Software Foundation, Inc.
21847 This config.status script is free software; the Free Software Foundation
21848 gives unlimited permission to copy, distribute and modify it."
21850 ac_pwd='$ac_pwd'
21851 srcdir='$srcdir'
21852 test -n "\$AWK" || AWK=awk
21853 _ACEOF
21855 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21856 # The default lists apply if the user does not specify any file.
21857 ac_need_defaults=:
21858 while test $# != 0
21860 case $1 in
21861 --*=?*)
21862 ac_option=`expr "X$1" : 'X\([^=]*\)='`
21863 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
21864 ac_shift=:
21866 --*=)
21867 ac_option=`expr "X$1" : 'X\([^=]*\)='`
21868 ac_optarg=
21869 ac_shift=:
21872 ac_option=$1
21873 ac_optarg=$2
21874 ac_shift=shift
21876 esac
21878 case $ac_option in
21879 # Handling of the options.
21880 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
21881 ac_cs_recheck=: ;;
21882 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
21883 $as_echo "$ac_cs_version"; exit ;;
21884 --config | --confi | --conf | --con | --co | --c )
21885 $as_echo "$ac_cs_config"; exit ;;
21886 --debug | --debu | --deb | --de | --d | -d )
21887 debug=: ;;
21888 --file | --fil | --fi | --f )
21889 $ac_shift
21890 case $ac_optarg in
21891 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21892 '') as_fn_error $? "missing file argument" ;;
21893 esac
21894 as_fn_append CONFIG_FILES " '$ac_optarg'"
21895 ac_need_defaults=false;;
21896 --header | --heade | --head | --hea )
21897 $ac_shift
21898 case $ac_optarg in
21899 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21900 esac
21901 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
21902 ac_need_defaults=false;;
21903 --he | --h)
21904 # Conflict between --help and --header
21905 as_fn_error $? "ambiguous option: \`$1'
21906 Try \`$0 --help' for more information.";;
21907 --help | --hel | -h )
21908 $as_echo "$ac_cs_usage"; exit ;;
21909 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
21910 | -silent | --silent | --silen | --sile | --sil | --si | --s)
21911 ac_cs_silent=: ;;
21913 # This is an error.
21914 -*) as_fn_error $? "unrecognized option: \`$1'
21915 Try \`$0 --help' for more information." ;;
21917 *) as_fn_append ac_config_targets " $1"
21918 ac_need_defaults=false ;;
21920 esac
21921 shift
21922 done
21924 ac_configure_extra_args=
21926 if $ac_cs_silent; then
21927 exec 6>/dev/null
21928 ac_configure_extra_args="$ac_configure_extra_args --silent"
21931 _ACEOF
21932 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21933 if \$ac_cs_recheck; then
21934 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21935 shift
21936 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
21937 CONFIG_SHELL='$SHELL'
21938 export CONFIG_SHELL
21939 exec "\$@"
21942 _ACEOF
21943 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21944 exec 5>>config.log
21946 echo
21947 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21948 ## Running $as_me. ##
21949 _ASBOX
21950 $as_echo "$ac_log"
21951 } >&5
21953 _ACEOF
21954 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21956 # INIT-COMMANDS
21958 wine_fn_output_makedep ()
21960 as_dir=tools; as_fn_mkdir_p
21961 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
21963 wine_fn_output_makefile ()
21965 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
21966 `cat $wine_rules_file`
21967 _WINE_EOF
21968 as_fn_error $? "could not create Makefile" "$LINENO" 5
21971 _ACEOF
21973 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21975 # Handling of arguments.
21976 for ac_config_target in $ac_config_targets
21978 case $ac_config_target in
21979 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
21980 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
21981 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
21982 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
21983 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
21984 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
21985 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
21987 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
21988 esac
21989 done
21992 # If the user did not use the arguments to specify the items to instantiate,
21993 # then the envvar interface is used. Set only those that are not.
21994 # We use the long form for the default assignment because of an extremely
21995 # bizarre bug on SunOS 4.1.3.
21996 if $ac_need_defaults; then
21997 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
21998 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
21999 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
22000 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
22003 # Have a temporary directory for convenience. Make it in the build tree
22004 # simply because there is no reason against having it here, and in addition,
22005 # creating and moving files from /tmp can sometimes cause problems.
22006 # Hook for its removal unless debugging.
22007 # Note that there is a small window in which the directory will not be cleaned:
22008 # after its creation but before its name has been assigned to `$tmp'.
22009 $debug ||
22011 tmp= ac_tmp=
22012 trap 'exit_status=$?
22013 : "${ac_tmp:=$tmp}"
22014 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
22016 trap 'as_fn_exit 1' 1 2 13 15
22018 # Create a (secure) tmp directory for tmp files.
22021 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22022 test -d "$tmp"
22023 } ||
22025 tmp=./conf$$-$RANDOM
22026 (umask 077 && mkdir "$tmp")
22027 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
22028 ac_tmp=$tmp
22030 # Set up the scripts for CONFIG_FILES section.
22031 # No need to generate them if there are no CONFIG_FILES.
22032 # This happens for instance with `./config.status config.h'.
22033 if test -n "$CONFIG_FILES"; then
22036 ac_cr=`echo X | tr X '\015'`
22037 # On cygwin, bash can eat \r inside `` if the user requested igncr.
22038 # But we know of no other shell where ac_cr would be empty at this
22039 # point, so we can use a bashism as a fallback.
22040 if test "x$ac_cr" = x; then
22041 eval ac_cr=\$\'\\r\'
22043 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
22044 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
22045 ac_cs_awk_cr='\\r'
22046 else
22047 ac_cs_awk_cr=$ac_cr
22050 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
22051 _ACEOF
22055 echo "cat >conf$$subs.awk <<_ACEOF" &&
22056 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
22057 echo "_ACEOF"
22058 } >conf$$subs.sh ||
22059 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22060 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
22061 ac_delim='%!_!# '
22062 for ac_last_try in false false false false false :; do
22063 . ./conf$$subs.sh ||
22064 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22066 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
22067 if test $ac_delim_n = $ac_delim_num; then
22068 break
22069 elif $ac_last_try; then
22070 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22071 else
22072 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22074 done
22075 rm -f conf$$subs.sh
22077 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22078 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
22079 _ACEOF
22080 sed -n '
22082 s/^/S["/; s/!.*/"]=/
22085 s/^[^!]*!//
22086 :repl
22087 t repl
22088 s/'"$ac_delim"'$//
22089 t delim
22092 s/\(.\{148\}\)..*/\1/
22093 t more1
22094 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
22097 b repl
22098 :more1
22099 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22102 s/.\{148\}//
22103 t nl
22104 :delim
22106 s/\(.\{148\}\)..*/\1/
22107 t more2
22108 s/["\\]/\\&/g; s/^/"/; s/$/"/
22111 :more2
22112 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22115 s/.\{148\}//
22116 t delim
22117 ' <conf$$subs.awk | sed '
22118 /^[^""]/{
22120 s/\n//
22122 ' >>$CONFIG_STATUS || ac_write_fail=1
22123 rm -f conf$$subs.awk
22124 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22125 _ACAWK
22126 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
22127 for (key in S) S_is_set[key] = 1
22128 FS = "\a"
22132 line = $ 0
22133 nfields = split(line, field, "@")
22134 substed = 0
22135 len = length(field[1])
22136 for (i = 2; i < nfields; i++) {
22137 key = field[i]
22138 keylen = length(key)
22139 if (S_is_set[key]) {
22140 value = S[key]
22141 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
22142 len += length(value) + length(field[++i])
22143 substed = 1
22144 } else
22145 len += 1 + keylen
22148 print line
22151 _ACAWK
22152 _ACEOF
22153 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22154 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
22155 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
22156 else
22158 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
22159 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
22160 _ACEOF
22162 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
22163 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
22164 # trailing colons and then remove the whole line if VPATH becomes empty
22165 # (actually we leave an empty line to preserve line numbers).
22166 if test "x$srcdir" = x.; then
22167 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
22169 s///
22170 s/^/:/
22171 s/[ ]*$/:/
22172 s/:\$(srcdir):/:/g
22173 s/:\${srcdir}:/:/g
22174 s/:@srcdir@:/:/g
22175 s/^:*//
22176 s/:*$//
22178 s/\(=[ ]*\).*/\1/
22180 s/\n//
22181 s/^[^=]*=[ ]*$//
22185 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22186 fi # test -n "$CONFIG_FILES"
22188 # Set up the scripts for CONFIG_HEADERS section.
22189 # No need to generate them if there are no CONFIG_HEADERS.
22190 # This happens for instance with `./config.status Makefile'.
22191 if test -n "$CONFIG_HEADERS"; then
22192 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
22193 BEGIN {
22194 _ACEOF
22196 # Transform confdefs.h into an awk script `defines.awk', embedded as
22197 # here-document in config.status, that substitutes the proper values into
22198 # config.h.in to produce config.h.
22200 # Create a delimiter string that does not exist in confdefs.h, to ease
22201 # handling of long lines.
22202 ac_delim='%!_!# '
22203 for ac_last_try in false false :; do
22204 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
22205 if test -z "$ac_tt"; then
22206 break
22207 elif $ac_last_try; then
22208 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
22209 else
22210 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22212 done
22214 # For the awk script, D is an array of macro values keyed by name,
22215 # likewise P contains macro parameters if any. Preserve backslash
22216 # newline sequences.
22218 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22219 sed -n '
22220 s/.\{148\}/&'"$ac_delim"'/g
22221 t rset
22222 :rset
22223 s/^[ ]*#[ ]*define[ ][ ]*/ /
22224 t def
22226 :def
22227 s/\\$//
22228 t bsnl
22229 s/["\\]/\\&/g
22230 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22231 D["\1"]=" \3"/p
22232 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
22234 :bsnl
22235 s/["\\]/\\&/g
22236 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22237 D["\1"]=" \3\\\\\\n"\\/p
22238 t cont
22239 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
22240 t cont
22242 :cont
22244 s/.\{148\}/&'"$ac_delim"'/g
22245 t clear
22246 :clear
22247 s/\\$//
22248 t bsnlc
22249 s/["\\]/\\&/g; s/^/"/; s/$/"/p
22251 :bsnlc
22252 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
22253 b cont
22254 ' <confdefs.h | sed '
22255 s/'"$ac_delim"'/"\\\
22256 "/g' >>$CONFIG_STATUS || ac_write_fail=1
22258 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22259 for (key in D) D_is_set[key] = 1
22260 FS = "\a"
22262 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
22263 line = \$ 0
22264 split(line, arg, " ")
22265 if (arg[1] == "#") {
22266 defundef = arg[2]
22267 mac1 = arg[3]
22268 } else {
22269 defundef = substr(arg[1], 2)
22270 mac1 = arg[2]
22272 split(mac1, mac2, "(") #)
22273 macro = mac2[1]
22274 prefix = substr(line, 1, index(line, defundef) - 1)
22275 if (D_is_set[macro]) {
22276 # Preserve the white space surrounding the "#".
22277 print prefix "define", macro P[macro] D[macro]
22278 next
22279 } else {
22280 # Replace #undef with comments. This is necessary, for example,
22281 # in the case of _POSIX_SOURCE, which is predefined and required
22282 # on some systems where configure will not decide to define it.
22283 if (defundef == "undef") {
22284 print "/*", prefix defundef, macro, "*/"
22285 next
22289 { print }
22290 _ACAWK
22291 _ACEOF
22292 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22293 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
22294 fi # test -n "$CONFIG_HEADERS"
22297 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
22298 shift
22299 for ac_tag
22301 case $ac_tag in
22302 :[FHLC]) ac_mode=$ac_tag; continue;;
22303 esac
22304 case $ac_mode$ac_tag in
22305 :[FHL]*:*);;
22306 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
22307 :[FH]-) ac_tag=-:-;;
22308 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
22309 esac
22310 ac_save_IFS=$IFS
22311 IFS=:
22312 set x $ac_tag
22313 IFS=$ac_save_IFS
22314 shift
22315 ac_file=$1
22316 shift
22318 case $ac_mode in
22319 :L) ac_source=$1;;
22320 :[FH])
22321 ac_file_inputs=
22322 for ac_f
22324 case $ac_f in
22325 -) ac_f="$ac_tmp/stdin";;
22326 *) # Look for the file first in the build tree, then in the source tree
22327 # (if the path is not absolute). The absolute path cannot be DOS-style,
22328 # because $ac_f cannot contain `:'.
22329 test -f "$ac_f" ||
22330 case $ac_f in
22331 [\\/$]*) false;;
22332 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
22333 esac ||
22334 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
22335 esac
22336 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
22337 as_fn_append ac_file_inputs " '$ac_f'"
22338 done
22340 # Let's still pretend it is `configure' which instantiates (i.e., don't
22341 # use $as_me), people would be surprised to read:
22342 # /* config.h. Generated by config.status. */
22343 configure_input='Generated from '`
22344 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
22345 `' by configure.'
22346 if test x"$ac_file" != x-; then
22347 configure_input="$ac_file. $configure_input"
22348 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
22349 $as_echo "$as_me: creating $ac_file" >&6;}
22351 # Neutralize special characters interpreted by sed in replacement strings.
22352 case $configure_input in #(
22353 *\&* | *\|* | *\\* )
22354 ac_sed_conf_input=`$as_echo "$configure_input" |
22355 sed 's/[\\\\&|]/\\\\&/g'`;; #(
22356 *) ac_sed_conf_input=$configure_input;;
22357 esac
22359 case $ac_tag in
22360 *:-:* | *:-) cat >"$ac_tmp/stdin" \
22361 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
22362 esac
22364 esac
22366 ac_dir=`$as_dirname -- "$ac_file" ||
22367 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22368 X"$ac_file" : 'X\(//\)[^/]' \| \
22369 X"$ac_file" : 'X\(//\)$' \| \
22370 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22371 $as_echo X"$ac_file" |
22372 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22373 s//\1/
22376 /^X\(\/\/\)[^/].*/{
22377 s//\1/
22380 /^X\(\/\/\)$/{
22381 s//\1/
22384 /^X\(\/\).*/{
22385 s//\1/
22388 s/.*/./; q'`
22389 as_dir="$ac_dir"; as_fn_mkdir_p
22390 ac_builddir=.
22392 case "$ac_dir" in
22393 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22395 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
22396 # A ".." for each directory in $ac_dir_suffix.
22397 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
22398 case $ac_top_builddir_sub in
22399 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22400 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22401 esac ;;
22402 esac
22403 ac_abs_top_builddir=$ac_pwd
22404 ac_abs_builddir=$ac_pwd$ac_dir_suffix
22405 # for backward compatibility:
22406 ac_top_builddir=$ac_top_build_prefix
22408 case $srcdir in
22409 .) # We are building in place.
22410 ac_srcdir=.
22411 ac_top_srcdir=$ac_top_builddir_sub
22412 ac_abs_top_srcdir=$ac_pwd ;;
22413 [\\/]* | ?:[\\/]* ) # Absolute name.
22414 ac_srcdir=$srcdir$ac_dir_suffix;
22415 ac_top_srcdir=$srcdir
22416 ac_abs_top_srcdir=$srcdir ;;
22417 *) # Relative name.
22418 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22419 ac_top_srcdir=$ac_top_build_prefix$srcdir
22420 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22421 esac
22422 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22425 case $ac_mode in
22428 # CONFIG_FILE
22431 _ACEOF
22433 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22434 # If the template does not know about datarootdir, expand it.
22435 # FIXME: This hack should be removed a few years after 2.60.
22436 ac_datarootdir_hack=; ac_datarootdir_seen=
22437 ac_sed_dataroot='
22438 /datarootdir/ {
22442 /@datadir@/p
22443 /@docdir@/p
22444 /@infodir@/p
22445 /@localedir@/p
22446 /@mandir@/p'
22447 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
22448 *datarootdir*) ac_datarootdir_seen=yes;;
22449 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22450 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22451 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22452 _ACEOF
22453 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22454 ac_datarootdir_hack='
22455 s&@datadir@&$datadir&g
22456 s&@docdir@&$docdir&g
22457 s&@infodir@&$infodir&g
22458 s&@localedir@&$localedir&g
22459 s&@mandir@&$mandir&g
22460 s&\\\${datarootdir}&$datarootdir&g' ;;
22461 esac
22462 _ACEOF
22464 # Neutralize VPATH when `$srcdir' = `.'.
22465 # Shell code in configure.ac might set extrasub.
22466 # FIXME: do we really want to maintain this feature?
22467 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22468 ac_sed_extra="$ac_vpsub
22469 $extrasub
22470 _ACEOF
22471 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22473 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22474 s|@configure_input@|$ac_sed_conf_input|;t t
22475 s&@top_builddir@&$ac_top_builddir_sub&;t t
22476 s&@top_build_prefix@&$ac_top_build_prefix&;t t
22477 s&@srcdir@&$ac_srcdir&;t t
22478 s&@abs_srcdir@&$ac_abs_srcdir&;t t
22479 s&@top_srcdir@&$ac_top_srcdir&;t t
22480 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
22481 s&@builddir@&$ac_builddir&;t t
22482 s&@abs_builddir@&$ac_abs_builddir&;t t
22483 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
22484 $ac_datarootdir_hack
22486 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
22487 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22489 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22490 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
22491 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
22492 "$ac_tmp/out"`; test -z "$ac_out"; } &&
22493 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22494 which seems to be undefined. Please make sure it is defined" >&5
22495 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22496 which seems to be undefined. Please make sure it is defined" >&2;}
22498 rm -f "$ac_tmp/stdin"
22499 case $ac_file in
22500 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
22501 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
22502 esac \
22503 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22507 # CONFIG_HEADER
22509 if test x"$ac_file" != x-; then
22511 $as_echo "/* $configure_input */" \
22512 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
22513 } >"$ac_tmp/config.h" \
22514 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22515 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
22516 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
22517 $as_echo "$as_me: $ac_file is unchanged" >&6;}
22518 else
22519 rm -f "$ac_file"
22520 mv "$ac_tmp/config.h" "$ac_file" \
22521 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22523 else
22524 $as_echo "/* $configure_input */" \
22525 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
22526 || as_fn_error $? "could not create -" "$LINENO" 5
22531 # CONFIG_LINK
22534 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
22536 else
22537 # Prefer the file from the source tree if names are identical.
22538 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
22539 ac_source=$srcdir/$ac_source
22542 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
22543 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
22545 if test ! -r "$ac_source"; then
22546 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
22548 rm -f "$ac_file"
22550 # Try a relative symlink, then a hard link, then a copy.
22551 case $ac_source in
22552 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
22553 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
22554 esac
22555 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
22556 ln "$ac_source" "$ac_file" 2>/dev/null ||
22557 cp -p "$ac_source" "$ac_file" ||
22558 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
22561 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
22562 $as_echo "$as_me: executing $ac_file commands" >&6;}
22564 esac
22567 case $ac_file$ac_mode in
22568 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
22569 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
22570 "Makefile":C) wine_fn_output_makefile Makefile ;;
22572 esac
22573 done # for ac_tag
22576 as_fn_exit 0
22577 _ACEOF
22578 ac_clean_files=$ac_clean_files_save
22580 test $ac_write_fail = 0 ||
22581 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
22584 # configure is writing to config.log, and then calls config.status.
22585 # config.status does its own redirection, appending to config.log.
22586 # Unfortunately, on DOS this fails, as config.log is still kept open
22587 # by configure, so config.status won't be able to write to it; its
22588 # output is simply discarded. So we exec the FD to /dev/null,
22589 # effectively closing config.log, so it can be properly (re)opened and
22590 # appended to by config.status. When coming back to configure, we
22591 # need to make the FD available again.
22592 if test "$no_create" != yes; then
22593 ac_cs_success=:
22594 ac_config_status_args=
22595 test "$silent" = yes &&
22596 ac_config_status_args="$ac_config_status_args --quiet"
22597 exec 5>/dev/null
22598 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22599 exec 5>>config.log
22600 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22601 # would make configure fail if this is the last instruction.
22602 $ac_cs_success || as_fn_exit 1
22604 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
22605 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22606 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
22610 if test "$no_create" = "yes"
22611 then
22612 exit 0
22615 ac_save_IFS="$IFS"
22616 if test "x$wine_notices" != x; then
22617 echo >&6
22618 IFS="|"
22619 for msg in $wine_notices; do
22620 IFS="$ac_save_IFS"
22621 if ${msg:+false} :; then :
22623 else
22624 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
22625 $as_echo "$as_me: $msg" >&6;}
22627 done
22629 IFS="|"
22630 for msg in $wine_warnings; do
22631 IFS="$ac_save_IFS"
22632 if ${msg:+false} :; then :
22634 else
22635 echo >&2
22636 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
22637 $as_echo "$as_me: WARNING: $msg" >&2;}
22639 done
22640 IFS="$ac_save_IFS"
22642 $as_echo "
22643 $as_me: Finished. Do '${ac_make}' to compile Wine.
22644 " >&6