libport: Move wine_utf8 functions back to libwine and make them obsolete.
[wine.git] / configure
blob9f23d268e8e1a3aceacfe93baa8904965e88a128
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 5.1.
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='5.1'
584 PACKAGE_STRING='Wine 5.1'
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 CROSSLDFLAGS
711 EXTRACROSSCFLAGS
712 CROSSCFLAGS
713 CROSSCC
714 CROSSTARGET
715 LIBWINE_DEPENDS
716 PRELINK
717 WINELOADER_DEPENDS
718 LIBWINE_LDFLAGS
719 LIBWINE_SHAREDLIB
720 METAL_LIBS
721 CARBON_LIBS
722 QUICKTIME_LIBS
723 OPENCL_LIBS
724 OPENAL_LIBS
725 COREAUDIO_LIBS
726 SECURITY_LIBS
727 DISKARBITRATION_LIBS
728 SYSTEMCONFIGURATION_LIBS
729 APPKIT_LIBS
730 CORESERVICES_LIBS
731 APPLICATIONSERVICES_LIBS
732 FORCEFEEDBACK_LIBS
733 IOKIT_LIBS
734 COREFOUNDATION_LIBS
735 OBJCPP
736 ac_ct_OBJC
737 OBJCFLAGS
738 OBJC
739 DLLTOOL
740 WINELOADER_PROGRAMS
741 CONFIGURE_TARGETS
742 DISABLED_SUBDIRS
743 SUBDIRS
744 READELF
745 OTOOL
747 WINEPRELOADER_LDFLAGS
748 WINELOADER_LDFLAGS
749 TOP_INSTALL_DEV
750 TOP_INSTALL_LIB
751 LDEXECFLAGS
752 LDDLLFLAGS
753 LDRPATH_LOCAL
754 LDRPATH_INSTALL
755 DLLFLAGS
757 OPENGL_LIBS
758 I386_LIBS
759 ICOTOOL
760 CONVERT
761 RSVG
762 FONTFORGE
763 PKG_CONFIG
764 MSGFMT
765 LDCONFIG
766 EGREP
767 GREP
768 LN_S
769 RANLIB
770 STRIP
771 ac_ct_AR
773 BISON
774 FLEX
775 TOOLSDIR
776 TARGETFLAGS
778 CPPBIN
779 ac_ct_CXX
780 CXXFLAGS
782 OBJEXT
783 EXEEXT
784 ac_ct_CC
785 CPPFLAGS
786 LDFLAGS
787 CFLAGS
789 SET_MAKE
790 host_os
791 host_vendor
792 host_cpu
793 host
794 build_os
795 build_vendor
796 build_cpu
797 build
798 target_alias
799 host_alias
800 build_alias
801 LIBS
802 ECHO_T
803 ECHO_N
804 ECHO_C
805 DEFS
806 mandir
807 localedir
808 libdir
809 psdir
810 pdfdir
811 dvidir
812 htmldir
813 infodir
814 docdir
815 oldincludedir
816 includedir
817 runstatedir
818 localstatedir
819 sharedstatedir
820 sysconfdir
821 datadir
822 datarootdir
823 libexecdir
824 sbindir
825 bindir
826 program_transform_name
827 prefix
828 exec_prefix
829 PACKAGE_URL
830 PACKAGE_BUGREPORT
831 PACKAGE_STRING
832 PACKAGE_VERSION
833 PACKAGE_TARNAME
834 PACKAGE_NAME
835 PATH_SEPARATOR
836 SHELL'
837 ac_subst_files=''
838 ac_user_opts='
839 enable_option_checking
840 enable_win16
841 enable_win64
842 enable_tests
843 enable_maintainer_mode
844 with_alsa
845 with_capi
846 with_cms
847 with_coreaudio
848 with_cups
849 with_curses
850 with_dbus
851 with_faudio
852 with_float_abi
853 with_fontconfig
854 with_freetype
855 with_gettext
856 with_gettextpo
857 with_gphoto
858 with_glu
859 with_gnutls
860 with_gsm
861 with_gssapi
862 with_gstreamer
863 with_hal
864 with_inotify
865 with_jpeg
866 with_krb5
867 with_ldap
868 with_mingw
869 with_mpg123
870 with_netapi
871 with_openal
872 with_opencl
873 with_opengl
874 with_osmesa
875 with_oss
876 with_pcap
877 with_png
878 with_pthread
879 with_pulse
880 with_sane
881 with_sdl
882 with_tiff
883 with_udev
884 with_unwind
885 with_v4l2
886 with_vkd3d
887 with_vulkan
888 with_xcomposite
889 with_xcursor
890 with_xfixes
891 with_xinerama
892 with_xinput
893 with_xinput2
894 with_xml
895 with_xrandr
896 with_xrender
897 with_xshape
898 with_xshm
899 with_xslt
900 with_xxf86vm
901 with_zlib
902 with_wine_tools
903 with_wine64
904 enable_largefile
905 with_x
906 enable_acledit
907 enable_aclui
908 enable_activeds
909 enable_actxprxy
910 enable_adsiid
911 enable_adsldp
912 enable_adsldpc
913 enable_advapi32
914 enable_advpack
915 enable_amsi
916 enable_amstream
917 enable_api_ms_win_appmodel_identity_l1_1_0
918 enable_api_ms_win_appmodel_runtime_l1_1_1
919 enable_api_ms_win_appmodel_runtime_l1_1_2
920 enable_api_ms_win_core_apiquery_l1_1_0
921 enable_api_ms_win_core_appcompat_l1_1_1
922 enable_api_ms_win_core_appinit_l1_1_0
923 enable_api_ms_win_core_atoms_l1_1_0
924 enable_api_ms_win_core_bem_l1_1_0
925 enable_api_ms_win_core_com_l1_1_0
926 enable_api_ms_win_core_com_l1_1_1
927 enable_api_ms_win_core_com_private_l1_1_0
928 enable_api_ms_win_core_comm_l1_1_0
929 enable_api_ms_win_core_console_l1_1_0
930 enable_api_ms_win_core_console_l2_1_0
931 enable_api_ms_win_core_crt_l1_1_0
932 enable_api_ms_win_core_crt_l2_1_0
933 enable_api_ms_win_core_datetime_l1_1_0
934 enable_api_ms_win_core_datetime_l1_1_1
935 enable_api_ms_win_core_debug_l1_1_0
936 enable_api_ms_win_core_debug_l1_1_1
937 enable_api_ms_win_core_delayload_l1_1_0
938 enable_api_ms_win_core_delayload_l1_1_1
939 enable_api_ms_win_core_errorhandling_l1_1_0
940 enable_api_ms_win_core_errorhandling_l1_1_1
941 enable_api_ms_win_core_errorhandling_l1_1_2
942 enable_api_ms_win_core_errorhandling_l1_1_3
943 enable_api_ms_win_core_fibers_l1_1_0
944 enable_api_ms_win_core_fibers_l1_1_1
945 enable_api_ms_win_core_file_l1_1_0
946 enable_api_ms_win_core_file_l1_2_0
947 enable_api_ms_win_core_file_l1_2_1
948 enable_api_ms_win_core_file_l1_2_2
949 enable_api_ms_win_core_file_l2_1_0
950 enable_api_ms_win_core_file_l2_1_1
951 enable_api_ms_win_core_file_l2_1_2
952 enable_api_ms_win_core_handle_l1_1_0
953 enable_api_ms_win_core_heap_l1_1_0
954 enable_api_ms_win_core_heap_l1_2_0
955 enable_api_ms_win_core_heap_l2_1_0
956 enable_api_ms_win_core_heap_obsolete_l1_1_0
957 enable_api_ms_win_core_interlocked_l1_1_0
958 enable_api_ms_win_core_interlocked_l1_2_0
959 enable_api_ms_win_core_io_l1_1_0
960 enable_api_ms_win_core_io_l1_1_1
961 enable_api_ms_win_core_job_l1_1_0
962 enable_api_ms_win_core_job_l2_1_0
963 enable_api_ms_win_core_kernel32_legacy_l1_1_0
964 enable_api_ms_win_core_kernel32_legacy_l1_1_1
965 enable_api_ms_win_core_kernel32_private_l1_1_1
966 enable_api_ms_win_core_largeinteger_l1_1_0
967 enable_api_ms_win_core_libraryloader_l1_1_0
968 enable_api_ms_win_core_libraryloader_l1_1_1
969 enable_api_ms_win_core_libraryloader_l1_2_0
970 enable_api_ms_win_core_libraryloader_l1_2_1
971 enable_api_ms_win_core_libraryloader_l1_2_2
972 enable_api_ms_win_core_localization_l1_1_0
973 enable_api_ms_win_core_localization_l1_2_0
974 enable_api_ms_win_core_localization_l1_2_1
975 enable_api_ms_win_core_localization_l2_1_0
976 enable_api_ms_win_core_localization_obsolete_l1_1_0
977 enable_api_ms_win_core_localization_obsolete_l1_2_0
978 enable_api_ms_win_core_localization_obsolete_l1_3_0
979 enable_api_ms_win_core_localization_private_l1_1_0
980 enable_api_ms_win_core_localregistry_l1_1_0
981 enable_api_ms_win_core_memory_l1_1_0
982 enable_api_ms_win_core_memory_l1_1_1
983 enable_api_ms_win_core_memory_l1_1_2
984 enable_api_ms_win_core_misc_l1_1_0
985 enable_api_ms_win_core_namedpipe_l1_1_0
986 enable_api_ms_win_core_namedpipe_l1_2_0
987 enable_api_ms_win_core_namespace_l1_1_0
988 enable_api_ms_win_core_normalization_l1_1_0
989 enable_api_ms_win_core_path_l1_1_0
990 enable_api_ms_win_core_privateprofile_l1_1_1
991 enable_api_ms_win_core_processenvironment_l1_1_0
992 enable_api_ms_win_core_processenvironment_l1_2_0
993 enable_api_ms_win_core_processthreads_l1_1_0
994 enable_api_ms_win_core_processthreads_l1_1_1
995 enable_api_ms_win_core_processthreads_l1_1_2
996 enable_api_ms_win_core_processthreads_l1_1_3
997 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
998 enable_api_ms_win_core_profile_l1_1_0
999 enable_api_ms_win_core_psapi_ansi_l1_1_0
1000 enable_api_ms_win_core_psapi_l1_1_0
1001 enable_api_ms_win_core_psapi_obsolete_l1_1_0
1002 enable_api_ms_win_core_quirks_l1_1_0
1003 enable_api_ms_win_core_realtime_l1_1_0
1004 enable_api_ms_win_core_registry_l1_1_0
1005 enable_api_ms_win_core_registry_l2_1_0
1006 enable_api_ms_win_core_registryuserspecific_l1_1_0
1007 enable_api_ms_win_core_rtlsupport_l1_1_0
1008 enable_api_ms_win_core_rtlsupport_l1_2_0
1009 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
1010 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
1011 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
1012 enable_api_ms_win_core_shutdown_l1_1_0
1013 enable_api_ms_win_core_sidebyside_l1_1_0
1014 enable_api_ms_win_core_string_l1_1_0
1015 enable_api_ms_win_core_string_l2_1_0
1016 enable_api_ms_win_core_string_obsolete_l1_1_0
1017 enable_api_ms_win_core_stringansi_l1_1_0
1018 enable_api_ms_win_core_stringloader_l1_1_1
1019 enable_api_ms_win_core_synch_ansi_l1_1_0
1020 enable_api_ms_win_core_synch_l1_1_0
1021 enable_api_ms_win_core_synch_l1_2_0
1022 enable_api_ms_win_core_synch_l1_2_1
1023 enable_api_ms_win_core_sysinfo_l1_1_0
1024 enable_api_ms_win_core_sysinfo_l1_2_0
1025 enable_api_ms_win_core_sysinfo_l1_2_1
1026 enable_api_ms_win_core_threadpool_l1_1_0
1027 enable_api_ms_win_core_threadpool_l1_2_0
1028 enable_api_ms_win_core_threadpool_legacy_l1_1_0
1029 enable_api_ms_win_core_threadpool_private_l1_1_0
1030 enable_api_ms_win_core_timezone_l1_1_0
1031 enable_api_ms_win_core_toolhelp_l1_1_0
1032 enable_api_ms_win_core_url_l1_1_0
1033 enable_api_ms_win_core_util_l1_1_0
1034 enable_api_ms_win_core_version_l1_1_0
1035 enable_api_ms_win_core_version_l1_1_1
1036 enable_api_ms_win_core_version_private_l1_1_0
1037 enable_api_ms_win_core_versionansi_l1_1_0
1038 enable_api_ms_win_core_windowserrorreporting_l1_1_0
1039 enable_api_ms_win_core_winrt_error_l1_1_0
1040 enable_api_ms_win_core_winrt_error_l1_1_1
1041 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
1042 enable_api_ms_win_core_winrt_l1_1_0
1043 enable_api_ms_win_core_winrt_registration_l1_1_0
1044 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
1045 enable_api_ms_win_core_winrt_string_l1_1_0
1046 enable_api_ms_win_core_winrt_string_l1_1_1
1047 enable_api_ms_win_core_wow64_l1_1_0
1048 enable_api_ms_win_core_wow64_l1_1_1
1049 enable_api_ms_win_core_xstate_l1_1_0
1050 enable_api_ms_win_core_xstate_l2_1_0
1051 enable_api_ms_win_crt_conio_l1_1_0
1052 enable_api_ms_win_crt_convert_l1_1_0
1053 enable_api_ms_win_crt_environment_l1_1_0
1054 enable_api_ms_win_crt_filesystem_l1_1_0
1055 enable_api_ms_win_crt_heap_l1_1_0
1056 enable_api_ms_win_crt_locale_l1_1_0
1057 enable_api_ms_win_crt_math_l1_1_0
1058 enable_api_ms_win_crt_multibyte_l1_1_0
1059 enable_api_ms_win_crt_private_l1_1_0
1060 enable_api_ms_win_crt_process_l1_1_0
1061 enable_api_ms_win_crt_runtime_l1_1_0
1062 enable_api_ms_win_crt_stdio_l1_1_0
1063 enable_api_ms_win_crt_string_l1_1_0
1064 enable_api_ms_win_crt_time_l1_1_0
1065 enable_api_ms_win_crt_utility_l1_1_0
1066 enable_api_ms_win_devices_config_l1_1_0
1067 enable_api_ms_win_devices_config_l1_1_1
1068 enable_api_ms_win_devices_query_l1_1_1
1069 enable_api_ms_win_downlevel_advapi32_l1_1_0
1070 enable_api_ms_win_downlevel_advapi32_l2_1_0
1071 enable_api_ms_win_downlevel_normaliz_l1_1_0
1072 enable_api_ms_win_downlevel_ole32_l1_1_0
1073 enable_api_ms_win_downlevel_shell32_l1_1_0
1074 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1075 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1076 enable_api_ms_win_downlevel_user32_l1_1_0
1077 enable_api_ms_win_downlevel_version_l1_1_0
1078 enable_api_ms_win_dx_d3dkmt_l1_1_0
1079 enable_api_ms_win_eventing_classicprovider_l1_1_0
1080 enable_api_ms_win_eventing_consumer_l1_1_0
1081 enable_api_ms_win_eventing_controller_l1_1_0
1082 enable_api_ms_win_eventing_legacy_l1_1_0
1083 enable_api_ms_win_eventing_provider_l1_1_0
1084 enable_api_ms_win_eventlog_legacy_l1_1_0
1085 enable_api_ms_win_gdi_dpiinfo_l1_1_0
1086 enable_api_ms_win_mm_joystick_l1_1_0
1087 enable_api_ms_win_mm_misc_l1_1_1
1088 enable_api_ms_win_mm_mme_l1_1_0
1089 enable_api_ms_win_mm_time_l1_1_0
1090 enable_api_ms_win_ntuser_dc_access_l1_1_0
1091 enable_api_ms_win_ntuser_rectangle_l1_1_0
1092 enable_api_ms_win_ntuser_sysparams_l1_1_0
1093 enable_api_ms_win_perf_legacy_l1_1_0
1094 enable_api_ms_win_power_base_l1_1_0
1095 enable_api_ms_win_power_setting_l1_1_0
1096 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
1097 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1098 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
1099 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
1100 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
1101 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
1102 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
1103 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1104 enable_api_ms_win_security_audit_l1_1_1
1105 enable_api_ms_win_security_base_l1_1_0
1106 enable_api_ms_win_security_base_l1_2_0
1107 enable_api_ms_win_security_base_private_l1_1_1
1108 enable_api_ms_win_security_credentials_l1_1_0
1109 enable_api_ms_win_security_cryptoapi_l1_1_0
1110 enable_api_ms_win_security_grouppolicy_l1_1_0
1111 enable_api_ms_win_security_lsalookup_l1_1_0
1112 enable_api_ms_win_security_lsalookup_l1_1_1
1113 enable_api_ms_win_security_lsalookup_l2_1_0
1114 enable_api_ms_win_security_lsalookup_l2_1_1
1115 enable_api_ms_win_security_lsapolicy_l1_1_0
1116 enable_api_ms_win_security_provider_l1_1_0
1117 enable_api_ms_win_security_sddl_l1_1_0
1118 enable_api_ms_win_security_systemfunctions_l1_1_0
1119 enable_api_ms_win_service_core_l1_1_0
1120 enable_api_ms_win_service_core_l1_1_1
1121 enable_api_ms_win_service_management_l1_1_0
1122 enable_api_ms_win_service_management_l2_1_0
1123 enable_api_ms_win_service_private_l1_1_1
1124 enable_api_ms_win_service_winsvc_l1_1_0
1125 enable_api_ms_win_service_winsvc_l1_2_0
1126 enable_api_ms_win_shcore_obsolete_l1_1_0
1127 enable_api_ms_win_shcore_scaling_l1_1_1
1128 enable_api_ms_win_shcore_stream_l1_1_0
1129 enable_api_ms_win_shcore_thread_l1_1_0
1130 enable_api_ms_win_shell_shellcom_l1_1_0
1131 enable_api_ms_win_shell_shellfolders_l1_1_0
1132 enable_apphelp
1133 enable_appwiz_cpl
1134 enable_atl
1135 enable_atl100
1136 enable_atl110
1137 enable_atl80
1138 enable_atl90
1139 enable_atlthunk
1140 enable_atmlib
1141 enable_authz
1142 enable_avicap32
1143 enable_avifil32
1144 enable_avrt
1145 enable_bcrypt
1146 enable_bluetoothapis
1147 enable_browseui
1148 enable_bthprops_cpl
1149 enable_cabinet
1150 enable_capi2032
1151 enable_cards
1152 enable_cdosys
1153 enable_cfgmgr32
1154 enable_clusapi
1155 enable_combase
1156 enable_comcat
1157 enable_comctl32
1158 enable_comdlg32
1159 enable_compstui
1160 enable_comsvcs
1161 enable_concrt140
1162 enable_connect
1163 enable_credui
1164 enable_crtdll
1165 enable_crypt32
1166 enable_cryptdlg
1167 enable_cryptdll
1168 enable_cryptext
1169 enable_cryptnet
1170 enable_cryptui
1171 enable_ctapi32
1172 enable_ctl3d32
1173 enable_d2d1
1174 enable_d3d10
1175 enable_d3d10_1
1176 enable_d3d10core
1177 enable_d3d11
1178 enable_d3d12
1179 enable_d3d8
1180 enable_d3d9
1181 enable_d3dcompiler_33
1182 enable_d3dcompiler_34
1183 enable_d3dcompiler_35
1184 enable_d3dcompiler_36
1185 enable_d3dcompiler_37
1186 enable_d3dcompiler_38
1187 enable_d3dcompiler_39
1188 enable_d3dcompiler_40
1189 enable_d3dcompiler_41
1190 enable_d3dcompiler_42
1191 enable_d3dcompiler_43
1192 enable_d3dcompiler_46
1193 enable_d3dcompiler_47
1194 enable_d3dim
1195 enable_d3drm
1196 enable_d3dx10_33
1197 enable_d3dx10_34
1198 enable_d3dx10_35
1199 enable_d3dx10_36
1200 enable_d3dx10_37
1201 enable_d3dx10_38
1202 enable_d3dx10_39
1203 enable_d3dx10_40
1204 enable_d3dx10_41
1205 enable_d3dx10_42
1206 enable_d3dx10_43
1207 enable_d3dx11_42
1208 enable_d3dx11_43
1209 enable_d3dx9_24
1210 enable_d3dx9_25
1211 enable_d3dx9_26
1212 enable_d3dx9_27
1213 enable_d3dx9_28
1214 enable_d3dx9_29
1215 enable_d3dx9_30
1216 enable_d3dx9_31
1217 enable_d3dx9_32
1218 enable_d3dx9_33
1219 enable_d3dx9_34
1220 enable_d3dx9_35
1221 enable_d3dx9_36
1222 enable_d3dx9_37
1223 enable_d3dx9_38
1224 enable_d3dx9_39
1225 enable_d3dx9_40
1226 enable_d3dx9_41
1227 enable_d3dx9_42
1228 enable_d3dx9_43
1229 enable_d3dxof
1230 enable_davclnt
1231 enable_dbgeng
1232 enable_dbghelp
1233 enable_dciman32
1234 enable_ddraw
1235 enable_ddrawex
1236 enable_devenum
1237 enable_dhcpcsvc
1238 enable_dhtmled_ocx
1239 enable_difxapi
1240 enable_dinput
1241 enable_dinput8
1242 enable_dispex
1243 enable_dmband
1244 enable_dmcompos
1245 enable_dmime
1246 enable_dmloader
1247 enable_dmoguids
1248 enable_dmscript
1249 enable_dmstyle
1250 enable_dmsynth
1251 enable_dmusic
1252 enable_dmusic32
1253 enable_dnsapi
1254 enable_dplay
1255 enable_dplayx
1256 enable_dpnaddr
1257 enable_dpnet
1258 enable_dpnhpast
1259 enable_dpnlobby
1260 enable_dpvoice
1261 enable_dpwsockx
1262 enable_drmclien
1263 enable_dsdmo
1264 enable_dsound
1265 enable_dsquery
1266 enable_dssenh
1267 enable_dswave
1268 enable_dwmapi
1269 enable_dwrite
1270 enable_dx8vb
1271 enable_dxdiagn
1272 enable_dxerr8
1273 enable_dxerr9
1274 enable_dxgi
1275 enable_dxguid
1276 enable_dxva2
1277 enable_esent
1278 enable_evr
1279 enable_explorerframe
1280 enable_ext_ms_win_authz_context_l1_1_0
1281 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1282 enable_ext_ms_win_dwmapi_ext_l1_1_0
1283 enable_ext_ms_win_gdi_dc_create_l1_1_0
1284 enable_ext_ms_win_gdi_dc_create_l1_1_1
1285 enable_ext_ms_win_gdi_dc_l1_2_0
1286 enable_ext_ms_win_gdi_devcaps_l1_1_0
1287 enable_ext_ms_win_gdi_draw_l1_1_0
1288 enable_ext_ms_win_gdi_draw_l1_1_1
1289 enable_ext_ms_win_gdi_font_l1_1_0
1290 enable_ext_ms_win_gdi_font_l1_1_1
1291 enable_ext_ms_win_gdi_render_l1_1_0
1292 enable_ext_ms_win_kernel32_package_current_l1_1_0
1293 enable_ext_ms_win_kernel32_package_l1_1_1
1294 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
1295 enable_ext_ms_win_ntuser_draw_l1_1_0
1296 enable_ext_ms_win_ntuser_gui_l1_1_0
1297 enable_ext_ms_win_ntuser_gui_l1_3_0
1298 enable_ext_ms_win_ntuser_keyboard_l1_3_0
1299 enable_ext_ms_win_ntuser_message_l1_1_0
1300 enable_ext_ms_win_ntuser_message_l1_1_1
1301 enable_ext_ms_win_ntuser_misc_l1_1_0
1302 enable_ext_ms_win_ntuser_misc_l1_2_0
1303 enable_ext_ms_win_ntuser_misc_l1_5_1
1304 enable_ext_ms_win_ntuser_mouse_l1_1_0
1305 enable_ext_ms_win_ntuser_private_l1_1_1
1306 enable_ext_ms_win_ntuser_private_l1_3_1
1307 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1308 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1309 enable_ext_ms_win_ntuser_window_l1_1_0
1310 enable_ext_ms_win_ntuser_window_l1_1_1
1311 enable_ext_ms_win_ntuser_window_l1_1_4
1312 enable_ext_ms_win_ntuser_windowclass_l1_1_0
1313 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1314 enable_ext_ms_win_oleacc_l1_1_0
1315 enable_ext_ms_win_ras_rasapi32_l1_1_0
1316 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
1317 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1318 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1319 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
1320 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1321 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1322 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
1323 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
1324 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
1325 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1326 enable_ext_ms_win_security_credui_l1_1_0
1327 enable_ext_ms_win_security_cryptui_l1_1_0
1328 enable_ext_ms_win_shell_comctl32_init_l1_1_0
1329 enable_ext_ms_win_shell_comdlg32_l1_1_0
1330 enable_ext_ms_win_shell_shell32_l1_2_0
1331 enable_ext_ms_win_uxtheme_themes_l1_1_0
1332 enable_faultrep
1333 enable_feclient
1334 enable_fltlib
1335 enable_fltmgr_sys
1336 enable_fntcache
1337 enable_fontsub
1338 enable_fusion
1339 enable_fwpuclnt
1340 enable_gameux
1341 enable_gdi32
1342 enable_gdiplus
1343 enable_glu32
1344 enable_gphoto2_ds
1345 enable_gpkcsp
1346 enable_hal
1347 enable_hhctrl_ocx
1348 enable_hid
1349 enable_hidclass_sys
1350 enable_hlink
1351 enable_hnetcfg
1352 enable_http_sys
1353 enable_httpapi
1354 enable_iccvid
1355 enable_icmp
1356 enable_ieframe
1357 enable_ieproxy
1358 enable_imaadp32_acm
1359 enable_imagehlp
1360 enable_imm32
1361 enable_inetcomm
1362 enable_inetcpl_cpl
1363 enable_inetmib1
1364 enable_infosoft
1365 enable_initpki
1366 enable_inkobj
1367 enable_inseng
1368 enable_iphlpapi
1369 enable_iprop
1370 enable_irprops_cpl
1371 enable_itircl
1372 enable_itss
1373 enable_joy_cpl
1374 enable_jscript
1375 enable_jsproxy
1376 enable_kerberos
1377 enable_kernel32
1378 enable_kernelbase
1379 enable_ksecdd_sys
1380 enable_ksuser
1381 enable_ktmw32
1382 enable_l3codeca_acm
1383 enable_loadperf
1384 enable_localspl
1385 enable_localui
1386 enable_lz32
1387 enable_mapi32
1388 enable_mapistub
1389 enable_mciavi32
1390 enable_mcicda
1391 enable_mciqtz32
1392 enable_mciseq
1393 enable_mciwave
1394 enable_mf
1395 enable_mf3216
1396 enable_mferror
1397 enable_mfmediaengine
1398 enable_mfplat
1399 enable_mfplay
1400 enable_mfreadwrite
1401 enable_mfuuid
1402 enable_mgmtapi
1403 enable_midimap
1404 enable_mlang
1405 enable_mmcndmgr
1406 enable_mmdevapi
1407 enable_mountmgr_sys
1408 enable_mp3dmod
1409 enable_mpr
1410 enable_mprapi
1411 enable_msacm32_drv
1412 enable_msacm32
1413 enable_msado15
1414 enable_msadp32_acm
1415 enable_msasn1
1416 enable_mscat32
1417 enable_mscms
1418 enable_mscoree
1419 enable_mscorwks
1420 enable_msctf
1421 enable_msctfp
1422 enable_msdaps
1423 enable_msdelta
1424 enable_msdmo
1425 enable_msdrm
1426 enable_msftedit
1427 enable_msg711_acm
1428 enable_msgsm32_acm
1429 enable_mshtml_tlb
1430 enable_mshtml
1431 enable_msi
1432 enable_msident
1433 enable_msimg32
1434 enable_msimsg
1435 enable_msimtf
1436 enable_msisip
1437 enable_msisys_ocx
1438 enable_msls31
1439 enable_msnet32
1440 enable_mspatcha
1441 enable_msports
1442 enable_msrle32
1443 enable_msscript_ocx
1444 enable_mssign32
1445 enable_mssip32
1446 enable_mstask
1447 enable_msvcirt
1448 enable_msvcm80
1449 enable_msvcm90
1450 enable_msvcp100
1451 enable_msvcp110
1452 enable_msvcp120
1453 enable_msvcp120_app
1454 enable_msvcp140
1455 enable_msvcp60
1456 enable_msvcp70
1457 enable_msvcp71
1458 enable_msvcp80
1459 enable_msvcp90
1460 enable_msvcr100
1461 enable_msvcr110
1462 enable_msvcr120
1463 enable_msvcr120_app
1464 enable_msvcr70
1465 enable_msvcr71
1466 enable_msvcr80
1467 enable_msvcr90
1468 enable_msvcrt
1469 enable_msvcrt20
1470 enable_msvcrt40
1471 enable_msvcrtd
1472 enable_msvfw32
1473 enable_msvidc32
1474 enable_mswsock
1475 enable_msxml
1476 enable_msxml2
1477 enable_msxml3
1478 enable_msxml4
1479 enable_msxml6
1480 enable_mtxdm
1481 enable_ncrypt
1482 enable_nddeapi
1483 enable_ndis_sys
1484 enable_netapi32
1485 enable_netcfgx
1486 enable_netprofm
1487 enable_newdev
1488 enable_ninput
1489 enable_normaliz
1490 enable_npmshtml
1491 enable_npptools
1492 enable_ntdll
1493 enable_ntdsapi
1494 enable_ntoskrnl_exe
1495 enable_ntprint
1496 enable_objsel
1497 enable_odbc32
1498 enable_odbcbcp
1499 enable_odbccp32
1500 enable_odbccu32
1501 enable_ole32
1502 enable_oleacc
1503 enable_oleaut32
1504 enable_olecli32
1505 enable_oledb32
1506 enable_oledlg
1507 enable_olepro32
1508 enable_olesvr32
1509 enable_olethk32
1510 enable_opcservices
1511 enable_openal32
1512 enable_opencl
1513 enable_opengl32
1514 enable_packager
1515 enable_pdh
1516 enable_photometadatahandler
1517 enable_pidgen
1518 enable_powrprof
1519 enable_printui
1520 enable_prntvpt
1521 enable_propsys
1522 enable_psapi
1523 enable_pstorec
1524 enable_qcap
1525 enable_qedit
1526 enable_qmgr
1527 enable_qmgrprxy
1528 enable_quartz
1529 enable_query
1530 enable_qwave
1531 enable_rasapi32
1532 enable_rasdlg
1533 enable_regapi
1534 enable_resutils
1535 enable_riched20
1536 enable_riched32
1537 enable_rpcrt4
1538 enable_rsabase
1539 enable_rsaenh
1540 enable_rstrtmgr
1541 enable_rtutils
1542 enable_rtworkq
1543 enable_samlib
1544 enable_sane_ds
1545 enable_sapi
1546 enable_sas
1547 enable_scarddlg
1548 enable_sccbase
1549 enable_schannel
1550 enable_schedsvc
1551 enable_scrobj
1552 enable_scrrun
1553 enable_scsiport_sys
1554 enable_secur32
1555 enable_security
1556 enable_sensapi
1557 enable_serialui
1558 enable_setupapi
1559 enable_sfc
1560 enable_sfc_os
1561 enable_shcore
1562 enable_shdoclc
1563 enable_shdocvw
1564 enable_shell32
1565 enable_shfolder
1566 enable_shlwapi
1567 enable_slbcsp
1568 enable_slc
1569 enable_snmpapi
1570 enable_softpub
1571 enable_spoolss
1572 enable_srclient
1573 enable_sspicli
1574 enable_stdole2_tlb
1575 enable_stdole32_tlb
1576 enable_sti
1577 enable_strmbase
1578 enable_strmdll
1579 enable_strmiids
1580 enable_svrapi
1581 enable_sxs
1582 enable_t2embed
1583 enable_tapi32
1584 enable_taskschd
1585 enable_tdh
1586 enable_tdi_sys
1587 enable_traffic
1588 enable_twain_32
1589 enable_tzres
1590 enable_ucrtbase
1591 enable_uianimation
1592 enable_uiautomationcore
1593 enable_uiribbon
1594 enable_unicows
1595 enable_updspapi
1596 enable_url
1597 enable_urlmon
1598 enable_usbd_sys
1599 enable_user32
1600 enable_userenv
1601 enable_usp10
1602 enable_utildll
1603 enable_uuid
1604 enable_uxtheme
1605 enable_vbscript
1606 enable_vcomp
1607 enable_vcomp100
1608 enable_vcomp110
1609 enable_vcomp120
1610 enable_vcomp140
1611 enable_vcomp90
1612 enable_vcruntime140
1613 enable_vcruntime140_1
1614 enable_vdmdbg
1615 enable_version
1616 enable_virtdisk
1617 enable_vssapi
1618 enable_vulkan_1
1619 enable_wbemdisp
1620 enable_wbemprox
1621 enable_wbemuuid
1622 enable_wdscore
1623 enable_webservices
1624 enable_wer
1625 enable_wevtapi
1626 enable_wiaservc
1627 enable_wimgapi
1628 enable_windowscodecs
1629 enable_windowscodecsext
1630 enable_winealsa_drv
1631 enable_wineandroid_drv
1632 enable_winebus_sys
1633 enable_winecoreaudio_drv
1634 enable_winecrt0
1635 enable_wined3d
1636 enable_winegstreamer
1637 enable_winehid_sys
1638 enable_winejoystick_drv
1639 enable_winemac_drv
1640 enable_winemapi
1641 enable_wineoss_drv
1642 enable_wineps_drv
1643 enable_winepulse_drv
1644 enable_wineqtdecoder
1645 enable_winevulkan
1646 enable_winex11_drv
1647 enable_wing32
1648 enable_winhttp
1649 enable_wininet
1650 enable_winmm
1651 enable_winnls32
1652 enable_winscard
1653 enable_winspool_drv
1654 enable_winsta
1655 enable_wintab32
1656 enable_wintrust
1657 enable_winusb
1658 enable_wlanapi
1659 enable_wlanui
1660 enable_wldap32
1661 enable_wmasf
1662 enable_wmcodecdspuuid
1663 enable_wmi
1664 enable_wmiutils
1665 enable_wmp
1666 enable_wmphoto
1667 enable_wmvcore
1668 enable_wnaspi32
1669 enable_wpc
1670 enable_wpcap
1671 enable_ws2_32
1672 enable_wsdapi
1673 enable_wshom_ocx
1674 enable_wsnmp32
1675 enable_wsock32
1676 enable_wtsapi32
1677 enable_wuapi
1678 enable_wuaueng
1679 enable_x3daudio1_0
1680 enable_x3daudio1_1
1681 enable_x3daudio1_2
1682 enable_x3daudio1_3
1683 enable_x3daudio1_4
1684 enable_x3daudio1_5
1685 enable_x3daudio1_6
1686 enable_x3daudio1_7
1687 enable_xapofx1_1
1688 enable_xapofx1_2
1689 enable_xapofx1_3
1690 enable_xapofx1_4
1691 enable_xapofx1_5
1692 enable_xaudio2_0
1693 enable_xaudio2_1
1694 enable_xaudio2_2
1695 enable_xaudio2_3
1696 enable_xaudio2_4
1697 enable_xaudio2_5
1698 enable_xaudio2_6
1699 enable_xaudio2_7
1700 enable_xaudio2_8
1701 enable_xaudio2_9
1702 enable_xinput1_1
1703 enable_xinput1_2
1704 enable_xinput1_3
1705 enable_xinput1_4
1706 enable_xinput9_1_0
1707 enable_xmllite
1708 enable_xolehlp
1709 enable_xpsprint
1710 enable_xpssvcs
1711 enable_fonts
1712 enable_include
1713 enable_port
1714 enable_wine
1715 enable_wpp
1716 enable_loader
1717 enable_po
1718 enable_arp
1719 enable_aspnet_regiis
1720 enable_attrib
1721 enable_cabarc
1722 enable_cacls
1723 enable_chcp_com
1724 enable_clock
1725 enable_cmd
1726 enable_conhost
1727 enable_control
1728 enable_cscript
1729 enable_dism
1730 enable_dpnsvr
1731 enable_dxdiag
1732 enable_eject
1733 enable_expand
1734 enable_explorer
1735 enable_extrac32
1736 enable_fc
1737 enable_find
1738 enable_findstr
1739 enable_fsutil
1740 enable_hh
1741 enable_hostname
1742 enable_icacls
1743 enable_icinfo
1744 enable_iexplore
1745 enable_ipconfig
1746 enable_lodctr
1747 enable_mofcomp
1748 enable_mshta
1749 enable_msidb
1750 enable_msiexec
1751 enable_msinfo32
1752 enable_net
1753 enable_netsh
1754 enable_netstat
1755 enable_ngen
1756 enable_notepad
1757 enable_oleview
1758 enable_ping
1759 enable_plugplay
1760 enable_powershell
1761 enable_presentationfontcache
1762 enable_progman
1763 enable_reg
1764 enable_regasm
1765 enable_regedit
1766 enable_regini
1767 enable_regsvcs
1768 enable_regsvr32
1769 enable_rpcss
1770 enable_rundll32
1771 enable_sc
1772 enable_schtasks
1773 enable_sdbinst
1774 enable_secedit
1775 enable_servicemodelreg
1776 enable_services
1777 enable_shutdown
1778 enable_spoolsv
1779 enable_start
1780 enable_subst
1781 enable_svchost
1782 enable_systeminfo
1783 enable_taskkill
1784 enable_tasklist
1785 enable_taskmgr
1786 enable_termsv
1787 enable_uninstaller
1788 enable_unlodctr
1789 enable_view
1790 enable_wevtutil
1791 enable_wineboot
1792 enable_winebrowser
1793 enable_winecfg
1794 enable_wineconsole
1795 enable_winedbg
1796 enable_winedevice
1797 enable_winefile
1798 enable_winemenubuilder
1799 enable_winemine
1800 enable_winemsibuilder
1801 enable_winepath
1802 enable_winetest
1803 enable_winhlp32
1804 enable_winmgmt
1805 enable_winver
1806 enable_wmic
1807 enable_wmplayer
1808 enable_wordpad
1809 enable_write
1810 enable_wscript
1811 enable_wuauserv
1812 enable_wusa
1813 enable_xcopy
1814 enable_server
1815 enable_tools
1816 enable_sfnt2fon
1817 enable_widl
1818 enable_winebuild
1819 enable_winedump
1820 enable_winegcc
1821 enable_winemaker
1822 enable_wmc
1823 enable_wrc
1825 ac_precious_vars='build_alias
1826 host_alias
1827 target_alias
1829 CFLAGS
1830 LDFLAGS
1831 LIBS
1832 CPPFLAGS
1834 CXXFLAGS
1837 OBJC
1838 OBJCFLAGS
1839 OBJCPP
1840 XMKMF
1841 XML2_CFLAGS
1842 XML2_LIBS
1843 XSLT_CFLAGS
1844 XSLT_LIBS
1845 INOTIFY_CFLAGS
1846 INOTIFY_LIBS
1847 DBUS_CFLAGS
1848 DBUS_LIBS
1849 HAL_CFLAGS
1850 HAL_LIBS
1851 GNUTLS_CFLAGS
1852 GNUTLS_LIBS
1853 SANE_CFLAGS
1854 SANE_LIBS
1855 GPHOTO2_CFLAGS
1856 GPHOTO2_LIBS
1857 GPHOTO2_PORT_CFLAGS
1858 GPHOTO2_PORT_LIBS
1859 LCMS2_CFLAGS
1860 LCMS2_LIBS
1861 FREETYPE_CFLAGS
1862 FREETYPE_LIBS
1863 Z_CFLAGS
1864 Z_LIBS
1865 PULSE_CFLAGS
1866 PULSE_LIBS
1867 GSTREAMER_CFLAGS
1868 GSTREAMER_LIBS
1869 UDEV_CFLAGS
1870 UDEV_LIBS
1871 UNWIND_CFLAGS
1872 UNWIND_LIBS
1873 SDL2_CFLAGS
1874 SDL2_LIBS
1875 FAUDIO_CFLAGS
1876 FAUDIO_LIBS
1877 CAPI20_CFLAGS
1878 CAPI20_LIBS
1879 CUPS_CFLAGS
1880 CUPS_LIBS
1881 FONTCONFIG_CFLAGS
1882 FONTCONFIG_LIBS
1883 KRB5_CFLAGS
1884 KRB5_LIBS
1885 GSSAPI_CFLAGS
1886 GSSAPI_LIBS
1887 JPEG_CFLAGS
1888 JPEG_LIBS
1889 PNG_CFLAGS
1890 PNG_LIBS
1891 TIFF_CFLAGS
1892 TIFF_LIBS
1893 MPG123_CFLAGS
1894 MPG123_LIBS
1895 NETAPI_CFLAGS
1896 NETAPI_LIBS
1897 VKD3D_CFLAGS
1898 VKD3D_LIBS
1899 LDAP_CFLAGS
1900 LDAP_LIBS'
1903 # Initialize some variables set by options.
1904 ac_init_help=
1905 ac_init_version=false
1906 ac_unrecognized_opts=
1907 ac_unrecognized_sep=
1908 # The variables have the same names as the options, with
1909 # dashes changed to underlines.
1910 cache_file=/dev/null
1911 exec_prefix=NONE
1912 no_create=
1913 no_recursion=
1914 prefix=NONE
1915 program_prefix=NONE
1916 program_suffix=NONE
1917 program_transform_name=s,x,x,
1918 silent=
1919 site=
1920 srcdir=
1921 verbose=
1922 x_includes=NONE
1923 x_libraries=NONE
1925 # Installation directory options.
1926 # These are left unexpanded so users can "make install exec_prefix=/foo"
1927 # and all the variables that are supposed to be based on exec_prefix
1928 # by default will actually change.
1929 # Use braces instead of parens because sh, perl, etc. also accept them.
1930 # (The list follows the same order as the GNU Coding Standards.)
1931 bindir='${exec_prefix}/bin'
1932 sbindir='${exec_prefix}/sbin'
1933 libexecdir='${exec_prefix}/libexec'
1934 datarootdir='${prefix}/share'
1935 datadir='${datarootdir}'
1936 sysconfdir='${prefix}/etc'
1937 sharedstatedir='${prefix}/com'
1938 localstatedir='${prefix}/var'
1939 runstatedir='${localstatedir}/run'
1940 includedir='${prefix}/include'
1941 oldincludedir='/usr/include'
1942 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1943 infodir='${datarootdir}/info'
1944 htmldir='${docdir}'
1945 dvidir='${docdir}'
1946 pdfdir='${docdir}'
1947 psdir='${docdir}'
1948 libdir='${exec_prefix}/lib'
1949 localedir='${datarootdir}/locale'
1950 mandir='${datarootdir}/man'
1952 ac_prev=
1953 ac_dashdash=
1954 for ac_option
1956 # If the previous option needs an argument, assign it.
1957 if test -n "$ac_prev"; then
1958 eval $ac_prev=\$ac_option
1959 ac_prev=
1960 continue
1963 case $ac_option in
1964 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1965 *=) ac_optarg= ;;
1966 *) ac_optarg=yes ;;
1967 esac
1969 # Accept the important Cygnus configure options, so we can diagnose typos.
1971 case $ac_dashdash$ac_option in
1973 ac_dashdash=yes ;;
1975 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1976 ac_prev=bindir ;;
1977 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1978 bindir=$ac_optarg ;;
1980 -build | --build | --buil | --bui | --bu)
1981 ac_prev=build_alias ;;
1982 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1983 build_alias=$ac_optarg ;;
1985 -cache-file | --cache-file | --cache-fil | --cache-fi \
1986 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1987 ac_prev=cache_file ;;
1988 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1989 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1990 cache_file=$ac_optarg ;;
1992 --config-cache | -C)
1993 cache_file=config.cache ;;
1995 -datadir | --datadir | --datadi | --datad)
1996 ac_prev=datadir ;;
1997 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1998 datadir=$ac_optarg ;;
2000 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
2001 | --dataroo | --dataro | --datar)
2002 ac_prev=datarootdir ;;
2003 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
2004 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
2005 datarootdir=$ac_optarg ;;
2007 -disable-* | --disable-*)
2008 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
2009 # Reject names that are not valid shell variable names.
2010 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2011 as_fn_error $? "invalid feature name: $ac_useropt"
2012 ac_useropt_orig=$ac_useropt
2013 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2014 case $ac_user_opts in
2016 "enable_$ac_useropt"
2017 "*) ;;
2018 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
2019 ac_unrecognized_sep=', ';;
2020 esac
2021 eval enable_$ac_useropt=no ;;
2023 -docdir | --docdir | --docdi | --doc | --do)
2024 ac_prev=docdir ;;
2025 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
2026 docdir=$ac_optarg ;;
2028 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
2029 ac_prev=dvidir ;;
2030 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
2031 dvidir=$ac_optarg ;;
2033 -enable-* | --enable-*)
2034 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
2035 # Reject names that are not valid shell variable names.
2036 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2037 as_fn_error $? "invalid feature name: $ac_useropt"
2038 ac_useropt_orig=$ac_useropt
2039 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2040 case $ac_user_opts in
2042 "enable_$ac_useropt"
2043 "*) ;;
2044 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
2045 ac_unrecognized_sep=', ';;
2046 esac
2047 eval enable_$ac_useropt=\$ac_optarg ;;
2049 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
2050 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
2051 | --exec | --exe | --ex)
2052 ac_prev=exec_prefix ;;
2053 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
2054 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
2055 | --exec=* | --exe=* | --ex=*)
2056 exec_prefix=$ac_optarg ;;
2058 -gas | --gas | --ga | --g)
2059 # Obsolete; use --with-gas.
2060 with_gas=yes ;;
2062 -help | --help | --hel | --he | -h)
2063 ac_init_help=long ;;
2064 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
2065 ac_init_help=recursive ;;
2066 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
2067 ac_init_help=short ;;
2069 -host | --host | --hos | --ho)
2070 ac_prev=host_alias ;;
2071 -host=* | --host=* | --hos=* | --ho=*)
2072 host_alias=$ac_optarg ;;
2074 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
2075 ac_prev=htmldir ;;
2076 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
2077 | --ht=*)
2078 htmldir=$ac_optarg ;;
2080 -includedir | --includedir | --includedi | --included | --include \
2081 | --includ | --inclu | --incl | --inc)
2082 ac_prev=includedir ;;
2083 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2084 | --includ=* | --inclu=* | --incl=* | --inc=*)
2085 includedir=$ac_optarg ;;
2087 -infodir | --infodir | --infodi | --infod | --info | --inf)
2088 ac_prev=infodir ;;
2089 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2090 infodir=$ac_optarg ;;
2092 -libdir | --libdir | --libdi | --libd)
2093 ac_prev=libdir ;;
2094 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2095 libdir=$ac_optarg ;;
2097 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2098 | --libexe | --libex | --libe)
2099 ac_prev=libexecdir ;;
2100 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2101 | --libexe=* | --libex=* | --libe=*)
2102 libexecdir=$ac_optarg ;;
2104 -localedir | --localedir | --localedi | --localed | --locale)
2105 ac_prev=localedir ;;
2106 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2107 localedir=$ac_optarg ;;
2109 -localstatedir | --localstatedir | --localstatedi | --localstated \
2110 | --localstate | --localstat | --localsta | --localst | --locals)
2111 ac_prev=localstatedir ;;
2112 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2113 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2114 localstatedir=$ac_optarg ;;
2116 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2117 ac_prev=mandir ;;
2118 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2119 mandir=$ac_optarg ;;
2121 -nfp | --nfp | --nf)
2122 # Obsolete; use --without-fp.
2123 with_fp=no ;;
2125 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2126 | --no-cr | --no-c | -n)
2127 no_create=yes ;;
2129 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2130 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2131 no_recursion=yes ;;
2133 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2134 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2135 | --oldin | --oldi | --old | --ol | --o)
2136 ac_prev=oldincludedir ;;
2137 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2138 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2139 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2140 oldincludedir=$ac_optarg ;;
2142 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2143 ac_prev=prefix ;;
2144 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2145 prefix=$ac_optarg ;;
2147 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2148 | --program-pre | --program-pr | --program-p)
2149 ac_prev=program_prefix ;;
2150 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2151 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2152 program_prefix=$ac_optarg ;;
2154 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2155 | --program-suf | --program-su | --program-s)
2156 ac_prev=program_suffix ;;
2157 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2158 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2159 program_suffix=$ac_optarg ;;
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 ac_prev=program_transform_name ;;
2169 -program-transform-name=* | --program-transform-name=* \
2170 | --program-transform-nam=* | --program-transform-na=* \
2171 | --program-transform-n=* | --program-transform-=* \
2172 | --program-transform=* | --program-transfor=* \
2173 | --program-transfo=* | --program-transf=* \
2174 | --program-trans=* | --program-tran=* \
2175 | --progr-tra=* | --program-tr=* | --program-t=*)
2176 program_transform_name=$ac_optarg ;;
2178 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2179 ac_prev=pdfdir ;;
2180 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2181 pdfdir=$ac_optarg ;;
2183 -psdir | --psdir | --psdi | --psd | --ps)
2184 ac_prev=psdir ;;
2185 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2186 psdir=$ac_optarg ;;
2188 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2189 | -silent | --silent | --silen | --sile | --sil)
2190 silent=yes ;;
2192 -runstatedir | --runstatedir | --runstatedi | --runstated \
2193 | --runstate | --runstat | --runsta | --runst | --runs \
2194 | --run | --ru | --r)
2195 ac_prev=runstatedir ;;
2196 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2197 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2198 | --run=* | --ru=* | --r=*)
2199 runstatedir=$ac_optarg ;;
2201 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2202 ac_prev=sbindir ;;
2203 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2204 | --sbi=* | --sb=*)
2205 sbindir=$ac_optarg ;;
2207 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2208 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2209 | --sharedst | --shareds | --shared | --share | --shar \
2210 | --sha | --sh)
2211 ac_prev=sharedstatedir ;;
2212 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2213 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2214 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2215 | --sha=* | --sh=*)
2216 sharedstatedir=$ac_optarg ;;
2218 -site | --site | --sit)
2219 ac_prev=site ;;
2220 -site=* | --site=* | --sit=*)
2221 site=$ac_optarg ;;
2223 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2224 ac_prev=srcdir ;;
2225 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2226 srcdir=$ac_optarg ;;
2228 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2229 | --syscon | --sysco | --sysc | --sys | --sy)
2230 ac_prev=sysconfdir ;;
2231 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2232 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2233 sysconfdir=$ac_optarg ;;
2235 -target | --target | --targe | --targ | --tar | --ta | --t)
2236 ac_prev=target_alias ;;
2237 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2238 target_alias=$ac_optarg ;;
2240 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2241 verbose=yes ;;
2243 -version | --version | --versio | --versi | --vers | -V)
2244 ac_init_version=: ;;
2246 -with-* | --with-*)
2247 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2248 # Reject names that are not valid shell variable names.
2249 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2250 as_fn_error $? "invalid package name: $ac_useropt"
2251 ac_useropt_orig=$ac_useropt
2252 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2253 case $ac_user_opts in
2255 "with_$ac_useropt"
2256 "*) ;;
2257 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2258 ac_unrecognized_sep=', ';;
2259 esac
2260 eval with_$ac_useropt=\$ac_optarg ;;
2262 -without-* | --without-*)
2263 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2264 # Reject names that are not valid shell variable names.
2265 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2266 as_fn_error $? "invalid package name: $ac_useropt"
2267 ac_useropt_orig=$ac_useropt
2268 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2269 case $ac_user_opts in
2271 "with_$ac_useropt"
2272 "*) ;;
2273 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2274 ac_unrecognized_sep=', ';;
2275 esac
2276 eval with_$ac_useropt=no ;;
2278 --x)
2279 # Obsolete; use --with-x.
2280 with_x=yes ;;
2282 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2283 | --x-incl | --x-inc | --x-in | --x-i)
2284 ac_prev=x_includes ;;
2285 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2286 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2287 x_includes=$ac_optarg ;;
2289 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2290 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2291 ac_prev=x_libraries ;;
2292 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2293 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2294 x_libraries=$ac_optarg ;;
2296 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2297 Try \`$0 --help' for more information"
2300 *=*)
2301 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2302 # Reject names that are not valid shell variable names.
2303 case $ac_envvar in #(
2304 '' | [0-9]* | *[!_$as_cr_alnum]* )
2305 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2306 esac
2307 eval $ac_envvar=\$ac_optarg
2308 export $ac_envvar ;;
2311 # FIXME: should be removed in autoconf 3.0.
2312 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2313 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2314 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2315 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2318 esac
2319 done
2321 if test -n "$ac_prev"; then
2322 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2323 as_fn_error $? "missing argument to $ac_option"
2326 if test -n "$ac_unrecognized_opts"; then
2327 case $enable_option_checking in
2328 no) ;;
2329 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2330 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2331 esac
2334 # Check all directory arguments for consistency.
2335 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2336 datadir sysconfdir sharedstatedir localstatedir includedir \
2337 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2338 libdir localedir mandir runstatedir
2340 eval ac_val=\$$ac_var
2341 # Remove trailing slashes.
2342 case $ac_val in
2343 */ )
2344 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2345 eval $ac_var=\$ac_val;;
2346 esac
2347 # Be sure to have absolute directory names.
2348 case $ac_val in
2349 [\\/$]* | ?:[\\/]* ) continue;;
2350 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2351 esac
2352 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2353 done
2355 # There might be people who depend on the old broken behavior: `$host'
2356 # used to hold the argument of --host etc.
2357 # FIXME: To remove some day.
2358 build=$build_alias
2359 host=$host_alias
2360 target=$target_alias
2362 # FIXME: To remove some day.
2363 if test "x$host_alias" != x; then
2364 if test "x$build_alias" = x; then
2365 cross_compiling=maybe
2366 elif test "x$build_alias" != "x$host_alias"; then
2367 cross_compiling=yes
2371 ac_tool_prefix=
2372 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2374 test "$silent" = yes && exec 6>/dev/null
2377 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2378 ac_ls_di=`ls -di .` &&
2379 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2380 as_fn_error $? "working directory cannot be determined"
2381 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2382 as_fn_error $? "pwd does not report name of working directory"
2385 # Find the source files, if location was not specified.
2386 if test -z "$srcdir"; then
2387 ac_srcdir_defaulted=yes
2388 # Try the directory containing this script, then the parent directory.
2389 ac_confdir=`$as_dirname -- "$as_myself" ||
2390 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2391 X"$as_myself" : 'X\(//\)[^/]' \| \
2392 X"$as_myself" : 'X\(//\)$' \| \
2393 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2394 $as_echo X"$as_myself" |
2395 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2396 s//\1/
2399 /^X\(\/\/\)[^/].*/{
2400 s//\1/
2403 /^X\(\/\/\)$/{
2404 s//\1/
2407 /^X\(\/\).*/{
2408 s//\1/
2411 s/.*/./; q'`
2412 srcdir=$ac_confdir
2413 if test ! -r "$srcdir/$ac_unique_file"; then
2414 srcdir=..
2416 else
2417 ac_srcdir_defaulted=no
2419 if test ! -r "$srcdir/$ac_unique_file"; then
2420 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2421 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2423 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2424 ac_abs_confdir=`(
2425 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2426 pwd)`
2427 # When building in place, set srcdir=.
2428 if test "$ac_abs_confdir" = "$ac_pwd"; then
2429 srcdir=.
2431 # Remove unnecessary trailing slashes from srcdir.
2432 # Double slashes in file names in object file debugging info
2433 # mess up M-x gdb in Emacs.
2434 case $srcdir in
2435 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2436 esac
2437 for ac_var in $ac_precious_vars; do
2438 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2439 eval ac_env_${ac_var}_value=\$${ac_var}
2440 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2441 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2442 done
2445 # Report the --help message.
2447 if test "$ac_init_help" = "long"; then
2448 # Omit some internal or obsolete options to make the list less imposing.
2449 # This message is too long to be a string in the A/UX 3.1 sh.
2450 cat <<_ACEOF
2451 \`configure' configures Wine 5.1 to adapt to many kinds of systems.
2453 Usage: $0 [OPTION]... [VAR=VALUE]...
2455 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2456 VAR=VALUE. See below for descriptions of some of the useful variables.
2458 Defaults for the options are specified in brackets.
2460 Configuration:
2461 -h, --help display this help and exit
2462 --help=short display options specific to this package
2463 --help=recursive display the short help of all the included packages
2464 -V, --version display version information and exit
2465 -q, --quiet, --silent do not print \`checking ...' messages
2466 --cache-file=FILE cache test results in FILE [disabled]
2467 -C, --config-cache alias for \`--cache-file=config.cache'
2468 -n, --no-create do not create output files
2469 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2471 Installation directories:
2472 --prefix=PREFIX install architecture-independent files in PREFIX
2473 [$ac_default_prefix]
2474 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2475 [PREFIX]
2477 By default, \`make install' will install all the files in
2478 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2479 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2480 for instance \`--prefix=\$HOME'.
2482 For better control, use the options below.
2484 Fine tuning of the installation directories:
2485 --bindir=DIR user executables [EPREFIX/bin]
2486 --sbindir=DIR system admin executables [EPREFIX/sbin]
2487 --libexecdir=DIR program executables [EPREFIX/libexec]
2488 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2489 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2490 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2491 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2492 --libdir=DIR object code libraries [EPREFIX/lib]
2493 --includedir=DIR C header files [PREFIX/include]
2494 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2495 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2496 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2497 --infodir=DIR info documentation [DATAROOTDIR/info]
2498 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2499 --mandir=DIR man documentation [DATAROOTDIR/man]
2500 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2501 --htmldir=DIR html documentation [DOCDIR]
2502 --dvidir=DIR dvi documentation [DOCDIR]
2503 --pdfdir=DIR pdf documentation [DOCDIR]
2504 --psdir=DIR ps documentation [DOCDIR]
2505 _ACEOF
2507 cat <<\_ACEOF
2509 X features:
2510 --x-includes=DIR X include files are in DIR
2511 --x-libraries=DIR X library files are in DIR
2513 System types:
2514 --build=BUILD configure for building on BUILD [guessed]
2515 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2516 _ACEOF
2519 if test -n "$ac_init_help"; then
2520 case $ac_init_help in
2521 short | recursive ) echo "Configuration of Wine 5.1:";;
2522 esac
2523 cat <<\_ACEOF
2525 Optional Features:
2526 --disable-option-checking ignore unrecognized --enable/--with options
2527 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2528 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2529 --disable-win16 do not include Win16 support
2530 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2531 binaries)
2532 --disable-tests do not build the regression tests
2533 --enable-maintainer-mode
2534 enable maintainer-specific build rules
2535 --disable-largefile omit support for large files
2537 Optional Packages:
2538 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2539 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2540 --without-alsa do not use the Alsa sound support
2541 --without-capi do not use CAPI (ISDN support)
2542 --without-cms do not use CMS (color management support)
2543 --without-coreaudio do not use the CoreAudio sound support
2544 --without-cups do not use CUPS
2545 --without-curses do not use (n)curses
2546 --without-dbus do not use DBus (dynamic device support)
2547 --without-faudio do not use FAudio (XAudio2 support)
2548 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2549 --without-fontconfig do not use fontconfig
2550 --without-freetype do not use the FreeType library
2551 --without-gettext do not use gettext
2552 --with-gettextpo use the GetTextPO library to rebuild po files
2553 --without-gphoto do not use gphoto (Digital Camera support)
2554 --without-glu do not use the GLU library
2555 --without-gnutls do not use GnuTLS (schannel support)
2556 --without-gsm do not use libgsm (GSM 06.10 codec support)
2557 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2558 --without-gstreamer do not use GStreamer (codecs support)
2559 --without-hal do not use HAL (dynamic device support)
2560 --without-inotify do not use inotify (filesystem change notifications)
2561 --without-jpeg do not use JPEG
2562 --without-krb5 do not use krb5 (Kerberos)
2563 --without-ldap do not use LDAP
2564 --without-mingw do not use the MinGW cross-compiler
2565 --without-mpg123 do not use the mpg123 library
2566 --without-netapi do not use the Samba NetAPI library
2567 --without-openal do not use OpenAL
2568 --without-opencl do not use OpenCL
2569 --without-opengl do not use OpenGL
2570 --without-osmesa do not use the OSMesa library
2571 --without-oss do not use the OSS sound support
2572 --without-pcap do not use the Packet Capture library
2573 --without-png do not use PNG
2574 --without-pthread do not use the pthread library
2575 --without-pulse do not use PulseAudio sound support
2576 --without-sane do not use SANE (scanner support)
2577 --without-sdl do not use SDL
2578 --without-tiff do not use TIFF
2579 --without-udev do not use udev (plug and play support)
2580 --without-unwind do not use the libunwind library (exception
2581 handling)
2582 --without-v4l2 do not use v4l2 (video capture)
2583 --without-vkd3d do not use vkd3d (Direct3D 12 support)
2584 --without-vulkan do not use Vulkan
2585 --without-xcomposite do not use the Xcomposite extension
2586 --without-xcursor do not use the Xcursor extension
2587 --without-xfixes do not use Xfixes for clipboard change notifications
2588 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2589 --without-xinput do not use the Xinput extension
2590 --without-xinput2 do not use the Xinput 2 extension
2591 --without-xml do not use XML
2592 --without-xrandr do not use Xrandr (multi-monitor support)
2593 --without-xrender do not use the Xrender extension
2594 --without-xshape do not use the Xshape extension
2595 --without-xshm do not use XShm (shared memory extension)
2596 --without-xslt do not use XSLT
2597 --without-xxf86vm do not use XFree video mode extension
2598 --without-zlib do not use Zlib (data compression)
2599 --with-wine-tools=DIR use Wine tools from directory DIR
2600 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2601 --with-x use the X Window System
2603 Some influential environment variables:
2604 CC C compiler command
2605 CFLAGS C compiler flags
2606 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2607 nonstandard directory <lib dir>
2608 LIBS libraries to pass to the linker, e.g. -l<library>
2609 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2610 you have headers in a nonstandard directory <include dir>
2611 CXX C++ compiler command
2612 CXXFLAGS C++ compiler flags
2613 CPP C preprocessor
2614 OBJC Objective C compiler command
2615 OBJCFLAGS Objective C compiler flags
2616 OBJCPP Objective C preprocessor
2617 XMKMF Path to xmkmf, Makefile generator for X Window System
2618 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2619 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2620 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2621 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2622 INOTIFY_CFLAGS
2623 C compiler flags for libinotify, overriding pkg-config
2624 INOTIFY_LIBS
2625 Linker flags for libinotify, overriding pkg-config
2626 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2627 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2628 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2629 HAL_LIBS Linker flags for hal, overriding pkg-config
2630 GNUTLS_CFLAGS
2631 C compiler flags for gnutls, overriding pkg-config
2632 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2633 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2634 SANE_LIBS Linker flags for libsane, overriding pkg-config
2635 GPHOTO2_CFLAGS
2636 C compiler flags for libgphoto2, overriding pkg-config
2637 GPHOTO2_LIBS
2638 Linker flags for libgphoto2, overriding pkg-config
2639 GPHOTO2_PORT_CFLAGS
2640 C compiler flags for libgphoto2_port, overriding pkg-config
2641 GPHOTO2_PORT_LIBS
2642 Linker flags for libgphoto2_port, overriding pkg-config
2643 LCMS2_CFLAGS
2644 C compiler flags for lcms2, overriding pkg-config
2645 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2646 FREETYPE_CFLAGS
2647 C compiler flags for freetype2, overriding pkg-config
2648 FREETYPE_LIBS
2649 Linker flags for freetype2, overriding pkg-config
2650 Z_CFLAGS C compiler flags for libz, overriding pkg-config
2651 Z_LIBS Linker flags for libz, overriding pkg-config
2652 PULSE_CFLAGS
2653 C compiler flags for libpulse, overriding pkg-config
2654 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2655 GSTREAMER_CFLAGS
2656 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2657 gstreamer-audio-1.0, overriding pkg-config
2658 GSTREAMER_LIBS
2659 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2660 gstreamer-audio-1.0, overriding pkg-config
2661 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2662 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2663 UNWIND_CFLAGS
2664 C compiler flags for libunwind, overriding pkg-config
2665 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2666 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2667 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2668 FAUDIO_CFLAGS
2669 C compiler flags for faudio, overriding pkg-config
2670 FAUDIO_LIBS Linker flags for faudio, overriding pkg-config
2671 CAPI20_CFLAGS
2672 C compiler flags for capi20, overriding pkg-config
2673 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2674 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2675 CUPS_LIBS Linker flags for cups, overriding pkg-config
2676 FONTCONFIG_CFLAGS
2677 C compiler flags for fontconfig, overriding pkg-config
2678 FONTCONFIG_LIBS
2679 Linker flags for fontconfig, overriding pkg-config
2680 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2681 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2682 GSSAPI_CFLAGS
2683 C compiler flags for krb5-gssapi, overriding pkg-config
2684 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2685 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2686 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2687 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2688 PNG_LIBS Linker flags for libpng, overriding pkg-config
2689 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2690 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2691 MPG123_CFLAGS
2692 C compiler flags for libmpg123, overriding pkg-config
2693 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2694 NETAPI_CFLAGS
2695 C compiler flags for netapi, overriding pkg-config
2696 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2697 VKD3D_CFLAGS
2698 C compiler flags for libvkd3d, overriding pkg-config
2699 VKD3D_LIBS Linker flags for libvkd3d, overriding pkg-config
2700 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2701 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2703 Use these variables to override the choices made by `configure' or to help
2704 it to find libraries and programs with nonstandard names/locations.
2706 Report bugs to <wine-devel@winehq.org>.
2707 Wine home page: <https://www.winehq.org>.
2708 _ACEOF
2709 ac_status=$?
2712 if test "$ac_init_help" = "recursive"; then
2713 # If there are subdirs, report their specific --help.
2714 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2715 test -d "$ac_dir" ||
2716 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2717 continue
2718 ac_builddir=.
2720 case "$ac_dir" in
2721 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2723 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2724 # A ".." for each directory in $ac_dir_suffix.
2725 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2726 case $ac_top_builddir_sub in
2727 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2728 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2729 esac ;;
2730 esac
2731 ac_abs_top_builddir=$ac_pwd
2732 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2733 # for backward compatibility:
2734 ac_top_builddir=$ac_top_build_prefix
2736 case $srcdir in
2737 .) # We are building in place.
2738 ac_srcdir=.
2739 ac_top_srcdir=$ac_top_builddir_sub
2740 ac_abs_top_srcdir=$ac_pwd ;;
2741 [\\/]* | ?:[\\/]* ) # Absolute name.
2742 ac_srcdir=$srcdir$ac_dir_suffix;
2743 ac_top_srcdir=$srcdir
2744 ac_abs_top_srcdir=$srcdir ;;
2745 *) # Relative name.
2746 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2747 ac_top_srcdir=$ac_top_build_prefix$srcdir
2748 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2749 esac
2750 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2752 cd "$ac_dir" || { ac_status=$?; continue; }
2753 # Check for guested configure.
2754 if test -f "$ac_srcdir/configure.gnu"; then
2755 echo &&
2756 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2757 elif test -f "$ac_srcdir/configure"; then
2758 echo &&
2759 $SHELL "$ac_srcdir/configure" --help=recursive
2760 else
2761 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2762 fi || ac_status=$?
2763 cd "$ac_pwd" || { ac_status=$?; break; }
2764 done
2767 test -n "$ac_init_help" && exit $ac_status
2768 if $ac_init_version; then
2769 cat <<\_ACEOF
2770 Wine configure 5.1
2771 generated by GNU Autoconf 2.69
2773 Copyright (C) 2012 Free Software Foundation, Inc.
2774 This configure script is free software; the Free Software Foundation
2775 gives unlimited permission to copy, distribute and modify it.
2776 _ACEOF
2777 exit
2780 ## ------------------------ ##
2781 ## Autoconf initialization. ##
2782 ## ------------------------ ##
2784 # ac_fn_c_try_compile LINENO
2785 # --------------------------
2786 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2787 ac_fn_c_try_compile ()
2789 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2790 rm -f conftest.$ac_objext
2791 if { { ac_try="$ac_compile"
2792 case "(($ac_try" in
2793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2794 *) ac_try_echo=$ac_try;;
2795 esac
2796 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2797 $as_echo "$ac_try_echo"; } >&5
2798 (eval "$ac_compile") 2>conftest.err
2799 ac_status=$?
2800 if test -s conftest.err; then
2801 grep -v '^ *+' conftest.err >conftest.er1
2802 cat conftest.er1 >&5
2803 mv -f conftest.er1 conftest.err
2805 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2806 test $ac_status = 0; } && {
2807 test -z "$ac_c_werror_flag" ||
2808 test ! -s conftest.err
2809 } && test -s conftest.$ac_objext; then :
2810 ac_retval=0
2811 else
2812 $as_echo "$as_me: failed program was:" >&5
2813 sed 's/^/| /' conftest.$ac_ext >&5
2815 ac_retval=1
2817 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2818 as_fn_set_status $ac_retval
2820 } # ac_fn_c_try_compile
2822 # ac_fn_cxx_try_compile LINENO
2823 # ----------------------------
2824 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2825 ac_fn_cxx_try_compile ()
2827 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2828 rm -f conftest.$ac_objext
2829 if { { ac_try="$ac_compile"
2830 case "(($ac_try" in
2831 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2832 *) ac_try_echo=$ac_try;;
2833 esac
2834 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2835 $as_echo "$ac_try_echo"; } >&5
2836 (eval "$ac_compile") 2>conftest.err
2837 ac_status=$?
2838 if test -s conftest.err; then
2839 grep -v '^ *+' conftest.err >conftest.er1
2840 cat conftest.er1 >&5
2841 mv -f conftest.er1 conftest.err
2843 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2844 test $ac_status = 0; } && {
2845 test -z "$ac_cxx_werror_flag" ||
2846 test ! -s conftest.err
2847 } && test -s conftest.$ac_objext; then :
2848 ac_retval=0
2849 else
2850 $as_echo "$as_me: failed program was:" >&5
2851 sed 's/^/| /' conftest.$ac_ext >&5
2853 ac_retval=1
2855 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2856 as_fn_set_status $ac_retval
2858 } # ac_fn_cxx_try_compile
2860 # ac_fn_c_try_link LINENO
2861 # -----------------------
2862 # Try to link conftest.$ac_ext, and return whether this succeeded.
2863 ac_fn_c_try_link ()
2865 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2866 rm -f conftest.$ac_objext conftest$ac_exeext
2867 if { { ac_try="$ac_link"
2868 case "(($ac_try" in
2869 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2870 *) ac_try_echo=$ac_try;;
2871 esac
2872 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2873 $as_echo "$ac_try_echo"; } >&5
2874 (eval "$ac_link") 2>conftest.err
2875 ac_status=$?
2876 if test -s conftest.err; then
2877 grep -v '^ *+' conftest.err >conftest.er1
2878 cat conftest.er1 >&5
2879 mv -f conftest.er1 conftest.err
2881 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2882 test $ac_status = 0; } && {
2883 test -z "$ac_c_werror_flag" ||
2884 test ! -s conftest.err
2885 } && test -s conftest$ac_exeext && {
2886 test "$cross_compiling" = yes ||
2887 test -x conftest$ac_exeext
2888 }; then :
2889 ac_retval=0
2890 else
2891 $as_echo "$as_me: failed program was:" >&5
2892 sed 's/^/| /' conftest.$ac_ext >&5
2894 ac_retval=1
2896 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2897 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2898 # interfere with the next link command; also delete a directory that is
2899 # left behind by Apple's compiler. We do this before executing the actions.
2900 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2901 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2902 as_fn_set_status $ac_retval
2904 } # ac_fn_c_try_link
2906 # ac_fn_c_try_cpp LINENO
2907 # ----------------------
2908 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2909 ac_fn_c_try_cpp ()
2911 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2912 if { { ac_try="$ac_cpp conftest.$ac_ext"
2913 case "(($ac_try" in
2914 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2915 *) ac_try_echo=$ac_try;;
2916 esac
2917 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2918 $as_echo "$ac_try_echo"; } >&5
2919 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2920 ac_status=$?
2921 if test -s conftest.err; then
2922 grep -v '^ *+' conftest.err >conftest.er1
2923 cat conftest.er1 >&5
2924 mv -f conftest.er1 conftest.err
2926 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2927 test $ac_status = 0; } > conftest.i && {
2928 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2929 test ! -s conftest.err
2930 }; then :
2931 ac_retval=0
2932 else
2933 $as_echo "$as_me: failed program was:" >&5
2934 sed 's/^/| /' conftest.$ac_ext >&5
2936 ac_retval=1
2938 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2939 as_fn_set_status $ac_retval
2941 } # ac_fn_c_try_cpp
2943 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2944 # -------------------------------------------------------
2945 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2946 # the include files in INCLUDES and setting the cache variable VAR
2947 # accordingly.
2948 ac_fn_c_check_header_mongrel ()
2950 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2951 if eval \${$3+:} false; then :
2952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2953 $as_echo_n "checking for $2... " >&6; }
2954 if eval \${$3+:} false; then :
2955 $as_echo_n "(cached) " >&6
2957 eval ac_res=\$$3
2958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2959 $as_echo "$ac_res" >&6; }
2960 else
2961 # Is the header compilable?
2962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2963 $as_echo_n "checking $2 usability... " >&6; }
2964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2965 /* end confdefs.h. */
2967 #include <$2>
2968 _ACEOF
2969 if ac_fn_c_try_compile "$LINENO"; then :
2970 ac_header_compiler=yes
2971 else
2972 ac_header_compiler=no
2974 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2976 $as_echo "$ac_header_compiler" >&6; }
2978 # Is the header present?
2979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2980 $as_echo_n "checking $2 presence... " >&6; }
2981 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2982 /* end confdefs.h. */
2983 #include <$2>
2984 _ACEOF
2985 if ac_fn_c_try_cpp "$LINENO"; then :
2986 ac_header_preproc=yes
2987 else
2988 ac_header_preproc=no
2990 rm -f conftest.err conftest.i conftest.$ac_ext
2991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2992 $as_echo "$ac_header_preproc" >&6; }
2994 # So? What about this header?
2995 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2996 yes:no: )
2997 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2998 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2999 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3000 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3002 no:yes:* )
3003 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3004 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3005 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3006 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3007 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3008 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3009 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3010 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3011 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3012 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3013 ( $as_echo "## ------------------------------------ ##
3014 ## Report this to wine-devel@winehq.org ##
3015 ## ------------------------------------ ##"
3016 ) | sed "s/^/$as_me: WARNING: /" >&2
3018 esac
3019 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3020 $as_echo_n "checking for $2... " >&6; }
3021 if eval \${$3+:} false; then :
3022 $as_echo_n "(cached) " >&6
3023 else
3024 eval "$3=\$ac_header_compiler"
3026 eval ac_res=\$$3
3027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3028 $as_echo "$ac_res" >&6; }
3030 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3032 } # ac_fn_c_check_header_mongrel
3034 # ac_fn_c_try_run LINENO
3035 # ----------------------
3036 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
3037 # that executables *can* be run.
3038 ac_fn_c_try_run ()
3040 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3041 if { { ac_try="$ac_link"
3042 case "(($ac_try" in
3043 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3044 *) ac_try_echo=$ac_try;;
3045 esac
3046 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3047 $as_echo "$ac_try_echo"; } >&5
3048 (eval "$ac_link") 2>&5
3049 ac_status=$?
3050 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3051 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
3052 { { case "(($ac_try" in
3053 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3054 *) ac_try_echo=$ac_try;;
3055 esac
3056 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3057 $as_echo "$ac_try_echo"; } >&5
3058 (eval "$ac_try") 2>&5
3059 ac_status=$?
3060 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3061 test $ac_status = 0; }; }; then :
3062 ac_retval=0
3063 else
3064 $as_echo "$as_me: program exited with status $ac_status" >&5
3065 $as_echo "$as_me: failed program was:" >&5
3066 sed 's/^/| /' conftest.$ac_ext >&5
3068 ac_retval=$ac_status
3070 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3071 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3072 as_fn_set_status $ac_retval
3074 } # ac_fn_c_try_run
3076 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
3077 # -------------------------------------------------------
3078 # Tests whether HEADER exists and can be compiled using the include files in
3079 # INCLUDES, setting the cache variable VAR accordingly.
3080 ac_fn_c_check_header_compile ()
3082 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3083 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3084 $as_echo_n "checking for $2... " >&6; }
3085 if eval \${$3+:} false; then :
3086 $as_echo_n "(cached) " >&6
3087 else
3088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3089 /* end confdefs.h. */
3091 #include <$2>
3092 _ACEOF
3093 if ac_fn_c_try_compile "$LINENO"; then :
3094 eval "$3=yes"
3095 else
3096 eval "$3=no"
3098 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3100 eval ac_res=\$$3
3101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3102 $as_echo "$ac_res" >&6; }
3103 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3105 } # ac_fn_c_check_header_compile
3107 # ac_fn_objc_try_compile LINENO
3108 # -----------------------------
3109 # Try to compile conftest.$ac_ext, and return whether this succeeded.
3110 ac_fn_objc_try_compile ()
3112 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3113 rm -f conftest.$ac_objext
3114 if { { ac_try="$ac_compile"
3115 case "(($ac_try" in
3116 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3117 *) ac_try_echo=$ac_try;;
3118 esac
3119 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3120 $as_echo "$ac_try_echo"; } >&5
3121 (eval "$ac_compile") 2>conftest.err
3122 ac_status=$?
3123 if test -s conftest.err; then
3124 grep -v '^ *+' conftest.err >conftest.er1
3125 cat conftest.er1 >&5
3126 mv -f conftest.er1 conftest.err
3128 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3129 test $ac_status = 0; } && {
3130 test -z "$ac_objc_werror_flag" ||
3131 test ! -s conftest.err
3132 } && test -s conftest.$ac_objext; then :
3133 ac_retval=0
3134 else
3135 $as_echo "$as_me: failed program was:" >&5
3136 sed 's/^/| /' conftest.$ac_ext >&5
3138 ac_retval=1
3140 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3141 as_fn_set_status $ac_retval
3143 } # ac_fn_objc_try_compile
3145 # ac_fn_objc_try_cpp LINENO
3146 # -------------------------
3147 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3148 ac_fn_objc_try_cpp ()
3150 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3151 if { { ac_try="$ac_cpp conftest.$ac_ext"
3152 case "(($ac_try" in
3153 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3154 *) ac_try_echo=$ac_try;;
3155 esac
3156 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3157 $as_echo "$ac_try_echo"; } >&5
3158 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3159 ac_status=$?
3160 if test -s conftest.err; then
3161 grep -v '^ *+' conftest.err >conftest.er1
3162 cat conftest.er1 >&5
3163 mv -f conftest.er1 conftest.err
3165 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3166 test $ac_status = 0; } > conftest.i && {
3167 test -z "$ac_objc_preproc_warn_flag$ac_objc_werror_flag" ||
3168 test ! -s conftest.err
3169 }; then :
3170 ac_retval=0
3171 else
3172 $as_echo "$as_me: failed program was:" >&5
3173 sed 's/^/| /' conftest.$ac_ext >&5
3175 ac_retval=1
3177 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3178 as_fn_set_status $ac_retval
3180 } # ac_fn_objc_try_cpp
3182 # ac_fn_objc_check_header_mongrel LINENO HEADER VAR INCLUDES
3183 # ----------------------------------------------------------
3184 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3185 # the include files in INCLUDES and setting the cache variable VAR
3186 # accordingly.
3187 ac_fn_objc_check_header_mongrel ()
3189 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3190 if eval \${$3+:} false; then :
3191 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3192 $as_echo_n "checking for $2... " >&6; }
3193 if eval \${$3+:} false; then :
3194 $as_echo_n "(cached) " >&6
3196 eval ac_res=\$$3
3197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3198 $as_echo "$ac_res" >&6; }
3199 else
3200 # Is the header compilable?
3201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3202 $as_echo_n "checking $2 usability... " >&6; }
3203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3204 /* end confdefs.h. */
3206 #include <$2>
3207 _ACEOF
3208 if ac_fn_objc_try_compile "$LINENO"; then :
3209 ac_header_compiler=yes
3210 else
3211 ac_header_compiler=no
3213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3215 $as_echo "$ac_header_compiler" >&6; }
3217 # Is the header present?
3218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3219 $as_echo_n "checking $2 presence... " >&6; }
3220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3221 /* end confdefs.h. */
3222 #include <$2>
3223 _ACEOF
3224 if ac_fn_objc_try_cpp "$LINENO"; then :
3225 ac_header_preproc=yes
3226 else
3227 ac_header_preproc=no
3229 rm -f conftest.err conftest.i conftest.$ac_ext
3230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3231 $as_echo "$ac_header_preproc" >&6; }
3233 # So? What about this header?
3234 case $ac_header_compiler:$ac_header_preproc:$ac_objc_preproc_warn_flag in #((
3235 yes:no: )
3236 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3237 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3238 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3239 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3241 no:yes:* )
3242 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3243 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3244 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3245 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3246 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3247 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3248 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3249 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3250 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3251 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3252 ( $as_echo "## ------------------------------------ ##
3253 ## Report this to wine-devel@winehq.org ##
3254 ## ------------------------------------ ##"
3255 ) | sed "s/^/$as_me: WARNING: /" >&2
3257 esac
3258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3259 $as_echo_n "checking for $2... " >&6; }
3260 if eval \${$3+:} false; then :
3261 $as_echo_n "(cached) " >&6
3262 else
3263 eval "$3=\$ac_header_compiler"
3265 eval ac_res=\$$3
3266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3267 $as_echo "$ac_res" >&6; }
3269 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3271 } # ac_fn_objc_check_header_mongrel
3273 # ac_fn_c_check_func LINENO FUNC VAR
3274 # ----------------------------------
3275 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3276 ac_fn_c_check_func ()
3278 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3280 $as_echo_n "checking for $2... " >&6; }
3281 if eval \${$3+:} false; then :
3282 $as_echo_n "(cached) " >&6
3283 else
3284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3285 /* end confdefs.h. */
3286 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3287 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3288 #define $2 innocuous_$2
3290 /* System header to define __stub macros and hopefully few prototypes,
3291 which can conflict with char $2 (); below.
3292 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3293 <limits.h> exists even on freestanding compilers. */
3295 #ifdef __STDC__
3296 # include <limits.h>
3297 #else
3298 # include <assert.h>
3299 #endif
3301 #undef $2
3303 /* Override any GCC internal prototype to avoid an error.
3304 Use char because int might match the return type of a GCC
3305 builtin and then its argument prototype would still apply. */
3306 #ifdef __cplusplus
3307 extern "C"
3308 #endif
3309 char $2 ();
3310 /* The GNU C library defines this for functions which it implements
3311 to always fail with ENOSYS. Some functions are actually named
3312 something starting with __ and the normal name is an alias. */
3313 #if defined __stub_$2 || defined __stub___$2
3314 choke me
3315 #endif
3318 main ()
3320 return $2 ();
3322 return 0;
3324 _ACEOF
3325 if ac_fn_c_try_link "$LINENO"; then :
3326 eval "$3=yes"
3327 else
3328 eval "$3=no"
3330 rm -f core conftest.err conftest.$ac_objext \
3331 conftest$ac_exeext conftest.$ac_ext
3333 eval ac_res=\$$3
3334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3335 $as_echo "$ac_res" >&6; }
3336 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3338 } # ac_fn_c_check_func
3340 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3341 # ----------------------------------------------------
3342 # Tries to find if the field MEMBER exists in type AGGR, after including
3343 # INCLUDES, setting cache variable VAR accordingly.
3344 ac_fn_c_check_member ()
3346 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3347 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3348 $as_echo_n "checking for $2.$3... " >&6; }
3349 if eval \${$4+:} false; then :
3350 $as_echo_n "(cached) " >&6
3351 else
3352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3353 /* end confdefs.h. */
3356 main ()
3358 static $2 ac_aggr;
3359 if (ac_aggr.$3)
3360 return 0;
3362 return 0;
3364 _ACEOF
3365 if ac_fn_c_try_compile "$LINENO"; then :
3366 eval "$4=yes"
3367 else
3368 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3369 /* end confdefs.h. */
3372 main ()
3374 static $2 ac_aggr;
3375 if (sizeof ac_aggr.$3)
3376 return 0;
3378 return 0;
3380 _ACEOF
3381 if ac_fn_c_try_compile "$LINENO"; then :
3382 eval "$4=yes"
3383 else
3384 eval "$4=no"
3386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3390 eval ac_res=\$$4
3391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3392 $as_echo "$ac_res" >&6; }
3393 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3395 } # ac_fn_c_check_member
3397 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3398 # -------------------------------------------
3399 # Tests whether TYPE exists after having included INCLUDES, setting cache
3400 # variable VAR accordingly.
3401 ac_fn_c_check_type ()
3403 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3405 $as_echo_n "checking for $2... " >&6; }
3406 if eval \${$3+:} false; then :
3407 $as_echo_n "(cached) " >&6
3408 else
3409 eval "$3=no"
3410 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3411 /* end confdefs.h. */
3414 main ()
3416 if (sizeof ($2))
3417 return 0;
3419 return 0;
3421 _ACEOF
3422 if ac_fn_c_try_compile "$LINENO"; then :
3423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3424 /* end confdefs.h. */
3427 main ()
3429 if (sizeof (($2)))
3430 return 0;
3432 return 0;
3434 _ACEOF
3435 if ac_fn_c_try_compile "$LINENO"; then :
3437 else
3438 eval "$3=yes"
3440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3442 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3444 eval ac_res=\$$3
3445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3446 $as_echo "$ac_res" >&6; }
3447 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3449 } # ac_fn_c_check_type
3450 cat >config.log <<_ACEOF
3451 This file contains any messages produced by compilers while
3452 running configure, to aid debugging if configure makes a mistake.
3454 It was created by Wine $as_me 5.1, which was
3455 generated by GNU Autoconf 2.69. Invocation command line was
3457 $ $0 $@
3459 _ACEOF
3460 exec 5>>config.log
3462 cat <<_ASUNAME
3463 ## --------- ##
3464 ## Platform. ##
3465 ## --------- ##
3467 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3468 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3469 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3470 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3471 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3473 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3474 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3476 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3477 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3478 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3479 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3480 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3481 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3482 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3484 _ASUNAME
3486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3487 for as_dir in $PATH
3489 IFS=$as_save_IFS
3490 test -z "$as_dir" && as_dir=.
3491 $as_echo "PATH: $as_dir"
3492 done
3493 IFS=$as_save_IFS
3495 } >&5
3497 cat >&5 <<_ACEOF
3500 ## ----------- ##
3501 ## Core tests. ##
3502 ## ----------- ##
3504 _ACEOF
3507 # Keep a trace of the command line.
3508 # Strip out --no-create and --no-recursion so they do not pile up.
3509 # Strip out --silent because we don't want to record it for future runs.
3510 # Also quote any args containing shell meta-characters.
3511 # Make two passes to allow for proper duplicate-argument suppression.
3512 ac_configure_args=
3513 ac_configure_args0=
3514 ac_configure_args1=
3515 ac_must_keep_next=false
3516 for ac_pass in 1 2
3518 for ac_arg
3520 case $ac_arg in
3521 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3522 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3523 | -silent | --silent | --silen | --sile | --sil)
3524 continue ;;
3525 *\'*)
3526 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3527 esac
3528 case $ac_pass in
3529 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3531 as_fn_append ac_configure_args1 " '$ac_arg'"
3532 if test $ac_must_keep_next = true; then
3533 ac_must_keep_next=false # Got value, back to normal.
3534 else
3535 case $ac_arg in
3536 *=* | --config-cache | -C | -disable-* | --disable-* \
3537 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3538 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3539 | -with-* | --with-* | -without-* | --without-* | --x)
3540 case "$ac_configure_args0 " in
3541 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3542 esac
3544 -* ) ac_must_keep_next=true ;;
3545 esac
3547 as_fn_append ac_configure_args " '$ac_arg'"
3549 esac
3550 done
3551 done
3552 { ac_configure_args0=; unset ac_configure_args0;}
3553 { ac_configure_args1=; unset ac_configure_args1;}
3555 # When interrupted or exit'd, cleanup temporary files, and complete
3556 # config.log. We remove comments because anyway the quotes in there
3557 # would cause problems or look ugly.
3558 # WARNING: Use '\'' to represent an apostrophe within the trap.
3559 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3560 trap 'exit_status=$?
3561 # Save into config.log some information that might help in debugging.
3563 echo
3565 $as_echo "## ---------------- ##
3566 ## Cache variables. ##
3567 ## ---------------- ##"
3568 echo
3569 # The following way of writing the cache mishandles newlines in values,
3571 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3572 eval ac_val=\$$ac_var
3573 case $ac_val in #(
3574 *${as_nl}*)
3575 case $ac_var in #(
3576 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3577 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3578 esac
3579 case $ac_var in #(
3580 _ | IFS | as_nl) ;; #(
3581 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3582 *) { eval $ac_var=; unset $ac_var;} ;;
3583 esac ;;
3584 esac
3585 done
3586 (set) 2>&1 |
3587 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3588 *${as_nl}ac_space=\ *)
3589 sed -n \
3590 "s/'\''/'\''\\\\'\'''\''/g;
3591 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3592 ;; #(
3594 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3596 esac |
3597 sort
3599 echo
3601 $as_echo "## ----------------- ##
3602 ## Output variables. ##
3603 ## ----------------- ##"
3604 echo
3605 for ac_var in $ac_subst_vars
3607 eval ac_val=\$$ac_var
3608 case $ac_val in
3609 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3610 esac
3611 $as_echo "$ac_var='\''$ac_val'\''"
3612 done | sort
3613 echo
3615 if test -n "$ac_subst_files"; then
3616 $as_echo "## ------------------- ##
3617 ## File substitutions. ##
3618 ## ------------------- ##"
3619 echo
3620 for ac_var in $ac_subst_files
3622 eval ac_val=\$$ac_var
3623 case $ac_val in
3624 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3625 esac
3626 $as_echo "$ac_var='\''$ac_val'\''"
3627 done | sort
3628 echo
3631 if test -s confdefs.h; then
3632 $as_echo "## ----------- ##
3633 ## confdefs.h. ##
3634 ## ----------- ##"
3635 echo
3636 cat confdefs.h
3637 echo
3639 test "$ac_signal" != 0 &&
3640 $as_echo "$as_me: caught signal $ac_signal"
3641 $as_echo "$as_me: exit $exit_status"
3642 } >&5
3643 rm -f core *.core core.conftest.* &&
3644 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3645 exit $exit_status
3647 for ac_signal in 1 2 13 15; do
3648 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3649 done
3650 ac_signal=0
3652 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3653 rm -f -r conftest* confdefs.h
3655 $as_echo "/* confdefs.h */" > confdefs.h
3657 # Predefined preprocessor variables.
3659 cat >>confdefs.h <<_ACEOF
3660 #define PACKAGE_NAME "$PACKAGE_NAME"
3661 _ACEOF
3663 cat >>confdefs.h <<_ACEOF
3664 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3665 _ACEOF
3667 cat >>confdefs.h <<_ACEOF
3668 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3669 _ACEOF
3671 cat >>confdefs.h <<_ACEOF
3672 #define PACKAGE_STRING "$PACKAGE_STRING"
3673 _ACEOF
3675 cat >>confdefs.h <<_ACEOF
3676 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3677 _ACEOF
3679 cat >>confdefs.h <<_ACEOF
3680 #define PACKAGE_URL "$PACKAGE_URL"
3681 _ACEOF
3684 # Let the site file select an alternate cache file if it wants to.
3685 # Prefer an explicitly selected file to automatically selected ones.
3686 ac_site_file1=NONE
3687 ac_site_file2=NONE
3688 if test -n "$CONFIG_SITE"; then
3689 # We do not want a PATH search for config.site.
3690 case $CONFIG_SITE in #((
3691 -*) ac_site_file1=./$CONFIG_SITE;;
3692 */*) ac_site_file1=$CONFIG_SITE;;
3693 *) ac_site_file1=./$CONFIG_SITE;;
3694 esac
3695 elif test "x$prefix" != xNONE; then
3696 ac_site_file1=$prefix/share/config.site
3697 ac_site_file2=$prefix/etc/config.site
3698 else
3699 ac_site_file1=$ac_default_prefix/share/config.site
3700 ac_site_file2=$ac_default_prefix/etc/config.site
3702 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3704 test "x$ac_site_file" = xNONE && continue
3705 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3706 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3707 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3708 sed 's/^/| /' "$ac_site_file" >&5
3709 . "$ac_site_file" \
3710 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3711 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3712 as_fn_error $? "failed to load site script $ac_site_file
3713 See \`config.log' for more details" "$LINENO" 5; }
3715 done
3717 if test -r "$cache_file"; then
3718 # Some versions of bash will fail to source /dev/null (special files
3719 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3720 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3721 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3722 $as_echo "$as_me: loading cache $cache_file" >&6;}
3723 case $cache_file in
3724 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3725 *) . "./$cache_file";;
3726 esac
3728 else
3729 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3730 $as_echo "$as_me: creating cache $cache_file" >&6;}
3731 >$cache_file
3734 # Check that the precious variables saved in the cache have kept the same
3735 # value.
3736 ac_cache_corrupted=false
3737 for ac_var in $ac_precious_vars; do
3738 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3739 eval ac_new_set=\$ac_env_${ac_var}_set
3740 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3741 eval ac_new_val=\$ac_env_${ac_var}_value
3742 case $ac_old_set,$ac_new_set in
3743 set,)
3744 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3745 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3746 ac_cache_corrupted=: ;;
3747 ,set)
3748 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3749 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3750 ac_cache_corrupted=: ;;
3751 ,);;
3753 if test "x$ac_old_val" != "x$ac_new_val"; then
3754 # differences in whitespace do not lead to failure.
3755 ac_old_val_w=`echo x $ac_old_val`
3756 ac_new_val_w=`echo x $ac_new_val`
3757 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3758 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3759 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3760 ac_cache_corrupted=:
3761 else
3762 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3763 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3764 eval $ac_var=\$ac_old_val
3766 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3767 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3768 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3769 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3770 fi;;
3771 esac
3772 # Pass precious variables to config.status.
3773 if test "$ac_new_set" = set; then
3774 case $ac_new_val in
3775 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3776 *) ac_arg=$ac_var=$ac_new_val ;;
3777 esac
3778 case " $ac_configure_args " in
3779 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3780 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3781 esac
3783 done
3784 if $ac_cache_corrupted; then
3785 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3786 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3787 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3788 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3789 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3791 ## -------------------- ##
3792 ## Main body of script. ##
3793 ## -------------------- ##
3795 ac_ext=c
3796 ac_cpp='$CPP $CPPFLAGS'
3797 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3798 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3799 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3803 ac_config_headers="$ac_config_headers include/config.h"
3805 ac_aux_dir=
3806 for ac_dir in tools "$srcdir"/tools; do
3807 if test -f "$ac_dir/install-sh"; then
3808 ac_aux_dir=$ac_dir
3809 ac_install_sh="$ac_aux_dir/install-sh -c"
3810 break
3811 elif test -f "$ac_dir/install.sh"; then
3812 ac_aux_dir=$ac_dir
3813 ac_install_sh="$ac_aux_dir/install.sh -c"
3814 break
3815 elif test -f "$ac_dir/shtool"; then
3816 ac_aux_dir=$ac_dir
3817 ac_install_sh="$ac_aux_dir/shtool install -c"
3818 break
3820 done
3821 if test -z "$ac_aux_dir"; then
3822 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3825 # These three variables are undocumented and unsupported,
3826 # and are intended to be withdrawn in a future Autoconf release.
3827 # They can cause serious problems if a builder's source tree is in a directory
3828 # whose full name contains unusual characters.
3829 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3830 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3831 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3835 libwine_version="1.0"
3839 # Check whether --enable-win16 was given.
3840 if test "${enable_win16+set}" = set; then :
3841 enableval=$enable_win16;
3844 # Check whether --enable-win64 was given.
3845 if test "${enable_win64+set}" = set; then :
3846 enableval=$enable_win64;
3849 # Check whether --enable-tests was given.
3850 if test "${enable_tests+set}" = set; then :
3851 enableval=$enable_tests;
3854 # Check whether --enable-maintainer-mode was given.
3855 if test "${enable_maintainer_mode+set}" = set; then :
3856 enableval=$enable_maintainer_mode;
3861 # Check whether --with-alsa was given.
3862 if test "${with_alsa+set}" = set; then :
3863 withval=$with_alsa;
3867 # Check whether --with-capi was given.
3868 if test "${with_capi+set}" = set; then :
3869 withval=$with_capi;
3873 # Check whether --with-cms was given.
3874 if test "${with_cms+set}" = set; then :
3875 withval=$with_cms;
3879 # Check whether --with-coreaudio was given.
3880 if test "${with_coreaudio+set}" = set; then :
3881 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3885 # Check whether --with-cups was given.
3886 if test "${with_cups+set}" = set; then :
3887 withval=$with_cups;
3891 # Check whether --with-curses was given.
3892 if test "${with_curses+set}" = set; then :
3893 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3897 # Check whether --with-dbus was given.
3898 if test "${with_dbus+set}" = set; then :
3899 withval=$with_dbus;
3903 # Check whether --with-faudio was given.
3904 if test "${with_faudio+set}" = set; then :
3905 withval=$with_faudio;
3909 # Check whether --with-float-abi was given.
3910 if test "${with_float_abi+set}" = set; then :
3911 withval=$with_float_abi;
3915 # Check whether --with-fontconfig was given.
3916 if test "${with_fontconfig+set}" = set; then :
3917 withval=$with_fontconfig;
3921 # Check whether --with-freetype was given.
3922 if test "${with_freetype+set}" = set; then :
3923 withval=$with_freetype;
3927 # Check whether --with-gettext was given.
3928 if test "${with_gettext+set}" = set; then :
3929 withval=$with_gettext;
3933 # Check whether --with-gettextpo was given.
3934 if test "${with_gettextpo+set}" = set; then :
3935 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3939 # Check whether --with-gphoto was given.
3940 if test "${with_gphoto+set}" = set; then :
3941 withval=$with_gphoto;
3945 # Check whether --with-glu was given.
3946 if test "${with_glu+set}" = set; then :
3947 withval=$with_glu;
3951 # Check whether --with-gnutls was given.
3952 if test "${with_gnutls+set}" = set; then :
3953 withval=$with_gnutls;
3957 # Check whether --with-gsm was given.
3958 if test "${with_gsm+set}" = set; then :
3959 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3963 # Check whether --with-gssapi was given.
3964 if test "${with_gssapi+set}" = set; then :
3965 withval=$with_gssapi;
3969 # Check whether --with-gstreamer was given.
3970 if test "${with_gstreamer+set}" = set; then :
3971 withval=$with_gstreamer;
3975 # Check whether --with-hal was given.
3976 if test "${with_hal+set}" = set; then :
3977 withval=$with_hal;
3981 # Check whether --with-inotify was given.
3982 if test "${with_inotify+set}" = set; then :
3983 withval=$with_inotify;
3987 # Check whether --with-jpeg was given.
3988 if test "${with_jpeg+set}" = set; then :
3989 withval=$with_jpeg;
3993 # Check whether --with-krb5 was given.
3994 if test "${with_krb5+set}" = set; then :
3995 withval=$with_krb5;
3999 # Check whether --with-ldap was given.
4000 if test "${with_ldap+set}" = set; then :
4001 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
4005 # Check whether --with-mingw was given.
4006 if test "${with_mingw+set}" = set; then :
4007 withval=$with_mingw;
4011 # Check whether --with-mpg123 was given.
4012 if test "${with_mpg123+set}" = set; then :
4013 withval=$with_mpg123;
4017 # Check whether --with-netapi was given.
4018 if test "${with_netapi+set}" = set; then :
4019 withval=$with_netapi;
4023 # Check whether --with-openal was given.
4024 if test "${with_openal+set}" = set; then :
4025 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
4029 # Check whether --with-opencl was given.
4030 if test "${with_opencl+set}" = set; then :
4031 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4035 # Check whether --with-opengl was given.
4036 if test "${with_opengl+set}" = set; then :
4037 withval=$with_opengl;
4041 # Check whether --with-osmesa was given.
4042 if test "${with_osmesa+set}" = set; then :
4043 withval=$with_osmesa;
4047 # Check whether --with-oss was given.
4048 if test "${with_oss+set}" = set; then :
4049 withval=$with_oss;
4053 # Check whether --with-pcap was given.
4054 if test "${with_pcap+set}" = set; then :
4055 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4059 # Check whether --with-png was given.
4060 if test "${with_png+set}" = set; then :
4061 withval=$with_png;
4065 # Check whether --with-pthread was given.
4066 if test "${with_pthread+set}" = set; then :
4067 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4071 # Check whether --with-pulse was given.
4072 if test "${with_pulse+set}" = set; then :
4073 withval=$with_pulse;
4077 # Check whether --with-sane was given.
4078 if test "${with_sane+set}" = set; then :
4079 withval=$with_sane;
4083 # Check whether --with-sdl was given.
4084 if test "${with_sdl+set}" = set; then :
4085 withval=$with_sdl;
4089 # Check whether --with-tiff was given.
4090 if test "${with_tiff+set}" = set; then :
4091 withval=$with_tiff;
4095 # Check whether --with-udev was given.
4096 if test "${with_udev+set}" = set; then :
4097 withval=$with_udev;
4101 # Check whether --with-unwind was given.
4102 if test "${with_unwind+set}" = set; then :
4103 withval=$with_unwind;
4107 # Check whether --with-v4l2 was given.
4108 if test "${with_v4l2+set}" = set; then :
4109 withval=$with_v4l2;
4113 # Check whether --with-vkd3d was given.
4114 if test "${with_vkd3d+set}" = set; then :
4115 withval=$with_vkd3d;
4119 # Check whether --with-vulkan was given.
4120 if test "${with_vulkan+set}" = set; then :
4121 withval=$with_vulkan;
4125 # Check whether --with-xcomposite was given.
4126 if test "${with_xcomposite+set}" = set; then :
4127 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4131 # Check whether --with-xcursor was given.
4132 if test "${with_xcursor+set}" = set; then :
4133 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4137 # Check whether --with-xfixes was given.
4138 if test "${with_xfixes+set}" = set; then :
4139 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4143 # Check whether --with-xinerama was given.
4144 if test "${with_xinerama+set}" = set; then :
4145 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4149 # Check whether --with-xinput was given.
4150 if test "${with_xinput+set}" = set; then :
4151 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4155 # Check whether --with-xinput2 was given.
4156 if test "${with_xinput2+set}" = set; then :
4157 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4161 # Check whether --with-xml was given.
4162 if test "${with_xml+set}" = set; then :
4163 withval=$with_xml;
4167 # Check whether --with-xrandr was given.
4168 if test "${with_xrandr+set}" = set; then :
4169 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4173 # Check whether --with-xrender was given.
4174 if test "${with_xrender+set}" = set; then :
4175 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4179 # Check whether --with-xshape was given.
4180 if test "${with_xshape+set}" = set; then :
4181 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4185 # Check whether --with-xshm was given.
4186 if test "${with_xshm+set}" = set; then :
4187 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4191 # Check whether --with-xslt was given.
4192 if test "${with_xslt+set}" = set; then :
4193 withval=$with_xslt;
4197 # Check whether --with-xxf86vm was given.
4198 if test "${with_xxf86vm+set}" = set; then :
4199 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
4203 # Check whether --with-zlib was given.
4204 if test "${with_zlib+set}" = set; then :
4205 withval=$with_zlib;
4210 # Check whether --with-wine-tools was given.
4211 if test "${with_wine_tools+set}" = set; then :
4212 withval=$with_wine_tools;
4216 # Check whether --with-wine64 was given.
4217 if test "${with_wine64+set}" = set; then :
4218 withval=$with_wine64;
4222 # Make sure we can run config.sub.
4223 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4224 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4226 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4227 $as_echo_n "checking build system type... " >&6; }
4228 if ${ac_cv_build+:} false; then :
4229 $as_echo_n "(cached) " >&6
4230 else
4231 ac_build_alias=$build_alias
4232 test "x$ac_build_alias" = x &&
4233 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4234 test "x$ac_build_alias" = x &&
4235 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4236 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4237 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4241 $as_echo "$ac_cv_build" >&6; }
4242 case $ac_cv_build in
4243 *-*-*) ;;
4244 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4245 esac
4246 build=$ac_cv_build
4247 ac_save_IFS=$IFS; IFS='-'
4248 set x $ac_cv_build
4249 shift
4250 build_cpu=$1
4251 build_vendor=$2
4252 shift; shift
4253 # Remember, the first character of IFS is used to create $*,
4254 # except with old shells:
4255 build_os=$*
4256 IFS=$ac_save_IFS
4257 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4260 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4261 $as_echo_n "checking host system type... " >&6; }
4262 if ${ac_cv_host+:} false; then :
4263 $as_echo_n "(cached) " >&6
4264 else
4265 if test "x$host_alias" = x; then
4266 ac_cv_host=$ac_cv_build
4267 else
4268 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4269 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4274 $as_echo "$ac_cv_host" >&6; }
4275 case $ac_cv_host in
4276 *-*-*) ;;
4277 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4278 esac
4279 host=$ac_cv_host
4280 ac_save_IFS=$IFS; IFS='-'
4281 set x $ac_cv_host
4282 shift
4283 host_cpu=$1
4284 host_vendor=$2
4285 shift; shift
4286 # Remember, the first character of IFS is used to create $*,
4287 # except with old shells:
4288 host_os=$*
4289 IFS=$ac_save_IFS
4290 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; 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 SystemConfiguration/SCDynamicStoreCopyDHCPInfo.h \
7360 SystemConfiguration/SCNetworkConfiguration.h \
7361 alias.h \
7362 arpa/inet.h \
7363 arpa/nameser.h \
7364 asm/types.h \
7365 asm/user.h \
7366 curses.h \
7367 dirent.h \
7368 dlfcn.h \
7369 elf.h \
7370 float.h \
7371 fnmatch.h \
7372 getopt.h \
7373 gettext-po.h \
7374 grp.h \
7375 gsm.h \
7376 gsm/gsm.h \
7377 ieeefp.h \
7378 inet/mib2.h \
7379 kstat.h \
7380 libproc.h \
7381 link.h \
7382 linux/cdrom.h \
7383 linux/compiler.h \
7384 linux/filter.h \
7385 linux/hdreg.h \
7386 linux/hidraw.h \
7387 linux/input.h \
7388 linux/ioctl.h \
7389 linux/joystick.h \
7390 linux/major.h \
7391 linux/param.h \
7392 linux/serial.h \
7393 linux/types.h \
7394 linux/ucdrom.h \
7395 lwp.h \
7396 mach-o/nlist.h \
7397 mach-o/loader.h \
7398 mach/mach.h \
7399 mach/machine.h \
7400 machine/cpu.h \
7401 machine/limits.h \
7402 machine/sysarch.h \
7403 mntent.h \
7404 ncurses.h \
7405 netdb.h \
7406 netinet/in.h \
7407 netinet/in_systm.h \
7408 netinet/tcp.h \
7409 netinet/tcp_fsm.h \
7410 pcap/pcap.h \
7411 poll.h \
7412 port.h \
7413 pthread.h \
7414 pwd.h \
7415 sched.h \
7416 scsi/scsi.h \
7417 scsi/scsi_ioctl.h \
7418 scsi/sg.h \
7419 stdbool.h \
7420 stdint.h \
7421 stropts.h \
7422 sys/attr.h \
7423 sys/auxv.h \
7424 sys/cdio.h \
7425 sys/elf32.h \
7426 sys/epoll.h \
7427 sys/event.h \
7428 sys/exec_elf.h \
7429 sys/filio.h \
7430 sys/ioctl.h \
7431 sys/ipc.h \
7432 sys/limits.h \
7433 sys/link.h \
7434 sys/mman.h \
7435 sys/modem.h \
7436 sys/msg.h \
7437 sys/mtio.h \
7438 sys/param.h \
7439 sys/poll.h \
7440 sys/prctl.h \
7441 sys/protosw.h \
7442 sys/ptrace.h \
7443 sys/queue.h \
7444 sys/resource.h \
7445 sys/scsiio.h \
7446 sys/shm.h \
7447 sys/signal.h \
7448 sys/socket.h \
7449 sys/socketvar.h \
7450 sys/sockio.h \
7451 sys/statvfs.h \
7452 sys/strtio.h \
7453 sys/syscall.h \
7454 sys/sysinfo.h \
7455 sys/tihdr.h \
7456 sys/time.h \
7457 sys/timeout.h \
7458 sys/times.h \
7459 sys/uio.h \
7460 sys/user.h \
7461 sys/utsname.h \
7462 sys/vnode.h \
7463 sys/wait.h \
7464 syscall.h \
7465 termios.h \
7466 unistd.h \
7467 utime.h \
7468 valgrind/memcheck.h \
7469 valgrind/valgrind.h
7471 do :
7472 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7473 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7474 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7475 cat >>confdefs.h <<_ACEOF
7476 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7477 _ACEOF
7481 done
7483 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7484 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7486 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7491 if test $ac_cv_header_sys_mkdev_h = no; then
7492 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7493 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7495 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7502 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7503 if ${ac_cv_header_stat_broken+:} false; then :
7504 $as_echo_n "(cached) " >&6
7505 else
7506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7507 /* end confdefs.h. */
7508 #include <sys/types.h>
7509 #include <sys/stat.h>
7511 #if defined S_ISBLK && defined S_IFDIR
7512 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7513 #endif
7515 #if defined S_ISBLK && defined S_IFCHR
7516 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7517 #endif
7519 #if defined S_ISLNK && defined S_IFREG
7520 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7521 #endif
7523 #if defined S_ISSOCK && defined S_IFREG
7524 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7525 #endif
7527 _ACEOF
7528 if ac_fn_c_try_compile "$LINENO"; then :
7529 ac_cv_header_stat_broken=no
7530 else
7531 ac_cv_header_stat_broken=yes
7533 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7536 $as_echo "$ac_cv_header_stat_broken" >&6; }
7537 if test $ac_cv_header_stat_broken = yes; then
7539 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7545 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
7546 do :
7547 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7548 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7549 #ifdef HAVE_SYS_PARAM_H
7550 # include <sys/param.h>
7551 #endif
7553 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7554 cat >>confdefs.h <<_ACEOF
7555 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7556 _ACEOF
7560 done
7563 for ac_header in \
7564 netinet/ip.h \
7565 net/if.h \
7566 net/if_arp.h \
7567 net/if_dl.h \
7568 net/if_types.h \
7569 net/route.h \
7570 netinet/if_ether.h \
7571 netinet/if_inarp.h \
7572 netinet/in_pcb.h \
7573 netinet/ip_icmp.h \
7574 netinet/ip_var.h \
7575 netinet/udp.h \
7576 netipx/ipx.h \
7577 sys/un.h \
7579 do :
7580 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7581 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7582 #ifdef HAVE_SYS_SOCKET_H
7583 # include <sys/socket.h>
7584 #endif
7585 #ifdef HAVE_SYS_SOCKETVAR_H
7586 # include <sys/socketvar.h>
7587 #endif
7588 #ifdef HAVE_NET_ROUTE_H
7589 # include <net/route.h>
7590 #endif
7591 #ifdef HAVE_NETINET_IN_H
7592 # include <netinet/in.h>
7593 #endif
7594 #ifdef HAVE_NETINET_IN_SYSTM_H
7595 # include <netinet/in_systm.h>
7596 #endif
7597 #ifdef HAVE_NET_IF_H
7598 # include <net/if.h>
7599 #endif
7600 #ifdef HAVE_NETINET_IP_H
7601 # include <netinet/ip.h>
7602 #endif
7604 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7605 cat >>confdefs.h <<_ACEOF
7606 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7607 _ACEOF
7611 done
7614 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7615 do :
7616 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7617 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7618 #ifdef HAVE_ALIAS_H
7619 # include <alias.h>
7620 #endif
7621 #ifdef HAVE_SYS_SOCKET_H
7622 # include <sys/socket.h>
7623 #endif
7624 #ifdef HAVE_SYS_SOCKETVAR_H
7625 # include <sys/socketvar.h>
7626 #endif
7627 #ifdef HAVE_SYS_TIMEOUT_H
7628 # include <sys/timeout.h>
7629 #endif
7630 #ifdef HAVE_NETINET_IN_H
7631 # include <netinet/in.h>
7632 #endif
7633 #ifdef HAVE_NETINET_IN_SYSTM_H
7634 # include <netinet/in_systm.h>
7635 #endif
7636 #ifdef HAVE_NETINET_IP_H
7637 # include <netinet/ip.h>
7638 #endif
7639 #ifdef HAVE_NETINET_IP_VAR_H
7640 # include <netinet/ip_var.h>
7641 #endif
7642 #ifdef HAVE_NETINET_IP_ICMP_H
7643 # include <netinet/ip_icmp.h>
7644 #endif
7645 #ifdef HAVE_NETINET_UDP_H
7646 # include <netinet/udp.h>
7647 #endif
7648 #ifdef HAVE_NETINET_TCP_H
7649 # include <netinet/tcp.h>
7650 #endif
7651 #ifdef HAVE_NETINET_TCP_TIMER_H
7652 #include <netinet/tcp_timer.h>
7653 #endif
7655 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7656 cat >>confdefs.h <<_ACEOF
7657 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7658 _ACEOF
7662 done
7665 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7666 do :
7667 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7668 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7669 #ifdef HAVE_ASM_TYPES_H
7670 # include <asm/types.h>
7671 #endif
7672 #ifdef HAVE_SYS_SOCKET_H
7673 # include <sys/socket.h>
7674 #endif
7675 #ifdef HAVE_LINUX_TYPES_H
7676 # include <linux/types.h>
7677 #endif
7679 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7680 cat >>confdefs.h <<_ACEOF
7681 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7682 _ACEOF
7686 done
7689 for ac_header in resolv.h
7690 do :
7691 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7692 #ifdef HAVE_SYS_SOCKET_H
7693 # include <sys/socket.h>
7694 #endif
7695 #ifdef HAVE_NETINET_IN_H
7696 # include <netinet/in.h>
7697 #endif
7698 #ifdef HAVE_ARPA_NAMESER_H
7699 # include <arpa/nameser.h>
7700 #endif
7702 if test "x$ac_cv_header_resolv_h" = xyes; then :
7703 cat >>confdefs.h <<_ACEOF
7704 #define HAVE_RESOLV_H 1
7705 _ACEOF
7709 done
7712 for ac_header in ifaddrs.h
7713 do :
7714 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7716 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7717 cat >>confdefs.h <<_ACEOF
7718 #define HAVE_IFADDRS_H 1
7719 _ACEOF
7723 done
7726 for ac_header in sys/ucontext.h
7727 do :
7728 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7730 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7731 cat >>confdefs.h <<_ACEOF
7732 #define HAVE_SYS_UCONTEXT_H 1
7733 _ACEOF
7737 done
7740 for ac_header in sys/thr.h
7741 do :
7742 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7743 #ifdef HAVE_SYS_UCONTEXT_H
7744 #include <sys/ucontext.h>
7745 #endif
7747 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7748 cat >>confdefs.h <<_ACEOF
7749 #define HAVE_SYS_THR_H 1
7750 _ACEOF
7754 done
7757 for ac_header in pthread_np.h
7758 do :
7759 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7760 #include <pthread.h>
7761 #endif
7763 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7764 cat >>confdefs.h <<_ACEOF
7765 #define HAVE_PTHREAD_NP_H 1
7766 _ACEOF
7770 done
7773 for ac_header in linux/videodev2.h
7774 do :
7775 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#ifdef HAVE_SYS_TIME_H
7776 #include <sys/time.h>
7777 #endif
7778 #include <sys/types.h>
7779 #ifdef HAVE_ASM_TYPES_H
7780 #include <asm/types.h>
7781 #endif
7783 if test "x$ac_cv_header_linux_videodev2_h" = xyes; then :
7784 cat >>confdefs.h <<_ACEOF
7785 #define HAVE_LINUX_VIDEODEV2_H 1
7786 _ACEOF
7790 done
7793 for ac_header in libprocstat.h
7794 do :
7795 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7796 #include <sys/param.h>
7797 #endif
7798 #ifdef HAVE_SYS_QUEUE_H
7799 #include <sys/queue.h>
7800 #endif
7801 #ifdef HAVE_SYS_SOCKET_H
7802 #include <sys/socket.h>
7803 #endif
7805 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7806 cat >>confdefs.h <<_ACEOF
7807 #define HAVE_LIBPROCSTAT_H 1
7808 _ACEOF
7812 done
7816 DLLFLAGS="-D_REENTRANT"
7818 LDRPATH_INSTALL=""
7820 LDRPATH_LOCAL=""
7822 LDDLLFLAGS=""
7824 LDEXECFLAGS=""
7826 TOP_INSTALL_LIB=""
7828 TOP_INSTALL_DEV=""
7830 WINELOADER_LDFLAGS=""
7832 WINEPRELOADER_LDFLAGS=""
7834 LIBEXT="so"
7835 DLLEXT=".so"
7836 # Extract the first word of "ldd", so it can be a program name with args.
7837 set dummy ldd; ac_word=$2
7838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7839 $as_echo_n "checking for $ac_word... " >&6; }
7840 if ${ac_cv_path_LDD+:} false; then :
7841 $as_echo_n "(cached) " >&6
7842 else
7843 case $LDD in
7844 [\\/]* | ?:[\\/]*)
7845 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7848 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7849 as_dummy="/sbin:/usr/sbin:$PATH"
7850 for as_dir in $as_dummy
7852 IFS=$as_save_IFS
7853 test -z "$as_dir" && as_dir=.
7854 for ac_exec_ext in '' $ac_executable_extensions; do
7855 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7856 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7857 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7858 break 2
7860 done
7861 done
7862 IFS=$as_save_IFS
7864 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7866 esac
7868 LDD=$ac_cv_path_LDD
7869 if test -n "$LDD"; then
7870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7871 $as_echo "$LDD" >&6; }
7872 else
7873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7874 $as_echo "no" >&6; }
7878 if test -n "$ac_tool_prefix"; then
7879 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7880 set dummy ${ac_tool_prefix}otool; ac_word=$2
7881 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7882 $as_echo_n "checking for $ac_word... " >&6; }
7883 if ${ac_cv_prog_OTOOL+:} false; then :
7884 $as_echo_n "(cached) " >&6
7885 else
7886 if test -n "$OTOOL"; then
7887 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7888 else
7889 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7890 for as_dir in $PATH
7892 IFS=$as_save_IFS
7893 test -z "$as_dir" && as_dir=.
7894 for ac_exec_ext in '' $ac_executable_extensions; do
7895 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7896 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7897 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7898 break 2
7900 done
7901 done
7902 IFS=$as_save_IFS
7906 OTOOL=$ac_cv_prog_OTOOL
7907 if test -n "$OTOOL"; then
7908 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7909 $as_echo "$OTOOL" >&6; }
7910 else
7911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7912 $as_echo "no" >&6; }
7917 if test -z "$ac_cv_prog_OTOOL"; then
7918 ac_ct_OTOOL=$OTOOL
7919 # Extract the first word of "otool", so it can be a program name with args.
7920 set dummy otool; ac_word=$2
7921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7922 $as_echo_n "checking for $ac_word... " >&6; }
7923 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7924 $as_echo_n "(cached) " >&6
7925 else
7926 if test -n "$ac_ct_OTOOL"; then
7927 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7928 else
7929 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7930 for as_dir in $PATH
7932 IFS=$as_save_IFS
7933 test -z "$as_dir" && as_dir=.
7934 for ac_exec_ext in '' $ac_executable_extensions; do
7935 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7936 ac_cv_prog_ac_ct_OTOOL="otool"
7937 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7938 break 2
7940 done
7941 done
7942 IFS=$as_save_IFS
7946 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7947 if test -n "$ac_ct_OTOOL"; then
7948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7949 $as_echo "$ac_ct_OTOOL" >&6; }
7950 else
7951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7952 $as_echo "no" >&6; }
7955 if test "x$ac_ct_OTOOL" = x; then
7956 OTOOL="otool"
7957 else
7958 case $cross_compiling:$ac_tool_warned in
7959 yes:)
7960 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7961 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7962 ac_tool_warned=yes ;;
7963 esac
7964 OTOOL=$ac_ct_OTOOL
7966 else
7967 OTOOL="$ac_cv_prog_OTOOL"
7970 if test -n "$ac_tool_prefix"; then
7971 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7972 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7974 $as_echo_n "checking for $ac_word... " >&6; }
7975 if ${ac_cv_prog_READELF+:} false; then :
7976 $as_echo_n "(cached) " >&6
7977 else
7978 if test -n "$READELF"; then
7979 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7980 else
7981 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7982 for as_dir in $PATH
7984 IFS=$as_save_IFS
7985 test -z "$as_dir" && as_dir=.
7986 for ac_exec_ext in '' $ac_executable_extensions; do
7987 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7988 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7989 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7990 break 2
7992 done
7993 done
7994 IFS=$as_save_IFS
7998 READELF=$ac_cv_prog_READELF
7999 if test -n "$READELF"; then
8000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
8001 $as_echo "$READELF" >&6; }
8002 else
8003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8004 $as_echo "no" >&6; }
8009 if test -z "$ac_cv_prog_READELF"; then
8010 ac_ct_READELF=$READELF
8011 # Extract the first word of "readelf", so it can be a program name with args.
8012 set dummy readelf; ac_word=$2
8013 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8014 $as_echo_n "checking for $ac_word... " >&6; }
8015 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
8016 $as_echo_n "(cached) " >&6
8017 else
8018 if test -n "$ac_ct_READELF"; then
8019 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
8020 else
8021 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8022 for as_dir in $PATH
8024 IFS=$as_save_IFS
8025 test -z "$as_dir" && as_dir=.
8026 for ac_exec_ext in '' $ac_executable_extensions; do
8027 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8028 ac_cv_prog_ac_ct_READELF="readelf"
8029 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8030 break 2
8032 done
8033 done
8034 IFS=$as_save_IFS
8038 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
8039 if test -n "$ac_ct_READELF"; then
8040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
8041 $as_echo "$ac_ct_READELF" >&6; }
8042 else
8043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8044 $as_echo "no" >&6; }
8047 if test "x$ac_ct_READELF" = x; then
8048 READELF="true"
8049 else
8050 case $cross_compiling:$ac_tool_warned in
8051 yes:)
8052 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8053 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8054 ac_tool_warned=yes ;;
8055 esac
8056 READELF=$ac_ct_READELF
8058 else
8059 READELF="$ac_cv_prog_READELF"
8062 wine_rules_file=conf$$rules.make
8063 rm -f $wine_rules_file
8064 SUBDIRS=""
8066 DISABLED_SUBDIRS=""
8068 CONFIGURE_TARGETS=""
8071 wine_fn_append_file ()
8073 as_fn_append $1 " \\$as_nl $2"
8076 wine_fn_append_rule ()
8078 $as_echo "$1" >>$wine_rules_file
8081 wine_fn_config_makefile ()
8083 wine_fn_append_file SUBDIRS $1
8084 if eval test \"x\$"$2"\" = x"no"; then :
8085 wine_fn_append_file DISABLED_SUBDIRS $1
8089 wine_fn_config_symlink ()
8091 ac_links=$@
8092 wine_fn_append_rule \
8093 "$ac_links:
8094 @./config.status \$@"
8095 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
8098 wine_binary="wine"
8099 test "x$enable_win64" != "xyes" || wine_binary="wine64"
8100 WINELOADER_PROGRAMS="$wine_binary"
8102 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
8104 case $host_os in
8105 cygwin*|mingw32*)
8106 if test -n "$ac_tool_prefix"; then
8107 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8108 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8110 $as_echo_n "checking for $ac_word... " >&6; }
8111 if ${ac_cv_prog_DLLTOOL+:} false; then :
8112 $as_echo_n "(cached) " >&6
8113 else
8114 if test -n "$DLLTOOL"; then
8115 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8116 else
8117 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8118 for as_dir in $PATH
8120 IFS=$as_save_IFS
8121 test -z "$as_dir" && as_dir=.
8122 for ac_exec_ext in '' $ac_executable_extensions; do
8123 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8124 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8125 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8126 break 2
8128 done
8129 done
8130 IFS=$as_save_IFS
8134 DLLTOOL=$ac_cv_prog_DLLTOOL
8135 if test -n "$DLLTOOL"; then
8136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8137 $as_echo "$DLLTOOL" >&6; }
8138 else
8139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8140 $as_echo "no" >&6; }
8145 if test -z "$ac_cv_prog_DLLTOOL"; then
8146 ac_ct_DLLTOOL=$DLLTOOL
8147 # Extract the first word of "dlltool", so it can be a program name with args.
8148 set dummy dlltool; ac_word=$2
8149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8150 $as_echo_n "checking for $ac_word... " >&6; }
8151 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8152 $as_echo_n "(cached) " >&6
8153 else
8154 if test -n "$ac_ct_DLLTOOL"; then
8155 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8156 else
8157 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8158 for as_dir in $PATH
8160 IFS=$as_save_IFS
8161 test -z "$as_dir" && as_dir=.
8162 for ac_exec_ext in '' $ac_executable_extensions; do
8163 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8164 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8165 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8166 break 2
8168 done
8169 done
8170 IFS=$as_save_IFS
8174 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8175 if test -n "$ac_ct_DLLTOOL"; then
8176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8177 $as_echo "$ac_ct_DLLTOOL" >&6; }
8178 else
8179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8180 $as_echo "no" >&6; }
8183 if test "x$ac_ct_DLLTOOL" = x; then
8184 DLLTOOL="false"
8185 else
8186 case $cross_compiling:$ac_tool_warned in
8187 yes:)
8188 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8189 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8190 ac_tool_warned=yes ;;
8191 esac
8192 DLLTOOL=$ac_ct_DLLTOOL
8194 else
8195 DLLTOOL="$ac_cv_prog_DLLTOOL"
8198 LIBEXT="dll"
8199 DLLEXT=""
8200 case $host_cpu in
8201 *i[3456]86*) LDDLLFLAGS="-Wl,--disable-stdcall-fixup" ;;
8202 esac
8203 enable_iphlpapi=${enable_iphlpapi:-no}
8204 enable_kernel32=${enable_kernel32:-no}
8205 enable_ntdll=${enable_ntdll:-no}
8206 enable_ws2_32=${enable_ws2_32:-no}
8207 enable_loader=${enable_loader:-no}
8208 enable_server=${enable_server:-no}
8209 with_x=${with_x:-no}
8210 with_pthread=${with_pthread:-no}
8213 darwin*|macosx*)
8214 ac_ext=m
8215 ac_cpp='$OBJCPP $CPPFLAGS'
8216 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8217 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8218 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8220 ac_ext=m
8221 ac_cpp='$OBJCPP $CPPFLAGS'
8222 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8223 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8224 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8225 if test -n "$ac_tool_prefix"; then
8226 for ac_prog in gcc objcc objc cc CC
8228 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8229 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8230 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8231 $as_echo_n "checking for $ac_word... " >&6; }
8232 if ${ac_cv_prog_OBJC+:} false; then :
8233 $as_echo_n "(cached) " >&6
8234 else
8235 if test -n "$OBJC"; then
8236 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
8237 else
8238 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8239 for as_dir in $PATH
8241 IFS=$as_save_IFS
8242 test -z "$as_dir" && as_dir=.
8243 for ac_exec_ext in '' $ac_executable_extensions; do
8244 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8245 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
8246 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8247 break 2
8249 done
8250 done
8251 IFS=$as_save_IFS
8255 OBJC=$ac_cv_prog_OBJC
8256 if test -n "$OBJC"; then
8257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
8258 $as_echo "$OBJC" >&6; }
8259 else
8260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8261 $as_echo "no" >&6; }
8265 test -n "$OBJC" && break
8266 done
8268 if test -z "$OBJC"; then
8269 ac_ct_OBJC=$OBJC
8270 for ac_prog in gcc objcc objc cc CC
8272 # Extract the first word of "$ac_prog", so it can be a program name with args.
8273 set dummy $ac_prog; ac_word=$2
8274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8275 $as_echo_n "checking for $ac_word... " >&6; }
8276 if ${ac_cv_prog_ac_ct_OBJC+:} false; then :
8277 $as_echo_n "(cached) " >&6
8278 else
8279 if test -n "$ac_ct_OBJC"; then
8280 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
8281 else
8282 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8283 for as_dir in $PATH
8285 IFS=$as_save_IFS
8286 test -z "$as_dir" && as_dir=.
8287 for ac_exec_ext in '' $ac_executable_extensions; do
8288 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8289 ac_cv_prog_ac_ct_OBJC="$ac_prog"
8290 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8291 break 2
8293 done
8294 done
8295 IFS=$as_save_IFS
8299 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
8300 if test -n "$ac_ct_OBJC"; then
8301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
8302 $as_echo "$ac_ct_OBJC" >&6; }
8303 else
8304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8305 $as_echo "no" >&6; }
8309 test -n "$ac_ct_OBJC" && break
8310 done
8312 if test "x$ac_ct_OBJC" = x; then
8313 OBJC="gcc"
8314 else
8315 case $cross_compiling:$ac_tool_warned in
8316 yes:)
8317 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8318 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8319 ac_tool_warned=yes ;;
8320 esac
8321 OBJC=$ac_ct_OBJC
8325 # Provide some information about the compiler.
8326 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
8327 set X $ac_compile
8328 ac_compiler=$2
8329 for ac_option in --version -v -V -qversion; do
8330 { { ac_try="$ac_compiler $ac_option >&5"
8331 case "(($ac_try" in
8332 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8333 *) ac_try_echo=$ac_try;;
8334 esac
8335 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
8336 $as_echo "$ac_try_echo"; } >&5
8337 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
8338 ac_status=$?
8339 if test -s conftest.err; then
8340 sed '10a\
8341 ... rest of stderr output deleted ...
8342 10q' conftest.err >conftest.er1
8343 cat conftest.er1 >&5
8345 rm -f conftest.er1 conftest.err
8346 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8347 test $ac_status = 0; }
8348 done
8350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C compiler" >&5
8351 $as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; }
8352 if ${ac_cv_objc_compiler_gnu+:} false; then :
8353 $as_echo_n "(cached) " >&6
8354 else
8355 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8356 /* end confdefs.h. */
8359 main ()
8361 #ifndef __GNUC__
8362 choke me
8363 #endif
8366 return 0;
8368 _ACEOF
8369 if ac_fn_objc_try_compile "$LINENO"; then :
8370 ac_compiler_gnu=yes
8371 else
8372 ac_compiler_gnu=no
8374 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8375 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
8378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
8379 $as_echo "$ac_cv_objc_compiler_gnu" >&6; }
8380 if test $ac_compiler_gnu = yes; then
8381 GOBJC=yes
8382 else
8383 GOBJC=
8385 ac_test_OBJCFLAGS=${OBJCFLAGS+set}
8386 ac_save_OBJCFLAGS=$OBJCFLAGS
8387 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
8388 $as_echo_n "checking whether $OBJC accepts -g... " >&6; }
8389 if ${ac_cv_prog_objc_g+:} false; then :
8390 $as_echo_n "(cached) " >&6
8391 else
8392 ac_save_objc_werror_flag=$ac_objc_werror_flag
8393 ac_objc_werror_flag=yes
8394 ac_cv_prog_objc_g=no
8395 OBJCFLAGS="-g"
8396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8397 /* end confdefs.h. */
8400 main ()
8404 return 0;
8406 _ACEOF
8407 if ac_fn_objc_try_compile "$LINENO"; then :
8408 ac_cv_prog_objc_g=yes
8409 else
8410 OBJCFLAGS=""
8411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8412 /* end confdefs.h. */
8415 main ()
8419 return 0;
8421 _ACEOF
8422 if ac_fn_objc_try_compile "$LINENO"; then :
8424 else
8425 ac_objc_werror_flag=$ac_save_objc_werror_flag
8426 OBJCFLAGS="-g"
8427 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8428 /* end confdefs.h. */
8431 main ()
8435 return 0;
8437 _ACEOF
8438 if ac_fn_objc_try_compile "$LINENO"; then :
8439 ac_cv_prog_objc_g=yes
8441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8445 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8446 ac_objc_werror_flag=$ac_save_objc_werror_flag
8448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
8449 $as_echo "$ac_cv_prog_objc_g" >&6; }
8450 if test "$ac_test_OBJCFLAGS" = set; then
8451 OBJCFLAGS=$ac_save_OBJCFLAGS
8452 elif test $ac_cv_prog_objc_g = yes; then
8453 if test "$GOBJC" = yes; then
8454 OBJCFLAGS="-g -O2"
8455 else
8456 OBJCFLAGS="-g"
8458 else
8459 if test "$GOBJC" = yes; then
8460 OBJCFLAGS="-O2"
8461 else
8462 OBJCFLAGS=
8465 ac_ext=m
8466 ac_cpp='$OBJCPP $CPPFLAGS'
8467 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8468 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8469 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8472 ac_ext=m
8473 ac_cpp='$OBJCPP $CPPFLAGS'
8474 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8475 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8476 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the Objective C preprocessor" >&5
8478 $as_echo_n "checking how to run the Objective C preprocessor... " >&6; }
8479 if test -z "$OBJCPP"; then
8480 if ${ac_cv_prog_OBJCPP+:} false; then :
8481 $as_echo_n "(cached) " >&6
8482 else
8483 # Double quotes because OBJCPP needs to be expanded
8484 for OBJCPP in "$OBJC -E" "/lib/cpp"
8486 ac_preproc_ok=false
8487 for ac_objc_preproc_warn_flag in '' yes
8489 # Use a header file that comes with gcc, so configuring glibc
8490 # with a fresh cross-compiler works.
8491 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8492 # <limits.h> exists even on freestanding compilers.
8493 # On the NeXT, cc -E runs the code through the compiler's parser,
8494 # not just through cpp. "Syntax error" is here to catch this case.
8495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8496 /* end confdefs.h. */
8497 #ifdef __STDC__
8498 # include <limits.h>
8499 #else
8500 # include <assert.h>
8501 #endif
8502 Syntax error
8503 _ACEOF
8504 if ac_fn_objc_try_cpp "$LINENO"; then :
8506 else
8507 # Broken: fails on valid input.
8508 continue
8510 rm -f conftest.err conftest.i conftest.$ac_ext
8512 # OK, works on sane cases. Now check whether nonexistent headers
8513 # can be detected and how.
8514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8515 /* end confdefs.h. */
8516 #include <ac_nonexistent.h>
8517 _ACEOF
8518 if ac_fn_objc_try_cpp "$LINENO"; then :
8519 # Broken: success on invalid input.
8520 continue
8521 else
8522 # Passes both tests.
8523 ac_preproc_ok=:
8524 break
8526 rm -f conftest.err conftest.i conftest.$ac_ext
8528 done
8529 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8530 rm -f conftest.i conftest.err conftest.$ac_ext
8531 if $ac_preproc_ok; then :
8532 break
8535 done
8536 ac_cv_prog_OBJCPP=$OBJCPP
8539 OBJCPP=$ac_cv_prog_OBJCPP
8540 else
8541 ac_cv_prog_OBJCPP=$OBJCPP
8543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCPP" >&5
8544 $as_echo "$OBJCPP" >&6; }
8545 ac_preproc_ok=false
8546 for ac_objc_preproc_warn_flag in '' yes
8548 # Use a header file that comes with gcc, so configuring glibc
8549 # with a fresh cross-compiler works.
8550 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8551 # <limits.h> exists even on freestanding compilers.
8552 # On the NeXT, cc -E runs the code through the compiler's parser,
8553 # not just through cpp. "Syntax error" is here to catch this case.
8554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8555 /* end confdefs.h. */
8556 #ifdef __STDC__
8557 # include <limits.h>
8558 #else
8559 # include <assert.h>
8560 #endif
8561 Syntax error
8562 _ACEOF
8563 if ac_fn_objc_try_cpp "$LINENO"; then :
8565 else
8566 # Broken: fails on valid input.
8567 continue
8569 rm -f conftest.err conftest.i conftest.$ac_ext
8571 # OK, works on sane cases. Now check whether nonexistent headers
8572 # can be detected and how.
8573 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8574 /* end confdefs.h. */
8575 #include <ac_nonexistent.h>
8576 _ACEOF
8577 if ac_fn_objc_try_cpp "$LINENO"; then :
8578 # Broken: success on invalid input.
8579 continue
8580 else
8581 # Passes both tests.
8582 ac_preproc_ok=:
8583 break
8585 rm -f conftest.err conftest.i conftest.$ac_ext
8587 done
8588 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8589 rm -f conftest.i conftest.err conftest.$ac_ext
8590 if $ac_preproc_ok; then :
8592 else
8593 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8594 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8595 as_fn_error $? "Objective C preprocessor \"$OBJCPP\" fails sanity check
8596 See \`config.log' for more details" "$LINENO" 5; }
8599 ac_ext=m
8600 ac_cpp='$OBJCPP $CPPFLAGS'
8601 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8602 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8603 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8606 for ac_header in Metal/Metal.h
8607 do :
8608 ac_fn_objc_check_header_mongrel "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
8609 if test "x$ac_cv_header_Metal_Metal_h" = xyes; then :
8610 cat >>confdefs.h <<_ACEOF
8611 #define HAVE_METAL_METAL_H 1
8612 _ACEOF
8616 done
8618 ac_ext=c
8619 ac_cpp='$CPP $CPPFLAGS'
8620 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8621 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8622 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8624 LIBEXT="dylib"
8625 DLLFLAGS="$DLLFLAGS -fPIC"
8626 LDDLLFLAGS="-fPIC"
8627 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8628 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8629 COREFOUNDATION_LIBS="-framework CoreFoundation"
8631 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8633 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8635 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8637 CORESERVICES_LIBS="-framework CoreServices"
8639 APPKIT_LIBS="-framework AppKit"
8641 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
8644 WINELOADER_LDFLAGS="-Wl,-pie,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8646 wine_can_build_preloader=yes
8647 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs -e _start -ldylib1.o -Wl,-image_base,0x7c400000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
8649 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
8650 if ${ac_cv_cflags__Wl__no_new_main__e__main+:} false; then :
8651 $as_echo_n "(cached) " >&6
8652 else
8653 ac_wine_try_cflags_saved=$CFLAGS
8654 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
8655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8656 /* end confdefs.h. */
8657 int main(int argc, char **argv) { return 0; }
8658 _ACEOF
8659 if ac_fn_c_try_link "$LINENO"; then :
8660 ac_cv_cflags__Wl__no_new_main__e__main=yes
8661 else
8662 ac_cv_cflags__Wl__no_new_main__e__main=no
8664 rm -f core conftest.err conftest.$ac_objext \
8665 conftest$ac_exeext conftest.$ac_ext
8666 CFLAGS=$ac_wine_try_cflags_saved
8668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
8669 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
8670 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes; then :
8671 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
8672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs" >&5
8673 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs... " >&6; }
8674 if ${ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs+:} false; then :
8675 $as_echo_n "(cached) " >&6
8676 else
8677 ac_wine_try_cflags_saved=$CFLAGS
8678 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8680 /* end confdefs.h. */
8681 int main(int argc, char **argv) { return 0; }
8682 _ACEOF
8683 if ac_fn_c_try_link "$LINENO"; then :
8684 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=yes
8685 else
8686 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=no
8688 rm -f core conftest.err conftest.$ac_objext \
8689 conftest$ac_exeext conftest.$ac_ext
8690 CFLAGS=$ac_wine_try_cflags_saved
8692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&5
8693 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&6; }
8694 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" = xyes; then :
8695 EXTRACFLAGS="$EXTRACFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8696 else
8697 { $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
8698 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8699 if ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8700 $as_echo_n "(cached) " >&6
8701 else
8702 ac_wine_try_cflags_saved=$CFLAGS
8703 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8705 /* end confdefs.h. */
8706 int main(int argc, char **argv) { return 0; }
8707 _ACEOF
8708 if ac_fn_c_try_link "$LINENO"; then :
8709 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8710 else
8711 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8713 rm -f core conftest.err conftest.$ac_objext \
8714 conftest$ac_exeext conftest.$ac_ext
8715 CFLAGS=$ac_wine_try_cflags_saved
8717 { $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
8718 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8719 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8720 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8721 else
8722 wine_can_build_preloader=no
8725 else
8726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -nostartfiles -nodefaultlibs" >&5
8727 $as_echo_n "checking whether the compiler supports -nostartfiles -nodefaultlibs... " >&6; }
8728 if ${ac_cv_cflags__nostartfiles__nodefaultlibs+:} false; then :
8729 $as_echo_n "(cached) " >&6
8730 else
8731 ac_wine_try_cflags_saved=$CFLAGS
8732 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs"
8733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8734 /* end confdefs.h. */
8735 int main(int argc, char **argv) { return 0; }
8736 _ACEOF
8737 if ac_fn_c_try_link "$LINENO"; then :
8738 ac_cv_cflags__nostartfiles__nodefaultlibs=yes
8739 else
8740 ac_cv_cflags__nostartfiles__nodefaultlibs=no
8742 rm -f core conftest.err conftest.$ac_objext \
8743 conftest$ac_exeext conftest.$ac_ext
8744 CFLAGS=$ac_wine_try_cflags_saved
8746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__nostartfiles__nodefaultlibs" >&5
8747 $as_echo "$ac_cv_cflags__nostartfiles__nodefaultlibs" >&6; }
8748 if test "x$ac_cv_cflags__nostartfiles__nodefaultlibs" = xyes; then :
8749 EXTRACFLAGS="$EXTRACFLAGS -nostartfiles -nodefaultlibs"
8750 else
8751 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
8752 $as_echo_n "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8753 if ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8754 $as_echo_n "(cached) " >&6
8755 else
8756 ac_wine_try_cflags_saved=$CFLAGS
8757 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8758 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8759 /* end confdefs.h. */
8760 int main(int argc, char **argv) { return 0; }
8761 _ACEOF
8762 if ac_fn_c_try_link "$LINENO"; then :
8763 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8764 else
8765 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8767 rm -f core conftest.err conftest.$ac_objext \
8768 conftest$ac_exeext conftest.$ac_ext
8769 CFLAGS=$ac_wine_try_cflags_saved
8771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
8772 $as_echo "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8773 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8774 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8775 else
8776 wine_can_build_preloader=no
8780 if test "$wine_can_build_preloader" = "yes"
8781 then
8782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8783 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8784 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8785 $as_echo_n "(cached) " >&6
8786 else
8787 ac_wine_try_cflags_saved=$CFLAGS
8788 CFLAGS="$CFLAGS -Wl,-no_pie"
8789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8790 /* end confdefs.h. */
8791 int main(int argc, char **argv) { return 0; }
8792 _ACEOF
8793 if ac_fn_c_try_link "$LINENO"; then :
8794 ac_cv_cflags__Wl__no_pie=yes
8795 else
8796 ac_cv_cflags__Wl__no_pie=no
8798 rm -f core conftest.err conftest.$ac_objext \
8799 conftest$ac_exeext conftest.$ac_ext
8800 CFLAGS=$ac_wine_try_cflags_saved
8802 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8803 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8804 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8805 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
8807 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
8808 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
8809 else
8810 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
8813 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8814 then
8815 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8818 if test "$ac_cv_header_Security_Security_h" = "yes"
8819 then
8820 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8822 ac_save_LIBS="$LIBS"
8823 LIBS="$LIBS $SECURITY_LIBS"
8824 for ac_func in SSLCopyPeerCertificates
8825 do :
8826 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8827 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8828 cat >>confdefs.h <<_ACEOF
8829 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8830 _ACEOF
8833 done
8835 LIBS="$ac_save_LIBS"
8837 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8838 then
8839 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8840 then
8841 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8843 else
8844 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8847 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8848 ac_save_LIBS="$LIBS"
8849 LIBS="$LIBS $COREAUDIO_LIBS"
8850 for ac_func in AUGraphAddNode
8851 do :
8852 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8853 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8854 cat >>confdefs.h <<_ACEOF
8855 #define HAVE_AUGRAPHADDNODE 1
8856 _ACEOF
8859 done
8861 LIBS="$ac_save_LIBS"
8863 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8864 then
8865 OPENAL_LIBS="-framework OpenAL"
8868 cat >>confdefs.h <<_ACEOF
8869 #define HAVE_OPENAL 1
8870 _ACEOF
8872 ac_cv_lib_openal=yes
8874 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8875 then
8876 OPENCL_LIBS="-framework OpenCL"
8878 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8880 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8881 then
8882 ac_save_LIBS="$LIBS"
8883 LIBS="$LIBS $IOKIT_LIBS"
8884 for ac_func in IOHIDManagerCreate
8885 do :
8886 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8887 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8888 cat >>confdefs.h <<_ACEOF
8889 #define HAVE_IOHIDMANAGERCREATE 1
8890 _ACEOF
8893 done
8895 LIBS="$ac_save_LIBS"
8897 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8898 then
8899 ac_save_LIBS="$LIBS"
8900 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8902 $as_echo_n "checking for the QuickTime framework... " >&6; }
8903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8904 /* end confdefs.h. */
8905 #include <QuickTime/ImageCompression.h>
8907 main ()
8909 CodecManagerVersion(NULL);
8911 return 0;
8913 _ACEOF
8914 if ac_fn_c_try_link "$LINENO"; then :
8915 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8916 $as_echo "yes" >&6; }
8917 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8919 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8920 else
8921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8922 $as_echo "no" >&6; }
8923 ac_cv_header_QuickTime_ImageCompression_h=no
8925 rm -f core conftest.err conftest.$ac_objext \
8926 conftest$ac_exeext conftest.$ac_ext
8927 LIBS="$ac_save_LIBS"
8929 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8930 then
8931 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8933 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8934 then
8935 CARBON_LIBS="-framework Carbon"
8938 if test "$ac_cv_header_Metal_Metal_h" = "yes"
8939 then
8940 METAL_LIBS="-framework Metal -framework QuartzCore"
8944 if test "$ac_cv_header_Metal_Metal_h" = "yes"
8945 then
8946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
8947 $as_echo_n "checking whether MTLDevice protocol supports registryID property... " >&6; }
8948 ac_ext=m
8949 ac_cpp='$OBJCPP $CPPFLAGS'
8950 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8951 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8952 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8955 /* end confdefs.h. */
8956 #include <Metal/Metal.h>
8958 main ()
8960 id<MTLDevice> device; device.registryID;
8962 return 0;
8964 _ACEOF
8965 if ac_fn_objc_try_compile "$LINENO"; then :
8966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8967 $as_echo "yes" >&6; }
8969 $as_echo "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
8971 else
8972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8973 $as_echo "no" >&6; }
8975 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8976 ac_ext=c
8977 ac_cpp='$CPP $CPPFLAGS'
8978 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8979 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8980 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8984 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8985 then
8986 ac_save_LIBS="$LIBS"
8987 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8988 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8989 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8990 enable_winemac_drv=${enable_winemac_drv:-yes}
8993 LIBS="$ac_save_LIBS"
8996 if test "x$enable_win16" = "xyes"
8997 then
8998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8999 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
9000 if test "$cross_compiling" = yes; then :
9001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
9002 $as_echo "cross-compiling, assuming yes" >&6; }
9003 else
9004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9005 /* end confdefs.h. */
9006 asm(".text\n"
9007 "bad:\tnop;nop\n"
9008 "good:\tnop;nop\n\t"
9009 ".globl _testfunc\n"
9010 "_testfunc:\tcallw good");
9011 extern void testfunc();
9013 main ()
9015 unsigned short *p = (unsigned short *)testfunc;
9016 return p[0] != 0xe866 || p[1] != 0xfffa
9018 return 0;
9020 _ACEOF
9021 if ac_fn_c_try_run "$LINENO"; then :
9022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9023 $as_echo "yes" >&6; }
9024 else
9025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9026 $as_echo "no" >&6; }
9027 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
9029 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
9030 conftest.$ac_objext conftest.beam conftest.$ac_ext
9035 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
9037 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
9039 WINELOADER_DEPENDS="wine_info.plist"
9041 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
9042 TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.dylib"
9045 linux-android*)
9046 DLLFLAGS="$DLLFLAGS -fPIC"
9047 LDDLLFLAGS="-fPIC"
9048 LDEXECFLAGS="-Wl,-pie"
9049 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9051 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9052 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
9053 $as_echo_n "(cached) " >&6
9054 else
9055 ac_wine_try_cflags_saved=$CFLAGS
9056 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9058 /* end confdefs.h. */
9059 int main(int argc, char **argv) { return 0; }
9060 _ACEOF
9061 if ac_fn_c_try_link "$LINENO"; then :
9062 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9063 else
9064 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9066 rm -f core conftest.err conftest.$ac_objext \
9067 conftest$ac_exeext conftest.$ac_ext
9068 CFLAGS=$ac_wine_try_cflags_saved
9070 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9071 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9072 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
9073 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9075 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000"
9076 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
9077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
9078 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
9079 if eval \${$as_ac_var+:} false; then :
9080 $as_echo_n "(cached) " >&6
9081 else
9082 ac_wine_try_cflags_saved=$CFLAGS
9083 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
9084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9085 /* end confdefs.h. */
9086 int main(int argc, char **argv) { return 0; }
9087 _ACEOF
9088 if ac_fn_c_try_link "$LINENO"; then :
9089 eval "$as_ac_var=yes"
9090 else
9091 eval "$as_ac_var=no"
9093 rm -f core conftest.err conftest.$ac_objext \
9094 conftest$ac_exeext conftest.$ac_ext
9095 CFLAGS=$ac_wine_try_cflags_saved
9097 eval ac_res=\$$as_ac_var
9098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9099 $as_echo "$ac_res" >&6; }
9100 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9101 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9102 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9103 else
9104 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
9105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
9106 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
9107 if eval \${$as_ac_var+:} false; then :
9108 $as_echo_n "(cached) " >&6
9109 else
9110 ac_wine_try_cflags_saved=$CFLAGS
9111 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
9112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9113 /* end confdefs.h. */
9114 int main(int argc, char **argv) { return 0; }
9115 _ACEOF
9116 if ac_fn_c_try_link "$LINENO"; then :
9117 eval "$as_ac_var=yes"
9118 else
9119 eval "$as_ac_var=no"
9121 rm -f core conftest.err conftest.$ac_objext \
9122 conftest$ac_exeext conftest.$ac_ext
9123 CFLAGS=$ac_wine_try_cflags_saved
9125 eval ac_res=\$$as_ac_var
9126 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9127 $as_echo "$ac_res" >&6; }
9128 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9129 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9130 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9133 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
9134 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
9135 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
9136 $as_echo_n "(cached) " >&6
9137 else
9138 ac_wine_try_cflags_saved=$CFLAGS
9139 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
9140 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9141 /* end confdefs.h. */
9142 int main(int argc, char **argv) { return 0; }
9143 _ACEOF
9144 if ac_fn_c_try_link "$LINENO"; then :
9145 ac_cv_cflags__Wl___enable_new_dtags=yes
9146 else
9147 ac_cv_cflags__Wl___enable_new_dtags=no
9149 rm -f core conftest.err conftest.$ac_objext \
9150 conftest$ac_exeext conftest.$ac_ext
9151 CFLAGS=$ac_wine_try_cflags_saved
9153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9154 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9155 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
9156 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9159 LIBWINE_SHAREDLIB="libwine.so"
9161 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
9163 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so"
9165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9166 $as_echo_n "checking for -lEGL... " >&6; }
9167 if ${ac_cv_lib_soname_EGL+:} false; then :
9168 $as_echo_n "(cached) " >&6
9169 else
9170 ac_check_soname_save_LIBS=$LIBS
9171 LIBS="-lEGL $LIBS"
9172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9173 /* end confdefs.h. */
9175 /* Override any GCC internal prototype to avoid an error.
9176 Use char because int might match the return type of a GCC
9177 builtin and then its argument prototype would still apply. */
9178 #ifdef __cplusplus
9179 extern "C"
9180 #endif
9181 char eglGetProcAddress ();
9183 main ()
9185 return eglGetProcAddress ();
9187 return 0;
9189 _ACEOF
9190 if ac_fn_c_try_link "$LINENO"; then :
9191 case "$LIBEXT" in
9192 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9193 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'` ;;
9194 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9195 if ${ac_cv_lib_soname_EGL:+false} :; then :
9196 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9197 fi ;;
9198 esac
9199 else
9200 ac_cv_lib_soname_EGL=
9202 rm -f core conftest.err conftest.$ac_objext \
9203 conftest$ac_exeext conftest.$ac_ext
9204 LIBS=$ac_check_soname_save_LIBS
9206 if ${ac_cv_lib_soname_EGL:+false} :; then :
9207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9208 $as_echo "not found" >&6; }
9210 else
9211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
9212 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
9214 cat >>confdefs.h <<_ACEOF
9215 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
9216 _ACEOF
9220 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
9221 $as_echo_n "checking for -lGLESv2... " >&6; }
9222 if ${ac_cv_lib_soname_GLESv2+:} false; then :
9223 $as_echo_n "(cached) " >&6
9224 else
9225 ac_check_soname_save_LIBS=$LIBS
9226 LIBS="-lGLESv2 $LIBS"
9227 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9228 /* end confdefs.h. */
9230 /* Override any GCC internal prototype to avoid an error.
9231 Use char because int might match the return type of a GCC
9232 builtin and then its argument prototype would still apply. */
9233 #ifdef __cplusplus
9234 extern "C"
9235 #endif
9236 char glFlush ();
9238 main ()
9240 return glFlush ();
9242 return 0;
9244 _ACEOF
9245 if ac_fn_c_try_link "$LINENO"; then :
9246 case "$LIBEXT" in
9247 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9248 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'` ;;
9249 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9250 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9251 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9252 fi ;;
9253 esac
9254 else
9255 ac_cv_lib_soname_GLESv2=
9257 rm -f core conftest.err conftest.$ac_objext \
9258 conftest$ac_exeext conftest.$ac_ext
9259 LIBS=$ac_check_soname_save_LIBS
9261 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9263 $as_echo "not found" >&6; }
9265 else
9266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
9267 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
9269 cat >>confdefs.h <<_ACEOF
9270 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
9271 _ACEOF
9276 if test "x$exec_prefix" = xNONE
9277 then
9278 case $host_cpu in
9279 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
9280 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
9281 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
9282 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
9283 esac
9288 case $host_cpu in
9289 *i[3456789]86*)
9290 DLLFLAGS="$DLLFLAGS -fno-PIC"
9291 LDDLLFLAGS="-fno-PIC" ;;
9293 DLLFLAGS="$DLLFLAGS -fPIC"
9294 LDDLLFLAGS="-fPIC" ;;
9295 esac
9296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
9297 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
9298 if ${ac_cv_c_dll_gnuelf+:} false; then :
9299 $as_echo_n "(cached) " >&6
9300 else
9301 ac_wine_try_cflags_saved=$CFLAGS
9302 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
9303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9304 /* end confdefs.h. */
9305 void myfunc() {}
9306 _ACEOF
9307 if ac_fn_c_try_link "$LINENO"; then :
9308 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=yes
9309 else
9310 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=no
9312 rm -f core conftest.err conftest.$ac_objext \
9313 conftest$ac_exeext conftest.$ac_ext
9314 CFLAGS=$ac_wine_try_cflags_saved
9315 if test "x$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic" = xyes; then :
9316 ac_cv_c_dll_gnuelf="yes"
9317 else
9318 ac_cv_c_dll_gnuelf="no"
9321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
9322 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
9323 if test "$ac_cv_c_dll_gnuelf" = "yes"
9324 then
9325 LIBWINE_LDFLAGS="-shared"
9326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-soname,confest.so.1" >&5
9327 $as_echo_n "checking whether the compiler supports -shared -Wl,-soname,confest.so.1... " >&6; }
9328 if ${ac_cv_cflags__shared__Wl__soname_confest_so_1+:} false; then :
9329 $as_echo_n "(cached) " >&6
9330 else
9331 ac_wine_try_cflags_saved=$CFLAGS
9332 CFLAGS="$CFLAGS -shared -Wl,-soname,confest.so.1"
9333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9334 /* end confdefs.h. */
9335 int main(int argc, char **argv) { return 0; }
9336 _ACEOF
9337 if ac_fn_c_try_link "$LINENO"; then :
9338 ac_cv_cflags__shared__Wl__soname_confest_so_1=yes
9339 else
9340 ac_cv_cflags__shared__Wl__soname_confest_so_1=no
9342 rm -f core conftest.err conftest.$ac_objext \
9343 conftest$ac_exeext conftest.$ac_ext
9344 CFLAGS=$ac_wine_try_cflags_saved
9346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__soname_confest_so_1" >&5
9347 $as_echo "$ac_cv_cflags__shared__Wl__soname_confest_so_1" >&6; }
9348 if test "x$ac_cv_cflags__shared__Wl__soname_confest_so_1" = xyes; then :
9349 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
9350 else
9351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-h,confest.so.1" >&5
9352 $as_echo_n "checking whether the compiler supports -shared -Wl,-h,confest.so.1... " >&6; }
9353 if ${ac_cv_cflags__shared__Wl__h_confest_so_1+:} false; then :
9354 $as_echo_n "(cached) " >&6
9355 else
9356 ac_wine_try_cflags_saved=$CFLAGS
9357 CFLAGS="$CFLAGS -shared -Wl,-h,confest.so.1"
9358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9359 /* end confdefs.h. */
9360 int main(int argc, char **argv) { return 0; }
9361 _ACEOF
9362 if ac_fn_c_try_link "$LINENO"; then :
9363 ac_cv_cflags__shared__Wl__h_confest_so_1=yes
9364 else
9365 ac_cv_cflags__shared__Wl__h_confest_so_1=no
9367 rm -f core conftest.err conftest.$ac_objext \
9368 conftest$ac_exeext conftest.$ac_ext
9369 CFLAGS=$ac_wine_try_cflags_saved
9371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__h_confest_so_1" >&5
9372 $as_echo "$ac_cv_cflags__shared__Wl__h_confest_so_1" >&6; }
9373 if test "x$ac_cv_cflags__shared__Wl__h_confest_so_1" = xyes; then :
9374 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
9378 echo '{ global: *; };' >conftest.map
9379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
9380 $as_echo_n "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
9381 if ${ac_cv_cflags__shared__Wl___version_script_conftest_map+:} false; then :
9382 $as_echo_n "(cached) " >&6
9383 else
9384 ac_wine_try_cflags_saved=$CFLAGS
9385 CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
9386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9387 /* end confdefs.h. */
9388 int main(int argc, char **argv) { return 0; }
9389 _ACEOF
9390 if ac_fn_c_try_link "$LINENO"; then :
9391 ac_cv_cflags__shared__Wl___version_script_conftest_map=yes
9392 else
9393 ac_cv_cflags__shared__Wl___version_script_conftest_map=no
9395 rm -f core conftest.err conftest.$ac_objext \
9396 conftest$ac_exeext conftest.$ac_ext
9397 CFLAGS=$ac_wine_try_cflags_saved
9399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl___version_script_conftest_map" >&5
9400 $as_echo "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
9401 if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes; then :
9402 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
9404 rm -f conftest.map
9406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
9407 $as_echo_n "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
9408 if ${ac_cv_cflags__Wl___export_dynamic+:} false; then :
9409 $as_echo_n "(cached) " >&6
9410 else
9411 ac_wine_try_cflags_saved=$CFLAGS
9412 CFLAGS="$CFLAGS -Wl,--export-dynamic"
9413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9414 /* end confdefs.h. */
9415 int main(int argc, char **argv) { return 0; }
9416 _ACEOF
9417 if ac_fn_c_try_link "$LINENO"; then :
9418 ac_cv_cflags__Wl___export_dynamic=yes
9419 else
9420 ac_cv_cflags__Wl___export_dynamic=no
9422 rm -f core conftest.err conftest.$ac_objext \
9423 conftest$ac_exeext conftest.$ac_ext
9424 CFLAGS=$ac_wine_try_cflags_saved
9426 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
9427 $as_echo "$ac_cv_cflags__Wl___export_dynamic" >&6; }
9428 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes; then :
9429 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9431 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000"
9433 as_ac_var=`$as_echo "ac_cv_cflags_-Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
9434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--rpath,\$ORIGIN/../lib" >&5
9435 $as_echo_n "checking whether the compiler supports -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
9436 if eval \${$as_ac_var+:} false; then :
9437 $as_echo_n "(cached) " >&6
9438 else
9439 ac_wine_try_cflags_saved=$CFLAGS
9440 CFLAGS="$CFLAGS -Wl,--rpath,\$ORIGIN/../lib"
9441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9442 /* end confdefs.h. */
9443 int main(int argc, char **argv) { return 0; }
9444 _ACEOF
9445 if ac_fn_c_try_link "$LINENO"; then :
9446 eval "$as_ac_var=yes"
9447 else
9448 eval "$as_ac_var=no"
9450 rm -f core conftest.err conftest.$ac_objext \
9451 conftest$ac_exeext conftest.$ac_ext
9452 CFLAGS=$ac_wine_try_cflags_saved
9454 eval ac_res=\$$as_ac_var
9455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9456 $as_echo "$ac_res" >&6; }
9457 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9458 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9459 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9460 else
9461 as_ac_var=`$as_echo "ac_cv_cflags_-Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
9462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-R,\$ORIGIN/../lib" >&5
9463 $as_echo_n "checking whether the compiler supports -Wl,-R,\$ORIGIN/../lib... " >&6; }
9464 if eval \${$as_ac_var+:} false; then :
9465 $as_echo_n "(cached) " >&6
9466 else
9467 ac_wine_try_cflags_saved=$CFLAGS
9468 CFLAGS="$CFLAGS -Wl,-R,\$ORIGIN/../lib"
9469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9470 /* end confdefs.h. */
9471 int main(int argc, char **argv) { return 0; }
9472 _ACEOF
9473 if ac_fn_c_try_link "$LINENO"; then :
9474 eval "$as_ac_var=yes"
9475 else
9476 eval "$as_ac_var=no"
9478 rm -f core conftest.err conftest.$ac_objext \
9479 conftest$ac_exeext conftest.$ac_ext
9480 CFLAGS=$ac_wine_try_cflags_saved
9482 eval ac_res=\$$as_ac_var
9483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9484 $as_echo "$ac_res" >&6; }
9485 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9486 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9487 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9491 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
9492 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
9493 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
9494 $as_echo_n "(cached) " >&6
9495 else
9496 ac_wine_try_cflags_saved=$CFLAGS
9497 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
9498 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9499 /* end confdefs.h. */
9500 int main(int argc, char **argv) { return 0; }
9501 _ACEOF
9502 if ac_fn_c_try_link "$LINENO"; then :
9503 ac_cv_cflags__Wl___enable_new_dtags=yes
9504 else
9505 ac_cv_cflags__Wl___enable_new_dtags=no
9507 rm -f core conftest.err conftest.$ac_objext \
9508 conftest$ac_exeext conftest.$ac_ext
9509 CFLAGS=$ac_wine_try_cflags_saved
9511 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9512 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9513 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
9514 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9517 case $host_cpu in
9518 *i[3456789]86* | x86_64 | *aarch64*)
9519 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
9520 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
9521 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
9522 $as_echo_n "(cached) " >&6
9523 else
9524 ac_wine_try_cflags_saved=$CFLAGS
9525 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
9526 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9527 /* end confdefs.h. */
9528 int main(int argc, char **argv) { return 0; }
9529 _ACEOF
9530 if ac_fn_c_try_link "$LINENO"; then :
9531 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
9532 else
9533 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
9535 rm -f core conftest.err conftest.$ac_objext \
9536 conftest$ac_exeext conftest.$ac_ext
9537 CFLAGS=$ac_wine_try_cflags_saved
9539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
9540 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
9541 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
9542 case $host_os in
9543 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
9544 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
9545 esac
9546 else
9547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
9548 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
9549 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
9550 $as_echo_n "(cached) " >&6
9551 else
9552 ac_wine_try_cflags_saved=$CFLAGS
9553 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
9554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9555 /* end confdefs.h. */
9556 int main(int argc, char **argv) { return 0; }
9557 _ACEOF
9558 if ac_fn_c_try_link "$LINENO"; then :
9559 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
9560 else
9561 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
9563 rm -f core conftest.err conftest.$ac_objext \
9564 conftest$ac_exeext conftest.$ac_ext
9565 CFLAGS=$ac_wine_try_cflags_saved
9567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
9568 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
9569 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
9570 case $host_os in
9571 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
9572 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
9573 esac
9575 # Extract the first word of "prelink", so it can be a program name with args.
9576 set dummy prelink; ac_word=$2
9577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9578 $as_echo_n "checking for $ac_word... " >&6; }
9579 if ${ac_cv_path_PRELINK+:} false; then :
9580 $as_echo_n "(cached) " >&6
9581 else
9582 case $PRELINK in
9583 [\\/]* | ?:[\\/]*)
9584 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
9587 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9588 for as_dir in /sbin /usr/sbin $PATH
9590 IFS=$as_save_IFS
9591 test -z "$as_dir" && as_dir=.
9592 for ac_exec_ext in '' $ac_executable_extensions; do
9593 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9594 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
9595 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9596 break 2
9598 done
9599 done
9600 IFS=$as_save_IFS
9602 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
9604 esac
9606 PRELINK=$ac_cv_path_PRELINK
9607 if test -n "$PRELINK"; then
9608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
9609 $as_echo "$PRELINK" >&6; }
9610 else
9611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9612 $as_echo "no" >&6; }
9616 if test "x$PRELINK" = xfalse
9617 then
9618 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
9621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
9622 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
9623 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
9624 $as_echo_n "(cached) " >&6
9625 else
9626 ac_wine_try_cflags_saved=$CFLAGS
9627 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
9628 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9629 /* end confdefs.h. */
9630 int main(int argc, char **argv) { return 0; }
9631 _ACEOF
9632 if ac_fn_c_try_link "$LINENO"; then :
9633 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
9634 else
9635 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
9637 rm -f core conftest.err conftest.$ac_objext \
9638 conftest$ac_exeext conftest.$ac_ext
9639 CFLAGS=$ac_wine_try_cflags_saved
9641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
9642 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
9643 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
9644 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
9647 esac
9649 else
9650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
9651 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
9652 if ${ac_cv_c_dll_unixware+:} false; then :
9653 $as_echo_n "(cached) " >&6
9654 else
9655 ac_wine_try_cflags_saved=$CFLAGS
9656 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9658 /* end confdefs.h. */
9659 void myfunc() {}
9660 _ACEOF
9661 if ac_fn_c_try_link "$LINENO"; then :
9662 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=yes
9663 else
9664 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=no
9666 rm -f core conftest.err conftest.$ac_objext \
9667 conftest$ac_exeext conftest.$ac_ext
9668 CFLAGS=$ac_wine_try_cflags_saved
9669 if test "x$ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic" = xyes; then :
9670 ac_cv_c_dll_unixware="yes"
9671 else
9672 ac_cv_c_dll_unixware="no"
9675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
9676 $as_echo "$ac_cv_c_dll_unixware" >&6; }
9677 if test "$ac_cv_c_dll_unixware" = "yes"
9678 then
9679 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
9682 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
9684 LIBWINE_DEPENDS="wine.map"
9686 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
9687 TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.so"
9689 esac
9691 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
9692 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
9693 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
9694 enable_winemac_drv=${enable_winemac_drv:-no}
9695 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
9697 CROSSTARGET=""
9699 if test "x$with_mingw" != xno
9700 then
9701 case "x$with_mingw" in
9702 x|xyes) case "$host_cpu" in
9703 aarch64*)
9704 ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc" ;;
9705 arm*)
9706 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
9707 i[3456789]86*)
9708 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
9709 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9710 mingw32-gcc" ;;
9711 x86_64)
9712 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
9713 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
9715 ac_prefix_list="" ;;
9716 esac
9717 for ac_prog in $ac_prefix_list
9719 # Extract the first word of "$ac_prog", so it can be a program name with args.
9720 set dummy $ac_prog; ac_word=$2
9721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9722 $as_echo_n "checking for $ac_word... " >&6; }
9723 if ${ac_cv_prog_CROSSCC+:} false; then :
9724 $as_echo_n "(cached) " >&6
9725 else
9726 if test -n "$CROSSCC"; then
9727 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9728 else
9729 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9730 for as_dir in $PATH
9732 IFS=$as_save_IFS
9733 test -z "$as_dir" && as_dir=.
9734 for ac_exec_ext in '' $ac_executable_extensions; do
9735 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9736 ac_cv_prog_CROSSCC="$ac_prog"
9737 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9738 break 2
9740 done
9741 done
9742 IFS=$as_save_IFS
9746 CROSSCC=$ac_cv_prog_CROSSCC
9747 if test -n "$CROSSCC"; then
9748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9749 $as_echo "$CROSSCC" >&6; }
9750 else
9751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9752 $as_echo "no" >&6; }
9756 test -n "$CROSSCC" && break
9757 done
9758 test -n "$CROSSCC" || CROSSCC="false"
9760 *) CROSSCC=$with_mingw ;;
9761 esac
9762 if test "$CROSSCC" != "false"
9763 then
9764 ac_save_CC="$CC"
9765 saved_CFLAGS=$CFLAGS
9766 CROSSCFLAGS=${CROSSCFLAGS:-"-g -O2"}
9768 EXTRACROSSCFLAGS="-DWINE_CROSS_PE -Wall"
9772 CC="$CROSSCC"
9773 CFLAGS=$CROSSCFLAGS
9774 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9775 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9776 if ${wine_cv_crosscc+:} false; then :
9777 $as_echo_n "(cached) " >&6
9778 else
9779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9780 /* end confdefs.h. */
9783 main ()
9787 return 0;
9789 _ACEOF
9790 if ac_fn_c_try_compile "$LINENO"; then :
9791 wine_cv_crosscc=yes
9792 else
9793 wine_cv_crosscc=no
9795 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9797 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_crosscc" >&5
9798 $as_echo "$wine_cv_crosscc" >&6; }
9799 if test $wine_cv_crosscc = yes
9800 then
9801 set x $CROSSCC
9802 shift
9803 while test $# -ge 1
9805 case "$1" in
9806 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
9807 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
9808 esac
9809 shift
9810 done
9812 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-strict-aliasing" >&5
9813 $as_echo_n "checking whether the cross-compiler supports -fno-strict-aliasing... " >&6; }
9814 if ${ac_cv_crosscflags__fno_strict_aliasing+:} false; then :
9815 $as_echo_n "(cached) " >&6
9816 else
9817 ac_wine_try_cflags_saved=$CFLAGS
9818 ac_wine_try_cflags_saved_cc=$CC
9819 ac_wine_try_cflags_saved_exeext=$ac_exeext
9820 CFLAGS="$CFLAGS -fno-strict-aliasing"
9821 CC="$CROSSCC"
9822 ac_exeext=".exe"
9823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9824 /* end confdefs.h. */
9825 int main(int argc, char **argv) { return 0; }
9826 _ACEOF
9827 if ac_fn_c_try_link "$LINENO"; then :
9828 ac_cv_crosscflags__fno_strict_aliasing=yes
9829 else
9830 ac_cv_crosscflags__fno_strict_aliasing=no
9832 rm -f core conftest.err conftest.$ac_objext \
9833 conftest$ac_exeext conftest.$ac_ext
9834 CFLAGS=$ac_wine_try_cflags_saved
9835 CC=$ac_wine_try_cflags_saved_cc
9836 ac_exeext=$ac_wine_try_cflags_saved_exeext
9838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_strict_aliasing" >&5
9839 $as_echo "$ac_cv_crosscflags__fno_strict_aliasing" >&6; }
9840 if test "x$ac_cv_crosscflags__fno_strict_aliasing" = xyes; then :
9841 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-strict-aliasing"
9843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=unknown-warning-option" >&5
9844 $as_echo_n "checking whether the cross-compiler supports -Werror=unknown-warning-option... " >&6; }
9845 if ${ac_cv_crosscflags__Werror_unknown_warning_option+:} false; then :
9846 $as_echo_n "(cached) " >&6
9847 else
9848 ac_wine_try_cflags_saved=$CFLAGS
9849 ac_wine_try_cflags_saved_cc=$CC
9850 ac_wine_try_cflags_saved_exeext=$ac_exeext
9851 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9852 CC="$CROSSCC"
9853 ac_exeext=".exe"
9854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9855 /* end confdefs.h. */
9856 int main(int argc, char **argv) { return 0; }
9857 _ACEOF
9858 if ac_fn_c_try_link "$LINENO"; then :
9859 ac_cv_crosscflags__Werror_unknown_warning_option=yes
9860 else
9861 ac_cv_crosscflags__Werror_unknown_warning_option=no
9863 rm -f core conftest.err conftest.$ac_objext \
9864 conftest$ac_exeext conftest.$ac_ext
9865 CFLAGS=$ac_wine_try_cflags_saved
9866 CC=$ac_wine_try_cflags_saved_cc
9867 ac_exeext=$ac_wine_try_cflags_saved_exeext
9869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_unknown_warning_option" >&5
9870 $as_echo "$ac_cv_crosscflags__Werror_unknown_warning_option" >&6; }
9871 if test "x$ac_cv_crosscflags__Werror_unknown_warning_option" = xyes; then :
9872 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9874 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wdeclaration-after-statement" >&5
9875 $as_echo_n "checking whether the cross-compiler supports -Wdeclaration-after-statement... " >&6; }
9876 if ${ac_cv_crosscflags__Wdeclaration_after_statement+:} false; then :
9877 $as_echo_n "(cached) " >&6
9878 else
9879 ac_wine_try_cflags_saved=$CFLAGS
9880 ac_wine_try_cflags_saved_cc=$CC
9881 ac_wine_try_cflags_saved_exeext=$ac_exeext
9882 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
9883 CC="$CROSSCC"
9884 ac_exeext=".exe"
9885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9886 /* end confdefs.h. */
9887 int main(int argc, char **argv) { return 0; }
9888 _ACEOF
9889 if ac_fn_c_try_link "$LINENO"; then :
9890 ac_cv_crosscflags__Wdeclaration_after_statement=yes
9891 else
9892 ac_cv_crosscflags__Wdeclaration_after_statement=no
9894 rm -f core conftest.err conftest.$ac_objext \
9895 conftest$ac_exeext conftest.$ac_ext
9896 CFLAGS=$ac_wine_try_cflags_saved
9897 CC=$ac_wine_try_cflags_saved_cc
9898 ac_exeext=$ac_wine_try_cflags_saved_exeext
9900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wdeclaration_after_statement" >&5
9901 $as_echo "$ac_cv_crosscflags__Wdeclaration_after_statement" >&6; }
9902 if test "x$ac_cv_crosscflags__Wdeclaration_after_statement" = xyes; then :
9903 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wdeclaration-after-statement"
9905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wempty-body" >&5
9906 $as_echo_n "checking whether the cross-compiler supports -Wempty-body... " >&6; }
9907 if ${ac_cv_crosscflags__Wempty_body+:} false; then :
9908 $as_echo_n "(cached) " >&6
9909 else
9910 ac_wine_try_cflags_saved=$CFLAGS
9911 ac_wine_try_cflags_saved_cc=$CC
9912 ac_wine_try_cflags_saved_exeext=$ac_exeext
9913 CFLAGS="$CFLAGS -Wempty-body"
9914 CC="$CROSSCC"
9915 ac_exeext=".exe"
9916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9917 /* end confdefs.h. */
9918 int main(int argc, char **argv) { return 0; }
9919 _ACEOF
9920 if ac_fn_c_try_link "$LINENO"; then :
9921 ac_cv_crosscflags__Wempty_body=yes
9922 else
9923 ac_cv_crosscflags__Wempty_body=no
9925 rm -f core conftest.err conftest.$ac_objext \
9926 conftest$ac_exeext conftest.$ac_ext
9927 CFLAGS=$ac_wine_try_cflags_saved
9928 CC=$ac_wine_try_cflags_saved_cc
9929 ac_exeext=$ac_wine_try_cflags_saved_exeext
9931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wempty_body" >&5
9932 $as_echo "$ac_cv_crosscflags__Wempty_body" >&6; }
9933 if test "x$ac_cv_crosscflags__Wempty_body" = xyes; then :
9934 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wempty-body"
9936 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wignored-qualifiers" >&5
9937 $as_echo_n "checking whether the cross-compiler supports -Wignored-qualifiers... " >&6; }
9938 if ${ac_cv_crosscflags__Wignored_qualifiers+:} false; then :
9939 $as_echo_n "(cached) " >&6
9940 else
9941 ac_wine_try_cflags_saved=$CFLAGS
9942 ac_wine_try_cflags_saved_cc=$CC
9943 ac_wine_try_cflags_saved_exeext=$ac_exeext
9944 CFLAGS="$CFLAGS -Wignored-qualifiers"
9945 CC="$CROSSCC"
9946 ac_exeext=".exe"
9947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9948 /* end confdefs.h. */
9949 int main(int argc, char **argv) { return 0; }
9950 _ACEOF
9951 if ac_fn_c_try_link "$LINENO"; then :
9952 ac_cv_crosscflags__Wignored_qualifiers=yes
9953 else
9954 ac_cv_crosscflags__Wignored_qualifiers=no
9956 rm -f core conftest.err conftest.$ac_objext \
9957 conftest$ac_exeext conftest.$ac_ext
9958 CFLAGS=$ac_wine_try_cflags_saved
9959 CC=$ac_wine_try_cflags_saved_cc
9960 ac_exeext=$ac_wine_try_cflags_saved_exeext
9962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wignored_qualifiers" >&5
9963 $as_echo "$ac_cv_crosscflags__Wignored_qualifiers" >&6; }
9964 if test "x$ac_cv_crosscflags__Wignored_qualifiers" = xyes; then :
9965 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wignored-qualifiers"
9967 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpacked-not-aligned" >&5
9968 $as_echo_n "checking whether the cross-compiler supports -Wpacked-not-aligned... " >&6; }
9969 if ${ac_cv_crosscflags__Wpacked_not_aligned+:} false; then :
9970 $as_echo_n "(cached) " >&6
9971 else
9972 ac_wine_try_cflags_saved=$CFLAGS
9973 ac_wine_try_cflags_saved_cc=$CC
9974 ac_wine_try_cflags_saved_exeext=$ac_exeext
9975 CFLAGS="$CFLAGS -Wpacked-not-aligned"
9976 CC="$CROSSCC"
9977 ac_exeext=".exe"
9978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9979 /* end confdefs.h. */
9980 int main(int argc, char **argv) { return 0; }
9981 _ACEOF
9982 if ac_fn_c_try_link "$LINENO"; then :
9983 ac_cv_crosscflags__Wpacked_not_aligned=yes
9984 else
9985 ac_cv_crosscflags__Wpacked_not_aligned=no
9987 rm -f core conftest.err conftest.$ac_objext \
9988 conftest$ac_exeext conftest.$ac_ext
9989 CFLAGS=$ac_wine_try_cflags_saved
9990 CC=$ac_wine_try_cflags_saved_cc
9991 ac_exeext=$ac_wine_try_cflags_saved_exeext
9993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpacked_not_aligned" >&5
9994 $as_echo "$ac_cv_crosscflags__Wpacked_not_aligned" >&6; }
9995 if test "x$ac_cv_crosscflags__Wpacked_not_aligned" = xyes; then :
9996 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-packed-not-aligned"
9998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpragma-pack" >&5
9999 $as_echo_n "checking whether the cross-compiler supports -Wpragma-pack... " >&6; }
10000 if ${ac_cv_crosscflags__Wpragma_pack+:} false; then :
10001 $as_echo_n "(cached) " >&6
10002 else
10003 ac_wine_try_cflags_saved=$CFLAGS
10004 ac_wine_try_cflags_saved_cc=$CC
10005 ac_wine_try_cflags_saved_exeext=$ac_exeext
10006 CFLAGS="$CFLAGS -Wpragma-pack"
10007 CC="$CROSSCC"
10008 ac_exeext=".exe"
10009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10010 /* end confdefs.h. */
10011 int main(int argc, char **argv) { return 0; }
10012 _ACEOF
10013 if ac_fn_c_try_link "$LINENO"; then :
10014 ac_cv_crosscflags__Wpragma_pack=yes
10015 else
10016 ac_cv_crosscflags__Wpragma_pack=no
10018 rm -f core conftest.err conftest.$ac_objext \
10019 conftest$ac_exeext conftest.$ac_ext
10020 CFLAGS=$ac_wine_try_cflags_saved
10021 CC=$ac_wine_try_cflags_saved_cc
10022 ac_exeext=$ac_wine_try_cflags_saved_exeext
10024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpragma_pack" >&5
10025 $as_echo "$ac_cv_crosscflags__Wpragma_pack" >&6; }
10026 if test "x$ac_cv_crosscflags__Wpragma_pack" = xyes; then :
10027 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-pragma-pack"
10029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wshift-overflow=2" >&5
10030 $as_echo_n "checking whether the cross-compiler supports -Wshift-overflow=2... " >&6; }
10031 if ${ac_cv_crosscflags__Wshift_overflow_2+:} false; then :
10032 $as_echo_n "(cached) " >&6
10033 else
10034 ac_wine_try_cflags_saved=$CFLAGS
10035 ac_wine_try_cflags_saved_cc=$CC
10036 ac_wine_try_cflags_saved_exeext=$ac_exeext
10037 CFLAGS="$CFLAGS -Wshift-overflow=2"
10038 CC="$CROSSCC"
10039 ac_exeext=".exe"
10040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10041 /* end confdefs.h. */
10042 int main(int argc, char **argv) { return 0; }
10043 _ACEOF
10044 if ac_fn_c_try_link "$LINENO"; then :
10045 ac_cv_crosscflags__Wshift_overflow_2=yes
10046 else
10047 ac_cv_crosscflags__Wshift_overflow_2=no
10049 rm -f core conftest.err conftest.$ac_objext \
10050 conftest$ac_exeext conftest.$ac_ext
10051 CFLAGS=$ac_wine_try_cflags_saved
10052 CC=$ac_wine_try_cflags_saved_cc
10053 ac_exeext=$ac_wine_try_cflags_saved_exeext
10055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wshift_overflow_2" >&5
10056 $as_echo "$ac_cv_crosscflags__Wshift_overflow_2" >&6; }
10057 if test "x$ac_cv_crosscflags__Wshift_overflow_2" = xyes; then :
10058 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wshift-overflow=2"
10060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wstrict-prototypes" >&5
10061 $as_echo_n "checking whether the cross-compiler supports -Wstrict-prototypes... " >&6; }
10062 if ${ac_cv_crosscflags__Wstrict_prototypes+:} false; then :
10063 $as_echo_n "(cached) " >&6
10064 else
10065 ac_wine_try_cflags_saved=$CFLAGS
10066 ac_wine_try_cflags_saved_cc=$CC
10067 ac_wine_try_cflags_saved_exeext=$ac_exeext
10068 CFLAGS="$CFLAGS -Wstrict-prototypes"
10069 CC="$CROSSCC"
10070 ac_exeext=".exe"
10071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10072 /* end confdefs.h. */
10073 int main(int argc, char **argv) { return 0; }
10074 _ACEOF
10075 if ac_fn_c_try_link "$LINENO"; then :
10076 ac_cv_crosscflags__Wstrict_prototypes=yes
10077 else
10078 ac_cv_crosscflags__Wstrict_prototypes=no
10080 rm -f core conftest.err conftest.$ac_objext \
10081 conftest$ac_exeext conftest.$ac_ext
10082 CFLAGS=$ac_wine_try_cflags_saved
10083 CC=$ac_wine_try_cflags_saved_cc
10084 ac_exeext=$ac_wine_try_cflags_saved_exeext
10086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wstrict_prototypes" >&5
10087 $as_echo "$ac_cv_crosscflags__Wstrict_prototypes" >&6; }
10088 if test "x$ac_cv_crosscflags__Wstrict_prototypes" = xyes; then :
10089 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wstrict-prototypes"
10091 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wtype-limits" >&5
10092 $as_echo_n "checking whether the cross-compiler supports -Wtype-limits... " >&6; }
10093 if ${ac_cv_crosscflags__Wtype_limits+:} false; then :
10094 $as_echo_n "(cached) " >&6
10095 else
10096 ac_wine_try_cflags_saved=$CFLAGS
10097 ac_wine_try_cflags_saved_cc=$CC
10098 ac_wine_try_cflags_saved_exeext=$ac_exeext
10099 CFLAGS="$CFLAGS -Wtype-limits"
10100 CC="$CROSSCC"
10101 ac_exeext=".exe"
10102 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10103 /* end confdefs.h. */
10104 int main(int argc, char **argv) { return 0; }
10105 _ACEOF
10106 if ac_fn_c_try_link "$LINENO"; then :
10107 ac_cv_crosscflags__Wtype_limits=yes
10108 else
10109 ac_cv_crosscflags__Wtype_limits=no
10111 rm -f core conftest.err conftest.$ac_objext \
10112 conftest$ac_exeext conftest.$ac_ext
10113 CFLAGS=$ac_wine_try_cflags_saved
10114 CC=$ac_wine_try_cflags_saved_cc
10115 ac_exeext=$ac_wine_try_cflags_saved_exeext
10117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wtype_limits" >&5
10118 $as_echo "$ac_cv_crosscflags__Wtype_limits" >&6; }
10119 if test "x$ac_cv_crosscflags__Wtype_limits" = xyes; then :
10120 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wtype-limits"
10122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wunused-but-set-parameter" >&5
10123 $as_echo_n "checking whether the cross-compiler supports -Wunused-but-set-parameter... " >&6; }
10124 if ${ac_cv_crosscflags__Wunused_but_set_parameter+:} false; then :
10125 $as_echo_n "(cached) " >&6
10126 else
10127 ac_wine_try_cflags_saved=$CFLAGS
10128 ac_wine_try_cflags_saved_cc=$CC
10129 ac_wine_try_cflags_saved_exeext=$ac_exeext
10130 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
10131 CC="$CROSSCC"
10132 ac_exeext=".exe"
10133 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10134 /* end confdefs.h. */
10135 int main(int argc, char **argv) { return 0; }
10136 _ACEOF
10137 if ac_fn_c_try_link "$LINENO"; then :
10138 ac_cv_crosscflags__Wunused_but_set_parameter=yes
10139 else
10140 ac_cv_crosscflags__Wunused_but_set_parameter=no
10142 rm -f core conftest.err conftest.$ac_objext \
10143 conftest$ac_exeext conftest.$ac_ext
10144 CFLAGS=$ac_wine_try_cflags_saved
10145 CC=$ac_wine_try_cflags_saved_cc
10146 ac_exeext=$ac_wine_try_cflags_saved_exeext
10148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wunused_but_set_parameter" >&5
10149 $as_echo "$ac_cv_crosscflags__Wunused_but_set_parameter" >&6; }
10150 if test "x$ac_cv_crosscflags__Wunused_but_set_parameter" = xyes; then :
10151 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wunused-but-set-parameter"
10153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wvla" >&5
10154 $as_echo_n "checking whether the cross-compiler supports -Wvla... " >&6; }
10155 if ${ac_cv_crosscflags__Wvla+:} false; then :
10156 $as_echo_n "(cached) " >&6
10157 else
10158 ac_wine_try_cflags_saved=$CFLAGS
10159 ac_wine_try_cflags_saved_cc=$CC
10160 ac_wine_try_cflags_saved_exeext=$ac_exeext
10161 CFLAGS="$CFLAGS -Wvla"
10162 CC="$CROSSCC"
10163 ac_exeext=".exe"
10164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10165 /* end confdefs.h. */
10166 int main(int argc, char **argv) { return 0; }
10167 _ACEOF
10168 if ac_fn_c_try_link "$LINENO"; then :
10169 ac_cv_crosscflags__Wvla=yes
10170 else
10171 ac_cv_crosscflags__Wvla=no
10173 rm -f core conftest.err conftest.$ac_objext \
10174 conftest$ac_exeext conftest.$ac_ext
10175 CFLAGS=$ac_wine_try_cflags_saved
10176 CC=$ac_wine_try_cflags_saved_cc
10177 ac_exeext=$ac_wine_try_cflags_saved_exeext
10179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wvla" >&5
10180 $as_echo "$ac_cv_crosscflags__Wvla" >&6; }
10181 if test "x$ac_cv_crosscflags__Wvla" = xyes; then :
10182 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wvla"
10184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wwrite-strings" >&5
10185 $as_echo_n "checking whether the cross-compiler supports -Wwrite-strings... " >&6; }
10186 if ${ac_cv_crosscflags__Wwrite_strings+:} false; then :
10187 $as_echo_n "(cached) " >&6
10188 else
10189 ac_wine_try_cflags_saved=$CFLAGS
10190 ac_wine_try_cflags_saved_cc=$CC
10191 ac_wine_try_cflags_saved_exeext=$ac_exeext
10192 CFLAGS="$CFLAGS -Wwrite-strings"
10193 CC="$CROSSCC"
10194 ac_exeext=".exe"
10195 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10196 /* end confdefs.h. */
10197 int main(int argc, char **argv) { return 0; }
10198 _ACEOF
10199 if ac_fn_c_try_link "$LINENO"; then :
10200 ac_cv_crosscflags__Wwrite_strings=yes
10201 else
10202 ac_cv_crosscflags__Wwrite_strings=no
10204 rm -f core conftest.err conftest.$ac_objext \
10205 conftest$ac_exeext conftest.$ac_ext
10206 CFLAGS=$ac_wine_try_cflags_saved
10207 CC=$ac_wine_try_cflags_saved_cc
10208 ac_exeext=$ac_wine_try_cflags_saved_exeext
10210 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wwrite_strings" >&5
10211 $as_echo "$ac_cv_crosscflags__Wwrite_strings" >&6; }
10212 if test "x$ac_cv_crosscflags__Wwrite_strings" = xyes; then :
10213 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wwrite-strings"
10215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpointer-arith" >&5
10216 $as_echo_n "checking whether the cross-compiler supports -Wpointer-arith... " >&6; }
10217 if ${ac_cv_crosscflags__Wpointer_arith+:} false; then :
10218 $as_echo_n "(cached) " >&6
10219 else
10220 ac_wine_try_cflags_saved=$CFLAGS
10221 ac_wine_try_cflags_saved_cc=$CC
10222 ac_wine_try_cflags_saved_exeext=$ac_exeext
10223 CFLAGS="$CFLAGS -Wpointer-arith"
10224 CC="$CROSSCC"
10225 ac_exeext=".exe"
10226 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10227 /* end confdefs.h. */
10228 int main(int argc, char **argv) { return 0; }
10229 _ACEOF
10230 if ac_fn_c_try_link "$LINENO"; then :
10231 ac_cv_crosscflags__Wpointer_arith=yes
10232 else
10233 ac_cv_crosscflags__Wpointer_arith=no
10235 rm -f core conftest.err conftest.$ac_objext \
10236 conftest$ac_exeext conftest.$ac_ext
10237 CFLAGS=$ac_wine_try_cflags_saved
10238 CC=$ac_wine_try_cflags_saved_cc
10239 ac_exeext=$ac_wine_try_cflags_saved_exeext
10241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpointer_arith" >&5
10242 $as_echo "$ac_cv_crosscflags__Wpointer_arith" >&6; }
10243 if test "x$ac_cv_crosscflags__Wpointer_arith" = xyes; then :
10244 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wpointer-arith"
10246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wlogical-op" >&5
10247 $as_echo_n "checking whether the cross-compiler supports -Wlogical-op... " >&6; }
10248 if ${ac_cv_crosscflags__Wlogical_op+:} false; then :
10249 $as_echo_n "(cached) " >&6
10250 else
10251 ac_wine_try_cflags_saved=$CFLAGS
10252 ac_wine_try_cflags_saved_cc=$CC
10253 ac_wine_try_cflags_saved_exeext=$ac_exeext
10254 CFLAGS="$CFLAGS -Wlogical-op"
10255 CC="$CROSSCC"
10256 ac_exeext=".exe"
10257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10258 /* end confdefs.h. */
10259 int main(int argc, char **argv) { return 0; }
10260 _ACEOF
10261 if ac_fn_c_try_link "$LINENO"; then :
10262 ac_cv_crosscflags__Wlogical_op=yes
10263 else
10264 ac_cv_crosscflags__Wlogical_op=no
10266 rm -f core conftest.err conftest.$ac_objext \
10267 conftest$ac_exeext conftest.$ac_ext
10268 CFLAGS=$ac_wine_try_cflags_saved
10269 CC=$ac_wine_try_cflags_saved_cc
10270 ac_exeext=$ac_wine_try_cflags_saved_exeext
10272 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wlogical_op" >&5
10273 $as_echo "$ac_cv_crosscflags__Wlogical_op" >&6; }
10274 if test "x$ac_cv_crosscflags__Wlogical_op" = xyes; then :
10275 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wlogical-op"
10277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wincompatible-library-redeclaration" >&5
10278 $as_echo_n "checking whether the cross-compiler supports -Wincompatible-library-redeclaration... " >&6; }
10279 if ${ac_cv_crosscflags__Wincompatible_library_redeclaration+:} false; then :
10280 $as_echo_n "(cached) " >&6
10281 else
10282 ac_wine_try_cflags_saved=$CFLAGS
10283 ac_wine_try_cflags_saved_cc=$CC
10284 ac_wine_try_cflags_saved_exeext=$ac_exeext
10285 CFLAGS="$CFLAGS -Wincompatible-library-redeclaration"
10286 CC="$CROSSCC"
10287 ac_exeext=".exe"
10288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10289 /* end confdefs.h. */
10290 int main(int argc, char **argv) { return 0; }
10291 _ACEOF
10292 if ac_fn_c_try_link "$LINENO"; then :
10293 ac_cv_crosscflags__Wincompatible_library_redeclaration=yes
10294 else
10295 ac_cv_crosscflags__Wincompatible_library_redeclaration=no
10297 rm -f core conftest.err conftest.$ac_objext \
10298 conftest$ac_exeext conftest.$ac_ext
10299 CFLAGS=$ac_wine_try_cflags_saved
10300 CC=$ac_wine_try_cflags_saved_cc
10301 ac_exeext=$ac_wine_try_cflags_saved_exeext
10303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wincompatible_library_redeclaration" >&5
10304 $as_echo "$ac_cv_crosscflags__Wincompatible_library_redeclaration" >&6; }
10305 if test "x$ac_cv_crosscflags__Wincompatible_library_redeclaration" = xyes; then :
10306 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-incompatible-library-redeclaration"
10309 case $host_cpu in
10310 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-omit-frame-pointer" >&5
10311 $as_echo_n "checking whether the cross-compiler supports -fno-omit-frame-pointer... " >&6; }
10312 if ${ac_cv_crosscflags__fno_omit_frame_pointer+:} false; then :
10313 $as_echo_n "(cached) " >&6
10314 else
10315 ac_wine_try_cflags_saved=$CFLAGS
10316 ac_wine_try_cflags_saved_cc=$CC
10317 ac_wine_try_cflags_saved_exeext=$ac_exeext
10318 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
10319 CC="$CROSSCC"
10320 ac_exeext=".exe"
10321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10322 /* end confdefs.h. */
10323 int main(int argc, char **argv) { return 0; }
10324 _ACEOF
10325 if ac_fn_c_try_link "$LINENO"; then :
10326 ac_cv_crosscflags__fno_omit_frame_pointer=yes
10327 else
10328 ac_cv_crosscflags__fno_omit_frame_pointer=no
10330 rm -f core conftest.err conftest.$ac_objext \
10331 conftest$ac_exeext conftest.$ac_ext
10332 CFLAGS=$ac_wine_try_cflags_saved
10333 CC=$ac_wine_try_cflags_saved_cc
10334 ac_exeext=$ac_wine_try_cflags_saved_exeext
10336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_omit_frame_pointer" >&5
10337 $as_echo "$ac_cv_crosscflags__fno_omit_frame_pointer" >&6; }
10338 if test "x$ac_cv_crosscflags__fno_omit_frame_pointer" = xyes; then :
10339 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-omit-frame-pointer"
10340 fi ;;
10341 x86_64) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
10342 $as_echo_n "checking whether the cross-compiler supports -Wno-format... " >&6; }
10343 if ${ac_cv_crosscflags__Wno_format+:} false; then :
10344 $as_echo_n "(cached) " >&6
10345 else
10346 ac_wine_try_cflags_saved=$CFLAGS
10347 ac_wine_try_cflags_saved_cc=$CC
10348 ac_wine_try_cflags_saved_exeext=$ac_exeext
10349 CFLAGS="$CFLAGS -Wno-format"
10350 CC="$CROSSCC"
10351 ac_exeext=".exe"
10352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10353 /* end confdefs.h. */
10354 int main(int argc, char **argv) { return 0; }
10355 _ACEOF
10356 if ac_fn_c_try_link "$LINENO"; then :
10357 ac_cv_crosscflags__Wno_format=yes
10358 else
10359 ac_cv_crosscflags__Wno_format=no
10361 rm -f core conftest.err conftest.$ac_objext \
10362 conftest$ac_exeext conftest.$ac_ext
10363 CFLAGS=$ac_wine_try_cflags_saved
10364 CC=$ac_wine_try_cflags_saved_cc
10365 ac_exeext=$ac_wine_try_cflags_saved_exeext
10367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
10368 $as_echo "$ac_cv_crosscflags__Wno_format" >&6; }
10369 if test "x$ac_cv_crosscflags__Wno_format" = xyes; then :
10370 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
10371 fi ;;
10372 esac
10374 for ac_flag in $CROSSCFLAGS; do
10375 case $ac_flag in
10376 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gdwarf-2" >&5
10377 $as_echo_n "checking whether the cross-compiler supports -gdwarf-2... " >&6; }
10378 if ${ac_cv_crosscflags__gdwarf_2+:} false; then :
10379 $as_echo_n "(cached) " >&6
10380 else
10381 ac_wine_try_cflags_saved=$CFLAGS
10382 ac_wine_try_cflags_saved_cc=$CC
10383 ac_wine_try_cflags_saved_exeext=$ac_exeext
10384 CFLAGS="$CFLAGS -gdwarf-2"
10385 CC="$CROSSCC"
10386 ac_exeext=".exe"
10387 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10388 /* end confdefs.h. */
10389 int main(int argc, char **argv) { return 0; }
10390 _ACEOF
10391 if ac_fn_c_try_link "$LINENO"; then :
10392 ac_cv_crosscflags__gdwarf_2=yes
10393 else
10394 ac_cv_crosscflags__gdwarf_2=no
10396 rm -f core conftest.err conftest.$ac_objext \
10397 conftest$ac_exeext conftest.$ac_ext
10398 CFLAGS=$ac_wine_try_cflags_saved
10399 CC=$ac_wine_try_cflags_saved_cc
10400 ac_exeext=$ac_wine_try_cflags_saved_exeext
10402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gdwarf_2" >&5
10403 $as_echo "$ac_cv_crosscflags__gdwarf_2" >&6; }
10404 if test "x$ac_cv_crosscflags__gdwarf_2" = xyes; then :
10405 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gdwarf-2"
10407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gstrict-dwarf" >&5
10408 $as_echo_n "checking whether the cross-compiler supports -gstrict-dwarf... " >&6; }
10409 if ${ac_cv_crosscflags__gstrict_dwarf+:} false; then :
10410 $as_echo_n "(cached) " >&6
10411 else
10412 ac_wine_try_cflags_saved=$CFLAGS
10413 ac_wine_try_cflags_saved_cc=$CC
10414 ac_wine_try_cflags_saved_exeext=$ac_exeext
10415 CFLAGS="$CFLAGS -gstrict-dwarf"
10416 CC="$CROSSCC"
10417 ac_exeext=".exe"
10418 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10419 /* end confdefs.h. */
10420 int main(int argc, char **argv) { return 0; }
10421 _ACEOF
10422 if ac_fn_c_try_link "$LINENO"; then :
10423 ac_cv_crosscflags__gstrict_dwarf=yes
10424 else
10425 ac_cv_crosscflags__gstrict_dwarf=no
10427 rm -f core conftest.err conftest.$ac_objext \
10428 conftest$ac_exeext conftest.$ac_ext
10429 CFLAGS=$ac_wine_try_cflags_saved
10430 CC=$ac_wine_try_cflags_saved_cc
10431 ac_exeext=$ac_wine_try_cflags_saved_exeext
10433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gstrict_dwarf" >&5
10434 $as_echo "$ac_cv_crosscflags__gstrict_dwarf" >&6; }
10435 if test "x$ac_cv_crosscflags__gstrict_dwarf" = xyes; then :
10436 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gstrict-dwarf"
10437 fi ;;
10438 esac
10439 done
10441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
10442 $as_echo_n "checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
10443 if ${ac_cv_cflags__Wl__delayload_autoconftest_dll+:} false; then :
10444 $as_echo_n "(cached) " >&6
10445 else
10446 ac_wine_try_cflags_saved=$CFLAGS
10447 CFLAGS="$CFLAGS -Wl,-delayload,autoconftest.dll"
10448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10449 /* end confdefs.h. */
10450 int main(int argc, char **argv) { return 0; }
10451 _ACEOF
10452 if ac_fn_c_try_link "$LINENO"; then :
10453 ac_cv_cflags__Wl__delayload_autoconftest_dll=yes
10454 else
10455 ac_cv_cflags__Wl__delayload_autoconftest_dll=no
10457 rm -f core conftest.err conftest.$ac_objext \
10458 conftest$ac_exeext conftest.$ac_ext
10459 CFLAGS=$ac_wine_try_cflags_saved
10461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
10462 $as_echo "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
10463 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes; then :
10464 DELAYLOADFLAG="-Wl,-delayload,"
10468 if test "x$enable_maintainer_mode" = xyes
10469 then
10470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror" >&5
10471 $as_echo_n "checking whether the cross-compiler supports -Werror... " >&6; }
10472 if ${ac_cv_crosscflags__Werror+:} false; then :
10473 $as_echo_n "(cached) " >&6
10474 else
10475 ac_wine_try_cflags_saved=$CFLAGS
10476 ac_wine_try_cflags_saved_cc=$CC
10477 ac_wine_try_cflags_saved_exeext=$ac_exeext
10478 CFLAGS="$CFLAGS -Werror"
10479 CC="$CROSSCC"
10480 ac_exeext=".exe"
10481 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10482 /* end confdefs.h. */
10483 int main(int argc, char **argv) { return 0; }
10484 _ACEOF
10485 if ac_fn_c_try_link "$LINENO"; then :
10486 ac_cv_crosscflags__Werror=yes
10487 else
10488 ac_cv_crosscflags__Werror=no
10490 rm -f core conftest.err conftest.$ac_objext \
10491 conftest$ac_exeext conftest.$ac_ext
10492 CFLAGS=$ac_wine_try_cflags_saved
10493 CC=$ac_wine_try_cflags_saved_cc
10494 ac_exeext=$ac_wine_try_cflags_saved_exeext
10496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror" >&5
10497 $as_echo "$ac_cv_crosscflags__Werror" >&6; }
10498 if test "x$ac_cv_crosscflags__Werror" = xyes; then :
10499 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Werror"
10503 CFLAGS=$saved_CFLAGS
10504 CC="$ac_save_CC"
10507 if test "x$CROSSTARGET" = "x"; then :
10508 case "x$with_mingw" in
10509 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
10510 xno) ;;
10511 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
10512 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
10513 esac
10518 if test "$ac_cv_header_pthread_h" = "yes"
10519 then
10520 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
10521 if test "x$ac_cv_func_pthread_create" = xyes; then :
10523 else
10524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
10525 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
10526 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
10527 $as_echo_n "(cached) " >&6
10528 else
10529 ac_check_lib_save_LIBS=$LIBS
10530 LIBS="-lpthread $LIBS"
10531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10532 /* end confdefs.h. */
10534 /* Override any GCC internal prototype to avoid an error.
10535 Use char because int might match the return type of a GCC
10536 builtin and then its argument prototype would still apply. */
10537 #ifdef __cplusplus
10538 extern "C"
10539 #endif
10540 char pthread_create ();
10542 main ()
10544 return pthread_create ();
10546 return 0;
10548 _ACEOF
10549 if ac_fn_c_try_link "$LINENO"; then :
10550 ac_cv_lib_pthread_pthread_create=yes
10551 else
10552 ac_cv_lib_pthread_pthread_create=no
10554 rm -f core conftest.err conftest.$ac_objext \
10555 conftest$ac_exeext conftest.$ac_ext
10556 LIBS=$ac_check_lib_save_LIBS
10558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
10559 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
10560 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
10561 PTHREAD_LIBS="-lpthread"
10568 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
10569 case "x$with_pthread" in
10570 xno) ;;
10571 *) as_fn_error $? "pthread ${notice_platform}development files not found.
10572 Wine cannot support threads without libpthread.
10573 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
10574 esac
10579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
10580 $as_echo_n "checking for X... " >&6; }
10583 # Check whether --with-x was given.
10584 if test "${with_x+set}" = set; then :
10585 withval=$with_x;
10588 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
10589 if test "x$with_x" = xno; then
10590 # The user explicitly disabled X.
10591 have_x=disabled
10592 else
10593 case $x_includes,$x_libraries in #(
10594 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
10595 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
10596 $as_echo_n "(cached) " >&6
10597 else
10598 # One or both of the vars are not set, and there is no cached value.
10599 ac_x_includes=no ac_x_libraries=no
10600 rm -f -r conftest.dir
10601 if mkdir conftest.dir; then
10602 cd conftest.dir
10603 cat >Imakefile <<'_ACEOF'
10604 incroot:
10605 @echo incroot='${INCROOT}'
10606 usrlibdir:
10607 @echo usrlibdir='${USRLIBDIR}'
10608 libdir:
10609 @echo libdir='${LIBDIR}'
10610 _ACEOF
10611 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
10612 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
10613 for ac_var in incroot usrlibdir libdir; do
10614 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
10615 done
10616 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
10617 for ac_extension in a so sl dylib la dll; do
10618 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
10619 test -f "$ac_im_libdir/libX11.$ac_extension"; then
10620 ac_im_usrlibdir=$ac_im_libdir; break
10622 done
10623 # Screen out bogus values from the imake configuration. They are
10624 # bogus both because they are the default anyway, and because
10625 # using them would break gcc on systems where it needs fixed includes.
10626 case $ac_im_incroot in
10627 /usr/include) ac_x_includes= ;;
10628 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
10629 esac
10630 case $ac_im_usrlibdir in
10631 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
10632 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
10633 esac
10635 cd ..
10636 rm -f -r conftest.dir
10639 # Standard set of common directories for X headers.
10640 # Check X11 before X11Rn because it is often a symlink to the current release.
10641 ac_x_header_dirs='
10642 /usr/X11/include
10643 /usr/X11R7/include
10644 /usr/X11R6/include
10645 /usr/X11R5/include
10646 /usr/X11R4/include
10648 /usr/include/X11
10649 /usr/include/X11R7
10650 /usr/include/X11R6
10651 /usr/include/X11R5
10652 /usr/include/X11R4
10654 /usr/local/X11/include
10655 /usr/local/X11R7/include
10656 /usr/local/X11R6/include
10657 /usr/local/X11R5/include
10658 /usr/local/X11R4/include
10660 /usr/local/include/X11
10661 /usr/local/include/X11R7
10662 /usr/local/include/X11R6
10663 /usr/local/include/X11R5
10664 /usr/local/include/X11R4
10666 /usr/X386/include
10667 /usr/x386/include
10668 /usr/XFree86/include/X11
10670 /usr/include
10671 /usr/local/include
10672 /usr/unsupported/include
10673 /usr/athena/include
10674 /usr/local/x11r5/include
10675 /usr/lpp/Xamples/include
10677 /usr/openwin/include
10678 /usr/openwin/share/include'
10680 if test "$ac_x_includes" = no; then
10681 # Guess where to find include files, by looking for Xlib.h.
10682 # First, try using that file with no special directory specified.
10683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10684 /* end confdefs.h. */
10685 #include <X11/Xlib.h>
10686 _ACEOF
10687 if ac_fn_c_try_cpp "$LINENO"; then :
10688 # We can compile using X headers with no special include directory.
10689 ac_x_includes=
10690 else
10691 for ac_dir in $ac_x_header_dirs; do
10692 if test -r "$ac_dir/X11/Xlib.h"; then
10693 ac_x_includes=$ac_dir
10694 break
10696 done
10698 rm -f conftest.err conftest.i conftest.$ac_ext
10699 fi # $ac_x_includes = no
10701 if test "$ac_x_libraries" = no; then
10702 # Check for the libraries.
10703 # See if we find them without any special options.
10704 # Don't add to $LIBS permanently.
10705 ac_save_LIBS=$LIBS
10706 LIBS="-lX11 $LIBS"
10707 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10708 /* end confdefs.h. */
10709 #include <X11/Xlib.h>
10711 main ()
10713 XrmInitialize ()
10715 return 0;
10717 _ACEOF
10718 if ac_fn_c_try_link "$LINENO"; then :
10719 LIBS=$ac_save_LIBS
10720 # We can link X programs with no special library path.
10721 ac_x_libraries=
10722 else
10723 LIBS=$ac_save_LIBS
10724 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
10726 # Don't even attempt the hair of trying to link an X program!
10727 for ac_extension in a so sl dylib la dll; do
10728 if test -r "$ac_dir/libX11.$ac_extension"; then
10729 ac_x_libraries=$ac_dir
10730 break 2
10732 done
10733 done
10735 rm -f core conftest.err conftest.$ac_objext \
10736 conftest$ac_exeext conftest.$ac_ext
10737 fi # $ac_x_libraries = no
10739 case $ac_x_includes,$ac_x_libraries in #(
10740 no,* | *,no | *\'*)
10741 # Didn't find X, or a directory has "'" in its name.
10742 ac_cv_have_x="have_x=no";; #(
10744 # Record where we found X for the cache.
10745 ac_cv_have_x="have_x=yes\
10746 ac_x_includes='$ac_x_includes'\
10747 ac_x_libraries='$ac_x_libraries'"
10748 esac
10750 ;; #(
10751 *) have_x=yes;;
10752 esac
10753 eval "$ac_cv_have_x"
10754 fi # $with_x != no
10756 if test "$have_x" != yes; then
10757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
10758 $as_echo "$have_x" >&6; }
10759 no_x=yes
10760 else
10761 # If each of the values was on the command line, it overrides each guess.
10762 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
10763 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
10764 # Update the cache value to reflect the command line values.
10765 ac_cv_have_x="have_x=yes\
10766 ac_x_includes='$x_includes'\
10767 ac_x_libraries='$x_libraries'"
10768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
10769 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
10772 if test "$no_x" = yes; then
10773 # Not all programs may use this symbol, but it does not hurt to define it.
10775 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
10777 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
10778 else
10779 if test -n "$x_includes"; then
10780 X_CFLAGS="$X_CFLAGS -I$x_includes"
10783 # It would also be nice to do this for all -L options, not just this one.
10784 if test -n "$x_libraries"; then
10785 X_LIBS="$X_LIBS -L$x_libraries"
10786 # For Solaris; some versions of Sun CC require a space after -R and
10787 # others require no space. Words are not sufficient . . . .
10788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
10789 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
10790 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
10791 ac_xsave_c_werror_flag=$ac_c_werror_flag
10792 ac_c_werror_flag=yes
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: no" >&5
10806 $as_echo "no" >&6; }
10807 X_LIBS="$X_LIBS -R$x_libraries"
10808 else
10809 LIBS="$ac_xsave_LIBS -R $x_libraries"
10810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10811 /* end confdefs.h. */
10814 main ()
10818 return 0;
10820 _ACEOF
10821 if ac_fn_c_try_link "$LINENO"; then :
10822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10823 $as_echo "yes" >&6; }
10824 X_LIBS="$X_LIBS -R $x_libraries"
10825 else
10826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
10827 $as_echo "neither works" >&6; }
10829 rm -f core conftest.err conftest.$ac_objext \
10830 conftest$ac_exeext conftest.$ac_ext
10832 rm -f core conftest.err conftest.$ac_objext \
10833 conftest$ac_exeext conftest.$ac_ext
10834 ac_c_werror_flag=$ac_xsave_c_werror_flag
10835 LIBS=$ac_xsave_LIBS
10838 # Check for system-dependent libraries X programs must link with.
10839 # Do this before checking for the system-independent R6 libraries
10840 # (-lICE), since we may need -lsocket or whatever for X linking.
10842 if test "$ISC" = yes; then
10843 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
10844 else
10845 # Martyn Johnson says this is needed for Ultrix, if the X
10846 # libraries were built with DECnet support. And Karl Berry says
10847 # the Alpha needs dnet_stub (dnet does not exist).
10848 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
10849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10850 /* end confdefs.h. */
10852 /* Override any GCC internal prototype to avoid an error.
10853 Use char because int might match the return type of a GCC
10854 builtin and then its argument prototype would still apply. */
10855 #ifdef __cplusplus
10856 extern "C"
10857 #endif
10858 char XOpenDisplay ();
10860 main ()
10862 return XOpenDisplay ();
10864 return 0;
10866 _ACEOF
10867 if ac_fn_c_try_link "$LINENO"; then :
10869 else
10870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
10871 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
10872 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
10873 $as_echo_n "(cached) " >&6
10874 else
10875 ac_check_lib_save_LIBS=$LIBS
10876 LIBS="-ldnet $LIBS"
10877 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10878 /* end confdefs.h. */
10880 /* Override any GCC internal prototype to avoid an error.
10881 Use char because int might match the return type of a GCC
10882 builtin and then its argument prototype would still apply. */
10883 #ifdef __cplusplus
10884 extern "C"
10885 #endif
10886 char dnet_ntoa ();
10888 main ()
10890 return dnet_ntoa ();
10892 return 0;
10894 _ACEOF
10895 if ac_fn_c_try_link "$LINENO"; then :
10896 ac_cv_lib_dnet_dnet_ntoa=yes
10897 else
10898 ac_cv_lib_dnet_dnet_ntoa=no
10900 rm -f core conftest.err conftest.$ac_objext \
10901 conftest$ac_exeext conftest.$ac_ext
10902 LIBS=$ac_check_lib_save_LIBS
10904 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
10905 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
10906 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
10907 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
10910 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
10911 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
10912 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
10913 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
10914 $as_echo_n "(cached) " >&6
10915 else
10916 ac_check_lib_save_LIBS=$LIBS
10917 LIBS="-ldnet_stub $LIBS"
10918 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10919 /* end confdefs.h. */
10921 /* Override any GCC internal prototype to avoid an error.
10922 Use char because int might match the return type of a GCC
10923 builtin and then its argument prototype would still apply. */
10924 #ifdef __cplusplus
10925 extern "C"
10926 #endif
10927 char dnet_ntoa ();
10929 main ()
10931 return dnet_ntoa ();
10933 return 0;
10935 _ACEOF
10936 if ac_fn_c_try_link "$LINENO"; then :
10937 ac_cv_lib_dnet_stub_dnet_ntoa=yes
10938 else
10939 ac_cv_lib_dnet_stub_dnet_ntoa=no
10941 rm -f core conftest.err conftest.$ac_objext \
10942 conftest$ac_exeext conftest.$ac_ext
10943 LIBS=$ac_check_lib_save_LIBS
10945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
10946 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
10947 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
10948 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
10953 rm -f core conftest.err conftest.$ac_objext \
10954 conftest$ac_exeext conftest.$ac_ext
10955 LIBS="$ac_xsave_LIBS"
10957 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
10958 # to get the SysV transport functions.
10959 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
10960 # needs -lnsl.
10961 # The nsl library prevents programs from opening the X display
10962 # on Irix 5.2, according to T.E. Dickey.
10963 # The functions gethostbyname, getservbyname, and inet_addr are
10964 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
10965 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
10966 if test "x$ac_cv_func_gethostbyname" = xyes; then :
10970 if test $ac_cv_func_gethostbyname = no; then
10971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
10972 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
10973 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
10974 $as_echo_n "(cached) " >&6
10975 else
10976 ac_check_lib_save_LIBS=$LIBS
10977 LIBS="-lnsl $LIBS"
10978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10979 /* end confdefs.h. */
10981 /* Override any GCC internal prototype to avoid an error.
10982 Use char because int might match the return type of a GCC
10983 builtin and then its argument prototype would still apply. */
10984 #ifdef __cplusplus
10985 extern "C"
10986 #endif
10987 char gethostbyname ();
10989 main ()
10991 return gethostbyname ();
10993 return 0;
10995 _ACEOF
10996 if ac_fn_c_try_link "$LINENO"; then :
10997 ac_cv_lib_nsl_gethostbyname=yes
10998 else
10999 ac_cv_lib_nsl_gethostbyname=no
11001 rm -f core conftest.err conftest.$ac_objext \
11002 conftest$ac_exeext conftest.$ac_ext
11003 LIBS=$ac_check_lib_save_LIBS
11005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
11006 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
11007 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
11008 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
11011 if test $ac_cv_lib_nsl_gethostbyname = no; then
11012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
11013 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
11014 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
11015 $as_echo_n "(cached) " >&6
11016 else
11017 ac_check_lib_save_LIBS=$LIBS
11018 LIBS="-lbsd $LIBS"
11019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11020 /* end confdefs.h. */
11022 /* Override any GCC internal prototype to avoid an error.
11023 Use char because int might match the return type of a GCC
11024 builtin and then its argument prototype would still apply. */
11025 #ifdef __cplusplus
11026 extern "C"
11027 #endif
11028 char gethostbyname ();
11030 main ()
11032 return gethostbyname ();
11034 return 0;
11036 _ACEOF
11037 if ac_fn_c_try_link "$LINENO"; then :
11038 ac_cv_lib_bsd_gethostbyname=yes
11039 else
11040 ac_cv_lib_bsd_gethostbyname=no
11042 rm -f core conftest.err conftest.$ac_objext \
11043 conftest$ac_exeext conftest.$ac_ext
11044 LIBS=$ac_check_lib_save_LIBS
11046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
11047 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
11048 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
11049 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
11055 # lieder@skyler.mavd.honeywell.com says without -lsocket,
11056 # socket/setsockopt and other routines are undefined under SCO ODT
11057 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
11058 # on later versions), says Simon Leinen: it contains gethostby*
11059 # variants that don't use the name server (or something). -lsocket
11060 # must be given before -lnsl if both are needed. We assume that
11061 # if connect needs -lnsl, so does gethostbyname.
11062 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
11063 if test "x$ac_cv_func_connect" = xyes; then :
11067 if test $ac_cv_func_connect = no; then
11068 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
11069 $as_echo_n "checking for connect in -lsocket... " >&6; }
11070 if ${ac_cv_lib_socket_connect+:} false; then :
11071 $as_echo_n "(cached) " >&6
11072 else
11073 ac_check_lib_save_LIBS=$LIBS
11074 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
11075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11076 /* end confdefs.h. */
11078 /* Override any GCC internal prototype to avoid an error.
11079 Use char because int might match the return type of a GCC
11080 builtin and then its argument prototype would still apply. */
11081 #ifdef __cplusplus
11082 extern "C"
11083 #endif
11084 char connect ();
11086 main ()
11088 return connect ();
11090 return 0;
11092 _ACEOF
11093 if ac_fn_c_try_link "$LINENO"; then :
11094 ac_cv_lib_socket_connect=yes
11095 else
11096 ac_cv_lib_socket_connect=no
11098 rm -f core conftest.err conftest.$ac_objext \
11099 conftest$ac_exeext conftest.$ac_ext
11100 LIBS=$ac_check_lib_save_LIBS
11102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
11103 $as_echo "$ac_cv_lib_socket_connect" >&6; }
11104 if test "x$ac_cv_lib_socket_connect" = xyes; then :
11105 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
11110 # Guillermo Gomez says -lposix is necessary on A/UX.
11111 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
11112 if test "x$ac_cv_func_remove" = xyes; then :
11116 if test $ac_cv_func_remove = no; then
11117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
11118 $as_echo_n "checking for remove in -lposix... " >&6; }
11119 if ${ac_cv_lib_posix_remove+:} false; then :
11120 $as_echo_n "(cached) " >&6
11121 else
11122 ac_check_lib_save_LIBS=$LIBS
11123 LIBS="-lposix $LIBS"
11124 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11125 /* end confdefs.h. */
11127 /* Override any GCC internal prototype to avoid an error.
11128 Use char because int might match the return type of a GCC
11129 builtin and then its argument prototype would still apply. */
11130 #ifdef __cplusplus
11131 extern "C"
11132 #endif
11133 char remove ();
11135 main ()
11137 return remove ();
11139 return 0;
11141 _ACEOF
11142 if ac_fn_c_try_link "$LINENO"; then :
11143 ac_cv_lib_posix_remove=yes
11144 else
11145 ac_cv_lib_posix_remove=no
11147 rm -f core conftest.err conftest.$ac_objext \
11148 conftest$ac_exeext conftest.$ac_ext
11149 LIBS=$ac_check_lib_save_LIBS
11151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
11152 $as_echo "$ac_cv_lib_posix_remove" >&6; }
11153 if test "x$ac_cv_lib_posix_remove" = xyes; then :
11154 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
11159 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
11160 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
11161 if test "x$ac_cv_func_shmat" = xyes; then :
11165 if test $ac_cv_func_shmat = no; then
11166 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
11167 $as_echo_n "checking for shmat in -lipc... " >&6; }
11168 if ${ac_cv_lib_ipc_shmat+:} false; then :
11169 $as_echo_n "(cached) " >&6
11170 else
11171 ac_check_lib_save_LIBS=$LIBS
11172 LIBS="-lipc $LIBS"
11173 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11174 /* end confdefs.h. */
11176 /* Override any GCC internal prototype to avoid an error.
11177 Use char because int might match the return type of a GCC
11178 builtin and then its argument prototype would still apply. */
11179 #ifdef __cplusplus
11180 extern "C"
11181 #endif
11182 char shmat ();
11184 main ()
11186 return shmat ();
11188 return 0;
11190 _ACEOF
11191 if ac_fn_c_try_link "$LINENO"; then :
11192 ac_cv_lib_ipc_shmat=yes
11193 else
11194 ac_cv_lib_ipc_shmat=no
11196 rm -f core conftest.err conftest.$ac_objext \
11197 conftest$ac_exeext conftest.$ac_ext
11198 LIBS=$ac_check_lib_save_LIBS
11200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
11201 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
11202 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
11203 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
11209 # Check for libraries that X11R6 Xt/Xaw programs need.
11210 ac_save_LDFLAGS=$LDFLAGS
11211 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
11212 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
11213 # check for ICE first), but we must link in the order -lSM -lICE or
11214 # we get undefined symbols. So assume we have SM if we have ICE.
11215 # These have to be linked with before -lX11, unlike the other
11216 # libraries we check for below, so use a different variable.
11217 # John Interrante, Karl Berry
11218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
11219 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
11220 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
11221 $as_echo_n "(cached) " >&6
11222 else
11223 ac_check_lib_save_LIBS=$LIBS
11224 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
11225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11226 /* end confdefs.h. */
11228 /* Override any GCC internal prototype to avoid an error.
11229 Use char because int might match the return type of a GCC
11230 builtin and then its argument prototype would still apply. */
11231 #ifdef __cplusplus
11232 extern "C"
11233 #endif
11234 char IceConnectionNumber ();
11236 main ()
11238 return IceConnectionNumber ();
11240 return 0;
11242 _ACEOF
11243 if ac_fn_c_try_link "$LINENO"; then :
11244 ac_cv_lib_ICE_IceConnectionNumber=yes
11245 else
11246 ac_cv_lib_ICE_IceConnectionNumber=no
11248 rm -f core conftest.err conftest.$ac_objext \
11249 conftest$ac_exeext conftest.$ac_ext
11250 LIBS=$ac_check_lib_save_LIBS
11252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
11253 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
11254 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
11255 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
11258 LDFLAGS=$ac_save_LDFLAGS
11263 if test "$have_x" = "yes"
11264 then
11265 ac_save_CPPFLAGS="$CPPFLAGS"
11266 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
11268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
11269 $as_echo_n "checking for -lX11... " >&6; }
11270 if ${ac_cv_lib_soname_X11+:} false; then :
11271 $as_echo_n "(cached) " >&6
11272 else
11273 ac_check_soname_save_LIBS=$LIBS
11274 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11276 /* end confdefs.h. */
11278 /* Override any GCC internal prototype to avoid an error.
11279 Use char because int might match the return type of a GCC
11280 builtin and then its argument prototype would still apply. */
11281 #ifdef __cplusplus
11282 extern "C"
11283 #endif
11284 char XCreateWindow ();
11286 main ()
11288 return XCreateWindow ();
11290 return 0;
11292 _ACEOF
11293 if ac_fn_c_try_link "$LINENO"; then :
11294 case "$LIBEXT" in
11295 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11296 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'` ;;
11297 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11298 if ${ac_cv_lib_soname_X11:+false} :; then :
11299 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11300 fi ;;
11301 esac
11302 else
11303 ac_cv_lib_soname_X11=
11305 rm -f core conftest.err conftest.$ac_objext \
11306 conftest$ac_exeext conftest.$ac_ext
11307 LIBS=$ac_check_soname_save_LIBS
11309 if ${ac_cv_lib_soname_X11:+false} :; then :
11310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11311 $as_echo "not found" >&6; }
11313 else
11314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
11315 $as_echo "$ac_cv_lib_soname_X11" >&6; }
11317 cat >>confdefs.h <<_ACEOF
11318 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
11319 _ACEOF
11323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
11324 $as_echo_n "checking for -lXext... " >&6; }
11325 if ${ac_cv_lib_soname_Xext+:} false; then :
11326 $as_echo_n "(cached) " >&6
11327 else
11328 ac_check_soname_save_LIBS=$LIBS
11329 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
11330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11331 /* end confdefs.h. */
11333 /* Override any GCC internal prototype to avoid an error.
11334 Use char because int might match the return type of a GCC
11335 builtin and then its argument prototype would still apply. */
11336 #ifdef __cplusplus
11337 extern "C"
11338 #endif
11339 char XextCreateExtension ();
11341 main ()
11343 return XextCreateExtension ();
11345 return 0;
11347 _ACEOF
11348 if ac_fn_c_try_link "$LINENO"; then :
11349 case "$LIBEXT" in
11350 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11351 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'` ;;
11352 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11353 if ${ac_cv_lib_soname_Xext:+false} :; then :
11354 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11355 fi ;;
11356 esac
11357 else
11358 ac_cv_lib_soname_Xext=
11360 rm -f core conftest.err conftest.$ac_objext \
11361 conftest$ac_exeext conftest.$ac_ext
11362 LIBS=$ac_check_soname_save_LIBS
11364 if ${ac_cv_lib_soname_Xext:+false} :; then :
11365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11366 $as_echo "not found" >&6; }
11368 else
11369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
11370 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
11372 cat >>confdefs.h <<_ACEOF
11373 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
11374 _ACEOF
11376 X_LIBS="$X_LIBS -lXext"
11378 X_LIBS="$X_LIBS -lX11"
11380 for ac_header in X11/Xlib.h \
11381 X11/XKBlib.h \
11382 X11/Xutil.h \
11383 X11/Xcursor/Xcursor.h \
11384 X11/extensions/shape.h \
11385 X11/extensions/XInput.h \
11386 X11/extensions/XInput2.h \
11387 X11/extensions/XShm.h \
11388 X11/extensions/Xcomposite.h \
11389 X11/extensions/Xfixes.h \
11390 X11/extensions/Xinerama.h \
11391 X11/extensions/Xrandr.h \
11392 X11/extensions/Xrender.h \
11393 X11/extensions/xf86vmode.h \
11394 X11/extensions/xf86vmproto.h
11395 do :
11396 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11397 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
11398 # include <X11/Xlib.h>
11399 #endif
11400 #ifdef HAVE_X11_XUTIL_H
11401 # include <X11/Xutil.h>
11402 #endif
11404 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11405 cat >>confdefs.h <<_ACEOF
11406 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11407 _ACEOF
11411 done
11414 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
11415 then
11416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
11417 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
11418 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
11419 $as_echo_n "(cached) " >&6
11420 else
11421 ac_check_lib_save_LIBS=$LIBS
11422 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11424 /* end confdefs.h. */
11426 /* Override any GCC internal prototype to avoid an error.
11427 Use char because int might match the return type of a GCC
11428 builtin and then its argument prototype would still apply. */
11429 #ifdef __cplusplus
11430 extern "C"
11431 #endif
11432 char XkbQueryExtension ();
11434 main ()
11436 return XkbQueryExtension ();
11438 return 0;
11440 _ACEOF
11441 if ac_fn_c_try_link "$LINENO"; then :
11442 ac_cv_lib_X11_XkbQueryExtension=yes
11443 else
11444 ac_cv_lib_X11_XkbQueryExtension=no
11446 rm -f core conftest.err conftest.$ac_objext \
11447 conftest$ac_exeext conftest.$ac_ext
11448 LIBS=$ac_check_lib_save_LIBS
11450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
11451 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
11452 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
11454 $as_echo "#define HAVE_XKB 1" >>confdefs.h
11460 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
11461 then
11462 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
11463 $as_echo_n "checking for -lXcursor... " >&6; }
11464 if ${ac_cv_lib_soname_Xcursor+:} false; then :
11465 $as_echo_n "(cached) " >&6
11466 else
11467 ac_check_soname_save_LIBS=$LIBS
11468 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
11469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11470 /* end confdefs.h. */
11472 /* Override any GCC internal prototype to avoid an error.
11473 Use char because int might match the return type of a GCC
11474 builtin and then its argument prototype would still apply. */
11475 #ifdef __cplusplus
11476 extern "C"
11477 #endif
11478 char XcursorImageLoadCursor ();
11480 main ()
11482 return XcursorImageLoadCursor ();
11484 return 0;
11486 _ACEOF
11487 if ac_fn_c_try_link "$LINENO"; then :
11488 case "$LIBEXT" in
11489 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11490 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'` ;;
11491 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11492 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11493 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11494 fi ;;
11495 esac
11496 else
11497 ac_cv_lib_soname_Xcursor=
11499 rm -f core conftest.err conftest.$ac_objext \
11500 conftest$ac_exeext conftest.$ac_ext
11501 LIBS=$ac_check_soname_save_LIBS
11503 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11505 $as_echo "not found" >&6; }
11507 else
11508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
11509 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
11511 cat >>confdefs.h <<_ACEOF
11512 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
11513 _ACEOF
11518 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
11519 case "x$with_xcursor" in
11520 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
11521 xno) ;;
11522 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
11523 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
11524 esac
11528 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
11529 then
11530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
11531 $as_echo_n "checking for -lXi... " >&6; }
11532 if ${ac_cv_lib_soname_Xi+:} false; then :
11533 $as_echo_n "(cached) " >&6
11534 else
11535 ac_check_soname_save_LIBS=$LIBS
11536 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
11537 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11538 /* end confdefs.h. */
11540 /* Override any GCC internal prototype to avoid an error.
11541 Use char because int might match the return type of a GCC
11542 builtin and then its argument prototype would still apply. */
11543 #ifdef __cplusplus
11544 extern "C"
11545 #endif
11546 char XOpenDevice ();
11548 main ()
11550 return XOpenDevice ();
11552 return 0;
11554 _ACEOF
11555 if ac_fn_c_try_link "$LINENO"; then :
11556 case "$LIBEXT" in
11557 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11558 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'` ;;
11559 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11560 if ${ac_cv_lib_soname_Xi:+false} :; then :
11561 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11562 fi ;;
11563 esac
11564 else
11565 ac_cv_lib_soname_Xi=
11567 rm -f core conftest.err conftest.$ac_objext \
11568 conftest$ac_exeext conftest.$ac_ext
11569 LIBS=$ac_check_soname_save_LIBS
11571 if ${ac_cv_lib_soname_Xi:+false} :; then :
11572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11573 $as_echo "not found" >&6; }
11575 else
11576 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
11577 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
11579 cat >>confdefs.h <<_ACEOF
11580 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
11581 _ACEOF
11586 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
11587 case "x$with_xinput" in
11588 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
11589 xno) ;;
11590 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
11591 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
11592 esac
11596 if test "x$ac_cv_lib_soname_Xi" != x
11597 then
11598 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
11599 case "x$with_xinput2" in
11600 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
11601 xno) ;;
11602 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
11603 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
11604 esac
11609 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
11610 then
11611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
11612 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
11613 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
11614 $as_echo_n "(cached) " >&6
11615 else
11616 ac_check_lib_save_LIBS=$LIBS
11617 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11619 /* end confdefs.h. */
11621 /* Override any GCC internal prototype to avoid an error.
11622 Use char because int might match the return type of a GCC
11623 builtin and then its argument prototype would still apply. */
11624 #ifdef __cplusplus
11625 extern "C"
11626 #endif
11627 char XShmQueryExtension ();
11629 main ()
11631 return XShmQueryExtension ();
11633 return 0;
11635 _ACEOF
11636 if ac_fn_c_try_link "$LINENO"; then :
11637 ac_cv_lib_Xext_XShmQueryExtension=yes
11638 else
11639 ac_cv_lib_Xext_XShmQueryExtension=no
11641 rm -f core conftest.err conftest.$ac_objext \
11642 conftest$ac_exeext conftest.$ac_ext
11643 LIBS=$ac_check_lib_save_LIBS
11645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
11646 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
11647 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
11649 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
11654 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
11655 case "x$with_xshm" in
11656 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
11657 xno) ;;
11658 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
11659 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
11660 esac
11664 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
11665 then
11666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
11667 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
11668 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
11669 $as_echo_n "(cached) " >&6
11670 else
11671 ac_check_lib_save_LIBS=$LIBS
11672 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11673 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11674 /* end confdefs.h. */
11676 /* Override any GCC internal prototype to avoid an error.
11677 Use char because int might match the return type of a GCC
11678 builtin and then its argument prototype would still apply. */
11679 #ifdef __cplusplus
11680 extern "C"
11681 #endif
11682 char XShapeQueryExtension ();
11684 main ()
11686 return XShapeQueryExtension ();
11688 return 0;
11690 _ACEOF
11691 if ac_fn_c_try_link "$LINENO"; then :
11692 ac_cv_lib_Xext_XShapeQueryExtension=yes
11693 else
11694 ac_cv_lib_Xext_XShapeQueryExtension=no
11696 rm -f core conftest.err conftest.$ac_objext \
11697 conftest$ac_exeext conftest.$ac_ext
11698 LIBS=$ac_check_lib_save_LIBS
11700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
11701 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
11702 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
11704 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
11709 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
11710 case "x$with_xshape" in
11711 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
11712 xno) ;;
11713 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
11714 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
11715 esac
11719 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
11720 then
11721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
11722 $as_echo_n "checking for -lXxf86vm... " >&6; }
11723 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
11724 $as_echo_n "(cached) " >&6
11725 else
11726 ac_check_soname_save_LIBS=$LIBS
11727 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
11728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11729 /* end confdefs.h. */
11731 /* Override any GCC internal prototype to avoid an error.
11732 Use char because int might match the return type of a GCC
11733 builtin and then its argument prototype would still apply. */
11734 #ifdef __cplusplus
11735 extern "C"
11736 #endif
11737 char XF86VidModeQueryExtension ();
11739 main ()
11741 return XF86VidModeQueryExtension ();
11743 return 0;
11745 _ACEOF
11746 if ac_fn_c_try_link "$LINENO"; then :
11747 case "$LIBEXT" in
11748 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11749 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'` ;;
11750 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11751 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
11752 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11753 fi ;;
11754 esac
11755 else
11756 ac_cv_lib_soname_Xxf86vm=
11758 rm -f core conftest.err conftest.$ac_objext \
11759 conftest$ac_exeext conftest.$ac_ext
11760 LIBS=$ac_check_soname_save_LIBS
11762 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
11763 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11764 $as_echo "not found" >&6; }
11766 else
11767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
11768 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
11770 cat >>confdefs.h <<_ACEOF
11771 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
11772 _ACEOF
11777 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
11778 case "x$with_xxf86vm" in
11779 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
11780 xno) ;;
11781 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
11782 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
11783 esac
11787 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
11788 then
11789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
11790 $as_echo_n "checking for -lXrender... " >&6; }
11791 if ${ac_cv_lib_soname_Xrender+:} false; then :
11792 $as_echo_n "(cached) " >&6
11793 else
11794 ac_check_soname_save_LIBS=$LIBS
11795 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
11796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11797 /* end confdefs.h. */
11799 /* Override any GCC internal prototype to avoid an error.
11800 Use char because int might match the return type of a GCC
11801 builtin and then its argument prototype would still apply. */
11802 #ifdef __cplusplus
11803 extern "C"
11804 #endif
11805 char XRenderQueryExtension ();
11807 main ()
11809 return XRenderQueryExtension ();
11811 return 0;
11813 _ACEOF
11814 if ac_fn_c_try_link "$LINENO"; then :
11815 case "$LIBEXT" in
11816 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11817 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'` ;;
11818 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11819 if ${ac_cv_lib_soname_Xrender:+false} :; then :
11820 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11821 fi ;;
11822 esac
11823 else
11824 ac_cv_lib_soname_Xrender=
11826 rm -f core conftest.err conftest.$ac_objext \
11827 conftest$ac_exeext conftest.$ac_ext
11828 LIBS=$ac_check_soname_save_LIBS
11830 if ${ac_cv_lib_soname_Xrender:+false} :; then :
11831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11832 $as_echo "not found" >&6; }
11834 else
11835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
11836 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
11838 cat >>confdefs.h <<_ACEOF
11839 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
11840 _ACEOF
11842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
11843 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
11844 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
11845 $as_echo_n "(cached) " >&6
11846 else
11847 ac_check_lib_save_LIBS=$LIBS
11848 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
11849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11850 /* end confdefs.h. */
11852 /* Override any GCC internal prototype to avoid an error.
11853 Use char because int might match the return type of a GCC
11854 builtin and then its argument prototype would still apply. */
11855 #ifdef __cplusplus
11856 extern "C"
11857 #endif
11858 char XRenderSetPictureTransform ();
11860 main ()
11862 return XRenderSetPictureTransform ();
11864 return 0;
11866 _ACEOF
11867 if ac_fn_c_try_link "$LINENO"; then :
11868 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
11869 else
11870 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
11872 rm -f core conftest.err conftest.$ac_objext \
11873 conftest$ac_exeext conftest.$ac_ext
11874 LIBS=$ac_check_lib_save_LIBS
11876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
11877 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
11878 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
11880 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
11884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
11885 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
11886 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
11887 $as_echo_n "(cached) " >&6
11888 else
11889 ac_check_lib_save_LIBS=$LIBS
11890 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
11891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11892 /* end confdefs.h. */
11894 /* Override any GCC internal prototype to avoid an error.
11895 Use char because int might match the return type of a GCC
11896 builtin and then its argument prototype would still apply. */
11897 #ifdef __cplusplus
11898 extern "C"
11899 #endif
11900 char XRenderCreateLinearGradient ();
11902 main ()
11904 return XRenderCreateLinearGradient ();
11906 return 0;
11908 _ACEOF
11909 if ac_fn_c_try_link "$LINENO"; then :
11910 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
11911 else
11912 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
11914 rm -f core conftest.err conftest.$ac_objext \
11915 conftest$ac_exeext conftest.$ac_ext
11916 LIBS=$ac_check_lib_save_LIBS
11918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
11919 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
11920 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
11922 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
11929 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
11930 case "x$with_xrender" in
11931 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
11932 xno) ;;
11933 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
11934 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
11935 esac
11939 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
11940 then
11941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11942 /* end confdefs.h. */
11943 #include <X11/Xlib.h>
11944 #include <X11/extensions/Xrandr.h>
11946 main ()
11948 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
11950 return 0;
11952 _ACEOF
11953 if ac_fn_c_try_compile "$LINENO"; then :
11954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
11955 $as_echo_n "checking for -lXrandr... " >&6; }
11956 if ${ac_cv_lib_soname_Xrandr+:} false; then :
11957 $as_echo_n "(cached) " >&6
11958 else
11959 ac_check_soname_save_LIBS=$LIBS
11960 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
11961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11962 /* end confdefs.h. */
11964 /* Override any GCC internal prototype to avoid an error.
11965 Use char because int might match the return type of a GCC
11966 builtin and then its argument prototype would still apply. */
11967 #ifdef __cplusplus
11968 extern "C"
11969 #endif
11970 char XRRQueryExtension ();
11972 main ()
11974 return XRRQueryExtension ();
11976 return 0;
11978 _ACEOF
11979 if ac_fn_c_try_link "$LINENO"; then :
11980 case "$LIBEXT" in
11981 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11982 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'` ;;
11983 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11984 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
11985 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11986 fi ;;
11987 esac
11988 else
11989 ac_cv_lib_soname_Xrandr=
11991 rm -f core conftest.err conftest.$ac_objext \
11992 conftest$ac_exeext conftest.$ac_ext
11993 LIBS=$ac_check_soname_save_LIBS
11995 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
11996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11997 $as_echo "not found" >&6; }
11999 else
12000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
12001 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
12003 cat >>confdefs.h <<_ACEOF
12004 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
12005 _ACEOF
12007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12008 /* end confdefs.h. */
12009 #include <X11/Xlib.h>
12010 #include <X11/extensions/Xrandr.h>
12012 main ()
12014 static typeof(XRRGetScreenResources) *f; if (f) return 0;
12016 return 0;
12018 _ACEOF
12019 if ac_fn_c_try_compile "$LINENO"; then :
12021 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
12024 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12026 /* end confdefs.h. */
12027 #include <X11/Xlib.h>
12028 #include <X11/extensions/Xrandr.h>
12030 main ()
12032 static typeof(XRRGetProviderResources) *f; if (f) return 0;
12034 return 0;
12036 _ACEOF
12037 if ac_fn_c_try_compile "$LINENO"; then :
12039 $as_echo "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
12041 else
12042 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
12044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12047 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12049 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
12050 case "x$with_xrandr" in
12051 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
12052 xno) ;;
12053 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
12054 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
12055 esac
12059 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
12060 then
12061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12062 /* end confdefs.h. */
12063 #include <X11/Xlib.h>
12064 #include <X11/extensions/Xfixes.h>
12066 main ()
12068 static typeof(XFixesQueryVersion) * func; if (func) return 0;
12070 return 0;
12072 _ACEOF
12073 if ac_fn_c_try_compile "$LINENO"; then :
12074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
12075 $as_echo_n "checking for -lXfixes... " >&6; }
12076 if ${ac_cv_lib_soname_Xfixes+:} false; then :
12077 $as_echo_n "(cached) " >&6
12078 else
12079 ac_check_soname_save_LIBS=$LIBS
12080 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
12081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12082 /* end confdefs.h. */
12084 /* Override any GCC internal prototype to avoid an error.
12085 Use char because int might match the return type of a GCC
12086 builtin and then its argument prototype would still apply. */
12087 #ifdef __cplusplus
12088 extern "C"
12089 #endif
12090 char XFixesQueryVersion ();
12092 main ()
12094 return XFixesQueryVersion ();
12096 return 0;
12098 _ACEOF
12099 if ac_fn_c_try_link "$LINENO"; then :
12100 case "$LIBEXT" in
12101 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12102 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'` ;;
12103 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12104 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12105 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12106 fi ;;
12107 esac
12108 else
12109 ac_cv_lib_soname_Xfixes=
12111 rm -f core conftest.err conftest.$ac_objext \
12112 conftest$ac_exeext conftest.$ac_ext
12113 LIBS=$ac_check_soname_save_LIBS
12115 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12117 $as_echo "not found" >&6; }
12119 else
12120 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
12121 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
12123 cat >>confdefs.h <<_ACEOF
12124 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
12125 _ACEOF
12130 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12132 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
12133 case "x$with_xfixes" in
12134 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
12135 xno) ;;
12136 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
12137 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
12138 esac
12142 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
12143 then
12144 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12145 /* end confdefs.h. */
12146 #include <X11/Xlib.h>
12147 #include <X11/extensions/Xinerama.h>
12149 main ()
12151 static typeof(XineramaQueryScreens) * func; if (func) return 0;
12153 return 0;
12155 _ACEOF
12156 if ac_fn_c_try_compile "$LINENO"; then :
12157 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
12158 $as_echo_n "checking for -lXinerama... " >&6; }
12159 if ${ac_cv_lib_soname_Xinerama+:} false; then :
12160 $as_echo_n "(cached) " >&6
12161 else
12162 ac_check_soname_save_LIBS=$LIBS
12163 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
12164 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12165 /* end confdefs.h. */
12167 /* Override any GCC internal prototype to avoid an error.
12168 Use char because int might match the return type of a GCC
12169 builtin and then its argument prototype would still apply. */
12170 #ifdef __cplusplus
12171 extern "C"
12172 #endif
12173 char XineramaQueryScreens ();
12175 main ()
12177 return XineramaQueryScreens ();
12179 return 0;
12181 _ACEOF
12182 if ac_fn_c_try_link "$LINENO"; then :
12183 case "$LIBEXT" in
12184 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12185 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'` ;;
12186 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12187 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12188 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12189 fi ;;
12190 esac
12191 else
12192 ac_cv_lib_soname_Xinerama=
12194 rm -f core conftest.err conftest.$ac_objext \
12195 conftest$ac_exeext conftest.$ac_ext
12196 LIBS=$ac_check_soname_save_LIBS
12198 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12200 $as_echo "not found" >&6; }
12202 else
12203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
12204 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
12206 cat >>confdefs.h <<_ACEOF
12207 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
12208 _ACEOF
12213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12215 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
12216 case "x$with_xinerama" in
12217 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
12218 xno) ;;
12219 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
12220 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
12221 esac
12225 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
12226 then
12227 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
12228 $as_echo_n "checking for -lXcomposite... " >&6; }
12229 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
12230 $as_echo_n "(cached) " >&6
12231 else
12232 ac_check_soname_save_LIBS=$LIBS
12233 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
12234 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12235 /* end confdefs.h. */
12237 /* Override any GCC internal prototype to avoid an error.
12238 Use char because int might match the return type of a GCC
12239 builtin and then its argument prototype would still apply. */
12240 #ifdef __cplusplus
12241 extern "C"
12242 #endif
12243 char XCompositeRedirectWindow ();
12245 main ()
12247 return XCompositeRedirectWindow ();
12249 return 0;
12251 _ACEOF
12252 if ac_fn_c_try_link "$LINENO"; then :
12253 case "$LIBEXT" in
12254 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12255 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'` ;;
12256 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12257 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12258 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12259 fi ;;
12260 esac
12261 else
12262 ac_cv_lib_soname_Xcomposite=
12264 rm -f core conftest.err conftest.$ac_objext \
12265 conftest$ac_exeext conftest.$ac_ext
12266 LIBS=$ac_check_soname_save_LIBS
12268 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12270 $as_echo "not found" >&6; }
12272 else
12273 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
12274 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
12276 cat >>confdefs.h <<_ACEOF
12277 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
12278 _ACEOF
12283 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
12284 case "x$with_xcomposite" in
12285 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
12286 xno) ;;
12287 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
12288 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
12289 esac
12293 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
12294 #include <X11/Xlib.h>
12295 #endif
12297 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
12299 cat >>confdefs.h <<_ACEOF
12300 #define HAVE_XICCALLBACK_CALLBACK 1
12301 _ACEOF
12305 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
12306 #include <X11/Xlib.h>
12307 #endif
12309 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
12311 cat >>confdefs.h <<_ACEOF
12312 #define HAVE_XEVENT_XCOOKIE 1
12313 _ACEOF
12320 opengl_msg=""
12321 if test "x$with_opengl" != "xno"
12322 then
12323 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12324 $as_echo_n "checking for -lGL... " >&6; }
12325 if ${ac_cv_lib_soname_GL+:} false; then :
12326 $as_echo_n "(cached) " >&6
12327 else
12328 ac_check_soname_save_LIBS=$LIBS
12329 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12331 /* end confdefs.h. */
12333 /* Override any GCC internal prototype to avoid an error.
12334 Use char because int might match the return type of a GCC
12335 builtin and then its argument prototype would still apply. */
12336 #ifdef __cplusplus
12337 extern "C"
12338 #endif
12339 char glXCreateContext ();
12341 main ()
12343 return glXCreateContext ();
12345 return 0;
12347 _ACEOF
12348 if ac_fn_c_try_link "$LINENO"; then :
12349 case "$LIBEXT" in
12350 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12351 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'` ;;
12352 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12353 if ${ac_cv_lib_soname_GL:+false} :; then :
12354 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12355 fi ;;
12356 esac
12357 else
12358 ac_cv_lib_soname_GL=
12360 rm -f core conftest.err conftest.$ac_objext \
12361 conftest$ac_exeext conftest.$ac_ext
12362 LIBS=$ac_check_soname_save_LIBS
12364 if ${ac_cv_lib_soname_GL:+false} :; then :
12365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12366 $as_echo "not found" >&6; }
12367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12368 $as_echo_n "checking for -lGL... " >&6; }
12369 if ${ac_cv_lib_soname_GL+:} false; then :
12370 $as_echo_n "(cached) " >&6
12371 else
12372 ac_check_soname_save_LIBS=$LIBS
12373 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"
12374 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12375 /* end confdefs.h. */
12377 /* Override any GCC internal prototype to avoid an error.
12378 Use char because int might match the return type of a GCC
12379 builtin and then its argument prototype would still apply. */
12380 #ifdef __cplusplus
12381 extern "C"
12382 #endif
12383 char glXCreateContext ();
12385 main ()
12387 return glXCreateContext ();
12389 return 0;
12391 _ACEOF
12392 if ac_fn_c_try_link "$LINENO"; then :
12393 case "$LIBEXT" in
12394 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12395 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'` ;;
12396 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12397 if ${ac_cv_lib_soname_GL:+false} :; then :
12398 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12399 fi ;;
12400 esac
12401 else
12402 ac_cv_lib_soname_GL=
12404 rm -f core conftest.err conftest.$ac_objext \
12405 conftest$ac_exeext conftest.$ac_ext
12406 LIBS=$ac_check_soname_save_LIBS
12408 if ${ac_cv_lib_soname_GL:+false} :; then :
12409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12410 $as_echo "not found" >&6; }
12411 if test -f /usr/X11R6/lib/libGL.a
12412 then
12413 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
12414 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
12415 else
12416 opengl_msg="No OpenGL library found on this system."
12418 else
12419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12420 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12422 cat >>confdefs.h <<_ACEOF
12423 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12424 _ACEOF
12426 OPENGL_LIBS="-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"
12428 else
12429 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12430 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12432 cat >>confdefs.h <<_ACEOF
12433 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12434 _ACEOF
12436 OPENGL_LIBS="-lGL"
12438 if test "x$with_glu" != "xno"
12439 then
12440 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
12441 $as_echo_n "checking for -lGLU... " >&6; }
12442 if ${ac_cv_lib_soname_GLU+:} false; then :
12443 $as_echo_n "(cached) " >&6
12444 else
12445 ac_check_soname_save_LIBS=$LIBS
12446 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12448 /* end confdefs.h. */
12450 /* Override any GCC internal prototype to avoid an error.
12451 Use char because int might match the return type of a GCC
12452 builtin and then its argument prototype would still apply. */
12453 #ifdef __cplusplus
12454 extern "C"
12455 #endif
12456 char gluLookAt ();
12458 main ()
12460 return gluLookAt ();
12462 return 0;
12464 _ACEOF
12465 if ac_fn_c_try_link "$LINENO"; then :
12466 case "$LIBEXT" in
12467 dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12468 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'` ;;
12469 *) ac_cv_lib_soname_GLU=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLU\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLU\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12470 if ${ac_cv_lib_soname_GLU:+false} :; then :
12471 ac_cv_lib_soname_GLU=`$LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12472 fi ;;
12473 esac
12474 else
12475 ac_cv_lib_soname_GLU=
12477 rm -f core conftest.err conftest.$ac_objext \
12478 conftest$ac_exeext conftest.$ac_ext
12479 LIBS=$ac_check_soname_save_LIBS
12481 if ${ac_cv_lib_soname_GLU:+false} :; then :
12482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12483 $as_echo "not found" >&6; }
12485 else
12486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
12487 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
12489 cat >>confdefs.h <<_ACEOF
12490 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
12491 _ACEOF
12495 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
12496 case "x$with_glu" in
12497 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
12498 xno) ;;
12499 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
12500 This is an error since --with-glu was requested." "$LINENO" 5 ;;
12501 esac
12506 if test "x$with_osmesa" != "xno"
12507 then
12508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
12509 $as_echo_n "checking for -lOSMesa... " >&6; }
12510 if ${ac_cv_lib_soname_OSMesa+:} false; then :
12511 $as_echo_n "(cached) " >&6
12512 else
12513 ac_check_soname_save_LIBS=$LIBS
12514 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12516 /* end confdefs.h. */
12518 /* Override any GCC internal prototype to avoid an error.
12519 Use char because int might match the return type of a GCC
12520 builtin and then its argument prototype would still apply. */
12521 #ifdef __cplusplus
12522 extern "C"
12523 #endif
12524 char OSMesaGetProcAddress ();
12526 main ()
12528 return OSMesaGetProcAddress ();
12530 return 0;
12532 _ACEOF
12533 if ac_fn_c_try_link "$LINENO"; then :
12534 case "$LIBEXT" in
12535 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12536 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'` ;;
12537 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12538 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12539 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12540 fi ;;
12541 esac
12542 else
12543 ac_cv_lib_soname_OSMesa=
12545 rm -f core conftest.err conftest.$ac_objext \
12546 conftest$ac_exeext conftest.$ac_ext
12547 LIBS=$ac_check_soname_save_LIBS
12549 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12551 $as_echo "not found" >&6; }
12553 else
12554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
12555 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
12557 cat >>confdefs.h <<_ACEOF
12558 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
12559 _ACEOF
12563 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
12564 case "x$with_osmesa" in
12565 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
12566 xno) ;;
12567 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
12568 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
12569 esac
12574 if test -n "$opengl_msg"; then :
12575 case "x$with_opengl" in
12576 x) as_fn_append wine_warnings "|$opengl_msg
12577 OpenGL and Direct3D won't be supported." ;;
12578 xno) ;;
12579 *) as_fn_error $? "$opengl_msg
12580 OpenGL and Direct3D won't be supported.
12581 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
12582 esac
12586 CPPFLAGS="$ac_save_CPPFLAGS"
12587 else
12588 X_CFLAGS=""
12589 X_LIBS=""
12592 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
12593 then
12594 if test "x$X_LIBS" = "x"; then :
12595 case "x$with_x" in
12596 xno) ;;
12597 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
12598 without X support, which probably isn't what you want. You will need
12599 to install ${notice_platform}development packages of Xlib at the very least.
12600 Use the --without-x option if you really want this." "$LINENO" 5 ;;
12601 esac
12602 enable_winex11_drv=${enable_winex11_drv:-no}
12604 else
12605 if test "x$X_LIBS" = "x"; then :
12606 case "x$with_x" in
12607 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
12608 xno) ;;
12609 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
12610 This is an error since --with-x was requested." "$LINENO" 5 ;;
12611 esac
12612 enable_winex11_drv=${enable_winex11_drv:-no}
12616 if test "$ac_cv_header_CL_cl_h" = "yes"
12617 then
12618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
12619 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
12620 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
12621 $as_echo_n "(cached) " >&6
12622 else
12623 ac_check_lib_save_LIBS=$LIBS
12624 LIBS="-lOpenCL $LIBS"
12625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12626 /* end confdefs.h. */
12628 /* Override any GCC internal prototype to avoid an error.
12629 Use char because int might match the return type of a GCC
12630 builtin and then its argument prototype would still apply. */
12631 #ifdef __cplusplus
12632 extern "C"
12633 #endif
12634 char clGetPlatformInfo ();
12636 main ()
12638 return clGetPlatformInfo ();
12640 return 0;
12642 _ACEOF
12643 if ac_fn_c_try_link "$LINENO"; then :
12644 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
12645 else
12646 ac_cv_lib_OpenCL_clGetPlatformInfo=no
12648 rm -f core conftest.err conftest.$ac_objext \
12649 conftest$ac_exeext conftest.$ac_ext
12650 LIBS=$ac_check_lib_save_LIBS
12652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
12653 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
12654 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
12655 OPENCL_LIBS="-lOpenCL"
12660 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
12661 case "x$with_opencl" in
12662 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
12663 xno) ;;
12664 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
12665 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
12666 esac
12667 enable_opencl=${enable_opencl:-no}
12670 if test "$ac_cv_header_pcap_pcap_h" = "yes"
12671 then
12672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
12673 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
12674 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
12675 $as_echo_n "(cached) " >&6
12676 else
12677 ac_check_lib_save_LIBS=$LIBS
12678 LIBS="-lpcap $LIBS"
12679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12680 /* end confdefs.h. */
12682 /* Override any GCC internal prototype to avoid an error.
12683 Use char because int might match the return type of a GCC
12684 builtin and then its argument prototype would still apply. */
12685 #ifdef __cplusplus
12686 extern "C"
12687 #endif
12688 char pcap_create ();
12690 main ()
12692 return pcap_create ();
12694 return 0;
12696 _ACEOF
12697 if ac_fn_c_try_link "$LINENO"; then :
12698 ac_cv_lib_pcap_pcap_create=yes
12699 else
12700 ac_cv_lib_pcap_pcap_create=no
12702 rm -f core conftest.err conftest.$ac_objext \
12703 conftest$ac_exeext conftest.$ac_ext
12704 LIBS=$ac_check_lib_save_LIBS
12706 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
12707 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
12708 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
12709 PCAP_LIBS="-lpcap"
12714 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
12715 case "x$with_pcap" in
12716 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
12717 xno) ;;
12718 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
12719 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
12720 esac
12721 enable_wpcap=${enable_wpcap:-no}
12725 if test "x$with_xml" != "xno"
12726 then
12727 if ${XML2_CFLAGS:+false} :; then :
12728 if ${PKG_CONFIG+:} false; then :
12729 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12732 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
12733 if ${XML2_LIBS:+false} :; then :
12734 if ${PKG_CONFIG+:} false; then :
12735 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12738 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
12739 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
12740 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
12741 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
12742 ac_save_CPPFLAGS=$CPPFLAGS
12743 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
12744 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
12745 do :
12746 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12747 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12748 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12749 cat >>confdefs.h <<_ACEOF
12750 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12751 _ACEOF
12755 done
12757 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"
12758 then
12759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
12760 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
12761 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
12762 $as_echo_n "(cached) " >&6
12763 else
12764 ac_check_lib_save_LIBS=$LIBS
12765 LIBS="-lxml2 $XML2_LIBS $LIBS"
12766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12767 /* end confdefs.h. */
12769 /* Override any GCC internal prototype to avoid an error.
12770 Use char because int might match the return type of a GCC
12771 builtin and then its argument prototype would still apply. */
12772 #ifdef __cplusplus
12773 extern "C"
12774 #endif
12775 char xmlParseMemory ();
12777 main ()
12779 return xmlParseMemory ();
12781 return 0;
12783 _ACEOF
12784 if ac_fn_c_try_link "$LINENO"; then :
12785 ac_cv_lib_xml2_xmlParseMemory=yes
12786 else
12787 ac_cv_lib_xml2_xmlParseMemory=no
12789 rm -f core conftest.err conftest.$ac_objext \
12790 conftest$ac_exeext conftest.$ac_ext
12791 LIBS=$ac_check_lib_save_LIBS
12793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
12794 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
12795 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
12797 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
12799 else
12800 XML2_LIBS=""
12803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
12804 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
12805 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
12806 $as_echo_n "(cached) " >&6
12807 else
12808 ac_check_lib_save_LIBS=$LIBS
12809 LIBS="-lxml2 $XML2_LIBS $LIBS"
12810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12811 /* end confdefs.h. */
12813 /* Override any GCC internal prototype to avoid an error.
12814 Use char because int might match the return type of a GCC
12815 builtin and then its argument prototype would still apply. */
12816 #ifdef __cplusplus
12817 extern "C"
12818 #endif
12819 char xmlReadMemory ();
12821 main ()
12823 return xmlReadMemory ();
12825 return 0;
12827 _ACEOF
12828 if ac_fn_c_try_link "$LINENO"; then :
12829 ac_cv_lib_xml2_xmlReadMemory=yes
12830 else
12831 ac_cv_lib_xml2_xmlReadMemory=no
12833 rm -f core conftest.err conftest.$ac_objext \
12834 conftest$ac_exeext conftest.$ac_ext
12835 LIBS=$ac_check_lib_save_LIBS
12837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
12838 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
12839 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
12841 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
12845 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
12846 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
12847 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
12848 $as_echo_n "(cached) " >&6
12849 else
12850 ac_check_lib_save_LIBS=$LIBS
12851 LIBS="-lxml2 $XML2_LIBS $LIBS"
12852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12853 /* end confdefs.h. */
12855 /* Override any GCC internal prototype to avoid an error.
12856 Use char because int might match the return type of a GCC
12857 builtin and then its argument prototype would still apply. */
12858 #ifdef __cplusplus
12859 extern "C"
12860 #endif
12861 char xmlNewDocPI ();
12863 main ()
12865 return xmlNewDocPI ();
12867 return 0;
12869 _ACEOF
12870 if ac_fn_c_try_link "$LINENO"; then :
12871 ac_cv_lib_xml2_xmlNewDocPI=yes
12872 else
12873 ac_cv_lib_xml2_xmlNewDocPI=no
12875 rm -f core conftest.err conftest.$ac_objext \
12876 conftest$ac_exeext conftest.$ac_ext
12877 LIBS=$ac_check_lib_save_LIBS
12879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
12880 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
12881 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
12883 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
12887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
12888 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
12889 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
12890 $as_echo_n "(cached) " >&6
12891 else
12892 ac_check_lib_save_LIBS=$LIBS
12893 LIBS="-lxml2 $XML2_LIBS $LIBS"
12894 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12895 /* end confdefs.h. */
12897 /* Override any GCC internal prototype to avoid an error.
12898 Use char because int might match the return type of a GCC
12899 builtin and then its argument prototype would still apply. */
12900 #ifdef __cplusplus
12901 extern "C"
12902 #endif
12903 char xmlSchemaSetParserStructuredErrors ();
12905 main ()
12907 return xmlSchemaSetParserStructuredErrors ();
12909 return 0;
12911 _ACEOF
12912 if ac_fn_c_try_link "$LINENO"; then :
12913 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
12914 else
12915 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
12917 rm -f core conftest.err conftest.$ac_objext \
12918 conftest$ac_exeext conftest.$ac_ext
12919 LIBS=$ac_check_lib_save_LIBS
12921 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
12922 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
12923 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
12925 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
12929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
12930 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
12931 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
12932 $as_echo_n "(cached) " >&6
12933 else
12934 ac_check_lib_save_LIBS=$LIBS
12935 LIBS="-lxml2 $XML2_LIBS $LIBS"
12936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12937 /* end confdefs.h. */
12939 /* Override any GCC internal prototype to avoid an error.
12940 Use char because int might match the return type of a GCC
12941 builtin and then its argument prototype would still apply. */
12942 #ifdef __cplusplus
12943 extern "C"
12944 #endif
12945 char xmlSchemaSetValidStructuredErrors ();
12947 main ()
12949 return xmlSchemaSetValidStructuredErrors ();
12951 return 0;
12953 _ACEOF
12954 if ac_fn_c_try_link "$LINENO"; then :
12955 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
12956 else
12957 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
12959 rm -f core conftest.err conftest.$ac_objext \
12960 conftest$ac_exeext conftest.$ac_ext
12961 LIBS=$ac_check_lib_save_LIBS
12963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
12964 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
12965 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
12967 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
12971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
12972 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
12973 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
12974 $as_echo_n "(cached) " >&6
12975 else
12976 ac_check_lib_save_LIBS=$LIBS
12977 LIBS="-lxml2 $XML2_LIBS $LIBS"
12978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12979 /* end confdefs.h. */
12981 /* Override any GCC internal prototype to avoid an error.
12982 Use char because int might match the return type of a GCC
12983 builtin and then its argument prototype would still apply. */
12984 #ifdef __cplusplus
12985 extern "C"
12986 #endif
12987 char xmlFirstElementChild ();
12989 main ()
12991 return xmlFirstElementChild ();
12993 return 0;
12995 _ACEOF
12996 if ac_fn_c_try_link "$LINENO"; then :
12997 ac_cv_lib_xml2_xmlFirstElementChild=yes
12998 else
12999 ac_cv_lib_xml2_xmlFirstElementChild=no
13001 rm -f core conftest.err conftest.$ac_objext \
13002 conftest$ac_exeext conftest.$ac_ext
13003 LIBS=$ac_check_lib_save_LIBS
13005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
13006 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
13007 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
13009 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
13013 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
13015 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
13017 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
13021 else
13022 XML2_CFLAGS=""
13023 XML2_LIBS=""
13025 CPPFLAGS=$ac_save_CPPFLAGS
13026 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13027 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13030 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
13031 case "x$with_xml" in
13032 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
13033 xno) ;;
13034 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
13035 This is an error since --with-xml was requested." "$LINENO" 5 ;;
13036 esac
13040 if test "x$with_xslt" != "xno"
13041 then
13042 if ${XSLT_CFLAGS:+false} :; then :
13043 if ${PKG_CONFIG+:} false; then :
13044 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
13047 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
13048 if ${XSLT_LIBS:+false} :; then :
13049 if ${PKG_CONFIG+:} false; then :
13050 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
13053 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
13054 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
13055 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
13056 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
13057 ac_save_CPPFLAGS=$CPPFLAGS
13058 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
13059 for ac_header in libxslt/pattern.h libxslt/transform.h
13060 do :
13061 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13062 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
13063 # include <libxslt/pattern.h>
13064 #endif
13066 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13067 cat >>confdefs.h <<_ACEOF
13068 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13069 _ACEOF
13073 done
13075 if test "$ac_cv_header_libxslt_transform_h" = "yes"
13076 then
13077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
13078 $as_echo_n "checking for -lxslt... " >&6; }
13079 if ${ac_cv_lib_soname_xslt+:} false; then :
13080 $as_echo_n "(cached) " >&6
13081 else
13082 ac_check_soname_save_LIBS=$LIBS
13083 LIBS="-lxslt $XSLT_LIBS $LIBS"
13084 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13085 /* end confdefs.h. */
13087 /* Override any GCC internal prototype to avoid an error.
13088 Use char because int might match the return type of a GCC
13089 builtin and then its argument prototype would still apply. */
13090 #ifdef __cplusplus
13091 extern "C"
13092 #endif
13093 char xsltCompilePattern ();
13095 main ()
13097 return xsltCompilePattern ();
13099 return 0;
13101 _ACEOF
13102 if ac_fn_c_try_link "$LINENO"; then :
13103 case "$LIBEXT" in
13104 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13105 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'` ;;
13106 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13107 if ${ac_cv_lib_soname_xslt:+false} :; then :
13108 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13109 fi ;;
13110 esac
13111 else
13112 ac_cv_lib_soname_xslt=
13114 rm -f core conftest.err conftest.$ac_objext \
13115 conftest$ac_exeext conftest.$ac_ext
13116 LIBS=$ac_check_soname_save_LIBS
13118 if ${ac_cv_lib_soname_xslt:+false} :; then :
13119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13120 $as_echo "not found" >&6; }
13122 else
13123 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
13124 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
13126 cat >>confdefs.h <<_ACEOF
13127 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
13128 _ACEOF
13132 else
13133 XSLT_CFLAGS=""
13135 CPPFLAGS=$ac_save_CPPFLAGS
13136 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13137 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13140 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
13141 case "x$with_xslt" in
13142 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
13143 xno) ;;
13144 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
13145 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
13146 esac
13150 if test "x$with_inotify" != "xno"
13151 then
13152 if ${INOTIFY_CFLAGS:+false} :; then :
13153 if ${PKG_CONFIG+:} false; then :
13154 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>/dev/null`
13158 if ${INOTIFY_LIBS:+false} :; then :
13159 if ${PKG_CONFIG+:} false; then :
13160 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
13165 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
13166 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
13167 ac_save_CPPFLAGS=$CPPFLAGS
13168 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
13169 for ac_header in sys/inotify.h
13170 do :
13171 ac_fn_c_check_header_mongrel "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
13172 if test "x$ac_cv_header_sys_inotify_h" = xyes; then :
13173 cat >>confdefs.h <<_ACEOF
13174 #define HAVE_SYS_INOTIFY_H 1
13175 _ACEOF
13179 done
13181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
13182 $as_echo_n "checking for inotify_add_watch in -linotify... " >&6; }
13183 if ${ac_cv_lib_inotify_inotify_add_watch+:} false; then :
13184 $as_echo_n "(cached) " >&6
13185 else
13186 ac_check_lib_save_LIBS=$LIBS
13187 LIBS="-linotify $INOTIFY_LIBS $LIBS"
13188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13189 /* end confdefs.h. */
13191 /* Override any GCC internal prototype to avoid an error.
13192 Use char because int might match the return type of a GCC
13193 builtin and then its argument prototype would still apply. */
13194 #ifdef __cplusplus
13195 extern "C"
13196 #endif
13197 char inotify_add_watch ();
13199 main ()
13201 return inotify_add_watch ();
13203 return 0;
13205 _ACEOF
13206 if ac_fn_c_try_link "$LINENO"; then :
13207 ac_cv_lib_inotify_inotify_add_watch=yes
13208 else
13209 ac_cv_lib_inotify_inotify_add_watch=no
13211 rm -f core conftest.err conftest.$ac_objext \
13212 conftest$ac_exeext conftest.$ac_ext
13213 LIBS=$ac_check_lib_save_LIBS
13215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
13216 $as_echo "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
13217 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes; then :
13219 else
13220 INOTIFY_LIBS=""
13223 CPPFLAGS=$ac_save_CPPFLAGS
13224 test -z "$INOTIFY_CFLAGS" || INOTIFY_CFLAGS=`echo " $INOTIFY_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13225 test -z "$INOTIFY_LIBS" || INOTIFY_LIBS=`echo " $INOTIFY_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13228 if test "$ac_cv_header_sys_inotify_h" != "yes"; then :
13229 case "x$with_inotify" in
13230 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
13231 xno) ;;
13232 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
13233 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
13234 esac
13238 if test "x$with_dbus" != "xno"
13239 then
13240 if ${DBUS_CFLAGS:+false} :; then :
13241 if ${PKG_CONFIG+:} false; then :
13242 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
13246 if ${DBUS_LIBS:+false} :; then :
13247 if ${PKG_CONFIG+:} false; then :
13248 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
13253 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
13254 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
13255 ac_save_CPPFLAGS=$CPPFLAGS
13256 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
13257 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
13258 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
13259 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
13260 $as_echo_n "checking for -ldbus-1... " >&6; }
13261 if ${ac_cv_lib_soname_dbus_1+:} false; then :
13262 $as_echo_n "(cached) " >&6
13263 else
13264 ac_check_soname_save_LIBS=$LIBS
13265 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
13266 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13267 /* end confdefs.h. */
13269 /* Override any GCC internal prototype to avoid an error.
13270 Use char because int might match the return type of a GCC
13271 builtin and then its argument prototype would still apply. */
13272 #ifdef __cplusplus
13273 extern "C"
13274 #endif
13275 char dbus_connection_close ();
13277 main ()
13279 return dbus_connection_close ();
13281 return 0;
13283 _ACEOF
13284 if ac_fn_c_try_link "$LINENO"; then :
13285 case "$LIBEXT" in
13286 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13287 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'` ;;
13288 *) 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'`
13289 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13290 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13291 fi ;;
13292 esac
13293 else
13294 ac_cv_lib_soname_dbus_1=
13296 rm -f core conftest.err conftest.$ac_objext \
13297 conftest$ac_exeext conftest.$ac_ext
13298 LIBS=$ac_check_soname_save_LIBS
13300 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13302 $as_echo "not found" >&6; }
13303 DBUS_CFLAGS=""
13304 else
13305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
13306 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
13308 cat >>confdefs.h <<_ACEOF
13309 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
13310 _ACEOF
13314 else
13315 DBUS_CFLAGS=""
13319 CPPFLAGS=$ac_save_CPPFLAGS
13320 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13321 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13324 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
13325 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13326 case "x$with_dbus" in
13327 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
13328 xno) ;;
13329 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
13330 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
13331 esac
13335 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
13336 then
13337 if ${HAL_CFLAGS:+false} :; then :
13338 if ${PKG_CONFIG+:} false; then :
13339 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
13343 if ${HAL_LIBS:+false} :; then :
13344 if ${PKG_CONFIG+:} false; then :
13345 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
13349 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
13350 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
13351 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
13352 ac_save_CPPFLAGS=$CPPFLAGS
13353 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
13354 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
13355 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
13356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
13357 $as_echo_n "checking for -lhal... " >&6; }
13358 if ${ac_cv_lib_soname_hal+:} false; then :
13359 $as_echo_n "(cached) " >&6
13360 else
13361 ac_check_soname_save_LIBS=$LIBS
13362 LIBS="-lhal $HAL_LIBS $LIBS"
13363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13364 /* end confdefs.h. */
13366 /* Override any GCC internal prototype to avoid an error.
13367 Use char because int might match the return type of a GCC
13368 builtin and then its argument prototype would still apply. */
13369 #ifdef __cplusplus
13370 extern "C"
13371 #endif
13372 char libhal_ctx_new ();
13374 main ()
13376 return libhal_ctx_new ();
13378 return 0;
13380 _ACEOF
13381 if ac_fn_c_try_link "$LINENO"; then :
13382 case "$LIBEXT" in
13383 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13384 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'` ;;
13385 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13386 if ${ac_cv_lib_soname_hal:+false} :; then :
13387 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13388 fi ;;
13389 esac
13390 else
13391 ac_cv_lib_soname_hal=
13393 rm -f core conftest.err conftest.$ac_objext \
13394 conftest$ac_exeext conftest.$ac_ext
13395 LIBS=$ac_check_soname_save_LIBS
13397 if ${ac_cv_lib_soname_hal:+false} :; then :
13398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13399 $as_echo "not found" >&6; }
13400 HAL_CFLAGS=""
13401 else
13402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
13403 $as_echo "$ac_cv_lib_soname_hal" >&6; }
13405 cat >>confdefs.h <<_ACEOF
13406 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
13407 _ACEOF
13411 else
13412 HAL_CFLAGS=""
13416 CPPFLAGS=$ac_save_CPPFLAGS
13417 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13418 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13420 if test "x$ac_cv_lib_soname_hal" = "x" -a \
13421 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13422 case "x$with_hal" in
13423 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
13424 xno) ;;
13425 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
13426 This is an error since --with-hal was requested." "$LINENO" 5 ;;
13427 esac
13432 if test "x$with_gnutls" != "xno"
13433 then
13434 if ${GNUTLS_CFLAGS:+false} :; then :
13435 if ${PKG_CONFIG+:} false; then :
13436 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
13440 if ${GNUTLS_LIBS:+false} :; then :
13441 if ${PKG_CONFIG+:} false; then :
13442 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
13447 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
13448 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
13449 ac_save_CPPFLAGS=$CPPFLAGS
13450 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
13451 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
13452 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
13453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13454 /* end confdefs.h. */
13455 #include <gnutls/gnutls.h>
13456 #include <gnutls/crypto.h>
13458 main ()
13460 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
13462 return 0;
13464 _ACEOF
13465 if ac_fn_c_try_compile "$LINENO"; then :
13466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
13467 $as_echo_n "checking for -lgnutls... " >&6; }
13468 if ${ac_cv_lib_soname_gnutls+:} false; then :
13469 $as_echo_n "(cached) " >&6
13470 else
13471 ac_check_soname_save_LIBS=$LIBS
13472 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
13473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13474 /* end confdefs.h. */
13476 /* Override any GCC internal prototype to avoid an error.
13477 Use char because int might match the return type of a GCC
13478 builtin and then its argument prototype would still apply. */
13479 #ifdef __cplusplus
13480 extern "C"
13481 #endif
13482 char gnutls_global_init ();
13484 main ()
13486 return gnutls_global_init ();
13488 return 0;
13490 _ACEOF
13491 if ac_fn_c_try_link "$LINENO"; then :
13492 case "$LIBEXT" in
13493 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13494 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'` ;;
13495 *) 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'`
13496 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13497 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'`
13498 fi ;;
13499 esac
13500 else
13501 ac_cv_lib_soname_gnutls=
13503 rm -f core conftest.err conftest.$ac_objext \
13504 conftest$ac_exeext conftest.$ac_ext
13505 LIBS=$ac_check_soname_save_LIBS
13507 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13509 $as_echo "not found" >&6; }
13510 GNUTLS_CFLAGS=""
13511 else
13512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
13513 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
13515 cat >>confdefs.h <<_ACEOF
13516 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
13517 _ACEOF
13521 ac_wine_check_funcs_save_LIBS="$LIBS"
13522 LIBS="$LIBS $GNUTLS_LIBS"
13523 for ac_func in gnutls_cipher_init
13524 do :
13525 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
13526 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
13527 cat >>confdefs.h <<_ACEOF
13528 #define HAVE_GNUTLS_CIPHER_INIT 1
13529 _ACEOF
13531 else
13532 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
13534 done
13536 LIBS="$ac_wine_check_funcs_save_LIBS"
13538 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13539 else
13540 GNUTLS_CFLAGS=""
13544 CPPFLAGS=$ac_save_CPPFLAGS
13545 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13546 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13549 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
13550 case "x$with_gnutls" in
13551 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
13552 xno) ;;
13553 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
13554 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
13555 esac
13559 CURSES_LIBS=""
13560 if test "$ac_cv_header_ncurses_h" = "yes"
13561 then
13562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
13563 $as_echo_n "checking for -lncurses... " >&6; }
13564 if ${ac_cv_lib_soname_ncurses+:} false; then :
13565 $as_echo_n "(cached) " >&6
13566 else
13567 ac_check_soname_save_LIBS=$LIBS
13568 LIBS="-lncurses $LIBS"
13569 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13570 /* end confdefs.h. */
13572 /* Override any GCC internal prototype to avoid an error.
13573 Use char because int might match the return type of a GCC
13574 builtin and then its argument prototype would still apply. */
13575 #ifdef __cplusplus
13576 extern "C"
13577 #endif
13578 char waddch ();
13580 main ()
13582 return waddch ();
13584 return 0;
13586 _ACEOF
13587 if ac_fn_c_try_link "$LINENO"; then :
13588 case "$LIBEXT" in
13589 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13590 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'` ;;
13591 *) 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'`
13592 if ${ac_cv_lib_soname_ncurses:+false} :; then :
13593 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13594 fi ;;
13595 esac
13596 else
13597 ac_cv_lib_soname_ncurses=
13599 rm -f core conftest.err conftest.$ac_objext \
13600 conftest$ac_exeext conftest.$ac_ext
13601 LIBS=$ac_check_soname_save_LIBS
13603 if ${ac_cv_lib_soname_ncurses:+false} :; then :
13604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13605 $as_echo "not found" >&6; }
13607 else
13608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
13609 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
13611 cat >>confdefs.h <<_ACEOF
13612 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
13613 _ACEOF
13615 CURSES_LIBS="-lncurses"
13617 elif test "$ac_cv_header_curses_h" = "yes"
13618 then
13619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
13620 $as_echo_n "checking for -lcurses... " >&6; }
13621 if ${ac_cv_lib_soname_curses+:} false; then :
13622 $as_echo_n "(cached) " >&6
13623 else
13624 ac_check_soname_save_LIBS=$LIBS
13625 LIBS="-lcurses $LIBS"
13626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13627 /* end confdefs.h. */
13629 /* Override any GCC internal prototype to avoid an error.
13630 Use char because int might match the return type of a GCC
13631 builtin and then its argument prototype would still apply. */
13632 #ifdef __cplusplus
13633 extern "C"
13634 #endif
13635 char waddch ();
13637 main ()
13639 return waddch ();
13641 return 0;
13643 _ACEOF
13644 if ac_fn_c_try_link "$LINENO"; then :
13645 case "$LIBEXT" in
13646 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13647 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'` ;;
13648 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13649 if ${ac_cv_lib_soname_curses:+false} :; then :
13650 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13651 fi ;;
13652 esac
13653 else
13654 ac_cv_lib_soname_curses=
13656 rm -f core conftest.err conftest.$ac_objext \
13657 conftest$ac_exeext conftest.$ac_ext
13658 LIBS=$ac_check_soname_save_LIBS
13660 if ${ac_cv_lib_soname_curses:+false} :; then :
13661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13662 $as_echo "not found" >&6; }
13664 else
13665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
13666 $as_echo "$ac_cv_lib_soname_curses" >&6; }
13668 cat >>confdefs.h <<_ACEOF
13669 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
13670 _ACEOF
13672 CURSES_LIBS="-lcurses"
13675 ac_save_LIBS="$LIBS"
13676 LIBS="$LIBS $CURSES_LIBS"
13677 for ac_func in mousemask
13678 do :
13679 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
13680 if test "x$ac_cv_func_mousemask" = xyes; then :
13681 cat >>confdefs.h <<_ACEOF
13682 #define HAVE_MOUSEMASK 1
13683 _ACEOF
13686 done
13688 LIBS="$ac_save_LIBS"
13689 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
13690 case "x$with_curses" in
13691 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
13692 xno) ;;
13693 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
13694 This is an error since --with-curses was requested." "$LINENO" 5 ;;
13695 esac
13699 if test "x$with_sane" != "xno"
13700 then
13701 if ${SANE_CFLAGS:+false} :; then :
13702 if ${PKG_CONFIG+:} false; then :
13703 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
13706 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
13707 if ${SANE_LIBS:+false} :; then :
13708 if ${PKG_CONFIG+:} false; then :
13709 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
13712 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
13714 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
13715 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
13716 ac_save_CPPFLAGS=$CPPFLAGS
13717 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
13718 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
13719 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
13720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
13721 $as_echo_n "checking for -lsane... " >&6; }
13722 if ${ac_cv_lib_soname_sane+:} false; then :
13723 $as_echo_n "(cached) " >&6
13724 else
13725 ac_check_soname_save_LIBS=$LIBS
13726 LIBS="-lsane $SANE_LIBS $LIBS"
13727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13728 /* end confdefs.h. */
13730 /* Override any GCC internal prototype to avoid an error.
13731 Use char because int might match the return type of a GCC
13732 builtin and then its argument prototype would still apply. */
13733 #ifdef __cplusplus
13734 extern "C"
13735 #endif
13736 char sane_init ();
13738 main ()
13740 return sane_init ();
13742 return 0;
13744 _ACEOF
13745 if ac_fn_c_try_link "$LINENO"; then :
13746 case "$LIBEXT" in
13747 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13748 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'` ;;
13749 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13750 if ${ac_cv_lib_soname_sane:+false} :; then :
13751 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13752 fi ;;
13753 esac
13754 else
13755 ac_cv_lib_soname_sane=
13757 rm -f core conftest.err conftest.$ac_objext \
13758 conftest$ac_exeext conftest.$ac_ext
13759 LIBS=$ac_check_soname_save_LIBS
13761 if ${ac_cv_lib_soname_sane:+false} :; then :
13762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13763 $as_echo "not found" >&6; }
13764 SANE_CFLAGS=""
13765 else
13766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
13767 $as_echo "$ac_cv_lib_soname_sane" >&6; }
13769 cat >>confdefs.h <<_ACEOF
13770 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
13771 _ACEOF
13775 else
13776 SANE_CFLAGS=""
13780 CPPFLAGS=$ac_save_CPPFLAGS
13781 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13782 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13785 if test "x$ac_cv_lib_soname_sane" = "x"; then :
13786 case "x$with_sane" in
13787 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
13788 xno) ;;
13789 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
13790 This is an error since --with-sane was requested." "$LINENO" 5 ;;
13791 esac
13795 if test "x$with_v4l2" != "xno"
13796 then
13797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
13798 $as_echo_n "checking for -lv4l2... " >&6; }
13799 if ${ac_cv_lib_soname_v4l2+:} false; then :
13800 $as_echo_n "(cached) " >&6
13801 else
13802 ac_check_soname_save_LIBS=$LIBS
13803 LIBS="-lv4l2 $LIBS"
13804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13805 /* end confdefs.h. */
13807 /* Override any GCC internal prototype to avoid an error.
13808 Use char because int might match the return type of a GCC
13809 builtin and then its argument prototype would still apply. */
13810 #ifdef __cplusplus
13811 extern "C"
13812 #endif
13813 char v4l2_open ();
13815 main ()
13817 return v4l2_open ();
13819 return 0;
13821 _ACEOF
13822 if ac_fn_c_try_link "$LINENO"; then :
13823 case "$LIBEXT" in
13824 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13825 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'` ;;
13826 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13827 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13828 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13829 fi ;;
13830 esac
13831 else
13832 ac_cv_lib_soname_v4l2=
13834 rm -f core conftest.err conftest.$ac_objext \
13835 conftest$ac_exeext conftest.$ac_ext
13836 LIBS=$ac_check_soname_save_LIBS
13838 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13840 $as_echo "not found" >&6; }
13842 else
13843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
13844 $as_echo "$ac_cv_lib_soname_v4l2" >&6; }
13846 cat >>confdefs.h <<_ACEOF
13847 #define SONAME_LIBV4L2 "$ac_cv_lib_soname_v4l2"
13848 _ACEOF
13853 if test "x$ac_cv_lib_soname_v4l2" = "x"; then :
13854 case "x$with_v4l2" in
13855 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
13856 xno) ;;
13857 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
13858 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
13859 esac
13863 if test "x$with_gphoto" != "xno"
13864 then
13865 if ${GPHOTO2_CFLAGS:+false} :; then :
13866 if ${PKG_CONFIG+:} false; then :
13867 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
13870 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
13871 if ${GPHOTO2_LIBS:+false} :; then :
13872 if ${PKG_CONFIG+:} false; then :
13873 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
13876 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
13877 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
13878 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
13879 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
13880 ac_save_CPPFLAGS=$CPPFLAGS
13881 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
13882 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
13883 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
13884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
13885 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
13886 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
13887 $as_echo_n "(cached) " >&6
13888 else
13889 ac_check_lib_save_LIBS=$LIBS
13890 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
13891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13892 /* end confdefs.h. */
13894 /* Override any GCC internal prototype to avoid an error.
13895 Use char because int might match the return type of a GCC
13896 builtin and then its argument prototype would still apply. */
13897 #ifdef __cplusplus
13898 extern "C"
13899 #endif
13900 char gp_camera_new ();
13902 main ()
13904 return gp_camera_new ();
13906 return 0;
13908 _ACEOF
13909 if ac_fn_c_try_link "$LINENO"; then :
13910 ac_cv_lib_gphoto2_gp_camera_new=yes
13911 else
13912 ac_cv_lib_gphoto2_gp_camera_new=no
13914 rm -f core conftest.err conftest.$ac_objext \
13915 conftest$ac_exeext conftest.$ac_ext
13916 LIBS=$ac_check_lib_save_LIBS
13918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
13919 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
13920 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
13922 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
13924 else
13925 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
13928 else
13929 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
13933 CPPFLAGS=$ac_save_CPPFLAGS
13934 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13935 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13937 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
13938 if ${PKG_CONFIG+:} false; then :
13939 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
13942 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
13943 if ${GPHOTO2_PORT_LIBS:+false} :; then :
13944 if ${PKG_CONFIG+:} false; then :
13945 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
13948 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
13949 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
13950 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
13951 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
13952 ac_save_CPPFLAGS=$CPPFLAGS
13953 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
13954 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
13955 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
13956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
13957 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
13958 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
13959 $as_echo_n "(cached) " >&6
13960 else
13961 ac_check_lib_save_LIBS=$LIBS
13962 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
13963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13964 /* end confdefs.h. */
13966 /* Override any GCC internal prototype to avoid an error.
13967 Use char because int might match the return type of a GCC
13968 builtin and then its argument prototype would still apply. */
13969 #ifdef __cplusplus
13970 extern "C"
13971 #endif
13972 char gp_port_info_list_new ();
13974 main ()
13976 return gp_port_info_list_new ();
13978 return 0;
13980 _ACEOF
13981 if ac_fn_c_try_link "$LINENO"; then :
13982 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
13983 else
13984 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
13986 rm -f core conftest.err conftest.$ac_objext \
13987 conftest$ac_exeext conftest.$ac_ext
13988 LIBS=$ac_check_lib_save_LIBS
13990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
13991 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
13992 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
13994 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
13996 else
13997 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
14000 else
14001 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
14005 CPPFLAGS=$ac_save_CPPFLAGS
14006 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14007 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14010 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
14011 case "x$with_gphoto" in
14012 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
14013 xno) ;;
14014 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
14015 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14016 esac
14019 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
14020 case "x$with_gphoto" in
14021 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
14022 xno) ;;
14023 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
14024 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14025 esac
14030 if test "$ac_cv_header_resolv_h" = "yes"
14031 then
14032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
14033 $as_echo_n "checking for resolver library... " >&6; }
14034 if ${ac_cv_have_resolv+:} false; then :
14035 $as_echo_n "(cached) " >&6
14036 else
14037 ac_save_LIBS="$LIBS"
14038 for lib in '' -lresolv
14040 LIBS="$lib $ac_save_LIBS"
14041 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14042 /* end confdefs.h. */
14043 #ifdef HAVE_NETINET_IN_H
14044 #include <netinet/in.h>
14045 #endif
14046 #include <resolv.h>
14048 main ()
14050 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
14052 return 0;
14054 _ACEOF
14055 if ac_fn_c_try_link "$LINENO"; then :
14056 ac_cv_have_resolv=${lib:-"none required"}
14057 else
14058 ac_cv_have_resolv="not found"
14060 rm -f core conftest.err conftest.$ac_objext \
14061 conftest$ac_exeext conftest.$ac_ext
14062 test "x$ac_cv_have_resolv" = "xnot found" || break
14063 done
14064 LIBS="$ac_save_LIBS"
14066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
14067 $as_echo "$ac_cv_have_resolv" >&6; }
14069 case "$ac_cv_have_resolv" in
14070 "not found") ;;
14071 "none required")
14073 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14076 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14078 RESOLV_LIBS=$ac_cv_have_resolv
14080 esac
14083 if test "x$with_cms" != "xno"
14084 then
14085 if ${LCMS2_CFLAGS:+false} :; then :
14086 if ${PKG_CONFIG+:} false; then :
14087 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
14091 if ${LCMS2_LIBS:+false} :; then :
14092 if ${PKG_CONFIG+:} false; then :
14093 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
14097 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
14098 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
14099 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
14100 ac_save_CPPFLAGS=$CPPFLAGS
14101 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
14102 for ac_header in lcms2.h
14103 do :
14104 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
14105 if test "x$ac_cv_header_lcms2_h" = xyes; then :
14106 cat >>confdefs.h <<_ACEOF
14107 #define HAVE_LCMS2_H 1
14108 _ACEOF
14112 done
14114 if test "$ac_cv_header_lcms2_h" = "yes"
14115 then
14116 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
14117 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
14118 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
14119 $as_echo_n "(cached) " >&6
14120 else
14121 ac_check_lib_save_LIBS=$LIBS
14122 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
14123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14124 /* end confdefs.h. */
14126 /* Override any GCC internal prototype to avoid an error.
14127 Use char because int might match the return type of a GCC
14128 builtin and then its argument prototype would still apply. */
14129 #ifdef __cplusplus
14130 extern "C"
14131 #endif
14132 char cmsOpenProfileFromFile ();
14134 main ()
14136 return cmsOpenProfileFromFile ();
14138 return 0;
14140 _ACEOF
14141 if ac_fn_c_try_link "$LINENO"; then :
14142 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
14143 else
14144 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
14146 rm -f core conftest.err conftest.$ac_objext \
14147 conftest$ac_exeext conftest.$ac_ext
14148 LIBS=$ac_check_lib_save_LIBS
14150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
14151 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
14152 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
14154 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
14156 else
14157 LCMS2_LIBS=""
14160 else
14161 LCMS2_CFLAGS=""
14162 LCMS2_LIBS=""
14164 CPPFLAGS=$ac_save_CPPFLAGS
14165 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14166 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14169 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
14170 case "x$with_cms" in
14171 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
14172 xno) ;;
14173 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
14174 This is an error since --with-cms was requested." "$LINENO" 5 ;;
14175 esac
14179 if test "x$with_freetype" != "xno"
14180 then
14181 if ${FREETYPE_CFLAGS:+false} :; then :
14182 if ${PKG_CONFIG+:} false; then :
14183 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
14186 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
14187 if ${FREETYPE_LIBS:+false} :; then :
14188 if ${PKG_CONFIG+:} false; then :
14189 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
14192 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
14193 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
14194 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
14195 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
14196 ac_save_CPPFLAGS=$CPPFLAGS
14197 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
14198 for ac_header in ft2build.h
14199 do :
14200 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
14201 if test "x$ac_cv_header_ft2build_h" = xyes; then :
14202 cat >>confdefs.h <<_ACEOF
14203 #define HAVE_FT2BUILD_H 1
14204 _ACEOF
14208 done
14210 if test "$ac_cv_header_ft2build_h" = "yes"
14211 then
14212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
14213 $as_echo_n "checking for -lfreetype... " >&6; }
14214 if ${ac_cv_lib_soname_freetype+:} false; then :
14215 $as_echo_n "(cached) " >&6
14216 else
14217 ac_check_soname_save_LIBS=$LIBS
14218 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
14219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14220 /* end confdefs.h. */
14222 /* Override any GCC internal prototype to avoid an error.
14223 Use char because int might match the return type of a GCC
14224 builtin and then its argument prototype would still apply. */
14225 #ifdef __cplusplus
14226 extern "C"
14227 #endif
14228 char FT_Init_FreeType ();
14230 main ()
14232 return FT_Init_FreeType ();
14234 return 0;
14236 _ACEOF
14237 if ac_fn_c_try_link "$LINENO"; then :
14238 case "$LIBEXT" in
14239 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14240 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'` ;;
14241 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14242 if ${ac_cv_lib_soname_freetype:+false} :; then :
14243 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14244 fi ;;
14245 esac
14246 else
14247 ac_cv_lib_soname_freetype=
14249 rm -f core conftest.err conftest.$ac_objext \
14250 conftest$ac_exeext conftest.$ac_ext
14251 LIBS=$ac_check_soname_save_LIBS
14253 if ${ac_cv_lib_soname_freetype:+false} :; then :
14254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14255 $as_echo "not found" >&6; }
14256 FREETYPE_LIBS=""
14257 else
14258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
14259 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
14261 cat >>confdefs.h <<_ACEOF
14262 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
14263 _ACEOF
14266 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
14268 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
14269 #include FT_MODULE_H
14271 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
14273 cat >>confdefs.h <<_ACEOF
14274 #define HAVE_FT_TRUETYPEENGINETYPE 1
14275 _ACEOF
14281 else
14282 FREETYPE_CFLAGS=""
14283 FREETYPE_LIBS=""
14285 CPPFLAGS=$ac_save_CPPFLAGS
14286 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14287 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14290 if test "x$ac_cv_lib_soname_freetype" = x; then :
14291 case "x$with_freetype" in
14292 xno) ;;
14293 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
14294 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
14295 esac
14296 enable_fonts=${enable_fonts:-no}
14299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
14300 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
14301 if ${ac_cv_c_ppdev+:} false; then :
14302 $as_echo_n "(cached) " >&6
14303 else
14304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14305 /* end confdefs.h. */
14306 #ifdef HAVE_SYS_IOCTL_H
14307 # include <sys/ioctl.h>
14308 #endif
14309 #include <linux/ppdev.h>
14311 main ()
14313 ioctl (1,PPCLAIM,0)
14315 return 0;
14317 _ACEOF
14318 if ac_fn_c_try_compile "$LINENO"; then :
14319 ac_cv_c_ppdev="yes"
14320 else
14321 ac_cv_c_ppdev="no"
14323 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
14326 $as_echo "$ac_cv_c_ppdev" >&6; }
14327 if test "$ac_cv_c_ppdev" = "yes"
14328 then
14330 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
14334 ac_wine_check_funcs_save_LIBS="$LIBS"
14335 LIBS="$LIBS $PTHREAD_LIBS"
14336 for ac_func in \
14337 pthread_getthreadid_np
14338 do :
14339 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14340 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14341 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14342 cat >>confdefs.h <<_ACEOF
14343 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14344 _ACEOF
14347 done
14349 LIBS="$ac_wine_check_funcs_save_LIBS"
14351 if test "x$with_zlib" != "xno"
14352 then
14353 if ${Z_CFLAGS:+false} :; then :
14354 if ${PKG_CONFIG+:} false; then :
14355 Z_CFLAGS=`$PKG_CONFIG --cflags libz 2>/dev/null`
14359 if ${Z_LIBS:+false} :; then :
14360 if ${PKG_CONFIG+:} false; then :
14361 Z_LIBS=`$PKG_CONFIG --libs libz 2>/dev/null`
14365 Z_LIBS=${Z_LIBS:-"-lz"}
14366 $as_echo "$as_me:${as_lineno-$LINENO}: libz cflags: $Z_CFLAGS" >&5
14367 $as_echo "$as_me:${as_lineno-$LINENO}: libz libs: $Z_LIBS" >&5
14368 ac_save_CPPFLAGS=$CPPFLAGS
14369 CPPFLAGS="$CPPFLAGS $Z_CFLAGS"
14370 for ac_header in zlib.h
14371 do :
14372 ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
14373 if test "x$ac_cv_header_zlib_h" = xyes; then :
14374 cat >>confdefs.h <<_ACEOF
14375 #define HAVE_ZLIB_H 1
14376 _ACEOF
14377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
14378 $as_echo_n "checking for inflate in -lz... " >&6; }
14379 if ${ac_cv_lib_z_inflate+:} false; then :
14380 $as_echo_n "(cached) " >&6
14381 else
14382 ac_check_lib_save_LIBS=$LIBS
14383 LIBS="-lz $Z_LIBS $LIBS"
14384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14385 /* end confdefs.h. */
14387 /* Override any GCC internal prototype to avoid an error.
14388 Use char because int might match the return type of a GCC
14389 builtin and then its argument prototype would still apply. */
14390 #ifdef __cplusplus
14391 extern "C"
14392 #endif
14393 char inflate ();
14395 main ()
14397 return inflate ();
14399 return 0;
14401 _ACEOF
14402 if ac_fn_c_try_link "$LINENO"; then :
14403 ac_cv_lib_z_inflate=yes
14404 else
14405 ac_cv_lib_z_inflate=no
14407 rm -f core conftest.err conftest.$ac_objext \
14408 conftest$ac_exeext conftest.$ac_ext
14409 LIBS=$ac_check_lib_save_LIBS
14411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
14412 $as_echo "$ac_cv_lib_z_inflate" >&6; }
14413 if test "x$ac_cv_lib_z_inflate" = xyes; then :
14415 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
14417 else
14418 Z_LIBS=""
14421 else
14422 Z_LIBS=""
14425 done
14427 CPPFLAGS=$ac_save_CPPFLAGS
14428 test -z "$Z_CFLAGS" || Z_CFLAGS=`echo " $Z_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14429 test -z "$Z_LIBS" || Z_LIBS=`echo " $Z_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14432 if test "x$Z_LIBS" = "x"; then :
14433 case "x$with_zlib" in
14434 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
14435 xno) ;;
14436 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
14437 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
14438 esac
14442 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
14443 then
14444 if test "$ac_cv_header_gettext_po_h" = "yes"
14445 then
14446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
14447 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
14448 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
14449 $as_echo_n "(cached) " >&6
14450 else
14451 ac_check_lib_save_LIBS=$LIBS
14452 LIBS="-lgettextpo $LIBS"
14453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14454 /* end confdefs.h. */
14456 /* Override any GCC internal prototype to avoid an error.
14457 Use char because int might match the return type of a GCC
14458 builtin and then its argument prototype would still apply. */
14459 #ifdef __cplusplus
14460 extern "C"
14461 #endif
14462 char po_message_msgctxt ();
14464 main ()
14466 return po_message_msgctxt ();
14468 return 0;
14470 _ACEOF
14471 if ac_fn_c_try_link "$LINENO"; then :
14472 ac_cv_lib_gettextpo_po_message_msgctxt=yes
14473 else
14474 ac_cv_lib_gettextpo_po_message_msgctxt=no
14476 rm -f core conftest.err conftest.$ac_objext \
14477 conftest$ac_exeext conftest.$ac_ext
14478 LIBS=$ac_check_lib_save_LIBS
14480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
14481 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
14482 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
14484 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
14486 GETTEXTPO_LIBS="-lgettextpo"
14491 if test "x$GETTEXTPO_LIBS" = "x"; then :
14492 case "x$with_gettextpo" in
14493 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
14494 xno) ;;
14495 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
14496 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14497 esac
14500 if test "$srcdir" != .; then :
14501 case "x$with_gettextpo" in
14502 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
14503 xno) ;;
14504 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
14505 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14506 esac
14511 if test "x$with_pulse" != "xno";
14512 then
14513 if ${PULSE_CFLAGS:+false} :; then :
14514 if ${PKG_CONFIG+:} false; then :
14515 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
14519 if ${PULSE_LIBS:+false} :; then :
14520 if ${PKG_CONFIG+:} false; then :
14521 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
14526 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
14527 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
14528 ac_save_CPPFLAGS=$CPPFLAGS
14529 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
14530 for ac_header in pulse/pulseaudio.h
14531 do :
14532 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
14533 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
14534 cat >>confdefs.h <<_ACEOF
14535 #define HAVE_PULSE_PULSEAUDIO_H 1
14536 _ACEOF
14537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
14538 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
14539 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
14540 $as_echo_n "(cached) " >&6
14541 else
14542 ac_check_lib_save_LIBS=$LIBS
14543 LIBS="-lpulse $PULSE_LIBS $LIBS"
14544 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14545 /* end confdefs.h. */
14547 /* Override any GCC internal prototype to avoid an error.
14548 Use char because int might match the return type of a GCC
14549 builtin and then its argument prototype would still apply. */
14550 #ifdef __cplusplus
14551 extern "C"
14552 #endif
14553 char pa_stream_is_corked ();
14555 main ()
14557 return pa_stream_is_corked ();
14559 return 0;
14561 _ACEOF
14562 if ac_fn_c_try_link "$LINENO"; then :
14563 ac_cv_lib_pulse_pa_stream_is_corked=yes
14564 else
14565 ac_cv_lib_pulse_pa_stream_is_corked=no
14567 rm -f core conftest.err conftest.$ac_objext \
14568 conftest$ac_exeext conftest.$ac_ext
14569 LIBS=$ac_check_lib_save_LIBS
14571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
14572 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
14573 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
14575 else
14576 PULSE_LIBS=""
14579 else
14580 PULSE_LIBS=""
14583 done
14585 CPPFLAGS=$ac_save_CPPFLAGS
14586 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14587 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14590 if test -z "$PULSE_LIBS"; then :
14591 case "x$with_pulse" in
14592 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
14593 xno) ;;
14594 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
14595 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
14596 esac
14597 enable_winepulse_drv=${enable_winepulse_drv:-no}
14600 if test "x$with_gstreamer" != "xno"
14601 then
14602 if ${GSTREAMER_CFLAGS:+false} :; then :
14603 if ${PKG_CONFIG+:} false; then :
14604 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14608 if ${GSTREAMER_LIBS:+false} :; then :
14609 if ${PKG_CONFIG+:} false; then :
14610 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14615 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
14616 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
14617 ac_save_CPPFLAGS=$CPPFLAGS
14618 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
14619 ac_gst_incl=""
14620 for i in $GSTREAMER_CFLAGS
14622 case "$i" in
14623 -I*) ac_gst_incl="$ac_gst_incl $i";;
14624 esac
14625 done
14626 GSTREAMER_CFLAGS=$ac_gst_incl
14627 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
14628 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
14629 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
14630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
14631 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
14632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14633 /* end confdefs.h. */
14634 #include <gst/gst.h>
14636 main ()
14638 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
14640 return 0;
14642 _ACEOF
14643 if ac_fn_c_try_compile "$LINENO"; then :
14644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14645 $as_echo "yes" >&6; }
14646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
14647 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
14648 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
14649 $as_echo_n "(cached) " >&6
14650 else
14651 ac_check_lib_save_LIBS=$LIBS
14652 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
14653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14654 /* end confdefs.h. */
14656 /* Override any GCC internal prototype to avoid an error.
14657 Use char because int might match the return type of a GCC
14658 builtin and then its argument prototype would still apply. */
14659 #ifdef __cplusplus
14660 extern "C"
14661 #endif
14662 char gst_pad_new ();
14664 main ()
14666 return gst_pad_new ();
14668 return 0;
14670 _ACEOF
14671 if ac_fn_c_try_link "$LINENO"; then :
14672 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
14673 else
14674 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
14676 rm -f core conftest.err conftest.$ac_objext \
14677 conftest$ac_exeext conftest.$ac_ext
14678 LIBS=$ac_check_lib_save_LIBS
14680 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
14681 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
14682 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
14686 else
14687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14688 $as_echo "no" >&6; }
14689 ac_glib2_broken=yes
14690 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
14692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14696 CPPFLAGS=$ac_save_CPPFLAGS
14697 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14698 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14701 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 :
14702 case "x$with_gstreamer" in
14703 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
14704 xno) ;;
14705 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
14706 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
14707 esac
14710 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
14712 ALSA_LIBS=""
14714 if test "x$with_alsa" != "xno"
14715 then
14716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
14717 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
14718 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
14719 $as_echo_n "(cached) " >&6
14720 else
14721 ac_check_lib_save_LIBS=$LIBS
14722 LIBS="-lasound $LIBS"
14723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14724 /* end confdefs.h. */
14726 /* Override any GCC internal prototype to avoid an error.
14727 Use char because int might match the return type of a GCC
14728 builtin and then its argument prototype would still apply. */
14729 #ifdef __cplusplus
14730 extern "C"
14731 #endif
14732 char snd_pcm_hw_params_get_access_mask ();
14734 main ()
14736 return snd_pcm_hw_params_get_access_mask ();
14738 return 0;
14740 _ACEOF
14741 if ac_fn_c_try_link "$LINENO"; then :
14742 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
14743 else
14744 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
14746 rm -f core conftest.err conftest.$ac_objext \
14747 conftest$ac_exeext conftest.$ac_ext
14748 LIBS=$ac_check_lib_save_LIBS
14750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
14751 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
14752 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
14753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14754 /* end confdefs.h. */
14755 #include <alsa/asoundlib.h>
14757 main ()
14759 snd_pcm_hw_params_get_access_mask(NULL, NULL)
14761 return 0;
14763 _ACEOF
14764 if ac_fn_c_try_compile "$LINENO"; then :
14765 ALSA_LIBS="-lasound"
14767 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14771 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
14773 if test "x$with_oss" != xno
14774 then
14775 ac_save_CPPFLAGS="$CPPFLAGS"
14776 if test -f /etc/oss.conf
14777 then
14778 . /etc/oss.conf
14780 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
14781 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
14782 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
14783 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
14784 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
14786 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
14788 cat >>confdefs.h <<_ACEOF
14789 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
14790 _ACEOF
14792 OSS4_CFLAGS="$ac_oss_incl"
14794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
14795 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
14796 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
14797 $as_echo_n "(cached) " >&6
14798 else
14799 ac_check_lib_save_LIBS=$LIBS
14800 LIBS="-lossaudio $LIBS"
14801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14802 /* end confdefs.h. */
14804 /* Override any GCC internal prototype to avoid an error.
14805 Use char because int might match the return type of a GCC
14806 builtin and then its argument prototype would still apply. */
14807 #ifdef __cplusplus
14808 extern "C"
14809 #endif
14810 char _oss_ioctl ();
14812 main ()
14814 return _oss_ioctl ();
14816 return 0;
14818 _ACEOF
14819 if ac_fn_c_try_link "$LINENO"; then :
14820 ac_cv_lib_ossaudio__oss_ioctl=yes
14821 else
14822 ac_cv_lib_ossaudio__oss_ioctl=no
14824 rm -f core conftest.err conftest.$ac_objext \
14825 conftest$ac_exeext conftest.$ac_ext
14826 LIBS=$ac_check_lib_save_LIBS
14828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
14829 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
14830 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
14831 OSS4_LIBS="-lossaudio"
14840 CPPFLAGS="$ac_save_CPPFLAGS"
14842 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
14843 case "x$with_oss" in
14844 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
14845 xno) ;;
14846 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
14847 This is an error since --with-oss was requested." "$LINENO" 5 ;;
14848 esac
14849 enable_wineoss_drv=${enable_wineoss_drv:-no}
14852 if test "x$with_udev" != "xno"
14853 then
14854 if ${UDEV_CFLAGS:+false} :; then :
14855 if ${PKG_CONFIG+:} false; then :
14856 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
14860 if ${UDEV_LIBS:+false} :; then :
14861 if ${PKG_CONFIG+:} false; then :
14862 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
14866 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
14867 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
14868 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
14869 ac_save_CPPFLAGS=$CPPFLAGS
14870 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
14871 for ac_header in libudev.h
14872 do :
14873 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
14874 if test "x$ac_cv_header_libudev_h" = xyes; then :
14875 cat >>confdefs.h <<_ACEOF
14876 #define HAVE_LIBUDEV_H 1
14877 _ACEOF
14878 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
14879 $as_echo_n "checking for udev_new in -ludev... " >&6; }
14880 if ${ac_cv_lib_udev_udev_new+:} false; then :
14881 $as_echo_n "(cached) " >&6
14882 else
14883 ac_check_lib_save_LIBS=$LIBS
14884 LIBS="-ludev $UDEV_LIBS $LIBS"
14885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14886 /* end confdefs.h. */
14888 /* Override any GCC internal prototype to avoid an error.
14889 Use char because int might match the return type of a GCC
14890 builtin and then its argument prototype would still apply. */
14891 #ifdef __cplusplus
14892 extern "C"
14893 #endif
14894 char udev_new ();
14896 main ()
14898 return udev_new ();
14900 return 0;
14902 _ACEOF
14903 if ac_fn_c_try_link "$LINENO"; then :
14904 ac_cv_lib_udev_udev_new=yes
14905 else
14906 ac_cv_lib_udev_udev_new=no
14908 rm -f core conftest.err conftest.$ac_objext \
14909 conftest$ac_exeext conftest.$ac_ext
14910 LIBS=$ac_check_lib_save_LIBS
14912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
14913 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
14914 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
14916 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
14918 else
14919 UDEV_LIBS=""
14922 else
14923 UDEV_LIBS=""
14926 done
14928 CPPFLAGS=$ac_save_CPPFLAGS
14929 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14930 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14933 if test "x$UDEV_LIBS" = "x"; then :
14934 case "x$with_udev" in
14935 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
14936 xno) ;;
14937 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
14938 This is an error since --with-udev was requested." "$LINENO" 5 ;;
14939 esac
14943 if test "x$with_unwind" != xno
14944 then
14945 if ${UNWIND_CFLAGS:+false} :; then :
14946 if ${PKG_CONFIG+:} false; then :
14947 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>/dev/null`
14951 if ${UNWIND_LIBS:+false} :; then :
14952 if ${PKG_CONFIG+:} false; then :
14953 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
14957 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
14958 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
14959 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
14960 ac_save_CPPFLAGS=$CPPFLAGS
14961 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
14962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
14963 $as_echo_n "checking for unw_step... " >&6; }
14964 if ${wine_cv_have_unw_step+:} false; then :
14965 $as_echo_n "(cached) " >&6
14966 else
14967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14968 /* end confdefs.h. */
14969 #define UNW_LOCAL_ONLY
14970 #include <libunwind.h>
14972 main ()
14974 unw_cursor_t cursor; unw_step( &cursor );
14976 return 0;
14978 _ACEOF
14979 if ac_fn_c_try_link "$LINENO"; then :
14980 wine_cv_have_unw_step="yes"
14981 else
14982 wine_cv_have_unw_step="no"
14984 rm -f core conftest.err conftest.$ac_objext \
14985 conftest$ac_exeext conftest.$ac_ext
14987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
14988 $as_echo "$wine_cv_have_unw_step" >&6; }
14989 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
14990 then
14991 save_libs=$LIBS
14992 LIBS="$UNWIND_LIBS $LIBS"
14993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
14994 $as_echo_n "checking for unw_step in libunwind... " >&6; }
14995 if ${wine_cv_have_libunwind_unw_step+:} false; then :
14996 $as_echo_n "(cached) " >&6
14997 else
14998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14999 /* end confdefs.h. */
15000 #define UNW_LOCAL_ONLY
15001 #include <libunwind.h>
15003 main ()
15005 unw_cursor_t cursor; unw_step( &cursor );
15007 return 0;
15009 _ACEOF
15010 if ac_fn_c_try_link "$LINENO"; then :
15011 wine_cv_have_libunwind_unw_step="yes"
15012 else
15013 wine_cv_have_libunwind_unw_step="no"
15015 rm -f core conftest.err conftest.$ac_objext \
15016 conftest$ac_exeext conftest.$ac_ext
15018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
15019 $as_echo "$wine_cv_have_libunwind_unw_step" >&6; }
15020 LIBS=$save_libs
15022 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
15023 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
15024 then
15026 $as_echo "#define HAVE_LIBUNWIND 1" >>confdefs.h
15029 CPPFLAGS=$ac_save_CPPFLAGS
15030 test -z "$UNWIND_CFLAGS" || UNWIND_CFLAGS=`echo " $UNWIND_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15031 test -z "$UNWIND_LIBS" || UNWIND_LIBS=`echo " $UNWIND_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15034 case $host in
15035 aarch64*|*-darwin*)
15036 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono; then :
15037 case "x$with_unwind" in
15038 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
15039 xno) ;;
15040 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
15041 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
15042 esac
15044 fi ;;
15045 esac
15047 if test "x$with_sdl" != "xno"
15048 then
15049 if ${SDL2_CFLAGS:+false} :; then :
15050 if ${PKG_CONFIG+:} false; then :
15051 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
15055 if ${SDL2_LIBS:+false} :; then :
15056 if ${PKG_CONFIG+:} false; then :
15057 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
15061 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
15062 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
15063 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
15064 ac_save_CPPFLAGS=$CPPFLAGS
15065 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
15066 for ac_header in SDL2/SDL.h
15067 do :
15068 ac_fn_c_check_header_mongrel "$LINENO" "SDL2/SDL.h" "ac_cv_header_SDL2_SDL_h" "$ac_includes_default"
15069 if test "x$ac_cv_header_SDL2_SDL_h" = xyes; then :
15070 cat >>confdefs.h <<_ACEOF
15071 #define HAVE_SDL2_SDL_H 1
15072 _ACEOF
15073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
15074 $as_echo_n "checking for -lSDL2... " >&6; }
15075 if ${ac_cv_lib_soname_SDL2+:} false; then :
15076 $as_echo_n "(cached) " >&6
15077 else
15078 ac_check_soname_save_LIBS=$LIBS
15079 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
15080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15081 /* end confdefs.h. */
15083 /* Override any GCC internal prototype to avoid an error.
15084 Use char because int might match the return type of a GCC
15085 builtin and then its argument prototype would still apply. */
15086 #ifdef __cplusplus
15087 extern "C"
15088 #endif
15089 char SDL_Init ();
15091 main ()
15093 return SDL_Init ();
15095 return 0;
15097 _ACEOF
15098 if ac_fn_c_try_link "$LINENO"; then :
15099 case "$LIBEXT" in
15100 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15101 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'` ;;
15102 *) 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'`
15103 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15104 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15105 fi ;;
15106 esac
15107 else
15108 ac_cv_lib_soname_SDL2=
15110 rm -f core conftest.err conftest.$ac_objext \
15111 conftest$ac_exeext conftest.$ac_ext
15112 LIBS=$ac_check_soname_save_LIBS
15114 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15116 $as_echo "not found" >&6; }
15118 else
15119 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
15120 $as_echo "$ac_cv_lib_soname_SDL2" >&6; }
15122 cat >>confdefs.h <<_ACEOF
15123 #define SONAME_LIBSDL2 "$ac_cv_lib_soname_SDL2"
15124 _ACEOF
15130 done
15132 CPPFLAGS=$ac_save_CPPFLAGS
15133 test -z "$SDL2_CFLAGS" || SDL2_CFLAGS=`echo " $SDL2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15134 test -z "$SDL2_LIBS" || SDL2_LIBS=`echo " $SDL2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15137 if test "x$ac_cv_lib_soname_SDL2" = "x"; then :
15138 case "x$with_sdl" in
15139 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
15140 xno) ;;
15141 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
15142 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
15143 esac
15147 if test "x$with_faudio" != "xno"
15148 then
15149 if ${FAUDIO_CFLAGS:+false} :; then :
15150 if ${PKG_CONFIG+:} false; then :
15151 FAUDIO_CFLAGS=`$PKG_CONFIG --cflags faudio 2>/dev/null`
15155 if ${FAUDIO_LIBS:+false} :; then :
15156 if ${PKG_CONFIG+:} false; then :
15157 FAUDIO_LIBS=`$PKG_CONFIG --libs faudio 2>/dev/null`
15161 FAUDIO_LIBS=${FAUDIO_LIBS:-"-lFAudio"}
15162 $as_echo "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_CFLAGS" >&5
15163 $as_echo "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_LIBS" >&5
15164 ac_save_CPPFLAGS=$CPPFLAGS
15165 CPPFLAGS="$CPPFLAGS $FAUDIO_CFLAGS"
15166 for ac_header in FAudio.h
15167 do :
15168 ac_fn_c_check_header_mongrel "$LINENO" "FAudio.h" "ac_cv_header_FAudio_h" "$ac_includes_default"
15169 if test "x$ac_cv_header_FAudio_h" = xyes; then :
15170 cat >>confdefs.h <<_ACEOF
15171 #define HAVE_FAUDIO_H 1
15172 _ACEOF
15173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lFAudio" >&5
15174 $as_echo_n "checking for -lFAudio... " >&6; }
15175 if ${ac_cv_lib_soname_FAudio+:} false; then :
15176 $as_echo_n "(cached) " >&6
15177 else
15178 ac_check_soname_save_LIBS=$LIBS
15179 LIBS="-lFAudio $FAUDIO_LIBS $LIBS"
15180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15181 /* end confdefs.h. */
15183 /* Override any GCC internal prototype to avoid an error.
15184 Use char because int might match the return type of a GCC
15185 builtin and then its argument prototype would still apply. */
15186 #ifdef __cplusplus
15187 extern "C"
15188 #endif
15189 char FAudioCreate ();
15191 main ()
15193 return FAudioCreate ();
15195 return 0;
15197 _ACEOF
15198 if ac_fn_c_try_link "$LINENO"; then :
15199 case "$LIBEXT" in
15200 dll) ac_cv_lib_soname_FAudio=`$ac_cv_path_LDD conftest.exe | grep "FAudio" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15201 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'` ;;
15202 *) ac_cv_lib_soname_FAudio=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libFAudio*\\.$LIBEXT" | sed -e "s/^.*\\[\\(libFAudio*\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15203 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15204 ac_cv_lib_soname_FAudio=`$LDD conftest$ac_exeext | grep "libFAudio*\\.$LIBEXT" | sed -e "s/^.*\(libFAudio*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15205 fi ;;
15206 esac
15207 else
15208 ac_cv_lib_soname_FAudio=
15210 rm -f core conftest.err conftest.$ac_objext \
15211 conftest$ac_exeext conftest.$ac_ext
15212 LIBS=$ac_check_soname_save_LIBS
15214 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15216 $as_echo "not found" >&6; }
15218 else
15219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_FAudio" >&5
15220 $as_echo "$ac_cv_lib_soname_FAudio" >&6; }
15222 cat >>confdefs.h <<_ACEOF
15223 #define SONAME_LIBFAUDIO "$ac_cv_lib_soname_FAudio"
15224 _ACEOF
15230 done
15232 ac_wine_check_funcs_save_LIBS="$LIBS"
15233 LIBS="$LIBS $FAUDIO_LIBS"
15234 for ac_func in FAudio_CommitOperationSet \
15235 F3DAudioInitialize8
15236 do :
15237 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15238 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15239 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15240 cat >>confdefs.h <<_ACEOF
15241 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15242 _ACEOF
15245 done
15247 LIBS="$ac_wine_check_funcs_save_LIBS"
15249 CPPFLAGS=$ac_save_CPPFLAGS
15250 test -z "$FAUDIO_CFLAGS" || FAUDIO_CFLAGS=`echo " $FAUDIO_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15251 test -z "$FAUDIO_LIBS" || FAUDIO_LIBS=`echo " $FAUDIO_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15254 if test "x$ac_cv_lib_soname_FAudio" = "x"; then :
15255 case "x$with_faudio" in
15256 x) as_fn_append wine_notices "|libFAudio ${notice_platform}development files not found, XAudio2 won't be supported." ;;
15257 xno) ;;
15258 *) as_fn_error $? "libFAudio ${notice_platform}development files not found, XAudio2 won't be supported.
15259 This is an error since --with-faudio was requested." "$LINENO" 5 ;;
15260 esac
15264 if test "x$with_capi" != "xno"
15265 then
15266 if ${CAPI20_CFLAGS:+false} :; then :
15267 if ${PKG_CONFIG+:} false; then :
15268 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
15272 if ${CAPI20_LIBS:+false} :; then :
15273 if ${PKG_CONFIG+:} false; then :
15274 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
15279 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
15280 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
15281 ac_save_CPPFLAGS=$CPPFLAGS
15282 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
15283 for ac_header in capi20.h linux/capi.h
15284 do :
15285 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15286 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
15288 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15289 cat >>confdefs.h <<_ACEOF
15290 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15291 _ACEOF
15295 done
15297 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
15298 then
15299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
15300 $as_echo_n "checking for -lcapi20... " >&6; }
15301 if ${ac_cv_lib_soname_capi20+:} false; then :
15302 $as_echo_n "(cached) " >&6
15303 else
15304 ac_check_soname_save_LIBS=$LIBS
15305 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
15306 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15307 /* end confdefs.h. */
15309 /* Override any GCC internal prototype to avoid an error.
15310 Use char because int might match the return type of a GCC
15311 builtin and then its argument prototype would still apply. */
15312 #ifdef __cplusplus
15313 extern "C"
15314 #endif
15315 char capi20_register ();
15317 main ()
15319 return capi20_register ();
15321 return 0;
15323 _ACEOF
15324 if ac_fn_c_try_link "$LINENO"; then :
15325 case "$LIBEXT" in
15326 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15327 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'` ;;
15328 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15329 if ${ac_cv_lib_soname_capi20:+false} :; then :
15330 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15331 fi ;;
15332 esac
15333 else
15334 ac_cv_lib_soname_capi20=
15336 rm -f core conftest.err conftest.$ac_objext \
15337 conftest$ac_exeext conftest.$ac_ext
15338 LIBS=$ac_check_soname_save_LIBS
15340 if ${ac_cv_lib_soname_capi20:+false} :; then :
15341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15342 $as_echo "not found" >&6; }
15344 else
15345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
15346 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
15348 cat >>confdefs.h <<_ACEOF
15349 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
15350 _ACEOF
15355 CPPFLAGS=$ac_save_CPPFLAGS
15356 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15357 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15360 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
15361 case "x$with_capi" in
15362 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
15363 xno) ;;
15364 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
15365 This is an error since --with-capi was requested." "$LINENO" 5 ;;
15366 esac
15370 if test "x$with_cups" != "xno"
15371 then
15372 if ${CUPS_CFLAGS:+false} :; then :
15373 if ${PKG_CONFIG+:} false; then :
15374 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
15377 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
15378 if ${CUPS_LIBS:+false} :; then :
15379 if ${PKG_CONFIG+:} false; then :
15380 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
15383 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
15384 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
15385 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
15386 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
15387 ac_save_CPPFLAGS=$CPPFLAGS
15388 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
15389 for ac_header in cups/cups.h cups/ppd.h
15390 do :
15391 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15392 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15393 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15394 cat >>confdefs.h <<_ACEOF
15395 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15396 _ACEOF
15400 done
15402 if test "$ac_cv_header_cups_cups_h" = "yes"
15403 then
15404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
15405 $as_echo_n "checking for -lcups... " >&6; }
15406 if ${ac_cv_lib_soname_cups+:} false; then :
15407 $as_echo_n "(cached) " >&6
15408 else
15409 ac_check_soname_save_LIBS=$LIBS
15410 LIBS="-lcups $CUPS_LIBS $LIBS"
15411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15412 /* end confdefs.h. */
15414 /* Override any GCC internal prototype to avoid an error.
15415 Use char because int might match the return type of a GCC
15416 builtin and then its argument prototype would still apply. */
15417 #ifdef __cplusplus
15418 extern "C"
15419 #endif
15420 char cupsGetDefault ();
15422 main ()
15424 return cupsGetDefault ();
15426 return 0;
15428 _ACEOF
15429 if ac_fn_c_try_link "$LINENO"; then :
15430 case "$LIBEXT" in
15431 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15432 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'` ;;
15433 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15434 if ${ac_cv_lib_soname_cups:+false} :; then :
15435 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15436 fi ;;
15437 esac
15438 else
15439 ac_cv_lib_soname_cups=
15441 rm -f core conftest.err conftest.$ac_objext \
15442 conftest$ac_exeext conftest.$ac_ext
15443 LIBS=$ac_check_soname_save_LIBS
15445 if ${ac_cv_lib_soname_cups:+false} :; then :
15446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15447 $as_echo "not found" >&6; }
15448 CUPS_LIBS=""
15449 else
15450 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
15451 $as_echo "$ac_cv_lib_soname_cups" >&6; }
15453 cat >>confdefs.h <<_ACEOF
15454 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15455 _ACEOF
15459 else
15460 CUPS_CFLAGS=""
15461 CUPS_LIBS=""
15463 CPPFLAGS=$ac_save_CPPFLAGS
15464 test -z "$CUPS_CFLAGS" || CUPS_CFLAGS=`echo " $CUPS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15465 test -z "$CUPS_LIBS" || CUPS_LIBS=`echo " $CUPS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15468 if test "x$ac_cv_lib_soname_cups" = "x"; then :
15469 case "x$with_cups" in
15470 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
15471 xno) ;;
15472 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
15473 This is an error since --with-cups was requested." "$LINENO" 5 ;;
15474 esac
15478 if test "x$with_fontconfig" != "xno"
15479 then
15480 if ${FONTCONFIG_CFLAGS:+false} :; then :
15481 if ${PKG_CONFIG+:} false; then :
15482 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
15485 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
15486 if ${FONTCONFIG_LIBS:+false} :; then :
15487 if ${PKG_CONFIG+:} false; then :
15488 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
15491 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
15493 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
15494 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
15495 ac_save_CPPFLAGS=$CPPFLAGS
15496 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
15497 for ac_header in fontconfig/fontconfig.h
15498 do :
15499 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
15500 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
15501 cat >>confdefs.h <<_ACEOF
15502 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
15503 _ACEOF
15507 done
15509 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15510 then
15511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
15512 $as_echo_n "checking for -lfontconfig... " >&6; }
15513 if ${ac_cv_lib_soname_fontconfig+:} false; then :
15514 $as_echo_n "(cached) " >&6
15515 else
15516 ac_check_soname_save_LIBS=$LIBS
15517 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
15518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15519 /* end confdefs.h. */
15521 /* Override any GCC internal prototype to avoid an error.
15522 Use char because int might match the return type of a GCC
15523 builtin and then its argument prototype would still apply. */
15524 #ifdef __cplusplus
15525 extern "C"
15526 #endif
15527 char FcInit ();
15529 main ()
15531 return FcInit ();
15533 return 0;
15535 _ACEOF
15536 if ac_fn_c_try_link "$LINENO"; then :
15537 case "$LIBEXT" in
15538 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15539 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'` ;;
15540 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15541 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15542 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15543 fi ;;
15544 esac
15545 else
15546 ac_cv_lib_soname_fontconfig=
15548 rm -f core conftest.err conftest.$ac_objext \
15549 conftest$ac_exeext conftest.$ac_ext
15550 LIBS=$ac_check_soname_save_LIBS
15552 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15554 $as_echo "not found" >&6; }
15555 FONTCONFIG_CFLAGS=""
15556 else
15557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
15558 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
15560 cat >>confdefs.h <<_ACEOF
15561 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15562 _ACEOF
15566 else
15567 FONTCONFIG_CFLAGS=""
15569 CPPFLAGS=$ac_save_CPPFLAGS
15570 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15571 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15574 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
15575 case "x$with_fontconfig" in
15576 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
15577 xno) ;;
15578 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
15579 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
15580 esac
15584 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
15585 then
15586 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
15587 $as_echo_n "checking for -lgsm... " >&6; }
15588 if ${ac_cv_lib_soname_gsm+:} false; then :
15589 $as_echo_n "(cached) " >&6
15590 else
15591 ac_check_soname_save_LIBS=$LIBS
15592 LIBS="-lgsm $LIBS"
15593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15594 /* end confdefs.h. */
15596 /* Override any GCC internal prototype to avoid an error.
15597 Use char because int might match the return type of a GCC
15598 builtin and then its argument prototype would still apply. */
15599 #ifdef __cplusplus
15600 extern "C"
15601 #endif
15602 char gsm_create ();
15604 main ()
15606 return gsm_create ();
15608 return 0;
15610 _ACEOF
15611 if ac_fn_c_try_link "$LINENO"; then :
15612 case "$LIBEXT" in
15613 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15614 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'` ;;
15615 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15616 if ${ac_cv_lib_soname_gsm:+false} :; then :
15617 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15618 fi ;;
15619 esac
15620 else
15621 ac_cv_lib_soname_gsm=
15623 rm -f core conftest.err conftest.$ac_objext \
15624 conftest$ac_exeext conftest.$ac_ext
15625 LIBS=$ac_check_soname_save_LIBS
15627 if ${ac_cv_lib_soname_gsm:+false} :; then :
15628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15629 $as_echo "not found" >&6; }
15631 else
15632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
15633 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
15635 cat >>confdefs.h <<_ACEOF
15636 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
15637 _ACEOF
15642 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
15643 case "x$with_gsm" in
15644 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
15645 xno) ;;
15646 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
15647 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
15648 esac
15652 if test "x$with_krb5" != "xno"
15653 then
15654 if ${KRB5_CFLAGS:+false} :; then :
15655 if ${PKG_CONFIG+:} false; then :
15656 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
15659 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
15660 if ${KRB5_LIBS:+false} :; then :
15661 if ${PKG_CONFIG+:} false; then :
15662 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
15665 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
15667 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
15668 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
15669 ac_save_CPPFLAGS=$CPPFLAGS
15670 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
15671 for ac_header in krb5/krb5.h
15672 do :
15673 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
15674 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
15675 cat >>confdefs.h <<_ACEOF
15676 #define HAVE_KRB5_KRB5_H 1
15677 _ACEOF
15681 done
15683 if test "$ac_cv_header_krb5_krb5_h" = "yes"
15684 then
15685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
15686 $as_echo_n "checking for -lkrb5... " >&6; }
15687 if ${ac_cv_lib_soname_krb5+:} false; then :
15688 $as_echo_n "(cached) " >&6
15689 else
15690 ac_check_soname_save_LIBS=$LIBS
15691 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
15692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15693 /* end confdefs.h. */
15695 /* Override any GCC internal prototype to avoid an error.
15696 Use char because int might match the return type of a GCC
15697 builtin and then its argument prototype would still apply. */
15698 #ifdef __cplusplus
15699 extern "C"
15700 #endif
15701 char krb5_is_config_principal ();
15703 main ()
15705 return krb5_is_config_principal ();
15707 return 0;
15709 _ACEOF
15710 if ac_fn_c_try_link "$LINENO"; then :
15711 case "$LIBEXT" in
15712 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15713 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'` ;;
15714 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15715 if ${ac_cv_lib_soname_krb5:+false} :; then :
15716 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15717 fi ;;
15718 esac
15719 else
15720 ac_cv_lib_soname_krb5=
15722 rm -f core conftest.err conftest.$ac_objext \
15723 conftest$ac_exeext conftest.$ac_ext
15724 LIBS=$ac_check_soname_save_LIBS
15726 if ${ac_cv_lib_soname_krb5:+false} :; then :
15727 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15728 $as_echo "not found" >&6; }
15729 KRB5_CFLAGS=""
15730 else
15731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
15732 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
15734 cat >>confdefs.h <<_ACEOF
15735 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
15736 _ACEOF
15740 else
15741 KRB5_CFLAGS=""
15743 CPPFLAGS=$ac_save_CPPFLAGS
15744 test -z "$KRB5_CFLAGS" || KRB5_CFLAGS=`echo " $KRB5_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15745 test -z "$KRB5_LIBS" || KRB5_LIBS=`echo " $KRB5_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15748 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
15749 case "x$with_krb5" in
15750 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
15751 xno) ;;
15752 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
15753 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
15754 esac
15757 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
15759 if test "x$with_gssapi" != "xno"
15760 then
15761 if ${GSSAPI_CFLAGS:+false} :; then :
15762 if ${PKG_CONFIG+:} false; then :
15763 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
15766 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
15767 if ${GSSAPI_LIBS:+false} :; then :
15768 if ${PKG_CONFIG+:} false; then :
15769 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
15772 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
15774 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
15775 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
15776 ac_save_CPPFLAGS=$CPPFLAGS
15777 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
15778 for ac_header in gssapi/gssapi.h gssapi/gssapi_ext.h
15779 do :
15780 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15781 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15782 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15783 cat >>confdefs.h <<_ACEOF
15784 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15785 _ACEOF
15789 done
15791 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
15792 then
15793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
15794 $as_echo_n "checking for -lgssapi_krb5... " >&6; }
15795 if ${ac_cv_lib_soname_gssapi_krb5+:} false; then :
15796 $as_echo_n "(cached) " >&6
15797 else
15798 ac_check_soname_save_LIBS=$LIBS
15799 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
15800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15801 /* end confdefs.h. */
15803 /* Override any GCC internal prototype to avoid an error.
15804 Use char because int might match the return type of a GCC
15805 builtin and then its argument prototype would still apply. */
15806 #ifdef __cplusplus
15807 extern "C"
15808 #endif
15809 char gss_init_sec_context ();
15811 main ()
15813 return gss_init_sec_context ();
15815 return 0;
15817 _ACEOF
15818 if ac_fn_c_try_link "$LINENO"; then :
15819 case "$LIBEXT" in
15820 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15821 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'` ;;
15822 *) 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'`
15823 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15824 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15825 fi ;;
15826 esac
15827 else
15828 ac_cv_lib_soname_gssapi_krb5=
15830 rm -f core conftest.err conftest.$ac_objext \
15831 conftest$ac_exeext conftest.$ac_ext
15832 LIBS=$ac_check_soname_save_LIBS
15834 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15836 $as_echo "not found" >&6; }
15837 GSSAPI_CFLAGS=""
15838 else
15839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
15840 $as_echo "$ac_cv_lib_soname_gssapi_krb5" >&6; }
15842 cat >>confdefs.h <<_ACEOF
15843 #define SONAME_LIBGSSAPI_KRB5 "$ac_cv_lib_soname_gssapi_krb5"
15844 _ACEOF
15848 else
15849 GSSAPI_CFLAGS=""
15851 CPPFLAGS=$ac_save_CPPFLAGS
15852 test -z "$GSSAPI_CFLAGS" || GSSAPI_CFLAGS=`echo " $GSSAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15853 test -z "$GSSAPI_LIBS" || GSSAPI_LIBS=`echo " $GSSAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15856 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"; then :
15857 case "x$with_gssapi" in
15858 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
15859 xno) ;;
15860 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
15861 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
15862 esac
15866 if test "x$with_jpeg" != "xno"
15867 then
15868 if ${JPEG_CFLAGS:+false} :; then :
15869 if ${PKG_CONFIG+:} false; then :
15870 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
15874 if ${JPEG_LIBS:+false} :; then :
15875 if ${PKG_CONFIG+:} false; then :
15876 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
15881 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
15882 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
15883 ac_save_CPPFLAGS=$CPPFLAGS
15884 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
15885 for ac_header in jpeglib.h
15886 do :
15887 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
15888 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
15889 cat >>confdefs.h <<_ACEOF
15890 #define HAVE_JPEGLIB_H 1
15891 _ACEOF
15895 done
15897 if test "$ac_cv_header_jpeglib_h" = "yes"
15898 then
15899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
15900 $as_echo_n "checking for -ljpeg... " >&6; }
15901 if ${ac_cv_lib_soname_jpeg+:} false; then :
15902 $as_echo_n "(cached) " >&6
15903 else
15904 ac_check_soname_save_LIBS=$LIBS
15905 LIBS="-ljpeg $JPEG_LIBS $LIBS"
15906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15907 /* end confdefs.h. */
15909 /* Override any GCC internal prototype to avoid an error.
15910 Use char because int might match the return type of a GCC
15911 builtin and then its argument prototype would still apply. */
15912 #ifdef __cplusplus
15913 extern "C"
15914 #endif
15915 char jpeg_start_decompress ();
15917 main ()
15919 return jpeg_start_decompress ();
15921 return 0;
15923 _ACEOF
15924 if ac_fn_c_try_link "$LINENO"; then :
15925 case "$LIBEXT" in
15926 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15927 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'` ;;
15928 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15929 if ${ac_cv_lib_soname_jpeg:+false} :; then :
15930 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15931 fi ;;
15932 esac
15933 else
15934 ac_cv_lib_soname_jpeg=
15936 rm -f core conftest.err conftest.$ac_objext \
15937 conftest$ac_exeext conftest.$ac_ext
15938 LIBS=$ac_check_soname_save_LIBS
15940 if ${ac_cv_lib_soname_jpeg:+false} :; then :
15941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15942 $as_echo "not found" >&6; }
15943 JPEG_CFLAGS=""
15944 else
15945 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
15946 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
15948 cat >>confdefs.h <<_ACEOF
15949 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15950 _ACEOF
15954 else
15955 JPEG_CFLAGS=""
15957 CPPFLAGS=$ac_save_CPPFLAGS
15958 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15959 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15962 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
15963 case "x$with_jpeg" in
15964 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
15965 xno) ;;
15966 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
15967 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
15968 esac
15972 if test "x$with_png" != "xno"
15973 then
15974 if ${PNG_CFLAGS:+false} :; then :
15975 if ${PKG_CONFIG+:} false; then :
15976 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
15979 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
15980 if ${PNG_LIBS:+false} :; then :
15981 if ${PKG_CONFIG+:} false; then :
15982 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
15985 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
15987 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
15988 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
15989 ac_save_CPPFLAGS=$CPPFLAGS
15990 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
15991 for ac_header in png.h
15992 do :
15993 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
15994 if test "x$ac_cv_header_png_h" = xyes; then :
15995 cat >>confdefs.h <<_ACEOF
15996 #define HAVE_PNG_H 1
15997 _ACEOF
16001 done
16003 if test "$ac_cv_header_png_h" = "yes"
16004 then
16005 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
16006 $as_echo_n "checking for -lpng... " >&6; }
16007 if ${ac_cv_lib_soname_png+:} false; then :
16008 $as_echo_n "(cached) " >&6
16009 else
16010 ac_check_soname_save_LIBS=$LIBS
16011 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
16012 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16013 /* end confdefs.h. */
16015 /* Override any GCC internal prototype to avoid an error.
16016 Use char because int might match the return type of a GCC
16017 builtin and then its argument prototype would still apply. */
16018 #ifdef __cplusplus
16019 extern "C"
16020 #endif
16021 char png_create_read_struct ();
16023 main ()
16025 return png_create_read_struct ();
16027 return 0;
16029 _ACEOF
16030 if ac_fn_c_try_link "$LINENO"; then :
16031 case "$LIBEXT" in
16032 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16033 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'` ;;
16034 *) 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'`
16035 if ${ac_cv_lib_soname_png:+false} :; then :
16036 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16037 fi ;;
16038 esac
16039 else
16040 ac_cv_lib_soname_png=
16042 rm -f core conftest.err conftest.$ac_objext \
16043 conftest$ac_exeext conftest.$ac_ext
16044 LIBS=$ac_check_soname_save_LIBS
16046 if ${ac_cv_lib_soname_png:+false} :; then :
16047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16048 $as_echo "not found" >&6; }
16049 PNG_CFLAGS=""
16050 else
16051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
16052 $as_echo "$ac_cv_lib_soname_png" >&6; }
16054 cat >>confdefs.h <<_ACEOF
16055 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
16056 _ACEOF
16060 else
16061 PNG_CFLAGS=""
16063 CPPFLAGS=$ac_save_CPPFLAGS
16064 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16065 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16068 if test "x$ac_cv_lib_soname_png" = "x"; then :
16069 case "x$with_png" in
16070 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
16071 xno) ;;
16072 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
16073 This is an error since --with-png was requested." "$LINENO" 5 ;;
16074 esac
16078 if test "x$with_tiff" != "xno"
16079 then
16080 if ${TIFF_CFLAGS:+false} :; then :
16081 if ${PKG_CONFIG+:} false; then :
16082 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
16086 if ${TIFF_LIBS:+false} :; then :
16087 if ${PKG_CONFIG+:} false; then :
16088 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
16093 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
16094 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
16095 ac_save_CPPFLAGS=$CPPFLAGS
16096 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
16097 for ac_header in tiffio.h
16098 do :
16099 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
16100 if test "x$ac_cv_header_tiffio_h" = xyes; then :
16101 cat >>confdefs.h <<_ACEOF
16102 #define HAVE_TIFFIO_H 1
16103 _ACEOF
16107 done
16109 if test "$ac_cv_header_tiffio_h" = "yes"
16110 then
16111 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
16112 $as_echo_n "checking for -ltiff... " >&6; }
16113 if ${ac_cv_lib_soname_tiff+:} false; then :
16114 $as_echo_n "(cached) " >&6
16115 else
16116 ac_check_soname_save_LIBS=$LIBS
16117 LIBS="-ltiff $TIFF_LIBS $LIBS"
16118 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16119 /* end confdefs.h. */
16121 /* Override any GCC internal prototype to avoid an error.
16122 Use char because int might match the return type of a GCC
16123 builtin and then its argument prototype would still apply. */
16124 #ifdef __cplusplus
16125 extern "C"
16126 #endif
16127 char TIFFClientOpen ();
16129 main ()
16131 return TIFFClientOpen ();
16133 return 0;
16135 _ACEOF
16136 if ac_fn_c_try_link "$LINENO"; then :
16137 case "$LIBEXT" in
16138 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16139 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'` ;;
16140 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16141 if ${ac_cv_lib_soname_tiff:+false} :; then :
16142 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16143 fi ;;
16144 esac
16145 else
16146 ac_cv_lib_soname_tiff=
16148 rm -f core conftest.err conftest.$ac_objext \
16149 conftest$ac_exeext conftest.$ac_ext
16150 LIBS=$ac_check_soname_save_LIBS
16152 if ${ac_cv_lib_soname_tiff:+false} :; then :
16153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16154 $as_echo "not found" >&6; }
16156 else
16157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
16158 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
16160 cat >>confdefs.h <<_ACEOF
16161 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
16162 _ACEOF
16167 CPPFLAGS=$ac_save_CPPFLAGS
16168 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16169 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16172 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
16173 case "x$with_tiff" in
16174 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
16175 xno) ;;
16176 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
16177 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
16178 esac
16182 if test "x$with_mpg123" != "xno"
16183 then
16184 if ${MPG123_CFLAGS:+false} :; then :
16185 if ${PKG_CONFIG+:} false; then :
16186 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
16190 if ${MPG123_LIBS:+false} :; then :
16191 if ${PKG_CONFIG+:} false; then :
16192 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
16196 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
16197 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
16198 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
16199 ac_save_CPPFLAGS=$CPPFLAGS
16200 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
16201 for ac_header in mpg123.h
16202 do :
16203 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
16204 if test "x$ac_cv_header_mpg123_h" = xyes; then :
16205 cat >>confdefs.h <<_ACEOF
16206 #define HAVE_MPG123_H 1
16207 _ACEOF
16211 done
16213 if test "$ac_cv_header_mpg123_h" = "yes"
16214 then
16215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
16216 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
16217 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
16218 $as_echo_n "(cached) " >&6
16219 else
16220 ac_check_lib_save_LIBS=$LIBS
16221 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
16222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16223 /* end confdefs.h. */
16225 /* Override any GCC internal prototype to avoid an error.
16226 Use char because int might match the return type of a GCC
16227 builtin and then its argument prototype would still apply. */
16228 #ifdef __cplusplus
16229 extern "C"
16230 #endif
16231 char mpg123_feed ();
16233 main ()
16235 return mpg123_feed ();
16237 return 0;
16239 _ACEOF
16240 if ac_fn_c_try_link "$LINENO"; then :
16241 ac_cv_lib_mpg123_mpg123_feed=yes
16242 else
16243 ac_cv_lib_mpg123_mpg123_feed=no
16245 rm -f core conftest.err conftest.$ac_objext \
16246 conftest$ac_exeext conftest.$ac_ext
16247 LIBS=$ac_check_lib_save_LIBS
16249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
16250 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
16251 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
16253 else
16254 MPG123_LIBS=""
16257 else
16258 MPG123_CFLAGS=""
16259 MPG123_LIBS=""
16261 CPPFLAGS=$ac_save_CPPFLAGS
16262 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16263 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16266 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
16267 case "x$with_mpg123" in
16268 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
16269 xno) ;;
16270 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
16271 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
16272 esac
16273 enable_l3codeca_acm=${enable_l3codeca_acm:-no}
16275 test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes || enable_mp3dmod=${enable_mp3dmod:-no}
16277 if test "$ac_cv_header_AL_al_h" = "yes"
16278 then
16279 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
16280 $as_echo_n "checking for -lopenal... " >&6; }
16281 if ${ac_cv_lib_soname_openal+:} false; then :
16282 $as_echo_n "(cached) " >&6
16283 else
16284 ac_check_soname_save_LIBS=$LIBS
16285 LIBS="-lopenal $LIBS"
16286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16287 /* end confdefs.h. */
16289 /* Override any GCC internal prototype to avoid an error.
16290 Use char because int might match the return type of a GCC
16291 builtin and then its argument prototype would still apply. */
16292 #ifdef __cplusplus
16293 extern "C"
16294 #endif
16295 char alGetSource3i ();
16297 main ()
16299 return alGetSource3i ();
16301 return 0;
16303 _ACEOF
16304 if ac_fn_c_try_link "$LINENO"; then :
16305 case "$LIBEXT" in
16306 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16307 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'` ;;
16308 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16309 if ${ac_cv_lib_soname_openal:+false} :; then :
16310 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16311 fi ;;
16312 esac
16313 else
16314 ac_cv_lib_soname_openal=
16316 rm -f core conftest.err conftest.$ac_objext \
16317 conftest$ac_exeext conftest.$ac_ext
16318 LIBS=$ac_check_soname_save_LIBS
16320 if ${ac_cv_lib_soname_openal:+false} :; then :
16321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16322 $as_echo "not found" >&6; }
16324 else
16325 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
16326 $as_echo "$ac_cv_lib_soname_openal" >&6; }
16328 cat >>confdefs.h <<_ACEOF
16329 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
16330 _ACEOF
16332 OPENAL_LIBS="-lopenal"
16334 ac_cv_lib_openal=yes
16336 cat >>confdefs.h <<_ACEOF
16337 #define HAVE_OPENAL 1
16338 _ACEOF
16342 if test "x$ac_cv_lib_openal" != xyes; then :
16343 case "x$with_openal" in
16344 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
16345 xno) ;;
16346 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
16347 This is an error since --with-openal was requested." "$LINENO" 5 ;;
16348 esac
16349 enable_openal32=${enable_openal32:-no}
16352 if test "x$ac_cv_lib_soname_FAudio" = "x"
16353 then
16354 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
16355 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
16356 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
16357 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
16358 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
16359 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
16360 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
16361 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
16362 enable_xapofx1_1=${enable_xapofx1_1:-no}
16363 enable_xapofx1_2=${enable_xapofx1_2:-no}
16364 enable_xapofx1_3=${enable_xapofx1_3:-no}
16365 enable_xapofx1_4=${enable_xapofx1_4:-no}
16366 enable_xapofx1_5=${enable_xapofx1_5:-no}
16367 enable_xaudio2_0=${enable_xaudio2_0:-no}
16368 enable_xaudio2_1=${enable_xaudio2_1:-no}
16369 enable_xaudio2_2=${enable_xaudio2_2:-no}
16370 enable_xaudio2_3=${enable_xaudio2_3:-no}
16371 enable_xaudio2_4=${enable_xaudio2_4:-no}
16372 enable_xaudio2_5=${enable_xaudio2_5:-no}
16373 enable_xaudio2_6=${enable_xaudio2_6:-no}
16374 enable_xaudio2_7=${enable_xaudio2_7:-no}
16375 enable_xaudio2_8=${enable_xaudio2_8:-no}
16376 enable_xaudio2_9=${enable_xaudio2_9:-no}
16379 if test "$ac_cv_header_kstat_h" = "yes"
16380 then
16381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
16382 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
16383 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
16384 $as_echo_n "(cached) " >&6
16385 else
16386 ac_check_lib_save_LIBS=$LIBS
16387 LIBS="-lkstat $LIBS"
16388 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16389 /* end confdefs.h. */
16391 /* Override any GCC internal prototype to avoid an error.
16392 Use char because int might match the return type of a GCC
16393 builtin and then its argument prototype would still apply. */
16394 #ifdef __cplusplus
16395 extern "C"
16396 #endif
16397 char kstat_open ();
16399 main ()
16401 return kstat_open ();
16403 return 0;
16405 _ACEOF
16406 if ac_fn_c_try_link "$LINENO"; then :
16407 ac_cv_lib_kstat_kstat_open=yes
16408 else
16409 ac_cv_lib_kstat_kstat_open=no
16411 rm -f core conftest.err conftest.$ac_objext \
16412 conftest$ac_exeext conftest.$ac_ext
16413 LIBS=$ac_check_lib_save_LIBS
16415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
16416 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
16417 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
16419 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
16421 KSTAT_LIBS="-lkstat"
16427 if test "$ac_cv_header_libprocstat_h" = "yes"
16428 then
16429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
16430 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
16431 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
16432 $as_echo_n "(cached) " >&6
16433 else
16434 ac_check_lib_save_LIBS=$LIBS
16435 LIBS="-lprocstat $LIBS"
16436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16437 /* end confdefs.h. */
16439 /* Override any GCC internal prototype to avoid an error.
16440 Use char because int might match the return type of a GCC
16441 builtin and then its argument prototype would still apply. */
16442 #ifdef __cplusplus
16443 extern "C"
16444 #endif
16445 char procstat_open_sysctl ();
16447 main ()
16449 return procstat_open_sysctl ();
16451 return 0;
16453 _ACEOF
16454 if ac_fn_c_try_link "$LINENO"; then :
16455 ac_cv_lib_procstat_procstat_open_sysctl=yes
16456 else
16457 ac_cv_lib_procstat_procstat_open_sysctl=no
16459 rm -f core conftest.err conftest.$ac_objext \
16460 conftest$ac_exeext conftest.$ac_ext
16461 LIBS=$ac_check_lib_save_LIBS
16463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
16464 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
16465 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
16467 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
16469 PROCSTAT_LIBS="-lprocstat"
16475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
16476 $as_echo_n "checking for -lodbc... " >&6; }
16477 if ${ac_cv_lib_soname_odbc+:} false; then :
16478 $as_echo_n "(cached) " >&6
16479 else
16480 ac_check_soname_save_LIBS=$LIBS
16481 LIBS="-lodbc $LIBS"
16482 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16483 /* end confdefs.h. */
16485 /* Override any GCC internal prototype to avoid an error.
16486 Use char because int might match the return type of a GCC
16487 builtin and then its argument prototype would still apply. */
16488 #ifdef __cplusplus
16489 extern "C"
16490 #endif
16491 char SQLConnect ();
16493 main ()
16495 return SQLConnect ();
16497 return 0;
16499 _ACEOF
16500 if ac_fn_c_try_link "$LINENO"; then :
16501 case "$LIBEXT" in
16502 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16503 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'` ;;
16504 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16505 if ${ac_cv_lib_soname_odbc:+false} :; then :
16506 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16507 fi ;;
16508 esac
16509 else
16510 ac_cv_lib_soname_odbc=
16512 rm -f core conftest.err conftest.$ac_objext \
16513 conftest$ac_exeext conftest.$ac_ext
16514 LIBS=$ac_check_soname_save_LIBS
16516 if ${ac_cv_lib_soname_odbc:+false} :; then :
16517 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16518 $as_echo "not found" >&6; }
16519 cat >>confdefs.h <<_ACEOF
16520 #define SONAME_LIBODBC "libodbc.$LIBEXT"
16521 _ACEOF
16523 else
16524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
16525 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
16527 cat >>confdefs.h <<_ACEOF
16528 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
16529 _ACEOF
16534 if test "x$with_netapi" != "xno"
16535 then
16536 if ${NETAPI_CFLAGS:+false} :; then :
16537 if ${PKG_CONFIG+:} false; then :
16538 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
16542 if ${NETAPI_LIBS:+false} :; then :
16543 if ${PKG_CONFIG+:} false; then :
16544 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
16549 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
16550 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
16551 ac_save_CPPFLAGS=$CPPFLAGS
16552 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
16553 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
16554 $as_echo_n "checking for -lnetapi... " >&6; }
16555 if ${ac_cv_lib_soname_netapi+:} false; then :
16556 $as_echo_n "(cached) " >&6
16557 else
16558 ac_check_soname_save_LIBS=$LIBS
16559 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
16560 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16561 /* end confdefs.h. */
16563 /* Override any GCC internal prototype to avoid an error.
16564 Use char because int might match the return type of a GCC
16565 builtin and then its argument prototype would still apply. */
16566 #ifdef __cplusplus
16567 extern "C"
16568 #endif
16569 char libnetapi_init ();
16571 main ()
16573 return libnetapi_init ();
16575 return 0;
16577 _ACEOF
16578 if ac_fn_c_try_link "$LINENO"; then :
16579 case "$LIBEXT" in
16580 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16581 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'` ;;
16582 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16583 if ${ac_cv_lib_soname_netapi:+false} :; then :
16584 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16585 fi ;;
16586 esac
16587 else
16588 ac_cv_lib_soname_netapi=
16590 rm -f core conftest.err conftest.$ac_objext \
16591 conftest$ac_exeext conftest.$ac_ext
16592 LIBS=$ac_check_soname_save_LIBS
16594 if ${ac_cv_lib_soname_netapi:+false} :; then :
16595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16596 $as_echo "not found" >&6; }
16597 cat >>confdefs.h <<_ACEOF
16598 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
16599 _ACEOF
16601 else
16602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
16603 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
16605 cat >>confdefs.h <<_ACEOF
16606 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
16607 _ACEOF
16611 CPPFLAGS=$ac_save_CPPFLAGS
16612 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16613 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16617 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
16618 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
16619 then
16620 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
16623 if test "x$with_vulkan" != "xno"
16624 then
16625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
16626 $as_echo_n "checking for -lvulkan... " >&6; }
16627 if ${ac_cv_lib_soname_vulkan+:} false; then :
16628 $as_echo_n "(cached) " >&6
16629 else
16630 ac_check_soname_save_LIBS=$LIBS
16631 LIBS="-lvulkan $LIBS"
16632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16633 /* end confdefs.h. */
16635 /* Override any GCC internal prototype to avoid an error.
16636 Use char because int might match the return type of a GCC
16637 builtin and then its argument prototype would still apply. */
16638 #ifdef __cplusplus
16639 extern "C"
16640 #endif
16641 char vkGetInstanceProcAddr ();
16643 main ()
16645 return vkGetInstanceProcAddr ();
16647 return 0;
16649 _ACEOF
16650 if ac_fn_c_try_link "$LINENO"; then :
16651 case "$LIBEXT" in
16652 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16653 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'` ;;
16654 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16655 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16656 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16657 fi ;;
16658 esac
16659 else
16660 ac_cv_lib_soname_vulkan=
16662 rm -f core conftest.err conftest.$ac_objext \
16663 conftest$ac_exeext conftest.$ac_ext
16664 LIBS=$ac_check_soname_save_LIBS
16666 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16667 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16668 $as_echo "not found" >&6; }
16670 else
16671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
16672 $as_echo "$ac_cv_lib_soname_vulkan" >&6; }
16674 cat >>confdefs.h <<_ACEOF
16675 #define SONAME_LIBVULKAN "$ac_cv_lib_soname_vulkan"
16676 _ACEOF
16680 if test "x$ac_cv_lib_soname_vulkan" = "x"
16681 then
16682 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
16683 $as_echo_n "checking for -lMoltenVK... " >&6; }
16684 if ${ac_cv_lib_soname_MoltenVK+:} false; then :
16685 $as_echo_n "(cached) " >&6
16686 else
16687 ac_check_soname_save_LIBS=$LIBS
16688 LIBS="-lMoltenVK $LIBS"
16689 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16690 /* end confdefs.h. */
16692 /* Override any GCC internal prototype to avoid an error.
16693 Use char because int might match the return type of a GCC
16694 builtin and then its argument prototype would still apply. */
16695 #ifdef __cplusplus
16696 extern "C"
16697 #endif
16698 char vkGetInstanceProcAddr ();
16700 main ()
16702 return vkGetInstanceProcAddr ();
16704 return 0;
16706 _ACEOF
16707 if ac_fn_c_try_link "$LINENO"; then :
16708 case "$LIBEXT" in
16709 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16710 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'` ;;
16711 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16712 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16713 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16714 fi ;;
16715 esac
16716 else
16717 ac_cv_lib_soname_MoltenVK=
16719 rm -f core conftest.err conftest.$ac_objext \
16720 conftest$ac_exeext conftest.$ac_ext
16721 LIBS=$ac_check_soname_save_LIBS
16723 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16724 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16725 $as_echo "not found" >&6; }
16727 else
16728 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
16729 $as_echo "$ac_cv_lib_soname_MoltenVK" >&6; }
16731 cat >>confdefs.h <<_ACEOF
16732 #define SONAME_LIBMOLTENVK "$ac_cv_lib_soname_MoltenVK"
16733 _ACEOF
16739 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"; then :
16740 case "x$with_vulkan" in
16741 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
16742 xno) ;;
16743 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
16744 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
16745 esac
16749 if test "x$with_vkd3d" != "xno"
16750 then
16751 if ${VKD3D_CFLAGS:+false} :; then :
16752 if ${PKG_CONFIG+:} false; then :
16753 VKD3D_CFLAGS=`$PKG_CONFIG --cflags libvkd3d 2>/dev/null`
16757 if ${VKD3D_LIBS:+false} :; then :
16758 if ${PKG_CONFIG+:} false; then :
16759 VKD3D_LIBS=`$PKG_CONFIG --libs libvkd3d 2>/dev/null`
16764 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d cflags: $VKD3D_CFLAGS" >&5
16765 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d libs: $VKD3D_LIBS" >&5
16766 ac_save_CPPFLAGS=$CPPFLAGS
16767 CPPFLAGS="$CPPFLAGS $VKD3D_CFLAGS"
16768 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d" >&5
16769 $as_echo_n "checking for -lvkd3d... " >&6; }
16770 if ${ac_cv_lib_soname_vkd3d+:} false; then :
16771 $as_echo_n "(cached) " >&6
16772 else
16773 ac_check_soname_save_LIBS=$LIBS
16774 LIBS="-lvkd3d $VKD3D_LIBS $LIBS"
16775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16776 /* end confdefs.h. */
16778 /* Override any GCC internal prototype to avoid an error.
16779 Use char because int might match the return type of a GCC
16780 builtin and then its argument prototype would still apply. */
16781 #ifdef __cplusplus
16782 extern "C"
16783 #endif
16784 char vkd3d_get_dxgi_format ();
16786 main ()
16788 return vkd3d_get_dxgi_format ();
16790 return 0;
16792 _ACEOF
16793 if ac_fn_c_try_link "$LINENO"; then :
16794 case "$LIBEXT" in
16795 dll) ac_cv_lib_soname_vkd3d=`$ac_cv_path_LDD conftest.exe | grep "vkd3d" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16796 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'` ;;
16797 *) ac_cv_lib_soname_vkd3d=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvkd3d\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvkd3d\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16798 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16799 ac_cv_lib_soname_vkd3d=`$LDD conftest$ac_exeext | grep "libvkd3d\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16800 fi ;;
16801 esac
16802 else
16803 ac_cv_lib_soname_vkd3d=
16805 rm -f core conftest.err conftest.$ac_objext \
16806 conftest$ac_exeext conftest.$ac_ext
16807 LIBS=$ac_check_soname_save_LIBS
16809 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16811 $as_echo "not found" >&6; }
16813 else
16814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d" >&5
16815 $as_echo "$ac_cv_lib_soname_vkd3d" >&6; }
16817 cat >>confdefs.h <<_ACEOF
16818 #define SONAME_LIBVKD3D "$ac_cv_lib_soname_vkd3d"
16819 _ACEOF
16823 CPPFLAGS=$ac_save_CPPFLAGS
16824 test -z "$VKD3D_CFLAGS" || VKD3D_CFLAGS=`echo " $VKD3D_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16825 test -z "$VKD3D_LIBS" || VKD3D_LIBS=`echo " $VKD3D_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16828 if test "x$ac_cv_lib_soname_vkd3d" = "x"; then :
16829 case "x$with_vkd3d" in
16830 x) as_fn_append wine_notices "|vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported." ;;
16831 xno) ;;
16832 *) as_fn_error $? "vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported.
16833 This is an error since --with-vkd3d was requested." "$LINENO" 5 ;;
16834 esac
16837 test "x$ac_cv_lib_soname_vkd3d" != "x" || enable_d3d12=${enable_d3d12:-no}
16840 EXTRACFLAGS=""
16842 if test "x${GCC}" = "xyes"
16843 then
16844 EXTRACFLAGS="-Wall -pipe"
16846 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
16847 $as_echo_n "checking whether the compiler supports -fcf-protection=none... " >&6; }
16848 if ${ac_cv_cflags__fcf_protection_none+:} false; then :
16849 $as_echo_n "(cached) " >&6
16850 else
16851 ac_wine_try_cflags_saved=$CFLAGS
16852 CFLAGS="$CFLAGS -fcf-protection=none"
16853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16854 /* end confdefs.h. */
16855 int main(int argc, char **argv) { return 0; }
16856 _ACEOF
16857 if ac_fn_c_try_link "$LINENO"; then :
16858 ac_cv_cflags__fcf_protection_none=yes
16859 else
16860 ac_cv_cflags__fcf_protection_none=no
16862 rm -f core conftest.err conftest.$ac_objext \
16863 conftest$ac_exeext conftest.$ac_ext
16864 CFLAGS=$ac_wine_try_cflags_saved
16866 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
16867 $as_echo "$ac_cv_cflags__fcf_protection_none" >&6; }
16868 if test "x$ac_cv_cflags__fcf_protection_none" = xyes; then :
16869 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
16871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
16872 $as_echo_n "checking whether the compiler supports -fno-stack-protector... " >&6; }
16873 if ${ac_cv_cflags__fno_stack_protector+:} false; then :
16874 $as_echo_n "(cached) " >&6
16875 else
16876 ac_wine_try_cflags_saved=$CFLAGS
16877 CFLAGS="$CFLAGS -fno-stack-protector"
16878 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16879 /* end confdefs.h. */
16880 int main(int argc, char **argv) { return 0; }
16881 _ACEOF
16882 if ac_fn_c_try_link "$LINENO"; then :
16883 ac_cv_cflags__fno_stack_protector=yes
16884 else
16885 ac_cv_cflags__fno_stack_protector=no
16887 rm -f core conftest.err conftest.$ac_objext \
16888 conftest$ac_exeext conftest.$ac_ext
16889 CFLAGS=$ac_wine_try_cflags_saved
16891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
16892 $as_echo "$ac_cv_cflags__fno_stack_protector" >&6; }
16893 if test "x$ac_cv_cflags__fno_stack_protector" = xyes; then :
16894 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
16896 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
16897 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
16898 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
16899 $as_echo_n "(cached) " >&6
16900 else
16901 ac_wine_try_cflags_saved=$CFLAGS
16902 CFLAGS="$CFLAGS -fno-strict-aliasing"
16903 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16904 /* end confdefs.h. */
16905 int main(int argc, char **argv) { return 0; }
16906 _ACEOF
16907 if ac_fn_c_try_link "$LINENO"; then :
16908 ac_cv_cflags__fno_strict_aliasing=yes
16909 else
16910 ac_cv_cflags__fno_strict_aliasing=no
16912 rm -f core conftest.err conftest.$ac_objext \
16913 conftest$ac_exeext conftest.$ac_ext
16914 CFLAGS=$ac_wine_try_cflags_saved
16916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
16917 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
16918 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
16919 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
16921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
16922 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
16923 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
16924 $as_echo_n "(cached) " >&6
16925 else
16926 ac_wine_try_cflags_saved=$CFLAGS
16927 CFLAGS="$CFLAGS -fexcess-precision=standard"
16928 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16929 /* end confdefs.h. */
16930 int main(int argc, char **argv) { return 0; }
16931 _ACEOF
16932 if ac_fn_c_try_link "$LINENO"; then :
16933 ac_cv_cflags__fexcess_precision_standard=yes
16934 else
16935 ac_cv_cflags__fexcess_precision_standard=no
16937 rm -f core conftest.err conftest.$ac_objext \
16938 conftest$ac_exeext conftest.$ac_ext
16939 CFLAGS=$ac_wine_try_cflags_saved
16941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
16942 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
16943 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
16944 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
16947 saved_CFLAGS=$CFLAGS
16948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
16949 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
16950 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
16951 $as_echo_n "(cached) " >&6
16952 else
16953 ac_wine_try_cflags_saved=$CFLAGS
16954 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
16955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16956 /* end confdefs.h. */
16957 int main(int argc, char **argv) { return 0; }
16958 _ACEOF
16959 if ac_fn_c_try_link "$LINENO"; then :
16960 ac_cv_cflags__Werror_unknown_warning_option=yes
16961 else
16962 ac_cv_cflags__Werror_unknown_warning_option=no
16964 rm -f core conftest.err conftest.$ac_objext \
16965 conftest$ac_exeext conftest.$ac_ext
16966 CFLAGS=$ac_wine_try_cflags_saved
16968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
16969 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
16970 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
16971 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
16973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
16974 $as_echo_n "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
16975 if ${ac_cv_cflags__Werror_unused_command_line_argument+:} false; then :
16976 $as_echo_n "(cached) " >&6
16977 else
16978 ac_wine_try_cflags_saved=$CFLAGS
16979 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
16980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16981 /* end confdefs.h. */
16982 int main(int argc, char **argv) { return 0; }
16983 _ACEOF
16984 if ac_fn_c_try_link "$LINENO"; then :
16985 ac_cv_cflags__Werror_unused_command_line_argument=yes
16986 else
16987 ac_cv_cflags__Werror_unused_command_line_argument=no
16989 rm -f core conftest.err conftest.$ac_objext \
16990 conftest$ac_exeext conftest.$ac_ext
16991 CFLAGS=$ac_wine_try_cflags_saved
16993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
16994 $as_echo "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
16995 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes; then :
16996 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
16998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
16999 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
17000 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
17001 $as_echo_n "(cached) " >&6
17002 else
17003 ac_wine_try_cflags_saved=$CFLAGS
17004 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
17005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17006 /* end confdefs.h. */
17007 int main(int argc, char **argv) { return 0; }
17008 _ACEOF
17009 if ac_fn_c_try_link "$LINENO"; then :
17010 ac_cv_cflags__Wdeclaration_after_statement=yes
17011 else
17012 ac_cv_cflags__Wdeclaration_after_statement=no
17014 rm -f core conftest.err conftest.$ac_objext \
17015 conftest$ac_exeext conftest.$ac_ext
17016 CFLAGS=$ac_wine_try_cflags_saved
17018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
17019 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
17020 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
17021 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
17023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
17024 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
17025 if ${ac_cv_cflags__Wempty_body+:} false; then :
17026 $as_echo_n "(cached) " >&6
17027 else
17028 ac_wine_try_cflags_saved=$CFLAGS
17029 CFLAGS="$CFLAGS -Wempty-body"
17030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17031 /* end confdefs.h. */
17032 int main(int argc, char **argv) { return 0; }
17033 _ACEOF
17034 if ac_fn_c_try_link "$LINENO"; then :
17035 ac_cv_cflags__Wempty_body=yes
17036 else
17037 ac_cv_cflags__Wempty_body=no
17039 rm -f core conftest.err conftest.$ac_objext \
17040 conftest$ac_exeext conftest.$ac_ext
17041 CFLAGS=$ac_wine_try_cflags_saved
17043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
17044 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
17045 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
17046 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
17048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
17049 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
17050 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
17051 $as_echo_n "(cached) " >&6
17052 else
17053 ac_wine_try_cflags_saved=$CFLAGS
17054 CFLAGS="$CFLAGS -Wignored-qualifiers"
17055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17056 /* end confdefs.h. */
17057 int main(int argc, char **argv) { return 0; }
17058 _ACEOF
17059 if ac_fn_c_try_link "$LINENO"; then :
17060 ac_cv_cflags__Wignored_qualifiers=yes
17061 else
17062 ac_cv_cflags__Wignored_qualifiers=no
17064 rm -f core conftest.err conftest.$ac_objext \
17065 conftest$ac_exeext conftest.$ac_ext
17066 CFLAGS=$ac_wine_try_cflags_saved
17068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
17069 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
17070 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
17071 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
17073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
17074 $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
17075 if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
17076 $as_echo_n "(cached) " >&6
17077 else
17078 ac_wine_try_cflags_saved=$CFLAGS
17079 CFLAGS="$CFLAGS -Wpacked-not-aligned"
17080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17081 /* end confdefs.h. */
17082 int main(int argc, char **argv) { return 0; }
17083 _ACEOF
17084 if ac_fn_c_try_link "$LINENO"; then :
17085 ac_cv_cflags__Wpacked_not_aligned=yes
17086 else
17087 ac_cv_cflags__Wpacked_not_aligned=no
17089 rm -f core conftest.err conftest.$ac_objext \
17090 conftest$ac_exeext conftest.$ac_ext
17091 CFLAGS=$ac_wine_try_cflags_saved
17093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
17094 $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
17095 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
17096 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
17098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
17099 $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
17100 if ${ac_cv_cflags__Wpragma_pack+:} false; then :
17101 $as_echo_n "(cached) " >&6
17102 else
17103 ac_wine_try_cflags_saved=$CFLAGS
17104 CFLAGS="$CFLAGS -Wpragma-pack"
17105 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17106 /* end confdefs.h. */
17107 int main(int argc, char **argv) { return 0; }
17108 _ACEOF
17109 if ac_fn_c_try_link "$LINENO"; then :
17110 ac_cv_cflags__Wpragma_pack=yes
17111 else
17112 ac_cv_cflags__Wpragma_pack=no
17114 rm -f core conftest.err conftest.$ac_objext \
17115 conftest$ac_exeext conftest.$ac_ext
17116 CFLAGS=$ac_wine_try_cflags_saved
17118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
17119 $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
17120 if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
17121 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
17123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
17124 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
17125 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
17126 $as_echo_n "(cached) " >&6
17127 else
17128 ac_wine_try_cflags_saved=$CFLAGS
17129 CFLAGS="$CFLAGS -Wshift-overflow=2"
17130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17131 /* end confdefs.h. */
17132 int main(int argc, char **argv) { return 0; }
17133 _ACEOF
17134 if ac_fn_c_try_link "$LINENO"; then :
17135 ac_cv_cflags__Wshift_overflow_2=yes
17136 else
17137 ac_cv_cflags__Wshift_overflow_2=no
17139 rm -f core conftest.err conftest.$ac_objext \
17140 conftest$ac_exeext conftest.$ac_ext
17141 CFLAGS=$ac_wine_try_cflags_saved
17143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
17144 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
17145 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
17146 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
17148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
17149 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
17150 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
17151 $as_echo_n "(cached) " >&6
17152 else
17153 ac_wine_try_cflags_saved=$CFLAGS
17154 CFLAGS="$CFLAGS -Wstrict-prototypes"
17155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17156 /* end confdefs.h. */
17157 int main(int argc, char **argv) { return 0; }
17158 _ACEOF
17159 if ac_fn_c_try_link "$LINENO"; then :
17160 ac_cv_cflags__Wstrict_prototypes=yes
17161 else
17162 ac_cv_cflags__Wstrict_prototypes=no
17164 rm -f core conftest.err conftest.$ac_objext \
17165 conftest$ac_exeext conftest.$ac_ext
17166 CFLAGS=$ac_wine_try_cflags_saved
17168 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
17169 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
17170 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
17171 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
17173 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
17174 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
17175 if ${ac_cv_cflags__Wtype_limits+:} false; then :
17176 $as_echo_n "(cached) " >&6
17177 else
17178 ac_wine_try_cflags_saved=$CFLAGS
17179 CFLAGS="$CFLAGS -Wtype-limits"
17180 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17181 /* end confdefs.h. */
17182 int main(int argc, char **argv) { return 0; }
17183 _ACEOF
17184 if ac_fn_c_try_link "$LINENO"; then :
17185 ac_cv_cflags__Wtype_limits=yes
17186 else
17187 ac_cv_cflags__Wtype_limits=no
17189 rm -f core conftest.err conftest.$ac_objext \
17190 conftest$ac_exeext conftest.$ac_ext
17191 CFLAGS=$ac_wine_try_cflags_saved
17193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
17194 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
17195 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
17196 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
17198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
17199 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
17200 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
17201 $as_echo_n "(cached) " >&6
17202 else
17203 ac_wine_try_cflags_saved=$CFLAGS
17204 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
17205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17206 /* end confdefs.h. */
17207 int main(int argc, char **argv) { return 0; }
17208 _ACEOF
17209 if ac_fn_c_try_link "$LINENO"; then :
17210 ac_cv_cflags__Wunused_but_set_parameter=yes
17211 else
17212 ac_cv_cflags__Wunused_but_set_parameter=no
17214 rm -f core conftest.err conftest.$ac_objext \
17215 conftest$ac_exeext conftest.$ac_ext
17216 CFLAGS=$ac_wine_try_cflags_saved
17218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
17219 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
17220 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
17221 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
17223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
17224 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
17225 if ${ac_cv_cflags__Wvla+:} false; then :
17226 $as_echo_n "(cached) " >&6
17227 else
17228 ac_wine_try_cflags_saved=$CFLAGS
17229 CFLAGS="$CFLAGS -Wvla"
17230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17231 /* end confdefs.h. */
17232 int main(int argc, char **argv) { return 0; }
17233 _ACEOF
17234 if ac_fn_c_try_link "$LINENO"; then :
17235 ac_cv_cflags__Wvla=yes
17236 else
17237 ac_cv_cflags__Wvla=no
17239 rm -f core conftest.err conftest.$ac_objext \
17240 conftest$ac_exeext conftest.$ac_ext
17241 CFLAGS=$ac_wine_try_cflags_saved
17243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
17244 $as_echo "$ac_cv_cflags__Wvla" >&6; }
17245 if test "x$ac_cv_cflags__Wvla" = xyes; then :
17246 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
17248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
17249 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
17250 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
17251 $as_echo_n "(cached) " >&6
17252 else
17253 ac_wine_try_cflags_saved=$CFLAGS
17254 CFLAGS="$CFLAGS -Wwrite-strings"
17255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17256 /* end confdefs.h. */
17257 int main(int argc, char **argv) { return 0; }
17258 _ACEOF
17259 if ac_fn_c_try_link "$LINENO"; then :
17260 ac_cv_cflags__Wwrite_strings=yes
17261 else
17262 ac_cv_cflags__Wwrite_strings=no
17264 rm -f core conftest.err conftest.$ac_objext \
17265 conftest$ac_exeext conftest.$ac_ext
17266 CFLAGS=$ac_wine_try_cflags_saved
17268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
17269 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
17270 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
17271 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
17274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
17275 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
17276 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
17277 $as_echo_n "(cached) " >&6
17278 else
17279 ac_wine_try_cflags_saved=$CFLAGS
17280 CFLAGS="$CFLAGS -Wpointer-arith"
17281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17282 /* end confdefs.h. */
17283 int main(int argc, char **argv) { return 0; }
17284 _ACEOF
17285 if ac_fn_c_try_link "$LINENO"; then :
17286 ac_cv_cflags__Wpointer_arith=yes
17287 else
17288 ac_cv_cflags__Wpointer_arith=no
17290 rm -f core conftest.err conftest.$ac_objext \
17291 conftest$ac_exeext conftest.$ac_ext
17292 CFLAGS=$ac_wine_try_cflags_saved
17294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
17295 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
17296 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
17297 saved_string_h_CFLAGS=$CFLAGS
17298 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
17299 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
17300 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
17301 if ${ac_cv_c_string_h_warnings+:} false; then :
17302 $as_echo_n "(cached) " >&6
17303 else
17304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17305 /* end confdefs.h. */
17306 #include <string.h>
17308 main ()
17312 return 0;
17314 _ACEOF
17315 if ac_fn_c_try_compile "$LINENO"; then :
17316 ac_cv_c_string_h_warnings=no
17317 else
17318 ac_cv_c_string_h_warnings=yes
17320 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
17323 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
17324 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
17325 CFLAGS=$saved_string_h_CFLAGS
17328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
17329 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
17330 if ${ac_cv_cflags__Wlogical_op+:} false; then :
17331 $as_echo_n "(cached) " >&6
17332 else
17333 ac_wine_try_cflags_saved=$CFLAGS
17334 CFLAGS="$CFLAGS -Wlogical-op"
17335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17336 /* end confdefs.h. */
17337 int main(int argc, char **argv) { return 0; }
17338 _ACEOF
17339 if ac_fn_c_try_link "$LINENO"; then :
17340 ac_cv_cflags__Wlogical_op=yes
17341 else
17342 ac_cv_cflags__Wlogical_op=no
17344 rm -f core conftest.err conftest.$ac_objext \
17345 conftest$ac_exeext conftest.$ac_ext
17346 CFLAGS=$ac_wine_try_cflags_saved
17348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
17349 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
17350 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
17351 saved_string_h_CFLAGS=$CFLAGS
17352 CFLAGS="$CFLAGS -Wlogical-op -Werror"
17353 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
17354 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
17355 if ${ac_cv_c_logicalop_noisy+:} false; then :
17356 $as_echo_n "(cached) " >&6
17357 else
17358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17359 /* end confdefs.h. */
17360 #include <string.h>
17361 char*f(const char *h,char n) {return strchr(h,n);}
17363 main ()
17367 return 0;
17369 _ACEOF
17370 if ac_fn_c_try_compile "$LINENO"; then :
17371 ac_cv_c_logicalop_noisy=no
17372 else
17373 ac_cv_c_logicalop_noisy=yes
17375 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17377 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
17378 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
17379 CFLAGS=$saved_string_h_CFLAGS
17380 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
17383 for ac_flag in $CFLAGS; do
17384 case $ac_flag in
17385 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
17386 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
17387 if ${ac_cv_cflags__gdwarf_2+:} false; then :
17388 $as_echo_n "(cached) " >&6
17389 else
17390 ac_wine_try_cflags_saved=$CFLAGS
17391 CFLAGS="$CFLAGS -gdwarf-2"
17392 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17393 /* end confdefs.h. */
17394 int main(int argc, char **argv) { return 0; }
17395 _ACEOF
17396 if ac_fn_c_try_link "$LINENO"; then :
17397 ac_cv_cflags__gdwarf_2=yes
17398 else
17399 ac_cv_cflags__gdwarf_2=no
17401 rm -f core conftest.err conftest.$ac_objext \
17402 conftest$ac_exeext conftest.$ac_ext
17403 CFLAGS=$ac_wine_try_cflags_saved
17405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
17406 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
17407 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
17408 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
17410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
17411 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
17412 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
17413 $as_echo_n "(cached) " >&6
17414 else
17415 ac_wine_try_cflags_saved=$CFLAGS
17416 CFLAGS="$CFLAGS -gstrict-dwarf"
17417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17418 /* end confdefs.h. */
17419 int main(int argc, char **argv) { return 0; }
17420 _ACEOF
17421 if ac_fn_c_try_link "$LINENO"; then :
17422 ac_cv_cflags__gstrict_dwarf=yes
17423 else
17424 ac_cv_cflags__gstrict_dwarf=no
17426 rm -f core conftest.err conftest.$ac_objext \
17427 conftest$ac_exeext conftest.$ac_ext
17428 CFLAGS=$ac_wine_try_cflags_saved
17430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
17431 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
17432 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
17433 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
17434 fi ;;
17435 esac
17436 done
17438 MSVCRTFLAGS=""
17440 case $host_os in
17441 mingw32*) ;;
17442 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
17443 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
17444 if ${ac_cv_cflags__fno_builtin+:} false; then :
17445 $as_echo_n "(cached) " >&6
17446 else
17447 ac_wine_try_cflags_saved=$CFLAGS
17448 CFLAGS="$CFLAGS -fno-builtin"
17449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17450 /* end confdefs.h. */
17451 int main(int argc, char **argv) { return 0; }
17452 _ACEOF
17453 if ac_fn_c_try_link "$LINENO"; then :
17454 ac_cv_cflags__fno_builtin=yes
17455 else
17456 ac_cv_cflags__fno_builtin=no
17458 rm -f core conftest.err conftest.$ac_objext \
17459 conftest$ac_exeext conftest.$ac_ext
17460 CFLAGS=$ac_wine_try_cflags_saved
17462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
17463 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
17464 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
17465 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
17467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
17468 $as_echo_n "checking whether the compiler supports -fshort-wchar... " >&6; }
17469 if ${ac_cv_cflags__fshort_wchar+:} false; then :
17470 $as_echo_n "(cached) " >&6
17471 else
17472 ac_wine_try_cflags_saved=$CFLAGS
17473 CFLAGS="$CFLAGS -fshort-wchar"
17474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17475 /* end confdefs.h. */
17476 int main(int argc, char **argv) { return 0; }
17477 _ACEOF
17478 if ac_fn_c_try_link "$LINENO"; then :
17479 ac_cv_cflags__fshort_wchar=yes
17480 else
17481 ac_cv_cflags__fshort_wchar=no
17483 rm -f core conftest.err conftest.$ac_objext \
17484 conftest$ac_exeext conftest.$ac_ext
17485 CFLAGS=$ac_wine_try_cflags_saved
17487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
17488 $as_echo "$ac_cv_cflags__fshort_wchar" >&6; }
17489 if test "x$ac_cv_cflags__fshort_wchar" = xyes; then :
17490 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
17491 fi ;;
17492 esac
17494 case $host_cpu in
17495 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
17496 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
17497 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
17498 $as_echo_n "(cached) " >&6
17499 else
17500 ac_wine_try_cflags_saved=$CFLAGS
17501 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
17502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17503 /* end confdefs.h. */
17504 int main(int argc, char **argv) { return 0; }
17505 _ACEOF
17506 if ac_fn_c_try_link "$LINENO"; then :
17507 ac_cv_cflags__fno_omit_frame_pointer=yes
17508 else
17509 ac_cv_cflags__fno_omit_frame_pointer=no
17511 rm -f core conftest.err conftest.$ac_objext \
17512 conftest$ac_exeext conftest.$ac_ext
17513 CFLAGS=$ac_wine_try_cflags_saved
17515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
17516 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
17517 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
17518 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
17519 fi ;;
17520 *x86_64*)
17521 case $host_os in
17522 cygwin*|mingw32*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
17523 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
17524 if ${ac_cv_cflags__Wno_format+:} false; then :
17525 $as_echo_n "(cached) " >&6
17526 else
17527 ac_wine_try_cflags_saved=$CFLAGS
17528 CFLAGS="$CFLAGS -Wno-format"
17529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17530 /* end confdefs.h. */
17531 int main(int argc, char **argv) { return 0; }
17532 _ACEOF
17533 if ac_fn_c_try_link "$LINENO"; then :
17534 ac_cv_cflags__Wno_format=yes
17535 else
17536 ac_cv_cflags__Wno_format=no
17538 rm -f core conftest.err conftest.$ac_objext \
17539 conftest$ac_exeext conftest.$ac_ext
17540 CFLAGS=$ac_wine_try_cflags_saved
17542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
17543 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
17544 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
17545 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
17546 fi ;;
17547 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mabi=ms" >&5
17548 $as_echo_n "checking whether the compiler supports -mabi=ms... " >&6; }
17549 if ${ac_cv_cflags__mabi_ms+:} false; then :
17550 $as_echo_n "(cached) " >&6
17551 else
17552 ac_wine_try_cflags_saved=$CFLAGS
17553 CFLAGS="$CFLAGS -mabi=ms"
17554 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17555 /* end confdefs.h. */
17556 int main(int argc, char **argv) { return 0; }
17557 _ACEOF
17558 if ac_fn_c_try_link "$LINENO"; then :
17559 ac_cv_cflags__mabi_ms=yes
17560 else
17561 ac_cv_cflags__mabi_ms=no
17563 rm -f core conftest.err conftest.$ac_objext \
17564 conftest$ac_exeext conftest.$ac_ext
17565 CFLAGS=$ac_wine_try_cflags_saved
17567 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mabi_ms" >&5
17568 $as_echo "$ac_cv_cflags__mabi_ms" >&6; }
17569 if test "x$ac_cv_cflags__mabi_ms" = xyes; then :
17570 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms"
17571 fi ;;
17572 esac ;;
17573 esac
17575 CFLAGS=$saved_CFLAGS
17577 if test "x$enable_maintainer_mode" = "xyes"
17578 then
17579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
17580 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
17581 if ${ac_cv_cflags__Werror+:} false; then :
17582 $as_echo_n "(cached) " >&6
17583 else
17584 ac_wine_try_cflags_saved=$CFLAGS
17585 CFLAGS="$CFLAGS -Werror"
17586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17587 /* end confdefs.h. */
17588 int main(int argc, char **argv) { return 0; }
17589 _ACEOF
17590 if ac_fn_c_try_link "$LINENO"; then :
17591 ac_cv_cflags__Werror=yes
17592 else
17593 ac_cv_cflags__Werror=no
17595 rm -f core conftest.err conftest.$ac_objext \
17596 conftest$ac_exeext conftest.$ac_ext
17597 CFLAGS=$ac_wine_try_cflags_saved
17599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
17600 $as_echo "$ac_cv_cflags__Werror" >&6; }
17601 if test "x$ac_cv_cflags__Werror" = xyes; then :
17602 EXTRACFLAGS="$EXTRACFLAGS -Werror"
17608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
17609 $as_echo_n "checking for the need to disable Fortify... " >&6; }
17610 if ${ac_cv_c_fortify_enabled+:} false; then :
17611 $as_echo_n "(cached) " >&6
17612 else
17613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17614 /* end confdefs.h. */
17615 #include <string.h>
17617 main ()
17619 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
17620 #error Fortify enabled
17621 #endif
17623 return 0;
17625 _ACEOF
17626 if ac_fn_c_try_compile "$LINENO"; then :
17627 ac_cv_c_fortify_enabled=no
17628 else
17629 ac_cv_c_fortify_enabled=yes
17631 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
17634 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
17635 if test "$ac_cv_c_fortify_enabled" = yes
17636 then
17637 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
17641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
17642 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
17643 if ${ac_cv_c_cfi_support+:} false; then :
17644 $as_echo_n "(cached) " >&6
17645 else
17646 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17647 /* end confdefs.h. */
17648 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
17650 main ()
17654 return 0;
17656 _ACEOF
17657 if ac_fn_c_try_compile "$LINENO"; then :
17658 ac_cv_c_cfi_support="yes"
17659 else
17660 ac_cv_c_cfi_support="no"
17662 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17664 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
17665 $as_echo "$ac_cv_c_cfi_support" >&6; }
17666 if test "$ac_cv_c_cfi_support" = "yes"
17667 then
17668 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
17669 else
17670 if test "x$enable_win64" = "xyes"
17671 then
17672 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
17677 case $build_os in
17678 cygwin*|mingw32*) TOOLSEXT=".exe"
17680 esac
17682 case $host_os in
17683 linux*)
17684 case $host_cpu in
17685 *i[3456789]86*|x86_64*|*aarch64*)
17686 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
17687 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
17689 esac
17691 esac
17694 ac_save_CFLAGS="$CFLAGS"
17695 CFLAGS="$CFLAGS $BUILTINFLAG"
17696 for ac_func in \
17697 __res_get_state \
17698 __res_getservers \
17699 _spawnvp \
17700 dlopen \
17701 epoll_create \
17702 ffs \
17703 finitef \
17704 fnmatch \
17705 fork \
17706 fpclass \
17707 fstatfs \
17708 fstatvfs \
17709 futimens \
17710 futimes \
17711 futimesat \
17712 getattrlist \
17713 getauxval \
17714 getifaddrs \
17715 getopt_long_only \
17716 kqueue \
17717 lstat \
17718 mach_continuous_time \
17719 pipe2 \
17720 poll \
17721 port_create \
17722 prctl \
17723 pread \
17724 proc_pidinfo \
17725 pwrite \
17726 readdir \
17727 readlink \
17728 sched_yield \
17729 select \
17730 setproctitle \
17731 setprogname \
17732 settimeofday \
17733 sigprocmask \
17734 statfs \
17735 statvfs \
17736 strnlen \
17737 strtold \
17738 symlink \
17739 sysinfo \
17740 tcdrain \
17741 thr_kill2 \
17742 timegm \
17743 usleep
17745 do :
17746 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17747 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17748 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17749 cat >>confdefs.h <<_ACEOF
17750 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17751 _ACEOF
17754 done
17756 CFLAGS="$ac_save_CFLAGS"
17758 if test "$ac_cv_func_dlopen" = no
17759 then
17760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
17761 $as_echo_n "checking for dlopen in -ldl... " >&6; }
17762 if ${ac_cv_lib_dl_dlopen+:} false; then :
17763 $as_echo_n "(cached) " >&6
17764 else
17765 ac_check_lib_save_LIBS=$LIBS
17766 LIBS="-ldl $LIBS"
17767 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17768 /* end confdefs.h. */
17770 /* Override any GCC internal prototype to avoid an error.
17771 Use char because int might match the return type of a GCC
17772 builtin and then its argument prototype would still apply. */
17773 #ifdef __cplusplus
17774 extern "C"
17775 #endif
17776 char dlopen ();
17778 main ()
17780 return dlopen ();
17782 return 0;
17784 _ACEOF
17785 if ac_fn_c_try_link "$LINENO"; then :
17786 ac_cv_lib_dl_dlopen=yes
17787 else
17788 ac_cv_lib_dl_dlopen=no
17790 rm -f core conftest.err conftest.$ac_objext \
17791 conftest$ac_exeext conftest.$ac_ext
17792 LIBS=$ac_check_lib_save_LIBS
17794 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
17795 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
17796 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
17797 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
17798 DL_LIBS="-ldl"
17803 ac_wine_check_funcs_save_LIBS="$LIBS"
17804 LIBS="$LIBS $DL_LIBS"
17805 for ac_func in dladdr
17806 do :
17807 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
17808 if test "x$ac_cv_func_dladdr" = xyes; then :
17809 cat >>confdefs.h <<_ACEOF
17810 #define HAVE_DLADDR 1
17811 _ACEOF
17814 done
17816 LIBS="$ac_wine_check_funcs_save_LIBS"
17818 if test "$ac_cv_func_poll" = no
17819 then
17820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
17821 $as_echo_n "checking for poll in -lpoll... " >&6; }
17822 if ${ac_cv_lib_poll_poll+:} false; then :
17823 $as_echo_n "(cached) " >&6
17824 else
17825 ac_check_lib_save_LIBS=$LIBS
17826 LIBS="-lpoll $LIBS"
17827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17828 /* end confdefs.h. */
17830 /* Override any GCC internal prototype to avoid an error.
17831 Use char because int might match the return type of a GCC
17832 builtin and then its argument prototype would still apply. */
17833 #ifdef __cplusplus
17834 extern "C"
17835 #endif
17836 char poll ();
17838 main ()
17840 return poll ();
17842 return 0;
17844 _ACEOF
17845 if ac_fn_c_try_link "$LINENO"; then :
17846 ac_cv_lib_poll_poll=yes
17847 else
17848 ac_cv_lib_poll_poll=no
17850 rm -f core conftest.err conftest.$ac_objext \
17851 conftest$ac_exeext conftest.$ac_ext
17852 LIBS=$ac_check_lib_save_LIBS
17854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
17855 $as_echo "$ac_cv_lib_poll_poll" >&6; }
17856 if test "x$ac_cv_lib_poll_poll" = xyes; then :
17857 $as_echo "#define HAVE_POLL 1" >>confdefs.h
17858 POLL_LIBS="-lpoll"
17864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
17865 $as_echo_n "checking for library containing gethostbyname... " >&6; }
17866 if ${ac_cv_search_gethostbyname+:} false; then :
17867 $as_echo_n "(cached) " >&6
17868 else
17869 ac_func_search_save_LIBS=$LIBS
17870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17871 /* end confdefs.h. */
17873 /* Override any GCC internal prototype to avoid an error.
17874 Use char because int might match the return type of a GCC
17875 builtin and then its argument prototype would still apply. */
17876 #ifdef __cplusplus
17877 extern "C"
17878 #endif
17879 char gethostbyname ();
17881 main ()
17883 return gethostbyname ();
17885 return 0;
17887 _ACEOF
17888 for ac_lib in '' nsl; do
17889 if test -z "$ac_lib"; then
17890 ac_res="none required"
17891 else
17892 ac_res=-l$ac_lib
17893 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17895 if ac_fn_c_try_link "$LINENO"; then :
17896 ac_cv_search_gethostbyname=$ac_res
17898 rm -f core conftest.err conftest.$ac_objext \
17899 conftest$ac_exeext
17900 if ${ac_cv_search_gethostbyname+:} false; then :
17901 break
17903 done
17904 if ${ac_cv_search_gethostbyname+:} false; then :
17906 else
17907 ac_cv_search_gethostbyname=no
17909 rm conftest.$ac_ext
17910 LIBS=$ac_func_search_save_LIBS
17912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
17913 $as_echo "$ac_cv_search_gethostbyname" >&6; }
17914 ac_res=$ac_cv_search_gethostbyname
17915 if test "$ac_res" != no; then :
17916 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
17922 $as_echo_n "checking for library containing connect... " >&6; }
17923 if ${ac_cv_search_connect+:} false; then :
17924 $as_echo_n "(cached) " >&6
17925 else
17926 ac_func_search_save_LIBS=$LIBS
17927 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17928 /* end confdefs.h. */
17930 /* Override any GCC internal prototype to avoid an error.
17931 Use char because int might match the return type of a GCC
17932 builtin and then its argument prototype would still apply. */
17933 #ifdef __cplusplus
17934 extern "C"
17935 #endif
17936 char connect ();
17938 main ()
17940 return connect ();
17942 return 0;
17944 _ACEOF
17945 for ac_lib in '' socket; do
17946 if test -z "$ac_lib"; then
17947 ac_res="none required"
17948 else
17949 ac_res=-l$ac_lib
17950 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17952 if ac_fn_c_try_link "$LINENO"; then :
17953 ac_cv_search_connect=$ac_res
17955 rm -f core conftest.err conftest.$ac_objext \
17956 conftest$ac_exeext
17957 if ${ac_cv_search_connect+:} false; then :
17958 break
17960 done
17961 if ${ac_cv_search_connect+:} false; then :
17963 else
17964 ac_cv_search_connect=no
17966 rm conftest.$ac_ext
17967 LIBS=$ac_func_search_save_LIBS
17969 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
17970 $as_echo "$ac_cv_search_connect" >&6; }
17971 ac_res=$ac_cv_search_connect
17972 if test "$ac_res" != no; then :
17973 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17978 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
17979 $as_echo_n "checking for library containing inet_aton... " >&6; }
17980 if ${ac_cv_search_inet_aton+:} false; then :
17981 $as_echo_n "(cached) " >&6
17982 else
17983 ac_func_search_save_LIBS=$LIBS
17984 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17985 /* end confdefs.h. */
17987 /* Override any GCC internal prototype to avoid an error.
17988 Use char because int might match the return type of a GCC
17989 builtin and then its argument prototype would still apply. */
17990 #ifdef __cplusplus
17991 extern "C"
17992 #endif
17993 char inet_aton ();
17995 main ()
17997 return inet_aton ();
17999 return 0;
18001 _ACEOF
18002 for ac_lib in '' resolv; do
18003 if test -z "$ac_lib"; then
18004 ac_res="none required"
18005 else
18006 ac_res=-l$ac_lib
18007 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18009 if ac_fn_c_try_link "$LINENO"; then :
18010 ac_cv_search_inet_aton=$ac_res
18012 rm -f core conftest.err conftest.$ac_objext \
18013 conftest$ac_exeext
18014 if ${ac_cv_search_inet_aton+:} false; then :
18015 break
18017 done
18018 if ${ac_cv_search_inet_aton+:} false; then :
18020 else
18021 ac_cv_search_inet_aton=no
18023 rm conftest.$ac_ext
18024 LIBS=$ac_func_search_save_LIBS
18026 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
18027 $as_echo "$ac_cv_search_inet_aton" >&6; }
18028 ac_res=$ac_cv_search_inet_aton
18029 if test "$ac_res" != no; then :
18030 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18035 for ac_func in \
18036 getaddrinfo \
18037 getnameinfo \
18038 getnetbyname \
18039 getprotobyname \
18040 getprotobynumber \
18041 getservbyport \
18042 inet_addr \
18043 inet_network \
18044 inet_ntop \
18045 inet_pton \
18047 do :
18048 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18049 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18050 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18051 cat >>confdefs.h <<_ACEOF
18052 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18053 _ACEOF
18056 done
18059 case $host_os in
18060 darwin*|macosx*) ;;
18061 *) ac_save_LIBS=$LIBS
18062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
18063 $as_echo_n "checking for library containing clock_gettime... " >&6; }
18064 if ${ac_cv_search_clock_gettime+:} false; then :
18065 $as_echo_n "(cached) " >&6
18066 else
18067 ac_func_search_save_LIBS=$LIBS
18068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18069 /* end confdefs.h. */
18071 /* Override any GCC internal prototype to avoid an error.
18072 Use char because int might match the return type of a GCC
18073 builtin and then its argument prototype would still apply. */
18074 #ifdef __cplusplus
18075 extern "C"
18076 #endif
18077 char clock_gettime ();
18079 main ()
18081 return clock_gettime ();
18083 return 0;
18085 _ACEOF
18086 for ac_lib in '' rt; do
18087 if test -z "$ac_lib"; then
18088 ac_res="none required"
18089 else
18090 ac_res=-l$ac_lib
18091 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18093 if ac_fn_c_try_link "$LINENO"; then :
18094 ac_cv_search_clock_gettime=$ac_res
18096 rm -f core conftest.err conftest.$ac_objext \
18097 conftest$ac_exeext
18098 if ${ac_cv_search_clock_gettime+:} false; then :
18099 break
18101 done
18102 if ${ac_cv_search_clock_gettime+:} false; then :
18104 else
18105 ac_cv_search_clock_gettime=no
18107 rm conftest.$ac_ext
18108 LIBS=$ac_func_search_save_LIBS
18110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
18111 $as_echo "$ac_cv_search_clock_gettime" >&6; }
18112 ac_res=$ac_cv_search_clock_gettime
18113 if test "$ac_res" != no; then :
18114 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18116 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
18118 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
18122 LIBS=$ac_save_LIBS
18124 esac
18126 if test "x$with_ldap" != "xno"
18127 then
18128 if ${LDAP_CFLAGS:+false} :; then :
18129 if ${PKG_CONFIG+:} false; then :
18130 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
18134 if ${LDAP_LIBS:+false} :; then :
18135 if ${PKG_CONFIG+:} false; then :
18136 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
18140 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
18141 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
18142 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
18143 ac_save_CPPFLAGS=$CPPFLAGS
18144 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
18145 for ac_header in ldap.h lber.h
18146 do :
18147 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18148 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18149 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
18150 cat >>confdefs.h <<_ACEOF
18151 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18152 _ACEOF
18156 done
18158 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
18159 then
18160 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
18162 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
18163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
18164 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
18165 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
18166 $as_echo_n "(cached) " >&6
18167 else
18168 ac_check_lib_save_LIBS=$LIBS
18169 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18171 /* end confdefs.h. */
18173 /* Override any GCC internal prototype to avoid an error.
18174 Use char because int might match the return type of a GCC
18175 builtin and then its argument prototype would still apply. */
18176 #ifdef __cplusplus
18177 extern "C"
18178 #endif
18179 char ldap_initialize ();
18181 main ()
18183 return ldap_initialize ();
18185 return 0;
18187 _ACEOF
18188 if ac_fn_c_try_link "$LINENO"; then :
18189 ac_cv_lib_ldap_r_ldap_initialize=yes
18190 else
18191 ac_cv_lib_ldap_r_ldap_initialize=no
18193 rm -f core conftest.err conftest.$ac_objext \
18194 conftest$ac_exeext conftest.$ac_ext
18195 LIBS=$ac_check_lib_save_LIBS
18197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
18198 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
18199 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
18200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
18201 $as_echo_n "checking for ber_init in -llber... " >&6; }
18202 if ${ac_cv_lib_lber_ber_init+:} false; then :
18203 $as_echo_n "(cached) " >&6
18204 else
18205 ac_check_lib_save_LIBS=$LIBS
18206 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18208 /* end confdefs.h. */
18210 /* Override any GCC internal prototype to avoid an error.
18211 Use char because int might match the return type of a GCC
18212 builtin and then its argument prototype would still apply. */
18213 #ifdef __cplusplus
18214 extern "C"
18215 #endif
18216 char ber_init ();
18218 main ()
18220 return ber_init ();
18222 return 0;
18224 _ACEOF
18225 if ac_fn_c_try_link "$LINENO"; then :
18226 ac_cv_lib_lber_ber_init=yes
18227 else
18228 ac_cv_lib_lber_ber_init=no
18230 rm -f core conftest.err conftest.$ac_objext \
18231 conftest$ac_exeext conftest.$ac_ext
18232 LIBS=$ac_check_lib_save_LIBS
18234 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
18235 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
18236 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
18238 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
18240 else
18241 LDAP_LIBS=""
18244 else
18245 LDAP_LIBS=""
18248 else
18249 LDAP_LIBS=""
18252 ac_wine_check_funcs_save_LIBS="$LIBS"
18253 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
18254 for ac_func in \
18255 ldap_count_references \
18256 ldap_first_reference \
18257 ldap_next_reference \
18258 ldap_parse_reference \
18259 ldap_parse_sort_control \
18260 ldap_parse_sortresponse_control \
18261 ldap_parse_vlv_control \
18262 ldap_parse_vlvresponse_control
18263 do :
18264 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18265 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18266 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18267 cat >>confdefs.h <<_ACEOF
18268 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18269 _ACEOF
18272 done
18274 LIBS="$ac_wine_check_funcs_save_LIBS"
18275 else
18276 LDAP_LIBS=""
18278 CPPFLAGS=$ac_save_CPPFLAGS
18279 test -z "$LDAP_CFLAGS" || LDAP_CFLAGS=`echo " $LDAP_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
18280 test -z "$LDAP_LIBS" || LDAP_LIBS=`echo " $LDAP_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
18283 if test "x$LDAP_LIBS" = "x"; then :
18284 case "x$with_ldap" in
18285 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
18286 xno) ;;
18287 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
18288 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
18289 esac
18293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
18294 $as_echo_n "checking for sched_setaffinity... " >&6; }
18295 if ${wine_cv_have_sched_setaffinity+:} false; then :
18296 $as_echo_n "(cached) " >&6
18297 else
18298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18299 /* end confdefs.h. */
18300 #define _GNU_SOURCE
18301 #include <sched.h>
18303 main ()
18305 sched_setaffinity(0, 0, 0);
18307 return 0;
18309 _ACEOF
18310 if ac_fn_c_try_link "$LINENO"; then :
18311 wine_cv_have_sched_setaffinity=yes
18312 else
18313 wine_cv_have_sched_setaffinity=no
18315 rm -f core conftest.err conftest.$ac_objext \
18316 conftest$ac_exeext conftest.$ac_ext
18318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
18319 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
18320 if test "$wine_cv_have_sched_setaffinity" = "yes"
18321 then
18323 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
18327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
18328 $as_echo_n "checking for fallocate... " >&6; }
18329 if ${wine_cv_have_fallocate+:} false; then :
18330 $as_echo_n "(cached) " >&6
18331 else
18332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18333 /* end confdefs.h. */
18334 #define _GNU_SOURCE
18335 #include <fcntl.h>
18337 main ()
18339 fallocate(-1, 0, 0, 0);
18341 return 0;
18343 _ACEOF
18344 if ac_fn_c_try_link "$LINENO"; then :
18345 wine_cv_have_fallocate=yes
18346 else
18347 wine_cv_have_fallocate=no
18349 rm -f core conftest.err conftest.$ac_objext \
18350 conftest$ac_exeext conftest.$ac_ext
18352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
18353 $as_echo "$wine_cv_have_fallocate" >&6; }
18354 if test "$wine_cv_have_fallocate" = "yes"
18355 then
18357 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
18362 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
18363 $as_echo_n "checking for inline... " >&6; }
18364 if ${ac_cv_c_inline+:} false; then :
18365 $as_echo_n "(cached) " >&6
18366 else
18367 ac_cv_c_inline=no
18368 for ac_kw in inline __inline__ __inline; do
18369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18370 /* end confdefs.h. */
18371 #ifndef __cplusplus
18372 typedef int foo_t;
18373 static $ac_kw foo_t static_foo () {return 0; }
18374 $ac_kw foo_t foo () {return 0; }
18375 #endif
18377 _ACEOF
18378 if ac_fn_c_try_compile "$LINENO"; then :
18379 ac_cv_c_inline=$ac_kw
18381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18382 test "$ac_cv_c_inline" != no && break
18383 done
18386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
18387 $as_echo "$ac_cv_c_inline" >&6; }
18389 case $ac_cv_c_inline in
18390 inline | yes) ;;
18392 case $ac_cv_c_inline in
18393 no) ac_val=;;
18394 *) ac_val=$ac_cv_c_inline;;
18395 esac
18396 cat >>confdefs.h <<_ACEOF
18397 #ifndef __cplusplus
18398 #define inline $ac_val
18399 #endif
18400 _ACEOF
18402 esac
18404 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
18405 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
18407 cat >>confdefs.h <<_ACEOF
18408 #define HAVE_FSBLKCNT_T 1
18409 _ACEOF
18413 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
18414 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
18416 cat >>confdefs.h <<_ACEOF
18417 #define HAVE_FSFILCNT_T 1
18418 _ACEOF
18423 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
18424 #include <signal.h>
18426 if test "x$ac_cv_type_sigset_t" = xyes; then :
18428 cat >>confdefs.h <<_ACEOF
18429 #define HAVE_SIGSET_T 1
18430 _ACEOF
18435 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
18437 if test "x$ac_cv_type_request_sense" = xyes; then :
18439 cat >>confdefs.h <<_ACEOF
18440 #define HAVE_REQUEST_SENSE 1
18441 _ACEOF
18447 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
18448 #ifdef HAVE_SYS_SOCKET_H
18449 #include <sys/socket.h>
18450 #endif
18451 #ifdef HAVE_SYS_SOCKETVAR_H
18452 #include <sys/socketvar.h>
18453 #endif
18454 #ifdef HAVE_NET_ROUTE_H
18455 #include <net/route.h>
18456 #endif
18457 #ifdef HAVE_NETINET_IN_H
18458 #include <netinet/in.h>
18459 #endif
18460 #ifdef HAVE_NETINET_IN_SYSTM_H
18461 #include <netinet/in_systm.h>
18462 #endif
18463 #ifdef HAVE_NETINET_IP_H
18464 #include <netinet/ip.h>
18465 #endif
18466 #ifdef HAVE_NETINET_IN_PCB_H
18467 #include <netinet/in_pcb.h>
18468 #endif
18470 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
18472 cat >>confdefs.h <<_ACEOF
18473 #define HAVE_STRUCT_XINPGEN 1
18474 _ACEOF
18480 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
18481 #include <link.h>
18482 #endif
18483 #ifdef HAVE_SYS_LINK_H
18484 #include <sys/link.h>
18485 #endif
18487 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
18489 cat >>confdefs.h <<_ACEOF
18490 #define HAVE_STRUCT_R_DEBUG 1
18491 _ACEOF
18495 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
18496 #include <link.h>
18497 #endif
18498 #ifdef HAVE_SYS_LINK_H
18499 #include <sys/link.h>
18500 #endif
18502 if test "x$ac_cv_type_struct_link_map" = xyes; then :
18504 cat >>confdefs.h <<_ACEOF
18505 #define HAVE_STRUCT_LINK_MAP 1
18506 _ACEOF
18512 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
18513 #include <linux/input.h>
18514 #endif
18516 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
18518 cat >>confdefs.h <<_ACEOF
18519 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
18520 _ACEOF
18526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
18527 $as_echo_n "checking for if_nameindex... " >&6; }
18528 if ${wine_cv_have_if_nameindex+:} false; then :
18529 $as_echo_n "(cached) " >&6
18530 else
18531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18532 /* end confdefs.h. */
18533 #ifdef HAVE_SYS_TYPES_H
18534 #include <sys/types.h>
18535 #endif
18536 #ifdef HAVE_SYS_SOCKET_H
18537 #include <sys/socket.h>
18538 #endif
18539 #ifdef HAVE_NET_IF_H
18540 # include <net/if.h>
18541 #endif
18543 main ()
18545 struct if_nameindex *p = if_nameindex(); return p->if_index;
18547 return 0;
18549 _ACEOF
18550 if ac_fn_c_try_link "$LINENO"; then :
18551 wine_cv_have_if_nameindex=yes
18552 else
18553 wine_cv_have_if_nameindex=no
18555 rm -f core conftest.err conftest.$ac_objext \
18556 conftest$ac_exeext conftest.$ac_ext
18558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
18559 $as_echo "$wine_cv_have_if_nameindex" >&6; }
18560 if test "$wine_cv_have_if_nameindex" = "yes"
18561 then
18563 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
18567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
18568 $as_echo_n "checking for sigaddset... " >&6; }
18569 if ${wine_cv_have_sigaddset+:} false; then :
18570 $as_echo_n "(cached) " >&6
18571 else
18572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18573 /* end confdefs.h. */
18574 #include <signal.h>
18576 main ()
18578 sigset_t set; sigaddset(&set,SIGTERM);
18580 return 0;
18582 _ACEOF
18583 if ac_fn_c_try_link "$LINENO"; then :
18584 wine_cv_have_sigaddset=yes
18585 else
18586 wine_cv_have_sigaddset=no
18588 rm -f core conftest.err conftest.$ac_objext \
18589 conftest$ac_exeext conftest.$ac_ext
18591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
18592 $as_echo "$wine_cv_have_sigaddset" >&6; }
18593 if test "$wine_cv_have_sigaddset" = "yes"
18594 then
18596 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
18601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
18602 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
18603 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
18604 $as_echo_n "(cached) " >&6
18605 else
18606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18607 /* end confdefs.h. */
18608 #include <netdb.h>
18610 main ()
18613 char *name=0;
18614 struct hostent he;
18615 struct hostent *result;
18616 char *buf=0;
18617 int bufsize=0;
18618 int errnr;
18619 char *addr=0;
18620 int addrlen=0;
18621 int addrtype=0;
18622 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
18623 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
18626 return 0;
18628 _ACEOF
18629 if ac_fn_c_try_link "$LINENO"; then :
18630 wine_cv_linux_gethostbyname_r_6=yes
18631 else
18632 wine_cv_linux_gethostbyname_r_6=no
18635 rm -f core conftest.err conftest.$ac_objext \
18636 conftest$ac_exeext conftest.$ac_ext
18639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
18640 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
18641 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
18642 then
18644 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
18648 if test "$ac_cv_header_linux_joystick_h" = "yes"
18649 then
18650 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
18651 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
18652 if ${wine_cv_linux_joystick_22_api+:} false; then :
18653 $as_echo_n "(cached) " >&6
18654 else
18655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18656 /* end confdefs.h. */
18658 #include <sys/ioctl.h>
18659 #include <sys/types.h>
18660 #include <linux/joystick.h>
18662 struct js_event blub;
18663 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
18664 #error "no 2.2 header"
18665 #endif
18668 main ()
18670 /*empty*/
18672 return 0;
18674 _ACEOF
18675 if ac_fn_c_try_compile "$LINENO"; then :
18676 wine_cv_linux_joystick_22_api=yes
18677 else
18678 wine_cv_linux_joystick_22_api=no
18680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18683 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
18684 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
18685 if test "$wine_cv_linux_joystick_22_api" = "yes"
18686 then
18688 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
18694 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
18695 #ifdef HAVE_SYS_PARAM_H
18696 # include <sys/param.h>
18697 #endif
18698 #ifdef HAVE_SYS_MOUNT_H
18699 # include <sys/mount.h>
18700 #endif
18701 #ifdef HAVE_SYS_VFS_H
18702 # include <sys/vfs.h>
18703 #endif
18704 #ifdef HAVE_SYS_STATFS_H
18705 # include <sys/statfs.h>
18706 #endif
18708 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
18710 cat >>confdefs.h <<_ACEOF
18711 #define HAVE_STRUCT_STATFS_F_BFREE 1
18712 _ACEOF
18716 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
18717 #ifdef HAVE_SYS_PARAM_H
18718 # include <sys/param.h>
18719 #endif
18720 #ifdef HAVE_SYS_MOUNT_H
18721 # include <sys/mount.h>
18722 #endif
18723 #ifdef HAVE_SYS_VFS_H
18724 # include <sys/vfs.h>
18725 #endif
18726 #ifdef HAVE_SYS_STATFS_H
18727 # include <sys/statfs.h>
18728 #endif
18730 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
18732 cat >>confdefs.h <<_ACEOF
18733 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
18734 _ACEOF
18738 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
18739 #ifdef HAVE_SYS_PARAM_H
18740 # include <sys/param.h>
18741 #endif
18742 #ifdef HAVE_SYS_MOUNT_H
18743 # include <sys/mount.h>
18744 #endif
18745 #ifdef HAVE_SYS_VFS_H
18746 # include <sys/vfs.h>
18747 #endif
18748 #ifdef HAVE_SYS_STATFS_H
18749 # include <sys/statfs.h>
18750 #endif
18752 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
18754 cat >>confdefs.h <<_ACEOF
18755 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
18756 _ACEOF
18760 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
18761 #ifdef HAVE_SYS_PARAM_H
18762 # include <sys/param.h>
18763 #endif
18764 #ifdef HAVE_SYS_MOUNT_H
18765 # include <sys/mount.h>
18766 #endif
18767 #ifdef HAVE_SYS_VFS_H
18768 # include <sys/vfs.h>
18769 #endif
18770 #ifdef HAVE_SYS_STATFS_H
18771 # include <sys/statfs.h>
18772 #endif
18774 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
18776 cat >>confdefs.h <<_ACEOF
18777 #define HAVE_STRUCT_STATFS_F_FFREE 1
18778 _ACEOF
18782 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
18783 #ifdef HAVE_SYS_PARAM_H
18784 # include <sys/param.h>
18785 #endif
18786 #ifdef HAVE_SYS_MOUNT_H
18787 # include <sys/mount.h>
18788 #endif
18789 #ifdef HAVE_SYS_VFS_H
18790 # include <sys/vfs.h>
18791 #endif
18792 #ifdef HAVE_SYS_STATFS_H
18793 # include <sys/statfs.h>
18794 #endif
18796 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
18798 cat >>confdefs.h <<_ACEOF
18799 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
18800 _ACEOF
18804 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
18805 #ifdef HAVE_SYS_PARAM_H
18806 # include <sys/param.h>
18807 #endif
18808 #ifdef HAVE_SYS_MOUNT_H
18809 # include <sys/mount.h>
18810 #endif
18811 #ifdef HAVE_SYS_VFS_H
18812 # include <sys/vfs.h>
18813 #endif
18814 #ifdef HAVE_SYS_STATFS_H
18815 # include <sys/statfs.h>
18816 #endif
18818 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
18820 cat >>confdefs.h <<_ACEOF
18821 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
18822 _ACEOF
18828 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
18829 #include <sys/statvfs.h>
18830 #endif
18832 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
18834 cat >>confdefs.h <<_ACEOF
18835 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
18836 _ACEOF
18842 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
18843 #include <dirent.h>
18844 #endif
18846 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
18848 cat >>confdefs.h <<_ACEOF
18849 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
18850 _ACEOF
18856 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
18857 #ifdef HAVE_SYS_SOCKET_H
18858 # include <sys/socket.h>
18859 #endif
18860 #ifdef HAVE_SYS_UN_H
18861 # include <sys/un.h>
18862 #endif
18864 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
18866 cat >>confdefs.h <<_ACEOF
18867 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
18868 _ACEOF
18872 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
18873 #ifdef HAVE_SYS_SOCKET_H
18874 # include <sys/socket.h>
18875 #endif
18876 #ifdef HAVE_SYS_UN_H
18877 # include <sys/un.h>
18878 #endif
18880 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
18882 cat >>confdefs.h <<_ACEOF
18883 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
18884 _ACEOF
18888 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
18889 #ifdef HAVE_SYS_SOCKET_H
18890 # include <sys/socket.h>
18891 #endif
18892 #ifdef HAVE_SYS_UN_H
18893 # include <sys/un.h>
18894 #endif
18896 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
18898 cat >>confdefs.h <<_ACEOF
18899 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
18900 _ACEOF
18906 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
18907 #ifdef HAVE_SCSI_SG_H
18908 #include <scsi/sg.h>
18909 #endif
18911 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
18913 cat >>confdefs.h <<_ACEOF
18914 #define HAVE_SCSIREQ_T_CMD 1
18915 _ACEOF
18919 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>
18920 #ifdef HAVE_SCSI_SG_H
18921 #include <scsi/sg.h>
18922 #endif
18924 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
18926 cat >>confdefs.h <<_ACEOF
18927 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
18928 _ACEOF
18934 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
18936 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
18938 cat >>confdefs.h <<_ACEOF
18939 #define HAVE_SIGINFO_T_SI_FD 1
18940 _ACEOF
18946 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
18947 #ifdef HAVE_SYS_MTIO_H
18948 #include <sys/mtio.h>
18949 #endif
18951 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
18953 cat >>confdefs.h <<_ACEOF
18954 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
18955 _ACEOF
18959 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
18960 #ifdef HAVE_SYS_MTIO_H
18961 #include <sys/mtio.h>
18962 #endif
18964 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
18966 cat >>confdefs.h <<_ACEOF
18967 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
18968 _ACEOF
18972 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
18973 #ifdef HAVE_SYS_MTIO_H
18974 #include <sys/mtio.h>
18975 #endif
18977 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
18979 cat >>confdefs.h <<_ACEOF
18980 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
18981 _ACEOF
18987 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
18988 #include <getopt.h>
18989 #endif
18991 if test "x$ac_cv_member_struct_option_name" = xyes; then :
18993 cat >>confdefs.h <<_ACEOF
18994 #define HAVE_STRUCT_OPTION_NAME 1
18995 _ACEOF
19001 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
19002 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
19004 cat >>confdefs.h <<_ACEOF
19005 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
19006 _ACEOF
19010 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
19011 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
19013 cat >>confdefs.h <<_ACEOF
19014 #define HAVE_STRUCT_STAT_ST_MTIM 1
19015 _ACEOF
19019 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
19020 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
19022 cat >>confdefs.h <<_ACEOF
19023 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
19024 _ACEOF
19028 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
19029 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
19031 cat >>confdefs.h <<_ACEOF
19032 #define HAVE_STRUCT_STAT_ST_CTIM 1
19033 _ACEOF
19037 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
19038 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
19040 cat >>confdefs.h <<_ACEOF
19041 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
19042 _ACEOF
19046 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
19047 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
19049 cat >>confdefs.h <<_ACEOF
19050 #define HAVE_STRUCT_STAT_ST_ATIM 1
19051 _ACEOF
19055 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
19056 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
19058 cat >>confdefs.h <<_ACEOF
19059 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
19060 _ACEOF
19064 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
19065 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
19067 cat >>confdefs.h <<_ACEOF
19068 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
19069 _ACEOF
19073 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
19074 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
19076 cat >>confdefs.h <<_ACEOF
19077 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
19078 _ACEOF
19082 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
19083 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
19085 cat >>confdefs.h <<_ACEOF
19086 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
19087 _ACEOF
19091 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
19092 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
19094 cat >>confdefs.h <<_ACEOF
19095 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
19096 _ACEOF
19100 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
19101 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
19103 cat >>confdefs.h <<_ACEOF
19104 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
19105 _ACEOF
19111 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
19112 #include <sys/types.h>
19113 #endif
19114 #ifdef HAVE_NETINET_IN_H
19115 #include <netinet/in.h>
19116 #endif
19118 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
19120 cat >>confdefs.h <<_ACEOF
19121 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
19122 _ACEOF
19128 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
19129 #include <sys/types.h>
19130 #endif
19131 #ifdef HAVE_NETINET_IN_H
19132 #include <netinet/in.h>
19133 #endif
19134 #ifdef HAVE_RESOLV_H
19135 #include <resolv.h>
19136 #endif
19138 if test "x$ac_cv_type_struct___res_state" = xyes; then :
19140 cat >>confdefs.h <<_ACEOF
19141 #define HAVE_STRUCT___RES_STATE 1
19142 _ACEOF
19148 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
19149 #include <resolv.h>
19150 #endif
19152 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
19154 cat >>confdefs.h <<_ACEOF
19155 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
19156 _ACEOF
19162 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
19163 #include <sys/types.h>
19164 #endif
19165 #ifdef HAVE_NETINET_IN_H
19166 # include <netinet/in.h>
19167 #endif
19168 #ifdef HAVE_ARPA_NAMESER_H
19169 # include <arpa/nameser.h>
19170 #endif
19172 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
19174 cat >>confdefs.h <<_ACEOF
19175 #define HAVE_NS_MSG__MSG_PTR 1
19176 _ACEOF
19182 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
19183 #include <sys/types.h>
19184 #endif
19185 #ifdef HAVE_NETINET_IN_H
19186 #include <netinet/in.h>
19187 #endif
19188 #ifdef HAVE_NETINET_IP_H
19189 #include <netinet/ip.h>
19190 #endif
19191 #ifdef HAVE_NETINET_IP_ICMP_H
19192 #include <netinet/ip_icmp.h>
19193 #endif
19194 #ifdef HAVE_NETINET_ICMP_VAR_H
19195 #include <netinet/icmp_var.h>
19196 #endif
19198 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
19200 cat >>confdefs.h <<_ACEOF
19201 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
19202 _ACEOF
19208 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
19209 #include <sys/types.h>
19210 #endif
19211 #ifdef HAVE_ALIAS_H
19212 #include <alias.h>
19213 #endif
19214 #ifdef HAVE_SYS_SOCKET_H
19215 #include <sys/socket.h>
19216 #endif
19217 #ifdef HAVE_SYS_SOCKETVAR_H
19218 #include <sys/socketvar.h>
19219 #endif
19220 #ifdef HAVE_SYS_TIMEOUT_H
19221 #include <sys/timeout.h>
19222 #endif
19223 #ifdef HAVE_NETINET_IN_H
19224 #include <netinet/in.h>
19225 #endif
19226 #ifdef HAVE_NETINET_IN_SYSTM_H
19227 #include <netinet/in_systm.h>
19228 #endif
19229 #ifdef HAVE_NETINET_IP_H
19230 #include <netinet/ip.h>
19231 #endif
19232 #ifdef HAVE_NETINET_IP_VAR_H
19233 #include <netinet/ip_var.h>
19234 #endif
19235 #ifdef HAVE_NETINET_IP_ICMP_H
19236 #include <netinet/ip_icmp.h>
19237 #endif
19238 #ifdef HAVE_NETINET_ICMP_VAR_H
19239 #include <netinet/icmp_var.h>
19240 #endif
19242 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
19244 cat >>confdefs.h <<_ACEOF
19245 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
19246 _ACEOF
19252 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
19253 #include <sys/types.h>
19254 #endif
19255 #ifdef HAVE_SYS_SOCKETVAR_H
19256 #include <sys/socketvar.h>
19257 #endif
19258 #ifdef HAVE_NETINET_IN_H
19259 #include <netinet/in.h>
19260 #endif
19261 #ifdef HAVE_NETINET_IP_VAR_H
19262 #include <netinet/ip_var.h>
19263 #endif
19265 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
19267 cat >>confdefs.h <<_ACEOF
19268 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
19269 _ACEOF
19275 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
19276 #include <netinet/ip_var.h>
19277 #endif
19279 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
19281 cat >>confdefs.h <<_ACEOF
19282 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
19283 _ACEOF
19289 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
19290 #include <sys/types.h>
19291 #endif
19292 #ifdef HAVE_SYS_SOCKETVAR_H
19293 #include <sys/socketvar.h>
19294 #endif
19295 #ifdef HAVE_NETINET_IN_H
19296 #include <netinet/in.h>
19297 #endif
19298 #ifdef HAVE_NETINET_TCP_H
19299 #include <netinet/tcp.h>
19300 #endif
19301 #ifdef HAVE_NETINET_TCP_VAR_H
19302 #include <netinet/tcp_var.h>
19303 #endif
19305 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
19307 cat >>confdefs.h <<_ACEOF
19308 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
19309 _ACEOF
19315 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
19316 #include <netinet/tcp_var.h>
19317 #endif
19319 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
19321 cat >>confdefs.h <<_ACEOF
19322 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
19323 _ACEOF
19329 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
19330 #include <sys/types.h>
19331 #endif
19332 #ifdef HAVE_NETINET_IN_H
19333 #include <netinet/in.h>
19334 #endif
19335 #ifdef HAVE_NETINET_IP_VAR_H
19336 #include <netinet/ip_var.h>
19337 #endif
19338 #ifdef HAVE_NETINET_UDP_H
19339 #include <netinet/udp.h>
19340 #endif
19341 #ifdef HAVE_NETINET_UDP_VAR_H
19342 #include <netinet/udp_var.h>
19343 #endif
19345 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
19347 cat >>confdefs.h <<_ACEOF
19348 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
19349 _ACEOF
19355 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
19356 #include <sys/types.h>
19357 #endif
19358 #ifdef HAVE_NET_IF_H
19359 # include <net/if.h>
19360 #endif
19362 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
19364 cat >>confdefs.h <<_ACEOF
19365 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
19366 _ACEOF
19372 ac_save_LIBS="$LIBS"
19373 LIBS="$LIBS -lm"
19374 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
19375 $as_echo_n "checking for isfinite... " >&6; }
19376 if ${ac_cv_have_isfinite+:} false; then :
19377 $as_echo_n "(cached) " >&6
19378 else
19379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19380 /* end confdefs.h. */
19381 #define _GNU_SOURCE
19382 #include <math.h>
19384 main ()
19386 float f = 0.0; return isfinite(f)
19388 return 0;
19390 _ACEOF
19391 if ac_fn_c_try_link "$LINENO"; then :
19392 ac_cv_have_isfinite="yes"
19393 else
19394 ac_cv_have_isfinite="no"
19396 rm -f core conftest.err conftest.$ac_objext \
19397 conftest$ac_exeext conftest.$ac_ext
19399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
19400 $as_echo "$ac_cv_have_isfinite" >&6; }
19401 if test "$ac_cv_have_isfinite" = "yes"
19402 then
19404 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
19408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
19409 $as_echo_n "checking for isinf... " >&6; }
19410 if ${ac_cv_have_isinf+:} false; then :
19411 $as_echo_n "(cached) " >&6
19412 else
19413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19414 /* end confdefs.h. */
19415 #include <math.h>
19417 main ()
19419 float f = 0.0; return isinf(f)
19421 return 0;
19423 _ACEOF
19424 if ac_fn_c_try_link "$LINENO"; then :
19425 ac_cv_have_isinf="yes"
19426 else
19427 ac_cv_have_isinf="no"
19429 rm -f core conftest.err conftest.$ac_objext \
19430 conftest$ac_exeext conftest.$ac_ext
19432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
19433 $as_echo "$ac_cv_have_isinf" >&6; }
19434 if test "$ac_cv_have_isinf" = "yes"
19435 then
19437 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
19441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
19442 $as_echo_n "checking for isnan... " >&6; }
19443 if ${ac_cv_have_isnan+:} false; then :
19444 $as_echo_n "(cached) " >&6
19445 else
19446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19447 /* end confdefs.h. */
19448 #include <math.h>
19450 main ()
19452 float f = 0.0; return isnan(f)
19454 return 0;
19456 _ACEOF
19457 if ac_fn_c_try_link "$LINENO"; then :
19458 ac_cv_have_isnan="yes"
19459 else
19460 ac_cv_have_isnan="no"
19462 rm -f core conftest.err conftest.$ac_objext \
19463 conftest$ac_exeext conftest.$ac_ext
19465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
19466 $as_echo "$ac_cv_have_isnan" >&6; }
19467 if test "$ac_cv_have_isnan" = "yes"
19468 then
19470 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
19474 for ac_func in \
19475 acosh \
19476 acoshf \
19477 asinh \
19478 asinhf \
19479 atanh \
19480 atanhf \
19481 cbrt \
19482 cbrtf \
19483 erf \
19484 erfc \
19485 erfcf \
19486 erff \
19487 exp2 \
19488 exp2f \
19489 expm1 \
19490 expm1f \
19491 fma \
19492 fmaf \
19493 ilogb \
19494 ilogbf \
19495 j0 \
19496 j1 \
19497 jn \
19498 lgamma \
19499 lgammaf \
19500 llrint \
19501 llrintf \
19502 llround \
19503 llroundf \
19504 log1p \
19505 log1pf \
19506 log2 \
19507 log2f \
19508 lrint \
19509 lrintf \
19510 lround \
19511 lroundf \
19512 nearbyint \
19513 nearbyintf \
19514 nexttoward \
19515 nexttowardf \
19516 powl \
19517 remainder \
19518 remainderf \
19519 remquo \
19520 remquof \
19521 rint \
19522 rintf \
19523 round \
19524 roundf \
19525 tgamma \
19526 tgammaf \
19527 trunc \
19528 truncf \
19529 y0 \
19530 y1 \
19533 do :
19534 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19535 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
19536 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
19537 cat >>confdefs.h <<_ACEOF
19538 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19539 _ACEOF
19542 done
19544 LIBS="$ac_save_LIBS"
19546 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
19547 $as_echo_n "checking for __builtin_popcount... " >&6; }
19548 if ${ac_cv_have___builtin_popcount+:} false; then :
19549 $as_echo_n "(cached) " >&6
19550 else
19551 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19552 /* end confdefs.h. */
19555 main ()
19557 return __builtin_popcount(1)
19559 return 0;
19561 _ACEOF
19562 if ac_fn_c_try_link "$LINENO"; then :
19563 ac_cv_have___builtin_popcount="yes"
19564 else
19565 ac_cv_have___builtin_popcount="no"
19567 rm -f core conftest.err conftest.$ac_objext \
19568 conftest$ac_exeext conftest.$ac_ext
19570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
19571 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
19572 if test "$ac_cv_have___builtin_popcount" = "yes"
19573 then
19575 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
19579 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
19580 $as_echo_n "checking for __clear_cache... " >&6; }
19581 if ${ac_cv_have___clear_cache+:} false; then :
19582 $as_echo_n "(cached) " >&6
19583 else
19584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19585 /* end confdefs.h. */
19588 main ()
19590 __clear_cache((void*)0, (void*)0); return 0;
19592 return 0;
19594 _ACEOF
19595 if ac_fn_c_try_link "$LINENO"; then :
19596 ac_cv_have___clear_cache="yes"
19597 else
19598 ac_cv_have___clear_cache="no"
19600 rm -f core conftest.err conftest.$ac_objext \
19601 conftest$ac_exeext conftest.$ac_ext
19603 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
19604 $as_echo "$ac_cv_have___clear_cache" >&6; }
19605 if test "$ac_cv_have___clear_cache" = "yes"
19606 then
19608 $as_echo "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
19613 case $host_cpu in
19614 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
19615 $as_echo_n "checking whether we need to define __i386__... " >&6; }
19616 if ${ac_cv_cpp_def___i386__+:} false; then :
19617 $as_echo_n "(cached) " >&6
19618 else
19619 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19620 /* end confdefs.h. */
19621 #ifndef __i386__
19623 #endif
19624 _ACEOF
19625 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19626 $EGREP "yes" >/dev/null 2>&1; then :
19627 ac_cv_cpp_def___i386__=yes
19628 else
19629 ac_cv_cpp_def___i386__=no
19631 rm -f conftest*
19634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
19635 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
19636 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
19637 CFLAGS="$CFLAGS -D__i386__"
19638 LINTFLAGS="$LINTFLAGS -D__i386__"
19639 fi ;;
19640 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
19641 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
19642 if ${ac_cv_cpp_def___x86_64__+:} false; then :
19643 $as_echo_n "(cached) " >&6
19644 else
19645 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19646 /* end confdefs.h. */
19647 #ifndef __x86_64__
19649 #endif
19650 _ACEOF
19651 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19652 $EGREP "yes" >/dev/null 2>&1; then :
19653 ac_cv_cpp_def___x86_64__=yes
19654 else
19655 ac_cv_cpp_def___x86_64__=no
19657 rm -f conftest*
19660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
19661 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
19662 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
19663 CFLAGS="$CFLAGS -D__x86_64__"
19664 LINTFLAGS="$LINTFLAGS -D__x86_64__"
19665 fi ;;
19666 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
19667 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
19668 if ${ac_cv_cpp_def___sparc64__+:} false; then :
19669 $as_echo_n "(cached) " >&6
19670 else
19671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19672 /* end confdefs.h. */
19673 #ifndef __sparc64__
19675 #endif
19676 _ACEOF
19677 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19678 $EGREP "yes" >/dev/null 2>&1; then :
19679 ac_cv_cpp_def___sparc64__=yes
19680 else
19681 ac_cv_cpp_def___sparc64__=no
19683 rm -f conftest*
19686 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
19687 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
19688 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
19689 CFLAGS="$CFLAGS -D__sparc64__"
19690 LINTFLAGS="$LINTFLAGS -D__sparc64__"
19691 fi ;;
19692 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
19693 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
19694 if ${ac_cv_cpp_def___sparc__+:} false; then :
19695 $as_echo_n "(cached) " >&6
19696 else
19697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19698 /* end confdefs.h. */
19699 #ifndef __sparc__
19701 #endif
19702 _ACEOF
19703 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19704 $EGREP "yes" >/dev/null 2>&1; then :
19705 ac_cv_cpp_def___sparc__=yes
19706 else
19707 ac_cv_cpp_def___sparc__=no
19709 rm -f conftest*
19712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
19713 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
19714 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
19715 CFLAGS="$CFLAGS -D__sparc__"
19716 LINTFLAGS="$LINTFLAGS -D__sparc__"
19717 fi ;;
19718 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
19719 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
19720 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
19721 $as_echo_n "(cached) " >&6
19722 else
19723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19724 /* end confdefs.h. */
19725 #ifndef __powerpc64__
19727 #endif
19728 _ACEOF
19729 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19730 $EGREP "yes" >/dev/null 2>&1; then :
19731 ac_cv_cpp_def___powerpc64__=yes
19732 else
19733 ac_cv_cpp_def___powerpc64__=no
19735 rm -f conftest*
19738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
19739 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
19740 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
19741 CFLAGS="$CFLAGS -D__powerpc64__"
19742 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
19743 fi ;;
19744 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
19745 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
19746 if ${ac_cv_cpp_def___powerpc__+:} false; then :
19747 $as_echo_n "(cached) " >&6
19748 else
19749 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19750 /* end confdefs.h. */
19751 #ifndef __powerpc__
19753 #endif
19754 _ACEOF
19755 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19756 $EGREP "yes" >/dev/null 2>&1; then :
19757 ac_cv_cpp_def___powerpc__=yes
19758 else
19759 ac_cv_cpp_def___powerpc__=no
19761 rm -f conftest*
19764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
19765 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
19766 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
19767 CFLAGS="$CFLAGS -D__powerpc__"
19768 LINTFLAGS="$LINTFLAGS -D__powerpc__"
19769 fi ;;
19770 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
19771 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
19772 if ${ac_cv_cpp_def___aarch64__+:} false; then :
19773 $as_echo_n "(cached) " >&6
19774 else
19775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19776 /* end confdefs.h. */
19777 #ifndef __aarch64__
19779 #endif
19780 _ACEOF
19781 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19782 $EGREP "yes" >/dev/null 2>&1; then :
19783 ac_cv_cpp_def___aarch64__=yes
19784 else
19785 ac_cv_cpp_def___aarch64__=no
19787 rm -f conftest*
19790 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
19791 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
19792 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
19793 CFLAGS="$CFLAGS -D__aarch64__"
19794 LINTFLAGS="$LINTFLAGS -D__aarch64__"
19795 fi ;;
19796 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
19797 $as_echo_n "checking whether we need to define __arm__... " >&6; }
19798 if ${ac_cv_cpp_def___arm__+:} false; then :
19799 $as_echo_n "(cached) " >&6
19800 else
19801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19802 /* end confdefs.h. */
19803 #ifndef __arm__
19805 #endif
19806 _ACEOF
19807 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19808 $EGREP "yes" >/dev/null 2>&1; then :
19809 ac_cv_cpp_def___arm__=yes
19810 else
19811 ac_cv_cpp_def___arm__=no
19813 rm -f conftest*
19816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
19817 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
19818 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
19819 CFLAGS="$CFLAGS -D__arm__"
19820 LINTFLAGS="$LINTFLAGS -D__arm__"
19821 fi ;;
19822 esac
19824 case $host_vendor in
19825 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
19826 $as_echo_n "checking whether we need to define __sun__... " >&6; }
19827 if ${ac_cv_cpp_def___sun__+:} false; then :
19828 $as_echo_n "(cached) " >&6
19829 else
19830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19831 /* end confdefs.h. */
19832 #ifndef __sun__
19834 #endif
19835 _ACEOF
19836 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19837 $EGREP "yes" >/dev/null 2>&1; then :
19838 ac_cv_cpp_def___sun__=yes
19839 else
19840 ac_cv_cpp_def___sun__=no
19842 rm -f conftest*
19845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
19846 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
19847 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
19848 CFLAGS="$CFLAGS -D__sun__"
19849 LINTFLAGS="$LINTFLAGS -D__sun__"
19850 fi ;;
19851 esac
19857 ac_config_commands="$ac_config_commands include/stamp-h"
19859 $as_echo_n "creating Makefile rules..." >&6
19861 ALL_VARS_RULES="I386_LIBS = $I386_LIBS
19862 OPENGL_LIBS = $OPENGL_LIBS
19863 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
19864 IOKIT_LIBS = $IOKIT_LIBS
19865 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
19866 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
19867 CORESERVICES_LIBS = $CORESERVICES_LIBS
19868 APPKIT_LIBS = $APPKIT_LIBS
19869 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
19870 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
19871 SECURITY_LIBS = $SECURITY_LIBS
19872 COREAUDIO_LIBS = $COREAUDIO_LIBS
19873 OPENAL_LIBS = $OPENAL_LIBS
19874 OPENCL_LIBS = $OPENCL_LIBS
19875 QUICKTIME_LIBS = $QUICKTIME_LIBS
19876 CARBON_LIBS = $CARBON_LIBS
19877 METAL_LIBS = $METAL_LIBS
19878 PTHREAD_LIBS = $PTHREAD_LIBS
19879 X_CFLAGS = $X_CFLAGS
19880 X_PRE_LIBS = $X_PRE_LIBS
19881 X_LIBS = $X_LIBS
19882 X_EXTRA_LIBS = $X_EXTRA_LIBS
19883 PCAP_LIBS = $PCAP_LIBS
19884 XML2_CFLAGS = $XML2_CFLAGS
19885 XML2_LIBS = $XML2_LIBS
19886 XSLT_CFLAGS = $XSLT_CFLAGS
19887 XSLT_LIBS = $XSLT_LIBS
19888 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
19889 INOTIFY_LIBS = $INOTIFY_LIBS
19890 DBUS_CFLAGS = $DBUS_CFLAGS
19891 DBUS_LIBS = $DBUS_LIBS
19892 HAL_CFLAGS = $HAL_CFLAGS
19893 HAL_LIBS = $HAL_LIBS
19894 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
19895 GNUTLS_LIBS = $GNUTLS_LIBS
19896 SANE_CFLAGS = $SANE_CFLAGS
19897 SANE_LIBS = $SANE_LIBS
19898 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
19899 GPHOTO2_LIBS = $GPHOTO2_LIBS
19900 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
19901 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
19902 RESOLV_LIBS = $RESOLV_LIBS
19903 LCMS2_CFLAGS = $LCMS2_CFLAGS
19904 LCMS2_LIBS = $LCMS2_LIBS
19905 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
19906 FREETYPE_LIBS = $FREETYPE_LIBS
19907 Z_CFLAGS = $Z_CFLAGS
19908 Z_LIBS = $Z_LIBS
19909 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
19910 PULSE_CFLAGS = $PULSE_CFLAGS
19911 PULSE_LIBS = $PULSE_LIBS
19912 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
19913 GSTREAMER_LIBS = $GSTREAMER_LIBS
19914 ALSA_LIBS = $ALSA_LIBS
19915 OSS4_CFLAGS = $OSS4_CFLAGS
19916 OSS4_LIBS = $OSS4_LIBS
19917 UDEV_CFLAGS = $UDEV_CFLAGS
19918 UDEV_LIBS = $UDEV_LIBS
19919 UNWIND_CFLAGS = $UNWIND_CFLAGS
19920 UNWIND_LIBS = $UNWIND_LIBS
19921 SDL2_CFLAGS = $SDL2_CFLAGS
19922 SDL2_LIBS = $SDL2_LIBS
19923 FAUDIO_CFLAGS = $FAUDIO_CFLAGS
19924 FAUDIO_LIBS = $FAUDIO_LIBS
19925 CAPI20_CFLAGS = $CAPI20_CFLAGS
19926 CAPI20_LIBS = $CAPI20_LIBS
19927 CUPS_CFLAGS = $CUPS_CFLAGS
19928 CUPS_LIBS = $CUPS_LIBS
19929 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
19930 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
19931 KRB5_CFLAGS = $KRB5_CFLAGS
19932 KRB5_LIBS = $KRB5_LIBS
19933 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
19934 GSSAPI_LIBS = $GSSAPI_LIBS
19935 JPEG_CFLAGS = $JPEG_CFLAGS
19936 JPEG_LIBS = $JPEG_LIBS
19937 PNG_CFLAGS = $PNG_CFLAGS
19938 PNG_LIBS = $PNG_LIBS
19939 TIFF_CFLAGS = $TIFF_CFLAGS
19940 TIFF_LIBS = $TIFF_LIBS
19941 MPG123_CFLAGS = $MPG123_CFLAGS
19942 MPG123_LIBS = $MPG123_LIBS
19943 KSTAT_LIBS = $KSTAT_LIBS
19944 PROCSTAT_LIBS = $PROCSTAT_LIBS
19945 NETAPI_CFLAGS = $NETAPI_CFLAGS
19946 NETAPI_LIBS = $NETAPI_LIBS
19947 VKD3D_CFLAGS = $VKD3D_CFLAGS
19948 VKD3D_LIBS = $VKD3D_LIBS
19949 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
19950 DL_LIBS = $DL_LIBS
19951 POLL_LIBS = $POLL_LIBS
19952 RT_LIBS = $RT_LIBS
19953 LDAP_CFLAGS = $LDAP_CFLAGS
19954 LDAP_LIBS = $LDAP_LIBS
19959 wine_fn_append_rule "
19960 # Rules automatically generated by configure
19962 .INIT: Makefile
19963 .MAKEFILEDEPS:
19964 all: Makefile
19965 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
19966 @./config.status Make.tmp Makefile
19967 depend: \$(MAKEDEP) dummy
19968 \$(MAKEDEP)"
19970 ac_config_links="$ac_config_links wine:tools/winewrapper"
19971 wine_fn_config_symlink wine
19972 if test "x$enable_win64" != xno -o -n "$with_wine64"; then
19973 ac_config_links="$ac_config_links wine64:tools/winewrapper"
19974 wine_fn_config_symlink wine64
19977 wine_fn_config_makefile dlls/acledit enable_acledit
19978 wine_fn_config_makefile dlls/aclui enable_aclui
19979 wine_fn_config_makefile dlls/activeds enable_activeds
19980 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
19981 wine_fn_config_makefile dlls/adsiid enable_adsiid
19982 wine_fn_config_makefile dlls/adsldp enable_adsldp
19983 wine_fn_config_makefile dlls/adsldp/tests enable_tests
19984 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
19985 wine_fn_config_makefile dlls/advapi32 enable_advapi32
19986 wine_fn_config_makefile dlls/advapi32/tests enable_tests
19987 wine_fn_config_makefile dlls/advpack enable_advpack
19988 wine_fn_config_makefile dlls/advpack/tests enable_tests
19989 wine_fn_config_makefile dlls/amsi enable_amsi
19990 wine_fn_config_makefile dlls/amstream enable_amstream
19991 wine_fn_config_makefile dlls/amstream/tests enable_tests
19992 wine_fn_config_makefile dlls/api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
19993 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
19994 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
19995 wine_fn_config_makefile dlls/api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
19996 wine_fn_config_makefile dlls/api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
19997 wine_fn_config_makefile dlls/api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
19998 wine_fn_config_makefile dlls/api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
19999 wine_fn_config_makefile dlls/api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
20000 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
20001 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
20002 wine_fn_config_makefile dlls/api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
20003 wine_fn_config_makefile dlls/api-ms-win-core-comm-l1-1-0 enable_api_ms_win_core_comm_l1_1_0
20004 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
20005 wine_fn_config_makefile dlls/api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
20006 wine_fn_config_makefile dlls/api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
20007 wine_fn_config_makefile dlls/api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
20008 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
20009 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
20010 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
20011 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
20012 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
20013 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
20014 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
20015 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
20016 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
20017 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
20018 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
20019 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
20020 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
20021 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
20022 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
20023 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
20024 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
20025 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
20026 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
20027 wine_fn_config_makefile dlls/api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
20028 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
20029 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
20030 wine_fn_config_makefile dlls/api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
20031 wine_fn_config_makefile dlls/api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
20032 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
20033 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
20034 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
20035 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
20036 wine_fn_config_makefile dlls/api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
20037 wine_fn_config_makefile dlls/api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
20038 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
20039 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
20040 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
20041 wine_fn_config_makefile dlls/api-ms-win-core-largeinteger-l1-1-0 enable_api_ms_win_core_largeinteger_l1_1_0
20042 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
20043 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
20044 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
20045 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
20046 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
20047 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
20048 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
20049 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
20050 wine_fn_config_makefile dlls/api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
20051 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
20052 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
20053 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
20054 wine_fn_config_makefile dlls/api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
20055 wine_fn_config_makefile dlls/api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
20056 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
20057 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
20058 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
20059 wine_fn_config_makefile dlls/api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
20060 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
20061 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
20062 wine_fn_config_makefile dlls/api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
20063 wine_fn_config_makefile dlls/api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
20064 wine_fn_config_makefile dlls/api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
20065 wine_fn_config_makefile dlls/api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
20066 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
20067 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
20068 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
20069 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
20070 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
20071 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-3 enable_api_ms_win_core_processthreads_l1_1_3
20072 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
20073 wine_fn_config_makefile dlls/api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
20074 wine_fn_config_makefile dlls/api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
20075 wine_fn_config_makefile dlls/api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
20076 wine_fn_config_makefile dlls/api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
20077 wine_fn_config_makefile dlls/api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
20078 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
20079 wine_fn_config_makefile dlls/api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
20080 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
20081 wine_fn_config_makefile dlls/api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
20082 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
20083 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
20084 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
20085 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
20086 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
20087 wine_fn_config_makefile dlls/api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
20088 wine_fn_config_makefile dlls/api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
20089 wine_fn_config_makefile dlls/api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
20090 wine_fn_config_makefile dlls/api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
20091 wine_fn_config_makefile dlls/api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
20092 wine_fn_config_makefile dlls/api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
20093 wine_fn_config_makefile dlls/api-ms-win-core-stringloader-l1-1-1 enable_api_ms_win_core_stringloader_l1_1_1
20094 wine_fn_config_makefile dlls/api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
20095 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
20096 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
20097 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
20098 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
20099 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
20100 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
20101 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
20102 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
20103 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
20104 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
20105 wine_fn_config_makefile dlls/api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
20106 wine_fn_config_makefile dlls/api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
20107 wine_fn_config_makefile dlls/api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
20108 wine_fn_config_makefile dlls/api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
20109 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
20110 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
20111 wine_fn_config_makefile dlls/api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
20112 wine_fn_config_makefile dlls/api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
20113 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
20114 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
20115 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
20116 wine_fn_config_makefile dlls/api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
20117 wine_fn_config_makefile dlls/api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
20118 wine_fn_config_makefile dlls/api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
20119 wine_fn_config_makefile dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
20120 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
20121 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-1 enable_api_ms_win_core_winrt_string_l1_1_1
20122 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
20123 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
20124 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
20125 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
20126 wine_fn_config_makefile dlls/api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
20127 wine_fn_config_makefile dlls/api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
20128 wine_fn_config_makefile dlls/api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
20129 wine_fn_config_makefile dlls/api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
20130 wine_fn_config_makefile dlls/api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
20131 wine_fn_config_makefile dlls/api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
20132 wine_fn_config_makefile dlls/api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
20133 wine_fn_config_makefile dlls/api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
20134 wine_fn_config_makefile dlls/api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
20135 wine_fn_config_makefile dlls/api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
20136 wine_fn_config_makefile dlls/api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
20137 wine_fn_config_makefile dlls/api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
20138 wine_fn_config_makefile dlls/api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
20139 wine_fn_config_makefile dlls/api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
20140 wine_fn_config_makefile dlls/api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
20141 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-0 enable_api_ms_win_devices_config_l1_1_0
20142 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
20143 wine_fn_config_makefile dlls/api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
20144 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
20145 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
20146 wine_fn_config_makefile dlls/api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
20147 wine_fn_config_makefile dlls/api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
20148 wine_fn_config_makefile dlls/api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
20149 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
20150 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
20151 wine_fn_config_makefile dlls/api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
20152 wine_fn_config_makefile dlls/api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
20153 wine_fn_config_makefile dlls/api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
20154 wine_fn_config_makefile dlls/api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
20155 wine_fn_config_makefile dlls/api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
20156 wine_fn_config_makefile dlls/api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
20157 wine_fn_config_makefile dlls/api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
20158 wine_fn_config_makefile dlls/api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
20159 wine_fn_config_makefile dlls/api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
20160 wine_fn_config_makefile dlls/api-ms-win-gdi-dpiinfo-l1-1-0 enable_api_ms_win_gdi_dpiinfo_l1_1_0
20161 wine_fn_config_makefile dlls/api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
20162 wine_fn_config_makefile dlls/api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
20163 wine_fn_config_makefile dlls/api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
20164 wine_fn_config_makefile dlls/api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
20165 wine_fn_config_makefile dlls/api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
20166 wine_fn_config_makefile dlls/api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
20167 wine_fn_config_makefile dlls/api-ms-win-ntuser-sysparams-l1-1-0 enable_api_ms_win_ntuser_sysparams_l1_1_0
20168 wine_fn_config_makefile dlls/api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
20169 wine_fn_config_makefile dlls/api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
20170 wine_fn_config_makefile dlls/api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
20171 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-draw-l1-1-0 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
20172 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
20173 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-4 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
20174 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-window-l1-1-0 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
20175 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-winevent-l1-1-0 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
20176 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
20177 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-3 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
20178 wine_fn_config_makefile dlls/api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
20179 wine_fn_config_makefile dlls/api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
20180 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
20181 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
20182 wine_fn_config_makefile dlls/api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
20183 wine_fn_config_makefile dlls/api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
20184 wine_fn_config_makefile dlls/api-ms-win-security-cryptoapi-l1-1-0 enable_api_ms_win_security_cryptoapi_l1_1_0
20185 wine_fn_config_makefile dlls/api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
20186 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
20187 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
20188 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
20189 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
20190 wine_fn_config_makefile dlls/api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
20191 wine_fn_config_makefile dlls/api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
20192 wine_fn_config_makefile dlls/api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
20193 wine_fn_config_makefile dlls/api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
20194 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
20195 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
20196 wine_fn_config_makefile dlls/api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
20197 wine_fn_config_makefile dlls/api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
20198 wine_fn_config_makefile dlls/api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
20199 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
20200 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
20201 wine_fn_config_makefile dlls/api-ms-win-shcore-obsolete-l1-1-0 enable_api_ms_win_shcore_obsolete_l1_1_0
20202 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
20203 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-l1-1-0 enable_api_ms_win_shcore_stream_l1_1_0
20204 wine_fn_config_makefile dlls/api-ms-win-shcore-thread-l1-1-0 enable_api_ms_win_shcore_thread_l1_1_0
20205 wine_fn_config_makefile dlls/api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
20206 wine_fn_config_makefile dlls/api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
20207 wine_fn_config_makefile dlls/apphelp enable_apphelp
20208 wine_fn_config_makefile dlls/apphelp/tests enable_tests
20209 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
20210 wine_fn_config_makefile dlls/atl enable_atl
20211 wine_fn_config_makefile dlls/atl/tests enable_tests
20212 wine_fn_config_makefile dlls/atl100 enable_atl100
20213 wine_fn_config_makefile dlls/atl100/tests enable_tests
20214 wine_fn_config_makefile dlls/atl110 enable_atl110
20215 wine_fn_config_makefile dlls/atl80 enable_atl80
20216 wine_fn_config_makefile dlls/atl80/tests enable_tests
20217 wine_fn_config_makefile dlls/atl90 enable_atl90
20218 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
20219 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
20220 wine_fn_config_makefile dlls/atmlib enable_atmlib
20221 wine_fn_config_makefile dlls/authz enable_authz
20222 wine_fn_config_makefile dlls/avicap32 enable_avicap32
20223 wine_fn_config_makefile dlls/avifil32 enable_avifil32
20224 wine_fn_config_makefile dlls/avifil32/tests enable_tests
20225 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
20226 wine_fn_config_makefile dlls/avrt enable_avrt
20227 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
20228 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
20229 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
20230 wine_fn_config_makefile dlls/browseui enable_browseui
20231 wine_fn_config_makefile dlls/browseui/tests enable_tests
20232 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
20233 wine_fn_config_makefile dlls/cabinet enable_cabinet
20234 wine_fn_config_makefile dlls/cabinet/tests enable_tests
20235 wine_fn_config_makefile dlls/capi2032 enable_capi2032
20236 wine_fn_config_makefile dlls/cards enable_cards
20237 wine_fn_config_makefile dlls/cdosys enable_cdosys
20238 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
20239 wine_fn_config_makefile dlls/clusapi enable_clusapi
20240 wine_fn_config_makefile dlls/combase enable_combase
20241 wine_fn_config_makefile dlls/combase/tests enable_tests
20242 wine_fn_config_makefile dlls/comcat enable_comcat
20243 wine_fn_config_makefile dlls/comcat/tests enable_tests
20244 wine_fn_config_makefile dlls/comctl32 enable_comctl32
20245 wine_fn_config_makefile dlls/comctl32/tests enable_tests
20246 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
20247 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
20248 wine_fn_config_makefile dlls/comm.drv16 enable_win16
20249 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
20250 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
20251 wine_fn_config_makefile dlls/compstui enable_compstui
20252 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
20253 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
20254 wine_fn_config_makefile dlls/concrt140 enable_concrt140
20255 wine_fn_config_makefile dlls/connect enable_connect
20256 wine_fn_config_makefile dlls/credui enable_credui
20257 wine_fn_config_makefile dlls/credui/tests enable_tests
20258 wine_fn_config_makefile dlls/crtdll enable_crtdll
20259 wine_fn_config_makefile dlls/crypt32 enable_crypt32
20260 wine_fn_config_makefile dlls/crypt32/tests enable_tests
20261 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
20262 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
20263 wine_fn_config_makefile dlls/cryptext enable_cryptext
20264 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
20265 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
20266 wine_fn_config_makefile dlls/cryptui enable_cryptui
20267 wine_fn_config_makefile dlls/cryptui/tests enable_tests
20268 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
20269 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
20270 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
20271 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
20272 wine_fn_config_makefile dlls/d2d1 enable_d2d1
20273 wine_fn_config_makefile dlls/d2d1/tests enable_tests
20274 wine_fn_config_makefile dlls/d3d10 enable_d3d10
20275 wine_fn_config_makefile dlls/d3d10/tests enable_tests
20276 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
20277 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
20278 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
20279 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
20280 wine_fn_config_makefile dlls/d3d11 enable_d3d11
20281 wine_fn_config_makefile dlls/d3d11/tests enable_tests
20282 wine_fn_config_makefile dlls/d3d12 enable_d3d12
20283 wine_fn_config_makefile dlls/d3d12/tests enable_tests
20284 wine_fn_config_makefile dlls/d3d8 enable_d3d8
20285 wine_fn_config_makefile dlls/d3d8/tests enable_tests
20286 wine_fn_config_makefile dlls/d3d9 enable_d3d9
20287 wine_fn_config_makefile dlls/d3d9/tests enable_tests
20288 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
20289 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
20290 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
20291 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
20292 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
20293 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
20294 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
20295 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
20296 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
20297 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
20298 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
20299 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
20300 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
20301 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
20302 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
20303 wine_fn_config_makefile dlls/d3dim enable_d3dim
20304 wine_fn_config_makefile dlls/d3drm enable_d3drm
20305 wine_fn_config_makefile dlls/d3drm/tests enable_tests
20306 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
20307 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
20308 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
20309 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
20310 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
20311 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
20312 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
20313 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
20314 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
20315 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
20316 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
20317 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
20318 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
20319 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
20320 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
20321 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
20322 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
20323 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
20324 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
20325 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
20326 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
20327 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
20328 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
20329 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
20330 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
20331 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
20332 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
20333 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
20334 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
20335 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
20336 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
20337 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
20338 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
20339 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
20340 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
20341 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
20342 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
20343 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
20344 wine_fn_config_makefile dlls/davclnt enable_davclnt
20345 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
20346 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
20347 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
20348 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
20349 wine_fn_config_makefile dlls/dciman32 enable_dciman32
20350 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
20351 wine_fn_config_makefile dlls/ddraw enable_ddraw
20352 wine_fn_config_makefile dlls/ddraw/tests enable_tests
20353 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
20354 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
20355 wine_fn_config_makefile dlls/devenum enable_devenum
20356 wine_fn_config_makefile dlls/devenum/tests enable_tests
20357 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
20358 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
20359 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
20360 wine_fn_config_makefile dlls/difxapi enable_difxapi
20361 wine_fn_config_makefile dlls/dinput enable_dinput
20362 wine_fn_config_makefile dlls/dinput/tests enable_tests
20363 wine_fn_config_makefile dlls/dinput8 enable_dinput8
20364 wine_fn_config_makefile dlls/dinput8/tests enable_tests
20365 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
20366 wine_fn_config_makefile dlls/dispex enable_dispex
20367 wine_fn_config_makefile dlls/dispex/tests enable_tests
20368 wine_fn_config_makefile dlls/display.drv16 enable_win16
20369 wine_fn_config_makefile dlls/dmband enable_dmband
20370 wine_fn_config_makefile dlls/dmband/tests enable_tests
20371 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
20372 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
20373 wine_fn_config_makefile dlls/dmime enable_dmime
20374 wine_fn_config_makefile dlls/dmime/tests enable_tests
20375 wine_fn_config_makefile dlls/dmloader enable_dmloader
20376 wine_fn_config_makefile dlls/dmloader/tests enable_tests
20377 wine_fn_config_makefile dlls/dmoguids enable_dmoguids
20378 wine_fn_config_makefile dlls/dmscript enable_dmscript
20379 wine_fn_config_makefile dlls/dmscript/tests enable_tests
20380 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
20381 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
20382 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
20383 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
20384 wine_fn_config_makefile dlls/dmusic enable_dmusic
20385 wine_fn_config_makefile dlls/dmusic/tests enable_tests
20386 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
20387 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
20388 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
20389 wine_fn_config_makefile dlls/dplay enable_dplay
20390 wine_fn_config_makefile dlls/dplayx enable_dplayx
20391 wine_fn_config_makefile dlls/dplayx/tests enable_tests
20392 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
20393 wine_fn_config_makefile dlls/dpnet enable_dpnet
20394 wine_fn_config_makefile dlls/dpnet/tests enable_tests
20395 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
20396 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
20397 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
20398 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
20399 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
20400 wine_fn_config_makefile dlls/drmclien enable_drmclien
20401 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
20402 wine_fn_config_makefile dlls/dsound enable_dsound
20403 wine_fn_config_makefile dlls/dsound/tests enable_tests
20404 wine_fn_config_makefile dlls/dsquery enable_dsquery
20405 wine_fn_config_makefile dlls/dssenh enable_dssenh
20406 wine_fn_config_makefile dlls/dssenh/tests enable_tests
20407 wine_fn_config_makefile dlls/dswave enable_dswave
20408 wine_fn_config_makefile dlls/dswave/tests enable_tests
20409 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
20410 wine_fn_config_makefile dlls/dwrite enable_dwrite
20411 wine_fn_config_makefile dlls/dwrite/tests enable_tests
20412 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
20413 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
20414 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
20415 wine_fn_config_makefile dlls/dxerr8 enable_dxerr8
20416 wine_fn_config_makefile dlls/dxerr9 enable_dxerr9
20417 wine_fn_config_makefile dlls/dxgi enable_dxgi
20418 wine_fn_config_makefile dlls/dxgi/tests enable_tests
20419 wine_fn_config_makefile dlls/dxguid enable_dxguid
20420 wine_fn_config_makefile dlls/dxva2 enable_dxva2
20421 wine_fn_config_makefile dlls/esent enable_esent
20422 wine_fn_config_makefile dlls/evr enable_evr
20423 wine_fn_config_makefile dlls/evr/tests enable_tests
20424 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
20425 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
20426 wine_fn_config_makefile dlls/ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
20427 wine_fn_config_makefile dlls/ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
20428 wine_fn_config_makefile dlls/ext-ms-win-dwmapi-ext-l1-1-0 enable_ext_ms_win_dwmapi_ext_l1_1_0
20429 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-0 enable_ext_ms_win_gdi_dc_create_l1_1_0
20430 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
20431 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
20432 wine_fn_config_makefile dlls/ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
20433 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-0 enable_ext_ms_win_gdi_draw_l1_1_0
20434 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
20435 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-0 enable_ext_ms_win_gdi_font_l1_1_0
20436 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-1 enable_ext_ms_win_gdi_font_l1_1_1
20437 wine_fn_config_makefile dlls/ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
20438 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
20439 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
20440 wine_fn_config_makefile dlls/ext-ms-win-ntuser-dialogbox-l1-1-0 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
20441 wine_fn_config_makefile dlls/ext-ms-win-ntuser-draw-l1-1-0 enable_ext_ms_win_ntuser_draw_l1_1_0
20442 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-1-0 enable_ext_ms_win_ntuser_gui_l1_1_0
20443 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-3-0 enable_ext_ms_win_ntuser_gui_l1_3_0
20444 wine_fn_config_makefile dlls/ext-ms-win-ntuser-keyboard-l1-3-0 enable_ext_ms_win_ntuser_keyboard_l1_3_0
20445 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-0 enable_ext_ms_win_ntuser_message_l1_1_0
20446 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
20447 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-1-0 enable_ext_ms_win_ntuser_misc_l1_1_0
20448 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-2-0 enable_ext_ms_win_ntuser_misc_l1_2_0
20449 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-5-1 enable_ext_ms_win_ntuser_misc_l1_5_1
20450 wine_fn_config_makefile dlls/ext-ms-win-ntuser-mouse-l1-1-0 enable_ext_ms_win_ntuser_mouse_l1_1_0
20451 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
20452 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-3-1 enable_ext_ms_win_ntuser_private_l1_3_1
20453 wine_fn_config_makefile dlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
20454 wine_fn_config_makefile dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
20455 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-0 enable_ext_ms_win_ntuser_window_l1_1_0
20456 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
20457 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-4 enable_ext_ms_win_ntuser_window_l1_1_4
20458 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-0 enable_ext_ms_win_ntuser_windowclass_l1_1_0
20459 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
20460 wine_fn_config_makefile dlls/ext-ms-win-oleacc-l1-1-0 enable_ext_ms_win_oleacc_l1_1_0
20461 wine_fn_config_makefile dlls/ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
20462 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-devcaps-l1-1-0 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
20463 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
20464 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
20465 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-cursor-l1-1-0 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
20466 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
20467 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
20468 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-2-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
20469 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-rawinput-l1-1-0 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
20470 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-syscolors-l1-1-0 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
20471 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
20472 wine_fn_config_makefile dlls/ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
20473 wine_fn_config_makefile dlls/ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
20474 wine_fn_config_makefile dlls/ext-ms-win-shell-comctl32-init-l1-1-0 enable_ext_ms_win_shell_comctl32_init_l1_1_0
20475 wine_fn_config_makefile dlls/ext-ms-win-shell-comdlg32-l1-1-0 enable_ext_ms_win_shell_comdlg32_l1_1_0
20476 wine_fn_config_makefile dlls/ext-ms-win-shell-shell32-l1-2-0 enable_ext_ms_win_shell_shell32_l1_2_0
20477 wine_fn_config_makefile dlls/ext-ms-win-uxtheme-themes-l1-1-0 enable_ext_ms_win_uxtheme_themes_l1_1_0
20478 wine_fn_config_makefile dlls/faultrep enable_faultrep
20479 wine_fn_config_makefile dlls/faultrep/tests enable_tests
20480 wine_fn_config_makefile dlls/feclient enable_feclient
20481 wine_fn_config_makefile dlls/fltlib enable_fltlib
20482 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
20483 wine_fn_config_makefile dlls/fntcache enable_fntcache
20484 wine_fn_config_makefile dlls/fontsub enable_fontsub
20485 wine_fn_config_makefile dlls/fusion enable_fusion
20486 wine_fn_config_makefile dlls/fusion/tests enable_tests
20487 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
20488 wine_fn_config_makefile dlls/gameux enable_gameux
20489 wine_fn_config_makefile dlls/gameux/tests enable_tests
20490 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
20491 wine_fn_config_makefile dlls/gdi32 enable_gdi32
20492 wine_fn_config_makefile dlls/gdi32/tests enable_tests
20493 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
20494 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
20495 wine_fn_config_makefile dlls/glu32 enable_glu32
20496 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
20497 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
20498 wine_fn_config_makefile dlls/hal enable_hal
20499 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
20500 wine_fn_config_makefile dlls/hid enable_hid
20501 wine_fn_config_makefile dlls/hid/tests enable_tests
20502 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
20503 wine_fn_config_makefile dlls/hlink enable_hlink
20504 wine_fn_config_makefile dlls/hlink/tests enable_tests
20505 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
20506 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
20507 wine_fn_config_makefile dlls/http.sys enable_http_sys
20508 wine_fn_config_makefile dlls/httpapi enable_httpapi
20509 wine_fn_config_makefile dlls/httpapi/tests enable_tests
20510 wine_fn_config_makefile dlls/iccvid enable_iccvid
20511 wine_fn_config_makefile dlls/icmp enable_icmp
20512 wine_fn_config_makefile dlls/ieframe enable_ieframe
20513 wine_fn_config_makefile dlls/ieframe/tests enable_tests
20514 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
20515 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
20516 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
20517 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
20518 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
20519 wine_fn_config_makefile dlls/imm.dll16 enable_win16
20520 wine_fn_config_makefile dlls/imm32 enable_imm32
20521 wine_fn_config_makefile dlls/imm32/tests enable_tests
20522 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
20523 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
20524 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
20525 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
20526 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
20527 wine_fn_config_makefile dlls/infosoft enable_infosoft
20528 wine_fn_config_makefile dlls/infosoft/tests enable_tests
20529 wine_fn_config_makefile dlls/initpki enable_initpki
20530 wine_fn_config_makefile dlls/inkobj enable_inkobj
20531 wine_fn_config_makefile dlls/inseng enable_inseng
20532 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
20533 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
20534 wine_fn_config_makefile dlls/iprop enable_iprop
20535 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
20536 wine_fn_config_makefile dlls/itircl enable_itircl
20537 wine_fn_config_makefile dlls/itss enable_itss
20538 wine_fn_config_makefile dlls/itss/tests enable_tests
20539 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
20540 wine_fn_config_makefile dlls/jscript enable_jscript
20541 wine_fn_config_makefile dlls/jscript/tests enable_tests
20542 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
20543 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
20544 wine_fn_config_makefile dlls/kerberos enable_kerberos
20545 wine_fn_config_makefile dlls/kernel32 enable_kernel32
20546 wine_fn_config_makefile dlls/kernel32/tests enable_tests
20547 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
20548 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
20549 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
20550 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
20551 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
20552 wine_fn_config_makefile dlls/ksuser enable_ksuser
20553 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
20554 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
20555 wine_fn_config_makefile dlls/loadperf enable_loadperf
20556 wine_fn_config_makefile dlls/localspl enable_localspl
20557 wine_fn_config_makefile dlls/localspl/tests enable_tests
20558 wine_fn_config_makefile dlls/localui enable_localui
20559 wine_fn_config_makefile dlls/localui/tests enable_tests
20560 wine_fn_config_makefile dlls/lz32 enable_lz32
20561 wine_fn_config_makefile dlls/lz32/tests enable_tests
20562 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
20563 wine_fn_config_makefile dlls/mapi32 enable_mapi32
20564 wine_fn_config_makefile dlls/mapi32/tests enable_tests
20565 wine_fn_config_makefile dlls/mapistub enable_mapistub
20566 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
20567 wine_fn_config_makefile dlls/mcicda enable_mcicda
20568 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
20569 wine_fn_config_makefile dlls/mciseq enable_mciseq
20570 wine_fn_config_makefile dlls/mciwave enable_mciwave
20571 wine_fn_config_makefile dlls/mf enable_mf
20572 wine_fn_config_makefile dlls/mf/tests enable_tests
20573 wine_fn_config_makefile dlls/mf3216 enable_mf3216
20574 wine_fn_config_makefile dlls/mferror enable_mferror
20575 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
20576 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
20577 wine_fn_config_makefile dlls/mfplat enable_mfplat
20578 wine_fn_config_makefile dlls/mfplat/tests enable_tests
20579 wine_fn_config_makefile dlls/mfplay enable_mfplay
20580 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
20581 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
20582 wine_fn_config_makefile dlls/mfuuid enable_mfuuid
20583 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
20584 wine_fn_config_makefile dlls/midimap enable_midimap
20585 wine_fn_config_makefile dlls/mlang enable_mlang
20586 wine_fn_config_makefile dlls/mlang/tests enable_tests
20587 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
20588 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
20589 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
20590 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
20591 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
20592 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
20593 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
20594 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
20595 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
20596 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
20597 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
20598 wine_fn_config_makefile dlls/mpr enable_mpr
20599 wine_fn_config_makefile dlls/mpr/tests enable_tests
20600 wine_fn_config_makefile dlls/mprapi enable_mprapi
20601 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
20602 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
20603 wine_fn_config_makefile dlls/msacm32 enable_msacm32
20604 wine_fn_config_makefile dlls/msacm32/tests enable_tests
20605 wine_fn_config_makefile dlls/msado15 enable_msado15
20606 wine_fn_config_makefile dlls/msado15/tests enable_tests
20607 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
20608 wine_fn_config_makefile dlls/msasn1 enable_msasn1
20609 wine_fn_config_makefile dlls/mscat32 enable_mscat32
20610 wine_fn_config_makefile dlls/mscms enable_mscms
20611 wine_fn_config_makefile dlls/mscms/tests enable_tests
20612 wine_fn_config_makefile dlls/mscoree enable_mscoree
20613 wine_fn_config_makefile dlls/mscoree/tests enable_tests
20614 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
20615 wine_fn_config_makefile dlls/msctf enable_msctf
20616 wine_fn_config_makefile dlls/msctf/tests enable_tests
20617 wine_fn_config_makefile dlls/msctfp enable_msctfp
20618 wine_fn_config_makefile dlls/msdaps enable_msdaps
20619 wine_fn_config_makefile dlls/msdelta enable_msdelta
20620 wine_fn_config_makefile dlls/msdmo enable_msdmo
20621 wine_fn_config_makefile dlls/msdmo/tests enable_tests
20622 wine_fn_config_makefile dlls/msdrm enable_msdrm
20623 wine_fn_config_makefile dlls/msftedit enable_msftedit
20624 wine_fn_config_makefile dlls/msftedit/tests enable_tests
20625 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
20626 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
20627 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
20628 wine_fn_config_makefile dlls/mshtml enable_mshtml
20629 wine_fn_config_makefile dlls/mshtml/tests enable_tests
20630 wine_fn_config_makefile dlls/msi enable_msi
20631 wine_fn_config_makefile dlls/msi/tests enable_tests
20632 wine_fn_config_makefile dlls/msident enable_msident
20633 wine_fn_config_makefile dlls/msimg32 enable_msimg32
20634 wine_fn_config_makefile dlls/msimsg enable_msimsg
20635 wine_fn_config_makefile dlls/msimtf enable_msimtf
20636 wine_fn_config_makefile dlls/msisip enable_msisip
20637 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
20638 wine_fn_config_makefile dlls/msls31 enable_msls31
20639 wine_fn_config_makefile dlls/msnet32 enable_msnet32
20640 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
20641 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
20642 wine_fn_config_makefile dlls/msports enable_msports
20643 wine_fn_config_makefile dlls/msrle32 enable_msrle32
20644 wine_fn_config_makefile dlls/msrle32/tests enable_tests
20645 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
20646 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
20647 wine_fn_config_makefile dlls/mssign32 enable_mssign32
20648 wine_fn_config_makefile dlls/mssip32 enable_mssip32
20649 wine_fn_config_makefile dlls/mstask enable_mstask
20650 wine_fn_config_makefile dlls/mstask/tests enable_tests
20651 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
20652 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
20653 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
20654 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
20655 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
20656 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
20657 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
20658 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
20659 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
20660 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
20661 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
20662 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
20663 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
20664 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
20665 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
20666 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
20667 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
20668 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
20669 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
20670 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
20671 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
20672 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
20673 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
20674 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
20675 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
20676 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
20677 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
20678 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
20679 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
20680 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
20681 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
20682 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
20683 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
20684 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
20685 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
20686 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
20687 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
20688 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
20689 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
20690 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
20691 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
20692 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
20693 wine_fn_config_makefile dlls/mswsock enable_mswsock
20694 wine_fn_config_makefile dlls/msxml enable_msxml
20695 wine_fn_config_makefile dlls/msxml2 enable_msxml2
20696 wine_fn_config_makefile dlls/msxml3 enable_msxml3
20697 wine_fn_config_makefile dlls/msxml3/tests enable_tests
20698 wine_fn_config_makefile dlls/msxml4 enable_msxml4
20699 wine_fn_config_makefile dlls/msxml6 enable_msxml6
20700 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
20701 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
20702 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
20703 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
20704 wine_fn_config_makefile dlls/netapi32 enable_netapi32
20705 wine_fn_config_makefile dlls/netapi32/tests enable_tests
20706 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
20707 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
20708 wine_fn_config_makefile dlls/netprofm enable_netprofm
20709 wine_fn_config_makefile dlls/netprofm/tests enable_tests
20710 wine_fn_config_makefile dlls/newdev enable_newdev
20711 wine_fn_config_makefile dlls/ninput enable_ninput
20712 wine_fn_config_makefile dlls/ninput/tests enable_tests
20713 wine_fn_config_makefile dlls/normaliz enable_normaliz
20714 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
20715 wine_fn_config_makefile dlls/npptools enable_npptools
20716 wine_fn_config_makefile dlls/ntdll enable_ntdll
20717 wine_fn_config_makefile dlls/ntdll/tests enable_tests
20718 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
20719 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
20720 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
20721 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
20722 wine_fn_config_makefile dlls/ntprint enable_ntprint
20723 wine_fn_config_makefile dlls/ntprint/tests enable_tests
20724 wine_fn_config_makefile dlls/objsel enable_objsel
20725 wine_fn_config_makefile dlls/odbc32 enable_odbc32
20726 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
20727 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
20728 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
20729 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
20730 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
20731 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
20732 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
20733 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
20734 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
20735 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
20736 wine_fn_config_makefile dlls/ole32 enable_ole32
20737 wine_fn_config_makefile dlls/ole32/tests enable_tests
20738 wine_fn_config_makefile dlls/oleacc enable_oleacc
20739 wine_fn_config_makefile dlls/oleacc/tests enable_tests
20740 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
20741 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
20742 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
20743 wine_fn_config_makefile dlls/olecli32 enable_olecli32
20744 wine_fn_config_makefile dlls/oledb32 enable_oledb32
20745 wine_fn_config_makefile dlls/oledb32/tests enable_tests
20746 wine_fn_config_makefile dlls/oledlg enable_oledlg
20747 wine_fn_config_makefile dlls/oledlg/tests enable_tests
20748 wine_fn_config_makefile dlls/olepro32 enable_olepro32
20749 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
20750 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
20751 wine_fn_config_makefile dlls/olethk32 enable_olethk32
20752 wine_fn_config_makefile dlls/opcservices enable_opcservices
20753 wine_fn_config_makefile dlls/opcservices/tests enable_tests
20754 wine_fn_config_makefile dlls/openal32 enable_openal32
20755 wine_fn_config_makefile dlls/opencl enable_opencl
20756 wine_fn_config_makefile dlls/opengl32 enable_opengl32
20757 wine_fn_config_makefile dlls/opengl32/tests enable_tests
20758 wine_fn_config_makefile dlls/packager enable_packager
20759 wine_fn_config_makefile dlls/packager/tests enable_tests
20760 wine_fn_config_makefile dlls/pdh enable_pdh
20761 wine_fn_config_makefile dlls/pdh/tests enable_tests
20762 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
20763 wine_fn_config_makefile dlls/pidgen enable_pidgen
20764 wine_fn_config_makefile dlls/powrprof enable_powrprof
20765 wine_fn_config_makefile dlls/printui enable_printui
20766 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
20767 wine_fn_config_makefile dlls/propsys enable_propsys
20768 wine_fn_config_makefile dlls/propsys/tests enable_tests
20769 wine_fn_config_makefile dlls/psapi enable_psapi
20770 wine_fn_config_makefile dlls/psapi/tests enable_tests
20771 wine_fn_config_makefile dlls/pstorec enable_pstorec
20772 wine_fn_config_makefile dlls/pstorec/tests enable_tests
20773 wine_fn_config_makefile dlls/qcap enable_qcap
20774 wine_fn_config_makefile dlls/qcap/tests enable_tests
20775 wine_fn_config_makefile dlls/qedit enable_qedit
20776 wine_fn_config_makefile dlls/qedit/tests enable_tests
20777 wine_fn_config_makefile dlls/qmgr enable_qmgr
20778 wine_fn_config_makefile dlls/qmgr/tests enable_tests
20779 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
20780 wine_fn_config_makefile dlls/quartz enable_quartz
20781 wine_fn_config_makefile dlls/quartz/tests enable_tests
20782 wine_fn_config_makefile dlls/query enable_query
20783 wine_fn_config_makefile dlls/qwave enable_qwave
20784 wine_fn_config_makefile dlls/qwave/tests enable_tests
20785 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
20786 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
20787 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
20788 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
20789 wine_fn_config_makefile dlls/regapi enable_regapi
20790 wine_fn_config_makefile dlls/resutils enable_resutils
20791 wine_fn_config_makefile dlls/riched20 enable_riched20
20792 wine_fn_config_makefile dlls/riched20/tests enable_tests
20793 wine_fn_config_makefile dlls/riched32 enable_riched32
20794 wine_fn_config_makefile dlls/riched32/tests enable_tests
20795 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
20796 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
20797 wine_fn_config_makefile dlls/rsabase enable_rsabase
20798 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
20799 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
20800 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
20801 wine_fn_config_makefile dlls/rtutils enable_rtutils
20802 wine_fn_config_makefile dlls/rtworkq enable_rtworkq
20803 wine_fn_config_makefile dlls/samlib enable_samlib
20804 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
20805 wine_fn_config_makefile dlls/sapi enable_sapi
20806 wine_fn_config_makefile dlls/sapi/tests enable_tests
20807 wine_fn_config_makefile dlls/sas enable_sas
20808 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
20809 wine_fn_config_makefile dlls/sccbase enable_sccbase
20810 wine_fn_config_makefile dlls/schannel enable_schannel
20811 wine_fn_config_makefile dlls/schannel/tests enable_tests
20812 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
20813 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
20814 wine_fn_config_makefile dlls/scrobj enable_scrobj
20815 wine_fn_config_makefile dlls/scrobj/tests enable_tests
20816 wine_fn_config_makefile dlls/scrrun enable_scrrun
20817 wine_fn_config_makefile dlls/scrrun/tests enable_tests
20818 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
20819 wine_fn_config_makefile dlls/secur32 enable_secur32
20820 wine_fn_config_makefile dlls/secur32/tests enable_tests
20821 wine_fn_config_makefile dlls/security enable_security
20822 wine_fn_config_makefile dlls/sensapi enable_sensapi
20823 wine_fn_config_makefile dlls/serialui enable_serialui
20824 wine_fn_config_makefile dlls/serialui/tests enable_tests
20825 wine_fn_config_makefile dlls/setupapi enable_setupapi
20826 wine_fn_config_makefile dlls/setupapi/tests enable_tests
20827 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
20828 wine_fn_config_makefile dlls/sfc enable_sfc
20829 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
20830 wine_fn_config_makefile dlls/shcore enable_shcore
20831 wine_fn_config_makefile dlls/shcore/tests enable_tests
20832 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
20833 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
20834 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
20835 wine_fn_config_makefile dlls/shell.dll16 enable_win16
20836 wine_fn_config_makefile dlls/shell32 enable_shell32
20837 wine_fn_config_makefile dlls/shell32/tests enable_tests
20838 wine_fn_config_makefile dlls/shfolder enable_shfolder
20839 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
20840 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
20841 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
20842 wine_fn_config_makefile dlls/slc enable_slc
20843 wine_fn_config_makefile dlls/slc/tests enable_tests
20844 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
20845 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
20846 wine_fn_config_makefile dlls/softpub enable_softpub
20847 wine_fn_config_makefile dlls/sound.drv16 enable_win16
20848 wine_fn_config_makefile dlls/spoolss enable_spoolss
20849 wine_fn_config_makefile dlls/spoolss/tests enable_tests
20850 wine_fn_config_makefile dlls/srclient enable_srclient
20851 wine_fn_config_makefile dlls/sspicli enable_sspicli
20852 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
20853 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
20854 wine_fn_config_makefile dlls/sti enable_sti
20855 wine_fn_config_makefile dlls/sti/tests enable_tests
20856 wine_fn_config_makefile dlls/storage.dll16 enable_win16
20857 wine_fn_config_makefile dlls/stress.dll16 enable_win16
20858 wine_fn_config_makefile dlls/strmbase enable_strmbase
20859 wine_fn_config_makefile dlls/strmdll enable_strmdll
20860 wine_fn_config_makefile dlls/strmiids enable_strmiids
20861 wine_fn_config_makefile dlls/svrapi enable_svrapi
20862 wine_fn_config_makefile dlls/sxs enable_sxs
20863 wine_fn_config_makefile dlls/sxs/tests enable_tests
20864 wine_fn_config_makefile dlls/system.drv16 enable_win16
20865 wine_fn_config_makefile dlls/t2embed enable_t2embed
20866 wine_fn_config_makefile dlls/t2embed/tests enable_tests
20867 wine_fn_config_makefile dlls/tapi32 enable_tapi32
20868 wine_fn_config_makefile dlls/tapi32/tests enable_tests
20869 wine_fn_config_makefile dlls/taskschd enable_taskschd
20870 wine_fn_config_makefile dlls/taskschd/tests enable_tests
20871 wine_fn_config_makefile dlls/tdh enable_tdh
20872 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
20873 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
20874 wine_fn_config_makefile dlls/traffic enable_traffic
20875 wine_fn_config_makefile dlls/twain.dll16 enable_win16
20876 wine_fn_config_makefile dlls/twain_32 enable_twain_32
20877 wine_fn_config_makefile dlls/twain_32/tests enable_tests
20878 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
20879 wine_fn_config_makefile dlls/tzres enable_tzres
20880 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
20881 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
20882 wine_fn_config_makefile dlls/uianimation enable_uianimation
20883 wine_fn_config_makefile dlls/uianimation/tests enable_tests
20884 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
20885 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
20886 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
20887 wine_fn_config_makefile dlls/unicows enable_unicows
20888 wine_fn_config_makefile dlls/updspapi enable_updspapi
20889 wine_fn_config_makefile dlls/url enable_url
20890 wine_fn_config_makefile dlls/urlmon enable_urlmon
20891 wine_fn_config_makefile dlls/urlmon/tests enable_tests
20892 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
20893 wine_fn_config_makefile dlls/user.exe16 enable_win16
20894 wine_fn_config_makefile dlls/user32 enable_user32
20895 wine_fn_config_makefile dlls/user32/tests enable_tests
20896 wine_fn_config_makefile dlls/userenv enable_userenv
20897 wine_fn_config_makefile dlls/userenv/tests enable_tests
20898 wine_fn_config_makefile dlls/usp10 enable_usp10
20899 wine_fn_config_makefile dlls/usp10/tests enable_tests
20900 wine_fn_config_makefile dlls/utildll enable_utildll
20901 wine_fn_config_makefile dlls/uuid enable_uuid
20902 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
20903 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
20904 wine_fn_config_makefile dlls/vbscript enable_vbscript
20905 wine_fn_config_makefile dlls/vbscript/tests enable_tests
20906 wine_fn_config_makefile dlls/vcomp enable_vcomp
20907 wine_fn_config_makefile dlls/vcomp/tests enable_tests
20908 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
20909 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
20910 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
20911 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
20912 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
20913 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
20914 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
20915 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
20916 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
20917 wine_fn_config_makefile dlls/ver.dll16 enable_win16
20918 wine_fn_config_makefile dlls/version enable_version
20919 wine_fn_config_makefile dlls/version/tests enable_tests
20920 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
20921 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
20922 wine_fn_config_makefile dlls/vmm.vxd enable_win16
20923 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
20924 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
20925 wine_fn_config_makefile dlls/vssapi enable_vssapi
20926 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
20927 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
20928 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
20929 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
20930 wine_fn_config_makefile dlls/w32skrnl enable_win16
20931 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
20932 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
20933 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
20934 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
20935 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
20936 wine_fn_config_makefile dlls/wbemuuid enable_wbemuuid
20937 wine_fn_config_makefile dlls/wdscore enable_wdscore
20938 wine_fn_config_makefile dlls/webservices enable_webservices
20939 wine_fn_config_makefile dlls/webservices/tests enable_tests
20940 wine_fn_config_makefile dlls/wer enable_wer
20941 wine_fn_config_makefile dlls/wer/tests enable_tests
20942 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
20943 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
20944 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
20945 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
20946 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
20947 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
20948 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
20949 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
20950 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
20951 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
20952 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
20953 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
20954 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
20955 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
20956 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
20957 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
20958 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
20959 wine_fn_config_makefile dlls/wined3d enable_wined3d
20960 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
20961 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
20962 wine_fn_config_makefile dlls/winejoystick.drv enable_winejoystick_drv
20963 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
20964 wine_fn_config_makefile dlls/winemapi enable_winemapi
20965 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
20966 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
20967 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
20968 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
20969 wine_fn_config_makefile dlls/wineqtdecoder enable_wineqtdecoder
20970 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
20971 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
20972 wine_fn_config_makefile dlls/wing.dll16 enable_win16
20973 wine_fn_config_makefile dlls/wing32 enable_wing32
20974 wine_fn_config_makefile dlls/winhttp enable_winhttp
20975 wine_fn_config_makefile dlls/winhttp/tests enable_tests
20976 wine_fn_config_makefile dlls/wininet enable_wininet
20977 wine_fn_config_makefile dlls/wininet/tests enable_tests
20978 wine_fn_config_makefile dlls/winmm enable_winmm
20979 wine_fn_config_makefile dlls/winmm/tests enable_tests
20980 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
20981 wine_fn_config_makefile dlls/winnls32 enable_winnls32
20982 wine_fn_config_makefile dlls/winscard enable_winscard
20983 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
20984 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
20985 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
20986 wine_fn_config_makefile dlls/winsta enable_winsta
20987 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
20988 wine_fn_config_makefile dlls/wintab32 enable_wintab32
20989 wine_fn_config_makefile dlls/wintab32/tests enable_tests
20990 wine_fn_config_makefile dlls/wintrust enable_wintrust
20991 wine_fn_config_makefile dlls/wintrust/tests enable_tests
20992 wine_fn_config_makefile dlls/winusb enable_winusb
20993 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
20994 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
20995 wine_fn_config_makefile dlls/wlanui enable_wlanui
20996 wine_fn_config_makefile dlls/wldap32 enable_wldap32
20997 wine_fn_config_makefile dlls/wldap32/tests enable_tests
20998 wine_fn_config_makefile dlls/wmasf enable_wmasf
20999 wine_fn_config_makefile dlls/wmcodecdspuuid enable_wmcodecdspuuid
21000 wine_fn_config_makefile dlls/wmi enable_wmi
21001 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
21002 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
21003 wine_fn_config_makefile dlls/wmp enable_wmp
21004 wine_fn_config_makefile dlls/wmp/tests enable_tests
21005 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
21006 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
21007 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
21008 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
21009 wine_fn_config_makefile dlls/wow32 enable_win16
21010 wine_fn_config_makefile dlls/wpc enable_wpc
21011 wine_fn_config_makefile dlls/wpc/tests enable_tests
21012 wine_fn_config_makefile dlls/wpcap enable_wpcap
21013 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
21014 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
21015 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
21016 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
21017 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
21018 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
21019 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
21020 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
21021 wine_fn_config_makefile dlls/wsock32 enable_wsock32
21022 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
21023 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
21024 wine_fn_config_makefile dlls/wuapi enable_wuapi
21025 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
21026 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
21027 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
21028 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
21029 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
21030 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
21031 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
21032 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
21033 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
21034 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
21035 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
21036 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
21037 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
21038 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
21039 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
21040 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
21041 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
21042 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
21043 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
21044 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
21045 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
21046 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
21047 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
21048 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
21049 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
21050 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
21051 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
21052 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
21053 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
21054 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
21055 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
21056 wine_fn_config_makefile dlls/xmllite enable_xmllite
21057 wine_fn_config_makefile dlls/xmllite/tests enable_tests
21058 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
21059 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
21060 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
21061 wine_fn_config_makefile fonts enable_fonts
21062 wine_fn_config_makefile include enable_include
21063 wine_fn_config_makefile libs/port enable_port
21064 wine_fn_config_makefile libs/wine enable_wine
21065 wine_fn_config_makefile libs/wpp enable_wpp
21066 wine_fn_config_makefile loader enable_loader
21067 wine_fn_config_makefile po enable_po
21068 wine_fn_config_makefile programs/arp enable_arp
21069 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
21070 wine_fn_config_makefile programs/attrib enable_attrib
21071 wine_fn_config_makefile programs/cabarc enable_cabarc
21072 wine_fn_config_makefile programs/cacls enable_cacls
21073 wine_fn_config_makefile programs/chcp.com enable_chcp_com
21074 wine_fn_config_makefile programs/clock enable_clock
21075 wine_fn_config_makefile programs/cmd enable_cmd
21076 wine_fn_config_makefile programs/cmd/tests enable_tests
21077 wine_fn_config_makefile programs/conhost enable_conhost
21078 wine_fn_config_makefile programs/control enable_control
21079 wine_fn_config_makefile programs/cscript enable_cscript
21080 wine_fn_config_makefile programs/dism enable_dism
21081 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
21082 wine_fn_config_makefile programs/dxdiag enable_dxdiag
21083 wine_fn_config_makefile programs/eject enable_eject
21084 wine_fn_config_makefile programs/expand enable_expand
21085 wine_fn_config_makefile programs/explorer enable_explorer
21086 wine_fn_config_makefile programs/extrac32 enable_extrac32
21087 wine_fn_config_makefile programs/fc enable_fc
21088 wine_fn_config_makefile programs/find enable_find
21089 wine_fn_config_makefile programs/find/tests enable_tests
21090 wine_fn_config_makefile programs/findstr enable_findstr
21091 wine_fn_config_makefile programs/fsutil enable_fsutil
21092 wine_fn_config_makefile programs/hh enable_hh
21093 wine_fn_config_makefile programs/hostname enable_hostname
21094 wine_fn_config_makefile programs/icacls enable_icacls
21095 wine_fn_config_makefile programs/icinfo enable_icinfo
21096 wine_fn_config_makefile programs/iexplore enable_iexplore
21097 wine_fn_config_makefile programs/ipconfig enable_ipconfig
21098 wine_fn_config_makefile programs/lodctr enable_lodctr
21099 wine_fn_config_makefile programs/mofcomp enable_mofcomp
21100 wine_fn_config_makefile programs/mshta enable_mshta
21101 wine_fn_config_makefile programs/msidb enable_msidb
21102 wine_fn_config_makefile programs/msiexec enable_msiexec
21103 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
21104 wine_fn_config_makefile programs/net enable_net
21105 wine_fn_config_makefile programs/netsh enable_netsh
21106 wine_fn_config_makefile programs/netstat enable_netstat
21107 wine_fn_config_makefile programs/ngen enable_ngen
21108 wine_fn_config_makefile programs/notepad enable_notepad
21109 wine_fn_config_makefile programs/oleview enable_oleview
21110 wine_fn_config_makefile programs/ping enable_ping
21111 wine_fn_config_makefile programs/plugplay enable_plugplay
21112 wine_fn_config_makefile programs/powershell enable_powershell
21113 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
21114 wine_fn_config_makefile programs/progman enable_progman
21115 wine_fn_config_makefile programs/reg enable_reg
21116 wine_fn_config_makefile programs/reg/tests enable_tests
21117 wine_fn_config_makefile programs/regasm enable_regasm
21118 wine_fn_config_makefile programs/regedit enable_regedit
21119 wine_fn_config_makefile programs/regedit/tests enable_tests
21120 wine_fn_config_makefile programs/regini enable_regini
21121 wine_fn_config_makefile programs/regsvcs enable_regsvcs
21122 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
21123 wine_fn_config_makefile programs/rpcss enable_rpcss
21124 wine_fn_config_makefile programs/rundll.exe16 enable_win16
21125 wine_fn_config_makefile programs/rundll32 enable_rundll32
21126 wine_fn_config_makefile programs/sc enable_sc
21127 wine_fn_config_makefile programs/schtasks enable_schtasks
21128 wine_fn_config_makefile programs/schtasks/tests enable_tests
21129 wine_fn_config_makefile programs/sdbinst enable_sdbinst
21130 wine_fn_config_makefile programs/secedit enable_secedit
21131 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
21132 wine_fn_config_makefile programs/services enable_services
21133 wine_fn_config_makefile programs/services/tests enable_tests
21134 wine_fn_config_makefile programs/shutdown enable_shutdown
21135 wine_fn_config_makefile programs/spoolsv enable_spoolsv
21136 wine_fn_config_makefile programs/start enable_start
21137 wine_fn_config_makefile programs/subst enable_subst
21138 wine_fn_config_makefile programs/svchost enable_svchost
21139 wine_fn_config_makefile programs/systeminfo enable_systeminfo
21140 wine_fn_config_makefile programs/taskkill enable_taskkill
21141 wine_fn_config_makefile programs/tasklist enable_tasklist
21142 wine_fn_config_makefile programs/taskmgr enable_taskmgr
21143 wine_fn_config_makefile programs/termsv enable_termsv
21144 wine_fn_config_makefile programs/uninstaller enable_uninstaller
21145 wine_fn_config_makefile programs/unlodctr enable_unlodctr
21146 wine_fn_config_makefile programs/view enable_view
21147 wine_fn_config_makefile programs/wevtutil enable_wevtutil
21148 wine_fn_config_makefile programs/wineboot enable_wineboot
21149 wine_fn_config_makefile programs/winebrowser enable_winebrowser
21150 wine_fn_config_makefile programs/winecfg enable_winecfg
21151 wine_fn_config_makefile programs/wineconsole enable_wineconsole
21152 wine_fn_config_makefile programs/winedbg enable_winedbg
21153 wine_fn_config_makefile programs/winedevice enable_winedevice
21154 wine_fn_config_makefile programs/winefile enable_winefile
21155 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
21156 wine_fn_config_makefile programs/winemine enable_winemine
21157 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
21158 wine_fn_config_makefile programs/winepath enable_winepath
21159 wine_fn_config_makefile programs/winetest enable_winetest
21160 wine_fn_config_makefile programs/winevdm enable_win16
21161 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
21162 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
21163 wine_fn_config_makefile programs/winmgmt enable_winmgmt
21164 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
21165 wine_fn_config_makefile programs/winver enable_winver
21166 wine_fn_config_makefile programs/wmic enable_wmic
21167 wine_fn_config_makefile programs/wmplayer enable_wmplayer
21168 wine_fn_config_makefile programs/wordpad enable_wordpad
21169 wine_fn_config_makefile programs/write enable_write
21170 wine_fn_config_makefile programs/wscript enable_wscript
21171 wine_fn_config_makefile programs/wscript/tests enable_tests
21172 wine_fn_config_makefile programs/wuauserv enable_wuauserv
21173 wine_fn_config_makefile programs/wusa enable_wusa
21174 wine_fn_config_makefile programs/xcopy enable_xcopy
21175 wine_fn_config_makefile programs/xcopy/tests enable_tests
21176 wine_fn_config_makefile server enable_server
21177 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
21178 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
21179 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
21180 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
21181 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
21182 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
21183 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
21184 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
21185 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
21188 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
21189 wine_fn_append_file CONFIGURE_TARGETS "tags"
21190 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
21191 wine_fn_append_file CONFIGURE_TARGETS "config.log"
21192 wine_fn_append_file CONFIGURE_TARGETS "config.status"
21193 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
21194 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
21195 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
21197 if test "x$enable_tools" != xno
21198 then
21199 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
21200 ac_config_commands="$ac_config_commands tools/makedep"
21204 ac_config_commands="$ac_config_commands Makefile"
21207 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
21211 if test "x$enable_maintainer_mode" = xyes
21212 then
21213 wine_fn_append_rule "configure: configure.ac aclocal.m4
21214 autoconf --warnings=all
21215 include/config.h.in: include/stamp-h.in
21216 include/stamp-h.in: configure.ac aclocal.m4
21217 autoheader --warnings=all
21218 @echo timestamp > \$@"
21221 if test "x$enable_tools" != xno
21222 then
21223 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
21224 @./config.status tools/makedep
21225 Makefile: tools/makedep$ac_exeext
21226 fonts: tools/sfnt2fon
21227 include: tools tools/widl"
21228 else
21229 wine_fn_append_rule "\$(MAKEDEP):
21230 @echo \"You need to run make in $TOOLSDIR first\" && false"
21233 if test -n "$with_wine64"
21234 then
21235 case "$with_wine64" in
21236 /*) reldir="" ;;
21237 *) reldir="../" ;;
21238 esac
21239 rm -f fonts server 2>/dev/null
21240 wine_fn_append_rule "all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
21241 loader/wine64 loader/wine64-preloader:
21242 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
21243 $with_wine64/loader/wine:
21244 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
21245 $with_wine64/loader/wine-preloader:
21246 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
21247 clean::
21248 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
21249 else
21250 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
21251 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
21252 fonts \
21253 loader/l_intl.nls \
21254 loader/wine.inf \
21255 loader/winebus.inf \
21256 loader/winehid.inf \
21257 programs/msidb/msidb \
21258 programs/msiexec/msiexec \
21259 programs/notepad/notepad \
21260 programs/regedit/regedit \
21261 programs/regsvr32/regsvr32 \
21262 programs/wineboot/wineboot \
21263 programs/winecfg/winecfg \
21264 programs/wineconsole/wineconsole \
21265 programs/winedbg/winedbg \
21266 programs/winefile/winefile \
21267 programs/winemine/winemine \
21268 programs/winepath/winepath \
21269 server/wineserver"
21271 case $host_os in
21272 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
21273 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
21274 esac
21277 $as_echo " done" >&6
21278 cat >confcache <<\_ACEOF
21279 # This file is a shell script that caches the results of configure
21280 # tests run on this system so they can be shared between configure
21281 # scripts and configure runs, see configure's option --config-cache.
21282 # It is not useful on other systems. If it contains results you don't
21283 # want to keep, you may remove or edit it.
21285 # config.status only pays attention to the cache file if you give it
21286 # the --recheck option to rerun configure.
21288 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21289 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21290 # following values.
21292 _ACEOF
21294 # The following way of writing the cache mishandles newlines in values,
21295 # but we know of no workaround that is simple, portable, and efficient.
21296 # So, we kill variables containing newlines.
21297 # Ultrix sh set writes to stderr and can't be redirected directly,
21298 # and sets the high bit in the cache file unless we assign to the vars.
21300 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21301 eval ac_val=\$$ac_var
21302 case $ac_val in #(
21303 *${as_nl}*)
21304 case $ac_var in #(
21305 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
21306 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
21307 esac
21308 case $ac_var in #(
21309 _ | IFS | as_nl) ;; #(
21310 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
21311 *) { eval $ac_var=; unset $ac_var;} ;;
21312 esac ;;
21313 esac
21314 done
21316 (set) 2>&1 |
21317 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21318 *${as_nl}ac_space=\ *)
21319 # `set' does not quote correctly, so add quotes: double-quote
21320 # substitution turns \\\\ into \\, and sed turns \\ into \.
21321 sed -n \
21322 "s/'/'\\\\''/g;
21323 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21324 ;; #(
21326 # `set' quotes correctly as required by POSIX, so do not add quotes.
21327 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21329 esac |
21330 sort
21332 sed '
21333 /^ac_cv_env_/b end
21334 t clear
21335 :clear
21336 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21337 t end
21338 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21339 :end' >>confcache
21340 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
21341 if test -w "$cache_file"; then
21342 if test "x$cache_file" != "x/dev/null"; then
21343 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
21344 $as_echo "$as_me: updating cache $cache_file" >&6;}
21345 if test ! -f "$cache_file" || test -h "$cache_file"; then
21346 cat confcache >"$cache_file"
21347 else
21348 case $cache_file in #(
21349 */* | ?:*)
21350 mv -f confcache "$cache_file"$$ &&
21351 mv -f "$cache_file"$$ "$cache_file" ;; #(
21353 mv -f confcache "$cache_file" ;;
21354 esac
21357 else
21358 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
21359 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21362 rm -f confcache
21364 test "x$prefix" = xNONE && prefix=$ac_default_prefix
21365 # Let make expand exec_prefix.
21366 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
21368 DEFS=-DHAVE_CONFIG_H
21370 ac_libobjs=
21371 ac_ltlibobjs=
21373 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
21374 # 1. Remove the extension, and $U if already installed.
21375 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
21376 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
21377 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21378 # will be set to the directory where LIBOBJS objects are built.
21379 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21380 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
21381 done
21382 LIBOBJS=$ac_libobjs
21384 LTLIBOBJS=$ac_ltlibobjs
21388 : "${CONFIG_STATUS=./config.status}"
21389 ac_write_fail=0
21390 ac_clean_files_save=$ac_clean_files
21391 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
21392 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
21393 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
21394 as_write_fail=0
21395 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
21396 #! $SHELL
21397 # Generated by $as_me.
21398 # Run this file to recreate the current configuration.
21399 # Compiler output produced by configure, useful for debugging
21400 # configure, is in config.log if it exists.
21402 debug=false
21403 ac_cs_recheck=false
21404 ac_cs_silent=false
21406 SHELL=\${CONFIG_SHELL-$SHELL}
21407 export SHELL
21408 _ASEOF
21409 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
21410 ## -------------------- ##
21411 ## M4sh Initialization. ##
21412 ## -------------------- ##
21414 # Be more Bourne compatible
21415 DUALCASE=1; export DUALCASE # for MKS sh
21416 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
21417 emulate sh
21418 NULLCMD=:
21419 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21420 # is contrary to our usage. Disable this feature.
21421 alias -g '${1+"$@"}'='"$@"'
21422 setopt NO_GLOB_SUBST
21423 else
21424 case `(set -o) 2>/dev/null` in #(
21425 *posix*) :
21426 set -o posix ;; #(
21427 *) :
21429 esac
21433 as_nl='
21435 export as_nl
21436 # Printing a long string crashes Solaris 7 /usr/bin/printf.
21437 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
21438 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
21439 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
21440 # Prefer a ksh shell builtin over an external printf program on Solaris,
21441 # but without wasting forks for bash or zsh.
21442 if test -z "$BASH_VERSION$ZSH_VERSION" \
21443 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
21444 as_echo='print -r --'
21445 as_echo_n='print -rn --'
21446 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
21447 as_echo='printf %s\n'
21448 as_echo_n='printf %s'
21449 else
21450 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
21451 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
21452 as_echo_n='/usr/ucb/echo -n'
21453 else
21454 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
21455 as_echo_n_body='eval
21456 arg=$1;
21457 case $arg in #(
21458 *"$as_nl"*)
21459 expr "X$arg" : "X\\(.*\\)$as_nl";
21460 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
21461 esac;
21462 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
21464 export as_echo_n_body
21465 as_echo_n='sh -c $as_echo_n_body as_echo'
21467 export as_echo_body
21468 as_echo='sh -c $as_echo_body as_echo'
21471 # The user is always right.
21472 if test "${PATH_SEPARATOR+set}" != set; then
21473 PATH_SEPARATOR=:
21474 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
21475 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
21476 PATH_SEPARATOR=';'
21481 # IFS
21482 # We need space, tab and new line, in precisely that order. Quoting is
21483 # there to prevent editors from complaining about space-tab.
21484 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21485 # splitting by setting IFS to empty value.)
21486 IFS=" "" $as_nl"
21488 # Find who we are. Look in the path if we contain no directory separator.
21489 as_myself=
21490 case $0 in #((
21491 *[\\/]* ) as_myself=$0 ;;
21492 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21493 for as_dir in $PATH
21495 IFS=$as_save_IFS
21496 test -z "$as_dir" && as_dir=.
21497 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21498 done
21499 IFS=$as_save_IFS
21502 esac
21503 # We did not find ourselves, most probably we were run as `sh COMMAND'
21504 # in which case we are not to be found in the path.
21505 if test "x$as_myself" = x; then
21506 as_myself=$0
21508 if test ! -f "$as_myself"; then
21509 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21510 exit 1
21513 # Unset variables that we do not need and which cause bugs (e.g. in
21514 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
21515 # suppresses any "Segmentation fault" message there. '((' could
21516 # trigger a bug in pdksh 5.2.14.
21517 for as_var in BASH_ENV ENV MAIL MAILPATH
21518 do eval test x\${$as_var+set} = xset \
21519 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
21520 done
21521 PS1='$ '
21522 PS2='> '
21523 PS4='+ '
21525 # NLS nuisances.
21526 LC_ALL=C
21527 export LC_ALL
21528 LANGUAGE=C
21529 export LANGUAGE
21531 # CDPATH.
21532 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
21535 # as_fn_error STATUS ERROR [LINENO LOG_FD]
21536 # ----------------------------------------
21537 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
21538 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
21539 # script with STATUS, using 1 if that was 0.
21540 as_fn_error ()
21542 as_status=$1; test $as_status -eq 0 && as_status=1
21543 if test "$4"; then
21544 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
21545 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
21547 $as_echo "$as_me: error: $2" >&2
21548 as_fn_exit $as_status
21549 } # as_fn_error
21552 # as_fn_set_status STATUS
21553 # -----------------------
21554 # Set $? to STATUS, without forking.
21555 as_fn_set_status ()
21557 return $1
21558 } # as_fn_set_status
21560 # as_fn_exit STATUS
21561 # -----------------
21562 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
21563 as_fn_exit ()
21565 set +e
21566 as_fn_set_status $1
21567 exit $1
21568 } # as_fn_exit
21570 # as_fn_unset VAR
21571 # ---------------
21572 # Portably unset VAR.
21573 as_fn_unset ()
21575 { eval $1=; unset $1;}
21577 as_unset=as_fn_unset
21578 # as_fn_append VAR VALUE
21579 # ----------------------
21580 # Append the text in VALUE to the end of the definition contained in VAR. Take
21581 # advantage of any shell optimizations that allow amortized linear growth over
21582 # repeated appends, instead of the typical quadratic growth present in naive
21583 # implementations.
21584 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
21585 eval 'as_fn_append ()
21587 eval $1+=\$2
21589 else
21590 as_fn_append ()
21592 eval $1=\$$1\$2
21594 fi # as_fn_append
21596 # as_fn_arith ARG...
21597 # ------------------
21598 # Perform arithmetic evaluation on the ARGs, and store the result in the
21599 # global $as_val. Take advantage of shells that can avoid forks. The arguments
21600 # must be portable across $(()) and expr.
21601 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
21602 eval 'as_fn_arith ()
21604 as_val=$(( $* ))
21606 else
21607 as_fn_arith ()
21609 as_val=`expr "$@" || test $? -eq 1`
21611 fi # as_fn_arith
21614 if expr a : '\(a\)' >/dev/null 2>&1 &&
21615 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21616 as_expr=expr
21617 else
21618 as_expr=false
21621 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21622 as_basename=basename
21623 else
21624 as_basename=false
21627 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
21628 as_dirname=dirname
21629 else
21630 as_dirname=false
21633 as_me=`$as_basename -- "$0" ||
21634 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21635 X"$0" : 'X\(//\)$' \| \
21636 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21637 $as_echo X/"$0" |
21638 sed '/^.*\/\([^/][^/]*\)\/*$/{
21639 s//\1/
21642 /^X\/\(\/\/\)$/{
21643 s//\1/
21646 /^X\/\(\/\).*/{
21647 s//\1/
21650 s/.*/./; q'`
21652 # Avoid depending upon Character Ranges.
21653 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21654 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21655 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21656 as_cr_digits='0123456789'
21657 as_cr_alnum=$as_cr_Letters$as_cr_digits
21659 ECHO_C= ECHO_N= ECHO_T=
21660 case `echo -n x` in #(((((
21661 -n*)
21662 case `echo 'xy\c'` in
21663 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
21664 xy) ECHO_C='\c';;
21665 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
21666 ECHO_T=' ';;
21667 esac;;
21669 ECHO_N='-n';;
21670 esac
21672 rm -f conf$$ conf$$.exe conf$$.file
21673 if test -d conf$$.dir; then
21674 rm -f conf$$.dir/conf$$.file
21675 else
21676 rm -f conf$$.dir
21677 mkdir conf$$.dir 2>/dev/null
21679 if (echo >conf$$.file) 2>/dev/null; then
21680 if ln -s conf$$.file conf$$ 2>/dev/null; then
21681 as_ln_s='ln -s'
21682 # ... but there are two gotchas:
21683 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21684 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21685 # In both cases, we have to default to `cp -pR'.
21686 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
21687 as_ln_s='cp -pR'
21688 elif ln conf$$.file conf$$ 2>/dev/null; then
21689 as_ln_s=ln
21690 else
21691 as_ln_s='cp -pR'
21693 else
21694 as_ln_s='cp -pR'
21696 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
21697 rmdir conf$$.dir 2>/dev/null
21700 # as_fn_mkdir_p
21701 # -------------
21702 # Create "$as_dir" as a directory, including parents if necessary.
21703 as_fn_mkdir_p ()
21706 case $as_dir in #(
21707 -*) as_dir=./$as_dir;;
21708 esac
21709 test -d "$as_dir" || eval $as_mkdir_p || {
21710 as_dirs=
21711 while :; do
21712 case $as_dir in #(
21713 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
21714 *) as_qdir=$as_dir;;
21715 esac
21716 as_dirs="'$as_qdir' $as_dirs"
21717 as_dir=`$as_dirname -- "$as_dir" ||
21718 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21719 X"$as_dir" : 'X\(//\)[^/]' \| \
21720 X"$as_dir" : 'X\(//\)$' \| \
21721 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21722 $as_echo X"$as_dir" |
21723 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21724 s//\1/
21727 /^X\(\/\/\)[^/].*/{
21728 s//\1/
21731 /^X\(\/\/\)$/{
21732 s//\1/
21735 /^X\(\/\).*/{
21736 s//\1/
21739 s/.*/./; q'`
21740 test -d "$as_dir" && break
21741 done
21742 test -z "$as_dirs" || eval "mkdir $as_dirs"
21743 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
21746 } # as_fn_mkdir_p
21747 if mkdir -p . 2>/dev/null; then
21748 as_mkdir_p='mkdir -p "$as_dir"'
21749 else
21750 test -d ./-p && rmdir ./-p
21751 as_mkdir_p=false
21755 # as_fn_executable_p FILE
21756 # -----------------------
21757 # Test if FILE is an executable regular file.
21758 as_fn_executable_p ()
21760 test -f "$1" && test -x "$1"
21761 } # as_fn_executable_p
21762 as_test_x='test -x'
21763 as_executable_p=as_fn_executable_p
21765 # Sed expression to map a string onto a valid CPP name.
21766 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21768 # Sed expression to map a string onto a valid variable name.
21769 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21772 exec 6>&1
21773 ## ----------------------------------- ##
21774 ## Main body of $CONFIG_STATUS script. ##
21775 ## ----------------------------------- ##
21776 _ASEOF
21777 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
21779 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21780 # Save the log message, to keep $0 and so on meaningful, and to
21781 # report actual input values of CONFIG_FILES etc. instead of their
21782 # values after options handling.
21783 ac_log="
21784 This file was extended by Wine $as_me 5.1, which was
21785 generated by GNU Autoconf 2.69. Invocation command line was
21787 CONFIG_FILES = $CONFIG_FILES
21788 CONFIG_HEADERS = $CONFIG_HEADERS
21789 CONFIG_LINKS = $CONFIG_LINKS
21790 CONFIG_COMMANDS = $CONFIG_COMMANDS
21791 $ $0 $@
21793 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21796 _ACEOF
21798 case $ac_config_files in *"
21799 "*) set x $ac_config_files; shift; ac_config_files=$*;;
21800 esac
21802 case $ac_config_headers in *"
21803 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
21804 esac
21807 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21808 # Files that config.status was made for.
21809 config_files="$ac_config_files"
21810 config_headers="$ac_config_headers"
21811 config_links="$ac_config_links"
21812 config_commands="$ac_config_commands"
21814 _ACEOF
21816 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21817 ac_cs_usage="\
21818 \`$as_me' instantiates files and other configuration actions
21819 from templates according to the current configuration. Unless the files
21820 and actions are specified as TAGs, all are instantiated by default.
21822 Usage: $0 [OPTION]... [TAG]...
21824 -h, --help print this help, then exit
21825 -V, --version print version number and configuration settings, then exit
21826 --config print configuration, then exit
21827 -q, --quiet, --silent
21828 do not print progress messages
21829 -d, --debug don't remove temporary files
21830 --recheck update $as_me by reconfiguring in the same conditions
21831 --file=FILE[:TEMPLATE]
21832 instantiate the configuration file FILE
21833 --header=FILE[:TEMPLATE]
21834 instantiate the configuration header FILE
21836 Configuration files:
21837 $config_files
21839 Configuration headers:
21840 $config_headers
21842 Configuration links:
21843 $config_links
21845 Configuration commands:
21846 $config_commands
21848 Report bugs to <wine-devel@winehq.org>.
21849 Wine home page: <https://www.winehq.org>."
21851 _ACEOF
21852 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21853 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
21854 ac_cs_version="\\
21855 Wine config.status 5.1
21856 configured by $0, generated by GNU Autoconf 2.69,
21857 with options \\"\$ac_cs_config\\"
21859 Copyright (C) 2012 Free Software Foundation, Inc.
21860 This config.status script is free software; the Free Software Foundation
21861 gives unlimited permission to copy, distribute and modify it."
21863 ac_pwd='$ac_pwd'
21864 srcdir='$srcdir'
21865 test -n "\$AWK" || AWK=awk
21866 _ACEOF
21868 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21869 # The default lists apply if the user does not specify any file.
21870 ac_need_defaults=:
21871 while test $# != 0
21873 case $1 in
21874 --*=?*)
21875 ac_option=`expr "X$1" : 'X\([^=]*\)='`
21876 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
21877 ac_shift=:
21879 --*=)
21880 ac_option=`expr "X$1" : 'X\([^=]*\)='`
21881 ac_optarg=
21882 ac_shift=:
21885 ac_option=$1
21886 ac_optarg=$2
21887 ac_shift=shift
21889 esac
21891 case $ac_option in
21892 # Handling of the options.
21893 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
21894 ac_cs_recheck=: ;;
21895 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
21896 $as_echo "$ac_cs_version"; exit ;;
21897 --config | --confi | --conf | --con | --co | --c )
21898 $as_echo "$ac_cs_config"; exit ;;
21899 --debug | --debu | --deb | --de | --d | -d )
21900 debug=: ;;
21901 --file | --fil | --fi | --f )
21902 $ac_shift
21903 case $ac_optarg in
21904 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21905 '') as_fn_error $? "missing file argument" ;;
21906 esac
21907 as_fn_append CONFIG_FILES " '$ac_optarg'"
21908 ac_need_defaults=false;;
21909 --header | --heade | --head | --hea )
21910 $ac_shift
21911 case $ac_optarg in
21912 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21913 esac
21914 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
21915 ac_need_defaults=false;;
21916 --he | --h)
21917 # Conflict between --help and --header
21918 as_fn_error $? "ambiguous option: \`$1'
21919 Try \`$0 --help' for more information.";;
21920 --help | --hel | -h )
21921 $as_echo "$ac_cs_usage"; exit ;;
21922 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
21923 | -silent | --silent | --silen | --sile | --sil | --si | --s)
21924 ac_cs_silent=: ;;
21926 # This is an error.
21927 -*) as_fn_error $? "unrecognized option: \`$1'
21928 Try \`$0 --help' for more information." ;;
21930 *) as_fn_append ac_config_targets " $1"
21931 ac_need_defaults=false ;;
21933 esac
21934 shift
21935 done
21937 ac_configure_extra_args=
21939 if $ac_cs_silent; then
21940 exec 6>/dev/null
21941 ac_configure_extra_args="$ac_configure_extra_args --silent"
21944 _ACEOF
21945 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21946 if \$ac_cs_recheck; then
21947 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21948 shift
21949 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
21950 CONFIG_SHELL='$SHELL'
21951 export CONFIG_SHELL
21952 exec "\$@"
21955 _ACEOF
21956 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21957 exec 5>>config.log
21959 echo
21960 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21961 ## Running $as_me. ##
21962 _ASBOX
21963 $as_echo "$ac_log"
21964 } >&5
21966 _ACEOF
21967 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21969 # INIT-COMMANDS
21971 wine_fn_output_makedep ()
21973 as_dir=tools; as_fn_mkdir_p
21974 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
21976 wine_fn_output_makefile ()
21978 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
21979 `cat $wine_rules_file`
21980 _WINE_EOF
21981 as_fn_error $? "could not create Makefile" "$LINENO" 5
21984 _ACEOF
21986 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21988 # Handling of arguments.
21989 for ac_config_target in $ac_config_targets
21991 case $ac_config_target in
21992 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
21993 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
21994 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
21995 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
21996 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
21997 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
21998 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
22000 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
22001 esac
22002 done
22005 # If the user did not use the arguments to specify the items to instantiate,
22006 # then the envvar interface is used. Set only those that are not.
22007 # We use the long form for the default assignment because of an extremely
22008 # bizarre bug on SunOS 4.1.3.
22009 if $ac_need_defaults; then
22010 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
22011 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
22012 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
22013 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
22016 # Have a temporary directory for convenience. Make it in the build tree
22017 # simply because there is no reason against having it here, and in addition,
22018 # creating and moving files from /tmp can sometimes cause problems.
22019 # Hook for its removal unless debugging.
22020 # Note that there is a small window in which the directory will not be cleaned:
22021 # after its creation but before its name has been assigned to `$tmp'.
22022 $debug ||
22024 tmp= ac_tmp=
22025 trap 'exit_status=$?
22026 : "${ac_tmp:=$tmp}"
22027 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
22029 trap 'as_fn_exit 1' 1 2 13 15
22031 # Create a (secure) tmp directory for tmp files.
22034 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22035 test -d "$tmp"
22036 } ||
22038 tmp=./conf$$-$RANDOM
22039 (umask 077 && mkdir "$tmp")
22040 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
22041 ac_tmp=$tmp
22043 # Set up the scripts for CONFIG_FILES section.
22044 # No need to generate them if there are no CONFIG_FILES.
22045 # This happens for instance with `./config.status config.h'.
22046 if test -n "$CONFIG_FILES"; then
22049 ac_cr=`echo X | tr X '\015'`
22050 # On cygwin, bash can eat \r inside `` if the user requested igncr.
22051 # But we know of no other shell where ac_cr would be empty at this
22052 # point, so we can use a bashism as a fallback.
22053 if test "x$ac_cr" = x; then
22054 eval ac_cr=\$\'\\r\'
22056 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
22057 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
22058 ac_cs_awk_cr='\\r'
22059 else
22060 ac_cs_awk_cr=$ac_cr
22063 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
22064 _ACEOF
22068 echo "cat >conf$$subs.awk <<_ACEOF" &&
22069 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
22070 echo "_ACEOF"
22071 } >conf$$subs.sh ||
22072 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22073 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
22074 ac_delim='%!_!# '
22075 for ac_last_try in false false false false false :; do
22076 . ./conf$$subs.sh ||
22077 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22079 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
22080 if test $ac_delim_n = $ac_delim_num; then
22081 break
22082 elif $ac_last_try; then
22083 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22084 else
22085 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22087 done
22088 rm -f conf$$subs.sh
22090 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22091 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
22092 _ACEOF
22093 sed -n '
22095 s/^/S["/; s/!.*/"]=/
22098 s/^[^!]*!//
22099 :repl
22100 t repl
22101 s/'"$ac_delim"'$//
22102 t delim
22105 s/\(.\{148\}\)..*/\1/
22106 t more1
22107 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
22110 b repl
22111 :more1
22112 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22115 s/.\{148\}//
22116 t nl
22117 :delim
22119 s/\(.\{148\}\)..*/\1/
22120 t more2
22121 s/["\\]/\\&/g; s/^/"/; s/$/"/
22124 :more2
22125 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22128 s/.\{148\}//
22129 t delim
22130 ' <conf$$subs.awk | sed '
22131 /^[^""]/{
22133 s/\n//
22135 ' >>$CONFIG_STATUS || ac_write_fail=1
22136 rm -f conf$$subs.awk
22137 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22138 _ACAWK
22139 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
22140 for (key in S) S_is_set[key] = 1
22141 FS = "\a"
22145 line = $ 0
22146 nfields = split(line, field, "@")
22147 substed = 0
22148 len = length(field[1])
22149 for (i = 2; i < nfields; i++) {
22150 key = field[i]
22151 keylen = length(key)
22152 if (S_is_set[key]) {
22153 value = S[key]
22154 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
22155 len += length(value) + length(field[++i])
22156 substed = 1
22157 } else
22158 len += 1 + keylen
22161 print line
22164 _ACAWK
22165 _ACEOF
22166 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22167 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
22168 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
22169 else
22171 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
22172 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
22173 _ACEOF
22175 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
22176 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
22177 # trailing colons and then remove the whole line if VPATH becomes empty
22178 # (actually we leave an empty line to preserve line numbers).
22179 if test "x$srcdir" = x.; then
22180 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
22182 s///
22183 s/^/:/
22184 s/[ ]*$/:/
22185 s/:\$(srcdir):/:/g
22186 s/:\${srcdir}:/:/g
22187 s/:@srcdir@:/:/g
22188 s/^:*//
22189 s/:*$//
22191 s/\(=[ ]*\).*/\1/
22193 s/\n//
22194 s/^[^=]*=[ ]*$//
22198 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22199 fi # test -n "$CONFIG_FILES"
22201 # Set up the scripts for CONFIG_HEADERS section.
22202 # No need to generate them if there are no CONFIG_HEADERS.
22203 # This happens for instance with `./config.status Makefile'.
22204 if test -n "$CONFIG_HEADERS"; then
22205 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
22206 BEGIN {
22207 _ACEOF
22209 # Transform confdefs.h into an awk script `defines.awk', embedded as
22210 # here-document in config.status, that substitutes the proper values into
22211 # config.h.in to produce config.h.
22213 # Create a delimiter string that does not exist in confdefs.h, to ease
22214 # handling of long lines.
22215 ac_delim='%!_!# '
22216 for ac_last_try in false false :; do
22217 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
22218 if test -z "$ac_tt"; then
22219 break
22220 elif $ac_last_try; then
22221 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
22222 else
22223 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22225 done
22227 # For the awk script, D is an array of macro values keyed by name,
22228 # likewise P contains macro parameters if any. Preserve backslash
22229 # newline sequences.
22231 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22232 sed -n '
22233 s/.\{148\}/&'"$ac_delim"'/g
22234 t rset
22235 :rset
22236 s/^[ ]*#[ ]*define[ ][ ]*/ /
22237 t def
22239 :def
22240 s/\\$//
22241 t bsnl
22242 s/["\\]/\\&/g
22243 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22244 D["\1"]=" \3"/p
22245 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
22247 :bsnl
22248 s/["\\]/\\&/g
22249 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22250 D["\1"]=" \3\\\\\\n"\\/p
22251 t cont
22252 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
22253 t cont
22255 :cont
22257 s/.\{148\}/&'"$ac_delim"'/g
22258 t clear
22259 :clear
22260 s/\\$//
22261 t bsnlc
22262 s/["\\]/\\&/g; s/^/"/; s/$/"/p
22264 :bsnlc
22265 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
22266 b cont
22267 ' <confdefs.h | sed '
22268 s/'"$ac_delim"'/"\\\
22269 "/g' >>$CONFIG_STATUS || ac_write_fail=1
22271 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22272 for (key in D) D_is_set[key] = 1
22273 FS = "\a"
22275 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
22276 line = \$ 0
22277 split(line, arg, " ")
22278 if (arg[1] == "#") {
22279 defundef = arg[2]
22280 mac1 = arg[3]
22281 } else {
22282 defundef = substr(arg[1], 2)
22283 mac1 = arg[2]
22285 split(mac1, mac2, "(") #)
22286 macro = mac2[1]
22287 prefix = substr(line, 1, index(line, defundef) - 1)
22288 if (D_is_set[macro]) {
22289 # Preserve the white space surrounding the "#".
22290 print prefix "define", macro P[macro] D[macro]
22291 next
22292 } else {
22293 # Replace #undef with comments. This is necessary, for example,
22294 # in the case of _POSIX_SOURCE, which is predefined and required
22295 # on some systems where configure will not decide to define it.
22296 if (defundef == "undef") {
22297 print "/*", prefix defundef, macro, "*/"
22298 next
22302 { print }
22303 _ACAWK
22304 _ACEOF
22305 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22306 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
22307 fi # test -n "$CONFIG_HEADERS"
22310 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
22311 shift
22312 for ac_tag
22314 case $ac_tag in
22315 :[FHLC]) ac_mode=$ac_tag; continue;;
22316 esac
22317 case $ac_mode$ac_tag in
22318 :[FHL]*:*);;
22319 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
22320 :[FH]-) ac_tag=-:-;;
22321 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
22322 esac
22323 ac_save_IFS=$IFS
22324 IFS=:
22325 set x $ac_tag
22326 IFS=$ac_save_IFS
22327 shift
22328 ac_file=$1
22329 shift
22331 case $ac_mode in
22332 :L) ac_source=$1;;
22333 :[FH])
22334 ac_file_inputs=
22335 for ac_f
22337 case $ac_f in
22338 -) ac_f="$ac_tmp/stdin";;
22339 *) # Look for the file first in the build tree, then in the source tree
22340 # (if the path is not absolute). The absolute path cannot be DOS-style,
22341 # because $ac_f cannot contain `:'.
22342 test -f "$ac_f" ||
22343 case $ac_f in
22344 [\\/$]*) false;;
22345 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
22346 esac ||
22347 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
22348 esac
22349 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
22350 as_fn_append ac_file_inputs " '$ac_f'"
22351 done
22353 # Let's still pretend it is `configure' which instantiates (i.e., don't
22354 # use $as_me), people would be surprised to read:
22355 # /* config.h. Generated by config.status. */
22356 configure_input='Generated from '`
22357 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
22358 `' by configure.'
22359 if test x"$ac_file" != x-; then
22360 configure_input="$ac_file. $configure_input"
22361 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
22362 $as_echo "$as_me: creating $ac_file" >&6;}
22364 # Neutralize special characters interpreted by sed in replacement strings.
22365 case $configure_input in #(
22366 *\&* | *\|* | *\\* )
22367 ac_sed_conf_input=`$as_echo "$configure_input" |
22368 sed 's/[\\\\&|]/\\\\&/g'`;; #(
22369 *) ac_sed_conf_input=$configure_input;;
22370 esac
22372 case $ac_tag in
22373 *:-:* | *:-) cat >"$ac_tmp/stdin" \
22374 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
22375 esac
22377 esac
22379 ac_dir=`$as_dirname -- "$ac_file" ||
22380 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22381 X"$ac_file" : 'X\(//\)[^/]' \| \
22382 X"$ac_file" : 'X\(//\)$' \| \
22383 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22384 $as_echo X"$ac_file" |
22385 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22386 s//\1/
22389 /^X\(\/\/\)[^/].*/{
22390 s//\1/
22393 /^X\(\/\/\)$/{
22394 s//\1/
22397 /^X\(\/\).*/{
22398 s//\1/
22401 s/.*/./; q'`
22402 as_dir="$ac_dir"; as_fn_mkdir_p
22403 ac_builddir=.
22405 case "$ac_dir" in
22406 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22408 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
22409 # A ".." for each directory in $ac_dir_suffix.
22410 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
22411 case $ac_top_builddir_sub in
22412 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22413 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22414 esac ;;
22415 esac
22416 ac_abs_top_builddir=$ac_pwd
22417 ac_abs_builddir=$ac_pwd$ac_dir_suffix
22418 # for backward compatibility:
22419 ac_top_builddir=$ac_top_build_prefix
22421 case $srcdir in
22422 .) # We are building in place.
22423 ac_srcdir=.
22424 ac_top_srcdir=$ac_top_builddir_sub
22425 ac_abs_top_srcdir=$ac_pwd ;;
22426 [\\/]* | ?:[\\/]* ) # Absolute name.
22427 ac_srcdir=$srcdir$ac_dir_suffix;
22428 ac_top_srcdir=$srcdir
22429 ac_abs_top_srcdir=$srcdir ;;
22430 *) # Relative name.
22431 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22432 ac_top_srcdir=$ac_top_build_prefix$srcdir
22433 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22434 esac
22435 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22438 case $ac_mode in
22441 # CONFIG_FILE
22444 _ACEOF
22446 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22447 # If the template does not know about datarootdir, expand it.
22448 # FIXME: This hack should be removed a few years after 2.60.
22449 ac_datarootdir_hack=; ac_datarootdir_seen=
22450 ac_sed_dataroot='
22451 /datarootdir/ {
22455 /@datadir@/p
22456 /@docdir@/p
22457 /@infodir@/p
22458 /@localedir@/p
22459 /@mandir@/p'
22460 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
22461 *datarootdir*) ac_datarootdir_seen=yes;;
22462 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22463 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22464 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22465 _ACEOF
22466 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22467 ac_datarootdir_hack='
22468 s&@datadir@&$datadir&g
22469 s&@docdir@&$docdir&g
22470 s&@infodir@&$infodir&g
22471 s&@localedir@&$localedir&g
22472 s&@mandir@&$mandir&g
22473 s&\\\${datarootdir}&$datarootdir&g' ;;
22474 esac
22475 _ACEOF
22477 # Neutralize VPATH when `$srcdir' = `.'.
22478 # Shell code in configure.ac might set extrasub.
22479 # FIXME: do we really want to maintain this feature?
22480 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22481 ac_sed_extra="$ac_vpsub
22482 $extrasub
22483 _ACEOF
22484 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22486 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22487 s|@configure_input@|$ac_sed_conf_input|;t t
22488 s&@top_builddir@&$ac_top_builddir_sub&;t t
22489 s&@top_build_prefix@&$ac_top_build_prefix&;t t
22490 s&@srcdir@&$ac_srcdir&;t t
22491 s&@abs_srcdir@&$ac_abs_srcdir&;t t
22492 s&@top_srcdir@&$ac_top_srcdir&;t t
22493 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
22494 s&@builddir@&$ac_builddir&;t t
22495 s&@abs_builddir@&$ac_abs_builddir&;t t
22496 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
22497 $ac_datarootdir_hack
22499 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
22500 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22502 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22503 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
22504 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
22505 "$ac_tmp/out"`; test -z "$ac_out"; } &&
22506 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22507 which seems to be undefined. Please make sure it is defined" >&5
22508 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22509 which seems to be undefined. Please make sure it is defined" >&2;}
22511 rm -f "$ac_tmp/stdin"
22512 case $ac_file in
22513 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
22514 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
22515 esac \
22516 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22520 # CONFIG_HEADER
22522 if test x"$ac_file" != x-; then
22524 $as_echo "/* $configure_input */" \
22525 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
22526 } >"$ac_tmp/config.h" \
22527 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22528 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
22529 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
22530 $as_echo "$as_me: $ac_file is unchanged" >&6;}
22531 else
22532 rm -f "$ac_file"
22533 mv "$ac_tmp/config.h" "$ac_file" \
22534 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22536 else
22537 $as_echo "/* $configure_input */" \
22538 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
22539 || as_fn_error $? "could not create -" "$LINENO" 5
22544 # CONFIG_LINK
22547 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
22549 else
22550 # Prefer the file from the source tree if names are identical.
22551 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
22552 ac_source=$srcdir/$ac_source
22555 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
22556 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
22558 if test ! -r "$ac_source"; then
22559 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
22561 rm -f "$ac_file"
22563 # Try a relative symlink, then a hard link, then a copy.
22564 case $ac_source in
22565 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
22566 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
22567 esac
22568 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
22569 ln "$ac_source" "$ac_file" 2>/dev/null ||
22570 cp -p "$ac_source" "$ac_file" ||
22571 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
22574 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
22575 $as_echo "$as_me: executing $ac_file commands" >&6;}
22577 esac
22580 case $ac_file$ac_mode in
22581 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
22582 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
22583 "Makefile":C) wine_fn_output_makefile Makefile ;;
22585 esac
22586 done # for ac_tag
22589 as_fn_exit 0
22590 _ACEOF
22591 ac_clean_files=$ac_clean_files_save
22593 test $ac_write_fail = 0 ||
22594 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
22597 # configure is writing to config.log, and then calls config.status.
22598 # config.status does its own redirection, appending to config.log.
22599 # Unfortunately, on DOS this fails, as config.log is still kept open
22600 # by configure, so config.status won't be able to write to it; its
22601 # output is simply discarded. So we exec the FD to /dev/null,
22602 # effectively closing config.log, so it can be properly (re)opened and
22603 # appended to by config.status. When coming back to configure, we
22604 # need to make the FD available again.
22605 if test "$no_create" != yes; then
22606 ac_cs_success=:
22607 ac_config_status_args=
22608 test "$silent" = yes &&
22609 ac_config_status_args="$ac_config_status_args --quiet"
22610 exec 5>/dev/null
22611 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22612 exec 5>>config.log
22613 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22614 # would make configure fail if this is the last instruction.
22615 $ac_cs_success || as_fn_exit 1
22617 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
22618 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22619 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
22623 if test "$no_create" = "yes"
22624 then
22625 exit 0
22628 ac_save_IFS="$IFS"
22629 if test "x$wine_notices" != x; then
22630 echo >&6
22631 IFS="|"
22632 for msg in $wine_notices; do
22633 IFS="$ac_save_IFS"
22634 if ${msg:+false} :; then :
22636 else
22637 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
22638 $as_echo "$as_me: $msg" >&6;}
22640 done
22642 IFS="|"
22643 for msg in $wine_warnings; do
22644 IFS="$ac_save_IFS"
22645 if ${msg:+false} :; then :
22647 else
22648 echo >&2
22649 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
22650 $as_echo "$as_me: WARNING: $msg" >&2;}
22652 done
22653 IFS="$ac_save_IFS"
22655 $as_echo "
22656 $as_me: Finished. Do '${ac_make}' to compile Wine.
22657 " >&6