comctl32/combo: Simplify rectangles sizing helper.
[wine.git] / configure
blobdc2382690085a27c36f064a660572ac98fbe1bd3
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 4.20.
5 # Report bugs to <wine-devel@winehq.org>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 emulate sh
21 NULLCMD=:
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
25 setopt NO_GLOB_SUBST
26 else
27 case `(set -o) 2>/dev/null` in #(
28 *posix*) :
29 set -o posix ;; #(
30 *) :
32 esac
36 as_nl='
38 export as_nl
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47 as_echo='print -r --'
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo='printf %s\n'
51 as_echo_n='printf %s'
52 else
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
56 else
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58 as_echo_n_body='eval
59 arg=$1;
60 case $arg in #(
61 *"$as_nl"*)
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64 esac;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
67 export as_echo_n_body
68 as_echo_n='sh -c $as_echo_n_body as_echo'
70 export as_echo_body
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76 PATH_SEPARATOR=:
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79 PATH_SEPARATOR=';'
84 # IFS
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
89 IFS=" "" $as_nl"
91 # Find who we are. Look in the path if we contain no directory separator.
92 as_myself=
93 case $0 in #((
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 for as_dir in $PATH
98 IFS=$as_save_IFS
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101 done
102 IFS=$as_save_IFS
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109 as_myself=$0
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123 done
124 PS1='$ '
125 PS2='> '
126 PS4='+ '
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
134 # CDPATH.
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140 _as_can_reexec=no; export _as_can_reexec;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
145 BASH_ENV=/dev/null
146 ENV=/dev/null
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148 case $- in # ((((
149 *v*x* | *x*v* ) as_opts=-vx ;;
150 *v* ) as_opts=-v ;;
151 *x* ) as_opts=-x ;;
152 * ) as_opts= ;;
153 esac
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 as_fn_exit 255
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 emulate sh
165 NULLCMD=:
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 setopt NO_GLOB_SUBST
170 else
171 case \`(set -o) 2>/dev/null\` in #(
172 *posix*) :
173 set -o posix ;; #(
174 *) :
176 esac
179 as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
185 exitcode=0
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
192 else
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
196 test -x / || exit 1"
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1"
202 if (eval "$as_required") 2>/dev/null; then :
203 as_have_required=yes
204 else
205 as_have_required=no
207 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
209 else
210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
211 as_found=false
212 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
214 IFS=$as_save_IFS
215 test -z "$as_dir" && as_dir=.
216 as_found=:
217 case $as_dir in #(
219 for as_base in sh bash ksh sh5; do
220 # Try only shells that exist, to save several forks.
221 as_shell=$as_dir/$as_base
222 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
223 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
224 CONFIG_SHELL=$as_shell as_have_required=yes
225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
226 break 2
229 done;;
230 esac
231 as_found=false
232 done
233 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
234 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
235 CONFIG_SHELL=$SHELL as_have_required=yes
236 fi; }
237 IFS=$as_save_IFS
240 if test "x$CONFIG_SHELL" != x; then :
241 export CONFIG_SHELL
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
246 BASH_ENV=/dev/null
247 ENV=/dev/null
248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
249 case $- in # ((((
250 *v*x* | *x*v* ) as_opts=-vx ;;
251 *v* ) as_opts=-v ;;
252 *x* ) as_opts=-x ;;
253 * ) as_opts= ;;
254 esac
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
259 exit 255
262 if test x$as_have_required = xno; then :
263 $as_echo "$0: This script requires a shell more modern than all"
264 $as_echo "$0: the shells that I found on your system."
265 if test x${ZSH_VERSION+set} = xset ; then
266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
268 else
269 $as_echo "$0: Please tell bug-autoconf@gnu.org and
270 $0: wine-devel@winehq.org about your system, including any
271 $0: error possibly output before this message. Then install
272 $0: a modern shell, or manually run the script under such a
273 $0: shell if you do have one."
275 exit 1
279 SHELL=${CONFIG_SHELL-/bin/sh}
280 export SHELL
281 # Unset more variables known to interfere with behavior of common tools.
282 CLICOLOR_FORCE= GREP_OPTIONS=
283 unset CLICOLOR_FORCE GREP_OPTIONS
285 ## --------------------- ##
286 ## M4sh Shell Functions. ##
287 ## --------------------- ##
288 # as_fn_unset VAR
289 # ---------------
290 # Portably unset VAR.
291 as_fn_unset ()
293 { eval $1=; unset $1;}
295 as_unset=as_fn_unset
297 # as_fn_set_status STATUS
298 # -----------------------
299 # Set $? to STATUS, without forking.
300 as_fn_set_status ()
302 return $1
303 } # as_fn_set_status
305 # as_fn_exit STATUS
306 # -----------------
307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
308 as_fn_exit ()
310 set +e
311 as_fn_set_status $1
312 exit $1
313 } # as_fn_exit
315 # as_fn_mkdir_p
316 # -------------
317 # Create "$as_dir" as a directory, including parents if necessary.
318 as_fn_mkdir_p ()
321 case $as_dir in #(
322 -*) as_dir=./$as_dir;;
323 esac
324 test -d "$as_dir" || eval $as_mkdir_p || {
325 as_dirs=
326 while :; do
327 case $as_dir in #(
328 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
329 *) as_qdir=$as_dir;;
330 esac
331 as_dirs="'$as_qdir' $as_dirs"
332 as_dir=`$as_dirname -- "$as_dir" ||
333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334 X"$as_dir" : 'X\(//\)[^/]' \| \
335 X"$as_dir" : 'X\(//\)$' \| \
336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337 $as_echo X"$as_dir" |
338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
339 s//\1/
342 /^X\(\/\/\)[^/].*/{
343 s//\1/
346 /^X\(\/\/\)$/{
347 s//\1/
350 /^X\(\/\).*/{
351 s//\1/
354 s/.*/./; q'`
355 test -d "$as_dir" && break
356 done
357 test -z "$as_dirs" || eval "mkdir $as_dirs"
358 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
361 } # as_fn_mkdir_p
363 # as_fn_executable_p FILE
364 # -----------------------
365 # Test if FILE is an executable regular file.
366 as_fn_executable_p ()
368 test -f "$1" && test -x "$1"
369 } # as_fn_executable_p
370 # as_fn_append VAR VALUE
371 # ----------------------
372 # Append the text in VALUE to the end of the definition contained in VAR. Take
373 # advantage of any shell optimizations that allow amortized linear growth over
374 # repeated appends, instead of the typical quadratic growth present in naive
375 # implementations.
376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
377 eval 'as_fn_append ()
379 eval $1+=\$2
381 else
382 as_fn_append ()
384 eval $1=\$$1\$2
386 fi # as_fn_append
388 # as_fn_arith ARG...
389 # ------------------
390 # Perform arithmetic evaluation on the ARGs, and store the result in the
391 # global $as_val. Take advantage of shells that can avoid forks. The arguments
392 # must be portable across $(()) and expr.
393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
394 eval 'as_fn_arith ()
396 as_val=$(( $* ))
398 else
399 as_fn_arith ()
401 as_val=`expr "$@" || test $? -eq 1`
403 fi # as_fn_arith
406 # as_fn_error STATUS ERROR [LINENO LOG_FD]
407 # ----------------------------------------
408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410 # script with STATUS, using 1 if that was 0.
411 as_fn_error ()
413 as_status=$1; test $as_status -eq 0 && as_status=1
414 if test "$4"; then
415 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
418 $as_echo "$as_me: error: $2" >&2
419 as_fn_exit $as_status
420 } # as_fn_error
422 if expr a : '\(a\)' >/dev/null 2>&1 &&
423 test "X`expr 00001 : '.*\(...\)'`" = X001; then
424 as_expr=expr
425 else
426 as_expr=false
429 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
430 as_basename=basename
431 else
432 as_basename=false
435 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
436 as_dirname=dirname
437 else
438 as_dirname=false
441 as_me=`$as_basename -- "$0" ||
442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443 X"$0" : 'X\(//\)$' \| \
444 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
445 $as_echo X/"$0" |
446 sed '/^.*\/\([^/][^/]*\)\/*$/{
447 s//\1/
450 /^X\/\(\/\/\)$/{
451 s//\1/
454 /^X\/\(\/\).*/{
455 s//\1/
458 s/.*/./; q'`
460 # Avoid depending upon Character Ranges.
461 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
462 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
464 as_cr_digits='0123456789'
465 as_cr_alnum=$as_cr_Letters$as_cr_digits
468 as_lineno_1=$LINENO as_lineno_1a=$LINENO
469 as_lineno_2=$LINENO as_lineno_2a=$LINENO
470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
473 sed -n '
475 /[$]LINENO/=
476 ' <$as_myself |
477 sed '
478 s/[$]LINENO.*/&-/
479 t lineno
481 :lineno
483 :loop
484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
485 t loop
486 s/-\n.*//
487 ' >$as_me.lineno &&
488 chmod +x "$as_me.lineno" ||
489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492 # already done that, so ensure we don't try to do so again and fall
493 # in an infinite loop. This has already happened in practice.
494 _as_can_reexec=no; export _as_can_reexec
495 # Don't try to exec as it changes $[0], causing all sort of problems
496 # (the dirname of $[0] is not the place where we might find the
497 # original and so on. Autoconf is especially sensitive to this).
498 . "./$as_me.lineno"
499 # Exit status is that of the last command.
500 exit
503 ECHO_C= ECHO_N= ECHO_T=
504 case `echo -n x` in #(((((
505 -n*)
506 case `echo 'xy\c'` in
507 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
508 xy) ECHO_C='\c';;
509 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
510 ECHO_T=' ';;
511 esac;;
513 ECHO_N='-n';;
514 esac
516 rm -f conf$$ conf$$.exe conf$$.file
517 if test -d conf$$.dir; then
518 rm -f conf$$.dir/conf$$.file
519 else
520 rm -f conf$$.dir
521 mkdir conf$$.dir 2>/dev/null
523 if (echo >conf$$.file) 2>/dev/null; then
524 if ln -s conf$$.file conf$$ 2>/dev/null; then
525 as_ln_s='ln -s'
526 # ... but there are two gotchas:
527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529 # In both cases, we have to default to `cp -pR'.
530 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
531 as_ln_s='cp -pR'
532 elif ln conf$$.file conf$$ 2>/dev/null; then
533 as_ln_s=ln
534 else
535 as_ln_s='cp -pR'
537 else
538 as_ln_s='cp -pR'
540 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
541 rmdir conf$$.dir 2>/dev/null
543 if mkdir -p . 2>/dev/null; then
544 as_mkdir_p='mkdir -p "$as_dir"'
545 else
546 test -d ./-p && rmdir ./-p
547 as_mkdir_p=false
550 as_test_x='test -x'
551 as_executable_p=as_fn_executable_p
553 # Sed expression to map a string onto a valid CPP name.
554 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
556 # Sed expression to map a string onto a valid variable name.
557 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
560 test -n "$DJDIR" || exec 7<&0 </dev/null
561 exec 6>&1
563 # Name of the host.
564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565 # so uname gets run too.
566 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
569 # Initializations.
571 ac_default_prefix=/usr/local
572 ac_clean_files=
573 ac_config_libobj_dir=.
574 LIBOBJS=
575 cross_compiling=no
576 subdirs=
577 MFLAGS=
578 MAKEFLAGS=
580 # Identity of this package.
581 PACKAGE_NAME='Wine'
582 PACKAGE_TARNAME='wine'
583 PACKAGE_VERSION='4.20'
584 PACKAGE_STRING='Wine 4.20'
585 PACKAGE_BUGREPORT='wine-devel@winehq.org'
586 PACKAGE_URL='https://www.winehq.org'
588 ac_unique_file="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default="\
591 #include <stdio.h>
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
594 #endif
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
597 #endif
598 #ifdef STDC_HEADERS
599 # include <stdlib.h>
600 # include <stddef.h>
601 #else
602 # ifdef HAVE_STDLIB_H
603 # include <stdlib.h>
604 # endif
605 #endif
606 #ifdef HAVE_STRING_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
608 # include <memory.h>
609 # endif
610 # include <string.h>
611 #endif
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
614 #endif
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
617 #endif
618 #ifdef HAVE_STDINT_H
619 # include <stdint.h>
620 #endif
621 #ifdef HAVE_UNISTD_H
622 # include <unistd.h>
623 #endif"
625 ac_subst_vars='LTLIBOBJS
626 LIBOBJS
627 ALL_VARS_RULES
628 LDAP_LIBS
629 LDAP_CFLAGS
630 RT_LIBS
631 POLL_LIBS
632 DL_LIBS
633 TOOLSEXT
634 MSVCRTFLAGS
635 EXCESS_PRECISION_CFLAGS
636 EXTRACFLAGS
637 VKD3D_LIBS
638 VKD3D_CFLAGS
639 NETAPI_LIBS
640 NETAPI_CFLAGS
641 PROCSTAT_LIBS
642 KSTAT_LIBS
643 MPG123_LIBS
644 MPG123_CFLAGS
645 TIFF_LIBS
646 TIFF_CFLAGS
647 PNG_LIBS
648 PNG_CFLAGS
649 JPEG_LIBS
650 JPEG_CFLAGS
651 GSSAPI_LIBS
652 GSSAPI_CFLAGS
653 KRB5_LIBS
654 KRB5_CFLAGS
655 FONTCONFIG_LIBS
656 FONTCONFIG_CFLAGS
657 CUPS_LIBS
658 CUPS_CFLAGS
659 CAPI20_LIBS
660 CAPI20_CFLAGS
661 FAUDIO_LIBS
662 FAUDIO_CFLAGS
663 SDL2_LIBS
664 SDL2_CFLAGS
665 UNWIND_LIBS
666 UNWIND_CFLAGS
667 UDEV_LIBS
668 UDEV_CFLAGS
669 OSS4_LIBS
670 OSS4_CFLAGS
671 ALSA_LIBS
672 GSTREAMER_LIBS
673 GSTREAMER_CFLAGS
674 PULSE_LIBS
675 PULSE_CFLAGS
676 GETTEXTPO_LIBS
677 Z_LIBS
678 Z_CFLAGS
679 FREETYPE_LIBS
680 FREETYPE_CFLAGS
681 LCMS2_LIBS
682 LCMS2_CFLAGS
683 RESOLV_LIBS
684 GPHOTO2_PORT_LIBS
685 GPHOTO2_PORT_CFLAGS
686 GPHOTO2_LIBS
687 GPHOTO2_CFLAGS
688 SANE_LIBS
689 SANE_CFLAGS
690 GNUTLS_LIBS
691 GNUTLS_CFLAGS
692 HAL_LIBS
693 HAL_CFLAGS
694 DBUS_LIBS
695 DBUS_CFLAGS
696 INOTIFY_LIBS
697 INOTIFY_CFLAGS
698 XSLT_LIBS
699 XSLT_CFLAGS
700 XML2_LIBS
701 XML2_CFLAGS
702 PCAP_LIBS
703 X_EXTRA_LIBS
704 X_LIBS
705 X_PRE_LIBS
706 X_CFLAGS
707 XMKMF
708 PTHREAD_LIBS
709 DELAYLOADFLAG
710 EXTRACROSSCFLAGS
711 CROSSCFLAGS
712 CROSSCC
713 CROSSTARGET
714 LIBWINE_DEPENDS
715 PRELINK
716 WINELOADER_DEPENDS
717 LIBWINE_LDFLAGS
718 LIBWINE_SHAREDLIB
719 METAL_LIBS
720 CARBON_LIBS
721 QUICKTIME_LIBS
722 OPENCL_LIBS
723 OPENAL_LIBS
724 COREAUDIO_LIBS
725 SECURITY_LIBS
726 DISKARBITRATION_LIBS
727 SYSTEMCONFIGURATION_LIBS
728 APPKIT_LIBS
729 CORESERVICES_LIBS
730 APPLICATIONSERVICES_LIBS
731 FORCEFEEDBACK_LIBS
732 IOKIT_LIBS
733 COREFOUNDATION_LIBS
734 OBJCPP
735 ac_ct_OBJC
736 OBJCFLAGS
737 OBJC
738 DLLTOOL
739 WINELOADER_PROGRAMS
740 CONFIGURE_TARGETS
741 DISABLED_SUBDIRS
742 SUBDIRS
743 READELF
744 OTOOL
746 WINEPRELOADER_LDFLAGS
747 WINELOADER_LDFLAGS
748 TOP_INSTALL_DEV
749 TOP_INSTALL_LIB
750 LDEXECFLAGS
751 LDDLLFLAGS
752 LDRPATH_LOCAL
753 LDRPATH_INSTALL
754 DLLFLAGS
756 OPENGL_LIBS
757 I386_LIBS
758 ICOTOOL
759 CONVERT
760 RSVG
761 FONTFORGE
762 PKG_CONFIG
763 MSGFMT
764 LDCONFIG
765 EGREP
766 GREP
767 LN_S
768 RANLIB
769 STRIP
770 ac_ct_AR
772 BISON
773 FLEX
774 TOOLSDIR
775 TARGETFLAGS
777 CPPBIN
778 ac_ct_CXX
779 CXXFLAGS
781 OBJEXT
782 EXEEXT
783 ac_ct_CC
784 CPPFLAGS
785 LDFLAGS
786 CFLAGS
788 SET_MAKE
789 host_os
790 host_vendor
791 host_cpu
792 host
793 build_os
794 build_vendor
795 build_cpu
796 build
797 target_alias
798 host_alias
799 build_alias
800 LIBS
801 ECHO_T
802 ECHO_N
803 ECHO_C
804 DEFS
805 mandir
806 localedir
807 libdir
808 psdir
809 pdfdir
810 dvidir
811 htmldir
812 infodir
813 docdir
814 oldincludedir
815 includedir
816 runstatedir
817 localstatedir
818 sharedstatedir
819 sysconfdir
820 datadir
821 datarootdir
822 libexecdir
823 sbindir
824 bindir
825 program_transform_name
826 prefix
827 exec_prefix
828 PACKAGE_URL
829 PACKAGE_BUGREPORT
830 PACKAGE_STRING
831 PACKAGE_VERSION
832 PACKAGE_TARNAME
833 PACKAGE_NAME
834 PATH_SEPARATOR
835 SHELL'
836 ac_subst_files=''
837 ac_user_opts='
838 enable_option_checking
839 enable_win16
840 enable_win64
841 enable_tests
842 enable_maintainer_mode
843 with_alsa
844 with_capi
845 with_cms
846 with_coreaudio
847 with_cups
848 with_curses
849 with_dbus
850 with_faudio
851 with_float_abi
852 with_fontconfig
853 with_freetype
854 with_gettext
855 with_gettextpo
856 with_gphoto
857 with_glu
858 with_gnutls
859 with_gsm
860 with_gssapi
861 with_gstreamer
862 with_hal
863 with_inotify
864 with_jpeg
865 with_krb5
866 with_ldap
867 with_mingw
868 with_mpg123
869 with_netapi
870 with_openal
871 with_opencl
872 with_opengl
873 with_osmesa
874 with_oss
875 with_pcap
876 with_png
877 with_pthread
878 with_pulse
879 with_sane
880 with_sdl
881 with_tiff
882 with_udev
883 with_unwind
884 with_v4l2
885 with_vkd3d
886 with_vulkan
887 with_xcomposite
888 with_xcursor
889 with_xfixes
890 with_xinerama
891 with_xinput
892 with_xinput2
893 with_xml
894 with_xrandr
895 with_xrender
896 with_xshape
897 with_xshm
898 with_xslt
899 with_xxf86vm
900 with_zlib
901 with_wine_tools
902 with_wine64
903 enable_largefile
904 with_x
905 enable_acledit
906 enable_aclui
907 enable_activeds
908 enable_actxprxy
909 enable_adsiid
910 enable_adsldp
911 enable_adsldpc
912 enable_advapi32
913 enable_advpack
914 enable_amsi
915 enable_amstream
916 enable_api_ms_win_appmodel_identity_l1_1_0
917 enable_api_ms_win_appmodel_runtime_l1_1_1
918 enable_api_ms_win_appmodel_runtime_l1_1_2
919 enable_api_ms_win_core_apiquery_l1_1_0
920 enable_api_ms_win_core_appcompat_l1_1_1
921 enable_api_ms_win_core_appinit_l1_1_0
922 enable_api_ms_win_core_atoms_l1_1_0
923 enable_api_ms_win_core_bem_l1_1_0
924 enable_api_ms_win_core_com_l1_1_0
925 enable_api_ms_win_core_com_l1_1_1
926 enable_api_ms_win_core_com_private_l1_1_0
927 enable_api_ms_win_core_comm_l1_1_0
928 enable_api_ms_win_core_console_l1_1_0
929 enable_api_ms_win_core_console_l2_1_0
930 enable_api_ms_win_core_crt_l1_1_0
931 enable_api_ms_win_core_crt_l2_1_0
932 enable_api_ms_win_core_datetime_l1_1_0
933 enable_api_ms_win_core_datetime_l1_1_1
934 enable_api_ms_win_core_debug_l1_1_0
935 enable_api_ms_win_core_debug_l1_1_1
936 enable_api_ms_win_core_delayload_l1_1_0
937 enable_api_ms_win_core_delayload_l1_1_1
938 enable_api_ms_win_core_errorhandling_l1_1_0
939 enable_api_ms_win_core_errorhandling_l1_1_1
940 enable_api_ms_win_core_errorhandling_l1_1_2
941 enable_api_ms_win_core_errorhandling_l1_1_3
942 enable_api_ms_win_core_fibers_l1_1_0
943 enable_api_ms_win_core_fibers_l1_1_1
944 enable_api_ms_win_core_file_l1_1_0
945 enable_api_ms_win_core_file_l1_2_0
946 enable_api_ms_win_core_file_l1_2_1
947 enable_api_ms_win_core_file_l1_2_2
948 enable_api_ms_win_core_file_l2_1_0
949 enable_api_ms_win_core_file_l2_1_1
950 enable_api_ms_win_core_file_l2_1_2
951 enable_api_ms_win_core_handle_l1_1_0
952 enable_api_ms_win_core_heap_l1_1_0
953 enable_api_ms_win_core_heap_l1_2_0
954 enable_api_ms_win_core_heap_l2_1_0
955 enable_api_ms_win_core_heap_obsolete_l1_1_0
956 enable_api_ms_win_core_interlocked_l1_1_0
957 enable_api_ms_win_core_interlocked_l1_2_0
958 enable_api_ms_win_core_io_l1_1_0
959 enable_api_ms_win_core_io_l1_1_1
960 enable_api_ms_win_core_job_l1_1_0
961 enable_api_ms_win_core_job_l2_1_0
962 enable_api_ms_win_core_kernel32_legacy_l1_1_0
963 enable_api_ms_win_core_kernel32_legacy_l1_1_1
964 enable_api_ms_win_core_kernel32_private_l1_1_1
965 enable_api_ms_win_core_largeinteger_l1_1_0
966 enable_api_ms_win_core_libraryloader_l1_1_0
967 enable_api_ms_win_core_libraryloader_l1_1_1
968 enable_api_ms_win_core_libraryloader_l1_2_0
969 enable_api_ms_win_core_libraryloader_l1_2_1
970 enable_api_ms_win_core_libraryloader_l1_2_2
971 enable_api_ms_win_core_localization_l1_1_0
972 enable_api_ms_win_core_localization_l1_2_0
973 enable_api_ms_win_core_localization_l1_2_1
974 enable_api_ms_win_core_localization_l2_1_0
975 enable_api_ms_win_core_localization_obsolete_l1_1_0
976 enable_api_ms_win_core_localization_obsolete_l1_2_0
977 enable_api_ms_win_core_localization_obsolete_l1_3_0
978 enable_api_ms_win_core_localization_private_l1_1_0
979 enable_api_ms_win_core_localregistry_l1_1_0
980 enable_api_ms_win_core_memory_l1_1_0
981 enable_api_ms_win_core_memory_l1_1_1
982 enable_api_ms_win_core_memory_l1_1_2
983 enable_api_ms_win_core_misc_l1_1_0
984 enable_api_ms_win_core_namedpipe_l1_1_0
985 enable_api_ms_win_core_namedpipe_l1_2_0
986 enable_api_ms_win_core_namespace_l1_1_0
987 enable_api_ms_win_core_normalization_l1_1_0
988 enable_api_ms_win_core_path_l1_1_0
989 enable_api_ms_win_core_privateprofile_l1_1_1
990 enable_api_ms_win_core_processenvironment_l1_1_0
991 enable_api_ms_win_core_processenvironment_l1_2_0
992 enable_api_ms_win_core_processthreads_l1_1_0
993 enable_api_ms_win_core_processthreads_l1_1_1
994 enable_api_ms_win_core_processthreads_l1_1_2
995 enable_api_ms_win_core_processthreads_l1_1_3
996 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
997 enable_api_ms_win_core_profile_l1_1_0
998 enable_api_ms_win_core_psapi_ansi_l1_1_0
999 enable_api_ms_win_core_psapi_l1_1_0
1000 enable_api_ms_win_core_psapi_obsolete_l1_1_0
1001 enable_api_ms_win_core_quirks_l1_1_0
1002 enable_api_ms_win_core_realtime_l1_1_0
1003 enable_api_ms_win_core_registry_l1_1_0
1004 enable_api_ms_win_core_registry_l2_1_0
1005 enable_api_ms_win_core_registryuserspecific_l1_1_0
1006 enable_api_ms_win_core_rtlsupport_l1_1_0
1007 enable_api_ms_win_core_rtlsupport_l1_2_0
1008 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
1009 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
1010 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
1011 enable_api_ms_win_core_shutdown_l1_1_0
1012 enable_api_ms_win_core_sidebyside_l1_1_0
1013 enable_api_ms_win_core_string_l1_1_0
1014 enable_api_ms_win_core_string_l2_1_0
1015 enable_api_ms_win_core_string_obsolete_l1_1_0
1016 enable_api_ms_win_core_stringansi_l1_1_0
1017 enable_api_ms_win_core_stringloader_l1_1_1
1018 enable_api_ms_win_core_synch_ansi_l1_1_0
1019 enable_api_ms_win_core_synch_l1_1_0
1020 enable_api_ms_win_core_synch_l1_2_0
1021 enable_api_ms_win_core_synch_l1_2_1
1022 enable_api_ms_win_core_sysinfo_l1_1_0
1023 enable_api_ms_win_core_sysinfo_l1_2_0
1024 enable_api_ms_win_core_sysinfo_l1_2_1
1025 enable_api_ms_win_core_threadpool_l1_1_0
1026 enable_api_ms_win_core_threadpool_l1_2_0
1027 enable_api_ms_win_core_threadpool_legacy_l1_1_0
1028 enable_api_ms_win_core_threadpool_private_l1_1_0
1029 enable_api_ms_win_core_timezone_l1_1_0
1030 enable_api_ms_win_core_toolhelp_l1_1_0
1031 enable_api_ms_win_core_url_l1_1_0
1032 enable_api_ms_win_core_util_l1_1_0
1033 enable_api_ms_win_core_version_l1_1_0
1034 enable_api_ms_win_core_version_l1_1_1
1035 enable_api_ms_win_core_version_private_l1_1_0
1036 enable_api_ms_win_core_versionansi_l1_1_0
1037 enable_api_ms_win_core_windowserrorreporting_l1_1_0
1038 enable_api_ms_win_core_winrt_error_l1_1_0
1039 enable_api_ms_win_core_winrt_error_l1_1_1
1040 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
1041 enable_api_ms_win_core_winrt_l1_1_0
1042 enable_api_ms_win_core_winrt_registration_l1_1_0
1043 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
1044 enable_api_ms_win_core_winrt_string_l1_1_0
1045 enable_api_ms_win_core_winrt_string_l1_1_1
1046 enable_api_ms_win_core_wow64_l1_1_0
1047 enable_api_ms_win_core_wow64_l1_1_1
1048 enable_api_ms_win_core_xstate_l1_1_0
1049 enable_api_ms_win_core_xstate_l2_1_0
1050 enable_api_ms_win_crt_conio_l1_1_0
1051 enable_api_ms_win_crt_convert_l1_1_0
1052 enable_api_ms_win_crt_environment_l1_1_0
1053 enable_api_ms_win_crt_filesystem_l1_1_0
1054 enable_api_ms_win_crt_heap_l1_1_0
1055 enable_api_ms_win_crt_locale_l1_1_0
1056 enable_api_ms_win_crt_math_l1_1_0
1057 enable_api_ms_win_crt_multibyte_l1_1_0
1058 enable_api_ms_win_crt_private_l1_1_0
1059 enable_api_ms_win_crt_process_l1_1_0
1060 enable_api_ms_win_crt_runtime_l1_1_0
1061 enable_api_ms_win_crt_stdio_l1_1_0
1062 enable_api_ms_win_crt_string_l1_1_0
1063 enable_api_ms_win_crt_time_l1_1_0
1064 enable_api_ms_win_crt_utility_l1_1_0
1065 enable_api_ms_win_devices_config_l1_1_0
1066 enable_api_ms_win_devices_config_l1_1_1
1067 enable_api_ms_win_devices_query_l1_1_1
1068 enable_api_ms_win_downlevel_advapi32_l1_1_0
1069 enable_api_ms_win_downlevel_advapi32_l2_1_0
1070 enable_api_ms_win_downlevel_normaliz_l1_1_0
1071 enable_api_ms_win_downlevel_ole32_l1_1_0
1072 enable_api_ms_win_downlevel_shell32_l1_1_0
1073 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1074 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1075 enable_api_ms_win_downlevel_user32_l1_1_0
1076 enable_api_ms_win_downlevel_version_l1_1_0
1077 enable_api_ms_win_dx_d3dkmt_l1_1_0
1078 enable_api_ms_win_eventing_classicprovider_l1_1_0
1079 enable_api_ms_win_eventing_consumer_l1_1_0
1080 enable_api_ms_win_eventing_controller_l1_1_0
1081 enable_api_ms_win_eventing_legacy_l1_1_0
1082 enable_api_ms_win_eventing_provider_l1_1_0
1083 enable_api_ms_win_eventlog_legacy_l1_1_0
1084 enable_api_ms_win_gdi_dpiinfo_l1_1_0
1085 enable_api_ms_win_mm_joystick_l1_1_0
1086 enable_api_ms_win_mm_misc_l1_1_1
1087 enable_api_ms_win_mm_mme_l1_1_0
1088 enable_api_ms_win_mm_time_l1_1_0
1089 enable_api_ms_win_ntuser_dc_access_l1_1_0
1090 enable_api_ms_win_ntuser_rectangle_l1_1_0
1091 enable_api_ms_win_ntuser_sysparams_l1_1_0
1092 enable_api_ms_win_perf_legacy_l1_1_0
1093 enable_api_ms_win_power_base_l1_1_0
1094 enable_api_ms_win_power_setting_l1_1_0
1095 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
1096 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1097 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
1098 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
1099 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
1100 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
1101 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
1102 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1103 enable_api_ms_win_security_audit_l1_1_1
1104 enable_api_ms_win_security_base_l1_1_0
1105 enable_api_ms_win_security_base_l1_2_0
1106 enable_api_ms_win_security_base_private_l1_1_1
1107 enable_api_ms_win_security_credentials_l1_1_0
1108 enable_api_ms_win_security_cryptoapi_l1_1_0
1109 enable_api_ms_win_security_grouppolicy_l1_1_0
1110 enable_api_ms_win_security_lsalookup_l1_1_0
1111 enable_api_ms_win_security_lsalookup_l1_1_1
1112 enable_api_ms_win_security_lsalookup_l2_1_0
1113 enable_api_ms_win_security_lsalookup_l2_1_1
1114 enable_api_ms_win_security_lsapolicy_l1_1_0
1115 enable_api_ms_win_security_provider_l1_1_0
1116 enable_api_ms_win_security_sddl_l1_1_0
1117 enable_api_ms_win_security_systemfunctions_l1_1_0
1118 enable_api_ms_win_service_core_l1_1_0
1119 enable_api_ms_win_service_core_l1_1_1
1120 enable_api_ms_win_service_management_l1_1_0
1121 enable_api_ms_win_service_management_l2_1_0
1122 enable_api_ms_win_service_private_l1_1_1
1123 enable_api_ms_win_service_winsvc_l1_1_0
1124 enable_api_ms_win_service_winsvc_l1_2_0
1125 enable_api_ms_win_shcore_obsolete_l1_1_0
1126 enable_api_ms_win_shcore_scaling_l1_1_1
1127 enable_api_ms_win_shcore_stream_l1_1_0
1128 enable_api_ms_win_shcore_thread_l1_1_0
1129 enable_api_ms_win_shell_shellcom_l1_1_0
1130 enable_api_ms_win_shell_shellfolders_l1_1_0
1131 enable_apphelp
1132 enable_appwiz_cpl
1133 enable_atl
1134 enable_atl100
1135 enable_atl110
1136 enable_atl80
1137 enable_atl90
1138 enable_atlthunk
1139 enable_atmlib
1140 enable_authz
1141 enable_avicap32
1142 enable_avifil32
1143 enable_avrt
1144 enable_bcrypt
1145 enable_bluetoothapis
1146 enable_browseui
1147 enable_bthprops_cpl
1148 enable_cabinet
1149 enable_capi2032
1150 enable_cards
1151 enable_cdosys
1152 enable_cfgmgr32
1153 enable_clusapi
1154 enable_combase
1155 enable_comcat
1156 enable_comctl32
1157 enable_comdlg32
1158 enable_compstui
1159 enable_comsvcs
1160 enable_concrt140
1161 enable_connect
1162 enable_credui
1163 enable_crtdll
1164 enable_crypt32
1165 enable_cryptdlg
1166 enable_cryptdll
1167 enable_cryptext
1168 enable_cryptnet
1169 enable_cryptui
1170 enable_ctapi32
1171 enable_ctl3d32
1172 enable_d2d1
1173 enable_d3d10
1174 enable_d3d10_1
1175 enable_d3d10core
1176 enable_d3d11
1177 enable_d3d12
1178 enable_d3d8
1179 enable_d3d9
1180 enable_d3dcompiler_33
1181 enable_d3dcompiler_34
1182 enable_d3dcompiler_35
1183 enable_d3dcompiler_36
1184 enable_d3dcompiler_37
1185 enable_d3dcompiler_38
1186 enable_d3dcompiler_39
1187 enable_d3dcompiler_40
1188 enable_d3dcompiler_41
1189 enable_d3dcompiler_42
1190 enable_d3dcompiler_43
1191 enable_d3dcompiler_46
1192 enable_d3dcompiler_47
1193 enable_d3dim
1194 enable_d3drm
1195 enable_d3dx10_33
1196 enable_d3dx10_34
1197 enable_d3dx10_35
1198 enable_d3dx10_36
1199 enable_d3dx10_37
1200 enable_d3dx10_38
1201 enable_d3dx10_39
1202 enable_d3dx10_40
1203 enable_d3dx10_41
1204 enable_d3dx10_42
1205 enable_d3dx10_43
1206 enable_d3dx11_42
1207 enable_d3dx11_43
1208 enable_d3dx9_24
1209 enable_d3dx9_25
1210 enable_d3dx9_26
1211 enable_d3dx9_27
1212 enable_d3dx9_28
1213 enable_d3dx9_29
1214 enable_d3dx9_30
1215 enable_d3dx9_31
1216 enable_d3dx9_32
1217 enable_d3dx9_33
1218 enable_d3dx9_34
1219 enable_d3dx9_35
1220 enable_d3dx9_36
1221 enable_d3dx9_37
1222 enable_d3dx9_38
1223 enable_d3dx9_39
1224 enable_d3dx9_40
1225 enable_d3dx9_41
1226 enable_d3dx9_42
1227 enable_d3dx9_43
1228 enable_d3dxof
1229 enable_davclnt
1230 enable_dbgeng
1231 enable_dbghelp
1232 enable_dciman32
1233 enable_ddraw
1234 enable_ddrawex
1235 enable_devenum
1236 enable_dhcpcsvc
1237 enable_dhtmled_ocx
1238 enable_difxapi
1239 enable_dinput
1240 enable_dinput8
1241 enable_dispex
1242 enable_dmband
1243 enable_dmcompos
1244 enable_dmime
1245 enable_dmloader
1246 enable_dmoguids
1247 enable_dmscript
1248 enable_dmstyle
1249 enable_dmsynth
1250 enable_dmusic
1251 enable_dmusic32
1252 enable_dnsapi
1253 enable_dplay
1254 enable_dplayx
1255 enable_dpnaddr
1256 enable_dpnet
1257 enable_dpnhpast
1258 enable_dpnlobby
1259 enable_dpvoice
1260 enable_dpwsockx
1261 enable_drmclien
1262 enable_dsdmo
1263 enable_dsound
1264 enable_dsquery
1265 enable_dssenh
1266 enable_dswave
1267 enable_dwmapi
1268 enable_dwrite
1269 enable_dx8vb
1270 enable_dxdiagn
1271 enable_dxerr8
1272 enable_dxerr9
1273 enable_dxgi
1274 enable_dxguid
1275 enable_dxva2
1276 enable_esent
1277 enable_evr
1278 enable_explorerframe
1279 enable_ext_ms_win_authz_context_l1_1_0
1280 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1281 enable_ext_ms_win_dwmapi_ext_l1_1_0
1282 enable_ext_ms_win_gdi_dc_create_l1_1_0
1283 enable_ext_ms_win_gdi_dc_create_l1_1_1
1284 enable_ext_ms_win_gdi_dc_l1_2_0
1285 enable_ext_ms_win_gdi_devcaps_l1_1_0
1286 enable_ext_ms_win_gdi_draw_l1_1_0
1287 enable_ext_ms_win_gdi_draw_l1_1_1
1288 enable_ext_ms_win_gdi_font_l1_1_0
1289 enable_ext_ms_win_gdi_font_l1_1_1
1290 enable_ext_ms_win_gdi_render_l1_1_0
1291 enable_ext_ms_win_kernel32_package_current_l1_1_0
1292 enable_ext_ms_win_kernel32_package_l1_1_1
1293 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
1294 enable_ext_ms_win_ntuser_draw_l1_1_0
1295 enable_ext_ms_win_ntuser_gui_l1_1_0
1296 enable_ext_ms_win_ntuser_gui_l1_3_0
1297 enable_ext_ms_win_ntuser_keyboard_l1_3_0
1298 enable_ext_ms_win_ntuser_message_l1_1_0
1299 enable_ext_ms_win_ntuser_message_l1_1_1
1300 enable_ext_ms_win_ntuser_misc_l1_1_0
1301 enable_ext_ms_win_ntuser_misc_l1_2_0
1302 enable_ext_ms_win_ntuser_misc_l1_5_1
1303 enable_ext_ms_win_ntuser_mouse_l1_1_0
1304 enable_ext_ms_win_ntuser_private_l1_1_1
1305 enable_ext_ms_win_ntuser_private_l1_3_1
1306 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1307 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1308 enable_ext_ms_win_ntuser_window_l1_1_0
1309 enable_ext_ms_win_ntuser_window_l1_1_1
1310 enable_ext_ms_win_ntuser_window_l1_1_4
1311 enable_ext_ms_win_ntuser_windowclass_l1_1_0
1312 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1313 enable_ext_ms_win_oleacc_l1_1_0
1314 enable_ext_ms_win_ras_rasapi32_l1_1_0
1315 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
1316 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1317 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1318 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
1319 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1320 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1321 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
1322 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
1323 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
1324 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1325 enable_ext_ms_win_security_credui_l1_1_0
1326 enable_ext_ms_win_security_cryptui_l1_1_0
1327 enable_ext_ms_win_shell_comctl32_init_l1_1_0
1328 enable_ext_ms_win_shell_comdlg32_l1_1_0
1329 enable_ext_ms_win_shell_shell32_l1_2_0
1330 enable_ext_ms_win_uxtheme_themes_l1_1_0
1331 enable_faultrep
1332 enable_feclient
1333 enable_fltlib
1334 enable_fltmgr_sys
1335 enable_fntcache
1336 enable_fontsub
1337 enable_fusion
1338 enable_fwpuclnt
1339 enable_gameux
1340 enable_gdi32
1341 enable_gdiplus
1342 enable_glu32
1343 enable_gphoto2_ds
1344 enable_gpkcsp
1345 enable_hal
1346 enable_hhctrl_ocx
1347 enable_hid
1348 enable_hidclass_sys
1349 enable_hlink
1350 enable_hnetcfg
1351 enable_http_sys
1352 enable_httpapi
1353 enable_iccvid
1354 enable_icmp
1355 enable_ieframe
1356 enable_ieproxy
1357 enable_imaadp32_acm
1358 enable_imagehlp
1359 enable_imm32
1360 enable_inetcomm
1361 enable_inetcpl_cpl
1362 enable_inetmib1
1363 enable_infosoft
1364 enable_initpki
1365 enable_inkobj
1366 enable_inseng
1367 enable_iphlpapi
1368 enable_iprop
1369 enable_irprops_cpl
1370 enable_itircl
1371 enable_itss
1372 enable_joy_cpl
1373 enable_jscript
1374 enable_jsproxy
1375 enable_kerberos
1376 enable_kernel32
1377 enable_kernelbase
1378 enable_ksecdd_sys
1379 enable_ksuser
1380 enable_ktmw32
1381 enable_l3codeca_acm
1382 enable_loadperf
1383 enable_localspl
1384 enable_localui
1385 enable_lz32
1386 enable_mapi32
1387 enable_mapistub
1388 enable_mciavi32
1389 enable_mcicda
1390 enable_mciqtz32
1391 enable_mciseq
1392 enable_mciwave
1393 enable_mf
1394 enable_mf3216
1395 enable_mferror
1396 enable_mfmediaengine
1397 enable_mfplat
1398 enable_mfplay
1399 enable_mfreadwrite
1400 enable_mfuuid
1401 enable_mgmtapi
1402 enable_midimap
1403 enable_mlang
1404 enable_mmcndmgr
1405 enable_mmdevapi
1406 enable_mountmgr_sys
1407 enable_mp3dmod
1408 enable_mpr
1409 enable_mprapi
1410 enable_msacm32_drv
1411 enable_msacm32
1412 enable_msadp32_acm
1413 enable_msasn1
1414 enable_mscat32
1415 enable_mscms
1416 enable_mscoree
1417 enable_mscorwks
1418 enable_msctf
1419 enable_msctfp
1420 enable_msdaps
1421 enable_msdelta
1422 enable_msdmo
1423 enable_msdrm
1424 enable_msftedit
1425 enable_msg711_acm
1426 enable_msgsm32_acm
1427 enable_mshtml_tlb
1428 enable_mshtml
1429 enable_msi
1430 enable_msident
1431 enable_msimg32
1432 enable_msimsg
1433 enable_msimtf
1434 enable_msisip
1435 enable_msisys_ocx
1436 enable_msls31
1437 enable_msnet32
1438 enable_mspatcha
1439 enable_msports
1440 enable_msrle32
1441 enable_msscript_ocx
1442 enable_mssign32
1443 enable_mssip32
1444 enable_mstask
1445 enable_msvcirt
1446 enable_msvcm80
1447 enable_msvcm90
1448 enable_msvcp100
1449 enable_msvcp110
1450 enable_msvcp120
1451 enable_msvcp120_app
1452 enable_msvcp140
1453 enable_msvcp60
1454 enable_msvcp70
1455 enable_msvcp71
1456 enable_msvcp80
1457 enable_msvcp90
1458 enable_msvcr100
1459 enable_msvcr110
1460 enable_msvcr120
1461 enable_msvcr120_app
1462 enable_msvcr70
1463 enable_msvcr71
1464 enable_msvcr80
1465 enable_msvcr90
1466 enable_msvcrt
1467 enable_msvcrt20
1468 enable_msvcrt40
1469 enable_msvcrtd
1470 enable_msvfw32
1471 enable_msvidc32
1472 enable_mswsock
1473 enable_msxml
1474 enable_msxml2
1475 enable_msxml3
1476 enable_msxml4
1477 enable_msxml6
1478 enable_mtxdm
1479 enable_ncrypt
1480 enable_nddeapi
1481 enable_ndis_sys
1482 enable_netapi32
1483 enable_netcfgx
1484 enable_netprofm
1485 enable_newdev
1486 enable_ninput
1487 enable_normaliz
1488 enable_npmshtml
1489 enable_npptools
1490 enable_ntdll
1491 enable_ntdsapi
1492 enable_ntoskrnl_exe
1493 enable_ntprint
1494 enable_objsel
1495 enable_odbc32
1496 enable_odbccp32
1497 enable_odbccu32
1498 enable_ole32
1499 enable_oleacc
1500 enable_oleaut32
1501 enable_olecli32
1502 enable_oledb32
1503 enable_oledlg
1504 enable_olepro32
1505 enable_olesvr32
1506 enable_olethk32
1507 enable_opcservices
1508 enable_openal32
1509 enable_opencl
1510 enable_opengl32
1511 enable_packager
1512 enable_pdh
1513 enable_photometadatahandler
1514 enable_pidgen
1515 enable_powrprof
1516 enable_printui
1517 enable_prntvpt
1518 enable_propsys
1519 enable_psapi
1520 enable_pstorec
1521 enable_qcap
1522 enable_qedit
1523 enable_qmgr
1524 enable_qmgrprxy
1525 enable_quartz
1526 enable_query
1527 enable_qwave
1528 enable_rasapi32
1529 enable_rasdlg
1530 enable_regapi
1531 enable_resutils
1532 enable_riched20
1533 enable_riched32
1534 enable_rpcrt4
1535 enable_rsabase
1536 enable_rsaenh
1537 enable_rstrtmgr
1538 enable_rtutils
1539 enable_samlib
1540 enable_sane_ds
1541 enable_sapi
1542 enable_sas
1543 enable_scarddlg
1544 enable_sccbase
1545 enable_schannel
1546 enable_schedsvc
1547 enable_scrobj
1548 enable_scrrun
1549 enable_scsiport_sys
1550 enable_secur32
1551 enable_security
1552 enable_sensapi
1553 enable_serialui
1554 enable_setupapi
1555 enable_sfc
1556 enable_sfc_os
1557 enable_shcore
1558 enable_shdoclc
1559 enable_shdocvw
1560 enable_shell32
1561 enable_shfolder
1562 enable_shlwapi
1563 enable_slbcsp
1564 enable_slc
1565 enable_snmpapi
1566 enable_softpub
1567 enable_spoolss
1568 enable_srclient
1569 enable_sspicli
1570 enable_stdole2_tlb
1571 enable_stdole32_tlb
1572 enable_sti
1573 enable_strmbase
1574 enable_strmdll
1575 enable_strmiids
1576 enable_svrapi
1577 enable_sxs
1578 enable_t2embed
1579 enable_tapi32
1580 enable_taskschd
1581 enable_tdh
1582 enable_tdi_sys
1583 enable_traffic
1584 enable_twain_32
1585 enable_tzres
1586 enable_ucrtbase
1587 enable_uianimation
1588 enable_uiautomationcore
1589 enable_uiribbon
1590 enable_unicows
1591 enable_updspapi
1592 enable_url
1593 enable_urlmon
1594 enable_usbd_sys
1595 enable_user32
1596 enable_userenv
1597 enable_usp10
1598 enable_utildll
1599 enable_uuid
1600 enable_uxtheme
1601 enable_vbscript
1602 enable_vcomp
1603 enable_vcomp100
1604 enable_vcomp110
1605 enable_vcomp120
1606 enable_vcomp140
1607 enable_vcomp90
1608 enable_vcruntime140
1609 enable_vdmdbg
1610 enable_version
1611 enable_virtdisk
1612 enable_vssapi
1613 enable_vulkan_1
1614 enable_wbemdisp
1615 enable_wbemprox
1616 enable_wdscore
1617 enable_webservices
1618 enable_wer
1619 enable_wevtapi
1620 enable_wiaservc
1621 enable_wimgapi
1622 enable_windowscodecs
1623 enable_windowscodecsext
1624 enable_winealsa_drv
1625 enable_wineandroid_drv
1626 enable_winebus_sys
1627 enable_winecoreaudio_drv
1628 enable_winecrt0
1629 enable_wined3d
1630 enable_winegstreamer
1631 enable_winehid_sys
1632 enable_winejoystick_drv
1633 enable_winemac_drv
1634 enable_winemapi
1635 enable_wineoss_drv
1636 enable_wineps_drv
1637 enable_winepulse_drv
1638 enable_wineqtdecoder
1639 enable_winevulkan
1640 enable_winex11_drv
1641 enable_wing32
1642 enable_winhttp
1643 enable_wininet
1644 enable_winmm
1645 enable_winnls32
1646 enable_winscard
1647 enable_winspool_drv
1648 enable_winsta
1649 enable_wintab32
1650 enable_wintrust
1651 enable_winusb
1652 enable_wlanapi
1653 enable_wlanui
1654 enable_wldap32
1655 enable_wmasf
1656 enable_wmcodecdspuuid
1657 enable_wmi
1658 enable_wmiutils
1659 enable_wmp
1660 enable_wmphoto
1661 enable_wmvcore
1662 enable_wnaspi32
1663 enable_wpc
1664 enable_wpcap
1665 enable_ws2_32
1666 enable_wsdapi
1667 enable_wshom_ocx
1668 enable_wsnmp32
1669 enable_wsock32
1670 enable_wtsapi32
1671 enable_wuapi
1672 enable_wuaueng
1673 enable_x3daudio1_0
1674 enable_x3daudio1_1
1675 enable_x3daudio1_2
1676 enable_x3daudio1_3
1677 enable_x3daudio1_4
1678 enable_x3daudio1_5
1679 enable_x3daudio1_6
1680 enable_x3daudio1_7
1681 enable_xapofx1_1
1682 enable_xapofx1_2
1683 enable_xapofx1_3
1684 enable_xapofx1_4
1685 enable_xapofx1_5
1686 enable_xaudio2_0
1687 enable_xaudio2_1
1688 enable_xaudio2_2
1689 enable_xaudio2_3
1690 enable_xaudio2_4
1691 enable_xaudio2_5
1692 enable_xaudio2_6
1693 enable_xaudio2_7
1694 enable_xaudio2_8
1695 enable_xaudio2_9
1696 enable_xinput1_1
1697 enable_xinput1_2
1698 enable_xinput1_3
1699 enable_xinput1_4
1700 enable_xinput9_1_0
1701 enable_xmllite
1702 enable_xolehlp
1703 enable_xpsprint
1704 enable_xpssvcs
1705 enable_fonts
1706 enable_include
1707 enable_port
1708 enable_wine
1709 enable_wpp
1710 enable_loader
1711 enable_po
1712 enable_arp
1713 enable_aspnet_regiis
1714 enable_attrib
1715 enable_cabarc
1716 enable_cacls
1717 enable_clock
1718 enable_cmd
1719 enable_conhost
1720 enable_control
1721 enable_cscript
1722 enable_dism
1723 enable_dpnsvr
1724 enable_dxdiag
1725 enable_eject
1726 enable_expand
1727 enable_explorer
1728 enable_extrac32
1729 enable_fc
1730 enable_find
1731 enable_findstr
1732 enable_fsutil
1733 enable_hh
1734 enable_hostname
1735 enable_icacls
1736 enable_icinfo
1737 enable_iexplore
1738 enable_ipconfig
1739 enable_lodctr
1740 enable_mofcomp
1741 enable_mshta
1742 enable_msidb
1743 enable_msiexec
1744 enable_msinfo32
1745 enable_net
1746 enable_netsh
1747 enable_netstat
1748 enable_ngen
1749 enable_notepad
1750 enable_oleview
1751 enable_ping
1752 enable_plugplay
1753 enable_powershell
1754 enable_presentationfontcache
1755 enable_progman
1756 enable_reg
1757 enable_regasm
1758 enable_regedit
1759 enable_regini
1760 enable_regsvcs
1761 enable_regsvr32
1762 enable_rpcss
1763 enable_rundll32
1764 enable_sc
1765 enable_schtasks
1766 enable_sdbinst
1767 enable_secedit
1768 enable_servicemodelreg
1769 enable_services
1770 enable_shutdown
1771 enable_spoolsv
1772 enable_start
1773 enable_subst
1774 enable_svchost
1775 enable_systeminfo
1776 enable_taskkill
1777 enable_tasklist
1778 enable_taskmgr
1779 enable_termsv
1780 enable_uninstaller
1781 enable_unlodctr
1782 enable_view
1783 enable_wevtutil
1784 enable_wineboot
1785 enable_winebrowser
1786 enable_winecfg
1787 enable_wineconsole
1788 enable_winedbg
1789 enable_winedevice
1790 enable_winefile
1791 enable_winemenubuilder
1792 enable_winemine
1793 enable_winemsibuilder
1794 enable_winepath
1795 enable_winetest
1796 enable_winhlp32
1797 enable_winmgmt
1798 enable_winver
1799 enable_wmic
1800 enable_wmplayer
1801 enable_wordpad
1802 enable_write
1803 enable_wscript
1804 enable_wuauserv
1805 enable_wusa
1806 enable_xcopy
1807 enable_server
1808 enable_tools
1809 enable_sfnt2fon
1810 enable_widl
1811 enable_winebuild
1812 enable_winedump
1813 enable_winegcc
1814 enable_winemaker
1815 enable_wmc
1816 enable_wrc
1818 ac_precious_vars='build_alias
1819 host_alias
1820 target_alias
1822 CFLAGS
1823 LDFLAGS
1824 LIBS
1825 CPPFLAGS
1827 CXXFLAGS
1830 OBJC
1831 OBJCFLAGS
1832 OBJCPP
1833 XMKMF
1834 XML2_CFLAGS
1835 XML2_LIBS
1836 XSLT_CFLAGS
1837 XSLT_LIBS
1838 INOTIFY_CFLAGS
1839 INOTIFY_LIBS
1840 DBUS_CFLAGS
1841 DBUS_LIBS
1842 HAL_CFLAGS
1843 HAL_LIBS
1844 GNUTLS_CFLAGS
1845 GNUTLS_LIBS
1846 SANE_CFLAGS
1847 SANE_LIBS
1848 GPHOTO2_CFLAGS
1849 GPHOTO2_LIBS
1850 GPHOTO2_PORT_CFLAGS
1851 GPHOTO2_PORT_LIBS
1852 LCMS2_CFLAGS
1853 LCMS2_LIBS
1854 FREETYPE_CFLAGS
1855 FREETYPE_LIBS
1856 Z_CFLAGS
1857 Z_LIBS
1858 PULSE_CFLAGS
1859 PULSE_LIBS
1860 GSTREAMER_CFLAGS
1861 GSTREAMER_LIBS
1862 UDEV_CFLAGS
1863 UDEV_LIBS
1864 UNWIND_CFLAGS
1865 UNWIND_LIBS
1866 SDL2_CFLAGS
1867 SDL2_LIBS
1868 FAUDIO_CFLAGS
1869 FAUDIO_LIBS
1870 CAPI20_CFLAGS
1871 CAPI20_LIBS
1872 CUPS_CFLAGS
1873 CUPS_LIBS
1874 FONTCONFIG_CFLAGS
1875 FONTCONFIG_LIBS
1876 KRB5_CFLAGS
1877 KRB5_LIBS
1878 GSSAPI_CFLAGS
1879 GSSAPI_LIBS
1880 JPEG_CFLAGS
1881 JPEG_LIBS
1882 PNG_CFLAGS
1883 PNG_LIBS
1884 TIFF_CFLAGS
1885 TIFF_LIBS
1886 MPG123_CFLAGS
1887 MPG123_LIBS
1888 NETAPI_CFLAGS
1889 NETAPI_LIBS
1890 VKD3D_CFLAGS
1891 VKD3D_LIBS
1892 LDAP_CFLAGS
1893 LDAP_LIBS'
1896 # Initialize some variables set by options.
1897 ac_init_help=
1898 ac_init_version=false
1899 ac_unrecognized_opts=
1900 ac_unrecognized_sep=
1901 # The variables have the same names as the options, with
1902 # dashes changed to underlines.
1903 cache_file=/dev/null
1904 exec_prefix=NONE
1905 no_create=
1906 no_recursion=
1907 prefix=NONE
1908 program_prefix=NONE
1909 program_suffix=NONE
1910 program_transform_name=s,x,x,
1911 silent=
1912 site=
1913 srcdir=
1914 verbose=
1915 x_includes=NONE
1916 x_libraries=NONE
1918 # Installation directory options.
1919 # These are left unexpanded so users can "make install exec_prefix=/foo"
1920 # and all the variables that are supposed to be based on exec_prefix
1921 # by default will actually change.
1922 # Use braces instead of parens because sh, perl, etc. also accept them.
1923 # (The list follows the same order as the GNU Coding Standards.)
1924 bindir='${exec_prefix}/bin'
1925 sbindir='${exec_prefix}/sbin'
1926 libexecdir='${exec_prefix}/libexec'
1927 datarootdir='${prefix}/share'
1928 datadir='${datarootdir}'
1929 sysconfdir='${prefix}/etc'
1930 sharedstatedir='${prefix}/com'
1931 localstatedir='${prefix}/var'
1932 runstatedir='${localstatedir}/run'
1933 includedir='${prefix}/include'
1934 oldincludedir='/usr/include'
1935 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1936 infodir='${datarootdir}/info'
1937 htmldir='${docdir}'
1938 dvidir='${docdir}'
1939 pdfdir='${docdir}'
1940 psdir='${docdir}'
1941 libdir='${exec_prefix}/lib'
1942 localedir='${datarootdir}/locale'
1943 mandir='${datarootdir}/man'
1945 ac_prev=
1946 ac_dashdash=
1947 for ac_option
1949 # If the previous option needs an argument, assign it.
1950 if test -n "$ac_prev"; then
1951 eval $ac_prev=\$ac_option
1952 ac_prev=
1953 continue
1956 case $ac_option in
1957 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1958 *=) ac_optarg= ;;
1959 *) ac_optarg=yes ;;
1960 esac
1962 # Accept the important Cygnus configure options, so we can diagnose typos.
1964 case $ac_dashdash$ac_option in
1966 ac_dashdash=yes ;;
1968 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1969 ac_prev=bindir ;;
1970 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1971 bindir=$ac_optarg ;;
1973 -build | --build | --buil | --bui | --bu)
1974 ac_prev=build_alias ;;
1975 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1976 build_alias=$ac_optarg ;;
1978 -cache-file | --cache-file | --cache-fil | --cache-fi \
1979 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1980 ac_prev=cache_file ;;
1981 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1982 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1983 cache_file=$ac_optarg ;;
1985 --config-cache | -C)
1986 cache_file=config.cache ;;
1988 -datadir | --datadir | --datadi | --datad)
1989 ac_prev=datadir ;;
1990 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1991 datadir=$ac_optarg ;;
1993 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1994 | --dataroo | --dataro | --datar)
1995 ac_prev=datarootdir ;;
1996 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1997 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1998 datarootdir=$ac_optarg ;;
2000 -disable-* | --disable-*)
2001 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
2002 # Reject names that are not valid shell variable names.
2003 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2004 as_fn_error $? "invalid feature name: $ac_useropt"
2005 ac_useropt_orig=$ac_useropt
2006 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2007 case $ac_user_opts in
2009 "enable_$ac_useropt"
2010 "*) ;;
2011 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
2012 ac_unrecognized_sep=', ';;
2013 esac
2014 eval enable_$ac_useropt=no ;;
2016 -docdir | --docdir | --docdi | --doc | --do)
2017 ac_prev=docdir ;;
2018 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
2019 docdir=$ac_optarg ;;
2021 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
2022 ac_prev=dvidir ;;
2023 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
2024 dvidir=$ac_optarg ;;
2026 -enable-* | --enable-*)
2027 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
2028 # Reject names that are not valid shell variable names.
2029 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2030 as_fn_error $? "invalid feature name: $ac_useropt"
2031 ac_useropt_orig=$ac_useropt
2032 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2033 case $ac_user_opts in
2035 "enable_$ac_useropt"
2036 "*) ;;
2037 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
2038 ac_unrecognized_sep=', ';;
2039 esac
2040 eval enable_$ac_useropt=\$ac_optarg ;;
2042 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
2043 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
2044 | --exec | --exe | --ex)
2045 ac_prev=exec_prefix ;;
2046 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
2047 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
2048 | --exec=* | --exe=* | --ex=*)
2049 exec_prefix=$ac_optarg ;;
2051 -gas | --gas | --ga | --g)
2052 # Obsolete; use --with-gas.
2053 with_gas=yes ;;
2055 -help | --help | --hel | --he | -h)
2056 ac_init_help=long ;;
2057 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
2058 ac_init_help=recursive ;;
2059 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
2060 ac_init_help=short ;;
2062 -host | --host | --hos | --ho)
2063 ac_prev=host_alias ;;
2064 -host=* | --host=* | --hos=* | --ho=*)
2065 host_alias=$ac_optarg ;;
2067 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
2068 ac_prev=htmldir ;;
2069 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
2070 | --ht=*)
2071 htmldir=$ac_optarg ;;
2073 -includedir | --includedir | --includedi | --included | --include \
2074 | --includ | --inclu | --incl | --inc)
2075 ac_prev=includedir ;;
2076 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2077 | --includ=* | --inclu=* | --incl=* | --inc=*)
2078 includedir=$ac_optarg ;;
2080 -infodir | --infodir | --infodi | --infod | --info | --inf)
2081 ac_prev=infodir ;;
2082 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2083 infodir=$ac_optarg ;;
2085 -libdir | --libdir | --libdi | --libd)
2086 ac_prev=libdir ;;
2087 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2088 libdir=$ac_optarg ;;
2090 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2091 | --libexe | --libex | --libe)
2092 ac_prev=libexecdir ;;
2093 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2094 | --libexe=* | --libex=* | --libe=*)
2095 libexecdir=$ac_optarg ;;
2097 -localedir | --localedir | --localedi | --localed | --locale)
2098 ac_prev=localedir ;;
2099 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2100 localedir=$ac_optarg ;;
2102 -localstatedir | --localstatedir | --localstatedi | --localstated \
2103 | --localstate | --localstat | --localsta | --localst | --locals)
2104 ac_prev=localstatedir ;;
2105 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2106 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2107 localstatedir=$ac_optarg ;;
2109 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2110 ac_prev=mandir ;;
2111 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2112 mandir=$ac_optarg ;;
2114 -nfp | --nfp | --nf)
2115 # Obsolete; use --without-fp.
2116 with_fp=no ;;
2118 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2119 | --no-cr | --no-c | -n)
2120 no_create=yes ;;
2122 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2123 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2124 no_recursion=yes ;;
2126 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2127 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2128 | --oldin | --oldi | --old | --ol | --o)
2129 ac_prev=oldincludedir ;;
2130 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2131 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2132 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2133 oldincludedir=$ac_optarg ;;
2135 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2136 ac_prev=prefix ;;
2137 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2138 prefix=$ac_optarg ;;
2140 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2141 | --program-pre | --program-pr | --program-p)
2142 ac_prev=program_prefix ;;
2143 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2144 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2145 program_prefix=$ac_optarg ;;
2147 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2148 | --program-suf | --program-su | --program-s)
2149 ac_prev=program_suffix ;;
2150 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2151 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2152 program_suffix=$ac_optarg ;;
2154 -program-transform-name | --program-transform-name \
2155 | --program-transform-nam | --program-transform-na \
2156 | --program-transform-n | --program-transform- \
2157 | --program-transform | --program-transfor \
2158 | --program-transfo | --program-transf \
2159 | --program-trans | --program-tran \
2160 | --progr-tra | --program-tr | --program-t)
2161 ac_prev=program_transform_name ;;
2162 -program-transform-name=* | --program-transform-name=* \
2163 | --program-transform-nam=* | --program-transform-na=* \
2164 | --program-transform-n=* | --program-transform-=* \
2165 | --program-transform=* | --program-transfor=* \
2166 | --program-transfo=* | --program-transf=* \
2167 | --program-trans=* | --program-tran=* \
2168 | --progr-tra=* | --program-tr=* | --program-t=*)
2169 program_transform_name=$ac_optarg ;;
2171 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2172 ac_prev=pdfdir ;;
2173 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2174 pdfdir=$ac_optarg ;;
2176 -psdir | --psdir | --psdi | --psd | --ps)
2177 ac_prev=psdir ;;
2178 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2179 psdir=$ac_optarg ;;
2181 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2182 | -silent | --silent | --silen | --sile | --sil)
2183 silent=yes ;;
2185 -runstatedir | --runstatedir | --runstatedi | --runstated \
2186 | --runstate | --runstat | --runsta | --runst | --runs \
2187 | --run | --ru | --r)
2188 ac_prev=runstatedir ;;
2189 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2190 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2191 | --run=* | --ru=* | --r=*)
2192 runstatedir=$ac_optarg ;;
2194 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2195 ac_prev=sbindir ;;
2196 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2197 | --sbi=* | --sb=*)
2198 sbindir=$ac_optarg ;;
2200 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2201 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2202 | --sharedst | --shareds | --shared | --share | --shar \
2203 | --sha | --sh)
2204 ac_prev=sharedstatedir ;;
2205 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2206 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2207 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2208 | --sha=* | --sh=*)
2209 sharedstatedir=$ac_optarg ;;
2211 -site | --site | --sit)
2212 ac_prev=site ;;
2213 -site=* | --site=* | --sit=*)
2214 site=$ac_optarg ;;
2216 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2217 ac_prev=srcdir ;;
2218 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2219 srcdir=$ac_optarg ;;
2221 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2222 | --syscon | --sysco | --sysc | --sys | --sy)
2223 ac_prev=sysconfdir ;;
2224 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2225 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2226 sysconfdir=$ac_optarg ;;
2228 -target | --target | --targe | --targ | --tar | --ta | --t)
2229 ac_prev=target_alias ;;
2230 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2231 target_alias=$ac_optarg ;;
2233 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2234 verbose=yes ;;
2236 -version | --version | --versio | --versi | --vers | -V)
2237 ac_init_version=: ;;
2239 -with-* | --with-*)
2240 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2241 # Reject names that are not valid shell variable names.
2242 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2243 as_fn_error $? "invalid package name: $ac_useropt"
2244 ac_useropt_orig=$ac_useropt
2245 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2246 case $ac_user_opts in
2248 "with_$ac_useropt"
2249 "*) ;;
2250 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2251 ac_unrecognized_sep=', ';;
2252 esac
2253 eval with_$ac_useropt=\$ac_optarg ;;
2255 -without-* | --without-*)
2256 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2257 # Reject names that are not valid shell variable names.
2258 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2259 as_fn_error $? "invalid package name: $ac_useropt"
2260 ac_useropt_orig=$ac_useropt
2261 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2262 case $ac_user_opts in
2264 "with_$ac_useropt"
2265 "*) ;;
2266 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2267 ac_unrecognized_sep=', ';;
2268 esac
2269 eval with_$ac_useropt=no ;;
2271 --x)
2272 # Obsolete; use --with-x.
2273 with_x=yes ;;
2275 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2276 | --x-incl | --x-inc | --x-in | --x-i)
2277 ac_prev=x_includes ;;
2278 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2279 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2280 x_includes=$ac_optarg ;;
2282 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2283 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2284 ac_prev=x_libraries ;;
2285 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2286 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2287 x_libraries=$ac_optarg ;;
2289 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2290 Try \`$0 --help' for more information"
2293 *=*)
2294 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2295 # Reject names that are not valid shell variable names.
2296 case $ac_envvar in #(
2297 '' | [0-9]* | *[!_$as_cr_alnum]* )
2298 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2299 esac
2300 eval $ac_envvar=\$ac_optarg
2301 export $ac_envvar ;;
2304 # FIXME: should be removed in autoconf 3.0.
2305 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2306 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2307 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2308 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2311 esac
2312 done
2314 if test -n "$ac_prev"; then
2315 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2316 as_fn_error $? "missing argument to $ac_option"
2319 if test -n "$ac_unrecognized_opts"; then
2320 case $enable_option_checking in
2321 no) ;;
2322 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2323 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2324 esac
2327 # Check all directory arguments for consistency.
2328 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2329 datadir sysconfdir sharedstatedir localstatedir includedir \
2330 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2331 libdir localedir mandir runstatedir
2333 eval ac_val=\$$ac_var
2334 # Remove trailing slashes.
2335 case $ac_val in
2336 */ )
2337 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2338 eval $ac_var=\$ac_val;;
2339 esac
2340 # Be sure to have absolute directory names.
2341 case $ac_val in
2342 [\\/$]* | ?:[\\/]* ) continue;;
2343 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2344 esac
2345 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2346 done
2348 # There might be people who depend on the old broken behavior: `$host'
2349 # used to hold the argument of --host etc.
2350 # FIXME: To remove some day.
2351 build=$build_alias
2352 host=$host_alias
2353 target=$target_alias
2355 # FIXME: To remove some day.
2356 if test "x$host_alias" != x; then
2357 if test "x$build_alias" = x; then
2358 cross_compiling=maybe
2359 elif test "x$build_alias" != "x$host_alias"; then
2360 cross_compiling=yes
2364 ac_tool_prefix=
2365 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2367 test "$silent" = yes && exec 6>/dev/null
2370 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2371 ac_ls_di=`ls -di .` &&
2372 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2373 as_fn_error $? "working directory cannot be determined"
2374 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2375 as_fn_error $? "pwd does not report name of working directory"
2378 # Find the source files, if location was not specified.
2379 if test -z "$srcdir"; then
2380 ac_srcdir_defaulted=yes
2381 # Try the directory containing this script, then the parent directory.
2382 ac_confdir=`$as_dirname -- "$as_myself" ||
2383 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2384 X"$as_myself" : 'X\(//\)[^/]' \| \
2385 X"$as_myself" : 'X\(//\)$' \| \
2386 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2387 $as_echo X"$as_myself" |
2388 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2389 s//\1/
2392 /^X\(\/\/\)[^/].*/{
2393 s//\1/
2396 /^X\(\/\/\)$/{
2397 s//\1/
2400 /^X\(\/\).*/{
2401 s//\1/
2404 s/.*/./; q'`
2405 srcdir=$ac_confdir
2406 if test ! -r "$srcdir/$ac_unique_file"; then
2407 srcdir=..
2409 else
2410 ac_srcdir_defaulted=no
2412 if test ! -r "$srcdir/$ac_unique_file"; then
2413 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2414 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2416 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2417 ac_abs_confdir=`(
2418 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2419 pwd)`
2420 # When building in place, set srcdir=.
2421 if test "$ac_abs_confdir" = "$ac_pwd"; then
2422 srcdir=.
2424 # Remove unnecessary trailing slashes from srcdir.
2425 # Double slashes in file names in object file debugging info
2426 # mess up M-x gdb in Emacs.
2427 case $srcdir in
2428 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2429 esac
2430 for ac_var in $ac_precious_vars; do
2431 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2432 eval ac_env_${ac_var}_value=\$${ac_var}
2433 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2434 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2435 done
2438 # Report the --help message.
2440 if test "$ac_init_help" = "long"; then
2441 # Omit some internal or obsolete options to make the list less imposing.
2442 # This message is too long to be a string in the A/UX 3.1 sh.
2443 cat <<_ACEOF
2444 \`configure' configures Wine 4.20 to adapt to many kinds of systems.
2446 Usage: $0 [OPTION]... [VAR=VALUE]...
2448 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2449 VAR=VALUE. See below for descriptions of some of the useful variables.
2451 Defaults for the options are specified in brackets.
2453 Configuration:
2454 -h, --help display this help and exit
2455 --help=short display options specific to this package
2456 --help=recursive display the short help of all the included packages
2457 -V, --version display version information and exit
2458 -q, --quiet, --silent do not print \`checking ...' messages
2459 --cache-file=FILE cache test results in FILE [disabled]
2460 -C, --config-cache alias for \`--cache-file=config.cache'
2461 -n, --no-create do not create output files
2462 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2464 Installation directories:
2465 --prefix=PREFIX install architecture-independent files in PREFIX
2466 [$ac_default_prefix]
2467 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2468 [PREFIX]
2470 By default, \`make install' will install all the files in
2471 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2472 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2473 for instance \`--prefix=\$HOME'.
2475 For better control, use the options below.
2477 Fine tuning of the installation directories:
2478 --bindir=DIR user executables [EPREFIX/bin]
2479 --sbindir=DIR system admin executables [EPREFIX/sbin]
2480 --libexecdir=DIR program executables [EPREFIX/libexec]
2481 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2482 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2483 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2484 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2485 --libdir=DIR object code libraries [EPREFIX/lib]
2486 --includedir=DIR C header files [PREFIX/include]
2487 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2488 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2489 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2490 --infodir=DIR info documentation [DATAROOTDIR/info]
2491 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2492 --mandir=DIR man documentation [DATAROOTDIR/man]
2493 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2494 --htmldir=DIR html documentation [DOCDIR]
2495 --dvidir=DIR dvi documentation [DOCDIR]
2496 --pdfdir=DIR pdf documentation [DOCDIR]
2497 --psdir=DIR ps documentation [DOCDIR]
2498 _ACEOF
2500 cat <<\_ACEOF
2502 X features:
2503 --x-includes=DIR X include files are in DIR
2504 --x-libraries=DIR X library files are in DIR
2506 System types:
2507 --build=BUILD configure for building on BUILD [guessed]
2508 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2509 _ACEOF
2512 if test -n "$ac_init_help"; then
2513 case $ac_init_help in
2514 short | recursive ) echo "Configuration of Wine 4.20:";;
2515 esac
2516 cat <<\_ACEOF
2518 Optional Features:
2519 --disable-option-checking ignore unrecognized --enable/--with options
2520 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2521 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2522 --disable-win16 do not include Win16 support
2523 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2524 binaries)
2525 --disable-tests do not build the regression tests
2526 --enable-maintainer-mode
2527 enable maintainer-specific build rules
2528 --disable-largefile omit support for large files
2530 Optional Packages:
2531 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2532 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2533 --without-alsa do not use the Alsa sound support
2534 --without-capi do not use CAPI (ISDN support)
2535 --without-cms do not use CMS (color management support)
2536 --without-coreaudio do not use the CoreAudio sound support
2537 --without-cups do not use CUPS
2538 --without-curses do not use (n)curses
2539 --without-dbus do not use DBus (dynamic device support)
2540 --without-faudio do not use FAudio (XAudio2 support)
2541 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2542 --without-fontconfig do not use fontconfig
2543 --without-freetype do not use the FreeType library
2544 --without-gettext do not use gettext
2545 --with-gettextpo use the GetTextPO library to rebuild po files
2546 --without-gphoto do not use gphoto (Digital Camera support)
2547 --without-glu do not use the GLU library
2548 --without-gnutls do not use GnuTLS (schannel support)
2549 --without-gsm do not use libgsm (GSM 06.10 codec support)
2550 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2551 --without-gstreamer do not use GStreamer (codecs support)
2552 --without-hal do not use HAL (dynamic device support)
2553 --without-inotify do not use inotify (filesystem change notifications)
2554 --without-jpeg do not use JPEG
2555 --without-krb5 do not use krb5 (Kerberos)
2556 --without-ldap do not use LDAP
2557 --without-mingw do not use the MinGW cross-compiler
2558 --without-mpg123 do not use the mpg123 library
2559 --without-netapi do not use the Samba NetAPI library
2560 --without-openal do not use OpenAL
2561 --without-opencl do not use OpenCL
2562 --without-opengl do not use OpenGL
2563 --without-osmesa do not use the OSMesa library
2564 --without-oss do not use the OSS sound support
2565 --without-pcap do not use the Packet Capture library
2566 --without-png do not use PNG
2567 --without-pthread do not use the pthread library
2568 --without-pulse do not use PulseAudio sound support
2569 --without-sane do not use SANE (scanner support)
2570 --without-sdl do not use SDL
2571 --without-tiff do not use TIFF
2572 --without-udev do not use udev (plug and play support)
2573 --without-unwind do not use the libunwind library (exception
2574 handling)
2575 --without-v4l2 do not use v4l2 (video capture)
2576 --without-vkd3d do not use vkd3d (Direct3D 12 support)
2577 --without-vulkan do not use Vulkan
2578 --without-xcomposite do not use the Xcomposite extension
2579 --without-xcursor do not use the Xcursor extension
2580 --without-xfixes do not use Xfixes for clipboard change notifications
2581 --without-xinerama do not use Xinerama (multi-monitor support)
2582 --without-xinput do not use the Xinput extension
2583 --without-xinput2 do not use the Xinput 2 extension
2584 --without-xml do not use XML
2585 --without-xrandr do not use Xrandr (resolution changes)
2586 --without-xrender do not use the Xrender extension
2587 --without-xshape do not use the Xshape extension
2588 --without-xshm do not use XShm (shared memory extension)
2589 --without-xslt do not use XSLT
2590 --without-xxf86vm do not use XFree video mode extension
2591 --without-zlib do not use Zlib (data compression)
2592 --with-wine-tools=DIR use Wine tools from directory DIR
2593 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2594 --with-x use the X Window System
2596 Some influential environment variables:
2597 CC C compiler command
2598 CFLAGS C compiler flags
2599 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2600 nonstandard directory <lib dir>
2601 LIBS libraries to pass to the linker, e.g. -l<library>
2602 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2603 you have headers in a nonstandard directory <include dir>
2604 CXX C++ compiler command
2605 CXXFLAGS C++ compiler flags
2606 CPP C preprocessor
2607 OBJC Objective C compiler command
2608 OBJCFLAGS Objective C compiler flags
2609 OBJCPP Objective C preprocessor
2610 XMKMF Path to xmkmf, Makefile generator for X Window System
2611 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2612 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2613 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2614 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2615 INOTIFY_CFLAGS
2616 C compiler flags for libinotify, overriding pkg-config
2617 INOTIFY_LIBS
2618 Linker flags for libinotify, overriding pkg-config
2619 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2620 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2621 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2622 HAL_LIBS Linker flags for hal, overriding pkg-config
2623 GNUTLS_CFLAGS
2624 C compiler flags for gnutls, overriding pkg-config
2625 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2626 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2627 SANE_LIBS Linker flags for libsane, overriding pkg-config
2628 GPHOTO2_CFLAGS
2629 C compiler flags for libgphoto2, overriding pkg-config
2630 GPHOTO2_LIBS
2631 Linker flags for libgphoto2, overriding pkg-config
2632 GPHOTO2_PORT_CFLAGS
2633 C compiler flags for libgphoto2_port, overriding pkg-config
2634 GPHOTO2_PORT_LIBS
2635 Linker flags for libgphoto2_port, overriding pkg-config
2636 LCMS2_CFLAGS
2637 C compiler flags for lcms2, overriding pkg-config
2638 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2639 FREETYPE_CFLAGS
2640 C compiler flags for freetype2, overriding pkg-config
2641 FREETYPE_LIBS
2642 Linker flags for freetype2, overriding pkg-config
2643 Z_CFLAGS C compiler flags for libz, overriding pkg-config
2644 Z_LIBS Linker flags for libz, overriding pkg-config
2645 PULSE_CFLAGS
2646 C compiler flags for libpulse, overriding pkg-config
2647 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2648 GSTREAMER_CFLAGS
2649 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2650 gstreamer-audio-1.0, overriding pkg-config
2651 GSTREAMER_LIBS
2652 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2653 gstreamer-audio-1.0, overriding pkg-config
2654 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2655 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2656 UNWIND_CFLAGS
2657 C compiler flags for libunwind, overriding pkg-config
2658 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2659 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2660 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2661 FAUDIO_CFLAGS
2662 C compiler flags for faudio, overriding pkg-config
2663 FAUDIO_LIBS Linker flags for faudio, overriding pkg-config
2664 CAPI20_CFLAGS
2665 C compiler flags for capi20, overriding pkg-config
2666 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2667 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2668 CUPS_LIBS Linker flags for cups, overriding pkg-config
2669 FONTCONFIG_CFLAGS
2670 C compiler flags for fontconfig, overriding pkg-config
2671 FONTCONFIG_LIBS
2672 Linker flags for fontconfig, overriding pkg-config
2673 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2674 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2675 GSSAPI_CFLAGS
2676 C compiler flags for krb5-gssapi, overriding pkg-config
2677 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2678 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2679 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2680 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2681 PNG_LIBS Linker flags for libpng, overriding pkg-config
2682 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2683 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2684 MPG123_CFLAGS
2685 C compiler flags for libmpg123, overriding pkg-config
2686 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2687 NETAPI_CFLAGS
2688 C compiler flags for netapi, overriding pkg-config
2689 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2690 VKD3D_CFLAGS
2691 C compiler flags for libvkd3d, overriding pkg-config
2692 VKD3D_LIBS Linker flags for libvkd3d, overriding pkg-config
2693 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2694 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2696 Use these variables to override the choices made by `configure' or to help
2697 it to find libraries and programs with nonstandard names/locations.
2699 Report bugs to <wine-devel@winehq.org>.
2700 Wine home page: <https://www.winehq.org>.
2701 _ACEOF
2702 ac_status=$?
2705 if test "$ac_init_help" = "recursive"; then
2706 # If there are subdirs, report their specific --help.
2707 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2708 test -d "$ac_dir" ||
2709 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2710 continue
2711 ac_builddir=.
2713 case "$ac_dir" in
2714 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2716 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2717 # A ".." for each directory in $ac_dir_suffix.
2718 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2719 case $ac_top_builddir_sub in
2720 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2721 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2722 esac ;;
2723 esac
2724 ac_abs_top_builddir=$ac_pwd
2725 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2726 # for backward compatibility:
2727 ac_top_builddir=$ac_top_build_prefix
2729 case $srcdir in
2730 .) # We are building in place.
2731 ac_srcdir=.
2732 ac_top_srcdir=$ac_top_builddir_sub
2733 ac_abs_top_srcdir=$ac_pwd ;;
2734 [\\/]* | ?:[\\/]* ) # Absolute name.
2735 ac_srcdir=$srcdir$ac_dir_suffix;
2736 ac_top_srcdir=$srcdir
2737 ac_abs_top_srcdir=$srcdir ;;
2738 *) # Relative name.
2739 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2740 ac_top_srcdir=$ac_top_build_prefix$srcdir
2741 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2742 esac
2743 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2745 cd "$ac_dir" || { ac_status=$?; continue; }
2746 # Check for guested configure.
2747 if test -f "$ac_srcdir/configure.gnu"; then
2748 echo &&
2749 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2750 elif test -f "$ac_srcdir/configure"; then
2751 echo &&
2752 $SHELL "$ac_srcdir/configure" --help=recursive
2753 else
2754 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2755 fi || ac_status=$?
2756 cd "$ac_pwd" || { ac_status=$?; break; }
2757 done
2760 test -n "$ac_init_help" && exit $ac_status
2761 if $ac_init_version; then
2762 cat <<\_ACEOF
2763 Wine configure 4.20
2764 generated by GNU Autoconf 2.69
2766 Copyright (C) 2012 Free Software Foundation, Inc.
2767 This configure script is free software; the Free Software Foundation
2768 gives unlimited permission to copy, distribute and modify it.
2769 _ACEOF
2770 exit
2773 ## ------------------------ ##
2774 ## Autoconf initialization. ##
2775 ## ------------------------ ##
2777 # ac_fn_c_try_compile LINENO
2778 # --------------------------
2779 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2780 ac_fn_c_try_compile ()
2782 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2783 rm -f conftest.$ac_objext
2784 if { { ac_try="$ac_compile"
2785 case "(($ac_try" in
2786 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2787 *) ac_try_echo=$ac_try;;
2788 esac
2789 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2790 $as_echo "$ac_try_echo"; } >&5
2791 (eval "$ac_compile") 2>conftest.err
2792 ac_status=$?
2793 if test -s conftest.err; then
2794 grep -v '^ *+' conftest.err >conftest.er1
2795 cat conftest.er1 >&5
2796 mv -f conftest.er1 conftest.err
2798 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2799 test $ac_status = 0; } && {
2800 test -z "$ac_c_werror_flag" ||
2801 test ! -s conftest.err
2802 } && test -s conftest.$ac_objext; then :
2803 ac_retval=0
2804 else
2805 $as_echo "$as_me: failed program was:" >&5
2806 sed 's/^/| /' conftest.$ac_ext >&5
2808 ac_retval=1
2810 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2811 as_fn_set_status $ac_retval
2813 } # ac_fn_c_try_compile
2815 # ac_fn_cxx_try_compile LINENO
2816 # ----------------------------
2817 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2818 ac_fn_cxx_try_compile ()
2820 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2821 rm -f conftest.$ac_objext
2822 if { { ac_try="$ac_compile"
2823 case "(($ac_try" in
2824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2825 *) ac_try_echo=$ac_try;;
2826 esac
2827 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2828 $as_echo "$ac_try_echo"; } >&5
2829 (eval "$ac_compile") 2>conftest.err
2830 ac_status=$?
2831 if test -s conftest.err; then
2832 grep -v '^ *+' conftest.err >conftest.er1
2833 cat conftest.er1 >&5
2834 mv -f conftest.er1 conftest.err
2836 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2837 test $ac_status = 0; } && {
2838 test -z "$ac_cxx_werror_flag" ||
2839 test ! -s conftest.err
2840 } && test -s conftest.$ac_objext; then :
2841 ac_retval=0
2842 else
2843 $as_echo "$as_me: failed program was:" >&5
2844 sed 's/^/| /' conftest.$ac_ext >&5
2846 ac_retval=1
2848 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2849 as_fn_set_status $ac_retval
2851 } # ac_fn_cxx_try_compile
2853 # ac_fn_c_try_link LINENO
2854 # -----------------------
2855 # Try to link conftest.$ac_ext, and return whether this succeeded.
2856 ac_fn_c_try_link ()
2858 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2859 rm -f conftest.$ac_objext conftest$ac_exeext
2860 if { { ac_try="$ac_link"
2861 case "(($ac_try" in
2862 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2863 *) ac_try_echo=$ac_try;;
2864 esac
2865 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2866 $as_echo "$ac_try_echo"; } >&5
2867 (eval "$ac_link") 2>conftest.err
2868 ac_status=$?
2869 if test -s conftest.err; then
2870 grep -v '^ *+' conftest.err >conftest.er1
2871 cat conftest.er1 >&5
2872 mv -f conftest.er1 conftest.err
2874 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2875 test $ac_status = 0; } && {
2876 test -z "$ac_c_werror_flag" ||
2877 test ! -s conftest.err
2878 } && test -s conftest$ac_exeext && {
2879 test "$cross_compiling" = yes ||
2880 test -x conftest$ac_exeext
2881 }; then :
2882 ac_retval=0
2883 else
2884 $as_echo "$as_me: failed program was:" >&5
2885 sed 's/^/| /' conftest.$ac_ext >&5
2887 ac_retval=1
2889 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2890 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2891 # interfere with the next link command; also delete a directory that is
2892 # left behind by Apple's compiler. We do this before executing the actions.
2893 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2894 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2895 as_fn_set_status $ac_retval
2897 } # ac_fn_c_try_link
2899 # ac_fn_c_try_cpp LINENO
2900 # ----------------------
2901 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2902 ac_fn_c_try_cpp ()
2904 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2905 if { { ac_try="$ac_cpp conftest.$ac_ext"
2906 case "(($ac_try" in
2907 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2908 *) ac_try_echo=$ac_try;;
2909 esac
2910 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2911 $as_echo "$ac_try_echo"; } >&5
2912 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2913 ac_status=$?
2914 if test -s conftest.err; then
2915 grep -v '^ *+' conftest.err >conftest.er1
2916 cat conftest.er1 >&5
2917 mv -f conftest.er1 conftest.err
2919 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2920 test $ac_status = 0; } > conftest.i && {
2921 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2922 test ! -s conftest.err
2923 }; then :
2924 ac_retval=0
2925 else
2926 $as_echo "$as_me: failed program was:" >&5
2927 sed 's/^/| /' conftest.$ac_ext >&5
2929 ac_retval=1
2931 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2932 as_fn_set_status $ac_retval
2934 } # ac_fn_c_try_cpp
2936 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2937 # -------------------------------------------------------
2938 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2939 # the include files in INCLUDES and setting the cache variable VAR
2940 # accordingly.
2941 ac_fn_c_check_header_mongrel ()
2943 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2944 if eval \${$3+:} false; then :
2945 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2946 $as_echo_n "checking for $2... " >&6; }
2947 if eval \${$3+:} false; then :
2948 $as_echo_n "(cached) " >&6
2950 eval ac_res=\$$3
2951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2952 $as_echo "$ac_res" >&6; }
2953 else
2954 # Is the header compilable?
2955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2956 $as_echo_n "checking $2 usability... " >&6; }
2957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2958 /* end confdefs.h. */
2960 #include <$2>
2961 _ACEOF
2962 if ac_fn_c_try_compile "$LINENO"; then :
2963 ac_header_compiler=yes
2964 else
2965 ac_header_compiler=no
2967 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2969 $as_echo "$ac_header_compiler" >&6; }
2971 # Is the header present?
2972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2973 $as_echo_n "checking $2 presence... " >&6; }
2974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2975 /* end confdefs.h. */
2976 #include <$2>
2977 _ACEOF
2978 if ac_fn_c_try_cpp "$LINENO"; then :
2979 ac_header_preproc=yes
2980 else
2981 ac_header_preproc=no
2983 rm -f conftest.err conftest.i conftest.$ac_ext
2984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2985 $as_echo "$ac_header_preproc" >&6; }
2987 # So? What about this header?
2988 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2989 yes:no: )
2990 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2991 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2992 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2993 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2995 no:yes:* )
2996 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2997 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2998 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2999 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3000 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3001 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3002 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3003 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3004 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3005 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3006 ( $as_echo "## ------------------------------------ ##
3007 ## Report this to wine-devel@winehq.org ##
3008 ## ------------------------------------ ##"
3009 ) | sed "s/^/$as_me: WARNING: /" >&2
3011 esac
3012 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3013 $as_echo_n "checking for $2... " >&6; }
3014 if eval \${$3+:} false; then :
3015 $as_echo_n "(cached) " >&6
3016 else
3017 eval "$3=\$ac_header_compiler"
3019 eval ac_res=\$$3
3020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3021 $as_echo "$ac_res" >&6; }
3023 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3025 } # ac_fn_c_check_header_mongrel
3027 # ac_fn_c_try_run LINENO
3028 # ----------------------
3029 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
3030 # that executables *can* be run.
3031 ac_fn_c_try_run ()
3033 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3034 if { { ac_try="$ac_link"
3035 case "(($ac_try" in
3036 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3037 *) ac_try_echo=$ac_try;;
3038 esac
3039 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3040 $as_echo "$ac_try_echo"; } >&5
3041 (eval "$ac_link") 2>&5
3042 ac_status=$?
3043 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3044 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
3045 { { case "(($ac_try" in
3046 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3047 *) ac_try_echo=$ac_try;;
3048 esac
3049 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3050 $as_echo "$ac_try_echo"; } >&5
3051 (eval "$ac_try") 2>&5
3052 ac_status=$?
3053 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3054 test $ac_status = 0; }; }; then :
3055 ac_retval=0
3056 else
3057 $as_echo "$as_me: program exited with status $ac_status" >&5
3058 $as_echo "$as_me: failed program was:" >&5
3059 sed 's/^/| /' conftest.$ac_ext >&5
3061 ac_retval=$ac_status
3063 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3064 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3065 as_fn_set_status $ac_retval
3067 } # ac_fn_c_try_run
3069 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
3070 # -------------------------------------------------------
3071 # Tests whether HEADER exists and can be compiled using the include files in
3072 # INCLUDES, setting the cache variable VAR accordingly.
3073 ac_fn_c_check_header_compile ()
3075 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3077 $as_echo_n "checking for $2... " >&6; }
3078 if eval \${$3+:} false; then :
3079 $as_echo_n "(cached) " >&6
3080 else
3081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3082 /* end confdefs.h. */
3084 #include <$2>
3085 _ACEOF
3086 if ac_fn_c_try_compile "$LINENO"; then :
3087 eval "$3=yes"
3088 else
3089 eval "$3=no"
3091 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3093 eval ac_res=\$$3
3094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3095 $as_echo "$ac_res" >&6; }
3096 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3098 } # ac_fn_c_check_header_compile
3100 # ac_fn_objc_try_compile LINENO
3101 # -----------------------------
3102 # Try to compile conftest.$ac_ext, and return whether this succeeded.
3103 ac_fn_objc_try_compile ()
3105 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3106 rm -f conftest.$ac_objext
3107 if { { ac_try="$ac_compile"
3108 case "(($ac_try" in
3109 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3110 *) ac_try_echo=$ac_try;;
3111 esac
3112 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3113 $as_echo "$ac_try_echo"; } >&5
3114 (eval "$ac_compile") 2>conftest.err
3115 ac_status=$?
3116 if test -s conftest.err; then
3117 grep -v '^ *+' conftest.err >conftest.er1
3118 cat conftest.er1 >&5
3119 mv -f conftest.er1 conftest.err
3121 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3122 test $ac_status = 0; } && {
3123 test -z "$ac_objc_werror_flag" ||
3124 test ! -s conftest.err
3125 } && test -s conftest.$ac_objext; then :
3126 ac_retval=0
3127 else
3128 $as_echo "$as_me: failed program was:" >&5
3129 sed 's/^/| /' conftest.$ac_ext >&5
3131 ac_retval=1
3133 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3134 as_fn_set_status $ac_retval
3136 } # ac_fn_objc_try_compile
3138 # ac_fn_objc_try_cpp LINENO
3139 # -------------------------
3140 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3141 ac_fn_objc_try_cpp ()
3143 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3144 if { { ac_try="$ac_cpp conftest.$ac_ext"
3145 case "(($ac_try" in
3146 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3147 *) ac_try_echo=$ac_try;;
3148 esac
3149 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3150 $as_echo "$ac_try_echo"; } >&5
3151 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3152 ac_status=$?
3153 if test -s conftest.err; then
3154 grep -v '^ *+' conftest.err >conftest.er1
3155 cat conftest.er1 >&5
3156 mv -f conftest.er1 conftest.err
3158 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3159 test $ac_status = 0; } > conftest.i && {
3160 test -z "$ac_objc_preproc_warn_flag$ac_objc_werror_flag" ||
3161 test ! -s conftest.err
3162 }; then :
3163 ac_retval=0
3164 else
3165 $as_echo "$as_me: failed program was:" >&5
3166 sed 's/^/| /' conftest.$ac_ext >&5
3168 ac_retval=1
3170 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3171 as_fn_set_status $ac_retval
3173 } # ac_fn_objc_try_cpp
3175 # ac_fn_objc_check_header_mongrel LINENO HEADER VAR INCLUDES
3176 # ----------------------------------------------------------
3177 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3178 # the include files in INCLUDES and setting the cache variable VAR
3179 # accordingly.
3180 ac_fn_objc_check_header_mongrel ()
3182 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3183 if eval \${$3+:} false; then :
3184 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3185 $as_echo_n "checking for $2... " >&6; }
3186 if eval \${$3+:} false; then :
3187 $as_echo_n "(cached) " >&6
3189 eval ac_res=\$$3
3190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3191 $as_echo "$ac_res" >&6; }
3192 else
3193 # Is the header compilable?
3194 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3195 $as_echo_n "checking $2 usability... " >&6; }
3196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3197 /* end confdefs.h. */
3199 #include <$2>
3200 _ACEOF
3201 if ac_fn_objc_try_compile "$LINENO"; then :
3202 ac_header_compiler=yes
3203 else
3204 ac_header_compiler=no
3206 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3208 $as_echo "$ac_header_compiler" >&6; }
3210 # Is the header present?
3211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3212 $as_echo_n "checking $2 presence... " >&6; }
3213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3214 /* end confdefs.h. */
3215 #include <$2>
3216 _ACEOF
3217 if ac_fn_objc_try_cpp "$LINENO"; then :
3218 ac_header_preproc=yes
3219 else
3220 ac_header_preproc=no
3222 rm -f conftest.err conftest.i conftest.$ac_ext
3223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3224 $as_echo "$ac_header_preproc" >&6; }
3226 # So? What about this header?
3227 case $ac_header_compiler:$ac_header_preproc:$ac_objc_preproc_warn_flag in #((
3228 yes:no: )
3229 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3230 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3231 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3232 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3234 no:yes:* )
3235 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3236 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3237 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3238 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3239 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3240 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3241 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3242 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3243 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3244 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3245 ( $as_echo "## ------------------------------------ ##
3246 ## Report this to wine-devel@winehq.org ##
3247 ## ------------------------------------ ##"
3248 ) | sed "s/^/$as_me: WARNING: /" >&2
3250 esac
3251 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3252 $as_echo_n "checking for $2... " >&6; }
3253 if eval \${$3+:} false; then :
3254 $as_echo_n "(cached) " >&6
3255 else
3256 eval "$3=\$ac_header_compiler"
3258 eval ac_res=\$$3
3259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3260 $as_echo "$ac_res" >&6; }
3262 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3264 } # ac_fn_objc_check_header_mongrel
3266 # ac_fn_c_check_func LINENO FUNC VAR
3267 # ----------------------------------
3268 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3269 ac_fn_c_check_func ()
3271 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3273 $as_echo_n "checking for $2... " >&6; }
3274 if eval \${$3+:} false; then :
3275 $as_echo_n "(cached) " >&6
3276 else
3277 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3278 /* end confdefs.h. */
3279 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3280 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3281 #define $2 innocuous_$2
3283 /* System header to define __stub macros and hopefully few prototypes,
3284 which can conflict with char $2 (); below.
3285 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3286 <limits.h> exists even on freestanding compilers. */
3288 #ifdef __STDC__
3289 # include <limits.h>
3290 #else
3291 # include <assert.h>
3292 #endif
3294 #undef $2
3296 /* Override any GCC internal prototype to avoid an error.
3297 Use char because int might match the return type of a GCC
3298 builtin and then its argument prototype would still apply. */
3299 #ifdef __cplusplus
3300 extern "C"
3301 #endif
3302 char $2 ();
3303 /* The GNU C library defines this for functions which it implements
3304 to always fail with ENOSYS. Some functions are actually named
3305 something starting with __ and the normal name is an alias. */
3306 #if defined __stub_$2 || defined __stub___$2
3307 choke me
3308 #endif
3311 main ()
3313 return $2 ();
3315 return 0;
3317 _ACEOF
3318 if ac_fn_c_try_link "$LINENO"; then :
3319 eval "$3=yes"
3320 else
3321 eval "$3=no"
3323 rm -f core conftest.err conftest.$ac_objext \
3324 conftest$ac_exeext conftest.$ac_ext
3326 eval ac_res=\$$3
3327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3328 $as_echo "$ac_res" >&6; }
3329 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3331 } # ac_fn_c_check_func
3333 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3334 # ----------------------------------------------------
3335 # Tries to find if the field MEMBER exists in type AGGR, after including
3336 # INCLUDES, setting cache variable VAR accordingly.
3337 ac_fn_c_check_member ()
3339 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3340 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3341 $as_echo_n "checking for $2.$3... " >&6; }
3342 if eval \${$4+:} false; then :
3343 $as_echo_n "(cached) " >&6
3344 else
3345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3346 /* end confdefs.h. */
3349 main ()
3351 static $2 ac_aggr;
3352 if (ac_aggr.$3)
3353 return 0;
3355 return 0;
3357 _ACEOF
3358 if ac_fn_c_try_compile "$LINENO"; then :
3359 eval "$4=yes"
3360 else
3361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3362 /* end confdefs.h. */
3365 main ()
3367 static $2 ac_aggr;
3368 if (sizeof ac_aggr.$3)
3369 return 0;
3371 return 0;
3373 _ACEOF
3374 if ac_fn_c_try_compile "$LINENO"; then :
3375 eval "$4=yes"
3376 else
3377 eval "$4=no"
3379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3383 eval ac_res=\$$4
3384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3385 $as_echo "$ac_res" >&6; }
3386 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3388 } # ac_fn_c_check_member
3390 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3391 # -------------------------------------------
3392 # Tests whether TYPE exists after having included INCLUDES, setting cache
3393 # variable VAR accordingly.
3394 ac_fn_c_check_type ()
3396 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3398 $as_echo_n "checking for $2... " >&6; }
3399 if eval \${$3+:} false; then :
3400 $as_echo_n "(cached) " >&6
3401 else
3402 eval "$3=no"
3403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3404 /* end confdefs.h. */
3407 main ()
3409 if (sizeof ($2))
3410 return 0;
3412 return 0;
3414 _ACEOF
3415 if ac_fn_c_try_compile "$LINENO"; then :
3416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3417 /* end confdefs.h. */
3420 main ()
3422 if (sizeof (($2)))
3423 return 0;
3425 return 0;
3427 _ACEOF
3428 if ac_fn_c_try_compile "$LINENO"; then :
3430 else
3431 eval "$3=yes"
3433 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3435 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3437 eval ac_res=\$$3
3438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3439 $as_echo "$ac_res" >&6; }
3440 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3442 } # ac_fn_c_check_type
3443 cat >config.log <<_ACEOF
3444 This file contains any messages produced by compilers while
3445 running configure, to aid debugging if configure makes a mistake.
3447 It was created by Wine $as_me 4.20, which was
3448 generated by GNU Autoconf 2.69. Invocation command line was
3450 $ $0 $@
3452 _ACEOF
3453 exec 5>>config.log
3455 cat <<_ASUNAME
3456 ## --------- ##
3457 ## Platform. ##
3458 ## --------- ##
3460 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3461 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3462 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3463 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3464 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3466 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3467 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3469 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3470 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3471 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3472 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3473 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3474 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3475 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3477 _ASUNAME
3479 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3480 for as_dir in $PATH
3482 IFS=$as_save_IFS
3483 test -z "$as_dir" && as_dir=.
3484 $as_echo "PATH: $as_dir"
3485 done
3486 IFS=$as_save_IFS
3488 } >&5
3490 cat >&5 <<_ACEOF
3493 ## ----------- ##
3494 ## Core tests. ##
3495 ## ----------- ##
3497 _ACEOF
3500 # Keep a trace of the command line.
3501 # Strip out --no-create and --no-recursion so they do not pile up.
3502 # Strip out --silent because we don't want to record it for future runs.
3503 # Also quote any args containing shell meta-characters.
3504 # Make two passes to allow for proper duplicate-argument suppression.
3505 ac_configure_args=
3506 ac_configure_args0=
3507 ac_configure_args1=
3508 ac_must_keep_next=false
3509 for ac_pass in 1 2
3511 for ac_arg
3513 case $ac_arg in
3514 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3515 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3516 | -silent | --silent | --silen | --sile | --sil)
3517 continue ;;
3518 *\'*)
3519 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3520 esac
3521 case $ac_pass in
3522 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3524 as_fn_append ac_configure_args1 " '$ac_arg'"
3525 if test $ac_must_keep_next = true; then
3526 ac_must_keep_next=false # Got value, back to normal.
3527 else
3528 case $ac_arg in
3529 *=* | --config-cache | -C | -disable-* | --disable-* \
3530 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3531 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3532 | -with-* | --with-* | -without-* | --without-* | --x)
3533 case "$ac_configure_args0 " in
3534 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3535 esac
3537 -* ) ac_must_keep_next=true ;;
3538 esac
3540 as_fn_append ac_configure_args " '$ac_arg'"
3542 esac
3543 done
3544 done
3545 { ac_configure_args0=; unset ac_configure_args0;}
3546 { ac_configure_args1=; unset ac_configure_args1;}
3548 # When interrupted or exit'd, cleanup temporary files, and complete
3549 # config.log. We remove comments because anyway the quotes in there
3550 # would cause problems or look ugly.
3551 # WARNING: Use '\'' to represent an apostrophe within the trap.
3552 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3553 trap 'exit_status=$?
3554 # Save into config.log some information that might help in debugging.
3556 echo
3558 $as_echo "## ---------------- ##
3559 ## Cache variables. ##
3560 ## ---------------- ##"
3561 echo
3562 # The following way of writing the cache mishandles newlines in values,
3564 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3565 eval ac_val=\$$ac_var
3566 case $ac_val in #(
3567 *${as_nl}*)
3568 case $ac_var in #(
3569 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3570 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3571 esac
3572 case $ac_var in #(
3573 _ | IFS | as_nl) ;; #(
3574 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3575 *) { eval $ac_var=; unset $ac_var;} ;;
3576 esac ;;
3577 esac
3578 done
3579 (set) 2>&1 |
3580 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3581 *${as_nl}ac_space=\ *)
3582 sed -n \
3583 "s/'\''/'\''\\\\'\'''\''/g;
3584 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3585 ;; #(
3587 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3589 esac |
3590 sort
3592 echo
3594 $as_echo "## ----------------- ##
3595 ## Output variables. ##
3596 ## ----------------- ##"
3597 echo
3598 for ac_var in $ac_subst_vars
3600 eval ac_val=\$$ac_var
3601 case $ac_val in
3602 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3603 esac
3604 $as_echo "$ac_var='\''$ac_val'\''"
3605 done | sort
3606 echo
3608 if test -n "$ac_subst_files"; then
3609 $as_echo "## ------------------- ##
3610 ## File substitutions. ##
3611 ## ------------------- ##"
3612 echo
3613 for ac_var in $ac_subst_files
3615 eval ac_val=\$$ac_var
3616 case $ac_val in
3617 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3618 esac
3619 $as_echo "$ac_var='\''$ac_val'\''"
3620 done | sort
3621 echo
3624 if test -s confdefs.h; then
3625 $as_echo "## ----------- ##
3626 ## confdefs.h. ##
3627 ## ----------- ##"
3628 echo
3629 cat confdefs.h
3630 echo
3632 test "$ac_signal" != 0 &&
3633 $as_echo "$as_me: caught signal $ac_signal"
3634 $as_echo "$as_me: exit $exit_status"
3635 } >&5
3636 rm -f core *.core core.conftest.* &&
3637 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3638 exit $exit_status
3640 for ac_signal in 1 2 13 15; do
3641 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3642 done
3643 ac_signal=0
3645 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3646 rm -f -r conftest* confdefs.h
3648 $as_echo "/* confdefs.h */" > confdefs.h
3650 # Predefined preprocessor variables.
3652 cat >>confdefs.h <<_ACEOF
3653 #define PACKAGE_NAME "$PACKAGE_NAME"
3654 _ACEOF
3656 cat >>confdefs.h <<_ACEOF
3657 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3658 _ACEOF
3660 cat >>confdefs.h <<_ACEOF
3661 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3662 _ACEOF
3664 cat >>confdefs.h <<_ACEOF
3665 #define PACKAGE_STRING "$PACKAGE_STRING"
3666 _ACEOF
3668 cat >>confdefs.h <<_ACEOF
3669 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3670 _ACEOF
3672 cat >>confdefs.h <<_ACEOF
3673 #define PACKAGE_URL "$PACKAGE_URL"
3674 _ACEOF
3677 # Let the site file select an alternate cache file if it wants to.
3678 # Prefer an explicitly selected file to automatically selected ones.
3679 ac_site_file1=NONE
3680 ac_site_file2=NONE
3681 if test -n "$CONFIG_SITE"; then
3682 # We do not want a PATH search for config.site.
3683 case $CONFIG_SITE in #((
3684 -*) ac_site_file1=./$CONFIG_SITE;;
3685 */*) ac_site_file1=$CONFIG_SITE;;
3686 *) ac_site_file1=./$CONFIG_SITE;;
3687 esac
3688 elif test "x$prefix" != xNONE; then
3689 ac_site_file1=$prefix/share/config.site
3690 ac_site_file2=$prefix/etc/config.site
3691 else
3692 ac_site_file1=$ac_default_prefix/share/config.site
3693 ac_site_file2=$ac_default_prefix/etc/config.site
3695 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3697 test "x$ac_site_file" = xNONE && continue
3698 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3699 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3700 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3701 sed 's/^/| /' "$ac_site_file" >&5
3702 . "$ac_site_file" \
3703 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3704 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3705 as_fn_error $? "failed to load site script $ac_site_file
3706 See \`config.log' for more details" "$LINENO" 5; }
3708 done
3710 if test -r "$cache_file"; then
3711 # Some versions of bash will fail to source /dev/null (special files
3712 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3713 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3714 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3715 $as_echo "$as_me: loading cache $cache_file" >&6;}
3716 case $cache_file in
3717 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3718 *) . "./$cache_file";;
3719 esac
3721 else
3722 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3723 $as_echo "$as_me: creating cache $cache_file" >&6;}
3724 >$cache_file
3727 # Check that the precious variables saved in the cache have kept the same
3728 # value.
3729 ac_cache_corrupted=false
3730 for ac_var in $ac_precious_vars; do
3731 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3732 eval ac_new_set=\$ac_env_${ac_var}_set
3733 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3734 eval ac_new_val=\$ac_env_${ac_var}_value
3735 case $ac_old_set,$ac_new_set in
3736 set,)
3737 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3738 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3739 ac_cache_corrupted=: ;;
3740 ,set)
3741 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3742 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3743 ac_cache_corrupted=: ;;
3744 ,);;
3746 if test "x$ac_old_val" != "x$ac_new_val"; then
3747 # differences in whitespace do not lead to failure.
3748 ac_old_val_w=`echo x $ac_old_val`
3749 ac_new_val_w=`echo x $ac_new_val`
3750 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3751 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3752 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3753 ac_cache_corrupted=:
3754 else
3755 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3756 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3757 eval $ac_var=\$ac_old_val
3759 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3760 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3761 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3762 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3763 fi;;
3764 esac
3765 # Pass precious variables to config.status.
3766 if test "$ac_new_set" = set; then
3767 case $ac_new_val in
3768 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3769 *) ac_arg=$ac_var=$ac_new_val ;;
3770 esac
3771 case " $ac_configure_args " in
3772 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3773 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3774 esac
3776 done
3777 if $ac_cache_corrupted; then
3778 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3779 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3780 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3781 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3782 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3784 ## -------------------- ##
3785 ## Main body of script. ##
3786 ## -------------------- ##
3788 ac_ext=c
3789 ac_cpp='$CPP $CPPFLAGS'
3790 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3791 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3792 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3796 ac_config_headers="$ac_config_headers include/config.h"
3798 ac_aux_dir=
3799 for ac_dir in tools "$srcdir"/tools; do
3800 if test -f "$ac_dir/install-sh"; then
3801 ac_aux_dir=$ac_dir
3802 ac_install_sh="$ac_aux_dir/install-sh -c"
3803 break
3804 elif test -f "$ac_dir/install.sh"; then
3805 ac_aux_dir=$ac_dir
3806 ac_install_sh="$ac_aux_dir/install.sh -c"
3807 break
3808 elif test -f "$ac_dir/shtool"; then
3809 ac_aux_dir=$ac_dir
3810 ac_install_sh="$ac_aux_dir/shtool install -c"
3811 break
3813 done
3814 if test -z "$ac_aux_dir"; then
3815 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3818 # These three variables are undocumented and unsupported,
3819 # and are intended to be withdrawn in a future Autoconf release.
3820 # They can cause serious problems if a builder's source tree is in a directory
3821 # whose full name contains unusual characters.
3822 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3823 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3824 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3828 libwine_version="1.0"
3832 # Check whether --enable-win16 was given.
3833 if test "${enable_win16+set}" = set; then :
3834 enableval=$enable_win16;
3837 # Check whether --enable-win64 was given.
3838 if test "${enable_win64+set}" = set; then :
3839 enableval=$enable_win64;
3842 # Check whether --enable-tests was given.
3843 if test "${enable_tests+set}" = set; then :
3844 enableval=$enable_tests;
3847 # Check whether --enable-maintainer-mode was given.
3848 if test "${enable_maintainer_mode+set}" = set; then :
3849 enableval=$enable_maintainer_mode;
3854 # Check whether --with-alsa was given.
3855 if test "${with_alsa+set}" = set; then :
3856 withval=$with_alsa;
3860 # Check whether --with-capi was given.
3861 if test "${with_capi+set}" = set; then :
3862 withval=$with_capi;
3866 # Check whether --with-cms was given.
3867 if test "${with_cms+set}" = set; then :
3868 withval=$with_cms;
3872 # Check whether --with-coreaudio was given.
3873 if test "${with_coreaudio+set}" = set; then :
3874 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3878 # Check whether --with-cups was given.
3879 if test "${with_cups+set}" = set; then :
3880 withval=$with_cups;
3884 # Check whether --with-curses was given.
3885 if test "${with_curses+set}" = set; then :
3886 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3890 # Check whether --with-dbus was given.
3891 if test "${with_dbus+set}" = set; then :
3892 withval=$with_dbus;
3896 # Check whether --with-faudio was given.
3897 if test "${with_faudio+set}" = set; then :
3898 withval=$with_faudio;
3902 # Check whether --with-float-abi was given.
3903 if test "${with_float_abi+set}" = set; then :
3904 withval=$with_float_abi;
3908 # Check whether --with-fontconfig was given.
3909 if test "${with_fontconfig+set}" = set; then :
3910 withval=$with_fontconfig;
3914 # Check whether --with-freetype was given.
3915 if test "${with_freetype+set}" = set; then :
3916 withval=$with_freetype;
3920 # Check whether --with-gettext was given.
3921 if test "${with_gettext+set}" = set; then :
3922 withval=$with_gettext;
3926 # Check whether --with-gettextpo was given.
3927 if test "${with_gettextpo+set}" = set; then :
3928 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3932 # Check whether --with-gphoto was given.
3933 if test "${with_gphoto+set}" = set; then :
3934 withval=$with_gphoto;
3938 # Check whether --with-glu was given.
3939 if test "${with_glu+set}" = set; then :
3940 withval=$with_glu;
3944 # Check whether --with-gnutls was given.
3945 if test "${with_gnutls+set}" = set; then :
3946 withval=$with_gnutls;
3950 # Check whether --with-gsm was given.
3951 if test "${with_gsm+set}" = set; then :
3952 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3956 # Check whether --with-gssapi was given.
3957 if test "${with_gssapi+set}" = set; then :
3958 withval=$with_gssapi;
3962 # Check whether --with-gstreamer was given.
3963 if test "${with_gstreamer+set}" = set; then :
3964 withval=$with_gstreamer;
3968 # Check whether --with-hal was given.
3969 if test "${with_hal+set}" = set; then :
3970 withval=$with_hal;
3974 # Check whether --with-inotify was given.
3975 if test "${with_inotify+set}" = set; then :
3976 withval=$with_inotify;
3980 # Check whether --with-jpeg was given.
3981 if test "${with_jpeg+set}" = set; then :
3982 withval=$with_jpeg;
3986 # Check whether --with-krb5 was given.
3987 if test "${with_krb5+set}" = set; then :
3988 withval=$with_krb5;
3992 # Check whether --with-ldap was given.
3993 if test "${with_ldap+set}" = set; then :
3994 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3998 # Check whether --with-mingw was given.
3999 if test "${with_mingw+set}" = set; then :
4000 withval=$with_mingw;
4004 # Check whether --with-mpg123 was given.
4005 if test "${with_mpg123+set}" = set; then :
4006 withval=$with_mpg123;
4010 # Check whether --with-netapi was given.
4011 if test "${with_netapi+set}" = set; then :
4012 withval=$with_netapi;
4016 # Check whether --with-openal was given.
4017 if test "${with_openal+set}" = set; then :
4018 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
4022 # Check whether --with-opencl was given.
4023 if test "${with_opencl+set}" = set; then :
4024 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4028 # Check whether --with-opengl was given.
4029 if test "${with_opengl+set}" = set; then :
4030 withval=$with_opengl;
4034 # Check whether --with-osmesa was given.
4035 if test "${with_osmesa+set}" = set; then :
4036 withval=$with_osmesa;
4040 # Check whether --with-oss was given.
4041 if test "${with_oss+set}" = set; then :
4042 withval=$with_oss;
4046 # Check whether --with-pcap was given.
4047 if test "${with_pcap+set}" = set; then :
4048 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4052 # Check whether --with-png was given.
4053 if test "${with_png+set}" = set; then :
4054 withval=$with_png;
4058 # Check whether --with-pthread was given.
4059 if test "${with_pthread+set}" = set; then :
4060 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4064 # Check whether --with-pulse was given.
4065 if test "${with_pulse+set}" = set; then :
4066 withval=$with_pulse;
4070 # Check whether --with-sane was given.
4071 if test "${with_sane+set}" = set; then :
4072 withval=$with_sane;
4076 # Check whether --with-sdl was given.
4077 if test "${with_sdl+set}" = set; then :
4078 withval=$with_sdl;
4082 # Check whether --with-tiff was given.
4083 if test "${with_tiff+set}" = set; then :
4084 withval=$with_tiff;
4088 # Check whether --with-udev was given.
4089 if test "${with_udev+set}" = set; then :
4090 withval=$with_udev;
4094 # Check whether --with-unwind was given.
4095 if test "${with_unwind+set}" = set; then :
4096 withval=$with_unwind;
4100 # Check whether --with-v4l2 was given.
4101 if test "${with_v4l2+set}" = set; then :
4102 withval=$with_v4l2;
4106 # Check whether --with-vkd3d was given.
4107 if test "${with_vkd3d+set}" = set; then :
4108 withval=$with_vkd3d;
4112 # Check whether --with-vulkan was given.
4113 if test "${with_vulkan+set}" = set; then :
4114 withval=$with_vulkan;
4118 # Check whether --with-xcomposite was given.
4119 if test "${with_xcomposite+set}" = set; then :
4120 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4124 # Check whether --with-xcursor was given.
4125 if test "${with_xcursor+set}" = set; then :
4126 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4130 # Check whether --with-xfixes was given.
4131 if test "${with_xfixes+set}" = set; then :
4132 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4136 # Check whether --with-xinerama was given.
4137 if test "${with_xinerama+set}" = set; then :
4138 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4142 # Check whether --with-xinput was given.
4143 if test "${with_xinput+set}" = set; then :
4144 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4148 # Check whether --with-xinput2 was given.
4149 if test "${with_xinput2+set}" = set; then :
4150 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4154 # Check whether --with-xml was given.
4155 if test "${with_xml+set}" = set; then :
4156 withval=$with_xml;
4160 # Check whether --with-xrandr was given.
4161 if test "${with_xrandr+set}" = set; then :
4162 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4166 # Check whether --with-xrender was given.
4167 if test "${with_xrender+set}" = set; then :
4168 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4172 # Check whether --with-xshape was given.
4173 if test "${with_xshape+set}" = set; then :
4174 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4178 # Check whether --with-xshm was given.
4179 if test "${with_xshm+set}" = set; then :
4180 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4184 # Check whether --with-xslt was given.
4185 if test "${with_xslt+set}" = set; then :
4186 withval=$with_xslt;
4190 # Check whether --with-xxf86vm was given.
4191 if test "${with_xxf86vm+set}" = set; then :
4192 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
4196 # Check whether --with-zlib was given.
4197 if test "${with_zlib+set}" = set; then :
4198 withval=$with_zlib;
4203 # Check whether --with-wine-tools was given.
4204 if test "${with_wine_tools+set}" = set; then :
4205 withval=$with_wine_tools;
4209 # Check whether --with-wine64 was given.
4210 if test "${with_wine64+set}" = set; then :
4211 withval=$with_wine64;
4215 # Make sure we can run config.sub.
4216 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4217 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4219 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4220 $as_echo_n "checking build system type... " >&6; }
4221 if ${ac_cv_build+:} false; then :
4222 $as_echo_n "(cached) " >&6
4223 else
4224 ac_build_alias=$build_alias
4225 test "x$ac_build_alias" = x &&
4226 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4227 test "x$ac_build_alias" = x &&
4228 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4229 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4230 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4234 $as_echo "$ac_cv_build" >&6; }
4235 case $ac_cv_build in
4236 *-*-*) ;;
4237 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4238 esac
4239 build=$ac_cv_build
4240 ac_save_IFS=$IFS; IFS='-'
4241 set x $ac_cv_build
4242 shift
4243 build_cpu=$1
4244 build_vendor=$2
4245 shift; shift
4246 # Remember, the first character of IFS is used to create $*,
4247 # except with old shells:
4248 build_os=$*
4249 IFS=$ac_save_IFS
4250 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4253 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4254 $as_echo_n "checking host system type... " >&6; }
4255 if ${ac_cv_host+:} false; then :
4256 $as_echo_n "(cached) " >&6
4257 else
4258 if test "x$host_alias" = x; then
4259 ac_cv_host=$ac_cv_build
4260 else
4261 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4262 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4267 $as_echo "$ac_cv_host" >&6; }
4268 case $ac_cv_host in
4269 *-*-*) ;;
4270 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4271 esac
4272 host=$ac_cv_host
4273 ac_save_IFS=$IFS; IFS='-'
4274 set x $ac_cv_host
4275 shift
4276 host_cpu=$1
4277 host_vendor=$2
4278 shift; shift
4279 # Remember, the first character of IFS is used to create $*,
4280 # except with old shells:
4281 host_os=$*
4282 IFS=$ac_save_IFS
4283 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4287 case "$srcdir" in
4288 .) ;;
4289 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
4290 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
4291 You need to run 'make distclean' in the source tree first." "$LINENO" 5
4292 fi ;;
4293 esac
4296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4297 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4298 set x ${MAKE-make}
4299 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4300 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4301 $as_echo_n "(cached) " >&6
4302 else
4303 cat >conftest.make <<\_ACEOF
4304 SHELL = /bin/sh
4305 all:
4306 @echo '@@@%%%=$(MAKE)=@@@%%%'
4307 _ACEOF
4308 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4309 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4310 *@@@%%%=?*=@@@%%%*)
4311 eval ac_cv_prog_make_${ac_make}_set=yes;;
4313 eval ac_cv_prog_make_${ac_make}_set=no;;
4314 esac
4315 rm -f conftest.make
4317 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4319 $as_echo "yes" >&6; }
4320 SET_MAKE=
4321 else
4322 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4323 $as_echo "no" >&6; }
4324 SET_MAKE="MAKE=${MAKE-make}"
4327 ac_ext=c
4328 ac_cpp='$CPP $CPPFLAGS'
4329 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4330 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4331 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4332 if test -n "$ac_tool_prefix"; then
4333 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4334 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4336 $as_echo_n "checking for $ac_word... " >&6; }
4337 if ${ac_cv_prog_CC+:} false; then :
4338 $as_echo_n "(cached) " >&6
4339 else
4340 if test -n "$CC"; then
4341 ac_cv_prog_CC="$CC" # Let the user override the test.
4342 else
4343 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4344 for as_dir in $PATH
4346 IFS=$as_save_IFS
4347 test -z "$as_dir" && as_dir=.
4348 for ac_exec_ext in '' $ac_executable_extensions; do
4349 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4350 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4351 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4352 break 2
4354 done
4355 done
4356 IFS=$as_save_IFS
4360 CC=$ac_cv_prog_CC
4361 if test -n "$CC"; then
4362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4363 $as_echo "$CC" >&6; }
4364 else
4365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4366 $as_echo "no" >&6; }
4371 if test -z "$ac_cv_prog_CC"; then
4372 ac_ct_CC=$CC
4373 # Extract the first word of "gcc", so it can be a program name with args.
4374 set dummy gcc; ac_word=$2
4375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4376 $as_echo_n "checking for $ac_word... " >&6; }
4377 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4378 $as_echo_n "(cached) " >&6
4379 else
4380 if test -n "$ac_ct_CC"; then
4381 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4382 else
4383 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4384 for as_dir in $PATH
4386 IFS=$as_save_IFS
4387 test -z "$as_dir" && as_dir=.
4388 for ac_exec_ext in '' $ac_executable_extensions; do
4389 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4390 ac_cv_prog_ac_ct_CC="gcc"
4391 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4392 break 2
4394 done
4395 done
4396 IFS=$as_save_IFS
4400 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4401 if test -n "$ac_ct_CC"; then
4402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4403 $as_echo "$ac_ct_CC" >&6; }
4404 else
4405 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4406 $as_echo "no" >&6; }
4409 if test "x$ac_ct_CC" = x; then
4410 CC=""
4411 else
4412 case $cross_compiling:$ac_tool_warned in
4413 yes:)
4414 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4415 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4416 ac_tool_warned=yes ;;
4417 esac
4418 CC=$ac_ct_CC
4420 else
4421 CC="$ac_cv_prog_CC"
4424 if test -z "$CC"; then
4425 if test -n "$ac_tool_prefix"; then
4426 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4427 set dummy ${ac_tool_prefix}cc; ac_word=$2
4428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4429 $as_echo_n "checking for $ac_word... " >&6; }
4430 if ${ac_cv_prog_CC+:} false; then :
4431 $as_echo_n "(cached) " >&6
4432 else
4433 if test -n "$CC"; then
4434 ac_cv_prog_CC="$CC" # Let the user override the test.
4435 else
4436 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4437 for as_dir in $PATH
4439 IFS=$as_save_IFS
4440 test -z "$as_dir" && as_dir=.
4441 for ac_exec_ext in '' $ac_executable_extensions; do
4442 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4443 ac_cv_prog_CC="${ac_tool_prefix}cc"
4444 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4445 break 2
4447 done
4448 done
4449 IFS=$as_save_IFS
4453 CC=$ac_cv_prog_CC
4454 if test -n "$CC"; then
4455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4456 $as_echo "$CC" >&6; }
4457 else
4458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4459 $as_echo "no" >&6; }
4465 if test -z "$CC"; then
4466 # Extract the first word of "cc", so it can be a program name with args.
4467 set dummy cc; ac_word=$2
4468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4469 $as_echo_n "checking for $ac_word... " >&6; }
4470 if ${ac_cv_prog_CC+:} false; then :
4471 $as_echo_n "(cached) " >&6
4472 else
4473 if test -n "$CC"; then
4474 ac_cv_prog_CC="$CC" # Let the user override the test.
4475 else
4476 ac_prog_rejected=no
4477 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4478 for as_dir in $PATH
4480 IFS=$as_save_IFS
4481 test -z "$as_dir" && as_dir=.
4482 for ac_exec_ext in '' $ac_executable_extensions; do
4483 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4484 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4485 ac_prog_rejected=yes
4486 continue
4488 ac_cv_prog_CC="cc"
4489 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4490 break 2
4492 done
4493 done
4494 IFS=$as_save_IFS
4496 if test $ac_prog_rejected = yes; then
4497 # We found a bogon in the path, so make sure we never use it.
4498 set dummy $ac_cv_prog_CC
4499 shift
4500 if test $# != 0; then
4501 # We chose a different compiler from the bogus one.
4502 # However, it has the same basename, so the bogon will be chosen
4503 # first if we set CC to just the basename; use the full file name.
4504 shift
4505 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4510 CC=$ac_cv_prog_CC
4511 if test -n "$CC"; then
4512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4513 $as_echo "$CC" >&6; }
4514 else
4515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4516 $as_echo "no" >&6; }
4521 if test -z "$CC"; then
4522 if test -n "$ac_tool_prefix"; then
4523 for ac_prog in cl.exe
4525 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4526 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4527 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4528 $as_echo_n "checking for $ac_word... " >&6; }
4529 if ${ac_cv_prog_CC+:} false; then :
4530 $as_echo_n "(cached) " >&6
4531 else
4532 if test -n "$CC"; then
4533 ac_cv_prog_CC="$CC" # Let the user override the test.
4534 else
4535 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4536 for as_dir in $PATH
4538 IFS=$as_save_IFS
4539 test -z "$as_dir" && as_dir=.
4540 for ac_exec_ext in '' $ac_executable_extensions; do
4541 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4542 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4543 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4544 break 2
4546 done
4547 done
4548 IFS=$as_save_IFS
4552 CC=$ac_cv_prog_CC
4553 if test -n "$CC"; then
4554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4555 $as_echo "$CC" >&6; }
4556 else
4557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4558 $as_echo "no" >&6; }
4562 test -n "$CC" && break
4563 done
4565 if test -z "$CC"; then
4566 ac_ct_CC=$CC
4567 for ac_prog in cl.exe
4569 # Extract the first word of "$ac_prog", so it can be a program name with args.
4570 set dummy $ac_prog; ac_word=$2
4571 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4572 $as_echo_n "checking for $ac_word... " >&6; }
4573 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4574 $as_echo_n "(cached) " >&6
4575 else
4576 if test -n "$ac_ct_CC"; then
4577 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4578 else
4579 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4580 for as_dir in $PATH
4582 IFS=$as_save_IFS
4583 test -z "$as_dir" && as_dir=.
4584 for ac_exec_ext in '' $ac_executable_extensions; do
4585 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4586 ac_cv_prog_ac_ct_CC="$ac_prog"
4587 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4588 break 2
4590 done
4591 done
4592 IFS=$as_save_IFS
4596 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4597 if test -n "$ac_ct_CC"; then
4598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4599 $as_echo "$ac_ct_CC" >&6; }
4600 else
4601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4602 $as_echo "no" >&6; }
4606 test -n "$ac_ct_CC" && break
4607 done
4609 if test "x$ac_ct_CC" = x; then
4610 CC=""
4611 else
4612 case $cross_compiling:$ac_tool_warned in
4613 yes:)
4614 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4615 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4616 ac_tool_warned=yes ;;
4617 esac
4618 CC=$ac_ct_CC
4625 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4626 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4627 as_fn_error $? "no acceptable C compiler found in \$PATH
4628 See \`config.log' for more details" "$LINENO" 5; }
4630 # Provide some information about the compiler.
4631 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4632 set X $ac_compile
4633 ac_compiler=$2
4634 for ac_option in --version -v -V -qversion; do
4635 { { ac_try="$ac_compiler $ac_option >&5"
4636 case "(($ac_try" in
4637 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4638 *) ac_try_echo=$ac_try;;
4639 esac
4640 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4641 $as_echo "$ac_try_echo"; } >&5
4642 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4643 ac_status=$?
4644 if test -s conftest.err; then
4645 sed '10a\
4646 ... rest of stderr output deleted ...
4647 10q' conftest.err >conftest.er1
4648 cat conftest.er1 >&5
4650 rm -f conftest.er1 conftest.err
4651 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4652 test $ac_status = 0; }
4653 done
4655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4656 /* end confdefs.h. */
4659 main ()
4663 return 0;
4665 _ACEOF
4666 ac_clean_files_save=$ac_clean_files
4667 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4668 # Try to create an executable without -o first, disregard a.out.
4669 # It will help us diagnose broken compilers, and finding out an intuition
4670 # of exeext.
4671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4672 $as_echo_n "checking whether the C compiler works... " >&6; }
4673 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4675 # The possible output files:
4676 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4678 ac_rmfiles=
4679 for ac_file in $ac_files
4681 case $ac_file in
4682 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4683 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4684 esac
4685 done
4686 rm -f $ac_rmfiles
4688 if { { ac_try="$ac_link_default"
4689 case "(($ac_try" in
4690 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4691 *) ac_try_echo=$ac_try;;
4692 esac
4693 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4694 $as_echo "$ac_try_echo"; } >&5
4695 (eval "$ac_link_default") 2>&5
4696 ac_status=$?
4697 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4698 test $ac_status = 0; }; then :
4699 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4700 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4701 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4702 # so that the user can short-circuit this test for compilers unknown to
4703 # Autoconf.
4704 for ac_file in $ac_files ''
4706 test -f "$ac_file" || continue
4707 case $ac_file in
4708 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4710 [ab].out )
4711 # We found the default executable, but exeext='' is most
4712 # certainly right.
4713 break;;
4714 *.* )
4715 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4716 then :; else
4717 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4719 # We set ac_cv_exeext here because the later test for it is not
4720 # safe: cross compilers may not add the suffix if given an `-o'
4721 # argument, so we may need to know it at that point already.
4722 # Even if this section looks crufty: it has the advantage of
4723 # actually working.
4724 break;;
4726 break;;
4727 esac
4728 done
4729 test "$ac_cv_exeext" = no && ac_cv_exeext=
4731 else
4732 ac_file=''
4734 if test -z "$ac_file"; then :
4735 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4736 $as_echo "no" >&6; }
4737 $as_echo "$as_me: failed program was:" >&5
4738 sed 's/^/| /' conftest.$ac_ext >&5
4740 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4741 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4742 as_fn_error 77 "C compiler cannot create executables
4743 See \`config.log' for more details" "$LINENO" 5; }
4744 else
4745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4746 $as_echo "yes" >&6; }
4748 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4749 $as_echo_n "checking for C compiler default output file name... " >&6; }
4750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4751 $as_echo "$ac_file" >&6; }
4752 ac_exeext=$ac_cv_exeext
4754 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4755 ac_clean_files=$ac_clean_files_save
4756 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4757 $as_echo_n "checking for suffix of executables... " >&6; }
4758 if { { ac_try="$ac_link"
4759 case "(($ac_try" in
4760 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4761 *) ac_try_echo=$ac_try;;
4762 esac
4763 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4764 $as_echo "$ac_try_echo"; } >&5
4765 (eval "$ac_link") 2>&5
4766 ac_status=$?
4767 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4768 test $ac_status = 0; }; then :
4769 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4770 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4771 # work properly (i.e., refer to `conftest.exe'), while it won't with
4772 # `rm'.
4773 for ac_file in conftest.exe conftest conftest.*; do
4774 test -f "$ac_file" || continue
4775 case $ac_file in
4776 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4777 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4778 break;;
4779 * ) break;;
4780 esac
4781 done
4782 else
4783 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4784 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4785 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4786 See \`config.log' for more details" "$LINENO" 5; }
4788 rm -f conftest conftest$ac_cv_exeext
4789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4790 $as_echo "$ac_cv_exeext" >&6; }
4792 rm -f conftest.$ac_ext
4793 EXEEXT=$ac_cv_exeext
4794 ac_exeext=$EXEEXT
4795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4796 /* end confdefs.h. */
4797 #include <stdio.h>
4799 main ()
4801 FILE *f = fopen ("conftest.out", "w");
4802 return ferror (f) || fclose (f) != 0;
4805 return 0;
4807 _ACEOF
4808 ac_clean_files="$ac_clean_files conftest.out"
4809 # Check that the compiler produces executables we can run. If not, either
4810 # the compiler is broken, or we cross compile.
4811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4812 $as_echo_n "checking whether we are cross compiling... " >&6; }
4813 if test "$cross_compiling" != yes; then
4814 { { ac_try="$ac_link"
4815 case "(($ac_try" in
4816 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4817 *) ac_try_echo=$ac_try;;
4818 esac
4819 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4820 $as_echo "$ac_try_echo"; } >&5
4821 (eval "$ac_link") 2>&5
4822 ac_status=$?
4823 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4824 test $ac_status = 0; }
4825 if { ac_try='./conftest$ac_cv_exeext'
4826 { { case "(($ac_try" in
4827 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4828 *) ac_try_echo=$ac_try;;
4829 esac
4830 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4831 $as_echo "$ac_try_echo"; } >&5
4832 (eval "$ac_try") 2>&5
4833 ac_status=$?
4834 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4835 test $ac_status = 0; }; }; then
4836 cross_compiling=no
4837 else
4838 if test "$cross_compiling" = maybe; then
4839 cross_compiling=yes
4840 else
4841 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4842 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4843 as_fn_error $? "cannot run C compiled programs.
4844 If you meant to cross compile, use \`--host'.
4845 See \`config.log' for more details" "$LINENO" 5; }
4849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4850 $as_echo "$cross_compiling" >&6; }
4852 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4853 ac_clean_files=$ac_clean_files_save
4854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4855 $as_echo_n "checking for suffix of object files... " >&6; }
4856 if ${ac_cv_objext+:} false; then :
4857 $as_echo_n "(cached) " >&6
4858 else
4859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4860 /* end confdefs.h. */
4863 main ()
4867 return 0;
4869 _ACEOF
4870 rm -f conftest.o conftest.obj
4871 if { { ac_try="$ac_compile"
4872 case "(($ac_try" in
4873 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4874 *) ac_try_echo=$ac_try;;
4875 esac
4876 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4877 $as_echo "$ac_try_echo"; } >&5
4878 (eval "$ac_compile") 2>&5
4879 ac_status=$?
4880 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4881 test $ac_status = 0; }; then :
4882 for ac_file in conftest.o conftest.obj conftest.*; do
4883 test -f "$ac_file" || continue;
4884 case $ac_file in
4885 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4886 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4887 break;;
4888 esac
4889 done
4890 else
4891 $as_echo "$as_me: failed program was:" >&5
4892 sed 's/^/| /' conftest.$ac_ext >&5
4894 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4895 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4896 as_fn_error $? "cannot compute suffix of object files: cannot compile
4897 See \`config.log' for more details" "$LINENO" 5; }
4899 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4902 $as_echo "$ac_cv_objext" >&6; }
4903 OBJEXT=$ac_cv_objext
4904 ac_objext=$OBJEXT
4905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4906 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4907 if ${ac_cv_c_compiler_gnu+:} false; then :
4908 $as_echo_n "(cached) " >&6
4909 else
4910 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4911 /* end confdefs.h. */
4914 main ()
4916 #ifndef __GNUC__
4917 choke me
4918 #endif
4921 return 0;
4923 _ACEOF
4924 if ac_fn_c_try_compile "$LINENO"; then :
4925 ac_compiler_gnu=yes
4926 else
4927 ac_compiler_gnu=no
4929 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4930 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4934 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4935 if test $ac_compiler_gnu = yes; then
4936 GCC=yes
4937 else
4938 GCC=
4940 ac_test_CFLAGS=${CFLAGS+set}
4941 ac_save_CFLAGS=$CFLAGS
4942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4943 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4944 if ${ac_cv_prog_cc_g+:} false; then :
4945 $as_echo_n "(cached) " >&6
4946 else
4947 ac_save_c_werror_flag=$ac_c_werror_flag
4948 ac_c_werror_flag=yes
4949 ac_cv_prog_cc_g=no
4950 CFLAGS="-g"
4951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4952 /* end confdefs.h. */
4955 main ()
4959 return 0;
4961 _ACEOF
4962 if ac_fn_c_try_compile "$LINENO"; then :
4963 ac_cv_prog_cc_g=yes
4964 else
4965 CFLAGS=""
4966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4967 /* end confdefs.h. */
4970 main ()
4974 return 0;
4976 _ACEOF
4977 if ac_fn_c_try_compile "$LINENO"; then :
4979 else
4980 ac_c_werror_flag=$ac_save_c_werror_flag
4981 CFLAGS="-g"
4982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4983 /* end confdefs.h. */
4986 main ()
4990 return 0;
4992 _ACEOF
4993 if ac_fn_c_try_compile "$LINENO"; then :
4994 ac_cv_prog_cc_g=yes
4996 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4998 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5000 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5001 ac_c_werror_flag=$ac_save_c_werror_flag
5003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5004 $as_echo "$ac_cv_prog_cc_g" >&6; }
5005 if test "$ac_test_CFLAGS" = set; then
5006 CFLAGS=$ac_save_CFLAGS
5007 elif test $ac_cv_prog_cc_g = yes; then
5008 if test "$GCC" = yes; then
5009 CFLAGS="-g -O2"
5010 else
5011 CFLAGS="-g"
5013 else
5014 if test "$GCC" = yes; then
5015 CFLAGS="-O2"
5016 else
5017 CFLAGS=
5020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5021 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5022 if ${ac_cv_prog_cc_c89+:} false; then :
5023 $as_echo_n "(cached) " >&6
5024 else
5025 ac_cv_prog_cc_c89=no
5026 ac_save_CC=$CC
5027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5028 /* end confdefs.h. */
5029 #include <stdarg.h>
5030 #include <stdio.h>
5031 struct stat;
5032 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5033 struct buf { int x; };
5034 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5035 static char *e (p, i)
5036 char **p;
5037 int i;
5039 return p[i];
5041 static char *f (char * (*g) (char **, int), char **p, ...)
5043 char *s;
5044 va_list v;
5045 va_start (v,p);
5046 s = g (p, va_arg (v,int));
5047 va_end (v);
5048 return s;
5051 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5052 function prototypes and stuff, but not '\xHH' hex character constants.
5053 These don't provoke an error unfortunately, instead are silently treated
5054 as 'x'. The following induces an error, until -std is added to get
5055 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5056 array size at least. It's necessary to write '\x00'==0 to get something
5057 that's true only with -std. */
5058 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5060 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5061 inside strings and character constants. */
5062 #define FOO(x) 'x'
5063 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5065 int test (int i, double x);
5066 struct s1 {int (*f) (int a);};
5067 struct s2 {int (*f) (double a);};
5068 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5069 int argc;
5070 char **argv;
5072 main ()
5074 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5076 return 0;
5078 _ACEOF
5079 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5080 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5082 CC="$ac_save_CC $ac_arg"
5083 if ac_fn_c_try_compile "$LINENO"; then :
5084 ac_cv_prog_cc_c89=$ac_arg
5086 rm -f core conftest.err conftest.$ac_objext
5087 test "x$ac_cv_prog_cc_c89" != "xno" && break
5088 done
5089 rm -f conftest.$ac_ext
5090 CC=$ac_save_CC
5093 # AC_CACHE_VAL
5094 case "x$ac_cv_prog_cc_c89" in
5096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5097 $as_echo "none needed" >&6; } ;;
5098 xno)
5099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5100 $as_echo "unsupported" >&6; } ;;
5102 CC="$CC $ac_cv_prog_cc_c89"
5103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5104 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5105 esac
5106 if test "x$ac_cv_prog_cc_c89" != xno; then :
5110 ac_ext=c
5111 ac_cpp='$CPP $CPPFLAGS'
5112 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5113 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5114 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5116 ac_ext=cpp
5117 ac_cpp='$CXXCPP $CPPFLAGS'
5118 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5119 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5120 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5121 if test -z "$CXX"; then
5122 if test -n "$CCC"; then
5123 CXX=$CCC
5124 else
5125 if test -n "$ac_tool_prefix"; then
5126 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5128 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5129 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5130 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5131 $as_echo_n "checking for $ac_word... " >&6; }
5132 if ${ac_cv_prog_CXX+:} false; then :
5133 $as_echo_n "(cached) " >&6
5134 else
5135 if test -n "$CXX"; then
5136 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5137 else
5138 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5139 for as_dir in $PATH
5141 IFS=$as_save_IFS
5142 test -z "$as_dir" && as_dir=.
5143 for ac_exec_ext in '' $ac_executable_extensions; do
5144 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5145 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5146 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5147 break 2
5149 done
5150 done
5151 IFS=$as_save_IFS
5155 CXX=$ac_cv_prog_CXX
5156 if test -n "$CXX"; then
5157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5158 $as_echo "$CXX" >&6; }
5159 else
5160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5161 $as_echo "no" >&6; }
5165 test -n "$CXX" && break
5166 done
5168 if test -z "$CXX"; then
5169 ac_ct_CXX=$CXX
5170 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5172 # Extract the first word of "$ac_prog", so it can be a program name with args.
5173 set dummy $ac_prog; ac_word=$2
5174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5175 $as_echo_n "checking for $ac_word... " >&6; }
5176 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5177 $as_echo_n "(cached) " >&6
5178 else
5179 if test -n "$ac_ct_CXX"; then
5180 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5181 else
5182 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5183 for as_dir in $PATH
5185 IFS=$as_save_IFS
5186 test -z "$as_dir" && as_dir=.
5187 for ac_exec_ext in '' $ac_executable_extensions; do
5188 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5189 ac_cv_prog_ac_ct_CXX="$ac_prog"
5190 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5191 break 2
5193 done
5194 done
5195 IFS=$as_save_IFS
5199 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5200 if test -n "$ac_ct_CXX"; then
5201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5202 $as_echo "$ac_ct_CXX" >&6; }
5203 else
5204 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5205 $as_echo "no" >&6; }
5209 test -n "$ac_ct_CXX" && break
5210 done
5212 if test "x$ac_ct_CXX" = x; then
5213 CXX="g++"
5214 else
5215 case $cross_compiling:$ac_tool_warned in
5216 yes:)
5217 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5218 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5219 ac_tool_warned=yes ;;
5220 esac
5221 CXX=$ac_ct_CXX
5227 # Provide some information about the compiler.
5228 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5229 set X $ac_compile
5230 ac_compiler=$2
5231 for ac_option in --version -v -V -qversion; do
5232 { { ac_try="$ac_compiler $ac_option >&5"
5233 case "(($ac_try" in
5234 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5235 *) ac_try_echo=$ac_try;;
5236 esac
5237 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5238 $as_echo "$ac_try_echo"; } >&5
5239 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5240 ac_status=$?
5241 if test -s conftest.err; then
5242 sed '10a\
5243 ... rest of stderr output deleted ...
5244 10q' conftest.err >conftest.er1
5245 cat conftest.er1 >&5
5247 rm -f conftest.er1 conftest.err
5248 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5249 test $ac_status = 0; }
5250 done
5252 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5253 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5254 if ${ac_cv_cxx_compiler_gnu+:} false; then :
5255 $as_echo_n "(cached) " >&6
5256 else
5257 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5258 /* end confdefs.h. */
5261 main ()
5263 #ifndef __GNUC__
5264 choke me
5265 #endif
5268 return 0;
5270 _ACEOF
5271 if ac_fn_cxx_try_compile "$LINENO"; then :
5272 ac_compiler_gnu=yes
5273 else
5274 ac_compiler_gnu=no
5276 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5277 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5281 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5282 if test $ac_compiler_gnu = yes; then
5283 GXX=yes
5284 else
5285 GXX=
5287 ac_test_CXXFLAGS=${CXXFLAGS+set}
5288 ac_save_CXXFLAGS=$CXXFLAGS
5289 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5290 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5291 if ${ac_cv_prog_cxx_g+:} false; then :
5292 $as_echo_n "(cached) " >&6
5293 else
5294 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5295 ac_cxx_werror_flag=yes
5296 ac_cv_prog_cxx_g=no
5297 CXXFLAGS="-g"
5298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5299 /* end confdefs.h. */
5302 main ()
5306 return 0;
5308 _ACEOF
5309 if ac_fn_cxx_try_compile "$LINENO"; then :
5310 ac_cv_prog_cxx_g=yes
5311 else
5312 CXXFLAGS=""
5313 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5314 /* end confdefs.h. */
5317 main ()
5321 return 0;
5323 _ACEOF
5324 if ac_fn_cxx_try_compile "$LINENO"; then :
5326 else
5327 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5328 CXXFLAGS="-g"
5329 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5330 /* end confdefs.h. */
5333 main ()
5337 return 0;
5339 _ACEOF
5340 if ac_fn_cxx_try_compile "$LINENO"; then :
5341 ac_cv_prog_cxx_g=yes
5343 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5345 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5348 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5351 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5352 if test "$ac_test_CXXFLAGS" = set; then
5353 CXXFLAGS=$ac_save_CXXFLAGS
5354 elif test $ac_cv_prog_cxx_g = yes; then
5355 if test "$GXX" = yes; then
5356 CXXFLAGS="-g -O2"
5357 else
5358 CXXFLAGS="-g"
5360 else
5361 if test "$GXX" = yes; then
5362 CXXFLAGS="-O2"
5363 else
5364 CXXFLAGS=
5367 ac_ext=c
5368 ac_cpp='$CPP $CPPFLAGS'
5369 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5370 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5371 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5373 if test -n "$ac_tool_prefix"; then
5374 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5375 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5377 $as_echo_n "checking for $ac_word... " >&6; }
5378 if ${ac_cv_prog_CPPBIN+:} false; then :
5379 $as_echo_n "(cached) " >&6
5380 else
5381 if test -n "$CPPBIN"; then
5382 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5383 else
5384 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5385 for as_dir in $PATH
5387 IFS=$as_save_IFS
5388 test -z "$as_dir" && as_dir=.
5389 for ac_exec_ext in '' $ac_executable_extensions; do
5390 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5391 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5392 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5393 break 2
5395 done
5396 done
5397 IFS=$as_save_IFS
5401 CPPBIN=$ac_cv_prog_CPPBIN
5402 if test -n "$CPPBIN"; then
5403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5404 $as_echo "$CPPBIN" >&6; }
5405 else
5406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5407 $as_echo "no" >&6; }
5412 if test -z "$ac_cv_prog_CPPBIN"; then
5413 ac_ct_CPPBIN=$CPPBIN
5414 # Extract the first word of "cpp", so it can be a program name with args.
5415 set dummy cpp; ac_word=$2
5416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5417 $as_echo_n "checking for $ac_word... " >&6; }
5418 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
5419 $as_echo_n "(cached) " >&6
5420 else
5421 if test -n "$ac_ct_CPPBIN"; then
5422 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
5423 else
5424 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5425 for as_dir in $PATH
5427 IFS=$as_save_IFS
5428 test -z "$as_dir" && as_dir=.
5429 for ac_exec_ext in '' $ac_executable_extensions; do
5430 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5431 ac_cv_prog_ac_ct_CPPBIN="cpp"
5432 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5433 break 2
5435 done
5436 done
5437 IFS=$as_save_IFS
5441 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5442 if test -n "$ac_ct_CPPBIN"; then
5443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5444 $as_echo "$ac_ct_CPPBIN" >&6; }
5445 else
5446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5447 $as_echo "no" >&6; }
5450 if test "x$ac_ct_CPPBIN" = x; then
5451 CPPBIN="cpp"
5452 else
5453 case $cross_compiling:$ac_tool_warned in
5454 yes:)
5455 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5456 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5457 ac_tool_warned=yes ;;
5458 esac
5459 CPPBIN=$ac_ct_CPPBIN
5461 else
5462 CPPBIN="$ac_cv_prog_CPPBIN"
5466 cat >>confdefs.h <<_ACEOF
5467 #define EXEEXT "$ac_exeext"
5468 _ACEOF
5470 if test -n "$ac_tool_prefix"; then
5471 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5472 set dummy ${ac_tool_prefix}ld; ac_word=$2
5473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5474 $as_echo_n "checking for $ac_word... " >&6; }
5475 if ${ac_cv_prog_LD+:} false; then :
5476 $as_echo_n "(cached) " >&6
5477 else
5478 if test -n "$LD"; then
5479 ac_cv_prog_LD="$LD" # Let the user override the test.
5480 else
5481 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5482 for as_dir in $PATH
5484 IFS=$as_save_IFS
5485 test -z "$as_dir" && as_dir=.
5486 for ac_exec_ext in '' $ac_executable_extensions; do
5487 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5488 ac_cv_prog_LD="${ac_tool_prefix}ld"
5489 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5490 break 2
5492 done
5493 done
5494 IFS=$as_save_IFS
5498 LD=$ac_cv_prog_LD
5499 if test -n "$LD"; then
5500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5501 $as_echo "$LD" >&6; }
5502 else
5503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5504 $as_echo "no" >&6; }
5509 if test -z "$ac_cv_prog_LD"; then
5510 ac_ct_LD=$LD
5511 # Extract the first word of "ld", so it can be a program name with args.
5512 set dummy ld; ac_word=$2
5513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5514 $as_echo_n "checking for $ac_word... " >&6; }
5515 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5516 $as_echo_n "(cached) " >&6
5517 else
5518 if test -n "$ac_ct_LD"; then
5519 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5520 else
5521 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5522 for as_dir in $PATH
5524 IFS=$as_save_IFS
5525 test -z "$as_dir" && as_dir=.
5526 for ac_exec_ext in '' $ac_executable_extensions; do
5527 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5528 ac_cv_prog_ac_ct_LD="ld"
5529 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5530 break 2
5532 done
5533 done
5534 IFS=$as_save_IFS
5538 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5539 if test -n "$ac_ct_LD"; then
5540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5541 $as_echo "$ac_ct_LD" >&6; }
5542 else
5543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5544 $as_echo "no" >&6; }
5547 if test "x$ac_ct_LD" = x; then
5548 LD=""
5549 else
5550 case $cross_compiling:$ac_tool_warned in
5551 yes:)
5552 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5553 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5554 ac_tool_warned=yes ;;
5555 esac
5556 LD=$ac_ct_LD
5558 else
5559 LD="$ac_cv_prog_LD"
5563 case $host in
5564 *-darwin*)
5565 with_fontconfig=${with_fontconfig:-no}
5567 *-mingw32*|*-cygwin*)
5568 enable_win16=${enable_win16:-no}
5569 with_mingw=${with_mingw:-no}
5570 CFLAGS="$CFLAGS -D_WIN32"
5572 esac
5574 case $host in
5575 x86_64*|amd64*)
5576 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5577 then
5578 CC="$CC -m32"
5579 CXX="$CXX -m32"
5581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5582 $as_echo_n "checking whether $CC works... " >&6; }
5583 if ${wine_cv_cc_m32+:} false; then :
5584 $as_echo_n "(cached) " >&6
5585 else
5586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5587 /* end confdefs.h. */
5590 main ()
5594 return 0;
5596 _ACEOF
5597 if ac_fn_c_try_link "$LINENO"; then :
5598 wine_cv_cc_m32=yes
5599 else
5600 wine_cv_cc_m32=no
5602 rm -f core conftest.err conftest.$ac_objext \
5603 conftest$ac_exeext conftest.$ac_ext
5605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
5606 $as_echo "$wine_cv_cc_m32" >&6; }
5607 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
5608 host_cpu="i386"
5609 notice_platform="32-bit "
5610 TARGETFLAGS="-m32"
5612 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
5613 export PKG_CONFIG_PATH
5614 enable_win16=${enable_win16:-yes}
5615 with_unwind=${with_unwind:-no}
5616 else
5617 if test "x${GCC}" = "xyes"
5618 then
5619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5620 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5621 if ${wine_cv_builtin_ms_va_list+:} false; then :
5622 $as_echo_n "(cached) " >&6
5623 else
5624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5625 /* end confdefs.h. */
5626 #include <stdarg.h>
5628 main ()
5630 void func(__builtin_ms_va_list *args);
5632 return 0;
5634 _ACEOF
5635 if ac_fn_c_try_compile "$LINENO"; then :
5636 wine_cv_builtin_ms_va_list=yes
5637 else
5638 wine_cv_builtin_ms_va_list=no
5640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5643 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5644 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
5646 CC="$CC -m64"
5647 CXX="$CXX -m64"
5648 host_cpu="x86_64"
5649 notice_platform="64-bit "
5650 TARGETFLAGS="-m64"
5654 arm*)
5655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5656 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5657 if ${wine_cv_thumb+:} false; then :
5658 $as_echo_n "(cached) " >&6
5659 else
5660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5661 /* end confdefs.h. */
5662 int ac_test(int i) { return i; }
5664 main ()
5666 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5668 return 0;
5670 _ACEOF
5671 if ac_fn_c_try_link "$LINENO"; then :
5672 wine_cv_thumb=yes
5673 else
5674 wine_cv_thumb=no
5676 rm -f core conftest.err conftest.$ac_objext \
5677 conftest$ac_exeext conftest.$ac_ext
5679 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb" >&5
5680 $as_echo "$wine_cv_thumb" >&6; }
5681 test $wine_cv_thumb != no || as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5682 case $with_float_abi in
5683 soft|softfp|hard)
5684 float_abi=$with_float_abi ;;
5686 case $host_os in
5687 *eabihf)
5688 float_abi=hard ;;
5690 float_abi=softfp
5691 saved_CFLAGS=$CFLAGS
5692 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
5694 $as_echo_n "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
5695 if ${wine_cv_float_abi+:} false; then :
5696 $as_echo_n "(cached) " >&6
5697 else
5698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5699 /* end confdefs.h. */
5702 main ()
5704 asm("vmrs r2,fpscr");
5706 return 0;
5708 _ACEOF
5709 if ac_fn_c_try_link "$LINENO"; then :
5710 wine_cv_float_abi=yes
5711 else
5712 wine_cv_float_abi=no
5714 rm -f core conftest.err conftest.$ac_objext \
5715 conftest$ac_exeext conftest.$ac_ext
5717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
5718 $as_echo "$wine_cv_float_abi" >&6; }
5719 if test $wine_cv_float_abi = no
5720 then
5721 float_abi=soft
5722 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
5724 CFLAGS=$saved_CFLAGS
5725 esac
5727 esac
5728 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5729 TARGETFLAGS="-marm -mfloat-abi=$float_abi"
5732 aarch64*)
5733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5734 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5735 if ${wine_cv_builtin_ms_va_list+:} false; then :
5736 $as_echo_n "(cached) " >&6
5737 else
5738 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5739 /* end confdefs.h. */
5740 #include <stdarg.h>
5742 main ()
5744 void func(__builtin_ms_va_list *args);
5746 return 0;
5748 _ACEOF
5749 if ac_fn_c_try_compile "$LINENO"; then :
5750 wine_cv_builtin_ms_va_list=yes
5751 else
5752 wine_cv_builtin_ms_va_list=no
5754 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5757 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5758 test $wine_cv_builtin_ms_va_list != no || as_fn_error $? "You need clang >= 5.0 to build Wine for arm64." "$LINENO" 5
5760 i[3456789]86*)
5761 enable_win16=${enable_win16:-yes}
5762 with_unwind=${with_unwind:-no}
5764 esac
5766 enable_win16=${enable_win16:-no}
5767 enable_win64=${enable_win64:-no}
5769 enable_winetest=${enable_winetest:-$enable_tests}
5771 if test "x$enable_win64" = "xyes"
5772 then
5773 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5774 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5775 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5778 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5779 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5780 if ${wine_cv_toolsdir+:} false; then :
5781 $as_echo_n "(cached) " >&6
5782 else
5783 wine_cv_toolsdir="$with_wine_tools"
5784 if test -z "$with_wine_tools"; then
5785 if test "$cross_compiling" = "yes"; then
5786 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5787 elif test -n "$with_wine64"; then
5788 wine_cv_toolsdir="$with_wine64"
5792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5793 $as_echo "$wine_cv_toolsdir" >&6; }
5794 if test -z "$wine_cv_toolsdir"; then
5795 wine_makedep=tools/makedep
5796 TOOLSDIR="\$(top_builddir)"
5798 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5799 wine_makedep=$wine_cv_toolsdir/tools/makedep
5800 case "$wine_cv_toolsdir" in
5801 /*) TOOLSDIR=$wine_cv_toolsdir
5803 *) TOOLSDIR="\$(top_builddir)/$wine_cv_toolsdir"
5805 esac
5806 enable_tools=${enable_tools:-no}
5807 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5808 else
5809 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5811 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5812 then
5813 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5817 for ac_prog in flex
5819 # Extract the first word of "$ac_prog", so it can be a program name with args.
5820 set dummy $ac_prog; ac_word=$2
5821 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5822 $as_echo_n "checking for $ac_word... " >&6; }
5823 if ${ac_cv_prog_FLEX+:} false; then :
5824 $as_echo_n "(cached) " >&6
5825 else
5826 if test -n "$FLEX"; then
5827 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5828 else
5829 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5830 for as_dir in $PATH
5832 IFS=$as_save_IFS
5833 test -z "$as_dir" && as_dir=.
5834 for ac_exec_ext in '' $ac_executable_extensions; do
5835 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5836 ac_cv_prog_FLEX="$ac_prog"
5837 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5838 break 2
5840 done
5841 done
5842 IFS=$as_save_IFS
5846 FLEX=$ac_cv_prog_FLEX
5847 if test -n "$FLEX"; then
5848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5849 $as_echo "$FLEX" >&6; }
5850 else
5851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5852 $as_echo "no" >&6; }
5856 test -n "$FLEX" && break
5857 done
5858 test -n "$FLEX" || FLEX="none"
5860 if test "$FLEX" = "none"
5861 then
5862 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5865 $as_echo_n "checking whether flex is recent enough... " >&6; }
5866 if ${wine_cv_recent_flex+:} false; then :
5867 $as_echo_n "(cached) " >&6
5868 else
5869 cat >conftest.l <<EOF
5870 %top{
5871 #include "prediluvian.h"
5875 if $FLEX -t conftest.l >/dev/null 2>&5
5876 then
5877 wine_cv_recent_flex=yes
5878 else
5879 wine_cv_recent_flex=no
5882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
5883 $as_echo "$wine_cv_recent_flex" >&6; }
5884 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
5886 for ac_prog in bison
5888 # Extract the first word of "$ac_prog", so it can be a program name with args.
5889 set dummy $ac_prog; ac_word=$2
5890 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5891 $as_echo_n "checking for $ac_word... " >&6; }
5892 if ${ac_cv_prog_BISON+:} false; then :
5893 $as_echo_n "(cached) " >&6
5894 else
5895 if test -n "$BISON"; then
5896 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5897 else
5898 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5899 for as_dir in $PATH
5901 IFS=$as_save_IFS
5902 test -z "$as_dir" && as_dir=.
5903 for ac_exec_ext in '' $ac_executable_extensions; do
5904 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5905 ac_cv_prog_BISON="$ac_prog"
5906 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5907 break 2
5909 done
5910 done
5911 IFS=$as_save_IFS
5915 BISON=$ac_cv_prog_BISON
5916 if test -n "$BISON"; then
5917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5918 $as_echo "$BISON" >&6; }
5919 else
5920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5921 $as_echo "no" >&6; }
5925 test -n "$BISON" && break
5926 done
5927 test -n "$BISON" || BISON="none"
5929 if test "$BISON" = "none"
5930 then
5931 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5933 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
5934 $as_echo_n "checking whether bison is recent enough... " >&6; }
5935 if ${wine_cv_recent_bison+:} false; then :
5936 $as_echo_n "(cached) " >&6
5937 else
5938 cat >conftest.y <<EOF
5939 %define parse.error verbose
5941 empty: ;
5943 if $BISON conftest.y >/dev/null 2>&5
5944 then
5945 wine_cv_recent_bison=yes
5946 else
5947 wine_cv_recent_bison=no
5950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
5951 $as_echo "$wine_cv_recent_bison" >&6; }
5952 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
5954 if test -n "$ac_tool_prefix"; then
5955 for ac_prog in ar gar
5957 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5958 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5960 $as_echo_n "checking for $ac_word... " >&6; }
5961 if ${ac_cv_prog_AR+:} false; then :
5962 $as_echo_n "(cached) " >&6
5963 else
5964 if test -n "$AR"; then
5965 ac_cv_prog_AR="$AR" # Let the user override the test.
5966 else
5967 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5968 for as_dir in $PATH
5970 IFS=$as_save_IFS
5971 test -z "$as_dir" && as_dir=.
5972 for ac_exec_ext in '' $ac_executable_extensions; do
5973 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5974 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5975 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5976 break 2
5978 done
5979 done
5980 IFS=$as_save_IFS
5984 AR=$ac_cv_prog_AR
5985 if test -n "$AR"; then
5986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5987 $as_echo "$AR" >&6; }
5988 else
5989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5990 $as_echo "no" >&6; }
5994 test -n "$AR" && break
5995 done
5997 if test -z "$AR"; then
5998 ac_ct_AR=$AR
5999 for ac_prog in ar gar
6001 # Extract the first word of "$ac_prog", so it can be a program name with args.
6002 set dummy $ac_prog; ac_word=$2
6003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6004 $as_echo_n "checking for $ac_word... " >&6; }
6005 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6006 $as_echo_n "(cached) " >&6
6007 else
6008 if test -n "$ac_ct_AR"; then
6009 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6010 else
6011 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6012 for as_dir in $PATH
6014 IFS=$as_save_IFS
6015 test -z "$as_dir" && as_dir=.
6016 for ac_exec_ext in '' $ac_executable_extensions; do
6017 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6018 ac_cv_prog_ac_ct_AR="$ac_prog"
6019 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6020 break 2
6022 done
6023 done
6024 IFS=$as_save_IFS
6028 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6029 if test -n "$ac_ct_AR"; then
6030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6031 $as_echo "$ac_ct_AR" >&6; }
6032 else
6033 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6034 $as_echo "no" >&6; }
6038 test -n "$ac_ct_AR" && break
6039 done
6041 if test "x$ac_ct_AR" = x; then
6042 AR="ar"
6043 else
6044 case $cross_compiling:$ac_tool_warned in
6045 yes:)
6046 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6047 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6048 ac_tool_warned=yes ;;
6049 esac
6050 AR=$ac_ct_AR
6054 if test -n "$ac_tool_prefix"; then
6055 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6056 set dummy ${ac_tool_prefix}strip; ac_word=$2
6057 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6058 $as_echo_n "checking for $ac_word... " >&6; }
6059 if ${ac_cv_prog_STRIP+:} false; then :
6060 $as_echo_n "(cached) " >&6
6061 else
6062 if test -n "$STRIP"; then
6063 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6064 else
6065 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6066 for as_dir in $PATH
6068 IFS=$as_save_IFS
6069 test -z "$as_dir" && as_dir=.
6070 for ac_exec_ext in '' $ac_executable_extensions; do
6071 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6072 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6073 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6074 break 2
6076 done
6077 done
6078 IFS=$as_save_IFS
6082 STRIP=$ac_cv_prog_STRIP
6083 if test -n "$STRIP"; then
6084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6085 $as_echo "$STRIP" >&6; }
6086 else
6087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6088 $as_echo "no" >&6; }
6093 if test -z "$ac_cv_prog_STRIP"; then
6094 ac_ct_STRIP=$STRIP
6095 # Extract the first word of "strip", so it can be a program name with args.
6096 set dummy strip; ac_word=$2
6097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6098 $as_echo_n "checking for $ac_word... " >&6; }
6099 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6100 $as_echo_n "(cached) " >&6
6101 else
6102 if test -n "$ac_ct_STRIP"; then
6103 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6104 else
6105 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6106 for as_dir in $PATH
6108 IFS=$as_save_IFS
6109 test -z "$as_dir" && as_dir=.
6110 for ac_exec_ext in '' $ac_executable_extensions; do
6111 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6112 ac_cv_prog_ac_ct_STRIP="strip"
6113 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6114 break 2
6116 done
6117 done
6118 IFS=$as_save_IFS
6122 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6123 if test -n "$ac_ct_STRIP"; then
6124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6125 $as_echo "$ac_ct_STRIP" >&6; }
6126 else
6127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6128 $as_echo "no" >&6; }
6131 if test "x$ac_ct_STRIP" = x; then
6132 STRIP="strip"
6133 else
6134 case $cross_compiling:$ac_tool_warned in
6135 yes:)
6136 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6137 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6138 ac_tool_warned=yes ;;
6139 esac
6140 STRIP=$ac_ct_STRIP
6142 else
6143 STRIP="$ac_cv_prog_STRIP"
6146 if test -n "$ac_tool_prefix"; then
6147 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6148 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6149 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6150 $as_echo_n "checking for $ac_word... " >&6; }
6151 if ${ac_cv_prog_RANLIB+:} false; then :
6152 $as_echo_n "(cached) " >&6
6153 else
6154 if test -n "$RANLIB"; then
6155 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6156 else
6157 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6158 for as_dir in $PATH
6160 IFS=$as_save_IFS
6161 test -z "$as_dir" && as_dir=.
6162 for ac_exec_ext in '' $ac_executable_extensions; do
6163 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6164 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6165 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6166 break 2
6168 done
6169 done
6170 IFS=$as_save_IFS
6174 RANLIB=$ac_cv_prog_RANLIB
6175 if test -n "$RANLIB"; then
6176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6177 $as_echo "$RANLIB" >&6; }
6178 else
6179 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6180 $as_echo "no" >&6; }
6185 if test -z "$ac_cv_prog_RANLIB"; then
6186 ac_ct_RANLIB=$RANLIB
6187 # Extract the first word of "ranlib", so it can be a program name with args.
6188 set dummy ranlib; ac_word=$2
6189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6190 $as_echo_n "checking for $ac_word... " >&6; }
6191 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6192 $as_echo_n "(cached) " >&6
6193 else
6194 if test -n "$ac_ct_RANLIB"; then
6195 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6196 else
6197 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6198 for as_dir in $PATH
6200 IFS=$as_save_IFS
6201 test -z "$as_dir" && as_dir=.
6202 for ac_exec_ext in '' $ac_executable_extensions; do
6203 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6204 ac_cv_prog_ac_ct_RANLIB="ranlib"
6205 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6206 break 2
6208 done
6209 done
6210 IFS=$as_save_IFS
6214 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6215 if test -n "$ac_ct_RANLIB"; then
6216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6217 $as_echo "$ac_ct_RANLIB" >&6; }
6218 else
6219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6220 $as_echo "no" >&6; }
6223 if test "x$ac_ct_RANLIB" = x; then
6224 RANLIB=":"
6225 else
6226 case $cross_compiling:$ac_tool_warned in
6227 yes:)
6228 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6229 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6230 ac_tool_warned=yes ;;
6231 esac
6232 RANLIB=$ac_ct_RANLIB
6234 else
6235 RANLIB="$ac_cv_prog_RANLIB"
6238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6239 $as_echo_n "checking whether ln -s works... " >&6; }
6240 LN_S=$as_ln_s
6241 if test "$LN_S" = "ln -s"; then
6242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6243 $as_echo "yes" >&6; }
6244 else
6245 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6246 $as_echo "no, using $LN_S" >&6; }
6249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6250 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6251 if ${ac_cv_path_GREP+:} false; then :
6252 $as_echo_n "(cached) " >&6
6253 else
6254 if test -z "$GREP"; then
6255 ac_path_GREP_found=false
6256 # Loop through the user's path and test for each of PROGNAME-LIST
6257 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6258 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6260 IFS=$as_save_IFS
6261 test -z "$as_dir" && as_dir=.
6262 for ac_prog in grep ggrep; do
6263 for ac_exec_ext in '' $ac_executable_extensions; do
6264 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6265 as_fn_executable_p "$ac_path_GREP" || continue
6266 # Check for GNU ac_path_GREP and select it if it is found.
6267 # Check for GNU $ac_path_GREP
6268 case `"$ac_path_GREP" --version 2>&1` in
6269 *GNU*)
6270 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6272 ac_count=0
6273 $as_echo_n 0123456789 >"conftest.in"
6274 while :
6276 cat "conftest.in" "conftest.in" >"conftest.tmp"
6277 mv "conftest.tmp" "conftest.in"
6278 cp "conftest.in" "conftest.nl"
6279 $as_echo 'GREP' >> "conftest.nl"
6280 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6281 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6282 as_fn_arith $ac_count + 1 && ac_count=$as_val
6283 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6284 # Best one so far, save it but keep looking for a better one
6285 ac_cv_path_GREP="$ac_path_GREP"
6286 ac_path_GREP_max=$ac_count
6288 # 10*(2^10) chars as input seems more than enough
6289 test $ac_count -gt 10 && break
6290 done
6291 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6292 esac
6294 $ac_path_GREP_found && break 3
6295 done
6296 done
6297 done
6298 IFS=$as_save_IFS
6299 if test -z "$ac_cv_path_GREP"; then
6300 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6302 else
6303 ac_cv_path_GREP=$GREP
6307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6308 $as_echo "$ac_cv_path_GREP" >&6; }
6309 GREP="$ac_cv_path_GREP"
6312 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6313 $as_echo_n "checking for egrep... " >&6; }
6314 if ${ac_cv_path_EGREP+:} false; then :
6315 $as_echo_n "(cached) " >&6
6316 else
6317 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6318 then ac_cv_path_EGREP="$GREP -E"
6319 else
6320 if test -z "$EGREP"; then
6321 ac_path_EGREP_found=false
6322 # Loop through the user's path and test for each of PROGNAME-LIST
6323 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6324 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6326 IFS=$as_save_IFS
6327 test -z "$as_dir" && as_dir=.
6328 for ac_prog in egrep; do
6329 for ac_exec_ext in '' $ac_executable_extensions; do
6330 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6331 as_fn_executable_p "$ac_path_EGREP" || continue
6332 # Check for GNU ac_path_EGREP and select it if it is found.
6333 # Check for GNU $ac_path_EGREP
6334 case `"$ac_path_EGREP" --version 2>&1` in
6335 *GNU*)
6336 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6338 ac_count=0
6339 $as_echo_n 0123456789 >"conftest.in"
6340 while :
6342 cat "conftest.in" "conftest.in" >"conftest.tmp"
6343 mv "conftest.tmp" "conftest.in"
6344 cp "conftest.in" "conftest.nl"
6345 $as_echo 'EGREP' >> "conftest.nl"
6346 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6347 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6348 as_fn_arith $ac_count + 1 && ac_count=$as_val
6349 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6350 # Best one so far, save it but keep looking for a better one
6351 ac_cv_path_EGREP="$ac_path_EGREP"
6352 ac_path_EGREP_max=$ac_count
6354 # 10*(2^10) chars as input seems more than enough
6355 test $ac_count -gt 10 && break
6356 done
6357 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6358 esac
6360 $ac_path_EGREP_found && break 3
6361 done
6362 done
6363 done
6364 IFS=$as_save_IFS
6365 if test -z "$ac_cv_path_EGREP"; then
6366 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6368 else
6369 ac_cv_path_EGREP=$EGREP
6374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6375 $as_echo "$ac_cv_path_EGREP" >&6; }
6376 EGREP="$ac_cv_path_EGREP"
6379 # Extract the first word of "ldconfig", so it can be a program name with args.
6380 set dummy ldconfig; ac_word=$2
6381 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6382 $as_echo_n "checking for $ac_word... " >&6; }
6383 if ${ac_cv_path_LDCONFIG+:} false; then :
6384 $as_echo_n "(cached) " >&6
6385 else
6386 case $LDCONFIG in
6387 [\\/]* | ?:[\\/]*)
6388 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6391 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6392 for as_dir in /sbin /usr/sbin $PATH
6394 IFS=$as_save_IFS
6395 test -z "$as_dir" && as_dir=.
6396 for ac_exec_ext in '' $ac_executable_extensions; do
6397 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6398 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6399 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6400 break 2
6402 done
6403 done
6404 IFS=$as_save_IFS
6406 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6408 esac
6410 LDCONFIG=$ac_cv_path_LDCONFIG
6411 if test -n "$LDCONFIG"; then
6412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
6413 $as_echo "$LDCONFIG" >&6; }
6414 else
6415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6416 $as_echo "no" >&6; }
6420 for ac_prog in msgfmt
6422 # Extract the first word of "$ac_prog", so it can be a program name with args.
6423 set dummy $ac_prog; ac_word=$2
6424 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6425 $as_echo_n "checking for $ac_word... " >&6; }
6426 if ${ac_cv_prog_MSGFMT+:} false; then :
6427 $as_echo_n "(cached) " >&6
6428 else
6429 if test -n "$MSGFMT"; then
6430 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
6431 else
6432 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6433 for as_dir in $PATH
6435 IFS=$as_save_IFS
6436 test -z "$as_dir" && as_dir=.
6437 for ac_exec_ext in '' $ac_executable_extensions; do
6438 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6439 ac_cv_prog_MSGFMT="$ac_prog"
6440 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6441 break 2
6443 done
6444 done
6445 IFS=$as_save_IFS
6449 MSGFMT=$ac_cv_prog_MSGFMT
6450 if test -n "$MSGFMT"; then
6451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6452 $as_echo "$MSGFMT" >&6; }
6453 else
6454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6455 $as_echo "no" >&6; }
6459 test -n "$MSGFMT" && break
6460 done
6461 test -n "$MSGFMT" || MSGFMT="false"
6463 if ${ac_tool_prefix+:} false; then :
6464 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6465 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6467 $as_echo_n "checking for $ac_word... " >&6; }
6468 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6469 $as_echo_n "(cached) " >&6
6470 else
6471 if test -n "$PKG_CONFIG"; then
6472 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6473 else
6474 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6475 for as_dir in $PATH
6477 IFS=$as_save_IFS
6478 test -z "$as_dir" && as_dir=.
6479 for ac_exec_ext in '' $ac_executable_extensions; do
6480 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6481 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
6482 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6483 break 2
6485 done
6486 done
6487 IFS=$as_save_IFS
6491 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6492 if test -n "$PKG_CONFIG"; then
6493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6494 $as_echo "$PKG_CONFIG" >&6; }
6495 else
6496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6497 $as_echo "no" >&6; }
6502 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
6503 if test "x$cross_compiling" = xyes; then :
6505 else
6506 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
6507 # Extract the first word of "pkg-config", so it can be a program name with args.
6508 set dummy pkg-config; ac_word=$2
6509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6510 $as_echo_n "checking for $ac_word... " >&6; }
6511 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6512 $as_echo_n "(cached) " >&6
6513 else
6514 if test -n "$PKG_CONFIG"; then
6515 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6516 else
6517 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6518 for as_dir in $PATH
6520 IFS=$as_save_IFS
6521 test -z "$as_dir" && as_dir=.
6522 for ac_exec_ext in '' $ac_executable_extensions; do
6523 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6524 ac_cv_prog_PKG_CONFIG="pkg-config"
6525 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6526 break 2
6528 done
6529 done
6530 IFS=$as_save_IFS
6534 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6535 if test -n "$PKG_CONFIG"; then
6536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6537 $as_echo "$PKG_CONFIG" >&6; }
6538 else
6539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6540 $as_echo "no" >&6; }
6545 else
6546 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6549 if test "x$enable_maintainer_mode" != "xyes"
6550 then
6551 FONTFORGE=""
6552 RSVG=""
6553 CONVERT=""
6554 ICOTOOL=""
6555 else
6556 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6557 for ac_prog in fontforge
6559 # Extract the first word of "$ac_prog", so it can be a program name with args.
6560 set dummy $ac_prog; ac_word=$2
6561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6562 $as_echo_n "checking for $ac_word... " >&6; }
6563 if ${ac_cv_prog_FONTFORGE+:} false; then :
6564 $as_echo_n "(cached) " >&6
6565 else
6566 if test -n "$FONTFORGE"; then
6567 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6568 else
6569 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6570 for as_dir in $PATH
6572 IFS=$as_save_IFS
6573 test -z "$as_dir" && as_dir=.
6574 for ac_exec_ext in '' $ac_executable_extensions; do
6575 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6576 ac_cv_prog_FONTFORGE="$ac_prog"
6577 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6578 break 2
6580 done
6581 done
6582 IFS=$as_save_IFS
6586 FONTFORGE=$ac_cv_prog_FONTFORGE
6587 if test -n "$FONTFORGE"; then
6588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6589 $as_echo "$FONTFORGE" >&6; }
6590 else
6591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6592 $as_echo "no" >&6; }
6596 test -n "$FONTFORGE" && break
6597 done
6598 test -n "$FONTFORGE" || FONTFORGE="false"
6600 for ac_prog in rsvg-convert rsvg
6602 # Extract the first word of "$ac_prog", so it can be a program name with args.
6603 set dummy $ac_prog; ac_word=$2
6604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6605 $as_echo_n "checking for $ac_word... " >&6; }
6606 if ${ac_cv_prog_RSVG+:} false; then :
6607 $as_echo_n "(cached) " >&6
6608 else
6609 if test -n "$RSVG"; then
6610 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6611 else
6612 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6613 for as_dir in $PATH
6615 IFS=$as_save_IFS
6616 test -z "$as_dir" && as_dir=.
6617 for ac_exec_ext in '' $ac_executable_extensions; do
6618 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6619 ac_cv_prog_RSVG="$ac_prog"
6620 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6621 break 2
6623 done
6624 done
6625 IFS=$as_save_IFS
6629 RSVG=$ac_cv_prog_RSVG
6630 if test -n "$RSVG"; then
6631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6632 $as_echo "$RSVG" >&6; }
6633 else
6634 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6635 $as_echo "no" >&6; }
6639 test -n "$RSVG" && break
6640 done
6641 test -n "$RSVG" || RSVG="false"
6643 for ac_prog in convert
6645 # Extract the first word of "$ac_prog", so it can be a program name with args.
6646 set dummy $ac_prog; ac_word=$2
6647 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6648 $as_echo_n "checking for $ac_word... " >&6; }
6649 if ${ac_cv_prog_CONVERT+:} false; then :
6650 $as_echo_n "(cached) " >&6
6651 else
6652 if test -n "$CONVERT"; then
6653 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6654 else
6655 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6656 for as_dir in $PATH
6658 IFS=$as_save_IFS
6659 test -z "$as_dir" && as_dir=.
6660 for ac_exec_ext in '' $ac_executable_extensions; do
6661 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6662 ac_cv_prog_CONVERT="$ac_prog"
6663 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6664 break 2
6666 done
6667 done
6668 IFS=$as_save_IFS
6672 CONVERT=$ac_cv_prog_CONVERT
6673 if test -n "$CONVERT"; then
6674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6675 $as_echo "$CONVERT" >&6; }
6676 else
6677 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6678 $as_echo "no" >&6; }
6682 test -n "$CONVERT" && break
6683 done
6684 test -n "$CONVERT" || CONVERT="false"
6686 for ac_prog in icotool
6688 # Extract the first word of "$ac_prog", so it can be a program name with args.
6689 set dummy $ac_prog; ac_word=$2
6690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6691 $as_echo_n "checking for $ac_word... " >&6; }
6692 if ${ac_cv_prog_ICOTOOL+:} false; then :
6693 $as_echo_n "(cached) " >&6
6694 else
6695 if test -n "$ICOTOOL"; then
6696 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6697 else
6698 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6699 for as_dir in $PATH
6701 IFS=$as_save_IFS
6702 test -z "$as_dir" && as_dir=.
6703 for ac_exec_ext in '' $ac_executable_extensions; do
6704 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6705 ac_cv_prog_ICOTOOL="$ac_prog"
6706 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6707 break 2
6709 done
6710 done
6711 IFS=$as_save_IFS
6715 ICOTOOL=$ac_cv_prog_ICOTOOL
6716 if test -n "$ICOTOOL"; then
6717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6718 $as_echo "$ICOTOOL" >&6; }
6719 else
6720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6721 $as_echo "no" >&6; }
6725 test -n "$ICOTOOL" && break
6726 done
6727 test -n "$ICOTOOL" || ICOTOOL="false"
6729 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6730 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6732 if test "$CONVERT" = false
6733 then
6734 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6735 else
6736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6737 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6738 convert_version=`convert --version | head -n1`
6739 if test "x$convert_version" != "x"
6740 then
6741 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6742 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6743 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6744 then
6745 CONVERT=false
6748 if test "$CONVERT" = false
6749 then
6750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6751 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6752 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6753 else
6754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6755 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6759 if test "$ICOTOOL" = false
6760 then
6761 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6762 else
6763 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6764 $as_echo_n "checking for recent enough icotool... " >&6; }
6765 icotool_version=`icotool --version | head -n1`
6766 if test "x$icotool_version" != "x"
6767 then
6768 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6769 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6770 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6771 then
6772 ICOTOOL=false
6773 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6776 if test "$ICOTOOL" = false
6777 then
6778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6779 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6780 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6781 else
6782 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6783 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6787 with_gettext=yes
6788 with_gettextpo=yes
6791 test "x$with_gettext" != xno || MSGFMT=false
6792 if test "$MSGFMT" != "false"
6793 then
6794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6795 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6796 if ${wine_cv_msgfmt_contexts+:} false; then :
6797 $as_echo_n "(cached) " >&6
6798 else
6799 cat >conftest.po <<EOF
6800 # comment
6801 msgctxt "ctxt"
6802 msgid "id"
6803 msgstr "str"
6805 if $MSGFMT -o /dev/null conftest.po 2>&5
6806 then
6807 wine_cv_msgfmt_contexts=yes
6808 else
6809 wine_cv_msgfmt_contexts=no
6812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
6813 $as_echo "$wine_cv_msgfmt_contexts" >&6; }
6814 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
6816 if test "$MSGFMT" = false; then :
6817 case "x$with_gettext" in
6818 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6819 xno) ;;
6820 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6821 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6822 esac
6823 enable_po=${enable_po:-no}
6827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6828 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6829 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6830 $as_echo_n "(cached) " >&6
6831 else
6832 ac_check_lib_save_LIBS=$LIBS
6833 LIBS="-li386 $LIBS"
6834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6835 /* end confdefs.h. */
6837 /* Override any GCC internal prototype to avoid an error.
6838 Use char because int might match the return type of a GCC
6839 builtin and then its argument prototype would still apply. */
6840 #ifdef __cplusplus
6841 extern "C"
6842 #endif
6843 char i386_set_ldt ();
6845 main ()
6847 return i386_set_ldt ();
6849 return 0;
6851 _ACEOF
6852 if ac_fn_c_try_link "$LINENO"; then :
6853 ac_cv_lib_i386_i386_set_ldt=yes
6854 else
6855 ac_cv_lib_i386_i386_set_ldt=no
6857 rm -f core conftest.err conftest.$ac_objext \
6858 conftest$ac_exeext conftest.$ac_ext
6859 LIBS=$ac_check_lib_save_LIBS
6861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6862 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6863 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6864 I386_LIBS="-li386"
6869 OPENGL_LIBS=""
6873 # Check whether --enable-largefile was given.
6874 if test "${enable_largefile+set}" = set; then :
6875 enableval=$enable_largefile;
6878 if test "$enable_largefile" != no; then
6880 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6881 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6882 if ${ac_cv_sys_largefile_CC+:} false; then :
6883 $as_echo_n "(cached) " >&6
6884 else
6885 ac_cv_sys_largefile_CC=no
6886 if test "$GCC" != yes; then
6887 ac_save_CC=$CC
6888 while :; do
6889 # IRIX 6.2 and later do not support large files by default,
6890 # so use the C compiler's -n32 option if that helps.
6891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6892 /* end confdefs.h. */
6893 #include <sys/types.h>
6894 /* Check that off_t can represent 2**63 - 1 correctly.
6895 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6896 since some C++ compilers masquerading as C compilers
6897 incorrectly reject 9223372036854775807. */
6898 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6899 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6900 && LARGE_OFF_T % 2147483647 == 1)
6901 ? 1 : -1];
6903 main ()
6907 return 0;
6909 _ACEOF
6910 if ac_fn_c_try_compile "$LINENO"; then :
6911 break
6913 rm -f core conftest.err conftest.$ac_objext
6914 CC="$CC -n32"
6915 if ac_fn_c_try_compile "$LINENO"; then :
6916 ac_cv_sys_largefile_CC=' -n32'; break
6918 rm -f core conftest.err conftest.$ac_objext
6919 break
6920 done
6921 CC=$ac_save_CC
6922 rm -f conftest.$ac_ext
6925 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6926 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6927 if test "$ac_cv_sys_largefile_CC" != no; then
6928 CC=$CC$ac_cv_sys_largefile_CC
6931 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6932 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6933 if ${ac_cv_sys_file_offset_bits+:} false; then :
6934 $as_echo_n "(cached) " >&6
6935 else
6936 while :; do
6937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6938 /* end confdefs.h. */
6939 #include <sys/types.h>
6940 /* Check that off_t can represent 2**63 - 1 correctly.
6941 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6942 since some C++ compilers masquerading as C compilers
6943 incorrectly reject 9223372036854775807. */
6944 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6945 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6946 && LARGE_OFF_T % 2147483647 == 1)
6947 ? 1 : -1];
6949 main ()
6953 return 0;
6955 _ACEOF
6956 if ac_fn_c_try_compile "$LINENO"; then :
6957 ac_cv_sys_file_offset_bits=no; break
6959 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6960 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6961 /* end confdefs.h. */
6962 #define _FILE_OFFSET_BITS 64
6963 #include <sys/types.h>
6964 /* Check that off_t can represent 2**63 - 1 correctly.
6965 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6966 since some C++ compilers masquerading as C compilers
6967 incorrectly reject 9223372036854775807. */
6968 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6969 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6970 && LARGE_OFF_T % 2147483647 == 1)
6971 ? 1 : -1];
6973 main ()
6977 return 0;
6979 _ACEOF
6980 if ac_fn_c_try_compile "$LINENO"; then :
6981 ac_cv_sys_file_offset_bits=64; break
6983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6984 ac_cv_sys_file_offset_bits=unknown
6985 break
6986 done
6988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6989 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6990 case $ac_cv_sys_file_offset_bits in #(
6991 no | unknown) ;;
6993 cat >>confdefs.h <<_ACEOF
6994 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6995 _ACEOF
6997 esac
6998 rm -rf conftest*
6999 if test $ac_cv_sys_file_offset_bits = unknown; then
7000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
7001 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
7002 if ${ac_cv_sys_large_files+:} false; then :
7003 $as_echo_n "(cached) " >&6
7004 else
7005 while :; do
7006 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7007 /* end confdefs.h. */
7008 #include <sys/types.h>
7009 /* Check that off_t can represent 2**63 - 1 correctly.
7010 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7011 since some C++ compilers masquerading as C compilers
7012 incorrectly reject 9223372036854775807. */
7013 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7014 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7015 && LARGE_OFF_T % 2147483647 == 1)
7016 ? 1 : -1];
7018 main ()
7022 return 0;
7024 _ACEOF
7025 if ac_fn_c_try_compile "$LINENO"; then :
7026 ac_cv_sys_large_files=no; break
7028 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7030 /* end confdefs.h. */
7031 #define _LARGE_FILES 1
7032 #include <sys/types.h>
7033 /* Check that off_t can represent 2**63 - 1 correctly.
7034 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7035 since some C++ compilers masquerading as C compilers
7036 incorrectly reject 9223372036854775807. */
7037 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7038 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7039 && LARGE_OFF_T % 2147483647 == 1)
7040 ? 1 : -1];
7042 main ()
7046 return 0;
7048 _ACEOF
7049 if ac_fn_c_try_compile "$LINENO"; then :
7050 ac_cv_sys_large_files=1; break
7052 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7053 ac_cv_sys_large_files=unknown
7054 break
7055 done
7057 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7058 $as_echo "$ac_cv_sys_large_files" >&6; }
7059 case $ac_cv_sys_large_files in #(
7060 no | unknown) ;;
7062 cat >>confdefs.h <<_ACEOF
7063 #define _LARGE_FILES $ac_cv_sys_large_files
7064 _ACEOF
7066 esac
7067 rm -rf conftest*
7074 ac_ext=c
7075 ac_cpp='$CPP $CPPFLAGS'
7076 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7077 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7078 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7080 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7081 # On Suns, sometimes $CPP names a directory.
7082 if test -n "$CPP" && test -d "$CPP"; then
7083 CPP=
7085 if test -z "$CPP"; then
7086 if ${ac_cv_prog_CPP+:} false; then :
7087 $as_echo_n "(cached) " >&6
7088 else
7089 # Double quotes because CPP needs to be expanded
7090 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7092 ac_preproc_ok=false
7093 for ac_c_preproc_warn_flag in '' yes
7095 # Use a header file that comes with gcc, so configuring glibc
7096 # with a fresh cross-compiler works.
7097 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7098 # <limits.h> exists even on freestanding compilers.
7099 # On the NeXT, cc -E runs the code through the compiler's parser,
7100 # not just through cpp. "Syntax error" is here to catch this case.
7101 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7102 /* end confdefs.h. */
7103 #ifdef __STDC__
7104 # include <limits.h>
7105 #else
7106 # include <assert.h>
7107 #endif
7108 Syntax error
7109 _ACEOF
7110 if ac_fn_c_try_cpp "$LINENO"; then :
7112 else
7113 # Broken: fails on valid input.
7114 continue
7116 rm -f conftest.err conftest.i conftest.$ac_ext
7118 # OK, works on sane cases. Now check whether nonexistent headers
7119 # can be detected and how.
7120 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7121 /* end confdefs.h. */
7122 #include <ac_nonexistent.h>
7123 _ACEOF
7124 if ac_fn_c_try_cpp "$LINENO"; then :
7125 # Broken: success on invalid input.
7126 continue
7127 else
7128 # Passes both tests.
7129 ac_preproc_ok=:
7130 break
7132 rm -f conftest.err conftest.i conftest.$ac_ext
7134 done
7135 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7136 rm -f conftest.i conftest.err conftest.$ac_ext
7137 if $ac_preproc_ok; then :
7138 break
7141 done
7142 ac_cv_prog_CPP=$CPP
7145 CPP=$ac_cv_prog_CPP
7146 else
7147 ac_cv_prog_CPP=$CPP
7149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7150 $as_echo "$CPP" >&6; }
7151 ac_preproc_ok=false
7152 for ac_c_preproc_warn_flag in '' yes
7154 # Use a header file that comes with gcc, so configuring glibc
7155 # with a fresh cross-compiler works.
7156 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7157 # <limits.h> exists even on freestanding compilers.
7158 # On the NeXT, cc -E runs the code through the compiler's parser,
7159 # not just through cpp. "Syntax error" is here to catch this case.
7160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7161 /* end confdefs.h. */
7162 #ifdef __STDC__
7163 # include <limits.h>
7164 #else
7165 # include <assert.h>
7166 #endif
7167 Syntax error
7168 _ACEOF
7169 if ac_fn_c_try_cpp "$LINENO"; then :
7171 else
7172 # Broken: fails on valid input.
7173 continue
7175 rm -f conftest.err conftest.i conftest.$ac_ext
7177 # OK, works on sane cases. Now check whether nonexistent headers
7178 # can be detected and how.
7179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7180 /* end confdefs.h. */
7181 #include <ac_nonexistent.h>
7182 _ACEOF
7183 if ac_fn_c_try_cpp "$LINENO"; then :
7184 # Broken: success on invalid input.
7185 continue
7186 else
7187 # Passes both tests.
7188 ac_preproc_ok=:
7189 break
7191 rm -f conftest.err conftest.i conftest.$ac_ext
7193 done
7194 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7195 rm -f conftest.i conftest.err conftest.$ac_ext
7196 if $ac_preproc_ok; then :
7198 else
7199 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7200 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7201 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7202 See \`config.log' for more details" "$LINENO" 5; }
7205 ac_ext=c
7206 ac_cpp='$CPP $CPPFLAGS'
7207 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7208 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7209 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7213 $as_echo_n "checking for ANSI C header files... " >&6; }
7214 if ${ac_cv_header_stdc+:} false; then :
7215 $as_echo_n "(cached) " >&6
7216 else
7217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7218 /* end confdefs.h. */
7219 #include <stdlib.h>
7220 #include <stdarg.h>
7221 #include <string.h>
7222 #include <float.h>
7225 main ()
7229 return 0;
7231 _ACEOF
7232 if ac_fn_c_try_compile "$LINENO"; then :
7233 ac_cv_header_stdc=yes
7234 else
7235 ac_cv_header_stdc=no
7237 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7239 if test $ac_cv_header_stdc = yes; then
7240 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7242 /* end confdefs.h. */
7243 #include <string.h>
7245 _ACEOF
7246 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7247 $EGREP "memchr" >/dev/null 2>&1; then :
7249 else
7250 ac_cv_header_stdc=no
7252 rm -f conftest*
7256 if test $ac_cv_header_stdc = yes; then
7257 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7258 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7259 /* end confdefs.h. */
7260 #include <stdlib.h>
7262 _ACEOF
7263 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7264 $EGREP "free" >/dev/null 2>&1; then :
7266 else
7267 ac_cv_header_stdc=no
7269 rm -f conftest*
7273 if test $ac_cv_header_stdc = yes; then
7274 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7275 if test "$cross_compiling" = yes; then :
7277 else
7278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7279 /* end confdefs.h. */
7280 #include <ctype.h>
7281 #include <stdlib.h>
7282 #if ((' ' & 0x0FF) == 0x020)
7283 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7284 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7285 #else
7286 # define ISLOWER(c) \
7287 (('a' <= (c) && (c) <= 'i') \
7288 || ('j' <= (c) && (c) <= 'r') \
7289 || ('s' <= (c) && (c) <= 'z'))
7290 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7291 #endif
7293 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7295 main ()
7297 int i;
7298 for (i = 0; i < 256; i++)
7299 if (XOR (islower (i), ISLOWER (i))
7300 || toupper (i) != TOUPPER (i))
7301 return 2;
7302 return 0;
7304 _ACEOF
7305 if ac_fn_c_try_run "$LINENO"; then :
7307 else
7308 ac_cv_header_stdc=no
7310 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7311 conftest.$ac_objext conftest.beam conftest.$ac_ext
7316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7317 $as_echo "$ac_cv_header_stdc" >&6; }
7318 if test $ac_cv_header_stdc = yes; then
7320 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7324 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7325 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7326 inttypes.h stdint.h unistd.h
7327 do :
7328 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7329 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7331 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7332 cat >>confdefs.h <<_ACEOF
7333 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7334 _ACEOF
7338 done
7341 for ac_header in \
7342 AL/al.h \
7343 ApplicationServices/ApplicationServices.h \
7344 AudioToolbox/AudioConverter.h \
7345 AudioUnit/AudioUnit.h \
7346 AudioUnit/AudioComponent.h \
7347 CL/cl.h \
7348 Carbon/Carbon.h \
7349 CommonCrypto/CommonCryptor.h \
7350 CoreAudio/CoreAudio.h \
7351 CoreServices/CoreServices.h \
7352 DiskArbitration/DiskArbitration.h \
7353 EGL/egl.h \
7354 IOKit/IOKitLib.h \
7355 IOKit/hid/IOHIDLib.h \
7356 OpenAL/al.h \
7357 OpenCL/opencl.h \
7358 QuickTime/ImageCompression.h \
7359 Security/Security.h \
7360 SystemConfiguration/SCDynamicStoreCopyDHCPInfo.h \
7361 SystemConfiguration/SCNetworkConfiguration.h \
7362 alias.h \
7363 arpa/inet.h \
7364 arpa/nameser.h \
7365 asm/types.h \
7366 asm/user.h \
7367 curses.h \
7368 dirent.h \
7369 dlfcn.h \
7370 elf.h \
7371 float.h \
7372 fnmatch.h \
7373 getopt.h \
7374 gettext-po.h \
7375 grp.h \
7376 gsm.h \
7377 gsm/gsm.h \
7378 ieeefp.h \
7379 inet/mib2.h \
7380 kstat.h \
7381 libproc.h \
7382 link.h \
7383 linux/cdrom.h \
7384 linux/compiler.h \
7385 linux/filter.h \
7386 linux/hdreg.h \
7387 linux/hidraw.h \
7388 linux/input.h \
7389 linux/ioctl.h \
7390 linux/joystick.h \
7391 linux/major.h \
7392 linux/param.h \
7393 linux/serial.h \
7394 linux/types.h \
7395 linux/ucdrom.h \
7396 lwp.h \
7397 mach-o/nlist.h \
7398 mach-o/loader.h \
7399 mach/mach.h \
7400 mach/machine.h \
7401 machine/cpu.h \
7402 machine/limits.h \
7403 machine/sysarch.h \
7404 mntent.h \
7405 ncurses.h \
7406 netdb.h \
7407 netinet/in.h \
7408 netinet/in_systm.h \
7409 netinet/tcp.h \
7410 netinet/tcp_fsm.h \
7411 pcap/pcap.h \
7412 poll.h \
7413 port.h \
7414 pthread.h \
7415 pwd.h \
7416 sched.h \
7417 scsi/scsi.h \
7418 scsi/scsi_ioctl.h \
7419 scsi/sg.h \
7420 stdbool.h \
7421 stdint.h \
7422 stropts.h \
7423 sys/attr.h \
7424 sys/auxv.h \
7425 sys/cdio.h \
7426 sys/elf32.h \
7427 sys/epoll.h \
7428 sys/event.h \
7429 sys/exec_elf.h \
7430 sys/filio.h \
7431 sys/ioctl.h \
7432 sys/ipc.h \
7433 sys/limits.h \
7434 sys/link.h \
7435 sys/mman.h \
7436 sys/modem.h \
7437 sys/msg.h \
7438 sys/mtio.h \
7439 sys/param.h \
7440 sys/poll.h \
7441 sys/prctl.h \
7442 sys/protosw.h \
7443 sys/ptrace.h \
7444 sys/queue.h \
7445 sys/resource.h \
7446 sys/scsiio.h \
7447 sys/shm.h \
7448 sys/signal.h \
7449 sys/socket.h \
7450 sys/socketvar.h \
7451 sys/sockio.h \
7452 sys/statvfs.h \
7453 sys/strtio.h \
7454 sys/syscall.h \
7455 sys/sysinfo.h \
7456 sys/tihdr.h \
7457 sys/time.h \
7458 sys/timeout.h \
7459 sys/times.h \
7460 sys/uio.h \
7461 sys/user.h \
7462 sys/utsname.h \
7463 sys/vnode.h \
7464 sys/wait.h \
7465 syscall.h \
7466 termios.h \
7467 unistd.h \
7468 utime.h \
7469 valgrind/memcheck.h \
7470 valgrind/valgrind.h
7472 do :
7473 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7474 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7475 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7476 cat >>confdefs.h <<_ACEOF
7477 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7478 _ACEOF
7482 done
7484 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7485 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7487 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7492 if test $ac_cv_header_sys_mkdev_h = no; then
7493 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7494 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7496 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7502 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7503 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7504 if ${ac_cv_header_stat_broken+:} false; then :
7505 $as_echo_n "(cached) " >&6
7506 else
7507 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7508 /* end confdefs.h. */
7509 #include <sys/types.h>
7510 #include <sys/stat.h>
7512 #if defined S_ISBLK && defined S_IFDIR
7513 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7514 #endif
7516 #if defined S_ISBLK && defined S_IFCHR
7517 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7518 #endif
7520 #if defined S_ISLNK && defined S_IFREG
7521 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7522 #endif
7524 #if defined S_ISSOCK && defined S_IFREG
7525 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7526 #endif
7528 _ACEOF
7529 if ac_fn_c_try_compile "$LINENO"; then :
7530 ac_cv_header_stat_broken=no
7531 else
7532 ac_cv_header_stat_broken=yes
7534 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7537 $as_echo "$ac_cv_header_stat_broken" >&6; }
7538 if test $ac_cv_header_stat_broken = yes; then
7540 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7546 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
7547 do :
7548 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7549 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7550 #ifdef HAVE_SYS_PARAM_H
7551 # include <sys/param.h>
7552 #endif
7554 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7555 cat >>confdefs.h <<_ACEOF
7556 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7557 _ACEOF
7561 done
7564 for ac_header in \
7565 netinet/ip.h \
7566 net/if.h \
7567 net/if_arp.h \
7568 net/if_dl.h \
7569 net/if_types.h \
7570 net/route.h \
7571 netinet/if_ether.h \
7572 netinet/if_inarp.h \
7573 netinet/in_pcb.h \
7574 netinet/ip_icmp.h \
7575 netinet/ip_var.h \
7576 netinet/udp.h \
7577 netipx/ipx.h \
7578 sys/un.h \
7580 do :
7581 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7582 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7583 #ifdef HAVE_SYS_SOCKET_H
7584 # include <sys/socket.h>
7585 #endif
7586 #ifdef HAVE_SYS_SOCKETVAR_H
7587 # include <sys/socketvar.h>
7588 #endif
7589 #ifdef HAVE_NET_ROUTE_H
7590 # include <net/route.h>
7591 #endif
7592 #ifdef HAVE_NETINET_IN_H
7593 # include <netinet/in.h>
7594 #endif
7595 #ifdef HAVE_NETINET_IN_SYSTM_H
7596 # include <netinet/in_systm.h>
7597 #endif
7598 #ifdef HAVE_NET_IF_H
7599 # include <net/if.h>
7600 #endif
7601 #ifdef HAVE_NETINET_IP_H
7602 # include <netinet/ip.h>
7603 #endif
7605 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7606 cat >>confdefs.h <<_ACEOF
7607 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7608 _ACEOF
7612 done
7615 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7616 do :
7617 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7618 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7619 #ifdef HAVE_ALIAS_H
7620 # include <alias.h>
7621 #endif
7622 #ifdef HAVE_SYS_SOCKET_H
7623 # include <sys/socket.h>
7624 #endif
7625 #ifdef HAVE_SYS_SOCKETVAR_H
7626 # include <sys/socketvar.h>
7627 #endif
7628 #ifdef HAVE_SYS_TIMEOUT_H
7629 # include <sys/timeout.h>
7630 #endif
7631 #ifdef HAVE_NETINET_IN_H
7632 # include <netinet/in.h>
7633 #endif
7634 #ifdef HAVE_NETINET_IN_SYSTM_H
7635 # include <netinet/in_systm.h>
7636 #endif
7637 #ifdef HAVE_NETINET_IP_H
7638 # include <netinet/ip.h>
7639 #endif
7640 #ifdef HAVE_NETINET_IP_VAR_H
7641 # include <netinet/ip_var.h>
7642 #endif
7643 #ifdef HAVE_NETINET_IP_ICMP_H
7644 # include <netinet/ip_icmp.h>
7645 #endif
7646 #ifdef HAVE_NETINET_UDP_H
7647 # include <netinet/udp.h>
7648 #endif
7649 #ifdef HAVE_NETINET_TCP_H
7650 # include <netinet/tcp.h>
7651 #endif
7652 #ifdef HAVE_NETINET_TCP_TIMER_H
7653 #include <netinet/tcp_timer.h>
7654 #endif
7656 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7657 cat >>confdefs.h <<_ACEOF
7658 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7659 _ACEOF
7663 done
7666 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7667 do :
7668 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7669 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7670 #ifdef HAVE_ASM_TYPES_H
7671 # include <asm/types.h>
7672 #endif
7673 #ifdef HAVE_SYS_SOCKET_H
7674 # include <sys/socket.h>
7675 #endif
7676 #ifdef HAVE_LINUX_TYPES_H
7677 # include <linux/types.h>
7678 #endif
7680 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7681 cat >>confdefs.h <<_ACEOF
7682 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7683 _ACEOF
7687 done
7690 for ac_header in mach-o/dyld_images.h
7691 do :
7692 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7693 # include <stdbool.h>
7694 #endif
7695 #ifdef HAVE_STDINT_H
7696 # include <stdint.h>
7697 #endif
7699 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7700 cat >>confdefs.h <<_ACEOF
7701 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7702 _ACEOF
7706 done
7709 for ac_header in resolv.h
7710 do :
7711 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7712 #ifdef HAVE_SYS_SOCKET_H
7713 # include <sys/socket.h>
7714 #endif
7715 #ifdef HAVE_NETINET_IN_H
7716 # include <netinet/in.h>
7717 #endif
7718 #ifdef HAVE_ARPA_NAMESER_H
7719 # include <arpa/nameser.h>
7720 #endif
7722 if test "x$ac_cv_header_resolv_h" = xyes; then :
7723 cat >>confdefs.h <<_ACEOF
7724 #define HAVE_RESOLV_H 1
7725 _ACEOF
7729 done
7732 for ac_header in ifaddrs.h
7733 do :
7734 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7736 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7737 cat >>confdefs.h <<_ACEOF
7738 #define HAVE_IFADDRS_H 1
7739 _ACEOF
7743 done
7746 for ac_header in sys/ucontext.h
7747 do :
7748 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7750 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7751 cat >>confdefs.h <<_ACEOF
7752 #define HAVE_SYS_UCONTEXT_H 1
7753 _ACEOF
7757 done
7760 for ac_header in sys/thr.h
7761 do :
7762 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7763 #ifdef HAVE_SYS_UCONTEXT_H
7764 #include <sys/ucontext.h>
7765 #endif
7767 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7768 cat >>confdefs.h <<_ACEOF
7769 #define HAVE_SYS_THR_H 1
7770 _ACEOF
7774 done
7777 for ac_header in pthread_np.h
7778 do :
7779 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7780 #include <pthread.h>
7781 #endif
7783 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7784 cat >>confdefs.h <<_ACEOF
7785 #define HAVE_PTHREAD_NP_H 1
7786 _ACEOF
7790 done
7793 for ac_header in linux/videodev2.h
7794 do :
7795 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#ifdef HAVE_SYS_TIME_H
7796 #include <sys/time.h>
7797 #endif
7798 #include <sys/types.h>
7799 #ifdef HAVE_ASM_TYPES_H
7800 #include <asm/types.h>
7801 #endif
7803 if test "x$ac_cv_header_linux_videodev2_h" = xyes; then :
7804 cat >>confdefs.h <<_ACEOF
7805 #define HAVE_LINUX_VIDEODEV2_H 1
7806 _ACEOF
7810 done
7813 for ac_header in libprocstat.h
7814 do :
7815 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7816 #include <sys/param.h>
7817 #endif
7818 #ifdef HAVE_SYS_QUEUE_H
7819 #include <sys/queue.h>
7820 #endif
7821 #ifdef HAVE_SYS_SOCKET_H
7822 #include <sys/socket.h>
7823 #endif
7825 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7826 cat >>confdefs.h <<_ACEOF
7827 #define HAVE_LIBPROCSTAT_H 1
7828 _ACEOF
7832 done
7836 DLLFLAGS="-D_REENTRANT"
7838 LDRPATH_INSTALL=""
7840 LDRPATH_LOCAL=""
7842 LDDLLFLAGS=""
7844 LDEXECFLAGS=""
7846 TOP_INSTALL_LIB=""
7848 TOP_INSTALL_DEV=""
7850 WINELOADER_LDFLAGS=""
7852 WINEPRELOADER_LDFLAGS=""
7854 LIBEXT="so"
7855 DLLEXT=".so"
7856 # Extract the first word of "ldd", so it can be a program name with args.
7857 set dummy ldd; ac_word=$2
7858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7859 $as_echo_n "checking for $ac_word... " >&6; }
7860 if ${ac_cv_path_LDD+:} false; then :
7861 $as_echo_n "(cached) " >&6
7862 else
7863 case $LDD in
7864 [\\/]* | ?:[\\/]*)
7865 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7868 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7869 as_dummy="/sbin:/usr/sbin:$PATH"
7870 for as_dir in $as_dummy
7872 IFS=$as_save_IFS
7873 test -z "$as_dir" && as_dir=.
7874 for ac_exec_ext in '' $ac_executable_extensions; do
7875 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7876 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7877 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7878 break 2
7880 done
7881 done
7882 IFS=$as_save_IFS
7884 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7886 esac
7888 LDD=$ac_cv_path_LDD
7889 if test -n "$LDD"; then
7890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7891 $as_echo "$LDD" >&6; }
7892 else
7893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7894 $as_echo "no" >&6; }
7898 if test -n "$ac_tool_prefix"; then
7899 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7900 set dummy ${ac_tool_prefix}otool; ac_word=$2
7901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7902 $as_echo_n "checking for $ac_word... " >&6; }
7903 if ${ac_cv_prog_OTOOL+:} false; then :
7904 $as_echo_n "(cached) " >&6
7905 else
7906 if test -n "$OTOOL"; then
7907 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7908 else
7909 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7910 for as_dir in $PATH
7912 IFS=$as_save_IFS
7913 test -z "$as_dir" && as_dir=.
7914 for ac_exec_ext in '' $ac_executable_extensions; do
7915 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7916 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7917 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7918 break 2
7920 done
7921 done
7922 IFS=$as_save_IFS
7926 OTOOL=$ac_cv_prog_OTOOL
7927 if test -n "$OTOOL"; then
7928 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7929 $as_echo "$OTOOL" >&6; }
7930 else
7931 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7932 $as_echo "no" >&6; }
7937 if test -z "$ac_cv_prog_OTOOL"; then
7938 ac_ct_OTOOL=$OTOOL
7939 # Extract the first word of "otool", so it can be a program name with args.
7940 set dummy otool; ac_word=$2
7941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7942 $as_echo_n "checking for $ac_word... " >&6; }
7943 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7944 $as_echo_n "(cached) " >&6
7945 else
7946 if test -n "$ac_ct_OTOOL"; then
7947 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7948 else
7949 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7950 for as_dir in $PATH
7952 IFS=$as_save_IFS
7953 test -z "$as_dir" && as_dir=.
7954 for ac_exec_ext in '' $ac_executable_extensions; do
7955 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7956 ac_cv_prog_ac_ct_OTOOL="otool"
7957 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7958 break 2
7960 done
7961 done
7962 IFS=$as_save_IFS
7966 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7967 if test -n "$ac_ct_OTOOL"; then
7968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7969 $as_echo "$ac_ct_OTOOL" >&6; }
7970 else
7971 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7972 $as_echo "no" >&6; }
7975 if test "x$ac_ct_OTOOL" = x; then
7976 OTOOL="otool"
7977 else
7978 case $cross_compiling:$ac_tool_warned in
7979 yes:)
7980 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7981 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7982 ac_tool_warned=yes ;;
7983 esac
7984 OTOOL=$ac_ct_OTOOL
7986 else
7987 OTOOL="$ac_cv_prog_OTOOL"
7990 if test -n "$ac_tool_prefix"; then
7991 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7992 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7994 $as_echo_n "checking for $ac_word... " >&6; }
7995 if ${ac_cv_prog_READELF+:} false; then :
7996 $as_echo_n "(cached) " >&6
7997 else
7998 if test -n "$READELF"; then
7999 ac_cv_prog_READELF="$READELF" # Let the user override the test.
8000 else
8001 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8002 for as_dir in $PATH
8004 IFS=$as_save_IFS
8005 test -z "$as_dir" && as_dir=.
8006 for ac_exec_ext in '' $ac_executable_extensions; do
8007 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8008 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
8009 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8010 break 2
8012 done
8013 done
8014 IFS=$as_save_IFS
8018 READELF=$ac_cv_prog_READELF
8019 if test -n "$READELF"; then
8020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
8021 $as_echo "$READELF" >&6; }
8022 else
8023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8024 $as_echo "no" >&6; }
8029 if test -z "$ac_cv_prog_READELF"; then
8030 ac_ct_READELF=$READELF
8031 # Extract the first word of "readelf", so it can be a program name with args.
8032 set dummy readelf; ac_word=$2
8033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8034 $as_echo_n "checking for $ac_word... " >&6; }
8035 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
8036 $as_echo_n "(cached) " >&6
8037 else
8038 if test -n "$ac_ct_READELF"; then
8039 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
8040 else
8041 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8042 for as_dir in $PATH
8044 IFS=$as_save_IFS
8045 test -z "$as_dir" && as_dir=.
8046 for ac_exec_ext in '' $ac_executable_extensions; do
8047 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8048 ac_cv_prog_ac_ct_READELF="readelf"
8049 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8050 break 2
8052 done
8053 done
8054 IFS=$as_save_IFS
8058 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
8059 if test -n "$ac_ct_READELF"; then
8060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
8061 $as_echo "$ac_ct_READELF" >&6; }
8062 else
8063 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8064 $as_echo "no" >&6; }
8067 if test "x$ac_ct_READELF" = x; then
8068 READELF="true"
8069 else
8070 case $cross_compiling:$ac_tool_warned in
8071 yes:)
8072 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8073 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8074 ac_tool_warned=yes ;;
8075 esac
8076 READELF=$ac_ct_READELF
8078 else
8079 READELF="$ac_cv_prog_READELF"
8082 wine_rules_file=conf$$rules.make
8083 rm -f $wine_rules_file
8084 SUBDIRS=""
8086 DISABLED_SUBDIRS=""
8088 CONFIGURE_TARGETS=""
8091 wine_fn_append_file ()
8093 as_fn_append $1 " \\$as_nl $2"
8096 wine_fn_append_rule ()
8098 $as_echo "$1" >>$wine_rules_file
8101 wine_fn_config_makefile ()
8103 wine_fn_append_file SUBDIRS $1
8104 if eval test \"x\$"$2"\" = x"no"; then :
8105 wine_fn_append_file DISABLED_SUBDIRS $1
8109 wine_fn_config_symlink ()
8111 ac_links=$@
8112 wine_fn_append_rule \
8113 "$ac_links:
8114 @./config.status \$@"
8115 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
8118 wine_binary="wine"
8119 test "x$enable_win64" != "xyes" || wine_binary="wine64"
8120 WINELOADER_PROGRAMS="$wine_binary"
8122 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
8124 case $host_os in
8125 cygwin*|mingw32*)
8126 if test -n "$ac_tool_prefix"; then
8127 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8128 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8130 $as_echo_n "checking for $ac_word... " >&6; }
8131 if ${ac_cv_prog_DLLTOOL+:} false; then :
8132 $as_echo_n "(cached) " >&6
8133 else
8134 if test -n "$DLLTOOL"; then
8135 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8136 else
8137 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8138 for as_dir in $PATH
8140 IFS=$as_save_IFS
8141 test -z "$as_dir" && as_dir=.
8142 for ac_exec_ext in '' $ac_executable_extensions; do
8143 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8144 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8145 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8146 break 2
8148 done
8149 done
8150 IFS=$as_save_IFS
8154 DLLTOOL=$ac_cv_prog_DLLTOOL
8155 if test -n "$DLLTOOL"; then
8156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8157 $as_echo "$DLLTOOL" >&6; }
8158 else
8159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8160 $as_echo "no" >&6; }
8165 if test -z "$ac_cv_prog_DLLTOOL"; then
8166 ac_ct_DLLTOOL=$DLLTOOL
8167 # Extract the first word of "dlltool", so it can be a program name with args.
8168 set dummy dlltool; ac_word=$2
8169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8170 $as_echo_n "checking for $ac_word... " >&6; }
8171 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8172 $as_echo_n "(cached) " >&6
8173 else
8174 if test -n "$ac_ct_DLLTOOL"; then
8175 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8176 else
8177 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8178 for as_dir in $PATH
8180 IFS=$as_save_IFS
8181 test -z "$as_dir" && as_dir=.
8182 for ac_exec_ext in '' $ac_executable_extensions; do
8183 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8184 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8185 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8186 break 2
8188 done
8189 done
8190 IFS=$as_save_IFS
8194 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8195 if test -n "$ac_ct_DLLTOOL"; then
8196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8197 $as_echo "$ac_ct_DLLTOOL" >&6; }
8198 else
8199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8200 $as_echo "no" >&6; }
8203 if test "x$ac_ct_DLLTOOL" = x; then
8204 DLLTOOL="false"
8205 else
8206 case $cross_compiling:$ac_tool_warned in
8207 yes:)
8208 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8209 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8210 ac_tool_warned=yes ;;
8211 esac
8212 DLLTOOL=$ac_ct_DLLTOOL
8214 else
8215 DLLTOOL="$ac_cv_prog_DLLTOOL"
8218 LIBEXT="dll"
8219 DLLEXT=""
8220 case $host_cpu in
8221 *i[3456]86*) LDDLLFLAGS="-Wl,--disable-stdcall-fixup" ;;
8222 esac
8223 enable_iphlpapi=${enable_iphlpapi:-no}
8224 enable_kernel32=${enable_kernel32:-no}
8225 enable_ntdll=${enable_ntdll:-no}
8226 enable_ws2_32=${enable_ws2_32:-no}
8227 enable_loader=${enable_loader:-no}
8228 enable_server=${enable_server:-no}
8229 with_x=${with_x:-no}
8230 with_pthread=${with_pthread:-no}
8233 darwin*|macosx*)
8234 ac_ext=m
8235 ac_cpp='$OBJCPP $CPPFLAGS'
8236 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8237 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8238 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8240 ac_ext=m
8241 ac_cpp='$OBJCPP $CPPFLAGS'
8242 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8243 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8244 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8245 if test -n "$ac_tool_prefix"; then
8246 for ac_prog in gcc objcc objc cc CC
8248 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8249 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8250 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8251 $as_echo_n "checking for $ac_word... " >&6; }
8252 if ${ac_cv_prog_OBJC+:} false; then :
8253 $as_echo_n "(cached) " >&6
8254 else
8255 if test -n "$OBJC"; then
8256 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
8257 else
8258 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8259 for as_dir in $PATH
8261 IFS=$as_save_IFS
8262 test -z "$as_dir" && as_dir=.
8263 for ac_exec_ext in '' $ac_executable_extensions; do
8264 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8265 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
8266 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8267 break 2
8269 done
8270 done
8271 IFS=$as_save_IFS
8275 OBJC=$ac_cv_prog_OBJC
8276 if test -n "$OBJC"; then
8277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
8278 $as_echo "$OBJC" >&6; }
8279 else
8280 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8281 $as_echo "no" >&6; }
8285 test -n "$OBJC" && break
8286 done
8288 if test -z "$OBJC"; then
8289 ac_ct_OBJC=$OBJC
8290 for ac_prog in gcc objcc objc cc CC
8292 # Extract the first word of "$ac_prog", so it can be a program name with args.
8293 set dummy $ac_prog; ac_word=$2
8294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8295 $as_echo_n "checking for $ac_word... " >&6; }
8296 if ${ac_cv_prog_ac_ct_OBJC+:} false; then :
8297 $as_echo_n "(cached) " >&6
8298 else
8299 if test -n "$ac_ct_OBJC"; then
8300 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
8301 else
8302 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8303 for as_dir in $PATH
8305 IFS=$as_save_IFS
8306 test -z "$as_dir" && as_dir=.
8307 for ac_exec_ext in '' $ac_executable_extensions; do
8308 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8309 ac_cv_prog_ac_ct_OBJC="$ac_prog"
8310 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8311 break 2
8313 done
8314 done
8315 IFS=$as_save_IFS
8319 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
8320 if test -n "$ac_ct_OBJC"; then
8321 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
8322 $as_echo "$ac_ct_OBJC" >&6; }
8323 else
8324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8325 $as_echo "no" >&6; }
8329 test -n "$ac_ct_OBJC" && break
8330 done
8332 if test "x$ac_ct_OBJC" = x; then
8333 OBJC="gcc"
8334 else
8335 case $cross_compiling:$ac_tool_warned in
8336 yes:)
8337 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8338 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8339 ac_tool_warned=yes ;;
8340 esac
8341 OBJC=$ac_ct_OBJC
8345 # Provide some information about the compiler.
8346 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
8347 set X $ac_compile
8348 ac_compiler=$2
8349 for ac_option in --version -v -V -qversion; do
8350 { { ac_try="$ac_compiler $ac_option >&5"
8351 case "(($ac_try" in
8352 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8353 *) ac_try_echo=$ac_try;;
8354 esac
8355 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
8356 $as_echo "$ac_try_echo"; } >&5
8357 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
8358 ac_status=$?
8359 if test -s conftest.err; then
8360 sed '10a\
8361 ... rest of stderr output deleted ...
8362 10q' conftest.err >conftest.er1
8363 cat conftest.er1 >&5
8365 rm -f conftest.er1 conftest.err
8366 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8367 test $ac_status = 0; }
8368 done
8370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C compiler" >&5
8371 $as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; }
8372 if ${ac_cv_objc_compiler_gnu+:} false; then :
8373 $as_echo_n "(cached) " >&6
8374 else
8375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8376 /* end confdefs.h. */
8379 main ()
8381 #ifndef __GNUC__
8382 choke me
8383 #endif
8386 return 0;
8388 _ACEOF
8389 if ac_fn_objc_try_compile "$LINENO"; then :
8390 ac_compiler_gnu=yes
8391 else
8392 ac_compiler_gnu=no
8394 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8395 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
8398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
8399 $as_echo "$ac_cv_objc_compiler_gnu" >&6; }
8400 if test $ac_compiler_gnu = yes; then
8401 GOBJC=yes
8402 else
8403 GOBJC=
8405 ac_test_OBJCFLAGS=${OBJCFLAGS+set}
8406 ac_save_OBJCFLAGS=$OBJCFLAGS
8407 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
8408 $as_echo_n "checking whether $OBJC accepts -g... " >&6; }
8409 if ${ac_cv_prog_objc_g+:} false; then :
8410 $as_echo_n "(cached) " >&6
8411 else
8412 ac_save_objc_werror_flag=$ac_objc_werror_flag
8413 ac_objc_werror_flag=yes
8414 ac_cv_prog_objc_g=no
8415 OBJCFLAGS="-g"
8416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8417 /* end confdefs.h. */
8420 main ()
8424 return 0;
8426 _ACEOF
8427 if ac_fn_objc_try_compile "$LINENO"; then :
8428 ac_cv_prog_objc_g=yes
8429 else
8430 OBJCFLAGS=""
8431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8432 /* end confdefs.h. */
8435 main ()
8439 return 0;
8441 _ACEOF
8442 if ac_fn_objc_try_compile "$LINENO"; then :
8444 else
8445 ac_objc_werror_flag=$ac_save_objc_werror_flag
8446 OBJCFLAGS="-g"
8447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8448 /* end confdefs.h. */
8451 main ()
8455 return 0;
8457 _ACEOF
8458 if ac_fn_objc_try_compile "$LINENO"; then :
8459 ac_cv_prog_objc_g=yes
8461 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8463 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8465 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8466 ac_objc_werror_flag=$ac_save_objc_werror_flag
8468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
8469 $as_echo "$ac_cv_prog_objc_g" >&6; }
8470 if test "$ac_test_OBJCFLAGS" = set; then
8471 OBJCFLAGS=$ac_save_OBJCFLAGS
8472 elif test $ac_cv_prog_objc_g = yes; then
8473 if test "$GOBJC" = yes; then
8474 OBJCFLAGS="-g -O2"
8475 else
8476 OBJCFLAGS="-g"
8478 else
8479 if test "$GOBJC" = yes; then
8480 OBJCFLAGS="-O2"
8481 else
8482 OBJCFLAGS=
8485 ac_ext=m
8486 ac_cpp='$OBJCPP $CPPFLAGS'
8487 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8488 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8489 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8492 ac_ext=m
8493 ac_cpp='$OBJCPP $CPPFLAGS'
8494 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8495 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8496 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the Objective C preprocessor" >&5
8498 $as_echo_n "checking how to run the Objective C preprocessor... " >&6; }
8499 if test -z "$OBJCPP"; then
8500 if ${ac_cv_prog_OBJCPP+:} false; then :
8501 $as_echo_n "(cached) " >&6
8502 else
8503 # Double quotes because OBJCPP needs to be expanded
8504 for OBJCPP in "$OBJC -E" "/lib/cpp"
8506 ac_preproc_ok=false
8507 for ac_objc_preproc_warn_flag in '' yes
8509 # Use a header file that comes with gcc, so configuring glibc
8510 # with a fresh cross-compiler works.
8511 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8512 # <limits.h> exists even on freestanding compilers.
8513 # On the NeXT, cc -E runs the code through the compiler's parser,
8514 # not just through cpp. "Syntax error" is here to catch this case.
8515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8516 /* end confdefs.h. */
8517 #ifdef __STDC__
8518 # include <limits.h>
8519 #else
8520 # include <assert.h>
8521 #endif
8522 Syntax error
8523 _ACEOF
8524 if ac_fn_objc_try_cpp "$LINENO"; then :
8526 else
8527 # Broken: fails on valid input.
8528 continue
8530 rm -f conftest.err conftest.i conftest.$ac_ext
8532 # OK, works on sane cases. Now check whether nonexistent headers
8533 # can be detected and how.
8534 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8535 /* end confdefs.h. */
8536 #include <ac_nonexistent.h>
8537 _ACEOF
8538 if ac_fn_objc_try_cpp "$LINENO"; then :
8539 # Broken: success on invalid input.
8540 continue
8541 else
8542 # Passes both tests.
8543 ac_preproc_ok=:
8544 break
8546 rm -f conftest.err conftest.i conftest.$ac_ext
8548 done
8549 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8550 rm -f conftest.i conftest.err conftest.$ac_ext
8551 if $ac_preproc_ok; then :
8552 break
8555 done
8556 ac_cv_prog_OBJCPP=$OBJCPP
8559 OBJCPP=$ac_cv_prog_OBJCPP
8560 else
8561 ac_cv_prog_OBJCPP=$OBJCPP
8563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCPP" >&5
8564 $as_echo "$OBJCPP" >&6; }
8565 ac_preproc_ok=false
8566 for ac_objc_preproc_warn_flag in '' yes
8568 # Use a header file that comes with gcc, so configuring glibc
8569 # with a fresh cross-compiler works.
8570 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8571 # <limits.h> exists even on freestanding compilers.
8572 # On the NeXT, cc -E runs the code through the compiler's parser,
8573 # not just through cpp. "Syntax error" is here to catch this case.
8574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8575 /* end confdefs.h. */
8576 #ifdef __STDC__
8577 # include <limits.h>
8578 #else
8579 # include <assert.h>
8580 #endif
8581 Syntax error
8582 _ACEOF
8583 if ac_fn_objc_try_cpp "$LINENO"; then :
8585 else
8586 # Broken: fails on valid input.
8587 continue
8589 rm -f conftest.err conftest.i conftest.$ac_ext
8591 # OK, works on sane cases. Now check whether nonexistent headers
8592 # can be detected and how.
8593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8594 /* end confdefs.h. */
8595 #include <ac_nonexistent.h>
8596 _ACEOF
8597 if ac_fn_objc_try_cpp "$LINENO"; then :
8598 # Broken: success on invalid input.
8599 continue
8600 else
8601 # Passes both tests.
8602 ac_preproc_ok=:
8603 break
8605 rm -f conftest.err conftest.i conftest.$ac_ext
8607 done
8608 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8609 rm -f conftest.i conftest.err conftest.$ac_ext
8610 if $ac_preproc_ok; then :
8612 else
8613 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8614 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8615 as_fn_error $? "Objective C preprocessor \"$OBJCPP\" fails sanity check
8616 See \`config.log' for more details" "$LINENO" 5; }
8619 ac_ext=m
8620 ac_cpp='$OBJCPP $CPPFLAGS'
8621 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8622 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8623 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8626 for ac_header in Metal/Metal.h
8627 do :
8628 ac_fn_objc_check_header_mongrel "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
8629 if test "x$ac_cv_header_Metal_Metal_h" = xyes; then :
8630 cat >>confdefs.h <<_ACEOF
8631 #define HAVE_METAL_METAL_H 1
8632 _ACEOF
8636 done
8638 ac_ext=c
8639 ac_cpp='$CPP $CPPFLAGS'
8640 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8641 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8642 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8644 LIBEXT="dylib"
8645 DLLFLAGS="$DLLFLAGS -fPIC"
8646 LDDLLFLAGS="-fPIC"
8647 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8648 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8649 COREFOUNDATION_LIBS="-framework CoreFoundation"
8651 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8653 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8655 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8657 CORESERVICES_LIBS="-framework CoreServices"
8659 APPKIT_LIBS="-framework AppKit"
8661 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
8664 WINELOADER_LDFLAGS="-Wl,-pie,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8666 wine_can_build_preloader=yes
8667 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs -e _start -ldylib1.o -Wl,-image_base,0x7c400000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
8669 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
8670 if ${ac_cv_cflags__Wl__no_new_main__e__main+:} false; then :
8671 $as_echo_n "(cached) " >&6
8672 else
8673 ac_wine_try_cflags_saved=$CFLAGS
8674 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
8675 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8676 /* end confdefs.h. */
8677 int main(int argc, char **argv) { return 0; }
8678 _ACEOF
8679 if ac_fn_c_try_link "$LINENO"; then :
8680 ac_cv_cflags__Wl__no_new_main__e__main=yes
8681 else
8682 ac_cv_cflags__Wl__no_new_main__e__main=no
8684 rm -f core conftest.err conftest.$ac_objext \
8685 conftest$ac_exeext conftest.$ac_ext
8686 CFLAGS=$ac_wine_try_cflags_saved
8688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
8689 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
8690 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes; then :
8691 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
8692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs" >&5
8693 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs... " >&6; }
8694 if ${ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs+:} false; then :
8695 $as_echo_n "(cached) " >&6
8696 else
8697 ac_wine_try_cflags_saved=$CFLAGS
8698 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8700 /* end confdefs.h. */
8701 int main(int argc, char **argv) { return 0; }
8702 _ACEOF
8703 if ac_fn_c_try_link "$LINENO"; then :
8704 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=yes
8705 else
8706 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=no
8708 rm -f core conftest.err conftest.$ac_objext \
8709 conftest$ac_exeext conftest.$ac_ext
8710 CFLAGS=$ac_wine_try_cflags_saved
8712 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&5
8713 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&6; }
8714 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" = xyes; then :
8715 EXTRACFLAGS="$EXTRACFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8716 else
8717 { $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
8718 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8719 if ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8720 $as_echo_n "(cached) " >&6
8721 else
8722 ac_wine_try_cflags_saved=$CFLAGS
8723 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8725 /* end confdefs.h. */
8726 int main(int argc, char **argv) { return 0; }
8727 _ACEOF
8728 if ac_fn_c_try_link "$LINENO"; then :
8729 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8730 else
8731 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8733 rm -f core conftest.err conftest.$ac_objext \
8734 conftest$ac_exeext conftest.$ac_ext
8735 CFLAGS=$ac_wine_try_cflags_saved
8737 { $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
8738 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8739 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8740 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8741 else
8742 wine_can_build_preloader=no
8745 else
8746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -nostartfiles -nodefaultlibs" >&5
8747 $as_echo_n "checking whether the compiler supports -nostartfiles -nodefaultlibs... " >&6; }
8748 if ${ac_cv_cflags__nostartfiles__nodefaultlibs+:} false; then :
8749 $as_echo_n "(cached) " >&6
8750 else
8751 ac_wine_try_cflags_saved=$CFLAGS
8752 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs"
8753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8754 /* end confdefs.h. */
8755 int main(int argc, char **argv) { return 0; }
8756 _ACEOF
8757 if ac_fn_c_try_link "$LINENO"; then :
8758 ac_cv_cflags__nostartfiles__nodefaultlibs=yes
8759 else
8760 ac_cv_cflags__nostartfiles__nodefaultlibs=no
8762 rm -f core conftest.err conftest.$ac_objext \
8763 conftest$ac_exeext conftest.$ac_ext
8764 CFLAGS=$ac_wine_try_cflags_saved
8766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__nostartfiles__nodefaultlibs" >&5
8767 $as_echo "$ac_cv_cflags__nostartfiles__nodefaultlibs" >&6; }
8768 if test "x$ac_cv_cflags__nostartfiles__nodefaultlibs" = xyes; then :
8769 EXTRACFLAGS="$EXTRACFLAGS -nostartfiles -nodefaultlibs"
8770 else
8771 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
8772 $as_echo_n "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8773 if ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8774 $as_echo_n "(cached) " >&6
8775 else
8776 ac_wine_try_cflags_saved=$CFLAGS
8777 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8778 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8779 /* end confdefs.h. */
8780 int main(int argc, char **argv) { return 0; }
8781 _ACEOF
8782 if ac_fn_c_try_link "$LINENO"; then :
8783 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8784 else
8785 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8787 rm -f core conftest.err conftest.$ac_objext \
8788 conftest$ac_exeext conftest.$ac_ext
8789 CFLAGS=$ac_wine_try_cflags_saved
8791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
8792 $as_echo "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8793 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8794 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8795 else
8796 wine_can_build_preloader=no
8800 if test "$wine_can_build_preloader" = "yes"
8801 then
8802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8803 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8804 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8805 $as_echo_n "(cached) " >&6
8806 else
8807 ac_wine_try_cflags_saved=$CFLAGS
8808 CFLAGS="$CFLAGS -Wl,-no_pie"
8809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8810 /* end confdefs.h. */
8811 int main(int argc, char **argv) { return 0; }
8812 _ACEOF
8813 if ac_fn_c_try_link "$LINENO"; then :
8814 ac_cv_cflags__Wl__no_pie=yes
8815 else
8816 ac_cv_cflags__Wl__no_pie=no
8818 rm -f core conftest.err conftest.$ac_objext \
8819 conftest$ac_exeext conftest.$ac_ext
8820 CFLAGS=$ac_wine_try_cflags_saved
8822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8823 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8824 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8825 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
8827 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
8828 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
8829 else
8830 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
8833 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8834 then
8835 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8838 if test "$ac_cv_header_Security_Security_h" = "yes"
8839 then
8840 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8842 ac_save_LIBS="$LIBS"
8843 LIBS="$LIBS $SECURITY_LIBS"
8844 for ac_func in SSLCopyPeerCertificates
8845 do :
8846 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8847 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8848 cat >>confdefs.h <<_ACEOF
8849 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8850 _ACEOF
8853 done
8855 LIBS="$ac_save_LIBS"
8857 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8858 then
8859 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8860 then
8861 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8863 else
8864 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8867 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8868 ac_save_LIBS="$LIBS"
8869 LIBS="$LIBS $COREAUDIO_LIBS"
8870 for ac_func in AUGraphAddNode
8871 do :
8872 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8873 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8874 cat >>confdefs.h <<_ACEOF
8875 #define HAVE_AUGRAPHADDNODE 1
8876 _ACEOF
8879 done
8881 LIBS="$ac_save_LIBS"
8883 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8884 then
8885 OPENAL_LIBS="-framework OpenAL"
8888 cat >>confdefs.h <<_ACEOF
8889 #define HAVE_OPENAL 1
8890 _ACEOF
8892 ac_cv_lib_openal=yes
8894 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8895 then
8896 OPENCL_LIBS="-framework OpenCL"
8898 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8900 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8901 then
8902 ac_save_LIBS="$LIBS"
8903 LIBS="$LIBS $IOKIT_LIBS"
8904 for ac_func in IOHIDManagerCreate
8905 do :
8906 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8907 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8908 cat >>confdefs.h <<_ACEOF
8909 #define HAVE_IOHIDMANAGERCREATE 1
8910 _ACEOF
8913 done
8915 LIBS="$ac_save_LIBS"
8917 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8918 then
8919 ac_save_LIBS="$LIBS"
8920 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8921 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8922 $as_echo_n "checking for the QuickTime framework... " >&6; }
8923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8924 /* end confdefs.h. */
8925 #include <QuickTime/ImageCompression.h>
8927 main ()
8929 CodecManagerVersion(NULL);
8931 return 0;
8933 _ACEOF
8934 if ac_fn_c_try_link "$LINENO"; then :
8935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8936 $as_echo "yes" >&6; }
8937 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8939 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8940 else
8941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8942 $as_echo "no" >&6; }
8943 ac_cv_header_QuickTime_ImageCompression_h=no
8945 rm -f core conftest.err conftest.$ac_objext \
8946 conftest$ac_exeext conftest.$ac_ext
8947 LIBS="$ac_save_LIBS"
8949 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8950 then
8951 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8953 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8954 then
8955 CARBON_LIBS="-framework Carbon"
8958 if test "$ac_cv_header_Metal_Metal_h" = "yes"
8959 then
8960 METAL_LIBS="-framework Metal -framework QuartzCore"
8964 if test "$ac_cv_header_Metal_Metal_h" = "yes"
8965 then
8966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
8967 $as_echo_n "checking whether MTLDevice protocol supports registryID property... " >&6; }
8968 ac_ext=m
8969 ac_cpp='$OBJCPP $CPPFLAGS'
8970 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8971 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8972 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8975 /* end confdefs.h. */
8976 #include <Metal/Metal.h>
8978 main ()
8980 id<MTLDevice> device; device.registryID;
8982 return 0;
8984 _ACEOF
8985 if ac_fn_objc_try_compile "$LINENO"; then :
8986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8987 $as_echo "yes" >&6; }
8989 $as_echo "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
8991 else
8992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8993 $as_echo "no" >&6; }
8995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8996 ac_ext=c
8997 ac_cpp='$CPP $CPPFLAGS'
8998 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8999 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
9000 ac_compiler_gnu=$ac_cv_c_compiler_gnu
9004 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
9005 then
9006 ac_save_LIBS="$LIBS"
9007 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
9008 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
9009 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
9010 enable_winemac_drv=${enable_winemac_drv:-yes}
9013 LIBS="$ac_save_LIBS"
9016 if test "x$enable_win16" = "xyes"
9017 then
9018 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
9019 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
9020 if test "$cross_compiling" = yes; then :
9021 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
9022 $as_echo "cross-compiling, assuming yes" >&6; }
9023 else
9024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9025 /* end confdefs.h. */
9026 asm(".text\n"
9027 "bad:\tnop;nop\n"
9028 "good:\tnop;nop\n\t"
9029 ".globl _testfunc\n"
9030 "_testfunc:\tcallw good");
9031 extern void testfunc();
9033 main ()
9035 unsigned short *p = (unsigned short *)testfunc;
9036 return p[0] != 0xe866 || p[1] != 0xfffa
9038 return 0;
9040 _ACEOF
9041 if ac_fn_c_try_run "$LINENO"; then :
9042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9043 $as_echo "yes" >&6; }
9044 else
9045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9046 $as_echo "no" >&6; }
9047 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
9049 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
9050 conftest.$ac_objext conftest.beam conftest.$ac_ext
9055 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
9057 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
9059 WINELOADER_DEPENDS="wine_info.plist"
9061 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
9062 TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.dylib"
9065 linux-android*)
9066 DLLFLAGS="$DLLFLAGS -fPIC"
9067 LDDLLFLAGS="-fPIC"
9068 LDEXECFLAGS="-Wl,-pie"
9069 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9071 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9072 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
9073 $as_echo_n "(cached) " >&6
9074 else
9075 ac_wine_try_cflags_saved=$CFLAGS
9076 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9077 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9078 /* end confdefs.h. */
9079 int main(int argc, char **argv) { return 0; }
9080 _ACEOF
9081 if ac_fn_c_try_link "$LINENO"; then :
9082 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9083 else
9084 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9086 rm -f core conftest.err conftest.$ac_objext \
9087 conftest$ac_exeext conftest.$ac_ext
9088 CFLAGS=$ac_wine_try_cflags_saved
9090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9091 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9092 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
9093 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9095 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000"
9096 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
9097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
9098 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
9099 if eval \${$as_ac_var+:} false; then :
9100 $as_echo_n "(cached) " >&6
9101 else
9102 ac_wine_try_cflags_saved=$CFLAGS
9103 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
9104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9105 /* end confdefs.h. */
9106 int main(int argc, char **argv) { return 0; }
9107 _ACEOF
9108 if ac_fn_c_try_link "$LINENO"; then :
9109 eval "$as_ac_var=yes"
9110 else
9111 eval "$as_ac_var=no"
9113 rm -f core conftest.err conftest.$ac_objext \
9114 conftest$ac_exeext conftest.$ac_ext
9115 CFLAGS=$ac_wine_try_cflags_saved
9117 eval ac_res=\$$as_ac_var
9118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9119 $as_echo "$ac_res" >&6; }
9120 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9121 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9122 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9123 else
9124 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
9125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
9126 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
9127 if eval \${$as_ac_var+:} false; then :
9128 $as_echo_n "(cached) " >&6
9129 else
9130 ac_wine_try_cflags_saved=$CFLAGS
9131 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
9132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9133 /* end confdefs.h. */
9134 int main(int argc, char **argv) { return 0; }
9135 _ACEOF
9136 if ac_fn_c_try_link "$LINENO"; then :
9137 eval "$as_ac_var=yes"
9138 else
9139 eval "$as_ac_var=no"
9141 rm -f core conftest.err conftest.$ac_objext \
9142 conftest$ac_exeext conftest.$ac_ext
9143 CFLAGS=$ac_wine_try_cflags_saved
9145 eval ac_res=\$$as_ac_var
9146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9147 $as_echo "$ac_res" >&6; }
9148 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9149 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9150 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
9154 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
9155 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
9156 $as_echo_n "(cached) " >&6
9157 else
9158 ac_wine_try_cflags_saved=$CFLAGS
9159 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
9160 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9161 /* end confdefs.h. */
9162 int main(int argc, char **argv) { return 0; }
9163 _ACEOF
9164 if ac_fn_c_try_link "$LINENO"; then :
9165 ac_cv_cflags__Wl___enable_new_dtags=yes
9166 else
9167 ac_cv_cflags__Wl___enable_new_dtags=no
9169 rm -f core conftest.err conftest.$ac_objext \
9170 conftest$ac_exeext conftest.$ac_ext
9171 CFLAGS=$ac_wine_try_cflags_saved
9173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9174 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9175 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
9176 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9179 LIBWINE_SHAREDLIB="libwine.so"
9181 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
9183 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so"
9185 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9186 $as_echo_n "checking for -lEGL... " >&6; }
9187 if ${ac_cv_lib_soname_EGL+:} false; then :
9188 $as_echo_n "(cached) " >&6
9189 else
9190 ac_check_soname_save_LIBS=$LIBS
9191 LIBS="-lEGL $LIBS"
9192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9193 /* end confdefs.h. */
9195 /* Override any GCC internal prototype to avoid an error.
9196 Use char because int might match the return type of a GCC
9197 builtin and then its argument prototype would still apply. */
9198 #ifdef __cplusplus
9199 extern "C"
9200 #endif
9201 char eglGetProcAddress ();
9203 main ()
9205 return eglGetProcAddress ();
9207 return 0;
9209 _ACEOF
9210 if ac_fn_c_try_link "$LINENO"; then :
9211 case "$LIBEXT" in
9212 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9213 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'` ;;
9214 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9215 if ${ac_cv_lib_soname_EGL:+false} :; then :
9216 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9217 fi ;;
9218 esac
9219 else
9220 ac_cv_lib_soname_EGL=
9222 rm -f core conftest.err conftest.$ac_objext \
9223 conftest$ac_exeext conftest.$ac_ext
9224 LIBS=$ac_check_soname_save_LIBS
9226 if ${ac_cv_lib_soname_EGL:+false} :; then :
9227 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9228 $as_echo "not found" >&6; }
9230 else
9231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
9232 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
9234 cat >>confdefs.h <<_ACEOF
9235 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
9236 _ACEOF
9240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
9241 $as_echo_n "checking for -lGLESv2... " >&6; }
9242 if ${ac_cv_lib_soname_GLESv2+:} false; then :
9243 $as_echo_n "(cached) " >&6
9244 else
9245 ac_check_soname_save_LIBS=$LIBS
9246 LIBS="-lGLESv2 $LIBS"
9247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9248 /* end confdefs.h. */
9250 /* Override any GCC internal prototype to avoid an error.
9251 Use char because int might match the return type of a GCC
9252 builtin and then its argument prototype would still apply. */
9253 #ifdef __cplusplus
9254 extern "C"
9255 #endif
9256 char glFlush ();
9258 main ()
9260 return glFlush ();
9262 return 0;
9264 _ACEOF
9265 if ac_fn_c_try_link "$LINENO"; then :
9266 case "$LIBEXT" in
9267 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9268 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'` ;;
9269 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9270 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9271 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9272 fi ;;
9273 esac
9274 else
9275 ac_cv_lib_soname_GLESv2=
9277 rm -f core conftest.err conftest.$ac_objext \
9278 conftest$ac_exeext conftest.$ac_ext
9279 LIBS=$ac_check_soname_save_LIBS
9281 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9283 $as_echo "not found" >&6; }
9285 else
9286 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
9287 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
9289 cat >>confdefs.h <<_ACEOF
9290 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
9291 _ACEOF
9296 if test "x$exec_prefix" = xNONE
9297 then
9298 case $host_cpu in
9299 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
9300 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
9301 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
9302 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
9303 esac
9308 case $host_cpu in
9309 *i[3456789]86*)
9310 DLLFLAGS="$DLLFLAGS -fno-PIC"
9311 LDDLLFLAGS="-fno-PIC" ;;
9313 DLLFLAGS="$DLLFLAGS -fPIC"
9314 LDDLLFLAGS="-fPIC" ;;
9315 esac
9316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
9317 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
9318 if ${ac_cv_c_dll_gnuelf+:} false; then :
9319 $as_echo_n "(cached) " >&6
9320 else
9321 ac_wine_try_cflags_saved=$CFLAGS
9322 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
9323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9324 /* end confdefs.h. */
9325 void myfunc() {}
9326 _ACEOF
9327 if ac_fn_c_try_link "$LINENO"; then :
9328 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=yes
9329 else
9330 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=no
9332 rm -f core conftest.err conftest.$ac_objext \
9333 conftest$ac_exeext conftest.$ac_ext
9334 CFLAGS=$ac_wine_try_cflags_saved
9335 if test "x$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic" = xyes; then :
9336 ac_cv_c_dll_gnuelf="yes"
9337 else
9338 ac_cv_c_dll_gnuelf="no"
9341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
9342 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
9343 if test "$ac_cv_c_dll_gnuelf" = "yes"
9344 then
9345 LIBWINE_LDFLAGS="-shared"
9346 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-soname,confest.so.1" >&5
9347 $as_echo_n "checking whether the compiler supports -shared -Wl,-soname,confest.so.1... " >&6; }
9348 if ${ac_cv_cflags__shared__Wl__soname_confest_so_1+:} false; then :
9349 $as_echo_n "(cached) " >&6
9350 else
9351 ac_wine_try_cflags_saved=$CFLAGS
9352 CFLAGS="$CFLAGS -shared -Wl,-soname,confest.so.1"
9353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9354 /* end confdefs.h. */
9355 int main(int argc, char **argv) { return 0; }
9356 _ACEOF
9357 if ac_fn_c_try_link "$LINENO"; then :
9358 ac_cv_cflags__shared__Wl__soname_confest_so_1=yes
9359 else
9360 ac_cv_cflags__shared__Wl__soname_confest_so_1=no
9362 rm -f core conftest.err conftest.$ac_objext \
9363 conftest$ac_exeext conftest.$ac_ext
9364 CFLAGS=$ac_wine_try_cflags_saved
9366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__soname_confest_so_1" >&5
9367 $as_echo "$ac_cv_cflags__shared__Wl__soname_confest_so_1" >&6; }
9368 if test "x$ac_cv_cflags__shared__Wl__soname_confest_so_1" = xyes; then :
9369 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
9370 else
9371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-h,confest.so.1" >&5
9372 $as_echo_n "checking whether the compiler supports -shared -Wl,-h,confest.so.1... " >&6; }
9373 if ${ac_cv_cflags__shared__Wl__h_confest_so_1+:} false; then :
9374 $as_echo_n "(cached) " >&6
9375 else
9376 ac_wine_try_cflags_saved=$CFLAGS
9377 CFLAGS="$CFLAGS -shared -Wl,-h,confest.so.1"
9378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9379 /* end confdefs.h. */
9380 int main(int argc, char **argv) { return 0; }
9381 _ACEOF
9382 if ac_fn_c_try_link "$LINENO"; then :
9383 ac_cv_cflags__shared__Wl__h_confest_so_1=yes
9384 else
9385 ac_cv_cflags__shared__Wl__h_confest_so_1=no
9387 rm -f core conftest.err conftest.$ac_objext \
9388 conftest$ac_exeext conftest.$ac_ext
9389 CFLAGS=$ac_wine_try_cflags_saved
9391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__h_confest_so_1" >&5
9392 $as_echo "$ac_cv_cflags__shared__Wl__h_confest_so_1" >&6; }
9393 if test "x$ac_cv_cflags__shared__Wl__h_confest_so_1" = xyes; then :
9394 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
9398 echo '{ global: *; };' >conftest.map
9399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
9400 $as_echo_n "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
9401 if ${ac_cv_cflags__shared__Wl___version_script_conftest_map+:} false; then :
9402 $as_echo_n "(cached) " >&6
9403 else
9404 ac_wine_try_cflags_saved=$CFLAGS
9405 CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
9406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9407 /* end confdefs.h. */
9408 int main(int argc, char **argv) { return 0; }
9409 _ACEOF
9410 if ac_fn_c_try_link "$LINENO"; then :
9411 ac_cv_cflags__shared__Wl___version_script_conftest_map=yes
9412 else
9413 ac_cv_cflags__shared__Wl___version_script_conftest_map=no
9415 rm -f core conftest.err conftest.$ac_objext \
9416 conftest$ac_exeext conftest.$ac_ext
9417 CFLAGS=$ac_wine_try_cflags_saved
9419 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl___version_script_conftest_map" >&5
9420 $as_echo "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
9421 if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes; then :
9422 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
9424 rm -f conftest.map
9426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
9427 $as_echo_n "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
9428 if ${ac_cv_cflags__Wl___export_dynamic+:} false; then :
9429 $as_echo_n "(cached) " >&6
9430 else
9431 ac_wine_try_cflags_saved=$CFLAGS
9432 CFLAGS="$CFLAGS -Wl,--export-dynamic"
9433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9434 /* end confdefs.h. */
9435 int main(int argc, char **argv) { return 0; }
9436 _ACEOF
9437 if ac_fn_c_try_link "$LINENO"; then :
9438 ac_cv_cflags__Wl___export_dynamic=yes
9439 else
9440 ac_cv_cflags__Wl___export_dynamic=no
9442 rm -f core conftest.err conftest.$ac_objext \
9443 conftest$ac_exeext conftest.$ac_ext
9444 CFLAGS=$ac_wine_try_cflags_saved
9446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
9447 $as_echo "$ac_cv_cflags__Wl___export_dynamic" >&6; }
9448 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes; then :
9449 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9451 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000"
9453 as_ac_var=`$as_echo "ac_cv_cflags_-Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
9454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--rpath,\$ORIGIN/../lib" >&5
9455 $as_echo_n "checking whether the compiler supports -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
9456 if eval \${$as_ac_var+:} false; then :
9457 $as_echo_n "(cached) " >&6
9458 else
9459 ac_wine_try_cflags_saved=$CFLAGS
9460 CFLAGS="$CFLAGS -Wl,--rpath,\$ORIGIN/../lib"
9461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9462 /* end confdefs.h. */
9463 int main(int argc, char **argv) { return 0; }
9464 _ACEOF
9465 if ac_fn_c_try_link "$LINENO"; then :
9466 eval "$as_ac_var=yes"
9467 else
9468 eval "$as_ac_var=no"
9470 rm -f core conftest.err conftest.$ac_objext \
9471 conftest$ac_exeext conftest.$ac_ext
9472 CFLAGS=$ac_wine_try_cflags_saved
9474 eval ac_res=\$$as_ac_var
9475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9476 $as_echo "$ac_res" >&6; }
9477 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9478 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9479 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9480 else
9481 as_ac_var=`$as_echo "ac_cv_cflags_-Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
9482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-R,\$ORIGIN/../lib" >&5
9483 $as_echo_n "checking whether the compiler supports -Wl,-R,\$ORIGIN/../lib... " >&6; }
9484 if eval \${$as_ac_var+:} false; then :
9485 $as_echo_n "(cached) " >&6
9486 else
9487 ac_wine_try_cflags_saved=$CFLAGS
9488 CFLAGS="$CFLAGS -Wl,-R,\$ORIGIN/../lib"
9489 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9490 /* end confdefs.h. */
9491 int main(int argc, char **argv) { return 0; }
9492 _ACEOF
9493 if ac_fn_c_try_link "$LINENO"; then :
9494 eval "$as_ac_var=yes"
9495 else
9496 eval "$as_ac_var=no"
9498 rm -f core conftest.err conftest.$ac_objext \
9499 conftest$ac_exeext conftest.$ac_ext
9500 CFLAGS=$ac_wine_try_cflags_saved
9502 eval ac_res=\$$as_ac_var
9503 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9504 $as_echo "$ac_res" >&6; }
9505 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9506 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9507 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
9512 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
9513 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
9514 $as_echo_n "(cached) " >&6
9515 else
9516 ac_wine_try_cflags_saved=$CFLAGS
9517 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
9518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9519 /* end confdefs.h. */
9520 int main(int argc, char **argv) { return 0; }
9521 _ACEOF
9522 if ac_fn_c_try_link "$LINENO"; then :
9523 ac_cv_cflags__Wl___enable_new_dtags=yes
9524 else
9525 ac_cv_cflags__Wl___enable_new_dtags=no
9527 rm -f core conftest.err conftest.$ac_objext \
9528 conftest$ac_exeext conftest.$ac_ext
9529 CFLAGS=$ac_wine_try_cflags_saved
9531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9532 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9533 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
9534 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9537 case $host_cpu in
9538 *i[3456789]86* | x86_64 | *aarch64*)
9539 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
9540 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
9541 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
9542 $as_echo_n "(cached) " >&6
9543 else
9544 ac_wine_try_cflags_saved=$CFLAGS
9545 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
9546 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9547 /* end confdefs.h. */
9548 int main(int argc, char **argv) { return 0; }
9549 _ACEOF
9550 if ac_fn_c_try_link "$LINENO"; then :
9551 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
9552 else
9553 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
9555 rm -f core conftest.err conftest.$ac_objext \
9556 conftest$ac_exeext conftest.$ac_ext
9557 CFLAGS=$ac_wine_try_cflags_saved
9559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
9560 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
9561 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
9562 case $host_os in
9563 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
9564 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
9565 esac
9566 else
9567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
9568 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
9569 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
9570 $as_echo_n "(cached) " >&6
9571 else
9572 ac_wine_try_cflags_saved=$CFLAGS
9573 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
9574 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9575 /* end confdefs.h. */
9576 int main(int argc, char **argv) { return 0; }
9577 _ACEOF
9578 if ac_fn_c_try_link "$LINENO"; then :
9579 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
9580 else
9581 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
9583 rm -f core conftest.err conftest.$ac_objext \
9584 conftest$ac_exeext conftest.$ac_ext
9585 CFLAGS=$ac_wine_try_cflags_saved
9587 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
9588 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
9589 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
9590 case $host_os in
9591 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
9592 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
9593 esac
9595 # Extract the first word of "prelink", so it can be a program name with args.
9596 set dummy prelink; ac_word=$2
9597 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9598 $as_echo_n "checking for $ac_word... " >&6; }
9599 if ${ac_cv_path_PRELINK+:} false; then :
9600 $as_echo_n "(cached) " >&6
9601 else
9602 case $PRELINK in
9603 [\\/]* | ?:[\\/]*)
9604 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
9607 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9608 for as_dir in /sbin /usr/sbin $PATH
9610 IFS=$as_save_IFS
9611 test -z "$as_dir" && as_dir=.
9612 for ac_exec_ext in '' $ac_executable_extensions; do
9613 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9614 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
9615 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9616 break 2
9618 done
9619 done
9620 IFS=$as_save_IFS
9622 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
9624 esac
9626 PRELINK=$ac_cv_path_PRELINK
9627 if test -n "$PRELINK"; then
9628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
9629 $as_echo "$PRELINK" >&6; }
9630 else
9631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9632 $as_echo "no" >&6; }
9636 if test "x$PRELINK" = xfalse
9637 then
9638 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
9641 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
9642 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
9643 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
9644 $as_echo_n "(cached) " >&6
9645 else
9646 ac_wine_try_cflags_saved=$CFLAGS
9647 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
9648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9649 /* end confdefs.h. */
9650 int main(int argc, char **argv) { return 0; }
9651 _ACEOF
9652 if ac_fn_c_try_link "$LINENO"; then :
9653 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
9654 else
9655 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
9657 rm -f core conftest.err conftest.$ac_objext \
9658 conftest$ac_exeext conftest.$ac_ext
9659 CFLAGS=$ac_wine_try_cflags_saved
9661 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
9662 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
9663 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
9664 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
9667 esac
9669 else
9670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
9671 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
9672 if ${ac_cv_c_dll_unixware+:} false; then :
9673 $as_echo_n "(cached) " >&6
9674 else
9675 ac_wine_try_cflags_saved=$CFLAGS
9676 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9678 /* end confdefs.h. */
9679 void myfunc() {}
9680 _ACEOF
9681 if ac_fn_c_try_link "$LINENO"; then :
9682 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=yes
9683 else
9684 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=no
9686 rm -f core conftest.err conftest.$ac_objext \
9687 conftest$ac_exeext conftest.$ac_ext
9688 CFLAGS=$ac_wine_try_cflags_saved
9689 if test "x$ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic" = xyes; then :
9690 ac_cv_c_dll_unixware="yes"
9691 else
9692 ac_cv_c_dll_unixware="no"
9695 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
9696 $as_echo "$ac_cv_c_dll_unixware" >&6; }
9697 if test "$ac_cv_c_dll_unixware" = "yes"
9698 then
9699 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
9702 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
9704 LIBWINE_DEPENDS="wine.map"
9706 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
9707 TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.so"
9709 esac
9711 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
9712 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
9713 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
9714 enable_winemac_drv=${enable_winemac_drv:-no}
9715 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
9717 CROSSTARGET=""
9719 if test "x$with_mingw" != xno
9720 then
9721 case "x$with_mingw" in
9722 x|xyes) case "$host_cpu" in
9723 aarch64*)
9724 ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc" ;;
9725 arm*)
9726 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
9727 i[3456789]86*)
9728 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
9729 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9730 mingw32-gcc" ;;
9731 x86_64)
9732 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
9733 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
9735 ac_prefix_list="" ;;
9736 esac
9737 for ac_prog in $ac_prefix_list
9739 # Extract the first word of "$ac_prog", so it can be a program name with args.
9740 set dummy $ac_prog; ac_word=$2
9741 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9742 $as_echo_n "checking for $ac_word... " >&6; }
9743 if ${ac_cv_prog_CROSSCC+:} false; then :
9744 $as_echo_n "(cached) " >&6
9745 else
9746 if test -n "$CROSSCC"; then
9747 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9748 else
9749 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9750 for as_dir in $PATH
9752 IFS=$as_save_IFS
9753 test -z "$as_dir" && as_dir=.
9754 for ac_exec_ext in '' $ac_executable_extensions; do
9755 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9756 ac_cv_prog_CROSSCC="$ac_prog"
9757 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9758 break 2
9760 done
9761 done
9762 IFS=$as_save_IFS
9766 CROSSCC=$ac_cv_prog_CROSSCC
9767 if test -n "$CROSSCC"; then
9768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9769 $as_echo "$CROSSCC" >&6; }
9770 else
9771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9772 $as_echo "no" >&6; }
9776 test -n "$CROSSCC" && break
9777 done
9778 test -n "$CROSSCC" || CROSSCC="false"
9780 *) CROSSCC=$with_mingw ;;
9781 esac
9782 if test "$CROSSCC" != "false"
9783 then
9784 ac_save_CC="$CC"
9785 saved_CFLAGS=$CFLAGS
9786 CROSSCFLAGS=${CROSSCFLAGS:-"-g -O2"}
9788 EXTRACROSSCFLAGS="-DWINE_CROSS_PE -Wall"
9791 CC="$CROSSCC"
9792 CFLAGS=$CROSSCFLAGS
9793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9794 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9795 if ${wine_cv_crosscc+:} false; then :
9796 $as_echo_n "(cached) " >&6
9797 else
9798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9799 /* end confdefs.h. */
9802 main ()
9806 return 0;
9808 _ACEOF
9809 if ac_fn_c_try_compile "$LINENO"; then :
9810 wine_cv_crosscc=yes
9811 else
9812 wine_cv_crosscc=no
9814 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_crosscc" >&5
9817 $as_echo "$wine_cv_crosscc" >&6; }
9818 if test $wine_cv_crosscc = yes
9819 then
9820 set x $CROSSCC
9821 shift
9822 while test $# -ge 1
9824 case "$1" in
9825 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
9826 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
9827 esac
9828 shift
9829 done
9831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-strict-aliasing" >&5
9832 $as_echo_n "checking whether the cross-compiler supports -fno-strict-aliasing... " >&6; }
9833 if ${ac_cv_crosscflags__fno_strict_aliasing+:} false; then :
9834 $as_echo_n "(cached) " >&6
9835 else
9836 ac_wine_try_cflags_saved=$CFLAGS
9837 ac_wine_try_cflags_saved_cc=$CC
9838 ac_wine_try_cflags_saved_exeext=$ac_exeext
9839 CFLAGS="$CFLAGS -fno-strict-aliasing"
9840 CC="$CROSSCC"
9841 ac_exeext=".exe"
9842 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9843 /* end confdefs.h. */
9844 int main(int argc, char **argv) { return 0; }
9845 _ACEOF
9846 if ac_fn_c_try_link "$LINENO"; then :
9847 ac_cv_crosscflags__fno_strict_aliasing=yes
9848 else
9849 ac_cv_crosscflags__fno_strict_aliasing=no
9851 rm -f core conftest.err conftest.$ac_objext \
9852 conftest$ac_exeext conftest.$ac_ext
9853 CFLAGS=$ac_wine_try_cflags_saved
9854 CC=$ac_wine_try_cflags_saved_cc
9855 ac_exeext=$ac_wine_try_cflags_saved_exeext
9857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_strict_aliasing" >&5
9858 $as_echo "$ac_cv_crosscflags__fno_strict_aliasing" >&6; }
9859 if test "x$ac_cv_crosscflags__fno_strict_aliasing" = xyes; then :
9860 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-strict-aliasing"
9862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=unknown-warning-option" >&5
9863 $as_echo_n "checking whether the cross-compiler supports -Werror=unknown-warning-option... " >&6; }
9864 if ${ac_cv_crosscflags__Werror_unknown_warning_option+:} false; then :
9865 $as_echo_n "(cached) " >&6
9866 else
9867 ac_wine_try_cflags_saved=$CFLAGS
9868 ac_wine_try_cflags_saved_cc=$CC
9869 ac_wine_try_cflags_saved_exeext=$ac_exeext
9870 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9871 CC="$CROSSCC"
9872 ac_exeext=".exe"
9873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9874 /* end confdefs.h. */
9875 int main(int argc, char **argv) { return 0; }
9876 _ACEOF
9877 if ac_fn_c_try_link "$LINENO"; then :
9878 ac_cv_crosscflags__Werror_unknown_warning_option=yes
9879 else
9880 ac_cv_crosscflags__Werror_unknown_warning_option=no
9882 rm -f core conftest.err conftest.$ac_objext \
9883 conftest$ac_exeext conftest.$ac_ext
9884 CFLAGS=$ac_wine_try_cflags_saved
9885 CC=$ac_wine_try_cflags_saved_cc
9886 ac_exeext=$ac_wine_try_cflags_saved_exeext
9888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_unknown_warning_option" >&5
9889 $as_echo "$ac_cv_crosscflags__Werror_unknown_warning_option" >&6; }
9890 if test "x$ac_cv_crosscflags__Werror_unknown_warning_option" = xyes; then :
9891 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wdeclaration-after-statement" >&5
9894 $as_echo_n "checking whether the cross-compiler supports -Wdeclaration-after-statement... " >&6; }
9895 if ${ac_cv_crosscflags__Wdeclaration_after_statement+:} false; then :
9896 $as_echo_n "(cached) " >&6
9897 else
9898 ac_wine_try_cflags_saved=$CFLAGS
9899 ac_wine_try_cflags_saved_cc=$CC
9900 ac_wine_try_cflags_saved_exeext=$ac_exeext
9901 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
9902 CC="$CROSSCC"
9903 ac_exeext=".exe"
9904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9905 /* end confdefs.h. */
9906 int main(int argc, char **argv) { return 0; }
9907 _ACEOF
9908 if ac_fn_c_try_link "$LINENO"; then :
9909 ac_cv_crosscflags__Wdeclaration_after_statement=yes
9910 else
9911 ac_cv_crosscflags__Wdeclaration_after_statement=no
9913 rm -f core conftest.err conftest.$ac_objext \
9914 conftest$ac_exeext conftest.$ac_ext
9915 CFLAGS=$ac_wine_try_cflags_saved
9916 CC=$ac_wine_try_cflags_saved_cc
9917 ac_exeext=$ac_wine_try_cflags_saved_exeext
9919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wdeclaration_after_statement" >&5
9920 $as_echo "$ac_cv_crosscflags__Wdeclaration_after_statement" >&6; }
9921 if test "x$ac_cv_crosscflags__Wdeclaration_after_statement" = xyes; then :
9922 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wdeclaration-after-statement"
9924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wempty-body" >&5
9925 $as_echo_n "checking whether the cross-compiler supports -Wempty-body... " >&6; }
9926 if ${ac_cv_crosscflags__Wempty_body+:} false; then :
9927 $as_echo_n "(cached) " >&6
9928 else
9929 ac_wine_try_cflags_saved=$CFLAGS
9930 ac_wine_try_cflags_saved_cc=$CC
9931 ac_wine_try_cflags_saved_exeext=$ac_exeext
9932 CFLAGS="$CFLAGS -Wempty-body"
9933 CC="$CROSSCC"
9934 ac_exeext=".exe"
9935 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9936 /* end confdefs.h. */
9937 int main(int argc, char **argv) { return 0; }
9938 _ACEOF
9939 if ac_fn_c_try_link "$LINENO"; then :
9940 ac_cv_crosscflags__Wempty_body=yes
9941 else
9942 ac_cv_crosscflags__Wempty_body=no
9944 rm -f core conftest.err conftest.$ac_objext \
9945 conftest$ac_exeext conftest.$ac_ext
9946 CFLAGS=$ac_wine_try_cflags_saved
9947 CC=$ac_wine_try_cflags_saved_cc
9948 ac_exeext=$ac_wine_try_cflags_saved_exeext
9950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wempty_body" >&5
9951 $as_echo "$ac_cv_crosscflags__Wempty_body" >&6; }
9952 if test "x$ac_cv_crosscflags__Wempty_body" = xyes; then :
9953 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wempty-body"
9955 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wignored-qualifiers" >&5
9956 $as_echo_n "checking whether the cross-compiler supports -Wignored-qualifiers... " >&6; }
9957 if ${ac_cv_crosscflags__Wignored_qualifiers+:} false; then :
9958 $as_echo_n "(cached) " >&6
9959 else
9960 ac_wine_try_cflags_saved=$CFLAGS
9961 ac_wine_try_cflags_saved_cc=$CC
9962 ac_wine_try_cflags_saved_exeext=$ac_exeext
9963 CFLAGS="$CFLAGS -Wignored-qualifiers"
9964 CC="$CROSSCC"
9965 ac_exeext=".exe"
9966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9967 /* end confdefs.h. */
9968 int main(int argc, char **argv) { return 0; }
9969 _ACEOF
9970 if ac_fn_c_try_link "$LINENO"; then :
9971 ac_cv_crosscflags__Wignored_qualifiers=yes
9972 else
9973 ac_cv_crosscflags__Wignored_qualifiers=no
9975 rm -f core conftest.err conftest.$ac_objext \
9976 conftest$ac_exeext conftest.$ac_ext
9977 CFLAGS=$ac_wine_try_cflags_saved
9978 CC=$ac_wine_try_cflags_saved_cc
9979 ac_exeext=$ac_wine_try_cflags_saved_exeext
9981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wignored_qualifiers" >&5
9982 $as_echo "$ac_cv_crosscflags__Wignored_qualifiers" >&6; }
9983 if test "x$ac_cv_crosscflags__Wignored_qualifiers" = xyes; then :
9984 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wignored-qualifiers"
9986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpacked-not-aligned" >&5
9987 $as_echo_n "checking whether the cross-compiler supports -Wpacked-not-aligned... " >&6; }
9988 if ${ac_cv_crosscflags__Wpacked_not_aligned+:} false; then :
9989 $as_echo_n "(cached) " >&6
9990 else
9991 ac_wine_try_cflags_saved=$CFLAGS
9992 ac_wine_try_cflags_saved_cc=$CC
9993 ac_wine_try_cflags_saved_exeext=$ac_exeext
9994 CFLAGS="$CFLAGS -Wpacked-not-aligned"
9995 CC="$CROSSCC"
9996 ac_exeext=".exe"
9997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9998 /* end confdefs.h. */
9999 int main(int argc, char **argv) { return 0; }
10000 _ACEOF
10001 if ac_fn_c_try_link "$LINENO"; then :
10002 ac_cv_crosscflags__Wpacked_not_aligned=yes
10003 else
10004 ac_cv_crosscflags__Wpacked_not_aligned=no
10006 rm -f core conftest.err conftest.$ac_objext \
10007 conftest$ac_exeext conftest.$ac_ext
10008 CFLAGS=$ac_wine_try_cflags_saved
10009 CC=$ac_wine_try_cflags_saved_cc
10010 ac_exeext=$ac_wine_try_cflags_saved_exeext
10012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpacked_not_aligned" >&5
10013 $as_echo "$ac_cv_crosscflags__Wpacked_not_aligned" >&6; }
10014 if test "x$ac_cv_crosscflags__Wpacked_not_aligned" = xyes; then :
10015 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-packed-not-aligned"
10017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpragma-pack" >&5
10018 $as_echo_n "checking whether the cross-compiler supports -Wpragma-pack... " >&6; }
10019 if ${ac_cv_crosscflags__Wpragma_pack+:} false; then :
10020 $as_echo_n "(cached) " >&6
10021 else
10022 ac_wine_try_cflags_saved=$CFLAGS
10023 ac_wine_try_cflags_saved_cc=$CC
10024 ac_wine_try_cflags_saved_exeext=$ac_exeext
10025 CFLAGS="$CFLAGS -Wpragma-pack"
10026 CC="$CROSSCC"
10027 ac_exeext=".exe"
10028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10029 /* end confdefs.h. */
10030 int main(int argc, char **argv) { return 0; }
10031 _ACEOF
10032 if ac_fn_c_try_link "$LINENO"; then :
10033 ac_cv_crosscflags__Wpragma_pack=yes
10034 else
10035 ac_cv_crosscflags__Wpragma_pack=no
10037 rm -f core conftest.err conftest.$ac_objext \
10038 conftest$ac_exeext conftest.$ac_ext
10039 CFLAGS=$ac_wine_try_cflags_saved
10040 CC=$ac_wine_try_cflags_saved_cc
10041 ac_exeext=$ac_wine_try_cflags_saved_exeext
10043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpragma_pack" >&5
10044 $as_echo "$ac_cv_crosscflags__Wpragma_pack" >&6; }
10045 if test "x$ac_cv_crosscflags__Wpragma_pack" = xyes; then :
10046 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-pragma-pack"
10048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wshift-overflow=2" >&5
10049 $as_echo_n "checking whether the cross-compiler supports -Wshift-overflow=2... " >&6; }
10050 if ${ac_cv_crosscflags__Wshift_overflow_2+:} false; then :
10051 $as_echo_n "(cached) " >&6
10052 else
10053 ac_wine_try_cflags_saved=$CFLAGS
10054 ac_wine_try_cflags_saved_cc=$CC
10055 ac_wine_try_cflags_saved_exeext=$ac_exeext
10056 CFLAGS="$CFLAGS -Wshift-overflow=2"
10057 CC="$CROSSCC"
10058 ac_exeext=".exe"
10059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10060 /* end confdefs.h. */
10061 int main(int argc, char **argv) { return 0; }
10062 _ACEOF
10063 if ac_fn_c_try_link "$LINENO"; then :
10064 ac_cv_crosscflags__Wshift_overflow_2=yes
10065 else
10066 ac_cv_crosscflags__Wshift_overflow_2=no
10068 rm -f core conftest.err conftest.$ac_objext \
10069 conftest$ac_exeext conftest.$ac_ext
10070 CFLAGS=$ac_wine_try_cflags_saved
10071 CC=$ac_wine_try_cflags_saved_cc
10072 ac_exeext=$ac_wine_try_cflags_saved_exeext
10074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wshift_overflow_2" >&5
10075 $as_echo "$ac_cv_crosscflags__Wshift_overflow_2" >&6; }
10076 if test "x$ac_cv_crosscflags__Wshift_overflow_2" = xyes; then :
10077 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wshift-overflow=2"
10079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wstrict-prototypes" >&5
10080 $as_echo_n "checking whether the cross-compiler supports -Wstrict-prototypes... " >&6; }
10081 if ${ac_cv_crosscflags__Wstrict_prototypes+:} false; then :
10082 $as_echo_n "(cached) " >&6
10083 else
10084 ac_wine_try_cflags_saved=$CFLAGS
10085 ac_wine_try_cflags_saved_cc=$CC
10086 ac_wine_try_cflags_saved_exeext=$ac_exeext
10087 CFLAGS="$CFLAGS -Wstrict-prototypes"
10088 CC="$CROSSCC"
10089 ac_exeext=".exe"
10090 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10091 /* end confdefs.h. */
10092 int main(int argc, char **argv) { return 0; }
10093 _ACEOF
10094 if ac_fn_c_try_link "$LINENO"; then :
10095 ac_cv_crosscflags__Wstrict_prototypes=yes
10096 else
10097 ac_cv_crosscflags__Wstrict_prototypes=no
10099 rm -f core conftest.err conftest.$ac_objext \
10100 conftest$ac_exeext conftest.$ac_ext
10101 CFLAGS=$ac_wine_try_cflags_saved
10102 CC=$ac_wine_try_cflags_saved_cc
10103 ac_exeext=$ac_wine_try_cflags_saved_exeext
10105 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wstrict_prototypes" >&5
10106 $as_echo "$ac_cv_crosscflags__Wstrict_prototypes" >&6; }
10107 if test "x$ac_cv_crosscflags__Wstrict_prototypes" = xyes; then :
10108 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wstrict-prototypes"
10110 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wtype-limits" >&5
10111 $as_echo_n "checking whether the cross-compiler supports -Wtype-limits... " >&6; }
10112 if ${ac_cv_crosscflags__Wtype_limits+:} false; then :
10113 $as_echo_n "(cached) " >&6
10114 else
10115 ac_wine_try_cflags_saved=$CFLAGS
10116 ac_wine_try_cflags_saved_cc=$CC
10117 ac_wine_try_cflags_saved_exeext=$ac_exeext
10118 CFLAGS="$CFLAGS -Wtype-limits"
10119 CC="$CROSSCC"
10120 ac_exeext=".exe"
10121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10122 /* end confdefs.h. */
10123 int main(int argc, char **argv) { return 0; }
10124 _ACEOF
10125 if ac_fn_c_try_link "$LINENO"; then :
10126 ac_cv_crosscflags__Wtype_limits=yes
10127 else
10128 ac_cv_crosscflags__Wtype_limits=no
10130 rm -f core conftest.err conftest.$ac_objext \
10131 conftest$ac_exeext conftest.$ac_ext
10132 CFLAGS=$ac_wine_try_cflags_saved
10133 CC=$ac_wine_try_cflags_saved_cc
10134 ac_exeext=$ac_wine_try_cflags_saved_exeext
10136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wtype_limits" >&5
10137 $as_echo "$ac_cv_crosscflags__Wtype_limits" >&6; }
10138 if test "x$ac_cv_crosscflags__Wtype_limits" = xyes; then :
10139 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wtype-limits"
10141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wunused-but-set-parameter" >&5
10142 $as_echo_n "checking whether the cross-compiler supports -Wunused-but-set-parameter... " >&6; }
10143 if ${ac_cv_crosscflags__Wunused_but_set_parameter+:} false; then :
10144 $as_echo_n "(cached) " >&6
10145 else
10146 ac_wine_try_cflags_saved=$CFLAGS
10147 ac_wine_try_cflags_saved_cc=$CC
10148 ac_wine_try_cflags_saved_exeext=$ac_exeext
10149 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
10150 CC="$CROSSCC"
10151 ac_exeext=".exe"
10152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10153 /* end confdefs.h. */
10154 int main(int argc, char **argv) { return 0; }
10155 _ACEOF
10156 if ac_fn_c_try_link "$LINENO"; then :
10157 ac_cv_crosscflags__Wunused_but_set_parameter=yes
10158 else
10159 ac_cv_crosscflags__Wunused_but_set_parameter=no
10161 rm -f core conftest.err conftest.$ac_objext \
10162 conftest$ac_exeext conftest.$ac_ext
10163 CFLAGS=$ac_wine_try_cflags_saved
10164 CC=$ac_wine_try_cflags_saved_cc
10165 ac_exeext=$ac_wine_try_cflags_saved_exeext
10167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wunused_but_set_parameter" >&5
10168 $as_echo "$ac_cv_crosscflags__Wunused_but_set_parameter" >&6; }
10169 if test "x$ac_cv_crosscflags__Wunused_but_set_parameter" = xyes; then :
10170 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wunused-but-set-parameter"
10172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wvla" >&5
10173 $as_echo_n "checking whether the cross-compiler supports -Wvla... " >&6; }
10174 if ${ac_cv_crosscflags__Wvla+:} false; then :
10175 $as_echo_n "(cached) " >&6
10176 else
10177 ac_wine_try_cflags_saved=$CFLAGS
10178 ac_wine_try_cflags_saved_cc=$CC
10179 ac_wine_try_cflags_saved_exeext=$ac_exeext
10180 CFLAGS="$CFLAGS -Wvla"
10181 CC="$CROSSCC"
10182 ac_exeext=".exe"
10183 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10184 /* end confdefs.h. */
10185 int main(int argc, char **argv) { return 0; }
10186 _ACEOF
10187 if ac_fn_c_try_link "$LINENO"; then :
10188 ac_cv_crosscflags__Wvla=yes
10189 else
10190 ac_cv_crosscflags__Wvla=no
10192 rm -f core conftest.err conftest.$ac_objext \
10193 conftest$ac_exeext conftest.$ac_ext
10194 CFLAGS=$ac_wine_try_cflags_saved
10195 CC=$ac_wine_try_cflags_saved_cc
10196 ac_exeext=$ac_wine_try_cflags_saved_exeext
10198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wvla" >&5
10199 $as_echo "$ac_cv_crosscflags__Wvla" >&6; }
10200 if test "x$ac_cv_crosscflags__Wvla" = xyes; then :
10201 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wvla"
10203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wwrite-strings" >&5
10204 $as_echo_n "checking whether the cross-compiler supports -Wwrite-strings... " >&6; }
10205 if ${ac_cv_crosscflags__Wwrite_strings+:} false; then :
10206 $as_echo_n "(cached) " >&6
10207 else
10208 ac_wine_try_cflags_saved=$CFLAGS
10209 ac_wine_try_cflags_saved_cc=$CC
10210 ac_wine_try_cflags_saved_exeext=$ac_exeext
10211 CFLAGS="$CFLAGS -Wwrite-strings"
10212 CC="$CROSSCC"
10213 ac_exeext=".exe"
10214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10215 /* end confdefs.h. */
10216 int main(int argc, char **argv) { return 0; }
10217 _ACEOF
10218 if ac_fn_c_try_link "$LINENO"; then :
10219 ac_cv_crosscflags__Wwrite_strings=yes
10220 else
10221 ac_cv_crosscflags__Wwrite_strings=no
10223 rm -f core conftest.err conftest.$ac_objext \
10224 conftest$ac_exeext conftest.$ac_ext
10225 CFLAGS=$ac_wine_try_cflags_saved
10226 CC=$ac_wine_try_cflags_saved_cc
10227 ac_exeext=$ac_wine_try_cflags_saved_exeext
10229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wwrite_strings" >&5
10230 $as_echo "$ac_cv_crosscflags__Wwrite_strings" >&6; }
10231 if test "x$ac_cv_crosscflags__Wwrite_strings" = xyes; then :
10232 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wwrite-strings"
10234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpointer-arith" >&5
10235 $as_echo_n "checking whether the cross-compiler supports -Wpointer-arith... " >&6; }
10236 if ${ac_cv_crosscflags__Wpointer_arith+:} false; then :
10237 $as_echo_n "(cached) " >&6
10238 else
10239 ac_wine_try_cflags_saved=$CFLAGS
10240 ac_wine_try_cflags_saved_cc=$CC
10241 ac_wine_try_cflags_saved_exeext=$ac_exeext
10242 CFLAGS="$CFLAGS -Wpointer-arith"
10243 CC="$CROSSCC"
10244 ac_exeext=".exe"
10245 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10246 /* end confdefs.h. */
10247 int main(int argc, char **argv) { return 0; }
10248 _ACEOF
10249 if ac_fn_c_try_link "$LINENO"; then :
10250 ac_cv_crosscflags__Wpointer_arith=yes
10251 else
10252 ac_cv_crosscflags__Wpointer_arith=no
10254 rm -f core conftest.err conftest.$ac_objext \
10255 conftest$ac_exeext conftest.$ac_ext
10256 CFLAGS=$ac_wine_try_cflags_saved
10257 CC=$ac_wine_try_cflags_saved_cc
10258 ac_exeext=$ac_wine_try_cflags_saved_exeext
10260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpointer_arith" >&5
10261 $as_echo "$ac_cv_crosscflags__Wpointer_arith" >&6; }
10262 if test "x$ac_cv_crosscflags__Wpointer_arith" = xyes; then :
10263 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wpointer-arith"
10265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wlogical-op" >&5
10266 $as_echo_n "checking whether the cross-compiler supports -Wlogical-op... " >&6; }
10267 if ${ac_cv_crosscflags__Wlogical_op+:} false; then :
10268 $as_echo_n "(cached) " >&6
10269 else
10270 ac_wine_try_cflags_saved=$CFLAGS
10271 ac_wine_try_cflags_saved_cc=$CC
10272 ac_wine_try_cflags_saved_exeext=$ac_exeext
10273 CFLAGS="$CFLAGS -Wlogical-op"
10274 CC="$CROSSCC"
10275 ac_exeext=".exe"
10276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10277 /* end confdefs.h. */
10278 int main(int argc, char **argv) { return 0; }
10279 _ACEOF
10280 if ac_fn_c_try_link "$LINENO"; then :
10281 ac_cv_crosscflags__Wlogical_op=yes
10282 else
10283 ac_cv_crosscflags__Wlogical_op=no
10285 rm -f core conftest.err conftest.$ac_objext \
10286 conftest$ac_exeext conftest.$ac_ext
10287 CFLAGS=$ac_wine_try_cflags_saved
10288 CC=$ac_wine_try_cflags_saved_cc
10289 ac_exeext=$ac_wine_try_cflags_saved_exeext
10291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wlogical_op" >&5
10292 $as_echo "$ac_cv_crosscflags__Wlogical_op" >&6; }
10293 if test "x$ac_cv_crosscflags__Wlogical_op" = xyes; then :
10294 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wlogical-op"
10297 case $host_cpu in
10298 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-omit-frame-pointer" >&5
10299 $as_echo_n "checking whether the cross-compiler supports -fno-omit-frame-pointer... " >&6; }
10300 if ${ac_cv_crosscflags__fno_omit_frame_pointer+:} false; then :
10301 $as_echo_n "(cached) " >&6
10302 else
10303 ac_wine_try_cflags_saved=$CFLAGS
10304 ac_wine_try_cflags_saved_cc=$CC
10305 ac_wine_try_cflags_saved_exeext=$ac_exeext
10306 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
10307 CC="$CROSSCC"
10308 ac_exeext=".exe"
10309 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10310 /* end confdefs.h. */
10311 int main(int argc, char **argv) { return 0; }
10312 _ACEOF
10313 if ac_fn_c_try_link "$LINENO"; then :
10314 ac_cv_crosscflags__fno_omit_frame_pointer=yes
10315 else
10316 ac_cv_crosscflags__fno_omit_frame_pointer=no
10318 rm -f core conftest.err conftest.$ac_objext \
10319 conftest$ac_exeext conftest.$ac_ext
10320 CFLAGS=$ac_wine_try_cflags_saved
10321 CC=$ac_wine_try_cflags_saved_cc
10322 ac_exeext=$ac_wine_try_cflags_saved_exeext
10324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_omit_frame_pointer" >&5
10325 $as_echo "$ac_cv_crosscflags__fno_omit_frame_pointer" >&6; }
10326 if test "x$ac_cv_crosscflags__fno_omit_frame_pointer" = xyes; then :
10327 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-omit-frame-pointer"
10328 fi ;;
10329 x86_64) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
10330 $as_echo_n "checking whether the cross-compiler supports -Wno-format... " >&6; }
10331 if ${ac_cv_crosscflags__Wno_format+:} false; then :
10332 $as_echo_n "(cached) " >&6
10333 else
10334 ac_wine_try_cflags_saved=$CFLAGS
10335 ac_wine_try_cflags_saved_cc=$CC
10336 ac_wine_try_cflags_saved_exeext=$ac_exeext
10337 CFLAGS="$CFLAGS -Wno-format"
10338 CC="$CROSSCC"
10339 ac_exeext=".exe"
10340 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10341 /* end confdefs.h. */
10342 int main(int argc, char **argv) { return 0; }
10343 _ACEOF
10344 if ac_fn_c_try_link "$LINENO"; then :
10345 ac_cv_crosscflags__Wno_format=yes
10346 else
10347 ac_cv_crosscflags__Wno_format=no
10349 rm -f core conftest.err conftest.$ac_objext \
10350 conftest$ac_exeext conftest.$ac_ext
10351 CFLAGS=$ac_wine_try_cflags_saved
10352 CC=$ac_wine_try_cflags_saved_cc
10353 ac_exeext=$ac_wine_try_cflags_saved_exeext
10355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
10356 $as_echo "$ac_cv_crosscflags__Wno_format" >&6; }
10357 if test "x$ac_cv_crosscflags__Wno_format" = xyes; then :
10358 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
10359 fi ;;
10360 esac
10362 for ac_flag in $CROSSCFLAGS; do
10363 case $ac_flag in
10364 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gdwarf-2" >&5
10365 $as_echo_n "checking whether the cross-compiler supports -gdwarf-2... " >&6; }
10366 if ${ac_cv_crosscflags__gdwarf_2+:} false; then :
10367 $as_echo_n "(cached) " >&6
10368 else
10369 ac_wine_try_cflags_saved=$CFLAGS
10370 ac_wine_try_cflags_saved_cc=$CC
10371 ac_wine_try_cflags_saved_exeext=$ac_exeext
10372 CFLAGS="$CFLAGS -gdwarf-2"
10373 CC="$CROSSCC"
10374 ac_exeext=".exe"
10375 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10376 /* end confdefs.h. */
10377 int main(int argc, char **argv) { return 0; }
10378 _ACEOF
10379 if ac_fn_c_try_link "$LINENO"; then :
10380 ac_cv_crosscflags__gdwarf_2=yes
10381 else
10382 ac_cv_crosscflags__gdwarf_2=no
10384 rm -f core conftest.err conftest.$ac_objext \
10385 conftest$ac_exeext conftest.$ac_ext
10386 CFLAGS=$ac_wine_try_cflags_saved
10387 CC=$ac_wine_try_cflags_saved_cc
10388 ac_exeext=$ac_wine_try_cflags_saved_exeext
10390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gdwarf_2" >&5
10391 $as_echo "$ac_cv_crosscflags__gdwarf_2" >&6; }
10392 if test "x$ac_cv_crosscflags__gdwarf_2" = xyes; then :
10393 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gdwarf-2"
10395 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gstrict-dwarf" >&5
10396 $as_echo_n "checking whether the cross-compiler supports -gstrict-dwarf... " >&6; }
10397 if ${ac_cv_crosscflags__gstrict_dwarf+:} false; then :
10398 $as_echo_n "(cached) " >&6
10399 else
10400 ac_wine_try_cflags_saved=$CFLAGS
10401 ac_wine_try_cflags_saved_cc=$CC
10402 ac_wine_try_cflags_saved_exeext=$ac_exeext
10403 CFLAGS="$CFLAGS -gstrict-dwarf"
10404 CC="$CROSSCC"
10405 ac_exeext=".exe"
10406 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10407 /* end confdefs.h. */
10408 int main(int argc, char **argv) { return 0; }
10409 _ACEOF
10410 if ac_fn_c_try_link "$LINENO"; then :
10411 ac_cv_crosscflags__gstrict_dwarf=yes
10412 else
10413 ac_cv_crosscflags__gstrict_dwarf=no
10415 rm -f core conftest.err conftest.$ac_objext \
10416 conftest$ac_exeext conftest.$ac_ext
10417 CFLAGS=$ac_wine_try_cflags_saved
10418 CC=$ac_wine_try_cflags_saved_cc
10419 ac_exeext=$ac_wine_try_cflags_saved_exeext
10421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gstrict_dwarf" >&5
10422 $as_echo "$ac_cv_crosscflags__gstrict_dwarf" >&6; }
10423 if test "x$ac_cv_crosscflags__gstrict_dwarf" = xyes; then :
10424 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gstrict-dwarf"
10425 fi ;;
10426 esac
10427 done
10429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
10430 $as_echo_n "checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
10431 if ${ac_cv_cflags__Wl__delayload_autoconftest_dll+:} false; then :
10432 $as_echo_n "(cached) " >&6
10433 else
10434 ac_wine_try_cflags_saved=$CFLAGS
10435 CFLAGS="$CFLAGS -Wl,-delayload,autoconftest.dll"
10436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10437 /* end confdefs.h. */
10438 int main(int argc, char **argv) { return 0; }
10439 _ACEOF
10440 if ac_fn_c_try_link "$LINENO"; then :
10441 ac_cv_cflags__Wl__delayload_autoconftest_dll=yes
10442 else
10443 ac_cv_cflags__Wl__delayload_autoconftest_dll=no
10445 rm -f core conftest.err conftest.$ac_objext \
10446 conftest$ac_exeext conftest.$ac_ext
10447 CFLAGS=$ac_wine_try_cflags_saved
10449 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
10450 $as_echo "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
10451 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes; then :
10452 DELAYLOADFLAG="-Wl,-delayload,"
10456 if test "x$enable_maintainer_mode" = xyes
10457 then
10458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror" >&5
10459 $as_echo_n "checking whether the cross-compiler supports -Werror... " >&6; }
10460 if ${ac_cv_crosscflags__Werror+:} false; then :
10461 $as_echo_n "(cached) " >&6
10462 else
10463 ac_wine_try_cflags_saved=$CFLAGS
10464 ac_wine_try_cflags_saved_cc=$CC
10465 ac_wine_try_cflags_saved_exeext=$ac_exeext
10466 CFLAGS="$CFLAGS -Werror"
10467 CC="$CROSSCC"
10468 ac_exeext=".exe"
10469 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10470 /* end confdefs.h. */
10471 int main(int argc, char **argv) { return 0; }
10472 _ACEOF
10473 if ac_fn_c_try_link "$LINENO"; then :
10474 ac_cv_crosscflags__Werror=yes
10475 else
10476 ac_cv_crosscflags__Werror=no
10478 rm -f core conftest.err conftest.$ac_objext \
10479 conftest$ac_exeext conftest.$ac_ext
10480 CFLAGS=$ac_wine_try_cflags_saved
10481 CC=$ac_wine_try_cflags_saved_cc
10482 ac_exeext=$ac_wine_try_cflags_saved_exeext
10484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror" >&5
10485 $as_echo "$ac_cv_crosscflags__Werror" >&6; }
10486 if test "x$ac_cv_crosscflags__Werror" = xyes; then :
10487 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Werror"
10491 CFLAGS=$saved_CFLAGS
10492 CC="$ac_save_CC"
10495 if test "x$CROSSTARGET" = "x"; then :
10496 case "x$with_mingw" in
10497 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
10498 xno) ;;
10499 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
10500 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
10501 esac
10506 if test "$ac_cv_header_pthread_h" = "yes"
10507 then
10508 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
10509 if test "x$ac_cv_func_pthread_create" = xyes; then :
10511 else
10512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
10513 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
10514 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
10515 $as_echo_n "(cached) " >&6
10516 else
10517 ac_check_lib_save_LIBS=$LIBS
10518 LIBS="-lpthread $LIBS"
10519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10520 /* end confdefs.h. */
10522 /* Override any GCC internal prototype to avoid an error.
10523 Use char because int might match the return type of a GCC
10524 builtin and then its argument prototype would still apply. */
10525 #ifdef __cplusplus
10526 extern "C"
10527 #endif
10528 char pthread_create ();
10530 main ()
10532 return pthread_create ();
10534 return 0;
10536 _ACEOF
10537 if ac_fn_c_try_link "$LINENO"; then :
10538 ac_cv_lib_pthread_pthread_create=yes
10539 else
10540 ac_cv_lib_pthread_pthread_create=no
10542 rm -f core conftest.err conftest.$ac_objext \
10543 conftest$ac_exeext conftest.$ac_ext
10544 LIBS=$ac_check_lib_save_LIBS
10546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
10547 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
10548 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
10549 PTHREAD_LIBS="-lpthread"
10556 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
10557 case "x$with_pthread" in
10558 xno) ;;
10559 *) as_fn_error $? "pthread ${notice_platform}development files not found.
10560 Wine cannot support threads without libpthread.
10561 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
10562 esac
10567 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
10568 $as_echo_n "checking for X... " >&6; }
10571 # Check whether --with-x was given.
10572 if test "${with_x+set}" = set; then :
10573 withval=$with_x;
10576 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
10577 if test "x$with_x" = xno; then
10578 # The user explicitly disabled X.
10579 have_x=disabled
10580 else
10581 case $x_includes,$x_libraries in #(
10582 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
10583 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
10584 $as_echo_n "(cached) " >&6
10585 else
10586 # One or both of the vars are not set, and there is no cached value.
10587 ac_x_includes=no ac_x_libraries=no
10588 rm -f -r conftest.dir
10589 if mkdir conftest.dir; then
10590 cd conftest.dir
10591 cat >Imakefile <<'_ACEOF'
10592 incroot:
10593 @echo incroot='${INCROOT}'
10594 usrlibdir:
10595 @echo usrlibdir='${USRLIBDIR}'
10596 libdir:
10597 @echo libdir='${LIBDIR}'
10598 _ACEOF
10599 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
10600 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
10601 for ac_var in incroot usrlibdir libdir; do
10602 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
10603 done
10604 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
10605 for ac_extension in a so sl dylib la dll; do
10606 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
10607 test -f "$ac_im_libdir/libX11.$ac_extension"; then
10608 ac_im_usrlibdir=$ac_im_libdir; break
10610 done
10611 # Screen out bogus values from the imake configuration. They are
10612 # bogus both because they are the default anyway, and because
10613 # using them would break gcc on systems where it needs fixed includes.
10614 case $ac_im_incroot in
10615 /usr/include) ac_x_includes= ;;
10616 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
10617 esac
10618 case $ac_im_usrlibdir in
10619 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
10620 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
10621 esac
10623 cd ..
10624 rm -f -r conftest.dir
10627 # Standard set of common directories for X headers.
10628 # Check X11 before X11Rn because it is often a symlink to the current release.
10629 ac_x_header_dirs='
10630 /usr/X11/include
10631 /usr/X11R7/include
10632 /usr/X11R6/include
10633 /usr/X11R5/include
10634 /usr/X11R4/include
10636 /usr/include/X11
10637 /usr/include/X11R7
10638 /usr/include/X11R6
10639 /usr/include/X11R5
10640 /usr/include/X11R4
10642 /usr/local/X11/include
10643 /usr/local/X11R7/include
10644 /usr/local/X11R6/include
10645 /usr/local/X11R5/include
10646 /usr/local/X11R4/include
10648 /usr/local/include/X11
10649 /usr/local/include/X11R7
10650 /usr/local/include/X11R6
10651 /usr/local/include/X11R5
10652 /usr/local/include/X11R4
10654 /usr/X386/include
10655 /usr/x386/include
10656 /usr/XFree86/include/X11
10658 /usr/include
10659 /usr/local/include
10660 /usr/unsupported/include
10661 /usr/athena/include
10662 /usr/local/x11r5/include
10663 /usr/lpp/Xamples/include
10665 /usr/openwin/include
10666 /usr/openwin/share/include'
10668 if test "$ac_x_includes" = no; then
10669 # Guess where to find include files, by looking for Xlib.h.
10670 # First, try using that file with no special directory specified.
10671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10672 /* end confdefs.h. */
10673 #include <X11/Xlib.h>
10674 _ACEOF
10675 if ac_fn_c_try_cpp "$LINENO"; then :
10676 # We can compile using X headers with no special include directory.
10677 ac_x_includes=
10678 else
10679 for ac_dir in $ac_x_header_dirs; do
10680 if test -r "$ac_dir/X11/Xlib.h"; then
10681 ac_x_includes=$ac_dir
10682 break
10684 done
10686 rm -f conftest.err conftest.i conftest.$ac_ext
10687 fi # $ac_x_includes = no
10689 if test "$ac_x_libraries" = no; then
10690 # Check for the libraries.
10691 # See if we find them without any special options.
10692 # Don't add to $LIBS permanently.
10693 ac_save_LIBS=$LIBS
10694 LIBS="-lX11 $LIBS"
10695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10696 /* end confdefs.h. */
10697 #include <X11/Xlib.h>
10699 main ()
10701 XrmInitialize ()
10703 return 0;
10705 _ACEOF
10706 if ac_fn_c_try_link "$LINENO"; then :
10707 LIBS=$ac_save_LIBS
10708 # We can link X programs with no special library path.
10709 ac_x_libraries=
10710 else
10711 LIBS=$ac_save_LIBS
10712 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
10714 # Don't even attempt the hair of trying to link an X program!
10715 for ac_extension in a so sl dylib la dll; do
10716 if test -r "$ac_dir/libX11.$ac_extension"; then
10717 ac_x_libraries=$ac_dir
10718 break 2
10720 done
10721 done
10723 rm -f core conftest.err conftest.$ac_objext \
10724 conftest$ac_exeext conftest.$ac_ext
10725 fi # $ac_x_libraries = no
10727 case $ac_x_includes,$ac_x_libraries in #(
10728 no,* | *,no | *\'*)
10729 # Didn't find X, or a directory has "'" in its name.
10730 ac_cv_have_x="have_x=no";; #(
10732 # Record where we found X for the cache.
10733 ac_cv_have_x="have_x=yes\
10734 ac_x_includes='$ac_x_includes'\
10735 ac_x_libraries='$ac_x_libraries'"
10736 esac
10738 ;; #(
10739 *) have_x=yes;;
10740 esac
10741 eval "$ac_cv_have_x"
10742 fi # $with_x != no
10744 if test "$have_x" != yes; then
10745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
10746 $as_echo "$have_x" >&6; }
10747 no_x=yes
10748 else
10749 # If each of the values was on the command line, it overrides each guess.
10750 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
10751 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
10752 # Update the cache value to reflect the command line values.
10753 ac_cv_have_x="have_x=yes\
10754 ac_x_includes='$x_includes'\
10755 ac_x_libraries='$x_libraries'"
10756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
10757 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
10760 if test "$no_x" = yes; then
10761 # Not all programs may use this symbol, but it does not hurt to define it.
10763 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
10765 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
10766 else
10767 if test -n "$x_includes"; then
10768 X_CFLAGS="$X_CFLAGS -I$x_includes"
10771 # It would also be nice to do this for all -L options, not just this one.
10772 if test -n "$x_libraries"; then
10773 X_LIBS="$X_LIBS -L$x_libraries"
10774 # For Solaris; some versions of Sun CC require a space after -R and
10775 # others require no space. Words are not sufficient . . . .
10776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
10777 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
10778 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
10779 ac_xsave_c_werror_flag=$ac_c_werror_flag
10780 ac_c_werror_flag=yes
10781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10782 /* end confdefs.h. */
10785 main ()
10789 return 0;
10791 _ACEOF
10792 if ac_fn_c_try_link "$LINENO"; then :
10793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10794 $as_echo "no" >&6; }
10795 X_LIBS="$X_LIBS -R$x_libraries"
10796 else
10797 LIBS="$ac_xsave_LIBS -R $x_libraries"
10798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10799 /* end confdefs.h. */
10802 main ()
10806 return 0;
10808 _ACEOF
10809 if ac_fn_c_try_link "$LINENO"; then :
10810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10811 $as_echo "yes" >&6; }
10812 X_LIBS="$X_LIBS -R $x_libraries"
10813 else
10814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
10815 $as_echo "neither works" >&6; }
10817 rm -f core conftest.err conftest.$ac_objext \
10818 conftest$ac_exeext conftest.$ac_ext
10820 rm -f core conftest.err conftest.$ac_objext \
10821 conftest$ac_exeext conftest.$ac_ext
10822 ac_c_werror_flag=$ac_xsave_c_werror_flag
10823 LIBS=$ac_xsave_LIBS
10826 # Check for system-dependent libraries X programs must link with.
10827 # Do this before checking for the system-independent R6 libraries
10828 # (-lICE), since we may need -lsocket or whatever for X linking.
10830 if test "$ISC" = yes; then
10831 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
10832 else
10833 # Martyn Johnson says this is needed for Ultrix, if the X
10834 # libraries were built with DECnet support. And Karl Berry says
10835 # the Alpha needs dnet_stub (dnet does not exist).
10836 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
10837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10838 /* end confdefs.h. */
10840 /* Override any GCC internal prototype to avoid an error.
10841 Use char because int might match the return type of a GCC
10842 builtin and then its argument prototype would still apply. */
10843 #ifdef __cplusplus
10844 extern "C"
10845 #endif
10846 char XOpenDisplay ();
10848 main ()
10850 return XOpenDisplay ();
10852 return 0;
10854 _ACEOF
10855 if ac_fn_c_try_link "$LINENO"; then :
10857 else
10858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
10859 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
10860 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
10861 $as_echo_n "(cached) " >&6
10862 else
10863 ac_check_lib_save_LIBS=$LIBS
10864 LIBS="-ldnet $LIBS"
10865 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10866 /* end confdefs.h. */
10868 /* Override any GCC internal prototype to avoid an error.
10869 Use char because int might match the return type of a GCC
10870 builtin and then its argument prototype would still apply. */
10871 #ifdef __cplusplus
10872 extern "C"
10873 #endif
10874 char dnet_ntoa ();
10876 main ()
10878 return dnet_ntoa ();
10880 return 0;
10882 _ACEOF
10883 if ac_fn_c_try_link "$LINENO"; then :
10884 ac_cv_lib_dnet_dnet_ntoa=yes
10885 else
10886 ac_cv_lib_dnet_dnet_ntoa=no
10888 rm -f core conftest.err conftest.$ac_objext \
10889 conftest$ac_exeext conftest.$ac_ext
10890 LIBS=$ac_check_lib_save_LIBS
10892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
10893 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
10894 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
10895 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
10898 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
10899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
10900 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
10901 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
10902 $as_echo_n "(cached) " >&6
10903 else
10904 ac_check_lib_save_LIBS=$LIBS
10905 LIBS="-ldnet_stub $LIBS"
10906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10907 /* end confdefs.h. */
10909 /* Override any GCC internal prototype to avoid an error.
10910 Use char because int might match the return type of a GCC
10911 builtin and then its argument prototype would still apply. */
10912 #ifdef __cplusplus
10913 extern "C"
10914 #endif
10915 char dnet_ntoa ();
10917 main ()
10919 return dnet_ntoa ();
10921 return 0;
10923 _ACEOF
10924 if ac_fn_c_try_link "$LINENO"; then :
10925 ac_cv_lib_dnet_stub_dnet_ntoa=yes
10926 else
10927 ac_cv_lib_dnet_stub_dnet_ntoa=no
10929 rm -f core conftest.err conftest.$ac_objext \
10930 conftest$ac_exeext conftest.$ac_ext
10931 LIBS=$ac_check_lib_save_LIBS
10933 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
10934 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
10935 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
10936 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
10941 rm -f core conftest.err conftest.$ac_objext \
10942 conftest$ac_exeext conftest.$ac_ext
10943 LIBS="$ac_xsave_LIBS"
10945 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
10946 # to get the SysV transport functions.
10947 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
10948 # needs -lnsl.
10949 # The nsl library prevents programs from opening the X display
10950 # on Irix 5.2, according to T.E. Dickey.
10951 # The functions gethostbyname, getservbyname, and inet_addr are
10952 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
10953 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
10954 if test "x$ac_cv_func_gethostbyname" = xyes; then :
10958 if test $ac_cv_func_gethostbyname = no; then
10959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
10960 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
10961 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
10962 $as_echo_n "(cached) " >&6
10963 else
10964 ac_check_lib_save_LIBS=$LIBS
10965 LIBS="-lnsl $LIBS"
10966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10967 /* end confdefs.h. */
10969 /* Override any GCC internal prototype to avoid an error.
10970 Use char because int might match the return type of a GCC
10971 builtin and then its argument prototype would still apply. */
10972 #ifdef __cplusplus
10973 extern "C"
10974 #endif
10975 char gethostbyname ();
10977 main ()
10979 return gethostbyname ();
10981 return 0;
10983 _ACEOF
10984 if ac_fn_c_try_link "$LINENO"; then :
10985 ac_cv_lib_nsl_gethostbyname=yes
10986 else
10987 ac_cv_lib_nsl_gethostbyname=no
10989 rm -f core conftest.err conftest.$ac_objext \
10990 conftest$ac_exeext conftest.$ac_ext
10991 LIBS=$ac_check_lib_save_LIBS
10993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
10994 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
10995 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
10996 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
10999 if test $ac_cv_lib_nsl_gethostbyname = no; then
11000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
11001 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
11002 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
11003 $as_echo_n "(cached) " >&6
11004 else
11005 ac_check_lib_save_LIBS=$LIBS
11006 LIBS="-lbsd $LIBS"
11007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11008 /* end confdefs.h. */
11010 /* Override any GCC internal prototype to avoid an error.
11011 Use char because int might match the return type of a GCC
11012 builtin and then its argument prototype would still apply. */
11013 #ifdef __cplusplus
11014 extern "C"
11015 #endif
11016 char gethostbyname ();
11018 main ()
11020 return gethostbyname ();
11022 return 0;
11024 _ACEOF
11025 if ac_fn_c_try_link "$LINENO"; then :
11026 ac_cv_lib_bsd_gethostbyname=yes
11027 else
11028 ac_cv_lib_bsd_gethostbyname=no
11030 rm -f core conftest.err conftest.$ac_objext \
11031 conftest$ac_exeext conftest.$ac_ext
11032 LIBS=$ac_check_lib_save_LIBS
11034 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
11035 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
11036 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
11037 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
11043 # lieder@skyler.mavd.honeywell.com says without -lsocket,
11044 # socket/setsockopt and other routines are undefined under SCO ODT
11045 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
11046 # on later versions), says Simon Leinen: it contains gethostby*
11047 # variants that don't use the name server (or something). -lsocket
11048 # must be given before -lnsl if both are needed. We assume that
11049 # if connect needs -lnsl, so does gethostbyname.
11050 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
11051 if test "x$ac_cv_func_connect" = xyes; then :
11055 if test $ac_cv_func_connect = no; then
11056 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
11057 $as_echo_n "checking for connect in -lsocket... " >&6; }
11058 if ${ac_cv_lib_socket_connect+:} false; then :
11059 $as_echo_n "(cached) " >&6
11060 else
11061 ac_check_lib_save_LIBS=$LIBS
11062 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
11063 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11064 /* end confdefs.h. */
11066 /* Override any GCC internal prototype to avoid an error.
11067 Use char because int might match the return type of a GCC
11068 builtin and then its argument prototype would still apply. */
11069 #ifdef __cplusplus
11070 extern "C"
11071 #endif
11072 char connect ();
11074 main ()
11076 return connect ();
11078 return 0;
11080 _ACEOF
11081 if ac_fn_c_try_link "$LINENO"; then :
11082 ac_cv_lib_socket_connect=yes
11083 else
11084 ac_cv_lib_socket_connect=no
11086 rm -f core conftest.err conftest.$ac_objext \
11087 conftest$ac_exeext conftest.$ac_ext
11088 LIBS=$ac_check_lib_save_LIBS
11090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
11091 $as_echo "$ac_cv_lib_socket_connect" >&6; }
11092 if test "x$ac_cv_lib_socket_connect" = xyes; then :
11093 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
11098 # Guillermo Gomez says -lposix is necessary on A/UX.
11099 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
11100 if test "x$ac_cv_func_remove" = xyes; then :
11104 if test $ac_cv_func_remove = no; then
11105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
11106 $as_echo_n "checking for remove in -lposix... " >&6; }
11107 if ${ac_cv_lib_posix_remove+:} false; then :
11108 $as_echo_n "(cached) " >&6
11109 else
11110 ac_check_lib_save_LIBS=$LIBS
11111 LIBS="-lposix $LIBS"
11112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11113 /* end confdefs.h. */
11115 /* Override any GCC internal prototype to avoid an error.
11116 Use char because int might match the return type of a GCC
11117 builtin and then its argument prototype would still apply. */
11118 #ifdef __cplusplus
11119 extern "C"
11120 #endif
11121 char remove ();
11123 main ()
11125 return remove ();
11127 return 0;
11129 _ACEOF
11130 if ac_fn_c_try_link "$LINENO"; then :
11131 ac_cv_lib_posix_remove=yes
11132 else
11133 ac_cv_lib_posix_remove=no
11135 rm -f core conftest.err conftest.$ac_objext \
11136 conftest$ac_exeext conftest.$ac_ext
11137 LIBS=$ac_check_lib_save_LIBS
11139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
11140 $as_echo "$ac_cv_lib_posix_remove" >&6; }
11141 if test "x$ac_cv_lib_posix_remove" = xyes; then :
11142 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
11147 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
11148 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
11149 if test "x$ac_cv_func_shmat" = xyes; then :
11153 if test $ac_cv_func_shmat = no; then
11154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
11155 $as_echo_n "checking for shmat in -lipc... " >&6; }
11156 if ${ac_cv_lib_ipc_shmat+:} false; then :
11157 $as_echo_n "(cached) " >&6
11158 else
11159 ac_check_lib_save_LIBS=$LIBS
11160 LIBS="-lipc $LIBS"
11161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11162 /* end confdefs.h. */
11164 /* Override any GCC internal prototype to avoid an error.
11165 Use char because int might match the return type of a GCC
11166 builtin and then its argument prototype would still apply. */
11167 #ifdef __cplusplus
11168 extern "C"
11169 #endif
11170 char shmat ();
11172 main ()
11174 return shmat ();
11176 return 0;
11178 _ACEOF
11179 if ac_fn_c_try_link "$LINENO"; then :
11180 ac_cv_lib_ipc_shmat=yes
11181 else
11182 ac_cv_lib_ipc_shmat=no
11184 rm -f core conftest.err conftest.$ac_objext \
11185 conftest$ac_exeext conftest.$ac_ext
11186 LIBS=$ac_check_lib_save_LIBS
11188 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
11189 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
11190 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
11191 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
11197 # Check for libraries that X11R6 Xt/Xaw programs need.
11198 ac_save_LDFLAGS=$LDFLAGS
11199 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
11200 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
11201 # check for ICE first), but we must link in the order -lSM -lICE or
11202 # we get undefined symbols. So assume we have SM if we have ICE.
11203 # These have to be linked with before -lX11, unlike the other
11204 # libraries we check for below, so use a different variable.
11205 # John Interrante, Karl Berry
11206 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
11207 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
11208 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
11209 $as_echo_n "(cached) " >&6
11210 else
11211 ac_check_lib_save_LIBS=$LIBS
11212 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
11213 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11214 /* end confdefs.h. */
11216 /* Override any GCC internal prototype to avoid an error.
11217 Use char because int might match the return type of a GCC
11218 builtin and then its argument prototype would still apply. */
11219 #ifdef __cplusplus
11220 extern "C"
11221 #endif
11222 char IceConnectionNumber ();
11224 main ()
11226 return IceConnectionNumber ();
11228 return 0;
11230 _ACEOF
11231 if ac_fn_c_try_link "$LINENO"; then :
11232 ac_cv_lib_ICE_IceConnectionNumber=yes
11233 else
11234 ac_cv_lib_ICE_IceConnectionNumber=no
11236 rm -f core conftest.err conftest.$ac_objext \
11237 conftest$ac_exeext conftest.$ac_ext
11238 LIBS=$ac_check_lib_save_LIBS
11240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
11241 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
11242 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
11243 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
11246 LDFLAGS=$ac_save_LDFLAGS
11251 if test "$have_x" = "yes"
11252 then
11253 ac_save_CPPFLAGS="$CPPFLAGS"
11254 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
11256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
11257 $as_echo_n "checking for -lX11... " >&6; }
11258 if ${ac_cv_lib_soname_X11+:} false; then :
11259 $as_echo_n "(cached) " >&6
11260 else
11261 ac_check_soname_save_LIBS=$LIBS
11262 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11264 /* end confdefs.h. */
11266 /* Override any GCC internal prototype to avoid an error.
11267 Use char because int might match the return type of a GCC
11268 builtin and then its argument prototype would still apply. */
11269 #ifdef __cplusplus
11270 extern "C"
11271 #endif
11272 char XCreateWindow ();
11274 main ()
11276 return XCreateWindow ();
11278 return 0;
11280 _ACEOF
11281 if ac_fn_c_try_link "$LINENO"; then :
11282 case "$LIBEXT" in
11283 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11284 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'` ;;
11285 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11286 if ${ac_cv_lib_soname_X11:+false} :; then :
11287 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11288 fi ;;
11289 esac
11290 else
11291 ac_cv_lib_soname_X11=
11293 rm -f core conftest.err conftest.$ac_objext \
11294 conftest$ac_exeext conftest.$ac_ext
11295 LIBS=$ac_check_soname_save_LIBS
11297 if ${ac_cv_lib_soname_X11:+false} :; then :
11298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11299 $as_echo "not found" >&6; }
11301 else
11302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
11303 $as_echo "$ac_cv_lib_soname_X11" >&6; }
11305 cat >>confdefs.h <<_ACEOF
11306 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
11307 _ACEOF
11311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
11312 $as_echo_n "checking for -lXext... " >&6; }
11313 if ${ac_cv_lib_soname_Xext+:} false; then :
11314 $as_echo_n "(cached) " >&6
11315 else
11316 ac_check_soname_save_LIBS=$LIBS
11317 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
11318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11319 /* end confdefs.h. */
11321 /* Override any GCC internal prototype to avoid an error.
11322 Use char because int might match the return type of a GCC
11323 builtin and then its argument prototype would still apply. */
11324 #ifdef __cplusplus
11325 extern "C"
11326 #endif
11327 char XextCreateExtension ();
11329 main ()
11331 return XextCreateExtension ();
11333 return 0;
11335 _ACEOF
11336 if ac_fn_c_try_link "$LINENO"; then :
11337 case "$LIBEXT" in
11338 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11339 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'` ;;
11340 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11341 if ${ac_cv_lib_soname_Xext:+false} :; then :
11342 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11343 fi ;;
11344 esac
11345 else
11346 ac_cv_lib_soname_Xext=
11348 rm -f core conftest.err conftest.$ac_objext \
11349 conftest$ac_exeext conftest.$ac_ext
11350 LIBS=$ac_check_soname_save_LIBS
11352 if ${ac_cv_lib_soname_Xext:+false} :; then :
11353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11354 $as_echo "not found" >&6; }
11356 else
11357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
11358 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
11360 cat >>confdefs.h <<_ACEOF
11361 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
11362 _ACEOF
11364 X_LIBS="$X_LIBS -lXext"
11366 X_LIBS="$X_LIBS -lX11"
11368 for ac_header in X11/Xlib.h \
11369 X11/XKBlib.h \
11370 X11/Xutil.h \
11371 X11/Xcursor/Xcursor.h \
11372 X11/extensions/shape.h \
11373 X11/extensions/XInput.h \
11374 X11/extensions/XInput2.h \
11375 X11/extensions/XShm.h \
11376 X11/extensions/Xcomposite.h \
11377 X11/extensions/Xfixes.h \
11378 X11/extensions/Xinerama.h \
11379 X11/extensions/Xrandr.h \
11380 X11/extensions/Xrender.h \
11381 X11/extensions/xf86vmode.h \
11382 X11/extensions/xf86vmproto.h
11383 do :
11384 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11385 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
11386 # include <X11/Xlib.h>
11387 #endif
11388 #ifdef HAVE_X11_XUTIL_H
11389 # include <X11/Xutil.h>
11390 #endif
11392 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11393 cat >>confdefs.h <<_ACEOF
11394 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11395 _ACEOF
11399 done
11402 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
11403 then
11404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
11405 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
11406 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
11407 $as_echo_n "(cached) " >&6
11408 else
11409 ac_check_lib_save_LIBS=$LIBS
11410 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11412 /* end confdefs.h. */
11414 /* Override any GCC internal prototype to avoid an error.
11415 Use char because int might match the return type of a GCC
11416 builtin and then its argument prototype would still apply. */
11417 #ifdef __cplusplus
11418 extern "C"
11419 #endif
11420 char XkbQueryExtension ();
11422 main ()
11424 return XkbQueryExtension ();
11426 return 0;
11428 _ACEOF
11429 if ac_fn_c_try_link "$LINENO"; then :
11430 ac_cv_lib_X11_XkbQueryExtension=yes
11431 else
11432 ac_cv_lib_X11_XkbQueryExtension=no
11434 rm -f core conftest.err conftest.$ac_objext \
11435 conftest$ac_exeext conftest.$ac_ext
11436 LIBS=$ac_check_lib_save_LIBS
11438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
11439 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
11440 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
11442 $as_echo "#define HAVE_XKB 1" >>confdefs.h
11448 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
11449 then
11450 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
11451 $as_echo_n "checking for -lXcursor... " >&6; }
11452 if ${ac_cv_lib_soname_Xcursor+:} false; then :
11453 $as_echo_n "(cached) " >&6
11454 else
11455 ac_check_soname_save_LIBS=$LIBS
11456 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
11457 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11458 /* end confdefs.h. */
11460 /* Override any GCC internal prototype to avoid an error.
11461 Use char because int might match the return type of a GCC
11462 builtin and then its argument prototype would still apply. */
11463 #ifdef __cplusplus
11464 extern "C"
11465 #endif
11466 char XcursorImageLoadCursor ();
11468 main ()
11470 return XcursorImageLoadCursor ();
11472 return 0;
11474 _ACEOF
11475 if ac_fn_c_try_link "$LINENO"; then :
11476 case "$LIBEXT" in
11477 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11478 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'` ;;
11479 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11480 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11481 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11482 fi ;;
11483 esac
11484 else
11485 ac_cv_lib_soname_Xcursor=
11487 rm -f core conftest.err conftest.$ac_objext \
11488 conftest$ac_exeext conftest.$ac_ext
11489 LIBS=$ac_check_soname_save_LIBS
11491 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11493 $as_echo "not found" >&6; }
11495 else
11496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
11497 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
11499 cat >>confdefs.h <<_ACEOF
11500 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
11501 _ACEOF
11506 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
11507 case "x$with_xcursor" in
11508 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
11509 xno) ;;
11510 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
11511 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
11512 esac
11516 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
11517 then
11518 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
11519 $as_echo_n "checking for -lXi... " >&6; }
11520 if ${ac_cv_lib_soname_Xi+:} false; then :
11521 $as_echo_n "(cached) " >&6
11522 else
11523 ac_check_soname_save_LIBS=$LIBS
11524 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
11525 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11526 /* end confdefs.h. */
11528 /* Override any GCC internal prototype to avoid an error.
11529 Use char because int might match the return type of a GCC
11530 builtin and then its argument prototype would still apply. */
11531 #ifdef __cplusplus
11532 extern "C"
11533 #endif
11534 char XOpenDevice ();
11536 main ()
11538 return XOpenDevice ();
11540 return 0;
11542 _ACEOF
11543 if ac_fn_c_try_link "$LINENO"; then :
11544 case "$LIBEXT" in
11545 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11546 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'` ;;
11547 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11548 if ${ac_cv_lib_soname_Xi:+false} :; then :
11549 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11550 fi ;;
11551 esac
11552 else
11553 ac_cv_lib_soname_Xi=
11555 rm -f core conftest.err conftest.$ac_objext \
11556 conftest$ac_exeext conftest.$ac_ext
11557 LIBS=$ac_check_soname_save_LIBS
11559 if ${ac_cv_lib_soname_Xi:+false} :; then :
11560 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11561 $as_echo "not found" >&6; }
11563 else
11564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
11565 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
11567 cat >>confdefs.h <<_ACEOF
11568 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
11569 _ACEOF
11574 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
11575 case "x$with_xinput" in
11576 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
11577 xno) ;;
11578 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
11579 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
11580 esac
11584 if test "x$ac_cv_lib_soname_Xi" != x
11585 then
11586 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
11587 case "x$with_xinput2" in
11588 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
11589 xno) ;;
11590 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
11591 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
11592 esac
11597 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
11598 then
11599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
11600 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
11601 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
11602 $as_echo_n "(cached) " >&6
11603 else
11604 ac_check_lib_save_LIBS=$LIBS
11605 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11607 /* end confdefs.h. */
11609 /* Override any GCC internal prototype to avoid an error.
11610 Use char because int might match the return type of a GCC
11611 builtin and then its argument prototype would still apply. */
11612 #ifdef __cplusplus
11613 extern "C"
11614 #endif
11615 char XShmQueryExtension ();
11617 main ()
11619 return XShmQueryExtension ();
11621 return 0;
11623 _ACEOF
11624 if ac_fn_c_try_link "$LINENO"; then :
11625 ac_cv_lib_Xext_XShmQueryExtension=yes
11626 else
11627 ac_cv_lib_Xext_XShmQueryExtension=no
11629 rm -f core conftest.err conftest.$ac_objext \
11630 conftest$ac_exeext conftest.$ac_ext
11631 LIBS=$ac_check_lib_save_LIBS
11633 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
11634 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
11635 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
11637 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
11642 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
11643 case "x$with_xshm" in
11644 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
11645 xno) ;;
11646 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
11647 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
11648 esac
11652 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
11653 then
11654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
11655 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
11656 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
11657 $as_echo_n "(cached) " >&6
11658 else
11659 ac_check_lib_save_LIBS=$LIBS
11660 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11662 /* end confdefs.h. */
11664 /* Override any GCC internal prototype to avoid an error.
11665 Use char because int might match the return type of a GCC
11666 builtin and then its argument prototype would still apply. */
11667 #ifdef __cplusplus
11668 extern "C"
11669 #endif
11670 char XShapeQueryExtension ();
11672 main ()
11674 return XShapeQueryExtension ();
11676 return 0;
11678 _ACEOF
11679 if ac_fn_c_try_link "$LINENO"; then :
11680 ac_cv_lib_Xext_XShapeQueryExtension=yes
11681 else
11682 ac_cv_lib_Xext_XShapeQueryExtension=no
11684 rm -f core conftest.err conftest.$ac_objext \
11685 conftest$ac_exeext conftest.$ac_ext
11686 LIBS=$ac_check_lib_save_LIBS
11688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
11689 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
11690 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
11692 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
11697 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
11698 case "x$with_xshape" in
11699 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
11700 xno) ;;
11701 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
11702 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
11703 esac
11707 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
11708 then
11709 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
11710 $as_echo_n "checking for -lXxf86vm... " >&6; }
11711 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
11712 $as_echo_n "(cached) " >&6
11713 else
11714 ac_check_soname_save_LIBS=$LIBS
11715 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
11716 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11717 /* end confdefs.h. */
11719 /* Override any GCC internal prototype to avoid an error.
11720 Use char because int might match the return type of a GCC
11721 builtin and then its argument prototype would still apply. */
11722 #ifdef __cplusplus
11723 extern "C"
11724 #endif
11725 char XF86VidModeQueryExtension ();
11727 main ()
11729 return XF86VidModeQueryExtension ();
11731 return 0;
11733 _ACEOF
11734 if ac_fn_c_try_link "$LINENO"; then :
11735 case "$LIBEXT" in
11736 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11737 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'` ;;
11738 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11739 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
11740 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11741 fi ;;
11742 esac
11743 else
11744 ac_cv_lib_soname_Xxf86vm=
11746 rm -f core conftest.err conftest.$ac_objext \
11747 conftest$ac_exeext conftest.$ac_ext
11748 LIBS=$ac_check_soname_save_LIBS
11750 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
11751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11752 $as_echo "not found" >&6; }
11754 else
11755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
11756 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
11758 cat >>confdefs.h <<_ACEOF
11759 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
11760 _ACEOF
11765 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
11766 case "x$with_xxf86vm" in
11767 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
11768 xno) ;;
11769 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
11770 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
11771 esac
11775 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
11776 then
11777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
11778 $as_echo_n "checking for -lXrender... " >&6; }
11779 if ${ac_cv_lib_soname_Xrender+:} false; then :
11780 $as_echo_n "(cached) " >&6
11781 else
11782 ac_check_soname_save_LIBS=$LIBS
11783 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
11784 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11785 /* end confdefs.h. */
11787 /* Override any GCC internal prototype to avoid an error.
11788 Use char because int might match the return type of a GCC
11789 builtin and then its argument prototype would still apply. */
11790 #ifdef __cplusplus
11791 extern "C"
11792 #endif
11793 char XRenderQueryExtension ();
11795 main ()
11797 return XRenderQueryExtension ();
11799 return 0;
11801 _ACEOF
11802 if ac_fn_c_try_link "$LINENO"; then :
11803 case "$LIBEXT" in
11804 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11805 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'` ;;
11806 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11807 if ${ac_cv_lib_soname_Xrender:+false} :; then :
11808 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11809 fi ;;
11810 esac
11811 else
11812 ac_cv_lib_soname_Xrender=
11814 rm -f core conftest.err conftest.$ac_objext \
11815 conftest$ac_exeext conftest.$ac_ext
11816 LIBS=$ac_check_soname_save_LIBS
11818 if ${ac_cv_lib_soname_Xrender:+false} :; then :
11819 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11820 $as_echo "not found" >&6; }
11822 else
11823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
11824 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
11826 cat >>confdefs.h <<_ACEOF
11827 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
11828 _ACEOF
11830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
11831 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
11832 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
11833 $as_echo_n "(cached) " >&6
11834 else
11835 ac_check_lib_save_LIBS=$LIBS
11836 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
11837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11838 /* end confdefs.h. */
11840 /* Override any GCC internal prototype to avoid an error.
11841 Use char because int might match the return type of a GCC
11842 builtin and then its argument prototype would still apply. */
11843 #ifdef __cplusplus
11844 extern "C"
11845 #endif
11846 char XRenderSetPictureTransform ();
11848 main ()
11850 return XRenderSetPictureTransform ();
11852 return 0;
11854 _ACEOF
11855 if ac_fn_c_try_link "$LINENO"; then :
11856 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
11857 else
11858 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
11860 rm -f core conftest.err conftest.$ac_objext \
11861 conftest$ac_exeext conftest.$ac_ext
11862 LIBS=$ac_check_lib_save_LIBS
11864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
11865 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
11866 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
11868 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
11872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
11873 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
11874 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
11875 $as_echo_n "(cached) " >&6
11876 else
11877 ac_check_lib_save_LIBS=$LIBS
11878 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
11879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11880 /* end confdefs.h. */
11882 /* Override any GCC internal prototype to avoid an error.
11883 Use char because int might match the return type of a GCC
11884 builtin and then its argument prototype would still apply. */
11885 #ifdef __cplusplus
11886 extern "C"
11887 #endif
11888 char XRenderCreateLinearGradient ();
11890 main ()
11892 return XRenderCreateLinearGradient ();
11894 return 0;
11896 _ACEOF
11897 if ac_fn_c_try_link "$LINENO"; then :
11898 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
11899 else
11900 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
11902 rm -f core conftest.err conftest.$ac_objext \
11903 conftest$ac_exeext conftest.$ac_ext
11904 LIBS=$ac_check_lib_save_LIBS
11906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
11907 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
11908 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
11910 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
11917 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
11918 case "x$with_xrender" in
11919 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
11920 xno) ;;
11921 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
11922 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
11923 esac
11927 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
11928 then
11929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11930 /* end confdefs.h. */
11931 #include <X11/Xlib.h>
11932 #include <X11/extensions/Xrandr.h>
11934 main ()
11936 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
11938 return 0;
11940 _ACEOF
11941 if ac_fn_c_try_compile "$LINENO"; then :
11942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
11943 $as_echo_n "checking for -lXrandr... " >&6; }
11944 if ${ac_cv_lib_soname_Xrandr+:} false; then :
11945 $as_echo_n "(cached) " >&6
11946 else
11947 ac_check_soname_save_LIBS=$LIBS
11948 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
11949 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11950 /* end confdefs.h. */
11952 /* Override any GCC internal prototype to avoid an error.
11953 Use char because int might match the return type of a GCC
11954 builtin and then its argument prototype would still apply. */
11955 #ifdef __cplusplus
11956 extern "C"
11957 #endif
11958 char XRRQueryExtension ();
11960 main ()
11962 return XRRQueryExtension ();
11964 return 0;
11966 _ACEOF
11967 if ac_fn_c_try_link "$LINENO"; then :
11968 case "$LIBEXT" in
11969 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11970 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'` ;;
11971 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11972 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
11973 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11974 fi ;;
11975 esac
11976 else
11977 ac_cv_lib_soname_Xrandr=
11979 rm -f core conftest.err conftest.$ac_objext \
11980 conftest$ac_exeext conftest.$ac_ext
11981 LIBS=$ac_check_soname_save_LIBS
11983 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
11984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11985 $as_echo "not found" >&6; }
11987 else
11988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
11989 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
11991 cat >>confdefs.h <<_ACEOF
11992 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
11993 _ACEOF
11995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11996 /* end confdefs.h. */
11997 #include <X11/Xlib.h>
11998 #include <X11/extensions/Xrandr.h>
12000 main ()
12002 static typeof(XRRGetScreenResources) *f; if (f) return 0;
12004 return 0;
12006 _ACEOF
12007 if ac_fn_c_try_compile "$LINENO"; then :
12009 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
12012 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12013 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12014 /* end confdefs.h. */
12015 #include <X11/Xlib.h>
12016 #include <X11/extensions/Xrandr.h>
12018 main ()
12020 static typeof(XRRGetProviderResources) *f; if (f) return 0;
12022 return 0;
12024 _ACEOF
12025 if ac_fn_c_try_compile "$LINENO"; then :
12027 $as_echo "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
12029 else
12030 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
12032 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12037 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
12038 case "x$with_xrandr" in
12039 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
12040 xno) ;;
12041 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
12042 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
12043 esac
12047 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
12048 then
12049 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12050 /* end confdefs.h. */
12051 #include <X11/Xlib.h>
12052 #include <X11/extensions/Xfixes.h>
12054 main ()
12056 static typeof(XFixesQueryVersion) * func; if (func) return 0;
12058 return 0;
12060 _ACEOF
12061 if ac_fn_c_try_compile "$LINENO"; then :
12062 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
12063 $as_echo_n "checking for -lXfixes... " >&6; }
12064 if ${ac_cv_lib_soname_Xfixes+:} false; then :
12065 $as_echo_n "(cached) " >&6
12066 else
12067 ac_check_soname_save_LIBS=$LIBS
12068 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
12069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12070 /* end confdefs.h. */
12072 /* Override any GCC internal prototype to avoid an error.
12073 Use char because int might match the return type of a GCC
12074 builtin and then its argument prototype would still apply. */
12075 #ifdef __cplusplus
12076 extern "C"
12077 #endif
12078 char XFixesQueryVersion ();
12080 main ()
12082 return XFixesQueryVersion ();
12084 return 0;
12086 _ACEOF
12087 if ac_fn_c_try_link "$LINENO"; then :
12088 case "$LIBEXT" in
12089 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12090 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'` ;;
12091 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12092 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12093 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12094 fi ;;
12095 esac
12096 else
12097 ac_cv_lib_soname_Xfixes=
12099 rm -f core conftest.err conftest.$ac_objext \
12100 conftest$ac_exeext conftest.$ac_ext
12101 LIBS=$ac_check_soname_save_LIBS
12103 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12105 $as_echo "not found" >&6; }
12107 else
12108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
12109 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
12111 cat >>confdefs.h <<_ACEOF
12112 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
12113 _ACEOF
12118 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12120 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
12121 case "x$with_xfixes" in
12122 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
12123 xno) ;;
12124 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
12125 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
12126 esac
12130 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
12131 then
12132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12133 /* end confdefs.h. */
12134 #include <X11/Xlib.h>
12135 #include <X11/extensions/Xinerama.h>
12137 main ()
12139 static typeof(XineramaQueryScreens) * func; if (func) return 0;
12141 return 0;
12143 _ACEOF
12144 if ac_fn_c_try_compile "$LINENO"; then :
12145 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
12146 $as_echo_n "checking for -lXinerama... " >&6; }
12147 if ${ac_cv_lib_soname_Xinerama+:} false; then :
12148 $as_echo_n "(cached) " >&6
12149 else
12150 ac_check_soname_save_LIBS=$LIBS
12151 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
12152 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12153 /* end confdefs.h. */
12155 /* Override any GCC internal prototype to avoid an error.
12156 Use char because int might match the return type of a GCC
12157 builtin and then its argument prototype would still apply. */
12158 #ifdef __cplusplus
12159 extern "C"
12160 #endif
12161 char XineramaQueryScreens ();
12163 main ()
12165 return XineramaQueryScreens ();
12167 return 0;
12169 _ACEOF
12170 if ac_fn_c_try_link "$LINENO"; then :
12171 case "$LIBEXT" in
12172 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12173 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'` ;;
12174 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12175 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12176 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12177 fi ;;
12178 esac
12179 else
12180 ac_cv_lib_soname_Xinerama=
12182 rm -f core conftest.err conftest.$ac_objext \
12183 conftest$ac_exeext conftest.$ac_ext
12184 LIBS=$ac_check_soname_save_LIBS
12186 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12187 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12188 $as_echo "not found" >&6; }
12190 else
12191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
12192 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
12194 cat >>confdefs.h <<_ACEOF
12195 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
12196 _ACEOF
12201 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12203 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
12204 case "x$with_xinerama" in
12205 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
12206 xno) ;;
12207 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
12208 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
12209 esac
12213 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
12214 then
12215 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
12216 $as_echo_n "checking for -lXcomposite... " >&6; }
12217 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
12218 $as_echo_n "(cached) " >&6
12219 else
12220 ac_check_soname_save_LIBS=$LIBS
12221 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
12222 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12223 /* end confdefs.h. */
12225 /* Override any GCC internal prototype to avoid an error.
12226 Use char because int might match the return type of a GCC
12227 builtin and then its argument prototype would still apply. */
12228 #ifdef __cplusplus
12229 extern "C"
12230 #endif
12231 char XCompositeRedirectWindow ();
12233 main ()
12235 return XCompositeRedirectWindow ();
12237 return 0;
12239 _ACEOF
12240 if ac_fn_c_try_link "$LINENO"; then :
12241 case "$LIBEXT" in
12242 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12243 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'` ;;
12244 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12245 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12246 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12247 fi ;;
12248 esac
12249 else
12250 ac_cv_lib_soname_Xcomposite=
12252 rm -f core conftest.err conftest.$ac_objext \
12253 conftest$ac_exeext conftest.$ac_ext
12254 LIBS=$ac_check_soname_save_LIBS
12256 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12258 $as_echo "not found" >&6; }
12260 else
12261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
12262 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
12264 cat >>confdefs.h <<_ACEOF
12265 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
12266 _ACEOF
12271 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
12272 case "x$with_xcomposite" in
12273 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
12274 xno) ;;
12275 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
12276 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
12277 esac
12281 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
12282 #include <X11/Xlib.h>
12283 #endif
12285 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
12287 cat >>confdefs.h <<_ACEOF
12288 #define HAVE_XICCALLBACK_CALLBACK 1
12289 _ACEOF
12293 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
12294 #include <X11/Xlib.h>
12295 #endif
12297 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
12299 cat >>confdefs.h <<_ACEOF
12300 #define HAVE_XEVENT_XCOOKIE 1
12301 _ACEOF
12308 opengl_msg=""
12309 if test "x$with_opengl" != "xno"
12310 then
12311 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12312 $as_echo_n "checking for -lGL... " >&6; }
12313 if ${ac_cv_lib_soname_GL+:} false; then :
12314 $as_echo_n "(cached) " >&6
12315 else
12316 ac_check_soname_save_LIBS=$LIBS
12317 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12318 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12319 /* end confdefs.h. */
12321 /* Override any GCC internal prototype to avoid an error.
12322 Use char because int might match the return type of a GCC
12323 builtin and then its argument prototype would still apply. */
12324 #ifdef __cplusplus
12325 extern "C"
12326 #endif
12327 char glXCreateContext ();
12329 main ()
12331 return glXCreateContext ();
12333 return 0;
12335 _ACEOF
12336 if ac_fn_c_try_link "$LINENO"; then :
12337 case "$LIBEXT" in
12338 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12339 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'` ;;
12340 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12341 if ${ac_cv_lib_soname_GL:+false} :; then :
12342 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12343 fi ;;
12344 esac
12345 else
12346 ac_cv_lib_soname_GL=
12348 rm -f core conftest.err conftest.$ac_objext \
12349 conftest$ac_exeext conftest.$ac_ext
12350 LIBS=$ac_check_soname_save_LIBS
12352 if ${ac_cv_lib_soname_GL:+false} :; then :
12353 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12354 $as_echo "not found" >&6; }
12355 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12356 $as_echo_n "checking for -lGL... " >&6; }
12357 if ${ac_cv_lib_soname_GL+:} false; then :
12358 $as_echo_n "(cached) " >&6
12359 else
12360 ac_check_soname_save_LIBS=$LIBS
12361 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"
12362 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12363 /* end confdefs.h. */
12365 /* Override any GCC internal prototype to avoid an error.
12366 Use char because int might match the return type of a GCC
12367 builtin and then its argument prototype would still apply. */
12368 #ifdef __cplusplus
12369 extern "C"
12370 #endif
12371 char glXCreateContext ();
12373 main ()
12375 return glXCreateContext ();
12377 return 0;
12379 _ACEOF
12380 if ac_fn_c_try_link "$LINENO"; then :
12381 case "$LIBEXT" in
12382 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12383 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'` ;;
12384 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12385 if ${ac_cv_lib_soname_GL:+false} :; then :
12386 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12387 fi ;;
12388 esac
12389 else
12390 ac_cv_lib_soname_GL=
12392 rm -f core conftest.err conftest.$ac_objext \
12393 conftest$ac_exeext conftest.$ac_ext
12394 LIBS=$ac_check_soname_save_LIBS
12396 if ${ac_cv_lib_soname_GL:+false} :; then :
12397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12398 $as_echo "not found" >&6; }
12399 if test -f /usr/X11R6/lib/libGL.a
12400 then
12401 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
12402 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
12403 else
12404 opengl_msg="No OpenGL library found on this system."
12406 else
12407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12408 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12410 cat >>confdefs.h <<_ACEOF
12411 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12412 _ACEOF
12414 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"
12416 else
12417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12418 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12420 cat >>confdefs.h <<_ACEOF
12421 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12422 _ACEOF
12424 OPENGL_LIBS="-lGL"
12426 if test "x$with_glu" != "xno"
12427 then
12428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
12429 $as_echo_n "checking for -lGLU... " >&6; }
12430 if ${ac_cv_lib_soname_GLU+:} false; then :
12431 $as_echo_n "(cached) " >&6
12432 else
12433 ac_check_soname_save_LIBS=$LIBS
12434 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12436 /* end confdefs.h. */
12438 /* Override any GCC internal prototype to avoid an error.
12439 Use char because int might match the return type of a GCC
12440 builtin and then its argument prototype would still apply. */
12441 #ifdef __cplusplus
12442 extern "C"
12443 #endif
12444 char gluLookAt ();
12446 main ()
12448 return gluLookAt ();
12450 return 0;
12452 _ACEOF
12453 if ac_fn_c_try_link "$LINENO"; then :
12454 case "$LIBEXT" in
12455 dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12456 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'` ;;
12457 *) ac_cv_lib_soname_GLU=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLU\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLU\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12458 if ${ac_cv_lib_soname_GLU:+false} :; then :
12459 ac_cv_lib_soname_GLU=`$LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12460 fi ;;
12461 esac
12462 else
12463 ac_cv_lib_soname_GLU=
12465 rm -f core conftest.err conftest.$ac_objext \
12466 conftest$ac_exeext conftest.$ac_ext
12467 LIBS=$ac_check_soname_save_LIBS
12469 if ${ac_cv_lib_soname_GLU:+false} :; then :
12470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12471 $as_echo "not found" >&6; }
12473 else
12474 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
12475 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
12477 cat >>confdefs.h <<_ACEOF
12478 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
12479 _ACEOF
12483 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
12484 case "x$with_glu" in
12485 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
12486 xno) ;;
12487 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
12488 This is an error since --with-glu was requested." "$LINENO" 5 ;;
12489 esac
12494 if test "x$with_osmesa" != "xno"
12495 then
12496 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
12497 $as_echo_n "checking for -lOSMesa... " >&6; }
12498 if ${ac_cv_lib_soname_OSMesa+:} false; then :
12499 $as_echo_n "(cached) " >&6
12500 else
12501 ac_check_soname_save_LIBS=$LIBS
12502 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12504 /* end confdefs.h. */
12506 /* Override any GCC internal prototype to avoid an error.
12507 Use char because int might match the return type of a GCC
12508 builtin and then its argument prototype would still apply. */
12509 #ifdef __cplusplus
12510 extern "C"
12511 #endif
12512 char OSMesaGetProcAddress ();
12514 main ()
12516 return OSMesaGetProcAddress ();
12518 return 0;
12520 _ACEOF
12521 if ac_fn_c_try_link "$LINENO"; then :
12522 case "$LIBEXT" in
12523 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12524 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'` ;;
12525 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12526 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12527 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12528 fi ;;
12529 esac
12530 else
12531 ac_cv_lib_soname_OSMesa=
12533 rm -f core conftest.err conftest.$ac_objext \
12534 conftest$ac_exeext conftest.$ac_ext
12535 LIBS=$ac_check_soname_save_LIBS
12537 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12539 $as_echo "not found" >&6; }
12541 else
12542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
12543 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
12545 cat >>confdefs.h <<_ACEOF
12546 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
12547 _ACEOF
12551 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
12552 case "x$with_osmesa" in
12553 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
12554 xno) ;;
12555 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
12556 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
12557 esac
12562 if test -n "$opengl_msg"; then :
12563 case "x$with_opengl" in
12564 x) as_fn_append wine_warnings "|$opengl_msg
12565 OpenGL and Direct3D won't be supported." ;;
12566 xno) ;;
12567 *) as_fn_error $? "$opengl_msg
12568 OpenGL and Direct3D won't be supported.
12569 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
12570 esac
12574 CPPFLAGS="$ac_save_CPPFLAGS"
12575 else
12576 X_CFLAGS=""
12577 X_LIBS=""
12580 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
12581 then
12582 if test "x$X_LIBS" = "x"; then :
12583 case "x$with_x" in
12584 xno) ;;
12585 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
12586 without X support, which probably isn't what you want. You will need
12587 to install ${notice_platform}development packages of Xlib at the very least.
12588 Use the --without-x option if you really want this." "$LINENO" 5 ;;
12589 esac
12590 enable_winex11_drv=${enable_winex11_drv:-no}
12592 else
12593 if test "x$X_LIBS" = "x"; then :
12594 case "x$with_x" in
12595 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
12596 xno) ;;
12597 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
12598 This is an error since --with-x was requested." "$LINENO" 5 ;;
12599 esac
12600 enable_winex11_drv=${enable_winex11_drv:-no}
12604 if test "$ac_cv_header_CL_cl_h" = "yes"
12605 then
12606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
12607 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
12608 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
12609 $as_echo_n "(cached) " >&6
12610 else
12611 ac_check_lib_save_LIBS=$LIBS
12612 LIBS="-lOpenCL $LIBS"
12613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12614 /* end confdefs.h. */
12616 /* Override any GCC internal prototype to avoid an error.
12617 Use char because int might match the return type of a GCC
12618 builtin and then its argument prototype would still apply. */
12619 #ifdef __cplusplus
12620 extern "C"
12621 #endif
12622 char clGetPlatformInfo ();
12624 main ()
12626 return clGetPlatformInfo ();
12628 return 0;
12630 _ACEOF
12631 if ac_fn_c_try_link "$LINENO"; then :
12632 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
12633 else
12634 ac_cv_lib_OpenCL_clGetPlatformInfo=no
12636 rm -f core conftest.err conftest.$ac_objext \
12637 conftest$ac_exeext conftest.$ac_ext
12638 LIBS=$ac_check_lib_save_LIBS
12640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
12641 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
12642 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
12643 OPENCL_LIBS="-lOpenCL"
12648 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
12649 case "x$with_opencl" in
12650 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
12651 xno) ;;
12652 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
12653 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
12654 esac
12655 enable_opencl=${enable_opencl:-no}
12658 if test "$ac_cv_header_pcap_pcap_h" = "yes"
12659 then
12660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
12661 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
12662 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
12663 $as_echo_n "(cached) " >&6
12664 else
12665 ac_check_lib_save_LIBS=$LIBS
12666 LIBS="-lpcap $LIBS"
12667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12668 /* end confdefs.h. */
12670 /* Override any GCC internal prototype to avoid an error.
12671 Use char because int might match the return type of a GCC
12672 builtin and then its argument prototype would still apply. */
12673 #ifdef __cplusplus
12674 extern "C"
12675 #endif
12676 char pcap_create ();
12678 main ()
12680 return pcap_create ();
12682 return 0;
12684 _ACEOF
12685 if ac_fn_c_try_link "$LINENO"; then :
12686 ac_cv_lib_pcap_pcap_create=yes
12687 else
12688 ac_cv_lib_pcap_pcap_create=no
12690 rm -f core conftest.err conftest.$ac_objext \
12691 conftest$ac_exeext conftest.$ac_ext
12692 LIBS=$ac_check_lib_save_LIBS
12694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
12695 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
12696 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
12697 PCAP_LIBS="-lpcap"
12702 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
12703 case "x$with_pcap" in
12704 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
12705 xno) ;;
12706 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
12707 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
12708 esac
12709 enable_wpcap=${enable_wpcap:-no}
12713 if test "x$with_xml" != "xno"
12714 then
12715 if ${XML2_CFLAGS:+false} :; then :
12716 if ${PKG_CONFIG+:} false; then :
12717 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12720 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
12721 if ${XML2_LIBS:+false} :; then :
12722 if ${PKG_CONFIG+:} false; then :
12723 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12726 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
12727 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
12728 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
12729 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
12730 ac_save_CPPFLAGS=$CPPFLAGS
12731 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
12732 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
12733 do :
12734 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12735 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12736 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12737 cat >>confdefs.h <<_ACEOF
12738 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12739 _ACEOF
12743 done
12745 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"
12746 then
12747 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
12748 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
12749 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
12750 $as_echo_n "(cached) " >&6
12751 else
12752 ac_check_lib_save_LIBS=$LIBS
12753 LIBS="-lxml2 $XML2_LIBS $LIBS"
12754 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12755 /* end confdefs.h. */
12757 /* Override any GCC internal prototype to avoid an error.
12758 Use char because int might match the return type of a GCC
12759 builtin and then its argument prototype would still apply. */
12760 #ifdef __cplusplus
12761 extern "C"
12762 #endif
12763 char xmlParseMemory ();
12765 main ()
12767 return xmlParseMemory ();
12769 return 0;
12771 _ACEOF
12772 if ac_fn_c_try_link "$LINENO"; then :
12773 ac_cv_lib_xml2_xmlParseMemory=yes
12774 else
12775 ac_cv_lib_xml2_xmlParseMemory=no
12777 rm -f core conftest.err conftest.$ac_objext \
12778 conftest$ac_exeext conftest.$ac_ext
12779 LIBS=$ac_check_lib_save_LIBS
12781 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
12782 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
12783 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
12785 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
12787 else
12788 XML2_LIBS=""
12791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
12792 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
12793 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
12794 $as_echo_n "(cached) " >&6
12795 else
12796 ac_check_lib_save_LIBS=$LIBS
12797 LIBS="-lxml2 $XML2_LIBS $LIBS"
12798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12799 /* end confdefs.h. */
12801 /* Override any GCC internal prototype to avoid an error.
12802 Use char because int might match the return type of a GCC
12803 builtin and then its argument prototype would still apply. */
12804 #ifdef __cplusplus
12805 extern "C"
12806 #endif
12807 char xmlReadMemory ();
12809 main ()
12811 return xmlReadMemory ();
12813 return 0;
12815 _ACEOF
12816 if ac_fn_c_try_link "$LINENO"; then :
12817 ac_cv_lib_xml2_xmlReadMemory=yes
12818 else
12819 ac_cv_lib_xml2_xmlReadMemory=no
12821 rm -f core conftest.err conftest.$ac_objext \
12822 conftest$ac_exeext conftest.$ac_ext
12823 LIBS=$ac_check_lib_save_LIBS
12825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
12826 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
12827 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
12829 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
12833 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
12834 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
12835 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
12836 $as_echo_n "(cached) " >&6
12837 else
12838 ac_check_lib_save_LIBS=$LIBS
12839 LIBS="-lxml2 $XML2_LIBS $LIBS"
12840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12841 /* end confdefs.h. */
12843 /* Override any GCC internal prototype to avoid an error.
12844 Use char because int might match the return type of a GCC
12845 builtin and then its argument prototype would still apply. */
12846 #ifdef __cplusplus
12847 extern "C"
12848 #endif
12849 char xmlNewDocPI ();
12851 main ()
12853 return xmlNewDocPI ();
12855 return 0;
12857 _ACEOF
12858 if ac_fn_c_try_link "$LINENO"; then :
12859 ac_cv_lib_xml2_xmlNewDocPI=yes
12860 else
12861 ac_cv_lib_xml2_xmlNewDocPI=no
12863 rm -f core conftest.err conftest.$ac_objext \
12864 conftest$ac_exeext conftest.$ac_ext
12865 LIBS=$ac_check_lib_save_LIBS
12867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
12868 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
12869 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
12871 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
12875 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
12876 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
12877 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
12878 $as_echo_n "(cached) " >&6
12879 else
12880 ac_check_lib_save_LIBS=$LIBS
12881 LIBS="-lxml2 $XML2_LIBS $LIBS"
12882 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12883 /* end confdefs.h. */
12885 /* Override any GCC internal prototype to avoid an error.
12886 Use char because int might match the return type of a GCC
12887 builtin and then its argument prototype would still apply. */
12888 #ifdef __cplusplus
12889 extern "C"
12890 #endif
12891 char xmlSchemaSetParserStructuredErrors ();
12893 main ()
12895 return xmlSchemaSetParserStructuredErrors ();
12897 return 0;
12899 _ACEOF
12900 if ac_fn_c_try_link "$LINENO"; then :
12901 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
12902 else
12903 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
12905 rm -f core conftest.err conftest.$ac_objext \
12906 conftest$ac_exeext conftest.$ac_ext
12907 LIBS=$ac_check_lib_save_LIBS
12909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
12910 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
12911 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
12913 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
12917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
12918 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
12919 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
12920 $as_echo_n "(cached) " >&6
12921 else
12922 ac_check_lib_save_LIBS=$LIBS
12923 LIBS="-lxml2 $XML2_LIBS $LIBS"
12924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12925 /* end confdefs.h. */
12927 /* Override any GCC internal prototype to avoid an error.
12928 Use char because int might match the return type of a GCC
12929 builtin and then its argument prototype would still apply. */
12930 #ifdef __cplusplus
12931 extern "C"
12932 #endif
12933 char xmlSchemaSetValidStructuredErrors ();
12935 main ()
12937 return xmlSchemaSetValidStructuredErrors ();
12939 return 0;
12941 _ACEOF
12942 if ac_fn_c_try_link "$LINENO"; then :
12943 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
12944 else
12945 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
12947 rm -f core conftest.err conftest.$ac_objext \
12948 conftest$ac_exeext conftest.$ac_ext
12949 LIBS=$ac_check_lib_save_LIBS
12951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
12952 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
12953 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
12955 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
12959 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
12960 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
12961 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
12962 $as_echo_n "(cached) " >&6
12963 else
12964 ac_check_lib_save_LIBS=$LIBS
12965 LIBS="-lxml2 $XML2_LIBS $LIBS"
12966 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12967 /* end confdefs.h. */
12969 /* Override any GCC internal prototype to avoid an error.
12970 Use char because int might match the return type of a GCC
12971 builtin and then its argument prototype would still apply. */
12972 #ifdef __cplusplus
12973 extern "C"
12974 #endif
12975 char xmlFirstElementChild ();
12977 main ()
12979 return xmlFirstElementChild ();
12981 return 0;
12983 _ACEOF
12984 if ac_fn_c_try_link "$LINENO"; then :
12985 ac_cv_lib_xml2_xmlFirstElementChild=yes
12986 else
12987 ac_cv_lib_xml2_xmlFirstElementChild=no
12989 rm -f core conftest.err conftest.$ac_objext \
12990 conftest$ac_exeext conftest.$ac_ext
12991 LIBS=$ac_check_lib_save_LIBS
12993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
12994 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
12995 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
12997 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
13001 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
13003 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
13005 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
13009 else
13010 XML2_CFLAGS=""
13011 XML2_LIBS=""
13013 CPPFLAGS=$ac_save_CPPFLAGS
13014 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13015 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13018 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
13019 case "x$with_xml" in
13020 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
13021 xno) ;;
13022 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
13023 This is an error since --with-xml was requested." "$LINENO" 5 ;;
13024 esac
13028 if test "x$with_xslt" != "xno"
13029 then
13030 if ${XSLT_CFLAGS:+false} :; then :
13031 if ${PKG_CONFIG+:} false; then :
13032 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
13035 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
13036 if ${XSLT_LIBS:+false} :; then :
13037 if ${PKG_CONFIG+:} false; then :
13038 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
13041 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
13042 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
13043 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
13044 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
13045 ac_save_CPPFLAGS=$CPPFLAGS
13046 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
13047 for ac_header in libxslt/pattern.h libxslt/transform.h
13048 do :
13049 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13050 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
13051 # include <libxslt/pattern.h>
13052 #endif
13054 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13055 cat >>confdefs.h <<_ACEOF
13056 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13057 _ACEOF
13061 done
13063 if test "$ac_cv_header_libxslt_transform_h" = "yes"
13064 then
13065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
13066 $as_echo_n "checking for -lxslt... " >&6; }
13067 if ${ac_cv_lib_soname_xslt+:} false; then :
13068 $as_echo_n "(cached) " >&6
13069 else
13070 ac_check_soname_save_LIBS=$LIBS
13071 LIBS="-lxslt $XSLT_LIBS $LIBS"
13072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13073 /* end confdefs.h. */
13075 /* Override any GCC internal prototype to avoid an error.
13076 Use char because int might match the return type of a GCC
13077 builtin and then its argument prototype would still apply. */
13078 #ifdef __cplusplus
13079 extern "C"
13080 #endif
13081 char xsltCompilePattern ();
13083 main ()
13085 return xsltCompilePattern ();
13087 return 0;
13089 _ACEOF
13090 if ac_fn_c_try_link "$LINENO"; then :
13091 case "$LIBEXT" in
13092 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13093 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'` ;;
13094 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13095 if ${ac_cv_lib_soname_xslt:+false} :; then :
13096 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13097 fi ;;
13098 esac
13099 else
13100 ac_cv_lib_soname_xslt=
13102 rm -f core conftest.err conftest.$ac_objext \
13103 conftest$ac_exeext conftest.$ac_ext
13104 LIBS=$ac_check_soname_save_LIBS
13106 if ${ac_cv_lib_soname_xslt:+false} :; then :
13107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13108 $as_echo "not found" >&6; }
13110 else
13111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
13112 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
13114 cat >>confdefs.h <<_ACEOF
13115 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
13116 _ACEOF
13120 else
13121 XSLT_CFLAGS=""
13123 CPPFLAGS=$ac_save_CPPFLAGS
13124 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13125 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13128 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
13129 case "x$with_xslt" in
13130 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
13131 xno) ;;
13132 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
13133 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
13134 esac
13138 if test "x$with_inotify" != "xno"
13139 then
13140 if ${INOTIFY_CFLAGS:+false} :; then :
13141 if ${PKG_CONFIG+:} false; then :
13142 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>/dev/null`
13146 if ${INOTIFY_LIBS:+false} :; then :
13147 if ${PKG_CONFIG+:} false; then :
13148 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
13153 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
13154 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
13155 ac_save_CPPFLAGS=$CPPFLAGS
13156 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
13157 for ac_header in sys/inotify.h
13158 do :
13159 ac_fn_c_check_header_mongrel "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
13160 if test "x$ac_cv_header_sys_inotify_h" = xyes; then :
13161 cat >>confdefs.h <<_ACEOF
13162 #define HAVE_SYS_INOTIFY_H 1
13163 _ACEOF
13167 done
13169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
13170 $as_echo_n "checking for inotify_add_watch in -linotify... " >&6; }
13171 if ${ac_cv_lib_inotify_inotify_add_watch+:} false; then :
13172 $as_echo_n "(cached) " >&6
13173 else
13174 ac_check_lib_save_LIBS=$LIBS
13175 LIBS="-linotify $INOTIFY_LIBS $LIBS"
13176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13177 /* end confdefs.h. */
13179 /* Override any GCC internal prototype to avoid an error.
13180 Use char because int might match the return type of a GCC
13181 builtin and then its argument prototype would still apply. */
13182 #ifdef __cplusplus
13183 extern "C"
13184 #endif
13185 char inotify_add_watch ();
13187 main ()
13189 return inotify_add_watch ();
13191 return 0;
13193 _ACEOF
13194 if ac_fn_c_try_link "$LINENO"; then :
13195 ac_cv_lib_inotify_inotify_add_watch=yes
13196 else
13197 ac_cv_lib_inotify_inotify_add_watch=no
13199 rm -f core conftest.err conftest.$ac_objext \
13200 conftest$ac_exeext conftest.$ac_ext
13201 LIBS=$ac_check_lib_save_LIBS
13203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
13204 $as_echo "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
13205 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes; then :
13207 else
13208 INOTIFY_LIBS=""
13211 CPPFLAGS=$ac_save_CPPFLAGS
13212 test -z "$INOTIFY_CFLAGS" || INOTIFY_CFLAGS=`echo " $INOTIFY_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13213 test -z "$INOTIFY_LIBS" || INOTIFY_LIBS=`echo " $INOTIFY_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13216 if test "$ac_cv_header_sys_inotify_h" != "yes"; then :
13217 case "x$with_inotify" in
13218 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
13219 xno) ;;
13220 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
13221 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
13222 esac
13226 if test "x$with_dbus" != "xno"
13227 then
13228 if ${DBUS_CFLAGS:+false} :; then :
13229 if ${PKG_CONFIG+:} false; then :
13230 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
13234 if ${DBUS_LIBS:+false} :; then :
13235 if ${PKG_CONFIG+:} false; then :
13236 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
13241 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
13242 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
13243 ac_save_CPPFLAGS=$CPPFLAGS
13244 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
13245 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
13246 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
13247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
13248 $as_echo_n "checking for -ldbus-1... " >&6; }
13249 if ${ac_cv_lib_soname_dbus_1+:} false; then :
13250 $as_echo_n "(cached) " >&6
13251 else
13252 ac_check_soname_save_LIBS=$LIBS
13253 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
13254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13255 /* end confdefs.h. */
13257 /* Override any GCC internal prototype to avoid an error.
13258 Use char because int might match the return type of a GCC
13259 builtin and then its argument prototype would still apply. */
13260 #ifdef __cplusplus
13261 extern "C"
13262 #endif
13263 char dbus_connection_close ();
13265 main ()
13267 return dbus_connection_close ();
13269 return 0;
13271 _ACEOF
13272 if ac_fn_c_try_link "$LINENO"; then :
13273 case "$LIBEXT" in
13274 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13275 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'` ;;
13276 *) 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'`
13277 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13278 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13279 fi ;;
13280 esac
13281 else
13282 ac_cv_lib_soname_dbus_1=
13284 rm -f core conftest.err conftest.$ac_objext \
13285 conftest$ac_exeext conftest.$ac_ext
13286 LIBS=$ac_check_soname_save_LIBS
13288 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13290 $as_echo "not found" >&6; }
13291 DBUS_CFLAGS=""
13292 else
13293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
13294 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
13296 cat >>confdefs.h <<_ACEOF
13297 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
13298 _ACEOF
13302 else
13303 DBUS_CFLAGS=""
13307 CPPFLAGS=$ac_save_CPPFLAGS
13308 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13309 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13312 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
13313 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13314 case "x$with_dbus" in
13315 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
13316 xno) ;;
13317 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
13318 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
13319 esac
13323 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
13324 then
13325 if ${HAL_CFLAGS:+false} :; then :
13326 if ${PKG_CONFIG+:} false; then :
13327 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
13331 if ${HAL_LIBS:+false} :; then :
13332 if ${PKG_CONFIG+:} false; then :
13333 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
13337 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
13338 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
13339 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
13340 ac_save_CPPFLAGS=$CPPFLAGS
13341 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
13342 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
13343 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
13344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
13345 $as_echo_n "checking for -lhal... " >&6; }
13346 if ${ac_cv_lib_soname_hal+:} false; then :
13347 $as_echo_n "(cached) " >&6
13348 else
13349 ac_check_soname_save_LIBS=$LIBS
13350 LIBS="-lhal $HAL_LIBS $LIBS"
13351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13352 /* end confdefs.h. */
13354 /* Override any GCC internal prototype to avoid an error.
13355 Use char because int might match the return type of a GCC
13356 builtin and then its argument prototype would still apply. */
13357 #ifdef __cplusplus
13358 extern "C"
13359 #endif
13360 char libhal_ctx_new ();
13362 main ()
13364 return libhal_ctx_new ();
13366 return 0;
13368 _ACEOF
13369 if ac_fn_c_try_link "$LINENO"; then :
13370 case "$LIBEXT" in
13371 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13372 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'` ;;
13373 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13374 if ${ac_cv_lib_soname_hal:+false} :; then :
13375 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13376 fi ;;
13377 esac
13378 else
13379 ac_cv_lib_soname_hal=
13381 rm -f core conftest.err conftest.$ac_objext \
13382 conftest$ac_exeext conftest.$ac_ext
13383 LIBS=$ac_check_soname_save_LIBS
13385 if ${ac_cv_lib_soname_hal:+false} :; then :
13386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13387 $as_echo "not found" >&6; }
13388 HAL_CFLAGS=""
13389 else
13390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
13391 $as_echo "$ac_cv_lib_soname_hal" >&6; }
13393 cat >>confdefs.h <<_ACEOF
13394 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
13395 _ACEOF
13399 else
13400 HAL_CFLAGS=""
13404 CPPFLAGS=$ac_save_CPPFLAGS
13405 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13406 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13408 if test "x$ac_cv_lib_soname_hal" = "x" -a \
13409 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13410 case "x$with_hal" in
13411 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
13412 xno) ;;
13413 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
13414 This is an error since --with-hal was requested." "$LINENO" 5 ;;
13415 esac
13420 if test "x$with_gnutls" != "xno"
13421 then
13422 if ${GNUTLS_CFLAGS:+false} :; then :
13423 if ${PKG_CONFIG+:} false; then :
13424 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
13428 if ${GNUTLS_LIBS:+false} :; then :
13429 if ${PKG_CONFIG+:} false; then :
13430 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
13435 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
13436 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
13437 ac_save_CPPFLAGS=$CPPFLAGS
13438 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
13439 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
13440 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
13441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13442 /* end confdefs.h. */
13443 #include <gnutls/gnutls.h>
13444 #include <gnutls/crypto.h>
13446 main ()
13448 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
13450 return 0;
13452 _ACEOF
13453 if ac_fn_c_try_compile "$LINENO"; then :
13454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
13455 $as_echo_n "checking for -lgnutls... " >&6; }
13456 if ${ac_cv_lib_soname_gnutls+:} false; then :
13457 $as_echo_n "(cached) " >&6
13458 else
13459 ac_check_soname_save_LIBS=$LIBS
13460 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
13461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13462 /* end confdefs.h. */
13464 /* Override any GCC internal prototype to avoid an error.
13465 Use char because int might match the return type of a GCC
13466 builtin and then its argument prototype would still apply. */
13467 #ifdef __cplusplus
13468 extern "C"
13469 #endif
13470 char gnutls_global_init ();
13472 main ()
13474 return gnutls_global_init ();
13476 return 0;
13478 _ACEOF
13479 if ac_fn_c_try_link "$LINENO"; then :
13480 case "$LIBEXT" in
13481 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13482 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'` ;;
13483 *) 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'`
13484 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13485 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'`
13486 fi ;;
13487 esac
13488 else
13489 ac_cv_lib_soname_gnutls=
13491 rm -f core conftest.err conftest.$ac_objext \
13492 conftest$ac_exeext conftest.$ac_ext
13493 LIBS=$ac_check_soname_save_LIBS
13495 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13497 $as_echo "not found" >&6; }
13498 GNUTLS_CFLAGS=""
13499 else
13500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
13501 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
13503 cat >>confdefs.h <<_ACEOF
13504 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
13505 _ACEOF
13509 ac_wine_check_funcs_save_LIBS="$LIBS"
13510 LIBS="$LIBS $GNUTLS_LIBS"
13511 for ac_func in gnutls_cipher_init
13512 do :
13513 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
13514 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
13515 cat >>confdefs.h <<_ACEOF
13516 #define HAVE_GNUTLS_CIPHER_INIT 1
13517 _ACEOF
13519 else
13520 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
13522 done
13524 LIBS="$ac_wine_check_funcs_save_LIBS"
13526 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13527 else
13528 GNUTLS_CFLAGS=""
13532 CPPFLAGS=$ac_save_CPPFLAGS
13533 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13534 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13537 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
13538 case "x$with_gnutls" in
13539 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
13540 xno) ;;
13541 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
13542 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
13543 esac
13547 CURSES_LIBS=""
13548 if test "$ac_cv_header_ncurses_h" = "yes"
13549 then
13550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
13551 $as_echo_n "checking for -lncurses... " >&6; }
13552 if ${ac_cv_lib_soname_ncurses+:} false; then :
13553 $as_echo_n "(cached) " >&6
13554 else
13555 ac_check_soname_save_LIBS=$LIBS
13556 LIBS="-lncurses $LIBS"
13557 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13558 /* end confdefs.h. */
13560 /* Override any GCC internal prototype to avoid an error.
13561 Use char because int might match the return type of a GCC
13562 builtin and then its argument prototype would still apply. */
13563 #ifdef __cplusplus
13564 extern "C"
13565 #endif
13566 char waddch ();
13568 main ()
13570 return waddch ();
13572 return 0;
13574 _ACEOF
13575 if ac_fn_c_try_link "$LINENO"; then :
13576 case "$LIBEXT" in
13577 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13578 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'` ;;
13579 *) 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'`
13580 if ${ac_cv_lib_soname_ncurses:+false} :; then :
13581 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13582 fi ;;
13583 esac
13584 else
13585 ac_cv_lib_soname_ncurses=
13587 rm -f core conftest.err conftest.$ac_objext \
13588 conftest$ac_exeext conftest.$ac_ext
13589 LIBS=$ac_check_soname_save_LIBS
13591 if ${ac_cv_lib_soname_ncurses:+false} :; then :
13592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13593 $as_echo "not found" >&6; }
13595 else
13596 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
13597 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
13599 cat >>confdefs.h <<_ACEOF
13600 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
13601 _ACEOF
13603 CURSES_LIBS="-lncurses"
13605 elif test "$ac_cv_header_curses_h" = "yes"
13606 then
13607 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
13608 $as_echo_n "checking for -lcurses... " >&6; }
13609 if ${ac_cv_lib_soname_curses+:} false; then :
13610 $as_echo_n "(cached) " >&6
13611 else
13612 ac_check_soname_save_LIBS=$LIBS
13613 LIBS="-lcurses $LIBS"
13614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13615 /* end confdefs.h. */
13617 /* Override any GCC internal prototype to avoid an error.
13618 Use char because int might match the return type of a GCC
13619 builtin and then its argument prototype would still apply. */
13620 #ifdef __cplusplus
13621 extern "C"
13622 #endif
13623 char waddch ();
13625 main ()
13627 return waddch ();
13629 return 0;
13631 _ACEOF
13632 if ac_fn_c_try_link "$LINENO"; then :
13633 case "$LIBEXT" in
13634 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13635 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'` ;;
13636 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13637 if ${ac_cv_lib_soname_curses:+false} :; then :
13638 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13639 fi ;;
13640 esac
13641 else
13642 ac_cv_lib_soname_curses=
13644 rm -f core conftest.err conftest.$ac_objext \
13645 conftest$ac_exeext conftest.$ac_ext
13646 LIBS=$ac_check_soname_save_LIBS
13648 if ${ac_cv_lib_soname_curses:+false} :; then :
13649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13650 $as_echo "not found" >&6; }
13652 else
13653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
13654 $as_echo "$ac_cv_lib_soname_curses" >&6; }
13656 cat >>confdefs.h <<_ACEOF
13657 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
13658 _ACEOF
13660 CURSES_LIBS="-lcurses"
13663 ac_save_LIBS="$LIBS"
13664 LIBS="$LIBS $CURSES_LIBS"
13665 for ac_func in mousemask
13666 do :
13667 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
13668 if test "x$ac_cv_func_mousemask" = xyes; then :
13669 cat >>confdefs.h <<_ACEOF
13670 #define HAVE_MOUSEMASK 1
13671 _ACEOF
13674 done
13676 LIBS="$ac_save_LIBS"
13677 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
13678 case "x$with_curses" in
13679 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
13680 xno) ;;
13681 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
13682 This is an error since --with-curses was requested." "$LINENO" 5 ;;
13683 esac
13687 if test "x$with_sane" != "xno"
13688 then
13689 if ${SANE_CFLAGS:+false} :; then :
13690 if ${PKG_CONFIG+:} false; then :
13691 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
13694 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
13695 if ${SANE_LIBS:+false} :; then :
13696 if ${PKG_CONFIG+:} false; then :
13697 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
13700 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
13702 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
13703 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
13704 ac_save_CPPFLAGS=$CPPFLAGS
13705 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
13706 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
13707 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
13708 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
13709 $as_echo_n "checking for -lsane... " >&6; }
13710 if ${ac_cv_lib_soname_sane+:} false; then :
13711 $as_echo_n "(cached) " >&6
13712 else
13713 ac_check_soname_save_LIBS=$LIBS
13714 LIBS="-lsane $SANE_LIBS $LIBS"
13715 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13716 /* end confdefs.h. */
13718 /* Override any GCC internal prototype to avoid an error.
13719 Use char because int might match the return type of a GCC
13720 builtin and then its argument prototype would still apply. */
13721 #ifdef __cplusplus
13722 extern "C"
13723 #endif
13724 char sane_init ();
13726 main ()
13728 return sane_init ();
13730 return 0;
13732 _ACEOF
13733 if ac_fn_c_try_link "$LINENO"; then :
13734 case "$LIBEXT" in
13735 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13736 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'` ;;
13737 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13738 if ${ac_cv_lib_soname_sane:+false} :; then :
13739 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13740 fi ;;
13741 esac
13742 else
13743 ac_cv_lib_soname_sane=
13745 rm -f core conftest.err conftest.$ac_objext \
13746 conftest$ac_exeext conftest.$ac_ext
13747 LIBS=$ac_check_soname_save_LIBS
13749 if ${ac_cv_lib_soname_sane:+false} :; then :
13750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13751 $as_echo "not found" >&6; }
13752 SANE_CFLAGS=""
13753 else
13754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
13755 $as_echo "$ac_cv_lib_soname_sane" >&6; }
13757 cat >>confdefs.h <<_ACEOF
13758 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
13759 _ACEOF
13763 else
13764 SANE_CFLAGS=""
13768 CPPFLAGS=$ac_save_CPPFLAGS
13769 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13770 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13773 if test "x$ac_cv_lib_soname_sane" = "x"; then :
13774 case "x$with_sane" in
13775 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
13776 xno) ;;
13777 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
13778 This is an error since --with-sane was requested." "$LINENO" 5 ;;
13779 esac
13783 if test "x$with_v4l2" != "xno"
13784 then
13785 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
13786 $as_echo_n "checking for -lv4l2... " >&6; }
13787 if ${ac_cv_lib_soname_v4l2+:} false; then :
13788 $as_echo_n "(cached) " >&6
13789 else
13790 ac_check_soname_save_LIBS=$LIBS
13791 LIBS="-lv4l2 $LIBS"
13792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13793 /* end confdefs.h. */
13795 /* Override any GCC internal prototype to avoid an error.
13796 Use char because int might match the return type of a GCC
13797 builtin and then its argument prototype would still apply. */
13798 #ifdef __cplusplus
13799 extern "C"
13800 #endif
13801 char v4l2_open ();
13803 main ()
13805 return v4l2_open ();
13807 return 0;
13809 _ACEOF
13810 if ac_fn_c_try_link "$LINENO"; then :
13811 case "$LIBEXT" in
13812 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13813 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'` ;;
13814 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13815 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13816 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13817 fi ;;
13818 esac
13819 else
13820 ac_cv_lib_soname_v4l2=
13822 rm -f core conftest.err conftest.$ac_objext \
13823 conftest$ac_exeext conftest.$ac_ext
13824 LIBS=$ac_check_soname_save_LIBS
13826 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13827 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13828 $as_echo "not found" >&6; }
13830 else
13831 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
13832 $as_echo "$ac_cv_lib_soname_v4l2" >&6; }
13834 cat >>confdefs.h <<_ACEOF
13835 #define SONAME_LIBV4L2 "$ac_cv_lib_soname_v4l2"
13836 _ACEOF
13841 if test "x$ac_cv_lib_soname_v4l2" = "x"; then :
13842 case "x$with_v4l2" in
13843 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
13844 xno) ;;
13845 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
13846 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
13847 esac
13851 if test "x$with_gphoto" != "xno"
13852 then
13853 if ${GPHOTO2_CFLAGS:+false} :; then :
13854 if ${PKG_CONFIG+:} false; then :
13855 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
13858 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
13859 if ${GPHOTO2_LIBS:+false} :; then :
13860 if ${PKG_CONFIG+:} false; then :
13861 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
13864 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
13865 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
13866 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
13867 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
13868 ac_save_CPPFLAGS=$CPPFLAGS
13869 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
13870 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
13871 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
13872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
13873 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
13874 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
13875 $as_echo_n "(cached) " >&6
13876 else
13877 ac_check_lib_save_LIBS=$LIBS
13878 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
13879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13880 /* end confdefs.h. */
13882 /* Override any GCC internal prototype to avoid an error.
13883 Use char because int might match the return type of a GCC
13884 builtin and then its argument prototype would still apply. */
13885 #ifdef __cplusplus
13886 extern "C"
13887 #endif
13888 char gp_camera_new ();
13890 main ()
13892 return gp_camera_new ();
13894 return 0;
13896 _ACEOF
13897 if ac_fn_c_try_link "$LINENO"; then :
13898 ac_cv_lib_gphoto2_gp_camera_new=yes
13899 else
13900 ac_cv_lib_gphoto2_gp_camera_new=no
13902 rm -f core conftest.err conftest.$ac_objext \
13903 conftest$ac_exeext conftest.$ac_ext
13904 LIBS=$ac_check_lib_save_LIBS
13906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
13907 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
13908 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
13910 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
13912 else
13913 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
13916 else
13917 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
13921 CPPFLAGS=$ac_save_CPPFLAGS
13922 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13923 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13925 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
13926 if ${PKG_CONFIG+:} false; then :
13927 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
13930 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
13931 if ${GPHOTO2_PORT_LIBS:+false} :; then :
13932 if ${PKG_CONFIG+:} false; then :
13933 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
13936 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
13937 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
13938 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
13939 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
13940 ac_save_CPPFLAGS=$CPPFLAGS
13941 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
13942 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
13943 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
13944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
13945 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
13946 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
13947 $as_echo_n "(cached) " >&6
13948 else
13949 ac_check_lib_save_LIBS=$LIBS
13950 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
13951 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13952 /* end confdefs.h. */
13954 /* Override any GCC internal prototype to avoid an error.
13955 Use char because int might match the return type of a GCC
13956 builtin and then its argument prototype would still apply. */
13957 #ifdef __cplusplus
13958 extern "C"
13959 #endif
13960 char gp_port_info_list_new ();
13962 main ()
13964 return gp_port_info_list_new ();
13966 return 0;
13968 _ACEOF
13969 if ac_fn_c_try_link "$LINENO"; then :
13970 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
13971 else
13972 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
13974 rm -f core conftest.err conftest.$ac_objext \
13975 conftest$ac_exeext conftest.$ac_ext
13976 LIBS=$ac_check_lib_save_LIBS
13978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
13979 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
13980 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
13982 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
13984 else
13985 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
13988 else
13989 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
13993 CPPFLAGS=$ac_save_CPPFLAGS
13994 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13995 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13998 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
13999 case "x$with_gphoto" in
14000 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
14001 xno) ;;
14002 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
14003 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14004 esac
14007 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
14008 case "x$with_gphoto" in
14009 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
14010 xno) ;;
14011 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
14012 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14013 esac
14018 if test "$ac_cv_header_resolv_h" = "yes"
14019 then
14020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
14021 $as_echo_n "checking for resolver library... " >&6; }
14022 if ${ac_cv_have_resolv+:} false; then :
14023 $as_echo_n "(cached) " >&6
14024 else
14025 ac_save_LIBS="$LIBS"
14026 for lib in '' -lresolv
14028 LIBS="$lib $ac_save_LIBS"
14029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14030 /* end confdefs.h. */
14031 #ifdef HAVE_NETINET_IN_H
14032 #include <netinet/in.h>
14033 #endif
14034 #include <resolv.h>
14036 main ()
14038 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
14040 return 0;
14042 _ACEOF
14043 if ac_fn_c_try_link "$LINENO"; then :
14044 ac_cv_have_resolv=${lib:-"none required"}
14045 else
14046 ac_cv_have_resolv="not found"
14048 rm -f core conftest.err conftest.$ac_objext \
14049 conftest$ac_exeext conftest.$ac_ext
14050 test "x$ac_cv_have_resolv" = "xnot found" || break
14051 done
14052 LIBS="$ac_save_LIBS"
14054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
14055 $as_echo "$ac_cv_have_resolv" >&6; }
14057 case "$ac_cv_have_resolv" in
14058 "not found") ;;
14059 "none required")
14061 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14064 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14066 RESOLV_LIBS=$ac_cv_have_resolv
14068 esac
14071 if test "x$with_cms" != "xno"
14072 then
14073 if ${LCMS2_CFLAGS:+false} :; then :
14074 if ${PKG_CONFIG+:} false; then :
14075 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
14079 if ${LCMS2_LIBS:+false} :; then :
14080 if ${PKG_CONFIG+:} false; then :
14081 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
14085 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
14086 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
14087 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
14088 ac_save_CPPFLAGS=$CPPFLAGS
14089 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
14090 for ac_header in lcms2.h
14091 do :
14092 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
14093 if test "x$ac_cv_header_lcms2_h" = xyes; then :
14094 cat >>confdefs.h <<_ACEOF
14095 #define HAVE_LCMS2_H 1
14096 _ACEOF
14100 done
14102 if test "$ac_cv_header_lcms2_h" = "yes"
14103 then
14104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
14105 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
14106 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
14107 $as_echo_n "(cached) " >&6
14108 else
14109 ac_check_lib_save_LIBS=$LIBS
14110 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
14111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14112 /* end confdefs.h. */
14114 /* Override any GCC internal prototype to avoid an error.
14115 Use char because int might match the return type of a GCC
14116 builtin and then its argument prototype would still apply. */
14117 #ifdef __cplusplus
14118 extern "C"
14119 #endif
14120 char cmsOpenProfileFromFile ();
14122 main ()
14124 return cmsOpenProfileFromFile ();
14126 return 0;
14128 _ACEOF
14129 if ac_fn_c_try_link "$LINENO"; then :
14130 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
14131 else
14132 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
14134 rm -f core conftest.err conftest.$ac_objext \
14135 conftest$ac_exeext conftest.$ac_ext
14136 LIBS=$ac_check_lib_save_LIBS
14138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
14139 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
14140 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
14142 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
14144 else
14145 LCMS2_LIBS=""
14148 else
14149 LCMS2_CFLAGS=""
14150 LCMS2_LIBS=""
14152 CPPFLAGS=$ac_save_CPPFLAGS
14153 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14154 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14157 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
14158 case "x$with_cms" in
14159 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
14160 xno) ;;
14161 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
14162 This is an error since --with-cms was requested." "$LINENO" 5 ;;
14163 esac
14167 if test "x$with_freetype" != "xno"
14168 then
14169 if ${FREETYPE_CFLAGS:+false} :; then :
14170 if ${PKG_CONFIG+:} false; then :
14171 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
14174 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
14175 if ${FREETYPE_LIBS:+false} :; then :
14176 if ${PKG_CONFIG+:} false; then :
14177 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
14180 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
14181 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
14182 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
14183 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
14184 ac_save_CPPFLAGS=$CPPFLAGS
14185 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
14186 for ac_header in ft2build.h
14187 do :
14188 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
14189 if test "x$ac_cv_header_ft2build_h" = xyes; then :
14190 cat >>confdefs.h <<_ACEOF
14191 #define HAVE_FT2BUILD_H 1
14192 _ACEOF
14196 done
14198 if test "$ac_cv_header_ft2build_h" = "yes"
14199 then
14200 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
14201 $as_echo_n "checking for -lfreetype... " >&6; }
14202 if ${ac_cv_lib_soname_freetype+:} false; then :
14203 $as_echo_n "(cached) " >&6
14204 else
14205 ac_check_soname_save_LIBS=$LIBS
14206 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
14207 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14208 /* end confdefs.h. */
14210 /* Override any GCC internal prototype to avoid an error.
14211 Use char because int might match the return type of a GCC
14212 builtin and then its argument prototype would still apply. */
14213 #ifdef __cplusplus
14214 extern "C"
14215 #endif
14216 char FT_Init_FreeType ();
14218 main ()
14220 return FT_Init_FreeType ();
14222 return 0;
14224 _ACEOF
14225 if ac_fn_c_try_link "$LINENO"; then :
14226 case "$LIBEXT" in
14227 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14228 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'` ;;
14229 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14230 if ${ac_cv_lib_soname_freetype:+false} :; then :
14231 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14232 fi ;;
14233 esac
14234 else
14235 ac_cv_lib_soname_freetype=
14237 rm -f core conftest.err conftest.$ac_objext \
14238 conftest$ac_exeext conftest.$ac_ext
14239 LIBS=$ac_check_soname_save_LIBS
14241 if ${ac_cv_lib_soname_freetype:+false} :; then :
14242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14243 $as_echo "not found" >&6; }
14244 FREETYPE_LIBS=""
14245 else
14246 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
14247 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
14249 cat >>confdefs.h <<_ACEOF
14250 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
14251 _ACEOF
14254 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
14256 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
14257 #include FT_MODULE_H
14259 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
14261 cat >>confdefs.h <<_ACEOF
14262 #define HAVE_FT_TRUETYPEENGINETYPE 1
14263 _ACEOF
14269 else
14270 FREETYPE_CFLAGS=""
14271 FREETYPE_LIBS=""
14273 CPPFLAGS=$ac_save_CPPFLAGS
14274 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14275 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14278 if test "x$ac_cv_lib_soname_freetype" = x; then :
14279 case "x$with_freetype" in
14280 xno) ;;
14281 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
14282 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
14283 esac
14284 enable_fonts=${enable_fonts:-no}
14287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
14288 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
14289 if ${ac_cv_c_ppdev+:} false; then :
14290 $as_echo_n "(cached) " >&6
14291 else
14292 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14293 /* end confdefs.h. */
14294 #ifdef HAVE_SYS_IOCTL_H
14295 # include <sys/ioctl.h>
14296 #endif
14297 #include <linux/ppdev.h>
14299 main ()
14301 ioctl (1,PPCLAIM,0)
14303 return 0;
14305 _ACEOF
14306 if ac_fn_c_try_compile "$LINENO"; then :
14307 ac_cv_c_ppdev="yes"
14308 else
14309 ac_cv_c_ppdev="no"
14311 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
14314 $as_echo "$ac_cv_c_ppdev" >&6; }
14315 if test "$ac_cv_c_ppdev" = "yes"
14316 then
14318 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
14322 ac_wine_check_funcs_save_LIBS="$LIBS"
14323 LIBS="$LIBS $PTHREAD_LIBS"
14324 for ac_func in \
14325 pthread_getthreadid_np
14326 do :
14327 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14328 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14329 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14330 cat >>confdefs.h <<_ACEOF
14331 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14332 _ACEOF
14335 done
14337 LIBS="$ac_wine_check_funcs_save_LIBS"
14339 if test "x$with_zlib" != "xno"
14340 then
14341 if ${Z_CFLAGS:+false} :; then :
14342 if ${PKG_CONFIG+:} false; then :
14343 Z_CFLAGS=`$PKG_CONFIG --cflags libz 2>/dev/null`
14347 if ${Z_LIBS:+false} :; then :
14348 if ${PKG_CONFIG+:} false; then :
14349 Z_LIBS=`$PKG_CONFIG --libs libz 2>/dev/null`
14353 Z_LIBS=${Z_LIBS:-"-lz"}
14354 $as_echo "$as_me:${as_lineno-$LINENO}: libz cflags: $Z_CFLAGS" >&5
14355 $as_echo "$as_me:${as_lineno-$LINENO}: libz libs: $Z_LIBS" >&5
14356 ac_save_CPPFLAGS=$CPPFLAGS
14357 CPPFLAGS="$CPPFLAGS $Z_CFLAGS"
14358 for ac_header in zlib.h
14359 do :
14360 ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
14361 if test "x$ac_cv_header_zlib_h" = xyes; then :
14362 cat >>confdefs.h <<_ACEOF
14363 #define HAVE_ZLIB_H 1
14364 _ACEOF
14365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
14366 $as_echo_n "checking for inflate in -lz... " >&6; }
14367 if ${ac_cv_lib_z_inflate+:} false; then :
14368 $as_echo_n "(cached) " >&6
14369 else
14370 ac_check_lib_save_LIBS=$LIBS
14371 LIBS="-lz $Z_LIBS $LIBS"
14372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14373 /* end confdefs.h. */
14375 /* Override any GCC internal prototype to avoid an error.
14376 Use char because int might match the return type of a GCC
14377 builtin and then its argument prototype would still apply. */
14378 #ifdef __cplusplus
14379 extern "C"
14380 #endif
14381 char inflate ();
14383 main ()
14385 return inflate ();
14387 return 0;
14389 _ACEOF
14390 if ac_fn_c_try_link "$LINENO"; then :
14391 ac_cv_lib_z_inflate=yes
14392 else
14393 ac_cv_lib_z_inflate=no
14395 rm -f core conftest.err conftest.$ac_objext \
14396 conftest$ac_exeext conftest.$ac_ext
14397 LIBS=$ac_check_lib_save_LIBS
14399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
14400 $as_echo "$ac_cv_lib_z_inflate" >&6; }
14401 if test "x$ac_cv_lib_z_inflate" = xyes; then :
14403 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
14405 else
14406 Z_LIBS=""
14409 else
14410 Z_LIBS=""
14413 done
14415 CPPFLAGS=$ac_save_CPPFLAGS
14416 test -z "$Z_CFLAGS" || Z_CFLAGS=`echo " $Z_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14417 test -z "$Z_LIBS" || Z_LIBS=`echo " $Z_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14420 if test "x$Z_LIBS" = "x"; then :
14421 case "x$with_zlib" in
14422 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
14423 xno) ;;
14424 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
14425 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
14426 esac
14430 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
14431 then
14432 if test "$ac_cv_header_gettext_po_h" = "yes"
14433 then
14434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
14435 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
14436 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
14437 $as_echo_n "(cached) " >&6
14438 else
14439 ac_check_lib_save_LIBS=$LIBS
14440 LIBS="-lgettextpo $LIBS"
14441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14442 /* end confdefs.h. */
14444 /* Override any GCC internal prototype to avoid an error.
14445 Use char because int might match the return type of a GCC
14446 builtin and then its argument prototype would still apply. */
14447 #ifdef __cplusplus
14448 extern "C"
14449 #endif
14450 char po_message_msgctxt ();
14452 main ()
14454 return po_message_msgctxt ();
14456 return 0;
14458 _ACEOF
14459 if ac_fn_c_try_link "$LINENO"; then :
14460 ac_cv_lib_gettextpo_po_message_msgctxt=yes
14461 else
14462 ac_cv_lib_gettextpo_po_message_msgctxt=no
14464 rm -f core conftest.err conftest.$ac_objext \
14465 conftest$ac_exeext conftest.$ac_ext
14466 LIBS=$ac_check_lib_save_LIBS
14468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
14469 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
14470 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
14472 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
14474 GETTEXTPO_LIBS="-lgettextpo"
14479 if test "x$GETTEXTPO_LIBS" = "x"; then :
14480 case "x$with_gettextpo" in
14481 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
14482 xno) ;;
14483 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
14484 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14485 esac
14488 if test "$srcdir" != .; then :
14489 case "x$with_gettextpo" in
14490 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
14491 xno) ;;
14492 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
14493 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14494 esac
14499 if test "x$with_pulse" != "xno";
14500 then
14501 if ${PULSE_CFLAGS:+false} :; then :
14502 if ${PKG_CONFIG+:} false; then :
14503 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
14507 if ${PULSE_LIBS:+false} :; then :
14508 if ${PKG_CONFIG+:} false; then :
14509 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
14514 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
14515 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
14516 ac_save_CPPFLAGS=$CPPFLAGS
14517 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
14518 for ac_header in pulse/pulseaudio.h
14519 do :
14520 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
14521 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
14522 cat >>confdefs.h <<_ACEOF
14523 #define HAVE_PULSE_PULSEAUDIO_H 1
14524 _ACEOF
14525 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
14526 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
14527 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
14528 $as_echo_n "(cached) " >&6
14529 else
14530 ac_check_lib_save_LIBS=$LIBS
14531 LIBS="-lpulse $PULSE_LIBS $LIBS"
14532 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14533 /* end confdefs.h. */
14535 /* Override any GCC internal prototype to avoid an error.
14536 Use char because int might match the return type of a GCC
14537 builtin and then its argument prototype would still apply. */
14538 #ifdef __cplusplus
14539 extern "C"
14540 #endif
14541 char pa_stream_is_corked ();
14543 main ()
14545 return pa_stream_is_corked ();
14547 return 0;
14549 _ACEOF
14550 if ac_fn_c_try_link "$LINENO"; then :
14551 ac_cv_lib_pulse_pa_stream_is_corked=yes
14552 else
14553 ac_cv_lib_pulse_pa_stream_is_corked=no
14555 rm -f core conftest.err conftest.$ac_objext \
14556 conftest$ac_exeext conftest.$ac_ext
14557 LIBS=$ac_check_lib_save_LIBS
14559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
14560 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
14561 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
14563 else
14564 PULSE_LIBS=""
14567 else
14568 PULSE_LIBS=""
14571 done
14573 CPPFLAGS=$ac_save_CPPFLAGS
14574 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14575 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14578 if test -z "$PULSE_LIBS"; then :
14579 case "x$with_pulse" in
14580 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
14581 xno) ;;
14582 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
14583 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
14584 esac
14585 enable_winepulse_drv=${enable_winepulse_drv:-no}
14588 if test "x$with_gstreamer" != "xno"
14589 then
14590 if ${GSTREAMER_CFLAGS:+false} :; then :
14591 if ${PKG_CONFIG+:} false; then :
14592 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14596 if ${GSTREAMER_LIBS:+false} :; then :
14597 if ${PKG_CONFIG+:} false; then :
14598 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14603 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
14604 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
14605 ac_save_CPPFLAGS=$CPPFLAGS
14606 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
14607 ac_gst_incl=""
14608 for i in $GSTREAMER_CFLAGS
14610 case "$i" in
14611 -I*) ac_gst_incl="$ac_gst_incl $i";;
14612 esac
14613 done
14614 GSTREAMER_CFLAGS=$ac_gst_incl
14615 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
14616 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
14617 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
14618 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
14619 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
14620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14621 /* end confdefs.h. */
14622 #include <gst/gst.h>
14624 main ()
14626 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
14628 return 0;
14630 _ACEOF
14631 if ac_fn_c_try_compile "$LINENO"; then :
14632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14633 $as_echo "yes" >&6; }
14634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
14635 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
14636 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
14637 $as_echo_n "(cached) " >&6
14638 else
14639 ac_check_lib_save_LIBS=$LIBS
14640 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
14641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14642 /* end confdefs.h. */
14644 /* Override any GCC internal prototype to avoid an error.
14645 Use char because int might match the return type of a GCC
14646 builtin and then its argument prototype would still apply. */
14647 #ifdef __cplusplus
14648 extern "C"
14649 #endif
14650 char gst_pad_new ();
14652 main ()
14654 return gst_pad_new ();
14656 return 0;
14658 _ACEOF
14659 if ac_fn_c_try_link "$LINENO"; then :
14660 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
14661 else
14662 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
14664 rm -f core conftest.err conftest.$ac_objext \
14665 conftest$ac_exeext conftest.$ac_ext
14666 LIBS=$ac_check_lib_save_LIBS
14668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
14669 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
14670 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
14674 else
14675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14676 $as_echo "no" >&6; }
14677 ac_glib2_broken=yes
14678 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
14680 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14684 CPPFLAGS=$ac_save_CPPFLAGS
14685 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14686 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14689 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 :
14690 case "x$with_gstreamer" in
14691 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
14692 xno) ;;
14693 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
14694 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
14695 esac
14698 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
14700 ALSA_LIBS=""
14702 if test "x$with_alsa" != "xno"
14703 then
14704 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
14705 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
14706 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
14707 $as_echo_n "(cached) " >&6
14708 else
14709 ac_check_lib_save_LIBS=$LIBS
14710 LIBS="-lasound $LIBS"
14711 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14712 /* end confdefs.h. */
14714 /* Override any GCC internal prototype to avoid an error.
14715 Use char because int might match the return type of a GCC
14716 builtin and then its argument prototype would still apply. */
14717 #ifdef __cplusplus
14718 extern "C"
14719 #endif
14720 char snd_pcm_hw_params_get_access_mask ();
14722 main ()
14724 return snd_pcm_hw_params_get_access_mask ();
14726 return 0;
14728 _ACEOF
14729 if ac_fn_c_try_link "$LINENO"; then :
14730 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
14731 else
14732 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
14734 rm -f core conftest.err conftest.$ac_objext \
14735 conftest$ac_exeext conftest.$ac_ext
14736 LIBS=$ac_check_lib_save_LIBS
14738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
14739 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
14740 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
14741 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14742 /* end confdefs.h. */
14743 #include <alsa/asoundlib.h>
14745 main ()
14747 snd_pcm_hw_params_get_access_mask(NULL, NULL)
14749 return 0;
14751 _ACEOF
14752 if ac_fn_c_try_compile "$LINENO"; then :
14753 ALSA_LIBS="-lasound"
14755 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14759 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
14761 if test "x$with_oss" != xno
14762 then
14763 ac_save_CPPFLAGS="$CPPFLAGS"
14764 if test -f /etc/oss.conf
14765 then
14766 . /etc/oss.conf
14768 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
14769 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
14770 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
14771 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
14772 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
14774 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
14776 cat >>confdefs.h <<_ACEOF
14777 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
14778 _ACEOF
14780 OSS4_CFLAGS="$ac_oss_incl"
14782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
14783 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
14784 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
14785 $as_echo_n "(cached) " >&6
14786 else
14787 ac_check_lib_save_LIBS=$LIBS
14788 LIBS="-lossaudio $LIBS"
14789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14790 /* end confdefs.h. */
14792 /* Override any GCC internal prototype to avoid an error.
14793 Use char because int might match the return type of a GCC
14794 builtin and then its argument prototype would still apply. */
14795 #ifdef __cplusplus
14796 extern "C"
14797 #endif
14798 char _oss_ioctl ();
14800 main ()
14802 return _oss_ioctl ();
14804 return 0;
14806 _ACEOF
14807 if ac_fn_c_try_link "$LINENO"; then :
14808 ac_cv_lib_ossaudio__oss_ioctl=yes
14809 else
14810 ac_cv_lib_ossaudio__oss_ioctl=no
14812 rm -f core conftest.err conftest.$ac_objext \
14813 conftest$ac_exeext conftest.$ac_ext
14814 LIBS=$ac_check_lib_save_LIBS
14816 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
14817 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
14818 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
14819 OSS4_LIBS="-lossaudio"
14828 CPPFLAGS="$ac_save_CPPFLAGS"
14830 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
14831 case "x$with_oss" in
14832 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
14833 xno) ;;
14834 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
14835 This is an error since --with-oss was requested." "$LINENO" 5 ;;
14836 esac
14837 enable_wineoss_drv=${enable_wineoss_drv:-no}
14840 if test "x$with_udev" != "xno"
14841 then
14842 if ${UDEV_CFLAGS:+false} :; then :
14843 if ${PKG_CONFIG+:} false; then :
14844 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
14848 if ${UDEV_LIBS:+false} :; then :
14849 if ${PKG_CONFIG+:} false; then :
14850 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
14854 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
14855 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
14856 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
14857 ac_save_CPPFLAGS=$CPPFLAGS
14858 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
14859 for ac_header in libudev.h
14860 do :
14861 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
14862 if test "x$ac_cv_header_libudev_h" = xyes; then :
14863 cat >>confdefs.h <<_ACEOF
14864 #define HAVE_LIBUDEV_H 1
14865 _ACEOF
14866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
14867 $as_echo_n "checking for udev_new in -ludev... " >&6; }
14868 if ${ac_cv_lib_udev_udev_new+:} false; then :
14869 $as_echo_n "(cached) " >&6
14870 else
14871 ac_check_lib_save_LIBS=$LIBS
14872 LIBS="-ludev $UDEV_LIBS $LIBS"
14873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14874 /* end confdefs.h. */
14876 /* Override any GCC internal prototype to avoid an error.
14877 Use char because int might match the return type of a GCC
14878 builtin and then its argument prototype would still apply. */
14879 #ifdef __cplusplus
14880 extern "C"
14881 #endif
14882 char udev_new ();
14884 main ()
14886 return udev_new ();
14888 return 0;
14890 _ACEOF
14891 if ac_fn_c_try_link "$LINENO"; then :
14892 ac_cv_lib_udev_udev_new=yes
14893 else
14894 ac_cv_lib_udev_udev_new=no
14896 rm -f core conftest.err conftest.$ac_objext \
14897 conftest$ac_exeext conftest.$ac_ext
14898 LIBS=$ac_check_lib_save_LIBS
14900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
14901 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
14902 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
14904 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
14906 else
14907 UDEV_LIBS=""
14910 else
14911 UDEV_LIBS=""
14914 done
14916 CPPFLAGS=$ac_save_CPPFLAGS
14917 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14918 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14921 if test "x$UDEV_LIBS" = "x"; then :
14922 case "x$with_udev" in
14923 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
14924 xno) ;;
14925 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
14926 This is an error since --with-udev was requested." "$LINENO" 5 ;;
14927 esac
14931 if test "x$with_unwind" != xno
14932 then
14933 if ${UNWIND_CFLAGS:+false} :; then :
14934 if ${PKG_CONFIG+:} false; then :
14935 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>/dev/null`
14939 if ${UNWIND_LIBS:+false} :; then :
14940 if ${PKG_CONFIG+:} false; then :
14941 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
14945 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
14946 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
14947 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
14948 ac_save_CPPFLAGS=$CPPFLAGS
14949 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
14950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
14951 $as_echo_n "checking for unw_step... " >&6; }
14952 if ${wine_cv_have_unw_step+:} false; then :
14953 $as_echo_n "(cached) " >&6
14954 else
14955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14956 /* end confdefs.h. */
14957 #define UNW_LOCAL_ONLY
14958 #include <libunwind.h>
14960 main ()
14962 unw_cursor_t cursor; unw_step( &cursor );
14964 return 0;
14966 _ACEOF
14967 if ac_fn_c_try_link "$LINENO"; then :
14968 wine_cv_have_unw_step="yes"
14969 else
14970 wine_cv_have_unw_step="no"
14972 rm -f core conftest.err conftest.$ac_objext \
14973 conftest$ac_exeext conftest.$ac_ext
14975 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
14976 $as_echo "$wine_cv_have_unw_step" >&6; }
14977 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
14978 then
14979 save_libs=$LIBS
14980 LIBS="$UNWIND_LIBS $LIBS"
14981 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
14982 $as_echo_n "checking for unw_step in libunwind... " >&6; }
14983 if ${wine_cv_have_libunwind_unw_step+:} false; then :
14984 $as_echo_n "(cached) " >&6
14985 else
14986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14987 /* end confdefs.h. */
14988 #define UNW_LOCAL_ONLY
14989 #include <libunwind.h>
14991 main ()
14993 unw_cursor_t cursor; unw_step( &cursor );
14995 return 0;
14997 _ACEOF
14998 if ac_fn_c_try_link "$LINENO"; then :
14999 wine_cv_have_libunwind_unw_step="yes"
15000 else
15001 wine_cv_have_libunwind_unw_step="no"
15003 rm -f core conftest.err conftest.$ac_objext \
15004 conftest$ac_exeext conftest.$ac_ext
15006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
15007 $as_echo "$wine_cv_have_libunwind_unw_step" >&6; }
15008 LIBS=$save_libs
15010 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
15011 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
15012 then
15014 $as_echo "#define HAVE_LIBUNWIND 1" >>confdefs.h
15017 CPPFLAGS=$ac_save_CPPFLAGS
15018 test -z "$UNWIND_CFLAGS" || UNWIND_CFLAGS=`echo " $UNWIND_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15019 test -z "$UNWIND_LIBS" || UNWIND_LIBS=`echo " $UNWIND_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15022 case $host in
15023 aarch64*|*-darwin*)
15024 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono; then :
15025 case "x$with_unwind" in
15026 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
15027 xno) ;;
15028 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
15029 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
15030 esac
15032 fi ;;
15033 esac
15035 if test "x$with_sdl" != "xno"
15036 then
15037 if ${SDL2_CFLAGS:+false} :; then :
15038 if ${PKG_CONFIG+:} false; then :
15039 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
15043 if ${SDL2_LIBS:+false} :; then :
15044 if ${PKG_CONFIG+:} false; then :
15045 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
15049 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
15050 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
15051 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
15052 ac_save_CPPFLAGS=$CPPFLAGS
15053 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
15054 for ac_header in SDL2/SDL.h
15055 do :
15056 ac_fn_c_check_header_mongrel "$LINENO" "SDL2/SDL.h" "ac_cv_header_SDL2_SDL_h" "$ac_includes_default"
15057 if test "x$ac_cv_header_SDL2_SDL_h" = xyes; then :
15058 cat >>confdefs.h <<_ACEOF
15059 #define HAVE_SDL2_SDL_H 1
15060 _ACEOF
15061 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
15062 $as_echo_n "checking for -lSDL2... " >&6; }
15063 if ${ac_cv_lib_soname_SDL2+:} false; then :
15064 $as_echo_n "(cached) " >&6
15065 else
15066 ac_check_soname_save_LIBS=$LIBS
15067 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
15068 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15069 /* end confdefs.h. */
15071 /* Override any GCC internal prototype to avoid an error.
15072 Use char because int might match the return type of a GCC
15073 builtin and then its argument prototype would still apply. */
15074 #ifdef __cplusplus
15075 extern "C"
15076 #endif
15077 char SDL_Init ();
15079 main ()
15081 return SDL_Init ();
15083 return 0;
15085 _ACEOF
15086 if ac_fn_c_try_link "$LINENO"; then :
15087 case "$LIBEXT" in
15088 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15089 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'` ;;
15090 *) 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'`
15091 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15092 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15093 fi ;;
15094 esac
15095 else
15096 ac_cv_lib_soname_SDL2=
15098 rm -f core conftest.err conftest.$ac_objext \
15099 conftest$ac_exeext conftest.$ac_ext
15100 LIBS=$ac_check_soname_save_LIBS
15102 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15104 $as_echo "not found" >&6; }
15106 else
15107 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
15108 $as_echo "$ac_cv_lib_soname_SDL2" >&6; }
15110 cat >>confdefs.h <<_ACEOF
15111 #define SONAME_LIBSDL2 "$ac_cv_lib_soname_SDL2"
15112 _ACEOF
15118 done
15120 CPPFLAGS=$ac_save_CPPFLAGS
15121 test -z "$SDL2_CFLAGS" || SDL2_CFLAGS=`echo " $SDL2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15122 test -z "$SDL2_LIBS" || SDL2_LIBS=`echo " $SDL2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15125 if test "x$ac_cv_lib_soname_SDL2" = "x"; then :
15126 case "x$with_sdl" in
15127 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
15128 xno) ;;
15129 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
15130 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
15131 esac
15135 if test "x$with_faudio" != "xno"
15136 then
15137 if ${FAUDIO_CFLAGS:+false} :; then :
15138 if ${PKG_CONFIG+:} false; then :
15139 FAUDIO_CFLAGS=`$PKG_CONFIG --cflags faudio 2>/dev/null`
15143 if ${FAUDIO_LIBS:+false} :; then :
15144 if ${PKG_CONFIG+:} false; then :
15145 FAUDIO_LIBS=`$PKG_CONFIG --libs faudio 2>/dev/null`
15149 FAUDIO_LIBS=${FAUDIO_LIBS:-"-lFAudio"}
15150 $as_echo "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_CFLAGS" >&5
15151 $as_echo "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_LIBS" >&5
15152 ac_save_CPPFLAGS=$CPPFLAGS
15153 CPPFLAGS="$CPPFLAGS $FAUDIO_CFLAGS"
15154 for ac_header in FAudio.h
15155 do :
15156 ac_fn_c_check_header_mongrel "$LINENO" "FAudio.h" "ac_cv_header_FAudio_h" "$ac_includes_default"
15157 if test "x$ac_cv_header_FAudio_h" = xyes; then :
15158 cat >>confdefs.h <<_ACEOF
15159 #define HAVE_FAUDIO_H 1
15160 _ACEOF
15161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lFAudio" >&5
15162 $as_echo_n "checking for -lFAudio... " >&6; }
15163 if ${ac_cv_lib_soname_FAudio+:} false; then :
15164 $as_echo_n "(cached) " >&6
15165 else
15166 ac_check_soname_save_LIBS=$LIBS
15167 LIBS="-lFAudio $FAUDIO_LIBS $LIBS"
15168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15169 /* end confdefs.h. */
15171 /* Override any GCC internal prototype to avoid an error.
15172 Use char because int might match the return type of a GCC
15173 builtin and then its argument prototype would still apply. */
15174 #ifdef __cplusplus
15175 extern "C"
15176 #endif
15177 char FAudioCreate ();
15179 main ()
15181 return FAudioCreate ();
15183 return 0;
15185 _ACEOF
15186 if ac_fn_c_try_link "$LINENO"; then :
15187 case "$LIBEXT" in
15188 dll) ac_cv_lib_soname_FAudio=`$ac_cv_path_LDD conftest.exe | grep "FAudio" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15189 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'` ;;
15190 *) ac_cv_lib_soname_FAudio=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libFAudio*\\.$LIBEXT" | sed -e "s/^.*\\[\\(libFAudio*\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15191 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15192 ac_cv_lib_soname_FAudio=`$LDD conftest$ac_exeext | grep "libFAudio*\\.$LIBEXT" | sed -e "s/^.*\(libFAudio*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15193 fi ;;
15194 esac
15195 else
15196 ac_cv_lib_soname_FAudio=
15198 rm -f core conftest.err conftest.$ac_objext \
15199 conftest$ac_exeext conftest.$ac_ext
15200 LIBS=$ac_check_soname_save_LIBS
15202 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15203 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15204 $as_echo "not found" >&6; }
15206 else
15207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_FAudio" >&5
15208 $as_echo "$ac_cv_lib_soname_FAudio" >&6; }
15210 cat >>confdefs.h <<_ACEOF
15211 #define SONAME_LIBFAUDIO "$ac_cv_lib_soname_FAudio"
15212 _ACEOF
15218 done
15220 ac_wine_check_funcs_save_LIBS="$LIBS"
15221 LIBS="$LIBS $FAUDIO_LIBS"
15222 for ac_func in FAudio_CommitOperationSet \
15223 F3DAudioInitialize8
15224 do :
15225 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15226 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15227 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15228 cat >>confdefs.h <<_ACEOF
15229 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15230 _ACEOF
15233 done
15235 LIBS="$ac_wine_check_funcs_save_LIBS"
15237 CPPFLAGS=$ac_save_CPPFLAGS
15238 test -z "$FAUDIO_CFLAGS" || FAUDIO_CFLAGS=`echo " $FAUDIO_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15239 test -z "$FAUDIO_LIBS" || FAUDIO_LIBS=`echo " $FAUDIO_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15242 if test "x$ac_cv_lib_soname_FAudio" = "x"; then :
15243 case "x$with_faudio" in
15244 x) as_fn_append wine_notices "|libFAudio ${notice_platform}development files not found, XAudio2 won't be supported." ;;
15245 xno) ;;
15246 *) as_fn_error $? "libFAudio ${notice_platform}development files not found, XAudio2 won't be supported.
15247 This is an error since --with-faudio was requested." "$LINENO" 5 ;;
15248 esac
15252 if test "x$with_capi" != "xno"
15253 then
15254 if ${CAPI20_CFLAGS:+false} :; then :
15255 if ${PKG_CONFIG+:} false; then :
15256 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
15260 if ${CAPI20_LIBS:+false} :; then :
15261 if ${PKG_CONFIG+:} false; then :
15262 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
15267 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
15268 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
15269 ac_save_CPPFLAGS=$CPPFLAGS
15270 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
15271 for ac_header in capi20.h linux/capi.h
15272 do :
15273 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15274 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
15276 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15277 cat >>confdefs.h <<_ACEOF
15278 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15279 _ACEOF
15283 done
15285 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
15286 then
15287 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
15288 $as_echo_n "checking for -lcapi20... " >&6; }
15289 if ${ac_cv_lib_soname_capi20+:} false; then :
15290 $as_echo_n "(cached) " >&6
15291 else
15292 ac_check_soname_save_LIBS=$LIBS
15293 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
15294 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15295 /* end confdefs.h. */
15297 /* Override any GCC internal prototype to avoid an error.
15298 Use char because int might match the return type of a GCC
15299 builtin and then its argument prototype would still apply. */
15300 #ifdef __cplusplus
15301 extern "C"
15302 #endif
15303 char capi20_register ();
15305 main ()
15307 return capi20_register ();
15309 return 0;
15311 _ACEOF
15312 if ac_fn_c_try_link "$LINENO"; then :
15313 case "$LIBEXT" in
15314 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15315 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'` ;;
15316 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15317 if ${ac_cv_lib_soname_capi20:+false} :; then :
15318 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15319 fi ;;
15320 esac
15321 else
15322 ac_cv_lib_soname_capi20=
15324 rm -f core conftest.err conftest.$ac_objext \
15325 conftest$ac_exeext conftest.$ac_ext
15326 LIBS=$ac_check_soname_save_LIBS
15328 if ${ac_cv_lib_soname_capi20:+false} :; then :
15329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15330 $as_echo "not found" >&6; }
15332 else
15333 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
15334 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
15336 cat >>confdefs.h <<_ACEOF
15337 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
15338 _ACEOF
15343 CPPFLAGS=$ac_save_CPPFLAGS
15344 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15345 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15348 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
15349 case "x$with_capi" in
15350 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
15351 xno) ;;
15352 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
15353 This is an error since --with-capi was requested." "$LINENO" 5 ;;
15354 esac
15358 if test "x$with_cups" != "xno"
15359 then
15360 if ${CUPS_CFLAGS:+false} :; then :
15361 if ${PKG_CONFIG+:} false; then :
15362 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
15365 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
15366 if ${CUPS_LIBS:+false} :; then :
15367 if ${PKG_CONFIG+:} false; then :
15368 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
15371 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
15372 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
15373 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
15374 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
15375 ac_save_CPPFLAGS=$CPPFLAGS
15376 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
15377 for ac_header in cups/cups.h cups/ppd.h
15378 do :
15379 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15380 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15381 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15382 cat >>confdefs.h <<_ACEOF
15383 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15384 _ACEOF
15388 done
15390 if test "$ac_cv_header_cups_cups_h" = "yes"
15391 then
15392 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
15393 $as_echo_n "checking for -lcups... " >&6; }
15394 if ${ac_cv_lib_soname_cups+:} false; then :
15395 $as_echo_n "(cached) " >&6
15396 else
15397 ac_check_soname_save_LIBS=$LIBS
15398 LIBS="-lcups $CUPS_LIBS $LIBS"
15399 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15400 /* end confdefs.h. */
15402 /* Override any GCC internal prototype to avoid an error.
15403 Use char because int might match the return type of a GCC
15404 builtin and then its argument prototype would still apply. */
15405 #ifdef __cplusplus
15406 extern "C"
15407 #endif
15408 char cupsGetDefault ();
15410 main ()
15412 return cupsGetDefault ();
15414 return 0;
15416 _ACEOF
15417 if ac_fn_c_try_link "$LINENO"; then :
15418 case "$LIBEXT" in
15419 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15420 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'` ;;
15421 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15422 if ${ac_cv_lib_soname_cups:+false} :; then :
15423 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15424 fi ;;
15425 esac
15426 else
15427 ac_cv_lib_soname_cups=
15429 rm -f core conftest.err conftest.$ac_objext \
15430 conftest$ac_exeext conftest.$ac_ext
15431 LIBS=$ac_check_soname_save_LIBS
15433 if ${ac_cv_lib_soname_cups:+false} :; then :
15434 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15435 $as_echo "not found" >&6; }
15436 CUPS_LIBS=""
15437 else
15438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
15439 $as_echo "$ac_cv_lib_soname_cups" >&6; }
15441 cat >>confdefs.h <<_ACEOF
15442 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15443 _ACEOF
15447 else
15448 CUPS_CFLAGS=""
15449 CUPS_LIBS=""
15451 CPPFLAGS=$ac_save_CPPFLAGS
15452 test -z "$CUPS_CFLAGS" || CUPS_CFLAGS=`echo " $CUPS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15453 test -z "$CUPS_LIBS" || CUPS_LIBS=`echo " $CUPS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15456 if test "x$ac_cv_lib_soname_cups" = "x"; then :
15457 case "x$with_cups" in
15458 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
15459 xno) ;;
15460 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
15461 This is an error since --with-cups was requested." "$LINENO" 5 ;;
15462 esac
15466 if test "x$with_fontconfig" != "xno"
15467 then
15468 if ${FONTCONFIG_CFLAGS:+false} :; then :
15469 if ${PKG_CONFIG+:} false; then :
15470 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
15473 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
15474 if ${FONTCONFIG_LIBS:+false} :; then :
15475 if ${PKG_CONFIG+:} false; then :
15476 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
15479 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
15481 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
15482 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
15483 ac_save_CPPFLAGS=$CPPFLAGS
15484 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
15485 for ac_header in fontconfig/fontconfig.h
15486 do :
15487 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
15488 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
15489 cat >>confdefs.h <<_ACEOF
15490 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
15491 _ACEOF
15495 done
15497 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15498 then
15499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
15500 $as_echo_n "checking for -lfontconfig... " >&6; }
15501 if ${ac_cv_lib_soname_fontconfig+:} false; then :
15502 $as_echo_n "(cached) " >&6
15503 else
15504 ac_check_soname_save_LIBS=$LIBS
15505 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
15506 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15507 /* end confdefs.h. */
15509 /* Override any GCC internal prototype to avoid an error.
15510 Use char because int might match the return type of a GCC
15511 builtin and then its argument prototype would still apply. */
15512 #ifdef __cplusplus
15513 extern "C"
15514 #endif
15515 char FcInit ();
15517 main ()
15519 return FcInit ();
15521 return 0;
15523 _ACEOF
15524 if ac_fn_c_try_link "$LINENO"; then :
15525 case "$LIBEXT" in
15526 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15527 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'` ;;
15528 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15529 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15530 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15531 fi ;;
15532 esac
15533 else
15534 ac_cv_lib_soname_fontconfig=
15536 rm -f core conftest.err conftest.$ac_objext \
15537 conftest$ac_exeext conftest.$ac_ext
15538 LIBS=$ac_check_soname_save_LIBS
15540 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15542 $as_echo "not found" >&6; }
15543 FONTCONFIG_CFLAGS=""
15544 else
15545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
15546 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
15548 cat >>confdefs.h <<_ACEOF
15549 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15550 _ACEOF
15554 else
15555 FONTCONFIG_CFLAGS=""
15557 CPPFLAGS=$ac_save_CPPFLAGS
15558 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15559 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15562 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
15563 case "x$with_fontconfig" in
15564 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
15565 xno) ;;
15566 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
15567 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
15568 esac
15572 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
15573 then
15574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
15575 $as_echo_n "checking for -lgsm... " >&6; }
15576 if ${ac_cv_lib_soname_gsm+:} false; then :
15577 $as_echo_n "(cached) " >&6
15578 else
15579 ac_check_soname_save_LIBS=$LIBS
15580 LIBS="-lgsm $LIBS"
15581 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15582 /* end confdefs.h. */
15584 /* Override any GCC internal prototype to avoid an error.
15585 Use char because int might match the return type of a GCC
15586 builtin and then its argument prototype would still apply. */
15587 #ifdef __cplusplus
15588 extern "C"
15589 #endif
15590 char gsm_create ();
15592 main ()
15594 return gsm_create ();
15596 return 0;
15598 _ACEOF
15599 if ac_fn_c_try_link "$LINENO"; then :
15600 case "$LIBEXT" in
15601 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15602 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'` ;;
15603 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15604 if ${ac_cv_lib_soname_gsm:+false} :; then :
15605 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15606 fi ;;
15607 esac
15608 else
15609 ac_cv_lib_soname_gsm=
15611 rm -f core conftest.err conftest.$ac_objext \
15612 conftest$ac_exeext conftest.$ac_ext
15613 LIBS=$ac_check_soname_save_LIBS
15615 if ${ac_cv_lib_soname_gsm:+false} :; then :
15616 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15617 $as_echo "not found" >&6; }
15619 else
15620 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
15621 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
15623 cat >>confdefs.h <<_ACEOF
15624 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
15625 _ACEOF
15630 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
15631 case "x$with_gsm" in
15632 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
15633 xno) ;;
15634 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
15635 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
15636 esac
15640 if test "x$with_krb5" != "xno"
15641 then
15642 if ${KRB5_CFLAGS:+false} :; then :
15643 if ${PKG_CONFIG+:} false; then :
15644 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
15647 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
15648 if ${KRB5_LIBS:+false} :; then :
15649 if ${PKG_CONFIG+:} false; then :
15650 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
15653 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
15655 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
15656 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
15657 ac_save_CPPFLAGS=$CPPFLAGS
15658 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
15659 for ac_header in krb5/krb5.h
15660 do :
15661 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
15662 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
15663 cat >>confdefs.h <<_ACEOF
15664 #define HAVE_KRB5_KRB5_H 1
15665 _ACEOF
15669 done
15671 if test "$ac_cv_header_krb5_krb5_h" = "yes"
15672 then
15673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
15674 $as_echo_n "checking for -lkrb5... " >&6; }
15675 if ${ac_cv_lib_soname_krb5+:} false; then :
15676 $as_echo_n "(cached) " >&6
15677 else
15678 ac_check_soname_save_LIBS=$LIBS
15679 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
15680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15681 /* end confdefs.h. */
15683 /* Override any GCC internal prototype to avoid an error.
15684 Use char because int might match the return type of a GCC
15685 builtin and then its argument prototype would still apply. */
15686 #ifdef __cplusplus
15687 extern "C"
15688 #endif
15689 char krb5_is_config_principal ();
15691 main ()
15693 return krb5_is_config_principal ();
15695 return 0;
15697 _ACEOF
15698 if ac_fn_c_try_link "$LINENO"; then :
15699 case "$LIBEXT" in
15700 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15701 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'` ;;
15702 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15703 if ${ac_cv_lib_soname_krb5:+false} :; then :
15704 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15705 fi ;;
15706 esac
15707 else
15708 ac_cv_lib_soname_krb5=
15710 rm -f core conftest.err conftest.$ac_objext \
15711 conftest$ac_exeext conftest.$ac_ext
15712 LIBS=$ac_check_soname_save_LIBS
15714 if ${ac_cv_lib_soname_krb5:+false} :; then :
15715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15716 $as_echo "not found" >&6; }
15717 KRB5_CFLAGS=""
15718 else
15719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
15720 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
15722 cat >>confdefs.h <<_ACEOF
15723 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
15724 _ACEOF
15728 else
15729 KRB5_CFLAGS=""
15731 CPPFLAGS=$ac_save_CPPFLAGS
15732 test -z "$KRB5_CFLAGS" || KRB5_CFLAGS=`echo " $KRB5_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15733 test -z "$KRB5_LIBS" || KRB5_LIBS=`echo " $KRB5_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15735 else
15736 with_gssapi=${with_gssapi:-no}
15738 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
15739 case "x$with_krb5" in
15740 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
15741 xno) ;;
15742 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
15743 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
15744 esac
15748 if test "x$with_gssapi" != "xno"
15749 then
15750 if ${GSSAPI_CFLAGS:+false} :; then :
15751 if ${PKG_CONFIG+:} false; then :
15752 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
15755 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
15756 if ${GSSAPI_LIBS:+false} :; then :
15757 if ${PKG_CONFIG+:} false; then :
15758 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
15761 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
15763 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
15764 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
15765 ac_save_CPPFLAGS=$CPPFLAGS
15766 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
15767 for ac_header in gssapi/gssapi.h gssapi/gssapi_ext.h
15768 do :
15769 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15770 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15771 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15772 cat >>confdefs.h <<_ACEOF
15773 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15774 _ACEOF
15778 done
15780 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
15781 then
15782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
15783 $as_echo_n "checking for -lgssapi_krb5... " >&6; }
15784 if ${ac_cv_lib_soname_gssapi_krb5+:} false; then :
15785 $as_echo_n "(cached) " >&6
15786 else
15787 ac_check_soname_save_LIBS=$LIBS
15788 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
15789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15790 /* end confdefs.h. */
15792 /* Override any GCC internal prototype to avoid an error.
15793 Use char because int might match the return type of a GCC
15794 builtin and then its argument prototype would still apply. */
15795 #ifdef __cplusplus
15796 extern "C"
15797 #endif
15798 char gss_init_sec_context ();
15800 main ()
15802 return gss_init_sec_context ();
15804 return 0;
15806 _ACEOF
15807 if ac_fn_c_try_link "$LINENO"; then :
15808 case "$LIBEXT" in
15809 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15810 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'` ;;
15811 *) 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'`
15812 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15813 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15814 fi ;;
15815 esac
15816 else
15817 ac_cv_lib_soname_gssapi_krb5=
15819 rm -f core conftest.err conftest.$ac_objext \
15820 conftest$ac_exeext conftest.$ac_ext
15821 LIBS=$ac_check_soname_save_LIBS
15823 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15825 $as_echo "not found" >&6; }
15826 GSSAPI_CFLAGS=""
15827 else
15828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
15829 $as_echo "$ac_cv_lib_soname_gssapi_krb5" >&6; }
15831 cat >>confdefs.h <<_ACEOF
15832 #define SONAME_LIBGSSAPI_KRB5 "$ac_cv_lib_soname_gssapi_krb5"
15833 _ACEOF
15837 else
15838 GSSAPI_CFLAGS=""
15840 CPPFLAGS=$ac_save_CPPFLAGS
15841 test -z "$GSSAPI_CFLAGS" || GSSAPI_CFLAGS=`echo " $GSSAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15842 test -z "$GSSAPI_LIBS" || GSSAPI_LIBS=`echo " $GSSAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15845 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"; then :
15846 case "x$with_gssapi" in
15847 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
15848 xno) ;;
15849 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
15850 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
15851 esac
15855 if test "x$with_jpeg" != "xno"
15856 then
15857 if ${JPEG_CFLAGS:+false} :; then :
15858 if ${PKG_CONFIG+:} false; then :
15859 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
15863 if ${JPEG_LIBS:+false} :; then :
15864 if ${PKG_CONFIG+:} false; then :
15865 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
15870 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
15871 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
15872 ac_save_CPPFLAGS=$CPPFLAGS
15873 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
15874 for ac_header in jpeglib.h
15875 do :
15876 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
15877 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
15878 cat >>confdefs.h <<_ACEOF
15879 #define HAVE_JPEGLIB_H 1
15880 _ACEOF
15884 done
15886 if test "$ac_cv_header_jpeglib_h" = "yes"
15887 then
15888 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
15889 $as_echo_n "checking for -ljpeg... " >&6; }
15890 if ${ac_cv_lib_soname_jpeg+:} false; then :
15891 $as_echo_n "(cached) " >&6
15892 else
15893 ac_check_soname_save_LIBS=$LIBS
15894 LIBS="-ljpeg $JPEG_LIBS $LIBS"
15895 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15896 /* end confdefs.h. */
15898 /* Override any GCC internal prototype to avoid an error.
15899 Use char because int might match the return type of a GCC
15900 builtin and then its argument prototype would still apply. */
15901 #ifdef __cplusplus
15902 extern "C"
15903 #endif
15904 char jpeg_start_decompress ();
15906 main ()
15908 return jpeg_start_decompress ();
15910 return 0;
15912 _ACEOF
15913 if ac_fn_c_try_link "$LINENO"; then :
15914 case "$LIBEXT" in
15915 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15916 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'` ;;
15917 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15918 if ${ac_cv_lib_soname_jpeg:+false} :; then :
15919 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15920 fi ;;
15921 esac
15922 else
15923 ac_cv_lib_soname_jpeg=
15925 rm -f core conftest.err conftest.$ac_objext \
15926 conftest$ac_exeext conftest.$ac_ext
15927 LIBS=$ac_check_soname_save_LIBS
15929 if ${ac_cv_lib_soname_jpeg:+false} :; then :
15930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15931 $as_echo "not found" >&6; }
15932 JPEG_CFLAGS=""
15933 else
15934 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
15935 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
15937 cat >>confdefs.h <<_ACEOF
15938 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15939 _ACEOF
15943 else
15944 JPEG_CFLAGS=""
15946 CPPFLAGS=$ac_save_CPPFLAGS
15947 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15948 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15951 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
15952 case "x$with_jpeg" in
15953 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
15954 xno) ;;
15955 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
15956 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
15957 esac
15961 if test "x$with_png" != "xno"
15962 then
15963 if ${PNG_CFLAGS:+false} :; then :
15964 if ${PKG_CONFIG+:} false; then :
15965 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
15968 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
15969 if ${PNG_LIBS:+false} :; then :
15970 if ${PKG_CONFIG+:} false; then :
15971 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
15974 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
15976 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
15977 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
15978 ac_save_CPPFLAGS=$CPPFLAGS
15979 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
15980 for ac_header in png.h
15981 do :
15982 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
15983 if test "x$ac_cv_header_png_h" = xyes; then :
15984 cat >>confdefs.h <<_ACEOF
15985 #define HAVE_PNG_H 1
15986 _ACEOF
15990 done
15992 if test "$ac_cv_header_png_h" = "yes"
15993 then
15994 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
15995 $as_echo_n "checking for -lpng... " >&6; }
15996 if ${ac_cv_lib_soname_png+:} false; then :
15997 $as_echo_n "(cached) " >&6
15998 else
15999 ac_check_soname_save_LIBS=$LIBS
16000 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
16001 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16002 /* end confdefs.h. */
16004 /* Override any GCC internal prototype to avoid an error.
16005 Use char because int might match the return type of a GCC
16006 builtin and then its argument prototype would still apply. */
16007 #ifdef __cplusplus
16008 extern "C"
16009 #endif
16010 char png_create_read_struct ();
16012 main ()
16014 return png_create_read_struct ();
16016 return 0;
16018 _ACEOF
16019 if ac_fn_c_try_link "$LINENO"; then :
16020 case "$LIBEXT" in
16021 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16022 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'` ;;
16023 *) 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'`
16024 if ${ac_cv_lib_soname_png:+false} :; then :
16025 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16026 fi ;;
16027 esac
16028 else
16029 ac_cv_lib_soname_png=
16031 rm -f core conftest.err conftest.$ac_objext \
16032 conftest$ac_exeext conftest.$ac_ext
16033 LIBS=$ac_check_soname_save_LIBS
16035 if ${ac_cv_lib_soname_png:+false} :; then :
16036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16037 $as_echo "not found" >&6; }
16038 PNG_CFLAGS=""
16039 else
16040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
16041 $as_echo "$ac_cv_lib_soname_png" >&6; }
16043 cat >>confdefs.h <<_ACEOF
16044 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
16045 _ACEOF
16049 else
16050 PNG_CFLAGS=""
16052 CPPFLAGS=$ac_save_CPPFLAGS
16053 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16054 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16057 if test "x$ac_cv_lib_soname_png" = "x"; then :
16058 case "x$with_png" in
16059 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
16060 xno) ;;
16061 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
16062 This is an error since --with-png was requested." "$LINENO" 5 ;;
16063 esac
16067 if test "x$with_tiff" != "xno"
16068 then
16069 if ${TIFF_CFLAGS:+false} :; then :
16070 if ${PKG_CONFIG+:} false; then :
16071 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
16075 if ${TIFF_LIBS:+false} :; then :
16076 if ${PKG_CONFIG+:} false; then :
16077 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
16082 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
16083 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
16084 ac_save_CPPFLAGS=$CPPFLAGS
16085 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
16086 for ac_header in tiffio.h
16087 do :
16088 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
16089 if test "x$ac_cv_header_tiffio_h" = xyes; then :
16090 cat >>confdefs.h <<_ACEOF
16091 #define HAVE_TIFFIO_H 1
16092 _ACEOF
16096 done
16098 if test "$ac_cv_header_tiffio_h" = "yes"
16099 then
16100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
16101 $as_echo_n "checking for -ltiff... " >&6; }
16102 if ${ac_cv_lib_soname_tiff+:} false; then :
16103 $as_echo_n "(cached) " >&6
16104 else
16105 ac_check_soname_save_LIBS=$LIBS
16106 LIBS="-ltiff $TIFF_LIBS $LIBS"
16107 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16108 /* end confdefs.h. */
16110 /* Override any GCC internal prototype to avoid an error.
16111 Use char because int might match the return type of a GCC
16112 builtin and then its argument prototype would still apply. */
16113 #ifdef __cplusplus
16114 extern "C"
16115 #endif
16116 char TIFFClientOpen ();
16118 main ()
16120 return TIFFClientOpen ();
16122 return 0;
16124 _ACEOF
16125 if ac_fn_c_try_link "$LINENO"; then :
16126 case "$LIBEXT" in
16127 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16128 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'` ;;
16129 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16130 if ${ac_cv_lib_soname_tiff:+false} :; then :
16131 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16132 fi ;;
16133 esac
16134 else
16135 ac_cv_lib_soname_tiff=
16137 rm -f core conftest.err conftest.$ac_objext \
16138 conftest$ac_exeext conftest.$ac_ext
16139 LIBS=$ac_check_soname_save_LIBS
16141 if ${ac_cv_lib_soname_tiff:+false} :; then :
16142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16143 $as_echo "not found" >&6; }
16145 else
16146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
16147 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
16149 cat >>confdefs.h <<_ACEOF
16150 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
16151 _ACEOF
16156 CPPFLAGS=$ac_save_CPPFLAGS
16157 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16158 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16161 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
16162 case "x$with_tiff" in
16163 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
16164 xno) ;;
16165 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
16166 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
16167 esac
16171 if test "x$with_mpg123" != "xno"
16172 then
16173 if ${MPG123_CFLAGS:+false} :; then :
16174 if ${PKG_CONFIG+:} false; then :
16175 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
16179 if ${MPG123_LIBS:+false} :; then :
16180 if ${PKG_CONFIG+:} false; then :
16181 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
16185 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
16186 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
16187 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
16188 ac_save_CPPFLAGS=$CPPFLAGS
16189 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
16190 for ac_header in mpg123.h
16191 do :
16192 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
16193 if test "x$ac_cv_header_mpg123_h" = xyes; then :
16194 cat >>confdefs.h <<_ACEOF
16195 #define HAVE_MPG123_H 1
16196 _ACEOF
16200 done
16202 if test "$ac_cv_header_mpg123_h" = "yes"
16203 then
16204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
16205 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
16206 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
16207 $as_echo_n "(cached) " >&6
16208 else
16209 ac_check_lib_save_LIBS=$LIBS
16210 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
16211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16212 /* end confdefs.h. */
16214 /* Override any GCC internal prototype to avoid an error.
16215 Use char because int might match the return type of a GCC
16216 builtin and then its argument prototype would still apply. */
16217 #ifdef __cplusplus
16218 extern "C"
16219 #endif
16220 char mpg123_feed ();
16222 main ()
16224 return mpg123_feed ();
16226 return 0;
16228 _ACEOF
16229 if ac_fn_c_try_link "$LINENO"; then :
16230 ac_cv_lib_mpg123_mpg123_feed=yes
16231 else
16232 ac_cv_lib_mpg123_mpg123_feed=no
16234 rm -f core conftest.err conftest.$ac_objext \
16235 conftest$ac_exeext conftest.$ac_ext
16236 LIBS=$ac_check_lib_save_LIBS
16238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
16239 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
16240 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
16242 else
16243 MPG123_LIBS=""
16246 else
16247 MPG123_CFLAGS=""
16248 MPG123_LIBS=""
16250 CPPFLAGS=$ac_save_CPPFLAGS
16251 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16252 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16255 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
16256 case "x$with_mpg123" in
16257 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
16258 xno) ;;
16259 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
16260 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
16261 esac
16262 enable_l3codeca_acm=${enable_l3codeca_acm:-no}
16264 test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes || enable_mp3dmod=${enable_mp3dmod:-no}
16266 if test "$ac_cv_header_AL_al_h" = "yes"
16267 then
16268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
16269 $as_echo_n "checking for -lopenal... " >&6; }
16270 if ${ac_cv_lib_soname_openal+:} false; then :
16271 $as_echo_n "(cached) " >&6
16272 else
16273 ac_check_soname_save_LIBS=$LIBS
16274 LIBS="-lopenal $LIBS"
16275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16276 /* end confdefs.h. */
16278 /* Override any GCC internal prototype to avoid an error.
16279 Use char because int might match the return type of a GCC
16280 builtin and then its argument prototype would still apply. */
16281 #ifdef __cplusplus
16282 extern "C"
16283 #endif
16284 char alGetSource3i ();
16286 main ()
16288 return alGetSource3i ();
16290 return 0;
16292 _ACEOF
16293 if ac_fn_c_try_link "$LINENO"; then :
16294 case "$LIBEXT" in
16295 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16296 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'` ;;
16297 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16298 if ${ac_cv_lib_soname_openal:+false} :; then :
16299 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16300 fi ;;
16301 esac
16302 else
16303 ac_cv_lib_soname_openal=
16305 rm -f core conftest.err conftest.$ac_objext \
16306 conftest$ac_exeext conftest.$ac_ext
16307 LIBS=$ac_check_soname_save_LIBS
16309 if ${ac_cv_lib_soname_openal:+false} :; then :
16310 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16311 $as_echo "not found" >&6; }
16313 else
16314 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
16315 $as_echo "$ac_cv_lib_soname_openal" >&6; }
16317 cat >>confdefs.h <<_ACEOF
16318 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
16319 _ACEOF
16321 OPENAL_LIBS="-lopenal"
16323 ac_cv_lib_openal=yes
16325 cat >>confdefs.h <<_ACEOF
16326 #define HAVE_OPENAL 1
16327 _ACEOF
16331 if test "x$ac_cv_lib_openal" != xyes; then :
16332 case "x$with_openal" in
16333 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
16334 xno) ;;
16335 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
16336 This is an error since --with-openal was requested." "$LINENO" 5 ;;
16337 esac
16338 enable_openal32=${enable_openal32:-no}
16341 if test "x$ac_cv_lib_soname_FAudio" = "x"
16342 then
16343 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
16344 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
16345 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
16346 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
16347 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
16348 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
16349 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
16350 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
16351 enable_xapofx1_1=${enable_xapofx1_1:-no}
16352 enable_xapofx1_2=${enable_xapofx1_2:-no}
16353 enable_xapofx1_3=${enable_xapofx1_3:-no}
16354 enable_xapofx1_4=${enable_xapofx1_4:-no}
16355 enable_xapofx1_5=${enable_xapofx1_5:-no}
16356 enable_xaudio2_0=${enable_xaudio2_0:-no}
16357 enable_xaudio2_1=${enable_xaudio2_1:-no}
16358 enable_xaudio2_2=${enable_xaudio2_2:-no}
16359 enable_xaudio2_3=${enable_xaudio2_3:-no}
16360 enable_xaudio2_4=${enable_xaudio2_4:-no}
16361 enable_xaudio2_5=${enable_xaudio2_5:-no}
16362 enable_xaudio2_6=${enable_xaudio2_6:-no}
16363 enable_xaudio2_7=${enable_xaudio2_7:-no}
16364 enable_xaudio2_8=${enable_xaudio2_8:-no}
16365 enable_xaudio2_9=${enable_xaudio2_9:-no}
16368 if test "$ac_cv_header_kstat_h" = "yes"
16369 then
16370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
16371 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
16372 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
16373 $as_echo_n "(cached) " >&6
16374 else
16375 ac_check_lib_save_LIBS=$LIBS
16376 LIBS="-lkstat $LIBS"
16377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16378 /* end confdefs.h. */
16380 /* Override any GCC internal prototype to avoid an error.
16381 Use char because int might match the return type of a GCC
16382 builtin and then its argument prototype would still apply. */
16383 #ifdef __cplusplus
16384 extern "C"
16385 #endif
16386 char kstat_open ();
16388 main ()
16390 return kstat_open ();
16392 return 0;
16394 _ACEOF
16395 if ac_fn_c_try_link "$LINENO"; then :
16396 ac_cv_lib_kstat_kstat_open=yes
16397 else
16398 ac_cv_lib_kstat_kstat_open=no
16400 rm -f core conftest.err conftest.$ac_objext \
16401 conftest$ac_exeext conftest.$ac_ext
16402 LIBS=$ac_check_lib_save_LIBS
16404 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
16405 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
16406 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
16408 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
16410 KSTAT_LIBS="-lkstat"
16416 if test "$ac_cv_header_libprocstat_h" = "yes"
16417 then
16418 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
16419 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
16420 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
16421 $as_echo_n "(cached) " >&6
16422 else
16423 ac_check_lib_save_LIBS=$LIBS
16424 LIBS="-lprocstat $LIBS"
16425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16426 /* end confdefs.h. */
16428 /* Override any GCC internal prototype to avoid an error.
16429 Use char because int might match the return type of a GCC
16430 builtin and then its argument prototype would still apply. */
16431 #ifdef __cplusplus
16432 extern "C"
16433 #endif
16434 char procstat_open_sysctl ();
16436 main ()
16438 return procstat_open_sysctl ();
16440 return 0;
16442 _ACEOF
16443 if ac_fn_c_try_link "$LINENO"; then :
16444 ac_cv_lib_procstat_procstat_open_sysctl=yes
16445 else
16446 ac_cv_lib_procstat_procstat_open_sysctl=no
16448 rm -f core conftest.err conftest.$ac_objext \
16449 conftest$ac_exeext conftest.$ac_ext
16450 LIBS=$ac_check_lib_save_LIBS
16452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
16453 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
16454 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
16456 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
16458 PROCSTAT_LIBS="-lprocstat"
16464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
16465 $as_echo_n "checking for -lodbc... " >&6; }
16466 if ${ac_cv_lib_soname_odbc+:} false; then :
16467 $as_echo_n "(cached) " >&6
16468 else
16469 ac_check_soname_save_LIBS=$LIBS
16470 LIBS="-lodbc $LIBS"
16471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16472 /* end confdefs.h. */
16474 /* Override any GCC internal prototype to avoid an error.
16475 Use char because int might match the return type of a GCC
16476 builtin and then its argument prototype would still apply. */
16477 #ifdef __cplusplus
16478 extern "C"
16479 #endif
16480 char SQLConnect ();
16482 main ()
16484 return SQLConnect ();
16486 return 0;
16488 _ACEOF
16489 if ac_fn_c_try_link "$LINENO"; then :
16490 case "$LIBEXT" in
16491 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16492 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'` ;;
16493 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16494 if ${ac_cv_lib_soname_odbc:+false} :; then :
16495 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16496 fi ;;
16497 esac
16498 else
16499 ac_cv_lib_soname_odbc=
16501 rm -f core conftest.err conftest.$ac_objext \
16502 conftest$ac_exeext conftest.$ac_ext
16503 LIBS=$ac_check_soname_save_LIBS
16505 if ${ac_cv_lib_soname_odbc:+false} :; then :
16506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16507 $as_echo "not found" >&6; }
16508 cat >>confdefs.h <<_ACEOF
16509 #define SONAME_LIBODBC "libodbc.$LIBEXT"
16510 _ACEOF
16512 else
16513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
16514 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
16516 cat >>confdefs.h <<_ACEOF
16517 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
16518 _ACEOF
16523 if test "x$with_netapi" != "xno"
16524 then
16525 if ${NETAPI_CFLAGS:+false} :; then :
16526 if ${PKG_CONFIG+:} false; then :
16527 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
16531 if ${NETAPI_LIBS:+false} :; then :
16532 if ${PKG_CONFIG+:} false; then :
16533 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
16538 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
16539 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
16540 ac_save_CPPFLAGS=$CPPFLAGS
16541 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
16542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
16543 $as_echo_n "checking for -lnetapi... " >&6; }
16544 if ${ac_cv_lib_soname_netapi+:} false; then :
16545 $as_echo_n "(cached) " >&6
16546 else
16547 ac_check_soname_save_LIBS=$LIBS
16548 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
16549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16550 /* end confdefs.h. */
16552 /* Override any GCC internal prototype to avoid an error.
16553 Use char because int might match the return type of a GCC
16554 builtin and then its argument prototype would still apply. */
16555 #ifdef __cplusplus
16556 extern "C"
16557 #endif
16558 char libnetapi_init ();
16560 main ()
16562 return libnetapi_init ();
16564 return 0;
16566 _ACEOF
16567 if ac_fn_c_try_link "$LINENO"; then :
16568 case "$LIBEXT" in
16569 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16570 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'` ;;
16571 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16572 if ${ac_cv_lib_soname_netapi:+false} :; then :
16573 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16574 fi ;;
16575 esac
16576 else
16577 ac_cv_lib_soname_netapi=
16579 rm -f core conftest.err conftest.$ac_objext \
16580 conftest$ac_exeext conftest.$ac_ext
16581 LIBS=$ac_check_soname_save_LIBS
16583 if ${ac_cv_lib_soname_netapi:+false} :; then :
16584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16585 $as_echo "not found" >&6; }
16586 cat >>confdefs.h <<_ACEOF
16587 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
16588 _ACEOF
16590 else
16591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
16592 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
16594 cat >>confdefs.h <<_ACEOF
16595 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
16596 _ACEOF
16600 CPPFLAGS=$ac_save_CPPFLAGS
16601 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16602 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16606 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
16607 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
16608 then
16609 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
16612 if test "x$with_vulkan" != "xno"
16613 then
16614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
16615 $as_echo_n "checking for -lvulkan... " >&6; }
16616 if ${ac_cv_lib_soname_vulkan+:} false; then :
16617 $as_echo_n "(cached) " >&6
16618 else
16619 ac_check_soname_save_LIBS=$LIBS
16620 LIBS="-lvulkan $LIBS"
16621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16622 /* end confdefs.h. */
16624 /* Override any GCC internal prototype to avoid an error.
16625 Use char because int might match the return type of a GCC
16626 builtin and then its argument prototype would still apply. */
16627 #ifdef __cplusplus
16628 extern "C"
16629 #endif
16630 char vkGetInstanceProcAddr ();
16632 main ()
16634 return vkGetInstanceProcAddr ();
16636 return 0;
16638 _ACEOF
16639 if ac_fn_c_try_link "$LINENO"; then :
16640 case "$LIBEXT" in
16641 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16642 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'` ;;
16643 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16644 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16645 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16646 fi ;;
16647 esac
16648 else
16649 ac_cv_lib_soname_vulkan=
16651 rm -f core conftest.err conftest.$ac_objext \
16652 conftest$ac_exeext conftest.$ac_ext
16653 LIBS=$ac_check_soname_save_LIBS
16655 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16657 $as_echo "not found" >&6; }
16659 else
16660 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
16661 $as_echo "$ac_cv_lib_soname_vulkan" >&6; }
16663 cat >>confdefs.h <<_ACEOF
16664 #define SONAME_LIBVULKAN "$ac_cv_lib_soname_vulkan"
16665 _ACEOF
16669 if test "x$ac_cv_lib_soname_vulkan" = "x"
16670 then
16671 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
16672 $as_echo_n "checking for -lMoltenVK... " >&6; }
16673 if ${ac_cv_lib_soname_MoltenVK+:} false; then :
16674 $as_echo_n "(cached) " >&6
16675 else
16676 ac_check_soname_save_LIBS=$LIBS
16677 LIBS="-lMoltenVK $LIBS"
16678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16679 /* end confdefs.h. */
16681 /* Override any GCC internal prototype to avoid an error.
16682 Use char because int might match the return type of a GCC
16683 builtin and then its argument prototype would still apply. */
16684 #ifdef __cplusplus
16685 extern "C"
16686 #endif
16687 char vkGetInstanceProcAddr ();
16689 main ()
16691 return vkGetInstanceProcAddr ();
16693 return 0;
16695 _ACEOF
16696 if ac_fn_c_try_link "$LINENO"; then :
16697 case "$LIBEXT" in
16698 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16699 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'` ;;
16700 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16701 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16702 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16703 fi ;;
16704 esac
16705 else
16706 ac_cv_lib_soname_MoltenVK=
16708 rm -f core conftest.err conftest.$ac_objext \
16709 conftest$ac_exeext conftest.$ac_ext
16710 LIBS=$ac_check_soname_save_LIBS
16712 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16714 $as_echo "not found" >&6; }
16716 else
16717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
16718 $as_echo "$ac_cv_lib_soname_MoltenVK" >&6; }
16720 cat >>confdefs.h <<_ACEOF
16721 #define SONAME_LIBMOLTENVK "$ac_cv_lib_soname_MoltenVK"
16722 _ACEOF
16728 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"; then :
16729 case "x$with_vulkan" in
16730 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
16731 xno) ;;
16732 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
16733 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
16734 esac
16738 if test "x$with_vkd3d" != "xno"
16739 then
16740 if ${VKD3D_CFLAGS:+false} :; then :
16741 if ${PKG_CONFIG+:} false; then :
16742 VKD3D_CFLAGS=`$PKG_CONFIG --cflags libvkd3d 2>/dev/null`
16746 if ${VKD3D_LIBS:+false} :; then :
16747 if ${PKG_CONFIG+:} false; then :
16748 VKD3D_LIBS=`$PKG_CONFIG --libs libvkd3d 2>/dev/null`
16753 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d cflags: $VKD3D_CFLAGS" >&5
16754 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d libs: $VKD3D_LIBS" >&5
16755 ac_save_CPPFLAGS=$CPPFLAGS
16756 CPPFLAGS="$CPPFLAGS $VKD3D_CFLAGS"
16757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d" >&5
16758 $as_echo_n "checking for -lvkd3d... " >&6; }
16759 if ${ac_cv_lib_soname_vkd3d+:} false; then :
16760 $as_echo_n "(cached) " >&6
16761 else
16762 ac_check_soname_save_LIBS=$LIBS
16763 LIBS="-lvkd3d $VKD3D_LIBS $LIBS"
16764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16765 /* end confdefs.h. */
16767 /* Override any GCC internal prototype to avoid an error.
16768 Use char because int might match the return type of a GCC
16769 builtin and then its argument prototype would still apply. */
16770 #ifdef __cplusplus
16771 extern "C"
16772 #endif
16773 char vkd3d_get_dxgi_format ();
16775 main ()
16777 return vkd3d_get_dxgi_format ();
16779 return 0;
16781 _ACEOF
16782 if ac_fn_c_try_link "$LINENO"; then :
16783 case "$LIBEXT" in
16784 dll) ac_cv_lib_soname_vkd3d=`$ac_cv_path_LDD conftest.exe | grep "vkd3d" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16785 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'` ;;
16786 *) ac_cv_lib_soname_vkd3d=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvkd3d\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvkd3d\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16787 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16788 ac_cv_lib_soname_vkd3d=`$LDD conftest$ac_exeext | grep "libvkd3d\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16789 fi ;;
16790 esac
16791 else
16792 ac_cv_lib_soname_vkd3d=
16794 rm -f core conftest.err conftest.$ac_objext \
16795 conftest$ac_exeext conftest.$ac_ext
16796 LIBS=$ac_check_soname_save_LIBS
16798 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16800 $as_echo "not found" >&6; }
16802 else
16803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d" >&5
16804 $as_echo "$ac_cv_lib_soname_vkd3d" >&6; }
16806 cat >>confdefs.h <<_ACEOF
16807 #define SONAME_LIBVKD3D "$ac_cv_lib_soname_vkd3d"
16808 _ACEOF
16812 CPPFLAGS=$ac_save_CPPFLAGS
16813 test -z "$VKD3D_CFLAGS" || VKD3D_CFLAGS=`echo " $VKD3D_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16814 test -z "$VKD3D_LIBS" || VKD3D_LIBS=`echo " $VKD3D_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16817 if test "x$ac_cv_lib_soname_vkd3d" = "x"; then :
16818 case "x$with_vkd3d" in
16819 x) as_fn_append wine_notices "|vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported." ;;
16820 xno) ;;
16821 *) as_fn_error $? "vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported.
16822 This is an error since --with-vkd3d was requested." "$LINENO" 5 ;;
16823 esac
16826 test "x$ac_cv_lib_soname_vkd3d" != "x" || enable_d3d12=${enable_d3d12:-no}
16829 EXTRACFLAGS=""
16831 if test "x${GCC}" = "xyes"
16832 then
16833 EXTRACFLAGS="-Wall -pipe"
16835 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
16836 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
16837 if ${ac_cv_c_gcc_strength_bug+:} false; then :
16838 $as_echo_n "(cached) " >&6
16839 else
16840 if test "$cross_compiling" = yes; then :
16841 ac_cv_c_gcc_strength_bug="no"
16842 else
16843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16844 /* end confdefs.h. */
16845 int L[4] = {0,1,2,3};
16847 main ()
16849 static int Array[3];
16850 unsigned int B = 3;
16851 int i;
16852 for(i=0; i<B; i++) Array[i] = i - 3;
16853 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
16854 L[i] = 4;
16855 return (Array[1] != -2 || L[2] != 3)
16857 return 0;
16859 _ACEOF
16860 if ac_fn_c_try_run "$LINENO"; then :
16861 ac_cv_c_gcc_strength_bug="no"
16862 else
16863 ac_cv_c_gcc_strength_bug="yes"
16865 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
16866 conftest.$ac_objext conftest.beam conftest.$ac_ext
16870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
16871 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
16872 if test "$ac_cv_c_gcc_strength_bug" = "yes"
16873 then
16874 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
16877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
16878 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
16879 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
16880 $as_echo_n "(cached) " >&6
16881 else
16882 ac_wine_try_cflags_saved=$CFLAGS
16883 CFLAGS="$CFLAGS -fno-strict-aliasing"
16884 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16885 /* end confdefs.h. */
16886 int main(int argc, char **argv) { return 0; }
16887 _ACEOF
16888 if ac_fn_c_try_link "$LINENO"; then :
16889 ac_cv_cflags__fno_strict_aliasing=yes
16890 else
16891 ac_cv_cflags__fno_strict_aliasing=no
16893 rm -f core conftest.err conftest.$ac_objext \
16894 conftest$ac_exeext conftest.$ac_ext
16895 CFLAGS=$ac_wine_try_cflags_saved
16897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
16898 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
16899 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
16900 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
16902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
16903 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
16904 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
16905 $as_echo_n "(cached) " >&6
16906 else
16907 ac_wine_try_cflags_saved=$CFLAGS
16908 CFLAGS="$CFLAGS -fexcess-precision=standard"
16909 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16910 /* end confdefs.h. */
16911 int main(int argc, char **argv) { return 0; }
16912 _ACEOF
16913 if ac_fn_c_try_link "$LINENO"; then :
16914 ac_cv_cflags__fexcess_precision_standard=yes
16915 else
16916 ac_cv_cflags__fexcess_precision_standard=no
16918 rm -f core conftest.err conftest.$ac_objext \
16919 conftest$ac_exeext conftest.$ac_ext
16920 CFLAGS=$ac_wine_try_cflags_saved
16922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
16923 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
16924 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
16925 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
16928 saved_CFLAGS=$CFLAGS
16929 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
16930 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
16931 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
16932 $as_echo_n "(cached) " >&6
16933 else
16934 ac_wine_try_cflags_saved=$CFLAGS
16935 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
16936 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16937 /* end confdefs.h. */
16938 int main(int argc, char **argv) { return 0; }
16939 _ACEOF
16940 if ac_fn_c_try_link "$LINENO"; then :
16941 ac_cv_cflags__Werror_unknown_warning_option=yes
16942 else
16943 ac_cv_cflags__Werror_unknown_warning_option=no
16945 rm -f core conftest.err conftest.$ac_objext \
16946 conftest$ac_exeext conftest.$ac_ext
16947 CFLAGS=$ac_wine_try_cflags_saved
16949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
16950 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
16951 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
16952 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
16954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
16955 $as_echo_n "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
16956 if ${ac_cv_cflags__Werror_unused_command_line_argument+:} false; then :
16957 $as_echo_n "(cached) " >&6
16958 else
16959 ac_wine_try_cflags_saved=$CFLAGS
16960 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
16961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16962 /* end confdefs.h. */
16963 int main(int argc, char **argv) { return 0; }
16964 _ACEOF
16965 if ac_fn_c_try_link "$LINENO"; then :
16966 ac_cv_cflags__Werror_unused_command_line_argument=yes
16967 else
16968 ac_cv_cflags__Werror_unused_command_line_argument=no
16970 rm -f core conftest.err conftest.$ac_objext \
16971 conftest$ac_exeext conftest.$ac_ext
16972 CFLAGS=$ac_wine_try_cflags_saved
16974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
16975 $as_echo "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
16976 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes; then :
16977 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
16979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
16980 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
16981 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
16982 $as_echo_n "(cached) " >&6
16983 else
16984 ac_wine_try_cflags_saved=$CFLAGS
16985 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
16986 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16987 /* end confdefs.h. */
16988 int main(int argc, char **argv) { return 0; }
16989 _ACEOF
16990 if ac_fn_c_try_link "$LINENO"; then :
16991 ac_cv_cflags__Wdeclaration_after_statement=yes
16992 else
16993 ac_cv_cflags__Wdeclaration_after_statement=no
16995 rm -f core conftest.err conftest.$ac_objext \
16996 conftest$ac_exeext conftest.$ac_ext
16997 CFLAGS=$ac_wine_try_cflags_saved
16999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
17000 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
17001 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
17002 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
17004 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
17005 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
17006 if ${ac_cv_cflags__Wempty_body+:} false; then :
17007 $as_echo_n "(cached) " >&6
17008 else
17009 ac_wine_try_cflags_saved=$CFLAGS
17010 CFLAGS="$CFLAGS -Wempty-body"
17011 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17012 /* end confdefs.h. */
17013 int main(int argc, char **argv) { return 0; }
17014 _ACEOF
17015 if ac_fn_c_try_link "$LINENO"; then :
17016 ac_cv_cflags__Wempty_body=yes
17017 else
17018 ac_cv_cflags__Wempty_body=no
17020 rm -f core conftest.err conftest.$ac_objext \
17021 conftest$ac_exeext conftest.$ac_ext
17022 CFLAGS=$ac_wine_try_cflags_saved
17024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
17025 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
17026 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
17027 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
17029 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
17030 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
17031 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
17032 $as_echo_n "(cached) " >&6
17033 else
17034 ac_wine_try_cflags_saved=$CFLAGS
17035 CFLAGS="$CFLAGS -Wignored-qualifiers"
17036 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17037 /* end confdefs.h. */
17038 int main(int argc, char **argv) { return 0; }
17039 _ACEOF
17040 if ac_fn_c_try_link "$LINENO"; then :
17041 ac_cv_cflags__Wignored_qualifiers=yes
17042 else
17043 ac_cv_cflags__Wignored_qualifiers=no
17045 rm -f core conftest.err conftest.$ac_objext \
17046 conftest$ac_exeext conftest.$ac_ext
17047 CFLAGS=$ac_wine_try_cflags_saved
17049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
17050 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
17051 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
17052 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
17054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
17055 $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
17056 if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
17057 $as_echo_n "(cached) " >&6
17058 else
17059 ac_wine_try_cflags_saved=$CFLAGS
17060 CFLAGS="$CFLAGS -Wpacked-not-aligned"
17061 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17062 /* end confdefs.h. */
17063 int main(int argc, char **argv) { return 0; }
17064 _ACEOF
17065 if ac_fn_c_try_link "$LINENO"; then :
17066 ac_cv_cflags__Wpacked_not_aligned=yes
17067 else
17068 ac_cv_cflags__Wpacked_not_aligned=no
17070 rm -f core conftest.err conftest.$ac_objext \
17071 conftest$ac_exeext conftest.$ac_ext
17072 CFLAGS=$ac_wine_try_cflags_saved
17074 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
17075 $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
17076 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
17077 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
17079 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
17080 $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
17081 if ${ac_cv_cflags__Wpragma_pack+:} false; then :
17082 $as_echo_n "(cached) " >&6
17083 else
17084 ac_wine_try_cflags_saved=$CFLAGS
17085 CFLAGS="$CFLAGS -Wpragma-pack"
17086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17087 /* end confdefs.h. */
17088 int main(int argc, char **argv) { return 0; }
17089 _ACEOF
17090 if ac_fn_c_try_link "$LINENO"; then :
17091 ac_cv_cflags__Wpragma_pack=yes
17092 else
17093 ac_cv_cflags__Wpragma_pack=no
17095 rm -f core conftest.err conftest.$ac_objext \
17096 conftest$ac_exeext conftest.$ac_ext
17097 CFLAGS=$ac_wine_try_cflags_saved
17099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
17100 $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
17101 if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
17102 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
17104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
17105 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
17106 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
17107 $as_echo_n "(cached) " >&6
17108 else
17109 ac_wine_try_cflags_saved=$CFLAGS
17110 CFLAGS="$CFLAGS -Wshift-overflow=2"
17111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17112 /* end confdefs.h. */
17113 int main(int argc, char **argv) { return 0; }
17114 _ACEOF
17115 if ac_fn_c_try_link "$LINENO"; then :
17116 ac_cv_cflags__Wshift_overflow_2=yes
17117 else
17118 ac_cv_cflags__Wshift_overflow_2=no
17120 rm -f core conftest.err conftest.$ac_objext \
17121 conftest$ac_exeext conftest.$ac_ext
17122 CFLAGS=$ac_wine_try_cflags_saved
17124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
17125 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
17126 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
17127 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
17129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
17130 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
17131 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
17132 $as_echo_n "(cached) " >&6
17133 else
17134 ac_wine_try_cflags_saved=$CFLAGS
17135 CFLAGS="$CFLAGS -Wstrict-prototypes"
17136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17137 /* end confdefs.h. */
17138 int main(int argc, char **argv) { return 0; }
17139 _ACEOF
17140 if ac_fn_c_try_link "$LINENO"; then :
17141 ac_cv_cflags__Wstrict_prototypes=yes
17142 else
17143 ac_cv_cflags__Wstrict_prototypes=no
17145 rm -f core conftest.err conftest.$ac_objext \
17146 conftest$ac_exeext conftest.$ac_ext
17147 CFLAGS=$ac_wine_try_cflags_saved
17149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
17150 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
17151 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
17152 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
17154 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
17155 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
17156 if ${ac_cv_cflags__Wtype_limits+:} false; then :
17157 $as_echo_n "(cached) " >&6
17158 else
17159 ac_wine_try_cflags_saved=$CFLAGS
17160 CFLAGS="$CFLAGS -Wtype-limits"
17161 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17162 /* end confdefs.h. */
17163 int main(int argc, char **argv) { return 0; }
17164 _ACEOF
17165 if ac_fn_c_try_link "$LINENO"; then :
17166 ac_cv_cflags__Wtype_limits=yes
17167 else
17168 ac_cv_cflags__Wtype_limits=no
17170 rm -f core conftest.err conftest.$ac_objext \
17171 conftest$ac_exeext conftest.$ac_ext
17172 CFLAGS=$ac_wine_try_cflags_saved
17174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
17175 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
17176 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
17177 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
17179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
17180 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
17181 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
17182 $as_echo_n "(cached) " >&6
17183 else
17184 ac_wine_try_cflags_saved=$CFLAGS
17185 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
17186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17187 /* end confdefs.h. */
17188 int main(int argc, char **argv) { return 0; }
17189 _ACEOF
17190 if ac_fn_c_try_link "$LINENO"; then :
17191 ac_cv_cflags__Wunused_but_set_parameter=yes
17192 else
17193 ac_cv_cflags__Wunused_but_set_parameter=no
17195 rm -f core conftest.err conftest.$ac_objext \
17196 conftest$ac_exeext conftest.$ac_ext
17197 CFLAGS=$ac_wine_try_cflags_saved
17199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
17200 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
17201 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
17202 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
17204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
17205 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
17206 if ${ac_cv_cflags__Wvla+:} false; then :
17207 $as_echo_n "(cached) " >&6
17208 else
17209 ac_wine_try_cflags_saved=$CFLAGS
17210 CFLAGS="$CFLAGS -Wvla"
17211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17212 /* end confdefs.h. */
17213 int main(int argc, char **argv) { return 0; }
17214 _ACEOF
17215 if ac_fn_c_try_link "$LINENO"; then :
17216 ac_cv_cflags__Wvla=yes
17217 else
17218 ac_cv_cflags__Wvla=no
17220 rm -f core conftest.err conftest.$ac_objext \
17221 conftest$ac_exeext conftest.$ac_ext
17222 CFLAGS=$ac_wine_try_cflags_saved
17224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
17225 $as_echo "$ac_cv_cflags__Wvla" >&6; }
17226 if test "x$ac_cv_cflags__Wvla" = xyes; then :
17227 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
17229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
17230 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
17231 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
17232 $as_echo_n "(cached) " >&6
17233 else
17234 ac_wine_try_cflags_saved=$CFLAGS
17235 CFLAGS="$CFLAGS -Wwrite-strings"
17236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17237 /* end confdefs.h. */
17238 int main(int argc, char **argv) { return 0; }
17239 _ACEOF
17240 if ac_fn_c_try_link "$LINENO"; then :
17241 ac_cv_cflags__Wwrite_strings=yes
17242 else
17243 ac_cv_cflags__Wwrite_strings=no
17245 rm -f core conftest.err conftest.$ac_objext \
17246 conftest$ac_exeext conftest.$ac_ext
17247 CFLAGS=$ac_wine_try_cflags_saved
17249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
17250 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
17251 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
17252 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
17255 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
17256 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
17257 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
17258 $as_echo_n "(cached) " >&6
17259 else
17260 ac_wine_try_cflags_saved=$CFLAGS
17261 CFLAGS="$CFLAGS -Wpointer-arith"
17262 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17263 /* end confdefs.h. */
17264 int main(int argc, char **argv) { return 0; }
17265 _ACEOF
17266 if ac_fn_c_try_link "$LINENO"; then :
17267 ac_cv_cflags__Wpointer_arith=yes
17268 else
17269 ac_cv_cflags__Wpointer_arith=no
17271 rm -f core conftest.err conftest.$ac_objext \
17272 conftest$ac_exeext conftest.$ac_ext
17273 CFLAGS=$ac_wine_try_cflags_saved
17275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
17276 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
17277 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
17278 saved_string_h_CFLAGS=$CFLAGS
17279 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
17280 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
17281 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
17282 if ${ac_cv_c_string_h_warnings+:} false; then :
17283 $as_echo_n "(cached) " >&6
17284 else
17285 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17286 /* end confdefs.h. */
17287 #include <string.h>
17289 main ()
17293 return 0;
17295 _ACEOF
17296 if ac_fn_c_try_compile "$LINENO"; then :
17297 ac_cv_c_string_h_warnings=no
17298 else
17299 ac_cv_c_string_h_warnings=yes
17301 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
17304 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
17305 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
17306 CFLAGS=$saved_string_h_CFLAGS
17309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
17310 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
17311 if ${ac_cv_cflags__Wlogical_op+:} false; then :
17312 $as_echo_n "(cached) " >&6
17313 else
17314 ac_wine_try_cflags_saved=$CFLAGS
17315 CFLAGS="$CFLAGS -Wlogical-op"
17316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17317 /* end confdefs.h. */
17318 int main(int argc, char **argv) { return 0; }
17319 _ACEOF
17320 if ac_fn_c_try_link "$LINENO"; then :
17321 ac_cv_cflags__Wlogical_op=yes
17322 else
17323 ac_cv_cflags__Wlogical_op=no
17325 rm -f core conftest.err conftest.$ac_objext \
17326 conftest$ac_exeext conftest.$ac_ext
17327 CFLAGS=$ac_wine_try_cflags_saved
17329 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
17330 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
17331 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
17332 saved_string_h_CFLAGS=$CFLAGS
17333 CFLAGS="$CFLAGS -Wlogical-op -Werror"
17334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
17335 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
17336 if ${ac_cv_c_logicalop_noisy+:} false; then :
17337 $as_echo_n "(cached) " >&6
17338 else
17339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17340 /* end confdefs.h. */
17341 #include <string.h>
17342 char*f(const char *h,char n) {return strchr(h,n);}
17344 main ()
17348 return 0;
17350 _ACEOF
17351 if ac_fn_c_try_compile "$LINENO"; then :
17352 ac_cv_c_logicalop_noisy=no
17353 else
17354 ac_cv_c_logicalop_noisy=yes
17356 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
17359 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
17360 CFLAGS=$saved_string_h_CFLAGS
17361 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
17364 for ac_flag in $CFLAGS; do
17365 case $ac_flag in
17366 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
17367 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
17368 if ${ac_cv_cflags__gdwarf_2+:} false; then :
17369 $as_echo_n "(cached) " >&6
17370 else
17371 ac_wine_try_cflags_saved=$CFLAGS
17372 CFLAGS="$CFLAGS -gdwarf-2"
17373 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17374 /* end confdefs.h. */
17375 int main(int argc, char **argv) { return 0; }
17376 _ACEOF
17377 if ac_fn_c_try_link "$LINENO"; then :
17378 ac_cv_cflags__gdwarf_2=yes
17379 else
17380 ac_cv_cflags__gdwarf_2=no
17382 rm -f core conftest.err conftest.$ac_objext \
17383 conftest$ac_exeext conftest.$ac_ext
17384 CFLAGS=$ac_wine_try_cflags_saved
17386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
17387 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
17388 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
17389 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
17391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
17392 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
17393 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
17394 $as_echo_n "(cached) " >&6
17395 else
17396 ac_wine_try_cflags_saved=$CFLAGS
17397 CFLAGS="$CFLAGS -gstrict-dwarf"
17398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17399 /* end confdefs.h. */
17400 int main(int argc, char **argv) { return 0; }
17401 _ACEOF
17402 if ac_fn_c_try_link "$LINENO"; then :
17403 ac_cv_cflags__gstrict_dwarf=yes
17404 else
17405 ac_cv_cflags__gstrict_dwarf=no
17407 rm -f core conftest.err conftest.$ac_objext \
17408 conftest$ac_exeext conftest.$ac_ext
17409 CFLAGS=$ac_wine_try_cflags_saved
17411 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
17412 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
17413 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
17414 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
17415 fi ;;
17416 esac
17417 done
17419 MSVCRTFLAGS=""
17421 case $host_os in
17422 cygwin*|mingw32*) ;;
17423 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
17424 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
17425 if ${ac_cv_cflags__fno_builtin+:} false; then :
17426 $as_echo_n "(cached) " >&6
17427 else
17428 ac_wine_try_cflags_saved=$CFLAGS
17429 CFLAGS="$CFLAGS -fno-builtin"
17430 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17431 /* end confdefs.h. */
17432 int main(int argc, char **argv) { return 0; }
17433 _ACEOF
17434 if ac_fn_c_try_link "$LINENO"; then :
17435 ac_cv_cflags__fno_builtin=yes
17436 else
17437 ac_cv_cflags__fno_builtin=no
17439 rm -f core conftest.err conftest.$ac_objext \
17440 conftest$ac_exeext conftest.$ac_ext
17441 CFLAGS=$ac_wine_try_cflags_saved
17443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
17444 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
17445 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
17446 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
17448 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
17449 $as_echo_n "checking whether the compiler supports -fshort-wchar... " >&6; }
17450 if ${ac_cv_cflags__fshort_wchar+:} false; then :
17451 $as_echo_n "(cached) " >&6
17452 else
17453 ac_wine_try_cflags_saved=$CFLAGS
17454 CFLAGS="$CFLAGS -fshort-wchar"
17455 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17456 /* end confdefs.h. */
17457 int main(int argc, char **argv) { return 0; }
17458 _ACEOF
17459 if ac_fn_c_try_link "$LINENO"; then :
17460 ac_cv_cflags__fshort_wchar=yes
17461 else
17462 ac_cv_cflags__fshort_wchar=no
17464 rm -f core conftest.err conftest.$ac_objext \
17465 conftest$ac_exeext conftest.$ac_ext
17466 CFLAGS=$ac_wine_try_cflags_saved
17468 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
17469 $as_echo "$ac_cv_cflags__fshort_wchar" >&6; }
17470 if test "x$ac_cv_cflags__fshort_wchar" = xyes; then :
17471 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
17472 fi ;;
17473 esac
17475 case $host_cpu in
17476 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
17477 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
17478 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
17479 $as_echo_n "(cached) " >&6
17480 else
17481 ac_wine_try_cflags_saved=$CFLAGS
17482 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
17483 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17484 /* end confdefs.h. */
17485 int main(int argc, char **argv) { return 0; }
17486 _ACEOF
17487 if ac_fn_c_try_link "$LINENO"; then :
17488 ac_cv_cflags__fno_omit_frame_pointer=yes
17489 else
17490 ac_cv_cflags__fno_omit_frame_pointer=no
17492 rm -f core conftest.err conftest.$ac_objext \
17493 conftest$ac_exeext conftest.$ac_ext
17494 CFLAGS=$ac_wine_try_cflags_saved
17496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
17497 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
17498 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
17499 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
17500 fi ;;
17501 *x86_64*)
17502 case $host_os in
17503 cygwin*|mingw32*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
17504 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
17505 if ${ac_cv_cflags__Wno_format+:} false; then :
17506 $as_echo_n "(cached) " >&6
17507 else
17508 ac_wine_try_cflags_saved=$CFLAGS
17509 CFLAGS="$CFLAGS -Wno-format"
17510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17511 /* end confdefs.h. */
17512 int main(int argc, char **argv) { return 0; }
17513 _ACEOF
17514 if ac_fn_c_try_link "$LINENO"; then :
17515 ac_cv_cflags__Wno_format=yes
17516 else
17517 ac_cv_cflags__Wno_format=no
17519 rm -f core conftest.err conftest.$ac_objext \
17520 conftest$ac_exeext conftest.$ac_ext
17521 CFLAGS=$ac_wine_try_cflags_saved
17523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
17524 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
17525 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
17526 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
17527 fi ;;
17528 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mabi=ms" >&5
17529 $as_echo_n "checking whether the compiler supports -mabi=ms... " >&6; }
17530 if ${ac_cv_cflags__mabi_ms+:} false; then :
17531 $as_echo_n "(cached) " >&6
17532 else
17533 ac_wine_try_cflags_saved=$CFLAGS
17534 CFLAGS="$CFLAGS -mabi=ms"
17535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17536 /* end confdefs.h. */
17537 int main(int argc, char **argv) { return 0; }
17538 _ACEOF
17539 if ac_fn_c_try_link "$LINENO"; then :
17540 ac_cv_cflags__mabi_ms=yes
17541 else
17542 ac_cv_cflags__mabi_ms=no
17544 rm -f core conftest.err conftest.$ac_objext \
17545 conftest$ac_exeext conftest.$ac_ext
17546 CFLAGS=$ac_wine_try_cflags_saved
17548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mabi_ms" >&5
17549 $as_echo "$ac_cv_cflags__mabi_ms" >&6; }
17550 if test "x$ac_cv_cflags__mabi_ms" = xyes; then :
17551 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms"
17552 fi ;;
17553 esac ;;
17554 esac
17556 CFLAGS=$saved_CFLAGS
17558 if test "x$enable_maintainer_mode" = "xyes"
17559 then
17560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
17561 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
17562 if ${ac_cv_cflags__Werror+:} false; then :
17563 $as_echo_n "(cached) " >&6
17564 else
17565 ac_wine_try_cflags_saved=$CFLAGS
17566 CFLAGS="$CFLAGS -Werror"
17567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17568 /* end confdefs.h. */
17569 int main(int argc, char **argv) { return 0; }
17570 _ACEOF
17571 if ac_fn_c_try_link "$LINENO"; then :
17572 ac_cv_cflags__Werror=yes
17573 else
17574 ac_cv_cflags__Werror=no
17576 rm -f core conftest.err conftest.$ac_objext \
17577 conftest$ac_exeext conftest.$ac_ext
17578 CFLAGS=$ac_wine_try_cflags_saved
17580 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
17581 $as_echo "$ac_cv_cflags__Werror" >&6; }
17582 if test "x$ac_cv_cflags__Werror" = xyes; then :
17583 EXTRACFLAGS="$EXTRACFLAGS -Werror"
17589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
17590 $as_echo_n "checking for the need to disable Fortify... " >&6; }
17591 if ${ac_cv_c_fortify_enabled+:} false; then :
17592 $as_echo_n "(cached) " >&6
17593 else
17594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17595 /* end confdefs.h. */
17596 #include <string.h>
17598 main ()
17600 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
17601 #error Fortify enabled
17602 #endif
17604 return 0;
17606 _ACEOF
17607 if ac_fn_c_try_compile "$LINENO"; then :
17608 ac_cv_c_fortify_enabled=no
17609 else
17610 ac_cv_c_fortify_enabled=yes
17612 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
17615 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
17616 if test "$ac_cv_c_fortify_enabled" = yes
17617 then
17618 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
17622 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
17623 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
17624 if ${ac_cv_c_cfi_support+:} false; then :
17625 $as_echo_n "(cached) " >&6
17626 else
17627 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17628 /* end confdefs.h. */
17629 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
17631 main ()
17635 return 0;
17637 _ACEOF
17638 if ac_fn_c_try_compile "$LINENO"; then :
17639 ac_cv_c_cfi_support="yes"
17640 else
17641 ac_cv_c_cfi_support="no"
17643 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
17646 $as_echo "$ac_cv_c_cfi_support" >&6; }
17647 if test "$ac_cv_c_cfi_support" = "yes"
17648 then
17649 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
17650 else
17651 if test "x$enable_win64" = "xyes"
17652 then
17653 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
17658 case $build_os in
17659 cygwin*|mingw32*) TOOLSEXT=".exe"
17661 esac
17663 case $host_os in
17664 linux*)
17665 case $host_cpu in
17666 *i[3456789]86*|x86_64*|*aarch64*)
17667 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
17668 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
17670 esac
17672 esac
17675 ac_save_CFLAGS="$CFLAGS"
17676 CFLAGS="$CFLAGS $BUILTINFLAG"
17677 for ac_func in \
17678 __res_get_state \
17679 __res_getservers \
17680 _spawnvp \
17681 dlopen \
17682 epoll_create \
17683 ffs \
17684 finitef \
17685 fnmatch \
17686 fork \
17687 fpclass \
17688 fstatfs \
17689 fstatvfs \
17690 futimens \
17691 futimes \
17692 futimesat \
17693 getattrlist \
17694 getauxval \
17695 getifaddrs \
17696 getopt_long_only \
17697 kqueue \
17698 lstat \
17699 pipe2 \
17700 poll \
17701 port_create \
17702 prctl \
17703 pread \
17704 proc_pidinfo \
17705 pwrite \
17706 readdir \
17707 readlink \
17708 sched_yield \
17709 select \
17710 setproctitle \
17711 setprogname \
17712 settimeofday \
17713 sigprocmask \
17714 statfs \
17715 statvfs \
17716 strnlen \
17717 strtold \
17718 symlink \
17719 sysinfo \
17720 tcdrain \
17721 thr_kill2 \
17722 timegm \
17723 usleep
17725 do :
17726 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17727 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17728 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17729 cat >>confdefs.h <<_ACEOF
17730 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17731 _ACEOF
17734 done
17736 CFLAGS="$ac_save_CFLAGS"
17738 if test "$ac_cv_func_dlopen" = no
17739 then
17740 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
17741 $as_echo_n "checking for dlopen in -ldl... " >&6; }
17742 if ${ac_cv_lib_dl_dlopen+:} false; then :
17743 $as_echo_n "(cached) " >&6
17744 else
17745 ac_check_lib_save_LIBS=$LIBS
17746 LIBS="-ldl $LIBS"
17747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17748 /* end confdefs.h. */
17750 /* Override any GCC internal prototype to avoid an error.
17751 Use char because int might match the return type of a GCC
17752 builtin and then its argument prototype would still apply. */
17753 #ifdef __cplusplus
17754 extern "C"
17755 #endif
17756 char dlopen ();
17758 main ()
17760 return dlopen ();
17762 return 0;
17764 _ACEOF
17765 if ac_fn_c_try_link "$LINENO"; then :
17766 ac_cv_lib_dl_dlopen=yes
17767 else
17768 ac_cv_lib_dl_dlopen=no
17770 rm -f core conftest.err conftest.$ac_objext \
17771 conftest$ac_exeext conftest.$ac_ext
17772 LIBS=$ac_check_lib_save_LIBS
17774 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
17775 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
17776 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
17777 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
17778 DL_LIBS="-ldl"
17783 ac_wine_check_funcs_save_LIBS="$LIBS"
17784 LIBS="$LIBS $DL_LIBS"
17785 for ac_func in dladdr
17786 do :
17787 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
17788 if test "x$ac_cv_func_dladdr" = xyes; then :
17789 cat >>confdefs.h <<_ACEOF
17790 #define HAVE_DLADDR 1
17791 _ACEOF
17794 done
17796 LIBS="$ac_wine_check_funcs_save_LIBS"
17798 if test "$ac_cv_func_poll" = no
17799 then
17800 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
17801 $as_echo_n "checking for poll in -lpoll... " >&6; }
17802 if ${ac_cv_lib_poll_poll+:} false; then :
17803 $as_echo_n "(cached) " >&6
17804 else
17805 ac_check_lib_save_LIBS=$LIBS
17806 LIBS="-lpoll $LIBS"
17807 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17808 /* end confdefs.h. */
17810 /* Override any GCC internal prototype to avoid an error.
17811 Use char because int might match the return type of a GCC
17812 builtin and then its argument prototype would still apply. */
17813 #ifdef __cplusplus
17814 extern "C"
17815 #endif
17816 char poll ();
17818 main ()
17820 return poll ();
17822 return 0;
17824 _ACEOF
17825 if ac_fn_c_try_link "$LINENO"; then :
17826 ac_cv_lib_poll_poll=yes
17827 else
17828 ac_cv_lib_poll_poll=no
17830 rm -f core conftest.err conftest.$ac_objext \
17831 conftest$ac_exeext conftest.$ac_ext
17832 LIBS=$ac_check_lib_save_LIBS
17834 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
17835 $as_echo "$ac_cv_lib_poll_poll" >&6; }
17836 if test "x$ac_cv_lib_poll_poll" = xyes; then :
17837 $as_echo "#define HAVE_POLL 1" >>confdefs.h
17838 POLL_LIBS="-lpoll"
17844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
17845 $as_echo_n "checking for library containing gethostbyname... " >&6; }
17846 if ${ac_cv_search_gethostbyname+:} false; then :
17847 $as_echo_n "(cached) " >&6
17848 else
17849 ac_func_search_save_LIBS=$LIBS
17850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17851 /* end confdefs.h. */
17853 /* Override any GCC internal prototype to avoid an error.
17854 Use char because int might match the return type of a GCC
17855 builtin and then its argument prototype would still apply. */
17856 #ifdef __cplusplus
17857 extern "C"
17858 #endif
17859 char gethostbyname ();
17861 main ()
17863 return gethostbyname ();
17865 return 0;
17867 _ACEOF
17868 for ac_lib in '' nsl; do
17869 if test -z "$ac_lib"; then
17870 ac_res="none required"
17871 else
17872 ac_res=-l$ac_lib
17873 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17875 if ac_fn_c_try_link "$LINENO"; then :
17876 ac_cv_search_gethostbyname=$ac_res
17878 rm -f core conftest.err conftest.$ac_objext \
17879 conftest$ac_exeext
17880 if ${ac_cv_search_gethostbyname+:} false; then :
17881 break
17883 done
17884 if ${ac_cv_search_gethostbyname+:} false; then :
17886 else
17887 ac_cv_search_gethostbyname=no
17889 rm conftest.$ac_ext
17890 LIBS=$ac_func_search_save_LIBS
17892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
17893 $as_echo "$ac_cv_search_gethostbyname" >&6; }
17894 ac_res=$ac_cv_search_gethostbyname
17895 if test "$ac_res" != no; then :
17896 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17901 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
17902 $as_echo_n "checking for library containing connect... " >&6; }
17903 if ${ac_cv_search_connect+:} false; then :
17904 $as_echo_n "(cached) " >&6
17905 else
17906 ac_func_search_save_LIBS=$LIBS
17907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17908 /* end confdefs.h. */
17910 /* Override any GCC internal prototype to avoid an error.
17911 Use char because int might match the return type of a GCC
17912 builtin and then its argument prototype would still apply. */
17913 #ifdef __cplusplus
17914 extern "C"
17915 #endif
17916 char connect ();
17918 main ()
17920 return connect ();
17922 return 0;
17924 _ACEOF
17925 for ac_lib in '' socket; do
17926 if test -z "$ac_lib"; then
17927 ac_res="none required"
17928 else
17929 ac_res=-l$ac_lib
17930 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17932 if ac_fn_c_try_link "$LINENO"; then :
17933 ac_cv_search_connect=$ac_res
17935 rm -f core conftest.err conftest.$ac_objext \
17936 conftest$ac_exeext
17937 if ${ac_cv_search_connect+:} false; then :
17938 break
17940 done
17941 if ${ac_cv_search_connect+:} false; then :
17943 else
17944 ac_cv_search_connect=no
17946 rm conftest.$ac_ext
17947 LIBS=$ac_func_search_save_LIBS
17949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
17950 $as_echo "$ac_cv_search_connect" >&6; }
17951 ac_res=$ac_cv_search_connect
17952 if test "$ac_res" != no; then :
17953 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
17959 $as_echo_n "checking for library containing inet_aton... " >&6; }
17960 if ${ac_cv_search_inet_aton+:} false; then :
17961 $as_echo_n "(cached) " >&6
17962 else
17963 ac_func_search_save_LIBS=$LIBS
17964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17965 /* end confdefs.h. */
17967 /* Override any GCC internal prototype to avoid an error.
17968 Use char because int might match the return type of a GCC
17969 builtin and then its argument prototype would still apply. */
17970 #ifdef __cplusplus
17971 extern "C"
17972 #endif
17973 char inet_aton ();
17975 main ()
17977 return inet_aton ();
17979 return 0;
17981 _ACEOF
17982 for ac_lib in '' resolv; do
17983 if test -z "$ac_lib"; then
17984 ac_res="none required"
17985 else
17986 ac_res=-l$ac_lib
17987 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17989 if ac_fn_c_try_link "$LINENO"; then :
17990 ac_cv_search_inet_aton=$ac_res
17992 rm -f core conftest.err conftest.$ac_objext \
17993 conftest$ac_exeext
17994 if ${ac_cv_search_inet_aton+:} false; then :
17995 break
17997 done
17998 if ${ac_cv_search_inet_aton+:} false; then :
18000 else
18001 ac_cv_search_inet_aton=no
18003 rm conftest.$ac_ext
18004 LIBS=$ac_func_search_save_LIBS
18006 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
18007 $as_echo "$ac_cv_search_inet_aton" >&6; }
18008 ac_res=$ac_cv_search_inet_aton
18009 if test "$ac_res" != no; then :
18010 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18015 for ac_func in \
18016 getaddrinfo \
18017 getnameinfo \
18018 getnetbyname \
18019 getprotobyname \
18020 getprotobynumber \
18021 getservbyport \
18022 inet_addr \
18023 inet_network \
18024 inet_ntop \
18025 inet_pton \
18027 do :
18028 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18029 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18030 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18031 cat >>confdefs.h <<_ACEOF
18032 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18033 _ACEOF
18036 done
18039 case $host_os in
18040 darwin*|macosx*) ;;
18041 *) ac_save_LIBS=$LIBS
18042 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
18043 $as_echo_n "checking for library containing clock_gettime... " >&6; }
18044 if ${ac_cv_search_clock_gettime+:} false; then :
18045 $as_echo_n "(cached) " >&6
18046 else
18047 ac_func_search_save_LIBS=$LIBS
18048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18049 /* end confdefs.h. */
18051 /* Override any GCC internal prototype to avoid an error.
18052 Use char because int might match the return type of a GCC
18053 builtin and then its argument prototype would still apply. */
18054 #ifdef __cplusplus
18055 extern "C"
18056 #endif
18057 char clock_gettime ();
18059 main ()
18061 return clock_gettime ();
18063 return 0;
18065 _ACEOF
18066 for ac_lib in '' rt; do
18067 if test -z "$ac_lib"; then
18068 ac_res="none required"
18069 else
18070 ac_res=-l$ac_lib
18071 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18073 if ac_fn_c_try_link "$LINENO"; then :
18074 ac_cv_search_clock_gettime=$ac_res
18076 rm -f core conftest.err conftest.$ac_objext \
18077 conftest$ac_exeext
18078 if ${ac_cv_search_clock_gettime+:} false; then :
18079 break
18081 done
18082 if ${ac_cv_search_clock_gettime+:} false; then :
18084 else
18085 ac_cv_search_clock_gettime=no
18087 rm conftest.$ac_ext
18088 LIBS=$ac_func_search_save_LIBS
18090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
18091 $as_echo "$ac_cv_search_clock_gettime" >&6; }
18092 ac_res=$ac_cv_search_clock_gettime
18093 if test "$ac_res" != no; then :
18094 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18096 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
18098 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
18102 LIBS=$ac_save_LIBS
18104 esac
18106 if test "x$with_ldap" != "xno"
18107 then
18108 if ${LDAP_CFLAGS:+false} :; then :
18109 if ${PKG_CONFIG+:} false; then :
18110 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
18114 if ${LDAP_LIBS:+false} :; then :
18115 if ${PKG_CONFIG+:} false; then :
18116 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
18120 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
18121 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
18122 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
18123 ac_save_CPPFLAGS=$CPPFLAGS
18124 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
18125 for ac_header in ldap.h lber.h
18126 do :
18127 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18128 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18129 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
18130 cat >>confdefs.h <<_ACEOF
18131 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18132 _ACEOF
18136 done
18138 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
18139 then
18140 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
18142 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
18143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
18144 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
18145 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
18146 $as_echo_n "(cached) " >&6
18147 else
18148 ac_check_lib_save_LIBS=$LIBS
18149 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18150 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18151 /* end confdefs.h. */
18153 /* Override any GCC internal prototype to avoid an error.
18154 Use char because int might match the return type of a GCC
18155 builtin and then its argument prototype would still apply. */
18156 #ifdef __cplusplus
18157 extern "C"
18158 #endif
18159 char ldap_initialize ();
18161 main ()
18163 return ldap_initialize ();
18165 return 0;
18167 _ACEOF
18168 if ac_fn_c_try_link "$LINENO"; then :
18169 ac_cv_lib_ldap_r_ldap_initialize=yes
18170 else
18171 ac_cv_lib_ldap_r_ldap_initialize=no
18173 rm -f core conftest.err conftest.$ac_objext \
18174 conftest$ac_exeext conftest.$ac_ext
18175 LIBS=$ac_check_lib_save_LIBS
18177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
18178 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
18179 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
18180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
18181 $as_echo_n "checking for ber_init in -llber... " >&6; }
18182 if ${ac_cv_lib_lber_ber_init+:} false; then :
18183 $as_echo_n "(cached) " >&6
18184 else
18185 ac_check_lib_save_LIBS=$LIBS
18186 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18188 /* end confdefs.h. */
18190 /* Override any GCC internal prototype to avoid an error.
18191 Use char because int might match the return type of a GCC
18192 builtin and then its argument prototype would still apply. */
18193 #ifdef __cplusplus
18194 extern "C"
18195 #endif
18196 char ber_init ();
18198 main ()
18200 return ber_init ();
18202 return 0;
18204 _ACEOF
18205 if ac_fn_c_try_link "$LINENO"; then :
18206 ac_cv_lib_lber_ber_init=yes
18207 else
18208 ac_cv_lib_lber_ber_init=no
18210 rm -f core conftest.err conftest.$ac_objext \
18211 conftest$ac_exeext conftest.$ac_ext
18212 LIBS=$ac_check_lib_save_LIBS
18214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
18215 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
18216 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
18218 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
18220 else
18221 LDAP_LIBS=""
18224 else
18225 LDAP_LIBS=""
18228 else
18229 LDAP_LIBS=""
18232 ac_wine_check_funcs_save_LIBS="$LIBS"
18233 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
18234 for ac_func in \
18235 ldap_count_references \
18236 ldap_first_reference \
18237 ldap_next_reference \
18238 ldap_parse_reference \
18239 ldap_parse_sort_control \
18240 ldap_parse_sortresponse_control \
18241 ldap_parse_vlv_control \
18242 ldap_parse_vlvresponse_control
18243 do :
18244 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18245 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18246 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18247 cat >>confdefs.h <<_ACEOF
18248 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18249 _ACEOF
18252 done
18254 LIBS="$ac_wine_check_funcs_save_LIBS"
18255 else
18256 LDAP_LIBS=""
18258 CPPFLAGS=$ac_save_CPPFLAGS
18259 test -z "$LDAP_CFLAGS" || LDAP_CFLAGS=`echo " $LDAP_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
18260 test -z "$LDAP_LIBS" || LDAP_LIBS=`echo " $LDAP_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
18263 if test "x$LDAP_LIBS" = "x"; then :
18264 case "x$with_ldap" in
18265 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
18266 xno) ;;
18267 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
18268 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
18269 esac
18273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
18274 $as_echo_n "checking for sched_setaffinity... " >&6; }
18275 if ${wine_cv_have_sched_setaffinity+:} false; then :
18276 $as_echo_n "(cached) " >&6
18277 else
18278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18279 /* end confdefs.h. */
18280 #define _GNU_SOURCE
18281 #include <sched.h>
18283 main ()
18285 sched_setaffinity(0, 0, 0);
18287 return 0;
18289 _ACEOF
18290 if ac_fn_c_try_link "$LINENO"; then :
18291 wine_cv_have_sched_setaffinity=yes
18292 else
18293 wine_cv_have_sched_setaffinity=no
18295 rm -f core conftest.err conftest.$ac_objext \
18296 conftest$ac_exeext conftest.$ac_ext
18298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
18299 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
18300 if test "$wine_cv_have_sched_setaffinity" = "yes"
18301 then
18303 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
18307 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
18308 $as_echo_n "checking for fallocate... " >&6; }
18309 if ${wine_cv_have_fallocate+:} false; then :
18310 $as_echo_n "(cached) " >&6
18311 else
18312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18313 /* end confdefs.h. */
18314 #define _GNU_SOURCE
18315 #include <fcntl.h>
18317 main ()
18319 fallocate(-1, 0, 0, 0);
18321 return 0;
18323 _ACEOF
18324 if ac_fn_c_try_link "$LINENO"; then :
18325 wine_cv_have_fallocate=yes
18326 else
18327 wine_cv_have_fallocate=no
18329 rm -f core conftest.err conftest.$ac_objext \
18330 conftest$ac_exeext conftest.$ac_ext
18332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
18333 $as_echo "$wine_cv_have_fallocate" >&6; }
18334 if test "$wine_cv_have_fallocate" = "yes"
18335 then
18337 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
18342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
18343 $as_echo_n "checking for inline... " >&6; }
18344 if ${ac_cv_c_inline+:} false; then :
18345 $as_echo_n "(cached) " >&6
18346 else
18347 ac_cv_c_inline=no
18348 for ac_kw in inline __inline__ __inline; do
18349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18350 /* end confdefs.h. */
18351 #ifndef __cplusplus
18352 typedef int foo_t;
18353 static $ac_kw foo_t static_foo () {return 0; }
18354 $ac_kw foo_t foo () {return 0; }
18355 #endif
18357 _ACEOF
18358 if ac_fn_c_try_compile "$LINENO"; then :
18359 ac_cv_c_inline=$ac_kw
18361 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18362 test "$ac_cv_c_inline" != no && break
18363 done
18366 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
18367 $as_echo "$ac_cv_c_inline" >&6; }
18369 case $ac_cv_c_inline in
18370 inline | yes) ;;
18372 case $ac_cv_c_inline in
18373 no) ac_val=;;
18374 *) ac_val=$ac_cv_c_inline;;
18375 esac
18376 cat >>confdefs.h <<_ACEOF
18377 #ifndef __cplusplus
18378 #define inline $ac_val
18379 #endif
18380 _ACEOF
18382 esac
18384 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
18385 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
18387 cat >>confdefs.h <<_ACEOF
18388 #define HAVE_FSBLKCNT_T 1
18389 _ACEOF
18393 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
18394 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
18396 cat >>confdefs.h <<_ACEOF
18397 #define HAVE_FSFILCNT_T 1
18398 _ACEOF
18403 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
18404 #include <signal.h>
18406 if test "x$ac_cv_type_sigset_t" = xyes; then :
18408 cat >>confdefs.h <<_ACEOF
18409 #define HAVE_SIGSET_T 1
18410 _ACEOF
18415 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
18417 if test "x$ac_cv_type_request_sense" = xyes; then :
18419 cat >>confdefs.h <<_ACEOF
18420 #define HAVE_REQUEST_SENSE 1
18421 _ACEOF
18427 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
18428 #ifdef HAVE_SYS_SOCKET_H
18429 #include <sys/socket.h>
18430 #endif
18431 #ifdef HAVE_SYS_SOCKETVAR_H
18432 #include <sys/socketvar.h>
18433 #endif
18434 #ifdef HAVE_NET_ROUTE_H
18435 #include <net/route.h>
18436 #endif
18437 #ifdef HAVE_NETINET_IN_H
18438 #include <netinet/in.h>
18439 #endif
18440 #ifdef HAVE_NETINET_IN_SYSTM_H
18441 #include <netinet/in_systm.h>
18442 #endif
18443 #ifdef HAVE_NETINET_IP_H
18444 #include <netinet/ip.h>
18445 #endif
18446 #ifdef HAVE_NETINET_IN_PCB_H
18447 #include <netinet/in_pcb.h>
18448 #endif
18450 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
18452 cat >>confdefs.h <<_ACEOF
18453 #define HAVE_STRUCT_XINPGEN 1
18454 _ACEOF
18460 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
18461 #include <link.h>
18462 #endif
18463 #ifdef HAVE_SYS_LINK_H
18464 #include <sys/link.h>
18465 #endif
18467 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
18469 cat >>confdefs.h <<_ACEOF
18470 #define HAVE_STRUCT_R_DEBUG 1
18471 _ACEOF
18475 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
18476 #include <link.h>
18477 #endif
18478 #ifdef HAVE_SYS_LINK_H
18479 #include <sys/link.h>
18480 #endif
18482 if test "x$ac_cv_type_struct_link_map" = xyes; then :
18484 cat >>confdefs.h <<_ACEOF
18485 #define HAVE_STRUCT_LINK_MAP 1
18486 _ACEOF
18492 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
18493 #include <linux/input.h>
18494 #endif
18496 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
18498 cat >>confdefs.h <<_ACEOF
18499 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
18500 _ACEOF
18506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
18507 $as_echo_n "checking for if_nameindex... " >&6; }
18508 if ${wine_cv_have_if_nameindex+:} false; then :
18509 $as_echo_n "(cached) " >&6
18510 else
18511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18512 /* end confdefs.h. */
18513 #ifdef HAVE_SYS_TYPES_H
18514 #include <sys/types.h>
18515 #endif
18516 #ifdef HAVE_SYS_SOCKET_H
18517 #include <sys/socket.h>
18518 #endif
18519 #ifdef HAVE_NET_IF_H
18520 # include <net/if.h>
18521 #endif
18523 main ()
18525 struct if_nameindex *p = if_nameindex(); return p->if_index;
18527 return 0;
18529 _ACEOF
18530 if ac_fn_c_try_link "$LINENO"; then :
18531 wine_cv_have_if_nameindex=yes
18532 else
18533 wine_cv_have_if_nameindex=no
18535 rm -f core conftest.err conftest.$ac_objext \
18536 conftest$ac_exeext conftest.$ac_ext
18538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
18539 $as_echo "$wine_cv_have_if_nameindex" >&6; }
18540 if test "$wine_cv_have_if_nameindex" = "yes"
18541 then
18543 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
18547 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
18548 $as_echo_n "checking for sigaddset... " >&6; }
18549 if ${wine_cv_have_sigaddset+:} false; then :
18550 $as_echo_n "(cached) " >&6
18551 else
18552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18553 /* end confdefs.h. */
18554 #include <signal.h>
18556 main ()
18558 sigset_t set; sigaddset(&set,SIGTERM);
18560 return 0;
18562 _ACEOF
18563 if ac_fn_c_try_link "$LINENO"; then :
18564 wine_cv_have_sigaddset=yes
18565 else
18566 wine_cv_have_sigaddset=no
18568 rm -f core conftest.err conftest.$ac_objext \
18569 conftest$ac_exeext conftest.$ac_ext
18571 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
18572 $as_echo "$wine_cv_have_sigaddset" >&6; }
18573 if test "$wine_cv_have_sigaddset" = "yes"
18574 then
18576 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
18581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
18582 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
18583 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
18584 $as_echo_n "(cached) " >&6
18585 else
18586 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18587 /* end confdefs.h. */
18588 #include <netdb.h>
18590 main ()
18593 char *name=0;
18594 struct hostent he;
18595 struct hostent *result;
18596 char *buf=0;
18597 int bufsize=0;
18598 int errnr;
18599 char *addr=0;
18600 int addrlen=0;
18601 int addrtype=0;
18602 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
18603 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
18606 return 0;
18608 _ACEOF
18609 if ac_fn_c_try_link "$LINENO"; then :
18610 wine_cv_linux_gethostbyname_r_6=yes
18611 else
18612 wine_cv_linux_gethostbyname_r_6=no
18615 rm -f core conftest.err conftest.$ac_objext \
18616 conftest$ac_exeext conftest.$ac_ext
18619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
18620 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
18621 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
18622 then
18624 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
18628 if test "$ac_cv_header_linux_joystick_h" = "yes"
18629 then
18630 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
18631 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
18632 if ${wine_cv_linux_joystick_22_api+:} false; then :
18633 $as_echo_n "(cached) " >&6
18634 else
18635 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18636 /* end confdefs.h. */
18638 #include <sys/ioctl.h>
18639 #include <sys/types.h>
18640 #include <linux/joystick.h>
18642 struct js_event blub;
18643 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
18644 #error "no 2.2 header"
18645 #endif
18648 main ()
18650 /*empty*/
18652 return 0;
18654 _ACEOF
18655 if ac_fn_c_try_compile "$LINENO"; then :
18656 wine_cv_linux_joystick_22_api=yes
18657 else
18658 wine_cv_linux_joystick_22_api=no
18660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
18664 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
18665 if test "$wine_cv_linux_joystick_22_api" = "yes"
18666 then
18668 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
18674 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
18675 #ifdef HAVE_SYS_PARAM_H
18676 # include <sys/param.h>
18677 #endif
18678 #ifdef HAVE_SYS_MOUNT_H
18679 # include <sys/mount.h>
18680 #endif
18681 #ifdef HAVE_SYS_VFS_H
18682 # include <sys/vfs.h>
18683 #endif
18684 #ifdef HAVE_SYS_STATFS_H
18685 # include <sys/statfs.h>
18686 #endif
18688 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
18690 cat >>confdefs.h <<_ACEOF
18691 #define HAVE_STRUCT_STATFS_F_BFREE 1
18692 _ACEOF
18696 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
18697 #ifdef HAVE_SYS_PARAM_H
18698 # include <sys/param.h>
18699 #endif
18700 #ifdef HAVE_SYS_MOUNT_H
18701 # include <sys/mount.h>
18702 #endif
18703 #ifdef HAVE_SYS_VFS_H
18704 # include <sys/vfs.h>
18705 #endif
18706 #ifdef HAVE_SYS_STATFS_H
18707 # include <sys/statfs.h>
18708 #endif
18710 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
18712 cat >>confdefs.h <<_ACEOF
18713 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
18714 _ACEOF
18718 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
18719 #ifdef HAVE_SYS_PARAM_H
18720 # include <sys/param.h>
18721 #endif
18722 #ifdef HAVE_SYS_MOUNT_H
18723 # include <sys/mount.h>
18724 #endif
18725 #ifdef HAVE_SYS_VFS_H
18726 # include <sys/vfs.h>
18727 #endif
18728 #ifdef HAVE_SYS_STATFS_H
18729 # include <sys/statfs.h>
18730 #endif
18732 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
18734 cat >>confdefs.h <<_ACEOF
18735 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
18736 _ACEOF
18740 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
18741 #ifdef HAVE_SYS_PARAM_H
18742 # include <sys/param.h>
18743 #endif
18744 #ifdef HAVE_SYS_MOUNT_H
18745 # include <sys/mount.h>
18746 #endif
18747 #ifdef HAVE_SYS_VFS_H
18748 # include <sys/vfs.h>
18749 #endif
18750 #ifdef HAVE_SYS_STATFS_H
18751 # include <sys/statfs.h>
18752 #endif
18754 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
18756 cat >>confdefs.h <<_ACEOF
18757 #define HAVE_STRUCT_STATFS_F_FFREE 1
18758 _ACEOF
18762 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
18763 #ifdef HAVE_SYS_PARAM_H
18764 # include <sys/param.h>
18765 #endif
18766 #ifdef HAVE_SYS_MOUNT_H
18767 # include <sys/mount.h>
18768 #endif
18769 #ifdef HAVE_SYS_VFS_H
18770 # include <sys/vfs.h>
18771 #endif
18772 #ifdef HAVE_SYS_STATFS_H
18773 # include <sys/statfs.h>
18774 #endif
18776 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
18778 cat >>confdefs.h <<_ACEOF
18779 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
18780 _ACEOF
18784 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
18785 #ifdef HAVE_SYS_PARAM_H
18786 # include <sys/param.h>
18787 #endif
18788 #ifdef HAVE_SYS_MOUNT_H
18789 # include <sys/mount.h>
18790 #endif
18791 #ifdef HAVE_SYS_VFS_H
18792 # include <sys/vfs.h>
18793 #endif
18794 #ifdef HAVE_SYS_STATFS_H
18795 # include <sys/statfs.h>
18796 #endif
18798 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
18800 cat >>confdefs.h <<_ACEOF
18801 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
18802 _ACEOF
18808 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
18809 #include <sys/statvfs.h>
18810 #endif
18812 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
18814 cat >>confdefs.h <<_ACEOF
18815 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
18816 _ACEOF
18822 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
18823 #include <dirent.h>
18824 #endif
18826 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
18828 cat >>confdefs.h <<_ACEOF
18829 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
18830 _ACEOF
18836 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
18837 #ifdef HAVE_SYS_SOCKET_H
18838 # include <sys/socket.h>
18839 #endif
18840 #ifdef HAVE_SYS_UN_H
18841 # include <sys/un.h>
18842 #endif
18844 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
18846 cat >>confdefs.h <<_ACEOF
18847 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
18848 _ACEOF
18852 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
18853 #ifdef HAVE_SYS_SOCKET_H
18854 # include <sys/socket.h>
18855 #endif
18856 #ifdef HAVE_SYS_UN_H
18857 # include <sys/un.h>
18858 #endif
18860 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
18862 cat >>confdefs.h <<_ACEOF
18863 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
18864 _ACEOF
18868 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
18869 #ifdef HAVE_SYS_SOCKET_H
18870 # include <sys/socket.h>
18871 #endif
18872 #ifdef HAVE_SYS_UN_H
18873 # include <sys/un.h>
18874 #endif
18876 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
18878 cat >>confdefs.h <<_ACEOF
18879 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
18880 _ACEOF
18886 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
18887 #ifdef HAVE_SCSI_SG_H
18888 #include <scsi/sg.h>
18889 #endif
18891 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
18893 cat >>confdefs.h <<_ACEOF
18894 #define HAVE_SCSIREQ_T_CMD 1
18895 _ACEOF
18899 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>
18900 #ifdef HAVE_SCSI_SG_H
18901 #include <scsi/sg.h>
18902 #endif
18904 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
18906 cat >>confdefs.h <<_ACEOF
18907 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
18908 _ACEOF
18914 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
18916 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
18918 cat >>confdefs.h <<_ACEOF
18919 #define HAVE_SIGINFO_T_SI_FD 1
18920 _ACEOF
18926 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
18927 #ifdef HAVE_SYS_MTIO_H
18928 #include <sys/mtio.h>
18929 #endif
18931 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
18933 cat >>confdefs.h <<_ACEOF
18934 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
18935 _ACEOF
18939 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
18940 #ifdef HAVE_SYS_MTIO_H
18941 #include <sys/mtio.h>
18942 #endif
18944 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
18946 cat >>confdefs.h <<_ACEOF
18947 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
18948 _ACEOF
18952 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
18953 #ifdef HAVE_SYS_MTIO_H
18954 #include <sys/mtio.h>
18955 #endif
18957 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
18959 cat >>confdefs.h <<_ACEOF
18960 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
18961 _ACEOF
18967 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
18968 #include <getopt.h>
18969 #endif
18971 if test "x$ac_cv_member_struct_option_name" = xyes; then :
18973 cat >>confdefs.h <<_ACEOF
18974 #define HAVE_STRUCT_OPTION_NAME 1
18975 _ACEOF
18981 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
18982 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
18984 cat >>confdefs.h <<_ACEOF
18985 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
18986 _ACEOF
18990 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
18991 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
18993 cat >>confdefs.h <<_ACEOF
18994 #define HAVE_STRUCT_STAT_ST_MTIM 1
18995 _ACEOF
18999 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
19000 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
19002 cat >>confdefs.h <<_ACEOF
19003 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
19004 _ACEOF
19008 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
19009 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
19011 cat >>confdefs.h <<_ACEOF
19012 #define HAVE_STRUCT_STAT_ST_CTIM 1
19013 _ACEOF
19017 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
19018 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
19020 cat >>confdefs.h <<_ACEOF
19021 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
19022 _ACEOF
19026 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
19027 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
19029 cat >>confdefs.h <<_ACEOF
19030 #define HAVE_STRUCT_STAT_ST_ATIM 1
19031 _ACEOF
19035 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
19036 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
19038 cat >>confdefs.h <<_ACEOF
19039 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
19040 _ACEOF
19044 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
19045 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
19047 cat >>confdefs.h <<_ACEOF
19048 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
19049 _ACEOF
19053 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
19054 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
19056 cat >>confdefs.h <<_ACEOF
19057 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
19058 _ACEOF
19062 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
19063 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
19065 cat >>confdefs.h <<_ACEOF
19066 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
19067 _ACEOF
19071 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
19072 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
19074 cat >>confdefs.h <<_ACEOF
19075 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
19076 _ACEOF
19080 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
19081 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
19083 cat >>confdefs.h <<_ACEOF
19084 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
19085 _ACEOF
19091 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
19092 #include <sys/types.h>
19093 #endif
19094 #ifdef HAVE_NETINET_IN_H
19095 #include <netinet/in.h>
19096 #endif
19098 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
19100 cat >>confdefs.h <<_ACEOF
19101 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
19102 _ACEOF
19108 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
19109 #include <sys/types.h>
19110 #endif
19111 #ifdef HAVE_NETINET_IN_H
19112 #include <netinet/in.h>
19113 #endif
19114 #ifdef HAVE_RESOLV_H
19115 #include <resolv.h>
19116 #endif
19118 if test "x$ac_cv_type_struct___res_state" = xyes; then :
19120 cat >>confdefs.h <<_ACEOF
19121 #define HAVE_STRUCT___RES_STATE 1
19122 _ACEOF
19128 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
19129 #include <resolv.h>
19130 #endif
19132 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
19134 cat >>confdefs.h <<_ACEOF
19135 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
19136 _ACEOF
19142 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
19143 #include <sys/types.h>
19144 #endif
19145 #ifdef HAVE_NETINET_IN_H
19146 # include <netinet/in.h>
19147 #endif
19148 #ifdef HAVE_ARPA_NAMESER_H
19149 # include <arpa/nameser.h>
19150 #endif
19152 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
19154 cat >>confdefs.h <<_ACEOF
19155 #define HAVE_NS_MSG__MSG_PTR 1
19156 _ACEOF
19162 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#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_NETINET_IP_H
19169 #include <netinet/ip.h>
19170 #endif
19171 #ifdef HAVE_NETINET_IP_ICMP_H
19172 #include <netinet/ip_icmp.h>
19173 #endif
19174 #ifdef HAVE_NETINET_ICMP_VAR_H
19175 #include <netinet/icmp_var.h>
19176 #endif
19178 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
19180 cat >>confdefs.h <<_ACEOF
19181 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
19182 _ACEOF
19188 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
19189 #include <sys/types.h>
19190 #endif
19191 #ifdef HAVE_ALIAS_H
19192 #include <alias.h>
19193 #endif
19194 #ifdef HAVE_SYS_SOCKET_H
19195 #include <sys/socket.h>
19196 #endif
19197 #ifdef HAVE_SYS_SOCKETVAR_H
19198 #include <sys/socketvar.h>
19199 #endif
19200 #ifdef HAVE_SYS_TIMEOUT_H
19201 #include <sys/timeout.h>
19202 #endif
19203 #ifdef HAVE_NETINET_IN_H
19204 #include <netinet/in.h>
19205 #endif
19206 #ifdef HAVE_NETINET_IN_SYSTM_H
19207 #include <netinet/in_systm.h>
19208 #endif
19209 #ifdef HAVE_NETINET_IP_H
19210 #include <netinet/ip.h>
19211 #endif
19212 #ifdef HAVE_NETINET_IP_VAR_H
19213 #include <netinet/ip_var.h>
19214 #endif
19215 #ifdef HAVE_NETINET_IP_ICMP_H
19216 #include <netinet/ip_icmp.h>
19217 #endif
19218 #ifdef HAVE_NETINET_ICMP_VAR_H
19219 #include <netinet/icmp_var.h>
19220 #endif
19222 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
19224 cat >>confdefs.h <<_ACEOF
19225 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
19226 _ACEOF
19232 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
19233 #include <sys/types.h>
19234 #endif
19235 #ifdef HAVE_SYS_SOCKETVAR_H
19236 #include <sys/socketvar.h>
19237 #endif
19238 #ifdef HAVE_NETINET_IN_H
19239 #include <netinet/in.h>
19240 #endif
19241 #ifdef HAVE_NETINET_IP_VAR_H
19242 #include <netinet/ip_var.h>
19243 #endif
19245 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
19247 cat >>confdefs.h <<_ACEOF
19248 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
19249 _ACEOF
19255 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
19256 #include <netinet/ip_var.h>
19257 #endif
19259 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
19261 cat >>confdefs.h <<_ACEOF
19262 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
19263 _ACEOF
19269 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
19270 #include <sys/types.h>
19271 #endif
19272 #ifdef HAVE_SYS_SOCKETVAR_H
19273 #include <sys/socketvar.h>
19274 #endif
19275 #ifdef HAVE_NETINET_IN_H
19276 #include <netinet/in.h>
19277 #endif
19278 #ifdef HAVE_NETINET_TCP_H
19279 #include <netinet/tcp.h>
19280 #endif
19281 #ifdef HAVE_NETINET_TCP_VAR_H
19282 #include <netinet/tcp_var.h>
19283 #endif
19285 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
19287 cat >>confdefs.h <<_ACEOF
19288 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
19289 _ACEOF
19295 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
19296 #include <netinet/tcp_var.h>
19297 #endif
19299 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
19301 cat >>confdefs.h <<_ACEOF
19302 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
19303 _ACEOF
19309 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
19310 #include <sys/types.h>
19311 #endif
19312 #ifdef HAVE_NETINET_IN_H
19313 #include <netinet/in.h>
19314 #endif
19315 #ifdef HAVE_NETINET_IP_VAR_H
19316 #include <netinet/ip_var.h>
19317 #endif
19318 #ifdef HAVE_NETINET_UDP_H
19319 #include <netinet/udp.h>
19320 #endif
19321 #ifdef HAVE_NETINET_UDP_VAR_H
19322 #include <netinet/udp_var.h>
19323 #endif
19325 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
19327 cat >>confdefs.h <<_ACEOF
19328 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
19329 _ACEOF
19335 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
19336 #include <sys/types.h>
19337 #endif
19338 #ifdef HAVE_NET_IF_H
19339 # include <net/if.h>
19340 #endif
19342 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
19344 cat >>confdefs.h <<_ACEOF
19345 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
19346 _ACEOF
19352 ac_save_LIBS="$LIBS"
19353 LIBS="$LIBS -lm"
19354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
19355 $as_echo_n "checking for isfinite... " >&6; }
19356 if ${ac_cv_have_isfinite+:} false; then :
19357 $as_echo_n "(cached) " >&6
19358 else
19359 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19360 /* end confdefs.h. */
19361 #define _GNU_SOURCE
19362 #include <math.h>
19364 main ()
19366 float f = 0.0; return isfinite(f)
19368 return 0;
19370 _ACEOF
19371 if ac_fn_c_try_link "$LINENO"; then :
19372 ac_cv_have_isfinite="yes"
19373 else
19374 ac_cv_have_isfinite="no"
19376 rm -f core conftest.err conftest.$ac_objext \
19377 conftest$ac_exeext conftest.$ac_ext
19379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
19380 $as_echo "$ac_cv_have_isfinite" >&6; }
19381 if test "$ac_cv_have_isfinite" = "yes"
19382 then
19384 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
19388 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
19389 $as_echo_n "checking for isinf... " >&6; }
19390 if ${ac_cv_have_isinf+:} false; then :
19391 $as_echo_n "(cached) " >&6
19392 else
19393 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19394 /* end confdefs.h. */
19395 #include <math.h>
19397 main ()
19399 float f = 0.0; return isinf(f)
19401 return 0;
19403 _ACEOF
19404 if ac_fn_c_try_link "$LINENO"; then :
19405 ac_cv_have_isinf="yes"
19406 else
19407 ac_cv_have_isinf="no"
19409 rm -f core conftest.err conftest.$ac_objext \
19410 conftest$ac_exeext conftest.$ac_ext
19412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
19413 $as_echo "$ac_cv_have_isinf" >&6; }
19414 if test "$ac_cv_have_isinf" = "yes"
19415 then
19417 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
19421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
19422 $as_echo_n "checking for isnan... " >&6; }
19423 if ${ac_cv_have_isnan+:} false; then :
19424 $as_echo_n "(cached) " >&6
19425 else
19426 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19427 /* end confdefs.h. */
19428 #include <math.h>
19430 main ()
19432 float f = 0.0; return isnan(f)
19434 return 0;
19436 _ACEOF
19437 if ac_fn_c_try_link "$LINENO"; then :
19438 ac_cv_have_isnan="yes"
19439 else
19440 ac_cv_have_isnan="no"
19442 rm -f core conftest.err conftest.$ac_objext \
19443 conftest$ac_exeext conftest.$ac_ext
19445 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
19446 $as_echo "$ac_cv_have_isnan" >&6; }
19447 if test "$ac_cv_have_isnan" = "yes"
19448 then
19450 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
19454 for ac_func in \
19455 acosh \
19456 acoshf \
19457 asinh \
19458 asinhf \
19459 atanh \
19460 atanhf \
19461 cbrt \
19462 cbrtf \
19463 erf \
19464 erfc \
19465 erfcf \
19466 erff \
19467 exp2 \
19468 exp2f \
19469 expm1 \
19470 expm1f \
19471 fma \
19472 fmaf \
19473 ilogb \
19474 ilogbf \
19475 j0 \
19476 j1 \
19477 jn \
19478 lgamma \
19479 lgammaf \
19480 llrint \
19481 llrintf \
19482 llround \
19483 llroundf \
19484 log1p \
19485 log1pf \
19486 log2 \
19487 log2f \
19488 lrint \
19489 lrintf \
19490 lround \
19491 lroundf \
19492 nearbyint \
19493 nearbyintf \
19494 nexttoward \
19495 nexttowardf \
19496 powl \
19497 remainder \
19498 remainderf \
19499 remquo \
19500 remquof \
19501 rint \
19502 rintf \
19503 round \
19504 roundf \
19505 tgamma \
19506 tgammaf \
19507 trunc \
19508 truncf \
19509 y0 \
19510 y1 \
19513 do :
19514 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19515 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
19516 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
19517 cat >>confdefs.h <<_ACEOF
19518 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19519 _ACEOF
19522 done
19524 LIBS="$ac_save_LIBS"
19526 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
19527 $as_echo_n "checking for __builtin_popcount... " >&6; }
19528 if ${ac_cv_have___builtin_popcount+:} false; then :
19529 $as_echo_n "(cached) " >&6
19530 else
19531 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19532 /* end confdefs.h. */
19535 main ()
19537 return __builtin_popcount(1)
19539 return 0;
19541 _ACEOF
19542 if ac_fn_c_try_link "$LINENO"; then :
19543 ac_cv_have___builtin_popcount="yes"
19544 else
19545 ac_cv_have___builtin_popcount="no"
19547 rm -f core conftest.err conftest.$ac_objext \
19548 conftest$ac_exeext conftest.$ac_ext
19550 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
19551 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
19552 if test "$ac_cv_have___builtin_popcount" = "yes"
19553 then
19555 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
19559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
19560 $as_echo_n "checking for __clear_cache... " >&6; }
19561 if ${ac_cv_have___clear_cache+:} false; then :
19562 $as_echo_n "(cached) " >&6
19563 else
19564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19565 /* end confdefs.h. */
19568 main ()
19570 __clear_cache((void*)0, (void*)0); return 0;
19572 return 0;
19574 _ACEOF
19575 if ac_fn_c_try_link "$LINENO"; then :
19576 ac_cv_have___clear_cache="yes"
19577 else
19578 ac_cv_have___clear_cache="no"
19580 rm -f core conftest.err conftest.$ac_objext \
19581 conftest$ac_exeext conftest.$ac_ext
19583 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
19584 $as_echo "$ac_cv_have___clear_cache" >&6; }
19585 if test "$ac_cv_have___clear_cache" = "yes"
19586 then
19588 $as_echo "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
19593 case $host_cpu in
19594 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
19595 $as_echo_n "checking whether we need to define __i386__... " >&6; }
19596 if ${ac_cv_cpp_def___i386__+:} false; then :
19597 $as_echo_n "(cached) " >&6
19598 else
19599 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19600 /* end confdefs.h. */
19601 #ifndef __i386__
19603 #endif
19604 _ACEOF
19605 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19606 $EGREP "yes" >/dev/null 2>&1; then :
19607 ac_cv_cpp_def___i386__=yes
19608 else
19609 ac_cv_cpp_def___i386__=no
19611 rm -f conftest*
19614 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
19615 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
19616 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
19617 CFLAGS="$CFLAGS -D__i386__"
19618 LINTFLAGS="$LINTFLAGS -D__i386__"
19619 fi ;;
19620 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
19621 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
19622 if ${ac_cv_cpp_def___x86_64__+:} false; then :
19623 $as_echo_n "(cached) " >&6
19624 else
19625 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19626 /* end confdefs.h. */
19627 #ifndef __x86_64__
19629 #endif
19630 _ACEOF
19631 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19632 $EGREP "yes" >/dev/null 2>&1; then :
19633 ac_cv_cpp_def___x86_64__=yes
19634 else
19635 ac_cv_cpp_def___x86_64__=no
19637 rm -f conftest*
19640 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
19641 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
19642 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
19643 CFLAGS="$CFLAGS -D__x86_64__"
19644 LINTFLAGS="$LINTFLAGS -D__x86_64__"
19645 fi ;;
19646 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
19647 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
19648 if ${ac_cv_cpp_def___sparc64__+:} false; then :
19649 $as_echo_n "(cached) " >&6
19650 else
19651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19652 /* end confdefs.h. */
19653 #ifndef __sparc64__
19655 #endif
19656 _ACEOF
19657 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19658 $EGREP "yes" >/dev/null 2>&1; then :
19659 ac_cv_cpp_def___sparc64__=yes
19660 else
19661 ac_cv_cpp_def___sparc64__=no
19663 rm -f conftest*
19666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
19667 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
19668 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
19669 CFLAGS="$CFLAGS -D__sparc64__"
19670 LINTFLAGS="$LINTFLAGS -D__sparc64__"
19671 fi ;;
19672 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
19673 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
19674 if ${ac_cv_cpp_def___sparc__+:} false; then :
19675 $as_echo_n "(cached) " >&6
19676 else
19677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19678 /* end confdefs.h. */
19679 #ifndef __sparc__
19681 #endif
19682 _ACEOF
19683 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19684 $EGREP "yes" >/dev/null 2>&1; then :
19685 ac_cv_cpp_def___sparc__=yes
19686 else
19687 ac_cv_cpp_def___sparc__=no
19689 rm -f conftest*
19692 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
19693 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
19694 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
19695 CFLAGS="$CFLAGS -D__sparc__"
19696 LINTFLAGS="$LINTFLAGS -D__sparc__"
19697 fi ;;
19698 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
19699 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
19700 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
19701 $as_echo_n "(cached) " >&6
19702 else
19703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19704 /* end confdefs.h. */
19705 #ifndef __powerpc64__
19707 #endif
19708 _ACEOF
19709 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19710 $EGREP "yes" >/dev/null 2>&1; then :
19711 ac_cv_cpp_def___powerpc64__=yes
19712 else
19713 ac_cv_cpp_def___powerpc64__=no
19715 rm -f conftest*
19718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
19719 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
19720 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
19721 CFLAGS="$CFLAGS -D__powerpc64__"
19722 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
19723 fi ;;
19724 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
19725 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
19726 if ${ac_cv_cpp_def___powerpc__+:} false; then :
19727 $as_echo_n "(cached) " >&6
19728 else
19729 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19730 /* end confdefs.h. */
19731 #ifndef __powerpc__
19733 #endif
19734 _ACEOF
19735 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19736 $EGREP "yes" >/dev/null 2>&1; then :
19737 ac_cv_cpp_def___powerpc__=yes
19738 else
19739 ac_cv_cpp_def___powerpc__=no
19741 rm -f conftest*
19744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
19745 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
19746 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
19747 CFLAGS="$CFLAGS -D__powerpc__"
19748 LINTFLAGS="$LINTFLAGS -D__powerpc__"
19749 fi ;;
19750 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
19751 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
19752 if ${ac_cv_cpp_def___aarch64__+:} false; then :
19753 $as_echo_n "(cached) " >&6
19754 else
19755 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19756 /* end confdefs.h. */
19757 #ifndef __aarch64__
19759 #endif
19760 _ACEOF
19761 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19762 $EGREP "yes" >/dev/null 2>&1; then :
19763 ac_cv_cpp_def___aarch64__=yes
19764 else
19765 ac_cv_cpp_def___aarch64__=no
19767 rm -f conftest*
19770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
19771 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
19772 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
19773 CFLAGS="$CFLAGS -D__aarch64__"
19774 LINTFLAGS="$LINTFLAGS -D__aarch64__"
19775 fi ;;
19776 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
19777 $as_echo_n "checking whether we need to define __arm__... " >&6; }
19778 if ${ac_cv_cpp_def___arm__+:} false; then :
19779 $as_echo_n "(cached) " >&6
19780 else
19781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19782 /* end confdefs.h. */
19783 #ifndef __arm__
19785 #endif
19786 _ACEOF
19787 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19788 $EGREP "yes" >/dev/null 2>&1; then :
19789 ac_cv_cpp_def___arm__=yes
19790 else
19791 ac_cv_cpp_def___arm__=no
19793 rm -f conftest*
19796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
19797 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
19798 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
19799 CFLAGS="$CFLAGS -D__arm__"
19800 LINTFLAGS="$LINTFLAGS -D__arm__"
19801 fi ;;
19802 esac
19804 case $host_vendor in
19805 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
19806 $as_echo_n "checking whether we need to define __sun__... " >&6; }
19807 if ${ac_cv_cpp_def___sun__+:} false; then :
19808 $as_echo_n "(cached) " >&6
19809 else
19810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19811 /* end confdefs.h. */
19812 #ifndef __sun__
19814 #endif
19815 _ACEOF
19816 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19817 $EGREP "yes" >/dev/null 2>&1; then :
19818 ac_cv_cpp_def___sun__=yes
19819 else
19820 ac_cv_cpp_def___sun__=no
19822 rm -f conftest*
19825 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
19826 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
19827 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
19828 CFLAGS="$CFLAGS -D__sun__"
19829 LINTFLAGS="$LINTFLAGS -D__sun__"
19830 fi ;;
19831 esac
19837 ac_config_commands="$ac_config_commands include/stamp-h"
19839 $as_echo_n "creating Makefile rules..." >&6
19841 ALL_VARS_RULES="I386_LIBS = $I386_LIBS
19842 OPENGL_LIBS = $OPENGL_LIBS
19843 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
19844 IOKIT_LIBS = $IOKIT_LIBS
19845 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
19846 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
19847 CORESERVICES_LIBS = $CORESERVICES_LIBS
19848 APPKIT_LIBS = $APPKIT_LIBS
19849 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
19850 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
19851 SECURITY_LIBS = $SECURITY_LIBS
19852 COREAUDIO_LIBS = $COREAUDIO_LIBS
19853 OPENAL_LIBS = $OPENAL_LIBS
19854 OPENCL_LIBS = $OPENCL_LIBS
19855 QUICKTIME_LIBS = $QUICKTIME_LIBS
19856 CARBON_LIBS = $CARBON_LIBS
19857 METAL_LIBS = $METAL_LIBS
19858 PTHREAD_LIBS = $PTHREAD_LIBS
19859 X_CFLAGS = $X_CFLAGS
19860 X_PRE_LIBS = $X_PRE_LIBS
19861 X_LIBS = $X_LIBS
19862 X_EXTRA_LIBS = $X_EXTRA_LIBS
19863 PCAP_LIBS = $PCAP_LIBS
19864 XML2_CFLAGS = $XML2_CFLAGS
19865 XML2_LIBS = $XML2_LIBS
19866 XSLT_CFLAGS = $XSLT_CFLAGS
19867 XSLT_LIBS = $XSLT_LIBS
19868 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
19869 INOTIFY_LIBS = $INOTIFY_LIBS
19870 DBUS_CFLAGS = $DBUS_CFLAGS
19871 DBUS_LIBS = $DBUS_LIBS
19872 HAL_CFLAGS = $HAL_CFLAGS
19873 HAL_LIBS = $HAL_LIBS
19874 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
19875 GNUTLS_LIBS = $GNUTLS_LIBS
19876 SANE_CFLAGS = $SANE_CFLAGS
19877 SANE_LIBS = $SANE_LIBS
19878 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
19879 GPHOTO2_LIBS = $GPHOTO2_LIBS
19880 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
19881 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
19882 RESOLV_LIBS = $RESOLV_LIBS
19883 LCMS2_CFLAGS = $LCMS2_CFLAGS
19884 LCMS2_LIBS = $LCMS2_LIBS
19885 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
19886 FREETYPE_LIBS = $FREETYPE_LIBS
19887 Z_CFLAGS = $Z_CFLAGS
19888 Z_LIBS = $Z_LIBS
19889 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
19890 PULSE_CFLAGS = $PULSE_CFLAGS
19891 PULSE_LIBS = $PULSE_LIBS
19892 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
19893 GSTREAMER_LIBS = $GSTREAMER_LIBS
19894 ALSA_LIBS = $ALSA_LIBS
19895 OSS4_CFLAGS = $OSS4_CFLAGS
19896 OSS4_LIBS = $OSS4_LIBS
19897 UDEV_CFLAGS = $UDEV_CFLAGS
19898 UDEV_LIBS = $UDEV_LIBS
19899 UNWIND_CFLAGS = $UNWIND_CFLAGS
19900 UNWIND_LIBS = $UNWIND_LIBS
19901 SDL2_CFLAGS = $SDL2_CFLAGS
19902 SDL2_LIBS = $SDL2_LIBS
19903 FAUDIO_CFLAGS = $FAUDIO_CFLAGS
19904 FAUDIO_LIBS = $FAUDIO_LIBS
19905 CAPI20_CFLAGS = $CAPI20_CFLAGS
19906 CAPI20_LIBS = $CAPI20_LIBS
19907 CUPS_CFLAGS = $CUPS_CFLAGS
19908 CUPS_LIBS = $CUPS_LIBS
19909 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
19910 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
19911 KRB5_CFLAGS = $KRB5_CFLAGS
19912 KRB5_LIBS = $KRB5_LIBS
19913 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
19914 GSSAPI_LIBS = $GSSAPI_LIBS
19915 JPEG_CFLAGS = $JPEG_CFLAGS
19916 JPEG_LIBS = $JPEG_LIBS
19917 PNG_CFLAGS = $PNG_CFLAGS
19918 PNG_LIBS = $PNG_LIBS
19919 TIFF_CFLAGS = $TIFF_CFLAGS
19920 TIFF_LIBS = $TIFF_LIBS
19921 MPG123_CFLAGS = $MPG123_CFLAGS
19922 MPG123_LIBS = $MPG123_LIBS
19923 KSTAT_LIBS = $KSTAT_LIBS
19924 PROCSTAT_LIBS = $PROCSTAT_LIBS
19925 NETAPI_CFLAGS = $NETAPI_CFLAGS
19926 NETAPI_LIBS = $NETAPI_LIBS
19927 VKD3D_CFLAGS = $VKD3D_CFLAGS
19928 VKD3D_LIBS = $VKD3D_LIBS
19929 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
19930 DL_LIBS = $DL_LIBS
19931 POLL_LIBS = $POLL_LIBS
19932 RT_LIBS = $RT_LIBS
19933 LDAP_CFLAGS = $LDAP_CFLAGS
19934 LDAP_LIBS = $LDAP_LIBS
19939 wine_fn_append_rule "
19940 # Rules automatically generated by configure
19942 .INIT: Makefile
19943 .MAKEFILEDEPS:
19944 all: Makefile
19945 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
19946 @./config.status Make.tmp Makefile
19947 depend: \$(MAKEDEP) dummy
19948 \$(MAKEDEP)"
19950 ac_config_links="$ac_config_links wine:tools/winewrapper"
19951 wine_fn_config_symlink wine
19952 if test "x$enable_win64" != xno -o -n "$with_wine64"; then
19953 ac_config_links="$ac_config_links wine64:tools/winewrapper"
19954 wine_fn_config_symlink wine64
19957 wine_fn_config_makefile dlls/acledit enable_acledit
19958 wine_fn_config_makefile dlls/aclui enable_aclui
19959 wine_fn_config_makefile dlls/activeds enable_activeds
19960 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
19961 wine_fn_config_makefile dlls/adsiid enable_adsiid
19962 wine_fn_config_makefile dlls/adsldp enable_adsldp
19963 wine_fn_config_makefile dlls/adsldp/tests enable_tests
19964 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
19965 wine_fn_config_makefile dlls/advapi32 enable_advapi32
19966 wine_fn_config_makefile dlls/advapi32/tests enable_tests
19967 wine_fn_config_makefile dlls/advpack enable_advpack
19968 wine_fn_config_makefile dlls/advpack/tests enable_tests
19969 wine_fn_config_makefile dlls/amsi enable_amsi
19970 wine_fn_config_makefile dlls/amstream enable_amstream
19971 wine_fn_config_makefile dlls/amstream/tests enable_tests
19972 wine_fn_config_makefile dlls/api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
19973 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
19974 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
19975 wine_fn_config_makefile dlls/api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
19976 wine_fn_config_makefile dlls/api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
19977 wine_fn_config_makefile dlls/api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
19978 wine_fn_config_makefile dlls/api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
19979 wine_fn_config_makefile dlls/api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
19980 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
19981 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
19982 wine_fn_config_makefile dlls/api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
19983 wine_fn_config_makefile dlls/api-ms-win-core-comm-l1-1-0 enable_api_ms_win_core_comm_l1_1_0
19984 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
19985 wine_fn_config_makefile dlls/api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
19986 wine_fn_config_makefile dlls/api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
19987 wine_fn_config_makefile dlls/api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
19988 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
19989 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
19990 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
19991 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
19992 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
19993 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
19994 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
19995 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
19996 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
19997 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
19998 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
19999 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
20000 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
20001 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
20002 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
20003 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
20004 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
20005 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
20006 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
20007 wine_fn_config_makefile dlls/api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
20008 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
20009 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
20010 wine_fn_config_makefile dlls/api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
20011 wine_fn_config_makefile dlls/api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
20012 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
20013 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
20014 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
20015 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
20016 wine_fn_config_makefile dlls/api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
20017 wine_fn_config_makefile dlls/api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
20018 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
20019 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
20020 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
20021 wine_fn_config_makefile dlls/api-ms-win-core-largeinteger-l1-1-0 enable_api_ms_win_core_largeinteger_l1_1_0
20022 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
20023 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
20024 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
20025 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
20026 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
20027 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
20028 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
20029 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
20030 wine_fn_config_makefile dlls/api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
20031 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
20032 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
20033 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
20034 wine_fn_config_makefile dlls/api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
20035 wine_fn_config_makefile dlls/api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
20036 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
20037 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
20038 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
20039 wine_fn_config_makefile dlls/api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
20040 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
20041 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
20042 wine_fn_config_makefile dlls/api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
20043 wine_fn_config_makefile dlls/api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
20044 wine_fn_config_makefile dlls/api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
20045 wine_fn_config_makefile dlls/api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
20046 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
20047 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
20048 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
20049 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
20050 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
20051 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-3 enable_api_ms_win_core_processthreads_l1_1_3
20052 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
20053 wine_fn_config_makefile dlls/api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
20054 wine_fn_config_makefile dlls/api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
20055 wine_fn_config_makefile dlls/api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
20056 wine_fn_config_makefile dlls/api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
20057 wine_fn_config_makefile dlls/api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
20058 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
20059 wine_fn_config_makefile dlls/api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
20060 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
20061 wine_fn_config_makefile dlls/api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
20062 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
20063 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
20064 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
20065 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
20066 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
20067 wine_fn_config_makefile dlls/api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
20068 wine_fn_config_makefile dlls/api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
20069 wine_fn_config_makefile dlls/api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
20070 wine_fn_config_makefile dlls/api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
20071 wine_fn_config_makefile dlls/api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
20072 wine_fn_config_makefile dlls/api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
20073 wine_fn_config_makefile dlls/api-ms-win-core-stringloader-l1-1-1 enable_api_ms_win_core_stringloader_l1_1_1
20074 wine_fn_config_makefile dlls/api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
20075 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
20076 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
20077 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
20078 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
20079 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
20080 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
20081 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
20082 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
20083 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
20084 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
20085 wine_fn_config_makefile dlls/api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
20086 wine_fn_config_makefile dlls/api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
20087 wine_fn_config_makefile dlls/api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
20088 wine_fn_config_makefile dlls/api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
20089 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
20090 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
20091 wine_fn_config_makefile dlls/api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
20092 wine_fn_config_makefile dlls/api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
20093 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
20094 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
20095 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
20096 wine_fn_config_makefile dlls/api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
20097 wine_fn_config_makefile dlls/api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
20098 wine_fn_config_makefile dlls/api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
20099 wine_fn_config_makefile dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
20100 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
20101 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-1 enable_api_ms_win_core_winrt_string_l1_1_1
20102 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
20103 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
20104 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
20105 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
20106 wine_fn_config_makefile dlls/api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
20107 wine_fn_config_makefile dlls/api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
20108 wine_fn_config_makefile dlls/api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
20109 wine_fn_config_makefile dlls/api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
20110 wine_fn_config_makefile dlls/api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
20111 wine_fn_config_makefile dlls/api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
20112 wine_fn_config_makefile dlls/api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
20113 wine_fn_config_makefile dlls/api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
20114 wine_fn_config_makefile dlls/api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
20115 wine_fn_config_makefile dlls/api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
20116 wine_fn_config_makefile dlls/api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
20117 wine_fn_config_makefile dlls/api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
20118 wine_fn_config_makefile dlls/api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
20119 wine_fn_config_makefile dlls/api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
20120 wine_fn_config_makefile dlls/api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
20121 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-0 enable_api_ms_win_devices_config_l1_1_0
20122 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
20123 wine_fn_config_makefile dlls/api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
20124 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
20125 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
20126 wine_fn_config_makefile dlls/api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
20127 wine_fn_config_makefile dlls/api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
20128 wine_fn_config_makefile dlls/api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
20129 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
20130 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
20131 wine_fn_config_makefile dlls/api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
20132 wine_fn_config_makefile dlls/api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
20133 wine_fn_config_makefile dlls/api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
20134 wine_fn_config_makefile dlls/api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
20135 wine_fn_config_makefile dlls/api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
20136 wine_fn_config_makefile dlls/api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
20137 wine_fn_config_makefile dlls/api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
20138 wine_fn_config_makefile dlls/api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
20139 wine_fn_config_makefile dlls/api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
20140 wine_fn_config_makefile dlls/api-ms-win-gdi-dpiinfo-l1-1-0 enable_api_ms_win_gdi_dpiinfo_l1_1_0
20141 wine_fn_config_makefile dlls/api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
20142 wine_fn_config_makefile dlls/api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
20143 wine_fn_config_makefile dlls/api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
20144 wine_fn_config_makefile dlls/api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
20145 wine_fn_config_makefile dlls/api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
20146 wine_fn_config_makefile dlls/api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
20147 wine_fn_config_makefile dlls/api-ms-win-ntuser-sysparams-l1-1-0 enable_api_ms_win_ntuser_sysparams_l1_1_0
20148 wine_fn_config_makefile dlls/api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
20149 wine_fn_config_makefile dlls/api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
20150 wine_fn_config_makefile dlls/api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
20151 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-draw-l1-1-0 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
20152 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
20153 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-4 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
20154 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-window-l1-1-0 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
20155 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-winevent-l1-1-0 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
20156 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
20157 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-3 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
20158 wine_fn_config_makefile dlls/api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
20159 wine_fn_config_makefile dlls/api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
20160 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
20161 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
20162 wine_fn_config_makefile dlls/api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
20163 wine_fn_config_makefile dlls/api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
20164 wine_fn_config_makefile dlls/api-ms-win-security-cryptoapi-l1-1-0 enable_api_ms_win_security_cryptoapi_l1_1_0
20165 wine_fn_config_makefile dlls/api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
20166 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
20167 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
20168 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
20169 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
20170 wine_fn_config_makefile dlls/api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
20171 wine_fn_config_makefile dlls/api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
20172 wine_fn_config_makefile dlls/api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
20173 wine_fn_config_makefile dlls/api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
20174 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
20175 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
20176 wine_fn_config_makefile dlls/api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
20177 wine_fn_config_makefile dlls/api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
20178 wine_fn_config_makefile dlls/api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
20179 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
20180 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
20181 wine_fn_config_makefile dlls/api-ms-win-shcore-obsolete-l1-1-0 enable_api_ms_win_shcore_obsolete_l1_1_0
20182 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
20183 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-l1-1-0 enable_api_ms_win_shcore_stream_l1_1_0
20184 wine_fn_config_makefile dlls/api-ms-win-shcore-thread-l1-1-0 enable_api_ms_win_shcore_thread_l1_1_0
20185 wine_fn_config_makefile dlls/api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
20186 wine_fn_config_makefile dlls/api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
20187 wine_fn_config_makefile dlls/apphelp enable_apphelp
20188 wine_fn_config_makefile dlls/apphelp/tests enable_tests
20189 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
20190 wine_fn_config_makefile dlls/atl enable_atl
20191 wine_fn_config_makefile dlls/atl/tests enable_tests
20192 wine_fn_config_makefile dlls/atl100 enable_atl100
20193 wine_fn_config_makefile dlls/atl100/tests enable_tests
20194 wine_fn_config_makefile dlls/atl110 enable_atl110
20195 wine_fn_config_makefile dlls/atl80 enable_atl80
20196 wine_fn_config_makefile dlls/atl80/tests enable_tests
20197 wine_fn_config_makefile dlls/atl90 enable_atl90
20198 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
20199 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
20200 wine_fn_config_makefile dlls/atmlib enable_atmlib
20201 wine_fn_config_makefile dlls/authz enable_authz
20202 wine_fn_config_makefile dlls/avicap32 enable_avicap32
20203 wine_fn_config_makefile dlls/avifil32 enable_avifil32
20204 wine_fn_config_makefile dlls/avifil32/tests enable_tests
20205 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
20206 wine_fn_config_makefile dlls/avrt enable_avrt
20207 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
20208 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
20209 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
20210 wine_fn_config_makefile dlls/browseui enable_browseui
20211 wine_fn_config_makefile dlls/browseui/tests enable_tests
20212 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
20213 wine_fn_config_makefile dlls/cabinet enable_cabinet
20214 wine_fn_config_makefile dlls/cabinet/tests enable_tests
20215 wine_fn_config_makefile dlls/capi2032 enable_capi2032
20216 wine_fn_config_makefile dlls/cards enable_cards
20217 wine_fn_config_makefile dlls/cdosys enable_cdosys
20218 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
20219 wine_fn_config_makefile dlls/clusapi enable_clusapi
20220 wine_fn_config_makefile dlls/combase enable_combase
20221 wine_fn_config_makefile dlls/combase/tests enable_tests
20222 wine_fn_config_makefile dlls/comcat enable_comcat
20223 wine_fn_config_makefile dlls/comcat/tests enable_tests
20224 wine_fn_config_makefile dlls/comctl32 enable_comctl32
20225 wine_fn_config_makefile dlls/comctl32/tests enable_tests
20226 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
20227 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
20228 wine_fn_config_makefile dlls/comm.drv16 enable_win16
20229 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
20230 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
20231 wine_fn_config_makefile dlls/compstui enable_compstui
20232 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
20233 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
20234 wine_fn_config_makefile dlls/concrt140 enable_concrt140
20235 wine_fn_config_makefile dlls/connect enable_connect
20236 wine_fn_config_makefile dlls/credui enable_credui
20237 wine_fn_config_makefile dlls/credui/tests enable_tests
20238 wine_fn_config_makefile dlls/crtdll enable_crtdll
20239 wine_fn_config_makefile dlls/crypt32 enable_crypt32
20240 wine_fn_config_makefile dlls/crypt32/tests enable_tests
20241 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
20242 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
20243 wine_fn_config_makefile dlls/cryptext enable_cryptext
20244 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
20245 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
20246 wine_fn_config_makefile dlls/cryptui enable_cryptui
20247 wine_fn_config_makefile dlls/cryptui/tests enable_tests
20248 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
20249 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
20250 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
20251 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
20252 wine_fn_config_makefile dlls/d2d1 enable_d2d1
20253 wine_fn_config_makefile dlls/d2d1/tests enable_tests
20254 wine_fn_config_makefile dlls/d3d10 enable_d3d10
20255 wine_fn_config_makefile dlls/d3d10/tests enable_tests
20256 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
20257 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
20258 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
20259 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
20260 wine_fn_config_makefile dlls/d3d11 enable_d3d11
20261 wine_fn_config_makefile dlls/d3d11/tests enable_tests
20262 wine_fn_config_makefile dlls/d3d12 enable_d3d12
20263 wine_fn_config_makefile dlls/d3d12/tests enable_tests
20264 wine_fn_config_makefile dlls/d3d8 enable_d3d8
20265 wine_fn_config_makefile dlls/d3d8/tests enable_tests
20266 wine_fn_config_makefile dlls/d3d9 enable_d3d9
20267 wine_fn_config_makefile dlls/d3d9/tests enable_tests
20268 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
20269 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
20270 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
20271 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
20272 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
20273 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
20274 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
20275 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
20276 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
20277 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
20278 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
20279 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
20280 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
20281 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
20282 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
20283 wine_fn_config_makefile dlls/d3dim enable_d3dim
20284 wine_fn_config_makefile dlls/d3drm enable_d3drm
20285 wine_fn_config_makefile dlls/d3drm/tests enable_tests
20286 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
20287 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
20288 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
20289 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
20290 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
20291 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
20292 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
20293 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
20294 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
20295 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
20296 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
20297 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
20298 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
20299 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
20300 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
20301 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
20302 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
20303 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
20304 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
20305 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
20306 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
20307 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
20308 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
20309 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
20310 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
20311 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
20312 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
20313 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
20314 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
20315 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
20316 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
20317 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
20318 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
20319 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
20320 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
20321 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
20322 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
20323 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
20324 wine_fn_config_makefile dlls/davclnt enable_davclnt
20325 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
20326 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
20327 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
20328 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
20329 wine_fn_config_makefile dlls/dciman32 enable_dciman32
20330 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
20331 wine_fn_config_makefile dlls/ddraw enable_ddraw
20332 wine_fn_config_makefile dlls/ddraw/tests enable_tests
20333 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
20334 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
20335 wine_fn_config_makefile dlls/devenum enable_devenum
20336 wine_fn_config_makefile dlls/devenum/tests enable_tests
20337 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
20338 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
20339 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
20340 wine_fn_config_makefile dlls/difxapi enable_difxapi
20341 wine_fn_config_makefile dlls/dinput enable_dinput
20342 wine_fn_config_makefile dlls/dinput/tests enable_tests
20343 wine_fn_config_makefile dlls/dinput8 enable_dinput8
20344 wine_fn_config_makefile dlls/dinput8/tests enable_tests
20345 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
20346 wine_fn_config_makefile dlls/dispex enable_dispex
20347 wine_fn_config_makefile dlls/dispex/tests enable_tests
20348 wine_fn_config_makefile dlls/display.drv16 enable_win16
20349 wine_fn_config_makefile dlls/dmband enable_dmband
20350 wine_fn_config_makefile dlls/dmband/tests enable_tests
20351 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
20352 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
20353 wine_fn_config_makefile dlls/dmime enable_dmime
20354 wine_fn_config_makefile dlls/dmime/tests enable_tests
20355 wine_fn_config_makefile dlls/dmloader enable_dmloader
20356 wine_fn_config_makefile dlls/dmloader/tests enable_tests
20357 wine_fn_config_makefile dlls/dmoguids enable_dmoguids
20358 wine_fn_config_makefile dlls/dmscript enable_dmscript
20359 wine_fn_config_makefile dlls/dmscript/tests enable_tests
20360 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
20361 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
20362 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
20363 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
20364 wine_fn_config_makefile dlls/dmusic enable_dmusic
20365 wine_fn_config_makefile dlls/dmusic/tests enable_tests
20366 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
20367 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
20368 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
20369 wine_fn_config_makefile dlls/dplay enable_dplay
20370 wine_fn_config_makefile dlls/dplayx enable_dplayx
20371 wine_fn_config_makefile dlls/dplayx/tests enable_tests
20372 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
20373 wine_fn_config_makefile dlls/dpnet enable_dpnet
20374 wine_fn_config_makefile dlls/dpnet/tests enable_tests
20375 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
20376 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
20377 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
20378 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
20379 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
20380 wine_fn_config_makefile dlls/drmclien enable_drmclien
20381 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
20382 wine_fn_config_makefile dlls/dsound enable_dsound
20383 wine_fn_config_makefile dlls/dsound/tests enable_tests
20384 wine_fn_config_makefile dlls/dsquery enable_dsquery
20385 wine_fn_config_makefile dlls/dssenh enable_dssenh
20386 wine_fn_config_makefile dlls/dssenh/tests enable_tests
20387 wine_fn_config_makefile dlls/dswave enable_dswave
20388 wine_fn_config_makefile dlls/dswave/tests enable_tests
20389 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
20390 wine_fn_config_makefile dlls/dwrite enable_dwrite
20391 wine_fn_config_makefile dlls/dwrite/tests enable_tests
20392 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
20393 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
20394 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
20395 wine_fn_config_makefile dlls/dxerr8 enable_dxerr8
20396 wine_fn_config_makefile dlls/dxerr9 enable_dxerr9
20397 wine_fn_config_makefile dlls/dxgi enable_dxgi
20398 wine_fn_config_makefile dlls/dxgi/tests enable_tests
20399 wine_fn_config_makefile dlls/dxguid enable_dxguid
20400 wine_fn_config_makefile dlls/dxva2 enable_dxva2
20401 wine_fn_config_makefile dlls/esent enable_esent
20402 wine_fn_config_makefile dlls/evr enable_evr
20403 wine_fn_config_makefile dlls/evr/tests enable_tests
20404 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
20405 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
20406 wine_fn_config_makefile dlls/ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
20407 wine_fn_config_makefile dlls/ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
20408 wine_fn_config_makefile dlls/ext-ms-win-dwmapi-ext-l1-1-0 enable_ext_ms_win_dwmapi_ext_l1_1_0
20409 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-0 enable_ext_ms_win_gdi_dc_create_l1_1_0
20410 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
20411 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
20412 wine_fn_config_makefile dlls/ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
20413 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-0 enable_ext_ms_win_gdi_draw_l1_1_0
20414 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
20415 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-0 enable_ext_ms_win_gdi_font_l1_1_0
20416 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-1 enable_ext_ms_win_gdi_font_l1_1_1
20417 wine_fn_config_makefile dlls/ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
20418 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
20419 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
20420 wine_fn_config_makefile dlls/ext-ms-win-ntuser-dialogbox-l1-1-0 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
20421 wine_fn_config_makefile dlls/ext-ms-win-ntuser-draw-l1-1-0 enable_ext_ms_win_ntuser_draw_l1_1_0
20422 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-1-0 enable_ext_ms_win_ntuser_gui_l1_1_0
20423 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-3-0 enable_ext_ms_win_ntuser_gui_l1_3_0
20424 wine_fn_config_makefile dlls/ext-ms-win-ntuser-keyboard-l1-3-0 enable_ext_ms_win_ntuser_keyboard_l1_3_0
20425 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-0 enable_ext_ms_win_ntuser_message_l1_1_0
20426 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
20427 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-1-0 enable_ext_ms_win_ntuser_misc_l1_1_0
20428 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-2-0 enable_ext_ms_win_ntuser_misc_l1_2_0
20429 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-5-1 enable_ext_ms_win_ntuser_misc_l1_5_1
20430 wine_fn_config_makefile dlls/ext-ms-win-ntuser-mouse-l1-1-0 enable_ext_ms_win_ntuser_mouse_l1_1_0
20431 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
20432 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-3-1 enable_ext_ms_win_ntuser_private_l1_3_1
20433 wine_fn_config_makefile dlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
20434 wine_fn_config_makefile dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
20435 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-0 enable_ext_ms_win_ntuser_window_l1_1_0
20436 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
20437 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-4 enable_ext_ms_win_ntuser_window_l1_1_4
20438 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-0 enable_ext_ms_win_ntuser_windowclass_l1_1_0
20439 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
20440 wine_fn_config_makefile dlls/ext-ms-win-oleacc-l1-1-0 enable_ext_ms_win_oleacc_l1_1_0
20441 wine_fn_config_makefile dlls/ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
20442 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-devcaps-l1-1-0 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
20443 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
20444 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
20445 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-cursor-l1-1-0 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
20446 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
20447 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
20448 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-2-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
20449 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-rawinput-l1-1-0 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
20450 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-syscolors-l1-1-0 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
20451 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
20452 wine_fn_config_makefile dlls/ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
20453 wine_fn_config_makefile dlls/ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
20454 wine_fn_config_makefile dlls/ext-ms-win-shell-comctl32-init-l1-1-0 enable_ext_ms_win_shell_comctl32_init_l1_1_0
20455 wine_fn_config_makefile dlls/ext-ms-win-shell-comdlg32-l1-1-0 enable_ext_ms_win_shell_comdlg32_l1_1_0
20456 wine_fn_config_makefile dlls/ext-ms-win-shell-shell32-l1-2-0 enable_ext_ms_win_shell_shell32_l1_2_0
20457 wine_fn_config_makefile dlls/ext-ms-win-uxtheme-themes-l1-1-0 enable_ext_ms_win_uxtheme_themes_l1_1_0
20458 wine_fn_config_makefile dlls/faultrep enable_faultrep
20459 wine_fn_config_makefile dlls/faultrep/tests enable_tests
20460 wine_fn_config_makefile dlls/feclient enable_feclient
20461 wine_fn_config_makefile dlls/fltlib enable_fltlib
20462 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
20463 wine_fn_config_makefile dlls/fntcache enable_fntcache
20464 wine_fn_config_makefile dlls/fontsub enable_fontsub
20465 wine_fn_config_makefile dlls/fusion enable_fusion
20466 wine_fn_config_makefile dlls/fusion/tests enable_tests
20467 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
20468 wine_fn_config_makefile dlls/gameux enable_gameux
20469 wine_fn_config_makefile dlls/gameux/tests enable_tests
20470 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
20471 wine_fn_config_makefile dlls/gdi32 enable_gdi32
20472 wine_fn_config_makefile dlls/gdi32/tests enable_tests
20473 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
20474 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
20475 wine_fn_config_makefile dlls/glu32 enable_glu32
20476 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
20477 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
20478 wine_fn_config_makefile dlls/hal enable_hal
20479 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
20480 wine_fn_config_makefile dlls/hid enable_hid
20481 wine_fn_config_makefile dlls/hid/tests enable_tests
20482 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
20483 wine_fn_config_makefile dlls/hlink enable_hlink
20484 wine_fn_config_makefile dlls/hlink/tests enable_tests
20485 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
20486 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
20487 wine_fn_config_makefile dlls/http.sys enable_http_sys
20488 wine_fn_config_makefile dlls/httpapi enable_httpapi
20489 wine_fn_config_makefile dlls/httpapi/tests enable_tests
20490 wine_fn_config_makefile dlls/iccvid enable_iccvid
20491 wine_fn_config_makefile dlls/icmp enable_icmp
20492 wine_fn_config_makefile dlls/ieframe enable_ieframe
20493 wine_fn_config_makefile dlls/ieframe/tests enable_tests
20494 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
20495 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
20496 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
20497 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
20498 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
20499 wine_fn_config_makefile dlls/imm.dll16 enable_win16
20500 wine_fn_config_makefile dlls/imm32 enable_imm32
20501 wine_fn_config_makefile dlls/imm32/tests enable_tests
20502 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
20503 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
20504 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
20505 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
20506 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
20507 wine_fn_config_makefile dlls/infosoft enable_infosoft
20508 wine_fn_config_makefile dlls/infosoft/tests enable_tests
20509 wine_fn_config_makefile dlls/initpki enable_initpki
20510 wine_fn_config_makefile dlls/inkobj enable_inkobj
20511 wine_fn_config_makefile dlls/inseng enable_inseng
20512 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
20513 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
20514 wine_fn_config_makefile dlls/iprop enable_iprop
20515 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
20516 wine_fn_config_makefile dlls/itircl enable_itircl
20517 wine_fn_config_makefile dlls/itss enable_itss
20518 wine_fn_config_makefile dlls/itss/tests enable_tests
20519 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
20520 wine_fn_config_makefile dlls/jscript enable_jscript
20521 wine_fn_config_makefile dlls/jscript/tests enable_tests
20522 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
20523 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
20524 wine_fn_config_makefile dlls/kerberos enable_kerberos
20525 wine_fn_config_makefile dlls/kernel32 enable_kernel32
20526 wine_fn_config_makefile dlls/kernel32/tests enable_tests
20527 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
20528 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
20529 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
20530 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
20531 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
20532 wine_fn_config_makefile dlls/ksuser enable_ksuser
20533 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
20534 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
20535 wine_fn_config_makefile dlls/loadperf enable_loadperf
20536 wine_fn_config_makefile dlls/localspl enable_localspl
20537 wine_fn_config_makefile dlls/localspl/tests enable_tests
20538 wine_fn_config_makefile dlls/localui enable_localui
20539 wine_fn_config_makefile dlls/localui/tests enable_tests
20540 wine_fn_config_makefile dlls/lz32 enable_lz32
20541 wine_fn_config_makefile dlls/lz32/tests enable_tests
20542 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
20543 wine_fn_config_makefile dlls/mapi32 enable_mapi32
20544 wine_fn_config_makefile dlls/mapi32/tests enable_tests
20545 wine_fn_config_makefile dlls/mapistub enable_mapistub
20546 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
20547 wine_fn_config_makefile dlls/mcicda enable_mcicda
20548 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
20549 wine_fn_config_makefile dlls/mciseq enable_mciseq
20550 wine_fn_config_makefile dlls/mciwave enable_mciwave
20551 wine_fn_config_makefile dlls/mf enable_mf
20552 wine_fn_config_makefile dlls/mf/tests enable_tests
20553 wine_fn_config_makefile dlls/mf3216 enable_mf3216
20554 wine_fn_config_makefile dlls/mferror enable_mferror
20555 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
20556 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
20557 wine_fn_config_makefile dlls/mfplat enable_mfplat
20558 wine_fn_config_makefile dlls/mfplat/tests enable_tests
20559 wine_fn_config_makefile dlls/mfplay enable_mfplay
20560 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
20561 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
20562 wine_fn_config_makefile dlls/mfuuid enable_mfuuid
20563 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
20564 wine_fn_config_makefile dlls/midimap enable_midimap
20565 wine_fn_config_makefile dlls/mlang enable_mlang
20566 wine_fn_config_makefile dlls/mlang/tests enable_tests
20567 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
20568 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
20569 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
20570 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
20571 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
20572 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
20573 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
20574 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
20575 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
20576 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
20577 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
20578 wine_fn_config_makefile dlls/mpr enable_mpr
20579 wine_fn_config_makefile dlls/mpr/tests enable_tests
20580 wine_fn_config_makefile dlls/mprapi enable_mprapi
20581 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
20582 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
20583 wine_fn_config_makefile dlls/msacm32 enable_msacm32
20584 wine_fn_config_makefile dlls/msacm32/tests enable_tests
20585 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
20586 wine_fn_config_makefile dlls/msasn1 enable_msasn1
20587 wine_fn_config_makefile dlls/mscat32 enable_mscat32
20588 wine_fn_config_makefile dlls/mscms enable_mscms
20589 wine_fn_config_makefile dlls/mscms/tests enable_tests
20590 wine_fn_config_makefile dlls/mscoree enable_mscoree
20591 wine_fn_config_makefile dlls/mscoree/tests enable_tests
20592 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
20593 wine_fn_config_makefile dlls/msctf enable_msctf
20594 wine_fn_config_makefile dlls/msctf/tests enable_tests
20595 wine_fn_config_makefile dlls/msctfp enable_msctfp
20596 wine_fn_config_makefile dlls/msdaps enable_msdaps
20597 wine_fn_config_makefile dlls/msdelta enable_msdelta
20598 wine_fn_config_makefile dlls/msdmo enable_msdmo
20599 wine_fn_config_makefile dlls/msdmo/tests enable_tests
20600 wine_fn_config_makefile dlls/msdrm enable_msdrm
20601 wine_fn_config_makefile dlls/msftedit enable_msftedit
20602 wine_fn_config_makefile dlls/msftedit/tests enable_tests
20603 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
20604 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
20605 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
20606 wine_fn_config_makefile dlls/mshtml enable_mshtml
20607 wine_fn_config_makefile dlls/mshtml/tests enable_tests
20608 wine_fn_config_makefile dlls/msi enable_msi
20609 wine_fn_config_makefile dlls/msi/tests enable_tests
20610 wine_fn_config_makefile dlls/msident enable_msident
20611 wine_fn_config_makefile dlls/msimg32 enable_msimg32
20612 wine_fn_config_makefile dlls/msimsg enable_msimsg
20613 wine_fn_config_makefile dlls/msimtf enable_msimtf
20614 wine_fn_config_makefile dlls/msisip enable_msisip
20615 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
20616 wine_fn_config_makefile dlls/msls31 enable_msls31
20617 wine_fn_config_makefile dlls/msnet32 enable_msnet32
20618 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
20619 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
20620 wine_fn_config_makefile dlls/msports enable_msports
20621 wine_fn_config_makefile dlls/msrle32 enable_msrle32
20622 wine_fn_config_makefile dlls/msrle32/tests enable_tests
20623 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
20624 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
20625 wine_fn_config_makefile dlls/mssign32 enable_mssign32
20626 wine_fn_config_makefile dlls/mssip32 enable_mssip32
20627 wine_fn_config_makefile dlls/mstask enable_mstask
20628 wine_fn_config_makefile dlls/mstask/tests enable_tests
20629 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
20630 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
20631 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
20632 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
20633 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
20634 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
20635 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
20636 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
20637 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
20638 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
20639 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
20640 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
20641 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
20642 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
20643 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
20644 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
20645 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
20646 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
20647 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
20648 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
20649 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
20650 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
20651 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
20652 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
20653 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
20654 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
20655 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
20656 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
20657 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
20658 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
20659 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
20660 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
20661 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
20662 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
20663 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
20664 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
20665 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
20666 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
20667 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
20668 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
20669 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
20670 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
20671 wine_fn_config_makefile dlls/mswsock enable_mswsock
20672 wine_fn_config_makefile dlls/msxml enable_msxml
20673 wine_fn_config_makefile dlls/msxml2 enable_msxml2
20674 wine_fn_config_makefile dlls/msxml3 enable_msxml3
20675 wine_fn_config_makefile dlls/msxml3/tests enable_tests
20676 wine_fn_config_makefile dlls/msxml4 enable_msxml4
20677 wine_fn_config_makefile dlls/msxml6 enable_msxml6
20678 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
20679 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
20680 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
20681 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
20682 wine_fn_config_makefile dlls/netapi32 enable_netapi32
20683 wine_fn_config_makefile dlls/netapi32/tests enable_tests
20684 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
20685 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
20686 wine_fn_config_makefile dlls/netprofm enable_netprofm
20687 wine_fn_config_makefile dlls/netprofm/tests enable_tests
20688 wine_fn_config_makefile dlls/newdev enable_newdev
20689 wine_fn_config_makefile dlls/ninput enable_ninput
20690 wine_fn_config_makefile dlls/ninput/tests enable_tests
20691 wine_fn_config_makefile dlls/normaliz enable_normaliz
20692 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
20693 wine_fn_config_makefile dlls/npptools enable_npptools
20694 wine_fn_config_makefile dlls/ntdll enable_ntdll
20695 wine_fn_config_makefile dlls/ntdll/tests enable_tests
20696 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
20697 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
20698 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
20699 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
20700 wine_fn_config_makefile dlls/ntprint enable_ntprint
20701 wine_fn_config_makefile dlls/ntprint/tests enable_tests
20702 wine_fn_config_makefile dlls/objsel enable_objsel
20703 wine_fn_config_makefile dlls/odbc32 enable_odbc32
20704 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
20705 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
20706 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
20707 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
20708 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
20709 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
20710 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
20711 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
20712 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
20713 wine_fn_config_makefile dlls/ole32 enable_ole32
20714 wine_fn_config_makefile dlls/ole32/tests enable_tests
20715 wine_fn_config_makefile dlls/oleacc enable_oleacc
20716 wine_fn_config_makefile dlls/oleacc/tests enable_tests
20717 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
20718 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
20719 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
20720 wine_fn_config_makefile dlls/olecli32 enable_olecli32
20721 wine_fn_config_makefile dlls/oledb32 enable_oledb32
20722 wine_fn_config_makefile dlls/oledb32/tests enable_tests
20723 wine_fn_config_makefile dlls/oledlg enable_oledlg
20724 wine_fn_config_makefile dlls/oledlg/tests enable_tests
20725 wine_fn_config_makefile dlls/olepro32 enable_olepro32
20726 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
20727 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
20728 wine_fn_config_makefile dlls/olethk32 enable_olethk32
20729 wine_fn_config_makefile dlls/opcservices enable_opcservices
20730 wine_fn_config_makefile dlls/opcservices/tests enable_tests
20731 wine_fn_config_makefile dlls/openal32 enable_openal32
20732 wine_fn_config_makefile dlls/opencl enable_opencl
20733 wine_fn_config_makefile dlls/opengl32 enable_opengl32
20734 wine_fn_config_makefile dlls/opengl32/tests enable_tests
20735 wine_fn_config_makefile dlls/packager enable_packager
20736 wine_fn_config_makefile dlls/packager/tests enable_tests
20737 wine_fn_config_makefile dlls/pdh enable_pdh
20738 wine_fn_config_makefile dlls/pdh/tests enable_tests
20739 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
20740 wine_fn_config_makefile dlls/pidgen enable_pidgen
20741 wine_fn_config_makefile dlls/powrprof enable_powrprof
20742 wine_fn_config_makefile dlls/printui enable_printui
20743 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
20744 wine_fn_config_makefile dlls/propsys enable_propsys
20745 wine_fn_config_makefile dlls/propsys/tests enable_tests
20746 wine_fn_config_makefile dlls/psapi enable_psapi
20747 wine_fn_config_makefile dlls/psapi/tests enable_tests
20748 wine_fn_config_makefile dlls/pstorec enable_pstorec
20749 wine_fn_config_makefile dlls/pstorec/tests enable_tests
20750 wine_fn_config_makefile dlls/qcap enable_qcap
20751 wine_fn_config_makefile dlls/qcap/tests enable_tests
20752 wine_fn_config_makefile dlls/qedit enable_qedit
20753 wine_fn_config_makefile dlls/qedit/tests enable_tests
20754 wine_fn_config_makefile dlls/qmgr enable_qmgr
20755 wine_fn_config_makefile dlls/qmgr/tests enable_tests
20756 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
20757 wine_fn_config_makefile dlls/quartz enable_quartz
20758 wine_fn_config_makefile dlls/quartz/tests enable_tests
20759 wine_fn_config_makefile dlls/query enable_query
20760 wine_fn_config_makefile dlls/qwave enable_qwave
20761 wine_fn_config_makefile dlls/qwave/tests enable_tests
20762 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
20763 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
20764 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
20765 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
20766 wine_fn_config_makefile dlls/regapi enable_regapi
20767 wine_fn_config_makefile dlls/resutils enable_resutils
20768 wine_fn_config_makefile dlls/riched20 enable_riched20
20769 wine_fn_config_makefile dlls/riched20/tests enable_tests
20770 wine_fn_config_makefile dlls/riched32 enable_riched32
20771 wine_fn_config_makefile dlls/riched32/tests enable_tests
20772 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
20773 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
20774 wine_fn_config_makefile dlls/rsabase enable_rsabase
20775 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
20776 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
20777 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
20778 wine_fn_config_makefile dlls/rtutils enable_rtutils
20779 wine_fn_config_makefile dlls/samlib enable_samlib
20780 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
20781 wine_fn_config_makefile dlls/sapi enable_sapi
20782 wine_fn_config_makefile dlls/sapi/tests enable_tests
20783 wine_fn_config_makefile dlls/sas enable_sas
20784 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
20785 wine_fn_config_makefile dlls/sccbase enable_sccbase
20786 wine_fn_config_makefile dlls/schannel enable_schannel
20787 wine_fn_config_makefile dlls/schannel/tests enable_tests
20788 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
20789 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
20790 wine_fn_config_makefile dlls/scrobj enable_scrobj
20791 wine_fn_config_makefile dlls/scrobj/tests enable_tests
20792 wine_fn_config_makefile dlls/scrrun enable_scrrun
20793 wine_fn_config_makefile dlls/scrrun/tests enable_tests
20794 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
20795 wine_fn_config_makefile dlls/secur32 enable_secur32
20796 wine_fn_config_makefile dlls/secur32/tests enable_tests
20797 wine_fn_config_makefile dlls/security enable_security
20798 wine_fn_config_makefile dlls/sensapi enable_sensapi
20799 wine_fn_config_makefile dlls/serialui enable_serialui
20800 wine_fn_config_makefile dlls/serialui/tests enable_tests
20801 wine_fn_config_makefile dlls/setupapi enable_setupapi
20802 wine_fn_config_makefile dlls/setupapi/tests enable_tests
20803 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
20804 wine_fn_config_makefile dlls/sfc enable_sfc
20805 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
20806 wine_fn_config_makefile dlls/shcore enable_shcore
20807 wine_fn_config_makefile dlls/shcore/tests enable_tests
20808 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
20809 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
20810 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
20811 wine_fn_config_makefile dlls/shell.dll16 enable_win16
20812 wine_fn_config_makefile dlls/shell32 enable_shell32
20813 wine_fn_config_makefile dlls/shell32/tests enable_tests
20814 wine_fn_config_makefile dlls/shfolder enable_shfolder
20815 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
20816 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
20817 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
20818 wine_fn_config_makefile dlls/slc enable_slc
20819 wine_fn_config_makefile dlls/slc/tests enable_tests
20820 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
20821 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
20822 wine_fn_config_makefile dlls/softpub enable_softpub
20823 wine_fn_config_makefile dlls/sound.drv16 enable_win16
20824 wine_fn_config_makefile dlls/spoolss enable_spoolss
20825 wine_fn_config_makefile dlls/spoolss/tests enable_tests
20826 wine_fn_config_makefile dlls/srclient enable_srclient
20827 wine_fn_config_makefile dlls/sspicli enable_sspicli
20828 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
20829 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
20830 wine_fn_config_makefile dlls/sti enable_sti
20831 wine_fn_config_makefile dlls/sti/tests enable_tests
20832 wine_fn_config_makefile dlls/storage.dll16 enable_win16
20833 wine_fn_config_makefile dlls/stress.dll16 enable_win16
20834 wine_fn_config_makefile dlls/strmbase enable_strmbase
20835 wine_fn_config_makefile dlls/strmdll enable_strmdll
20836 wine_fn_config_makefile dlls/strmiids enable_strmiids
20837 wine_fn_config_makefile dlls/svrapi enable_svrapi
20838 wine_fn_config_makefile dlls/sxs enable_sxs
20839 wine_fn_config_makefile dlls/sxs/tests enable_tests
20840 wine_fn_config_makefile dlls/system.drv16 enable_win16
20841 wine_fn_config_makefile dlls/t2embed enable_t2embed
20842 wine_fn_config_makefile dlls/t2embed/tests enable_tests
20843 wine_fn_config_makefile dlls/tapi32 enable_tapi32
20844 wine_fn_config_makefile dlls/tapi32/tests enable_tests
20845 wine_fn_config_makefile dlls/taskschd enable_taskschd
20846 wine_fn_config_makefile dlls/taskschd/tests enable_tests
20847 wine_fn_config_makefile dlls/tdh enable_tdh
20848 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
20849 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
20850 wine_fn_config_makefile dlls/traffic enable_traffic
20851 wine_fn_config_makefile dlls/twain.dll16 enable_win16
20852 wine_fn_config_makefile dlls/twain_32 enable_twain_32
20853 wine_fn_config_makefile dlls/twain_32/tests enable_tests
20854 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
20855 wine_fn_config_makefile dlls/tzres enable_tzres
20856 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
20857 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
20858 wine_fn_config_makefile dlls/uianimation enable_uianimation
20859 wine_fn_config_makefile dlls/uianimation/tests enable_tests
20860 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
20861 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
20862 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
20863 wine_fn_config_makefile dlls/unicows enable_unicows
20864 wine_fn_config_makefile dlls/updspapi enable_updspapi
20865 wine_fn_config_makefile dlls/url enable_url
20866 wine_fn_config_makefile dlls/urlmon enable_urlmon
20867 wine_fn_config_makefile dlls/urlmon/tests enable_tests
20868 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
20869 wine_fn_config_makefile dlls/user.exe16 enable_win16
20870 wine_fn_config_makefile dlls/user32 enable_user32
20871 wine_fn_config_makefile dlls/user32/tests enable_tests
20872 wine_fn_config_makefile dlls/userenv enable_userenv
20873 wine_fn_config_makefile dlls/userenv/tests enable_tests
20874 wine_fn_config_makefile dlls/usp10 enable_usp10
20875 wine_fn_config_makefile dlls/usp10/tests enable_tests
20876 wine_fn_config_makefile dlls/utildll enable_utildll
20877 wine_fn_config_makefile dlls/uuid enable_uuid
20878 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
20879 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
20880 wine_fn_config_makefile dlls/vbscript enable_vbscript
20881 wine_fn_config_makefile dlls/vbscript/tests enable_tests
20882 wine_fn_config_makefile dlls/vcomp enable_vcomp
20883 wine_fn_config_makefile dlls/vcomp/tests enable_tests
20884 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
20885 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
20886 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
20887 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
20888 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
20889 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
20890 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
20891 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
20892 wine_fn_config_makefile dlls/ver.dll16 enable_win16
20893 wine_fn_config_makefile dlls/version enable_version
20894 wine_fn_config_makefile dlls/version/tests enable_tests
20895 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
20896 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
20897 wine_fn_config_makefile dlls/vmm.vxd enable_win16
20898 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
20899 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
20900 wine_fn_config_makefile dlls/vssapi enable_vssapi
20901 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
20902 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
20903 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
20904 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
20905 wine_fn_config_makefile dlls/w32skrnl enable_win16
20906 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
20907 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
20908 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
20909 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
20910 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
20911 wine_fn_config_makefile dlls/wdscore enable_wdscore
20912 wine_fn_config_makefile dlls/webservices enable_webservices
20913 wine_fn_config_makefile dlls/webservices/tests enable_tests
20914 wine_fn_config_makefile dlls/wer enable_wer
20915 wine_fn_config_makefile dlls/wer/tests enable_tests
20916 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
20917 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
20918 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
20919 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
20920 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
20921 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
20922 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
20923 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
20924 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
20925 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
20926 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
20927 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
20928 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
20929 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
20930 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
20931 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
20932 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
20933 wine_fn_config_makefile dlls/wined3d enable_wined3d
20934 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
20935 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
20936 wine_fn_config_makefile dlls/winejoystick.drv enable_winejoystick_drv
20937 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
20938 wine_fn_config_makefile dlls/winemapi enable_winemapi
20939 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
20940 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
20941 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
20942 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
20943 wine_fn_config_makefile dlls/wineqtdecoder enable_wineqtdecoder
20944 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
20945 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
20946 wine_fn_config_makefile dlls/wing.dll16 enable_win16
20947 wine_fn_config_makefile dlls/wing32 enable_wing32
20948 wine_fn_config_makefile dlls/winhttp enable_winhttp
20949 wine_fn_config_makefile dlls/winhttp/tests enable_tests
20950 wine_fn_config_makefile dlls/wininet enable_wininet
20951 wine_fn_config_makefile dlls/wininet/tests enable_tests
20952 wine_fn_config_makefile dlls/winmm enable_winmm
20953 wine_fn_config_makefile dlls/winmm/tests enable_tests
20954 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
20955 wine_fn_config_makefile dlls/winnls32 enable_winnls32
20956 wine_fn_config_makefile dlls/winscard enable_winscard
20957 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
20958 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
20959 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
20960 wine_fn_config_makefile dlls/winsta enable_winsta
20961 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
20962 wine_fn_config_makefile dlls/wintab32 enable_wintab32
20963 wine_fn_config_makefile dlls/wintab32/tests enable_tests
20964 wine_fn_config_makefile dlls/wintrust enable_wintrust
20965 wine_fn_config_makefile dlls/wintrust/tests enable_tests
20966 wine_fn_config_makefile dlls/winusb enable_winusb
20967 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
20968 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
20969 wine_fn_config_makefile dlls/wlanui enable_wlanui
20970 wine_fn_config_makefile dlls/wldap32 enable_wldap32
20971 wine_fn_config_makefile dlls/wldap32/tests enable_tests
20972 wine_fn_config_makefile dlls/wmasf enable_wmasf
20973 wine_fn_config_makefile dlls/wmcodecdspuuid enable_wmcodecdspuuid
20974 wine_fn_config_makefile dlls/wmi enable_wmi
20975 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
20976 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
20977 wine_fn_config_makefile dlls/wmp enable_wmp
20978 wine_fn_config_makefile dlls/wmp/tests enable_tests
20979 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
20980 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
20981 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
20982 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
20983 wine_fn_config_makefile dlls/wow32 enable_win16
20984 wine_fn_config_makefile dlls/wpc enable_wpc
20985 wine_fn_config_makefile dlls/wpc/tests enable_tests
20986 wine_fn_config_makefile dlls/wpcap enable_wpcap
20987 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
20988 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
20989 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
20990 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
20991 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
20992 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
20993 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
20994 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
20995 wine_fn_config_makefile dlls/wsock32 enable_wsock32
20996 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
20997 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
20998 wine_fn_config_makefile dlls/wuapi enable_wuapi
20999 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
21000 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
21001 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
21002 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
21003 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
21004 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
21005 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
21006 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
21007 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
21008 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
21009 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
21010 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
21011 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
21012 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
21013 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
21014 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
21015 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
21016 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
21017 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
21018 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
21019 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
21020 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
21021 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
21022 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
21023 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
21024 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
21025 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
21026 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
21027 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
21028 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
21029 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
21030 wine_fn_config_makefile dlls/xmllite enable_xmllite
21031 wine_fn_config_makefile dlls/xmllite/tests enable_tests
21032 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
21033 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
21034 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
21035 wine_fn_config_makefile fonts enable_fonts
21036 wine_fn_config_makefile include enable_include
21037 wine_fn_config_makefile libs/port enable_port
21038 wine_fn_config_makefile libs/wine enable_wine
21039 wine_fn_config_makefile libs/wpp enable_wpp
21040 wine_fn_config_makefile loader enable_loader
21041 wine_fn_config_makefile po enable_po
21042 wine_fn_config_makefile programs/arp enable_arp
21043 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
21044 wine_fn_config_makefile programs/attrib enable_attrib
21045 wine_fn_config_makefile programs/cabarc enable_cabarc
21046 wine_fn_config_makefile programs/cacls enable_cacls
21047 wine_fn_config_makefile programs/clock enable_clock
21048 wine_fn_config_makefile programs/cmd enable_cmd
21049 wine_fn_config_makefile programs/cmd/tests enable_tests
21050 wine_fn_config_makefile programs/conhost enable_conhost
21051 wine_fn_config_makefile programs/control enable_control
21052 wine_fn_config_makefile programs/cscript enable_cscript
21053 wine_fn_config_makefile programs/dism enable_dism
21054 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
21055 wine_fn_config_makefile programs/dxdiag enable_dxdiag
21056 wine_fn_config_makefile programs/eject enable_eject
21057 wine_fn_config_makefile programs/expand enable_expand
21058 wine_fn_config_makefile programs/explorer enable_explorer
21059 wine_fn_config_makefile programs/extrac32 enable_extrac32
21060 wine_fn_config_makefile programs/fc enable_fc
21061 wine_fn_config_makefile programs/find enable_find
21062 wine_fn_config_makefile programs/find/tests enable_tests
21063 wine_fn_config_makefile programs/findstr enable_findstr
21064 wine_fn_config_makefile programs/fsutil enable_fsutil
21065 wine_fn_config_makefile programs/hh enable_hh
21066 wine_fn_config_makefile programs/hostname enable_hostname
21067 wine_fn_config_makefile programs/icacls enable_icacls
21068 wine_fn_config_makefile programs/icinfo enable_icinfo
21069 wine_fn_config_makefile programs/iexplore enable_iexplore
21070 wine_fn_config_makefile programs/ipconfig enable_ipconfig
21071 wine_fn_config_makefile programs/lodctr enable_lodctr
21072 wine_fn_config_makefile programs/mofcomp enable_mofcomp
21073 wine_fn_config_makefile programs/mshta enable_mshta
21074 wine_fn_config_makefile programs/msidb enable_msidb
21075 wine_fn_config_makefile programs/msiexec enable_msiexec
21076 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
21077 wine_fn_config_makefile programs/net enable_net
21078 wine_fn_config_makefile programs/netsh enable_netsh
21079 wine_fn_config_makefile programs/netstat enable_netstat
21080 wine_fn_config_makefile programs/ngen enable_ngen
21081 wine_fn_config_makefile programs/notepad enable_notepad
21082 wine_fn_config_makefile programs/oleview enable_oleview
21083 wine_fn_config_makefile programs/ping enable_ping
21084 wine_fn_config_makefile programs/plugplay enable_plugplay
21085 wine_fn_config_makefile programs/powershell enable_powershell
21086 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
21087 wine_fn_config_makefile programs/progman enable_progman
21088 wine_fn_config_makefile programs/reg enable_reg
21089 wine_fn_config_makefile programs/reg/tests enable_tests
21090 wine_fn_config_makefile programs/regasm enable_regasm
21091 wine_fn_config_makefile programs/regedit enable_regedit
21092 wine_fn_config_makefile programs/regedit/tests enable_tests
21093 wine_fn_config_makefile programs/regini enable_regini
21094 wine_fn_config_makefile programs/regsvcs enable_regsvcs
21095 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
21096 wine_fn_config_makefile programs/rpcss enable_rpcss
21097 wine_fn_config_makefile programs/rundll.exe16 enable_win16
21098 wine_fn_config_makefile programs/rundll32 enable_rundll32
21099 wine_fn_config_makefile programs/sc enable_sc
21100 wine_fn_config_makefile programs/schtasks enable_schtasks
21101 wine_fn_config_makefile programs/schtasks/tests enable_tests
21102 wine_fn_config_makefile programs/sdbinst enable_sdbinst
21103 wine_fn_config_makefile programs/secedit enable_secedit
21104 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
21105 wine_fn_config_makefile programs/services enable_services
21106 wine_fn_config_makefile programs/services/tests enable_tests
21107 wine_fn_config_makefile programs/shutdown enable_shutdown
21108 wine_fn_config_makefile programs/spoolsv enable_spoolsv
21109 wine_fn_config_makefile programs/start enable_start
21110 wine_fn_config_makefile programs/subst enable_subst
21111 wine_fn_config_makefile programs/svchost enable_svchost
21112 wine_fn_config_makefile programs/systeminfo enable_systeminfo
21113 wine_fn_config_makefile programs/taskkill enable_taskkill
21114 wine_fn_config_makefile programs/tasklist enable_tasklist
21115 wine_fn_config_makefile programs/taskmgr enable_taskmgr
21116 wine_fn_config_makefile programs/termsv enable_termsv
21117 wine_fn_config_makefile programs/uninstaller enable_uninstaller
21118 wine_fn_config_makefile programs/unlodctr enable_unlodctr
21119 wine_fn_config_makefile programs/view enable_view
21120 wine_fn_config_makefile programs/wevtutil enable_wevtutil
21121 wine_fn_config_makefile programs/wineboot enable_wineboot
21122 wine_fn_config_makefile programs/winebrowser enable_winebrowser
21123 wine_fn_config_makefile programs/winecfg enable_winecfg
21124 wine_fn_config_makefile programs/wineconsole enable_wineconsole
21125 wine_fn_config_makefile programs/winedbg enable_winedbg
21126 wine_fn_config_makefile programs/winedevice enable_winedevice
21127 wine_fn_config_makefile programs/winefile enable_winefile
21128 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
21129 wine_fn_config_makefile programs/winemine enable_winemine
21130 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
21131 wine_fn_config_makefile programs/winepath enable_winepath
21132 wine_fn_config_makefile programs/winetest enable_winetest
21133 wine_fn_config_makefile programs/winevdm enable_win16
21134 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
21135 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
21136 wine_fn_config_makefile programs/winmgmt enable_winmgmt
21137 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
21138 wine_fn_config_makefile programs/winver enable_winver
21139 wine_fn_config_makefile programs/wmic enable_wmic
21140 wine_fn_config_makefile programs/wmplayer enable_wmplayer
21141 wine_fn_config_makefile programs/wordpad enable_wordpad
21142 wine_fn_config_makefile programs/write enable_write
21143 wine_fn_config_makefile programs/wscript enable_wscript
21144 wine_fn_config_makefile programs/wscript/tests enable_tests
21145 wine_fn_config_makefile programs/wuauserv enable_wuauserv
21146 wine_fn_config_makefile programs/wusa enable_wusa
21147 wine_fn_config_makefile programs/xcopy enable_xcopy
21148 wine_fn_config_makefile programs/xcopy/tests enable_tests
21149 wine_fn_config_makefile server enable_server
21150 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
21151 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
21152 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
21153 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
21154 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
21155 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
21156 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
21157 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
21158 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
21161 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
21162 wine_fn_append_file CONFIGURE_TARGETS "tags"
21163 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
21164 wine_fn_append_file CONFIGURE_TARGETS "config.log"
21165 wine_fn_append_file CONFIGURE_TARGETS "config.status"
21166 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
21167 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
21168 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
21170 if test "x$enable_tools" != xno
21171 then
21172 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
21173 ac_config_commands="$ac_config_commands tools/makedep"
21177 ac_config_commands="$ac_config_commands Makefile"
21180 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
21184 if test "x$enable_maintainer_mode" = xyes
21185 then
21186 wine_fn_append_rule "configure: configure.ac aclocal.m4
21187 autoconf --warnings=all
21188 include/config.h.in: include/stamp-h.in
21189 include/stamp-h.in: configure.ac aclocal.m4
21190 autoheader --warnings=all
21191 @echo timestamp > \$@"
21194 if test "x$enable_tools" != xno
21195 then
21196 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
21197 @./config.status tools/makedep
21198 Makefile: tools/makedep$ac_exeext
21199 fonts: tools/sfnt2fon
21200 include: tools tools/widl"
21201 else
21202 wine_fn_append_rule "\$(MAKEDEP):
21203 @echo \"You need to run make in $TOOLSDIR first\" && false"
21206 if test -n "$with_wine64"
21207 then
21208 case "$with_wine64" in
21209 /*) reldir="" ;;
21210 *) reldir="../" ;;
21211 esac
21212 rm -f fonts server 2>/dev/null
21213 wine_fn_append_rule "all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
21214 loader/wine64 loader/wine64-preloader:
21215 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
21216 $with_wine64/loader/wine:
21217 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
21218 $with_wine64/loader/wine-preloader:
21219 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
21220 clean::
21221 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
21222 else
21223 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
21224 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
21225 fonts \
21226 loader/l_intl.nls \
21227 loader/wine.inf \
21228 loader/winebus.inf \
21229 loader/winehid.inf \
21230 programs/msidb/msidb \
21231 programs/msiexec/msiexec \
21232 programs/notepad/notepad \
21233 programs/regedit/regedit \
21234 programs/regsvr32/regsvr32 \
21235 programs/wineboot/wineboot \
21236 programs/winecfg/winecfg \
21237 programs/wineconsole/wineconsole \
21238 programs/winedbg/winedbg \
21239 programs/winefile/winefile \
21240 programs/winemine/winemine \
21241 programs/winepath/winepath \
21242 server/wineserver"
21244 case $host_os in
21245 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
21246 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
21247 esac
21250 $as_echo " done" >&6
21251 cat >confcache <<\_ACEOF
21252 # This file is a shell script that caches the results of configure
21253 # tests run on this system so they can be shared between configure
21254 # scripts and configure runs, see configure's option --config-cache.
21255 # It is not useful on other systems. If it contains results you don't
21256 # want to keep, you may remove or edit it.
21258 # config.status only pays attention to the cache file if you give it
21259 # the --recheck option to rerun configure.
21261 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21262 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21263 # following values.
21265 _ACEOF
21267 # The following way of writing the cache mishandles newlines in values,
21268 # but we know of no workaround that is simple, portable, and efficient.
21269 # So, we kill variables containing newlines.
21270 # Ultrix sh set writes to stderr and can't be redirected directly,
21271 # and sets the high bit in the cache file unless we assign to the vars.
21273 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21274 eval ac_val=\$$ac_var
21275 case $ac_val in #(
21276 *${as_nl}*)
21277 case $ac_var in #(
21278 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
21279 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
21280 esac
21281 case $ac_var in #(
21282 _ | IFS | as_nl) ;; #(
21283 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
21284 *) { eval $ac_var=; unset $ac_var;} ;;
21285 esac ;;
21286 esac
21287 done
21289 (set) 2>&1 |
21290 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21291 *${as_nl}ac_space=\ *)
21292 # `set' does not quote correctly, so add quotes: double-quote
21293 # substitution turns \\\\ into \\, and sed turns \\ into \.
21294 sed -n \
21295 "s/'/'\\\\''/g;
21296 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21297 ;; #(
21299 # `set' quotes correctly as required by POSIX, so do not add quotes.
21300 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21302 esac |
21303 sort
21305 sed '
21306 /^ac_cv_env_/b end
21307 t clear
21308 :clear
21309 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21310 t end
21311 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21312 :end' >>confcache
21313 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
21314 if test -w "$cache_file"; then
21315 if test "x$cache_file" != "x/dev/null"; then
21316 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
21317 $as_echo "$as_me: updating cache $cache_file" >&6;}
21318 if test ! -f "$cache_file" || test -h "$cache_file"; then
21319 cat confcache >"$cache_file"
21320 else
21321 case $cache_file in #(
21322 */* | ?:*)
21323 mv -f confcache "$cache_file"$$ &&
21324 mv -f "$cache_file"$$ "$cache_file" ;; #(
21326 mv -f confcache "$cache_file" ;;
21327 esac
21330 else
21331 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
21332 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21335 rm -f confcache
21337 test "x$prefix" = xNONE && prefix=$ac_default_prefix
21338 # Let make expand exec_prefix.
21339 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
21341 DEFS=-DHAVE_CONFIG_H
21343 ac_libobjs=
21344 ac_ltlibobjs=
21346 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
21347 # 1. Remove the extension, and $U if already installed.
21348 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
21349 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
21350 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21351 # will be set to the directory where LIBOBJS objects are built.
21352 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21353 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
21354 done
21355 LIBOBJS=$ac_libobjs
21357 LTLIBOBJS=$ac_ltlibobjs
21361 : "${CONFIG_STATUS=./config.status}"
21362 ac_write_fail=0
21363 ac_clean_files_save=$ac_clean_files
21364 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
21365 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
21366 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
21367 as_write_fail=0
21368 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
21369 #! $SHELL
21370 # Generated by $as_me.
21371 # Run this file to recreate the current configuration.
21372 # Compiler output produced by configure, useful for debugging
21373 # configure, is in config.log if it exists.
21375 debug=false
21376 ac_cs_recheck=false
21377 ac_cs_silent=false
21379 SHELL=\${CONFIG_SHELL-$SHELL}
21380 export SHELL
21381 _ASEOF
21382 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
21383 ## -------------------- ##
21384 ## M4sh Initialization. ##
21385 ## -------------------- ##
21387 # Be more Bourne compatible
21388 DUALCASE=1; export DUALCASE # for MKS sh
21389 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
21390 emulate sh
21391 NULLCMD=:
21392 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21393 # is contrary to our usage. Disable this feature.
21394 alias -g '${1+"$@"}'='"$@"'
21395 setopt NO_GLOB_SUBST
21396 else
21397 case `(set -o) 2>/dev/null` in #(
21398 *posix*) :
21399 set -o posix ;; #(
21400 *) :
21402 esac
21406 as_nl='
21408 export as_nl
21409 # Printing a long string crashes Solaris 7 /usr/bin/printf.
21410 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
21411 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
21412 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
21413 # Prefer a ksh shell builtin over an external printf program on Solaris,
21414 # but without wasting forks for bash or zsh.
21415 if test -z "$BASH_VERSION$ZSH_VERSION" \
21416 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
21417 as_echo='print -r --'
21418 as_echo_n='print -rn --'
21419 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
21420 as_echo='printf %s\n'
21421 as_echo_n='printf %s'
21422 else
21423 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
21424 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
21425 as_echo_n='/usr/ucb/echo -n'
21426 else
21427 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
21428 as_echo_n_body='eval
21429 arg=$1;
21430 case $arg in #(
21431 *"$as_nl"*)
21432 expr "X$arg" : "X\\(.*\\)$as_nl";
21433 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
21434 esac;
21435 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
21437 export as_echo_n_body
21438 as_echo_n='sh -c $as_echo_n_body as_echo'
21440 export as_echo_body
21441 as_echo='sh -c $as_echo_body as_echo'
21444 # The user is always right.
21445 if test "${PATH_SEPARATOR+set}" != set; then
21446 PATH_SEPARATOR=:
21447 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
21448 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
21449 PATH_SEPARATOR=';'
21454 # IFS
21455 # We need space, tab and new line, in precisely that order. Quoting is
21456 # there to prevent editors from complaining about space-tab.
21457 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21458 # splitting by setting IFS to empty value.)
21459 IFS=" "" $as_nl"
21461 # Find who we are. Look in the path if we contain no directory separator.
21462 as_myself=
21463 case $0 in #((
21464 *[\\/]* ) as_myself=$0 ;;
21465 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21466 for as_dir in $PATH
21468 IFS=$as_save_IFS
21469 test -z "$as_dir" && as_dir=.
21470 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21471 done
21472 IFS=$as_save_IFS
21475 esac
21476 # We did not find ourselves, most probably we were run as `sh COMMAND'
21477 # in which case we are not to be found in the path.
21478 if test "x$as_myself" = x; then
21479 as_myself=$0
21481 if test ! -f "$as_myself"; then
21482 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21483 exit 1
21486 # Unset variables that we do not need and which cause bugs (e.g. in
21487 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
21488 # suppresses any "Segmentation fault" message there. '((' could
21489 # trigger a bug in pdksh 5.2.14.
21490 for as_var in BASH_ENV ENV MAIL MAILPATH
21491 do eval test x\${$as_var+set} = xset \
21492 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
21493 done
21494 PS1='$ '
21495 PS2='> '
21496 PS4='+ '
21498 # NLS nuisances.
21499 LC_ALL=C
21500 export LC_ALL
21501 LANGUAGE=C
21502 export LANGUAGE
21504 # CDPATH.
21505 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
21508 # as_fn_error STATUS ERROR [LINENO LOG_FD]
21509 # ----------------------------------------
21510 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
21511 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
21512 # script with STATUS, using 1 if that was 0.
21513 as_fn_error ()
21515 as_status=$1; test $as_status -eq 0 && as_status=1
21516 if test "$4"; then
21517 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
21518 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
21520 $as_echo "$as_me: error: $2" >&2
21521 as_fn_exit $as_status
21522 } # as_fn_error
21525 # as_fn_set_status STATUS
21526 # -----------------------
21527 # Set $? to STATUS, without forking.
21528 as_fn_set_status ()
21530 return $1
21531 } # as_fn_set_status
21533 # as_fn_exit STATUS
21534 # -----------------
21535 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
21536 as_fn_exit ()
21538 set +e
21539 as_fn_set_status $1
21540 exit $1
21541 } # as_fn_exit
21543 # as_fn_unset VAR
21544 # ---------------
21545 # Portably unset VAR.
21546 as_fn_unset ()
21548 { eval $1=; unset $1;}
21550 as_unset=as_fn_unset
21551 # as_fn_append VAR VALUE
21552 # ----------------------
21553 # Append the text in VALUE to the end of the definition contained in VAR. Take
21554 # advantage of any shell optimizations that allow amortized linear growth over
21555 # repeated appends, instead of the typical quadratic growth present in naive
21556 # implementations.
21557 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
21558 eval 'as_fn_append ()
21560 eval $1+=\$2
21562 else
21563 as_fn_append ()
21565 eval $1=\$$1\$2
21567 fi # as_fn_append
21569 # as_fn_arith ARG...
21570 # ------------------
21571 # Perform arithmetic evaluation on the ARGs, and store the result in the
21572 # global $as_val. Take advantage of shells that can avoid forks. The arguments
21573 # must be portable across $(()) and expr.
21574 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
21575 eval 'as_fn_arith ()
21577 as_val=$(( $* ))
21579 else
21580 as_fn_arith ()
21582 as_val=`expr "$@" || test $? -eq 1`
21584 fi # as_fn_arith
21587 if expr a : '\(a\)' >/dev/null 2>&1 &&
21588 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21589 as_expr=expr
21590 else
21591 as_expr=false
21594 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21595 as_basename=basename
21596 else
21597 as_basename=false
21600 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
21601 as_dirname=dirname
21602 else
21603 as_dirname=false
21606 as_me=`$as_basename -- "$0" ||
21607 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21608 X"$0" : 'X\(//\)$' \| \
21609 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21610 $as_echo X/"$0" |
21611 sed '/^.*\/\([^/][^/]*\)\/*$/{
21612 s//\1/
21615 /^X\/\(\/\/\)$/{
21616 s//\1/
21619 /^X\/\(\/\).*/{
21620 s//\1/
21623 s/.*/./; q'`
21625 # Avoid depending upon Character Ranges.
21626 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21627 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21628 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21629 as_cr_digits='0123456789'
21630 as_cr_alnum=$as_cr_Letters$as_cr_digits
21632 ECHO_C= ECHO_N= ECHO_T=
21633 case `echo -n x` in #(((((
21634 -n*)
21635 case `echo 'xy\c'` in
21636 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
21637 xy) ECHO_C='\c';;
21638 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
21639 ECHO_T=' ';;
21640 esac;;
21642 ECHO_N='-n';;
21643 esac
21645 rm -f conf$$ conf$$.exe conf$$.file
21646 if test -d conf$$.dir; then
21647 rm -f conf$$.dir/conf$$.file
21648 else
21649 rm -f conf$$.dir
21650 mkdir conf$$.dir 2>/dev/null
21652 if (echo >conf$$.file) 2>/dev/null; then
21653 if ln -s conf$$.file conf$$ 2>/dev/null; then
21654 as_ln_s='ln -s'
21655 # ... but there are two gotchas:
21656 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21657 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21658 # In both cases, we have to default to `cp -pR'.
21659 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
21660 as_ln_s='cp -pR'
21661 elif ln conf$$.file conf$$ 2>/dev/null; then
21662 as_ln_s=ln
21663 else
21664 as_ln_s='cp -pR'
21666 else
21667 as_ln_s='cp -pR'
21669 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
21670 rmdir conf$$.dir 2>/dev/null
21673 # as_fn_mkdir_p
21674 # -------------
21675 # Create "$as_dir" as a directory, including parents if necessary.
21676 as_fn_mkdir_p ()
21679 case $as_dir in #(
21680 -*) as_dir=./$as_dir;;
21681 esac
21682 test -d "$as_dir" || eval $as_mkdir_p || {
21683 as_dirs=
21684 while :; do
21685 case $as_dir in #(
21686 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
21687 *) as_qdir=$as_dir;;
21688 esac
21689 as_dirs="'$as_qdir' $as_dirs"
21690 as_dir=`$as_dirname -- "$as_dir" ||
21691 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21692 X"$as_dir" : 'X\(//\)[^/]' \| \
21693 X"$as_dir" : 'X\(//\)$' \| \
21694 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21695 $as_echo X"$as_dir" |
21696 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21697 s//\1/
21700 /^X\(\/\/\)[^/].*/{
21701 s//\1/
21704 /^X\(\/\/\)$/{
21705 s//\1/
21708 /^X\(\/\).*/{
21709 s//\1/
21712 s/.*/./; q'`
21713 test -d "$as_dir" && break
21714 done
21715 test -z "$as_dirs" || eval "mkdir $as_dirs"
21716 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
21719 } # as_fn_mkdir_p
21720 if mkdir -p . 2>/dev/null; then
21721 as_mkdir_p='mkdir -p "$as_dir"'
21722 else
21723 test -d ./-p && rmdir ./-p
21724 as_mkdir_p=false
21728 # as_fn_executable_p FILE
21729 # -----------------------
21730 # Test if FILE is an executable regular file.
21731 as_fn_executable_p ()
21733 test -f "$1" && test -x "$1"
21734 } # as_fn_executable_p
21735 as_test_x='test -x'
21736 as_executable_p=as_fn_executable_p
21738 # Sed expression to map a string onto a valid CPP name.
21739 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21741 # Sed expression to map a string onto a valid variable name.
21742 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21745 exec 6>&1
21746 ## ----------------------------------- ##
21747 ## Main body of $CONFIG_STATUS script. ##
21748 ## ----------------------------------- ##
21749 _ASEOF
21750 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
21752 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21753 # Save the log message, to keep $0 and so on meaningful, and to
21754 # report actual input values of CONFIG_FILES etc. instead of their
21755 # values after options handling.
21756 ac_log="
21757 This file was extended by Wine $as_me 4.20, which was
21758 generated by GNU Autoconf 2.69. Invocation command line was
21760 CONFIG_FILES = $CONFIG_FILES
21761 CONFIG_HEADERS = $CONFIG_HEADERS
21762 CONFIG_LINKS = $CONFIG_LINKS
21763 CONFIG_COMMANDS = $CONFIG_COMMANDS
21764 $ $0 $@
21766 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21769 _ACEOF
21771 case $ac_config_files in *"
21772 "*) set x $ac_config_files; shift; ac_config_files=$*;;
21773 esac
21775 case $ac_config_headers in *"
21776 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
21777 esac
21780 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21781 # Files that config.status was made for.
21782 config_files="$ac_config_files"
21783 config_headers="$ac_config_headers"
21784 config_links="$ac_config_links"
21785 config_commands="$ac_config_commands"
21787 _ACEOF
21789 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21790 ac_cs_usage="\
21791 \`$as_me' instantiates files and other configuration actions
21792 from templates according to the current configuration. Unless the files
21793 and actions are specified as TAGs, all are instantiated by default.
21795 Usage: $0 [OPTION]... [TAG]...
21797 -h, --help print this help, then exit
21798 -V, --version print version number and configuration settings, then exit
21799 --config print configuration, then exit
21800 -q, --quiet, --silent
21801 do not print progress messages
21802 -d, --debug don't remove temporary files
21803 --recheck update $as_me by reconfiguring in the same conditions
21804 --file=FILE[:TEMPLATE]
21805 instantiate the configuration file FILE
21806 --header=FILE[:TEMPLATE]
21807 instantiate the configuration header FILE
21809 Configuration files:
21810 $config_files
21812 Configuration headers:
21813 $config_headers
21815 Configuration links:
21816 $config_links
21818 Configuration commands:
21819 $config_commands
21821 Report bugs to <wine-devel@winehq.org>.
21822 Wine home page: <https://www.winehq.org>."
21824 _ACEOF
21825 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21826 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
21827 ac_cs_version="\\
21828 Wine config.status 4.20
21829 configured by $0, generated by GNU Autoconf 2.69,
21830 with options \\"\$ac_cs_config\\"
21832 Copyright (C) 2012 Free Software Foundation, Inc.
21833 This config.status script is free software; the Free Software Foundation
21834 gives unlimited permission to copy, distribute and modify it."
21836 ac_pwd='$ac_pwd'
21837 srcdir='$srcdir'
21838 test -n "\$AWK" || AWK=awk
21839 _ACEOF
21841 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21842 # The default lists apply if the user does not specify any file.
21843 ac_need_defaults=:
21844 while test $# != 0
21846 case $1 in
21847 --*=?*)
21848 ac_option=`expr "X$1" : 'X\([^=]*\)='`
21849 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
21850 ac_shift=:
21852 --*=)
21853 ac_option=`expr "X$1" : 'X\([^=]*\)='`
21854 ac_optarg=
21855 ac_shift=:
21858 ac_option=$1
21859 ac_optarg=$2
21860 ac_shift=shift
21862 esac
21864 case $ac_option in
21865 # Handling of the options.
21866 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
21867 ac_cs_recheck=: ;;
21868 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
21869 $as_echo "$ac_cs_version"; exit ;;
21870 --config | --confi | --conf | --con | --co | --c )
21871 $as_echo "$ac_cs_config"; exit ;;
21872 --debug | --debu | --deb | --de | --d | -d )
21873 debug=: ;;
21874 --file | --fil | --fi | --f )
21875 $ac_shift
21876 case $ac_optarg in
21877 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21878 '') as_fn_error $? "missing file argument" ;;
21879 esac
21880 as_fn_append CONFIG_FILES " '$ac_optarg'"
21881 ac_need_defaults=false;;
21882 --header | --heade | --head | --hea )
21883 $ac_shift
21884 case $ac_optarg in
21885 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21886 esac
21887 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
21888 ac_need_defaults=false;;
21889 --he | --h)
21890 # Conflict between --help and --header
21891 as_fn_error $? "ambiguous option: \`$1'
21892 Try \`$0 --help' for more information.";;
21893 --help | --hel | -h )
21894 $as_echo "$ac_cs_usage"; exit ;;
21895 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
21896 | -silent | --silent | --silen | --sile | --sil | --si | --s)
21897 ac_cs_silent=: ;;
21899 # This is an error.
21900 -*) as_fn_error $? "unrecognized option: \`$1'
21901 Try \`$0 --help' for more information." ;;
21903 *) as_fn_append ac_config_targets " $1"
21904 ac_need_defaults=false ;;
21906 esac
21907 shift
21908 done
21910 ac_configure_extra_args=
21912 if $ac_cs_silent; then
21913 exec 6>/dev/null
21914 ac_configure_extra_args="$ac_configure_extra_args --silent"
21917 _ACEOF
21918 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21919 if \$ac_cs_recheck; then
21920 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21921 shift
21922 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
21923 CONFIG_SHELL='$SHELL'
21924 export CONFIG_SHELL
21925 exec "\$@"
21928 _ACEOF
21929 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21930 exec 5>>config.log
21932 echo
21933 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21934 ## Running $as_me. ##
21935 _ASBOX
21936 $as_echo "$ac_log"
21937 } >&5
21939 _ACEOF
21940 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21942 # INIT-COMMANDS
21944 wine_fn_output_makedep ()
21946 as_dir=tools; as_fn_mkdir_p
21947 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
21949 wine_fn_output_makefile ()
21951 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
21952 `cat $wine_rules_file`
21953 _WINE_EOF
21954 as_fn_error $? "could not create Makefile" "$LINENO" 5
21957 _ACEOF
21959 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21961 # Handling of arguments.
21962 for ac_config_target in $ac_config_targets
21964 case $ac_config_target in
21965 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
21966 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
21967 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
21968 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
21969 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
21970 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
21971 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
21973 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
21974 esac
21975 done
21978 # If the user did not use the arguments to specify the items to instantiate,
21979 # then the envvar interface is used. Set only those that are not.
21980 # We use the long form for the default assignment because of an extremely
21981 # bizarre bug on SunOS 4.1.3.
21982 if $ac_need_defaults; then
21983 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
21984 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
21985 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
21986 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
21989 # Have a temporary directory for convenience. Make it in the build tree
21990 # simply because there is no reason against having it here, and in addition,
21991 # creating and moving files from /tmp can sometimes cause problems.
21992 # Hook for its removal unless debugging.
21993 # Note that there is a small window in which the directory will not be cleaned:
21994 # after its creation but before its name has been assigned to `$tmp'.
21995 $debug ||
21997 tmp= ac_tmp=
21998 trap 'exit_status=$?
21999 : "${ac_tmp:=$tmp}"
22000 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
22002 trap 'as_fn_exit 1' 1 2 13 15
22004 # Create a (secure) tmp directory for tmp files.
22007 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22008 test -d "$tmp"
22009 } ||
22011 tmp=./conf$$-$RANDOM
22012 (umask 077 && mkdir "$tmp")
22013 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
22014 ac_tmp=$tmp
22016 # Set up the scripts for CONFIG_FILES section.
22017 # No need to generate them if there are no CONFIG_FILES.
22018 # This happens for instance with `./config.status config.h'.
22019 if test -n "$CONFIG_FILES"; then
22022 ac_cr=`echo X | tr X '\015'`
22023 # On cygwin, bash can eat \r inside `` if the user requested igncr.
22024 # But we know of no other shell where ac_cr would be empty at this
22025 # point, so we can use a bashism as a fallback.
22026 if test "x$ac_cr" = x; then
22027 eval ac_cr=\$\'\\r\'
22029 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
22030 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
22031 ac_cs_awk_cr='\\r'
22032 else
22033 ac_cs_awk_cr=$ac_cr
22036 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
22037 _ACEOF
22041 echo "cat >conf$$subs.awk <<_ACEOF" &&
22042 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
22043 echo "_ACEOF"
22044 } >conf$$subs.sh ||
22045 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22046 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
22047 ac_delim='%!_!# '
22048 for ac_last_try in false false false false false :; do
22049 . ./conf$$subs.sh ||
22050 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22052 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
22053 if test $ac_delim_n = $ac_delim_num; then
22054 break
22055 elif $ac_last_try; then
22056 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22057 else
22058 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22060 done
22061 rm -f conf$$subs.sh
22063 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22064 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
22065 _ACEOF
22066 sed -n '
22068 s/^/S["/; s/!.*/"]=/
22071 s/^[^!]*!//
22072 :repl
22073 t repl
22074 s/'"$ac_delim"'$//
22075 t delim
22078 s/\(.\{148\}\)..*/\1/
22079 t more1
22080 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
22083 b repl
22084 :more1
22085 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22088 s/.\{148\}//
22089 t nl
22090 :delim
22092 s/\(.\{148\}\)..*/\1/
22093 t more2
22094 s/["\\]/\\&/g; s/^/"/; s/$/"/
22097 :more2
22098 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22101 s/.\{148\}//
22102 t delim
22103 ' <conf$$subs.awk | sed '
22104 /^[^""]/{
22106 s/\n//
22108 ' >>$CONFIG_STATUS || ac_write_fail=1
22109 rm -f conf$$subs.awk
22110 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22111 _ACAWK
22112 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
22113 for (key in S) S_is_set[key] = 1
22114 FS = "\a"
22118 line = $ 0
22119 nfields = split(line, field, "@")
22120 substed = 0
22121 len = length(field[1])
22122 for (i = 2; i < nfields; i++) {
22123 key = field[i]
22124 keylen = length(key)
22125 if (S_is_set[key]) {
22126 value = S[key]
22127 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
22128 len += length(value) + length(field[++i])
22129 substed = 1
22130 } else
22131 len += 1 + keylen
22134 print line
22137 _ACAWK
22138 _ACEOF
22139 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22140 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
22141 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
22142 else
22144 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
22145 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
22146 _ACEOF
22148 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
22149 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
22150 # trailing colons and then remove the whole line if VPATH becomes empty
22151 # (actually we leave an empty line to preserve line numbers).
22152 if test "x$srcdir" = x.; then
22153 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
22155 s///
22156 s/^/:/
22157 s/[ ]*$/:/
22158 s/:\$(srcdir):/:/g
22159 s/:\${srcdir}:/:/g
22160 s/:@srcdir@:/:/g
22161 s/^:*//
22162 s/:*$//
22164 s/\(=[ ]*\).*/\1/
22166 s/\n//
22167 s/^[^=]*=[ ]*$//
22171 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22172 fi # test -n "$CONFIG_FILES"
22174 # Set up the scripts for CONFIG_HEADERS section.
22175 # No need to generate them if there are no CONFIG_HEADERS.
22176 # This happens for instance with `./config.status Makefile'.
22177 if test -n "$CONFIG_HEADERS"; then
22178 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
22179 BEGIN {
22180 _ACEOF
22182 # Transform confdefs.h into an awk script `defines.awk', embedded as
22183 # here-document in config.status, that substitutes the proper values into
22184 # config.h.in to produce config.h.
22186 # Create a delimiter string that does not exist in confdefs.h, to ease
22187 # handling of long lines.
22188 ac_delim='%!_!# '
22189 for ac_last_try in false false :; do
22190 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
22191 if test -z "$ac_tt"; then
22192 break
22193 elif $ac_last_try; then
22194 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
22195 else
22196 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22198 done
22200 # For the awk script, D is an array of macro values keyed by name,
22201 # likewise P contains macro parameters if any. Preserve backslash
22202 # newline sequences.
22204 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22205 sed -n '
22206 s/.\{148\}/&'"$ac_delim"'/g
22207 t rset
22208 :rset
22209 s/^[ ]*#[ ]*define[ ][ ]*/ /
22210 t def
22212 :def
22213 s/\\$//
22214 t bsnl
22215 s/["\\]/\\&/g
22216 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22217 D["\1"]=" \3"/p
22218 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
22220 :bsnl
22221 s/["\\]/\\&/g
22222 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22223 D["\1"]=" \3\\\\\\n"\\/p
22224 t cont
22225 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
22226 t cont
22228 :cont
22230 s/.\{148\}/&'"$ac_delim"'/g
22231 t clear
22232 :clear
22233 s/\\$//
22234 t bsnlc
22235 s/["\\]/\\&/g; s/^/"/; s/$/"/p
22237 :bsnlc
22238 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
22239 b cont
22240 ' <confdefs.h | sed '
22241 s/'"$ac_delim"'/"\\\
22242 "/g' >>$CONFIG_STATUS || ac_write_fail=1
22244 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22245 for (key in D) D_is_set[key] = 1
22246 FS = "\a"
22248 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
22249 line = \$ 0
22250 split(line, arg, " ")
22251 if (arg[1] == "#") {
22252 defundef = arg[2]
22253 mac1 = arg[3]
22254 } else {
22255 defundef = substr(arg[1], 2)
22256 mac1 = arg[2]
22258 split(mac1, mac2, "(") #)
22259 macro = mac2[1]
22260 prefix = substr(line, 1, index(line, defundef) - 1)
22261 if (D_is_set[macro]) {
22262 # Preserve the white space surrounding the "#".
22263 print prefix "define", macro P[macro] D[macro]
22264 next
22265 } else {
22266 # Replace #undef with comments. This is necessary, for example,
22267 # in the case of _POSIX_SOURCE, which is predefined and required
22268 # on some systems where configure will not decide to define it.
22269 if (defundef == "undef") {
22270 print "/*", prefix defundef, macro, "*/"
22271 next
22275 { print }
22276 _ACAWK
22277 _ACEOF
22278 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22279 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
22280 fi # test -n "$CONFIG_HEADERS"
22283 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
22284 shift
22285 for ac_tag
22287 case $ac_tag in
22288 :[FHLC]) ac_mode=$ac_tag; continue;;
22289 esac
22290 case $ac_mode$ac_tag in
22291 :[FHL]*:*);;
22292 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
22293 :[FH]-) ac_tag=-:-;;
22294 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
22295 esac
22296 ac_save_IFS=$IFS
22297 IFS=:
22298 set x $ac_tag
22299 IFS=$ac_save_IFS
22300 shift
22301 ac_file=$1
22302 shift
22304 case $ac_mode in
22305 :L) ac_source=$1;;
22306 :[FH])
22307 ac_file_inputs=
22308 for ac_f
22310 case $ac_f in
22311 -) ac_f="$ac_tmp/stdin";;
22312 *) # Look for the file first in the build tree, then in the source tree
22313 # (if the path is not absolute). The absolute path cannot be DOS-style,
22314 # because $ac_f cannot contain `:'.
22315 test -f "$ac_f" ||
22316 case $ac_f in
22317 [\\/$]*) false;;
22318 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
22319 esac ||
22320 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
22321 esac
22322 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
22323 as_fn_append ac_file_inputs " '$ac_f'"
22324 done
22326 # Let's still pretend it is `configure' which instantiates (i.e., don't
22327 # use $as_me), people would be surprised to read:
22328 # /* config.h. Generated by config.status. */
22329 configure_input='Generated from '`
22330 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
22331 `' by configure.'
22332 if test x"$ac_file" != x-; then
22333 configure_input="$ac_file. $configure_input"
22334 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
22335 $as_echo "$as_me: creating $ac_file" >&6;}
22337 # Neutralize special characters interpreted by sed in replacement strings.
22338 case $configure_input in #(
22339 *\&* | *\|* | *\\* )
22340 ac_sed_conf_input=`$as_echo "$configure_input" |
22341 sed 's/[\\\\&|]/\\\\&/g'`;; #(
22342 *) ac_sed_conf_input=$configure_input;;
22343 esac
22345 case $ac_tag in
22346 *:-:* | *:-) cat >"$ac_tmp/stdin" \
22347 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
22348 esac
22350 esac
22352 ac_dir=`$as_dirname -- "$ac_file" ||
22353 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22354 X"$ac_file" : 'X\(//\)[^/]' \| \
22355 X"$ac_file" : 'X\(//\)$' \| \
22356 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22357 $as_echo X"$ac_file" |
22358 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22359 s//\1/
22362 /^X\(\/\/\)[^/].*/{
22363 s//\1/
22366 /^X\(\/\/\)$/{
22367 s//\1/
22370 /^X\(\/\).*/{
22371 s//\1/
22374 s/.*/./; q'`
22375 as_dir="$ac_dir"; as_fn_mkdir_p
22376 ac_builddir=.
22378 case "$ac_dir" in
22379 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22381 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
22382 # A ".." for each directory in $ac_dir_suffix.
22383 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
22384 case $ac_top_builddir_sub in
22385 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22386 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22387 esac ;;
22388 esac
22389 ac_abs_top_builddir=$ac_pwd
22390 ac_abs_builddir=$ac_pwd$ac_dir_suffix
22391 # for backward compatibility:
22392 ac_top_builddir=$ac_top_build_prefix
22394 case $srcdir in
22395 .) # We are building in place.
22396 ac_srcdir=.
22397 ac_top_srcdir=$ac_top_builddir_sub
22398 ac_abs_top_srcdir=$ac_pwd ;;
22399 [\\/]* | ?:[\\/]* ) # Absolute name.
22400 ac_srcdir=$srcdir$ac_dir_suffix;
22401 ac_top_srcdir=$srcdir
22402 ac_abs_top_srcdir=$srcdir ;;
22403 *) # Relative name.
22404 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22405 ac_top_srcdir=$ac_top_build_prefix$srcdir
22406 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22407 esac
22408 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22411 case $ac_mode in
22414 # CONFIG_FILE
22417 _ACEOF
22419 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22420 # If the template does not know about datarootdir, expand it.
22421 # FIXME: This hack should be removed a few years after 2.60.
22422 ac_datarootdir_hack=; ac_datarootdir_seen=
22423 ac_sed_dataroot='
22424 /datarootdir/ {
22428 /@datadir@/p
22429 /@docdir@/p
22430 /@infodir@/p
22431 /@localedir@/p
22432 /@mandir@/p'
22433 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
22434 *datarootdir*) ac_datarootdir_seen=yes;;
22435 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22436 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22437 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22438 _ACEOF
22439 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22440 ac_datarootdir_hack='
22441 s&@datadir@&$datadir&g
22442 s&@docdir@&$docdir&g
22443 s&@infodir@&$infodir&g
22444 s&@localedir@&$localedir&g
22445 s&@mandir@&$mandir&g
22446 s&\\\${datarootdir}&$datarootdir&g' ;;
22447 esac
22448 _ACEOF
22450 # Neutralize VPATH when `$srcdir' = `.'.
22451 # Shell code in configure.ac might set extrasub.
22452 # FIXME: do we really want to maintain this feature?
22453 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22454 ac_sed_extra="$ac_vpsub
22455 $extrasub
22456 _ACEOF
22457 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22459 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22460 s|@configure_input@|$ac_sed_conf_input|;t t
22461 s&@top_builddir@&$ac_top_builddir_sub&;t t
22462 s&@top_build_prefix@&$ac_top_build_prefix&;t t
22463 s&@srcdir@&$ac_srcdir&;t t
22464 s&@abs_srcdir@&$ac_abs_srcdir&;t t
22465 s&@top_srcdir@&$ac_top_srcdir&;t t
22466 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
22467 s&@builddir@&$ac_builddir&;t t
22468 s&@abs_builddir@&$ac_abs_builddir&;t t
22469 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
22470 $ac_datarootdir_hack
22472 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
22473 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22475 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22476 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
22477 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
22478 "$ac_tmp/out"`; test -z "$ac_out"; } &&
22479 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22480 which seems to be undefined. Please make sure it is defined" >&5
22481 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22482 which seems to be undefined. Please make sure it is defined" >&2;}
22484 rm -f "$ac_tmp/stdin"
22485 case $ac_file in
22486 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
22487 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
22488 esac \
22489 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22493 # CONFIG_HEADER
22495 if test x"$ac_file" != x-; then
22497 $as_echo "/* $configure_input */" \
22498 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
22499 } >"$ac_tmp/config.h" \
22500 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22501 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
22502 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
22503 $as_echo "$as_me: $ac_file is unchanged" >&6;}
22504 else
22505 rm -f "$ac_file"
22506 mv "$ac_tmp/config.h" "$ac_file" \
22507 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22509 else
22510 $as_echo "/* $configure_input */" \
22511 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
22512 || as_fn_error $? "could not create -" "$LINENO" 5
22517 # CONFIG_LINK
22520 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
22522 else
22523 # Prefer the file from the source tree if names are identical.
22524 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
22525 ac_source=$srcdir/$ac_source
22528 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
22529 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
22531 if test ! -r "$ac_source"; then
22532 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
22534 rm -f "$ac_file"
22536 # Try a relative symlink, then a hard link, then a copy.
22537 case $ac_source in
22538 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
22539 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
22540 esac
22541 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
22542 ln "$ac_source" "$ac_file" 2>/dev/null ||
22543 cp -p "$ac_source" "$ac_file" ||
22544 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
22547 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
22548 $as_echo "$as_me: executing $ac_file commands" >&6;}
22550 esac
22553 case $ac_file$ac_mode in
22554 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
22555 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
22556 "Makefile":C) wine_fn_output_makefile Makefile ;;
22558 esac
22559 done # for ac_tag
22562 as_fn_exit 0
22563 _ACEOF
22564 ac_clean_files=$ac_clean_files_save
22566 test $ac_write_fail = 0 ||
22567 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
22570 # configure is writing to config.log, and then calls config.status.
22571 # config.status does its own redirection, appending to config.log.
22572 # Unfortunately, on DOS this fails, as config.log is still kept open
22573 # by configure, so config.status won't be able to write to it; its
22574 # output is simply discarded. So we exec the FD to /dev/null,
22575 # effectively closing config.log, so it can be properly (re)opened and
22576 # appended to by config.status. When coming back to configure, we
22577 # need to make the FD available again.
22578 if test "$no_create" != yes; then
22579 ac_cs_success=:
22580 ac_config_status_args=
22581 test "$silent" = yes &&
22582 ac_config_status_args="$ac_config_status_args --quiet"
22583 exec 5>/dev/null
22584 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22585 exec 5>>config.log
22586 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22587 # would make configure fail if this is the last instruction.
22588 $ac_cs_success || as_fn_exit 1
22590 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
22591 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22592 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
22596 if test "$no_create" = "yes"
22597 then
22598 exit 0
22601 ac_save_IFS="$IFS"
22602 if test "x$wine_notices" != x; then
22603 echo >&6
22604 IFS="|"
22605 for msg in $wine_notices; do
22606 IFS="$ac_save_IFS"
22607 if ${msg:+false} :; then :
22609 else
22610 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
22611 $as_echo "$as_me: $msg" >&6;}
22613 done
22615 IFS="|"
22616 for msg in $wine_warnings; do
22617 IFS="$ac_save_IFS"
22618 if ${msg:+false} :; then :
22620 else
22621 echo >&2
22622 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
22623 $as_echo "$as_me: WARNING: $msg" >&2;}
22625 done
22626 IFS="$ac_save_IFS"
22628 $as_echo "
22629 $as_me: Finished. Do '${ac_make}' to compile Wine.
22630 " >&6