d3d8: Handle stateblocks in d3d8_device_LightEnable().
[wine.git] / configure
blobf447e4ca075526de2aaff6bb68c90a6911d691bc
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 4.19.
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.19'
584 PACKAGE_STRING='Wine 4.19'
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 APPKIT_LIBS
728 CORESERVICES_LIBS
729 APPLICATIONSERVICES_LIBS
730 FORCEFEEDBACK_LIBS
731 IOKIT_LIBS
732 COREFOUNDATION_LIBS
733 OBJCPP
734 ac_ct_OBJC
735 OBJCFLAGS
736 OBJC
737 DLLTOOL
738 WINELOADER_PROGRAMS
739 CONFIGURE_TARGETS
740 DISABLED_SUBDIRS
741 SUBDIRS
742 READELF
743 OTOOL
745 WINEPRELOADER_LDFLAGS
746 WINELOADER_LDFLAGS
747 TOP_INSTALL_DEV
748 TOP_INSTALL_LIB
749 LDEXECFLAGS
750 LDDLLFLAGS
751 LDRPATH_LOCAL
752 LDRPATH_INSTALL
753 DLLFLAGS
755 OPENGL_LIBS
756 I386_LIBS
757 ICOTOOL
758 CONVERT
759 RSVG
760 FONTFORGE
761 PKG_CONFIG
762 MSGFMT
763 LDCONFIG
764 EGREP
765 GREP
766 LN_S
767 RANLIB
768 STRIP
769 ac_ct_AR
771 BISON
772 FLEX
773 TOOLSDIR
774 TARGETFLAGS
776 CPPBIN
777 ac_ct_CXX
778 CXXFLAGS
780 OBJEXT
781 EXEEXT
782 ac_ct_CC
783 CPPFLAGS
784 LDFLAGS
785 CFLAGS
787 SET_MAKE
788 host_os
789 host_vendor
790 host_cpu
791 host
792 build_os
793 build_vendor
794 build_cpu
795 build
796 target_alias
797 host_alias
798 build_alias
799 LIBS
800 ECHO_T
801 ECHO_N
802 ECHO_C
803 DEFS
804 mandir
805 localedir
806 libdir
807 psdir
808 pdfdir
809 dvidir
810 htmldir
811 infodir
812 docdir
813 oldincludedir
814 includedir
815 runstatedir
816 localstatedir
817 sharedstatedir
818 sysconfdir
819 datadir
820 datarootdir
821 libexecdir
822 sbindir
823 bindir
824 program_transform_name
825 prefix
826 exec_prefix
827 PACKAGE_URL
828 PACKAGE_BUGREPORT
829 PACKAGE_STRING
830 PACKAGE_VERSION
831 PACKAGE_TARNAME
832 PACKAGE_NAME
833 PATH_SEPARATOR
834 SHELL'
835 ac_subst_files=''
836 ac_user_opts='
837 enable_option_checking
838 enable_win16
839 enable_win64
840 enable_tests
841 enable_maintainer_mode
842 with_alsa
843 with_capi
844 with_cms
845 with_coreaudio
846 with_cups
847 with_curses
848 with_dbus
849 with_faudio
850 with_float_abi
851 with_fontconfig
852 with_freetype
853 with_gettext
854 with_gettextpo
855 with_gphoto
856 with_glu
857 with_gnutls
858 with_gsm
859 with_gssapi
860 with_gstreamer
861 with_hal
862 with_inotify
863 with_jpeg
864 with_krb5
865 with_ldap
866 with_mingw
867 with_mpg123
868 with_netapi
869 with_openal
870 with_opencl
871 with_opengl
872 with_osmesa
873 with_oss
874 with_pcap
875 with_png
876 with_pthread
877 with_pulse
878 with_sane
879 with_sdl
880 with_tiff
881 with_udev
882 with_unwind
883 with_v4l2
884 with_vkd3d
885 with_vulkan
886 with_xcomposite
887 with_xcursor
888 with_xfixes
889 with_xinerama
890 with_xinput
891 with_xinput2
892 with_xml
893 with_xrandr
894 with_xrender
895 with_xshape
896 with_xshm
897 with_xslt
898 with_xxf86vm
899 with_zlib
900 with_wine_tools
901 with_wine64
902 enable_largefile
903 with_x
904 enable_acledit
905 enable_aclui
906 enable_activeds
907 enable_actxprxy
908 enable_adsiid
909 enable_adsldp
910 enable_adsldpc
911 enable_advapi32
912 enable_advpack
913 enable_amsi
914 enable_amstream
915 enable_api_ms_win_appmodel_identity_l1_1_0
916 enable_api_ms_win_appmodel_runtime_l1_1_1
917 enable_api_ms_win_appmodel_runtime_l1_1_2
918 enable_api_ms_win_core_apiquery_l1_1_0
919 enable_api_ms_win_core_appcompat_l1_1_1
920 enable_api_ms_win_core_appinit_l1_1_0
921 enable_api_ms_win_core_atoms_l1_1_0
922 enable_api_ms_win_core_bem_l1_1_0
923 enable_api_ms_win_core_com_l1_1_0
924 enable_api_ms_win_core_com_l1_1_1
925 enable_api_ms_win_core_com_private_l1_1_0
926 enable_api_ms_win_core_comm_l1_1_0
927 enable_api_ms_win_core_console_l1_1_0
928 enable_api_ms_win_core_console_l2_1_0
929 enable_api_ms_win_core_crt_l1_1_0
930 enable_api_ms_win_core_crt_l2_1_0
931 enable_api_ms_win_core_datetime_l1_1_0
932 enable_api_ms_win_core_datetime_l1_1_1
933 enable_api_ms_win_core_debug_l1_1_0
934 enable_api_ms_win_core_debug_l1_1_1
935 enable_api_ms_win_core_delayload_l1_1_0
936 enable_api_ms_win_core_delayload_l1_1_1
937 enable_api_ms_win_core_errorhandling_l1_1_0
938 enable_api_ms_win_core_errorhandling_l1_1_1
939 enable_api_ms_win_core_errorhandling_l1_1_2
940 enable_api_ms_win_core_errorhandling_l1_1_3
941 enable_api_ms_win_core_fibers_l1_1_0
942 enable_api_ms_win_core_fibers_l1_1_1
943 enable_api_ms_win_core_file_l1_1_0
944 enable_api_ms_win_core_file_l1_2_0
945 enable_api_ms_win_core_file_l1_2_1
946 enable_api_ms_win_core_file_l1_2_2
947 enable_api_ms_win_core_file_l2_1_0
948 enable_api_ms_win_core_file_l2_1_1
949 enable_api_ms_win_core_file_l2_1_2
950 enable_api_ms_win_core_handle_l1_1_0
951 enable_api_ms_win_core_heap_l1_1_0
952 enable_api_ms_win_core_heap_l1_2_0
953 enable_api_ms_win_core_heap_l2_1_0
954 enable_api_ms_win_core_heap_obsolete_l1_1_0
955 enable_api_ms_win_core_interlocked_l1_1_0
956 enable_api_ms_win_core_interlocked_l1_2_0
957 enable_api_ms_win_core_io_l1_1_0
958 enable_api_ms_win_core_io_l1_1_1
959 enable_api_ms_win_core_job_l1_1_0
960 enable_api_ms_win_core_job_l2_1_0
961 enable_api_ms_win_core_kernel32_legacy_l1_1_0
962 enable_api_ms_win_core_kernel32_legacy_l1_1_1
963 enable_api_ms_win_core_kernel32_private_l1_1_1
964 enable_api_ms_win_core_largeinteger_l1_1_0
965 enable_api_ms_win_core_libraryloader_l1_1_0
966 enable_api_ms_win_core_libraryloader_l1_1_1
967 enable_api_ms_win_core_libraryloader_l1_2_0
968 enable_api_ms_win_core_libraryloader_l1_2_1
969 enable_api_ms_win_core_libraryloader_l1_2_2
970 enable_api_ms_win_core_localization_l1_1_0
971 enable_api_ms_win_core_localization_l1_2_0
972 enable_api_ms_win_core_localization_l1_2_1
973 enable_api_ms_win_core_localization_l2_1_0
974 enable_api_ms_win_core_localization_obsolete_l1_1_0
975 enable_api_ms_win_core_localization_obsolete_l1_2_0
976 enable_api_ms_win_core_localization_obsolete_l1_3_0
977 enable_api_ms_win_core_localization_private_l1_1_0
978 enable_api_ms_win_core_localregistry_l1_1_0
979 enable_api_ms_win_core_memory_l1_1_0
980 enable_api_ms_win_core_memory_l1_1_1
981 enable_api_ms_win_core_memory_l1_1_2
982 enable_api_ms_win_core_misc_l1_1_0
983 enable_api_ms_win_core_namedpipe_l1_1_0
984 enable_api_ms_win_core_namedpipe_l1_2_0
985 enable_api_ms_win_core_namespace_l1_1_0
986 enable_api_ms_win_core_normalization_l1_1_0
987 enable_api_ms_win_core_path_l1_1_0
988 enable_api_ms_win_core_privateprofile_l1_1_1
989 enable_api_ms_win_core_processenvironment_l1_1_0
990 enable_api_ms_win_core_processenvironment_l1_2_0
991 enable_api_ms_win_core_processthreads_l1_1_0
992 enable_api_ms_win_core_processthreads_l1_1_1
993 enable_api_ms_win_core_processthreads_l1_1_2
994 enable_api_ms_win_core_processthreads_l1_1_3
995 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
996 enable_api_ms_win_core_profile_l1_1_0
997 enable_api_ms_win_core_psapi_ansi_l1_1_0
998 enable_api_ms_win_core_psapi_l1_1_0
999 enable_api_ms_win_core_psapi_obsolete_l1_1_0
1000 enable_api_ms_win_core_quirks_l1_1_0
1001 enable_api_ms_win_core_realtime_l1_1_0
1002 enable_api_ms_win_core_registry_l1_1_0
1003 enable_api_ms_win_core_registry_l2_1_0
1004 enable_api_ms_win_core_registryuserspecific_l1_1_0
1005 enable_api_ms_win_core_rtlsupport_l1_1_0
1006 enable_api_ms_win_core_rtlsupport_l1_2_0
1007 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
1008 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
1009 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
1010 enable_api_ms_win_core_shutdown_l1_1_0
1011 enable_api_ms_win_core_sidebyside_l1_1_0
1012 enable_api_ms_win_core_string_l1_1_0
1013 enable_api_ms_win_core_string_l2_1_0
1014 enable_api_ms_win_core_string_obsolete_l1_1_0
1015 enable_api_ms_win_core_stringansi_l1_1_0
1016 enable_api_ms_win_core_stringloader_l1_1_1
1017 enable_api_ms_win_core_synch_ansi_l1_1_0
1018 enable_api_ms_win_core_synch_l1_1_0
1019 enable_api_ms_win_core_synch_l1_2_0
1020 enable_api_ms_win_core_synch_l1_2_1
1021 enable_api_ms_win_core_sysinfo_l1_1_0
1022 enable_api_ms_win_core_sysinfo_l1_2_0
1023 enable_api_ms_win_core_sysinfo_l1_2_1
1024 enable_api_ms_win_core_threadpool_l1_1_0
1025 enable_api_ms_win_core_threadpool_l1_2_0
1026 enable_api_ms_win_core_threadpool_legacy_l1_1_0
1027 enable_api_ms_win_core_threadpool_private_l1_1_0
1028 enable_api_ms_win_core_timezone_l1_1_0
1029 enable_api_ms_win_core_toolhelp_l1_1_0
1030 enable_api_ms_win_core_url_l1_1_0
1031 enable_api_ms_win_core_util_l1_1_0
1032 enable_api_ms_win_core_version_l1_1_0
1033 enable_api_ms_win_core_version_l1_1_1
1034 enable_api_ms_win_core_version_private_l1_1_0
1035 enable_api_ms_win_core_versionansi_l1_1_0
1036 enable_api_ms_win_core_windowserrorreporting_l1_1_0
1037 enable_api_ms_win_core_winrt_error_l1_1_0
1038 enable_api_ms_win_core_winrt_error_l1_1_1
1039 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
1040 enable_api_ms_win_core_winrt_l1_1_0
1041 enable_api_ms_win_core_winrt_registration_l1_1_0
1042 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
1043 enable_api_ms_win_core_winrt_string_l1_1_0
1044 enable_api_ms_win_core_winrt_string_l1_1_1
1045 enable_api_ms_win_core_wow64_l1_1_0
1046 enable_api_ms_win_core_wow64_l1_1_1
1047 enable_api_ms_win_core_xstate_l1_1_0
1048 enable_api_ms_win_core_xstate_l2_1_0
1049 enable_api_ms_win_crt_conio_l1_1_0
1050 enable_api_ms_win_crt_convert_l1_1_0
1051 enable_api_ms_win_crt_environment_l1_1_0
1052 enable_api_ms_win_crt_filesystem_l1_1_0
1053 enable_api_ms_win_crt_heap_l1_1_0
1054 enable_api_ms_win_crt_locale_l1_1_0
1055 enable_api_ms_win_crt_math_l1_1_0
1056 enable_api_ms_win_crt_multibyte_l1_1_0
1057 enable_api_ms_win_crt_private_l1_1_0
1058 enable_api_ms_win_crt_process_l1_1_0
1059 enable_api_ms_win_crt_runtime_l1_1_0
1060 enable_api_ms_win_crt_stdio_l1_1_0
1061 enable_api_ms_win_crt_string_l1_1_0
1062 enable_api_ms_win_crt_time_l1_1_0
1063 enable_api_ms_win_crt_utility_l1_1_0
1064 enable_api_ms_win_devices_config_l1_1_0
1065 enable_api_ms_win_devices_config_l1_1_1
1066 enable_api_ms_win_devices_query_l1_1_1
1067 enable_api_ms_win_downlevel_advapi32_l1_1_0
1068 enable_api_ms_win_downlevel_advapi32_l2_1_0
1069 enable_api_ms_win_downlevel_normaliz_l1_1_0
1070 enable_api_ms_win_downlevel_ole32_l1_1_0
1071 enable_api_ms_win_downlevel_shell32_l1_1_0
1072 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1073 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1074 enable_api_ms_win_downlevel_user32_l1_1_0
1075 enable_api_ms_win_downlevel_version_l1_1_0
1076 enable_api_ms_win_dx_d3dkmt_l1_1_0
1077 enable_api_ms_win_eventing_classicprovider_l1_1_0
1078 enable_api_ms_win_eventing_consumer_l1_1_0
1079 enable_api_ms_win_eventing_controller_l1_1_0
1080 enable_api_ms_win_eventing_legacy_l1_1_0
1081 enable_api_ms_win_eventing_provider_l1_1_0
1082 enable_api_ms_win_eventlog_legacy_l1_1_0
1083 enable_api_ms_win_gdi_dpiinfo_l1_1_0
1084 enable_api_ms_win_mm_joystick_l1_1_0
1085 enable_api_ms_win_mm_misc_l1_1_1
1086 enable_api_ms_win_mm_mme_l1_1_0
1087 enable_api_ms_win_mm_time_l1_1_0
1088 enable_api_ms_win_ntuser_dc_access_l1_1_0
1089 enable_api_ms_win_ntuser_rectangle_l1_1_0
1090 enable_api_ms_win_ntuser_sysparams_l1_1_0
1091 enable_api_ms_win_perf_legacy_l1_1_0
1092 enable_api_ms_win_power_base_l1_1_0
1093 enable_api_ms_win_power_setting_l1_1_0
1094 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
1095 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1096 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
1097 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
1098 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
1099 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
1100 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
1101 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1102 enable_api_ms_win_security_audit_l1_1_1
1103 enable_api_ms_win_security_base_l1_1_0
1104 enable_api_ms_win_security_base_l1_2_0
1105 enable_api_ms_win_security_base_private_l1_1_1
1106 enable_api_ms_win_security_credentials_l1_1_0
1107 enable_api_ms_win_security_cryptoapi_l1_1_0
1108 enable_api_ms_win_security_grouppolicy_l1_1_0
1109 enable_api_ms_win_security_lsalookup_l1_1_0
1110 enable_api_ms_win_security_lsalookup_l1_1_1
1111 enable_api_ms_win_security_lsalookup_l2_1_0
1112 enable_api_ms_win_security_lsalookup_l2_1_1
1113 enable_api_ms_win_security_lsapolicy_l1_1_0
1114 enable_api_ms_win_security_provider_l1_1_0
1115 enable_api_ms_win_security_sddl_l1_1_0
1116 enable_api_ms_win_security_systemfunctions_l1_1_0
1117 enable_api_ms_win_service_core_l1_1_0
1118 enable_api_ms_win_service_core_l1_1_1
1119 enable_api_ms_win_service_management_l1_1_0
1120 enable_api_ms_win_service_management_l2_1_0
1121 enable_api_ms_win_service_private_l1_1_1
1122 enable_api_ms_win_service_winsvc_l1_1_0
1123 enable_api_ms_win_service_winsvc_l1_2_0
1124 enable_api_ms_win_shcore_obsolete_l1_1_0
1125 enable_api_ms_win_shcore_scaling_l1_1_1
1126 enable_api_ms_win_shcore_stream_l1_1_0
1127 enable_api_ms_win_shcore_thread_l1_1_0
1128 enable_api_ms_win_shell_shellcom_l1_1_0
1129 enable_api_ms_win_shell_shellfolders_l1_1_0
1130 enable_apphelp
1131 enable_appwiz_cpl
1132 enable_atl
1133 enable_atl100
1134 enable_atl110
1135 enable_atl80
1136 enable_atl90
1137 enable_atlthunk
1138 enable_atmlib
1139 enable_authz
1140 enable_avicap32
1141 enable_avifil32
1142 enable_avrt
1143 enable_bcrypt
1144 enable_bluetoothapis
1145 enable_browseui
1146 enable_bthprops_cpl
1147 enable_cabinet
1148 enable_capi2032
1149 enable_cards
1150 enable_cdosys
1151 enable_cfgmgr32
1152 enable_clusapi
1153 enable_combase
1154 enable_comcat
1155 enable_comctl32
1156 enable_comdlg32
1157 enable_compstui
1158 enable_comsvcs
1159 enable_concrt140
1160 enable_connect
1161 enable_credui
1162 enable_crtdll
1163 enable_crypt32
1164 enable_cryptdlg
1165 enable_cryptdll
1166 enable_cryptext
1167 enable_cryptnet
1168 enable_cryptui
1169 enable_ctapi32
1170 enable_ctl3d32
1171 enable_d2d1
1172 enable_d3d10
1173 enable_d3d10_1
1174 enable_d3d10core
1175 enable_d3d11
1176 enable_d3d12
1177 enable_d3d8
1178 enable_d3d9
1179 enable_d3dcompiler_33
1180 enable_d3dcompiler_34
1181 enable_d3dcompiler_35
1182 enable_d3dcompiler_36
1183 enable_d3dcompiler_37
1184 enable_d3dcompiler_38
1185 enable_d3dcompiler_39
1186 enable_d3dcompiler_40
1187 enable_d3dcompiler_41
1188 enable_d3dcompiler_42
1189 enable_d3dcompiler_43
1190 enable_d3dcompiler_46
1191 enable_d3dcompiler_47
1192 enable_d3dim
1193 enable_d3drm
1194 enable_d3dx10_33
1195 enable_d3dx10_34
1196 enable_d3dx10_35
1197 enable_d3dx10_36
1198 enable_d3dx10_37
1199 enable_d3dx10_38
1200 enable_d3dx10_39
1201 enable_d3dx10_40
1202 enable_d3dx10_41
1203 enable_d3dx10_42
1204 enable_d3dx10_43
1205 enable_d3dx11_42
1206 enable_d3dx11_43
1207 enable_d3dx9_24
1208 enable_d3dx9_25
1209 enable_d3dx9_26
1210 enable_d3dx9_27
1211 enable_d3dx9_28
1212 enable_d3dx9_29
1213 enable_d3dx9_30
1214 enable_d3dx9_31
1215 enable_d3dx9_32
1216 enable_d3dx9_33
1217 enable_d3dx9_34
1218 enable_d3dx9_35
1219 enable_d3dx9_36
1220 enable_d3dx9_37
1221 enable_d3dx9_38
1222 enable_d3dx9_39
1223 enable_d3dx9_40
1224 enable_d3dx9_41
1225 enable_d3dx9_42
1226 enable_d3dx9_43
1227 enable_d3dxof
1228 enable_davclnt
1229 enable_dbgeng
1230 enable_dbghelp
1231 enable_dciman32
1232 enable_ddraw
1233 enable_ddrawex
1234 enable_devenum
1235 enable_dhcpcsvc
1236 enable_dhtmled_ocx
1237 enable_difxapi
1238 enable_dinput
1239 enable_dinput8
1240 enable_dispex
1241 enable_dmband
1242 enable_dmcompos
1243 enable_dmime
1244 enable_dmloader
1245 enable_dmoguids
1246 enable_dmscript
1247 enable_dmstyle
1248 enable_dmsynth
1249 enable_dmusic
1250 enable_dmusic32
1251 enable_dnsapi
1252 enable_dplay
1253 enable_dplayx
1254 enable_dpnaddr
1255 enable_dpnet
1256 enable_dpnhpast
1257 enable_dpnlobby
1258 enable_dpvoice
1259 enable_dpwsockx
1260 enable_drmclien
1261 enable_dsdmo
1262 enable_dsound
1263 enable_dsquery
1264 enable_dssenh
1265 enable_dswave
1266 enable_dwmapi
1267 enable_dwrite
1268 enable_dx8vb
1269 enable_dxdiagn
1270 enable_dxerr8
1271 enable_dxerr9
1272 enable_dxgi
1273 enable_dxguid
1274 enable_dxva2
1275 enable_esent
1276 enable_evr
1277 enable_explorerframe
1278 enable_ext_ms_win_authz_context_l1_1_0
1279 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1280 enable_ext_ms_win_dwmapi_ext_l1_1_0
1281 enable_ext_ms_win_gdi_dc_create_l1_1_0
1282 enable_ext_ms_win_gdi_dc_create_l1_1_1
1283 enable_ext_ms_win_gdi_dc_l1_2_0
1284 enable_ext_ms_win_gdi_devcaps_l1_1_0
1285 enable_ext_ms_win_gdi_draw_l1_1_0
1286 enable_ext_ms_win_gdi_draw_l1_1_1
1287 enable_ext_ms_win_gdi_font_l1_1_0
1288 enable_ext_ms_win_gdi_font_l1_1_1
1289 enable_ext_ms_win_gdi_render_l1_1_0
1290 enable_ext_ms_win_kernel32_package_current_l1_1_0
1291 enable_ext_ms_win_kernel32_package_l1_1_1
1292 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
1293 enable_ext_ms_win_ntuser_draw_l1_1_0
1294 enable_ext_ms_win_ntuser_gui_l1_1_0
1295 enable_ext_ms_win_ntuser_gui_l1_3_0
1296 enable_ext_ms_win_ntuser_keyboard_l1_3_0
1297 enable_ext_ms_win_ntuser_message_l1_1_0
1298 enable_ext_ms_win_ntuser_message_l1_1_1
1299 enable_ext_ms_win_ntuser_misc_l1_1_0
1300 enable_ext_ms_win_ntuser_misc_l1_2_0
1301 enable_ext_ms_win_ntuser_misc_l1_5_1
1302 enable_ext_ms_win_ntuser_mouse_l1_1_0
1303 enable_ext_ms_win_ntuser_private_l1_1_1
1304 enable_ext_ms_win_ntuser_private_l1_3_1
1305 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1306 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1307 enable_ext_ms_win_ntuser_window_l1_1_0
1308 enable_ext_ms_win_ntuser_window_l1_1_1
1309 enable_ext_ms_win_ntuser_window_l1_1_4
1310 enable_ext_ms_win_ntuser_windowclass_l1_1_0
1311 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1312 enable_ext_ms_win_oleacc_l1_1_0
1313 enable_ext_ms_win_ras_rasapi32_l1_1_0
1314 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
1315 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1316 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1317 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
1318 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1319 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1320 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
1321 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
1322 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
1323 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1324 enable_ext_ms_win_security_credui_l1_1_0
1325 enable_ext_ms_win_security_cryptui_l1_1_0
1326 enable_ext_ms_win_shell_comctl32_init_l1_1_0
1327 enable_ext_ms_win_shell_comdlg32_l1_1_0
1328 enable_ext_ms_win_shell_shell32_l1_2_0
1329 enable_ext_ms_win_uxtheme_themes_l1_1_0
1330 enable_faultrep
1331 enable_feclient
1332 enable_fltlib
1333 enable_fltmgr_sys
1334 enable_fntcache
1335 enable_fontsub
1336 enable_fusion
1337 enable_fwpuclnt
1338 enable_gameux
1339 enable_gdi32
1340 enable_gdiplus
1341 enable_glu32
1342 enable_gphoto2_ds
1343 enable_gpkcsp
1344 enable_hal
1345 enable_hhctrl_ocx
1346 enable_hid
1347 enable_hidclass_sys
1348 enable_hlink
1349 enable_hnetcfg
1350 enable_http_sys
1351 enable_httpapi
1352 enable_iccvid
1353 enable_icmp
1354 enable_ieframe
1355 enable_ieproxy
1356 enable_imaadp32_acm
1357 enable_imagehlp
1358 enable_imm32
1359 enable_inetcomm
1360 enable_inetcpl_cpl
1361 enable_inetmib1
1362 enable_infosoft
1363 enable_initpki
1364 enable_inkobj
1365 enable_inseng
1366 enable_iphlpapi
1367 enable_iprop
1368 enable_irprops_cpl
1369 enable_itircl
1370 enable_itss
1371 enable_joy_cpl
1372 enable_jscript
1373 enable_jsproxy
1374 enable_kerberos
1375 enable_kernel32
1376 enable_kernelbase
1377 enable_ksecdd_sys
1378 enable_ksuser
1379 enable_ktmw32
1380 enable_l3codeca_acm
1381 enable_loadperf
1382 enable_localspl
1383 enable_localui
1384 enable_lz32
1385 enable_mapi32
1386 enable_mapistub
1387 enable_mciavi32
1388 enable_mcicda
1389 enable_mciqtz32
1390 enable_mciseq
1391 enable_mciwave
1392 enable_mf
1393 enable_mf3216
1394 enable_mferror
1395 enable_mfmediaengine
1396 enable_mfplat
1397 enable_mfplay
1398 enable_mfreadwrite
1399 enable_mfuuid
1400 enable_mgmtapi
1401 enable_midimap
1402 enable_mlang
1403 enable_mmcndmgr
1404 enable_mmdevapi
1405 enable_mountmgr_sys
1406 enable_mp3dmod
1407 enable_mpr
1408 enable_mprapi
1409 enable_msacm32_drv
1410 enable_msacm32
1411 enable_msadp32_acm
1412 enable_msasn1
1413 enable_mscat32
1414 enable_mscms
1415 enable_mscoree
1416 enable_mscorwks
1417 enable_msctf
1418 enable_msctfp
1419 enable_msdaps
1420 enable_msdelta
1421 enable_msdmo
1422 enable_msdrm
1423 enable_msftedit
1424 enable_msg711_acm
1425 enable_msgsm32_acm
1426 enable_mshtml_tlb
1427 enable_mshtml
1428 enable_msi
1429 enable_msident
1430 enable_msimg32
1431 enable_msimsg
1432 enable_msimtf
1433 enable_msisip
1434 enable_msisys_ocx
1435 enable_msls31
1436 enable_msnet32
1437 enable_mspatcha
1438 enable_msports
1439 enable_msrle32
1440 enable_msscript_ocx
1441 enable_mssign32
1442 enable_mssip32
1443 enable_mstask
1444 enable_msvcirt
1445 enable_msvcm80
1446 enable_msvcm90
1447 enable_msvcp100
1448 enable_msvcp110
1449 enable_msvcp120
1450 enable_msvcp120_app
1451 enable_msvcp140
1452 enable_msvcp60
1453 enable_msvcp70
1454 enable_msvcp71
1455 enable_msvcp80
1456 enable_msvcp90
1457 enable_msvcr100
1458 enable_msvcr110
1459 enable_msvcr120
1460 enable_msvcr120_app
1461 enable_msvcr70
1462 enable_msvcr71
1463 enable_msvcr80
1464 enable_msvcr90
1465 enable_msvcrt
1466 enable_msvcrt20
1467 enable_msvcrt40
1468 enable_msvcrtd
1469 enable_msvfw32
1470 enable_msvidc32
1471 enable_mswsock
1472 enable_msxml
1473 enable_msxml2
1474 enable_msxml3
1475 enable_msxml4
1476 enable_msxml6
1477 enable_mtxdm
1478 enable_ncrypt
1479 enable_nddeapi
1480 enable_ndis_sys
1481 enable_netapi32
1482 enable_netcfgx
1483 enable_netprofm
1484 enable_newdev
1485 enable_ninput
1486 enable_normaliz
1487 enable_npmshtml
1488 enable_npptools
1489 enable_ntdll
1490 enable_ntdsapi
1491 enable_ntoskrnl_exe
1492 enable_ntprint
1493 enable_objsel
1494 enable_odbc32
1495 enable_odbccp32
1496 enable_odbccu32
1497 enable_ole32
1498 enable_oleacc
1499 enable_oleaut32
1500 enable_olecli32
1501 enable_oledb32
1502 enable_oledlg
1503 enable_olepro32
1504 enable_olesvr32
1505 enable_olethk32
1506 enable_opcservices
1507 enable_openal32
1508 enable_opencl
1509 enable_opengl32
1510 enable_packager
1511 enable_pdh
1512 enable_photometadatahandler
1513 enable_pidgen
1514 enable_powrprof
1515 enable_printui
1516 enable_prntvpt
1517 enable_propsys
1518 enable_psapi
1519 enable_pstorec
1520 enable_qcap
1521 enable_qedit
1522 enable_qmgr
1523 enable_qmgrprxy
1524 enable_quartz
1525 enable_query
1526 enable_qwave
1527 enable_rasapi32
1528 enable_rasdlg
1529 enable_regapi
1530 enable_resutils
1531 enable_riched20
1532 enable_riched32
1533 enable_rpcrt4
1534 enable_rsabase
1535 enable_rsaenh
1536 enable_rstrtmgr
1537 enable_rtutils
1538 enable_samlib
1539 enable_sane_ds
1540 enable_sapi
1541 enable_sas
1542 enable_scarddlg
1543 enable_sccbase
1544 enable_schannel
1545 enable_schedsvc
1546 enable_scrobj
1547 enable_scrrun
1548 enable_scsiport_sys
1549 enable_secur32
1550 enable_security
1551 enable_sensapi
1552 enable_serialui
1553 enable_setupapi
1554 enable_sfc
1555 enable_sfc_os
1556 enable_shcore
1557 enable_shdoclc
1558 enable_shdocvw
1559 enable_shell32
1560 enable_shfolder
1561 enable_shlwapi
1562 enable_slbcsp
1563 enable_slc
1564 enable_snmpapi
1565 enable_softpub
1566 enable_spoolss
1567 enable_srclient
1568 enable_sspicli
1569 enable_stdole2_tlb
1570 enable_stdole32_tlb
1571 enable_sti
1572 enable_strmbase
1573 enable_strmdll
1574 enable_strmiids
1575 enable_svrapi
1576 enable_sxs
1577 enable_t2embed
1578 enable_tapi32
1579 enable_taskschd
1580 enable_tdh
1581 enable_tdi_sys
1582 enable_traffic
1583 enable_twain_32
1584 enable_tzres
1585 enable_ucrtbase
1586 enable_uianimation
1587 enable_uiautomationcore
1588 enable_uiribbon
1589 enable_unicows
1590 enable_updspapi
1591 enable_url
1592 enable_urlmon
1593 enable_usbd_sys
1594 enable_user32
1595 enable_userenv
1596 enable_usp10
1597 enable_utildll
1598 enable_uuid
1599 enable_uxtheme
1600 enable_vbscript
1601 enable_vcomp
1602 enable_vcomp100
1603 enable_vcomp110
1604 enable_vcomp120
1605 enable_vcomp140
1606 enable_vcomp90
1607 enable_vcruntime140
1608 enable_vdmdbg
1609 enable_version
1610 enable_virtdisk
1611 enable_vssapi
1612 enable_vulkan_1
1613 enable_wbemdisp
1614 enable_wbemprox
1615 enable_wdscore
1616 enable_webservices
1617 enable_wer
1618 enable_wevtapi
1619 enable_wiaservc
1620 enable_wimgapi
1621 enable_windowscodecs
1622 enable_windowscodecsext
1623 enable_winealsa_drv
1624 enable_wineandroid_drv
1625 enable_winebus_sys
1626 enable_winecoreaudio_drv
1627 enable_winecrt0
1628 enable_wined3d
1629 enable_winegstreamer
1630 enable_winehid_sys
1631 enable_winejoystick_drv
1632 enable_winemac_drv
1633 enable_winemapi
1634 enable_wineoss_drv
1635 enable_wineps_drv
1636 enable_winepulse_drv
1637 enable_wineqtdecoder
1638 enable_winevulkan
1639 enable_winex11_drv
1640 enable_wing32
1641 enable_winhttp
1642 enable_wininet
1643 enable_winmm
1644 enable_winnls32
1645 enable_winscard
1646 enable_winspool_drv
1647 enable_winsta
1648 enable_wintab32
1649 enable_wintrust
1650 enable_winusb
1651 enable_wlanapi
1652 enable_wlanui
1653 enable_wldap32
1654 enable_wmasf
1655 enable_wmcodecdspuuid
1656 enable_wmi
1657 enable_wmiutils
1658 enable_wmp
1659 enable_wmphoto
1660 enable_wmvcore
1661 enable_wnaspi32
1662 enable_wpc
1663 enable_wpcap
1664 enable_ws2_32
1665 enable_wsdapi
1666 enable_wshom_ocx
1667 enable_wsnmp32
1668 enable_wsock32
1669 enable_wtsapi32
1670 enable_wuapi
1671 enable_wuaueng
1672 enable_x3daudio1_0
1673 enable_x3daudio1_1
1674 enable_x3daudio1_2
1675 enable_x3daudio1_3
1676 enable_x3daudio1_4
1677 enable_x3daudio1_5
1678 enable_x3daudio1_6
1679 enable_x3daudio1_7
1680 enable_xapofx1_1
1681 enable_xapofx1_2
1682 enable_xapofx1_3
1683 enable_xapofx1_4
1684 enable_xapofx1_5
1685 enable_xaudio2_0
1686 enable_xaudio2_1
1687 enable_xaudio2_2
1688 enable_xaudio2_3
1689 enable_xaudio2_4
1690 enable_xaudio2_5
1691 enable_xaudio2_6
1692 enable_xaudio2_7
1693 enable_xaudio2_8
1694 enable_xaudio2_9
1695 enable_xinput1_1
1696 enable_xinput1_2
1697 enable_xinput1_3
1698 enable_xinput1_4
1699 enable_xinput9_1_0
1700 enable_xmllite
1701 enable_xolehlp
1702 enable_xpsprint
1703 enable_xpssvcs
1704 enable_fonts
1705 enable_include
1706 enable_port
1707 enable_wine
1708 enable_wpp
1709 enable_loader
1710 enable_po
1711 enable_arp
1712 enable_aspnet_regiis
1713 enable_attrib
1714 enable_cabarc
1715 enable_cacls
1716 enable_clock
1717 enable_cmd
1718 enable_conhost
1719 enable_control
1720 enable_cscript
1721 enable_dism
1722 enable_dpnsvr
1723 enable_dxdiag
1724 enable_eject
1725 enable_expand
1726 enable_explorer
1727 enable_extrac32
1728 enable_fc
1729 enable_find
1730 enable_findstr
1731 enable_fsutil
1732 enable_hh
1733 enable_hostname
1734 enable_icacls
1735 enable_icinfo
1736 enable_iexplore
1737 enable_ipconfig
1738 enable_lodctr
1739 enable_mofcomp
1740 enable_mshta
1741 enable_msidb
1742 enable_msiexec
1743 enable_msinfo32
1744 enable_net
1745 enable_netsh
1746 enable_netstat
1747 enable_ngen
1748 enable_notepad
1749 enable_oleview
1750 enable_ping
1751 enable_plugplay
1752 enable_powershell
1753 enable_presentationfontcache
1754 enable_progman
1755 enable_reg
1756 enable_regasm
1757 enable_regedit
1758 enable_regini
1759 enable_regsvcs
1760 enable_regsvr32
1761 enable_rpcss
1762 enable_rundll32
1763 enable_sc
1764 enable_schtasks
1765 enable_sdbinst
1766 enable_secedit
1767 enable_servicemodelreg
1768 enable_services
1769 enable_shutdown
1770 enable_spoolsv
1771 enable_start
1772 enable_subst
1773 enable_svchost
1774 enable_systeminfo
1775 enable_taskkill
1776 enable_tasklist
1777 enable_taskmgr
1778 enable_termsv
1779 enable_uninstaller
1780 enable_unlodctr
1781 enable_view
1782 enable_wevtutil
1783 enable_wineboot
1784 enable_winebrowser
1785 enable_winecfg
1786 enable_wineconsole
1787 enable_winedbg
1788 enable_winedevice
1789 enable_winefile
1790 enable_winemenubuilder
1791 enable_winemine
1792 enable_winemsibuilder
1793 enable_winepath
1794 enable_winetest
1795 enable_winhlp32
1796 enable_winmgmt
1797 enable_winver
1798 enable_wmic
1799 enable_wmplayer
1800 enable_wordpad
1801 enable_write
1802 enable_wscript
1803 enable_wuauserv
1804 enable_wusa
1805 enable_xcopy
1806 enable_server
1807 enable_tools
1808 enable_sfnt2fon
1809 enable_widl
1810 enable_winebuild
1811 enable_winedump
1812 enable_winegcc
1813 enable_winemaker
1814 enable_wmc
1815 enable_wrc
1817 ac_precious_vars='build_alias
1818 host_alias
1819 target_alias
1821 CFLAGS
1822 LDFLAGS
1823 LIBS
1824 CPPFLAGS
1826 CXXFLAGS
1829 OBJC
1830 OBJCFLAGS
1831 OBJCPP
1832 XMKMF
1833 XML2_CFLAGS
1834 XML2_LIBS
1835 XSLT_CFLAGS
1836 XSLT_LIBS
1837 INOTIFY_CFLAGS
1838 INOTIFY_LIBS
1839 DBUS_CFLAGS
1840 DBUS_LIBS
1841 HAL_CFLAGS
1842 HAL_LIBS
1843 GNUTLS_CFLAGS
1844 GNUTLS_LIBS
1845 SANE_CFLAGS
1846 SANE_LIBS
1847 GPHOTO2_CFLAGS
1848 GPHOTO2_LIBS
1849 GPHOTO2_PORT_CFLAGS
1850 GPHOTO2_PORT_LIBS
1851 LCMS2_CFLAGS
1852 LCMS2_LIBS
1853 FREETYPE_CFLAGS
1854 FREETYPE_LIBS
1855 Z_CFLAGS
1856 Z_LIBS
1857 PULSE_CFLAGS
1858 PULSE_LIBS
1859 GSTREAMER_CFLAGS
1860 GSTREAMER_LIBS
1861 UDEV_CFLAGS
1862 UDEV_LIBS
1863 UNWIND_CFLAGS
1864 UNWIND_LIBS
1865 SDL2_CFLAGS
1866 SDL2_LIBS
1867 FAUDIO_CFLAGS
1868 FAUDIO_LIBS
1869 CAPI20_CFLAGS
1870 CAPI20_LIBS
1871 CUPS_CFLAGS
1872 CUPS_LIBS
1873 FONTCONFIG_CFLAGS
1874 FONTCONFIG_LIBS
1875 KRB5_CFLAGS
1876 KRB5_LIBS
1877 GSSAPI_CFLAGS
1878 GSSAPI_LIBS
1879 JPEG_CFLAGS
1880 JPEG_LIBS
1881 PNG_CFLAGS
1882 PNG_LIBS
1883 TIFF_CFLAGS
1884 TIFF_LIBS
1885 MPG123_CFLAGS
1886 MPG123_LIBS
1887 NETAPI_CFLAGS
1888 NETAPI_LIBS
1889 VKD3D_CFLAGS
1890 VKD3D_LIBS
1891 LDAP_CFLAGS
1892 LDAP_LIBS'
1895 # Initialize some variables set by options.
1896 ac_init_help=
1897 ac_init_version=false
1898 ac_unrecognized_opts=
1899 ac_unrecognized_sep=
1900 # The variables have the same names as the options, with
1901 # dashes changed to underlines.
1902 cache_file=/dev/null
1903 exec_prefix=NONE
1904 no_create=
1905 no_recursion=
1906 prefix=NONE
1907 program_prefix=NONE
1908 program_suffix=NONE
1909 program_transform_name=s,x,x,
1910 silent=
1911 site=
1912 srcdir=
1913 verbose=
1914 x_includes=NONE
1915 x_libraries=NONE
1917 # Installation directory options.
1918 # These are left unexpanded so users can "make install exec_prefix=/foo"
1919 # and all the variables that are supposed to be based on exec_prefix
1920 # by default will actually change.
1921 # Use braces instead of parens because sh, perl, etc. also accept them.
1922 # (The list follows the same order as the GNU Coding Standards.)
1923 bindir='${exec_prefix}/bin'
1924 sbindir='${exec_prefix}/sbin'
1925 libexecdir='${exec_prefix}/libexec'
1926 datarootdir='${prefix}/share'
1927 datadir='${datarootdir}'
1928 sysconfdir='${prefix}/etc'
1929 sharedstatedir='${prefix}/com'
1930 localstatedir='${prefix}/var'
1931 runstatedir='${localstatedir}/run'
1932 includedir='${prefix}/include'
1933 oldincludedir='/usr/include'
1934 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1935 infodir='${datarootdir}/info'
1936 htmldir='${docdir}'
1937 dvidir='${docdir}'
1938 pdfdir='${docdir}'
1939 psdir='${docdir}'
1940 libdir='${exec_prefix}/lib'
1941 localedir='${datarootdir}/locale'
1942 mandir='${datarootdir}/man'
1944 ac_prev=
1945 ac_dashdash=
1946 for ac_option
1948 # If the previous option needs an argument, assign it.
1949 if test -n "$ac_prev"; then
1950 eval $ac_prev=\$ac_option
1951 ac_prev=
1952 continue
1955 case $ac_option in
1956 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1957 *=) ac_optarg= ;;
1958 *) ac_optarg=yes ;;
1959 esac
1961 # Accept the important Cygnus configure options, so we can diagnose typos.
1963 case $ac_dashdash$ac_option in
1965 ac_dashdash=yes ;;
1967 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1968 ac_prev=bindir ;;
1969 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1970 bindir=$ac_optarg ;;
1972 -build | --build | --buil | --bui | --bu)
1973 ac_prev=build_alias ;;
1974 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1975 build_alias=$ac_optarg ;;
1977 -cache-file | --cache-file | --cache-fil | --cache-fi \
1978 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1979 ac_prev=cache_file ;;
1980 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1981 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1982 cache_file=$ac_optarg ;;
1984 --config-cache | -C)
1985 cache_file=config.cache ;;
1987 -datadir | --datadir | --datadi | --datad)
1988 ac_prev=datadir ;;
1989 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1990 datadir=$ac_optarg ;;
1992 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1993 | --dataroo | --dataro | --datar)
1994 ac_prev=datarootdir ;;
1995 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1996 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1997 datarootdir=$ac_optarg ;;
1999 -disable-* | --disable-*)
2000 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
2001 # Reject names that are not valid shell variable names.
2002 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2003 as_fn_error $? "invalid feature name: $ac_useropt"
2004 ac_useropt_orig=$ac_useropt
2005 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2006 case $ac_user_opts in
2008 "enable_$ac_useropt"
2009 "*) ;;
2010 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
2011 ac_unrecognized_sep=', ';;
2012 esac
2013 eval enable_$ac_useropt=no ;;
2015 -docdir | --docdir | --docdi | --doc | --do)
2016 ac_prev=docdir ;;
2017 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
2018 docdir=$ac_optarg ;;
2020 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
2021 ac_prev=dvidir ;;
2022 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
2023 dvidir=$ac_optarg ;;
2025 -enable-* | --enable-*)
2026 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
2027 # Reject names that are not valid shell variable names.
2028 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2029 as_fn_error $? "invalid feature name: $ac_useropt"
2030 ac_useropt_orig=$ac_useropt
2031 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2032 case $ac_user_opts in
2034 "enable_$ac_useropt"
2035 "*) ;;
2036 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
2037 ac_unrecognized_sep=', ';;
2038 esac
2039 eval enable_$ac_useropt=\$ac_optarg ;;
2041 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
2042 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
2043 | --exec | --exe | --ex)
2044 ac_prev=exec_prefix ;;
2045 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
2046 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
2047 | --exec=* | --exe=* | --ex=*)
2048 exec_prefix=$ac_optarg ;;
2050 -gas | --gas | --ga | --g)
2051 # Obsolete; use --with-gas.
2052 with_gas=yes ;;
2054 -help | --help | --hel | --he | -h)
2055 ac_init_help=long ;;
2056 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
2057 ac_init_help=recursive ;;
2058 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
2059 ac_init_help=short ;;
2061 -host | --host | --hos | --ho)
2062 ac_prev=host_alias ;;
2063 -host=* | --host=* | --hos=* | --ho=*)
2064 host_alias=$ac_optarg ;;
2066 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
2067 ac_prev=htmldir ;;
2068 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
2069 | --ht=*)
2070 htmldir=$ac_optarg ;;
2072 -includedir | --includedir | --includedi | --included | --include \
2073 | --includ | --inclu | --incl | --inc)
2074 ac_prev=includedir ;;
2075 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2076 | --includ=* | --inclu=* | --incl=* | --inc=*)
2077 includedir=$ac_optarg ;;
2079 -infodir | --infodir | --infodi | --infod | --info | --inf)
2080 ac_prev=infodir ;;
2081 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2082 infodir=$ac_optarg ;;
2084 -libdir | --libdir | --libdi | --libd)
2085 ac_prev=libdir ;;
2086 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2087 libdir=$ac_optarg ;;
2089 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2090 | --libexe | --libex | --libe)
2091 ac_prev=libexecdir ;;
2092 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2093 | --libexe=* | --libex=* | --libe=*)
2094 libexecdir=$ac_optarg ;;
2096 -localedir | --localedir | --localedi | --localed | --locale)
2097 ac_prev=localedir ;;
2098 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2099 localedir=$ac_optarg ;;
2101 -localstatedir | --localstatedir | --localstatedi | --localstated \
2102 | --localstate | --localstat | --localsta | --localst | --locals)
2103 ac_prev=localstatedir ;;
2104 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2105 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2106 localstatedir=$ac_optarg ;;
2108 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2109 ac_prev=mandir ;;
2110 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2111 mandir=$ac_optarg ;;
2113 -nfp | --nfp | --nf)
2114 # Obsolete; use --without-fp.
2115 with_fp=no ;;
2117 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2118 | --no-cr | --no-c | -n)
2119 no_create=yes ;;
2121 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2122 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2123 no_recursion=yes ;;
2125 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2126 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2127 | --oldin | --oldi | --old | --ol | --o)
2128 ac_prev=oldincludedir ;;
2129 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2130 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2131 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2132 oldincludedir=$ac_optarg ;;
2134 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2135 ac_prev=prefix ;;
2136 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2137 prefix=$ac_optarg ;;
2139 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2140 | --program-pre | --program-pr | --program-p)
2141 ac_prev=program_prefix ;;
2142 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2143 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2144 program_prefix=$ac_optarg ;;
2146 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2147 | --program-suf | --program-su | --program-s)
2148 ac_prev=program_suffix ;;
2149 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2150 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2151 program_suffix=$ac_optarg ;;
2153 -program-transform-name | --program-transform-name \
2154 | --program-transform-nam | --program-transform-na \
2155 | --program-transform-n | --program-transform- \
2156 | --program-transform | --program-transfor \
2157 | --program-transfo | --program-transf \
2158 | --program-trans | --program-tran \
2159 | --progr-tra | --program-tr | --program-t)
2160 ac_prev=program_transform_name ;;
2161 -program-transform-name=* | --program-transform-name=* \
2162 | --program-transform-nam=* | --program-transform-na=* \
2163 | --program-transform-n=* | --program-transform-=* \
2164 | --program-transform=* | --program-transfor=* \
2165 | --program-transfo=* | --program-transf=* \
2166 | --program-trans=* | --program-tran=* \
2167 | --progr-tra=* | --program-tr=* | --program-t=*)
2168 program_transform_name=$ac_optarg ;;
2170 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2171 ac_prev=pdfdir ;;
2172 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2173 pdfdir=$ac_optarg ;;
2175 -psdir | --psdir | --psdi | --psd | --ps)
2176 ac_prev=psdir ;;
2177 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2178 psdir=$ac_optarg ;;
2180 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2181 | -silent | --silent | --silen | --sile | --sil)
2182 silent=yes ;;
2184 -runstatedir | --runstatedir | --runstatedi | --runstated \
2185 | --runstate | --runstat | --runsta | --runst | --runs \
2186 | --run | --ru | --r)
2187 ac_prev=runstatedir ;;
2188 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2189 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2190 | --run=* | --ru=* | --r=*)
2191 runstatedir=$ac_optarg ;;
2193 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2194 ac_prev=sbindir ;;
2195 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2196 | --sbi=* | --sb=*)
2197 sbindir=$ac_optarg ;;
2199 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2200 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2201 | --sharedst | --shareds | --shared | --share | --shar \
2202 | --sha | --sh)
2203 ac_prev=sharedstatedir ;;
2204 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2205 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2206 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2207 | --sha=* | --sh=*)
2208 sharedstatedir=$ac_optarg ;;
2210 -site | --site | --sit)
2211 ac_prev=site ;;
2212 -site=* | --site=* | --sit=*)
2213 site=$ac_optarg ;;
2215 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2216 ac_prev=srcdir ;;
2217 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2218 srcdir=$ac_optarg ;;
2220 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2221 | --syscon | --sysco | --sysc | --sys | --sy)
2222 ac_prev=sysconfdir ;;
2223 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2224 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2225 sysconfdir=$ac_optarg ;;
2227 -target | --target | --targe | --targ | --tar | --ta | --t)
2228 ac_prev=target_alias ;;
2229 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2230 target_alias=$ac_optarg ;;
2232 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2233 verbose=yes ;;
2235 -version | --version | --versio | --versi | --vers | -V)
2236 ac_init_version=: ;;
2238 -with-* | --with-*)
2239 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2240 # Reject names that are not valid shell variable names.
2241 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2242 as_fn_error $? "invalid package name: $ac_useropt"
2243 ac_useropt_orig=$ac_useropt
2244 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2245 case $ac_user_opts in
2247 "with_$ac_useropt"
2248 "*) ;;
2249 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2250 ac_unrecognized_sep=', ';;
2251 esac
2252 eval with_$ac_useropt=\$ac_optarg ;;
2254 -without-* | --without-*)
2255 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2256 # Reject names that are not valid shell variable names.
2257 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2258 as_fn_error $? "invalid package name: $ac_useropt"
2259 ac_useropt_orig=$ac_useropt
2260 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2261 case $ac_user_opts in
2263 "with_$ac_useropt"
2264 "*) ;;
2265 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2266 ac_unrecognized_sep=', ';;
2267 esac
2268 eval with_$ac_useropt=no ;;
2270 --x)
2271 # Obsolete; use --with-x.
2272 with_x=yes ;;
2274 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2275 | --x-incl | --x-inc | --x-in | --x-i)
2276 ac_prev=x_includes ;;
2277 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2278 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2279 x_includes=$ac_optarg ;;
2281 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2282 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2283 ac_prev=x_libraries ;;
2284 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2285 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2286 x_libraries=$ac_optarg ;;
2288 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2289 Try \`$0 --help' for more information"
2292 *=*)
2293 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2294 # Reject names that are not valid shell variable names.
2295 case $ac_envvar in #(
2296 '' | [0-9]* | *[!_$as_cr_alnum]* )
2297 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2298 esac
2299 eval $ac_envvar=\$ac_optarg
2300 export $ac_envvar ;;
2303 # FIXME: should be removed in autoconf 3.0.
2304 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2305 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2306 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2307 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2310 esac
2311 done
2313 if test -n "$ac_prev"; then
2314 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2315 as_fn_error $? "missing argument to $ac_option"
2318 if test -n "$ac_unrecognized_opts"; then
2319 case $enable_option_checking in
2320 no) ;;
2321 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2322 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2323 esac
2326 # Check all directory arguments for consistency.
2327 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2328 datadir sysconfdir sharedstatedir localstatedir includedir \
2329 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2330 libdir localedir mandir runstatedir
2332 eval ac_val=\$$ac_var
2333 # Remove trailing slashes.
2334 case $ac_val in
2335 */ )
2336 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2337 eval $ac_var=\$ac_val;;
2338 esac
2339 # Be sure to have absolute directory names.
2340 case $ac_val in
2341 [\\/$]* | ?:[\\/]* ) continue;;
2342 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2343 esac
2344 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2345 done
2347 # There might be people who depend on the old broken behavior: `$host'
2348 # used to hold the argument of --host etc.
2349 # FIXME: To remove some day.
2350 build=$build_alias
2351 host=$host_alias
2352 target=$target_alias
2354 # FIXME: To remove some day.
2355 if test "x$host_alias" != x; then
2356 if test "x$build_alias" = x; then
2357 cross_compiling=maybe
2358 elif test "x$build_alias" != "x$host_alias"; then
2359 cross_compiling=yes
2363 ac_tool_prefix=
2364 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2366 test "$silent" = yes && exec 6>/dev/null
2369 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2370 ac_ls_di=`ls -di .` &&
2371 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2372 as_fn_error $? "working directory cannot be determined"
2373 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2374 as_fn_error $? "pwd does not report name of working directory"
2377 # Find the source files, if location was not specified.
2378 if test -z "$srcdir"; then
2379 ac_srcdir_defaulted=yes
2380 # Try the directory containing this script, then the parent directory.
2381 ac_confdir=`$as_dirname -- "$as_myself" ||
2382 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2383 X"$as_myself" : 'X\(//\)[^/]' \| \
2384 X"$as_myself" : 'X\(//\)$' \| \
2385 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2386 $as_echo X"$as_myself" |
2387 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2388 s//\1/
2391 /^X\(\/\/\)[^/].*/{
2392 s//\1/
2395 /^X\(\/\/\)$/{
2396 s//\1/
2399 /^X\(\/\).*/{
2400 s//\1/
2403 s/.*/./; q'`
2404 srcdir=$ac_confdir
2405 if test ! -r "$srcdir/$ac_unique_file"; then
2406 srcdir=..
2408 else
2409 ac_srcdir_defaulted=no
2411 if test ! -r "$srcdir/$ac_unique_file"; then
2412 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2413 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2415 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2416 ac_abs_confdir=`(
2417 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2418 pwd)`
2419 # When building in place, set srcdir=.
2420 if test "$ac_abs_confdir" = "$ac_pwd"; then
2421 srcdir=.
2423 # Remove unnecessary trailing slashes from srcdir.
2424 # Double slashes in file names in object file debugging info
2425 # mess up M-x gdb in Emacs.
2426 case $srcdir in
2427 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2428 esac
2429 for ac_var in $ac_precious_vars; do
2430 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2431 eval ac_env_${ac_var}_value=\$${ac_var}
2432 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2433 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2434 done
2437 # Report the --help message.
2439 if test "$ac_init_help" = "long"; then
2440 # Omit some internal or obsolete options to make the list less imposing.
2441 # This message is too long to be a string in the A/UX 3.1 sh.
2442 cat <<_ACEOF
2443 \`configure' configures Wine 4.19 to adapt to many kinds of systems.
2445 Usage: $0 [OPTION]... [VAR=VALUE]...
2447 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2448 VAR=VALUE. See below for descriptions of some of the useful variables.
2450 Defaults for the options are specified in brackets.
2452 Configuration:
2453 -h, --help display this help and exit
2454 --help=short display options specific to this package
2455 --help=recursive display the short help of all the included packages
2456 -V, --version display version information and exit
2457 -q, --quiet, --silent do not print \`checking ...' messages
2458 --cache-file=FILE cache test results in FILE [disabled]
2459 -C, --config-cache alias for \`--cache-file=config.cache'
2460 -n, --no-create do not create output files
2461 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2463 Installation directories:
2464 --prefix=PREFIX install architecture-independent files in PREFIX
2465 [$ac_default_prefix]
2466 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2467 [PREFIX]
2469 By default, \`make install' will install all the files in
2470 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2471 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2472 for instance \`--prefix=\$HOME'.
2474 For better control, use the options below.
2476 Fine tuning of the installation directories:
2477 --bindir=DIR user executables [EPREFIX/bin]
2478 --sbindir=DIR system admin executables [EPREFIX/sbin]
2479 --libexecdir=DIR program executables [EPREFIX/libexec]
2480 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2481 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2482 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2483 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2484 --libdir=DIR object code libraries [EPREFIX/lib]
2485 --includedir=DIR C header files [PREFIX/include]
2486 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2487 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2488 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2489 --infodir=DIR info documentation [DATAROOTDIR/info]
2490 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2491 --mandir=DIR man documentation [DATAROOTDIR/man]
2492 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2493 --htmldir=DIR html documentation [DOCDIR]
2494 --dvidir=DIR dvi documentation [DOCDIR]
2495 --pdfdir=DIR pdf documentation [DOCDIR]
2496 --psdir=DIR ps documentation [DOCDIR]
2497 _ACEOF
2499 cat <<\_ACEOF
2501 X features:
2502 --x-includes=DIR X include files are in DIR
2503 --x-libraries=DIR X library files are in DIR
2505 System types:
2506 --build=BUILD configure for building on BUILD [guessed]
2507 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2508 _ACEOF
2511 if test -n "$ac_init_help"; then
2512 case $ac_init_help in
2513 short | recursive ) echo "Configuration of Wine 4.19:";;
2514 esac
2515 cat <<\_ACEOF
2517 Optional Features:
2518 --disable-option-checking ignore unrecognized --enable/--with options
2519 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2520 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2521 --disable-win16 do not include Win16 support
2522 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2523 binaries)
2524 --disable-tests do not build the regression tests
2525 --enable-maintainer-mode
2526 enable maintainer-specific build rules
2527 --disable-largefile omit support for large files
2529 Optional Packages:
2530 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2531 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2532 --without-alsa do not use the Alsa sound support
2533 --without-capi do not use CAPI (ISDN support)
2534 --without-cms do not use CMS (color management support)
2535 --without-coreaudio do not use the CoreAudio sound support
2536 --without-cups do not use CUPS
2537 --without-curses do not use (n)curses
2538 --without-dbus do not use DBus (dynamic device support)
2539 --without-faudio do not use FAudio (XAudio2 support)
2540 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2541 --without-fontconfig do not use fontconfig
2542 --without-freetype do not use the FreeType library
2543 --without-gettext do not use gettext
2544 --with-gettextpo use the GetTextPO library to rebuild po files
2545 --without-gphoto do not use gphoto (Digital Camera support)
2546 --without-glu do not use the GLU library
2547 --without-gnutls do not use GnuTLS (schannel support)
2548 --without-gsm do not use libgsm (GSM 06.10 codec support)
2549 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2550 --without-gstreamer do not use GStreamer (codecs support)
2551 --without-hal do not use HAL (dynamic device support)
2552 --without-inotify do not use inotify (filesystem change notifications)
2553 --without-jpeg do not use JPEG
2554 --without-krb5 do not use krb5 (Kerberos)
2555 --without-ldap do not use LDAP
2556 --without-mingw do not use the MinGW cross-compiler
2557 --without-mpg123 do not use the mpg123 library
2558 --without-netapi do not use the Samba NetAPI library
2559 --without-openal do not use OpenAL
2560 --without-opencl do not use OpenCL
2561 --without-opengl do not use OpenGL
2562 --without-osmesa do not use the OSMesa library
2563 --without-oss do not use the OSS sound support
2564 --without-pcap do not use the Packet Capture library
2565 --without-png do not use PNG
2566 --without-pthread do not use the pthread library
2567 --without-pulse do not use PulseAudio sound support
2568 --without-sane do not use SANE (scanner support)
2569 --without-sdl do not use SDL
2570 --without-tiff do not use TIFF
2571 --without-udev do not use udev (plug and play support)
2572 --without-unwind do not use the libunwind library (exception
2573 handling)
2574 --without-v4l2 do not use v4l2 (video capture)
2575 --without-vkd3d do not use vkd3d (Direct3D 12 support)
2576 --without-vulkan do not use Vulkan
2577 --without-xcomposite do not use the Xcomposite extension
2578 --without-xcursor do not use the Xcursor extension
2579 --without-xfixes do not use Xfixes for clipboard change notifications
2580 --without-xinerama do not use Xinerama (multi-monitor support)
2581 --without-xinput do not use the Xinput extension
2582 --without-xinput2 do not use the Xinput 2 extension
2583 --without-xml do not use XML
2584 --without-xrandr do not use Xrandr (resolution changes)
2585 --without-xrender do not use the Xrender extension
2586 --without-xshape do not use the Xshape extension
2587 --without-xshm do not use XShm (shared memory extension)
2588 --without-xslt do not use XSLT
2589 --without-xxf86vm do not use XFree video mode extension
2590 --without-zlib do not use Zlib (data compression)
2591 --with-wine-tools=DIR use Wine tools from directory DIR
2592 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2593 --with-x use the X Window System
2595 Some influential environment variables:
2596 CC C compiler command
2597 CFLAGS C compiler flags
2598 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2599 nonstandard directory <lib dir>
2600 LIBS libraries to pass to the linker, e.g. -l<library>
2601 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2602 you have headers in a nonstandard directory <include dir>
2603 CXX C++ compiler command
2604 CXXFLAGS C++ compiler flags
2605 CPP C preprocessor
2606 OBJC Objective C compiler command
2607 OBJCFLAGS Objective C compiler flags
2608 OBJCPP Objective C preprocessor
2609 XMKMF Path to xmkmf, Makefile generator for X Window System
2610 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2611 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2612 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2613 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2614 INOTIFY_CFLAGS
2615 C compiler flags for libinotify, overriding pkg-config
2616 INOTIFY_LIBS
2617 Linker flags for libinotify, overriding pkg-config
2618 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2619 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2620 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2621 HAL_LIBS Linker flags for hal, overriding pkg-config
2622 GNUTLS_CFLAGS
2623 C compiler flags for gnutls, overriding pkg-config
2624 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2625 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2626 SANE_LIBS Linker flags for libsane, overriding pkg-config
2627 GPHOTO2_CFLAGS
2628 C compiler flags for libgphoto2, overriding pkg-config
2629 GPHOTO2_LIBS
2630 Linker flags for libgphoto2, overriding pkg-config
2631 GPHOTO2_PORT_CFLAGS
2632 C compiler flags for libgphoto2_port, overriding pkg-config
2633 GPHOTO2_PORT_LIBS
2634 Linker flags for libgphoto2_port, overriding pkg-config
2635 LCMS2_CFLAGS
2636 C compiler flags for lcms2, overriding pkg-config
2637 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2638 FREETYPE_CFLAGS
2639 C compiler flags for freetype2, overriding pkg-config
2640 FREETYPE_LIBS
2641 Linker flags for freetype2, overriding pkg-config
2642 Z_CFLAGS C compiler flags for libz, overriding pkg-config
2643 Z_LIBS Linker flags for libz, overriding pkg-config
2644 PULSE_CFLAGS
2645 C compiler flags for libpulse, overriding pkg-config
2646 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2647 GSTREAMER_CFLAGS
2648 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2649 gstreamer-audio-1.0, overriding pkg-config
2650 GSTREAMER_LIBS
2651 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2652 gstreamer-audio-1.0, overriding pkg-config
2653 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2654 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2655 UNWIND_CFLAGS
2656 C compiler flags for libunwind, overriding pkg-config
2657 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2658 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2659 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2660 FAUDIO_CFLAGS
2661 C compiler flags for faudio, overriding pkg-config
2662 FAUDIO_LIBS Linker flags for faudio, overriding pkg-config
2663 CAPI20_CFLAGS
2664 C compiler flags for capi20, overriding pkg-config
2665 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2666 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2667 CUPS_LIBS Linker flags for cups, overriding pkg-config
2668 FONTCONFIG_CFLAGS
2669 C compiler flags for fontconfig, overriding pkg-config
2670 FONTCONFIG_LIBS
2671 Linker flags for fontconfig, overriding pkg-config
2672 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2673 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2674 GSSAPI_CFLAGS
2675 C compiler flags for krb5-gssapi, overriding pkg-config
2676 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2677 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2678 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2679 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2680 PNG_LIBS Linker flags for libpng, overriding pkg-config
2681 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2682 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2683 MPG123_CFLAGS
2684 C compiler flags for libmpg123, overriding pkg-config
2685 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2686 NETAPI_CFLAGS
2687 C compiler flags for netapi, overriding pkg-config
2688 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2689 VKD3D_CFLAGS
2690 C compiler flags for libvkd3d, overriding pkg-config
2691 VKD3D_LIBS Linker flags for libvkd3d, overriding pkg-config
2692 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2693 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2695 Use these variables to override the choices made by `configure' or to help
2696 it to find libraries and programs with nonstandard names/locations.
2698 Report bugs to <wine-devel@winehq.org>.
2699 Wine home page: <https://www.winehq.org>.
2700 _ACEOF
2701 ac_status=$?
2704 if test "$ac_init_help" = "recursive"; then
2705 # If there are subdirs, report their specific --help.
2706 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2707 test -d "$ac_dir" ||
2708 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2709 continue
2710 ac_builddir=.
2712 case "$ac_dir" in
2713 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2715 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2716 # A ".." for each directory in $ac_dir_suffix.
2717 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2718 case $ac_top_builddir_sub in
2719 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2720 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2721 esac ;;
2722 esac
2723 ac_abs_top_builddir=$ac_pwd
2724 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2725 # for backward compatibility:
2726 ac_top_builddir=$ac_top_build_prefix
2728 case $srcdir in
2729 .) # We are building in place.
2730 ac_srcdir=.
2731 ac_top_srcdir=$ac_top_builddir_sub
2732 ac_abs_top_srcdir=$ac_pwd ;;
2733 [\\/]* | ?:[\\/]* ) # Absolute name.
2734 ac_srcdir=$srcdir$ac_dir_suffix;
2735 ac_top_srcdir=$srcdir
2736 ac_abs_top_srcdir=$srcdir ;;
2737 *) # Relative name.
2738 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2739 ac_top_srcdir=$ac_top_build_prefix$srcdir
2740 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2741 esac
2742 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2744 cd "$ac_dir" || { ac_status=$?; continue; }
2745 # Check for guested configure.
2746 if test -f "$ac_srcdir/configure.gnu"; then
2747 echo &&
2748 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2749 elif test -f "$ac_srcdir/configure"; then
2750 echo &&
2751 $SHELL "$ac_srcdir/configure" --help=recursive
2752 else
2753 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2754 fi || ac_status=$?
2755 cd "$ac_pwd" || { ac_status=$?; break; }
2756 done
2759 test -n "$ac_init_help" && exit $ac_status
2760 if $ac_init_version; then
2761 cat <<\_ACEOF
2762 Wine configure 4.19
2763 generated by GNU Autoconf 2.69
2765 Copyright (C) 2012 Free Software Foundation, Inc.
2766 This configure script is free software; the Free Software Foundation
2767 gives unlimited permission to copy, distribute and modify it.
2768 _ACEOF
2769 exit
2772 ## ------------------------ ##
2773 ## Autoconf initialization. ##
2774 ## ------------------------ ##
2776 # ac_fn_c_try_compile LINENO
2777 # --------------------------
2778 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2779 ac_fn_c_try_compile ()
2781 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2782 rm -f conftest.$ac_objext
2783 if { { ac_try="$ac_compile"
2784 case "(($ac_try" in
2785 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2786 *) ac_try_echo=$ac_try;;
2787 esac
2788 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2789 $as_echo "$ac_try_echo"; } >&5
2790 (eval "$ac_compile") 2>conftest.err
2791 ac_status=$?
2792 if test -s conftest.err; then
2793 grep -v '^ *+' conftest.err >conftest.er1
2794 cat conftest.er1 >&5
2795 mv -f conftest.er1 conftest.err
2797 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2798 test $ac_status = 0; } && {
2799 test -z "$ac_c_werror_flag" ||
2800 test ! -s conftest.err
2801 } && test -s conftest.$ac_objext; then :
2802 ac_retval=0
2803 else
2804 $as_echo "$as_me: failed program was:" >&5
2805 sed 's/^/| /' conftest.$ac_ext >&5
2807 ac_retval=1
2809 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2810 as_fn_set_status $ac_retval
2812 } # ac_fn_c_try_compile
2814 # ac_fn_cxx_try_compile LINENO
2815 # ----------------------------
2816 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2817 ac_fn_cxx_try_compile ()
2819 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2820 rm -f conftest.$ac_objext
2821 if { { ac_try="$ac_compile"
2822 case "(($ac_try" in
2823 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2824 *) ac_try_echo=$ac_try;;
2825 esac
2826 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2827 $as_echo "$ac_try_echo"; } >&5
2828 (eval "$ac_compile") 2>conftest.err
2829 ac_status=$?
2830 if test -s conftest.err; then
2831 grep -v '^ *+' conftest.err >conftest.er1
2832 cat conftest.er1 >&5
2833 mv -f conftest.er1 conftest.err
2835 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2836 test $ac_status = 0; } && {
2837 test -z "$ac_cxx_werror_flag" ||
2838 test ! -s conftest.err
2839 } && test -s conftest.$ac_objext; then :
2840 ac_retval=0
2841 else
2842 $as_echo "$as_me: failed program was:" >&5
2843 sed 's/^/| /' conftest.$ac_ext >&5
2845 ac_retval=1
2847 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2848 as_fn_set_status $ac_retval
2850 } # ac_fn_cxx_try_compile
2852 # ac_fn_c_try_link LINENO
2853 # -----------------------
2854 # Try to link conftest.$ac_ext, and return whether this succeeded.
2855 ac_fn_c_try_link ()
2857 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2858 rm -f conftest.$ac_objext conftest$ac_exeext
2859 if { { ac_try="$ac_link"
2860 case "(($ac_try" in
2861 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2862 *) ac_try_echo=$ac_try;;
2863 esac
2864 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2865 $as_echo "$ac_try_echo"; } >&5
2866 (eval "$ac_link") 2>conftest.err
2867 ac_status=$?
2868 if test -s conftest.err; then
2869 grep -v '^ *+' conftest.err >conftest.er1
2870 cat conftest.er1 >&5
2871 mv -f conftest.er1 conftest.err
2873 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2874 test $ac_status = 0; } && {
2875 test -z "$ac_c_werror_flag" ||
2876 test ! -s conftest.err
2877 } && test -s conftest$ac_exeext && {
2878 test "$cross_compiling" = yes ||
2879 test -x conftest$ac_exeext
2880 }; then :
2881 ac_retval=0
2882 else
2883 $as_echo "$as_me: failed program was:" >&5
2884 sed 's/^/| /' conftest.$ac_ext >&5
2886 ac_retval=1
2888 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2889 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2890 # interfere with the next link command; also delete a directory that is
2891 # left behind by Apple's compiler. We do this before executing the actions.
2892 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2893 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2894 as_fn_set_status $ac_retval
2896 } # ac_fn_c_try_link
2898 # ac_fn_c_try_cpp LINENO
2899 # ----------------------
2900 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2901 ac_fn_c_try_cpp ()
2903 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2904 if { { ac_try="$ac_cpp conftest.$ac_ext"
2905 case "(($ac_try" in
2906 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2907 *) ac_try_echo=$ac_try;;
2908 esac
2909 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2910 $as_echo "$ac_try_echo"; } >&5
2911 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2912 ac_status=$?
2913 if test -s conftest.err; then
2914 grep -v '^ *+' conftest.err >conftest.er1
2915 cat conftest.er1 >&5
2916 mv -f conftest.er1 conftest.err
2918 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2919 test $ac_status = 0; } > conftest.i && {
2920 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2921 test ! -s conftest.err
2922 }; then :
2923 ac_retval=0
2924 else
2925 $as_echo "$as_me: failed program was:" >&5
2926 sed 's/^/| /' conftest.$ac_ext >&5
2928 ac_retval=1
2930 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2931 as_fn_set_status $ac_retval
2933 } # ac_fn_c_try_cpp
2935 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2936 # -------------------------------------------------------
2937 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2938 # the include files in INCLUDES and setting the cache variable VAR
2939 # accordingly.
2940 ac_fn_c_check_header_mongrel ()
2942 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2943 if eval \${$3+:} false; then :
2944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2945 $as_echo_n "checking for $2... " >&6; }
2946 if eval \${$3+:} false; then :
2947 $as_echo_n "(cached) " >&6
2949 eval ac_res=\$$3
2950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2951 $as_echo "$ac_res" >&6; }
2952 else
2953 # Is the header compilable?
2954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2955 $as_echo_n "checking $2 usability... " >&6; }
2956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2957 /* end confdefs.h. */
2959 #include <$2>
2960 _ACEOF
2961 if ac_fn_c_try_compile "$LINENO"; then :
2962 ac_header_compiler=yes
2963 else
2964 ac_header_compiler=no
2966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2968 $as_echo "$ac_header_compiler" >&6; }
2970 # Is the header present?
2971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2972 $as_echo_n "checking $2 presence... " >&6; }
2973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2974 /* end confdefs.h. */
2975 #include <$2>
2976 _ACEOF
2977 if ac_fn_c_try_cpp "$LINENO"; then :
2978 ac_header_preproc=yes
2979 else
2980 ac_header_preproc=no
2982 rm -f conftest.err conftest.i conftest.$ac_ext
2983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2984 $as_echo "$ac_header_preproc" >&6; }
2986 # So? What about this header?
2987 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2988 yes:no: )
2989 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2990 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2991 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2992 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2994 no:yes:* )
2995 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2996 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2997 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2998 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2999 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3000 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3001 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3002 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3003 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3004 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3005 ( $as_echo "## ------------------------------------ ##
3006 ## Report this to wine-devel@winehq.org ##
3007 ## ------------------------------------ ##"
3008 ) | sed "s/^/$as_me: WARNING: /" >&2
3010 esac
3011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3012 $as_echo_n "checking for $2... " >&6; }
3013 if eval \${$3+:} false; then :
3014 $as_echo_n "(cached) " >&6
3015 else
3016 eval "$3=\$ac_header_compiler"
3018 eval ac_res=\$$3
3019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3020 $as_echo "$ac_res" >&6; }
3022 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3024 } # ac_fn_c_check_header_mongrel
3026 # ac_fn_c_try_run LINENO
3027 # ----------------------
3028 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
3029 # that executables *can* be run.
3030 ac_fn_c_try_run ()
3032 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3033 if { { ac_try="$ac_link"
3034 case "(($ac_try" in
3035 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3036 *) ac_try_echo=$ac_try;;
3037 esac
3038 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3039 $as_echo "$ac_try_echo"; } >&5
3040 (eval "$ac_link") 2>&5
3041 ac_status=$?
3042 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3043 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
3044 { { case "(($ac_try" in
3045 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3046 *) ac_try_echo=$ac_try;;
3047 esac
3048 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3049 $as_echo "$ac_try_echo"; } >&5
3050 (eval "$ac_try") 2>&5
3051 ac_status=$?
3052 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3053 test $ac_status = 0; }; }; then :
3054 ac_retval=0
3055 else
3056 $as_echo "$as_me: program exited with status $ac_status" >&5
3057 $as_echo "$as_me: failed program was:" >&5
3058 sed 's/^/| /' conftest.$ac_ext >&5
3060 ac_retval=$ac_status
3062 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3063 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3064 as_fn_set_status $ac_retval
3066 } # ac_fn_c_try_run
3068 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
3069 # -------------------------------------------------------
3070 # Tests whether HEADER exists and can be compiled using the include files in
3071 # INCLUDES, setting the cache variable VAR accordingly.
3072 ac_fn_c_check_header_compile ()
3074 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3076 $as_echo_n "checking for $2... " >&6; }
3077 if eval \${$3+:} false; then :
3078 $as_echo_n "(cached) " >&6
3079 else
3080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3081 /* end confdefs.h. */
3083 #include <$2>
3084 _ACEOF
3085 if ac_fn_c_try_compile "$LINENO"; then :
3086 eval "$3=yes"
3087 else
3088 eval "$3=no"
3090 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3092 eval ac_res=\$$3
3093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3094 $as_echo "$ac_res" >&6; }
3095 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3097 } # ac_fn_c_check_header_compile
3099 # ac_fn_objc_try_compile LINENO
3100 # -----------------------------
3101 # Try to compile conftest.$ac_ext, and return whether this succeeded.
3102 ac_fn_objc_try_compile ()
3104 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3105 rm -f conftest.$ac_objext
3106 if { { ac_try="$ac_compile"
3107 case "(($ac_try" in
3108 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3109 *) ac_try_echo=$ac_try;;
3110 esac
3111 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3112 $as_echo "$ac_try_echo"; } >&5
3113 (eval "$ac_compile") 2>conftest.err
3114 ac_status=$?
3115 if test -s conftest.err; then
3116 grep -v '^ *+' conftest.err >conftest.er1
3117 cat conftest.er1 >&5
3118 mv -f conftest.er1 conftest.err
3120 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3121 test $ac_status = 0; } && {
3122 test -z "$ac_objc_werror_flag" ||
3123 test ! -s conftest.err
3124 } && test -s conftest.$ac_objext; then :
3125 ac_retval=0
3126 else
3127 $as_echo "$as_me: failed program was:" >&5
3128 sed 's/^/| /' conftest.$ac_ext >&5
3130 ac_retval=1
3132 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3133 as_fn_set_status $ac_retval
3135 } # ac_fn_objc_try_compile
3137 # ac_fn_objc_try_cpp LINENO
3138 # -------------------------
3139 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3140 ac_fn_objc_try_cpp ()
3142 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3143 if { { ac_try="$ac_cpp conftest.$ac_ext"
3144 case "(($ac_try" in
3145 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3146 *) ac_try_echo=$ac_try;;
3147 esac
3148 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3149 $as_echo "$ac_try_echo"; } >&5
3150 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3151 ac_status=$?
3152 if test -s conftest.err; then
3153 grep -v '^ *+' conftest.err >conftest.er1
3154 cat conftest.er1 >&5
3155 mv -f conftest.er1 conftest.err
3157 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3158 test $ac_status = 0; } > conftest.i && {
3159 test -z "$ac_objc_preproc_warn_flag$ac_objc_werror_flag" ||
3160 test ! -s conftest.err
3161 }; then :
3162 ac_retval=0
3163 else
3164 $as_echo "$as_me: failed program was:" >&5
3165 sed 's/^/| /' conftest.$ac_ext >&5
3167 ac_retval=1
3169 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3170 as_fn_set_status $ac_retval
3172 } # ac_fn_objc_try_cpp
3174 # ac_fn_objc_check_header_mongrel LINENO HEADER VAR INCLUDES
3175 # ----------------------------------------------------------
3176 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3177 # the include files in INCLUDES and setting the cache variable VAR
3178 # accordingly.
3179 ac_fn_objc_check_header_mongrel ()
3181 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3182 if eval \${$3+:} false; then :
3183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3184 $as_echo_n "checking for $2... " >&6; }
3185 if eval \${$3+:} false; then :
3186 $as_echo_n "(cached) " >&6
3188 eval ac_res=\$$3
3189 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3190 $as_echo "$ac_res" >&6; }
3191 else
3192 # Is the header compilable?
3193 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3194 $as_echo_n "checking $2 usability... " >&6; }
3195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3196 /* end confdefs.h. */
3198 #include <$2>
3199 _ACEOF
3200 if ac_fn_objc_try_compile "$LINENO"; then :
3201 ac_header_compiler=yes
3202 else
3203 ac_header_compiler=no
3205 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3207 $as_echo "$ac_header_compiler" >&6; }
3209 # Is the header present?
3210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3211 $as_echo_n "checking $2 presence... " >&6; }
3212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3213 /* end confdefs.h. */
3214 #include <$2>
3215 _ACEOF
3216 if ac_fn_objc_try_cpp "$LINENO"; then :
3217 ac_header_preproc=yes
3218 else
3219 ac_header_preproc=no
3221 rm -f conftest.err conftest.i conftest.$ac_ext
3222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3223 $as_echo "$ac_header_preproc" >&6; }
3225 # So? What about this header?
3226 case $ac_header_compiler:$ac_header_preproc:$ac_objc_preproc_warn_flag in #((
3227 yes:no: )
3228 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3229 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3230 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3231 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3233 no:yes:* )
3234 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3235 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3236 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3237 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3238 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3239 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3240 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3241 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3242 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3243 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3244 ( $as_echo "## ------------------------------------ ##
3245 ## Report this to wine-devel@winehq.org ##
3246 ## ------------------------------------ ##"
3247 ) | sed "s/^/$as_me: WARNING: /" >&2
3249 esac
3250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3251 $as_echo_n "checking for $2... " >&6; }
3252 if eval \${$3+:} false; then :
3253 $as_echo_n "(cached) " >&6
3254 else
3255 eval "$3=\$ac_header_compiler"
3257 eval ac_res=\$$3
3258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3259 $as_echo "$ac_res" >&6; }
3261 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3263 } # ac_fn_objc_check_header_mongrel
3265 # ac_fn_c_check_func LINENO FUNC VAR
3266 # ----------------------------------
3267 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3268 ac_fn_c_check_func ()
3270 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3271 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3272 $as_echo_n "checking for $2... " >&6; }
3273 if eval \${$3+:} false; then :
3274 $as_echo_n "(cached) " >&6
3275 else
3276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3277 /* end confdefs.h. */
3278 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3279 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3280 #define $2 innocuous_$2
3282 /* System header to define __stub macros and hopefully few prototypes,
3283 which can conflict with char $2 (); below.
3284 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3285 <limits.h> exists even on freestanding compilers. */
3287 #ifdef __STDC__
3288 # include <limits.h>
3289 #else
3290 # include <assert.h>
3291 #endif
3293 #undef $2
3295 /* Override any GCC internal prototype to avoid an error.
3296 Use char because int might match the return type of a GCC
3297 builtin and then its argument prototype would still apply. */
3298 #ifdef __cplusplus
3299 extern "C"
3300 #endif
3301 char $2 ();
3302 /* The GNU C library defines this for functions which it implements
3303 to always fail with ENOSYS. Some functions are actually named
3304 something starting with __ and the normal name is an alias. */
3305 #if defined __stub_$2 || defined __stub___$2
3306 choke me
3307 #endif
3310 main ()
3312 return $2 ();
3314 return 0;
3316 _ACEOF
3317 if ac_fn_c_try_link "$LINENO"; then :
3318 eval "$3=yes"
3319 else
3320 eval "$3=no"
3322 rm -f core conftest.err conftest.$ac_objext \
3323 conftest$ac_exeext conftest.$ac_ext
3325 eval ac_res=\$$3
3326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3327 $as_echo "$ac_res" >&6; }
3328 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3330 } # ac_fn_c_check_func
3332 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3333 # ----------------------------------------------------
3334 # Tries to find if the field MEMBER exists in type AGGR, after including
3335 # INCLUDES, setting cache variable VAR accordingly.
3336 ac_fn_c_check_member ()
3338 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3340 $as_echo_n "checking for $2.$3... " >&6; }
3341 if eval \${$4+:} false; then :
3342 $as_echo_n "(cached) " >&6
3343 else
3344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3345 /* end confdefs.h. */
3348 main ()
3350 static $2 ac_aggr;
3351 if (ac_aggr.$3)
3352 return 0;
3354 return 0;
3356 _ACEOF
3357 if ac_fn_c_try_compile "$LINENO"; then :
3358 eval "$4=yes"
3359 else
3360 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3361 /* end confdefs.h. */
3364 main ()
3366 static $2 ac_aggr;
3367 if (sizeof ac_aggr.$3)
3368 return 0;
3370 return 0;
3372 _ACEOF
3373 if ac_fn_c_try_compile "$LINENO"; then :
3374 eval "$4=yes"
3375 else
3376 eval "$4=no"
3378 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3380 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3382 eval ac_res=\$$4
3383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3384 $as_echo "$ac_res" >&6; }
3385 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3387 } # ac_fn_c_check_member
3389 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3390 # -------------------------------------------
3391 # Tests whether TYPE exists after having included INCLUDES, setting cache
3392 # variable VAR accordingly.
3393 ac_fn_c_check_type ()
3395 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3396 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3397 $as_echo_n "checking for $2... " >&6; }
3398 if eval \${$3+:} false; then :
3399 $as_echo_n "(cached) " >&6
3400 else
3401 eval "$3=no"
3402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3403 /* end confdefs.h. */
3406 main ()
3408 if (sizeof ($2))
3409 return 0;
3411 return 0;
3413 _ACEOF
3414 if ac_fn_c_try_compile "$LINENO"; then :
3415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3416 /* end confdefs.h. */
3419 main ()
3421 if (sizeof (($2)))
3422 return 0;
3424 return 0;
3426 _ACEOF
3427 if ac_fn_c_try_compile "$LINENO"; then :
3429 else
3430 eval "$3=yes"
3432 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3434 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3436 eval ac_res=\$$3
3437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3438 $as_echo "$ac_res" >&6; }
3439 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3441 } # ac_fn_c_check_type
3442 cat >config.log <<_ACEOF
3443 This file contains any messages produced by compilers while
3444 running configure, to aid debugging if configure makes a mistake.
3446 It was created by Wine $as_me 4.19, which was
3447 generated by GNU Autoconf 2.69. Invocation command line was
3449 $ $0 $@
3451 _ACEOF
3452 exec 5>>config.log
3454 cat <<_ASUNAME
3455 ## --------- ##
3456 ## Platform. ##
3457 ## --------- ##
3459 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3460 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3461 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3462 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3463 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3465 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3466 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3468 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3469 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3470 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3471 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3472 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3473 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3474 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3476 _ASUNAME
3478 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3479 for as_dir in $PATH
3481 IFS=$as_save_IFS
3482 test -z "$as_dir" && as_dir=.
3483 $as_echo "PATH: $as_dir"
3484 done
3485 IFS=$as_save_IFS
3487 } >&5
3489 cat >&5 <<_ACEOF
3492 ## ----------- ##
3493 ## Core tests. ##
3494 ## ----------- ##
3496 _ACEOF
3499 # Keep a trace of the command line.
3500 # Strip out --no-create and --no-recursion so they do not pile up.
3501 # Strip out --silent because we don't want to record it for future runs.
3502 # Also quote any args containing shell meta-characters.
3503 # Make two passes to allow for proper duplicate-argument suppression.
3504 ac_configure_args=
3505 ac_configure_args0=
3506 ac_configure_args1=
3507 ac_must_keep_next=false
3508 for ac_pass in 1 2
3510 for ac_arg
3512 case $ac_arg in
3513 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3514 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3515 | -silent | --silent | --silen | --sile | --sil)
3516 continue ;;
3517 *\'*)
3518 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3519 esac
3520 case $ac_pass in
3521 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3523 as_fn_append ac_configure_args1 " '$ac_arg'"
3524 if test $ac_must_keep_next = true; then
3525 ac_must_keep_next=false # Got value, back to normal.
3526 else
3527 case $ac_arg in
3528 *=* | --config-cache | -C | -disable-* | --disable-* \
3529 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3530 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3531 | -with-* | --with-* | -without-* | --without-* | --x)
3532 case "$ac_configure_args0 " in
3533 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3534 esac
3536 -* ) ac_must_keep_next=true ;;
3537 esac
3539 as_fn_append ac_configure_args " '$ac_arg'"
3541 esac
3542 done
3543 done
3544 { ac_configure_args0=; unset ac_configure_args0;}
3545 { ac_configure_args1=; unset ac_configure_args1;}
3547 # When interrupted or exit'd, cleanup temporary files, and complete
3548 # config.log. We remove comments because anyway the quotes in there
3549 # would cause problems or look ugly.
3550 # WARNING: Use '\'' to represent an apostrophe within the trap.
3551 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3552 trap 'exit_status=$?
3553 # Save into config.log some information that might help in debugging.
3555 echo
3557 $as_echo "## ---------------- ##
3558 ## Cache variables. ##
3559 ## ---------------- ##"
3560 echo
3561 # The following way of writing the cache mishandles newlines in values,
3563 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3564 eval ac_val=\$$ac_var
3565 case $ac_val in #(
3566 *${as_nl}*)
3567 case $ac_var in #(
3568 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3569 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3570 esac
3571 case $ac_var in #(
3572 _ | IFS | as_nl) ;; #(
3573 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3574 *) { eval $ac_var=; unset $ac_var;} ;;
3575 esac ;;
3576 esac
3577 done
3578 (set) 2>&1 |
3579 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3580 *${as_nl}ac_space=\ *)
3581 sed -n \
3582 "s/'\''/'\''\\\\'\'''\''/g;
3583 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3584 ;; #(
3586 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3588 esac |
3589 sort
3591 echo
3593 $as_echo "## ----------------- ##
3594 ## Output variables. ##
3595 ## ----------------- ##"
3596 echo
3597 for ac_var in $ac_subst_vars
3599 eval ac_val=\$$ac_var
3600 case $ac_val in
3601 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3602 esac
3603 $as_echo "$ac_var='\''$ac_val'\''"
3604 done | sort
3605 echo
3607 if test -n "$ac_subst_files"; then
3608 $as_echo "## ------------------- ##
3609 ## File substitutions. ##
3610 ## ------------------- ##"
3611 echo
3612 for ac_var in $ac_subst_files
3614 eval ac_val=\$$ac_var
3615 case $ac_val in
3616 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3617 esac
3618 $as_echo "$ac_var='\''$ac_val'\''"
3619 done | sort
3620 echo
3623 if test -s confdefs.h; then
3624 $as_echo "## ----------- ##
3625 ## confdefs.h. ##
3626 ## ----------- ##"
3627 echo
3628 cat confdefs.h
3629 echo
3631 test "$ac_signal" != 0 &&
3632 $as_echo "$as_me: caught signal $ac_signal"
3633 $as_echo "$as_me: exit $exit_status"
3634 } >&5
3635 rm -f core *.core core.conftest.* &&
3636 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3637 exit $exit_status
3639 for ac_signal in 1 2 13 15; do
3640 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3641 done
3642 ac_signal=0
3644 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3645 rm -f -r conftest* confdefs.h
3647 $as_echo "/* confdefs.h */" > confdefs.h
3649 # Predefined preprocessor variables.
3651 cat >>confdefs.h <<_ACEOF
3652 #define PACKAGE_NAME "$PACKAGE_NAME"
3653 _ACEOF
3655 cat >>confdefs.h <<_ACEOF
3656 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3657 _ACEOF
3659 cat >>confdefs.h <<_ACEOF
3660 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3661 _ACEOF
3663 cat >>confdefs.h <<_ACEOF
3664 #define PACKAGE_STRING "$PACKAGE_STRING"
3665 _ACEOF
3667 cat >>confdefs.h <<_ACEOF
3668 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3669 _ACEOF
3671 cat >>confdefs.h <<_ACEOF
3672 #define PACKAGE_URL "$PACKAGE_URL"
3673 _ACEOF
3676 # Let the site file select an alternate cache file if it wants to.
3677 # Prefer an explicitly selected file to automatically selected ones.
3678 ac_site_file1=NONE
3679 ac_site_file2=NONE
3680 if test -n "$CONFIG_SITE"; then
3681 # We do not want a PATH search for config.site.
3682 case $CONFIG_SITE in #((
3683 -*) ac_site_file1=./$CONFIG_SITE;;
3684 */*) ac_site_file1=$CONFIG_SITE;;
3685 *) ac_site_file1=./$CONFIG_SITE;;
3686 esac
3687 elif test "x$prefix" != xNONE; then
3688 ac_site_file1=$prefix/share/config.site
3689 ac_site_file2=$prefix/etc/config.site
3690 else
3691 ac_site_file1=$ac_default_prefix/share/config.site
3692 ac_site_file2=$ac_default_prefix/etc/config.site
3694 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3696 test "x$ac_site_file" = xNONE && continue
3697 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3698 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3699 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3700 sed 's/^/| /' "$ac_site_file" >&5
3701 . "$ac_site_file" \
3702 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3703 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3704 as_fn_error $? "failed to load site script $ac_site_file
3705 See \`config.log' for more details" "$LINENO" 5; }
3707 done
3709 if test -r "$cache_file"; then
3710 # Some versions of bash will fail to source /dev/null (special files
3711 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3712 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3713 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3714 $as_echo "$as_me: loading cache $cache_file" >&6;}
3715 case $cache_file in
3716 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3717 *) . "./$cache_file";;
3718 esac
3720 else
3721 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3722 $as_echo "$as_me: creating cache $cache_file" >&6;}
3723 >$cache_file
3726 # Check that the precious variables saved in the cache have kept the same
3727 # value.
3728 ac_cache_corrupted=false
3729 for ac_var in $ac_precious_vars; do
3730 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3731 eval ac_new_set=\$ac_env_${ac_var}_set
3732 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3733 eval ac_new_val=\$ac_env_${ac_var}_value
3734 case $ac_old_set,$ac_new_set in
3735 set,)
3736 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3737 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3738 ac_cache_corrupted=: ;;
3739 ,set)
3740 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3741 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3742 ac_cache_corrupted=: ;;
3743 ,);;
3745 if test "x$ac_old_val" != "x$ac_new_val"; then
3746 # differences in whitespace do not lead to failure.
3747 ac_old_val_w=`echo x $ac_old_val`
3748 ac_new_val_w=`echo x $ac_new_val`
3749 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3750 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3751 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3752 ac_cache_corrupted=:
3753 else
3754 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3755 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3756 eval $ac_var=\$ac_old_val
3758 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3759 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3760 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3761 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3762 fi;;
3763 esac
3764 # Pass precious variables to config.status.
3765 if test "$ac_new_set" = set; then
3766 case $ac_new_val in
3767 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3768 *) ac_arg=$ac_var=$ac_new_val ;;
3769 esac
3770 case " $ac_configure_args " in
3771 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3772 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3773 esac
3775 done
3776 if $ac_cache_corrupted; then
3777 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3778 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3779 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3780 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3781 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3783 ## -------------------- ##
3784 ## Main body of script. ##
3785 ## -------------------- ##
3787 ac_ext=c
3788 ac_cpp='$CPP $CPPFLAGS'
3789 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3790 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3791 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3795 ac_config_headers="$ac_config_headers include/config.h"
3797 ac_aux_dir=
3798 for ac_dir in tools "$srcdir"/tools; do
3799 if test -f "$ac_dir/install-sh"; then
3800 ac_aux_dir=$ac_dir
3801 ac_install_sh="$ac_aux_dir/install-sh -c"
3802 break
3803 elif test -f "$ac_dir/install.sh"; then
3804 ac_aux_dir=$ac_dir
3805 ac_install_sh="$ac_aux_dir/install.sh -c"
3806 break
3807 elif test -f "$ac_dir/shtool"; then
3808 ac_aux_dir=$ac_dir
3809 ac_install_sh="$ac_aux_dir/shtool install -c"
3810 break
3812 done
3813 if test -z "$ac_aux_dir"; then
3814 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3817 # These three variables are undocumented and unsupported,
3818 # and are intended to be withdrawn in a future Autoconf release.
3819 # They can cause serious problems if a builder's source tree is in a directory
3820 # whose full name contains unusual characters.
3821 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3822 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3823 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3827 libwine_version="1.0"
3831 # Check whether --enable-win16 was given.
3832 if test "${enable_win16+set}" = set; then :
3833 enableval=$enable_win16;
3836 # Check whether --enable-win64 was given.
3837 if test "${enable_win64+set}" = set; then :
3838 enableval=$enable_win64;
3841 # Check whether --enable-tests was given.
3842 if test "${enable_tests+set}" = set; then :
3843 enableval=$enable_tests;
3846 # Check whether --enable-maintainer-mode was given.
3847 if test "${enable_maintainer_mode+set}" = set; then :
3848 enableval=$enable_maintainer_mode;
3853 # Check whether --with-alsa was given.
3854 if test "${with_alsa+set}" = set; then :
3855 withval=$with_alsa;
3859 # Check whether --with-capi was given.
3860 if test "${with_capi+set}" = set; then :
3861 withval=$with_capi;
3865 # Check whether --with-cms was given.
3866 if test "${with_cms+set}" = set; then :
3867 withval=$with_cms;
3871 # Check whether --with-coreaudio was given.
3872 if test "${with_coreaudio+set}" = set; then :
3873 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3877 # Check whether --with-cups was given.
3878 if test "${with_cups+set}" = set; then :
3879 withval=$with_cups;
3883 # Check whether --with-curses was given.
3884 if test "${with_curses+set}" = set; then :
3885 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3889 # Check whether --with-dbus was given.
3890 if test "${with_dbus+set}" = set; then :
3891 withval=$with_dbus;
3895 # Check whether --with-faudio was given.
3896 if test "${with_faudio+set}" = set; then :
3897 withval=$with_faudio;
3901 # Check whether --with-float-abi was given.
3902 if test "${with_float_abi+set}" = set; then :
3903 withval=$with_float_abi;
3907 # Check whether --with-fontconfig was given.
3908 if test "${with_fontconfig+set}" = set; then :
3909 withval=$with_fontconfig;
3913 # Check whether --with-freetype was given.
3914 if test "${with_freetype+set}" = set; then :
3915 withval=$with_freetype;
3919 # Check whether --with-gettext was given.
3920 if test "${with_gettext+set}" = set; then :
3921 withval=$with_gettext;
3925 # Check whether --with-gettextpo was given.
3926 if test "${with_gettextpo+set}" = set; then :
3927 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3931 # Check whether --with-gphoto was given.
3932 if test "${with_gphoto+set}" = set; then :
3933 withval=$with_gphoto;
3937 # Check whether --with-glu was given.
3938 if test "${with_glu+set}" = set; then :
3939 withval=$with_glu;
3943 # Check whether --with-gnutls was given.
3944 if test "${with_gnutls+set}" = set; then :
3945 withval=$with_gnutls;
3949 # Check whether --with-gsm was given.
3950 if test "${with_gsm+set}" = set; then :
3951 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3955 # Check whether --with-gssapi was given.
3956 if test "${with_gssapi+set}" = set; then :
3957 withval=$with_gssapi;
3961 # Check whether --with-gstreamer was given.
3962 if test "${with_gstreamer+set}" = set; then :
3963 withval=$with_gstreamer;
3967 # Check whether --with-hal was given.
3968 if test "${with_hal+set}" = set; then :
3969 withval=$with_hal;
3973 # Check whether --with-inotify was given.
3974 if test "${with_inotify+set}" = set; then :
3975 withval=$with_inotify;
3979 # Check whether --with-jpeg was given.
3980 if test "${with_jpeg+set}" = set; then :
3981 withval=$with_jpeg;
3985 # Check whether --with-krb5 was given.
3986 if test "${with_krb5+set}" = set; then :
3987 withval=$with_krb5;
3991 # Check whether --with-ldap was given.
3992 if test "${with_ldap+set}" = set; then :
3993 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3997 # Check whether --with-mingw was given.
3998 if test "${with_mingw+set}" = set; then :
3999 withval=$with_mingw;
4003 # Check whether --with-mpg123 was given.
4004 if test "${with_mpg123+set}" = set; then :
4005 withval=$with_mpg123;
4009 # Check whether --with-netapi was given.
4010 if test "${with_netapi+set}" = set; then :
4011 withval=$with_netapi;
4015 # Check whether --with-openal was given.
4016 if test "${with_openal+set}" = set; then :
4017 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
4021 # Check whether --with-opencl was given.
4022 if test "${with_opencl+set}" = set; then :
4023 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4027 # Check whether --with-opengl was given.
4028 if test "${with_opengl+set}" = set; then :
4029 withval=$with_opengl;
4033 # Check whether --with-osmesa was given.
4034 if test "${with_osmesa+set}" = set; then :
4035 withval=$with_osmesa;
4039 # Check whether --with-oss was given.
4040 if test "${with_oss+set}" = set; then :
4041 withval=$with_oss;
4045 # Check whether --with-pcap was given.
4046 if test "${with_pcap+set}" = set; then :
4047 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4051 # Check whether --with-png was given.
4052 if test "${with_png+set}" = set; then :
4053 withval=$with_png;
4057 # Check whether --with-pthread was given.
4058 if test "${with_pthread+set}" = set; then :
4059 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4063 # Check whether --with-pulse was given.
4064 if test "${with_pulse+set}" = set; then :
4065 withval=$with_pulse;
4069 # Check whether --with-sane was given.
4070 if test "${with_sane+set}" = set; then :
4071 withval=$with_sane;
4075 # Check whether --with-sdl was given.
4076 if test "${with_sdl+set}" = set; then :
4077 withval=$with_sdl;
4081 # Check whether --with-tiff was given.
4082 if test "${with_tiff+set}" = set; then :
4083 withval=$with_tiff;
4087 # Check whether --with-udev was given.
4088 if test "${with_udev+set}" = set; then :
4089 withval=$with_udev;
4093 # Check whether --with-unwind was given.
4094 if test "${with_unwind+set}" = set; then :
4095 withval=$with_unwind;
4099 # Check whether --with-v4l2 was given.
4100 if test "${with_v4l2+set}" = set; then :
4101 withval=$with_v4l2;
4105 # Check whether --with-vkd3d was given.
4106 if test "${with_vkd3d+set}" = set; then :
4107 withval=$with_vkd3d;
4111 # Check whether --with-vulkan was given.
4112 if test "${with_vulkan+set}" = set; then :
4113 withval=$with_vulkan;
4117 # Check whether --with-xcomposite was given.
4118 if test "${with_xcomposite+set}" = set; then :
4119 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4123 # Check whether --with-xcursor was given.
4124 if test "${with_xcursor+set}" = set; then :
4125 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4129 # Check whether --with-xfixes was given.
4130 if test "${with_xfixes+set}" = set; then :
4131 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4135 # Check whether --with-xinerama was given.
4136 if test "${with_xinerama+set}" = set; then :
4137 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4141 # Check whether --with-xinput was given.
4142 if test "${with_xinput+set}" = set; then :
4143 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4147 # Check whether --with-xinput2 was given.
4148 if test "${with_xinput2+set}" = set; then :
4149 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4153 # Check whether --with-xml was given.
4154 if test "${with_xml+set}" = set; then :
4155 withval=$with_xml;
4159 # Check whether --with-xrandr was given.
4160 if test "${with_xrandr+set}" = set; then :
4161 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4165 # Check whether --with-xrender was given.
4166 if test "${with_xrender+set}" = set; then :
4167 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4171 # Check whether --with-xshape was given.
4172 if test "${with_xshape+set}" = set; then :
4173 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4177 # Check whether --with-xshm was given.
4178 if test "${with_xshm+set}" = set; then :
4179 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4183 # Check whether --with-xslt was given.
4184 if test "${with_xslt+set}" = set; then :
4185 withval=$with_xslt;
4189 # Check whether --with-xxf86vm was given.
4190 if test "${with_xxf86vm+set}" = set; then :
4191 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
4195 # Check whether --with-zlib was given.
4196 if test "${with_zlib+set}" = set; then :
4197 withval=$with_zlib;
4202 # Check whether --with-wine-tools was given.
4203 if test "${with_wine_tools+set}" = set; then :
4204 withval=$with_wine_tools;
4208 # Check whether --with-wine64 was given.
4209 if test "${with_wine64+set}" = set; then :
4210 withval=$with_wine64;
4214 # Make sure we can run config.sub.
4215 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4216 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4219 $as_echo_n "checking build system type... " >&6; }
4220 if ${ac_cv_build+:} false; then :
4221 $as_echo_n "(cached) " >&6
4222 else
4223 ac_build_alias=$build_alias
4224 test "x$ac_build_alias" = x &&
4225 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4226 test "x$ac_build_alias" = x &&
4227 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4228 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4229 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4233 $as_echo "$ac_cv_build" >&6; }
4234 case $ac_cv_build in
4235 *-*-*) ;;
4236 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4237 esac
4238 build=$ac_cv_build
4239 ac_save_IFS=$IFS; IFS='-'
4240 set x $ac_cv_build
4241 shift
4242 build_cpu=$1
4243 build_vendor=$2
4244 shift; shift
4245 # Remember, the first character of IFS is used to create $*,
4246 # except with old shells:
4247 build_os=$*
4248 IFS=$ac_save_IFS
4249 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4253 $as_echo_n "checking host system type... " >&6; }
4254 if ${ac_cv_host+:} false; then :
4255 $as_echo_n "(cached) " >&6
4256 else
4257 if test "x$host_alias" = x; then
4258 ac_cv_host=$ac_cv_build
4259 else
4260 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4261 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4266 $as_echo "$ac_cv_host" >&6; }
4267 case $ac_cv_host in
4268 *-*-*) ;;
4269 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4270 esac
4271 host=$ac_cv_host
4272 ac_save_IFS=$IFS; IFS='-'
4273 set x $ac_cv_host
4274 shift
4275 host_cpu=$1
4276 host_vendor=$2
4277 shift; shift
4278 # Remember, the first character of IFS is used to create $*,
4279 # except with old shells:
4280 host_os=$*
4281 IFS=$ac_save_IFS
4282 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4286 case "$srcdir" in
4287 .) ;;
4288 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
4289 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
4290 You need to run 'make distclean' in the source tree first." "$LINENO" 5
4291 fi ;;
4292 esac
4295 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4296 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4297 set x ${MAKE-make}
4298 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4299 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4300 $as_echo_n "(cached) " >&6
4301 else
4302 cat >conftest.make <<\_ACEOF
4303 SHELL = /bin/sh
4304 all:
4305 @echo '@@@%%%=$(MAKE)=@@@%%%'
4306 _ACEOF
4307 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4308 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4309 *@@@%%%=?*=@@@%%%*)
4310 eval ac_cv_prog_make_${ac_make}_set=yes;;
4312 eval ac_cv_prog_make_${ac_make}_set=no;;
4313 esac
4314 rm -f conftest.make
4316 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4318 $as_echo "yes" >&6; }
4319 SET_MAKE=
4320 else
4321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4322 $as_echo "no" >&6; }
4323 SET_MAKE="MAKE=${MAKE-make}"
4326 ac_ext=c
4327 ac_cpp='$CPP $CPPFLAGS'
4328 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4329 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4330 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4331 if test -n "$ac_tool_prefix"; then
4332 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4333 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4335 $as_echo_n "checking for $ac_word... " >&6; }
4336 if ${ac_cv_prog_CC+:} false; then :
4337 $as_echo_n "(cached) " >&6
4338 else
4339 if test -n "$CC"; then
4340 ac_cv_prog_CC="$CC" # Let the user override the test.
4341 else
4342 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4343 for as_dir in $PATH
4345 IFS=$as_save_IFS
4346 test -z "$as_dir" && as_dir=.
4347 for ac_exec_ext in '' $ac_executable_extensions; do
4348 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4349 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4350 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4351 break 2
4353 done
4354 done
4355 IFS=$as_save_IFS
4359 CC=$ac_cv_prog_CC
4360 if test -n "$CC"; then
4361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4362 $as_echo "$CC" >&6; }
4363 else
4364 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4365 $as_echo "no" >&6; }
4370 if test -z "$ac_cv_prog_CC"; then
4371 ac_ct_CC=$CC
4372 # Extract the first word of "gcc", so it can be a program name with args.
4373 set dummy gcc; ac_word=$2
4374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4375 $as_echo_n "checking for $ac_word... " >&6; }
4376 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4377 $as_echo_n "(cached) " >&6
4378 else
4379 if test -n "$ac_ct_CC"; then
4380 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4381 else
4382 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4383 for as_dir in $PATH
4385 IFS=$as_save_IFS
4386 test -z "$as_dir" && as_dir=.
4387 for ac_exec_ext in '' $ac_executable_extensions; do
4388 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4389 ac_cv_prog_ac_ct_CC="gcc"
4390 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4391 break 2
4393 done
4394 done
4395 IFS=$as_save_IFS
4399 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4400 if test -n "$ac_ct_CC"; then
4401 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4402 $as_echo "$ac_ct_CC" >&6; }
4403 else
4404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4405 $as_echo "no" >&6; }
4408 if test "x$ac_ct_CC" = x; then
4409 CC=""
4410 else
4411 case $cross_compiling:$ac_tool_warned in
4412 yes:)
4413 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4414 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4415 ac_tool_warned=yes ;;
4416 esac
4417 CC=$ac_ct_CC
4419 else
4420 CC="$ac_cv_prog_CC"
4423 if test -z "$CC"; then
4424 if test -n "$ac_tool_prefix"; then
4425 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4426 set dummy ${ac_tool_prefix}cc; ac_word=$2
4427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4428 $as_echo_n "checking for $ac_word... " >&6; }
4429 if ${ac_cv_prog_CC+:} false; then :
4430 $as_echo_n "(cached) " >&6
4431 else
4432 if test -n "$CC"; then
4433 ac_cv_prog_CC="$CC" # Let the user override the test.
4434 else
4435 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4436 for as_dir in $PATH
4438 IFS=$as_save_IFS
4439 test -z "$as_dir" && as_dir=.
4440 for ac_exec_ext in '' $ac_executable_extensions; do
4441 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4442 ac_cv_prog_CC="${ac_tool_prefix}cc"
4443 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4444 break 2
4446 done
4447 done
4448 IFS=$as_save_IFS
4452 CC=$ac_cv_prog_CC
4453 if test -n "$CC"; then
4454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4455 $as_echo "$CC" >&6; }
4456 else
4457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4458 $as_echo "no" >&6; }
4464 if test -z "$CC"; then
4465 # Extract the first word of "cc", so it can be a program name with args.
4466 set dummy cc; ac_word=$2
4467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4468 $as_echo_n "checking for $ac_word... " >&6; }
4469 if ${ac_cv_prog_CC+:} false; then :
4470 $as_echo_n "(cached) " >&6
4471 else
4472 if test -n "$CC"; then
4473 ac_cv_prog_CC="$CC" # Let the user override the test.
4474 else
4475 ac_prog_rejected=no
4476 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4477 for as_dir in $PATH
4479 IFS=$as_save_IFS
4480 test -z "$as_dir" && as_dir=.
4481 for ac_exec_ext in '' $ac_executable_extensions; do
4482 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4483 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4484 ac_prog_rejected=yes
4485 continue
4487 ac_cv_prog_CC="cc"
4488 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4489 break 2
4491 done
4492 done
4493 IFS=$as_save_IFS
4495 if test $ac_prog_rejected = yes; then
4496 # We found a bogon in the path, so make sure we never use it.
4497 set dummy $ac_cv_prog_CC
4498 shift
4499 if test $# != 0; then
4500 # We chose a different compiler from the bogus one.
4501 # However, it has the same basename, so the bogon will be chosen
4502 # first if we set CC to just the basename; use the full file name.
4503 shift
4504 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4509 CC=$ac_cv_prog_CC
4510 if test -n "$CC"; then
4511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4512 $as_echo "$CC" >&6; }
4513 else
4514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4515 $as_echo "no" >&6; }
4520 if test -z "$CC"; then
4521 if test -n "$ac_tool_prefix"; then
4522 for ac_prog in cl.exe
4524 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4525 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4527 $as_echo_n "checking for $ac_word... " >&6; }
4528 if ${ac_cv_prog_CC+:} false; then :
4529 $as_echo_n "(cached) " >&6
4530 else
4531 if test -n "$CC"; then
4532 ac_cv_prog_CC="$CC" # Let the user override the test.
4533 else
4534 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4535 for as_dir in $PATH
4537 IFS=$as_save_IFS
4538 test -z "$as_dir" && as_dir=.
4539 for ac_exec_ext in '' $ac_executable_extensions; do
4540 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4541 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4542 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4543 break 2
4545 done
4546 done
4547 IFS=$as_save_IFS
4551 CC=$ac_cv_prog_CC
4552 if test -n "$CC"; then
4553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4554 $as_echo "$CC" >&6; }
4555 else
4556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4557 $as_echo "no" >&6; }
4561 test -n "$CC" && break
4562 done
4564 if test -z "$CC"; then
4565 ac_ct_CC=$CC
4566 for ac_prog in cl.exe
4568 # Extract the first word of "$ac_prog", so it can be a program name with args.
4569 set dummy $ac_prog; ac_word=$2
4570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4571 $as_echo_n "checking for $ac_word... " >&6; }
4572 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4573 $as_echo_n "(cached) " >&6
4574 else
4575 if test -n "$ac_ct_CC"; then
4576 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4577 else
4578 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4579 for as_dir in $PATH
4581 IFS=$as_save_IFS
4582 test -z "$as_dir" && as_dir=.
4583 for ac_exec_ext in '' $ac_executable_extensions; do
4584 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4585 ac_cv_prog_ac_ct_CC="$ac_prog"
4586 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4587 break 2
4589 done
4590 done
4591 IFS=$as_save_IFS
4595 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4596 if test -n "$ac_ct_CC"; then
4597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4598 $as_echo "$ac_ct_CC" >&6; }
4599 else
4600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4601 $as_echo "no" >&6; }
4605 test -n "$ac_ct_CC" && break
4606 done
4608 if test "x$ac_ct_CC" = x; then
4609 CC=""
4610 else
4611 case $cross_compiling:$ac_tool_warned in
4612 yes:)
4613 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4614 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4615 ac_tool_warned=yes ;;
4616 esac
4617 CC=$ac_ct_CC
4624 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4625 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4626 as_fn_error $? "no acceptable C compiler found in \$PATH
4627 See \`config.log' for more details" "$LINENO" 5; }
4629 # Provide some information about the compiler.
4630 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4631 set X $ac_compile
4632 ac_compiler=$2
4633 for ac_option in --version -v -V -qversion; do
4634 { { ac_try="$ac_compiler $ac_option >&5"
4635 case "(($ac_try" in
4636 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4637 *) ac_try_echo=$ac_try;;
4638 esac
4639 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4640 $as_echo "$ac_try_echo"; } >&5
4641 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4642 ac_status=$?
4643 if test -s conftest.err; then
4644 sed '10a\
4645 ... rest of stderr output deleted ...
4646 10q' conftest.err >conftest.er1
4647 cat conftest.er1 >&5
4649 rm -f conftest.er1 conftest.err
4650 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4651 test $ac_status = 0; }
4652 done
4654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4655 /* end confdefs.h. */
4658 main ()
4662 return 0;
4664 _ACEOF
4665 ac_clean_files_save=$ac_clean_files
4666 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4667 # Try to create an executable without -o first, disregard a.out.
4668 # It will help us diagnose broken compilers, and finding out an intuition
4669 # of exeext.
4670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4671 $as_echo_n "checking whether the C compiler works... " >&6; }
4672 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4674 # The possible output files:
4675 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4677 ac_rmfiles=
4678 for ac_file in $ac_files
4680 case $ac_file in
4681 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4682 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4683 esac
4684 done
4685 rm -f $ac_rmfiles
4687 if { { ac_try="$ac_link_default"
4688 case "(($ac_try" in
4689 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4690 *) ac_try_echo=$ac_try;;
4691 esac
4692 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4693 $as_echo "$ac_try_echo"; } >&5
4694 (eval "$ac_link_default") 2>&5
4695 ac_status=$?
4696 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4697 test $ac_status = 0; }; then :
4698 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4699 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4700 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4701 # so that the user can short-circuit this test for compilers unknown to
4702 # Autoconf.
4703 for ac_file in $ac_files ''
4705 test -f "$ac_file" || continue
4706 case $ac_file in
4707 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4709 [ab].out )
4710 # We found the default executable, but exeext='' is most
4711 # certainly right.
4712 break;;
4713 *.* )
4714 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4715 then :; else
4716 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4718 # We set ac_cv_exeext here because the later test for it is not
4719 # safe: cross compilers may not add the suffix if given an `-o'
4720 # argument, so we may need to know it at that point already.
4721 # Even if this section looks crufty: it has the advantage of
4722 # actually working.
4723 break;;
4725 break;;
4726 esac
4727 done
4728 test "$ac_cv_exeext" = no && ac_cv_exeext=
4730 else
4731 ac_file=''
4733 if test -z "$ac_file"; then :
4734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4735 $as_echo "no" >&6; }
4736 $as_echo "$as_me: failed program was:" >&5
4737 sed 's/^/| /' conftest.$ac_ext >&5
4739 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4740 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4741 as_fn_error 77 "C compiler cannot create executables
4742 See \`config.log' for more details" "$LINENO" 5; }
4743 else
4744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4745 $as_echo "yes" >&6; }
4747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4748 $as_echo_n "checking for C compiler default output file name... " >&6; }
4749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4750 $as_echo "$ac_file" >&6; }
4751 ac_exeext=$ac_cv_exeext
4753 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4754 ac_clean_files=$ac_clean_files_save
4755 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4756 $as_echo_n "checking for suffix of executables... " >&6; }
4757 if { { ac_try="$ac_link"
4758 case "(($ac_try" in
4759 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4760 *) ac_try_echo=$ac_try;;
4761 esac
4762 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4763 $as_echo "$ac_try_echo"; } >&5
4764 (eval "$ac_link") 2>&5
4765 ac_status=$?
4766 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4767 test $ac_status = 0; }; then :
4768 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4769 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4770 # work properly (i.e., refer to `conftest.exe'), while it won't with
4771 # `rm'.
4772 for ac_file in conftest.exe conftest conftest.*; do
4773 test -f "$ac_file" || continue
4774 case $ac_file in
4775 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4776 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4777 break;;
4778 * ) break;;
4779 esac
4780 done
4781 else
4782 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4783 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4784 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4785 See \`config.log' for more details" "$LINENO" 5; }
4787 rm -f conftest conftest$ac_cv_exeext
4788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4789 $as_echo "$ac_cv_exeext" >&6; }
4791 rm -f conftest.$ac_ext
4792 EXEEXT=$ac_cv_exeext
4793 ac_exeext=$EXEEXT
4794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4795 /* end confdefs.h. */
4796 #include <stdio.h>
4798 main ()
4800 FILE *f = fopen ("conftest.out", "w");
4801 return ferror (f) || fclose (f) != 0;
4804 return 0;
4806 _ACEOF
4807 ac_clean_files="$ac_clean_files conftest.out"
4808 # Check that the compiler produces executables we can run. If not, either
4809 # the compiler is broken, or we cross compile.
4810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4811 $as_echo_n "checking whether we are cross compiling... " >&6; }
4812 if test "$cross_compiling" != yes; then
4813 { { ac_try="$ac_link"
4814 case "(($ac_try" in
4815 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4816 *) ac_try_echo=$ac_try;;
4817 esac
4818 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4819 $as_echo "$ac_try_echo"; } >&5
4820 (eval "$ac_link") 2>&5
4821 ac_status=$?
4822 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4823 test $ac_status = 0; }
4824 if { ac_try='./conftest$ac_cv_exeext'
4825 { { case "(($ac_try" in
4826 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4827 *) ac_try_echo=$ac_try;;
4828 esac
4829 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4830 $as_echo "$ac_try_echo"; } >&5
4831 (eval "$ac_try") 2>&5
4832 ac_status=$?
4833 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4834 test $ac_status = 0; }; }; then
4835 cross_compiling=no
4836 else
4837 if test "$cross_compiling" = maybe; then
4838 cross_compiling=yes
4839 else
4840 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4841 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4842 as_fn_error $? "cannot run C compiled programs.
4843 If you meant to cross compile, use \`--host'.
4844 See \`config.log' for more details" "$LINENO" 5; }
4848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4849 $as_echo "$cross_compiling" >&6; }
4851 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4852 ac_clean_files=$ac_clean_files_save
4853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4854 $as_echo_n "checking for suffix of object files... " >&6; }
4855 if ${ac_cv_objext+:} false; then :
4856 $as_echo_n "(cached) " >&6
4857 else
4858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4859 /* end confdefs.h. */
4862 main ()
4866 return 0;
4868 _ACEOF
4869 rm -f conftest.o conftest.obj
4870 if { { ac_try="$ac_compile"
4871 case "(($ac_try" in
4872 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4873 *) ac_try_echo=$ac_try;;
4874 esac
4875 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4876 $as_echo "$ac_try_echo"; } >&5
4877 (eval "$ac_compile") 2>&5
4878 ac_status=$?
4879 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4880 test $ac_status = 0; }; then :
4881 for ac_file in conftest.o conftest.obj conftest.*; do
4882 test -f "$ac_file" || continue;
4883 case $ac_file in
4884 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4885 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4886 break;;
4887 esac
4888 done
4889 else
4890 $as_echo "$as_me: failed program was:" >&5
4891 sed 's/^/| /' conftest.$ac_ext >&5
4893 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4894 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4895 as_fn_error $? "cannot compute suffix of object files: cannot compile
4896 See \`config.log' for more details" "$LINENO" 5; }
4898 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4901 $as_echo "$ac_cv_objext" >&6; }
4902 OBJEXT=$ac_cv_objext
4903 ac_objext=$OBJEXT
4904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4905 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4906 if ${ac_cv_c_compiler_gnu+:} false; then :
4907 $as_echo_n "(cached) " >&6
4908 else
4909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4910 /* end confdefs.h. */
4913 main ()
4915 #ifndef __GNUC__
4916 choke me
4917 #endif
4920 return 0;
4922 _ACEOF
4923 if ac_fn_c_try_compile "$LINENO"; then :
4924 ac_compiler_gnu=yes
4925 else
4926 ac_compiler_gnu=no
4928 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4929 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4932 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4933 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4934 if test $ac_compiler_gnu = yes; then
4935 GCC=yes
4936 else
4937 GCC=
4939 ac_test_CFLAGS=${CFLAGS+set}
4940 ac_save_CFLAGS=$CFLAGS
4941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4942 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4943 if ${ac_cv_prog_cc_g+:} false; then :
4944 $as_echo_n "(cached) " >&6
4945 else
4946 ac_save_c_werror_flag=$ac_c_werror_flag
4947 ac_c_werror_flag=yes
4948 ac_cv_prog_cc_g=no
4949 CFLAGS="-g"
4950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4951 /* end confdefs.h. */
4954 main ()
4958 return 0;
4960 _ACEOF
4961 if ac_fn_c_try_compile "$LINENO"; then :
4962 ac_cv_prog_cc_g=yes
4963 else
4964 CFLAGS=""
4965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4966 /* end confdefs.h. */
4969 main ()
4973 return 0;
4975 _ACEOF
4976 if ac_fn_c_try_compile "$LINENO"; then :
4978 else
4979 ac_c_werror_flag=$ac_save_c_werror_flag
4980 CFLAGS="-g"
4981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4982 /* end confdefs.h. */
4985 main ()
4989 return 0;
4991 _ACEOF
4992 if ac_fn_c_try_compile "$LINENO"; then :
4993 ac_cv_prog_cc_g=yes
4995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4999 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5000 ac_c_werror_flag=$ac_save_c_werror_flag
5002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5003 $as_echo "$ac_cv_prog_cc_g" >&6; }
5004 if test "$ac_test_CFLAGS" = set; then
5005 CFLAGS=$ac_save_CFLAGS
5006 elif test $ac_cv_prog_cc_g = yes; then
5007 if test "$GCC" = yes; then
5008 CFLAGS="-g -O2"
5009 else
5010 CFLAGS="-g"
5012 else
5013 if test "$GCC" = yes; then
5014 CFLAGS="-O2"
5015 else
5016 CFLAGS=
5019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5020 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5021 if ${ac_cv_prog_cc_c89+:} false; then :
5022 $as_echo_n "(cached) " >&6
5023 else
5024 ac_cv_prog_cc_c89=no
5025 ac_save_CC=$CC
5026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5027 /* end confdefs.h. */
5028 #include <stdarg.h>
5029 #include <stdio.h>
5030 struct stat;
5031 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5032 struct buf { int x; };
5033 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5034 static char *e (p, i)
5035 char **p;
5036 int i;
5038 return p[i];
5040 static char *f (char * (*g) (char **, int), char **p, ...)
5042 char *s;
5043 va_list v;
5044 va_start (v,p);
5045 s = g (p, va_arg (v,int));
5046 va_end (v);
5047 return s;
5050 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5051 function prototypes and stuff, but not '\xHH' hex character constants.
5052 These don't provoke an error unfortunately, instead are silently treated
5053 as 'x'. The following induces an error, until -std is added to get
5054 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5055 array size at least. It's necessary to write '\x00'==0 to get something
5056 that's true only with -std. */
5057 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5059 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5060 inside strings and character constants. */
5061 #define FOO(x) 'x'
5062 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5064 int test (int i, double x);
5065 struct s1 {int (*f) (int a);};
5066 struct s2 {int (*f) (double a);};
5067 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5068 int argc;
5069 char **argv;
5071 main ()
5073 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5075 return 0;
5077 _ACEOF
5078 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5079 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5081 CC="$ac_save_CC $ac_arg"
5082 if ac_fn_c_try_compile "$LINENO"; then :
5083 ac_cv_prog_cc_c89=$ac_arg
5085 rm -f core conftest.err conftest.$ac_objext
5086 test "x$ac_cv_prog_cc_c89" != "xno" && break
5087 done
5088 rm -f conftest.$ac_ext
5089 CC=$ac_save_CC
5092 # AC_CACHE_VAL
5093 case "x$ac_cv_prog_cc_c89" in
5095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5096 $as_echo "none needed" >&6; } ;;
5097 xno)
5098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5099 $as_echo "unsupported" >&6; } ;;
5101 CC="$CC $ac_cv_prog_cc_c89"
5102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5103 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5104 esac
5105 if test "x$ac_cv_prog_cc_c89" != xno; then :
5109 ac_ext=c
5110 ac_cpp='$CPP $CPPFLAGS'
5111 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5112 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5113 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5115 ac_ext=cpp
5116 ac_cpp='$CXXCPP $CPPFLAGS'
5117 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5118 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5119 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5120 if test -z "$CXX"; then
5121 if test -n "$CCC"; then
5122 CXX=$CCC
5123 else
5124 if test -n "$ac_tool_prefix"; then
5125 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5127 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5128 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5130 $as_echo_n "checking for $ac_word... " >&6; }
5131 if ${ac_cv_prog_CXX+:} false; then :
5132 $as_echo_n "(cached) " >&6
5133 else
5134 if test -n "$CXX"; then
5135 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5136 else
5137 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5138 for as_dir in $PATH
5140 IFS=$as_save_IFS
5141 test -z "$as_dir" && as_dir=.
5142 for ac_exec_ext in '' $ac_executable_extensions; do
5143 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5144 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5145 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5146 break 2
5148 done
5149 done
5150 IFS=$as_save_IFS
5154 CXX=$ac_cv_prog_CXX
5155 if test -n "$CXX"; then
5156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5157 $as_echo "$CXX" >&6; }
5158 else
5159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5160 $as_echo "no" >&6; }
5164 test -n "$CXX" && break
5165 done
5167 if test -z "$CXX"; then
5168 ac_ct_CXX=$CXX
5169 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5171 # Extract the first word of "$ac_prog", so it can be a program name with args.
5172 set dummy $ac_prog; ac_word=$2
5173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5174 $as_echo_n "checking for $ac_word... " >&6; }
5175 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5176 $as_echo_n "(cached) " >&6
5177 else
5178 if test -n "$ac_ct_CXX"; then
5179 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5180 else
5181 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5182 for as_dir in $PATH
5184 IFS=$as_save_IFS
5185 test -z "$as_dir" && as_dir=.
5186 for ac_exec_ext in '' $ac_executable_extensions; do
5187 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5188 ac_cv_prog_ac_ct_CXX="$ac_prog"
5189 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5190 break 2
5192 done
5193 done
5194 IFS=$as_save_IFS
5198 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5199 if test -n "$ac_ct_CXX"; then
5200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5201 $as_echo "$ac_ct_CXX" >&6; }
5202 else
5203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5204 $as_echo "no" >&6; }
5208 test -n "$ac_ct_CXX" && break
5209 done
5211 if test "x$ac_ct_CXX" = x; then
5212 CXX="g++"
5213 else
5214 case $cross_compiling:$ac_tool_warned in
5215 yes:)
5216 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5217 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5218 ac_tool_warned=yes ;;
5219 esac
5220 CXX=$ac_ct_CXX
5226 # Provide some information about the compiler.
5227 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5228 set X $ac_compile
5229 ac_compiler=$2
5230 for ac_option in --version -v -V -qversion; do
5231 { { ac_try="$ac_compiler $ac_option >&5"
5232 case "(($ac_try" in
5233 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5234 *) ac_try_echo=$ac_try;;
5235 esac
5236 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5237 $as_echo "$ac_try_echo"; } >&5
5238 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5239 ac_status=$?
5240 if test -s conftest.err; then
5241 sed '10a\
5242 ... rest of stderr output deleted ...
5243 10q' conftest.err >conftest.er1
5244 cat conftest.er1 >&5
5246 rm -f conftest.er1 conftest.err
5247 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5248 test $ac_status = 0; }
5249 done
5251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5252 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5253 if ${ac_cv_cxx_compiler_gnu+:} false; then :
5254 $as_echo_n "(cached) " >&6
5255 else
5256 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5257 /* end confdefs.h. */
5260 main ()
5262 #ifndef __GNUC__
5263 choke me
5264 #endif
5267 return 0;
5269 _ACEOF
5270 if ac_fn_cxx_try_compile "$LINENO"; then :
5271 ac_compiler_gnu=yes
5272 else
5273 ac_compiler_gnu=no
5275 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5276 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5279 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5280 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5281 if test $ac_compiler_gnu = yes; then
5282 GXX=yes
5283 else
5284 GXX=
5286 ac_test_CXXFLAGS=${CXXFLAGS+set}
5287 ac_save_CXXFLAGS=$CXXFLAGS
5288 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5289 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5290 if ${ac_cv_prog_cxx_g+:} false; then :
5291 $as_echo_n "(cached) " >&6
5292 else
5293 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5294 ac_cxx_werror_flag=yes
5295 ac_cv_prog_cxx_g=no
5296 CXXFLAGS="-g"
5297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5298 /* end confdefs.h. */
5301 main ()
5305 return 0;
5307 _ACEOF
5308 if ac_fn_cxx_try_compile "$LINENO"; then :
5309 ac_cv_prog_cxx_g=yes
5310 else
5311 CXXFLAGS=""
5312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5313 /* end confdefs.h. */
5316 main ()
5320 return 0;
5322 _ACEOF
5323 if ac_fn_cxx_try_compile "$LINENO"; then :
5325 else
5326 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5327 CXXFLAGS="-g"
5328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5329 /* end confdefs.h. */
5332 main ()
5336 return 0;
5338 _ACEOF
5339 if ac_fn_cxx_try_compile "$LINENO"; then :
5340 ac_cv_prog_cxx_g=yes
5342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5346 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5347 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5350 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5351 if test "$ac_test_CXXFLAGS" = set; then
5352 CXXFLAGS=$ac_save_CXXFLAGS
5353 elif test $ac_cv_prog_cxx_g = yes; then
5354 if test "$GXX" = yes; then
5355 CXXFLAGS="-g -O2"
5356 else
5357 CXXFLAGS="-g"
5359 else
5360 if test "$GXX" = yes; then
5361 CXXFLAGS="-O2"
5362 else
5363 CXXFLAGS=
5366 ac_ext=c
5367 ac_cpp='$CPP $CPPFLAGS'
5368 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5369 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5370 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5372 if test -n "$ac_tool_prefix"; then
5373 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5374 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5376 $as_echo_n "checking for $ac_word... " >&6; }
5377 if ${ac_cv_prog_CPPBIN+:} false; then :
5378 $as_echo_n "(cached) " >&6
5379 else
5380 if test -n "$CPPBIN"; then
5381 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5382 else
5383 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5384 for as_dir in $PATH
5386 IFS=$as_save_IFS
5387 test -z "$as_dir" && as_dir=.
5388 for ac_exec_ext in '' $ac_executable_extensions; do
5389 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5390 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5391 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5392 break 2
5394 done
5395 done
5396 IFS=$as_save_IFS
5400 CPPBIN=$ac_cv_prog_CPPBIN
5401 if test -n "$CPPBIN"; then
5402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5403 $as_echo "$CPPBIN" >&6; }
5404 else
5405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5406 $as_echo "no" >&6; }
5411 if test -z "$ac_cv_prog_CPPBIN"; then
5412 ac_ct_CPPBIN=$CPPBIN
5413 # Extract the first word of "cpp", so it can be a program name with args.
5414 set dummy cpp; ac_word=$2
5415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5416 $as_echo_n "checking for $ac_word... " >&6; }
5417 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
5418 $as_echo_n "(cached) " >&6
5419 else
5420 if test -n "$ac_ct_CPPBIN"; then
5421 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
5422 else
5423 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5424 for as_dir in $PATH
5426 IFS=$as_save_IFS
5427 test -z "$as_dir" && as_dir=.
5428 for ac_exec_ext in '' $ac_executable_extensions; do
5429 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5430 ac_cv_prog_ac_ct_CPPBIN="cpp"
5431 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5432 break 2
5434 done
5435 done
5436 IFS=$as_save_IFS
5440 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5441 if test -n "$ac_ct_CPPBIN"; then
5442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5443 $as_echo "$ac_ct_CPPBIN" >&6; }
5444 else
5445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5446 $as_echo "no" >&6; }
5449 if test "x$ac_ct_CPPBIN" = x; then
5450 CPPBIN="cpp"
5451 else
5452 case $cross_compiling:$ac_tool_warned in
5453 yes:)
5454 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5455 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5456 ac_tool_warned=yes ;;
5457 esac
5458 CPPBIN=$ac_ct_CPPBIN
5460 else
5461 CPPBIN="$ac_cv_prog_CPPBIN"
5465 cat >>confdefs.h <<_ACEOF
5466 #define EXEEXT "$ac_exeext"
5467 _ACEOF
5469 if test -n "$ac_tool_prefix"; then
5470 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5471 set dummy ${ac_tool_prefix}ld; ac_word=$2
5472 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5473 $as_echo_n "checking for $ac_word... " >&6; }
5474 if ${ac_cv_prog_LD+:} false; then :
5475 $as_echo_n "(cached) " >&6
5476 else
5477 if test -n "$LD"; then
5478 ac_cv_prog_LD="$LD" # Let the user override the test.
5479 else
5480 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5481 for as_dir in $PATH
5483 IFS=$as_save_IFS
5484 test -z "$as_dir" && as_dir=.
5485 for ac_exec_ext in '' $ac_executable_extensions; do
5486 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5487 ac_cv_prog_LD="${ac_tool_prefix}ld"
5488 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5489 break 2
5491 done
5492 done
5493 IFS=$as_save_IFS
5497 LD=$ac_cv_prog_LD
5498 if test -n "$LD"; then
5499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5500 $as_echo "$LD" >&6; }
5501 else
5502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5503 $as_echo "no" >&6; }
5508 if test -z "$ac_cv_prog_LD"; then
5509 ac_ct_LD=$LD
5510 # Extract the first word of "ld", so it can be a program name with args.
5511 set dummy ld; ac_word=$2
5512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5513 $as_echo_n "checking for $ac_word... " >&6; }
5514 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5515 $as_echo_n "(cached) " >&6
5516 else
5517 if test -n "$ac_ct_LD"; then
5518 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5519 else
5520 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5521 for as_dir in $PATH
5523 IFS=$as_save_IFS
5524 test -z "$as_dir" && as_dir=.
5525 for ac_exec_ext in '' $ac_executable_extensions; do
5526 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5527 ac_cv_prog_ac_ct_LD="ld"
5528 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5529 break 2
5531 done
5532 done
5533 IFS=$as_save_IFS
5537 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5538 if test -n "$ac_ct_LD"; then
5539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5540 $as_echo "$ac_ct_LD" >&6; }
5541 else
5542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5543 $as_echo "no" >&6; }
5546 if test "x$ac_ct_LD" = x; then
5547 LD=""
5548 else
5549 case $cross_compiling:$ac_tool_warned in
5550 yes:)
5551 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5552 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5553 ac_tool_warned=yes ;;
5554 esac
5555 LD=$ac_ct_LD
5557 else
5558 LD="$ac_cv_prog_LD"
5562 case $host in
5563 *-darwin*)
5564 with_fontconfig=${with_fontconfig:-no}
5566 *-mingw32*|*-cygwin*)
5567 enable_win16=${enable_win16:-no}
5568 with_mingw=${with_mingw:-no}
5569 CFLAGS="$CFLAGS -D_WIN32"
5571 esac
5573 case $host in
5574 x86_64*|amd64*)
5575 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5576 then
5577 CC="$CC -m32"
5578 CXX="$CXX -m32"
5580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5581 $as_echo_n "checking whether $CC works... " >&6; }
5582 if ${wine_cv_cc_m32+:} false; then :
5583 $as_echo_n "(cached) " >&6
5584 else
5585 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5586 /* end confdefs.h. */
5589 main ()
5593 return 0;
5595 _ACEOF
5596 if ac_fn_c_try_link "$LINENO"; then :
5597 wine_cv_cc_m32=yes
5598 else
5599 wine_cv_cc_m32=no
5601 rm -f core conftest.err conftest.$ac_objext \
5602 conftest$ac_exeext conftest.$ac_ext
5604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
5605 $as_echo "$wine_cv_cc_m32" >&6; }
5606 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
5607 host_cpu="i386"
5608 notice_platform="32-bit "
5609 TARGETFLAGS="-m32"
5611 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
5612 export PKG_CONFIG_PATH
5613 enable_win16=${enable_win16:-yes}
5614 with_unwind=${with_unwind:-no}
5615 else
5616 if test "x${GCC}" = "xyes"
5617 then
5618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5619 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5620 if ${wine_cv_builtin_ms_va_list+:} false; then :
5621 $as_echo_n "(cached) " >&6
5622 else
5623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5624 /* end confdefs.h. */
5625 #include <stdarg.h>
5627 main ()
5629 void func(__builtin_ms_va_list *args);
5631 return 0;
5633 _ACEOF
5634 if ac_fn_c_try_compile "$LINENO"; then :
5635 wine_cv_builtin_ms_va_list=yes
5636 else
5637 wine_cv_builtin_ms_va_list=no
5639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5642 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5643 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
5645 CC="$CC -m64"
5646 CXX="$CXX -m64"
5647 host_cpu="x86_64"
5648 notice_platform="64-bit "
5649 TARGETFLAGS="-m64"
5653 arm*)
5654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5655 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5656 if ${wine_cv_thumb+:} false; then :
5657 $as_echo_n "(cached) " >&6
5658 else
5659 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5660 /* end confdefs.h. */
5661 int ac_test(int i) { return i; }
5663 main ()
5665 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5667 return 0;
5669 _ACEOF
5670 if ac_fn_c_try_link "$LINENO"; then :
5671 wine_cv_thumb=yes
5672 else
5673 wine_cv_thumb=no
5675 rm -f core conftest.err conftest.$ac_objext \
5676 conftest$ac_exeext conftest.$ac_ext
5678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb" >&5
5679 $as_echo "$wine_cv_thumb" >&6; }
5680 test $wine_cv_thumb != no || as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5681 case $with_float_abi in
5682 soft|softfp|hard)
5683 float_abi=$with_float_abi ;;
5685 case $host_os in
5686 *eabihf)
5687 float_abi=hard ;;
5689 float_abi=softfp
5690 saved_CFLAGS=$CFLAGS
5691 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
5693 $as_echo_n "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
5694 if ${wine_cv_float_abi+:} false; then :
5695 $as_echo_n "(cached) " >&6
5696 else
5697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5698 /* end confdefs.h. */
5701 main ()
5703 asm("vmrs r2,fpscr");
5705 return 0;
5707 _ACEOF
5708 if ac_fn_c_try_link "$LINENO"; then :
5709 wine_cv_float_abi=yes
5710 else
5711 wine_cv_float_abi=no
5713 rm -f core conftest.err conftest.$ac_objext \
5714 conftest$ac_exeext conftest.$ac_ext
5716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
5717 $as_echo "$wine_cv_float_abi" >&6; }
5718 if test $wine_cv_float_abi = no
5719 then
5720 float_abi=soft
5721 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
5723 CFLAGS=$saved_CFLAGS
5724 esac
5726 esac
5727 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5728 TARGETFLAGS="-marm -mfloat-abi=$float_abi"
5731 aarch64*)
5732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5733 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5734 if ${wine_cv_builtin_ms_va_list+:} false; then :
5735 $as_echo_n "(cached) " >&6
5736 else
5737 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5738 /* end confdefs.h. */
5739 #include <stdarg.h>
5741 main ()
5743 void func(__builtin_ms_va_list *args);
5745 return 0;
5747 _ACEOF
5748 if ac_fn_c_try_compile "$LINENO"; then :
5749 wine_cv_builtin_ms_va_list=yes
5750 else
5751 wine_cv_builtin_ms_va_list=no
5753 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5756 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5757 test $wine_cv_builtin_ms_va_list != no || as_fn_error $? "You need clang >= 5.0 to build Wine for arm64." "$LINENO" 5
5759 i[3456789]86*)
5760 enable_win16=${enable_win16:-yes}
5761 with_unwind=${with_unwind:-no}
5763 esac
5765 enable_win16=${enable_win16:-no}
5766 enable_win64=${enable_win64:-no}
5768 enable_winetest=${enable_winetest:-$enable_tests}
5770 if test "x$enable_win64" = "xyes"
5771 then
5772 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5773 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5774 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5778 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5779 if ${wine_cv_toolsdir+:} false; then :
5780 $as_echo_n "(cached) " >&6
5781 else
5782 wine_cv_toolsdir="$with_wine_tools"
5783 if test -z "$with_wine_tools"; then
5784 if test "$cross_compiling" = "yes"; then
5785 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5786 elif test -n "$with_wine64"; then
5787 wine_cv_toolsdir="$with_wine64"
5791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5792 $as_echo "$wine_cv_toolsdir" >&6; }
5793 if test -z "$wine_cv_toolsdir"; then
5794 wine_makedep=tools/makedep
5795 TOOLSDIR="\$(top_builddir)"
5797 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5798 wine_makedep=$wine_cv_toolsdir/tools/makedep
5799 case "$wine_cv_toolsdir" in
5800 /*) TOOLSDIR=$wine_cv_toolsdir
5802 *) TOOLSDIR="\$(top_builddir)/$wine_cv_toolsdir"
5804 esac
5805 enable_tools=${enable_tools:-no}
5806 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5807 else
5808 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5810 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5811 then
5812 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5816 for ac_prog in flex
5818 # Extract the first word of "$ac_prog", so it can be a program name with args.
5819 set dummy $ac_prog; ac_word=$2
5820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5821 $as_echo_n "checking for $ac_word... " >&6; }
5822 if ${ac_cv_prog_FLEX+:} false; then :
5823 $as_echo_n "(cached) " >&6
5824 else
5825 if test -n "$FLEX"; then
5826 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5827 else
5828 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5829 for as_dir in $PATH
5831 IFS=$as_save_IFS
5832 test -z "$as_dir" && as_dir=.
5833 for ac_exec_ext in '' $ac_executable_extensions; do
5834 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5835 ac_cv_prog_FLEX="$ac_prog"
5836 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5837 break 2
5839 done
5840 done
5841 IFS=$as_save_IFS
5845 FLEX=$ac_cv_prog_FLEX
5846 if test -n "$FLEX"; then
5847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5848 $as_echo "$FLEX" >&6; }
5849 else
5850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5851 $as_echo "no" >&6; }
5855 test -n "$FLEX" && break
5856 done
5857 test -n "$FLEX" || FLEX="none"
5859 if test "$FLEX" = "none"
5860 then
5861 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5864 $as_echo_n "checking whether flex is recent enough... " >&6; }
5865 if ${wine_cv_recent_flex+:} false; then :
5866 $as_echo_n "(cached) " >&6
5867 else
5868 cat >conftest.l <<EOF
5869 %top{
5870 #include "prediluvian.h"
5874 if $FLEX -t conftest.l >/dev/null 2>&5
5875 then
5876 wine_cv_recent_flex=yes
5877 else
5878 wine_cv_recent_flex=no
5881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
5882 $as_echo "$wine_cv_recent_flex" >&6; }
5883 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
5885 for ac_prog in bison
5887 # Extract the first word of "$ac_prog", so it can be a program name with args.
5888 set dummy $ac_prog; ac_word=$2
5889 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5890 $as_echo_n "checking for $ac_word... " >&6; }
5891 if ${ac_cv_prog_BISON+:} false; then :
5892 $as_echo_n "(cached) " >&6
5893 else
5894 if test -n "$BISON"; then
5895 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5896 else
5897 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5898 for as_dir in $PATH
5900 IFS=$as_save_IFS
5901 test -z "$as_dir" && as_dir=.
5902 for ac_exec_ext in '' $ac_executable_extensions; do
5903 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5904 ac_cv_prog_BISON="$ac_prog"
5905 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5906 break 2
5908 done
5909 done
5910 IFS=$as_save_IFS
5914 BISON=$ac_cv_prog_BISON
5915 if test -n "$BISON"; then
5916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5917 $as_echo "$BISON" >&6; }
5918 else
5919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5920 $as_echo "no" >&6; }
5924 test -n "$BISON" && break
5925 done
5926 test -n "$BISON" || BISON="none"
5928 if test "$BISON" = "none"
5929 then
5930 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5932 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
5933 $as_echo_n "checking whether bison is recent enough... " >&6; }
5934 if ${wine_cv_recent_bison+:} false; then :
5935 $as_echo_n "(cached) " >&6
5936 else
5937 cat >conftest.y <<EOF
5938 %define parse.error verbose
5940 empty: ;
5942 if $BISON conftest.y >/dev/null 2>&5
5943 then
5944 wine_cv_recent_bison=yes
5945 else
5946 wine_cv_recent_bison=no
5949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
5950 $as_echo "$wine_cv_recent_bison" >&6; }
5951 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
5953 if test -n "$ac_tool_prefix"; then
5954 for ac_prog in ar gar
5956 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5957 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5959 $as_echo_n "checking for $ac_word... " >&6; }
5960 if ${ac_cv_prog_AR+:} false; then :
5961 $as_echo_n "(cached) " >&6
5962 else
5963 if test -n "$AR"; then
5964 ac_cv_prog_AR="$AR" # Let the user override the test.
5965 else
5966 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5967 for as_dir in $PATH
5969 IFS=$as_save_IFS
5970 test -z "$as_dir" && as_dir=.
5971 for ac_exec_ext in '' $ac_executable_extensions; do
5972 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5973 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5974 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5975 break 2
5977 done
5978 done
5979 IFS=$as_save_IFS
5983 AR=$ac_cv_prog_AR
5984 if test -n "$AR"; then
5985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5986 $as_echo "$AR" >&6; }
5987 else
5988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5989 $as_echo "no" >&6; }
5993 test -n "$AR" && break
5994 done
5996 if test -z "$AR"; then
5997 ac_ct_AR=$AR
5998 for ac_prog in ar gar
6000 # Extract the first word of "$ac_prog", so it can be a program name with args.
6001 set dummy $ac_prog; ac_word=$2
6002 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6003 $as_echo_n "checking for $ac_word... " >&6; }
6004 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6005 $as_echo_n "(cached) " >&6
6006 else
6007 if test -n "$ac_ct_AR"; then
6008 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6009 else
6010 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6011 for as_dir in $PATH
6013 IFS=$as_save_IFS
6014 test -z "$as_dir" && as_dir=.
6015 for ac_exec_ext in '' $ac_executable_extensions; do
6016 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6017 ac_cv_prog_ac_ct_AR="$ac_prog"
6018 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6019 break 2
6021 done
6022 done
6023 IFS=$as_save_IFS
6027 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6028 if test -n "$ac_ct_AR"; then
6029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6030 $as_echo "$ac_ct_AR" >&6; }
6031 else
6032 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6033 $as_echo "no" >&6; }
6037 test -n "$ac_ct_AR" && break
6038 done
6040 if test "x$ac_ct_AR" = x; then
6041 AR="ar"
6042 else
6043 case $cross_compiling:$ac_tool_warned in
6044 yes:)
6045 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6046 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6047 ac_tool_warned=yes ;;
6048 esac
6049 AR=$ac_ct_AR
6053 if test -n "$ac_tool_prefix"; then
6054 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6055 set dummy ${ac_tool_prefix}strip; ac_word=$2
6056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6057 $as_echo_n "checking for $ac_word... " >&6; }
6058 if ${ac_cv_prog_STRIP+:} false; then :
6059 $as_echo_n "(cached) " >&6
6060 else
6061 if test -n "$STRIP"; then
6062 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6063 else
6064 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6065 for as_dir in $PATH
6067 IFS=$as_save_IFS
6068 test -z "$as_dir" && as_dir=.
6069 for ac_exec_ext in '' $ac_executable_extensions; do
6070 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6071 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6072 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6073 break 2
6075 done
6076 done
6077 IFS=$as_save_IFS
6081 STRIP=$ac_cv_prog_STRIP
6082 if test -n "$STRIP"; then
6083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6084 $as_echo "$STRIP" >&6; }
6085 else
6086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6087 $as_echo "no" >&6; }
6092 if test -z "$ac_cv_prog_STRIP"; then
6093 ac_ct_STRIP=$STRIP
6094 # Extract the first word of "strip", so it can be a program name with args.
6095 set dummy strip; ac_word=$2
6096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6097 $as_echo_n "checking for $ac_word... " >&6; }
6098 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6099 $as_echo_n "(cached) " >&6
6100 else
6101 if test -n "$ac_ct_STRIP"; then
6102 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6103 else
6104 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6105 for as_dir in $PATH
6107 IFS=$as_save_IFS
6108 test -z "$as_dir" && as_dir=.
6109 for ac_exec_ext in '' $ac_executable_extensions; do
6110 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6111 ac_cv_prog_ac_ct_STRIP="strip"
6112 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6113 break 2
6115 done
6116 done
6117 IFS=$as_save_IFS
6121 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6122 if test -n "$ac_ct_STRIP"; then
6123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6124 $as_echo "$ac_ct_STRIP" >&6; }
6125 else
6126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6127 $as_echo "no" >&6; }
6130 if test "x$ac_ct_STRIP" = x; then
6131 STRIP="strip"
6132 else
6133 case $cross_compiling:$ac_tool_warned in
6134 yes:)
6135 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6136 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6137 ac_tool_warned=yes ;;
6138 esac
6139 STRIP=$ac_ct_STRIP
6141 else
6142 STRIP="$ac_cv_prog_STRIP"
6145 if test -n "$ac_tool_prefix"; then
6146 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6147 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6149 $as_echo_n "checking for $ac_word... " >&6; }
6150 if ${ac_cv_prog_RANLIB+:} false; then :
6151 $as_echo_n "(cached) " >&6
6152 else
6153 if test -n "$RANLIB"; then
6154 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6155 else
6156 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6157 for as_dir in $PATH
6159 IFS=$as_save_IFS
6160 test -z "$as_dir" && as_dir=.
6161 for ac_exec_ext in '' $ac_executable_extensions; do
6162 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6163 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6164 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6165 break 2
6167 done
6168 done
6169 IFS=$as_save_IFS
6173 RANLIB=$ac_cv_prog_RANLIB
6174 if test -n "$RANLIB"; then
6175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6176 $as_echo "$RANLIB" >&6; }
6177 else
6178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6179 $as_echo "no" >&6; }
6184 if test -z "$ac_cv_prog_RANLIB"; then
6185 ac_ct_RANLIB=$RANLIB
6186 # Extract the first word of "ranlib", so it can be a program name with args.
6187 set dummy ranlib; ac_word=$2
6188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6189 $as_echo_n "checking for $ac_word... " >&6; }
6190 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6191 $as_echo_n "(cached) " >&6
6192 else
6193 if test -n "$ac_ct_RANLIB"; then
6194 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6195 else
6196 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6197 for as_dir in $PATH
6199 IFS=$as_save_IFS
6200 test -z "$as_dir" && as_dir=.
6201 for ac_exec_ext in '' $ac_executable_extensions; do
6202 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6203 ac_cv_prog_ac_ct_RANLIB="ranlib"
6204 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6205 break 2
6207 done
6208 done
6209 IFS=$as_save_IFS
6213 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6214 if test -n "$ac_ct_RANLIB"; then
6215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6216 $as_echo "$ac_ct_RANLIB" >&6; }
6217 else
6218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6219 $as_echo "no" >&6; }
6222 if test "x$ac_ct_RANLIB" = x; then
6223 RANLIB=":"
6224 else
6225 case $cross_compiling:$ac_tool_warned in
6226 yes:)
6227 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6228 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6229 ac_tool_warned=yes ;;
6230 esac
6231 RANLIB=$ac_ct_RANLIB
6233 else
6234 RANLIB="$ac_cv_prog_RANLIB"
6237 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6238 $as_echo_n "checking whether ln -s works... " >&6; }
6239 LN_S=$as_ln_s
6240 if test "$LN_S" = "ln -s"; then
6241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6242 $as_echo "yes" >&6; }
6243 else
6244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6245 $as_echo "no, using $LN_S" >&6; }
6248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6249 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6250 if ${ac_cv_path_GREP+:} false; then :
6251 $as_echo_n "(cached) " >&6
6252 else
6253 if test -z "$GREP"; then
6254 ac_path_GREP_found=false
6255 # Loop through the user's path and test for each of PROGNAME-LIST
6256 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6257 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6259 IFS=$as_save_IFS
6260 test -z "$as_dir" && as_dir=.
6261 for ac_prog in grep ggrep; do
6262 for ac_exec_ext in '' $ac_executable_extensions; do
6263 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6264 as_fn_executable_p "$ac_path_GREP" || continue
6265 # Check for GNU ac_path_GREP and select it if it is found.
6266 # Check for GNU $ac_path_GREP
6267 case `"$ac_path_GREP" --version 2>&1` in
6268 *GNU*)
6269 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6271 ac_count=0
6272 $as_echo_n 0123456789 >"conftest.in"
6273 while :
6275 cat "conftest.in" "conftest.in" >"conftest.tmp"
6276 mv "conftest.tmp" "conftest.in"
6277 cp "conftest.in" "conftest.nl"
6278 $as_echo 'GREP' >> "conftest.nl"
6279 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6280 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6281 as_fn_arith $ac_count + 1 && ac_count=$as_val
6282 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6283 # Best one so far, save it but keep looking for a better one
6284 ac_cv_path_GREP="$ac_path_GREP"
6285 ac_path_GREP_max=$ac_count
6287 # 10*(2^10) chars as input seems more than enough
6288 test $ac_count -gt 10 && break
6289 done
6290 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6291 esac
6293 $ac_path_GREP_found && break 3
6294 done
6295 done
6296 done
6297 IFS=$as_save_IFS
6298 if test -z "$ac_cv_path_GREP"; then
6299 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6301 else
6302 ac_cv_path_GREP=$GREP
6306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6307 $as_echo "$ac_cv_path_GREP" >&6; }
6308 GREP="$ac_cv_path_GREP"
6311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6312 $as_echo_n "checking for egrep... " >&6; }
6313 if ${ac_cv_path_EGREP+:} false; then :
6314 $as_echo_n "(cached) " >&6
6315 else
6316 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6317 then ac_cv_path_EGREP="$GREP -E"
6318 else
6319 if test -z "$EGREP"; then
6320 ac_path_EGREP_found=false
6321 # Loop through the user's path and test for each of PROGNAME-LIST
6322 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6323 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6325 IFS=$as_save_IFS
6326 test -z "$as_dir" && as_dir=.
6327 for ac_prog in egrep; do
6328 for ac_exec_ext in '' $ac_executable_extensions; do
6329 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6330 as_fn_executable_p "$ac_path_EGREP" || continue
6331 # Check for GNU ac_path_EGREP and select it if it is found.
6332 # Check for GNU $ac_path_EGREP
6333 case `"$ac_path_EGREP" --version 2>&1` in
6334 *GNU*)
6335 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6337 ac_count=0
6338 $as_echo_n 0123456789 >"conftest.in"
6339 while :
6341 cat "conftest.in" "conftest.in" >"conftest.tmp"
6342 mv "conftest.tmp" "conftest.in"
6343 cp "conftest.in" "conftest.nl"
6344 $as_echo 'EGREP' >> "conftest.nl"
6345 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6346 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6347 as_fn_arith $ac_count + 1 && ac_count=$as_val
6348 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6349 # Best one so far, save it but keep looking for a better one
6350 ac_cv_path_EGREP="$ac_path_EGREP"
6351 ac_path_EGREP_max=$ac_count
6353 # 10*(2^10) chars as input seems more than enough
6354 test $ac_count -gt 10 && break
6355 done
6356 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6357 esac
6359 $ac_path_EGREP_found && break 3
6360 done
6361 done
6362 done
6363 IFS=$as_save_IFS
6364 if test -z "$ac_cv_path_EGREP"; then
6365 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6367 else
6368 ac_cv_path_EGREP=$EGREP
6373 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6374 $as_echo "$ac_cv_path_EGREP" >&6; }
6375 EGREP="$ac_cv_path_EGREP"
6378 # Extract the first word of "ldconfig", so it can be a program name with args.
6379 set dummy ldconfig; ac_word=$2
6380 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6381 $as_echo_n "checking for $ac_word... " >&6; }
6382 if ${ac_cv_path_LDCONFIG+:} false; then :
6383 $as_echo_n "(cached) " >&6
6384 else
6385 case $LDCONFIG in
6386 [\\/]* | ?:[\\/]*)
6387 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6390 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6391 for as_dir in /sbin /usr/sbin $PATH
6393 IFS=$as_save_IFS
6394 test -z "$as_dir" && as_dir=.
6395 for ac_exec_ext in '' $ac_executable_extensions; do
6396 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6397 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6398 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6399 break 2
6401 done
6402 done
6403 IFS=$as_save_IFS
6405 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6407 esac
6409 LDCONFIG=$ac_cv_path_LDCONFIG
6410 if test -n "$LDCONFIG"; then
6411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
6412 $as_echo "$LDCONFIG" >&6; }
6413 else
6414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6415 $as_echo "no" >&6; }
6419 for ac_prog in msgfmt
6421 # Extract the first word of "$ac_prog", so it can be a program name with args.
6422 set dummy $ac_prog; ac_word=$2
6423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6424 $as_echo_n "checking for $ac_word... " >&6; }
6425 if ${ac_cv_prog_MSGFMT+:} false; then :
6426 $as_echo_n "(cached) " >&6
6427 else
6428 if test -n "$MSGFMT"; then
6429 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
6430 else
6431 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6432 for as_dir in $PATH
6434 IFS=$as_save_IFS
6435 test -z "$as_dir" && as_dir=.
6436 for ac_exec_ext in '' $ac_executable_extensions; do
6437 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6438 ac_cv_prog_MSGFMT="$ac_prog"
6439 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6440 break 2
6442 done
6443 done
6444 IFS=$as_save_IFS
6448 MSGFMT=$ac_cv_prog_MSGFMT
6449 if test -n "$MSGFMT"; then
6450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6451 $as_echo "$MSGFMT" >&6; }
6452 else
6453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6454 $as_echo "no" >&6; }
6458 test -n "$MSGFMT" && break
6459 done
6460 test -n "$MSGFMT" || MSGFMT="false"
6462 if ${ac_tool_prefix+:} false; then :
6463 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6464 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6466 $as_echo_n "checking for $ac_word... " >&6; }
6467 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6468 $as_echo_n "(cached) " >&6
6469 else
6470 if test -n "$PKG_CONFIG"; then
6471 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6472 else
6473 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6474 for as_dir in $PATH
6476 IFS=$as_save_IFS
6477 test -z "$as_dir" && as_dir=.
6478 for ac_exec_ext in '' $ac_executable_extensions; do
6479 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6480 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
6481 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6482 break 2
6484 done
6485 done
6486 IFS=$as_save_IFS
6490 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6491 if test -n "$PKG_CONFIG"; then
6492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6493 $as_echo "$PKG_CONFIG" >&6; }
6494 else
6495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6496 $as_echo "no" >&6; }
6501 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
6502 if test "x$cross_compiling" = xyes; then :
6504 else
6505 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
6506 # Extract the first word of "pkg-config", so it can be a program name with args.
6507 set dummy pkg-config; ac_word=$2
6508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6509 $as_echo_n "checking for $ac_word... " >&6; }
6510 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6511 $as_echo_n "(cached) " >&6
6512 else
6513 if test -n "$PKG_CONFIG"; then
6514 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6515 else
6516 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6517 for as_dir in $PATH
6519 IFS=$as_save_IFS
6520 test -z "$as_dir" && as_dir=.
6521 for ac_exec_ext in '' $ac_executable_extensions; do
6522 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6523 ac_cv_prog_PKG_CONFIG="pkg-config"
6524 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6525 break 2
6527 done
6528 done
6529 IFS=$as_save_IFS
6533 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6534 if test -n "$PKG_CONFIG"; then
6535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6536 $as_echo "$PKG_CONFIG" >&6; }
6537 else
6538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6539 $as_echo "no" >&6; }
6544 else
6545 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6548 if test "x$enable_maintainer_mode" != "xyes"
6549 then
6550 FONTFORGE=""
6551 RSVG=""
6552 CONVERT=""
6553 ICOTOOL=""
6554 else
6555 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6556 for ac_prog in fontforge
6558 # Extract the first word of "$ac_prog", so it can be a program name with args.
6559 set dummy $ac_prog; ac_word=$2
6560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6561 $as_echo_n "checking for $ac_word... " >&6; }
6562 if ${ac_cv_prog_FONTFORGE+:} false; then :
6563 $as_echo_n "(cached) " >&6
6564 else
6565 if test -n "$FONTFORGE"; then
6566 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6567 else
6568 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6569 for as_dir in $PATH
6571 IFS=$as_save_IFS
6572 test -z "$as_dir" && as_dir=.
6573 for ac_exec_ext in '' $ac_executable_extensions; do
6574 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6575 ac_cv_prog_FONTFORGE="$ac_prog"
6576 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6577 break 2
6579 done
6580 done
6581 IFS=$as_save_IFS
6585 FONTFORGE=$ac_cv_prog_FONTFORGE
6586 if test -n "$FONTFORGE"; then
6587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6588 $as_echo "$FONTFORGE" >&6; }
6589 else
6590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6591 $as_echo "no" >&6; }
6595 test -n "$FONTFORGE" && break
6596 done
6597 test -n "$FONTFORGE" || FONTFORGE="false"
6599 for ac_prog in rsvg-convert rsvg
6601 # Extract the first word of "$ac_prog", so it can be a program name with args.
6602 set dummy $ac_prog; ac_word=$2
6603 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6604 $as_echo_n "checking for $ac_word... " >&6; }
6605 if ${ac_cv_prog_RSVG+:} false; then :
6606 $as_echo_n "(cached) " >&6
6607 else
6608 if test -n "$RSVG"; then
6609 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6610 else
6611 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6612 for as_dir in $PATH
6614 IFS=$as_save_IFS
6615 test -z "$as_dir" && as_dir=.
6616 for ac_exec_ext in '' $ac_executable_extensions; do
6617 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6618 ac_cv_prog_RSVG="$ac_prog"
6619 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6620 break 2
6622 done
6623 done
6624 IFS=$as_save_IFS
6628 RSVG=$ac_cv_prog_RSVG
6629 if test -n "$RSVG"; then
6630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6631 $as_echo "$RSVG" >&6; }
6632 else
6633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6634 $as_echo "no" >&6; }
6638 test -n "$RSVG" && break
6639 done
6640 test -n "$RSVG" || RSVG="false"
6642 for ac_prog in convert
6644 # Extract the first word of "$ac_prog", so it can be a program name with args.
6645 set dummy $ac_prog; ac_word=$2
6646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6647 $as_echo_n "checking for $ac_word... " >&6; }
6648 if ${ac_cv_prog_CONVERT+:} false; then :
6649 $as_echo_n "(cached) " >&6
6650 else
6651 if test -n "$CONVERT"; then
6652 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6653 else
6654 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6655 for as_dir in $PATH
6657 IFS=$as_save_IFS
6658 test -z "$as_dir" && as_dir=.
6659 for ac_exec_ext in '' $ac_executable_extensions; do
6660 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6661 ac_cv_prog_CONVERT="$ac_prog"
6662 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6663 break 2
6665 done
6666 done
6667 IFS=$as_save_IFS
6671 CONVERT=$ac_cv_prog_CONVERT
6672 if test -n "$CONVERT"; then
6673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6674 $as_echo "$CONVERT" >&6; }
6675 else
6676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6677 $as_echo "no" >&6; }
6681 test -n "$CONVERT" && break
6682 done
6683 test -n "$CONVERT" || CONVERT="false"
6685 for ac_prog in icotool
6687 # Extract the first word of "$ac_prog", so it can be a program name with args.
6688 set dummy $ac_prog; ac_word=$2
6689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6690 $as_echo_n "checking for $ac_word... " >&6; }
6691 if ${ac_cv_prog_ICOTOOL+:} false; then :
6692 $as_echo_n "(cached) " >&6
6693 else
6694 if test -n "$ICOTOOL"; then
6695 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6696 else
6697 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6698 for as_dir in $PATH
6700 IFS=$as_save_IFS
6701 test -z "$as_dir" && as_dir=.
6702 for ac_exec_ext in '' $ac_executable_extensions; do
6703 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6704 ac_cv_prog_ICOTOOL="$ac_prog"
6705 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6706 break 2
6708 done
6709 done
6710 IFS=$as_save_IFS
6714 ICOTOOL=$ac_cv_prog_ICOTOOL
6715 if test -n "$ICOTOOL"; then
6716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6717 $as_echo "$ICOTOOL" >&6; }
6718 else
6719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6720 $as_echo "no" >&6; }
6724 test -n "$ICOTOOL" && break
6725 done
6726 test -n "$ICOTOOL" || ICOTOOL="false"
6728 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6729 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6731 if test "$CONVERT" = false
6732 then
6733 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6734 else
6735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6736 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6737 convert_version=`convert --version | head -n1`
6738 if test "x$convert_version" != "x"
6739 then
6740 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6741 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6742 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6743 then
6744 CONVERT=false
6747 if test "$CONVERT" = false
6748 then
6749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6750 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6751 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6752 else
6753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6754 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6758 if test "$ICOTOOL" = false
6759 then
6760 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6761 else
6762 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6763 $as_echo_n "checking for recent enough icotool... " >&6; }
6764 icotool_version=`icotool --version | head -n1`
6765 if test "x$icotool_version" != "x"
6766 then
6767 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6768 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6769 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6770 then
6771 ICOTOOL=false
6772 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6775 if test "$ICOTOOL" = false
6776 then
6777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6778 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6779 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6780 else
6781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6782 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6786 with_gettext=yes
6787 with_gettextpo=yes
6790 test "x$with_gettext" != xno || MSGFMT=false
6791 if test "$MSGFMT" != "false"
6792 then
6793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6794 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6795 if ${wine_cv_msgfmt_contexts+:} false; then :
6796 $as_echo_n "(cached) " >&6
6797 else
6798 cat >conftest.po <<EOF
6799 # comment
6800 msgctxt "ctxt"
6801 msgid "id"
6802 msgstr "str"
6804 if $MSGFMT -o /dev/null conftest.po 2>&5
6805 then
6806 wine_cv_msgfmt_contexts=yes
6807 else
6808 wine_cv_msgfmt_contexts=no
6811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
6812 $as_echo "$wine_cv_msgfmt_contexts" >&6; }
6813 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
6815 if test "$MSGFMT" = false; then :
6816 case "x$with_gettext" in
6817 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6818 xno) ;;
6819 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6820 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6821 esac
6822 enable_po=${enable_po:-no}
6826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6827 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6828 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6829 $as_echo_n "(cached) " >&6
6830 else
6831 ac_check_lib_save_LIBS=$LIBS
6832 LIBS="-li386 $LIBS"
6833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6834 /* end confdefs.h. */
6836 /* Override any GCC internal prototype to avoid an error.
6837 Use char because int might match the return type of a GCC
6838 builtin and then its argument prototype would still apply. */
6839 #ifdef __cplusplus
6840 extern "C"
6841 #endif
6842 char i386_set_ldt ();
6844 main ()
6846 return i386_set_ldt ();
6848 return 0;
6850 _ACEOF
6851 if ac_fn_c_try_link "$LINENO"; then :
6852 ac_cv_lib_i386_i386_set_ldt=yes
6853 else
6854 ac_cv_lib_i386_i386_set_ldt=no
6856 rm -f core conftest.err conftest.$ac_objext \
6857 conftest$ac_exeext conftest.$ac_ext
6858 LIBS=$ac_check_lib_save_LIBS
6860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6861 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6862 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6863 I386_LIBS="-li386"
6868 OPENGL_LIBS=""
6872 # Check whether --enable-largefile was given.
6873 if test "${enable_largefile+set}" = set; then :
6874 enableval=$enable_largefile;
6877 if test "$enable_largefile" != no; then
6879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6880 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6881 if ${ac_cv_sys_largefile_CC+:} false; then :
6882 $as_echo_n "(cached) " >&6
6883 else
6884 ac_cv_sys_largefile_CC=no
6885 if test "$GCC" != yes; then
6886 ac_save_CC=$CC
6887 while :; do
6888 # IRIX 6.2 and later do not support large files by default,
6889 # so use the C compiler's -n32 option if that helps.
6890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6891 /* end confdefs.h. */
6892 #include <sys/types.h>
6893 /* Check that off_t can represent 2**63 - 1 correctly.
6894 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6895 since some C++ compilers masquerading as C compilers
6896 incorrectly reject 9223372036854775807. */
6897 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6898 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6899 && LARGE_OFF_T % 2147483647 == 1)
6900 ? 1 : -1];
6902 main ()
6906 return 0;
6908 _ACEOF
6909 if ac_fn_c_try_compile "$LINENO"; then :
6910 break
6912 rm -f core conftest.err conftest.$ac_objext
6913 CC="$CC -n32"
6914 if ac_fn_c_try_compile "$LINENO"; then :
6915 ac_cv_sys_largefile_CC=' -n32'; break
6917 rm -f core conftest.err conftest.$ac_objext
6918 break
6919 done
6920 CC=$ac_save_CC
6921 rm -f conftest.$ac_ext
6924 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6925 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6926 if test "$ac_cv_sys_largefile_CC" != no; then
6927 CC=$CC$ac_cv_sys_largefile_CC
6930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6931 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6932 if ${ac_cv_sys_file_offset_bits+:} false; then :
6933 $as_echo_n "(cached) " >&6
6934 else
6935 while :; do
6936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6937 /* end confdefs.h. */
6938 #include <sys/types.h>
6939 /* Check that off_t can represent 2**63 - 1 correctly.
6940 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6941 since some C++ compilers masquerading as C compilers
6942 incorrectly reject 9223372036854775807. */
6943 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6944 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6945 && LARGE_OFF_T % 2147483647 == 1)
6946 ? 1 : -1];
6948 main ()
6952 return 0;
6954 _ACEOF
6955 if ac_fn_c_try_compile "$LINENO"; then :
6956 ac_cv_sys_file_offset_bits=no; break
6958 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6960 /* end confdefs.h. */
6961 #define _FILE_OFFSET_BITS 64
6962 #include <sys/types.h>
6963 /* Check that off_t can represent 2**63 - 1 correctly.
6964 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6965 since some C++ compilers masquerading as C compilers
6966 incorrectly reject 9223372036854775807. */
6967 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6968 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6969 && LARGE_OFF_T % 2147483647 == 1)
6970 ? 1 : -1];
6972 main ()
6976 return 0;
6978 _ACEOF
6979 if ac_fn_c_try_compile "$LINENO"; then :
6980 ac_cv_sys_file_offset_bits=64; break
6982 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6983 ac_cv_sys_file_offset_bits=unknown
6984 break
6985 done
6987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6988 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6989 case $ac_cv_sys_file_offset_bits in #(
6990 no | unknown) ;;
6992 cat >>confdefs.h <<_ACEOF
6993 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6994 _ACEOF
6996 esac
6997 rm -rf conftest*
6998 if test $ac_cv_sys_file_offset_bits = unknown; then
6999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7000 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
7001 if ${ac_cv_sys_large_files+:} false; then :
7002 $as_echo_n "(cached) " >&6
7003 else
7004 while :; do
7005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7006 /* end confdefs.h. */
7007 #include <sys/types.h>
7008 /* Check that off_t can represent 2**63 - 1 correctly.
7009 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7010 since some C++ compilers masquerading as C compilers
7011 incorrectly reject 9223372036854775807. */
7012 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7013 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7014 && LARGE_OFF_T % 2147483647 == 1)
7015 ? 1 : -1];
7017 main ()
7021 return 0;
7023 _ACEOF
7024 if ac_fn_c_try_compile "$LINENO"; then :
7025 ac_cv_sys_large_files=no; break
7027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7029 /* end confdefs.h. */
7030 #define _LARGE_FILES 1
7031 #include <sys/types.h>
7032 /* Check that off_t can represent 2**63 - 1 correctly.
7033 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7034 since some C++ compilers masquerading as C compilers
7035 incorrectly reject 9223372036854775807. */
7036 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7037 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7038 && LARGE_OFF_T % 2147483647 == 1)
7039 ? 1 : -1];
7041 main ()
7045 return 0;
7047 _ACEOF
7048 if ac_fn_c_try_compile "$LINENO"; then :
7049 ac_cv_sys_large_files=1; break
7051 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7052 ac_cv_sys_large_files=unknown
7053 break
7054 done
7056 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7057 $as_echo "$ac_cv_sys_large_files" >&6; }
7058 case $ac_cv_sys_large_files in #(
7059 no | unknown) ;;
7061 cat >>confdefs.h <<_ACEOF
7062 #define _LARGE_FILES $ac_cv_sys_large_files
7063 _ACEOF
7065 esac
7066 rm -rf conftest*
7073 ac_ext=c
7074 ac_cpp='$CPP $CPPFLAGS'
7075 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7076 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7077 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7078 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7079 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7080 # On Suns, sometimes $CPP names a directory.
7081 if test -n "$CPP" && test -d "$CPP"; then
7082 CPP=
7084 if test -z "$CPP"; then
7085 if ${ac_cv_prog_CPP+:} false; then :
7086 $as_echo_n "(cached) " >&6
7087 else
7088 # Double quotes because CPP needs to be expanded
7089 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7091 ac_preproc_ok=false
7092 for ac_c_preproc_warn_flag in '' yes
7094 # Use a header file that comes with gcc, so configuring glibc
7095 # with a fresh cross-compiler works.
7096 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7097 # <limits.h> exists even on freestanding compilers.
7098 # On the NeXT, cc -E runs the code through the compiler's parser,
7099 # not just through cpp. "Syntax error" is here to catch this case.
7100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7101 /* end confdefs.h. */
7102 #ifdef __STDC__
7103 # include <limits.h>
7104 #else
7105 # include <assert.h>
7106 #endif
7107 Syntax error
7108 _ACEOF
7109 if ac_fn_c_try_cpp "$LINENO"; then :
7111 else
7112 # Broken: fails on valid input.
7113 continue
7115 rm -f conftest.err conftest.i conftest.$ac_ext
7117 # OK, works on sane cases. Now check whether nonexistent headers
7118 # can be detected and how.
7119 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7120 /* end confdefs.h. */
7121 #include <ac_nonexistent.h>
7122 _ACEOF
7123 if ac_fn_c_try_cpp "$LINENO"; then :
7124 # Broken: success on invalid input.
7125 continue
7126 else
7127 # Passes both tests.
7128 ac_preproc_ok=:
7129 break
7131 rm -f conftest.err conftest.i conftest.$ac_ext
7133 done
7134 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7135 rm -f conftest.i conftest.err conftest.$ac_ext
7136 if $ac_preproc_ok; then :
7137 break
7140 done
7141 ac_cv_prog_CPP=$CPP
7144 CPP=$ac_cv_prog_CPP
7145 else
7146 ac_cv_prog_CPP=$CPP
7148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7149 $as_echo "$CPP" >&6; }
7150 ac_preproc_ok=false
7151 for ac_c_preproc_warn_flag in '' yes
7153 # Use a header file that comes with gcc, so configuring glibc
7154 # with a fresh cross-compiler works.
7155 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7156 # <limits.h> exists even on freestanding compilers.
7157 # On the NeXT, cc -E runs the code through the compiler's parser,
7158 # not just through cpp. "Syntax error" is here to catch this case.
7159 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7160 /* end confdefs.h. */
7161 #ifdef __STDC__
7162 # include <limits.h>
7163 #else
7164 # include <assert.h>
7165 #endif
7166 Syntax error
7167 _ACEOF
7168 if ac_fn_c_try_cpp "$LINENO"; then :
7170 else
7171 # Broken: fails on valid input.
7172 continue
7174 rm -f conftest.err conftest.i conftest.$ac_ext
7176 # OK, works on sane cases. Now check whether nonexistent headers
7177 # can be detected and how.
7178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7179 /* end confdefs.h. */
7180 #include <ac_nonexistent.h>
7181 _ACEOF
7182 if ac_fn_c_try_cpp "$LINENO"; then :
7183 # Broken: success on invalid input.
7184 continue
7185 else
7186 # Passes both tests.
7187 ac_preproc_ok=:
7188 break
7190 rm -f conftest.err conftest.i conftest.$ac_ext
7192 done
7193 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7194 rm -f conftest.i conftest.err conftest.$ac_ext
7195 if $ac_preproc_ok; then :
7197 else
7198 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7199 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7200 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7201 See \`config.log' for more details" "$LINENO" 5; }
7204 ac_ext=c
7205 ac_cpp='$CPP $CPPFLAGS'
7206 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7207 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7208 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7212 $as_echo_n "checking for ANSI C header files... " >&6; }
7213 if ${ac_cv_header_stdc+:} false; then :
7214 $as_echo_n "(cached) " >&6
7215 else
7216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7217 /* end confdefs.h. */
7218 #include <stdlib.h>
7219 #include <stdarg.h>
7220 #include <string.h>
7221 #include <float.h>
7224 main ()
7228 return 0;
7230 _ACEOF
7231 if ac_fn_c_try_compile "$LINENO"; then :
7232 ac_cv_header_stdc=yes
7233 else
7234 ac_cv_header_stdc=no
7236 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7238 if test $ac_cv_header_stdc = yes; then
7239 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7241 /* end confdefs.h. */
7242 #include <string.h>
7244 _ACEOF
7245 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7246 $EGREP "memchr" >/dev/null 2>&1; then :
7248 else
7249 ac_cv_header_stdc=no
7251 rm -f conftest*
7255 if test $ac_cv_header_stdc = yes; then
7256 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7258 /* end confdefs.h. */
7259 #include <stdlib.h>
7261 _ACEOF
7262 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7263 $EGREP "free" >/dev/null 2>&1; then :
7265 else
7266 ac_cv_header_stdc=no
7268 rm -f conftest*
7272 if test $ac_cv_header_stdc = yes; then
7273 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7274 if test "$cross_compiling" = yes; then :
7276 else
7277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7278 /* end confdefs.h. */
7279 #include <ctype.h>
7280 #include <stdlib.h>
7281 #if ((' ' & 0x0FF) == 0x020)
7282 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7283 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7284 #else
7285 # define ISLOWER(c) \
7286 (('a' <= (c) && (c) <= 'i') \
7287 || ('j' <= (c) && (c) <= 'r') \
7288 || ('s' <= (c) && (c) <= 'z'))
7289 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7290 #endif
7292 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7294 main ()
7296 int i;
7297 for (i = 0; i < 256; i++)
7298 if (XOR (islower (i), ISLOWER (i))
7299 || toupper (i) != TOUPPER (i))
7300 return 2;
7301 return 0;
7303 _ACEOF
7304 if ac_fn_c_try_run "$LINENO"; then :
7306 else
7307 ac_cv_header_stdc=no
7309 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7310 conftest.$ac_objext conftest.beam conftest.$ac_ext
7315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7316 $as_echo "$ac_cv_header_stdc" >&6; }
7317 if test $ac_cv_header_stdc = yes; then
7319 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7323 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7324 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7325 inttypes.h stdint.h unistd.h
7326 do :
7327 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7328 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7330 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7331 cat >>confdefs.h <<_ACEOF
7332 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7333 _ACEOF
7337 done
7340 for ac_header in \
7341 AL/al.h \
7342 ApplicationServices/ApplicationServices.h \
7343 AudioToolbox/AudioConverter.h \
7344 AudioUnit/AudioUnit.h \
7345 AudioUnit/AudioComponent.h \
7346 CL/cl.h \
7347 Carbon/Carbon.h \
7348 CommonCrypto/CommonCryptor.h \
7349 CoreAudio/CoreAudio.h \
7350 CoreServices/CoreServices.h \
7351 DiskArbitration/DiskArbitration.h \
7352 EGL/egl.h \
7353 IOKit/IOKitLib.h \
7354 IOKit/hid/IOHIDLib.h \
7355 OpenAL/al.h \
7356 OpenCL/opencl.h \
7357 QuickTime/ImageCompression.h \
7358 Security/Security.h \
7359 alias.h \
7360 arpa/inet.h \
7361 arpa/nameser.h \
7362 asm/types.h \
7363 asm/user.h \
7364 curses.h \
7365 dirent.h \
7366 dlfcn.h \
7367 elf.h \
7368 float.h \
7369 fnmatch.h \
7370 getopt.h \
7371 gettext-po.h \
7372 grp.h \
7373 gsm.h \
7374 gsm/gsm.h \
7375 ieeefp.h \
7376 inet/mib2.h \
7377 kstat.h \
7378 libproc.h \
7379 link.h \
7380 linux/cdrom.h \
7381 linux/compiler.h \
7382 linux/filter.h \
7383 linux/hdreg.h \
7384 linux/hidraw.h \
7385 linux/input.h \
7386 linux/ioctl.h \
7387 linux/joystick.h \
7388 linux/major.h \
7389 linux/param.h \
7390 linux/serial.h \
7391 linux/types.h \
7392 linux/ucdrom.h \
7393 lwp.h \
7394 mach-o/nlist.h \
7395 mach-o/loader.h \
7396 mach/mach.h \
7397 mach/machine.h \
7398 machine/cpu.h \
7399 machine/limits.h \
7400 machine/sysarch.h \
7401 mntent.h \
7402 ncurses.h \
7403 netdb.h \
7404 netinet/in.h \
7405 netinet/in_systm.h \
7406 netinet/tcp.h \
7407 netinet/tcp_fsm.h \
7408 pcap/pcap.h \
7409 poll.h \
7410 port.h \
7411 pthread.h \
7412 pwd.h \
7413 sched.h \
7414 scsi/scsi.h \
7415 scsi/scsi_ioctl.h \
7416 scsi/sg.h \
7417 stdbool.h \
7418 stdint.h \
7419 stropts.h \
7420 sys/attr.h \
7421 sys/auxv.h \
7422 sys/cdio.h \
7423 sys/elf32.h \
7424 sys/epoll.h \
7425 sys/event.h \
7426 sys/exec_elf.h \
7427 sys/filio.h \
7428 sys/ioctl.h \
7429 sys/ipc.h \
7430 sys/limits.h \
7431 sys/link.h \
7432 sys/mman.h \
7433 sys/modem.h \
7434 sys/msg.h \
7435 sys/mtio.h \
7436 sys/param.h \
7437 sys/poll.h \
7438 sys/prctl.h \
7439 sys/protosw.h \
7440 sys/ptrace.h \
7441 sys/queue.h \
7442 sys/resource.h \
7443 sys/scsiio.h \
7444 sys/shm.h \
7445 sys/signal.h \
7446 sys/socket.h \
7447 sys/socketvar.h \
7448 sys/sockio.h \
7449 sys/statvfs.h \
7450 sys/strtio.h \
7451 sys/syscall.h \
7452 sys/sysinfo.h \
7453 sys/tihdr.h \
7454 sys/time.h \
7455 sys/timeout.h \
7456 sys/times.h \
7457 sys/uio.h \
7458 sys/user.h \
7459 sys/utsname.h \
7460 sys/vnode.h \
7461 sys/wait.h \
7462 syscall.h \
7463 termios.h \
7464 unistd.h \
7465 utime.h \
7466 valgrind/memcheck.h \
7467 valgrind/valgrind.h
7469 do :
7470 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7471 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7472 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7473 cat >>confdefs.h <<_ACEOF
7474 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7475 _ACEOF
7479 done
7481 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7482 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7484 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7489 if test $ac_cv_header_sys_mkdev_h = no; then
7490 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7491 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7493 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7500 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7501 if ${ac_cv_header_stat_broken+:} false; then :
7502 $as_echo_n "(cached) " >&6
7503 else
7504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7505 /* end confdefs.h. */
7506 #include <sys/types.h>
7507 #include <sys/stat.h>
7509 #if defined S_ISBLK && defined S_IFDIR
7510 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7511 #endif
7513 #if defined S_ISBLK && defined S_IFCHR
7514 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7515 #endif
7517 #if defined S_ISLNK && defined S_IFREG
7518 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7519 #endif
7521 #if defined S_ISSOCK && defined S_IFREG
7522 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7523 #endif
7525 _ACEOF
7526 if ac_fn_c_try_compile "$LINENO"; then :
7527 ac_cv_header_stat_broken=no
7528 else
7529 ac_cv_header_stat_broken=yes
7531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7534 $as_echo "$ac_cv_header_stat_broken" >&6; }
7535 if test $ac_cv_header_stat_broken = yes; then
7537 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7543 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
7544 do :
7545 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7546 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7547 #ifdef HAVE_SYS_PARAM_H
7548 # include <sys/param.h>
7549 #endif
7551 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7552 cat >>confdefs.h <<_ACEOF
7553 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7554 _ACEOF
7558 done
7561 for ac_header in \
7562 netinet/ip.h \
7563 net/if.h \
7564 net/if_arp.h \
7565 net/if_dl.h \
7566 net/if_types.h \
7567 net/route.h \
7568 netinet/if_ether.h \
7569 netinet/if_inarp.h \
7570 netinet/in_pcb.h \
7571 netinet/ip_icmp.h \
7572 netinet/ip_var.h \
7573 netinet/udp.h \
7574 netipx/ipx.h \
7575 sys/un.h \
7577 do :
7578 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7579 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7580 #ifdef HAVE_SYS_SOCKET_H
7581 # include <sys/socket.h>
7582 #endif
7583 #ifdef HAVE_SYS_SOCKETVAR_H
7584 # include <sys/socketvar.h>
7585 #endif
7586 #ifdef HAVE_NET_ROUTE_H
7587 # include <net/route.h>
7588 #endif
7589 #ifdef HAVE_NETINET_IN_H
7590 # include <netinet/in.h>
7591 #endif
7592 #ifdef HAVE_NETINET_IN_SYSTM_H
7593 # include <netinet/in_systm.h>
7594 #endif
7595 #ifdef HAVE_NET_IF_H
7596 # include <net/if.h>
7597 #endif
7598 #ifdef HAVE_NETINET_IP_H
7599 # include <netinet/ip.h>
7600 #endif
7602 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7603 cat >>confdefs.h <<_ACEOF
7604 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7605 _ACEOF
7609 done
7612 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7613 do :
7614 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7615 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7616 #ifdef HAVE_ALIAS_H
7617 # include <alias.h>
7618 #endif
7619 #ifdef HAVE_SYS_SOCKET_H
7620 # include <sys/socket.h>
7621 #endif
7622 #ifdef HAVE_SYS_SOCKETVAR_H
7623 # include <sys/socketvar.h>
7624 #endif
7625 #ifdef HAVE_SYS_TIMEOUT_H
7626 # include <sys/timeout.h>
7627 #endif
7628 #ifdef HAVE_NETINET_IN_H
7629 # include <netinet/in.h>
7630 #endif
7631 #ifdef HAVE_NETINET_IN_SYSTM_H
7632 # include <netinet/in_systm.h>
7633 #endif
7634 #ifdef HAVE_NETINET_IP_H
7635 # include <netinet/ip.h>
7636 #endif
7637 #ifdef HAVE_NETINET_IP_VAR_H
7638 # include <netinet/ip_var.h>
7639 #endif
7640 #ifdef HAVE_NETINET_IP_ICMP_H
7641 # include <netinet/ip_icmp.h>
7642 #endif
7643 #ifdef HAVE_NETINET_UDP_H
7644 # include <netinet/udp.h>
7645 #endif
7646 #ifdef HAVE_NETINET_TCP_H
7647 # include <netinet/tcp.h>
7648 #endif
7649 #ifdef HAVE_NETINET_TCP_TIMER_H
7650 #include <netinet/tcp_timer.h>
7651 #endif
7653 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7654 cat >>confdefs.h <<_ACEOF
7655 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7656 _ACEOF
7660 done
7663 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7664 do :
7665 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7666 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7667 #ifdef HAVE_ASM_TYPES_H
7668 # include <asm/types.h>
7669 #endif
7670 #ifdef HAVE_SYS_SOCKET_H
7671 # include <sys/socket.h>
7672 #endif
7673 #ifdef HAVE_LINUX_TYPES_H
7674 # include <linux/types.h>
7675 #endif
7677 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7678 cat >>confdefs.h <<_ACEOF
7679 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7680 _ACEOF
7684 done
7687 for ac_header in mach-o/dyld_images.h
7688 do :
7689 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7690 # include <stdbool.h>
7691 #endif
7692 #ifdef HAVE_STDINT_H
7693 # include <stdint.h>
7694 #endif
7696 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7697 cat >>confdefs.h <<_ACEOF
7698 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7699 _ACEOF
7703 done
7706 for ac_header in resolv.h
7707 do :
7708 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7709 #ifdef HAVE_SYS_SOCKET_H
7710 # include <sys/socket.h>
7711 #endif
7712 #ifdef HAVE_NETINET_IN_H
7713 # include <netinet/in.h>
7714 #endif
7715 #ifdef HAVE_ARPA_NAMESER_H
7716 # include <arpa/nameser.h>
7717 #endif
7719 if test "x$ac_cv_header_resolv_h" = xyes; then :
7720 cat >>confdefs.h <<_ACEOF
7721 #define HAVE_RESOLV_H 1
7722 _ACEOF
7726 done
7729 for ac_header in ifaddrs.h
7730 do :
7731 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7733 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7734 cat >>confdefs.h <<_ACEOF
7735 #define HAVE_IFADDRS_H 1
7736 _ACEOF
7740 done
7743 for ac_header in sys/ucontext.h
7744 do :
7745 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7747 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7748 cat >>confdefs.h <<_ACEOF
7749 #define HAVE_SYS_UCONTEXT_H 1
7750 _ACEOF
7754 done
7757 for ac_header in sys/thr.h
7758 do :
7759 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7760 #ifdef HAVE_SYS_UCONTEXT_H
7761 #include <sys/ucontext.h>
7762 #endif
7764 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7765 cat >>confdefs.h <<_ACEOF
7766 #define HAVE_SYS_THR_H 1
7767 _ACEOF
7771 done
7774 for ac_header in pthread_np.h
7775 do :
7776 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7777 #include <pthread.h>
7778 #endif
7780 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7781 cat >>confdefs.h <<_ACEOF
7782 #define HAVE_PTHREAD_NP_H 1
7783 _ACEOF
7787 done
7790 for ac_header in linux/videodev2.h
7791 do :
7792 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#ifdef HAVE_SYS_TIME_H
7793 #include <sys/time.h>
7794 #endif
7795 #include <sys/types.h>
7796 #ifdef HAVE_ASM_TYPES_H
7797 #include <asm/types.h>
7798 #endif
7800 if test "x$ac_cv_header_linux_videodev2_h" = xyes; then :
7801 cat >>confdefs.h <<_ACEOF
7802 #define HAVE_LINUX_VIDEODEV2_H 1
7803 _ACEOF
7807 done
7810 for ac_header in libprocstat.h
7811 do :
7812 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7813 #include <sys/param.h>
7814 #endif
7815 #ifdef HAVE_SYS_QUEUE_H
7816 #include <sys/queue.h>
7817 #endif
7818 #ifdef HAVE_SYS_SOCKET_H
7819 #include <sys/socket.h>
7820 #endif
7822 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7823 cat >>confdefs.h <<_ACEOF
7824 #define HAVE_LIBPROCSTAT_H 1
7825 _ACEOF
7829 done
7833 DLLFLAGS="-D_REENTRANT"
7835 LDRPATH_INSTALL=""
7837 LDRPATH_LOCAL=""
7839 LDDLLFLAGS=""
7841 LDEXECFLAGS=""
7843 TOP_INSTALL_LIB=""
7845 TOP_INSTALL_DEV=""
7847 WINELOADER_LDFLAGS=""
7849 WINEPRELOADER_LDFLAGS=""
7851 LIBEXT="so"
7852 DLLEXT=".so"
7853 # Extract the first word of "ldd", so it can be a program name with args.
7854 set dummy ldd; ac_word=$2
7855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7856 $as_echo_n "checking for $ac_word... " >&6; }
7857 if ${ac_cv_path_LDD+:} false; then :
7858 $as_echo_n "(cached) " >&6
7859 else
7860 case $LDD in
7861 [\\/]* | ?:[\\/]*)
7862 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7865 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7866 as_dummy="/sbin:/usr/sbin:$PATH"
7867 for as_dir in $as_dummy
7869 IFS=$as_save_IFS
7870 test -z "$as_dir" && as_dir=.
7871 for ac_exec_ext in '' $ac_executable_extensions; do
7872 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7873 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7874 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7875 break 2
7877 done
7878 done
7879 IFS=$as_save_IFS
7881 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7883 esac
7885 LDD=$ac_cv_path_LDD
7886 if test -n "$LDD"; then
7887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7888 $as_echo "$LDD" >&6; }
7889 else
7890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7891 $as_echo "no" >&6; }
7895 if test -n "$ac_tool_prefix"; then
7896 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7897 set dummy ${ac_tool_prefix}otool; ac_word=$2
7898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7899 $as_echo_n "checking for $ac_word... " >&6; }
7900 if ${ac_cv_prog_OTOOL+:} false; then :
7901 $as_echo_n "(cached) " >&6
7902 else
7903 if test -n "$OTOOL"; then
7904 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7905 else
7906 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7907 for as_dir in $PATH
7909 IFS=$as_save_IFS
7910 test -z "$as_dir" && as_dir=.
7911 for ac_exec_ext in '' $ac_executable_extensions; do
7912 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7913 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7914 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7915 break 2
7917 done
7918 done
7919 IFS=$as_save_IFS
7923 OTOOL=$ac_cv_prog_OTOOL
7924 if test -n "$OTOOL"; then
7925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7926 $as_echo "$OTOOL" >&6; }
7927 else
7928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7929 $as_echo "no" >&6; }
7934 if test -z "$ac_cv_prog_OTOOL"; then
7935 ac_ct_OTOOL=$OTOOL
7936 # Extract the first word of "otool", so it can be a program name with args.
7937 set dummy otool; ac_word=$2
7938 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7939 $as_echo_n "checking for $ac_word... " >&6; }
7940 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7941 $as_echo_n "(cached) " >&6
7942 else
7943 if test -n "$ac_ct_OTOOL"; then
7944 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7945 else
7946 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7947 for as_dir in $PATH
7949 IFS=$as_save_IFS
7950 test -z "$as_dir" && as_dir=.
7951 for ac_exec_ext in '' $ac_executable_extensions; do
7952 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7953 ac_cv_prog_ac_ct_OTOOL="otool"
7954 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7955 break 2
7957 done
7958 done
7959 IFS=$as_save_IFS
7963 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7964 if test -n "$ac_ct_OTOOL"; then
7965 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7966 $as_echo "$ac_ct_OTOOL" >&6; }
7967 else
7968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7969 $as_echo "no" >&6; }
7972 if test "x$ac_ct_OTOOL" = x; then
7973 OTOOL="otool"
7974 else
7975 case $cross_compiling:$ac_tool_warned in
7976 yes:)
7977 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7978 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7979 ac_tool_warned=yes ;;
7980 esac
7981 OTOOL=$ac_ct_OTOOL
7983 else
7984 OTOOL="$ac_cv_prog_OTOOL"
7987 if test -n "$ac_tool_prefix"; then
7988 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7989 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7990 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7991 $as_echo_n "checking for $ac_word... " >&6; }
7992 if ${ac_cv_prog_READELF+:} false; then :
7993 $as_echo_n "(cached) " >&6
7994 else
7995 if test -n "$READELF"; then
7996 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7997 else
7998 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7999 for as_dir in $PATH
8001 IFS=$as_save_IFS
8002 test -z "$as_dir" && as_dir=.
8003 for ac_exec_ext in '' $ac_executable_extensions; do
8004 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8005 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
8006 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8007 break 2
8009 done
8010 done
8011 IFS=$as_save_IFS
8015 READELF=$ac_cv_prog_READELF
8016 if test -n "$READELF"; then
8017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
8018 $as_echo "$READELF" >&6; }
8019 else
8020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8021 $as_echo "no" >&6; }
8026 if test -z "$ac_cv_prog_READELF"; then
8027 ac_ct_READELF=$READELF
8028 # Extract the first word of "readelf", so it can be a program name with args.
8029 set dummy readelf; ac_word=$2
8030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8031 $as_echo_n "checking for $ac_word... " >&6; }
8032 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
8033 $as_echo_n "(cached) " >&6
8034 else
8035 if test -n "$ac_ct_READELF"; then
8036 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
8037 else
8038 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8039 for as_dir in $PATH
8041 IFS=$as_save_IFS
8042 test -z "$as_dir" && as_dir=.
8043 for ac_exec_ext in '' $ac_executable_extensions; do
8044 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8045 ac_cv_prog_ac_ct_READELF="readelf"
8046 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8047 break 2
8049 done
8050 done
8051 IFS=$as_save_IFS
8055 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
8056 if test -n "$ac_ct_READELF"; then
8057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
8058 $as_echo "$ac_ct_READELF" >&6; }
8059 else
8060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8061 $as_echo "no" >&6; }
8064 if test "x$ac_ct_READELF" = x; then
8065 READELF="true"
8066 else
8067 case $cross_compiling:$ac_tool_warned in
8068 yes:)
8069 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8070 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8071 ac_tool_warned=yes ;;
8072 esac
8073 READELF=$ac_ct_READELF
8075 else
8076 READELF="$ac_cv_prog_READELF"
8079 wine_rules_file=conf$$rules.make
8080 rm -f $wine_rules_file
8081 SUBDIRS=""
8083 DISABLED_SUBDIRS=""
8085 CONFIGURE_TARGETS=""
8088 wine_fn_append_file ()
8090 as_fn_append $1 " \\$as_nl $2"
8093 wine_fn_append_rule ()
8095 $as_echo "$1" >>$wine_rules_file
8098 wine_fn_config_makefile ()
8100 wine_fn_append_file SUBDIRS $1
8101 if eval test \"x\$"$2"\" = x"no"; then :
8102 wine_fn_append_file DISABLED_SUBDIRS $1
8106 wine_fn_config_symlink ()
8108 ac_links=$@
8109 wine_fn_append_rule \
8110 "$ac_links:
8111 @./config.status \$@"
8112 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
8115 wine_binary="wine"
8116 test "x$enable_win64" != "xyes" || wine_binary="wine64"
8117 WINELOADER_PROGRAMS="$wine_binary"
8119 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
8121 case $host_os in
8122 cygwin*|mingw32*)
8123 if test -n "$ac_tool_prefix"; then
8124 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8125 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8126 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8127 $as_echo_n "checking for $ac_word... " >&6; }
8128 if ${ac_cv_prog_DLLTOOL+:} false; then :
8129 $as_echo_n "(cached) " >&6
8130 else
8131 if test -n "$DLLTOOL"; then
8132 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8133 else
8134 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8135 for as_dir in $PATH
8137 IFS=$as_save_IFS
8138 test -z "$as_dir" && as_dir=.
8139 for ac_exec_ext in '' $ac_executable_extensions; do
8140 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8141 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8142 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8143 break 2
8145 done
8146 done
8147 IFS=$as_save_IFS
8151 DLLTOOL=$ac_cv_prog_DLLTOOL
8152 if test -n "$DLLTOOL"; then
8153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8154 $as_echo "$DLLTOOL" >&6; }
8155 else
8156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8157 $as_echo "no" >&6; }
8162 if test -z "$ac_cv_prog_DLLTOOL"; then
8163 ac_ct_DLLTOOL=$DLLTOOL
8164 # Extract the first word of "dlltool", so it can be a program name with args.
8165 set dummy dlltool; ac_word=$2
8166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8167 $as_echo_n "checking for $ac_word... " >&6; }
8168 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8169 $as_echo_n "(cached) " >&6
8170 else
8171 if test -n "$ac_ct_DLLTOOL"; then
8172 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8173 else
8174 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8175 for as_dir in $PATH
8177 IFS=$as_save_IFS
8178 test -z "$as_dir" && as_dir=.
8179 for ac_exec_ext in '' $ac_executable_extensions; do
8180 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8181 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8182 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8183 break 2
8185 done
8186 done
8187 IFS=$as_save_IFS
8191 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8192 if test -n "$ac_ct_DLLTOOL"; then
8193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8194 $as_echo "$ac_ct_DLLTOOL" >&6; }
8195 else
8196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8197 $as_echo "no" >&6; }
8200 if test "x$ac_ct_DLLTOOL" = x; then
8201 DLLTOOL="false"
8202 else
8203 case $cross_compiling:$ac_tool_warned in
8204 yes:)
8205 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8206 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8207 ac_tool_warned=yes ;;
8208 esac
8209 DLLTOOL=$ac_ct_DLLTOOL
8211 else
8212 DLLTOOL="$ac_cv_prog_DLLTOOL"
8215 LIBEXT="dll"
8216 DLLEXT=""
8217 case $host_cpu in
8218 *i[3456]86*) LDDLLFLAGS="-Wl,--disable-stdcall-fixup" ;;
8219 esac
8220 enable_iphlpapi=${enable_iphlpapi:-no}
8221 enable_kernel32=${enable_kernel32:-no}
8222 enable_ntdll=${enable_ntdll:-no}
8223 enable_ws2_32=${enable_ws2_32:-no}
8224 enable_loader=${enable_loader:-no}
8225 enable_server=${enable_server:-no}
8226 with_x=${with_x:-no}
8227 with_pthread=${with_pthread:-no}
8230 darwin*|macosx*)
8231 ac_ext=m
8232 ac_cpp='$OBJCPP $CPPFLAGS'
8233 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8234 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8235 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8237 ac_ext=m
8238 ac_cpp='$OBJCPP $CPPFLAGS'
8239 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8240 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8241 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8242 if test -n "$ac_tool_prefix"; then
8243 for ac_prog in gcc objcc objc cc CC
8245 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8246 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8248 $as_echo_n "checking for $ac_word... " >&6; }
8249 if ${ac_cv_prog_OBJC+:} false; then :
8250 $as_echo_n "(cached) " >&6
8251 else
8252 if test -n "$OBJC"; then
8253 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
8254 else
8255 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8256 for as_dir in $PATH
8258 IFS=$as_save_IFS
8259 test -z "$as_dir" && as_dir=.
8260 for ac_exec_ext in '' $ac_executable_extensions; do
8261 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8262 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
8263 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8264 break 2
8266 done
8267 done
8268 IFS=$as_save_IFS
8272 OBJC=$ac_cv_prog_OBJC
8273 if test -n "$OBJC"; then
8274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
8275 $as_echo "$OBJC" >&6; }
8276 else
8277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8278 $as_echo "no" >&6; }
8282 test -n "$OBJC" && break
8283 done
8285 if test -z "$OBJC"; then
8286 ac_ct_OBJC=$OBJC
8287 for ac_prog in gcc objcc objc cc CC
8289 # Extract the first word of "$ac_prog", so it can be a program name with args.
8290 set dummy $ac_prog; ac_word=$2
8291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8292 $as_echo_n "checking for $ac_word... " >&6; }
8293 if ${ac_cv_prog_ac_ct_OBJC+:} false; then :
8294 $as_echo_n "(cached) " >&6
8295 else
8296 if test -n "$ac_ct_OBJC"; then
8297 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
8298 else
8299 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8300 for as_dir in $PATH
8302 IFS=$as_save_IFS
8303 test -z "$as_dir" && as_dir=.
8304 for ac_exec_ext in '' $ac_executable_extensions; do
8305 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8306 ac_cv_prog_ac_ct_OBJC="$ac_prog"
8307 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8308 break 2
8310 done
8311 done
8312 IFS=$as_save_IFS
8316 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
8317 if test -n "$ac_ct_OBJC"; then
8318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
8319 $as_echo "$ac_ct_OBJC" >&6; }
8320 else
8321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8322 $as_echo "no" >&6; }
8326 test -n "$ac_ct_OBJC" && break
8327 done
8329 if test "x$ac_ct_OBJC" = x; then
8330 OBJC="gcc"
8331 else
8332 case $cross_compiling:$ac_tool_warned in
8333 yes:)
8334 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8335 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8336 ac_tool_warned=yes ;;
8337 esac
8338 OBJC=$ac_ct_OBJC
8342 # Provide some information about the compiler.
8343 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
8344 set X $ac_compile
8345 ac_compiler=$2
8346 for ac_option in --version -v -V -qversion; do
8347 { { ac_try="$ac_compiler $ac_option >&5"
8348 case "(($ac_try" in
8349 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8350 *) ac_try_echo=$ac_try;;
8351 esac
8352 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
8353 $as_echo "$ac_try_echo"; } >&5
8354 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
8355 ac_status=$?
8356 if test -s conftest.err; then
8357 sed '10a\
8358 ... rest of stderr output deleted ...
8359 10q' conftest.err >conftest.er1
8360 cat conftest.er1 >&5
8362 rm -f conftest.er1 conftest.err
8363 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8364 test $ac_status = 0; }
8365 done
8367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C compiler" >&5
8368 $as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; }
8369 if ${ac_cv_objc_compiler_gnu+:} false; then :
8370 $as_echo_n "(cached) " >&6
8371 else
8372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8373 /* end confdefs.h. */
8376 main ()
8378 #ifndef __GNUC__
8379 choke me
8380 #endif
8383 return 0;
8385 _ACEOF
8386 if ac_fn_objc_try_compile "$LINENO"; then :
8387 ac_compiler_gnu=yes
8388 else
8389 ac_compiler_gnu=no
8391 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8392 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
8395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
8396 $as_echo "$ac_cv_objc_compiler_gnu" >&6; }
8397 if test $ac_compiler_gnu = yes; then
8398 GOBJC=yes
8399 else
8400 GOBJC=
8402 ac_test_OBJCFLAGS=${OBJCFLAGS+set}
8403 ac_save_OBJCFLAGS=$OBJCFLAGS
8404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
8405 $as_echo_n "checking whether $OBJC accepts -g... " >&6; }
8406 if ${ac_cv_prog_objc_g+:} false; then :
8407 $as_echo_n "(cached) " >&6
8408 else
8409 ac_save_objc_werror_flag=$ac_objc_werror_flag
8410 ac_objc_werror_flag=yes
8411 ac_cv_prog_objc_g=no
8412 OBJCFLAGS="-g"
8413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8414 /* end confdefs.h. */
8417 main ()
8421 return 0;
8423 _ACEOF
8424 if ac_fn_objc_try_compile "$LINENO"; then :
8425 ac_cv_prog_objc_g=yes
8426 else
8427 OBJCFLAGS=""
8428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8429 /* end confdefs.h. */
8432 main ()
8436 return 0;
8438 _ACEOF
8439 if ac_fn_objc_try_compile "$LINENO"; then :
8441 else
8442 ac_objc_werror_flag=$ac_save_objc_werror_flag
8443 OBJCFLAGS="-g"
8444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8445 /* end confdefs.h. */
8448 main ()
8452 return 0;
8454 _ACEOF
8455 if ac_fn_objc_try_compile "$LINENO"; then :
8456 ac_cv_prog_objc_g=yes
8458 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8460 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8462 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8463 ac_objc_werror_flag=$ac_save_objc_werror_flag
8465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
8466 $as_echo "$ac_cv_prog_objc_g" >&6; }
8467 if test "$ac_test_OBJCFLAGS" = set; then
8468 OBJCFLAGS=$ac_save_OBJCFLAGS
8469 elif test $ac_cv_prog_objc_g = yes; then
8470 if test "$GOBJC" = yes; then
8471 OBJCFLAGS="-g -O2"
8472 else
8473 OBJCFLAGS="-g"
8475 else
8476 if test "$GOBJC" = yes; then
8477 OBJCFLAGS="-O2"
8478 else
8479 OBJCFLAGS=
8482 ac_ext=m
8483 ac_cpp='$OBJCPP $CPPFLAGS'
8484 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8485 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8486 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8489 ac_ext=m
8490 ac_cpp='$OBJCPP $CPPFLAGS'
8491 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8492 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8493 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the Objective C preprocessor" >&5
8495 $as_echo_n "checking how to run the Objective C preprocessor... " >&6; }
8496 if test -z "$OBJCPP"; then
8497 if ${ac_cv_prog_OBJCPP+:} false; then :
8498 $as_echo_n "(cached) " >&6
8499 else
8500 # Double quotes because OBJCPP needs to be expanded
8501 for OBJCPP in "$OBJC -E" "/lib/cpp"
8503 ac_preproc_ok=false
8504 for ac_objc_preproc_warn_flag in '' yes
8506 # Use a header file that comes with gcc, so configuring glibc
8507 # with a fresh cross-compiler works.
8508 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8509 # <limits.h> exists even on freestanding compilers.
8510 # On the NeXT, cc -E runs the code through the compiler's parser,
8511 # not just through cpp. "Syntax error" is here to catch this case.
8512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8513 /* end confdefs.h. */
8514 #ifdef __STDC__
8515 # include <limits.h>
8516 #else
8517 # include <assert.h>
8518 #endif
8519 Syntax error
8520 _ACEOF
8521 if ac_fn_objc_try_cpp "$LINENO"; then :
8523 else
8524 # Broken: fails on valid input.
8525 continue
8527 rm -f conftest.err conftest.i conftest.$ac_ext
8529 # OK, works on sane cases. Now check whether nonexistent headers
8530 # can be detected and how.
8531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8532 /* end confdefs.h. */
8533 #include <ac_nonexistent.h>
8534 _ACEOF
8535 if ac_fn_objc_try_cpp "$LINENO"; then :
8536 # Broken: success on invalid input.
8537 continue
8538 else
8539 # Passes both tests.
8540 ac_preproc_ok=:
8541 break
8543 rm -f conftest.err conftest.i conftest.$ac_ext
8545 done
8546 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8547 rm -f conftest.i conftest.err conftest.$ac_ext
8548 if $ac_preproc_ok; then :
8549 break
8552 done
8553 ac_cv_prog_OBJCPP=$OBJCPP
8556 OBJCPP=$ac_cv_prog_OBJCPP
8557 else
8558 ac_cv_prog_OBJCPP=$OBJCPP
8560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCPP" >&5
8561 $as_echo "$OBJCPP" >&6; }
8562 ac_preproc_ok=false
8563 for ac_objc_preproc_warn_flag in '' yes
8565 # Use a header file that comes with gcc, so configuring glibc
8566 # with a fresh cross-compiler works.
8567 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8568 # <limits.h> exists even on freestanding compilers.
8569 # On the NeXT, cc -E runs the code through the compiler's parser,
8570 # not just through cpp. "Syntax error" is here to catch this case.
8571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8572 /* end confdefs.h. */
8573 #ifdef __STDC__
8574 # include <limits.h>
8575 #else
8576 # include <assert.h>
8577 #endif
8578 Syntax error
8579 _ACEOF
8580 if ac_fn_objc_try_cpp "$LINENO"; then :
8582 else
8583 # Broken: fails on valid input.
8584 continue
8586 rm -f conftest.err conftest.i conftest.$ac_ext
8588 # OK, works on sane cases. Now check whether nonexistent headers
8589 # can be detected and how.
8590 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8591 /* end confdefs.h. */
8592 #include <ac_nonexistent.h>
8593 _ACEOF
8594 if ac_fn_objc_try_cpp "$LINENO"; then :
8595 # Broken: success on invalid input.
8596 continue
8597 else
8598 # Passes both tests.
8599 ac_preproc_ok=:
8600 break
8602 rm -f conftest.err conftest.i conftest.$ac_ext
8604 done
8605 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8606 rm -f conftest.i conftest.err conftest.$ac_ext
8607 if $ac_preproc_ok; then :
8609 else
8610 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8611 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8612 as_fn_error $? "Objective C preprocessor \"$OBJCPP\" fails sanity check
8613 See \`config.log' for more details" "$LINENO" 5; }
8616 ac_ext=m
8617 ac_cpp='$OBJCPP $CPPFLAGS'
8618 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8619 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8620 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8623 for ac_header in Metal/Metal.h
8624 do :
8625 ac_fn_objc_check_header_mongrel "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
8626 if test "x$ac_cv_header_Metal_Metal_h" = xyes; then :
8627 cat >>confdefs.h <<_ACEOF
8628 #define HAVE_METAL_METAL_H 1
8629 _ACEOF
8633 done
8635 ac_ext=c
8636 ac_cpp='$CPP $CPPFLAGS'
8637 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8638 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8639 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8641 LIBEXT="dylib"
8642 DLLFLAGS="$DLLFLAGS -fPIC"
8643 LDDLLFLAGS="-fPIC"
8644 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8645 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8646 COREFOUNDATION_LIBS="-framework CoreFoundation"
8648 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8650 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8652 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8654 CORESERVICES_LIBS="-framework CoreServices"
8656 APPKIT_LIBS="-framework AppKit"
8659 WINELOADER_LDFLAGS="-Wl,-pie,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8661 wine_can_build_preloader=yes
8662 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs -e _start -ldylib1.o -Wl,-image_base,0x7c400000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8663 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
8664 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
8665 if ${ac_cv_cflags__Wl__no_new_main__e__main+:} false; then :
8666 $as_echo_n "(cached) " >&6
8667 else
8668 ac_wine_try_cflags_saved=$CFLAGS
8669 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
8670 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8671 /* end confdefs.h. */
8672 int main(int argc, char **argv) { return 0; }
8673 _ACEOF
8674 if ac_fn_c_try_link "$LINENO"; then :
8675 ac_cv_cflags__Wl__no_new_main__e__main=yes
8676 else
8677 ac_cv_cflags__Wl__no_new_main__e__main=no
8679 rm -f core conftest.err conftest.$ac_objext \
8680 conftest$ac_exeext conftest.$ac_ext
8681 CFLAGS=$ac_wine_try_cflags_saved
8683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
8684 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
8685 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes; then :
8686 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
8687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs" >&5
8688 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs... " >&6; }
8689 if ${ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs+:} false; then :
8690 $as_echo_n "(cached) " >&6
8691 else
8692 ac_wine_try_cflags_saved=$CFLAGS
8693 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8694 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8695 /* end confdefs.h. */
8696 int main(int argc, char **argv) { return 0; }
8697 _ACEOF
8698 if ac_fn_c_try_link "$LINENO"; then :
8699 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=yes
8700 else
8701 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=no
8703 rm -f core conftest.err conftest.$ac_objext \
8704 conftest$ac_exeext conftest.$ac_ext
8705 CFLAGS=$ac_wine_try_cflags_saved
8707 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&5
8708 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&6; }
8709 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" = xyes; then :
8710 EXTRACFLAGS="$EXTRACFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8711 else
8712 { $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
8713 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8714 if ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8715 $as_echo_n "(cached) " >&6
8716 else
8717 ac_wine_try_cflags_saved=$CFLAGS
8718 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8719 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8720 /* end confdefs.h. */
8721 int main(int argc, char **argv) { return 0; }
8722 _ACEOF
8723 if ac_fn_c_try_link "$LINENO"; then :
8724 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8725 else
8726 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8728 rm -f core conftest.err conftest.$ac_objext \
8729 conftest$ac_exeext conftest.$ac_ext
8730 CFLAGS=$ac_wine_try_cflags_saved
8732 { $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
8733 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8734 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8735 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8736 else
8737 wine_can_build_preloader=no
8740 else
8741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -nostartfiles -nodefaultlibs" >&5
8742 $as_echo_n "checking whether the compiler supports -nostartfiles -nodefaultlibs... " >&6; }
8743 if ${ac_cv_cflags__nostartfiles__nodefaultlibs+:} false; then :
8744 $as_echo_n "(cached) " >&6
8745 else
8746 ac_wine_try_cflags_saved=$CFLAGS
8747 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs"
8748 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8749 /* end confdefs.h. */
8750 int main(int argc, char **argv) { return 0; }
8751 _ACEOF
8752 if ac_fn_c_try_link "$LINENO"; then :
8753 ac_cv_cflags__nostartfiles__nodefaultlibs=yes
8754 else
8755 ac_cv_cflags__nostartfiles__nodefaultlibs=no
8757 rm -f core conftest.err conftest.$ac_objext \
8758 conftest$ac_exeext conftest.$ac_ext
8759 CFLAGS=$ac_wine_try_cflags_saved
8761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__nostartfiles__nodefaultlibs" >&5
8762 $as_echo "$ac_cv_cflags__nostartfiles__nodefaultlibs" >&6; }
8763 if test "x$ac_cv_cflags__nostartfiles__nodefaultlibs" = xyes; then :
8764 EXTRACFLAGS="$EXTRACFLAGS -nostartfiles -nodefaultlibs"
8765 else
8766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
8767 $as_echo_n "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8768 if ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8769 $as_echo_n "(cached) " >&6
8770 else
8771 ac_wine_try_cflags_saved=$CFLAGS
8772 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8774 /* end confdefs.h. */
8775 int main(int argc, char **argv) { return 0; }
8776 _ACEOF
8777 if ac_fn_c_try_link "$LINENO"; then :
8778 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8779 else
8780 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8782 rm -f core conftest.err conftest.$ac_objext \
8783 conftest$ac_exeext conftest.$ac_ext
8784 CFLAGS=$ac_wine_try_cflags_saved
8786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
8787 $as_echo "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8788 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8789 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8790 else
8791 wine_can_build_preloader=no
8795 if test "$wine_can_build_preloader" = "yes"
8796 then
8797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8798 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8799 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8800 $as_echo_n "(cached) " >&6
8801 else
8802 ac_wine_try_cflags_saved=$CFLAGS
8803 CFLAGS="$CFLAGS -Wl,-no_pie"
8804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8805 /* end confdefs.h. */
8806 int main(int argc, char **argv) { return 0; }
8807 _ACEOF
8808 if ac_fn_c_try_link "$LINENO"; then :
8809 ac_cv_cflags__Wl__no_pie=yes
8810 else
8811 ac_cv_cflags__Wl__no_pie=no
8813 rm -f core conftest.err conftest.$ac_objext \
8814 conftest$ac_exeext conftest.$ac_ext
8815 CFLAGS=$ac_wine_try_cflags_saved
8817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8818 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8819 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8820 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
8822 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
8823 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
8824 else
8825 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
8828 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8829 then
8830 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8833 if test "$ac_cv_header_Security_Security_h" = "yes"
8834 then
8835 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8837 ac_save_LIBS="$LIBS"
8838 LIBS="$LIBS $SECURITY_LIBS"
8839 for ac_func in SSLCopyPeerCertificates
8840 do :
8841 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8842 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8843 cat >>confdefs.h <<_ACEOF
8844 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8845 _ACEOF
8848 done
8850 LIBS="$ac_save_LIBS"
8852 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8853 then
8854 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8855 then
8856 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8858 else
8859 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8862 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8863 ac_save_LIBS="$LIBS"
8864 LIBS="$LIBS $COREAUDIO_LIBS"
8865 for ac_func in AUGraphAddNode
8866 do :
8867 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8868 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8869 cat >>confdefs.h <<_ACEOF
8870 #define HAVE_AUGRAPHADDNODE 1
8871 _ACEOF
8874 done
8876 LIBS="$ac_save_LIBS"
8878 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8879 then
8880 OPENAL_LIBS="-framework OpenAL"
8883 cat >>confdefs.h <<_ACEOF
8884 #define HAVE_OPENAL 1
8885 _ACEOF
8887 ac_cv_lib_openal=yes
8889 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8890 then
8891 OPENCL_LIBS="-framework OpenCL"
8893 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8895 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8896 then
8897 ac_save_LIBS="$LIBS"
8898 LIBS="$LIBS $IOKIT_LIBS"
8899 for ac_func in IOHIDManagerCreate
8900 do :
8901 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8902 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8903 cat >>confdefs.h <<_ACEOF
8904 #define HAVE_IOHIDMANAGERCREATE 1
8905 _ACEOF
8908 done
8910 LIBS="$ac_save_LIBS"
8912 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8913 then
8914 ac_save_LIBS="$LIBS"
8915 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8917 $as_echo_n "checking for the QuickTime framework... " >&6; }
8918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8919 /* end confdefs.h. */
8920 #include <QuickTime/ImageCompression.h>
8922 main ()
8924 CodecManagerVersion(NULL);
8926 return 0;
8928 _ACEOF
8929 if ac_fn_c_try_link "$LINENO"; then :
8930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8931 $as_echo "yes" >&6; }
8932 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8934 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8935 else
8936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8937 $as_echo "no" >&6; }
8938 ac_cv_header_QuickTime_ImageCompression_h=no
8940 rm -f core conftest.err conftest.$ac_objext \
8941 conftest$ac_exeext conftest.$ac_ext
8942 LIBS="$ac_save_LIBS"
8944 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8945 then
8946 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8948 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8949 then
8950 CARBON_LIBS="-framework Carbon"
8953 if test "$ac_cv_header_Metal_Metal_h" = "yes"
8954 then
8955 METAL_LIBS="-framework Metal -framework QuartzCore"
8959 if test "$ac_cv_header_Metal_Metal_h" = "yes"
8960 then
8961 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
8962 $as_echo_n "checking whether MTLDevice protocol supports registryID property... " >&6; }
8963 ac_ext=m
8964 ac_cpp='$OBJCPP $CPPFLAGS'
8965 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8966 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8967 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8970 /* end confdefs.h. */
8971 #include <Metal/Metal.h>
8973 main ()
8975 id<MTLDevice> device; device.registryID;
8977 return 0;
8979 _ACEOF
8980 if ac_fn_objc_try_compile "$LINENO"; then :
8981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8982 $as_echo "yes" >&6; }
8984 $as_echo "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
8986 else
8987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8988 $as_echo "no" >&6; }
8990 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8991 ac_ext=c
8992 ac_cpp='$CPP $CPPFLAGS'
8993 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8994 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8995 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8999 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
9000 then
9001 ac_save_LIBS="$LIBS"
9002 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
9003 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
9004 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
9005 enable_winemac_drv=${enable_winemac_drv:-yes}
9008 LIBS="$ac_save_LIBS"
9011 if test "x$enable_win16" = "xyes"
9012 then
9013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
9014 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
9015 if test "$cross_compiling" = yes; then :
9016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
9017 $as_echo "cross-compiling, assuming yes" >&6; }
9018 else
9019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9020 /* end confdefs.h. */
9021 asm(".text\n"
9022 "bad:\tnop;nop\n"
9023 "good:\tnop;nop\n\t"
9024 ".globl _testfunc\n"
9025 "_testfunc:\tcallw good");
9026 extern void testfunc();
9028 main ()
9030 unsigned short *p = (unsigned short *)testfunc;
9031 return p[0] != 0xe866 || p[1] != 0xfffa
9033 return 0;
9035 _ACEOF
9036 if ac_fn_c_try_run "$LINENO"; then :
9037 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9038 $as_echo "yes" >&6; }
9039 else
9040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9041 $as_echo "no" >&6; }
9042 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
9044 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
9045 conftest.$ac_objext conftest.beam conftest.$ac_ext
9050 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
9052 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
9054 WINELOADER_DEPENDS="wine_info.plist"
9056 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
9057 TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.dylib"
9060 linux-android*)
9061 DLLFLAGS="$DLLFLAGS -fPIC"
9062 LDDLLFLAGS="-fPIC"
9063 LDEXECFLAGS="-Wl,-pie"
9064 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9066 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9067 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
9068 $as_echo_n "(cached) " >&6
9069 else
9070 ac_wine_try_cflags_saved=$CFLAGS
9071 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9073 /* end confdefs.h. */
9074 int main(int argc, char **argv) { return 0; }
9075 _ACEOF
9076 if ac_fn_c_try_link "$LINENO"; then :
9077 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9078 else
9079 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9081 rm -f core conftest.err conftest.$ac_objext \
9082 conftest$ac_exeext conftest.$ac_ext
9083 CFLAGS=$ac_wine_try_cflags_saved
9085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9086 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9087 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
9088 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9090 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000"
9091 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
9092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
9093 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
9094 if eval \${$as_ac_var+:} false; then :
9095 $as_echo_n "(cached) " >&6
9096 else
9097 ac_wine_try_cflags_saved=$CFLAGS
9098 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
9099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9100 /* end confdefs.h. */
9101 int main(int argc, char **argv) { return 0; }
9102 _ACEOF
9103 if ac_fn_c_try_link "$LINENO"; then :
9104 eval "$as_ac_var=yes"
9105 else
9106 eval "$as_ac_var=no"
9108 rm -f core conftest.err conftest.$ac_objext \
9109 conftest$ac_exeext conftest.$ac_ext
9110 CFLAGS=$ac_wine_try_cflags_saved
9112 eval ac_res=\$$as_ac_var
9113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9114 $as_echo "$ac_res" >&6; }
9115 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9116 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9117 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9118 else
9119 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
9120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
9121 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
9122 if eval \${$as_ac_var+:} false; then :
9123 $as_echo_n "(cached) " >&6
9124 else
9125 ac_wine_try_cflags_saved=$CFLAGS
9126 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
9127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9128 /* end confdefs.h. */
9129 int main(int argc, char **argv) { return 0; }
9130 _ACEOF
9131 if ac_fn_c_try_link "$LINENO"; then :
9132 eval "$as_ac_var=yes"
9133 else
9134 eval "$as_ac_var=no"
9136 rm -f core conftest.err conftest.$ac_objext \
9137 conftest$ac_exeext conftest.$ac_ext
9138 CFLAGS=$ac_wine_try_cflags_saved
9140 eval ac_res=\$$as_ac_var
9141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9142 $as_echo "$ac_res" >&6; }
9143 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9144 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9145 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
9149 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
9150 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
9151 $as_echo_n "(cached) " >&6
9152 else
9153 ac_wine_try_cflags_saved=$CFLAGS
9154 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
9155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9156 /* end confdefs.h. */
9157 int main(int argc, char **argv) { return 0; }
9158 _ACEOF
9159 if ac_fn_c_try_link "$LINENO"; then :
9160 ac_cv_cflags__Wl___enable_new_dtags=yes
9161 else
9162 ac_cv_cflags__Wl___enable_new_dtags=no
9164 rm -f core conftest.err conftest.$ac_objext \
9165 conftest$ac_exeext conftest.$ac_ext
9166 CFLAGS=$ac_wine_try_cflags_saved
9168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9169 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9170 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
9171 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9174 LIBWINE_SHAREDLIB="libwine.so"
9176 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
9178 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so"
9180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9181 $as_echo_n "checking for -lEGL... " >&6; }
9182 if ${ac_cv_lib_soname_EGL+:} false; then :
9183 $as_echo_n "(cached) " >&6
9184 else
9185 ac_check_soname_save_LIBS=$LIBS
9186 LIBS="-lEGL $LIBS"
9187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9188 /* end confdefs.h. */
9190 /* Override any GCC internal prototype to avoid an error.
9191 Use char because int might match the return type of a GCC
9192 builtin and then its argument prototype would still apply. */
9193 #ifdef __cplusplus
9194 extern "C"
9195 #endif
9196 char eglGetProcAddress ();
9198 main ()
9200 return eglGetProcAddress ();
9202 return 0;
9204 _ACEOF
9205 if ac_fn_c_try_link "$LINENO"; then :
9206 case "$LIBEXT" in
9207 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9208 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'` ;;
9209 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9210 if ${ac_cv_lib_soname_EGL:+false} :; then :
9211 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9212 fi ;;
9213 esac
9214 else
9215 ac_cv_lib_soname_EGL=
9217 rm -f core conftest.err conftest.$ac_objext \
9218 conftest$ac_exeext conftest.$ac_ext
9219 LIBS=$ac_check_soname_save_LIBS
9221 if ${ac_cv_lib_soname_EGL:+false} :; then :
9222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9223 $as_echo "not found" >&6; }
9225 else
9226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
9227 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
9229 cat >>confdefs.h <<_ACEOF
9230 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
9231 _ACEOF
9235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
9236 $as_echo_n "checking for -lGLESv2... " >&6; }
9237 if ${ac_cv_lib_soname_GLESv2+:} false; then :
9238 $as_echo_n "(cached) " >&6
9239 else
9240 ac_check_soname_save_LIBS=$LIBS
9241 LIBS="-lGLESv2 $LIBS"
9242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9243 /* end confdefs.h. */
9245 /* Override any GCC internal prototype to avoid an error.
9246 Use char because int might match the return type of a GCC
9247 builtin and then its argument prototype would still apply. */
9248 #ifdef __cplusplus
9249 extern "C"
9250 #endif
9251 char glFlush ();
9253 main ()
9255 return glFlush ();
9257 return 0;
9259 _ACEOF
9260 if ac_fn_c_try_link "$LINENO"; then :
9261 case "$LIBEXT" in
9262 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9263 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'` ;;
9264 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9265 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9266 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9267 fi ;;
9268 esac
9269 else
9270 ac_cv_lib_soname_GLESv2=
9272 rm -f core conftest.err conftest.$ac_objext \
9273 conftest$ac_exeext conftest.$ac_ext
9274 LIBS=$ac_check_soname_save_LIBS
9276 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9278 $as_echo "not found" >&6; }
9280 else
9281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
9282 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
9284 cat >>confdefs.h <<_ACEOF
9285 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
9286 _ACEOF
9291 if test "x$exec_prefix" = xNONE
9292 then
9293 case $host_cpu in
9294 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
9295 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
9296 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
9297 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
9298 esac
9303 case $host_cpu in
9304 *i[3456789]86*)
9305 DLLFLAGS="$DLLFLAGS -fno-PIC"
9306 LDDLLFLAGS="-fno-PIC" ;;
9308 DLLFLAGS="$DLLFLAGS -fPIC"
9309 LDDLLFLAGS="-fPIC" ;;
9310 esac
9311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
9312 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
9313 if ${ac_cv_c_dll_gnuelf+:} false; then :
9314 $as_echo_n "(cached) " >&6
9315 else
9316 ac_wine_try_cflags_saved=$CFLAGS
9317 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
9318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9319 /* end confdefs.h. */
9320 void myfunc() {}
9321 _ACEOF
9322 if ac_fn_c_try_link "$LINENO"; then :
9323 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=yes
9324 else
9325 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=no
9327 rm -f core conftest.err conftest.$ac_objext \
9328 conftest$ac_exeext conftest.$ac_ext
9329 CFLAGS=$ac_wine_try_cflags_saved
9330 if test "x$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic" = xyes; then :
9331 ac_cv_c_dll_gnuelf="yes"
9332 else
9333 ac_cv_c_dll_gnuelf="no"
9336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
9337 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
9338 if test "$ac_cv_c_dll_gnuelf" = "yes"
9339 then
9340 LIBWINE_LDFLAGS="-shared"
9341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-soname,confest.so.1" >&5
9342 $as_echo_n "checking whether the compiler supports -shared -Wl,-soname,confest.so.1... " >&6; }
9343 if ${ac_cv_cflags__shared__Wl__soname_confest_so_1+:} false; then :
9344 $as_echo_n "(cached) " >&6
9345 else
9346 ac_wine_try_cflags_saved=$CFLAGS
9347 CFLAGS="$CFLAGS -shared -Wl,-soname,confest.so.1"
9348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9349 /* end confdefs.h. */
9350 int main(int argc, char **argv) { return 0; }
9351 _ACEOF
9352 if ac_fn_c_try_link "$LINENO"; then :
9353 ac_cv_cflags__shared__Wl__soname_confest_so_1=yes
9354 else
9355 ac_cv_cflags__shared__Wl__soname_confest_so_1=no
9357 rm -f core conftest.err conftest.$ac_objext \
9358 conftest$ac_exeext conftest.$ac_ext
9359 CFLAGS=$ac_wine_try_cflags_saved
9361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__soname_confest_so_1" >&5
9362 $as_echo "$ac_cv_cflags__shared__Wl__soname_confest_so_1" >&6; }
9363 if test "x$ac_cv_cflags__shared__Wl__soname_confest_so_1" = xyes; then :
9364 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
9365 else
9366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-h,confest.so.1" >&5
9367 $as_echo_n "checking whether the compiler supports -shared -Wl,-h,confest.so.1... " >&6; }
9368 if ${ac_cv_cflags__shared__Wl__h_confest_so_1+:} false; then :
9369 $as_echo_n "(cached) " >&6
9370 else
9371 ac_wine_try_cflags_saved=$CFLAGS
9372 CFLAGS="$CFLAGS -shared -Wl,-h,confest.so.1"
9373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9374 /* end confdefs.h. */
9375 int main(int argc, char **argv) { return 0; }
9376 _ACEOF
9377 if ac_fn_c_try_link "$LINENO"; then :
9378 ac_cv_cflags__shared__Wl__h_confest_so_1=yes
9379 else
9380 ac_cv_cflags__shared__Wl__h_confest_so_1=no
9382 rm -f core conftest.err conftest.$ac_objext \
9383 conftest$ac_exeext conftest.$ac_ext
9384 CFLAGS=$ac_wine_try_cflags_saved
9386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__h_confest_so_1" >&5
9387 $as_echo "$ac_cv_cflags__shared__Wl__h_confest_so_1" >&6; }
9388 if test "x$ac_cv_cflags__shared__Wl__h_confest_so_1" = xyes; then :
9389 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
9393 echo '{ global: *; };' >conftest.map
9394 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
9395 $as_echo_n "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
9396 if ${ac_cv_cflags__shared__Wl___version_script_conftest_map+:} false; then :
9397 $as_echo_n "(cached) " >&6
9398 else
9399 ac_wine_try_cflags_saved=$CFLAGS
9400 CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
9401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9402 /* end confdefs.h. */
9403 int main(int argc, char **argv) { return 0; }
9404 _ACEOF
9405 if ac_fn_c_try_link "$LINENO"; then :
9406 ac_cv_cflags__shared__Wl___version_script_conftest_map=yes
9407 else
9408 ac_cv_cflags__shared__Wl___version_script_conftest_map=no
9410 rm -f core conftest.err conftest.$ac_objext \
9411 conftest$ac_exeext conftest.$ac_ext
9412 CFLAGS=$ac_wine_try_cflags_saved
9414 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl___version_script_conftest_map" >&5
9415 $as_echo "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
9416 if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes; then :
9417 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
9419 rm -f conftest.map
9421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
9422 $as_echo_n "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
9423 if ${ac_cv_cflags__Wl___export_dynamic+:} false; then :
9424 $as_echo_n "(cached) " >&6
9425 else
9426 ac_wine_try_cflags_saved=$CFLAGS
9427 CFLAGS="$CFLAGS -Wl,--export-dynamic"
9428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9429 /* end confdefs.h. */
9430 int main(int argc, char **argv) { return 0; }
9431 _ACEOF
9432 if ac_fn_c_try_link "$LINENO"; then :
9433 ac_cv_cflags__Wl___export_dynamic=yes
9434 else
9435 ac_cv_cflags__Wl___export_dynamic=no
9437 rm -f core conftest.err conftest.$ac_objext \
9438 conftest$ac_exeext conftest.$ac_ext
9439 CFLAGS=$ac_wine_try_cflags_saved
9441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
9442 $as_echo "$ac_cv_cflags__Wl___export_dynamic" >&6; }
9443 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes; then :
9444 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9446 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000"
9448 as_ac_var=`$as_echo "ac_cv_cflags_-Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
9449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--rpath,\$ORIGIN/../lib" >&5
9450 $as_echo_n "checking whether the compiler supports -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
9451 if eval \${$as_ac_var+:} false; then :
9452 $as_echo_n "(cached) " >&6
9453 else
9454 ac_wine_try_cflags_saved=$CFLAGS
9455 CFLAGS="$CFLAGS -Wl,--rpath,\$ORIGIN/../lib"
9456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9457 /* end confdefs.h. */
9458 int main(int argc, char **argv) { return 0; }
9459 _ACEOF
9460 if ac_fn_c_try_link "$LINENO"; then :
9461 eval "$as_ac_var=yes"
9462 else
9463 eval "$as_ac_var=no"
9465 rm -f core conftest.err conftest.$ac_objext \
9466 conftest$ac_exeext conftest.$ac_ext
9467 CFLAGS=$ac_wine_try_cflags_saved
9469 eval ac_res=\$$as_ac_var
9470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9471 $as_echo "$ac_res" >&6; }
9472 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9473 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9474 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9475 else
9476 as_ac_var=`$as_echo "ac_cv_cflags_-Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
9477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-R,\$ORIGIN/../lib" >&5
9478 $as_echo_n "checking whether the compiler supports -Wl,-R,\$ORIGIN/../lib... " >&6; }
9479 if eval \${$as_ac_var+:} false; then :
9480 $as_echo_n "(cached) " >&6
9481 else
9482 ac_wine_try_cflags_saved=$CFLAGS
9483 CFLAGS="$CFLAGS -Wl,-R,\$ORIGIN/../lib"
9484 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9485 /* end confdefs.h. */
9486 int main(int argc, char **argv) { return 0; }
9487 _ACEOF
9488 if ac_fn_c_try_link "$LINENO"; then :
9489 eval "$as_ac_var=yes"
9490 else
9491 eval "$as_ac_var=no"
9493 rm -f core conftest.err conftest.$ac_objext \
9494 conftest$ac_exeext conftest.$ac_ext
9495 CFLAGS=$ac_wine_try_cflags_saved
9497 eval ac_res=\$$as_ac_var
9498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9499 $as_echo "$ac_res" >&6; }
9500 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9501 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9502 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
9507 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
9508 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
9509 $as_echo_n "(cached) " >&6
9510 else
9511 ac_wine_try_cflags_saved=$CFLAGS
9512 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
9513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9514 /* end confdefs.h. */
9515 int main(int argc, char **argv) { return 0; }
9516 _ACEOF
9517 if ac_fn_c_try_link "$LINENO"; then :
9518 ac_cv_cflags__Wl___enable_new_dtags=yes
9519 else
9520 ac_cv_cflags__Wl___enable_new_dtags=no
9522 rm -f core conftest.err conftest.$ac_objext \
9523 conftest$ac_exeext conftest.$ac_ext
9524 CFLAGS=$ac_wine_try_cflags_saved
9526 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9527 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9528 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
9529 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9532 case $host_cpu in
9533 *i[3456789]86* | x86_64 | *aarch64*)
9534 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
9535 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
9536 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
9537 $as_echo_n "(cached) " >&6
9538 else
9539 ac_wine_try_cflags_saved=$CFLAGS
9540 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
9541 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9542 /* end confdefs.h. */
9543 int main(int argc, char **argv) { return 0; }
9544 _ACEOF
9545 if ac_fn_c_try_link "$LINENO"; then :
9546 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
9547 else
9548 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
9550 rm -f core conftest.err conftest.$ac_objext \
9551 conftest$ac_exeext conftest.$ac_ext
9552 CFLAGS=$ac_wine_try_cflags_saved
9554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
9555 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
9556 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
9557 case $host_os in
9558 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
9559 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
9560 esac
9561 else
9562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
9563 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
9564 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
9565 $as_echo_n "(cached) " >&6
9566 else
9567 ac_wine_try_cflags_saved=$CFLAGS
9568 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
9569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9570 /* end confdefs.h. */
9571 int main(int argc, char **argv) { return 0; }
9572 _ACEOF
9573 if ac_fn_c_try_link "$LINENO"; then :
9574 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
9575 else
9576 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
9578 rm -f core conftest.err conftest.$ac_objext \
9579 conftest$ac_exeext conftest.$ac_ext
9580 CFLAGS=$ac_wine_try_cflags_saved
9582 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
9583 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
9584 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
9585 case $host_os in
9586 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
9587 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
9588 esac
9590 # Extract the first word of "prelink", so it can be a program name with args.
9591 set dummy prelink; ac_word=$2
9592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9593 $as_echo_n "checking for $ac_word... " >&6; }
9594 if ${ac_cv_path_PRELINK+:} false; then :
9595 $as_echo_n "(cached) " >&6
9596 else
9597 case $PRELINK in
9598 [\\/]* | ?:[\\/]*)
9599 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
9602 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9603 for as_dir in /sbin /usr/sbin $PATH
9605 IFS=$as_save_IFS
9606 test -z "$as_dir" && as_dir=.
9607 for ac_exec_ext in '' $ac_executable_extensions; do
9608 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9609 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
9610 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9611 break 2
9613 done
9614 done
9615 IFS=$as_save_IFS
9617 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
9619 esac
9621 PRELINK=$ac_cv_path_PRELINK
9622 if test -n "$PRELINK"; then
9623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
9624 $as_echo "$PRELINK" >&6; }
9625 else
9626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9627 $as_echo "no" >&6; }
9631 if test "x$PRELINK" = xfalse
9632 then
9633 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
9636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
9637 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
9638 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
9639 $as_echo_n "(cached) " >&6
9640 else
9641 ac_wine_try_cflags_saved=$CFLAGS
9642 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
9643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9644 /* end confdefs.h. */
9645 int main(int argc, char **argv) { return 0; }
9646 _ACEOF
9647 if ac_fn_c_try_link "$LINENO"; then :
9648 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
9649 else
9650 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
9652 rm -f core conftest.err conftest.$ac_objext \
9653 conftest$ac_exeext conftest.$ac_ext
9654 CFLAGS=$ac_wine_try_cflags_saved
9656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
9657 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
9658 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
9659 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
9662 esac
9664 else
9665 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
9666 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
9667 if ${ac_cv_c_dll_unixware+:} false; then :
9668 $as_echo_n "(cached) " >&6
9669 else
9670 ac_wine_try_cflags_saved=$CFLAGS
9671 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9673 /* end confdefs.h. */
9674 void myfunc() {}
9675 _ACEOF
9676 if ac_fn_c_try_link "$LINENO"; then :
9677 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=yes
9678 else
9679 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=no
9681 rm -f core conftest.err conftest.$ac_objext \
9682 conftest$ac_exeext conftest.$ac_ext
9683 CFLAGS=$ac_wine_try_cflags_saved
9684 if test "x$ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic" = xyes; then :
9685 ac_cv_c_dll_unixware="yes"
9686 else
9687 ac_cv_c_dll_unixware="no"
9690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
9691 $as_echo "$ac_cv_c_dll_unixware" >&6; }
9692 if test "$ac_cv_c_dll_unixware" = "yes"
9693 then
9694 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
9697 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
9699 LIBWINE_DEPENDS="wine.map"
9701 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
9702 TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.so"
9704 esac
9706 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
9707 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
9708 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
9709 enable_winemac_drv=${enable_winemac_drv:-no}
9710 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
9712 CROSSTARGET=""
9714 if test "x$with_mingw" != xno
9715 then
9716 case "x$with_mingw" in
9717 x|xyes) case "$host_cpu" in
9718 aarch64*)
9719 ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc" ;;
9720 arm*)
9721 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
9722 i[3456789]86*)
9723 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
9724 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9725 mingw32-gcc" ;;
9726 x86_64)
9727 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
9728 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
9730 ac_prefix_list="" ;;
9731 esac
9732 for ac_prog in $ac_prefix_list
9734 # Extract the first word of "$ac_prog", so it can be a program name with args.
9735 set dummy $ac_prog; ac_word=$2
9736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9737 $as_echo_n "checking for $ac_word... " >&6; }
9738 if ${ac_cv_prog_CROSSCC+:} false; then :
9739 $as_echo_n "(cached) " >&6
9740 else
9741 if test -n "$CROSSCC"; then
9742 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9743 else
9744 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9745 for as_dir in $PATH
9747 IFS=$as_save_IFS
9748 test -z "$as_dir" && as_dir=.
9749 for ac_exec_ext in '' $ac_executable_extensions; do
9750 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9751 ac_cv_prog_CROSSCC="$ac_prog"
9752 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9753 break 2
9755 done
9756 done
9757 IFS=$as_save_IFS
9761 CROSSCC=$ac_cv_prog_CROSSCC
9762 if test -n "$CROSSCC"; then
9763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9764 $as_echo "$CROSSCC" >&6; }
9765 else
9766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9767 $as_echo "no" >&6; }
9771 test -n "$CROSSCC" && break
9772 done
9773 test -n "$CROSSCC" || CROSSCC="false"
9775 *) CROSSCC=$with_mingw ;;
9776 esac
9777 if test "$CROSSCC" != "false"
9778 then
9779 ac_save_CC="$CC"
9780 saved_CFLAGS=$CFLAGS
9781 CROSSCFLAGS=${CROSSCFLAGS:-"-g -O2"}
9783 EXTRACROSSCFLAGS="-DWINE_CROSS_PE -Wall"
9786 CC="$CROSSCC"
9787 CFLAGS=$CROSSCFLAGS
9788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9789 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9790 if ${wine_cv_crosscc+:} false; then :
9791 $as_echo_n "(cached) " >&6
9792 else
9793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9794 /* end confdefs.h. */
9797 main ()
9801 return 0;
9803 _ACEOF
9804 if ac_fn_c_try_compile "$LINENO"; then :
9805 wine_cv_crosscc=yes
9806 else
9807 wine_cv_crosscc=no
9809 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_crosscc" >&5
9812 $as_echo "$wine_cv_crosscc" >&6; }
9813 if test $wine_cv_crosscc = yes
9814 then
9815 set x $CROSSCC
9816 shift
9817 while test $# -ge 1
9819 case "$1" in
9820 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
9821 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
9822 esac
9823 shift
9824 done
9826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-strict-aliasing" >&5
9827 $as_echo_n "checking whether the cross-compiler supports -fno-strict-aliasing... " >&6; }
9828 if ${ac_cv_crosscflags__fno_strict_aliasing+:} false; then :
9829 $as_echo_n "(cached) " >&6
9830 else
9831 ac_wine_try_cflags_saved=$CFLAGS
9832 ac_wine_try_cflags_saved_cc=$CC
9833 ac_wine_try_cflags_saved_exeext=$ac_exeext
9834 CFLAGS="$CFLAGS -fno-strict-aliasing"
9835 CC="$CROSSCC"
9836 ac_exeext=".exe"
9837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9838 /* end confdefs.h. */
9839 int main(int argc, char **argv) { return 0; }
9840 _ACEOF
9841 if ac_fn_c_try_link "$LINENO"; then :
9842 ac_cv_crosscflags__fno_strict_aliasing=yes
9843 else
9844 ac_cv_crosscflags__fno_strict_aliasing=no
9846 rm -f core conftest.err conftest.$ac_objext \
9847 conftest$ac_exeext conftest.$ac_ext
9848 CFLAGS=$ac_wine_try_cflags_saved
9849 CC=$ac_wine_try_cflags_saved_cc
9850 ac_exeext=$ac_wine_try_cflags_saved_exeext
9852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_strict_aliasing" >&5
9853 $as_echo "$ac_cv_crosscflags__fno_strict_aliasing" >&6; }
9854 if test "x$ac_cv_crosscflags__fno_strict_aliasing" = xyes; then :
9855 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-strict-aliasing"
9857 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=unknown-warning-option" >&5
9858 $as_echo_n "checking whether the cross-compiler supports -Werror=unknown-warning-option... " >&6; }
9859 if ${ac_cv_crosscflags__Werror_unknown_warning_option+:} false; then :
9860 $as_echo_n "(cached) " >&6
9861 else
9862 ac_wine_try_cflags_saved=$CFLAGS
9863 ac_wine_try_cflags_saved_cc=$CC
9864 ac_wine_try_cflags_saved_exeext=$ac_exeext
9865 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9866 CC="$CROSSCC"
9867 ac_exeext=".exe"
9868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9869 /* end confdefs.h. */
9870 int main(int argc, char **argv) { return 0; }
9871 _ACEOF
9872 if ac_fn_c_try_link "$LINENO"; then :
9873 ac_cv_crosscflags__Werror_unknown_warning_option=yes
9874 else
9875 ac_cv_crosscflags__Werror_unknown_warning_option=no
9877 rm -f core conftest.err conftest.$ac_objext \
9878 conftest$ac_exeext conftest.$ac_ext
9879 CFLAGS=$ac_wine_try_cflags_saved
9880 CC=$ac_wine_try_cflags_saved_cc
9881 ac_exeext=$ac_wine_try_cflags_saved_exeext
9883 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_unknown_warning_option" >&5
9884 $as_echo "$ac_cv_crosscflags__Werror_unknown_warning_option" >&6; }
9885 if test "x$ac_cv_crosscflags__Werror_unknown_warning_option" = xyes; then :
9886 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wdeclaration-after-statement" >&5
9889 $as_echo_n "checking whether the cross-compiler supports -Wdeclaration-after-statement... " >&6; }
9890 if ${ac_cv_crosscflags__Wdeclaration_after_statement+:} false; then :
9891 $as_echo_n "(cached) " >&6
9892 else
9893 ac_wine_try_cflags_saved=$CFLAGS
9894 ac_wine_try_cflags_saved_cc=$CC
9895 ac_wine_try_cflags_saved_exeext=$ac_exeext
9896 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
9897 CC="$CROSSCC"
9898 ac_exeext=".exe"
9899 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9900 /* end confdefs.h. */
9901 int main(int argc, char **argv) { return 0; }
9902 _ACEOF
9903 if ac_fn_c_try_link "$LINENO"; then :
9904 ac_cv_crosscflags__Wdeclaration_after_statement=yes
9905 else
9906 ac_cv_crosscflags__Wdeclaration_after_statement=no
9908 rm -f core conftest.err conftest.$ac_objext \
9909 conftest$ac_exeext conftest.$ac_ext
9910 CFLAGS=$ac_wine_try_cflags_saved
9911 CC=$ac_wine_try_cflags_saved_cc
9912 ac_exeext=$ac_wine_try_cflags_saved_exeext
9914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wdeclaration_after_statement" >&5
9915 $as_echo "$ac_cv_crosscflags__Wdeclaration_after_statement" >&6; }
9916 if test "x$ac_cv_crosscflags__Wdeclaration_after_statement" = xyes; then :
9917 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wdeclaration-after-statement"
9919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wempty-body" >&5
9920 $as_echo_n "checking whether the cross-compiler supports -Wempty-body... " >&6; }
9921 if ${ac_cv_crosscflags__Wempty_body+:} false; then :
9922 $as_echo_n "(cached) " >&6
9923 else
9924 ac_wine_try_cflags_saved=$CFLAGS
9925 ac_wine_try_cflags_saved_cc=$CC
9926 ac_wine_try_cflags_saved_exeext=$ac_exeext
9927 CFLAGS="$CFLAGS -Wempty-body"
9928 CC="$CROSSCC"
9929 ac_exeext=".exe"
9930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9931 /* end confdefs.h. */
9932 int main(int argc, char **argv) { return 0; }
9933 _ACEOF
9934 if ac_fn_c_try_link "$LINENO"; then :
9935 ac_cv_crosscflags__Wempty_body=yes
9936 else
9937 ac_cv_crosscflags__Wempty_body=no
9939 rm -f core conftest.err conftest.$ac_objext \
9940 conftest$ac_exeext conftest.$ac_ext
9941 CFLAGS=$ac_wine_try_cflags_saved
9942 CC=$ac_wine_try_cflags_saved_cc
9943 ac_exeext=$ac_wine_try_cflags_saved_exeext
9945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wempty_body" >&5
9946 $as_echo "$ac_cv_crosscflags__Wempty_body" >&6; }
9947 if test "x$ac_cv_crosscflags__Wempty_body" = xyes; then :
9948 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wempty-body"
9950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wignored-qualifiers" >&5
9951 $as_echo_n "checking whether the cross-compiler supports -Wignored-qualifiers... " >&6; }
9952 if ${ac_cv_crosscflags__Wignored_qualifiers+:} false; then :
9953 $as_echo_n "(cached) " >&6
9954 else
9955 ac_wine_try_cflags_saved=$CFLAGS
9956 ac_wine_try_cflags_saved_cc=$CC
9957 ac_wine_try_cflags_saved_exeext=$ac_exeext
9958 CFLAGS="$CFLAGS -Wignored-qualifiers"
9959 CC="$CROSSCC"
9960 ac_exeext=".exe"
9961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9962 /* end confdefs.h. */
9963 int main(int argc, char **argv) { return 0; }
9964 _ACEOF
9965 if ac_fn_c_try_link "$LINENO"; then :
9966 ac_cv_crosscflags__Wignored_qualifiers=yes
9967 else
9968 ac_cv_crosscflags__Wignored_qualifiers=no
9970 rm -f core conftest.err conftest.$ac_objext \
9971 conftest$ac_exeext conftest.$ac_ext
9972 CFLAGS=$ac_wine_try_cflags_saved
9973 CC=$ac_wine_try_cflags_saved_cc
9974 ac_exeext=$ac_wine_try_cflags_saved_exeext
9976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wignored_qualifiers" >&5
9977 $as_echo "$ac_cv_crosscflags__Wignored_qualifiers" >&6; }
9978 if test "x$ac_cv_crosscflags__Wignored_qualifiers" = xyes; then :
9979 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wignored-qualifiers"
9981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpacked-not-aligned" >&5
9982 $as_echo_n "checking whether the cross-compiler supports -Wpacked-not-aligned... " >&6; }
9983 if ${ac_cv_crosscflags__Wpacked_not_aligned+:} false; then :
9984 $as_echo_n "(cached) " >&6
9985 else
9986 ac_wine_try_cflags_saved=$CFLAGS
9987 ac_wine_try_cflags_saved_cc=$CC
9988 ac_wine_try_cflags_saved_exeext=$ac_exeext
9989 CFLAGS="$CFLAGS -Wpacked-not-aligned"
9990 CC="$CROSSCC"
9991 ac_exeext=".exe"
9992 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9993 /* end confdefs.h. */
9994 int main(int argc, char **argv) { return 0; }
9995 _ACEOF
9996 if ac_fn_c_try_link "$LINENO"; then :
9997 ac_cv_crosscflags__Wpacked_not_aligned=yes
9998 else
9999 ac_cv_crosscflags__Wpacked_not_aligned=no
10001 rm -f core conftest.err conftest.$ac_objext \
10002 conftest$ac_exeext conftest.$ac_ext
10003 CFLAGS=$ac_wine_try_cflags_saved
10004 CC=$ac_wine_try_cflags_saved_cc
10005 ac_exeext=$ac_wine_try_cflags_saved_exeext
10007 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpacked_not_aligned" >&5
10008 $as_echo "$ac_cv_crosscflags__Wpacked_not_aligned" >&6; }
10009 if test "x$ac_cv_crosscflags__Wpacked_not_aligned" = xyes; then :
10010 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-packed-not-aligned"
10012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpragma-pack" >&5
10013 $as_echo_n "checking whether the cross-compiler supports -Wpragma-pack... " >&6; }
10014 if ${ac_cv_crosscflags__Wpragma_pack+:} false; then :
10015 $as_echo_n "(cached) " >&6
10016 else
10017 ac_wine_try_cflags_saved=$CFLAGS
10018 ac_wine_try_cflags_saved_cc=$CC
10019 ac_wine_try_cflags_saved_exeext=$ac_exeext
10020 CFLAGS="$CFLAGS -Wpragma-pack"
10021 CC="$CROSSCC"
10022 ac_exeext=".exe"
10023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10024 /* end confdefs.h. */
10025 int main(int argc, char **argv) { return 0; }
10026 _ACEOF
10027 if ac_fn_c_try_link "$LINENO"; then :
10028 ac_cv_crosscflags__Wpragma_pack=yes
10029 else
10030 ac_cv_crosscflags__Wpragma_pack=no
10032 rm -f core conftest.err conftest.$ac_objext \
10033 conftest$ac_exeext conftest.$ac_ext
10034 CFLAGS=$ac_wine_try_cflags_saved
10035 CC=$ac_wine_try_cflags_saved_cc
10036 ac_exeext=$ac_wine_try_cflags_saved_exeext
10038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpragma_pack" >&5
10039 $as_echo "$ac_cv_crosscflags__Wpragma_pack" >&6; }
10040 if test "x$ac_cv_crosscflags__Wpragma_pack" = xyes; then :
10041 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-pragma-pack"
10043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wshift-overflow=2" >&5
10044 $as_echo_n "checking whether the cross-compiler supports -Wshift-overflow=2... " >&6; }
10045 if ${ac_cv_crosscflags__Wshift_overflow_2+:} false; then :
10046 $as_echo_n "(cached) " >&6
10047 else
10048 ac_wine_try_cflags_saved=$CFLAGS
10049 ac_wine_try_cflags_saved_cc=$CC
10050 ac_wine_try_cflags_saved_exeext=$ac_exeext
10051 CFLAGS="$CFLAGS -Wshift-overflow=2"
10052 CC="$CROSSCC"
10053 ac_exeext=".exe"
10054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10055 /* end confdefs.h. */
10056 int main(int argc, char **argv) { return 0; }
10057 _ACEOF
10058 if ac_fn_c_try_link "$LINENO"; then :
10059 ac_cv_crosscflags__Wshift_overflow_2=yes
10060 else
10061 ac_cv_crosscflags__Wshift_overflow_2=no
10063 rm -f core conftest.err conftest.$ac_objext \
10064 conftest$ac_exeext conftest.$ac_ext
10065 CFLAGS=$ac_wine_try_cflags_saved
10066 CC=$ac_wine_try_cflags_saved_cc
10067 ac_exeext=$ac_wine_try_cflags_saved_exeext
10069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wshift_overflow_2" >&5
10070 $as_echo "$ac_cv_crosscflags__Wshift_overflow_2" >&6; }
10071 if test "x$ac_cv_crosscflags__Wshift_overflow_2" = xyes; then :
10072 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wshift-overflow=2"
10074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wstrict-prototypes" >&5
10075 $as_echo_n "checking whether the cross-compiler supports -Wstrict-prototypes... " >&6; }
10076 if ${ac_cv_crosscflags__Wstrict_prototypes+:} false; then :
10077 $as_echo_n "(cached) " >&6
10078 else
10079 ac_wine_try_cflags_saved=$CFLAGS
10080 ac_wine_try_cflags_saved_cc=$CC
10081 ac_wine_try_cflags_saved_exeext=$ac_exeext
10082 CFLAGS="$CFLAGS -Wstrict-prototypes"
10083 CC="$CROSSCC"
10084 ac_exeext=".exe"
10085 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10086 /* end confdefs.h. */
10087 int main(int argc, char **argv) { return 0; }
10088 _ACEOF
10089 if ac_fn_c_try_link "$LINENO"; then :
10090 ac_cv_crosscflags__Wstrict_prototypes=yes
10091 else
10092 ac_cv_crosscflags__Wstrict_prototypes=no
10094 rm -f core conftest.err conftest.$ac_objext \
10095 conftest$ac_exeext conftest.$ac_ext
10096 CFLAGS=$ac_wine_try_cflags_saved
10097 CC=$ac_wine_try_cflags_saved_cc
10098 ac_exeext=$ac_wine_try_cflags_saved_exeext
10100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wstrict_prototypes" >&5
10101 $as_echo "$ac_cv_crosscflags__Wstrict_prototypes" >&6; }
10102 if test "x$ac_cv_crosscflags__Wstrict_prototypes" = xyes; then :
10103 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wstrict-prototypes"
10105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wtype-limits" >&5
10106 $as_echo_n "checking whether the cross-compiler supports -Wtype-limits... " >&6; }
10107 if ${ac_cv_crosscflags__Wtype_limits+:} false; then :
10108 $as_echo_n "(cached) " >&6
10109 else
10110 ac_wine_try_cflags_saved=$CFLAGS
10111 ac_wine_try_cflags_saved_cc=$CC
10112 ac_wine_try_cflags_saved_exeext=$ac_exeext
10113 CFLAGS="$CFLAGS -Wtype-limits"
10114 CC="$CROSSCC"
10115 ac_exeext=".exe"
10116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10117 /* end confdefs.h. */
10118 int main(int argc, char **argv) { return 0; }
10119 _ACEOF
10120 if ac_fn_c_try_link "$LINENO"; then :
10121 ac_cv_crosscflags__Wtype_limits=yes
10122 else
10123 ac_cv_crosscflags__Wtype_limits=no
10125 rm -f core conftest.err conftest.$ac_objext \
10126 conftest$ac_exeext conftest.$ac_ext
10127 CFLAGS=$ac_wine_try_cflags_saved
10128 CC=$ac_wine_try_cflags_saved_cc
10129 ac_exeext=$ac_wine_try_cflags_saved_exeext
10131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wtype_limits" >&5
10132 $as_echo "$ac_cv_crosscflags__Wtype_limits" >&6; }
10133 if test "x$ac_cv_crosscflags__Wtype_limits" = xyes; then :
10134 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wtype-limits"
10136 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wunused-but-set-parameter" >&5
10137 $as_echo_n "checking whether the cross-compiler supports -Wunused-but-set-parameter... " >&6; }
10138 if ${ac_cv_crosscflags__Wunused_but_set_parameter+:} false; then :
10139 $as_echo_n "(cached) " >&6
10140 else
10141 ac_wine_try_cflags_saved=$CFLAGS
10142 ac_wine_try_cflags_saved_cc=$CC
10143 ac_wine_try_cflags_saved_exeext=$ac_exeext
10144 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
10145 CC="$CROSSCC"
10146 ac_exeext=".exe"
10147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10148 /* end confdefs.h. */
10149 int main(int argc, char **argv) { return 0; }
10150 _ACEOF
10151 if ac_fn_c_try_link "$LINENO"; then :
10152 ac_cv_crosscflags__Wunused_but_set_parameter=yes
10153 else
10154 ac_cv_crosscflags__Wunused_but_set_parameter=no
10156 rm -f core conftest.err conftest.$ac_objext \
10157 conftest$ac_exeext conftest.$ac_ext
10158 CFLAGS=$ac_wine_try_cflags_saved
10159 CC=$ac_wine_try_cflags_saved_cc
10160 ac_exeext=$ac_wine_try_cflags_saved_exeext
10162 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wunused_but_set_parameter" >&5
10163 $as_echo "$ac_cv_crosscflags__Wunused_but_set_parameter" >&6; }
10164 if test "x$ac_cv_crosscflags__Wunused_but_set_parameter" = xyes; then :
10165 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wunused-but-set-parameter"
10167 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wvla" >&5
10168 $as_echo_n "checking whether the cross-compiler supports -Wvla... " >&6; }
10169 if ${ac_cv_crosscflags__Wvla+:} false; then :
10170 $as_echo_n "(cached) " >&6
10171 else
10172 ac_wine_try_cflags_saved=$CFLAGS
10173 ac_wine_try_cflags_saved_cc=$CC
10174 ac_wine_try_cflags_saved_exeext=$ac_exeext
10175 CFLAGS="$CFLAGS -Wvla"
10176 CC="$CROSSCC"
10177 ac_exeext=".exe"
10178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10179 /* end confdefs.h. */
10180 int main(int argc, char **argv) { return 0; }
10181 _ACEOF
10182 if ac_fn_c_try_link "$LINENO"; then :
10183 ac_cv_crosscflags__Wvla=yes
10184 else
10185 ac_cv_crosscflags__Wvla=no
10187 rm -f core conftest.err conftest.$ac_objext \
10188 conftest$ac_exeext conftest.$ac_ext
10189 CFLAGS=$ac_wine_try_cflags_saved
10190 CC=$ac_wine_try_cflags_saved_cc
10191 ac_exeext=$ac_wine_try_cflags_saved_exeext
10193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wvla" >&5
10194 $as_echo "$ac_cv_crosscflags__Wvla" >&6; }
10195 if test "x$ac_cv_crosscflags__Wvla" = xyes; then :
10196 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wvla"
10198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wwrite-strings" >&5
10199 $as_echo_n "checking whether the cross-compiler supports -Wwrite-strings... " >&6; }
10200 if ${ac_cv_crosscflags__Wwrite_strings+:} false; then :
10201 $as_echo_n "(cached) " >&6
10202 else
10203 ac_wine_try_cflags_saved=$CFLAGS
10204 ac_wine_try_cflags_saved_cc=$CC
10205 ac_wine_try_cflags_saved_exeext=$ac_exeext
10206 CFLAGS="$CFLAGS -Wwrite-strings"
10207 CC="$CROSSCC"
10208 ac_exeext=".exe"
10209 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10210 /* end confdefs.h. */
10211 int main(int argc, char **argv) { return 0; }
10212 _ACEOF
10213 if ac_fn_c_try_link "$LINENO"; then :
10214 ac_cv_crosscflags__Wwrite_strings=yes
10215 else
10216 ac_cv_crosscflags__Wwrite_strings=no
10218 rm -f core conftest.err conftest.$ac_objext \
10219 conftest$ac_exeext conftest.$ac_ext
10220 CFLAGS=$ac_wine_try_cflags_saved
10221 CC=$ac_wine_try_cflags_saved_cc
10222 ac_exeext=$ac_wine_try_cflags_saved_exeext
10224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wwrite_strings" >&5
10225 $as_echo "$ac_cv_crosscflags__Wwrite_strings" >&6; }
10226 if test "x$ac_cv_crosscflags__Wwrite_strings" = xyes; then :
10227 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wwrite-strings"
10229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpointer-arith" >&5
10230 $as_echo_n "checking whether the cross-compiler supports -Wpointer-arith... " >&6; }
10231 if ${ac_cv_crosscflags__Wpointer_arith+:} false; then :
10232 $as_echo_n "(cached) " >&6
10233 else
10234 ac_wine_try_cflags_saved=$CFLAGS
10235 ac_wine_try_cflags_saved_cc=$CC
10236 ac_wine_try_cflags_saved_exeext=$ac_exeext
10237 CFLAGS="$CFLAGS -Wpointer-arith"
10238 CC="$CROSSCC"
10239 ac_exeext=".exe"
10240 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10241 /* end confdefs.h. */
10242 int main(int argc, char **argv) { return 0; }
10243 _ACEOF
10244 if ac_fn_c_try_link "$LINENO"; then :
10245 ac_cv_crosscflags__Wpointer_arith=yes
10246 else
10247 ac_cv_crosscflags__Wpointer_arith=no
10249 rm -f core conftest.err conftest.$ac_objext \
10250 conftest$ac_exeext conftest.$ac_ext
10251 CFLAGS=$ac_wine_try_cflags_saved
10252 CC=$ac_wine_try_cflags_saved_cc
10253 ac_exeext=$ac_wine_try_cflags_saved_exeext
10255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpointer_arith" >&5
10256 $as_echo "$ac_cv_crosscflags__Wpointer_arith" >&6; }
10257 if test "x$ac_cv_crosscflags__Wpointer_arith" = xyes; then :
10258 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wpointer-arith"
10260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wlogical-op" >&5
10261 $as_echo_n "checking whether the cross-compiler supports -Wlogical-op... " >&6; }
10262 if ${ac_cv_crosscflags__Wlogical_op+:} false; then :
10263 $as_echo_n "(cached) " >&6
10264 else
10265 ac_wine_try_cflags_saved=$CFLAGS
10266 ac_wine_try_cflags_saved_cc=$CC
10267 ac_wine_try_cflags_saved_exeext=$ac_exeext
10268 CFLAGS="$CFLAGS -Wlogical-op"
10269 CC="$CROSSCC"
10270 ac_exeext=".exe"
10271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10272 /* end confdefs.h. */
10273 int main(int argc, char **argv) { return 0; }
10274 _ACEOF
10275 if ac_fn_c_try_link "$LINENO"; then :
10276 ac_cv_crosscflags__Wlogical_op=yes
10277 else
10278 ac_cv_crosscflags__Wlogical_op=no
10280 rm -f core conftest.err conftest.$ac_objext \
10281 conftest$ac_exeext conftest.$ac_ext
10282 CFLAGS=$ac_wine_try_cflags_saved
10283 CC=$ac_wine_try_cflags_saved_cc
10284 ac_exeext=$ac_wine_try_cflags_saved_exeext
10286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wlogical_op" >&5
10287 $as_echo "$ac_cv_crosscflags__Wlogical_op" >&6; }
10288 if test "x$ac_cv_crosscflags__Wlogical_op" = xyes; then :
10289 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wlogical-op"
10292 case $host_cpu in
10293 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-omit-frame-pointer" >&5
10294 $as_echo_n "checking whether the cross-compiler supports -fno-omit-frame-pointer... " >&6; }
10295 if ${ac_cv_crosscflags__fno_omit_frame_pointer+:} false; then :
10296 $as_echo_n "(cached) " >&6
10297 else
10298 ac_wine_try_cflags_saved=$CFLAGS
10299 ac_wine_try_cflags_saved_cc=$CC
10300 ac_wine_try_cflags_saved_exeext=$ac_exeext
10301 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
10302 CC="$CROSSCC"
10303 ac_exeext=".exe"
10304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10305 /* end confdefs.h. */
10306 int main(int argc, char **argv) { return 0; }
10307 _ACEOF
10308 if ac_fn_c_try_link "$LINENO"; then :
10309 ac_cv_crosscflags__fno_omit_frame_pointer=yes
10310 else
10311 ac_cv_crosscflags__fno_omit_frame_pointer=no
10313 rm -f core conftest.err conftest.$ac_objext \
10314 conftest$ac_exeext conftest.$ac_ext
10315 CFLAGS=$ac_wine_try_cflags_saved
10316 CC=$ac_wine_try_cflags_saved_cc
10317 ac_exeext=$ac_wine_try_cflags_saved_exeext
10319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_omit_frame_pointer" >&5
10320 $as_echo "$ac_cv_crosscflags__fno_omit_frame_pointer" >&6; }
10321 if test "x$ac_cv_crosscflags__fno_omit_frame_pointer" = xyes; then :
10322 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-omit-frame-pointer"
10323 fi ;;
10324 x86_64) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
10325 $as_echo_n "checking whether the cross-compiler supports -Wno-format... " >&6; }
10326 if ${ac_cv_crosscflags__Wno_format+:} false; then :
10327 $as_echo_n "(cached) " >&6
10328 else
10329 ac_wine_try_cflags_saved=$CFLAGS
10330 ac_wine_try_cflags_saved_cc=$CC
10331 ac_wine_try_cflags_saved_exeext=$ac_exeext
10332 CFLAGS="$CFLAGS -Wno-format"
10333 CC="$CROSSCC"
10334 ac_exeext=".exe"
10335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10336 /* end confdefs.h. */
10337 int main(int argc, char **argv) { return 0; }
10338 _ACEOF
10339 if ac_fn_c_try_link "$LINENO"; then :
10340 ac_cv_crosscflags__Wno_format=yes
10341 else
10342 ac_cv_crosscflags__Wno_format=no
10344 rm -f core conftest.err conftest.$ac_objext \
10345 conftest$ac_exeext conftest.$ac_ext
10346 CFLAGS=$ac_wine_try_cflags_saved
10347 CC=$ac_wine_try_cflags_saved_cc
10348 ac_exeext=$ac_wine_try_cflags_saved_exeext
10350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
10351 $as_echo "$ac_cv_crosscflags__Wno_format" >&6; }
10352 if test "x$ac_cv_crosscflags__Wno_format" = xyes; then :
10353 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
10354 fi ;;
10355 esac
10357 for ac_flag in $CROSSCFLAGS; do
10358 case $ac_flag in
10359 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gdwarf-2" >&5
10360 $as_echo_n "checking whether the cross-compiler supports -gdwarf-2... " >&6; }
10361 if ${ac_cv_crosscflags__gdwarf_2+:} false; then :
10362 $as_echo_n "(cached) " >&6
10363 else
10364 ac_wine_try_cflags_saved=$CFLAGS
10365 ac_wine_try_cflags_saved_cc=$CC
10366 ac_wine_try_cflags_saved_exeext=$ac_exeext
10367 CFLAGS="$CFLAGS -gdwarf-2"
10368 CC="$CROSSCC"
10369 ac_exeext=".exe"
10370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10371 /* end confdefs.h. */
10372 int main(int argc, char **argv) { return 0; }
10373 _ACEOF
10374 if ac_fn_c_try_link "$LINENO"; then :
10375 ac_cv_crosscflags__gdwarf_2=yes
10376 else
10377 ac_cv_crosscflags__gdwarf_2=no
10379 rm -f core conftest.err conftest.$ac_objext \
10380 conftest$ac_exeext conftest.$ac_ext
10381 CFLAGS=$ac_wine_try_cflags_saved
10382 CC=$ac_wine_try_cflags_saved_cc
10383 ac_exeext=$ac_wine_try_cflags_saved_exeext
10385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gdwarf_2" >&5
10386 $as_echo "$ac_cv_crosscflags__gdwarf_2" >&6; }
10387 if test "x$ac_cv_crosscflags__gdwarf_2" = xyes; then :
10388 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gdwarf-2"
10390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gstrict-dwarf" >&5
10391 $as_echo_n "checking whether the cross-compiler supports -gstrict-dwarf... " >&6; }
10392 if ${ac_cv_crosscflags__gstrict_dwarf+:} false; then :
10393 $as_echo_n "(cached) " >&6
10394 else
10395 ac_wine_try_cflags_saved=$CFLAGS
10396 ac_wine_try_cflags_saved_cc=$CC
10397 ac_wine_try_cflags_saved_exeext=$ac_exeext
10398 CFLAGS="$CFLAGS -gstrict-dwarf"
10399 CC="$CROSSCC"
10400 ac_exeext=".exe"
10401 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10402 /* end confdefs.h. */
10403 int main(int argc, char **argv) { return 0; }
10404 _ACEOF
10405 if ac_fn_c_try_link "$LINENO"; then :
10406 ac_cv_crosscflags__gstrict_dwarf=yes
10407 else
10408 ac_cv_crosscflags__gstrict_dwarf=no
10410 rm -f core conftest.err conftest.$ac_objext \
10411 conftest$ac_exeext conftest.$ac_ext
10412 CFLAGS=$ac_wine_try_cflags_saved
10413 CC=$ac_wine_try_cflags_saved_cc
10414 ac_exeext=$ac_wine_try_cflags_saved_exeext
10416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gstrict_dwarf" >&5
10417 $as_echo "$ac_cv_crosscflags__gstrict_dwarf" >&6; }
10418 if test "x$ac_cv_crosscflags__gstrict_dwarf" = xyes; then :
10419 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gstrict-dwarf"
10420 fi ;;
10421 esac
10422 done
10424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
10425 $as_echo_n "checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
10426 if ${ac_cv_cflags__Wl__delayload_autoconftest_dll+:} false; then :
10427 $as_echo_n "(cached) " >&6
10428 else
10429 ac_wine_try_cflags_saved=$CFLAGS
10430 CFLAGS="$CFLAGS -Wl,-delayload,autoconftest.dll"
10431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10432 /* end confdefs.h. */
10433 int main(int argc, char **argv) { return 0; }
10434 _ACEOF
10435 if ac_fn_c_try_link "$LINENO"; then :
10436 ac_cv_cflags__Wl__delayload_autoconftest_dll=yes
10437 else
10438 ac_cv_cflags__Wl__delayload_autoconftest_dll=no
10440 rm -f core conftest.err conftest.$ac_objext \
10441 conftest$ac_exeext conftest.$ac_ext
10442 CFLAGS=$ac_wine_try_cflags_saved
10444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
10445 $as_echo "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
10446 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes; then :
10447 DELAYLOADFLAG="-Wl,-delayload,"
10451 if test "x$enable_maintainer_mode" = xyes
10452 then
10453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror" >&5
10454 $as_echo_n "checking whether the cross-compiler supports -Werror... " >&6; }
10455 if ${ac_cv_crosscflags__Werror+:} false; then :
10456 $as_echo_n "(cached) " >&6
10457 else
10458 ac_wine_try_cflags_saved=$CFLAGS
10459 ac_wine_try_cflags_saved_cc=$CC
10460 ac_wine_try_cflags_saved_exeext=$ac_exeext
10461 CFLAGS="$CFLAGS -Werror"
10462 CC="$CROSSCC"
10463 ac_exeext=".exe"
10464 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10465 /* end confdefs.h. */
10466 int main(int argc, char **argv) { return 0; }
10467 _ACEOF
10468 if ac_fn_c_try_link "$LINENO"; then :
10469 ac_cv_crosscflags__Werror=yes
10470 else
10471 ac_cv_crosscflags__Werror=no
10473 rm -f core conftest.err conftest.$ac_objext \
10474 conftest$ac_exeext conftest.$ac_ext
10475 CFLAGS=$ac_wine_try_cflags_saved
10476 CC=$ac_wine_try_cflags_saved_cc
10477 ac_exeext=$ac_wine_try_cflags_saved_exeext
10479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror" >&5
10480 $as_echo "$ac_cv_crosscflags__Werror" >&6; }
10481 if test "x$ac_cv_crosscflags__Werror" = xyes; then :
10482 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Werror"
10486 CFLAGS=$saved_CFLAGS
10487 CC="$ac_save_CC"
10490 if test "x$CROSSTARGET" = "x"; then :
10491 case "x$with_mingw" in
10492 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
10493 xno) ;;
10494 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
10495 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
10496 esac
10501 if test "$ac_cv_header_pthread_h" = "yes"
10502 then
10503 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
10504 if test "x$ac_cv_func_pthread_create" = xyes; then :
10506 else
10507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
10508 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
10509 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
10510 $as_echo_n "(cached) " >&6
10511 else
10512 ac_check_lib_save_LIBS=$LIBS
10513 LIBS="-lpthread $LIBS"
10514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10515 /* end confdefs.h. */
10517 /* Override any GCC internal prototype to avoid an error.
10518 Use char because int might match the return type of a GCC
10519 builtin and then its argument prototype would still apply. */
10520 #ifdef __cplusplus
10521 extern "C"
10522 #endif
10523 char pthread_create ();
10525 main ()
10527 return pthread_create ();
10529 return 0;
10531 _ACEOF
10532 if ac_fn_c_try_link "$LINENO"; then :
10533 ac_cv_lib_pthread_pthread_create=yes
10534 else
10535 ac_cv_lib_pthread_pthread_create=no
10537 rm -f core conftest.err conftest.$ac_objext \
10538 conftest$ac_exeext conftest.$ac_ext
10539 LIBS=$ac_check_lib_save_LIBS
10541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
10542 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
10543 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
10544 PTHREAD_LIBS="-lpthread"
10551 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
10552 case "x$with_pthread" in
10553 xno) ;;
10554 *) as_fn_error $? "pthread ${notice_platform}development files not found.
10555 Wine cannot support threads without libpthread.
10556 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
10557 esac
10562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
10563 $as_echo_n "checking for X... " >&6; }
10566 # Check whether --with-x was given.
10567 if test "${with_x+set}" = set; then :
10568 withval=$with_x;
10571 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
10572 if test "x$with_x" = xno; then
10573 # The user explicitly disabled X.
10574 have_x=disabled
10575 else
10576 case $x_includes,$x_libraries in #(
10577 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
10578 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
10579 $as_echo_n "(cached) " >&6
10580 else
10581 # One or both of the vars are not set, and there is no cached value.
10582 ac_x_includes=no ac_x_libraries=no
10583 rm -f -r conftest.dir
10584 if mkdir conftest.dir; then
10585 cd conftest.dir
10586 cat >Imakefile <<'_ACEOF'
10587 incroot:
10588 @echo incroot='${INCROOT}'
10589 usrlibdir:
10590 @echo usrlibdir='${USRLIBDIR}'
10591 libdir:
10592 @echo libdir='${LIBDIR}'
10593 _ACEOF
10594 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
10595 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
10596 for ac_var in incroot usrlibdir libdir; do
10597 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
10598 done
10599 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
10600 for ac_extension in a so sl dylib la dll; do
10601 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
10602 test -f "$ac_im_libdir/libX11.$ac_extension"; then
10603 ac_im_usrlibdir=$ac_im_libdir; break
10605 done
10606 # Screen out bogus values from the imake configuration. They are
10607 # bogus both because they are the default anyway, and because
10608 # using them would break gcc on systems where it needs fixed includes.
10609 case $ac_im_incroot in
10610 /usr/include) ac_x_includes= ;;
10611 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
10612 esac
10613 case $ac_im_usrlibdir in
10614 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
10615 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
10616 esac
10618 cd ..
10619 rm -f -r conftest.dir
10622 # Standard set of common directories for X headers.
10623 # Check X11 before X11Rn because it is often a symlink to the current release.
10624 ac_x_header_dirs='
10625 /usr/X11/include
10626 /usr/X11R7/include
10627 /usr/X11R6/include
10628 /usr/X11R5/include
10629 /usr/X11R4/include
10631 /usr/include/X11
10632 /usr/include/X11R7
10633 /usr/include/X11R6
10634 /usr/include/X11R5
10635 /usr/include/X11R4
10637 /usr/local/X11/include
10638 /usr/local/X11R7/include
10639 /usr/local/X11R6/include
10640 /usr/local/X11R5/include
10641 /usr/local/X11R4/include
10643 /usr/local/include/X11
10644 /usr/local/include/X11R7
10645 /usr/local/include/X11R6
10646 /usr/local/include/X11R5
10647 /usr/local/include/X11R4
10649 /usr/X386/include
10650 /usr/x386/include
10651 /usr/XFree86/include/X11
10653 /usr/include
10654 /usr/local/include
10655 /usr/unsupported/include
10656 /usr/athena/include
10657 /usr/local/x11r5/include
10658 /usr/lpp/Xamples/include
10660 /usr/openwin/include
10661 /usr/openwin/share/include'
10663 if test "$ac_x_includes" = no; then
10664 # Guess where to find include files, by looking for Xlib.h.
10665 # First, try using that file with no special directory specified.
10666 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10667 /* end confdefs.h. */
10668 #include <X11/Xlib.h>
10669 _ACEOF
10670 if ac_fn_c_try_cpp "$LINENO"; then :
10671 # We can compile using X headers with no special include directory.
10672 ac_x_includes=
10673 else
10674 for ac_dir in $ac_x_header_dirs; do
10675 if test -r "$ac_dir/X11/Xlib.h"; then
10676 ac_x_includes=$ac_dir
10677 break
10679 done
10681 rm -f conftest.err conftest.i conftest.$ac_ext
10682 fi # $ac_x_includes = no
10684 if test "$ac_x_libraries" = no; then
10685 # Check for the libraries.
10686 # See if we find them without any special options.
10687 # Don't add to $LIBS permanently.
10688 ac_save_LIBS=$LIBS
10689 LIBS="-lX11 $LIBS"
10690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10691 /* end confdefs.h. */
10692 #include <X11/Xlib.h>
10694 main ()
10696 XrmInitialize ()
10698 return 0;
10700 _ACEOF
10701 if ac_fn_c_try_link "$LINENO"; then :
10702 LIBS=$ac_save_LIBS
10703 # We can link X programs with no special library path.
10704 ac_x_libraries=
10705 else
10706 LIBS=$ac_save_LIBS
10707 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
10709 # Don't even attempt the hair of trying to link an X program!
10710 for ac_extension in a so sl dylib la dll; do
10711 if test -r "$ac_dir/libX11.$ac_extension"; then
10712 ac_x_libraries=$ac_dir
10713 break 2
10715 done
10716 done
10718 rm -f core conftest.err conftest.$ac_objext \
10719 conftest$ac_exeext conftest.$ac_ext
10720 fi # $ac_x_libraries = no
10722 case $ac_x_includes,$ac_x_libraries in #(
10723 no,* | *,no | *\'*)
10724 # Didn't find X, or a directory has "'" in its name.
10725 ac_cv_have_x="have_x=no";; #(
10727 # Record where we found X for the cache.
10728 ac_cv_have_x="have_x=yes\
10729 ac_x_includes='$ac_x_includes'\
10730 ac_x_libraries='$ac_x_libraries'"
10731 esac
10733 ;; #(
10734 *) have_x=yes;;
10735 esac
10736 eval "$ac_cv_have_x"
10737 fi # $with_x != no
10739 if test "$have_x" != yes; then
10740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
10741 $as_echo "$have_x" >&6; }
10742 no_x=yes
10743 else
10744 # If each of the values was on the command line, it overrides each guess.
10745 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
10746 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
10747 # Update the cache value to reflect the command line values.
10748 ac_cv_have_x="have_x=yes\
10749 ac_x_includes='$x_includes'\
10750 ac_x_libraries='$x_libraries'"
10751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
10752 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
10755 if test "$no_x" = yes; then
10756 # Not all programs may use this symbol, but it does not hurt to define it.
10758 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
10760 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
10761 else
10762 if test -n "$x_includes"; then
10763 X_CFLAGS="$X_CFLAGS -I$x_includes"
10766 # It would also be nice to do this for all -L options, not just this one.
10767 if test -n "$x_libraries"; then
10768 X_LIBS="$X_LIBS -L$x_libraries"
10769 # For Solaris; some versions of Sun CC require a space after -R and
10770 # others require no space. Words are not sufficient . . . .
10771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
10772 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
10773 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
10774 ac_xsave_c_werror_flag=$ac_c_werror_flag
10775 ac_c_werror_flag=yes
10776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10777 /* end confdefs.h. */
10780 main ()
10784 return 0;
10786 _ACEOF
10787 if ac_fn_c_try_link "$LINENO"; then :
10788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10789 $as_echo "no" >&6; }
10790 X_LIBS="$X_LIBS -R$x_libraries"
10791 else
10792 LIBS="$ac_xsave_LIBS -R $x_libraries"
10793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10794 /* end confdefs.h. */
10797 main ()
10801 return 0;
10803 _ACEOF
10804 if ac_fn_c_try_link "$LINENO"; then :
10805 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10806 $as_echo "yes" >&6; }
10807 X_LIBS="$X_LIBS -R $x_libraries"
10808 else
10809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
10810 $as_echo "neither works" >&6; }
10812 rm -f core conftest.err conftest.$ac_objext \
10813 conftest$ac_exeext conftest.$ac_ext
10815 rm -f core conftest.err conftest.$ac_objext \
10816 conftest$ac_exeext conftest.$ac_ext
10817 ac_c_werror_flag=$ac_xsave_c_werror_flag
10818 LIBS=$ac_xsave_LIBS
10821 # Check for system-dependent libraries X programs must link with.
10822 # Do this before checking for the system-independent R6 libraries
10823 # (-lICE), since we may need -lsocket or whatever for X linking.
10825 if test "$ISC" = yes; then
10826 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
10827 else
10828 # Martyn Johnson says this is needed for Ultrix, if the X
10829 # libraries were built with DECnet support. And Karl Berry says
10830 # the Alpha needs dnet_stub (dnet does not exist).
10831 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
10832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10833 /* end confdefs.h. */
10835 /* Override any GCC internal prototype to avoid an error.
10836 Use char because int might match the return type of a GCC
10837 builtin and then its argument prototype would still apply. */
10838 #ifdef __cplusplus
10839 extern "C"
10840 #endif
10841 char XOpenDisplay ();
10843 main ()
10845 return XOpenDisplay ();
10847 return 0;
10849 _ACEOF
10850 if ac_fn_c_try_link "$LINENO"; then :
10852 else
10853 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
10854 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
10855 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
10856 $as_echo_n "(cached) " >&6
10857 else
10858 ac_check_lib_save_LIBS=$LIBS
10859 LIBS="-ldnet $LIBS"
10860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10861 /* end confdefs.h. */
10863 /* Override any GCC internal prototype to avoid an error.
10864 Use char because int might match the return type of a GCC
10865 builtin and then its argument prototype would still apply. */
10866 #ifdef __cplusplus
10867 extern "C"
10868 #endif
10869 char dnet_ntoa ();
10871 main ()
10873 return dnet_ntoa ();
10875 return 0;
10877 _ACEOF
10878 if ac_fn_c_try_link "$LINENO"; then :
10879 ac_cv_lib_dnet_dnet_ntoa=yes
10880 else
10881 ac_cv_lib_dnet_dnet_ntoa=no
10883 rm -f core conftest.err conftest.$ac_objext \
10884 conftest$ac_exeext conftest.$ac_ext
10885 LIBS=$ac_check_lib_save_LIBS
10887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
10888 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
10889 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
10890 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
10893 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
10894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
10895 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
10896 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
10897 $as_echo_n "(cached) " >&6
10898 else
10899 ac_check_lib_save_LIBS=$LIBS
10900 LIBS="-ldnet_stub $LIBS"
10901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10902 /* end confdefs.h. */
10904 /* Override any GCC internal prototype to avoid an error.
10905 Use char because int might match the return type of a GCC
10906 builtin and then its argument prototype would still apply. */
10907 #ifdef __cplusplus
10908 extern "C"
10909 #endif
10910 char dnet_ntoa ();
10912 main ()
10914 return dnet_ntoa ();
10916 return 0;
10918 _ACEOF
10919 if ac_fn_c_try_link "$LINENO"; then :
10920 ac_cv_lib_dnet_stub_dnet_ntoa=yes
10921 else
10922 ac_cv_lib_dnet_stub_dnet_ntoa=no
10924 rm -f core conftest.err conftest.$ac_objext \
10925 conftest$ac_exeext conftest.$ac_ext
10926 LIBS=$ac_check_lib_save_LIBS
10928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
10929 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
10930 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
10931 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
10936 rm -f core conftest.err conftest.$ac_objext \
10937 conftest$ac_exeext conftest.$ac_ext
10938 LIBS="$ac_xsave_LIBS"
10940 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
10941 # to get the SysV transport functions.
10942 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
10943 # needs -lnsl.
10944 # The nsl library prevents programs from opening the X display
10945 # on Irix 5.2, according to T.E. Dickey.
10946 # The functions gethostbyname, getservbyname, and inet_addr are
10947 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
10948 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
10949 if test "x$ac_cv_func_gethostbyname" = xyes; then :
10953 if test $ac_cv_func_gethostbyname = no; then
10954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
10955 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
10956 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
10957 $as_echo_n "(cached) " >&6
10958 else
10959 ac_check_lib_save_LIBS=$LIBS
10960 LIBS="-lnsl $LIBS"
10961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10962 /* end confdefs.h. */
10964 /* Override any GCC internal prototype to avoid an error.
10965 Use char because int might match the return type of a GCC
10966 builtin and then its argument prototype would still apply. */
10967 #ifdef __cplusplus
10968 extern "C"
10969 #endif
10970 char gethostbyname ();
10972 main ()
10974 return gethostbyname ();
10976 return 0;
10978 _ACEOF
10979 if ac_fn_c_try_link "$LINENO"; then :
10980 ac_cv_lib_nsl_gethostbyname=yes
10981 else
10982 ac_cv_lib_nsl_gethostbyname=no
10984 rm -f core conftest.err conftest.$ac_objext \
10985 conftest$ac_exeext conftest.$ac_ext
10986 LIBS=$ac_check_lib_save_LIBS
10988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
10989 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
10990 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
10991 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
10994 if test $ac_cv_lib_nsl_gethostbyname = no; then
10995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
10996 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
10997 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
10998 $as_echo_n "(cached) " >&6
10999 else
11000 ac_check_lib_save_LIBS=$LIBS
11001 LIBS="-lbsd $LIBS"
11002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11003 /* end confdefs.h. */
11005 /* Override any GCC internal prototype to avoid an error.
11006 Use char because int might match the return type of a GCC
11007 builtin and then its argument prototype would still apply. */
11008 #ifdef __cplusplus
11009 extern "C"
11010 #endif
11011 char gethostbyname ();
11013 main ()
11015 return gethostbyname ();
11017 return 0;
11019 _ACEOF
11020 if ac_fn_c_try_link "$LINENO"; then :
11021 ac_cv_lib_bsd_gethostbyname=yes
11022 else
11023 ac_cv_lib_bsd_gethostbyname=no
11025 rm -f core conftest.err conftest.$ac_objext \
11026 conftest$ac_exeext conftest.$ac_ext
11027 LIBS=$ac_check_lib_save_LIBS
11029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
11030 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
11031 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
11032 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
11038 # lieder@skyler.mavd.honeywell.com says without -lsocket,
11039 # socket/setsockopt and other routines are undefined under SCO ODT
11040 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
11041 # on later versions), says Simon Leinen: it contains gethostby*
11042 # variants that don't use the name server (or something). -lsocket
11043 # must be given before -lnsl if both are needed. We assume that
11044 # if connect needs -lnsl, so does gethostbyname.
11045 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
11046 if test "x$ac_cv_func_connect" = xyes; then :
11050 if test $ac_cv_func_connect = no; then
11051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
11052 $as_echo_n "checking for connect in -lsocket... " >&6; }
11053 if ${ac_cv_lib_socket_connect+:} false; then :
11054 $as_echo_n "(cached) " >&6
11055 else
11056 ac_check_lib_save_LIBS=$LIBS
11057 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
11058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11059 /* end confdefs.h. */
11061 /* Override any GCC internal prototype to avoid an error.
11062 Use char because int might match the return type of a GCC
11063 builtin and then its argument prototype would still apply. */
11064 #ifdef __cplusplus
11065 extern "C"
11066 #endif
11067 char connect ();
11069 main ()
11071 return connect ();
11073 return 0;
11075 _ACEOF
11076 if ac_fn_c_try_link "$LINENO"; then :
11077 ac_cv_lib_socket_connect=yes
11078 else
11079 ac_cv_lib_socket_connect=no
11081 rm -f core conftest.err conftest.$ac_objext \
11082 conftest$ac_exeext conftest.$ac_ext
11083 LIBS=$ac_check_lib_save_LIBS
11085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
11086 $as_echo "$ac_cv_lib_socket_connect" >&6; }
11087 if test "x$ac_cv_lib_socket_connect" = xyes; then :
11088 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
11093 # Guillermo Gomez says -lposix is necessary on A/UX.
11094 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
11095 if test "x$ac_cv_func_remove" = xyes; then :
11099 if test $ac_cv_func_remove = no; then
11100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
11101 $as_echo_n "checking for remove in -lposix... " >&6; }
11102 if ${ac_cv_lib_posix_remove+:} false; then :
11103 $as_echo_n "(cached) " >&6
11104 else
11105 ac_check_lib_save_LIBS=$LIBS
11106 LIBS="-lposix $LIBS"
11107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11108 /* end confdefs.h. */
11110 /* Override any GCC internal prototype to avoid an error.
11111 Use char because int might match the return type of a GCC
11112 builtin and then its argument prototype would still apply. */
11113 #ifdef __cplusplus
11114 extern "C"
11115 #endif
11116 char remove ();
11118 main ()
11120 return remove ();
11122 return 0;
11124 _ACEOF
11125 if ac_fn_c_try_link "$LINENO"; then :
11126 ac_cv_lib_posix_remove=yes
11127 else
11128 ac_cv_lib_posix_remove=no
11130 rm -f core conftest.err conftest.$ac_objext \
11131 conftest$ac_exeext conftest.$ac_ext
11132 LIBS=$ac_check_lib_save_LIBS
11134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
11135 $as_echo "$ac_cv_lib_posix_remove" >&6; }
11136 if test "x$ac_cv_lib_posix_remove" = xyes; then :
11137 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
11142 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
11143 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
11144 if test "x$ac_cv_func_shmat" = xyes; then :
11148 if test $ac_cv_func_shmat = no; then
11149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
11150 $as_echo_n "checking for shmat in -lipc... " >&6; }
11151 if ${ac_cv_lib_ipc_shmat+:} false; then :
11152 $as_echo_n "(cached) " >&6
11153 else
11154 ac_check_lib_save_LIBS=$LIBS
11155 LIBS="-lipc $LIBS"
11156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11157 /* end confdefs.h. */
11159 /* Override any GCC internal prototype to avoid an error.
11160 Use char because int might match the return type of a GCC
11161 builtin and then its argument prototype would still apply. */
11162 #ifdef __cplusplus
11163 extern "C"
11164 #endif
11165 char shmat ();
11167 main ()
11169 return shmat ();
11171 return 0;
11173 _ACEOF
11174 if ac_fn_c_try_link "$LINENO"; then :
11175 ac_cv_lib_ipc_shmat=yes
11176 else
11177 ac_cv_lib_ipc_shmat=no
11179 rm -f core conftest.err conftest.$ac_objext \
11180 conftest$ac_exeext conftest.$ac_ext
11181 LIBS=$ac_check_lib_save_LIBS
11183 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
11184 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
11185 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
11186 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
11192 # Check for libraries that X11R6 Xt/Xaw programs need.
11193 ac_save_LDFLAGS=$LDFLAGS
11194 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
11195 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
11196 # check for ICE first), but we must link in the order -lSM -lICE or
11197 # we get undefined symbols. So assume we have SM if we have ICE.
11198 # These have to be linked with before -lX11, unlike the other
11199 # libraries we check for below, so use a different variable.
11200 # John Interrante, Karl Berry
11201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
11202 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
11203 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
11204 $as_echo_n "(cached) " >&6
11205 else
11206 ac_check_lib_save_LIBS=$LIBS
11207 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
11208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11209 /* end confdefs.h. */
11211 /* Override any GCC internal prototype to avoid an error.
11212 Use char because int might match the return type of a GCC
11213 builtin and then its argument prototype would still apply. */
11214 #ifdef __cplusplus
11215 extern "C"
11216 #endif
11217 char IceConnectionNumber ();
11219 main ()
11221 return IceConnectionNumber ();
11223 return 0;
11225 _ACEOF
11226 if ac_fn_c_try_link "$LINENO"; then :
11227 ac_cv_lib_ICE_IceConnectionNumber=yes
11228 else
11229 ac_cv_lib_ICE_IceConnectionNumber=no
11231 rm -f core conftest.err conftest.$ac_objext \
11232 conftest$ac_exeext conftest.$ac_ext
11233 LIBS=$ac_check_lib_save_LIBS
11235 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
11236 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
11237 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
11238 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
11241 LDFLAGS=$ac_save_LDFLAGS
11246 if test "$have_x" = "yes"
11247 then
11248 ac_save_CPPFLAGS="$CPPFLAGS"
11249 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
11251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
11252 $as_echo_n "checking for -lX11... " >&6; }
11253 if ${ac_cv_lib_soname_X11+:} false; then :
11254 $as_echo_n "(cached) " >&6
11255 else
11256 ac_check_soname_save_LIBS=$LIBS
11257 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11259 /* end confdefs.h. */
11261 /* Override any GCC internal prototype to avoid an error.
11262 Use char because int might match the return type of a GCC
11263 builtin and then its argument prototype would still apply. */
11264 #ifdef __cplusplus
11265 extern "C"
11266 #endif
11267 char XCreateWindow ();
11269 main ()
11271 return XCreateWindow ();
11273 return 0;
11275 _ACEOF
11276 if ac_fn_c_try_link "$LINENO"; then :
11277 case "$LIBEXT" in
11278 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11279 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'` ;;
11280 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11281 if ${ac_cv_lib_soname_X11:+false} :; then :
11282 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11283 fi ;;
11284 esac
11285 else
11286 ac_cv_lib_soname_X11=
11288 rm -f core conftest.err conftest.$ac_objext \
11289 conftest$ac_exeext conftest.$ac_ext
11290 LIBS=$ac_check_soname_save_LIBS
11292 if ${ac_cv_lib_soname_X11:+false} :; then :
11293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11294 $as_echo "not found" >&6; }
11296 else
11297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
11298 $as_echo "$ac_cv_lib_soname_X11" >&6; }
11300 cat >>confdefs.h <<_ACEOF
11301 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
11302 _ACEOF
11306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
11307 $as_echo_n "checking for -lXext... " >&6; }
11308 if ${ac_cv_lib_soname_Xext+:} false; then :
11309 $as_echo_n "(cached) " >&6
11310 else
11311 ac_check_soname_save_LIBS=$LIBS
11312 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
11313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11314 /* end confdefs.h. */
11316 /* Override any GCC internal prototype to avoid an error.
11317 Use char because int might match the return type of a GCC
11318 builtin and then its argument prototype would still apply. */
11319 #ifdef __cplusplus
11320 extern "C"
11321 #endif
11322 char XextCreateExtension ();
11324 main ()
11326 return XextCreateExtension ();
11328 return 0;
11330 _ACEOF
11331 if ac_fn_c_try_link "$LINENO"; then :
11332 case "$LIBEXT" in
11333 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11334 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'` ;;
11335 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11336 if ${ac_cv_lib_soname_Xext:+false} :; then :
11337 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11338 fi ;;
11339 esac
11340 else
11341 ac_cv_lib_soname_Xext=
11343 rm -f core conftest.err conftest.$ac_objext \
11344 conftest$ac_exeext conftest.$ac_ext
11345 LIBS=$ac_check_soname_save_LIBS
11347 if ${ac_cv_lib_soname_Xext:+false} :; then :
11348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11349 $as_echo "not found" >&6; }
11351 else
11352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
11353 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
11355 cat >>confdefs.h <<_ACEOF
11356 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
11357 _ACEOF
11359 X_LIBS="$X_LIBS -lXext"
11361 X_LIBS="$X_LIBS -lX11"
11363 for ac_header in X11/Xlib.h \
11364 X11/XKBlib.h \
11365 X11/Xutil.h \
11366 X11/Xcursor/Xcursor.h \
11367 X11/extensions/shape.h \
11368 X11/extensions/XInput.h \
11369 X11/extensions/XInput2.h \
11370 X11/extensions/XShm.h \
11371 X11/extensions/Xcomposite.h \
11372 X11/extensions/Xfixes.h \
11373 X11/extensions/Xinerama.h \
11374 X11/extensions/Xrandr.h \
11375 X11/extensions/Xrender.h \
11376 X11/extensions/xf86vmode.h \
11377 X11/extensions/xf86vmproto.h
11378 do :
11379 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11380 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
11381 # include <X11/Xlib.h>
11382 #endif
11383 #ifdef HAVE_X11_XUTIL_H
11384 # include <X11/Xutil.h>
11385 #endif
11387 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11388 cat >>confdefs.h <<_ACEOF
11389 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11390 _ACEOF
11394 done
11397 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
11398 then
11399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
11400 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
11401 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
11402 $as_echo_n "(cached) " >&6
11403 else
11404 ac_check_lib_save_LIBS=$LIBS
11405 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11407 /* end confdefs.h. */
11409 /* Override any GCC internal prototype to avoid an error.
11410 Use char because int might match the return type of a GCC
11411 builtin and then its argument prototype would still apply. */
11412 #ifdef __cplusplus
11413 extern "C"
11414 #endif
11415 char XkbQueryExtension ();
11417 main ()
11419 return XkbQueryExtension ();
11421 return 0;
11423 _ACEOF
11424 if ac_fn_c_try_link "$LINENO"; then :
11425 ac_cv_lib_X11_XkbQueryExtension=yes
11426 else
11427 ac_cv_lib_X11_XkbQueryExtension=no
11429 rm -f core conftest.err conftest.$ac_objext \
11430 conftest$ac_exeext conftest.$ac_ext
11431 LIBS=$ac_check_lib_save_LIBS
11433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
11434 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
11435 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
11437 $as_echo "#define HAVE_XKB 1" >>confdefs.h
11443 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
11444 then
11445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
11446 $as_echo_n "checking for -lXcursor... " >&6; }
11447 if ${ac_cv_lib_soname_Xcursor+:} false; then :
11448 $as_echo_n "(cached) " >&6
11449 else
11450 ac_check_soname_save_LIBS=$LIBS
11451 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
11452 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11453 /* end confdefs.h. */
11455 /* Override any GCC internal prototype to avoid an error.
11456 Use char because int might match the return type of a GCC
11457 builtin and then its argument prototype would still apply. */
11458 #ifdef __cplusplus
11459 extern "C"
11460 #endif
11461 char XcursorImageLoadCursor ();
11463 main ()
11465 return XcursorImageLoadCursor ();
11467 return 0;
11469 _ACEOF
11470 if ac_fn_c_try_link "$LINENO"; then :
11471 case "$LIBEXT" in
11472 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11473 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'` ;;
11474 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11475 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11476 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11477 fi ;;
11478 esac
11479 else
11480 ac_cv_lib_soname_Xcursor=
11482 rm -f core conftest.err conftest.$ac_objext \
11483 conftest$ac_exeext conftest.$ac_ext
11484 LIBS=$ac_check_soname_save_LIBS
11486 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11488 $as_echo "not found" >&6; }
11490 else
11491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
11492 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
11494 cat >>confdefs.h <<_ACEOF
11495 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
11496 _ACEOF
11501 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
11502 case "x$with_xcursor" in
11503 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
11504 xno) ;;
11505 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
11506 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
11507 esac
11511 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
11512 then
11513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
11514 $as_echo_n "checking for -lXi... " >&6; }
11515 if ${ac_cv_lib_soname_Xi+:} false; then :
11516 $as_echo_n "(cached) " >&6
11517 else
11518 ac_check_soname_save_LIBS=$LIBS
11519 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
11520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11521 /* end confdefs.h. */
11523 /* Override any GCC internal prototype to avoid an error.
11524 Use char because int might match the return type of a GCC
11525 builtin and then its argument prototype would still apply. */
11526 #ifdef __cplusplus
11527 extern "C"
11528 #endif
11529 char XOpenDevice ();
11531 main ()
11533 return XOpenDevice ();
11535 return 0;
11537 _ACEOF
11538 if ac_fn_c_try_link "$LINENO"; then :
11539 case "$LIBEXT" in
11540 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11541 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'` ;;
11542 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11543 if ${ac_cv_lib_soname_Xi:+false} :; then :
11544 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11545 fi ;;
11546 esac
11547 else
11548 ac_cv_lib_soname_Xi=
11550 rm -f core conftest.err conftest.$ac_objext \
11551 conftest$ac_exeext conftest.$ac_ext
11552 LIBS=$ac_check_soname_save_LIBS
11554 if ${ac_cv_lib_soname_Xi:+false} :; then :
11555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11556 $as_echo "not found" >&6; }
11558 else
11559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
11560 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
11562 cat >>confdefs.h <<_ACEOF
11563 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
11564 _ACEOF
11569 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
11570 case "x$with_xinput" in
11571 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
11572 xno) ;;
11573 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
11574 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
11575 esac
11579 if test "x$ac_cv_lib_soname_Xi" != x
11580 then
11581 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
11582 case "x$with_xinput2" in
11583 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
11584 xno) ;;
11585 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
11586 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
11587 esac
11592 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
11593 then
11594 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
11595 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
11596 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
11597 $as_echo_n "(cached) " >&6
11598 else
11599 ac_check_lib_save_LIBS=$LIBS
11600 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11601 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11602 /* end confdefs.h. */
11604 /* Override any GCC internal prototype to avoid an error.
11605 Use char because int might match the return type of a GCC
11606 builtin and then its argument prototype would still apply. */
11607 #ifdef __cplusplus
11608 extern "C"
11609 #endif
11610 char XShmQueryExtension ();
11612 main ()
11614 return XShmQueryExtension ();
11616 return 0;
11618 _ACEOF
11619 if ac_fn_c_try_link "$LINENO"; then :
11620 ac_cv_lib_Xext_XShmQueryExtension=yes
11621 else
11622 ac_cv_lib_Xext_XShmQueryExtension=no
11624 rm -f core conftest.err conftest.$ac_objext \
11625 conftest$ac_exeext conftest.$ac_ext
11626 LIBS=$ac_check_lib_save_LIBS
11628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
11629 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
11630 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
11632 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
11637 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
11638 case "x$with_xshm" in
11639 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
11640 xno) ;;
11641 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
11642 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
11643 esac
11647 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
11648 then
11649 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
11650 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
11651 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
11652 $as_echo_n "(cached) " >&6
11653 else
11654 ac_check_lib_save_LIBS=$LIBS
11655 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11657 /* end confdefs.h. */
11659 /* Override any GCC internal prototype to avoid an error.
11660 Use char because int might match the return type of a GCC
11661 builtin and then its argument prototype would still apply. */
11662 #ifdef __cplusplus
11663 extern "C"
11664 #endif
11665 char XShapeQueryExtension ();
11667 main ()
11669 return XShapeQueryExtension ();
11671 return 0;
11673 _ACEOF
11674 if ac_fn_c_try_link "$LINENO"; then :
11675 ac_cv_lib_Xext_XShapeQueryExtension=yes
11676 else
11677 ac_cv_lib_Xext_XShapeQueryExtension=no
11679 rm -f core conftest.err conftest.$ac_objext \
11680 conftest$ac_exeext conftest.$ac_ext
11681 LIBS=$ac_check_lib_save_LIBS
11683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
11684 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
11685 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
11687 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
11692 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
11693 case "x$with_xshape" in
11694 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
11695 xno) ;;
11696 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
11697 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
11698 esac
11702 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
11703 then
11704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
11705 $as_echo_n "checking for -lXxf86vm... " >&6; }
11706 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
11707 $as_echo_n "(cached) " >&6
11708 else
11709 ac_check_soname_save_LIBS=$LIBS
11710 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
11711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11712 /* end confdefs.h. */
11714 /* Override any GCC internal prototype to avoid an error.
11715 Use char because int might match the return type of a GCC
11716 builtin and then its argument prototype would still apply. */
11717 #ifdef __cplusplus
11718 extern "C"
11719 #endif
11720 char XF86VidModeQueryExtension ();
11722 main ()
11724 return XF86VidModeQueryExtension ();
11726 return 0;
11728 _ACEOF
11729 if ac_fn_c_try_link "$LINENO"; then :
11730 case "$LIBEXT" in
11731 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11732 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'` ;;
11733 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11734 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
11735 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11736 fi ;;
11737 esac
11738 else
11739 ac_cv_lib_soname_Xxf86vm=
11741 rm -f core conftest.err conftest.$ac_objext \
11742 conftest$ac_exeext conftest.$ac_ext
11743 LIBS=$ac_check_soname_save_LIBS
11745 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
11746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11747 $as_echo "not found" >&6; }
11749 else
11750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
11751 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
11753 cat >>confdefs.h <<_ACEOF
11754 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
11755 _ACEOF
11760 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
11761 case "x$with_xxf86vm" in
11762 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
11763 xno) ;;
11764 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
11765 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
11766 esac
11770 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
11771 then
11772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
11773 $as_echo_n "checking for -lXrender... " >&6; }
11774 if ${ac_cv_lib_soname_Xrender+:} false; then :
11775 $as_echo_n "(cached) " >&6
11776 else
11777 ac_check_soname_save_LIBS=$LIBS
11778 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
11779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11780 /* end confdefs.h. */
11782 /* Override any GCC internal prototype to avoid an error.
11783 Use char because int might match the return type of a GCC
11784 builtin and then its argument prototype would still apply. */
11785 #ifdef __cplusplus
11786 extern "C"
11787 #endif
11788 char XRenderQueryExtension ();
11790 main ()
11792 return XRenderQueryExtension ();
11794 return 0;
11796 _ACEOF
11797 if ac_fn_c_try_link "$LINENO"; then :
11798 case "$LIBEXT" in
11799 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11800 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'` ;;
11801 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11802 if ${ac_cv_lib_soname_Xrender:+false} :; then :
11803 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11804 fi ;;
11805 esac
11806 else
11807 ac_cv_lib_soname_Xrender=
11809 rm -f core conftest.err conftest.$ac_objext \
11810 conftest$ac_exeext conftest.$ac_ext
11811 LIBS=$ac_check_soname_save_LIBS
11813 if ${ac_cv_lib_soname_Xrender:+false} :; then :
11814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11815 $as_echo "not found" >&6; }
11817 else
11818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
11819 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
11821 cat >>confdefs.h <<_ACEOF
11822 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
11823 _ACEOF
11825 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
11826 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
11827 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
11828 $as_echo_n "(cached) " >&6
11829 else
11830 ac_check_lib_save_LIBS=$LIBS
11831 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
11832 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11833 /* end confdefs.h. */
11835 /* Override any GCC internal prototype to avoid an error.
11836 Use char because int might match the return type of a GCC
11837 builtin and then its argument prototype would still apply. */
11838 #ifdef __cplusplus
11839 extern "C"
11840 #endif
11841 char XRenderSetPictureTransform ();
11843 main ()
11845 return XRenderSetPictureTransform ();
11847 return 0;
11849 _ACEOF
11850 if ac_fn_c_try_link "$LINENO"; then :
11851 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
11852 else
11853 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
11855 rm -f core conftest.err conftest.$ac_objext \
11856 conftest$ac_exeext conftest.$ac_ext
11857 LIBS=$ac_check_lib_save_LIBS
11859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
11860 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
11861 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
11863 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
11867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
11868 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
11869 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
11870 $as_echo_n "(cached) " >&6
11871 else
11872 ac_check_lib_save_LIBS=$LIBS
11873 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
11874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11875 /* end confdefs.h. */
11877 /* Override any GCC internal prototype to avoid an error.
11878 Use char because int might match the return type of a GCC
11879 builtin and then its argument prototype would still apply. */
11880 #ifdef __cplusplus
11881 extern "C"
11882 #endif
11883 char XRenderCreateLinearGradient ();
11885 main ()
11887 return XRenderCreateLinearGradient ();
11889 return 0;
11891 _ACEOF
11892 if ac_fn_c_try_link "$LINENO"; then :
11893 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
11894 else
11895 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
11897 rm -f core conftest.err conftest.$ac_objext \
11898 conftest$ac_exeext conftest.$ac_ext
11899 LIBS=$ac_check_lib_save_LIBS
11901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
11902 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
11903 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
11905 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
11912 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
11913 case "x$with_xrender" in
11914 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
11915 xno) ;;
11916 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
11917 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
11918 esac
11922 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
11923 then
11924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11925 /* end confdefs.h. */
11926 #include <X11/Xlib.h>
11927 #include <X11/extensions/Xrandr.h>
11929 main ()
11931 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
11933 return 0;
11935 _ACEOF
11936 if ac_fn_c_try_compile "$LINENO"; then :
11937 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
11938 $as_echo_n "checking for -lXrandr... " >&6; }
11939 if ${ac_cv_lib_soname_Xrandr+:} false; then :
11940 $as_echo_n "(cached) " >&6
11941 else
11942 ac_check_soname_save_LIBS=$LIBS
11943 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
11944 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11945 /* end confdefs.h. */
11947 /* Override any GCC internal prototype to avoid an error.
11948 Use char because int might match the return type of a GCC
11949 builtin and then its argument prototype would still apply. */
11950 #ifdef __cplusplus
11951 extern "C"
11952 #endif
11953 char XRRQueryExtension ();
11955 main ()
11957 return XRRQueryExtension ();
11959 return 0;
11961 _ACEOF
11962 if ac_fn_c_try_link "$LINENO"; then :
11963 case "$LIBEXT" in
11964 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11965 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'` ;;
11966 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11967 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
11968 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11969 fi ;;
11970 esac
11971 else
11972 ac_cv_lib_soname_Xrandr=
11974 rm -f core conftest.err conftest.$ac_objext \
11975 conftest$ac_exeext conftest.$ac_ext
11976 LIBS=$ac_check_soname_save_LIBS
11978 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
11979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11980 $as_echo "not found" >&6; }
11982 else
11983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
11984 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
11986 cat >>confdefs.h <<_ACEOF
11987 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
11988 _ACEOF
11990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11991 /* end confdefs.h. */
11992 #include <X11/Xlib.h>
11993 #include <X11/extensions/Xrandr.h>
11995 main ()
11997 static typeof(XRRGetScreenResources) *f; if (f) return 0;
11999 return 0;
12001 _ACEOF
12002 if ac_fn_c_try_compile "$LINENO"; then :
12004 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
12007 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12008 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12009 /* end confdefs.h. */
12010 #include <X11/Xlib.h>
12011 #include <X11/extensions/Xrandr.h>
12013 main ()
12015 static typeof(XRRGetProviderResources) *f; if (f) return 0;
12017 return 0;
12019 _ACEOF
12020 if ac_fn_c_try_compile "$LINENO"; then :
12022 $as_echo "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
12024 else
12025 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
12027 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12030 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12032 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
12033 case "x$with_xrandr" in
12034 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
12035 xno) ;;
12036 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
12037 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
12038 esac
12042 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
12043 then
12044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12045 /* end confdefs.h. */
12046 #include <X11/Xlib.h>
12047 #include <X11/extensions/Xfixes.h>
12049 main ()
12051 static typeof(XFixesQueryVersion) * func; if (func) return 0;
12053 return 0;
12055 _ACEOF
12056 if ac_fn_c_try_compile "$LINENO"; then :
12057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
12058 $as_echo_n "checking for -lXfixes... " >&6; }
12059 if ${ac_cv_lib_soname_Xfixes+:} false; then :
12060 $as_echo_n "(cached) " >&6
12061 else
12062 ac_check_soname_save_LIBS=$LIBS
12063 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
12064 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12065 /* end confdefs.h. */
12067 /* Override any GCC internal prototype to avoid an error.
12068 Use char because int might match the return type of a GCC
12069 builtin and then its argument prototype would still apply. */
12070 #ifdef __cplusplus
12071 extern "C"
12072 #endif
12073 char XFixesQueryVersion ();
12075 main ()
12077 return XFixesQueryVersion ();
12079 return 0;
12081 _ACEOF
12082 if ac_fn_c_try_link "$LINENO"; then :
12083 case "$LIBEXT" in
12084 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12085 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'` ;;
12086 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12087 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12088 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12089 fi ;;
12090 esac
12091 else
12092 ac_cv_lib_soname_Xfixes=
12094 rm -f core conftest.err conftest.$ac_objext \
12095 conftest$ac_exeext conftest.$ac_ext
12096 LIBS=$ac_check_soname_save_LIBS
12098 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12100 $as_echo "not found" >&6; }
12102 else
12103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
12104 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
12106 cat >>confdefs.h <<_ACEOF
12107 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
12108 _ACEOF
12113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12115 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
12116 case "x$with_xfixes" in
12117 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
12118 xno) ;;
12119 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
12120 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
12121 esac
12125 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
12126 then
12127 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12128 /* end confdefs.h. */
12129 #include <X11/Xlib.h>
12130 #include <X11/extensions/Xinerama.h>
12132 main ()
12134 static typeof(XineramaQueryScreens) * func; if (func) return 0;
12136 return 0;
12138 _ACEOF
12139 if ac_fn_c_try_compile "$LINENO"; then :
12140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
12141 $as_echo_n "checking for -lXinerama... " >&6; }
12142 if ${ac_cv_lib_soname_Xinerama+:} false; then :
12143 $as_echo_n "(cached) " >&6
12144 else
12145 ac_check_soname_save_LIBS=$LIBS
12146 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
12147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12148 /* end confdefs.h. */
12150 /* Override any GCC internal prototype to avoid an error.
12151 Use char because int might match the return type of a GCC
12152 builtin and then its argument prototype would still apply. */
12153 #ifdef __cplusplus
12154 extern "C"
12155 #endif
12156 char XineramaQueryScreens ();
12158 main ()
12160 return XineramaQueryScreens ();
12162 return 0;
12164 _ACEOF
12165 if ac_fn_c_try_link "$LINENO"; then :
12166 case "$LIBEXT" in
12167 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12168 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'` ;;
12169 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12170 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12171 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12172 fi ;;
12173 esac
12174 else
12175 ac_cv_lib_soname_Xinerama=
12177 rm -f core conftest.err conftest.$ac_objext \
12178 conftest$ac_exeext conftest.$ac_ext
12179 LIBS=$ac_check_soname_save_LIBS
12181 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12183 $as_echo "not found" >&6; }
12185 else
12186 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
12187 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
12189 cat >>confdefs.h <<_ACEOF
12190 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
12191 _ACEOF
12196 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12198 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
12199 case "x$with_xinerama" in
12200 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
12201 xno) ;;
12202 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
12203 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
12204 esac
12208 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
12209 then
12210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
12211 $as_echo_n "checking for -lXcomposite... " >&6; }
12212 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
12213 $as_echo_n "(cached) " >&6
12214 else
12215 ac_check_soname_save_LIBS=$LIBS
12216 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
12217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12218 /* end confdefs.h. */
12220 /* Override any GCC internal prototype to avoid an error.
12221 Use char because int might match the return type of a GCC
12222 builtin and then its argument prototype would still apply. */
12223 #ifdef __cplusplus
12224 extern "C"
12225 #endif
12226 char XCompositeRedirectWindow ();
12228 main ()
12230 return XCompositeRedirectWindow ();
12232 return 0;
12234 _ACEOF
12235 if ac_fn_c_try_link "$LINENO"; then :
12236 case "$LIBEXT" in
12237 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12238 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'` ;;
12239 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12240 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12241 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12242 fi ;;
12243 esac
12244 else
12245 ac_cv_lib_soname_Xcomposite=
12247 rm -f core conftest.err conftest.$ac_objext \
12248 conftest$ac_exeext conftest.$ac_ext
12249 LIBS=$ac_check_soname_save_LIBS
12251 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12253 $as_echo "not found" >&6; }
12255 else
12256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
12257 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
12259 cat >>confdefs.h <<_ACEOF
12260 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
12261 _ACEOF
12266 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
12267 case "x$with_xcomposite" in
12268 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
12269 xno) ;;
12270 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
12271 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
12272 esac
12276 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
12277 #include <X11/Xlib.h>
12278 #endif
12280 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
12282 cat >>confdefs.h <<_ACEOF
12283 #define HAVE_XICCALLBACK_CALLBACK 1
12284 _ACEOF
12288 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
12289 #include <X11/Xlib.h>
12290 #endif
12292 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
12294 cat >>confdefs.h <<_ACEOF
12295 #define HAVE_XEVENT_XCOOKIE 1
12296 _ACEOF
12303 opengl_msg=""
12304 if test "x$with_opengl" != "xno"
12305 then
12306 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12307 $as_echo_n "checking for -lGL... " >&6; }
12308 if ${ac_cv_lib_soname_GL+:} false; then :
12309 $as_echo_n "(cached) " >&6
12310 else
12311 ac_check_soname_save_LIBS=$LIBS
12312 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12314 /* end confdefs.h. */
12316 /* Override any GCC internal prototype to avoid an error.
12317 Use char because int might match the return type of a GCC
12318 builtin and then its argument prototype would still apply. */
12319 #ifdef __cplusplus
12320 extern "C"
12321 #endif
12322 char glXCreateContext ();
12324 main ()
12326 return glXCreateContext ();
12328 return 0;
12330 _ACEOF
12331 if ac_fn_c_try_link "$LINENO"; then :
12332 case "$LIBEXT" in
12333 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12334 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'` ;;
12335 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12336 if ${ac_cv_lib_soname_GL:+false} :; then :
12337 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12338 fi ;;
12339 esac
12340 else
12341 ac_cv_lib_soname_GL=
12343 rm -f core conftest.err conftest.$ac_objext \
12344 conftest$ac_exeext conftest.$ac_ext
12345 LIBS=$ac_check_soname_save_LIBS
12347 if ${ac_cv_lib_soname_GL:+false} :; then :
12348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12349 $as_echo "not found" >&6; }
12350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12351 $as_echo_n "checking for -lGL... " >&6; }
12352 if ${ac_cv_lib_soname_GL+:} false; then :
12353 $as_echo_n "(cached) " >&6
12354 else
12355 ac_check_soname_save_LIBS=$LIBS
12356 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"
12357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12358 /* end confdefs.h. */
12360 /* Override any GCC internal prototype to avoid an error.
12361 Use char because int might match the return type of a GCC
12362 builtin and then its argument prototype would still apply. */
12363 #ifdef __cplusplus
12364 extern "C"
12365 #endif
12366 char glXCreateContext ();
12368 main ()
12370 return glXCreateContext ();
12372 return 0;
12374 _ACEOF
12375 if ac_fn_c_try_link "$LINENO"; then :
12376 case "$LIBEXT" in
12377 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12378 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'` ;;
12379 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12380 if ${ac_cv_lib_soname_GL:+false} :; then :
12381 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12382 fi ;;
12383 esac
12384 else
12385 ac_cv_lib_soname_GL=
12387 rm -f core conftest.err conftest.$ac_objext \
12388 conftest$ac_exeext conftest.$ac_ext
12389 LIBS=$ac_check_soname_save_LIBS
12391 if ${ac_cv_lib_soname_GL:+false} :; then :
12392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12393 $as_echo "not found" >&6; }
12394 if test -f /usr/X11R6/lib/libGL.a
12395 then
12396 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
12397 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
12398 else
12399 opengl_msg="No OpenGL library found on this system."
12401 else
12402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12403 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12405 cat >>confdefs.h <<_ACEOF
12406 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12407 _ACEOF
12409 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"
12411 else
12412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12413 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12415 cat >>confdefs.h <<_ACEOF
12416 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12417 _ACEOF
12419 OPENGL_LIBS="-lGL"
12421 if test "x$with_glu" != "xno"
12422 then
12423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
12424 $as_echo_n "checking for -lGLU... " >&6; }
12425 if ${ac_cv_lib_soname_GLU+:} false; then :
12426 $as_echo_n "(cached) " >&6
12427 else
12428 ac_check_soname_save_LIBS=$LIBS
12429 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12431 /* end confdefs.h. */
12433 /* Override any GCC internal prototype to avoid an error.
12434 Use char because int might match the return type of a GCC
12435 builtin and then its argument prototype would still apply. */
12436 #ifdef __cplusplus
12437 extern "C"
12438 #endif
12439 char gluLookAt ();
12441 main ()
12443 return gluLookAt ();
12445 return 0;
12447 _ACEOF
12448 if ac_fn_c_try_link "$LINENO"; then :
12449 case "$LIBEXT" in
12450 dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12451 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'` ;;
12452 *) ac_cv_lib_soname_GLU=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLU\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLU\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12453 if ${ac_cv_lib_soname_GLU:+false} :; then :
12454 ac_cv_lib_soname_GLU=`$LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12455 fi ;;
12456 esac
12457 else
12458 ac_cv_lib_soname_GLU=
12460 rm -f core conftest.err conftest.$ac_objext \
12461 conftest$ac_exeext conftest.$ac_ext
12462 LIBS=$ac_check_soname_save_LIBS
12464 if ${ac_cv_lib_soname_GLU:+false} :; then :
12465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12466 $as_echo "not found" >&6; }
12468 else
12469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
12470 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
12472 cat >>confdefs.h <<_ACEOF
12473 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
12474 _ACEOF
12478 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
12479 case "x$with_glu" in
12480 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
12481 xno) ;;
12482 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
12483 This is an error since --with-glu was requested." "$LINENO" 5 ;;
12484 esac
12489 if test "x$with_osmesa" != "xno"
12490 then
12491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
12492 $as_echo_n "checking for -lOSMesa... " >&6; }
12493 if ${ac_cv_lib_soname_OSMesa+:} false; then :
12494 $as_echo_n "(cached) " >&6
12495 else
12496 ac_check_soname_save_LIBS=$LIBS
12497 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12499 /* end confdefs.h. */
12501 /* Override any GCC internal prototype to avoid an error.
12502 Use char because int might match the return type of a GCC
12503 builtin and then its argument prototype would still apply. */
12504 #ifdef __cplusplus
12505 extern "C"
12506 #endif
12507 char OSMesaGetProcAddress ();
12509 main ()
12511 return OSMesaGetProcAddress ();
12513 return 0;
12515 _ACEOF
12516 if ac_fn_c_try_link "$LINENO"; then :
12517 case "$LIBEXT" in
12518 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12519 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'` ;;
12520 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12521 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12522 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12523 fi ;;
12524 esac
12525 else
12526 ac_cv_lib_soname_OSMesa=
12528 rm -f core conftest.err conftest.$ac_objext \
12529 conftest$ac_exeext conftest.$ac_ext
12530 LIBS=$ac_check_soname_save_LIBS
12532 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12534 $as_echo "not found" >&6; }
12536 else
12537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
12538 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
12540 cat >>confdefs.h <<_ACEOF
12541 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
12542 _ACEOF
12546 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
12547 case "x$with_osmesa" in
12548 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
12549 xno) ;;
12550 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
12551 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
12552 esac
12557 if test -n "$opengl_msg"; then :
12558 case "x$with_opengl" in
12559 x) as_fn_append wine_warnings "|$opengl_msg
12560 OpenGL and Direct3D won't be supported." ;;
12561 xno) ;;
12562 *) as_fn_error $? "$opengl_msg
12563 OpenGL and Direct3D won't be supported.
12564 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
12565 esac
12569 CPPFLAGS="$ac_save_CPPFLAGS"
12570 else
12571 X_CFLAGS=""
12572 X_LIBS=""
12575 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
12576 then
12577 if test "x$X_LIBS" = "x"; then :
12578 case "x$with_x" in
12579 xno) ;;
12580 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
12581 without X support, which probably isn't what you want. You will need
12582 to install ${notice_platform}development packages of Xlib at the very least.
12583 Use the --without-x option if you really want this." "$LINENO" 5 ;;
12584 esac
12585 enable_winex11_drv=${enable_winex11_drv:-no}
12587 else
12588 if test "x$X_LIBS" = "x"; then :
12589 case "x$with_x" in
12590 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
12591 xno) ;;
12592 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
12593 This is an error since --with-x was requested." "$LINENO" 5 ;;
12594 esac
12595 enable_winex11_drv=${enable_winex11_drv:-no}
12599 if test "$ac_cv_header_CL_cl_h" = "yes"
12600 then
12601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
12602 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
12603 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
12604 $as_echo_n "(cached) " >&6
12605 else
12606 ac_check_lib_save_LIBS=$LIBS
12607 LIBS="-lOpenCL $LIBS"
12608 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12609 /* end confdefs.h. */
12611 /* Override any GCC internal prototype to avoid an error.
12612 Use char because int might match the return type of a GCC
12613 builtin and then its argument prototype would still apply. */
12614 #ifdef __cplusplus
12615 extern "C"
12616 #endif
12617 char clGetPlatformInfo ();
12619 main ()
12621 return clGetPlatformInfo ();
12623 return 0;
12625 _ACEOF
12626 if ac_fn_c_try_link "$LINENO"; then :
12627 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
12628 else
12629 ac_cv_lib_OpenCL_clGetPlatformInfo=no
12631 rm -f core conftest.err conftest.$ac_objext \
12632 conftest$ac_exeext conftest.$ac_ext
12633 LIBS=$ac_check_lib_save_LIBS
12635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
12636 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
12637 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
12638 OPENCL_LIBS="-lOpenCL"
12643 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
12644 case "x$with_opencl" in
12645 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
12646 xno) ;;
12647 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
12648 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
12649 esac
12650 enable_opencl=${enable_opencl:-no}
12653 if test "$ac_cv_header_pcap_pcap_h" = "yes"
12654 then
12655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
12656 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
12657 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
12658 $as_echo_n "(cached) " >&6
12659 else
12660 ac_check_lib_save_LIBS=$LIBS
12661 LIBS="-lpcap $LIBS"
12662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12663 /* end confdefs.h. */
12665 /* Override any GCC internal prototype to avoid an error.
12666 Use char because int might match the return type of a GCC
12667 builtin and then its argument prototype would still apply. */
12668 #ifdef __cplusplus
12669 extern "C"
12670 #endif
12671 char pcap_create ();
12673 main ()
12675 return pcap_create ();
12677 return 0;
12679 _ACEOF
12680 if ac_fn_c_try_link "$LINENO"; then :
12681 ac_cv_lib_pcap_pcap_create=yes
12682 else
12683 ac_cv_lib_pcap_pcap_create=no
12685 rm -f core conftest.err conftest.$ac_objext \
12686 conftest$ac_exeext conftest.$ac_ext
12687 LIBS=$ac_check_lib_save_LIBS
12689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
12690 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
12691 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
12692 PCAP_LIBS="-lpcap"
12697 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
12698 case "x$with_pcap" in
12699 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
12700 xno) ;;
12701 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
12702 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
12703 esac
12704 enable_wpcap=${enable_wpcap:-no}
12708 if test "x$with_xml" != "xno"
12709 then
12710 if ${XML2_CFLAGS:+false} :; then :
12711 if ${PKG_CONFIG+:} false; then :
12712 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12715 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
12716 if ${XML2_LIBS:+false} :; then :
12717 if ${PKG_CONFIG+:} false; then :
12718 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12721 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
12722 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
12723 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
12724 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
12725 ac_save_CPPFLAGS=$CPPFLAGS
12726 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
12727 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
12728 do :
12729 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12730 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12731 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12732 cat >>confdefs.h <<_ACEOF
12733 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12734 _ACEOF
12738 done
12740 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"
12741 then
12742 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
12743 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
12744 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
12745 $as_echo_n "(cached) " >&6
12746 else
12747 ac_check_lib_save_LIBS=$LIBS
12748 LIBS="-lxml2 $XML2_LIBS $LIBS"
12749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12750 /* end confdefs.h. */
12752 /* Override any GCC internal prototype to avoid an error.
12753 Use char because int might match the return type of a GCC
12754 builtin and then its argument prototype would still apply. */
12755 #ifdef __cplusplus
12756 extern "C"
12757 #endif
12758 char xmlParseMemory ();
12760 main ()
12762 return xmlParseMemory ();
12764 return 0;
12766 _ACEOF
12767 if ac_fn_c_try_link "$LINENO"; then :
12768 ac_cv_lib_xml2_xmlParseMemory=yes
12769 else
12770 ac_cv_lib_xml2_xmlParseMemory=no
12772 rm -f core conftest.err conftest.$ac_objext \
12773 conftest$ac_exeext conftest.$ac_ext
12774 LIBS=$ac_check_lib_save_LIBS
12776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
12777 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
12778 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
12780 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
12782 else
12783 XML2_LIBS=""
12786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
12787 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
12788 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
12789 $as_echo_n "(cached) " >&6
12790 else
12791 ac_check_lib_save_LIBS=$LIBS
12792 LIBS="-lxml2 $XML2_LIBS $LIBS"
12793 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12794 /* end confdefs.h. */
12796 /* Override any GCC internal prototype to avoid an error.
12797 Use char because int might match the return type of a GCC
12798 builtin and then its argument prototype would still apply. */
12799 #ifdef __cplusplus
12800 extern "C"
12801 #endif
12802 char xmlReadMemory ();
12804 main ()
12806 return xmlReadMemory ();
12808 return 0;
12810 _ACEOF
12811 if ac_fn_c_try_link "$LINENO"; then :
12812 ac_cv_lib_xml2_xmlReadMemory=yes
12813 else
12814 ac_cv_lib_xml2_xmlReadMemory=no
12816 rm -f core conftest.err conftest.$ac_objext \
12817 conftest$ac_exeext conftest.$ac_ext
12818 LIBS=$ac_check_lib_save_LIBS
12820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
12821 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
12822 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
12824 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
12828 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
12829 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
12830 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
12831 $as_echo_n "(cached) " >&6
12832 else
12833 ac_check_lib_save_LIBS=$LIBS
12834 LIBS="-lxml2 $XML2_LIBS $LIBS"
12835 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12836 /* end confdefs.h. */
12838 /* Override any GCC internal prototype to avoid an error.
12839 Use char because int might match the return type of a GCC
12840 builtin and then its argument prototype would still apply. */
12841 #ifdef __cplusplus
12842 extern "C"
12843 #endif
12844 char xmlNewDocPI ();
12846 main ()
12848 return xmlNewDocPI ();
12850 return 0;
12852 _ACEOF
12853 if ac_fn_c_try_link "$LINENO"; then :
12854 ac_cv_lib_xml2_xmlNewDocPI=yes
12855 else
12856 ac_cv_lib_xml2_xmlNewDocPI=no
12858 rm -f core conftest.err conftest.$ac_objext \
12859 conftest$ac_exeext conftest.$ac_ext
12860 LIBS=$ac_check_lib_save_LIBS
12862 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
12863 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
12864 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
12866 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
12870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
12871 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
12872 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
12873 $as_echo_n "(cached) " >&6
12874 else
12875 ac_check_lib_save_LIBS=$LIBS
12876 LIBS="-lxml2 $XML2_LIBS $LIBS"
12877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12878 /* end confdefs.h. */
12880 /* Override any GCC internal prototype to avoid an error.
12881 Use char because int might match the return type of a GCC
12882 builtin and then its argument prototype would still apply. */
12883 #ifdef __cplusplus
12884 extern "C"
12885 #endif
12886 char xmlSchemaSetParserStructuredErrors ();
12888 main ()
12890 return xmlSchemaSetParserStructuredErrors ();
12892 return 0;
12894 _ACEOF
12895 if ac_fn_c_try_link "$LINENO"; then :
12896 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
12897 else
12898 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
12900 rm -f core conftest.err conftest.$ac_objext \
12901 conftest$ac_exeext conftest.$ac_ext
12902 LIBS=$ac_check_lib_save_LIBS
12904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
12905 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
12906 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
12908 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
12912 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
12913 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
12914 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
12915 $as_echo_n "(cached) " >&6
12916 else
12917 ac_check_lib_save_LIBS=$LIBS
12918 LIBS="-lxml2 $XML2_LIBS $LIBS"
12919 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12920 /* end confdefs.h. */
12922 /* Override any GCC internal prototype to avoid an error.
12923 Use char because int might match the return type of a GCC
12924 builtin and then its argument prototype would still apply. */
12925 #ifdef __cplusplus
12926 extern "C"
12927 #endif
12928 char xmlSchemaSetValidStructuredErrors ();
12930 main ()
12932 return xmlSchemaSetValidStructuredErrors ();
12934 return 0;
12936 _ACEOF
12937 if ac_fn_c_try_link "$LINENO"; then :
12938 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
12939 else
12940 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
12942 rm -f core conftest.err conftest.$ac_objext \
12943 conftest$ac_exeext conftest.$ac_ext
12944 LIBS=$ac_check_lib_save_LIBS
12946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
12947 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
12948 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
12950 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
12954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
12955 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
12956 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
12957 $as_echo_n "(cached) " >&6
12958 else
12959 ac_check_lib_save_LIBS=$LIBS
12960 LIBS="-lxml2 $XML2_LIBS $LIBS"
12961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12962 /* end confdefs.h. */
12964 /* Override any GCC internal prototype to avoid an error.
12965 Use char because int might match the return type of a GCC
12966 builtin and then its argument prototype would still apply. */
12967 #ifdef __cplusplus
12968 extern "C"
12969 #endif
12970 char xmlFirstElementChild ();
12972 main ()
12974 return xmlFirstElementChild ();
12976 return 0;
12978 _ACEOF
12979 if ac_fn_c_try_link "$LINENO"; then :
12980 ac_cv_lib_xml2_xmlFirstElementChild=yes
12981 else
12982 ac_cv_lib_xml2_xmlFirstElementChild=no
12984 rm -f core conftest.err conftest.$ac_objext \
12985 conftest$ac_exeext conftest.$ac_ext
12986 LIBS=$ac_check_lib_save_LIBS
12988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
12989 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
12990 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
12992 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
12996 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
12998 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
13000 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
13004 else
13005 XML2_CFLAGS=""
13006 XML2_LIBS=""
13008 CPPFLAGS=$ac_save_CPPFLAGS
13009 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13010 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13013 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
13014 case "x$with_xml" in
13015 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
13016 xno) ;;
13017 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
13018 This is an error since --with-xml was requested." "$LINENO" 5 ;;
13019 esac
13023 if test "x$with_xslt" != "xno"
13024 then
13025 if ${XSLT_CFLAGS:+false} :; then :
13026 if ${PKG_CONFIG+:} false; then :
13027 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
13030 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
13031 if ${XSLT_LIBS:+false} :; then :
13032 if ${PKG_CONFIG+:} false; then :
13033 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
13036 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
13037 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
13038 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
13039 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
13040 ac_save_CPPFLAGS=$CPPFLAGS
13041 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
13042 for ac_header in libxslt/pattern.h libxslt/transform.h
13043 do :
13044 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13045 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
13046 # include <libxslt/pattern.h>
13047 #endif
13049 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13050 cat >>confdefs.h <<_ACEOF
13051 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13052 _ACEOF
13056 done
13058 if test "$ac_cv_header_libxslt_transform_h" = "yes"
13059 then
13060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
13061 $as_echo_n "checking for -lxslt... " >&6; }
13062 if ${ac_cv_lib_soname_xslt+:} false; then :
13063 $as_echo_n "(cached) " >&6
13064 else
13065 ac_check_soname_save_LIBS=$LIBS
13066 LIBS="-lxslt $XSLT_LIBS $LIBS"
13067 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13068 /* end confdefs.h. */
13070 /* Override any GCC internal prototype to avoid an error.
13071 Use char because int might match the return type of a GCC
13072 builtin and then its argument prototype would still apply. */
13073 #ifdef __cplusplus
13074 extern "C"
13075 #endif
13076 char xsltCompilePattern ();
13078 main ()
13080 return xsltCompilePattern ();
13082 return 0;
13084 _ACEOF
13085 if ac_fn_c_try_link "$LINENO"; then :
13086 case "$LIBEXT" in
13087 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13088 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'` ;;
13089 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13090 if ${ac_cv_lib_soname_xslt:+false} :; then :
13091 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13092 fi ;;
13093 esac
13094 else
13095 ac_cv_lib_soname_xslt=
13097 rm -f core conftest.err conftest.$ac_objext \
13098 conftest$ac_exeext conftest.$ac_ext
13099 LIBS=$ac_check_soname_save_LIBS
13101 if ${ac_cv_lib_soname_xslt:+false} :; then :
13102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13103 $as_echo "not found" >&6; }
13105 else
13106 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
13107 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
13109 cat >>confdefs.h <<_ACEOF
13110 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
13111 _ACEOF
13115 else
13116 XSLT_CFLAGS=""
13118 CPPFLAGS=$ac_save_CPPFLAGS
13119 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13120 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13123 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
13124 case "x$with_xslt" in
13125 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
13126 xno) ;;
13127 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
13128 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
13129 esac
13133 if test "x$with_inotify" != "xno"
13134 then
13135 if ${INOTIFY_CFLAGS:+false} :; then :
13136 if ${PKG_CONFIG+:} false; then :
13137 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>/dev/null`
13141 if ${INOTIFY_LIBS:+false} :; then :
13142 if ${PKG_CONFIG+:} false; then :
13143 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
13148 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
13149 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
13150 ac_save_CPPFLAGS=$CPPFLAGS
13151 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
13152 for ac_header in sys/inotify.h
13153 do :
13154 ac_fn_c_check_header_mongrel "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
13155 if test "x$ac_cv_header_sys_inotify_h" = xyes; then :
13156 cat >>confdefs.h <<_ACEOF
13157 #define HAVE_SYS_INOTIFY_H 1
13158 _ACEOF
13162 done
13164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
13165 $as_echo_n "checking for inotify_add_watch in -linotify... " >&6; }
13166 if ${ac_cv_lib_inotify_inotify_add_watch+:} false; then :
13167 $as_echo_n "(cached) " >&6
13168 else
13169 ac_check_lib_save_LIBS=$LIBS
13170 LIBS="-linotify $INOTIFY_LIBS $LIBS"
13171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13172 /* end confdefs.h. */
13174 /* Override any GCC internal prototype to avoid an error.
13175 Use char because int might match the return type of a GCC
13176 builtin and then its argument prototype would still apply. */
13177 #ifdef __cplusplus
13178 extern "C"
13179 #endif
13180 char inotify_add_watch ();
13182 main ()
13184 return inotify_add_watch ();
13186 return 0;
13188 _ACEOF
13189 if ac_fn_c_try_link "$LINENO"; then :
13190 ac_cv_lib_inotify_inotify_add_watch=yes
13191 else
13192 ac_cv_lib_inotify_inotify_add_watch=no
13194 rm -f core conftest.err conftest.$ac_objext \
13195 conftest$ac_exeext conftest.$ac_ext
13196 LIBS=$ac_check_lib_save_LIBS
13198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
13199 $as_echo "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
13200 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes; then :
13202 else
13203 INOTIFY_LIBS=""
13206 CPPFLAGS=$ac_save_CPPFLAGS
13207 test -z "$INOTIFY_CFLAGS" || INOTIFY_CFLAGS=`echo " $INOTIFY_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13208 test -z "$INOTIFY_LIBS" || INOTIFY_LIBS=`echo " $INOTIFY_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13211 if test "$ac_cv_header_sys_inotify_h" != "yes"; then :
13212 case "x$with_inotify" in
13213 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
13214 xno) ;;
13215 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
13216 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
13217 esac
13221 if test "x$with_dbus" != "xno"
13222 then
13223 if ${DBUS_CFLAGS:+false} :; then :
13224 if ${PKG_CONFIG+:} false; then :
13225 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
13229 if ${DBUS_LIBS:+false} :; then :
13230 if ${PKG_CONFIG+:} false; then :
13231 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
13236 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
13237 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
13238 ac_save_CPPFLAGS=$CPPFLAGS
13239 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
13240 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
13241 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
13242 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
13243 $as_echo_n "checking for -ldbus-1... " >&6; }
13244 if ${ac_cv_lib_soname_dbus_1+:} false; then :
13245 $as_echo_n "(cached) " >&6
13246 else
13247 ac_check_soname_save_LIBS=$LIBS
13248 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
13249 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13250 /* end confdefs.h. */
13252 /* Override any GCC internal prototype to avoid an error.
13253 Use char because int might match the return type of a GCC
13254 builtin and then its argument prototype would still apply. */
13255 #ifdef __cplusplus
13256 extern "C"
13257 #endif
13258 char dbus_connection_close ();
13260 main ()
13262 return dbus_connection_close ();
13264 return 0;
13266 _ACEOF
13267 if ac_fn_c_try_link "$LINENO"; then :
13268 case "$LIBEXT" in
13269 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13270 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'` ;;
13271 *) 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'`
13272 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13273 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13274 fi ;;
13275 esac
13276 else
13277 ac_cv_lib_soname_dbus_1=
13279 rm -f core conftest.err conftest.$ac_objext \
13280 conftest$ac_exeext conftest.$ac_ext
13281 LIBS=$ac_check_soname_save_LIBS
13283 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13285 $as_echo "not found" >&6; }
13286 DBUS_CFLAGS=""
13287 else
13288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
13289 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
13291 cat >>confdefs.h <<_ACEOF
13292 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
13293 _ACEOF
13297 else
13298 DBUS_CFLAGS=""
13302 CPPFLAGS=$ac_save_CPPFLAGS
13303 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13304 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13307 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
13308 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13309 case "x$with_dbus" in
13310 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
13311 xno) ;;
13312 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
13313 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
13314 esac
13318 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
13319 then
13320 if ${HAL_CFLAGS:+false} :; then :
13321 if ${PKG_CONFIG+:} false; then :
13322 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
13326 if ${HAL_LIBS:+false} :; then :
13327 if ${PKG_CONFIG+:} false; then :
13328 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
13332 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
13333 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
13334 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
13335 ac_save_CPPFLAGS=$CPPFLAGS
13336 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
13337 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
13338 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
13339 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
13340 $as_echo_n "checking for -lhal... " >&6; }
13341 if ${ac_cv_lib_soname_hal+:} false; then :
13342 $as_echo_n "(cached) " >&6
13343 else
13344 ac_check_soname_save_LIBS=$LIBS
13345 LIBS="-lhal $HAL_LIBS $LIBS"
13346 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13347 /* end confdefs.h. */
13349 /* Override any GCC internal prototype to avoid an error.
13350 Use char because int might match the return type of a GCC
13351 builtin and then its argument prototype would still apply. */
13352 #ifdef __cplusplus
13353 extern "C"
13354 #endif
13355 char libhal_ctx_new ();
13357 main ()
13359 return libhal_ctx_new ();
13361 return 0;
13363 _ACEOF
13364 if ac_fn_c_try_link "$LINENO"; then :
13365 case "$LIBEXT" in
13366 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13367 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'` ;;
13368 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13369 if ${ac_cv_lib_soname_hal:+false} :; then :
13370 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13371 fi ;;
13372 esac
13373 else
13374 ac_cv_lib_soname_hal=
13376 rm -f core conftest.err conftest.$ac_objext \
13377 conftest$ac_exeext conftest.$ac_ext
13378 LIBS=$ac_check_soname_save_LIBS
13380 if ${ac_cv_lib_soname_hal:+false} :; then :
13381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13382 $as_echo "not found" >&6; }
13383 HAL_CFLAGS=""
13384 else
13385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
13386 $as_echo "$ac_cv_lib_soname_hal" >&6; }
13388 cat >>confdefs.h <<_ACEOF
13389 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
13390 _ACEOF
13394 else
13395 HAL_CFLAGS=""
13399 CPPFLAGS=$ac_save_CPPFLAGS
13400 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13401 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13403 if test "x$ac_cv_lib_soname_hal" = "x" -a \
13404 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13405 case "x$with_hal" in
13406 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
13407 xno) ;;
13408 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
13409 This is an error since --with-hal was requested." "$LINENO" 5 ;;
13410 esac
13415 if test "x$with_gnutls" != "xno"
13416 then
13417 if ${GNUTLS_CFLAGS:+false} :; then :
13418 if ${PKG_CONFIG+:} false; then :
13419 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
13423 if ${GNUTLS_LIBS:+false} :; then :
13424 if ${PKG_CONFIG+:} false; then :
13425 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
13430 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
13431 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
13432 ac_save_CPPFLAGS=$CPPFLAGS
13433 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
13434 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
13435 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
13436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13437 /* end confdefs.h. */
13438 #include <gnutls/gnutls.h>
13439 #include <gnutls/crypto.h>
13441 main ()
13443 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
13445 return 0;
13447 _ACEOF
13448 if ac_fn_c_try_compile "$LINENO"; then :
13449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
13450 $as_echo_n "checking for -lgnutls... " >&6; }
13451 if ${ac_cv_lib_soname_gnutls+:} false; then :
13452 $as_echo_n "(cached) " >&6
13453 else
13454 ac_check_soname_save_LIBS=$LIBS
13455 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
13456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13457 /* end confdefs.h. */
13459 /* Override any GCC internal prototype to avoid an error.
13460 Use char because int might match the return type of a GCC
13461 builtin and then its argument prototype would still apply. */
13462 #ifdef __cplusplus
13463 extern "C"
13464 #endif
13465 char gnutls_global_init ();
13467 main ()
13469 return gnutls_global_init ();
13471 return 0;
13473 _ACEOF
13474 if ac_fn_c_try_link "$LINENO"; then :
13475 case "$LIBEXT" in
13476 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13477 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'` ;;
13478 *) 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'`
13479 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13480 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'`
13481 fi ;;
13482 esac
13483 else
13484 ac_cv_lib_soname_gnutls=
13486 rm -f core conftest.err conftest.$ac_objext \
13487 conftest$ac_exeext conftest.$ac_ext
13488 LIBS=$ac_check_soname_save_LIBS
13490 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13492 $as_echo "not found" >&6; }
13493 GNUTLS_CFLAGS=""
13494 else
13495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
13496 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
13498 cat >>confdefs.h <<_ACEOF
13499 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
13500 _ACEOF
13504 ac_wine_check_funcs_save_LIBS="$LIBS"
13505 LIBS="$LIBS $GNUTLS_LIBS"
13506 for ac_func in gnutls_cipher_init
13507 do :
13508 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
13509 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
13510 cat >>confdefs.h <<_ACEOF
13511 #define HAVE_GNUTLS_CIPHER_INIT 1
13512 _ACEOF
13514 else
13515 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
13517 done
13519 LIBS="$ac_wine_check_funcs_save_LIBS"
13521 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13522 else
13523 GNUTLS_CFLAGS=""
13527 CPPFLAGS=$ac_save_CPPFLAGS
13528 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13529 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13532 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
13533 case "x$with_gnutls" in
13534 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
13535 xno) ;;
13536 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
13537 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
13538 esac
13542 CURSES_LIBS=""
13543 if test "$ac_cv_header_ncurses_h" = "yes"
13544 then
13545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
13546 $as_echo_n "checking for -lncurses... " >&6; }
13547 if ${ac_cv_lib_soname_ncurses+:} false; then :
13548 $as_echo_n "(cached) " >&6
13549 else
13550 ac_check_soname_save_LIBS=$LIBS
13551 LIBS="-lncurses $LIBS"
13552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13553 /* end confdefs.h. */
13555 /* Override any GCC internal prototype to avoid an error.
13556 Use char because int might match the return type of a GCC
13557 builtin and then its argument prototype would still apply. */
13558 #ifdef __cplusplus
13559 extern "C"
13560 #endif
13561 char waddch ();
13563 main ()
13565 return waddch ();
13567 return 0;
13569 _ACEOF
13570 if ac_fn_c_try_link "$LINENO"; then :
13571 case "$LIBEXT" in
13572 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13573 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'` ;;
13574 *) 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'`
13575 if ${ac_cv_lib_soname_ncurses:+false} :; then :
13576 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13577 fi ;;
13578 esac
13579 else
13580 ac_cv_lib_soname_ncurses=
13582 rm -f core conftest.err conftest.$ac_objext \
13583 conftest$ac_exeext conftest.$ac_ext
13584 LIBS=$ac_check_soname_save_LIBS
13586 if ${ac_cv_lib_soname_ncurses:+false} :; then :
13587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13588 $as_echo "not found" >&6; }
13590 else
13591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
13592 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
13594 cat >>confdefs.h <<_ACEOF
13595 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
13596 _ACEOF
13598 CURSES_LIBS="-lncurses"
13600 elif test "$ac_cv_header_curses_h" = "yes"
13601 then
13602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
13603 $as_echo_n "checking for -lcurses... " >&6; }
13604 if ${ac_cv_lib_soname_curses+:} false; then :
13605 $as_echo_n "(cached) " >&6
13606 else
13607 ac_check_soname_save_LIBS=$LIBS
13608 LIBS="-lcurses $LIBS"
13609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13610 /* end confdefs.h. */
13612 /* Override any GCC internal prototype to avoid an error.
13613 Use char because int might match the return type of a GCC
13614 builtin and then its argument prototype would still apply. */
13615 #ifdef __cplusplus
13616 extern "C"
13617 #endif
13618 char waddch ();
13620 main ()
13622 return waddch ();
13624 return 0;
13626 _ACEOF
13627 if ac_fn_c_try_link "$LINENO"; then :
13628 case "$LIBEXT" in
13629 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13630 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'` ;;
13631 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13632 if ${ac_cv_lib_soname_curses:+false} :; then :
13633 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13634 fi ;;
13635 esac
13636 else
13637 ac_cv_lib_soname_curses=
13639 rm -f core conftest.err conftest.$ac_objext \
13640 conftest$ac_exeext conftest.$ac_ext
13641 LIBS=$ac_check_soname_save_LIBS
13643 if ${ac_cv_lib_soname_curses:+false} :; then :
13644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13645 $as_echo "not found" >&6; }
13647 else
13648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
13649 $as_echo "$ac_cv_lib_soname_curses" >&6; }
13651 cat >>confdefs.h <<_ACEOF
13652 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
13653 _ACEOF
13655 CURSES_LIBS="-lcurses"
13658 ac_save_LIBS="$LIBS"
13659 LIBS="$LIBS $CURSES_LIBS"
13660 for ac_func in mousemask
13661 do :
13662 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
13663 if test "x$ac_cv_func_mousemask" = xyes; then :
13664 cat >>confdefs.h <<_ACEOF
13665 #define HAVE_MOUSEMASK 1
13666 _ACEOF
13669 done
13671 LIBS="$ac_save_LIBS"
13672 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
13673 case "x$with_curses" in
13674 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
13675 xno) ;;
13676 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
13677 This is an error since --with-curses was requested." "$LINENO" 5 ;;
13678 esac
13682 if test "x$with_sane" != "xno"
13683 then
13684 if ${SANE_CFLAGS:+false} :; then :
13685 if ${PKG_CONFIG+:} false; then :
13686 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
13689 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
13690 if ${SANE_LIBS:+false} :; then :
13691 if ${PKG_CONFIG+:} false; then :
13692 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
13695 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
13697 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
13698 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
13699 ac_save_CPPFLAGS=$CPPFLAGS
13700 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
13701 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
13702 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
13703 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
13704 $as_echo_n "checking for -lsane... " >&6; }
13705 if ${ac_cv_lib_soname_sane+:} false; then :
13706 $as_echo_n "(cached) " >&6
13707 else
13708 ac_check_soname_save_LIBS=$LIBS
13709 LIBS="-lsane $SANE_LIBS $LIBS"
13710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13711 /* end confdefs.h. */
13713 /* Override any GCC internal prototype to avoid an error.
13714 Use char because int might match the return type of a GCC
13715 builtin and then its argument prototype would still apply. */
13716 #ifdef __cplusplus
13717 extern "C"
13718 #endif
13719 char sane_init ();
13721 main ()
13723 return sane_init ();
13725 return 0;
13727 _ACEOF
13728 if ac_fn_c_try_link "$LINENO"; then :
13729 case "$LIBEXT" in
13730 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13731 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'` ;;
13732 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13733 if ${ac_cv_lib_soname_sane:+false} :; then :
13734 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13735 fi ;;
13736 esac
13737 else
13738 ac_cv_lib_soname_sane=
13740 rm -f core conftest.err conftest.$ac_objext \
13741 conftest$ac_exeext conftest.$ac_ext
13742 LIBS=$ac_check_soname_save_LIBS
13744 if ${ac_cv_lib_soname_sane:+false} :; then :
13745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13746 $as_echo "not found" >&6; }
13747 SANE_CFLAGS=""
13748 else
13749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
13750 $as_echo "$ac_cv_lib_soname_sane" >&6; }
13752 cat >>confdefs.h <<_ACEOF
13753 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
13754 _ACEOF
13758 else
13759 SANE_CFLAGS=""
13763 CPPFLAGS=$ac_save_CPPFLAGS
13764 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13765 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13768 if test "x$ac_cv_lib_soname_sane" = "x"; then :
13769 case "x$with_sane" in
13770 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
13771 xno) ;;
13772 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
13773 This is an error since --with-sane was requested." "$LINENO" 5 ;;
13774 esac
13778 if test "x$with_v4l2" != "xno"
13779 then
13780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
13781 $as_echo_n "checking for -lv4l2... " >&6; }
13782 if ${ac_cv_lib_soname_v4l2+:} false; then :
13783 $as_echo_n "(cached) " >&6
13784 else
13785 ac_check_soname_save_LIBS=$LIBS
13786 LIBS="-lv4l2 $LIBS"
13787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13788 /* end confdefs.h. */
13790 /* Override any GCC internal prototype to avoid an error.
13791 Use char because int might match the return type of a GCC
13792 builtin and then its argument prototype would still apply. */
13793 #ifdef __cplusplus
13794 extern "C"
13795 #endif
13796 char v4l2_open ();
13798 main ()
13800 return v4l2_open ();
13802 return 0;
13804 _ACEOF
13805 if ac_fn_c_try_link "$LINENO"; then :
13806 case "$LIBEXT" in
13807 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13808 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'` ;;
13809 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13810 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13811 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13812 fi ;;
13813 esac
13814 else
13815 ac_cv_lib_soname_v4l2=
13817 rm -f core conftest.err conftest.$ac_objext \
13818 conftest$ac_exeext conftest.$ac_ext
13819 LIBS=$ac_check_soname_save_LIBS
13821 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13823 $as_echo "not found" >&6; }
13825 else
13826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
13827 $as_echo "$ac_cv_lib_soname_v4l2" >&6; }
13829 cat >>confdefs.h <<_ACEOF
13830 #define SONAME_LIBV4L2 "$ac_cv_lib_soname_v4l2"
13831 _ACEOF
13836 if test "x$ac_cv_lib_soname_v4l2" = "x"; then :
13837 case "x$with_v4l2" in
13838 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
13839 xno) ;;
13840 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
13841 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
13842 esac
13846 if test "x$with_gphoto" != "xno"
13847 then
13848 if ${GPHOTO2_CFLAGS:+false} :; then :
13849 if ${PKG_CONFIG+:} false; then :
13850 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
13853 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
13854 if ${GPHOTO2_LIBS:+false} :; then :
13855 if ${PKG_CONFIG+:} false; then :
13856 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
13859 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
13860 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
13861 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
13862 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
13863 ac_save_CPPFLAGS=$CPPFLAGS
13864 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
13865 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
13866 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
13867 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
13868 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
13869 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
13870 $as_echo_n "(cached) " >&6
13871 else
13872 ac_check_lib_save_LIBS=$LIBS
13873 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
13874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13875 /* end confdefs.h. */
13877 /* Override any GCC internal prototype to avoid an error.
13878 Use char because int might match the return type of a GCC
13879 builtin and then its argument prototype would still apply. */
13880 #ifdef __cplusplus
13881 extern "C"
13882 #endif
13883 char gp_camera_new ();
13885 main ()
13887 return gp_camera_new ();
13889 return 0;
13891 _ACEOF
13892 if ac_fn_c_try_link "$LINENO"; then :
13893 ac_cv_lib_gphoto2_gp_camera_new=yes
13894 else
13895 ac_cv_lib_gphoto2_gp_camera_new=no
13897 rm -f core conftest.err conftest.$ac_objext \
13898 conftest$ac_exeext conftest.$ac_ext
13899 LIBS=$ac_check_lib_save_LIBS
13901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
13902 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
13903 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
13905 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
13907 else
13908 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
13911 else
13912 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
13916 CPPFLAGS=$ac_save_CPPFLAGS
13917 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13918 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13920 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
13921 if ${PKG_CONFIG+:} false; then :
13922 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
13925 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
13926 if ${GPHOTO2_PORT_LIBS:+false} :; then :
13927 if ${PKG_CONFIG+:} false; then :
13928 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
13931 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
13932 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
13933 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
13934 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
13935 ac_save_CPPFLAGS=$CPPFLAGS
13936 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
13937 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
13938 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
13939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
13940 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
13941 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
13942 $as_echo_n "(cached) " >&6
13943 else
13944 ac_check_lib_save_LIBS=$LIBS
13945 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
13946 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13947 /* end confdefs.h. */
13949 /* Override any GCC internal prototype to avoid an error.
13950 Use char because int might match the return type of a GCC
13951 builtin and then its argument prototype would still apply. */
13952 #ifdef __cplusplus
13953 extern "C"
13954 #endif
13955 char gp_port_info_list_new ();
13957 main ()
13959 return gp_port_info_list_new ();
13961 return 0;
13963 _ACEOF
13964 if ac_fn_c_try_link "$LINENO"; then :
13965 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
13966 else
13967 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
13969 rm -f core conftest.err conftest.$ac_objext \
13970 conftest$ac_exeext conftest.$ac_ext
13971 LIBS=$ac_check_lib_save_LIBS
13973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
13974 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
13975 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
13977 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
13979 else
13980 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
13983 else
13984 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
13988 CPPFLAGS=$ac_save_CPPFLAGS
13989 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13990 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13993 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
13994 case "x$with_gphoto" in
13995 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
13996 xno) ;;
13997 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
13998 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
13999 esac
14002 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
14003 case "x$with_gphoto" in
14004 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
14005 xno) ;;
14006 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
14007 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14008 esac
14013 if test "$ac_cv_header_resolv_h" = "yes"
14014 then
14015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
14016 $as_echo_n "checking for resolver library... " >&6; }
14017 if ${ac_cv_have_resolv+:} false; then :
14018 $as_echo_n "(cached) " >&6
14019 else
14020 ac_save_LIBS="$LIBS"
14021 for lib in '' -lresolv
14023 LIBS="$lib $ac_save_LIBS"
14024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14025 /* end confdefs.h. */
14026 #ifdef HAVE_NETINET_IN_H
14027 #include <netinet/in.h>
14028 #endif
14029 #include <resolv.h>
14031 main ()
14033 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
14035 return 0;
14037 _ACEOF
14038 if ac_fn_c_try_link "$LINENO"; then :
14039 ac_cv_have_resolv=${lib:-"none required"}
14040 else
14041 ac_cv_have_resolv="not found"
14043 rm -f core conftest.err conftest.$ac_objext \
14044 conftest$ac_exeext conftest.$ac_ext
14045 test "x$ac_cv_have_resolv" = "xnot found" || break
14046 done
14047 LIBS="$ac_save_LIBS"
14049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
14050 $as_echo "$ac_cv_have_resolv" >&6; }
14052 case "$ac_cv_have_resolv" in
14053 "not found") ;;
14054 "none required")
14056 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14059 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14061 RESOLV_LIBS=$ac_cv_have_resolv
14063 esac
14066 if test "x$with_cms" != "xno"
14067 then
14068 if ${LCMS2_CFLAGS:+false} :; then :
14069 if ${PKG_CONFIG+:} false; then :
14070 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
14074 if ${LCMS2_LIBS:+false} :; then :
14075 if ${PKG_CONFIG+:} false; then :
14076 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
14080 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
14081 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
14082 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
14083 ac_save_CPPFLAGS=$CPPFLAGS
14084 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
14085 for ac_header in lcms2.h
14086 do :
14087 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
14088 if test "x$ac_cv_header_lcms2_h" = xyes; then :
14089 cat >>confdefs.h <<_ACEOF
14090 #define HAVE_LCMS2_H 1
14091 _ACEOF
14095 done
14097 if test "$ac_cv_header_lcms2_h" = "yes"
14098 then
14099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
14100 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
14101 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
14102 $as_echo_n "(cached) " >&6
14103 else
14104 ac_check_lib_save_LIBS=$LIBS
14105 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
14106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14107 /* end confdefs.h. */
14109 /* Override any GCC internal prototype to avoid an error.
14110 Use char because int might match the return type of a GCC
14111 builtin and then its argument prototype would still apply. */
14112 #ifdef __cplusplus
14113 extern "C"
14114 #endif
14115 char cmsOpenProfileFromFile ();
14117 main ()
14119 return cmsOpenProfileFromFile ();
14121 return 0;
14123 _ACEOF
14124 if ac_fn_c_try_link "$LINENO"; then :
14125 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
14126 else
14127 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
14129 rm -f core conftest.err conftest.$ac_objext \
14130 conftest$ac_exeext conftest.$ac_ext
14131 LIBS=$ac_check_lib_save_LIBS
14133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
14134 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
14135 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
14137 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
14139 else
14140 LCMS2_LIBS=""
14143 else
14144 LCMS2_CFLAGS=""
14145 LCMS2_LIBS=""
14147 CPPFLAGS=$ac_save_CPPFLAGS
14148 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14149 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14152 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
14153 case "x$with_cms" in
14154 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
14155 xno) ;;
14156 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
14157 This is an error since --with-cms was requested." "$LINENO" 5 ;;
14158 esac
14162 if test "x$with_freetype" != "xno"
14163 then
14164 if ${FREETYPE_CFLAGS:+false} :; then :
14165 if ${PKG_CONFIG+:} false; then :
14166 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
14169 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
14170 if ${FREETYPE_LIBS:+false} :; then :
14171 if ${PKG_CONFIG+:} false; then :
14172 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
14175 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
14176 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
14177 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
14178 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
14179 ac_save_CPPFLAGS=$CPPFLAGS
14180 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
14181 for ac_header in ft2build.h
14182 do :
14183 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
14184 if test "x$ac_cv_header_ft2build_h" = xyes; then :
14185 cat >>confdefs.h <<_ACEOF
14186 #define HAVE_FT2BUILD_H 1
14187 _ACEOF
14191 done
14193 if test "$ac_cv_header_ft2build_h" = "yes"
14194 then
14195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
14196 $as_echo_n "checking for -lfreetype... " >&6; }
14197 if ${ac_cv_lib_soname_freetype+:} false; then :
14198 $as_echo_n "(cached) " >&6
14199 else
14200 ac_check_soname_save_LIBS=$LIBS
14201 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
14202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14203 /* end confdefs.h. */
14205 /* Override any GCC internal prototype to avoid an error.
14206 Use char because int might match the return type of a GCC
14207 builtin and then its argument prototype would still apply. */
14208 #ifdef __cplusplus
14209 extern "C"
14210 #endif
14211 char FT_Init_FreeType ();
14213 main ()
14215 return FT_Init_FreeType ();
14217 return 0;
14219 _ACEOF
14220 if ac_fn_c_try_link "$LINENO"; then :
14221 case "$LIBEXT" in
14222 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14223 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'` ;;
14224 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14225 if ${ac_cv_lib_soname_freetype:+false} :; then :
14226 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14227 fi ;;
14228 esac
14229 else
14230 ac_cv_lib_soname_freetype=
14232 rm -f core conftest.err conftest.$ac_objext \
14233 conftest$ac_exeext conftest.$ac_ext
14234 LIBS=$ac_check_soname_save_LIBS
14236 if ${ac_cv_lib_soname_freetype:+false} :; then :
14237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14238 $as_echo "not found" >&6; }
14239 FREETYPE_LIBS=""
14240 else
14241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
14242 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
14244 cat >>confdefs.h <<_ACEOF
14245 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
14246 _ACEOF
14249 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
14251 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
14252 #include FT_MODULE_H
14254 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
14256 cat >>confdefs.h <<_ACEOF
14257 #define HAVE_FT_TRUETYPEENGINETYPE 1
14258 _ACEOF
14264 else
14265 FREETYPE_CFLAGS=""
14266 FREETYPE_LIBS=""
14268 CPPFLAGS=$ac_save_CPPFLAGS
14269 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14270 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14273 if test "x$ac_cv_lib_soname_freetype" = x; then :
14274 case "x$with_freetype" in
14275 xno) ;;
14276 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
14277 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
14278 esac
14279 enable_fonts=${enable_fonts:-no}
14282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
14283 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
14284 if ${ac_cv_c_ppdev+:} false; then :
14285 $as_echo_n "(cached) " >&6
14286 else
14287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14288 /* end confdefs.h. */
14289 #ifdef HAVE_SYS_IOCTL_H
14290 # include <sys/ioctl.h>
14291 #endif
14292 #include <linux/ppdev.h>
14294 main ()
14296 ioctl (1,PPCLAIM,0)
14298 return 0;
14300 _ACEOF
14301 if ac_fn_c_try_compile "$LINENO"; then :
14302 ac_cv_c_ppdev="yes"
14303 else
14304 ac_cv_c_ppdev="no"
14306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
14309 $as_echo "$ac_cv_c_ppdev" >&6; }
14310 if test "$ac_cv_c_ppdev" = "yes"
14311 then
14313 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
14317 ac_wine_check_funcs_save_LIBS="$LIBS"
14318 LIBS="$LIBS $PTHREAD_LIBS"
14319 for ac_func in \
14320 pthread_getthreadid_np
14321 do :
14322 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14323 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14324 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14325 cat >>confdefs.h <<_ACEOF
14326 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14327 _ACEOF
14330 done
14332 LIBS="$ac_wine_check_funcs_save_LIBS"
14334 if test "x$with_zlib" != "xno"
14335 then
14336 if ${Z_CFLAGS:+false} :; then :
14337 if ${PKG_CONFIG+:} false; then :
14338 Z_CFLAGS=`$PKG_CONFIG --cflags libz 2>/dev/null`
14342 if ${Z_LIBS:+false} :; then :
14343 if ${PKG_CONFIG+:} false; then :
14344 Z_LIBS=`$PKG_CONFIG --libs libz 2>/dev/null`
14348 Z_LIBS=${Z_LIBS:-"-lz"}
14349 $as_echo "$as_me:${as_lineno-$LINENO}: libz cflags: $Z_CFLAGS" >&5
14350 $as_echo "$as_me:${as_lineno-$LINENO}: libz libs: $Z_LIBS" >&5
14351 ac_save_CPPFLAGS=$CPPFLAGS
14352 CPPFLAGS="$CPPFLAGS $Z_CFLAGS"
14353 for ac_header in zlib.h
14354 do :
14355 ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
14356 if test "x$ac_cv_header_zlib_h" = xyes; then :
14357 cat >>confdefs.h <<_ACEOF
14358 #define HAVE_ZLIB_H 1
14359 _ACEOF
14360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
14361 $as_echo_n "checking for inflate in -lz... " >&6; }
14362 if ${ac_cv_lib_z_inflate+:} false; then :
14363 $as_echo_n "(cached) " >&6
14364 else
14365 ac_check_lib_save_LIBS=$LIBS
14366 LIBS="-lz $Z_LIBS $LIBS"
14367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14368 /* end confdefs.h. */
14370 /* Override any GCC internal prototype to avoid an error.
14371 Use char because int might match the return type of a GCC
14372 builtin and then its argument prototype would still apply. */
14373 #ifdef __cplusplus
14374 extern "C"
14375 #endif
14376 char inflate ();
14378 main ()
14380 return inflate ();
14382 return 0;
14384 _ACEOF
14385 if ac_fn_c_try_link "$LINENO"; then :
14386 ac_cv_lib_z_inflate=yes
14387 else
14388 ac_cv_lib_z_inflate=no
14390 rm -f core conftest.err conftest.$ac_objext \
14391 conftest$ac_exeext conftest.$ac_ext
14392 LIBS=$ac_check_lib_save_LIBS
14394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
14395 $as_echo "$ac_cv_lib_z_inflate" >&6; }
14396 if test "x$ac_cv_lib_z_inflate" = xyes; then :
14398 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
14400 else
14401 Z_LIBS=""
14404 else
14405 Z_LIBS=""
14408 done
14410 CPPFLAGS=$ac_save_CPPFLAGS
14411 test -z "$Z_CFLAGS" || Z_CFLAGS=`echo " $Z_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14412 test -z "$Z_LIBS" || Z_LIBS=`echo " $Z_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14415 if test "x$Z_LIBS" = "x"; then :
14416 case "x$with_zlib" in
14417 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
14418 xno) ;;
14419 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
14420 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
14421 esac
14425 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
14426 then
14427 if test "$ac_cv_header_gettext_po_h" = "yes"
14428 then
14429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
14430 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
14431 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
14432 $as_echo_n "(cached) " >&6
14433 else
14434 ac_check_lib_save_LIBS=$LIBS
14435 LIBS="-lgettextpo $LIBS"
14436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14437 /* end confdefs.h. */
14439 /* Override any GCC internal prototype to avoid an error.
14440 Use char because int might match the return type of a GCC
14441 builtin and then its argument prototype would still apply. */
14442 #ifdef __cplusplus
14443 extern "C"
14444 #endif
14445 char po_message_msgctxt ();
14447 main ()
14449 return po_message_msgctxt ();
14451 return 0;
14453 _ACEOF
14454 if ac_fn_c_try_link "$LINENO"; then :
14455 ac_cv_lib_gettextpo_po_message_msgctxt=yes
14456 else
14457 ac_cv_lib_gettextpo_po_message_msgctxt=no
14459 rm -f core conftest.err conftest.$ac_objext \
14460 conftest$ac_exeext conftest.$ac_ext
14461 LIBS=$ac_check_lib_save_LIBS
14463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
14464 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
14465 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
14467 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
14469 GETTEXTPO_LIBS="-lgettextpo"
14474 if test "x$GETTEXTPO_LIBS" = "x"; then :
14475 case "x$with_gettextpo" in
14476 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
14477 xno) ;;
14478 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
14479 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14480 esac
14483 if test "$srcdir" != .; then :
14484 case "x$with_gettextpo" in
14485 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
14486 xno) ;;
14487 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
14488 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14489 esac
14494 if test "x$with_pulse" != "xno";
14495 then
14496 if ${PULSE_CFLAGS:+false} :; then :
14497 if ${PKG_CONFIG+:} false; then :
14498 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
14502 if ${PULSE_LIBS:+false} :; then :
14503 if ${PKG_CONFIG+:} false; then :
14504 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
14509 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
14510 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
14511 ac_save_CPPFLAGS=$CPPFLAGS
14512 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
14513 for ac_header in pulse/pulseaudio.h
14514 do :
14515 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
14516 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
14517 cat >>confdefs.h <<_ACEOF
14518 #define HAVE_PULSE_PULSEAUDIO_H 1
14519 _ACEOF
14520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
14521 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
14522 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
14523 $as_echo_n "(cached) " >&6
14524 else
14525 ac_check_lib_save_LIBS=$LIBS
14526 LIBS="-lpulse $PULSE_LIBS $LIBS"
14527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14528 /* end confdefs.h. */
14530 /* Override any GCC internal prototype to avoid an error.
14531 Use char because int might match the return type of a GCC
14532 builtin and then its argument prototype would still apply. */
14533 #ifdef __cplusplus
14534 extern "C"
14535 #endif
14536 char pa_stream_is_corked ();
14538 main ()
14540 return pa_stream_is_corked ();
14542 return 0;
14544 _ACEOF
14545 if ac_fn_c_try_link "$LINENO"; then :
14546 ac_cv_lib_pulse_pa_stream_is_corked=yes
14547 else
14548 ac_cv_lib_pulse_pa_stream_is_corked=no
14550 rm -f core conftest.err conftest.$ac_objext \
14551 conftest$ac_exeext conftest.$ac_ext
14552 LIBS=$ac_check_lib_save_LIBS
14554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
14555 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
14556 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
14558 else
14559 PULSE_LIBS=""
14562 else
14563 PULSE_LIBS=""
14566 done
14568 CPPFLAGS=$ac_save_CPPFLAGS
14569 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14570 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14573 if test -z "$PULSE_LIBS"; then :
14574 case "x$with_pulse" in
14575 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
14576 xno) ;;
14577 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
14578 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
14579 esac
14580 enable_winepulse_drv=${enable_winepulse_drv:-no}
14583 if test "x$with_gstreamer" != "xno"
14584 then
14585 if ${GSTREAMER_CFLAGS:+false} :; then :
14586 if ${PKG_CONFIG+:} false; then :
14587 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14591 if ${GSTREAMER_LIBS:+false} :; then :
14592 if ${PKG_CONFIG+:} false; then :
14593 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14598 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
14599 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
14600 ac_save_CPPFLAGS=$CPPFLAGS
14601 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
14602 ac_gst_incl=""
14603 for i in $GSTREAMER_CFLAGS
14605 case "$i" in
14606 -I*) ac_gst_incl="$ac_gst_incl $i";;
14607 esac
14608 done
14609 GSTREAMER_CFLAGS=$ac_gst_incl
14610 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
14611 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
14612 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
14613 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
14614 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
14615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14616 /* end confdefs.h. */
14617 #include <gst/gst.h>
14619 main ()
14621 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
14623 return 0;
14625 _ACEOF
14626 if ac_fn_c_try_compile "$LINENO"; then :
14627 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14628 $as_echo "yes" >&6; }
14629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
14630 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
14631 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
14632 $as_echo_n "(cached) " >&6
14633 else
14634 ac_check_lib_save_LIBS=$LIBS
14635 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
14636 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14637 /* end confdefs.h. */
14639 /* Override any GCC internal prototype to avoid an error.
14640 Use char because int might match the return type of a GCC
14641 builtin and then its argument prototype would still apply. */
14642 #ifdef __cplusplus
14643 extern "C"
14644 #endif
14645 char gst_pad_new ();
14647 main ()
14649 return gst_pad_new ();
14651 return 0;
14653 _ACEOF
14654 if ac_fn_c_try_link "$LINENO"; then :
14655 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
14656 else
14657 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
14659 rm -f core conftest.err conftest.$ac_objext \
14660 conftest$ac_exeext conftest.$ac_ext
14661 LIBS=$ac_check_lib_save_LIBS
14663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
14664 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
14665 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
14669 else
14670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14671 $as_echo "no" >&6; }
14672 ac_glib2_broken=yes
14673 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
14675 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14679 CPPFLAGS=$ac_save_CPPFLAGS
14680 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14681 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14684 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 :
14685 case "x$with_gstreamer" in
14686 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
14687 xno) ;;
14688 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
14689 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
14690 esac
14693 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
14695 ALSA_LIBS=""
14697 if test "x$with_alsa" != "xno"
14698 then
14699 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
14700 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
14701 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
14702 $as_echo_n "(cached) " >&6
14703 else
14704 ac_check_lib_save_LIBS=$LIBS
14705 LIBS="-lasound $LIBS"
14706 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14707 /* end confdefs.h. */
14709 /* Override any GCC internal prototype to avoid an error.
14710 Use char because int might match the return type of a GCC
14711 builtin and then its argument prototype would still apply. */
14712 #ifdef __cplusplus
14713 extern "C"
14714 #endif
14715 char snd_pcm_hw_params_get_access_mask ();
14717 main ()
14719 return snd_pcm_hw_params_get_access_mask ();
14721 return 0;
14723 _ACEOF
14724 if ac_fn_c_try_link "$LINENO"; then :
14725 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
14726 else
14727 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
14729 rm -f core conftest.err conftest.$ac_objext \
14730 conftest$ac_exeext conftest.$ac_ext
14731 LIBS=$ac_check_lib_save_LIBS
14733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
14734 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
14735 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
14736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14737 /* end confdefs.h. */
14738 #include <alsa/asoundlib.h>
14740 main ()
14742 snd_pcm_hw_params_get_access_mask(NULL, NULL)
14744 return 0;
14746 _ACEOF
14747 if ac_fn_c_try_compile "$LINENO"; then :
14748 ALSA_LIBS="-lasound"
14750 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14754 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
14756 if test "x$with_oss" != xno
14757 then
14758 ac_save_CPPFLAGS="$CPPFLAGS"
14759 if test -f /etc/oss.conf
14760 then
14761 . /etc/oss.conf
14763 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
14764 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
14765 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
14766 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
14767 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
14769 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
14771 cat >>confdefs.h <<_ACEOF
14772 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
14773 _ACEOF
14775 OSS4_CFLAGS="$ac_oss_incl"
14777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
14778 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
14779 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
14780 $as_echo_n "(cached) " >&6
14781 else
14782 ac_check_lib_save_LIBS=$LIBS
14783 LIBS="-lossaudio $LIBS"
14784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14785 /* end confdefs.h. */
14787 /* Override any GCC internal prototype to avoid an error.
14788 Use char because int might match the return type of a GCC
14789 builtin and then its argument prototype would still apply. */
14790 #ifdef __cplusplus
14791 extern "C"
14792 #endif
14793 char _oss_ioctl ();
14795 main ()
14797 return _oss_ioctl ();
14799 return 0;
14801 _ACEOF
14802 if ac_fn_c_try_link "$LINENO"; then :
14803 ac_cv_lib_ossaudio__oss_ioctl=yes
14804 else
14805 ac_cv_lib_ossaudio__oss_ioctl=no
14807 rm -f core conftest.err conftest.$ac_objext \
14808 conftest$ac_exeext conftest.$ac_ext
14809 LIBS=$ac_check_lib_save_LIBS
14811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
14812 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
14813 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
14814 OSS4_LIBS="-lossaudio"
14823 CPPFLAGS="$ac_save_CPPFLAGS"
14825 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
14826 case "x$with_oss" in
14827 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
14828 xno) ;;
14829 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
14830 This is an error since --with-oss was requested." "$LINENO" 5 ;;
14831 esac
14832 enable_wineoss_drv=${enable_wineoss_drv:-no}
14835 if test "x$with_udev" != "xno"
14836 then
14837 if ${UDEV_CFLAGS:+false} :; then :
14838 if ${PKG_CONFIG+:} false; then :
14839 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
14843 if ${UDEV_LIBS:+false} :; then :
14844 if ${PKG_CONFIG+:} false; then :
14845 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
14849 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
14850 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
14851 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
14852 ac_save_CPPFLAGS=$CPPFLAGS
14853 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
14854 for ac_header in libudev.h
14855 do :
14856 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
14857 if test "x$ac_cv_header_libudev_h" = xyes; then :
14858 cat >>confdefs.h <<_ACEOF
14859 #define HAVE_LIBUDEV_H 1
14860 _ACEOF
14861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
14862 $as_echo_n "checking for udev_new in -ludev... " >&6; }
14863 if ${ac_cv_lib_udev_udev_new+:} false; then :
14864 $as_echo_n "(cached) " >&6
14865 else
14866 ac_check_lib_save_LIBS=$LIBS
14867 LIBS="-ludev $UDEV_LIBS $LIBS"
14868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14869 /* end confdefs.h. */
14871 /* Override any GCC internal prototype to avoid an error.
14872 Use char because int might match the return type of a GCC
14873 builtin and then its argument prototype would still apply. */
14874 #ifdef __cplusplus
14875 extern "C"
14876 #endif
14877 char udev_new ();
14879 main ()
14881 return udev_new ();
14883 return 0;
14885 _ACEOF
14886 if ac_fn_c_try_link "$LINENO"; then :
14887 ac_cv_lib_udev_udev_new=yes
14888 else
14889 ac_cv_lib_udev_udev_new=no
14891 rm -f core conftest.err conftest.$ac_objext \
14892 conftest$ac_exeext conftest.$ac_ext
14893 LIBS=$ac_check_lib_save_LIBS
14895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
14896 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
14897 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
14899 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
14901 else
14902 UDEV_LIBS=""
14905 else
14906 UDEV_LIBS=""
14909 done
14911 CPPFLAGS=$ac_save_CPPFLAGS
14912 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14913 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14916 if test "x$UDEV_LIBS" = "x"; then :
14917 case "x$with_udev" in
14918 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
14919 xno) ;;
14920 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
14921 This is an error since --with-udev was requested." "$LINENO" 5 ;;
14922 esac
14926 if test "x$with_unwind" != xno
14927 then
14928 if ${UNWIND_CFLAGS:+false} :; then :
14929 if ${PKG_CONFIG+:} false; then :
14930 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>/dev/null`
14934 if ${UNWIND_LIBS:+false} :; then :
14935 if ${PKG_CONFIG+:} false; then :
14936 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
14940 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
14941 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
14942 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
14943 ac_save_CPPFLAGS=$CPPFLAGS
14944 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
14945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
14946 $as_echo_n "checking for unw_step... " >&6; }
14947 if ${wine_cv_have_unw_step+:} false; then :
14948 $as_echo_n "(cached) " >&6
14949 else
14950 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14951 /* end confdefs.h. */
14952 #define UNW_LOCAL_ONLY
14953 #include <libunwind.h>
14955 main ()
14957 unw_cursor_t cursor; unw_step( &cursor );
14959 return 0;
14961 _ACEOF
14962 if ac_fn_c_try_link "$LINENO"; then :
14963 wine_cv_have_unw_step="yes"
14964 else
14965 wine_cv_have_unw_step="no"
14967 rm -f core conftest.err conftest.$ac_objext \
14968 conftest$ac_exeext conftest.$ac_ext
14970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
14971 $as_echo "$wine_cv_have_unw_step" >&6; }
14972 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
14973 then
14974 save_libs=$LIBS
14975 LIBS="$UNWIND_LIBS $LIBS"
14976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
14977 $as_echo_n "checking for unw_step in libunwind... " >&6; }
14978 if ${wine_cv_have_libunwind_unw_step+:} false; then :
14979 $as_echo_n "(cached) " >&6
14980 else
14981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14982 /* end confdefs.h. */
14983 #define UNW_LOCAL_ONLY
14984 #include <libunwind.h>
14986 main ()
14988 unw_cursor_t cursor; unw_step( &cursor );
14990 return 0;
14992 _ACEOF
14993 if ac_fn_c_try_link "$LINENO"; then :
14994 wine_cv_have_libunwind_unw_step="yes"
14995 else
14996 wine_cv_have_libunwind_unw_step="no"
14998 rm -f core conftest.err conftest.$ac_objext \
14999 conftest$ac_exeext conftest.$ac_ext
15001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
15002 $as_echo "$wine_cv_have_libunwind_unw_step" >&6; }
15003 LIBS=$save_libs
15005 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
15006 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
15007 then
15009 $as_echo "#define HAVE_LIBUNWIND 1" >>confdefs.h
15012 CPPFLAGS=$ac_save_CPPFLAGS
15013 test -z "$UNWIND_CFLAGS" || UNWIND_CFLAGS=`echo " $UNWIND_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15014 test -z "$UNWIND_LIBS" || UNWIND_LIBS=`echo " $UNWIND_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15017 case $host in
15018 aarch64*|*-darwin*)
15019 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono; then :
15020 case "x$with_unwind" in
15021 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
15022 xno) ;;
15023 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
15024 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
15025 esac
15027 fi ;;
15028 esac
15030 if test "x$with_sdl" != "xno"
15031 then
15032 if ${SDL2_CFLAGS:+false} :; then :
15033 if ${PKG_CONFIG+:} false; then :
15034 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
15038 if ${SDL2_LIBS:+false} :; then :
15039 if ${PKG_CONFIG+:} false; then :
15040 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
15044 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
15045 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
15046 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
15047 ac_save_CPPFLAGS=$CPPFLAGS
15048 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
15049 for ac_header in SDL2/SDL.h
15050 do :
15051 ac_fn_c_check_header_mongrel "$LINENO" "SDL2/SDL.h" "ac_cv_header_SDL2_SDL_h" "$ac_includes_default"
15052 if test "x$ac_cv_header_SDL2_SDL_h" = xyes; then :
15053 cat >>confdefs.h <<_ACEOF
15054 #define HAVE_SDL2_SDL_H 1
15055 _ACEOF
15056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
15057 $as_echo_n "checking for -lSDL2... " >&6; }
15058 if ${ac_cv_lib_soname_SDL2+:} false; then :
15059 $as_echo_n "(cached) " >&6
15060 else
15061 ac_check_soname_save_LIBS=$LIBS
15062 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
15063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15064 /* end confdefs.h. */
15066 /* Override any GCC internal prototype to avoid an error.
15067 Use char because int might match the return type of a GCC
15068 builtin and then its argument prototype would still apply. */
15069 #ifdef __cplusplus
15070 extern "C"
15071 #endif
15072 char SDL_Init ();
15074 main ()
15076 return SDL_Init ();
15078 return 0;
15080 _ACEOF
15081 if ac_fn_c_try_link "$LINENO"; then :
15082 case "$LIBEXT" in
15083 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15084 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'` ;;
15085 *) 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'`
15086 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15087 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15088 fi ;;
15089 esac
15090 else
15091 ac_cv_lib_soname_SDL2=
15093 rm -f core conftest.err conftest.$ac_objext \
15094 conftest$ac_exeext conftest.$ac_ext
15095 LIBS=$ac_check_soname_save_LIBS
15097 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15099 $as_echo "not found" >&6; }
15101 else
15102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
15103 $as_echo "$ac_cv_lib_soname_SDL2" >&6; }
15105 cat >>confdefs.h <<_ACEOF
15106 #define SONAME_LIBSDL2 "$ac_cv_lib_soname_SDL2"
15107 _ACEOF
15113 done
15115 CPPFLAGS=$ac_save_CPPFLAGS
15116 test -z "$SDL2_CFLAGS" || SDL2_CFLAGS=`echo " $SDL2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15117 test -z "$SDL2_LIBS" || SDL2_LIBS=`echo " $SDL2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15120 if test "x$ac_cv_lib_soname_SDL2" = "x"; then :
15121 case "x$with_sdl" in
15122 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
15123 xno) ;;
15124 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
15125 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
15126 esac
15130 if test "x$with_faudio" != "xno"
15131 then
15132 if ${FAUDIO_CFLAGS:+false} :; then :
15133 if ${PKG_CONFIG+:} false; then :
15134 FAUDIO_CFLAGS=`$PKG_CONFIG --cflags faudio 2>/dev/null`
15138 if ${FAUDIO_LIBS:+false} :; then :
15139 if ${PKG_CONFIG+:} false; then :
15140 FAUDIO_LIBS=`$PKG_CONFIG --libs faudio 2>/dev/null`
15144 FAUDIO_LIBS=${FAUDIO_LIBS:-"-lFAudio"}
15145 $as_echo "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_CFLAGS" >&5
15146 $as_echo "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_LIBS" >&5
15147 ac_save_CPPFLAGS=$CPPFLAGS
15148 CPPFLAGS="$CPPFLAGS $FAUDIO_CFLAGS"
15149 for ac_header in FAudio.h
15150 do :
15151 ac_fn_c_check_header_mongrel "$LINENO" "FAudio.h" "ac_cv_header_FAudio_h" "$ac_includes_default"
15152 if test "x$ac_cv_header_FAudio_h" = xyes; then :
15153 cat >>confdefs.h <<_ACEOF
15154 #define HAVE_FAUDIO_H 1
15155 _ACEOF
15156 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lFAudio" >&5
15157 $as_echo_n "checking for -lFAudio... " >&6; }
15158 if ${ac_cv_lib_soname_FAudio+:} false; then :
15159 $as_echo_n "(cached) " >&6
15160 else
15161 ac_check_soname_save_LIBS=$LIBS
15162 LIBS="-lFAudio $FAUDIO_LIBS $LIBS"
15163 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15164 /* end confdefs.h. */
15166 /* Override any GCC internal prototype to avoid an error.
15167 Use char because int might match the return type of a GCC
15168 builtin and then its argument prototype would still apply. */
15169 #ifdef __cplusplus
15170 extern "C"
15171 #endif
15172 char FAudioCreate ();
15174 main ()
15176 return FAudioCreate ();
15178 return 0;
15180 _ACEOF
15181 if ac_fn_c_try_link "$LINENO"; then :
15182 case "$LIBEXT" in
15183 dll) ac_cv_lib_soname_FAudio=`$ac_cv_path_LDD conftest.exe | grep "FAudio" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15184 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'` ;;
15185 *) ac_cv_lib_soname_FAudio=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libFAudio*\\.$LIBEXT" | sed -e "s/^.*\\[\\(libFAudio*\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15186 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15187 ac_cv_lib_soname_FAudio=`$LDD conftest$ac_exeext | grep "libFAudio*\\.$LIBEXT" | sed -e "s/^.*\(libFAudio*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15188 fi ;;
15189 esac
15190 else
15191 ac_cv_lib_soname_FAudio=
15193 rm -f core conftest.err conftest.$ac_objext \
15194 conftest$ac_exeext conftest.$ac_ext
15195 LIBS=$ac_check_soname_save_LIBS
15197 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15199 $as_echo "not found" >&6; }
15201 else
15202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_FAudio" >&5
15203 $as_echo "$ac_cv_lib_soname_FAudio" >&6; }
15205 cat >>confdefs.h <<_ACEOF
15206 #define SONAME_LIBFAUDIO "$ac_cv_lib_soname_FAudio"
15207 _ACEOF
15213 done
15215 ac_wine_check_funcs_save_LIBS="$LIBS"
15216 LIBS="$LIBS $FAUDIO_LIBS"
15217 for ac_func in FAudio_CommitOperationSet \
15218 F3DAudioInitialize8
15219 do :
15220 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15221 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15222 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15223 cat >>confdefs.h <<_ACEOF
15224 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15225 _ACEOF
15228 done
15230 LIBS="$ac_wine_check_funcs_save_LIBS"
15232 CPPFLAGS=$ac_save_CPPFLAGS
15233 test -z "$FAUDIO_CFLAGS" || FAUDIO_CFLAGS=`echo " $FAUDIO_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15234 test -z "$FAUDIO_LIBS" || FAUDIO_LIBS=`echo " $FAUDIO_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15237 if test "x$ac_cv_lib_soname_FAudio" = "x"; then :
15238 case "x$with_faudio" in
15239 x) as_fn_append wine_notices "|libFAudio ${notice_platform}development files not found, XAudio2 won't be supported." ;;
15240 xno) ;;
15241 *) as_fn_error $? "libFAudio ${notice_platform}development files not found, XAudio2 won't be supported.
15242 This is an error since --with-faudio was requested." "$LINENO" 5 ;;
15243 esac
15247 if test "x$with_capi" != "xno"
15248 then
15249 if ${CAPI20_CFLAGS:+false} :; then :
15250 if ${PKG_CONFIG+:} false; then :
15251 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
15255 if ${CAPI20_LIBS:+false} :; then :
15256 if ${PKG_CONFIG+:} false; then :
15257 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
15262 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
15263 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
15264 ac_save_CPPFLAGS=$CPPFLAGS
15265 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
15266 for ac_header in capi20.h linux/capi.h
15267 do :
15268 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15269 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
15271 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15272 cat >>confdefs.h <<_ACEOF
15273 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15274 _ACEOF
15278 done
15280 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
15281 then
15282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
15283 $as_echo_n "checking for -lcapi20... " >&6; }
15284 if ${ac_cv_lib_soname_capi20+:} false; then :
15285 $as_echo_n "(cached) " >&6
15286 else
15287 ac_check_soname_save_LIBS=$LIBS
15288 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
15289 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15290 /* end confdefs.h. */
15292 /* Override any GCC internal prototype to avoid an error.
15293 Use char because int might match the return type of a GCC
15294 builtin and then its argument prototype would still apply. */
15295 #ifdef __cplusplus
15296 extern "C"
15297 #endif
15298 char capi20_register ();
15300 main ()
15302 return capi20_register ();
15304 return 0;
15306 _ACEOF
15307 if ac_fn_c_try_link "$LINENO"; then :
15308 case "$LIBEXT" in
15309 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15310 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'` ;;
15311 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15312 if ${ac_cv_lib_soname_capi20:+false} :; then :
15313 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15314 fi ;;
15315 esac
15316 else
15317 ac_cv_lib_soname_capi20=
15319 rm -f core conftest.err conftest.$ac_objext \
15320 conftest$ac_exeext conftest.$ac_ext
15321 LIBS=$ac_check_soname_save_LIBS
15323 if ${ac_cv_lib_soname_capi20:+false} :; then :
15324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15325 $as_echo "not found" >&6; }
15327 else
15328 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
15329 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
15331 cat >>confdefs.h <<_ACEOF
15332 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
15333 _ACEOF
15338 CPPFLAGS=$ac_save_CPPFLAGS
15339 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15340 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15343 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
15344 case "x$with_capi" in
15345 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
15346 xno) ;;
15347 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
15348 This is an error since --with-capi was requested." "$LINENO" 5 ;;
15349 esac
15353 if test "x$with_cups" != "xno"
15354 then
15355 if ${CUPS_CFLAGS:+false} :; then :
15356 if ${PKG_CONFIG+:} false; then :
15357 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
15360 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
15361 if ${CUPS_LIBS:+false} :; then :
15362 if ${PKG_CONFIG+:} false; then :
15363 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
15366 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
15367 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
15368 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
15369 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
15370 ac_save_CPPFLAGS=$CPPFLAGS
15371 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
15372 for ac_header in cups/cups.h cups/ppd.h
15373 do :
15374 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15375 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15376 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15377 cat >>confdefs.h <<_ACEOF
15378 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15379 _ACEOF
15383 done
15385 if test "$ac_cv_header_cups_cups_h" = "yes"
15386 then
15387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
15388 $as_echo_n "checking for -lcups... " >&6; }
15389 if ${ac_cv_lib_soname_cups+:} false; then :
15390 $as_echo_n "(cached) " >&6
15391 else
15392 ac_check_soname_save_LIBS=$LIBS
15393 LIBS="-lcups $CUPS_LIBS $LIBS"
15394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15395 /* end confdefs.h. */
15397 /* Override any GCC internal prototype to avoid an error.
15398 Use char because int might match the return type of a GCC
15399 builtin and then its argument prototype would still apply. */
15400 #ifdef __cplusplus
15401 extern "C"
15402 #endif
15403 char cupsGetDefault ();
15405 main ()
15407 return cupsGetDefault ();
15409 return 0;
15411 _ACEOF
15412 if ac_fn_c_try_link "$LINENO"; then :
15413 case "$LIBEXT" in
15414 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15415 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'` ;;
15416 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15417 if ${ac_cv_lib_soname_cups:+false} :; then :
15418 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15419 fi ;;
15420 esac
15421 else
15422 ac_cv_lib_soname_cups=
15424 rm -f core conftest.err conftest.$ac_objext \
15425 conftest$ac_exeext conftest.$ac_ext
15426 LIBS=$ac_check_soname_save_LIBS
15428 if ${ac_cv_lib_soname_cups:+false} :; then :
15429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15430 $as_echo "not found" >&6; }
15431 CUPS_LIBS=""
15432 else
15433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
15434 $as_echo "$ac_cv_lib_soname_cups" >&6; }
15436 cat >>confdefs.h <<_ACEOF
15437 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15438 _ACEOF
15442 else
15443 CUPS_CFLAGS=""
15444 CUPS_LIBS=""
15446 CPPFLAGS=$ac_save_CPPFLAGS
15447 test -z "$CUPS_CFLAGS" || CUPS_CFLAGS=`echo " $CUPS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15448 test -z "$CUPS_LIBS" || CUPS_LIBS=`echo " $CUPS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15451 if test "x$ac_cv_lib_soname_cups" = "x"; then :
15452 case "x$with_cups" in
15453 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
15454 xno) ;;
15455 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
15456 This is an error since --with-cups was requested." "$LINENO" 5 ;;
15457 esac
15461 if test "x$with_fontconfig" != "xno"
15462 then
15463 if ${FONTCONFIG_CFLAGS:+false} :; then :
15464 if ${PKG_CONFIG+:} false; then :
15465 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
15468 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
15469 if ${FONTCONFIG_LIBS:+false} :; then :
15470 if ${PKG_CONFIG+:} false; then :
15471 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
15474 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
15476 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
15477 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
15478 ac_save_CPPFLAGS=$CPPFLAGS
15479 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
15480 for ac_header in fontconfig/fontconfig.h
15481 do :
15482 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
15483 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
15484 cat >>confdefs.h <<_ACEOF
15485 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
15486 _ACEOF
15490 done
15492 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15493 then
15494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
15495 $as_echo_n "checking for -lfontconfig... " >&6; }
15496 if ${ac_cv_lib_soname_fontconfig+:} false; then :
15497 $as_echo_n "(cached) " >&6
15498 else
15499 ac_check_soname_save_LIBS=$LIBS
15500 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
15501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15502 /* end confdefs.h. */
15504 /* Override any GCC internal prototype to avoid an error.
15505 Use char because int might match the return type of a GCC
15506 builtin and then its argument prototype would still apply. */
15507 #ifdef __cplusplus
15508 extern "C"
15509 #endif
15510 char FcInit ();
15512 main ()
15514 return FcInit ();
15516 return 0;
15518 _ACEOF
15519 if ac_fn_c_try_link "$LINENO"; then :
15520 case "$LIBEXT" in
15521 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15522 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'` ;;
15523 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15524 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15525 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15526 fi ;;
15527 esac
15528 else
15529 ac_cv_lib_soname_fontconfig=
15531 rm -f core conftest.err conftest.$ac_objext \
15532 conftest$ac_exeext conftest.$ac_ext
15533 LIBS=$ac_check_soname_save_LIBS
15535 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15537 $as_echo "not found" >&6; }
15538 FONTCONFIG_CFLAGS=""
15539 else
15540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
15541 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
15543 cat >>confdefs.h <<_ACEOF
15544 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15545 _ACEOF
15549 else
15550 FONTCONFIG_CFLAGS=""
15552 CPPFLAGS=$ac_save_CPPFLAGS
15553 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15554 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15557 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
15558 case "x$with_fontconfig" in
15559 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
15560 xno) ;;
15561 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
15562 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
15563 esac
15567 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
15568 then
15569 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
15570 $as_echo_n "checking for -lgsm... " >&6; }
15571 if ${ac_cv_lib_soname_gsm+:} false; then :
15572 $as_echo_n "(cached) " >&6
15573 else
15574 ac_check_soname_save_LIBS=$LIBS
15575 LIBS="-lgsm $LIBS"
15576 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15577 /* end confdefs.h. */
15579 /* Override any GCC internal prototype to avoid an error.
15580 Use char because int might match the return type of a GCC
15581 builtin and then its argument prototype would still apply. */
15582 #ifdef __cplusplus
15583 extern "C"
15584 #endif
15585 char gsm_create ();
15587 main ()
15589 return gsm_create ();
15591 return 0;
15593 _ACEOF
15594 if ac_fn_c_try_link "$LINENO"; then :
15595 case "$LIBEXT" in
15596 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15597 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'` ;;
15598 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15599 if ${ac_cv_lib_soname_gsm:+false} :; then :
15600 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15601 fi ;;
15602 esac
15603 else
15604 ac_cv_lib_soname_gsm=
15606 rm -f core conftest.err conftest.$ac_objext \
15607 conftest$ac_exeext conftest.$ac_ext
15608 LIBS=$ac_check_soname_save_LIBS
15610 if ${ac_cv_lib_soname_gsm:+false} :; then :
15611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15612 $as_echo "not found" >&6; }
15614 else
15615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
15616 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
15618 cat >>confdefs.h <<_ACEOF
15619 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
15620 _ACEOF
15625 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
15626 case "x$with_gsm" in
15627 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
15628 xno) ;;
15629 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
15630 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
15631 esac
15635 if test "x$with_krb5" != "xno"
15636 then
15637 if ${KRB5_CFLAGS:+false} :; then :
15638 if ${PKG_CONFIG+:} false; then :
15639 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
15642 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
15643 if ${KRB5_LIBS:+false} :; then :
15644 if ${PKG_CONFIG+:} false; then :
15645 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
15648 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
15650 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
15651 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
15652 ac_save_CPPFLAGS=$CPPFLAGS
15653 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
15654 for ac_header in krb5/krb5.h
15655 do :
15656 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
15657 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
15658 cat >>confdefs.h <<_ACEOF
15659 #define HAVE_KRB5_KRB5_H 1
15660 _ACEOF
15664 done
15666 if test "$ac_cv_header_krb5_krb5_h" = "yes"
15667 then
15668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
15669 $as_echo_n "checking for -lkrb5... " >&6; }
15670 if ${ac_cv_lib_soname_krb5+:} false; then :
15671 $as_echo_n "(cached) " >&6
15672 else
15673 ac_check_soname_save_LIBS=$LIBS
15674 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
15675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15676 /* end confdefs.h. */
15678 /* Override any GCC internal prototype to avoid an error.
15679 Use char because int might match the return type of a GCC
15680 builtin and then its argument prototype would still apply. */
15681 #ifdef __cplusplus
15682 extern "C"
15683 #endif
15684 char krb5_is_config_principal ();
15686 main ()
15688 return krb5_is_config_principal ();
15690 return 0;
15692 _ACEOF
15693 if ac_fn_c_try_link "$LINENO"; then :
15694 case "$LIBEXT" in
15695 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15696 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'` ;;
15697 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15698 if ${ac_cv_lib_soname_krb5:+false} :; then :
15699 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15700 fi ;;
15701 esac
15702 else
15703 ac_cv_lib_soname_krb5=
15705 rm -f core conftest.err conftest.$ac_objext \
15706 conftest$ac_exeext conftest.$ac_ext
15707 LIBS=$ac_check_soname_save_LIBS
15709 if ${ac_cv_lib_soname_krb5:+false} :; then :
15710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15711 $as_echo "not found" >&6; }
15712 KRB5_CFLAGS=""
15713 else
15714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
15715 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
15717 cat >>confdefs.h <<_ACEOF
15718 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
15719 _ACEOF
15723 else
15724 KRB5_CFLAGS=""
15726 CPPFLAGS=$ac_save_CPPFLAGS
15727 test -z "$KRB5_CFLAGS" || KRB5_CFLAGS=`echo " $KRB5_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15728 test -z "$KRB5_LIBS" || KRB5_LIBS=`echo " $KRB5_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15730 else
15731 with_gssapi=${with_gssapi:-no}
15733 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
15734 case "x$with_krb5" in
15735 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
15736 xno) ;;
15737 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
15738 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
15739 esac
15743 if test "x$with_gssapi" != "xno"
15744 then
15745 if ${GSSAPI_CFLAGS:+false} :; then :
15746 if ${PKG_CONFIG+:} false; then :
15747 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
15750 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
15751 if ${GSSAPI_LIBS:+false} :; then :
15752 if ${PKG_CONFIG+:} false; then :
15753 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
15756 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
15758 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
15759 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
15760 ac_save_CPPFLAGS=$CPPFLAGS
15761 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
15762 for ac_header in gssapi/gssapi.h gssapi/gssapi_ext.h
15763 do :
15764 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15765 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15766 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15767 cat >>confdefs.h <<_ACEOF
15768 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15769 _ACEOF
15773 done
15775 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
15776 then
15777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
15778 $as_echo_n "checking for -lgssapi_krb5... " >&6; }
15779 if ${ac_cv_lib_soname_gssapi_krb5+:} false; then :
15780 $as_echo_n "(cached) " >&6
15781 else
15782 ac_check_soname_save_LIBS=$LIBS
15783 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
15784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15785 /* end confdefs.h. */
15787 /* Override any GCC internal prototype to avoid an error.
15788 Use char because int might match the return type of a GCC
15789 builtin and then its argument prototype would still apply. */
15790 #ifdef __cplusplus
15791 extern "C"
15792 #endif
15793 char gss_init_sec_context ();
15795 main ()
15797 return gss_init_sec_context ();
15799 return 0;
15801 _ACEOF
15802 if ac_fn_c_try_link "$LINENO"; then :
15803 case "$LIBEXT" in
15804 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15805 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'` ;;
15806 *) 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'`
15807 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15808 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15809 fi ;;
15810 esac
15811 else
15812 ac_cv_lib_soname_gssapi_krb5=
15814 rm -f core conftest.err conftest.$ac_objext \
15815 conftest$ac_exeext conftest.$ac_ext
15816 LIBS=$ac_check_soname_save_LIBS
15818 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15820 $as_echo "not found" >&6; }
15821 GSSAPI_CFLAGS=""
15822 else
15823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
15824 $as_echo "$ac_cv_lib_soname_gssapi_krb5" >&6; }
15826 cat >>confdefs.h <<_ACEOF
15827 #define SONAME_LIBGSSAPI_KRB5 "$ac_cv_lib_soname_gssapi_krb5"
15828 _ACEOF
15832 else
15833 GSSAPI_CFLAGS=""
15835 CPPFLAGS=$ac_save_CPPFLAGS
15836 test -z "$GSSAPI_CFLAGS" || GSSAPI_CFLAGS=`echo " $GSSAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15837 test -z "$GSSAPI_LIBS" || GSSAPI_LIBS=`echo " $GSSAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15840 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"; then :
15841 case "x$with_gssapi" in
15842 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
15843 xno) ;;
15844 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
15845 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
15846 esac
15850 if test "x$with_jpeg" != "xno"
15851 then
15852 if ${JPEG_CFLAGS:+false} :; then :
15853 if ${PKG_CONFIG+:} false; then :
15854 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
15858 if ${JPEG_LIBS:+false} :; then :
15859 if ${PKG_CONFIG+:} false; then :
15860 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
15865 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
15866 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
15867 ac_save_CPPFLAGS=$CPPFLAGS
15868 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
15869 for ac_header in jpeglib.h
15870 do :
15871 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
15872 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
15873 cat >>confdefs.h <<_ACEOF
15874 #define HAVE_JPEGLIB_H 1
15875 _ACEOF
15879 done
15881 if test "$ac_cv_header_jpeglib_h" = "yes"
15882 then
15883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
15884 $as_echo_n "checking for -ljpeg... " >&6; }
15885 if ${ac_cv_lib_soname_jpeg+:} false; then :
15886 $as_echo_n "(cached) " >&6
15887 else
15888 ac_check_soname_save_LIBS=$LIBS
15889 LIBS="-ljpeg $JPEG_LIBS $LIBS"
15890 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15891 /* end confdefs.h. */
15893 /* Override any GCC internal prototype to avoid an error.
15894 Use char because int might match the return type of a GCC
15895 builtin and then its argument prototype would still apply. */
15896 #ifdef __cplusplus
15897 extern "C"
15898 #endif
15899 char jpeg_start_decompress ();
15901 main ()
15903 return jpeg_start_decompress ();
15905 return 0;
15907 _ACEOF
15908 if ac_fn_c_try_link "$LINENO"; then :
15909 case "$LIBEXT" in
15910 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15911 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'` ;;
15912 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15913 if ${ac_cv_lib_soname_jpeg:+false} :; then :
15914 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15915 fi ;;
15916 esac
15917 else
15918 ac_cv_lib_soname_jpeg=
15920 rm -f core conftest.err conftest.$ac_objext \
15921 conftest$ac_exeext conftest.$ac_ext
15922 LIBS=$ac_check_soname_save_LIBS
15924 if ${ac_cv_lib_soname_jpeg:+false} :; then :
15925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15926 $as_echo "not found" >&6; }
15927 JPEG_CFLAGS=""
15928 else
15929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
15930 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
15932 cat >>confdefs.h <<_ACEOF
15933 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15934 _ACEOF
15938 else
15939 JPEG_CFLAGS=""
15941 CPPFLAGS=$ac_save_CPPFLAGS
15942 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15943 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15946 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
15947 case "x$with_jpeg" in
15948 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
15949 xno) ;;
15950 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
15951 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
15952 esac
15956 if test "x$with_png" != "xno"
15957 then
15958 if ${PNG_CFLAGS:+false} :; then :
15959 if ${PKG_CONFIG+:} false; then :
15960 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
15963 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
15964 if ${PNG_LIBS:+false} :; then :
15965 if ${PKG_CONFIG+:} false; then :
15966 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
15969 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
15971 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
15972 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
15973 ac_save_CPPFLAGS=$CPPFLAGS
15974 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
15975 for ac_header in png.h
15976 do :
15977 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
15978 if test "x$ac_cv_header_png_h" = xyes; then :
15979 cat >>confdefs.h <<_ACEOF
15980 #define HAVE_PNG_H 1
15981 _ACEOF
15985 done
15987 if test "$ac_cv_header_png_h" = "yes"
15988 then
15989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
15990 $as_echo_n "checking for -lpng... " >&6; }
15991 if ${ac_cv_lib_soname_png+:} false; then :
15992 $as_echo_n "(cached) " >&6
15993 else
15994 ac_check_soname_save_LIBS=$LIBS
15995 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
15996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15997 /* end confdefs.h. */
15999 /* Override any GCC internal prototype to avoid an error.
16000 Use char because int might match the return type of a GCC
16001 builtin and then its argument prototype would still apply. */
16002 #ifdef __cplusplus
16003 extern "C"
16004 #endif
16005 char png_create_read_struct ();
16007 main ()
16009 return png_create_read_struct ();
16011 return 0;
16013 _ACEOF
16014 if ac_fn_c_try_link "$LINENO"; then :
16015 case "$LIBEXT" in
16016 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16017 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'` ;;
16018 *) 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'`
16019 if ${ac_cv_lib_soname_png:+false} :; then :
16020 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16021 fi ;;
16022 esac
16023 else
16024 ac_cv_lib_soname_png=
16026 rm -f core conftest.err conftest.$ac_objext \
16027 conftest$ac_exeext conftest.$ac_ext
16028 LIBS=$ac_check_soname_save_LIBS
16030 if ${ac_cv_lib_soname_png:+false} :; then :
16031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16032 $as_echo "not found" >&6; }
16033 PNG_CFLAGS=""
16034 else
16035 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
16036 $as_echo "$ac_cv_lib_soname_png" >&6; }
16038 cat >>confdefs.h <<_ACEOF
16039 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
16040 _ACEOF
16044 else
16045 PNG_CFLAGS=""
16047 CPPFLAGS=$ac_save_CPPFLAGS
16048 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16049 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16052 if test "x$ac_cv_lib_soname_png" = "x"; then :
16053 case "x$with_png" in
16054 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
16055 xno) ;;
16056 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
16057 This is an error since --with-png was requested." "$LINENO" 5 ;;
16058 esac
16062 if test "x$with_tiff" != "xno"
16063 then
16064 if ${TIFF_CFLAGS:+false} :; then :
16065 if ${PKG_CONFIG+:} false; then :
16066 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
16070 if ${TIFF_LIBS:+false} :; then :
16071 if ${PKG_CONFIG+:} false; then :
16072 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
16077 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
16078 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
16079 ac_save_CPPFLAGS=$CPPFLAGS
16080 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
16081 for ac_header in tiffio.h
16082 do :
16083 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
16084 if test "x$ac_cv_header_tiffio_h" = xyes; then :
16085 cat >>confdefs.h <<_ACEOF
16086 #define HAVE_TIFFIO_H 1
16087 _ACEOF
16091 done
16093 if test "$ac_cv_header_tiffio_h" = "yes"
16094 then
16095 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
16096 $as_echo_n "checking for -ltiff... " >&6; }
16097 if ${ac_cv_lib_soname_tiff+:} false; then :
16098 $as_echo_n "(cached) " >&6
16099 else
16100 ac_check_soname_save_LIBS=$LIBS
16101 LIBS="-ltiff $TIFF_LIBS $LIBS"
16102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16103 /* end confdefs.h. */
16105 /* Override any GCC internal prototype to avoid an error.
16106 Use char because int might match the return type of a GCC
16107 builtin and then its argument prototype would still apply. */
16108 #ifdef __cplusplus
16109 extern "C"
16110 #endif
16111 char TIFFClientOpen ();
16113 main ()
16115 return TIFFClientOpen ();
16117 return 0;
16119 _ACEOF
16120 if ac_fn_c_try_link "$LINENO"; then :
16121 case "$LIBEXT" in
16122 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16123 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'` ;;
16124 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16125 if ${ac_cv_lib_soname_tiff:+false} :; then :
16126 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16127 fi ;;
16128 esac
16129 else
16130 ac_cv_lib_soname_tiff=
16132 rm -f core conftest.err conftest.$ac_objext \
16133 conftest$ac_exeext conftest.$ac_ext
16134 LIBS=$ac_check_soname_save_LIBS
16136 if ${ac_cv_lib_soname_tiff:+false} :; then :
16137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16138 $as_echo "not found" >&6; }
16140 else
16141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
16142 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
16144 cat >>confdefs.h <<_ACEOF
16145 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
16146 _ACEOF
16151 CPPFLAGS=$ac_save_CPPFLAGS
16152 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16153 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16156 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
16157 case "x$with_tiff" in
16158 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
16159 xno) ;;
16160 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
16161 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
16162 esac
16166 if test "x$with_mpg123" != "xno"
16167 then
16168 if ${MPG123_CFLAGS:+false} :; then :
16169 if ${PKG_CONFIG+:} false; then :
16170 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
16174 if ${MPG123_LIBS:+false} :; then :
16175 if ${PKG_CONFIG+:} false; then :
16176 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
16180 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
16181 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
16182 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
16183 ac_save_CPPFLAGS=$CPPFLAGS
16184 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
16185 for ac_header in mpg123.h
16186 do :
16187 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
16188 if test "x$ac_cv_header_mpg123_h" = xyes; then :
16189 cat >>confdefs.h <<_ACEOF
16190 #define HAVE_MPG123_H 1
16191 _ACEOF
16195 done
16197 if test "$ac_cv_header_mpg123_h" = "yes"
16198 then
16199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
16200 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
16201 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
16202 $as_echo_n "(cached) " >&6
16203 else
16204 ac_check_lib_save_LIBS=$LIBS
16205 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
16206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16207 /* end confdefs.h. */
16209 /* Override any GCC internal prototype to avoid an error.
16210 Use char because int might match the return type of a GCC
16211 builtin and then its argument prototype would still apply. */
16212 #ifdef __cplusplus
16213 extern "C"
16214 #endif
16215 char mpg123_feed ();
16217 main ()
16219 return mpg123_feed ();
16221 return 0;
16223 _ACEOF
16224 if ac_fn_c_try_link "$LINENO"; then :
16225 ac_cv_lib_mpg123_mpg123_feed=yes
16226 else
16227 ac_cv_lib_mpg123_mpg123_feed=no
16229 rm -f core conftest.err conftest.$ac_objext \
16230 conftest$ac_exeext conftest.$ac_ext
16231 LIBS=$ac_check_lib_save_LIBS
16233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
16234 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
16235 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
16237 else
16238 MPG123_LIBS=""
16241 else
16242 MPG123_CFLAGS=""
16243 MPG123_LIBS=""
16245 CPPFLAGS=$ac_save_CPPFLAGS
16246 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16247 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16250 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
16251 case "x$with_mpg123" in
16252 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
16253 xno) ;;
16254 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
16255 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
16256 esac
16257 enable_l3codeca_acm=${enable_l3codeca_acm:-no}
16259 test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes || enable_mp3dmod=${enable_mp3dmod:-no}
16261 if test "$ac_cv_header_AL_al_h" = "yes"
16262 then
16263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
16264 $as_echo_n "checking for -lopenal... " >&6; }
16265 if ${ac_cv_lib_soname_openal+:} false; then :
16266 $as_echo_n "(cached) " >&6
16267 else
16268 ac_check_soname_save_LIBS=$LIBS
16269 LIBS="-lopenal $LIBS"
16270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16271 /* end confdefs.h. */
16273 /* Override any GCC internal prototype to avoid an error.
16274 Use char because int might match the return type of a GCC
16275 builtin and then its argument prototype would still apply. */
16276 #ifdef __cplusplus
16277 extern "C"
16278 #endif
16279 char alGetSource3i ();
16281 main ()
16283 return alGetSource3i ();
16285 return 0;
16287 _ACEOF
16288 if ac_fn_c_try_link "$LINENO"; then :
16289 case "$LIBEXT" in
16290 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16291 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'` ;;
16292 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16293 if ${ac_cv_lib_soname_openal:+false} :; then :
16294 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16295 fi ;;
16296 esac
16297 else
16298 ac_cv_lib_soname_openal=
16300 rm -f core conftest.err conftest.$ac_objext \
16301 conftest$ac_exeext conftest.$ac_ext
16302 LIBS=$ac_check_soname_save_LIBS
16304 if ${ac_cv_lib_soname_openal:+false} :; then :
16305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16306 $as_echo "not found" >&6; }
16308 else
16309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
16310 $as_echo "$ac_cv_lib_soname_openal" >&6; }
16312 cat >>confdefs.h <<_ACEOF
16313 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
16314 _ACEOF
16316 OPENAL_LIBS="-lopenal"
16318 ac_cv_lib_openal=yes
16320 cat >>confdefs.h <<_ACEOF
16321 #define HAVE_OPENAL 1
16322 _ACEOF
16326 if test "x$ac_cv_lib_openal" != xyes; then :
16327 case "x$with_openal" in
16328 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
16329 xno) ;;
16330 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
16331 This is an error since --with-openal was requested." "$LINENO" 5 ;;
16332 esac
16333 enable_openal32=${enable_openal32:-no}
16336 if test "x$ac_cv_lib_soname_FAudio" = "x"
16337 then
16338 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
16339 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
16340 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
16341 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
16342 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
16343 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
16344 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
16345 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
16346 enable_xapofx1_1=${enable_xapofx1_1:-no}
16347 enable_xapofx1_2=${enable_xapofx1_2:-no}
16348 enable_xapofx1_3=${enable_xapofx1_3:-no}
16349 enable_xapofx1_4=${enable_xapofx1_4:-no}
16350 enable_xapofx1_5=${enable_xapofx1_5:-no}
16351 enable_xaudio2_0=${enable_xaudio2_0:-no}
16352 enable_xaudio2_1=${enable_xaudio2_1:-no}
16353 enable_xaudio2_2=${enable_xaudio2_2:-no}
16354 enable_xaudio2_3=${enable_xaudio2_3:-no}
16355 enable_xaudio2_4=${enable_xaudio2_4:-no}
16356 enable_xaudio2_5=${enable_xaudio2_5:-no}
16357 enable_xaudio2_6=${enable_xaudio2_6:-no}
16358 enable_xaudio2_7=${enable_xaudio2_7:-no}
16359 enable_xaudio2_8=${enable_xaudio2_8:-no}
16360 enable_xaudio2_9=${enable_xaudio2_9:-no}
16363 if test "$ac_cv_header_kstat_h" = "yes"
16364 then
16365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
16366 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
16367 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
16368 $as_echo_n "(cached) " >&6
16369 else
16370 ac_check_lib_save_LIBS=$LIBS
16371 LIBS="-lkstat $LIBS"
16372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16373 /* end confdefs.h. */
16375 /* Override any GCC internal prototype to avoid an error.
16376 Use char because int might match the return type of a GCC
16377 builtin and then its argument prototype would still apply. */
16378 #ifdef __cplusplus
16379 extern "C"
16380 #endif
16381 char kstat_open ();
16383 main ()
16385 return kstat_open ();
16387 return 0;
16389 _ACEOF
16390 if ac_fn_c_try_link "$LINENO"; then :
16391 ac_cv_lib_kstat_kstat_open=yes
16392 else
16393 ac_cv_lib_kstat_kstat_open=no
16395 rm -f core conftest.err conftest.$ac_objext \
16396 conftest$ac_exeext conftest.$ac_ext
16397 LIBS=$ac_check_lib_save_LIBS
16399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
16400 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
16401 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
16403 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
16405 KSTAT_LIBS="-lkstat"
16411 if test "$ac_cv_header_libprocstat_h" = "yes"
16412 then
16413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
16414 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
16415 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
16416 $as_echo_n "(cached) " >&6
16417 else
16418 ac_check_lib_save_LIBS=$LIBS
16419 LIBS="-lprocstat $LIBS"
16420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16421 /* end confdefs.h. */
16423 /* Override any GCC internal prototype to avoid an error.
16424 Use char because int might match the return type of a GCC
16425 builtin and then its argument prototype would still apply. */
16426 #ifdef __cplusplus
16427 extern "C"
16428 #endif
16429 char procstat_open_sysctl ();
16431 main ()
16433 return procstat_open_sysctl ();
16435 return 0;
16437 _ACEOF
16438 if ac_fn_c_try_link "$LINENO"; then :
16439 ac_cv_lib_procstat_procstat_open_sysctl=yes
16440 else
16441 ac_cv_lib_procstat_procstat_open_sysctl=no
16443 rm -f core conftest.err conftest.$ac_objext \
16444 conftest$ac_exeext conftest.$ac_ext
16445 LIBS=$ac_check_lib_save_LIBS
16447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
16448 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
16449 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
16451 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
16453 PROCSTAT_LIBS="-lprocstat"
16459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
16460 $as_echo_n "checking for -lodbc... " >&6; }
16461 if ${ac_cv_lib_soname_odbc+:} false; then :
16462 $as_echo_n "(cached) " >&6
16463 else
16464 ac_check_soname_save_LIBS=$LIBS
16465 LIBS="-lodbc $LIBS"
16466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16467 /* end confdefs.h. */
16469 /* Override any GCC internal prototype to avoid an error.
16470 Use char because int might match the return type of a GCC
16471 builtin and then its argument prototype would still apply. */
16472 #ifdef __cplusplus
16473 extern "C"
16474 #endif
16475 char SQLConnect ();
16477 main ()
16479 return SQLConnect ();
16481 return 0;
16483 _ACEOF
16484 if ac_fn_c_try_link "$LINENO"; then :
16485 case "$LIBEXT" in
16486 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16487 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'` ;;
16488 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16489 if ${ac_cv_lib_soname_odbc:+false} :; then :
16490 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16491 fi ;;
16492 esac
16493 else
16494 ac_cv_lib_soname_odbc=
16496 rm -f core conftest.err conftest.$ac_objext \
16497 conftest$ac_exeext conftest.$ac_ext
16498 LIBS=$ac_check_soname_save_LIBS
16500 if ${ac_cv_lib_soname_odbc:+false} :; then :
16501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16502 $as_echo "not found" >&6; }
16503 cat >>confdefs.h <<_ACEOF
16504 #define SONAME_LIBODBC "libodbc.$LIBEXT"
16505 _ACEOF
16507 else
16508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
16509 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
16511 cat >>confdefs.h <<_ACEOF
16512 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
16513 _ACEOF
16518 if test "x$with_netapi" != "xno"
16519 then
16520 if ${NETAPI_CFLAGS:+false} :; then :
16521 if ${PKG_CONFIG+:} false; then :
16522 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
16526 if ${NETAPI_LIBS:+false} :; then :
16527 if ${PKG_CONFIG+:} false; then :
16528 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
16533 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
16534 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
16535 ac_save_CPPFLAGS=$CPPFLAGS
16536 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
16537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
16538 $as_echo_n "checking for -lnetapi... " >&6; }
16539 if ${ac_cv_lib_soname_netapi+:} false; then :
16540 $as_echo_n "(cached) " >&6
16541 else
16542 ac_check_soname_save_LIBS=$LIBS
16543 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
16544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16545 /* end confdefs.h. */
16547 /* Override any GCC internal prototype to avoid an error.
16548 Use char because int might match the return type of a GCC
16549 builtin and then its argument prototype would still apply. */
16550 #ifdef __cplusplus
16551 extern "C"
16552 #endif
16553 char libnetapi_init ();
16555 main ()
16557 return libnetapi_init ();
16559 return 0;
16561 _ACEOF
16562 if ac_fn_c_try_link "$LINENO"; then :
16563 case "$LIBEXT" in
16564 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16565 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'` ;;
16566 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16567 if ${ac_cv_lib_soname_netapi:+false} :; then :
16568 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16569 fi ;;
16570 esac
16571 else
16572 ac_cv_lib_soname_netapi=
16574 rm -f core conftest.err conftest.$ac_objext \
16575 conftest$ac_exeext conftest.$ac_ext
16576 LIBS=$ac_check_soname_save_LIBS
16578 if ${ac_cv_lib_soname_netapi:+false} :; then :
16579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16580 $as_echo "not found" >&6; }
16581 cat >>confdefs.h <<_ACEOF
16582 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
16583 _ACEOF
16585 else
16586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
16587 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
16589 cat >>confdefs.h <<_ACEOF
16590 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
16591 _ACEOF
16595 CPPFLAGS=$ac_save_CPPFLAGS
16596 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16597 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16601 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
16602 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
16603 then
16604 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
16607 if test "x$with_vulkan" != "xno"
16608 then
16609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
16610 $as_echo_n "checking for -lvulkan... " >&6; }
16611 if ${ac_cv_lib_soname_vulkan+:} false; then :
16612 $as_echo_n "(cached) " >&6
16613 else
16614 ac_check_soname_save_LIBS=$LIBS
16615 LIBS="-lvulkan $LIBS"
16616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16617 /* end confdefs.h. */
16619 /* Override any GCC internal prototype to avoid an error.
16620 Use char because int might match the return type of a GCC
16621 builtin and then its argument prototype would still apply. */
16622 #ifdef __cplusplus
16623 extern "C"
16624 #endif
16625 char vkGetInstanceProcAddr ();
16627 main ()
16629 return vkGetInstanceProcAddr ();
16631 return 0;
16633 _ACEOF
16634 if ac_fn_c_try_link "$LINENO"; then :
16635 case "$LIBEXT" in
16636 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16637 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'` ;;
16638 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16639 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16640 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16641 fi ;;
16642 esac
16643 else
16644 ac_cv_lib_soname_vulkan=
16646 rm -f core conftest.err conftest.$ac_objext \
16647 conftest$ac_exeext conftest.$ac_ext
16648 LIBS=$ac_check_soname_save_LIBS
16650 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16652 $as_echo "not found" >&6; }
16654 else
16655 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
16656 $as_echo "$ac_cv_lib_soname_vulkan" >&6; }
16658 cat >>confdefs.h <<_ACEOF
16659 #define SONAME_LIBVULKAN "$ac_cv_lib_soname_vulkan"
16660 _ACEOF
16664 if test "x$ac_cv_lib_soname_vulkan" = "x"
16665 then
16666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
16667 $as_echo_n "checking for -lMoltenVK... " >&6; }
16668 if ${ac_cv_lib_soname_MoltenVK+:} false; then :
16669 $as_echo_n "(cached) " >&6
16670 else
16671 ac_check_soname_save_LIBS=$LIBS
16672 LIBS="-lMoltenVK $LIBS"
16673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16674 /* end confdefs.h. */
16676 /* Override any GCC internal prototype to avoid an error.
16677 Use char because int might match the return type of a GCC
16678 builtin and then its argument prototype would still apply. */
16679 #ifdef __cplusplus
16680 extern "C"
16681 #endif
16682 char vkGetInstanceProcAddr ();
16684 main ()
16686 return vkGetInstanceProcAddr ();
16688 return 0;
16690 _ACEOF
16691 if ac_fn_c_try_link "$LINENO"; then :
16692 case "$LIBEXT" in
16693 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16694 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'` ;;
16695 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16696 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16697 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16698 fi ;;
16699 esac
16700 else
16701 ac_cv_lib_soname_MoltenVK=
16703 rm -f core conftest.err conftest.$ac_objext \
16704 conftest$ac_exeext conftest.$ac_ext
16705 LIBS=$ac_check_soname_save_LIBS
16707 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16709 $as_echo "not found" >&6; }
16711 else
16712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
16713 $as_echo "$ac_cv_lib_soname_MoltenVK" >&6; }
16715 cat >>confdefs.h <<_ACEOF
16716 #define SONAME_LIBMOLTENVK "$ac_cv_lib_soname_MoltenVK"
16717 _ACEOF
16723 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"; then :
16724 case "x$with_vulkan" in
16725 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
16726 xno) ;;
16727 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
16728 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
16729 esac
16733 if test "x$with_vkd3d" != "xno"
16734 then
16735 if ${VKD3D_CFLAGS:+false} :; then :
16736 if ${PKG_CONFIG+:} false; then :
16737 VKD3D_CFLAGS=`$PKG_CONFIG --cflags libvkd3d 2>/dev/null`
16741 if ${VKD3D_LIBS:+false} :; then :
16742 if ${PKG_CONFIG+:} false; then :
16743 VKD3D_LIBS=`$PKG_CONFIG --libs libvkd3d 2>/dev/null`
16748 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d cflags: $VKD3D_CFLAGS" >&5
16749 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d libs: $VKD3D_LIBS" >&5
16750 ac_save_CPPFLAGS=$CPPFLAGS
16751 CPPFLAGS="$CPPFLAGS $VKD3D_CFLAGS"
16752 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d" >&5
16753 $as_echo_n "checking for -lvkd3d... " >&6; }
16754 if ${ac_cv_lib_soname_vkd3d+:} false; then :
16755 $as_echo_n "(cached) " >&6
16756 else
16757 ac_check_soname_save_LIBS=$LIBS
16758 LIBS="-lvkd3d $VKD3D_LIBS $LIBS"
16759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16760 /* end confdefs.h. */
16762 /* Override any GCC internal prototype to avoid an error.
16763 Use char because int might match the return type of a GCC
16764 builtin and then its argument prototype would still apply. */
16765 #ifdef __cplusplus
16766 extern "C"
16767 #endif
16768 char vkd3d_get_dxgi_format ();
16770 main ()
16772 return vkd3d_get_dxgi_format ();
16774 return 0;
16776 _ACEOF
16777 if ac_fn_c_try_link "$LINENO"; then :
16778 case "$LIBEXT" in
16779 dll) ac_cv_lib_soname_vkd3d=`$ac_cv_path_LDD conftest.exe | grep "vkd3d" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16780 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'` ;;
16781 *) ac_cv_lib_soname_vkd3d=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvkd3d\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvkd3d\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16782 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16783 ac_cv_lib_soname_vkd3d=`$LDD conftest$ac_exeext | grep "libvkd3d\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16784 fi ;;
16785 esac
16786 else
16787 ac_cv_lib_soname_vkd3d=
16789 rm -f core conftest.err conftest.$ac_objext \
16790 conftest$ac_exeext conftest.$ac_ext
16791 LIBS=$ac_check_soname_save_LIBS
16793 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16795 $as_echo "not found" >&6; }
16797 else
16798 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d" >&5
16799 $as_echo "$ac_cv_lib_soname_vkd3d" >&6; }
16801 cat >>confdefs.h <<_ACEOF
16802 #define SONAME_LIBVKD3D "$ac_cv_lib_soname_vkd3d"
16803 _ACEOF
16807 CPPFLAGS=$ac_save_CPPFLAGS
16808 test -z "$VKD3D_CFLAGS" || VKD3D_CFLAGS=`echo " $VKD3D_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16809 test -z "$VKD3D_LIBS" || VKD3D_LIBS=`echo " $VKD3D_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16812 if test "x$ac_cv_lib_soname_vkd3d" = "x"; then :
16813 case "x$with_vkd3d" in
16814 x) as_fn_append wine_notices "|vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported." ;;
16815 xno) ;;
16816 *) as_fn_error $? "vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported.
16817 This is an error since --with-vkd3d was requested." "$LINENO" 5 ;;
16818 esac
16821 test "x$ac_cv_lib_soname_vkd3d" != "x" || enable_d3d12=${enable_d3d12:-no}
16824 EXTRACFLAGS=""
16826 if test "x${GCC}" = "xyes"
16827 then
16828 EXTRACFLAGS="-Wall -pipe"
16830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
16831 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
16832 if ${ac_cv_c_gcc_strength_bug+:} false; then :
16833 $as_echo_n "(cached) " >&6
16834 else
16835 if test "$cross_compiling" = yes; then :
16836 ac_cv_c_gcc_strength_bug="no"
16837 else
16838 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16839 /* end confdefs.h. */
16840 int L[4] = {0,1,2,3};
16842 main ()
16844 static int Array[3];
16845 unsigned int B = 3;
16846 int i;
16847 for(i=0; i<B; i++) Array[i] = i - 3;
16848 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
16849 L[i] = 4;
16850 return (Array[1] != -2 || L[2] != 3)
16852 return 0;
16854 _ACEOF
16855 if ac_fn_c_try_run "$LINENO"; then :
16856 ac_cv_c_gcc_strength_bug="no"
16857 else
16858 ac_cv_c_gcc_strength_bug="yes"
16860 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16861 conftest.$ac_objext conftest.beam conftest.$ac_ext
16865 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
16866 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
16867 if test "$ac_cv_c_gcc_strength_bug" = "yes"
16868 then
16869 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
16872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
16873 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
16874 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
16875 $as_echo_n "(cached) " >&6
16876 else
16877 ac_wine_try_cflags_saved=$CFLAGS
16878 CFLAGS="$CFLAGS -fno-strict-aliasing"
16879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16880 /* end confdefs.h. */
16881 int main(int argc, char **argv) { return 0; }
16882 _ACEOF
16883 if ac_fn_c_try_link "$LINENO"; then :
16884 ac_cv_cflags__fno_strict_aliasing=yes
16885 else
16886 ac_cv_cflags__fno_strict_aliasing=no
16888 rm -f core conftest.err conftest.$ac_objext \
16889 conftest$ac_exeext conftest.$ac_ext
16890 CFLAGS=$ac_wine_try_cflags_saved
16892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
16893 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
16894 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
16895 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
16897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
16898 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
16899 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
16900 $as_echo_n "(cached) " >&6
16901 else
16902 ac_wine_try_cflags_saved=$CFLAGS
16903 CFLAGS="$CFLAGS -fexcess-precision=standard"
16904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16905 /* end confdefs.h. */
16906 int main(int argc, char **argv) { return 0; }
16907 _ACEOF
16908 if ac_fn_c_try_link "$LINENO"; then :
16909 ac_cv_cflags__fexcess_precision_standard=yes
16910 else
16911 ac_cv_cflags__fexcess_precision_standard=no
16913 rm -f core conftest.err conftest.$ac_objext \
16914 conftest$ac_exeext conftest.$ac_ext
16915 CFLAGS=$ac_wine_try_cflags_saved
16917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
16918 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
16919 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
16920 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
16923 saved_CFLAGS=$CFLAGS
16924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
16925 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
16926 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
16927 $as_echo_n "(cached) " >&6
16928 else
16929 ac_wine_try_cflags_saved=$CFLAGS
16930 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
16931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16932 /* end confdefs.h. */
16933 int main(int argc, char **argv) { return 0; }
16934 _ACEOF
16935 if ac_fn_c_try_link "$LINENO"; then :
16936 ac_cv_cflags__Werror_unknown_warning_option=yes
16937 else
16938 ac_cv_cflags__Werror_unknown_warning_option=no
16940 rm -f core conftest.err conftest.$ac_objext \
16941 conftest$ac_exeext conftest.$ac_ext
16942 CFLAGS=$ac_wine_try_cflags_saved
16944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
16945 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
16946 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
16947 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
16949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
16950 $as_echo_n "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
16951 if ${ac_cv_cflags__Werror_unused_command_line_argument+:} false; then :
16952 $as_echo_n "(cached) " >&6
16953 else
16954 ac_wine_try_cflags_saved=$CFLAGS
16955 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
16956 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16957 /* end confdefs.h. */
16958 int main(int argc, char **argv) { return 0; }
16959 _ACEOF
16960 if ac_fn_c_try_link "$LINENO"; then :
16961 ac_cv_cflags__Werror_unused_command_line_argument=yes
16962 else
16963 ac_cv_cflags__Werror_unused_command_line_argument=no
16965 rm -f core conftest.err conftest.$ac_objext \
16966 conftest$ac_exeext conftest.$ac_ext
16967 CFLAGS=$ac_wine_try_cflags_saved
16969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
16970 $as_echo "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
16971 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes; then :
16972 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
16974 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
16975 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
16976 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
16977 $as_echo_n "(cached) " >&6
16978 else
16979 ac_wine_try_cflags_saved=$CFLAGS
16980 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
16981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16982 /* end confdefs.h. */
16983 int main(int argc, char **argv) { return 0; }
16984 _ACEOF
16985 if ac_fn_c_try_link "$LINENO"; then :
16986 ac_cv_cflags__Wdeclaration_after_statement=yes
16987 else
16988 ac_cv_cflags__Wdeclaration_after_statement=no
16990 rm -f core conftest.err conftest.$ac_objext \
16991 conftest$ac_exeext conftest.$ac_ext
16992 CFLAGS=$ac_wine_try_cflags_saved
16994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
16995 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
16996 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
16997 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
16999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
17000 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
17001 if ${ac_cv_cflags__Wempty_body+:} false; then :
17002 $as_echo_n "(cached) " >&6
17003 else
17004 ac_wine_try_cflags_saved=$CFLAGS
17005 CFLAGS="$CFLAGS -Wempty-body"
17006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17007 /* end confdefs.h. */
17008 int main(int argc, char **argv) { return 0; }
17009 _ACEOF
17010 if ac_fn_c_try_link "$LINENO"; then :
17011 ac_cv_cflags__Wempty_body=yes
17012 else
17013 ac_cv_cflags__Wempty_body=no
17015 rm -f core conftest.err conftest.$ac_objext \
17016 conftest$ac_exeext conftest.$ac_ext
17017 CFLAGS=$ac_wine_try_cflags_saved
17019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
17020 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
17021 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
17022 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
17024 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
17025 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
17026 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
17027 $as_echo_n "(cached) " >&6
17028 else
17029 ac_wine_try_cflags_saved=$CFLAGS
17030 CFLAGS="$CFLAGS -Wignored-qualifiers"
17031 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17032 /* end confdefs.h. */
17033 int main(int argc, char **argv) { return 0; }
17034 _ACEOF
17035 if ac_fn_c_try_link "$LINENO"; then :
17036 ac_cv_cflags__Wignored_qualifiers=yes
17037 else
17038 ac_cv_cflags__Wignored_qualifiers=no
17040 rm -f core conftest.err conftest.$ac_objext \
17041 conftest$ac_exeext conftest.$ac_ext
17042 CFLAGS=$ac_wine_try_cflags_saved
17044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
17045 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
17046 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
17047 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
17049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
17050 $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
17051 if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
17052 $as_echo_n "(cached) " >&6
17053 else
17054 ac_wine_try_cflags_saved=$CFLAGS
17055 CFLAGS="$CFLAGS -Wpacked-not-aligned"
17056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17057 /* end confdefs.h. */
17058 int main(int argc, char **argv) { return 0; }
17059 _ACEOF
17060 if ac_fn_c_try_link "$LINENO"; then :
17061 ac_cv_cflags__Wpacked_not_aligned=yes
17062 else
17063 ac_cv_cflags__Wpacked_not_aligned=no
17065 rm -f core conftest.err conftest.$ac_objext \
17066 conftest$ac_exeext conftest.$ac_ext
17067 CFLAGS=$ac_wine_try_cflags_saved
17069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
17070 $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
17071 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
17072 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
17074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
17075 $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
17076 if ${ac_cv_cflags__Wpragma_pack+:} false; then :
17077 $as_echo_n "(cached) " >&6
17078 else
17079 ac_wine_try_cflags_saved=$CFLAGS
17080 CFLAGS="$CFLAGS -Wpragma-pack"
17081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17082 /* end confdefs.h. */
17083 int main(int argc, char **argv) { return 0; }
17084 _ACEOF
17085 if ac_fn_c_try_link "$LINENO"; then :
17086 ac_cv_cflags__Wpragma_pack=yes
17087 else
17088 ac_cv_cflags__Wpragma_pack=no
17090 rm -f core conftest.err conftest.$ac_objext \
17091 conftest$ac_exeext conftest.$ac_ext
17092 CFLAGS=$ac_wine_try_cflags_saved
17094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
17095 $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
17096 if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
17097 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
17099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
17100 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
17101 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
17102 $as_echo_n "(cached) " >&6
17103 else
17104 ac_wine_try_cflags_saved=$CFLAGS
17105 CFLAGS="$CFLAGS -Wshift-overflow=2"
17106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17107 /* end confdefs.h. */
17108 int main(int argc, char **argv) { return 0; }
17109 _ACEOF
17110 if ac_fn_c_try_link "$LINENO"; then :
17111 ac_cv_cflags__Wshift_overflow_2=yes
17112 else
17113 ac_cv_cflags__Wshift_overflow_2=no
17115 rm -f core conftest.err conftest.$ac_objext \
17116 conftest$ac_exeext conftest.$ac_ext
17117 CFLAGS=$ac_wine_try_cflags_saved
17119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
17120 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
17121 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
17122 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
17124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
17125 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
17126 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
17127 $as_echo_n "(cached) " >&6
17128 else
17129 ac_wine_try_cflags_saved=$CFLAGS
17130 CFLAGS="$CFLAGS -Wstrict-prototypes"
17131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17132 /* end confdefs.h. */
17133 int main(int argc, char **argv) { return 0; }
17134 _ACEOF
17135 if ac_fn_c_try_link "$LINENO"; then :
17136 ac_cv_cflags__Wstrict_prototypes=yes
17137 else
17138 ac_cv_cflags__Wstrict_prototypes=no
17140 rm -f core conftest.err conftest.$ac_objext \
17141 conftest$ac_exeext conftest.$ac_ext
17142 CFLAGS=$ac_wine_try_cflags_saved
17144 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
17145 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
17146 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
17147 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
17149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
17150 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
17151 if ${ac_cv_cflags__Wtype_limits+:} false; then :
17152 $as_echo_n "(cached) " >&6
17153 else
17154 ac_wine_try_cflags_saved=$CFLAGS
17155 CFLAGS="$CFLAGS -Wtype-limits"
17156 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17157 /* end confdefs.h. */
17158 int main(int argc, char **argv) { return 0; }
17159 _ACEOF
17160 if ac_fn_c_try_link "$LINENO"; then :
17161 ac_cv_cflags__Wtype_limits=yes
17162 else
17163 ac_cv_cflags__Wtype_limits=no
17165 rm -f core conftest.err conftest.$ac_objext \
17166 conftest$ac_exeext conftest.$ac_ext
17167 CFLAGS=$ac_wine_try_cflags_saved
17169 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
17170 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
17171 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
17172 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
17174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
17175 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
17176 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
17177 $as_echo_n "(cached) " >&6
17178 else
17179 ac_wine_try_cflags_saved=$CFLAGS
17180 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
17181 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17182 /* end confdefs.h. */
17183 int main(int argc, char **argv) { return 0; }
17184 _ACEOF
17185 if ac_fn_c_try_link "$LINENO"; then :
17186 ac_cv_cflags__Wunused_but_set_parameter=yes
17187 else
17188 ac_cv_cflags__Wunused_but_set_parameter=no
17190 rm -f core conftest.err conftest.$ac_objext \
17191 conftest$ac_exeext conftest.$ac_ext
17192 CFLAGS=$ac_wine_try_cflags_saved
17194 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
17195 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
17196 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
17197 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
17199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
17200 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
17201 if ${ac_cv_cflags__Wvla+:} false; then :
17202 $as_echo_n "(cached) " >&6
17203 else
17204 ac_wine_try_cflags_saved=$CFLAGS
17205 CFLAGS="$CFLAGS -Wvla"
17206 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17207 /* end confdefs.h. */
17208 int main(int argc, char **argv) { return 0; }
17209 _ACEOF
17210 if ac_fn_c_try_link "$LINENO"; then :
17211 ac_cv_cflags__Wvla=yes
17212 else
17213 ac_cv_cflags__Wvla=no
17215 rm -f core conftest.err conftest.$ac_objext \
17216 conftest$ac_exeext conftest.$ac_ext
17217 CFLAGS=$ac_wine_try_cflags_saved
17219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
17220 $as_echo "$ac_cv_cflags__Wvla" >&6; }
17221 if test "x$ac_cv_cflags__Wvla" = xyes; then :
17222 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
17224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
17225 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
17226 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
17227 $as_echo_n "(cached) " >&6
17228 else
17229 ac_wine_try_cflags_saved=$CFLAGS
17230 CFLAGS="$CFLAGS -Wwrite-strings"
17231 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17232 /* end confdefs.h. */
17233 int main(int argc, char **argv) { return 0; }
17234 _ACEOF
17235 if ac_fn_c_try_link "$LINENO"; then :
17236 ac_cv_cflags__Wwrite_strings=yes
17237 else
17238 ac_cv_cflags__Wwrite_strings=no
17240 rm -f core conftest.err conftest.$ac_objext \
17241 conftest$ac_exeext conftest.$ac_ext
17242 CFLAGS=$ac_wine_try_cflags_saved
17244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
17245 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
17246 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
17247 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
17250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
17251 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
17252 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
17253 $as_echo_n "(cached) " >&6
17254 else
17255 ac_wine_try_cflags_saved=$CFLAGS
17256 CFLAGS="$CFLAGS -Wpointer-arith"
17257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17258 /* end confdefs.h. */
17259 int main(int argc, char **argv) { return 0; }
17260 _ACEOF
17261 if ac_fn_c_try_link "$LINENO"; then :
17262 ac_cv_cflags__Wpointer_arith=yes
17263 else
17264 ac_cv_cflags__Wpointer_arith=no
17266 rm -f core conftest.err conftest.$ac_objext \
17267 conftest$ac_exeext conftest.$ac_ext
17268 CFLAGS=$ac_wine_try_cflags_saved
17270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
17271 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
17272 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
17273 saved_string_h_CFLAGS=$CFLAGS
17274 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
17275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
17276 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
17277 if ${ac_cv_c_string_h_warnings+:} false; then :
17278 $as_echo_n "(cached) " >&6
17279 else
17280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17281 /* end confdefs.h. */
17282 #include <string.h>
17284 main ()
17288 return 0;
17290 _ACEOF
17291 if ac_fn_c_try_compile "$LINENO"; then :
17292 ac_cv_c_string_h_warnings=no
17293 else
17294 ac_cv_c_string_h_warnings=yes
17296 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
17299 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
17300 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
17301 CFLAGS=$saved_string_h_CFLAGS
17304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
17305 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
17306 if ${ac_cv_cflags__Wlogical_op+:} false; then :
17307 $as_echo_n "(cached) " >&6
17308 else
17309 ac_wine_try_cflags_saved=$CFLAGS
17310 CFLAGS="$CFLAGS -Wlogical-op"
17311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17312 /* end confdefs.h. */
17313 int main(int argc, char **argv) { return 0; }
17314 _ACEOF
17315 if ac_fn_c_try_link "$LINENO"; then :
17316 ac_cv_cflags__Wlogical_op=yes
17317 else
17318 ac_cv_cflags__Wlogical_op=no
17320 rm -f core conftest.err conftest.$ac_objext \
17321 conftest$ac_exeext conftest.$ac_ext
17322 CFLAGS=$ac_wine_try_cflags_saved
17324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
17325 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
17326 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
17327 saved_string_h_CFLAGS=$CFLAGS
17328 CFLAGS="$CFLAGS -Wlogical-op -Werror"
17329 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
17330 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
17331 if ${ac_cv_c_logicalop_noisy+:} false; then :
17332 $as_echo_n "(cached) " >&6
17333 else
17334 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17335 /* end confdefs.h. */
17336 #include <string.h>
17337 char*f(const char *h,char n) {return strchr(h,n);}
17339 main ()
17343 return 0;
17345 _ACEOF
17346 if ac_fn_c_try_compile "$LINENO"; then :
17347 ac_cv_c_logicalop_noisy=no
17348 else
17349 ac_cv_c_logicalop_noisy=yes
17351 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
17354 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
17355 CFLAGS=$saved_string_h_CFLAGS
17356 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
17359 for ac_flag in $CFLAGS; do
17360 case $ac_flag in
17361 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
17362 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
17363 if ${ac_cv_cflags__gdwarf_2+:} false; then :
17364 $as_echo_n "(cached) " >&6
17365 else
17366 ac_wine_try_cflags_saved=$CFLAGS
17367 CFLAGS="$CFLAGS -gdwarf-2"
17368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17369 /* end confdefs.h. */
17370 int main(int argc, char **argv) { return 0; }
17371 _ACEOF
17372 if ac_fn_c_try_link "$LINENO"; then :
17373 ac_cv_cflags__gdwarf_2=yes
17374 else
17375 ac_cv_cflags__gdwarf_2=no
17377 rm -f core conftest.err conftest.$ac_objext \
17378 conftest$ac_exeext conftest.$ac_ext
17379 CFLAGS=$ac_wine_try_cflags_saved
17381 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
17382 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
17383 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
17384 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
17386 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
17387 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
17388 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
17389 $as_echo_n "(cached) " >&6
17390 else
17391 ac_wine_try_cflags_saved=$CFLAGS
17392 CFLAGS="$CFLAGS -gstrict-dwarf"
17393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17394 /* end confdefs.h. */
17395 int main(int argc, char **argv) { return 0; }
17396 _ACEOF
17397 if ac_fn_c_try_link "$LINENO"; then :
17398 ac_cv_cflags__gstrict_dwarf=yes
17399 else
17400 ac_cv_cflags__gstrict_dwarf=no
17402 rm -f core conftest.err conftest.$ac_objext \
17403 conftest$ac_exeext conftest.$ac_ext
17404 CFLAGS=$ac_wine_try_cflags_saved
17406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
17407 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
17408 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
17409 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
17410 fi ;;
17411 esac
17412 done
17414 MSVCRTFLAGS=""
17416 case $host_os in
17417 cygwin*|mingw32*) ;;
17418 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
17419 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
17420 if ${ac_cv_cflags__fno_builtin+:} false; then :
17421 $as_echo_n "(cached) " >&6
17422 else
17423 ac_wine_try_cflags_saved=$CFLAGS
17424 CFLAGS="$CFLAGS -fno-builtin"
17425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17426 /* end confdefs.h. */
17427 int main(int argc, char **argv) { return 0; }
17428 _ACEOF
17429 if ac_fn_c_try_link "$LINENO"; then :
17430 ac_cv_cflags__fno_builtin=yes
17431 else
17432 ac_cv_cflags__fno_builtin=no
17434 rm -f core conftest.err conftest.$ac_objext \
17435 conftest$ac_exeext conftest.$ac_ext
17436 CFLAGS=$ac_wine_try_cflags_saved
17438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
17439 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
17440 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
17441 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
17443 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
17444 $as_echo_n "checking whether the compiler supports -fshort-wchar... " >&6; }
17445 if ${ac_cv_cflags__fshort_wchar+:} false; then :
17446 $as_echo_n "(cached) " >&6
17447 else
17448 ac_wine_try_cflags_saved=$CFLAGS
17449 CFLAGS="$CFLAGS -fshort-wchar"
17450 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17451 /* end confdefs.h. */
17452 int main(int argc, char **argv) { return 0; }
17453 _ACEOF
17454 if ac_fn_c_try_link "$LINENO"; then :
17455 ac_cv_cflags__fshort_wchar=yes
17456 else
17457 ac_cv_cflags__fshort_wchar=no
17459 rm -f core conftest.err conftest.$ac_objext \
17460 conftest$ac_exeext conftest.$ac_ext
17461 CFLAGS=$ac_wine_try_cflags_saved
17463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
17464 $as_echo "$ac_cv_cflags__fshort_wchar" >&6; }
17465 if test "x$ac_cv_cflags__fshort_wchar" = xyes; then :
17466 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
17467 fi ;;
17468 esac
17470 case $host_cpu in
17471 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
17472 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
17473 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
17474 $as_echo_n "(cached) " >&6
17475 else
17476 ac_wine_try_cflags_saved=$CFLAGS
17477 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
17478 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17479 /* end confdefs.h. */
17480 int main(int argc, char **argv) { return 0; }
17481 _ACEOF
17482 if ac_fn_c_try_link "$LINENO"; then :
17483 ac_cv_cflags__fno_omit_frame_pointer=yes
17484 else
17485 ac_cv_cflags__fno_omit_frame_pointer=no
17487 rm -f core conftest.err conftest.$ac_objext \
17488 conftest$ac_exeext conftest.$ac_ext
17489 CFLAGS=$ac_wine_try_cflags_saved
17491 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
17492 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
17493 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
17494 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
17495 fi ;;
17496 *x86_64*)
17497 case $host_os in
17498 cygwin*|mingw32*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
17499 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
17500 if ${ac_cv_cflags__Wno_format+:} false; then :
17501 $as_echo_n "(cached) " >&6
17502 else
17503 ac_wine_try_cflags_saved=$CFLAGS
17504 CFLAGS="$CFLAGS -Wno-format"
17505 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17506 /* end confdefs.h. */
17507 int main(int argc, char **argv) { return 0; }
17508 _ACEOF
17509 if ac_fn_c_try_link "$LINENO"; then :
17510 ac_cv_cflags__Wno_format=yes
17511 else
17512 ac_cv_cflags__Wno_format=no
17514 rm -f core conftest.err conftest.$ac_objext \
17515 conftest$ac_exeext conftest.$ac_ext
17516 CFLAGS=$ac_wine_try_cflags_saved
17518 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
17519 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
17520 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
17521 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
17522 fi ;;
17523 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mabi=ms" >&5
17524 $as_echo_n "checking whether the compiler supports -mabi=ms... " >&6; }
17525 if ${ac_cv_cflags__mabi_ms+:} false; then :
17526 $as_echo_n "(cached) " >&6
17527 else
17528 ac_wine_try_cflags_saved=$CFLAGS
17529 CFLAGS="$CFLAGS -mabi=ms"
17530 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17531 /* end confdefs.h. */
17532 int main(int argc, char **argv) { return 0; }
17533 _ACEOF
17534 if ac_fn_c_try_link "$LINENO"; then :
17535 ac_cv_cflags__mabi_ms=yes
17536 else
17537 ac_cv_cflags__mabi_ms=no
17539 rm -f core conftest.err conftest.$ac_objext \
17540 conftest$ac_exeext conftest.$ac_ext
17541 CFLAGS=$ac_wine_try_cflags_saved
17543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mabi_ms" >&5
17544 $as_echo "$ac_cv_cflags__mabi_ms" >&6; }
17545 if test "x$ac_cv_cflags__mabi_ms" = xyes; then :
17546 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms"
17547 fi ;;
17548 esac ;;
17549 esac
17551 CFLAGS=$saved_CFLAGS
17553 if test "x$enable_maintainer_mode" = "xyes"
17554 then
17555 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
17556 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
17557 if ${ac_cv_cflags__Werror+:} false; then :
17558 $as_echo_n "(cached) " >&6
17559 else
17560 ac_wine_try_cflags_saved=$CFLAGS
17561 CFLAGS="$CFLAGS -Werror"
17562 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17563 /* end confdefs.h. */
17564 int main(int argc, char **argv) { return 0; }
17565 _ACEOF
17566 if ac_fn_c_try_link "$LINENO"; then :
17567 ac_cv_cflags__Werror=yes
17568 else
17569 ac_cv_cflags__Werror=no
17571 rm -f core conftest.err conftest.$ac_objext \
17572 conftest$ac_exeext conftest.$ac_ext
17573 CFLAGS=$ac_wine_try_cflags_saved
17575 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
17576 $as_echo "$ac_cv_cflags__Werror" >&6; }
17577 if test "x$ac_cv_cflags__Werror" = xyes; then :
17578 EXTRACFLAGS="$EXTRACFLAGS -Werror"
17584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
17585 $as_echo_n "checking for the need to disable Fortify... " >&6; }
17586 if ${ac_cv_c_fortify_enabled+:} false; then :
17587 $as_echo_n "(cached) " >&6
17588 else
17589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17590 /* end confdefs.h. */
17591 #include <string.h>
17593 main ()
17595 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
17596 #error Fortify enabled
17597 #endif
17599 return 0;
17601 _ACEOF
17602 if ac_fn_c_try_compile "$LINENO"; then :
17603 ac_cv_c_fortify_enabled=no
17604 else
17605 ac_cv_c_fortify_enabled=yes
17607 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
17610 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
17611 if test "$ac_cv_c_fortify_enabled" = yes
17612 then
17613 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
17617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
17618 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
17619 if ${ac_cv_c_cfi_support+:} false; then :
17620 $as_echo_n "(cached) " >&6
17621 else
17622 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17623 /* end confdefs.h. */
17624 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
17626 main ()
17630 return 0;
17632 _ACEOF
17633 if ac_fn_c_try_compile "$LINENO"; then :
17634 ac_cv_c_cfi_support="yes"
17635 else
17636 ac_cv_c_cfi_support="no"
17638 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
17641 $as_echo "$ac_cv_c_cfi_support" >&6; }
17642 if test "$ac_cv_c_cfi_support" = "yes"
17643 then
17644 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
17645 else
17646 if test "x$enable_win64" = "xyes"
17647 then
17648 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
17653 case $build_os in
17654 cygwin*|mingw32*) TOOLSEXT=".exe"
17656 esac
17658 case $host_os in
17659 linux*)
17660 case $host_cpu in
17661 *i[3456789]86*|x86_64*|*aarch64*)
17662 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
17663 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
17665 esac
17667 esac
17670 ac_save_CFLAGS="$CFLAGS"
17671 CFLAGS="$CFLAGS $BUILTINFLAG"
17672 for ac_func in \
17673 __res_get_state \
17674 __res_getservers \
17675 _spawnvp \
17676 dlopen \
17677 epoll_create \
17678 ffs \
17679 finitef \
17680 fnmatch \
17681 fork \
17682 fpclass \
17683 fstatfs \
17684 fstatvfs \
17685 futimens \
17686 futimes \
17687 futimesat \
17688 getattrlist \
17689 getauxval \
17690 getifaddrs \
17691 getopt_long_only \
17692 kqueue \
17693 lstat \
17694 pipe2 \
17695 poll \
17696 port_create \
17697 prctl \
17698 pread \
17699 proc_pidinfo \
17700 pwrite \
17701 readdir \
17702 readlink \
17703 sched_yield \
17704 select \
17705 setproctitle \
17706 setprogname \
17707 settimeofday \
17708 sigprocmask \
17709 statfs \
17710 statvfs \
17711 strnlen \
17712 strtold \
17713 symlink \
17714 sysinfo \
17715 tcdrain \
17716 thr_kill2 \
17717 timegm \
17718 usleep
17720 do :
17721 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17722 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17723 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17724 cat >>confdefs.h <<_ACEOF
17725 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17726 _ACEOF
17729 done
17731 CFLAGS="$ac_save_CFLAGS"
17733 if test "$ac_cv_func_dlopen" = no
17734 then
17735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
17736 $as_echo_n "checking for dlopen in -ldl... " >&6; }
17737 if ${ac_cv_lib_dl_dlopen+:} false; then :
17738 $as_echo_n "(cached) " >&6
17739 else
17740 ac_check_lib_save_LIBS=$LIBS
17741 LIBS="-ldl $LIBS"
17742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17743 /* end confdefs.h. */
17745 /* Override any GCC internal prototype to avoid an error.
17746 Use char because int might match the return type of a GCC
17747 builtin and then its argument prototype would still apply. */
17748 #ifdef __cplusplus
17749 extern "C"
17750 #endif
17751 char dlopen ();
17753 main ()
17755 return dlopen ();
17757 return 0;
17759 _ACEOF
17760 if ac_fn_c_try_link "$LINENO"; then :
17761 ac_cv_lib_dl_dlopen=yes
17762 else
17763 ac_cv_lib_dl_dlopen=no
17765 rm -f core conftest.err conftest.$ac_objext \
17766 conftest$ac_exeext conftest.$ac_ext
17767 LIBS=$ac_check_lib_save_LIBS
17769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
17770 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
17771 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
17772 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
17773 DL_LIBS="-ldl"
17778 ac_wine_check_funcs_save_LIBS="$LIBS"
17779 LIBS="$LIBS $DL_LIBS"
17780 for ac_func in dladdr
17781 do :
17782 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
17783 if test "x$ac_cv_func_dladdr" = xyes; then :
17784 cat >>confdefs.h <<_ACEOF
17785 #define HAVE_DLADDR 1
17786 _ACEOF
17789 done
17791 LIBS="$ac_wine_check_funcs_save_LIBS"
17793 if test "$ac_cv_func_poll" = no
17794 then
17795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
17796 $as_echo_n "checking for poll in -lpoll... " >&6; }
17797 if ${ac_cv_lib_poll_poll+:} false; then :
17798 $as_echo_n "(cached) " >&6
17799 else
17800 ac_check_lib_save_LIBS=$LIBS
17801 LIBS="-lpoll $LIBS"
17802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17803 /* end confdefs.h. */
17805 /* Override any GCC internal prototype to avoid an error.
17806 Use char because int might match the return type of a GCC
17807 builtin and then its argument prototype would still apply. */
17808 #ifdef __cplusplus
17809 extern "C"
17810 #endif
17811 char poll ();
17813 main ()
17815 return poll ();
17817 return 0;
17819 _ACEOF
17820 if ac_fn_c_try_link "$LINENO"; then :
17821 ac_cv_lib_poll_poll=yes
17822 else
17823 ac_cv_lib_poll_poll=no
17825 rm -f core conftest.err conftest.$ac_objext \
17826 conftest$ac_exeext conftest.$ac_ext
17827 LIBS=$ac_check_lib_save_LIBS
17829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
17830 $as_echo "$ac_cv_lib_poll_poll" >&6; }
17831 if test "x$ac_cv_lib_poll_poll" = xyes; then :
17832 $as_echo "#define HAVE_POLL 1" >>confdefs.h
17833 POLL_LIBS="-lpoll"
17839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
17840 $as_echo_n "checking for library containing gethostbyname... " >&6; }
17841 if ${ac_cv_search_gethostbyname+:} false; then :
17842 $as_echo_n "(cached) " >&6
17843 else
17844 ac_func_search_save_LIBS=$LIBS
17845 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17846 /* end confdefs.h. */
17848 /* Override any GCC internal prototype to avoid an error.
17849 Use char because int might match the return type of a GCC
17850 builtin and then its argument prototype would still apply. */
17851 #ifdef __cplusplus
17852 extern "C"
17853 #endif
17854 char gethostbyname ();
17856 main ()
17858 return gethostbyname ();
17860 return 0;
17862 _ACEOF
17863 for ac_lib in '' nsl; do
17864 if test -z "$ac_lib"; then
17865 ac_res="none required"
17866 else
17867 ac_res=-l$ac_lib
17868 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17870 if ac_fn_c_try_link "$LINENO"; then :
17871 ac_cv_search_gethostbyname=$ac_res
17873 rm -f core conftest.err conftest.$ac_objext \
17874 conftest$ac_exeext
17875 if ${ac_cv_search_gethostbyname+:} false; then :
17876 break
17878 done
17879 if ${ac_cv_search_gethostbyname+:} false; then :
17881 else
17882 ac_cv_search_gethostbyname=no
17884 rm conftest.$ac_ext
17885 LIBS=$ac_func_search_save_LIBS
17887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
17888 $as_echo "$ac_cv_search_gethostbyname" >&6; }
17889 ac_res=$ac_cv_search_gethostbyname
17890 if test "$ac_res" != no; then :
17891 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
17897 $as_echo_n "checking for library containing connect... " >&6; }
17898 if ${ac_cv_search_connect+:} false; then :
17899 $as_echo_n "(cached) " >&6
17900 else
17901 ac_func_search_save_LIBS=$LIBS
17902 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17903 /* end confdefs.h. */
17905 /* Override any GCC internal prototype to avoid an error.
17906 Use char because int might match the return type of a GCC
17907 builtin and then its argument prototype would still apply. */
17908 #ifdef __cplusplus
17909 extern "C"
17910 #endif
17911 char connect ();
17913 main ()
17915 return connect ();
17917 return 0;
17919 _ACEOF
17920 for ac_lib in '' socket; do
17921 if test -z "$ac_lib"; then
17922 ac_res="none required"
17923 else
17924 ac_res=-l$ac_lib
17925 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17927 if ac_fn_c_try_link "$LINENO"; then :
17928 ac_cv_search_connect=$ac_res
17930 rm -f core conftest.err conftest.$ac_objext \
17931 conftest$ac_exeext
17932 if ${ac_cv_search_connect+:} false; then :
17933 break
17935 done
17936 if ${ac_cv_search_connect+:} false; then :
17938 else
17939 ac_cv_search_connect=no
17941 rm conftest.$ac_ext
17942 LIBS=$ac_func_search_save_LIBS
17944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
17945 $as_echo "$ac_cv_search_connect" >&6; }
17946 ac_res=$ac_cv_search_connect
17947 if test "$ac_res" != no; then :
17948 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17953 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
17954 $as_echo_n "checking for library containing inet_aton... " >&6; }
17955 if ${ac_cv_search_inet_aton+:} false; then :
17956 $as_echo_n "(cached) " >&6
17957 else
17958 ac_func_search_save_LIBS=$LIBS
17959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17960 /* end confdefs.h. */
17962 /* Override any GCC internal prototype to avoid an error.
17963 Use char because int might match the return type of a GCC
17964 builtin and then its argument prototype would still apply. */
17965 #ifdef __cplusplus
17966 extern "C"
17967 #endif
17968 char inet_aton ();
17970 main ()
17972 return inet_aton ();
17974 return 0;
17976 _ACEOF
17977 for ac_lib in '' resolv; do
17978 if test -z "$ac_lib"; then
17979 ac_res="none required"
17980 else
17981 ac_res=-l$ac_lib
17982 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17984 if ac_fn_c_try_link "$LINENO"; then :
17985 ac_cv_search_inet_aton=$ac_res
17987 rm -f core conftest.err conftest.$ac_objext \
17988 conftest$ac_exeext
17989 if ${ac_cv_search_inet_aton+:} false; then :
17990 break
17992 done
17993 if ${ac_cv_search_inet_aton+:} false; then :
17995 else
17996 ac_cv_search_inet_aton=no
17998 rm conftest.$ac_ext
17999 LIBS=$ac_func_search_save_LIBS
18001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
18002 $as_echo "$ac_cv_search_inet_aton" >&6; }
18003 ac_res=$ac_cv_search_inet_aton
18004 if test "$ac_res" != no; then :
18005 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18010 for ac_func in \
18011 getaddrinfo \
18012 getnameinfo \
18013 getnetbyname \
18014 getprotobyname \
18015 getprotobynumber \
18016 getservbyport \
18017 inet_addr \
18018 inet_network \
18019 inet_ntop \
18020 inet_pton \
18022 do :
18023 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18024 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18025 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18026 cat >>confdefs.h <<_ACEOF
18027 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18028 _ACEOF
18031 done
18034 case $host_os in
18035 darwin*|macosx*) ;;
18036 *) ac_save_LIBS=$LIBS
18037 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
18038 $as_echo_n "checking for library containing clock_gettime... " >&6; }
18039 if ${ac_cv_search_clock_gettime+:} false; then :
18040 $as_echo_n "(cached) " >&6
18041 else
18042 ac_func_search_save_LIBS=$LIBS
18043 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18044 /* end confdefs.h. */
18046 /* Override any GCC internal prototype to avoid an error.
18047 Use char because int might match the return type of a GCC
18048 builtin and then its argument prototype would still apply. */
18049 #ifdef __cplusplus
18050 extern "C"
18051 #endif
18052 char clock_gettime ();
18054 main ()
18056 return clock_gettime ();
18058 return 0;
18060 _ACEOF
18061 for ac_lib in '' rt; do
18062 if test -z "$ac_lib"; then
18063 ac_res="none required"
18064 else
18065 ac_res=-l$ac_lib
18066 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18068 if ac_fn_c_try_link "$LINENO"; then :
18069 ac_cv_search_clock_gettime=$ac_res
18071 rm -f core conftest.err conftest.$ac_objext \
18072 conftest$ac_exeext
18073 if ${ac_cv_search_clock_gettime+:} false; then :
18074 break
18076 done
18077 if ${ac_cv_search_clock_gettime+:} false; then :
18079 else
18080 ac_cv_search_clock_gettime=no
18082 rm conftest.$ac_ext
18083 LIBS=$ac_func_search_save_LIBS
18085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
18086 $as_echo "$ac_cv_search_clock_gettime" >&6; }
18087 ac_res=$ac_cv_search_clock_gettime
18088 if test "$ac_res" != no; then :
18089 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18091 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
18093 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
18097 LIBS=$ac_save_LIBS
18099 esac
18101 if test "x$with_ldap" != "xno"
18102 then
18103 if ${LDAP_CFLAGS:+false} :; then :
18104 if ${PKG_CONFIG+:} false; then :
18105 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
18109 if ${LDAP_LIBS:+false} :; then :
18110 if ${PKG_CONFIG+:} false; then :
18111 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
18115 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
18116 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
18117 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
18118 ac_save_CPPFLAGS=$CPPFLAGS
18119 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
18120 for ac_header in ldap.h lber.h
18121 do :
18122 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18123 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18124 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
18125 cat >>confdefs.h <<_ACEOF
18126 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18127 _ACEOF
18131 done
18133 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
18134 then
18135 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
18137 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
18138 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
18139 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
18140 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
18141 $as_echo_n "(cached) " >&6
18142 else
18143 ac_check_lib_save_LIBS=$LIBS
18144 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18145 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18146 /* end confdefs.h. */
18148 /* Override any GCC internal prototype to avoid an error.
18149 Use char because int might match the return type of a GCC
18150 builtin and then its argument prototype would still apply. */
18151 #ifdef __cplusplus
18152 extern "C"
18153 #endif
18154 char ldap_initialize ();
18156 main ()
18158 return ldap_initialize ();
18160 return 0;
18162 _ACEOF
18163 if ac_fn_c_try_link "$LINENO"; then :
18164 ac_cv_lib_ldap_r_ldap_initialize=yes
18165 else
18166 ac_cv_lib_ldap_r_ldap_initialize=no
18168 rm -f core conftest.err conftest.$ac_objext \
18169 conftest$ac_exeext conftest.$ac_ext
18170 LIBS=$ac_check_lib_save_LIBS
18172 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
18173 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
18174 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
18175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
18176 $as_echo_n "checking for ber_init in -llber... " >&6; }
18177 if ${ac_cv_lib_lber_ber_init+:} false; then :
18178 $as_echo_n "(cached) " >&6
18179 else
18180 ac_check_lib_save_LIBS=$LIBS
18181 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18183 /* end confdefs.h. */
18185 /* Override any GCC internal prototype to avoid an error.
18186 Use char because int might match the return type of a GCC
18187 builtin and then its argument prototype would still apply. */
18188 #ifdef __cplusplus
18189 extern "C"
18190 #endif
18191 char ber_init ();
18193 main ()
18195 return ber_init ();
18197 return 0;
18199 _ACEOF
18200 if ac_fn_c_try_link "$LINENO"; then :
18201 ac_cv_lib_lber_ber_init=yes
18202 else
18203 ac_cv_lib_lber_ber_init=no
18205 rm -f core conftest.err conftest.$ac_objext \
18206 conftest$ac_exeext conftest.$ac_ext
18207 LIBS=$ac_check_lib_save_LIBS
18209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
18210 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
18211 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
18213 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
18215 else
18216 LDAP_LIBS=""
18219 else
18220 LDAP_LIBS=""
18223 else
18224 LDAP_LIBS=""
18227 ac_wine_check_funcs_save_LIBS="$LIBS"
18228 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
18229 for ac_func in \
18230 ldap_count_references \
18231 ldap_first_reference \
18232 ldap_next_reference \
18233 ldap_parse_reference \
18234 ldap_parse_sort_control \
18235 ldap_parse_sortresponse_control \
18236 ldap_parse_vlv_control \
18237 ldap_parse_vlvresponse_control
18238 do :
18239 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18240 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18241 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18242 cat >>confdefs.h <<_ACEOF
18243 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18244 _ACEOF
18247 done
18249 LIBS="$ac_wine_check_funcs_save_LIBS"
18250 else
18251 LDAP_LIBS=""
18253 CPPFLAGS=$ac_save_CPPFLAGS
18254 test -z "$LDAP_CFLAGS" || LDAP_CFLAGS=`echo " $LDAP_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
18255 test -z "$LDAP_LIBS" || LDAP_LIBS=`echo " $LDAP_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
18258 if test "x$LDAP_LIBS" = "x"; then :
18259 case "x$with_ldap" in
18260 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
18261 xno) ;;
18262 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
18263 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
18264 esac
18268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
18269 $as_echo_n "checking for sched_setaffinity... " >&6; }
18270 if ${wine_cv_have_sched_setaffinity+:} false; then :
18271 $as_echo_n "(cached) " >&6
18272 else
18273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18274 /* end confdefs.h. */
18275 #define _GNU_SOURCE
18276 #include <sched.h>
18278 main ()
18280 sched_setaffinity(0, 0, 0);
18282 return 0;
18284 _ACEOF
18285 if ac_fn_c_try_link "$LINENO"; then :
18286 wine_cv_have_sched_setaffinity=yes
18287 else
18288 wine_cv_have_sched_setaffinity=no
18290 rm -f core conftest.err conftest.$ac_objext \
18291 conftest$ac_exeext conftest.$ac_ext
18293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
18294 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
18295 if test "$wine_cv_have_sched_setaffinity" = "yes"
18296 then
18298 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
18302 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
18303 $as_echo_n "checking for fallocate... " >&6; }
18304 if ${wine_cv_have_fallocate+:} false; then :
18305 $as_echo_n "(cached) " >&6
18306 else
18307 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18308 /* end confdefs.h. */
18309 #define _GNU_SOURCE
18310 #include <fcntl.h>
18312 main ()
18314 fallocate(-1, 0, 0, 0);
18316 return 0;
18318 _ACEOF
18319 if ac_fn_c_try_link "$LINENO"; then :
18320 wine_cv_have_fallocate=yes
18321 else
18322 wine_cv_have_fallocate=no
18324 rm -f core conftest.err conftest.$ac_objext \
18325 conftest$ac_exeext conftest.$ac_ext
18327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
18328 $as_echo "$wine_cv_have_fallocate" >&6; }
18329 if test "$wine_cv_have_fallocate" = "yes"
18330 then
18332 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
18337 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
18338 $as_echo_n "checking for inline... " >&6; }
18339 if ${ac_cv_c_inline+:} false; then :
18340 $as_echo_n "(cached) " >&6
18341 else
18342 ac_cv_c_inline=no
18343 for ac_kw in inline __inline__ __inline; do
18344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18345 /* end confdefs.h. */
18346 #ifndef __cplusplus
18347 typedef int foo_t;
18348 static $ac_kw foo_t static_foo () {return 0; }
18349 $ac_kw foo_t foo () {return 0; }
18350 #endif
18352 _ACEOF
18353 if ac_fn_c_try_compile "$LINENO"; then :
18354 ac_cv_c_inline=$ac_kw
18356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18357 test "$ac_cv_c_inline" != no && break
18358 done
18361 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
18362 $as_echo "$ac_cv_c_inline" >&6; }
18364 case $ac_cv_c_inline in
18365 inline | yes) ;;
18367 case $ac_cv_c_inline in
18368 no) ac_val=;;
18369 *) ac_val=$ac_cv_c_inline;;
18370 esac
18371 cat >>confdefs.h <<_ACEOF
18372 #ifndef __cplusplus
18373 #define inline $ac_val
18374 #endif
18375 _ACEOF
18377 esac
18379 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
18380 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
18382 cat >>confdefs.h <<_ACEOF
18383 #define HAVE_FSBLKCNT_T 1
18384 _ACEOF
18388 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
18389 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
18391 cat >>confdefs.h <<_ACEOF
18392 #define HAVE_FSFILCNT_T 1
18393 _ACEOF
18398 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
18399 #include <signal.h>
18401 if test "x$ac_cv_type_sigset_t" = xyes; then :
18403 cat >>confdefs.h <<_ACEOF
18404 #define HAVE_SIGSET_T 1
18405 _ACEOF
18410 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
18412 if test "x$ac_cv_type_request_sense" = xyes; then :
18414 cat >>confdefs.h <<_ACEOF
18415 #define HAVE_REQUEST_SENSE 1
18416 _ACEOF
18422 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
18423 #ifdef HAVE_SYS_SOCKET_H
18424 #include <sys/socket.h>
18425 #endif
18426 #ifdef HAVE_SYS_SOCKETVAR_H
18427 #include <sys/socketvar.h>
18428 #endif
18429 #ifdef HAVE_NET_ROUTE_H
18430 #include <net/route.h>
18431 #endif
18432 #ifdef HAVE_NETINET_IN_H
18433 #include <netinet/in.h>
18434 #endif
18435 #ifdef HAVE_NETINET_IN_SYSTM_H
18436 #include <netinet/in_systm.h>
18437 #endif
18438 #ifdef HAVE_NETINET_IP_H
18439 #include <netinet/ip.h>
18440 #endif
18441 #ifdef HAVE_NETINET_IN_PCB_H
18442 #include <netinet/in_pcb.h>
18443 #endif
18445 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
18447 cat >>confdefs.h <<_ACEOF
18448 #define HAVE_STRUCT_XINPGEN 1
18449 _ACEOF
18455 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
18456 #include <link.h>
18457 #endif
18458 #ifdef HAVE_SYS_LINK_H
18459 #include <sys/link.h>
18460 #endif
18462 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
18464 cat >>confdefs.h <<_ACEOF
18465 #define HAVE_STRUCT_R_DEBUG 1
18466 _ACEOF
18470 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
18471 #include <link.h>
18472 #endif
18473 #ifdef HAVE_SYS_LINK_H
18474 #include <sys/link.h>
18475 #endif
18477 if test "x$ac_cv_type_struct_link_map" = xyes; then :
18479 cat >>confdefs.h <<_ACEOF
18480 #define HAVE_STRUCT_LINK_MAP 1
18481 _ACEOF
18487 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
18488 #include <linux/input.h>
18489 #endif
18491 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
18493 cat >>confdefs.h <<_ACEOF
18494 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
18495 _ACEOF
18501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
18502 $as_echo_n "checking for if_nameindex... " >&6; }
18503 if ${wine_cv_have_if_nameindex+:} false; then :
18504 $as_echo_n "(cached) " >&6
18505 else
18506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18507 /* end confdefs.h. */
18508 #ifdef HAVE_SYS_TYPES_H
18509 #include <sys/types.h>
18510 #endif
18511 #ifdef HAVE_SYS_SOCKET_H
18512 #include <sys/socket.h>
18513 #endif
18514 #ifdef HAVE_NET_IF_H
18515 # include <net/if.h>
18516 #endif
18518 main ()
18520 struct if_nameindex *p = if_nameindex(); return p->if_index;
18522 return 0;
18524 _ACEOF
18525 if ac_fn_c_try_link "$LINENO"; then :
18526 wine_cv_have_if_nameindex=yes
18527 else
18528 wine_cv_have_if_nameindex=no
18530 rm -f core conftest.err conftest.$ac_objext \
18531 conftest$ac_exeext conftest.$ac_ext
18533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
18534 $as_echo "$wine_cv_have_if_nameindex" >&6; }
18535 if test "$wine_cv_have_if_nameindex" = "yes"
18536 then
18538 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
18542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
18543 $as_echo_n "checking for sigaddset... " >&6; }
18544 if ${wine_cv_have_sigaddset+:} false; then :
18545 $as_echo_n "(cached) " >&6
18546 else
18547 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18548 /* end confdefs.h. */
18549 #include <signal.h>
18551 main ()
18553 sigset_t set; sigaddset(&set,SIGTERM);
18555 return 0;
18557 _ACEOF
18558 if ac_fn_c_try_link "$LINENO"; then :
18559 wine_cv_have_sigaddset=yes
18560 else
18561 wine_cv_have_sigaddset=no
18563 rm -f core conftest.err conftest.$ac_objext \
18564 conftest$ac_exeext conftest.$ac_ext
18566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
18567 $as_echo "$wine_cv_have_sigaddset" >&6; }
18568 if test "$wine_cv_have_sigaddset" = "yes"
18569 then
18571 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
18576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
18577 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
18578 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
18579 $as_echo_n "(cached) " >&6
18580 else
18581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18582 /* end confdefs.h. */
18583 #include <netdb.h>
18585 main ()
18588 char *name=0;
18589 struct hostent he;
18590 struct hostent *result;
18591 char *buf=0;
18592 int bufsize=0;
18593 int errnr;
18594 char *addr=0;
18595 int addrlen=0;
18596 int addrtype=0;
18597 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
18598 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
18601 return 0;
18603 _ACEOF
18604 if ac_fn_c_try_link "$LINENO"; then :
18605 wine_cv_linux_gethostbyname_r_6=yes
18606 else
18607 wine_cv_linux_gethostbyname_r_6=no
18610 rm -f core conftest.err conftest.$ac_objext \
18611 conftest$ac_exeext conftest.$ac_ext
18614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
18615 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
18616 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
18617 then
18619 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
18623 if test "$ac_cv_header_linux_joystick_h" = "yes"
18624 then
18625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
18626 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
18627 if ${wine_cv_linux_joystick_22_api+:} false; then :
18628 $as_echo_n "(cached) " >&6
18629 else
18630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18631 /* end confdefs.h. */
18633 #include <sys/ioctl.h>
18634 #include <sys/types.h>
18635 #include <linux/joystick.h>
18637 struct js_event blub;
18638 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
18639 #error "no 2.2 header"
18640 #endif
18643 main ()
18645 /*empty*/
18647 return 0;
18649 _ACEOF
18650 if ac_fn_c_try_compile "$LINENO"; then :
18651 wine_cv_linux_joystick_22_api=yes
18652 else
18653 wine_cv_linux_joystick_22_api=no
18655 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
18659 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
18660 if test "$wine_cv_linux_joystick_22_api" = "yes"
18661 then
18663 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
18669 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
18670 #ifdef HAVE_SYS_PARAM_H
18671 # include <sys/param.h>
18672 #endif
18673 #ifdef HAVE_SYS_MOUNT_H
18674 # include <sys/mount.h>
18675 #endif
18676 #ifdef HAVE_SYS_VFS_H
18677 # include <sys/vfs.h>
18678 #endif
18679 #ifdef HAVE_SYS_STATFS_H
18680 # include <sys/statfs.h>
18681 #endif
18683 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
18685 cat >>confdefs.h <<_ACEOF
18686 #define HAVE_STRUCT_STATFS_F_BFREE 1
18687 _ACEOF
18691 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
18692 #ifdef HAVE_SYS_PARAM_H
18693 # include <sys/param.h>
18694 #endif
18695 #ifdef HAVE_SYS_MOUNT_H
18696 # include <sys/mount.h>
18697 #endif
18698 #ifdef HAVE_SYS_VFS_H
18699 # include <sys/vfs.h>
18700 #endif
18701 #ifdef HAVE_SYS_STATFS_H
18702 # include <sys/statfs.h>
18703 #endif
18705 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
18707 cat >>confdefs.h <<_ACEOF
18708 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
18709 _ACEOF
18713 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
18714 #ifdef HAVE_SYS_PARAM_H
18715 # include <sys/param.h>
18716 #endif
18717 #ifdef HAVE_SYS_MOUNT_H
18718 # include <sys/mount.h>
18719 #endif
18720 #ifdef HAVE_SYS_VFS_H
18721 # include <sys/vfs.h>
18722 #endif
18723 #ifdef HAVE_SYS_STATFS_H
18724 # include <sys/statfs.h>
18725 #endif
18727 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
18729 cat >>confdefs.h <<_ACEOF
18730 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
18731 _ACEOF
18735 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
18736 #ifdef HAVE_SYS_PARAM_H
18737 # include <sys/param.h>
18738 #endif
18739 #ifdef HAVE_SYS_MOUNT_H
18740 # include <sys/mount.h>
18741 #endif
18742 #ifdef HAVE_SYS_VFS_H
18743 # include <sys/vfs.h>
18744 #endif
18745 #ifdef HAVE_SYS_STATFS_H
18746 # include <sys/statfs.h>
18747 #endif
18749 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
18751 cat >>confdefs.h <<_ACEOF
18752 #define HAVE_STRUCT_STATFS_F_FFREE 1
18753 _ACEOF
18757 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
18758 #ifdef HAVE_SYS_PARAM_H
18759 # include <sys/param.h>
18760 #endif
18761 #ifdef HAVE_SYS_MOUNT_H
18762 # include <sys/mount.h>
18763 #endif
18764 #ifdef HAVE_SYS_VFS_H
18765 # include <sys/vfs.h>
18766 #endif
18767 #ifdef HAVE_SYS_STATFS_H
18768 # include <sys/statfs.h>
18769 #endif
18771 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
18773 cat >>confdefs.h <<_ACEOF
18774 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
18775 _ACEOF
18779 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
18780 #ifdef HAVE_SYS_PARAM_H
18781 # include <sys/param.h>
18782 #endif
18783 #ifdef HAVE_SYS_MOUNT_H
18784 # include <sys/mount.h>
18785 #endif
18786 #ifdef HAVE_SYS_VFS_H
18787 # include <sys/vfs.h>
18788 #endif
18789 #ifdef HAVE_SYS_STATFS_H
18790 # include <sys/statfs.h>
18791 #endif
18793 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
18795 cat >>confdefs.h <<_ACEOF
18796 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
18797 _ACEOF
18803 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
18804 #include <sys/statvfs.h>
18805 #endif
18807 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
18809 cat >>confdefs.h <<_ACEOF
18810 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
18811 _ACEOF
18817 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
18818 #include <dirent.h>
18819 #endif
18821 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
18823 cat >>confdefs.h <<_ACEOF
18824 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
18825 _ACEOF
18831 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
18832 #ifdef HAVE_SYS_SOCKET_H
18833 # include <sys/socket.h>
18834 #endif
18835 #ifdef HAVE_SYS_UN_H
18836 # include <sys/un.h>
18837 #endif
18839 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
18841 cat >>confdefs.h <<_ACEOF
18842 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
18843 _ACEOF
18847 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#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_sockaddr_sa_len" = xyes; then :
18857 cat >>confdefs.h <<_ACEOF
18858 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
18859 _ACEOF
18863 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_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_un_sun_len" = xyes; then :
18873 cat >>confdefs.h <<_ACEOF
18874 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
18875 _ACEOF
18881 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
18882 #ifdef HAVE_SCSI_SG_H
18883 #include <scsi/sg.h>
18884 #endif
18886 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
18888 cat >>confdefs.h <<_ACEOF
18889 #define HAVE_SCSIREQ_T_CMD 1
18890 _ACEOF
18894 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>
18895 #ifdef HAVE_SCSI_SG_H
18896 #include <scsi/sg.h>
18897 #endif
18899 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
18901 cat >>confdefs.h <<_ACEOF
18902 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
18903 _ACEOF
18909 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
18911 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
18913 cat >>confdefs.h <<_ACEOF
18914 #define HAVE_SIGINFO_T_SI_FD 1
18915 _ACEOF
18921 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
18922 #ifdef HAVE_SYS_MTIO_H
18923 #include <sys/mtio.h>
18924 #endif
18926 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
18928 cat >>confdefs.h <<_ACEOF
18929 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
18930 _ACEOF
18934 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
18935 #ifdef HAVE_SYS_MTIO_H
18936 #include <sys/mtio.h>
18937 #endif
18939 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
18941 cat >>confdefs.h <<_ACEOF
18942 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
18943 _ACEOF
18947 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
18948 #ifdef HAVE_SYS_MTIO_H
18949 #include <sys/mtio.h>
18950 #endif
18952 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
18954 cat >>confdefs.h <<_ACEOF
18955 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
18956 _ACEOF
18962 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
18963 #include <getopt.h>
18964 #endif
18966 if test "x$ac_cv_member_struct_option_name" = xyes; then :
18968 cat >>confdefs.h <<_ACEOF
18969 #define HAVE_STRUCT_OPTION_NAME 1
18970 _ACEOF
18976 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
18977 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
18979 cat >>confdefs.h <<_ACEOF
18980 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
18981 _ACEOF
18985 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
18986 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
18988 cat >>confdefs.h <<_ACEOF
18989 #define HAVE_STRUCT_STAT_ST_MTIM 1
18990 _ACEOF
18994 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
18995 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
18997 cat >>confdefs.h <<_ACEOF
18998 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
18999 _ACEOF
19003 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
19004 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
19006 cat >>confdefs.h <<_ACEOF
19007 #define HAVE_STRUCT_STAT_ST_CTIM 1
19008 _ACEOF
19012 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
19013 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
19015 cat >>confdefs.h <<_ACEOF
19016 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
19017 _ACEOF
19021 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
19022 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
19024 cat >>confdefs.h <<_ACEOF
19025 #define HAVE_STRUCT_STAT_ST_ATIM 1
19026 _ACEOF
19030 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
19031 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
19033 cat >>confdefs.h <<_ACEOF
19034 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
19035 _ACEOF
19039 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
19040 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
19042 cat >>confdefs.h <<_ACEOF
19043 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
19044 _ACEOF
19048 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
19049 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
19051 cat >>confdefs.h <<_ACEOF
19052 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
19053 _ACEOF
19057 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
19058 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
19060 cat >>confdefs.h <<_ACEOF
19061 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
19062 _ACEOF
19066 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
19067 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
19069 cat >>confdefs.h <<_ACEOF
19070 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
19071 _ACEOF
19075 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
19076 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
19078 cat >>confdefs.h <<_ACEOF
19079 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
19080 _ACEOF
19086 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
19087 #include <sys/types.h>
19088 #endif
19089 #ifdef HAVE_NETINET_IN_H
19090 #include <netinet/in.h>
19091 #endif
19093 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
19095 cat >>confdefs.h <<_ACEOF
19096 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
19097 _ACEOF
19103 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
19104 #include <sys/types.h>
19105 #endif
19106 #ifdef HAVE_NETINET_IN_H
19107 #include <netinet/in.h>
19108 #endif
19109 #ifdef HAVE_RESOLV_H
19110 #include <resolv.h>
19111 #endif
19113 if test "x$ac_cv_type_struct___res_state" = xyes; then :
19115 cat >>confdefs.h <<_ACEOF
19116 #define HAVE_STRUCT___RES_STATE 1
19117 _ACEOF
19123 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
19124 #include <resolv.h>
19125 #endif
19127 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
19129 cat >>confdefs.h <<_ACEOF
19130 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
19131 _ACEOF
19137 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
19138 #include <sys/types.h>
19139 #endif
19140 #ifdef HAVE_NETINET_IN_H
19141 # include <netinet/in.h>
19142 #endif
19143 #ifdef HAVE_ARPA_NAMESER_H
19144 # include <arpa/nameser.h>
19145 #endif
19147 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
19149 cat >>confdefs.h <<_ACEOF
19150 #define HAVE_NS_MSG__MSG_PTR 1
19151 _ACEOF
19157 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
19158 #include <sys/types.h>
19159 #endif
19160 #ifdef HAVE_NETINET_IN_H
19161 #include <netinet/in.h>
19162 #endif
19163 #ifdef HAVE_NETINET_IP_H
19164 #include <netinet/ip.h>
19165 #endif
19166 #ifdef HAVE_NETINET_IP_ICMP_H
19167 #include <netinet/ip_icmp.h>
19168 #endif
19169 #ifdef HAVE_NETINET_ICMP_VAR_H
19170 #include <netinet/icmp_var.h>
19171 #endif
19173 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
19175 cat >>confdefs.h <<_ACEOF
19176 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
19177 _ACEOF
19183 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
19184 #include <sys/types.h>
19185 #endif
19186 #ifdef HAVE_ALIAS_H
19187 #include <alias.h>
19188 #endif
19189 #ifdef HAVE_SYS_SOCKET_H
19190 #include <sys/socket.h>
19191 #endif
19192 #ifdef HAVE_SYS_SOCKETVAR_H
19193 #include <sys/socketvar.h>
19194 #endif
19195 #ifdef HAVE_SYS_TIMEOUT_H
19196 #include <sys/timeout.h>
19197 #endif
19198 #ifdef HAVE_NETINET_IN_H
19199 #include <netinet/in.h>
19200 #endif
19201 #ifdef HAVE_NETINET_IN_SYSTM_H
19202 #include <netinet/in_systm.h>
19203 #endif
19204 #ifdef HAVE_NETINET_IP_H
19205 #include <netinet/ip.h>
19206 #endif
19207 #ifdef HAVE_NETINET_IP_VAR_H
19208 #include <netinet/ip_var.h>
19209 #endif
19210 #ifdef HAVE_NETINET_IP_ICMP_H
19211 #include <netinet/ip_icmp.h>
19212 #endif
19213 #ifdef HAVE_NETINET_ICMP_VAR_H
19214 #include <netinet/icmp_var.h>
19215 #endif
19217 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
19219 cat >>confdefs.h <<_ACEOF
19220 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
19221 _ACEOF
19227 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
19228 #include <sys/types.h>
19229 #endif
19230 #ifdef HAVE_SYS_SOCKETVAR_H
19231 #include <sys/socketvar.h>
19232 #endif
19233 #ifdef HAVE_NETINET_IN_H
19234 #include <netinet/in.h>
19235 #endif
19236 #ifdef HAVE_NETINET_IP_VAR_H
19237 #include <netinet/ip_var.h>
19238 #endif
19240 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
19242 cat >>confdefs.h <<_ACEOF
19243 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
19244 _ACEOF
19250 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
19251 #include <netinet/ip_var.h>
19252 #endif
19254 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
19256 cat >>confdefs.h <<_ACEOF
19257 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
19258 _ACEOF
19264 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
19265 #include <sys/types.h>
19266 #endif
19267 #ifdef HAVE_SYS_SOCKETVAR_H
19268 #include <sys/socketvar.h>
19269 #endif
19270 #ifdef HAVE_NETINET_IN_H
19271 #include <netinet/in.h>
19272 #endif
19273 #ifdef HAVE_NETINET_TCP_H
19274 #include <netinet/tcp.h>
19275 #endif
19276 #ifdef HAVE_NETINET_TCP_VAR_H
19277 #include <netinet/tcp_var.h>
19278 #endif
19280 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
19282 cat >>confdefs.h <<_ACEOF
19283 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
19284 _ACEOF
19290 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
19291 #include <netinet/tcp_var.h>
19292 #endif
19294 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
19296 cat >>confdefs.h <<_ACEOF
19297 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
19298 _ACEOF
19304 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
19305 #include <sys/types.h>
19306 #endif
19307 #ifdef HAVE_NETINET_IN_H
19308 #include <netinet/in.h>
19309 #endif
19310 #ifdef HAVE_NETINET_IP_VAR_H
19311 #include <netinet/ip_var.h>
19312 #endif
19313 #ifdef HAVE_NETINET_UDP_H
19314 #include <netinet/udp.h>
19315 #endif
19316 #ifdef HAVE_NETINET_UDP_VAR_H
19317 #include <netinet/udp_var.h>
19318 #endif
19320 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
19322 cat >>confdefs.h <<_ACEOF
19323 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
19324 _ACEOF
19330 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
19331 #include <sys/types.h>
19332 #endif
19333 #ifdef HAVE_NET_IF_H
19334 # include <net/if.h>
19335 #endif
19337 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
19339 cat >>confdefs.h <<_ACEOF
19340 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
19341 _ACEOF
19347 ac_save_LIBS="$LIBS"
19348 LIBS="$LIBS -lm"
19349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
19350 $as_echo_n "checking for isfinite... " >&6; }
19351 if ${ac_cv_have_isfinite+:} false; then :
19352 $as_echo_n "(cached) " >&6
19353 else
19354 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19355 /* end confdefs.h. */
19356 #define _GNU_SOURCE
19357 #include <math.h>
19359 main ()
19361 float f = 0.0; return isfinite(f)
19363 return 0;
19365 _ACEOF
19366 if ac_fn_c_try_link "$LINENO"; then :
19367 ac_cv_have_isfinite="yes"
19368 else
19369 ac_cv_have_isfinite="no"
19371 rm -f core conftest.err conftest.$ac_objext \
19372 conftest$ac_exeext conftest.$ac_ext
19374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
19375 $as_echo "$ac_cv_have_isfinite" >&6; }
19376 if test "$ac_cv_have_isfinite" = "yes"
19377 then
19379 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
19383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
19384 $as_echo_n "checking for isinf... " >&6; }
19385 if ${ac_cv_have_isinf+:} false; then :
19386 $as_echo_n "(cached) " >&6
19387 else
19388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19389 /* end confdefs.h. */
19390 #include <math.h>
19392 main ()
19394 float f = 0.0; return isinf(f)
19396 return 0;
19398 _ACEOF
19399 if ac_fn_c_try_link "$LINENO"; then :
19400 ac_cv_have_isinf="yes"
19401 else
19402 ac_cv_have_isinf="no"
19404 rm -f core conftest.err conftest.$ac_objext \
19405 conftest$ac_exeext conftest.$ac_ext
19407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
19408 $as_echo "$ac_cv_have_isinf" >&6; }
19409 if test "$ac_cv_have_isinf" = "yes"
19410 then
19412 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
19416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
19417 $as_echo_n "checking for isnan... " >&6; }
19418 if ${ac_cv_have_isnan+:} false; then :
19419 $as_echo_n "(cached) " >&6
19420 else
19421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19422 /* end confdefs.h. */
19423 #include <math.h>
19425 main ()
19427 float f = 0.0; return isnan(f)
19429 return 0;
19431 _ACEOF
19432 if ac_fn_c_try_link "$LINENO"; then :
19433 ac_cv_have_isnan="yes"
19434 else
19435 ac_cv_have_isnan="no"
19437 rm -f core conftest.err conftest.$ac_objext \
19438 conftest$ac_exeext conftest.$ac_ext
19440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
19441 $as_echo "$ac_cv_have_isnan" >&6; }
19442 if test "$ac_cv_have_isnan" = "yes"
19443 then
19445 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
19449 for ac_func in \
19450 acosh \
19451 acoshf \
19452 asinh \
19453 asinhf \
19454 atanh \
19455 atanhf \
19456 cbrt \
19457 cbrtf \
19458 erf \
19459 erfc \
19460 erfcf \
19461 erff \
19462 exp2 \
19463 exp2f \
19464 expm1 \
19465 expm1f \
19466 fma \
19467 fmaf \
19468 ilogb \
19469 ilogbf \
19470 j0 \
19471 j1 \
19472 jn \
19473 lgamma \
19474 lgammaf \
19475 llrint \
19476 llrintf \
19477 llround \
19478 llroundf \
19479 log1p \
19480 log1pf \
19481 log2 \
19482 log2f \
19483 lrint \
19484 lrintf \
19485 lround \
19486 lroundf \
19487 nearbyint \
19488 nearbyintf \
19489 nexttoward \
19490 nexttowardf \
19491 powl \
19492 remainder \
19493 remainderf \
19494 remquo \
19495 remquof \
19496 rint \
19497 rintf \
19498 round \
19499 roundf \
19500 tgamma \
19501 tgammaf \
19502 trunc \
19503 truncf \
19504 y0 \
19505 y1 \
19508 do :
19509 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19510 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
19511 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
19512 cat >>confdefs.h <<_ACEOF
19513 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19514 _ACEOF
19517 done
19519 LIBS="$ac_save_LIBS"
19521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
19522 $as_echo_n "checking for __builtin_popcount... " >&6; }
19523 if ${ac_cv_have___builtin_popcount+:} false; then :
19524 $as_echo_n "(cached) " >&6
19525 else
19526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19527 /* end confdefs.h. */
19530 main ()
19532 return __builtin_popcount(1)
19534 return 0;
19536 _ACEOF
19537 if ac_fn_c_try_link "$LINENO"; then :
19538 ac_cv_have___builtin_popcount="yes"
19539 else
19540 ac_cv_have___builtin_popcount="no"
19542 rm -f core conftest.err conftest.$ac_objext \
19543 conftest$ac_exeext conftest.$ac_ext
19545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
19546 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
19547 if test "$ac_cv_have___builtin_popcount" = "yes"
19548 then
19550 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
19554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
19555 $as_echo_n "checking for __clear_cache... " >&6; }
19556 if ${ac_cv_have___clear_cache+:} false; then :
19557 $as_echo_n "(cached) " >&6
19558 else
19559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19560 /* end confdefs.h. */
19563 main ()
19565 __clear_cache((void*)0, (void*)0); return 0;
19567 return 0;
19569 _ACEOF
19570 if ac_fn_c_try_link "$LINENO"; then :
19571 ac_cv_have___clear_cache="yes"
19572 else
19573 ac_cv_have___clear_cache="no"
19575 rm -f core conftest.err conftest.$ac_objext \
19576 conftest$ac_exeext conftest.$ac_ext
19578 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
19579 $as_echo "$ac_cv_have___clear_cache" >&6; }
19580 if test "$ac_cv_have___clear_cache" = "yes"
19581 then
19583 $as_echo "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
19588 case $host_cpu in
19589 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
19590 $as_echo_n "checking whether we need to define __i386__... " >&6; }
19591 if ${ac_cv_cpp_def___i386__+:} false; then :
19592 $as_echo_n "(cached) " >&6
19593 else
19594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19595 /* end confdefs.h. */
19596 #ifndef __i386__
19598 #endif
19599 _ACEOF
19600 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19601 $EGREP "yes" >/dev/null 2>&1; then :
19602 ac_cv_cpp_def___i386__=yes
19603 else
19604 ac_cv_cpp_def___i386__=no
19606 rm -f conftest*
19609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
19610 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
19611 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
19612 CFLAGS="$CFLAGS -D__i386__"
19613 LINTFLAGS="$LINTFLAGS -D__i386__"
19614 fi ;;
19615 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
19616 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
19617 if ${ac_cv_cpp_def___x86_64__+:} false; then :
19618 $as_echo_n "(cached) " >&6
19619 else
19620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19621 /* end confdefs.h. */
19622 #ifndef __x86_64__
19624 #endif
19625 _ACEOF
19626 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19627 $EGREP "yes" >/dev/null 2>&1; then :
19628 ac_cv_cpp_def___x86_64__=yes
19629 else
19630 ac_cv_cpp_def___x86_64__=no
19632 rm -f conftest*
19635 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
19636 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
19637 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
19638 CFLAGS="$CFLAGS -D__x86_64__"
19639 LINTFLAGS="$LINTFLAGS -D__x86_64__"
19640 fi ;;
19641 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
19642 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
19643 if ${ac_cv_cpp_def___sparc64__+:} false; then :
19644 $as_echo_n "(cached) " >&6
19645 else
19646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19647 /* end confdefs.h. */
19648 #ifndef __sparc64__
19650 #endif
19651 _ACEOF
19652 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19653 $EGREP "yes" >/dev/null 2>&1; then :
19654 ac_cv_cpp_def___sparc64__=yes
19655 else
19656 ac_cv_cpp_def___sparc64__=no
19658 rm -f conftest*
19661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
19662 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
19663 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
19664 CFLAGS="$CFLAGS -D__sparc64__"
19665 LINTFLAGS="$LINTFLAGS -D__sparc64__"
19666 fi ;;
19667 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
19668 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
19669 if ${ac_cv_cpp_def___sparc__+:} false; then :
19670 $as_echo_n "(cached) " >&6
19671 else
19672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19673 /* end confdefs.h. */
19674 #ifndef __sparc__
19676 #endif
19677 _ACEOF
19678 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19679 $EGREP "yes" >/dev/null 2>&1; then :
19680 ac_cv_cpp_def___sparc__=yes
19681 else
19682 ac_cv_cpp_def___sparc__=no
19684 rm -f conftest*
19687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
19688 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
19689 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
19690 CFLAGS="$CFLAGS -D__sparc__"
19691 LINTFLAGS="$LINTFLAGS -D__sparc__"
19692 fi ;;
19693 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
19694 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
19695 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
19696 $as_echo_n "(cached) " >&6
19697 else
19698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19699 /* end confdefs.h. */
19700 #ifndef __powerpc64__
19702 #endif
19703 _ACEOF
19704 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19705 $EGREP "yes" >/dev/null 2>&1; then :
19706 ac_cv_cpp_def___powerpc64__=yes
19707 else
19708 ac_cv_cpp_def___powerpc64__=no
19710 rm -f conftest*
19713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
19714 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
19715 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
19716 CFLAGS="$CFLAGS -D__powerpc64__"
19717 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
19718 fi ;;
19719 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
19720 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
19721 if ${ac_cv_cpp_def___powerpc__+:} false; then :
19722 $as_echo_n "(cached) " >&6
19723 else
19724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19725 /* end confdefs.h. */
19726 #ifndef __powerpc__
19728 #endif
19729 _ACEOF
19730 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19731 $EGREP "yes" >/dev/null 2>&1; then :
19732 ac_cv_cpp_def___powerpc__=yes
19733 else
19734 ac_cv_cpp_def___powerpc__=no
19736 rm -f conftest*
19739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
19740 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
19741 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
19742 CFLAGS="$CFLAGS -D__powerpc__"
19743 LINTFLAGS="$LINTFLAGS -D__powerpc__"
19744 fi ;;
19745 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
19746 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
19747 if ${ac_cv_cpp_def___aarch64__+:} false; then :
19748 $as_echo_n "(cached) " >&6
19749 else
19750 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19751 /* end confdefs.h. */
19752 #ifndef __aarch64__
19754 #endif
19755 _ACEOF
19756 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19757 $EGREP "yes" >/dev/null 2>&1; then :
19758 ac_cv_cpp_def___aarch64__=yes
19759 else
19760 ac_cv_cpp_def___aarch64__=no
19762 rm -f conftest*
19765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
19766 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
19767 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
19768 CFLAGS="$CFLAGS -D__aarch64__"
19769 LINTFLAGS="$LINTFLAGS -D__aarch64__"
19770 fi ;;
19771 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
19772 $as_echo_n "checking whether we need to define __arm__... " >&6; }
19773 if ${ac_cv_cpp_def___arm__+:} false; then :
19774 $as_echo_n "(cached) " >&6
19775 else
19776 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19777 /* end confdefs.h. */
19778 #ifndef __arm__
19780 #endif
19781 _ACEOF
19782 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19783 $EGREP "yes" >/dev/null 2>&1; then :
19784 ac_cv_cpp_def___arm__=yes
19785 else
19786 ac_cv_cpp_def___arm__=no
19788 rm -f conftest*
19791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
19792 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
19793 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
19794 CFLAGS="$CFLAGS -D__arm__"
19795 LINTFLAGS="$LINTFLAGS -D__arm__"
19796 fi ;;
19797 esac
19799 case $host_vendor in
19800 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
19801 $as_echo_n "checking whether we need to define __sun__... " >&6; }
19802 if ${ac_cv_cpp_def___sun__+:} false; then :
19803 $as_echo_n "(cached) " >&6
19804 else
19805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19806 /* end confdefs.h. */
19807 #ifndef __sun__
19809 #endif
19810 _ACEOF
19811 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19812 $EGREP "yes" >/dev/null 2>&1; then :
19813 ac_cv_cpp_def___sun__=yes
19814 else
19815 ac_cv_cpp_def___sun__=no
19817 rm -f conftest*
19820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
19821 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
19822 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
19823 CFLAGS="$CFLAGS -D__sun__"
19824 LINTFLAGS="$LINTFLAGS -D__sun__"
19825 fi ;;
19826 esac
19832 ac_config_commands="$ac_config_commands include/stamp-h"
19834 $as_echo_n "creating Makefile rules..." >&6
19836 ALL_VARS_RULES="I386_LIBS = $I386_LIBS
19837 OPENGL_LIBS = $OPENGL_LIBS
19838 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
19839 IOKIT_LIBS = $IOKIT_LIBS
19840 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
19841 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
19842 CORESERVICES_LIBS = $CORESERVICES_LIBS
19843 APPKIT_LIBS = $APPKIT_LIBS
19844 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
19845 SECURITY_LIBS = $SECURITY_LIBS
19846 COREAUDIO_LIBS = $COREAUDIO_LIBS
19847 OPENAL_LIBS = $OPENAL_LIBS
19848 OPENCL_LIBS = $OPENCL_LIBS
19849 QUICKTIME_LIBS = $QUICKTIME_LIBS
19850 CARBON_LIBS = $CARBON_LIBS
19851 METAL_LIBS = $METAL_LIBS
19852 PTHREAD_LIBS = $PTHREAD_LIBS
19853 X_CFLAGS = $X_CFLAGS
19854 X_PRE_LIBS = $X_PRE_LIBS
19855 X_LIBS = $X_LIBS
19856 X_EXTRA_LIBS = $X_EXTRA_LIBS
19857 PCAP_LIBS = $PCAP_LIBS
19858 XML2_CFLAGS = $XML2_CFLAGS
19859 XML2_LIBS = $XML2_LIBS
19860 XSLT_CFLAGS = $XSLT_CFLAGS
19861 XSLT_LIBS = $XSLT_LIBS
19862 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
19863 INOTIFY_LIBS = $INOTIFY_LIBS
19864 DBUS_CFLAGS = $DBUS_CFLAGS
19865 DBUS_LIBS = $DBUS_LIBS
19866 HAL_CFLAGS = $HAL_CFLAGS
19867 HAL_LIBS = $HAL_LIBS
19868 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
19869 GNUTLS_LIBS = $GNUTLS_LIBS
19870 SANE_CFLAGS = $SANE_CFLAGS
19871 SANE_LIBS = $SANE_LIBS
19872 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
19873 GPHOTO2_LIBS = $GPHOTO2_LIBS
19874 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
19875 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
19876 RESOLV_LIBS = $RESOLV_LIBS
19877 LCMS2_CFLAGS = $LCMS2_CFLAGS
19878 LCMS2_LIBS = $LCMS2_LIBS
19879 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
19880 FREETYPE_LIBS = $FREETYPE_LIBS
19881 Z_CFLAGS = $Z_CFLAGS
19882 Z_LIBS = $Z_LIBS
19883 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
19884 PULSE_CFLAGS = $PULSE_CFLAGS
19885 PULSE_LIBS = $PULSE_LIBS
19886 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
19887 GSTREAMER_LIBS = $GSTREAMER_LIBS
19888 ALSA_LIBS = $ALSA_LIBS
19889 OSS4_CFLAGS = $OSS4_CFLAGS
19890 OSS4_LIBS = $OSS4_LIBS
19891 UDEV_CFLAGS = $UDEV_CFLAGS
19892 UDEV_LIBS = $UDEV_LIBS
19893 UNWIND_CFLAGS = $UNWIND_CFLAGS
19894 UNWIND_LIBS = $UNWIND_LIBS
19895 SDL2_CFLAGS = $SDL2_CFLAGS
19896 SDL2_LIBS = $SDL2_LIBS
19897 FAUDIO_CFLAGS = $FAUDIO_CFLAGS
19898 FAUDIO_LIBS = $FAUDIO_LIBS
19899 CAPI20_CFLAGS = $CAPI20_CFLAGS
19900 CAPI20_LIBS = $CAPI20_LIBS
19901 CUPS_CFLAGS = $CUPS_CFLAGS
19902 CUPS_LIBS = $CUPS_LIBS
19903 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
19904 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
19905 KRB5_CFLAGS = $KRB5_CFLAGS
19906 KRB5_LIBS = $KRB5_LIBS
19907 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
19908 GSSAPI_LIBS = $GSSAPI_LIBS
19909 JPEG_CFLAGS = $JPEG_CFLAGS
19910 JPEG_LIBS = $JPEG_LIBS
19911 PNG_CFLAGS = $PNG_CFLAGS
19912 PNG_LIBS = $PNG_LIBS
19913 TIFF_CFLAGS = $TIFF_CFLAGS
19914 TIFF_LIBS = $TIFF_LIBS
19915 MPG123_CFLAGS = $MPG123_CFLAGS
19916 MPG123_LIBS = $MPG123_LIBS
19917 KSTAT_LIBS = $KSTAT_LIBS
19918 PROCSTAT_LIBS = $PROCSTAT_LIBS
19919 NETAPI_CFLAGS = $NETAPI_CFLAGS
19920 NETAPI_LIBS = $NETAPI_LIBS
19921 VKD3D_CFLAGS = $VKD3D_CFLAGS
19922 VKD3D_LIBS = $VKD3D_LIBS
19923 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
19924 DL_LIBS = $DL_LIBS
19925 POLL_LIBS = $POLL_LIBS
19926 RT_LIBS = $RT_LIBS
19927 LDAP_CFLAGS = $LDAP_CFLAGS
19928 LDAP_LIBS = $LDAP_LIBS
19933 wine_fn_append_rule "
19934 # Rules automatically generated by configure
19936 .INIT: Makefile
19937 .MAKEFILEDEPS:
19938 all: Makefile
19939 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
19940 @./config.status Make.tmp Makefile
19941 depend: \$(MAKEDEP) dummy
19942 \$(MAKEDEP)"
19944 if test "x$enable_fonts" != xno; then
19945 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
19946 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
19947 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
19948 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
19949 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
19950 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
19952 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
19953 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
19954 ac_config_links="$ac_config_links wine:tools/winewrapper"
19955 wine_fn_config_symlink wine
19956 if test "x$enable_win64" != xno -o -n "$with_wine64"; then
19957 ac_config_links="$ac_config_links wine64:tools/winewrapper"
19958 wine_fn_config_symlink wine64
19961 wine_fn_config_makefile dlls/acledit enable_acledit
19962 wine_fn_config_makefile dlls/aclui enable_aclui
19963 wine_fn_config_makefile dlls/activeds enable_activeds
19964 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
19965 wine_fn_config_makefile dlls/adsiid enable_adsiid
19966 wine_fn_config_makefile dlls/adsldp enable_adsldp
19967 wine_fn_config_makefile dlls/adsldp/tests enable_tests
19968 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
19969 wine_fn_config_makefile dlls/advapi32 enable_advapi32
19970 wine_fn_config_makefile dlls/advapi32/tests enable_tests
19971 wine_fn_config_makefile dlls/advpack enable_advpack
19972 wine_fn_config_makefile dlls/advpack/tests enable_tests
19973 wine_fn_config_makefile dlls/amsi enable_amsi
19974 wine_fn_config_makefile dlls/amstream enable_amstream
19975 wine_fn_config_makefile dlls/amstream/tests enable_tests
19976 wine_fn_config_makefile dlls/api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
19977 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
19978 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
19979 wine_fn_config_makefile dlls/api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
19980 wine_fn_config_makefile dlls/api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
19981 wine_fn_config_makefile dlls/api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
19982 wine_fn_config_makefile dlls/api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
19983 wine_fn_config_makefile dlls/api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
19984 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
19985 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
19986 wine_fn_config_makefile dlls/api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
19987 wine_fn_config_makefile dlls/api-ms-win-core-comm-l1-1-0 enable_api_ms_win_core_comm_l1_1_0
19988 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
19989 wine_fn_config_makefile dlls/api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
19990 wine_fn_config_makefile dlls/api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
19991 wine_fn_config_makefile dlls/api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
19992 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
19993 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
19994 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
19995 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
19996 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
19997 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
19998 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
19999 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
20000 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
20001 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
20002 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
20003 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
20004 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
20005 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
20006 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
20007 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
20008 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
20009 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
20010 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
20011 wine_fn_config_makefile dlls/api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
20012 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
20013 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
20014 wine_fn_config_makefile dlls/api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
20015 wine_fn_config_makefile dlls/api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
20016 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
20017 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
20018 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
20019 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
20020 wine_fn_config_makefile dlls/api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
20021 wine_fn_config_makefile dlls/api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
20022 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
20023 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
20024 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
20025 wine_fn_config_makefile dlls/api-ms-win-core-largeinteger-l1-1-0 enable_api_ms_win_core_largeinteger_l1_1_0
20026 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
20027 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
20028 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
20029 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
20030 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
20031 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
20032 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
20033 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
20034 wine_fn_config_makefile dlls/api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
20035 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
20036 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
20037 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
20038 wine_fn_config_makefile dlls/api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
20039 wine_fn_config_makefile dlls/api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
20040 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
20041 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
20042 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
20043 wine_fn_config_makefile dlls/api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
20044 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
20045 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
20046 wine_fn_config_makefile dlls/api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
20047 wine_fn_config_makefile dlls/api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
20048 wine_fn_config_makefile dlls/api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
20049 wine_fn_config_makefile dlls/api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
20050 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
20051 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
20052 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
20053 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
20054 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
20055 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-3 enable_api_ms_win_core_processthreads_l1_1_3
20056 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
20057 wine_fn_config_makefile dlls/api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
20058 wine_fn_config_makefile dlls/api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
20059 wine_fn_config_makefile dlls/api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
20060 wine_fn_config_makefile dlls/api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
20061 wine_fn_config_makefile dlls/api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
20062 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
20063 wine_fn_config_makefile dlls/api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
20064 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
20065 wine_fn_config_makefile dlls/api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
20066 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
20067 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
20068 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
20069 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
20070 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
20071 wine_fn_config_makefile dlls/api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
20072 wine_fn_config_makefile dlls/api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
20073 wine_fn_config_makefile dlls/api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
20074 wine_fn_config_makefile dlls/api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
20075 wine_fn_config_makefile dlls/api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
20076 wine_fn_config_makefile dlls/api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
20077 wine_fn_config_makefile dlls/api-ms-win-core-stringloader-l1-1-1 enable_api_ms_win_core_stringloader_l1_1_1
20078 wine_fn_config_makefile dlls/api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
20079 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
20080 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
20081 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
20082 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
20083 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
20084 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
20085 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
20086 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
20087 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
20088 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
20089 wine_fn_config_makefile dlls/api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
20090 wine_fn_config_makefile dlls/api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
20091 wine_fn_config_makefile dlls/api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
20092 wine_fn_config_makefile dlls/api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
20093 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
20094 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
20095 wine_fn_config_makefile dlls/api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
20096 wine_fn_config_makefile dlls/api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
20097 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
20098 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
20099 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
20100 wine_fn_config_makefile dlls/api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
20101 wine_fn_config_makefile dlls/api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
20102 wine_fn_config_makefile dlls/api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
20103 wine_fn_config_makefile dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
20104 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
20105 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-1 enable_api_ms_win_core_winrt_string_l1_1_1
20106 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
20107 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
20108 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
20109 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
20110 wine_fn_config_makefile dlls/api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
20111 wine_fn_config_makefile dlls/api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
20112 wine_fn_config_makefile dlls/api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
20113 wine_fn_config_makefile dlls/api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
20114 wine_fn_config_makefile dlls/api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
20115 wine_fn_config_makefile dlls/api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
20116 wine_fn_config_makefile dlls/api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
20117 wine_fn_config_makefile dlls/api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
20118 wine_fn_config_makefile dlls/api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
20119 wine_fn_config_makefile dlls/api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
20120 wine_fn_config_makefile dlls/api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
20121 wine_fn_config_makefile dlls/api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
20122 wine_fn_config_makefile dlls/api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
20123 wine_fn_config_makefile dlls/api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
20124 wine_fn_config_makefile dlls/api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
20125 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-0 enable_api_ms_win_devices_config_l1_1_0
20126 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
20127 wine_fn_config_makefile dlls/api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
20128 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
20129 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
20130 wine_fn_config_makefile dlls/api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
20131 wine_fn_config_makefile dlls/api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
20132 wine_fn_config_makefile dlls/api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
20133 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
20134 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
20135 wine_fn_config_makefile dlls/api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
20136 wine_fn_config_makefile dlls/api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
20137 wine_fn_config_makefile dlls/api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
20138 wine_fn_config_makefile dlls/api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
20139 wine_fn_config_makefile dlls/api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
20140 wine_fn_config_makefile dlls/api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
20141 wine_fn_config_makefile dlls/api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
20142 wine_fn_config_makefile dlls/api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
20143 wine_fn_config_makefile dlls/api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
20144 wine_fn_config_makefile dlls/api-ms-win-gdi-dpiinfo-l1-1-0 enable_api_ms_win_gdi_dpiinfo_l1_1_0
20145 wine_fn_config_makefile dlls/api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
20146 wine_fn_config_makefile dlls/api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
20147 wine_fn_config_makefile dlls/api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
20148 wine_fn_config_makefile dlls/api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
20149 wine_fn_config_makefile dlls/api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
20150 wine_fn_config_makefile dlls/api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
20151 wine_fn_config_makefile dlls/api-ms-win-ntuser-sysparams-l1-1-0 enable_api_ms_win_ntuser_sysparams_l1_1_0
20152 wine_fn_config_makefile dlls/api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
20153 wine_fn_config_makefile dlls/api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
20154 wine_fn_config_makefile dlls/api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
20155 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-draw-l1-1-0 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
20156 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
20157 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-4 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
20158 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-window-l1-1-0 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
20159 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-winevent-l1-1-0 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
20160 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
20161 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-3 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
20162 wine_fn_config_makefile dlls/api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
20163 wine_fn_config_makefile dlls/api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
20164 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
20165 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
20166 wine_fn_config_makefile dlls/api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
20167 wine_fn_config_makefile dlls/api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
20168 wine_fn_config_makefile dlls/api-ms-win-security-cryptoapi-l1-1-0 enable_api_ms_win_security_cryptoapi_l1_1_0
20169 wine_fn_config_makefile dlls/api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
20170 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
20171 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
20172 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
20173 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
20174 wine_fn_config_makefile dlls/api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
20175 wine_fn_config_makefile dlls/api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
20176 wine_fn_config_makefile dlls/api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
20177 wine_fn_config_makefile dlls/api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
20178 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
20179 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
20180 wine_fn_config_makefile dlls/api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
20181 wine_fn_config_makefile dlls/api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
20182 wine_fn_config_makefile dlls/api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
20183 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
20184 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
20185 wine_fn_config_makefile dlls/api-ms-win-shcore-obsolete-l1-1-0 enable_api_ms_win_shcore_obsolete_l1_1_0
20186 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
20187 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-l1-1-0 enable_api_ms_win_shcore_stream_l1_1_0
20188 wine_fn_config_makefile dlls/api-ms-win-shcore-thread-l1-1-0 enable_api_ms_win_shcore_thread_l1_1_0
20189 wine_fn_config_makefile dlls/api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
20190 wine_fn_config_makefile dlls/api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
20191 wine_fn_config_makefile dlls/apphelp enable_apphelp
20192 wine_fn_config_makefile dlls/apphelp/tests enable_tests
20193 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
20194 wine_fn_config_makefile dlls/atl enable_atl
20195 wine_fn_config_makefile dlls/atl/tests enable_tests
20196 wine_fn_config_makefile dlls/atl100 enable_atl100
20197 wine_fn_config_makefile dlls/atl100/tests enable_tests
20198 wine_fn_config_makefile dlls/atl110 enable_atl110
20199 wine_fn_config_makefile dlls/atl80 enable_atl80
20200 wine_fn_config_makefile dlls/atl80/tests enable_tests
20201 wine_fn_config_makefile dlls/atl90 enable_atl90
20202 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
20203 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
20204 wine_fn_config_makefile dlls/atmlib enable_atmlib
20205 wine_fn_config_makefile dlls/authz enable_authz
20206 wine_fn_config_makefile dlls/avicap32 enable_avicap32
20207 wine_fn_config_makefile dlls/avifil32 enable_avifil32
20208 wine_fn_config_makefile dlls/avifil32/tests enable_tests
20209 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
20210 wine_fn_config_makefile dlls/avrt enable_avrt
20211 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
20212 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
20213 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
20214 wine_fn_config_makefile dlls/browseui enable_browseui
20215 wine_fn_config_makefile dlls/browseui/tests enable_tests
20216 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
20217 wine_fn_config_makefile dlls/cabinet enable_cabinet
20218 wine_fn_config_makefile dlls/cabinet/tests enable_tests
20219 wine_fn_config_makefile dlls/capi2032 enable_capi2032
20220 wine_fn_config_makefile dlls/cards enable_cards
20221 wine_fn_config_makefile dlls/cdosys enable_cdosys
20222 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
20223 wine_fn_config_makefile dlls/clusapi enable_clusapi
20224 wine_fn_config_makefile dlls/combase enable_combase
20225 wine_fn_config_makefile dlls/combase/tests enable_tests
20226 wine_fn_config_makefile dlls/comcat enable_comcat
20227 wine_fn_config_makefile dlls/comcat/tests enable_tests
20228 wine_fn_config_makefile dlls/comctl32 enable_comctl32
20229 wine_fn_config_makefile dlls/comctl32/tests enable_tests
20230 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
20231 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
20232 wine_fn_config_makefile dlls/comm.drv16 enable_win16
20233 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
20234 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
20235 wine_fn_config_makefile dlls/compstui enable_compstui
20236 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
20237 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
20238 wine_fn_config_makefile dlls/concrt140 enable_concrt140
20239 wine_fn_config_makefile dlls/connect enable_connect
20240 wine_fn_config_makefile dlls/credui enable_credui
20241 wine_fn_config_makefile dlls/credui/tests enable_tests
20242 wine_fn_config_makefile dlls/crtdll enable_crtdll
20243 wine_fn_config_makefile dlls/crypt32 enable_crypt32
20244 wine_fn_config_makefile dlls/crypt32/tests enable_tests
20245 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
20246 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
20247 wine_fn_config_makefile dlls/cryptext enable_cryptext
20248 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
20249 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
20250 wine_fn_config_makefile dlls/cryptui enable_cryptui
20251 wine_fn_config_makefile dlls/cryptui/tests enable_tests
20252 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
20253 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
20254 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
20255 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
20256 wine_fn_config_makefile dlls/d2d1 enable_d2d1
20257 wine_fn_config_makefile dlls/d2d1/tests enable_tests
20258 wine_fn_config_makefile dlls/d3d10 enable_d3d10
20259 wine_fn_config_makefile dlls/d3d10/tests enable_tests
20260 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
20261 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
20262 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
20263 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
20264 wine_fn_config_makefile dlls/d3d11 enable_d3d11
20265 wine_fn_config_makefile dlls/d3d11/tests enable_tests
20266 wine_fn_config_makefile dlls/d3d12 enable_d3d12
20267 wine_fn_config_makefile dlls/d3d12/tests enable_tests
20268 wine_fn_config_makefile dlls/d3d8 enable_d3d8
20269 wine_fn_config_makefile dlls/d3d8/tests enable_tests
20270 wine_fn_config_makefile dlls/d3d9 enable_d3d9
20271 wine_fn_config_makefile dlls/d3d9/tests enable_tests
20272 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
20273 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
20274 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
20275 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
20276 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
20277 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
20278 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
20279 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
20280 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
20281 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
20282 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
20283 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
20284 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
20285 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
20286 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
20287 wine_fn_config_makefile dlls/d3dim enable_d3dim
20288 wine_fn_config_makefile dlls/d3drm enable_d3drm
20289 wine_fn_config_makefile dlls/d3drm/tests enable_tests
20290 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
20291 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
20292 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
20293 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
20294 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
20295 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
20296 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
20297 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
20298 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
20299 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
20300 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
20301 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
20302 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
20303 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
20304 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
20305 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
20306 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
20307 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
20308 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
20309 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
20310 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
20311 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
20312 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
20313 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
20314 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
20315 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
20316 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
20317 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
20318 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
20319 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
20320 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
20321 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
20322 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
20323 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
20324 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
20325 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
20326 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
20327 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
20328 wine_fn_config_makefile dlls/davclnt enable_davclnt
20329 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
20330 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
20331 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
20332 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
20333 wine_fn_config_makefile dlls/dciman32 enable_dciman32
20334 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
20335 wine_fn_config_makefile dlls/ddraw enable_ddraw
20336 wine_fn_config_makefile dlls/ddraw/tests enable_tests
20337 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
20338 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
20339 wine_fn_config_makefile dlls/devenum enable_devenum
20340 wine_fn_config_makefile dlls/devenum/tests enable_tests
20341 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
20342 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
20343 wine_fn_config_makefile dlls/difxapi enable_difxapi
20344 wine_fn_config_makefile dlls/dinput enable_dinput
20345 wine_fn_config_makefile dlls/dinput/tests enable_tests
20346 wine_fn_config_makefile dlls/dinput8 enable_dinput8
20347 wine_fn_config_makefile dlls/dinput8/tests enable_tests
20348 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
20349 wine_fn_config_makefile dlls/dispex enable_dispex
20350 wine_fn_config_makefile dlls/dispex/tests enable_tests
20351 wine_fn_config_makefile dlls/display.drv16 enable_win16
20352 wine_fn_config_makefile dlls/dmband enable_dmband
20353 wine_fn_config_makefile dlls/dmband/tests enable_tests
20354 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
20355 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
20356 wine_fn_config_makefile dlls/dmime enable_dmime
20357 wine_fn_config_makefile dlls/dmime/tests enable_tests
20358 wine_fn_config_makefile dlls/dmloader enable_dmloader
20359 wine_fn_config_makefile dlls/dmloader/tests enable_tests
20360 wine_fn_config_makefile dlls/dmoguids enable_dmoguids
20361 wine_fn_config_makefile dlls/dmscript enable_dmscript
20362 wine_fn_config_makefile dlls/dmscript/tests enable_tests
20363 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
20364 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
20365 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
20366 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
20367 wine_fn_config_makefile dlls/dmusic enable_dmusic
20368 wine_fn_config_makefile dlls/dmusic/tests enable_tests
20369 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
20370 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
20371 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
20372 wine_fn_config_makefile dlls/dplay enable_dplay
20373 wine_fn_config_makefile dlls/dplayx enable_dplayx
20374 wine_fn_config_makefile dlls/dplayx/tests enable_tests
20375 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
20376 wine_fn_config_makefile dlls/dpnet enable_dpnet
20377 wine_fn_config_makefile dlls/dpnet/tests enable_tests
20378 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
20379 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
20380 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
20381 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
20382 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
20383 wine_fn_config_makefile dlls/drmclien enable_drmclien
20384 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
20385 wine_fn_config_makefile dlls/dsound enable_dsound
20386 wine_fn_config_makefile dlls/dsound/tests enable_tests
20387 wine_fn_config_makefile dlls/dsquery enable_dsquery
20388 wine_fn_config_makefile dlls/dssenh enable_dssenh
20389 wine_fn_config_makefile dlls/dssenh/tests enable_tests
20390 wine_fn_config_makefile dlls/dswave enable_dswave
20391 wine_fn_config_makefile dlls/dswave/tests enable_tests
20392 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
20393 wine_fn_config_makefile dlls/dwrite enable_dwrite
20394 wine_fn_config_makefile dlls/dwrite/tests enable_tests
20395 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
20396 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
20397 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
20398 wine_fn_config_makefile dlls/dxerr8 enable_dxerr8
20399 wine_fn_config_makefile dlls/dxerr9 enable_dxerr9
20400 wine_fn_config_makefile dlls/dxgi enable_dxgi
20401 wine_fn_config_makefile dlls/dxgi/tests enable_tests
20402 wine_fn_config_makefile dlls/dxguid enable_dxguid
20403 wine_fn_config_makefile dlls/dxva2 enable_dxva2
20404 wine_fn_config_makefile dlls/esent enable_esent
20405 wine_fn_config_makefile dlls/evr enable_evr
20406 wine_fn_config_makefile dlls/evr/tests enable_tests
20407 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
20408 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
20409 wine_fn_config_makefile dlls/ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
20410 wine_fn_config_makefile dlls/ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
20411 wine_fn_config_makefile dlls/ext-ms-win-dwmapi-ext-l1-1-0 enable_ext_ms_win_dwmapi_ext_l1_1_0
20412 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-0 enable_ext_ms_win_gdi_dc_create_l1_1_0
20413 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
20414 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
20415 wine_fn_config_makefile dlls/ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
20416 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-0 enable_ext_ms_win_gdi_draw_l1_1_0
20417 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
20418 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-0 enable_ext_ms_win_gdi_font_l1_1_0
20419 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-1 enable_ext_ms_win_gdi_font_l1_1_1
20420 wine_fn_config_makefile dlls/ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
20421 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
20422 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
20423 wine_fn_config_makefile dlls/ext-ms-win-ntuser-dialogbox-l1-1-0 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
20424 wine_fn_config_makefile dlls/ext-ms-win-ntuser-draw-l1-1-0 enable_ext_ms_win_ntuser_draw_l1_1_0
20425 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-1-0 enable_ext_ms_win_ntuser_gui_l1_1_0
20426 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-3-0 enable_ext_ms_win_ntuser_gui_l1_3_0
20427 wine_fn_config_makefile dlls/ext-ms-win-ntuser-keyboard-l1-3-0 enable_ext_ms_win_ntuser_keyboard_l1_3_0
20428 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-0 enable_ext_ms_win_ntuser_message_l1_1_0
20429 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
20430 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-1-0 enable_ext_ms_win_ntuser_misc_l1_1_0
20431 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-2-0 enable_ext_ms_win_ntuser_misc_l1_2_0
20432 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-5-1 enable_ext_ms_win_ntuser_misc_l1_5_1
20433 wine_fn_config_makefile dlls/ext-ms-win-ntuser-mouse-l1-1-0 enable_ext_ms_win_ntuser_mouse_l1_1_0
20434 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
20435 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-3-1 enable_ext_ms_win_ntuser_private_l1_3_1
20436 wine_fn_config_makefile dlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
20437 wine_fn_config_makefile dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
20438 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-0 enable_ext_ms_win_ntuser_window_l1_1_0
20439 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
20440 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-4 enable_ext_ms_win_ntuser_window_l1_1_4
20441 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-0 enable_ext_ms_win_ntuser_windowclass_l1_1_0
20442 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
20443 wine_fn_config_makefile dlls/ext-ms-win-oleacc-l1-1-0 enable_ext_ms_win_oleacc_l1_1_0
20444 wine_fn_config_makefile dlls/ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
20445 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-devcaps-l1-1-0 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
20446 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
20447 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
20448 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-cursor-l1-1-0 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
20449 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
20450 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
20451 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-2-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
20452 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-rawinput-l1-1-0 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
20453 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-syscolors-l1-1-0 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
20454 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
20455 wine_fn_config_makefile dlls/ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
20456 wine_fn_config_makefile dlls/ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
20457 wine_fn_config_makefile dlls/ext-ms-win-shell-comctl32-init-l1-1-0 enable_ext_ms_win_shell_comctl32_init_l1_1_0
20458 wine_fn_config_makefile dlls/ext-ms-win-shell-comdlg32-l1-1-0 enable_ext_ms_win_shell_comdlg32_l1_1_0
20459 wine_fn_config_makefile dlls/ext-ms-win-shell-shell32-l1-2-0 enable_ext_ms_win_shell_shell32_l1_2_0
20460 wine_fn_config_makefile dlls/ext-ms-win-uxtheme-themes-l1-1-0 enable_ext_ms_win_uxtheme_themes_l1_1_0
20461 wine_fn_config_makefile dlls/faultrep enable_faultrep
20462 wine_fn_config_makefile dlls/faultrep/tests enable_tests
20463 wine_fn_config_makefile dlls/feclient enable_feclient
20464 wine_fn_config_makefile dlls/fltlib enable_fltlib
20465 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
20466 wine_fn_config_makefile dlls/fntcache enable_fntcache
20467 wine_fn_config_makefile dlls/fontsub enable_fontsub
20468 wine_fn_config_makefile dlls/fusion enable_fusion
20469 wine_fn_config_makefile dlls/fusion/tests enable_tests
20470 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
20471 wine_fn_config_makefile dlls/gameux enable_gameux
20472 wine_fn_config_makefile dlls/gameux/tests enable_tests
20473 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
20474 wine_fn_config_makefile dlls/gdi32 enable_gdi32
20475 wine_fn_config_makefile dlls/gdi32/tests enable_tests
20476 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
20477 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
20478 wine_fn_config_makefile dlls/glu32 enable_glu32
20479 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
20480 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
20481 wine_fn_config_makefile dlls/hal enable_hal
20482 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
20483 wine_fn_config_makefile dlls/hid enable_hid
20484 wine_fn_config_makefile dlls/hid/tests enable_tests
20485 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
20486 wine_fn_config_makefile dlls/hlink enable_hlink
20487 wine_fn_config_makefile dlls/hlink/tests enable_tests
20488 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
20489 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
20490 wine_fn_config_makefile dlls/http.sys enable_http_sys
20491 wine_fn_config_makefile dlls/httpapi enable_httpapi
20492 wine_fn_config_makefile dlls/httpapi/tests enable_tests
20493 wine_fn_config_makefile dlls/iccvid enable_iccvid
20494 wine_fn_config_makefile dlls/icmp enable_icmp
20495 wine_fn_config_makefile dlls/ieframe enable_ieframe
20496 wine_fn_config_makefile dlls/ieframe/tests enable_tests
20497 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
20498 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
20499 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
20500 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
20501 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
20502 wine_fn_config_makefile dlls/imm.dll16 enable_win16
20503 wine_fn_config_makefile dlls/imm32 enable_imm32
20504 wine_fn_config_makefile dlls/imm32/tests enable_tests
20505 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
20506 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
20507 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
20508 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
20509 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
20510 wine_fn_config_makefile dlls/infosoft enable_infosoft
20511 wine_fn_config_makefile dlls/infosoft/tests enable_tests
20512 wine_fn_config_makefile dlls/initpki enable_initpki
20513 wine_fn_config_makefile dlls/inkobj enable_inkobj
20514 wine_fn_config_makefile dlls/inseng enable_inseng
20515 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
20516 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
20517 wine_fn_config_makefile dlls/iprop enable_iprop
20518 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
20519 wine_fn_config_makefile dlls/itircl enable_itircl
20520 wine_fn_config_makefile dlls/itss enable_itss
20521 wine_fn_config_makefile dlls/itss/tests enable_tests
20522 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
20523 wine_fn_config_makefile dlls/jscript enable_jscript
20524 wine_fn_config_makefile dlls/jscript/tests enable_tests
20525 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
20526 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
20527 wine_fn_config_makefile dlls/kerberos enable_kerberos
20528 wine_fn_config_makefile dlls/kernel32 enable_kernel32
20529 wine_fn_config_makefile dlls/kernel32/tests enable_tests
20530 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
20531 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
20532 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
20533 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
20534 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
20535 wine_fn_config_makefile dlls/ksuser enable_ksuser
20536 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
20537 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
20538 wine_fn_config_makefile dlls/loadperf enable_loadperf
20539 wine_fn_config_makefile dlls/localspl enable_localspl
20540 wine_fn_config_makefile dlls/localspl/tests enable_tests
20541 wine_fn_config_makefile dlls/localui enable_localui
20542 wine_fn_config_makefile dlls/localui/tests enable_tests
20543 wine_fn_config_makefile dlls/lz32 enable_lz32
20544 wine_fn_config_makefile dlls/lz32/tests enable_tests
20545 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
20546 wine_fn_config_makefile dlls/mapi32 enable_mapi32
20547 wine_fn_config_makefile dlls/mapi32/tests enable_tests
20548 wine_fn_config_makefile dlls/mapistub enable_mapistub
20549 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
20550 wine_fn_config_makefile dlls/mcicda enable_mcicda
20551 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
20552 wine_fn_config_makefile dlls/mciseq enable_mciseq
20553 wine_fn_config_makefile dlls/mciwave enable_mciwave
20554 wine_fn_config_makefile dlls/mf enable_mf
20555 wine_fn_config_makefile dlls/mf/tests enable_tests
20556 wine_fn_config_makefile dlls/mf3216 enable_mf3216
20557 wine_fn_config_makefile dlls/mferror enable_mferror
20558 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
20559 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
20560 wine_fn_config_makefile dlls/mfplat enable_mfplat
20561 wine_fn_config_makefile dlls/mfplat/tests enable_tests
20562 wine_fn_config_makefile dlls/mfplay enable_mfplay
20563 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
20564 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
20565 wine_fn_config_makefile dlls/mfuuid enable_mfuuid
20566 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
20567 wine_fn_config_makefile dlls/midimap enable_midimap
20568 wine_fn_config_makefile dlls/mlang enable_mlang
20569 wine_fn_config_makefile dlls/mlang/tests enable_tests
20570 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
20571 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
20572 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
20573 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
20574 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
20575 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
20576 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
20577 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
20578 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
20579 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
20580 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
20581 wine_fn_config_makefile dlls/mpr enable_mpr
20582 wine_fn_config_makefile dlls/mpr/tests enable_tests
20583 wine_fn_config_makefile dlls/mprapi enable_mprapi
20584 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
20585 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
20586 wine_fn_config_makefile dlls/msacm32 enable_msacm32
20587 wine_fn_config_makefile dlls/msacm32/tests enable_tests
20588 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
20589 wine_fn_config_makefile dlls/msasn1 enable_msasn1
20590 wine_fn_config_makefile dlls/mscat32 enable_mscat32
20591 wine_fn_config_makefile dlls/mscms enable_mscms
20592 wine_fn_config_makefile dlls/mscms/tests enable_tests
20593 wine_fn_config_makefile dlls/mscoree enable_mscoree
20594 wine_fn_config_makefile dlls/mscoree/tests enable_tests
20595 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
20596 wine_fn_config_makefile dlls/msctf enable_msctf
20597 wine_fn_config_makefile dlls/msctf/tests enable_tests
20598 wine_fn_config_makefile dlls/msctfp enable_msctfp
20599 wine_fn_config_makefile dlls/msdaps enable_msdaps
20600 wine_fn_config_makefile dlls/msdelta enable_msdelta
20601 wine_fn_config_makefile dlls/msdmo enable_msdmo
20602 wine_fn_config_makefile dlls/msdmo/tests enable_tests
20603 wine_fn_config_makefile dlls/msdrm enable_msdrm
20604 wine_fn_config_makefile dlls/msftedit enable_msftedit
20605 wine_fn_config_makefile dlls/msftedit/tests enable_tests
20606 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
20607 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
20608 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
20609 wine_fn_config_makefile dlls/mshtml enable_mshtml
20610 wine_fn_config_makefile dlls/mshtml/tests enable_tests
20611 wine_fn_config_makefile dlls/msi enable_msi
20612 wine_fn_config_makefile dlls/msi/tests enable_tests
20613 wine_fn_config_makefile dlls/msident enable_msident
20614 wine_fn_config_makefile dlls/msimg32 enable_msimg32
20615 wine_fn_config_makefile dlls/msimsg enable_msimsg
20616 wine_fn_config_makefile dlls/msimtf enable_msimtf
20617 wine_fn_config_makefile dlls/msisip enable_msisip
20618 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
20619 wine_fn_config_makefile dlls/msls31 enable_msls31
20620 wine_fn_config_makefile dlls/msnet32 enable_msnet32
20621 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
20622 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
20623 wine_fn_config_makefile dlls/msports enable_msports
20624 wine_fn_config_makefile dlls/msrle32 enable_msrle32
20625 wine_fn_config_makefile dlls/msrle32/tests enable_tests
20626 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
20627 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
20628 wine_fn_config_makefile dlls/mssign32 enable_mssign32
20629 wine_fn_config_makefile dlls/mssip32 enable_mssip32
20630 wine_fn_config_makefile dlls/mstask enable_mstask
20631 wine_fn_config_makefile dlls/mstask/tests enable_tests
20632 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
20633 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
20634 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
20635 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
20636 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
20637 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
20638 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
20639 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
20640 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
20641 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
20642 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
20643 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
20644 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
20645 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
20646 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
20647 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
20648 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
20649 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
20650 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
20651 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
20652 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
20653 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
20654 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
20655 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
20656 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
20657 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
20658 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
20659 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
20660 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
20661 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
20662 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
20663 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
20664 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
20665 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
20666 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
20667 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
20668 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
20669 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
20670 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
20671 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
20672 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
20673 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
20674 wine_fn_config_makefile dlls/mswsock enable_mswsock
20675 wine_fn_config_makefile dlls/msxml enable_msxml
20676 wine_fn_config_makefile dlls/msxml2 enable_msxml2
20677 wine_fn_config_makefile dlls/msxml3 enable_msxml3
20678 wine_fn_config_makefile dlls/msxml3/tests enable_tests
20679 wine_fn_config_makefile dlls/msxml4 enable_msxml4
20680 wine_fn_config_makefile dlls/msxml6 enable_msxml6
20681 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
20682 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
20683 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
20684 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
20685 wine_fn_config_makefile dlls/netapi32 enable_netapi32
20686 wine_fn_config_makefile dlls/netapi32/tests enable_tests
20687 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
20688 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
20689 wine_fn_config_makefile dlls/netprofm enable_netprofm
20690 wine_fn_config_makefile dlls/netprofm/tests enable_tests
20691 wine_fn_config_makefile dlls/newdev enable_newdev
20692 wine_fn_config_makefile dlls/ninput enable_ninput
20693 wine_fn_config_makefile dlls/ninput/tests enable_tests
20694 wine_fn_config_makefile dlls/normaliz enable_normaliz
20695 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
20696 wine_fn_config_makefile dlls/npptools enable_npptools
20697 wine_fn_config_makefile dlls/ntdll enable_ntdll
20698 wine_fn_config_makefile dlls/ntdll/tests enable_tests
20699 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
20700 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
20701 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
20702 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
20703 wine_fn_config_makefile dlls/ntprint enable_ntprint
20704 wine_fn_config_makefile dlls/ntprint/tests enable_tests
20705 wine_fn_config_makefile dlls/objsel enable_objsel
20706 wine_fn_config_makefile dlls/odbc32 enable_odbc32
20707 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
20708 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
20709 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
20710 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
20711 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
20712 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
20713 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
20714 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
20715 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
20716 wine_fn_config_makefile dlls/ole32 enable_ole32
20717 wine_fn_config_makefile dlls/ole32/tests enable_tests
20718 wine_fn_config_makefile dlls/oleacc enable_oleacc
20719 wine_fn_config_makefile dlls/oleacc/tests enable_tests
20720 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
20721 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
20722 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
20723 wine_fn_config_makefile dlls/olecli32 enable_olecli32
20724 wine_fn_config_makefile dlls/oledb32 enable_oledb32
20725 wine_fn_config_makefile dlls/oledb32/tests enable_tests
20726 wine_fn_config_makefile dlls/oledlg enable_oledlg
20727 wine_fn_config_makefile dlls/oledlg/tests enable_tests
20728 wine_fn_config_makefile dlls/olepro32 enable_olepro32
20729 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
20730 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
20731 wine_fn_config_makefile dlls/olethk32 enable_olethk32
20732 wine_fn_config_makefile dlls/opcservices enable_opcservices
20733 wine_fn_config_makefile dlls/opcservices/tests enable_tests
20734 wine_fn_config_makefile dlls/openal32 enable_openal32
20735 wine_fn_config_makefile dlls/opencl enable_opencl
20736 wine_fn_config_makefile dlls/opengl32 enable_opengl32
20737 wine_fn_config_makefile dlls/opengl32/tests enable_tests
20738 wine_fn_config_makefile dlls/packager enable_packager
20739 wine_fn_config_makefile dlls/packager/tests enable_tests
20740 wine_fn_config_makefile dlls/pdh enable_pdh
20741 wine_fn_config_makefile dlls/pdh/tests enable_tests
20742 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
20743 wine_fn_config_makefile dlls/pidgen enable_pidgen
20744 wine_fn_config_makefile dlls/powrprof enable_powrprof
20745 wine_fn_config_makefile dlls/printui enable_printui
20746 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
20747 wine_fn_config_makefile dlls/propsys enable_propsys
20748 wine_fn_config_makefile dlls/propsys/tests enable_tests
20749 wine_fn_config_makefile dlls/psapi enable_psapi
20750 wine_fn_config_makefile dlls/psapi/tests enable_tests
20751 wine_fn_config_makefile dlls/pstorec enable_pstorec
20752 wine_fn_config_makefile dlls/pstorec/tests enable_tests
20753 wine_fn_config_makefile dlls/qcap enable_qcap
20754 wine_fn_config_makefile dlls/qcap/tests enable_tests
20755 wine_fn_config_makefile dlls/qedit enable_qedit
20756 wine_fn_config_makefile dlls/qedit/tests enable_tests
20757 wine_fn_config_makefile dlls/qmgr enable_qmgr
20758 wine_fn_config_makefile dlls/qmgr/tests enable_tests
20759 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
20760 wine_fn_config_makefile dlls/quartz enable_quartz
20761 wine_fn_config_makefile dlls/quartz/tests enable_tests
20762 wine_fn_config_makefile dlls/query enable_query
20763 wine_fn_config_makefile dlls/qwave enable_qwave
20764 wine_fn_config_makefile dlls/qwave/tests enable_tests
20765 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
20766 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
20767 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
20768 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
20769 wine_fn_config_makefile dlls/regapi enable_regapi
20770 wine_fn_config_makefile dlls/resutils enable_resutils
20771 wine_fn_config_makefile dlls/riched20 enable_riched20
20772 wine_fn_config_makefile dlls/riched20/tests enable_tests
20773 wine_fn_config_makefile dlls/riched32 enable_riched32
20774 wine_fn_config_makefile dlls/riched32/tests enable_tests
20775 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
20776 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
20777 wine_fn_config_makefile dlls/rsabase enable_rsabase
20778 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
20779 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
20780 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
20781 wine_fn_config_makefile dlls/rtutils enable_rtutils
20782 wine_fn_config_makefile dlls/samlib enable_samlib
20783 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
20784 wine_fn_config_makefile dlls/sapi enable_sapi
20785 wine_fn_config_makefile dlls/sapi/tests enable_tests
20786 wine_fn_config_makefile dlls/sas enable_sas
20787 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
20788 wine_fn_config_makefile dlls/sccbase enable_sccbase
20789 wine_fn_config_makefile dlls/schannel enable_schannel
20790 wine_fn_config_makefile dlls/schannel/tests enable_tests
20791 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
20792 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
20793 wine_fn_config_makefile dlls/scrobj enable_scrobj
20794 wine_fn_config_makefile dlls/scrobj/tests enable_tests
20795 wine_fn_config_makefile dlls/scrrun enable_scrrun
20796 wine_fn_config_makefile dlls/scrrun/tests enable_tests
20797 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
20798 wine_fn_config_makefile dlls/secur32 enable_secur32
20799 wine_fn_config_makefile dlls/secur32/tests enable_tests
20800 wine_fn_config_makefile dlls/security enable_security
20801 wine_fn_config_makefile dlls/sensapi enable_sensapi
20802 wine_fn_config_makefile dlls/serialui enable_serialui
20803 wine_fn_config_makefile dlls/serialui/tests enable_tests
20804 wine_fn_config_makefile dlls/setupapi enable_setupapi
20805 wine_fn_config_makefile dlls/setupapi/tests enable_tests
20806 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
20807 wine_fn_config_makefile dlls/sfc enable_sfc
20808 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
20809 wine_fn_config_makefile dlls/shcore enable_shcore
20810 wine_fn_config_makefile dlls/shcore/tests enable_tests
20811 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
20812 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
20813 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
20814 wine_fn_config_makefile dlls/shell.dll16 enable_win16
20815 wine_fn_config_makefile dlls/shell32 enable_shell32
20816 wine_fn_config_makefile dlls/shell32/tests enable_tests
20817 wine_fn_config_makefile dlls/shfolder enable_shfolder
20818 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
20819 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
20820 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
20821 wine_fn_config_makefile dlls/slc enable_slc
20822 wine_fn_config_makefile dlls/slc/tests enable_tests
20823 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
20824 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
20825 wine_fn_config_makefile dlls/softpub enable_softpub
20826 wine_fn_config_makefile dlls/sound.drv16 enable_win16
20827 wine_fn_config_makefile dlls/spoolss enable_spoolss
20828 wine_fn_config_makefile dlls/spoolss/tests enable_tests
20829 wine_fn_config_makefile dlls/srclient enable_srclient
20830 wine_fn_config_makefile dlls/sspicli enable_sspicli
20831 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
20832 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
20833 wine_fn_config_makefile dlls/sti enable_sti
20834 wine_fn_config_makefile dlls/sti/tests enable_tests
20835 wine_fn_config_makefile dlls/storage.dll16 enable_win16
20836 wine_fn_config_makefile dlls/stress.dll16 enable_win16
20837 wine_fn_config_makefile dlls/strmbase enable_strmbase
20838 wine_fn_config_makefile dlls/strmdll enable_strmdll
20839 wine_fn_config_makefile dlls/strmiids enable_strmiids
20840 wine_fn_config_makefile dlls/svrapi enable_svrapi
20841 wine_fn_config_makefile dlls/sxs enable_sxs
20842 wine_fn_config_makefile dlls/sxs/tests enable_tests
20843 wine_fn_config_makefile dlls/system.drv16 enable_win16
20844 wine_fn_config_makefile dlls/t2embed enable_t2embed
20845 wine_fn_config_makefile dlls/t2embed/tests enable_tests
20846 wine_fn_config_makefile dlls/tapi32 enable_tapi32
20847 wine_fn_config_makefile dlls/taskschd enable_taskschd
20848 wine_fn_config_makefile dlls/taskschd/tests enable_tests
20849 wine_fn_config_makefile dlls/tdh enable_tdh
20850 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
20851 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
20852 wine_fn_config_makefile dlls/traffic enable_traffic
20853 wine_fn_config_makefile dlls/twain.dll16 enable_win16
20854 wine_fn_config_makefile dlls/twain_32 enable_twain_32
20855 wine_fn_config_makefile dlls/twain_32/tests enable_tests
20856 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
20857 wine_fn_config_makefile dlls/tzres enable_tzres
20858 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
20859 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
20860 wine_fn_config_makefile dlls/uianimation enable_uianimation
20861 wine_fn_config_makefile dlls/uianimation/tests enable_tests
20862 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
20863 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
20864 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
20865 wine_fn_config_makefile dlls/unicows enable_unicows
20866 wine_fn_config_makefile dlls/updspapi enable_updspapi
20867 wine_fn_config_makefile dlls/url enable_url
20868 wine_fn_config_makefile dlls/urlmon enable_urlmon
20869 wine_fn_config_makefile dlls/urlmon/tests enable_tests
20870 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
20871 wine_fn_config_makefile dlls/user.exe16 enable_win16
20872 wine_fn_config_makefile dlls/user32 enable_user32
20873 wine_fn_config_makefile dlls/user32/tests enable_tests
20874 wine_fn_config_makefile dlls/userenv enable_userenv
20875 wine_fn_config_makefile dlls/userenv/tests enable_tests
20876 wine_fn_config_makefile dlls/usp10 enable_usp10
20877 wine_fn_config_makefile dlls/usp10/tests enable_tests
20878 wine_fn_config_makefile dlls/utildll enable_utildll
20879 wine_fn_config_makefile dlls/uuid enable_uuid
20880 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
20881 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
20882 wine_fn_config_makefile dlls/vbscript enable_vbscript
20883 wine_fn_config_makefile dlls/vbscript/tests enable_tests
20884 wine_fn_config_makefile dlls/vcomp enable_vcomp
20885 wine_fn_config_makefile dlls/vcomp/tests enable_tests
20886 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
20887 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
20888 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
20889 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
20890 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
20891 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
20892 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
20893 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
20894 wine_fn_config_makefile dlls/ver.dll16 enable_win16
20895 wine_fn_config_makefile dlls/version enable_version
20896 wine_fn_config_makefile dlls/version/tests enable_tests
20897 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
20898 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
20899 wine_fn_config_makefile dlls/vmm.vxd enable_win16
20900 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
20901 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
20902 wine_fn_config_makefile dlls/vssapi enable_vssapi
20903 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
20904 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
20905 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
20906 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
20907 wine_fn_config_makefile dlls/w32skrnl enable_win16
20908 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
20909 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
20910 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
20911 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
20912 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
20913 wine_fn_config_makefile dlls/wdscore enable_wdscore
20914 wine_fn_config_makefile dlls/webservices enable_webservices
20915 wine_fn_config_makefile dlls/webservices/tests enable_tests
20916 wine_fn_config_makefile dlls/wer enable_wer
20917 wine_fn_config_makefile dlls/wer/tests enable_tests
20918 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
20919 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
20920 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
20921 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
20922 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
20923 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
20924 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
20925 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
20926 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
20927 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
20928 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
20929 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
20930 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
20931 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
20932 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
20933 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
20934 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
20935 wine_fn_config_makefile dlls/wined3d enable_wined3d
20936 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
20937 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
20938 wine_fn_config_makefile dlls/winejoystick.drv enable_winejoystick_drv
20939 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
20940 wine_fn_config_makefile dlls/winemapi enable_winemapi
20941 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
20942 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
20943 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
20944 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
20945 wine_fn_config_makefile dlls/wineqtdecoder enable_wineqtdecoder
20946 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
20947 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
20948 wine_fn_config_makefile dlls/wing.dll16 enable_win16
20949 wine_fn_config_makefile dlls/wing32 enable_wing32
20950 wine_fn_config_makefile dlls/winhttp enable_winhttp
20951 wine_fn_config_makefile dlls/winhttp/tests enable_tests
20952 wine_fn_config_makefile dlls/wininet enable_wininet
20953 wine_fn_config_makefile dlls/wininet/tests enable_tests
20954 wine_fn_config_makefile dlls/winmm enable_winmm
20955 wine_fn_config_makefile dlls/winmm/tests enable_tests
20956 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
20957 wine_fn_config_makefile dlls/winnls32 enable_winnls32
20958 wine_fn_config_makefile dlls/winscard enable_winscard
20959 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
20960 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
20961 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
20962 wine_fn_config_makefile dlls/winsta enable_winsta
20963 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
20964 wine_fn_config_makefile dlls/wintab32 enable_wintab32
20965 wine_fn_config_makefile dlls/wintab32/tests enable_tests
20966 wine_fn_config_makefile dlls/wintrust enable_wintrust
20967 wine_fn_config_makefile dlls/wintrust/tests enable_tests
20968 wine_fn_config_makefile dlls/winusb enable_winusb
20969 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
20970 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
20971 wine_fn_config_makefile dlls/wlanui enable_wlanui
20972 wine_fn_config_makefile dlls/wldap32 enable_wldap32
20973 wine_fn_config_makefile dlls/wldap32/tests enable_tests
20974 wine_fn_config_makefile dlls/wmasf enable_wmasf
20975 wine_fn_config_makefile dlls/wmcodecdspuuid enable_wmcodecdspuuid
20976 wine_fn_config_makefile dlls/wmi enable_wmi
20977 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
20978 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
20979 wine_fn_config_makefile dlls/wmp enable_wmp
20980 wine_fn_config_makefile dlls/wmp/tests enable_tests
20981 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
20982 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
20983 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
20984 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
20985 wine_fn_config_makefile dlls/wow32 enable_win16
20986 wine_fn_config_makefile dlls/wpc enable_wpc
20987 wine_fn_config_makefile dlls/wpc/tests enable_tests
20988 wine_fn_config_makefile dlls/wpcap enable_wpcap
20989 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
20990 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
20991 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
20992 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
20993 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
20994 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
20995 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
20996 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
20997 wine_fn_config_makefile dlls/wsock32 enable_wsock32
20998 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
20999 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
21000 wine_fn_config_makefile dlls/wuapi enable_wuapi
21001 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
21002 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
21003 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
21004 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
21005 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
21006 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
21007 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
21008 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
21009 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
21010 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
21011 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
21012 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
21013 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
21014 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
21015 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
21016 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
21017 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
21018 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
21019 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
21020 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
21021 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
21022 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
21023 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
21024 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
21025 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
21026 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
21027 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
21028 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
21029 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
21030 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
21031 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
21032 wine_fn_config_makefile dlls/xmllite enable_xmllite
21033 wine_fn_config_makefile dlls/xmllite/tests enable_tests
21034 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
21035 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
21036 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
21037 wine_fn_config_makefile fonts enable_fonts
21038 wine_fn_config_makefile include enable_include
21039 wine_fn_config_makefile libs/port enable_port
21040 wine_fn_config_makefile libs/wine enable_wine
21041 wine_fn_config_makefile libs/wpp enable_wpp
21042 wine_fn_config_makefile loader enable_loader
21043 wine_fn_config_makefile po enable_po
21044 wine_fn_config_makefile programs/arp enable_arp
21045 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
21046 wine_fn_config_makefile programs/attrib enable_attrib
21047 wine_fn_config_makefile programs/cabarc enable_cabarc
21048 wine_fn_config_makefile programs/cacls enable_cacls
21049 wine_fn_config_makefile programs/clock enable_clock
21050 wine_fn_config_makefile programs/cmd enable_cmd
21051 wine_fn_config_makefile programs/cmd/tests enable_tests
21052 wine_fn_config_makefile programs/conhost enable_conhost
21053 wine_fn_config_makefile programs/control enable_control
21054 wine_fn_config_makefile programs/cscript enable_cscript
21055 wine_fn_config_makefile programs/dism enable_dism
21056 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
21057 wine_fn_config_makefile programs/dxdiag enable_dxdiag
21058 wine_fn_config_makefile programs/eject enable_eject
21059 wine_fn_config_makefile programs/expand enable_expand
21060 wine_fn_config_makefile programs/explorer enable_explorer
21061 wine_fn_config_makefile programs/extrac32 enable_extrac32
21062 wine_fn_config_makefile programs/fc enable_fc
21063 wine_fn_config_makefile programs/find enable_find
21064 wine_fn_config_makefile programs/find/tests enable_tests
21065 wine_fn_config_makefile programs/findstr enable_findstr
21066 wine_fn_config_makefile programs/fsutil enable_fsutil
21067 wine_fn_config_makefile programs/hh enable_hh
21068 wine_fn_config_makefile programs/hostname enable_hostname
21069 wine_fn_config_makefile programs/icacls enable_icacls
21070 wine_fn_config_makefile programs/icinfo enable_icinfo
21071 wine_fn_config_makefile programs/iexplore enable_iexplore
21072 wine_fn_config_makefile programs/ipconfig enable_ipconfig
21073 wine_fn_config_makefile programs/lodctr enable_lodctr
21074 wine_fn_config_makefile programs/mofcomp enable_mofcomp
21075 wine_fn_config_makefile programs/mshta enable_mshta
21076 wine_fn_config_makefile programs/msidb enable_msidb
21077 wine_fn_config_makefile programs/msiexec enable_msiexec
21078 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
21079 wine_fn_config_makefile programs/net enable_net
21080 wine_fn_config_makefile programs/netsh enable_netsh
21081 wine_fn_config_makefile programs/netstat enable_netstat
21082 wine_fn_config_makefile programs/ngen enable_ngen
21083 wine_fn_config_makefile programs/notepad enable_notepad
21084 wine_fn_config_makefile programs/oleview enable_oleview
21085 wine_fn_config_makefile programs/ping enable_ping
21086 wine_fn_config_makefile programs/plugplay enable_plugplay
21087 wine_fn_config_makefile programs/powershell enable_powershell
21088 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
21089 wine_fn_config_makefile programs/progman enable_progman
21090 wine_fn_config_makefile programs/reg enable_reg
21091 wine_fn_config_makefile programs/reg/tests enable_tests
21092 wine_fn_config_makefile programs/regasm enable_regasm
21093 wine_fn_config_makefile programs/regedit enable_regedit
21094 wine_fn_config_makefile programs/regedit/tests enable_tests
21095 wine_fn_config_makefile programs/regini enable_regini
21096 wine_fn_config_makefile programs/regsvcs enable_regsvcs
21097 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
21098 wine_fn_config_makefile programs/rpcss enable_rpcss
21099 wine_fn_config_makefile programs/rundll.exe16 enable_win16
21100 wine_fn_config_makefile programs/rundll32 enable_rundll32
21101 wine_fn_config_makefile programs/sc enable_sc
21102 wine_fn_config_makefile programs/schtasks enable_schtasks
21103 wine_fn_config_makefile programs/schtasks/tests enable_tests
21104 wine_fn_config_makefile programs/sdbinst enable_sdbinst
21105 wine_fn_config_makefile programs/secedit enable_secedit
21106 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
21107 wine_fn_config_makefile programs/services enable_services
21108 wine_fn_config_makefile programs/services/tests enable_tests
21109 wine_fn_config_makefile programs/shutdown enable_shutdown
21110 wine_fn_config_makefile programs/spoolsv enable_spoolsv
21111 wine_fn_config_makefile programs/start enable_start
21112 wine_fn_config_makefile programs/subst enable_subst
21113 wine_fn_config_makefile programs/svchost enable_svchost
21114 wine_fn_config_makefile programs/systeminfo enable_systeminfo
21115 wine_fn_config_makefile programs/taskkill enable_taskkill
21116 wine_fn_config_makefile programs/tasklist enable_tasklist
21117 wine_fn_config_makefile programs/taskmgr enable_taskmgr
21118 wine_fn_config_makefile programs/termsv enable_termsv
21119 wine_fn_config_makefile programs/uninstaller enable_uninstaller
21120 wine_fn_config_makefile programs/unlodctr enable_unlodctr
21121 wine_fn_config_makefile programs/view enable_view
21122 wine_fn_config_makefile programs/wevtutil enable_wevtutil
21123 wine_fn_config_makefile programs/wineboot enable_wineboot
21124 wine_fn_config_makefile programs/winebrowser enable_winebrowser
21125 wine_fn_config_makefile programs/winecfg enable_winecfg
21126 wine_fn_config_makefile programs/wineconsole enable_wineconsole
21127 wine_fn_config_makefile programs/winedbg enable_winedbg
21128 wine_fn_config_makefile programs/winedevice enable_winedevice
21129 wine_fn_config_makefile programs/winefile enable_winefile
21130 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
21131 wine_fn_config_makefile programs/winemine enable_winemine
21132 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
21133 wine_fn_config_makefile programs/winepath enable_winepath
21134 wine_fn_config_makefile programs/winetest enable_winetest
21135 wine_fn_config_makefile programs/winevdm enable_win16
21136 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
21137 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
21138 wine_fn_config_makefile programs/winmgmt enable_winmgmt
21139 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
21140 wine_fn_config_makefile programs/winver enable_winver
21141 wine_fn_config_makefile programs/wmic enable_wmic
21142 wine_fn_config_makefile programs/wmplayer enable_wmplayer
21143 wine_fn_config_makefile programs/wordpad enable_wordpad
21144 wine_fn_config_makefile programs/write enable_write
21145 wine_fn_config_makefile programs/wscript enable_wscript
21146 wine_fn_config_makefile programs/wscript/tests enable_tests
21147 wine_fn_config_makefile programs/wuauserv enable_wuauserv
21148 wine_fn_config_makefile programs/wusa enable_wusa
21149 wine_fn_config_makefile programs/xcopy enable_xcopy
21150 wine_fn_config_makefile programs/xcopy/tests enable_tests
21151 wine_fn_config_makefile server enable_server
21152 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
21153 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
21154 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
21155 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
21156 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
21157 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
21158 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
21159 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
21160 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
21163 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
21164 wine_fn_append_file CONFIGURE_TARGETS "tags"
21165 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
21166 wine_fn_append_file CONFIGURE_TARGETS "config.log"
21167 wine_fn_append_file CONFIGURE_TARGETS "config.status"
21168 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
21169 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
21170 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
21172 if test "x$enable_tools" != xno
21173 then
21174 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
21175 ac_config_commands="$ac_config_commands tools/makedep"
21179 ac_config_commands="$ac_config_commands Makefile"
21182 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
21186 if test "x$enable_maintainer_mode" = xyes
21187 then
21188 wine_fn_append_rule "configure: configure.ac aclocal.m4
21189 autoconf --warnings=all
21190 include/config.h.in: include/stamp-h.in
21191 include/stamp-h.in: configure.ac aclocal.m4
21192 autoheader --warnings=all
21193 @echo timestamp > \$@"
21196 if test "x$enable_tools" != xno
21197 then
21198 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
21199 @./config.status tools/makedep
21200 Makefile: tools/makedep$ac_exeext
21201 fonts: tools/sfnt2fon
21202 include: tools tools/widl"
21203 else
21204 wine_fn_append_rule "\$(MAKEDEP):
21205 @echo \"You need to run make in $TOOLSDIR first\" && false"
21208 if test -n "$with_wine64"
21209 then
21210 case "$with_wine64" in
21211 /*) reldir="" ;;
21212 *) reldir="../" ;;
21213 esac
21214 rm -f fonts server 2>/dev/null
21215 wine_fn_append_rule "all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
21216 loader/wine64 loader/wine64-preloader:
21217 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
21218 $with_wine64/loader/wine:
21219 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
21220 $with_wine64/loader/wine-preloader:
21221 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
21222 clean::
21223 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
21224 else
21225 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
21226 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
21227 fonts \
21228 loader/l_intl.nls \
21229 loader/wine.inf \
21230 loader/winebus.inf \
21231 loader/winehid.inf \
21232 programs/msidb/msidb \
21233 programs/msiexec/msiexec \
21234 programs/notepad/notepad \
21235 programs/regedit/regedit \
21236 programs/regsvr32/regsvr32 \
21237 programs/wineboot/wineboot \
21238 programs/winecfg/winecfg \
21239 programs/wineconsole/wineconsole \
21240 programs/winedbg/winedbg \
21241 programs/winefile/winefile \
21242 programs/winemine/winemine \
21243 programs/winepath/winepath \
21244 server/wineserver"
21246 case $host_os in
21247 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
21248 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
21249 esac
21252 $as_echo " done" >&6
21253 cat >confcache <<\_ACEOF
21254 # This file is a shell script that caches the results of configure
21255 # tests run on this system so they can be shared between configure
21256 # scripts and configure runs, see configure's option --config-cache.
21257 # It is not useful on other systems. If it contains results you don't
21258 # want to keep, you may remove or edit it.
21260 # config.status only pays attention to the cache file if you give it
21261 # the --recheck option to rerun configure.
21263 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21264 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21265 # following values.
21267 _ACEOF
21269 # The following way of writing the cache mishandles newlines in values,
21270 # but we know of no workaround that is simple, portable, and efficient.
21271 # So, we kill variables containing newlines.
21272 # Ultrix sh set writes to stderr and can't be redirected directly,
21273 # and sets the high bit in the cache file unless we assign to the vars.
21275 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21276 eval ac_val=\$$ac_var
21277 case $ac_val in #(
21278 *${as_nl}*)
21279 case $ac_var in #(
21280 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
21281 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
21282 esac
21283 case $ac_var in #(
21284 _ | IFS | as_nl) ;; #(
21285 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
21286 *) { eval $ac_var=; unset $ac_var;} ;;
21287 esac ;;
21288 esac
21289 done
21291 (set) 2>&1 |
21292 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21293 *${as_nl}ac_space=\ *)
21294 # `set' does not quote correctly, so add quotes: double-quote
21295 # substitution turns \\\\ into \\, and sed turns \\ into \.
21296 sed -n \
21297 "s/'/'\\\\''/g;
21298 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21299 ;; #(
21301 # `set' quotes correctly as required by POSIX, so do not add quotes.
21302 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21304 esac |
21305 sort
21307 sed '
21308 /^ac_cv_env_/b end
21309 t clear
21310 :clear
21311 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21312 t end
21313 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21314 :end' >>confcache
21315 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
21316 if test -w "$cache_file"; then
21317 if test "x$cache_file" != "x/dev/null"; then
21318 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
21319 $as_echo "$as_me: updating cache $cache_file" >&6;}
21320 if test ! -f "$cache_file" || test -h "$cache_file"; then
21321 cat confcache >"$cache_file"
21322 else
21323 case $cache_file in #(
21324 */* | ?:*)
21325 mv -f confcache "$cache_file"$$ &&
21326 mv -f "$cache_file"$$ "$cache_file" ;; #(
21328 mv -f confcache "$cache_file" ;;
21329 esac
21332 else
21333 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
21334 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21337 rm -f confcache
21339 test "x$prefix" = xNONE && prefix=$ac_default_prefix
21340 # Let make expand exec_prefix.
21341 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
21343 DEFS=-DHAVE_CONFIG_H
21345 ac_libobjs=
21346 ac_ltlibobjs=
21348 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
21349 # 1. Remove the extension, and $U if already installed.
21350 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
21351 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
21352 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21353 # will be set to the directory where LIBOBJS objects are built.
21354 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21355 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
21356 done
21357 LIBOBJS=$ac_libobjs
21359 LTLIBOBJS=$ac_ltlibobjs
21363 : "${CONFIG_STATUS=./config.status}"
21364 ac_write_fail=0
21365 ac_clean_files_save=$ac_clean_files
21366 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
21367 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
21368 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
21369 as_write_fail=0
21370 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
21371 #! $SHELL
21372 # Generated by $as_me.
21373 # Run this file to recreate the current configuration.
21374 # Compiler output produced by configure, useful for debugging
21375 # configure, is in config.log if it exists.
21377 debug=false
21378 ac_cs_recheck=false
21379 ac_cs_silent=false
21381 SHELL=\${CONFIG_SHELL-$SHELL}
21382 export SHELL
21383 _ASEOF
21384 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
21385 ## -------------------- ##
21386 ## M4sh Initialization. ##
21387 ## -------------------- ##
21389 # Be more Bourne compatible
21390 DUALCASE=1; export DUALCASE # for MKS sh
21391 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
21392 emulate sh
21393 NULLCMD=:
21394 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21395 # is contrary to our usage. Disable this feature.
21396 alias -g '${1+"$@"}'='"$@"'
21397 setopt NO_GLOB_SUBST
21398 else
21399 case `(set -o) 2>/dev/null` in #(
21400 *posix*) :
21401 set -o posix ;; #(
21402 *) :
21404 esac
21408 as_nl='
21410 export as_nl
21411 # Printing a long string crashes Solaris 7 /usr/bin/printf.
21412 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
21413 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
21414 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
21415 # Prefer a ksh shell builtin over an external printf program on Solaris,
21416 # but without wasting forks for bash or zsh.
21417 if test -z "$BASH_VERSION$ZSH_VERSION" \
21418 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
21419 as_echo='print -r --'
21420 as_echo_n='print -rn --'
21421 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
21422 as_echo='printf %s\n'
21423 as_echo_n='printf %s'
21424 else
21425 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
21426 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
21427 as_echo_n='/usr/ucb/echo -n'
21428 else
21429 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
21430 as_echo_n_body='eval
21431 arg=$1;
21432 case $arg in #(
21433 *"$as_nl"*)
21434 expr "X$arg" : "X\\(.*\\)$as_nl";
21435 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
21436 esac;
21437 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
21439 export as_echo_n_body
21440 as_echo_n='sh -c $as_echo_n_body as_echo'
21442 export as_echo_body
21443 as_echo='sh -c $as_echo_body as_echo'
21446 # The user is always right.
21447 if test "${PATH_SEPARATOR+set}" != set; then
21448 PATH_SEPARATOR=:
21449 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
21450 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
21451 PATH_SEPARATOR=';'
21456 # IFS
21457 # We need space, tab and new line, in precisely that order. Quoting is
21458 # there to prevent editors from complaining about space-tab.
21459 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21460 # splitting by setting IFS to empty value.)
21461 IFS=" "" $as_nl"
21463 # Find who we are. Look in the path if we contain no directory separator.
21464 as_myself=
21465 case $0 in #((
21466 *[\\/]* ) as_myself=$0 ;;
21467 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21468 for as_dir in $PATH
21470 IFS=$as_save_IFS
21471 test -z "$as_dir" && as_dir=.
21472 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21473 done
21474 IFS=$as_save_IFS
21477 esac
21478 # We did not find ourselves, most probably we were run as `sh COMMAND'
21479 # in which case we are not to be found in the path.
21480 if test "x$as_myself" = x; then
21481 as_myself=$0
21483 if test ! -f "$as_myself"; then
21484 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21485 exit 1
21488 # Unset variables that we do not need and which cause bugs (e.g. in
21489 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
21490 # suppresses any "Segmentation fault" message there. '((' could
21491 # trigger a bug in pdksh 5.2.14.
21492 for as_var in BASH_ENV ENV MAIL MAILPATH
21493 do eval test x\${$as_var+set} = xset \
21494 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
21495 done
21496 PS1='$ '
21497 PS2='> '
21498 PS4='+ '
21500 # NLS nuisances.
21501 LC_ALL=C
21502 export LC_ALL
21503 LANGUAGE=C
21504 export LANGUAGE
21506 # CDPATH.
21507 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
21510 # as_fn_error STATUS ERROR [LINENO LOG_FD]
21511 # ----------------------------------------
21512 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
21513 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
21514 # script with STATUS, using 1 if that was 0.
21515 as_fn_error ()
21517 as_status=$1; test $as_status -eq 0 && as_status=1
21518 if test "$4"; then
21519 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
21520 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
21522 $as_echo "$as_me: error: $2" >&2
21523 as_fn_exit $as_status
21524 } # as_fn_error
21527 # as_fn_set_status STATUS
21528 # -----------------------
21529 # Set $? to STATUS, without forking.
21530 as_fn_set_status ()
21532 return $1
21533 } # as_fn_set_status
21535 # as_fn_exit STATUS
21536 # -----------------
21537 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
21538 as_fn_exit ()
21540 set +e
21541 as_fn_set_status $1
21542 exit $1
21543 } # as_fn_exit
21545 # as_fn_unset VAR
21546 # ---------------
21547 # Portably unset VAR.
21548 as_fn_unset ()
21550 { eval $1=; unset $1;}
21552 as_unset=as_fn_unset
21553 # as_fn_append VAR VALUE
21554 # ----------------------
21555 # Append the text in VALUE to the end of the definition contained in VAR. Take
21556 # advantage of any shell optimizations that allow amortized linear growth over
21557 # repeated appends, instead of the typical quadratic growth present in naive
21558 # implementations.
21559 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
21560 eval 'as_fn_append ()
21562 eval $1+=\$2
21564 else
21565 as_fn_append ()
21567 eval $1=\$$1\$2
21569 fi # as_fn_append
21571 # as_fn_arith ARG...
21572 # ------------------
21573 # Perform arithmetic evaluation on the ARGs, and store the result in the
21574 # global $as_val. Take advantage of shells that can avoid forks. The arguments
21575 # must be portable across $(()) and expr.
21576 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
21577 eval 'as_fn_arith ()
21579 as_val=$(( $* ))
21581 else
21582 as_fn_arith ()
21584 as_val=`expr "$@" || test $? -eq 1`
21586 fi # as_fn_arith
21589 if expr a : '\(a\)' >/dev/null 2>&1 &&
21590 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21591 as_expr=expr
21592 else
21593 as_expr=false
21596 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21597 as_basename=basename
21598 else
21599 as_basename=false
21602 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
21603 as_dirname=dirname
21604 else
21605 as_dirname=false
21608 as_me=`$as_basename -- "$0" ||
21609 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21610 X"$0" : 'X\(//\)$' \| \
21611 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21612 $as_echo X/"$0" |
21613 sed '/^.*\/\([^/][^/]*\)\/*$/{
21614 s//\1/
21617 /^X\/\(\/\/\)$/{
21618 s//\1/
21621 /^X\/\(\/\).*/{
21622 s//\1/
21625 s/.*/./; q'`
21627 # Avoid depending upon Character Ranges.
21628 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21629 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21630 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21631 as_cr_digits='0123456789'
21632 as_cr_alnum=$as_cr_Letters$as_cr_digits
21634 ECHO_C= ECHO_N= ECHO_T=
21635 case `echo -n x` in #(((((
21636 -n*)
21637 case `echo 'xy\c'` in
21638 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
21639 xy) ECHO_C='\c';;
21640 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
21641 ECHO_T=' ';;
21642 esac;;
21644 ECHO_N='-n';;
21645 esac
21647 rm -f conf$$ conf$$.exe conf$$.file
21648 if test -d conf$$.dir; then
21649 rm -f conf$$.dir/conf$$.file
21650 else
21651 rm -f conf$$.dir
21652 mkdir conf$$.dir 2>/dev/null
21654 if (echo >conf$$.file) 2>/dev/null; then
21655 if ln -s conf$$.file conf$$ 2>/dev/null; then
21656 as_ln_s='ln -s'
21657 # ... but there are two gotchas:
21658 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21659 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21660 # In both cases, we have to default to `cp -pR'.
21661 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
21662 as_ln_s='cp -pR'
21663 elif ln conf$$.file conf$$ 2>/dev/null; then
21664 as_ln_s=ln
21665 else
21666 as_ln_s='cp -pR'
21668 else
21669 as_ln_s='cp -pR'
21671 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
21672 rmdir conf$$.dir 2>/dev/null
21675 # as_fn_mkdir_p
21676 # -------------
21677 # Create "$as_dir" as a directory, including parents if necessary.
21678 as_fn_mkdir_p ()
21681 case $as_dir in #(
21682 -*) as_dir=./$as_dir;;
21683 esac
21684 test -d "$as_dir" || eval $as_mkdir_p || {
21685 as_dirs=
21686 while :; do
21687 case $as_dir in #(
21688 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
21689 *) as_qdir=$as_dir;;
21690 esac
21691 as_dirs="'$as_qdir' $as_dirs"
21692 as_dir=`$as_dirname -- "$as_dir" ||
21693 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21694 X"$as_dir" : 'X\(//\)[^/]' \| \
21695 X"$as_dir" : 'X\(//\)$' \| \
21696 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21697 $as_echo X"$as_dir" |
21698 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21699 s//\1/
21702 /^X\(\/\/\)[^/].*/{
21703 s//\1/
21706 /^X\(\/\/\)$/{
21707 s//\1/
21710 /^X\(\/\).*/{
21711 s//\1/
21714 s/.*/./; q'`
21715 test -d "$as_dir" && break
21716 done
21717 test -z "$as_dirs" || eval "mkdir $as_dirs"
21718 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
21721 } # as_fn_mkdir_p
21722 if mkdir -p . 2>/dev/null; then
21723 as_mkdir_p='mkdir -p "$as_dir"'
21724 else
21725 test -d ./-p && rmdir ./-p
21726 as_mkdir_p=false
21730 # as_fn_executable_p FILE
21731 # -----------------------
21732 # Test if FILE is an executable regular file.
21733 as_fn_executable_p ()
21735 test -f "$1" && test -x "$1"
21736 } # as_fn_executable_p
21737 as_test_x='test -x'
21738 as_executable_p=as_fn_executable_p
21740 # Sed expression to map a string onto a valid CPP name.
21741 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21743 # Sed expression to map a string onto a valid variable name.
21744 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21747 exec 6>&1
21748 ## ----------------------------------- ##
21749 ## Main body of $CONFIG_STATUS script. ##
21750 ## ----------------------------------- ##
21751 _ASEOF
21752 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
21754 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21755 # Save the log message, to keep $0 and so on meaningful, and to
21756 # report actual input values of CONFIG_FILES etc. instead of their
21757 # values after options handling.
21758 ac_log="
21759 This file was extended by Wine $as_me 4.19, which was
21760 generated by GNU Autoconf 2.69. Invocation command line was
21762 CONFIG_FILES = $CONFIG_FILES
21763 CONFIG_HEADERS = $CONFIG_HEADERS
21764 CONFIG_LINKS = $CONFIG_LINKS
21765 CONFIG_COMMANDS = $CONFIG_COMMANDS
21766 $ $0 $@
21768 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21771 _ACEOF
21773 case $ac_config_files in *"
21774 "*) set x $ac_config_files; shift; ac_config_files=$*;;
21775 esac
21777 case $ac_config_headers in *"
21778 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
21779 esac
21782 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21783 # Files that config.status was made for.
21784 config_files="$ac_config_files"
21785 config_headers="$ac_config_headers"
21786 config_links="$ac_config_links"
21787 config_commands="$ac_config_commands"
21789 _ACEOF
21791 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21792 ac_cs_usage="\
21793 \`$as_me' instantiates files and other configuration actions
21794 from templates according to the current configuration. Unless the files
21795 and actions are specified as TAGs, all are instantiated by default.
21797 Usage: $0 [OPTION]... [TAG]...
21799 -h, --help print this help, then exit
21800 -V, --version print version number and configuration settings, then exit
21801 --config print configuration, then exit
21802 -q, --quiet, --silent
21803 do not print progress messages
21804 -d, --debug don't remove temporary files
21805 --recheck update $as_me by reconfiguring in the same conditions
21806 --file=FILE[:TEMPLATE]
21807 instantiate the configuration file FILE
21808 --header=FILE[:TEMPLATE]
21809 instantiate the configuration header FILE
21811 Configuration files:
21812 $config_files
21814 Configuration headers:
21815 $config_headers
21817 Configuration links:
21818 $config_links
21820 Configuration commands:
21821 $config_commands
21823 Report bugs to <wine-devel@winehq.org>.
21824 Wine home page: <https://www.winehq.org>."
21826 _ACEOF
21827 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21828 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
21829 ac_cs_version="\\
21830 Wine config.status 4.19
21831 configured by $0, generated by GNU Autoconf 2.69,
21832 with options \\"\$ac_cs_config\\"
21834 Copyright (C) 2012 Free Software Foundation, Inc.
21835 This config.status script is free software; the Free Software Foundation
21836 gives unlimited permission to copy, distribute and modify it."
21838 ac_pwd='$ac_pwd'
21839 srcdir='$srcdir'
21840 test -n "\$AWK" || AWK=awk
21841 _ACEOF
21843 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21844 # The default lists apply if the user does not specify any file.
21845 ac_need_defaults=:
21846 while test $# != 0
21848 case $1 in
21849 --*=?*)
21850 ac_option=`expr "X$1" : 'X\([^=]*\)='`
21851 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
21852 ac_shift=:
21854 --*=)
21855 ac_option=`expr "X$1" : 'X\([^=]*\)='`
21856 ac_optarg=
21857 ac_shift=:
21860 ac_option=$1
21861 ac_optarg=$2
21862 ac_shift=shift
21864 esac
21866 case $ac_option in
21867 # Handling of the options.
21868 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
21869 ac_cs_recheck=: ;;
21870 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
21871 $as_echo "$ac_cs_version"; exit ;;
21872 --config | --confi | --conf | --con | --co | --c )
21873 $as_echo "$ac_cs_config"; exit ;;
21874 --debug | --debu | --deb | --de | --d | -d )
21875 debug=: ;;
21876 --file | --fil | --fi | --f )
21877 $ac_shift
21878 case $ac_optarg in
21879 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21880 '') as_fn_error $? "missing file argument" ;;
21881 esac
21882 as_fn_append CONFIG_FILES " '$ac_optarg'"
21883 ac_need_defaults=false;;
21884 --header | --heade | --head | --hea )
21885 $ac_shift
21886 case $ac_optarg in
21887 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21888 esac
21889 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
21890 ac_need_defaults=false;;
21891 --he | --h)
21892 # Conflict between --help and --header
21893 as_fn_error $? "ambiguous option: \`$1'
21894 Try \`$0 --help' for more information.";;
21895 --help | --hel | -h )
21896 $as_echo "$ac_cs_usage"; exit ;;
21897 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
21898 | -silent | --silent | --silen | --sile | --sil | --si | --s)
21899 ac_cs_silent=: ;;
21901 # This is an error.
21902 -*) as_fn_error $? "unrecognized option: \`$1'
21903 Try \`$0 --help' for more information." ;;
21905 *) as_fn_append ac_config_targets " $1"
21906 ac_need_defaults=false ;;
21908 esac
21909 shift
21910 done
21912 ac_configure_extra_args=
21914 if $ac_cs_silent; then
21915 exec 6>/dev/null
21916 ac_configure_extra_args="$ac_configure_extra_args --silent"
21919 _ACEOF
21920 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21921 if \$ac_cs_recheck; then
21922 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21923 shift
21924 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
21925 CONFIG_SHELL='$SHELL'
21926 export CONFIG_SHELL
21927 exec "\$@"
21930 _ACEOF
21931 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21932 exec 5>>config.log
21934 echo
21935 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21936 ## Running $as_me. ##
21937 _ASBOX
21938 $as_echo "$ac_log"
21939 } >&5
21941 _ACEOF
21942 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21944 # INIT-COMMANDS
21946 wine_fn_output_makedep ()
21948 as_dir=tools; as_fn_mkdir_p
21949 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
21951 wine_fn_output_makefile ()
21953 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
21954 `cat $wine_rules_file`
21955 _WINE_EOF
21956 as_fn_error $? "could not create Makefile" "$LINENO" 5
21959 _ACEOF
21961 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21963 # Handling of arguments.
21964 for ac_config_target in $ac_config_targets
21966 case $ac_config_target in
21967 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
21968 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
21969 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
21970 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
21971 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
21972 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
21973 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
21974 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
21975 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
21976 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
21977 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
21978 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
21979 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
21981 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
21982 esac
21983 done
21986 # If the user did not use the arguments to specify the items to instantiate,
21987 # then the envvar interface is used. Set only those that are not.
21988 # We use the long form for the default assignment because of an extremely
21989 # bizarre bug on SunOS 4.1.3.
21990 if $ac_need_defaults; then
21991 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
21992 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
21993 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
21994 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
21997 # Have a temporary directory for convenience. Make it in the build tree
21998 # simply because there is no reason against having it here, and in addition,
21999 # creating and moving files from /tmp can sometimes cause problems.
22000 # Hook for its removal unless debugging.
22001 # Note that there is a small window in which the directory will not be cleaned:
22002 # after its creation but before its name has been assigned to `$tmp'.
22003 $debug ||
22005 tmp= ac_tmp=
22006 trap 'exit_status=$?
22007 : "${ac_tmp:=$tmp}"
22008 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
22010 trap 'as_fn_exit 1' 1 2 13 15
22012 # Create a (secure) tmp directory for tmp files.
22015 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22016 test -d "$tmp"
22017 } ||
22019 tmp=./conf$$-$RANDOM
22020 (umask 077 && mkdir "$tmp")
22021 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
22022 ac_tmp=$tmp
22024 # Set up the scripts for CONFIG_FILES section.
22025 # No need to generate them if there are no CONFIG_FILES.
22026 # This happens for instance with `./config.status config.h'.
22027 if test -n "$CONFIG_FILES"; then
22030 ac_cr=`echo X | tr X '\015'`
22031 # On cygwin, bash can eat \r inside `` if the user requested igncr.
22032 # But we know of no other shell where ac_cr would be empty at this
22033 # point, so we can use a bashism as a fallback.
22034 if test "x$ac_cr" = x; then
22035 eval ac_cr=\$\'\\r\'
22037 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
22038 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
22039 ac_cs_awk_cr='\\r'
22040 else
22041 ac_cs_awk_cr=$ac_cr
22044 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
22045 _ACEOF
22049 echo "cat >conf$$subs.awk <<_ACEOF" &&
22050 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
22051 echo "_ACEOF"
22052 } >conf$$subs.sh ||
22053 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22054 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
22055 ac_delim='%!_!# '
22056 for ac_last_try in false false false false false :; do
22057 . ./conf$$subs.sh ||
22058 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22060 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
22061 if test $ac_delim_n = $ac_delim_num; then
22062 break
22063 elif $ac_last_try; then
22064 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22065 else
22066 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22068 done
22069 rm -f conf$$subs.sh
22071 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22072 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
22073 _ACEOF
22074 sed -n '
22076 s/^/S["/; s/!.*/"]=/
22079 s/^[^!]*!//
22080 :repl
22081 t repl
22082 s/'"$ac_delim"'$//
22083 t delim
22086 s/\(.\{148\}\)..*/\1/
22087 t more1
22088 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
22091 b repl
22092 :more1
22093 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22096 s/.\{148\}//
22097 t nl
22098 :delim
22100 s/\(.\{148\}\)..*/\1/
22101 t more2
22102 s/["\\]/\\&/g; s/^/"/; s/$/"/
22105 :more2
22106 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22109 s/.\{148\}//
22110 t delim
22111 ' <conf$$subs.awk | sed '
22112 /^[^""]/{
22114 s/\n//
22116 ' >>$CONFIG_STATUS || ac_write_fail=1
22117 rm -f conf$$subs.awk
22118 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22119 _ACAWK
22120 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
22121 for (key in S) S_is_set[key] = 1
22122 FS = "\a"
22126 line = $ 0
22127 nfields = split(line, field, "@")
22128 substed = 0
22129 len = length(field[1])
22130 for (i = 2; i < nfields; i++) {
22131 key = field[i]
22132 keylen = length(key)
22133 if (S_is_set[key]) {
22134 value = S[key]
22135 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
22136 len += length(value) + length(field[++i])
22137 substed = 1
22138 } else
22139 len += 1 + keylen
22142 print line
22145 _ACAWK
22146 _ACEOF
22147 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22148 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
22149 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
22150 else
22152 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
22153 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
22154 _ACEOF
22156 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
22157 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
22158 # trailing colons and then remove the whole line if VPATH becomes empty
22159 # (actually we leave an empty line to preserve line numbers).
22160 if test "x$srcdir" = x.; then
22161 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
22163 s///
22164 s/^/:/
22165 s/[ ]*$/:/
22166 s/:\$(srcdir):/:/g
22167 s/:\${srcdir}:/:/g
22168 s/:@srcdir@:/:/g
22169 s/^:*//
22170 s/:*$//
22172 s/\(=[ ]*\).*/\1/
22174 s/\n//
22175 s/^[^=]*=[ ]*$//
22179 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22180 fi # test -n "$CONFIG_FILES"
22182 # Set up the scripts for CONFIG_HEADERS section.
22183 # No need to generate them if there are no CONFIG_HEADERS.
22184 # This happens for instance with `./config.status Makefile'.
22185 if test -n "$CONFIG_HEADERS"; then
22186 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
22187 BEGIN {
22188 _ACEOF
22190 # Transform confdefs.h into an awk script `defines.awk', embedded as
22191 # here-document in config.status, that substitutes the proper values into
22192 # config.h.in to produce config.h.
22194 # Create a delimiter string that does not exist in confdefs.h, to ease
22195 # handling of long lines.
22196 ac_delim='%!_!# '
22197 for ac_last_try in false false :; do
22198 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
22199 if test -z "$ac_tt"; then
22200 break
22201 elif $ac_last_try; then
22202 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
22203 else
22204 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22206 done
22208 # For the awk script, D is an array of macro values keyed by name,
22209 # likewise P contains macro parameters if any. Preserve backslash
22210 # newline sequences.
22212 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22213 sed -n '
22214 s/.\{148\}/&'"$ac_delim"'/g
22215 t rset
22216 :rset
22217 s/^[ ]*#[ ]*define[ ][ ]*/ /
22218 t def
22220 :def
22221 s/\\$//
22222 t bsnl
22223 s/["\\]/\\&/g
22224 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22225 D["\1"]=" \3"/p
22226 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
22228 :bsnl
22229 s/["\\]/\\&/g
22230 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22231 D["\1"]=" \3\\\\\\n"\\/p
22232 t cont
22233 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
22234 t cont
22236 :cont
22238 s/.\{148\}/&'"$ac_delim"'/g
22239 t clear
22240 :clear
22241 s/\\$//
22242 t bsnlc
22243 s/["\\]/\\&/g; s/^/"/; s/$/"/p
22245 :bsnlc
22246 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
22247 b cont
22248 ' <confdefs.h | sed '
22249 s/'"$ac_delim"'/"\\\
22250 "/g' >>$CONFIG_STATUS || ac_write_fail=1
22252 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22253 for (key in D) D_is_set[key] = 1
22254 FS = "\a"
22256 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
22257 line = \$ 0
22258 split(line, arg, " ")
22259 if (arg[1] == "#") {
22260 defundef = arg[2]
22261 mac1 = arg[3]
22262 } else {
22263 defundef = substr(arg[1], 2)
22264 mac1 = arg[2]
22266 split(mac1, mac2, "(") #)
22267 macro = mac2[1]
22268 prefix = substr(line, 1, index(line, defundef) - 1)
22269 if (D_is_set[macro]) {
22270 # Preserve the white space surrounding the "#".
22271 print prefix "define", macro P[macro] D[macro]
22272 next
22273 } else {
22274 # Replace #undef with comments. This is necessary, for example,
22275 # in the case of _POSIX_SOURCE, which is predefined and required
22276 # on some systems where configure will not decide to define it.
22277 if (defundef == "undef") {
22278 print "/*", prefix defundef, macro, "*/"
22279 next
22283 { print }
22284 _ACAWK
22285 _ACEOF
22286 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22287 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
22288 fi # test -n "$CONFIG_HEADERS"
22291 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
22292 shift
22293 for ac_tag
22295 case $ac_tag in
22296 :[FHLC]) ac_mode=$ac_tag; continue;;
22297 esac
22298 case $ac_mode$ac_tag in
22299 :[FHL]*:*);;
22300 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
22301 :[FH]-) ac_tag=-:-;;
22302 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
22303 esac
22304 ac_save_IFS=$IFS
22305 IFS=:
22306 set x $ac_tag
22307 IFS=$ac_save_IFS
22308 shift
22309 ac_file=$1
22310 shift
22312 case $ac_mode in
22313 :L) ac_source=$1;;
22314 :[FH])
22315 ac_file_inputs=
22316 for ac_f
22318 case $ac_f in
22319 -) ac_f="$ac_tmp/stdin";;
22320 *) # Look for the file first in the build tree, then in the source tree
22321 # (if the path is not absolute). The absolute path cannot be DOS-style,
22322 # because $ac_f cannot contain `:'.
22323 test -f "$ac_f" ||
22324 case $ac_f in
22325 [\\/$]*) false;;
22326 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
22327 esac ||
22328 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
22329 esac
22330 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
22331 as_fn_append ac_file_inputs " '$ac_f'"
22332 done
22334 # Let's still pretend it is `configure' which instantiates (i.e., don't
22335 # use $as_me), people would be surprised to read:
22336 # /* config.h. Generated by config.status. */
22337 configure_input='Generated from '`
22338 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
22339 `' by configure.'
22340 if test x"$ac_file" != x-; then
22341 configure_input="$ac_file. $configure_input"
22342 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
22343 $as_echo "$as_me: creating $ac_file" >&6;}
22345 # Neutralize special characters interpreted by sed in replacement strings.
22346 case $configure_input in #(
22347 *\&* | *\|* | *\\* )
22348 ac_sed_conf_input=`$as_echo "$configure_input" |
22349 sed 's/[\\\\&|]/\\\\&/g'`;; #(
22350 *) ac_sed_conf_input=$configure_input;;
22351 esac
22353 case $ac_tag in
22354 *:-:* | *:-) cat >"$ac_tmp/stdin" \
22355 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
22356 esac
22358 esac
22360 ac_dir=`$as_dirname -- "$ac_file" ||
22361 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22362 X"$ac_file" : 'X\(//\)[^/]' \| \
22363 X"$ac_file" : 'X\(//\)$' \| \
22364 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22365 $as_echo X"$ac_file" |
22366 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22367 s//\1/
22370 /^X\(\/\/\)[^/].*/{
22371 s//\1/
22374 /^X\(\/\/\)$/{
22375 s//\1/
22378 /^X\(\/\).*/{
22379 s//\1/
22382 s/.*/./; q'`
22383 as_dir="$ac_dir"; as_fn_mkdir_p
22384 ac_builddir=.
22386 case "$ac_dir" in
22387 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22389 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
22390 # A ".." for each directory in $ac_dir_suffix.
22391 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
22392 case $ac_top_builddir_sub in
22393 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22394 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22395 esac ;;
22396 esac
22397 ac_abs_top_builddir=$ac_pwd
22398 ac_abs_builddir=$ac_pwd$ac_dir_suffix
22399 # for backward compatibility:
22400 ac_top_builddir=$ac_top_build_prefix
22402 case $srcdir in
22403 .) # We are building in place.
22404 ac_srcdir=.
22405 ac_top_srcdir=$ac_top_builddir_sub
22406 ac_abs_top_srcdir=$ac_pwd ;;
22407 [\\/]* | ?:[\\/]* ) # Absolute name.
22408 ac_srcdir=$srcdir$ac_dir_suffix;
22409 ac_top_srcdir=$srcdir
22410 ac_abs_top_srcdir=$srcdir ;;
22411 *) # Relative name.
22412 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22413 ac_top_srcdir=$ac_top_build_prefix$srcdir
22414 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22415 esac
22416 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22419 case $ac_mode in
22422 # CONFIG_FILE
22425 _ACEOF
22427 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22428 # If the template does not know about datarootdir, expand it.
22429 # FIXME: This hack should be removed a few years after 2.60.
22430 ac_datarootdir_hack=; ac_datarootdir_seen=
22431 ac_sed_dataroot='
22432 /datarootdir/ {
22436 /@datadir@/p
22437 /@docdir@/p
22438 /@infodir@/p
22439 /@localedir@/p
22440 /@mandir@/p'
22441 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
22442 *datarootdir*) ac_datarootdir_seen=yes;;
22443 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22444 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22445 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22446 _ACEOF
22447 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22448 ac_datarootdir_hack='
22449 s&@datadir@&$datadir&g
22450 s&@docdir@&$docdir&g
22451 s&@infodir@&$infodir&g
22452 s&@localedir@&$localedir&g
22453 s&@mandir@&$mandir&g
22454 s&\\\${datarootdir}&$datarootdir&g' ;;
22455 esac
22456 _ACEOF
22458 # Neutralize VPATH when `$srcdir' = `.'.
22459 # Shell code in configure.ac might set extrasub.
22460 # FIXME: do we really want to maintain this feature?
22461 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22462 ac_sed_extra="$ac_vpsub
22463 $extrasub
22464 _ACEOF
22465 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22467 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22468 s|@configure_input@|$ac_sed_conf_input|;t t
22469 s&@top_builddir@&$ac_top_builddir_sub&;t t
22470 s&@top_build_prefix@&$ac_top_build_prefix&;t t
22471 s&@srcdir@&$ac_srcdir&;t t
22472 s&@abs_srcdir@&$ac_abs_srcdir&;t t
22473 s&@top_srcdir@&$ac_top_srcdir&;t t
22474 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
22475 s&@builddir@&$ac_builddir&;t t
22476 s&@abs_builddir@&$ac_abs_builddir&;t t
22477 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
22478 $ac_datarootdir_hack
22480 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
22481 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22483 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22484 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
22485 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
22486 "$ac_tmp/out"`; test -z "$ac_out"; } &&
22487 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22488 which seems to be undefined. Please make sure it is defined" >&5
22489 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22490 which seems to be undefined. Please make sure it is defined" >&2;}
22492 rm -f "$ac_tmp/stdin"
22493 case $ac_file in
22494 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
22495 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
22496 esac \
22497 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22501 # CONFIG_HEADER
22503 if test x"$ac_file" != x-; then
22505 $as_echo "/* $configure_input */" \
22506 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
22507 } >"$ac_tmp/config.h" \
22508 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22509 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
22510 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
22511 $as_echo "$as_me: $ac_file is unchanged" >&6;}
22512 else
22513 rm -f "$ac_file"
22514 mv "$ac_tmp/config.h" "$ac_file" \
22515 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22517 else
22518 $as_echo "/* $configure_input */" \
22519 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
22520 || as_fn_error $? "could not create -" "$LINENO" 5
22525 # CONFIG_LINK
22528 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
22530 else
22531 # Prefer the file from the source tree if names are identical.
22532 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
22533 ac_source=$srcdir/$ac_source
22536 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
22537 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
22539 if test ! -r "$ac_source"; then
22540 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
22542 rm -f "$ac_file"
22544 # Try a relative symlink, then a hard link, then a copy.
22545 case $ac_source in
22546 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
22547 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
22548 esac
22549 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
22550 ln "$ac_source" "$ac_file" 2>/dev/null ||
22551 cp -p "$ac_source" "$ac_file" ||
22552 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
22555 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
22556 $as_echo "$as_me: executing $ac_file commands" >&6;}
22558 esac
22561 case $ac_file$ac_mode in
22562 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
22563 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
22564 "Makefile":C) wine_fn_output_makefile Makefile ;;
22566 esac
22567 done # for ac_tag
22570 as_fn_exit 0
22571 _ACEOF
22572 ac_clean_files=$ac_clean_files_save
22574 test $ac_write_fail = 0 ||
22575 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
22578 # configure is writing to config.log, and then calls config.status.
22579 # config.status does its own redirection, appending to config.log.
22580 # Unfortunately, on DOS this fails, as config.log is still kept open
22581 # by configure, so config.status won't be able to write to it; its
22582 # output is simply discarded. So we exec the FD to /dev/null,
22583 # effectively closing config.log, so it can be properly (re)opened and
22584 # appended to by config.status. When coming back to configure, we
22585 # need to make the FD available again.
22586 if test "$no_create" != yes; then
22587 ac_cs_success=:
22588 ac_config_status_args=
22589 test "$silent" = yes &&
22590 ac_config_status_args="$ac_config_status_args --quiet"
22591 exec 5>/dev/null
22592 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22593 exec 5>>config.log
22594 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22595 # would make configure fail if this is the last instruction.
22596 $ac_cs_success || as_fn_exit 1
22598 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
22599 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22600 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
22604 if test "$no_create" = "yes"
22605 then
22606 exit 0
22609 ac_save_IFS="$IFS"
22610 if test "x$wine_notices" != x; then
22611 echo >&6
22612 IFS="|"
22613 for msg in $wine_notices; do
22614 IFS="$ac_save_IFS"
22615 if ${msg:+false} :; then :
22617 else
22618 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
22619 $as_echo "$as_me: $msg" >&6;}
22621 done
22623 IFS="|"
22624 for msg in $wine_warnings; do
22625 IFS="$ac_save_IFS"
22626 if ${msg:+false} :; then :
22628 else
22629 echo >&2
22630 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
22631 $as_echo "$as_me: WARNING: $msg" >&2;}
22633 done
22634 IFS="$ac_save_IFS"
22636 $as_echo "
22637 $as_me: Finished. Do '${ac_make}' to compile Wine.
22638 " >&6