user32/tests: Get rid of strncmpW() and strcpyW().
[wine.git] / configure
blob5fca5bd27fc90c3a491ac013d48faa04f7270989
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 5.0.
5 # Report bugs to <wine-devel@winehq.org>.
8 # Copyright (C) 1992-1996, 1998-2012 Free Software Foundation, Inc.
11 # This configure script is free software; the Free Software Foundation
12 # gives unlimited permission to copy, distribute and modify it.
13 ## -------------------- ##
14 ## M4sh Initialization. ##
15 ## -------------------- ##
17 # Be more Bourne compatible
18 DUALCASE=1; export DUALCASE # for MKS sh
19 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
20 emulate sh
21 NULLCMD=:
22 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
23 # is contrary to our usage. Disable this feature.
24 alias -g '${1+"$@"}'='"$@"'
25 setopt NO_GLOB_SUBST
26 else
27 case `(set -o) 2>/dev/null` in #(
28 *posix*) :
29 set -o posix ;; #(
30 *) :
32 esac
36 as_nl='
38 export as_nl
39 # Printing a long string crashes Solaris 7 /usr/bin/printf.
40 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
41 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
42 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
43 # Prefer a ksh shell builtin over an external printf program on Solaris,
44 # but without wasting forks for bash or zsh.
45 if test -z "$BASH_VERSION$ZSH_VERSION" \
46 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
47 as_echo='print -r --'
48 as_echo_n='print -rn --'
49 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
50 as_echo='printf %s\n'
51 as_echo_n='printf %s'
52 else
53 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
54 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
55 as_echo_n='/usr/ucb/echo -n'
56 else
57 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
58 as_echo_n_body='eval
59 arg=$1;
60 case $arg in #(
61 *"$as_nl"*)
62 expr "X$arg" : "X\\(.*\\)$as_nl";
63 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
64 esac;
65 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
67 export as_echo_n_body
68 as_echo_n='sh -c $as_echo_n_body as_echo'
70 export as_echo_body
71 as_echo='sh -c $as_echo_body as_echo'
74 # The user is always right.
75 if test "${PATH_SEPARATOR+set}" != set; then
76 PATH_SEPARATOR=:
77 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
78 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
79 PATH_SEPARATOR=';'
84 # IFS
85 # We need space, tab and new line, in precisely that order. Quoting is
86 # there to prevent editors from complaining about space-tab.
87 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
88 # splitting by setting IFS to empty value.)
89 IFS=" "" $as_nl"
91 # Find who we are. Look in the path if we contain no directory separator.
92 as_myself=
93 case $0 in #((
94 *[\\/]* ) as_myself=$0 ;;
95 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
96 for as_dir in $PATH
98 IFS=$as_save_IFS
99 test -z "$as_dir" && as_dir=.
100 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
101 done
102 IFS=$as_save_IFS
105 esac
106 # We did not find ourselves, most probably we were run as `sh COMMAND'
107 # in which case we are not to be found in the path.
108 if test "x$as_myself" = x; then
109 as_myself=$0
111 if test ! -f "$as_myself"; then
112 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
113 exit 1
116 # Unset variables that we do not need and which cause bugs (e.g. in
117 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
118 # suppresses any "Segmentation fault" message there. '((' could
119 # trigger a bug in pdksh 5.2.14.
120 for as_var in BASH_ENV ENV MAIL MAILPATH
121 do eval test x\${$as_var+set} = xset \
122 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
123 done
124 PS1='$ '
125 PS2='> '
126 PS4='+ '
128 # NLS nuisances.
129 LC_ALL=C
130 export LC_ALL
131 LANGUAGE=C
132 export LANGUAGE
134 # CDPATH.
135 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
137 # Use a proper internal environment variable to ensure we don't fall
138 # into an infinite loop, continuously re-executing ourselves.
139 if test x"${_as_can_reexec}" != xno && test "x$CONFIG_SHELL" != x; then
140 _as_can_reexec=no; export _as_can_reexec;
141 # We cannot yet assume a decent shell, so we have to provide a
142 # neutralization value for shells without unset; and this also
143 # works around shells that cannot unset nonexistent variables.
144 # Preserve -v and -x to the replacement shell.
145 BASH_ENV=/dev/null
146 ENV=/dev/null
147 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
148 case $- in # ((((
149 *v*x* | *x*v* ) as_opts=-vx ;;
150 *v* ) as_opts=-v ;;
151 *x* ) as_opts=-x ;;
152 * ) as_opts= ;;
153 esac
154 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
155 # Admittedly, this is quite paranoid, since all the known shells bail
156 # out after a failed `exec'.
157 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
158 as_fn_exit 255
160 # We don't want this to propagate to other subprocesses.
161 { _as_can_reexec=; unset _as_can_reexec;}
162 if test "x$CONFIG_SHELL" = x; then
163 as_bourne_compatible="if test -n \"\${ZSH_VERSION+set}\" && (emulate sh) >/dev/null 2>&1; then :
164 emulate sh
165 NULLCMD=:
166 # Pre-4.2 versions of Zsh do word splitting on \${1+\"\$@\"}, which
167 # is contrary to our usage. Disable this feature.
168 alias -g '\${1+\"\$@\"}'='\"\$@\"'
169 setopt NO_GLOB_SUBST
170 else
171 case \`(set -o) 2>/dev/null\` in #(
172 *posix*) :
173 set -o posix ;; #(
174 *) :
176 esac
179 as_required="as_fn_return () { (exit \$1); }
180 as_fn_success () { as_fn_return 0; }
181 as_fn_failure () { as_fn_return 1; }
182 as_fn_ret_success () { return 0; }
183 as_fn_ret_failure () { return 1; }
185 exitcode=0
186 as_fn_success || { exitcode=1; echo as_fn_success failed.; }
187 as_fn_failure && { exitcode=1; echo as_fn_failure succeeded.; }
188 as_fn_ret_success || { exitcode=1; echo as_fn_ret_success failed.; }
189 as_fn_ret_failure && { exitcode=1; echo as_fn_ret_failure succeeded.; }
190 if ( set x; as_fn_ret_success y && test x = \"\$1\" ); then :
192 else
193 exitcode=1; echo positional parameters were not saved.
195 test x\$exitcode = x0 || exit 1
196 test -x / || exit 1"
197 as_suggested=" as_lineno_1=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_1a=\$LINENO
198 as_lineno_2=";as_suggested=$as_suggested$LINENO;as_suggested=$as_suggested" as_lineno_2a=\$LINENO
199 eval 'test \"x\$as_lineno_1'\$as_run'\" != \"x\$as_lineno_2'\$as_run'\" &&
200 test \"x\`expr \$as_lineno_1'\$as_run' + 1\`\" = \"x\$as_lineno_2'\$as_run'\"' || exit 1
201 test \$(( 1 + 1 )) = 2 || exit 1"
202 if (eval "$as_required") 2>/dev/null; then :
203 as_have_required=yes
204 else
205 as_have_required=no
207 if test x$as_have_required = xyes && (eval "$as_suggested") 2>/dev/null; then :
209 else
210 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
211 as_found=false
212 for as_dir in /bin$PATH_SEPARATOR/usr/bin$PATH_SEPARATOR$PATH
214 IFS=$as_save_IFS
215 test -z "$as_dir" && as_dir=.
216 as_found=:
217 case $as_dir in #(
219 for as_base in sh bash ksh sh5; do
220 # Try only shells that exist, to save several forks.
221 as_shell=$as_dir/$as_base
222 if { test -f "$as_shell" || test -f "$as_shell.exe"; } &&
223 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$as_shell"; } 2>/dev/null; then :
224 CONFIG_SHELL=$as_shell as_have_required=yes
225 if { $as_echo "$as_bourne_compatible""$as_suggested" | as_run=a "$as_shell"; } 2>/dev/null; then :
226 break 2
229 done;;
230 esac
231 as_found=false
232 done
233 $as_found || { if { test -f "$SHELL" || test -f "$SHELL.exe"; } &&
234 { $as_echo "$as_bourne_compatible""$as_required" | as_run=a "$SHELL"; } 2>/dev/null; then :
235 CONFIG_SHELL=$SHELL as_have_required=yes
236 fi; }
237 IFS=$as_save_IFS
240 if test "x$CONFIG_SHELL" != x; then :
241 export CONFIG_SHELL
242 # We cannot yet assume a decent shell, so we have to provide a
243 # neutralization value for shells without unset; and this also
244 # works around shells that cannot unset nonexistent variables.
245 # Preserve -v and -x to the replacement shell.
246 BASH_ENV=/dev/null
247 ENV=/dev/null
248 (unset BASH_ENV) >/dev/null 2>&1 && unset BASH_ENV ENV
249 case $- in # ((((
250 *v*x* | *x*v* ) as_opts=-vx ;;
251 *v* ) as_opts=-v ;;
252 *x* ) as_opts=-x ;;
253 * ) as_opts= ;;
254 esac
255 exec $CONFIG_SHELL $as_opts "$as_myself" ${1+"$@"}
256 # Admittedly, this is quite paranoid, since all the known shells bail
257 # out after a failed `exec'.
258 $as_echo "$0: could not re-execute with $CONFIG_SHELL" >&2
259 exit 255
262 if test x$as_have_required = xno; then :
263 $as_echo "$0: This script requires a shell more modern than all"
264 $as_echo "$0: the shells that I found on your system."
265 if test x${ZSH_VERSION+set} = xset ; then
266 $as_echo "$0: In particular, zsh $ZSH_VERSION has bugs and should"
267 $as_echo "$0: be upgraded to zsh 4.3.4 or later."
268 else
269 $as_echo "$0: Please tell bug-autoconf@gnu.org and
270 $0: wine-devel@winehq.org about your system, including any
271 $0: error possibly output before this message. Then install
272 $0: a modern shell, or manually run the script under such a
273 $0: shell if you do have one."
275 exit 1
279 SHELL=${CONFIG_SHELL-/bin/sh}
280 export SHELL
281 # Unset more variables known to interfere with behavior of common tools.
282 CLICOLOR_FORCE= GREP_OPTIONS=
283 unset CLICOLOR_FORCE GREP_OPTIONS
285 ## --------------------- ##
286 ## M4sh Shell Functions. ##
287 ## --------------------- ##
288 # as_fn_unset VAR
289 # ---------------
290 # Portably unset VAR.
291 as_fn_unset ()
293 { eval $1=; unset $1;}
295 as_unset=as_fn_unset
297 # as_fn_set_status STATUS
298 # -----------------------
299 # Set $? to STATUS, without forking.
300 as_fn_set_status ()
302 return $1
303 } # as_fn_set_status
305 # as_fn_exit STATUS
306 # -----------------
307 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
308 as_fn_exit ()
310 set +e
311 as_fn_set_status $1
312 exit $1
313 } # as_fn_exit
315 # as_fn_mkdir_p
316 # -------------
317 # Create "$as_dir" as a directory, including parents if necessary.
318 as_fn_mkdir_p ()
321 case $as_dir in #(
322 -*) as_dir=./$as_dir;;
323 esac
324 test -d "$as_dir" || eval $as_mkdir_p || {
325 as_dirs=
326 while :; do
327 case $as_dir in #(
328 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
329 *) as_qdir=$as_dir;;
330 esac
331 as_dirs="'$as_qdir' $as_dirs"
332 as_dir=`$as_dirname -- "$as_dir" ||
333 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
334 X"$as_dir" : 'X\(//\)[^/]' \| \
335 X"$as_dir" : 'X\(//\)$' \| \
336 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
337 $as_echo X"$as_dir" |
338 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
339 s//\1/
342 /^X\(\/\/\)[^/].*/{
343 s//\1/
346 /^X\(\/\/\)$/{
347 s//\1/
350 /^X\(\/\).*/{
351 s//\1/
354 s/.*/./; q'`
355 test -d "$as_dir" && break
356 done
357 test -z "$as_dirs" || eval "mkdir $as_dirs"
358 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
361 } # as_fn_mkdir_p
363 # as_fn_executable_p FILE
364 # -----------------------
365 # Test if FILE is an executable regular file.
366 as_fn_executable_p ()
368 test -f "$1" && test -x "$1"
369 } # as_fn_executable_p
370 # as_fn_append VAR VALUE
371 # ----------------------
372 # Append the text in VALUE to the end of the definition contained in VAR. Take
373 # advantage of any shell optimizations that allow amortized linear growth over
374 # repeated appends, instead of the typical quadratic growth present in naive
375 # implementations.
376 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
377 eval 'as_fn_append ()
379 eval $1+=\$2
381 else
382 as_fn_append ()
384 eval $1=\$$1\$2
386 fi # as_fn_append
388 # as_fn_arith ARG...
389 # ------------------
390 # Perform arithmetic evaluation on the ARGs, and store the result in the
391 # global $as_val. Take advantage of shells that can avoid forks. The arguments
392 # must be portable across $(()) and expr.
393 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
394 eval 'as_fn_arith ()
396 as_val=$(( $* ))
398 else
399 as_fn_arith ()
401 as_val=`expr "$@" || test $? -eq 1`
403 fi # as_fn_arith
406 # as_fn_error STATUS ERROR [LINENO LOG_FD]
407 # ----------------------------------------
408 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
409 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
410 # script with STATUS, using 1 if that was 0.
411 as_fn_error ()
413 as_status=$1; test $as_status -eq 0 && as_status=1
414 if test "$4"; then
415 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
416 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
418 $as_echo "$as_me: error: $2" >&2
419 as_fn_exit $as_status
420 } # as_fn_error
422 if expr a : '\(a\)' >/dev/null 2>&1 &&
423 test "X`expr 00001 : '.*\(...\)'`" = X001; then
424 as_expr=expr
425 else
426 as_expr=false
429 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
430 as_basename=basename
431 else
432 as_basename=false
435 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
436 as_dirname=dirname
437 else
438 as_dirname=false
441 as_me=`$as_basename -- "$0" ||
442 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
443 X"$0" : 'X\(//\)$' \| \
444 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
445 $as_echo X/"$0" |
446 sed '/^.*\/\([^/][^/]*\)\/*$/{
447 s//\1/
450 /^X\/\(\/\/\)$/{
451 s//\1/
454 /^X\/\(\/\).*/{
455 s//\1/
458 s/.*/./; q'`
460 # Avoid depending upon Character Ranges.
461 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
462 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
463 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
464 as_cr_digits='0123456789'
465 as_cr_alnum=$as_cr_Letters$as_cr_digits
468 as_lineno_1=$LINENO as_lineno_1a=$LINENO
469 as_lineno_2=$LINENO as_lineno_2a=$LINENO
470 eval 'test "x$as_lineno_1'$as_run'" != "x$as_lineno_2'$as_run'" &&
471 test "x`expr $as_lineno_1'$as_run' + 1`" = "x$as_lineno_2'$as_run'"' || {
472 # Blame Lee E. McMahon (1931-1989) for sed's syntax. :-)
473 sed -n '
475 /[$]LINENO/=
476 ' <$as_myself |
477 sed '
478 s/[$]LINENO.*/&-/
479 t lineno
481 :lineno
483 :loop
484 s/[$]LINENO\([^'$as_cr_alnum'_].*\n\)\(.*\)/\2\1\2/
485 t loop
486 s/-\n.*//
487 ' >$as_me.lineno &&
488 chmod +x "$as_me.lineno" ||
489 { $as_echo "$as_me: error: cannot create $as_me.lineno; rerun with a POSIX shell" >&2; as_fn_exit 1; }
491 # If we had to re-execute with $CONFIG_SHELL, we're ensured to have
492 # already done that, so ensure we don't try to do so again and fall
493 # in an infinite loop. This has already happened in practice.
494 _as_can_reexec=no; export _as_can_reexec
495 # Don't try to exec as it changes $[0], causing all sort of problems
496 # (the dirname of $[0] is not the place where we might find the
497 # original and so on. Autoconf is especially sensitive to this).
498 . "./$as_me.lineno"
499 # Exit status is that of the last command.
500 exit
503 ECHO_C= ECHO_N= ECHO_T=
504 case `echo -n x` in #(((((
505 -n*)
506 case `echo 'xy\c'` in
507 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
508 xy) ECHO_C='\c';;
509 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
510 ECHO_T=' ';;
511 esac;;
513 ECHO_N='-n';;
514 esac
516 rm -f conf$$ conf$$.exe conf$$.file
517 if test -d conf$$.dir; then
518 rm -f conf$$.dir/conf$$.file
519 else
520 rm -f conf$$.dir
521 mkdir conf$$.dir 2>/dev/null
523 if (echo >conf$$.file) 2>/dev/null; then
524 if ln -s conf$$.file conf$$ 2>/dev/null; then
525 as_ln_s='ln -s'
526 # ... but there are two gotchas:
527 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
528 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
529 # In both cases, we have to default to `cp -pR'.
530 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
531 as_ln_s='cp -pR'
532 elif ln conf$$.file conf$$ 2>/dev/null; then
533 as_ln_s=ln
534 else
535 as_ln_s='cp -pR'
537 else
538 as_ln_s='cp -pR'
540 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
541 rmdir conf$$.dir 2>/dev/null
543 if mkdir -p . 2>/dev/null; then
544 as_mkdir_p='mkdir -p "$as_dir"'
545 else
546 test -d ./-p && rmdir ./-p
547 as_mkdir_p=false
550 as_test_x='test -x'
551 as_executable_p=as_fn_executable_p
553 # Sed expression to map a string onto a valid CPP name.
554 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
556 # Sed expression to map a string onto a valid variable name.
557 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
560 test -n "$DJDIR" || exec 7<&0 </dev/null
561 exec 6>&1
563 # Name of the host.
564 # hostname on some systems (SVR3.2, old GNU/Linux) returns a bogus exit status,
565 # so uname gets run too.
566 ac_hostname=`(hostname || uname -n) 2>/dev/null | sed 1q`
569 # Initializations.
571 ac_default_prefix=/usr/local
572 ac_clean_files=
573 ac_config_libobj_dir=.
574 LIBOBJS=
575 cross_compiling=no
576 subdirs=
577 MFLAGS=
578 MAKEFLAGS=
580 # Identity of this package.
581 PACKAGE_NAME='Wine'
582 PACKAGE_TARNAME='wine'
583 PACKAGE_VERSION='5.0'
584 PACKAGE_STRING='Wine 5.0'
585 PACKAGE_BUGREPORT='wine-devel@winehq.org'
586 PACKAGE_URL='https://www.winehq.org'
588 ac_unique_file="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default="\
591 #include <stdio.h>
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
594 #endif
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
597 #endif
598 #ifdef STDC_HEADERS
599 # include <stdlib.h>
600 # include <stddef.h>
601 #else
602 # ifdef HAVE_STDLIB_H
603 # include <stdlib.h>
604 # endif
605 #endif
606 #ifdef HAVE_STRING_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
608 # include <memory.h>
609 # endif
610 # include <string.h>
611 #endif
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
614 #endif
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
617 #endif
618 #ifdef HAVE_STDINT_H
619 # include <stdint.h>
620 #endif
621 #ifdef HAVE_UNISTD_H
622 # include <unistd.h>
623 #endif"
625 ac_subst_vars='LTLIBOBJS
626 LIBOBJS
627 ALL_VARS_RULES
628 LDAP_LIBS
629 LDAP_CFLAGS
630 RT_LIBS
631 POLL_LIBS
632 DL_LIBS
633 TOOLSEXT
634 MSVCRTFLAGS
635 EXCESS_PRECISION_CFLAGS
636 EXTRACFLAGS
637 VKD3D_LIBS
638 VKD3D_CFLAGS
639 NETAPI_LIBS
640 NETAPI_CFLAGS
641 PROCSTAT_LIBS
642 KSTAT_LIBS
643 MPG123_LIBS
644 MPG123_CFLAGS
645 TIFF_LIBS
646 TIFF_CFLAGS
647 PNG_LIBS
648 PNG_CFLAGS
649 JPEG_LIBS
650 JPEG_CFLAGS
651 GSSAPI_LIBS
652 GSSAPI_CFLAGS
653 KRB5_LIBS
654 KRB5_CFLAGS
655 FONTCONFIG_LIBS
656 FONTCONFIG_CFLAGS
657 CUPS_LIBS
658 CUPS_CFLAGS
659 CAPI20_LIBS
660 CAPI20_CFLAGS
661 FAUDIO_LIBS
662 FAUDIO_CFLAGS
663 SDL2_LIBS
664 SDL2_CFLAGS
665 UNWIND_LIBS
666 UNWIND_CFLAGS
667 UDEV_LIBS
668 UDEV_CFLAGS
669 OSS4_LIBS
670 OSS4_CFLAGS
671 ALSA_LIBS
672 GSTREAMER_LIBS
673 GSTREAMER_CFLAGS
674 PULSE_LIBS
675 PULSE_CFLAGS
676 GETTEXTPO_LIBS
677 Z_LIBS
678 Z_CFLAGS
679 FREETYPE_LIBS
680 FREETYPE_CFLAGS
681 LCMS2_LIBS
682 LCMS2_CFLAGS
683 RESOLV_LIBS
684 GPHOTO2_PORT_LIBS
685 GPHOTO2_PORT_CFLAGS
686 GPHOTO2_LIBS
687 GPHOTO2_CFLAGS
688 SANE_LIBS
689 SANE_CFLAGS
690 GNUTLS_LIBS
691 GNUTLS_CFLAGS
692 HAL_LIBS
693 HAL_CFLAGS
694 DBUS_LIBS
695 DBUS_CFLAGS
696 INOTIFY_LIBS
697 INOTIFY_CFLAGS
698 XSLT_LIBS
699 XSLT_CFLAGS
700 XML2_LIBS
701 XML2_CFLAGS
702 PCAP_LIBS
703 X_EXTRA_LIBS
704 X_LIBS
705 X_PRE_LIBS
706 X_CFLAGS
707 XMKMF
708 PTHREAD_LIBS
709 DELAYLOADFLAG
710 CROSSLDFLAGS
711 EXTRACROSSCFLAGS
712 CROSSCFLAGS
713 CROSSCC
714 CROSSTARGET
715 LIBWINE_DEPENDS
716 PRELINK
717 WINELOADER_DEPENDS
718 LIBWINE_LDFLAGS
719 LIBWINE_SHAREDLIB
720 METAL_LIBS
721 CARBON_LIBS
722 QUICKTIME_LIBS
723 OPENCL_LIBS
724 OPENAL_LIBS
725 COREAUDIO_LIBS
726 SECURITY_LIBS
727 DISKARBITRATION_LIBS
728 SYSTEMCONFIGURATION_LIBS
729 APPKIT_LIBS
730 CORESERVICES_LIBS
731 APPLICATIONSERVICES_LIBS
732 FORCEFEEDBACK_LIBS
733 IOKIT_LIBS
734 COREFOUNDATION_LIBS
735 OBJCPP
736 ac_ct_OBJC
737 OBJCFLAGS
738 OBJC
739 DLLTOOL
740 WINELOADER_PROGRAMS
741 CONFIGURE_TARGETS
742 DISABLED_SUBDIRS
743 SUBDIRS
744 READELF
745 OTOOL
747 WINEPRELOADER_LDFLAGS
748 WINELOADER_LDFLAGS
749 TOP_INSTALL_DEV
750 TOP_INSTALL_LIB
751 LDEXECFLAGS
752 LDDLLFLAGS
753 LDRPATH_LOCAL
754 LDRPATH_INSTALL
755 DLLFLAGS
757 OPENGL_LIBS
758 I386_LIBS
759 ICOTOOL
760 CONVERT
761 RSVG
762 FONTFORGE
763 PKG_CONFIG
764 MSGFMT
765 LDCONFIG
766 EGREP
767 GREP
768 LN_S
769 RANLIB
770 STRIP
771 ac_ct_AR
773 BISON
774 FLEX
775 TOOLSDIR
776 TARGETFLAGS
778 CPPBIN
779 ac_ct_CXX
780 CXXFLAGS
782 OBJEXT
783 EXEEXT
784 ac_ct_CC
785 CPPFLAGS
786 LDFLAGS
787 CFLAGS
789 SET_MAKE
790 host_os
791 host_vendor
792 host_cpu
793 host
794 build_os
795 build_vendor
796 build_cpu
797 build
798 target_alias
799 host_alias
800 build_alias
801 LIBS
802 ECHO_T
803 ECHO_N
804 ECHO_C
805 DEFS
806 mandir
807 localedir
808 libdir
809 psdir
810 pdfdir
811 dvidir
812 htmldir
813 infodir
814 docdir
815 oldincludedir
816 includedir
817 runstatedir
818 localstatedir
819 sharedstatedir
820 sysconfdir
821 datadir
822 datarootdir
823 libexecdir
824 sbindir
825 bindir
826 program_transform_name
827 prefix
828 exec_prefix
829 PACKAGE_URL
830 PACKAGE_BUGREPORT
831 PACKAGE_STRING
832 PACKAGE_VERSION
833 PACKAGE_TARNAME
834 PACKAGE_NAME
835 PATH_SEPARATOR
836 SHELL'
837 ac_subst_files=''
838 ac_user_opts='
839 enable_option_checking
840 enable_win16
841 enable_win64
842 enable_tests
843 enable_maintainer_mode
844 with_alsa
845 with_capi
846 with_cms
847 with_coreaudio
848 with_cups
849 with_curses
850 with_dbus
851 with_faudio
852 with_float_abi
853 with_fontconfig
854 with_freetype
855 with_gettext
856 with_gettextpo
857 with_gphoto
858 with_glu
859 with_gnutls
860 with_gsm
861 with_gssapi
862 with_gstreamer
863 with_hal
864 with_inotify
865 with_jpeg
866 with_krb5
867 with_ldap
868 with_mingw
869 with_mpg123
870 with_netapi
871 with_openal
872 with_opencl
873 with_opengl
874 with_osmesa
875 with_oss
876 with_pcap
877 with_png
878 with_pthread
879 with_pulse
880 with_sane
881 with_sdl
882 with_tiff
883 with_udev
884 with_unwind
885 with_v4l2
886 with_vkd3d
887 with_vulkan
888 with_xcomposite
889 with_xcursor
890 with_xfixes
891 with_xinerama
892 with_xinput
893 with_xinput2
894 with_xml
895 with_xrandr
896 with_xrender
897 with_xshape
898 with_xshm
899 with_xslt
900 with_xxf86vm
901 with_zlib
902 with_wine_tools
903 with_wine64
904 enable_largefile
905 with_x
906 enable_acledit
907 enable_aclui
908 enable_activeds
909 enable_actxprxy
910 enable_adsiid
911 enable_adsldp
912 enable_adsldpc
913 enable_advapi32
914 enable_advpack
915 enable_amsi
916 enable_amstream
917 enable_api_ms_win_appmodel_identity_l1_1_0
918 enable_api_ms_win_appmodel_runtime_l1_1_1
919 enable_api_ms_win_appmodel_runtime_l1_1_2
920 enable_api_ms_win_core_apiquery_l1_1_0
921 enable_api_ms_win_core_appcompat_l1_1_1
922 enable_api_ms_win_core_appinit_l1_1_0
923 enable_api_ms_win_core_atoms_l1_1_0
924 enable_api_ms_win_core_bem_l1_1_0
925 enable_api_ms_win_core_com_l1_1_0
926 enable_api_ms_win_core_com_l1_1_1
927 enable_api_ms_win_core_com_private_l1_1_0
928 enable_api_ms_win_core_comm_l1_1_0
929 enable_api_ms_win_core_console_l1_1_0
930 enable_api_ms_win_core_console_l2_1_0
931 enable_api_ms_win_core_crt_l1_1_0
932 enable_api_ms_win_core_crt_l2_1_0
933 enable_api_ms_win_core_datetime_l1_1_0
934 enable_api_ms_win_core_datetime_l1_1_1
935 enable_api_ms_win_core_debug_l1_1_0
936 enable_api_ms_win_core_debug_l1_1_1
937 enable_api_ms_win_core_delayload_l1_1_0
938 enable_api_ms_win_core_delayload_l1_1_1
939 enable_api_ms_win_core_errorhandling_l1_1_0
940 enable_api_ms_win_core_errorhandling_l1_1_1
941 enable_api_ms_win_core_errorhandling_l1_1_2
942 enable_api_ms_win_core_errorhandling_l1_1_3
943 enable_api_ms_win_core_fibers_l1_1_0
944 enable_api_ms_win_core_fibers_l1_1_1
945 enable_api_ms_win_core_file_l1_1_0
946 enable_api_ms_win_core_file_l1_2_0
947 enable_api_ms_win_core_file_l1_2_1
948 enable_api_ms_win_core_file_l1_2_2
949 enable_api_ms_win_core_file_l2_1_0
950 enable_api_ms_win_core_file_l2_1_1
951 enable_api_ms_win_core_file_l2_1_2
952 enable_api_ms_win_core_handle_l1_1_0
953 enable_api_ms_win_core_heap_l1_1_0
954 enable_api_ms_win_core_heap_l1_2_0
955 enable_api_ms_win_core_heap_l2_1_0
956 enable_api_ms_win_core_heap_obsolete_l1_1_0
957 enable_api_ms_win_core_interlocked_l1_1_0
958 enable_api_ms_win_core_interlocked_l1_2_0
959 enable_api_ms_win_core_io_l1_1_0
960 enable_api_ms_win_core_io_l1_1_1
961 enable_api_ms_win_core_job_l1_1_0
962 enable_api_ms_win_core_job_l2_1_0
963 enable_api_ms_win_core_kernel32_legacy_l1_1_0
964 enable_api_ms_win_core_kernel32_legacy_l1_1_1
965 enable_api_ms_win_core_kernel32_private_l1_1_1
966 enable_api_ms_win_core_largeinteger_l1_1_0
967 enable_api_ms_win_core_libraryloader_l1_1_0
968 enable_api_ms_win_core_libraryloader_l1_1_1
969 enable_api_ms_win_core_libraryloader_l1_2_0
970 enable_api_ms_win_core_libraryloader_l1_2_1
971 enable_api_ms_win_core_libraryloader_l1_2_2
972 enable_api_ms_win_core_localization_l1_1_0
973 enable_api_ms_win_core_localization_l1_2_0
974 enable_api_ms_win_core_localization_l1_2_1
975 enable_api_ms_win_core_localization_l2_1_0
976 enable_api_ms_win_core_localization_obsolete_l1_1_0
977 enable_api_ms_win_core_localization_obsolete_l1_2_0
978 enable_api_ms_win_core_localization_obsolete_l1_3_0
979 enable_api_ms_win_core_localization_private_l1_1_0
980 enable_api_ms_win_core_localregistry_l1_1_0
981 enable_api_ms_win_core_memory_l1_1_0
982 enable_api_ms_win_core_memory_l1_1_1
983 enable_api_ms_win_core_memory_l1_1_2
984 enable_api_ms_win_core_misc_l1_1_0
985 enable_api_ms_win_core_namedpipe_l1_1_0
986 enable_api_ms_win_core_namedpipe_l1_2_0
987 enable_api_ms_win_core_namespace_l1_1_0
988 enable_api_ms_win_core_normalization_l1_1_0
989 enable_api_ms_win_core_path_l1_1_0
990 enable_api_ms_win_core_privateprofile_l1_1_1
991 enable_api_ms_win_core_processenvironment_l1_1_0
992 enable_api_ms_win_core_processenvironment_l1_2_0
993 enable_api_ms_win_core_processthreads_l1_1_0
994 enable_api_ms_win_core_processthreads_l1_1_1
995 enable_api_ms_win_core_processthreads_l1_1_2
996 enable_api_ms_win_core_processthreads_l1_1_3
997 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
998 enable_api_ms_win_core_profile_l1_1_0
999 enable_api_ms_win_core_psapi_ansi_l1_1_0
1000 enable_api_ms_win_core_psapi_l1_1_0
1001 enable_api_ms_win_core_psapi_obsolete_l1_1_0
1002 enable_api_ms_win_core_quirks_l1_1_0
1003 enable_api_ms_win_core_realtime_l1_1_0
1004 enable_api_ms_win_core_registry_l1_1_0
1005 enable_api_ms_win_core_registry_l2_1_0
1006 enable_api_ms_win_core_registryuserspecific_l1_1_0
1007 enable_api_ms_win_core_rtlsupport_l1_1_0
1008 enable_api_ms_win_core_rtlsupport_l1_2_0
1009 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
1010 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
1011 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
1012 enable_api_ms_win_core_shutdown_l1_1_0
1013 enable_api_ms_win_core_sidebyside_l1_1_0
1014 enable_api_ms_win_core_string_l1_1_0
1015 enable_api_ms_win_core_string_l2_1_0
1016 enable_api_ms_win_core_string_obsolete_l1_1_0
1017 enable_api_ms_win_core_stringansi_l1_1_0
1018 enable_api_ms_win_core_stringloader_l1_1_1
1019 enable_api_ms_win_core_synch_ansi_l1_1_0
1020 enable_api_ms_win_core_synch_l1_1_0
1021 enable_api_ms_win_core_synch_l1_2_0
1022 enable_api_ms_win_core_synch_l1_2_1
1023 enable_api_ms_win_core_sysinfo_l1_1_0
1024 enable_api_ms_win_core_sysinfo_l1_2_0
1025 enable_api_ms_win_core_sysinfo_l1_2_1
1026 enable_api_ms_win_core_threadpool_l1_1_0
1027 enable_api_ms_win_core_threadpool_l1_2_0
1028 enable_api_ms_win_core_threadpool_legacy_l1_1_0
1029 enable_api_ms_win_core_threadpool_private_l1_1_0
1030 enable_api_ms_win_core_timezone_l1_1_0
1031 enable_api_ms_win_core_toolhelp_l1_1_0
1032 enable_api_ms_win_core_url_l1_1_0
1033 enable_api_ms_win_core_util_l1_1_0
1034 enable_api_ms_win_core_version_l1_1_0
1035 enable_api_ms_win_core_version_l1_1_1
1036 enable_api_ms_win_core_version_private_l1_1_0
1037 enable_api_ms_win_core_versionansi_l1_1_0
1038 enable_api_ms_win_core_windowserrorreporting_l1_1_0
1039 enable_api_ms_win_core_winrt_error_l1_1_0
1040 enable_api_ms_win_core_winrt_error_l1_1_1
1041 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
1042 enable_api_ms_win_core_winrt_l1_1_0
1043 enable_api_ms_win_core_winrt_registration_l1_1_0
1044 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
1045 enable_api_ms_win_core_winrt_string_l1_1_0
1046 enable_api_ms_win_core_winrt_string_l1_1_1
1047 enable_api_ms_win_core_wow64_l1_1_0
1048 enable_api_ms_win_core_wow64_l1_1_1
1049 enable_api_ms_win_core_xstate_l1_1_0
1050 enable_api_ms_win_core_xstate_l2_1_0
1051 enable_api_ms_win_crt_conio_l1_1_0
1052 enable_api_ms_win_crt_convert_l1_1_0
1053 enable_api_ms_win_crt_environment_l1_1_0
1054 enable_api_ms_win_crt_filesystem_l1_1_0
1055 enable_api_ms_win_crt_heap_l1_1_0
1056 enable_api_ms_win_crt_locale_l1_1_0
1057 enable_api_ms_win_crt_math_l1_1_0
1058 enable_api_ms_win_crt_multibyte_l1_1_0
1059 enable_api_ms_win_crt_private_l1_1_0
1060 enable_api_ms_win_crt_process_l1_1_0
1061 enable_api_ms_win_crt_runtime_l1_1_0
1062 enable_api_ms_win_crt_stdio_l1_1_0
1063 enable_api_ms_win_crt_string_l1_1_0
1064 enable_api_ms_win_crt_time_l1_1_0
1065 enable_api_ms_win_crt_utility_l1_1_0
1066 enable_api_ms_win_devices_config_l1_1_0
1067 enable_api_ms_win_devices_config_l1_1_1
1068 enable_api_ms_win_devices_query_l1_1_1
1069 enable_api_ms_win_downlevel_advapi32_l1_1_0
1070 enable_api_ms_win_downlevel_advapi32_l2_1_0
1071 enable_api_ms_win_downlevel_normaliz_l1_1_0
1072 enable_api_ms_win_downlevel_ole32_l1_1_0
1073 enable_api_ms_win_downlevel_shell32_l1_1_0
1074 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1075 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1076 enable_api_ms_win_downlevel_user32_l1_1_0
1077 enable_api_ms_win_downlevel_version_l1_1_0
1078 enable_api_ms_win_dx_d3dkmt_l1_1_0
1079 enable_api_ms_win_eventing_classicprovider_l1_1_0
1080 enable_api_ms_win_eventing_consumer_l1_1_0
1081 enable_api_ms_win_eventing_controller_l1_1_0
1082 enable_api_ms_win_eventing_legacy_l1_1_0
1083 enable_api_ms_win_eventing_provider_l1_1_0
1084 enable_api_ms_win_eventlog_legacy_l1_1_0
1085 enable_api_ms_win_gdi_dpiinfo_l1_1_0
1086 enable_api_ms_win_mm_joystick_l1_1_0
1087 enable_api_ms_win_mm_misc_l1_1_1
1088 enable_api_ms_win_mm_mme_l1_1_0
1089 enable_api_ms_win_mm_time_l1_1_0
1090 enable_api_ms_win_ntuser_dc_access_l1_1_0
1091 enable_api_ms_win_ntuser_rectangle_l1_1_0
1092 enable_api_ms_win_ntuser_sysparams_l1_1_0
1093 enable_api_ms_win_perf_legacy_l1_1_0
1094 enable_api_ms_win_power_base_l1_1_0
1095 enable_api_ms_win_power_setting_l1_1_0
1096 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
1097 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1098 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
1099 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
1100 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
1101 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
1102 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
1103 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1104 enable_api_ms_win_security_audit_l1_1_1
1105 enable_api_ms_win_security_base_l1_1_0
1106 enable_api_ms_win_security_base_l1_2_0
1107 enable_api_ms_win_security_base_private_l1_1_1
1108 enable_api_ms_win_security_credentials_l1_1_0
1109 enable_api_ms_win_security_cryptoapi_l1_1_0
1110 enable_api_ms_win_security_grouppolicy_l1_1_0
1111 enable_api_ms_win_security_lsalookup_l1_1_0
1112 enable_api_ms_win_security_lsalookup_l1_1_1
1113 enable_api_ms_win_security_lsalookup_l2_1_0
1114 enable_api_ms_win_security_lsalookup_l2_1_1
1115 enable_api_ms_win_security_lsapolicy_l1_1_0
1116 enable_api_ms_win_security_provider_l1_1_0
1117 enable_api_ms_win_security_sddl_l1_1_0
1118 enable_api_ms_win_security_systemfunctions_l1_1_0
1119 enable_api_ms_win_service_core_l1_1_0
1120 enable_api_ms_win_service_core_l1_1_1
1121 enable_api_ms_win_service_management_l1_1_0
1122 enable_api_ms_win_service_management_l2_1_0
1123 enable_api_ms_win_service_private_l1_1_1
1124 enable_api_ms_win_service_winsvc_l1_1_0
1125 enable_api_ms_win_service_winsvc_l1_2_0
1126 enable_api_ms_win_shcore_obsolete_l1_1_0
1127 enable_api_ms_win_shcore_scaling_l1_1_1
1128 enable_api_ms_win_shcore_stream_l1_1_0
1129 enable_api_ms_win_shcore_thread_l1_1_0
1130 enable_api_ms_win_shell_shellcom_l1_1_0
1131 enable_api_ms_win_shell_shellfolders_l1_1_0
1132 enable_apphelp
1133 enable_appwiz_cpl
1134 enable_atl
1135 enable_atl100
1136 enable_atl110
1137 enable_atl80
1138 enable_atl90
1139 enable_atlthunk
1140 enable_atmlib
1141 enable_authz
1142 enable_avicap32
1143 enable_avifil32
1144 enable_avrt
1145 enable_bcrypt
1146 enable_bluetoothapis
1147 enable_browseui
1148 enable_bthprops_cpl
1149 enable_cabinet
1150 enable_capi2032
1151 enable_cards
1152 enable_cdosys
1153 enable_cfgmgr32
1154 enable_clusapi
1155 enable_combase
1156 enable_comcat
1157 enable_comctl32
1158 enable_comdlg32
1159 enable_compstui
1160 enable_comsvcs
1161 enable_concrt140
1162 enable_connect
1163 enable_credui
1164 enable_crtdll
1165 enable_crypt32
1166 enable_cryptdlg
1167 enable_cryptdll
1168 enable_cryptext
1169 enable_cryptnet
1170 enable_cryptui
1171 enable_ctapi32
1172 enable_ctl3d32
1173 enable_d2d1
1174 enable_d3d10
1175 enable_d3d10_1
1176 enable_d3d10core
1177 enable_d3d11
1178 enable_d3d12
1179 enable_d3d8
1180 enable_d3d9
1181 enable_d3dcompiler_33
1182 enable_d3dcompiler_34
1183 enable_d3dcompiler_35
1184 enable_d3dcompiler_36
1185 enable_d3dcompiler_37
1186 enable_d3dcompiler_38
1187 enable_d3dcompiler_39
1188 enable_d3dcompiler_40
1189 enable_d3dcompiler_41
1190 enable_d3dcompiler_42
1191 enable_d3dcompiler_43
1192 enable_d3dcompiler_46
1193 enable_d3dcompiler_47
1194 enable_d3dim
1195 enable_d3drm
1196 enable_d3dx10_33
1197 enable_d3dx10_34
1198 enable_d3dx10_35
1199 enable_d3dx10_36
1200 enable_d3dx10_37
1201 enable_d3dx10_38
1202 enable_d3dx10_39
1203 enable_d3dx10_40
1204 enable_d3dx10_41
1205 enable_d3dx10_42
1206 enable_d3dx10_43
1207 enable_d3dx11_42
1208 enable_d3dx11_43
1209 enable_d3dx9_24
1210 enable_d3dx9_25
1211 enable_d3dx9_26
1212 enable_d3dx9_27
1213 enable_d3dx9_28
1214 enable_d3dx9_29
1215 enable_d3dx9_30
1216 enable_d3dx9_31
1217 enable_d3dx9_32
1218 enable_d3dx9_33
1219 enable_d3dx9_34
1220 enable_d3dx9_35
1221 enable_d3dx9_36
1222 enable_d3dx9_37
1223 enable_d3dx9_38
1224 enable_d3dx9_39
1225 enable_d3dx9_40
1226 enable_d3dx9_41
1227 enable_d3dx9_42
1228 enable_d3dx9_43
1229 enable_d3dxof
1230 enable_davclnt
1231 enable_dbgeng
1232 enable_dbghelp
1233 enable_dciman32
1234 enable_ddraw
1235 enable_ddrawex
1236 enable_devenum
1237 enable_dhcpcsvc
1238 enable_dhtmled_ocx
1239 enable_difxapi
1240 enable_dinput
1241 enable_dinput8
1242 enable_dispex
1243 enable_dmband
1244 enable_dmcompos
1245 enable_dmime
1246 enable_dmloader
1247 enable_dmoguids
1248 enable_dmscript
1249 enable_dmstyle
1250 enable_dmsynth
1251 enable_dmusic
1252 enable_dmusic32
1253 enable_dnsapi
1254 enable_dplay
1255 enable_dplayx
1256 enable_dpnaddr
1257 enable_dpnet
1258 enable_dpnhpast
1259 enable_dpnlobby
1260 enable_dpvoice
1261 enable_dpwsockx
1262 enable_drmclien
1263 enable_dsdmo
1264 enable_dsound
1265 enable_dsquery
1266 enable_dssenh
1267 enable_dswave
1268 enable_dwmapi
1269 enable_dwrite
1270 enable_dx8vb
1271 enable_dxdiagn
1272 enable_dxerr8
1273 enable_dxerr9
1274 enable_dxgi
1275 enable_dxguid
1276 enable_dxva2
1277 enable_esent
1278 enable_evr
1279 enable_explorerframe
1280 enable_ext_ms_win_authz_context_l1_1_0
1281 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1282 enable_ext_ms_win_dwmapi_ext_l1_1_0
1283 enable_ext_ms_win_gdi_dc_create_l1_1_0
1284 enable_ext_ms_win_gdi_dc_create_l1_1_1
1285 enable_ext_ms_win_gdi_dc_l1_2_0
1286 enable_ext_ms_win_gdi_devcaps_l1_1_0
1287 enable_ext_ms_win_gdi_draw_l1_1_0
1288 enable_ext_ms_win_gdi_draw_l1_1_1
1289 enable_ext_ms_win_gdi_font_l1_1_0
1290 enable_ext_ms_win_gdi_font_l1_1_1
1291 enable_ext_ms_win_gdi_render_l1_1_0
1292 enable_ext_ms_win_kernel32_package_current_l1_1_0
1293 enable_ext_ms_win_kernel32_package_l1_1_1
1294 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
1295 enable_ext_ms_win_ntuser_draw_l1_1_0
1296 enable_ext_ms_win_ntuser_gui_l1_1_0
1297 enable_ext_ms_win_ntuser_gui_l1_3_0
1298 enable_ext_ms_win_ntuser_keyboard_l1_3_0
1299 enable_ext_ms_win_ntuser_message_l1_1_0
1300 enable_ext_ms_win_ntuser_message_l1_1_1
1301 enable_ext_ms_win_ntuser_misc_l1_1_0
1302 enable_ext_ms_win_ntuser_misc_l1_2_0
1303 enable_ext_ms_win_ntuser_misc_l1_5_1
1304 enable_ext_ms_win_ntuser_mouse_l1_1_0
1305 enable_ext_ms_win_ntuser_private_l1_1_1
1306 enable_ext_ms_win_ntuser_private_l1_3_1
1307 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1308 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1309 enable_ext_ms_win_ntuser_window_l1_1_0
1310 enable_ext_ms_win_ntuser_window_l1_1_1
1311 enable_ext_ms_win_ntuser_window_l1_1_4
1312 enable_ext_ms_win_ntuser_windowclass_l1_1_0
1313 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1314 enable_ext_ms_win_oleacc_l1_1_0
1315 enable_ext_ms_win_ras_rasapi32_l1_1_0
1316 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
1317 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1318 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1319 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
1320 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1321 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1322 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
1323 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
1324 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
1325 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1326 enable_ext_ms_win_security_credui_l1_1_0
1327 enable_ext_ms_win_security_cryptui_l1_1_0
1328 enable_ext_ms_win_shell_comctl32_init_l1_1_0
1329 enable_ext_ms_win_shell_comdlg32_l1_1_0
1330 enable_ext_ms_win_shell_shell32_l1_2_0
1331 enable_ext_ms_win_uxtheme_themes_l1_1_0
1332 enable_faultrep
1333 enable_feclient
1334 enable_fltlib
1335 enable_fltmgr_sys
1336 enable_fntcache
1337 enable_fontsub
1338 enable_fusion
1339 enable_fwpuclnt
1340 enable_gameux
1341 enable_gdi32
1342 enable_gdiplus
1343 enable_glu32
1344 enable_gphoto2_ds
1345 enable_gpkcsp
1346 enable_hal
1347 enable_hhctrl_ocx
1348 enable_hid
1349 enable_hidclass_sys
1350 enable_hlink
1351 enable_hnetcfg
1352 enable_http_sys
1353 enable_httpapi
1354 enable_iccvid
1355 enable_icmp
1356 enable_ieframe
1357 enable_ieproxy
1358 enable_imaadp32_acm
1359 enable_imagehlp
1360 enable_imm32
1361 enable_inetcomm
1362 enable_inetcpl_cpl
1363 enable_inetmib1
1364 enable_infosoft
1365 enable_initpki
1366 enable_inkobj
1367 enable_inseng
1368 enable_iphlpapi
1369 enable_iprop
1370 enable_irprops_cpl
1371 enable_itircl
1372 enable_itss
1373 enable_joy_cpl
1374 enable_jscript
1375 enable_jsproxy
1376 enable_kerberos
1377 enable_kernel32
1378 enable_kernelbase
1379 enable_ksecdd_sys
1380 enable_ksuser
1381 enable_ktmw32
1382 enable_l3codeca_acm
1383 enable_loadperf
1384 enable_localspl
1385 enable_localui
1386 enable_lz32
1387 enable_mapi32
1388 enable_mapistub
1389 enable_mciavi32
1390 enable_mcicda
1391 enable_mciqtz32
1392 enable_mciseq
1393 enable_mciwave
1394 enable_mf
1395 enable_mf3216
1396 enable_mferror
1397 enable_mfmediaengine
1398 enable_mfplat
1399 enable_mfplay
1400 enable_mfreadwrite
1401 enable_mfuuid
1402 enable_mgmtapi
1403 enable_midimap
1404 enable_mlang
1405 enable_mmcndmgr
1406 enable_mmdevapi
1407 enable_mountmgr_sys
1408 enable_mp3dmod
1409 enable_mpr
1410 enable_mprapi
1411 enable_msacm32_drv
1412 enable_msacm32
1413 enable_msado15
1414 enable_msadp32_acm
1415 enable_msasn1
1416 enable_mscat32
1417 enable_mscms
1418 enable_mscoree
1419 enable_mscorwks
1420 enable_msctf
1421 enable_msctfp
1422 enable_msdaps
1423 enable_msdelta
1424 enable_msdmo
1425 enable_msdrm
1426 enable_msftedit
1427 enable_msg711_acm
1428 enable_msgsm32_acm
1429 enable_mshtml_tlb
1430 enable_mshtml
1431 enable_msi
1432 enable_msident
1433 enable_msimg32
1434 enable_msimsg
1435 enable_msimtf
1436 enable_msisip
1437 enable_msisys_ocx
1438 enable_msls31
1439 enable_msnet32
1440 enable_mspatcha
1441 enable_msports
1442 enable_msrle32
1443 enable_msscript_ocx
1444 enable_mssign32
1445 enable_mssip32
1446 enable_mstask
1447 enable_msvcirt
1448 enable_msvcm80
1449 enable_msvcm90
1450 enable_msvcp100
1451 enable_msvcp110
1452 enable_msvcp120
1453 enable_msvcp120_app
1454 enable_msvcp140
1455 enable_msvcp60
1456 enable_msvcp70
1457 enable_msvcp71
1458 enable_msvcp80
1459 enable_msvcp90
1460 enable_msvcr100
1461 enable_msvcr110
1462 enable_msvcr120
1463 enable_msvcr120_app
1464 enable_msvcr70
1465 enable_msvcr71
1466 enable_msvcr80
1467 enable_msvcr90
1468 enable_msvcrt
1469 enable_msvcrt20
1470 enable_msvcrt40
1471 enable_msvcrtd
1472 enable_msvfw32
1473 enable_msvidc32
1474 enable_mswsock
1475 enable_msxml
1476 enable_msxml2
1477 enable_msxml3
1478 enable_msxml4
1479 enable_msxml6
1480 enable_mtxdm
1481 enable_ncrypt
1482 enable_nddeapi
1483 enable_ndis_sys
1484 enable_netapi32
1485 enable_netcfgx
1486 enable_netprofm
1487 enable_newdev
1488 enable_ninput
1489 enable_normaliz
1490 enable_npmshtml
1491 enable_npptools
1492 enable_ntdll
1493 enable_ntdsapi
1494 enable_ntoskrnl_exe
1495 enable_ntprint
1496 enable_objsel
1497 enable_odbc32
1498 enable_odbcbcp
1499 enable_odbccp32
1500 enable_odbccu32
1501 enable_ole32
1502 enable_oleacc
1503 enable_oleaut32
1504 enable_olecli32
1505 enable_oledb32
1506 enable_oledlg
1507 enable_olepro32
1508 enable_olesvr32
1509 enable_olethk32
1510 enable_opcservices
1511 enable_openal32
1512 enable_opencl
1513 enable_opengl32
1514 enable_packager
1515 enable_pdh
1516 enable_photometadatahandler
1517 enable_pidgen
1518 enable_powrprof
1519 enable_printui
1520 enable_prntvpt
1521 enable_propsys
1522 enable_psapi
1523 enable_pstorec
1524 enable_qcap
1525 enable_qedit
1526 enable_qmgr
1527 enable_qmgrprxy
1528 enable_quartz
1529 enable_query
1530 enable_qwave
1531 enable_rasapi32
1532 enable_rasdlg
1533 enable_regapi
1534 enable_resutils
1535 enable_riched20
1536 enable_riched32
1537 enable_rpcrt4
1538 enable_rsabase
1539 enable_rsaenh
1540 enable_rstrtmgr
1541 enable_rtutils
1542 enable_samlib
1543 enable_sane_ds
1544 enable_sapi
1545 enable_sas
1546 enable_scarddlg
1547 enable_sccbase
1548 enable_schannel
1549 enable_schedsvc
1550 enable_scrobj
1551 enable_scrrun
1552 enable_scsiport_sys
1553 enable_secur32
1554 enable_security
1555 enable_sensapi
1556 enable_serialui
1557 enable_setupapi
1558 enable_sfc
1559 enable_sfc_os
1560 enable_shcore
1561 enable_shdoclc
1562 enable_shdocvw
1563 enable_shell32
1564 enable_shfolder
1565 enable_shlwapi
1566 enable_slbcsp
1567 enable_slc
1568 enable_snmpapi
1569 enable_softpub
1570 enable_spoolss
1571 enable_srclient
1572 enable_sspicli
1573 enable_stdole2_tlb
1574 enable_stdole32_tlb
1575 enable_sti
1576 enable_strmbase
1577 enable_strmdll
1578 enable_strmiids
1579 enable_svrapi
1580 enable_sxs
1581 enable_t2embed
1582 enable_tapi32
1583 enable_taskschd
1584 enable_tdh
1585 enable_tdi_sys
1586 enable_traffic
1587 enable_twain_32
1588 enable_tzres
1589 enable_ucrtbase
1590 enable_uianimation
1591 enable_uiautomationcore
1592 enable_uiribbon
1593 enable_unicows
1594 enable_updspapi
1595 enable_url
1596 enable_urlmon
1597 enable_usbd_sys
1598 enable_user32
1599 enable_userenv
1600 enable_usp10
1601 enable_utildll
1602 enable_uuid
1603 enable_uxtheme
1604 enable_vbscript
1605 enable_vcomp
1606 enable_vcomp100
1607 enable_vcomp110
1608 enable_vcomp120
1609 enable_vcomp140
1610 enable_vcomp90
1611 enable_vcruntime140
1612 enable_vcruntime140_1
1613 enable_vdmdbg
1614 enable_version
1615 enable_virtdisk
1616 enable_vssapi
1617 enable_vulkan_1
1618 enable_wbemdisp
1619 enable_wbemprox
1620 enable_wdscore
1621 enable_webservices
1622 enable_wer
1623 enable_wevtapi
1624 enable_wiaservc
1625 enable_wimgapi
1626 enable_windowscodecs
1627 enable_windowscodecsext
1628 enable_winealsa_drv
1629 enable_wineandroid_drv
1630 enable_winebus_sys
1631 enable_winecoreaudio_drv
1632 enable_winecrt0
1633 enable_wined3d
1634 enable_winegstreamer
1635 enable_winehid_sys
1636 enable_winejoystick_drv
1637 enable_winemac_drv
1638 enable_winemapi
1639 enable_wineoss_drv
1640 enable_wineps_drv
1641 enable_winepulse_drv
1642 enable_wineqtdecoder
1643 enable_winevulkan
1644 enable_winex11_drv
1645 enable_wing32
1646 enable_winhttp
1647 enable_wininet
1648 enable_winmm
1649 enable_winnls32
1650 enable_winscard
1651 enable_winspool_drv
1652 enable_winsta
1653 enable_wintab32
1654 enable_wintrust
1655 enable_winusb
1656 enable_wlanapi
1657 enable_wlanui
1658 enable_wldap32
1659 enable_wmasf
1660 enable_wmcodecdspuuid
1661 enable_wmi
1662 enable_wmiutils
1663 enable_wmp
1664 enable_wmphoto
1665 enable_wmvcore
1666 enable_wnaspi32
1667 enable_wpc
1668 enable_wpcap
1669 enable_ws2_32
1670 enable_wsdapi
1671 enable_wshom_ocx
1672 enable_wsnmp32
1673 enable_wsock32
1674 enable_wtsapi32
1675 enable_wuapi
1676 enable_wuaueng
1677 enable_x3daudio1_0
1678 enable_x3daudio1_1
1679 enable_x3daudio1_2
1680 enable_x3daudio1_3
1681 enable_x3daudio1_4
1682 enable_x3daudio1_5
1683 enable_x3daudio1_6
1684 enable_x3daudio1_7
1685 enable_xapofx1_1
1686 enable_xapofx1_2
1687 enable_xapofx1_3
1688 enable_xapofx1_4
1689 enable_xapofx1_5
1690 enable_xaudio2_0
1691 enable_xaudio2_1
1692 enable_xaudio2_2
1693 enable_xaudio2_3
1694 enable_xaudio2_4
1695 enable_xaudio2_5
1696 enable_xaudio2_6
1697 enable_xaudio2_7
1698 enable_xaudio2_8
1699 enable_xaudio2_9
1700 enable_xinput1_1
1701 enable_xinput1_2
1702 enable_xinput1_3
1703 enable_xinput1_4
1704 enable_xinput9_1_0
1705 enable_xmllite
1706 enable_xolehlp
1707 enable_xpsprint
1708 enable_xpssvcs
1709 enable_fonts
1710 enable_include
1711 enable_port
1712 enable_wine
1713 enable_wpp
1714 enable_loader
1715 enable_po
1716 enable_arp
1717 enable_aspnet_regiis
1718 enable_attrib
1719 enable_cabarc
1720 enable_cacls
1721 enable_chcp_com
1722 enable_clock
1723 enable_cmd
1724 enable_conhost
1725 enable_control
1726 enable_cscript
1727 enable_dism
1728 enable_dpnsvr
1729 enable_dxdiag
1730 enable_eject
1731 enable_expand
1732 enable_explorer
1733 enable_extrac32
1734 enable_fc
1735 enable_find
1736 enable_findstr
1737 enable_fsutil
1738 enable_hh
1739 enable_hostname
1740 enable_icacls
1741 enable_icinfo
1742 enable_iexplore
1743 enable_ipconfig
1744 enable_lodctr
1745 enable_mofcomp
1746 enable_mshta
1747 enable_msidb
1748 enable_msiexec
1749 enable_msinfo32
1750 enable_net
1751 enable_netsh
1752 enable_netstat
1753 enable_ngen
1754 enable_notepad
1755 enable_oleview
1756 enable_ping
1757 enable_plugplay
1758 enable_powershell
1759 enable_presentationfontcache
1760 enable_progman
1761 enable_reg
1762 enable_regasm
1763 enable_regedit
1764 enable_regini
1765 enable_regsvcs
1766 enable_regsvr32
1767 enable_rpcss
1768 enable_rundll32
1769 enable_sc
1770 enable_schtasks
1771 enable_sdbinst
1772 enable_secedit
1773 enable_servicemodelreg
1774 enable_services
1775 enable_shutdown
1776 enable_spoolsv
1777 enable_start
1778 enable_subst
1779 enable_svchost
1780 enable_systeminfo
1781 enable_taskkill
1782 enable_tasklist
1783 enable_taskmgr
1784 enable_termsv
1785 enable_uninstaller
1786 enable_unlodctr
1787 enable_view
1788 enable_wevtutil
1789 enable_wineboot
1790 enable_winebrowser
1791 enable_winecfg
1792 enable_wineconsole
1793 enable_winedbg
1794 enable_winedevice
1795 enable_winefile
1796 enable_winemenubuilder
1797 enable_winemine
1798 enable_winemsibuilder
1799 enable_winepath
1800 enable_winetest
1801 enable_winhlp32
1802 enable_winmgmt
1803 enable_winver
1804 enable_wmic
1805 enable_wmplayer
1806 enable_wordpad
1807 enable_write
1808 enable_wscript
1809 enable_wuauserv
1810 enable_wusa
1811 enable_xcopy
1812 enable_server
1813 enable_tools
1814 enable_sfnt2fon
1815 enable_widl
1816 enable_winebuild
1817 enable_winedump
1818 enable_winegcc
1819 enable_winemaker
1820 enable_wmc
1821 enable_wrc
1823 ac_precious_vars='build_alias
1824 host_alias
1825 target_alias
1827 CFLAGS
1828 LDFLAGS
1829 LIBS
1830 CPPFLAGS
1832 CXXFLAGS
1835 OBJC
1836 OBJCFLAGS
1837 OBJCPP
1838 XMKMF
1839 XML2_CFLAGS
1840 XML2_LIBS
1841 XSLT_CFLAGS
1842 XSLT_LIBS
1843 INOTIFY_CFLAGS
1844 INOTIFY_LIBS
1845 DBUS_CFLAGS
1846 DBUS_LIBS
1847 HAL_CFLAGS
1848 HAL_LIBS
1849 GNUTLS_CFLAGS
1850 GNUTLS_LIBS
1851 SANE_CFLAGS
1852 SANE_LIBS
1853 GPHOTO2_CFLAGS
1854 GPHOTO2_LIBS
1855 GPHOTO2_PORT_CFLAGS
1856 GPHOTO2_PORT_LIBS
1857 LCMS2_CFLAGS
1858 LCMS2_LIBS
1859 FREETYPE_CFLAGS
1860 FREETYPE_LIBS
1861 Z_CFLAGS
1862 Z_LIBS
1863 PULSE_CFLAGS
1864 PULSE_LIBS
1865 GSTREAMER_CFLAGS
1866 GSTREAMER_LIBS
1867 UDEV_CFLAGS
1868 UDEV_LIBS
1869 UNWIND_CFLAGS
1870 UNWIND_LIBS
1871 SDL2_CFLAGS
1872 SDL2_LIBS
1873 FAUDIO_CFLAGS
1874 FAUDIO_LIBS
1875 CAPI20_CFLAGS
1876 CAPI20_LIBS
1877 CUPS_CFLAGS
1878 CUPS_LIBS
1879 FONTCONFIG_CFLAGS
1880 FONTCONFIG_LIBS
1881 KRB5_CFLAGS
1882 KRB5_LIBS
1883 GSSAPI_CFLAGS
1884 GSSAPI_LIBS
1885 JPEG_CFLAGS
1886 JPEG_LIBS
1887 PNG_CFLAGS
1888 PNG_LIBS
1889 TIFF_CFLAGS
1890 TIFF_LIBS
1891 MPG123_CFLAGS
1892 MPG123_LIBS
1893 NETAPI_CFLAGS
1894 NETAPI_LIBS
1895 VKD3D_CFLAGS
1896 VKD3D_LIBS
1897 LDAP_CFLAGS
1898 LDAP_LIBS'
1901 # Initialize some variables set by options.
1902 ac_init_help=
1903 ac_init_version=false
1904 ac_unrecognized_opts=
1905 ac_unrecognized_sep=
1906 # The variables have the same names as the options, with
1907 # dashes changed to underlines.
1908 cache_file=/dev/null
1909 exec_prefix=NONE
1910 no_create=
1911 no_recursion=
1912 prefix=NONE
1913 program_prefix=NONE
1914 program_suffix=NONE
1915 program_transform_name=s,x,x,
1916 silent=
1917 site=
1918 srcdir=
1919 verbose=
1920 x_includes=NONE
1921 x_libraries=NONE
1923 # Installation directory options.
1924 # These are left unexpanded so users can "make install exec_prefix=/foo"
1925 # and all the variables that are supposed to be based on exec_prefix
1926 # by default will actually change.
1927 # Use braces instead of parens because sh, perl, etc. also accept them.
1928 # (The list follows the same order as the GNU Coding Standards.)
1929 bindir='${exec_prefix}/bin'
1930 sbindir='${exec_prefix}/sbin'
1931 libexecdir='${exec_prefix}/libexec'
1932 datarootdir='${prefix}/share'
1933 datadir='${datarootdir}'
1934 sysconfdir='${prefix}/etc'
1935 sharedstatedir='${prefix}/com'
1936 localstatedir='${prefix}/var'
1937 runstatedir='${localstatedir}/run'
1938 includedir='${prefix}/include'
1939 oldincludedir='/usr/include'
1940 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1941 infodir='${datarootdir}/info'
1942 htmldir='${docdir}'
1943 dvidir='${docdir}'
1944 pdfdir='${docdir}'
1945 psdir='${docdir}'
1946 libdir='${exec_prefix}/lib'
1947 localedir='${datarootdir}/locale'
1948 mandir='${datarootdir}/man'
1950 ac_prev=
1951 ac_dashdash=
1952 for ac_option
1954 # If the previous option needs an argument, assign it.
1955 if test -n "$ac_prev"; then
1956 eval $ac_prev=\$ac_option
1957 ac_prev=
1958 continue
1961 case $ac_option in
1962 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1963 *=) ac_optarg= ;;
1964 *) ac_optarg=yes ;;
1965 esac
1967 # Accept the important Cygnus configure options, so we can diagnose typos.
1969 case $ac_dashdash$ac_option in
1971 ac_dashdash=yes ;;
1973 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1974 ac_prev=bindir ;;
1975 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1976 bindir=$ac_optarg ;;
1978 -build | --build | --buil | --bui | --bu)
1979 ac_prev=build_alias ;;
1980 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1981 build_alias=$ac_optarg ;;
1983 -cache-file | --cache-file | --cache-fil | --cache-fi \
1984 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1985 ac_prev=cache_file ;;
1986 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1987 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1988 cache_file=$ac_optarg ;;
1990 --config-cache | -C)
1991 cache_file=config.cache ;;
1993 -datadir | --datadir | --datadi | --datad)
1994 ac_prev=datadir ;;
1995 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1996 datadir=$ac_optarg ;;
1998 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1999 | --dataroo | --dataro | --datar)
2000 ac_prev=datarootdir ;;
2001 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
2002 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
2003 datarootdir=$ac_optarg ;;
2005 -disable-* | --disable-*)
2006 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
2007 # Reject names that are not valid shell variable names.
2008 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2009 as_fn_error $? "invalid feature name: $ac_useropt"
2010 ac_useropt_orig=$ac_useropt
2011 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2012 case $ac_user_opts in
2014 "enable_$ac_useropt"
2015 "*) ;;
2016 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
2017 ac_unrecognized_sep=', ';;
2018 esac
2019 eval enable_$ac_useropt=no ;;
2021 -docdir | --docdir | --docdi | --doc | --do)
2022 ac_prev=docdir ;;
2023 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
2024 docdir=$ac_optarg ;;
2026 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
2027 ac_prev=dvidir ;;
2028 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
2029 dvidir=$ac_optarg ;;
2031 -enable-* | --enable-*)
2032 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
2033 # Reject names that are not valid shell variable names.
2034 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2035 as_fn_error $? "invalid feature name: $ac_useropt"
2036 ac_useropt_orig=$ac_useropt
2037 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2038 case $ac_user_opts in
2040 "enable_$ac_useropt"
2041 "*) ;;
2042 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
2043 ac_unrecognized_sep=', ';;
2044 esac
2045 eval enable_$ac_useropt=\$ac_optarg ;;
2047 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
2048 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
2049 | --exec | --exe | --ex)
2050 ac_prev=exec_prefix ;;
2051 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
2052 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
2053 | --exec=* | --exe=* | --ex=*)
2054 exec_prefix=$ac_optarg ;;
2056 -gas | --gas | --ga | --g)
2057 # Obsolete; use --with-gas.
2058 with_gas=yes ;;
2060 -help | --help | --hel | --he | -h)
2061 ac_init_help=long ;;
2062 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
2063 ac_init_help=recursive ;;
2064 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
2065 ac_init_help=short ;;
2067 -host | --host | --hos | --ho)
2068 ac_prev=host_alias ;;
2069 -host=* | --host=* | --hos=* | --ho=*)
2070 host_alias=$ac_optarg ;;
2072 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
2073 ac_prev=htmldir ;;
2074 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
2075 | --ht=*)
2076 htmldir=$ac_optarg ;;
2078 -includedir | --includedir | --includedi | --included | --include \
2079 | --includ | --inclu | --incl | --inc)
2080 ac_prev=includedir ;;
2081 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
2082 | --includ=* | --inclu=* | --incl=* | --inc=*)
2083 includedir=$ac_optarg ;;
2085 -infodir | --infodir | --infodi | --infod | --info | --inf)
2086 ac_prev=infodir ;;
2087 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2088 infodir=$ac_optarg ;;
2090 -libdir | --libdir | --libdi | --libd)
2091 ac_prev=libdir ;;
2092 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2093 libdir=$ac_optarg ;;
2095 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2096 | --libexe | --libex | --libe)
2097 ac_prev=libexecdir ;;
2098 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2099 | --libexe=* | --libex=* | --libe=*)
2100 libexecdir=$ac_optarg ;;
2102 -localedir | --localedir | --localedi | --localed | --locale)
2103 ac_prev=localedir ;;
2104 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2105 localedir=$ac_optarg ;;
2107 -localstatedir | --localstatedir | --localstatedi | --localstated \
2108 | --localstate | --localstat | --localsta | --localst | --locals)
2109 ac_prev=localstatedir ;;
2110 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2111 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2112 localstatedir=$ac_optarg ;;
2114 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2115 ac_prev=mandir ;;
2116 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2117 mandir=$ac_optarg ;;
2119 -nfp | --nfp | --nf)
2120 # Obsolete; use --without-fp.
2121 with_fp=no ;;
2123 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2124 | --no-cr | --no-c | -n)
2125 no_create=yes ;;
2127 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2128 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2129 no_recursion=yes ;;
2131 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2132 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2133 | --oldin | --oldi | --old | --ol | --o)
2134 ac_prev=oldincludedir ;;
2135 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2136 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2137 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2138 oldincludedir=$ac_optarg ;;
2140 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2141 ac_prev=prefix ;;
2142 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2143 prefix=$ac_optarg ;;
2145 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2146 | --program-pre | --program-pr | --program-p)
2147 ac_prev=program_prefix ;;
2148 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2149 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2150 program_prefix=$ac_optarg ;;
2152 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2153 | --program-suf | --program-su | --program-s)
2154 ac_prev=program_suffix ;;
2155 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2156 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2157 program_suffix=$ac_optarg ;;
2159 -program-transform-name | --program-transform-name \
2160 | --program-transform-nam | --program-transform-na \
2161 | --program-transform-n | --program-transform- \
2162 | --program-transform | --program-transfor \
2163 | --program-transfo | --program-transf \
2164 | --program-trans | --program-tran \
2165 | --progr-tra | --program-tr | --program-t)
2166 ac_prev=program_transform_name ;;
2167 -program-transform-name=* | --program-transform-name=* \
2168 | --program-transform-nam=* | --program-transform-na=* \
2169 | --program-transform-n=* | --program-transform-=* \
2170 | --program-transform=* | --program-transfor=* \
2171 | --program-transfo=* | --program-transf=* \
2172 | --program-trans=* | --program-tran=* \
2173 | --progr-tra=* | --program-tr=* | --program-t=*)
2174 program_transform_name=$ac_optarg ;;
2176 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2177 ac_prev=pdfdir ;;
2178 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2179 pdfdir=$ac_optarg ;;
2181 -psdir | --psdir | --psdi | --psd | --ps)
2182 ac_prev=psdir ;;
2183 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2184 psdir=$ac_optarg ;;
2186 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2187 | -silent | --silent | --silen | --sile | --sil)
2188 silent=yes ;;
2190 -runstatedir | --runstatedir | --runstatedi | --runstated \
2191 | --runstate | --runstat | --runsta | --runst | --runs \
2192 | --run | --ru | --r)
2193 ac_prev=runstatedir ;;
2194 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2195 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2196 | --run=* | --ru=* | --r=*)
2197 runstatedir=$ac_optarg ;;
2199 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2200 ac_prev=sbindir ;;
2201 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2202 | --sbi=* | --sb=*)
2203 sbindir=$ac_optarg ;;
2205 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2206 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2207 | --sharedst | --shareds | --shared | --share | --shar \
2208 | --sha | --sh)
2209 ac_prev=sharedstatedir ;;
2210 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2211 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2212 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2213 | --sha=* | --sh=*)
2214 sharedstatedir=$ac_optarg ;;
2216 -site | --site | --sit)
2217 ac_prev=site ;;
2218 -site=* | --site=* | --sit=*)
2219 site=$ac_optarg ;;
2221 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2222 ac_prev=srcdir ;;
2223 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2224 srcdir=$ac_optarg ;;
2226 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2227 | --syscon | --sysco | --sysc | --sys | --sy)
2228 ac_prev=sysconfdir ;;
2229 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2230 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2231 sysconfdir=$ac_optarg ;;
2233 -target | --target | --targe | --targ | --tar | --ta | --t)
2234 ac_prev=target_alias ;;
2235 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2236 target_alias=$ac_optarg ;;
2238 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2239 verbose=yes ;;
2241 -version | --version | --versio | --versi | --vers | -V)
2242 ac_init_version=: ;;
2244 -with-* | --with-*)
2245 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2246 # Reject names that are not valid shell variable names.
2247 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2248 as_fn_error $? "invalid package name: $ac_useropt"
2249 ac_useropt_orig=$ac_useropt
2250 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2251 case $ac_user_opts in
2253 "with_$ac_useropt"
2254 "*) ;;
2255 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2256 ac_unrecognized_sep=', ';;
2257 esac
2258 eval with_$ac_useropt=\$ac_optarg ;;
2260 -without-* | --without-*)
2261 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2262 # Reject names that are not valid shell variable names.
2263 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2264 as_fn_error $? "invalid package name: $ac_useropt"
2265 ac_useropt_orig=$ac_useropt
2266 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2267 case $ac_user_opts in
2269 "with_$ac_useropt"
2270 "*) ;;
2271 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2272 ac_unrecognized_sep=', ';;
2273 esac
2274 eval with_$ac_useropt=no ;;
2276 --x)
2277 # Obsolete; use --with-x.
2278 with_x=yes ;;
2280 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2281 | --x-incl | --x-inc | --x-in | --x-i)
2282 ac_prev=x_includes ;;
2283 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2284 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2285 x_includes=$ac_optarg ;;
2287 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2288 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2289 ac_prev=x_libraries ;;
2290 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2291 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2292 x_libraries=$ac_optarg ;;
2294 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2295 Try \`$0 --help' for more information"
2298 *=*)
2299 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2300 # Reject names that are not valid shell variable names.
2301 case $ac_envvar in #(
2302 '' | [0-9]* | *[!_$as_cr_alnum]* )
2303 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2304 esac
2305 eval $ac_envvar=\$ac_optarg
2306 export $ac_envvar ;;
2309 # FIXME: should be removed in autoconf 3.0.
2310 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2311 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2312 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2313 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2316 esac
2317 done
2319 if test -n "$ac_prev"; then
2320 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2321 as_fn_error $? "missing argument to $ac_option"
2324 if test -n "$ac_unrecognized_opts"; then
2325 case $enable_option_checking in
2326 no) ;;
2327 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2328 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2329 esac
2332 # Check all directory arguments for consistency.
2333 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2334 datadir sysconfdir sharedstatedir localstatedir includedir \
2335 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2336 libdir localedir mandir runstatedir
2338 eval ac_val=\$$ac_var
2339 # Remove trailing slashes.
2340 case $ac_val in
2341 */ )
2342 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2343 eval $ac_var=\$ac_val;;
2344 esac
2345 # Be sure to have absolute directory names.
2346 case $ac_val in
2347 [\\/$]* | ?:[\\/]* ) continue;;
2348 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2349 esac
2350 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2351 done
2353 # There might be people who depend on the old broken behavior: `$host'
2354 # used to hold the argument of --host etc.
2355 # FIXME: To remove some day.
2356 build=$build_alias
2357 host=$host_alias
2358 target=$target_alias
2360 # FIXME: To remove some day.
2361 if test "x$host_alias" != x; then
2362 if test "x$build_alias" = x; then
2363 cross_compiling=maybe
2364 elif test "x$build_alias" != "x$host_alias"; then
2365 cross_compiling=yes
2369 ac_tool_prefix=
2370 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2372 test "$silent" = yes && exec 6>/dev/null
2375 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2376 ac_ls_di=`ls -di .` &&
2377 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2378 as_fn_error $? "working directory cannot be determined"
2379 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2380 as_fn_error $? "pwd does not report name of working directory"
2383 # Find the source files, if location was not specified.
2384 if test -z "$srcdir"; then
2385 ac_srcdir_defaulted=yes
2386 # Try the directory containing this script, then the parent directory.
2387 ac_confdir=`$as_dirname -- "$as_myself" ||
2388 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2389 X"$as_myself" : 'X\(//\)[^/]' \| \
2390 X"$as_myself" : 'X\(//\)$' \| \
2391 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2392 $as_echo X"$as_myself" |
2393 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2394 s//\1/
2397 /^X\(\/\/\)[^/].*/{
2398 s//\1/
2401 /^X\(\/\/\)$/{
2402 s//\1/
2405 /^X\(\/\).*/{
2406 s//\1/
2409 s/.*/./; q'`
2410 srcdir=$ac_confdir
2411 if test ! -r "$srcdir/$ac_unique_file"; then
2412 srcdir=..
2414 else
2415 ac_srcdir_defaulted=no
2417 if test ! -r "$srcdir/$ac_unique_file"; then
2418 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2419 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2421 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2422 ac_abs_confdir=`(
2423 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2424 pwd)`
2425 # When building in place, set srcdir=.
2426 if test "$ac_abs_confdir" = "$ac_pwd"; then
2427 srcdir=.
2429 # Remove unnecessary trailing slashes from srcdir.
2430 # Double slashes in file names in object file debugging info
2431 # mess up M-x gdb in Emacs.
2432 case $srcdir in
2433 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2434 esac
2435 for ac_var in $ac_precious_vars; do
2436 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2437 eval ac_env_${ac_var}_value=\$${ac_var}
2438 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2439 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2440 done
2443 # Report the --help message.
2445 if test "$ac_init_help" = "long"; then
2446 # Omit some internal or obsolete options to make the list less imposing.
2447 # This message is too long to be a string in the A/UX 3.1 sh.
2448 cat <<_ACEOF
2449 \`configure' configures Wine 5.0 to adapt to many kinds of systems.
2451 Usage: $0 [OPTION]... [VAR=VALUE]...
2453 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2454 VAR=VALUE. See below for descriptions of some of the useful variables.
2456 Defaults for the options are specified in brackets.
2458 Configuration:
2459 -h, --help display this help and exit
2460 --help=short display options specific to this package
2461 --help=recursive display the short help of all the included packages
2462 -V, --version display version information and exit
2463 -q, --quiet, --silent do not print \`checking ...' messages
2464 --cache-file=FILE cache test results in FILE [disabled]
2465 -C, --config-cache alias for \`--cache-file=config.cache'
2466 -n, --no-create do not create output files
2467 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2469 Installation directories:
2470 --prefix=PREFIX install architecture-independent files in PREFIX
2471 [$ac_default_prefix]
2472 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2473 [PREFIX]
2475 By default, \`make install' will install all the files in
2476 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2477 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2478 for instance \`--prefix=\$HOME'.
2480 For better control, use the options below.
2482 Fine tuning of the installation directories:
2483 --bindir=DIR user executables [EPREFIX/bin]
2484 --sbindir=DIR system admin executables [EPREFIX/sbin]
2485 --libexecdir=DIR program executables [EPREFIX/libexec]
2486 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2487 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2488 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2489 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2490 --libdir=DIR object code libraries [EPREFIX/lib]
2491 --includedir=DIR C header files [PREFIX/include]
2492 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2493 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2494 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2495 --infodir=DIR info documentation [DATAROOTDIR/info]
2496 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2497 --mandir=DIR man documentation [DATAROOTDIR/man]
2498 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2499 --htmldir=DIR html documentation [DOCDIR]
2500 --dvidir=DIR dvi documentation [DOCDIR]
2501 --pdfdir=DIR pdf documentation [DOCDIR]
2502 --psdir=DIR ps documentation [DOCDIR]
2503 _ACEOF
2505 cat <<\_ACEOF
2507 X features:
2508 --x-includes=DIR X include files are in DIR
2509 --x-libraries=DIR X library files are in DIR
2511 System types:
2512 --build=BUILD configure for building on BUILD [guessed]
2513 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2514 _ACEOF
2517 if test -n "$ac_init_help"; then
2518 case $ac_init_help in
2519 short | recursive ) echo "Configuration of Wine 5.0:";;
2520 esac
2521 cat <<\_ACEOF
2523 Optional Features:
2524 --disable-option-checking ignore unrecognized --enable/--with options
2525 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2526 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2527 --disable-win16 do not include Win16 support
2528 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2529 binaries)
2530 --disable-tests do not build the regression tests
2531 --enable-maintainer-mode
2532 enable maintainer-specific build rules
2533 --disable-largefile omit support for large files
2535 Optional Packages:
2536 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2537 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2538 --without-alsa do not use the Alsa sound support
2539 --without-capi do not use CAPI (ISDN support)
2540 --without-cms do not use CMS (color management support)
2541 --without-coreaudio do not use the CoreAudio sound support
2542 --without-cups do not use CUPS
2543 --without-curses do not use (n)curses
2544 --without-dbus do not use DBus (dynamic device support)
2545 --without-faudio do not use FAudio (XAudio2 support)
2546 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2547 --without-fontconfig do not use fontconfig
2548 --without-freetype do not use the FreeType library
2549 --without-gettext do not use gettext
2550 --with-gettextpo use the GetTextPO library to rebuild po files
2551 --without-gphoto do not use gphoto (Digital Camera support)
2552 --without-glu do not use the GLU library
2553 --without-gnutls do not use GnuTLS (schannel support)
2554 --without-gsm do not use libgsm (GSM 06.10 codec support)
2555 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2556 --without-gstreamer do not use GStreamer (codecs support)
2557 --without-hal do not use HAL (dynamic device support)
2558 --without-inotify do not use inotify (filesystem change notifications)
2559 --without-jpeg do not use JPEG
2560 --without-krb5 do not use krb5 (Kerberos)
2561 --without-ldap do not use LDAP
2562 --without-mingw do not use the MinGW cross-compiler
2563 --without-mpg123 do not use the mpg123 library
2564 --without-netapi do not use the Samba NetAPI library
2565 --without-openal do not use OpenAL
2566 --without-opencl do not use OpenCL
2567 --without-opengl do not use OpenGL
2568 --without-osmesa do not use the OSMesa library
2569 --without-oss do not use the OSS sound support
2570 --without-pcap do not use the Packet Capture library
2571 --without-png do not use PNG
2572 --without-pthread do not use the pthread library
2573 --without-pulse do not use PulseAudio sound support
2574 --without-sane do not use SANE (scanner support)
2575 --without-sdl do not use SDL
2576 --without-tiff do not use TIFF
2577 --without-udev do not use udev (plug and play support)
2578 --without-unwind do not use the libunwind library (exception
2579 handling)
2580 --without-v4l2 do not use v4l2 (video capture)
2581 --without-vkd3d do not use vkd3d (Direct3D 12 support)
2582 --without-vulkan do not use Vulkan
2583 --without-xcomposite do not use the Xcomposite extension
2584 --without-xcursor do not use the Xcursor extension
2585 --without-xfixes do not use Xfixes for clipboard change notifications
2586 --without-xinerama do not use Xinerama (legacy multi-monitor support)
2587 --without-xinput do not use the Xinput extension
2588 --without-xinput2 do not use the Xinput 2 extension
2589 --without-xml do not use XML
2590 --without-xrandr do not use Xrandr (multi-monitor support)
2591 --without-xrender do not use the Xrender extension
2592 --without-xshape do not use the Xshape extension
2593 --without-xshm do not use XShm (shared memory extension)
2594 --without-xslt do not use XSLT
2595 --without-xxf86vm do not use XFree video mode extension
2596 --without-zlib do not use Zlib (data compression)
2597 --with-wine-tools=DIR use Wine tools from directory DIR
2598 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2599 --with-x use the X Window System
2601 Some influential environment variables:
2602 CC C compiler command
2603 CFLAGS C compiler flags
2604 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2605 nonstandard directory <lib dir>
2606 LIBS libraries to pass to the linker, e.g. -l<library>
2607 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2608 you have headers in a nonstandard directory <include dir>
2609 CXX C++ compiler command
2610 CXXFLAGS C++ compiler flags
2611 CPP C preprocessor
2612 OBJC Objective C compiler command
2613 OBJCFLAGS Objective C compiler flags
2614 OBJCPP Objective C preprocessor
2615 XMKMF Path to xmkmf, Makefile generator for X Window System
2616 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2617 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2618 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2619 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2620 INOTIFY_CFLAGS
2621 C compiler flags for libinotify, overriding pkg-config
2622 INOTIFY_LIBS
2623 Linker flags for libinotify, overriding pkg-config
2624 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2625 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2626 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2627 HAL_LIBS Linker flags for hal, overriding pkg-config
2628 GNUTLS_CFLAGS
2629 C compiler flags for gnutls, overriding pkg-config
2630 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2631 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2632 SANE_LIBS Linker flags for libsane, overriding pkg-config
2633 GPHOTO2_CFLAGS
2634 C compiler flags for libgphoto2, overriding pkg-config
2635 GPHOTO2_LIBS
2636 Linker flags for libgphoto2, overriding pkg-config
2637 GPHOTO2_PORT_CFLAGS
2638 C compiler flags for libgphoto2_port, overriding pkg-config
2639 GPHOTO2_PORT_LIBS
2640 Linker flags for libgphoto2_port, overriding pkg-config
2641 LCMS2_CFLAGS
2642 C compiler flags for lcms2, overriding pkg-config
2643 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2644 FREETYPE_CFLAGS
2645 C compiler flags for freetype2, overriding pkg-config
2646 FREETYPE_LIBS
2647 Linker flags for freetype2, overriding pkg-config
2648 Z_CFLAGS C compiler flags for libz, overriding pkg-config
2649 Z_LIBS Linker flags for libz, overriding pkg-config
2650 PULSE_CFLAGS
2651 C compiler flags for libpulse, overriding pkg-config
2652 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2653 GSTREAMER_CFLAGS
2654 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2655 gstreamer-audio-1.0, overriding pkg-config
2656 GSTREAMER_LIBS
2657 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2658 gstreamer-audio-1.0, overriding pkg-config
2659 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2660 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2661 UNWIND_CFLAGS
2662 C compiler flags for libunwind, overriding pkg-config
2663 UNWIND_LIBS Linker flags for libunwind, overriding pkg-config
2664 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2665 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2666 FAUDIO_CFLAGS
2667 C compiler flags for faudio, overriding pkg-config
2668 FAUDIO_LIBS Linker flags for faudio, overriding pkg-config
2669 CAPI20_CFLAGS
2670 C compiler flags for capi20, overriding pkg-config
2671 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2672 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2673 CUPS_LIBS Linker flags for cups, overriding pkg-config
2674 FONTCONFIG_CFLAGS
2675 C compiler flags for fontconfig, overriding pkg-config
2676 FONTCONFIG_LIBS
2677 Linker flags for fontconfig, overriding pkg-config
2678 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2679 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2680 GSSAPI_CFLAGS
2681 C compiler flags for krb5-gssapi, overriding pkg-config
2682 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2683 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2684 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2685 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2686 PNG_LIBS Linker flags for libpng, overriding pkg-config
2687 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2688 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2689 MPG123_CFLAGS
2690 C compiler flags for libmpg123, overriding pkg-config
2691 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2692 NETAPI_CFLAGS
2693 C compiler flags for netapi, overriding pkg-config
2694 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2695 VKD3D_CFLAGS
2696 C compiler flags for libvkd3d, overriding pkg-config
2697 VKD3D_LIBS Linker flags for libvkd3d, overriding pkg-config
2698 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2699 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2701 Use these variables to override the choices made by `configure' or to help
2702 it to find libraries and programs with nonstandard names/locations.
2704 Report bugs to <wine-devel@winehq.org>.
2705 Wine home page: <https://www.winehq.org>.
2706 _ACEOF
2707 ac_status=$?
2710 if test "$ac_init_help" = "recursive"; then
2711 # If there are subdirs, report their specific --help.
2712 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2713 test -d "$ac_dir" ||
2714 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2715 continue
2716 ac_builddir=.
2718 case "$ac_dir" in
2719 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2721 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2722 # A ".." for each directory in $ac_dir_suffix.
2723 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2724 case $ac_top_builddir_sub in
2725 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2726 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2727 esac ;;
2728 esac
2729 ac_abs_top_builddir=$ac_pwd
2730 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2731 # for backward compatibility:
2732 ac_top_builddir=$ac_top_build_prefix
2734 case $srcdir in
2735 .) # We are building in place.
2736 ac_srcdir=.
2737 ac_top_srcdir=$ac_top_builddir_sub
2738 ac_abs_top_srcdir=$ac_pwd ;;
2739 [\\/]* | ?:[\\/]* ) # Absolute name.
2740 ac_srcdir=$srcdir$ac_dir_suffix;
2741 ac_top_srcdir=$srcdir
2742 ac_abs_top_srcdir=$srcdir ;;
2743 *) # Relative name.
2744 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2745 ac_top_srcdir=$ac_top_build_prefix$srcdir
2746 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2747 esac
2748 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2750 cd "$ac_dir" || { ac_status=$?; continue; }
2751 # Check for guested configure.
2752 if test -f "$ac_srcdir/configure.gnu"; then
2753 echo &&
2754 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2755 elif test -f "$ac_srcdir/configure"; then
2756 echo &&
2757 $SHELL "$ac_srcdir/configure" --help=recursive
2758 else
2759 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2760 fi || ac_status=$?
2761 cd "$ac_pwd" || { ac_status=$?; break; }
2762 done
2765 test -n "$ac_init_help" && exit $ac_status
2766 if $ac_init_version; then
2767 cat <<\_ACEOF
2768 Wine configure 5.0
2769 generated by GNU Autoconf 2.69
2771 Copyright (C) 2012 Free Software Foundation, Inc.
2772 This configure script is free software; the Free Software Foundation
2773 gives unlimited permission to copy, distribute and modify it.
2774 _ACEOF
2775 exit
2778 ## ------------------------ ##
2779 ## Autoconf initialization. ##
2780 ## ------------------------ ##
2782 # ac_fn_c_try_compile LINENO
2783 # --------------------------
2784 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2785 ac_fn_c_try_compile ()
2787 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2788 rm -f conftest.$ac_objext
2789 if { { ac_try="$ac_compile"
2790 case "(($ac_try" in
2791 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2792 *) ac_try_echo=$ac_try;;
2793 esac
2794 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2795 $as_echo "$ac_try_echo"; } >&5
2796 (eval "$ac_compile") 2>conftest.err
2797 ac_status=$?
2798 if test -s conftest.err; then
2799 grep -v '^ *+' conftest.err >conftest.er1
2800 cat conftest.er1 >&5
2801 mv -f conftest.er1 conftest.err
2803 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2804 test $ac_status = 0; } && {
2805 test -z "$ac_c_werror_flag" ||
2806 test ! -s conftest.err
2807 } && test -s conftest.$ac_objext; then :
2808 ac_retval=0
2809 else
2810 $as_echo "$as_me: failed program was:" >&5
2811 sed 's/^/| /' conftest.$ac_ext >&5
2813 ac_retval=1
2815 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2816 as_fn_set_status $ac_retval
2818 } # ac_fn_c_try_compile
2820 # ac_fn_cxx_try_compile LINENO
2821 # ----------------------------
2822 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2823 ac_fn_cxx_try_compile ()
2825 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2826 rm -f conftest.$ac_objext
2827 if { { ac_try="$ac_compile"
2828 case "(($ac_try" in
2829 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2830 *) ac_try_echo=$ac_try;;
2831 esac
2832 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2833 $as_echo "$ac_try_echo"; } >&5
2834 (eval "$ac_compile") 2>conftest.err
2835 ac_status=$?
2836 if test -s conftest.err; then
2837 grep -v '^ *+' conftest.err >conftest.er1
2838 cat conftest.er1 >&5
2839 mv -f conftest.er1 conftest.err
2841 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2842 test $ac_status = 0; } && {
2843 test -z "$ac_cxx_werror_flag" ||
2844 test ! -s conftest.err
2845 } && test -s conftest.$ac_objext; then :
2846 ac_retval=0
2847 else
2848 $as_echo "$as_me: failed program was:" >&5
2849 sed 's/^/| /' conftest.$ac_ext >&5
2851 ac_retval=1
2853 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2854 as_fn_set_status $ac_retval
2856 } # ac_fn_cxx_try_compile
2858 # ac_fn_c_try_link LINENO
2859 # -----------------------
2860 # Try to link conftest.$ac_ext, and return whether this succeeded.
2861 ac_fn_c_try_link ()
2863 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2864 rm -f conftest.$ac_objext conftest$ac_exeext
2865 if { { ac_try="$ac_link"
2866 case "(($ac_try" in
2867 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2868 *) ac_try_echo=$ac_try;;
2869 esac
2870 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2871 $as_echo "$ac_try_echo"; } >&5
2872 (eval "$ac_link") 2>conftest.err
2873 ac_status=$?
2874 if test -s conftest.err; then
2875 grep -v '^ *+' conftest.err >conftest.er1
2876 cat conftest.er1 >&5
2877 mv -f conftest.er1 conftest.err
2879 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2880 test $ac_status = 0; } && {
2881 test -z "$ac_c_werror_flag" ||
2882 test ! -s conftest.err
2883 } && test -s conftest$ac_exeext && {
2884 test "$cross_compiling" = yes ||
2885 test -x conftest$ac_exeext
2886 }; then :
2887 ac_retval=0
2888 else
2889 $as_echo "$as_me: failed program was:" >&5
2890 sed 's/^/| /' conftest.$ac_ext >&5
2892 ac_retval=1
2894 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2895 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2896 # interfere with the next link command; also delete a directory that is
2897 # left behind by Apple's compiler. We do this before executing the actions.
2898 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2899 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2900 as_fn_set_status $ac_retval
2902 } # ac_fn_c_try_link
2904 # ac_fn_c_try_cpp LINENO
2905 # ----------------------
2906 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2907 ac_fn_c_try_cpp ()
2909 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2910 if { { ac_try="$ac_cpp conftest.$ac_ext"
2911 case "(($ac_try" in
2912 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2913 *) ac_try_echo=$ac_try;;
2914 esac
2915 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2916 $as_echo "$ac_try_echo"; } >&5
2917 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2918 ac_status=$?
2919 if test -s conftest.err; then
2920 grep -v '^ *+' conftest.err >conftest.er1
2921 cat conftest.er1 >&5
2922 mv -f conftest.er1 conftest.err
2924 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2925 test $ac_status = 0; } > conftest.i && {
2926 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2927 test ! -s conftest.err
2928 }; then :
2929 ac_retval=0
2930 else
2931 $as_echo "$as_me: failed program was:" >&5
2932 sed 's/^/| /' conftest.$ac_ext >&5
2934 ac_retval=1
2936 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2937 as_fn_set_status $ac_retval
2939 } # ac_fn_c_try_cpp
2941 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2942 # -------------------------------------------------------
2943 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2944 # the include files in INCLUDES and setting the cache variable VAR
2945 # accordingly.
2946 ac_fn_c_check_header_mongrel ()
2948 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2949 if eval \${$3+:} false; then :
2950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2951 $as_echo_n "checking for $2... " >&6; }
2952 if eval \${$3+:} false; then :
2953 $as_echo_n "(cached) " >&6
2955 eval ac_res=\$$3
2956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2957 $as_echo "$ac_res" >&6; }
2958 else
2959 # Is the header compilable?
2960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2961 $as_echo_n "checking $2 usability... " >&6; }
2962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2963 /* end confdefs.h. */
2965 #include <$2>
2966 _ACEOF
2967 if ac_fn_c_try_compile "$LINENO"; then :
2968 ac_header_compiler=yes
2969 else
2970 ac_header_compiler=no
2972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2973 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2974 $as_echo "$ac_header_compiler" >&6; }
2976 # Is the header present?
2977 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2978 $as_echo_n "checking $2 presence... " >&6; }
2979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2980 /* end confdefs.h. */
2981 #include <$2>
2982 _ACEOF
2983 if ac_fn_c_try_cpp "$LINENO"; then :
2984 ac_header_preproc=yes
2985 else
2986 ac_header_preproc=no
2988 rm -f conftest.err conftest.i conftest.$ac_ext
2989 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2990 $as_echo "$ac_header_preproc" >&6; }
2992 # So? What about this header?
2993 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2994 yes:no: )
2995 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2996 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2997 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2998 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3000 no:yes:* )
3001 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3002 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3003 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3004 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3005 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3006 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3007 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3008 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3009 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3010 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3011 ( $as_echo "## ------------------------------------ ##
3012 ## Report this to wine-devel@winehq.org ##
3013 ## ------------------------------------ ##"
3014 ) | sed "s/^/$as_me: WARNING: /" >&2
3016 esac
3017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3018 $as_echo_n "checking for $2... " >&6; }
3019 if eval \${$3+:} false; then :
3020 $as_echo_n "(cached) " >&6
3021 else
3022 eval "$3=\$ac_header_compiler"
3024 eval ac_res=\$$3
3025 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3026 $as_echo "$ac_res" >&6; }
3028 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3030 } # ac_fn_c_check_header_mongrel
3032 # ac_fn_c_try_run LINENO
3033 # ----------------------
3034 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
3035 # that executables *can* be run.
3036 ac_fn_c_try_run ()
3038 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3039 if { { ac_try="$ac_link"
3040 case "(($ac_try" in
3041 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3042 *) ac_try_echo=$ac_try;;
3043 esac
3044 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3045 $as_echo "$ac_try_echo"; } >&5
3046 (eval "$ac_link") 2>&5
3047 ac_status=$?
3048 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3049 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
3050 { { case "(($ac_try" in
3051 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3052 *) ac_try_echo=$ac_try;;
3053 esac
3054 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3055 $as_echo "$ac_try_echo"; } >&5
3056 (eval "$ac_try") 2>&5
3057 ac_status=$?
3058 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3059 test $ac_status = 0; }; }; then :
3060 ac_retval=0
3061 else
3062 $as_echo "$as_me: program exited with status $ac_status" >&5
3063 $as_echo "$as_me: failed program was:" >&5
3064 sed 's/^/| /' conftest.$ac_ext >&5
3066 ac_retval=$ac_status
3068 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
3069 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3070 as_fn_set_status $ac_retval
3072 } # ac_fn_c_try_run
3074 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
3075 # -------------------------------------------------------
3076 # Tests whether HEADER exists and can be compiled using the include files in
3077 # INCLUDES, setting the cache variable VAR accordingly.
3078 ac_fn_c_check_header_compile ()
3080 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3081 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3082 $as_echo_n "checking for $2... " >&6; }
3083 if eval \${$3+:} false; then :
3084 $as_echo_n "(cached) " >&6
3085 else
3086 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3087 /* end confdefs.h. */
3089 #include <$2>
3090 _ACEOF
3091 if ac_fn_c_try_compile "$LINENO"; then :
3092 eval "$3=yes"
3093 else
3094 eval "$3=no"
3096 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3098 eval ac_res=\$$3
3099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3100 $as_echo "$ac_res" >&6; }
3101 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3103 } # ac_fn_c_check_header_compile
3105 # ac_fn_objc_try_compile LINENO
3106 # -----------------------------
3107 # Try to compile conftest.$ac_ext, and return whether this succeeded.
3108 ac_fn_objc_try_compile ()
3110 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3111 rm -f conftest.$ac_objext
3112 if { { ac_try="$ac_compile"
3113 case "(($ac_try" in
3114 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3115 *) ac_try_echo=$ac_try;;
3116 esac
3117 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3118 $as_echo "$ac_try_echo"; } >&5
3119 (eval "$ac_compile") 2>conftest.err
3120 ac_status=$?
3121 if test -s conftest.err; then
3122 grep -v '^ *+' conftest.err >conftest.er1
3123 cat conftest.er1 >&5
3124 mv -f conftest.er1 conftest.err
3126 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3127 test $ac_status = 0; } && {
3128 test -z "$ac_objc_werror_flag" ||
3129 test ! -s conftest.err
3130 } && test -s conftest.$ac_objext; then :
3131 ac_retval=0
3132 else
3133 $as_echo "$as_me: failed program was:" >&5
3134 sed 's/^/| /' conftest.$ac_ext >&5
3136 ac_retval=1
3138 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3139 as_fn_set_status $ac_retval
3141 } # ac_fn_objc_try_compile
3143 # ac_fn_objc_try_cpp LINENO
3144 # -------------------------
3145 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
3146 ac_fn_objc_try_cpp ()
3148 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3149 if { { ac_try="$ac_cpp conftest.$ac_ext"
3150 case "(($ac_try" in
3151 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
3152 *) ac_try_echo=$ac_try;;
3153 esac
3154 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
3155 $as_echo "$ac_try_echo"; } >&5
3156 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
3157 ac_status=$?
3158 if test -s conftest.err; then
3159 grep -v '^ *+' conftest.err >conftest.er1
3160 cat conftest.er1 >&5
3161 mv -f conftest.er1 conftest.err
3163 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
3164 test $ac_status = 0; } > conftest.i && {
3165 test -z "$ac_objc_preproc_warn_flag$ac_objc_werror_flag" ||
3166 test ! -s conftest.err
3167 }; then :
3168 ac_retval=0
3169 else
3170 $as_echo "$as_me: failed program was:" >&5
3171 sed 's/^/| /' conftest.$ac_ext >&5
3173 ac_retval=1
3175 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3176 as_fn_set_status $ac_retval
3178 } # ac_fn_objc_try_cpp
3180 # ac_fn_objc_check_header_mongrel LINENO HEADER VAR INCLUDES
3181 # ----------------------------------------------------------
3182 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
3183 # the include files in INCLUDES and setting the cache variable VAR
3184 # accordingly.
3185 ac_fn_objc_check_header_mongrel ()
3187 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3188 if eval \${$3+:} false; then :
3189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3190 $as_echo_n "checking for $2... " >&6; }
3191 if eval \${$3+:} false; then :
3192 $as_echo_n "(cached) " >&6
3194 eval ac_res=\$$3
3195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3196 $as_echo "$ac_res" >&6; }
3197 else
3198 # Is the header compilable?
3199 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
3200 $as_echo_n "checking $2 usability... " >&6; }
3201 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3202 /* end confdefs.h. */
3204 #include <$2>
3205 _ACEOF
3206 if ac_fn_objc_try_compile "$LINENO"; then :
3207 ac_header_compiler=yes
3208 else
3209 ac_header_compiler=no
3211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
3213 $as_echo "$ac_header_compiler" >&6; }
3215 # Is the header present?
3216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
3217 $as_echo_n "checking $2 presence... " >&6; }
3218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3219 /* end confdefs.h. */
3220 #include <$2>
3221 _ACEOF
3222 if ac_fn_objc_try_cpp "$LINENO"; then :
3223 ac_header_preproc=yes
3224 else
3225 ac_header_preproc=no
3227 rm -f conftest.err conftest.i conftest.$ac_ext
3228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
3229 $as_echo "$ac_header_preproc" >&6; }
3231 # So? What about this header?
3232 case $ac_header_compiler:$ac_header_preproc:$ac_objc_preproc_warn_flag in #((
3233 yes:no: )
3234 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
3235 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
3236 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3237 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3239 no:yes:* )
3240 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
3241 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
3242 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
3243 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
3244 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
3245 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
3246 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
3247 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
3248 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
3249 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
3250 ( $as_echo "## ------------------------------------ ##
3251 ## Report this to wine-devel@winehq.org ##
3252 ## ------------------------------------ ##"
3253 ) | sed "s/^/$as_me: WARNING: /" >&2
3255 esac
3256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3257 $as_echo_n "checking for $2... " >&6; }
3258 if eval \${$3+:} false; then :
3259 $as_echo_n "(cached) " >&6
3260 else
3261 eval "$3=\$ac_header_compiler"
3263 eval ac_res=\$$3
3264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3265 $as_echo "$ac_res" >&6; }
3267 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3269 } # ac_fn_objc_check_header_mongrel
3271 # ac_fn_c_check_func LINENO FUNC VAR
3272 # ----------------------------------
3273 # Tests whether FUNC exists, setting the cache variable VAR accordingly
3274 ac_fn_c_check_func ()
3276 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3278 $as_echo_n "checking for $2... " >&6; }
3279 if eval \${$3+:} false; then :
3280 $as_echo_n "(cached) " >&6
3281 else
3282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3283 /* end confdefs.h. */
3284 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3285 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3286 #define $2 innocuous_$2
3288 /* System header to define __stub macros and hopefully few prototypes,
3289 which can conflict with char $2 (); below.
3290 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3291 <limits.h> exists even on freestanding compilers. */
3293 #ifdef __STDC__
3294 # include <limits.h>
3295 #else
3296 # include <assert.h>
3297 #endif
3299 #undef $2
3301 /* Override any GCC internal prototype to avoid an error.
3302 Use char because int might match the return type of a GCC
3303 builtin and then its argument prototype would still apply. */
3304 #ifdef __cplusplus
3305 extern "C"
3306 #endif
3307 char $2 ();
3308 /* The GNU C library defines this for functions which it implements
3309 to always fail with ENOSYS. Some functions are actually named
3310 something starting with __ and the normal name is an alias. */
3311 #if defined __stub_$2 || defined __stub___$2
3312 choke me
3313 #endif
3316 main ()
3318 return $2 ();
3320 return 0;
3322 _ACEOF
3323 if ac_fn_c_try_link "$LINENO"; then :
3324 eval "$3=yes"
3325 else
3326 eval "$3=no"
3328 rm -f core conftest.err conftest.$ac_objext \
3329 conftest$ac_exeext conftest.$ac_ext
3331 eval ac_res=\$$3
3332 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3333 $as_echo "$ac_res" >&6; }
3334 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3336 } # ac_fn_c_check_func
3338 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3339 # ----------------------------------------------------
3340 # Tries to find if the field MEMBER exists in type AGGR, after including
3341 # INCLUDES, setting cache variable VAR accordingly.
3342 ac_fn_c_check_member ()
3344 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3345 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3346 $as_echo_n "checking for $2.$3... " >&6; }
3347 if eval \${$4+:} false; then :
3348 $as_echo_n "(cached) " >&6
3349 else
3350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3351 /* end confdefs.h. */
3354 main ()
3356 static $2 ac_aggr;
3357 if (ac_aggr.$3)
3358 return 0;
3360 return 0;
3362 _ACEOF
3363 if ac_fn_c_try_compile "$LINENO"; then :
3364 eval "$4=yes"
3365 else
3366 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3367 /* end confdefs.h. */
3370 main ()
3372 static $2 ac_aggr;
3373 if (sizeof ac_aggr.$3)
3374 return 0;
3376 return 0;
3378 _ACEOF
3379 if ac_fn_c_try_compile "$LINENO"; then :
3380 eval "$4=yes"
3381 else
3382 eval "$4=no"
3384 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3386 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3388 eval ac_res=\$$4
3389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3390 $as_echo "$ac_res" >&6; }
3391 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3393 } # ac_fn_c_check_member
3395 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3396 # -------------------------------------------
3397 # Tests whether TYPE exists after having included INCLUDES, setting cache
3398 # variable VAR accordingly.
3399 ac_fn_c_check_type ()
3401 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3403 $as_echo_n "checking for $2... " >&6; }
3404 if eval \${$3+:} false; then :
3405 $as_echo_n "(cached) " >&6
3406 else
3407 eval "$3=no"
3408 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3409 /* end confdefs.h. */
3412 main ()
3414 if (sizeof ($2))
3415 return 0;
3417 return 0;
3419 _ACEOF
3420 if ac_fn_c_try_compile "$LINENO"; then :
3421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3422 /* end confdefs.h. */
3425 main ()
3427 if (sizeof (($2)))
3428 return 0;
3430 return 0;
3432 _ACEOF
3433 if ac_fn_c_try_compile "$LINENO"; then :
3435 else
3436 eval "$3=yes"
3438 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3440 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3442 eval ac_res=\$$3
3443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3444 $as_echo "$ac_res" >&6; }
3445 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3447 } # ac_fn_c_check_type
3448 cat >config.log <<_ACEOF
3449 This file contains any messages produced by compilers while
3450 running configure, to aid debugging if configure makes a mistake.
3452 It was created by Wine $as_me 5.0, which was
3453 generated by GNU Autoconf 2.69. Invocation command line was
3455 $ $0 $@
3457 _ACEOF
3458 exec 5>>config.log
3460 cat <<_ASUNAME
3461 ## --------- ##
3462 ## Platform. ##
3463 ## --------- ##
3465 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3466 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3467 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3468 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3469 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3471 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3472 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3474 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3475 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3476 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3477 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3478 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3479 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3480 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3482 _ASUNAME
3484 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3485 for as_dir in $PATH
3487 IFS=$as_save_IFS
3488 test -z "$as_dir" && as_dir=.
3489 $as_echo "PATH: $as_dir"
3490 done
3491 IFS=$as_save_IFS
3493 } >&5
3495 cat >&5 <<_ACEOF
3498 ## ----------- ##
3499 ## Core tests. ##
3500 ## ----------- ##
3502 _ACEOF
3505 # Keep a trace of the command line.
3506 # Strip out --no-create and --no-recursion so they do not pile up.
3507 # Strip out --silent because we don't want to record it for future runs.
3508 # Also quote any args containing shell meta-characters.
3509 # Make two passes to allow for proper duplicate-argument suppression.
3510 ac_configure_args=
3511 ac_configure_args0=
3512 ac_configure_args1=
3513 ac_must_keep_next=false
3514 for ac_pass in 1 2
3516 for ac_arg
3518 case $ac_arg in
3519 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3520 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3521 | -silent | --silent | --silen | --sile | --sil)
3522 continue ;;
3523 *\'*)
3524 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3525 esac
3526 case $ac_pass in
3527 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3529 as_fn_append ac_configure_args1 " '$ac_arg'"
3530 if test $ac_must_keep_next = true; then
3531 ac_must_keep_next=false # Got value, back to normal.
3532 else
3533 case $ac_arg in
3534 *=* | --config-cache | -C | -disable-* | --disable-* \
3535 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3536 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3537 | -with-* | --with-* | -without-* | --without-* | --x)
3538 case "$ac_configure_args0 " in
3539 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3540 esac
3542 -* ) ac_must_keep_next=true ;;
3543 esac
3545 as_fn_append ac_configure_args " '$ac_arg'"
3547 esac
3548 done
3549 done
3550 { ac_configure_args0=; unset ac_configure_args0;}
3551 { ac_configure_args1=; unset ac_configure_args1;}
3553 # When interrupted or exit'd, cleanup temporary files, and complete
3554 # config.log. We remove comments because anyway the quotes in there
3555 # would cause problems or look ugly.
3556 # WARNING: Use '\'' to represent an apostrophe within the trap.
3557 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3558 trap 'exit_status=$?
3559 # Save into config.log some information that might help in debugging.
3561 echo
3563 $as_echo "## ---------------- ##
3564 ## Cache variables. ##
3565 ## ---------------- ##"
3566 echo
3567 # The following way of writing the cache mishandles newlines in values,
3569 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3570 eval ac_val=\$$ac_var
3571 case $ac_val in #(
3572 *${as_nl}*)
3573 case $ac_var in #(
3574 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3575 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3576 esac
3577 case $ac_var in #(
3578 _ | IFS | as_nl) ;; #(
3579 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3580 *) { eval $ac_var=; unset $ac_var;} ;;
3581 esac ;;
3582 esac
3583 done
3584 (set) 2>&1 |
3585 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3586 *${as_nl}ac_space=\ *)
3587 sed -n \
3588 "s/'\''/'\''\\\\'\'''\''/g;
3589 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3590 ;; #(
3592 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3594 esac |
3595 sort
3597 echo
3599 $as_echo "## ----------------- ##
3600 ## Output variables. ##
3601 ## ----------------- ##"
3602 echo
3603 for ac_var in $ac_subst_vars
3605 eval ac_val=\$$ac_var
3606 case $ac_val in
3607 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3608 esac
3609 $as_echo "$ac_var='\''$ac_val'\''"
3610 done | sort
3611 echo
3613 if test -n "$ac_subst_files"; then
3614 $as_echo "## ------------------- ##
3615 ## File substitutions. ##
3616 ## ------------------- ##"
3617 echo
3618 for ac_var in $ac_subst_files
3620 eval ac_val=\$$ac_var
3621 case $ac_val in
3622 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3623 esac
3624 $as_echo "$ac_var='\''$ac_val'\''"
3625 done | sort
3626 echo
3629 if test -s confdefs.h; then
3630 $as_echo "## ----------- ##
3631 ## confdefs.h. ##
3632 ## ----------- ##"
3633 echo
3634 cat confdefs.h
3635 echo
3637 test "$ac_signal" != 0 &&
3638 $as_echo "$as_me: caught signal $ac_signal"
3639 $as_echo "$as_me: exit $exit_status"
3640 } >&5
3641 rm -f core *.core core.conftest.* &&
3642 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3643 exit $exit_status
3645 for ac_signal in 1 2 13 15; do
3646 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3647 done
3648 ac_signal=0
3650 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3651 rm -f -r conftest* confdefs.h
3653 $as_echo "/* confdefs.h */" > confdefs.h
3655 # Predefined preprocessor variables.
3657 cat >>confdefs.h <<_ACEOF
3658 #define PACKAGE_NAME "$PACKAGE_NAME"
3659 _ACEOF
3661 cat >>confdefs.h <<_ACEOF
3662 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3663 _ACEOF
3665 cat >>confdefs.h <<_ACEOF
3666 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3667 _ACEOF
3669 cat >>confdefs.h <<_ACEOF
3670 #define PACKAGE_STRING "$PACKAGE_STRING"
3671 _ACEOF
3673 cat >>confdefs.h <<_ACEOF
3674 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3675 _ACEOF
3677 cat >>confdefs.h <<_ACEOF
3678 #define PACKAGE_URL "$PACKAGE_URL"
3679 _ACEOF
3682 # Let the site file select an alternate cache file if it wants to.
3683 # Prefer an explicitly selected file to automatically selected ones.
3684 ac_site_file1=NONE
3685 ac_site_file2=NONE
3686 if test -n "$CONFIG_SITE"; then
3687 # We do not want a PATH search for config.site.
3688 case $CONFIG_SITE in #((
3689 -*) ac_site_file1=./$CONFIG_SITE;;
3690 */*) ac_site_file1=$CONFIG_SITE;;
3691 *) ac_site_file1=./$CONFIG_SITE;;
3692 esac
3693 elif test "x$prefix" != xNONE; then
3694 ac_site_file1=$prefix/share/config.site
3695 ac_site_file2=$prefix/etc/config.site
3696 else
3697 ac_site_file1=$ac_default_prefix/share/config.site
3698 ac_site_file2=$ac_default_prefix/etc/config.site
3700 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3702 test "x$ac_site_file" = xNONE && continue
3703 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3704 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3705 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3706 sed 's/^/| /' "$ac_site_file" >&5
3707 . "$ac_site_file" \
3708 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3709 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3710 as_fn_error $? "failed to load site script $ac_site_file
3711 See \`config.log' for more details" "$LINENO" 5; }
3713 done
3715 if test -r "$cache_file"; then
3716 # Some versions of bash will fail to source /dev/null (special files
3717 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3718 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3719 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3720 $as_echo "$as_me: loading cache $cache_file" >&6;}
3721 case $cache_file in
3722 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3723 *) . "./$cache_file";;
3724 esac
3726 else
3727 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3728 $as_echo "$as_me: creating cache $cache_file" >&6;}
3729 >$cache_file
3732 # Check that the precious variables saved in the cache have kept the same
3733 # value.
3734 ac_cache_corrupted=false
3735 for ac_var in $ac_precious_vars; do
3736 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3737 eval ac_new_set=\$ac_env_${ac_var}_set
3738 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3739 eval ac_new_val=\$ac_env_${ac_var}_value
3740 case $ac_old_set,$ac_new_set in
3741 set,)
3742 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3743 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3744 ac_cache_corrupted=: ;;
3745 ,set)
3746 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3747 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3748 ac_cache_corrupted=: ;;
3749 ,);;
3751 if test "x$ac_old_val" != "x$ac_new_val"; then
3752 # differences in whitespace do not lead to failure.
3753 ac_old_val_w=`echo x $ac_old_val`
3754 ac_new_val_w=`echo x $ac_new_val`
3755 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3756 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3757 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3758 ac_cache_corrupted=:
3759 else
3760 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3761 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3762 eval $ac_var=\$ac_old_val
3764 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3765 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3766 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3767 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3768 fi;;
3769 esac
3770 # Pass precious variables to config.status.
3771 if test "$ac_new_set" = set; then
3772 case $ac_new_val in
3773 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3774 *) ac_arg=$ac_var=$ac_new_val ;;
3775 esac
3776 case " $ac_configure_args " in
3777 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3778 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3779 esac
3781 done
3782 if $ac_cache_corrupted; then
3783 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3784 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3785 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3786 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3787 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3789 ## -------------------- ##
3790 ## Main body of script. ##
3791 ## -------------------- ##
3793 ac_ext=c
3794 ac_cpp='$CPP $CPPFLAGS'
3795 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3796 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3797 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3801 ac_config_headers="$ac_config_headers include/config.h"
3803 ac_aux_dir=
3804 for ac_dir in tools "$srcdir"/tools; do
3805 if test -f "$ac_dir/install-sh"; then
3806 ac_aux_dir=$ac_dir
3807 ac_install_sh="$ac_aux_dir/install-sh -c"
3808 break
3809 elif test -f "$ac_dir/install.sh"; then
3810 ac_aux_dir=$ac_dir
3811 ac_install_sh="$ac_aux_dir/install.sh -c"
3812 break
3813 elif test -f "$ac_dir/shtool"; then
3814 ac_aux_dir=$ac_dir
3815 ac_install_sh="$ac_aux_dir/shtool install -c"
3816 break
3818 done
3819 if test -z "$ac_aux_dir"; then
3820 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3823 # These three variables are undocumented and unsupported,
3824 # and are intended to be withdrawn in a future Autoconf release.
3825 # They can cause serious problems if a builder's source tree is in a directory
3826 # whose full name contains unusual characters.
3827 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3828 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3829 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3833 libwine_version="1.0"
3837 # Check whether --enable-win16 was given.
3838 if test "${enable_win16+set}" = set; then :
3839 enableval=$enable_win16;
3842 # Check whether --enable-win64 was given.
3843 if test "${enable_win64+set}" = set; then :
3844 enableval=$enable_win64;
3847 # Check whether --enable-tests was given.
3848 if test "${enable_tests+set}" = set; then :
3849 enableval=$enable_tests;
3852 # Check whether --enable-maintainer-mode was given.
3853 if test "${enable_maintainer_mode+set}" = set; then :
3854 enableval=$enable_maintainer_mode;
3859 # Check whether --with-alsa was given.
3860 if test "${with_alsa+set}" = set; then :
3861 withval=$with_alsa;
3865 # Check whether --with-capi was given.
3866 if test "${with_capi+set}" = set; then :
3867 withval=$with_capi;
3871 # Check whether --with-cms was given.
3872 if test "${with_cms+set}" = set; then :
3873 withval=$with_cms;
3877 # Check whether --with-coreaudio was given.
3878 if test "${with_coreaudio+set}" = set; then :
3879 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3883 # Check whether --with-cups was given.
3884 if test "${with_cups+set}" = set; then :
3885 withval=$with_cups;
3889 # Check whether --with-curses was given.
3890 if test "${with_curses+set}" = set; then :
3891 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3895 # Check whether --with-dbus was given.
3896 if test "${with_dbus+set}" = set; then :
3897 withval=$with_dbus;
3901 # Check whether --with-faudio was given.
3902 if test "${with_faudio+set}" = set; then :
3903 withval=$with_faudio;
3907 # Check whether --with-float-abi was given.
3908 if test "${with_float_abi+set}" = set; then :
3909 withval=$with_float_abi;
3913 # Check whether --with-fontconfig was given.
3914 if test "${with_fontconfig+set}" = set; then :
3915 withval=$with_fontconfig;
3919 # Check whether --with-freetype was given.
3920 if test "${with_freetype+set}" = set; then :
3921 withval=$with_freetype;
3925 # Check whether --with-gettext was given.
3926 if test "${with_gettext+set}" = set; then :
3927 withval=$with_gettext;
3931 # Check whether --with-gettextpo was given.
3932 if test "${with_gettextpo+set}" = set; then :
3933 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3937 # Check whether --with-gphoto was given.
3938 if test "${with_gphoto+set}" = set; then :
3939 withval=$with_gphoto;
3943 # Check whether --with-glu was given.
3944 if test "${with_glu+set}" = set; then :
3945 withval=$with_glu;
3949 # Check whether --with-gnutls was given.
3950 if test "${with_gnutls+set}" = set; then :
3951 withval=$with_gnutls;
3955 # Check whether --with-gsm was given.
3956 if test "${with_gsm+set}" = set; then :
3957 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3961 # Check whether --with-gssapi was given.
3962 if test "${with_gssapi+set}" = set; then :
3963 withval=$with_gssapi;
3967 # Check whether --with-gstreamer was given.
3968 if test "${with_gstreamer+set}" = set; then :
3969 withval=$with_gstreamer;
3973 # Check whether --with-hal was given.
3974 if test "${with_hal+set}" = set; then :
3975 withval=$with_hal;
3979 # Check whether --with-inotify was given.
3980 if test "${with_inotify+set}" = set; then :
3981 withval=$with_inotify;
3985 # Check whether --with-jpeg was given.
3986 if test "${with_jpeg+set}" = set; then :
3987 withval=$with_jpeg;
3991 # Check whether --with-krb5 was given.
3992 if test "${with_krb5+set}" = set; then :
3993 withval=$with_krb5;
3997 # Check whether --with-ldap was given.
3998 if test "${with_ldap+set}" = set; then :
3999 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
4003 # Check whether --with-mingw was given.
4004 if test "${with_mingw+set}" = set; then :
4005 withval=$with_mingw;
4009 # Check whether --with-mpg123 was given.
4010 if test "${with_mpg123+set}" = set; then :
4011 withval=$with_mpg123;
4015 # Check whether --with-netapi was given.
4016 if test "${with_netapi+set}" = set; then :
4017 withval=$with_netapi;
4021 # Check whether --with-openal was given.
4022 if test "${with_openal+set}" = set; then :
4023 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
4027 # Check whether --with-opencl was given.
4028 if test "${with_opencl+set}" = set; then :
4029 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
4033 # Check whether --with-opengl was given.
4034 if test "${with_opengl+set}" = set; then :
4035 withval=$with_opengl;
4039 # Check whether --with-osmesa was given.
4040 if test "${with_osmesa+set}" = set; then :
4041 withval=$with_osmesa;
4045 # Check whether --with-oss was given.
4046 if test "${with_oss+set}" = set; then :
4047 withval=$with_oss;
4051 # Check whether --with-pcap was given.
4052 if test "${with_pcap+set}" = set; then :
4053 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
4057 # Check whether --with-png was given.
4058 if test "${with_png+set}" = set; then :
4059 withval=$with_png;
4063 # Check whether --with-pthread was given.
4064 if test "${with_pthread+set}" = set; then :
4065 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
4069 # Check whether --with-pulse was given.
4070 if test "${with_pulse+set}" = set; then :
4071 withval=$with_pulse;
4075 # Check whether --with-sane was given.
4076 if test "${with_sane+set}" = set; then :
4077 withval=$with_sane;
4081 # Check whether --with-sdl was given.
4082 if test "${with_sdl+set}" = set; then :
4083 withval=$with_sdl;
4087 # Check whether --with-tiff was given.
4088 if test "${with_tiff+set}" = set; then :
4089 withval=$with_tiff;
4093 # Check whether --with-udev was given.
4094 if test "${with_udev+set}" = set; then :
4095 withval=$with_udev;
4099 # Check whether --with-unwind was given.
4100 if test "${with_unwind+set}" = set; then :
4101 withval=$with_unwind;
4105 # Check whether --with-v4l2 was given.
4106 if test "${with_v4l2+set}" = set; then :
4107 withval=$with_v4l2;
4111 # Check whether --with-vkd3d was given.
4112 if test "${with_vkd3d+set}" = set; then :
4113 withval=$with_vkd3d;
4117 # Check whether --with-vulkan was given.
4118 if test "${with_vulkan+set}" = set; then :
4119 withval=$with_vulkan;
4123 # Check whether --with-xcomposite was given.
4124 if test "${with_xcomposite+set}" = set; then :
4125 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
4129 # Check whether --with-xcursor was given.
4130 if test "${with_xcursor+set}" = set; then :
4131 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
4135 # Check whether --with-xfixes was given.
4136 if test "${with_xfixes+set}" = set; then :
4137 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
4141 # Check whether --with-xinerama was given.
4142 if test "${with_xinerama+set}" = set; then :
4143 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
4147 # Check whether --with-xinput was given.
4148 if test "${with_xinput+set}" = set; then :
4149 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
4153 # Check whether --with-xinput2 was given.
4154 if test "${with_xinput2+set}" = set; then :
4155 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
4159 # Check whether --with-xml was given.
4160 if test "${with_xml+set}" = set; then :
4161 withval=$with_xml;
4165 # Check whether --with-xrandr was given.
4166 if test "${with_xrandr+set}" = set; then :
4167 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
4171 # Check whether --with-xrender was given.
4172 if test "${with_xrender+set}" = set; then :
4173 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
4177 # Check whether --with-xshape was given.
4178 if test "${with_xshape+set}" = set; then :
4179 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
4183 # Check whether --with-xshm was given.
4184 if test "${with_xshm+set}" = set; then :
4185 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
4189 # Check whether --with-xslt was given.
4190 if test "${with_xslt+set}" = set; then :
4191 withval=$with_xslt;
4195 # Check whether --with-xxf86vm was given.
4196 if test "${with_xxf86vm+set}" = set; then :
4197 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
4201 # Check whether --with-zlib was given.
4202 if test "${with_zlib+set}" = set; then :
4203 withval=$with_zlib;
4208 # Check whether --with-wine-tools was given.
4209 if test "${with_wine_tools+set}" = set; then :
4210 withval=$with_wine_tools;
4214 # Check whether --with-wine64 was given.
4215 if test "${with_wine64+set}" = set; then :
4216 withval=$with_wine64;
4220 # Make sure we can run config.sub.
4221 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
4222 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
4224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
4225 $as_echo_n "checking build system type... " >&6; }
4226 if ${ac_cv_build+:} false; then :
4227 $as_echo_n "(cached) " >&6
4228 else
4229 ac_build_alias=$build_alias
4230 test "x$ac_build_alias" = x &&
4231 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
4232 test "x$ac_build_alias" = x &&
4233 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
4234 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
4235 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
4238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
4239 $as_echo "$ac_cv_build" >&6; }
4240 case $ac_cv_build in
4241 *-*-*) ;;
4242 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
4243 esac
4244 build=$ac_cv_build
4245 ac_save_IFS=$IFS; IFS='-'
4246 set x $ac_cv_build
4247 shift
4248 build_cpu=$1
4249 build_vendor=$2
4250 shift; shift
4251 # Remember, the first character of IFS is used to create $*,
4252 # except with old shells:
4253 build_os=$*
4254 IFS=$ac_save_IFS
4255 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
4258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
4259 $as_echo_n "checking host system type... " >&6; }
4260 if ${ac_cv_host+:} false; then :
4261 $as_echo_n "(cached) " >&6
4262 else
4263 if test "x$host_alias" = x; then
4264 ac_cv_host=$ac_cv_build
4265 else
4266 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
4267 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
4271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
4272 $as_echo "$ac_cv_host" >&6; }
4273 case $ac_cv_host in
4274 *-*-*) ;;
4275 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
4276 esac
4277 host=$ac_cv_host
4278 ac_save_IFS=$IFS; IFS='-'
4279 set x $ac_cv_host
4280 shift
4281 host_cpu=$1
4282 host_vendor=$2
4283 shift; shift
4284 # Remember, the first character of IFS is used to create $*,
4285 # except with old shells:
4286 host_os=$*
4287 IFS=$ac_save_IFS
4288 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
4293 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
4294 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
4295 set x ${MAKE-make}
4296 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
4297 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
4298 $as_echo_n "(cached) " >&6
4299 else
4300 cat >conftest.make <<\_ACEOF
4301 SHELL = /bin/sh
4302 all:
4303 @echo '@@@%%%=$(MAKE)=@@@%%%'
4304 _ACEOF
4305 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4306 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4307 *@@@%%%=?*=@@@%%%*)
4308 eval ac_cv_prog_make_${ac_make}_set=yes;;
4310 eval ac_cv_prog_make_${ac_make}_set=no;;
4311 esac
4312 rm -f conftest.make
4314 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4315 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4316 $as_echo "yes" >&6; }
4317 SET_MAKE=
4318 else
4319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4320 $as_echo "no" >&6; }
4321 SET_MAKE="MAKE=${MAKE-make}"
4324 ac_ext=c
4325 ac_cpp='$CPP $CPPFLAGS'
4326 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4327 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4328 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4329 if test -n "$ac_tool_prefix"; then
4330 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4331 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4332 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4333 $as_echo_n "checking for $ac_word... " >&6; }
4334 if ${ac_cv_prog_CC+:} false; then :
4335 $as_echo_n "(cached) " >&6
4336 else
4337 if test -n "$CC"; then
4338 ac_cv_prog_CC="$CC" # Let the user override the test.
4339 else
4340 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4341 for as_dir in $PATH
4343 IFS=$as_save_IFS
4344 test -z "$as_dir" && as_dir=.
4345 for ac_exec_ext in '' $ac_executable_extensions; do
4346 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4347 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4348 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4349 break 2
4351 done
4352 done
4353 IFS=$as_save_IFS
4357 CC=$ac_cv_prog_CC
4358 if test -n "$CC"; then
4359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4360 $as_echo "$CC" >&6; }
4361 else
4362 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4363 $as_echo "no" >&6; }
4368 if test -z "$ac_cv_prog_CC"; then
4369 ac_ct_CC=$CC
4370 # Extract the first word of "gcc", so it can be a program name with args.
4371 set dummy gcc; ac_word=$2
4372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4373 $as_echo_n "checking for $ac_word... " >&6; }
4374 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4375 $as_echo_n "(cached) " >&6
4376 else
4377 if test -n "$ac_ct_CC"; then
4378 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4379 else
4380 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4381 for as_dir in $PATH
4383 IFS=$as_save_IFS
4384 test -z "$as_dir" && as_dir=.
4385 for ac_exec_ext in '' $ac_executable_extensions; do
4386 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4387 ac_cv_prog_ac_ct_CC="gcc"
4388 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4389 break 2
4391 done
4392 done
4393 IFS=$as_save_IFS
4397 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4398 if test -n "$ac_ct_CC"; then
4399 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4400 $as_echo "$ac_ct_CC" >&6; }
4401 else
4402 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4403 $as_echo "no" >&6; }
4406 if test "x$ac_ct_CC" = x; then
4407 CC=""
4408 else
4409 case $cross_compiling:$ac_tool_warned in
4410 yes:)
4411 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4412 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4413 ac_tool_warned=yes ;;
4414 esac
4415 CC=$ac_ct_CC
4417 else
4418 CC="$ac_cv_prog_CC"
4421 if test -z "$CC"; then
4422 if test -n "$ac_tool_prefix"; then
4423 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4424 set dummy ${ac_tool_prefix}cc; ac_word=$2
4425 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4426 $as_echo_n "checking for $ac_word... " >&6; }
4427 if ${ac_cv_prog_CC+:} false; then :
4428 $as_echo_n "(cached) " >&6
4429 else
4430 if test -n "$CC"; then
4431 ac_cv_prog_CC="$CC" # Let the user override the test.
4432 else
4433 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4434 for as_dir in $PATH
4436 IFS=$as_save_IFS
4437 test -z "$as_dir" && as_dir=.
4438 for ac_exec_ext in '' $ac_executable_extensions; do
4439 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4440 ac_cv_prog_CC="${ac_tool_prefix}cc"
4441 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4442 break 2
4444 done
4445 done
4446 IFS=$as_save_IFS
4450 CC=$ac_cv_prog_CC
4451 if test -n "$CC"; then
4452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4453 $as_echo "$CC" >&6; }
4454 else
4455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4456 $as_echo "no" >&6; }
4462 if test -z "$CC"; then
4463 # Extract the first word of "cc", so it can be a program name with args.
4464 set dummy cc; ac_word=$2
4465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4466 $as_echo_n "checking for $ac_word... " >&6; }
4467 if ${ac_cv_prog_CC+:} false; then :
4468 $as_echo_n "(cached) " >&6
4469 else
4470 if test -n "$CC"; then
4471 ac_cv_prog_CC="$CC" # Let the user override the test.
4472 else
4473 ac_prog_rejected=no
4474 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4475 for as_dir in $PATH
4477 IFS=$as_save_IFS
4478 test -z "$as_dir" && as_dir=.
4479 for ac_exec_ext in '' $ac_executable_extensions; do
4480 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4481 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4482 ac_prog_rejected=yes
4483 continue
4485 ac_cv_prog_CC="cc"
4486 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4487 break 2
4489 done
4490 done
4491 IFS=$as_save_IFS
4493 if test $ac_prog_rejected = yes; then
4494 # We found a bogon in the path, so make sure we never use it.
4495 set dummy $ac_cv_prog_CC
4496 shift
4497 if test $# != 0; then
4498 # We chose a different compiler from the bogus one.
4499 # However, it has the same basename, so the bogon will be chosen
4500 # first if we set CC to just the basename; use the full file name.
4501 shift
4502 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4507 CC=$ac_cv_prog_CC
4508 if test -n "$CC"; then
4509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4510 $as_echo "$CC" >&6; }
4511 else
4512 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4513 $as_echo "no" >&6; }
4518 if test -z "$CC"; then
4519 if test -n "$ac_tool_prefix"; then
4520 for ac_prog in cl.exe
4522 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4523 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4525 $as_echo_n "checking for $ac_word... " >&6; }
4526 if ${ac_cv_prog_CC+:} false; then :
4527 $as_echo_n "(cached) " >&6
4528 else
4529 if test -n "$CC"; then
4530 ac_cv_prog_CC="$CC" # Let the user override the test.
4531 else
4532 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4533 for as_dir in $PATH
4535 IFS=$as_save_IFS
4536 test -z "$as_dir" && as_dir=.
4537 for ac_exec_ext in '' $ac_executable_extensions; do
4538 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4539 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4540 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4541 break 2
4543 done
4544 done
4545 IFS=$as_save_IFS
4549 CC=$ac_cv_prog_CC
4550 if test -n "$CC"; then
4551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4552 $as_echo "$CC" >&6; }
4553 else
4554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4555 $as_echo "no" >&6; }
4559 test -n "$CC" && break
4560 done
4562 if test -z "$CC"; then
4563 ac_ct_CC=$CC
4564 for ac_prog in cl.exe
4566 # Extract the first word of "$ac_prog", so it can be a program name with args.
4567 set dummy $ac_prog; ac_word=$2
4568 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4569 $as_echo_n "checking for $ac_word... " >&6; }
4570 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4571 $as_echo_n "(cached) " >&6
4572 else
4573 if test -n "$ac_ct_CC"; then
4574 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4575 else
4576 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4577 for as_dir in $PATH
4579 IFS=$as_save_IFS
4580 test -z "$as_dir" && as_dir=.
4581 for ac_exec_ext in '' $ac_executable_extensions; do
4582 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4583 ac_cv_prog_ac_ct_CC="$ac_prog"
4584 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4585 break 2
4587 done
4588 done
4589 IFS=$as_save_IFS
4593 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4594 if test -n "$ac_ct_CC"; then
4595 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4596 $as_echo "$ac_ct_CC" >&6; }
4597 else
4598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4599 $as_echo "no" >&6; }
4603 test -n "$ac_ct_CC" && break
4604 done
4606 if test "x$ac_ct_CC" = x; then
4607 CC=""
4608 else
4609 case $cross_compiling:$ac_tool_warned in
4610 yes:)
4611 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4612 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4613 ac_tool_warned=yes ;;
4614 esac
4615 CC=$ac_ct_CC
4622 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4623 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4624 as_fn_error $? "no acceptable C compiler found in \$PATH
4625 See \`config.log' for more details" "$LINENO" 5; }
4627 # Provide some information about the compiler.
4628 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4629 set X $ac_compile
4630 ac_compiler=$2
4631 for ac_option in --version -v -V -qversion; do
4632 { { ac_try="$ac_compiler $ac_option >&5"
4633 case "(($ac_try" in
4634 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4635 *) ac_try_echo=$ac_try;;
4636 esac
4637 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4638 $as_echo "$ac_try_echo"; } >&5
4639 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4640 ac_status=$?
4641 if test -s conftest.err; then
4642 sed '10a\
4643 ... rest of stderr output deleted ...
4644 10q' conftest.err >conftest.er1
4645 cat conftest.er1 >&5
4647 rm -f conftest.er1 conftest.err
4648 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4649 test $ac_status = 0; }
4650 done
4652 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4653 /* end confdefs.h. */
4656 main ()
4660 return 0;
4662 _ACEOF
4663 ac_clean_files_save=$ac_clean_files
4664 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4665 # Try to create an executable without -o first, disregard a.out.
4666 # It will help us diagnose broken compilers, and finding out an intuition
4667 # of exeext.
4668 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4669 $as_echo_n "checking whether the C compiler works... " >&6; }
4670 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4672 # The possible output files:
4673 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4675 ac_rmfiles=
4676 for ac_file in $ac_files
4678 case $ac_file in
4679 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4680 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4681 esac
4682 done
4683 rm -f $ac_rmfiles
4685 if { { ac_try="$ac_link_default"
4686 case "(($ac_try" in
4687 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4688 *) ac_try_echo=$ac_try;;
4689 esac
4690 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4691 $as_echo "$ac_try_echo"; } >&5
4692 (eval "$ac_link_default") 2>&5
4693 ac_status=$?
4694 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4695 test $ac_status = 0; }; then :
4696 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4697 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4698 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4699 # so that the user can short-circuit this test for compilers unknown to
4700 # Autoconf.
4701 for ac_file in $ac_files ''
4703 test -f "$ac_file" || continue
4704 case $ac_file in
4705 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4707 [ab].out )
4708 # We found the default executable, but exeext='' is most
4709 # certainly right.
4710 break;;
4711 *.* )
4712 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4713 then :; else
4714 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4716 # We set ac_cv_exeext here because the later test for it is not
4717 # safe: cross compilers may not add the suffix if given an `-o'
4718 # argument, so we may need to know it at that point already.
4719 # Even if this section looks crufty: it has the advantage of
4720 # actually working.
4721 break;;
4723 break;;
4724 esac
4725 done
4726 test "$ac_cv_exeext" = no && ac_cv_exeext=
4728 else
4729 ac_file=''
4731 if test -z "$ac_file"; then :
4732 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4733 $as_echo "no" >&6; }
4734 $as_echo "$as_me: failed program was:" >&5
4735 sed 's/^/| /' conftest.$ac_ext >&5
4737 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4738 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4739 as_fn_error 77 "C compiler cannot create executables
4740 See \`config.log' for more details" "$LINENO" 5; }
4741 else
4742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4743 $as_echo "yes" >&6; }
4745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4746 $as_echo_n "checking for C compiler default output file name... " >&6; }
4747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4748 $as_echo "$ac_file" >&6; }
4749 ac_exeext=$ac_cv_exeext
4751 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4752 ac_clean_files=$ac_clean_files_save
4753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4754 $as_echo_n "checking for suffix of executables... " >&6; }
4755 if { { ac_try="$ac_link"
4756 case "(($ac_try" in
4757 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4758 *) ac_try_echo=$ac_try;;
4759 esac
4760 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4761 $as_echo "$ac_try_echo"; } >&5
4762 (eval "$ac_link") 2>&5
4763 ac_status=$?
4764 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4765 test $ac_status = 0; }; then :
4766 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4767 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4768 # work properly (i.e., refer to `conftest.exe'), while it won't with
4769 # `rm'.
4770 for ac_file in conftest.exe conftest conftest.*; do
4771 test -f "$ac_file" || continue
4772 case $ac_file in
4773 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4774 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4775 break;;
4776 * ) break;;
4777 esac
4778 done
4779 else
4780 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4781 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4782 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4783 See \`config.log' for more details" "$LINENO" 5; }
4785 rm -f conftest conftest$ac_cv_exeext
4786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4787 $as_echo "$ac_cv_exeext" >&6; }
4789 rm -f conftest.$ac_ext
4790 EXEEXT=$ac_cv_exeext
4791 ac_exeext=$EXEEXT
4792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4793 /* end confdefs.h. */
4794 #include <stdio.h>
4796 main ()
4798 FILE *f = fopen ("conftest.out", "w");
4799 return ferror (f) || fclose (f) != 0;
4802 return 0;
4804 _ACEOF
4805 ac_clean_files="$ac_clean_files conftest.out"
4806 # Check that the compiler produces executables we can run. If not, either
4807 # the compiler is broken, or we cross compile.
4808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4809 $as_echo_n "checking whether we are cross compiling... " >&6; }
4810 if test "$cross_compiling" != yes; then
4811 { { ac_try="$ac_link"
4812 case "(($ac_try" in
4813 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4814 *) ac_try_echo=$ac_try;;
4815 esac
4816 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4817 $as_echo "$ac_try_echo"; } >&5
4818 (eval "$ac_link") 2>&5
4819 ac_status=$?
4820 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4821 test $ac_status = 0; }
4822 if { ac_try='./conftest$ac_cv_exeext'
4823 { { case "(($ac_try" in
4824 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4825 *) ac_try_echo=$ac_try;;
4826 esac
4827 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4828 $as_echo "$ac_try_echo"; } >&5
4829 (eval "$ac_try") 2>&5
4830 ac_status=$?
4831 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4832 test $ac_status = 0; }; }; then
4833 cross_compiling=no
4834 else
4835 if test "$cross_compiling" = maybe; then
4836 cross_compiling=yes
4837 else
4838 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4839 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4840 as_fn_error $? "cannot run C compiled programs.
4841 If you meant to cross compile, use \`--host'.
4842 See \`config.log' for more details" "$LINENO" 5; }
4846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4847 $as_echo "$cross_compiling" >&6; }
4849 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4850 ac_clean_files=$ac_clean_files_save
4851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4852 $as_echo_n "checking for suffix of object files... " >&6; }
4853 if ${ac_cv_objext+:} false; then :
4854 $as_echo_n "(cached) " >&6
4855 else
4856 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4857 /* end confdefs.h. */
4860 main ()
4864 return 0;
4866 _ACEOF
4867 rm -f conftest.o conftest.obj
4868 if { { ac_try="$ac_compile"
4869 case "(($ac_try" in
4870 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4871 *) ac_try_echo=$ac_try;;
4872 esac
4873 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4874 $as_echo "$ac_try_echo"; } >&5
4875 (eval "$ac_compile") 2>&5
4876 ac_status=$?
4877 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4878 test $ac_status = 0; }; then :
4879 for ac_file in conftest.o conftest.obj conftest.*; do
4880 test -f "$ac_file" || continue;
4881 case $ac_file in
4882 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4883 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4884 break;;
4885 esac
4886 done
4887 else
4888 $as_echo "$as_me: failed program was:" >&5
4889 sed 's/^/| /' conftest.$ac_ext >&5
4891 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4892 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4893 as_fn_error $? "cannot compute suffix of object files: cannot compile
4894 See \`config.log' for more details" "$LINENO" 5; }
4896 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4899 $as_echo "$ac_cv_objext" >&6; }
4900 OBJEXT=$ac_cv_objext
4901 ac_objext=$OBJEXT
4902 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4903 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4904 if ${ac_cv_c_compiler_gnu+:} false; then :
4905 $as_echo_n "(cached) " >&6
4906 else
4907 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4908 /* end confdefs.h. */
4911 main ()
4913 #ifndef __GNUC__
4914 choke me
4915 #endif
4918 return 0;
4920 _ACEOF
4921 if ac_fn_c_try_compile "$LINENO"; then :
4922 ac_compiler_gnu=yes
4923 else
4924 ac_compiler_gnu=no
4926 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4927 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4931 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4932 if test $ac_compiler_gnu = yes; then
4933 GCC=yes
4934 else
4935 GCC=
4937 ac_test_CFLAGS=${CFLAGS+set}
4938 ac_save_CFLAGS=$CFLAGS
4939 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4940 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4941 if ${ac_cv_prog_cc_g+:} false; then :
4942 $as_echo_n "(cached) " >&6
4943 else
4944 ac_save_c_werror_flag=$ac_c_werror_flag
4945 ac_c_werror_flag=yes
4946 ac_cv_prog_cc_g=no
4947 CFLAGS="-g"
4948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4949 /* end confdefs.h. */
4952 main ()
4956 return 0;
4958 _ACEOF
4959 if ac_fn_c_try_compile "$LINENO"; then :
4960 ac_cv_prog_cc_g=yes
4961 else
4962 CFLAGS=""
4963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4964 /* end confdefs.h. */
4967 main ()
4971 return 0;
4973 _ACEOF
4974 if ac_fn_c_try_compile "$LINENO"; then :
4976 else
4977 ac_c_werror_flag=$ac_save_c_werror_flag
4978 CFLAGS="-g"
4979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4980 /* end confdefs.h. */
4983 main ()
4987 return 0;
4989 _ACEOF
4990 if ac_fn_c_try_compile "$LINENO"; then :
4991 ac_cv_prog_cc_g=yes
4993 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4995 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4997 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4998 ac_c_werror_flag=$ac_save_c_werror_flag
5000 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
5001 $as_echo "$ac_cv_prog_cc_g" >&6; }
5002 if test "$ac_test_CFLAGS" = set; then
5003 CFLAGS=$ac_save_CFLAGS
5004 elif test $ac_cv_prog_cc_g = yes; then
5005 if test "$GCC" = yes; then
5006 CFLAGS="-g -O2"
5007 else
5008 CFLAGS="-g"
5010 else
5011 if test "$GCC" = yes; then
5012 CFLAGS="-O2"
5013 else
5014 CFLAGS=
5017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
5018 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
5019 if ${ac_cv_prog_cc_c89+:} false; then :
5020 $as_echo_n "(cached) " >&6
5021 else
5022 ac_cv_prog_cc_c89=no
5023 ac_save_CC=$CC
5024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5025 /* end confdefs.h. */
5026 #include <stdarg.h>
5027 #include <stdio.h>
5028 struct stat;
5029 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
5030 struct buf { int x; };
5031 FILE * (*rcsopen) (struct buf *, struct stat *, int);
5032 static char *e (p, i)
5033 char **p;
5034 int i;
5036 return p[i];
5038 static char *f (char * (*g) (char **, int), char **p, ...)
5040 char *s;
5041 va_list v;
5042 va_start (v,p);
5043 s = g (p, va_arg (v,int));
5044 va_end (v);
5045 return s;
5048 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
5049 function prototypes and stuff, but not '\xHH' hex character constants.
5050 These don't provoke an error unfortunately, instead are silently treated
5051 as 'x'. The following induces an error, until -std is added to get
5052 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
5053 array size at least. It's necessary to write '\x00'==0 to get something
5054 that's true only with -std. */
5055 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
5057 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
5058 inside strings and character constants. */
5059 #define FOO(x) 'x'
5060 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
5062 int test (int i, double x);
5063 struct s1 {int (*f) (int a);};
5064 struct s2 {int (*f) (double a);};
5065 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
5066 int argc;
5067 char **argv;
5069 main ()
5071 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
5073 return 0;
5075 _ACEOF
5076 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
5077 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
5079 CC="$ac_save_CC $ac_arg"
5080 if ac_fn_c_try_compile "$LINENO"; then :
5081 ac_cv_prog_cc_c89=$ac_arg
5083 rm -f core conftest.err conftest.$ac_objext
5084 test "x$ac_cv_prog_cc_c89" != "xno" && break
5085 done
5086 rm -f conftest.$ac_ext
5087 CC=$ac_save_CC
5090 # AC_CACHE_VAL
5091 case "x$ac_cv_prog_cc_c89" in
5093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
5094 $as_echo "none needed" >&6; } ;;
5095 xno)
5096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
5097 $as_echo "unsupported" >&6; } ;;
5099 CC="$CC $ac_cv_prog_cc_c89"
5100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
5101 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
5102 esac
5103 if test "x$ac_cv_prog_cc_c89" != xno; then :
5107 ac_ext=c
5108 ac_cpp='$CPP $CPPFLAGS'
5109 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5110 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5111 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5113 ac_ext=cpp
5114 ac_cpp='$CXXCPP $CPPFLAGS'
5115 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5116 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5117 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
5118 if test -z "$CXX"; then
5119 if test -n "$CCC"; then
5120 CXX=$CCC
5121 else
5122 if test -n "$ac_tool_prefix"; then
5123 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5125 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5126 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5128 $as_echo_n "checking for $ac_word... " >&6; }
5129 if ${ac_cv_prog_CXX+:} false; then :
5130 $as_echo_n "(cached) " >&6
5131 else
5132 if test -n "$CXX"; then
5133 ac_cv_prog_CXX="$CXX" # Let the user override the test.
5134 else
5135 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5136 for as_dir in $PATH
5138 IFS=$as_save_IFS
5139 test -z "$as_dir" && as_dir=.
5140 for ac_exec_ext in '' $ac_executable_extensions; do
5141 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5142 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
5143 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5144 break 2
5146 done
5147 done
5148 IFS=$as_save_IFS
5152 CXX=$ac_cv_prog_CXX
5153 if test -n "$CXX"; then
5154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
5155 $as_echo "$CXX" >&6; }
5156 else
5157 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5158 $as_echo "no" >&6; }
5162 test -n "$CXX" && break
5163 done
5165 if test -z "$CXX"; then
5166 ac_ct_CXX=$CXX
5167 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
5169 # Extract the first word of "$ac_prog", so it can be a program name with args.
5170 set dummy $ac_prog; ac_word=$2
5171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5172 $as_echo_n "checking for $ac_word... " >&6; }
5173 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
5174 $as_echo_n "(cached) " >&6
5175 else
5176 if test -n "$ac_ct_CXX"; then
5177 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
5178 else
5179 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5180 for as_dir in $PATH
5182 IFS=$as_save_IFS
5183 test -z "$as_dir" && as_dir=.
5184 for ac_exec_ext in '' $ac_executable_extensions; do
5185 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5186 ac_cv_prog_ac_ct_CXX="$ac_prog"
5187 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5188 break 2
5190 done
5191 done
5192 IFS=$as_save_IFS
5196 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
5197 if test -n "$ac_ct_CXX"; then
5198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
5199 $as_echo "$ac_ct_CXX" >&6; }
5200 else
5201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5202 $as_echo "no" >&6; }
5206 test -n "$ac_ct_CXX" && break
5207 done
5209 if test "x$ac_ct_CXX" = x; then
5210 CXX="g++"
5211 else
5212 case $cross_compiling:$ac_tool_warned in
5213 yes:)
5214 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5215 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5216 ac_tool_warned=yes ;;
5217 esac
5218 CXX=$ac_ct_CXX
5224 # Provide some information about the compiler.
5225 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
5226 set X $ac_compile
5227 ac_compiler=$2
5228 for ac_option in --version -v -V -qversion; do
5229 { { ac_try="$ac_compiler $ac_option >&5"
5230 case "(($ac_try" in
5231 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
5232 *) ac_try_echo=$ac_try;;
5233 esac
5234 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
5235 $as_echo "$ac_try_echo"; } >&5
5236 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
5237 ac_status=$?
5238 if test -s conftest.err; then
5239 sed '10a\
5240 ... rest of stderr output deleted ...
5241 10q' conftest.err >conftest.er1
5242 cat conftest.er1 >&5
5244 rm -f conftest.er1 conftest.err
5245 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
5246 test $ac_status = 0; }
5247 done
5249 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
5250 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
5251 if ${ac_cv_cxx_compiler_gnu+:} false; then :
5252 $as_echo_n "(cached) " >&6
5253 else
5254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5255 /* end confdefs.h. */
5258 main ()
5260 #ifndef __GNUC__
5261 choke me
5262 #endif
5265 return 0;
5267 _ACEOF
5268 if ac_fn_cxx_try_compile "$LINENO"; then :
5269 ac_compiler_gnu=yes
5270 else
5271 ac_compiler_gnu=no
5273 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5274 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
5277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
5278 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
5279 if test $ac_compiler_gnu = yes; then
5280 GXX=yes
5281 else
5282 GXX=
5284 ac_test_CXXFLAGS=${CXXFLAGS+set}
5285 ac_save_CXXFLAGS=$CXXFLAGS
5286 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
5287 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
5288 if ${ac_cv_prog_cxx_g+:} false; then :
5289 $as_echo_n "(cached) " >&6
5290 else
5291 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
5292 ac_cxx_werror_flag=yes
5293 ac_cv_prog_cxx_g=no
5294 CXXFLAGS="-g"
5295 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5296 /* end confdefs.h. */
5299 main ()
5303 return 0;
5305 _ACEOF
5306 if ac_fn_cxx_try_compile "$LINENO"; then :
5307 ac_cv_prog_cxx_g=yes
5308 else
5309 CXXFLAGS=""
5310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5311 /* end confdefs.h. */
5314 main ()
5318 return 0;
5320 _ACEOF
5321 if ac_fn_cxx_try_compile "$LINENO"; then :
5323 else
5324 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5325 CXXFLAGS="-g"
5326 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5327 /* end confdefs.h. */
5330 main ()
5334 return 0;
5336 _ACEOF
5337 if ac_fn_cxx_try_compile "$LINENO"; then :
5338 ac_cv_prog_cxx_g=yes
5340 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5342 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5344 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5345 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5347 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5348 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5349 if test "$ac_test_CXXFLAGS" = set; then
5350 CXXFLAGS=$ac_save_CXXFLAGS
5351 elif test $ac_cv_prog_cxx_g = yes; then
5352 if test "$GXX" = yes; then
5353 CXXFLAGS="-g -O2"
5354 else
5355 CXXFLAGS="-g"
5357 else
5358 if test "$GXX" = yes; then
5359 CXXFLAGS="-O2"
5360 else
5361 CXXFLAGS=
5364 ac_ext=c
5365 ac_cpp='$CPP $CPPFLAGS'
5366 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5367 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5368 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5370 if test -n "$ac_tool_prefix"; then
5371 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5372 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5373 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5374 $as_echo_n "checking for $ac_word... " >&6; }
5375 if ${ac_cv_prog_CPPBIN+:} false; then :
5376 $as_echo_n "(cached) " >&6
5377 else
5378 if test -n "$CPPBIN"; then
5379 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5380 else
5381 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5382 for as_dir in $PATH
5384 IFS=$as_save_IFS
5385 test -z "$as_dir" && as_dir=.
5386 for ac_exec_ext in '' $ac_executable_extensions; do
5387 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5388 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5389 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5390 break 2
5392 done
5393 done
5394 IFS=$as_save_IFS
5398 CPPBIN=$ac_cv_prog_CPPBIN
5399 if test -n "$CPPBIN"; then
5400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5401 $as_echo "$CPPBIN" >&6; }
5402 else
5403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5404 $as_echo "no" >&6; }
5409 if test -z "$ac_cv_prog_CPPBIN"; then
5410 ac_ct_CPPBIN=$CPPBIN
5411 # Extract the first word of "cpp", so it can be a program name with args.
5412 set dummy cpp; ac_word=$2
5413 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5414 $as_echo_n "checking for $ac_word... " >&6; }
5415 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
5416 $as_echo_n "(cached) " >&6
5417 else
5418 if test -n "$ac_ct_CPPBIN"; then
5419 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
5420 else
5421 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5422 for as_dir in $PATH
5424 IFS=$as_save_IFS
5425 test -z "$as_dir" && as_dir=.
5426 for ac_exec_ext in '' $ac_executable_extensions; do
5427 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5428 ac_cv_prog_ac_ct_CPPBIN="cpp"
5429 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5430 break 2
5432 done
5433 done
5434 IFS=$as_save_IFS
5438 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5439 if test -n "$ac_ct_CPPBIN"; then
5440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5441 $as_echo "$ac_ct_CPPBIN" >&6; }
5442 else
5443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5444 $as_echo "no" >&6; }
5447 if test "x$ac_ct_CPPBIN" = x; then
5448 CPPBIN="cpp"
5449 else
5450 case $cross_compiling:$ac_tool_warned in
5451 yes:)
5452 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5453 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5454 ac_tool_warned=yes ;;
5455 esac
5456 CPPBIN=$ac_ct_CPPBIN
5458 else
5459 CPPBIN="$ac_cv_prog_CPPBIN"
5463 cat >>confdefs.h <<_ACEOF
5464 #define EXEEXT "$ac_exeext"
5465 _ACEOF
5467 if test -n "$ac_tool_prefix"; then
5468 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5469 set dummy ${ac_tool_prefix}ld; ac_word=$2
5470 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5471 $as_echo_n "checking for $ac_word... " >&6; }
5472 if ${ac_cv_prog_LD+:} false; then :
5473 $as_echo_n "(cached) " >&6
5474 else
5475 if test -n "$LD"; then
5476 ac_cv_prog_LD="$LD" # Let the user override the test.
5477 else
5478 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5479 for as_dir in $PATH
5481 IFS=$as_save_IFS
5482 test -z "$as_dir" && as_dir=.
5483 for ac_exec_ext in '' $ac_executable_extensions; do
5484 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5485 ac_cv_prog_LD="${ac_tool_prefix}ld"
5486 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5487 break 2
5489 done
5490 done
5491 IFS=$as_save_IFS
5495 LD=$ac_cv_prog_LD
5496 if test -n "$LD"; then
5497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5498 $as_echo "$LD" >&6; }
5499 else
5500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5501 $as_echo "no" >&6; }
5506 if test -z "$ac_cv_prog_LD"; then
5507 ac_ct_LD=$LD
5508 # Extract the first word of "ld", so it can be a program name with args.
5509 set dummy ld; ac_word=$2
5510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5511 $as_echo_n "checking for $ac_word... " >&6; }
5512 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5513 $as_echo_n "(cached) " >&6
5514 else
5515 if test -n "$ac_ct_LD"; then
5516 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5517 else
5518 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5519 for as_dir in $PATH
5521 IFS=$as_save_IFS
5522 test -z "$as_dir" && as_dir=.
5523 for ac_exec_ext in '' $ac_executable_extensions; do
5524 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5525 ac_cv_prog_ac_ct_LD="ld"
5526 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5527 break 2
5529 done
5530 done
5531 IFS=$as_save_IFS
5535 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5536 if test -n "$ac_ct_LD"; then
5537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5538 $as_echo "$ac_ct_LD" >&6; }
5539 else
5540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5541 $as_echo "no" >&6; }
5544 if test "x$ac_ct_LD" = x; then
5545 LD=""
5546 else
5547 case $cross_compiling:$ac_tool_warned in
5548 yes:)
5549 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5550 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5551 ac_tool_warned=yes ;;
5552 esac
5553 LD=$ac_ct_LD
5555 else
5556 LD="$ac_cv_prog_LD"
5560 case $host in
5561 *-darwin*)
5562 with_fontconfig=${with_fontconfig:-no}
5564 *-mingw32*|*-cygwin*)
5565 enable_win16=${enable_win16:-no}
5566 with_mingw=${with_mingw:-no}
5567 CFLAGS="$CFLAGS -D_WIN32"
5569 esac
5571 case $host in
5572 x86_64*|amd64*)
5573 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5574 then
5575 CC="$CC -m32"
5576 CXX="$CXX -m32"
5578 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5579 $as_echo_n "checking whether $CC works... " >&6; }
5580 if ${wine_cv_cc_m32+:} false; then :
5581 $as_echo_n "(cached) " >&6
5582 else
5583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5584 /* end confdefs.h. */
5587 main ()
5591 return 0;
5593 _ACEOF
5594 if ac_fn_c_try_link "$LINENO"; then :
5595 wine_cv_cc_m32=yes
5596 else
5597 wine_cv_cc_m32=no
5599 rm -f core conftest.err conftest.$ac_objext \
5600 conftest$ac_exeext conftest.$ac_ext
5602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_cc_m32" >&5
5603 $as_echo "$wine_cv_cc_m32" >&6; }
5604 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
5605 host_cpu="i386"
5606 notice_platform="32-bit "
5607 TARGETFLAGS="-m32"
5609 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib32/pkgconfig:/usr/lib/pkgconfig}
5610 export PKG_CONFIG_PATH
5611 enable_win16=${enable_win16:-yes}
5612 with_unwind=${with_unwind:-no}
5613 else
5614 if test "x${GCC}" = "xyes"
5615 then
5616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5617 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5618 if ${wine_cv_builtin_ms_va_list+:} false; then :
5619 $as_echo_n "(cached) " >&6
5620 else
5621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5622 /* end confdefs.h. */
5623 #include <stdarg.h>
5625 main ()
5627 void func(__builtin_ms_va_list *args);
5629 return 0;
5631 _ACEOF
5632 if ac_fn_c_try_compile "$LINENO"; then :
5633 wine_cv_builtin_ms_va_list=yes
5634 else
5635 wine_cv_builtin_ms_va_list=no
5637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5640 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5641 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
5643 CC="$CC -m64"
5644 CXX="$CXX -m64"
5645 host_cpu="x86_64"
5646 notice_platform="64-bit "
5647 TARGETFLAGS="-m64"
5651 arm*)
5652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5653 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5654 if ${wine_cv_thumb+:} false; then :
5655 $as_echo_n "(cached) " >&6
5656 else
5657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5658 /* end confdefs.h. */
5659 int ac_test(int i) { return i; }
5661 main ()
5663 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5665 return 0;
5667 _ACEOF
5668 if ac_fn_c_try_link "$LINENO"; then :
5669 wine_cv_thumb=yes
5670 else
5671 wine_cv_thumb=no
5673 rm -f core conftest.err conftest.$ac_objext \
5674 conftest$ac_exeext conftest.$ac_ext
5676 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_thumb" >&5
5677 $as_echo "$wine_cv_thumb" >&6; }
5678 test $wine_cv_thumb != no || as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5679 case $with_float_abi in
5680 soft|softfp|hard)
5681 float_abi=$with_float_abi ;;
5683 case $host_os in
5684 *eabihf)
5685 float_abi=hard ;;
5687 float_abi=softfp
5688 saved_CFLAGS=$CFLAGS
5689 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
5691 $as_echo_n "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
5692 if ${wine_cv_float_abi+:} false; then :
5693 $as_echo_n "(cached) " >&6
5694 else
5695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5696 /* end confdefs.h. */
5699 main ()
5701 asm("vmrs r2,fpscr");
5703 return 0;
5705 _ACEOF
5706 if ac_fn_c_try_link "$LINENO"; then :
5707 wine_cv_float_abi=yes
5708 else
5709 wine_cv_float_abi=no
5711 rm -f core conftest.err conftest.$ac_objext \
5712 conftest$ac_exeext conftest.$ac_ext
5714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_float_abi" >&5
5715 $as_echo "$wine_cv_float_abi" >&6; }
5716 if test $wine_cv_float_abi = no
5717 then
5718 float_abi=soft
5719 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
5721 CFLAGS=$saved_CFLAGS
5722 esac
5724 esac
5725 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5726 TARGETFLAGS="-marm -mfloat-abi=$float_abi"
5729 aarch64*)
5730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5731 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5732 if ${wine_cv_builtin_ms_va_list+:} false; then :
5733 $as_echo_n "(cached) " >&6
5734 else
5735 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5736 /* end confdefs.h. */
5737 #include <stdarg.h>
5739 main ()
5741 void func(__builtin_ms_va_list *args);
5743 return 0;
5745 _ACEOF
5746 if ac_fn_c_try_compile "$LINENO"; then :
5747 wine_cv_builtin_ms_va_list=yes
5748 else
5749 wine_cv_builtin_ms_va_list=no
5751 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_builtin_ms_va_list" >&5
5754 $as_echo "$wine_cv_builtin_ms_va_list" >&6; }
5755 test $wine_cv_builtin_ms_va_list != no || as_fn_error $? "You need clang >= 5.0 to build Wine for arm64." "$LINENO" 5
5757 i[3456789]86*)
5758 enable_win16=${enable_win16:-yes}
5759 with_unwind=${with_unwind:-no}
5761 esac
5763 enable_win16=${enable_win16:-no}
5764 enable_win64=${enable_win64:-no}
5766 enable_winetest=${enable_winetest:-$enable_tests}
5768 if test "x$enable_win64" = "xyes"
5769 then
5770 test -z "$with_wine64" || as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5771 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5772 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5775 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5776 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5777 if ${wine_cv_toolsdir+:} false; then :
5778 $as_echo_n "(cached) " >&6
5779 else
5780 wine_cv_toolsdir="$with_wine_tools"
5781 if test -z "$with_wine_tools"; then
5782 if test "$cross_compiling" = "yes"; then
5783 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5784 elif test -n "$with_wine64"; then
5785 wine_cv_toolsdir="$with_wine64"
5789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5790 $as_echo "$wine_cv_toolsdir" >&6; }
5791 if test -z "$wine_cv_toolsdir"; then
5792 wine_makedep=tools/makedep
5793 TOOLSDIR="\$(top_builddir)"
5795 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5796 wine_makedep=$wine_cv_toolsdir/tools/makedep
5797 case "$wine_cv_toolsdir" in
5798 /*) TOOLSDIR=$wine_cv_toolsdir
5800 *) TOOLSDIR="\$(top_builddir)/$wine_cv_toolsdir"
5802 esac
5803 enable_tools=${enable_tools:-no}
5804 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5805 else
5806 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5808 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5809 then
5810 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5814 for ac_prog in flex
5816 # Extract the first word of "$ac_prog", so it can be a program name with args.
5817 set dummy $ac_prog; ac_word=$2
5818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5819 $as_echo_n "checking for $ac_word... " >&6; }
5820 if ${ac_cv_prog_FLEX+:} false; then :
5821 $as_echo_n "(cached) " >&6
5822 else
5823 if test -n "$FLEX"; then
5824 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5825 else
5826 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5827 for as_dir in $PATH
5829 IFS=$as_save_IFS
5830 test -z "$as_dir" && as_dir=.
5831 for ac_exec_ext in '' $ac_executable_extensions; do
5832 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5833 ac_cv_prog_FLEX="$ac_prog"
5834 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5835 break 2
5837 done
5838 done
5839 IFS=$as_save_IFS
5843 FLEX=$ac_cv_prog_FLEX
5844 if test -n "$FLEX"; then
5845 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5846 $as_echo "$FLEX" >&6; }
5847 else
5848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5849 $as_echo "no" >&6; }
5853 test -n "$FLEX" && break
5854 done
5855 test -n "$FLEX" || FLEX="none"
5857 if test "$FLEX" = "none"
5858 then
5859 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5861 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5862 $as_echo_n "checking whether flex is recent enough... " >&6; }
5863 if ${wine_cv_recent_flex+:} false; then :
5864 $as_echo_n "(cached) " >&6
5865 else
5866 cat >conftest.l <<EOF
5867 %top{
5868 #include "prediluvian.h"
5872 if $FLEX -t conftest.l >/dev/null 2>&5
5873 then
5874 wine_cv_recent_flex=yes
5875 else
5876 wine_cv_recent_flex=no
5879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_flex" >&5
5880 $as_echo "$wine_cv_recent_flex" >&6; }
5881 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
5883 for ac_prog in bison
5885 # Extract the first word of "$ac_prog", so it can be a program name with args.
5886 set dummy $ac_prog; ac_word=$2
5887 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5888 $as_echo_n "checking for $ac_word... " >&6; }
5889 if ${ac_cv_prog_BISON+:} false; then :
5890 $as_echo_n "(cached) " >&6
5891 else
5892 if test -n "$BISON"; then
5893 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5894 else
5895 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5896 for as_dir in $PATH
5898 IFS=$as_save_IFS
5899 test -z "$as_dir" && as_dir=.
5900 for ac_exec_ext in '' $ac_executable_extensions; do
5901 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5902 ac_cv_prog_BISON="$ac_prog"
5903 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5904 break 2
5906 done
5907 done
5908 IFS=$as_save_IFS
5912 BISON=$ac_cv_prog_BISON
5913 if test -n "$BISON"; then
5914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5915 $as_echo "$BISON" >&6; }
5916 else
5917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5918 $as_echo "no" >&6; }
5922 test -n "$BISON" && break
5923 done
5924 test -n "$BISON" || BISON="none"
5926 if test "$BISON" = "none"
5927 then
5928 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5930 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether bison is recent enough" >&5
5931 $as_echo_n "checking whether bison is recent enough... " >&6; }
5932 if ${wine_cv_recent_bison+:} false; then :
5933 $as_echo_n "(cached) " >&6
5934 else
5935 cat >conftest.y <<EOF
5936 %define parse.error verbose
5938 empty: ;
5940 if $BISON conftest.y >/dev/null 2>&5
5941 then
5942 wine_cv_recent_bison=yes
5943 else
5944 wine_cv_recent_bison=no
5947 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_recent_bison" >&5
5948 $as_echo "$wine_cv_recent_bison" >&6; }
5949 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
5951 if test -n "$ac_tool_prefix"; then
5952 for ac_prog in ar gar
5954 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5955 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5957 $as_echo_n "checking for $ac_word... " >&6; }
5958 if ${ac_cv_prog_AR+:} false; then :
5959 $as_echo_n "(cached) " >&6
5960 else
5961 if test -n "$AR"; then
5962 ac_cv_prog_AR="$AR" # Let the user override the test.
5963 else
5964 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5965 for as_dir in $PATH
5967 IFS=$as_save_IFS
5968 test -z "$as_dir" && as_dir=.
5969 for ac_exec_ext in '' $ac_executable_extensions; do
5970 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5971 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5972 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5973 break 2
5975 done
5976 done
5977 IFS=$as_save_IFS
5981 AR=$ac_cv_prog_AR
5982 if test -n "$AR"; then
5983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5984 $as_echo "$AR" >&6; }
5985 else
5986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5987 $as_echo "no" >&6; }
5991 test -n "$AR" && break
5992 done
5994 if test -z "$AR"; then
5995 ac_ct_AR=$AR
5996 for ac_prog in ar gar
5998 # Extract the first word of "$ac_prog", so it can be a program name with args.
5999 set dummy $ac_prog; ac_word=$2
6000 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6001 $as_echo_n "checking for $ac_word... " >&6; }
6002 if ${ac_cv_prog_ac_ct_AR+:} false; then :
6003 $as_echo_n "(cached) " >&6
6004 else
6005 if test -n "$ac_ct_AR"; then
6006 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
6007 else
6008 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6009 for as_dir in $PATH
6011 IFS=$as_save_IFS
6012 test -z "$as_dir" && as_dir=.
6013 for ac_exec_ext in '' $ac_executable_extensions; do
6014 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6015 ac_cv_prog_ac_ct_AR="$ac_prog"
6016 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6017 break 2
6019 done
6020 done
6021 IFS=$as_save_IFS
6025 ac_ct_AR=$ac_cv_prog_ac_ct_AR
6026 if test -n "$ac_ct_AR"; then
6027 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
6028 $as_echo "$ac_ct_AR" >&6; }
6029 else
6030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6031 $as_echo "no" >&6; }
6035 test -n "$ac_ct_AR" && break
6036 done
6038 if test "x$ac_ct_AR" = x; then
6039 AR="ar"
6040 else
6041 case $cross_compiling:$ac_tool_warned in
6042 yes:)
6043 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6044 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6045 ac_tool_warned=yes ;;
6046 esac
6047 AR=$ac_ct_AR
6051 if test -n "$ac_tool_prefix"; then
6052 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
6053 set dummy ${ac_tool_prefix}strip; ac_word=$2
6054 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6055 $as_echo_n "checking for $ac_word... " >&6; }
6056 if ${ac_cv_prog_STRIP+:} false; then :
6057 $as_echo_n "(cached) " >&6
6058 else
6059 if test -n "$STRIP"; then
6060 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
6061 else
6062 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6063 for as_dir in $PATH
6065 IFS=$as_save_IFS
6066 test -z "$as_dir" && as_dir=.
6067 for ac_exec_ext in '' $ac_executable_extensions; do
6068 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6069 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
6070 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6071 break 2
6073 done
6074 done
6075 IFS=$as_save_IFS
6079 STRIP=$ac_cv_prog_STRIP
6080 if test -n "$STRIP"; then
6081 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
6082 $as_echo "$STRIP" >&6; }
6083 else
6084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6085 $as_echo "no" >&6; }
6090 if test -z "$ac_cv_prog_STRIP"; then
6091 ac_ct_STRIP=$STRIP
6092 # Extract the first word of "strip", so it can be a program name with args.
6093 set dummy strip; ac_word=$2
6094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6095 $as_echo_n "checking for $ac_word... " >&6; }
6096 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
6097 $as_echo_n "(cached) " >&6
6098 else
6099 if test -n "$ac_ct_STRIP"; then
6100 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
6101 else
6102 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6103 for as_dir in $PATH
6105 IFS=$as_save_IFS
6106 test -z "$as_dir" && as_dir=.
6107 for ac_exec_ext in '' $ac_executable_extensions; do
6108 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6109 ac_cv_prog_ac_ct_STRIP="strip"
6110 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6111 break 2
6113 done
6114 done
6115 IFS=$as_save_IFS
6119 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
6120 if test -n "$ac_ct_STRIP"; then
6121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
6122 $as_echo "$ac_ct_STRIP" >&6; }
6123 else
6124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6125 $as_echo "no" >&6; }
6128 if test "x$ac_ct_STRIP" = x; then
6129 STRIP="strip"
6130 else
6131 case $cross_compiling:$ac_tool_warned in
6132 yes:)
6133 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6134 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6135 ac_tool_warned=yes ;;
6136 esac
6137 STRIP=$ac_ct_STRIP
6139 else
6140 STRIP="$ac_cv_prog_STRIP"
6143 if test -n "$ac_tool_prefix"; then
6144 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
6145 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
6146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6147 $as_echo_n "checking for $ac_word... " >&6; }
6148 if ${ac_cv_prog_RANLIB+:} false; then :
6149 $as_echo_n "(cached) " >&6
6150 else
6151 if test -n "$RANLIB"; then
6152 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
6153 else
6154 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6155 for as_dir in $PATH
6157 IFS=$as_save_IFS
6158 test -z "$as_dir" && as_dir=.
6159 for ac_exec_ext in '' $ac_executable_extensions; do
6160 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6161 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
6162 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6163 break 2
6165 done
6166 done
6167 IFS=$as_save_IFS
6171 RANLIB=$ac_cv_prog_RANLIB
6172 if test -n "$RANLIB"; then
6173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
6174 $as_echo "$RANLIB" >&6; }
6175 else
6176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6177 $as_echo "no" >&6; }
6182 if test -z "$ac_cv_prog_RANLIB"; then
6183 ac_ct_RANLIB=$RANLIB
6184 # Extract the first word of "ranlib", so it can be a program name with args.
6185 set dummy ranlib; ac_word=$2
6186 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6187 $as_echo_n "checking for $ac_word... " >&6; }
6188 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
6189 $as_echo_n "(cached) " >&6
6190 else
6191 if test -n "$ac_ct_RANLIB"; then
6192 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
6193 else
6194 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6195 for as_dir in $PATH
6197 IFS=$as_save_IFS
6198 test -z "$as_dir" && as_dir=.
6199 for ac_exec_ext in '' $ac_executable_extensions; do
6200 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6201 ac_cv_prog_ac_ct_RANLIB="ranlib"
6202 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6203 break 2
6205 done
6206 done
6207 IFS=$as_save_IFS
6211 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
6212 if test -n "$ac_ct_RANLIB"; then
6213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
6214 $as_echo "$ac_ct_RANLIB" >&6; }
6215 else
6216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6217 $as_echo "no" >&6; }
6220 if test "x$ac_ct_RANLIB" = x; then
6221 RANLIB=":"
6222 else
6223 case $cross_compiling:$ac_tool_warned in
6224 yes:)
6225 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
6226 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
6227 ac_tool_warned=yes ;;
6228 esac
6229 RANLIB=$ac_ct_RANLIB
6231 else
6232 RANLIB="$ac_cv_prog_RANLIB"
6235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
6236 $as_echo_n "checking whether ln -s works... " >&6; }
6237 LN_S=$as_ln_s
6238 if test "$LN_S" = "ln -s"; then
6239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6240 $as_echo "yes" >&6; }
6241 else
6242 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
6243 $as_echo "no, using $LN_S" >&6; }
6246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
6247 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
6248 if ${ac_cv_path_GREP+:} false; then :
6249 $as_echo_n "(cached) " >&6
6250 else
6251 if test -z "$GREP"; then
6252 ac_path_GREP_found=false
6253 # Loop through the user's path and test for each of PROGNAME-LIST
6254 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6255 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6257 IFS=$as_save_IFS
6258 test -z "$as_dir" && as_dir=.
6259 for ac_prog in grep ggrep; do
6260 for ac_exec_ext in '' $ac_executable_extensions; do
6261 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
6262 as_fn_executable_p "$ac_path_GREP" || continue
6263 # Check for GNU ac_path_GREP and select it if it is found.
6264 # Check for GNU $ac_path_GREP
6265 case `"$ac_path_GREP" --version 2>&1` in
6266 *GNU*)
6267 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
6269 ac_count=0
6270 $as_echo_n 0123456789 >"conftest.in"
6271 while :
6273 cat "conftest.in" "conftest.in" >"conftest.tmp"
6274 mv "conftest.tmp" "conftest.in"
6275 cp "conftest.in" "conftest.nl"
6276 $as_echo 'GREP' >> "conftest.nl"
6277 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6278 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6279 as_fn_arith $ac_count + 1 && ac_count=$as_val
6280 if test $ac_count -gt ${ac_path_GREP_max-0}; then
6281 # Best one so far, save it but keep looking for a better one
6282 ac_cv_path_GREP="$ac_path_GREP"
6283 ac_path_GREP_max=$ac_count
6285 # 10*(2^10) chars as input seems more than enough
6286 test $ac_count -gt 10 && break
6287 done
6288 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6289 esac
6291 $ac_path_GREP_found && break 3
6292 done
6293 done
6294 done
6295 IFS=$as_save_IFS
6296 if test -z "$ac_cv_path_GREP"; then
6297 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6299 else
6300 ac_cv_path_GREP=$GREP
6304 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
6305 $as_echo "$ac_cv_path_GREP" >&6; }
6306 GREP="$ac_cv_path_GREP"
6309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
6310 $as_echo_n "checking for egrep... " >&6; }
6311 if ${ac_cv_path_EGREP+:} false; then :
6312 $as_echo_n "(cached) " >&6
6313 else
6314 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
6315 then ac_cv_path_EGREP="$GREP -E"
6316 else
6317 if test -z "$EGREP"; then
6318 ac_path_EGREP_found=false
6319 # Loop through the user's path and test for each of PROGNAME-LIST
6320 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6321 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
6323 IFS=$as_save_IFS
6324 test -z "$as_dir" && as_dir=.
6325 for ac_prog in egrep; do
6326 for ac_exec_ext in '' $ac_executable_extensions; do
6327 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
6328 as_fn_executable_p "$ac_path_EGREP" || continue
6329 # Check for GNU ac_path_EGREP and select it if it is found.
6330 # Check for GNU $ac_path_EGREP
6331 case `"$ac_path_EGREP" --version 2>&1` in
6332 *GNU*)
6333 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
6335 ac_count=0
6336 $as_echo_n 0123456789 >"conftest.in"
6337 while :
6339 cat "conftest.in" "conftest.in" >"conftest.tmp"
6340 mv "conftest.tmp" "conftest.in"
6341 cp "conftest.in" "conftest.nl"
6342 $as_echo 'EGREP' >> "conftest.nl"
6343 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
6344 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
6345 as_fn_arith $ac_count + 1 && ac_count=$as_val
6346 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
6347 # Best one so far, save it but keep looking for a better one
6348 ac_cv_path_EGREP="$ac_path_EGREP"
6349 ac_path_EGREP_max=$ac_count
6351 # 10*(2^10) chars as input seems more than enough
6352 test $ac_count -gt 10 && break
6353 done
6354 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
6355 esac
6357 $ac_path_EGREP_found && break 3
6358 done
6359 done
6360 done
6361 IFS=$as_save_IFS
6362 if test -z "$ac_cv_path_EGREP"; then
6363 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6365 else
6366 ac_cv_path_EGREP=$EGREP
6371 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6372 $as_echo "$ac_cv_path_EGREP" >&6; }
6373 EGREP="$ac_cv_path_EGREP"
6376 # Extract the first word of "ldconfig", so it can be a program name with args.
6377 set dummy ldconfig; ac_word=$2
6378 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6379 $as_echo_n "checking for $ac_word... " >&6; }
6380 if ${ac_cv_path_LDCONFIG+:} false; then :
6381 $as_echo_n "(cached) " >&6
6382 else
6383 case $LDCONFIG in
6384 [\\/]* | ?:[\\/]*)
6385 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6388 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6389 for as_dir in /sbin /usr/sbin $PATH
6391 IFS=$as_save_IFS
6392 test -z "$as_dir" && as_dir=.
6393 for ac_exec_ext in '' $ac_executable_extensions; do
6394 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6395 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6396 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6397 break 2
6399 done
6400 done
6401 IFS=$as_save_IFS
6403 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6405 esac
6407 LDCONFIG=$ac_cv_path_LDCONFIG
6408 if test -n "$LDCONFIG"; then
6409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
6410 $as_echo "$LDCONFIG" >&6; }
6411 else
6412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6413 $as_echo "no" >&6; }
6417 for ac_prog in msgfmt
6419 # Extract the first word of "$ac_prog", so it can be a program name with args.
6420 set dummy $ac_prog; ac_word=$2
6421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6422 $as_echo_n "checking for $ac_word... " >&6; }
6423 if ${ac_cv_prog_MSGFMT+:} false; then :
6424 $as_echo_n "(cached) " >&6
6425 else
6426 if test -n "$MSGFMT"; then
6427 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
6428 else
6429 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6430 for as_dir in $PATH
6432 IFS=$as_save_IFS
6433 test -z "$as_dir" && as_dir=.
6434 for ac_exec_ext in '' $ac_executable_extensions; do
6435 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6436 ac_cv_prog_MSGFMT="$ac_prog"
6437 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6438 break 2
6440 done
6441 done
6442 IFS=$as_save_IFS
6446 MSGFMT=$ac_cv_prog_MSGFMT
6447 if test -n "$MSGFMT"; then
6448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6449 $as_echo "$MSGFMT" >&6; }
6450 else
6451 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6452 $as_echo "no" >&6; }
6456 test -n "$MSGFMT" && break
6457 done
6458 test -n "$MSGFMT" || MSGFMT="false"
6460 if ${ac_tool_prefix+:} false; then :
6461 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6462 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6463 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6464 $as_echo_n "checking for $ac_word... " >&6; }
6465 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6466 $as_echo_n "(cached) " >&6
6467 else
6468 if test -n "$PKG_CONFIG"; then
6469 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6470 else
6471 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6472 for as_dir in $PATH
6474 IFS=$as_save_IFS
6475 test -z "$as_dir" && as_dir=.
6476 for ac_exec_ext in '' $ac_executable_extensions; do
6477 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6478 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
6479 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6480 break 2
6482 done
6483 done
6484 IFS=$as_save_IFS
6488 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6489 if test -n "$PKG_CONFIG"; then
6490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6491 $as_echo "$PKG_CONFIG" >&6; }
6492 else
6493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6494 $as_echo "no" >&6; }
6499 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
6500 if test "x$cross_compiling" = xyes; then :
6502 else
6503 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
6504 # Extract the first word of "pkg-config", so it can be a program name with args.
6505 set dummy pkg-config; ac_word=$2
6506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6507 $as_echo_n "checking for $ac_word... " >&6; }
6508 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6509 $as_echo_n "(cached) " >&6
6510 else
6511 if test -n "$PKG_CONFIG"; then
6512 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6513 else
6514 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6515 for as_dir in $PATH
6517 IFS=$as_save_IFS
6518 test -z "$as_dir" && as_dir=.
6519 for ac_exec_ext in '' $ac_executable_extensions; do
6520 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6521 ac_cv_prog_PKG_CONFIG="pkg-config"
6522 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6523 break 2
6525 done
6526 done
6527 IFS=$as_save_IFS
6531 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6532 if test -n "$PKG_CONFIG"; then
6533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6534 $as_echo "$PKG_CONFIG" >&6; }
6535 else
6536 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6537 $as_echo "no" >&6; }
6542 else
6543 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6546 if test "x$enable_maintainer_mode" != "xyes"
6547 then
6548 FONTFORGE=""
6549 RSVG=""
6550 CONVERT=""
6551 ICOTOOL=""
6552 else
6553 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6554 for ac_prog in fontforge
6556 # Extract the first word of "$ac_prog", so it can be a program name with args.
6557 set dummy $ac_prog; ac_word=$2
6558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6559 $as_echo_n "checking for $ac_word... " >&6; }
6560 if ${ac_cv_prog_FONTFORGE+:} false; then :
6561 $as_echo_n "(cached) " >&6
6562 else
6563 if test -n "$FONTFORGE"; then
6564 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6565 else
6566 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6567 for as_dir in $PATH
6569 IFS=$as_save_IFS
6570 test -z "$as_dir" && as_dir=.
6571 for ac_exec_ext in '' $ac_executable_extensions; do
6572 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6573 ac_cv_prog_FONTFORGE="$ac_prog"
6574 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6575 break 2
6577 done
6578 done
6579 IFS=$as_save_IFS
6583 FONTFORGE=$ac_cv_prog_FONTFORGE
6584 if test -n "$FONTFORGE"; then
6585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6586 $as_echo "$FONTFORGE" >&6; }
6587 else
6588 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6589 $as_echo "no" >&6; }
6593 test -n "$FONTFORGE" && break
6594 done
6595 test -n "$FONTFORGE" || FONTFORGE="false"
6597 for ac_prog in rsvg-convert rsvg
6599 # Extract the first word of "$ac_prog", so it can be a program name with args.
6600 set dummy $ac_prog; ac_word=$2
6601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6602 $as_echo_n "checking for $ac_word... " >&6; }
6603 if ${ac_cv_prog_RSVG+:} false; then :
6604 $as_echo_n "(cached) " >&6
6605 else
6606 if test -n "$RSVG"; then
6607 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6608 else
6609 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6610 for as_dir in $PATH
6612 IFS=$as_save_IFS
6613 test -z "$as_dir" && as_dir=.
6614 for ac_exec_ext in '' $ac_executable_extensions; do
6615 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6616 ac_cv_prog_RSVG="$ac_prog"
6617 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6618 break 2
6620 done
6621 done
6622 IFS=$as_save_IFS
6626 RSVG=$ac_cv_prog_RSVG
6627 if test -n "$RSVG"; then
6628 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6629 $as_echo "$RSVG" >&6; }
6630 else
6631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6632 $as_echo "no" >&6; }
6636 test -n "$RSVG" && break
6637 done
6638 test -n "$RSVG" || RSVG="false"
6640 for ac_prog in convert
6642 # Extract the first word of "$ac_prog", so it can be a program name with args.
6643 set dummy $ac_prog; ac_word=$2
6644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6645 $as_echo_n "checking for $ac_word... " >&6; }
6646 if ${ac_cv_prog_CONVERT+:} false; then :
6647 $as_echo_n "(cached) " >&6
6648 else
6649 if test -n "$CONVERT"; then
6650 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6651 else
6652 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6653 for as_dir in $PATH
6655 IFS=$as_save_IFS
6656 test -z "$as_dir" && as_dir=.
6657 for ac_exec_ext in '' $ac_executable_extensions; do
6658 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6659 ac_cv_prog_CONVERT="$ac_prog"
6660 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6661 break 2
6663 done
6664 done
6665 IFS=$as_save_IFS
6669 CONVERT=$ac_cv_prog_CONVERT
6670 if test -n "$CONVERT"; then
6671 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6672 $as_echo "$CONVERT" >&6; }
6673 else
6674 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6675 $as_echo "no" >&6; }
6679 test -n "$CONVERT" && break
6680 done
6681 test -n "$CONVERT" || CONVERT="false"
6683 for ac_prog in icotool
6685 # Extract the first word of "$ac_prog", so it can be a program name with args.
6686 set dummy $ac_prog; ac_word=$2
6687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6688 $as_echo_n "checking for $ac_word... " >&6; }
6689 if ${ac_cv_prog_ICOTOOL+:} false; then :
6690 $as_echo_n "(cached) " >&6
6691 else
6692 if test -n "$ICOTOOL"; then
6693 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6694 else
6695 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6696 for as_dir in $PATH
6698 IFS=$as_save_IFS
6699 test -z "$as_dir" && as_dir=.
6700 for ac_exec_ext in '' $ac_executable_extensions; do
6701 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6702 ac_cv_prog_ICOTOOL="$ac_prog"
6703 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6704 break 2
6706 done
6707 done
6708 IFS=$as_save_IFS
6712 ICOTOOL=$ac_cv_prog_ICOTOOL
6713 if test -n "$ICOTOOL"; then
6714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6715 $as_echo "$ICOTOOL" >&6; }
6716 else
6717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6718 $as_echo "no" >&6; }
6722 test -n "$ICOTOOL" && break
6723 done
6724 test -n "$ICOTOOL" || ICOTOOL="false"
6726 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6727 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6729 if test "$CONVERT" = false
6730 then
6731 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6732 else
6733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6734 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6735 convert_version=`convert --version | head -n1`
6736 if test "x$convert_version" != "x"
6737 then
6738 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6739 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6740 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6741 then
6742 CONVERT=false
6745 if test "$CONVERT" = false
6746 then
6747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6748 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6749 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6750 else
6751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6752 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6756 if test "$ICOTOOL" = false
6757 then
6758 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6759 else
6760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6761 $as_echo_n "checking for recent enough icotool... " >&6; }
6762 icotool_version=`icotool --version | head -n1`
6763 if test "x$icotool_version" != "x"
6764 then
6765 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6766 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6767 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6768 then
6769 ICOTOOL=false
6770 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6773 if test "$ICOTOOL" = false
6774 then
6775 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6776 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6777 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6778 else
6779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6780 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6784 with_gettext=yes
6785 with_gettextpo=yes
6788 test "x$with_gettext" != xno || MSGFMT=false
6789 if test "$MSGFMT" != "false"
6790 then
6791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6792 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6793 if ${wine_cv_msgfmt_contexts+:} false; then :
6794 $as_echo_n "(cached) " >&6
6795 else
6796 cat >conftest.po <<EOF
6797 # comment
6798 msgctxt "ctxt"
6799 msgid "id"
6800 msgstr "str"
6802 if $MSGFMT -o /dev/null conftest.po 2>&5
6803 then
6804 wine_cv_msgfmt_contexts=yes
6805 else
6806 wine_cv_msgfmt_contexts=no
6809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_msgfmt_contexts" >&5
6810 $as_echo "$wine_cv_msgfmt_contexts" >&6; }
6811 test $wine_cv_msgfmt_contexts != no || MSGFMT=false
6813 if test "$MSGFMT" = false; then :
6814 case "x$with_gettext" in
6815 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6816 xno) ;;
6817 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6818 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6819 esac
6820 enable_po=${enable_po:-no}
6824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6825 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6826 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6827 $as_echo_n "(cached) " >&6
6828 else
6829 ac_check_lib_save_LIBS=$LIBS
6830 LIBS="-li386 $LIBS"
6831 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6832 /* end confdefs.h. */
6834 /* Override any GCC internal prototype to avoid an error.
6835 Use char because int might match the return type of a GCC
6836 builtin and then its argument prototype would still apply. */
6837 #ifdef __cplusplus
6838 extern "C"
6839 #endif
6840 char i386_set_ldt ();
6842 main ()
6844 return i386_set_ldt ();
6846 return 0;
6848 _ACEOF
6849 if ac_fn_c_try_link "$LINENO"; then :
6850 ac_cv_lib_i386_i386_set_ldt=yes
6851 else
6852 ac_cv_lib_i386_i386_set_ldt=no
6854 rm -f core conftest.err conftest.$ac_objext \
6855 conftest$ac_exeext conftest.$ac_ext
6856 LIBS=$ac_check_lib_save_LIBS
6858 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6859 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6860 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6861 I386_LIBS="-li386"
6866 OPENGL_LIBS=""
6870 # Check whether --enable-largefile was given.
6871 if test "${enable_largefile+set}" = set; then :
6872 enableval=$enable_largefile;
6875 if test "$enable_largefile" != no; then
6877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6878 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6879 if ${ac_cv_sys_largefile_CC+:} false; then :
6880 $as_echo_n "(cached) " >&6
6881 else
6882 ac_cv_sys_largefile_CC=no
6883 if test "$GCC" != yes; then
6884 ac_save_CC=$CC
6885 while :; do
6886 # IRIX 6.2 and later do not support large files by default,
6887 # so use the C compiler's -n32 option if that helps.
6888 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6889 /* end confdefs.h. */
6890 #include <sys/types.h>
6891 /* Check that off_t can represent 2**63 - 1 correctly.
6892 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6893 since some C++ compilers masquerading as C compilers
6894 incorrectly reject 9223372036854775807. */
6895 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6896 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6897 && LARGE_OFF_T % 2147483647 == 1)
6898 ? 1 : -1];
6900 main ()
6904 return 0;
6906 _ACEOF
6907 if ac_fn_c_try_compile "$LINENO"; then :
6908 break
6910 rm -f core conftest.err conftest.$ac_objext
6911 CC="$CC -n32"
6912 if ac_fn_c_try_compile "$LINENO"; then :
6913 ac_cv_sys_largefile_CC=' -n32'; break
6915 rm -f core conftest.err conftest.$ac_objext
6916 break
6917 done
6918 CC=$ac_save_CC
6919 rm -f conftest.$ac_ext
6922 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6923 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6924 if test "$ac_cv_sys_largefile_CC" != no; then
6925 CC=$CC$ac_cv_sys_largefile_CC
6928 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6929 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6930 if ${ac_cv_sys_file_offset_bits+:} false; then :
6931 $as_echo_n "(cached) " >&6
6932 else
6933 while :; do
6934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6935 /* end confdefs.h. */
6936 #include <sys/types.h>
6937 /* Check that off_t can represent 2**63 - 1 correctly.
6938 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6939 since some C++ compilers masquerading as C compilers
6940 incorrectly reject 9223372036854775807. */
6941 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6942 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6943 && LARGE_OFF_T % 2147483647 == 1)
6944 ? 1 : -1];
6946 main ()
6950 return 0;
6952 _ACEOF
6953 if ac_fn_c_try_compile "$LINENO"; then :
6954 ac_cv_sys_file_offset_bits=no; break
6956 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6958 /* end confdefs.h. */
6959 #define _FILE_OFFSET_BITS 64
6960 #include <sys/types.h>
6961 /* Check that off_t can represent 2**63 - 1 correctly.
6962 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6963 since some C++ compilers masquerading as C compilers
6964 incorrectly reject 9223372036854775807. */
6965 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6966 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6967 && LARGE_OFF_T % 2147483647 == 1)
6968 ? 1 : -1];
6970 main ()
6974 return 0;
6976 _ACEOF
6977 if ac_fn_c_try_compile "$LINENO"; then :
6978 ac_cv_sys_file_offset_bits=64; break
6980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6981 ac_cv_sys_file_offset_bits=unknown
6982 break
6983 done
6985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6986 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6987 case $ac_cv_sys_file_offset_bits in #(
6988 no | unknown) ;;
6990 cat >>confdefs.h <<_ACEOF
6991 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6992 _ACEOF
6994 esac
6995 rm -rf conftest*
6996 if test $ac_cv_sys_file_offset_bits = unknown; then
6997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6998 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6999 if ${ac_cv_sys_large_files+:} false; then :
7000 $as_echo_n "(cached) " >&6
7001 else
7002 while :; do
7003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7004 /* end confdefs.h. */
7005 #include <sys/types.h>
7006 /* Check that off_t can represent 2**63 - 1 correctly.
7007 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7008 since some C++ compilers masquerading as C compilers
7009 incorrectly reject 9223372036854775807. */
7010 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7011 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7012 && LARGE_OFF_T % 2147483647 == 1)
7013 ? 1 : -1];
7015 main ()
7019 return 0;
7021 _ACEOF
7022 if ac_fn_c_try_compile "$LINENO"; then :
7023 ac_cv_sys_large_files=no; break
7025 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7027 /* end confdefs.h. */
7028 #define _LARGE_FILES 1
7029 #include <sys/types.h>
7030 /* Check that off_t can represent 2**63 - 1 correctly.
7031 We can't simply define LARGE_OFF_T to be 9223372036854775807,
7032 since some C++ compilers masquerading as C compilers
7033 incorrectly reject 9223372036854775807. */
7034 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
7035 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
7036 && LARGE_OFF_T % 2147483647 == 1)
7037 ? 1 : -1];
7039 main ()
7043 return 0;
7045 _ACEOF
7046 if ac_fn_c_try_compile "$LINENO"; then :
7047 ac_cv_sys_large_files=1; break
7049 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7050 ac_cv_sys_large_files=unknown
7051 break
7052 done
7054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
7055 $as_echo "$ac_cv_sys_large_files" >&6; }
7056 case $ac_cv_sys_large_files in #(
7057 no | unknown) ;;
7059 cat >>confdefs.h <<_ACEOF
7060 #define _LARGE_FILES $ac_cv_sys_large_files
7061 _ACEOF
7063 esac
7064 rm -rf conftest*
7071 ac_ext=c
7072 ac_cpp='$CPP $CPPFLAGS'
7073 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7074 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7075 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
7077 $as_echo_n "checking how to run the C preprocessor... " >&6; }
7078 # On Suns, sometimes $CPP names a directory.
7079 if test -n "$CPP" && test -d "$CPP"; then
7080 CPP=
7082 if test -z "$CPP"; then
7083 if ${ac_cv_prog_CPP+:} false; then :
7084 $as_echo_n "(cached) " >&6
7085 else
7086 # Double quotes because CPP needs to be expanded
7087 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
7089 ac_preproc_ok=false
7090 for ac_c_preproc_warn_flag in '' yes
7092 # Use a header file that comes with gcc, so configuring glibc
7093 # with a fresh cross-compiler works.
7094 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7095 # <limits.h> exists even on freestanding compilers.
7096 # On the NeXT, cc -E runs the code through the compiler's parser,
7097 # not just through cpp. "Syntax error" is here to catch this case.
7098 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7099 /* end confdefs.h. */
7100 #ifdef __STDC__
7101 # include <limits.h>
7102 #else
7103 # include <assert.h>
7104 #endif
7105 Syntax error
7106 _ACEOF
7107 if ac_fn_c_try_cpp "$LINENO"; then :
7109 else
7110 # Broken: fails on valid input.
7111 continue
7113 rm -f conftest.err conftest.i conftest.$ac_ext
7115 # OK, works on sane cases. Now check whether nonexistent headers
7116 # can be detected and how.
7117 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7118 /* end confdefs.h. */
7119 #include <ac_nonexistent.h>
7120 _ACEOF
7121 if ac_fn_c_try_cpp "$LINENO"; then :
7122 # Broken: success on invalid input.
7123 continue
7124 else
7125 # Passes both tests.
7126 ac_preproc_ok=:
7127 break
7129 rm -f conftest.err conftest.i conftest.$ac_ext
7131 done
7132 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7133 rm -f conftest.i conftest.err conftest.$ac_ext
7134 if $ac_preproc_ok; then :
7135 break
7138 done
7139 ac_cv_prog_CPP=$CPP
7142 CPP=$ac_cv_prog_CPP
7143 else
7144 ac_cv_prog_CPP=$CPP
7146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
7147 $as_echo "$CPP" >&6; }
7148 ac_preproc_ok=false
7149 for ac_c_preproc_warn_flag in '' yes
7151 # Use a header file that comes with gcc, so configuring glibc
7152 # with a fresh cross-compiler works.
7153 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
7154 # <limits.h> exists even on freestanding compilers.
7155 # On the NeXT, cc -E runs the code through the compiler's parser,
7156 # not just through cpp. "Syntax error" is here to catch this case.
7157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7158 /* end confdefs.h. */
7159 #ifdef __STDC__
7160 # include <limits.h>
7161 #else
7162 # include <assert.h>
7163 #endif
7164 Syntax error
7165 _ACEOF
7166 if ac_fn_c_try_cpp "$LINENO"; then :
7168 else
7169 # Broken: fails on valid input.
7170 continue
7172 rm -f conftest.err conftest.i conftest.$ac_ext
7174 # OK, works on sane cases. Now check whether nonexistent headers
7175 # can be detected and how.
7176 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7177 /* end confdefs.h. */
7178 #include <ac_nonexistent.h>
7179 _ACEOF
7180 if ac_fn_c_try_cpp "$LINENO"; then :
7181 # Broken: success on invalid input.
7182 continue
7183 else
7184 # Passes both tests.
7185 ac_preproc_ok=:
7186 break
7188 rm -f conftest.err conftest.i conftest.$ac_ext
7190 done
7191 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
7192 rm -f conftest.i conftest.err conftest.$ac_ext
7193 if $ac_preproc_ok; then :
7195 else
7196 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
7197 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
7198 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
7199 See \`config.log' for more details" "$LINENO" 5; }
7202 ac_ext=c
7203 ac_cpp='$CPP $CPPFLAGS'
7204 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
7205 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
7206 ac_compiler_gnu=$ac_cv_c_compiler_gnu
7209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
7210 $as_echo_n "checking for ANSI C header files... " >&6; }
7211 if ${ac_cv_header_stdc+:} false; then :
7212 $as_echo_n "(cached) " >&6
7213 else
7214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7215 /* end confdefs.h. */
7216 #include <stdlib.h>
7217 #include <stdarg.h>
7218 #include <string.h>
7219 #include <float.h>
7222 main ()
7226 return 0;
7228 _ACEOF
7229 if ac_fn_c_try_compile "$LINENO"; then :
7230 ac_cv_header_stdc=yes
7231 else
7232 ac_cv_header_stdc=no
7234 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7236 if test $ac_cv_header_stdc = yes; then
7237 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
7238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7239 /* end confdefs.h. */
7240 #include <string.h>
7242 _ACEOF
7243 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7244 $EGREP "memchr" >/dev/null 2>&1; then :
7246 else
7247 ac_cv_header_stdc=no
7249 rm -f conftest*
7253 if test $ac_cv_header_stdc = yes; then
7254 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
7255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7256 /* end confdefs.h. */
7257 #include <stdlib.h>
7259 _ACEOF
7260 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
7261 $EGREP "free" >/dev/null 2>&1; then :
7263 else
7264 ac_cv_header_stdc=no
7266 rm -f conftest*
7270 if test $ac_cv_header_stdc = yes; then
7271 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
7272 if test "$cross_compiling" = yes; then :
7274 else
7275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7276 /* end confdefs.h. */
7277 #include <ctype.h>
7278 #include <stdlib.h>
7279 #if ((' ' & 0x0FF) == 0x020)
7280 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
7281 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
7282 #else
7283 # define ISLOWER(c) \
7284 (('a' <= (c) && (c) <= 'i') \
7285 || ('j' <= (c) && (c) <= 'r') \
7286 || ('s' <= (c) && (c) <= 'z'))
7287 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
7288 #endif
7290 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
7292 main ()
7294 int i;
7295 for (i = 0; i < 256; i++)
7296 if (XOR (islower (i), ISLOWER (i))
7297 || toupper (i) != TOUPPER (i))
7298 return 2;
7299 return 0;
7301 _ACEOF
7302 if ac_fn_c_try_run "$LINENO"; then :
7304 else
7305 ac_cv_header_stdc=no
7307 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
7308 conftest.$ac_objext conftest.beam conftest.$ac_ext
7313 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
7314 $as_echo "$ac_cv_header_stdc" >&6; }
7315 if test $ac_cv_header_stdc = yes; then
7317 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7321 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7322 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7323 inttypes.h stdint.h unistd.h
7324 do :
7325 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7326 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7328 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7329 cat >>confdefs.h <<_ACEOF
7330 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7331 _ACEOF
7335 done
7338 for ac_header in \
7339 AL/al.h \
7340 ApplicationServices/ApplicationServices.h \
7341 AudioToolbox/AudioConverter.h \
7342 AudioUnit/AudioUnit.h \
7343 AudioUnit/AudioComponent.h \
7344 CL/cl.h \
7345 Carbon/Carbon.h \
7346 CommonCrypto/CommonCryptor.h \
7347 CoreAudio/CoreAudio.h \
7348 CoreServices/CoreServices.h \
7349 DiskArbitration/DiskArbitration.h \
7350 EGL/egl.h \
7351 IOKit/IOKitLib.h \
7352 IOKit/hid/IOHIDLib.h \
7353 OpenAL/al.h \
7354 OpenCL/opencl.h \
7355 QuickTime/ImageCompression.h \
7356 Security/Security.h \
7357 SystemConfiguration/SCDynamicStoreCopyDHCPInfo.h \
7358 SystemConfiguration/SCNetworkConfiguration.h \
7359 alias.h \
7360 arpa/inet.h \
7361 arpa/nameser.h \
7362 asm/types.h \
7363 asm/user.h \
7364 curses.h \
7365 dirent.h \
7366 dlfcn.h \
7367 elf.h \
7368 float.h \
7369 fnmatch.h \
7370 getopt.h \
7371 gettext-po.h \
7372 grp.h \
7373 gsm.h \
7374 gsm/gsm.h \
7375 ieeefp.h \
7376 inet/mib2.h \
7377 kstat.h \
7378 libproc.h \
7379 link.h \
7380 linux/cdrom.h \
7381 linux/compiler.h \
7382 linux/filter.h \
7383 linux/hdreg.h \
7384 linux/hidraw.h \
7385 linux/input.h \
7386 linux/ioctl.h \
7387 linux/joystick.h \
7388 linux/major.h \
7389 linux/param.h \
7390 linux/serial.h \
7391 linux/types.h \
7392 linux/ucdrom.h \
7393 lwp.h \
7394 mach-o/nlist.h \
7395 mach-o/loader.h \
7396 mach/mach.h \
7397 mach/machine.h \
7398 machine/cpu.h \
7399 machine/limits.h \
7400 machine/sysarch.h \
7401 mntent.h \
7402 ncurses.h \
7403 netdb.h \
7404 netinet/in.h \
7405 netinet/in_systm.h \
7406 netinet/tcp.h \
7407 netinet/tcp_fsm.h \
7408 pcap/pcap.h \
7409 poll.h \
7410 port.h \
7411 pthread.h \
7412 pwd.h \
7413 sched.h \
7414 scsi/scsi.h \
7415 scsi/scsi_ioctl.h \
7416 scsi/sg.h \
7417 stdbool.h \
7418 stdint.h \
7419 stropts.h \
7420 sys/attr.h \
7421 sys/auxv.h \
7422 sys/cdio.h \
7423 sys/elf32.h \
7424 sys/epoll.h \
7425 sys/event.h \
7426 sys/exec_elf.h \
7427 sys/filio.h \
7428 sys/ioctl.h \
7429 sys/ipc.h \
7430 sys/limits.h \
7431 sys/link.h \
7432 sys/mman.h \
7433 sys/modem.h \
7434 sys/msg.h \
7435 sys/mtio.h \
7436 sys/param.h \
7437 sys/poll.h \
7438 sys/prctl.h \
7439 sys/protosw.h \
7440 sys/ptrace.h \
7441 sys/queue.h \
7442 sys/resource.h \
7443 sys/scsiio.h \
7444 sys/shm.h \
7445 sys/signal.h \
7446 sys/socket.h \
7447 sys/socketvar.h \
7448 sys/sockio.h \
7449 sys/statvfs.h \
7450 sys/strtio.h \
7451 sys/syscall.h \
7452 sys/sysinfo.h \
7453 sys/tihdr.h \
7454 sys/time.h \
7455 sys/timeout.h \
7456 sys/times.h \
7457 sys/uio.h \
7458 sys/user.h \
7459 sys/utsname.h \
7460 sys/vnode.h \
7461 sys/wait.h \
7462 syscall.h \
7463 termios.h \
7464 unistd.h \
7465 utime.h \
7466 valgrind/memcheck.h \
7467 valgrind/valgrind.h
7469 do :
7470 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7471 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7472 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7473 cat >>confdefs.h <<_ACEOF
7474 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7475 _ACEOF
7479 done
7481 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7482 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7484 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7489 if test $ac_cv_header_sys_mkdev_h = no; then
7490 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7491 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7493 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7500 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7501 if ${ac_cv_header_stat_broken+:} false; then :
7502 $as_echo_n "(cached) " >&6
7503 else
7504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7505 /* end confdefs.h. */
7506 #include <sys/types.h>
7507 #include <sys/stat.h>
7509 #if defined S_ISBLK && defined S_IFDIR
7510 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7511 #endif
7513 #if defined S_ISBLK && defined S_IFCHR
7514 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7515 #endif
7517 #if defined S_ISLNK && defined S_IFREG
7518 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7519 #endif
7521 #if defined S_ISSOCK && defined S_IFREG
7522 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7523 #endif
7525 _ACEOF
7526 if ac_fn_c_try_compile "$LINENO"; then :
7527 ac_cv_header_stat_broken=no
7528 else
7529 ac_cv_header_stat_broken=yes
7531 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7534 $as_echo "$ac_cv_header_stat_broken" >&6; }
7535 if test $ac_cv_header_stat_broken = yes; then
7537 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7543 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
7544 do :
7545 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7546 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7547 #ifdef HAVE_SYS_PARAM_H
7548 # include <sys/param.h>
7549 #endif
7551 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7552 cat >>confdefs.h <<_ACEOF
7553 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7554 _ACEOF
7558 done
7561 for ac_header in \
7562 netinet/ip.h \
7563 net/if.h \
7564 net/if_arp.h \
7565 net/if_dl.h \
7566 net/if_types.h \
7567 net/route.h \
7568 netinet/if_ether.h \
7569 netinet/if_inarp.h \
7570 netinet/in_pcb.h \
7571 netinet/ip_icmp.h \
7572 netinet/ip_var.h \
7573 netinet/udp.h \
7574 netipx/ipx.h \
7575 sys/un.h \
7577 do :
7578 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7579 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7580 #ifdef HAVE_SYS_SOCKET_H
7581 # include <sys/socket.h>
7582 #endif
7583 #ifdef HAVE_SYS_SOCKETVAR_H
7584 # include <sys/socketvar.h>
7585 #endif
7586 #ifdef HAVE_NET_ROUTE_H
7587 # include <net/route.h>
7588 #endif
7589 #ifdef HAVE_NETINET_IN_H
7590 # include <netinet/in.h>
7591 #endif
7592 #ifdef HAVE_NETINET_IN_SYSTM_H
7593 # include <netinet/in_systm.h>
7594 #endif
7595 #ifdef HAVE_NET_IF_H
7596 # include <net/if.h>
7597 #endif
7598 #ifdef HAVE_NETINET_IP_H
7599 # include <netinet/ip.h>
7600 #endif
7602 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7603 cat >>confdefs.h <<_ACEOF
7604 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7605 _ACEOF
7609 done
7612 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7613 do :
7614 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7615 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7616 #ifdef HAVE_ALIAS_H
7617 # include <alias.h>
7618 #endif
7619 #ifdef HAVE_SYS_SOCKET_H
7620 # include <sys/socket.h>
7621 #endif
7622 #ifdef HAVE_SYS_SOCKETVAR_H
7623 # include <sys/socketvar.h>
7624 #endif
7625 #ifdef HAVE_SYS_TIMEOUT_H
7626 # include <sys/timeout.h>
7627 #endif
7628 #ifdef HAVE_NETINET_IN_H
7629 # include <netinet/in.h>
7630 #endif
7631 #ifdef HAVE_NETINET_IN_SYSTM_H
7632 # include <netinet/in_systm.h>
7633 #endif
7634 #ifdef HAVE_NETINET_IP_H
7635 # include <netinet/ip.h>
7636 #endif
7637 #ifdef HAVE_NETINET_IP_VAR_H
7638 # include <netinet/ip_var.h>
7639 #endif
7640 #ifdef HAVE_NETINET_IP_ICMP_H
7641 # include <netinet/ip_icmp.h>
7642 #endif
7643 #ifdef HAVE_NETINET_UDP_H
7644 # include <netinet/udp.h>
7645 #endif
7646 #ifdef HAVE_NETINET_TCP_H
7647 # include <netinet/tcp.h>
7648 #endif
7649 #ifdef HAVE_NETINET_TCP_TIMER_H
7650 #include <netinet/tcp_timer.h>
7651 #endif
7653 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7654 cat >>confdefs.h <<_ACEOF
7655 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7656 _ACEOF
7660 done
7663 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7664 do :
7665 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7666 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7667 #ifdef HAVE_ASM_TYPES_H
7668 # include <asm/types.h>
7669 #endif
7670 #ifdef HAVE_SYS_SOCKET_H
7671 # include <sys/socket.h>
7672 #endif
7673 #ifdef HAVE_LINUX_TYPES_H
7674 # include <linux/types.h>
7675 #endif
7677 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7678 cat >>confdefs.h <<_ACEOF
7679 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7680 _ACEOF
7684 done
7687 for ac_header in resolv.h
7688 do :
7689 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7690 #ifdef HAVE_SYS_SOCKET_H
7691 # include <sys/socket.h>
7692 #endif
7693 #ifdef HAVE_NETINET_IN_H
7694 # include <netinet/in.h>
7695 #endif
7696 #ifdef HAVE_ARPA_NAMESER_H
7697 # include <arpa/nameser.h>
7698 #endif
7700 if test "x$ac_cv_header_resolv_h" = xyes; then :
7701 cat >>confdefs.h <<_ACEOF
7702 #define HAVE_RESOLV_H 1
7703 _ACEOF
7707 done
7710 for ac_header in ifaddrs.h
7711 do :
7712 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7714 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7715 cat >>confdefs.h <<_ACEOF
7716 #define HAVE_IFADDRS_H 1
7717 _ACEOF
7721 done
7724 for ac_header in sys/ucontext.h
7725 do :
7726 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7728 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7729 cat >>confdefs.h <<_ACEOF
7730 #define HAVE_SYS_UCONTEXT_H 1
7731 _ACEOF
7735 done
7738 for ac_header in sys/thr.h
7739 do :
7740 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7741 #ifdef HAVE_SYS_UCONTEXT_H
7742 #include <sys/ucontext.h>
7743 #endif
7745 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7746 cat >>confdefs.h <<_ACEOF
7747 #define HAVE_SYS_THR_H 1
7748 _ACEOF
7752 done
7755 for ac_header in pthread_np.h
7756 do :
7757 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7758 #include <pthread.h>
7759 #endif
7761 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7762 cat >>confdefs.h <<_ACEOF
7763 #define HAVE_PTHREAD_NP_H 1
7764 _ACEOF
7768 done
7771 for ac_header in linux/videodev2.h
7772 do :
7773 ac_fn_c_check_header_compile "$LINENO" "linux/videodev2.h" "ac_cv_header_linux_videodev2_h" "#ifdef HAVE_SYS_TIME_H
7774 #include <sys/time.h>
7775 #endif
7776 #include <sys/types.h>
7777 #ifdef HAVE_ASM_TYPES_H
7778 #include <asm/types.h>
7779 #endif
7781 if test "x$ac_cv_header_linux_videodev2_h" = xyes; then :
7782 cat >>confdefs.h <<_ACEOF
7783 #define HAVE_LINUX_VIDEODEV2_H 1
7784 _ACEOF
7788 done
7791 for ac_header in libprocstat.h
7792 do :
7793 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7794 #include <sys/param.h>
7795 #endif
7796 #ifdef HAVE_SYS_QUEUE_H
7797 #include <sys/queue.h>
7798 #endif
7799 #ifdef HAVE_SYS_SOCKET_H
7800 #include <sys/socket.h>
7801 #endif
7803 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7804 cat >>confdefs.h <<_ACEOF
7805 #define HAVE_LIBPROCSTAT_H 1
7806 _ACEOF
7810 done
7814 DLLFLAGS="-D_REENTRANT"
7816 LDRPATH_INSTALL=""
7818 LDRPATH_LOCAL=""
7820 LDDLLFLAGS=""
7822 LDEXECFLAGS=""
7824 TOP_INSTALL_LIB=""
7826 TOP_INSTALL_DEV=""
7828 WINELOADER_LDFLAGS=""
7830 WINEPRELOADER_LDFLAGS=""
7832 LIBEXT="so"
7833 DLLEXT=".so"
7834 # Extract the first word of "ldd", so it can be a program name with args.
7835 set dummy ldd; ac_word=$2
7836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7837 $as_echo_n "checking for $ac_word... " >&6; }
7838 if ${ac_cv_path_LDD+:} false; then :
7839 $as_echo_n "(cached) " >&6
7840 else
7841 case $LDD in
7842 [\\/]* | ?:[\\/]*)
7843 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7846 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7847 as_dummy="/sbin:/usr/sbin:$PATH"
7848 for as_dir in $as_dummy
7850 IFS=$as_save_IFS
7851 test -z "$as_dir" && as_dir=.
7852 for ac_exec_ext in '' $ac_executable_extensions; do
7853 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7854 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7855 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7856 break 2
7858 done
7859 done
7860 IFS=$as_save_IFS
7862 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7864 esac
7866 LDD=$ac_cv_path_LDD
7867 if test -n "$LDD"; then
7868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7869 $as_echo "$LDD" >&6; }
7870 else
7871 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7872 $as_echo "no" >&6; }
7876 if test -n "$ac_tool_prefix"; then
7877 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7878 set dummy ${ac_tool_prefix}otool; ac_word=$2
7879 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7880 $as_echo_n "checking for $ac_word... " >&6; }
7881 if ${ac_cv_prog_OTOOL+:} false; then :
7882 $as_echo_n "(cached) " >&6
7883 else
7884 if test -n "$OTOOL"; then
7885 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7886 else
7887 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7888 for as_dir in $PATH
7890 IFS=$as_save_IFS
7891 test -z "$as_dir" && as_dir=.
7892 for ac_exec_ext in '' $ac_executable_extensions; do
7893 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7894 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7895 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7896 break 2
7898 done
7899 done
7900 IFS=$as_save_IFS
7904 OTOOL=$ac_cv_prog_OTOOL
7905 if test -n "$OTOOL"; then
7906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7907 $as_echo "$OTOOL" >&6; }
7908 else
7909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7910 $as_echo "no" >&6; }
7915 if test -z "$ac_cv_prog_OTOOL"; then
7916 ac_ct_OTOOL=$OTOOL
7917 # Extract the first word of "otool", so it can be a program name with args.
7918 set dummy otool; ac_word=$2
7919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7920 $as_echo_n "checking for $ac_word... " >&6; }
7921 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7922 $as_echo_n "(cached) " >&6
7923 else
7924 if test -n "$ac_ct_OTOOL"; then
7925 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7926 else
7927 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7928 for as_dir in $PATH
7930 IFS=$as_save_IFS
7931 test -z "$as_dir" && as_dir=.
7932 for ac_exec_ext in '' $ac_executable_extensions; do
7933 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7934 ac_cv_prog_ac_ct_OTOOL="otool"
7935 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7936 break 2
7938 done
7939 done
7940 IFS=$as_save_IFS
7944 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7945 if test -n "$ac_ct_OTOOL"; then
7946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7947 $as_echo "$ac_ct_OTOOL" >&6; }
7948 else
7949 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7950 $as_echo "no" >&6; }
7953 if test "x$ac_ct_OTOOL" = x; then
7954 OTOOL="otool"
7955 else
7956 case $cross_compiling:$ac_tool_warned in
7957 yes:)
7958 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7959 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7960 ac_tool_warned=yes ;;
7961 esac
7962 OTOOL=$ac_ct_OTOOL
7964 else
7965 OTOOL="$ac_cv_prog_OTOOL"
7968 if test -n "$ac_tool_prefix"; then
7969 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7970 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7972 $as_echo_n "checking for $ac_word... " >&6; }
7973 if ${ac_cv_prog_READELF+:} false; then :
7974 $as_echo_n "(cached) " >&6
7975 else
7976 if test -n "$READELF"; then
7977 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7978 else
7979 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7980 for as_dir in $PATH
7982 IFS=$as_save_IFS
7983 test -z "$as_dir" && as_dir=.
7984 for ac_exec_ext in '' $ac_executable_extensions; do
7985 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7986 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7987 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7988 break 2
7990 done
7991 done
7992 IFS=$as_save_IFS
7996 READELF=$ac_cv_prog_READELF
7997 if test -n "$READELF"; then
7998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7999 $as_echo "$READELF" >&6; }
8000 else
8001 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8002 $as_echo "no" >&6; }
8007 if test -z "$ac_cv_prog_READELF"; then
8008 ac_ct_READELF=$READELF
8009 # Extract the first word of "readelf", so it can be a program name with args.
8010 set dummy readelf; ac_word=$2
8011 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8012 $as_echo_n "checking for $ac_word... " >&6; }
8013 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
8014 $as_echo_n "(cached) " >&6
8015 else
8016 if test -n "$ac_ct_READELF"; then
8017 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
8018 else
8019 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8020 for as_dir in $PATH
8022 IFS=$as_save_IFS
8023 test -z "$as_dir" && as_dir=.
8024 for ac_exec_ext in '' $ac_executable_extensions; do
8025 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8026 ac_cv_prog_ac_ct_READELF="readelf"
8027 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8028 break 2
8030 done
8031 done
8032 IFS=$as_save_IFS
8036 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
8037 if test -n "$ac_ct_READELF"; then
8038 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
8039 $as_echo "$ac_ct_READELF" >&6; }
8040 else
8041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8042 $as_echo "no" >&6; }
8045 if test "x$ac_ct_READELF" = x; then
8046 READELF="true"
8047 else
8048 case $cross_compiling:$ac_tool_warned in
8049 yes:)
8050 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8051 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8052 ac_tool_warned=yes ;;
8053 esac
8054 READELF=$ac_ct_READELF
8056 else
8057 READELF="$ac_cv_prog_READELF"
8060 wine_rules_file=conf$$rules.make
8061 rm -f $wine_rules_file
8062 SUBDIRS=""
8064 DISABLED_SUBDIRS=""
8066 CONFIGURE_TARGETS=""
8069 wine_fn_append_file ()
8071 as_fn_append $1 " \\$as_nl $2"
8074 wine_fn_append_rule ()
8076 $as_echo "$1" >>$wine_rules_file
8079 wine_fn_config_makefile ()
8081 wine_fn_append_file SUBDIRS $1
8082 if eval test \"x\$"$2"\" = x"no"; then :
8083 wine_fn_append_file DISABLED_SUBDIRS $1
8087 wine_fn_config_symlink ()
8089 ac_links=$@
8090 wine_fn_append_rule \
8091 "$ac_links:
8092 @./config.status \$@"
8093 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
8096 wine_binary="wine"
8097 test "x$enable_win64" != "xyes" || wine_binary="wine64"
8098 WINELOADER_PROGRAMS="$wine_binary"
8100 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
8102 case $host_os in
8103 cygwin*|mingw32*)
8104 if test -n "$ac_tool_prefix"; then
8105 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
8106 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
8107 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8108 $as_echo_n "checking for $ac_word... " >&6; }
8109 if ${ac_cv_prog_DLLTOOL+:} false; then :
8110 $as_echo_n "(cached) " >&6
8111 else
8112 if test -n "$DLLTOOL"; then
8113 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
8114 else
8115 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8116 for as_dir in $PATH
8118 IFS=$as_save_IFS
8119 test -z "$as_dir" && as_dir=.
8120 for ac_exec_ext in '' $ac_executable_extensions; do
8121 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8122 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
8123 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8124 break 2
8126 done
8127 done
8128 IFS=$as_save_IFS
8132 DLLTOOL=$ac_cv_prog_DLLTOOL
8133 if test -n "$DLLTOOL"; then
8134 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
8135 $as_echo "$DLLTOOL" >&6; }
8136 else
8137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8138 $as_echo "no" >&6; }
8143 if test -z "$ac_cv_prog_DLLTOOL"; then
8144 ac_ct_DLLTOOL=$DLLTOOL
8145 # Extract the first word of "dlltool", so it can be a program name with args.
8146 set dummy dlltool; ac_word=$2
8147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8148 $as_echo_n "checking for $ac_word... " >&6; }
8149 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
8150 $as_echo_n "(cached) " >&6
8151 else
8152 if test -n "$ac_ct_DLLTOOL"; then
8153 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
8154 else
8155 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8156 for as_dir in $PATH
8158 IFS=$as_save_IFS
8159 test -z "$as_dir" && as_dir=.
8160 for ac_exec_ext in '' $ac_executable_extensions; do
8161 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8162 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
8163 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8164 break 2
8166 done
8167 done
8168 IFS=$as_save_IFS
8172 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
8173 if test -n "$ac_ct_DLLTOOL"; then
8174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
8175 $as_echo "$ac_ct_DLLTOOL" >&6; }
8176 else
8177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8178 $as_echo "no" >&6; }
8181 if test "x$ac_ct_DLLTOOL" = x; then
8182 DLLTOOL="false"
8183 else
8184 case $cross_compiling:$ac_tool_warned in
8185 yes:)
8186 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8187 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8188 ac_tool_warned=yes ;;
8189 esac
8190 DLLTOOL=$ac_ct_DLLTOOL
8192 else
8193 DLLTOOL="$ac_cv_prog_DLLTOOL"
8196 LIBEXT="dll"
8197 DLLEXT=""
8198 case $host_cpu in
8199 *i[3456]86*) LDDLLFLAGS="-Wl,--disable-stdcall-fixup" ;;
8200 esac
8201 enable_iphlpapi=${enable_iphlpapi:-no}
8202 enable_kernel32=${enable_kernel32:-no}
8203 enable_ntdll=${enable_ntdll:-no}
8204 enable_ws2_32=${enable_ws2_32:-no}
8205 enable_loader=${enable_loader:-no}
8206 enable_server=${enable_server:-no}
8207 with_x=${with_x:-no}
8208 with_pthread=${with_pthread:-no}
8211 darwin*|macosx*)
8212 ac_ext=m
8213 ac_cpp='$OBJCPP $CPPFLAGS'
8214 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8215 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8216 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8218 ac_ext=m
8219 ac_cpp='$OBJCPP $CPPFLAGS'
8220 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8221 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8222 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8223 if test -n "$ac_tool_prefix"; then
8224 for ac_prog in gcc objcc objc cc CC
8226 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
8227 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
8228 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8229 $as_echo_n "checking for $ac_word... " >&6; }
8230 if ${ac_cv_prog_OBJC+:} false; then :
8231 $as_echo_n "(cached) " >&6
8232 else
8233 if test -n "$OBJC"; then
8234 ac_cv_prog_OBJC="$OBJC" # Let the user override the test.
8235 else
8236 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8237 for as_dir in $PATH
8239 IFS=$as_save_IFS
8240 test -z "$as_dir" && as_dir=.
8241 for ac_exec_ext in '' $ac_executable_extensions; do
8242 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8243 ac_cv_prog_OBJC="$ac_tool_prefix$ac_prog"
8244 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8245 break 2
8247 done
8248 done
8249 IFS=$as_save_IFS
8253 OBJC=$ac_cv_prog_OBJC
8254 if test -n "$OBJC"; then
8255 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJC" >&5
8256 $as_echo "$OBJC" >&6; }
8257 else
8258 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8259 $as_echo "no" >&6; }
8263 test -n "$OBJC" && break
8264 done
8266 if test -z "$OBJC"; then
8267 ac_ct_OBJC=$OBJC
8268 for ac_prog in gcc objcc objc cc CC
8270 # Extract the first word of "$ac_prog", so it can be a program name with args.
8271 set dummy $ac_prog; ac_word=$2
8272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8273 $as_echo_n "checking for $ac_word... " >&6; }
8274 if ${ac_cv_prog_ac_ct_OBJC+:} false; then :
8275 $as_echo_n "(cached) " >&6
8276 else
8277 if test -n "$ac_ct_OBJC"; then
8278 ac_cv_prog_ac_ct_OBJC="$ac_ct_OBJC" # Let the user override the test.
8279 else
8280 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8281 for as_dir in $PATH
8283 IFS=$as_save_IFS
8284 test -z "$as_dir" && as_dir=.
8285 for ac_exec_ext in '' $ac_executable_extensions; do
8286 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8287 ac_cv_prog_ac_ct_OBJC="$ac_prog"
8288 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8289 break 2
8291 done
8292 done
8293 IFS=$as_save_IFS
8297 ac_ct_OBJC=$ac_cv_prog_ac_ct_OBJC
8298 if test -n "$ac_ct_OBJC"; then
8299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OBJC" >&5
8300 $as_echo "$ac_ct_OBJC" >&6; }
8301 else
8302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8303 $as_echo "no" >&6; }
8307 test -n "$ac_ct_OBJC" && break
8308 done
8310 if test "x$ac_ct_OBJC" = x; then
8311 OBJC="gcc"
8312 else
8313 case $cross_compiling:$ac_tool_warned in
8314 yes:)
8315 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
8316 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
8317 ac_tool_warned=yes ;;
8318 esac
8319 OBJC=$ac_ct_OBJC
8323 # Provide some information about the compiler.
8324 $as_echo "$as_me:${as_lineno-$LINENO}: checking for Objective C compiler version" >&5
8325 set X $ac_compile
8326 ac_compiler=$2
8327 for ac_option in --version -v -V -qversion; do
8328 { { ac_try="$ac_compiler $ac_option >&5"
8329 case "(($ac_try" in
8330 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
8331 *) ac_try_echo=$ac_try;;
8332 esac
8333 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
8334 $as_echo "$ac_try_echo"; } >&5
8335 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
8336 ac_status=$?
8337 if test -s conftest.err; then
8338 sed '10a\
8339 ... rest of stderr output deleted ...
8340 10q' conftest.err >conftest.er1
8341 cat conftest.er1 >&5
8343 rm -f conftest.er1 conftest.err
8344 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
8345 test $ac_status = 0; }
8346 done
8348 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU Objective C compiler" >&5
8349 $as_echo_n "checking whether we are using the GNU Objective C compiler... " >&6; }
8350 if ${ac_cv_objc_compiler_gnu+:} false; then :
8351 $as_echo_n "(cached) " >&6
8352 else
8353 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8354 /* end confdefs.h. */
8357 main ()
8359 #ifndef __GNUC__
8360 choke me
8361 #endif
8364 return 0;
8366 _ACEOF
8367 if ac_fn_objc_try_compile "$LINENO"; then :
8368 ac_compiler_gnu=yes
8369 else
8370 ac_compiler_gnu=no
8372 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8373 ac_cv_objc_compiler_gnu=$ac_compiler_gnu
8376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objc_compiler_gnu" >&5
8377 $as_echo "$ac_cv_objc_compiler_gnu" >&6; }
8378 if test $ac_compiler_gnu = yes; then
8379 GOBJC=yes
8380 else
8381 GOBJC=
8383 ac_test_OBJCFLAGS=${OBJCFLAGS+set}
8384 ac_save_OBJCFLAGS=$OBJCFLAGS
8385 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $OBJC accepts -g" >&5
8386 $as_echo_n "checking whether $OBJC accepts -g... " >&6; }
8387 if ${ac_cv_prog_objc_g+:} false; then :
8388 $as_echo_n "(cached) " >&6
8389 else
8390 ac_save_objc_werror_flag=$ac_objc_werror_flag
8391 ac_objc_werror_flag=yes
8392 ac_cv_prog_objc_g=no
8393 OBJCFLAGS="-g"
8394 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8395 /* end confdefs.h. */
8398 main ()
8402 return 0;
8404 _ACEOF
8405 if ac_fn_objc_try_compile "$LINENO"; then :
8406 ac_cv_prog_objc_g=yes
8407 else
8408 OBJCFLAGS=""
8409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8410 /* end confdefs.h. */
8413 main ()
8417 return 0;
8419 _ACEOF
8420 if ac_fn_objc_try_compile "$LINENO"; then :
8422 else
8423 ac_objc_werror_flag=$ac_save_objc_werror_flag
8424 OBJCFLAGS="-g"
8425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8426 /* end confdefs.h. */
8429 main ()
8433 return 0;
8435 _ACEOF
8436 if ac_fn_objc_try_compile "$LINENO"; then :
8437 ac_cv_prog_objc_g=yes
8439 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8441 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8443 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8444 ac_objc_werror_flag=$ac_save_objc_werror_flag
8446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_objc_g" >&5
8447 $as_echo "$ac_cv_prog_objc_g" >&6; }
8448 if test "$ac_test_OBJCFLAGS" = set; then
8449 OBJCFLAGS=$ac_save_OBJCFLAGS
8450 elif test $ac_cv_prog_objc_g = yes; then
8451 if test "$GOBJC" = yes; then
8452 OBJCFLAGS="-g -O2"
8453 else
8454 OBJCFLAGS="-g"
8456 else
8457 if test "$GOBJC" = yes; then
8458 OBJCFLAGS="-O2"
8459 else
8460 OBJCFLAGS=
8463 ac_ext=m
8464 ac_cpp='$OBJCPP $CPPFLAGS'
8465 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8466 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8467 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8470 ac_ext=m
8471 ac_cpp='$OBJCPP $CPPFLAGS'
8472 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8473 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8474 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the Objective C preprocessor" >&5
8476 $as_echo_n "checking how to run the Objective C preprocessor... " >&6; }
8477 if test -z "$OBJCPP"; then
8478 if ${ac_cv_prog_OBJCPP+:} false; then :
8479 $as_echo_n "(cached) " >&6
8480 else
8481 # Double quotes because OBJCPP needs to be expanded
8482 for OBJCPP in "$OBJC -E" "/lib/cpp"
8484 ac_preproc_ok=false
8485 for ac_objc_preproc_warn_flag in '' yes
8487 # Use a header file that comes with gcc, so configuring glibc
8488 # with a fresh cross-compiler works.
8489 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8490 # <limits.h> exists even on freestanding compilers.
8491 # On the NeXT, cc -E runs the code through the compiler's parser,
8492 # not just through cpp. "Syntax error" is here to catch this case.
8493 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8494 /* end confdefs.h. */
8495 #ifdef __STDC__
8496 # include <limits.h>
8497 #else
8498 # include <assert.h>
8499 #endif
8500 Syntax error
8501 _ACEOF
8502 if ac_fn_objc_try_cpp "$LINENO"; then :
8504 else
8505 # Broken: fails on valid input.
8506 continue
8508 rm -f conftest.err conftest.i conftest.$ac_ext
8510 # OK, works on sane cases. Now check whether nonexistent headers
8511 # can be detected and how.
8512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8513 /* end confdefs.h. */
8514 #include <ac_nonexistent.h>
8515 _ACEOF
8516 if ac_fn_objc_try_cpp "$LINENO"; then :
8517 # Broken: success on invalid input.
8518 continue
8519 else
8520 # Passes both tests.
8521 ac_preproc_ok=:
8522 break
8524 rm -f conftest.err conftest.i conftest.$ac_ext
8526 done
8527 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8528 rm -f conftest.i conftest.err conftest.$ac_ext
8529 if $ac_preproc_ok; then :
8530 break
8533 done
8534 ac_cv_prog_OBJCPP=$OBJCPP
8537 OBJCPP=$ac_cv_prog_OBJCPP
8538 else
8539 ac_cv_prog_OBJCPP=$OBJCPP
8541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OBJCPP" >&5
8542 $as_echo "$OBJCPP" >&6; }
8543 ac_preproc_ok=false
8544 for ac_objc_preproc_warn_flag in '' yes
8546 # Use a header file that comes with gcc, so configuring glibc
8547 # with a fresh cross-compiler works.
8548 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
8549 # <limits.h> exists even on freestanding compilers.
8550 # On the NeXT, cc -E runs the code through the compiler's parser,
8551 # not just through cpp. "Syntax error" is here to catch this case.
8552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8553 /* end confdefs.h. */
8554 #ifdef __STDC__
8555 # include <limits.h>
8556 #else
8557 # include <assert.h>
8558 #endif
8559 Syntax error
8560 _ACEOF
8561 if ac_fn_objc_try_cpp "$LINENO"; then :
8563 else
8564 # Broken: fails on valid input.
8565 continue
8567 rm -f conftest.err conftest.i conftest.$ac_ext
8569 # OK, works on sane cases. Now check whether nonexistent headers
8570 # can be detected and how.
8571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8572 /* end confdefs.h. */
8573 #include <ac_nonexistent.h>
8574 _ACEOF
8575 if ac_fn_objc_try_cpp "$LINENO"; then :
8576 # Broken: success on invalid input.
8577 continue
8578 else
8579 # Passes both tests.
8580 ac_preproc_ok=:
8581 break
8583 rm -f conftest.err conftest.i conftest.$ac_ext
8585 done
8586 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
8587 rm -f conftest.i conftest.err conftest.$ac_ext
8588 if $ac_preproc_ok; then :
8590 else
8591 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
8592 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
8593 as_fn_error $? "Objective C preprocessor \"$OBJCPP\" fails sanity check
8594 See \`config.log' for more details" "$LINENO" 5; }
8597 ac_ext=m
8598 ac_cpp='$OBJCPP $CPPFLAGS'
8599 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8600 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8601 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8604 for ac_header in Metal/Metal.h
8605 do :
8606 ac_fn_objc_check_header_mongrel "$LINENO" "Metal/Metal.h" "ac_cv_header_Metal_Metal_h" "$ac_includes_default"
8607 if test "x$ac_cv_header_Metal_Metal_h" = xyes; then :
8608 cat >>confdefs.h <<_ACEOF
8609 #define HAVE_METAL_METAL_H 1
8610 _ACEOF
8614 done
8616 ac_ext=c
8617 ac_cpp='$CPP $CPPFLAGS'
8618 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8619 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8620 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8622 LIBEXT="dylib"
8623 DLLFLAGS="$DLLFLAGS -fPIC"
8624 LDDLLFLAGS="-fPIC"
8625 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8626 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
8627 COREFOUNDATION_LIBS="-framework CoreFoundation"
8629 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
8631 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
8633 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
8635 CORESERVICES_LIBS="-framework CoreServices"
8637 APPKIT_LIBS="-framework AppKit"
8639 SYSTEMCONFIGURATION_LIBS="-framework SystemConfiguration"
8642 WINELOADER_LDFLAGS="-Wl,-pie,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8644 wine_can_build_preloader=yes
8645 WINEPRELOADER_LDFLAGS="-nostartfiles -nodefaultlibs -e _start -ldylib1.o -Wl,-image_base,0x7c400000,-pagezero_size,0x1000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
8646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main" >&5
8647 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main... " >&6; }
8648 if ${ac_cv_cflags__Wl__no_new_main__e__main+:} false; then :
8649 $as_echo_n "(cached) " >&6
8650 else
8651 ac_wine_try_cflags_saved=$CFLAGS
8652 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main"
8653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8654 /* end confdefs.h. */
8655 int main(int argc, char **argv) { return 0; }
8656 _ACEOF
8657 if ac_fn_c_try_link "$LINENO"; then :
8658 ac_cv_cflags__Wl__no_new_main__e__main=yes
8659 else
8660 ac_cv_cflags__Wl__no_new_main__e__main=no
8662 rm -f core conftest.err conftest.$ac_objext \
8663 conftest$ac_exeext conftest.$ac_ext
8664 CFLAGS=$ac_wine_try_cflags_saved
8666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main" >&5
8667 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main" >&6; }
8668 if test "x$ac_cv_cflags__Wl__no_new_main__e__main" = xyes; then :
8669 WINEPRELOADER_LDFLAGS="-Wl,-no_new_main $WINEPRELOADER_LDFLAGS"
8670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs" >&5
8671 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs... " >&6; }
8672 if ${ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs+:} false; then :
8673 $as_echo_n "(cached) " >&6
8674 else
8675 ac_wine_try_cflags_saved=$CFLAGS
8676 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8678 /* end confdefs.h. */
8679 int main(int argc, char **argv) { return 0; }
8680 _ACEOF
8681 if ac_fn_c_try_link "$LINENO"; then :
8682 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=yes
8683 else
8684 ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs=no
8686 rm -f core conftest.err conftest.$ac_objext \
8687 conftest$ac_exeext conftest.$ac_ext
8688 CFLAGS=$ac_wine_try_cflags_saved
8690 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&5
8691 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" >&6; }
8692 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__nostartfiles__nodefaultlibs" = xyes; then :
8693 EXTRACFLAGS="$EXTRACFLAGS -Wl,-no_new_main -e _main -nostartfiles -nodefaultlibs"
8694 else
8695 { $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
8696 $as_echo_n "checking whether the compiler supports -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8697 if ${ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8698 $as_echo_n "(cached) " >&6
8699 else
8700 ac_wine_try_cflags_saved=$CFLAGS
8701 CFLAGS="$CFLAGS -Wl,-no_new_main -e _main -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8703 /* end confdefs.h. */
8704 int main(int argc, char **argv) { return 0; }
8705 _ACEOF
8706 if ac_fn_c_try_link "$LINENO"; then :
8707 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8708 else
8709 ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8711 rm -f core conftest.err conftest.$ac_objext \
8712 conftest$ac_exeext conftest.$ac_ext
8713 CFLAGS=$ac_wine_try_cflags_saved
8715 { $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
8716 $as_echo "$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8717 if test "x$ac_cv_cflags__Wl__no_new_main__e__main__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8718 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8719 else
8720 wine_can_build_preloader=no
8723 else
8724 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -nostartfiles -nodefaultlibs" >&5
8725 $as_echo_n "checking whether the compiler supports -nostartfiles -nodefaultlibs... " >&6; }
8726 if ${ac_cv_cflags__nostartfiles__nodefaultlibs+:} false; then :
8727 $as_echo_n "(cached) " >&6
8728 else
8729 ac_wine_try_cflags_saved=$CFLAGS
8730 CFLAGS="$CFLAGS -nostartfiles -nodefaultlibs"
8731 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8732 /* end confdefs.h. */
8733 int main(int argc, char **argv) { return 0; }
8734 _ACEOF
8735 if ac_fn_c_try_link "$LINENO"; then :
8736 ac_cv_cflags__nostartfiles__nodefaultlibs=yes
8737 else
8738 ac_cv_cflags__nostartfiles__nodefaultlibs=no
8740 rm -f core conftest.err conftest.$ac_objext \
8741 conftest$ac_exeext conftest.$ac_ext
8742 CFLAGS=$ac_wine_try_cflags_saved
8744 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__nostartfiles__nodefaultlibs" >&5
8745 $as_echo "$ac_cv_cflags__nostartfiles__nodefaultlibs" >&6; }
8746 if test "x$ac_cv_cflags__nostartfiles__nodefaultlibs" = xyes; then :
8747 EXTRACFLAGS="$EXTRACFLAGS -nostartfiles -nodefaultlibs"
8748 else
8749 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs" >&5
8750 $as_echo_n "checking whether the compiler supports -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs... " >&6; }
8751 if ${ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs+:} false; then :
8752 $as_echo_n "(cached) " >&6
8753 else
8754 ac_wine_try_cflags_saved=$CFLAGS
8755 CFLAGS="$CFLAGS -mmacosx-version-min=10.7 -nostartfiles -nodefaultlibs"
8756 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8757 /* end confdefs.h. */
8758 int main(int argc, char **argv) { return 0; }
8759 _ACEOF
8760 if ac_fn_c_try_link "$LINENO"; then :
8761 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=yes
8762 else
8763 ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs=no
8765 rm -f core conftest.err conftest.$ac_objext \
8766 conftest$ac_exeext conftest.$ac_ext
8767 CFLAGS=$ac_wine_try_cflags_saved
8769 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&5
8770 $as_echo "$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" >&6; }
8771 if test "x$ac_cv_cflags__mmacosx_version_min_10_7__nostartfiles__nodefaultlibs" = xyes; then :
8772 WINEPRELOADER_LDFLAGS="-mmacosx-version-min=10.7 $WINEPRELOADER_LDFLAGS"
8773 else
8774 wine_can_build_preloader=no
8778 if test "$wine_can_build_preloader" = "yes"
8779 then
8780 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
8781 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
8782 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
8783 $as_echo_n "(cached) " >&6
8784 else
8785 ac_wine_try_cflags_saved=$CFLAGS
8786 CFLAGS="$CFLAGS -Wl,-no_pie"
8787 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8788 /* end confdefs.h. */
8789 int main(int argc, char **argv) { return 0; }
8790 _ACEOF
8791 if ac_fn_c_try_link "$LINENO"; then :
8792 ac_cv_cflags__Wl__no_pie=yes
8793 else
8794 ac_cv_cflags__Wl__no_pie=no
8796 rm -f core conftest.err conftest.$ac_objext \
8797 conftest$ac_exeext conftest.$ac_ext
8798 CFLAGS=$ac_wine_try_cflags_saved
8800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
8801 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
8802 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
8803 WINEPRELOADER_LDFLAGS="-Wl,-no_pie $WINEPRELOADER_LDFLAGS"
8805 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
8806 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
8807 else
8808 as_fn_append wine_warnings "|can't build Wine preloader; many programs won't work"
8811 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
8812 then
8813 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
8816 if test "$ac_cv_header_Security_Security_h" = "yes"
8817 then
8818 SECURITY_LIBS="-framework Security -framework CoreFoundation"
8820 ac_save_LIBS="$LIBS"
8821 LIBS="$LIBS $SECURITY_LIBS"
8822 for ac_func in SSLCopyPeerCertificates
8823 do :
8824 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8825 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8826 cat >>confdefs.h <<_ACEOF
8827 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8828 _ACEOF
8831 done
8833 LIBS="$ac_save_LIBS"
8835 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8836 then
8837 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8838 then
8839 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8841 else
8842 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8845 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8846 ac_save_LIBS="$LIBS"
8847 LIBS="$LIBS $COREAUDIO_LIBS"
8848 for ac_func in AUGraphAddNode
8849 do :
8850 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8851 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8852 cat >>confdefs.h <<_ACEOF
8853 #define HAVE_AUGRAPHADDNODE 1
8854 _ACEOF
8857 done
8859 LIBS="$ac_save_LIBS"
8861 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8862 then
8863 OPENAL_LIBS="-framework OpenAL"
8866 cat >>confdefs.h <<_ACEOF
8867 #define HAVE_OPENAL 1
8868 _ACEOF
8870 ac_cv_lib_openal=yes
8872 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8873 then
8874 OPENCL_LIBS="-framework OpenCL"
8876 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8878 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8879 then
8880 ac_save_LIBS="$LIBS"
8881 LIBS="$LIBS $IOKIT_LIBS"
8882 for ac_func in IOHIDManagerCreate
8883 do :
8884 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8885 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8886 cat >>confdefs.h <<_ACEOF
8887 #define HAVE_IOHIDMANAGERCREATE 1
8888 _ACEOF
8891 done
8893 LIBS="$ac_save_LIBS"
8895 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8896 then
8897 ac_save_LIBS="$LIBS"
8898 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8899 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8900 $as_echo_n "checking for the QuickTime framework... " >&6; }
8901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8902 /* end confdefs.h. */
8903 #include <QuickTime/ImageCompression.h>
8905 main ()
8907 CodecManagerVersion(NULL);
8909 return 0;
8911 _ACEOF
8912 if ac_fn_c_try_link "$LINENO"; then :
8913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8914 $as_echo "yes" >&6; }
8915 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8917 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8918 else
8919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8920 $as_echo "no" >&6; }
8921 ac_cv_header_QuickTime_ImageCompression_h=no
8923 rm -f core conftest.err conftest.$ac_objext \
8924 conftest$ac_exeext conftest.$ac_ext
8925 LIBS="$ac_save_LIBS"
8927 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8928 then
8929 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8931 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8932 then
8933 CARBON_LIBS="-framework Carbon"
8936 if test "$ac_cv_header_Metal_Metal_h" = "yes"
8937 then
8938 METAL_LIBS="-framework Metal -framework QuartzCore"
8942 if test "$ac_cv_header_Metal_Metal_h" = "yes"
8943 then
8944 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether MTLDevice protocol supports registryID property" >&5
8945 $as_echo_n "checking whether MTLDevice protocol supports registryID property... " >&6; }
8946 ac_ext=m
8947 ac_cpp='$OBJCPP $CPPFLAGS'
8948 ac_compile='$OBJC -c $OBJCFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8949 ac_link='$OBJC -o conftest$ac_exeext $OBJCFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8950 ac_compiler_gnu=$ac_cv_objc_compiler_gnu
8952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8953 /* end confdefs.h. */
8954 #include <Metal/Metal.h>
8956 main ()
8958 id<MTLDevice> device; device.registryID;
8960 return 0;
8962 _ACEOF
8963 if ac_fn_objc_try_compile "$LINENO"; then :
8964 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8965 $as_echo "yes" >&6; }
8967 $as_echo "#define HAVE_MTLDEVICE_REGISTRYID 1" >>confdefs.h
8969 else
8970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8971 $as_echo "no" >&6; }
8973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8974 ac_ext=c
8975 ac_cpp='$CPP $CPPFLAGS'
8976 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
8977 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
8978 ac_compiler_gnu=$ac_cv_c_compiler_gnu
8982 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8983 then
8984 ac_save_LIBS="$LIBS"
8985 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8986 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8987 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8988 enable_winemac_drv=${enable_winemac_drv:-yes}
8991 LIBS="$ac_save_LIBS"
8994 if test "x$enable_win16" = "xyes"
8995 then
8996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8997 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8998 if test "$cross_compiling" = yes; then :
8999 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
9000 $as_echo "cross-compiling, assuming yes" >&6; }
9001 else
9002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9003 /* end confdefs.h. */
9004 asm(".text\n"
9005 "bad:\tnop;nop\n"
9006 "good:\tnop;nop\n\t"
9007 ".globl _testfunc\n"
9008 "_testfunc:\tcallw good");
9009 extern void testfunc();
9011 main ()
9013 unsigned short *p = (unsigned short *)testfunc;
9014 return p[0] != 0xe866 || p[1] != 0xfffa
9016 return 0;
9018 _ACEOF
9019 if ac_fn_c_try_run "$LINENO"; then :
9020 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9021 $as_echo "yes" >&6; }
9022 else
9023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9024 $as_echo "no" >&6; }
9025 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
9027 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
9028 conftest.$ac_objext conftest.beam conftest.$ac_ext
9033 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
9035 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
9037 WINELOADER_DEPENDS="wine_info.plist"
9039 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.$libwine_version.dylib libs/wine/libwine.$libwine_soversion.dylib"
9040 TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.dylib"
9043 linux-android*)
9044 DLLFLAGS="$DLLFLAGS -fPIC"
9045 LDDLLFLAGS="-fPIC"
9046 LDEXECFLAGS="-Wl,-pie"
9047 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
9048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
9049 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
9050 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
9051 $as_echo_n "(cached) " >&6
9052 else
9053 ac_wine_try_cflags_saved=$CFLAGS
9054 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
9055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9056 /* end confdefs.h. */
9057 int main(int argc, char **argv) { return 0; }
9058 _ACEOF
9059 if ac_fn_c_try_link "$LINENO"; then :
9060 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
9061 else
9062 ac_cv_cflags__fPIC__Wl___export_dynamic=no
9064 rm -f core conftest.err conftest.$ac_objext \
9065 conftest$ac_exeext conftest.$ac_ext
9066 CFLAGS=$ac_wine_try_cflags_saved
9068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
9069 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
9070 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
9071 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9073 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000"
9074 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
9075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
9076 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
9077 if eval \${$as_ac_var+:} false; then :
9078 $as_echo_n "(cached) " >&6
9079 else
9080 ac_wine_try_cflags_saved=$CFLAGS
9081 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
9082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9083 /* end confdefs.h. */
9084 int main(int argc, char **argv) { return 0; }
9085 _ACEOF
9086 if ac_fn_c_try_link "$LINENO"; then :
9087 eval "$as_ac_var=yes"
9088 else
9089 eval "$as_ac_var=no"
9091 rm -f core conftest.err conftest.$ac_objext \
9092 conftest$ac_exeext conftest.$ac_ext
9093 CFLAGS=$ac_wine_try_cflags_saved
9095 eval ac_res=\$$as_ac_var
9096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9097 $as_echo "$ac_res" >&6; }
9098 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9099 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9100 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9101 else
9102 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
9103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
9104 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
9105 if eval \${$as_ac_var+:} false; then :
9106 $as_echo_n "(cached) " >&6
9107 else
9108 ac_wine_try_cflags_saved=$CFLAGS
9109 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
9110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9111 /* end confdefs.h. */
9112 int main(int argc, char **argv) { return 0; }
9113 _ACEOF
9114 if ac_fn_c_try_link "$LINENO"; then :
9115 eval "$as_ac_var=yes"
9116 else
9117 eval "$as_ac_var=no"
9119 rm -f core conftest.err conftest.$ac_objext \
9120 conftest$ac_exeext conftest.$ac_ext
9121 CFLAGS=$ac_wine_try_cflags_saved
9123 eval ac_res=\$$as_ac_var
9124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9125 $as_echo "$ac_res" >&6; }
9126 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9127 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9128 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9131 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
9132 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
9133 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
9134 $as_echo_n "(cached) " >&6
9135 else
9136 ac_wine_try_cflags_saved=$CFLAGS
9137 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
9138 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9139 /* end confdefs.h. */
9140 int main(int argc, char **argv) { return 0; }
9141 _ACEOF
9142 if ac_fn_c_try_link "$LINENO"; then :
9143 ac_cv_cflags__Wl___enable_new_dtags=yes
9144 else
9145 ac_cv_cflags__Wl___enable_new_dtags=no
9147 rm -f core conftest.err conftest.$ac_objext \
9148 conftest$ac_exeext conftest.$ac_ext
9149 CFLAGS=$ac_wine_try_cflags_saved
9151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9152 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9153 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
9154 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9157 LIBWINE_SHAREDLIB="libwine.so"
9159 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
9161 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so"
9163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
9164 $as_echo_n "checking for -lEGL... " >&6; }
9165 if ${ac_cv_lib_soname_EGL+:} false; then :
9166 $as_echo_n "(cached) " >&6
9167 else
9168 ac_check_soname_save_LIBS=$LIBS
9169 LIBS="-lEGL $LIBS"
9170 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9171 /* end confdefs.h. */
9173 /* Override any GCC internal prototype to avoid an error.
9174 Use char because int might match the return type of a GCC
9175 builtin and then its argument prototype would still apply. */
9176 #ifdef __cplusplus
9177 extern "C"
9178 #endif
9179 char eglGetProcAddress ();
9181 main ()
9183 return eglGetProcAddress ();
9185 return 0;
9187 _ACEOF
9188 if ac_fn_c_try_link "$LINENO"; then :
9189 case "$LIBEXT" in
9190 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9191 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'` ;;
9192 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9193 if ${ac_cv_lib_soname_EGL:+false} :; then :
9194 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9195 fi ;;
9196 esac
9197 else
9198 ac_cv_lib_soname_EGL=
9200 rm -f core conftest.err conftest.$ac_objext \
9201 conftest$ac_exeext conftest.$ac_ext
9202 LIBS=$ac_check_soname_save_LIBS
9204 if ${ac_cv_lib_soname_EGL:+false} :; then :
9205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9206 $as_echo "not found" >&6; }
9208 else
9209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
9210 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
9212 cat >>confdefs.h <<_ACEOF
9213 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
9214 _ACEOF
9218 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
9219 $as_echo_n "checking for -lGLESv2... " >&6; }
9220 if ${ac_cv_lib_soname_GLESv2+:} false; then :
9221 $as_echo_n "(cached) " >&6
9222 else
9223 ac_check_soname_save_LIBS=$LIBS
9224 LIBS="-lGLESv2 $LIBS"
9225 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9226 /* end confdefs.h. */
9228 /* Override any GCC internal prototype to avoid an error.
9229 Use char because int might match the return type of a GCC
9230 builtin and then its argument prototype would still apply. */
9231 #ifdef __cplusplus
9232 extern "C"
9233 #endif
9234 char glFlush ();
9236 main ()
9238 return glFlush ();
9240 return 0;
9242 _ACEOF
9243 if ac_fn_c_try_link "$LINENO"; then :
9244 case "$LIBEXT" in
9245 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9246 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'` ;;
9247 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9248 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9249 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9250 fi ;;
9251 esac
9252 else
9253 ac_cv_lib_soname_GLESv2=
9255 rm -f core conftest.err conftest.$ac_objext \
9256 conftest$ac_exeext conftest.$ac_ext
9257 LIBS=$ac_check_soname_save_LIBS
9259 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
9260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9261 $as_echo "not found" >&6; }
9263 else
9264 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
9265 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
9267 cat >>confdefs.h <<_ACEOF
9268 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
9269 _ACEOF
9274 if test "x$exec_prefix" = xNONE
9275 then
9276 case $host_cpu in
9277 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
9278 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
9279 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
9280 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
9281 esac
9286 case $host_cpu in
9287 *i[3456789]86*)
9288 DLLFLAGS="$DLLFLAGS -fno-PIC"
9289 LDDLLFLAGS="-fno-PIC" ;;
9291 DLLFLAGS="$DLLFLAGS -fPIC"
9292 LDDLLFLAGS="-fPIC" ;;
9293 esac
9294 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
9295 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
9296 if ${ac_cv_c_dll_gnuelf+:} false; then :
9297 $as_echo_n "(cached) " >&6
9298 else
9299 ac_wine_try_cflags_saved=$CFLAGS
9300 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
9301 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9302 /* end confdefs.h. */
9303 void myfunc() {}
9304 _ACEOF
9305 if ac_fn_c_try_link "$LINENO"; then :
9306 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=yes
9307 else
9308 ac_cv_cflags__fPIC__shared__Wl__Bsymbolic=no
9310 rm -f core conftest.err conftest.$ac_objext \
9311 conftest$ac_exeext conftest.$ac_ext
9312 CFLAGS=$ac_wine_try_cflags_saved
9313 if test "x$ac_cv_cflags__fPIC__shared__Wl__Bsymbolic" = xyes; then :
9314 ac_cv_c_dll_gnuelf="yes"
9315 else
9316 ac_cv_c_dll_gnuelf="no"
9319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
9320 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
9321 if test "$ac_cv_c_dll_gnuelf" = "yes"
9322 then
9323 LIBWINE_LDFLAGS="-shared"
9324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-soname,confest.so.1" >&5
9325 $as_echo_n "checking whether the compiler supports -shared -Wl,-soname,confest.so.1... " >&6; }
9326 if ${ac_cv_cflags__shared__Wl__soname_confest_so_1+:} false; then :
9327 $as_echo_n "(cached) " >&6
9328 else
9329 ac_wine_try_cflags_saved=$CFLAGS
9330 CFLAGS="$CFLAGS -shared -Wl,-soname,confest.so.1"
9331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9332 /* end confdefs.h. */
9333 int main(int argc, char **argv) { return 0; }
9334 _ACEOF
9335 if ac_fn_c_try_link "$LINENO"; then :
9336 ac_cv_cflags__shared__Wl__soname_confest_so_1=yes
9337 else
9338 ac_cv_cflags__shared__Wl__soname_confest_so_1=no
9340 rm -f core conftest.err conftest.$ac_objext \
9341 conftest$ac_exeext conftest.$ac_ext
9342 CFLAGS=$ac_wine_try_cflags_saved
9344 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__soname_confest_so_1" >&5
9345 $as_echo "$ac_cv_cflags__shared__Wl__soname_confest_so_1" >&6; }
9346 if test "x$ac_cv_cflags__shared__Wl__soname_confest_so_1" = xyes; then :
9347 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
9348 else
9349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,-h,confest.so.1" >&5
9350 $as_echo_n "checking whether the compiler supports -shared -Wl,-h,confest.so.1... " >&6; }
9351 if ${ac_cv_cflags__shared__Wl__h_confest_so_1+:} false; then :
9352 $as_echo_n "(cached) " >&6
9353 else
9354 ac_wine_try_cflags_saved=$CFLAGS
9355 CFLAGS="$CFLAGS -shared -Wl,-h,confest.so.1"
9356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9357 /* end confdefs.h. */
9358 int main(int argc, char **argv) { return 0; }
9359 _ACEOF
9360 if ac_fn_c_try_link "$LINENO"; then :
9361 ac_cv_cflags__shared__Wl__h_confest_so_1=yes
9362 else
9363 ac_cv_cflags__shared__Wl__h_confest_so_1=no
9365 rm -f core conftest.err conftest.$ac_objext \
9366 conftest$ac_exeext conftest.$ac_ext
9367 CFLAGS=$ac_wine_try_cflags_saved
9369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl__h_confest_so_1" >&5
9370 $as_echo "$ac_cv_cflags__shared__Wl__h_confest_so_1" >&6; }
9371 if test "x$ac_cv_cflags__shared__Wl__h_confest_so_1" = xyes; then :
9372 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
9376 echo '{ global: *; };' >conftest.map
9377 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -shared -Wl,--version-script=conftest.map" >&5
9378 $as_echo_n "checking whether the compiler supports -shared -Wl,--version-script=conftest.map... " >&6; }
9379 if ${ac_cv_cflags__shared__Wl___version_script_conftest_map+:} false; then :
9380 $as_echo_n "(cached) " >&6
9381 else
9382 ac_wine_try_cflags_saved=$CFLAGS
9383 CFLAGS="$CFLAGS -shared -Wl,--version-script=conftest.map"
9384 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9385 /* end confdefs.h. */
9386 int main(int argc, char **argv) { return 0; }
9387 _ACEOF
9388 if ac_fn_c_try_link "$LINENO"; then :
9389 ac_cv_cflags__shared__Wl___version_script_conftest_map=yes
9390 else
9391 ac_cv_cflags__shared__Wl___version_script_conftest_map=no
9393 rm -f core conftest.err conftest.$ac_objext \
9394 conftest$ac_exeext conftest.$ac_ext
9395 CFLAGS=$ac_wine_try_cflags_saved
9397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__shared__Wl___version_script_conftest_map" >&5
9398 $as_echo "$ac_cv_cflags__shared__Wl___version_script_conftest_map" >&6; }
9399 if test "x$ac_cv_cflags__shared__Wl___version_script_conftest_map" = xyes; then :
9400 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
9402 rm -f conftest.map
9404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--export-dynamic" >&5
9405 $as_echo_n "checking whether the compiler supports -Wl,--export-dynamic... " >&6; }
9406 if ${ac_cv_cflags__Wl___export_dynamic+:} false; then :
9407 $as_echo_n "(cached) " >&6
9408 else
9409 ac_wine_try_cflags_saved=$CFLAGS
9410 CFLAGS="$CFLAGS -Wl,--export-dynamic"
9411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9412 /* end confdefs.h. */
9413 int main(int argc, char **argv) { return 0; }
9414 _ACEOF
9415 if ac_fn_c_try_link "$LINENO"; then :
9416 ac_cv_cflags__Wl___export_dynamic=yes
9417 else
9418 ac_cv_cflags__Wl___export_dynamic=no
9420 rm -f core conftest.err conftest.$ac_objext \
9421 conftest$ac_exeext conftest.$ac_ext
9422 CFLAGS=$ac_wine_try_cflags_saved
9424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___export_dynamic" >&5
9425 $as_echo "$ac_cv_cflags__Wl___export_dynamic" >&6; }
9426 if test "x$ac_cv_cflags__Wl___export_dynamic" = xyes; then :
9427 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
9429 WINEPRELOADER_LDFLAGS="-static -nostartfiles -nodefaultlibs -Wl,-Ttext=0x7c400000"
9431 as_ac_var=`$as_echo "ac_cv_cflags_-Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
9432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--rpath,\$ORIGIN/../lib" >&5
9433 $as_echo_n "checking whether the compiler supports -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
9434 if eval \${$as_ac_var+:} false; then :
9435 $as_echo_n "(cached) " >&6
9436 else
9437 ac_wine_try_cflags_saved=$CFLAGS
9438 CFLAGS="$CFLAGS -Wl,--rpath,\$ORIGIN/../lib"
9439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9440 /* end confdefs.h. */
9441 int main(int argc, char **argv) { return 0; }
9442 _ACEOF
9443 if ac_fn_c_try_link "$LINENO"; then :
9444 eval "$as_ac_var=yes"
9445 else
9446 eval "$as_ac_var=no"
9448 rm -f core conftest.err conftest.$ac_objext \
9449 conftest$ac_exeext conftest.$ac_ext
9450 CFLAGS=$ac_wine_try_cflags_saved
9452 eval ac_res=\$$as_ac_var
9453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9454 $as_echo "$ac_res" >&6; }
9455 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9456 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9457 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9458 else
9459 as_ac_var=`$as_echo "ac_cv_cflags_-Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
9460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-R,\$ORIGIN/../lib" >&5
9461 $as_echo_n "checking whether the compiler supports -Wl,-R,\$ORIGIN/../lib... " >&6; }
9462 if eval \${$as_ac_var+:} false; then :
9463 $as_echo_n "(cached) " >&6
9464 else
9465 ac_wine_try_cflags_saved=$CFLAGS
9466 CFLAGS="$CFLAGS -Wl,-R,\$ORIGIN/../lib"
9467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9468 /* end confdefs.h. */
9469 int main(int argc, char **argv) { return 0; }
9470 _ACEOF
9471 if ac_fn_c_try_link "$LINENO"; then :
9472 eval "$as_ac_var=yes"
9473 else
9474 eval "$as_ac_var=no"
9476 rm -f core conftest.err conftest.$ac_objext \
9477 conftest$ac_exeext conftest.$ac_ext
9478 CFLAGS=$ac_wine_try_cflags_saved
9480 eval ac_res=\$$as_ac_var
9481 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
9482 $as_echo "$ac_res" >&6; }
9483 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
9484 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
9485 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
9489 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
9490 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
9491 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
9492 $as_echo_n "(cached) " >&6
9493 else
9494 ac_wine_try_cflags_saved=$CFLAGS
9495 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
9496 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9497 /* end confdefs.h. */
9498 int main(int argc, char **argv) { return 0; }
9499 _ACEOF
9500 if ac_fn_c_try_link "$LINENO"; then :
9501 ac_cv_cflags__Wl___enable_new_dtags=yes
9502 else
9503 ac_cv_cflags__Wl___enable_new_dtags=no
9505 rm -f core conftest.err conftest.$ac_objext \
9506 conftest$ac_exeext conftest.$ac_ext
9507 CFLAGS=$ac_wine_try_cflags_saved
9509 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
9510 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
9511 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
9512 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
9515 case $host_cpu in
9516 *i[3456789]86* | x86_64 | *aarch64*)
9517 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
9518 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
9519 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
9520 $as_echo_n "(cached) " >&6
9521 else
9522 ac_wine_try_cflags_saved=$CFLAGS
9523 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
9524 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9525 /* end confdefs.h. */
9526 int main(int argc, char **argv) { return 0; }
9527 _ACEOF
9528 if ac_fn_c_try_link "$LINENO"; then :
9529 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
9530 else
9531 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
9533 rm -f core conftest.err conftest.$ac_objext \
9534 conftest$ac_exeext conftest.$ac_ext
9535 CFLAGS=$ac_wine_try_cflags_saved
9537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
9538 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
9539 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
9540 case $host_os in
9541 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
9542 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
9543 esac
9544 else
9545 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
9546 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
9547 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
9548 $as_echo_n "(cached) " >&6
9549 else
9550 ac_wine_try_cflags_saved=$CFLAGS
9551 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
9552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9553 /* end confdefs.h. */
9554 int main(int argc, char **argv) { return 0; }
9555 _ACEOF
9556 if ac_fn_c_try_link "$LINENO"; then :
9557 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
9558 else
9559 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
9561 rm -f core conftest.err conftest.$ac_objext \
9562 conftest$ac_exeext conftest.$ac_ext
9563 CFLAGS=$ac_wine_try_cflags_saved
9565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
9566 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
9567 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
9568 case $host_os in
9569 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
9570 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
9571 esac
9573 # Extract the first word of "prelink", so it can be a program name with args.
9574 set dummy prelink; ac_word=$2
9575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9576 $as_echo_n "checking for $ac_word... " >&6; }
9577 if ${ac_cv_path_PRELINK+:} false; then :
9578 $as_echo_n "(cached) " >&6
9579 else
9580 case $PRELINK in
9581 [\\/]* | ?:[\\/]*)
9582 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
9585 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9586 for as_dir in /sbin /usr/sbin $PATH
9588 IFS=$as_save_IFS
9589 test -z "$as_dir" && as_dir=.
9590 for ac_exec_ext in '' $ac_executable_extensions; do
9591 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9592 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
9593 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9594 break 2
9596 done
9597 done
9598 IFS=$as_save_IFS
9600 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
9602 esac
9604 PRELINK=$ac_cv_path_PRELINK
9605 if test -n "$PRELINK"; then
9606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
9607 $as_echo "$PRELINK" >&6; }
9608 else
9609 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9610 $as_echo "no" >&6; }
9614 if test "x$PRELINK" = xfalse
9615 then
9616 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
9619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
9620 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
9621 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
9622 $as_echo_n "(cached) " >&6
9623 else
9624 ac_wine_try_cflags_saved=$CFLAGS
9625 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
9626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9627 /* end confdefs.h. */
9628 int main(int argc, char **argv) { return 0; }
9629 _ACEOF
9630 if ac_fn_c_try_link "$LINENO"; then :
9631 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
9632 else
9633 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
9635 rm -f core conftest.err conftest.$ac_objext \
9636 conftest$ac_exeext conftest.$ac_ext
9637 CFLAGS=$ac_wine_try_cflags_saved
9639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
9640 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
9641 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
9642 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
9645 esac
9647 else
9648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
9649 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
9650 if ${ac_cv_c_dll_unixware+:} false; then :
9651 $as_echo_n "(cached) " >&6
9652 else
9653 ac_wine_try_cflags_saved=$CFLAGS
9654 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
9655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9656 /* end confdefs.h. */
9657 void myfunc() {}
9658 _ACEOF
9659 if ac_fn_c_try_link "$LINENO"; then :
9660 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=yes
9661 else
9662 ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic=no
9664 rm -f core conftest.err conftest.$ac_objext \
9665 conftest$ac_exeext conftest.$ac_ext
9666 CFLAGS=$ac_wine_try_cflags_saved
9667 if test "x$ac_cv_cflags__fPIC__Wl__G__h_conftest_so_1_0__B_symbolic" = xyes; then :
9668 ac_cv_c_dll_unixware="yes"
9669 else
9670 ac_cv_c_dll_unixware="no"
9673 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
9674 $as_echo "$ac_cv_c_dll_unixware" >&6; }
9675 if test "$ac_cv_c_dll_unixware" = "yes"
9676 then
9677 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
9680 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
9682 LIBWINE_DEPENDS="wine.map"
9684 TOP_INSTALL_LIB="$TOP_INSTALL_LIB libs/wine/libwine.so.$libwine_version libs/wine/libwine.so.$libwine_soversion"
9685 TOP_INSTALL_DEV="$TOP_INSTALL_DEV libs/wine/libwine.so"
9687 esac
9689 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
9690 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
9691 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
9692 enable_winemac_drv=${enable_winemac_drv:-no}
9693 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
9695 CROSSTARGET=""
9697 if test "x$with_mingw" != xno
9698 then
9699 case "x$with_mingw" in
9700 x|xyes) case "$host_cpu" in
9701 aarch64*)
9702 ac_prefix_list="aarch64-w64-mingw32-clang aarch64-w64-mingw32-gcc" ;;
9703 arm*)
9704 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
9705 i[3456789]86*)
9706 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
9707 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
9708 mingw32-gcc" ;;
9709 x86_64)
9710 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
9711 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
9713 ac_prefix_list="" ;;
9714 esac
9715 for ac_prog in $ac_prefix_list
9717 # Extract the first word of "$ac_prog", so it can be a program name with args.
9718 set dummy $ac_prog; ac_word=$2
9719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
9720 $as_echo_n "checking for $ac_word... " >&6; }
9721 if ${ac_cv_prog_CROSSCC+:} false; then :
9722 $as_echo_n "(cached) " >&6
9723 else
9724 if test -n "$CROSSCC"; then
9725 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
9726 else
9727 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
9728 for as_dir in $PATH
9730 IFS=$as_save_IFS
9731 test -z "$as_dir" && as_dir=.
9732 for ac_exec_ext in '' $ac_executable_extensions; do
9733 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
9734 ac_cv_prog_CROSSCC="$ac_prog"
9735 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
9736 break 2
9738 done
9739 done
9740 IFS=$as_save_IFS
9744 CROSSCC=$ac_cv_prog_CROSSCC
9745 if test -n "$CROSSCC"; then
9746 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
9747 $as_echo "$CROSSCC" >&6; }
9748 else
9749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9750 $as_echo "no" >&6; }
9754 test -n "$CROSSCC" && break
9755 done
9756 test -n "$CROSSCC" || CROSSCC="false"
9758 *) CROSSCC=$with_mingw ;;
9759 esac
9760 if test "$CROSSCC" != "false"
9761 then
9762 ac_save_CC="$CC"
9763 saved_CFLAGS=$CFLAGS
9764 CROSSCFLAGS=${CROSSCFLAGS:-"-g -O2"}
9766 EXTRACROSSCFLAGS="-DWINE_CROSS_PE -Wall"
9770 CC="$CROSSCC"
9771 CFLAGS=$CROSSCFLAGS
9772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
9773 $as_echo_n "checking whether $CROSSCC works... " >&6; }
9774 if ${wine_cv_crosscc+:} false; then :
9775 $as_echo_n "(cached) " >&6
9776 else
9777 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9778 /* end confdefs.h. */
9781 main ()
9785 return 0;
9787 _ACEOF
9788 if ac_fn_c_try_compile "$LINENO"; then :
9789 wine_cv_crosscc=yes
9790 else
9791 wine_cv_crosscc=no
9793 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
9795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_crosscc" >&5
9796 $as_echo "$wine_cv_crosscc" >&6; }
9797 if test $wine_cv_crosscc = yes
9798 then
9799 set x $CROSSCC
9800 shift
9801 while test $# -ge 1
9803 case "$1" in
9804 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
9805 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
9806 esac
9807 shift
9808 done
9810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-strict-aliasing" >&5
9811 $as_echo_n "checking whether the cross-compiler supports -fno-strict-aliasing... " >&6; }
9812 if ${ac_cv_crosscflags__fno_strict_aliasing+:} false; then :
9813 $as_echo_n "(cached) " >&6
9814 else
9815 ac_wine_try_cflags_saved=$CFLAGS
9816 ac_wine_try_cflags_saved_cc=$CC
9817 ac_wine_try_cflags_saved_exeext=$ac_exeext
9818 CFLAGS="$CFLAGS -fno-strict-aliasing"
9819 CC="$CROSSCC"
9820 ac_exeext=".exe"
9821 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9822 /* end confdefs.h. */
9823 int main(int argc, char **argv) { return 0; }
9824 _ACEOF
9825 if ac_fn_c_try_link "$LINENO"; then :
9826 ac_cv_crosscflags__fno_strict_aliasing=yes
9827 else
9828 ac_cv_crosscflags__fno_strict_aliasing=no
9830 rm -f core conftest.err conftest.$ac_objext \
9831 conftest$ac_exeext conftest.$ac_ext
9832 CFLAGS=$ac_wine_try_cflags_saved
9833 CC=$ac_wine_try_cflags_saved_cc
9834 ac_exeext=$ac_wine_try_cflags_saved_exeext
9836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_strict_aliasing" >&5
9837 $as_echo "$ac_cv_crosscflags__fno_strict_aliasing" >&6; }
9838 if test "x$ac_cv_crosscflags__fno_strict_aliasing" = xyes; then :
9839 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-strict-aliasing"
9841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror=unknown-warning-option" >&5
9842 $as_echo_n "checking whether the cross-compiler supports -Werror=unknown-warning-option... " >&6; }
9843 if ${ac_cv_crosscflags__Werror_unknown_warning_option+:} false; then :
9844 $as_echo_n "(cached) " >&6
9845 else
9846 ac_wine_try_cflags_saved=$CFLAGS
9847 ac_wine_try_cflags_saved_cc=$CC
9848 ac_wine_try_cflags_saved_exeext=$ac_exeext
9849 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9850 CC="$CROSSCC"
9851 ac_exeext=".exe"
9852 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9853 /* end confdefs.h. */
9854 int main(int argc, char **argv) { return 0; }
9855 _ACEOF
9856 if ac_fn_c_try_link "$LINENO"; then :
9857 ac_cv_crosscflags__Werror_unknown_warning_option=yes
9858 else
9859 ac_cv_crosscflags__Werror_unknown_warning_option=no
9861 rm -f core conftest.err conftest.$ac_objext \
9862 conftest$ac_exeext conftest.$ac_ext
9863 CFLAGS=$ac_wine_try_cflags_saved
9864 CC=$ac_wine_try_cflags_saved_cc
9865 ac_exeext=$ac_wine_try_cflags_saved_exeext
9867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror_unknown_warning_option" >&5
9868 $as_echo "$ac_cv_crosscflags__Werror_unknown_warning_option" >&6; }
9869 if test "x$ac_cv_crosscflags__Werror_unknown_warning_option" = xyes; then :
9870 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
9872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wdeclaration-after-statement" >&5
9873 $as_echo_n "checking whether the cross-compiler supports -Wdeclaration-after-statement... " >&6; }
9874 if ${ac_cv_crosscflags__Wdeclaration_after_statement+:} false; then :
9875 $as_echo_n "(cached) " >&6
9876 else
9877 ac_wine_try_cflags_saved=$CFLAGS
9878 ac_wine_try_cflags_saved_cc=$CC
9879 ac_wine_try_cflags_saved_exeext=$ac_exeext
9880 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
9881 CC="$CROSSCC"
9882 ac_exeext=".exe"
9883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9884 /* end confdefs.h. */
9885 int main(int argc, char **argv) { return 0; }
9886 _ACEOF
9887 if ac_fn_c_try_link "$LINENO"; then :
9888 ac_cv_crosscflags__Wdeclaration_after_statement=yes
9889 else
9890 ac_cv_crosscflags__Wdeclaration_after_statement=no
9892 rm -f core conftest.err conftest.$ac_objext \
9893 conftest$ac_exeext conftest.$ac_ext
9894 CFLAGS=$ac_wine_try_cflags_saved
9895 CC=$ac_wine_try_cflags_saved_cc
9896 ac_exeext=$ac_wine_try_cflags_saved_exeext
9898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wdeclaration_after_statement" >&5
9899 $as_echo "$ac_cv_crosscflags__Wdeclaration_after_statement" >&6; }
9900 if test "x$ac_cv_crosscflags__Wdeclaration_after_statement" = xyes; then :
9901 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wdeclaration-after-statement"
9903 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wempty-body" >&5
9904 $as_echo_n "checking whether the cross-compiler supports -Wempty-body... " >&6; }
9905 if ${ac_cv_crosscflags__Wempty_body+:} false; then :
9906 $as_echo_n "(cached) " >&6
9907 else
9908 ac_wine_try_cflags_saved=$CFLAGS
9909 ac_wine_try_cflags_saved_cc=$CC
9910 ac_wine_try_cflags_saved_exeext=$ac_exeext
9911 CFLAGS="$CFLAGS -Wempty-body"
9912 CC="$CROSSCC"
9913 ac_exeext=".exe"
9914 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9915 /* end confdefs.h. */
9916 int main(int argc, char **argv) { return 0; }
9917 _ACEOF
9918 if ac_fn_c_try_link "$LINENO"; then :
9919 ac_cv_crosscflags__Wempty_body=yes
9920 else
9921 ac_cv_crosscflags__Wempty_body=no
9923 rm -f core conftest.err conftest.$ac_objext \
9924 conftest$ac_exeext conftest.$ac_ext
9925 CFLAGS=$ac_wine_try_cflags_saved
9926 CC=$ac_wine_try_cflags_saved_cc
9927 ac_exeext=$ac_wine_try_cflags_saved_exeext
9929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wempty_body" >&5
9930 $as_echo "$ac_cv_crosscflags__Wempty_body" >&6; }
9931 if test "x$ac_cv_crosscflags__Wempty_body" = xyes; then :
9932 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wempty-body"
9934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wignored-qualifiers" >&5
9935 $as_echo_n "checking whether the cross-compiler supports -Wignored-qualifiers... " >&6; }
9936 if ${ac_cv_crosscflags__Wignored_qualifiers+:} false; then :
9937 $as_echo_n "(cached) " >&6
9938 else
9939 ac_wine_try_cflags_saved=$CFLAGS
9940 ac_wine_try_cflags_saved_cc=$CC
9941 ac_wine_try_cflags_saved_exeext=$ac_exeext
9942 CFLAGS="$CFLAGS -Wignored-qualifiers"
9943 CC="$CROSSCC"
9944 ac_exeext=".exe"
9945 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9946 /* end confdefs.h. */
9947 int main(int argc, char **argv) { return 0; }
9948 _ACEOF
9949 if ac_fn_c_try_link "$LINENO"; then :
9950 ac_cv_crosscflags__Wignored_qualifiers=yes
9951 else
9952 ac_cv_crosscflags__Wignored_qualifiers=no
9954 rm -f core conftest.err conftest.$ac_objext \
9955 conftest$ac_exeext conftest.$ac_ext
9956 CFLAGS=$ac_wine_try_cflags_saved
9957 CC=$ac_wine_try_cflags_saved_cc
9958 ac_exeext=$ac_wine_try_cflags_saved_exeext
9960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wignored_qualifiers" >&5
9961 $as_echo "$ac_cv_crosscflags__Wignored_qualifiers" >&6; }
9962 if test "x$ac_cv_crosscflags__Wignored_qualifiers" = xyes; then :
9963 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wignored-qualifiers"
9965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpacked-not-aligned" >&5
9966 $as_echo_n "checking whether the cross-compiler supports -Wpacked-not-aligned... " >&6; }
9967 if ${ac_cv_crosscflags__Wpacked_not_aligned+:} false; then :
9968 $as_echo_n "(cached) " >&6
9969 else
9970 ac_wine_try_cflags_saved=$CFLAGS
9971 ac_wine_try_cflags_saved_cc=$CC
9972 ac_wine_try_cflags_saved_exeext=$ac_exeext
9973 CFLAGS="$CFLAGS -Wpacked-not-aligned"
9974 CC="$CROSSCC"
9975 ac_exeext=".exe"
9976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9977 /* end confdefs.h. */
9978 int main(int argc, char **argv) { return 0; }
9979 _ACEOF
9980 if ac_fn_c_try_link "$LINENO"; then :
9981 ac_cv_crosscflags__Wpacked_not_aligned=yes
9982 else
9983 ac_cv_crosscflags__Wpacked_not_aligned=no
9985 rm -f core conftest.err conftest.$ac_objext \
9986 conftest$ac_exeext conftest.$ac_ext
9987 CFLAGS=$ac_wine_try_cflags_saved
9988 CC=$ac_wine_try_cflags_saved_cc
9989 ac_exeext=$ac_wine_try_cflags_saved_exeext
9991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpacked_not_aligned" >&5
9992 $as_echo "$ac_cv_crosscflags__Wpacked_not_aligned" >&6; }
9993 if test "x$ac_cv_crosscflags__Wpacked_not_aligned" = xyes; then :
9994 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-packed-not-aligned"
9996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpragma-pack" >&5
9997 $as_echo_n "checking whether the cross-compiler supports -Wpragma-pack... " >&6; }
9998 if ${ac_cv_crosscflags__Wpragma_pack+:} false; then :
9999 $as_echo_n "(cached) " >&6
10000 else
10001 ac_wine_try_cflags_saved=$CFLAGS
10002 ac_wine_try_cflags_saved_cc=$CC
10003 ac_wine_try_cflags_saved_exeext=$ac_exeext
10004 CFLAGS="$CFLAGS -Wpragma-pack"
10005 CC="$CROSSCC"
10006 ac_exeext=".exe"
10007 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10008 /* end confdefs.h. */
10009 int main(int argc, char **argv) { return 0; }
10010 _ACEOF
10011 if ac_fn_c_try_link "$LINENO"; then :
10012 ac_cv_crosscflags__Wpragma_pack=yes
10013 else
10014 ac_cv_crosscflags__Wpragma_pack=no
10016 rm -f core conftest.err conftest.$ac_objext \
10017 conftest$ac_exeext conftest.$ac_ext
10018 CFLAGS=$ac_wine_try_cflags_saved
10019 CC=$ac_wine_try_cflags_saved_cc
10020 ac_exeext=$ac_wine_try_cflags_saved_exeext
10022 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpragma_pack" >&5
10023 $as_echo "$ac_cv_crosscflags__Wpragma_pack" >&6; }
10024 if test "x$ac_cv_crosscflags__Wpragma_pack" = xyes; then :
10025 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-pragma-pack"
10027 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wshift-overflow=2" >&5
10028 $as_echo_n "checking whether the cross-compiler supports -Wshift-overflow=2... " >&6; }
10029 if ${ac_cv_crosscflags__Wshift_overflow_2+:} false; then :
10030 $as_echo_n "(cached) " >&6
10031 else
10032 ac_wine_try_cflags_saved=$CFLAGS
10033 ac_wine_try_cflags_saved_cc=$CC
10034 ac_wine_try_cflags_saved_exeext=$ac_exeext
10035 CFLAGS="$CFLAGS -Wshift-overflow=2"
10036 CC="$CROSSCC"
10037 ac_exeext=".exe"
10038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10039 /* end confdefs.h. */
10040 int main(int argc, char **argv) { return 0; }
10041 _ACEOF
10042 if ac_fn_c_try_link "$LINENO"; then :
10043 ac_cv_crosscflags__Wshift_overflow_2=yes
10044 else
10045 ac_cv_crosscflags__Wshift_overflow_2=no
10047 rm -f core conftest.err conftest.$ac_objext \
10048 conftest$ac_exeext conftest.$ac_ext
10049 CFLAGS=$ac_wine_try_cflags_saved
10050 CC=$ac_wine_try_cflags_saved_cc
10051 ac_exeext=$ac_wine_try_cflags_saved_exeext
10053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wshift_overflow_2" >&5
10054 $as_echo "$ac_cv_crosscflags__Wshift_overflow_2" >&6; }
10055 if test "x$ac_cv_crosscflags__Wshift_overflow_2" = xyes; then :
10056 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wshift-overflow=2"
10058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wstrict-prototypes" >&5
10059 $as_echo_n "checking whether the cross-compiler supports -Wstrict-prototypes... " >&6; }
10060 if ${ac_cv_crosscflags__Wstrict_prototypes+:} false; then :
10061 $as_echo_n "(cached) " >&6
10062 else
10063 ac_wine_try_cflags_saved=$CFLAGS
10064 ac_wine_try_cflags_saved_cc=$CC
10065 ac_wine_try_cflags_saved_exeext=$ac_exeext
10066 CFLAGS="$CFLAGS -Wstrict-prototypes"
10067 CC="$CROSSCC"
10068 ac_exeext=".exe"
10069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10070 /* end confdefs.h. */
10071 int main(int argc, char **argv) { return 0; }
10072 _ACEOF
10073 if ac_fn_c_try_link "$LINENO"; then :
10074 ac_cv_crosscflags__Wstrict_prototypes=yes
10075 else
10076 ac_cv_crosscflags__Wstrict_prototypes=no
10078 rm -f core conftest.err conftest.$ac_objext \
10079 conftest$ac_exeext conftest.$ac_ext
10080 CFLAGS=$ac_wine_try_cflags_saved
10081 CC=$ac_wine_try_cflags_saved_cc
10082 ac_exeext=$ac_wine_try_cflags_saved_exeext
10084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wstrict_prototypes" >&5
10085 $as_echo "$ac_cv_crosscflags__Wstrict_prototypes" >&6; }
10086 if test "x$ac_cv_crosscflags__Wstrict_prototypes" = xyes; then :
10087 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wstrict-prototypes"
10089 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wtype-limits" >&5
10090 $as_echo_n "checking whether the cross-compiler supports -Wtype-limits... " >&6; }
10091 if ${ac_cv_crosscflags__Wtype_limits+:} false; then :
10092 $as_echo_n "(cached) " >&6
10093 else
10094 ac_wine_try_cflags_saved=$CFLAGS
10095 ac_wine_try_cflags_saved_cc=$CC
10096 ac_wine_try_cflags_saved_exeext=$ac_exeext
10097 CFLAGS="$CFLAGS -Wtype-limits"
10098 CC="$CROSSCC"
10099 ac_exeext=".exe"
10100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10101 /* end confdefs.h. */
10102 int main(int argc, char **argv) { return 0; }
10103 _ACEOF
10104 if ac_fn_c_try_link "$LINENO"; then :
10105 ac_cv_crosscflags__Wtype_limits=yes
10106 else
10107 ac_cv_crosscflags__Wtype_limits=no
10109 rm -f core conftest.err conftest.$ac_objext \
10110 conftest$ac_exeext conftest.$ac_ext
10111 CFLAGS=$ac_wine_try_cflags_saved
10112 CC=$ac_wine_try_cflags_saved_cc
10113 ac_exeext=$ac_wine_try_cflags_saved_exeext
10115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wtype_limits" >&5
10116 $as_echo "$ac_cv_crosscflags__Wtype_limits" >&6; }
10117 if test "x$ac_cv_crosscflags__Wtype_limits" = xyes; then :
10118 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wtype-limits"
10120 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wunused-but-set-parameter" >&5
10121 $as_echo_n "checking whether the cross-compiler supports -Wunused-but-set-parameter... " >&6; }
10122 if ${ac_cv_crosscflags__Wunused_but_set_parameter+:} false; then :
10123 $as_echo_n "(cached) " >&6
10124 else
10125 ac_wine_try_cflags_saved=$CFLAGS
10126 ac_wine_try_cflags_saved_cc=$CC
10127 ac_wine_try_cflags_saved_exeext=$ac_exeext
10128 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
10129 CC="$CROSSCC"
10130 ac_exeext=".exe"
10131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10132 /* end confdefs.h. */
10133 int main(int argc, char **argv) { return 0; }
10134 _ACEOF
10135 if ac_fn_c_try_link "$LINENO"; then :
10136 ac_cv_crosscflags__Wunused_but_set_parameter=yes
10137 else
10138 ac_cv_crosscflags__Wunused_but_set_parameter=no
10140 rm -f core conftest.err conftest.$ac_objext \
10141 conftest$ac_exeext conftest.$ac_ext
10142 CFLAGS=$ac_wine_try_cflags_saved
10143 CC=$ac_wine_try_cflags_saved_cc
10144 ac_exeext=$ac_wine_try_cflags_saved_exeext
10146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wunused_but_set_parameter" >&5
10147 $as_echo "$ac_cv_crosscflags__Wunused_but_set_parameter" >&6; }
10148 if test "x$ac_cv_crosscflags__Wunused_but_set_parameter" = xyes; then :
10149 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wunused-but-set-parameter"
10151 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wvla" >&5
10152 $as_echo_n "checking whether the cross-compiler supports -Wvla... " >&6; }
10153 if ${ac_cv_crosscflags__Wvla+:} false; then :
10154 $as_echo_n "(cached) " >&6
10155 else
10156 ac_wine_try_cflags_saved=$CFLAGS
10157 ac_wine_try_cflags_saved_cc=$CC
10158 ac_wine_try_cflags_saved_exeext=$ac_exeext
10159 CFLAGS="$CFLAGS -Wvla"
10160 CC="$CROSSCC"
10161 ac_exeext=".exe"
10162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10163 /* end confdefs.h. */
10164 int main(int argc, char **argv) { return 0; }
10165 _ACEOF
10166 if ac_fn_c_try_link "$LINENO"; then :
10167 ac_cv_crosscflags__Wvla=yes
10168 else
10169 ac_cv_crosscflags__Wvla=no
10171 rm -f core conftest.err conftest.$ac_objext \
10172 conftest$ac_exeext conftest.$ac_ext
10173 CFLAGS=$ac_wine_try_cflags_saved
10174 CC=$ac_wine_try_cflags_saved_cc
10175 ac_exeext=$ac_wine_try_cflags_saved_exeext
10177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wvla" >&5
10178 $as_echo "$ac_cv_crosscflags__Wvla" >&6; }
10179 if test "x$ac_cv_crosscflags__Wvla" = xyes; then :
10180 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wvla"
10182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wwrite-strings" >&5
10183 $as_echo_n "checking whether the cross-compiler supports -Wwrite-strings... " >&6; }
10184 if ${ac_cv_crosscflags__Wwrite_strings+:} false; then :
10185 $as_echo_n "(cached) " >&6
10186 else
10187 ac_wine_try_cflags_saved=$CFLAGS
10188 ac_wine_try_cflags_saved_cc=$CC
10189 ac_wine_try_cflags_saved_exeext=$ac_exeext
10190 CFLAGS="$CFLAGS -Wwrite-strings"
10191 CC="$CROSSCC"
10192 ac_exeext=".exe"
10193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10194 /* end confdefs.h. */
10195 int main(int argc, char **argv) { return 0; }
10196 _ACEOF
10197 if ac_fn_c_try_link "$LINENO"; then :
10198 ac_cv_crosscflags__Wwrite_strings=yes
10199 else
10200 ac_cv_crosscflags__Wwrite_strings=no
10202 rm -f core conftest.err conftest.$ac_objext \
10203 conftest$ac_exeext conftest.$ac_ext
10204 CFLAGS=$ac_wine_try_cflags_saved
10205 CC=$ac_wine_try_cflags_saved_cc
10206 ac_exeext=$ac_wine_try_cflags_saved_exeext
10208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wwrite_strings" >&5
10209 $as_echo "$ac_cv_crosscflags__Wwrite_strings" >&6; }
10210 if test "x$ac_cv_crosscflags__Wwrite_strings" = xyes; then :
10211 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wwrite-strings"
10213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wpointer-arith" >&5
10214 $as_echo_n "checking whether the cross-compiler supports -Wpointer-arith... " >&6; }
10215 if ${ac_cv_crosscflags__Wpointer_arith+:} false; then :
10216 $as_echo_n "(cached) " >&6
10217 else
10218 ac_wine_try_cflags_saved=$CFLAGS
10219 ac_wine_try_cflags_saved_cc=$CC
10220 ac_wine_try_cflags_saved_exeext=$ac_exeext
10221 CFLAGS="$CFLAGS -Wpointer-arith"
10222 CC="$CROSSCC"
10223 ac_exeext=".exe"
10224 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10225 /* end confdefs.h. */
10226 int main(int argc, char **argv) { return 0; }
10227 _ACEOF
10228 if ac_fn_c_try_link "$LINENO"; then :
10229 ac_cv_crosscflags__Wpointer_arith=yes
10230 else
10231 ac_cv_crosscflags__Wpointer_arith=no
10233 rm -f core conftest.err conftest.$ac_objext \
10234 conftest$ac_exeext conftest.$ac_ext
10235 CFLAGS=$ac_wine_try_cflags_saved
10236 CC=$ac_wine_try_cflags_saved_cc
10237 ac_exeext=$ac_wine_try_cflags_saved_exeext
10239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wpointer_arith" >&5
10240 $as_echo "$ac_cv_crosscflags__Wpointer_arith" >&6; }
10241 if test "x$ac_cv_crosscflags__Wpointer_arith" = xyes; then :
10242 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wpointer-arith"
10244 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wlogical-op" >&5
10245 $as_echo_n "checking whether the cross-compiler supports -Wlogical-op... " >&6; }
10246 if ${ac_cv_crosscflags__Wlogical_op+:} false; then :
10247 $as_echo_n "(cached) " >&6
10248 else
10249 ac_wine_try_cflags_saved=$CFLAGS
10250 ac_wine_try_cflags_saved_cc=$CC
10251 ac_wine_try_cflags_saved_exeext=$ac_exeext
10252 CFLAGS="$CFLAGS -Wlogical-op"
10253 CC="$CROSSCC"
10254 ac_exeext=".exe"
10255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10256 /* end confdefs.h. */
10257 int main(int argc, char **argv) { return 0; }
10258 _ACEOF
10259 if ac_fn_c_try_link "$LINENO"; then :
10260 ac_cv_crosscflags__Wlogical_op=yes
10261 else
10262 ac_cv_crosscflags__Wlogical_op=no
10264 rm -f core conftest.err conftest.$ac_objext \
10265 conftest$ac_exeext conftest.$ac_ext
10266 CFLAGS=$ac_wine_try_cflags_saved
10267 CC=$ac_wine_try_cflags_saved_cc
10268 ac_exeext=$ac_wine_try_cflags_saved_exeext
10270 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wlogical_op" >&5
10271 $as_echo "$ac_cv_crosscflags__Wlogical_op" >&6; }
10272 if test "x$ac_cv_crosscflags__Wlogical_op" = xyes; then :
10273 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wlogical-op"
10275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wincompatible-library-redeclaration" >&5
10276 $as_echo_n "checking whether the cross-compiler supports -Wincompatible-library-redeclaration... " >&6; }
10277 if ${ac_cv_crosscflags__Wincompatible_library_redeclaration+:} false; then :
10278 $as_echo_n "(cached) " >&6
10279 else
10280 ac_wine_try_cflags_saved=$CFLAGS
10281 ac_wine_try_cflags_saved_cc=$CC
10282 ac_wine_try_cflags_saved_exeext=$ac_exeext
10283 CFLAGS="$CFLAGS -Wincompatible-library-redeclaration"
10284 CC="$CROSSCC"
10285 ac_exeext=".exe"
10286 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10287 /* end confdefs.h. */
10288 int main(int argc, char **argv) { return 0; }
10289 _ACEOF
10290 if ac_fn_c_try_link "$LINENO"; then :
10291 ac_cv_crosscflags__Wincompatible_library_redeclaration=yes
10292 else
10293 ac_cv_crosscflags__Wincompatible_library_redeclaration=no
10295 rm -f core conftest.err conftest.$ac_objext \
10296 conftest$ac_exeext conftest.$ac_ext
10297 CFLAGS=$ac_wine_try_cflags_saved
10298 CC=$ac_wine_try_cflags_saved_cc
10299 ac_exeext=$ac_wine_try_cflags_saved_exeext
10301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wincompatible_library_redeclaration" >&5
10302 $as_echo "$ac_cv_crosscflags__Wincompatible_library_redeclaration" >&6; }
10303 if test "x$ac_cv_crosscflags__Wincompatible_library_redeclaration" = xyes; then :
10304 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-incompatible-library-redeclaration"
10307 case $host_cpu in
10308 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -fno-omit-frame-pointer" >&5
10309 $as_echo_n "checking whether the cross-compiler supports -fno-omit-frame-pointer... " >&6; }
10310 if ${ac_cv_crosscflags__fno_omit_frame_pointer+:} false; then :
10311 $as_echo_n "(cached) " >&6
10312 else
10313 ac_wine_try_cflags_saved=$CFLAGS
10314 ac_wine_try_cflags_saved_cc=$CC
10315 ac_wine_try_cflags_saved_exeext=$ac_exeext
10316 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
10317 CC="$CROSSCC"
10318 ac_exeext=".exe"
10319 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10320 /* end confdefs.h. */
10321 int main(int argc, char **argv) { return 0; }
10322 _ACEOF
10323 if ac_fn_c_try_link "$LINENO"; then :
10324 ac_cv_crosscflags__fno_omit_frame_pointer=yes
10325 else
10326 ac_cv_crosscflags__fno_omit_frame_pointer=no
10328 rm -f core conftest.err conftest.$ac_objext \
10329 conftest$ac_exeext conftest.$ac_ext
10330 CFLAGS=$ac_wine_try_cflags_saved
10331 CC=$ac_wine_try_cflags_saved_cc
10332 ac_exeext=$ac_wine_try_cflags_saved_exeext
10334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__fno_omit_frame_pointer" >&5
10335 $as_echo "$ac_cv_crosscflags__fno_omit_frame_pointer" >&6; }
10336 if test "x$ac_cv_crosscflags__fno_omit_frame_pointer" = xyes; then :
10337 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -fno-omit-frame-pointer"
10338 fi ;;
10339 x86_64) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Wno-format" >&5
10340 $as_echo_n "checking whether the cross-compiler supports -Wno-format... " >&6; }
10341 if ${ac_cv_crosscflags__Wno_format+:} false; then :
10342 $as_echo_n "(cached) " >&6
10343 else
10344 ac_wine_try_cflags_saved=$CFLAGS
10345 ac_wine_try_cflags_saved_cc=$CC
10346 ac_wine_try_cflags_saved_exeext=$ac_exeext
10347 CFLAGS="$CFLAGS -Wno-format"
10348 CC="$CROSSCC"
10349 ac_exeext=".exe"
10350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10351 /* end confdefs.h. */
10352 int main(int argc, char **argv) { return 0; }
10353 _ACEOF
10354 if ac_fn_c_try_link "$LINENO"; then :
10355 ac_cv_crosscflags__Wno_format=yes
10356 else
10357 ac_cv_crosscflags__Wno_format=no
10359 rm -f core conftest.err conftest.$ac_objext \
10360 conftest$ac_exeext conftest.$ac_ext
10361 CFLAGS=$ac_wine_try_cflags_saved
10362 CC=$ac_wine_try_cflags_saved_cc
10363 ac_exeext=$ac_wine_try_cflags_saved_exeext
10365 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Wno_format" >&5
10366 $as_echo "$ac_cv_crosscflags__Wno_format" >&6; }
10367 if test "x$ac_cv_crosscflags__Wno_format" = xyes; then :
10368 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Wno-format"
10369 fi ;;
10370 esac
10372 for ac_flag in $CROSSCFLAGS; do
10373 case $ac_flag in
10374 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gdwarf-2" >&5
10375 $as_echo_n "checking whether the cross-compiler supports -gdwarf-2... " >&6; }
10376 if ${ac_cv_crosscflags__gdwarf_2+:} false; then :
10377 $as_echo_n "(cached) " >&6
10378 else
10379 ac_wine_try_cflags_saved=$CFLAGS
10380 ac_wine_try_cflags_saved_cc=$CC
10381 ac_wine_try_cflags_saved_exeext=$ac_exeext
10382 CFLAGS="$CFLAGS -gdwarf-2"
10383 CC="$CROSSCC"
10384 ac_exeext=".exe"
10385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10386 /* end confdefs.h. */
10387 int main(int argc, char **argv) { return 0; }
10388 _ACEOF
10389 if ac_fn_c_try_link "$LINENO"; then :
10390 ac_cv_crosscflags__gdwarf_2=yes
10391 else
10392 ac_cv_crosscflags__gdwarf_2=no
10394 rm -f core conftest.err conftest.$ac_objext \
10395 conftest$ac_exeext conftest.$ac_ext
10396 CFLAGS=$ac_wine_try_cflags_saved
10397 CC=$ac_wine_try_cflags_saved_cc
10398 ac_exeext=$ac_wine_try_cflags_saved_exeext
10400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gdwarf_2" >&5
10401 $as_echo "$ac_cv_crosscflags__gdwarf_2" >&6; }
10402 if test "x$ac_cv_crosscflags__gdwarf_2" = xyes; then :
10403 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gdwarf-2"
10405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -gstrict-dwarf" >&5
10406 $as_echo_n "checking whether the cross-compiler supports -gstrict-dwarf... " >&6; }
10407 if ${ac_cv_crosscflags__gstrict_dwarf+:} false; then :
10408 $as_echo_n "(cached) " >&6
10409 else
10410 ac_wine_try_cflags_saved=$CFLAGS
10411 ac_wine_try_cflags_saved_cc=$CC
10412 ac_wine_try_cflags_saved_exeext=$ac_exeext
10413 CFLAGS="$CFLAGS -gstrict-dwarf"
10414 CC="$CROSSCC"
10415 ac_exeext=".exe"
10416 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10417 /* end confdefs.h. */
10418 int main(int argc, char **argv) { return 0; }
10419 _ACEOF
10420 if ac_fn_c_try_link "$LINENO"; then :
10421 ac_cv_crosscflags__gstrict_dwarf=yes
10422 else
10423 ac_cv_crosscflags__gstrict_dwarf=no
10425 rm -f core conftest.err conftest.$ac_objext \
10426 conftest$ac_exeext conftest.$ac_ext
10427 CFLAGS=$ac_wine_try_cflags_saved
10428 CC=$ac_wine_try_cflags_saved_cc
10429 ac_exeext=$ac_wine_try_cflags_saved_exeext
10431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__gstrict_dwarf" >&5
10432 $as_echo "$ac_cv_crosscflags__gstrict_dwarf" >&6; }
10433 if test "x$ac_cv_crosscflags__gstrict_dwarf" = xyes; then :
10434 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -gstrict-dwarf"
10435 fi ;;
10436 esac
10437 done
10439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-delayload,autoconftest.dll" >&5
10440 $as_echo_n "checking whether the compiler supports -Wl,-delayload,autoconftest.dll... " >&6; }
10441 if ${ac_cv_cflags__Wl__delayload_autoconftest_dll+:} false; then :
10442 $as_echo_n "(cached) " >&6
10443 else
10444 ac_wine_try_cflags_saved=$CFLAGS
10445 CFLAGS="$CFLAGS -Wl,-delayload,autoconftest.dll"
10446 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10447 /* end confdefs.h. */
10448 int main(int argc, char **argv) { return 0; }
10449 _ACEOF
10450 if ac_fn_c_try_link "$LINENO"; then :
10451 ac_cv_cflags__Wl__delayload_autoconftest_dll=yes
10452 else
10453 ac_cv_cflags__Wl__delayload_autoconftest_dll=no
10455 rm -f core conftest.err conftest.$ac_objext \
10456 conftest$ac_exeext conftest.$ac_ext
10457 CFLAGS=$ac_wine_try_cflags_saved
10459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__delayload_autoconftest_dll" >&5
10460 $as_echo "$ac_cv_cflags__Wl__delayload_autoconftest_dll" >&6; }
10461 if test "x$ac_cv_cflags__Wl__delayload_autoconftest_dll" = xyes; then :
10462 DELAYLOADFLAG="-Wl,-delayload,"
10466 if test "x$enable_maintainer_mode" = xyes
10467 then
10468 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the cross-compiler supports -Werror" >&5
10469 $as_echo_n "checking whether the cross-compiler supports -Werror... " >&6; }
10470 if ${ac_cv_crosscflags__Werror+:} false; then :
10471 $as_echo_n "(cached) " >&6
10472 else
10473 ac_wine_try_cflags_saved=$CFLAGS
10474 ac_wine_try_cflags_saved_cc=$CC
10475 ac_wine_try_cflags_saved_exeext=$ac_exeext
10476 CFLAGS="$CFLAGS -Werror"
10477 CC="$CROSSCC"
10478 ac_exeext=".exe"
10479 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10480 /* end confdefs.h. */
10481 int main(int argc, char **argv) { return 0; }
10482 _ACEOF
10483 if ac_fn_c_try_link "$LINENO"; then :
10484 ac_cv_crosscflags__Werror=yes
10485 else
10486 ac_cv_crosscflags__Werror=no
10488 rm -f core conftest.err conftest.$ac_objext \
10489 conftest$ac_exeext conftest.$ac_ext
10490 CFLAGS=$ac_wine_try_cflags_saved
10491 CC=$ac_wine_try_cflags_saved_cc
10492 ac_exeext=$ac_wine_try_cflags_saved_exeext
10494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_crosscflags__Werror" >&5
10495 $as_echo "$ac_cv_crosscflags__Werror" >&6; }
10496 if test "x$ac_cv_crosscflags__Werror" = xyes; then :
10497 EXTRACROSSCFLAGS="$EXTRACROSSCFLAGS -Werror"
10501 CFLAGS=$saved_CFLAGS
10502 CC="$ac_save_CC"
10505 if test "x$CROSSTARGET" = "x"; then :
10506 case "x$with_mingw" in
10507 x) as_fn_append wine_notices "|MinGW compiler not found, cross-compiling PE files won't be supported." ;;
10508 xno) ;;
10509 *) as_fn_error $? "MinGW compiler not found, cross-compiling PE files won't be supported.
10510 This is an error since --with-mingw was requested." "$LINENO" 5 ;;
10511 esac
10516 if test "$ac_cv_header_pthread_h" = "yes"
10517 then
10518 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
10519 if test "x$ac_cv_func_pthread_create" = xyes; then :
10521 else
10522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
10523 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
10524 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
10525 $as_echo_n "(cached) " >&6
10526 else
10527 ac_check_lib_save_LIBS=$LIBS
10528 LIBS="-lpthread $LIBS"
10529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10530 /* end confdefs.h. */
10532 /* Override any GCC internal prototype to avoid an error.
10533 Use char because int might match the return type of a GCC
10534 builtin and then its argument prototype would still apply. */
10535 #ifdef __cplusplus
10536 extern "C"
10537 #endif
10538 char pthread_create ();
10540 main ()
10542 return pthread_create ();
10544 return 0;
10546 _ACEOF
10547 if ac_fn_c_try_link "$LINENO"; then :
10548 ac_cv_lib_pthread_pthread_create=yes
10549 else
10550 ac_cv_lib_pthread_pthread_create=no
10552 rm -f core conftest.err conftest.$ac_objext \
10553 conftest$ac_exeext conftest.$ac_ext
10554 LIBS=$ac_check_lib_save_LIBS
10556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
10557 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
10558 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
10559 PTHREAD_LIBS="-lpthread"
10566 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
10567 case "x$with_pthread" in
10568 xno) ;;
10569 *) as_fn_error $? "pthread ${notice_platform}development files not found.
10570 Wine cannot support threads without libpthread.
10571 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
10572 esac
10577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
10578 $as_echo_n "checking for X... " >&6; }
10581 # Check whether --with-x was given.
10582 if test "${with_x+set}" = set; then :
10583 withval=$with_x;
10586 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
10587 if test "x$with_x" = xno; then
10588 # The user explicitly disabled X.
10589 have_x=disabled
10590 else
10591 case $x_includes,$x_libraries in #(
10592 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
10593 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
10594 $as_echo_n "(cached) " >&6
10595 else
10596 # One or both of the vars are not set, and there is no cached value.
10597 ac_x_includes=no ac_x_libraries=no
10598 rm -f -r conftest.dir
10599 if mkdir conftest.dir; then
10600 cd conftest.dir
10601 cat >Imakefile <<'_ACEOF'
10602 incroot:
10603 @echo incroot='${INCROOT}'
10604 usrlibdir:
10605 @echo usrlibdir='${USRLIBDIR}'
10606 libdir:
10607 @echo libdir='${LIBDIR}'
10608 _ACEOF
10609 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
10610 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
10611 for ac_var in incroot usrlibdir libdir; do
10612 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
10613 done
10614 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
10615 for ac_extension in a so sl dylib la dll; do
10616 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
10617 test -f "$ac_im_libdir/libX11.$ac_extension"; then
10618 ac_im_usrlibdir=$ac_im_libdir; break
10620 done
10621 # Screen out bogus values from the imake configuration. They are
10622 # bogus both because they are the default anyway, and because
10623 # using them would break gcc on systems where it needs fixed includes.
10624 case $ac_im_incroot in
10625 /usr/include) ac_x_includes= ;;
10626 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
10627 esac
10628 case $ac_im_usrlibdir in
10629 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
10630 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
10631 esac
10633 cd ..
10634 rm -f -r conftest.dir
10637 # Standard set of common directories for X headers.
10638 # Check X11 before X11Rn because it is often a symlink to the current release.
10639 ac_x_header_dirs='
10640 /usr/X11/include
10641 /usr/X11R7/include
10642 /usr/X11R6/include
10643 /usr/X11R5/include
10644 /usr/X11R4/include
10646 /usr/include/X11
10647 /usr/include/X11R7
10648 /usr/include/X11R6
10649 /usr/include/X11R5
10650 /usr/include/X11R4
10652 /usr/local/X11/include
10653 /usr/local/X11R7/include
10654 /usr/local/X11R6/include
10655 /usr/local/X11R5/include
10656 /usr/local/X11R4/include
10658 /usr/local/include/X11
10659 /usr/local/include/X11R7
10660 /usr/local/include/X11R6
10661 /usr/local/include/X11R5
10662 /usr/local/include/X11R4
10664 /usr/X386/include
10665 /usr/x386/include
10666 /usr/XFree86/include/X11
10668 /usr/include
10669 /usr/local/include
10670 /usr/unsupported/include
10671 /usr/athena/include
10672 /usr/local/x11r5/include
10673 /usr/lpp/Xamples/include
10675 /usr/openwin/include
10676 /usr/openwin/share/include'
10678 if test "$ac_x_includes" = no; then
10679 # Guess where to find include files, by looking for Xlib.h.
10680 # First, try using that file with no special directory specified.
10681 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10682 /* end confdefs.h. */
10683 #include <X11/Xlib.h>
10684 _ACEOF
10685 if ac_fn_c_try_cpp "$LINENO"; then :
10686 # We can compile using X headers with no special include directory.
10687 ac_x_includes=
10688 else
10689 for ac_dir in $ac_x_header_dirs; do
10690 if test -r "$ac_dir/X11/Xlib.h"; then
10691 ac_x_includes=$ac_dir
10692 break
10694 done
10696 rm -f conftest.err conftest.i conftest.$ac_ext
10697 fi # $ac_x_includes = no
10699 if test "$ac_x_libraries" = no; then
10700 # Check for the libraries.
10701 # See if we find them without any special options.
10702 # Don't add to $LIBS permanently.
10703 ac_save_LIBS=$LIBS
10704 LIBS="-lX11 $LIBS"
10705 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10706 /* end confdefs.h. */
10707 #include <X11/Xlib.h>
10709 main ()
10711 XrmInitialize ()
10713 return 0;
10715 _ACEOF
10716 if ac_fn_c_try_link "$LINENO"; then :
10717 LIBS=$ac_save_LIBS
10718 # We can link X programs with no special library path.
10719 ac_x_libraries=
10720 else
10721 LIBS=$ac_save_LIBS
10722 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
10724 # Don't even attempt the hair of trying to link an X program!
10725 for ac_extension in a so sl dylib la dll; do
10726 if test -r "$ac_dir/libX11.$ac_extension"; then
10727 ac_x_libraries=$ac_dir
10728 break 2
10730 done
10731 done
10733 rm -f core conftest.err conftest.$ac_objext \
10734 conftest$ac_exeext conftest.$ac_ext
10735 fi # $ac_x_libraries = no
10737 case $ac_x_includes,$ac_x_libraries in #(
10738 no,* | *,no | *\'*)
10739 # Didn't find X, or a directory has "'" in its name.
10740 ac_cv_have_x="have_x=no";; #(
10742 # Record where we found X for the cache.
10743 ac_cv_have_x="have_x=yes\
10744 ac_x_includes='$ac_x_includes'\
10745 ac_x_libraries='$ac_x_libraries'"
10746 esac
10748 ;; #(
10749 *) have_x=yes;;
10750 esac
10751 eval "$ac_cv_have_x"
10752 fi # $with_x != no
10754 if test "$have_x" != yes; then
10755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
10756 $as_echo "$have_x" >&6; }
10757 no_x=yes
10758 else
10759 # If each of the values was on the command line, it overrides each guess.
10760 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
10761 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
10762 # Update the cache value to reflect the command line values.
10763 ac_cv_have_x="have_x=yes\
10764 ac_x_includes='$x_includes'\
10765 ac_x_libraries='$x_libraries'"
10766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
10767 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
10770 if test "$no_x" = yes; then
10771 # Not all programs may use this symbol, but it does not hurt to define it.
10773 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
10775 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
10776 else
10777 if test -n "$x_includes"; then
10778 X_CFLAGS="$X_CFLAGS -I$x_includes"
10781 # It would also be nice to do this for all -L options, not just this one.
10782 if test -n "$x_libraries"; then
10783 X_LIBS="$X_LIBS -L$x_libraries"
10784 # For Solaris; some versions of Sun CC require a space after -R and
10785 # others require no space. Words are not sufficient . . . .
10786 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
10787 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
10788 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
10789 ac_xsave_c_werror_flag=$ac_c_werror_flag
10790 ac_c_werror_flag=yes
10791 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10792 /* end confdefs.h. */
10795 main ()
10799 return 0;
10801 _ACEOF
10802 if ac_fn_c_try_link "$LINENO"; then :
10803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
10804 $as_echo "no" >&6; }
10805 X_LIBS="$X_LIBS -R$x_libraries"
10806 else
10807 LIBS="$ac_xsave_LIBS -R $x_libraries"
10808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10809 /* end confdefs.h. */
10812 main ()
10816 return 0;
10818 _ACEOF
10819 if ac_fn_c_try_link "$LINENO"; then :
10820 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
10821 $as_echo "yes" >&6; }
10822 X_LIBS="$X_LIBS -R $x_libraries"
10823 else
10824 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
10825 $as_echo "neither works" >&6; }
10827 rm -f core conftest.err conftest.$ac_objext \
10828 conftest$ac_exeext conftest.$ac_ext
10830 rm -f core conftest.err conftest.$ac_objext \
10831 conftest$ac_exeext conftest.$ac_ext
10832 ac_c_werror_flag=$ac_xsave_c_werror_flag
10833 LIBS=$ac_xsave_LIBS
10836 # Check for system-dependent libraries X programs must link with.
10837 # Do this before checking for the system-independent R6 libraries
10838 # (-lICE), since we may need -lsocket or whatever for X linking.
10840 if test "$ISC" = yes; then
10841 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
10842 else
10843 # Martyn Johnson says this is needed for Ultrix, if the X
10844 # libraries were built with DECnet support. And Karl Berry says
10845 # the Alpha needs dnet_stub (dnet does not exist).
10846 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
10847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10848 /* end confdefs.h. */
10850 /* Override any GCC internal prototype to avoid an error.
10851 Use char because int might match the return type of a GCC
10852 builtin and then its argument prototype would still apply. */
10853 #ifdef __cplusplus
10854 extern "C"
10855 #endif
10856 char XOpenDisplay ();
10858 main ()
10860 return XOpenDisplay ();
10862 return 0;
10864 _ACEOF
10865 if ac_fn_c_try_link "$LINENO"; then :
10867 else
10868 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
10869 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
10870 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
10871 $as_echo_n "(cached) " >&6
10872 else
10873 ac_check_lib_save_LIBS=$LIBS
10874 LIBS="-ldnet $LIBS"
10875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10876 /* end confdefs.h. */
10878 /* Override any GCC internal prototype to avoid an error.
10879 Use char because int might match the return type of a GCC
10880 builtin and then its argument prototype would still apply. */
10881 #ifdef __cplusplus
10882 extern "C"
10883 #endif
10884 char dnet_ntoa ();
10886 main ()
10888 return dnet_ntoa ();
10890 return 0;
10892 _ACEOF
10893 if ac_fn_c_try_link "$LINENO"; then :
10894 ac_cv_lib_dnet_dnet_ntoa=yes
10895 else
10896 ac_cv_lib_dnet_dnet_ntoa=no
10898 rm -f core conftest.err conftest.$ac_objext \
10899 conftest$ac_exeext conftest.$ac_ext
10900 LIBS=$ac_check_lib_save_LIBS
10902 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
10903 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
10904 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
10905 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
10908 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
10909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
10910 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
10911 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
10912 $as_echo_n "(cached) " >&6
10913 else
10914 ac_check_lib_save_LIBS=$LIBS
10915 LIBS="-ldnet_stub $LIBS"
10916 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10917 /* end confdefs.h. */
10919 /* Override any GCC internal prototype to avoid an error.
10920 Use char because int might match the return type of a GCC
10921 builtin and then its argument prototype would still apply. */
10922 #ifdef __cplusplus
10923 extern "C"
10924 #endif
10925 char dnet_ntoa ();
10927 main ()
10929 return dnet_ntoa ();
10931 return 0;
10933 _ACEOF
10934 if ac_fn_c_try_link "$LINENO"; then :
10935 ac_cv_lib_dnet_stub_dnet_ntoa=yes
10936 else
10937 ac_cv_lib_dnet_stub_dnet_ntoa=no
10939 rm -f core conftest.err conftest.$ac_objext \
10940 conftest$ac_exeext conftest.$ac_ext
10941 LIBS=$ac_check_lib_save_LIBS
10943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
10944 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
10945 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
10946 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
10951 rm -f core conftest.err conftest.$ac_objext \
10952 conftest$ac_exeext conftest.$ac_ext
10953 LIBS="$ac_xsave_LIBS"
10955 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
10956 # to get the SysV transport functions.
10957 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
10958 # needs -lnsl.
10959 # The nsl library prevents programs from opening the X display
10960 # on Irix 5.2, according to T.E. Dickey.
10961 # The functions gethostbyname, getservbyname, and inet_addr are
10962 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
10963 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
10964 if test "x$ac_cv_func_gethostbyname" = xyes; then :
10968 if test $ac_cv_func_gethostbyname = no; then
10969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
10970 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
10971 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
10972 $as_echo_n "(cached) " >&6
10973 else
10974 ac_check_lib_save_LIBS=$LIBS
10975 LIBS="-lnsl $LIBS"
10976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10977 /* end confdefs.h. */
10979 /* Override any GCC internal prototype to avoid an error.
10980 Use char because int might match the return type of a GCC
10981 builtin and then its argument prototype would still apply. */
10982 #ifdef __cplusplus
10983 extern "C"
10984 #endif
10985 char gethostbyname ();
10987 main ()
10989 return gethostbyname ();
10991 return 0;
10993 _ACEOF
10994 if ac_fn_c_try_link "$LINENO"; then :
10995 ac_cv_lib_nsl_gethostbyname=yes
10996 else
10997 ac_cv_lib_nsl_gethostbyname=no
10999 rm -f core conftest.err conftest.$ac_objext \
11000 conftest$ac_exeext conftest.$ac_ext
11001 LIBS=$ac_check_lib_save_LIBS
11003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
11004 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
11005 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
11006 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
11009 if test $ac_cv_lib_nsl_gethostbyname = no; then
11010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
11011 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
11012 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
11013 $as_echo_n "(cached) " >&6
11014 else
11015 ac_check_lib_save_LIBS=$LIBS
11016 LIBS="-lbsd $LIBS"
11017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11018 /* end confdefs.h. */
11020 /* Override any GCC internal prototype to avoid an error.
11021 Use char because int might match the return type of a GCC
11022 builtin and then its argument prototype would still apply. */
11023 #ifdef __cplusplus
11024 extern "C"
11025 #endif
11026 char gethostbyname ();
11028 main ()
11030 return gethostbyname ();
11032 return 0;
11034 _ACEOF
11035 if ac_fn_c_try_link "$LINENO"; then :
11036 ac_cv_lib_bsd_gethostbyname=yes
11037 else
11038 ac_cv_lib_bsd_gethostbyname=no
11040 rm -f core conftest.err conftest.$ac_objext \
11041 conftest$ac_exeext conftest.$ac_ext
11042 LIBS=$ac_check_lib_save_LIBS
11044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
11045 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
11046 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
11047 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
11053 # lieder@skyler.mavd.honeywell.com says without -lsocket,
11054 # socket/setsockopt and other routines are undefined under SCO ODT
11055 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
11056 # on later versions), says Simon Leinen: it contains gethostby*
11057 # variants that don't use the name server (or something). -lsocket
11058 # must be given before -lnsl if both are needed. We assume that
11059 # if connect needs -lnsl, so does gethostbyname.
11060 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
11061 if test "x$ac_cv_func_connect" = xyes; then :
11065 if test $ac_cv_func_connect = no; then
11066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
11067 $as_echo_n "checking for connect in -lsocket... " >&6; }
11068 if ${ac_cv_lib_socket_connect+:} false; then :
11069 $as_echo_n "(cached) " >&6
11070 else
11071 ac_check_lib_save_LIBS=$LIBS
11072 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
11073 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11074 /* end confdefs.h. */
11076 /* Override any GCC internal prototype to avoid an error.
11077 Use char because int might match the return type of a GCC
11078 builtin and then its argument prototype would still apply. */
11079 #ifdef __cplusplus
11080 extern "C"
11081 #endif
11082 char connect ();
11084 main ()
11086 return connect ();
11088 return 0;
11090 _ACEOF
11091 if ac_fn_c_try_link "$LINENO"; then :
11092 ac_cv_lib_socket_connect=yes
11093 else
11094 ac_cv_lib_socket_connect=no
11096 rm -f core conftest.err conftest.$ac_objext \
11097 conftest$ac_exeext conftest.$ac_ext
11098 LIBS=$ac_check_lib_save_LIBS
11100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
11101 $as_echo "$ac_cv_lib_socket_connect" >&6; }
11102 if test "x$ac_cv_lib_socket_connect" = xyes; then :
11103 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
11108 # Guillermo Gomez says -lposix is necessary on A/UX.
11109 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
11110 if test "x$ac_cv_func_remove" = xyes; then :
11114 if test $ac_cv_func_remove = no; then
11115 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
11116 $as_echo_n "checking for remove in -lposix... " >&6; }
11117 if ${ac_cv_lib_posix_remove+:} false; then :
11118 $as_echo_n "(cached) " >&6
11119 else
11120 ac_check_lib_save_LIBS=$LIBS
11121 LIBS="-lposix $LIBS"
11122 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11123 /* end confdefs.h. */
11125 /* Override any GCC internal prototype to avoid an error.
11126 Use char because int might match the return type of a GCC
11127 builtin and then its argument prototype would still apply. */
11128 #ifdef __cplusplus
11129 extern "C"
11130 #endif
11131 char remove ();
11133 main ()
11135 return remove ();
11137 return 0;
11139 _ACEOF
11140 if ac_fn_c_try_link "$LINENO"; then :
11141 ac_cv_lib_posix_remove=yes
11142 else
11143 ac_cv_lib_posix_remove=no
11145 rm -f core conftest.err conftest.$ac_objext \
11146 conftest$ac_exeext conftest.$ac_ext
11147 LIBS=$ac_check_lib_save_LIBS
11149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
11150 $as_echo "$ac_cv_lib_posix_remove" >&6; }
11151 if test "x$ac_cv_lib_posix_remove" = xyes; then :
11152 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
11157 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
11158 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
11159 if test "x$ac_cv_func_shmat" = xyes; then :
11163 if test $ac_cv_func_shmat = no; then
11164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
11165 $as_echo_n "checking for shmat in -lipc... " >&6; }
11166 if ${ac_cv_lib_ipc_shmat+:} false; then :
11167 $as_echo_n "(cached) " >&6
11168 else
11169 ac_check_lib_save_LIBS=$LIBS
11170 LIBS="-lipc $LIBS"
11171 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11172 /* end confdefs.h. */
11174 /* Override any GCC internal prototype to avoid an error.
11175 Use char because int might match the return type of a GCC
11176 builtin and then its argument prototype would still apply. */
11177 #ifdef __cplusplus
11178 extern "C"
11179 #endif
11180 char shmat ();
11182 main ()
11184 return shmat ();
11186 return 0;
11188 _ACEOF
11189 if ac_fn_c_try_link "$LINENO"; then :
11190 ac_cv_lib_ipc_shmat=yes
11191 else
11192 ac_cv_lib_ipc_shmat=no
11194 rm -f core conftest.err conftest.$ac_objext \
11195 conftest$ac_exeext conftest.$ac_ext
11196 LIBS=$ac_check_lib_save_LIBS
11198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
11199 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
11200 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
11201 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
11207 # Check for libraries that X11R6 Xt/Xaw programs need.
11208 ac_save_LDFLAGS=$LDFLAGS
11209 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
11210 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
11211 # check for ICE first), but we must link in the order -lSM -lICE or
11212 # we get undefined symbols. So assume we have SM if we have ICE.
11213 # These have to be linked with before -lX11, unlike the other
11214 # libraries we check for below, so use a different variable.
11215 # John Interrante, Karl Berry
11216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
11217 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
11218 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
11219 $as_echo_n "(cached) " >&6
11220 else
11221 ac_check_lib_save_LIBS=$LIBS
11222 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
11223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11224 /* end confdefs.h. */
11226 /* Override any GCC internal prototype to avoid an error.
11227 Use char because int might match the return type of a GCC
11228 builtin and then its argument prototype would still apply. */
11229 #ifdef __cplusplus
11230 extern "C"
11231 #endif
11232 char IceConnectionNumber ();
11234 main ()
11236 return IceConnectionNumber ();
11238 return 0;
11240 _ACEOF
11241 if ac_fn_c_try_link "$LINENO"; then :
11242 ac_cv_lib_ICE_IceConnectionNumber=yes
11243 else
11244 ac_cv_lib_ICE_IceConnectionNumber=no
11246 rm -f core conftest.err conftest.$ac_objext \
11247 conftest$ac_exeext conftest.$ac_ext
11248 LIBS=$ac_check_lib_save_LIBS
11250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
11251 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
11252 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
11253 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
11256 LDFLAGS=$ac_save_LDFLAGS
11261 if test "$have_x" = "yes"
11262 then
11263 ac_save_CPPFLAGS="$CPPFLAGS"
11264 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
11266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
11267 $as_echo_n "checking for -lX11... " >&6; }
11268 if ${ac_cv_lib_soname_X11+:} false; then :
11269 $as_echo_n "(cached) " >&6
11270 else
11271 ac_check_soname_save_LIBS=$LIBS
11272 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11273 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11274 /* end confdefs.h. */
11276 /* Override any GCC internal prototype to avoid an error.
11277 Use char because int might match the return type of a GCC
11278 builtin and then its argument prototype would still apply. */
11279 #ifdef __cplusplus
11280 extern "C"
11281 #endif
11282 char XCreateWindow ();
11284 main ()
11286 return XCreateWindow ();
11288 return 0;
11290 _ACEOF
11291 if ac_fn_c_try_link "$LINENO"; then :
11292 case "$LIBEXT" in
11293 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11294 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'` ;;
11295 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11296 if ${ac_cv_lib_soname_X11:+false} :; then :
11297 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11298 fi ;;
11299 esac
11300 else
11301 ac_cv_lib_soname_X11=
11303 rm -f core conftest.err conftest.$ac_objext \
11304 conftest$ac_exeext conftest.$ac_ext
11305 LIBS=$ac_check_soname_save_LIBS
11307 if ${ac_cv_lib_soname_X11:+false} :; then :
11308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11309 $as_echo "not found" >&6; }
11311 else
11312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
11313 $as_echo "$ac_cv_lib_soname_X11" >&6; }
11315 cat >>confdefs.h <<_ACEOF
11316 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
11317 _ACEOF
11321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
11322 $as_echo_n "checking for -lXext... " >&6; }
11323 if ${ac_cv_lib_soname_Xext+:} false; then :
11324 $as_echo_n "(cached) " >&6
11325 else
11326 ac_check_soname_save_LIBS=$LIBS
11327 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
11328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11329 /* end confdefs.h. */
11331 /* Override any GCC internal prototype to avoid an error.
11332 Use char because int might match the return type of a GCC
11333 builtin and then its argument prototype would still apply. */
11334 #ifdef __cplusplus
11335 extern "C"
11336 #endif
11337 char XextCreateExtension ();
11339 main ()
11341 return XextCreateExtension ();
11343 return 0;
11345 _ACEOF
11346 if ac_fn_c_try_link "$LINENO"; then :
11347 case "$LIBEXT" in
11348 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11349 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'` ;;
11350 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11351 if ${ac_cv_lib_soname_Xext:+false} :; then :
11352 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11353 fi ;;
11354 esac
11355 else
11356 ac_cv_lib_soname_Xext=
11358 rm -f core conftest.err conftest.$ac_objext \
11359 conftest$ac_exeext conftest.$ac_ext
11360 LIBS=$ac_check_soname_save_LIBS
11362 if ${ac_cv_lib_soname_Xext:+false} :; then :
11363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11364 $as_echo "not found" >&6; }
11366 else
11367 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
11368 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
11370 cat >>confdefs.h <<_ACEOF
11371 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
11372 _ACEOF
11374 X_LIBS="$X_LIBS -lXext"
11376 X_LIBS="$X_LIBS -lX11"
11378 for ac_header in X11/Xlib.h \
11379 X11/XKBlib.h \
11380 X11/Xutil.h \
11381 X11/Xcursor/Xcursor.h \
11382 X11/extensions/shape.h \
11383 X11/extensions/XInput.h \
11384 X11/extensions/XInput2.h \
11385 X11/extensions/XShm.h \
11386 X11/extensions/Xcomposite.h \
11387 X11/extensions/Xfixes.h \
11388 X11/extensions/Xinerama.h \
11389 X11/extensions/Xrandr.h \
11390 X11/extensions/Xrender.h \
11391 X11/extensions/xf86vmode.h \
11392 X11/extensions/xf86vmproto.h
11393 do :
11394 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11395 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
11396 # include <X11/Xlib.h>
11397 #endif
11398 #ifdef HAVE_X11_XUTIL_H
11399 # include <X11/Xutil.h>
11400 #endif
11402 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11403 cat >>confdefs.h <<_ACEOF
11404 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11405 _ACEOF
11409 done
11412 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
11413 then
11414 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
11415 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
11416 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
11417 $as_echo_n "(cached) " >&6
11418 else
11419 ac_check_lib_save_LIBS=$LIBS
11420 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
11421 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11422 /* end confdefs.h. */
11424 /* Override any GCC internal prototype to avoid an error.
11425 Use char because int might match the return type of a GCC
11426 builtin and then its argument prototype would still apply. */
11427 #ifdef __cplusplus
11428 extern "C"
11429 #endif
11430 char XkbQueryExtension ();
11432 main ()
11434 return XkbQueryExtension ();
11436 return 0;
11438 _ACEOF
11439 if ac_fn_c_try_link "$LINENO"; then :
11440 ac_cv_lib_X11_XkbQueryExtension=yes
11441 else
11442 ac_cv_lib_X11_XkbQueryExtension=no
11444 rm -f core conftest.err conftest.$ac_objext \
11445 conftest$ac_exeext conftest.$ac_ext
11446 LIBS=$ac_check_lib_save_LIBS
11448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
11449 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
11450 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
11452 $as_echo "#define HAVE_XKB 1" >>confdefs.h
11458 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
11459 then
11460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
11461 $as_echo_n "checking for -lXcursor... " >&6; }
11462 if ${ac_cv_lib_soname_Xcursor+:} false; then :
11463 $as_echo_n "(cached) " >&6
11464 else
11465 ac_check_soname_save_LIBS=$LIBS
11466 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
11467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11468 /* end confdefs.h. */
11470 /* Override any GCC internal prototype to avoid an error.
11471 Use char because int might match the return type of a GCC
11472 builtin and then its argument prototype would still apply. */
11473 #ifdef __cplusplus
11474 extern "C"
11475 #endif
11476 char XcursorImageLoadCursor ();
11478 main ()
11480 return XcursorImageLoadCursor ();
11482 return 0;
11484 _ACEOF
11485 if ac_fn_c_try_link "$LINENO"; then :
11486 case "$LIBEXT" in
11487 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11488 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'` ;;
11489 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11490 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11491 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11492 fi ;;
11493 esac
11494 else
11495 ac_cv_lib_soname_Xcursor=
11497 rm -f core conftest.err conftest.$ac_objext \
11498 conftest$ac_exeext conftest.$ac_ext
11499 LIBS=$ac_check_soname_save_LIBS
11501 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
11502 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11503 $as_echo "not found" >&6; }
11505 else
11506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
11507 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
11509 cat >>confdefs.h <<_ACEOF
11510 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
11511 _ACEOF
11516 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
11517 case "x$with_xcursor" in
11518 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
11519 xno) ;;
11520 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
11521 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
11522 esac
11526 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
11527 then
11528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
11529 $as_echo_n "checking for -lXi... " >&6; }
11530 if ${ac_cv_lib_soname_Xi+:} false; then :
11531 $as_echo_n "(cached) " >&6
11532 else
11533 ac_check_soname_save_LIBS=$LIBS
11534 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
11535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11536 /* end confdefs.h. */
11538 /* Override any GCC internal prototype to avoid an error.
11539 Use char because int might match the return type of a GCC
11540 builtin and then its argument prototype would still apply. */
11541 #ifdef __cplusplus
11542 extern "C"
11543 #endif
11544 char XOpenDevice ();
11546 main ()
11548 return XOpenDevice ();
11550 return 0;
11552 _ACEOF
11553 if ac_fn_c_try_link "$LINENO"; then :
11554 case "$LIBEXT" in
11555 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11556 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'` ;;
11557 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11558 if ${ac_cv_lib_soname_Xi:+false} :; then :
11559 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11560 fi ;;
11561 esac
11562 else
11563 ac_cv_lib_soname_Xi=
11565 rm -f core conftest.err conftest.$ac_objext \
11566 conftest$ac_exeext conftest.$ac_ext
11567 LIBS=$ac_check_soname_save_LIBS
11569 if ${ac_cv_lib_soname_Xi:+false} :; then :
11570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11571 $as_echo "not found" >&6; }
11573 else
11574 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
11575 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
11577 cat >>confdefs.h <<_ACEOF
11578 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
11579 _ACEOF
11584 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
11585 case "x$with_xinput" in
11586 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
11587 xno) ;;
11588 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
11589 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
11590 esac
11594 if test "x$ac_cv_lib_soname_Xi" != x
11595 then
11596 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
11597 case "x$with_xinput2" in
11598 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
11599 xno) ;;
11600 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
11601 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
11602 esac
11607 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
11608 then
11609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
11610 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
11611 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
11612 $as_echo_n "(cached) " >&6
11613 else
11614 ac_check_lib_save_LIBS=$LIBS
11615 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11617 /* end confdefs.h. */
11619 /* Override any GCC internal prototype to avoid an error.
11620 Use char because int might match the return type of a GCC
11621 builtin and then its argument prototype would still apply. */
11622 #ifdef __cplusplus
11623 extern "C"
11624 #endif
11625 char XShmQueryExtension ();
11627 main ()
11629 return XShmQueryExtension ();
11631 return 0;
11633 _ACEOF
11634 if ac_fn_c_try_link "$LINENO"; then :
11635 ac_cv_lib_Xext_XShmQueryExtension=yes
11636 else
11637 ac_cv_lib_Xext_XShmQueryExtension=no
11639 rm -f core conftest.err conftest.$ac_objext \
11640 conftest$ac_exeext conftest.$ac_ext
11641 LIBS=$ac_check_lib_save_LIBS
11643 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
11644 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
11645 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
11647 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
11652 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
11653 case "x$with_xshm" in
11654 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
11655 xno) ;;
11656 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
11657 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
11658 esac
11662 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
11663 then
11664 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
11665 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
11666 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
11667 $as_echo_n "(cached) " >&6
11668 else
11669 ac_check_lib_save_LIBS=$LIBS
11670 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
11671 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11672 /* end confdefs.h. */
11674 /* Override any GCC internal prototype to avoid an error.
11675 Use char because int might match the return type of a GCC
11676 builtin and then its argument prototype would still apply. */
11677 #ifdef __cplusplus
11678 extern "C"
11679 #endif
11680 char XShapeQueryExtension ();
11682 main ()
11684 return XShapeQueryExtension ();
11686 return 0;
11688 _ACEOF
11689 if ac_fn_c_try_link "$LINENO"; then :
11690 ac_cv_lib_Xext_XShapeQueryExtension=yes
11691 else
11692 ac_cv_lib_Xext_XShapeQueryExtension=no
11694 rm -f core conftest.err conftest.$ac_objext \
11695 conftest$ac_exeext conftest.$ac_ext
11696 LIBS=$ac_check_lib_save_LIBS
11698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
11699 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
11700 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
11702 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
11707 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
11708 case "x$with_xshape" in
11709 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
11710 xno) ;;
11711 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
11712 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
11713 esac
11717 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
11718 then
11719 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
11720 $as_echo_n "checking for -lXxf86vm... " >&6; }
11721 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
11722 $as_echo_n "(cached) " >&6
11723 else
11724 ac_check_soname_save_LIBS=$LIBS
11725 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
11726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11727 /* end confdefs.h. */
11729 /* Override any GCC internal prototype to avoid an error.
11730 Use char because int might match the return type of a GCC
11731 builtin and then its argument prototype would still apply. */
11732 #ifdef __cplusplus
11733 extern "C"
11734 #endif
11735 char XF86VidModeQueryExtension ();
11737 main ()
11739 return XF86VidModeQueryExtension ();
11741 return 0;
11743 _ACEOF
11744 if ac_fn_c_try_link "$LINENO"; then :
11745 case "$LIBEXT" in
11746 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11747 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'` ;;
11748 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11749 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
11750 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11751 fi ;;
11752 esac
11753 else
11754 ac_cv_lib_soname_Xxf86vm=
11756 rm -f core conftest.err conftest.$ac_objext \
11757 conftest$ac_exeext conftest.$ac_ext
11758 LIBS=$ac_check_soname_save_LIBS
11760 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
11761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11762 $as_echo "not found" >&6; }
11764 else
11765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
11766 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
11768 cat >>confdefs.h <<_ACEOF
11769 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
11770 _ACEOF
11775 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
11776 case "x$with_xxf86vm" in
11777 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
11778 xno) ;;
11779 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
11780 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
11781 esac
11785 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
11786 then
11787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
11788 $as_echo_n "checking for -lXrender... " >&6; }
11789 if ${ac_cv_lib_soname_Xrender+:} false; then :
11790 $as_echo_n "(cached) " >&6
11791 else
11792 ac_check_soname_save_LIBS=$LIBS
11793 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
11794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11795 /* end confdefs.h. */
11797 /* Override any GCC internal prototype to avoid an error.
11798 Use char because int might match the return type of a GCC
11799 builtin and then its argument prototype would still apply. */
11800 #ifdef __cplusplus
11801 extern "C"
11802 #endif
11803 char XRenderQueryExtension ();
11805 main ()
11807 return XRenderQueryExtension ();
11809 return 0;
11811 _ACEOF
11812 if ac_fn_c_try_link "$LINENO"; then :
11813 case "$LIBEXT" in
11814 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11815 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'` ;;
11816 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11817 if ${ac_cv_lib_soname_Xrender:+false} :; then :
11818 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11819 fi ;;
11820 esac
11821 else
11822 ac_cv_lib_soname_Xrender=
11824 rm -f core conftest.err conftest.$ac_objext \
11825 conftest$ac_exeext conftest.$ac_ext
11826 LIBS=$ac_check_soname_save_LIBS
11828 if ${ac_cv_lib_soname_Xrender:+false} :; then :
11829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11830 $as_echo "not found" >&6; }
11832 else
11833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
11834 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
11836 cat >>confdefs.h <<_ACEOF
11837 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
11838 _ACEOF
11840 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
11841 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
11842 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
11843 $as_echo_n "(cached) " >&6
11844 else
11845 ac_check_lib_save_LIBS=$LIBS
11846 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
11847 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11848 /* end confdefs.h. */
11850 /* Override any GCC internal prototype to avoid an error.
11851 Use char because int might match the return type of a GCC
11852 builtin and then its argument prototype would still apply. */
11853 #ifdef __cplusplus
11854 extern "C"
11855 #endif
11856 char XRenderSetPictureTransform ();
11858 main ()
11860 return XRenderSetPictureTransform ();
11862 return 0;
11864 _ACEOF
11865 if ac_fn_c_try_link "$LINENO"; then :
11866 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
11867 else
11868 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
11870 rm -f core conftest.err conftest.$ac_objext \
11871 conftest$ac_exeext conftest.$ac_ext
11872 LIBS=$ac_check_lib_save_LIBS
11874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
11875 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
11876 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
11878 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
11882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
11883 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
11884 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
11885 $as_echo_n "(cached) " >&6
11886 else
11887 ac_check_lib_save_LIBS=$LIBS
11888 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
11889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11890 /* end confdefs.h. */
11892 /* Override any GCC internal prototype to avoid an error.
11893 Use char because int might match the return type of a GCC
11894 builtin and then its argument prototype would still apply. */
11895 #ifdef __cplusplus
11896 extern "C"
11897 #endif
11898 char XRenderCreateLinearGradient ();
11900 main ()
11902 return XRenderCreateLinearGradient ();
11904 return 0;
11906 _ACEOF
11907 if ac_fn_c_try_link "$LINENO"; then :
11908 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
11909 else
11910 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
11912 rm -f core conftest.err conftest.$ac_objext \
11913 conftest$ac_exeext conftest.$ac_ext
11914 LIBS=$ac_check_lib_save_LIBS
11916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
11917 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
11918 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
11920 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
11927 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
11928 case "x$with_xrender" in
11929 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
11930 xno) ;;
11931 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
11932 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
11933 esac
11937 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
11938 then
11939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11940 /* end confdefs.h. */
11941 #include <X11/Xlib.h>
11942 #include <X11/extensions/Xrandr.h>
11944 main ()
11946 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
11948 return 0;
11950 _ACEOF
11951 if ac_fn_c_try_compile "$LINENO"; then :
11952 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
11953 $as_echo_n "checking for -lXrandr... " >&6; }
11954 if ${ac_cv_lib_soname_Xrandr+:} false; then :
11955 $as_echo_n "(cached) " >&6
11956 else
11957 ac_check_soname_save_LIBS=$LIBS
11958 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
11959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11960 /* end confdefs.h. */
11962 /* Override any GCC internal prototype to avoid an error.
11963 Use char because int might match the return type of a GCC
11964 builtin and then its argument prototype would still apply. */
11965 #ifdef __cplusplus
11966 extern "C"
11967 #endif
11968 char XRRQueryExtension ();
11970 main ()
11972 return XRRQueryExtension ();
11974 return 0;
11976 _ACEOF
11977 if ac_fn_c_try_link "$LINENO"; then :
11978 case "$LIBEXT" in
11979 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11980 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'` ;;
11981 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11982 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
11983 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11984 fi ;;
11985 esac
11986 else
11987 ac_cv_lib_soname_Xrandr=
11989 rm -f core conftest.err conftest.$ac_objext \
11990 conftest$ac_exeext conftest.$ac_ext
11991 LIBS=$ac_check_soname_save_LIBS
11993 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
11994 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11995 $as_echo "not found" >&6; }
11997 else
11998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
11999 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
12001 cat >>confdefs.h <<_ACEOF
12002 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
12003 _ACEOF
12005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12006 /* end confdefs.h. */
12007 #include <X11/Xlib.h>
12008 #include <X11/extensions/Xrandr.h>
12010 main ()
12012 static typeof(XRRGetScreenResources) *f; if (f) return 0;
12014 return 0;
12016 _ACEOF
12017 if ac_fn_c_try_compile "$LINENO"; then :
12019 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
12022 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12024 /* end confdefs.h. */
12025 #include <X11/Xlib.h>
12026 #include <X11/extensions/Xrandr.h>
12028 main ()
12030 static typeof(XRRGetProviderResources) *f; if (f) return 0;
12032 return 0;
12034 _ACEOF
12035 if ac_fn_c_try_compile "$LINENO"; then :
12037 $as_echo "#define HAVE_XRRGETPROVIDERRESOURCES 1" >>confdefs.h
12039 else
12040 as_fn_append wine_notices "|libxrandr ${notice_platform}development files too old, XRandR display device handler won't be supported."
12042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12045 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12047 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
12048 case "x$with_xrandr" in
12049 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
12050 xno) ;;
12051 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
12052 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
12053 esac
12057 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
12058 then
12059 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12060 /* end confdefs.h. */
12061 #include <X11/Xlib.h>
12062 #include <X11/extensions/Xfixes.h>
12064 main ()
12066 static typeof(XFixesQueryVersion) * func; if (func) return 0;
12068 return 0;
12070 _ACEOF
12071 if ac_fn_c_try_compile "$LINENO"; then :
12072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
12073 $as_echo_n "checking for -lXfixes... " >&6; }
12074 if ${ac_cv_lib_soname_Xfixes+:} false; then :
12075 $as_echo_n "(cached) " >&6
12076 else
12077 ac_check_soname_save_LIBS=$LIBS
12078 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
12079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12080 /* end confdefs.h. */
12082 /* Override any GCC internal prototype to avoid an error.
12083 Use char because int might match the return type of a GCC
12084 builtin and then its argument prototype would still apply. */
12085 #ifdef __cplusplus
12086 extern "C"
12087 #endif
12088 char XFixesQueryVersion ();
12090 main ()
12092 return XFixesQueryVersion ();
12094 return 0;
12096 _ACEOF
12097 if ac_fn_c_try_link "$LINENO"; then :
12098 case "$LIBEXT" in
12099 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12100 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'` ;;
12101 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12102 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12103 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12104 fi ;;
12105 esac
12106 else
12107 ac_cv_lib_soname_Xfixes=
12109 rm -f core conftest.err conftest.$ac_objext \
12110 conftest$ac_exeext conftest.$ac_ext
12111 LIBS=$ac_check_soname_save_LIBS
12113 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
12114 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12115 $as_echo "not found" >&6; }
12117 else
12118 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
12119 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
12121 cat >>confdefs.h <<_ACEOF
12122 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
12123 _ACEOF
12128 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12130 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
12131 case "x$with_xfixes" in
12132 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
12133 xno) ;;
12134 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
12135 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
12136 esac
12140 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
12141 then
12142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12143 /* end confdefs.h. */
12144 #include <X11/Xlib.h>
12145 #include <X11/extensions/Xinerama.h>
12147 main ()
12149 static typeof(XineramaQueryScreens) * func; if (func) return 0;
12151 return 0;
12153 _ACEOF
12154 if ac_fn_c_try_compile "$LINENO"; then :
12155 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
12156 $as_echo_n "checking for -lXinerama... " >&6; }
12157 if ${ac_cv_lib_soname_Xinerama+:} false; then :
12158 $as_echo_n "(cached) " >&6
12159 else
12160 ac_check_soname_save_LIBS=$LIBS
12161 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
12162 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12163 /* end confdefs.h. */
12165 /* Override any GCC internal prototype to avoid an error.
12166 Use char because int might match the return type of a GCC
12167 builtin and then its argument prototype would still apply. */
12168 #ifdef __cplusplus
12169 extern "C"
12170 #endif
12171 char XineramaQueryScreens ();
12173 main ()
12175 return XineramaQueryScreens ();
12177 return 0;
12179 _ACEOF
12180 if ac_fn_c_try_link "$LINENO"; then :
12181 case "$LIBEXT" in
12182 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12183 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'` ;;
12184 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12185 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12186 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12187 fi ;;
12188 esac
12189 else
12190 ac_cv_lib_soname_Xinerama=
12192 rm -f core conftest.err conftest.$ac_objext \
12193 conftest$ac_exeext conftest.$ac_ext
12194 LIBS=$ac_check_soname_save_LIBS
12196 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
12197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12198 $as_echo "not found" >&6; }
12200 else
12201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
12202 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
12204 cat >>confdefs.h <<_ACEOF
12205 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
12206 _ACEOF
12211 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12213 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
12214 case "x$with_xinerama" in
12215 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
12216 xno) ;;
12217 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
12218 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
12219 esac
12223 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
12224 then
12225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
12226 $as_echo_n "checking for -lXcomposite... " >&6; }
12227 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
12228 $as_echo_n "(cached) " >&6
12229 else
12230 ac_check_soname_save_LIBS=$LIBS
12231 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
12232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12233 /* end confdefs.h. */
12235 /* Override any GCC internal prototype to avoid an error.
12236 Use char because int might match the return type of a GCC
12237 builtin and then its argument prototype would still apply. */
12238 #ifdef __cplusplus
12239 extern "C"
12240 #endif
12241 char XCompositeRedirectWindow ();
12243 main ()
12245 return XCompositeRedirectWindow ();
12247 return 0;
12249 _ACEOF
12250 if ac_fn_c_try_link "$LINENO"; then :
12251 case "$LIBEXT" in
12252 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12253 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'` ;;
12254 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12255 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12256 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12257 fi ;;
12258 esac
12259 else
12260 ac_cv_lib_soname_Xcomposite=
12262 rm -f core conftest.err conftest.$ac_objext \
12263 conftest$ac_exeext conftest.$ac_ext
12264 LIBS=$ac_check_soname_save_LIBS
12266 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
12267 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12268 $as_echo "not found" >&6; }
12270 else
12271 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
12272 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
12274 cat >>confdefs.h <<_ACEOF
12275 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
12276 _ACEOF
12281 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
12282 case "x$with_xcomposite" in
12283 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
12284 xno) ;;
12285 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
12286 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
12287 esac
12291 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
12292 #include <X11/Xlib.h>
12293 #endif
12295 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
12297 cat >>confdefs.h <<_ACEOF
12298 #define HAVE_XICCALLBACK_CALLBACK 1
12299 _ACEOF
12303 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
12304 #include <X11/Xlib.h>
12305 #endif
12307 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
12309 cat >>confdefs.h <<_ACEOF
12310 #define HAVE_XEVENT_XCOOKIE 1
12311 _ACEOF
12318 opengl_msg=""
12319 if test "x$with_opengl" != "xno"
12320 then
12321 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12322 $as_echo_n "checking for -lGL... " >&6; }
12323 if ${ac_cv_lib_soname_GL+:} false; then :
12324 $as_echo_n "(cached) " >&6
12325 else
12326 ac_check_soname_save_LIBS=$LIBS
12327 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12328 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12329 /* end confdefs.h. */
12331 /* Override any GCC internal prototype to avoid an error.
12332 Use char because int might match the return type of a GCC
12333 builtin and then its argument prototype would still apply. */
12334 #ifdef __cplusplus
12335 extern "C"
12336 #endif
12337 char glXCreateContext ();
12339 main ()
12341 return glXCreateContext ();
12343 return 0;
12345 _ACEOF
12346 if ac_fn_c_try_link "$LINENO"; then :
12347 case "$LIBEXT" in
12348 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12349 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'` ;;
12350 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12351 if ${ac_cv_lib_soname_GL:+false} :; then :
12352 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12353 fi ;;
12354 esac
12355 else
12356 ac_cv_lib_soname_GL=
12358 rm -f core conftest.err conftest.$ac_objext \
12359 conftest$ac_exeext conftest.$ac_ext
12360 LIBS=$ac_check_soname_save_LIBS
12362 if ${ac_cv_lib_soname_GL:+false} :; then :
12363 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12364 $as_echo "not found" >&6; }
12365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
12366 $as_echo_n "checking for -lGL... " >&6; }
12367 if ${ac_cv_lib_soname_GL+:} false; then :
12368 $as_echo_n "(cached) " >&6
12369 else
12370 ac_check_soname_save_LIBS=$LIBS
12371 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"
12372 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12373 /* end confdefs.h. */
12375 /* Override any GCC internal prototype to avoid an error.
12376 Use char because int might match the return type of a GCC
12377 builtin and then its argument prototype would still apply. */
12378 #ifdef __cplusplus
12379 extern "C"
12380 #endif
12381 char glXCreateContext ();
12383 main ()
12385 return glXCreateContext ();
12387 return 0;
12389 _ACEOF
12390 if ac_fn_c_try_link "$LINENO"; then :
12391 case "$LIBEXT" in
12392 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12393 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'` ;;
12394 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12395 if ${ac_cv_lib_soname_GL:+false} :; then :
12396 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12397 fi ;;
12398 esac
12399 else
12400 ac_cv_lib_soname_GL=
12402 rm -f core conftest.err conftest.$ac_objext \
12403 conftest$ac_exeext conftest.$ac_ext
12404 LIBS=$ac_check_soname_save_LIBS
12406 if ${ac_cv_lib_soname_GL:+false} :; then :
12407 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12408 $as_echo "not found" >&6; }
12409 if test -f /usr/X11R6/lib/libGL.a
12410 then
12411 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
12412 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
12413 else
12414 opengl_msg="No OpenGL library found on this system."
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="-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"
12426 else
12427 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
12428 $as_echo "$ac_cv_lib_soname_GL" >&6; }
12430 cat >>confdefs.h <<_ACEOF
12431 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
12432 _ACEOF
12434 OPENGL_LIBS="-lGL"
12436 if test "x$with_glu" != "xno"
12437 then
12438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
12439 $as_echo_n "checking for -lGLU... " >&6; }
12440 if ${ac_cv_lib_soname_GLU+:} false; then :
12441 $as_echo_n "(cached) " >&6
12442 else
12443 ac_check_soname_save_LIBS=$LIBS
12444 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12445 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12446 /* end confdefs.h. */
12448 /* Override any GCC internal prototype to avoid an error.
12449 Use char because int might match the return type of a GCC
12450 builtin and then its argument prototype would still apply. */
12451 #ifdef __cplusplus
12452 extern "C"
12453 #endif
12454 char gluLookAt ();
12456 main ()
12458 return gluLookAt ();
12460 return 0;
12462 _ACEOF
12463 if ac_fn_c_try_link "$LINENO"; then :
12464 case "$LIBEXT" in
12465 dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12466 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'` ;;
12467 *) ac_cv_lib_soname_GLU=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLU\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLU\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12468 if ${ac_cv_lib_soname_GLU:+false} :; then :
12469 ac_cv_lib_soname_GLU=`$LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12470 fi ;;
12471 esac
12472 else
12473 ac_cv_lib_soname_GLU=
12475 rm -f core conftest.err conftest.$ac_objext \
12476 conftest$ac_exeext conftest.$ac_ext
12477 LIBS=$ac_check_soname_save_LIBS
12479 if ${ac_cv_lib_soname_GLU:+false} :; then :
12480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12481 $as_echo "not found" >&6; }
12483 else
12484 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
12485 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
12487 cat >>confdefs.h <<_ACEOF
12488 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
12489 _ACEOF
12493 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
12494 case "x$with_glu" in
12495 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
12496 xno) ;;
12497 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
12498 This is an error since --with-glu was requested." "$LINENO" 5 ;;
12499 esac
12504 if test "x$with_osmesa" != "xno"
12505 then
12506 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
12507 $as_echo_n "checking for -lOSMesa... " >&6; }
12508 if ${ac_cv_lib_soname_OSMesa+:} false; then :
12509 $as_echo_n "(cached) " >&6
12510 else
12511 ac_check_soname_save_LIBS=$LIBS
12512 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
12513 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12514 /* end confdefs.h. */
12516 /* Override any GCC internal prototype to avoid an error.
12517 Use char because int might match the return type of a GCC
12518 builtin and then its argument prototype would still apply. */
12519 #ifdef __cplusplus
12520 extern "C"
12521 #endif
12522 char OSMesaGetProcAddress ();
12524 main ()
12526 return OSMesaGetProcAddress ();
12528 return 0;
12530 _ACEOF
12531 if ac_fn_c_try_link "$LINENO"; then :
12532 case "$LIBEXT" in
12533 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12534 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'` ;;
12535 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12536 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12537 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12538 fi ;;
12539 esac
12540 else
12541 ac_cv_lib_soname_OSMesa=
12543 rm -f core conftest.err conftest.$ac_objext \
12544 conftest$ac_exeext conftest.$ac_ext
12545 LIBS=$ac_check_soname_save_LIBS
12547 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
12548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12549 $as_echo "not found" >&6; }
12551 else
12552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
12553 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
12555 cat >>confdefs.h <<_ACEOF
12556 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
12557 _ACEOF
12561 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
12562 case "x$with_osmesa" in
12563 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
12564 xno) ;;
12565 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
12566 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
12567 esac
12572 if test -n "$opengl_msg"; then :
12573 case "x$with_opengl" in
12574 x) as_fn_append wine_warnings "|$opengl_msg
12575 OpenGL and Direct3D won't be supported." ;;
12576 xno) ;;
12577 *) as_fn_error $? "$opengl_msg
12578 OpenGL and Direct3D won't be supported.
12579 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
12580 esac
12584 CPPFLAGS="$ac_save_CPPFLAGS"
12585 else
12586 X_CFLAGS=""
12587 X_LIBS=""
12590 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
12591 then
12592 if test "x$X_LIBS" = "x"; then :
12593 case "x$with_x" in
12594 xno) ;;
12595 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
12596 without X support, which probably isn't what you want. You will need
12597 to install ${notice_platform}development packages of Xlib at the very least.
12598 Use the --without-x option if you really want this." "$LINENO" 5 ;;
12599 esac
12600 enable_winex11_drv=${enable_winex11_drv:-no}
12602 else
12603 if test "x$X_LIBS" = "x"; then :
12604 case "x$with_x" in
12605 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
12606 xno) ;;
12607 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
12608 This is an error since --with-x was requested." "$LINENO" 5 ;;
12609 esac
12610 enable_winex11_drv=${enable_winex11_drv:-no}
12614 if test "$ac_cv_header_CL_cl_h" = "yes"
12615 then
12616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
12617 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
12618 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
12619 $as_echo_n "(cached) " >&6
12620 else
12621 ac_check_lib_save_LIBS=$LIBS
12622 LIBS="-lOpenCL $LIBS"
12623 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12624 /* end confdefs.h. */
12626 /* Override any GCC internal prototype to avoid an error.
12627 Use char because int might match the return type of a GCC
12628 builtin and then its argument prototype would still apply. */
12629 #ifdef __cplusplus
12630 extern "C"
12631 #endif
12632 char clGetPlatformInfo ();
12634 main ()
12636 return clGetPlatformInfo ();
12638 return 0;
12640 _ACEOF
12641 if ac_fn_c_try_link "$LINENO"; then :
12642 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
12643 else
12644 ac_cv_lib_OpenCL_clGetPlatformInfo=no
12646 rm -f core conftest.err conftest.$ac_objext \
12647 conftest$ac_exeext conftest.$ac_ext
12648 LIBS=$ac_check_lib_save_LIBS
12650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
12651 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
12652 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
12653 OPENCL_LIBS="-lOpenCL"
12658 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
12659 case "x$with_opencl" in
12660 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
12661 xno) ;;
12662 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
12663 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
12664 esac
12665 enable_opencl=${enable_opencl:-no}
12668 if test "$ac_cv_header_pcap_pcap_h" = "yes"
12669 then
12670 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
12671 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
12672 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
12673 $as_echo_n "(cached) " >&6
12674 else
12675 ac_check_lib_save_LIBS=$LIBS
12676 LIBS="-lpcap $LIBS"
12677 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12678 /* end confdefs.h. */
12680 /* Override any GCC internal prototype to avoid an error.
12681 Use char because int might match the return type of a GCC
12682 builtin and then its argument prototype would still apply. */
12683 #ifdef __cplusplus
12684 extern "C"
12685 #endif
12686 char pcap_create ();
12688 main ()
12690 return pcap_create ();
12692 return 0;
12694 _ACEOF
12695 if ac_fn_c_try_link "$LINENO"; then :
12696 ac_cv_lib_pcap_pcap_create=yes
12697 else
12698 ac_cv_lib_pcap_pcap_create=no
12700 rm -f core conftest.err conftest.$ac_objext \
12701 conftest$ac_exeext conftest.$ac_ext
12702 LIBS=$ac_check_lib_save_LIBS
12704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
12705 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
12706 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
12707 PCAP_LIBS="-lpcap"
12712 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
12713 case "x$with_pcap" in
12714 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
12715 xno) ;;
12716 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
12717 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
12718 esac
12719 enable_wpcap=${enable_wpcap:-no}
12723 if test "x$with_xml" != "xno"
12724 then
12725 if ${XML2_CFLAGS:+false} :; then :
12726 if ${PKG_CONFIG+:} false; then :
12727 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
12730 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
12731 if ${XML2_LIBS:+false} :; then :
12732 if ${PKG_CONFIG+:} false; then :
12733 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
12736 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
12737 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
12738 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
12739 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
12740 ac_save_CPPFLAGS=$CPPFLAGS
12741 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
12742 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
12743 do :
12744 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
12745 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
12746 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
12747 cat >>confdefs.h <<_ACEOF
12748 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
12749 _ACEOF
12753 done
12755 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"
12756 then
12757 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
12758 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
12759 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
12760 $as_echo_n "(cached) " >&6
12761 else
12762 ac_check_lib_save_LIBS=$LIBS
12763 LIBS="-lxml2 $XML2_LIBS $LIBS"
12764 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12765 /* end confdefs.h. */
12767 /* Override any GCC internal prototype to avoid an error.
12768 Use char because int might match the return type of a GCC
12769 builtin and then its argument prototype would still apply. */
12770 #ifdef __cplusplus
12771 extern "C"
12772 #endif
12773 char xmlParseMemory ();
12775 main ()
12777 return xmlParseMemory ();
12779 return 0;
12781 _ACEOF
12782 if ac_fn_c_try_link "$LINENO"; then :
12783 ac_cv_lib_xml2_xmlParseMemory=yes
12784 else
12785 ac_cv_lib_xml2_xmlParseMemory=no
12787 rm -f core conftest.err conftest.$ac_objext \
12788 conftest$ac_exeext conftest.$ac_ext
12789 LIBS=$ac_check_lib_save_LIBS
12791 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
12792 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
12793 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
12795 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
12797 else
12798 XML2_LIBS=""
12801 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
12802 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
12803 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
12804 $as_echo_n "(cached) " >&6
12805 else
12806 ac_check_lib_save_LIBS=$LIBS
12807 LIBS="-lxml2 $XML2_LIBS $LIBS"
12808 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12809 /* end confdefs.h. */
12811 /* Override any GCC internal prototype to avoid an error.
12812 Use char because int might match the return type of a GCC
12813 builtin and then its argument prototype would still apply. */
12814 #ifdef __cplusplus
12815 extern "C"
12816 #endif
12817 char xmlReadMemory ();
12819 main ()
12821 return xmlReadMemory ();
12823 return 0;
12825 _ACEOF
12826 if ac_fn_c_try_link "$LINENO"; then :
12827 ac_cv_lib_xml2_xmlReadMemory=yes
12828 else
12829 ac_cv_lib_xml2_xmlReadMemory=no
12831 rm -f core conftest.err conftest.$ac_objext \
12832 conftest$ac_exeext conftest.$ac_ext
12833 LIBS=$ac_check_lib_save_LIBS
12835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
12836 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
12837 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
12839 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
12843 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
12844 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
12845 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
12846 $as_echo_n "(cached) " >&6
12847 else
12848 ac_check_lib_save_LIBS=$LIBS
12849 LIBS="-lxml2 $XML2_LIBS $LIBS"
12850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12851 /* end confdefs.h. */
12853 /* Override any GCC internal prototype to avoid an error.
12854 Use char because int might match the return type of a GCC
12855 builtin and then its argument prototype would still apply. */
12856 #ifdef __cplusplus
12857 extern "C"
12858 #endif
12859 char xmlNewDocPI ();
12861 main ()
12863 return xmlNewDocPI ();
12865 return 0;
12867 _ACEOF
12868 if ac_fn_c_try_link "$LINENO"; then :
12869 ac_cv_lib_xml2_xmlNewDocPI=yes
12870 else
12871 ac_cv_lib_xml2_xmlNewDocPI=no
12873 rm -f core conftest.err conftest.$ac_objext \
12874 conftest$ac_exeext conftest.$ac_ext
12875 LIBS=$ac_check_lib_save_LIBS
12877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
12878 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
12879 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
12881 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
12885 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
12886 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
12887 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
12888 $as_echo_n "(cached) " >&6
12889 else
12890 ac_check_lib_save_LIBS=$LIBS
12891 LIBS="-lxml2 $XML2_LIBS $LIBS"
12892 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12893 /* end confdefs.h. */
12895 /* Override any GCC internal prototype to avoid an error.
12896 Use char because int might match the return type of a GCC
12897 builtin and then its argument prototype would still apply. */
12898 #ifdef __cplusplus
12899 extern "C"
12900 #endif
12901 char xmlSchemaSetParserStructuredErrors ();
12903 main ()
12905 return xmlSchemaSetParserStructuredErrors ();
12907 return 0;
12909 _ACEOF
12910 if ac_fn_c_try_link "$LINENO"; then :
12911 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
12912 else
12913 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
12915 rm -f core conftest.err conftest.$ac_objext \
12916 conftest$ac_exeext conftest.$ac_ext
12917 LIBS=$ac_check_lib_save_LIBS
12919 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
12920 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
12921 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
12923 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
12927 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
12928 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
12929 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
12930 $as_echo_n "(cached) " >&6
12931 else
12932 ac_check_lib_save_LIBS=$LIBS
12933 LIBS="-lxml2 $XML2_LIBS $LIBS"
12934 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12935 /* end confdefs.h. */
12937 /* Override any GCC internal prototype to avoid an error.
12938 Use char because int might match the return type of a GCC
12939 builtin and then its argument prototype would still apply. */
12940 #ifdef __cplusplus
12941 extern "C"
12942 #endif
12943 char xmlSchemaSetValidStructuredErrors ();
12945 main ()
12947 return xmlSchemaSetValidStructuredErrors ();
12949 return 0;
12951 _ACEOF
12952 if ac_fn_c_try_link "$LINENO"; then :
12953 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
12954 else
12955 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
12957 rm -f core conftest.err conftest.$ac_objext \
12958 conftest$ac_exeext conftest.$ac_ext
12959 LIBS=$ac_check_lib_save_LIBS
12961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
12962 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
12963 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
12965 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
12969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
12970 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
12971 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
12972 $as_echo_n "(cached) " >&6
12973 else
12974 ac_check_lib_save_LIBS=$LIBS
12975 LIBS="-lxml2 $XML2_LIBS $LIBS"
12976 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12977 /* end confdefs.h. */
12979 /* Override any GCC internal prototype to avoid an error.
12980 Use char because int might match the return type of a GCC
12981 builtin and then its argument prototype would still apply. */
12982 #ifdef __cplusplus
12983 extern "C"
12984 #endif
12985 char xmlFirstElementChild ();
12987 main ()
12989 return xmlFirstElementChild ();
12991 return 0;
12993 _ACEOF
12994 if ac_fn_c_try_link "$LINENO"; then :
12995 ac_cv_lib_xml2_xmlFirstElementChild=yes
12996 else
12997 ac_cv_lib_xml2_xmlFirstElementChild=no
12999 rm -f core conftest.err conftest.$ac_objext \
13000 conftest$ac_exeext conftest.$ac_ext
13001 LIBS=$ac_check_lib_save_LIBS
13003 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
13004 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
13005 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
13007 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
13011 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
13013 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
13015 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
13019 else
13020 XML2_CFLAGS=""
13021 XML2_LIBS=""
13023 CPPFLAGS=$ac_save_CPPFLAGS
13024 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13025 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13028 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
13029 case "x$with_xml" in
13030 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
13031 xno) ;;
13032 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
13033 This is an error since --with-xml was requested." "$LINENO" 5 ;;
13034 esac
13038 if test "x$with_xslt" != "xno"
13039 then
13040 if ${XSLT_CFLAGS:+false} :; then :
13041 if ${PKG_CONFIG+:} false; then :
13042 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
13045 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
13046 if ${XSLT_LIBS:+false} :; then :
13047 if ${PKG_CONFIG+:} false; then :
13048 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
13051 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
13052 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
13053 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
13054 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
13055 ac_save_CPPFLAGS=$CPPFLAGS
13056 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
13057 for ac_header in libxslt/pattern.h libxslt/transform.h
13058 do :
13059 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13060 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
13061 # include <libxslt/pattern.h>
13062 #endif
13064 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13065 cat >>confdefs.h <<_ACEOF
13066 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13067 _ACEOF
13071 done
13073 if test "$ac_cv_header_libxslt_transform_h" = "yes"
13074 then
13075 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
13076 $as_echo_n "checking for -lxslt... " >&6; }
13077 if ${ac_cv_lib_soname_xslt+:} false; then :
13078 $as_echo_n "(cached) " >&6
13079 else
13080 ac_check_soname_save_LIBS=$LIBS
13081 LIBS="-lxslt $XSLT_LIBS $LIBS"
13082 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13083 /* end confdefs.h. */
13085 /* Override any GCC internal prototype to avoid an error.
13086 Use char because int might match the return type of a GCC
13087 builtin and then its argument prototype would still apply. */
13088 #ifdef __cplusplus
13089 extern "C"
13090 #endif
13091 char xsltCompilePattern ();
13093 main ()
13095 return xsltCompilePattern ();
13097 return 0;
13099 _ACEOF
13100 if ac_fn_c_try_link "$LINENO"; then :
13101 case "$LIBEXT" in
13102 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13103 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'` ;;
13104 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13105 if ${ac_cv_lib_soname_xslt:+false} :; then :
13106 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13107 fi ;;
13108 esac
13109 else
13110 ac_cv_lib_soname_xslt=
13112 rm -f core conftest.err conftest.$ac_objext \
13113 conftest$ac_exeext conftest.$ac_ext
13114 LIBS=$ac_check_soname_save_LIBS
13116 if ${ac_cv_lib_soname_xslt:+false} :; then :
13117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13118 $as_echo "not found" >&6; }
13120 else
13121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
13122 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
13124 cat >>confdefs.h <<_ACEOF
13125 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
13126 _ACEOF
13130 else
13131 XSLT_CFLAGS=""
13133 CPPFLAGS=$ac_save_CPPFLAGS
13134 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13135 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13138 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
13139 case "x$with_xslt" in
13140 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
13141 xno) ;;
13142 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
13143 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
13144 esac
13148 if test "x$with_inotify" != "xno"
13149 then
13150 if ${INOTIFY_CFLAGS:+false} :; then :
13151 if ${PKG_CONFIG+:} false; then :
13152 INOTIFY_CFLAGS=`$PKG_CONFIG --cflags libinotify 2>/dev/null`
13156 if ${INOTIFY_LIBS:+false} :; then :
13157 if ${PKG_CONFIG+:} false; then :
13158 INOTIFY_LIBS=`$PKG_CONFIG --libs libinotify 2>/dev/null`
13163 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify cflags: $INOTIFY_CFLAGS" >&5
13164 $as_echo "$as_me:${as_lineno-$LINENO}: libinotify libs: $INOTIFY_LIBS" >&5
13165 ac_save_CPPFLAGS=$CPPFLAGS
13166 CPPFLAGS="$CPPFLAGS $INOTIFY_CFLAGS"
13167 for ac_header in sys/inotify.h
13168 do :
13169 ac_fn_c_check_header_mongrel "$LINENO" "sys/inotify.h" "ac_cv_header_sys_inotify_h" "$ac_includes_default"
13170 if test "x$ac_cv_header_sys_inotify_h" = xyes; then :
13171 cat >>confdefs.h <<_ACEOF
13172 #define HAVE_SYS_INOTIFY_H 1
13173 _ACEOF
13177 done
13179 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inotify_add_watch in -linotify" >&5
13180 $as_echo_n "checking for inotify_add_watch in -linotify... " >&6; }
13181 if ${ac_cv_lib_inotify_inotify_add_watch+:} false; then :
13182 $as_echo_n "(cached) " >&6
13183 else
13184 ac_check_lib_save_LIBS=$LIBS
13185 LIBS="-linotify $INOTIFY_LIBS $LIBS"
13186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13187 /* end confdefs.h. */
13189 /* Override any GCC internal prototype to avoid an error.
13190 Use char because int might match the return type of a GCC
13191 builtin and then its argument prototype would still apply. */
13192 #ifdef __cplusplus
13193 extern "C"
13194 #endif
13195 char inotify_add_watch ();
13197 main ()
13199 return inotify_add_watch ();
13201 return 0;
13203 _ACEOF
13204 if ac_fn_c_try_link "$LINENO"; then :
13205 ac_cv_lib_inotify_inotify_add_watch=yes
13206 else
13207 ac_cv_lib_inotify_inotify_add_watch=no
13209 rm -f core conftest.err conftest.$ac_objext \
13210 conftest$ac_exeext conftest.$ac_ext
13211 LIBS=$ac_check_lib_save_LIBS
13213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_inotify_inotify_add_watch" >&5
13214 $as_echo "$ac_cv_lib_inotify_inotify_add_watch" >&6; }
13215 if test "x$ac_cv_lib_inotify_inotify_add_watch" = xyes; then :
13217 else
13218 INOTIFY_LIBS=""
13221 CPPFLAGS=$ac_save_CPPFLAGS
13222 test -z "$INOTIFY_CFLAGS" || INOTIFY_CFLAGS=`echo " $INOTIFY_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13223 test -z "$INOTIFY_LIBS" || INOTIFY_LIBS=`echo " $INOTIFY_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13226 if test "$ac_cv_header_sys_inotify_h" != "yes"; then :
13227 case "x$with_inotify" in
13228 x) as_fn_append wine_notices "|libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported." ;;
13229 xno) ;;
13230 *) as_fn_error $? "libinotify ${notice_platform}development files not found (or too old), filesystem change notifications won't be supported.
13231 This is an error since --with-inotify was requested." "$LINENO" 5 ;;
13232 esac
13236 if test "x$with_dbus" != "xno"
13237 then
13238 if ${DBUS_CFLAGS:+false} :; then :
13239 if ${PKG_CONFIG+:} false; then :
13240 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
13244 if ${DBUS_LIBS:+false} :; then :
13245 if ${PKG_CONFIG+:} false; then :
13246 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
13251 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
13252 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
13253 ac_save_CPPFLAGS=$CPPFLAGS
13254 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
13255 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
13256 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
13257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
13258 $as_echo_n "checking for -ldbus-1... " >&6; }
13259 if ${ac_cv_lib_soname_dbus_1+:} false; then :
13260 $as_echo_n "(cached) " >&6
13261 else
13262 ac_check_soname_save_LIBS=$LIBS
13263 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
13264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13265 /* end confdefs.h. */
13267 /* Override any GCC internal prototype to avoid an error.
13268 Use char because int might match the return type of a GCC
13269 builtin and then its argument prototype would still apply. */
13270 #ifdef __cplusplus
13271 extern "C"
13272 #endif
13273 char dbus_connection_close ();
13275 main ()
13277 return dbus_connection_close ();
13279 return 0;
13281 _ACEOF
13282 if ac_fn_c_try_link "$LINENO"; then :
13283 case "$LIBEXT" in
13284 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13285 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'` ;;
13286 *) 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'`
13287 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13288 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13289 fi ;;
13290 esac
13291 else
13292 ac_cv_lib_soname_dbus_1=
13294 rm -f core conftest.err conftest.$ac_objext \
13295 conftest$ac_exeext conftest.$ac_ext
13296 LIBS=$ac_check_soname_save_LIBS
13298 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
13299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13300 $as_echo "not found" >&6; }
13301 DBUS_CFLAGS=""
13302 else
13303 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
13304 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
13306 cat >>confdefs.h <<_ACEOF
13307 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
13308 _ACEOF
13312 else
13313 DBUS_CFLAGS=""
13317 CPPFLAGS=$ac_save_CPPFLAGS
13318 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13319 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13322 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
13323 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13324 case "x$with_dbus" in
13325 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
13326 xno) ;;
13327 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
13328 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
13329 esac
13333 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
13334 then
13335 if ${HAL_CFLAGS:+false} :; then :
13336 if ${PKG_CONFIG+:} false; then :
13337 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
13341 if ${HAL_LIBS:+false} :; then :
13342 if ${PKG_CONFIG+:} false; then :
13343 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
13347 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
13348 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
13349 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
13350 ac_save_CPPFLAGS=$CPPFLAGS
13351 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
13352 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
13353 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
13354 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
13355 $as_echo_n "checking for -lhal... " >&6; }
13356 if ${ac_cv_lib_soname_hal+:} false; then :
13357 $as_echo_n "(cached) " >&6
13358 else
13359 ac_check_soname_save_LIBS=$LIBS
13360 LIBS="-lhal $HAL_LIBS $LIBS"
13361 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13362 /* end confdefs.h. */
13364 /* Override any GCC internal prototype to avoid an error.
13365 Use char because int might match the return type of a GCC
13366 builtin and then its argument prototype would still apply. */
13367 #ifdef __cplusplus
13368 extern "C"
13369 #endif
13370 char libhal_ctx_new ();
13372 main ()
13374 return libhal_ctx_new ();
13376 return 0;
13378 _ACEOF
13379 if ac_fn_c_try_link "$LINENO"; then :
13380 case "$LIBEXT" in
13381 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13382 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'` ;;
13383 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13384 if ${ac_cv_lib_soname_hal:+false} :; then :
13385 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13386 fi ;;
13387 esac
13388 else
13389 ac_cv_lib_soname_hal=
13391 rm -f core conftest.err conftest.$ac_objext \
13392 conftest$ac_exeext conftest.$ac_ext
13393 LIBS=$ac_check_soname_save_LIBS
13395 if ${ac_cv_lib_soname_hal:+false} :; then :
13396 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13397 $as_echo "not found" >&6; }
13398 HAL_CFLAGS=""
13399 else
13400 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
13401 $as_echo "$ac_cv_lib_soname_hal" >&6; }
13403 cat >>confdefs.h <<_ACEOF
13404 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
13405 _ACEOF
13409 else
13410 HAL_CFLAGS=""
13414 CPPFLAGS=$ac_save_CPPFLAGS
13415 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13416 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13418 if test "x$ac_cv_lib_soname_hal" = "x" -a \
13419 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
13420 case "x$with_hal" in
13421 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
13422 xno) ;;
13423 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
13424 This is an error since --with-hal was requested." "$LINENO" 5 ;;
13425 esac
13430 if test "x$with_gnutls" != "xno"
13431 then
13432 if ${GNUTLS_CFLAGS:+false} :; then :
13433 if ${PKG_CONFIG+:} false; then :
13434 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
13438 if ${GNUTLS_LIBS:+false} :; then :
13439 if ${PKG_CONFIG+:} false; then :
13440 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
13445 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
13446 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
13447 ac_save_CPPFLAGS=$CPPFLAGS
13448 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
13449 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
13450 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
13451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13452 /* end confdefs.h. */
13453 #include <gnutls/gnutls.h>
13454 #include <gnutls/crypto.h>
13456 main ()
13458 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
13460 return 0;
13462 _ACEOF
13463 if ac_fn_c_try_compile "$LINENO"; then :
13464 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
13465 $as_echo_n "checking for -lgnutls... " >&6; }
13466 if ${ac_cv_lib_soname_gnutls+:} false; then :
13467 $as_echo_n "(cached) " >&6
13468 else
13469 ac_check_soname_save_LIBS=$LIBS
13470 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
13471 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13472 /* end confdefs.h. */
13474 /* Override any GCC internal prototype to avoid an error.
13475 Use char because int might match the return type of a GCC
13476 builtin and then its argument prototype would still apply. */
13477 #ifdef __cplusplus
13478 extern "C"
13479 #endif
13480 char gnutls_global_init ();
13482 main ()
13484 return gnutls_global_init ();
13486 return 0;
13488 _ACEOF
13489 if ac_fn_c_try_link "$LINENO"; then :
13490 case "$LIBEXT" in
13491 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13492 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'` ;;
13493 *) 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'`
13494 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13495 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'`
13496 fi ;;
13497 esac
13498 else
13499 ac_cv_lib_soname_gnutls=
13501 rm -f core conftest.err conftest.$ac_objext \
13502 conftest$ac_exeext conftest.$ac_ext
13503 LIBS=$ac_check_soname_save_LIBS
13505 if ${ac_cv_lib_soname_gnutls:+false} :; then :
13506 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13507 $as_echo "not found" >&6; }
13508 GNUTLS_CFLAGS=""
13509 else
13510 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
13511 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
13513 cat >>confdefs.h <<_ACEOF
13514 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
13515 _ACEOF
13519 ac_wine_check_funcs_save_LIBS="$LIBS"
13520 LIBS="$LIBS $GNUTLS_LIBS"
13521 for ac_func in gnutls_cipher_init
13522 do :
13523 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
13524 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
13525 cat >>confdefs.h <<_ACEOF
13526 #define HAVE_GNUTLS_CIPHER_INIT 1
13527 _ACEOF
13529 else
13530 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
13532 done
13534 LIBS="$ac_wine_check_funcs_save_LIBS"
13536 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
13537 else
13538 GNUTLS_CFLAGS=""
13542 CPPFLAGS=$ac_save_CPPFLAGS
13543 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13544 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13547 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
13548 case "x$with_gnutls" in
13549 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
13550 xno) ;;
13551 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
13552 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
13553 esac
13557 CURSES_LIBS=""
13558 if test "$ac_cv_header_ncurses_h" = "yes"
13559 then
13560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
13561 $as_echo_n "checking for -lncurses... " >&6; }
13562 if ${ac_cv_lib_soname_ncurses+:} false; then :
13563 $as_echo_n "(cached) " >&6
13564 else
13565 ac_check_soname_save_LIBS=$LIBS
13566 LIBS="-lncurses $LIBS"
13567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13568 /* end confdefs.h. */
13570 /* Override any GCC internal prototype to avoid an error.
13571 Use char because int might match the return type of a GCC
13572 builtin and then its argument prototype would still apply. */
13573 #ifdef __cplusplus
13574 extern "C"
13575 #endif
13576 char waddch ();
13578 main ()
13580 return waddch ();
13582 return 0;
13584 _ACEOF
13585 if ac_fn_c_try_link "$LINENO"; then :
13586 case "$LIBEXT" in
13587 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13588 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'` ;;
13589 *) 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'`
13590 if ${ac_cv_lib_soname_ncurses:+false} :; then :
13591 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13592 fi ;;
13593 esac
13594 else
13595 ac_cv_lib_soname_ncurses=
13597 rm -f core conftest.err conftest.$ac_objext \
13598 conftest$ac_exeext conftest.$ac_ext
13599 LIBS=$ac_check_soname_save_LIBS
13601 if ${ac_cv_lib_soname_ncurses:+false} :; then :
13602 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13603 $as_echo "not found" >&6; }
13605 else
13606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
13607 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
13609 cat >>confdefs.h <<_ACEOF
13610 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
13611 _ACEOF
13613 CURSES_LIBS="-lncurses"
13615 elif test "$ac_cv_header_curses_h" = "yes"
13616 then
13617 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
13618 $as_echo_n "checking for -lcurses... " >&6; }
13619 if ${ac_cv_lib_soname_curses+:} false; then :
13620 $as_echo_n "(cached) " >&6
13621 else
13622 ac_check_soname_save_LIBS=$LIBS
13623 LIBS="-lcurses $LIBS"
13624 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13625 /* end confdefs.h. */
13627 /* Override any GCC internal prototype to avoid an error.
13628 Use char because int might match the return type of a GCC
13629 builtin and then its argument prototype would still apply. */
13630 #ifdef __cplusplus
13631 extern "C"
13632 #endif
13633 char waddch ();
13635 main ()
13637 return waddch ();
13639 return 0;
13641 _ACEOF
13642 if ac_fn_c_try_link "$LINENO"; then :
13643 case "$LIBEXT" in
13644 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13645 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'` ;;
13646 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13647 if ${ac_cv_lib_soname_curses:+false} :; then :
13648 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13649 fi ;;
13650 esac
13651 else
13652 ac_cv_lib_soname_curses=
13654 rm -f core conftest.err conftest.$ac_objext \
13655 conftest$ac_exeext conftest.$ac_ext
13656 LIBS=$ac_check_soname_save_LIBS
13658 if ${ac_cv_lib_soname_curses:+false} :; then :
13659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13660 $as_echo "not found" >&6; }
13662 else
13663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
13664 $as_echo "$ac_cv_lib_soname_curses" >&6; }
13666 cat >>confdefs.h <<_ACEOF
13667 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
13668 _ACEOF
13670 CURSES_LIBS="-lcurses"
13673 ac_save_LIBS="$LIBS"
13674 LIBS="$LIBS $CURSES_LIBS"
13675 for ac_func in mousemask
13676 do :
13677 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
13678 if test "x$ac_cv_func_mousemask" = xyes; then :
13679 cat >>confdefs.h <<_ACEOF
13680 #define HAVE_MOUSEMASK 1
13681 _ACEOF
13684 done
13686 LIBS="$ac_save_LIBS"
13687 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
13688 case "x$with_curses" in
13689 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
13690 xno) ;;
13691 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
13692 This is an error since --with-curses was requested." "$LINENO" 5 ;;
13693 esac
13697 if test "x$with_sane" != "xno"
13698 then
13699 if ${SANE_CFLAGS:+false} :; then :
13700 if ${PKG_CONFIG+:} false; then :
13701 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
13704 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
13705 if ${SANE_LIBS:+false} :; then :
13706 if ${PKG_CONFIG+:} false; then :
13707 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
13710 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
13712 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
13713 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
13714 ac_save_CPPFLAGS=$CPPFLAGS
13715 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
13716 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
13717 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
13718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
13719 $as_echo_n "checking for -lsane... " >&6; }
13720 if ${ac_cv_lib_soname_sane+:} false; then :
13721 $as_echo_n "(cached) " >&6
13722 else
13723 ac_check_soname_save_LIBS=$LIBS
13724 LIBS="-lsane $SANE_LIBS $LIBS"
13725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13726 /* end confdefs.h. */
13728 /* Override any GCC internal prototype to avoid an error.
13729 Use char because int might match the return type of a GCC
13730 builtin and then its argument prototype would still apply. */
13731 #ifdef __cplusplus
13732 extern "C"
13733 #endif
13734 char sane_init ();
13736 main ()
13738 return sane_init ();
13740 return 0;
13742 _ACEOF
13743 if ac_fn_c_try_link "$LINENO"; then :
13744 case "$LIBEXT" in
13745 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13746 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'` ;;
13747 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13748 if ${ac_cv_lib_soname_sane:+false} :; then :
13749 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13750 fi ;;
13751 esac
13752 else
13753 ac_cv_lib_soname_sane=
13755 rm -f core conftest.err conftest.$ac_objext \
13756 conftest$ac_exeext conftest.$ac_ext
13757 LIBS=$ac_check_soname_save_LIBS
13759 if ${ac_cv_lib_soname_sane:+false} :; then :
13760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13761 $as_echo "not found" >&6; }
13762 SANE_CFLAGS=""
13763 else
13764 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
13765 $as_echo "$ac_cv_lib_soname_sane" >&6; }
13767 cat >>confdefs.h <<_ACEOF
13768 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
13769 _ACEOF
13773 else
13774 SANE_CFLAGS=""
13778 CPPFLAGS=$ac_save_CPPFLAGS
13779 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13780 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13783 if test "x$ac_cv_lib_soname_sane" = "x"; then :
13784 case "x$with_sane" in
13785 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
13786 xno) ;;
13787 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
13788 This is an error since --with-sane was requested." "$LINENO" 5 ;;
13789 esac
13793 if test "x$with_v4l2" != "xno"
13794 then
13795 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l2" >&5
13796 $as_echo_n "checking for -lv4l2... " >&6; }
13797 if ${ac_cv_lib_soname_v4l2+:} false; then :
13798 $as_echo_n "(cached) " >&6
13799 else
13800 ac_check_soname_save_LIBS=$LIBS
13801 LIBS="-lv4l2 $LIBS"
13802 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13803 /* end confdefs.h. */
13805 /* Override any GCC internal prototype to avoid an error.
13806 Use char because int might match the return type of a GCC
13807 builtin and then its argument prototype would still apply. */
13808 #ifdef __cplusplus
13809 extern "C"
13810 #endif
13811 char v4l2_open ();
13813 main ()
13815 return v4l2_open ();
13817 return 0;
13819 _ACEOF
13820 if ac_fn_c_try_link "$LINENO"; then :
13821 case "$LIBEXT" in
13822 dll) ac_cv_lib_soname_v4l2=`$ac_cv_path_LDD conftest.exe | grep "v4l2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13823 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'` ;;
13824 *) ac_cv_lib_soname_v4l2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13825 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13826 ac_cv_lib_soname_v4l2=`$LDD conftest$ac_exeext | grep "libv4l2\\.$LIBEXT" | sed -e "s/^.*\(libv4l2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13827 fi ;;
13828 esac
13829 else
13830 ac_cv_lib_soname_v4l2=
13832 rm -f core conftest.err conftest.$ac_objext \
13833 conftest$ac_exeext conftest.$ac_ext
13834 LIBS=$ac_check_soname_save_LIBS
13836 if ${ac_cv_lib_soname_v4l2:+false} :; then :
13837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13838 $as_echo "not found" >&6; }
13840 else
13841 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l2" >&5
13842 $as_echo "$ac_cv_lib_soname_v4l2" >&6; }
13844 cat >>confdefs.h <<_ACEOF
13845 #define SONAME_LIBV4L2 "$ac_cv_lib_soname_v4l2"
13846 _ACEOF
13851 if test "x$ac_cv_lib_soname_v4l2" = "x"; then :
13852 case "x$with_v4l2" in
13853 x) as_fn_append wine_notices "|libv4l2 ${notice_platform}development files not found." ;;
13854 xno) ;;
13855 *) as_fn_error $? "libv4l2 ${notice_platform}development files not found.
13856 This is an error since --with-v4l2 was requested." "$LINENO" 5 ;;
13857 esac
13861 if test "x$with_gphoto" != "xno"
13862 then
13863 if ${GPHOTO2_CFLAGS:+false} :; then :
13864 if ${PKG_CONFIG+:} false; then :
13865 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
13868 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
13869 if ${GPHOTO2_LIBS:+false} :; then :
13870 if ${PKG_CONFIG+:} false; then :
13871 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
13874 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
13875 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
13876 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
13877 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
13878 ac_save_CPPFLAGS=$CPPFLAGS
13879 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
13880 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
13881 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
13882 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
13883 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
13884 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
13885 $as_echo_n "(cached) " >&6
13886 else
13887 ac_check_lib_save_LIBS=$LIBS
13888 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
13889 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13890 /* end confdefs.h. */
13892 /* Override any GCC internal prototype to avoid an error.
13893 Use char because int might match the return type of a GCC
13894 builtin and then its argument prototype would still apply. */
13895 #ifdef __cplusplus
13896 extern "C"
13897 #endif
13898 char gp_camera_new ();
13900 main ()
13902 return gp_camera_new ();
13904 return 0;
13906 _ACEOF
13907 if ac_fn_c_try_link "$LINENO"; then :
13908 ac_cv_lib_gphoto2_gp_camera_new=yes
13909 else
13910 ac_cv_lib_gphoto2_gp_camera_new=no
13912 rm -f core conftest.err conftest.$ac_objext \
13913 conftest$ac_exeext conftest.$ac_ext
13914 LIBS=$ac_check_lib_save_LIBS
13916 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
13917 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
13918 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
13920 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
13922 else
13923 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
13926 else
13927 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
13931 CPPFLAGS=$ac_save_CPPFLAGS
13932 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13933 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13935 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
13936 if ${PKG_CONFIG+:} false; then :
13937 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
13940 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
13941 if ${GPHOTO2_PORT_LIBS:+false} :; then :
13942 if ${PKG_CONFIG+:} false; then :
13943 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
13946 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
13947 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
13948 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
13949 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
13950 ac_save_CPPFLAGS=$CPPFLAGS
13951 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
13952 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
13953 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
13954 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
13955 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
13956 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
13957 $as_echo_n "(cached) " >&6
13958 else
13959 ac_check_lib_save_LIBS=$LIBS
13960 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
13961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13962 /* end confdefs.h. */
13964 /* Override any GCC internal prototype to avoid an error.
13965 Use char because int might match the return type of a GCC
13966 builtin and then its argument prototype would still apply. */
13967 #ifdef __cplusplus
13968 extern "C"
13969 #endif
13970 char gp_port_info_list_new ();
13972 main ()
13974 return gp_port_info_list_new ();
13976 return 0;
13978 _ACEOF
13979 if ac_fn_c_try_link "$LINENO"; then :
13980 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
13981 else
13982 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
13984 rm -f core conftest.err conftest.$ac_objext \
13985 conftest$ac_exeext conftest.$ac_ext
13986 LIBS=$ac_check_lib_save_LIBS
13988 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
13989 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
13990 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
13992 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
13994 else
13995 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
13998 else
13999 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
14003 CPPFLAGS=$ac_save_CPPFLAGS
14004 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14005 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14008 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
14009 case "x$with_gphoto" in
14010 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
14011 xno) ;;
14012 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
14013 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14014 esac
14017 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
14018 case "x$with_gphoto" in
14019 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
14020 xno) ;;
14021 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
14022 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
14023 esac
14028 if test "$ac_cv_header_resolv_h" = "yes"
14029 then
14030 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
14031 $as_echo_n "checking for resolver library... " >&6; }
14032 if ${ac_cv_have_resolv+:} false; then :
14033 $as_echo_n "(cached) " >&6
14034 else
14035 ac_save_LIBS="$LIBS"
14036 for lib in '' -lresolv
14038 LIBS="$lib $ac_save_LIBS"
14039 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14040 /* end confdefs.h. */
14041 #ifdef HAVE_NETINET_IN_H
14042 #include <netinet/in.h>
14043 #endif
14044 #include <resolv.h>
14046 main ()
14048 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
14050 return 0;
14052 _ACEOF
14053 if ac_fn_c_try_link "$LINENO"; then :
14054 ac_cv_have_resolv=${lib:-"none required"}
14055 else
14056 ac_cv_have_resolv="not found"
14058 rm -f core conftest.err conftest.$ac_objext \
14059 conftest$ac_exeext conftest.$ac_ext
14060 test "x$ac_cv_have_resolv" = "xnot found" || break
14061 done
14062 LIBS="$ac_save_LIBS"
14064 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
14065 $as_echo "$ac_cv_have_resolv" >&6; }
14067 case "$ac_cv_have_resolv" in
14068 "not found") ;;
14069 "none required")
14071 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14074 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
14076 RESOLV_LIBS=$ac_cv_have_resolv
14078 esac
14081 if test "x$with_cms" != "xno"
14082 then
14083 if ${LCMS2_CFLAGS:+false} :; then :
14084 if ${PKG_CONFIG+:} false; then :
14085 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
14089 if ${LCMS2_LIBS:+false} :; then :
14090 if ${PKG_CONFIG+:} false; then :
14091 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
14095 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
14096 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
14097 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
14098 ac_save_CPPFLAGS=$CPPFLAGS
14099 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
14100 for ac_header in lcms2.h
14101 do :
14102 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
14103 if test "x$ac_cv_header_lcms2_h" = xyes; then :
14104 cat >>confdefs.h <<_ACEOF
14105 #define HAVE_LCMS2_H 1
14106 _ACEOF
14110 done
14112 if test "$ac_cv_header_lcms2_h" = "yes"
14113 then
14114 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
14115 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
14116 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
14117 $as_echo_n "(cached) " >&6
14118 else
14119 ac_check_lib_save_LIBS=$LIBS
14120 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
14121 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14122 /* end confdefs.h. */
14124 /* Override any GCC internal prototype to avoid an error.
14125 Use char because int might match the return type of a GCC
14126 builtin and then its argument prototype would still apply. */
14127 #ifdef __cplusplus
14128 extern "C"
14129 #endif
14130 char cmsOpenProfileFromFile ();
14132 main ()
14134 return cmsOpenProfileFromFile ();
14136 return 0;
14138 _ACEOF
14139 if ac_fn_c_try_link "$LINENO"; then :
14140 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
14141 else
14142 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
14144 rm -f core conftest.err conftest.$ac_objext \
14145 conftest$ac_exeext conftest.$ac_ext
14146 LIBS=$ac_check_lib_save_LIBS
14148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
14149 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
14150 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
14152 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
14154 else
14155 LCMS2_LIBS=""
14158 else
14159 LCMS2_CFLAGS=""
14160 LCMS2_LIBS=""
14162 CPPFLAGS=$ac_save_CPPFLAGS
14163 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14164 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14167 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
14168 case "x$with_cms" in
14169 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
14170 xno) ;;
14171 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
14172 This is an error since --with-cms was requested." "$LINENO" 5 ;;
14173 esac
14177 if test "x$with_freetype" != "xno"
14178 then
14179 if ${FREETYPE_CFLAGS:+false} :; then :
14180 if ${PKG_CONFIG+:} false; then :
14181 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
14184 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
14185 if ${FREETYPE_LIBS:+false} :; then :
14186 if ${PKG_CONFIG+:} false; then :
14187 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
14190 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
14191 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
14192 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
14193 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
14194 ac_save_CPPFLAGS=$CPPFLAGS
14195 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
14196 for ac_header in ft2build.h
14197 do :
14198 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
14199 if test "x$ac_cv_header_ft2build_h" = xyes; then :
14200 cat >>confdefs.h <<_ACEOF
14201 #define HAVE_FT2BUILD_H 1
14202 _ACEOF
14206 done
14208 if test "$ac_cv_header_ft2build_h" = "yes"
14209 then
14210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
14211 $as_echo_n "checking for -lfreetype... " >&6; }
14212 if ${ac_cv_lib_soname_freetype+:} false; then :
14213 $as_echo_n "(cached) " >&6
14214 else
14215 ac_check_soname_save_LIBS=$LIBS
14216 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
14217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14218 /* end confdefs.h. */
14220 /* Override any GCC internal prototype to avoid an error.
14221 Use char because int might match the return type of a GCC
14222 builtin and then its argument prototype would still apply. */
14223 #ifdef __cplusplus
14224 extern "C"
14225 #endif
14226 char FT_Init_FreeType ();
14228 main ()
14230 return FT_Init_FreeType ();
14232 return 0;
14234 _ACEOF
14235 if ac_fn_c_try_link "$LINENO"; then :
14236 case "$LIBEXT" in
14237 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14238 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'` ;;
14239 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14240 if ${ac_cv_lib_soname_freetype:+false} :; then :
14241 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14242 fi ;;
14243 esac
14244 else
14245 ac_cv_lib_soname_freetype=
14247 rm -f core conftest.err conftest.$ac_objext \
14248 conftest$ac_exeext conftest.$ac_ext
14249 LIBS=$ac_check_soname_save_LIBS
14251 if ${ac_cv_lib_soname_freetype:+false} :; then :
14252 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14253 $as_echo "not found" >&6; }
14254 FREETYPE_LIBS=""
14255 else
14256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
14257 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
14259 cat >>confdefs.h <<_ACEOF
14260 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
14261 _ACEOF
14264 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
14266 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
14267 #include FT_MODULE_H
14269 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
14271 cat >>confdefs.h <<_ACEOF
14272 #define HAVE_FT_TRUETYPEENGINETYPE 1
14273 _ACEOF
14279 else
14280 FREETYPE_CFLAGS=""
14281 FREETYPE_LIBS=""
14283 CPPFLAGS=$ac_save_CPPFLAGS
14284 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14285 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14288 if test "x$ac_cv_lib_soname_freetype" = x; then :
14289 case "x$with_freetype" in
14290 xno) ;;
14291 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
14292 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
14293 esac
14294 enable_fonts=${enable_fonts:-no}
14297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
14298 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
14299 if ${ac_cv_c_ppdev+:} false; then :
14300 $as_echo_n "(cached) " >&6
14301 else
14302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14303 /* end confdefs.h. */
14304 #ifdef HAVE_SYS_IOCTL_H
14305 # include <sys/ioctl.h>
14306 #endif
14307 #include <linux/ppdev.h>
14309 main ()
14311 ioctl (1,PPCLAIM,0)
14313 return 0;
14315 _ACEOF
14316 if ac_fn_c_try_compile "$LINENO"; then :
14317 ac_cv_c_ppdev="yes"
14318 else
14319 ac_cv_c_ppdev="no"
14321 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
14324 $as_echo "$ac_cv_c_ppdev" >&6; }
14325 if test "$ac_cv_c_ppdev" = "yes"
14326 then
14328 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
14332 ac_wine_check_funcs_save_LIBS="$LIBS"
14333 LIBS="$LIBS $PTHREAD_LIBS"
14334 for ac_func in \
14335 pthread_getthreadid_np
14336 do :
14337 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
14338 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
14339 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
14340 cat >>confdefs.h <<_ACEOF
14341 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
14342 _ACEOF
14345 done
14347 LIBS="$ac_wine_check_funcs_save_LIBS"
14349 if test "x$with_zlib" != "xno"
14350 then
14351 if ${Z_CFLAGS:+false} :; then :
14352 if ${PKG_CONFIG+:} false; then :
14353 Z_CFLAGS=`$PKG_CONFIG --cflags libz 2>/dev/null`
14357 if ${Z_LIBS:+false} :; then :
14358 if ${PKG_CONFIG+:} false; then :
14359 Z_LIBS=`$PKG_CONFIG --libs libz 2>/dev/null`
14363 Z_LIBS=${Z_LIBS:-"-lz"}
14364 $as_echo "$as_me:${as_lineno-$LINENO}: libz cflags: $Z_CFLAGS" >&5
14365 $as_echo "$as_me:${as_lineno-$LINENO}: libz libs: $Z_LIBS" >&5
14366 ac_save_CPPFLAGS=$CPPFLAGS
14367 CPPFLAGS="$CPPFLAGS $Z_CFLAGS"
14368 for ac_header in zlib.h
14369 do :
14370 ac_fn_c_check_header_mongrel "$LINENO" "zlib.h" "ac_cv_header_zlib_h" "$ac_includes_default"
14371 if test "x$ac_cv_header_zlib_h" = xyes; then :
14372 cat >>confdefs.h <<_ACEOF
14373 #define HAVE_ZLIB_H 1
14374 _ACEOF
14375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
14376 $as_echo_n "checking for inflate in -lz... " >&6; }
14377 if ${ac_cv_lib_z_inflate+:} false; then :
14378 $as_echo_n "(cached) " >&6
14379 else
14380 ac_check_lib_save_LIBS=$LIBS
14381 LIBS="-lz $Z_LIBS $LIBS"
14382 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14383 /* end confdefs.h. */
14385 /* Override any GCC internal prototype to avoid an error.
14386 Use char because int might match the return type of a GCC
14387 builtin and then its argument prototype would still apply. */
14388 #ifdef __cplusplus
14389 extern "C"
14390 #endif
14391 char inflate ();
14393 main ()
14395 return inflate ();
14397 return 0;
14399 _ACEOF
14400 if ac_fn_c_try_link "$LINENO"; then :
14401 ac_cv_lib_z_inflate=yes
14402 else
14403 ac_cv_lib_z_inflate=no
14405 rm -f core conftest.err conftest.$ac_objext \
14406 conftest$ac_exeext conftest.$ac_ext
14407 LIBS=$ac_check_lib_save_LIBS
14409 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
14410 $as_echo "$ac_cv_lib_z_inflate" >&6; }
14411 if test "x$ac_cv_lib_z_inflate" = xyes; then :
14413 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
14415 else
14416 Z_LIBS=""
14419 else
14420 Z_LIBS=""
14423 done
14425 CPPFLAGS=$ac_save_CPPFLAGS
14426 test -z "$Z_CFLAGS" || Z_CFLAGS=`echo " $Z_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14427 test -z "$Z_LIBS" || Z_LIBS=`echo " $Z_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14430 if test "x$Z_LIBS" = "x"; then :
14431 case "x$with_zlib" in
14432 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
14433 xno) ;;
14434 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
14435 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
14436 esac
14440 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
14441 then
14442 if test "$ac_cv_header_gettext_po_h" = "yes"
14443 then
14444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
14445 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
14446 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
14447 $as_echo_n "(cached) " >&6
14448 else
14449 ac_check_lib_save_LIBS=$LIBS
14450 LIBS="-lgettextpo $LIBS"
14451 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14452 /* end confdefs.h. */
14454 /* Override any GCC internal prototype to avoid an error.
14455 Use char because int might match the return type of a GCC
14456 builtin and then its argument prototype would still apply. */
14457 #ifdef __cplusplus
14458 extern "C"
14459 #endif
14460 char po_message_msgctxt ();
14462 main ()
14464 return po_message_msgctxt ();
14466 return 0;
14468 _ACEOF
14469 if ac_fn_c_try_link "$LINENO"; then :
14470 ac_cv_lib_gettextpo_po_message_msgctxt=yes
14471 else
14472 ac_cv_lib_gettextpo_po_message_msgctxt=no
14474 rm -f core conftest.err conftest.$ac_objext \
14475 conftest$ac_exeext conftest.$ac_ext
14476 LIBS=$ac_check_lib_save_LIBS
14478 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
14479 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
14480 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
14482 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
14484 GETTEXTPO_LIBS="-lgettextpo"
14489 if test "x$GETTEXTPO_LIBS" = "x"; then :
14490 case "x$with_gettextpo" in
14491 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
14492 xno) ;;
14493 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
14494 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14495 esac
14498 if test "$srcdir" != .; then :
14499 case "x$with_gettextpo" in
14500 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
14501 xno) ;;
14502 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
14503 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
14504 esac
14509 if test "x$with_pulse" != "xno";
14510 then
14511 if ${PULSE_CFLAGS:+false} :; then :
14512 if ${PKG_CONFIG+:} false; then :
14513 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
14517 if ${PULSE_LIBS:+false} :; then :
14518 if ${PKG_CONFIG+:} false; then :
14519 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
14524 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
14525 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
14526 ac_save_CPPFLAGS=$CPPFLAGS
14527 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
14528 for ac_header in pulse/pulseaudio.h
14529 do :
14530 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
14531 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
14532 cat >>confdefs.h <<_ACEOF
14533 #define HAVE_PULSE_PULSEAUDIO_H 1
14534 _ACEOF
14535 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
14536 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
14537 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
14538 $as_echo_n "(cached) " >&6
14539 else
14540 ac_check_lib_save_LIBS=$LIBS
14541 LIBS="-lpulse $PULSE_LIBS $LIBS"
14542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14543 /* end confdefs.h. */
14545 /* Override any GCC internal prototype to avoid an error.
14546 Use char because int might match the return type of a GCC
14547 builtin and then its argument prototype would still apply. */
14548 #ifdef __cplusplus
14549 extern "C"
14550 #endif
14551 char pa_stream_is_corked ();
14553 main ()
14555 return pa_stream_is_corked ();
14557 return 0;
14559 _ACEOF
14560 if ac_fn_c_try_link "$LINENO"; then :
14561 ac_cv_lib_pulse_pa_stream_is_corked=yes
14562 else
14563 ac_cv_lib_pulse_pa_stream_is_corked=no
14565 rm -f core conftest.err conftest.$ac_objext \
14566 conftest$ac_exeext conftest.$ac_ext
14567 LIBS=$ac_check_lib_save_LIBS
14569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
14570 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
14571 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
14573 else
14574 PULSE_LIBS=""
14577 else
14578 PULSE_LIBS=""
14581 done
14583 CPPFLAGS=$ac_save_CPPFLAGS
14584 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14585 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14588 if test -z "$PULSE_LIBS"; then :
14589 case "x$with_pulse" in
14590 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
14591 xno) ;;
14592 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
14593 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
14594 esac
14595 enable_winepulse_drv=${enable_winepulse_drv:-no}
14598 if test "x$with_gstreamer" != "xno"
14599 then
14600 if ${GSTREAMER_CFLAGS:+false} :; then :
14601 if ${PKG_CONFIG+:} false; then :
14602 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14606 if ${GSTREAMER_LIBS:+false} :; then :
14607 if ${PKG_CONFIG+:} false; then :
14608 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
14613 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
14614 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
14615 ac_save_CPPFLAGS=$CPPFLAGS
14616 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
14617 ac_gst_incl=""
14618 for i in $GSTREAMER_CFLAGS
14620 case "$i" in
14621 -I*) ac_gst_incl="$ac_gst_incl $i";;
14622 esac
14623 done
14624 GSTREAMER_CFLAGS=$ac_gst_incl
14625 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
14626 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
14627 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
14628 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
14629 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
14630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14631 /* end confdefs.h. */
14632 #include <gst/gst.h>
14634 main ()
14636 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
14638 return 0;
14640 _ACEOF
14641 if ac_fn_c_try_compile "$LINENO"; then :
14642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
14643 $as_echo "yes" >&6; }
14644 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
14645 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
14646 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
14647 $as_echo_n "(cached) " >&6
14648 else
14649 ac_check_lib_save_LIBS=$LIBS
14650 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
14651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14652 /* end confdefs.h. */
14654 /* Override any GCC internal prototype to avoid an error.
14655 Use char because int might match the return type of a GCC
14656 builtin and then its argument prototype would still apply. */
14657 #ifdef __cplusplus
14658 extern "C"
14659 #endif
14660 char gst_pad_new ();
14662 main ()
14664 return gst_pad_new ();
14666 return 0;
14668 _ACEOF
14669 if ac_fn_c_try_link "$LINENO"; then :
14670 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
14671 else
14672 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
14674 rm -f core conftest.err conftest.$ac_objext \
14675 conftest$ac_exeext conftest.$ac_ext
14676 LIBS=$ac_check_lib_save_LIBS
14678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
14679 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
14680 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
14684 else
14685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
14686 $as_echo "no" >&6; }
14687 ac_glib2_broken=yes
14688 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
14690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14694 CPPFLAGS=$ac_save_CPPFLAGS
14695 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14696 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14699 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 :
14700 case "x$with_gstreamer" in
14701 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
14702 xno) ;;
14703 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
14704 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
14705 esac
14708 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
14710 ALSA_LIBS=""
14712 if test "x$with_alsa" != "xno"
14713 then
14714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
14715 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
14716 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
14717 $as_echo_n "(cached) " >&6
14718 else
14719 ac_check_lib_save_LIBS=$LIBS
14720 LIBS="-lasound $LIBS"
14721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14722 /* end confdefs.h. */
14724 /* Override any GCC internal prototype to avoid an error.
14725 Use char because int might match the return type of a GCC
14726 builtin and then its argument prototype would still apply. */
14727 #ifdef __cplusplus
14728 extern "C"
14729 #endif
14730 char snd_pcm_hw_params_get_access_mask ();
14732 main ()
14734 return snd_pcm_hw_params_get_access_mask ();
14736 return 0;
14738 _ACEOF
14739 if ac_fn_c_try_link "$LINENO"; then :
14740 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
14741 else
14742 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
14744 rm -f core conftest.err conftest.$ac_objext \
14745 conftest$ac_exeext conftest.$ac_ext
14746 LIBS=$ac_check_lib_save_LIBS
14748 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
14749 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
14750 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
14751 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14752 /* end confdefs.h. */
14753 #include <alsa/asoundlib.h>
14755 main ()
14757 snd_pcm_hw_params_get_access_mask(NULL, NULL)
14759 return 0;
14761 _ACEOF
14762 if ac_fn_c_try_compile "$LINENO"; then :
14763 ALSA_LIBS="-lasound"
14765 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14769 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
14771 if test "x$with_oss" != xno
14772 then
14773 ac_save_CPPFLAGS="$CPPFLAGS"
14774 if test -f /etc/oss.conf
14775 then
14776 . /etc/oss.conf
14778 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
14779 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
14780 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
14781 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
14782 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
14784 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
14786 cat >>confdefs.h <<_ACEOF
14787 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
14788 _ACEOF
14790 OSS4_CFLAGS="$ac_oss_incl"
14792 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
14793 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
14794 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
14795 $as_echo_n "(cached) " >&6
14796 else
14797 ac_check_lib_save_LIBS=$LIBS
14798 LIBS="-lossaudio $LIBS"
14799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14800 /* end confdefs.h. */
14802 /* Override any GCC internal prototype to avoid an error.
14803 Use char because int might match the return type of a GCC
14804 builtin and then its argument prototype would still apply. */
14805 #ifdef __cplusplus
14806 extern "C"
14807 #endif
14808 char _oss_ioctl ();
14810 main ()
14812 return _oss_ioctl ();
14814 return 0;
14816 _ACEOF
14817 if ac_fn_c_try_link "$LINENO"; then :
14818 ac_cv_lib_ossaudio__oss_ioctl=yes
14819 else
14820 ac_cv_lib_ossaudio__oss_ioctl=no
14822 rm -f core conftest.err conftest.$ac_objext \
14823 conftest$ac_exeext conftest.$ac_ext
14824 LIBS=$ac_check_lib_save_LIBS
14826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
14827 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
14828 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
14829 OSS4_LIBS="-lossaudio"
14838 CPPFLAGS="$ac_save_CPPFLAGS"
14840 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
14841 case "x$with_oss" in
14842 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
14843 xno) ;;
14844 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
14845 This is an error since --with-oss was requested." "$LINENO" 5 ;;
14846 esac
14847 enable_wineoss_drv=${enable_wineoss_drv:-no}
14850 if test "x$with_udev" != "xno"
14851 then
14852 if ${UDEV_CFLAGS:+false} :; then :
14853 if ${PKG_CONFIG+:} false; then :
14854 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
14858 if ${UDEV_LIBS:+false} :; then :
14859 if ${PKG_CONFIG+:} false; then :
14860 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
14864 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
14865 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
14866 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
14867 ac_save_CPPFLAGS=$CPPFLAGS
14868 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
14869 for ac_header in libudev.h
14870 do :
14871 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
14872 if test "x$ac_cv_header_libudev_h" = xyes; then :
14873 cat >>confdefs.h <<_ACEOF
14874 #define HAVE_LIBUDEV_H 1
14875 _ACEOF
14876 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
14877 $as_echo_n "checking for udev_new in -ludev... " >&6; }
14878 if ${ac_cv_lib_udev_udev_new+:} false; then :
14879 $as_echo_n "(cached) " >&6
14880 else
14881 ac_check_lib_save_LIBS=$LIBS
14882 LIBS="-ludev $UDEV_LIBS $LIBS"
14883 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14884 /* end confdefs.h. */
14886 /* Override any GCC internal prototype to avoid an error.
14887 Use char because int might match the return type of a GCC
14888 builtin and then its argument prototype would still apply. */
14889 #ifdef __cplusplus
14890 extern "C"
14891 #endif
14892 char udev_new ();
14894 main ()
14896 return udev_new ();
14898 return 0;
14900 _ACEOF
14901 if ac_fn_c_try_link "$LINENO"; then :
14902 ac_cv_lib_udev_udev_new=yes
14903 else
14904 ac_cv_lib_udev_udev_new=no
14906 rm -f core conftest.err conftest.$ac_objext \
14907 conftest$ac_exeext conftest.$ac_ext
14908 LIBS=$ac_check_lib_save_LIBS
14910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
14911 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
14912 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
14914 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
14916 else
14917 UDEV_LIBS=""
14920 else
14921 UDEV_LIBS=""
14924 done
14926 CPPFLAGS=$ac_save_CPPFLAGS
14927 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14928 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14931 if test "x$UDEV_LIBS" = "x"; then :
14932 case "x$with_udev" in
14933 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
14934 xno) ;;
14935 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
14936 This is an error since --with-udev was requested." "$LINENO" 5 ;;
14937 esac
14941 if test "x$with_unwind" != xno
14942 then
14943 if ${UNWIND_CFLAGS:+false} :; then :
14944 if ${PKG_CONFIG+:} false; then :
14945 UNWIND_CFLAGS=`$PKG_CONFIG --cflags libunwind 2>/dev/null`
14949 if ${UNWIND_LIBS:+false} :; then :
14950 if ${PKG_CONFIG+:} false; then :
14951 UNWIND_LIBS=`$PKG_CONFIG --libs libunwind 2>/dev/null`
14955 UNWIND_LIBS=${UNWIND_LIBS:-"-lunwind"}
14956 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind cflags: $UNWIND_CFLAGS" >&5
14957 $as_echo "$as_me:${as_lineno-$LINENO}: libunwind libs: $UNWIND_LIBS" >&5
14958 ac_save_CPPFLAGS=$CPPFLAGS
14959 CPPFLAGS="$CPPFLAGS $UNWIND_CFLAGS"
14960 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step" >&5
14961 $as_echo_n "checking for unw_step... " >&6; }
14962 if ${wine_cv_have_unw_step+:} false; then :
14963 $as_echo_n "(cached) " >&6
14964 else
14965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14966 /* end confdefs.h. */
14967 #define UNW_LOCAL_ONLY
14968 #include <libunwind.h>
14970 main ()
14972 unw_cursor_t cursor; unw_step( &cursor );
14974 return 0;
14976 _ACEOF
14977 if ac_fn_c_try_link "$LINENO"; then :
14978 wine_cv_have_unw_step="yes"
14979 else
14980 wine_cv_have_unw_step="no"
14982 rm -f core conftest.err conftest.$ac_objext \
14983 conftest$ac_exeext conftest.$ac_ext
14985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_unw_step" >&5
14986 $as_echo "$wine_cv_have_unw_step" >&6; }
14987 if test "$wine_cv_have_unw_step" = no -a -n "$UNWIND_LIBS"
14988 then
14989 save_libs=$LIBS
14990 LIBS="$UNWIND_LIBS $LIBS"
14991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for unw_step in libunwind" >&5
14992 $as_echo_n "checking for unw_step in libunwind... " >&6; }
14993 if ${wine_cv_have_libunwind_unw_step+:} false; then :
14994 $as_echo_n "(cached) " >&6
14995 else
14996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14997 /* end confdefs.h. */
14998 #define UNW_LOCAL_ONLY
14999 #include <libunwind.h>
15001 main ()
15003 unw_cursor_t cursor; unw_step( &cursor );
15005 return 0;
15007 _ACEOF
15008 if ac_fn_c_try_link "$LINENO"; then :
15009 wine_cv_have_libunwind_unw_step="yes"
15010 else
15011 wine_cv_have_libunwind_unw_step="no"
15013 rm -f core conftest.err conftest.$ac_objext \
15014 conftest$ac_exeext conftest.$ac_ext
15016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_libunwind_unw_step" >&5
15017 $as_echo "$wine_cv_have_libunwind_unw_step" >&6; }
15018 LIBS=$save_libs
15020 test "$wine_cv_have_libunwind_unw_step" = yes || UNWIND_LIBS=""
15021 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" != xnono
15022 then
15024 $as_echo "#define HAVE_LIBUNWIND 1" >>confdefs.h
15027 CPPFLAGS=$ac_save_CPPFLAGS
15028 test -z "$UNWIND_CFLAGS" || UNWIND_CFLAGS=`echo " $UNWIND_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15029 test -z "$UNWIND_LIBS" || UNWIND_LIBS=`echo " $UNWIND_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15032 case $host in
15033 aarch64*|*-darwin*)
15034 if test "x$wine_cv_have_unw_step$wine_cv_have_libunwind_unw_step" = xnono; then :
15035 case "x$with_unwind" in
15036 x) as_fn_append wine_notices "|libunwind ${notice_platform}development files not found, stack unwinding won't work." ;;
15037 xno) ;;
15038 *) as_fn_error $? "libunwind ${notice_platform}development files not found, stack unwinding won't work.
15039 This is an error since --with-unwind was requested." "$LINENO" 5 ;;
15040 esac
15042 fi ;;
15043 esac
15045 if test "x$with_sdl" != "xno"
15046 then
15047 if ${SDL2_CFLAGS:+false} :; then :
15048 if ${PKG_CONFIG+:} false; then :
15049 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
15053 if ${SDL2_LIBS:+false} :; then :
15054 if ${PKG_CONFIG+:} false; then :
15055 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
15059 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
15060 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
15061 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
15062 ac_save_CPPFLAGS=$CPPFLAGS
15063 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
15064 for ac_header in SDL2/SDL.h
15065 do :
15066 ac_fn_c_check_header_mongrel "$LINENO" "SDL2/SDL.h" "ac_cv_header_SDL2_SDL_h" "$ac_includes_default"
15067 if test "x$ac_cv_header_SDL2_SDL_h" = xyes; then :
15068 cat >>confdefs.h <<_ACEOF
15069 #define HAVE_SDL2_SDL_H 1
15070 _ACEOF
15071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
15072 $as_echo_n "checking for -lSDL2... " >&6; }
15073 if ${ac_cv_lib_soname_SDL2+:} false; then :
15074 $as_echo_n "(cached) " >&6
15075 else
15076 ac_check_soname_save_LIBS=$LIBS
15077 LIBS="-lSDL2 $SDL2_LIBS $LIBS"
15078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15079 /* end confdefs.h. */
15081 /* Override any GCC internal prototype to avoid an error.
15082 Use char because int might match the return type of a GCC
15083 builtin and then its argument prototype would still apply. */
15084 #ifdef __cplusplus
15085 extern "C"
15086 #endif
15087 char SDL_Init ();
15089 main ()
15091 return SDL_Init ();
15093 return 0;
15095 _ACEOF
15096 if ac_fn_c_try_link "$LINENO"; then :
15097 case "$LIBEXT" in
15098 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15099 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'` ;;
15100 *) 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'`
15101 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15102 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15103 fi ;;
15104 esac
15105 else
15106 ac_cv_lib_soname_SDL2=
15108 rm -f core conftest.err conftest.$ac_objext \
15109 conftest$ac_exeext conftest.$ac_ext
15110 LIBS=$ac_check_soname_save_LIBS
15112 if ${ac_cv_lib_soname_SDL2:+false} :; then :
15113 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15114 $as_echo "not found" >&6; }
15116 else
15117 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
15118 $as_echo "$ac_cv_lib_soname_SDL2" >&6; }
15120 cat >>confdefs.h <<_ACEOF
15121 #define SONAME_LIBSDL2 "$ac_cv_lib_soname_SDL2"
15122 _ACEOF
15128 done
15130 CPPFLAGS=$ac_save_CPPFLAGS
15131 test -z "$SDL2_CFLAGS" || SDL2_CFLAGS=`echo " $SDL2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15132 test -z "$SDL2_LIBS" || SDL2_LIBS=`echo " $SDL2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15135 if test "x$ac_cv_lib_soname_SDL2" = "x"; then :
15136 case "x$with_sdl" in
15137 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
15138 xno) ;;
15139 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
15140 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
15141 esac
15145 if test "x$with_faudio" != "xno"
15146 then
15147 if ${FAUDIO_CFLAGS:+false} :; then :
15148 if ${PKG_CONFIG+:} false; then :
15149 FAUDIO_CFLAGS=`$PKG_CONFIG --cflags faudio 2>/dev/null`
15153 if ${FAUDIO_LIBS:+false} :; then :
15154 if ${PKG_CONFIG+:} false; then :
15155 FAUDIO_LIBS=`$PKG_CONFIG --libs faudio 2>/dev/null`
15159 FAUDIO_LIBS=${FAUDIO_LIBS:-"-lFAudio"}
15160 $as_echo "$as_me:${as_lineno-$LINENO}: faudio cflags: $FAUDIO_CFLAGS" >&5
15161 $as_echo "$as_me:${as_lineno-$LINENO}: faudio libs: $FAUDIO_LIBS" >&5
15162 ac_save_CPPFLAGS=$CPPFLAGS
15163 CPPFLAGS="$CPPFLAGS $FAUDIO_CFLAGS"
15164 for ac_header in FAudio.h
15165 do :
15166 ac_fn_c_check_header_mongrel "$LINENO" "FAudio.h" "ac_cv_header_FAudio_h" "$ac_includes_default"
15167 if test "x$ac_cv_header_FAudio_h" = xyes; then :
15168 cat >>confdefs.h <<_ACEOF
15169 #define HAVE_FAUDIO_H 1
15170 _ACEOF
15171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lFAudio" >&5
15172 $as_echo_n "checking for -lFAudio... " >&6; }
15173 if ${ac_cv_lib_soname_FAudio+:} false; then :
15174 $as_echo_n "(cached) " >&6
15175 else
15176 ac_check_soname_save_LIBS=$LIBS
15177 LIBS="-lFAudio $FAUDIO_LIBS $LIBS"
15178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15179 /* end confdefs.h. */
15181 /* Override any GCC internal prototype to avoid an error.
15182 Use char because int might match the return type of a GCC
15183 builtin and then its argument prototype would still apply. */
15184 #ifdef __cplusplus
15185 extern "C"
15186 #endif
15187 char FAudioCreate ();
15189 main ()
15191 return FAudioCreate ();
15193 return 0;
15195 _ACEOF
15196 if ac_fn_c_try_link "$LINENO"; then :
15197 case "$LIBEXT" in
15198 dll) ac_cv_lib_soname_FAudio=`$ac_cv_path_LDD conftest.exe | grep "FAudio" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15199 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'` ;;
15200 *) ac_cv_lib_soname_FAudio=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libFAudio*\\.$LIBEXT" | sed -e "s/^.*\\[\\(libFAudio*\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15201 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15202 ac_cv_lib_soname_FAudio=`$LDD conftest$ac_exeext | grep "libFAudio*\\.$LIBEXT" | sed -e "s/^.*\(libFAudio*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15203 fi ;;
15204 esac
15205 else
15206 ac_cv_lib_soname_FAudio=
15208 rm -f core conftest.err conftest.$ac_objext \
15209 conftest$ac_exeext conftest.$ac_ext
15210 LIBS=$ac_check_soname_save_LIBS
15212 if ${ac_cv_lib_soname_FAudio:+false} :; then :
15213 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15214 $as_echo "not found" >&6; }
15216 else
15217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_FAudio" >&5
15218 $as_echo "$ac_cv_lib_soname_FAudio" >&6; }
15220 cat >>confdefs.h <<_ACEOF
15221 #define SONAME_LIBFAUDIO "$ac_cv_lib_soname_FAudio"
15222 _ACEOF
15228 done
15230 ac_wine_check_funcs_save_LIBS="$LIBS"
15231 LIBS="$LIBS $FAUDIO_LIBS"
15232 for ac_func in FAudio_CommitOperationSet \
15233 F3DAudioInitialize8
15234 do :
15235 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15236 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15237 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15238 cat >>confdefs.h <<_ACEOF
15239 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15240 _ACEOF
15243 done
15245 LIBS="$ac_wine_check_funcs_save_LIBS"
15247 CPPFLAGS=$ac_save_CPPFLAGS
15248 test -z "$FAUDIO_CFLAGS" || FAUDIO_CFLAGS=`echo " $FAUDIO_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15249 test -z "$FAUDIO_LIBS" || FAUDIO_LIBS=`echo " $FAUDIO_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15252 if test "x$ac_cv_lib_soname_FAudio" = "x"; then :
15253 case "x$with_faudio" in
15254 x) as_fn_append wine_notices "|libFAudio ${notice_platform}development files not found, XAudio2 won't be supported." ;;
15255 xno) ;;
15256 *) as_fn_error $? "libFAudio ${notice_platform}development files not found, XAudio2 won't be supported.
15257 This is an error since --with-faudio was requested." "$LINENO" 5 ;;
15258 esac
15262 if test "x$with_capi" != "xno"
15263 then
15264 if ${CAPI20_CFLAGS:+false} :; then :
15265 if ${PKG_CONFIG+:} false; then :
15266 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
15270 if ${CAPI20_LIBS:+false} :; then :
15271 if ${PKG_CONFIG+:} false; then :
15272 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
15277 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
15278 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
15279 ac_save_CPPFLAGS=$CPPFLAGS
15280 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
15281 for ac_header in capi20.h linux/capi.h
15282 do :
15283 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15284 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
15286 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15287 cat >>confdefs.h <<_ACEOF
15288 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15289 _ACEOF
15293 done
15295 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
15296 then
15297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
15298 $as_echo_n "checking for -lcapi20... " >&6; }
15299 if ${ac_cv_lib_soname_capi20+:} false; then :
15300 $as_echo_n "(cached) " >&6
15301 else
15302 ac_check_soname_save_LIBS=$LIBS
15303 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
15304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15305 /* end confdefs.h. */
15307 /* Override any GCC internal prototype to avoid an error.
15308 Use char because int might match the return type of a GCC
15309 builtin and then its argument prototype would still apply. */
15310 #ifdef __cplusplus
15311 extern "C"
15312 #endif
15313 char capi20_register ();
15315 main ()
15317 return capi20_register ();
15319 return 0;
15321 _ACEOF
15322 if ac_fn_c_try_link "$LINENO"; then :
15323 case "$LIBEXT" in
15324 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15325 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'` ;;
15326 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15327 if ${ac_cv_lib_soname_capi20:+false} :; then :
15328 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15329 fi ;;
15330 esac
15331 else
15332 ac_cv_lib_soname_capi20=
15334 rm -f core conftest.err conftest.$ac_objext \
15335 conftest$ac_exeext conftest.$ac_ext
15336 LIBS=$ac_check_soname_save_LIBS
15338 if ${ac_cv_lib_soname_capi20:+false} :; then :
15339 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15340 $as_echo "not found" >&6; }
15342 else
15343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
15344 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
15346 cat >>confdefs.h <<_ACEOF
15347 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
15348 _ACEOF
15353 CPPFLAGS=$ac_save_CPPFLAGS
15354 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15355 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15358 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
15359 case "x$with_capi" in
15360 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
15361 xno) ;;
15362 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
15363 This is an error since --with-capi was requested." "$LINENO" 5 ;;
15364 esac
15368 if test "x$with_cups" != "xno"
15369 then
15370 if ${CUPS_CFLAGS:+false} :; then :
15371 if ${PKG_CONFIG+:} false; then :
15372 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
15375 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
15376 if ${CUPS_LIBS:+false} :; then :
15377 if ${PKG_CONFIG+:} false; then :
15378 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
15381 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
15382 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
15383 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
15384 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
15385 ac_save_CPPFLAGS=$CPPFLAGS
15386 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
15387 for ac_header in cups/cups.h cups/ppd.h
15388 do :
15389 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15390 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15391 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15392 cat >>confdefs.h <<_ACEOF
15393 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15394 _ACEOF
15398 done
15400 if test "$ac_cv_header_cups_cups_h" = "yes"
15401 then
15402 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
15403 $as_echo_n "checking for -lcups... " >&6; }
15404 if ${ac_cv_lib_soname_cups+:} false; then :
15405 $as_echo_n "(cached) " >&6
15406 else
15407 ac_check_soname_save_LIBS=$LIBS
15408 LIBS="-lcups $CUPS_LIBS $LIBS"
15409 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15410 /* end confdefs.h. */
15412 /* Override any GCC internal prototype to avoid an error.
15413 Use char because int might match the return type of a GCC
15414 builtin and then its argument prototype would still apply. */
15415 #ifdef __cplusplus
15416 extern "C"
15417 #endif
15418 char cupsGetDefault ();
15420 main ()
15422 return cupsGetDefault ();
15424 return 0;
15426 _ACEOF
15427 if ac_fn_c_try_link "$LINENO"; then :
15428 case "$LIBEXT" in
15429 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15430 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'` ;;
15431 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15432 if ${ac_cv_lib_soname_cups:+false} :; then :
15433 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15434 fi ;;
15435 esac
15436 else
15437 ac_cv_lib_soname_cups=
15439 rm -f core conftest.err conftest.$ac_objext \
15440 conftest$ac_exeext conftest.$ac_ext
15441 LIBS=$ac_check_soname_save_LIBS
15443 if ${ac_cv_lib_soname_cups:+false} :; then :
15444 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15445 $as_echo "not found" >&6; }
15446 CUPS_LIBS=""
15447 else
15448 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
15449 $as_echo "$ac_cv_lib_soname_cups" >&6; }
15451 cat >>confdefs.h <<_ACEOF
15452 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
15453 _ACEOF
15457 else
15458 CUPS_CFLAGS=""
15459 CUPS_LIBS=""
15461 CPPFLAGS=$ac_save_CPPFLAGS
15462 test -z "$CUPS_CFLAGS" || CUPS_CFLAGS=`echo " $CUPS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15463 test -z "$CUPS_LIBS" || CUPS_LIBS=`echo " $CUPS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15466 if test "x$ac_cv_lib_soname_cups" = "x"; then :
15467 case "x$with_cups" in
15468 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
15469 xno) ;;
15470 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
15471 This is an error since --with-cups was requested." "$LINENO" 5 ;;
15472 esac
15476 if test "x$with_fontconfig" != "xno"
15477 then
15478 if ${FONTCONFIG_CFLAGS:+false} :; then :
15479 if ${PKG_CONFIG+:} false; then :
15480 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
15483 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
15484 if ${FONTCONFIG_LIBS:+false} :; then :
15485 if ${PKG_CONFIG+:} false; then :
15486 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
15489 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
15491 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
15492 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
15493 ac_save_CPPFLAGS=$CPPFLAGS
15494 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
15495 for ac_header in fontconfig/fontconfig.h
15496 do :
15497 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
15498 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
15499 cat >>confdefs.h <<_ACEOF
15500 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
15501 _ACEOF
15505 done
15507 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
15508 then
15509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
15510 $as_echo_n "checking for -lfontconfig... " >&6; }
15511 if ${ac_cv_lib_soname_fontconfig+:} false; then :
15512 $as_echo_n "(cached) " >&6
15513 else
15514 ac_check_soname_save_LIBS=$LIBS
15515 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
15516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15517 /* end confdefs.h. */
15519 /* Override any GCC internal prototype to avoid an error.
15520 Use char because int might match the return type of a GCC
15521 builtin and then its argument prototype would still apply. */
15522 #ifdef __cplusplus
15523 extern "C"
15524 #endif
15525 char FcInit ();
15527 main ()
15529 return FcInit ();
15531 return 0;
15533 _ACEOF
15534 if ac_fn_c_try_link "$LINENO"; then :
15535 case "$LIBEXT" in
15536 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15537 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'` ;;
15538 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15539 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15540 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15541 fi ;;
15542 esac
15543 else
15544 ac_cv_lib_soname_fontconfig=
15546 rm -f core conftest.err conftest.$ac_objext \
15547 conftest$ac_exeext conftest.$ac_ext
15548 LIBS=$ac_check_soname_save_LIBS
15550 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
15551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15552 $as_echo "not found" >&6; }
15553 FONTCONFIG_CFLAGS=""
15554 else
15555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
15556 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
15558 cat >>confdefs.h <<_ACEOF
15559 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
15560 _ACEOF
15564 else
15565 FONTCONFIG_CFLAGS=""
15567 CPPFLAGS=$ac_save_CPPFLAGS
15568 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15569 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15572 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
15573 case "x$with_fontconfig" in
15574 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
15575 xno) ;;
15576 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
15577 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
15578 esac
15582 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
15583 then
15584 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
15585 $as_echo_n "checking for -lgsm... " >&6; }
15586 if ${ac_cv_lib_soname_gsm+:} false; then :
15587 $as_echo_n "(cached) " >&6
15588 else
15589 ac_check_soname_save_LIBS=$LIBS
15590 LIBS="-lgsm $LIBS"
15591 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15592 /* end confdefs.h. */
15594 /* Override any GCC internal prototype to avoid an error.
15595 Use char because int might match the return type of a GCC
15596 builtin and then its argument prototype would still apply. */
15597 #ifdef __cplusplus
15598 extern "C"
15599 #endif
15600 char gsm_create ();
15602 main ()
15604 return gsm_create ();
15606 return 0;
15608 _ACEOF
15609 if ac_fn_c_try_link "$LINENO"; then :
15610 case "$LIBEXT" in
15611 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15612 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'` ;;
15613 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15614 if ${ac_cv_lib_soname_gsm:+false} :; then :
15615 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15616 fi ;;
15617 esac
15618 else
15619 ac_cv_lib_soname_gsm=
15621 rm -f core conftest.err conftest.$ac_objext \
15622 conftest$ac_exeext conftest.$ac_ext
15623 LIBS=$ac_check_soname_save_LIBS
15625 if ${ac_cv_lib_soname_gsm:+false} :; then :
15626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15627 $as_echo "not found" >&6; }
15629 else
15630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
15631 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
15633 cat >>confdefs.h <<_ACEOF
15634 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
15635 _ACEOF
15640 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
15641 case "x$with_gsm" in
15642 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
15643 xno) ;;
15644 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
15645 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
15646 esac
15650 if test "x$with_krb5" != "xno"
15651 then
15652 if ${KRB5_CFLAGS:+false} :; then :
15653 if ${PKG_CONFIG+:} false; then :
15654 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
15657 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
15658 if ${KRB5_LIBS:+false} :; then :
15659 if ${PKG_CONFIG+:} false; then :
15660 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
15663 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
15665 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
15666 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
15667 ac_save_CPPFLAGS=$CPPFLAGS
15668 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
15669 for ac_header in krb5/krb5.h
15670 do :
15671 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
15672 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
15673 cat >>confdefs.h <<_ACEOF
15674 #define HAVE_KRB5_KRB5_H 1
15675 _ACEOF
15679 done
15681 if test "$ac_cv_header_krb5_krb5_h" = "yes"
15682 then
15683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
15684 $as_echo_n "checking for -lkrb5... " >&6; }
15685 if ${ac_cv_lib_soname_krb5+:} false; then :
15686 $as_echo_n "(cached) " >&6
15687 else
15688 ac_check_soname_save_LIBS=$LIBS
15689 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
15690 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15691 /* end confdefs.h. */
15693 /* Override any GCC internal prototype to avoid an error.
15694 Use char because int might match the return type of a GCC
15695 builtin and then its argument prototype would still apply. */
15696 #ifdef __cplusplus
15697 extern "C"
15698 #endif
15699 char krb5_is_config_principal ();
15701 main ()
15703 return krb5_is_config_principal ();
15705 return 0;
15707 _ACEOF
15708 if ac_fn_c_try_link "$LINENO"; then :
15709 case "$LIBEXT" in
15710 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15711 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'` ;;
15712 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15713 if ${ac_cv_lib_soname_krb5:+false} :; then :
15714 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15715 fi ;;
15716 esac
15717 else
15718 ac_cv_lib_soname_krb5=
15720 rm -f core conftest.err conftest.$ac_objext \
15721 conftest$ac_exeext conftest.$ac_ext
15722 LIBS=$ac_check_soname_save_LIBS
15724 if ${ac_cv_lib_soname_krb5:+false} :; then :
15725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15726 $as_echo "not found" >&6; }
15727 KRB5_CFLAGS=""
15728 else
15729 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
15730 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
15732 cat >>confdefs.h <<_ACEOF
15733 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
15734 _ACEOF
15738 else
15739 KRB5_CFLAGS=""
15741 CPPFLAGS=$ac_save_CPPFLAGS
15742 test -z "$KRB5_CFLAGS" || KRB5_CFLAGS=`echo " $KRB5_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15743 test -z "$KRB5_LIBS" || KRB5_LIBS=`echo " $KRB5_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15746 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
15747 case "x$with_krb5" in
15748 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported." ;;
15749 xno) ;;
15750 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found (or too old), Kerberos won't be supported.
15751 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
15752 esac
15755 test "x$ac_cv_lib_soname_krb5" != "x" || with_gssapi=${with_gssapi:-no}
15757 if test "x$with_gssapi" != "xno"
15758 then
15759 if ${GSSAPI_CFLAGS:+false} :; then :
15760 if ${PKG_CONFIG+:} false; then :
15761 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
15764 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
15765 if ${GSSAPI_LIBS:+false} :; then :
15766 if ${PKG_CONFIG+:} false; then :
15767 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
15770 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
15772 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
15773 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
15774 ac_save_CPPFLAGS=$CPPFLAGS
15775 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
15776 for ac_header in gssapi/gssapi.h gssapi/gssapi_ext.h
15777 do :
15778 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
15779 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
15780 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
15781 cat >>confdefs.h <<_ACEOF
15782 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
15783 _ACEOF
15787 done
15789 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
15790 then
15791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
15792 $as_echo_n "checking for -lgssapi_krb5... " >&6; }
15793 if ${ac_cv_lib_soname_gssapi_krb5+:} false; then :
15794 $as_echo_n "(cached) " >&6
15795 else
15796 ac_check_soname_save_LIBS=$LIBS
15797 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
15798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15799 /* end confdefs.h. */
15801 /* Override any GCC internal prototype to avoid an error.
15802 Use char because int might match the return type of a GCC
15803 builtin and then its argument prototype would still apply. */
15804 #ifdef __cplusplus
15805 extern "C"
15806 #endif
15807 char gss_init_sec_context ();
15809 main ()
15811 return gss_init_sec_context ();
15813 return 0;
15815 _ACEOF
15816 if ac_fn_c_try_link "$LINENO"; then :
15817 case "$LIBEXT" in
15818 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15819 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'` ;;
15820 *) 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'`
15821 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15822 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15823 fi ;;
15824 esac
15825 else
15826 ac_cv_lib_soname_gssapi_krb5=
15828 rm -f core conftest.err conftest.$ac_objext \
15829 conftest$ac_exeext conftest.$ac_ext
15830 LIBS=$ac_check_soname_save_LIBS
15832 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
15833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15834 $as_echo "not found" >&6; }
15835 GSSAPI_CFLAGS=""
15836 else
15837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
15838 $as_echo "$ac_cv_lib_soname_gssapi_krb5" >&6; }
15840 cat >>confdefs.h <<_ACEOF
15841 #define SONAME_LIBGSSAPI_KRB5 "$ac_cv_lib_soname_gssapi_krb5"
15842 _ACEOF
15846 else
15847 GSSAPI_CFLAGS=""
15849 CPPFLAGS=$ac_save_CPPFLAGS
15850 test -z "$GSSAPI_CFLAGS" || GSSAPI_CFLAGS=`echo " $GSSAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15851 test -z "$GSSAPI_LIBS" || GSSAPI_LIBS=`echo " $GSSAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15854 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"; then :
15855 case "x$with_gssapi" in
15856 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
15857 xno) ;;
15858 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
15859 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
15860 esac
15864 if test "x$with_jpeg" != "xno"
15865 then
15866 if ${JPEG_CFLAGS:+false} :; then :
15867 if ${PKG_CONFIG+:} false; then :
15868 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
15872 if ${JPEG_LIBS:+false} :; then :
15873 if ${PKG_CONFIG+:} false; then :
15874 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
15879 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
15880 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
15881 ac_save_CPPFLAGS=$CPPFLAGS
15882 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
15883 for ac_header in jpeglib.h
15884 do :
15885 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
15886 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
15887 cat >>confdefs.h <<_ACEOF
15888 #define HAVE_JPEGLIB_H 1
15889 _ACEOF
15893 done
15895 if test "$ac_cv_header_jpeglib_h" = "yes"
15896 then
15897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
15898 $as_echo_n "checking for -ljpeg... " >&6; }
15899 if ${ac_cv_lib_soname_jpeg+:} false; then :
15900 $as_echo_n "(cached) " >&6
15901 else
15902 ac_check_soname_save_LIBS=$LIBS
15903 LIBS="-ljpeg $JPEG_LIBS $LIBS"
15904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15905 /* end confdefs.h. */
15907 /* Override any GCC internal prototype to avoid an error.
15908 Use char because int might match the return type of a GCC
15909 builtin and then its argument prototype would still apply. */
15910 #ifdef __cplusplus
15911 extern "C"
15912 #endif
15913 char jpeg_start_decompress ();
15915 main ()
15917 return jpeg_start_decompress ();
15919 return 0;
15921 _ACEOF
15922 if ac_fn_c_try_link "$LINENO"; then :
15923 case "$LIBEXT" in
15924 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
15925 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'` ;;
15926 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
15927 if ${ac_cv_lib_soname_jpeg:+false} :; then :
15928 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
15929 fi ;;
15930 esac
15931 else
15932 ac_cv_lib_soname_jpeg=
15934 rm -f core conftest.err conftest.$ac_objext \
15935 conftest$ac_exeext conftest.$ac_ext
15936 LIBS=$ac_check_soname_save_LIBS
15938 if ${ac_cv_lib_soname_jpeg:+false} :; then :
15939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
15940 $as_echo "not found" >&6; }
15941 JPEG_CFLAGS=""
15942 else
15943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
15944 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
15946 cat >>confdefs.h <<_ACEOF
15947 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
15948 _ACEOF
15952 else
15953 JPEG_CFLAGS=""
15955 CPPFLAGS=$ac_save_CPPFLAGS
15956 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
15957 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
15960 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
15961 case "x$with_jpeg" in
15962 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
15963 xno) ;;
15964 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
15965 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
15966 esac
15970 if test "x$with_png" != "xno"
15971 then
15972 if ${PNG_CFLAGS:+false} :; then :
15973 if ${PKG_CONFIG+:} false; then :
15974 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
15977 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
15978 if ${PNG_LIBS:+false} :; then :
15979 if ${PKG_CONFIG+:} false; then :
15980 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
15983 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
15985 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
15986 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
15987 ac_save_CPPFLAGS=$CPPFLAGS
15988 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
15989 for ac_header in png.h
15990 do :
15991 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
15992 if test "x$ac_cv_header_png_h" = xyes; then :
15993 cat >>confdefs.h <<_ACEOF
15994 #define HAVE_PNG_H 1
15995 _ACEOF
15999 done
16001 if test "$ac_cv_header_png_h" = "yes"
16002 then
16003 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
16004 $as_echo_n "checking for -lpng... " >&6; }
16005 if ${ac_cv_lib_soname_png+:} false; then :
16006 $as_echo_n "(cached) " >&6
16007 else
16008 ac_check_soname_save_LIBS=$LIBS
16009 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
16010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16011 /* end confdefs.h. */
16013 /* Override any GCC internal prototype to avoid an error.
16014 Use char because int might match the return type of a GCC
16015 builtin and then its argument prototype would still apply. */
16016 #ifdef __cplusplus
16017 extern "C"
16018 #endif
16019 char png_create_read_struct ();
16021 main ()
16023 return png_create_read_struct ();
16025 return 0;
16027 _ACEOF
16028 if ac_fn_c_try_link "$LINENO"; then :
16029 case "$LIBEXT" in
16030 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16031 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'` ;;
16032 *) 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'`
16033 if ${ac_cv_lib_soname_png:+false} :; then :
16034 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16035 fi ;;
16036 esac
16037 else
16038 ac_cv_lib_soname_png=
16040 rm -f core conftest.err conftest.$ac_objext \
16041 conftest$ac_exeext conftest.$ac_ext
16042 LIBS=$ac_check_soname_save_LIBS
16044 if ${ac_cv_lib_soname_png:+false} :; then :
16045 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16046 $as_echo "not found" >&6; }
16047 PNG_CFLAGS=""
16048 else
16049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
16050 $as_echo "$ac_cv_lib_soname_png" >&6; }
16052 cat >>confdefs.h <<_ACEOF
16053 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
16054 _ACEOF
16058 else
16059 PNG_CFLAGS=""
16061 CPPFLAGS=$ac_save_CPPFLAGS
16062 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16063 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16066 if test "x$ac_cv_lib_soname_png" = "x"; then :
16067 case "x$with_png" in
16068 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
16069 xno) ;;
16070 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
16071 This is an error since --with-png was requested." "$LINENO" 5 ;;
16072 esac
16076 if test "x$with_tiff" != "xno"
16077 then
16078 if ${TIFF_CFLAGS:+false} :; then :
16079 if ${PKG_CONFIG+:} false; then :
16080 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
16084 if ${TIFF_LIBS:+false} :; then :
16085 if ${PKG_CONFIG+:} false; then :
16086 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
16091 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
16092 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
16093 ac_save_CPPFLAGS=$CPPFLAGS
16094 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
16095 for ac_header in tiffio.h
16096 do :
16097 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
16098 if test "x$ac_cv_header_tiffio_h" = xyes; then :
16099 cat >>confdefs.h <<_ACEOF
16100 #define HAVE_TIFFIO_H 1
16101 _ACEOF
16105 done
16107 if test "$ac_cv_header_tiffio_h" = "yes"
16108 then
16109 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
16110 $as_echo_n "checking for -ltiff... " >&6; }
16111 if ${ac_cv_lib_soname_tiff+:} false; then :
16112 $as_echo_n "(cached) " >&6
16113 else
16114 ac_check_soname_save_LIBS=$LIBS
16115 LIBS="-ltiff $TIFF_LIBS $LIBS"
16116 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16117 /* end confdefs.h. */
16119 /* Override any GCC internal prototype to avoid an error.
16120 Use char because int might match the return type of a GCC
16121 builtin and then its argument prototype would still apply. */
16122 #ifdef __cplusplus
16123 extern "C"
16124 #endif
16125 char TIFFClientOpen ();
16127 main ()
16129 return TIFFClientOpen ();
16131 return 0;
16133 _ACEOF
16134 if ac_fn_c_try_link "$LINENO"; then :
16135 case "$LIBEXT" in
16136 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16137 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'` ;;
16138 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16139 if ${ac_cv_lib_soname_tiff:+false} :; then :
16140 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16141 fi ;;
16142 esac
16143 else
16144 ac_cv_lib_soname_tiff=
16146 rm -f core conftest.err conftest.$ac_objext \
16147 conftest$ac_exeext conftest.$ac_ext
16148 LIBS=$ac_check_soname_save_LIBS
16150 if ${ac_cv_lib_soname_tiff:+false} :; then :
16151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16152 $as_echo "not found" >&6; }
16154 else
16155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
16156 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
16158 cat >>confdefs.h <<_ACEOF
16159 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
16160 _ACEOF
16165 CPPFLAGS=$ac_save_CPPFLAGS
16166 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16167 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16170 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
16171 case "x$with_tiff" in
16172 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
16173 xno) ;;
16174 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
16175 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
16176 esac
16180 if test "x$with_mpg123" != "xno"
16181 then
16182 if ${MPG123_CFLAGS:+false} :; then :
16183 if ${PKG_CONFIG+:} false; then :
16184 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
16188 if ${MPG123_LIBS:+false} :; then :
16189 if ${PKG_CONFIG+:} false; then :
16190 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
16194 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
16195 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
16196 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
16197 ac_save_CPPFLAGS=$CPPFLAGS
16198 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
16199 for ac_header in mpg123.h
16200 do :
16201 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
16202 if test "x$ac_cv_header_mpg123_h" = xyes; then :
16203 cat >>confdefs.h <<_ACEOF
16204 #define HAVE_MPG123_H 1
16205 _ACEOF
16209 done
16211 if test "$ac_cv_header_mpg123_h" = "yes"
16212 then
16213 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
16214 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
16215 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
16216 $as_echo_n "(cached) " >&6
16217 else
16218 ac_check_lib_save_LIBS=$LIBS
16219 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
16220 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16221 /* end confdefs.h. */
16223 /* Override any GCC internal prototype to avoid an error.
16224 Use char because int might match the return type of a GCC
16225 builtin and then its argument prototype would still apply. */
16226 #ifdef __cplusplus
16227 extern "C"
16228 #endif
16229 char mpg123_feed ();
16231 main ()
16233 return mpg123_feed ();
16235 return 0;
16237 _ACEOF
16238 if ac_fn_c_try_link "$LINENO"; then :
16239 ac_cv_lib_mpg123_mpg123_feed=yes
16240 else
16241 ac_cv_lib_mpg123_mpg123_feed=no
16243 rm -f core conftest.err conftest.$ac_objext \
16244 conftest$ac_exeext conftest.$ac_ext
16245 LIBS=$ac_check_lib_save_LIBS
16247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
16248 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
16249 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
16251 else
16252 MPG123_LIBS=""
16255 else
16256 MPG123_CFLAGS=""
16257 MPG123_LIBS=""
16259 CPPFLAGS=$ac_save_CPPFLAGS
16260 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16261 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16264 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
16265 case "x$with_mpg123" in
16266 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
16267 xno) ;;
16268 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
16269 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
16270 esac
16271 enable_l3codeca_acm=${enable_l3codeca_acm:-no}
16273 test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes || enable_mp3dmod=${enable_mp3dmod:-no}
16275 if test "$ac_cv_header_AL_al_h" = "yes"
16276 then
16277 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
16278 $as_echo_n "checking for -lopenal... " >&6; }
16279 if ${ac_cv_lib_soname_openal+:} false; then :
16280 $as_echo_n "(cached) " >&6
16281 else
16282 ac_check_soname_save_LIBS=$LIBS
16283 LIBS="-lopenal $LIBS"
16284 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16285 /* end confdefs.h. */
16287 /* Override any GCC internal prototype to avoid an error.
16288 Use char because int might match the return type of a GCC
16289 builtin and then its argument prototype would still apply. */
16290 #ifdef __cplusplus
16291 extern "C"
16292 #endif
16293 char alGetSource3i ();
16295 main ()
16297 return alGetSource3i ();
16299 return 0;
16301 _ACEOF
16302 if ac_fn_c_try_link "$LINENO"; then :
16303 case "$LIBEXT" in
16304 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16305 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'` ;;
16306 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16307 if ${ac_cv_lib_soname_openal:+false} :; then :
16308 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16309 fi ;;
16310 esac
16311 else
16312 ac_cv_lib_soname_openal=
16314 rm -f core conftest.err conftest.$ac_objext \
16315 conftest$ac_exeext conftest.$ac_ext
16316 LIBS=$ac_check_soname_save_LIBS
16318 if ${ac_cv_lib_soname_openal:+false} :; then :
16319 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16320 $as_echo "not found" >&6; }
16322 else
16323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
16324 $as_echo "$ac_cv_lib_soname_openal" >&6; }
16326 cat >>confdefs.h <<_ACEOF
16327 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
16328 _ACEOF
16330 OPENAL_LIBS="-lopenal"
16332 ac_cv_lib_openal=yes
16334 cat >>confdefs.h <<_ACEOF
16335 #define HAVE_OPENAL 1
16336 _ACEOF
16340 if test "x$ac_cv_lib_openal" != xyes; then :
16341 case "x$with_openal" in
16342 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
16343 xno) ;;
16344 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
16345 This is an error since --with-openal was requested." "$LINENO" 5 ;;
16346 esac
16347 enable_openal32=${enable_openal32:-no}
16350 if test "x$ac_cv_lib_soname_FAudio" = "x"
16351 then
16352 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
16353 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
16354 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
16355 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
16356 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
16357 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
16358 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
16359 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
16360 enable_xapofx1_1=${enable_xapofx1_1:-no}
16361 enable_xapofx1_2=${enable_xapofx1_2:-no}
16362 enable_xapofx1_3=${enable_xapofx1_3:-no}
16363 enable_xapofx1_4=${enable_xapofx1_4:-no}
16364 enable_xapofx1_5=${enable_xapofx1_5:-no}
16365 enable_xaudio2_0=${enable_xaudio2_0:-no}
16366 enable_xaudio2_1=${enable_xaudio2_1:-no}
16367 enable_xaudio2_2=${enable_xaudio2_2:-no}
16368 enable_xaudio2_3=${enable_xaudio2_3:-no}
16369 enable_xaudio2_4=${enable_xaudio2_4:-no}
16370 enable_xaudio2_5=${enable_xaudio2_5:-no}
16371 enable_xaudio2_6=${enable_xaudio2_6:-no}
16372 enable_xaudio2_7=${enable_xaudio2_7:-no}
16373 enable_xaudio2_8=${enable_xaudio2_8:-no}
16374 enable_xaudio2_9=${enable_xaudio2_9:-no}
16377 if test "$ac_cv_header_kstat_h" = "yes"
16378 then
16379 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
16380 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
16381 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
16382 $as_echo_n "(cached) " >&6
16383 else
16384 ac_check_lib_save_LIBS=$LIBS
16385 LIBS="-lkstat $LIBS"
16386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16387 /* end confdefs.h. */
16389 /* Override any GCC internal prototype to avoid an error.
16390 Use char because int might match the return type of a GCC
16391 builtin and then its argument prototype would still apply. */
16392 #ifdef __cplusplus
16393 extern "C"
16394 #endif
16395 char kstat_open ();
16397 main ()
16399 return kstat_open ();
16401 return 0;
16403 _ACEOF
16404 if ac_fn_c_try_link "$LINENO"; then :
16405 ac_cv_lib_kstat_kstat_open=yes
16406 else
16407 ac_cv_lib_kstat_kstat_open=no
16409 rm -f core conftest.err conftest.$ac_objext \
16410 conftest$ac_exeext conftest.$ac_ext
16411 LIBS=$ac_check_lib_save_LIBS
16413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
16414 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
16415 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
16417 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
16419 KSTAT_LIBS="-lkstat"
16425 if test "$ac_cv_header_libprocstat_h" = "yes"
16426 then
16427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
16428 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
16429 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
16430 $as_echo_n "(cached) " >&6
16431 else
16432 ac_check_lib_save_LIBS=$LIBS
16433 LIBS="-lprocstat $LIBS"
16434 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16435 /* end confdefs.h. */
16437 /* Override any GCC internal prototype to avoid an error.
16438 Use char because int might match the return type of a GCC
16439 builtin and then its argument prototype would still apply. */
16440 #ifdef __cplusplus
16441 extern "C"
16442 #endif
16443 char procstat_open_sysctl ();
16445 main ()
16447 return procstat_open_sysctl ();
16449 return 0;
16451 _ACEOF
16452 if ac_fn_c_try_link "$LINENO"; then :
16453 ac_cv_lib_procstat_procstat_open_sysctl=yes
16454 else
16455 ac_cv_lib_procstat_procstat_open_sysctl=no
16457 rm -f core conftest.err conftest.$ac_objext \
16458 conftest$ac_exeext conftest.$ac_ext
16459 LIBS=$ac_check_lib_save_LIBS
16461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
16462 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
16463 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
16465 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
16467 PROCSTAT_LIBS="-lprocstat"
16473 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
16474 $as_echo_n "checking for -lodbc... " >&6; }
16475 if ${ac_cv_lib_soname_odbc+:} false; then :
16476 $as_echo_n "(cached) " >&6
16477 else
16478 ac_check_soname_save_LIBS=$LIBS
16479 LIBS="-lodbc $LIBS"
16480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16481 /* end confdefs.h. */
16483 /* Override any GCC internal prototype to avoid an error.
16484 Use char because int might match the return type of a GCC
16485 builtin and then its argument prototype would still apply. */
16486 #ifdef __cplusplus
16487 extern "C"
16488 #endif
16489 char SQLConnect ();
16491 main ()
16493 return SQLConnect ();
16495 return 0;
16497 _ACEOF
16498 if ac_fn_c_try_link "$LINENO"; then :
16499 case "$LIBEXT" in
16500 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16501 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'` ;;
16502 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16503 if ${ac_cv_lib_soname_odbc:+false} :; then :
16504 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16505 fi ;;
16506 esac
16507 else
16508 ac_cv_lib_soname_odbc=
16510 rm -f core conftest.err conftest.$ac_objext \
16511 conftest$ac_exeext conftest.$ac_ext
16512 LIBS=$ac_check_soname_save_LIBS
16514 if ${ac_cv_lib_soname_odbc:+false} :; then :
16515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16516 $as_echo "not found" >&6; }
16517 cat >>confdefs.h <<_ACEOF
16518 #define SONAME_LIBODBC "libodbc.$LIBEXT"
16519 _ACEOF
16521 else
16522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
16523 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
16525 cat >>confdefs.h <<_ACEOF
16526 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
16527 _ACEOF
16532 if test "x$with_netapi" != "xno"
16533 then
16534 if ${NETAPI_CFLAGS:+false} :; then :
16535 if ${PKG_CONFIG+:} false; then :
16536 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
16540 if ${NETAPI_LIBS:+false} :; then :
16541 if ${PKG_CONFIG+:} false; then :
16542 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
16547 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
16548 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
16549 ac_save_CPPFLAGS=$CPPFLAGS
16550 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
16551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
16552 $as_echo_n "checking for -lnetapi... " >&6; }
16553 if ${ac_cv_lib_soname_netapi+:} false; then :
16554 $as_echo_n "(cached) " >&6
16555 else
16556 ac_check_soname_save_LIBS=$LIBS
16557 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
16558 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16559 /* end confdefs.h. */
16561 /* Override any GCC internal prototype to avoid an error.
16562 Use char because int might match the return type of a GCC
16563 builtin and then its argument prototype would still apply. */
16564 #ifdef __cplusplus
16565 extern "C"
16566 #endif
16567 char libnetapi_init ();
16569 main ()
16571 return libnetapi_init ();
16573 return 0;
16575 _ACEOF
16576 if ac_fn_c_try_link "$LINENO"; then :
16577 case "$LIBEXT" in
16578 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16579 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'` ;;
16580 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16581 if ${ac_cv_lib_soname_netapi:+false} :; then :
16582 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16583 fi ;;
16584 esac
16585 else
16586 ac_cv_lib_soname_netapi=
16588 rm -f core conftest.err conftest.$ac_objext \
16589 conftest$ac_exeext conftest.$ac_ext
16590 LIBS=$ac_check_soname_save_LIBS
16592 if ${ac_cv_lib_soname_netapi:+false} :; then :
16593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16594 $as_echo "not found" >&6; }
16595 cat >>confdefs.h <<_ACEOF
16596 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
16597 _ACEOF
16599 else
16600 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
16601 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
16603 cat >>confdefs.h <<_ACEOF
16604 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
16605 _ACEOF
16609 CPPFLAGS=$ac_save_CPPFLAGS
16610 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16611 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16615 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
16616 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
16617 then
16618 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
16621 if test "x$with_vulkan" != "xno"
16622 then
16623 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
16624 $as_echo_n "checking for -lvulkan... " >&6; }
16625 if ${ac_cv_lib_soname_vulkan+:} false; then :
16626 $as_echo_n "(cached) " >&6
16627 else
16628 ac_check_soname_save_LIBS=$LIBS
16629 LIBS="-lvulkan $LIBS"
16630 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16631 /* end confdefs.h. */
16633 /* Override any GCC internal prototype to avoid an error.
16634 Use char because int might match the return type of a GCC
16635 builtin and then its argument prototype would still apply. */
16636 #ifdef __cplusplus
16637 extern "C"
16638 #endif
16639 char vkGetInstanceProcAddr ();
16641 main ()
16643 return vkGetInstanceProcAddr ();
16645 return 0;
16647 _ACEOF
16648 if ac_fn_c_try_link "$LINENO"; then :
16649 case "$LIBEXT" in
16650 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16651 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'` ;;
16652 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16653 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16654 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16655 fi ;;
16656 esac
16657 else
16658 ac_cv_lib_soname_vulkan=
16660 rm -f core conftest.err conftest.$ac_objext \
16661 conftest$ac_exeext conftest.$ac_ext
16662 LIBS=$ac_check_soname_save_LIBS
16664 if ${ac_cv_lib_soname_vulkan:+false} :; then :
16665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16666 $as_echo "not found" >&6; }
16668 else
16669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
16670 $as_echo "$ac_cv_lib_soname_vulkan" >&6; }
16672 cat >>confdefs.h <<_ACEOF
16673 #define SONAME_LIBVULKAN "$ac_cv_lib_soname_vulkan"
16674 _ACEOF
16678 if test "x$ac_cv_lib_soname_vulkan" = "x"
16679 then
16680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lMoltenVK" >&5
16681 $as_echo_n "checking for -lMoltenVK... " >&6; }
16682 if ${ac_cv_lib_soname_MoltenVK+:} false; then :
16683 $as_echo_n "(cached) " >&6
16684 else
16685 ac_check_soname_save_LIBS=$LIBS
16686 LIBS="-lMoltenVK $LIBS"
16687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16688 /* end confdefs.h. */
16690 /* Override any GCC internal prototype to avoid an error.
16691 Use char because int might match the return type of a GCC
16692 builtin and then its argument prototype would still apply. */
16693 #ifdef __cplusplus
16694 extern "C"
16695 #endif
16696 char vkGetInstanceProcAddr ();
16698 main ()
16700 return vkGetInstanceProcAddr ();
16702 return 0;
16704 _ACEOF
16705 if ac_fn_c_try_link "$LINENO"; then :
16706 case "$LIBEXT" in
16707 dll) ac_cv_lib_soname_MoltenVK=`$ac_cv_path_LDD conftest.exe | grep "MoltenVK" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16708 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'` ;;
16709 *) ac_cv_lib_soname_MoltenVK=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\\[\\(libMoltenVK\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16710 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16711 ac_cv_lib_soname_MoltenVK=`$LDD conftest$ac_exeext | grep "libMoltenVK\\.$LIBEXT" | sed -e "s/^.*\(libMoltenVK\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16712 fi ;;
16713 esac
16714 else
16715 ac_cv_lib_soname_MoltenVK=
16717 rm -f core conftest.err conftest.$ac_objext \
16718 conftest$ac_exeext conftest.$ac_ext
16719 LIBS=$ac_check_soname_save_LIBS
16721 if ${ac_cv_lib_soname_MoltenVK:+false} :; then :
16722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16723 $as_echo "not found" >&6; }
16725 else
16726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_MoltenVK" >&5
16727 $as_echo "$ac_cv_lib_soname_MoltenVK" >&6; }
16729 cat >>confdefs.h <<_ACEOF
16730 #define SONAME_LIBMOLTENVK "$ac_cv_lib_soname_MoltenVK"
16731 _ACEOF
16737 if test "x$ac_cv_lib_soname_vulkan" = "x" -a "x$ac_cv_lib_soname_MoltenVK" = "x"; then :
16738 case "x$with_vulkan" in
16739 x) as_fn_append wine_notices "|libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported." ;;
16740 xno) ;;
16741 *) as_fn_error $? "libvulkan and libMoltenVK ${notice_platform}development files not found, Vulkan won't be supported.
16742 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
16743 esac
16747 if test "x$with_vkd3d" != "xno"
16748 then
16749 if ${VKD3D_CFLAGS:+false} :; then :
16750 if ${PKG_CONFIG+:} false; then :
16751 VKD3D_CFLAGS=`$PKG_CONFIG --cflags libvkd3d 2>/dev/null`
16755 if ${VKD3D_LIBS:+false} :; then :
16756 if ${PKG_CONFIG+:} false; then :
16757 VKD3D_LIBS=`$PKG_CONFIG --libs libvkd3d 2>/dev/null`
16762 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d cflags: $VKD3D_CFLAGS" >&5
16763 $as_echo "$as_me:${as_lineno-$LINENO}: libvkd3d libs: $VKD3D_LIBS" >&5
16764 ac_save_CPPFLAGS=$CPPFLAGS
16765 CPPFLAGS="$CPPFLAGS $VKD3D_CFLAGS"
16766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvkd3d" >&5
16767 $as_echo_n "checking for -lvkd3d... " >&6; }
16768 if ${ac_cv_lib_soname_vkd3d+:} false; then :
16769 $as_echo_n "(cached) " >&6
16770 else
16771 ac_check_soname_save_LIBS=$LIBS
16772 LIBS="-lvkd3d $VKD3D_LIBS $LIBS"
16773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16774 /* end confdefs.h. */
16776 /* Override any GCC internal prototype to avoid an error.
16777 Use char because int might match the return type of a GCC
16778 builtin and then its argument prototype would still apply. */
16779 #ifdef __cplusplus
16780 extern "C"
16781 #endif
16782 char vkd3d_get_dxgi_format ();
16784 main ()
16786 return vkd3d_get_dxgi_format ();
16788 return 0;
16790 _ACEOF
16791 if ac_fn_c_try_link "$LINENO"; then :
16792 case "$LIBEXT" in
16793 dll) ac_cv_lib_soname_vkd3d=`$ac_cv_path_LDD conftest.exe | grep "vkd3d" | sed -e "s/dll.*/dll/"';2,$d'` ;;
16794 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'` ;;
16795 *) ac_cv_lib_soname_vkd3d=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvkd3d\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvkd3d\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
16796 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16797 ac_cv_lib_soname_vkd3d=`$LDD conftest$ac_exeext | grep "libvkd3d\\.$LIBEXT" | sed -e "s/^.*\(libvkd3d\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
16798 fi ;;
16799 esac
16800 else
16801 ac_cv_lib_soname_vkd3d=
16803 rm -f core conftest.err conftest.$ac_objext \
16804 conftest$ac_exeext conftest.$ac_ext
16805 LIBS=$ac_check_soname_save_LIBS
16807 if ${ac_cv_lib_soname_vkd3d:+false} :; then :
16808 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
16809 $as_echo "not found" >&6; }
16811 else
16812 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vkd3d" >&5
16813 $as_echo "$ac_cv_lib_soname_vkd3d" >&6; }
16815 cat >>confdefs.h <<_ACEOF
16816 #define SONAME_LIBVKD3D "$ac_cv_lib_soname_vkd3d"
16817 _ACEOF
16821 CPPFLAGS=$ac_save_CPPFLAGS
16822 test -z "$VKD3D_CFLAGS" || VKD3D_CFLAGS=`echo " $VKD3D_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16823 test -z "$VKD3D_LIBS" || VKD3D_LIBS=`echo " $VKD3D_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16826 if test "x$ac_cv_lib_soname_vkd3d" = "x"; then :
16827 case "x$with_vkd3d" in
16828 x) as_fn_append wine_notices "|vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported." ;;
16829 xno) ;;
16830 *) as_fn_error $? "vkd3d ${notice_platform}development files not found (or too old), Direct3D 12 won't be supported.
16831 This is an error since --with-vkd3d was requested." "$LINENO" 5 ;;
16832 esac
16835 test "x$ac_cv_lib_soname_vkd3d" != "x" || enable_d3d12=${enable_d3d12:-no}
16838 EXTRACFLAGS=""
16840 if test "x${GCC}" = "xyes"
16841 then
16842 EXTRACFLAGS="-Wall -pipe"
16844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fcf-protection=none" >&5
16845 $as_echo_n "checking whether the compiler supports -fcf-protection=none... " >&6; }
16846 if ${ac_cv_cflags__fcf_protection_none+:} false; then :
16847 $as_echo_n "(cached) " >&6
16848 else
16849 ac_wine_try_cflags_saved=$CFLAGS
16850 CFLAGS="$CFLAGS -fcf-protection=none"
16851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16852 /* end confdefs.h. */
16853 int main(int argc, char **argv) { return 0; }
16854 _ACEOF
16855 if ac_fn_c_try_link "$LINENO"; then :
16856 ac_cv_cflags__fcf_protection_none=yes
16857 else
16858 ac_cv_cflags__fcf_protection_none=no
16860 rm -f core conftest.err conftest.$ac_objext \
16861 conftest$ac_exeext conftest.$ac_ext
16862 CFLAGS=$ac_wine_try_cflags_saved
16864 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fcf_protection_none" >&5
16865 $as_echo "$ac_cv_cflags__fcf_protection_none" >&6; }
16866 if test "x$ac_cv_cflags__fcf_protection_none" = xyes; then :
16867 EXTRACFLAGS="$EXTRACFLAGS -fcf-protection=none"
16869 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-stack-protector" >&5
16870 $as_echo_n "checking whether the compiler supports -fno-stack-protector... " >&6; }
16871 if ${ac_cv_cflags__fno_stack_protector+:} false; then :
16872 $as_echo_n "(cached) " >&6
16873 else
16874 ac_wine_try_cflags_saved=$CFLAGS
16875 CFLAGS="$CFLAGS -fno-stack-protector"
16876 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16877 /* end confdefs.h. */
16878 int main(int argc, char **argv) { return 0; }
16879 _ACEOF
16880 if ac_fn_c_try_link "$LINENO"; then :
16881 ac_cv_cflags__fno_stack_protector=yes
16882 else
16883 ac_cv_cflags__fno_stack_protector=no
16885 rm -f core conftest.err conftest.$ac_objext \
16886 conftest$ac_exeext conftest.$ac_ext
16887 CFLAGS=$ac_wine_try_cflags_saved
16889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_stack_protector" >&5
16890 $as_echo "$ac_cv_cflags__fno_stack_protector" >&6; }
16891 if test "x$ac_cv_cflags__fno_stack_protector" = xyes; then :
16892 EXTRACFLAGS="$EXTRACFLAGS -fno-stack-protector"
16894 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
16895 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
16896 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
16897 $as_echo_n "(cached) " >&6
16898 else
16899 ac_wine_try_cflags_saved=$CFLAGS
16900 CFLAGS="$CFLAGS -fno-strict-aliasing"
16901 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16902 /* end confdefs.h. */
16903 int main(int argc, char **argv) { return 0; }
16904 _ACEOF
16905 if ac_fn_c_try_link "$LINENO"; then :
16906 ac_cv_cflags__fno_strict_aliasing=yes
16907 else
16908 ac_cv_cflags__fno_strict_aliasing=no
16910 rm -f core conftest.err conftest.$ac_objext \
16911 conftest$ac_exeext conftest.$ac_ext
16912 CFLAGS=$ac_wine_try_cflags_saved
16914 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
16915 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
16916 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
16917 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
16919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
16920 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
16921 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
16922 $as_echo_n "(cached) " >&6
16923 else
16924 ac_wine_try_cflags_saved=$CFLAGS
16925 CFLAGS="$CFLAGS -fexcess-precision=standard"
16926 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16927 /* end confdefs.h. */
16928 int main(int argc, char **argv) { return 0; }
16929 _ACEOF
16930 if ac_fn_c_try_link "$LINENO"; then :
16931 ac_cv_cflags__fexcess_precision_standard=yes
16932 else
16933 ac_cv_cflags__fexcess_precision_standard=no
16935 rm -f core conftest.err conftest.$ac_objext \
16936 conftest$ac_exeext conftest.$ac_ext
16937 CFLAGS=$ac_wine_try_cflags_saved
16939 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
16940 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
16941 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
16942 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
16945 saved_CFLAGS=$CFLAGS
16946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
16947 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
16948 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
16949 $as_echo_n "(cached) " >&6
16950 else
16951 ac_wine_try_cflags_saved=$CFLAGS
16952 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
16953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16954 /* end confdefs.h. */
16955 int main(int argc, char **argv) { return 0; }
16956 _ACEOF
16957 if ac_fn_c_try_link "$LINENO"; then :
16958 ac_cv_cflags__Werror_unknown_warning_option=yes
16959 else
16960 ac_cv_cflags__Werror_unknown_warning_option=no
16962 rm -f core conftest.err conftest.$ac_objext \
16963 conftest$ac_exeext conftest.$ac_ext
16964 CFLAGS=$ac_wine_try_cflags_saved
16966 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
16967 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
16968 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
16969 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
16971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unused-command-line-argument" >&5
16972 $as_echo_n "checking whether the compiler supports -Werror=unused-command-line-argument... " >&6; }
16973 if ${ac_cv_cflags__Werror_unused_command_line_argument+:} false; then :
16974 $as_echo_n "(cached) " >&6
16975 else
16976 ac_wine_try_cflags_saved=$CFLAGS
16977 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
16978 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16979 /* end confdefs.h. */
16980 int main(int argc, char **argv) { return 0; }
16981 _ACEOF
16982 if ac_fn_c_try_link "$LINENO"; then :
16983 ac_cv_cflags__Werror_unused_command_line_argument=yes
16984 else
16985 ac_cv_cflags__Werror_unused_command_line_argument=no
16987 rm -f core conftest.err conftest.$ac_objext \
16988 conftest$ac_exeext conftest.$ac_ext
16989 CFLAGS=$ac_wine_try_cflags_saved
16991 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unused_command_line_argument" >&5
16992 $as_echo "$ac_cv_cflags__Werror_unused_command_line_argument" >&6; }
16993 if test "x$ac_cv_cflags__Werror_unused_command_line_argument" = xyes; then :
16994 CFLAGS="$CFLAGS -Werror=unused-command-line-argument"
16996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
16997 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
16998 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
16999 $as_echo_n "(cached) " >&6
17000 else
17001 ac_wine_try_cflags_saved=$CFLAGS
17002 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
17003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17004 /* end confdefs.h. */
17005 int main(int argc, char **argv) { return 0; }
17006 _ACEOF
17007 if ac_fn_c_try_link "$LINENO"; then :
17008 ac_cv_cflags__Wdeclaration_after_statement=yes
17009 else
17010 ac_cv_cflags__Wdeclaration_after_statement=no
17012 rm -f core conftest.err conftest.$ac_objext \
17013 conftest$ac_exeext conftest.$ac_ext
17014 CFLAGS=$ac_wine_try_cflags_saved
17016 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
17017 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
17018 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
17019 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
17021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
17022 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
17023 if ${ac_cv_cflags__Wempty_body+:} false; then :
17024 $as_echo_n "(cached) " >&6
17025 else
17026 ac_wine_try_cflags_saved=$CFLAGS
17027 CFLAGS="$CFLAGS -Wempty-body"
17028 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17029 /* end confdefs.h. */
17030 int main(int argc, char **argv) { return 0; }
17031 _ACEOF
17032 if ac_fn_c_try_link "$LINENO"; then :
17033 ac_cv_cflags__Wempty_body=yes
17034 else
17035 ac_cv_cflags__Wempty_body=no
17037 rm -f core conftest.err conftest.$ac_objext \
17038 conftest$ac_exeext conftest.$ac_ext
17039 CFLAGS=$ac_wine_try_cflags_saved
17041 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
17042 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
17043 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
17044 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
17046 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
17047 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
17048 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
17049 $as_echo_n "(cached) " >&6
17050 else
17051 ac_wine_try_cflags_saved=$CFLAGS
17052 CFLAGS="$CFLAGS -Wignored-qualifiers"
17053 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17054 /* end confdefs.h. */
17055 int main(int argc, char **argv) { return 0; }
17056 _ACEOF
17057 if ac_fn_c_try_link "$LINENO"; then :
17058 ac_cv_cflags__Wignored_qualifiers=yes
17059 else
17060 ac_cv_cflags__Wignored_qualifiers=no
17062 rm -f core conftest.err conftest.$ac_objext \
17063 conftest$ac_exeext conftest.$ac_ext
17064 CFLAGS=$ac_wine_try_cflags_saved
17066 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
17067 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
17068 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
17069 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
17071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
17072 $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
17073 if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
17074 $as_echo_n "(cached) " >&6
17075 else
17076 ac_wine_try_cflags_saved=$CFLAGS
17077 CFLAGS="$CFLAGS -Wpacked-not-aligned"
17078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17079 /* end confdefs.h. */
17080 int main(int argc, char **argv) { return 0; }
17081 _ACEOF
17082 if ac_fn_c_try_link "$LINENO"; then :
17083 ac_cv_cflags__Wpacked_not_aligned=yes
17084 else
17085 ac_cv_cflags__Wpacked_not_aligned=no
17087 rm -f core conftest.err conftest.$ac_objext \
17088 conftest$ac_exeext conftest.$ac_ext
17089 CFLAGS=$ac_wine_try_cflags_saved
17091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
17092 $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
17093 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
17094 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
17096 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
17097 $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
17098 if ${ac_cv_cflags__Wpragma_pack+:} false; then :
17099 $as_echo_n "(cached) " >&6
17100 else
17101 ac_wine_try_cflags_saved=$CFLAGS
17102 CFLAGS="$CFLAGS -Wpragma-pack"
17103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17104 /* end confdefs.h. */
17105 int main(int argc, char **argv) { return 0; }
17106 _ACEOF
17107 if ac_fn_c_try_link "$LINENO"; then :
17108 ac_cv_cflags__Wpragma_pack=yes
17109 else
17110 ac_cv_cflags__Wpragma_pack=no
17112 rm -f core conftest.err conftest.$ac_objext \
17113 conftest$ac_exeext conftest.$ac_ext
17114 CFLAGS=$ac_wine_try_cflags_saved
17116 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
17117 $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
17118 if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
17119 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
17121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
17122 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
17123 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
17124 $as_echo_n "(cached) " >&6
17125 else
17126 ac_wine_try_cflags_saved=$CFLAGS
17127 CFLAGS="$CFLAGS -Wshift-overflow=2"
17128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17129 /* end confdefs.h. */
17130 int main(int argc, char **argv) { return 0; }
17131 _ACEOF
17132 if ac_fn_c_try_link "$LINENO"; then :
17133 ac_cv_cflags__Wshift_overflow_2=yes
17134 else
17135 ac_cv_cflags__Wshift_overflow_2=no
17137 rm -f core conftest.err conftest.$ac_objext \
17138 conftest$ac_exeext conftest.$ac_ext
17139 CFLAGS=$ac_wine_try_cflags_saved
17141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
17142 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
17143 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
17144 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
17146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
17147 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
17148 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
17149 $as_echo_n "(cached) " >&6
17150 else
17151 ac_wine_try_cflags_saved=$CFLAGS
17152 CFLAGS="$CFLAGS -Wstrict-prototypes"
17153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17154 /* end confdefs.h. */
17155 int main(int argc, char **argv) { return 0; }
17156 _ACEOF
17157 if ac_fn_c_try_link "$LINENO"; then :
17158 ac_cv_cflags__Wstrict_prototypes=yes
17159 else
17160 ac_cv_cflags__Wstrict_prototypes=no
17162 rm -f core conftest.err conftest.$ac_objext \
17163 conftest$ac_exeext conftest.$ac_ext
17164 CFLAGS=$ac_wine_try_cflags_saved
17166 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
17167 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
17168 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
17169 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
17171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
17172 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
17173 if ${ac_cv_cflags__Wtype_limits+:} false; then :
17174 $as_echo_n "(cached) " >&6
17175 else
17176 ac_wine_try_cflags_saved=$CFLAGS
17177 CFLAGS="$CFLAGS -Wtype-limits"
17178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17179 /* end confdefs.h. */
17180 int main(int argc, char **argv) { return 0; }
17181 _ACEOF
17182 if ac_fn_c_try_link "$LINENO"; then :
17183 ac_cv_cflags__Wtype_limits=yes
17184 else
17185 ac_cv_cflags__Wtype_limits=no
17187 rm -f core conftest.err conftest.$ac_objext \
17188 conftest$ac_exeext conftest.$ac_ext
17189 CFLAGS=$ac_wine_try_cflags_saved
17191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
17192 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
17193 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
17194 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
17196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
17197 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
17198 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
17199 $as_echo_n "(cached) " >&6
17200 else
17201 ac_wine_try_cflags_saved=$CFLAGS
17202 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
17203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17204 /* end confdefs.h. */
17205 int main(int argc, char **argv) { return 0; }
17206 _ACEOF
17207 if ac_fn_c_try_link "$LINENO"; then :
17208 ac_cv_cflags__Wunused_but_set_parameter=yes
17209 else
17210 ac_cv_cflags__Wunused_but_set_parameter=no
17212 rm -f core conftest.err conftest.$ac_objext \
17213 conftest$ac_exeext conftest.$ac_ext
17214 CFLAGS=$ac_wine_try_cflags_saved
17216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
17217 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
17218 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
17219 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
17221 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
17222 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
17223 if ${ac_cv_cflags__Wvla+:} false; then :
17224 $as_echo_n "(cached) " >&6
17225 else
17226 ac_wine_try_cflags_saved=$CFLAGS
17227 CFLAGS="$CFLAGS -Wvla"
17228 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17229 /* end confdefs.h. */
17230 int main(int argc, char **argv) { return 0; }
17231 _ACEOF
17232 if ac_fn_c_try_link "$LINENO"; then :
17233 ac_cv_cflags__Wvla=yes
17234 else
17235 ac_cv_cflags__Wvla=no
17237 rm -f core conftest.err conftest.$ac_objext \
17238 conftest$ac_exeext conftest.$ac_ext
17239 CFLAGS=$ac_wine_try_cflags_saved
17241 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
17242 $as_echo "$ac_cv_cflags__Wvla" >&6; }
17243 if test "x$ac_cv_cflags__Wvla" = xyes; then :
17244 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
17246 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
17247 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
17248 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
17249 $as_echo_n "(cached) " >&6
17250 else
17251 ac_wine_try_cflags_saved=$CFLAGS
17252 CFLAGS="$CFLAGS -Wwrite-strings"
17253 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17254 /* end confdefs.h. */
17255 int main(int argc, char **argv) { return 0; }
17256 _ACEOF
17257 if ac_fn_c_try_link "$LINENO"; then :
17258 ac_cv_cflags__Wwrite_strings=yes
17259 else
17260 ac_cv_cflags__Wwrite_strings=no
17262 rm -f core conftest.err conftest.$ac_objext \
17263 conftest$ac_exeext conftest.$ac_ext
17264 CFLAGS=$ac_wine_try_cflags_saved
17266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
17267 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
17268 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
17269 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
17272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
17273 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
17274 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
17275 $as_echo_n "(cached) " >&6
17276 else
17277 ac_wine_try_cflags_saved=$CFLAGS
17278 CFLAGS="$CFLAGS -Wpointer-arith"
17279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17280 /* end confdefs.h. */
17281 int main(int argc, char **argv) { return 0; }
17282 _ACEOF
17283 if ac_fn_c_try_link "$LINENO"; then :
17284 ac_cv_cflags__Wpointer_arith=yes
17285 else
17286 ac_cv_cflags__Wpointer_arith=no
17288 rm -f core conftest.err conftest.$ac_objext \
17289 conftest$ac_exeext conftest.$ac_ext
17290 CFLAGS=$ac_wine_try_cflags_saved
17292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
17293 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
17294 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
17295 saved_string_h_CFLAGS=$CFLAGS
17296 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
17297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
17298 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
17299 if ${ac_cv_c_string_h_warnings+:} false; then :
17300 $as_echo_n "(cached) " >&6
17301 else
17302 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17303 /* end confdefs.h. */
17304 #include <string.h>
17306 main ()
17310 return 0;
17312 _ACEOF
17313 if ac_fn_c_try_compile "$LINENO"; then :
17314 ac_cv_c_string_h_warnings=no
17315 else
17316 ac_cv_c_string_h_warnings=yes
17318 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
17321 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
17322 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
17323 CFLAGS=$saved_string_h_CFLAGS
17326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
17327 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
17328 if ${ac_cv_cflags__Wlogical_op+:} false; then :
17329 $as_echo_n "(cached) " >&6
17330 else
17331 ac_wine_try_cflags_saved=$CFLAGS
17332 CFLAGS="$CFLAGS -Wlogical-op"
17333 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17334 /* end confdefs.h. */
17335 int main(int argc, char **argv) { return 0; }
17336 _ACEOF
17337 if ac_fn_c_try_link "$LINENO"; then :
17338 ac_cv_cflags__Wlogical_op=yes
17339 else
17340 ac_cv_cflags__Wlogical_op=no
17342 rm -f core conftest.err conftest.$ac_objext \
17343 conftest$ac_exeext conftest.$ac_ext
17344 CFLAGS=$ac_wine_try_cflags_saved
17346 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
17347 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
17348 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
17349 saved_string_h_CFLAGS=$CFLAGS
17350 CFLAGS="$CFLAGS -Wlogical-op -Werror"
17351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
17352 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
17353 if ${ac_cv_c_logicalop_noisy+:} false; then :
17354 $as_echo_n "(cached) " >&6
17355 else
17356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17357 /* end confdefs.h. */
17358 #include <string.h>
17359 char*f(const char *h,char n) {return strchr(h,n);}
17361 main ()
17365 return 0;
17367 _ACEOF
17368 if ac_fn_c_try_compile "$LINENO"; then :
17369 ac_cv_c_logicalop_noisy=no
17370 else
17371 ac_cv_c_logicalop_noisy=yes
17373 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
17376 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
17377 CFLAGS=$saved_string_h_CFLAGS
17378 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
17381 for ac_flag in $CFLAGS; do
17382 case $ac_flag in
17383 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
17384 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
17385 if ${ac_cv_cflags__gdwarf_2+:} false; then :
17386 $as_echo_n "(cached) " >&6
17387 else
17388 ac_wine_try_cflags_saved=$CFLAGS
17389 CFLAGS="$CFLAGS -gdwarf-2"
17390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17391 /* end confdefs.h. */
17392 int main(int argc, char **argv) { return 0; }
17393 _ACEOF
17394 if ac_fn_c_try_link "$LINENO"; then :
17395 ac_cv_cflags__gdwarf_2=yes
17396 else
17397 ac_cv_cflags__gdwarf_2=no
17399 rm -f core conftest.err conftest.$ac_objext \
17400 conftest$ac_exeext conftest.$ac_ext
17401 CFLAGS=$ac_wine_try_cflags_saved
17403 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
17404 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
17405 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
17406 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
17408 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
17409 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
17410 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
17411 $as_echo_n "(cached) " >&6
17412 else
17413 ac_wine_try_cflags_saved=$CFLAGS
17414 CFLAGS="$CFLAGS -gstrict-dwarf"
17415 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17416 /* end confdefs.h. */
17417 int main(int argc, char **argv) { return 0; }
17418 _ACEOF
17419 if ac_fn_c_try_link "$LINENO"; then :
17420 ac_cv_cflags__gstrict_dwarf=yes
17421 else
17422 ac_cv_cflags__gstrict_dwarf=no
17424 rm -f core conftest.err conftest.$ac_objext \
17425 conftest$ac_exeext conftest.$ac_ext
17426 CFLAGS=$ac_wine_try_cflags_saved
17428 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
17429 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
17430 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
17431 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
17432 fi ;;
17433 esac
17434 done
17436 MSVCRTFLAGS=""
17438 case $host_os in
17439 mingw32*) ;;
17440 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
17441 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
17442 if ${ac_cv_cflags__fno_builtin+:} false; then :
17443 $as_echo_n "(cached) " >&6
17444 else
17445 ac_wine_try_cflags_saved=$CFLAGS
17446 CFLAGS="$CFLAGS -fno-builtin"
17447 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17448 /* end confdefs.h. */
17449 int main(int argc, char **argv) { return 0; }
17450 _ACEOF
17451 if ac_fn_c_try_link "$LINENO"; then :
17452 ac_cv_cflags__fno_builtin=yes
17453 else
17454 ac_cv_cflags__fno_builtin=no
17456 rm -f core conftest.err conftest.$ac_objext \
17457 conftest$ac_exeext conftest.$ac_ext
17458 CFLAGS=$ac_wine_try_cflags_saved
17460 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
17461 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
17462 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
17463 MSVCRTFLAGS="$MSVCRTFLAGS -fno-builtin"
17465 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fshort-wchar" >&5
17466 $as_echo_n "checking whether the compiler supports -fshort-wchar... " >&6; }
17467 if ${ac_cv_cflags__fshort_wchar+:} false; then :
17468 $as_echo_n "(cached) " >&6
17469 else
17470 ac_wine_try_cflags_saved=$CFLAGS
17471 CFLAGS="$CFLAGS -fshort-wchar"
17472 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17473 /* end confdefs.h. */
17474 int main(int argc, char **argv) { return 0; }
17475 _ACEOF
17476 if ac_fn_c_try_link "$LINENO"; then :
17477 ac_cv_cflags__fshort_wchar=yes
17478 else
17479 ac_cv_cflags__fshort_wchar=no
17481 rm -f core conftest.err conftest.$ac_objext \
17482 conftest$ac_exeext conftest.$ac_ext
17483 CFLAGS=$ac_wine_try_cflags_saved
17485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fshort_wchar" >&5
17486 $as_echo "$ac_cv_cflags__fshort_wchar" >&6; }
17487 if test "x$ac_cv_cflags__fshort_wchar" = xyes; then :
17488 MSVCRTFLAGS="$MSVCRTFLAGS -fshort-wchar"
17489 fi ;;
17490 esac
17492 case $host_cpu in
17493 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
17494 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
17495 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
17496 $as_echo_n "(cached) " >&6
17497 else
17498 ac_wine_try_cflags_saved=$CFLAGS
17499 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
17500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17501 /* end confdefs.h. */
17502 int main(int argc, char **argv) { return 0; }
17503 _ACEOF
17504 if ac_fn_c_try_link "$LINENO"; then :
17505 ac_cv_cflags__fno_omit_frame_pointer=yes
17506 else
17507 ac_cv_cflags__fno_omit_frame_pointer=no
17509 rm -f core conftest.err conftest.$ac_objext \
17510 conftest$ac_exeext conftest.$ac_ext
17511 CFLAGS=$ac_wine_try_cflags_saved
17513 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
17514 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
17515 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
17516 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
17517 fi ;;
17518 *x86_64*)
17519 case $host_os in
17520 cygwin*|mingw32*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
17521 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
17522 if ${ac_cv_cflags__Wno_format+:} false; then :
17523 $as_echo_n "(cached) " >&6
17524 else
17525 ac_wine_try_cflags_saved=$CFLAGS
17526 CFLAGS="$CFLAGS -Wno-format"
17527 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17528 /* end confdefs.h. */
17529 int main(int argc, char **argv) { return 0; }
17530 _ACEOF
17531 if ac_fn_c_try_link "$LINENO"; then :
17532 ac_cv_cflags__Wno_format=yes
17533 else
17534 ac_cv_cflags__Wno_format=no
17536 rm -f core conftest.err conftest.$ac_objext \
17537 conftest$ac_exeext conftest.$ac_ext
17538 CFLAGS=$ac_wine_try_cflags_saved
17540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
17541 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
17542 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
17543 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
17544 fi ;;
17545 *) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -mabi=ms" >&5
17546 $as_echo_n "checking whether the compiler supports -mabi=ms... " >&6; }
17547 if ${ac_cv_cflags__mabi_ms+:} false; then :
17548 $as_echo_n "(cached) " >&6
17549 else
17550 ac_wine_try_cflags_saved=$CFLAGS
17551 CFLAGS="$CFLAGS -mabi=ms"
17552 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17553 /* end confdefs.h. */
17554 int main(int argc, char **argv) { return 0; }
17555 _ACEOF
17556 if ac_fn_c_try_link "$LINENO"; then :
17557 ac_cv_cflags__mabi_ms=yes
17558 else
17559 ac_cv_cflags__mabi_ms=no
17561 rm -f core conftest.err conftest.$ac_objext \
17562 conftest$ac_exeext conftest.$ac_ext
17563 CFLAGS=$ac_wine_try_cflags_saved
17565 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__mabi_ms" >&5
17566 $as_echo "$ac_cv_cflags__mabi_ms" >&6; }
17567 if test "x$ac_cv_cflags__mabi_ms" = xyes; then :
17568 MSVCRTFLAGS="$MSVCRTFLAGS -mabi=ms"
17569 fi ;;
17570 esac ;;
17571 esac
17573 CFLAGS=$saved_CFLAGS
17575 if test "x$enable_maintainer_mode" = "xyes"
17576 then
17577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
17578 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
17579 if ${ac_cv_cflags__Werror+:} false; then :
17580 $as_echo_n "(cached) " >&6
17581 else
17582 ac_wine_try_cflags_saved=$CFLAGS
17583 CFLAGS="$CFLAGS -Werror"
17584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17585 /* end confdefs.h. */
17586 int main(int argc, char **argv) { return 0; }
17587 _ACEOF
17588 if ac_fn_c_try_link "$LINENO"; then :
17589 ac_cv_cflags__Werror=yes
17590 else
17591 ac_cv_cflags__Werror=no
17593 rm -f core conftest.err conftest.$ac_objext \
17594 conftest$ac_exeext conftest.$ac_ext
17595 CFLAGS=$ac_wine_try_cflags_saved
17597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
17598 $as_echo "$ac_cv_cflags__Werror" >&6; }
17599 if test "x$ac_cv_cflags__Werror" = xyes; then :
17600 EXTRACFLAGS="$EXTRACFLAGS -Werror"
17606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
17607 $as_echo_n "checking for the need to disable Fortify... " >&6; }
17608 if ${ac_cv_c_fortify_enabled+:} false; then :
17609 $as_echo_n "(cached) " >&6
17610 else
17611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17612 /* end confdefs.h. */
17613 #include <string.h>
17615 main ()
17617 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
17618 #error Fortify enabled
17619 #endif
17621 return 0;
17623 _ACEOF
17624 if ac_fn_c_try_compile "$LINENO"; then :
17625 ac_cv_c_fortify_enabled=no
17626 else
17627 ac_cv_c_fortify_enabled=yes
17629 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17631 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
17632 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
17633 if test "$ac_cv_c_fortify_enabled" = yes
17634 then
17635 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
17639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
17640 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
17641 if ${ac_cv_c_cfi_support+:} false; then :
17642 $as_echo_n "(cached) " >&6
17643 else
17644 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17645 /* end confdefs.h. */
17646 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
17648 main ()
17652 return 0;
17654 _ACEOF
17655 if ac_fn_c_try_compile "$LINENO"; then :
17656 ac_cv_c_cfi_support="yes"
17657 else
17658 ac_cv_c_cfi_support="no"
17660 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
17662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
17663 $as_echo "$ac_cv_c_cfi_support" >&6; }
17664 if test "$ac_cv_c_cfi_support" = "yes"
17665 then
17666 LDDLLFLAGS="$LDDLLFLAGS -fasynchronous-unwind-tables"
17667 else
17668 if test "x$enable_win64" = "xyes"
17669 then
17670 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
17675 case $build_os in
17676 cygwin*|mingw32*) TOOLSEXT=".exe"
17678 esac
17680 case $host_os in
17681 linux*)
17682 case $host_cpu in
17683 *i[3456789]86*|x86_64*|*aarch64*)
17684 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
17685 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
17687 esac
17689 esac
17692 ac_save_CFLAGS="$CFLAGS"
17693 CFLAGS="$CFLAGS $BUILTINFLAG"
17694 for ac_func in \
17695 __res_get_state \
17696 __res_getservers \
17697 _spawnvp \
17698 dlopen \
17699 epoll_create \
17700 ffs \
17701 finitef \
17702 fnmatch \
17703 fork \
17704 fpclass \
17705 fstatfs \
17706 fstatvfs \
17707 futimens \
17708 futimes \
17709 futimesat \
17710 getattrlist \
17711 getauxval \
17712 getifaddrs \
17713 getopt_long_only \
17714 kqueue \
17715 lstat \
17716 mach_continuous_time \
17717 pipe2 \
17718 poll \
17719 port_create \
17720 prctl \
17721 pread \
17722 proc_pidinfo \
17723 pwrite \
17724 readdir \
17725 readlink \
17726 sched_yield \
17727 select \
17728 setproctitle \
17729 setprogname \
17730 settimeofday \
17731 sigprocmask \
17732 statfs \
17733 statvfs \
17734 strnlen \
17735 strtold \
17736 symlink \
17737 sysinfo \
17738 tcdrain \
17739 thr_kill2 \
17740 timegm \
17741 usleep
17743 do :
17744 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17745 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17746 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17747 cat >>confdefs.h <<_ACEOF
17748 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17749 _ACEOF
17752 done
17754 CFLAGS="$ac_save_CFLAGS"
17756 if test "$ac_cv_func_dlopen" = no
17757 then
17758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
17759 $as_echo_n "checking for dlopen in -ldl... " >&6; }
17760 if ${ac_cv_lib_dl_dlopen+:} false; then :
17761 $as_echo_n "(cached) " >&6
17762 else
17763 ac_check_lib_save_LIBS=$LIBS
17764 LIBS="-ldl $LIBS"
17765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17766 /* end confdefs.h. */
17768 /* Override any GCC internal prototype to avoid an error.
17769 Use char because int might match the return type of a GCC
17770 builtin and then its argument prototype would still apply. */
17771 #ifdef __cplusplus
17772 extern "C"
17773 #endif
17774 char dlopen ();
17776 main ()
17778 return dlopen ();
17780 return 0;
17782 _ACEOF
17783 if ac_fn_c_try_link "$LINENO"; then :
17784 ac_cv_lib_dl_dlopen=yes
17785 else
17786 ac_cv_lib_dl_dlopen=no
17788 rm -f core conftest.err conftest.$ac_objext \
17789 conftest$ac_exeext conftest.$ac_ext
17790 LIBS=$ac_check_lib_save_LIBS
17792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
17793 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
17794 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
17795 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
17796 DL_LIBS="-ldl"
17801 ac_wine_check_funcs_save_LIBS="$LIBS"
17802 LIBS="$LIBS $DL_LIBS"
17803 for ac_func in dladdr
17804 do :
17805 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
17806 if test "x$ac_cv_func_dladdr" = xyes; then :
17807 cat >>confdefs.h <<_ACEOF
17808 #define HAVE_DLADDR 1
17809 _ACEOF
17812 done
17814 LIBS="$ac_wine_check_funcs_save_LIBS"
17816 if test "$ac_cv_func_poll" = no
17817 then
17818 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
17819 $as_echo_n "checking for poll in -lpoll... " >&6; }
17820 if ${ac_cv_lib_poll_poll+:} false; then :
17821 $as_echo_n "(cached) " >&6
17822 else
17823 ac_check_lib_save_LIBS=$LIBS
17824 LIBS="-lpoll $LIBS"
17825 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17826 /* end confdefs.h. */
17828 /* Override any GCC internal prototype to avoid an error.
17829 Use char because int might match the return type of a GCC
17830 builtin and then its argument prototype would still apply. */
17831 #ifdef __cplusplus
17832 extern "C"
17833 #endif
17834 char poll ();
17836 main ()
17838 return poll ();
17840 return 0;
17842 _ACEOF
17843 if ac_fn_c_try_link "$LINENO"; then :
17844 ac_cv_lib_poll_poll=yes
17845 else
17846 ac_cv_lib_poll_poll=no
17848 rm -f core conftest.err conftest.$ac_objext \
17849 conftest$ac_exeext conftest.$ac_ext
17850 LIBS=$ac_check_lib_save_LIBS
17852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
17853 $as_echo "$ac_cv_lib_poll_poll" >&6; }
17854 if test "x$ac_cv_lib_poll_poll" = xyes; then :
17855 $as_echo "#define HAVE_POLL 1" >>confdefs.h
17856 POLL_LIBS="-lpoll"
17862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
17863 $as_echo_n "checking for library containing gethostbyname... " >&6; }
17864 if ${ac_cv_search_gethostbyname+:} false; then :
17865 $as_echo_n "(cached) " >&6
17866 else
17867 ac_func_search_save_LIBS=$LIBS
17868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17869 /* end confdefs.h. */
17871 /* Override any GCC internal prototype to avoid an error.
17872 Use char because int might match the return type of a GCC
17873 builtin and then its argument prototype would still apply. */
17874 #ifdef __cplusplus
17875 extern "C"
17876 #endif
17877 char gethostbyname ();
17879 main ()
17881 return gethostbyname ();
17883 return 0;
17885 _ACEOF
17886 for ac_lib in '' nsl; do
17887 if test -z "$ac_lib"; then
17888 ac_res="none required"
17889 else
17890 ac_res=-l$ac_lib
17891 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17893 if ac_fn_c_try_link "$LINENO"; then :
17894 ac_cv_search_gethostbyname=$ac_res
17896 rm -f core conftest.err conftest.$ac_objext \
17897 conftest$ac_exeext
17898 if ${ac_cv_search_gethostbyname+:} false; then :
17899 break
17901 done
17902 if ${ac_cv_search_gethostbyname+:} false; then :
17904 else
17905 ac_cv_search_gethostbyname=no
17907 rm conftest.$ac_ext
17908 LIBS=$ac_func_search_save_LIBS
17910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
17911 $as_echo "$ac_cv_search_gethostbyname" >&6; }
17912 ac_res=$ac_cv_search_gethostbyname
17913 if test "$ac_res" != no; then :
17914 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17919 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
17920 $as_echo_n "checking for library containing connect... " >&6; }
17921 if ${ac_cv_search_connect+:} false; then :
17922 $as_echo_n "(cached) " >&6
17923 else
17924 ac_func_search_save_LIBS=$LIBS
17925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17926 /* end confdefs.h. */
17928 /* Override any GCC internal prototype to avoid an error.
17929 Use char because int might match the return type of a GCC
17930 builtin and then its argument prototype would still apply. */
17931 #ifdef __cplusplus
17932 extern "C"
17933 #endif
17934 char connect ();
17936 main ()
17938 return connect ();
17940 return 0;
17942 _ACEOF
17943 for ac_lib in '' socket; do
17944 if test -z "$ac_lib"; then
17945 ac_res="none required"
17946 else
17947 ac_res=-l$ac_lib
17948 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
17950 if ac_fn_c_try_link "$LINENO"; then :
17951 ac_cv_search_connect=$ac_res
17953 rm -f core conftest.err conftest.$ac_objext \
17954 conftest$ac_exeext
17955 if ${ac_cv_search_connect+:} false; then :
17956 break
17958 done
17959 if ${ac_cv_search_connect+:} false; then :
17961 else
17962 ac_cv_search_connect=no
17964 rm conftest.$ac_ext
17965 LIBS=$ac_func_search_save_LIBS
17967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
17968 $as_echo "$ac_cv_search_connect" >&6; }
17969 ac_res=$ac_cv_search_connect
17970 if test "$ac_res" != no; then :
17971 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
17976 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
17977 $as_echo_n "checking for library containing inet_aton... " >&6; }
17978 if ${ac_cv_search_inet_aton+:} false; then :
17979 $as_echo_n "(cached) " >&6
17980 else
17981 ac_func_search_save_LIBS=$LIBS
17982 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17983 /* end confdefs.h. */
17985 /* Override any GCC internal prototype to avoid an error.
17986 Use char because int might match the return type of a GCC
17987 builtin and then its argument prototype would still apply. */
17988 #ifdef __cplusplus
17989 extern "C"
17990 #endif
17991 char inet_aton ();
17993 main ()
17995 return inet_aton ();
17997 return 0;
17999 _ACEOF
18000 for ac_lib in '' resolv; do
18001 if test -z "$ac_lib"; then
18002 ac_res="none required"
18003 else
18004 ac_res=-l$ac_lib
18005 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18007 if ac_fn_c_try_link "$LINENO"; then :
18008 ac_cv_search_inet_aton=$ac_res
18010 rm -f core conftest.err conftest.$ac_objext \
18011 conftest$ac_exeext
18012 if ${ac_cv_search_inet_aton+:} false; then :
18013 break
18015 done
18016 if ${ac_cv_search_inet_aton+:} false; then :
18018 else
18019 ac_cv_search_inet_aton=no
18021 rm conftest.$ac_ext
18022 LIBS=$ac_func_search_save_LIBS
18024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
18025 $as_echo "$ac_cv_search_inet_aton" >&6; }
18026 ac_res=$ac_cv_search_inet_aton
18027 if test "$ac_res" != no; then :
18028 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18033 for ac_func in \
18034 getaddrinfo \
18035 getnameinfo \
18036 getnetbyname \
18037 getprotobyname \
18038 getprotobynumber \
18039 getservbyport \
18040 inet_addr \
18041 inet_network \
18042 inet_ntop \
18043 inet_pton \
18045 do :
18046 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18047 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18048 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18049 cat >>confdefs.h <<_ACEOF
18050 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18051 _ACEOF
18054 done
18057 case $host_os in
18058 darwin*|macosx*) ;;
18059 *) ac_save_LIBS=$LIBS
18060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
18061 $as_echo_n "checking for library containing clock_gettime... " >&6; }
18062 if ${ac_cv_search_clock_gettime+:} false; then :
18063 $as_echo_n "(cached) " >&6
18064 else
18065 ac_func_search_save_LIBS=$LIBS
18066 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18067 /* end confdefs.h. */
18069 /* Override any GCC internal prototype to avoid an error.
18070 Use char because int might match the return type of a GCC
18071 builtin and then its argument prototype would still apply. */
18072 #ifdef __cplusplus
18073 extern "C"
18074 #endif
18075 char clock_gettime ();
18077 main ()
18079 return clock_gettime ();
18081 return 0;
18083 _ACEOF
18084 for ac_lib in '' rt; do
18085 if test -z "$ac_lib"; then
18086 ac_res="none required"
18087 else
18088 ac_res=-l$ac_lib
18089 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
18091 if ac_fn_c_try_link "$LINENO"; then :
18092 ac_cv_search_clock_gettime=$ac_res
18094 rm -f core conftest.err conftest.$ac_objext \
18095 conftest$ac_exeext
18096 if ${ac_cv_search_clock_gettime+:} false; then :
18097 break
18099 done
18100 if ${ac_cv_search_clock_gettime+:} false; then :
18102 else
18103 ac_cv_search_clock_gettime=no
18105 rm conftest.$ac_ext
18106 LIBS=$ac_func_search_save_LIBS
18108 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
18109 $as_echo "$ac_cv_search_clock_gettime" >&6; }
18110 ac_res=$ac_cv_search_clock_gettime
18111 if test "$ac_res" != no; then :
18112 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
18114 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
18116 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
18120 LIBS=$ac_save_LIBS
18122 esac
18124 if test "x$with_ldap" != "xno"
18125 then
18126 if ${LDAP_CFLAGS:+false} :; then :
18127 if ${PKG_CONFIG+:} false; then :
18128 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
18132 if ${LDAP_LIBS:+false} :; then :
18133 if ${PKG_CONFIG+:} false; then :
18134 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
18138 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
18139 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
18140 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
18141 ac_save_CPPFLAGS=$CPPFLAGS
18142 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
18143 for ac_header in ldap.h lber.h
18144 do :
18145 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
18146 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
18147 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
18148 cat >>confdefs.h <<_ACEOF
18149 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
18150 _ACEOF
18154 done
18156 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
18157 then
18158 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
18160 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
18161 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
18162 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
18163 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
18164 $as_echo_n "(cached) " >&6
18165 else
18166 ac_check_lib_save_LIBS=$LIBS
18167 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18168 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18169 /* end confdefs.h. */
18171 /* Override any GCC internal prototype to avoid an error.
18172 Use char because int might match the return type of a GCC
18173 builtin and then its argument prototype would still apply. */
18174 #ifdef __cplusplus
18175 extern "C"
18176 #endif
18177 char ldap_initialize ();
18179 main ()
18181 return ldap_initialize ();
18183 return 0;
18185 _ACEOF
18186 if ac_fn_c_try_link "$LINENO"; then :
18187 ac_cv_lib_ldap_r_ldap_initialize=yes
18188 else
18189 ac_cv_lib_ldap_r_ldap_initialize=no
18191 rm -f core conftest.err conftest.$ac_objext \
18192 conftest$ac_exeext conftest.$ac_ext
18193 LIBS=$ac_check_lib_save_LIBS
18195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
18196 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
18197 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
18198 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
18199 $as_echo_n "checking for ber_init in -llber... " >&6; }
18200 if ${ac_cv_lib_lber_ber_init+:} false; then :
18201 $as_echo_n "(cached) " >&6
18202 else
18203 ac_check_lib_save_LIBS=$LIBS
18204 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
18205 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18206 /* end confdefs.h. */
18208 /* Override any GCC internal prototype to avoid an error.
18209 Use char because int might match the return type of a GCC
18210 builtin and then its argument prototype would still apply. */
18211 #ifdef __cplusplus
18212 extern "C"
18213 #endif
18214 char ber_init ();
18216 main ()
18218 return ber_init ();
18220 return 0;
18222 _ACEOF
18223 if ac_fn_c_try_link "$LINENO"; then :
18224 ac_cv_lib_lber_ber_init=yes
18225 else
18226 ac_cv_lib_lber_ber_init=no
18228 rm -f core conftest.err conftest.$ac_objext \
18229 conftest$ac_exeext conftest.$ac_ext
18230 LIBS=$ac_check_lib_save_LIBS
18232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
18233 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
18234 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
18236 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
18238 else
18239 LDAP_LIBS=""
18242 else
18243 LDAP_LIBS=""
18246 else
18247 LDAP_LIBS=""
18250 ac_wine_check_funcs_save_LIBS="$LIBS"
18251 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
18252 for ac_func in \
18253 ldap_count_references \
18254 ldap_first_reference \
18255 ldap_next_reference \
18256 ldap_parse_reference \
18257 ldap_parse_sort_control \
18258 ldap_parse_sortresponse_control \
18259 ldap_parse_vlv_control \
18260 ldap_parse_vlvresponse_control
18261 do :
18262 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
18263 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
18264 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
18265 cat >>confdefs.h <<_ACEOF
18266 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
18267 _ACEOF
18270 done
18272 LIBS="$ac_wine_check_funcs_save_LIBS"
18273 else
18274 LDAP_LIBS=""
18276 CPPFLAGS=$ac_save_CPPFLAGS
18277 test -z "$LDAP_CFLAGS" || LDAP_CFLAGS=`echo " $LDAP_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
18278 test -z "$LDAP_LIBS" || LDAP_LIBS=`echo " $LDAP_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
18281 if test "x$LDAP_LIBS" = "x"; then :
18282 case "x$with_ldap" in
18283 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
18284 xno) ;;
18285 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
18286 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
18287 esac
18291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
18292 $as_echo_n "checking for sched_setaffinity... " >&6; }
18293 if ${wine_cv_have_sched_setaffinity+:} false; then :
18294 $as_echo_n "(cached) " >&6
18295 else
18296 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18297 /* end confdefs.h. */
18298 #define _GNU_SOURCE
18299 #include <sched.h>
18301 main ()
18303 sched_setaffinity(0, 0, 0);
18305 return 0;
18307 _ACEOF
18308 if ac_fn_c_try_link "$LINENO"; then :
18309 wine_cv_have_sched_setaffinity=yes
18310 else
18311 wine_cv_have_sched_setaffinity=no
18313 rm -f core conftest.err conftest.$ac_objext \
18314 conftest$ac_exeext conftest.$ac_ext
18316 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
18317 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
18318 if test "$wine_cv_have_sched_setaffinity" = "yes"
18319 then
18321 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
18325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
18326 $as_echo_n "checking for fallocate... " >&6; }
18327 if ${wine_cv_have_fallocate+:} false; then :
18328 $as_echo_n "(cached) " >&6
18329 else
18330 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18331 /* end confdefs.h. */
18332 #define _GNU_SOURCE
18333 #include <fcntl.h>
18335 main ()
18337 fallocate(-1, 0, 0, 0);
18339 return 0;
18341 _ACEOF
18342 if ac_fn_c_try_link "$LINENO"; then :
18343 wine_cv_have_fallocate=yes
18344 else
18345 wine_cv_have_fallocate=no
18347 rm -f core conftest.err conftest.$ac_objext \
18348 conftest$ac_exeext conftest.$ac_ext
18350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
18351 $as_echo "$wine_cv_have_fallocate" >&6; }
18352 if test "$wine_cv_have_fallocate" = "yes"
18353 then
18355 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
18360 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
18361 $as_echo_n "checking for inline... " >&6; }
18362 if ${ac_cv_c_inline+:} false; then :
18363 $as_echo_n "(cached) " >&6
18364 else
18365 ac_cv_c_inline=no
18366 for ac_kw in inline __inline__ __inline; do
18367 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18368 /* end confdefs.h. */
18369 #ifndef __cplusplus
18370 typedef int foo_t;
18371 static $ac_kw foo_t static_foo () {return 0; }
18372 $ac_kw foo_t foo () {return 0; }
18373 #endif
18375 _ACEOF
18376 if ac_fn_c_try_compile "$LINENO"; then :
18377 ac_cv_c_inline=$ac_kw
18379 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18380 test "$ac_cv_c_inline" != no && break
18381 done
18384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
18385 $as_echo "$ac_cv_c_inline" >&6; }
18387 case $ac_cv_c_inline in
18388 inline | yes) ;;
18390 case $ac_cv_c_inline in
18391 no) ac_val=;;
18392 *) ac_val=$ac_cv_c_inline;;
18393 esac
18394 cat >>confdefs.h <<_ACEOF
18395 #ifndef __cplusplus
18396 #define inline $ac_val
18397 #endif
18398 _ACEOF
18400 esac
18402 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
18403 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
18405 cat >>confdefs.h <<_ACEOF
18406 #define HAVE_FSBLKCNT_T 1
18407 _ACEOF
18411 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
18412 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
18414 cat >>confdefs.h <<_ACEOF
18415 #define HAVE_FSFILCNT_T 1
18416 _ACEOF
18421 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
18422 #include <signal.h>
18424 if test "x$ac_cv_type_sigset_t" = xyes; then :
18426 cat >>confdefs.h <<_ACEOF
18427 #define HAVE_SIGSET_T 1
18428 _ACEOF
18433 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
18435 if test "x$ac_cv_type_request_sense" = xyes; then :
18437 cat >>confdefs.h <<_ACEOF
18438 #define HAVE_REQUEST_SENSE 1
18439 _ACEOF
18445 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
18446 #ifdef HAVE_SYS_SOCKET_H
18447 #include <sys/socket.h>
18448 #endif
18449 #ifdef HAVE_SYS_SOCKETVAR_H
18450 #include <sys/socketvar.h>
18451 #endif
18452 #ifdef HAVE_NET_ROUTE_H
18453 #include <net/route.h>
18454 #endif
18455 #ifdef HAVE_NETINET_IN_H
18456 #include <netinet/in.h>
18457 #endif
18458 #ifdef HAVE_NETINET_IN_SYSTM_H
18459 #include <netinet/in_systm.h>
18460 #endif
18461 #ifdef HAVE_NETINET_IP_H
18462 #include <netinet/ip.h>
18463 #endif
18464 #ifdef HAVE_NETINET_IN_PCB_H
18465 #include <netinet/in_pcb.h>
18466 #endif
18468 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
18470 cat >>confdefs.h <<_ACEOF
18471 #define HAVE_STRUCT_XINPGEN 1
18472 _ACEOF
18478 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
18479 #include <link.h>
18480 #endif
18481 #ifdef HAVE_SYS_LINK_H
18482 #include <sys/link.h>
18483 #endif
18485 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
18487 cat >>confdefs.h <<_ACEOF
18488 #define HAVE_STRUCT_R_DEBUG 1
18489 _ACEOF
18493 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
18494 #include <link.h>
18495 #endif
18496 #ifdef HAVE_SYS_LINK_H
18497 #include <sys/link.h>
18498 #endif
18500 if test "x$ac_cv_type_struct_link_map" = xyes; then :
18502 cat >>confdefs.h <<_ACEOF
18503 #define HAVE_STRUCT_LINK_MAP 1
18504 _ACEOF
18510 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
18511 #include <linux/input.h>
18512 #endif
18514 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
18516 cat >>confdefs.h <<_ACEOF
18517 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
18518 _ACEOF
18524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
18525 $as_echo_n "checking for if_nameindex... " >&6; }
18526 if ${wine_cv_have_if_nameindex+:} false; then :
18527 $as_echo_n "(cached) " >&6
18528 else
18529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18530 /* end confdefs.h. */
18531 #ifdef HAVE_SYS_TYPES_H
18532 #include <sys/types.h>
18533 #endif
18534 #ifdef HAVE_SYS_SOCKET_H
18535 #include <sys/socket.h>
18536 #endif
18537 #ifdef HAVE_NET_IF_H
18538 # include <net/if.h>
18539 #endif
18541 main ()
18543 struct if_nameindex *p = if_nameindex(); return p->if_index;
18545 return 0;
18547 _ACEOF
18548 if ac_fn_c_try_link "$LINENO"; then :
18549 wine_cv_have_if_nameindex=yes
18550 else
18551 wine_cv_have_if_nameindex=no
18553 rm -f core conftest.err conftest.$ac_objext \
18554 conftest$ac_exeext conftest.$ac_ext
18556 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
18557 $as_echo "$wine_cv_have_if_nameindex" >&6; }
18558 if test "$wine_cv_have_if_nameindex" = "yes"
18559 then
18561 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
18565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
18566 $as_echo_n "checking for sigaddset... " >&6; }
18567 if ${wine_cv_have_sigaddset+:} false; then :
18568 $as_echo_n "(cached) " >&6
18569 else
18570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18571 /* end confdefs.h. */
18572 #include <signal.h>
18574 main ()
18576 sigset_t set; sigaddset(&set,SIGTERM);
18578 return 0;
18580 _ACEOF
18581 if ac_fn_c_try_link "$LINENO"; then :
18582 wine_cv_have_sigaddset=yes
18583 else
18584 wine_cv_have_sigaddset=no
18586 rm -f core conftest.err conftest.$ac_objext \
18587 conftest$ac_exeext conftest.$ac_ext
18589 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
18590 $as_echo "$wine_cv_have_sigaddset" >&6; }
18591 if test "$wine_cv_have_sigaddset" = "yes"
18592 then
18594 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
18599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
18600 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
18601 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
18602 $as_echo_n "(cached) " >&6
18603 else
18604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18605 /* end confdefs.h. */
18606 #include <netdb.h>
18608 main ()
18611 char *name=0;
18612 struct hostent he;
18613 struct hostent *result;
18614 char *buf=0;
18615 int bufsize=0;
18616 int errnr;
18617 char *addr=0;
18618 int addrlen=0;
18619 int addrtype=0;
18620 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
18621 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
18624 return 0;
18626 _ACEOF
18627 if ac_fn_c_try_link "$LINENO"; then :
18628 wine_cv_linux_gethostbyname_r_6=yes
18629 else
18630 wine_cv_linux_gethostbyname_r_6=no
18633 rm -f core conftest.err conftest.$ac_objext \
18634 conftest$ac_exeext conftest.$ac_ext
18637 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
18638 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
18639 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
18640 then
18642 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
18646 if test "$ac_cv_header_linux_joystick_h" = "yes"
18647 then
18648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
18649 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
18650 if ${wine_cv_linux_joystick_22_api+:} false; then :
18651 $as_echo_n "(cached) " >&6
18652 else
18653 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18654 /* end confdefs.h. */
18656 #include <sys/ioctl.h>
18657 #include <sys/types.h>
18658 #include <linux/joystick.h>
18660 struct js_event blub;
18661 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
18662 #error "no 2.2 header"
18663 #endif
18666 main ()
18668 /*empty*/
18670 return 0;
18672 _ACEOF
18673 if ac_fn_c_try_compile "$LINENO"; then :
18674 wine_cv_linux_joystick_22_api=yes
18675 else
18676 wine_cv_linux_joystick_22_api=no
18678 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
18681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
18682 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
18683 if test "$wine_cv_linux_joystick_22_api" = "yes"
18684 then
18686 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
18692 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
18693 #ifdef HAVE_SYS_PARAM_H
18694 # include <sys/param.h>
18695 #endif
18696 #ifdef HAVE_SYS_MOUNT_H
18697 # include <sys/mount.h>
18698 #endif
18699 #ifdef HAVE_SYS_VFS_H
18700 # include <sys/vfs.h>
18701 #endif
18702 #ifdef HAVE_SYS_STATFS_H
18703 # include <sys/statfs.h>
18704 #endif
18706 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
18708 cat >>confdefs.h <<_ACEOF
18709 #define HAVE_STRUCT_STATFS_F_BFREE 1
18710 _ACEOF
18714 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
18715 #ifdef HAVE_SYS_PARAM_H
18716 # include <sys/param.h>
18717 #endif
18718 #ifdef HAVE_SYS_MOUNT_H
18719 # include <sys/mount.h>
18720 #endif
18721 #ifdef HAVE_SYS_VFS_H
18722 # include <sys/vfs.h>
18723 #endif
18724 #ifdef HAVE_SYS_STATFS_H
18725 # include <sys/statfs.h>
18726 #endif
18728 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
18730 cat >>confdefs.h <<_ACEOF
18731 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
18732 _ACEOF
18736 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
18737 #ifdef HAVE_SYS_PARAM_H
18738 # include <sys/param.h>
18739 #endif
18740 #ifdef HAVE_SYS_MOUNT_H
18741 # include <sys/mount.h>
18742 #endif
18743 #ifdef HAVE_SYS_VFS_H
18744 # include <sys/vfs.h>
18745 #endif
18746 #ifdef HAVE_SYS_STATFS_H
18747 # include <sys/statfs.h>
18748 #endif
18750 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
18752 cat >>confdefs.h <<_ACEOF
18753 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
18754 _ACEOF
18758 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
18759 #ifdef HAVE_SYS_PARAM_H
18760 # include <sys/param.h>
18761 #endif
18762 #ifdef HAVE_SYS_MOUNT_H
18763 # include <sys/mount.h>
18764 #endif
18765 #ifdef HAVE_SYS_VFS_H
18766 # include <sys/vfs.h>
18767 #endif
18768 #ifdef HAVE_SYS_STATFS_H
18769 # include <sys/statfs.h>
18770 #endif
18772 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
18774 cat >>confdefs.h <<_ACEOF
18775 #define HAVE_STRUCT_STATFS_F_FFREE 1
18776 _ACEOF
18780 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
18781 #ifdef HAVE_SYS_PARAM_H
18782 # include <sys/param.h>
18783 #endif
18784 #ifdef HAVE_SYS_MOUNT_H
18785 # include <sys/mount.h>
18786 #endif
18787 #ifdef HAVE_SYS_VFS_H
18788 # include <sys/vfs.h>
18789 #endif
18790 #ifdef HAVE_SYS_STATFS_H
18791 # include <sys/statfs.h>
18792 #endif
18794 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
18796 cat >>confdefs.h <<_ACEOF
18797 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
18798 _ACEOF
18802 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
18803 #ifdef HAVE_SYS_PARAM_H
18804 # include <sys/param.h>
18805 #endif
18806 #ifdef HAVE_SYS_MOUNT_H
18807 # include <sys/mount.h>
18808 #endif
18809 #ifdef HAVE_SYS_VFS_H
18810 # include <sys/vfs.h>
18811 #endif
18812 #ifdef HAVE_SYS_STATFS_H
18813 # include <sys/statfs.h>
18814 #endif
18816 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
18818 cat >>confdefs.h <<_ACEOF
18819 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
18820 _ACEOF
18826 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
18827 #include <sys/statvfs.h>
18828 #endif
18830 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
18832 cat >>confdefs.h <<_ACEOF
18833 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
18834 _ACEOF
18840 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
18841 #include <dirent.h>
18842 #endif
18844 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
18846 cat >>confdefs.h <<_ACEOF
18847 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
18848 _ACEOF
18854 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
18855 #ifdef HAVE_SYS_SOCKET_H
18856 # include <sys/socket.h>
18857 #endif
18858 #ifdef HAVE_SYS_UN_H
18859 # include <sys/un.h>
18860 #endif
18862 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
18864 cat >>confdefs.h <<_ACEOF
18865 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
18866 _ACEOF
18870 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
18871 #ifdef HAVE_SYS_SOCKET_H
18872 # include <sys/socket.h>
18873 #endif
18874 #ifdef HAVE_SYS_UN_H
18875 # include <sys/un.h>
18876 #endif
18878 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
18880 cat >>confdefs.h <<_ACEOF
18881 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
18882 _ACEOF
18886 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
18887 #ifdef HAVE_SYS_SOCKET_H
18888 # include <sys/socket.h>
18889 #endif
18890 #ifdef HAVE_SYS_UN_H
18891 # include <sys/un.h>
18892 #endif
18894 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
18896 cat >>confdefs.h <<_ACEOF
18897 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
18898 _ACEOF
18904 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
18905 #ifdef HAVE_SCSI_SG_H
18906 #include <scsi/sg.h>
18907 #endif
18909 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
18911 cat >>confdefs.h <<_ACEOF
18912 #define HAVE_SCSIREQ_T_CMD 1
18913 _ACEOF
18917 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>
18918 #ifdef HAVE_SCSI_SG_H
18919 #include <scsi/sg.h>
18920 #endif
18922 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
18924 cat >>confdefs.h <<_ACEOF
18925 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
18926 _ACEOF
18932 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
18934 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
18936 cat >>confdefs.h <<_ACEOF
18937 #define HAVE_SIGINFO_T_SI_FD 1
18938 _ACEOF
18944 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
18945 #ifdef HAVE_SYS_MTIO_H
18946 #include <sys/mtio.h>
18947 #endif
18949 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
18951 cat >>confdefs.h <<_ACEOF
18952 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
18953 _ACEOF
18957 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
18958 #ifdef HAVE_SYS_MTIO_H
18959 #include <sys/mtio.h>
18960 #endif
18962 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
18964 cat >>confdefs.h <<_ACEOF
18965 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
18966 _ACEOF
18970 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
18971 #ifdef HAVE_SYS_MTIO_H
18972 #include <sys/mtio.h>
18973 #endif
18975 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
18977 cat >>confdefs.h <<_ACEOF
18978 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
18979 _ACEOF
18985 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
18986 #include <getopt.h>
18987 #endif
18989 if test "x$ac_cv_member_struct_option_name" = xyes; then :
18991 cat >>confdefs.h <<_ACEOF
18992 #define HAVE_STRUCT_OPTION_NAME 1
18993 _ACEOF
18999 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
19000 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
19002 cat >>confdefs.h <<_ACEOF
19003 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
19004 _ACEOF
19008 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
19009 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
19011 cat >>confdefs.h <<_ACEOF
19012 #define HAVE_STRUCT_STAT_ST_MTIM 1
19013 _ACEOF
19017 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
19018 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
19020 cat >>confdefs.h <<_ACEOF
19021 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
19022 _ACEOF
19026 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
19027 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
19029 cat >>confdefs.h <<_ACEOF
19030 #define HAVE_STRUCT_STAT_ST_CTIM 1
19031 _ACEOF
19035 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
19036 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
19038 cat >>confdefs.h <<_ACEOF
19039 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
19040 _ACEOF
19044 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
19045 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
19047 cat >>confdefs.h <<_ACEOF
19048 #define HAVE_STRUCT_STAT_ST_ATIM 1
19049 _ACEOF
19053 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
19054 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
19056 cat >>confdefs.h <<_ACEOF
19057 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
19058 _ACEOF
19062 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
19063 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
19065 cat >>confdefs.h <<_ACEOF
19066 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
19067 _ACEOF
19071 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
19072 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
19074 cat >>confdefs.h <<_ACEOF
19075 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
19076 _ACEOF
19080 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
19081 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
19083 cat >>confdefs.h <<_ACEOF
19084 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
19085 _ACEOF
19089 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
19090 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
19092 cat >>confdefs.h <<_ACEOF
19093 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
19094 _ACEOF
19098 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
19099 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
19101 cat >>confdefs.h <<_ACEOF
19102 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
19103 _ACEOF
19109 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
19110 #include <sys/types.h>
19111 #endif
19112 #ifdef HAVE_NETINET_IN_H
19113 #include <netinet/in.h>
19114 #endif
19116 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
19118 cat >>confdefs.h <<_ACEOF
19119 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
19120 _ACEOF
19126 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
19127 #include <sys/types.h>
19128 #endif
19129 #ifdef HAVE_NETINET_IN_H
19130 #include <netinet/in.h>
19131 #endif
19132 #ifdef HAVE_RESOLV_H
19133 #include <resolv.h>
19134 #endif
19136 if test "x$ac_cv_type_struct___res_state" = xyes; then :
19138 cat >>confdefs.h <<_ACEOF
19139 #define HAVE_STRUCT___RES_STATE 1
19140 _ACEOF
19146 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
19147 #include <resolv.h>
19148 #endif
19150 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
19152 cat >>confdefs.h <<_ACEOF
19153 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
19154 _ACEOF
19160 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
19161 #include <sys/types.h>
19162 #endif
19163 #ifdef HAVE_NETINET_IN_H
19164 # include <netinet/in.h>
19165 #endif
19166 #ifdef HAVE_ARPA_NAMESER_H
19167 # include <arpa/nameser.h>
19168 #endif
19170 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
19172 cat >>confdefs.h <<_ACEOF
19173 #define HAVE_NS_MSG__MSG_PTR 1
19174 _ACEOF
19180 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
19181 #include <sys/types.h>
19182 #endif
19183 #ifdef HAVE_NETINET_IN_H
19184 #include <netinet/in.h>
19185 #endif
19186 #ifdef HAVE_NETINET_IP_H
19187 #include <netinet/ip.h>
19188 #endif
19189 #ifdef HAVE_NETINET_IP_ICMP_H
19190 #include <netinet/ip_icmp.h>
19191 #endif
19192 #ifdef HAVE_NETINET_ICMP_VAR_H
19193 #include <netinet/icmp_var.h>
19194 #endif
19196 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
19198 cat >>confdefs.h <<_ACEOF
19199 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
19200 _ACEOF
19206 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
19207 #include <sys/types.h>
19208 #endif
19209 #ifdef HAVE_ALIAS_H
19210 #include <alias.h>
19211 #endif
19212 #ifdef HAVE_SYS_SOCKET_H
19213 #include <sys/socket.h>
19214 #endif
19215 #ifdef HAVE_SYS_SOCKETVAR_H
19216 #include <sys/socketvar.h>
19217 #endif
19218 #ifdef HAVE_SYS_TIMEOUT_H
19219 #include <sys/timeout.h>
19220 #endif
19221 #ifdef HAVE_NETINET_IN_H
19222 #include <netinet/in.h>
19223 #endif
19224 #ifdef HAVE_NETINET_IN_SYSTM_H
19225 #include <netinet/in_systm.h>
19226 #endif
19227 #ifdef HAVE_NETINET_IP_H
19228 #include <netinet/ip.h>
19229 #endif
19230 #ifdef HAVE_NETINET_IP_VAR_H
19231 #include <netinet/ip_var.h>
19232 #endif
19233 #ifdef HAVE_NETINET_IP_ICMP_H
19234 #include <netinet/ip_icmp.h>
19235 #endif
19236 #ifdef HAVE_NETINET_ICMP_VAR_H
19237 #include <netinet/icmp_var.h>
19238 #endif
19240 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
19242 cat >>confdefs.h <<_ACEOF
19243 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
19244 _ACEOF
19250 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
19251 #include <sys/types.h>
19252 #endif
19253 #ifdef HAVE_SYS_SOCKETVAR_H
19254 #include <sys/socketvar.h>
19255 #endif
19256 #ifdef HAVE_NETINET_IN_H
19257 #include <netinet/in.h>
19258 #endif
19259 #ifdef HAVE_NETINET_IP_VAR_H
19260 #include <netinet/ip_var.h>
19261 #endif
19263 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
19265 cat >>confdefs.h <<_ACEOF
19266 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
19267 _ACEOF
19273 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
19274 #include <netinet/ip_var.h>
19275 #endif
19277 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
19279 cat >>confdefs.h <<_ACEOF
19280 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
19281 _ACEOF
19287 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
19288 #include <sys/types.h>
19289 #endif
19290 #ifdef HAVE_SYS_SOCKETVAR_H
19291 #include <sys/socketvar.h>
19292 #endif
19293 #ifdef HAVE_NETINET_IN_H
19294 #include <netinet/in.h>
19295 #endif
19296 #ifdef HAVE_NETINET_TCP_H
19297 #include <netinet/tcp.h>
19298 #endif
19299 #ifdef HAVE_NETINET_TCP_VAR_H
19300 #include <netinet/tcp_var.h>
19301 #endif
19303 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
19305 cat >>confdefs.h <<_ACEOF
19306 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
19307 _ACEOF
19313 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
19314 #include <netinet/tcp_var.h>
19315 #endif
19317 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
19319 cat >>confdefs.h <<_ACEOF
19320 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
19321 _ACEOF
19327 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
19328 #include <sys/types.h>
19329 #endif
19330 #ifdef HAVE_NETINET_IN_H
19331 #include <netinet/in.h>
19332 #endif
19333 #ifdef HAVE_NETINET_IP_VAR_H
19334 #include <netinet/ip_var.h>
19335 #endif
19336 #ifdef HAVE_NETINET_UDP_H
19337 #include <netinet/udp.h>
19338 #endif
19339 #ifdef HAVE_NETINET_UDP_VAR_H
19340 #include <netinet/udp_var.h>
19341 #endif
19343 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
19345 cat >>confdefs.h <<_ACEOF
19346 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
19347 _ACEOF
19353 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
19354 #include <sys/types.h>
19355 #endif
19356 #ifdef HAVE_NET_IF_H
19357 # include <net/if.h>
19358 #endif
19360 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
19362 cat >>confdefs.h <<_ACEOF
19363 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
19364 _ACEOF
19370 ac_save_LIBS="$LIBS"
19371 LIBS="$LIBS -lm"
19372 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
19373 $as_echo_n "checking for isfinite... " >&6; }
19374 if ${ac_cv_have_isfinite+:} false; then :
19375 $as_echo_n "(cached) " >&6
19376 else
19377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19378 /* end confdefs.h. */
19379 #define _GNU_SOURCE
19380 #include <math.h>
19382 main ()
19384 float f = 0.0; return isfinite(f)
19386 return 0;
19388 _ACEOF
19389 if ac_fn_c_try_link "$LINENO"; then :
19390 ac_cv_have_isfinite="yes"
19391 else
19392 ac_cv_have_isfinite="no"
19394 rm -f core conftest.err conftest.$ac_objext \
19395 conftest$ac_exeext conftest.$ac_ext
19397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
19398 $as_echo "$ac_cv_have_isfinite" >&6; }
19399 if test "$ac_cv_have_isfinite" = "yes"
19400 then
19402 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
19406 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
19407 $as_echo_n "checking for isinf... " >&6; }
19408 if ${ac_cv_have_isinf+:} false; then :
19409 $as_echo_n "(cached) " >&6
19410 else
19411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19412 /* end confdefs.h. */
19413 #include <math.h>
19415 main ()
19417 float f = 0.0; return isinf(f)
19419 return 0;
19421 _ACEOF
19422 if ac_fn_c_try_link "$LINENO"; then :
19423 ac_cv_have_isinf="yes"
19424 else
19425 ac_cv_have_isinf="no"
19427 rm -f core conftest.err conftest.$ac_objext \
19428 conftest$ac_exeext conftest.$ac_ext
19430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
19431 $as_echo "$ac_cv_have_isinf" >&6; }
19432 if test "$ac_cv_have_isinf" = "yes"
19433 then
19435 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
19439 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
19440 $as_echo_n "checking for isnan... " >&6; }
19441 if ${ac_cv_have_isnan+:} false; then :
19442 $as_echo_n "(cached) " >&6
19443 else
19444 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19445 /* end confdefs.h. */
19446 #include <math.h>
19448 main ()
19450 float f = 0.0; return isnan(f)
19452 return 0;
19454 _ACEOF
19455 if ac_fn_c_try_link "$LINENO"; then :
19456 ac_cv_have_isnan="yes"
19457 else
19458 ac_cv_have_isnan="no"
19460 rm -f core conftest.err conftest.$ac_objext \
19461 conftest$ac_exeext conftest.$ac_ext
19463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
19464 $as_echo "$ac_cv_have_isnan" >&6; }
19465 if test "$ac_cv_have_isnan" = "yes"
19466 then
19468 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
19472 for ac_func in \
19473 acosh \
19474 acoshf \
19475 asinh \
19476 asinhf \
19477 atanh \
19478 atanhf \
19479 cbrt \
19480 cbrtf \
19481 erf \
19482 erfc \
19483 erfcf \
19484 erff \
19485 exp2 \
19486 exp2f \
19487 expm1 \
19488 expm1f \
19489 fma \
19490 fmaf \
19491 ilogb \
19492 ilogbf \
19493 j0 \
19494 j1 \
19495 jn \
19496 lgamma \
19497 lgammaf \
19498 llrint \
19499 llrintf \
19500 llround \
19501 llroundf \
19502 log1p \
19503 log1pf \
19504 log2 \
19505 log2f \
19506 lrint \
19507 lrintf \
19508 lround \
19509 lroundf \
19510 nearbyint \
19511 nearbyintf \
19512 nexttoward \
19513 nexttowardf \
19514 powl \
19515 remainder \
19516 remainderf \
19517 remquo \
19518 remquof \
19519 rint \
19520 rintf \
19521 round \
19522 roundf \
19523 tgamma \
19524 tgammaf \
19525 trunc \
19526 truncf \
19527 y0 \
19528 y1 \
19531 do :
19532 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
19533 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
19534 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
19535 cat >>confdefs.h <<_ACEOF
19536 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
19537 _ACEOF
19540 done
19542 LIBS="$ac_save_LIBS"
19544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
19545 $as_echo_n "checking for __builtin_popcount... " >&6; }
19546 if ${ac_cv_have___builtin_popcount+:} false; then :
19547 $as_echo_n "(cached) " >&6
19548 else
19549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19550 /* end confdefs.h. */
19553 main ()
19555 return __builtin_popcount(1)
19557 return 0;
19559 _ACEOF
19560 if ac_fn_c_try_link "$LINENO"; then :
19561 ac_cv_have___builtin_popcount="yes"
19562 else
19563 ac_cv_have___builtin_popcount="no"
19565 rm -f core conftest.err conftest.$ac_objext \
19566 conftest$ac_exeext conftest.$ac_ext
19568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
19569 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
19570 if test "$ac_cv_have___builtin_popcount" = "yes"
19571 then
19573 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
19577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
19578 $as_echo_n "checking for __clear_cache... " >&6; }
19579 if ${ac_cv_have___clear_cache+:} false; then :
19580 $as_echo_n "(cached) " >&6
19581 else
19582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19583 /* end confdefs.h. */
19586 main ()
19588 __clear_cache((void*)0, (void*)0); return 0;
19590 return 0;
19592 _ACEOF
19593 if ac_fn_c_try_link "$LINENO"; then :
19594 ac_cv_have___clear_cache="yes"
19595 else
19596 ac_cv_have___clear_cache="no"
19598 rm -f core conftest.err conftest.$ac_objext \
19599 conftest$ac_exeext conftest.$ac_ext
19601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
19602 $as_echo "$ac_cv_have___clear_cache" >&6; }
19603 if test "$ac_cv_have___clear_cache" = "yes"
19604 then
19606 $as_echo "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
19611 case $host_cpu in
19612 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
19613 $as_echo_n "checking whether we need to define __i386__... " >&6; }
19614 if ${ac_cv_cpp_def___i386__+:} false; then :
19615 $as_echo_n "(cached) " >&6
19616 else
19617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19618 /* end confdefs.h. */
19619 #ifndef __i386__
19621 #endif
19622 _ACEOF
19623 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19624 $EGREP "yes" >/dev/null 2>&1; then :
19625 ac_cv_cpp_def___i386__=yes
19626 else
19627 ac_cv_cpp_def___i386__=no
19629 rm -f conftest*
19632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
19633 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
19634 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
19635 CFLAGS="$CFLAGS -D__i386__"
19636 LINTFLAGS="$LINTFLAGS -D__i386__"
19637 fi ;;
19638 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
19639 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
19640 if ${ac_cv_cpp_def___x86_64__+:} false; then :
19641 $as_echo_n "(cached) " >&6
19642 else
19643 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19644 /* end confdefs.h. */
19645 #ifndef __x86_64__
19647 #endif
19648 _ACEOF
19649 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19650 $EGREP "yes" >/dev/null 2>&1; then :
19651 ac_cv_cpp_def___x86_64__=yes
19652 else
19653 ac_cv_cpp_def___x86_64__=no
19655 rm -f conftest*
19658 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
19659 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
19660 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
19661 CFLAGS="$CFLAGS -D__x86_64__"
19662 LINTFLAGS="$LINTFLAGS -D__x86_64__"
19663 fi ;;
19664 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
19665 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
19666 if ${ac_cv_cpp_def___sparc64__+:} false; then :
19667 $as_echo_n "(cached) " >&6
19668 else
19669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19670 /* end confdefs.h. */
19671 #ifndef __sparc64__
19673 #endif
19674 _ACEOF
19675 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19676 $EGREP "yes" >/dev/null 2>&1; then :
19677 ac_cv_cpp_def___sparc64__=yes
19678 else
19679 ac_cv_cpp_def___sparc64__=no
19681 rm -f conftest*
19684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
19685 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
19686 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
19687 CFLAGS="$CFLAGS -D__sparc64__"
19688 LINTFLAGS="$LINTFLAGS -D__sparc64__"
19689 fi ;;
19690 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
19691 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
19692 if ${ac_cv_cpp_def___sparc__+:} false; then :
19693 $as_echo_n "(cached) " >&6
19694 else
19695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19696 /* end confdefs.h. */
19697 #ifndef __sparc__
19699 #endif
19700 _ACEOF
19701 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19702 $EGREP "yes" >/dev/null 2>&1; then :
19703 ac_cv_cpp_def___sparc__=yes
19704 else
19705 ac_cv_cpp_def___sparc__=no
19707 rm -f conftest*
19710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
19711 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
19712 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
19713 CFLAGS="$CFLAGS -D__sparc__"
19714 LINTFLAGS="$LINTFLAGS -D__sparc__"
19715 fi ;;
19716 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
19717 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
19718 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
19719 $as_echo_n "(cached) " >&6
19720 else
19721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19722 /* end confdefs.h. */
19723 #ifndef __powerpc64__
19725 #endif
19726 _ACEOF
19727 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19728 $EGREP "yes" >/dev/null 2>&1; then :
19729 ac_cv_cpp_def___powerpc64__=yes
19730 else
19731 ac_cv_cpp_def___powerpc64__=no
19733 rm -f conftest*
19736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
19737 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
19738 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
19739 CFLAGS="$CFLAGS -D__powerpc64__"
19740 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
19741 fi ;;
19742 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
19743 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
19744 if ${ac_cv_cpp_def___powerpc__+:} false; then :
19745 $as_echo_n "(cached) " >&6
19746 else
19747 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19748 /* end confdefs.h. */
19749 #ifndef __powerpc__
19751 #endif
19752 _ACEOF
19753 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19754 $EGREP "yes" >/dev/null 2>&1; then :
19755 ac_cv_cpp_def___powerpc__=yes
19756 else
19757 ac_cv_cpp_def___powerpc__=no
19759 rm -f conftest*
19762 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
19763 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
19764 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
19765 CFLAGS="$CFLAGS -D__powerpc__"
19766 LINTFLAGS="$LINTFLAGS -D__powerpc__"
19767 fi ;;
19768 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
19769 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
19770 if ${ac_cv_cpp_def___aarch64__+:} false; then :
19771 $as_echo_n "(cached) " >&6
19772 else
19773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19774 /* end confdefs.h. */
19775 #ifndef __aarch64__
19777 #endif
19778 _ACEOF
19779 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19780 $EGREP "yes" >/dev/null 2>&1; then :
19781 ac_cv_cpp_def___aarch64__=yes
19782 else
19783 ac_cv_cpp_def___aarch64__=no
19785 rm -f conftest*
19788 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
19789 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
19790 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
19791 CFLAGS="$CFLAGS -D__aarch64__"
19792 LINTFLAGS="$LINTFLAGS -D__aarch64__"
19793 fi ;;
19794 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
19795 $as_echo_n "checking whether we need to define __arm__... " >&6; }
19796 if ${ac_cv_cpp_def___arm__+:} false; then :
19797 $as_echo_n "(cached) " >&6
19798 else
19799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19800 /* end confdefs.h. */
19801 #ifndef __arm__
19803 #endif
19804 _ACEOF
19805 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19806 $EGREP "yes" >/dev/null 2>&1; then :
19807 ac_cv_cpp_def___arm__=yes
19808 else
19809 ac_cv_cpp_def___arm__=no
19811 rm -f conftest*
19814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
19815 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
19816 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
19817 CFLAGS="$CFLAGS -D__arm__"
19818 LINTFLAGS="$LINTFLAGS -D__arm__"
19819 fi ;;
19820 esac
19822 case $host_vendor in
19823 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
19824 $as_echo_n "checking whether we need to define __sun__... " >&6; }
19825 if ${ac_cv_cpp_def___sun__+:} false; then :
19826 $as_echo_n "(cached) " >&6
19827 else
19828 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
19829 /* end confdefs.h. */
19830 #ifndef __sun__
19832 #endif
19833 _ACEOF
19834 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
19835 $EGREP "yes" >/dev/null 2>&1; then :
19836 ac_cv_cpp_def___sun__=yes
19837 else
19838 ac_cv_cpp_def___sun__=no
19840 rm -f conftest*
19843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
19844 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
19845 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
19846 CFLAGS="$CFLAGS -D__sun__"
19847 LINTFLAGS="$LINTFLAGS -D__sun__"
19848 fi ;;
19849 esac
19855 ac_config_commands="$ac_config_commands include/stamp-h"
19857 $as_echo_n "creating Makefile rules..." >&6
19859 ALL_VARS_RULES="I386_LIBS = $I386_LIBS
19860 OPENGL_LIBS = $OPENGL_LIBS
19861 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
19862 IOKIT_LIBS = $IOKIT_LIBS
19863 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
19864 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
19865 CORESERVICES_LIBS = $CORESERVICES_LIBS
19866 APPKIT_LIBS = $APPKIT_LIBS
19867 SYSTEMCONFIGURATION_LIBS = $SYSTEMCONFIGURATION_LIBS
19868 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
19869 SECURITY_LIBS = $SECURITY_LIBS
19870 COREAUDIO_LIBS = $COREAUDIO_LIBS
19871 OPENAL_LIBS = $OPENAL_LIBS
19872 OPENCL_LIBS = $OPENCL_LIBS
19873 QUICKTIME_LIBS = $QUICKTIME_LIBS
19874 CARBON_LIBS = $CARBON_LIBS
19875 METAL_LIBS = $METAL_LIBS
19876 PTHREAD_LIBS = $PTHREAD_LIBS
19877 X_CFLAGS = $X_CFLAGS
19878 X_PRE_LIBS = $X_PRE_LIBS
19879 X_LIBS = $X_LIBS
19880 X_EXTRA_LIBS = $X_EXTRA_LIBS
19881 PCAP_LIBS = $PCAP_LIBS
19882 XML2_CFLAGS = $XML2_CFLAGS
19883 XML2_LIBS = $XML2_LIBS
19884 XSLT_CFLAGS = $XSLT_CFLAGS
19885 XSLT_LIBS = $XSLT_LIBS
19886 INOTIFY_CFLAGS = $INOTIFY_CFLAGS
19887 INOTIFY_LIBS = $INOTIFY_LIBS
19888 DBUS_CFLAGS = $DBUS_CFLAGS
19889 DBUS_LIBS = $DBUS_LIBS
19890 HAL_CFLAGS = $HAL_CFLAGS
19891 HAL_LIBS = $HAL_LIBS
19892 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
19893 GNUTLS_LIBS = $GNUTLS_LIBS
19894 SANE_CFLAGS = $SANE_CFLAGS
19895 SANE_LIBS = $SANE_LIBS
19896 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
19897 GPHOTO2_LIBS = $GPHOTO2_LIBS
19898 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
19899 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
19900 RESOLV_LIBS = $RESOLV_LIBS
19901 LCMS2_CFLAGS = $LCMS2_CFLAGS
19902 LCMS2_LIBS = $LCMS2_LIBS
19903 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
19904 FREETYPE_LIBS = $FREETYPE_LIBS
19905 Z_CFLAGS = $Z_CFLAGS
19906 Z_LIBS = $Z_LIBS
19907 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
19908 PULSE_CFLAGS = $PULSE_CFLAGS
19909 PULSE_LIBS = $PULSE_LIBS
19910 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
19911 GSTREAMER_LIBS = $GSTREAMER_LIBS
19912 ALSA_LIBS = $ALSA_LIBS
19913 OSS4_CFLAGS = $OSS4_CFLAGS
19914 OSS4_LIBS = $OSS4_LIBS
19915 UDEV_CFLAGS = $UDEV_CFLAGS
19916 UDEV_LIBS = $UDEV_LIBS
19917 UNWIND_CFLAGS = $UNWIND_CFLAGS
19918 UNWIND_LIBS = $UNWIND_LIBS
19919 SDL2_CFLAGS = $SDL2_CFLAGS
19920 SDL2_LIBS = $SDL2_LIBS
19921 FAUDIO_CFLAGS = $FAUDIO_CFLAGS
19922 FAUDIO_LIBS = $FAUDIO_LIBS
19923 CAPI20_CFLAGS = $CAPI20_CFLAGS
19924 CAPI20_LIBS = $CAPI20_LIBS
19925 CUPS_CFLAGS = $CUPS_CFLAGS
19926 CUPS_LIBS = $CUPS_LIBS
19927 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
19928 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
19929 KRB5_CFLAGS = $KRB5_CFLAGS
19930 KRB5_LIBS = $KRB5_LIBS
19931 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
19932 GSSAPI_LIBS = $GSSAPI_LIBS
19933 JPEG_CFLAGS = $JPEG_CFLAGS
19934 JPEG_LIBS = $JPEG_LIBS
19935 PNG_CFLAGS = $PNG_CFLAGS
19936 PNG_LIBS = $PNG_LIBS
19937 TIFF_CFLAGS = $TIFF_CFLAGS
19938 TIFF_LIBS = $TIFF_LIBS
19939 MPG123_CFLAGS = $MPG123_CFLAGS
19940 MPG123_LIBS = $MPG123_LIBS
19941 KSTAT_LIBS = $KSTAT_LIBS
19942 PROCSTAT_LIBS = $PROCSTAT_LIBS
19943 NETAPI_CFLAGS = $NETAPI_CFLAGS
19944 NETAPI_LIBS = $NETAPI_LIBS
19945 VKD3D_CFLAGS = $VKD3D_CFLAGS
19946 VKD3D_LIBS = $VKD3D_LIBS
19947 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
19948 DL_LIBS = $DL_LIBS
19949 POLL_LIBS = $POLL_LIBS
19950 RT_LIBS = $RT_LIBS
19951 LDAP_CFLAGS = $LDAP_CFLAGS
19952 LDAP_LIBS = $LDAP_LIBS
19957 wine_fn_append_rule "
19958 # Rules automatically generated by configure
19960 .INIT: Makefile
19961 .MAKEFILEDEPS:
19962 all: Makefile
19963 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
19964 @./config.status Make.tmp Makefile
19965 depend: \$(MAKEDEP) dummy
19966 \$(MAKEDEP)"
19968 ac_config_links="$ac_config_links wine:tools/winewrapper"
19969 wine_fn_config_symlink wine
19970 if test "x$enable_win64" != xno -o -n "$with_wine64"; then
19971 ac_config_links="$ac_config_links wine64:tools/winewrapper"
19972 wine_fn_config_symlink wine64
19975 wine_fn_config_makefile dlls/acledit enable_acledit
19976 wine_fn_config_makefile dlls/aclui enable_aclui
19977 wine_fn_config_makefile dlls/activeds enable_activeds
19978 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
19979 wine_fn_config_makefile dlls/adsiid enable_adsiid
19980 wine_fn_config_makefile dlls/adsldp enable_adsldp
19981 wine_fn_config_makefile dlls/adsldp/tests enable_tests
19982 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
19983 wine_fn_config_makefile dlls/advapi32 enable_advapi32
19984 wine_fn_config_makefile dlls/advapi32/tests enable_tests
19985 wine_fn_config_makefile dlls/advpack enable_advpack
19986 wine_fn_config_makefile dlls/advpack/tests enable_tests
19987 wine_fn_config_makefile dlls/amsi enable_amsi
19988 wine_fn_config_makefile dlls/amstream enable_amstream
19989 wine_fn_config_makefile dlls/amstream/tests enable_tests
19990 wine_fn_config_makefile dlls/api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
19991 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
19992 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
19993 wine_fn_config_makefile dlls/api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
19994 wine_fn_config_makefile dlls/api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
19995 wine_fn_config_makefile dlls/api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
19996 wine_fn_config_makefile dlls/api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
19997 wine_fn_config_makefile dlls/api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
19998 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
19999 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
20000 wine_fn_config_makefile dlls/api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
20001 wine_fn_config_makefile dlls/api-ms-win-core-comm-l1-1-0 enable_api_ms_win_core_comm_l1_1_0
20002 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
20003 wine_fn_config_makefile dlls/api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
20004 wine_fn_config_makefile dlls/api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
20005 wine_fn_config_makefile dlls/api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
20006 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
20007 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
20008 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
20009 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
20010 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
20011 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
20012 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
20013 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
20014 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
20015 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
20016 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
20017 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
20018 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
20019 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
20020 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
20021 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
20022 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
20023 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
20024 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
20025 wine_fn_config_makefile dlls/api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
20026 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
20027 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
20028 wine_fn_config_makefile dlls/api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
20029 wine_fn_config_makefile dlls/api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
20030 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
20031 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
20032 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
20033 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
20034 wine_fn_config_makefile dlls/api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
20035 wine_fn_config_makefile dlls/api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
20036 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
20037 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
20038 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
20039 wine_fn_config_makefile dlls/api-ms-win-core-largeinteger-l1-1-0 enable_api_ms_win_core_largeinteger_l1_1_0
20040 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
20041 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
20042 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
20043 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
20044 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
20045 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
20046 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
20047 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
20048 wine_fn_config_makefile dlls/api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
20049 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
20050 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
20051 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
20052 wine_fn_config_makefile dlls/api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
20053 wine_fn_config_makefile dlls/api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
20054 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
20055 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
20056 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
20057 wine_fn_config_makefile dlls/api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
20058 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
20059 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
20060 wine_fn_config_makefile dlls/api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
20061 wine_fn_config_makefile dlls/api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
20062 wine_fn_config_makefile dlls/api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
20063 wine_fn_config_makefile dlls/api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
20064 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
20065 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
20066 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
20067 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
20068 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
20069 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-3 enable_api_ms_win_core_processthreads_l1_1_3
20070 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
20071 wine_fn_config_makefile dlls/api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
20072 wine_fn_config_makefile dlls/api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
20073 wine_fn_config_makefile dlls/api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
20074 wine_fn_config_makefile dlls/api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
20075 wine_fn_config_makefile dlls/api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
20076 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
20077 wine_fn_config_makefile dlls/api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
20078 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
20079 wine_fn_config_makefile dlls/api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
20080 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
20081 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
20082 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
20083 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
20084 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
20085 wine_fn_config_makefile dlls/api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
20086 wine_fn_config_makefile dlls/api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
20087 wine_fn_config_makefile dlls/api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
20088 wine_fn_config_makefile dlls/api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
20089 wine_fn_config_makefile dlls/api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
20090 wine_fn_config_makefile dlls/api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
20091 wine_fn_config_makefile dlls/api-ms-win-core-stringloader-l1-1-1 enable_api_ms_win_core_stringloader_l1_1_1
20092 wine_fn_config_makefile dlls/api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
20093 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
20094 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
20095 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
20096 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
20097 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
20098 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
20099 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
20100 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
20101 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
20102 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
20103 wine_fn_config_makefile dlls/api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
20104 wine_fn_config_makefile dlls/api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
20105 wine_fn_config_makefile dlls/api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
20106 wine_fn_config_makefile dlls/api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
20107 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
20108 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
20109 wine_fn_config_makefile dlls/api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
20110 wine_fn_config_makefile dlls/api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
20111 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
20112 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
20113 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
20114 wine_fn_config_makefile dlls/api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
20115 wine_fn_config_makefile dlls/api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
20116 wine_fn_config_makefile dlls/api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
20117 wine_fn_config_makefile dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
20118 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
20119 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-1 enable_api_ms_win_core_winrt_string_l1_1_1
20120 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
20121 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
20122 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
20123 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
20124 wine_fn_config_makefile dlls/api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
20125 wine_fn_config_makefile dlls/api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
20126 wine_fn_config_makefile dlls/api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
20127 wine_fn_config_makefile dlls/api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
20128 wine_fn_config_makefile dlls/api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
20129 wine_fn_config_makefile dlls/api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
20130 wine_fn_config_makefile dlls/api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
20131 wine_fn_config_makefile dlls/api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
20132 wine_fn_config_makefile dlls/api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
20133 wine_fn_config_makefile dlls/api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
20134 wine_fn_config_makefile dlls/api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
20135 wine_fn_config_makefile dlls/api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
20136 wine_fn_config_makefile dlls/api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
20137 wine_fn_config_makefile dlls/api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
20138 wine_fn_config_makefile dlls/api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
20139 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-0 enable_api_ms_win_devices_config_l1_1_0
20140 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
20141 wine_fn_config_makefile dlls/api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
20142 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
20143 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
20144 wine_fn_config_makefile dlls/api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
20145 wine_fn_config_makefile dlls/api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
20146 wine_fn_config_makefile dlls/api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
20147 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
20148 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
20149 wine_fn_config_makefile dlls/api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
20150 wine_fn_config_makefile dlls/api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
20151 wine_fn_config_makefile dlls/api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
20152 wine_fn_config_makefile dlls/api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
20153 wine_fn_config_makefile dlls/api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
20154 wine_fn_config_makefile dlls/api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
20155 wine_fn_config_makefile dlls/api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
20156 wine_fn_config_makefile dlls/api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
20157 wine_fn_config_makefile dlls/api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
20158 wine_fn_config_makefile dlls/api-ms-win-gdi-dpiinfo-l1-1-0 enable_api_ms_win_gdi_dpiinfo_l1_1_0
20159 wine_fn_config_makefile dlls/api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
20160 wine_fn_config_makefile dlls/api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
20161 wine_fn_config_makefile dlls/api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
20162 wine_fn_config_makefile dlls/api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
20163 wine_fn_config_makefile dlls/api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
20164 wine_fn_config_makefile dlls/api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
20165 wine_fn_config_makefile dlls/api-ms-win-ntuser-sysparams-l1-1-0 enable_api_ms_win_ntuser_sysparams_l1_1_0
20166 wine_fn_config_makefile dlls/api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
20167 wine_fn_config_makefile dlls/api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
20168 wine_fn_config_makefile dlls/api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
20169 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-draw-l1-1-0 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
20170 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
20171 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-4 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
20172 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-window-l1-1-0 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
20173 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-winevent-l1-1-0 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
20174 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
20175 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-3 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
20176 wine_fn_config_makefile dlls/api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
20177 wine_fn_config_makefile dlls/api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
20178 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
20179 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
20180 wine_fn_config_makefile dlls/api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
20181 wine_fn_config_makefile dlls/api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
20182 wine_fn_config_makefile dlls/api-ms-win-security-cryptoapi-l1-1-0 enable_api_ms_win_security_cryptoapi_l1_1_0
20183 wine_fn_config_makefile dlls/api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
20184 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
20185 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
20186 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
20187 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
20188 wine_fn_config_makefile dlls/api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
20189 wine_fn_config_makefile dlls/api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
20190 wine_fn_config_makefile dlls/api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
20191 wine_fn_config_makefile dlls/api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
20192 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
20193 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
20194 wine_fn_config_makefile dlls/api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
20195 wine_fn_config_makefile dlls/api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
20196 wine_fn_config_makefile dlls/api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
20197 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
20198 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
20199 wine_fn_config_makefile dlls/api-ms-win-shcore-obsolete-l1-1-0 enable_api_ms_win_shcore_obsolete_l1_1_0
20200 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
20201 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-l1-1-0 enable_api_ms_win_shcore_stream_l1_1_0
20202 wine_fn_config_makefile dlls/api-ms-win-shcore-thread-l1-1-0 enable_api_ms_win_shcore_thread_l1_1_0
20203 wine_fn_config_makefile dlls/api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
20204 wine_fn_config_makefile dlls/api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
20205 wine_fn_config_makefile dlls/apphelp enable_apphelp
20206 wine_fn_config_makefile dlls/apphelp/tests enable_tests
20207 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
20208 wine_fn_config_makefile dlls/atl enable_atl
20209 wine_fn_config_makefile dlls/atl/tests enable_tests
20210 wine_fn_config_makefile dlls/atl100 enable_atl100
20211 wine_fn_config_makefile dlls/atl100/tests enable_tests
20212 wine_fn_config_makefile dlls/atl110 enable_atl110
20213 wine_fn_config_makefile dlls/atl80 enable_atl80
20214 wine_fn_config_makefile dlls/atl80/tests enable_tests
20215 wine_fn_config_makefile dlls/atl90 enable_atl90
20216 wine_fn_config_makefile dlls/atlthunk enable_atlthunk
20217 wine_fn_config_makefile dlls/atlthunk/tests enable_tests
20218 wine_fn_config_makefile dlls/atmlib enable_atmlib
20219 wine_fn_config_makefile dlls/authz enable_authz
20220 wine_fn_config_makefile dlls/avicap32 enable_avicap32
20221 wine_fn_config_makefile dlls/avifil32 enable_avifil32
20222 wine_fn_config_makefile dlls/avifil32/tests enable_tests
20223 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
20224 wine_fn_config_makefile dlls/avrt enable_avrt
20225 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
20226 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
20227 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
20228 wine_fn_config_makefile dlls/browseui enable_browseui
20229 wine_fn_config_makefile dlls/browseui/tests enable_tests
20230 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
20231 wine_fn_config_makefile dlls/cabinet enable_cabinet
20232 wine_fn_config_makefile dlls/cabinet/tests enable_tests
20233 wine_fn_config_makefile dlls/capi2032 enable_capi2032
20234 wine_fn_config_makefile dlls/cards enable_cards
20235 wine_fn_config_makefile dlls/cdosys enable_cdosys
20236 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
20237 wine_fn_config_makefile dlls/clusapi enable_clusapi
20238 wine_fn_config_makefile dlls/combase enable_combase
20239 wine_fn_config_makefile dlls/combase/tests enable_tests
20240 wine_fn_config_makefile dlls/comcat enable_comcat
20241 wine_fn_config_makefile dlls/comcat/tests enable_tests
20242 wine_fn_config_makefile dlls/comctl32 enable_comctl32
20243 wine_fn_config_makefile dlls/comctl32/tests enable_tests
20244 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
20245 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
20246 wine_fn_config_makefile dlls/comm.drv16 enable_win16
20247 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
20248 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
20249 wine_fn_config_makefile dlls/compstui enable_compstui
20250 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
20251 wine_fn_config_makefile dlls/comsvcs/tests enable_tests
20252 wine_fn_config_makefile dlls/concrt140 enable_concrt140
20253 wine_fn_config_makefile dlls/connect enable_connect
20254 wine_fn_config_makefile dlls/credui enable_credui
20255 wine_fn_config_makefile dlls/credui/tests enable_tests
20256 wine_fn_config_makefile dlls/crtdll enable_crtdll
20257 wine_fn_config_makefile dlls/crypt32 enable_crypt32
20258 wine_fn_config_makefile dlls/crypt32/tests enable_tests
20259 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
20260 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
20261 wine_fn_config_makefile dlls/cryptext enable_cryptext
20262 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
20263 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
20264 wine_fn_config_makefile dlls/cryptui enable_cryptui
20265 wine_fn_config_makefile dlls/cryptui/tests enable_tests
20266 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
20267 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
20268 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
20269 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
20270 wine_fn_config_makefile dlls/d2d1 enable_d2d1
20271 wine_fn_config_makefile dlls/d2d1/tests enable_tests
20272 wine_fn_config_makefile dlls/d3d10 enable_d3d10
20273 wine_fn_config_makefile dlls/d3d10/tests enable_tests
20274 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
20275 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
20276 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
20277 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
20278 wine_fn_config_makefile dlls/d3d11 enable_d3d11
20279 wine_fn_config_makefile dlls/d3d11/tests enable_tests
20280 wine_fn_config_makefile dlls/d3d12 enable_d3d12
20281 wine_fn_config_makefile dlls/d3d12/tests enable_tests
20282 wine_fn_config_makefile dlls/d3d8 enable_d3d8
20283 wine_fn_config_makefile dlls/d3d8/tests enable_tests
20284 wine_fn_config_makefile dlls/d3d9 enable_d3d9
20285 wine_fn_config_makefile dlls/d3d9/tests enable_tests
20286 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
20287 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
20288 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
20289 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
20290 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
20291 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
20292 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
20293 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
20294 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
20295 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
20296 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
20297 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
20298 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
20299 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
20300 wine_fn_config_makefile dlls/d3dcompiler_47/tests enable_tests
20301 wine_fn_config_makefile dlls/d3dim enable_d3dim
20302 wine_fn_config_makefile dlls/d3drm enable_d3drm
20303 wine_fn_config_makefile dlls/d3drm/tests enable_tests
20304 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
20305 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
20306 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
20307 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
20308 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
20309 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
20310 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
20311 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
20312 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
20313 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
20314 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
20315 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
20316 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
20317 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
20318 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
20319 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
20320 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
20321 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
20322 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
20323 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
20324 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
20325 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
20326 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
20327 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
20328 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
20329 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
20330 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
20331 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
20332 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
20333 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
20334 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
20335 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
20336 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
20337 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
20338 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
20339 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
20340 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
20341 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
20342 wine_fn_config_makefile dlls/davclnt enable_davclnt
20343 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
20344 wine_fn_config_makefile dlls/dbgeng/tests enable_tests
20345 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
20346 wine_fn_config_makefile dlls/dbghelp/tests enable_tests
20347 wine_fn_config_makefile dlls/dciman32 enable_dciman32
20348 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
20349 wine_fn_config_makefile dlls/ddraw enable_ddraw
20350 wine_fn_config_makefile dlls/ddraw/tests enable_tests
20351 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
20352 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
20353 wine_fn_config_makefile dlls/devenum enable_devenum
20354 wine_fn_config_makefile dlls/devenum/tests enable_tests
20355 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
20356 wine_fn_config_makefile dlls/dhcpcsvc/tests enable_tests
20357 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
20358 wine_fn_config_makefile dlls/difxapi enable_difxapi
20359 wine_fn_config_makefile dlls/dinput enable_dinput
20360 wine_fn_config_makefile dlls/dinput/tests enable_tests
20361 wine_fn_config_makefile dlls/dinput8 enable_dinput8
20362 wine_fn_config_makefile dlls/dinput8/tests enable_tests
20363 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
20364 wine_fn_config_makefile dlls/dispex enable_dispex
20365 wine_fn_config_makefile dlls/dispex/tests enable_tests
20366 wine_fn_config_makefile dlls/display.drv16 enable_win16
20367 wine_fn_config_makefile dlls/dmband enable_dmband
20368 wine_fn_config_makefile dlls/dmband/tests enable_tests
20369 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
20370 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
20371 wine_fn_config_makefile dlls/dmime enable_dmime
20372 wine_fn_config_makefile dlls/dmime/tests enable_tests
20373 wine_fn_config_makefile dlls/dmloader enable_dmloader
20374 wine_fn_config_makefile dlls/dmloader/tests enable_tests
20375 wine_fn_config_makefile dlls/dmoguids enable_dmoguids
20376 wine_fn_config_makefile dlls/dmscript enable_dmscript
20377 wine_fn_config_makefile dlls/dmscript/tests enable_tests
20378 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
20379 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
20380 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
20381 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
20382 wine_fn_config_makefile dlls/dmusic enable_dmusic
20383 wine_fn_config_makefile dlls/dmusic/tests enable_tests
20384 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
20385 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
20386 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
20387 wine_fn_config_makefile dlls/dplay enable_dplay
20388 wine_fn_config_makefile dlls/dplayx enable_dplayx
20389 wine_fn_config_makefile dlls/dplayx/tests enable_tests
20390 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
20391 wine_fn_config_makefile dlls/dpnet enable_dpnet
20392 wine_fn_config_makefile dlls/dpnet/tests enable_tests
20393 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
20394 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
20395 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
20396 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
20397 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
20398 wine_fn_config_makefile dlls/drmclien enable_drmclien
20399 wine_fn_config_makefile dlls/dsdmo enable_dsdmo
20400 wine_fn_config_makefile dlls/dsound enable_dsound
20401 wine_fn_config_makefile dlls/dsound/tests enable_tests
20402 wine_fn_config_makefile dlls/dsquery enable_dsquery
20403 wine_fn_config_makefile dlls/dssenh enable_dssenh
20404 wine_fn_config_makefile dlls/dssenh/tests enable_tests
20405 wine_fn_config_makefile dlls/dswave enable_dswave
20406 wine_fn_config_makefile dlls/dswave/tests enable_tests
20407 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
20408 wine_fn_config_makefile dlls/dwrite enable_dwrite
20409 wine_fn_config_makefile dlls/dwrite/tests enable_tests
20410 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
20411 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
20412 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
20413 wine_fn_config_makefile dlls/dxerr8 enable_dxerr8
20414 wine_fn_config_makefile dlls/dxerr9 enable_dxerr9
20415 wine_fn_config_makefile dlls/dxgi enable_dxgi
20416 wine_fn_config_makefile dlls/dxgi/tests enable_tests
20417 wine_fn_config_makefile dlls/dxguid enable_dxguid
20418 wine_fn_config_makefile dlls/dxva2 enable_dxva2
20419 wine_fn_config_makefile dlls/esent enable_esent
20420 wine_fn_config_makefile dlls/evr enable_evr
20421 wine_fn_config_makefile dlls/evr/tests enable_tests
20422 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
20423 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
20424 wine_fn_config_makefile dlls/ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
20425 wine_fn_config_makefile dlls/ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
20426 wine_fn_config_makefile dlls/ext-ms-win-dwmapi-ext-l1-1-0 enable_ext_ms_win_dwmapi_ext_l1_1_0
20427 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-0 enable_ext_ms_win_gdi_dc_create_l1_1_0
20428 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
20429 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
20430 wine_fn_config_makefile dlls/ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
20431 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-0 enable_ext_ms_win_gdi_draw_l1_1_0
20432 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
20433 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-0 enable_ext_ms_win_gdi_font_l1_1_0
20434 wine_fn_config_makefile dlls/ext-ms-win-gdi-font-l1-1-1 enable_ext_ms_win_gdi_font_l1_1_1
20435 wine_fn_config_makefile dlls/ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
20436 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
20437 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
20438 wine_fn_config_makefile dlls/ext-ms-win-ntuser-dialogbox-l1-1-0 enable_ext_ms_win_ntuser_dialogbox_l1_1_0
20439 wine_fn_config_makefile dlls/ext-ms-win-ntuser-draw-l1-1-0 enable_ext_ms_win_ntuser_draw_l1_1_0
20440 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-1-0 enable_ext_ms_win_ntuser_gui_l1_1_0
20441 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-3-0 enable_ext_ms_win_ntuser_gui_l1_3_0
20442 wine_fn_config_makefile dlls/ext-ms-win-ntuser-keyboard-l1-3-0 enable_ext_ms_win_ntuser_keyboard_l1_3_0
20443 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-0 enable_ext_ms_win_ntuser_message_l1_1_0
20444 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
20445 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-1-0 enable_ext_ms_win_ntuser_misc_l1_1_0
20446 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-2-0 enable_ext_ms_win_ntuser_misc_l1_2_0
20447 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-5-1 enable_ext_ms_win_ntuser_misc_l1_5_1
20448 wine_fn_config_makefile dlls/ext-ms-win-ntuser-mouse-l1-1-0 enable_ext_ms_win_ntuser_mouse_l1_1_0
20449 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
20450 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-3-1 enable_ext_ms_win_ntuser_private_l1_3_1
20451 wine_fn_config_makefile dlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
20452 wine_fn_config_makefile dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
20453 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-0 enable_ext_ms_win_ntuser_window_l1_1_0
20454 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
20455 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-4 enable_ext_ms_win_ntuser_window_l1_1_4
20456 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-0 enable_ext_ms_win_ntuser_windowclass_l1_1_0
20457 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
20458 wine_fn_config_makefile dlls/ext-ms-win-oleacc-l1-1-0 enable_ext_ms_win_oleacc_l1_1_0
20459 wine_fn_config_makefile dlls/ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
20460 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-devcaps-l1-1-0 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
20461 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
20462 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
20463 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-cursor-l1-1-0 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
20464 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
20465 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
20466 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-2-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
20467 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-rawinput-l1-1-0 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
20468 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-syscolors-l1-1-0 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
20469 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
20470 wine_fn_config_makefile dlls/ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
20471 wine_fn_config_makefile dlls/ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
20472 wine_fn_config_makefile dlls/ext-ms-win-shell-comctl32-init-l1-1-0 enable_ext_ms_win_shell_comctl32_init_l1_1_0
20473 wine_fn_config_makefile dlls/ext-ms-win-shell-comdlg32-l1-1-0 enable_ext_ms_win_shell_comdlg32_l1_1_0
20474 wine_fn_config_makefile dlls/ext-ms-win-shell-shell32-l1-2-0 enable_ext_ms_win_shell_shell32_l1_2_0
20475 wine_fn_config_makefile dlls/ext-ms-win-uxtheme-themes-l1-1-0 enable_ext_ms_win_uxtheme_themes_l1_1_0
20476 wine_fn_config_makefile dlls/faultrep enable_faultrep
20477 wine_fn_config_makefile dlls/faultrep/tests enable_tests
20478 wine_fn_config_makefile dlls/feclient enable_feclient
20479 wine_fn_config_makefile dlls/fltlib enable_fltlib
20480 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
20481 wine_fn_config_makefile dlls/fntcache enable_fntcache
20482 wine_fn_config_makefile dlls/fontsub enable_fontsub
20483 wine_fn_config_makefile dlls/fusion enable_fusion
20484 wine_fn_config_makefile dlls/fusion/tests enable_tests
20485 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
20486 wine_fn_config_makefile dlls/gameux enable_gameux
20487 wine_fn_config_makefile dlls/gameux/tests enable_tests
20488 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
20489 wine_fn_config_makefile dlls/gdi32 enable_gdi32
20490 wine_fn_config_makefile dlls/gdi32/tests enable_tests
20491 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
20492 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
20493 wine_fn_config_makefile dlls/glu32 enable_glu32
20494 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
20495 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
20496 wine_fn_config_makefile dlls/hal enable_hal
20497 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
20498 wine_fn_config_makefile dlls/hid enable_hid
20499 wine_fn_config_makefile dlls/hid/tests enable_tests
20500 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
20501 wine_fn_config_makefile dlls/hlink enable_hlink
20502 wine_fn_config_makefile dlls/hlink/tests enable_tests
20503 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
20504 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
20505 wine_fn_config_makefile dlls/http.sys enable_http_sys
20506 wine_fn_config_makefile dlls/httpapi enable_httpapi
20507 wine_fn_config_makefile dlls/httpapi/tests enable_tests
20508 wine_fn_config_makefile dlls/iccvid enable_iccvid
20509 wine_fn_config_makefile dlls/icmp enable_icmp
20510 wine_fn_config_makefile dlls/ieframe enable_ieframe
20511 wine_fn_config_makefile dlls/ieframe/tests enable_tests
20512 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
20513 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
20514 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
20515 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
20516 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
20517 wine_fn_config_makefile dlls/imm.dll16 enable_win16
20518 wine_fn_config_makefile dlls/imm32 enable_imm32
20519 wine_fn_config_makefile dlls/imm32/tests enable_tests
20520 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
20521 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
20522 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
20523 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
20524 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
20525 wine_fn_config_makefile dlls/infosoft enable_infosoft
20526 wine_fn_config_makefile dlls/infosoft/tests enable_tests
20527 wine_fn_config_makefile dlls/initpki enable_initpki
20528 wine_fn_config_makefile dlls/inkobj enable_inkobj
20529 wine_fn_config_makefile dlls/inseng enable_inseng
20530 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
20531 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
20532 wine_fn_config_makefile dlls/iprop enable_iprop
20533 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
20534 wine_fn_config_makefile dlls/itircl enable_itircl
20535 wine_fn_config_makefile dlls/itss enable_itss
20536 wine_fn_config_makefile dlls/itss/tests enable_tests
20537 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
20538 wine_fn_config_makefile dlls/jscript enable_jscript
20539 wine_fn_config_makefile dlls/jscript/tests enable_tests
20540 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
20541 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
20542 wine_fn_config_makefile dlls/kerberos enable_kerberos
20543 wine_fn_config_makefile dlls/kernel32 enable_kernel32
20544 wine_fn_config_makefile dlls/kernel32/tests enable_tests
20545 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
20546 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
20547 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
20548 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
20549 wine_fn_config_makefile dlls/ksecdd.sys enable_ksecdd_sys
20550 wine_fn_config_makefile dlls/ksuser enable_ksuser
20551 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
20552 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
20553 wine_fn_config_makefile dlls/loadperf enable_loadperf
20554 wine_fn_config_makefile dlls/localspl enable_localspl
20555 wine_fn_config_makefile dlls/localspl/tests enable_tests
20556 wine_fn_config_makefile dlls/localui enable_localui
20557 wine_fn_config_makefile dlls/localui/tests enable_tests
20558 wine_fn_config_makefile dlls/lz32 enable_lz32
20559 wine_fn_config_makefile dlls/lz32/tests enable_tests
20560 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
20561 wine_fn_config_makefile dlls/mapi32 enable_mapi32
20562 wine_fn_config_makefile dlls/mapi32/tests enable_tests
20563 wine_fn_config_makefile dlls/mapistub enable_mapistub
20564 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
20565 wine_fn_config_makefile dlls/mcicda enable_mcicda
20566 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
20567 wine_fn_config_makefile dlls/mciseq enable_mciseq
20568 wine_fn_config_makefile dlls/mciwave enable_mciwave
20569 wine_fn_config_makefile dlls/mf enable_mf
20570 wine_fn_config_makefile dlls/mf/tests enable_tests
20571 wine_fn_config_makefile dlls/mf3216 enable_mf3216
20572 wine_fn_config_makefile dlls/mferror enable_mferror
20573 wine_fn_config_makefile dlls/mfmediaengine enable_mfmediaengine
20574 wine_fn_config_makefile dlls/mfmediaengine/tests enable_tests
20575 wine_fn_config_makefile dlls/mfplat enable_mfplat
20576 wine_fn_config_makefile dlls/mfplat/tests enable_tests
20577 wine_fn_config_makefile dlls/mfplay enable_mfplay
20578 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
20579 wine_fn_config_makefile dlls/mfreadwrite/tests enable_tests
20580 wine_fn_config_makefile dlls/mfuuid enable_mfuuid
20581 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
20582 wine_fn_config_makefile dlls/midimap enable_midimap
20583 wine_fn_config_makefile dlls/mlang enable_mlang
20584 wine_fn_config_makefile dlls/mlang/tests enable_tests
20585 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
20586 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
20587 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
20588 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
20589 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
20590 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
20591 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
20592 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
20593 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
20594 wine_fn_config_makefile dlls/mp3dmod enable_mp3dmod
20595 wine_fn_config_makefile dlls/mp3dmod/tests enable_tests
20596 wine_fn_config_makefile dlls/mpr enable_mpr
20597 wine_fn_config_makefile dlls/mpr/tests enable_tests
20598 wine_fn_config_makefile dlls/mprapi enable_mprapi
20599 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
20600 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
20601 wine_fn_config_makefile dlls/msacm32 enable_msacm32
20602 wine_fn_config_makefile dlls/msacm32/tests enable_tests
20603 wine_fn_config_makefile dlls/msado15 enable_msado15
20604 wine_fn_config_makefile dlls/msado15/tests enable_tests
20605 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
20606 wine_fn_config_makefile dlls/msasn1 enable_msasn1
20607 wine_fn_config_makefile dlls/mscat32 enable_mscat32
20608 wine_fn_config_makefile dlls/mscms enable_mscms
20609 wine_fn_config_makefile dlls/mscms/tests enable_tests
20610 wine_fn_config_makefile dlls/mscoree enable_mscoree
20611 wine_fn_config_makefile dlls/mscoree/tests enable_tests
20612 wine_fn_config_makefile dlls/mscorwks enable_mscorwks
20613 wine_fn_config_makefile dlls/msctf enable_msctf
20614 wine_fn_config_makefile dlls/msctf/tests enable_tests
20615 wine_fn_config_makefile dlls/msctfp enable_msctfp
20616 wine_fn_config_makefile dlls/msdaps enable_msdaps
20617 wine_fn_config_makefile dlls/msdelta enable_msdelta
20618 wine_fn_config_makefile dlls/msdmo enable_msdmo
20619 wine_fn_config_makefile dlls/msdmo/tests enable_tests
20620 wine_fn_config_makefile dlls/msdrm enable_msdrm
20621 wine_fn_config_makefile dlls/msftedit enable_msftedit
20622 wine_fn_config_makefile dlls/msftedit/tests enable_tests
20623 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
20624 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
20625 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
20626 wine_fn_config_makefile dlls/mshtml enable_mshtml
20627 wine_fn_config_makefile dlls/mshtml/tests enable_tests
20628 wine_fn_config_makefile dlls/msi enable_msi
20629 wine_fn_config_makefile dlls/msi/tests enable_tests
20630 wine_fn_config_makefile dlls/msident enable_msident
20631 wine_fn_config_makefile dlls/msimg32 enable_msimg32
20632 wine_fn_config_makefile dlls/msimsg enable_msimsg
20633 wine_fn_config_makefile dlls/msimtf enable_msimtf
20634 wine_fn_config_makefile dlls/msisip enable_msisip
20635 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
20636 wine_fn_config_makefile dlls/msls31 enable_msls31
20637 wine_fn_config_makefile dlls/msnet32 enable_msnet32
20638 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
20639 wine_fn_config_makefile dlls/mspatcha/tests enable_tests
20640 wine_fn_config_makefile dlls/msports enable_msports
20641 wine_fn_config_makefile dlls/msrle32 enable_msrle32
20642 wine_fn_config_makefile dlls/msrle32/tests enable_tests
20643 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
20644 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
20645 wine_fn_config_makefile dlls/mssign32 enable_mssign32
20646 wine_fn_config_makefile dlls/mssip32 enable_mssip32
20647 wine_fn_config_makefile dlls/mstask enable_mstask
20648 wine_fn_config_makefile dlls/mstask/tests enable_tests
20649 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
20650 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
20651 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
20652 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
20653 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
20654 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
20655 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
20656 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
20657 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
20658 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
20659 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
20660 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
20661 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
20662 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
20663 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
20664 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
20665 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
20666 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
20667 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
20668 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
20669 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
20670 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
20671 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
20672 wine_fn_config_makefile dlls/msvcr110/tests enable_tests
20673 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
20674 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
20675 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
20676 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
20677 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
20678 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
20679 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
20680 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
20681 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
20682 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
20683 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
20684 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
20685 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
20686 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
20687 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
20688 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
20689 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
20690 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
20691 wine_fn_config_makefile dlls/mswsock enable_mswsock
20692 wine_fn_config_makefile dlls/msxml enable_msxml
20693 wine_fn_config_makefile dlls/msxml2 enable_msxml2
20694 wine_fn_config_makefile dlls/msxml3 enable_msxml3
20695 wine_fn_config_makefile dlls/msxml3/tests enable_tests
20696 wine_fn_config_makefile dlls/msxml4 enable_msxml4
20697 wine_fn_config_makefile dlls/msxml6 enable_msxml6
20698 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
20699 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
20700 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
20701 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
20702 wine_fn_config_makefile dlls/netapi32 enable_netapi32
20703 wine_fn_config_makefile dlls/netapi32/tests enable_tests
20704 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
20705 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
20706 wine_fn_config_makefile dlls/netprofm enable_netprofm
20707 wine_fn_config_makefile dlls/netprofm/tests enable_tests
20708 wine_fn_config_makefile dlls/newdev enable_newdev
20709 wine_fn_config_makefile dlls/ninput enable_ninput
20710 wine_fn_config_makefile dlls/ninput/tests enable_tests
20711 wine_fn_config_makefile dlls/normaliz enable_normaliz
20712 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
20713 wine_fn_config_makefile dlls/npptools enable_npptools
20714 wine_fn_config_makefile dlls/ntdll enable_ntdll
20715 wine_fn_config_makefile dlls/ntdll/tests enable_tests
20716 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
20717 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
20718 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
20719 wine_fn_config_makefile dlls/ntoskrnl.exe/tests enable_tests
20720 wine_fn_config_makefile dlls/ntprint enable_ntprint
20721 wine_fn_config_makefile dlls/ntprint/tests enable_tests
20722 wine_fn_config_makefile dlls/objsel enable_objsel
20723 wine_fn_config_makefile dlls/odbc32 enable_odbc32
20724 wine_fn_config_makefile dlls/odbcbcp enable_odbcbcp
20725 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
20726 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
20727 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
20728 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
20729 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
20730 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
20731 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
20732 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
20733 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
20734 wine_fn_config_makefile dlls/ole32 enable_ole32
20735 wine_fn_config_makefile dlls/ole32/tests enable_tests
20736 wine_fn_config_makefile dlls/oleacc enable_oleacc
20737 wine_fn_config_makefile dlls/oleacc/tests enable_tests
20738 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
20739 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
20740 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
20741 wine_fn_config_makefile dlls/olecli32 enable_olecli32
20742 wine_fn_config_makefile dlls/oledb32 enable_oledb32
20743 wine_fn_config_makefile dlls/oledb32/tests enable_tests
20744 wine_fn_config_makefile dlls/oledlg enable_oledlg
20745 wine_fn_config_makefile dlls/oledlg/tests enable_tests
20746 wine_fn_config_makefile dlls/olepro32 enable_olepro32
20747 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
20748 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
20749 wine_fn_config_makefile dlls/olethk32 enable_olethk32
20750 wine_fn_config_makefile dlls/opcservices enable_opcservices
20751 wine_fn_config_makefile dlls/opcservices/tests enable_tests
20752 wine_fn_config_makefile dlls/openal32 enable_openal32
20753 wine_fn_config_makefile dlls/opencl enable_opencl
20754 wine_fn_config_makefile dlls/opengl32 enable_opengl32
20755 wine_fn_config_makefile dlls/opengl32/tests enable_tests
20756 wine_fn_config_makefile dlls/packager enable_packager
20757 wine_fn_config_makefile dlls/packager/tests enable_tests
20758 wine_fn_config_makefile dlls/pdh enable_pdh
20759 wine_fn_config_makefile dlls/pdh/tests enable_tests
20760 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
20761 wine_fn_config_makefile dlls/pidgen enable_pidgen
20762 wine_fn_config_makefile dlls/powrprof enable_powrprof
20763 wine_fn_config_makefile dlls/printui enable_printui
20764 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
20765 wine_fn_config_makefile dlls/propsys enable_propsys
20766 wine_fn_config_makefile dlls/propsys/tests enable_tests
20767 wine_fn_config_makefile dlls/psapi enable_psapi
20768 wine_fn_config_makefile dlls/psapi/tests enable_tests
20769 wine_fn_config_makefile dlls/pstorec enable_pstorec
20770 wine_fn_config_makefile dlls/pstorec/tests enable_tests
20771 wine_fn_config_makefile dlls/qcap enable_qcap
20772 wine_fn_config_makefile dlls/qcap/tests enable_tests
20773 wine_fn_config_makefile dlls/qedit enable_qedit
20774 wine_fn_config_makefile dlls/qedit/tests enable_tests
20775 wine_fn_config_makefile dlls/qmgr enable_qmgr
20776 wine_fn_config_makefile dlls/qmgr/tests enable_tests
20777 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
20778 wine_fn_config_makefile dlls/quartz enable_quartz
20779 wine_fn_config_makefile dlls/quartz/tests enable_tests
20780 wine_fn_config_makefile dlls/query enable_query
20781 wine_fn_config_makefile dlls/qwave enable_qwave
20782 wine_fn_config_makefile dlls/qwave/tests enable_tests
20783 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
20784 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
20785 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
20786 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
20787 wine_fn_config_makefile dlls/regapi enable_regapi
20788 wine_fn_config_makefile dlls/resutils enable_resutils
20789 wine_fn_config_makefile dlls/riched20 enable_riched20
20790 wine_fn_config_makefile dlls/riched20/tests enable_tests
20791 wine_fn_config_makefile dlls/riched32 enable_riched32
20792 wine_fn_config_makefile dlls/riched32/tests enable_tests
20793 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
20794 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
20795 wine_fn_config_makefile dlls/rsabase enable_rsabase
20796 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
20797 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
20798 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
20799 wine_fn_config_makefile dlls/rtutils enable_rtutils
20800 wine_fn_config_makefile dlls/samlib enable_samlib
20801 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
20802 wine_fn_config_makefile dlls/sapi enable_sapi
20803 wine_fn_config_makefile dlls/sapi/tests enable_tests
20804 wine_fn_config_makefile dlls/sas enable_sas
20805 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
20806 wine_fn_config_makefile dlls/sccbase enable_sccbase
20807 wine_fn_config_makefile dlls/schannel enable_schannel
20808 wine_fn_config_makefile dlls/schannel/tests enable_tests
20809 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
20810 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
20811 wine_fn_config_makefile dlls/scrobj enable_scrobj
20812 wine_fn_config_makefile dlls/scrobj/tests enable_tests
20813 wine_fn_config_makefile dlls/scrrun enable_scrrun
20814 wine_fn_config_makefile dlls/scrrun/tests enable_tests
20815 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
20816 wine_fn_config_makefile dlls/secur32 enable_secur32
20817 wine_fn_config_makefile dlls/secur32/tests enable_tests
20818 wine_fn_config_makefile dlls/security enable_security
20819 wine_fn_config_makefile dlls/sensapi enable_sensapi
20820 wine_fn_config_makefile dlls/serialui enable_serialui
20821 wine_fn_config_makefile dlls/serialui/tests enable_tests
20822 wine_fn_config_makefile dlls/setupapi enable_setupapi
20823 wine_fn_config_makefile dlls/setupapi/tests enable_tests
20824 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
20825 wine_fn_config_makefile dlls/sfc enable_sfc
20826 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
20827 wine_fn_config_makefile dlls/shcore enable_shcore
20828 wine_fn_config_makefile dlls/shcore/tests enable_tests
20829 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
20830 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
20831 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
20832 wine_fn_config_makefile dlls/shell.dll16 enable_win16
20833 wine_fn_config_makefile dlls/shell32 enable_shell32
20834 wine_fn_config_makefile dlls/shell32/tests enable_tests
20835 wine_fn_config_makefile dlls/shfolder enable_shfolder
20836 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
20837 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
20838 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
20839 wine_fn_config_makefile dlls/slc enable_slc
20840 wine_fn_config_makefile dlls/slc/tests enable_tests
20841 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
20842 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
20843 wine_fn_config_makefile dlls/softpub enable_softpub
20844 wine_fn_config_makefile dlls/sound.drv16 enable_win16
20845 wine_fn_config_makefile dlls/spoolss enable_spoolss
20846 wine_fn_config_makefile dlls/spoolss/tests enable_tests
20847 wine_fn_config_makefile dlls/srclient enable_srclient
20848 wine_fn_config_makefile dlls/sspicli enable_sspicli
20849 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
20850 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
20851 wine_fn_config_makefile dlls/sti enable_sti
20852 wine_fn_config_makefile dlls/sti/tests enable_tests
20853 wine_fn_config_makefile dlls/storage.dll16 enable_win16
20854 wine_fn_config_makefile dlls/stress.dll16 enable_win16
20855 wine_fn_config_makefile dlls/strmbase enable_strmbase
20856 wine_fn_config_makefile dlls/strmdll enable_strmdll
20857 wine_fn_config_makefile dlls/strmiids enable_strmiids
20858 wine_fn_config_makefile dlls/svrapi enable_svrapi
20859 wine_fn_config_makefile dlls/sxs enable_sxs
20860 wine_fn_config_makefile dlls/sxs/tests enable_tests
20861 wine_fn_config_makefile dlls/system.drv16 enable_win16
20862 wine_fn_config_makefile dlls/t2embed enable_t2embed
20863 wine_fn_config_makefile dlls/t2embed/tests enable_tests
20864 wine_fn_config_makefile dlls/tapi32 enable_tapi32
20865 wine_fn_config_makefile dlls/tapi32/tests enable_tests
20866 wine_fn_config_makefile dlls/taskschd enable_taskschd
20867 wine_fn_config_makefile dlls/taskschd/tests enable_tests
20868 wine_fn_config_makefile dlls/tdh enable_tdh
20869 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
20870 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
20871 wine_fn_config_makefile dlls/traffic enable_traffic
20872 wine_fn_config_makefile dlls/twain.dll16 enable_win16
20873 wine_fn_config_makefile dlls/twain_32 enable_twain_32
20874 wine_fn_config_makefile dlls/twain_32/tests enable_tests
20875 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
20876 wine_fn_config_makefile dlls/tzres enable_tzres
20877 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
20878 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
20879 wine_fn_config_makefile dlls/uianimation enable_uianimation
20880 wine_fn_config_makefile dlls/uianimation/tests enable_tests
20881 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
20882 wine_fn_config_makefile dlls/uiautomationcore/tests enable_tests
20883 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
20884 wine_fn_config_makefile dlls/unicows enable_unicows
20885 wine_fn_config_makefile dlls/updspapi enable_updspapi
20886 wine_fn_config_makefile dlls/url enable_url
20887 wine_fn_config_makefile dlls/urlmon enable_urlmon
20888 wine_fn_config_makefile dlls/urlmon/tests enable_tests
20889 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
20890 wine_fn_config_makefile dlls/user.exe16 enable_win16
20891 wine_fn_config_makefile dlls/user32 enable_user32
20892 wine_fn_config_makefile dlls/user32/tests enable_tests
20893 wine_fn_config_makefile dlls/userenv enable_userenv
20894 wine_fn_config_makefile dlls/userenv/tests enable_tests
20895 wine_fn_config_makefile dlls/usp10 enable_usp10
20896 wine_fn_config_makefile dlls/usp10/tests enable_tests
20897 wine_fn_config_makefile dlls/utildll enable_utildll
20898 wine_fn_config_makefile dlls/uuid enable_uuid
20899 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
20900 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
20901 wine_fn_config_makefile dlls/vbscript enable_vbscript
20902 wine_fn_config_makefile dlls/vbscript/tests enable_tests
20903 wine_fn_config_makefile dlls/vcomp enable_vcomp
20904 wine_fn_config_makefile dlls/vcomp/tests enable_tests
20905 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
20906 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
20907 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
20908 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
20909 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
20910 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
20911 wine_fn_config_makefile dlls/vcruntime140_1 enable_vcruntime140_1
20912 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
20913 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
20914 wine_fn_config_makefile dlls/ver.dll16 enable_win16
20915 wine_fn_config_makefile dlls/version enable_version
20916 wine_fn_config_makefile dlls/version/tests enable_tests
20917 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
20918 wine_fn_config_makefile dlls/virtdisk/tests enable_tests
20919 wine_fn_config_makefile dlls/vmm.vxd enable_win16
20920 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
20921 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
20922 wine_fn_config_makefile dlls/vssapi enable_vssapi
20923 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
20924 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
20925 wine_fn_config_makefile dlls/vulkan-1/tests enable_tests
20926 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
20927 wine_fn_config_makefile dlls/w32skrnl enable_win16
20928 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
20929 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
20930 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
20931 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
20932 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
20933 wine_fn_config_makefile dlls/wdscore enable_wdscore
20934 wine_fn_config_makefile dlls/webservices enable_webservices
20935 wine_fn_config_makefile dlls/webservices/tests enable_tests
20936 wine_fn_config_makefile dlls/wer enable_wer
20937 wine_fn_config_makefile dlls/wer/tests enable_tests
20938 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
20939 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
20940 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
20941 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
20942 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
20943 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
20944 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
20945 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
20946 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
20947 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
20948 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
20949 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
20950 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
20951 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
20952 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
20953 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
20954 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
20955 wine_fn_config_makefile dlls/wined3d enable_wined3d
20956 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
20957 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
20958 wine_fn_config_makefile dlls/winejoystick.drv enable_winejoystick_drv
20959 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
20960 wine_fn_config_makefile dlls/winemapi enable_winemapi
20961 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
20962 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
20963 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
20964 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
20965 wine_fn_config_makefile dlls/wineqtdecoder enable_wineqtdecoder
20966 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
20967 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
20968 wine_fn_config_makefile dlls/wing.dll16 enable_win16
20969 wine_fn_config_makefile dlls/wing32 enable_wing32
20970 wine_fn_config_makefile dlls/winhttp enable_winhttp
20971 wine_fn_config_makefile dlls/winhttp/tests enable_tests
20972 wine_fn_config_makefile dlls/wininet enable_wininet
20973 wine_fn_config_makefile dlls/wininet/tests enable_tests
20974 wine_fn_config_makefile dlls/winmm enable_winmm
20975 wine_fn_config_makefile dlls/winmm/tests enable_tests
20976 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
20977 wine_fn_config_makefile dlls/winnls32 enable_winnls32
20978 wine_fn_config_makefile dlls/winscard enable_winscard
20979 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
20980 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
20981 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
20982 wine_fn_config_makefile dlls/winsta enable_winsta
20983 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
20984 wine_fn_config_makefile dlls/wintab32 enable_wintab32
20985 wine_fn_config_makefile dlls/wintab32/tests enable_tests
20986 wine_fn_config_makefile dlls/wintrust enable_wintrust
20987 wine_fn_config_makefile dlls/wintrust/tests enable_tests
20988 wine_fn_config_makefile dlls/winusb enable_winusb
20989 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
20990 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
20991 wine_fn_config_makefile dlls/wlanui enable_wlanui
20992 wine_fn_config_makefile dlls/wldap32 enable_wldap32
20993 wine_fn_config_makefile dlls/wldap32/tests enable_tests
20994 wine_fn_config_makefile dlls/wmasf enable_wmasf
20995 wine_fn_config_makefile dlls/wmcodecdspuuid enable_wmcodecdspuuid
20996 wine_fn_config_makefile dlls/wmi enable_wmi
20997 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
20998 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
20999 wine_fn_config_makefile dlls/wmp enable_wmp
21000 wine_fn_config_makefile dlls/wmp/tests enable_tests
21001 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
21002 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
21003 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
21004 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
21005 wine_fn_config_makefile dlls/wow32 enable_win16
21006 wine_fn_config_makefile dlls/wpc enable_wpc
21007 wine_fn_config_makefile dlls/wpc/tests enable_tests
21008 wine_fn_config_makefile dlls/wpcap enable_wpcap
21009 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
21010 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
21011 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
21012 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
21013 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
21014 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
21015 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
21016 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
21017 wine_fn_config_makefile dlls/wsock32 enable_wsock32
21018 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
21019 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
21020 wine_fn_config_makefile dlls/wuapi enable_wuapi
21021 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
21022 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
21023 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
21024 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
21025 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
21026 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
21027 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
21028 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
21029 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
21030 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
21031 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
21032 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
21033 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
21034 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
21035 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
21036 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
21037 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
21038 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
21039 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
21040 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
21041 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
21042 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
21043 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
21044 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
21045 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
21046 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
21047 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
21048 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
21049 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
21050 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
21051 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
21052 wine_fn_config_makefile dlls/xmllite enable_xmllite
21053 wine_fn_config_makefile dlls/xmllite/tests enable_tests
21054 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
21055 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
21056 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
21057 wine_fn_config_makefile fonts enable_fonts
21058 wine_fn_config_makefile include enable_include
21059 wine_fn_config_makefile libs/port enable_port
21060 wine_fn_config_makefile libs/wine enable_wine
21061 wine_fn_config_makefile libs/wpp enable_wpp
21062 wine_fn_config_makefile loader enable_loader
21063 wine_fn_config_makefile po enable_po
21064 wine_fn_config_makefile programs/arp enable_arp
21065 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
21066 wine_fn_config_makefile programs/attrib enable_attrib
21067 wine_fn_config_makefile programs/cabarc enable_cabarc
21068 wine_fn_config_makefile programs/cacls enable_cacls
21069 wine_fn_config_makefile programs/chcp.com enable_chcp_com
21070 wine_fn_config_makefile programs/clock enable_clock
21071 wine_fn_config_makefile programs/cmd enable_cmd
21072 wine_fn_config_makefile programs/cmd/tests enable_tests
21073 wine_fn_config_makefile programs/conhost enable_conhost
21074 wine_fn_config_makefile programs/control enable_control
21075 wine_fn_config_makefile programs/cscript enable_cscript
21076 wine_fn_config_makefile programs/dism enable_dism
21077 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
21078 wine_fn_config_makefile programs/dxdiag enable_dxdiag
21079 wine_fn_config_makefile programs/eject enable_eject
21080 wine_fn_config_makefile programs/expand enable_expand
21081 wine_fn_config_makefile programs/explorer enable_explorer
21082 wine_fn_config_makefile programs/extrac32 enable_extrac32
21083 wine_fn_config_makefile programs/fc enable_fc
21084 wine_fn_config_makefile programs/find enable_find
21085 wine_fn_config_makefile programs/find/tests enable_tests
21086 wine_fn_config_makefile programs/findstr enable_findstr
21087 wine_fn_config_makefile programs/fsutil enable_fsutil
21088 wine_fn_config_makefile programs/hh enable_hh
21089 wine_fn_config_makefile programs/hostname enable_hostname
21090 wine_fn_config_makefile programs/icacls enable_icacls
21091 wine_fn_config_makefile programs/icinfo enable_icinfo
21092 wine_fn_config_makefile programs/iexplore enable_iexplore
21093 wine_fn_config_makefile programs/ipconfig enable_ipconfig
21094 wine_fn_config_makefile programs/lodctr enable_lodctr
21095 wine_fn_config_makefile programs/mofcomp enable_mofcomp
21096 wine_fn_config_makefile programs/mshta enable_mshta
21097 wine_fn_config_makefile programs/msidb enable_msidb
21098 wine_fn_config_makefile programs/msiexec enable_msiexec
21099 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
21100 wine_fn_config_makefile programs/net enable_net
21101 wine_fn_config_makefile programs/netsh enable_netsh
21102 wine_fn_config_makefile programs/netstat enable_netstat
21103 wine_fn_config_makefile programs/ngen enable_ngen
21104 wine_fn_config_makefile programs/notepad enable_notepad
21105 wine_fn_config_makefile programs/oleview enable_oleview
21106 wine_fn_config_makefile programs/ping enable_ping
21107 wine_fn_config_makefile programs/plugplay enable_plugplay
21108 wine_fn_config_makefile programs/powershell enable_powershell
21109 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
21110 wine_fn_config_makefile programs/progman enable_progman
21111 wine_fn_config_makefile programs/reg enable_reg
21112 wine_fn_config_makefile programs/reg/tests enable_tests
21113 wine_fn_config_makefile programs/regasm enable_regasm
21114 wine_fn_config_makefile programs/regedit enable_regedit
21115 wine_fn_config_makefile programs/regedit/tests enable_tests
21116 wine_fn_config_makefile programs/regini enable_regini
21117 wine_fn_config_makefile programs/regsvcs enable_regsvcs
21118 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
21119 wine_fn_config_makefile programs/rpcss enable_rpcss
21120 wine_fn_config_makefile programs/rundll.exe16 enable_win16
21121 wine_fn_config_makefile programs/rundll32 enable_rundll32
21122 wine_fn_config_makefile programs/sc enable_sc
21123 wine_fn_config_makefile programs/schtasks enable_schtasks
21124 wine_fn_config_makefile programs/schtasks/tests enable_tests
21125 wine_fn_config_makefile programs/sdbinst enable_sdbinst
21126 wine_fn_config_makefile programs/secedit enable_secedit
21127 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
21128 wine_fn_config_makefile programs/services enable_services
21129 wine_fn_config_makefile programs/services/tests enable_tests
21130 wine_fn_config_makefile programs/shutdown enable_shutdown
21131 wine_fn_config_makefile programs/spoolsv enable_spoolsv
21132 wine_fn_config_makefile programs/start enable_start
21133 wine_fn_config_makefile programs/subst enable_subst
21134 wine_fn_config_makefile programs/svchost enable_svchost
21135 wine_fn_config_makefile programs/systeminfo enable_systeminfo
21136 wine_fn_config_makefile programs/taskkill enable_taskkill
21137 wine_fn_config_makefile programs/tasklist enable_tasklist
21138 wine_fn_config_makefile programs/taskmgr enable_taskmgr
21139 wine_fn_config_makefile programs/termsv enable_termsv
21140 wine_fn_config_makefile programs/uninstaller enable_uninstaller
21141 wine_fn_config_makefile programs/unlodctr enable_unlodctr
21142 wine_fn_config_makefile programs/view enable_view
21143 wine_fn_config_makefile programs/wevtutil enable_wevtutil
21144 wine_fn_config_makefile programs/wineboot enable_wineboot
21145 wine_fn_config_makefile programs/winebrowser enable_winebrowser
21146 wine_fn_config_makefile programs/winecfg enable_winecfg
21147 wine_fn_config_makefile programs/wineconsole enable_wineconsole
21148 wine_fn_config_makefile programs/winedbg enable_winedbg
21149 wine_fn_config_makefile programs/winedevice enable_winedevice
21150 wine_fn_config_makefile programs/winefile enable_winefile
21151 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
21152 wine_fn_config_makefile programs/winemine enable_winemine
21153 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
21154 wine_fn_config_makefile programs/winepath enable_winepath
21155 wine_fn_config_makefile programs/winetest enable_winetest
21156 wine_fn_config_makefile programs/winevdm enable_win16
21157 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
21158 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
21159 wine_fn_config_makefile programs/winmgmt enable_winmgmt
21160 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
21161 wine_fn_config_makefile programs/winver enable_winver
21162 wine_fn_config_makefile programs/wmic enable_wmic
21163 wine_fn_config_makefile programs/wmplayer enable_wmplayer
21164 wine_fn_config_makefile programs/wordpad enable_wordpad
21165 wine_fn_config_makefile programs/write enable_write
21166 wine_fn_config_makefile programs/wscript enable_wscript
21167 wine_fn_config_makefile programs/wscript/tests enable_tests
21168 wine_fn_config_makefile programs/wuauserv enable_wuauserv
21169 wine_fn_config_makefile programs/wusa enable_wusa
21170 wine_fn_config_makefile programs/xcopy enable_xcopy
21171 wine_fn_config_makefile programs/xcopy/tests enable_tests
21172 wine_fn_config_makefile server enable_server
21173 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
21174 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
21175 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
21176 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
21177 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
21178 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
21179 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
21180 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
21181 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
21184 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
21185 wine_fn_append_file CONFIGURE_TARGETS "tags"
21186 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
21187 wine_fn_append_file CONFIGURE_TARGETS "config.log"
21188 wine_fn_append_file CONFIGURE_TARGETS "config.status"
21189 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
21190 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
21191 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
21193 if test "x$enable_tools" != xno
21194 then
21195 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
21196 ac_config_commands="$ac_config_commands tools/makedep"
21200 ac_config_commands="$ac_config_commands Makefile"
21203 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
21207 if test "x$enable_maintainer_mode" = xyes
21208 then
21209 wine_fn_append_rule "configure: configure.ac aclocal.m4
21210 autoconf --warnings=all
21211 include/config.h.in: include/stamp-h.in
21212 include/stamp-h.in: configure.ac aclocal.m4
21213 autoheader --warnings=all
21214 @echo timestamp > \$@"
21217 if test "x$enable_tools" != xno
21218 then
21219 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
21220 @./config.status tools/makedep
21221 Makefile: tools/makedep$ac_exeext
21222 fonts: tools/sfnt2fon
21223 include: tools tools/widl"
21224 else
21225 wine_fn_append_rule "\$(MAKEDEP):
21226 @echo \"You need to run make in $TOOLSDIR first\" && false"
21229 if test -n "$with_wine64"
21230 then
21231 case "$with_wine64" in
21232 /*) reldir="" ;;
21233 *) reldir="../" ;;
21234 esac
21235 rm -f fonts server 2>/dev/null
21236 wine_fn_append_rule "all: loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader
21237 loader/wine64 loader/wine64-preloader:
21238 rm -f \$@ && \$(LN_S) $reldir$with_wine64/\$@ \$@
21239 $with_wine64/loader/wine:
21240 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
21241 $with_wine64/loader/wine-preloader:
21242 rm -f \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
21243 clean::
21244 rm -f loader/wine64 loader/wine64-preloader $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
21245 else
21246 TOP_INSTALL_DEV="$TOP_INSTALL_DEV include"
21247 TOP_INSTALL_LIB="$TOP_INSTALL_LIB \
21248 fonts \
21249 loader/l_intl.nls \
21250 loader/wine.inf \
21251 loader/winebus.inf \
21252 loader/winehid.inf \
21253 programs/msidb/msidb \
21254 programs/msiexec/msiexec \
21255 programs/notepad/notepad \
21256 programs/regedit/regedit \
21257 programs/regsvr32/regsvr32 \
21258 programs/wineboot/wineboot \
21259 programs/winecfg/winecfg \
21260 programs/wineconsole/wineconsole \
21261 programs/winedbg/winedbg \
21262 programs/winefile/winefile \
21263 programs/winemine/winemine \
21264 programs/winepath/winepath \
21265 server/wineserver"
21267 case $host_os in
21268 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
21269 *) TOP_INSTALL_LIB="$TOP_INSTALL_LIB loader/wine.desktop" ;;
21270 esac
21273 $as_echo " done" >&6
21274 cat >confcache <<\_ACEOF
21275 # This file is a shell script that caches the results of configure
21276 # tests run on this system so they can be shared between configure
21277 # scripts and configure runs, see configure's option --config-cache.
21278 # It is not useful on other systems. If it contains results you don't
21279 # want to keep, you may remove or edit it.
21281 # config.status only pays attention to the cache file if you give it
21282 # the --recheck option to rerun configure.
21284 # `ac_cv_env_foo' variables (set or unset) will be overridden when
21285 # loading this file, other *unset* `ac_cv_foo' will be assigned the
21286 # following values.
21288 _ACEOF
21290 # The following way of writing the cache mishandles newlines in values,
21291 # but we know of no workaround that is simple, portable, and efficient.
21292 # So, we kill variables containing newlines.
21293 # Ultrix sh set writes to stderr and can't be redirected directly,
21294 # and sets the high bit in the cache file unless we assign to the vars.
21296 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
21297 eval ac_val=\$$ac_var
21298 case $ac_val in #(
21299 *${as_nl}*)
21300 case $ac_var in #(
21301 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
21302 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
21303 esac
21304 case $ac_var in #(
21305 _ | IFS | as_nl) ;; #(
21306 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
21307 *) { eval $ac_var=; unset $ac_var;} ;;
21308 esac ;;
21309 esac
21310 done
21312 (set) 2>&1 |
21313 case $as_nl`(ac_space=' '; set) 2>&1` in #(
21314 *${as_nl}ac_space=\ *)
21315 # `set' does not quote correctly, so add quotes: double-quote
21316 # substitution turns \\\\ into \\, and sed turns \\ into \.
21317 sed -n \
21318 "s/'/'\\\\''/g;
21319 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
21320 ;; #(
21322 # `set' quotes correctly as required by POSIX, so do not add quotes.
21323 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
21325 esac |
21326 sort
21328 sed '
21329 /^ac_cv_env_/b end
21330 t clear
21331 :clear
21332 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
21333 t end
21334 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
21335 :end' >>confcache
21336 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
21337 if test -w "$cache_file"; then
21338 if test "x$cache_file" != "x/dev/null"; then
21339 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
21340 $as_echo "$as_me: updating cache $cache_file" >&6;}
21341 if test ! -f "$cache_file" || test -h "$cache_file"; then
21342 cat confcache >"$cache_file"
21343 else
21344 case $cache_file in #(
21345 */* | ?:*)
21346 mv -f confcache "$cache_file"$$ &&
21347 mv -f "$cache_file"$$ "$cache_file" ;; #(
21349 mv -f confcache "$cache_file" ;;
21350 esac
21353 else
21354 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
21355 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
21358 rm -f confcache
21360 test "x$prefix" = xNONE && prefix=$ac_default_prefix
21361 # Let make expand exec_prefix.
21362 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
21364 DEFS=-DHAVE_CONFIG_H
21366 ac_libobjs=
21367 ac_ltlibobjs=
21369 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
21370 # 1. Remove the extension, and $U if already installed.
21371 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
21372 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
21373 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
21374 # will be set to the directory where LIBOBJS objects are built.
21375 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
21376 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
21377 done
21378 LIBOBJS=$ac_libobjs
21380 LTLIBOBJS=$ac_ltlibobjs
21384 : "${CONFIG_STATUS=./config.status}"
21385 ac_write_fail=0
21386 ac_clean_files_save=$ac_clean_files
21387 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
21388 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
21389 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
21390 as_write_fail=0
21391 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
21392 #! $SHELL
21393 # Generated by $as_me.
21394 # Run this file to recreate the current configuration.
21395 # Compiler output produced by configure, useful for debugging
21396 # configure, is in config.log if it exists.
21398 debug=false
21399 ac_cs_recheck=false
21400 ac_cs_silent=false
21402 SHELL=\${CONFIG_SHELL-$SHELL}
21403 export SHELL
21404 _ASEOF
21405 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
21406 ## -------------------- ##
21407 ## M4sh Initialization. ##
21408 ## -------------------- ##
21410 # Be more Bourne compatible
21411 DUALCASE=1; export DUALCASE # for MKS sh
21412 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
21413 emulate sh
21414 NULLCMD=:
21415 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
21416 # is contrary to our usage. Disable this feature.
21417 alias -g '${1+"$@"}'='"$@"'
21418 setopt NO_GLOB_SUBST
21419 else
21420 case `(set -o) 2>/dev/null` in #(
21421 *posix*) :
21422 set -o posix ;; #(
21423 *) :
21425 esac
21429 as_nl='
21431 export as_nl
21432 # Printing a long string crashes Solaris 7 /usr/bin/printf.
21433 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
21434 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
21435 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
21436 # Prefer a ksh shell builtin over an external printf program on Solaris,
21437 # but without wasting forks for bash or zsh.
21438 if test -z "$BASH_VERSION$ZSH_VERSION" \
21439 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
21440 as_echo='print -r --'
21441 as_echo_n='print -rn --'
21442 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
21443 as_echo='printf %s\n'
21444 as_echo_n='printf %s'
21445 else
21446 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
21447 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
21448 as_echo_n='/usr/ucb/echo -n'
21449 else
21450 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
21451 as_echo_n_body='eval
21452 arg=$1;
21453 case $arg in #(
21454 *"$as_nl"*)
21455 expr "X$arg" : "X\\(.*\\)$as_nl";
21456 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
21457 esac;
21458 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
21460 export as_echo_n_body
21461 as_echo_n='sh -c $as_echo_n_body as_echo'
21463 export as_echo_body
21464 as_echo='sh -c $as_echo_body as_echo'
21467 # The user is always right.
21468 if test "${PATH_SEPARATOR+set}" != set; then
21469 PATH_SEPARATOR=:
21470 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
21471 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
21472 PATH_SEPARATOR=';'
21477 # IFS
21478 # We need space, tab and new line, in precisely that order. Quoting is
21479 # there to prevent editors from complaining about space-tab.
21480 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
21481 # splitting by setting IFS to empty value.)
21482 IFS=" "" $as_nl"
21484 # Find who we are. Look in the path if we contain no directory separator.
21485 as_myself=
21486 case $0 in #((
21487 *[\\/]* ) as_myself=$0 ;;
21488 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
21489 for as_dir in $PATH
21491 IFS=$as_save_IFS
21492 test -z "$as_dir" && as_dir=.
21493 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
21494 done
21495 IFS=$as_save_IFS
21498 esac
21499 # We did not find ourselves, most probably we were run as `sh COMMAND'
21500 # in which case we are not to be found in the path.
21501 if test "x$as_myself" = x; then
21502 as_myself=$0
21504 if test ! -f "$as_myself"; then
21505 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
21506 exit 1
21509 # Unset variables that we do not need and which cause bugs (e.g. in
21510 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
21511 # suppresses any "Segmentation fault" message there. '((' could
21512 # trigger a bug in pdksh 5.2.14.
21513 for as_var in BASH_ENV ENV MAIL MAILPATH
21514 do eval test x\${$as_var+set} = xset \
21515 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
21516 done
21517 PS1='$ '
21518 PS2='> '
21519 PS4='+ '
21521 # NLS nuisances.
21522 LC_ALL=C
21523 export LC_ALL
21524 LANGUAGE=C
21525 export LANGUAGE
21527 # CDPATH.
21528 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
21531 # as_fn_error STATUS ERROR [LINENO LOG_FD]
21532 # ----------------------------------------
21533 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
21534 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
21535 # script with STATUS, using 1 if that was 0.
21536 as_fn_error ()
21538 as_status=$1; test $as_status -eq 0 && as_status=1
21539 if test "$4"; then
21540 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
21541 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
21543 $as_echo "$as_me: error: $2" >&2
21544 as_fn_exit $as_status
21545 } # as_fn_error
21548 # as_fn_set_status STATUS
21549 # -----------------------
21550 # Set $? to STATUS, without forking.
21551 as_fn_set_status ()
21553 return $1
21554 } # as_fn_set_status
21556 # as_fn_exit STATUS
21557 # -----------------
21558 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
21559 as_fn_exit ()
21561 set +e
21562 as_fn_set_status $1
21563 exit $1
21564 } # as_fn_exit
21566 # as_fn_unset VAR
21567 # ---------------
21568 # Portably unset VAR.
21569 as_fn_unset ()
21571 { eval $1=; unset $1;}
21573 as_unset=as_fn_unset
21574 # as_fn_append VAR VALUE
21575 # ----------------------
21576 # Append the text in VALUE to the end of the definition contained in VAR. Take
21577 # advantage of any shell optimizations that allow amortized linear growth over
21578 # repeated appends, instead of the typical quadratic growth present in naive
21579 # implementations.
21580 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
21581 eval 'as_fn_append ()
21583 eval $1+=\$2
21585 else
21586 as_fn_append ()
21588 eval $1=\$$1\$2
21590 fi # as_fn_append
21592 # as_fn_arith ARG...
21593 # ------------------
21594 # Perform arithmetic evaluation on the ARGs, and store the result in the
21595 # global $as_val. Take advantage of shells that can avoid forks. The arguments
21596 # must be portable across $(()) and expr.
21597 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
21598 eval 'as_fn_arith ()
21600 as_val=$(( $* ))
21602 else
21603 as_fn_arith ()
21605 as_val=`expr "$@" || test $? -eq 1`
21607 fi # as_fn_arith
21610 if expr a : '\(a\)' >/dev/null 2>&1 &&
21611 test "X`expr 00001 : '.*\(...\)'`" = X001; then
21612 as_expr=expr
21613 else
21614 as_expr=false
21617 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
21618 as_basename=basename
21619 else
21620 as_basename=false
21623 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
21624 as_dirname=dirname
21625 else
21626 as_dirname=false
21629 as_me=`$as_basename -- "$0" ||
21630 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
21631 X"$0" : 'X\(//\)$' \| \
21632 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
21633 $as_echo X/"$0" |
21634 sed '/^.*\/\([^/][^/]*\)\/*$/{
21635 s//\1/
21638 /^X\/\(\/\/\)$/{
21639 s//\1/
21642 /^X\/\(\/\).*/{
21643 s//\1/
21646 s/.*/./; q'`
21648 # Avoid depending upon Character Ranges.
21649 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
21650 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
21651 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
21652 as_cr_digits='0123456789'
21653 as_cr_alnum=$as_cr_Letters$as_cr_digits
21655 ECHO_C= ECHO_N= ECHO_T=
21656 case `echo -n x` in #(((((
21657 -n*)
21658 case `echo 'xy\c'` in
21659 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
21660 xy) ECHO_C='\c';;
21661 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
21662 ECHO_T=' ';;
21663 esac;;
21665 ECHO_N='-n';;
21666 esac
21668 rm -f conf$$ conf$$.exe conf$$.file
21669 if test -d conf$$.dir; then
21670 rm -f conf$$.dir/conf$$.file
21671 else
21672 rm -f conf$$.dir
21673 mkdir conf$$.dir 2>/dev/null
21675 if (echo >conf$$.file) 2>/dev/null; then
21676 if ln -s conf$$.file conf$$ 2>/dev/null; then
21677 as_ln_s='ln -s'
21678 # ... but there are two gotchas:
21679 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
21680 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
21681 # In both cases, we have to default to `cp -pR'.
21682 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
21683 as_ln_s='cp -pR'
21684 elif ln conf$$.file conf$$ 2>/dev/null; then
21685 as_ln_s=ln
21686 else
21687 as_ln_s='cp -pR'
21689 else
21690 as_ln_s='cp -pR'
21692 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
21693 rmdir conf$$.dir 2>/dev/null
21696 # as_fn_mkdir_p
21697 # -------------
21698 # Create "$as_dir" as a directory, including parents if necessary.
21699 as_fn_mkdir_p ()
21702 case $as_dir in #(
21703 -*) as_dir=./$as_dir;;
21704 esac
21705 test -d "$as_dir" || eval $as_mkdir_p || {
21706 as_dirs=
21707 while :; do
21708 case $as_dir in #(
21709 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
21710 *) as_qdir=$as_dir;;
21711 esac
21712 as_dirs="'$as_qdir' $as_dirs"
21713 as_dir=`$as_dirname -- "$as_dir" ||
21714 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
21715 X"$as_dir" : 'X\(//\)[^/]' \| \
21716 X"$as_dir" : 'X\(//\)$' \| \
21717 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
21718 $as_echo X"$as_dir" |
21719 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
21720 s//\1/
21723 /^X\(\/\/\)[^/].*/{
21724 s//\1/
21727 /^X\(\/\/\)$/{
21728 s//\1/
21731 /^X\(\/\).*/{
21732 s//\1/
21735 s/.*/./; q'`
21736 test -d "$as_dir" && break
21737 done
21738 test -z "$as_dirs" || eval "mkdir $as_dirs"
21739 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
21742 } # as_fn_mkdir_p
21743 if mkdir -p . 2>/dev/null; then
21744 as_mkdir_p='mkdir -p "$as_dir"'
21745 else
21746 test -d ./-p && rmdir ./-p
21747 as_mkdir_p=false
21751 # as_fn_executable_p FILE
21752 # -----------------------
21753 # Test if FILE is an executable regular file.
21754 as_fn_executable_p ()
21756 test -f "$1" && test -x "$1"
21757 } # as_fn_executable_p
21758 as_test_x='test -x'
21759 as_executable_p=as_fn_executable_p
21761 # Sed expression to map a string onto a valid CPP name.
21762 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
21764 # Sed expression to map a string onto a valid variable name.
21765 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
21768 exec 6>&1
21769 ## ----------------------------------- ##
21770 ## Main body of $CONFIG_STATUS script. ##
21771 ## ----------------------------------- ##
21772 _ASEOF
21773 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
21775 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21776 # Save the log message, to keep $0 and so on meaningful, and to
21777 # report actual input values of CONFIG_FILES etc. instead of their
21778 # values after options handling.
21779 ac_log="
21780 This file was extended by Wine $as_me 5.0, which was
21781 generated by GNU Autoconf 2.69. Invocation command line was
21783 CONFIG_FILES = $CONFIG_FILES
21784 CONFIG_HEADERS = $CONFIG_HEADERS
21785 CONFIG_LINKS = $CONFIG_LINKS
21786 CONFIG_COMMANDS = $CONFIG_COMMANDS
21787 $ $0 $@
21789 on `(hostname || uname -n) 2>/dev/null | sed 1q`
21792 _ACEOF
21794 case $ac_config_files in *"
21795 "*) set x $ac_config_files; shift; ac_config_files=$*;;
21796 esac
21798 case $ac_config_headers in *"
21799 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
21800 esac
21803 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21804 # Files that config.status was made for.
21805 config_files="$ac_config_files"
21806 config_headers="$ac_config_headers"
21807 config_links="$ac_config_links"
21808 config_commands="$ac_config_commands"
21810 _ACEOF
21812 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21813 ac_cs_usage="\
21814 \`$as_me' instantiates files and other configuration actions
21815 from templates according to the current configuration. Unless the files
21816 and actions are specified as TAGs, all are instantiated by default.
21818 Usage: $0 [OPTION]... [TAG]...
21820 -h, --help print this help, then exit
21821 -V, --version print version number and configuration settings, then exit
21822 --config print configuration, then exit
21823 -q, --quiet, --silent
21824 do not print progress messages
21825 -d, --debug don't remove temporary files
21826 --recheck update $as_me by reconfiguring in the same conditions
21827 --file=FILE[:TEMPLATE]
21828 instantiate the configuration file FILE
21829 --header=FILE[:TEMPLATE]
21830 instantiate the configuration header FILE
21832 Configuration files:
21833 $config_files
21835 Configuration headers:
21836 $config_headers
21838 Configuration links:
21839 $config_links
21841 Configuration commands:
21842 $config_commands
21844 Report bugs to <wine-devel@winehq.org>.
21845 Wine home page: <https://www.winehq.org>."
21847 _ACEOF
21848 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21849 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
21850 ac_cs_version="\\
21851 Wine config.status 5.0
21852 configured by $0, generated by GNU Autoconf 2.69,
21853 with options \\"\$ac_cs_config\\"
21855 Copyright (C) 2012 Free Software Foundation, Inc.
21856 This config.status script is free software; the Free Software Foundation
21857 gives unlimited permission to copy, distribute and modify it."
21859 ac_pwd='$ac_pwd'
21860 srcdir='$srcdir'
21861 test -n "\$AWK" || AWK=awk
21862 _ACEOF
21864 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21865 # The default lists apply if the user does not specify any file.
21866 ac_need_defaults=:
21867 while test $# != 0
21869 case $1 in
21870 --*=?*)
21871 ac_option=`expr "X$1" : 'X\([^=]*\)='`
21872 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
21873 ac_shift=:
21875 --*=)
21876 ac_option=`expr "X$1" : 'X\([^=]*\)='`
21877 ac_optarg=
21878 ac_shift=:
21881 ac_option=$1
21882 ac_optarg=$2
21883 ac_shift=shift
21885 esac
21887 case $ac_option in
21888 # Handling of the options.
21889 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
21890 ac_cs_recheck=: ;;
21891 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
21892 $as_echo "$ac_cs_version"; exit ;;
21893 --config | --confi | --conf | --con | --co | --c )
21894 $as_echo "$ac_cs_config"; exit ;;
21895 --debug | --debu | --deb | --de | --d | -d )
21896 debug=: ;;
21897 --file | --fil | --fi | --f )
21898 $ac_shift
21899 case $ac_optarg in
21900 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21901 '') as_fn_error $? "missing file argument" ;;
21902 esac
21903 as_fn_append CONFIG_FILES " '$ac_optarg'"
21904 ac_need_defaults=false;;
21905 --header | --heade | --head | --hea )
21906 $ac_shift
21907 case $ac_optarg in
21908 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
21909 esac
21910 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
21911 ac_need_defaults=false;;
21912 --he | --h)
21913 # Conflict between --help and --header
21914 as_fn_error $? "ambiguous option: \`$1'
21915 Try \`$0 --help' for more information.";;
21916 --help | --hel | -h )
21917 $as_echo "$ac_cs_usage"; exit ;;
21918 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
21919 | -silent | --silent | --silen | --sile | --sil | --si | --s)
21920 ac_cs_silent=: ;;
21922 # This is an error.
21923 -*) as_fn_error $? "unrecognized option: \`$1'
21924 Try \`$0 --help' for more information." ;;
21926 *) as_fn_append ac_config_targets " $1"
21927 ac_need_defaults=false ;;
21929 esac
21930 shift
21931 done
21933 ac_configure_extra_args=
21935 if $ac_cs_silent; then
21936 exec 6>/dev/null
21937 ac_configure_extra_args="$ac_configure_extra_args --silent"
21940 _ACEOF
21941 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21942 if \$ac_cs_recheck; then
21943 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
21944 shift
21945 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
21946 CONFIG_SHELL='$SHELL'
21947 export CONFIG_SHELL
21948 exec "\$@"
21951 _ACEOF
21952 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21953 exec 5>>config.log
21955 echo
21956 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
21957 ## Running $as_me. ##
21958 _ASBOX
21959 $as_echo "$ac_log"
21960 } >&5
21962 _ACEOF
21963 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
21965 # INIT-COMMANDS
21967 wine_fn_output_makedep ()
21969 as_dir=tools; as_fn_mkdir_p
21970 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
21972 wine_fn_output_makefile ()
21974 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
21975 `cat $wine_rules_file`
21976 _WINE_EOF
21977 as_fn_error $? "could not create Makefile" "$LINENO" 5
21980 _ACEOF
21982 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
21984 # Handling of arguments.
21985 for ac_config_target in $ac_config_targets
21987 case $ac_config_target in
21988 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
21989 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
21990 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
21991 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
21992 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
21993 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
21994 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
21996 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
21997 esac
21998 done
22001 # If the user did not use the arguments to specify the items to instantiate,
22002 # then the envvar interface is used. Set only those that are not.
22003 # We use the long form for the default assignment because of an extremely
22004 # bizarre bug on SunOS 4.1.3.
22005 if $ac_need_defaults; then
22006 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
22007 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
22008 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
22009 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
22012 # Have a temporary directory for convenience. Make it in the build tree
22013 # simply because there is no reason against having it here, and in addition,
22014 # creating and moving files from /tmp can sometimes cause problems.
22015 # Hook for its removal unless debugging.
22016 # Note that there is a small window in which the directory will not be cleaned:
22017 # after its creation but before its name has been assigned to `$tmp'.
22018 $debug ||
22020 tmp= ac_tmp=
22021 trap 'exit_status=$?
22022 : "${ac_tmp:=$tmp}"
22023 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
22025 trap 'as_fn_exit 1' 1 2 13 15
22027 # Create a (secure) tmp directory for tmp files.
22030 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
22031 test -d "$tmp"
22032 } ||
22034 tmp=./conf$$-$RANDOM
22035 (umask 077 && mkdir "$tmp")
22036 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
22037 ac_tmp=$tmp
22039 # Set up the scripts for CONFIG_FILES section.
22040 # No need to generate them if there are no CONFIG_FILES.
22041 # This happens for instance with `./config.status config.h'.
22042 if test -n "$CONFIG_FILES"; then
22045 ac_cr=`echo X | tr X '\015'`
22046 # On cygwin, bash can eat \r inside `` if the user requested igncr.
22047 # But we know of no other shell where ac_cr would be empty at this
22048 # point, so we can use a bashism as a fallback.
22049 if test "x$ac_cr" = x; then
22050 eval ac_cr=\$\'\\r\'
22052 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
22053 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
22054 ac_cs_awk_cr='\\r'
22055 else
22056 ac_cs_awk_cr=$ac_cr
22059 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
22060 _ACEOF
22064 echo "cat >conf$$subs.awk <<_ACEOF" &&
22065 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
22066 echo "_ACEOF"
22067 } >conf$$subs.sh ||
22068 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22069 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
22070 ac_delim='%!_!# '
22071 for ac_last_try in false false false false false :; do
22072 . ./conf$$subs.sh ||
22073 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22075 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
22076 if test $ac_delim_n = $ac_delim_num; then
22077 break
22078 elif $ac_last_try; then
22079 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
22080 else
22081 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22083 done
22084 rm -f conf$$subs.sh
22086 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22087 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
22088 _ACEOF
22089 sed -n '
22091 s/^/S["/; s/!.*/"]=/
22094 s/^[^!]*!//
22095 :repl
22096 t repl
22097 s/'"$ac_delim"'$//
22098 t delim
22101 s/\(.\{148\}\)..*/\1/
22102 t more1
22103 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
22106 b repl
22107 :more1
22108 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22111 s/.\{148\}//
22112 t nl
22113 :delim
22115 s/\(.\{148\}\)..*/\1/
22116 t more2
22117 s/["\\]/\\&/g; s/^/"/; s/$/"/
22120 :more2
22121 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
22124 s/.\{148\}//
22125 t delim
22126 ' <conf$$subs.awk | sed '
22127 /^[^""]/{
22129 s/\n//
22131 ' >>$CONFIG_STATUS || ac_write_fail=1
22132 rm -f conf$$subs.awk
22133 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22134 _ACAWK
22135 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
22136 for (key in S) S_is_set[key] = 1
22137 FS = "\a"
22141 line = $ 0
22142 nfields = split(line, field, "@")
22143 substed = 0
22144 len = length(field[1])
22145 for (i = 2; i < nfields; i++) {
22146 key = field[i]
22147 keylen = length(key)
22148 if (S_is_set[key]) {
22149 value = S[key]
22150 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
22151 len += length(value) + length(field[++i])
22152 substed = 1
22153 } else
22154 len += 1 + keylen
22157 print line
22160 _ACAWK
22161 _ACEOF
22162 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22163 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
22164 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
22165 else
22167 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
22168 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
22169 _ACEOF
22171 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
22172 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
22173 # trailing colons and then remove the whole line if VPATH becomes empty
22174 # (actually we leave an empty line to preserve line numbers).
22175 if test "x$srcdir" = x.; then
22176 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
22178 s///
22179 s/^/:/
22180 s/[ ]*$/:/
22181 s/:\$(srcdir):/:/g
22182 s/:\${srcdir}:/:/g
22183 s/:@srcdir@:/:/g
22184 s/^:*//
22185 s/:*$//
22187 s/\(=[ ]*\).*/\1/
22189 s/\n//
22190 s/^[^=]*=[ ]*$//
22194 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22195 fi # test -n "$CONFIG_FILES"
22197 # Set up the scripts for CONFIG_HEADERS section.
22198 # No need to generate them if there are no CONFIG_HEADERS.
22199 # This happens for instance with `./config.status Makefile'.
22200 if test -n "$CONFIG_HEADERS"; then
22201 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
22202 BEGIN {
22203 _ACEOF
22205 # Transform confdefs.h into an awk script `defines.awk', embedded as
22206 # here-document in config.status, that substitutes the proper values into
22207 # config.h.in to produce config.h.
22209 # Create a delimiter string that does not exist in confdefs.h, to ease
22210 # handling of long lines.
22211 ac_delim='%!_!# '
22212 for ac_last_try in false false :; do
22213 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
22214 if test -z "$ac_tt"; then
22215 break
22216 elif $ac_last_try; then
22217 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
22218 else
22219 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
22221 done
22223 # For the awk script, D is an array of macro values keyed by name,
22224 # likewise P contains macro parameters if any. Preserve backslash
22225 # newline sequences.
22227 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
22228 sed -n '
22229 s/.\{148\}/&'"$ac_delim"'/g
22230 t rset
22231 :rset
22232 s/^[ ]*#[ ]*define[ ][ ]*/ /
22233 t def
22235 :def
22236 s/\\$//
22237 t bsnl
22238 s/["\\]/\\&/g
22239 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22240 D["\1"]=" \3"/p
22241 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
22243 :bsnl
22244 s/["\\]/\\&/g
22245 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
22246 D["\1"]=" \3\\\\\\n"\\/p
22247 t cont
22248 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
22249 t cont
22251 :cont
22253 s/.\{148\}/&'"$ac_delim"'/g
22254 t clear
22255 :clear
22256 s/\\$//
22257 t bsnlc
22258 s/["\\]/\\&/g; s/^/"/; s/$/"/p
22260 :bsnlc
22261 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
22262 b cont
22263 ' <confdefs.h | sed '
22264 s/'"$ac_delim"'/"\\\
22265 "/g' >>$CONFIG_STATUS || ac_write_fail=1
22267 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22268 for (key in D) D_is_set[key] = 1
22269 FS = "\a"
22271 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
22272 line = \$ 0
22273 split(line, arg, " ")
22274 if (arg[1] == "#") {
22275 defundef = arg[2]
22276 mac1 = arg[3]
22277 } else {
22278 defundef = substr(arg[1], 2)
22279 mac1 = arg[2]
22281 split(mac1, mac2, "(") #)
22282 macro = mac2[1]
22283 prefix = substr(line, 1, index(line, defundef) - 1)
22284 if (D_is_set[macro]) {
22285 # Preserve the white space surrounding the "#".
22286 print prefix "define", macro P[macro] D[macro]
22287 next
22288 } else {
22289 # Replace #undef with comments. This is necessary, for example,
22290 # in the case of _POSIX_SOURCE, which is predefined and required
22291 # on some systems where configure will not decide to define it.
22292 if (defundef == "undef") {
22293 print "/*", prefix defundef, macro, "*/"
22294 next
22298 { print }
22299 _ACAWK
22300 _ACEOF
22301 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22302 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
22303 fi # test -n "$CONFIG_HEADERS"
22306 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
22307 shift
22308 for ac_tag
22310 case $ac_tag in
22311 :[FHLC]) ac_mode=$ac_tag; continue;;
22312 esac
22313 case $ac_mode$ac_tag in
22314 :[FHL]*:*);;
22315 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
22316 :[FH]-) ac_tag=-:-;;
22317 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
22318 esac
22319 ac_save_IFS=$IFS
22320 IFS=:
22321 set x $ac_tag
22322 IFS=$ac_save_IFS
22323 shift
22324 ac_file=$1
22325 shift
22327 case $ac_mode in
22328 :L) ac_source=$1;;
22329 :[FH])
22330 ac_file_inputs=
22331 for ac_f
22333 case $ac_f in
22334 -) ac_f="$ac_tmp/stdin";;
22335 *) # Look for the file first in the build tree, then in the source tree
22336 # (if the path is not absolute). The absolute path cannot be DOS-style,
22337 # because $ac_f cannot contain `:'.
22338 test -f "$ac_f" ||
22339 case $ac_f in
22340 [\\/$]*) false;;
22341 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
22342 esac ||
22343 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
22344 esac
22345 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
22346 as_fn_append ac_file_inputs " '$ac_f'"
22347 done
22349 # Let's still pretend it is `configure' which instantiates (i.e., don't
22350 # use $as_me), people would be surprised to read:
22351 # /* config.h. Generated by config.status. */
22352 configure_input='Generated from '`
22353 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
22354 `' by configure.'
22355 if test x"$ac_file" != x-; then
22356 configure_input="$ac_file. $configure_input"
22357 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
22358 $as_echo "$as_me: creating $ac_file" >&6;}
22360 # Neutralize special characters interpreted by sed in replacement strings.
22361 case $configure_input in #(
22362 *\&* | *\|* | *\\* )
22363 ac_sed_conf_input=`$as_echo "$configure_input" |
22364 sed 's/[\\\\&|]/\\\\&/g'`;; #(
22365 *) ac_sed_conf_input=$configure_input;;
22366 esac
22368 case $ac_tag in
22369 *:-:* | *:-) cat >"$ac_tmp/stdin" \
22370 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
22371 esac
22373 esac
22375 ac_dir=`$as_dirname -- "$ac_file" ||
22376 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
22377 X"$ac_file" : 'X\(//\)[^/]' \| \
22378 X"$ac_file" : 'X\(//\)$' \| \
22379 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
22380 $as_echo X"$ac_file" |
22381 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
22382 s//\1/
22385 /^X\(\/\/\)[^/].*/{
22386 s//\1/
22389 /^X\(\/\/\)$/{
22390 s//\1/
22393 /^X\(\/\).*/{
22394 s//\1/
22397 s/.*/./; q'`
22398 as_dir="$ac_dir"; as_fn_mkdir_p
22399 ac_builddir=.
22401 case "$ac_dir" in
22402 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
22404 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
22405 # A ".." for each directory in $ac_dir_suffix.
22406 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
22407 case $ac_top_builddir_sub in
22408 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
22409 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
22410 esac ;;
22411 esac
22412 ac_abs_top_builddir=$ac_pwd
22413 ac_abs_builddir=$ac_pwd$ac_dir_suffix
22414 # for backward compatibility:
22415 ac_top_builddir=$ac_top_build_prefix
22417 case $srcdir in
22418 .) # We are building in place.
22419 ac_srcdir=.
22420 ac_top_srcdir=$ac_top_builddir_sub
22421 ac_abs_top_srcdir=$ac_pwd ;;
22422 [\\/]* | ?:[\\/]* ) # Absolute name.
22423 ac_srcdir=$srcdir$ac_dir_suffix;
22424 ac_top_srcdir=$srcdir
22425 ac_abs_top_srcdir=$srcdir ;;
22426 *) # Relative name.
22427 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
22428 ac_top_srcdir=$ac_top_build_prefix$srcdir
22429 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
22430 esac
22431 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
22434 case $ac_mode in
22437 # CONFIG_FILE
22440 _ACEOF
22442 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22443 # If the template does not know about datarootdir, expand it.
22444 # FIXME: This hack should be removed a few years after 2.60.
22445 ac_datarootdir_hack=; ac_datarootdir_seen=
22446 ac_sed_dataroot='
22447 /datarootdir/ {
22451 /@datadir@/p
22452 /@docdir@/p
22453 /@infodir@/p
22454 /@localedir@/p
22455 /@mandir@/p'
22456 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
22457 *datarootdir*) ac_datarootdir_seen=yes;;
22458 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
22459 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
22460 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
22461 _ACEOF
22462 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22463 ac_datarootdir_hack='
22464 s&@datadir@&$datadir&g
22465 s&@docdir@&$docdir&g
22466 s&@infodir@&$infodir&g
22467 s&@localedir@&$localedir&g
22468 s&@mandir@&$mandir&g
22469 s&\\\${datarootdir}&$datarootdir&g' ;;
22470 esac
22471 _ACEOF
22473 # Neutralize VPATH when `$srcdir' = `.'.
22474 # Shell code in configure.ac might set extrasub.
22475 # FIXME: do we really want to maintain this feature?
22476 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
22477 ac_sed_extra="$ac_vpsub
22478 $extrasub
22479 _ACEOF
22480 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
22482 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
22483 s|@configure_input@|$ac_sed_conf_input|;t t
22484 s&@top_builddir@&$ac_top_builddir_sub&;t t
22485 s&@top_build_prefix@&$ac_top_build_prefix&;t t
22486 s&@srcdir@&$ac_srcdir&;t t
22487 s&@abs_srcdir@&$ac_abs_srcdir&;t t
22488 s&@top_srcdir@&$ac_top_srcdir&;t t
22489 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
22490 s&@builddir@&$ac_builddir&;t t
22491 s&@abs_builddir@&$ac_abs_builddir&;t t
22492 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
22493 $ac_datarootdir_hack
22495 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
22496 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22498 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
22499 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
22500 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
22501 "$ac_tmp/out"`; test -z "$ac_out"; } &&
22502 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22503 which seems to be undefined. Please make sure it is defined" >&5
22504 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
22505 which seems to be undefined. Please make sure it is defined" >&2;}
22507 rm -f "$ac_tmp/stdin"
22508 case $ac_file in
22509 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
22510 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
22511 esac \
22512 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22516 # CONFIG_HEADER
22518 if test x"$ac_file" != x-; then
22520 $as_echo "/* $configure_input */" \
22521 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
22522 } >"$ac_tmp/config.h" \
22523 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22524 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
22525 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
22526 $as_echo "$as_me: $ac_file is unchanged" >&6;}
22527 else
22528 rm -f "$ac_file"
22529 mv "$ac_tmp/config.h" "$ac_file" \
22530 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
22532 else
22533 $as_echo "/* $configure_input */" \
22534 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
22535 || as_fn_error $? "could not create -" "$LINENO" 5
22540 # CONFIG_LINK
22543 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
22545 else
22546 # Prefer the file from the source tree if names are identical.
22547 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
22548 ac_source=$srcdir/$ac_source
22551 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
22552 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
22554 if test ! -r "$ac_source"; then
22555 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
22557 rm -f "$ac_file"
22559 # Try a relative symlink, then a hard link, then a copy.
22560 case $ac_source in
22561 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
22562 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
22563 esac
22564 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
22565 ln "$ac_source" "$ac_file" 2>/dev/null ||
22566 cp -p "$ac_source" "$ac_file" ||
22567 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
22570 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
22571 $as_echo "$as_me: executing $ac_file commands" >&6;}
22573 esac
22576 case $ac_file$ac_mode in
22577 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
22578 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
22579 "Makefile":C) wine_fn_output_makefile Makefile ;;
22581 esac
22582 done # for ac_tag
22585 as_fn_exit 0
22586 _ACEOF
22587 ac_clean_files=$ac_clean_files_save
22589 test $ac_write_fail = 0 ||
22590 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
22593 # configure is writing to config.log, and then calls config.status.
22594 # config.status does its own redirection, appending to config.log.
22595 # Unfortunately, on DOS this fails, as config.log is still kept open
22596 # by configure, so config.status won't be able to write to it; its
22597 # output is simply discarded. So we exec the FD to /dev/null,
22598 # effectively closing config.log, so it can be properly (re)opened and
22599 # appended to by config.status. When coming back to configure, we
22600 # need to make the FD available again.
22601 if test "$no_create" != yes; then
22602 ac_cs_success=:
22603 ac_config_status_args=
22604 test "$silent" = yes &&
22605 ac_config_status_args="$ac_config_status_args --quiet"
22606 exec 5>/dev/null
22607 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
22608 exec 5>>config.log
22609 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
22610 # would make configure fail if this is the last instruction.
22611 $ac_cs_success || as_fn_exit 1
22613 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
22614 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
22615 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
22619 if test "$no_create" = "yes"
22620 then
22621 exit 0
22624 ac_save_IFS="$IFS"
22625 if test "x$wine_notices" != x; then
22626 echo >&6
22627 IFS="|"
22628 for msg in $wine_notices; do
22629 IFS="$ac_save_IFS"
22630 if ${msg:+false} :; then :
22632 else
22633 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
22634 $as_echo "$as_me: $msg" >&6;}
22636 done
22638 IFS="|"
22639 for msg in $wine_warnings; do
22640 IFS="$ac_save_IFS"
22641 if ${msg:+false} :; then :
22643 else
22644 echo >&2
22645 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
22646 $as_echo "$as_me: WARNING: $msg" >&2;}
22648 done
22649 IFS="$ac_save_IFS"
22651 $as_echo "
22652 $as_me: Finished. Do '${ac_make}' to compile Wine.
22653 " >&6