msvcrt/tests: Add _strupr tests.
[wine.git] / configure
blob63245740a145a440c9161651f3c91fffd80913a0
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 3.4.
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='3.4'
584 PACKAGE_STRING='Wine 3.4'
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 WINELOADER_INSTALL
628 ALL_VARS_RULES
629 LDAP_LIBS
630 LDAP_CFLAGS
631 RT_LIBS
632 POLL_LIBS
633 DL_LIBS
634 TOOLSEXT
635 UNWINDFLAGS
636 EXCESS_PRECISION_CFLAGS
637 BUILTINFLAG
638 EXTRACFLAGS
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 SDL2_LIBS
662 SDL2_CFLAGS
663 UDEV_LIBS
664 UDEV_CFLAGS
665 OSS4_CFLAGS
666 ALSA_LIBS
667 GSTREAMER_LIBS
668 GSTREAMER_CFLAGS
669 PULSE_LIBS
670 PULSE_CFLAGS
671 GETTEXTPO_LIBS
672 Z_LIBS
673 FREETYPE_LIBS
674 FREETYPE_CFLAGS
675 LCMS2_LIBS
676 LCMS2_CFLAGS
677 RESOLV_LIBS
678 GPHOTO2_PORT_LIBS
679 GPHOTO2_PORT_CFLAGS
680 GPHOTO2_LIBS
681 GPHOTO2_CFLAGS
682 SANE_LIBS
683 SANE_CFLAGS
684 GNUTLS_LIBS
685 GNUTLS_CFLAGS
686 HAL_LIBS
687 HAL_CFLAGS
688 DBUS_LIBS
689 DBUS_CFLAGS
690 XSLT_LIBS
691 XSLT_CFLAGS
692 XML2_LIBS
693 XML2_CFLAGS
694 PCAP_LIBS
695 X_EXTRA_LIBS
696 X_LIBS
697 X_PRE_LIBS
698 X_CFLAGS
699 XMKMF
700 PTHREAD_LIBS
701 CROSSCFLAGS
702 CROSSCC
703 CROSSTARGET
704 PRELINK
705 WINELOADER_DEPENDS
706 CARBON_LIBS
707 QUICKTIME_LIBS
708 OPENCL_LIBS
709 OPENAL_LIBS
710 COREAUDIO_LIBS
711 SECURITY_LIBS
712 DISKARBITRATION_LIBS
713 APPKIT_LIBS
714 CORESERVICES_LIBS
715 APPLICATIONSERVICES_LIBS
716 FORCEFEEDBACK_LIBS
717 IOKIT_LIBS
718 COREFOUNDATION_LIBS
719 LIBWINE_DEPENDS
720 LIBWINE_LDFLAGS
721 LIBWINE_INSTALL_DEV
722 LIBWINE_INSTALL_LIB
723 LIBWINE_IMPORTLIB
724 LIBWINE_SHAREDLIB
725 SOCKET_LIBS
726 DLLTOOL
727 WINELOADER_PROGRAMS
728 CONFIGURE_TARGETS
729 DISABLED_SUBDIRS
730 SUBDIRS
731 READELF
732 OTOOL
734 WINELOADER_LDFLAGS
735 LDEXECFLAGS
736 LDRPATH_LOCAL
737 LDRPATH_INSTALL
738 DLLFLAGS
740 OPENGL_LIBS
741 ICOTOOL
742 CONVERT
743 RSVG
744 FONTFORGE
745 PKG_CONFIG
746 MSGFMT
747 LDCONFIG
748 EGREP
749 GREP
750 LN_S
751 RANLIB
752 ARFLAGS
753 STRIP
754 ac_ct_AR
756 BISON
757 FLEX
758 TOOLSDIR
759 wine64_disable
760 TARGETFLAGS
762 CPPBIN
763 ac_ct_CXX
764 CXXFLAGS
766 OBJEXT
767 EXEEXT
768 ac_ct_CC
769 CPPFLAGS
770 LDFLAGS
771 CFLAGS
773 SET_MAKE
774 host_os
775 host_vendor
776 host_cpu
777 host
778 build_os
779 build_vendor
780 build_cpu
781 build
782 target_alias
783 host_alias
784 build_alias
785 LIBS
786 ECHO_T
787 ECHO_N
788 ECHO_C
789 DEFS
790 mandir
791 localedir
792 libdir
793 psdir
794 pdfdir
795 dvidir
796 htmldir
797 infodir
798 docdir
799 oldincludedir
800 includedir
801 runstatedir
802 localstatedir
803 sharedstatedir
804 sysconfdir
805 datadir
806 datarootdir
807 libexecdir
808 sbindir
809 bindir
810 program_transform_name
811 prefix
812 exec_prefix
813 PACKAGE_URL
814 PACKAGE_BUGREPORT
815 PACKAGE_STRING
816 PACKAGE_VERSION
817 PACKAGE_TARNAME
818 PACKAGE_NAME
819 PATH_SEPARATOR
820 SHELL'
821 ac_subst_files=''
822 ac_user_opts='
823 enable_option_checking
824 enable_win16
825 enable_win64
826 enable_tests
827 enable_maintainer_mode
828 with_alsa
829 with_capi
830 with_cms
831 with_coreaudio
832 with_cups
833 with_curses
834 with_dbus
835 with_float_abi
836 with_fontconfig
837 with_freetype
838 with_gettext
839 with_gettextpo
840 with_gphoto
841 with_glu
842 with_gnutls
843 with_gsm
844 with_gssapi
845 with_gstreamer
846 with_hal
847 with_jpeg
848 with_krb5
849 with_ldap
850 with_mpg123
851 with_netapi
852 with_openal
853 with_opencl
854 with_opengl
855 with_osmesa
856 with_oss
857 with_pcap
858 with_png
859 with_pthread
860 with_pulse
861 with_sane
862 with_sdl
863 with_tiff
864 with_udev
865 with_v4l
866 with_vulkan
867 with_xcomposite
868 with_xcursor
869 with_xfixes
870 with_xinerama
871 with_xinput
872 with_xinput2
873 with_xml
874 with_xrandr
875 with_xrender
876 with_xshape
877 with_xshm
878 with_xslt
879 with_xxf86vm
880 with_zlib
881 with_wine_tools
882 with_wine64
883 enable_largefile
884 with_x
885 enable_acledit
886 enable_aclui
887 enable_activeds
888 enable_actxprxy
889 enable_adsiid
890 enable_adsldp
891 enable_adsldpc
892 enable_advapi32
893 enable_advpack
894 enable_amstream
895 enable_api_ms_win_appmodel_identity_l1_1_0
896 enable_api_ms_win_appmodel_runtime_l1_1_1
897 enable_api_ms_win_appmodel_runtime_l1_1_2
898 enable_api_ms_win_core_apiquery_l1_1_0
899 enable_api_ms_win_core_appcompat_l1_1_1
900 enable_api_ms_win_core_appinit_l1_1_0
901 enable_api_ms_win_core_atoms_l1_1_0
902 enable_api_ms_win_core_bem_l1_1_0
903 enable_api_ms_win_core_com_l1_1_0
904 enable_api_ms_win_core_com_l1_1_1
905 enable_api_ms_win_core_com_private_l1_1_0
906 enable_api_ms_win_core_console_l1_1_0
907 enable_api_ms_win_core_console_l2_1_0
908 enable_api_ms_win_core_crt_l1_1_0
909 enable_api_ms_win_core_crt_l2_1_0
910 enable_api_ms_win_core_datetime_l1_1_0
911 enable_api_ms_win_core_datetime_l1_1_1
912 enable_api_ms_win_core_debug_l1_1_0
913 enable_api_ms_win_core_debug_l1_1_1
914 enable_api_ms_win_core_delayload_l1_1_0
915 enable_api_ms_win_core_delayload_l1_1_1
916 enable_api_ms_win_core_errorhandling_l1_1_0
917 enable_api_ms_win_core_errorhandling_l1_1_1
918 enable_api_ms_win_core_errorhandling_l1_1_2
919 enable_api_ms_win_core_errorhandling_l1_1_3
920 enable_api_ms_win_core_fibers_l1_1_0
921 enable_api_ms_win_core_fibers_l1_1_1
922 enable_api_ms_win_core_file_l1_1_0
923 enable_api_ms_win_core_file_l1_2_0
924 enable_api_ms_win_core_file_l1_2_1
925 enable_api_ms_win_core_file_l1_2_2
926 enable_api_ms_win_core_file_l2_1_0
927 enable_api_ms_win_core_file_l2_1_1
928 enable_api_ms_win_core_file_l2_1_2
929 enable_api_ms_win_core_handle_l1_1_0
930 enable_api_ms_win_core_heap_l1_1_0
931 enable_api_ms_win_core_heap_l1_2_0
932 enable_api_ms_win_core_heap_l2_1_0
933 enable_api_ms_win_core_heap_obsolete_l1_1_0
934 enable_api_ms_win_core_interlocked_l1_1_0
935 enable_api_ms_win_core_interlocked_l1_2_0
936 enable_api_ms_win_core_io_l1_1_0
937 enable_api_ms_win_core_io_l1_1_1
938 enable_api_ms_win_core_job_l1_1_0
939 enable_api_ms_win_core_job_l2_1_0
940 enable_api_ms_win_core_kernel32_legacy_l1_1_0
941 enable_api_ms_win_core_kernel32_legacy_l1_1_1
942 enable_api_ms_win_core_kernel32_private_l1_1_1
943 enable_api_ms_win_core_largeinteger_l1_1_0
944 enable_api_ms_win_core_libraryloader_l1_1_0
945 enable_api_ms_win_core_libraryloader_l1_1_1
946 enable_api_ms_win_core_libraryloader_l1_2_0
947 enable_api_ms_win_core_libraryloader_l1_2_1
948 enable_api_ms_win_core_libraryloader_l1_2_2
949 enable_api_ms_win_core_localization_l1_1_0
950 enable_api_ms_win_core_localization_l1_2_0
951 enable_api_ms_win_core_localization_l1_2_1
952 enable_api_ms_win_core_localization_l2_1_0
953 enable_api_ms_win_core_localization_obsolete_l1_1_0
954 enable_api_ms_win_core_localization_obsolete_l1_2_0
955 enable_api_ms_win_core_localization_obsolete_l1_3_0
956 enable_api_ms_win_core_localization_private_l1_1_0
957 enable_api_ms_win_core_localregistry_l1_1_0
958 enable_api_ms_win_core_memory_l1_1_0
959 enable_api_ms_win_core_memory_l1_1_1
960 enable_api_ms_win_core_memory_l1_1_2
961 enable_api_ms_win_core_misc_l1_1_0
962 enable_api_ms_win_core_namedpipe_l1_1_0
963 enable_api_ms_win_core_namedpipe_l1_2_0
964 enable_api_ms_win_core_namespace_l1_1_0
965 enable_api_ms_win_core_normalization_l1_1_0
966 enable_api_ms_win_core_path_l1_1_0
967 enable_api_ms_win_core_privateprofile_l1_1_1
968 enable_api_ms_win_core_processenvironment_l1_1_0
969 enable_api_ms_win_core_processenvironment_l1_2_0
970 enable_api_ms_win_core_processthreads_l1_1_0
971 enable_api_ms_win_core_processthreads_l1_1_1
972 enable_api_ms_win_core_processthreads_l1_1_2
973 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
974 enable_api_ms_win_core_profile_l1_1_0
975 enable_api_ms_win_core_psapi_ansi_l1_1_0
976 enable_api_ms_win_core_psapi_l1_1_0
977 enable_api_ms_win_core_psapi_obsolete_l1_1_0
978 enable_api_ms_win_core_quirks_l1_1_0
979 enable_api_ms_win_core_realtime_l1_1_0
980 enable_api_ms_win_core_registry_l1_1_0
981 enable_api_ms_win_core_registry_l2_1_0
982 enable_api_ms_win_core_registryuserspecific_l1_1_0
983 enable_api_ms_win_core_rtlsupport_l1_1_0
984 enable_api_ms_win_core_rtlsupport_l1_2_0
985 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
986 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
987 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
988 enable_api_ms_win_core_shutdown_l1_1_0
989 enable_api_ms_win_core_sidebyside_l1_1_0
990 enable_api_ms_win_core_string_l1_1_0
991 enable_api_ms_win_core_string_l2_1_0
992 enable_api_ms_win_core_string_obsolete_l1_1_0
993 enable_api_ms_win_core_stringansi_l1_1_0
994 enable_api_ms_win_core_synch_ansi_l1_1_0
995 enable_api_ms_win_core_synch_l1_1_0
996 enable_api_ms_win_core_synch_l1_2_0
997 enable_api_ms_win_core_synch_l1_2_1
998 enable_api_ms_win_core_sysinfo_l1_1_0
999 enable_api_ms_win_core_sysinfo_l1_2_0
1000 enable_api_ms_win_core_sysinfo_l1_2_1
1001 enable_api_ms_win_core_threadpool_l1_1_0
1002 enable_api_ms_win_core_threadpool_l1_2_0
1003 enable_api_ms_win_core_threadpool_legacy_l1_1_0
1004 enable_api_ms_win_core_threadpool_private_l1_1_0
1005 enable_api_ms_win_core_timezone_l1_1_0
1006 enable_api_ms_win_core_toolhelp_l1_1_0
1007 enable_api_ms_win_core_url_l1_1_0
1008 enable_api_ms_win_core_util_l1_1_0
1009 enable_api_ms_win_core_version_l1_1_0
1010 enable_api_ms_win_core_version_l1_1_1
1011 enable_api_ms_win_core_version_private_l1_1_0
1012 enable_api_ms_win_core_versionansi_l1_1_0
1013 enable_api_ms_win_core_windowserrorreporting_l1_1_0
1014 enable_api_ms_win_core_winrt_error_l1_1_0
1015 enable_api_ms_win_core_winrt_error_l1_1_1
1016 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
1017 enable_api_ms_win_core_winrt_l1_1_0
1018 enable_api_ms_win_core_winrt_registration_l1_1_0
1019 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
1020 enable_api_ms_win_core_winrt_string_l1_1_0
1021 enable_api_ms_win_core_wow64_l1_1_0
1022 enable_api_ms_win_core_wow64_l1_1_1
1023 enable_api_ms_win_core_xstate_l1_1_0
1024 enable_api_ms_win_core_xstate_l2_1_0
1025 enable_api_ms_win_crt_conio_l1_1_0
1026 enable_api_ms_win_crt_convert_l1_1_0
1027 enable_api_ms_win_crt_environment_l1_1_0
1028 enable_api_ms_win_crt_filesystem_l1_1_0
1029 enable_api_ms_win_crt_heap_l1_1_0
1030 enable_api_ms_win_crt_locale_l1_1_0
1031 enable_api_ms_win_crt_math_l1_1_0
1032 enable_api_ms_win_crt_multibyte_l1_1_0
1033 enable_api_ms_win_crt_private_l1_1_0
1034 enable_api_ms_win_crt_process_l1_1_0
1035 enable_api_ms_win_crt_runtime_l1_1_0
1036 enable_api_ms_win_crt_stdio_l1_1_0
1037 enable_api_ms_win_crt_string_l1_1_0
1038 enable_api_ms_win_crt_time_l1_1_0
1039 enable_api_ms_win_crt_utility_l1_1_0
1040 enable_api_ms_win_devices_config_l1_1_1
1041 enable_api_ms_win_devices_query_l1_1_1
1042 enable_api_ms_win_downlevel_advapi32_l1_1_0
1043 enable_api_ms_win_downlevel_advapi32_l2_1_0
1044 enable_api_ms_win_downlevel_normaliz_l1_1_0
1045 enable_api_ms_win_downlevel_ole32_l1_1_0
1046 enable_api_ms_win_downlevel_shell32_l1_1_0
1047 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1048 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1049 enable_api_ms_win_downlevel_user32_l1_1_0
1050 enable_api_ms_win_downlevel_version_l1_1_0
1051 enable_api_ms_win_dx_d3dkmt_l1_1_0
1052 enable_api_ms_win_eventing_classicprovider_l1_1_0
1053 enable_api_ms_win_eventing_consumer_l1_1_0
1054 enable_api_ms_win_eventing_controller_l1_1_0
1055 enable_api_ms_win_eventing_legacy_l1_1_0
1056 enable_api_ms_win_eventing_provider_l1_1_0
1057 enable_api_ms_win_eventlog_legacy_l1_1_0
1058 enable_api_ms_win_gdi_dpiinfo_l1_1_0
1059 enable_api_ms_win_mm_joystick_l1_1_0
1060 enable_api_ms_win_mm_misc_l1_1_1
1061 enable_api_ms_win_mm_mme_l1_1_0
1062 enable_api_ms_win_mm_time_l1_1_0
1063 enable_api_ms_win_ntuser_dc_access_l1_1_0
1064 enable_api_ms_win_ntuser_rectangle_l1_1_0
1065 enable_api_ms_win_perf_legacy_l1_1_0
1066 enable_api_ms_win_power_base_l1_1_0
1067 enable_api_ms_win_power_setting_l1_1_0
1068 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
1069 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1070 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
1071 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
1072 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
1073 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
1074 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
1075 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1076 enable_api_ms_win_security_audit_l1_1_1
1077 enable_api_ms_win_security_base_l1_1_0
1078 enable_api_ms_win_security_base_l1_2_0
1079 enable_api_ms_win_security_base_private_l1_1_1
1080 enable_api_ms_win_security_credentials_l1_1_0
1081 enable_api_ms_win_security_grouppolicy_l1_1_0
1082 enable_api_ms_win_security_lsalookup_l1_1_0
1083 enable_api_ms_win_security_lsalookup_l1_1_1
1084 enable_api_ms_win_security_lsalookup_l2_1_0
1085 enable_api_ms_win_security_lsalookup_l2_1_1
1086 enable_api_ms_win_security_lsapolicy_l1_1_0
1087 enable_api_ms_win_security_provider_l1_1_0
1088 enable_api_ms_win_security_sddl_l1_1_0
1089 enable_api_ms_win_security_systemfunctions_l1_1_0
1090 enable_api_ms_win_service_core_l1_1_0
1091 enable_api_ms_win_service_core_l1_1_1
1092 enable_api_ms_win_service_management_l1_1_0
1093 enable_api_ms_win_service_management_l2_1_0
1094 enable_api_ms_win_service_private_l1_1_1
1095 enable_api_ms_win_service_winsvc_l1_1_0
1096 enable_api_ms_win_service_winsvc_l1_2_0
1097 enable_api_ms_win_shcore_obsolete_l1_1_0
1098 enable_api_ms_win_shcore_scaling_l1_1_1
1099 enable_api_ms_win_shcore_stream_l1_1_0
1100 enable_api_ms_win_shcore_thread_l1_1_0
1101 enable_api_ms_win_shell_shellcom_l1_1_0
1102 enable_api_ms_win_shell_shellfolders_l1_1_0
1103 enable_apphelp
1104 enable_appwiz_cpl
1105 enable_atl
1106 enable_atl100
1107 enable_atl110
1108 enable_atl80
1109 enable_atl90
1110 enable_authz
1111 enable_avicap32
1112 enable_avifil32
1113 enable_avrt
1114 enable_bcrypt
1115 enable_bluetoothapis
1116 enable_browseui
1117 enable_bthprops_cpl
1118 enable_cabinet
1119 enable_capi2032
1120 enable_cards
1121 enable_cdosys
1122 enable_cfgmgr32
1123 enable_clusapi
1124 enable_combase
1125 enable_comcat
1126 enable_comctl32
1127 enable_comdlg32
1128 enable_compstui
1129 enable_comsvcs
1130 enable_concrt140
1131 enable_connect
1132 enable_credui
1133 enable_crtdll
1134 enable_crypt32
1135 enable_cryptdlg
1136 enable_cryptdll
1137 enable_cryptext
1138 enable_cryptnet
1139 enable_cryptui
1140 enable_ctapi32
1141 enable_ctl3d32
1142 enable_d2d1
1143 enable_d3d10
1144 enable_d3d10_1
1145 enable_d3d10core
1146 enable_d3d11
1147 enable_d3d12
1148 enable_d3d8
1149 enable_d3d9
1150 enable_d3dcompiler_33
1151 enable_d3dcompiler_34
1152 enable_d3dcompiler_35
1153 enable_d3dcompiler_36
1154 enable_d3dcompiler_37
1155 enable_d3dcompiler_38
1156 enable_d3dcompiler_39
1157 enable_d3dcompiler_40
1158 enable_d3dcompiler_41
1159 enable_d3dcompiler_42
1160 enable_d3dcompiler_43
1161 enable_d3dcompiler_46
1162 enable_d3dcompiler_47
1163 enable_d3dim
1164 enable_d3drm
1165 enable_d3dx10_33
1166 enable_d3dx10_34
1167 enable_d3dx10_35
1168 enable_d3dx10_36
1169 enable_d3dx10_37
1170 enable_d3dx10_38
1171 enable_d3dx10_39
1172 enable_d3dx10_40
1173 enable_d3dx10_41
1174 enable_d3dx10_42
1175 enable_d3dx10_43
1176 enable_d3dx11_42
1177 enable_d3dx11_43
1178 enable_d3dx9_24
1179 enable_d3dx9_25
1180 enable_d3dx9_26
1181 enable_d3dx9_27
1182 enable_d3dx9_28
1183 enable_d3dx9_29
1184 enable_d3dx9_30
1185 enable_d3dx9_31
1186 enable_d3dx9_32
1187 enable_d3dx9_33
1188 enable_d3dx9_34
1189 enable_d3dx9_35
1190 enable_d3dx9_36
1191 enable_d3dx9_37
1192 enable_d3dx9_38
1193 enable_d3dx9_39
1194 enable_d3dx9_40
1195 enable_d3dx9_41
1196 enable_d3dx9_42
1197 enable_d3dx9_43
1198 enable_d3dxof
1199 enable_davclnt
1200 enable_dbgeng
1201 enable_dbghelp
1202 enable_dciman32
1203 enable_ddraw
1204 enable_ddrawex
1205 enable_devenum
1206 enable_dhcpcsvc
1207 enable_dhtmled_ocx
1208 enable_difxapi
1209 enable_dinput
1210 enable_dinput8
1211 enable_dispex
1212 enable_dmband
1213 enable_dmcompos
1214 enable_dmime
1215 enable_dmloader
1216 enable_dmscript
1217 enable_dmstyle
1218 enable_dmsynth
1219 enable_dmusic
1220 enable_dmusic32
1221 enable_dnsapi
1222 enable_dplay
1223 enable_dplayx
1224 enable_dpnaddr
1225 enable_dpnet
1226 enable_dpnhpast
1227 enable_dpnlobby
1228 enable_dpvoice
1229 enable_dpwsockx
1230 enable_drmclien
1231 enable_dsound
1232 enable_dsquery
1233 enable_dssenh
1234 enable_dswave
1235 enable_dwmapi
1236 enable_dwrite
1237 enable_dx8vb
1238 enable_dxdiagn
1239 enable_dxerr8
1240 enable_dxerr9
1241 enable_dxgi
1242 enable_dxguid
1243 enable_dxva2
1244 enable_esent
1245 enable_evr
1246 enable_explorerframe
1247 enable_ext_ms_win_authz_context_l1_1_0
1248 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1249 enable_ext_ms_win_dwmapi_ext_l1_1_0
1250 enable_ext_ms_win_gdi_dc_create_l1_1_1
1251 enable_ext_ms_win_gdi_dc_l1_2_0
1252 enable_ext_ms_win_gdi_devcaps_l1_1_0
1253 enable_ext_ms_win_gdi_draw_l1_1_1
1254 enable_ext_ms_win_gdi_render_l1_1_0
1255 enable_ext_ms_win_kernel32_package_current_l1_1_0
1256 enable_ext_ms_win_kernel32_package_l1_1_1
1257 enable_ext_ms_win_ntuser_draw_l1_1_0
1258 enable_ext_ms_win_ntuser_gui_l1_3_0
1259 enable_ext_ms_win_ntuser_keyboard_l1_3_0
1260 enable_ext_ms_win_ntuser_message_l1_1_1
1261 enable_ext_ms_win_ntuser_misc_l1_5_1
1262 enable_ext_ms_win_ntuser_mouse_l1_1_0
1263 enable_ext_ms_win_ntuser_private_l1_1_1
1264 enable_ext_ms_win_ntuser_private_l1_3_1
1265 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1266 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1267 enable_ext_ms_win_ntuser_window_l1_1_1
1268 enable_ext_ms_win_ntuser_window_l1_1_4
1269 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1270 enable_ext_ms_win_oleacc_l1_1_0
1271 enable_ext_ms_win_ras_rasapi32_l1_1_0
1272 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
1273 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1274 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1275 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
1276 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1277 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1278 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
1279 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
1280 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
1281 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1282 enable_ext_ms_win_security_credui_l1_1_0
1283 enable_ext_ms_win_security_cryptui_l1_1_0
1284 enable_faultrep
1285 enable_fltlib
1286 enable_fltmgr_sys
1287 enable_fntcache
1288 enable_fontsub
1289 enable_fusion
1290 enable_fwpuclnt
1291 enable_gameux
1292 enable_gdi32
1293 enable_gdiplus
1294 enable_glu32
1295 enable_gphoto2_ds
1296 enable_gpkcsp
1297 enable_hal
1298 enable_hhctrl_ocx
1299 enable_hid
1300 enable_hidclass_sys
1301 enable_hlink
1302 enable_hnetcfg
1303 enable_httpapi
1304 enable_iccvid
1305 enable_icmp
1306 enable_ieframe
1307 enable_ieproxy
1308 enable_imaadp32_acm
1309 enable_imagehlp
1310 enable_imm32
1311 enable_inetcomm
1312 enable_inetcpl_cpl
1313 enable_inetmib1
1314 enable_infosoft
1315 enable_initpki
1316 enable_inkobj
1317 enable_inseng
1318 enable_iphlpapi
1319 enable_iprop
1320 enable_irprops_cpl
1321 enable_itircl
1322 enable_itss
1323 enable_joy_cpl
1324 enable_jscript
1325 enable_jsproxy
1326 enable_kerberos
1327 enable_kernel32
1328 enable_kernelbase
1329 enable_ksuser
1330 enable_ktmw32
1331 enable_l3codeca_acm
1332 enable_loadperf
1333 enable_localspl
1334 enable_localui
1335 enable_lz32
1336 enable_mapi32
1337 enable_mapistub
1338 enable_mciavi32
1339 enable_mcicda
1340 enable_mciqtz32
1341 enable_mciseq
1342 enable_mciwave
1343 enable_mf
1344 enable_mf3216
1345 enable_mfplat
1346 enable_mfreadwrite
1347 enable_mfuuid
1348 enable_mgmtapi
1349 enable_midimap
1350 enable_mlang
1351 enable_mmcndmgr
1352 enable_mmdevapi
1353 enable_mountmgr_sys
1354 enable_mpr
1355 enable_mprapi
1356 enable_msacm32_drv
1357 enable_msacm32
1358 enable_msadp32_acm
1359 enable_msasn1
1360 enable_mscat32
1361 enable_mscms
1362 enable_mscoree
1363 enable_msctf
1364 enable_msctfp
1365 enable_msdaps
1366 enable_msdelta
1367 enable_msdmo
1368 enable_msdrm
1369 enable_msftedit
1370 enable_msg711_acm
1371 enable_msgsm32_acm
1372 enable_mshtml_tlb
1373 enable_mshtml
1374 enable_msi
1375 enable_msident
1376 enable_msimg32
1377 enable_msimsg
1378 enable_msimtf
1379 enable_msisip
1380 enable_msisys_ocx
1381 enable_msls31
1382 enable_msnet32
1383 enable_mspatcha
1384 enable_msports
1385 enable_msrle32
1386 enable_msscript_ocx
1387 enable_mssign32
1388 enable_mssip32
1389 enable_mstask
1390 enable_msvcirt
1391 enable_msvcm80
1392 enable_msvcm90
1393 enable_msvcp100
1394 enable_msvcp110
1395 enable_msvcp120
1396 enable_msvcp120_app
1397 enable_msvcp140
1398 enable_msvcp60
1399 enable_msvcp70
1400 enable_msvcp71
1401 enable_msvcp80
1402 enable_msvcp90
1403 enable_msvcr100
1404 enable_msvcr110
1405 enable_msvcr120
1406 enable_msvcr120_app
1407 enable_msvcr70
1408 enable_msvcr71
1409 enable_msvcr80
1410 enable_msvcr90
1411 enable_msvcrt
1412 enable_msvcrt20
1413 enable_msvcrt40
1414 enable_msvcrtd
1415 enable_msvfw32
1416 enable_msvidc32
1417 enable_mswsock
1418 enable_msxml
1419 enable_msxml2
1420 enable_msxml3
1421 enable_msxml4
1422 enable_msxml6
1423 enable_mtxdm
1424 enable_ncrypt
1425 enable_nddeapi
1426 enable_ndis_sys
1427 enable_netapi32
1428 enable_netcfgx
1429 enable_netprofm
1430 enable_newdev
1431 enable_ninput
1432 enable_normaliz
1433 enable_npmshtml
1434 enable_npptools
1435 enable_ntdll
1436 enable_ntdsapi
1437 enable_ntoskrnl_exe
1438 enable_ntprint
1439 enable_objsel
1440 enable_odbc32
1441 enable_odbccp32
1442 enable_odbccu32
1443 enable_ole32
1444 enable_oleacc
1445 enable_oleaut32
1446 enable_olecli32
1447 enable_oledb32
1448 enable_oledlg
1449 enable_olepro32
1450 enable_olesvr32
1451 enable_olethk32
1452 enable_openal32
1453 enable_opencl
1454 enable_opengl32
1455 enable_packager
1456 enable_pdh
1457 enable_photometadatahandler
1458 enable_pidgen
1459 enable_powrprof
1460 enable_printui
1461 enable_prntvpt
1462 enable_propsys
1463 enable_psapi
1464 enable_pstorec
1465 enable_qcap
1466 enable_qedit
1467 enable_qmgr
1468 enable_qmgrprxy
1469 enable_quartz
1470 enable_query
1471 enable_rasapi32
1472 enable_rasdlg
1473 enable_regapi
1474 enable_resutils
1475 enable_riched20
1476 enable_riched32
1477 enable_rpcrt4
1478 enable_rsabase
1479 enable_rsaenh
1480 enable_rstrtmgr
1481 enable_rtutils
1482 enable_samlib
1483 enable_sane_ds
1484 enable_sapi
1485 enable_sas
1486 enable_scarddlg
1487 enable_sccbase
1488 enable_schannel
1489 enable_schedsvc
1490 enable_scrobj
1491 enable_scrrun
1492 enable_scsiport_sys
1493 enable_secur32
1494 enable_security
1495 enable_sensapi
1496 enable_serialui
1497 enable_setupapi
1498 enable_sfc
1499 enable_sfc_os
1500 enable_shcore
1501 enable_shdoclc
1502 enable_shdocvw
1503 enable_shell32
1504 enable_shfolder
1505 enable_shlwapi
1506 enable_slbcsp
1507 enable_slc
1508 enable_snmpapi
1509 enable_softpub
1510 enable_spoolss
1511 enable_sspicli
1512 enable_stdole2_tlb
1513 enable_stdole32_tlb
1514 enable_sti
1515 enable_strmbase
1516 enable_strmdll
1517 enable_strmiids
1518 enable_svrapi
1519 enable_sxs
1520 enable_t2embed
1521 enable_tapi32
1522 enable_taskschd
1523 enable_tdh
1524 enable_tdi_sys
1525 enable_traffic
1526 enable_twain_32
1527 enable_ucrtbase
1528 enable_uiautomationcore
1529 enable_uiribbon
1530 enable_unicows
1531 enable_updspapi
1532 enable_url
1533 enable_urlmon
1534 enable_usbd_sys
1535 enable_user32
1536 enable_userenv
1537 enable_usp10
1538 enable_uuid
1539 enable_uxtheme
1540 enable_vbscript
1541 enable_vcomp
1542 enable_vcomp100
1543 enable_vcomp110
1544 enable_vcomp120
1545 enable_vcomp140
1546 enable_vcomp90
1547 enable_vcruntime140
1548 enable_vdmdbg
1549 enable_version
1550 enable_virtdisk
1551 enable_vssapi
1552 enable_wbemdisp
1553 enable_wbemprox
1554 enable_wdscore
1555 enable_webservices
1556 enable_wer
1557 enable_wevtapi
1558 enable_wiaservc
1559 enable_wimgapi
1560 enable_windowscodecs
1561 enable_windowscodecsext
1562 enable_winealsa_drv
1563 enable_wineandroid_drv
1564 enable_winebus_sys
1565 enable_winecoreaudio_drv
1566 enable_winecrt0
1567 enable_wined3d
1568 enable_winegstreamer
1569 enable_winehid_sys
1570 enable_winejoystick_drv
1571 enable_winemac_drv
1572 enable_winemapi
1573 enable_wineoss_drv
1574 enable_wineps_drv
1575 enable_winepulse_drv
1576 enable_wineqtdecoder
1577 enable_winevulkan
1578 enable_winex11_drv
1579 enable_wing32
1580 enable_winhttp
1581 enable_wininet
1582 enable_winmm
1583 enable_winnls32
1584 enable_winscard
1585 enable_winspool_drv
1586 enable_winsta
1587 enable_wintab32
1588 enable_wintrust
1589 enable_winusb
1590 enable_wlanapi
1591 enable_wldap32
1592 enable_wmasf
1593 enable_wmi
1594 enable_wmiutils
1595 enable_wmp
1596 enable_wmphoto
1597 enable_wmvcore
1598 enable_wnaspi32
1599 enable_wpc
1600 enable_wpcap
1601 enable_ws2_32
1602 enable_wsdapi
1603 enable_wshom_ocx
1604 enable_wsnmp32
1605 enable_wsock32
1606 enable_wtsapi32
1607 enable_wuapi
1608 enable_wuaueng
1609 enable_x3daudio1_0
1610 enable_x3daudio1_1
1611 enable_x3daudio1_2
1612 enable_x3daudio1_3
1613 enable_x3daudio1_4
1614 enable_x3daudio1_5
1615 enable_x3daudio1_6
1616 enable_x3daudio1_7
1617 enable_xapofx1_1
1618 enable_xapofx1_2
1619 enable_xapofx1_3
1620 enable_xapofx1_4
1621 enable_xapofx1_5
1622 enable_xaudio2_0
1623 enable_xaudio2_1
1624 enable_xaudio2_2
1625 enable_xaudio2_3
1626 enable_xaudio2_4
1627 enable_xaudio2_5
1628 enable_xaudio2_6
1629 enable_xaudio2_7
1630 enable_xaudio2_8
1631 enable_xaudio2_9
1632 enable_xinput1_1
1633 enable_xinput1_2
1634 enable_xinput1_3
1635 enable_xinput1_4
1636 enable_xinput9_1_0
1637 enable_xmllite
1638 enable_xolehlp
1639 enable_xpsprint
1640 enable_xpssvcs
1641 enable_fonts
1642 enable_include
1643 enable_port
1644 enable_wine
1645 enable_wpp
1646 enable_loader
1647 enable_po
1648 enable_arp
1649 enable_aspnet_regiis
1650 enable_attrib
1651 enable_cabarc
1652 enable_cacls
1653 enable_clock
1654 enable_cmd
1655 enable_conhost
1656 enable_control
1657 enable_cscript
1658 enable_dpnsvr
1659 enable_dxdiag
1660 enable_eject
1661 enable_expand
1662 enable_explorer
1663 enable_extrac32
1664 enable_findstr
1665 enable_fsutil
1666 enable_hh
1667 enable_hostname
1668 enable_icacls
1669 enable_icinfo
1670 enable_iexplore
1671 enable_ipconfig
1672 enable_lodctr
1673 enable_mofcomp
1674 enable_mshta
1675 enable_msiexec
1676 enable_msinfo32
1677 enable_net
1678 enable_netsh
1679 enable_netstat
1680 enable_ngen
1681 enable_notepad
1682 enable_oleview
1683 enable_ping
1684 enable_plugplay
1685 enable_powershell
1686 enable_presentationfontcache
1687 enable_progman
1688 enable_reg
1689 enable_regasm
1690 enable_regedit
1691 enable_regsvcs
1692 enable_regsvr32
1693 enable_rpcss
1694 enable_rundll32
1695 enable_sc
1696 enable_schtasks
1697 enable_sdbinst
1698 enable_secedit
1699 enable_servicemodelreg
1700 enable_services
1701 enable_shutdown
1702 enable_spoolsv
1703 enable_start
1704 enable_subst
1705 enable_svchost
1706 enable_systeminfo
1707 enable_taskkill
1708 enable_tasklist
1709 enable_taskmgr
1710 enable_termsv
1711 enable_uninstaller
1712 enable_unlodctr
1713 enable_view
1714 enable_wevtutil
1715 enable_wineboot
1716 enable_winebrowser
1717 enable_winecfg
1718 enable_wineconsole
1719 enable_winedbg
1720 enable_winedevice
1721 enable_winefile
1722 enable_winemenubuilder
1723 enable_winemine
1724 enable_winemsibuilder
1725 enable_winepath
1726 enable_winetest
1727 enable_winhlp32
1728 enable_winver
1729 enable_wmic
1730 enable_wmplayer
1731 enable_wordpad
1732 enable_write
1733 enable_wscript
1734 enable_wusa
1735 enable_xcopy
1736 enable_server
1737 enable_tools
1738 enable_sfnt2fon
1739 enable_widl
1740 enable_winebuild
1741 enable_winedump
1742 enable_winegcc
1743 enable_winemaker
1744 enable_wmc
1745 enable_wrc
1747 ac_precious_vars='build_alias
1748 host_alias
1749 target_alias
1751 CFLAGS
1752 LDFLAGS
1753 LIBS
1754 CPPFLAGS
1756 CXXFLAGS
1759 XMKMF
1760 XML2_CFLAGS
1761 XML2_LIBS
1762 XSLT_CFLAGS
1763 XSLT_LIBS
1764 DBUS_CFLAGS
1765 DBUS_LIBS
1766 HAL_CFLAGS
1767 HAL_LIBS
1768 GNUTLS_CFLAGS
1769 GNUTLS_LIBS
1770 SANE_CFLAGS
1771 SANE_LIBS
1772 GPHOTO2_CFLAGS
1773 GPHOTO2_LIBS
1774 GPHOTO2_PORT_CFLAGS
1775 GPHOTO2_PORT_LIBS
1776 LCMS2_CFLAGS
1777 LCMS2_LIBS
1778 FREETYPE_CFLAGS
1779 FREETYPE_LIBS
1780 PULSE_CFLAGS
1781 PULSE_LIBS
1782 GSTREAMER_CFLAGS
1783 GSTREAMER_LIBS
1784 UDEV_CFLAGS
1785 UDEV_LIBS
1786 SDL2_CFLAGS
1787 SDL2_LIBS
1788 CAPI20_CFLAGS
1789 CAPI20_LIBS
1790 CUPS_CFLAGS
1791 CUPS_LIBS
1792 FONTCONFIG_CFLAGS
1793 FONTCONFIG_LIBS
1794 KRB5_CFLAGS
1795 KRB5_LIBS
1796 GSSAPI_CFLAGS
1797 GSSAPI_LIBS
1798 JPEG_CFLAGS
1799 JPEG_LIBS
1800 PNG_CFLAGS
1801 PNG_LIBS
1802 TIFF_CFLAGS
1803 TIFF_LIBS
1804 MPG123_CFLAGS
1805 MPG123_LIBS
1806 NETAPI_CFLAGS
1807 NETAPI_LIBS
1808 LDAP_CFLAGS
1809 LDAP_LIBS'
1812 # Initialize some variables set by options.
1813 ac_init_help=
1814 ac_init_version=false
1815 ac_unrecognized_opts=
1816 ac_unrecognized_sep=
1817 # The variables have the same names as the options, with
1818 # dashes changed to underlines.
1819 cache_file=/dev/null
1820 exec_prefix=NONE
1821 no_create=
1822 no_recursion=
1823 prefix=NONE
1824 program_prefix=NONE
1825 program_suffix=NONE
1826 program_transform_name=s,x,x,
1827 silent=
1828 site=
1829 srcdir=
1830 verbose=
1831 x_includes=NONE
1832 x_libraries=NONE
1834 # Installation directory options.
1835 # These are left unexpanded so users can "make install exec_prefix=/foo"
1836 # and all the variables that are supposed to be based on exec_prefix
1837 # by default will actually change.
1838 # Use braces instead of parens because sh, perl, etc. also accept them.
1839 # (The list follows the same order as the GNU Coding Standards.)
1840 bindir='${exec_prefix}/bin'
1841 sbindir='${exec_prefix}/sbin'
1842 libexecdir='${exec_prefix}/libexec'
1843 datarootdir='${prefix}/share'
1844 datadir='${datarootdir}'
1845 sysconfdir='${prefix}/etc'
1846 sharedstatedir='${prefix}/com'
1847 localstatedir='${prefix}/var'
1848 runstatedir='${localstatedir}/run'
1849 includedir='${prefix}/include'
1850 oldincludedir='/usr/include'
1851 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1852 infodir='${datarootdir}/info'
1853 htmldir='${docdir}'
1854 dvidir='${docdir}'
1855 pdfdir='${docdir}'
1856 psdir='${docdir}'
1857 libdir='${exec_prefix}/lib'
1858 localedir='${datarootdir}/locale'
1859 mandir='${datarootdir}/man'
1861 ac_prev=
1862 ac_dashdash=
1863 for ac_option
1865 # If the previous option needs an argument, assign it.
1866 if test -n "$ac_prev"; then
1867 eval $ac_prev=\$ac_option
1868 ac_prev=
1869 continue
1872 case $ac_option in
1873 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1874 *=) ac_optarg= ;;
1875 *) ac_optarg=yes ;;
1876 esac
1878 # Accept the important Cygnus configure options, so we can diagnose typos.
1880 case $ac_dashdash$ac_option in
1882 ac_dashdash=yes ;;
1884 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1885 ac_prev=bindir ;;
1886 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1887 bindir=$ac_optarg ;;
1889 -build | --build | --buil | --bui | --bu)
1890 ac_prev=build_alias ;;
1891 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1892 build_alias=$ac_optarg ;;
1894 -cache-file | --cache-file | --cache-fil | --cache-fi \
1895 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1896 ac_prev=cache_file ;;
1897 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1898 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1899 cache_file=$ac_optarg ;;
1901 --config-cache | -C)
1902 cache_file=config.cache ;;
1904 -datadir | --datadir | --datadi | --datad)
1905 ac_prev=datadir ;;
1906 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1907 datadir=$ac_optarg ;;
1909 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1910 | --dataroo | --dataro | --datar)
1911 ac_prev=datarootdir ;;
1912 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1913 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1914 datarootdir=$ac_optarg ;;
1916 -disable-* | --disable-*)
1917 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1918 # Reject names that are not valid shell variable names.
1919 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1920 as_fn_error $? "invalid feature name: $ac_useropt"
1921 ac_useropt_orig=$ac_useropt
1922 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1923 case $ac_user_opts in
1925 "enable_$ac_useropt"
1926 "*) ;;
1927 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1928 ac_unrecognized_sep=', ';;
1929 esac
1930 eval enable_$ac_useropt=no ;;
1932 -docdir | --docdir | --docdi | --doc | --do)
1933 ac_prev=docdir ;;
1934 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1935 docdir=$ac_optarg ;;
1937 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1938 ac_prev=dvidir ;;
1939 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1940 dvidir=$ac_optarg ;;
1942 -enable-* | --enable-*)
1943 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1944 # Reject names that are not valid shell variable names.
1945 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1946 as_fn_error $? "invalid feature name: $ac_useropt"
1947 ac_useropt_orig=$ac_useropt
1948 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1949 case $ac_user_opts in
1951 "enable_$ac_useropt"
1952 "*) ;;
1953 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1954 ac_unrecognized_sep=', ';;
1955 esac
1956 eval enable_$ac_useropt=\$ac_optarg ;;
1958 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1959 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1960 | --exec | --exe | --ex)
1961 ac_prev=exec_prefix ;;
1962 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1963 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1964 | --exec=* | --exe=* | --ex=*)
1965 exec_prefix=$ac_optarg ;;
1967 -gas | --gas | --ga | --g)
1968 # Obsolete; use --with-gas.
1969 with_gas=yes ;;
1971 -help | --help | --hel | --he | -h)
1972 ac_init_help=long ;;
1973 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1974 ac_init_help=recursive ;;
1975 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1976 ac_init_help=short ;;
1978 -host | --host | --hos | --ho)
1979 ac_prev=host_alias ;;
1980 -host=* | --host=* | --hos=* | --ho=*)
1981 host_alias=$ac_optarg ;;
1983 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1984 ac_prev=htmldir ;;
1985 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1986 | --ht=*)
1987 htmldir=$ac_optarg ;;
1989 -includedir | --includedir | --includedi | --included | --include \
1990 | --includ | --inclu | --incl | --inc)
1991 ac_prev=includedir ;;
1992 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1993 | --includ=* | --inclu=* | --incl=* | --inc=*)
1994 includedir=$ac_optarg ;;
1996 -infodir | --infodir | --infodi | --infod | --info | --inf)
1997 ac_prev=infodir ;;
1998 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1999 infodir=$ac_optarg ;;
2001 -libdir | --libdir | --libdi | --libd)
2002 ac_prev=libdir ;;
2003 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2004 libdir=$ac_optarg ;;
2006 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2007 | --libexe | --libex | --libe)
2008 ac_prev=libexecdir ;;
2009 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2010 | --libexe=* | --libex=* | --libe=*)
2011 libexecdir=$ac_optarg ;;
2013 -localedir | --localedir | --localedi | --localed | --locale)
2014 ac_prev=localedir ;;
2015 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2016 localedir=$ac_optarg ;;
2018 -localstatedir | --localstatedir | --localstatedi | --localstated \
2019 | --localstate | --localstat | --localsta | --localst | --locals)
2020 ac_prev=localstatedir ;;
2021 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2022 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2023 localstatedir=$ac_optarg ;;
2025 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2026 ac_prev=mandir ;;
2027 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2028 mandir=$ac_optarg ;;
2030 -nfp | --nfp | --nf)
2031 # Obsolete; use --without-fp.
2032 with_fp=no ;;
2034 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2035 | --no-cr | --no-c | -n)
2036 no_create=yes ;;
2038 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2039 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2040 no_recursion=yes ;;
2042 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2043 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2044 | --oldin | --oldi | --old | --ol | --o)
2045 ac_prev=oldincludedir ;;
2046 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2047 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2048 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2049 oldincludedir=$ac_optarg ;;
2051 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2052 ac_prev=prefix ;;
2053 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2054 prefix=$ac_optarg ;;
2056 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2057 | --program-pre | --program-pr | --program-p)
2058 ac_prev=program_prefix ;;
2059 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2060 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2061 program_prefix=$ac_optarg ;;
2063 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2064 | --program-suf | --program-su | --program-s)
2065 ac_prev=program_suffix ;;
2066 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2067 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2068 program_suffix=$ac_optarg ;;
2070 -program-transform-name | --program-transform-name \
2071 | --program-transform-nam | --program-transform-na \
2072 | --program-transform-n | --program-transform- \
2073 | --program-transform | --program-transfor \
2074 | --program-transfo | --program-transf \
2075 | --program-trans | --program-tran \
2076 | --progr-tra | --program-tr | --program-t)
2077 ac_prev=program_transform_name ;;
2078 -program-transform-name=* | --program-transform-name=* \
2079 | --program-transform-nam=* | --program-transform-na=* \
2080 | --program-transform-n=* | --program-transform-=* \
2081 | --program-transform=* | --program-transfor=* \
2082 | --program-transfo=* | --program-transf=* \
2083 | --program-trans=* | --program-tran=* \
2084 | --progr-tra=* | --program-tr=* | --program-t=*)
2085 program_transform_name=$ac_optarg ;;
2087 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2088 ac_prev=pdfdir ;;
2089 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2090 pdfdir=$ac_optarg ;;
2092 -psdir | --psdir | --psdi | --psd | --ps)
2093 ac_prev=psdir ;;
2094 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2095 psdir=$ac_optarg ;;
2097 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2098 | -silent | --silent | --silen | --sile | --sil)
2099 silent=yes ;;
2101 -runstatedir | --runstatedir | --runstatedi | --runstated \
2102 | --runstate | --runstat | --runsta | --runst | --runs \
2103 | --run | --ru | --r)
2104 ac_prev=runstatedir ;;
2105 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2106 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2107 | --run=* | --ru=* | --r=*)
2108 runstatedir=$ac_optarg ;;
2110 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2111 ac_prev=sbindir ;;
2112 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2113 | --sbi=* | --sb=*)
2114 sbindir=$ac_optarg ;;
2116 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2117 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2118 | --sharedst | --shareds | --shared | --share | --shar \
2119 | --sha | --sh)
2120 ac_prev=sharedstatedir ;;
2121 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2122 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2123 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2124 | --sha=* | --sh=*)
2125 sharedstatedir=$ac_optarg ;;
2127 -site | --site | --sit)
2128 ac_prev=site ;;
2129 -site=* | --site=* | --sit=*)
2130 site=$ac_optarg ;;
2132 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2133 ac_prev=srcdir ;;
2134 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2135 srcdir=$ac_optarg ;;
2137 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2138 | --syscon | --sysco | --sysc | --sys | --sy)
2139 ac_prev=sysconfdir ;;
2140 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2141 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2142 sysconfdir=$ac_optarg ;;
2144 -target | --target | --targe | --targ | --tar | --ta | --t)
2145 ac_prev=target_alias ;;
2146 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2147 target_alias=$ac_optarg ;;
2149 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2150 verbose=yes ;;
2152 -version | --version | --versio | --versi | --vers | -V)
2153 ac_init_version=: ;;
2155 -with-* | --with-*)
2156 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2157 # Reject names that are not valid shell variable names.
2158 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2159 as_fn_error $? "invalid package name: $ac_useropt"
2160 ac_useropt_orig=$ac_useropt
2161 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2162 case $ac_user_opts in
2164 "with_$ac_useropt"
2165 "*) ;;
2166 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2167 ac_unrecognized_sep=', ';;
2168 esac
2169 eval with_$ac_useropt=\$ac_optarg ;;
2171 -without-* | --without-*)
2172 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2173 # Reject names that are not valid shell variable names.
2174 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2175 as_fn_error $? "invalid package name: $ac_useropt"
2176 ac_useropt_orig=$ac_useropt
2177 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2178 case $ac_user_opts in
2180 "with_$ac_useropt"
2181 "*) ;;
2182 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2183 ac_unrecognized_sep=', ';;
2184 esac
2185 eval with_$ac_useropt=no ;;
2187 --x)
2188 # Obsolete; use --with-x.
2189 with_x=yes ;;
2191 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2192 | --x-incl | --x-inc | --x-in | --x-i)
2193 ac_prev=x_includes ;;
2194 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2195 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2196 x_includes=$ac_optarg ;;
2198 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2199 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2200 ac_prev=x_libraries ;;
2201 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2202 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2203 x_libraries=$ac_optarg ;;
2205 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2206 Try \`$0 --help' for more information"
2209 *=*)
2210 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2211 # Reject names that are not valid shell variable names.
2212 case $ac_envvar in #(
2213 '' | [0-9]* | *[!_$as_cr_alnum]* )
2214 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2215 esac
2216 eval $ac_envvar=\$ac_optarg
2217 export $ac_envvar ;;
2220 # FIXME: should be removed in autoconf 3.0.
2221 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2222 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2223 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2224 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2227 esac
2228 done
2230 if test -n "$ac_prev"; then
2231 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2232 as_fn_error $? "missing argument to $ac_option"
2235 if test -n "$ac_unrecognized_opts"; then
2236 case $enable_option_checking in
2237 no) ;;
2238 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2239 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2240 esac
2243 # Check all directory arguments for consistency.
2244 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2245 datadir sysconfdir sharedstatedir localstatedir includedir \
2246 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2247 libdir localedir mandir runstatedir
2249 eval ac_val=\$$ac_var
2250 # Remove trailing slashes.
2251 case $ac_val in
2252 */ )
2253 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2254 eval $ac_var=\$ac_val;;
2255 esac
2256 # Be sure to have absolute directory names.
2257 case $ac_val in
2258 [\\/$]* | ?:[\\/]* ) continue;;
2259 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2260 esac
2261 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2262 done
2264 # There might be people who depend on the old broken behavior: `$host'
2265 # used to hold the argument of --host etc.
2266 # FIXME: To remove some day.
2267 build=$build_alias
2268 host=$host_alias
2269 target=$target_alias
2271 # FIXME: To remove some day.
2272 if test "x$host_alias" != x; then
2273 if test "x$build_alias" = x; then
2274 cross_compiling=maybe
2275 elif test "x$build_alias" != "x$host_alias"; then
2276 cross_compiling=yes
2280 ac_tool_prefix=
2281 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2283 test "$silent" = yes && exec 6>/dev/null
2286 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2287 ac_ls_di=`ls -di .` &&
2288 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2289 as_fn_error $? "working directory cannot be determined"
2290 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2291 as_fn_error $? "pwd does not report name of working directory"
2294 # Find the source files, if location was not specified.
2295 if test -z "$srcdir"; then
2296 ac_srcdir_defaulted=yes
2297 # Try the directory containing this script, then the parent directory.
2298 ac_confdir=`$as_dirname -- "$as_myself" ||
2299 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2300 X"$as_myself" : 'X\(//\)[^/]' \| \
2301 X"$as_myself" : 'X\(//\)$' \| \
2302 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2303 $as_echo X"$as_myself" |
2304 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2305 s//\1/
2308 /^X\(\/\/\)[^/].*/{
2309 s//\1/
2312 /^X\(\/\/\)$/{
2313 s//\1/
2316 /^X\(\/\).*/{
2317 s//\1/
2320 s/.*/./; q'`
2321 srcdir=$ac_confdir
2322 if test ! -r "$srcdir/$ac_unique_file"; then
2323 srcdir=..
2325 else
2326 ac_srcdir_defaulted=no
2328 if test ! -r "$srcdir/$ac_unique_file"; then
2329 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2330 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2332 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2333 ac_abs_confdir=`(
2334 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2335 pwd)`
2336 # When building in place, set srcdir=.
2337 if test "$ac_abs_confdir" = "$ac_pwd"; then
2338 srcdir=.
2340 # Remove unnecessary trailing slashes from srcdir.
2341 # Double slashes in file names in object file debugging info
2342 # mess up M-x gdb in Emacs.
2343 case $srcdir in
2344 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2345 esac
2346 for ac_var in $ac_precious_vars; do
2347 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2348 eval ac_env_${ac_var}_value=\$${ac_var}
2349 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2350 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2351 done
2354 # Report the --help message.
2356 if test "$ac_init_help" = "long"; then
2357 # Omit some internal or obsolete options to make the list less imposing.
2358 # This message is too long to be a string in the A/UX 3.1 sh.
2359 cat <<_ACEOF
2360 \`configure' configures Wine 3.4 to adapt to many kinds of systems.
2362 Usage: $0 [OPTION]... [VAR=VALUE]...
2364 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2365 VAR=VALUE. See below for descriptions of some of the useful variables.
2367 Defaults for the options are specified in brackets.
2369 Configuration:
2370 -h, --help display this help and exit
2371 --help=short display options specific to this package
2372 --help=recursive display the short help of all the included packages
2373 -V, --version display version information and exit
2374 -q, --quiet, --silent do not print \`checking ...' messages
2375 --cache-file=FILE cache test results in FILE [disabled]
2376 -C, --config-cache alias for \`--cache-file=config.cache'
2377 -n, --no-create do not create output files
2378 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2380 Installation directories:
2381 --prefix=PREFIX install architecture-independent files in PREFIX
2382 [$ac_default_prefix]
2383 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2384 [PREFIX]
2386 By default, \`make install' will install all the files in
2387 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2388 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2389 for instance \`--prefix=\$HOME'.
2391 For better control, use the options below.
2393 Fine tuning of the installation directories:
2394 --bindir=DIR user executables [EPREFIX/bin]
2395 --sbindir=DIR system admin executables [EPREFIX/sbin]
2396 --libexecdir=DIR program executables [EPREFIX/libexec]
2397 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2398 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2399 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2400 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2401 --libdir=DIR object code libraries [EPREFIX/lib]
2402 --includedir=DIR C header files [PREFIX/include]
2403 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2404 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2405 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2406 --infodir=DIR info documentation [DATAROOTDIR/info]
2407 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2408 --mandir=DIR man documentation [DATAROOTDIR/man]
2409 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2410 --htmldir=DIR html documentation [DOCDIR]
2411 --dvidir=DIR dvi documentation [DOCDIR]
2412 --pdfdir=DIR pdf documentation [DOCDIR]
2413 --psdir=DIR ps documentation [DOCDIR]
2414 _ACEOF
2416 cat <<\_ACEOF
2418 X features:
2419 --x-includes=DIR X include files are in DIR
2420 --x-libraries=DIR X library files are in DIR
2422 System types:
2423 --build=BUILD configure for building on BUILD [guessed]
2424 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2425 _ACEOF
2428 if test -n "$ac_init_help"; then
2429 case $ac_init_help in
2430 short | recursive ) echo "Configuration of Wine 3.4:";;
2431 esac
2432 cat <<\_ACEOF
2434 Optional Features:
2435 --disable-option-checking ignore unrecognized --enable/--with options
2436 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2437 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2438 --disable-win16 do not include Win16 support
2439 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2440 binaries)
2441 --disable-tests do not build the regression tests
2442 --enable-maintainer-mode
2443 enable maintainer-specific build rules
2444 --disable-largefile omit support for large files
2446 Optional Packages:
2447 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2448 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2449 --without-alsa do not use the Alsa sound support
2450 --without-capi do not use CAPI (ISDN support)
2451 --without-cms do not use CMS (color management support)
2452 --without-coreaudio do not use the CoreAudio sound support
2453 --without-cups do not use CUPS
2454 --without-curses do not use (n)curses
2455 --without-dbus do not use DBus (dynamic device support)
2456 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2457 --without-fontconfig do not use fontconfig
2458 --without-freetype do not use the FreeType library
2459 --without-gettext do not use gettext
2460 --with-gettextpo use the GetTextPO library to rebuild po files
2461 --without-gphoto do not use gphoto (Digital Camera support)
2462 --without-glu do not use the GLU library
2463 --without-gnutls do not use GnuTLS (schannel support)
2464 --without-gsm do not use libgsm (GSM 06.10 codec support)
2465 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2466 --without-gstreamer do not use GStreamer (codecs support)
2467 --without-hal do not use HAL (dynamic device support)
2468 --without-jpeg do not use JPEG
2469 --without-krb5 do not use krb5 (Kerberos)
2470 --without-ldap do not use LDAP
2471 --without-mpg123 do not use the mpg123 library
2472 --without-netapi do not use the Samba NetAPI library
2473 --without-openal do not use OpenAL
2474 --without-opencl do not use OpenCL
2475 --without-opengl do not use OpenGL
2476 --without-osmesa do not use the OSMesa library
2477 --without-oss do not use the OSS sound support
2478 --without-pcap do not use the Packet Capture library
2479 --without-png do not use PNG
2480 --without-pthread do not use the pthread library
2481 --without-pulse do not use PulseAudio sound support
2482 --without-sane do not use SANE (scanner support)
2483 --without-sdl do not use SDL
2484 --without-tiff do not use TIFF
2485 --without-udev do not use udev (plug and play support)
2486 --without-v4l do not use v4l1 (v4l support)
2487 --without-vulkan do not use Vulkan
2488 --without-xcomposite do not use the Xcomposite extension
2489 --without-xcursor do not use the Xcursor extension
2490 --without-xfixes do not use Xfixes for clipboard change notifications
2491 --without-xinerama do not use Xinerama (multi-monitor support)
2492 --without-xinput do not use the Xinput extension
2493 --without-xinput2 do not use the Xinput 2 extension
2494 --without-xml do not use XML
2495 --without-xrandr do not use Xrandr (resolution changes)
2496 --without-xrender do not use the Xrender extension
2497 --without-xshape do not use the Xshape extension
2498 --without-xshm do not use XShm (shared memory extension)
2499 --without-xslt do not use XSLT
2500 --without-xxf86vm do not use XFree video mode extension
2501 --without-zlib do not use Zlib (data compression)
2502 --with-wine-tools=DIR use Wine tools from directory DIR
2503 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2504 --with-x use the X Window System
2506 Some influential environment variables:
2507 CC C compiler command
2508 CFLAGS C compiler flags
2509 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2510 nonstandard directory <lib dir>
2511 LIBS libraries to pass to the linker, e.g. -l<library>
2512 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2513 you have headers in a nonstandard directory <include dir>
2514 CXX C++ compiler command
2515 CXXFLAGS C++ compiler flags
2516 CPP C preprocessor
2517 XMKMF Path to xmkmf, Makefile generator for X Window System
2518 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2519 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2520 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2521 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2522 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2523 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2524 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2525 HAL_LIBS Linker flags for hal, overriding pkg-config
2526 GNUTLS_CFLAGS
2527 C compiler flags for gnutls, overriding pkg-config
2528 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2529 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2530 SANE_LIBS Linker flags for libsane, overriding pkg-config
2531 GPHOTO2_CFLAGS
2532 C compiler flags for libgphoto2, overriding pkg-config
2533 GPHOTO2_LIBS
2534 Linker flags for libgphoto2, overriding pkg-config
2535 GPHOTO2_PORT_CFLAGS
2536 C compiler flags for libgphoto2_port, overriding pkg-config
2537 GPHOTO2_PORT_LIBS
2538 Linker flags for libgphoto2_port, overriding pkg-config
2539 LCMS2_CFLAGS
2540 C compiler flags for lcms2, overriding pkg-config
2541 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2542 FREETYPE_CFLAGS
2543 C compiler flags for freetype2, overriding pkg-config
2544 FREETYPE_LIBS
2545 Linker flags for freetype2, overriding pkg-config
2546 PULSE_CFLAGS
2547 C compiler flags for libpulse, overriding pkg-config
2548 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2549 GSTREAMER_CFLAGS
2550 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2551 gstreamer-audio-1.0, overriding pkg-config
2552 GSTREAMER_LIBS
2553 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2554 gstreamer-audio-1.0, overriding pkg-config
2555 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2556 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2557 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2558 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2559 CAPI20_CFLAGS
2560 C compiler flags for capi20, overriding pkg-config
2561 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2562 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2563 CUPS_LIBS Linker flags for cups, overriding pkg-config
2564 FONTCONFIG_CFLAGS
2565 C compiler flags for fontconfig, overriding pkg-config
2566 FONTCONFIG_LIBS
2567 Linker flags for fontconfig, overriding pkg-config
2568 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2569 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2570 GSSAPI_CFLAGS
2571 C compiler flags for krb5-gssapi, overriding pkg-config
2572 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2573 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2574 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2575 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2576 PNG_LIBS Linker flags for libpng, overriding pkg-config
2577 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2578 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2579 MPG123_CFLAGS
2580 C compiler flags for libmpg123, overriding pkg-config
2581 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2582 NETAPI_CFLAGS
2583 C compiler flags for netapi, overriding pkg-config
2584 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2585 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2586 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2588 Use these variables to override the choices made by `configure' or to help
2589 it to find libraries and programs with nonstandard names/locations.
2591 Report bugs to <wine-devel@winehq.org>.
2592 Wine home page: <https://www.winehq.org>.
2593 _ACEOF
2594 ac_status=$?
2597 if test "$ac_init_help" = "recursive"; then
2598 # If there are subdirs, report their specific --help.
2599 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2600 test -d "$ac_dir" ||
2601 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2602 continue
2603 ac_builddir=.
2605 case "$ac_dir" in
2606 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2608 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2609 # A ".." for each directory in $ac_dir_suffix.
2610 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2611 case $ac_top_builddir_sub in
2612 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2613 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2614 esac ;;
2615 esac
2616 ac_abs_top_builddir=$ac_pwd
2617 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2618 # for backward compatibility:
2619 ac_top_builddir=$ac_top_build_prefix
2621 case $srcdir in
2622 .) # We are building in place.
2623 ac_srcdir=.
2624 ac_top_srcdir=$ac_top_builddir_sub
2625 ac_abs_top_srcdir=$ac_pwd ;;
2626 [\\/]* | ?:[\\/]* ) # Absolute name.
2627 ac_srcdir=$srcdir$ac_dir_suffix;
2628 ac_top_srcdir=$srcdir
2629 ac_abs_top_srcdir=$srcdir ;;
2630 *) # Relative name.
2631 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2632 ac_top_srcdir=$ac_top_build_prefix$srcdir
2633 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2634 esac
2635 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2637 cd "$ac_dir" || { ac_status=$?; continue; }
2638 # Check for guested configure.
2639 if test -f "$ac_srcdir/configure.gnu"; then
2640 echo &&
2641 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2642 elif test -f "$ac_srcdir/configure"; then
2643 echo &&
2644 $SHELL "$ac_srcdir/configure" --help=recursive
2645 else
2646 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2647 fi || ac_status=$?
2648 cd "$ac_pwd" || { ac_status=$?; break; }
2649 done
2652 test -n "$ac_init_help" && exit $ac_status
2653 if $ac_init_version; then
2654 cat <<\_ACEOF
2655 Wine configure 3.4
2656 generated by GNU Autoconf 2.69
2658 Copyright (C) 2012 Free Software Foundation, Inc.
2659 This configure script is free software; the Free Software Foundation
2660 gives unlimited permission to copy, distribute and modify it.
2661 _ACEOF
2662 exit
2665 ## ------------------------ ##
2666 ## Autoconf initialization. ##
2667 ## ------------------------ ##
2669 # ac_fn_c_try_compile LINENO
2670 # --------------------------
2671 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2672 ac_fn_c_try_compile ()
2674 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2675 rm -f conftest.$ac_objext
2676 if { { ac_try="$ac_compile"
2677 case "(($ac_try" in
2678 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2679 *) ac_try_echo=$ac_try;;
2680 esac
2681 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2682 $as_echo "$ac_try_echo"; } >&5
2683 (eval "$ac_compile") 2>conftest.err
2684 ac_status=$?
2685 if test -s conftest.err; then
2686 grep -v '^ *+' conftest.err >conftest.er1
2687 cat conftest.er1 >&5
2688 mv -f conftest.er1 conftest.err
2690 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2691 test $ac_status = 0; } && {
2692 test -z "$ac_c_werror_flag" ||
2693 test ! -s conftest.err
2694 } && test -s conftest.$ac_objext; then :
2695 ac_retval=0
2696 else
2697 $as_echo "$as_me: failed program was:" >&5
2698 sed 's/^/| /' conftest.$ac_ext >&5
2700 ac_retval=1
2702 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2703 as_fn_set_status $ac_retval
2705 } # ac_fn_c_try_compile
2707 # ac_fn_cxx_try_compile LINENO
2708 # ----------------------------
2709 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2710 ac_fn_cxx_try_compile ()
2712 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2713 rm -f conftest.$ac_objext
2714 if { { ac_try="$ac_compile"
2715 case "(($ac_try" in
2716 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2717 *) ac_try_echo=$ac_try;;
2718 esac
2719 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2720 $as_echo "$ac_try_echo"; } >&5
2721 (eval "$ac_compile") 2>conftest.err
2722 ac_status=$?
2723 if test -s conftest.err; then
2724 grep -v '^ *+' conftest.err >conftest.er1
2725 cat conftest.er1 >&5
2726 mv -f conftest.er1 conftest.err
2728 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2729 test $ac_status = 0; } && {
2730 test -z "$ac_cxx_werror_flag" ||
2731 test ! -s conftest.err
2732 } && test -s conftest.$ac_objext; then :
2733 ac_retval=0
2734 else
2735 $as_echo "$as_me: failed program was:" >&5
2736 sed 's/^/| /' conftest.$ac_ext >&5
2738 ac_retval=1
2740 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2741 as_fn_set_status $ac_retval
2743 } # ac_fn_cxx_try_compile
2745 # ac_fn_c_try_link LINENO
2746 # -----------------------
2747 # Try to link conftest.$ac_ext, and return whether this succeeded.
2748 ac_fn_c_try_link ()
2750 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2751 rm -f conftest.$ac_objext conftest$ac_exeext
2752 if { { ac_try="$ac_link"
2753 case "(($ac_try" in
2754 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2755 *) ac_try_echo=$ac_try;;
2756 esac
2757 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2758 $as_echo "$ac_try_echo"; } >&5
2759 (eval "$ac_link") 2>conftest.err
2760 ac_status=$?
2761 if test -s conftest.err; then
2762 grep -v '^ *+' conftest.err >conftest.er1
2763 cat conftest.er1 >&5
2764 mv -f conftest.er1 conftest.err
2766 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2767 test $ac_status = 0; } && {
2768 test -z "$ac_c_werror_flag" ||
2769 test ! -s conftest.err
2770 } && test -s conftest$ac_exeext && {
2771 test "$cross_compiling" = yes ||
2772 test -x conftest$ac_exeext
2773 }; then :
2774 ac_retval=0
2775 else
2776 $as_echo "$as_me: failed program was:" >&5
2777 sed 's/^/| /' conftest.$ac_ext >&5
2779 ac_retval=1
2781 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2782 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2783 # interfere with the next link command; also delete a directory that is
2784 # left behind by Apple's compiler. We do this before executing the actions.
2785 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2786 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2787 as_fn_set_status $ac_retval
2789 } # ac_fn_c_try_link
2791 # ac_fn_c_try_cpp LINENO
2792 # ----------------------
2793 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2794 ac_fn_c_try_cpp ()
2796 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2797 if { { ac_try="$ac_cpp conftest.$ac_ext"
2798 case "(($ac_try" in
2799 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2800 *) ac_try_echo=$ac_try;;
2801 esac
2802 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2803 $as_echo "$ac_try_echo"; } >&5
2804 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2805 ac_status=$?
2806 if test -s conftest.err; then
2807 grep -v '^ *+' conftest.err >conftest.er1
2808 cat conftest.er1 >&5
2809 mv -f conftest.er1 conftest.err
2811 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2812 test $ac_status = 0; } > conftest.i && {
2813 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2814 test ! -s conftest.err
2815 }; then :
2816 ac_retval=0
2817 else
2818 $as_echo "$as_me: failed program was:" >&5
2819 sed 's/^/| /' conftest.$ac_ext >&5
2821 ac_retval=1
2823 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2824 as_fn_set_status $ac_retval
2826 } # ac_fn_c_try_cpp
2828 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2829 # -------------------------------------------------------
2830 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2831 # the include files in INCLUDES and setting the cache variable VAR
2832 # accordingly.
2833 ac_fn_c_check_header_mongrel ()
2835 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2836 if eval \${$3+:} false; then :
2837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2838 $as_echo_n "checking for $2... " >&6; }
2839 if eval \${$3+:} false; then :
2840 $as_echo_n "(cached) " >&6
2842 eval ac_res=\$$3
2843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2844 $as_echo "$ac_res" >&6; }
2845 else
2846 # Is the header compilable?
2847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2848 $as_echo_n "checking $2 usability... " >&6; }
2849 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2850 /* end confdefs.h. */
2852 #include <$2>
2853 _ACEOF
2854 if ac_fn_c_try_compile "$LINENO"; then :
2855 ac_header_compiler=yes
2856 else
2857 ac_header_compiler=no
2859 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2861 $as_echo "$ac_header_compiler" >&6; }
2863 # Is the header present?
2864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2865 $as_echo_n "checking $2 presence... " >&6; }
2866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2867 /* end confdefs.h. */
2868 #include <$2>
2869 _ACEOF
2870 if ac_fn_c_try_cpp "$LINENO"; then :
2871 ac_header_preproc=yes
2872 else
2873 ac_header_preproc=no
2875 rm -f conftest.err conftest.i conftest.$ac_ext
2876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2877 $as_echo "$ac_header_preproc" >&6; }
2879 # So? What about this header?
2880 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2881 yes:no: )
2882 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2883 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2884 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2885 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2887 no:yes:* )
2888 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2889 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2890 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2891 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2892 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2893 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2894 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2895 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2896 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2897 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2898 ( $as_echo "## ------------------------------------ ##
2899 ## Report this to wine-devel@winehq.org ##
2900 ## ------------------------------------ ##"
2901 ) | sed "s/^/$as_me: WARNING: /" >&2
2903 esac
2904 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2905 $as_echo_n "checking for $2... " >&6; }
2906 if eval \${$3+:} false; then :
2907 $as_echo_n "(cached) " >&6
2908 else
2909 eval "$3=\$ac_header_compiler"
2911 eval ac_res=\$$3
2912 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2913 $as_echo "$ac_res" >&6; }
2915 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2917 } # ac_fn_c_check_header_mongrel
2919 # ac_fn_c_try_run LINENO
2920 # ----------------------
2921 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2922 # that executables *can* be run.
2923 ac_fn_c_try_run ()
2925 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2926 if { { ac_try="$ac_link"
2927 case "(($ac_try" in
2928 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2929 *) ac_try_echo=$ac_try;;
2930 esac
2931 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2932 $as_echo "$ac_try_echo"; } >&5
2933 (eval "$ac_link") 2>&5
2934 ac_status=$?
2935 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2936 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2937 { { case "(($ac_try" in
2938 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2939 *) ac_try_echo=$ac_try;;
2940 esac
2941 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2942 $as_echo "$ac_try_echo"; } >&5
2943 (eval "$ac_try") 2>&5
2944 ac_status=$?
2945 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2946 test $ac_status = 0; }; }; then :
2947 ac_retval=0
2948 else
2949 $as_echo "$as_me: program exited with status $ac_status" >&5
2950 $as_echo "$as_me: failed program was:" >&5
2951 sed 's/^/| /' conftest.$ac_ext >&5
2953 ac_retval=$ac_status
2955 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2956 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2957 as_fn_set_status $ac_retval
2959 } # ac_fn_c_try_run
2961 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2962 # -------------------------------------------------------
2963 # Tests whether HEADER exists and can be compiled using the include files in
2964 # INCLUDES, setting the cache variable VAR accordingly.
2965 ac_fn_c_check_header_compile ()
2967 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2968 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2969 $as_echo_n "checking for $2... " >&6; }
2970 if eval \${$3+:} false; then :
2971 $as_echo_n "(cached) " >&6
2972 else
2973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2974 /* end confdefs.h. */
2976 #include <$2>
2977 _ACEOF
2978 if ac_fn_c_try_compile "$LINENO"; then :
2979 eval "$3=yes"
2980 else
2981 eval "$3=no"
2983 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2985 eval ac_res=\$$3
2986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2987 $as_echo "$ac_res" >&6; }
2988 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2990 } # ac_fn_c_check_header_compile
2992 # ac_fn_c_check_func LINENO FUNC VAR
2993 # ----------------------------------
2994 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2995 ac_fn_c_check_func ()
2997 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2999 $as_echo_n "checking for $2... " >&6; }
3000 if eval \${$3+:} false; then :
3001 $as_echo_n "(cached) " >&6
3002 else
3003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3004 /* end confdefs.h. */
3005 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3006 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3007 #define $2 innocuous_$2
3009 /* System header to define __stub macros and hopefully few prototypes,
3010 which can conflict with char $2 (); below.
3011 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3012 <limits.h> exists even on freestanding compilers. */
3014 #ifdef __STDC__
3015 # include <limits.h>
3016 #else
3017 # include <assert.h>
3018 #endif
3020 #undef $2
3022 /* Override any GCC internal prototype to avoid an error.
3023 Use char because int might match the return type of a GCC
3024 builtin and then its argument prototype would still apply. */
3025 #ifdef __cplusplus
3026 extern "C"
3027 #endif
3028 char $2 ();
3029 /* The GNU C library defines this for functions which it implements
3030 to always fail with ENOSYS. Some functions are actually named
3031 something starting with __ and the normal name is an alias. */
3032 #if defined __stub_$2 || defined __stub___$2
3033 choke me
3034 #endif
3037 main ()
3039 return $2 ();
3041 return 0;
3043 _ACEOF
3044 if ac_fn_c_try_link "$LINENO"; then :
3045 eval "$3=yes"
3046 else
3047 eval "$3=no"
3049 rm -f core conftest.err conftest.$ac_objext \
3050 conftest$ac_exeext conftest.$ac_ext
3052 eval ac_res=\$$3
3053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3054 $as_echo "$ac_res" >&6; }
3055 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3057 } # ac_fn_c_check_func
3059 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3060 # ----------------------------------------------------
3061 # Tries to find if the field MEMBER exists in type AGGR, after including
3062 # INCLUDES, setting cache variable VAR accordingly.
3063 ac_fn_c_check_member ()
3065 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3067 $as_echo_n "checking for $2.$3... " >&6; }
3068 if eval \${$4+:} false; then :
3069 $as_echo_n "(cached) " >&6
3070 else
3071 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3072 /* end confdefs.h. */
3075 main ()
3077 static $2 ac_aggr;
3078 if (ac_aggr.$3)
3079 return 0;
3081 return 0;
3083 _ACEOF
3084 if ac_fn_c_try_compile "$LINENO"; then :
3085 eval "$4=yes"
3086 else
3087 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3088 /* end confdefs.h. */
3091 main ()
3093 static $2 ac_aggr;
3094 if (sizeof ac_aggr.$3)
3095 return 0;
3097 return 0;
3099 _ACEOF
3100 if ac_fn_c_try_compile "$LINENO"; then :
3101 eval "$4=yes"
3102 else
3103 eval "$4=no"
3105 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3107 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3109 eval ac_res=\$$4
3110 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3111 $as_echo "$ac_res" >&6; }
3112 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3114 } # ac_fn_c_check_member
3116 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3117 # -------------------------------------------
3118 # Tests whether TYPE exists after having included INCLUDES, setting cache
3119 # variable VAR accordingly.
3120 ac_fn_c_check_type ()
3122 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3123 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3124 $as_echo_n "checking for $2... " >&6; }
3125 if eval \${$3+:} false; then :
3126 $as_echo_n "(cached) " >&6
3127 else
3128 eval "$3=no"
3129 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3130 /* end confdefs.h. */
3133 main ()
3135 if (sizeof ($2))
3136 return 0;
3138 return 0;
3140 _ACEOF
3141 if ac_fn_c_try_compile "$LINENO"; then :
3142 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3143 /* end confdefs.h. */
3146 main ()
3148 if (sizeof (($2)))
3149 return 0;
3151 return 0;
3153 _ACEOF
3154 if ac_fn_c_try_compile "$LINENO"; then :
3156 else
3157 eval "$3=yes"
3159 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3161 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3163 eval ac_res=\$$3
3164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3165 $as_echo "$ac_res" >&6; }
3166 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3168 } # ac_fn_c_check_type
3169 cat >config.log <<_ACEOF
3170 This file contains any messages produced by compilers while
3171 running configure, to aid debugging if configure makes a mistake.
3173 It was created by Wine $as_me 3.4, which was
3174 generated by GNU Autoconf 2.69. Invocation command line was
3176 $ $0 $@
3178 _ACEOF
3179 exec 5>>config.log
3181 cat <<_ASUNAME
3182 ## --------- ##
3183 ## Platform. ##
3184 ## --------- ##
3186 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3187 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3188 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3189 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3190 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3192 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3193 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3195 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3196 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3197 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3198 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3199 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3200 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3201 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3203 _ASUNAME
3205 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3206 for as_dir in $PATH
3208 IFS=$as_save_IFS
3209 test -z "$as_dir" && as_dir=.
3210 $as_echo "PATH: $as_dir"
3211 done
3212 IFS=$as_save_IFS
3214 } >&5
3216 cat >&5 <<_ACEOF
3219 ## ----------- ##
3220 ## Core tests. ##
3221 ## ----------- ##
3223 _ACEOF
3226 # Keep a trace of the command line.
3227 # Strip out --no-create and --no-recursion so they do not pile up.
3228 # Strip out --silent because we don't want to record it for future runs.
3229 # Also quote any args containing shell meta-characters.
3230 # Make two passes to allow for proper duplicate-argument suppression.
3231 ac_configure_args=
3232 ac_configure_args0=
3233 ac_configure_args1=
3234 ac_must_keep_next=false
3235 for ac_pass in 1 2
3237 for ac_arg
3239 case $ac_arg in
3240 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3241 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3242 | -silent | --silent | --silen | --sile | --sil)
3243 continue ;;
3244 *\'*)
3245 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3246 esac
3247 case $ac_pass in
3248 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3250 as_fn_append ac_configure_args1 " '$ac_arg'"
3251 if test $ac_must_keep_next = true; then
3252 ac_must_keep_next=false # Got value, back to normal.
3253 else
3254 case $ac_arg in
3255 *=* | --config-cache | -C | -disable-* | --disable-* \
3256 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3257 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3258 | -with-* | --with-* | -without-* | --without-* | --x)
3259 case "$ac_configure_args0 " in
3260 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3261 esac
3263 -* ) ac_must_keep_next=true ;;
3264 esac
3266 as_fn_append ac_configure_args " '$ac_arg'"
3268 esac
3269 done
3270 done
3271 { ac_configure_args0=; unset ac_configure_args0;}
3272 { ac_configure_args1=; unset ac_configure_args1;}
3274 # When interrupted or exit'd, cleanup temporary files, and complete
3275 # config.log. We remove comments because anyway the quotes in there
3276 # would cause problems or look ugly.
3277 # WARNING: Use '\'' to represent an apostrophe within the trap.
3278 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3279 trap 'exit_status=$?
3280 # Save into config.log some information that might help in debugging.
3282 echo
3284 $as_echo "## ---------------- ##
3285 ## Cache variables. ##
3286 ## ---------------- ##"
3287 echo
3288 # The following way of writing the cache mishandles newlines in values,
3290 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3291 eval ac_val=\$$ac_var
3292 case $ac_val in #(
3293 *${as_nl}*)
3294 case $ac_var in #(
3295 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3296 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3297 esac
3298 case $ac_var in #(
3299 _ | IFS | as_nl) ;; #(
3300 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3301 *) { eval $ac_var=; unset $ac_var;} ;;
3302 esac ;;
3303 esac
3304 done
3305 (set) 2>&1 |
3306 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3307 *${as_nl}ac_space=\ *)
3308 sed -n \
3309 "s/'\''/'\''\\\\'\'''\''/g;
3310 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3311 ;; #(
3313 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3315 esac |
3316 sort
3318 echo
3320 $as_echo "## ----------------- ##
3321 ## Output variables. ##
3322 ## ----------------- ##"
3323 echo
3324 for ac_var in $ac_subst_vars
3326 eval ac_val=\$$ac_var
3327 case $ac_val in
3328 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3329 esac
3330 $as_echo "$ac_var='\''$ac_val'\''"
3331 done | sort
3332 echo
3334 if test -n "$ac_subst_files"; then
3335 $as_echo "## ------------------- ##
3336 ## File substitutions. ##
3337 ## ------------------- ##"
3338 echo
3339 for ac_var in $ac_subst_files
3341 eval ac_val=\$$ac_var
3342 case $ac_val in
3343 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3344 esac
3345 $as_echo "$ac_var='\''$ac_val'\''"
3346 done | sort
3347 echo
3350 if test -s confdefs.h; then
3351 $as_echo "## ----------- ##
3352 ## confdefs.h. ##
3353 ## ----------- ##"
3354 echo
3355 cat confdefs.h
3356 echo
3358 test "$ac_signal" != 0 &&
3359 $as_echo "$as_me: caught signal $ac_signal"
3360 $as_echo "$as_me: exit $exit_status"
3361 } >&5
3362 rm -f core *.core core.conftest.* &&
3363 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3364 exit $exit_status
3366 for ac_signal in 1 2 13 15; do
3367 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3368 done
3369 ac_signal=0
3371 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3372 rm -f -r conftest* confdefs.h
3374 $as_echo "/* confdefs.h */" > confdefs.h
3376 # Predefined preprocessor variables.
3378 cat >>confdefs.h <<_ACEOF
3379 #define PACKAGE_NAME "$PACKAGE_NAME"
3380 _ACEOF
3382 cat >>confdefs.h <<_ACEOF
3383 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3384 _ACEOF
3386 cat >>confdefs.h <<_ACEOF
3387 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3388 _ACEOF
3390 cat >>confdefs.h <<_ACEOF
3391 #define PACKAGE_STRING "$PACKAGE_STRING"
3392 _ACEOF
3394 cat >>confdefs.h <<_ACEOF
3395 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3396 _ACEOF
3398 cat >>confdefs.h <<_ACEOF
3399 #define PACKAGE_URL "$PACKAGE_URL"
3400 _ACEOF
3403 # Let the site file select an alternate cache file if it wants to.
3404 # Prefer an explicitly selected file to automatically selected ones.
3405 ac_site_file1=NONE
3406 ac_site_file2=NONE
3407 if test -n "$CONFIG_SITE"; then
3408 # We do not want a PATH search for config.site.
3409 case $CONFIG_SITE in #((
3410 -*) ac_site_file1=./$CONFIG_SITE;;
3411 */*) ac_site_file1=$CONFIG_SITE;;
3412 *) ac_site_file1=./$CONFIG_SITE;;
3413 esac
3414 elif test "x$prefix" != xNONE; then
3415 ac_site_file1=$prefix/share/config.site
3416 ac_site_file2=$prefix/etc/config.site
3417 else
3418 ac_site_file1=$ac_default_prefix/share/config.site
3419 ac_site_file2=$ac_default_prefix/etc/config.site
3421 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3423 test "x$ac_site_file" = xNONE && continue
3424 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3425 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3426 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3427 sed 's/^/| /' "$ac_site_file" >&5
3428 . "$ac_site_file" \
3429 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3430 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3431 as_fn_error $? "failed to load site script $ac_site_file
3432 See \`config.log' for more details" "$LINENO" 5; }
3434 done
3436 if test -r "$cache_file"; then
3437 # Some versions of bash will fail to source /dev/null (special files
3438 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3439 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3440 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3441 $as_echo "$as_me: loading cache $cache_file" >&6;}
3442 case $cache_file in
3443 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3444 *) . "./$cache_file";;
3445 esac
3447 else
3448 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3449 $as_echo "$as_me: creating cache $cache_file" >&6;}
3450 >$cache_file
3453 # Check that the precious variables saved in the cache have kept the same
3454 # value.
3455 ac_cache_corrupted=false
3456 for ac_var in $ac_precious_vars; do
3457 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3458 eval ac_new_set=\$ac_env_${ac_var}_set
3459 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3460 eval ac_new_val=\$ac_env_${ac_var}_value
3461 case $ac_old_set,$ac_new_set in
3462 set,)
3463 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3464 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3465 ac_cache_corrupted=: ;;
3466 ,set)
3467 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3468 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3469 ac_cache_corrupted=: ;;
3470 ,);;
3472 if test "x$ac_old_val" != "x$ac_new_val"; then
3473 # differences in whitespace do not lead to failure.
3474 ac_old_val_w=`echo x $ac_old_val`
3475 ac_new_val_w=`echo x $ac_new_val`
3476 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3477 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3478 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3479 ac_cache_corrupted=:
3480 else
3481 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3482 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3483 eval $ac_var=\$ac_old_val
3485 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3486 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3487 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3488 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3489 fi;;
3490 esac
3491 # Pass precious variables to config.status.
3492 if test "$ac_new_set" = set; then
3493 case $ac_new_val in
3494 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3495 *) ac_arg=$ac_var=$ac_new_val ;;
3496 esac
3497 case " $ac_configure_args " in
3498 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3499 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3500 esac
3502 done
3503 if $ac_cache_corrupted; then
3504 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3505 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3506 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3507 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3508 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3510 ## -------------------- ##
3511 ## Main body of script. ##
3512 ## -------------------- ##
3514 ac_ext=c
3515 ac_cpp='$CPP $CPPFLAGS'
3516 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3517 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3518 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3522 ac_config_headers="$ac_config_headers include/config.h"
3524 ac_aux_dir=
3525 for ac_dir in tools "$srcdir"/tools; do
3526 if test -f "$ac_dir/install-sh"; then
3527 ac_aux_dir=$ac_dir
3528 ac_install_sh="$ac_aux_dir/install-sh -c"
3529 break
3530 elif test -f "$ac_dir/install.sh"; then
3531 ac_aux_dir=$ac_dir
3532 ac_install_sh="$ac_aux_dir/install.sh -c"
3533 break
3534 elif test -f "$ac_dir/shtool"; then
3535 ac_aux_dir=$ac_dir
3536 ac_install_sh="$ac_aux_dir/shtool install -c"
3537 break
3539 done
3540 if test -z "$ac_aux_dir"; then
3541 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3544 # These three variables are undocumented and unsupported,
3545 # and are intended to be withdrawn in a future Autoconf release.
3546 # They can cause serious problems if a builder's source tree is in a directory
3547 # whose full name contains unusual characters.
3548 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3549 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3550 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3554 libwine_version="1.0"
3558 # Check whether --enable-win16 was given.
3559 if test "${enable_win16+set}" = set; then :
3560 enableval=$enable_win16;
3563 # Check whether --enable-win64 was given.
3564 if test "${enable_win64+set}" = set; then :
3565 enableval=$enable_win64;
3568 # Check whether --enable-tests was given.
3569 if test "${enable_tests+set}" = set; then :
3570 enableval=$enable_tests;
3573 # Check whether --enable-maintainer-mode was given.
3574 if test "${enable_maintainer_mode+set}" = set; then :
3575 enableval=$enable_maintainer_mode;
3580 # Check whether --with-alsa was given.
3581 if test "${with_alsa+set}" = set; then :
3582 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3586 # Check whether --with-capi was given.
3587 if test "${with_capi+set}" = set; then :
3588 withval=$with_capi;
3592 # Check whether --with-cms was given.
3593 if test "${with_cms+set}" = set; then :
3594 withval=$with_cms;
3598 # Check whether --with-coreaudio was given.
3599 if test "${with_coreaudio+set}" = set; then :
3600 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3604 # Check whether --with-cups was given.
3605 if test "${with_cups+set}" = set; then :
3606 withval=$with_cups;
3610 # Check whether --with-curses was given.
3611 if test "${with_curses+set}" = set; then :
3612 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3616 # Check whether --with-dbus was given.
3617 if test "${with_dbus+set}" = set; then :
3618 withval=$with_dbus;
3622 # Check whether --with-float-abi was given.
3623 if test "${with_float_abi+set}" = set; then :
3624 withval=$with_float_abi;
3628 # Check whether --with-fontconfig was given.
3629 if test "${with_fontconfig+set}" = set; then :
3630 withval=$with_fontconfig;
3634 # Check whether --with-freetype was given.
3635 if test "${with_freetype+set}" = set; then :
3636 withval=$with_freetype;
3640 # Check whether --with-gettext was given.
3641 if test "${with_gettext+set}" = set; then :
3642 withval=$with_gettext;
3646 # Check whether --with-gettextpo was given.
3647 if test "${with_gettextpo+set}" = set; then :
3648 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3652 # Check whether --with-gphoto was given.
3653 if test "${with_gphoto+set}" = set; then :
3654 withval=$with_gphoto;
3658 # Check whether --with-glu was given.
3659 if test "${with_glu+set}" = set; then :
3660 withval=$with_glu;
3664 # Check whether --with-gnutls was given.
3665 if test "${with_gnutls+set}" = set; then :
3666 withval=$with_gnutls;
3670 # Check whether --with-gsm was given.
3671 if test "${with_gsm+set}" = set; then :
3672 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3676 # Check whether --with-gssapi was given.
3677 if test "${with_gssapi+set}" = set; then :
3678 withval=$with_gssapi;
3682 # Check whether --with-gstreamer was given.
3683 if test "${with_gstreamer+set}" = set; then :
3684 withval=$with_gstreamer;
3688 # Check whether --with-hal was given.
3689 if test "${with_hal+set}" = set; then :
3690 withval=$with_hal;
3694 # Check whether --with-jpeg was given.
3695 if test "${with_jpeg+set}" = set; then :
3696 withval=$with_jpeg;
3700 # Check whether --with-krb5 was given.
3701 if test "${with_krb5+set}" = set; then :
3702 withval=$with_krb5;
3706 # Check whether --with-ldap was given.
3707 if test "${with_ldap+set}" = set; then :
3708 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3712 # Check whether --with-mpg123 was given.
3713 if test "${with_mpg123+set}" = set; then :
3714 withval=$with_mpg123;
3718 # Check whether --with-netapi was given.
3719 if test "${with_netapi+set}" = set; then :
3720 withval=$with_netapi;
3724 # Check whether --with-openal was given.
3725 if test "${with_openal+set}" = set; then :
3726 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3730 # Check whether --with-opencl was given.
3731 if test "${with_opencl+set}" = set; then :
3732 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3736 # Check whether --with-opengl was given.
3737 if test "${with_opengl+set}" = set; then :
3738 withval=$with_opengl;
3742 # Check whether --with-osmesa was given.
3743 if test "${with_osmesa+set}" = set; then :
3744 withval=$with_osmesa;
3748 # Check whether --with-oss was given.
3749 if test "${with_oss+set}" = set; then :
3750 withval=$with_oss;
3754 # Check whether --with-pcap was given.
3755 if test "${with_pcap+set}" = set; then :
3756 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3760 # Check whether --with-png was given.
3761 if test "${with_png+set}" = set; then :
3762 withval=$with_png;
3766 # Check whether --with-pthread was given.
3767 if test "${with_pthread+set}" = set; then :
3768 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3772 # Check whether --with-pulse was given.
3773 if test "${with_pulse+set}" = set; then :
3774 withval=$with_pulse;
3778 # Check whether --with-sane was given.
3779 if test "${with_sane+set}" = set; then :
3780 withval=$with_sane;
3784 # Check whether --with-sdl was given.
3785 if test "${with_sdl+set}" = set; then :
3786 withval=$with_sdl;
3790 # Check whether --with-tiff was given.
3791 if test "${with_tiff+set}" = set; then :
3792 withval=$with_tiff;
3796 # Check whether --with-udev was given.
3797 if test "${with_udev+set}" = set; then :
3798 withval=$with_udev;
3802 # Check whether --with-v4l was given.
3803 if test "${with_v4l+set}" = set; then :
3804 withval=$with_v4l;
3808 # Check whether --with-vulkan was given.
3809 if test "${with_vulkan+set}" = set; then :
3810 withval=$with_vulkan;
3814 # Check whether --with-xcomposite was given.
3815 if test "${with_xcomposite+set}" = set; then :
3816 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3820 # Check whether --with-xcursor was given.
3821 if test "${with_xcursor+set}" = set; then :
3822 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3826 # Check whether --with-xfixes was given.
3827 if test "${with_xfixes+set}" = set; then :
3828 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
3832 # Check whether --with-xinerama was given.
3833 if test "${with_xinerama+set}" = set; then :
3834 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3838 # Check whether --with-xinput was given.
3839 if test "${with_xinput+set}" = set; then :
3840 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3844 # Check whether --with-xinput2 was given.
3845 if test "${with_xinput2+set}" = set; then :
3846 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3850 # Check whether --with-xml was given.
3851 if test "${with_xml+set}" = set; then :
3852 withval=$with_xml;
3856 # Check whether --with-xrandr was given.
3857 if test "${with_xrandr+set}" = set; then :
3858 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3862 # Check whether --with-xrender was given.
3863 if test "${with_xrender+set}" = set; then :
3864 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3868 # Check whether --with-xshape was given.
3869 if test "${with_xshape+set}" = set; then :
3870 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3874 # Check whether --with-xshm was given.
3875 if test "${with_xshm+set}" = set; then :
3876 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3880 # Check whether --with-xslt was given.
3881 if test "${with_xslt+set}" = set; then :
3882 withval=$with_xslt;
3886 # Check whether --with-xxf86vm was given.
3887 if test "${with_xxf86vm+set}" = set; then :
3888 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
3892 # Check whether --with-zlib was given.
3893 if test "${with_zlib+set}" = set; then :
3894 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3899 # Check whether --with-wine-tools was given.
3900 if test "${with_wine_tools+set}" = set; then :
3901 withval=$with_wine_tools;
3905 # Check whether --with-wine64 was given.
3906 if test "${with_wine64+set}" = set; then :
3907 withval=$with_wine64;
3911 # Make sure we can run config.sub.
3912 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3913 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3915 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3916 $as_echo_n "checking build system type... " >&6; }
3917 if ${ac_cv_build+:} false; then :
3918 $as_echo_n "(cached) " >&6
3919 else
3920 ac_build_alias=$build_alias
3921 test "x$ac_build_alias" = x &&
3922 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3923 test "x$ac_build_alias" = x &&
3924 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3925 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3926 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3929 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3930 $as_echo "$ac_cv_build" >&6; }
3931 case $ac_cv_build in
3932 *-*-*) ;;
3933 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3934 esac
3935 build=$ac_cv_build
3936 ac_save_IFS=$IFS; IFS='-'
3937 set x $ac_cv_build
3938 shift
3939 build_cpu=$1
3940 build_vendor=$2
3941 shift; shift
3942 # Remember, the first character of IFS is used to create $*,
3943 # except with old shells:
3944 build_os=$*
3945 IFS=$ac_save_IFS
3946 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3950 $as_echo_n "checking host system type... " >&6; }
3951 if ${ac_cv_host+:} false; then :
3952 $as_echo_n "(cached) " >&6
3953 else
3954 if test "x$host_alias" = x; then
3955 ac_cv_host=$ac_cv_build
3956 else
3957 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3958 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3962 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3963 $as_echo "$ac_cv_host" >&6; }
3964 case $ac_cv_host in
3965 *-*-*) ;;
3966 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3967 esac
3968 host=$ac_cv_host
3969 ac_save_IFS=$IFS; IFS='-'
3970 set x $ac_cv_host
3971 shift
3972 host_cpu=$1
3973 host_vendor=$2
3974 shift; shift
3975 # Remember, the first character of IFS is used to create $*,
3976 # except with old shells:
3977 host_os=$*
3978 IFS=$ac_save_IFS
3979 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3983 case "$srcdir" in
3984 .) ;;
3985 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3986 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3987 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3988 fi ;;
3989 esac
3992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3993 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3994 set x ${MAKE-make}
3995 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3996 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3997 $as_echo_n "(cached) " >&6
3998 else
3999 cat >conftest.make <<\_ACEOF
4000 SHELL = /bin/sh
4001 all:
4002 @echo '@@@%%%=$(MAKE)=@@@%%%'
4003 _ACEOF
4004 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4005 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4006 *@@@%%%=?*=@@@%%%*)
4007 eval ac_cv_prog_make_${ac_make}_set=yes;;
4009 eval ac_cv_prog_make_${ac_make}_set=no;;
4010 esac
4011 rm -f conftest.make
4013 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4014 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4015 $as_echo "yes" >&6; }
4016 SET_MAKE=
4017 else
4018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4019 $as_echo "no" >&6; }
4020 SET_MAKE="MAKE=${MAKE-make}"
4023 ac_ext=c
4024 ac_cpp='$CPP $CPPFLAGS'
4025 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4026 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4027 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4028 if test -n "$ac_tool_prefix"; then
4029 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4030 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4031 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4032 $as_echo_n "checking for $ac_word... " >&6; }
4033 if ${ac_cv_prog_CC+:} false; then :
4034 $as_echo_n "(cached) " >&6
4035 else
4036 if test -n "$CC"; then
4037 ac_cv_prog_CC="$CC" # Let the user override the test.
4038 else
4039 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4040 for as_dir in $PATH
4042 IFS=$as_save_IFS
4043 test -z "$as_dir" && as_dir=.
4044 for ac_exec_ext in '' $ac_executable_extensions; do
4045 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4046 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4047 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4048 break 2
4050 done
4051 done
4052 IFS=$as_save_IFS
4056 CC=$ac_cv_prog_CC
4057 if test -n "$CC"; then
4058 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4059 $as_echo "$CC" >&6; }
4060 else
4061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4062 $as_echo "no" >&6; }
4067 if test -z "$ac_cv_prog_CC"; then
4068 ac_ct_CC=$CC
4069 # Extract the first word of "gcc", so it can be a program name with args.
4070 set dummy gcc; ac_word=$2
4071 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4072 $as_echo_n "checking for $ac_word... " >&6; }
4073 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4074 $as_echo_n "(cached) " >&6
4075 else
4076 if test -n "$ac_ct_CC"; then
4077 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4078 else
4079 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4080 for as_dir in $PATH
4082 IFS=$as_save_IFS
4083 test -z "$as_dir" && as_dir=.
4084 for ac_exec_ext in '' $ac_executable_extensions; do
4085 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4086 ac_cv_prog_ac_ct_CC="gcc"
4087 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4088 break 2
4090 done
4091 done
4092 IFS=$as_save_IFS
4096 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4097 if test -n "$ac_ct_CC"; then
4098 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4099 $as_echo "$ac_ct_CC" >&6; }
4100 else
4101 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4102 $as_echo "no" >&6; }
4105 if test "x$ac_ct_CC" = x; then
4106 CC=""
4107 else
4108 case $cross_compiling:$ac_tool_warned in
4109 yes:)
4110 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4111 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4112 ac_tool_warned=yes ;;
4113 esac
4114 CC=$ac_ct_CC
4116 else
4117 CC="$ac_cv_prog_CC"
4120 if test -z "$CC"; then
4121 if test -n "$ac_tool_prefix"; then
4122 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4123 set dummy ${ac_tool_prefix}cc; ac_word=$2
4124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4125 $as_echo_n "checking for $ac_word... " >&6; }
4126 if ${ac_cv_prog_CC+:} false; then :
4127 $as_echo_n "(cached) " >&6
4128 else
4129 if test -n "$CC"; then
4130 ac_cv_prog_CC="$CC" # Let the user override the test.
4131 else
4132 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4133 for as_dir in $PATH
4135 IFS=$as_save_IFS
4136 test -z "$as_dir" && as_dir=.
4137 for ac_exec_ext in '' $ac_executable_extensions; do
4138 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4139 ac_cv_prog_CC="${ac_tool_prefix}cc"
4140 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4141 break 2
4143 done
4144 done
4145 IFS=$as_save_IFS
4149 CC=$ac_cv_prog_CC
4150 if test -n "$CC"; then
4151 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4152 $as_echo "$CC" >&6; }
4153 else
4154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4155 $as_echo "no" >&6; }
4161 if test -z "$CC"; then
4162 # Extract the first word of "cc", so it can be a program name with args.
4163 set dummy cc; ac_word=$2
4164 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4165 $as_echo_n "checking for $ac_word... " >&6; }
4166 if ${ac_cv_prog_CC+:} false; then :
4167 $as_echo_n "(cached) " >&6
4168 else
4169 if test -n "$CC"; then
4170 ac_cv_prog_CC="$CC" # Let the user override the test.
4171 else
4172 ac_prog_rejected=no
4173 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4174 for as_dir in $PATH
4176 IFS=$as_save_IFS
4177 test -z "$as_dir" && as_dir=.
4178 for ac_exec_ext in '' $ac_executable_extensions; do
4179 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4180 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4181 ac_prog_rejected=yes
4182 continue
4184 ac_cv_prog_CC="cc"
4185 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4186 break 2
4188 done
4189 done
4190 IFS=$as_save_IFS
4192 if test $ac_prog_rejected = yes; then
4193 # We found a bogon in the path, so make sure we never use it.
4194 set dummy $ac_cv_prog_CC
4195 shift
4196 if test $# != 0; then
4197 # We chose a different compiler from the bogus one.
4198 # However, it has the same basename, so the bogon will be chosen
4199 # first if we set CC to just the basename; use the full file name.
4200 shift
4201 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4206 CC=$ac_cv_prog_CC
4207 if test -n "$CC"; then
4208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4209 $as_echo "$CC" >&6; }
4210 else
4211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4212 $as_echo "no" >&6; }
4217 if test -z "$CC"; then
4218 if test -n "$ac_tool_prefix"; then
4219 for ac_prog in cl.exe
4221 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4222 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4224 $as_echo_n "checking for $ac_word... " >&6; }
4225 if ${ac_cv_prog_CC+:} false; then :
4226 $as_echo_n "(cached) " >&6
4227 else
4228 if test -n "$CC"; then
4229 ac_cv_prog_CC="$CC" # Let the user override the test.
4230 else
4231 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4232 for as_dir in $PATH
4234 IFS=$as_save_IFS
4235 test -z "$as_dir" && as_dir=.
4236 for ac_exec_ext in '' $ac_executable_extensions; do
4237 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4238 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4239 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4240 break 2
4242 done
4243 done
4244 IFS=$as_save_IFS
4248 CC=$ac_cv_prog_CC
4249 if test -n "$CC"; then
4250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4251 $as_echo "$CC" >&6; }
4252 else
4253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4254 $as_echo "no" >&6; }
4258 test -n "$CC" && break
4259 done
4261 if test -z "$CC"; then
4262 ac_ct_CC=$CC
4263 for ac_prog in cl.exe
4265 # Extract the first word of "$ac_prog", so it can be a program name with args.
4266 set dummy $ac_prog; ac_word=$2
4267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4268 $as_echo_n "checking for $ac_word... " >&6; }
4269 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4270 $as_echo_n "(cached) " >&6
4271 else
4272 if test -n "$ac_ct_CC"; then
4273 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4274 else
4275 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4276 for as_dir in $PATH
4278 IFS=$as_save_IFS
4279 test -z "$as_dir" && as_dir=.
4280 for ac_exec_ext in '' $ac_executable_extensions; do
4281 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4282 ac_cv_prog_ac_ct_CC="$ac_prog"
4283 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4284 break 2
4286 done
4287 done
4288 IFS=$as_save_IFS
4292 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4293 if test -n "$ac_ct_CC"; then
4294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4295 $as_echo "$ac_ct_CC" >&6; }
4296 else
4297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4298 $as_echo "no" >&6; }
4302 test -n "$ac_ct_CC" && break
4303 done
4305 if test "x$ac_ct_CC" = x; then
4306 CC=""
4307 else
4308 case $cross_compiling:$ac_tool_warned in
4309 yes:)
4310 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4311 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4312 ac_tool_warned=yes ;;
4313 esac
4314 CC=$ac_ct_CC
4321 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4322 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4323 as_fn_error $? "no acceptable C compiler found in \$PATH
4324 See \`config.log' for more details" "$LINENO" 5; }
4326 # Provide some information about the compiler.
4327 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4328 set X $ac_compile
4329 ac_compiler=$2
4330 for ac_option in --version -v -V -qversion; do
4331 { { ac_try="$ac_compiler $ac_option >&5"
4332 case "(($ac_try" in
4333 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4334 *) ac_try_echo=$ac_try;;
4335 esac
4336 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4337 $as_echo "$ac_try_echo"; } >&5
4338 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4339 ac_status=$?
4340 if test -s conftest.err; then
4341 sed '10a\
4342 ... rest of stderr output deleted ...
4343 10q' conftest.err >conftest.er1
4344 cat conftest.er1 >&5
4346 rm -f conftest.er1 conftest.err
4347 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4348 test $ac_status = 0; }
4349 done
4351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4352 /* end confdefs.h. */
4355 main ()
4359 return 0;
4361 _ACEOF
4362 ac_clean_files_save=$ac_clean_files
4363 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4364 # Try to create an executable without -o first, disregard a.out.
4365 # It will help us diagnose broken compilers, and finding out an intuition
4366 # of exeext.
4367 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4368 $as_echo_n "checking whether the C compiler works... " >&6; }
4369 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4371 # The possible output files:
4372 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4374 ac_rmfiles=
4375 for ac_file in $ac_files
4377 case $ac_file in
4378 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4379 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4380 esac
4381 done
4382 rm -f $ac_rmfiles
4384 if { { ac_try="$ac_link_default"
4385 case "(($ac_try" in
4386 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4387 *) ac_try_echo=$ac_try;;
4388 esac
4389 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4390 $as_echo "$ac_try_echo"; } >&5
4391 (eval "$ac_link_default") 2>&5
4392 ac_status=$?
4393 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4394 test $ac_status = 0; }; then :
4395 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4396 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4397 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4398 # so that the user can short-circuit this test for compilers unknown to
4399 # Autoconf.
4400 for ac_file in $ac_files ''
4402 test -f "$ac_file" || continue
4403 case $ac_file in
4404 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4406 [ab].out )
4407 # We found the default executable, but exeext='' is most
4408 # certainly right.
4409 break;;
4410 *.* )
4411 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4412 then :; else
4413 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4415 # We set ac_cv_exeext here because the later test for it is not
4416 # safe: cross compilers may not add the suffix if given an `-o'
4417 # argument, so we may need to know it at that point already.
4418 # Even if this section looks crufty: it has the advantage of
4419 # actually working.
4420 break;;
4422 break;;
4423 esac
4424 done
4425 test "$ac_cv_exeext" = no && ac_cv_exeext=
4427 else
4428 ac_file=''
4430 if test -z "$ac_file"; then :
4431 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4432 $as_echo "no" >&6; }
4433 $as_echo "$as_me: failed program was:" >&5
4434 sed 's/^/| /' conftest.$ac_ext >&5
4436 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4437 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4438 as_fn_error 77 "C compiler cannot create executables
4439 See \`config.log' for more details" "$LINENO" 5; }
4440 else
4441 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4442 $as_echo "yes" >&6; }
4444 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4445 $as_echo_n "checking for C compiler default output file name... " >&6; }
4446 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4447 $as_echo "$ac_file" >&6; }
4448 ac_exeext=$ac_cv_exeext
4450 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4451 ac_clean_files=$ac_clean_files_save
4452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4453 $as_echo_n "checking for suffix of executables... " >&6; }
4454 if { { ac_try="$ac_link"
4455 case "(($ac_try" in
4456 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4457 *) ac_try_echo=$ac_try;;
4458 esac
4459 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4460 $as_echo "$ac_try_echo"; } >&5
4461 (eval "$ac_link") 2>&5
4462 ac_status=$?
4463 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4464 test $ac_status = 0; }; then :
4465 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4466 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4467 # work properly (i.e., refer to `conftest.exe'), while it won't with
4468 # `rm'.
4469 for ac_file in conftest.exe conftest conftest.*; do
4470 test -f "$ac_file" || continue
4471 case $ac_file in
4472 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4473 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4474 break;;
4475 * ) break;;
4476 esac
4477 done
4478 else
4479 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4480 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4481 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4482 See \`config.log' for more details" "$LINENO" 5; }
4484 rm -f conftest conftest$ac_cv_exeext
4485 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4486 $as_echo "$ac_cv_exeext" >&6; }
4488 rm -f conftest.$ac_ext
4489 EXEEXT=$ac_cv_exeext
4490 ac_exeext=$EXEEXT
4491 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4492 /* end confdefs.h. */
4493 #include <stdio.h>
4495 main ()
4497 FILE *f = fopen ("conftest.out", "w");
4498 return ferror (f) || fclose (f) != 0;
4501 return 0;
4503 _ACEOF
4504 ac_clean_files="$ac_clean_files conftest.out"
4505 # Check that the compiler produces executables we can run. If not, either
4506 # the compiler is broken, or we cross compile.
4507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4508 $as_echo_n "checking whether we are cross compiling... " >&6; }
4509 if test "$cross_compiling" != yes; then
4510 { { ac_try="$ac_link"
4511 case "(($ac_try" in
4512 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4513 *) ac_try_echo=$ac_try;;
4514 esac
4515 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4516 $as_echo "$ac_try_echo"; } >&5
4517 (eval "$ac_link") 2>&5
4518 ac_status=$?
4519 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4520 test $ac_status = 0; }
4521 if { ac_try='./conftest$ac_cv_exeext'
4522 { { case "(($ac_try" in
4523 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4524 *) ac_try_echo=$ac_try;;
4525 esac
4526 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4527 $as_echo "$ac_try_echo"; } >&5
4528 (eval "$ac_try") 2>&5
4529 ac_status=$?
4530 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4531 test $ac_status = 0; }; }; then
4532 cross_compiling=no
4533 else
4534 if test "$cross_compiling" = maybe; then
4535 cross_compiling=yes
4536 else
4537 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4538 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4539 as_fn_error $? "cannot run C compiled programs.
4540 If you meant to cross compile, use \`--host'.
4541 See \`config.log' for more details" "$LINENO" 5; }
4545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4546 $as_echo "$cross_compiling" >&6; }
4548 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4549 ac_clean_files=$ac_clean_files_save
4550 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4551 $as_echo_n "checking for suffix of object files... " >&6; }
4552 if ${ac_cv_objext+:} false; then :
4553 $as_echo_n "(cached) " >&6
4554 else
4555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4556 /* end confdefs.h. */
4559 main ()
4563 return 0;
4565 _ACEOF
4566 rm -f conftest.o conftest.obj
4567 if { { ac_try="$ac_compile"
4568 case "(($ac_try" in
4569 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4570 *) ac_try_echo=$ac_try;;
4571 esac
4572 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4573 $as_echo "$ac_try_echo"; } >&5
4574 (eval "$ac_compile") 2>&5
4575 ac_status=$?
4576 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4577 test $ac_status = 0; }; then :
4578 for ac_file in conftest.o conftest.obj conftest.*; do
4579 test -f "$ac_file" || continue;
4580 case $ac_file in
4581 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4582 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4583 break;;
4584 esac
4585 done
4586 else
4587 $as_echo "$as_me: failed program was:" >&5
4588 sed 's/^/| /' conftest.$ac_ext >&5
4590 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4591 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4592 as_fn_error $? "cannot compute suffix of object files: cannot compile
4593 See \`config.log' for more details" "$LINENO" 5; }
4595 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4598 $as_echo "$ac_cv_objext" >&6; }
4599 OBJEXT=$ac_cv_objext
4600 ac_objext=$OBJEXT
4601 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4602 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4603 if ${ac_cv_c_compiler_gnu+:} false; then :
4604 $as_echo_n "(cached) " >&6
4605 else
4606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4607 /* end confdefs.h. */
4610 main ()
4612 #ifndef __GNUC__
4613 choke me
4614 #endif
4617 return 0;
4619 _ACEOF
4620 if ac_fn_c_try_compile "$LINENO"; then :
4621 ac_compiler_gnu=yes
4622 else
4623 ac_compiler_gnu=no
4625 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4626 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4630 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4631 if test $ac_compiler_gnu = yes; then
4632 GCC=yes
4633 else
4634 GCC=
4636 ac_test_CFLAGS=${CFLAGS+set}
4637 ac_save_CFLAGS=$CFLAGS
4638 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4639 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4640 if ${ac_cv_prog_cc_g+:} false; then :
4641 $as_echo_n "(cached) " >&6
4642 else
4643 ac_save_c_werror_flag=$ac_c_werror_flag
4644 ac_c_werror_flag=yes
4645 ac_cv_prog_cc_g=no
4646 CFLAGS="-g"
4647 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4648 /* end confdefs.h. */
4651 main ()
4655 return 0;
4657 _ACEOF
4658 if ac_fn_c_try_compile "$LINENO"; then :
4659 ac_cv_prog_cc_g=yes
4660 else
4661 CFLAGS=""
4662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4663 /* end confdefs.h. */
4666 main ()
4670 return 0;
4672 _ACEOF
4673 if ac_fn_c_try_compile "$LINENO"; then :
4675 else
4676 ac_c_werror_flag=$ac_save_c_werror_flag
4677 CFLAGS="-g"
4678 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4679 /* end confdefs.h. */
4682 main ()
4686 return 0;
4688 _ACEOF
4689 if ac_fn_c_try_compile "$LINENO"; then :
4690 ac_cv_prog_cc_g=yes
4692 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4694 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4696 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4697 ac_c_werror_flag=$ac_save_c_werror_flag
4699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4700 $as_echo "$ac_cv_prog_cc_g" >&6; }
4701 if test "$ac_test_CFLAGS" = set; then
4702 CFLAGS=$ac_save_CFLAGS
4703 elif test $ac_cv_prog_cc_g = yes; then
4704 if test "$GCC" = yes; then
4705 CFLAGS="-g -O2"
4706 else
4707 CFLAGS="-g"
4709 else
4710 if test "$GCC" = yes; then
4711 CFLAGS="-O2"
4712 else
4713 CFLAGS=
4716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4717 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4718 if ${ac_cv_prog_cc_c89+:} false; then :
4719 $as_echo_n "(cached) " >&6
4720 else
4721 ac_cv_prog_cc_c89=no
4722 ac_save_CC=$CC
4723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4724 /* end confdefs.h. */
4725 #include <stdarg.h>
4726 #include <stdio.h>
4727 struct stat;
4728 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4729 struct buf { int x; };
4730 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4731 static char *e (p, i)
4732 char **p;
4733 int i;
4735 return p[i];
4737 static char *f (char * (*g) (char **, int), char **p, ...)
4739 char *s;
4740 va_list v;
4741 va_start (v,p);
4742 s = g (p, va_arg (v,int));
4743 va_end (v);
4744 return s;
4747 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4748 function prototypes and stuff, but not '\xHH' hex character constants.
4749 These don't provoke an error unfortunately, instead are silently treated
4750 as 'x'. The following induces an error, until -std is added to get
4751 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4752 array size at least. It's necessary to write '\x00'==0 to get something
4753 that's true only with -std. */
4754 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4756 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4757 inside strings and character constants. */
4758 #define FOO(x) 'x'
4759 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4761 int test (int i, double x);
4762 struct s1 {int (*f) (int a);};
4763 struct s2 {int (*f) (double a);};
4764 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4765 int argc;
4766 char **argv;
4768 main ()
4770 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4772 return 0;
4774 _ACEOF
4775 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4776 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4778 CC="$ac_save_CC $ac_arg"
4779 if ac_fn_c_try_compile "$LINENO"; then :
4780 ac_cv_prog_cc_c89=$ac_arg
4782 rm -f core conftest.err conftest.$ac_objext
4783 test "x$ac_cv_prog_cc_c89" != "xno" && break
4784 done
4785 rm -f conftest.$ac_ext
4786 CC=$ac_save_CC
4789 # AC_CACHE_VAL
4790 case "x$ac_cv_prog_cc_c89" in
4792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4793 $as_echo "none needed" >&6; } ;;
4794 xno)
4795 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4796 $as_echo "unsupported" >&6; } ;;
4798 CC="$CC $ac_cv_prog_cc_c89"
4799 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4800 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4801 esac
4802 if test "x$ac_cv_prog_cc_c89" != xno; then :
4806 ac_ext=c
4807 ac_cpp='$CPP $CPPFLAGS'
4808 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4809 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4810 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4812 ac_ext=cpp
4813 ac_cpp='$CXXCPP $CPPFLAGS'
4814 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4815 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4816 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4817 if test -z "$CXX"; then
4818 if test -n "$CCC"; then
4819 CXX=$CCC
4820 else
4821 if test -n "$ac_tool_prefix"; then
4822 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4824 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4825 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4826 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4827 $as_echo_n "checking for $ac_word... " >&6; }
4828 if ${ac_cv_prog_CXX+:} false; then :
4829 $as_echo_n "(cached) " >&6
4830 else
4831 if test -n "$CXX"; then
4832 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4833 else
4834 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4835 for as_dir in $PATH
4837 IFS=$as_save_IFS
4838 test -z "$as_dir" && as_dir=.
4839 for ac_exec_ext in '' $ac_executable_extensions; do
4840 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4841 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4842 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4843 break 2
4845 done
4846 done
4847 IFS=$as_save_IFS
4851 CXX=$ac_cv_prog_CXX
4852 if test -n "$CXX"; then
4853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4854 $as_echo "$CXX" >&6; }
4855 else
4856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4857 $as_echo "no" >&6; }
4861 test -n "$CXX" && break
4862 done
4864 if test -z "$CXX"; then
4865 ac_ct_CXX=$CXX
4866 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4868 # Extract the first word of "$ac_prog", so it can be a program name with args.
4869 set dummy $ac_prog; ac_word=$2
4870 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4871 $as_echo_n "checking for $ac_word... " >&6; }
4872 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4873 $as_echo_n "(cached) " >&6
4874 else
4875 if test -n "$ac_ct_CXX"; then
4876 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4877 else
4878 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4879 for as_dir in $PATH
4881 IFS=$as_save_IFS
4882 test -z "$as_dir" && as_dir=.
4883 for ac_exec_ext in '' $ac_executable_extensions; do
4884 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4885 ac_cv_prog_ac_ct_CXX="$ac_prog"
4886 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4887 break 2
4889 done
4890 done
4891 IFS=$as_save_IFS
4895 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4896 if test -n "$ac_ct_CXX"; then
4897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4898 $as_echo "$ac_ct_CXX" >&6; }
4899 else
4900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4901 $as_echo "no" >&6; }
4905 test -n "$ac_ct_CXX" && break
4906 done
4908 if test "x$ac_ct_CXX" = x; then
4909 CXX="g++"
4910 else
4911 case $cross_compiling:$ac_tool_warned in
4912 yes:)
4913 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4914 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4915 ac_tool_warned=yes ;;
4916 esac
4917 CXX=$ac_ct_CXX
4923 # Provide some information about the compiler.
4924 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4925 set X $ac_compile
4926 ac_compiler=$2
4927 for ac_option in --version -v -V -qversion; do
4928 { { ac_try="$ac_compiler $ac_option >&5"
4929 case "(($ac_try" in
4930 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4931 *) ac_try_echo=$ac_try;;
4932 esac
4933 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4934 $as_echo "$ac_try_echo"; } >&5
4935 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4936 ac_status=$?
4937 if test -s conftest.err; then
4938 sed '10a\
4939 ... rest of stderr output deleted ...
4940 10q' conftest.err >conftest.er1
4941 cat conftest.er1 >&5
4943 rm -f conftest.er1 conftest.err
4944 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4945 test $ac_status = 0; }
4946 done
4948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4949 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4950 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4951 $as_echo_n "(cached) " >&6
4952 else
4953 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4954 /* end confdefs.h. */
4957 main ()
4959 #ifndef __GNUC__
4960 choke me
4961 #endif
4964 return 0;
4966 _ACEOF
4967 if ac_fn_cxx_try_compile "$LINENO"; then :
4968 ac_compiler_gnu=yes
4969 else
4970 ac_compiler_gnu=no
4972 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4973 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4977 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4978 if test $ac_compiler_gnu = yes; then
4979 GXX=yes
4980 else
4981 GXX=
4983 ac_test_CXXFLAGS=${CXXFLAGS+set}
4984 ac_save_CXXFLAGS=$CXXFLAGS
4985 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4986 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4987 if ${ac_cv_prog_cxx_g+:} false; then :
4988 $as_echo_n "(cached) " >&6
4989 else
4990 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4991 ac_cxx_werror_flag=yes
4992 ac_cv_prog_cxx_g=no
4993 CXXFLAGS="-g"
4994 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4995 /* end confdefs.h. */
4998 main ()
5002 return 0;
5004 _ACEOF
5005 if ac_fn_cxx_try_compile "$LINENO"; then :
5006 ac_cv_prog_cxx_g=yes
5007 else
5008 CXXFLAGS=""
5009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5010 /* end confdefs.h. */
5013 main ()
5017 return 0;
5019 _ACEOF
5020 if ac_fn_cxx_try_compile "$LINENO"; then :
5022 else
5023 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5024 CXXFLAGS="-g"
5025 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5026 /* end confdefs.h. */
5029 main ()
5033 return 0;
5035 _ACEOF
5036 if ac_fn_cxx_try_compile "$LINENO"; then :
5037 ac_cv_prog_cxx_g=yes
5039 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5041 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5043 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5044 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5047 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5048 if test "$ac_test_CXXFLAGS" = set; then
5049 CXXFLAGS=$ac_save_CXXFLAGS
5050 elif test $ac_cv_prog_cxx_g = yes; then
5051 if test "$GXX" = yes; then
5052 CXXFLAGS="-g -O2"
5053 else
5054 CXXFLAGS="-g"
5056 else
5057 if test "$GXX" = yes; then
5058 CXXFLAGS="-O2"
5059 else
5060 CXXFLAGS=
5063 ac_ext=c
5064 ac_cpp='$CPP $CPPFLAGS'
5065 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5066 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5067 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5069 if test -n "$ac_tool_prefix"; then
5070 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5071 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5073 $as_echo_n "checking for $ac_word... " >&6; }
5074 if ${ac_cv_prog_CPPBIN+:} false; then :
5075 $as_echo_n "(cached) " >&6
5076 else
5077 if test -n "$CPPBIN"; then
5078 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5079 else
5080 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5081 for as_dir in $PATH
5083 IFS=$as_save_IFS
5084 test -z "$as_dir" && as_dir=.
5085 for ac_exec_ext in '' $ac_executable_extensions; do
5086 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5087 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5088 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5089 break 2
5091 done
5092 done
5093 IFS=$as_save_IFS
5097 CPPBIN=$ac_cv_prog_CPPBIN
5098 if test -n "$CPPBIN"; then
5099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5100 $as_echo "$CPPBIN" >&6; }
5101 else
5102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5103 $as_echo "no" >&6; }
5108 if test -z "$ac_cv_prog_CPPBIN"; then
5109 ac_ct_CPPBIN=$CPPBIN
5110 # Extract the first word of "cpp", so it can be a program name with args.
5111 set dummy cpp; ac_word=$2
5112 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5113 $as_echo_n "checking for $ac_word... " >&6; }
5114 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
5115 $as_echo_n "(cached) " >&6
5116 else
5117 if test -n "$ac_ct_CPPBIN"; then
5118 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
5119 else
5120 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5121 for as_dir in $PATH
5123 IFS=$as_save_IFS
5124 test -z "$as_dir" && as_dir=.
5125 for ac_exec_ext in '' $ac_executable_extensions; do
5126 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5127 ac_cv_prog_ac_ct_CPPBIN="cpp"
5128 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5129 break 2
5131 done
5132 done
5133 IFS=$as_save_IFS
5137 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5138 if test -n "$ac_ct_CPPBIN"; then
5139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5140 $as_echo "$ac_ct_CPPBIN" >&6; }
5141 else
5142 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5143 $as_echo "no" >&6; }
5146 if test "x$ac_ct_CPPBIN" = x; then
5147 CPPBIN="cpp"
5148 else
5149 case $cross_compiling:$ac_tool_warned in
5150 yes:)
5151 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5152 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5153 ac_tool_warned=yes ;;
5154 esac
5155 CPPBIN=$ac_ct_CPPBIN
5157 else
5158 CPPBIN="$ac_cv_prog_CPPBIN"
5162 cat >>confdefs.h <<_ACEOF
5163 #define EXEEXT "$ac_exeext"
5164 _ACEOF
5166 if test -n "$ac_tool_prefix"; then
5167 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5168 set dummy ${ac_tool_prefix}ld; ac_word=$2
5169 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5170 $as_echo_n "checking for $ac_word... " >&6; }
5171 if ${ac_cv_prog_LD+:} false; then :
5172 $as_echo_n "(cached) " >&6
5173 else
5174 if test -n "$LD"; then
5175 ac_cv_prog_LD="$LD" # Let the user override the test.
5176 else
5177 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5178 for as_dir in $PATH
5180 IFS=$as_save_IFS
5181 test -z "$as_dir" && as_dir=.
5182 for ac_exec_ext in '' $ac_executable_extensions; do
5183 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5184 ac_cv_prog_LD="${ac_tool_prefix}ld"
5185 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5186 break 2
5188 done
5189 done
5190 IFS=$as_save_IFS
5194 LD=$ac_cv_prog_LD
5195 if test -n "$LD"; then
5196 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5197 $as_echo "$LD" >&6; }
5198 else
5199 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5200 $as_echo "no" >&6; }
5205 if test -z "$ac_cv_prog_LD"; then
5206 ac_ct_LD=$LD
5207 # Extract the first word of "ld", so it can be a program name with args.
5208 set dummy ld; ac_word=$2
5209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5210 $as_echo_n "checking for $ac_word... " >&6; }
5211 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5212 $as_echo_n "(cached) " >&6
5213 else
5214 if test -n "$ac_ct_LD"; then
5215 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5216 else
5217 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5218 for as_dir in $PATH
5220 IFS=$as_save_IFS
5221 test -z "$as_dir" && as_dir=.
5222 for ac_exec_ext in '' $ac_executable_extensions; do
5223 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5224 ac_cv_prog_ac_ct_LD="ld"
5225 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5226 break 2
5228 done
5229 done
5230 IFS=$as_save_IFS
5234 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5235 if test -n "$ac_ct_LD"; then
5236 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5237 $as_echo "$ac_ct_LD" >&6; }
5238 else
5239 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5240 $as_echo "no" >&6; }
5243 if test "x$ac_ct_LD" = x; then
5244 LD=""
5245 else
5246 case $cross_compiling:$ac_tool_warned in
5247 yes:)
5248 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5249 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5250 ac_tool_warned=yes ;;
5251 esac
5252 LD=$ac_ct_LD
5254 else
5255 LD="$ac_cv_prog_LD"
5259 case $host in
5260 *-darwin*)
5261 with_fontconfig=${with_fontconfig:-no}
5263 *-mingw32*|*-cygwin*)
5264 enable_win16=${enable_win16:-no}
5265 CFLAGS="$CFLAGS -D_WIN32"
5267 esac
5269 case $host in
5270 x86_64*|amd64*)
5271 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5272 then
5273 CC="$CC -m32"
5274 CXX="$CXX -m32"
5275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5276 $as_echo_n "checking whether $CC works... " >&6; }
5278 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5279 /* end confdefs.h. */
5282 main ()
5286 return 0;
5288 _ACEOF
5289 if ac_fn_c_try_link "$LINENO"; then :
5290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5291 $as_echo "yes" >&6; }
5292 else
5293 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5294 $as_echo "no" >&6; }
5295 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5297 rm -f core conftest.err conftest.$ac_objext \
5298 conftest$ac_exeext conftest.$ac_ext
5299 host_cpu="i386"
5300 notice_platform="32-bit "
5301 TARGETFLAGS="-m32"
5303 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib/pkgconfig}
5304 export PKG_CONFIG_PATH
5305 enable_win16=${enable_win16:-yes}
5306 else
5307 if test "x${GCC}" = "xyes"
5308 then
5309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5310 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5312 /* end confdefs.h. */
5313 #include <stdarg.h>
5315 main ()
5317 void func(__builtin_ms_va_list *args);
5319 return 0;
5321 _ACEOF
5322 if ac_fn_c_try_compile "$LINENO"; then :
5323 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5324 $as_echo "yes" >&6; }
5325 else
5326 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5327 $as_echo "no" >&6; }
5328 as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5330 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5332 CC="$CC -m64"
5333 CXX="$CXX -m64"
5334 host_cpu="x86_64"
5335 notice_platform="64-bit "
5336 TARGETFLAGS="-m64"
5340 arm*)
5341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5342 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5343 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5344 /* end confdefs.h. */
5345 int ac_test(int i) { return i; }
5347 main ()
5349 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5351 return 0;
5353 _ACEOF
5354 if ac_fn_c_try_link "$LINENO"; then :
5355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5356 $as_echo "yes" >&6; }
5357 else
5358 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5359 $as_echo "no" >&6; }
5360 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5362 rm -f core conftest.err conftest.$ac_objext \
5363 conftest$ac_exeext conftest.$ac_ext
5364 case $with_float_abi in
5365 soft|softfp|hard)
5366 float_abi=$with_float_abi ;;
5368 case $host_os in
5369 *eabihf)
5370 float_abi=hard ;;
5372 float_abi=softfp
5373 saved_CFLAGS=$CFLAGS
5374 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5375 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
5376 $as_echo_n "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
5377 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5378 /* end confdefs.h. */
5381 main ()
5383 asm("vmrs r2,fpscr");
5385 return 0;
5387 _ACEOF
5388 if ac_fn_c_try_link "$LINENO"; then :
5389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5390 $as_echo "yes" >&6; }
5391 else
5392 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5393 $as_echo "no" >&6; }
5394 float_abi=soft
5395 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
5397 rm -f core conftest.err conftest.$ac_objext \
5398 conftest$ac_exeext conftest.$ac_ext
5399 CFLAGS=$saved_CFLAGS
5400 esac
5402 esac
5403 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5404 TARGETFLAGS="-marm -mfloat-abi=$float_abi"
5407 i[3456789]86*)
5408 enable_win16=${enable_win16:-yes}
5410 esac
5412 enable_win16=${enable_win16:-no}
5413 enable_win64=${enable_win64:-no}
5415 enable_winetest=${enable_winetest:-$enable_tests}
5417 if test -n "$with_wine64"
5418 then
5419 if test "x$enable_win64" = "xyes"
5420 then
5421 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5422 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5424 test "$srcdir" != . || as_fn_error $? "--with-wine64 cannot be used when building inside the source tree.
5425 You should create a separate build directory and run configure from there." "$LINENO" 5
5426 enable_fonts=${enable_fonts:-no}
5427 enable_server=${enable_server:-no}
5428 wine64_disable=\#
5430 elif test "x$enable_win64" = "xyes"
5431 then
5432 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5436 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5437 if ${wine_cv_toolsdir+:} false; then :
5438 $as_echo_n "(cached) " >&6
5439 else
5440 wine_cv_toolsdir="$with_wine_tools"
5441 if test -z "$with_wine_tools"; then
5442 if test "$cross_compiling" = "yes"; then
5443 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5444 elif test -n "$with_wine64"; then
5445 wine_cv_toolsdir="$with_wine64"
5448 if test -z "$wine_cv_toolsdir"; then
5449 wine_makedep=tools/makedep
5450 wine_cv_toolsdir="\$(top_builddir)"
5451 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5452 wine_makedep=$wine_cv_toolsdir/tools/makedep
5453 case "$wine_cv_toolsdir" in
5454 /*) ;;
5455 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5456 esac
5457 enable_tools=${enable_tools:-no}
5458 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5459 else
5460 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5463 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5464 $as_echo "$wine_cv_toolsdir" >&6; }
5465 TOOLSDIR=$wine_cv_toolsdir
5467 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5468 then
5469 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5473 for ac_prog in flex
5475 # Extract the first word of "$ac_prog", so it can be a program name with args.
5476 set dummy $ac_prog; ac_word=$2
5477 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5478 $as_echo_n "checking for $ac_word... " >&6; }
5479 if ${ac_cv_prog_FLEX+:} false; then :
5480 $as_echo_n "(cached) " >&6
5481 else
5482 if test -n "$FLEX"; then
5483 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5484 else
5485 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5486 for as_dir in $PATH
5488 IFS=$as_save_IFS
5489 test -z "$as_dir" && as_dir=.
5490 for ac_exec_ext in '' $ac_executable_extensions; do
5491 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5492 ac_cv_prog_FLEX="$ac_prog"
5493 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5494 break 2
5496 done
5497 done
5498 IFS=$as_save_IFS
5502 FLEX=$ac_cv_prog_FLEX
5503 if test -n "$FLEX"; then
5504 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5505 $as_echo "$FLEX" >&6; }
5506 else
5507 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5508 $as_echo "no" >&6; }
5512 test -n "$FLEX" && break
5513 done
5514 test -n "$FLEX" || FLEX="none"
5516 if test "$FLEX" = "none"
5517 then
5518 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5520 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5521 $as_echo_n "checking whether flex is recent enough... " >&6; }
5522 cat >conftest.l <<EOF
5523 %top{
5524 #include "prediluvian.h"
5528 if $FLEX -t conftest.l >/dev/null 2>&5
5529 then
5530 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5531 $as_echo "yes" >&6; }
5532 else
5533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5534 $as_echo "no" >&6; }
5535 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5538 for ac_prog in bison
5540 # Extract the first word of "$ac_prog", so it can be a program name with args.
5541 set dummy $ac_prog; ac_word=$2
5542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5543 $as_echo_n "checking for $ac_word... " >&6; }
5544 if ${ac_cv_prog_BISON+:} false; then :
5545 $as_echo_n "(cached) " >&6
5546 else
5547 if test -n "$BISON"; then
5548 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5549 else
5550 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5551 for as_dir in $PATH
5553 IFS=$as_save_IFS
5554 test -z "$as_dir" && as_dir=.
5555 for ac_exec_ext in '' $ac_executable_extensions; do
5556 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5557 ac_cv_prog_BISON="$ac_prog"
5558 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5559 break 2
5561 done
5562 done
5563 IFS=$as_save_IFS
5567 BISON=$ac_cv_prog_BISON
5568 if test -n "$BISON"; then
5569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5570 $as_echo "$BISON" >&6; }
5571 else
5572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5573 $as_echo "no" >&6; }
5577 test -n "$BISON" && break
5578 done
5579 test -n "$BISON" || BISON="none"
5581 if test "$BISON" = "none"
5582 then
5583 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5586 if test -n "$ac_tool_prefix"; then
5587 for ac_prog in ar gar
5589 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5590 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5591 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5592 $as_echo_n "checking for $ac_word... " >&6; }
5593 if ${ac_cv_prog_AR+:} false; then :
5594 $as_echo_n "(cached) " >&6
5595 else
5596 if test -n "$AR"; then
5597 ac_cv_prog_AR="$AR" # Let the user override the test.
5598 else
5599 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5600 for as_dir in $PATH
5602 IFS=$as_save_IFS
5603 test -z "$as_dir" && as_dir=.
5604 for ac_exec_ext in '' $ac_executable_extensions; do
5605 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5606 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5607 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5608 break 2
5610 done
5611 done
5612 IFS=$as_save_IFS
5616 AR=$ac_cv_prog_AR
5617 if test -n "$AR"; then
5618 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5619 $as_echo "$AR" >&6; }
5620 else
5621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5622 $as_echo "no" >&6; }
5626 test -n "$AR" && break
5627 done
5629 if test -z "$AR"; then
5630 ac_ct_AR=$AR
5631 for ac_prog in ar gar
5633 # Extract the first word of "$ac_prog", so it can be a program name with args.
5634 set dummy $ac_prog; ac_word=$2
5635 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5636 $as_echo_n "checking for $ac_word... " >&6; }
5637 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5638 $as_echo_n "(cached) " >&6
5639 else
5640 if test -n "$ac_ct_AR"; then
5641 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5642 else
5643 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5644 for as_dir in $PATH
5646 IFS=$as_save_IFS
5647 test -z "$as_dir" && as_dir=.
5648 for ac_exec_ext in '' $ac_executable_extensions; do
5649 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5650 ac_cv_prog_ac_ct_AR="$ac_prog"
5651 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5652 break 2
5654 done
5655 done
5656 IFS=$as_save_IFS
5660 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5661 if test -n "$ac_ct_AR"; then
5662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5663 $as_echo "$ac_ct_AR" >&6; }
5664 else
5665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5666 $as_echo "no" >&6; }
5670 test -n "$ac_ct_AR" && break
5671 done
5673 if test "x$ac_ct_AR" = x; then
5674 AR="ar"
5675 else
5676 case $cross_compiling:$ac_tool_warned in
5677 yes:)
5678 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5679 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5680 ac_tool_warned=yes ;;
5681 esac
5682 AR=$ac_ct_AR
5686 if test -n "$ac_tool_prefix"; then
5687 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5688 set dummy ${ac_tool_prefix}strip; ac_word=$2
5689 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5690 $as_echo_n "checking for $ac_word... " >&6; }
5691 if ${ac_cv_prog_STRIP+:} false; then :
5692 $as_echo_n "(cached) " >&6
5693 else
5694 if test -n "$STRIP"; then
5695 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5696 else
5697 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5698 for as_dir in $PATH
5700 IFS=$as_save_IFS
5701 test -z "$as_dir" && as_dir=.
5702 for ac_exec_ext in '' $ac_executable_extensions; do
5703 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5704 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5705 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5706 break 2
5708 done
5709 done
5710 IFS=$as_save_IFS
5714 STRIP=$ac_cv_prog_STRIP
5715 if test -n "$STRIP"; then
5716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5717 $as_echo "$STRIP" >&6; }
5718 else
5719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5720 $as_echo "no" >&6; }
5725 if test -z "$ac_cv_prog_STRIP"; then
5726 ac_ct_STRIP=$STRIP
5727 # Extract the first word of "strip", so it can be a program name with args.
5728 set dummy strip; ac_word=$2
5729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5730 $as_echo_n "checking for $ac_word... " >&6; }
5731 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5732 $as_echo_n "(cached) " >&6
5733 else
5734 if test -n "$ac_ct_STRIP"; then
5735 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5736 else
5737 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5738 for as_dir in $PATH
5740 IFS=$as_save_IFS
5741 test -z "$as_dir" && as_dir=.
5742 for ac_exec_ext in '' $ac_executable_extensions; do
5743 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5744 ac_cv_prog_ac_ct_STRIP="strip"
5745 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5746 break 2
5748 done
5749 done
5750 IFS=$as_save_IFS
5754 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5755 if test -n "$ac_ct_STRIP"; then
5756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5757 $as_echo "$ac_ct_STRIP" >&6; }
5758 else
5759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5760 $as_echo "no" >&6; }
5763 if test "x$ac_ct_STRIP" = x; then
5764 STRIP="strip"
5765 else
5766 case $cross_compiling:$ac_tool_warned in
5767 yes:)
5768 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5769 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5770 ac_tool_warned=yes ;;
5771 esac
5772 STRIP=$ac_ct_STRIP
5774 else
5775 STRIP="$ac_cv_prog_STRIP"
5778 ARFLAGS=rc
5780 if test -n "$ac_tool_prefix"; then
5781 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5782 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5783 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5784 $as_echo_n "checking for $ac_word... " >&6; }
5785 if ${ac_cv_prog_RANLIB+:} false; then :
5786 $as_echo_n "(cached) " >&6
5787 else
5788 if test -n "$RANLIB"; then
5789 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5790 else
5791 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5792 for as_dir in $PATH
5794 IFS=$as_save_IFS
5795 test -z "$as_dir" && as_dir=.
5796 for ac_exec_ext in '' $ac_executable_extensions; do
5797 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5798 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5799 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5800 break 2
5802 done
5803 done
5804 IFS=$as_save_IFS
5808 RANLIB=$ac_cv_prog_RANLIB
5809 if test -n "$RANLIB"; then
5810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5811 $as_echo "$RANLIB" >&6; }
5812 else
5813 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5814 $as_echo "no" >&6; }
5819 if test -z "$ac_cv_prog_RANLIB"; then
5820 ac_ct_RANLIB=$RANLIB
5821 # Extract the first word of "ranlib", so it can be a program name with args.
5822 set dummy ranlib; ac_word=$2
5823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5824 $as_echo_n "checking for $ac_word... " >&6; }
5825 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5826 $as_echo_n "(cached) " >&6
5827 else
5828 if test -n "$ac_ct_RANLIB"; then
5829 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5830 else
5831 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5832 for as_dir in $PATH
5834 IFS=$as_save_IFS
5835 test -z "$as_dir" && as_dir=.
5836 for ac_exec_ext in '' $ac_executable_extensions; do
5837 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5838 ac_cv_prog_ac_ct_RANLIB="ranlib"
5839 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5840 break 2
5842 done
5843 done
5844 IFS=$as_save_IFS
5848 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5849 if test -n "$ac_ct_RANLIB"; then
5850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5851 $as_echo "$ac_ct_RANLIB" >&6; }
5852 else
5853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5854 $as_echo "no" >&6; }
5857 if test "x$ac_ct_RANLIB" = x; then
5858 RANLIB=":"
5859 else
5860 case $cross_compiling:$ac_tool_warned in
5861 yes:)
5862 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5863 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5864 ac_tool_warned=yes ;;
5865 esac
5866 RANLIB=$ac_ct_RANLIB
5868 else
5869 RANLIB="$ac_cv_prog_RANLIB"
5872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5873 $as_echo_n "checking whether ln -s works... " >&6; }
5874 LN_S=$as_ln_s
5875 if test "$LN_S" = "ln -s"; then
5876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5877 $as_echo "yes" >&6; }
5878 else
5879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5880 $as_echo "no, using $LN_S" >&6; }
5883 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5884 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5885 if ${ac_cv_path_GREP+:} false; then :
5886 $as_echo_n "(cached) " >&6
5887 else
5888 if test -z "$GREP"; then
5889 ac_path_GREP_found=false
5890 # Loop through the user's path and test for each of PROGNAME-LIST
5891 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5892 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5894 IFS=$as_save_IFS
5895 test -z "$as_dir" && as_dir=.
5896 for ac_prog in grep ggrep; do
5897 for ac_exec_ext in '' $ac_executable_extensions; do
5898 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5899 as_fn_executable_p "$ac_path_GREP" || continue
5900 # Check for GNU ac_path_GREP and select it if it is found.
5901 # Check for GNU $ac_path_GREP
5902 case `"$ac_path_GREP" --version 2>&1` in
5903 *GNU*)
5904 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5906 ac_count=0
5907 $as_echo_n 0123456789 >"conftest.in"
5908 while :
5910 cat "conftest.in" "conftest.in" >"conftest.tmp"
5911 mv "conftest.tmp" "conftest.in"
5912 cp "conftest.in" "conftest.nl"
5913 $as_echo 'GREP' >> "conftest.nl"
5914 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5915 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5916 as_fn_arith $ac_count + 1 && ac_count=$as_val
5917 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5918 # Best one so far, save it but keep looking for a better one
5919 ac_cv_path_GREP="$ac_path_GREP"
5920 ac_path_GREP_max=$ac_count
5922 # 10*(2^10) chars as input seems more than enough
5923 test $ac_count -gt 10 && break
5924 done
5925 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5926 esac
5928 $ac_path_GREP_found && break 3
5929 done
5930 done
5931 done
5932 IFS=$as_save_IFS
5933 if test -z "$ac_cv_path_GREP"; then
5934 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5936 else
5937 ac_cv_path_GREP=$GREP
5941 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5942 $as_echo "$ac_cv_path_GREP" >&6; }
5943 GREP="$ac_cv_path_GREP"
5946 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5947 $as_echo_n "checking for egrep... " >&6; }
5948 if ${ac_cv_path_EGREP+:} false; then :
5949 $as_echo_n "(cached) " >&6
5950 else
5951 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5952 then ac_cv_path_EGREP="$GREP -E"
5953 else
5954 if test -z "$EGREP"; then
5955 ac_path_EGREP_found=false
5956 # Loop through the user's path and test for each of PROGNAME-LIST
5957 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5958 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5960 IFS=$as_save_IFS
5961 test -z "$as_dir" && as_dir=.
5962 for ac_prog in egrep; do
5963 for ac_exec_ext in '' $ac_executable_extensions; do
5964 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5965 as_fn_executable_p "$ac_path_EGREP" || continue
5966 # Check for GNU ac_path_EGREP and select it if it is found.
5967 # Check for GNU $ac_path_EGREP
5968 case `"$ac_path_EGREP" --version 2>&1` in
5969 *GNU*)
5970 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5972 ac_count=0
5973 $as_echo_n 0123456789 >"conftest.in"
5974 while :
5976 cat "conftest.in" "conftest.in" >"conftest.tmp"
5977 mv "conftest.tmp" "conftest.in"
5978 cp "conftest.in" "conftest.nl"
5979 $as_echo 'EGREP' >> "conftest.nl"
5980 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5981 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5982 as_fn_arith $ac_count + 1 && ac_count=$as_val
5983 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5984 # Best one so far, save it but keep looking for a better one
5985 ac_cv_path_EGREP="$ac_path_EGREP"
5986 ac_path_EGREP_max=$ac_count
5988 # 10*(2^10) chars as input seems more than enough
5989 test $ac_count -gt 10 && break
5990 done
5991 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5992 esac
5994 $ac_path_EGREP_found && break 3
5995 done
5996 done
5997 done
5998 IFS=$as_save_IFS
5999 if test -z "$ac_cv_path_EGREP"; then
6000 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6002 else
6003 ac_cv_path_EGREP=$EGREP
6008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6009 $as_echo "$ac_cv_path_EGREP" >&6; }
6010 EGREP="$ac_cv_path_EGREP"
6013 # Extract the first word of "ldconfig", so it can be a program name with args.
6014 set dummy ldconfig; ac_word=$2
6015 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6016 $as_echo_n "checking for $ac_word... " >&6; }
6017 if ${ac_cv_path_LDCONFIG+:} false; then :
6018 $as_echo_n "(cached) " >&6
6019 else
6020 case $LDCONFIG in
6021 [\\/]* | ?:[\\/]*)
6022 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6025 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6026 for as_dir in /sbin /usr/sbin $PATH
6028 IFS=$as_save_IFS
6029 test -z "$as_dir" && as_dir=.
6030 for ac_exec_ext in '' $ac_executable_extensions; do
6031 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6032 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6033 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6034 break 2
6036 done
6037 done
6038 IFS=$as_save_IFS
6040 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6042 esac
6044 LDCONFIG=$ac_cv_path_LDCONFIG
6045 if test -n "$LDCONFIG"; then
6046 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
6047 $as_echo "$LDCONFIG" >&6; }
6048 else
6049 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6050 $as_echo "no" >&6; }
6054 for ac_prog in msgfmt
6056 # Extract the first word of "$ac_prog", so it can be a program name with args.
6057 set dummy $ac_prog; ac_word=$2
6058 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6059 $as_echo_n "checking for $ac_word... " >&6; }
6060 if ${ac_cv_prog_MSGFMT+:} false; then :
6061 $as_echo_n "(cached) " >&6
6062 else
6063 if test -n "$MSGFMT"; then
6064 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
6065 else
6066 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6067 for as_dir in $PATH
6069 IFS=$as_save_IFS
6070 test -z "$as_dir" && as_dir=.
6071 for ac_exec_ext in '' $ac_executable_extensions; do
6072 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6073 ac_cv_prog_MSGFMT="$ac_prog"
6074 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6075 break 2
6077 done
6078 done
6079 IFS=$as_save_IFS
6083 MSGFMT=$ac_cv_prog_MSGFMT
6084 if test -n "$MSGFMT"; then
6085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6086 $as_echo "$MSGFMT" >&6; }
6087 else
6088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6089 $as_echo "no" >&6; }
6093 test -n "$MSGFMT" && break
6094 done
6095 test -n "$MSGFMT" || MSGFMT="false"
6097 if ${ac_tool_prefix+:} false; then :
6098 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6099 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6100 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6101 $as_echo_n "checking for $ac_word... " >&6; }
6102 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6103 $as_echo_n "(cached) " >&6
6104 else
6105 if test -n "$PKG_CONFIG"; then
6106 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6107 else
6108 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6109 for as_dir in $PATH
6111 IFS=$as_save_IFS
6112 test -z "$as_dir" && as_dir=.
6113 for ac_exec_ext in '' $ac_executable_extensions; do
6114 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6115 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
6116 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6117 break 2
6119 done
6120 done
6121 IFS=$as_save_IFS
6125 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6126 if test -n "$PKG_CONFIG"; then
6127 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6128 $as_echo "$PKG_CONFIG" >&6; }
6129 else
6130 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6131 $as_echo "no" >&6; }
6136 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
6137 if test "x$cross_compiling" = xyes; then :
6139 else
6140 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
6141 # Extract the first word of "pkg-config", so it can be a program name with args.
6142 set dummy pkg-config; ac_word=$2
6143 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6144 $as_echo_n "checking for $ac_word... " >&6; }
6145 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6146 $as_echo_n "(cached) " >&6
6147 else
6148 if test -n "$PKG_CONFIG"; then
6149 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6150 else
6151 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6152 for as_dir in $PATH
6154 IFS=$as_save_IFS
6155 test -z "$as_dir" && as_dir=.
6156 for ac_exec_ext in '' $ac_executable_extensions; do
6157 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6158 ac_cv_prog_PKG_CONFIG="pkg-config"
6159 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6160 break 2
6162 done
6163 done
6164 IFS=$as_save_IFS
6168 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6169 if test -n "$PKG_CONFIG"; then
6170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6171 $as_echo "$PKG_CONFIG" >&6; }
6172 else
6173 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6174 $as_echo "no" >&6; }
6179 else
6180 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6183 if test "x$enable_maintainer_mode" != "xyes"
6184 then
6185 FONTFORGE=""
6186 RSVG=""
6187 CONVERT=""
6188 ICOTOOL=""
6189 else
6190 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6191 for ac_prog in fontforge
6193 # Extract the first word of "$ac_prog", so it can be a program name with args.
6194 set dummy $ac_prog; ac_word=$2
6195 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6196 $as_echo_n "checking for $ac_word... " >&6; }
6197 if ${ac_cv_prog_FONTFORGE+:} false; then :
6198 $as_echo_n "(cached) " >&6
6199 else
6200 if test -n "$FONTFORGE"; then
6201 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6202 else
6203 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6204 for as_dir in $PATH
6206 IFS=$as_save_IFS
6207 test -z "$as_dir" && as_dir=.
6208 for ac_exec_ext in '' $ac_executable_extensions; do
6209 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6210 ac_cv_prog_FONTFORGE="$ac_prog"
6211 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6212 break 2
6214 done
6215 done
6216 IFS=$as_save_IFS
6220 FONTFORGE=$ac_cv_prog_FONTFORGE
6221 if test -n "$FONTFORGE"; then
6222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6223 $as_echo "$FONTFORGE" >&6; }
6224 else
6225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6226 $as_echo "no" >&6; }
6230 test -n "$FONTFORGE" && break
6231 done
6232 test -n "$FONTFORGE" || FONTFORGE="false"
6234 for ac_prog in rsvg-convert rsvg
6236 # Extract the first word of "$ac_prog", so it can be a program name with args.
6237 set dummy $ac_prog; ac_word=$2
6238 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6239 $as_echo_n "checking for $ac_word... " >&6; }
6240 if ${ac_cv_prog_RSVG+:} false; then :
6241 $as_echo_n "(cached) " >&6
6242 else
6243 if test -n "$RSVG"; then
6244 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6245 else
6246 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6247 for as_dir in $PATH
6249 IFS=$as_save_IFS
6250 test -z "$as_dir" && as_dir=.
6251 for ac_exec_ext in '' $ac_executable_extensions; do
6252 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6253 ac_cv_prog_RSVG="$ac_prog"
6254 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6255 break 2
6257 done
6258 done
6259 IFS=$as_save_IFS
6263 RSVG=$ac_cv_prog_RSVG
6264 if test -n "$RSVG"; then
6265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6266 $as_echo "$RSVG" >&6; }
6267 else
6268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6269 $as_echo "no" >&6; }
6273 test -n "$RSVG" && break
6274 done
6275 test -n "$RSVG" || RSVG="false"
6277 for ac_prog in convert
6279 # Extract the first word of "$ac_prog", so it can be a program name with args.
6280 set dummy $ac_prog; ac_word=$2
6281 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6282 $as_echo_n "checking for $ac_word... " >&6; }
6283 if ${ac_cv_prog_CONVERT+:} false; then :
6284 $as_echo_n "(cached) " >&6
6285 else
6286 if test -n "$CONVERT"; then
6287 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6288 else
6289 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6290 for as_dir in $PATH
6292 IFS=$as_save_IFS
6293 test -z "$as_dir" && as_dir=.
6294 for ac_exec_ext in '' $ac_executable_extensions; do
6295 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6296 ac_cv_prog_CONVERT="$ac_prog"
6297 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6298 break 2
6300 done
6301 done
6302 IFS=$as_save_IFS
6306 CONVERT=$ac_cv_prog_CONVERT
6307 if test -n "$CONVERT"; then
6308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6309 $as_echo "$CONVERT" >&6; }
6310 else
6311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6312 $as_echo "no" >&6; }
6316 test -n "$CONVERT" && break
6317 done
6318 test -n "$CONVERT" || CONVERT="false"
6320 for ac_prog in icotool
6322 # Extract the first word of "$ac_prog", so it can be a program name with args.
6323 set dummy $ac_prog; ac_word=$2
6324 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6325 $as_echo_n "checking for $ac_word... " >&6; }
6326 if ${ac_cv_prog_ICOTOOL+:} false; then :
6327 $as_echo_n "(cached) " >&6
6328 else
6329 if test -n "$ICOTOOL"; then
6330 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6331 else
6332 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6333 for as_dir in $PATH
6335 IFS=$as_save_IFS
6336 test -z "$as_dir" && as_dir=.
6337 for ac_exec_ext in '' $ac_executable_extensions; do
6338 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6339 ac_cv_prog_ICOTOOL="$ac_prog"
6340 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6341 break 2
6343 done
6344 done
6345 IFS=$as_save_IFS
6349 ICOTOOL=$ac_cv_prog_ICOTOOL
6350 if test -n "$ICOTOOL"; then
6351 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6352 $as_echo "$ICOTOOL" >&6; }
6353 else
6354 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6355 $as_echo "no" >&6; }
6359 test -n "$ICOTOOL" && break
6360 done
6361 test -n "$ICOTOOL" || ICOTOOL="false"
6363 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6364 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6366 if test "$CONVERT" = false
6367 then
6368 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6369 else
6370 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6371 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6372 convert_version=`convert --version | head -n1`
6373 if test "x$convert_version" != "x"
6374 then
6375 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6376 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6377 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6378 then
6379 CONVERT=false
6382 if test "$CONVERT" = false
6383 then
6384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6385 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6386 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6387 else
6388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6389 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6393 if test "$ICOTOOL" = false
6394 then
6395 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6396 else
6397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6398 $as_echo_n "checking for recent enough icotool... " >&6; }
6399 icotool_version=`icotool --version | head -n1`
6400 if test "x$icotool_version" != "x"
6401 then
6402 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6403 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6404 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6405 then
6406 ICOTOOL=false
6407 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6410 if test "$ICOTOOL" = false
6411 then
6412 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6413 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6414 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6415 else
6416 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6417 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6421 with_gettext=yes
6422 with_gettextpo=yes
6423 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
6426 test "x$with_gettext" != xno || MSGFMT=false
6427 if test "$MSGFMT" != "false"
6428 then
6429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6430 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6431 cat >conftest.po <<EOF
6432 # comment
6433 msgctxt "ctxt"
6434 msgid "id"
6435 msgstr "str"
6437 if $MSGFMT -o /dev/null conftest.po 2>&5
6438 then
6439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6440 $as_echo "yes" >&6; }
6441 else
6442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6443 $as_echo "no" >&6; }
6444 MSGFMT=false
6447 if test "$MSGFMT" = false; then :
6448 case "x$with_gettext" in
6449 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6450 xno) ;;
6451 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6452 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6453 esac
6454 enable_po=${enable_po:-no}
6458 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6459 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6460 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6461 $as_echo_n "(cached) " >&6
6462 else
6463 ac_check_lib_save_LIBS=$LIBS
6464 LIBS="-li386 $LIBS"
6465 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6466 /* end confdefs.h. */
6468 /* Override any GCC internal prototype to avoid an error.
6469 Use char because int might match the return type of a GCC
6470 builtin and then its argument prototype would still apply. */
6471 #ifdef __cplusplus
6472 extern "C"
6473 #endif
6474 char i386_set_ldt ();
6476 main ()
6478 return i386_set_ldt ();
6480 return 0;
6482 _ACEOF
6483 if ac_fn_c_try_link "$LINENO"; then :
6484 ac_cv_lib_i386_i386_set_ldt=yes
6485 else
6486 ac_cv_lib_i386_i386_set_ldt=no
6488 rm -f core conftest.err conftest.$ac_objext \
6489 conftest$ac_exeext conftest.$ac_ext
6490 LIBS=$ac_check_lib_save_LIBS
6492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6493 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6494 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6495 cat >>confdefs.h <<_ACEOF
6496 #define HAVE_LIBI386 1
6497 _ACEOF
6499 LIBS="-li386 $LIBS"
6503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6504 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6505 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6506 $as_echo_n "(cached) " >&6
6507 else
6508 ac_check_lib_save_LIBS=$LIBS
6509 LIBS="-lossaudio $LIBS"
6510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6511 /* end confdefs.h. */
6513 /* Override any GCC internal prototype to avoid an error.
6514 Use char because int might match the return type of a GCC
6515 builtin and then its argument prototype would still apply. */
6516 #ifdef __cplusplus
6517 extern "C"
6518 #endif
6519 char _oss_ioctl ();
6521 main ()
6523 return _oss_ioctl ();
6525 return 0;
6527 _ACEOF
6528 if ac_fn_c_try_link "$LINENO"; then :
6529 ac_cv_lib_ossaudio__oss_ioctl=yes
6530 else
6531 ac_cv_lib_ossaudio__oss_ioctl=no
6533 rm -f core conftest.err conftest.$ac_objext \
6534 conftest$ac_exeext conftest.$ac_ext
6535 LIBS=$ac_check_lib_save_LIBS
6537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6538 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6539 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6540 cat >>confdefs.h <<_ACEOF
6541 #define HAVE_LIBOSSAUDIO 1
6542 _ACEOF
6544 LIBS="-lossaudio $LIBS"
6549 OPENGL_LIBS=""
6553 # Check whether --enable-largefile was given.
6554 if test "${enable_largefile+set}" = set; then :
6555 enableval=$enable_largefile;
6558 if test "$enable_largefile" != no; then
6560 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6561 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6562 if ${ac_cv_sys_largefile_CC+:} false; then :
6563 $as_echo_n "(cached) " >&6
6564 else
6565 ac_cv_sys_largefile_CC=no
6566 if test "$GCC" != yes; then
6567 ac_save_CC=$CC
6568 while :; do
6569 # IRIX 6.2 and later do not support large files by default,
6570 # so use the C compiler's -n32 option if that helps.
6571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6572 /* end confdefs.h. */
6573 #include <sys/types.h>
6574 /* Check that off_t can represent 2**63 - 1 correctly.
6575 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6576 since some C++ compilers masquerading as C compilers
6577 incorrectly reject 9223372036854775807. */
6578 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6579 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6580 && LARGE_OFF_T % 2147483647 == 1)
6581 ? 1 : -1];
6583 main ()
6587 return 0;
6589 _ACEOF
6590 if ac_fn_c_try_compile "$LINENO"; then :
6591 break
6593 rm -f core conftest.err conftest.$ac_objext
6594 CC="$CC -n32"
6595 if ac_fn_c_try_compile "$LINENO"; then :
6596 ac_cv_sys_largefile_CC=' -n32'; break
6598 rm -f core conftest.err conftest.$ac_objext
6599 break
6600 done
6601 CC=$ac_save_CC
6602 rm -f conftest.$ac_ext
6605 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6606 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6607 if test "$ac_cv_sys_largefile_CC" != no; then
6608 CC=$CC$ac_cv_sys_largefile_CC
6611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6612 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6613 if ${ac_cv_sys_file_offset_bits+:} false; then :
6614 $as_echo_n "(cached) " >&6
6615 else
6616 while :; do
6617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6618 /* end confdefs.h. */
6619 #include <sys/types.h>
6620 /* Check that off_t can represent 2**63 - 1 correctly.
6621 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6622 since some C++ compilers masquerading as C compilers
6623 incorrectly reject 9223372036854775807. */
6624 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6625 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6626 && LARGE_OFF_T % 2147483647 == 1)
6627 ? 1 : -1];
6629 main ()
6633 return 0;
6635 _ACEOF
6636 if ac_fn_c_try_compile "$LINENO"; then :
6637 ac_cv_sys_file_offset_bits=no; break
6639 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6641 /* end confdefs.h. */
6642 #define _FILE_OFFSET_BITS 64
6643 #include <sys/types.h>
6644 /* Check that off_t can represent 2**63 - 1 correctly.
6645 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6646 since some C++ compilers masquerading as C compilers
6647 incorrectly reject 9223372036854775807. */
6648 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6649 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6650 && LARGE_OFF_T % 2147483647 == 1)
6651 ? 1 : -1];
6653 main ()
6657 return 0;
6659 _ACEOF
6660 if ac_fn_c_try_compile "$LINENO"; then :
6661 ac_cv_sys_file_offset_bits=64; break
6663 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6664 ac_cv_sys_file_offset_bits=unknown
6665 break
6666 done
6668 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6669 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6670 case $ac_cv_sys_file_offset_bits in #(
6671 no | unknown) ;;
6673 cat >>confdefs.h <<_ACEOF
6674 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6675 _ACEOF
6677 esac
6678 rm -rf conftest*
6679 if test $ac_cv_sys_file_offset_bits = unknown; then
6680 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6681 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6682 if ${ac_cv_sys_large_files+:} false; then :
6683 $as_echo_n "(cached) " >&6
6684 else
6685 while :; do
6686 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6687 /* end confdefs.h. */
6688 #include <sys/types.h>
6689 /* Check that off_t can represent 2**63 - 1 correctly.
6690 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6691 since some C++ compilers masquerading as C compilers
6692 incorrectly reject 9223372036854775807. */
6693 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6694 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6695 && LARGE_OFF_T % 2147483647 == 1)
6696 ? 1 : -1];
6698 main ()
6702 return 0;
6704 _ACEOF
6705 if ac_fn_c_try_compile "$LINENO"; then :
6706 ac_cv_sys_large_files=no; break
6708 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6709 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6710 /* end confdefs.h. */
6711 #define _LARGE_FILES 1
6712 #include <sys/types.h>
6713 /* Check that off_t can represent 2**63 - 1 correctly.
6714 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6715 since some C++ compilers masquerading as C compilers
6716 incorrectly reject 9223372036854775807. */
6717 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6718 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6719 && LARGE_OFF_T % 2147483647 == 1)
6720 ? 1 : -1];
6722 main ()
6726 return 0;
6728 _ACEOF
6729 if ac_fn_c_try_compile "$LINENO"; then :
6730 ac_cv_sys_large_files=1; break
6732 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6733 ac_cv_sys_large_files=unknown
6734 break
6735 done
6737 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6738 $as_echo "$ac_cv_sys_large_files" >&6; }
6739 case $ac_cv_sys_large_files in #(
6740 no | unknown) ;;
6742 cat >>confdefs.h <<_ACEOF
6743 #define _LARGE_FILES $ac_cv_sys_large_files
6744 _ACEOF
6746 esac
6747 rm -rf conftest*
6754 ac_ext=c
6755 ac_cpp='$CPP $CPPFLAGS'
6756 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6757 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6758 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6759 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6760 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6761 # On Suns, sometimes $CPP names a directory.
6762 if test -n "$CPP" && test -d "$CPP"; then
6763 CPP=
6765 if test -z "$CPP"; then
6766 if ${ac_cv_prog_CPP+:} false; then :
6767 $as_echo_n "(cached) " >&6
6768 else
6769 # Double quotes because CPP needs to be expanded
6770 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6772 ac_preproc_ok=false
6773 for ac_c_preproc_warn_flag in '' yes
6775 # Use a header file that comes with gcc, so configuring glibc
6776 # with a fresh cross-compiler works.
6777 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6778 # <limits.h> exists even on freestanding compilers.
6779 # On the NeXT, cc -E runs the code through the compiler's parser,
6780 # not just through cpp. "Syntax error" is here to catch this case.
6781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6782 /* end confdefs.h. */
6783 #ifdef __STDC__
6784 # include <limits.h>
6785 #else
6786 # include <assert.h>
6787 #endif
6788 Syntax error
6789 _ACEOF
6790 if ac_fn_c_try_cpp "$LINENO"; then :
6792 else
6793 # Broken: fails on valid input.
6794 continue
6796 rm -f conftest.err conftest.i conftest.$ac_ext
6798 # OK, works on sane cases. Now check whether nonexistent headers
6799 # can be detected and how.
6800 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6801 /* end confdefs.h. */
6802 #include <ac_nonexistent.h>
6803 _ACEOF
6804 if ac_fn_c_try_cpp "$LINENO"; then :
6805 # Broken: success on invalid input.
6806 continue
6807 else
6808 # Passes both tests.
6809 ac_preproc_ok=:
6810 break
6812 rm -f conftest.err conftest.i conftest.$ac_ext
6814 done
6815 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6816 rm -f conftest.i conftest.err conftest.$ac_ext
6817 if $ac_preproc_ok; then :
6818 break
6821 done
6822 ac_cv_prog_CPP=$CPP
6825 CPP=$ac_cv_prog_CPP
6826 else
6827 ac_cv_prog_CPP=$CPP
6829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6830 $as_echo "$CPP" >&6; }
6831 ac_preproc_ok=false
6832 for ac_c_preproc_warn_flag in '' yes
6834 # Use a header file that comes with gcc, so configuring glibc
6835 # with a fresh cross-compiler works.
6836 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6837 # <limits.h> exists even on freestanding compilers.
6838 # On the NeXT, cc -E runs the code through the compiler's parser,
6839 # not just through cpp. "Syntax error" is here to catch this case.
6840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6841 /* end confdefs.h. */
6842 #ifdef __STDC__
6843 # include <limits.h>
6844 #else
6845 # include <assert.h>
6846 #endif
6847 Syntax error
6848 _ACEOF
6849 if ac_fn_c_try_cpp "$LINENO"; then :
6851 else
6852 # Broken: fails on valid input.
6853 continue
6855 rm -f conftest.err conftest.i conftest.$ac_ext
6857 # OK, works on sane cases. Now check whether nonexistent headers
6858 # can be detected and how.
6859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6860 /* end confdefs.h. */
6861 #include <ac_nonexistent.h>
6862 _ACEOF
6863 if ac_fn_c_try_cpp "$LINENO"; then :
6864 # Broken: success on invalid input.
6865 continue
6866 else
6867 # Passes both tests.
6868 ac_preproc_ok=:
6869 break
6871 rm -f conftest.err conftest.i conftest.$ac_ext
6873 done
6874 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6875 rm -f conftest.i conftest.err conftest.$ac_ext
6876 if $ac_preproc_ok; then :
6878 else
6879 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6880 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6881 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6882 See \`config.log' for more details" "$LINENO" 5; }
6885 ac_ext=c
6886 ac_cpp='$CPP $CPPFLAGS'
6887 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6888 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6889 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6892 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6893 $as_echo_n "checking for ANSI C header files... " >&6; }
6894 if ${ac_cv_header_stdc+:} false; then :
6895 $as_echo_n "(cached) " >&6
6896 else
6897 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6898 /* end confdefs.h. */
6899 #include <stdlib.h>
6900 #include <stdarg.h>
6901 #include <string.h>
6902 #include <float.h>
6905 main ()
6909 return 0;
6911 _ACEOF
6912 if ac_fn_c_try_compile "$LINENO"; then :
6913 ac_cv_header_stdc=yes
6914 else
6915 ac_cv_header_stdc=no
6917 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6919 if test $ac_cv_header_stdc = yes; then
6920 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6921 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6922 /* end confdefs.h. */
6923 #include <string.h>
6925 _ACEOF
6926 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6927 $EGREP "memchr" >/dev/null 2>&1; then :
6929 else
6930 ac_cv_header_stdc=no
6932 rm -f conftest*
6936 if test $ac_cv_header_stdc = yes; then
6937 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6939 /* end confdefs.h. */
6940 #include <stdlib.h>
6942 _ACEOF
6943 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6944 $EGREP "free" >/dev/null 2>&1; then :
6946 else
6947 ac_cv_header_stdc=no
6949 rm -f conftest*
6953 if test $ac_cv_header_stdc = yes; then
6954 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6955 if test "$cross_compiling" = yes; then :
6957 else
6958 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6959 /* end confdefs.h. */
6960 #include <ctype.h>
6961 #include <stdlib.h>
6962 #if ((' ' & 0x0FF) == 0x020)
6963 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6964 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6965 #else
6966 # define ISLOWER(c) \
6967 (('a' <= (c) && (c) <= 'i') \
6968 || ('j' <= (c) && (c) <= 'r') \
6969 || ('s' <= (c) && (c) <= 'z'))
6970 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6971 #endif
6973 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6975 main ()
6977 int i;
6978 for (i = 0; i < 256; i++)
6979 if (XOR (islower (i), ISLOWER (i))
6980 || toupper (i) != TOUPPER (i))
6981 return 2;
6982 return 0;
6984 _ACEOF
6985 if ac_fn_c_try_run "$LINENO"; then :
6987 else
6988 ac_cv_header_stdc=no
6990 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6991 conftest.$ac_objext conftest.beam conftest.$ac_ext
6996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6997 $as_echo "$ac_cv_header_stdc" >&6; }
6998 if test $ac_cv_header_stdc = yes; then
7000 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7004 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7005 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7006 inttypes.h stdint.h unistd.h
7007 do :
7008 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7009 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7011 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7012 cat >>confdefs.h <<_ACEOF
7013 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7014 _ACEOF
7018 done
7021 for ac_header in \
7022 AL/al.h \
7023 ApplicationServices/ApplicationServices.h \
7024 AudioToolbox/AudioConverter.h \
7025 AudioUnit/AudioUnit.h \
7026 AudioUnit/AudioComponent.h \
7027 CL/cl.h \
7028 Carbon/Carbon.h \
7029 CommonCrypto/CommonCryptor.h \
7030 CoreAudio/CoreAudio.h \
7031 CoreServices/CoreServices.h \
7032 DiskArbitration/DiskArbitration.h \
7033 EGL/egl.h \
7034 IOKit/IOKitLib.h \
7035 IOKit/hid/IOHIDLib.h \
7036 OpenAL/al.h \
7037 OpenCL/opencl.h \
7038 QuickTime/ImageCompression.h \
7039 Security/Security.h \
7040 alias.h \
7041 alsa/asoundlib.h \
7042 arpa/inet.h \
7043 arpa/nameser.h \
7044 asm/types.h \
7045 asm/user.h \
7046 curses.h \
7047 direct.h \
7048 dirent.h \
7049 dlfcn.h \
7050 elf.h \
7051 float.h \
7052 fnmatch.h \
7053 getopt.h \
7054 gettext-po.h \
7055 grp.h \
7056 gsm.h \
7057 gsm/gsm.h \
7058 ieeefp.h \
7059 inet/mib2.h \
7060 io.h \
7061 kstat.h \
7062 libproc.h \
7063 link.h \
7064 linux/cdrom.h \
7065 linux/compiler.h \
7066 linux/filter.h \
7067 linux/hdreg.h \
7068 linux/hidraw.h \
7069 linux/input.h \
7070 linux/ioctl.h \
7071 linux/joystick.h \
7072 linux/major.h \
7073 linux/param.h \
7074 linux/serial.h \
7075 linux/types.h \
7076 linux/ucdrom.h \
7077 lwp.h \
7078 mach-o/nlist.h \
7079 mach-o/loader.h \
7080 mach/mach.h \
7081 mach/machine.h \
7082 machine/cpu.h \
7083 machine/limits.h \
7084 machine/sysarch.h \
7085 mntent.h \
7086 ncurses.h \
7087 netdb.h \
7088 netinet/in.h \
7089 netinet/in_systm.h \
7090 netinet/tcp.h \
7091 netinet/tcp_fsm.h \
7092 pcap/pcap.h \
7093 poll.h \
7094 port.h \
7095 process.h \
7096 pthread.h \
7097 pwd.h \
7098 sched.h \
7099 scsi/scsi.h \
7100 scsi/scsi_ioctl.h \
7101 scsi/sg.h \
7102 stdbool.h \
7103 stdint.h \
7104 stropts.h \
7105 sys/asoundlib.h \
7106 sys/attr.h \
7107 sys/auxv.h \
7108 sys/cdio.h \
7109 sys/elf32.h \
7110 sys/epoll.h \
7111 sys/event.h \
7112 sys/exec_elf.h \
7113 sys/filio.h \
7114 sys/inotify.h \
7115 sys/ioctl.h \
7116 sys/ipc.h \
7117 sys/limits.h \
7118 sys/link.h \
7119 sys/mman.h \
7120 sys/modem.h \
7121 sys/msg.h \
7122 sys/mtio.h \
7123 sys/param.h \
7124 sys/poll.h \
7125 sys/prctl.h \
7126 sys/protosw.h \
7127 sys/ptrace.h \
7128 sys/queue.h \
7129 sys/resource.h \
7130 sys/scsiio.h \
7131 sys/shm.h \
7132 sys/signal.h \
7133 sys/socket.h \
7134 sys/socketvar.h \
7135 sys/sockio.h \
7136 sys/statvfs.h \
7137 sys/strtio.h \
7138 sys/syscall.h \
7139 sys/sysinfo.h \
7140 sys/tihdr.h \
7141 sys/time.h \
7142 sys/timeout.h \
7143 sys/times.h \
7144 sys/uio.h \
7145 sys/user.h \
7146 sys/utsname.h \
7147 sys/vnode.h \
7148 sys/wait.h \
7149 syscall.h \
7150 termios.h \
7151 unistd.h \
7152 utime.h \
7153 valgrind/memcheck.h \
7154 valgrind/valgrind.h \
7155 zlib.h
7157 do :
7158 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7159 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7160 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7161 cat >>confdefs.h <<_ACEOF
7162 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7163 _ACEOF
7167 done
7169 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7170 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7172 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7177 if test $ac_cv_header_sys_mkdev_h = no; then
7178 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7179 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7181 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7187 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7188 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7189 if ${ac_cv_header_stat_broken+:} false; then :
7190 $as_echo_n "(cached) " >&6
7191 else
7192 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7193 /* end confdefs.h. */
7194 #include <sys/types.h>
7195 #include <sys/stat.h>
7197 #if defined S_ISBLK && defined S_IFDIR
7198 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7199 #endif
7201 #if defined S_ISBLK && defined S_IFCHR
7202 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7203 #endif
7205 #if defined S_ISLNK && defined S_IFREG
7206 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7207 #endif
7209 #if defined S_ISSOCK && defined S_IFREG
7210 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7211 #endif
7213 _ACEOF
7214 if ac_fn_c_try_compile "$LINENO"; then :
7215 ac_cv_header_stat_broken=no
7216 else
7217 ac_cv_header_stat_broken=yes
7219 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7221 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7222 $as_echo "$ac_cv_header_stat_broken" >&6; }
7223 if test $ac_cv_header_stat_broken = yes; then
7225 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7231 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
7232 do :
7233 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7234 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7235 #ifdef HAVE_SYS_PARAM_H
7236 # include <sys/param.h>
7237 #endif
7239 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7240 cat >>confdefs.h <<_ACEOF
7241 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7242 _ACEOF
7246 done
7249 for ac_header in \
7250 netinet/ip.h \
7251 net/if.h \
7252 net/if_arp.h \
7253 net/if_dl.h \
7254 net/if_types.h \
7255 net/route.h \
7256 netinet/if_ether.h \
7257 netinet/if_inarp.h \
7258 netinet/in_pcb.h \
7259 netinet/ip_icmp.h \
7260 netinet/ip_var.h \
7261 netinet/udp.h \
7262 netipx/ipx.h \
7263 sys/un.h \
7265 do :
7266 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7267 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7268 #ifdef HAVE_SYS_SOCKET_H
7269 # include <sys/socket.h>
7270 #endif
7271 #ifdef HAVE_SYS_SOCKETVAR_H
7272 # include <sys/socketvar.h>
7273 #endif
7274 #ifdef HAVE_NET_ROUTE_H
7275 # include <net/route.h>
7276 #endif
7277 #ifdef HAVE_NETINET_IN_H
7278 # include <netinet/in.h>
7279 #endif
7280 #ifdef HAVE_NETINET_IN_SYSTM_H
7281 # include <netinet/in_systm.h>
7282 #endif
7283 #ifdef HAVE_NET_IF_H
7284 # include <net/if.h>
7285 #endif
7286 #ifdef HAVE_NETINET_IP_H
7287 # include <netinet/ip.h>
7288 #endif
7290 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7291 cat >>confdefs.h <<_ACEOF
7292 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7293 _ACEOF
7297 done
7300 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7301 do :
7302 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7303 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7304 #ifdef HAVE_ALIAS_H
7305 # include <alias.h>
7306 #endif
7307 #ifdef HAVE_SYS_SOCKET_H
7308 # include <sys/socket.h>
7309 #endif
7310 #ifdef HAVE_SYS_SOCKETVAR_H
7311 # include <sys/socketvar.h>
7312 #endif
7313 #ifdef HAVE_SYS_TIMEOUT_H
7314 # include <sys/timeout.h>
7315 #endif
7316 #ifdef HAVE_NETINET_IN_H
7317 # include <netinet/in.h>
7318 #endif
7319 #ifdef HAVE_NETINET_IN_SYSTM_H
7320 # include <netinet/in_systm.h>
7321 #endif
7322 #ifdef HAVE_NETINET_IP_H
7323 # include <netinet/ip.h>
7324 #endif
7325 #ifdef HAVE_NETINET_IP_VAR_H
7326 # include <netinet/ip_var.h>
7327 #endif
7328 #ifdef HAVE_NETINET_IP_ICMP_H
7329 # include <netinet/ip_icmp.h>
7330 #endif
7331 #ifdef HAVE_NETINET_UDP_H
7332 # include <netinet/udp.h>
7333 #endif
7334 #ifdef HAVE_NETINET_TCP_H
7335 # include <netinet/tcp.h>
7336 #endif
7337 #ifdef HAVE_NETINET_TCP_TIMER_H
7338 #include <netinet/tcp_timer.h>
7339 #endif
7341 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7342 cat >>confdefs.h <<_ACEOF
7343 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7344 _ACEOF
7348 done
7351 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7352 do :
7353 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7354 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7355 #ifdef HAVE_ASM_TYPES_H
7356 # include <asm/types.h>
7357 #endif
7358 #ifdef HAVE_SYS_SOCKET_H
7359 # include <sys/socket.h>
7360 #endif
7361 #ifdef HAVE_LINUX_TYPES_H
7362 # include <linux/types.h>
7363 #endif
7365 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7366 cat >>confdefs.h <<_ACEOF
7367 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7368 _ACEOF
7372 done
7375 for ac_header in mach-o/dyld_images.h
7376 do :
7377 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7378 # include <stdbool.h>
7379 #endif
7380 #ifdef HAVE_STDINT_H
7381 # include <stdint.h>
7382 #endif
7384 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7385 cat >>confdefs.h <<_ACEOF
7386 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7387 _ACEOF
7391 done
7394 for ac_header in resolv.h
7395 do :
7396 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7397 #ifdef HAVE_SYS_SOCKET_H
7398 # include <sys/socket.h>
7399 #endif
7400 #ifdef HAVE_NETINET_IN_H
7401 # include <netinet/in.h>
7402 #endif
7403 #ifdef HAVE_ARPA_NAMESER_H
7404 # include <arpa/nameser.h>
7405 #endif
7407 if test "x$ac_cv_header_resolv_h" = xyes; then :
7408 cat >>confdefs.h <<_ACEOF
7409 #define HAVE_RESOLV_H 1
7410 _ACEOF
7414 done
7417 for ac_header in ifaddrs.h
7418 do :
7419 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7421 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7422 cat >>confdefs.h <<_ACEOF
7423 #define HAVE_IFADDRS_H 1
7424 _ACEOF
7428 done
7431 for ac_header in sys/ucontext.h
7432 do :
7433 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7435 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7436 cat >>confdefs.h <<_ACEOF
7437 #define HAVE_SYS_UCONTEXT_H 1
7438 _ACEOF
7442 done
7445 for ac_header in sys/thr.h
7446 do :
7447 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7448 #ifdef HAVE_SYS_UCONTEXT_H
7449 #include <sys/ucontext.h>
7450 #endif
7452 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7453 cat >>confdefs.h <<_ACEOF
7454 #define HAVE_SYS_THR_H 1
7455 _ACEOF
7459 done
7462 for ac_header in pthread_np.h
7463 do :
7464 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7465 #include <pthread.h>
7466 #endif
7468 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7469 cat >>confdefs.h <<_ACEOF
7470 #define HAVE_PTHREAD_NP_H 1
7471 _ACEOF
7475 done
7478 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7479 do :
7480 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7481 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7482 #include <sys/time.h>
7483 #endif
7484 #include <sys/types.h>
7485 #ifdef HAVE_ASM_TYPES_H
7486 #include <asm/types.h>
7487 #endif
7489 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7490 cat >>confdefs.h <<_ACEOF
7491 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7492 _ACEOF
7496 done
7499 for ac_header in libprocstat.h
7500 do :
7501 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7502 #include <sys/param.h>
7503 #endif
7504 #ifdef HAVE_SYS_QUEUE_H
7505 #include <sys/queue.h>
7506 #endif
7507 #ifdef HAVE_SYS_SOCKET_H
7508 #include <sys/socket.h>
7509 #endif
7511 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7512 cat >>confdefs.h <<_ACEOF
7513 #define HAVE_LIBPROCSTAT_H 1
7514 _ACEOF
7518 done
7522 DLLFLAGS="-D_REENTRANT"
7524 LDRPATH_INSTALL=""
7526 LDRPATH_LOCAL=""
7528 LDEXECFLAGS=""
7530 WINELOADER_LDFLAGS=""
7532 LIBEXT="so"
7533 DLLEXT=".so"
7534 IMPLIBEXT="def"
7535 # Extract the first word of "ldd", so it can be a program name with args.
7536 set dummy ldd; ac_word=$2
7537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7538 $as_echo_n "checking for $ac_word... " >&6; }
7539 if ${ac_cv_path_LDD+:} false; then :
7540 $as_echo_n "(cached) " >&6
7541 else
7542 case $LDD in
7543 [\\/]* | ?:[\\/]*)
7544 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7547 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7548 as_dummy="/sbin:/usr/sbin:$PATH"
7549 for as_dir in $as_dummy
7551 IFS=$as_save_IFS
7552 test -z "$as_dir" && as_dir=.
7553 for ac_exec_ext in '' $ac_executable_extensions; do
7554 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7555 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7556 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7557 break 2
7559 done
7560 done
7561 IFS=$as_save_IFS
7563 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7565 esac
7567 LDD=$ac_cv_path_LDD
7568 if test -n "$LDD"; then
7569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7570 $as_echo "$LDD" >&6; }
7571 else
7572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7573 $as_echo "no" >&6; }
7577 if test -n "$ac_tool_prefix"; then
7578 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7579 set dummy ${ac_tool_prefix}otool; ac_word=$2
7580 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7581 $as_echo_n "checking for $ac_word... " >&6; }
7582 if ${ac_cv_prog_OTOOL+:} false; then :
7583 $as_echo_n "(cached) " >&6
7584 else
7585 if test -n "$OTOOL"; then
7586 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7587 else
7588 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7589 for as_dir in $PATH
7591 IFS=$as_save_IFS
7592 test -z "$as_dir" && as_dir=.
7593 for ac_exec_ext in '' $ac_executable_extensions; do
7594 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7595 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7596 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7597 break 2
7599 done
7600 done
7601 IFS=$as_save_IFS
7605 OTOOL=$ac_cv_prog_OTOOL
7606 if test -n "$OTOOL"; then
7607 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7608 $as_echo "$OTOOL" >&6; }
7609 else
7610 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7611 $as_echo "no" >&6; }
7616 if test -z "$ac_cv_prog_OTOOL"; then
7617 ac_ct_OTOOL=$OTOOL
7618 # Extract the first word of "otool", so it can be a program name with args.
7619 set dummy otool; ac_word=$2
7620 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7621 $as_echo_n "checking for $ac_word... " >&6; }
7622 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7623 $as_echo_n "(cached) " >&6
7624 else
7625 if test -n "$ac_ct_OTOOL"; then
7626 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7627 else
7628 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7629 for as_dir in $PATH
7631 IFS=$as_save_IFS
7632 test -z "$as_dir" && as_dir=.
7633 for ac_exec_ext in '' $ac_executable_extensions; do
7634 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7635 ac_cv_prog_ac_ct_OTOOL="otool"
7636 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7637 break 2
7639 done
7640 done
7641 IFS=$as_save_IFS
7645 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7646 if test -n "$ac_ct_OTOOL"; then
7647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7648 $as_echo "$ac_ct_OTOOL" >&6; }
7649 else
7650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7651 $as_echo "no" >&6; }
7654 if test "x$ac_ct_OTOOL" = x; then
7655 OTOOL="otool"
7656 else
7657 case $cross_compiling:$ac_tool_warned in
7658 yes:)
7659 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7660 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7661 ac_tool_warned=yes ;;
7662 esac
7663 OTOOL=$ac_ct_OTOOL
7665 else
7666 OTOOL="$ac_cv_prog_OTOOL"
7669 if test -n "$ac_tool_prefix"; then
7670 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7671 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7672 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7673 $as_echo_n "checking for $ac_word... " >&6; }
7674 if ${ac_cv_prog_READELF+:} false; then :
7675 $as_echo_n "(cached) " >&6
7676 else
7677 if test -n "$READELF"; then
7678 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7679 else
7680 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7681 for as_dir in $PATH
7683 IFS=$as_save_IFS
7684 test -z "$as_dir" && as_dir=.
7685 for ac_exec_ext in '' $ac_executable_extensions; do
7686 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7687 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7688 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7689 break 2
7691 done
7692 done
7693 IFS=$as_save_IFS
7697 READELF=$ac_cv_prog_READELF
7698 if test -n "$READELF"; then
7699 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7700 $as_echo "$READELF" >&6; }
7701 else
7702 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7703 $as_echo "no" >&6; }
7708 if test -z "$ac_cv_prog_READELF"; then
7709 ac_ct_READELF=$READELF
7710 # Extract the first word of "readelf", so it can be a program name with args.
7711 set dummy readelf; ac_word=$2
7712 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7713 $as_echo_n "checking for $ac_word... " >&6; }
7714 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7715 $as_echo_n "(cached) " >&6
7716 else
7717 if test -n "$ac_ct_READELF"; then
7718 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7719 else
7720 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7721 for as_dir in $PATH
7723 IFS=$as_save_IFS
7724 test -z "$as_dir" && as_dir=.
7725 for ac_exec_ext in '' $ac_executable_extensions; do
7726 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7727 ac_cv_prog_ac_ct_READELF="readelf"
7728 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7729 break 2
7731 done
7732 done
7733 IFS=$as_save_IFS
7737 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7738 if test -n "$ac_ct_READELF"; then
7739 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7740 $as_echo "$ac_ct_READELF" >&6; }
7741 else
7742 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7743 $as_echo "no" >&6; }
7746 if test "x$ac_ct_READELF" = x; then
7747 READELF="true"
7748 else
7749 case $cross_compiling:$ac_tool_warned in
7750 yes:)
7751 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7752 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7753 ac_tool_warned=yes ;;
7754 esac
7755 READELF=$ac_ct_READELF
7757 else
7758 READELF="$ac_cv_prog_READELF"
7761 wine_rules_file=conf$$rules.make
7762 rm -f $wine_rules_file
7763 SUBDIRS=""
7765 DISABLED_SUBDIRS=""
7767 CONFIGURE_TARGETS=""
7770 wine_fn_append_file ()
7772 as_fn_append $1 " \\$as_nl $2"
7775 wine_fn_append_rule ()
7777 $as_echo "$1" >>$wine_rules_file
7780 wine_fn_config_makefile ()
7782 wine_fn_append_file SUBDIRS $1
7783 if eval test \"x\$"$2"\" = x"no"; then :
7784 wine_fn_append_file DISABLED_SUBDIRS $1
7788 wine_fn_config_symlink ()
7790 ac_links=$@
7791 wine_fn_append_rule \
7792 "$ac_links:
7793 @./config.status \$@"
7794 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
7797 wine_binary="wine"
7798 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7799 WINELOADER_PROGRAMS="$wine_binary"
7801 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7803 case $host_os in
7804 cygwin*|mingw32*)
7805 if test -n "$ac_tool_prefix"; then
7806 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7807 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7808 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7809 $as_echo_n "checking for $ac_word... " >&6; }
7810 if ${ac_cv_prog_DLLTOOL+:} false; then :
7811 $as_echo_n "(cached) " >&6
7812 else
7813 if test -n "$DLLTOOL"; then
7814 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7815 else
7816 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7817 for as_dir in $PATH
7819 IFS=$as_save_IFS
7820 test -z "$as_dir" && as_dir=.
7821 for ac_exec_ext in '' $ac_executable_extensions; do
7822 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7823 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7824 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7825 break 2
7827 done
7828 done
7829 IFS=$as_save_IFS
7833 DLLTOOL=$ac_cv_prog_DLLTOOL
7834 if test -n "$DLLTOOL"; then
7835 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7836 $as_echo "$DLLTOOL" >&6; }
7837 else
7838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7839 $as_echo "no" >&6; }
7844 if test -z "$ac_cv_prog_DLLTOOL"; then
7845 ac_ct_DLLTOOL=$DLLTOOL
7846 # Extract the first word of "dlltool", so it can be a program name with args.
7847 set dummy dlltool; ac_word=$2
7848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7849 $as_echo_n "checking for $ac_word... " >&6; }
7850 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7851 $as_echo_n "(cached) " >&6
7852 else
7853 if test -n "$ac_ct_DLLTOOL"; then
7854 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7855 else
7856 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7857 for as_dir in $PATH
7859 IFS=$as_save_IFS
7860 test -z "$as_dir" && as_dir=.
7861 for ac_exec_ext in '' $ac_executable_extensions; do
7862 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7863 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7864 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7865 break 2
7867 done
7868 done
7869 IFS=$as_save_IFS
7873 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7874 if test -n "$ac_ct_DLLTOOL"; then
7875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7876 $as_echo "$ac_ct_DLLTOOL" >&6; }
7877 else
7878 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7879 $as_echo "no" >&6; }
7882 if test "x$ac_ct_DLLTOOL" = x; then
7883 DLLTOOL="false"
7884 else
7885 case $cross_compiling:$ac_tool_warned in
7886 yes:)
7887 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7888 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7889 ac_tool_warned=yes ;;
7890 esac
7891 DLLTOOL=$ac_ct_DLLTOOL
7893 else
7894 DLLTOOL="$ac_cv_prog_DLLTOOL"
7897 LIBEXT="dll"
7898 DLLEXT=""
7899 IMPLIBEXT="a"
7900 enable_iphlpapi=${enable_iphlpapi:-no}
7901 enable_kernel32=${enable_kernel32:-no}
7902 enable_msvcrt=${enable_msvcrt:-no}
7903 enable_ntdll=${enable_ntdll:-no}
7904 enable_ws2_32=${enable_ws2_32:-no}
7905 enable_loader=${enable_loader:-no}
7906 enable_server=${enable_server:-no}
7907 with_x=${with_x:-no}
7908 with_pthread=${with_pthread:-no}
7910 crtlibs=""
7911 case $host_os in
7912 mingw32*)
7913 crtlibs="-lmsvcrt"
7914 SOCKET_LIBS="-lws2_32"
7916 esac
7918 LIBWINE_SHAREDLIB="libwine.dll"
7920 LIBWINE_IMPORTLIB="libwine.a"
7922 LIBWINE_INSTALL_LIB="libwine.dll"
7924 LIBWINE_INSTALL_DEV="libwine.a"
7926 LIBWINE_LDFLAGS="-shared \$(srcdir)/wine.def"
7928 LIBWINE_DEPENDS="wine.def"
7932 darwin*|macosx*)
7933 for ac_header in libunwind.h
7934 do :
7935 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
7936 if test "x$ac_cv_header_libunwind_h" = xyes; then :
7937 cat >>confdefs.h <<_ACEOF
7938 #define HAVE_LIBUNWIND_H 1
7939 _ACEOF
7943 done
7945 LIBEXT="dylib"
7946 DLLFLAGS="$DLLFLAGS -fPIC"
7947 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
7948 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7949 COREFOUNDATION_LIBS="-framework CoreFoundation"
7951 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
7953 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
7955 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
7957 CORESERVICES_LIBS="-framework CoreServices"
7959 APPKIT_LIBS="-framework AppKit"
7961 WINELOADER_LDFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
7962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
7963 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
7964 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
7965 $as_echo_n "(cached) " >&6
7966 else
7967 ac_wine_try_cflags_saved=$CFLAGS
7968 CFLAGS="$CFLAGS -Wl,-no_pie"
7969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7970 /* end confdefs.h. */
7971 int main(int argc, char **argv) { return 0; }
7972 _ACEOF
7973 if ac_fn_c_try_link "$LINENO"; then :
7974 ac_cv_cflags__Wl__no_pie=yes
7975 else
7976 ac_cv_cflags__Wl__no_pie=no
7978 rm -f core conftest.err conftest.$ac_objext \
7979 conftest$ac_exeext conftest.$ac_ext
7980 CFLAGS=$ac_wine_try_cflags_saved
7982 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
7983 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
7984 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
7985 WINELOADER_LDFLAGS="-Wl,-no_pie $WINELOADER_LDFLAGS"
7987 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
7988 then
7989 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
7992 if test "$ac_cv_header_Security_Security_h" = "yes"
7993 then
7994 SECURITY_LIBS="-framework Security -framework CoreFoundation"
7996 ac_save_LIBS="$LIBS"
7997 LIBS="$LIBS $SECURITY_LIBS"
7998 for ac_func in SSLCopyPeerCertificates
7999 do :
8000 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8001 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8002 cat >>confdefs.h <<_ACEOF
8003 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8004 _ACEOF
8007 done
8009 LIBS="$ac_save_LIBS"
8010 with_gnutls=${with_gnutls:-no}
8012 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8013 then
8014 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8015 then
8016 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8018 else
8019 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8022 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8023 ac_save_LIBS="$LIBS"
8024 LIBS="$LIBS $COREAUDIO_LIBS"
8025 for ac_func in AUGraphAddNode
8026 do :
8027 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8028 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8029 cat >>confdefs.h <<_ACEOF
8030 #define HAVE_AUGRAPHADDNODE 1
8031 _ACEOF
8034 done
8036 LIBS="$ac_save_LIBS"
8038 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8039 then
8040 OPENAL_LIBS="-framework OpenAL"
8043 cat >>confdefs.h <<_ACEOF
8044 #define HAVE_OPENAL 1
8045 _ACEOF
8047 ac_cv_lib_openal=yes
8049 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8050 then
8051 OPENCL_LIBS="-framework OpenCL"
8053 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8055 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8056 then
8057 ac_save_LIBS="$LIBS"
8058 LIBS="$LIBS $IOKIT_LIBS"
8059 for ac_func in IOHIDManagerCreate
8060 do :
8061 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8062 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8063 cat >>confdefs.h <<_ACEOF
8064 #define HAVE_IOHIDMANAGERCREATE 1
8065 _ACEOF
8068 done
8070 LIBS="$ac_save_LIBS"
8072 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8073 then
8074 ac_save_LIBS="$LIBS"
8075 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8076 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8077 $as_echo_n "checking for the QuickTime framework... " >&6; }
8078 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8079 /* end confdefs.h. */
8080 #include <QuickTime/ImageCompression.h>
8082 main ()
8084 CodecManagerVersion(NULL);
8086 return 0;
8088 _ACEOF
8089 if ac_fn_c_try_link "$LINENO"; then :
8090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8091 $as_echo "yes" >&6; }
8092 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8094 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8095 else
8096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8097 $as_echo "no" >&6; }
8098 ac_cv_header_QuickTime_ImageCompression_h=no
8100 rm -f core conftest.err conftest.$ac_objext \
8101 conftest$ac_exeext conftest.$ac_ext
8102 LIBS="$ac_save_LIBS"
8104 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8105 then
8106 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8108 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8109 then
8110 CARBON_LIBS="-framework Carbon"
8114 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8115 then
8116 ac_save_LIBS="$LIBS"
8117 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8118 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8119 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8120 enable_winemac_drv=${enable_winemac_drv:-yes}
8123 LIBS="$ac_save_LIBS"
8126 if test "x$enable_win16" = "xyes"
8127 then
8128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8129 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8130 if test "$cross_compiling" = yes; then :
8131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8132 $as_echo "cross-compiling, assuming yes" >&6; }
8133 else
8134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8135 /* end confdefs.h. */
8136 asm(".text\n"
8137 "bad:\tnop;nop\n"
8138 "good:\tnop;nop\n\t"
8139 ".globl _testfunc\n"
8140 "_testfunc:\tcallw good");
8141 extern void testfunc();
8143 main ()
8145 unsigned short *p = (unsigned short *)testfunc;
8146 return p[0] != 0xe866 || p[1] != 0xfffa
8148 return 0;
8150 _ACEOF
8151 if ac_fn_c_try_run "$LINENO"; then :
8152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8153 $as_echo "yes" >&6; }
8154 else
8155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8156 $as_echo "no" >&6; }
8157 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
8159 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8160 conftest.$ac_objext conftest.beam conftest.$ac_ext
8165 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
8167 LIBWINE_INSTALL_LIB="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8169 LIBWINE_INSTALL_DEV="libwine.dylib"
8171 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8173 WINELOADER_DEPENDS="wine_info.plist"
8177 linux-android*)
8178 DLLFLAGS="$DLLFLAGS -fPIC"
8179 LDEXECFLAGS="-Wl,-pie"
8180 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
8181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8182 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8183 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8184 $as_echo_n "(cached) " >&6
8185 else
8186 ac_wine_try_cflags_saved=$CFLAGS
8187 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8188 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8189 /* end confdefs.h. */
8190 int main(int argc, char **argv) { return 0; }
8191 _ACEOF
8192 if ac_fn_c_try_link "$LINENO"; then :
8193 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8194 else
8195 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8197 rm -f core conftest.err conftest.$ac_objext \
8198 conftest$ac_exeext conftest.$ac_ext
8199 CFLAGS=$ac_wine_try_cflags_saved
8201 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8202 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8203 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8204 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
8206 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8207 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8208 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8209 if eval \${$as_ac_var+:} false; then :
8210 $as_echo_n "(cached) " >&6
8211 else
8212 ac_wine_try_cflags_saved=$CFLAGS
8213 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8214 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8215 /* end confdefs.h. */
8216 int main(int argc, char **argv) { return 0; }
8217 _ACEOF
8218 if ac_fn_c_try_link "$LINENO"; then :
8219 eval "$as_ac_var=yes"
8220 else
8221 eval "$as_ac_var=no"
8223 rm -f core conftest.err conftest.$ac_objext \
8224 conftest$ac_exeext conftest.$ac_ext
8225 CFLAGS=$ac_wine_try_cflags_saved
8227 eval ac_res=\$$as_ac_var
8228 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8229 $as_echo "$ac_res" >&6; }
8230 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8231 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8232 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8233 else
8234 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8235 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8236 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8237 if eval \${$as_ac_var+:} false; then :
8238 $as_echo_n "(cached) " >&6
8239 else
8240 ac_wine_try_cflags_saved=$CFLAGS
8241 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8243 /* end confdefs.h. */
8244 int main(int argc, char **argv) { return 0; }
8245 _ACEOF
8246 if ac_fn_c_try_link "$LINENO"; then :
8247 eval "$as_ac_var=yes"
8248 else
8249 eval "$as_ac_var=no"
8251 rm -f core conftest.err conftest.$ac_objext \
8252 conftest$ac_exeext conftest.$ac_ext
8253 CFLAGS=$ac_wine_try_cflags_saved
8255 eval ac_res=\$$as_ac_var
8256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8257 $as_echo "$ac_res" >&6; }
8258 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8259 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8260 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8264 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8265 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8266 $as_echo_n "(cached) " >&6
8267 else
8268 ac_wine_try_cflags_saved=$CFLAGS
8269 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8271 /* end confdefs.h. */
8272 int main(int argc, char **argv) { return 0; }
8273 _ACEOF
8274 if ac_fn_c_try_link "$LINENO"; then :
8275 ac_cv_cflags__Wl___enable_new_dtags=yes
8276 else
8277 ac_cv_cflags__Wl___enable_new_dtags=no
8279 rm -f core conftest.err conftest.$ac_objext \
8280 conftest$ac_exeext conftest.$ac_ext
8281 CFLAGS=$ac_wine_try_cflags_saved
8283 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8284 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8285 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8286 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8289 LIBWINE_SHAREDLIB="libwine.so"
8291 LIBWINE_INSTALL_LIB="libwine.so"
8293 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
8296 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
8297 $as_echo_n "checking for -lEGL... " >&6; }
8298 if ${ac_cv_lib_soname_EGL+:} false; then :
8299 $as_echo_n "(cached) " >&6
8300 else
8301 ac_check_soname_save_LIBS=$LIBS
8302 LIBS="-lEGL $LIBS"
8303 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8304 /* end confdefs.h. */
8306 /* Override any GCC internal prototype to avoid an error.
8307 Use char because int might match the return type of a GCC
8308 builtin and then its argument prototype would still apply. */
8309 #ifdef __cplusplus
8310 extern "C"
8311 #endif
8312 char eglGetProcAddress ();
8314 main ()
8316 return eglGetProcAddress ();
8318 return 0;
8320 _ACEOF
8321 if ac_fn_c_try_link "$LINENO"; then :
8322 case "$LIBEXT" in
8323 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8324 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'` ;;
8325 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8326 if ${ac_cv_lib_soname_EGL:+false} :; then :
8327 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8328 fi ;;
8329 esac
8331 rm -f core conftest.err conftest.$ac_objext \
8332 conftest$ac_exeext conftest.$ac_ext
8333 LIBS=$ac_check_soname_save_LIBS
8335 if ${ac_cv_lib_soname_EGL:+false} :; then :
8336 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8337 $as_echo "not found" >&6; }
8339 else
8340 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
8341 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
8343 cat >>confdefs.h <<_ACEOF
8344 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
8345 _ACEOF
8349 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
8350 $as_echo_n "checking for -lGLESv2... " >&6; }
8351 if ${ac_cv_lib_soname_GLESv2+:} false; then :
8352 $as_echo_n "(cached) " >&6
8353 else
8354 ac_check_soname_save_LIBS=$LIBS
8355 LIBS="-lGLESv2 $LIBS"
8356 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8357 /* end confdefs.h. */
8359 /* Override any GCC internal prototype to avoid an error.
8360 Use char because int might match the return type of a GCC
8361 builtin and then its argument prototype would still apply. */
8362 #ifdef __cplusplus
8363 extern "C"
8364 #endif
8365 char glFlush ();
8367 main ()
8369 return glFlush ();
8371 return 0;
8373 _ACEOF
8374 if ac_fn_c_try_link "$LINENO"; then :
8375 case "$LIBEXT" in
8376 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8377 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'` ;;
8378 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8379 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
8380 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8381 fi ;;
8382 esac
8384 rm -f core conftest.err conftest.$ac_objext \
8385 conftest$ac_exeext conftest.$ac_ext
8386 LIBS=$ac_check_soname_save_LIBS
8388 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
8389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8390 $as_echo "not found" >&6; }
8392 else
8393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
8394 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
8396 cat >>confdefs.h <<_ACEOF
8397 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
8398 _ACEOF
8403 if test "x$exec_prefix" = xNONE
8404 then
8405 case $host_cpu in
8406 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
8407 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
8408 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
8409 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
8410 esac
8415 DLLFLAGS="$DLLFLAGS -fPIC"
8416 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8417 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8418 if ${ac_cv_c_dll_gnuelf+:} false; then :
8419 $as_echo_n "(cached) " >&6
8420 else
8421 ac_wine_try_cflags_saved=$CFLAGS
8422 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8423 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8424 /* end confdefs.h. */
8425 void myfunc() {}
8426 _ACEOF
8427 if ac_fn_c_try_link "$LINENO"; then :
8428 ac_cv_c_dll_gnuelf="yes"
8429 else
8430 ac_cv_c_dll_gnuelf="no"
8432 rm -f core conftest.err conftest.$ac_objext \
8433 conftest$ac_exeext conftest.$ac_ext
8434 CFLAGS=$ac_wine_try_cflags_saved
8436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8437 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8438 if test "$ac_cv_c_dll_gnuelf" = "yes"
8439 then
8440 LIBWINE_LDFLAGS="-shared"
8441 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8442 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8443 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8444 $as_echo_n "(cached) " >&6
8445 else
8446 ac_wine_try_cflags_saved=$CFLAGS
8447 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8448 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8449 /* end confdefs.h. */
8450 int main(int argc, char **argv) { return 0; }
8451 _ACEOF
8452 if ac_fn_c_try_link "$LINENO"; then :
8453 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8454 else
8455 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8457 rm -f core conftest.err conftest.$ac_objext \
8458 conftest$ac_exeext conftest.$ac_ext
8459 CFLAGS=$ac_wine_try_cflags_saved
8461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8462 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8463 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8464 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
8465 else
8466 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8467 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8468 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8469 $as_echo_n "(cached) " >&6
8470 else
8471 ac_wine_try_cflags_saved=$CFLAGS
8472 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8473 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8474 /* end confdefs.h. */
8475 int main(int argc, char **argv) { return 0; }
8476 _ACEOF
8477 if ac_fn_c_try_link "$LINENO"; then :
8478 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8479 else
8480 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8482 rm -f core conftest.err conftest.$ac_objext \
8483 conftest$ac_exeext conftest.$ac_ext
8484 CFLAGS=$ac_wine_try_cflags_saved
8486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8487 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8488 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8489 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
8493 echo '{ global: *; };' >conftest.map
8494 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8495 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8496 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8497 $as_echo_n "(cached) " >&6
8498 else
8499 ac_wine_try_cflags_saved=$CFLAGS
8500 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8502 /* end confdefs.h. */
8503 int main(int argc, char **argv) { return 0; }
8504 _ACEOF
8505 if ac_fn_c_try_link "$LINENO"; then :
8506 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8507 else
8508 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8510 rm -f core conftest.err conftest.$ac_objext \
8511 conftest$ac_exeext conftest.$ac_ext
8512 CFLAGS=$ac_wine_try_cflags_saved
8514 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8515 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8516 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8517 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
8519 rm -f conftest.map
8521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8522 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8523 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8524 $as_echo_n "(cached) " >&6
8525 else
8526 ac_wine_try_cflags_saved=$CFLAGS
8527 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8528 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8529 /* end confdefs.h. */
8530 int main(int argc, char **argv) { return 0; }
8531 _ACEOF
8532 if ac_fn_c_try_link "$LINENO"; then :
8533 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8534 else
8535 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8537 rm -f core conftest.err conftest.$ac_objext \
8538 conftest$ac_exeext conftest.$ac_ext
8539 CFLAGS=$ac_wine_try_cflags_saved
8541 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8542 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8543 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8544 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
8547 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8548 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8549 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8550 if eval \${$as_ac_var+:} false; then :
8551 $as_echo_n "(cached) " >&6
8552 else
8553 ac_wine_try_cflags_saved=$CFLAGS
8554 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8555 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8556 /* end confdefs.h. */
8557 int main(int argc, char **argv) { return 0; }
8558 _ACEOF
8559 if ac_fn_c_try_link "$LINENO"; then :
8560 eval "$as_ac_var=yes"
8561 else
8562 eval "$as_ac_var=no"
8564 rm -f core conftest.err conftest.$ac_objext \
8565 conftest$ac_exeext conftest.$ac_ext
8566 CFLAGS=$ac_wine_try_cflags_saved
8568 eval ac_res=\$$as_ac_var
8569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8570 $as_echo "$ac_res" >&6; }
8571 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8572 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8573 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8574 else
8575 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8576 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8577 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8578 if eval \${$as_ac_var+:} false; then :
8579 $as_echo_n "(cached) " >&6
8580 else
8581 ac_wine_try_cflags_saved=$CFLAGS
8582 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8583 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8584 /* end confdefs.h. */
8585 int main(int argc, char **argv) { return 0; }
8586 _ACEOF
8587 if ac_fn_c_try_link "$LINENO"; then :
8588 eval "$as_ac_var=yes"
8589 else
8590 eval "$as_ac_var=no"
8592 rm -f core conftest.err conftest.$ac_objext \
8593 conftest$ac_exeext conftest.$ac_ext
8594 CFLAGS=$ac_wine_try_cflags_saved
8596 eval ac_res=\$$as_ac_var
8597 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8598 $as_echo "$ac_res" >&6; }
8599 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8600 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8601 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8606 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8607 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8608 $as_echo_n "(cached) " >&6
8609 else
8610 ac_wine_try_cflags_saved=$CFLAGS
8611 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8612 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8613 /* end confdefs.h. */
8614 int main(int argc, char **argv) { return 0; }
8615 _ACEOF
8616 if ac_fn_c_try_link "$LINENO"; then :
8617 ac_cv_cflags__Wl___enable_new_dtags=yes
8618 else
8619 ac_cv_cflags__Wl___enable_new_dtags=no
8621 rm -f core conftest.err conftest.$ac_objext \
8622 conftest$ac_exeext conftest.$ac_ext
8623 CFLAGS=$ac_wine_try_cflags_saved
8625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8626 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8627 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8628 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8631 case $host_cpu in
8632 *i[3456789]86* | x86_64 | *aarch64*)
8633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
8634 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
8635 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
8636 $as_echo_n "(cached) " >&6
8637 else
8638 ac_wine_try_cflags_saved=$CFLAGS
8639 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
8640 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8641 /* end confdefs.h. */
8642 int main(int argc, char **argv) { return 0; }
8643 _ACEOF
8644 if ac_fn_c_try_link "$LINENO"; then :
8645 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
8646 else
8647 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
8649 rm -f core conftest.err conftest.$ac_objext \
8650 conftest$ac_exeext conftest.$ac_ext
8651 CFLAGS=$ac_wine_try_cflags_saved
8653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
8654 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
8655 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
8656 case $host_os in
8657 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
8658 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
8659 esac
8660 else
8661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
8662 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
8663 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
8664 $as_echo_n "(cached) " >&6
8665 else
8666 ac_wine_try_cflags_saved=$CFLAGS
8667 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
8668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8669 /* end confdefs.h. */
8670 int main(int argc, char **argv) { return 0; }
8671 _ACEOF
8672 if ac_fn_c_try_link "$LINENO"; then :
8673 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
8674 else
8675 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
8677 rm -f core conftest.err conftest.$ac_objext \
8678 conftest$ac_exeext conftest.$ac_ext
8679 CFLAGS=$ac_wine_try_cflags_saved
8681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
8682 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
8683 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
8684 case $host_os in
8685 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8686 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
8687 esac
8689 # Extract the first word of "prelink", so it can be a program name with args.
8690 set dummy prelink; ac_word=$2
8691 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8692 $as_echo_n "checking for $ac_word... " >&6; }
8693 if ${ac_cv_path_PRELINK+:} false; then :
8694 $as_echo_n "(cached) " >&6
8695 else
8696 case $PRELINK in
8697 [\\/]* | ?:[\\/]*)
8698 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8701 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8702 for as_dir in /sbin /usr/sbin $PATH
8704 IFS=$as_save_IFS
8705 test -z "$as_dir" && as_dir=.
8706 for ac_exec_ext in '' $ac_executable_extensions; do
8707 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8708 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8709 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8710 break 2
8712 done
8713 done
8714 IFS=$as_save_IFS
8716 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8718 esac
8720 PRELINK=$ac_cv_path_PRELINK
8721 if test -n "$PRELINK"; then
8722 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8723 $as_echo "$PRELINK" >&6; }
8724 else
8725 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8726 $as_echo "no" >&6; }
8730 if test "x$PRELINK" = xfalse
8731 then
8732 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
8735 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
8736 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
8737 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
8738 $as_echo_n "(cached) " >&6
8739 else
8740 ac_wine_try_cflags_saved=$CFLAGS
8741 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
8742 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8743 /* end confdefs.h. */
8744 int main(int argc, char **argv) { return 0; }
8745 _ACEOF
8746 if ac_fn_c_try_link "$LINENO"; then :
8747 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
8748 else
8749 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
8751 rm -f core conftest.err conftest.$ac_objext \
8752 conftest$ac_exeext conftest.$ac_ext
8753 CFLAGS=$ac_wine_try_cflags_saved
8755 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
8756 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
8757 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
8758 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
8761 esac
8763 else
8764 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8765 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8766 if ${ac_cv_c_dll_unixware+:} false; then :
8767 $as_echo_n "(cached) " >&6
8768 else
8769 ac_wine_try_cflags_saved=$CFLAGS
8770 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8771 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8772 /* end confdefs.h. */
8773 void myfunc() {}
8774 _ACEOF
8775 if ac_fn_c_try_link "$LINENO"; then :
8776 ac_cv_c_dll_unixware="yes"
8777 else
8778 ac_cv_c_dll_unixware="no"
8780 rm -f core conftest.err conftest.$ac_objext \
8781 conftest$ac_exeext conftest.$ac_ext
8782 CFLAGS=$ac_wine_try_cflags_saved
8784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8785 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8786 if test "$ac_cv_c_dll_unixware" = "yes"
8787 then
8788 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
8791 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
8793 LIBWINE_INSTALL_LIB="libwine.so.$libwine_version libwine.so.$libwine_soversion"
8795 LIBWINE_INSTALL_DEV="libwine.so"
8797 LIBWINE_DEPENDS="wine.map"
8800 esac
8802 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
8803 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8804 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
8805 enable_winemac_drv=${enable_winemac_drv:-no}
8806 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
8808 CROSSTARGET=""
8810 if test "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8811 then
8812 case "$host_cpu" in
8813 arm*)
8814 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
8815 i[3456789]86*)
8816 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
8817 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
8818 mingw32-gcc" ;;
8819 x86_64)
8820 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
8821 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
8823 ac_prefix_list="" ;;
8824 esac
8825 for ac_prog in $ac_prefix_list
8827 # Extract the first word of "$ac_prog", so it can be a program name with args.
8828 set dummy $ac_prog; ac_word=$2
8829 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8830 $as_echo_n "checking for $ac_word... " >&6; }
8831 if ${ac_cv_prog_CROSSCC+:} false; then :
8832 $as_echo_n "(cached) " >&6
8833 else
8834 if test -n "$CROSSCC"; then
8835 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8836 else
8837 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8838 for as_dir in $PATH
8840 IFS=$as_save_IFS
8841 test -z "$as_dir" && as_dir=.
8842 for ac_exec_ext in '' $ac_executable_extensions; do
8843 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8844 ac_cv_prog_CROSSCC="$ac_prog"
8845 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8846 break 2
8848 done
8849 done
8850 IFS=$as_save_IFS
8854 CROSSCC=$ac_cv_prog_CROSSCC
8855 if test -n "$CROSSCC"; then
8856 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8857 $as_echo "$CROSSCC" >&6; }
8858 else
8859 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8860 $as_echo "no" >&6; }
8864 test -n "$CROSSCC" && break
8865 done
8866 test -n "$CROSSCC" || CROSSCC="false"
8868 if test "$CROSSCC" != "false"
8869 then
8870 ac_save_CC="$CC"
8871 CC="$CROSSCC"
8872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8873 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8874 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8875 /* end confdefs.h. */
8878 main ()
8882 return 0;
8884 _ACEOF
8885 if ac_fn_c_try_compile "$LINENO"; then :
8886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8887 $as_echo "yes" >&6; }
8888 set x $CROSSCC
8889 shift
8890 while test $# -ge 1
8892 case "$1" in
8893 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8894 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
8895 esac
8896 shift
8897 done
8898 else
8899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8900 $as_echo "no" >&6; }
8902 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8903 CC="$ac_save_CC"
8904 CROSSCFLAGS=${CROSSCFLAGS:-$CFLAGS}
8910 if test "$ac_cv_header_pthread_h" = "yes"
8911 then
8912 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8913 if test "x$ac_cv_func_pthread_create" = xyes; then :
8915 else
8916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8917 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8918 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8919 $as_echo_n "(cached) " >&6
8920 else
8921 ac_check_lib_save_LIBS=$LIBS
8922 LIBS="-lpthread $LIBS"
8923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8924 /* end confdefs.h. */
8926 /* Override any GCC internal prototype to avoid an error.
8927 Use char because int might match the return type of a GCC
8928 builtin and then its argument prototype would still apply. */
8929 #ifdef __cplusplus
8930 extern "C"
8931 #endif
8932 char pthread_create ();
8934 main ()
8936 return pthread_create ();
8938 return 0;
8940 _ACEOF
8941 if ac_fn_c_try_link "$LINENO"; then :
8942 ac_cv_lib_pthread_pthread_create=yes
8943 else
8944 ac_cv_lib_pthread_pthread_create=no
8946 rm -f core conftest.err conftest.$ac_objext \
8947 conftest$ac_exeext conftest.$ac_ext
8948 LIBS=$ac_check_lib_save_LIBS
8950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8951 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8952 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
8953 PTHREAD_LIBS="-lpthread"
8960 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
8961 case "x$with_pthread" in
8962 xno) ;;
8963 *) as_fn_error $? "pthread ${notice_platform}development files not found.
8964 Wine cannot support threads without libpthread.
8965 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8966 esac
8971 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8972 $as_echo_n "checking for X... " >&6; }
8975 # Check whether --with-x was given.
8976 if test "${with_x+set}" = set; then :
8977 withval=$with_x;
8980 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8981 if test "x$with_x" = xno; then
8982 # The user explicitly disabled X.
8983 have_x=disabled
8984 else
8985 case $x_includes,$x_libraries in #(
8986 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
8987 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
8988 $as_echo_n "(cached) " >&6
8989 else
8990 # One or both of the vars are not set, and there is no cached value.
8991 ac_x_includes=no ac_x_libraries=no
8992 rm -f -r conftest.dir
8993 if mkdir conftest.dir; then
8994 cd conftest.dir
8995 cat >Imakefile <<'_ACEOF'
8996 incroot:
8997 @echo incroot='${INCROOT}'
8998 usrlibdir:
8999 @echo usrlibdir='${USRLIBDIR}'
9000 libdir:
9001 @echo libdir='${LIBDIR}'
9002 _ACEOF
9003 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
9004 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
9005 for ac_var in incroot usrlibdir libdir; do
9006 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
9007 done
9008 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9009 for ac_extension in a so sl dylib la dll; do
9010 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
9011 test -f "$ac_im_libdir/libX11.$ac_extension"; then
9012 ac_im_usrlibdir=$ac_im_libdir; break
9014 done
9015 # Screen out bogus values from the imake configuration. They are
9016 # bogus both because they are the default anyway, and because
9017 # using them would break gcc on systems where it needs fixed includes.
9018 case $ac_im_incroot in
9019 /usr/include) ac_x_includes= ;;
9020 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
9021 esac
9022 case $ac_im_usrlibdir in
9023 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
9024 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
9025 esac
9027 cd ..
9028 rm -f -r conftest.dir
9031 # Standard set of common directories for X headers.
9032 # Check X11 before X11Rn because it is often a symlink to the current release.
9033 ac_x_header_dirs='
9034 /usr/X11/include
9035 /usr/X11R7/include
9036 /usr/X11R6/include
9037 /usr/X11R5/include
9038 /usr/X11R4/include
9040 /usr/include/X11
9041 /usr/include/X11R7
9042 /usr/include/X11R6
9043 /usr/include/X11R5
9044 /usr/include/X11R4
9046 /usr/local/X11/include
9047 /usr/local/X11R7/include
9048 /usr/local/X11R6/include
9049 /usr/local/X11R5/include
9050 /usr/local/X11R4/include
9052 /usr/local/include/X11
9053 /usr/local/include/X11R7
9054 /usr/local/include/X11R6
9055 /usr/local/include/X11R5
9056 /usr/local/include/X11R4
9058 /usr/X386/include
9059 /usr/x386/include
9060 /usr/XFree86/include/X11
9062 /usr/include
9063 /usr/local/include
9064 /usr/unsupported/include
9065 /usr/athena/include
9066 /usr/local/x11r5/include
9067 /usr/lpp/Xamples/include
9069 /usr/openwin/include
9070 /usr/openwin/share/include'
9072 if test "$ac_x_includes" = no; then
9073 # Guess where to find include files, by looking for Xlib.h.
9074 # First, try using that file with no special directory specified.
9075 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9076 /* end confdefs.h. */
9077 #include <X11/Xlib.h>
9078 _ACEOF
9079 if ac_fn_c_try_cpp "$LINENO"; then :
9080 # We can compile using X headers with no special include directory.
9081 ac_x_includes=
9082 else
9083 for ac_dir in $ac_x_header_dirs; do
9084 if test -r "$ac_dir/X11/Xlib.h"; then
9085 ac_x_includes=$ac_dir
9086 break
9088 done
9090 rm -f conftest.err conftest.i conftest.$ac_ext
9091 fi # $ac_x_includes = no
9093 if test "$ac_x_libraries" = no; then
9094 # Check for the libraries.
9095 # See if we find them without any special options.
9096 # Don't add to $LIBS permanently.
9097 ac_save_LIBS=$LIBS
9098 LIBS="-lX11 $LIBS"
9099 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9100 /* end confdefs.h. */
9101 #include <X11/Xlib.h>
9103 main ()
9105 XrmInitialize ()
9107 return 0;
9109 _ACEOF
9110 if ac_fn_c_try_link "$LINENO"; then :
9111 LIBS=$ac_save_LIBS
9112 # We can link X programs with no special library path.
9113 ac_x_libraries=
9114 else
9115 LIBS=$ac_save_LIBS
9116 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9118 # Don't even attempt the hair of trying to link an X program!
9119 for ac_extension in a so sl dylib la dll; do
9120 if test -r "$ac_dir/libX11.$ac_extension"; then
9121 ac_x_libraries=$ac_dir
9122 break 2
9124 done
9125 done
9127 rm -f core conftest.err conftest.$ac_objext \
9128 conftest$ac_exeext conftest.$ac_ext
9129 fi # $ac_x_libraries = no
9131 case $ac_x_includes,$ac_x_libraries in #(
9132 no,* | *,no | *\'*)
9133 # Didn't find X, or a directory has "'" in its name.
9134 ac_cv_have_x="have_x=no";; #(
9136 # Record where we found X for the cache.
9137 ac_cv_have_x="have_x=yes\
9138 ac_x_includes='$ac_x_includes'\
9139 ac_x_libraries='$ac_x_libraries'"
9140 esac
9142 ;; #(
9143 *) have_x=yes;;
9144 esac
9145 eval "$ac_cv_have_x"
9146 fi # $with_x != no
9148 if test "$have_x" != yes; then
9149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9150 $as_echo "$have_x" >&6; }
9151 no_x=yes
9152 else
9153 # If each of the values was on the command line, it overrides each guess.
9154 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9155 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9156 # Update the cache value to reflect the command line values.
9157 ac_cv_have_x="have_x=yes\
9158 ac_x_includes='$x_includes'\
9159 ac_x_libraries='$x_libraries'"
9160 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9161 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9164 if test "$no_x" = yes; then
9165 # Not all programs may use this symbol, but it does not hurt to define it.
9167 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9169 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9170 else
9171 if test -n "$x_includes"; then
9172 X_CFLAGS="$X_CFLAGS -I$x_includes"
9175 # It would also be nice to do this for all -L options, not just this one.
9176 if test -n "$x_libraries"; then
9177 X_LIBS="$X_LIBS -L$x_libraries"
9178 # For Solaris; some versions of Sun CC require a space after -R and
9179 # others require no space. Words are not sufficient . . . .
9180 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9181 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9182 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9183 ac_xsave_c_werror_flag=$ac_c_werror_flag
9184 ac_c_werror_flag=yes
9185 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9186 /* end confdefs.h. */
9189 main ()
9193 return 0;
9195 _ACEOF
9196 if ac_fn_c_try_link "$LINENO"; then :
9197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9198 $as_echo "no" >&6; }
9199 X_LIBS="$X_LIBS -R$x_libraries"
9200 else
9201 LIBS="$ac_xsave_LIBS -R $x_libraries"
9202 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9203 /* end confdefs.h. */
9206 main ()
9210 return 0;
9212 _ACEOF
9213 if ac_fn_c_try_link "$LINENO"; then :
9214 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9215 $as_echo "yes" >&6; }
9216 X_LIBS="$X_LIBS -R $x_libraries"
9217 else
9218 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9219 $as_echo "neither works" >&6; }
9221 rm -f core conftest.err conftest.$ac_objext \
9222 conftest$ac_exeext conftest.$ac_ext
9224 rm -f core conftest.err conftest.$ac_objext \
9225 conftest$ac_exeext conftest.$ac_ext
9226 ac_c_werror_flag=$ac_xsave_c_werror_flag
9227 LIBS=$ac_xsave_LIBS
9230 # Check for system-dependent libraries X programs must link with.
9231 # Do this before checking for the system-independent R6 libraries
9232 # (-lICE), since we may need -lsocket or whatever for X linking.
9234 if test "$ISC" = yes; then
9235 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9236 else
9237 # Martyn Johnson says this is needed for Ultrix, if the X
9238 # libraries were built with DECnet support. And Karl Berry says
9239 # the Alpha needs dnet_stub (dnet does not exist).
9240 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9242 /* end confdefs.h. */
9244 /* Override any GCC internal prototype to avoid an error.
9245 Use char because int might match the return type of a GCC
9246 builtin and then its argument prototype would still apply. */
9247 #ifdef __cplusplus
9248 extern "C"
9249 #endif
9250 char XOpenDisplay ();
9252 main ()
9254 return XOpenDisplay ();
9256 return 0;
9258 _ACEOF
9259 if ac_fn_c_try_link "$LINENO"; then :
9261 else
9262 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9263 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9264 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9265 $as_echo_n "(cached) " >&6
9266 else
9267 ac_check_lib_save_LIBS=$LIBS
9268 LIBS="-ldnet $LIBS"
9269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9270 /* end confdefs.h. */
9272 /* Override any GCC internal prototype to avoid an error.
9273 Use char because int might match the return type of a GCC
9274 builtin and then its argument prototype would still apply. */
9275 #ifdef __cplusplus
9276 extern "C"
9277 #endif
9278 char dnet_ntoa ();
9280 main ()
9282 return dnet_ntoa ();
9284 return 0;
9286 _ACEOF
9287 if ac_fn_c_try_link "$LINENO"; then :
9288 ac_cv_lib_dnet_dnet_ntoa=yes
9289 else
9290 ac_cv_lib_dnet_dnet_ntoa=no
9292 rm -f core conftest.err conftest.$ac_objext \
9293 conftest$ac_exeext conftest.$ac_ext
9294 LIBS=$ac_check_lib_save_LIBS
9296 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9297 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9298 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9299 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9302 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9304 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9305 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9306 $as_echo_n "(cached) " >&6
9307 else
9308 ac_check_lib_save_LIBS=$LIBS
9309 LIBS="-ldnet_stub $LIBS"
9310 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9311 /* end confdefs.h. */
9313 /* Override any GCC internal prototype to avoid an error.
9314 Use char because int might match the return type of a GCC
9315 builtin and then its argument prototype would still apply. */
9316 #ifdef __cplusplus
9317 extern "C"
9318 #endif
9319 char dnet_ntoa ();
9321 main ()
9323 return dnet_ntoa ();
9325 return 0;
9327 _ACEOF
9328 if ac_fn_c_try_link "$LINENO"; then :
9329 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9330 else
9331 ac_cv_lib_dnet_stub_dnet_ntoa=no
9333 rm -f core conftest.err conftest.$ac_objext \
9334 conftest$ac_exeext conftest.$ac_ext
9335 LIBS=$ac_check_lib_save_LIBS
9337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9338 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9339 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9340 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9345 rm -f core conftest.err conftest.$ac_objext \
9346 conftest$ac_exeext conftest.$ac_ext
9347 LIBS="$ac_xsave_LIBS"
9349 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9350 # to get the SysV transport functions.
9351 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9352 # needs -lnsl.
9353 # The nsl library prevents programs from opening the X display
9354 # on Irix 5.2, according to T.E. Dickey.
9355 # The functions gethostbyname, getservbyname, and inet_addr are
9356 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9357 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9358 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9362 if test $ac_cv_func_gethostbyname = no; then
9363 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9364 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9365 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9366 $as_echo_n "(cached) " >&6
9367 else
9368 ac_check_lib_save_LIBS=$LIBS
9369 LIBS="-lnsl $LIBS"
9370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9371 /* end confdefs.h. */
9373 /* Override any GCC internal prototype to avoid an error.
9374 Use char because int might match the return type of a GCC
9375 builtin and then its argument prototype would still apply. */
9376 #ifdef __cplusplus
9377 extern "C"
9378 #endif
9379 char gethostbyname ();
9381 main ()
9383 return gethostbyname ();
9385 return 0;
9387 _ACEOF
9388 if ac_fn_c_try_link "$LINENO"; then :
9389 ac_cv_lib_nsl_gethostbyname=yes
9390 else
9391 ac_cv_lib_nsl_gethostbyname=no
9393 rm -f core conftest.err conftest.$ac_objext \
9394 conftest$ac_exeext conftest.$ac_ext
9395 LIBS=$ac_check_lib_save_LIBS
9397 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9398 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9399 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9400 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9403 if test $ac_cv_lib_nsl_gethostbyname = no; then
9404 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9405 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9406 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9407 $as_echo_n "(cached) " >&6
9408 else
9409 ac_check_lib_save_LIBS=$LIBS
9410 LIBS="-lbsd $LIBS"
9411 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9412 /* end confdefs.h. */
9414 /* Override any GCC internal prototype to avoid an error.
9415 Use char because int might match the return type of a GCC
9416 builtin and then its argument prototype would still apply. */
9417 #ifdef __cplusplus
9418 extern "C"
9419 #endif
9420 char gethostbyname ();
9422 main ()
9424 return gethostbyname ();
9426 return 0;
9428 _ACEOF
9429 if ac_fn_c_try_link "$LINENO"; then :
9430 ac_cv_lib_bsd_gethostbyname=yes
9431 else
9432 ac_cv_lib_bsd_gethostbyname=no
9434 rm -f core conftest.err conftest.$ac_objext \
9435 conftest$ac_exeext conftest.$ac_ext
9436 LIBS=$ac_check_lib_save_LIBS
9438 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9439 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9440 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9441 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9447 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9448 # socket/setsockopt and other routines are undefined under SCO ODT
9449 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9450 # on later versions), says Simon Leinen: it contains gethostby*
9451 # variants that don't use the name server (or something). -lsocket
9452 # must be given before -lnsl if both are needed. We assume that
9453 # if connect needs -lnsl, so does gethostbyname.
9454 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9455 if test "x$ac_cv_func_connect" = xyes; then :
9459 if test $ac_cv_func_connect = no; then
9460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9461 $as_echo_n "checking for connect in -lsocket... " >&6; }
9462 if ${ac_cv_lib_socket_connect+:} false; then :
9463 $as_echo_n "(cached) " >&6
9464 else
9465 ac_check_lib_save_LIBS=$LIBS
9466 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9468 /* end confdefs.h. */
9470 /* Override any GCC internal prototype to avoid an error.
9471 Use char because int might match the return type of a GCC
9472 builtin and then its argument prototype would still apply. */
9473 #ifdef __cplusplus
9474 extern "C"
9475 #endif
9476 char connect ();
9478 main ()
9480 return connect ();
9482 return 0;
9484 _ACEOF
9485 if ac_fn_c_try_link "$LINENO"; then :
9486 ac_cv_lib_socket_connect=yes
9487 else
9488 ac_cv_lib_socket_connect=no
9490 rm -f core conftest.err conftest.$ac_objext \
9491 conftest$ac_exeext conftest.$ac_ext
9492 LIBS=$ac_check_lib_save_LIBS
9494 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9495 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9496 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9497 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9502 # Guillermo Gomez says -lposix is necessary on A/UX.
9503 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9504 if test "x$ac_cv_func_remove" = xyes; then :
9508 if test $ac_cv_func_remove = no; then
9509 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9510 $as_echo_n "checking for remove in -lposix... " >&6; }
9511 if ${ac_cv_lib_posix_remove+:} false; then :
9512 $as_echo_n "(cached) " >&6
9513 else
9514 ac_check_lib_save_LIBS=$LIBS
9515 LIBS="-lposix $LIBS"
9516 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9517 /* end confdefs.h. */
9519 /* Override any GCC internal prototype to avoid an error.
9520 Use char because int might match the return type of a GCC
9521 builtin and then its argument prototype would still apply. */
9522 #ifdef __cplusplus
9523 extern "C"
9524 #endif
9525 char remove ();
9527 main ()
9529 return remove ();
9531 return 0;
9533 _ACEOF
9534 if ac_fn_c_try_link "$LINENO"; then :
9535 ac_cv_lib_posix_remove=yes
9536 else
9537 ac_cv_lib_posix_remove=no
9539 rm -f core conftest.err conftest.$ac_objext \
9540 conftest$ac_exeext conftest.$ac_ext
9541 LIBS=$ac_check_lib_save_LIBS
9543 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9544 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9545 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9546 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9551 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9552 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9553 if test "x$ac_cv_func_shmat" = xyes; then :
9557 if test $ac_cv_func_shmat = no; then
9558 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9559 $as_echo_n "checking for shmat in -lipc... " >&6; }
9560 if ${ac_cv_lib_ipc_shmat+:} false; then :
9561 $as_echo_n "(cached) " >&6
9562 else
9563 ac_check_lib_save_LIBS=$LIBS
9564 LIBS="-lipc $LIBS"
9565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9566 /* end confdefs.h. */
9568 /* Override any GCC internal prototype to avoid an error.
9569 Use char because int might match the return type of a GCC
9570 builtin and then its argument prototype would still apply. */
9571 #ifdef __cplusplus
9572 extern "C"
9573 #endif
9574 char shmat ();
9576 main ()
9578 return shmat ();
9580 return 0;
9582 _ACEOF
9583 if ac_fn_c_try_link "$LINENO"; then :
9584 ac_cv_lib_ipc_shmat=yes
9585 else
9586 ac_cv_lib_ipc_shmat=no
9588 rm -f core conftest.err conftest.$ac_objext \
9589 conftest$ac_exeext conftest.$ac_ext
9590 LIBS=$ac_check_lib_save_LIBS
9592 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9593 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9594 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9595 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9601 # Check for libraries that X11R6 Xt/Xaw programs need.
9602 ac_save_LDFLAGS=$LDFLAGS
9603 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9604 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9605 # check for ICE first), but we must link in the order -lSM -lICE or
9606 # we get undefined symbols. So assume we have SM if we have ICE.
9607 # These have to be linked with before -lX11, unlike the other
9608 # libraries we check for below, so use a different variable.
9609 # John Interrante, Karl Berry
9610 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9611 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9612 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9613 $as_echo_n "(cached) " >&6
9614 else
9615 ac_check_lib_save_LIBS=$LIBS
9616 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9617 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9618 /* end confdefs.h. */
9620 /* Override any GCC internal prototype to avoid an error.
9621 Use char because int might match the return type of a GCC
9622 builtin and then its argument prototype would still apply. */
9623 #ifdef __cplusplus
9624 extern "C"
9625 #endif
9626 char IceConnectionNumber ();
9628 main ()
9630 return IceConnectionNumber ();
9632 return 0;
9634 _ACEOF
9635 if ac_fn_c_try_link "$LINENO"; then :
9636 ac_cv_lib_ICE_IceConnectionNumber=yes
9637 else
9638 ac_cv_lib_ICE_IceConnectionNumber=no
9640 rm -f core conftest.err conftest.$ac_objext \
9641 conftest$ac_exeext conftest.$ac_ext
9642 LIBS=$ac_check_lib_save_LIBS
9644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9645 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9646 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9647 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9650 LDFLAGS=$ac_save_LDFLAGS
9655 if test "$have_x" = "yes"
9656 then
9657 ac_save_CPPFLAGS="$CPPFLAGS"
9658 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9660 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9661 $as_echo_n "checking for -lX11... " >&6; }
9662 if ${ac_cv_lib_soname_X11+:} false; then :
9663 $as_echo_n "(cached) " >&6
9664 else
9665 ac_check_soname_save_LIBS=$LIBS
9666 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9667 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9668 /* end confdefs.h. */
9670 /* Override any GCC internal prototype to avoid an error.
9671 Use char because int might match the return type of a GCC
9672 builtin and then its argument prototype would still apply. */
9673 #ifdef __cplusplus
9674 extern "C"
9675 #endif
9676 char XCreateWindow ();
9678 main ()
9680 return XCreateWindow ();
9682 return 0;
9684 _ACEOF
9685 if ac_fn_c_try_link "$LINENO"; then :
9686 case "$LIBEXT" in
9687 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9688 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'` ;;
9689 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9690 if ${ac_cv_lib_soname_X11:+false} :; then :
9691 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9692 fi ;;
9693 esac
9695 rm -f core conftest.err conftest.$ac_objext \
9696 conftest$ac_exeext conftest.$ac_ext
9697 LIBS=$ac_check_soname_save_LIBS
9699 if ${ac_cv_lib_soname_X11:+false} :; then :
9700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9701 $as_echo "not found" >&6; }
9703 else
9704 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9705 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9707 cat >>confdefs.h <<_ACEOF
9708 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9709 _ACEOF
9713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9714 $as_echo_n "checking for -lXext... " >&6; }
9715 if ${ac_cv_lib_soname_Xext+:} false; then :
9716 $as_echo_n "(cached) " >&6
9717 else
9718 ac_check_soname_save_LIBS=$LIBS
9719 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9720 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9721 /* end confdefs.h. */
9723 /* Override any GCC internal prototype to avoid an error.
9724 Use char because int might match the return type of a GCC
9725 builtin and then its argument prototype would still apply. */
9726 #ifdef __cplusplus
9727 extern "C"
9728 #endif
9729 char XextCreateExtension ();
9731 main ()
9733 return XextCreateExtension ();
9735 return 0;
9737 _ACEOF
9738 if ac_fn_c_try_link "$LINENO"; then :
9739 case "$LIBEXT" in
9740 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9741 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'` ;;
9742 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9743 if ${ac_cv_lib_soname_Xext:+false} :; then :
9744 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9745 fi ;;
9746 esac
9748 rm -f core conftest.err conftest.$ac_objext \
9749 conftest$ac_exeext conftest.$ac_ext
9750 LIBS=$ac_check_soname_save_LIBS
9752 if ${ac_cv_lib_soname_Xext:+false} :; then :
9753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9754 $as_echo "not found" >&6; }
9756 else
9757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9758 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9760 cat >>confdefs.h <<_ACEOF
9761 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9762 _ACEOF
9764 X_LIBS="$X_LIBS -lXext"
9766 X_LIBS="$X_LIBS -lX11"
9768 for ac_header in X11/Xlib.h \
9769 X11/XKBlib.h \
9770 X11/Xutil.h \
9771 X11/Xcursor/Xcursor.h \
9772 X11/extensions/shape.h \
9773 X11/extensions/XInput.h \
9774 X11/extensions/XInput2.h \
9775 X11/extensions/XShm.h \
9776 X11/extensions/Xcomposite.h \
9777 X11/extensions/Xfixes.h \
9778 X11/extensions/Xinerama.h \
9779 X11/extensions/Xrandr.h \
9780 X11/extensions/Xrender.h \
9781 X11/extensions/xf86vmode.h \
9782 X11/extensions/xf86vmproto.h
9783 do :
9784 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9785 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9786 # include <X11/Xlib.h>
9787 #endif
9788 #ifdef HAVE_X11_XUTIL_H
9789 # include <X11/Xutil.h>
9790 #endif
9792 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9793 cat >>confdefs.h <<_ACEOF
9794 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9795 _ACEOF
9799 done
9802 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9803 then
9804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9805 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9806 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9807 $as_echo_n "(cached) " >&6
9808 else
9809 ac_check_lib_save_LIBS=$LIBS
9810 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9812 /* end confdefs.h. */
9814 /* Override any GCC internal prototype to avoid an error.
9815 Use char because int might match the return type of a GCC
9816 builtin and then its argument prototype would still apply. */
9817 #ifdef __cplusplus
9818 extern "C"
9819 #endif
9820 char XkbQueryExtension ();
9822 main ()
9824 return XkbQueryExtension ();
9826 return 0;
9828 _ACEOF
9829 if ac_fn_c_try_link "$LINENO"; then :
9830 ac_cv_lib_X11_XkbQueryExtension=yes
9831 else
9832 ac_cv_lib_X11_XkbQueryExtension=no
9834 rm -f core conftest.err conftest.$ac_objext \
9835 conftest$ac_exeext conftest.$ac_ext
9836 LIBS=$ac_check_lib_save_LIBS
9838 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9839 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9840 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9842 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9848 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9849 then
9850 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9851 $as_echo_n "checking for -lXcursor... " >&6; }
9852 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9853 $as_echo_n "(cached) " >&6
9854 else
9855 ac_check_soname_save_LIBS=$LIBS
9856 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9857 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9858 /* end confdefs.h. */
9860 /* Override any GCC internal prototype to avoid an error.
9861 Use char because int might match the return type of a GCC
9862 builtin and then its argument prototype would still apply. */
9863 #ifdef __cplusplus
9864 extern "C"
9865 #endif
9866 char XcursorImageLoadCursor ();
9868 main ()
9870 return XcursorImageLoadCursor ();
9872 return 0;
9874 _ACEOF
9875 if ac_fn_c_try_link "$LINENO"; then :
9876 case "$LIBEXT" in
9877 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9878 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'` ;;
9879 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9880 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9881 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9882 fi ;;
9883 esac
9885 rm -f core conftest.err conftest.$ac_objext \
9886 conftest$ac_exeext conftest.$ac_ext
9887 LIBS=$ac_check_soname_save_LIBS
9889 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9891 $as_echo "not found" >&6; }
9893 else
9894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9895 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9897 cat >>confdefs.h <<_ACEOF
9898 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9899 _ACEOF
9904 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9905 case "x$with_xcursor" in
9906 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9907 xno) ;;
9908 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9909 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9910 esac
9914 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9915 then
9916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9917 $as_echo_n "checking for -lXi... " >&6; }
9918 if ${ac_cv_lib_soname_Xi+:} false; then :
9919 $as_echo_n "(cached) " >&6
9920 else
9921 ac_check_soname_save_LIBS=$LIBS
9922 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9924 /* end confdefs.h. */
9926 /* Override any GCC internal prototype to avoid an error.
9927 Use char because int might match the return type of a GCC
9928 builtin and then its argument prototype would still apply. */
9929 #ifdef __cplusplus
9930 extern "C"
9931 #endif
9932 char XOpenDevice ();
9934 main ()
9936 return XOpenDevice ();
9938 return 0;
9940 _ACEOF
9941 if ac_fn_c_try_link "$LINENO"; then :
9942 case "$LIBEXT" in
9943 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9944 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'` ;;
9945 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9946 if ${ac_cv_lib_soname_Xi:+false} :; then :
9947 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9948 fi ;;
9949 esac
9951 rm -f core conftest.err conftest.$ac_objext \
9952 conftest$ac_exeext conftest.$ac_ext
9953 LIBS=$ac_check_soname_save_LIBS
9955 if ${ac_cv_lib_soname_Xi:+false} :; then :
9956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9957 $as_echo "not found" >&6; }
9959 else
9960 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9961 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9963 cat >>confdefs.h <<_ACEOF
9964 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9965 _ACEOF
9970 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9971 case "x$with_xinput" in
9972 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9973 xno) ;;
9974 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9975 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9976 esac
9980 if test "x$ac_cv_lib_soname_Xi" != x
9981 then
9982 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9983 case "x$with_xinput2" in
9984 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9985 xno) ;;
9986 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
9987 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9988 esac
9993 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9994 then
9995 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9996 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9997 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
9998 $as_echo_n "(cached) " >&6
9999 else
10000 ac_check_lib_save_LIBS=$LIBS
10001 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10002 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10003 /* end confdefs.h. */
10005 /* Override any GCC internal prototype to avoid an error.
10006 Use char because int might match the return type of a GCC
10007 builtin and then its argument prototype would still apply. */
10008 #ifdef __cplusplus
10009 extern "C"
10010 #endif
10011 char XShmQueryExtension ();
10013 main ()
10015 return XShmQueryExtension ();
10017 return 0;
10019 _ACEOF
10020 if ac_fn_c_try_link "$LINENO"; then :
10021 ac_cv_lib_Xext_XShmQueryExtension=yes
10022 else
10023 ac_cv_lib_Xext_XShmQueryExtension=no
10025 rm -f core conftest.err conftest.$ac_objext \
10026 conftest$ac_exeext conftest.$ac_ext
10027 LIBS=$ac_check_lib_save_LIBS
10029 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10030 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10031 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
10033 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10038 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10039 case "x$with_xshm" in
10040 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10041 xno) ;;
10042 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10043 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10044 esac
10048 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10049 then
10050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10051 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10052 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
10053 $as_echo_n "(cached) " >&6
10054 else
10055 ac_check_lib_save_LIBS=$LIBS
10056 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10058 /* end confdefs.h. */
10060 /* Override any GCC internal prototype to avoid an error.
10061 Use char because int might match the return type of a GCC
10062 builtin and then its argument prototype would still apply. */
10063 #ifdef __cplusplus
10064 extern "C"
10065 #endif
10066 char XShapeQueryExtension ();
10068 main ()
10070 return XShapeQueryExtension ();
10072 return 0;
10074 _ACEOF
10075 if ac_fn_c_try_link "$LINENO"; then :
10076 ac_cv_lib_Xext_XShapeQueryExtension=yes
10077 else
10078 ac_cv_lib_Xext_XShapeQueryExtension=no
10080 rm -f core conftest.err conftest.$ac_objext \
10081 conftest$ac_exeext conftest.$ac_ext
10082 LIBS=$ac_check_lib_save_LIBS
10084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10085 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10086 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
10088 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10093 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10094 case "x$with_xshape" in
10095 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10096 xno) ;;
10097 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
10098 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10099 esac
10103 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10104 then
10105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10106 $as_echo_n "checking for -lXxf86vm... " >&6; }
10107 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
10108 $as_echo_n "(cached) " >&6
10109 else
10110 ac_check_soname_save_LIBS=$LIBS
10111 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10112 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10113 /* end confdefs.h. */
10115 /* Override any GCC internal prototype to avoid an error.
10116 Use char because int might match the return type of a GCC
10117 builtin and then its argument prototype would still apply. */
10118 #ifdef __cplusplus
10119 extern "C"
10120 #endif
10121 char XF86VidModeQueryExtension ();
10123 main ()
10125 return XF86VidModeQueryExtension ();
10127 return 0;
10129 _ACEOF
10130 if ac_fn_c_try_link "$LINENO"; then :
10131 case "$LIBEXT" in
10132 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10133 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'` ;;
10134 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10135 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10136 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10137 fi ;;
10138 esac
10140 rm -f core conftest.err conftest.$ac_objext \
10141 conftest$ac_exeext conftest.$ac_ext
10142 LIBS=$ac_check_soname_save_LIBS
10144 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10146 $as_echo "not found" >&6; }
10148 else
10149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10150 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10152 cat >>confdefs.h <<_ACEOF
10153 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10154 _ACEOF
10159 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10160 case "x$with_xxf86vm" in
10161 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10162 xno) ;;
10163 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10164 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10165 esac
10169 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10170 then
10171 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10172 $as_echo_n "checking for -lXrender... " >&6; }
10173 if ${ac_cv_lib_soname_Xrender+:} false; then :
10174 $as_echo_n "(cached) " >&6
10175 else
10176 ac_check_soname_save_LIBS=$LIBS
10177 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10178 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10179 /* end confdefs.h. */
10181 /* Override any GCC internal prototype to avoid an error.
10182 Use char because int might match the return type of a GCC
10183 builtin and then its argument prototype would still apply. */
10184 #ifdef __cplusplus
10185 extern "C"
10186 #endif
10187 char XRenderQueryExtension ();
10189 main ()
10191 return XRenderQueryExtension ();
10193 return 0;
10195 _ACEOF
10196 if ac_fn_c_try_link "$LINENO"; then :
10197 case "$LIBEXT" in
10198 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10199 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'` ;;
10200 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10201 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10202 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10203 fi ;;
10204 esac
10206 rm -f core conftest.err conftest.$ac_objext \
10207 conftest$ac_exeext conftest.$ac_ext
10208 LIBS=$ac_check_soname_save_LIBS
10210 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10211 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10212 $as_echo "not found" >&6; }
10214 else
10215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10216 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10218 cat >>confdefs.h <<_ACEOF
10219 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10220 _ACEOF
10222 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10223 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10224 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10225 $as_echo_n "(cached) " >&6
10226 else
10227 ac_check_lib_save_LIBS=$LIBS
10228 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10229 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10230 /* end confdefs.h. */
10232 /* Override any GCC internal prototype to avoid an error.
10233 Use char because int might match the return type of a GCC
10234 builtin and then its argument prototype would still apply. */
10235 #ifdef __cplusplus
10236 extern "C"
10237 #endif
10238 char XRenderSetPictureTransform ();
10240 main ()
10242 return XRenderSetPictureTransform ();
10244 return 0;
10246 _ACEOF
10247 if ac_fn_c_try_link "$LINENO"; then :
10248 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10249 else
10250 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10252 rm -f core conftest.err conftest.$ac_objext \
10253 conftest$ac_exeext conftest.$ac_ext
10254 LIBS=$ac_check_lib_save_LIBS
10256 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10257 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10258 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10260 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10265 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10266 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10267 $as_echo_n "(cached) " >&6
10268 else
10269 ac_check_lib_save_LIBS=$LIBS
10270 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10272 /* end confdefs.h. */
10274 /* Override any GCC internal prototype to avoid an error.
10275 Use char because int might match the return type of a GCC
10276 builtin and then its argument prototype would still apply. */
10277 #ifdef __cplusplus
10278 extern "C"
10279 #endif
10280 char XRenderCreateLinearGradient ();
10282 main ()
10284 return XRenderCreateLinearGradient ();
10286 return 0;
10288 _ACEOF
10289 if ac_fn_c_try_link "$LINENO"; then :
10290 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10291 else
10292 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10294 rm -f core conftest.err conftest.$ac_objext \
10295 conftest$ac_exeext conftest.$ac_ext
10296 LIBS=$ac_check_lib_save_LIBS
10298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10299 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10300 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10302 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10309 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10310 case "x$with_xrender" in
10311 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10312 xno) ;;
10313 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10314 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10315 esac
10319 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10320 then
10321 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10322 /* end confdefs.h. */
10323 #include <X11/Xlib.h>
10324 #include <X11/extensions/Xrandr.h>
10326 main ()
10328 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10330 return 0;
10332 _ACEOF
10333 if ac_fn_c_try_compile "$LINENO"; then :
10334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10335 $as_echo_n "checking for -lXrandr... " >&6; }
10336 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10337 $as_echo_n "(cached) " >&6
10338 else
10339 ac_check_soname_save_LIBS=$LIBS
10340 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10341 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10342 /* end confdefs.h. */
10344 /* Override any GCC internal prototype to avoid an error.
10345 Use char because int might match the return type of a GCC
10346 builtin and then its argument prototype would still apply. */
10347 #ifdef __cplusplus
10348 extern "C"
10349 #endif
10350 char XRRQueryExtension ();
10352 main ()
10354 return XRRQueryExtension ();
10356 return 0;
10358 _ACEOF
10359 if ac_fn_c_try_link "$LINENO"; then :
10360 case "$LIBEXT" in
10361 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10362 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'` ;;
10363 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10364 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10365 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10366 fi ;;
10367 esac
10369 rm -f core conftest.err conftest.$ac_objext \
10370 conftest$ac_exeext conftest.$ac_ext
10371 LIBS=$ac_check_soname_save_LIBS
10373 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10374 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10375 $as_echo "not found" >&6; }
10377 else
10378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10379 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10381 cat >>confdefs.h <<_ACEOF
10382 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10383 _ACEOF
10385 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10386 /* end confdefs.h. */
10387 #include <X11/Xlib.h>
10388 #include <X11/extensions/Xrandr.h>
10390 main ()
10392 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10394 return 0;
10396 _ACEOF
10397 if ac_fn_c_try_compile "$LINENO"; then :
10399 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10402 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10405 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10407 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10408 case "x$with_xrandr" in
10409 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10410 xno) ;;
10411 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10412 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10413 esac
10417 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
10418 then
10419 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10420 /* end confdefs.h. */
10421 #include <X11/Xlib.h>
10422 #include <X11/extensions/Xfixes.h>
10424 main ()
10426 static typeof(XFixesQueryVersion) * func; if (func) return 0;
10428 return 0;
10430 _ACEOF
10431 if ac_fn_c_try_compile "$LINENO"; then :
10432 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
10433 $as_echo_n "checking for -lXfixes... " >&6; }
10434 if ${ac_cv_lib_soname_Xfixes+:} false; then :
10435 $as_echo_n "(cached) " >&6
10436 else
10437 ac_check_soname_save_LIBS=$LIBS
10438 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
10439 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10440 /* end confdefs.h. */
10442 /* Override any GCC internal prototype to avoid an error.
10443 Use char because int might match the return type of a GCC
10444 builtin and then its argument prototype would still apply. */
10445 #ifdef __cplusplus
10446 extern "C"
10447 #endif
10448 char XFixesQueryVersion ();
10450 main ()
10452 return XFixesQueryVersion ();
10454 return 0;
10456 _ACEOF
10457 if ac_fn_c_try_link "$LINENO"; then :
10458 case "$LIBEXT" in
10459 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10460 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'` ;;
10461 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10462 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
10463 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10464 fi ;;
10465 esac
10467 rm -f core conftest.err conftest.$ac_objext \
10468 conftest$ac_exeext conftest.$ac_ext
10469 LIBS=$ac_check_soname_save_LIBS
10471 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
10472 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10473 $as_echo "not found" >&6; }
10475 else
10476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
10477 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
10479 cat >>confdefs.h <<_ACEOF
10480 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
10481 _ACEOF
10486 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10488 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
10489 case "x$with_xfixes" in
10490 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
10491 xno) ;;
10492 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
10493 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
10494 esac
10498 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10499 then
10500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10501 /* end confdefs.h. */
10502 #include <X11/Xlib.h>
10503 #include <X11/extensions/Xinerama.h>
10505 main ()
10507 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10509 return 0;
10511 _ACEOF
10512 if ac_fn_c_try_compile "$LINENO"; then :
10513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10514 $as_echo_n "checking for -lXinerama... " >&6; }
10515 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10516 $as_echo_n "(cached) " >&6
10517 else
10518 ac_check_soname_save_LIBS=$LIBS
10519 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10521 /* end confdefs.h. */
10523 /* Override any GCC internal prototype to avoid an error.
10524 Use char because int might match the return type of a GCC
10525 builtin and then its argument prototype would still apply. */
10526 #ifdef __cplusplus
10527 extern "C"
10528 #endif
10529 char XineramaQueryScreens ();
10531 main ()
10533 return XineramaQueryScreens ();
10535 return 0;
10537 _ACEOF
10538 if ac_fn_c_try_link "$LINENO"; then :
10539 case "$LIBEXT" in
10540 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10541 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'` ;;
10542 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10543 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10544 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10545 fi ;;
10546 esac
10548 rm -f core conftest.err conftest.$ac_objext \
10549 conftest$ac_exeext conftest.$ac_ext
10550 LIBS=$ac_check_soname_save_LIBS
10552 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10554 $as_echo "not found" >&6; }
10556 else
10557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10558 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10560 cat >>confdefs.h <<_ACEOF
10561 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10562 _ACEOF
10567 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10569 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10570 case "x$with_xinerama" in
10571 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10572 xno) ;;
10573 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10574 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10575 esac
10579 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10580 then
10581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10582 $as_echo_n "checking for -lXcomposite... " >&6; }
10583 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10584 $as_echo_n "(cached) " >&6
10585 else
10586 ac_check_soname_save_LIBS=$LIBS
10587 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10589 /* end confdefs.h. */
10591 /* Override any GCC internal prototype to avoid an error.
10592 Use char because int might match the return type of a GCC
10593 builtin and then its argument prototype would still apply. */
10594 #ifdef __cplusplus
10595 extern "C"
10596 #endif
10597 char XCompositeRedirectWindow ();
10599 main ()
10601 return XCompositeRedirectWindow ();
10603 return 0;
10605 _ACEOF
10606 if ac_fn_c_try_link "$LINENO"; then :
10607 case "$LIBEXT" in
10608 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10609 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'` ;;
10610 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10611 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10612 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10613 fi ;;
10614 esac
10616 rm -f core conftest.err conftest.$ac_objext \
10617 conftest$ac_exeext conftest.$ac_ext
10618 LIBS=$ac_check_soname_save_LIBS
10620 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10622 $as_echo "not found" >&6; }
10624 else
10625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10626 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10628 cat >>confdefs.h <<_ACEOF
10629 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10630 _ACEOF
10635 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10636 case "x$with_xcomposite" in
10637 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10638 xno) ;;
10639 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10640 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10641 esac
10645 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10646 #include <X11/Xlib.h>
10647 #endif
10649 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10651 cat >>confdefs.h <<_ACEOF
10652 #define HAVE_XICCALLBACK_CALLBACK 1
10653 _ACEOF
10657 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10658 #include <X11/Xlib.h>
10659 #endif
10661 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10663 cat >>confdefs.h <<_ACEOF
10664 #define HAVE_XEVENT_XCOOKIE 1
10665 _ACEOF
10672 opengl_msg=""
10673 if test "x$with_opengl" != "xno"
10674 then
10675 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10676 $as_echo_n "checking for -lGL... " >&6; }
10677 if ${ac_cv_lib_soname_GL+:} false; then :
10678 $as_echo_n "(cached) " >&6
10679 else
10680 ac_check_soname_save_LIBS=$LIBS
10681 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10682 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10683 /* end confdefs.h. */
10685 /* Override any GCC internal prototype to avoid an error.
10686 Use char because int might match the return type of a GCC
10687 builtin and then its argument prototype would still apply. */
10688 #ifdef __cplusplus
10689 extern "C"
10690 #endif
10691 char glXCreateContext ();
10693 main ()
10695 return glXCreateContext ();
10697 return 0;
10699 _ACEOF
10700 if ac_fn_c_try_link "$LINENO"; then :
10701 case "$LIBEXT" in
10702 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10703 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'` ;;
10704 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10705 if ${ac_cv_lib_soname_GL:+false} :; then :
10706 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10707 fi ;;
10708 esac
10710 rm -f core conftest.err conftest.$ac_objext \
10711 conftest$ac_exeext conftest.$ac_ext
10712 LIBS=$ac_check_soname_save_LIBS
10714 if ${ac_cv_lib_soname_GL:+false} :; then :
10715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10716 $as_echo "not found" >&6; }
10717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10718 $as_echo_n "checking for -lGL... " >&6; }
10719 if ${ac_cv_lib_soname_GL+:} false; then :
10720 $as_echo_n "(cached) " >&6
10721 else
10722 ac_check_soname_save_LIBS=$LIBS
10723 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"
10724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10725 /* end confdefs.h. */
10727 /* Override any GCC internal prototype to avoid an error.
10728 Use char because int might match the return type of a GCC
10729 builtin and then its argument prototype would still apply. */
10730 #ifdef __cplusplus
10731 extern "C"
10732 #endif
10733 char glXCreateContext ();
10735 main ()
10737 return glXCreateContext ();
10739 return 0;
10741 _ACEOF
10742 if ac_fn_c_try_link "$LINENO"; then :
10743 case "$LIBEXT" in
10744 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10745 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'` ;;
10746 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10747 if ${ac_cv_lib_soname_GL:+false} :; then :
10748 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10749 fi ;;
10750 esac
10752 rm -f core conftest.err conftest.$ac_objext \
10753 conftest$ac_exeext conftest.$ac_ext
10754 LIBS=$ac_check_soname_save_LIBS
10756 if ${ac_cv_lib_soname_GL:+false} :; then :
10757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10758 $as_echo "not found" >&6; }
10759 if test -f /usr/X11R6/lib/libGL.a
10760 then
10761 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10762 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10763 else
10764 opengl_msg="No OpenGL library found on this system."
10766 else
10767 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10768 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10770 cat >>confdefs.h <<_ACEOF
10771 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10772 _ACEOF
10774 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"
10776 else
10777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10778 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10780 cat >>confdefs.h <<_ACEOF
10781 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10782 _ACEOF
10784 OPENGL_LIBS="-lGL"
10786 if test "x$with_glu" != "xno"
10787 then
10788 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
10789 $as_echo_n "checking for -lGLU... " >&6; }
10790 if ${ac_cv_lib_soname_GLU+:} false; then :
10791 $as_echo_n "(cached) " >&6
10792 else
10793 ac_check_soname_save_LIBS=$LIBS
10794 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10795 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10796 /* end confdefs.h. */
10798 /* Override any GCC internal prototype to avoid an error.
10799 Use char because int might match the return type of a GCC
10800 builtin and then its argument prototype would still apply. */
10801 #ifdef __cplusplus
10802 extern "C"
10803 #endif
10804 char gluLookAt ();
10806 main ()
10808 return gluLookAt ();
10810 return 0;
10812 _ACEOF
10813 if ac_fn_c_try_link "$LINENO"; then :
10814 case "$LIBEXT" in
10815 dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10816 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'` ;;
10817 *) ac_cv_lib_soname_GLU=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLU\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLU\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10818 if ${ac_cv_lib_soname_GLU:+false} :; then :
10819 ac_cv_lib_soname_GLU=`$LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10820 fi ;;
10821 esac
10823 rm -f core conftest.err conftest.$ac_objext \
10824 conftest$ac_exeext conftest.$ac_ext
10825 LIBS=$ac_check_soname_save_LIBS
10827 if ${ac_cv_lib_soname_GLU:+false} :; then :
10828 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10829 $as_echo "not found" >&6; }
10831 else
10832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
10833 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
10835 cat >>confdefs.h <<_ACEOF
10836 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
10837 _ACEOF
10841 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
10842 case "x$with_glu" in
10843 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10844 xno) ;;
10845 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10846 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10847 esac
10852 if test "x$with_osmesa" != "xno"
10853 then
10854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10855 $as_echo_n "checking for -lOSMesa... " >&6; }
10856 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10857 $as_echo_n "(cached) " >&6
10858 else
10859 ac_check_soname_save_LIBS=$LIBS
10860 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10862 /* end confdefs.h. */
10864 /* Override any GCC internal prototype to avoid an error.
10865 Use char because int might match the return type of a GCC
10866 builtin and then its argument prototype would still apply. */
10867 #ifdef __cplusplus
10868 extern "C"
10869 #endif
10870 char OSMesaGetProcAddress ();
10872 main ()
10874 return OSMesaGetProcAddress ();
10876 return 0;
10878 _ACEOF
10879 if ac_fn_c_try_link "$LINENO"; then :
10880 case "$LIBEXT" in
10881 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10882 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'` ;;
10883 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10884 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10885 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10886 fi ;;
10887 esac
10889 rm -f core conftest.err conftest.$ac_objext \
10890 conftest$ac_exeext conftest.$ac_ext
10891 LIBS=$ac_check_soname_save_LIBS
10893 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10895 $as_echo "not found" >&6; }
10897 else
10898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10899 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10901 cat >>confdefs.h <<_ACEOF
10902 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10903 _ACEOF
10907 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10908 case "x$with_osmesa" in
10909 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10910 xno) ;;
10911 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10912 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10913 esac
10918 if test -n "$opengl_msg"; then :
10919 case "x$with_opengl" in
10920 x) as_fn_append wine_warnings "|$opengl_msg
10921 OpenGL and Direct3D won't be supported." ;;
10922 xno) ;;
10923 *) as_fn_error $? "$opengl_msg
10924 OpenGL and Direct3D won't be supported.
10925 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10926 esac
10930 CPPFLAGS="$ac_save_CPPFLAGS"
10931 else
10932 X_CFLAGS=""
10933 X_LIBS=""
10936 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
10937 then
10938 if test "x$X_LIBS" = "x"; then :
10939 case "x$with_x" in
10940 xno) ;;
10941 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10942 without X support, which probably isn't what you want. You will need
10943 to install ${notice_platform}development packages of Xlib at the very least.
10944 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10945 esac
10946 enable_winex11_drv=${enable_winex11_drv:-no}
10948 else
10949 if test "x$X_LIBS" = "x"; then :
10950 case "x$with_x" in
10951 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
10952 xno) ;;
10953 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
10954 This is an error since --with-x was requested." "$LINENO" 5 ;;
10955 esac
10956 enable_winex11_drv=${enable_winex11_drv:-no}
10960 if test "$ac_cv_header_CL_cl_h" = "yes"
10961 then
10962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10963 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10964 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10965 $as_echo_n "(cached) " >&6
10966 else
10967 ac_check_lib_save_LIBS=$LIBS
10968 LIBS="-lOpenCL $LIBS"
10969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10970 /* end confdefs.h. */
10972 /* Override any GCC internal prototype to avoid an error.
10973 Use char because int might match the return type of a GCC
10974 builtin and then its argument prototype would still apply. */
10975 #ifdef __cplusplus
10976 extern "C"
10977 #endif
10978 char clGetPlatformInfo ();
10980 main ()
10982 return clGetPlatformInfo ();
10984 return 0;
10986 _ACEOF
10987 if ac_fn_c_try_link "$LINENO"; then :
10988 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10989 else
10990 ac_cv_lib_OpenCL_clGetPlatformInfo=no
10992 rm -f core conftest.err conftest.$ac_objext \
10993 conftest$ac_exeext conftest.$ac_ext
10994 LIBS=$ac_check_lib_save_LIBS
10996 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10997 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10998 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
10999 OPENCL_LIBS="-lOpenCL"
11004 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
11005 case "x$with_opencl" in
11006 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
11007 xno) ;;
11008 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
11009 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
11010 esac
11011 enable_opencl=${enable_opencl:-no}
11014 if test "$ac_cv_header_pcap_pcap_h" = "yes"
11015 then
11016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
11017 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
11018 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
11019 $as_echo_n "(cached) " >&6
11020 else
11021 ac_check_lib_save_LIBS=$LIBS
11022 LIBS="-lpcap $LIBS"
11023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11024 /* end confdefs.h. */
11026 /* Override any GCC internal prototype to avoid an error.
11027 Use char because int might match the return type of a GCC
11028 builtin and then its argument prototype would still apply. */
11029 #ifdef __cplusplus
11030 extern "C"
11031 #endif
11032 char pcap_create ();
11034 main ()
11036 return pcap_create ();
11038 return 0;
11040 _ACEOF
11041 if ac_fn_c_try_link "$LINENO"; then :
11042 ac_cv_lib_pcap_pcap_create=yes
11043 else
11044 ac_cv_lib_pcap_pcap_create=no
11046 rm -f core conftest.err conftest.$ac_objext \
11047 conftest$ac_exeext conftest.$ac_ext
11048 LIBS=$ac_check_lib_save_LIBS
11050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
11051 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
11052 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
11053 PCAP_LIBS="-lpcap"
11058 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
11059 case "x$with_pcap" in
11060 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
11061 xno) ;;
11062 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
11063 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
11064 esac
11065 enable_wpcap=${enable_wpcap:-no}
11069 if test "x$with_xml" != "xno"
11070 then
11071 if ${XML2_CFLAGS:+false} :; then :
11072 if ${PKG_CONFIG+:} false; then :
11073 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
11076 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
11077 if ${XML2_LIBS:+false} :; then :
11078 if ${PKG_CONFIG+:} false; then :
11079 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
11082 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
11083 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
11084 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
11085 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
11086 ac_save_CPPFLAGS=$CPPFLAGS
11087 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
11088 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
11089 do :
11090 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11091 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11092 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11093 cat >>confdefs.h <<_ACEOF
11094 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11095 _ACEOF
11099 done
11101 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"
11102 then
11103 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
11104 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
11105 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
11106 $as_echo_n "(cached) " >&6
11107 else
11108 ac_check_lib_save_LIBS=$LIBS
11109 LIBS="-lxml2 $XML2_LIBS $LIBS"
11110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11111 /* end confdefs.h. */
11113 /* Override any GCC internal prototype to avoid an error.
11114 Use char because int might match the return type of a GCC
11115 builtin and then its argument prototype would still apply. */
11116 #ifdef __cplusplus
11117 extern "C"
11118 #endif
11119 char xmlParseMemory ();
11121 main ()
11123 return xmlParseMemory ();
11125 return 0;
11127 _ACEOF
11128 if ac_fn_c_try_link "$LINENO"; then :
11129 ac_cv_lib_xml2_xmlParseMemory=yes
11130 else
11131 ac_cv_lib_xml2_xmlParseMemory=no
11133 rm -f core conftest.err conftest.$ac_objext \
11134 conftest$ac_exeext conftest.$ac_ext
11135 LIBS=$ac_check_lib_save_LIBS
11137 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11138 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11139 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
11141 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11143 else
11144 XML2_LIBS=""
11147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11148 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11149 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
11150 $as_echo_n "(cached) " >&6
11151 else
11152 ac_check_lib_save_LIBS=$LIBS
11153 LIBS="-lxml2 $XML2_LIBS $LIBS"
11154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11155 /* end confdefs.h. */
11157 /* Override any GCC internal prototype to avoid an error.
11158 Use char because int might match the return type of a GCC
11159 builtin and then its argument prototype would still apply. */
11160 #ifdef __cplusplus
11161 extern "C"
11162 #endif
11163 char xmlReadMemory ();
11165 main ()
11167 return xmlReadMemory ();
11169 return 0;
11171 _ACEOF
11172 if ac_fn_c_try_link "$LINENO"; then :
11173 ac_cv_lib_xml2_xmlReadMemory=yes
11174 else
11175 ac_cv_lib_xml2_xmlReadMemory=no
11177 rm -f core conftest.err conftest.$ac_objext \
11178 conftest$ac_exeext conftest.$ac_ext
11179 LIBS=$ac_check_lib_save_LIBS
11181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11182 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11183 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
11185 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11190 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11191 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
11192 $as_echo_n "(cached) " >&6
11193 else
11194 ac_check_lib_save_LIBS=$LIBS
11195 LIBS="-lxml2 $XML2_LIBS $LIBS"
11196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11197 /* end confdefs.h. */
11199 /* Override any GCC internal prototype to avoid an error.
11200 Use char because int might match the return type of a GCC
11201 builtin and then its argument prototype would still apply. */
11202 #ifdef __cplusplus
11203 extern "C"
11204 #endif
11205 char xmlNewDocPI ();
11207 main ()
11209 return xmlNewDocPI ();
11211 return 0;
11213 _ACEOF
11214 if ac_fn_c_try_link "$LINENO"; then :
11215 ac_cv_lib_xml2_xmlNewDocPI=yes
11216 else
11217 ac_cv_lib_xml2_xmlNewDocPI=no
11219 rm -f core conftest.err conftest.$ac_objext \
11220 conftest$ac_exeext conftest.$ac_ext
11221 LIBS=$ac_check_lib_save_LIBS
11223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11224 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11225 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
11227 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11231 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11232 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11233 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
11234 $as_echo_n "(cached) " >&6
11235 else
11236 ac_check_lib_save_LIBS=$LIBS
11237 LIBS="-lxml2 $XML2_LIBS $LIBS"
11238 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11239 /* end confdefs.h. */
11241 /* Override any GCC internal prototype to avoid an error.
11242 Use char because int might match the return type of a GCC
11243 builtin and then its argument prototype would still apply. */
11244 #ifdef __cplusplus
11245 extern "C"
11246 #endif
11247 char xmlSchemaSetParserStructuredErrors ();
11249 main ()
11251 return xmlSchemaSetParserStructuredErrors ();
11253 return 0;
11255 _ACEOF
11256 if ac_fn_c_try_link "$LINENO"; then :
11257 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
11258 else
11259 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
11261 rm -f core conftest.err conftest.$ac_objext \
11262 conftest$ac_exeext conftest.$ac_ext
11263 LIBS=$ac_check_lib_save_LIBS
11265 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11266 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11267 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
11269 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11274 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11275 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
11276 $as_echo_n "(cached) " >&6
11277 else
11278 ac_check_lib_save_LIBS=$LIBS
11279 LIBS="-lxml2 $XML2_LIBS $LIBS"
11280 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11281 /* end confdefs.h. */
11283 /* Override any GCC internal prototype to avoid an error.
11284 Use char because int might match the return type of a GCC
11285 builtin and then its argument prototype would still apply. */
11286 #ifdef __cplusplus
11287 extern "C"
11288 #endif
11289 char xmlSchemaSetValidStructuredErrors ();
11291 main ()
11293 return xmlSchemaSetValidStructuredErrors ();
11295 return 0;
11297 _ACEOF
11298 if ac_fn_c_try_link "$LINENO"; then :
11299 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11300 else
11301 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11303 rm -f core conftest.err conftest.$ac_objext \
11304 conftest$ac_exeext conftest.$ac_ext
11305 LIBS=$ac_check_lib_save_LIBS
11307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11308 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11309 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11311 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11315 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11316 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11317 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11318 $as_echo_n "(cached) " >&6
11319 else
11320 ac_check_lib_save_LIBS=$LIBS
11321 LIBS="-lxml2 $XML2_LIBS $LIBS"
11322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11323 /* end confdefs.h. */
11325 /* Override any GCC internal prototype to avoid an error.
11326 Use char because int might match the return type of a GCC
11327 builtin and then its argument prototype would still apply. */
11328 #ifdef __cplusplus
11329 extern "C"
11330 #endif
11331 char xmlFirstElementChild ();
11333 main ()
11335 return xmlFirstElementChild ();
11337 return 0;
11339 _ACEOF
11340 if ac_fn_c_try_link "$LINENO"; then :
11341 ac_cv_lib_xml2_xmlFirstElementChild=yes
11342 else
11343 ac_cv_lib_xml2_xmlFirstElementChild=no
11345 rm -f core conftest.err conftest.$ac_objext \
11346 conftest$ac_exeext conftest.$ac_ext
11347 LIBS=$ac_check_lib_save_LIBS
11349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11350 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11351 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11353 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11357 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11359 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11361 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11365 else
11366 XML2_CFLAGS=""
11367 XML2_LIBS=""
11369 CPPFLAGS=$ac_save_CPPFLAGS
11370 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11371 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11374 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11375 case "x$with_xml" in
11376 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11377 xno) ;;
11378 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11379 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11380 esac
11384 if test "x$with_xslt" != "xno"
11385 then
11386 if ${XSLT_CFLAGS:+false} :; then :
11387 if ${PKG_CONFIG+:} false; then :
11388 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11391 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
11392 if ${XSLT_LIBS:+false} :; then :
11393 if ${PKG_CONFIG+:} false; then :
11394 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11397 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
11398 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11399 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11400 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11401 ac_save_CPPFLAGS=$CPPFLAGS
11402 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11403 for ac_header in libxslt/pattern.h libxslt/transform.h
11404 do :
11405 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11406 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11407 # include <libxslt/pattern.h>
11408 #endif
11410 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11411 cat >>confdefs.h <<_ACEOF
11412 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11413 _ACEOF
11417 done
11419 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11420 then
11421 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11422 $as_echo_n "checking for -lxslt... " >&6; }
11423 if ${ac_cv_lib_soname_xslt+:} false; then :
11424 $as_echo_n "(cached) " >&6
11425 else
11426 ac_check_soname_save_LIBS=$LIBS
11427 LIBS="-lxslt $XSLT_LIBS $LIBS"
11428 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11429 /* end confdefs.h. */
11431 /* Override any GCC internal prototype to avoid an error.
11432 Use char because int might match the return type of a GCC
11433 builtin and then its argument prototype would still apply. */
11434 #ifdef __cplusplus
11435 extern "C"
11436 #endif
11437 char xsltCompilePattern ();
11439 main ()
11441 return xsltCompilePattern ();
11443 return 0;
11445 _ACEOF
11446 if ac_fn_c_try_link "$LINENO"; then :
11447 case "$LIBEXT" in
11448 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11449 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'` ;;
11450 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11451 if ${ac_cv_lib_soname_xslt:+false} :; then :
11452 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11453 fi ;;
11454 esac
11456 rm -f core conftest.err conftest.$ac_objext \
11457 conftest$ac_exeext conftest.$ac_ext
11458 LIBS=$ac_check_soname_save_LIBS
11460 if ${ac_cv_lib_soname_xslt:+false} :; then :
11461 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11462 $as_echo "not found" >&6; }
11464 else
11465 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11466 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11468 cat >>confdefs.h <<_ACEOF
11469 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11470 _ACEOF
11474 else
11475 XSLT_CFLAGS=""
11477 CPPFLAGS=$ac_save_CPPFLAGS
11478 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11479 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11482 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11483 case "x$with_xslt" in
11484 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11485 xno) ;;
11486 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11487 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11488 esac
11492 if test "x$with_dbus" != "xno"
11493 then
11494 if ${DBUS_CFLAGS:+false} :; then :
11495 if ${PKG_CONFIG+:} false; then :
11496 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11500 if ${DBUS_LIBS:+false} :; then :
11501 if ${PKG_CONFIG+:} false; then :
11502 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11507 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11508 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11509 ac_save_CPPFLAGS=$CPPFLAGS
11510 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11511 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11512 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11513 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11514 $as_echo_n "checking for -ldbus-1... " >&6; }
11515 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11516 $as_echo_n "(cached) " >&6
11517 else
11518 ac_check_soname_save_LIBS=$LIBS
11519 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11520 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11521 /* end confdefs.h. */
11523 /* Override any GCC internal prototype to avoid an error.
11524 Use char because int might match the return type of a GCC
11525 builtin and then its argument prototype would still apply. */
11526 #ifdef __cplusplus
11527 extern "C"
11528 #endif
11529 char dbus_connection_close ();
11531 main ()
11533 return dbus_connection_close ();
11535 return 0;
11537 _ACEOF
11538 if ac_fn_c_try_link "$LINENO"; then :
11539 case "$LIBEXT" in
11540 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11541 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'` ;;
11542 *) 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'`
11543 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11544 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11545 fi ;;
11546 esac
11548 rm -f core conftest.err conftest.$ac_objext \
11549 conftest$ac_exeext conftest.$ac_ext
11550 LIBS=$ac_check_soname_save_LIBS
11552 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11553 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11554 $as_echo "not found" >&6; }
11555 DBUS_CFLAGS=""
11556 else
11557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11558 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11560 cat >>confdefs.h <<_ACEOF
11561 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11562 _ACEOF
11566 else
11567 DBUS_CFLAGS=""
11571 CPPFLAGS=$ac_save_CPPFLAGS
11572 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11573 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11576 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11577 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11578 case "x$with_dbus" in
11579 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11580 xno) ;;
11581 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11582 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11583 esac
11587 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11588 then
11589 if ${HAL_CFLAGS:+false} :; then :
11590 if ${PKG_CONFIG+:} false; then :
11591 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11595 if ${HAL_LIBS:+false} :; then :
11596 if ${PKG_CONFIG+:} false; then :
11597 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11601 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11602 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11603 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11604 ac_save_CPPFLAGS=$CPPFLAGS
11605 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11606 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11607 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11608 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11609 $as_echo_n "checking for -lhal... " >&6; }
11610 if ${ac_cv_lib_soname_hal+:} false; then :
11611 $as_echo_n "(cached) " >&6
11612 else
11613 ac_check_soname_save_LIBS=$LIBS
11614 LIBS="-lhal $HAL_LIBS $LIBS"
11615 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11616 /* end confdefs.h. */
11618 /* Override any GCC internal prototype to avoid an error.
11619 Use char because int might match the return type of a GCC
11620 builtin and then its argument prototype would still apply. */
11621 #ifdef __cplusplus
11622 extern "C"
11623 #endif
11624 char libhal_ctx_new ();
11626 main ()
11628 return libhal_ctx_new ();
11630 return 0;
11632 _ACEOF
11633 if ac_fn_c_try_link "$LINENO"; then :
11634 case "$LIBEXT" in
11635 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11636 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'` ;;
11637 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11638 if ${ac_cv_lib_soname_hal:+false} :; then :
11639 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11640 fi ;;
11641 esac
11643 rm -f core conftest.err conftest.$ac_objext \
11644 conftest$ac_exeext conftest.$ac_ext
11645 LIBS=$ac_check_soname_save_LIBS
11647 if ${ac_cv_lib_soname_hal:+false} :; then :
11648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11649 $as_echo "not found" >&6; }
11650 HAL_CFLAGS=""
11651 else
11652 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11653 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11655 cat >>confdefs.h <<_ACEOF
11656 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11657 _ACEOF
11661 else
11662 HAL_CFLAGS=""
11666 CPPFLAGS=$ac_save_CPPFLAGS
11667 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11668 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11670 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11671 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11672 case "x$with_hal" in
11673 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11674 xno) ;;
11675 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11676 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11677 esac
11682 if test "x$with_gnutls" != "xno"
11683 then
11684 if ${GNUTLS_CFLAGS:+false} :; then :
11685 if ${PKG_CONFIG+:} false; then :
11686 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11690 if ${GNUTLS_LIBS:+false} :; then :
11691 if ${PKG_CONFIG+:} false; then :
11692 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11697 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11698 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11699 ac_save_CPPFLAGS=$CPPFLAGS
11700 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11701 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11702 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11704 /* end confdefs.h. */
11705 #include <gnutls/gnutls.h>
11706 #include <gnutls/crypto.h>
11708 main ()
11710 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11712 return 0;
11714 _ACEOF
11715 if ac_fn_c_try_compile "$LINENO"; then :
11716 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11717 $as_echo_n "checking for -lgnutls... " >&6; }
11718 if ${ac_cv_lib_soname_gnutls+:} false; then :
11719 $as_echo_n "(cached) " >&6
11720 else
11721 ac_check_soname_save_LIBS=$LIBS
11722 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11723 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11724 /* end confdefs.h. */
11726 /* Override any GCC internal prototype to avoid an error.
11727 Use char because int might match the return type of a GCC
11728 builtin and then its argument prototype would still apply. */
11729 #ifdef __cplusplus
11730 extern "C"
11731 #endif
11732 char gnutls_global_init ();
11734 main ()
11736 return gnutls_global_init ();
11738 return 0;
11740 _ACEOF
11741 if ac_fn_c_try_link "$LINENO"; then :
11742 case "$LIBEXT" in
11743 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11744 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'` ;;
11745 *) 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'`
11746 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11747 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'`
11748 fi ;;
11749 esac
11751 rm -f core conftest.err conftest.$ac_objext \
11752 conftest$ac_exeext conftest.$ac_ext
11753 LIBS=$ac_check_soname_save_LIBS
11755 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11757 $as_echo "not found" >&6; }
11758 GNUTLS_CFLAGS=""
11759 else
11760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11761 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11763 cat >>confdefs.h <<_ACEOF
11764 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11765 _ACEOF
11769 ac_wine_check_funcs_save_LIBS="$LIBS"
11770 LIBS="$LIBS $GNUTLS_LIBS"
11771 for ac_func in gnutls_cipher_init
11772 do :
11773 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
11774 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
11775 cat >>confdefs.h <<_ACEOF
11776 #define HAVE_GNUTLS_CIPHER_INIT 1
11777 _ACEOF
11779 else
11780 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
11782 done
11784 LIBS="$ac_wine_check_funcs_save_LIBS"
11786 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11787 else
11788 GNUTLS_CFLAGS=""
11792 CPPFLAGS=$ac_save_CPPFLAGS
11793 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11794 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11797 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11798 case "x$with_gnutls" in
11799 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11800 xno) ;;
11801 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11802 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11803 esac
11807 CURSES_LIBS=""
11808 if test "$ac_cv_header_ncurses_h" = "yes"
11809 then
11810 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11811 $as_echo_n "checking for -lncurses... " >&6; }
11812 if ${ac_cv_lib_soname_ncurses+:} false; then :
11813 $as_echo_n "(cached) " >&6
11814 else
11815 ac_check_soname_save_LIBS=$LIBS
11816 LIBS="-lncurses $LIBS"
11817 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11818 /* end confdefs.h. */
11820 /* Override any GCC internal prototype to avoid an error.
11821 Use char because int might match the return type of a GCC
11822 builtin and then its argument prototype would still apply. */
11823 #ifdef __cplusplus
11824 extern "C"
11825 #endif
11826 char waddch ();
11828 main ()
11830 return waddch ();
11832 return 0;
11834 _ACEOF
11835 if ac_fn_c_try_link "$LINENO"; then :
11836 case "$LIBEXT" in
11837 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11838 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'` ;;
11839 *) 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'`
11840 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11841 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11842 fi ;;
11843 esac
11845 rm -f core conftest.err conftest.$ac_objext \
11846 conftest$ac_exeext conftest.$ac_ext
11847 LIBS=$ac_check_soname_save_LIBS
11849 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11851 $as_echo "not found" >&6; }
11853 else
11854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11855 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11857 cat >>confdefs.h <<_ACEOF
11858 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11859 _ACEOF
11861 CURSES_LIBS="-lncurses"
11863 elif test "$ac_cv_header_curses_h" = "yes"
11864 then
11865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11866 $as_echo_n "checking for -lcurses... " >&6; }
11867 if ${ac_cv_lib_soname_curses+:} false; then :
11868 $as_echo_n "(cached) " >&6
11869 else
11870 ac_check_soname_save_LIBS=$LIBS
11871 LIBS="-lcurses $LIBS"
11872 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11873 /* end confdefs.h. */
11875 /* Override any GCC internal prototype to avoid an error.
11876 Use char because int might match the return type of a GCC
11877 builtin and then its argument prototype would still apply. */
11878 #ifdef __cplusplus
11879 extern "C"
11880 #endif
11881 char waddch ();
11883 main ()
11885 return waddch ();
11887 return 0;
11889 _ACEOF
11890 if ac_fn_c_try_link "$LINENO"; then :
11891 case "$LIBEXT" in
11892 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11893 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'` ;;
11894 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11895 if ${ac_cv_lib_soname_curses:+false} :; then :
11896 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11897 fi ;;
11898 esac
11900 rm -f core conftest.err conftest.$ac_objext \
11901 conftest$ac_exeext conftest.$ac_ext
11902 LIBS=$ac_check_soname_save_LIBS
11904 if ${ac_cv_lib_soname_curses:+false} :; then :
11905 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11906 $as_echo "not found" >&6; }
11908 else
11909 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11910 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11912 cat >>confdefs.h <<_ACEOF
11913 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11914 _ACEOF
11916 CURSES_LIBS="-lcurses"
11919 ac_save_LIBS="$LIBS"
11920 LIBS="$LIBS $CURSES_LIBS"
11921 for ac_func in mousemask
11922 do :
11923 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11924 if test "x$ac_cv_func_mousemask" = xyes; then :
11925 cat >>confdefs.h <<_ACEOF
11926 #define HAVE_MOUSEMASK 1
11927 _ACEOF
11930 done
11932 LIBS="$ac_save_LIBS"
11933 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11934 case "x$with_curses" in
11935 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11936 xno) ;;
11937 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11938 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11939 esac
11943 if test "x$with_sane" != "xno"
11944 then
11945 if ${SANE_CFLAGS:+false} :; then :
11946 if ${PKG_CONFIG+:} false; then :
11947 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11950 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
11951 if ${SANE_LIBS:+false} :; then :
11952 if ${PKG_CONFIG+:} false; then :
11953 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11956 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
11958 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11959 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11960 ac_save_CPPFLAGS=$CPPFLAGS
11961 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
11962 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11963 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
11964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11965 $as_echo_n "checking for -lsane... " >&6; }
11966 if ${ac_cv_lib_soname_sane+:} false; then :
11967 $as_echo_n "(cached) " >&6
11968 else
11969 ac_check_soname_save_LIBS=$LIBS
11970 LIBS="-lsane $SANE_LIBS $LIBS"
11971 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11972 /* end confdefs.h. */
11974 /* Override any GCC internal prototype to avoid an error.
11975 Use char because int might match the return type of a GCC
11976 builtin and then its argument prototype would still apply. */
11977 #ifdef __cplusplus
11978 extern "C"
11979 #endif
11980 char sane_init ();
11982 main ()
11984 return sane_init ();
11986 return 0;
11988 _ACEOF
11989 if ac_fn_c_try_link "$LINENO"; then :
11990 case "$LIBEXT" in
11991 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11992 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'` ;;
11993 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11994 if ${ac_cv_lib_soname_sane:+false} :; then :
11995 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11996 fi ;;
11997 esac
11999 rm -f core conftest.err conftest.$ac_objext \
12000 conftest$ac_exeext conftest.$ac_ext
12001 LIBS=$ac_check_soname_save_LIBS
12003 if ${ac_cv_lib_soname_sane:+false} :; then :
12004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12005 $as_echo "not found" >&6; }
12006 SANE_CFLAGS=""
12007 else
12008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
12009 $as_echo "$ac_cv_lib_soname_sane" >&6; }
12011 cat >>confdefs.h <<_ACEOF
12012 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
12013 _ACEOF
12017 else
12018 SANE_CFLAGS=""
12022 CPPFLAGS=$ac_save_CPPFLAGS
12023 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12024 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12027 if test "x$ac_cv_lib_soname_sane" = "x"; then :
12028 case "x$with_sane" in
12029 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
12030 xno) ;;
12031 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
12032 This is an error since --with-sane was requested." "$LINENO" 5 ;;
12033 esac
12037 if test "x$with_v4l" != "xno"
12038 then
12039 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
12040 $as_echo_n "checking for -lv4l1... " >&6; }
12041 if ${ac_cv_lib_soname_v4l1+:} false; then :
12042 $as_echo_n "(cached) " >&6
12043 else
12044 ac_check_soname_save_LIBS=$LIBS
12045 LIBS="-lv4l1 $LIBS"
12046 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12047 /* end confdefs.h. */
12049 /* Override any GCC internal prototype to avoid an error.
12050 Use char because int might match the return type of a GCC
12051 builtin and then its argument prototype would still apply. */
12052 #ifdef __cplusplus
12053 extern "C"
12054 #endif
12055 char v4l1_open ();
12057 main ()
12059 return v4l1_open ();
12061 return 0;
12063 _ACEOF
12064 if ac_fn_c_try_link "$LINENO"; then :
12065 case "$LIBEXT" in
12066 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12067 dylib) ac_cv_lib_soname_v4l1=`$OTOOL -L conftest$ac_exeext | grep "libv4l1\\.[0-9A-Za-z.]*dylib" | sed -e "s/^.*\/\(libv4l1\.[0-9A-Za-z.]*dylib\).*$/\1/"';2,$d'` ;;
12068 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12069 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12070 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12071 fi ;;
12072 esac
12074 rm -f core conftest.err conftest.$ac_objext \
12075 conftest$ac_exeext conftest.$ac_ext
12076 LIBS=$ac_check_soname_save_LIBS
12078 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12080 $as_echo "not found" >&6; }
12082 else
12083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
12084 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
12086 cat >>confdefs.h <<_ACEOF
12087 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
12088 _ACEOF
12093 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
12094 case "x$with_v4l" in
12095 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
12096 xno) ;;
12097 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
12098 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
12099 esac
12103 if test "x$with_gphoto" != "xno"
12104 then
12105 if ${GPHOTO2_CFLAGS:+false} :; then :
12106 if ${PKG_CONFIG+:} false; then :
12107 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
12110 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
12111 if ${GPHOTO2_LIBS:+false} :; then :
12112 if ${PKG_CONFIG+:} false; then :
12113 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
12116 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
12117 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
12118 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
12119 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
12120 ac_save_CPPFLAGS=$CPPFLAGS
12121 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
12122 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
12123 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
12124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
12125 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
12126 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
12127 $as_echo_n "(cached) " >&6
12128 else
12129 ac_check_lib_save_LIBS=$LIBS
12130 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
12131 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12132 /* end confdefs.h. */
12134 /* Override any GCC internal prototype to avoid an error.
12135 Use char because int might match the return type of a GCC
12136 builtin and then its argument prototype would still apply. */
12137 #ifdef __cplusplus
12138 extern "C"
12139 #endif
12140 char gp_camera_new ();
12142 main ()
12144 return gp_camera_new ();
12146 return 0;
12148 _ACEOF
12149 if ac_fn_c_try_link "$LINENO"; then :
12150 ac_cv_lib_gphoto2_gp_camera_new=yes
12151 else
12152 ac_cv_lib_gphoto2_gp_camera_new=no
12154 rm -f core conftest.err conftest.$ac_objext \
12155 conftest$ac_exeext conftest.$ac_ext
12156 LIBS=$ac_check_lib_save_LIBS
12158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12159 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12160 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
12162 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
12164 else
12165 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12168 else
12169 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12173 CPPFLAGS=$ac_save_CPPFLAGS
12174 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12175 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12177 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12178 if ${PKG_CONFIG+:} false; then :
12179 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12182 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
12183 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12184 if ${PKG_CONFIG+:} false; then :
12185 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12188 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
12189 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12190 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12191 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12192 ac_save_CPPFLAGS=$CPPFLAGS
12193 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12194 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12195 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
12196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12197 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12198 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
12199 $as_echo_n "(cached) " >&6
12200 else
12201 ac_check_lib_save_LIBS=$LIBS
12202 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12204 /* end confdefs.h. */
12206 /* Override any GCC internal prototype to avoid an error.
12207 Use char because int might match the return type of a GCC
12208 builtin and then its argument prototype would still apply. */
12209 #ifdef __cplusplus
12210 extern "C"
12211 #endif
12212 char gp_port_info_list_new ();
12214 main ()
12216 return gp_port_info_list_new ();
12218 return 0;
12220 _ACEOF
12221 if ac_fn_c_try_link "$LINENO"; then :
12222 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
12223 else
12224 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
12226 rm -f core conftest.err conftest.$ac_objext \
12227 conftest$ac_exeext conftest.$ac_ext
12228 LIBS=$ac_check_lib_save_LIBS
12230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12231 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12232 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
12234 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12236 else
12237 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12240 else
12241 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12245 CPPFLAGS=$ac_save_CPPFLAGS
12246 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12247 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12250 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12251 case "x$with_gphoto" in
12252 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12253 xno) ;;
12254 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12255 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12256 esac
12259 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12260 case "x$with_gphoto" in
12261 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12262 xno) ;;
12263 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12264 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12265 esac
12270 if test "$ac_cv_header_resolv_h" = "yes"
12271 then
12272 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12273 $as_echo_n "checking for resolver library... " >&6; }
12274 if ${ac_cv_have_resolv+:} false; then :
12275 $as_echo_n "(cached) " >&6
12276 else
12277 ac_save_LIBS="$LIBS"
12278 for lib in '' -lresolv
12280 LIBS="$lib $ac_save_LIBS"
12281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12282 /* end confdefs.h. */
12283 #ifdef HAVE_NETINET_IN_H
12284 #include <netinet/in.h>
12285 #endif
12286 #include <resolv.h>
12288 main ()
12290 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12292 return 0;
12294 _ACEOF
12295 if ac_fn_c_try_link "$LINENO"; then :
12296 ac_cv_have_resolv=${lib:-"none required"}
12297 else
12298 ac_cv_have_resolv="not found"
12300 rm -f core conftest.err conftest.$ac_objext \
12301 conftest$ac_exeext conftest.$ac_ext
12302 test "x$ac_cv_have_resolv" = "xnot found" || break
12303 done
12304 LIBS="$ac_save_LIBS"
12306 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12307 $as_echo "$ac_cv_have_resolv" >&6; }
12309 case "$ac_cv_have_resolv" in
12310 "not found") ;;
12311 "none required")
12313 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12316 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12318 RESOLV_LIBS=$ac_cv_have_resolv
12320 esac
12323 if test "x$with_cms" != "xno"
12324 then
12325 if ${LCMS2_CFLAGS:+false} :; then :
12326 if ${PKG_CONFIG+:} false; then :
12327 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12331 if ${LCMS2_LIBS:+false} :; then :
12332 if ${PKG_CONFIG+:} false; then :
12333 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12337 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12338 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12339 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12340 ac_save_CPPFLAGS=$CPPFLAGS
12341 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12342 for ac_header in lcms2.h
12343 do :
12344 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12345 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12346 cat >>confdefs.h <<_ACEOF
12347 #define HAVE_LCMS2_H 1
12348 _ACEOF
12352 done
12354 if test "$ac_cv_header_lcms2_h" = "yes"
12355 then
12356 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12357 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12358 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12359 $as_echo_n "(cached) " >&6
12360 else
12361 ac_check_lib_save_LIBS=$LIBS
12362 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12364 /* end confdefs.h. */
12366 /* Override any GCC internal prototype to avoid an error.
12367 Use char because int might match the return type of a GCC
12368 builtin and then its argument prototype would still apply. */
12369 #ifdef __cplusplus
12370 extern "C"
12371 #endif
12372 char cmsOpenProfileFromFile ();
12374 main ()
12376 return cmsOpenProfileFromFile ();
12378 return 0;
12380 _ACEOF
12381 if ac_fn_c_try_link "$LINENO"; then :
12382 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12383 else
12384 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12386 rm -f core conftest.err conftest.$ac_objext \
12387 conftest$ac_exeext conftest.$ac_ext
12388 LIBS=$ac_check_lib_save_LIBS
12390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12391 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12392 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12394 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12396 else
12397 LCMS2_LIBS=""
12400 else
12401 LCMS2_CFLAGS=""
12402 LCMS2_LIBS=""
12404 CPPFLAGS=$ac_save_CPPFLAGS
12405 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12406 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12409 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12410 case "x$with_cms" in
12411 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12412 xno) ;;
12413 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12414 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12415 esac
12419 if test "x$with_freetype" != "xno"
12420 then
12421 if ${FREETYPE_CFLAGS:+false} :; then :
12422 if ${PKG_CONFIG+:} false; then :
12423 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12426 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
12427 if ${FREETYPE_LIBS:+false} :; then :
12428 if ${PKG_CONFIG+:} false; then :
12429 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12432 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
12433 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12434 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12435 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12436 ac_save_CPPFLAGS=$CPPFLAGS
12437 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12438 for ac_header in ft2build.h
12439 do :
12440 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12441 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12442 cat >>confdefs.h <<_ACEOF
12443 #define HAVE_FT2BUILD_H 1
12444 _ACEOF
12448 done
12450 if test "$ac_cv_header_ft2build_h" = "yes"
12451 then
12452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12453 $as_echo_n "checking for -lfreetype... " >&6; }
12454 if ${ac_cv_lib_soname_freetype+:} false; then :
12455 $as_echo_n "(cached) " >&6
12456 else
12457 ac_check_soname_save_LIBS=$LIBS
12458 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12460 /* end confdefs.h. */
12462 /* Override any GCC internal prototype to avoid an error.
12463 Use char because int might match the return type of a GCC
12464 builtin and then its argument prototype would still apply. */
12465 #ifdef __cplusplus
12466 extern "C"
12467 #endif
12468 char FT_Init_FreeType ();
12470 main ()
12472 return FT_Init_FreeType ();
12474 return 0;
12476 _ACEOF
12477 if ac_fn_c_try_link "$LINENO"; then :
12478 case "$LIBEXT" in
12479 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12480 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'` ;;
12481 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12482 if ${ac_cv_lib_soname_freetype:+false} :; then :
12483 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12484 fi ;;
12485 esac
12487 rm -f core conftest.err conftest.$ac_objext \
12488 conftest$ac_exeext conftest.$ac_ext
12489 LIBS=$ac_check_soname_save_LIBS
12491 if ${ac_cv_lib_soname_freetype:+false} :; then :
12492 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12493 $as_echo "not found" >&6; }
12494 FREETYPE_LIBS=""
12495 else
12496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12497 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12499 cat >>confdefs.h <<_ACEOF
12500 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12501 _ACEOF
12504 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12506 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12507 #include FT_MODULE_H
12509 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12511 cat >>confdefs.h <<_ACEOF
12512 #define HAVE_FT_TRUETYPEENGINETYPE 1
12513 _ACEOF
12519 else
12520 FREETYPE_CFLAGS=""
12521 FREETYPE_LIBS=""
12523 CPPFLAGS=$ac_save_CPPFLAGS
12524 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12525 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12528 if test "x$ac_cv_lib_soname_freetype" = x; then :
12529 case "x$with_freetype" in
12530 xno) ;;
12531 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12532 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12533 esac
12534 enable_fonts=${enable_fonts:-no}
12537 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12538 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12539 if ${ac_cv_c_ppdev+:} false; then :
12540 $as_echo_n "(cached) " >&6
12541 else
12542 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12543 /* end confdefs.h. */
12544 #ifdef HAVE_SYS_IOCTL_H
12545 # include <sys/ioctl.h>
12546 #endif
12547 #include <linux/ppdev.h>
12549 main ()
12551 ioctl (1,PPCLAIM,0)
12553 return 0;
12555 _ACEOF
12556 if ac_fn_c_try_compile "$LINENO"; then :
12557 ac_cv_c_ppdev="yes"
12558 else
12559 ac_cv_c_ppdev="no"
12561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12564 $as_echo "$ac_cv_c_ppdev" >&6; }
12565 if test "$ac_cv_c_ppdev" = "yes"
12566 then
12568 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12572 ac_wine_check_funcs_save_LIBS="$LIBS"
12573 LIBS="$LIBS $PTHREAD_LIBS"
12574 for ac_func in \
12575 pthread_attr_get_np \
12576 pthread_getattr_np \
12577 pthread_getthreadid_np \
12578 pthread_get_stackaddr_np \
12579 pthread_get_stacksize_np
12580 do :
12581 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12582 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12583 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12584 cat >>confdefs.h <<_ACEOF
12585 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12586 _ACEOF
12589 done
12591 LIBS="$ac_wine_check_funcs_save_LIBS"
12593 if test "$ac_cv_header_zlib_h" = "yes"
12594 then
12595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12596 $as_echo_n "checking for inflate in -lz... " >&6; }
12597 if ${ac_cv_lib_z_inflate+:} false; then :
12598 $as_echo_n "(cached) " >&6
12599 else
12600 ac_check_lib_save_LIBS=$LIBS
12601 LIBS="-lz $LIBS"
12602 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12603 /* end confdefs.h. */
12605 /* Override any GCC internal prototype to avoid an error.
12606 Use char because int might match the return type of a GCC
12607 builtin and then its argument prototype would still apply. */
12608 #ifdef __cplusplus
12609 extern "C"
12610 #endif
12611 char inflate ();
12613 main ()
12615 return inflate ();
12617 return 0;
12619 _ACEOF
12620 if ac_fn_c_try_link "$LINENO"; then :
12621 ac_cv_lib_z_inflate=yes
12622 else
12623 ac_cv_lib_z_inflate=no
12625 rm -f core conftest.err conftest.$ac_objext \
12626 conftest$ac_exeext conftest.$ac_ext
12627 LIBS=$ac_check_lib_save_LIBS
12629 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12630 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12631 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12633 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12635 Z_LIBS="-lz"
12640 if test "x$Z_LIBS" = "x"; then :
12641 case "x$with_zlib" in
12642 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12643 xno) ;;
12644 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12645 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12646 esac
12650 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
12651 then
12652 if test "$ac_cv_header_gettext_po_h" = "yes"
12653 then
12654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12655 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12656 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12657 $as_echo_n "(cached) " >&6
12658 else
12659 ac_check_lib_save_LIBS=$LIBS
12660 LIBS="-lgettextpo $LIBS"
12661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12662 /* end confdefs.h. */
12664 /* Override any GCC internal prototype to avoid an error.
12665 Use char because int might match the return type of a GCC
12666 builtin and then its argument prototype would still apply. */
12667 #ifdef __cplusplus
12668 extern "C"
12669 #endif
12670 char po_message_msgctxt ();
12672 main ()
12674 return po_message_msgctxt ();
12676 return 0;
12678 _ACEOF
12679 if ac_fn_c_try_link "$LINENO"; then :
12680 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12681 else
12682 ac_cv_lib_gettextpo_po_message_msgctxt=no
12684 rm -f core conftest.err conftest.$ac_objext \
12685 conftest$ac_exeext conftest.$ac_ext
12686 LIBS=$ac_check_lib_save_LIBS
12688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12689 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12690 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12692 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12694 GETTEXTPO_LIBS="-lgettextpo"
12699 if test "x$GETTEXTPO_LIBS" = "x"; then :
12700 case "x$with_gettextpo" in
12701 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12702 xno) ;;
12703 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12704 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12705 esac
12708 if test "$srcdir" != .; then :
12709 case "x$with_gettextpo" in
12710 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
12711 xno) ;;
12712 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
12713 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12714 esac
12719 if test "x$with_pulse" != "xno";
12720 then
12721 if ${PULSE_CFLAGS:+false} :; then :
12722 if ${PKG_CONFIG+:} false; then :
12723 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
12727 if ${PULSE_LIBS:+false} :; then :
12728 if ${PKG_CONFIG+:} false; then :
12729 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
12734 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
12735 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
12736 ac_save_CPPFLAGS=$CPPFLAGS
12737 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
12738 for ac_header in pulse/pulseaudio.h
12739 do :
12740 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
12741 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
12742 cat >>confdefs.h <<_ACEOF
12743 #define HAVE_PULSE_PULSEAUDIO_H 1
12744 _ACEOF
12745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
12746 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
12747 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
12748 $as_echo_n "(cached) " >&6
12749 else
12750 ac_check_lib_save_LIBS=$LIBS
12751 LIBS="-lpulse $PULSE_LIBS $LIBS"
12752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12753 /* end confdefs.h. */
12755 /* Override any GCC internal prototype to avoid an error.
12756 Use char because int might match the return type of a GCC
12757 builtin and then its argument prototype would still apply. */
12758 #ifdef __cplusplus
12759 extern "C"
12760 #endif
12761 char pa_stream_is_corked ();
12763 main ()
12765 return pa_stream_is_corked ();
12767 return 0;
12769 _ACEOF
12770 if ac_fn_c_try_link "$LINENO"; then :
12771 ac_cv_lib_pulse_pa_stream_is_corked=yes
12772 else
12773 ac_cv_lib_pulse_pa_stream_is_corked=no
12775 rm -f core conftest.err conftest.$ac_objext \
12776 conftest$ac_exeext conftest.$ac_ext
12777 LIBS=$ac_check_lib_save_LIBS
12779 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
12780 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
12781 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
12783 else
12784 PULSE_LIBS=""
12787 else
12788 PULSE_LIBS=""
12791 done
12793 CPPFLAGS=$ac_save_CPPFLAGS
12794 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12795 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12798 if test -z "$PULSE_LIBS"; then :
12799 case "x$with_pulse" in
12800 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
12801 xno) ;;
12802 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
12803 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
12804 esac
12805 enable_winepulse_drv=${enable_winepulse_drv:-no}
12808 if test "x$with_gstreamer" != "xno"
12809 then
12810 if ${GSTREAMER_CFLAGS:+false} :; then :
12811 if ${PKG_CONFIG+:} false; then :
12812 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12816 if ${GSTREAMER_LIBS:+false} :; then :
12817 if ${PKG_CONFIG+:} false; then :
12818 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12823 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
12824 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
12825 ac_save_CPPFLAGS=$CPPFLAGS
12826 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12827 ac_gst_incl=""
12828 for i in $GSTREAMER_CFLAGS
12830 case "$i" in
12831 -I*) ac_gst_incl="$ac_gst_incl $i";;
12832 esac
12833 done
12834 GSTREAMER_CFLAGS=$ac_gst_incl
12835 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12836 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
12837 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
12838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
12839 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
12840 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12841 /* end confdefs.h. */
12842 #include <gst/gst.h>
12844 main ()
12846 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12848 return 0;
12850 _ACEOF
12851 if ac_fn_c_try_compile "$LINENO"; then :
12852 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12853 $as_echo "yes" >&6; }
12854 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
12855 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
12856 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
12857 $as_echo_n "(cached) " >&6
12858 else
12859 ac_check_lib_save_LIBS=$LIBS
12860 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
12861 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12862 /* end confdefs.h. */
12864 /* Override any GCC internal prototype to avoid an error.
12865 Use char because int might match the return type of a GCC
12866 builtin and then its argument prototype would still apply. */
12867 #ifdef __cplusplus
12868 extern "C"
12869 #endif
12870 char gst_pad_new ();
12872 main ()
12874 return gst_pad_new ();
12876 return 0;
12878 _ACEOF
12879 if ac_fn_c_try_link "$LINENO"; then :
12880 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
12881 else
12882 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
12884 rm -f core conftest.err conftest.$ac_objext \
12885 conftest$ac_exeext conftest.$ac_ext
12886 LIBS=$ac_check_lib_save_LIBS
12888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
12889 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
12890 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
12894 else
12895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12896 $as_echo "no" >&6; }
12897 ac_glib2_broken=yes
12898 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
12900 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12904 CPPFLAGS=$ac_save_CPPFLAGS
12905 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12906 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12909 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 :
12910 case "x$with_gstreamer" in
12911 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
12912 xno) ;;
12913 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
12914 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12915 esac
12918 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12920 ALSA_LIBS=""
12922 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12923 then
12924 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12925 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12926 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12927 $as_echo_n "(cached) " >&6
12928 else
12929 ac_check_lib_save_LIBS=$LIBS
12930 LIBS="-lasound $LIBS"
12931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12932 /* end confdefs.h. */
12934 /* Override any GCC internal prototype to avoid an error.
12935 Use char because int might match the return type of a GCC
12936 builtin and then its argument prototype would still apply. */
12937 #ifdef __cplusplus
12938 extern "C"
12939 #endif
12940 char snd_pcm_hw_params_get_access_mask ();
12942 main ()
12944 return snd_pcm_hw_params_get_access_mask ();
12946 return 0;
12948 _ACEOF
12949 if ac_fn_c_try_link "$LINENO"; then :
12950 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
12951 else
12952 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
12954 rm -f core conftest.err conftest.$ac_objext \
12955 conftest$ac_exeext conftest.$ac_ext
12956 LIBS=$ac_check_lib_save_LIBS
12958 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12959 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12960 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
12961 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12962 /* end confdefs.h. */
12963 #ifdef HAVE_ALSA_ASOUNDLIB_H
12964 #include <alsa/asoundlib.h>
12965 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12966 #include <sys/asoundlib.h>
12967 #endif
12969 main ()
12971 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12973 return 0;
12975 _ACEOF
12976 if ac_fn_c_try_compile "$LINENO"; then :
12977 ALSA_LIBS="-lasound"
12979 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12983 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
12985 if test "x$with_oss" != xno
12986 then
12987 ac_save_CPPFLAGS="$CPPFLAGS"
12988 if test -f /etc/oss.conf
12989 then
12990 . /etc/oss.conf
12992 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12993 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
12994 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12995 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
12996 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12998 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
13000 cat >>confdefs.h <<_ACEOF
13001 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
13002 _ACEOF
13004 OSS4_CFLAGS="$ac_oss_incl"
13011 CPPFLAGS="$ac_save_CPPFLAGS"
13013 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
13014 case "x$with_oss" in
13015 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
13016 xno) ;;
13017 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
13018 This is an error since --with-oss was requested." "$LINENO" 5 ;;
13019 esac
13020 enable_wineoss_drv=${enable_wineoss_drv:-no}
13023 if test "x$with_udev" != "xno"
13024 then
13025 if ${UDEV_CFLAGS:+false} :; then :
13026 if ${PKG_CONFIG+:} false; then :
13027 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
13031 if ${UDEV_LIBS:+false} :; then :
13032 if ${PKG_CONFIG+:} false; then :
13033 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
13037 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
13038 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
13039 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
13040 ac_save_CPPFLAGS=$CPPFLAGS
13041 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
13042 for ac_header in libudev.h
13043 do :
13044 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
13045 if test "x$ac_cv_header_libudev_h" = xyes; then :
13046 cat >>confdefs.h <<_ACEOF
13047 #define HAVE_LIBUDEV_H 1
13048 _ACEOF
13049 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
13050 $as_echo_n "checking for udev_new in -ludev... " >&6; }
13051 if ${ac_cv_lib_udev_udev_new+:} false; then :
13052 $as_echo_n "(cached) " >&6
13053 else
13054 ac_check_lib_save_LIBS=$LIBS
13055 LIBS="-ludev $UDEV_LIBS $LIBS"
13056 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13057 /* end confdefs.h. */
13059 /* Override any GCC internal prototype to avoid an error.
13060 Use char because int might match the return type of a GCC
13061 builtin and then its argument prototype would still apply. */
13062 #ifdef __cplusplus
13063 extern "C"
13064 #endif
13065 char udev_new ();
13067 main ()
13069 return udev_new ();
13071 return 0;
13073 _ACEOF
13074 if ac_fn_c_try_link "$LINENO"; then :
13075 ac_cv_lib_udev_udev_new=yes
13076 else
13077 ac_cv_lib_udev_udev_new=no
13079 rm -f core conftest.err conftest.$ac_objext \
13080 conftest$ac_exeext conftest.$ac_ext
13081 LIBS=$ac_check_lib_save_LIBS
13083 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
13084 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
13085 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
13087 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
13089 else
13090 UDEV_LIBS=""
13093 else
13094 UDEV_LIBS=""
13097 done
13099 CPPFLAGS=$ac_save_CPPFLAGS
13100 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13101 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13104 if test "x$UDEV_LIBS" = "x"; then :
13105 case "x$with_udev" in
13106 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
13107 xno) ;;
13108 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
13109 This is an error since --with-udev was requested." "$LINENO" 5 ;;
13110 esac
13114 if test "x$with_sdl" != "xno"
13115 then
13116 if ${SDL2_CFLAGS:+false} :; then :
13117 if ${PKG_CONFIG+:} false; then :
13118 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
13122 if ${SDL2_LIBS:+false} :; then :
13123 if ${PKG_CONFIG+:} false; then :
13124 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
13128 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
13129 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
13130 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
13131 ac_save_CPPFLAGS=$CPPFLAGS
13132 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
13133 for ac_header in SDL2/SDL.h
13134 do :
13135 ac_fn_c_check_header_mongrel "$LINENO" "SDL2/SDL.h" "ac_cv_header_SDL2_SDL_h" "$ac_includes_default"
13136 if test "x$ac_cv_header_SDL2_SDL_h" = xyes; then :
13137 cat >>confdefs.h <<_ACEOF
13138 #define HAVE_SDL2_SDL_H 1
13139 _ACEOF
13140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
13141 $as_echo_n "checking for -lSDL2... " >&6; }
13142 if ${ac_cv_lib_soname_SDL2+:} false; then :
13143 $as_echo_n "(cached) " >&6
13144 else
13145 ac_check_soname_save_LIBS=$LIBS
13146 LIBS="-lSDL2 $LIBS"
13147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13148 /* end confdefs.h. */
13150 /* Override any GCC internal prototype to avoid an error.
13151 Use char because int might match the return type of a GCC
13152 builtin and then its argument prototype would still apply. */
13153 #ifdef __cplusplus
13154 extern "C"
13155 #endif
13156 char SDL_Init ();
13158 main ()
13160 return SDL_Init ();
13162 return 0;
13164 _ACEOF
13165 if ac_fn_c_try_link "$LINENO"; then :
13166 case "$LIBEXT" in
13167 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13168 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'` ;;
13169 *) 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'`
13170 if ${ac_cv_lib_soname_SDL2:+false} :; then :
13171 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13172 fi ;;
13173 esac
13175 rm -f core conftest.err conftest.$ac_objext \
13176 conftest$ac_exeext conftest.$ac_ext
13177 LIBS=$ac_check_soname_save_LIBS
13179 if ${ac_cv_lib_soname_SDL2:+false} :; then :
13180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13181 $as_echo "not found" >&6; }
13183 else
13184 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
13185 $as_echo "$ac_cv_lib_soname_SDL2" >&6; }
13187 cat >>confdefs.h <<_ACEOF
13188 #define SONAME_LIBSDL2 "$ac_cv_lib_soname_SDL2"
13189 _ACEOF
13195 done
13197 CPPFLAGS=$ac_save_CPPFLAGS
13198 test -z "$SDL2_CFLAGS" || SDL2_CFLAGS=`echo " $SDL2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13199 test -z "$SDL2_LIBS" || SDL2_LIBS=`echo " $SDL2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13202 if test "x$ac_cv_lib_soname_SDL2" = "x"; then :
13203 case "x$with_sdl" in
13204 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
13205 xno) ;;
13206 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
13207 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
13208 esac
13212 if test "x$with_capi" != "xno"
13213 then
13214 if ${CAPI20_CFLAGS:+false} :; then :
13215 if ${PKG_CONFIG+:} false; then :
13216 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
13220 if ${CAPI20_LIBS:+false} :; then :
13221 if ${PKG_CONFIG+:} false; then :
13222 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
13227 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
13228 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
13229 ac_save_CPPFLAGS=$CPPFLAGS
13230 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
13231 for ac_header in capi20.h linux/capi.h
13232 do :
13233 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13234 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
13236 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13237 cat >>confdefs.h <<_ACEOF
13238 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13239 _ACEOF
13243 done
13245 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
13246 then
13247 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
13248 $as_echo_n "checking for -lcapi20... " >&6; }
13249 if ${ac_cv_lib_soname_capi20+:} false; then :
13250 $as_echo_n "(cached) " >&6
13251 else
13252 ac_check_soname_save_LIBS=$LIBS
13253 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
13254 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13255 /* end confdefs.h. */
13257 /* Override any GCC internal prototype to avoid an error.
13258 Use char because int might match the return type of a GCC
13259 builtin and then its argument prototype would still apply. */
13260 #ifdef __cplusplus
13261 extern "C"
13262 #endif
13263 char capi20_register ();
13265 main ()
13267 return capi20_register ();
13269 return 0;
13271 _ACEOF
13272 if ac_fn_c_try_link "$LINENO"; then :
13273 case "$LIBEXT" in
13274 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13275 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'` ;;
13276 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13277 if ${ac_cv_lib_soname_capi20:+false} :; then :
13278 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13279 fi ;;
13280 esac
13282 rm -f core conftest.err conftest.$ac_objext \
13283 conftest$ac_exeext conftest.$ac_ext
13284 LIBS=$ac_check_soname_save_LIBS
13286 if ${ac_cv_lib_soname_capi20:+false} :; then :
13287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13288 $as_echo "not found" >&6; }
13290 else
13291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
13292 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
13294 cat >>confdefs.h <<_ACEOF
13295 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
13296 _ACEOF
13301 CPPFLAGS=$ac_save_CPPFLAGS
13302 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13303 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13306 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
13307 case "x$with_capi" in
13308 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
13309 xno) ;;
13310 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
13311 This is an error since --with-capi was requested." "$LINENO" 5 ;;
13312 esac
13316 if test "x$with_cups" != "xno"
13317 then
13318 if ${CUPS_CFLAGS:+false} :; then :
13319 if ${PKG_CONFIG+:} false; then :
13320 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
13323 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
13324 if ${CUPS_LIBS:+false} :; then :
13325 if ${PKG_CONFIG+:} false; then :
13326 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
13329 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
13330 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
13331 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
13332 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
13333 ac_save_CPPFLAGS=$CPPFLAGS
13334 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
13335 for ac_header in cups/cups.h cups/ppd.h
13336 do :
13337 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13338 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13339 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13340 cat >>confdefs.h <<_ACEOF
13341 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13342 _ACEOF
13346 done
13348 if test "$ac_cv_header_cups_cups_h" = "yes"
13349 then
13350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
13351 $as_echo_n "checking for -lcups... " >&6; }
13352 if ${ac_cv_lib_soname_cups+:} false; then :
13353 $as_echo_n "(cached) " >&6
13354 else
13355 ac_check_soname_save_LIBS=$LIBS
13356 LIBS="-lcups $CUPS_LIBS $LIBS"
13357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13358 /* end confdefs.h. */
13360 /* Override any GCC internal prototype to avoid an error.
13361 Use char because int might match the return type of a GCC
13362 builtin and then its argument prototype would still apply. */
13363 #ifdef __cplusplus
13364 extern "C"
13365 #endif
13366 char cupsGetDefault ();
13368 main ()
13370 return cupsGetDefault ();
13372 return 0;
13374 _ACEOF
13375 if ac_fn_c_try_link "$LINENO"; then :
13376 case "$LIBEXT" in
13377 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13378 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'` ;;
13379 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13380 if ${ac_cv_lib_soname_cups:+false} :; then :
13381 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13382 fi ;;
13383 esac
13385 rm -f core conftest.err conftest.$ac_objext \
13386 conftest$ac_exeext conftest.$ac_ext
13387 LIBS=$ac_check_soname_save_LIBS
13389 if ${ac_cv_lib_soname_cups:+false} :; then :
13390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13391 $as_echo "not found" >&6; }
13392 CUPS_LIBS=""
13393 else
13394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
13395 $as_echo "$ac_cv_lib_soname_cups" >&6; }
13397 cat >>confdefs.h <<_ACEOF
13398 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
13399 _ACEOF
13403 else
13404 CUPS_CFLAGS=""
13405 CUPS_LIBS=""
13407 CPPFLAGS=$ac_save_CPPFLAGS
13408 test -z "$CUPS_CFLAGS" || CUPS_CFLAGS=`echo " $CUPS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13409 test -z "$CUPS_LIBS" || CUPS_LIBS=`echo " $CUPS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13412 if test "x$ac_cv_lib_soname_cups" = "x"; then :
13413 case "x$with_cups" in
13414 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
13415 xno) ;;
13416 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
13417 This is an error since --with-cups was requested." "$LINENO" 5 ;;
13418 esac
13422 if test "x$with_fontconfig" != "xno"
13423 then
13424 if ${FONTCONFIG_CFLAGS:+false} :; then :
13425 if ${PKG_CONFIG+:} false; then :
13426 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
13429 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
13430 if ${FONTCONFIG_LIBS:+false} :; then :
13431 if ${PKG_CONFIG+:} false; then :
13432 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
13435 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
13437 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
13438 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
13439 ac_save_CPPFLAGS=$CPPFLAGS
13440 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
13441 for ac_header in fontconfig/fontconfig.h
13442 do :
13443 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
13444 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
13445 cat >>confdefs.h <<_ACEOF
13446 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13447 _ACEOF
13451 done
13453 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13454 then
13455 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13456 $as_echo_n "checking for -lfontconfig... " >&6; }
13457 if ${ac_cv_lib_soname_fontconfig+:} false; then :
13458 $as_echo_n "(cached) " >&6
13459 else
13460 ac_check_soname_save_LIBS=$LIBS
13461 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13462 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13463 /* end confdefs.h. */
13465 /* Override any GCC internal prototype to avoid an error.
13466 Use char because int might match the return type of a GCC
13467 builtin and then its argument prototype would still apply. */
13468 #ifdef __cplusplus
13469 extern "C"
13470 #endif
13471 char FcInit ();
13473 main ()
13475 return FcInit ();
13477 return 0;
13479 _ACEOF
13480 if ac_fn_c_try_link "$LINENO"; then :
13481 case "$LIBEXT" in
13482 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13483 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'` ;;
13484 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13485 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13486 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13487 fi ;;
13488 esac
13490 rm -f core conftest.err conftest.$ac_objext \
13491 conftest$ac_exeext conftest.$ac_ext
13492 LIBS=$ac_check_soname_save_LIBS
13494 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13496 $as_echo "not found" >&6; }
13497 FONTCONFIG_CFLAGS=""
13498 else
13499 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13500 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13502 cat >>confdefs.h <<_ACEOF
13503 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13504 _ACEOF
13508 else
13509 FONTCONFIG_CFLAGS=""
13511 CPPFLAGS=$ac_save_CPPFLAGS
13512 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13513 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13516 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13517 case "x$with_fontconfig" in
13518 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13519 xno) ;;
13520 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13521 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13522 esac
13526 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13527 then
13528 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13529 $as_echo_n "checking for -lgsm... " >&6; }
13530 if ${ac_cv_lib_soname_gsm+:} false; then :
13531 $as_echo_n "(cached) " >&6
13532 else
13533 ac_check_soname_save_LIBS=$LIBS
13534 LIBS="-lgsm $LIBS"
13535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13536 /* end confdefs.h. */
13538 /* Override any GCC internal prototype to avoid an error.
13539 Use char because int might match the return type of a GCC
13540 builtin and then its argument prototype would still apply. */
13541 #ifdef __cplusplus
13542 extern "C"
13543 #endif
13544 char gsm_create ();
13546 main ()
13548 return gsm_create ();
13550 return 0;
13552 _ACEOF
13553 if ac_fn_c_try_link "$LINENO"; then :
13554 case "$LIBEXT" in
13555 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13556 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'` ;;
13557 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13558 if ${ac_cv_lib_soname_gsm:+false} :; then :
13559 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13560 fi ;;
13561 esac
13563 rm -f core conftest.err conftest.$ac_objext \
13564 conftest$ac_exeext conftest.$ac_ext
13565 LIBS=$ac_check_soname_save_LIBS
13567 if ${ac_cv_lib_soname_gsm:+false} :; then :
13568 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13569 $as_echo "not found" >&6; }
13571 else
13572 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13573 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13575 cat >>confdefs.h <<_ACEOF
13576 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13577 _ACEOF
13582 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13583 case "x$with_gsm" in
13584 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13585 xno) ;;
13586 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13587 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13588 esac
13592 if test "x$with_krb5" != "xno"
13593 then
13594 if ${KRB5_CFLAGS:+false} :; then :
13595 if ${PKG_CONFIG+:} false; then :
13596 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
13599 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
13600 if ${KRB5_LIBS:+false} :; then :
13601 if ${PKG_CONFIG+:} false; then :
13602 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
13605 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
13607 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
13608 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
13609 ac_save_CPPFLAGS=$CPPFLAGS
13610 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
13611 for ac_header in krb5/krb5.h
13612 do :
13613 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
13614 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
13615 cat >>confdefs.h <<_ACEOF
13616 #define HAVE_KRB5_KRB5_H 1
13617 _ACEOF
13621 done
13623 if test "$ac_cv_header_krb5_krb5_h" = "yes"
13624 then
13625 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
13626 $as_echo_n "checking for -lkrb5... " >&6; }
13627 if ${ac_cv_lib_soname_krb5+:} false; then :
13628 $as_echo_n "(cached) " >&6
13629 else
13630 ac_check_soname_save_LIBS=$LIBS
13631 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
13632 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13633 /* end confdefs.h. */
13635 /* Override any GCC internal prototype to avoid an error.
13636 Use char because int might match the return type of a GCC
13637 builtin and then its argument prototype would still apply. */
13638 #ifdef __cplusplus
13639 extern "C"
13640 #endif
13641 char krb5_init_context ();
13643 main ()
13645 return krb5_init_context ();
13647 return 0;
13649 _ACEOF
13650 if ac_fn_c_try_link "$LINENO"; then :
13651 case "$LIBEXT" in
13652 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13653 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'` ;;
13654 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13655 if ${ac_cv_lib_soname_krb5:+false} :; then :
13656 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13657 fi ;;
13658 esac
13660 rm -f core conftest.err conftest.$ac_objext \
13661 conftest$ac_exeext conftest.$ac_ext
13662 LIBS=$ac_check_soname_save_LIBS
13664 if ${ac_cv_lib_soname_krb5:+false} :; then :
13665 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13666 $as_echo "not found" >&6; }
13667 KRB5_CFLAGS=""
13668 else
13669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
13670 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
13672 cat >>confdefs.h <<_ACEOF
13673 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
13674 _ACEOF
13678 else
13679 KRB5_CFLAGS=""
13681 CPPFLAGS=$ac_save_CPPFLAGS
13682 test -z "$KRB5_CFLAGS" || KRB5_CFLAGS=`echo " $KRB5_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13683 test -z "$KRB5_LIBS" || KRB5_LIBS=`echo " $KRB5_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13685 else
13686 with_gssapi=${with_gssapi:-no}
13688 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
13689 case "x$with_krb5" in
13690 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found, Kerberos won't be supported." ;;
13691 xno) ;;
13692 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found, Kerberos won't be supported.
13693 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
13694 esac
13698 if test "x$with_gssapi" != "xno"
13699 then
13700 if ${GSSAPI_CFLAGS:+false} :; then :
13701 if ${PKG_CONFIG+:} false; then :
13702 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
13705 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
13706 if ${GSSAPI_LIBS:+false} :; then :
13707 if ${PKG_CONFIG+:} false; then :
13708 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
13711 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
13713 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
13714 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
13715 ac_save_CPPFLAGS=$CPPFLAGS
13716 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
13717 for ac_header in gssapi/gssapi.h gssapi/gssapi_ext.h
13718 do :
13719 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13720 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13721 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13722 cat >>confdefs.h <<_ACEOF
13723 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13724 _ACEOF
13728 done
13730 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
13731 then
13732 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
13733 $as_echo_n "checking for -lgssapi_krb5... " >&6; }
13734 if ${ac_cv_lib_soname_gssapi_krb5+:} false; then :
13735 $as_echo_n "(cached) " >&6
13736 else
13737 ac_check_soname_save_LIBS=$LIBS
13738 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
13739 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13740 /* end confdefs.h. */
13742 /* Override any GCC internal prototype to avoid an error.
13743 Use char because int might match the return type of a GCC
13744 builtin and then its argument prototype would still apply. */
13745 #ifdef __cplusplus
13746 extern "C"
13747 #endif
13748 char gss_init_sec_context ();
13750 main ()
13752 return gss_init_sec_context ();
13754 return 0;
13756 _ACEOF
13757 if ac_fn_c_try_link "$LINENO"; then :
13758 case "$LIBEXT" in
13759 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13760 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'` ;;
13761 *) 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'`
13762 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
13763 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13764 fi ;;
13765 esac
13767 rm -f core conftest.err conftest.$ac_objext \
13768 conftest$ac_exeext conftest.$ac_ext
13769 LIBS=$ac_check_soname_save_LIBS
13771 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
13772 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13773 $as_echo "not found" >&6; }
13774 GSSAPI_CFLAGS=""
13775 else
13776 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
13777 $as_echo "$ac_cv_lib_soname_gssapi_krb5" >&6; }
13779 cat >>confdefs.h <<_ACEOF
13780 #define SONAME_LIBGSSAPI_KRB5 "$ac_cv_lib_soname_gssapi_krb5"
13781 _ACEOF
13785 else
13786 GSSAPI_CFLAGS=""
13788 CPPFLAGS=$ac_save_CPPFLAGS
13789 test -z "$GSSAPI_CFLAGS" || GSSAPI_CFLAGS=`echo " $GSSAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13790 test -z "$GSSAPI_LIBS" || GSSAPI_LIBS=`echo " $GSSAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13793 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"; then :
13794 case "x$with_gssapi" in
13795 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
13796 xno) ;;
13797 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
13798 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
13799 esac
13803 if test "x$with_jpeg" != "xno"
13804 then
13805 if ${JPEG_CFLAGS:+false} :; then :
13806 if ${PKG_CONFIG+:} false; then :
13807 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13811 if ${JPEG_LIBS:+false} :; then :
13812 if ${PKG_CONFIG+:} false; then :
13813 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13818 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13819 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13820 ac_save_CPPFLAGS=$CPPFLAGS
13821 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
13822 for ac_header in jpeglib.h
13823 do :
13824 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13825 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
13826 cat >>confdefs.h <<_ACEOF
13827 #define HAVE_JPEGLIB_H 1
13828 _ACEOF
13832 done
13834 if test "$ac_cv_header_jpeglib_h" = "yes"
13835 then
13836 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13837 $as_echo_n "checking for -ljpeg... " >&6; }
13838 if ${ac_cv_lib_soname_jpeg+:} false; then :
13839 $as_echo_n "(cached) " >&6
13840 else
13841 ac_check_soname_save_LIBS=$LIBS
13842 LIBS="-ljpeg $JPEG_LIBS $LIBS"
13843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13844 /* end confdefs.h. */
13846 /* Override any GCC internal prototype to avoid an error.
13847 Use char because int might match the return type of a GCC
13848 builtin and then its argument prototype would still apply. */
13849 #ifdef __cplusplus
13850 extern "C"
13851 #endif
13852 char jpeg_start_decompress ();
13854 main ()
13856 return jpeg_start_decompress ();
13858 return 0;
13860 _ACEOF
13861 if ac_fn_c_try_link "$LINENO"; then :
13862 case "$LIBEXT" in
13863 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13864 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'` ;;
13865 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13866 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13867 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13868 fi ;;
13869 esac
13871 rm -f core conftest.err conftest.$ac_objext \
13872 conftest$ac_exeext conftest.$ac_ext
13873 LIBS=$ac_check_soname_save_LIBS
13875 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13877 $as_echo "not found" >&6; }
13878 JPEG_CFLAGS=""
13879 else
13880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13881 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13883 cat >>confdefs.h <<_ACEOF
13884 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13885 _ACEOF
13889 else
13890 JPEG_CFLAGS=""
13892 CPPFLAGS=$ac_save_CPPFLAGS
13893 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13894 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13897 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13898 case "x$with_jpeg" in
13899 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13900 xno) ;;
13901 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13902 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13903 esac
13907 if test "x$with_png" != "xno"
13908 then
13909 if ${PNG_CFLAGS:+false} :; then :
13910 if ${PKG_CONFIG+:} false; then :
13911 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13914 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
13915 if ${PNG_LIBS:+false} :; then :
13916 if ${PKG_CONFIG+:} false; then :
13917 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
13920 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
13922 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13923 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13924 ac_save_CPPFLAGS=$CPPFLAGS
13925 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
13926 for ac_header in png.h
13927 do :
13928 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13929 if test "x$ac_cv_header_png_h" = xyes; then :
13930 cat >>confdefs.h <<_ACEOF
13931 #define HAVE_PNG_H 1
13932 _ACEOF
13936 done
13938 if test "$ac_cv_header_png_h" = "yes"
13939 then
13940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13941 $as_echo_n "checking for -lpng... " >&6; }
13942 if ${ac_cv_lib_soname_png+:} false; then :
13943 $as_echo_n "(cached) " >&6
13944 else
13945 ac_check_soname_save_LIBS=$LIBS
13946 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
13947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13948 /* end confdefs.h. */
13950 /* Override any GCC internal prototype to avoid an error.
13951 Use char because int might match the return type of a GCC
13952 builtin and then its argument prototype would still apply. */
13953 #ifdef __cplusplus
13954 extern "C"
13955 #endif
13956 char png_create_read_struct ();
13958 main ()
13960 return png_create_read_struct ();
13962 return 0;
13964 _ACEOF
13965 if ac_fn_c_try_link "$LINENO"; then :
13966 case "$LIBEXT" in
13967 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13968 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'` ;;
13969 *) 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'`
13970 if ${ac_cv_lib_soname_png:+false} :; then :
13971 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13972 fi ;;
13973 esac
13975 rm -f core conftest.err conftest.$ac_objext \
13976 conftest$ac_exeext conftest.$ac_ext
13977 LIBS=$ac_check_soname_save_LIBS
13979 if ${ac_cv_lib_soname_png:+false} :; then :
13980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13981 $as_echo "not found" >&6; }
13982 PNG_CFLAGS=""
13983 else
13984 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13985 $as_echo "$ac_cv_lib_soname_png" >&6; }
13987 cat >>confdefs.h <<_ACEOF
13988 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13989 _ACEOF
13993 else
13994 PNG_CFLAGS=""
13996 CPPFLAGS=$ac_save_CPPFLAGS
13997 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13998 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14001 if test "x$ac_cv_lib_soname_png" = "x"; then :
14002 case "x$with_png" in
14003 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
14004 xno) ;;
14005 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
14006 This is an error since --with-png was requested." "$LINENO" 5 ;;
14007 esac
14011 if test "x$with_tiff" != "xno"
14012 then
14013 if ${TIFF_CFLAGS:+false} :; then :
14014 if ${PKG_CONFIG+:} false; then :
14015 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
14019 if ${TIFF_LIBS:+false} :; then :
14020 if ${PKG_CONFIG+:} false; then :
14021 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
14026 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
14027 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
14028 ac_save_CPPFLAGS=$CPPFLAGS
14029 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
14030 for ac_header in tiffio.h
14031 do :
14032 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
14033 if test "x$ac_cv_header_tiffio_h" = xyes; then :
14034 cat >>confdefs.h <<_ACEOF
14035 #define HAVE_TIFFIO_H 1
14036 _ACEOF
14040 done
14042 if test "$ac_cv_header_tiffio_h" = "yes"
14043 then
14044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
14045 $as_echo_n "checking for -ltiff... " >&6; }
14046 if ${ac_cv_lib_soname_tiff+:} false; then :
14047 $as_echo_n "(cached) " >&6
14048 else
14049 ac_check_soname_save_LIBS=$LIBS
14050 LIBS="-ltiff $TIFF_LIBS $LIBS"
14051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14052 /* end confdefs.h. */
14054 /* Override any GCC internal prototype to avoid an error.
14055 Use char because int might match the return type of a GCC
14056 builtin and then its argument prototype would still apply. */
14057 #ifdef __cplusplus
14058 extern "C"
14059 #endif
14060 char TIFFClientOpen ();
14062 main ()
14064 return TIFFClientOpen ();
14066 return 0;
14068 _ACEOF
14069 if ac_fn_c_try_link "$LINENO"; then :
14070 case "$LIBEXT" in
14071 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14072 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'` ;;
14073 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14074 if ${ac_cv_lib_soname_tiff:+false} :; then :
14075 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14076 fi ;;
14077 esac
14079 rm -f core conftest.err conftest.$ac_objext \
14080 conftest$ac_exeext conftest.$ac_ext
14081 LIBS=$ac_check_soname_save_LIBS
14083 if ${ac_cv_lib_soname_tiff:+false} :; then :
14084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14085 $as_echo "not found" >&6; }
14087 else
14088 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
14089 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
14091 cat >>confdefs.h <<_ACEOF
14092 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
14093 _ACEOF
14098 CPPFLAGS=$ac_save_CPPFLAGS
14099 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14100 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14103 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
14104 case "x$with_tiff" in
14105 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
14106 xno) ;;
14107 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
14108 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
14109 esac
14113 if test "x$with_mpg123" != "xno"
14114 then
14115 if ${MPG123_CFLAGS:+false} :; then :
14116 if ${PKG_CONFIG+:} false; then :
14117 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
14121 if ${MPG123_LIBS:+false} :; then :
14122 if ${PKG_CONFIG+:} false; then :
14123 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
14127 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
14128 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
14129 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
14130 ac_save_CPPFLAGS=$CPPFLAGS
14131 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
14132 for ac_header in mpg123.h
14133 do :
14134 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
14135 if test "x$ac_cv_header_mpg123_h" = xyes; then :
14136 cat >>confdefs.h <<_ACEOF
14137 #define HAVE_MPG123_H 1
14138 _ACEOF
14142 done
14144 if test "$ac_cv_header_mpg123_h" = "yes"
14145 then
14146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
14147 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
14148 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
14149 $as_echo_n "(cached) " >&6
14150 else
14151 ac_check_lib_save_LIBS=$LIBS
14152 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
14153 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14154 /* end confdefs.h. */
14156 /* Override any GCC internal prototype to avoid an error.
14157 Use char because int might match the return type of a GCC
14158 builtin and then its argument prototype would still apply. */
14159 #ifdef __cplusplus
14160 extern "C"
14161 #endif
14162 char mpg123_feed ();
14164 main ()
14166 return mpg123_feed ();
14168 return 0;
14170 _ACEOF
14171 if ac_fn_c_try_link "$LINENO"; then :
14172 ac_cv_lib_mpg123_mpg123_feed=yes
14173 else
14174 ac_cv_lib_mpg123_mpg123_feed=no
14176 rm -f core conftest.err conftest.$ac_objext \
14177 conftest$ac_exeext conftest.$ac_ext
14178 LIBS=$ac_check_lib_save_LIBS
14180 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
14181 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
14182 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
14184 else
14185 MPG123_LIBS=""
14188 else
14189 MPG123_CFLAGS=""
14190 MPG123_LIBS=""
14192 CPPFLAGS=$ac_save_CPPFLAGS
14193 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14194 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14197 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
14198 case "x$with_mpg123" in
14199 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
14200 xno) ;;
14201 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
14202 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
14203 esac
14204 enable_l3codeca_acm=${enable_l3codeca_acm:-no}
14207 if test "$ac_cv_header_AL_al_h" = "yes"
14208 then
14209 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
14210 $as_echo_n "checking for -lopenal... " >&6; }
14211 if ${ac_cv_lib_soname_openal+:} false; then :
14212 $as_echo_n "(cached) " >&6
14213 else
14214 ac_check_soname_save_LIBS=$LIBS
14215 LIBS="-lopenal $LIBS"
14216 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14217 /* end confdefs.h. */
14219 /* Override any GCC internal prototype to avoid an error.
14220 Use char because int might match the return type of a GCC
14221 builtin and then its argument prototype would still apply. */
14222 #ifdef __cplusplus
14223 extern "C"
14224 #endif
14225 char alGetSource3i ();
14227 main ()
14229 return alGetSource3i ();
14231 return 0;
14233 _ACEOF
14234 if ac_fn_c_try_link "$LINENO"; then :
14235 case "$LIBEXT" in
14236 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14237 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'` ;;
14238 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14239 if ${ac_cv_lib_soname_openal:+false} :; then :
14240 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14241 fi ;;
14242 esac
14244 rm -f core conftest.err conftest.$ac_objext \
14245 conftest$ac_exeext conftest.$ac_ext
14246 LIBS=$ac_check_soname_save_LIBS
14248 if ${ac_cv_lib_soname_openal:+false} :; then :
14249 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14250 $as_echo "not found" >&6; }
14252 else
14253 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
14254 $as_echo "$ac_cv_lib_soname_openal" >&6; }
14256 cat >>confdefs.h <<_ACEOF
14257 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
14258 _ACEOF
14260 OPENAL_LIBS="-lopenal"
14262 ac_cv_lib_openal=yes
14264 cat >>confdefs.h <<_ACEOF
14265 #define HAVE_OPENAL 1
14266 _ACEOF
14270 if test "x$ac_cv_lib_openal" != xyes; then :
14271 case "x$with_openal" in
14272 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
14273 xno) ;;
14274 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
14275 This is an error since --with-openal was requested." "$LINENO" 5 ;;
14276 esac
14277 enable_openal32=${enable_openal32:-no}
14280 if test "x$ac_cv_lib_openal" = xyes
14281 then
14282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
14283 $as_echo_n "checking for openal-soft... " >&6; }
14284 if ${ac_cv_have_openalsoft+:} false; then :
14285 $as_echo_n "(cached) " >&6
14286 else
14287 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14288 /* end confdefs.h. */
14289 #include <AL/al.h>
14290 #include <AL/alc.h>
14291 #include <AL/alext.h>
14292 LPALCRENDERSAMPLESSOFT x;
14294 main ()
14298 return 0;
14300 _ACEOF
14301 if ac_fn_c_try_compile "$LINENO"; then :
14302 ac_cv_have_openalsoft=yes
14303 else
14304 ac_cv_have_openalsoft=no
14306 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
14309 $as_echo "$ac_cv_have_openalsoft" >&6; }
14311 if test "x$ac_cv_have_openalsoft" != xyes
14312 then
14313 as_fn_append wine_notices "|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported."
14314 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
14315 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
14316 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
14317 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
14318 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
14319 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
14320 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
14321 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
14322 enable_xapofx1_1=${enable_xapofx1_1:-no}
14323 enable_xapofx1_2=${enable_xapofx1_2:-no}
14324 enable_xapofx1_3=${enable_xapofx1_3:-no}
14325 enable_xapofx1_4=${enable_xapofx1_4:-no}
14326 enable_xapofx1_5=${enable_xapofx1_5:-no}
14327 enable_xaudio2_0=${enable_xaudio2_0:-no}
14328 enable_xaudio2_1=${enable_xaudio2_1:-no}
14329 enable_xaudio2_2=${enable_xaudio2_2:-no}
14330 enable_xaudio2_3=${enable_xaudio2_3:-no}
14331 enable_xaudio2_4=${enable_xaudio2_4:-no}
14332 enable_xaudio2_5=${enable_xaudio2_5:-no}
14333 enable_xaudio2_6=${enable_xaudio2_6:-no}
14334 enable_xaudio2_7=${enable_xaudio2_7:-no}
14335 enable_xaudio2_8=${enable_xaudio2_8:-no}
14336 enable_xaudio2_9=${enable_xaudio2_9:-no}
14339 if test "$ac_cv_header_kstat_h" = "yes"
14340 then
14341 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
14342 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
14343 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
14344 $as_echo_n "(cached) " >&6
14345 else
14346 ac_check_lib_save_LIBS=$LIBS
14347 LIBS="-lkstat $LIBS"
14348 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14349 /* end confdefs.h. */
14351 /* Override any GCC internal prototype to avoid an error.
14352 Use char because int might match the return type of a GCC
14353 builtin and then its argument prototype would still apply. */
14354 #ifdef __cplusplus
14355 extern "C"
14356 #endif
14357 char kstat_open ();
14359 main ()
14361 return kstat_open ();
14363 return 0;
14365 _ACEOF
14366 if ac_fn_c_try_link "$LINENO"; then :
14367 ac_cv_lib_kstat_kstat_open=yes
14368 else
14369 ac_cv_lib_kstat_kstat_open=no
14371 rm -f core conftest.err conftest.$ac_objext \
14372 conftest$ac_exeext conftest.$ac_ext
14373 LIBS=$ac_check_lib_save_LIBS
14375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
14376 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
14377 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
14379 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
14381 KSTAT_LIBS="-lkstat"
14387 if test "$ac_cv_header_libprocstat_h" = "yes"
14388 then
14389 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
14390 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
14391 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
14392 $as_echo_n "(cached) " >&6
14393 else
14394 ac_check_lib_save_LIBS=$LIBS
14395 LIBS="-lprocstat $LIBS"
14396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14397 /* end confdefs.h. */
14399 /* Override any GCC internal prototype to avoid an error.
14400 Use char because int might match the return type of a GCC
14401 builtin and then its argument prototype would still apply. */
14402 #ifdef __cplusplus
14403 extern "C"
14404 #endif
14405 char procstat_open_sysctl ();
14407 main ()
14409 return procstat_open_sysctl ();
14411 return 0;
14413 _ACEOF
14414 if ac_fn_c_try_link "$LINENO"; then :
14415 ac_cv_lib_procstat_procstat_open_sysctl=yes
14416 else
14417 ac_cv_lib_procstat_procstat_open_sysctl=no
14419 rm -f core conftest.err conftest.$ac_objext \
14420 conftest$ac_exeext conftest.$ac_ext
14421 LIBS=$ac_check_lib_save_LIBS
14423 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
14424 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
14425 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
14427 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
14429 PROCSTAT_LIBS="-lprocstat"
14435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
14436 $as_echo_n "checking for -lodbc... " >&6; }
14437 if ${ac_cv_lib_soname_odbc+:} false; then :
14438 $as_echo_n "(cached) " >&6
14439 else
14440 ac_check_soname_save_LIBS=$LIBS
14441 LIBS="-lodbc $LIBS"
14442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14443 /* end confdefs.h. */
14445 /* Override any GCC internal prototype to avoid an error.
14446 Use char because int might match the return type of a GCC
14447 builtin and then its argument prototype would still apply. */
14448 #ifdef __cplusplus
14449 extern "C"
14450 #endif
14451 char SQLConnect ();
14453 main ()
14455 return SQLConnect ();
14457 return 0;
14459 _ACEOF
14460 if ac_fn_c_try_link "$LINENO"; then :
14461 case "$LIBEXT" in
14462 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14463 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'` ;;
14464 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14465 if ${ac_cv_lib_soname_odbc:+false} :; then :
14466 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14467 fi ;;
14468 esac
14470 rm -f core conftest.err conftest.$ac_objext \
14471 conftest$ac_exeext conftest.$ac_ext
14472 LIBS=$ac_check_soname_save_LIBS
14474 if ${ac_cv_lib_soname_odbc:+false} :; then :
14475 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14476 $as_echo "not found" >&6; }
14477 cat >>confdefs.h <<_ACEOF
14478 #define SONAME_LIBODBC "libodbc.$LIBEXT"
14479 _ACEOF
14481 else
14482 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
14483 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
14485 cat >>confdefs.h <<_ACEOF
14486 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
14487 _ACEOF
14492 if test "x$with_netapi" != "xno"
14493 then
14494 if ${NETAPI_CFLAGS:+false} :; then :
14495 if ${PKG_CONFIG+:} false; then :
14496 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
14500 if ${NETAPI_LIBS:+false} :; then :
14501 if ${PKG_CONFIG+:} false; then :
14502 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
14507 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
14508 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
14509 ac_save_CPPFLAGS=$CPPFLAGS
14510 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
14511 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
14512 $as_echo_n "checking for -lnetapi... " >&6; }
14513 if ${ac_cv_lib_soname_netapi+:} false; then :
14514 $as_echo_n "(cached) " >&6
14515 else
14516 ac_check_soname_save_LIBS=$LIBS
14517 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
14518 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14519 /* end confdefs.h. */
14521 /* Override any GCC internal prototype to avoid an error.
14522 Use char because int might match the return type of a GCC
14523 builtin and then its argument prototype would still apply. */
14524 #ifdef __cplusplus
14525 extern "C"
14526 #endif
14527 char libnetapi_init ();
14529 main ()
14531 return libnetapi_init ();
14533 return 0;
14535 _ACEOF
14536 if ac_fn_c_try_link "$LINENO"; then :
14537 case "$LIBEXT" in
14538 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14539 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'` ;;
14540 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14541 if ${ac_cv_lib_soname_netapi:+false} :; then :
14542 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14543 fi ;;
14544 esac
14546 rm -f core conftest.err conftest.$ac_objext \
14547 conftest$ac_exeext conftest.$ac_ext
14548 LIBS=$ac_check_soname_save_LIBS
14550 if ${ac_cv_lib_soname_netapi:+false} :; then :
14551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14552 $as_echo "not found" >&6; }
14553 cat >>confdefs.h <<_ACEOF
14554 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
14555 _ACEOF
14557 else
14558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
14559 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
14561 cat >>confdefs.h <<_ACEOF
14562 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
14563 _ACEOF
14567 CPPFLAGS=$ac_save_CPPFLAGS
14568 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14569 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14573 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
14574 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
14575 then
14576 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
14579 if test "x$with_vulkan" != "xno"
14580 then
14581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
14582 $as_echo_n "checking for -lvulkan... " >&6; }
14583 if ${ac_cv_lib_soname_vulkan+:} false; then :
14584 $as_echo_n "(cached) " >&6
14585 else
14586 ac_check_soname_save_LIBS=$LIBS
14587 LIBS="-lvulkan $LIBS"
14588 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14589 /* end confdefs.h. */
14591 /* Override any GCC internal prototype to avoid an error.
14592 Use char because int might match the return type of a GCC
14593 builtin and then its argument prototype would still apply. */
14594 #ifdef __cplusplus
14595 extern "C"
14596 #endif
14597 char vkGetInstanceProcAddr ();
14599 main ()
14601 return vkGetInstanceProcAddr ();
14603 return 0;
14605 _ACEOF
14606 if ac_fn_c_try_link "$LINENO"; then :
14607 case "$LIBEXT" in
14608 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14609 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'` ;;
14610 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14611 if ${ac_cv_lib_soname_vulkan:+false} :; then :
14612 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14613 fi ;;
14614 esac
14616 rm -f core conftest.err conftest.$ac_objext \
14617 conftest$ac_exeext conftest.$ac_ext
14618 LIBS=$ac_check_soname_save_LIBS
14620 if ${ac_cv_lib_soname_vulkan:+false} :; then :
14621 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14622 $as_echo "not found" >&6; }
14624 else
14625 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
14626 $as_echo "$ac_cv_lib_soname_vulkan" >&6; }
14628 cat >>confdefs.h <<_ACEOF
14629 #define SONAME_LIBVULKAN "$ac_cv_lib_soname_vulkan"
14630 _ACEOF
14635 if test "x$ac_cv_lib_soname_vulkan" = "x"; then :
14636 case "x$with_vulkan" in
14637 x) as_fn_append wine_notices "|libvulkan ${notice_platform}development files not found, Vulkan won't be supported." ;;
14638 xno) ;;
14639 *) as_fn_error $? "libvulkan ${notice_platform}development files not found, Vulkan won't be supported.
14640 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
14641 esac
14646 EXTRACFLAGS=""
14648 if test "x${GCC}" = "xyes"
14649 then
14650 EXTRACFLAGS="-Wall -pipe"
14652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
14653 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
14654 if ${ac_cv_c_gcc_strength_bug+:} false; then :
14655 $as_echo_n "(cached) " >&6
14656 else
14657 if test "$cross_compiling" = yes; then :
14658 ac_cv_c_gcc_strength_bug="no"
14659 else
14660 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14661 /* end confdefs.h. */
14662 int L[4] = {0,1,2,3};
14664 main ()
14666 static int Array[3];
14667 unsigned int B = 3;
14668 int i;
14669 for(i=0; i<B; i++) Array[i] = i - 3;
14670 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14671 L[i] = 4;
14672 return (Array[1] != -2 || L[2] != 3)
14674 return 0;
14676 _ACEOF
14677 if ac_fn_c_try_run "$LINENO"; then :
14678 ac_cv_c_gcc_strength_bug="no"
14679 else
14680 ac_cv_c_gcc_strength_bug="yes"
14682 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14683 conftest.$ac_objext conftest.beam conftest.$ac_ext
14687 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
14688 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
14689 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14690 then
14691 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
14694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
14695 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
14696 if ${ac_cv_cflags__fno_builtin+:} false; then :
14697 $as_echo_n "(cached) " >&6
14698 else
14699 ac_wine_try_cflags_saved=$CFLAGS
14700 CFLAGS="$CFLAGS -fno-builtin"
14701 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14702 /* end confdefs.h. */
14703 int main(int argc, char **argv) { return 0; }
14704 _ACEOF
14705 if ac_fn_c_try_link "$LINENO"; then :
14706 ac_cv_cflags__fno_builtin=yes
14707 else
14708 ac_cv_cflags__fno_builtin=no
14710 rm -f core conftest.err conftest.$ac_objext \
14711 conftest$ac_exeext conftest.$ac_ext
14712 CFLAGS=$ac_wine_try_cflags_saved
14714 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
14715 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
14716 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
14717 BUILTINFLAG="-fno-builtin"
14720 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
14721 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
14722 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
14723 $as_echo_n "(cached) " >&6
14724 else
14725 ac_wine_try_cflags_saved=$CFLAGS
14726 CFLAGS="$CFLAGS -fno-strict-aliasing"
14727 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14728 /* end confdefs.h. */
14729 int main(int argc, char **argv) { return 0; }
14730 _ACEOF
14731 if ac_fn_c_try_link "$LINENO"; then :
14732 ac_cv_cflags__fno_strict_aliasing=yes
14733 else
14734 ac_cv_cflags__fno_strict_aliasing=no
14736 rm -f core conftest.err conftest.$ac_objext \
14737 conftest$ac_exeext conftest.$ac_ext
14738 CFLAGS=$ac_wine_try_cflags_saved
14740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14741 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
14742 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
14743 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
14745 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
14746 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
14747 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
14748 $as_echo_n "(cached) " >&6
14749 else
14750 ac_wine_try_cflags_saved=$CFLAGS
14751 CFLAGS="$CFLAGS -fexcess-precision=standard"
14752 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14753 /* end confdefs.h. */
14754 int main(int argc, char **argv) { return 0; }
14755 _ACEOF
14756 if ac_fn_c_try_link "$LINENO"; then :
14757 ac_cv_cflags__fexcess_precision_standard=yes
14758 else
14759 ac_cv_cflags__fexcess_precision_standard=no
14761 rm -f core conftest.err conftest.$ac_objext \
14762 conftest$ac_exeext conftest.$ac_ext
14763 CFLAGS=$ac_wine_try_cflags_saved
14765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
14766 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
14767 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
14768 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
14771 saved_CFLAGS=$CFLAGS
14772 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
14773 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
14774 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
14775 $as_echo_n "(cached) " >&6
14776 else
14777 ac_wine_try_cflags_saved=$CFLAGS
14778 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14779 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14780 /* end confdefs.h. */
14781 int main(int argc, char **argv) { return 0; }
14782 _ACEOF
14783 if ac_fn_c_try_link "$LINENO"; then :
14784 ac_cv_cflags__Werror_unknown_warning_option=yes
14785 else
14786 ac_cv_cflags__Werror_unknown_warning_option=no
14788 rm -f core conftest.err conftest.$ac_objext \
14789 conftest$ac_exeext conftest.$ac_ext
14790 CFLAGS=$ac_wine_try_cflags_saved
14792 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14793 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14794 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
14795 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14797 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14798 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14799 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
14800 $as_echo_n "(cached) " >&6
14801 else
14802 ac_wine_try_cflags_saved=$CFLAGS
14803 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
14804 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14805 /* end confdefs.h. */
14806 int main(int argc, char **argv) { return 0; }
14807 _ACEOF
14808 if ac_fn_c_try_link "$LINENO"; then :
14809 ac_cv_cflags__Wdeclaration_after_statement=yes
14810 else
14811 ac_cv_cflags__Wdeclaration_after_statement=no
14813 rm -f core conftest.err conftest.$ac_objext \
14814 conftest$ac_exeext conftest.$ac_ext
14815 CFLAGS=$ac_wine_try_cflags_saved
14817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14818 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14819 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
14820 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
14822 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14823 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14824 if ${ac_cv_cflags__Wempty_body+:} false; then :
14825 $as_echo_n "(cached) " >&6
14826 else
14827 ac_wine_try_cflags_saved=$CFLAGS
14828 CFLAGS="$CFLAGS -Wempty-body"
14829 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14830 /* end confdefs.h. */
14831 int main(int argc, char **argv) { return 0; }
14832 _ACEOF
14833 if ac_fn_c_try_link "$LINENO"; then :
14834 ac_cv_cflags__Wempty_body=yes
14835 else
14836 ac_cv_cflags__Wempty_body=no
14838 rm -f core conftest.err conftest.$ac_objext \
14839 conftest$ac_exeext conftest.$ac_ext
14840 CFLAGS=$ac_wine_try_cflags_saved
14842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14843 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14844 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
14845 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
14847 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14848 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14849 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
14850 $as_echo_n "(cached) " >&6
14851 else
14852 ac_wine_try_cflags_saved=$CFLAGS
14853 CFLAGS="$CFLAGS -Wignored-qualifiers"
14854 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14855 /* end confdefs.h. */
14856 int main(int argc, char **argv) { return 0; }
14857 _ACEOF
14858 if ac_fn_c_try_link "$LINENO"; then :
14859 ac_cv_cflags__Wignored_qualifiers=yes
14860 else
14861 ac_cv_cflags__Wignored_qualifiers=no
14863 rm -f core conftest.err conftest.$ac_objext \
14864 conftest$ac_exeext conftest.$ac_ext
14865 CFLAGS=$ac_wine_try_cflags_saved
14867 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14868 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14869 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
14870 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
14872 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
14873 $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
14874 if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
14875 $as_echo_n "(cached) " >&6
14876 else
14877 ac_wine_try_cflags_saved=$CFLAGS
14878 CFLAGS="$CFLAGS -Wpacked-not-aligned"
14879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14880 /* end confdefs.h. */
14881 int main(int argc, char **argv) { return 0; }
14882 _ACEOF
14883 if ac_fn_c_try_link "$LINENO"; then :
14884 ac_cv_cflags__Wpacked_not_aligned=yes
14885 else
14886 ac_cv_cflags__Wpacked_not_aligned=no
14888 rm -f core conftest.err conftest.$ac_objext \
14889 conftest$ac_exeext conftest.$ac_ext
14890 CFLAGS=$ac_wine_try_cflags_saved
14892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
14893 $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
14894 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
14895 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
14897 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
14898 $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
14899 if ${ac_cv_cflags__Wpragma_pack+:} false; then :
14900 $as_echo_n "(cached) " >&6
14901 else
14902 ac_wine_try_cflags_saved=$CFLAGS
14903 CFLAGS="$CFLAGS -Wpragma-pack"
14904 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14905 /* end confdefs.h. */
14906 int main(int argc, char **argv) { return 0; }
14907 _ACEOF
14908 if ac_fn_c_try_link "$LINENO"; then :
14909 ac_cv_cflags__Wpragma_pack=yes
14910 else
14911 ac_cv_cflags__Wpragma_pack=no
14913 rm -f core conftest.err conftest.$ac_objext \
14914 conftest$ac_exeext conftest.$ac_ext
14915 CFLAGS=$ac_wine_try_cflags_saved
14917 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
14918 $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
14919 if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
14920 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
14922 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
14923 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
14924 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
14925 $as_echo_n "(cached) " >&6
14926 else
14927 ac_wine_try_cflags_saved=$CFLAGS
14928 CFLAGS="$CFLAGS -Wshift-overflow=2"
14929 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14930 /* end confdefs.h. */
14931 int main(int argc, char **argv) { return 0; }
14932 _ACEOF
14933 if ac_fn_c_try_link "$LINENO"; then :
14934 ac_cv_cflags__Wshift_overflow_2=yes
14935 else
14936 ac_cv_cflags__Wshift_overflow_2=no
14938 rm -f core conftest.err conftest.$ac_objext \
14939 conftest$ac_exeext conftest.$ac_ext
14940 CFLAGS=$ac_wine_try_cflags_saved
14942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
14943 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
14944 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
14945 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
14947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
14948 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
14949 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
14950 $as_echo_n "(cached) " >&6
14951 else
14952 ac_wine_try_cflags_saved=$CFLAGS
14953 CFLAGS="$CFLAGS -Wstrict-prototypes"
14954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14955 /* end confdefs.h. */
14956 int main(int argc, char **argv) { return 0; }
14957 _ACEOF
14958 if ac_fn_c_try_link "$LINENO"; then :
14959 ac_cv_cflags__Wstrict_prototypes=yes
14960 else
14961 ac_cv_cflags__Wstrict_prototypes=no
14963 rm -f core conftest.err conftest.$ac_objext \
14964 conftest$ac_exeext conftest.$ac_ext
14965 CFLAGS=$ac_wine_try_cflags_saved
14967 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
14968 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
14969 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
14970 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
14972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
14973 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
14974 if ${ac_cv_cflags__Wtype_limits+:} false; then :
14975 $as_echo_n "(cached) " >&6
14976 else
14977 ac_wine_try_cflags_saved=$CFLAGS
14978 CFLAGS="$CFLAGS -Wtype-limits"
14979 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14980 /* end confdefs.h. */
14981 int main(int argc, char **argv) { return 0; }
14982 _ACEOF
14983 if ac_fn_c_try_link "$LINENO"; then :
14984 ac_cv_cflags__Wtype_limits=yes
14985 else
14986 ac_cv_cflags__Wtype_limits=no
14988 rm -f core conftest.err conftest.$ac_objext \
14989 conftest$ac_exeext conftest.$ac_ext
14990 CFLAGS=$ac_wine_try_cflags_saved
14992 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
14993 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
14994 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
14995 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
14997 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
14998 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
14999 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
15000 $as_echo_n "(cached) " >&6
15001 else
15002 ac_wine_try_cflags_saved=$CFLAGS
15003 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
15004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15005 /* end confdefs.h. */
15006 int main(int argc, char **argv) { return 0; }
15007 _ACEOF
15008 if ac_fn_c_try_link "$LINENO"; then :
15009 ac_cv_cflags__Wunused_but_set_parameter=yes
15010 else
15011 ac_cv_cflags__Wunused_but_set_parameter=no
15013 rm -f core conftest.err conftest.$ac_objext \
15014 conftest$ac_exeext conftest.$ac_ext
15015 CFLAGS=$ac_wine_try_cflags_saved
15017 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
15018 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
15019 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
15020 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
15022 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
15023 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
15024 if ${ac_cv_cflags__Wvla+:} false; then :
15025 $as_echo_n "(cached) " >&6
15026 else
15027 ac_wine_try_cflags_saved=$CFLAGS
15028 CFLAGS="$CFLAGS -Wvla"
15029 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15030 /* end confdefs.h. */
15031 int main(int argc, char **argv) { return 0; }
15032 _ACEOF
15033 if ac_fn_c_try_link "$LINENO"; then :
15034 ac_cv_cflags__Wvla=yes
15035 else
15036 ac_cv_cflags__Wvla=no
15038 rm -f core conftest.err conftest.$ac_objext \
15039 conftest$ac_exeext conftest.$ac_ext
15040 CFLAGS=$ac_wine_try_cflags_saved
15042 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
15043 $as_echo "$ac_cv_cflags__Wvla" >&6; }
15044 if test "x$ac_cv_cflags__Wvla" = xyes; then :
15045 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
15047 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
15048 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
15049 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
15050 $as_echo_n "(cached) " >&6
15051 else
15052 ac_wine_try_cflags_saved=$CFLAGS
15053 CFLAGS="$CFLAGS -Wwrite-strings"
15054 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15055 /* end confdefs.h. */
15056 int main(int argc, char **argv) { return 0; }
15057 _ACEOF
15058 if ac_fn_c_try_link "$LINENO"; then :
15059 ac_cv_cflags__Wwrite_strings=yes
15060 else
15061 ac_cv_cflags__Wwrite_strings=no
15063 rm -f core conftest.err conftest.$ac_objext \
15064 conftest$ac_exeext conftest.$ac_ext
15065 CFLAGS=$ac_wine_try_cflags_saved
15067 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
15068 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
15069 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
15070 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
15073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
15074 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
15075 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
15076 $as_echo_n "(cached) " >&6
15077 else
15078 ac_wine_try_cflags_saved=$CFLAGS
15079 CFLAGS="$CFLAGS -Wpointer-arith"
15080 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15081 /* end confdefs.h. */
15082 int main(int argc, char **argv) { return 0; }
15083 _ACEOF
15084 if ac_fn_c_try_link "$LINENO"; then :
15085 ac_cv_cflags__Wpointer_arith=yes
15086 else
15087 ac_cv_cflags__Wpointer_arith=no
15089 rm -f core conftest.err conftest.$ac_objext \
15090 conftest$ac_exeext conftest.$ac_ext
15091 CFLAGS=$ac_wine_try_cflags_saved
15093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
15094 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
15095 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
15096 saved_string_h_CFLAGS=$CFLAGS
15097 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
15098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
15099 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
15100 if ${ac_cv_c_string_h_warnings+:} false; then :
15101 $as_echo_n "(cached) " >&6
15102 else
15103 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15104 /* end confdefs.h. */
15105 #include <string.h>
15107 main ()
15111 return 0;
15113 _ACEOF
15114 if ac_fn_c_try_compile "$LINENO"; then :
15115 ac_cv_c_string_h_warnings=no
15116 else
15117 ac_cv_c_string_h_warnings=yes
15119 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
15122 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
15123 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
15124 CFLAGS=$saved_string_h_CFLAGS
15127 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
15128 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
15129 if ${ac_cv_cflags__Wlogical_op+:} false; then :
15130 $as_echo_n "(cached) " >&6
15131 else
15132 ac_wine_try_cflags_saved=$CFLAGS
15133 CFLAGS="$CFLAGS -Wlogical-op"
15134 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15135 /* end confdefs.h. */
15136 int main(int argc, char **argv) { return 0; }
15137 _ACEOF
15138 if ac_fn_c_try_link "$LINENO"; then :
15139 ac_cv_cflags__Wlogical_op=yes
15140 else
15141 ac_cv_cflags__Wlogical_op=no
15143 rm -f core conftest.err conftest.$ac_objext \
15144 conftest$ac_exeext conftest.$ac_ext
15145 CFLAGS=$ac_wine_try_cflags_saved
15147 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
15148 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
15149 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
15150 saved_string_h_CFLAGS=$CFLAGS
15151 CFLAGS="$CFLAGS -Wlogical-op -Werror"
15152 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
15153 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
15154 if ${ac_cv_c_logicalop_noisy+:} false; then :
15155 $as_echo_n "(cached) " >&6
15156 else
15157 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15158 /* end confdefs.h. */
15159 #include <string.h>
15160 char*f(const char *h,char n) {return strchr(h,n);}
15162 main ()
15166 return 0;
15168 _ACEOF
15169 if ac_fn_c_try_compile "$LINENO"; then :
15170 ac_cv_c_logicalop_noisy=no
15171 else
15172 ac_cv_c_logicalop_noisy=yes
15174 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15176 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
15177 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
15178 CFLAGS=$saved_string_h_CFLAGS
15179 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
15182 CFLAGS=$saved_CFLAGS
15184 for ac_flag in $CFLAGS; do
15185 case $ac_flag in
15186 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
15187 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
15188 if ${ac_cv_cflags__gdwarf_2+:} false; then :
15189 $as_echo_n "(cached) " >&6
15190 else
15191 ac_wine_try_cflags_saved=$CFLAGS
15192 CFLAGS="$CFLAGS -gdwarf-2"
15193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15194 /* end confdefs.h. */
15195 int main(int argc, char **argv) { return 0; }
15196 _ACEOF
15197 if ac_fn_c_try_link "$LINENO"; then :
15198 ac_cv_cflags__gdwarf_2=yes
15199 else
15200 ac_cv_cflags__gdwarf_2=no
15202 rm -f core conftest.err conftest.$ac_objext \
15203 conftest$ac_exeext conftest.$ac_ext
15204 CFLAGS=$ac_wine_try_cflags_saved
15206 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
15207 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
15208 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
15209 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
15211 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
15212 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
15213 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
15214 $as_echo_n "(cached) " >&6
15215 else
15216 ac_wine_try_cflags_saved=$CFLAGS
15217 CFLAGS="$CFLAGS -gstrict-dwarf"
15218 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15219 /* end confdefs.h. */
15220 int main(int argc, char **argv) { return 0; }
15221 _ACEOF
15222 if ac_fn_c_try_link "$LINENO"; then :
15223 ac_cv_cflags__gstrict_dwarf=yes
15224 else
15225 ac_cv_cflags__gstrict_dwarf=no
15227 rm -f core conftest.err conftest.$ac_objext \
15228 conftest$ac_exeext conftest.$ac_ext
15229 CFLAGS=$ac_wine_try_cflags_saved
15231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
15232 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
15233 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
15234 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
15235 fi ;;
15236 esac
15237 done
15239 case $host_cpu in
15240 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
15241 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
15242 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
15243 $as_echo_n "(cached) " >&6
15244 else
15245 ac_wine_try_cflags_saved=$CFLAGS
15246 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
15247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15248 /* end confdefs.h. */
15249 int main(int argc, char **argv) { return 0; }
15250 _ACEOF
15251 if ac_fn_c_try_link "$LINENO"; then :
15252 ac_cv_cflags__fno_omit_frame_pointer=yes
15253 else
15254 ac_cv_cflags__fno_omit_frame_pointer=no
15256 rm -f core conftest.err conftest.$ac_objext \
15257 conftest$ac_exeext conftest.$ac_ext
15258 CFLAGS=$ac_wine_try_cflags_saved
15260 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
15261 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
15262 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
15263 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
15264 fi ;;
15265 esac
15267 case $host in
15268 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
15269 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
15270 if ${ac_cv_cflags__Wno_format+:} false; then :
15271 $as_echo_n "(cached) " >&6
15272 else
15273 ac_wine_try_cflags_saved=$CFLAGS
15274 CFLAGS="$CFLAGS -Wno-format"
15275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15276 /* end confdefs.h. */
15277 int main(int argc, char **argv) { return 0; }
15278 _ACEOF
15279 if ac_fn_c_try_link "$LINENO"; then :
15280 ac_cv_cflags__Wno_format=yes
15281 else
15282 ac_cv_cflags__Wno_format=no
15284 rm -f core conftest.err conftest.$ac_objext \
15285 conftest$ac_exeext conftest.$ac_ext
15286 CFLAGS=$ac_wine_try_cflags_saved
15288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
15289 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
15290 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
15291 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
15292 fi ;;
15293 esac
15295 if test "x$enable_maintainer_mode" = "xyes"
15296 then
15297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
15298 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
15299 if ${ac_cv_cflags__Werror+:} false; then :
15300 $as_echo_n "(cached) " >&6
15301 else
15302 ac_wine_try_cflags_saved=$CFLAGS
15303 CFLAGS="$CFLAGS -Werror"
15304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15305 /* end confdefs.h. */
15306 int main(int argc, char **argv) { return 0; }
15307 _ACEOF
15308 if ac_fn_c_try_link "$LINENO"; then :
15309 ac_cv_cflags__Werror=yes
15310 else
15311 ac_cv_cflags__Werror=no
15313 rm -f core conftest.err conftest.$ac_objext \
15314 conftest$ac_exeext conftest.$ac_ext
15315 CFLAGS=$ac_wine_try_cflags_saved
15317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
15318 $as_echo "$ac_cv_cflags__Werror" >&6; }
15319 if test "x$ac_cv_cflags__Werror" = xyes; then :
15320 EXTRACFLAGS="$EXTRACFLAGS -Werror"
15324 saved_CFLAGS="$CFLAGS"
15325 CFLAGS="$CFLAGS -Werror"
15326 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
15327 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
15328 if ${ac_cv_have_ms_hook_prologue+:} false; then :
15329 $as_echo_n "(cached) " >&6
15330 else
15331 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15332 /* end confdefs.h. */
15333 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
15335 main ()
15339 return 0;
15341 _ACEOF
15342 if ac_fn_c_try_compile "$LINENO"; then :
15343 ac_cv_have_ms_hook_prologue="yes"
15344 else
15345 ac_cv_have_ms_hook_prologue="no"
15347 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
15350 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
15351 CFLAGS="$saved_CFLAGS"
15352 if test "$ac_cv_have_ms_hook_prologue" = "yes"
15353 then
15355 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
15357 else
15358 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
15364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
15365 $as_echo_n "checking for the need to disable Fortify... " >&6; }
15366 if ${ac_cv_c_fortify_enabled+:} false; then :
15367 $as_echo_n "(cached) " >&6
15368 else
15369 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15370 /* end confdefs.h. */
15371 #include <string.h>
15373 main ()
15375 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
15376 #error Fortify enabled
15377 #endif
15379 return 0;
15381 _ACEOF
15382 if ac_fn_c_try_compile "$LINENO"; then :
15383 ac_cv_c_fortify_enabled=no
15384 else
15385 ac_cv_c_fortify_enabled=yes
15387 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
15390 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
15391 if test "$ac_cv_c_fortify_enabled" = yes
15392 then
15393 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
15397 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
15398 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
15399 if ${ac_cv_c_extern_prefix+:} false; then :
15400 $as_echo_n "(cached) " >&6
15401 else
15402 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15403 /* end confdefs.h. */
15404 extern int ac_test;
15406 main ()
15408 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
15410 return 0;
15412 _ACEOF
15413 if ac_fn_c_try_link "$LINENO"; then :
15414 ac_cv_c_extern_prefix="yes"
15415 else
15416 ac_cv_c_extern_prefix="no"
15418 rm -f core conftest.err conftest.$ac_objext \
15419 conftest$ac_exeext conftest.$ac_ext
15421 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
15422 $as_echo "$ac_cv_c_extern_prefix" >&6; }
15424 case $host_cpu in
15425 *i[3456789]86*)
15426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
15427 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
15428 if ${ac_cv_c_stdcall_suffix+:} false; then :
15429 $as_echo_n "(cached) " >&6
15430 else
15431 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15432 /* end confdefs.h. */
15433 #ifndef _MSC_VER
15434 #define __stdcall __attribute__((__stdcall__))
15435 #endif
15436 int __stdcall ac_test(int i) { return i; }
15438 main ()
15440 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
15442 return 0;
15444 _ACEOF
15445 if ac_fn_c_try_link "$LINENO"; then :
15446 ac_cv_c_stdcall_suffix="yes"
15447 else
15448 ac_cv_c_stdcall_suffix="no"
15450 rm -f core conftest.err conftest.$ac_objext \
15451 conftest$ac_exeext conftest.$ac_ext
15453 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
15454 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
15455 *) ac_cv_c_stdcall_suffix="no" ;;
15456 esac
15459 if test "$ac_cv_c_extern_prefix" = "yes"
15460 then
15461 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
15463 asm_name_prefix="_"
15464 else
15465 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
15467 asm_name_prefix=""
15471 if test "$ac_cv_c_stdcall_suffix" = "yes"
15472 then
15473 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
15475 else
15476 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
15481 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
15482 $as_echo_n "checking how to define a function in assembly code... " >&6; }
15483 if ${ac_cv_asm_func_def+:} false; then :
15484 $as_echo_n "(cached) " >&6
15485 else
15486 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15487 /* end confdefs.h. */
15490 main ()
15492 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
15494 return 0;
15496 _ACEOF
15497 if ac_fn_c_try_link "$LINENO"; then :
15498 ac_cv_asm_func_def=".def"
15499 else
15500 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15501 /* end confdefs.h. */
15504 main ()
15506 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
15508 return 0;
15510 _ACEOF
15511 if ac_fn_c_try_link "$LINENO"; then :
15512 ac_cv_asm_func_def=".type @function"
15513 else
15514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15515 /* end confdefs.h. */
15518 main ()
15520 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
15522 return 0;
15524 _ACEOF
15525 if ac_fn_c_try_link "$LINENO"; then :
15526 ac_cv_asm_func_def=".type 2"
15527 else
15528 ac_cv_asm_func_def="unknown"
15530 rm -f core conftest.err conftest.$ac_objext \
15531 conftest$ac_exeext conftest.$ac_ext
15533 rm -f core conftest.err conftest.$ac_objext \
15534 conftest$ac_exeext conftest.$ac_ext
15536 rm -f core conftest.err conftest.$ac_objext \
15537 conftest$ac_exeext conftest.$ac_ext
15539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
15540 $as_echo "$ac_cv_asm_func_def" >&6; }
15543 case "$ac_cv_asm_func_def" in
15544 ".def")
15545 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
15547 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
15548 ".type @function")
15549 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
15551 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
15552 ".type 2")
15553 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
15555 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
15557 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
15559 asm_func_header="" ;;
15560 esac
15562 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
15563 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
15564 if ${ac_cv_c_asm_outside_funcs+:} false; then :
15565 $as_echo_n "(cached) " >&6
15566 else
15567 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15568 /* end confdefs.h. */
15569 asm(".text\n\t.long 0");
15571 main ()
15575 return 0;
15577 _ACEOF
15578 if ac_fn_c_try_compile "$LINENO"; then :
15579 ac_cv_c_asm_outside_funcs="yes"
15580 else
15581 ac_cv_c_asm_outside_funcs="no"
15583 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15585 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
15586 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
15588 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
15589 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
15590 if ${ac_cv_c_dot_previous+:} false; then :
15591 $as_echo_n "(cached) " >&6
15592 else
15593 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15594 /* end confdefs.h. */
15597 main ()
15599 asm(".text\nac_test:\t.long 0\n\t.previous");
15601 return 0;
15603 _ACEOF
15604 if ac_fn_c_try_link "$LINENO"; then :
15605 ac_cv_c_dot_previous="yes"
15606 else
15607 ac_cv_c_dot_previous="no"
15609 rm -f core conftest.err conftest.$ac_objext \
15610 conftest$ac_exeext conftest.$ac_ext
15612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
15613 $as_echo "$ac_cv_c_dot_previous" >&6; }
15615 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
15616 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
15617 if ${ac_cv_c_cfi_support+:} false; then :
15618 $as_echo_n "(cached) " >&6
15619 else
15620 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15621 /* end confdefs.h. */
15622 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
15624 main ()
15628 return 0;
15630 _ACEOF
15631 if ac_fn_c_try_compile "$LINENO"; then :
15632 ac_cv_c_cfi_support="yes"
15633 else
15634 ac_cv_c_cfi_support="no"
15636 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
15639 $as_echo "$ac_cv_c_cfi_support" >&6; }
15641 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
15642 asm_func_trailer=""
15643 if test "$ac_cv_c_dot_previous" = "yes"
15644 then
15645 asm_func_trailer="\\n\\t.previous"
15647 if test "$ac_cv_c_cfi_support" = "yes"
15648 then
15649 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
15650 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
15652 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
15654 UNWINDFLAGS=-fasynchronous-unwind-tables
15656 else
15657 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
15659 if test "x$enable_win64" = "xyes"
15660 then
15661 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
15665 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
15668 if test "$ac_cv_c_asm_outside_funcs" = "yes"
15669 then
15670 cat >>confdefs.h <<_ACEOF
15671 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
15672 _ACEOF
15674 else
15675 cat >>confdefs.h <<_ACEOF
15676 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
15677 _ACEOF
15681 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
15684 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
15688 case $build_os in
15689 cygwin*|mingw32*) TOOLSEXT=".exe"
15691 esac
15693 case $host_os in
15694 linux*)
15695 case $host_cpu in
15696 *i[3456789]86*|x86_64*|*aarch64*)
15697 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
15698 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
15700 esac
15702 esac
15705 ac_save_CFLAGS="$CFLAGS"
15706 CFLAGS="$CFLAGS $BUILTINFLAG"
15707 for ac_func in \
15708 __res_get_state \
15709 __res_getservers \
15710 _finite \
15711 _isnan \
15712 _pclose \
15713 _popen \
15714 _snprintf \
15715 _spawnvp \
15716 _strdup \
15717 _stricmp \
15718 _strnicmp \
15719 _strtoi64 \
15720 _strtoui64 \
15721 _vsnprintf \
15722 asctime_r \
15723 chsize \
15724 dlopen \
15725 epoll_create \
15726 ffs \
15727 finitef \
15728 fnmatch \
15729 fork \
15730 fpclass \
15731 fstatfs \
15732 fstatvfs \
15733 ftruncate \
15734 futimens \
15735 futimes \
15736 futimesat \
15737 getattrlist \
15738 getauxval \
15739 getifaddrs \
15740 getopt_long_only \
15741 getpwuid \
15742 gettimeofday \
15743 getuid \
15744 isnanf \
15745 kqueue \
15746 lstat \
15747 memmove \
15748 mmap \
15749 pclose \
15750 pipe2 \
15751 poll \
15752 popen \
15753 port_create \
15754 prctl \
15755 pread \
15756 proc_pidinfo \
15757 pwrite \
15758 readdir \
15759 readlink \
15760 sched_yield \
15761 select \
15762 setproctitle \
15763 setprogname \
15764 setrlimit \
15765 settimeofday \
15766 sigaltstack \
15767 sigprocmask \
15768 snprintf \
15769 statfs \
15770 statvfs \
15771 strcasecmp \
15772 strdup \
15773 strerror \
15774 strncasecmp \
15775 strnlen \
15776 strtold \
15777 strtoll \
15778 strtoull \
15779 symlink \
15780 sysinfo \
15781 tcdrain \
15782 thr_kill2 \
15783 timegm \
15784 usleep \
15785 vsnprintf
15787 do :
15788 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15789 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15790 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15791 cat >>confdefs.h <<_ACEOF
15792 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15793 _ACEOF
15796 done
15798 CFLAGS="$ac_save_CFLAGS"
15800 if test "$ac_cv_func_dlopen" = no
15801 then
15802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15803 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15804 if ${ac_cv_lib_dl_dlopen+:} false; then :
15805 $as_echo_n "(cached) " >&6
15806 else
15807 ac_check_lib_save_LIBS=$LIBS
15808 LIBS="-ldl $LIBS"
15809 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15810 /* end confdefs.h. */
15812 /* Override any GCC internal prototype to avoid an error.
15813 Use char because int might match the return type of a GCC
15814 builtin and then its argument prototype would still apply. */
15815 #ifdef __cplusplus
15816 extern "C"
15817 #endif
15818 char dlopen ();
15820 main ()
15822 return dlopen ();
15824 return 0;
15826 _ACEOF
15827 if ac_fn_c_try_link "$LINENO"; then :
15828 ac_cv_lib_dl_dlopen=yes
15829 else
15830 ac_cv_lib_dl_dlopen=no
15832 rm -f core conftest.err conftest.$ac_objext \
15833 conftest$ac_exeext conftest.$ac_ext
15834 LIBS=$ac_check_lib_save_LIBS
15836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15837 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15838 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
15839 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15840 DL_LIBS="-ldl"
15845 ac_wine_check_funcs_save_LIBS="$LIBS"
15846 LIBS="$LIBS $DL_LIBS"
15847 for ac_func in dladdr
15848 do :
15849 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
15850 if test "x$ac_cv_func_dladdr" = xyes; then :
15851 cat >>confdefs.h <<_ACEOF
15852 #define HAVE_DLADDR 1
15853 _ACEOF
15856 done
15858 LIBS="$ac_wine_check_funcs_save_LIBS"
15860 if test "$ac_cv_func_poll" = no
15861 then
15862 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15863 $as_echo_n "checking for poll in -lpoll... " >&6; }
15864 if ${ac_cv_lib_poll_poll+:} false; then :
15865 $as_echo_n "(cached) " >&6
15866 else
15867 ac_check_lib_save_LIBS=$LIBS
15868 LIBS="-lpoll $LIBS"
15869 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15870 /* end confdefs.h. */
15872 /* Override any GCC internal prototype to avoid an error.
15873 Use char because int might match the return type of a GCC
15874 builtin and then its argument prototype would still apply. */
15875 #ifdef __cplusplus
15876 extern "C"
15877 #endif
15878 char poll ();
15880 main ()
15882 return poll ();
15884 return 0;
15886 _ACEOF
15887 if ac_fn_c_try_link "$LINENO"; then :
15888 ac_cv_lib_poll_poll=yes
15889 else
15890 ac_cv_lib_poll_poll=no
15892 rm -f core conftest.err conftest.$ac_objext \
15893 conftest$ac_exeext conftest.$ac_ext
15894 LIBS=$ac_check_lib_save_LIBS
15896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
15897 $as_echo "$ac_cv_lib_poll_poll" >&6; }
15898 if test "x$ac_cv_lib_poll_poll" = xyes; then :
15899 $as_echo "#define HAVE_POLL 1" >>confdefs.h
15900 POLL_LIBS="-lpoll"
15906 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15907 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15908 if ${ac_cv_search_gethostbyname+:} false; then :
15909 $as_echo_n "(cached) " >&6
15910 else
15911 ac_func_search_save_LIBS=$LIBS
15912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15913 /* end confdefs.h. */
15915 /* Override any GCC internal prototype to avoid an error.
15916 Use char because int might match the return type of a GCC
15917 builtin and then its argument prototype would still apply. */
15918 #ifdef __cplusplus
15919 extern "C"
15920 #endif
15921 char gethostbyname ();
15923 main ()
15925 return gethostbyname ();
15927 return 0;
15929 _ACEOF
15930 for ac_lib in '' nsl; do
15931 if test -z "$ac_lib"; then
15932 ac_res="none required"
15933 else
15934 ac_res=-l$ac_lib
15935 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15937 if ac_fn_c_try_link "$LINENO"; then :
15938 ac_cv_search_gethostbyname=$ac_res
15940 rm -f core conftest.err conftest.$ac_objext \
15941 conftest$ac_exeext
15942 if ${ac_cv_search_gethostbyname+:} false; then :
15943 break
15945 done
15946 if ${ac_cv_search_gethostbyname+:} false; then :
15948 else
15949 ac_cv_search_gethostbyname=no
15951 rm conftest.$ac_ext
15952 LIBS=$ac_func_search_save_LIBS
15954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15955 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15956 ac_res=$ac_cv_search_gethostbyname
15957 if test "$ac_res" != no; then :
15958 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
15964 $as_echo_n "checking for library containing connect... " >&6; }
15965 if ${ac_cv_search_connect+:} false; then :
15966 $as_echo_n "(cached) " >&6
15967 else
15968 ac_func_search_save_LIBS=$LIBS
15969 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15970 /* end confdefs.h. */
15972 /* Override any GCC internal prototype to avoid an error.
15973 Use char because int might match the return type of a GCC
15974 builtin and then its argument prototype would still apply. */
15975 #ifdef __cplusplus
15976 extern "C"
15977 #endif
15978 char connect ();
15980 main ()
15982 return connect ();
15984 return 0;
15986 _ACEOF
15987 for ac_lib in '' socket; do
15988 if test -z "$ac_lib"; then
15989 ac_res="none required"
15990 else
15991 ac_res=-l$ac_lib
15992 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15994 if ac_fn_c_try_link "$LINENO"; then :
15995 ac_cv_search_connect=$ac_res
15997 rm -f core conftest.err conftest.$ac_objext \
15998 conftest$ac_exeext
15999 if ${ac_cv_search_connect+:} false; then :
16000 break
16002 done
16003 if ${ac_cv_search_connect+:} false; then :
16005 else
16006 ac_cv_search_connect=no
16008 rm conftest.$ac_ext
16009 LIBS=$ac_func_search_save_LIBS
16011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
16012 $as_echo "$ac_cv_search_connect" >&6; }
16013 ac_res=$ac_cv_search_connect
16014 if test "$ac_res" != no; then :
16015 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16020 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
16021 $as_echo_n "checking for library containing inet_aton... " >&6; }
16022 if ${ac_cv_search_inet_aton+:} false; then :
16023 $as_echo_n "(cached) " >&6
16024 else
16025 ac_func_search_save_LIBS=$LIBS
16026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16027 /* end confdefs.h. */
16029 /* Override any GCC internal prototype to avoid an error.
16030 Use char because int might match the return type of a GCC
16031 builtin and then its argument prototype would still apply. */
16032 #ifdef __cplusplus
16033 extern "C"
16034 #endif
16035 char inet_aton ();
16037 main ()
16039 return inet_aton ();
16041 return 0;
16043 _ACEOF
16044 for ac_lib in '' resolv; do
16045 if test -z "$ac_lib"; then
16046 ac_res="none required"
16047 else
16048 ac_res=-l$ac_lib
16049 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16051 if ac_fn_c_try_link "$LINENO"; then :
16052 ac_cv_search_inet_aton=$ac_res
16054 rm -f core conftest.err conftest.$ac_objext \
16055 conftest$ac_exeext
16056 if ${ac_cv_search_inet_aton+:} false; then :
16057 break
16059 done
16060 if ${ac_cv_search_inet_aton+:} false; then :
16062 else
16063 ac_cv_search_inet_aton=no
16065 rm conftest.$ac_ext
16066 LIBS=$ac_func_search_save_LIBS
16068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
16069 $as_echo "$ac_cv_search_inet_aton" >&6; }
16070 ac_res=$ac_cv_search_inet_aton
16071 if test "$ac_res" != no; then :
16072 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16077 for ac_func in \
16078 getaddrinfo \
16079 getnameinfo \
16080 getnetbyname \
16081 getprotobyname \
16082 getprotobynumber \
16083 getservbyport \
16084 inet_addr \
16085 inet_network \
16086 inet_ntop \
16087 inet_pton \
16088 sendmsg \
16089 socketpair \
16091 do :
16092 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16093 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16094 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16095 cat >>confdefs.h <<_ACEOF
16096 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16097 _ACEOF
16100 done
16103 ac_save_LIBS=$LIBS
16104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
16105 $as_echo_n "checking for library containing clock_gettime... " >&6; }
16106 if ${ac_cv_search_clock_gettime+:} false; then :
16107 $as_echo_n "(cached) " >&6
16108 else
16109 ac_func_search_save_LIBS=$LIBS
16110 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16111 /* end confdefs.h. */
16113 /* Override any GCC internal prototype to avoid an error.
16114 Use char because int might match the return type of a GCC
16115 builtin and then its argument prototype would still apply. */
16116 #ifdef __cplusplus
16117 extern "C"
16118 #endif
16119 char clock_gettime ();
16121 main ()
16123 return clock_gettime ();
16125 return 0;
16127 _ACEOF
16128 for ac_lib in '' rt; do
16129 if test -z "$ac_lib"; then
16130 ac_res="none required"
16131 else
16132 ac_res=-l$ac_lib
16133 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16135 if ac_fn_c_try_link "$LINENO"; then :
16136 ac_cv_search_clock_gettime=$ac_res
16138 rm -f core conftest.err conftest.$ac_objext \
16139 conftest$ac_exeext
16140 if ${ac_cv_search_clock_gettime+:} false; then :
16141 break
16143 done
16144 if ${ac_cv_search_clock_gettime+:} false; then :
16146 else
16147 ac_cv_search_clock_gettime=no
16149 rm conftest.$ac_ext
16150 LIBS=$ac_func_search_save_LIBS
16152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
16153 $as_echo "$ac_cv_search_clock_gettime" >&6; }
16154 ac_res=$ac_cv_search_clock_gettime
16155 if test "$ac_res" != no; then :
16156 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16158 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
16160 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
16164 LIBS=$ac_save_LIBS
16166 if test "x$with_ldap" != "xno"
16167 then
16168 if ${LDAP_CFLAGS:+false} :; then :
16169 if ${PKG_CONFIG+:} false; then :
16170 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
16174 if ${LDAP_LIBS:+false} :; then :
16175 if ${PKG_CONFIG+:} false; then :
16176 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
16180 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
16181 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
16182 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
16183 ac_save_CPPFLAGS=$CPPFLAGS
16184 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
16185 for ac_header in ldap.h lber.h
16186 do :
16187 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16188 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16189 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
16190 cat >>confdefs.h <<_ACEOF
16191 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16192 _ACEOF
16196 done
16198 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
16199 then
16200 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
16202 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
16203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
16204 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
16205 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
16206 $as_echo_n "(cached) " >&6
16207 else
16208 ac_check_lib_save_LIBS=$LIBS
16209 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
16210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16211 /* end confdefs.h. */
16213 /* Override any GCC internal prototype to avoid an error.
16214 Use char because int might match the return type of a GCC
16215 builtin and then its argument prototype would still apply. */
16216 #ifdef __cplusplus
16217 extern "C"
16218 #endif
16219 char ldap_initialize ();
16221 main ()
16223 return ldap_initialize ();
16225 return 0;
16227 _ACEOF
16228 if ac_fn_c_try_link "$LINENO"; then :
16229 ac_cv_lib_ldap_r_ldap_initialize=yes
16230 else
16231 ac_cv_lib_ldap_r_ldap_initialize=no
16233 rm -f core conftest.err conftest.$ac_objext \
16234 conftest$ac_exeext conftest.$ac_ext
16235 LIBS=$ac_check_lib_save_LIBS
16237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
16238 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
16239 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
16240 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
16241 $as_echo_n "checking for ber_init in -llber... " >&6; }
16242 if ${ac_cv_lib_lber_ber_init+:} false; then :
16243 $as_echo_n "(cached) " >&6
16244 else
16245 ac_check_lib_save_LIBS=$LIBS
16246 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
16247 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16248 /* end confdefs.h. */
16250 /* Override any GCC internal prototype to avoid an error.
16251 Use char because int might match the return type of a GCC
16252 builtin and then its argument prototype would still apply. */
16253 #ifdef __cplusplus
16254 extern "C"
16255 #endif
16256 char ber_init ();
16258 main ()
16260 return ber_init ();
16262 return 0;
16264 _ACEOF
16265 if ac_fn_c_try_link "$LINENO"; then :
16266 ac_cv_lib_lber_ber_init=yes
16267 else
16268 ac_cv_lib_lber_ber_init=no
16270 rm -f core conftest.err conftest.$ac_objext \
16271 conftest$ac_exeext conftest.$ac_ext
16272 LIBS=$ac_check_lib_save_LIBS
16274 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
16275 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
16276 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
16278 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
16280 else
16281 LDAP_LIBS=""
16284 else
16285 LDAP_LIBS=""
16288 else
16289 LDAP_LIBS=""
16292 ac_wine_check_funcs_save_LIBS="$LIBS"
16293 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
16294 for ac_func in \
16295 ldap_count_references \
16296 ldap_first_reference \
16297 ldap_next_reference \
16298 ldap_parse_reference \
16299 ldap_parse_sort_control \
16300 ldap_parse_sortresponse_control \
16301 ldap_parse_vlv_control \
16302 ldap_parse_vlvresponse_control
16303 do :
16304 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16305 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16306 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16307 cat >>confdefs.h <<_ACEOF
16308 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16309 _ACEOF
16312 done
16314 LIBS="$ac_wine_check_funcs_save_LIBS"
16315 else
16316 LDAP_LIBS=""
16318 CPPFLAGS=$ac_save_CPPFLAGS
16319 test -z "$LDAP_CFLAGS" || LDAP_CFLAGS=`echo " $LDAP_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16320 test -z "$LDAP_LIBS" || LDAP_LIBS=`echo " $LDAP_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16323 if test "x$LDAP_LIBS" = "x"; then :
16324 case "x$with_ldap" in
16325 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
16326 xno) ;;
16327 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
16328 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
16329 esac
16333 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
16334 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
16335 if ${wine_cv_one_arg_mkdir+:} false; then :
16336 $as_echo_n "(cached) " >&6
16337 else
16338 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16339 /* end confdefs.h. */
16340 #include <sys/stat.h>
16342 main ()
16344 mkdir("foo");
16346 return 0;
16348 _ACEOF
16349 if ac_fn_c_try_compile "$LINENO"; then :
16350 wine_cv_one_arg_mkdir=yes
16351 else
16352 wine_cv_one_arg_mkdir=no
16354 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
16357 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
16358 if test "$wine_cv_one_arg_mkdir" = "yes"
16359 then
16361 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
16365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
16366 $as_echo_n "checking for sched_setaffinity... " >&6; }
16367 if ${wine_cv_have_sched_setaffinity+:} false; then :
16368 $as_echo_n "(cached) " >&6
16369 else
16370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16371 /* end confdefs.h. */
16372 #define _GNU_SOURCE
16373 #include <sched.h>
16375 main ()
16377 sched_setaffinity(0, 0, 0);
16379 return 0;
16381 _ACEOF
16382 if ac_fn_c_try_link "$LINENO"; then :
16383 wine_cv_have_sched_setaffinity=yes
16384 else
16385 wine_cv_have_sched_setaffinity=no
16387 rm -f core conftest.err conftest.$ac_objext \
16388 conftest$ac_exeext conftest.$ac_ext
16390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
16391 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
16392 if test "$wine_cv_have_sched_setaffinity" = "yes"
16393 then
16395 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
16399 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
16400 $as_echo_n "checking for fallocate... " >&6; }
16401 if ${wine_cv_have_fallocate+:} false; then :
16402 $as_echo_n "(cached) " >&6
16403 else
16404 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16405 /* end confdefs.h. */
16406 #define _GNU_SOURCE
16407 #include <fcntl.h>
16409 main ()
16411 fallocate(-1, 0, 0, 0);
16413 return 0;
16415 _ACEOF
16416 if ac_fn_c_try_link "$LINENO"; then :
16417 wine_cv_have_fallocate=yes
16418 else
16419 wine_cv_have_fallocate=no
16421 rm -f core conftest.err conftest.$ac_objext \
16422 conftest$ac_exeext conftest.$ac_ext
16424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
16425 $as_echo "$wine_cv_have_fallocate" >&6; }
16426 if test "$wine_cv_have_fallocate" = "yes"
16427 then
16429 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
16434 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
16435 $as_echo_n "checking for inline... " >&6; }
16436 if ${ac_cv_c_inline+:} false; then :
16437 $as_echo_n "(cached) " >&6
16438 else
16439 ac_cv_c_inline=no
16440 for ac_kw in inline __inline__ __inline; do
16441 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16442 /* end confdefs.h. */
16443 #ifndef __cplusplus
16444 typedef int foo_t;
16445 static $ac_kw foo_t static_foo () {return 0; }
16446 $ac_kw foo_t foo () {return 0; }
16447 #endif
16449 _ACEOF
16450 if ac_fn_c_try_compile "$LINENO"; then :
16451 ac_cv_c_inline=$ac_kw
16453 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16454 test "$ac_cv_c_inline" != no && break
16455 done
16458 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
16459 $as_echo "$ac_cv_c_inline" >&6; }
16461 case $ac_cv_c_inline in
16462 inline | yes) ;;
16464 case $ac_cv_c_inline in
16465 no) ac_val=;;
16466 *) ac_val=$ac_cv_c_inline;;
16467 esac
16468 cat >>confdefs.h <<_ACEOF
16469 #ifndef __cplusplus
16470 #define inline $ac_val
16471 #endif
16472 _ACEOF
16474 esac
16476 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
16477 if test "x$ac_cv_type_mode_t" = xyes; then :
16479 cat >>confdefs.h <<_ACEOF
16480 #define HAVE_MODE_T 1
16481 _ACEOF
16485 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
16486 if test "x$ac_cv_type_off_t" = xyes; then :
16488 cat >>confdefs.h <<_ACEOF
16489 #define HAVE_OFF_T 1
16490 _ACEOF
16494 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
16495 if test "x$ac_cv_type_pid_t" = xyes; then :
16497 cat >>confdefs.h <<_ACEOF
16498 #define HAVE_PID_T 1
16499 _ACEOF
16503 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
16504 if test "x$ac_cv_type_size_t" = xyes; then :
16506 cat >>confdefs.h <<_ACEOF
16507 #define HAVE_SIZE_T 1
16508 _ACEOF
16512 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
16513 if test "x$ac_cv_type_ssize_t" = xyes; then :
16515 cat >>confdefs.h <<_ACEOF
16516 #define HAVE_SSIZE_T 1
16517 _ACEOF
16521 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
16522 if test "x$ac_cv_type_long_long" = xyes; then :
16524 cat >>confdefs.h <<_ACEOF
16525 #define HAVE_LONG_LONG 1
16526 _ACEOF
16530 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
16531 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
16533 cat >>confdefs.h <<_ACEOF
16534 #define HAVE_FSBLKCNT_T 1
16535 _ACEOF
16539 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
16540 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
16542 cat >>confdefs.h <<_ACEOF
16543 #define HAVE_FSFILCNT_T 1
16544 _ACEOF
16549 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
16550 #include <signal.h>
16552 if test "x$ac_cv_type_sigset_t" = xyes; then :
16554 cat >>confdefs.h <<_ACEOF
16555 #define HAVE_SIGSET_T 1
16556 _ACEOF
16561 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
16563 if test "x$ac_cv_type_request_sense" = xyes; then :
16565 cat >>confdefs.h <<_ACEOF
16566 #define HAVE_REQUEST_SENSE 1
16567 _ACEOF
16573 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
16574 #ifdef HAVE_SYS_SOCKET_H
16575 #include <sys/socket.h>
16576 #endif
16577 #ifdef HAVE_SYS_SOCKETVAR_H
16578 #include <sys/socketvar.h>
16579 #endif
16580 #ifdef HAVE_NET_ROUTE_H
16581 #include <net/route.h>
16582 #endif
16583 #ifdef HAVE_NETINET_IN_H
16584 #include <netinet/in.h>
16585 #endif
16586 #ifdef HAVE_NETINET_IN_SYSTM_H
16587 #include <netinet/in_systm.h>
16588 #endif
16589 #ifdef HAVE_NETINET_IP_H
16590 #include <netinet/ip.h>
16591 #endif
16592 #ifdef HAVE_NETINET_IN_PCB_H
16593 #include <netinet/in_pcb.h>
16594 #endif
16596 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
16598 cat >>confdefs.h <<_ACEOF
16599 #define HAVE_STRUCT_XINPGEN 1
16600 _ACEOF
16606 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
16607 #include <link.h>
16608 #endif
16609 #ifdef HAVE_SYS_LINK_H
16610 #include <sys/link.h>
16611 #endif
16613 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
16615 cat >>confdefs.h <<_ACEOF
16616 #define HAVE_STRUCT_R_DEBUG 1
16617 _ACEOF
16621 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
16622 #include <link.h>
16623 #endif
16624 #ifdef HAVE_SYS_LINK_H
16625 #include <sys/link.h>
16626 #endif
16628 if test "x$ac_cv_type_struct_link_map" = xyes; then :
16630 cat >>confdefs.h <<_ACEOF
16631 #define HAVE_STRUCT_LINK_MAP 1
16632 _ACEOF
16638 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
16639 #include <linux/input.h>
16640 #endif
16642 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
16644 cat >>confdefs.h <<_ACEOF
16645 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
16646 _ACEOF
16652 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
16653 $as_echo_n "checking for if_nameindex... " >&6; }
16654 if ${wine_cv_have_if_nameindex+:} false; then :
16655 $as_echo_n "(cached) " >&6
16656 else
16657 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16658 /* end confdefs.h. */
16659 #ifdef HAVE_SYS_TYPES_H
16660 #include <sys/types.h>
16661 #endif
16662 #ifdef HAVE_SYS_SOCKET_H
16663 #include <sys/socket.h>
16664 #endif
16665 #ifdef HAVE_NET_IF_H
16666 # include <net/if.h>
16667 #endif
16669 main ()
16671 struct if_nameindex *p = if_nameindex(); return p->if_index;
16673 return 0;
16675 _ACEOF
16676 if ac_fn_c_try_link "$LINENO"; then :
16677 wine_cv_have_if_nameindex=yes
16678 else
16679 wine_cv_have_if_nameindex=no
16681 rm -f core conftest.err conftest.$ac_objext \
16682 conftest$ac_exeext conftest.$ac_ext
16684 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
16685 $as_echo "$wine_cv_have_if_nameindex" >&6; }
16686 if test "$wine_cv_have_if_nameindex" = "yes"
16687 then
16689 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
16693 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
16694 $as_echo_n "checking for sigaddset... " >&6; }
16695 if ${wine_cv_have_sigaddset+:} false; then :
16696 $as_echo_n "(cached) " >&6
16697 else
16698 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16699 /* end confdefs.h. */
16700 #include <signal.h>
16702 main ()
16704 sigset_t set; sigaddset(&set,SIGTERM);
16706 return 0;
16708 _ACEOF
16709 if ac_fn_c_try_link "$LINENO"; then :
16710 wine_cv_have_sigaddset=yes
16711 else
16712 wine_cv_have_sigaddset=no
16714 rm -f core conftest.err conftest.$ac_objext \
16715 conftest$ac_exeext conftest.$ac_ext
16717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
16718 $as_echo "$wine_cv_have_sigaddset" >&6; }
16719 if test "$wine_cv_have_sigaddset" = "yes"
16720 then
16722 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
16727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
16728 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
16729 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
16730 $as_echo_n "(cached) " >&6
16731 else
16732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16733 /* end confdefs.h. */
16734 #include <netdb.h>
16736 main ()
16739 char *name=0;
16740 struct hostent he;
16741 struct hostent *result;
16742 char *buf=0;
16743 int bufsize=0;
16744 int errnr;
16745 char *addr=0;
16746 int addrlen=0;
16747 int addrtype=0;
16748 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
16749 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
16752 return 0;
16754 _ACEOF
16755 if ac_fn_c_try_link "$LINENO"; then :
16756 wine_cv_linux_gethostbyname_r_6=yes
16757 else
16758 wine_cv_linux_gethostbyname_r_6=no
16761 rm -f core conftest.err conftest.$ac_objext \
16762 conftest$ac_exeext conftest.$ac_ext
16765 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
16766 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
16767 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
16768 then
16770 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
16774 if test "$ac_cv_header_linux_joystick_h" = "yes"
16775 then
16776 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
16777 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
16778 if ${wine_cv_linux_joystick_22_api+:} false; then :
16779 $as_echo_n "(cached) " >&6
16780 else
16781 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16782 /* end confdefs.h. */
16784 #include <sys/ioctl.h>
16785 #include <sys/types.h>
16786 #include <linux/joystick.h>
16788 struct js_event blub;
16789 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
16790 #error "no 2.2 header"
16791 #endif
16794 main ()
16796 /*empty*/
16798 return 0;
16800 _ACEOF
16801 if ac_fn_c_try_compile "$LINENO"; then :
16802 wine_cv_linux_joystick_22_api=yes
16803 else
16804 wine_cv_linux_joystick_22_api=no
16806 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16809 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
16810 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
16811 if test "$wine_cv_linux_joystick_22_api" = "yes"
16812 then
16814 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
16820 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
16821 #ifdef HAVE_SYS_PARAM_H
16822 # include <sys/param.h>
16823 #endif
16824 #ifdef HAVE_SYS_MOUNT_H
16825 # include <sys/mount.h>
16826 #endif
16827 #ifdef HAVE_SYS_VFS_H
16828 # include <sys/vfs.h>
16829 #endif
16830 #ifdef HAVE_SYS_STATFS_H
16831 # include <sys/statfs.h>
16832 #endif
16834 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
16836 cat >>confdefs.h <<_ACEOF
16837 #define HAVE_STRUCT_STATFS_F_BFREE 1
16838 _ACEOF
16842 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
16843 #ifdef HAVE_SYS_PARAM_H
16844 # include <sys/param.h>
16845 #endif
16846 #ifdef HAVE_SYS_MOUNT_H
16847 # include <sys/mount.h>
16848 #endif
16849 #ifdef HAVE_SYS_VFS_H
16850 # include <sys/vfs.h>
16851 #endif
16852 #ifdef HAVE_SYS_STATFS_H
16853 # include <sys/statfs.h>
16854 #endif
16856 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
16858 cat >>confdefs.h <<_ACEOF
16859 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
16860 _ACEOF
16864 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
16865 #ifdef HAVE_SYS_PARAM_H
16866 # include <sys/param.h>
16867 #endif
16868 #ifdef HAVE_SYS_MOUNT_H
16869 # include <sys/mount.h>
16870 #endif
16871 #ifdef HAVE_SYS_VFS_H
16872 # include <sys/vfs.h>
16873 #endif
16874 #ifdef HAVE_SYS_STATFS_H
16875 # include <sys/statfs.h>
16876 #endif
16878 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
16880 cat >>confdefs.h <<_ACEOF
16881 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
16882 _ACEOF
16886 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
16887 #ifdef HAVE_SYS_PARAM_H
16888 # include <sys/param.h>
16889 #endif
16890 #ifdef HAVE_SYS_MOUNT_H
16891 # include <sys/mount.h>
16892 #endif
16893 #ifdef HAVE_SYS_VFS_H
16894 # include <sys/vfs.h>
16895 #endif
16896 #ifdef HAVE_SYS_STATFS_H
16897 # include <sys/statfs.h>
16898 #endif
16900 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
16902 cat >>confdefs.h <<_ACEOF
16903 #define HAVE_STRUCT_STATFS_F_FFREE 1
16904 _ACEOF
16908 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
16909 #ifdef HAVE_SYS_PARAM_H
16910 # include <sys/param.h>
16911 #endif
16912 #ifdef HAVE_SYS_MOUNT_H
16913 # include <sys/mount.h>
16914 #endif
16915 #ifdef HAVE_SYS_VFS_H
16916 # include <sys/vfs.h>
16917 #endif
16918 #ifdef HAVE_SYS_STATFS_H
16919 # include <sys/statfs.h>
16920 #endif
16922 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
16924 cat >>confdefs.h <<_ACEOF
16925 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
16926 _ACEOF
16930 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
16931 #ifdef HAVE_SYS_PARAM_H
16932 # include <sys/param.h>
16933 #endif
16934 #ifdef HAVE_SYS_MOUNT_H
16935 # include <sys/mount.h>
16936 #endif
16937 #ifdef HAVE_SYS_VFS_H
16938 # include <sys/vfs.h>
16939 #endif
16940 #ifdef HAVE_SYS_STATFS_H
16941 # include <sys/statfs.h>
16942 #endif
16944 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
16946 cat >>confdefs.h <<_ACEOF
16947 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
16948 _ACEOF
16954 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
16955 #include <sys/statvfs.h>
16956 #endif
16958 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
16960 cat >>confdefs.h <<_ACEOF
16961 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
16962 _ACEOF
16968 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
16969 #include <dirent.h>
16970 #endif
16972 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
16974 cat >>confdefs.h <<_ACEOF
16975 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
16976 _ACEOF
16982 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
16983 #ifdef HAVE_SYS_SOCKET_H
16984 # include <sys/socket.h>
16985 #endif
16986 #ifdef HAVE_SYS_UN_H
16987 # include <sys/un.h>
16988 #endif
16990 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
16992 cat >>confdefs.h <<_ACEOF
16993 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
16994 _ACEOF
16998 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
16999 #ifdef HAVE_SYS_SOCKET_H
17000 # include <sys/socket.h>
17001 #endif
17002 #ifdef HAVE_SYS_UN_H
17003 # include <sys/un.h>
17004 #endif
17006 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
17008 cat >>confdefs.h <<_ACEOF
17009 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
17010 _ACEOF
17014 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
17015 #ifdef HAVE_SYS_SOCKET_H
17016 # include <sys/socket.h>
17017 #endif
17018 #ifdef HAVE_SYS_UN_H
17019 # include <sys/un.h>
17020 #endif
17022 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
17024 cat >>confdefs.h <<_ACEOF
17025 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
17026 _ACEOF
17032 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
17033 #ifdef HAVE_SCSI_SG_H
17034 #include <scsi/sg.h>
17035 #endif
17037 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
17039 cat >>confdefs.h <<_ACEOF
17040 #define HAVE_SCSIREQ_T_CMD 1
17041 _ACEOF
17045 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>
17046 #ifdef HAVE_SCSI_SG_H
17047 #include <scsi/sg.h>
17048 #endif
17050 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
17052 cat >>confdefs.h <<_ACEOF
17053 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
17054 _ACEOF
17060 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
17062 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
17064 cat >>confdefs.h <<_ACEOF
17065 #define HAVE_SIGINFO_T_SI_FD 1
17066 _ACEOF
17072 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
17073 #ifdef HAVE_SYS_MTIO_H
17074 #include <sys/mtio.h>
17075 #endif
17077 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
17079 cat >>confdefs.h <<_ACEOF
17080 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
17081 _ACEOF
17085 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
17086 #ifdef HAVE_SYS_MTIO_H
17087 #include <sys/mtio.h>
17088 #endif
17090 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
17092 cat >>confdefs.h <<_ACEOF
17093 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
17094 _ACEOF
17098 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
17099 #ifdef HAVE_SYS_MTIO_H
17100 #include <sys/mtio.h>
17101 #endif
17103 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
17105 cat >>confdefs.h <<_ACEOF
17106 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
17107 _ACEOF
17113 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
17114 #include <getopt.h>
17115 #endif
17117 if test "x$ac_cv_member_struct_option_name" = xyes; then :
17119 cat >>confdefs.h <<_ACEOF
17120 #define HAVE_STRUCT_OPTION_NAME 1
17121 _ACEOF
17127 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
17128 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
17130 cat >>confdefs.h <<_ACEOF
17131 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
17132 _ACEOF
17136 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
17137 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
17139 cat >>confdefs.h <<_ACEOF
17140 #define HAVE_STRUCT_STAT_ST_MTIM 1
17141 _ACEOF
17145 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
17146 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
17148 cat >>confdefs.h <<_ACEOF
17149 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
17150 _ACEOF
17154 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
17155 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
17157 cat >>confdefs.h <<_ACEOF
17158 #define HAVE_STRUCT_STAT_ST_CTIM 1
17159 _ACEOF
17163 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
17164 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
17166 cat >>confdefs.h <<_ACEOF
17167 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
17168 _ACEOF
17172 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
17173 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
17175 cat >>confdefs.h <<_ACEOF
17176 #define HAVE_STRUCT_STAT_ST_ATIM 1
17177 _ACEOF
17181 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
17182 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
17184 cat >>confdefs.h <<_ACEOF
17185 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
17186 _ACEOF
17190 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
17191 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
17193 cat >>confdefs.h <<_ACEOF
17194 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
17195 _ACEOF
17199 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
17200 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
17202 cat >>confdefs.h <<_ACEOF
17203 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
17204 _ACEOF
17208 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
17209 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
17211 cat >>confdefs.h <<_ACEOF
17212 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
17213 _ACEOF
17217 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
17218 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
17220 cat >>confdefs.h <<_ACEOF
17221 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
17222 _ACEOF
17226 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
17227 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
17229 cat >>confdefs.h <<_ACEOF
17230 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
17231 _ACEOF
17237 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
17238 #include <sys/types.h>
17239 #endif
17240 #ifdef HAVE_NETINET_IN_H
17241 #include <netinet/in.h>
17242 #endif
17244 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
17246 cat >>confdefs.h <<_ACEOF
17247 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
17248 _ACEOF
17254 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
17255 #include <sys/types.h>
17256 #endif
17257 #ifdef HAVE_NETINET_IN_H
17258 #include <netinet/in.h>
17259 #endif
17260 #ifdef HAVE_RESOLV_H
17261 #include <resolv.h>
17262 #endif
17264 if test "x$ac_cv_type_struct___res_state" = xyes; then :
17266 cat >>confdefs.h <<_ACEOF
17267 #define HAVE_STRUCT___RES_STATE 1
17268 _ACEOF
17274 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
17275 #include <resolv.h>
17276 #endif
17278 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
17280 cat >>confdefs.h <<_ACEOF
17281 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
17282 _ACEOF
17288 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
17289 #include <sys/types.h>
17290 #endif
17291 #ifdef HAVE_NETINET_IN_H
17292 # include <netinet/in.h>
17293 #endif
17294 #ifdef HAVE_ARPA_NAMESER_H
17295 # include <arpa/nameser.h>
17296 #endif
17298 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
17300 cat >>confdefs.h <<_ACEOF
17301 #define HAVE_NS_MSG__MSG_PTR 1
17302 _ACEOF
17308 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
17309 #include <sys/types.h>
17310 #endif
17311 #ifdef HAVE_NETINET_IN_H
17312 #include <netinet/in.h>
17313 #endif
17314 #ifdef HAVE_NETINET_IP_H
17315 #include <netinet/ip.h>
17316 #endif
17317 #ifdef HAVE_NETINET_IP_ICMP_H
17318 #include <netinet/ip_icmp.h>
17319 #endif
17320 #ifdef HAVE_NETINET_ICMP_VAR_H
17321 #include <netinet/icmp_var.h>
17322 #endif
17324 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
17326 cat >>confdefs.h <<_ACEOF
17327 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
17328 _ACEOF
17334 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
17335 #include <sys/types.h>
17336 #endif
17337 #ifdef HAVE_ALIAS_H
17338 #include <alias.h>
17339 #endif
17340 #ifdef HAVE_SYS_SOCKET_H
17341 #include <sys/socket.h>
17342 #endif
17343 #ifdef HAVE_SYS_SOCKETVAR_H
17344 #include <sys/socketvar.h>
17345 #endif
17346 #ifdef HAVE_SYS_TIMEOUT_H
17347 #include <sys/timeout.h>
17348 #endif
17349 #ifdef HAVE_NETINET_IN_H
17350 #include <netinet/in.h>
17351 #endif
17352 #ifdef HAVE_NETINET_IN_SYSTM_H
17353 #include <netinet/in_systm.h>
17354 #endif
17355 #ifdef HAVE_NETINET_IP_H
17356 #include <netinet/ip.h>
17357 #endif
17358 #ifdef HAVE_NETINET_IP_VAR_H
17359 #include <netinet/ip_var.h>
17360 #endif
17361 #ifdef HAVE_NETINET_IP_ICMP_H
17362 #include <netinet/ip_icmp.h>
17363 #endif
17364 #ifdef HAVE_NETINET_ICMP_VAR_H
17365 #include <netinet/icmp_var.h>
17366 #endif
17368 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
17370 cat >>confdefs.h <<_ACEOF
17371 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
17372 _ACEOF
17378 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
17379 #include <sys/types.h>
17380 #endif
17381 #ifdef HAVE_SYS_SOCKETVAR_H
17382 #include <sys/socketvar.h>
17383 #endif
17384 #ifdef HAVE_NETINET_IN_H
17385 #include <netinet/in.h>
17386 #endif
17387 #ifdef HAVE_NETINET_IP_VAR_H
17388 #include <netinet/ip_var.h>
17389 #endif
17391 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
17393 cat >>confdefs.h <<_ACEOF
17394 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
17395 _ACEOF
17401 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
17402 #include <netinet/ip_var.h>
17403 #endif
17405 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
17407 cat >>confdefs.h <<_ACEOF
17408 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
17409 _ACEOF
17415 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
17416 #include <sys/types.h>
17417 #endif
17418 #ifdef HAVE_SYS_SOCKETVAR_H
17419 #include <sys/socketvar.h>
17420 #endif
17421 #ifdef HAVE_NETINET_IN_H
17422 #include <netinet/in.h>
17423 #endif
17424 #ifdef HAVE_NETINET_TCP_H
17425 #include <netinet/tcp.h>
17426 #endif
17427 #ifdef HAVE_NETINET_TCP_VAR_H
17428 #include <netinet/tcp_var.h>
17429 #endif
17431 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
17433 cat >>confdefs.h <<_ACEOF
17434 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
17435 _ACEOF
17441 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
17442 #include <netinet/tcp_var.h>
17443 #endif
17445 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
17447 cat >>confdefs.h <<_ACEOF
17448 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
17449 _ACEOF
17455 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
17456 #include <sys/types.h>
17457 #endif
17458 #ifdef HAVE_NETINET_IN_H
17459 #include <netinet/in.h>
17460 #endif
17461 #ifdef HAVE_NETINET_IP_VAR_H
17462 #include <netinet/ip_var.h>
17463 #endif
17464 #ifdef HAVE_NETINET_UDP_H
17465 #include <netinet/udp.h>
17466 #endif
17467 #ifdef HAVE_NETINET_UDP_VAR_H
17468 #include <netinet/udp_var.h>
17469 #endif
17471 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
17473 cat >>confdefs.h <<_ACEOF
17474 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
17475 _ACEOF
17481 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
17482 #include <sys/types.h>
17483 #endif
17484 #ifdef HAVE_NET_IF_H
17485 # include <net/if.h>
17486 #endif
17488 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
17490 cat >>confdefs.h <<_ACEOF
17491 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
17492 _ACEOF
17498 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
17499 $as_echo_n "checking for timezone variable... " >&6; }
17500 if ${ac_cv_have_timezone+:} false; then :
17501 $as_echo_n "(cached) " >&6
17502 else
17503 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17504 /* end confdefs.h. */
17505 #include <time.h>
17507 main ()
17509 timezone = 1
17511 return 0;
17513 _ACEOF
17514 if ac_fn_c_try_link "$LINENO"; then :
17515 ac_cv_have_timezone="yes"
17516 else
17517 ac_cv_have_timezone="no"
17519 rm -f core conftest.err conftest.$ac_objext \
17520 conftest$ac_exeext conftest.$ac_ext
17522 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
17523 $as_echo "$ac_cv_have_timezone" >&6; }
17524 if test "$ac_cv_have_timezone" = "yes"
17525 then
17527 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
17530 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
17531 $as_echo_n "checking for daylight variable... " >&6; }
17532 if ${ac_cv_have_daylight+:} false; then :
17533 $as_echo_n "(cached) " >&6
17534 else
17535 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17536 /* end confdefs.h. */
17537 #include <time.h>
17539 main ()
17541 daylight = 1
17543 return 0;
17545 _ACEOF
17546 if ac_fn_c_try_link "$LINENO"; then :
17547 ac_cv_have_daylight="yes"
17548 else
17549 ac_cv_have_daylight="no"
17551 rm -f core conftest.err conftest.$ac_objext \
17552 conftest$ac_exeext conftest.$ac_ext
17554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
17555 $as_echo "$ac_cv_have_daylight" >&6; }
17556 if test "$ac_cv_have_daylight" = "yes"
17557 then
17559 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
17563 ac_save_LIBS="$LIBS"
17564 LIBS="$LIBS -lm"
17565 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
17566 $as_echo_n "checking for isfinite... " >&6; }
17567 if ${ac_cv_have_isfinite+:} false; then :
17568 $as_echo_n "(cached) " >&6
17569 else
17570 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17571 /* end confdefs.h. */
17572 #define _GNU_SOURCE
17573 #include <math.h>
17575 main ()
17577 float f = 0.0; return isfinite(f)
17579 return 0;
17581 _ACEOF
17582 if ac_fn_c_try_link "$LINENO"; then :
17583 ac_cv_have_isfinite="yes"
17584 else
17585 ac_cv_have_isfinite="no"
17587 rm -f core conftest.err conftest.$ac_objext \
17588 conftest$ac_exeext conftest.$ac_ext
17590 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
17591 $as_echo "$ac_cv_have_isfinite" >&6; }
17592 if test "$ac_cv_have_isfinite" = "yes"
17593 then
17595 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
17599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
17600 $as_echo_n "checking for isinf... " >&6; }
17601 if ${ac_cv_have_isinf+:} false; then :
17602 $as_echo_n "(cached) " >&6
17603 else
17604 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17605 /* end confdefs.h. */
17606 #include <math.h>
17608 main ()
17610 float f = 0.0; return isinf(f)
17612 return 0;
17614 _ACEOF
17615 if ac_fn_c_try_link "$LINENO"; then :
17616 ac_cv_have_isinf="yes"
17617 else
17618 ac_cv_have_isinf="no"
17620 rm -f core conftest.err conftest.$ac_objext \
17621 conftest$ac_exeext conftest.$ac_ext
17623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
17624 $as_echo "$ac_cv_have_isinf" >&6; }
17625 if test "$ac_cv_have_isinf" = "yes"
17626 then
17628 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
17632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
17633 $as_echo_n "checking for isnan... " >&6; }
17634 if ${ac_cv_have_isnan+:} false; then :
17635 $as_echo_n "(cached) " >&6
17636 else
17637 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17638 /* end confdefs.h. */
17639 #include <math.h>
17641 main ()
17643 float f = 0.0; return isnan(f)
17645 return 0;
17647 _ACEOF
17648 if ac_fn_c_try_link "$LINENO"; then :
17649 ac_cv_have_isnan="yes"
17650 else
17651 ac_cv_have_isnan="no"
17653 rm -f core conftest.err conftest.$ac_objext \
17654 conftest$ac_exeext conftest.$ac_ext
17656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
17657 $as_echo "$ac_cv_have_isnan" >&6; }
17658 if test "$ac_cv_have_isnan" = "yes"
17659 then
17661 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
17665 for ac_func in \
17666 acosh \
17667 acoshf \
17668 asinh \
17669 asinhf \
17670 atanh \
17671 atanhf \
17672 cbrt \
17673 cbrtf \
17674 erf \
17675 erfc \
17676 erfcf \
17677 erff \
17678 exp2 \
17679 exp2f \
17680 expm1 \
17681 expm1f \
17682 j0 \
17683 j1 \
17684 jn \
17685 lgamma \
17686 lgammaf \
17687 llrint \
17688 llrintf \
17689 llround \
17690 llroundf \
17691 log1p \
17692 log1pf \
17693 log2 \
17694 log2f \
17695 lrint \
17696 lrintf \
17697 lround \
17698 lroundf \
17699 nearbyint \
17700 nearbyintf \
17701 powl \
17702 remainder \
17703 remainderf \
17704 rint \
17705 rintf \
17706 round \
17707 roundf \
17708 trunc \
17709 truncf \
17710 y0 \
17711 y1 \
17714 do :
17715 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17716 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17717 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17718 cat >>confdefs.h <<_ACEOF
17719 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17720 _ACEOF
17723 done
17725 LIBS="$ac_save_LIBS"
17727 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
17728 $as_echo_n "checking for __builtin_clz... " >&6; }
17729 if ${ac_cv_have___builtin_clz+:} false; then :
17730 $as_echo_n "(cached) " >&6
17731 else
17732 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17733 /* end confdefs.h. */
17736 main ()
17738 return __builtin_clz(1)
17740 return 0;
17742 _ACEOF
17743 if ac_fn_c_try_link "$LINENO"; then :
17744 ac_cv_have___builtin_clz="yes"
17745 else
17746 ac_cv_have___builtin_clz="no"
17748 rm -f core conftest.err conftest.$ac_objext \
17749 conftest$ac_exeext conftest.$ac_ext
17751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
17752 $as_echo "$ac_cv_have___builtin_clz" >&6; }
17753 if test "$ac_cv_have___builtin_clz" = "yes"
17754 then
17756 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
17760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
17761 $as_echo_n "checking for __builtin_popcount... " >&6; }
17762 if ${ac_cv_have___builtin_popcount+:} false; then :
17763 $as_echo_n "(cached) " >&6
17764 else
17765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17766 /* end confdefs.h. */
17769 main ()
17771 return __builtin_popcount(1)
17773 return 0;
17775 _ACEOF
17776 if ac_fn_c_try_link "$LINENO"; then :
17777 ac_cv_have___builtin_popcount="yes"
17778 else
17779 ac_cv_have___builtin_popcount="no"
17781 rm -f core conftest.err conftest.$ac_objext \
17782 conftest$ac_exeext conftest.$ac_ext
17784 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
17785 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
17786 if test "$ac_cv_have___builtin_popcount" = "yes"
17787 then
17789 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
17793 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
17794 $as_echo_n "checking for __clear_cache... " >&6; }
17795 if ${ac_cv_have___clear_cache+:} false; then :
17796 $as_echo_n "(cached) " >&6
17797 else
17798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17799 /* end confdefs.h. */
17802 main ()
17804 __clear_cache((void*)0, (void*)0); return 0;
17806 return 0;
17808 _ACEOF
17809 if ac_fn_c_try_link "$LINENO"; then :
17810 ac_cv_have___clear_cache="yes"
17811 else
17812 ac_cv_have___clear_cache="no"
17814 rm -f core conftest.err conftest.$ac_objext \
17815 conftest$ac_exeext conftest.$ac_ext
17817 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
17818 $as_echo "$ac_cv_have___clear_cache" >&6; }
17819 if test "$ac_cv_have___clear_cache" = "yes"
17820 then
17822 $as_echo "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
17827 case $host_cpu in
17828 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
17829 $as_echo_n "checking whether we need to define __i386__... " >&6; }
17830 if ${ac_cv_cpp_def___i386__+:} false; then :
17831 $as_echo_n "(cached) " >&6
17832 else
17833 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17834 /* end confdefs.h. */
17835 #ifndef __i386__
17837 #endif
17838 _ACEOF
17839 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17840 $EGREP "yes" >/dev/null 2>&1; then :
17841 ac_cv_cpp_def___i386__=yes
17842 else
17843 ac_cv_cpp_def___i386__=no
17845 rm -f conftest*
17848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
17849 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
17850 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
17851 CFLAGS="$CFLAGS -D__i386__"
17852 LINTFLAGS="$LINTFLAGS -D__i386__"
17853 fi ;;
17854 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
17855 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
17856 if ${ac_cv_cpp_def___x86_64__+:} false; then :
17857 $as_echo_n "(cached) " >&6
17858 else
17859 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17860 /* end confdefs.h. */
17861 #ifndef __x86_64__
17863 #endif
17864 _ACEOF
17865 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17866 $EGREP "yes" >/dev/null 2>&1; then :
17867 ac_cv_cpp_def___x86_64__=yes
17868 else
17869 ac_cv_cpp_def___x86_64__=no
17871 rm -f conftest*
17874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
17875 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
17876 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
17877 CFLAGS="$CFLAGS -D__x86_64__"
17878 LINTFLAGS="$LINTFLAGS -D__x86_64__"
17879 fi ;;
17880 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
17881 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
17882 if ${ac_cv_cpp_def___sparc64__+:} false; then :
17883 $as_echo_n "(cached) " >&6
17884 else
17885 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17886 /* end confdefs.h. */
17887 #ifndef __sparc64__
17889 #endif
17890 _ACEOF
17891 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17892 $EGREP "yes" >/dev/null 2>&1; then :
17893 ac_cv_cpp_def___sparc64__=yes
17894 else
17895 ac_cv_cpp_def___sparc64__=no
17897 rm -f conftest*
17900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
17901 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
17902 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
17903 CFLAGS="$CFLAGS -D__sparc64__"
17904 LINTFLAGS="$LINTFLAGS -D__sparc64__"
17905 fi ;;
17906 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
17907 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
17908 if ${ac_cv_cpp_def___sparc__+:} false; then :
17909 $as_echo_n "(cached) " >&6
17910 else
17911 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17912 /* end confdefs.h. */
17913 #ifndef __sparc__
17915 #endif
17916 _ACEOF
17917 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17918 $EGREP "yes" >/dev/null 2>&1; then :
17919 ac_cv_cpp_def___sparc__=yes
17920 else
17921 ac_cv_cpp_def___sparc__=no
17923 rm -f conftest*
17926 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
17927 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
17928 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
17929 CFLAGS="$CFLAGS -D__sparc__"
17930 LINTFLAGS="$LINTFLAGS -D__sparc__"
17931 fi ;;
17932 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
17933 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
17934 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
17935 $as_echo_n "(cached) " >&6
17936 else
17937 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17938 /* end confdefs.h. */
17939 #ifndef __powerpc64__
17941 #endif
17942 _ACEOF
17943 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17944 $EGREP "yes" >/dev/null 2>&1; then :
17945 ac_cv_cpp_def___powerpc64__=yes
17946 else
17947 ac_cv_cpp_def___powerpc64__=no
17949 rm -f conftest*
17952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
17953 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
17954 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
17955 CFLAGS="$CFLAGS -D__powerpc64__"
17956 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
17957 fi ;;
17958 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
17959 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
17960 if ${ac_cv_cpp_def___powerpc__+:} false; then :
17961 $as_echo_n "(cached) " >&6
17962 else
17963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17964 /* end confdefs.h. */
17965 #ifndef __powerpc__
17967 #endif
17968 _ACEOF
17969 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17970 $EGREP "yes" >/dev/null 2>&1; then :
17971 ac_cv_cpp_def___powerpc__=yes
17972 else
17973 ac_cv_cpp_def___powerpc__=no
17975 rm -f conftest*
17978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
17979 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
17980 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
17981 CFLAGS="$CFLAGS -D__powerpc__"
17982 LINTFLAGS="$LINTFLAGS -D__powerpc__"
17983 fi ;;
17984 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
17985 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
17986 if ${ac_cv_cpp_def___aarch64__+:} false; then :
17987 $as_echo_n "(cached) " >&6
17988 else
17989 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17990 /* end confdefs.h. */
17991 #ifndef __aarch64__
17993 #endif
17994 _ACEOF
17995 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17996 $EGREP "yes" >/dev/null 2>&1; then :
17997 ac_cv_cpp_def___aarch64__=yes
17998 else
17999 ac_cv_cpp_def___aarch64__=no
18001 rm -f conftest*
18004 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
18005 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
18006 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
18007 CFLAGS="$CFLAGS -D__aarch64__"
18008 LINTFLAGS="$LINTFLAGS -D__aarch64__"
18009 fi ;;
18010 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
18011 $as_echo_n "checking whether we need to define __arm__... " >&6; }
18012 if ${ac_cv_cpp_def___arm__+:} false; then :
18013 $as_echo_n "(cached) " >&6
18014 else
18015 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18016 /* end confdefs.h. */
18017 #ifndef __arm__
18019 #endif
18020 _ACEOF
18021 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18022 $EGREP "yes" >/dev/null 2>&1; then :
18023 ac_cv_cpp_def___arm__=yes
18024 else
18025 ac_cv_cpp_def___arm__=no
18027 rm -f conftest*
18030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
18031 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
18032 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
18033 CFLAGS="$CFLAGS -D__arm__"
18034 LINTFLAGS="$LINTFLAGS -D__arm__"
18035 fi ;;
18036 esac
18038 case $host_vendor in
18039 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
18040 $as_echo_n "checking whether we need to define __sun__... " >&6; }
18041 if ${ac_cv_cpp_def___sun__+:} false; then :
18042 $as_echo_n "(cached) " >&6
18043 else
18044 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18045 /* end confdefs.h. */
18046 #ifndef __sun__
18048 #endif
18049 _ACEOF
18050 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18051 $EGREP "yes" >/dev/null 2>&1; then :
18052 ac_cv_cpp_def___sun__=yes
18053 else
18054 ac_cv_cpp_def___sun__=no
18056 rm -f conftest*
18059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
18060 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
18061 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
18062 CFLAGS="$CFLAGS -D__sun__"
18063 LINTFLAGS="$LINTFLAGS -D__sun__"
18064 fi ;;
18065 esac
18071 ac_config_commands="$ac_config_commands include/stamp-h"
18073 $as_echo_n "creating Makefile rules..." >&6
18075 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
18076 SOCKET_LIBS = $SOCKET_LIBS
18077 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
18078 IOKIT_LIBS = $IOKIT_LIBS
18079 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
18080 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
18081 CORESERVICES_LIBS = $CORESERVICES_LIBS
18082 APPKIT_LIBS = $APPKIT_LIBS
18083 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
18084 SECURITY_LIBS = $SECURITY_LIBS
18085 COREAUDIO_LIBS = $COREAUDIO_LIBS
18086 OPENAL_LIBS = $OPENAL_LIBS
18087 OPENCL_LIBS = $OPENCL_LIBS
18088 QUICKTIME_LIBS = $QUICKTIME_LIBS
18089 CARBON_LIBS = $CARBON_LIBS
18090 PTHREAD_LIBS = $PTHREAD_LIBS
18091 X_CFLAGS = $X_CFLAGS
18092 X_PRE_LIBS = $X_PRE_LIBS
18093 X_LIBS = $X_LIBS
18094 X_EXTRA_LIBS = $X_EXTRA_LIBS
18095 PCAP_LIBS = $PCAP_LIBS
18096 XML2_CFLAGS = $XML2_CFLAGS
18097 XML2_LIBS = $XML2_LIBS
18098 XSLT_CFLAGS = $XSLT_CFLAGS
18099 XSLT_LIBS = $XSLT_LIBS
18100 DBUS_CFLAGS = $DBUS_CFLAGS
18101 DBUS_LIBS = $DBUS_LIBS
18102 HAL_CFLAGS = $HAL_CFLAGS
18103 HAL_LIBS = $HAL_LIBS
18104 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
18105 GNUTLS_LIBS = $GNUTLS_LIBS
18106 SANE_CFLAGS = $SANE_CFLAGS
18107 SANE_LIBS = $SANE_LIBS
18108 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
18109 GPHOTO2_LIBS = $GPHOTO2_LIBS
18110 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
18111 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
18112 RESOLV_LIBS = $RESOLV_LIBS
18113 LCMS2_CFLAGS = $LCMS2_CFLAGS
18114 LCMS2_LIBS = $LCMS2_LIBS
18115 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
18116 FREETYPE_LIBS = $FREETYPE_LIBS
18117 Z_LIBS = $Z_LIBS
18118 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
18119 PULSE_CFLAGS = $PULSE_CFLAGS
18120 PULSE_LIBS = $PULSE_LIBS
18121 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
18122 GSTREAMER_LIBS = $GSTREAMER_LIBS
18123 ALSA_LIBS = $ALSA_LIBS
18124 OSS4_CFLAGS = $OSS4_CFLAGS
18125 UDEV_CFLAGS = $UDEV_CFLAGS
18126 UDEV_LIBS = $UDEV_LIBS
18127 SDL2_CFLAGS = $SDL2_CFLAGS
18128 SDL2_LIBS = $SDL2_LIBS
18129 CAPI20_CFLAGS = $CAPI20_CFLAGS
18130 CAPI20_LIBS = $CAPI20_LIBS
18131 CUPS_CFLAGS = $CUPS_CFLAGS
18132 CUPS_LIBS = $CUPS_LIBS
18133 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
18134 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
18135 KRB5_CFLAGS = $KRB5_CFLAGS
18136 KRB5_LIBS = $KRB5_LIBS
18137 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
18138 GSSAPI_LIBS = $GSSAPI_LIBS
18139 JPEG_CFLAGS = $JPEG_CFLAGS
18140 JPEG_LIBS = $JPEG_LIBS
18141 PNG_CFLAGS = $PNG_CFLAGS
18142 PNG_LIBS = $PNG_LIBS
18143 TIFF_CFLAGS = $TIFF_CFLAGS
18144 TIFF_LIBS = $TIFF_LIBS
18145 MPG123_CFLAGS = $MPG123_CFLAGS
18146 MPG123_LIBS = $MPG123_LIBS
18147 KSTAT_LIBS = $KSTAT_LIBS
18148 PROCSTAT_LIBS = $PROCSTAT_LIBS
18149 NETAPI_CFLAGS = $NETAPI_CFLAGS
18150 NETAPI_LIBS = $NETAPI_LIBS
18151 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
18152 DL_LIBS = $DL_LIBS
18153 POLL_LIBS = $POLL_LIBS
18154 RT_LIBS = $RT_LIBS
18155 LDAP_CFLAGS = $LDAP_CFLAGS
18156 LDAP_LIBS = $LDAP_LIBS
18161 wine_fn_append_rule "
18162 # Rules automatically generated by configure
18164 .INIT: Makefile
18165 .MAKEFILEDEPS:
18166 all: Makefile
18167 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
18168 @./config.status Make.tmp Makefile
18169 depend: \$(MAKEDEP) dummy
18170 \$(MAKEDEP)"
18172 if test "x$enable_fonts" != xno; then
18173 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
18174 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
18175 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
18176 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
18177 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
18178 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
18180 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
18181 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
18182 ac_config_links="$ac_config_links wine:tools/winewrapper"
18183 wine_fn_config_symlink wine
18184 if test "x$enable_win64" != xno; then
18185 ac_config_links="$ac_config_links wine64:tools/winewrapper"
18186 wine_fn_config_symlink wine64
18189 wine_fn_config_makefile dlls/acledit enable_acledit
18190 wine_fn_config_makefile dlls/aclui enable_aclui
18191 wine_fn_config_makefile dlls/activeds enable_activeds
18192 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
18193 wine_fn_config_makefile dlls/adsiid enable_adsiid
18194 wine_fn_config_makefile dlls/adsldp enable_adsldp
18195 wine_fn_config_makefile dlls/adsldp/tests enable_tests
18196 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
18197 wine_fn_config_makefile dlls/advapi32 enable_advapi32
18198 wine_fn_config_makefile dlls/advapi32/tests enable_tests
18199 wine_fn_config_makefile dlls/advpack enable_advpack
18200 wine_fn_config_makefile dlls/advpack/tests enable_tests
18201 wine_fn_config_makefile dlls/amstream enable_amstream
18202 wine_fn_config_makefile dlls/amstream/tests enable_tests
18203 wine_fn_config_makefile dlls/api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
18204 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
18205 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
18206 wine_fn_config_makefile dlls/api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
18207 wine_fn_config_makefile dlls/api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
18208 wine_fn_config_makefile dlls/api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
18209 wine_fn_config_makefile dlls/api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
18210 wine_fn_config_makefile dlls/api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
18211 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
18212 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
18213 wine_fn_config_makefile dlls/api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
18214 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
18215 wine_fn_config_makefile dlls/api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
18216 wine_fn_config_makefile dlls/api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
18217 wine_fn_config_makefile dlls/api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
18218 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
18219 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
18220 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
18221 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
18222 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
18223 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
18224 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
18225 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
18226 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
18227 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
18228 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
18229 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
18230 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
18231 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
18232 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
18233 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
18234 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
18235 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
18236 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
18237 wine_fn_config_makefile dlls/api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
18238 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
18239 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
18240 wine_fn_config_makefile dlls/api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
18241 wine_fn_config_makefile dlls/api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
18242 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
18243 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
18244 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
18245 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
18246 wine_fn_config_makefile dlls/api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
18247 wine_fn_config_makefile dlls/api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
18248 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
18249 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
18250 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
18251 wine_fn_config_makefile dlls/api-ms-win-core-largeinteger-l1-1-0 enable_api_ms_win_core_largeinteger_l1_1_0
18252 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
18253 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
18254 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
18255 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
18256 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
18257 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
18258 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
18259 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
18260 wine_fn_config_makefile dlls/api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
18261 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
18262 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
18263 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
18264 wine_fn_config_makefile dlls/api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
18265 wine_fn_config_makefile dlls/api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
18266 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
18267 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
18268 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
18269 wine_fn_config_makefile dlls/api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
18270 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
18271 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
18272 wine_fn_config_makefile dlls/api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
18273 wine_fn_config_makefile dlls/api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
18274 wine_fn_config_makefile dlls/api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
18275 wine_fn_config_makefile dlls/api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
18276 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
18277 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
18278 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
18279 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
18280 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
18281 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
18282 wine_fn_config_makefile dlls/api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
18283 wine_fn_config_makefile dlls/api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
18284 wine_fn_config_makefile dlls/api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
18285 wine_fn_config_makefile dlls/api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
18286 wine_fn_config_makefile dlls/api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
18287 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
18288 wine_fn_config_makefile dlls/api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
18289 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
18290 wine_fn_config_makefile dlls/api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
18291 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
18292 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
18293 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
18294 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
18295 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
18296 wine_fn_config_makefile dlls/api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
18297 wine_fn_config_makefile dlls/api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
18298 wine_fn_config_makefile dlls/api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
18299 wine_fn_config_makefile dlls/api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
18300 wine_fn_config_makefile dlls/api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
18301 wine_fn_config_makefile dlls/api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
18302 wine_fn_config_makefile dlls/api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
18303 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
18304 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
18305 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
18306 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
18307 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
18308 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
18309 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
18310 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
18311 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
18312 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
18313 wine_fn_config_makefile dlls/api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
18314 wine_fn_config_makefile dlls/api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
18315 wine_fn_config_makefile dlls/api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
18316 wine_fn_config_makefile dlls/api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
18317 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
18318 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
18319 wine_fn_config_makefile dlls/api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
18320 wine_fn_config_makefile dlls/api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
18321 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
18322 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
18323 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
18324 wine_fn_config_makefile dlls/api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
18325 wine_fn_config_makefile dlls/api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
18326 wine_fn_config_makefile dlls/api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
18327 wine_fn_config_makefile dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
18328 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
18329 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
18330 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
18331 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
18332 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
18333 wine_fn_config_makefile dlls/api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
18334 wine_fn_config_makefile dlls/api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
18335 wine_fn_config_makefile dlls/api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
18336 wine_fn_config_makefile dlls/api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
18337 wine_fn_config_makefile dlls/api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
18338 wine_fn_config_makefile dlls/api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
18339 wine_fn_config_makefile dlls/api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
18340 wine_fn_config_makefile dlls/api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
18341 wine_fn_config_makefile dlls/api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
18342 wine_fn_config_makefile dlls/api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
18343 wine_fn_config_makefile dlls/api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
18344 wine_fn_config_makefile dlls/api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
18345 wine_fn_config_makefile dlls/api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
18346 wine_fn_config_makefile dlls/api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
18347 wine_fn_config_makefile dlls/api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
18348 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
18349 wine_fn_config_makefile dlls/api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
18350 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
18351 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
18352 wine_fn_config_makefile dlls/api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
18353 wine_fn_config_makefile dlls/api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
18354 wine_fn_config_makefile dlls/api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
18355 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
18356 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
18357 wine_fn_config_makefile dlls/api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
18358 wine_fn_config_makefile dlls/api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
18359 wine_fn_config_makefile dlls/api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
18360 wine_fn_config_makefile dlls/api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
18361 wine_fn_config_makefile dlls/api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
18362 wine_fn_config_makefile dlls/api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
18363 wine_fn_config_makefile dlls/api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
18364 wine_fn_config_makefile dlls/api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
18365 wine_fn_config_makefile dlls/api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
18366 wine_fn_config_makefile dlls/api-ms-win-gdi-dpiinfo-l1-1-0 enable_api_ms_win_gdi_dpiinfo_l1_1_0
18367 wine_fn_config_makefile dlls/api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
18368 wine_fn_config_makefile dlls/api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
18369 wine_fn_config_makefile dlls/api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
18370 wine_fn_config_makefile dlls/api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
18371 wine_fn_config_makefile dlls/api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
18372 wine_fn_config_makefile dlls/api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
18373 wine_fn_config_makefile dlls/api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
18374 wine_fn_config_makefile dlls/api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
18375 wine_fn_config_makefile dlls/api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
18376 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-draw-l1-1-0 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
18377 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
18378 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-4 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
18379 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-window-l1-1-0 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
18380 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-winevent-l1-1-0 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
18381 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
18382 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-3 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
18383 wine_fn_config_makefile dlls/api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
18384 wine_fn_config_makefile dlls/api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
18385 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
18386 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
18387 wine_fn_config_makefile dlls/api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
18388 wine_fn_config_makefile dlls/api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
18389 wine_fn_config_makefile dlls/api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
18390 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
18391 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
18392 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
18393 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
18394 wine_fn_config_makefile dlls/api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
18395 wine_fn_config_makefile dlls/api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
18396 wine_fn_config_makefile dlls/api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
18397 wine_fn_config_makefile dlls/api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
18398 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
18399 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
18400 wine_fn_config_makefile dlls/api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
18401 wine_fn_config_makefile dlls/api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
18402 wine_fn_config_makefile dlls/api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
18403 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
18404 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
18405 wine_fn_config_makefile dlls/api-ms-win-shcore-obsolete-l1-1-0 enable_api_ms_win_shcore_obsolete_l1_1_0
18406 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
18407 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-l1-1-0 enable_api_ms_win_shcore_stream_l1_1_0
18408 wine_fn_config_makefile dlls/api-ms-win-shcore-thread-l1-1-0 enable_api_ms_win_shcore_thread_l1_1_0
18409 wine_fn_config_makefile dlls/api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
18410 wine_fn_config_makefile dlls/api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
18411 wine_fn_config_makefile dlls/apphelp enable_apphelp
18412 wine_fn_config_makefile dlls/apphelp/tests enable_tests
18413 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
18414 wine_fn_config_makefile dlls/atl enable_atl
18415 wine_fn_config_makefile dlls/atl/tests enable_tests
18416 wine_fn_config_makefile dlls/atl100 enable_atl100
18417 wine_fn_config_makefile dlls/atl100/tests enable_tests
18418 wine_fn_config_makefile dlls/atl110 enable_atl110
18419 wine_fn_config_makefile dlls/atl80 enable_atl80
18420 wine_fn_config_makefile dlls/atl80/tests enable_tests
18421 wine_fn_config_makefile dlls/atl90 enable_atl90
18422 wine_fn_config_makefile dlls/authz enable_authz
18423 wine_fn_config_makefile dlls/avicap32 enable_avicap32
18424 wine_fn_config_makefile dlls/avifil32 enable_avifil32
18425 wine_fn_config_makefile dlls/avifil32/tests enable_tests
18426 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
18427 wine_fn_config_makefile dlls/avrt enable_avrt
18428 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
18429 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
18430 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
18431 wine_fn_config_makefile dlls/browseui enable_browseui
18432 wine_fn_config_makefile dlls/browseui/tests enable_tests
18433 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
18434 wine_fn_config_makefile dlls/cabinet enable_cabinet
18435 wine_fn_config_makefile dlls/cabinet/tests enable_tests
18436 wine_fn_config_makefile dlls/capi2032 enable_capi2032
18437 wine_fn_config_makefile dlls/cards enable_cards
18438 wine_fn_config_makefile dlls/cdosys enable_cdosys
18439 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
18440 wine_fn_config_makefile dlls/clusapi enable_clusapi
18441 wine_fn_config_makefile dlls/combase enable_combase
18442 wine_fn_config_makefile dlls/combase/tests enable_tests
18443 wine_fn_config_makefile dlls/comcat enable_comcat
18444 wine_fn_config_makefile dlls/comcat/tests enable_tests
18445 wine_fn_config_makefile dlls/comctl32 enable_comctl32
18446 wine_fn_config_makefile dlls/comctl32/tests enable_tests
18447 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
18448 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
18449 wine_fn_config_makefile dlls/comm.drv16 enable_win16
18450 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
18451 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
18452 wine_fn_config_makefile dlls/compstui enable_compstui
18453 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
18454 wine_fn_config_makefile dlls/concrt140 enable_concrt140
18455 wine_fn_config_makefile dlls/connect enable_connect
18456 wine_fn_config_makefile dlls/credui enable_credui
18457 wine_fn_config_makefile dlls/credui/tests enable_tests
18458 wine_fn_config_makefile dlls/crtdll enable_crtdll
18459 wine_fn_config_makefile dlls/crypt32 enable_crypt32
18460 wine_fn_config_makefile dlls/crypt32/tests enable_tests
18461 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
18462 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
18463 wine_fn_config_makefile dlls/cryptext enable_cryptext
18464 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
18465 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
18466 wine_fn_config_makefile dlls/cryptui enable_cryptui
18467 wine_fn_config_makefile dlls/cryptui/tests enable_tests
18468 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
18469 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
18470 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
18471 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
18472 wine_fn_config_makefile dlls/d2d1 enable_d2d1
18473 wine_fn_config_makefile dlls/d2d1/tests enable_tests
18474 wine_fn_config_makefile dlls/d3d10 enable_d3d10
18475 wine_fn_config_makefile dlls/d3d10/tests enable_tests
18476 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
18477 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
18478 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
18479 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
18480 wine_fn_config_makefile dlls/d3d11 enable_d3d11
18481 wine_fn_config_makefile dlls/d3d11/tests enable_tests
18482 wine_fn_config_makefile dlls/d3d12 enable_d3d12
18483 wine_fn_config_makefile dlls/d3d12/tests enable_tests
18484 wine_fn_config_makefile dlls/d3d8 enable_d3d8
18485 wine_fn_config_makefile dlls/d3d8/tests enable_tests
18486 wine_fn_config_makefile dlls/d3d9 enable_d3d9
18487 wine_fn_config_makefile dlls/d3d9/tests enable_tests
18488 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
18489 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
18490 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
18491 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
18492 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
18493 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
18494 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
18495 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
18496 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
18497 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
18498 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
18499 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
18500 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
18501 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
18502 wine_fn_config_makefile dlls/d3dim enable_d3dim
18503 wine_fn_config_makefile dlls/d3drm enable_d3drm
18504 wine_fn_config_makefile dlls/d3drm/tests enable_tests
18505 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
18506 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
18507 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
18508 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
18509 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
18510 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
18511 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
18512 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
18513 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
18514 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
18515 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
18516 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
18517 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
18518 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
18519 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
18520 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
18521 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
18522 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
18523 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
18524 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
18525 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
18526 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
18527 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
18528 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
18529 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
18530 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
18531 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
18532 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
18533 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
18534 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
18535 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
18536 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
18537 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
18538 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
18539 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
18540 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
18541 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
18542 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
18543 wine_fn_config_makefile dlls/davclnt enable_davclnt
18544 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
18545 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
18546 wine_fn_config_makefile dlls/dciman32 enable_dciman32
18547 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
18548 wine_fn_config_makefile dlls/ddraw enable_ddraw
18549 wine_fn_config_makefile dlls/ddraw/tests enable_tests
18550 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
18551 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
18552 wine_fn_config_makefile dlls/devenum enable_devenum
18553 wine_fn_config_makefile dlls/devenum/tests enable_tests
18554 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
18555 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
18556 wine_fn_config_makefile dlls/difxapi enable_difxapi
18557 wine_fn_config_makefile dlls/dinput enable_dinput
18558 wine_fn_config_makefile dlls/dinput/tests enable_tests
18559 wine_fn_config_makefile dlls/dinput8 enable_dinput8
18560 wine_fn_config_makefile dlls/dinput8/tests enable_tests
18561 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
18562 wine_fn_config_makefile dlls/dispex enable_dispex
18563 wine_fn_config_makefile dlls/dispex/tests enable_tests
18564 wine_fn_config_makefile dlls/display.drv16 enable_win16
18565 wine_fn_config_makefile dlls/dmband enable_dmband
18566 wine_fn_config_makefile dlls/dmband/tests enable_tests
18567 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
18568 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
18569 wine_fn_config_makefile dlls/dmime enable_dmime
18570 wine_fn_config_makefile dlls/dmime/tests enable_tests
18571 wine_fn_config_makefile dlls/dmloader enable_dmloader
18572 wine_fn_config_makefile dlls/dmloader/tests enable_tests
18573 wine_fn_config_makefile dlls/dmscript enable_dmscript
18574 wine_fn_config_makefile dlls/dmscript/tests enable_tests
18575 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
18576 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
18577 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
18578 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
18579 wine_fn_config_makefile dlls/dmusic enable_dmusic
18580 wine_fn_config_makefile dlls/dmusic/tests enable_tests
18581 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
18582 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
18583 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
18584 wine_fn_config_makefile dlls/dplay enable_dplay
18585 wine_fn_config_makefile dlls/dplayx enable_dplayx
18586 wine_fn_config_makefile dlls/dplayx/tests enable_tests
18587 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
18588 wine_fn_config_makefile dlls/dpnet enable_dpnet
18589 wine_fn_config_makefile dlls/dpnet/tests enable_tests
18590 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
18591 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
18592 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
18593 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
18594 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
18595 wine_fn_config_makefile dlls/drmclien enable_drmclien
18596 wine_fn_config_makefile dlls/dsound enable_dsound
18597 wine_fn_config_makefile dlls/dsound/tests enable_tests
18598 wine_fn_config_makefile dlls/dsquery enable_dsquery
18599 wine_fn_config_makefile dlls/dssenh enable_dssenh
18600 wine_fn_config_makefile dlls/dssenh/tests enable_tests
18601 wine_fn_config_makefile dlls/dswave enable_dswave
18602 wine_fn_config_makefile dlls/dswave/tests enable_tests
18603 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
18604 wine_fn_config_makefile dlls/dwrite enable_dwrite
18605 wine_fn_config_makefile dlls/dwrite/tests enable_tests
18606 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
18607 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
18608 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
18609 wine_fn_config_makefile dlls/dxerr8 enable_dxerr8
18610 wine_fn_config_makefile dlls/dxerr9 enable_dxerr9
18611 wine_fn_config_makefile dlls/dxgi enable_dxgi
18612 wine_fn_config_makefile dlls/dxgi/tests enable_tests
18613 wine_fn_config_makefile dlls/dxguid enable_dxguid
18614 wine_fn_config_makefile dlls/dxva2 enable_dxva2
18615 wine_fn_config_makefile dlls/esent enable_esent
18616 wine_fn_config_makefile dlls/evr enable_evr
18617 wine_fn_config_makefile dlls/evr/tests enable_tests
18618 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
18619 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
18620 wine_fn_config_makefile dlls/ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
18621 wine_fn_config_makefile dlls/ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
18622 wine_fn_config_makefile dlls/ext-ms-win-dwmapi-ext-l1-1-0 enable_ext_ms_win_dwmapi_ext_l1_1_0
18623 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
18624 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
18625 wine_fn_config_makefile dlls/ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
18626 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
18627 wine_fn_config_makefile dlls/ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
18628 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
18629 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
18630 wine_fn_config_makefile dlls/ext-ms-win-ntuser-draw-l1-1-0 enable_ext_ms_win_ntuser_draw_l1_1_0
18631 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-3-0 enable_ext_ms_win_ntuser_gui_l1_3_0
18632 wine_fn_config_makefile dlls/ext-ms-win-ntuser-keyboard-l1-3-0 enable_ext_ms_win_ntuser_keyboard_l1_3_0
18633 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
18634 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-5-1 enable_ext_ms_win_ntuser_misc_l1_5_1
18635 wine_fn_config_makefile dlls/ext-ms-win-ntuser-mouse-l1-1-0 enable_ext_ms_win_ntuser_mouse_l1_1_0
18636 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
18637 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-3-1 enable_ext_ms_win_ntuser_private_l1_3_1
18638 wine_fn_config_makefile dlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
18639 wine_fn_config_makefile dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
18640 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
18641 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-4 enable_ext_ms_win_ntuser_window_l1_1_4
18642 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
18643 wine_fn_config_makefile dlls/ext-ms-win-oleacc-l1-1-0 enable_ext_ms_win_oleacc_l1_1_0
18644 wine_fn_config_makefile dlls/ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
18645 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-devcaps-l1-1-0 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
18646 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
18647 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
18648 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-cursor-l1-1-0 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
18649 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
18650 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
18651 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-2-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
18652 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-rawinput-l1-1-0 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
18653 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-syscolors-l1-1-0 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
18654 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
18655 wine_fn_config_makefile dlls/ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
18656 wine_fn_config_makefile dlls/ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
18657 wine_fn_config_makefile dlls/faultrep enable_faultrep
18658 wine_fn_config_makefile dlls/faultrep/tests enable_tests
18659 wine_fn_config_makefile dlls/fltlib enable_fltlib
18660 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
18661 wine_fn_config_makefile dlls/fntcache enable_fntcache
18662 wine_fn_config_makefile dlls/fontsub enable_fontsub
18663 wine_fn_config_makefile dlls/fusion enable_fusion
18664 wine_fn_config_makefile dlls/fusion/tests enable_tests
18665 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
18666 wine_fn_config_makefile dlls/gameux enable_gameux
18667 wine_fn_config_makefile dlls/gameux/tests enable_tests
18668 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
18669 wine_fn_config_makefile dlls/gdi32 enable_gdi32
18670 wine_fn_config_makefile dlls/gdi32/tests enable_tests
18671 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
18672 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
18673 wine_fn_config_makefile dlls/glu32 enable_glu32
18674 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
18675 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
18676 wine_fn_config_makefile dlls/hal enable_hal
18677 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
18678 wine_fn_config_makefile dlls/hid enable_hid
18679 wine_fn_config_makefile dlls/hid/tests enable_tests
18680 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
18681 wine_fn_config_makefile dlls/hlink enable_hlink
18682 wine_fn_config_makefile dlls/hlink/tests enable_tests
18683 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
18684 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
18685 wine_fn_config_makefile dlls/httpapi enable_httpapi
18686 wine_fn_config_makefile dlls/httpapi/tests enable_tests
18687 wine_fn_config_makefile dlls/iccvid enable_iccvid
18688 wine_fn_config_makefile dlls/icmp enable_icmp
18689 wine_fn_config_makefile dlls/ieframe enable_ieframe
18690 wine_fn_config_makefile dlls/ieframe/tests enable_tests
18691 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
18692 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
18693 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
18694 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
18695 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
18696 wine_fn_config_makefile dlls/imm.dll16 enable_win16
18697 wine_fn_config_makefile dlls/imm32 enable_imm32
18698 wine_fn_config_makefile dlls/imm32/tests enable_tests
18699 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
18700 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
18701 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
18702 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
18703 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
18704 wine_fn_config_makefile dlls/infosoft enable_infosoft
18705 wine_fn_config_makefile dlls/infosoft/tests enable_tests
18706 wine_fn_config_makefile dlls/initpki enable_initpki
18707 wine_fn_config_makefile dlls/inkobj enable_inkobj
18708 wine_fn_config_makefile dlls/inseng enable_inseng
18709 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
18710 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
18711 wine_fn_config_makefile dlls/iprop enable_iprop
18712 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
18713 wine_fn_config_makefile dlls/itircl enable_itircl
18714 wine_fn_config_makefile dlls/itss enable_itss
18715 wine_fn_config_makefile dlls/itss/tests enable_tests
18716 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
18717 wine_fn_config_makefile dlls/jscript enable_jscript
18718 wine_fn_config_makefile dlls/jscript/tests enable_tests
18719 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
18720 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
18721 wine_fn_config_makefile dlls/kerberos enable_kerberos
18722 wine_fn_config_makefile dlls/kernel32 enable_kernel32
18723 wine_fn_config_makefile dlls/kernel32/tests enable_tests
18724 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
18725 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
18726 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
18727 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
18728 wine_fn_config_makefile dlls/ksuser enable_ksuser
18729 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
18730 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
18731 wine_fn_config_makefile dlls/loadperf enable_loadperf
18732 wine_fn_config_makefile dlls/localspl enable_localspl
18733 wine_fn_config_makefile dlls/localspl/tests enable_tests
18734 wine_fn_config_makefile dlls/localui enable_localui
18735 wine_fn_config_makefile dlls/localui/tests enable_tests
18736 wine_fn_config_makefile dlls/lz32 enable_lz32
18737 wine_fn_config_makefile dlls/lz32/tests enable_tests
18738 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
18739 wine_fn_config_makefile dlls/mapi32 enable_mapi32
18740 wine_fn_config_makefile dlls/mapi32/tests enable_tests
18741 wine_fn_config_makefile dlls/mapistub enable_mapistub
18742 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
18743 wine_fn_config_makefile dlls/mcicda enable_mcicda
18744 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
18745 wine_fn_config_makefile dlls/mciseq enable_mciseq
18746 wine_fn_config_makefile dlls/mciwave enable_mciwave
18747 wine_fn_config_makefile dlls/mf enable_mf
18748 wine_fn_config_makefile dlls/mf/tests enable_tests
18749 wine_fn_config_makefile dlls/mf3216 enable_mf3216
18750 wine_fn_config_makefile dlls/mfplat enable_mfplat
18751 wine_fn_config_makefile dlls/mfplat/tests enable_tests
18752 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
18753 wine_fn_config_makefile dlls/mfuuid enable_mfuuid
18754 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
18755 wine_fn_config_makefile dlls/midimap enable_midimap
18756 wine_fn_config_makefile dlls/mlang enable_mlang
18757 wine_fn_config_makefile dlls/mlang/tests enable_tests
18758 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
18759 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
18760 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
18761 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
18762 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
18763 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
18764 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
18765 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
18766 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
18767 wine_fn_config_makefile dlls/mpr enable_mpr
18768 wine_fn_config_makefile dlls/mpr/tests enable_tests
18769 wine_fn_config_makefile dlls/mprapi enable_mprapi
18770 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
18771 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
18772 wine_fn_config_makefile dlls/msacm32 enable_msacm32
18773 wine_fn_config_makefile dlls/msacm32/tests enable_tests
18774 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
18775 wine_fn_config_makefile dlls/msasn1 enable_msasn1
18776 wine_fn_config_makefile dlls/mscat32 enable_mscat32
18777 wine_fn_config_makefile dlls/mscms enable_mscms
18778 wine_fn_config_makefile dlls/mscms/tests enable_tests
18779 wine_fn_config_makefile dlls/mscoree enable_mscoree
18780 wine_fn_config_makefile dlls/mscoree/tests enable_tests
18781 wine_fn_config_makefile dlls/msctf enable_msctf
18782 wine_fn_config_makefile dlls/msctf/tests enable_tests
18783 wine_fn_config_makefile dlls/msctfp enable_msctfp
18784 wine_fn_config_makefile dlls/msdaps enable_msdaps
18785 wine_fn_config_makefile dlls/msdelta enable_msdelta
18786 wine_fn_config_makefile dlls/msdmo enable_msdmo
18787 wine_fn_config_makefile dlls/msdmo/tests enable_tests
18788 wine_fn_config_makefile dlls/msdrm enable_msdrm
18789 wine_fn_config_makefile dlls/msftedit enable_msftedit
18790 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
18791 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
18792 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
18793 wine_fn_config_makefile dlls/mshtml enable_mshtml
18794 wine_fn_config_makefile dlls/mshtml/tests enable_tests
18795 wine_fn_config_makefile dlls/msi enable_msi
18796 wine_fn_config_makefile dlls/msi/tests enable_tests
18797 wine_fn_config_makefile dlls/msident enable_msident
18798 wine_fn_config_makefile dlls/msimg32 enable_msimg32
18799 wine_fn_config_makefile dlls/msimsg enable_msimsg
18800 wine_fn_config_makefile dlls/msimtf enable_msimtf
18801 wine_fn_config_makefile dlls/msisip enable_msisip
18802 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
18803 wine_fn_config_makefile dlls/msls31 enable_msls31
18804 wine_fn_config_makefile dlls/msnet32 enable_msnet32
18805 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
18806 wine_fn_config_makefile dlls/msports enable_msports
18807 wine_fn_config_makefile dlls/msrle32 enable_msrle32
18808 wine_fn_config_makefile dlls/msrle32/tests enable_tests
18809 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
18810 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
18811 wine_fn_config_makefile dlls/mssign32 enable_mssign32
18812 wine_fn_config_makefile dlls/mssip32 enable_mssip32
18813 wine_fn_config_makefile dlls/mstask enable_mstask
18814 wine_fn_config_makefile dlls/mstask/tests enable_tests
18815 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
18816 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
18817 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
18818 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
18819 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
18820 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
18821 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
18822 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
18823 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
18824 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
18825 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
18826 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
18827 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
18828 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
18829 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
18830 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
18831 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
18832 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
18833 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
18834 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
18835 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
18836 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
18837 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
18838 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
18839 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
18840 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
18841 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
18842 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
18843 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
18844 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
18845 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
18846 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
18847 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
18848 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
18849 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
18850 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
18851 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
18852 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
18853 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
18854 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
18855 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
18856 wine_fn_config_makefile dlls/mswsock enable_mswsock
18857 wine_fn_config_makefile dlls/msxml enable_msxml
18858 wine_fn_config_makefile dlls/msxml2 enable_msxml2
18859 wine_fn_config_makefile dlls/msxml3 enable_msxml3
18860 wine_fn_config_makefile dlls/msxml3/tests enable_tests
18861 wine_fn_config_makefile dlls/msxml4 enable_msxml4
18862 wine_fn_config_makefile dlls/msxml6 enable_msxml6
18863 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
18864 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
18865 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
18866 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
18867 wine_fn_config_makefile dlls/netapi32 enable_netapi32
18868 wine_fn_config_makefile dlls/netapi32/tests enable_tests
18869 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
18870 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
18871 wine_fn_config_makefile dlls/netprofm enable_netprofm
18872 wine_fn_config_makefile dlls/netprofm/tests enable_tests
18873 wine_fn_config_makefile dlls/newdev enable_newdev
18874 wine_fn_config_makefile dlls/ninput enable_ninput
18875 wine_fn_config_makefile dlls/normaliz enable_normaliz
18876 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
18877 wine_fn_config_makefile dlls/npptools enable_npptools
18878 wine_fn_config_makefile dlls/ntdll enable_ntdll
18879 wine_fn_config_makefile dlls/ntdll/tests enable_tests
18880 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
18881 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
18882 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
18883 wine_fn_config_makefile dlls/ntprint enable_ntprint
18884 wine_fn_config_makefile dlls/ntprint/tests enable_tests
18885 wine_fn_config_makefile dlls/objsel enable_objsel
18886 wine_fn_config_makefile dlls/odbc32 enable_odbc32
18887 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
18888 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
18889 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
18890 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
18891 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
18892 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
18893 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
18894 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
18895 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
18896 wine_fn_config_makefile dlls/ole32 enable_ole32
18897 wine_fn_config_makefile dlls/ole32/tests enable_tests
18898 wine_fn_config_makefile dlls/oleacc enable_oleacc
18899 wine_fn_config_makefile dlls/oleacc/tests enable_tests
18900 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
18901 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
18902 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
18903 wine_fn_config_makefile dlls/olecli32 enable_olecli32
18904 wine_fn_config_makefile dlls/oledb32 enable_oledb32
18905 wine_fn_config_makefile dlls/oledb32/tests enable_tests
18906 wine_fn_config_makefile dlls/oledlg enable_oledlg
18907 wine_fn_config_makefile dlls/oledlg/tests enable_tests
18908 wine_fn_config_makefile dlls/olepro32 enable_olepro32
18909 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
18910 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
18911 wine_fn_config_makefile dlls/olethk32 enable_olethk32
18912 wine_fn_config_makefile dlls/openal32 enable_openal32
18913 wine_fn_config_makefile dlls/opencl enable_opencl
18914 wine_fn_config_makefile dlls/opengl32 enable_opengl32
18915 wine_fn_config_makefile dlls/opengl32/tests enable_tests
18916 wine_fn_config_makefile dlls/packager enable_packager
18917 wine_fn_config_makefile dlls/packager/tests enable_tests
18918 wine_fn_config_makefile dlls/pdh enable_pdh
18919 wine_fn_config_makefile dlls/pdh/tests enable_tests
18920 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
18921 wine_fn_config_makefile dlls/pidgen enable_pidgen
18922 wine_fn_config_makefile dlls/powrprof enable_powrprof
18923 wine_fn_config_makefile dlls/printui enable_printui
18924 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
18925 wine_fn_config_makefile dlls/propsys enable_propsys
18926 wine_fn_config_makefile dlls/propsys/tests enable_tests
18927 wine_fn_config_makefile dlls/psapi enable_psapi
18928 wine_fn_config_makefile dlls/psapi/tests enable_tests
18929 wine_fn_config_makefile dlls/pstorec enable_pstorec
18930 wine_fn_config_makefile dlls/pstorec/tests enable_tests
18931 wine_fn_config_makefile dlls/qcap enable_qcap
18932 wine_fn_config_makefile dlls/qcap/tests enable_tests
18933 wine_fn_config_makefile dlls/qedit enable_qedit
18934 wine_fn_config_makefile dlls/qedit/tests enable_tests
18935 wine_fn_config_makefile dlls/qmgr enable_qmgr
18936 wine_fn_config_makefile dlls/qmgr/tests enable_tests
18937 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
18938 wine_fn_config_makefile dlls/quartz enable_quartz
18939 wine_fn_config_makefile dlls/quartz/tests enable_tests
18940 wine_fn_config_makefile dlls/query enable_query
18941 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
18942 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
18943 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
18944 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
18945 wine_fn_config_makefile dlls/regapi enable_regapi
18946 wine_fn_config_makefile dlls/resutils enable_resutils
18947 wine_fn_config_makefile dlls/riched20 enable_riched20
18948 wine_fn_config_makefile dlls/riched20/tests enable_tests
18949 wine_fn_config_makefile dlls/riched32 enable_riched32
18950 wine_fn_config_makefile dlls/riched32/tests enable_tests
18951 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
18952 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
18953 wine_fn_config_makefile dlls/rsabase enable_rsabase
18954 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
18955 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
18956 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
18957 wine_fn_config_makefile dlls/rtutils enable_rtutils
18958 wine_fn_config_makefile dlls/samlib enable_samlib
18959 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
18960 wine_fn_config_makefile dlls/sapi enable_sapi
18961 wine_fn_config_makefile dlls/sapi/tests enable_tests
18962 wine_fn_config_makefile dlls/sas enable_sas
18963 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
18964 wine_fn_config_makefile dlls/sccbase enable_sccbase
18965 wine_fn_config_makefile dlls/schannel enable_schannel
18966 wine_fn_config_makefile dlls/schannel/tests enable_tests
18967 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
18968 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
18969 wine_fn_config_makefile dlls/scrobj enable_scrobj
18970 wine_fn_config_makefile dlls/scrrun enable_scrrun
18971 wine_fn_config_makefile dlls/scrrun/tests enable_tests
18972 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
18973 wine_fn_config_makefile dlls/secur32 enable_secur32
18974 wine_fn_config_makefile dlls/secur32/tests enable_tests
18975 wine_fn_config_makefile dlls/security enable_security
18976 wine_fn_config_makefile dlls/sensapi enable_sensapi
18977 wine_fn_config_makefile dlls/serialui enable_serialui
18978 wine_fn_config_makefile dlls/serialui/tests enable_tests
18979 wine_fn_config_makefile dlls/setupapi enable_setupapi
18980 wine_fn_config_makefile dlls/setupapi/tests enable_tests
18981 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
18982 wine_fn_config_makefile dlls/sfc enable_sfc
18983 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
18984 wine_fn_config_makefile dlls/shcore enable_shcore
18985 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
18986 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
18987 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
18988 wine_fn_config_makefile dlls/shell.dll16 enable_win16
18989 wine_fn_config_makefile dlls/shell32 enable_shell32
18990 wine_fn_config_makefile dlls/shell32/tests enable_tests
18991 wine_fn_config_makefile dlls/shfolder enable_shfolder
18992 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
18993 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
18994 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
18995 wine_fn_config_makefile dlls/slc enable_slc
18996 wine_fn_config_makefile dlls/slc/tests enable_tests
18997 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
18998 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
18999 wine_fn_config_makefile dlls/softpub enable_softpub
19000 wine_fn_config_makefile dlls/sound.drv16 enable_win16
19001 wine_fn_config_makefile dlls/spoolss enable_spoolss
19002 wine_fn_config_makefile dlls/spoolss/tests enable_tests
19003 wine_fn_config_makefile dlls/sspicli enable_sspicli
19004 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
19005 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
19006 wine_fn_config_makefile dlls/sti enable_sti
19007 wine_fn_config_makefile dlls/sti/tests enable_tests
19008 wine_fn_config_makefile dlls/storage.dll16 enable_win16
19009 wine_fn_config_makefile dlls/stress.dll16 enable_win16
19010 wine_fn_config_makefile dlls/strmbase enable_strmbase
19011 wine_fn_config_makefile dlls/strmdll enable_strmdll
19012 wine_fn_config_makefile dlls/strmiids enable_strmiids
19013 wine_fn_config_makefile dlls/svrapi enable_svrapi
19014 wine_fn_config_makefile dlls/sxs enable_sxs
19015 wine_fn_config_makefile dlls/sxs/tests enable_tests
19016 wine_fn_config_makefile dlls/system.drv16 enable_win16
19017 wine_fn_config_makefile dlls/t2embed enable_t2embed
19018 wine_fn_config_makefile dlls/t2embed/tests enable_tests
19019 wine_fn_config_makefile dlls/tapi32 enable_tapi32
19020 wine_fn_config_makefile dlls/taskschd enable_taskschd
19021 wine_fn_config_makefile dlls/taskschd/tests enable_tests
19022 wine_fn_config_makefile dlls/tdh enable_tdh
19023 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
19024 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
19025 wine_fn_config_makefile dlls/traffic enable_traffic
19026 wine_fn_config_makefile dlls/twain.dll16 enable_win16
19027 wine_fn_config_makefile dlls/twain_32 enable_twain_32
19028 wine_fn_config_makefile dlls/twain_32/tests enable_tests
19029 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
19030 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
19031 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
19032 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
19033 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
19034 wine_fn_config_makefile dlls/unicows enable_unicows
19035 wine_fn_config_makefile dlls/updspapi enable_updspapi
19036 wine_fn_config_makefile dlls/url enable_url
19037 wine_fn_config_makefile dlls/urlmon enable_urlmon
19038 wine_fn_config_makefile dlls/urlmon/tests enable_tests
19039 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
19040 wine_fn_config_makefile dlls/user.exe16 enable_win16
19041 wine_fn_config_makefile dlls/user32 enable_user32
19042 wine_fn_config_makefile dlls/user32/tests enable_tests
19043 wine_fn_config_makefile dlls/userenv enable_userenv
19044 wine_fn_config_makefile dlls/userenv/tests enable_tests
19045 wine_fn_config_makefile dlls/usp10 enable_usp10
19046 wine_fn_config_makefile dlls/usp10/tests enable_tests
19047 wine_fn_config_makefile dlls/uuid enable_uuid
19048 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
19049 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
19050 wine_fn_config_makefile dlls/vbscript enable_vbscript
19051 wine_fn_config_makefile dlls/vbscript/tests enable_tests
19052 wine_fn_config_makefile dlls/vcomp enable_vcomp
19053 wine_fn_config_makefile dlls/vcomp/tests enable_tests
19054 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
19055 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
19056 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
19057 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
19058 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
19059 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
19060 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
19061 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
19062 wine_fn_config_makefile dlls/ver.dll16 enable_win16
19063 wine_fn_config_makefile dlls/version enable_version
19064 wine_fn_config_makefile dlls/version/tests enable_tests
19065 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
19066 wine_fn_config_makefile dlls/vmm.vxd enable_win16
19067 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
19068 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
19069 wine_fn_config_makefile dlls/vssapi enable_vssapi
19070 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
19071 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
19072 wine_fn_config_makefile dlls/w32skrnl enable_win16
19073 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
19074 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
19075 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
19076 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
19077 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
19078 wine_fn_config_makefile dlls/wdscore enable_wdscore
19079 wine_fn_config_makefile dlls/webservices enable_webservices
19080 wine_fn_config_makefile dlls/webservices/tests enable_tests
19081 wine_fn_config_makefile dlls/wer enable_wer
19082 wine_fn_config_makefile dlls/wer/tests enable_tests
19083 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
19084 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
19085 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
19086 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
19087 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
19088 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
19089 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
19090 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
19091 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
19092 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
19093 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
19094 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
19095 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
19096 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
19097 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
19098 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
19099 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
19100 wine_fn_config_makefile dlls/wined3d enable_wined3d
19101 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
19102 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
19103 wine_fn_config_makefile dlls/winejoystick.drv enable_winejoystick_drv
19104 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
19105 wine_fn_config_makefile dlls/winemapi enable_winemapi
19106 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
19107 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
19108 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
19109 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
19110 wine_fn_config_makefile dlls/wineqtdecoder enable_wineqtdecoder
19111 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
19112 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
19113 wine_fn_config_makefile dlls/wing.dll16 enable_win16
19114 wine_fn_config_makefile dlls/wing32 enable_wing32
19115 wine_fn_config_makefile dlls/winhttp enable_winhttp
19116 wine_fn_config_makefile dlls/winhttp/tests enable_tests
19117 wine_fn_config_makefile dlls/wininet enable_wininet
19118 wine_fn_config_makefile dlls/wininet/tests enable_tests
19119 wine_fn_config_makefile dlls/winmm enable_winmm
19120 wine_fn_config_makefile dlls/winmm/tests enable_tests
19121 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
19122 wine_fn_config_makefile dlls/winnls32 enable_winnls32
19123 wine_fn_config_makefile dlls/winscard enable_winscard
19124 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
19125 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
19126 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
19127 wine_fn_config_makefile dlls/winsta enable_winsta
19128 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
19129 wine_fn_config_makefile dlls/wintab32 enable_wintab32
19130 wine_fn_config_makefile dlls/wintab32/tests enable_tests
19131 wine_fn_config_makefile dlls/wintrust enable_wintrust
19132 wine_fn_config_makefile dlls/wintrust/tests enable_tests
19133 wine_fn_config_makefile dlls/winusb enable_winusb
19134 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
19135 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
19136 wine_fn_config_makefile dlls/wldap32 enable_wldap32
19137 wine_fn_config_makefile dlls/wldap32/tests enable_tests
19138 wine_fn_config_makefile dlls/wmasf enable_wmasf
19139 wine_fn_config_makefile dlls/wmi enable_wmi
19140 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
19141 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
19142 wine_fn_config_makefile dlls/wmp enable_wmp
19143 wine_fn_config_makefile dlls/wmp/tests enable_tests
19144 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
19145 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
19146 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
19147 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
19148 wine_fn_config_makefile dlls/wow32 enable_win16
19149 wine_fn_config_makefile dlls/wpc enable_wpc
19150 wine_fn_config_makefile dlls/wpc/tests enable_tests
19151 wine_fn_config_makefile dlls/wpcap enable_wpcap
19152 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
19153 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
19154 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
19155 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
19156 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
19157 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
19158 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
19159 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
19160 wine_fn_config_makefile dlls/wsock32 enable_wsock32
19161 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
19162 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
19163 wine_fn_config_makefile dlls/wuapi enable_wuapi
19164 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
19165 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
19166 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
19167 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
19168 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
19169 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
19170 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
19171 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
19172 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
19173 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
19174 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
19175 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
19176 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
19177 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
19178 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
19179 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
19180 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
19181 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
19182 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
19183 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
19184 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
19185 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
19186 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
19187 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
19188 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
19189 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
19190 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
19191 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
19192 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
19193 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
19194 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
19195 wine_fn_config_makefile dlls/xmllite enable_xmllite
19196 wine_fn_config_makefile dlls/xmllite/tests enable_tests
19197 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
19198 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
19199 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
19200 test -n "$with_wine64" || wine_fn_config_makefile fonts enable_fonts
19201 wine_fn_config_makefile include enable_include
19202 wine_fn_config_makefile libs/port enable_port
19203 wine_fn_config_makefile libs/wine enable_wine
19204 wine_fn_config_makefile libs/wpp enable_wpp
19205 wine_fn_config_makefile loader enable_loader
19206 wine_fn_config_makefile po enable_po
19207 wine_fn_config_makefile programs/arp enable_arp
19208 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
19209 wine_fn_config_makefile programs/attrib enable_attrib
19210 wine_fn_config_makefile programs/cabarc enable_cabarc
19211 wine_fn_config_makefile programs/cacls enable_cacls
19212 wine_fn_config_makefile programs/clock enable_clock
19213 wine_fn_config_makefile programs/cmd enable_cmd
19214 wine_fn_config_makefile programs/cmd/tests enable_tests
19215 wine_fn_config_makefile programs/conhost enable_conhost
19216 wine_fn_config_makefile programs/control enable_control
19217 wine_fn_config_makefile programs/cscript enable_cscript
19218 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
19219 wine_fn_config_makefile programs/dxdiag enable_dxdiag
19220 wine_fn_config_makefile programs/eject enable_eject
19221 wine_fn_config_makefile programs/expand enable_expand
19222 wine_fn_config_makefile programs/explorer enable_explorer
19223 wine_fn_config_makefile programs/extrac32 enable_extrac32
19224 wine_fn_config_makefile programs/findstr enable_findstr
19225 wine_fn_config_makefile programs/fsutil enable_fsutil
19226 wine_fn_config_makefile programs/hh enable_hh
19227 wine_fn_config_makefile programs/hostname enable_hostname
19228 wine_fn_config_makefile programs/icacls enable_icacls
19229 wine_fn_config_makefile programs/icinfo enable_icinfo
19230 wine_fn_config_makefile programs/iexplore enable_iexplore
19231 wine_fn_config_makefile programs/ipconfig enable_ipconfig
19232 wine_fn_config_makefile programs/lodctr enable_lodctr
19233 wine_fn_config_makefile programs/mofcomp enable_mofcomp
19234 wine_fn_config_makefile programs/mshta enable_mshta
19235 wine_fn_config_makefile programs/msiexec enable_msiexec
19236 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
19237 wine_fn_config_makefile programs/net enable_net
19238 wine_fn_config_makefile programs/netsh enable_netsh
19239 wine_fn_config_makefile programs/netstat enable_netstat
19240 wine_fn_config_makefile programs/ngen enable_ngen
19241 wine_fn_config_makefile programs/notepad enable_notepad
19242 wine_fn_config_makefile programs/oleview enable_oleview
19243 wine_fn_config_makefile programs/ping enable_ping
19244 wine_fn_config_makefile programs/plugplay enable_plugplay
19245 wine_fn_config_makefile programs/powershell enable_powershell
19246 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
19247 wine_fn_config_makefile programs/progman enable_progman
19248 wine_fn_config_makefile programs/reg enable_reg
19249 wine_fn_config_makefile programs/reg/tests enable_tests
19250 wine_fn_config_makefile programs/regasm enable_regasm
19251 wine_fn_config_makefile programs/regedit enable_regedit
19252 wine_fn_config_makefile programs/regedit/tests enable_tests
19253 wine_fn_config_makefile programs/regsvcs enable_regsvcs
19254 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
19255 wine_fn_config_makefile programs/rpcss enable_rpcss
19256 wine_fn_config_makefile programs/rundll.exe16 enable_win16
19257 wine_fn_config_makefile programs/rundll32 enable_rundll32
19258 wine_fn_config_makefile programs/sc enable_sc
19259 wine_fn_config_makefile programs/schtasks enable_schtasks
19260 wine_fn_config_makefile programs/schtasks/tests enable_tests
19261 wine_fn_config_makefile programs/sdbinst enable_sdbinst
19262 wine_fn_config_makefile programs/secedit enable_secedit
19263 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
19264 wine_fn_config_makefile programs/services enable_services
19265 wine_fn_config_makefile programs/services/tests enable_tests
19266 wine_fn_config_makefile programs/shutdown enable_shutdown
19267 wine_fn_config_makefile programs/spoolsv enable_spoolsv
19268 wine_fn_config_makefile programs/start enable_start
19269 wine_fn_config_makefile programs/subst enable_subst
19270 wine_fn_config_makefile programs/svchost enable_svchost
19271 wine_fn_config_makefile programs/systeminfo enable_systeminfo
19272 wine_fn_config_makefile programs/taskkill enable_taskkill
19273 wine_fn_config_makefile programs/tasklist enable_tasklist
19274 wine_fn_config_makefile programs/taskmgr enable_taskmgr
19275 wine_fn_config_makefile programs/termsv enable_termsv
19276 wine_fn_config_makefile programs/uninstaller enable_uninstaller
19277 wine_fn_config_makefile programs/unlodctr enable_unlodctr
19278 wine_fn_config_makefile programs/view enable_view
19279 wine_fn_config_makefile programs/wevtutil enable_wevtutil
19280 wine_fn_config_makefile programs/wineboot enable_wineboot
19281 wine_fn_config_makefile programs/winebrowser enable_winebrowser
19282 wine_fn_config_makefile programs/winecfg enable_winecfg
19283 wine_fn_config_makefile programs/wineconsole enable_wineconsole
19284 wine_fn_config_makefile programs/winedbg enable_winedbg
19285 wine_fn_config_makefile programs/winedevice enable_winedevice
19286 wine_fn_config_makefile programs/winefile enable_winefile
19287 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
19288 wine_fn_config_makefile programs/winemine enable_winemine
19289 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
19290 wine_fn_config_makefile programs/winepath enable_winepath
19291 wine_fn_config_makefile programs/winetest enable_winetest
19292 wine_fn_config_makefile programs/winevdm enable_win16
19293 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
19294 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
19295 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
19296 wine_fn_config_makefile programs/winver enable_winver
19297 wine_fn_config_makefile programs/wmic enable_wmic
19298 wine_fn_config_makefile programs/wmplayer enable_wmplayer
19299 wine_fn_config_makefile programs/wordpad enable_wordpad
19300 wine_fn_config_makefile programs/write enable_write
19301 wine_fn_config_makefile programs/wscript enable_wscript
19302 wine_fn_config_makefile programs/wscript/tests enable_tests
19303 wine_fn_config_makefile programs/wusa enable_wusa
19304 wine_fn_config_makefile programs/xcopy enable_xcopy
19305 wine_fn_config_makefile programs/xcopy/tests enable_tests
19306 test -n "$with_wine64" || wine_fn_config_makefile server enable_server
19307 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
19308 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
19309 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
19310 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
19311 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
19312 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
19313 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
19314 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
19315 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
19318 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
19319 wine_fn_append_file CONFIGURE_TARGETS "tags"
19320 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
19321 wine_fn_append_file CONFIGURE_TARGETS "config.log"
19322 wine_fn_append_file CONFIGURE_TARGETS "config.status"
19323 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
19324 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
19325 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
19327 if test "x$enable_tools" != xno
19328 then
19329 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
19330 ac_config_commands="$ac_config_commands tools/makedep"
19334 ac_config_commands="$ac_config_commands Makefile"
19337 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
19341 if test "x$enable_maintainer_mode" = xyes
19342 then
19343 wine_fn_append_rule "configure: configure.ac aclocal.m4
19344 autoconf --warnings=all
19345 include/config.h.in: include/stamp-h.in
19346 include/stamp-h.in: configure.ac aclocal.m4
19347 autoheader --warnings=all
19348 @echo timestamp > \$@"
19351 if test "x$enable_tools" != xno
19352 then
19353 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
19354 @./config.status tools/makedep
19355 Makefile: tools/makedep$ac_exeext
19356 fonts: tools/sfnt2fon
19357 include: tools tools/widl"
19358 else
19359 wine_fn_append_rule "\$(MAKEDEP):
19360 @echo \"You need to run make in $TOOLSDIR first\" && false"
19363 if test -n "$with_wine64"
19364 then
19365 wine_fn_append_rule "all: fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader
19366 fonts server:
19367 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
19368 $with_wine64/loader/wine:
19369 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
19370 $with_wine64/loader/wine-preloader:
19371 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
19372 clean::
19373 \$(RM) fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
19374 else
19375 WINELOADER_INSTALL="wine.inf l_intl.nls"
19377 case $host_os in
19378 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
19379 *) WINELOADER_INSTALL="$WINELOADER_INSTALL wine.desktop" ;;
19380 esac
19383 $as_echo " done" >&6
19384 cat >confcache <<\_ACEOF
19385 # This file is a shell script that caches the results of configure
19386 # tests run on this system so they can be shared between configure
19387 # scripts and configure runs, see configure's option --config-cache.
19388 # It is not useful on other systems. If it contains results you don't
19389 # want to keep, you may remove or edit it.
19391 # config.status only pays attention to the cache file if you give it
19392 # the --recheck option to rerun configure.
19394 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19395 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19396 # following values.
19398 _ACEOF
19400 # The following way of writing the cache mishandles newlines in values,
19401 # but we know of no workaround that is simple, portable, and efficient.
19402 # So, we kill variables containing newlines.
19403 # Ultrix sh set writes to stderr and can't be redirected directly,
19404 # and sets the high bit in the cache file unless we assign to the vars.
19406 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
19407 eval ac_val=\$$ac_var
19408 case $ac_val in #(
19409 *${as_nl}*)
19410 case $ac_var in #(
19411 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
19412 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
19413 esac
19414 case $ac_var in #(
19415 _ | IFS | as_nl) ;; #(
19416 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
19417 *) { eval $ac_var=; unset $ac_var;} ;;
19418 esac ;;
19419 esac
19420 done
19422 (set) 2>&1 |
19423 case $as_nl`(ac_space=' '; set) 2>&1` in #(
19424 *${as_nl}ac_space=\ *)
19425 # `set' does not quote correctly, so add quotes: double-quote
19426 # substitution turns \\\\ into \\, and sed turns \\ into \.
19427 sed -n \
19428 "s/'/'\\\\''/g;
19429 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19430 ;; #(
19432 # `set' quotes correctly as required by POSIX, so do not add quotes.
19433 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
19435 esac |
19436 sort
19438 sed '
19439 /^ac_cv_env_/b end
19440 t clear
19441 :clear
19442 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19443 t end
19444 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19445 :end' >>confcache
19446 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
19447 if test -w "$cache_file"; then
19448 if test "x$cache_file" != "x/dev/null"; then
19449 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
19450 $as_echo "$as_me: updating cache $cache_file" >&6;}
19451 if test ! -f "$cache_file" || test -h "$cache_file"; then
19452 cat confcache >"$cache_file"
19453 else
19454 case $cache_file in #(
19455 */* | ?:*)
19456 mv -f confcache "$cache_file"$$ &&
19457 mv -f "$cache_file"$$ "$cache_file" ;; #(
19459 mv -f confcache "$cache_file" ;;
19460 esac
19463 else
19464 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
19465 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
19468 rm -f confcache
19470 test "x$prefix" = xNONE && prefix=$ac_default_prefix
19471 # Let make expand exec_prefix.
19472 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
19474 DEFS=-DHAVE_CONFIG_H
19476 ac_libobjs=
19477 ac_ltlibobjs=
19479 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
19480 # 1. Remove the extension, and $U if already installed.
19481 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
19482 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
19483 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
19484 # will be set to the directory where LIBOBJS objects are built.
19485 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
19486 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
19487 done
19488 LIBOBJS=$ac_libobjs
19490 LTLIBOBJS=$ac_ltlibobjs
19494 : "${CONFIG_STATUS=./config.status}"
19495 ac_write_fail=0
19496 ac_clean_files_save=$ac_clean_files
19497 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
19498 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
19499 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
19500 as_write_fail=0
19501 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
19502 #! $SHELL
19503 # Generated by $as_me.
19504 # Run this file to recreate the current configuration.
19505 # Compiler output produced by configure, useful for debugging
19506 # configure, is in config.log if it exists.
19508 debug=false
19509 ac_cs_recheck=false
19510 ac_cs_silent=false
19512 SHELL=\${CONFIG_SHELL-$SHELL}
19513 export SHELL
19514 _ASEOF
19515 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
19516 ## -------------------- ##
19517 ## M4sh Initialization. ##
19518 ## -------------------- ##
19520 # Be more Bourne compatible
19521 DUALCASE=1; export DUALCASE # for MKS sh
19522 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
19523 emulate sh
19524 NULLCMD=:
19525 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19526 # is contrary to our usage. Disable this feature.
19527 alias -g '${1+"$@"}'='"$@"'
19528 setopt NO_GLOB_SUBST
19529 else
19530 case `(set -o) 2>/dev/null` in #(
19531 *posix*) :
19532 set -o posix ;; #(
19533 *) :
19535 esac
19539 as_nl='
19541 export as_nl
19542 # Printing a long string crashes Solaris 7 /usr/bin/printf.
19543 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
19544 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
19545 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
19546 # Prefer a ksh shell builtin over an external printf program on Solaris,
19547 # but without wasting forks for bash or zsh.
19548 if test -z "$BASH_VERSION$ZSH_VERSION" \
19549 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
19550 as_echo='print -r --'
19551 as_echo_n='print -rn --'
19552 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
19553 as_echo='printf %s\n'
19554 as_echo_n='printf %s'
19555 else
19556 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
19557 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
19558 as_echo_n='/usr/ucb/echo -n'
19559 else
19560 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
19561 as_echo_n_body='eval
19562 arg=$1;
19563 case $arg in #(
19564 *"$as_nl"*)
19565 expr "X$arg" : "X\\(.*\\)$as_nl";
19566 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
19567 esac;
19568 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
19570 export as_echo_n_body
19571 as_echo_n='sh -c $as_echo_n_body as_echo'
19573 export as_echo_body
19574 as_echo='sh -c $as_echo_body as_echo'
19577 # The user is always right.
19578 if test "${PATH_SEPARATOR+set}" != set; then
19579 PATH_SEPARATOR=:
19580 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
19581 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
19582 PATH_SEPARATOR=';'
19587 # IFS
19588 # We need space, tab and new line, in precisely that order. Quoting is
19589 # there to prevent editors from complaining about space-tab.
19590 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
19591 # splitting by setting IFS to empty value.)
19592 IFS=" "" $as_nl"
19594 # Find who we are. Look in the path if we contain no directory separator.
19595 as_myself=
19596 case $0 in #((
19597 *[\\/]* ) as_myself=$0 ;;
19598 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19599 for as_dir in $PATH
19601 IFS=$as_save_IFS
19602 test -z "$as_dir" && as_dir=.
19603 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
19604 done
19605 IFS=$as_save_IFS
19608 esac
19609 # We did not find ourselves, most probably we were run as `sh COMMAND'
19610 # in which case we are not to be found in the path.
19611 if test "x$as_myself" = x; then
19612 as_myself=$0
19614 if test ! -f "$as_myself"; then
19615 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
19616 exit 1
19619 # Unset variables that we do not need and which cause bugs (e.g. in
19620 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
19621 # suppresses any "Segmentation fault" message there. '((' could
19622 # trigger a bug in pdksh 5.2.14.
19623 for as_var in BASH_ENV ENV MAIL MAILPATH
19624 do eval test x\${$as_var+set} = xset \
19625 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
19626 done
19627 PS1='$ '
19628 PS2='> '
19629 PS4='+ '
19631 # NLS nuisances.
19632 LC_ALL=C
19633 export LC_ALL
19634 LANGUAGE=C
19635 export LANGUAGE
19637 # CDPATH.
19638 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
19641 # as_fn_error STATUS ERROR [LINENO LOG_FD]
19642 # ----------------------------------------
19643 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
19644 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
19645 # script with STATUS, using 1 if that was 0.
19646 as_fn_error ()
19648 as_status=$1; test $as_status -eq 0 && as_status=1
19649 if test "$4"; then
19650 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
19651 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
19653 $as_echo "$as_me: error: $2" >&2
19654 as_fn_exit $as_status
19655 } # as_fn_error
19658 # as_fn_set_status STATUS
19659 # -----------------------
19660 # Set $? to STATUS, without forking.
19661 as_fn_set_status ()
19663 return $1
19664 } # as_fn_set_status
19666 # as_fn_exit STATUS
19667 # -----------------
19668 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
19669 as_fn_exit ()
19671 set +e
19672 as_fn_set_status $1
19673 exit $1
19674 } # as_fn_exit
19676 # as_fn_unset VAR
19677 # ---------------
19678 # Portably unset VAR.
19679 as_fn_unset ()
19681 { eval $1=; unset $1;}
19683 as_unset=as_fn_unset
19684 # as_fn_append VAR VALUE
19685 # ----------------------
19686 # Append the text in VALUE to the end of the definition contained in VAR. Take
19687 # advantage of any shell optimizations that allow amortized linear growth over
19688 # repeated appends, instead of the typical quadratic growth present in naive
19689 # implementations.
19690 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
19691 eval 'as_fn_append ()
19693 eval $1+=\$2
19695 else
19696 as_fn_append ()
19698 eval $1=\$$1\$2
19700 fi # as_fn_append
19702 # as_fn_arith ARG...
19703 # ------------------
19704 # Perform arithmetic evaluation on the ARGs, and store the result in the
19705 # global $as_val. Take advantage of shells that can avoid forks. The arguments
19706 # must be portable across $(()) and expr.
19707 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
19708 eval 'as_fn_arith ()
19710 as_val=$(( $* ))
19712 else
19713 as_fn_arith ()
19715 as_val=`expr "$@" || test $? -eq 1`
19717 fi # as_fn_arith
19720 if expr a : '\(a\)' >/dev/null 2>&1 &&
19721 test "X`expr 00001 : '.*\(...\)'`" = X001; then
19722 as_expr=expr
19723 else
19724 as_expr=false
19727 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
19728 as_basename=basename
19729 else
19730 as_basename=false
19733 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
19734 as_dirname=dirname
19735 else
19736 as_dirname=false
19739 as_me=`$as_basename -- "$0" ||
19740 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19741 X"$0" : 'X\(//\)$' \| \
19742 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
19743 $as_echo X/"$0" |
19744 sed '/^.*\/\([^/][^/]*\)\/*$/{
19745 s//\1/
19748 /^X\/\(\/\/\)$/{
19749 s//\1/
19752 /^X\/\(\/\).*/{
19753 s//\1/
19756 s/.*/./; q'`
19758 # Avoid depending upon Character Ranges.
19759 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
19760 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19761 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
19762 as_cr_digits='0123456789'
19763 as_cr_alnum=$as_cr_Letters$as_cr_digits
19765 ECHO_C= ECHO_N= ECHO_T=
19766 case `echo -n x` in #(((((
19767 -n*)
19768 case `echo 'xy\c'` in
19769 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
19770 xy) ECHO_C='\c';;
19771 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
19772 ECHO_T=' ';;
19773 esac;;
19775 ECHO_N='-n';;
19776 esac
19778 rm -f conf$$ conf$$.exe conf$$.file
19779 if test -d conf$$.dir; then
19780 rm -f conf$$.dir/conf$$.file
19781 else
19782 rm -f conf$$.dir
19783 mkdir conf$$.dir 2>/dev/null
19785 if (echo >conf$$.file) 2>/dev/null; then
19786 if ln -s conf$$.file conf$$ 2>/dev/null; then
19787 as_ln_s='ln -s'
19788 # ... but there are two gotchas:
19789 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19790 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
19791 # In both cases, we have to default to `cp -pR'.
19792 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
19793 as_ln_s='cp -pR'
19794 elif ln conf$$.file conf$$ 2>/dev/null; then
19795 as_ln_s=ln
19796 else
19797 as_ln_s='cp -pR'
19799 else
19800 as_ln_s='cp -pR'
19802 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
19803 rmdir conf$$.dir 2>/dev/null
19806 # as_fn_mkdir_p
19807 # -------------
19808 # Create "$as_dir" as a directory, including parents if necessary.
19809 as_fn_mkdir_p ()
19812 case $as_dir in #(
19813 -*) as_dir=./$as_dir;;
19814 esac
19815 test -d "$as_dir" || eval $as_mkdir_p || {
19816 as_dirs=
19817 while :; do
19818 case $as_dir in #(
19819 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19820 *) as_qdir=$as_dir;;
19821 esac
19822 as_dirs="'$as_qdir' $as_dirs"
19823 as_dir=`$as_dirname -- "$as_dir" ||
19824 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19825 X"$as_dir" : 'X\(//\)[^/]' \| \
19826 X"$as_dir" : 'X\(//\)$' \| \
19827 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19828 $as_echo X"$as_dir" |
19829 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19830 s//\1/
19833 /^X\(\/\/\)[^/].*/{
19834 s//\1/
19837 /^X\(\/\/\)$/{
19838 s//\1/
19841 /^X\(\/\).*/{
19842 s//\1/
19845 s/.*/./; q'`
19846 test -d "$as_dir" && break
19847 done
19848 test -z "$as_dirs" || eval "mkdir $as_dirs"
19849 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
19852 } # as_fn_mkdir_p
19853 if mkdir -p . 2>/dev/null; then
19854 as_mkdir_p='mkdir -p "$as_dir"'
19855 else
19856 test -d ./-p && rmdir ./-p
19857 as_mkdir_p=false
19861 # as_fn_executable_p FILE
19862 # -----------------------
19863 # Test if FILE is an executable regular file.
19864 as_fn_executable_p ()
19866 test -f "$1" && test -x "$1"
19867 } # as_fn_executable_p
19868 as_test_x='test -x'
19869 as_executable_p=as_fn_executable_p
19871 # Sed expression to map a string onto a valid CPP name.
19872 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19874 # Sed expression to map a string onto a valid variable name.
19875 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19878 exec 6>&1
19879 ## ----------------------------------- ##
19880 ## Main body of $CONFIG_STATUS script. ##
19881 ## ----------------------------------- ##
19882 _ASEOF
19883 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
19885 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19886 # Save the log message, to keep $0 and so on meaningful, and to
19887 # report actual input values of CONFIG_FILES etc. instead of their
19888 # values after options handling.
19889 ac_log="
19890 This file was extended by Wine $as_me 3.4, which was
19891 generated by GNU Autoconf 2.69. Invocation command line was
19893 CONFIG_FILES = $CONFIG_FILES
19894 CONFIG_HEADERS = $CONFIG_HEADERS
19895 CONFIG_LINKS = $CONFIG_LINKS
19896 CONFIG_COMMANDS = $CONFIG_COMMANDS
19897 $ $0 $@
19899 on `(hostname || uname -n) 2>/dev/null | sed 1q`
19902 _ACEOF
19904 case $ac_config_files in *"
19905 "*) set x $ac_config_files; shift; ac_config_files=$*;;
19906 esac
19908 case $ac_config_headers in *"
19909 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
19910 esac
19913 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19914 # Files that config.status was made for.
19915 config_files="$ac_config_files"
19916 config_headers="$ac_config_headers"
19917 config_links="$ac_config_links"
19918 config_commands="$ac_config_commands"
19920 _ACEOF
19922 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19923 ac_cs_usage="\
19924 \`$as_me' instantiates files and other configuration actions
19925 from templates according to the current configuration. Unless the files
19926 and actions are specified as TAGs, all are instantiated by default.
19928 Usage: $0 [OPTION]... [TAG]...
19930 -h, --help print this help, then exit
19931 -V, --version print version number and configuration settings, then exit
19932 --config print configuration, then exit
19933 -q, --quiet, --silent
19934 do not print progress messages
19935 -d, --debug don't remove temporary files
19936 --recheck update $as_me by reconfiguring in the same conditions
19937 --file=FILE[:TEMPLATE]
19938 instantiate the configuration file FILE
19939 --header=FILE[:TEMPLATE]
19940 instantiate the configuration header FILE
19942 Configuration files:
19943 $config_files
19945 Configuration headers:
19946 $config_headers
19948 Configuration links:
19949 $config_links
19951 Configuration commands:
19952 $config_commands
19954 Report bugs to <wine-devel@winehq.org>.
19955 Wine home page: <https://www.winehq.org>."
19957 _ACEOF
19958 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19959 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
19960 ac_cs_version="\\
19961 Wine config.status 3.4
19962 configured by $0, generated by GNU Autoconf 2.69,
19963 with options \\"\$ac_cs_config\\"
19965 Copyright (C) 2012 Free Software Foundation, Inc.
19966 This config.status script is free software; the Free Software Foundation
19967 gives unlimited permission to copy, distribute and modify it."
19969 ac_pwd='$ac_pwd'
19970 srcdir='$srcdir'
19971 test -n "\$AWK" || AWK=awk
19972 _ACEOF
19974 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19975 # The default lists apply if the user does not specify any file.
19976 ac_need_defaults=:
19977 while test $# != 0
19979 case $1 in
19980 --*=?*)
19981 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19982 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
19983 ac_shift=:
19985 --*=)
19986 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19987 ac_optarg=
19988 ac_shift=:
19991 ac_option=$1
19992 ac_optarg=$2
19993 ac_shift=shift
19995 esac
19997 case $ac_option in
19998 # Handling of the options.
19999 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
20000 ac_cs_recheck=: ;;
20001 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
20002 $as_echo "$ac_cs_version"; exit ;;
20003 --config | --confi | --conf | --con | --co | --c )
20004 $as_echo "$ac_cs_config"; exit ;;
20005 --debug | --debu | --deb | --de | --d | -d )
20006 debug=: ;;
20007 --file | --fil | --fi | --f )
20008 $ac_shift
20009 case $ac_optarg in
20010 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20011 '') as_fn_error $? "missing file argument" ;;
20012 esac
20013 as_fn_append CONFIG_FILES " '$ac_optarg'"
20014 ac_need_defaults=false;;
20015 --header | --heade | --head | --hea )
20016 $ac_shift
20017 case $ac_optarg in
20018 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20019 esac
20020 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
20021 ac_need_defaults=false;;
20022 --he | --h)
20023 # Conflict between --help and --header
20024 as_fn_error $? "ambiguous option: \`$1'
20025 Try \`$0 --help' for more information.";;
20026 --help | --hel | -h )
20027 $as_echo "$ac_cs_usage"; exit ;;
20028 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
20029 | -silent | --silent | --silen | --sile | --sil | --si | --s)
20030 ac_cs_silent=: ;;
20032 # This is an error.
20033 -*) as_fn_error $? "unrecognized option: \`$1'
20034 Try \`$0 --help' for more information." ;;
20036 *) as_fn_append ac_config_targets " $1"
20037 ac_need_defaults=false ;;
20039 esac
20040 shift
20041 done
20043 ac_configure_extra_args=
20045 if $ac_cs_silent; then
20046 exec 6>/dev/null
20047 ac_configure_extra_args="$ac_configure_extra_args --silent"
20050 _ACEOF
20051 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20052 if \$ac_cs_recheck; then
20053 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20054 shift
20055 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
20056 CONFIG_SHELL='$SHELL'
20057 export CONFIG_SHELL
20058 exec "\$@"
20061 _ACEOF
20062 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20063 exec 5>>config.log
20065 echo
20066 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20067 ## Running $as_me. ##
20068 _ASBOX
20069 $as_echo "$ac_log"
20070 } >&5
20072 _ACEOF
20073 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20075 # INIT-COMMANDS
20077 wine_fn_output_makedep ()
20079 as_dir=tools; as_fn_mkdir_p
20080 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
20082 wine_fn_output_makefile ()
20084 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
20085 `cat $wine_rules_file`
20086 _WINE_EOF
20087 as_fn_error $? "could not create Makefile" "$LINENO" 5
20090 _ACEOF
20092 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20094 # Handling of arguments.
20095 for ac_config_target in $ac_config_targets
20097 case $ac_config_target in
20098 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
20099 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
20100 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
20101 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
20102 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
20103 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
20104 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
20105 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
20106 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
20107 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
20108 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
20109 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
20110 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
20112 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
20113 esac
20114 done
20117 # If the user did not use the arguments to specify the items to instantiate,
20118 # then the envvar interface is used. Set only those that are not.
20119 # We use the long form for the default assignment because of an extremely
20120 # bizarre bug on SunOS 4.1.3.
20121 if $ac_need_defaults; then
20122 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
20123 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
20124 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
20125 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
20128 # Have a temporary directory for convenience. Make it in the build tree
20129 # simply because there is no reason against having it here, and in addition,
20130 # creating and moving files from /tmp can sometimes cause problems.
20131 # Hook for its removal unless debugging.
20132 # Note that there is a small window in which the directory will not be cleaned:
20133 # after its creation but before its name has been assigned to `$tmp'.
20134 $debug ||
20136 tmp= ac_tmp=
20137 trap 'exit_status=$?
20138 : "${ac_tmp:=$tmp}"
20139 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
20141 trap 'as_fn_exit 1' 1 2 13 15
20143 # Create a (secure) tmp directory for tmp files.
20146 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
20147 test -d "$tmp"
20148 } ||
20150 tmp=./conf$$-$RANDOM
20151 (umask 077 && mkdir "$tmp")
20152 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
20153 ac_tmp=$tmp
20155 # Set up the scripts for CONFIG_FILES section.
20156 # No need to generate them if there are no CONFIG_FILES.
20157 # This happens for instance with `./config.status config.h'.
20158 if test -n "$CONFIG_FILES"; then
20161 ac_cr=`echo X | tr X '\015'`
20162 # On cygwin, bash can eat \r inside `` if the user requested igncr.
20163 # But we know of no other shell where ac_cr would be empty at this
20164 # point, so we can use a bashism as a fallback.
20165 if test "x$ac_cr" = x; then
20166 eval ac_cr=\$\'\\r\'
20168 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
20169 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
20170 ac_cs_awk_cr='\\r'
20171 else
20172 ac_cs_awk_cr=$ac_cr
20175 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
20176 _ACEOF
20180 echo "cat >conf$$subs.awk <<_ACEOF" &&
20181 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
20182 echo "_ACEOF"
20183 } >conf$$subs.sh ||
20184 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20185 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
20186 ac_delim='%!_!# '
20187 for ac_last_try in false false false false false :; do
20188 . ./conf$$subs.sh ||
20189 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20191 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
20192 if test $ac_delim_n = $ac_delim_num; then
20193 break
20194 elif $ac_last_try; then
20195 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20196 else
20197 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20199 done
20200 rm -f conf$$subs.sh
20202 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20203 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
20204 _ACEOF
20205 sed -n '
20207 s/^/S["/; s/!.*/"]=/
20210 s/^[^!]*!//
20211 :repl
20212 t repl
20213 s/'"$ac_delim"'$//
20214 t delim
20217 s/\(.\{148\}\)..*/\1/
20218 t more1
20219 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
20222 b repl
20223 :more1
20224 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
20227 s/.\{148\}//
20228 t nl
20229 :delim
20231 s/\(.\{148\}\)..*/\1/
20232 t more2
20233 s/["\\]/\\&/g; s/^/"/; s/$/"/
20236 :more2
20237 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
20240 s/.\{148\}//
20241 t delim
20242 ' <conf$$subs.awk | sed '
20243 /^[^""]/{
20245 s/\n//
20247 ' >>$CONFIG_STATUS || ac_write_fail=1
20248 rm -f conf$$subs.awk
20249 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20250 _ACAWK
20251 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
20252 for (key in S) S_is_set[key] = 1
20253 FS = "\a"
20257 line = $ 0
20258 nfields = split(line, field, "@")
20259 substed = 0
20260 len = length(field[1])
20261 for (i = 2; i < nfields; i++) {
20262 key = field[i]
20263 keylen = length(key)
20264 if (S_is_set[key]) {
20265 value = S[key]
20266 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
20267 len += length(value) + length(field[++i])
20268 substed = 1
20269 } else
20270 len += 1 + keylen
20273 print line
20276 _ACAWK
20277 _ACEOF
20278 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20279 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
20280 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
20281 else
20283 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
20284 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
20285 _ACEOF
20287 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
20288 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
20289 # trailing colons and then remove the whole line if VPATH becomes empty
20290 # (actually we leave an empty line to preserve line numbers).
20291 if test "x$srcdir" = x.; then
20292 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
20294 s///
20295 s/^/:/
20296 s/[ ]*$/:/
20297 s/:\$(srcdir):/:/g
20298 s/:\${srcdir}:/:/g
20299 s/:@srcdir@:/:/g
20300 s/^:*//
20301 s/:*$//
20303 s/\(=[ ]*\).*/\1/
20305 s/\n//
20306 s/^[^=]*=[ ]*$//
20310 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20311 fi # test -n "$CONFIG_FILES"
20313 # Set up the scripts for CONFIG_HEADERS section.
20314 # No need to generate them if there are no CONFIG_HEADERS.
20315 # This happens for instance with `./config.status Makefile'.
20316 if test -n "$CONFIG_HEADERS"; then
20317 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
20318 BEGIN {
20319 _ACEOF
20321 # Transform confdefs.h into an awk script `defines.awk', embedded as
20322 # here-document in config.status, that substitutes the proper values into
20323 # config.h.in to produce config.h.
20325 # Create a delimiter string that does not exist in confdefs.h, to ease
20326 # handling of long lines.
20327 ac_delim='%!_!# '
20328 for ac_last_try in false false :; do
20329 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
20330 if test -z "$ac_tt"; then
20331 break
20332 elif $ac_last_try; then
20333 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
20334 else
20335 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20337 done
20339 # For the awk script, D is an array of macro values keyed by name,
20340 # likewise P contains macro parameters if any. Preserve backslash
20341 # newline sequences.
20343 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
20344 sed -n '
20345 s/.\{148\}/&'"$ac_delim"'/g
20346 t rset
20347 :rset
20348 s/^[ ]*#[ ]*define[ ][ ]*/ /
20349 t def
20351 :def
20352 s/\\$//
20353 t bsnl
20354 s/["\\]/\\&/g
20355 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
20356 D["\1"]=" \3"/p
20357 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
20359 :bsnl
20360 s/["\\]/\\&/g
20361 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
20362 D["\1"]=" \3\\\\\\n"\\/p
20363 t cont
20364 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
20365 t cont
20367 :cont
20369 s/.\{148\}/&'"$ac_delim"'/g
20370 t clear
20371 :clear
20372 s/\\$//
20373 t bsnlc
20374 s/["\\]/\\&/g; s/^/"/; s/$/"/p
20376 :bsnlc
20377 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
20378 b cont
20379 ' <confdefs.h | sed '
20380 s/'"$ac_delim"'/"\\\
20381 "/g' >>$CONFIG_STATUS || ac_write_fail=1
20383 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20384 for (key in D) D_is_set[key] = 1
20385 FS = "\a"
20387 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
20388 line = \$ 0
20389 split(line, arg, " ")
20390 if (arg[1] == "#") {
20391 defundef = arg[2]
20392 mac1 = arg[3]
20393 } else {
20394 defundef = substr(arg[1], 2)
20395 mac1 = arg[2]
20397 split(mac1, mac2, "(") #)
20398 macro = mac2[1]
20399 prefix = substr(line, 1, index(line, defundef) - 1)
20400 if (D_is_set[macro]) {
20401 # Preserve the white space surrounding the "#".
20402 print prefix "define", macro P[macro] D[macro]
20403 next
20404 } else {
20405 # Replace #undef with comments. This is necessary, for example,
20406 # in the case of _POSIX_SOURCE, which is predefined and required
20407 # on some systems where configure will not decide to define it.
20408 if (defundef == "undef") {
20409 print "/*", prefix defundef, macro, "*/"
20410 next
20414 { print }
20415 _ACAWK
20416 _ACEOF
20417 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20418 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
20419 fi # test -n "$CONFIG_HEADERS"
20422 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
20423 shift
20424 for ac_tag
20426 case $ac_tag in
20427 :[FHLC]) ac_mode=$ac_tag; continue;;
20428 esac
20429 case $ac_mode$ac_tag in
20430 :[FHL]*:*);;
20431 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
20432 :[FH]-) ac_tag=-:-;;
20433 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
20434 esac
20435 ac_save_IFS=$IFS
20436 IFS=:
20437 set x $ac_tag
20438 IFS=$ac_save_IFS
20439 shift
20440 ac_file=$1
20441 shift
20443 case $ac_mode in
20444 :L) ac_source=$1;;
20445 :[FH])
20446 ac_file_inputs=
20447 for ac_f
20449 case $ac_f in
20450 -) ac_f="$ac_tmp/stdin";;
20451 *) # Look for the file first in the build tree, then in the source tree
20452 # (if the path is not absolute). The absolute path cannot be DOS-style,
20453 # because $ac_f cannot contain `:'.
20454 test -f "$ac_f" ||
20455 case $ac_f in
20456 [\\/$]*) false;;
20457 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
20458 esac ||
20459 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
20460 esac
20461 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
20462 as_fn_append ac_file_inputs " '$ac_f'"
20463 done
20465 # Let's still pretend it is `configure' which instantiates (i.e., don't
20466 # use $as_me), people would be surprised to read:
20467 # /* config.h. Generated by config.status. */
20468 configure_input='Generated from '`
20469 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
20470 `' by configure.'
20471 if test x"$ac_file" != x-; then
20472 configure_input="$ac_file. $configure_input"
20473 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
20474 $as_echo "$as_me: creating $ac_file" >&6;}
20476 # Neutralize special characters interpreted by sed in replacement strings.
20477 case $configure_input in #(
20478 *\&* | *\|* | *\\* )
20479 ac_sed_conf_input=`$as_echo "$configure_input" |
20480 sed 's/[\\\\&|]/\\\\&/g'`;; #(
20481 *) ac_sed_conf_input=$configure_input;;
20482 esac
20484 case $ac_tag in
20485 *:-:* | *:-) cat >"$ac_tmp/stdin" \
20486 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
20487 esac
20489 esac
20491 ac_dir=`$as_dirname -- "$ac_file" ||
20492 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20493 X"$ac_file" : 'X\(//\)[^/]' \| \
20494 X"$ac_file" : 'X\(//\)$' \| \
20495 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
20496 $as_echo X"$ac_file" |
20497 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20498 s//\1/
20501 /^X\(\/\/\)[^/].*/{
20502 s//\1/
20505 /^X\(\/\/\)$/{
20506 s//\1/
20509 /^X\(\/\).*/{
20510 s//\1/
20513 s/.*/./; q'`
20514 as_dir="$ac_dir"; as_fn_mkdir_p
20515 ac_builddir=.
20517 case "$ac_dir" in
20518 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
20520 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
20521 # A ".." for each directory in $ac_dir_suffix.
20522 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
20523 case $ac_top_builddir_sub in
20524 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
20525 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
20526 esac ;;
20527 esac
20528 ac_abs_top_builddir=$ac_pwd
20529 ac_abs_builddir=$ac_pwd$ac_dir_suffix
20530 # for backward compatibility:
20531 ac_top_builddir=$ac_top_build_prefix
20533 case $srcdir in
20534 .) # We are building in place.
20535 ac_srcdir=.
20536 ac_top_srcdir=$ac_top_builddir_sub
20537 ac_abs_top_srcdir=$ac_pwd ;;
20538 [\\/]* | ?:[\\/]* ) # Absolute name.
20539 ac_srcdir=$srcdir$ac_dir_suffix;
20540 ac_top_srcdir=$srcdir
20541 ac_abs_top_srcdir=$srcdir ;;
20542 *) # Relative name.
20543 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
20544 ac_top_srcdir=$ac_top_build_prefix$srcdir
20545 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
20546 esac
20547 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
20550 case $ac_mode in
20553 # CONFIG_FILE
20556 _ACEOF
20558 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20559 # If the template does not know about datarootdir, expand it.
20560 # FIXME: This hack should be removed a few years after 2.60.
20561 ac_datarootdir_hack=; ac_datarootdir_seen=
20562 ac_sed_dataroot='
20563 /datarootdir/ {
20567 /@datadir@/p
20568 /@docdir@/p
20569 /@infodir@/p
20570 /@localedir@/p
20571 /@mandir@/p'
20572 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
20573 *datarootdir*) ac_datarootdir_seen=yes;;
20574 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
20575 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
20576 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
20577 _ACEOF
20578 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20579 ac_datarootdir_hack='
20580 s&@datadir@&$datadir&g
20581 s&@docdir@&$docdir&g
20582 s&@infodir@&$infodir&g
20583 s&@localedir@&$localedir&g
20584 s&@mandir@&$mandir&g
20585 s&\\\${datarootdir}&$datarootdir&g' ;;
20586 esac
20587 _ACEOF
20589 # Neutralize VPATH when `$srcdir' = `.'.
20590 # Shell code in configure.ac might set extrasub.
20591 # FIXME: do we really want to maintain this feature?
20592 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20593 ac_sed_extra="$ac_vpsub
20594 $extrasub
20595 _ACEOF
20596 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20598 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
20599 s|@configure_input@|$ac_sed_conf_input|;t t
20600 s&@top_builddir@&$ac_top_builddir_sub&;t t
20601 s&@top_build_prefix@&$ac_top_build_prefix&;t t
20602 s&@srcdir@&$ac_srcdir&;t t
20603 s&@abs_srcdir@&$ac_abs_srcdir&;t t
20604 s&@top_srcdir@&$ac_top_srcdir&;t t
20605 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
20606 s&@builddir@&$ac_builddir&;t t
20607 s&@abs_builddir@&$ac_abs_builddir&;t t
20608 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
20609 $ac_datarootdir_hack
20611 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
20612 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20614 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
20615 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
20616 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
20617 "$ac_tmp/out"`; test -z "$ac_out"; } &&
20618 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20619 which seems to be undefined. Please make sure it is defined" >&5
20620 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20621 which seems to be undefined. Please make sure it is defined" >&2;}
20623 rm -f "$ac_tmp/stdin"
20624 case $ac_file in
20625 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
20626 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
20627 esac \
20628 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20632 # CONFIG_HEADER
20634 if test x"$ac_file" != x-; then
20636 $as_echo "/* $configure_input */" \
20637 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
20638 } >"$ac_tmp/config.h" \
20639 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20640 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
20641 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
20642 $as_echo "$as_me: $ac_file is unchanged" >&6;}
20643 else
20644 rm -f "$ac_file"
20645 mv "$ac_tmp/config.h" "$ac_file" \
20646 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20648 else
20649 $as_echo "/* $configure_input */" \
20650 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
20651 || as_fn_error $? "could not create -" "$LINENO" 5
20656 # CONFIG_LINK
20659 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
20661 else
20662 # Prefer the file from the source tree if names are identical.
20663 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
20664 ac_source=$srcdir/$ac_source
20667 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
20668 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
20670 if test ! -r "$ac_source"; then
20671 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
20673 rm -f "$ac_file"
20675 # Try a relative symlink, then a hard link, then a copy.
20676 case $ac_source in
20677 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
20678 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
20679 esac
20680 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
20681 ln "$ac_source" "$ac_file" 2>/dev/null ||
20682 cp -p "$ac_source" "$ac_file" ||
20683 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
20686 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
20687 $as_echo "$as_me: executing $ac_file commands" >&6;}
20689 esac
20692 case $ac_file$ac_mode in
20693 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
20694 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
20695 "Makefile":C) wine_fn_output_makefile Makefile ;;
20697 esac
20698 done # for ac_tag
20701 as_fn_exit 0
20702 _ACEOF
20703 ac_clean_files=$ac_clean_files_save
20705 test $ac_write_fail = 0 ||
20706 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
20709 # configure is writing to config.log, and then calls config.status.
20710 # config.status does its own redirection, appending to config.log.
20711 # Unfortunately, on DOS this fails, as config.log is still kept open
20712 # by configure, so config.status won't be able to write to it; its
20713 # output is simply discarded. So we exec the FD to /dev/null,
20714 # effectively closing config.log, so it can be properly (re)opened and
20715 # appended to by config.status. When coming back to configure, we
20716 # need to make the FD available again.
20717 if test "$no_create" != yes; then
20718 ac_cs_success=:
20719 ac_config_status_args=
20720 test "$silent" = yes &&
20721 ac_config_status_args="$ac_config_status_args --quiet"
20722 exec 5>/dev/null
20723 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
20724 exec 5>>config.log
20725 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
20726 # would make configure fail if this is the last instruction.
20727 $ac_cs_success || as_fn_exit 1
20729 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
20730 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
20731 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
20735 if test "$no_create" = "yes"
20736 then
20737 exit 0
20740 ac_save_IFS="$IFS"
20741 if test "x$wine_notices" != x; then
20742 echo >&6
20743 IFS="|"
20744 for msg in $wine_notices; do
20745 IFS="$ac_save_IFS"
20746 if ${msg:+false} :; then :
20748 else
20749 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
20750 $as_echo "$as_me: $msg" >&6;}
20752 done
20754 IFS="|"
20755 for msg in $wine_warnings; do
20756 IFS="$ac_save_IFS"
20757 if ${msg:+false} :; then :
20759 else
20760 echo >&2
20761 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
20762 $as_echo "$as_me: WARNING: $msg" >&2;}
20764 done
20765 IFS="$ac_save_IFS"
20767 $as_echo "
20768 $as_me: Finished. Do '${ac_make}' to compile Wine.
20769 " >&6