d3dx9/tests: Cleanup test_createtext() a bit.
[wine.git] / configure
blob208744b0ce865d7d882ad04350e1e6add31b46e8
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 3.3.
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.3'
584 PACKAGE_STRING='Wine 3.3'
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_private_l1_1_0
1069 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
1070 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
1071 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
1072 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
1073 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
1074 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1075 enable_api_ms_win_security_audit_l1_1_1
1076 enable_api_ms_win_security_base_l1_1_0
1077 enable_api_ms_win_security_base_l1_2_0
1078 enable_api_ms_win_security_base_private_l1_1_1
1079 enable_api_ms_win_security_credentials_l1_1_0
1080 enable_api_ms_win_security_grouppolicy_l1_1_0
1081 enable_api_ms_win_security_lsalookup_l1_1_0
1082 enable_api_ms_win_security_lsalookup_l1_1_1
1083 enable_api_ms_win_security_lsalookup_l2_1_0
1084 enable_api_ms_win_security_lsalookup_l2_1_1
1085 enable_api_ms_win_security_lsapolicy_l1_1_0
1086 enable_api_ms_win_security_provider_l1_1_0
1087 enable_api_ms_win_security_sddl_l1_1_0
1088 enable_api_ms_win_security_systemfunctions_l1_1_0
1089 enable_api_ms_win_service_core_l1_1_0
1090 enable_api_ms_win_service_core_l1_1_1
1091 enable_api_ms_win_service_management_l1_1_0
1092 enable_api_ms_win_service_management_l2_1_0
1093 enable_api_ms_win_service_private_l1_1_1
1094 enable_api_ms_win_service_winsvc_l1_1_0
1095 enable_api_ms_win_service_winsvc_l1_2_0
1096 enable_api_ms_win_shcore_scaling_l1_1_1
1097 enable_api_ms_win_shell_shellcom_l1_1_0
1098 enable_api_ms_win_shell_shellfolders_l1_1_0
1099 enable_apphelp
1100 enable_appwiz_cpl
1101 enable_atl
1102 enable_atl100
1103 enable_atl110
1104 enable_atl80
1105 enable_atl90
1106 enable_authz
1107 enable_avicap32
1108 enable_avifil32
1109 enable_avrt
1110 enable_bcrypt
1111 enable_bluetoothapis
1112 enable_browseui
1113 enable_bthprops_cpl
1114 enable_cabinet
1115 enable_capi2032
1116 enable_cards
1117 enable_cdosys
1118 enable_cfgmgr32
1119 enable_clusapi
1120 enable_combase
1121 enable_comcat
1122 enable_comctl32
1123 enable_comdlg32
1124 enable_compstui
1125 enable_comsvcs
1126 enable_concrt140
1127 enable_connect
1128 enable_credui
1129 enable_crtdll
1130 enable_crypt32
1131 enable_cryptdlg
1132 enable_cryptdll
1133 enable_cryptext
1134 enable_cryptnet
1135 enable_cryptui
1136 enable_ctapi32
1137 enable_ctl3d32
1138 enable_d2d1
1139 enable_d3d10
1140 enable_d3d10_1
1141 enable_d3d10core
1142 enable_d3d11
1143 enable_d3d12
1144 enable_d3d8
1145 enable_d3d9
1146 enable_d3dcompiler_33
1147 enable_d3dcompiler_34
1148 enable_d3dcompiler_35
1149 enable_d3dcompiler_36
1150 enable_d3dcompiler_37
1151 enable_d3dcompiler_38
1152 enable_d3dcompiler_39
1153 enable_d3dcompiler_40
1154 enable_d3dcompiler_41
1155 enable_d3dcompiler_42
1156 enable_d3dcompiler_43
1157 enable_d3dcompiler_46
1158 enable_d3dcompiler_47
1159 enable_d3dim
1160 enable_d3drm
1161 enable_d3dx10_33
1162 enable_d3dx10_34
1163 enable_d3dx10_35
1164 enable_d3dx10_36
1165 enable_d3dx10_37
1166 enable_d3dx10_38
1167 enable_d3dx10_39
1168 enable_d3dx10_40
1169 enable_d3dx10_41
1170 enable_d3dx10_42
1171 enable_d3dx10_43
1172 enable_d3dx11_42
1173 enable_d3dx11_43
1174 enable_d3dx9_24
1175 enable_d3dx9_25
1176 enable_d3dx9_26
1177 enable_d3dx9_27
1178 enable_d3dx9_28
1179 enable_d3dx9_29
1180 enable_d3dx9_30
1181 enable_d3dx9_31
1182 enable_d3dx9_32
1183 enable_d3dx9_33
1184 enable_d3dx9_34
1185 enable_d3dx9_35
1186 enable_d3dx9_36
1187 enable_d3dx9_37
1188 enable_d3dx9_38
1189 enable_d3dx9_39
1190 enable_d3dx9_40
1191 enable_d3dx9_41
1192 enable_d3dx9_42
1193 enable_d3dx9_43
1194 enable_d3dxof
1195 enable_davclnt
1196 enable_dbgeng
1197 enable_dbghelp
1198 enable_dciman32
1199 enable_ddraw
1200 enable_ddrawex
1201 enable_devenum
1202 enable_dhcpcsvc
1203 enable_dhtmled_ocx
1204 enable_difxapi
1205 enable_dinput
1206 enable_dinput8
1207 enable_dispex
1208 enable_dmband
1209 enable_dmcompos
1210 enable_dmime
1211 enable_dmloader
1212 enable_dmscript
1213 enable_dmstyle
1214 enable_dmsynth
1215 enable_dmusic
1216 enable_dmusic32
1217 enable_dnsapi
1218 enable_dplay
1219 enable_dplayx
1220 enable_dpnaddr
1221 enable_dpnet
1222 enable_dpnhpast
1223 enable_dpnlobby
1224 enable_dpvoice
1225 enable_dpwsockx
1226 enable_drmclien
1227 enable_dsound
1228 enable_dsquery
1229 enable_dssenh
1230 enable_dswave
1231 enable_dwmapi
1232 enable_dwrite
1233 enable_dx8vb
1234 enable_dxdiagn
1235 enable_dxerr8
1236 enable_dxerr9
1237 enable_dxgi
1238 enable_dxguid
1239 enable_dxva2
1240 enable_esent
1241 enable_evr
1242 enable_explorerframe
1243 enable_ext_ms_win_authz_context_l1_1_0
1244 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1245 enable_ext_ms_win_dwmapi_ext_l1_1_0
1246 enable_ext_ms_win_gdi_dc_create_l1_1_1
1247 enable_ext_ms_win_gdi_dc_l1_2_0
1248 enable_ext_ms_win_gdi_devcaps_l1_1_0
1249 enable_ext_ms_win_gdi_draw_l1_1_1
1250 enable_ext_ms_win_gdi_render_l1_1_0
1251 enable_ext_ms_win_kernel32_package_current_l1_1_0
1252 enable_ext_ms_win_kernel32_package_l1_1_1
1253 enable_ext_ms_win_ntuser_draw_l1_1_0
1254 enable_ext_ms_win_ntuser_gui_l1_3_0
1255 enable_ext_ms_win_ntuser_keyboard_l1_3_0
1256 enable_ext_ms_win_ntuser_message_l1_1_1
1257 enable_ext_ms_win_ntuser_misc_l1_5_1
1258 enable_ext_ms_win_ntuser_mouse_l1_1_0
1259 enable_ext_ms_win_ntuser_private_l1_1_1
1260 enable_ext_ms_win_ntuser_private_l1_3_1
1261 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1262 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1263 enable_ext_ms_win_ntuser_window_l1_1_1
1264 enable_ext_ms_win_ntuser_window_l1_1_4
1265 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1266 enable_ext_ms_win_oleacc_l1_1_0
1267 enable_ext_ms_win_ras_rasapi32_l1_1_0
1268 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
1269 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1270 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1271 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
1272 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1273 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1274 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
1275 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
1276 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
1277 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1278 enable_ext_ms_win_security_credui_l1_1_0
1279 enable_ext_ms_win_security_cryptui_l1_1_0
1280 enable_faultrep
1281 enable_fltlib
1282 enable_fltmgr_sys
1283 enable_fntcache
1284 enable_fontsub
1285 enable_fusion
1286 enable_fwpuclnt
1287 enable_gameux
1288 enable_gdi32
1289 enable_gdiplus
1290 enable_glu32
1291 enable_gphoto2_ds
1292 enable_gpkcsp
1293 enable_hal
1294 enable_hhctrl_ocx
1295 enable_hid
1296 enable_hidclass_sys
1297 enable_hlink
1298 enable_hnetcfg
1299 enable_httpapi
1300 enable_iccvid
1301 enable_icmp
1302 enable_ieframe
1303 enable_ieproxy
1304 enable_imaadp32_acm
1305 enable_imagehlp
1306 enable_imm32
1307 enable_inetcomm
1308 enable_inetcpl_cpl
1309 enable_inetmib1
1310 enable_infosoft
1311 enable_initpki
1312 enable_inkobj
1313 enable_inseng
1314 enable_iphlpapi
1315 enable_iprop
1316 enable_irprops_cpl
1317 enable_itircl
1318 enable_itss
1319 enable_joy_cpl
1320 enable_jscript
1321 enable_jsproxy
1322 enable_kerberos
1323 enable_kernel32
1324 enable_kernelbase
1325 enable_ksuser
1326 enable_ktmw32
1327 enable_l3codeca_acm
1328 enable_loadperf
1329 enable_localspl
1330 enable_localui
1331 enable_lz32
1332 enable_mapi32
1333 enable_mapistub
1334 enable_mciavi32
1335 enable_mcicda
1336 enable_mciqtz32
1337 enable_mciseq
1338 enable_mciwave
1339 enable_mf
1340 enable_mf3216
1341 enable_mfplat
1342 enable_mfreadwrite
1343 enable_mfuuid
1344 enable_mgmtapi
1345 enable_midimap
1346 enable_mlang
1347 enable_mmcndmgr
1348 enable_mmdevapi
1349 enable_mountmgr_sys
1350 enable_mpr
1351 enable_mprapi
1352 enable_msacm32_drv
1353 enable_msacm32
1354 enable_msadp32_acm
1355 enable_msasn1
1356 enable_mscat32
1357 enable_mscms
1358 enable_mscoree
1359 enable_msctf
1360 enable_msctfp
1361 enable_msdaps
1362 enable_msdelta
1363 enable_msdmo
1364 enable_msdrm
1365 enable_msftedit
1366 enable_msg711_acm
1367 enable_msgsm32_acm
1368 enable_mshtml_tlb
1369 enable_mshtml
1370 enable_msi
1371 enable_msident
1372 enable_msimg32
1373 enable_msimsg
1374 enable_msimtf
1375 enable_msisip
1376 enable_msisys_ocx
1377 enable_msls31
1378 enable_msnet32
1379 enable_mspatcha
1380 enable_msports
1381 enable_msrle32
1382 enable_msscript_ocx
1383 enable_mssign32
1384 enable_mssip32
1385 enable_mstask
1386 enable_msvcirt
1387 enable_msvcm80
1388 enable_msvcm90
1389 enable_msvcp100
1390 enable_msvcp110
1391 enable_msvcp120
1392 enable_msvcp120_app
1393 enable_msvcp140
1394 enable_msvcp60
1395 enable_msvcp70
1396 enable_msvcp71
1397 enable_msvcp80
1398 enable_msvcp90
1399 enable_msvcr100
1400 enable_msvcr110
1401 enable_msvcr120
1402 enable_msvcr120_app
1403 enable_msvcr70
1404 enable_msvcr71
1405 enable_msvcr80
1406 enable_msvcr90
1407 enable_msvcrt
1408 enable_msvcrt20
1409 enable_msvcrt40
1410 enable_msvcrtd
1411 enable_msvfw32
1412 enable_msvidc32
1413 enable_mswsock
1414 enable_msxml
1415 enable_msxml2
1416 enable_msxml3
1417 enable_msxml4
1418 enable_msxml6
1419 enable_mtxdm
1420 enable_ncrypt
1421 enable_nddeapi
1422 enable_ndis_sys
1423 enable_netapi32
1424 enable_netcfgx
1425 enable_netprofm
1426 enable_newdev
1427 enable_ninput
1428 enable_normaliz
1429 enable_npmshtml
1430 enable_npptools
1431 enable_ntdll
1432 enable_ntdsapi
1433 enable_ntoskrnl_exe
1434 enable_ntprint
1435 enable_objsel
1436 enable_odbc32
1437 enable_odbccp32
1438 enable_odbccu32
1439 enable_ole32
1440 enable_oleacc
1441 enable_oleaut32
1442 enable_olecli32
1443 enable_oledb32
1444 enable_oledlg
1445 enable_olepro32
1446 enable_olesvr32
1447 enable_olethk32
1448 enable_openal32
1449 enable_opencl
1450 enable_opengl32
1451 enable_packager
1452 enable_pdh
1453 enable_photometadatahandler
1454 enable_pidgen
1455 enable_powrprof
1456 enable_printui
1457 enable_prntvpt
1458 enable_propsys
1459 enable_psapi
1460 enable_pstorec
1461 enable_qcap
1462 enable_qedit
1463 enable_qmgr
1464 enable_qmgrprxy
1465 enable_quartz
1466 enable_query
1467 enable_rasapi32
1468 enable_rasdlg
1469 enable_regapi
1470 enable_resutils
1471 enable_riched20
1472 enable_riched32
1473 enable_rpcrt4
1474 enable_rsabase
1475 enable_rsaenh
1476 enable_rstrtmgr
1477 enable_rtutils
1478 enable_samlib
1479 enable_sane_ds
1480 enable_sapi
1481 enable_scarddlg
1482 enable_sccbase
1483 enable_schannel
1484 enable_schedsvc
1485 enable_scrobj
1486 enable_scrrun
1487 enable_scsiport_sys
1488 enable_secur32
1489 enable_security
1490 enable_sensapi
1491 enable_serialui
1492 enable_setupapi
1493 enable_sfc
1494 enable_sfc_os
1495 enable_shcore
1496 enable_shdoclc
1497 enable_shdocvw
1498 enable_shell32
1499 enable_shfolder
1500 enable_shlwapi
1501 enable_slbcsp
1502 enable_slc
1503 enable_snmpapi
1504 enable_softpub
1505 enable_spoolss
1506 enable_sspicli
1507 enable_stdole2_tlb
1508 enable_stdole32_tlb
1509 enable_sti
1510 enable_strmbase
1511 enable_strmiids
1512 enable_svrapi
1513 enable_sxs
1514 enable_t2embed
1515 enable_tapi32
1516 enable_taskschd
1517 enable_tdh
1518 enable_tdi_sys
1519 enable_traffic
1520 enable_twain_32
1521 enable_ucrtbase
1522 enable_uiautomationcore
1523 enable_uiribbon
1524 enable_unicows
1525 enable_updspapi
1526 enable_url
1527 enable_urlmon
1528 enable_usbd_sys
1529 enable_user32
1530 enable_userenv
1531 enable_usp10
1532 enable_uuid
1533 enable_uxtheme
1534 enable_vbscript
1535 enable_vcomp
1536 enable_vcomp100
1537 enable_vcomp110
1538 enable_vcomp120
1539 enable_vcomp140
1540 enable_vcomp90
1541 enable_vcruntime140
1542 enable_vdmdbg
1543 enable_version
1544 enable_virtdisk
1545 enable_vssapi
1546 enable_wbemdisp
1547 enable_wbemprox
1548 enable_wdscore
1549 enable_webservices
1550 enable_wer
1551 enable_wevtapi
1552 enable_wiaservc
1553 enable_wimgapi
1554 enable_windowscodecs
1555 enable_windowscodecsext
1556 enable_winealsa_drv
1557 enable_wineandroid_drv
1558 enable_winebus_sys
1559 enable_winecoreaudio_drv
1560 enable_winecrt0
1561 enable_wined3d
1562 enable_winegstreamer
1563 enable_winehid_sys
1564 enable_winejoystick_drv
1565 enable_winemac_drv
1566 enable_winemapi
1567 enable_wineoss_drv
1568 enable_wineps_drv
1569 enable_winepulse_drv
1570 enable_wineqtdecoder
1571 enable_winevulkan
1572 enable_winex11_drv
1573 enable_wing32
1574 enable_winhttp
1575 enable_wininet
1576 enable_winmm
1577 enable_winnls32
1578 enable_winscard
1579 enable_winspool_drv
1580 enable_winsta
1581 enable_wintab32
1582 enable_wintrust
1583 enable_winusb
1584 enable_wlanapi
1585 enable_wldap32
1586 enable_wmasf
1587 enable_wmi
1588 enable_wmiutils
1589 enable_wmp
1590 enable_wmphoto
1591 enable_wmvcore
1592 enable_wnaspi32
1593 enable_wpc
1594 enable_wpcap
1595 enable_ws2_32
1596 enable_wsdapi
1597 enable_wshom_ocx
1598 enable_wsnmp32
1599 enable_wsock32
1600 enable_wtsapi32
1601 enable_wuapi
1602 enable_wuaueng
1603 enable_x3daudio1_0
1604 enable_x3daudio1_1
1605 enable_x3daudio1_2
1606 enable_x3daudio1_3
1607 enable_x3daudio1_4
1608 enable_x3daudio1_5
1609 enable_x3daudio1_6
1610 enable_x3daudio1_7
1611 enable_xapofx1_1
1612 enable_xapofx1_2
1613 enable_xapofx1_3
1614 enable_xapofx1_4
1615 enable_xapofx1_5
1616 enable_xaudio2_0
1617 enable_xaudio2_1
1618 enable_xaudio2_2
1619 enable_xaudio2_3
1620 enable_xaudio2_4
1621 enable_xaudio2_5
1622 enable_xaudio2_6
1623 enable_xaudio2_7
1624 enable_xaudio2_8
1625 enable_xaudio2_9
1626 enable_xinput1_1
1627 enable_xinput1_2
1628 enable_xinput1_3
1629 enable_xinput1_4
1630 enable_xinput9_1_0
1631 enable_xmllite
1632 enable_xolehlp
1633 enable_xpsprint
1634 enable_xpssvcs
1635 enable_fonts
1636 enable_include
1637 enable_port
1638 enable_wine
1639 enable_wpp
1640 enable_loader
1641 enable_po
1642 enable_arp
1643 enable_aspnet_regiis
1644 enable_attrib
1645 enable_cabarc
1646 enable_cacls
1647 enable_clock
1648 enable_cmd
1649 enable_conhost
1650 enable_control
1651 enable_cscript
1652 enable_dpnsvr
1653 enable_dxdiag
1654 enable_eject
1655 enable_expand
1656 enable_explorer
1657 enable_extrac32
1658 enable_findstr
1659 enable_fsutil
1660 enable_hh
1661 enable_hostname
1662 enable_icacls
1663 enable_icinfo
1664 enable_iexplore
1665 enable_ipconfig
1666 enable_lodctr
1667 enable_mofcomp
1668 enable_mshta
1669 enable_msiexec
1670 enable_msinfo32
1671 enable_net
1672 enable_netsh
1673 enable_netstat
1674 enable_ngen
1675 enable_notepad
1676 enable_oleview
1677 enable_ping
1678 enable_plugplay
1679 enable_powershell
1680 enable_presentationfontcache
1681 enable_progman
1682 enable_reg
1683 enable_regasm
1684 enable_regedit
1685 enable_regsvcs
1686 enable_regsvr32
1687 enable_rpcss
1688 enable_rundll32
1689 enable_sc
1690 enable_schtasks
1691 enable_sdbinst
1692 enable_secedit
1693 enable_servicemodelreg
1694 enable_services
1695 enable_shutdown
1696 enable_spoolsv
1697 enable_start
1698 enable_subst
1699 enable_svchost
1700 enable_systeminfo
1701 enable_taskkill
1702 enable_tasklist
1703 enable_taskmgr
1704 enable_termsv
1705 enable_uninstaller
1706 enable_unlodctr
1707 enable_view
1708 enable_wevtutil
1709 enable_wineboot
1710 enable_winebrowser
1711 enable_winecfg
1712 enable_wineconsole
1713 enable_winedbg
1714 enable_winedevice
1715 enable_winefile
1716 enable_winemenubuilder
1717 enable_winemine
1718 enable_winemsibuilder
1719 enable_winepath
1720 enable_winetest
1721 enable_winhlp32
1722 enable_winver
1723 enable_wmic
1724 enable_wmplayer
1725 enable_wordpad
1726 enable_write
1727 enable_wscript
1728 enable_wusa
1729 enable_xcopy
1730 enable_server
1731 enable_tools
1732 enable_sfnt2fon
1733 enable_widl
1734 enable_winebuild
1735 enable_winedump
1736 enable_winegcc
1737 enable_winemaker
1738 enable_wmc
1739 enable_wrc
1741 ac_precious_vars='build_alias
1742 host_alias
1743 target_alias
1745 CFLAGS
1746 LDFLAGS
1747 LIBS
1748 CPPFLAGS
1750 CXXFLAGS
1753 XMKMF
1754 XML2_CFLAGS
1755 XML2_LIBS
1756 XSLT_CFLAGS
1757 XSLT_LIBS
1758 DBUS_CFLAGS
1759 DBUS_LIBS
1760 HAL_CFLAGS
1761 HAL_LIBS
1762 GNUTLS_CFLAGS
1763 GNUTLS_LIBS
1764 SANE_CFLAGS
1765 SANE_LIBS
1766 GPHOTO2_CFLAGS
1767 GPHOTO2_LIBS
1768 GPHOTO2_PORT_CFLAGS
1769 GPHOTO2_PORT_LIBS
1770 LCMS2_CFLAGS
1771 LCMS2_LIBS
1772 FREETYPE_CFLAGS
1773 FREETYPE_LIBS
1774 PULSE_CFLAGS
1775 PULSE_LIBS
1776 GSTREAMER_CFLAGS
1777 GSTREAMER_LIBS
1778 UDEV_CFLAGS
1779 UDEV_LIBS
1780 SDL2_CFLAGS
1781 SDL2_LIBS
1782 CAPI20_CFLAGS
1783 CAPI20_LIBS
1784 CUPS_CFLAGS
1785 CUPS_LIBS
1786 FONTCONFIG_CFLAGS
1787 FONTCONFIG_LIBS
1788 KRB5_CFLAGS
1789 KRB5_LIBS
1790 GSSAPI_CFLAGS
1791 GSSAPI_LIBS
1792 JPEG_CFLAGS
1793 JPEG_LIBS
1794 PNG_CFLAGS
1795 PNG_LIBS
1796 TIFF_CFLAGS
1797 TIFF_LIBS
1798 MPG123_CFLAGS
1799 MPG123_LIBS
1800 NETAPI_CFLAGS
1801 NETAPI_LIBS
1802 LDAP_CFLAGS
1803 LDAP_LIBS'
1806 # Initialize some variables set by options.
1807 ac_init_help=
1808 ac_init_version=false
1809 ac_unrecognized_opts=
1810 ac_unrecognized_sep=
1811 # The variables have the same names as the options, with
1812 # dashes changed to underlines.
1813 cache_file=/dev/null
1814 exec_prefix=NONE
1815 no_create=
1816 no_recursion=
1817 prefix=NONE
1818 program_prefix=NONE
1819 program_suffix=NONE
1820 program_transform_name=s,x,x,
1821 silent=
1822 site=
1823 srcdir=
1824 verbose=
1825 x_includes=NONE
1826 x_libraries=NONE
1828 # Installation directory options.
1829 # These are left unexpanded so users can "make install exec_prefix=/foo"
1830 # and all the variables that are supposed to be based on exec_prefix
1831 # by default will actually change.
1832 # Use braces instead of parens because sh, perl, etc. also accept them.
1833 # (The list follows the same order as the GNU Coding Standards.)
1834 bindir='${exec_prefix}/bin'
1835 sbindir='${exec_prefix}/sbin'
1836 libexecdir='${exec_prefix}/libexec'
1837 datarootdir='${prefix}/share'
1838 datadir='${datarootdir}'
1839 sysconfdir='${prefix}/etc'
1840 sharedstatedir='${prefix}/com'
1841 localstatedir='${prefix}/var'
1842 runstatedir='${localstatedir}/run'
1843 includedir='${prefix}/include'
1844 oldincludedir='/usr/include'
1845 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1846 infodir='${datarootdir}/info'
1847 htmldir='${docdir}'
1848 dvidir='${docdir}'
1849 pdfdir='${docdir}'
1850 psdir='${docdir}'
1851 libdir='${exec_prefix}/lib'
1852 localedir='${datarootdir}/locale'
1853 mandir='${datarootdir}/man'
1855 ac_prev=
1856 ac_dashdash=
1857 for ac_option
1859 # If the previous option needs an argument, assign it.
1860 if test -n "$ac_prev"; then
1861 eval $ac_prev=\$ac_option
1862 ac_prev=
1863 continue
1866 case $ac_option in
1867 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1868 *=) ac_optarg= ;;
1869 *) ac_optarg=yes ;;
1870 esac
1872 # Accept the important Cygnus configure options, so we can diagnose typos.
1874 case $ac_dashdash$ac_option in
1876 ac_dashdash=yes ;;
1878 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1879 ac_prev=bindir ;;
1880 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1881 bindir=$ac_optarg ;;
1883 -build | --build | --buil | --bui | --bu)
1884 ac_prev=build_alias ;;
1885 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1886 build_alias=$ac_optarg ;;
1888 -cache-file | --cache-file | --cache-fil | --cache-fi \
1889 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1890 ac_prev=cache_file ;;
1891 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1892 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1893 cache_file=$ac_optarg ;;
1895 --config-cache | -C)
1896 cache_file=config.cache ;;
1898 -datadir | --datadir | --datadi | --datad)
1899 ac_prev=datadir ;;
1900 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1901 datadir=$ac_optarg ;;
1903 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1904 | --dataroo | --dataro | --datar)
1905 ac_prev=datarootdir ;;
1906 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1907 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1908 datarootdir=$ac_optarg ;;
1910 -disable-* | --disable-*)
1911 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1912 # Reject names that are not valid shell variable names.
1913 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1914 as_fn_error $? "invalid feature name: $ac_useropt"
1915 ac_useropt_orig=$ac_useropt
1916 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1917 case $ac_user_opts in
1919 "enable_$ac_useropt"
1920 "*) ;;
1921 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1922 ac_unrecognized_sep=', ';;
1923 esac
1924 eval enable_$ac_useropt=no ;;
1926 -docdir | --docdir | --docdi | --doc | --do)
1927 ac_prev=docdir ;;
1928 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1929 docdir=$ac_optarg ;;
1931 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1932 ac_prev=dvidir ;;
1933 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1934 dvidir=$ac_optarg ;;
1936 -enable-* | --enable-*)
1937 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1938 # Reject names that are not valid shell variable names.
1939 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1940 as_fn_error $? "invalid feature name: $ac_useropt"
1941 ac_useropt_orig=$ac_useropt
1942 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1943 case $ac_user_opts in
1945 "enable_$ac_useropt"
1946 "*) ;;
1947 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1948 ac_unrecognized_sep=', ';;
1949 esac
1950 eval enable_$ac_useropt=\$ac_optarg ;;
1952 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1953 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1954 | --exec | --exe | --ex)
1955 ac_prev=exec_prefix ;;
1956 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1957 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1958 | --exec=* | --exe=* | --ex=*)
1959 exec_prefix=$ac_optarg ;;
1961 -gas | --gas | --ga | --g)
1962 # Obsolete; use --with-gas.
1963 with_gas=yes ;;
1965 -help | --help | --hel | --he | -h)
1966 ac_init_help=long ;;
1967 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1968 ac_init_help=recursive ;;
1969 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1970 ac_init_help=short ;;
1972 -host | --host | --hos | --ho)
1973 ac_prev=host_alias ;;
1974 -host=* | --host=* | --hos=* | --ho=*)
1975 host_alias=$ac_optarg ;;
1977 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1978 ac_prev=htmldir ;;
1979 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1980 | --ht=*)
1981 htmldir=$ac_optarg ;;
1983 -includedir | --includedir | --includedi | --included | --include \
1984 | --includ | --inclu | --incl | --inc)
1985 ac_prev=includedir ;;
1986 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1987 | --includ=* | --inclu=* | --incl=* | --inc=*)
1988 includedir=$ac_optarg ;;
1990 -infodir | --infodir | --infodi | --infod | --info | --inf)
1991 ac_prev=infodir ;;
1992 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
1993 infodir=$ac_optarg ;;
1995 -libdir | --libdir | --libdi | --libd)
1996 ac_prev=libdir ;;
1997 -libdir=* | --libdir=* | --libdi=* | --libd=*)
1998 libdir=$ac_optarg ;;
2000 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2001 | --libexe | --libex | --libe)
2002 ac_prev=libexecdir ;;
2003 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2004 | --libexe=* | --libex=* | --libe=*)
2005 libexecdir=$ac_optarg ;;
2007 -localedir | --localedir | --localedi | --localed | --locale)
2008 ac_prev=localedir ;;
2009 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2010 localedir=$ac_optarg ;;
2012 -localstatedir | --localstatedir | --localstatedi | --localstated \
2013 | --localstate | --localstat | --localsta | --localst | --locals)
2014 ac_prev=localstatedir ;;
2015 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2016 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2017 localstatedir=$ac_optarg ;;
2019 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2020 ac_prev=mandir ;;
2021 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2022 mandir=$ac_optarg ;;
2024 -nfp | --nfp | --nf)
2025 # Obsolete; use --without-fp.
2026 with_fp=no ;;
2028 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2029 | --no-cr | --no-c | -n)
2030 no_create=yes ;;
2032 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2033 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2034 no_recursion=yes ;;
2036 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2037 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2038 | --oldin | --oldi | --old | --ol | --o)
2039 ac_prev=oldincludedir ;;
2040 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2041 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2042 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2043 oldincludedir=$ac_optarg ;;
2045 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2046 ac_prev=prefix ;;
2047 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2048 prefix=$ac_optarg ;;
2050 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2051 | --program-pre | --program-pr | --program-p)
2052 ac_prev=program_prefix ;;
2053 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2054 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2055 program_prefix=$ac_optarg ;;
2057 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2058 | --program-suf | --program-su | --program-s)
2059 ac_prev=program_suffix ;;
2060 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2061 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2062 program_suffix=$ac_optarg ;;
2064 -program-transform-name | --program-transform-name \
2065 | --program-transform-nam | --program-transform-na \
2066 | --program-transform-n | --program-transform- \
2067 | --program-transform | --program-transfor \
2068 | --program-transfo | --program-transf \
2069 | --program-trans | --program-tran \
2070 | --progr-tra | --program-tr | --program-t)
2071 ac_prev=program_transform_name ;;
2072 -program-transform-name=* | --program-transform-name=* \
2073 | --program-transform-nam=* | --program-transform-na=* \
2074 | --program-transform-n=* | --program-transform-=* \
2075 | --program-transform=* | --program-transfor=* \
2076 | --program-transfo=* | --program-transf=* \
2077 | --program-trans=* | --program-tran=* \
2078 | --progr-tra=* | --program-tr=* | --program-t=*)
2079 program_transform_name=$ac_optarg ;;
2081 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2082 ac_prev=pdfdir ;;
2083 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2084 pdfdir=$ac_optarg ;;
2086 -psdir | --psdir | --psdi | --psd | --ps)
2087 ac_prev=psdir ;;
2088 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2089 psdir=$ac_optarg ;;
2091 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2092 | -silent | --silent | --silen | --sile | --sil)
2093 silent=yes ;;
2095 -runstatedir | --runstatedir | --runstatedi | --runstated \
2096 | --runstate | --runstat | --runsta | --runst | --runs \
2097 | --run | --ru | --r)
2098 ac_prev=runstatedir ;;
2099 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2100 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2101 | --run=* | --ru=* | --r=*)
2102 runstatedir=$ac_optarg ;;
2104 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2105 ac_prev=sbindir ;;
2106 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2107 | --sbi=* | --sb=*)
2108 sbindir=$ac_optarg ;;
2110 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2111 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2112 | --sharedst | --shareds | --shared | --share | --shar \
2113 | --sha | --sh)
2114 ac_prev=sharedstatedir ;;
2115 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2116 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2117 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2118 | --sha=* | --sh=*)
2119 sharedstatedir=$ac_optarg ;;
2121 -site | --site | --sit)
2122 ac_prev=site ;;
2123 -site=* | --site=* | --sit=*)
2124 site=$ac_optarg ;;
2126 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2127 ac_prev=srcdir ;;
2128 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2129 srcdir=$ac_optarg ;;
2131 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2132 | --syscon | --sysco | --sysc | --sys | --sy)
2133 ac_prev=sysconfdir ;;
2134 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2135 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2136 sysconfdir=$ac_optarg ;;
2138 -target | --target | --targe | --targ | --tar | --ta | --t)
2139 ac_prev=target_alias ;;
2140 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2141 target_alias=$ac_optarg ;;
2143 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2144 verbose=yes ;;
2146 -version | --version | --versio | --versi | --vers | -V)
2147 ac_init_version=: ;;
2149 -with-* | --with-*)
2150 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2151 # Reject names that are not valid shell variable names.
2152 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2153 as_fn_error $? "invalid package name: $ac_useropt"
2154 ac_useropt_orig=$ac_useropt
2155 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2156 case $ac_user_opts in
2158 "with_$ac_useropt"
2159 "*) ;;
2160 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2161 ac_unrecognized_sep=', ';;
2162 esac
2163 eval with_$ac_useropt=\$ac_optarg ;;
2165 -without-* | --without-*)
2166 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2167 # Reject names that are not valid shell variable names.
2168 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2169 as_fn_error $? "invalid package name: $ac_useropt"
2170 ac_useropt_orig=$ac_useropt
2171 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2172 case $ac_user_opts in
2174 "with_$ac_useropt"
2175 "*) ;;
2176 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2177 ac_unrecognized_sep=', ';;
2178 esac
2179 eval with_$ac_useropt=no ;;
2181 --x)
2182 # Obsolete; use --with-x.
2183 with_x=yes ;;
2185 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2186 | --x-incl | --x-inc | --x-in | --x-i)
2187 ac_prev=x_includes ;;
2188 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2189 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2190 x_includes=$ac_optarg ;;
2192 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2193 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2194 ac_prev=x_libraries ;;
2195 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2196 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2197 x_libraries=$ac_optarg ;;
2199 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2200 Try \`$0 --help' for more information"
2203 *=*)
2204 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2205 # Reject names that are not valid shell variable names.
2206 case $ac_envvar in #(
2207 '' | [0-9]* | *[!_$as_cr_alnum]* )
2208 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2209 esac
2210 eval $ac_envvar=\$ac_optarg
2211 export $ac_envvar ;;
2214 # FIXME: should be removed in autoconf 3.0.
2215 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2216 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2217 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2218 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2221 esac
2222 done
2224 if test -n "$ac_prev"; then
2225 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2226 as_fn_error $? "missing argument to $ac_option"
2229 if test -n "$ac_unrecognized_opts"; then
2230 case $enable_option_checking in
2231 no) ;;
2232 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2233 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2234 esac
2237 # Check all directory arguments for consistency.
2238 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2239 datadir sysconfdir sharedstatedir localstatedir includedir \
2240 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2241 libdir localedir mandir runstatedir
2243 eval ac_val=\$$ac_var
2244 # Remove trailing slashes.
2245 case $ac_val in
2246 */ )
2247 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2248 eval $ac_var=\$ac_val;;
2249 esac
2250 # Be sure to have absolute directory names.
2251 case $ac_val in
2252 [\\/$]* | ?:[\\/]* ) continue;;
2253 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2254 esac
2255 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2256 done
2258 # There might be people who depend on the old broken behavior: `$host'
2259 # used to hold the argument of --host etc.
2260 # FIXME: To remove some day.
2261 build=$build_alias
2262 host=$host_alias
2263 target=$target_alias
2265 # FIXME: To remove some day.
2266 if test "x$host_alias" != x; then
2267 if test "x$build_alias" = x; then
2268 cross_compiling=maybe
2269 elif test "x$build_alias" != "x$host_alias"; then
2270 cross_compiling=yes
2274 ac_tool_prefix=
2275 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2277 test "$silent" = yes && exec 6>/dev/null
2280 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2281 ac_ls_di=`ls -di .` &&
2282 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2283 as_fn_error $? "working directory cannot be determined"
2284 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2285 as_fn_error $? "pwd does not report name of working directory"
2288 # Find the source files, if location was not specified.
2289 if test -z "$srcdir"; then
2290 ac_srcdir_defaulted=yes
2291 # Try the directory containing this script, then the parent directory.
2292 ac_confdir=`$as_dirname -- "$as_myself" ||
2293 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2294 X"$as_myself" : 'X\(//\)[^/]' \| \
2295 X"$as_myself" : 'X\(//\)$' \| \
2296 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2297 $as_echo X"$as_myself" |
2298 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2299 s//\1/
2302 /^X\(\/\/\)[^/].*/{
2303 s//\1/
2306 /^X\(\/\/\)$/{
2307 s//\1/
2310 /^X\(\/\).*/{
2311 s//\1/
2314 s/.*/./; q'`
2315 srcdir=$ac_confdir
2316 if test ! -r "$srcdir/$ac_unique_file"; then
2317 srcdir=..
2319 else
2320 ac_srcdir_defaulted=no
2322 if test ! -r "$srcdir/$ac_unique_file"; then
2323 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2324 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2326 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2327 ac_abs_confdir=`(
2328 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2329 pwd)`
2330 # When building in place, set srcdir=.
2331 if test "$ac_abs_confdir" = "$ac_pwd"; then
2332 srcdir=.
2334 # Remove unnecessary trailing slashes from srcdir.
2335 # Double slashes in file names in object file debugging info
2336 # mess up M-x gdb in Emacs.
2337 case $srcdir in
2338 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2339 esac
2340 for ac_var in $ac_precious_vars; do
2341 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2342 eval ac_env_${ac_var}_value=\$${ac_var}
2343 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2344 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2345 done
2348 # Report the --help message.
2350 if test "$ac_init_help" = "long"; then
2351 # Omit some internal or obsolete options to make the list less imposing.
2352 # This message is too long to be a string in the A/UX 3.1 sh.
2353 cat <<_ACEOF
2354 \`configure' configures Wine 3.3 to adapt to many kinds of systems.
2356 Usage: $0 [OPTION]... [VAR=VALUE]...
2358 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2359 VAR=VALUE. See below for descriptions of some of the useful variables.
2361 Defaults for the options are specified in brackets.
2363 Configuration:
2364 -h, --help display this help and exit
2365 --help=short display options specific to this package
2366 --help=recursive display the short help of all the included packages
2367 -V, --version display version information and exit
2368 -q, --quiet, --silent do not print \`checking ...' messages
2369 --cache-file=FILE cache test results in FILE [disabled]
2370 -C, --config-cache alias for \`--cache-file=config.cache'
2371 -n, --no-create do not create output files
2372 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2374 Installation directories:
2375 --prefix=PREFIX install architecture-independent files in PREFIX
2376 [$ac_default_prefix]
2377 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2378 [PREFIX]
2380 By default, \`make install' will install all the files in
2381 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2382 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2383 for instance \`--prefix=\$HOME'.
2385 For better control, use the options below.
2387 Fine tuning of the installation directories:
2388 --bindir=DIR user executables [EPREFIX/bin]
2389 --sbindir=DIR system admin executables [EPREFIX/sbin]
2390 --libexecdir=DIR program executables [EPREFIX/libexec]
2391 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2392 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2393 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2394 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2395 --libdir=DIR object code libraries [EPREFIX/lib]
2396 --includedir=DIR C header files [PREFIX/include]
2397 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2398 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2399 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2400 --infodir=DIR info documentation [DATAROOTDIR/info]
2401 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2402 --mandir=DIR man documentation [DATAROOTDIR/man]
2403 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2404 --htmldir=DIR html documentation [DOCDIR]
2405 --dvidir=DIR dvi documentation [DOCDIR]
2406 --pdfdir=DIR pdf documentation [DOCDIR]
2407 --psdir=DIR ps documentation [DOCDIR]
2408 _ACEOF
2410 cat <<\_ACEOF
2412 X features:
2413 --x-includes=DIR X include files are in DIR
2414 --x-libraries=DIR X library files are in DIR
2416 System types:
2417 --build=BUILD configure for building on BUILD [guessed]
2418 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2419 _ACEOF
2422 if test -n "$ac_init_help"; then
2423 case $ac_init_help in
2424 short | recursive ) echo "Configuration of Wine 3.3:";;
2425 esac
2426 cat <<\_ACEOF
2428 Optional Features:
2429 --disable-option-checking ignore unrecognized --enable/--with options
2430 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2431 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2432 --disable-win16 do not include Win16 support
2433 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2434 binaries)
2435 --disable-tests do not build the regression tests
2436 --enable-maintainer-mode
2437 enable maintainer-specific build rules
2438 --disable-largefile omit support for large files
2440 Optional Packages:
2441 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2442 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2443 --without-alsa do not use the Alsa sound support
2444 --without-capi do not use CAPI (ISDN support)
2445 --without-cms do not use CMS (color management support)
2446 --without-coreaudio do not use the CoreAudio sound support
2447 --without-cups do not use CUPS
2448 --without-curses do not use (n)curses
2449 --without-dbus do not use DBus (dynamic device support)
2450 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2451 --without-fontconfig do not use fontconfig
2452 --without-freetype do not use the FreeType library
2453 --without-gettext do not use gettext
2454 --with-gettextpo use the GetTextPO library to rebuild po files
2455 --without-gphoto do not use gphoto (Digital Camera support)
2456 --without-glu do not use the GLU library
2457 --without-gnutls do not use GnuTLS (schannel support)
2458 --without-gsm do not use libgsm (GSM 06.10 codec support)
2459 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2460 --without-gstreamer do not use GStreamer (codecs support)
2461 --without-hal do not use HAL (dynamic device support)
2462 --without-jpeg do not use JPEG
2463 --without-krb5 do not use krb5 (Kerberos)
2464 --without-ldap do not use LDAP
2465 --without-mpg123 do not use the mpg123 library
2466 --without-netapi do not use the Samba NetAPI library
2467 --without-openal do not use OpenAL
2468 --without-opencl do not use OpenCL
2469 --without-opengl do not use OpenGL
2470 --without-osmesa do not use the OSMesa library
2471 --without-oss do not use the OSS sound support
2472 --without-pcap do not use the Packet Capture library
2473 --without-png do not use PNG
2474 --without-pthread do not use the pthread library
2475 --without-pulse do not use PulseAudio sound support
2476 --without-sane do not use SANE (scanner support)
2477 --without-sdl do not use SDL
2478 --without-tiff do not use TIFF
2479 --without-udev do not use udev (plug and play support)
2480 --without-v4l do not use v4l1 (v4l support)
2481 --without-vulkan do not use Vulkan
2482 --without-xcomposite do not use the Xcomposite extension
2483 --without-xcursor do not use the Xcursor extension
2484 --without-xfixes do not use Xfixes for clipboard change notifications
2485 --without-xinerama do not use Xinerama (multi-monitor support)
2486 --without-xinput do not use the Xinput extension
2487 --without-xinput2 do not use the Xinput 2 extension
2488 --without-xml do not use XML
2489 --without-xrandr do not use Xrandr (resolution changes)
2490 --without-xrender do not use the Xrender extension
2491 --without-xshape do not use the Xshape extension
2492 --without-xshm do not use XShm (shared memory extension)
2493 --without-xslt do not use XSLT
2494 --without-xxf86vm do not use XFree video mode extension
2495 --without-zlib do not use Zlib (data compression)
2496 --with-wine-tools=DIR use Wine tools from directory DIR
2497 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2498 --with-x use the X Window System
2500 Some influential environment variables:
2501 CC C compiler command
2502 CFLAGS C compiler flags
2503 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2504 nonstandard directory <lib dir>
2505 LIBS libraries to pass to the linker, e.g. -l<library>
2506 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2507 you have headers in a nonstandard directory <include dir>
2508 CXX C++ compiler command
2509 CXXFLAGS C++ compiler flags
2510 CPP C preprocessor
2511 XMKMF Path to xmkmf, Makefile generator for X Window System
2512 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2513 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2514 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2515 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2516 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2517 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2518 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2519 HAL_LIBS Linker flags for hal, overriding pkg-config
2520 GNUTLS_CFLAGS
2521 C compiler flags for gnutls, overriding pkg-config
2522 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2523 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2524 SANE_LIBS Linker flags for libsane, overriding pkg-config
2525 GPHOTO2_CFLAGS
2526 C compiler flags for libgphoto2, overriding pkg-config
2527 GPHOTO2_LIBS
2528 Linker flags for libgphoto2, overriding pkg-config
2529 GPHOTO2_PORT_CFLAGS
2530 C compiler flags for libgphoto2_port, overriding pkg-config
2531 GPHOTO2_PORT_LIBS
2532 Linker flags for libgphoto2_port, overriding pkg-config
2533 LCMS2_CFLAGS
2534 C compiler flags for lcms2, overriding pkg-config
2535 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2536 FREETYPE_CFLAGS
2537 C compiler flags for freetype2, overriding pkg-config
2538 FREETYPE_LIBS
2539 Linker flags for freetype2, overriding pkg-config
2540 PULSE_CFLAGS
2541 C compiler flags for libpulse, overriding pkg-config
2542 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2543 GSTREAMER_CFLAGS
2544 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2545 gstreamer-audio-1.0, overriding pkg-config
2546 GSTREAMER_LIBS
2547 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2548 gstreamer-audio-1.0, overriding pkg-config
2549 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2550 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2551 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2552 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2553 CAPI20_CFLAGS
2554 C compiler flags for capi20, overriding pkg-config
2555 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2556 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2557 CUPS_LIBS Linker flags for cups, overriding pkg-config
2558 FONTCONFIG_CFLAGS
2559 C compiler flags for fontconfig, overriding pkg-config
2560 FONTCONFIG_LIBS
2561 Linker flags for fontconfig, overriding pkg-config
2562 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2563 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2564 GSSAPI_CFLAGS
2565 C compiler flags for krb5-gssapi, overriding pkg-config
2566 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2567 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2568 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2569 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2570 PNG_LIBS Linker flags for libpng, overriding pkg-config
2571 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2572 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2573 MPG123_CFLAGS
2574 C compiler flags for libmpg123, overriding pkg-config
2575 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2576 NETAPI_CFLAGS
2577 C compiler flags for netapi, overriding pkg-config
2578 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2579 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2580 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2582 Use these variables to override the choices made by `configure' or to help
2583 it to find libraries and programs with nonstandard names/locations.
2585 Report bugs to <wine-devel@winehq.org>.
2586 Wine home page: <https://www.winehq.org>.
2587 _ACEOF
2588 ac_status=$?
2591 if test "$ac_init_help" = "recursive"; then
2592 # If there are subdirs, report their specific --help.
2593 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2594 test -d "$ac_dir" ||
2595 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2596 continue
2597 ac_builddir=.
2599 case "$ac_dir" in
2600 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2602 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2603 # A ".." for each directory in $ac_dir_suffix.
2604 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2605 case $ac_top_builddir_sub in
2606 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2607 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2608 esac ;;
2609 esac
2610 ac_abs_top_builddir=$ac_pwd
2611 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2612 # for backward compatibility:
2613 ac_top_builddir=$ac_top_build_prefix
2615 case $srcdir in
2616 .) # We are building in place.
2617 ac_srcdir=.
2618 ac_top_srcdir=$ac_top_builddir_sub
2619 ac_abs_top_srcdir=$ac_pwd ;;
2620 [\\/]* | ?:[\\/]* ) # Absolute name.
2621 ac_srcdir=$srcdir$ac_dir_suffix;
2622 ac_top_srcdir=$srcdir
2623 ac_abs_top_srcdir=$srcdir ;;
2624 *) # Relative name.
2625 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2626 ac_top_srcdir=$ac_top_build_prefix$srcdir
2627 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2628 esac
2629 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2631 cd "$ac_dir" || { ac_status=$?; continue; }
2632 # Check for guested configure.
2633 if test -f "$ac_srcdir/configure.gnu"; then
2634 echo &&
2635 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2636 elif test -f "$ac_srcdir/configure"; then
2637 echo &&
2638 $SHELL "$ac_srcdir/configure" --help=recursive
2639 else
2640 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2641 fi || ac_status=$?
2642 cd "$ac_pwd" || { ac_status=$?; break; }
2643 done
2646 test -n "$ac_init_help" && exit $ac_status
2647 if $ac_init_version; then
2648 cat <<\_ACEOF
2649 Wine configure 3.3
2650 generated by GNU Autoconf 2.69
2652 Copyright (C) 2012 Free Software Foundation, Inc.
2653 This configure script is free software; the Free Software Foundation
2654 gives unlimited permission to copy, distribute and modify it.
2655 _ACEOF
2656 exit
2659 ## ------------------------ ##
2660 ## Autoconf initialization. ##
2661 ## ------------------------ ##
2663 # ac_fn_c_try_compile LINENO
2664 # --------------------------
2665 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2666 ac_fn_c_try_compile ()
2668 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2669 rm -f conftest.$ac_objext
2670 if { { ac_try="$ac_compile"
2671 case "(($ac_try" in
2672 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2673 *) ac_try_echo=$ac_try;;
2674 esac
2675 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2676 $as_echo "$ac_try_echo"; } >&5
2677 (eval "$ac_compile") 2>conftest.err
2678 ac_status=$?
2679 if test -s conftest.err; then
2680 grep -v '^ *+' conftest.err >conftest.er1
2681 cat conftest.er1 >&5
2682 mv -f conftest.er1 conftest.err
2684 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2685 test $ac_status = 0; } && {
2686 test -z "$ac_c_werror_flag" ||
2687 test ! -s conftest.err
2688 } && test -s conftest.$ac_objext; then :
2689 ac_retval=0
2690 else
2691 $as_echo "$as_me: failed program was:" >&5
2692 sed 's/^/| /' conftest.$ac_ext >&5
2694 ac_retval=1
2696 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2697 as_fn_set_status $ac_retval
2699 } # ac_fn_c_try_compile
2701 # ac_fn_cxx_try_compile LINENO
2702 # ----------------------------
2703 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2704 ac_fn_cxx_try_compile ()
2706 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2707 rm -f conftest.$ac_objext
2708 if { { ac_try="$ac_compile"
2709 case "(($ac_try" in
2710 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2711 *) ac_try_echo=$ac_try;;
2712 esac
2713 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2714 $as_echo "$ac_try_echo"; } >&5
2715 (eval "$ac_compile") 2>conftest.err
2716 ac_status=$?
2717 if test -s conftest.err; then
2718 grep -v '^ *+' conftest.err >conftest.er1
2719 cat conftest.er1 >&5
2720 mv -f conftest.er1 conftest.err
2722 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2723 test $ac_status = 0; } && {
2724 test -z "$ac_cxx_werror_flag" ||
2725 test ! -s conftest.err
2726 } && test -s conftest.$ac_objext; then :
2727 ac_retval=0
2728 else
2729 $as_echo "$as_me: failed program was:" >&5
2730 sed 's/^/| /' conftest.$ac_ext >&5
2732 ac_retval=1
2734 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2735 as_fn_set_status $ac_retval
2737 } # ac_fn_cxx_try_compile
2739 # ac_fn_c_try_link LINENO
2740 # -----------------------
2741 # Try to link conftest.$ac_ext, and return whether this succeeded.
2742 ac_fn_c_try_link ()
2744 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2745 rm -f conftest.$ac_objext conftest$ac_exeext
2746 if { { ac_try="$ac_link"
2747 case "(($ac_try" in
2748 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2749 *) ac_try_echo=$ac_try;;
2750 esac
2751 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2752 $as_echo "$ac_try_echo"; } >&5
2753 (eval "$ac_link") 2>conftest.err
2754 ac_status=$?
2755 if test -s conftest.err; then
2756 grep -v '^ *+' conftest.err >conftest.er1
2757 cat conftest.er1 >&5
2758 mv -f conftest.er1 conftest.err
2760 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2761 test $ac_status = 0; } && {
2762 test -z "$ac_c_werror_flag" ||
2763 test ! -s conftest.err
2764 } && test -s conftest$ac_exeext && {
2765 test "$cross_compiling" = yes ||
2766 test -x conftest$ac_exeext
2767 }; then :
2768 ac_retval=0
2769 else
2770 $as_echo "$as_me: failed program was:" >&5
2771 sed 's/^/| /' conftest.$ac_ext >&5
2773 ac_retval=1
2775 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2776 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2777 # interfere with the next link command; also delete a directory that is
2778 # left behind by Apple's compiler. We do this before executing the actions.
2779 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2780 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2781 as_fn_set_status $ac_retval
2783 } # ac_fn_c_try_link
2785 # ac_fn_c_try_cpp LINENO
2786 # ----------------------
2787 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2788 ac_fn_c_try_cpp ()
2790 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2791 if { { ac_try="$ac_cpp conftest.$ac_ext"
2792 case "(($ac_try" in
2793 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2794 *) ac_try_echo=$ac_try;;
2795 esac
2796 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2797 $as_echo "$ac_try_echo"; } >&5
2798 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2799 ac_status=$?
2800 if test -s conftest.err; then
2801 grep -v '^ *+' conftest.err >conftest.er1
2802 cat conftest.er1 >&5
2803 mv -f conftest.er1 conftest.err
2805 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2806 test $ac_status = 0; } > conftest.i && {
2807 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2808 test ! -s conftest.err
2809 }; then :
2810 ac_retval=0
2811 else
2812 $as_echo "$as_me: failed program was:" >&5
2813 sed 's/^/| /' conftest.$ac_ext >&5
2815 ac_retval=1
2817 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2818 as_fn_set_status $ac_retval
2820 } # ac_fn_c_try_cpp
2822 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2823 # -------------------------------------------------------
2824 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2825 # the include files in INCLUDES and setting the cache variable VAR
2826 # accordingly.
2827 ac_fn_c_check_header_mongrel ()
2829 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2830 if eval \${$3+:} false; then :
2831 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2832 $as_echo_n "checking for $2... " >&6; }
2833 if eval \${$3+:} false; then :
2834 $as_echo_n "(cached) " >&6
2836 eval ac_res=\$$3
2837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2838 $as_echo "$ac_res" >&6; }
2839 else
2840 # Is the header compilable?
2841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2842 $as_echo_n "checking $2 usability... " >&6; }
2843 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2844 /* end confdefs.h. */
2846 #include <$2>
2847 _ACEOF
2848 if ac_fn_c_try_compile "$LINENO"; then :
2849 ac_header_compiler=yes
2850 else
2851 ac_header_compiler=no
2853 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2855 $as_echo "$ac_header_compiler" >&6; }
2857 # Is the header present?
2858 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2859 $as_echo_n "checking $2 presence... " >&6; }
2860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2861 /* end confdefs.h. */
2862 #include <$2>
2863 _ACEOF
2864 if ac_fn_c_try_cpp "$LINENO"; then :
2865 ac_header_preproc=yes
2866 else
2867 ac_header_preproc=no
2869 rm -f conftest.err conftest.i conftest.$ac_ext
2870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2871 $as_echo "$ac_header_preproc" >&6; }
2873 # So? What about this header?
2874 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2875 yes:no: )
2876 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2877 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2878 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2879 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2881 no:yes:* )
2882 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2883 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2884 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2885 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2886 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2887 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2888 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2889 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2890 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2891 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2892 ( $as_echo "## ------------------------------------ ##
2893 ## Report this to wine-devel@winehq.org ##
2894 ## ------------------------------------ ##"
2895 ) | sed "s/^/$as_me: WARNING: /" >&2
2897 esac
2898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2899 $as_echo_n "checking for $2... " >&6; }
2900 if eval \${$3+:} false; then :
2901 $as_echo_n "(cached) " >&6
2902 else
2903 eval "$3=\$ac_header_compiler"
2905 eval ac_res=\$$3
2906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2907 $as_echo "$ac_res" >&6; }
2909 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2911 } # ac_fn_c_check_header_mongrel
2913 # ac_fn_c_try_run LINENO
2914 # ----------------------
2915 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2916 # that executables *can* be run.
2917 ac_fn_c_try_run ()
2919 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2920 if { { ac_try="$ac_link"
2921 case "(($ac_try" in
2922 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2923 *) ac_try_echo=$ac_try;;
2924 esac
2925 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2926 $as_echo "$ac_try_echo"; } >&5
2927 (eval "$ac_link") 2>&5
2928 ac_status=$?
2929 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2930 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2931 { { case "(($ac_try" in
2932 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2933 *) ac_try_echo=$ac_try;;
2934 esac
2935 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2936 $as_echo "$ac_try_echo"; } >&5
2937 (eval "$ac_try") 2>&5
2938 ac_status=$?
2939 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2940 test $ac_status = 0; }; }; then :
2941 ac_retval=0
2942 else
2943 $as_echo "$as_me: program exited with status $ac_status" >&5
2944 $as_echo "$as_me: failed program was:" >&5
2945 sed 's/^/| /' conftest.$ac_ext >&5
2947 ac_retval=$ac_status
2949 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2950 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2951 as_fn_set_status $ac_retval
2953 } # ac_fn_c_try_run
2955 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2956 # -------------------------------------------------------
2957 # Tests whether HEADER exists and can be compiled using the include files in
2958 # INCLUDES, setting the cache variable VAR accordingly.
2959 ac_fn_c_check_header_compile ()
2961 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2962 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2963 $as_echo_n "checking for $2... " >&6; }
2964 if eval \${$3+:} false; then :
2965 $as_echo_n "(cached) " >&6
2966 else
2967 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2968 /* end confdefs.h. */
2970 #include <$2>
2971 _ACEOF
2972 if ac_fn_c_try_compile "$LINENO"; then :
2973 eval "$3=yes"
2974 else
2975 eval "$3=no"
2977 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2979 eval ac_res=\$$3
2980 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2981 $as_echo "$ac_res" >&6; }
2982 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2984 } # ac_fn_c_check_header_compile
2986 # ac_fn_c_check_func LINENO FUNC VAR
2987 # ----------------------------------
2988 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2989 ac_fn_c_check_func ()
2991 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2992 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2993 $as_echo_n "checking for $2... " >&6; }
2994 if eval \${$3+:} false; then :
2995 $as_echo_n "(cached) " >&6
2996 else
2997 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2998 /* end confdefs.h. */
2999 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3000 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3001 #define $2 innocuous_$2
3003 /* System header to define __stub macros and hopefully few prototypes,
3004 which can conflict with char $2 (); below.
3005 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3006 <limits.h> exists even on freestanding compilers. */
3008 #ifdef __STDC__
3009 # include <limits.h>
3010 #else
3011 # include <assert.h>
3012 #endif
3014 #undef $2
3016 /* Override any GCC internal prototype to avoid an error.
3017 Use char because int might match the return type of a GCC
3018 builtin and then its argument prototype would still apply. */
3019 #ifdef __cplusplus
3020 extern "C"
3021 #endif
3022 char $2 ();
3023 /* The GNU C library defines this for functions which it implements
3024 to always fail with ENOSYS. Some functions are actually named
3025 something starting with __ and the normal name is an alias. */
3026 #if defined __stub_$2 || defined __stub___$2
3027 choke me
3028 #endif
3031 main ()
3033 return $2 ();
3035 return 0;
3037 _ACEOF
3038 if ac_fn_c_try_link "$LINENO"; then :
3039 eval "$3=yes"
3040 else
3041 eval "$3=no"
3043 rm -f core conftest.err conftest.$ac_objext \
3044 conftest$ac_exeext conftest.$ac_ext
3046 eval ac_res=\$$3
3047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3048 $as_echo "$ac_res" >&6; }
3049 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3051 } # ac_fn_c_check_func
3053 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3054 # ----------------------------------------------------
3055 # Tries to find if the field MEMBER exists in type AGGR, after including
3056 # INCLUDES, setting cache variable VAR accordingly.
3057 ac_fn_c_check_member ()
3059 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3060 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3061 $as_echo_n "checking for $2.$3... " >&6; }
3062 if eval \${$4+:} false; then :
3063 $as_echo_n "(cached) " >&6
3064 else
3065 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3066 /* end confdefs.h. */
3069 main ()
3071 static $2 ac_aggr;
3072 if (ac_aggr.$3)
3073 return 0;
3075 return 0;
3077 _ACEOF
3078 if ac_fn_c_try_compile "$LINENO"; then :
3079 eval "$4=yes"
3080 else
3081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3082 /* end confdefs.h. */
3085 main ()
3087 static $2 ac_aggr;
3088 if (sizeof ac_aggr.$3)
3089 return 0;
3091 return 0;
3093 _ACEOF
3094 if ac_fn_c_try_compile "$LINENO"; then :
3095 eval "$4=yes"
3096 else
3097 eval "$4=no"
3099 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3101 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3103 eval ac_res=\$$4
3104 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3105 $as_echo "$ac_res" >&6; }
3106 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3108 } # ac_fn_c_check_member
3110 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3111 # -------------------------------------------
3112 # Tests whether TYPE exists after having included INCLUDES, setting cache
3113 # variable VAR accordingly.
3114 ac_fn_c_check_type ()
3116 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3117 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3118 $as_echo_n "checking for $2... " >&6; }
3119 if eval \${$3+:} false; then :
3120 $as_echo_n "(cached) " >&6
3121 else
3122 eval "$3=no"
3123 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3124 /* end confdefs.h. */
3127 main ()
3129 if (sizeof ($2))
3130 return 0;
3132 return 0;
3134 _ACEOF
3135 if ac_fn_c_try_compile "$LINENO"; then :
3136 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3137 /* end confdefs.h. */
3140 main ()
3142 if (sizeof (($2)))
3143 return 0;
3145 return 0;
3147 _ACEOF
3148 if ac_fn_c_try_compile "$LINENO"; then :
3150 else
3151 eval "$3=yes"
3153 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3155 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3157 eval ac_res=\$$3
3158 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3159 $as_echo "$ac_res" >&6; }
3160 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3162 } # ac_fn_c_check_type
3163 cat >config.log <<_ACEOF
3164 This file contains any messages produced by compilers while
3165 running configure, to aid debugging if configure makes a mistake.
3167 It was created by Wine $as_me 3.3, which was
3168 generated by GNU Autoconf 2.69. Invocation command line was
3170 $ $0 $@
3172 _ACEOF
3173 exec 5>>config.log
3175 cat <<_ASUNAME
3176 ## --------- ##
3177 ## Platform. ##
3178 ## --------- ##
3180 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3181 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3182 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3183 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3184 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3186 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3187 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3189 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3190 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3191 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3192 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3193 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3194 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3195 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3197 _ASUNAME
3199 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3200 for as_dir in $PATH
3202 IFS=$as_save_IFS
3203 test -z "$as_dir" && as_dir=.
3204 $as_echo "PATH: $as_dir"
3205 done
3206 IFS=$as_save_IFS
3208 } >&5
3210 cat >&5 <<_ACEOF
3213 ## ----------- ##
3214 ## Core tests. ##
3215 ## ----------- ##
3217 _ACEOF
3220 # Keep a trace of the command line.
3221 # Strip out --no-create and --no-recursion so they do not pile up.
3222 # Strip out --silent because we don't want to record it for future runs.
3223 # Also quote any args containing shell meta-characters.
3224 # Make two passes to allow for proper duplicate-argument suppression.
3225 ac_configure_args=
3226 ac_configure_args0=
3227 ac_configure_args1=
3228 ac_must_keep_next=false
3229 for ac_pass in 1 2
3231 for ac_arg
3233 case $ac_arg in
3234 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3235 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3236 | -silent | --silent | --silen | --sile | --sil)
3237 continue ;;
3238 *\'*)
3239 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3240 esac
3241 case $ac_pass in
3242 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3244 as_fn_append ac_configure_args1 " '$ac_arg'"
3245 if test $ac_must_keep_next = true; then
3246 ac_must_keep_next=false # Got value, back to normal.
3247 else
3248 case $ac_arg in
3249 *=* | --config-cache | -C | -disable-* | --disable-* \
3250 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3251 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3252 | -with-* | --with-* | -without-* | --without-* | --x)
3253 case "$ac_configure_args0 " in
3254 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3255 esac
3257 -* ) ac_must_keep_next=true ;;
3258 esac
3260 as_fn_append ac_configure_args " '$ac_arg'"
3262 esac
3263 done
3264 done
3265 { ac_configure_args0=; unset ac_configure_args0;}
3266 { ac_configure_args1=; unset ac_configure_args1;}
3268 # When interrupted or exit'd, cleanup temporary files, and complete
3269 # config.log. We remove comments because anyway the quotes in there
3270 # would cause problems or look ugly.
3271 # WARNING: Use '\'' to represent an apostrophe within the trap.
3272 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3273 trap 'exit_status=$?
3274 # Save into config.log some information that might help in debugging.
3276 echo
3278 $as_echo "## ---------------- ##
3279 ## Cache variables. ##
3280 ## ---------------- ##"
3281 echo
3282 # The following way of writing the cache mishandles newlines in values,
3284 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3285 eval ac_val=\$$ac_var
3286 case $ac_val in #(
3287 *${as_nl}*)
3288 case $ac_var in #(
3289 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3290 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3291 esac
3292 case $ac_var in #(
3293 _ | IFS | as_nl) ;; #(
3294 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3295 *) { eval $ac_var=; unset $ac_var;} ;;
3296 esac ;;
3297 esac
3298 done
3299 (set) 2>&1 |
3300 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3301 *${as_nl}ac_space=\ *)
3302 sed -n \
3303 "s/'\''/'\''\\\\'\'''\''/g;
3304 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3305 ;; #(
3307 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3309 esac |
3310 sort
3312 echo
3314 $as_echo "## ----------------- ##
3315 ## Output variables. ##
3316 ## ----------------- ##"
3317 echo
3318 for ac_var in $ac_subst_vars
3320 eval ac_val=\$$ac_var
3321 case $ac_val in
3322 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3323 esac
3324 $as_echo "$ac_var='\''$ac_val'\''"
3325 done | sort
3326 echo
3328 if test -n "$ac_subst_files"; then
3329 $as_echo "## ------------------- ##
3330 ## File substitutions. ##
3331 ## ------------------- ##"
3332 echo
3333 for ac_var in $ac_subst_files
3335 eval ac_val=\$$ac_var
3336 case $ac_val in
3337 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3338 esac
3339 $as_echo "$ac_var='\''$ac_val'\''"
3340 done | sort
3341 echo
3344 if test -s confdefs.h; then
3345 $as_echo "## ----------- ##
3346 ## confdefs.h. ##
3347 ## ----------- ##"
3348 echo
3349 cat confdefs.h
3350 echo
3352 test "$ac_signal" != 0 &&
3353 $as_echo "$as_me: caught signal $ac_signal"
3354 $as_echo "$as_me: exit $exit_status"
3355 } >&5
3356 rm -f core *.core core.conftest.* &&
3357 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3358 exit $exit_status
3360 for ac_signal in 1 2 13 15; do
3361 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3362 done
3363 ac_signal=0
3365 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3366 rm -f -r conftest* confdefs.h
3368 $as_echo "/* confdefs.h */" > confdefs.h
3370 # Predefined preprocessor variables.
3372 cat >>confdefs.h <<_ACEOF
3373 #define PACKAGE_NAME "$PACKAGE_NAME"
3374 _ACEOF
3376 cat >>confdefs.h <<_ACEOF
3377 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3378 _ACEOF
3380 cat >>confdefs.h <<_ACEOF
3381 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3382 _ACEOF
3384 cat >>confdefs.h <<_ACEOF
3385 #define PACKAGE_STRING "$PACKAGE_STRING"
3386 _ACEOF
3388 cat >>confdefs.h <<_ACEOF
3389 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3390 _ACEOF
3392 cat >>confdefs.h <<_ACEOF
3393 #define PACKAGE_URL "$PACKAGE_URL"
3394 _ACEOF
3397 # Let the site file select an alternate cache file if it wants to.
3398 # Prefer an explicitly selected file to automatically selected ones.
3399 ac_site_file1=NONE
3400 ac_site_file2=NONE
3401 if test -n "$CONFIG_SITE"; then
3402 # We do not want a PATH search for config.site.
3403 case $CONFIG_SITE in #((
3404 -*) ac_site_file1=./$CONFIG_SITE;;
3405 */*) ac_site_file1=$CONFIG_SITE;;
3406 *) ac_site_file1=./$CONFIG_SITE;;
3407 esac
3408 elif test "x$prefix" != xNONE; then
3409 ac_site_file1=$prefix/share/config.site
3410 ac_site_file2=$prefix/etc/config.site
3411 else
3412 ac_site_file1=$ac_default_prefix/share/config.site
3413 ac_site_file2=$ac_default_prefix/etc/config.site
3415 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3417 test "x$ac_site_file" = xNONE && continue
3418 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3419 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3420 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3421 sed 's/^/| /' "$ac_site_file" >&5
3422 . "$ac_site_file" \
3423 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3424 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3425 as_fn_error $? "failed to load site script $ac_site_file
3426 See \`config.log' for more details" "$LINENO" 5; }
3428 done
3430 if test -r "$cache_file"; then
3431 # Some versions of bash will fail to source /dev/null (special files
3432 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3433 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3434 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3435 $as_echo "$as_me: loading cache $cache_file" >&6;}
3436 case $cache_file in
3437 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3438 *) . "./$cache_file";;
3439 esac
3441 else
3442 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3443 $as_echo "$as_me: creating cache $cache_file" >&6;}
3444 >$cache_file
3447 # Check that the precious variables saved in the cache have kept the same
3448 # value.
3449 ac_cache_corrupted=false
3450 for ac_var in $ac_precious_vars; do
3451 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3452 eval ac_new_set=\$ac_env_${ac_var}_set
3453 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3454 eval ac_new_val=\$ac_env_${ac_var}_value
3455 case $ac_old_set,$ac_new_set in
3456 set,)
3457 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3458 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3459 ac_cache_corrupted=: ;;
3460 ,set)
3461 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3462 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3463 ac_cache_corrupted=: ;;
3464 ,);;
3466 if test "x$ac_old_val" != "x$ac_new_val"; then
3467 # differences in whitespace do not lead to failure.
3468 ac_old_val_w=`echo x $ac_old_val`
3469 ac_new_val_w=`echo x $ac_new_val`
3470 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3471 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3472 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3473 ac_cache_corrupted=:
3474 else
3475 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3476 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3477 eval $ac_var=\$ac_old_val
3479 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3480 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3481 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3482 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3483 fi;;
3484 esac
3485 # Pass precious variables to config.status.
3486 if test "$ac_new_set" = set; then
3487 case $ac_new_val in
3488 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3489 *) ac_arg=$ac_var=$ac_new_val ;;
3490 esac
3491 case " $ac_configure_args " in
3492 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3493 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3494 esac
3496 done
3497 if $ac_cache_corrupted; then
3498 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3499 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3500 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3501 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3502 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3504 ## -------------------- ##
3505 ## Main body of script. ##
3506 ## -------------------- ##
3508 ac_ext=c
3509 ac_cpp='$CPP $CPPFLAGS'
3510 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3511 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3512 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3516 ac_config_headers="$ac_config_headers include/config.h"
3518 ac_aux_dir=
3519 for ac_dir in tools "$srcdir"/tools; do
3520 if test -f "$ac_dir/install-sh"; then
3521 ac_aux_dir=$ac_dir
3522 ac_install_sh="$ac_aux_dir/install-sh -c"
3523 break
3524 elif test -f "$ac_dir/install.sh"; then
3525 ac_aux_dir=$ac_dir
3526 ac_install_sh="$ac_aux_dir/install.sh -c"
3527 break
3528 elif test -f "$ac_dir/shtool"; then
3529 ac_aux_dir=$ac_dir
3530 ac_install_sh="$ac_aux_dir/shtool install -c"
3531 break
3533 done
3534 if test -z "$ac_aux_dir"; then
3535 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3538 # These three variables are undocumented and unsupported,
3539 # and are intended to be withdrawn in a future Autoconf release.
3540 # They can cause serious problems if a builder's source tree is in a directory
3541 # whose full name contains unusual characters.
3542 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3543 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3544 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3548 libwine_version="1.0"
3552 # Check whether --enable-win16 was given.
3553 if test "${enable_win16+set}" = set; then :
3554 enableval=$enable_win16;
3557 # Check whether --enable-win64 was given.
3558 if test "${enable_win64+set}" = set; then :
3559 enableval=$enable_win64;
3562 # Check whether --enable-tests was given.
3563 if test "${enable_tests+set}" = set; then :
3564 enableval=$enable_tests;
3567 # Check whether --enable-maintainer-mode was given.
3568 if test "${enable_maintainer_mode+set}" = set; then :
3569 enableval=$enable_maintainer_mode;
3574 # Check whether --with-alsa was given.
3575 if test "${with_alsa+set}" = set; then :
3576 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3580 # Check whether --with-capi was given.
3581 if test "${with_capi+set}" = set; then :
3582 withval=$with_capi;
3586 # Check whether --with-cms was given.
3587 if test "${with_cms+set}" = set; then :
3588 withval=$with_cms;
3592 # Check whether --with-coreaudio was given.
3593 if test "${with_coreaudio+set}" = set; then :
3594 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3598 # Check whether --with-cups was given.
3599 if test "${with_cups+set}" = set; then :
3600 withval=$with_cups;
3604 # Check whether --with-curses was given.
3605 if test "${with_curses+set}" = set; then :
3606 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3610 # Check whether --with-dbus was given.
3611 if test "${with_dbus+set}" = set; then :
3612 withval=$with_dbus;
3616 # Check whether --with-float-abi was given.
3617 if test "${with_float_abi+set}" = set; then :
3618 withval=$with_float_abi;
3622 # Check whether --with-fontconfig was given.
3623 if test "${with_fontconfig+set}" = set; then :
3624 withval=$with_fontconfig;
3628 # Check whether --with-freetype was given.
3629 if test "${with_freetype+set}" = set; then :
3630 withval=$with_freetype;
3634 # Check whether --with-gettext was given.
3635 if test "${with_gettext+set}" = set; then :
3636 withval=$with_gettext;
3640 # Check whether --with-gettextpo was given.
3641 if test "${with_gettextpo+set}" = set; then :
3642 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3646 # Check whether --with-gphoto was given.
3647 if test "${with_gphoto+set}" = set; then :
3648 withval=$with_gphoto;
3652 # Check whether --with-glu was given.
3653 if test "${with_glu+set}" = set; then :
3654 withval=$with_glu;
3658 # Check whether --with-gnutls was given.
3659 if test "${with_gnutls+set}" = set; then :
3660 withval=$with_gnutls;
3664 # Check whether --with-gsm was given.
3665 if test "${with_gsm+set}" = set; then :
3666 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3670 # Check whether --with-gssapi was given.
3671 if test "${with_gssapi+set}" = set; then :
3672 withval=$with_gssapi;
3676 # Check whether --with-gstreamer was given.
3677 if test "${with_gstreamer+set}" = set; then :
3678 withval=$with_gstreamer;
3682 # Check whether --with-hal was given.
3683 if test "${with_hal+set}" = set; then :
3684 withval=$with_hal;
3688 # Check whether --with-jpeg was given.
3689 if test "${with_jpeg+set}" = set; then :
3690 withval=$with_jpeg;
3694 # Check whether --with-krb5 was given.
3695 if test "${with_krb5+set}" = set; then :
3696 withval=$with_krb5;
3700 # Check whether --with-ldap was given.
3701 if test "${with_ldap+set}" = set; then :
3702 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3706 # Check whether --with-mpg123 was given.
3707 if test "${with_mpg123+set}" = set; then :
3708 withval=$with_mpg123;
3712 # Check whether --with-netapi was given.
3713 if test "${with_netapi+set}" = set; then :
3714 withval=$with_netapi;
3718 # Check whether --with-openal was given.
3719 if test "${with_openal+set}" = set; then :
3720 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3724 # Check whether --with-opencl was given.
3725 if test "${with_opencl+set}" = set; then :
3726 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3730 # Check whether --with-opengl was given.
3731 if test "${with_opengl+set}" = set; then :
3732 withval=$with_opengl;
3736 # Check whether --with-osmesa was given.
3737 if test "${with_osmesa+set}" = set; then :
3738 withval=$with_osmesa;
3742 # Check whether --with-oss was given.
3743 if test "${with_oss+set}" = set; then :
3744 withval=$with_oss;
3748 # Check whether --with-pcap was given.
3749 if test "${with_pcap+set}" = set; then :
3750 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3754 # Check whether --with-png was given.
3755 if test "${with_png+set}" = set; then :
3756 withval=$with_png;
3760 # Check whether --with-pthread was given.
3761 if test "${with_pthread+set}" = set; then :
3762 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3766 # Check whether --with-pulse was given.
3767 if test "${with_pulse+set}" = set; then :
3768 withval=$with_pulse;
3772 # Check whether --with-sane was given.
3773 if test "${with_sane+set}" = set; then :
3774 withval=$with_sane;
3778 # Check whether --with-sdl was given.
3779 if test "${with_sdl+set}" = set; then :
3780 withval=$with_sdl;
3784 # Check whether --with-tiff was given.
3785 if test "${with_tiff+set}" = set; then :
3786 withval=$with_tiff;
3790 # Check whether --with-udev was given.
3791 if test "${with_udev+set}" = set; then :
3792 withval=$with_udev;
3796 # Check whether --with-v4l was given.
3797 if test "${with_v4l+set}" = set; then :
3798 withval=$with_v4l;
3802 # Check whether --with-vulkan was given.
3803 if test "${with_vulkan+set}" = set; then :
3804 withval=$with_vulkan;
3808 # Check whether --with-xcomposite was given.
3809 if test "${with_xcomposite+set}" = set; then :
3810 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3814 # Check whether --with-xcursor was given.
3815 if test "${with_xcursor+set}" = set; then :
3816 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3820 # Check whether --with-xfixes was given.
3821 if test "${with_xfixes+set}" = set; then :
3822 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
3826 # Check whether --with-xinerama was given.
3827 if test "${with_xinerama+set}" = set; then :
3828 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3832 # Check whether --with-xinput was given.
3833 if test "${with_xinput+set}" = set; then :
3834 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3838 # Check whether --with-xinput2 was given.
3839 if test "${with_xinput2+set}" = set; then :
3840 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3844 # Check whether --with-xml was given.
3845 if test "${with_xml+set}" = set; then :
3846 withval=$with_xml;
3850 # Check whether --with-xrandr was given.
3851 if test "${with_xrandr+set}" = set; then :
3852 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3856 # Check whether --with-xrender was given.
3857 if test "${with_xrender+set}" = set; then :
3858 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3862 # Check whether --with-xshape was given.
3863 if test "${with_xshape+set}" = set; then :
3864 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3868 # Check whether --with-xshm was given.
3869 if test "${with_xshm+set}" = set; then :
3870 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3874 # Check whether --with-xslt was given.
3875 if test "${with_xslt+set}" = set; then :
3876 withval=$with_xslt;
3880 # Check whether --with-xxf86vm was given.
3881 if test "${with_xxf86vm+set}" = set; then :
3882 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
3886 # Check whether --with-zlib was given.
3887 if test "${with_zlib+set}" = set; then :
3888 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3893 # Check whether --with-wine-tools was given.
3894 if test "${with_wine_tools+set}" = set; then :
3895 withval=$with_wine_tools;
3899 # Check whether --with-wine64 was given.
3900 if test "${with_wine64+set}" = set; then :
3901 withval=$with_wine64;
3905 # Make sure we can run config.sub.
3906 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3907 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3909 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3910 $as_echo_n "checking build system type... " >&6; }
3911 if ${ac_cv_build+:} false; then :
3912 $as_echo_n "(cached) " >&6
3913 else
3914 ac_build_alias=$build_alias
3915 test "x$ac_build_alias" = x &&
3916 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3917 test "x$ac_build_alias" = x &&
3918 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3919 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3920 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3923 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3924 $as_echo "$ac_cv_build" >&6; }
3925 case $ac_cv_build in
3926 *-*-*) ;;
3927 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3928 esac
3929 build=$ac_cv_build
3930 ac_save_IFS=$IFS; IFS='-'
3931 set x $ac_cv_build
3932 shift
3933 build_cpu=$1
3934 build_vendor=$2
3935 shift; shift
3936 # Remember, the first character of IFS is used to create $*,
3937 # except with old shells:
3938 build_os=$*
3939 IFS=$ac_save_IFS
3940 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3943 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3944 $as_echo_n "checking host system type... " >&6; }
3945 if ${ac_cv_host+:} false; then :
3946 $as_echo_n "(cached) " >&6
3947 else
3948 if test "x$host_alias" = x; then
3949 ac_cv_host=$ac_cv_build
3950 else
3951 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3952 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3956 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3957 $as_echo "$ac_cv_host" >&6; }
3958 case $ac_cv_host in
3959 *-*-*) ;;
3960 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3961 esac
3962 host=$ac_cv_host
3963 ac_save_IFS=$IFS; IFS='-'
3964 set x $ac_cv_host
3965 shift
3966 host_cpu=$1
3967 host_vendor=$2
3968 shift; shift
3969 # Remember, the first character of IFS is used to create $*,
3970 # except with old shells:
3971 host_os=$*
3972 IFS=$ac_save_IFS
3973 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3977 case "$srcdir" in
3978 .) ;;
3979 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3980 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3981 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3982 fi ;;
3983 esac
3986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3987 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3988 set x ${MAKE-make}
3989 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3990 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3991 $as_echo_n "(cached) " >&6
3992 else
3993 cat >conftest.make <<\_ACEOF
3994 SHELL = /bin/sh
3995 all:
3996 @echo '@@@%%%=$(MAKE)=@@@%%%'
3997 _ACEOF
3998 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
3999 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4000 *@@@%%%=?*=@@@%%%*)
4001 eval ac_cv_prog_make_${ac_make}_set=yes;;
4003 eval ac_cv_prog_make_${ac_make}_set=no;;
4004 esac
4005 rm -f conftest.make
4007 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4008 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4009 $as_echo "yes" >&6; }
4010 SET_MAKE=
4011 else
4012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4013 $as_echo "no" >&6; }
4014 SET_MAKE="MAKE=${MAKE-make}"
4017 ac_ext=c
4018 ac_cpp='$CPP $CPPFLAGS'
4019 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4020 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4021 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4022 if test -n "$ac_tool_prefix"; then
4023 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4024 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4025 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4026 $as_echo_n "checking for $ac_word... " >&6; }
4027 if ${ac_cv_prog_CC+:} false; then :
4028 $as_echo_n "(cached) " >&6
4029 else
4030 if test -n "$CC"; then
4031 ac_cv_prog_CC="$CC" # Let the user override the test.
4032 else
4033 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4034 for as_dir in $PATH
4036 IFS=$as_save_IFS
4037 test -z "$as_dir" && as_dir=.
4038 for ac_exec_ext in '' $ac_executable_extensions; do
4039 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4040 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4041 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4042 break 2
4044 done
4045 done
4046 IFS=$as_save_IFS
4050 CC=$ac_cv_prog_CC
4051 if test -n "$CC"; then
4052 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4053 $as_echo "$CC" >&6; }
4054 else
4055 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4056 $as_echo "no" >&6; }
4061 if test -z "$ac_cv_prog_CC"; then
4062 ac_ct_CC=$CC
4063 # Extract the first word of "gcc", so it can be a program name with args.
4064 set dummy gcc; ac_word=$2
4065 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4066 $as_echo_n "checking for $ac_word... " >&6; }
4067 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4068 $as_echo_n "(cached) " >&6
4069 else
4070 if test -n "$ac_ct_CC"; then
4071 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4072 else
4073 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4074 for as_dir in $PATH
4076 IFS=$as_save_IFS
4077 test -z "$as_dir" && as_dir=.
4078 for ac_exec_ext in '' $ac_executable_extensions; do
4079 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4080 ac_cv_prog_ac_ct_CC="gcc"
4081 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4082 break 2
4084 done
4085 done
4086 IFS=$as_save_IFS
4090 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4091 if test -n "$ac_ct_CC"; then
4092 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4093 $as_echo "$ac_ct_CC" >&6; }
4094 else
4095 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4096 $as_echo "no" >&6; }
4099 if test "x$ac_ct_CC" = x; then
4100 CC=""
4101 else
4102 case $cross_compiling:$ac_tool_warned in
4103 yes:)
4104 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4105 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4106 ac_tool_warned=yes ;;
4107 esac
4108 CC=$ac_ct_CC
4110 else
4111 CC="$ac_cv_prog_CC"
4114 if test -z "$CC"; then
4115 if test -n "$ac_tool_prefix"; then
4116 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4117 set dummy ${ac_tool_prefix}cc; ac_word=$2
4118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4119 $as_echo_n "checking for $ac_word... " >&6; }
4120 if ${ac_cv_prog_CC+:} false; then :
4121 $as_echo_n "(cached) " >&6
4122 else
4123 if test -n "$CC"; then
4124 ac_cv_prog_CC="$CC" # Let the user override the test.
4125 else
4126 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4127 for as_dir in $PATH
4129 IFS=$as_save_IFS
4130 test -z "$as_dir" && as_dir=.
4131 for ac_exec_ext in '' $ac_executable_extensions; do
4132 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4133 ac_cv_prog_CC="${ac_tool_prefix}cc"
4134 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4135 break 2
4137 done
4138 done
4139 IFS=$as_save_IFS
4143 CC=$ac_cv_prog_CC
4144 if test -n "$CC"; then
4145 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4146 $as_echo "$CC" >&6; }
4147 else
4148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4149 $as_echo "no" >&6; }
4155 if test -z "$CC"; then
4156 # Extract the first word of "cc", so it can be a program name with args.
4157 set dummy cc; ac_word=$2
4158 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4159 $as_echo_n "checking for $ac_word... " >&6; }
4160 if ${ac_cv_prog_CC+:} false; then :
4161 $as_echo_n "(cached) " >&6
4162 else
4163 if test -n "$CC"; then
4164 ac_cv_prog_CC="$CC" # Let the user override the test.
4165 else
4166 ac_prog_rejected=no
4167 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4168 for as_dir in $PATH
4170 IFS=$as_save_IFS
4171 test -z "$as_dir" && as_dir=.
4172 for ac_exec_ext in '' $ac_executable_extensions; do
4173 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4174 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4175 ac_prog_rejected=yes
4176 continue
4178 ac_cv_prog_CC="cc"
4179 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4180 break 2
4182 done
4183 done
4184 IFS=$as_save_IFS
4186 if test $ac_prog_rejected = yes; then
4187 # We found a bogon in the path, so make sure we never use it.
4188 set dummy $ac_cv_prog_CC
4189 shift
4190 if test $# != 0; then
4191 # We chose a different compiler from the bogus one.
4192 # However, it has the same basename, so the bogon will be chosen
4193 # first if we set CC to just the basename; use the full file name.
4194 shift
4195 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4200 CC=$ac_cv_prog_CC
4201 if test -n "$CC"; then
4202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4203 $as_echo "$CC" >&6; }
4204 else
4205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4206 $as_echo "no" >&6; }
4211 if test -z "$CC"; then
4212 if test -n "$ac_tool_prefix"; then
4213 for ac_prog in cl.exe
4215 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4216 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4217 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4218 $as_echo_n "checking for $ac_word... " >&6; }
4219 if ${ac_cv_prog_CC+:} false; then :
4220 $as_echo_n "(cached) " >&6
4221 else
4222 if test -n "$CC"; then
4223 ac_cv_prog_CC="$CC" # Let the user override the test.
4224 else
4225 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4226 for as_dir in $PATH
4228 IFS=$as_save_IFS
4229 test -z "$as_dir" && as_dir=.
4230 for ac_exec_ext in '' $ac_executable_extensions; do
4231 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4232 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4233 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4234 break 2
4236 done
4237 done
4238 IFS=$as_save_IFS
4242 CC=$ac_cv_prog_CC
4243 if test -n "$CC"; then
4244 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4245 $as_echo "$CC" >&6; }
4246 else
4247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4248 $as_echo "no" >&6; }
4252 test -n "$CC" && break
4253 done
4255 if test -z "$CC"; then
4256 ac_ct_CC=$CC
4257 for ac_prog in cl.exe
4259 # Extract the first word of "$ac_prog", so it can be a program name with args.
4260 set dummy $ac_prog; ac_word=$2
4261 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4262 $as_echo_n "checking for $ac_word... " >&6; }
4263 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4264 $as_echo_n "(cached) " >&6
4265 else
4266 if test -n "$ac_ct_CC"; then
4267 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4268 else
4269 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4270 for as_dir in $PATH
4272 IFS=$as_save_IFS
4273 test -z "$as_dir" && as_dir=.
4274 for ac_exec_ext in '' $ac_executable_extensions; do
4275 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4276 ac_cv_prog_ac_ct_CC="$ac_prog"
4277 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4278 break 2
4280 done
4281 done
4282 IFS=$as_save_IFS
4286 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4287 if test -n "$ac_ct_CC"; then
4288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4289 $as_echo "$ac_ct_CC" >&6; }
4290 else
4291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4292 $as_echo "no" >&6; }
4296 test -n "$ac_ct_CC" && break
4297 done
4299 if test "x$ac_ct_CC" = x; then
4300 CC=""
4301 else
4302 case $cross_compiling:$ac_tool_warned in
4303 yes:)
4304 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4305 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4306 ac_tool_warned=yes ;;
4307 esac
4308 CC=$ac_ct_CC
4315 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4316 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4317 as_fn_error $? "no acceptable C compiler found in \$PATH
4318 See \`config.log' for more details" "$LINENO" 5; }
4320 # Provide some information about the compiler.
4321 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4322 set X $ac_compile
4323 ac_compiler=$2
4324 for ac_option in --version -v -V -qversion; do
4325 { { ac_try="$ac_compiler $ac_option >&5"
4326 case "(($ac_try" in
4327 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4328 *) ac_try_echo=$ac_try;;
4329 esac
4330 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4331 $as_echo "$ac_try_echo"; } >&5
4332 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4333 ac_status=$?
4334 if test -s conftest.err; then
4335 sed '10a\
4336 ... rest of stderr output deleted ...
4337 10q' conftest.err >conftest.er1
4338 cat conftest.er1 >&5
4340 rm -f conftest.er1 conftest.err
4341 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4342 test $ac_status = 0; }
4343 done
4345 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4346 /* end confdefs.h. */
4349 main ()
4353 return 0;
4355 _ACEOF
4356 ac_clean_files_save=$ac_clean_files
4357 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4358 # Try to create an executable without -o first, disregard a.out.
4359 # It will help us diagnose broken compilers, and finding out an intuition
4360 # of exeext.
4361 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4362 $as_echo_n "checking whether the C compiler works... " >&6; }
4363 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4365 # The possible output files:
4366 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4368 ac_rmfiles=
4369 for ac_file in $ac_files
4371 case $ac_file in
4372 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4373 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4374 esac
4375 done
4376 rm -f $ac_rmfiles
4378 if { { ac_try="$ac_link_default"
4379 case "(($ac_try" in
4380 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4381 *) ac_try_echo=$ac_try;;
4382 esac
4383 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4384 $as_echo "$ac_try_echo"; } >&5
4385 (eval "$ac_link_default") 2>&5
4386 ac_status=$?
4387 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4388 test $ac_status = 0; }; then :
4389 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4390 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4391 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4392 # so that the user can short-circuit this test for compilers unknown to
4393 # Autoconf.
4394 for ac_file in $ac_files ''
4396 test -f "$ac_file" || continue
4397 case $ac_file in
4398 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4400 [ab].out )
4401 # We found the default executable, but exeext='' is most
4402 # certainly right.
4403 break;;
4404 *.* )
4405 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4406 then :; else
4407 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4409 # We set ac_cv_exeext here because the later test for it is not
4410 # safe: cross compilers may not add the suffix if given an `-o'
4411 # argument, so we may need to know it at that point already.
4412 # Even if this section looks crufty: it has the advantage of
4413 # actually working.
4414 break;;
4416 break;;
4417 esac
4418 done
4419 test "$ac_cv_exeext" = no && ac_cv_exeext=
4421 else
4422 ac_file=''
4424 if test -z "$ac_file"; then :
4425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4426 $as_echo "no" >&6; }
4427 $as_echo "$as_me: failed program was:" >&5
4428 sed 's/^/| /' conftest.$ac_ext >&5
4430 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4431 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4432 as_fn_error 77 "C compiler cannot create executables
4433 See \`config.log' for more details" "$LINENO" 5; }
4434 else
4435 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4436 $as_echo "yes" >&6; }
4438 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4439 $as_echo_n "checking for C compiler default output file name... " >&6; }
4440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4441 $as_echo "$ac_file" >&6; }
4442 ac_exeext=$ac_cv_exeext
4444 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4445 ac_clean_files=$ac_clean_files_save
4446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4447 $as_echo_n "checking for suffix of executables... " >&6; }
4448 if { { ac_try="$ac_link"
4449 case "(($ac_try" in
4450 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4451 *) ac_try_echo=$ac_try;;
4452 esac
4453 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4454 $as_echo "$ac_try_echo"; } >&5
4455 (eval "$ac_link") 2>&5
4456 ac_status=$?
4457 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4458 test $ac_status = 0; }; then :
4459 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4460 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4461 # work properly (i.e., refer to `conftest.exe'), while it won't with
4462 # `rm'.
4463 for ac_file in conftest.exe conftest conftest.*; do
4464 test -f "$ac_file" || continue
4465 case $ac_file in
4466 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4467 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4468 break;;
4469 * ) break;;
4470 esac
4471 done
4472 else
4473 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4474 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4475 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4476 See \`config.log' for more details" "$LINENO" 5; }
4478 rm -f conftest conftest$ac_cv_exeext
4479 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4480 $as_echo "$ac_cv_exeext" >&6; }
4482 rm -f conftest.$ac_ext
4483 EXEEXT=$ac_cv_exeext
4484 ac_exeext=$EXEEXT
4485 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4486 /* end confdefs.h. */
4487 #include <stdio.h>
4489 main ()
4491 FILE *f = fopen ("conftest.out", "w");
4492 return ferror (f) || fclose (f) != 0;
4495 return 0;
4497 _ACEOF
4498 ac_clean_files="$ac_clean_files conftest.out"
4499 # Check that the compiler produces executables we can run. If not, either
4500 # the compiler is broken, or we cross compile.
4501 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4502 $as_echo_n "checking whether we are cross compiling... " >&6; }
4503 if test "$cross_compiling" != yes; then
4504 { { ac_try="$ac_link"
4505 case "(($ac_try" in
4506 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4507 *) ac_try_echo=$ac_try;;
4508 esac
4509 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4510 $as_echo "$ac_try_echo"; } >&5
4511 (eval "$ac_link") 2>&5
4512 ac_status=$?
4513 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4514 test $ac_status = 0; }
4515 if { ac_try='./conftest$ac_cv_exeext'
4516 { { case "(($ac_try" in
4517 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4518 *) ac_try_echo=$ac_try;;
4519 esac
4520 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4521 $as_echo "$ac_try_echo"; } >&5
4522 (eval "$ac_try") 2>&5
4523 ac_status=$?
4524 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4525 test $ac_status = 0; }; }; then
4526 cross_compiling=no
4527 else
4528 if test "$cross_compiling" = maybe; then
4529 cross_compiling=yes
4530 else
4531 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4532 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4533 as_fn_error $? "cannot run C compiled programs.
4534 If you meant to cross compile, use \`--host'.
4535 See \`config.log' for more details" "$LINENO" 5; }
4539 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4540 $as_echo "$cross_compiling" >&6; }
4542 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4543 ac_clean_files=$ac_clean_files_save
4544 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4545 $as_echo_n "checking for suffix of object files... " >&6; }
4546 if ${ac_cv_objext+:} false; then :
4547 $as_echo_n "(cached) " >&6
4548 else
4549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4550 /* end confdefs.h. */
4553 main ()
4557 return 0;
4559 _ACEOF
4560 rm -f conftest.o conftest.obj
4561 if { { ac_try="$ac_compile"
4562 case "(($ac_try" in
4563 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4564 *) ac_try_echo=$ac_try;;
4565 esac
4566 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4567 $as_echo "$ac_try_echo"; } >&5
4568 (eval "$ac_compile") 2>&5
4569 ac_status=$?
4570 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4571 test $ac_status = 0; }; then :
4572 for ac_file in conftest.o conftest.obj conftest.*; do
4573 test -f "$ac_file" || continue;
4574 case $ac_file in
4575 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4576 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4577 break;;
4578 esac
4579 done
4580 else
4581 $as_echo "$as_me: failed program was:" >&5
4582 sed 's/^/| /' conftest.$ac_ext >&5
4584 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4585 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4586 as_fn_error $? "cannot compute suffix of object files: cannot compile
4587 See \`config.log' for more details" "$LINENO" 5; }
4589 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4592 $as_echo "$ac_cv_objext" >&6; }
4593 OBJEXT=$ac_cv_objext
4594 ac_objext=$OBJEXT
4595 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4596 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4597 if ${ac_cv_c_compiler_gnu+:} false; then :
4598 $as_echo_n "(cached) " >&6
4599 else
4600 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4601 /* end confdefs.h. */
4604 main ()
4606 #ifndef __GNUC__
4607 choke me
4608 #endif
4611 return 0;
4613 _ACEOF
4614 if ac_fn_c_try_compile "$LINENO"; then :
4615 ac_compiler_gnu=yes
4616 else
4617 ac_compiler_gnu=no
4619 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4620 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4624 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4625 if test $ac_compiler_gnu = yes; then
4626 GCC=yes
4627 else
4628 GCC=
4630 ac_test_CFLAGS=${CFLAGS+set}
4631 ac_save_CFLAGS=$CFLAGS
4632 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4633 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4634 if ${ac_cv_prog_cc_g+:} false; then :
4635 $as_echo_n "(cached) " >&6
4636 else
4637 ac_save_c_werror_flag=$ac_c_werror_flag
4638 ac_c_werror_flag=yes
4639 ac_cv_prog_cc_g=no
4640 CFLAGS="-g"
4641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4642 /* end confdefs.h. */
4645 main ()
4649 return 0;
4651 _ACEOF
4652 if ac_fn_c_try_compile "$LINENO"; then :
4653 ac_cv_prog_cc_g=yes
4654 else
4655 CFLAGS=""
4656 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4657 /* end confdefs.h. */
4660 main ()
4664 return 0;
4666 _ACEOF
4667 if ac_fn_c_try_compile "$LINENO"; then :
4669 else
4670 ac_c_werror_flag=$ac_save_c_werror_flag
4671 CFLAGS="-g"
4672 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4673 /* end confdefs.h. */
4676 main ()
4680 return 0;
4682 _ACEOF
4683 if ac_fn_c_try_compile "$LINENO"; then :
4684 ac_cv_prog_cc_g=yes
4686 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4688 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4690 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4691 ac_c_werror_flag=$ac_save_c_werror_flag
4693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4694 $as_echo "$ac_cv_prog_cc_g" >&6; }
4695 if test "$ac_test_CFLAGS" = set; then
4696 CFLAGS=$ac_save_CFLAGS
4697 elif test $ac_cv_prog_cc_g = yes; then
4698 if test "$GCC" = yes; then
4699 CFLAGS="-g -O2"
4700 else
4701 CFLAGS="-g"
4703 else
4704 if test "$GCC" = yes; then
4705 CFLAGS="-O2"
4706 else
4707 CFLAGS=
4710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4711 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4712 if ${ac_cv_prog_cc_c89+:} false; then :
4713 $as_echo_n "(cached) " >&6
4714 else
4715 ac_cv_prog_cc_c89=no
4716 ac_save_CC=$CC
4717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4718 /* end confdefs.h. */
4719 #include <stdarg.h>
4720 #include <stdio.h>
4721 struct stat;
4722 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4723 struct buf { int x; };
4724 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4725 static char *e (p, i)
4726 char **p;
4727 int i;
4729 return p[i];
4731 static char *f (char * (*g) (char **, int), char **p, ...)
4733 char *s;
4734 va_list v;
4735 va_start (v,p);
4736 s = g (p, va_arg (v,int));
4737 va_end (v);
4738 return s;
4741 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4742 function prototypes and stuff, but not '\xHH' hex character constants.
4743 These don't provoke an error unfortunately, instead are silently treated
4744 as 'x'. The following induces an error, until -std is added to get
4745 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4746 array size at least. It's necessary to write '\x00'==0 to get something
4747 that's true only with -std. */
4748 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4750 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4751 inside strings and character constants. */
4752 #define FOO(x) 'x'
4753 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4755 int test (int i, double x);
4756 struct s1 {int (*f) (int a);};
4757 struct s2 {int (*f) (double a);};
4758 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4759 int argc;
4760 char **argv;
4762 main ()
4764 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4766 return 0;
4768 _ACEOF
4769 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4770 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4772 CC="$ac_save_CC $ac_arg"
4773 if ac_fn_c_try_compile "$LINENO"; then :
4774 ac_cv_prog_cc_c89=$ac_arg
4776 rm -f core conftest.err conftest.$ac_objext
4777 test "x$ac_cv_prog_cc_c89" != "xno" && break
4778 done
4779 rm -f conftest.$ac_ext
4780 CC=$ac_save_CC
4783 # AC_CACHE_VAL
4784 case "x$ac_cv_prog_cc_c89" in
4786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4787 $as_echo "none needed" >&6; } ;;
4788 xno)
4789 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4790 $as_echo "unsupported" >&6; } ;;
4792 CC="$CC $ac_cv_prog_cc_c89"
4793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4794 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4795 esac
4796 if test "x$ac_cv_prog_cc_c89" != xno; then :
4800 ac_ext=c
4801 ac_cpp='$CPP $CPPFLAGS'
4802 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4803 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4804 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4806 ac_ext=cpp
4807 ac_cpp='$CXXCPP $CPPFLAGS'
4808 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4809 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4810 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4811 if test -z "$CXX"; then
4812 if test -n "$CCC"; then
4813 CXX=$CCC
4814 else
4815 if test -n "$ac_tool_prefix"; then
4816 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4818 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4819 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4820 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4821 $as_echo_n "checking for $ac_word... " >&6; }
4822 if ${ac_cv_prog_CXX+:} false; then :
4823 $as_echo_n "(cached) " >&6
4824 else
4825 if test -n "$CXX"; then
4826 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4827 else
4828 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4829 for as_dir in $PATH
4831 IFS=$as_save_IFS
4832 test -z "$as_dir" && as_dir=.
4833 for ac_exec_ext in '' $ac_executable_extensions; do
4834 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4835 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4836 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4837 break 2
4839 done
4840 done
4841 IFS=$as_save_IFS
4845 CXX=$ac_cv_prog_CXX
4846 if test -n "$CXX"; then
4847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4848 $as_echo "$CXX" >&6; }
4849 else
4850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4851 $as_echo "no" >&6; }
4855 test -n "$CXX" && break
4856 done
4858 if test -z "$CXX"; then
4859 ac_ct_CXX=$CXX
4860 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4862 # Extract the first word of "$ac_prog", so it can be a program name with args.
4863 set dummy $ac_prog; ac_word=$2
4864 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4865 $as_echo_n "checking for $ac_word... " >&6; }
4866 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4867 $as_echo_n "(cached) " >&6
4868 else
4869 if test -n "$ac_ct_CXX"; then
4870 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4871 else
4872 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4873 for as_dir in $PATH
4875 IFS=$as_save_IFS
4876 test -z "$as_dir" && as_dir=.
4877 for ac_exec_ext in '' $ac_executable_extensions; do
4878 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4879 ac_cv_prog_ac_ct_CXX="$ac_prog"
4880 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4881 break 2
4883 done
4884 done
4885 IFS=$as_save_IFS
4889 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4890 if test -n "$ac_ct_CXX"; then
4891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4892 $as_echo "$ac_ct_CXX" >&6; }
4893 else
4894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4895 $as_echo "no" >&6; }
4899 test -n "$ac_ct_CXX" && break
4900 done
4902 if test "x$ac_ct_CXX" = x; then
4903 CXX="g++"
4904 else
4905 case $cross_compiling:$ac_tool_warned in
4906 yes:)
4907 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4908 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4909 ac_tool_warned=yes ;;
4910 esac
4911 CXX=$ac_ct_CXX
4917 # Provide some information about the compiler.
4918 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4919 set X $ac_compile
4920 ac_compiler=$2
4921 for ac_option in --version -v -V -qversion; do
4922 { { ac_try="$ac_compiler $ac_option >&5"
4923 case "(($ac_try" in
4924 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4925 *) ac_try_echo=$ac_try;;
4926 esac
4927 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4928 $as_echo "$ac_try_echo"; } >&5
4929 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4930 ac_status=$?
4931 if test -s conftest.err; then
4932 sed '10a\
4933 ... rest of stderr output deleted ...
4934 10q' conftest.err >conftest.er1
4935 cat conftest.er1 >&5
4937 rm -f conftest.er1 conftest.err
4938 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4939 test $ac_status = 0; }
4940 done
4942 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4943 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4944 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4945 $as_echo_n "(cached) " >&6
4946 else
4947 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4948 /* end confdefs.h. */
4951 main ()
4953 #ifndef __GNUC__
4954 choke me
4955 #endif
4958 return 0;
4960 _ACEOF
4961 if ac_fn_cxx_try_compile "$LINENO"; then :
4962 ac_compiler_gnu=yes
4963 else
4964 ac_compiler_gnu=no
4966 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4967 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4970 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4971 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4972 if test $ac_compiler_gnu = yes; then
4973 GXX=yes
4974 else
4975 GXX=
4977 ac_test_CXXFLAGS=${CXXFLAGS+set}
4978 ac_save_CXXFLAGS=$CXXFLAGS
4979 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4980 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4981 if ${ac_cv_prog_cxx_g+:} false; then :
4982 $as_echo_n "(cached) " >&6
4983 else
4984 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4985 ac_cxx_werror_flag=yes
4986 ac_cv_prog_cxx_g=no
4987 CXXFLAGS="-g"
4988 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4989 /* end confdefs.h. */
4992 main ()
4996 return 0;
4998 _ACEOF
4999 if ac_fn_cxx_try_compile "$LINENO"; then :
5000 ac_cv_prog_cxx_g=yes
5001 else
5002 CXXFLAGS=""
5003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5004 /* end confdefs.h. */
5007 main ()
5011 return 0;
5013 _ACEOF
5014 if ac_fn_cxx_try_compile "$LINENO"; then :
5016 else
5017 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5018 CXXFLAGS="-g"
5019 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5020 /* end confdefs.h. */
5023 main ()
5027 return 0;
5029 _ACEOF
5030 if ac_fn_cxx_try_compile "$LINENO"; then :
5031 ac_cv_prog_cxx_g=yes
5033 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5035 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5037 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5038 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5041 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5042 if test "$ac_test_CXXFLAGS" = set; then
5043 CXXFLAGS=$ac_save_CXXFLAGS
5044 elif test $ac_cv_prog_cxx_g = yes; then
5045 if test "$GXX" = yes; then
5046 CXXFLAGS="-g -O2"
5047 else
5048 CXXFLAGS="-g"
5050 else
5051 if test "$GXX" = yes; then
5052 CXXFLAGS="-O2"
5053 else
5054 CXXFLAGS=
5057 ac_ext=c
5058 ac_cpp='$CPP $CPPFLAGS'
5059 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5060 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5061 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5063 if test -n "$ac_tool_prefix"; then
5064 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5065 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5066 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5067 $as_echo_n "checking for $ac_word... " >&6; }
5068 if ${ac_cv_prog_CPPBIN+:} false; then :
5069 $as_echo_n "(cached) " >&6
5070 else
5071 if test -n "$CPPBIN"; then
5072 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5073 else
5074 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5075 for as_dir in $PATH
5077 IFS=$as_save_IFS
5078 test -z "$as_dir" && as_dir=.
5079 for ac_exec_ext in '' $ac_executable_extensions; do
5080 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5081 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5082 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5083 break 2
5085 done
5086 done
5087 IFS=$as_save_IFS
5091 CPPBIN=$ac_cv_prog_CPPBIN
5092 if test -n "$CPPBIN"; then
5093 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5094 $as_echo "$CPPBIN" >&6; }
5095 else
5096 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5097 $as_echo "no" >&6; }
5102 if test -z "$ac_cv_prog_CPPBIN"; then
5103 ac_ct_CPPBIN=$CPPBIN
5104 # Extract the first word of "cpp", so it can be a program name with args.
5105 set dummy cpp; ac_word=$2
5106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5107 $as_echo_n "checking for $ac_word... " >&6; }
5108 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
5109 $as_echo_n "(cached) " >&6
5110 else
5111 if test -n "$ac_ct_CPPBIN"; then
5112 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
5113 else
5114 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5115 for as_dir in $PATH
5117 IFS=$as_save_IFS
5118 test -z "$as_dir" && as_dir=.
5119 for ac_exec_ext in '' $ac_executable_extensions; do
5120 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5121 ac_cv_prog_ac_ct_CPPBIN="cpp"
5122 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5123 break 2
5125 done
5126 done
5127 IFS=$as_save_IFS
5131 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5132 if test -n "$ac_ct_CPPBIN"; then
5133 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5134 $as_echo "$ac_ct_CPPBIN" >&6; }
5135 else
5136 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5137 $as_echo "no" >&6; }
5140 if test "x$ac_ct_CPPBIN" = x; then
5141 CPPBIN="cpp"
5142 else
5143 case $cross_compiling:$ac_tool_warned in
5144 yes:)
5145 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5146 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5147 ac_tool_warned=yes ;;
5148 esac
5149 CPPBIN=$ac_ct_CPPBIN
5151 else
5152 CPPBIN="$ac_cv_prog_CPPBIN"
5156 cat >>confdefs.h <<_ACEOF
5157 #define EXEEXT "$ac_exeext"
5158 _ACEOF
5160 if test -n "$ac_tool_prefix"; then
5161 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5162 set dummy ${ac_tool_prefix}ld; ac_word=$2
5163 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5164 $as_echo_n "checking for $ac_word... " >&6; }
5165 if ${ac_cv_prog_LD+:} false; then :
5166 $as_echo_n "(cached) " >&6
5167 else
5168 if test -n "$LD"; then
5169 ac_cv_prog_LD="$LD" # Let the user override the test.
5170 else
5171 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5172 for as_dir in $PATH
5174 IFS=$as_save_IFS
5175 test -z "$as_dir" && as_dir=.
5176 for ac_exec_ext in '' $ac_executable_extensions; do
5177 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5178 ac_cv_prog_LD="${ac_tool_prefix}ld"
5179 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5180 break 2
5182 done
5183 done
5184 IFS=$as_save_IFS
5188 LD=$ac_cv_prog_LD
5189 if test -n "$LD"; then
5190 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5191 $as_echo "$LD" >&6; }
5192 else
5193 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5194 $as_echo "no" >&6; }
5199 if test -z "$ac_cv_prog_LD"; then
5200 ac_ct_LD=$LD
5201 # Extract the first word of "ld", so it can be a program name with args.
5202 set dummy ld; ac_word=$2
5203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5204 $as_echo_n "checking for $ac_word... " >&6; }
5205 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5206 $as_echo_n "(cached) " >&6
5207 else
5208 if test -n "$ac_ct_LD"; then
5209 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5210 else
5211 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5212 for as_dir in $PATH
5214 IFS=$as_save_IFS
5215 test -z "$as_dir" && as_dir=.
5216 for ac_exec_ext in '' $ac_executable_extensions; do
5217 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5218 ac_cv_prog_ac_ct_LD="ld"
5219 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5220 break 2
5222 done
5223 done
5224 IFS=$as_save_IFS
5228 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5229 if test -n "$ac_ct_LD"; then
5230 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5231 $as_echo "$ac_ct_LD" >&6; }
5232 else
5233 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5234 $as_echo "no" >&6; }
5237 if test "x$ac_ct_LD" = x; then
5238 LD=""
5239 else
5240 case $cross_compiling:$ac_tool_warned in
5241 yes:)
5242 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5243 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5244 ac_tool_warned=yes ;;
5245 esac
5246 LD=$ac_ct_LD
5248 else
5249 LD="$ac_cv_prog_LD"
5253 case $host in
5254 *-darwin*)
5255 with_fontconfig=${with_fontconfig:-no}
5257 *-mingw32*|*-cygwin*)
5258 enable_win16=${enable_win16:-no}
5259 CFLAGS="$CFLAGS -D_WIN32"
5261 esac
5263 case $host in
5264 x86_64*|amd64*)
5265 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5266 then
5267 CC="$CC -m32"
5268 CXX="$CXX -m32"
5269 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5270 $as_echo_n "checking whether $CC works... " >&6; }
5272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5273 /* end confdefs.h. */
5276 main ()
5280 return 0;
5282 _ACEOF
5283 if ac_fn_c_try_link "$LINENO"; then :
5284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5285 $as_echo "yes" >&6; }
5286 else
5287 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5288 $as_echo "no" >&6; }
5289 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5291 rm -f core conftest.err conftest.$ac_objext \
5292 conftest$ac_exeext conftest.$ac_ext
5293 host_cpu="i386"
5294 notice_platform="32-bit "
5295 TARGETFLAGS="-m32"
5297 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib/pkgconfig}
5298 export PKG_CONFIG_PATH
5299 enable_win16=${enable_win16:-yes}
5300 else
5301 if test "x${GCC}" = "xyes"
5302 then
5303 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5304 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5306 /* end confdefs.h. */
5307 #include <stdarg.h>
5309 main ()
5311 void func(__builtin_ms_va_list *args);
5313 return 0;
5315 _ACEOF
5316 if ac_fn_c_try_compile "$LINENO"; then :
5317 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5318 $as_echo "yes" >&6; }
5319 else
5320 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5321 $as_echo "no" >&6; }
5322 as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5324 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5326 CC="$CC -m64"
5327 CXX="$CXX -m64"
5328 host_cpu="x86_64"
5329 notice_platform="64-bit "
5330 TARGETFLAGS="-m64"
5334 arm*)
5335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5336 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5337 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5338 /* end confdefs.h. */
5339 int ac_test(int i) { return i; }
5341 main ()
5343 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5345 return 0;
5347 _ACEOF
5348 if ac_fn_c_try_link "$LINENO"; then :
5349 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5350 $as_echo "yes" >&6; }
5351 else
5352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5353 $as_echo "no" >&6; }
5354 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5356 rm -f core conftest.err conftest.$ac_objext \
5357 conftest$ac_exeext conftest.$ac_ext
5358 case $with_float_abi in
5359 soft|softfp|hard)
5360 float_abi=$with_float_abi ;;
5362 case $host_os in
5363 *eabihf)
5364 float_abi=hard ;;
5366 float_abi=softfp
5367 saved_CFLAGS=$CFLAGS
5368 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5369 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
5370 $as_echo_n "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
5371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5372 /* end confdefs.h. */
5375 main ()
5377 asm("vmrs r2,fpscr");
5379 return 0;
5381 _ACEOF
5382 if ac_fn_c_try_link "$LINENO"; then :
5383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5384 $as_echo "yes" >&6; }
5385 else
5386 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5387 $as_echo "no" >&6; }
5388 float_abi=soft
5389 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
5391 rm -f core conftest.err conftest.$ac_objext \
5392 conftest$ac_exeext conftest.$ac_ext
5393 CFLAGS=$saved_CFLAGS
5394 esac
5396 esac
5397 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5398 TARGETFLAGS="-marm -mfloat-abi=$float_abi"
5401 i[3456789]86*)
5402 enable_win16=${enable_win16:-yes}
5404 esac
5406 enable_win16=${enable_win16:-no}
5407 enable_win64=${enable_win64:-no}
5409 enable_winetest=${enable_winetest:-$enable_tests}
5411 if test -n "$with_wine64"
5412 then
5413 if test "x$enable_win64" = "xyes"
5414 then
5415 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5416 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5418 test "$srcdir" != . || as_fn_error $? "--with-wine64 cannot be used when building inside the source tree.
5419 You should create a separate build directory and run configure from there." "$LINENO" 5
5420 enable_fonts=${enable_fonts:-no}
5421 enable_server=${enable_server:-no}
5422 wine64_disable=\#
5424 elif test "x$enable_win64" = "xyes"
5425 then
5426 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5430 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5431 if ${wine_cv_toolsdir+:} false; then :
5432 $as_echo_n "(cached) " >&6
5433 else
5434 wine_cv_toolsdir="$with_wine_tools"
5435 if test -z "$with_wine_tools"; then
5436 if test "$cross_compiling" = "yes"; then
5437 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5438 elif test -n "$with_wine64"; then
5439 wine_cv_toolsdir="$with_wine64"
5442 if test -z "$wine_cv_toolsdir"; then
5443 wine_makedep=tools/makedep
5444 wine_cv_toolsdir="\$(top_builddir)"
5445 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5446 wine_makedep=$wine_cv_toolsdir/tools/makedep
5447 case "$wine_cv_toolsdir" in
5448 /*) ;;
5449 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5450 esac
5451 enable_tools=${enable_tools:-no}
5452 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5453 else
5454 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5457 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5458 $as_echo "$wine_cv_toolsdir" >&6; }
5459 TOOLSDIR=$wine_cv_toolsdir
5461 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5462 then
5463 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5467 for ac_prog in flex
5469 # Extract the first word of "$ac_prog", so it can be a program name with args.
5470 set dummy $ac_prog; ac_word=$2
5471 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5472 $as_echo_n "checking for $ac_word... " >&6; }
5473 if ${ac_cv_prog_FLEX+:} false; then :
5474 $as_echo_n "(cached) " >&6
5475 else
5476 if test -n "$FLEX"; then
5477 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5478 else
5479 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5480 for as_dir in $PATH
5482 IFS=$as_save_IFS
5483 test -z "$as_dir" && as_dir=.
5484 for ac_exec_ext in '' $ac_executable_extensions; do
5485 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5486 ac_cv_prog_FLEX="$ac_prog"
5487 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5488 break 2
5490 done
5491 done
5492 IFS=$as_save_IFS
5496 FLEX=$ac_cv_prog_FLEX
5497 if test -n "$FLEX"; then
5498 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5499 $as_echo "$FLEX" >&6; }
5500 else
5501 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5502 $as_echo "no" >&6; }
5506 test -n "$FLEX" && break
5507 done
5508 test -n "$FLEX" || FLEX="none"
5510 if test "$FLEX" = "none"
5511 then
5512 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5515 $as_echo_n "checking whether flex is recent enough... " >&6; }
5516 cat >conftest.l <<EOF
5517 %top{
5518 #include "prediluvian.h"
5522 if $FLEX -t conftest.l >/dev/null 2>&5
5523 then
5524 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5525 $as_echo "yes" >&6; }
5526 else
5527 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5528 $as_echo "no" >&6; }
5529 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5532 for ac_prog in bison
5534 # Extract the first word of "$ac_prog", so it can be a program name with args.
5535 set dummy $ac_prog; ac_word=$2
5536 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5537 $as_echo_n "checking for $ac_word... " >&6; }
5538 if ${ac_cv_prog_BISON+:} false; then :
5539 $as_echo_n "(cached) " >&6
5540 else
5541 if test -n "$BISON"; then
5542 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5543 else
5544 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5545 for as_dir in $PATH
5547 IFS=$as_save_IFS
5548 test -z "$as_dir" && as_dir=.
5549 for ac_exec_ext in '' $ac_executable_extensions; do
5550 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5551 ac_cv_prog_BISON="$ac_prog"
5552 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5553 break 2
5555 done
5556 done
5557 IFS=$as_save_IFS
5561 BISON=$ac_cv_prog_BISON
5562 if test -n "$BISON"; then
5563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5564 $as_echo "$BISON" >&6; }
5565 else
5566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5567 $as_echo "no" >&6; }
5571 test -n "$BISON" && break
5572 done
5573 test -n "$BISON" || BISON="none"
5575 if test "$BISON" = "none"
5576 then
5577 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5580 if test -n "$ac_tool_prefix"; then
5581 for ac_prog in ar gar
5583 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5584 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5585 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5586 $as_echo_n "checking for $ac_word... " >&6; }
5587 if ${ac_cv_prog_AR+:} false; then :
5588 $as_echo_n "(cached) " >&6
5589 else
5590 if test -n "$AR"; then
5591 ac_cv_prog_AR="$AR" # Let the user override the test.
5592 else
5593 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5594 for as_dir in $PATH
5596 IFS=$as_save_IFS
5597 test -z "$as_dir" && as_dir=.
5598 for ac_exec_ext in '' $ac_executable_extensions; do
5599 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5600 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5601 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5602 break 2
5604 done
5605 done
5606 IFS=$as_save_IFS
5610 AR=$ac_cv_prog_AR
5611 if test -n "$AR"; then
5612 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5613 $as_echo "$AR" >&6; }
5614 else
5615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5616 $as_echo "no" >&6; }
5620 test -n "$AR" && break
5621 done
5623 if test -z "$AR"; then
5624 ac_ct_AR=$AR
5625 for ac_prog in ar gar
5627 # Extract the first word of "$ac_prog", so it can be a program name with args.
5628 set dummy $ac_prog; ac_word=$2
5629 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5630 $as_echo_n "checking for $ac_word... " >&6; }
5631 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5632 $as_echo_n "(cached) " >&6
5633 else
5634 if test -n "$ac_ct_AR"; then
5635 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5636 else
5637 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5638 for as_dir in $PATH
5640 IFS=$as_save_IFS
5641 test -z "$as_dir" && as_dir=.
5642 for ac_exec_ext in '' $ac_executable_extensions; do
5643 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5644 ac_cv_prog_ac_ct_AR="$ac_prog"
5645 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5646 break 2
5648 done
5649 done
5650 IFS=$as_save_IFS
5654 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5655 if test -n "$ac_ct_AR"; then
5656 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5657 $as_echo "$ac_ct_AR" >&6; }
5658 else
5659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5660 $as_echo "no" >&6; }
5664 test -n "$ac_ct_AR" && break
5665 done
5667 if test "x$ac_ct_AR" = x; then
5668 AR="ar"
5669 else
5670 case $cross_compiling:$ac_tool_warned in
5671 yes:)
5672 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5673 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5674 ac_tool_warned=yes ;;
5675 esac
5676 AR=$ac_ct_AR
5680 if test -n "$ac_tool_prefix"; then
5681 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5682 set dummy ${ac_tool_prefix}strip; ac_word=$2
5683 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5684 $as_echo_n "checking for $ac_word... " >&6; }
5685 if ${ac_cv_prog_STRIP+:} false; then :
5686 $as_echo_n "(cached) " >&6
5687 else
5688 if test -n "$STRIP"; then
5689 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5690 else
5691 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5692 for as_dir in $PATH
5694 IFS=$as_save_IFS
5695 test -z "$as_dir" && as_dir=.
5696 for ac_exec_ext in '' $ac_executable_extensions; do
5697 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5698 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5699 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5700 break 2
5702 done
5703 done
5704 IFS=$as_save_IFS
5708 STRIP=$ac_cv_prog_STRIP
5709 if test -n "$STRIP"; then
5710 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5711 $as_echo "$STRIP" >&6; }
5712 else
5713 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5714 $as_echo "no" >&6; }
5719 if test -z "$ac_cv_prog_STRIP"; then
5720 ac_ct_STRIP=$STRIP
5721 # Extract the first word of "strip", so it can be a program name with args.
5722 set dummy strip; ac_word=$2
5723 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5724 $as_echo_n "checking for $ac_word... " >&6; }
5725 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5726 $as_echo_n "(cached) " >&6
5727 else
5728 if test -n "$ac_ct_STRIP"; then
5729 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5730 else
5731 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5732 for as_dir in $PATH
5734 IFS=$as_save_IFS
5735 test -z "$as_dir" && as_dir=.
5736 for ac_exec_ext in '' $ac_executable_extensions; do
5737 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5738 ac_cv_prog_ac_ct_STRIP="strip"
5739 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5740 break 2
5742 done
5743 done
5744 IFS=$as_save_IFS
5748 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5749 if test -n "$ac_ct_STRIP"; then
5750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5751 $as_echo "$ac_ct_STRIP" >&6; }
5752 else
5753 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5754 $as_echo "no" >&6; }
5757 if test "x$ac_ct_STRIP" = x; then
5758 STRIP="strip"
5759 else
5760 case $cross_compiling:$ac_tool_warned in
5761 yes:)
5762 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5763 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5764 ac_tool_warned=yes ;;
5765 esac
5766 STRIP=$ac_ct_STRIP
5768 else
5769 STRIP="$ac_cv_prog_STRIP"
5772 ARFLAGS=rc
5774 if test -n "$ac_tool_prefix"; then
5775 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5776 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5778 $as_echo_n "checking for $ac_word... " >&6; }
5779 if ${ac_cv_prog_RANLIB+:} false; then :
5780 $as_echo_n "(cached) " >&6
5781 else
5782 if test -n "$RANLIB"; then
5783 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5784 else
5785 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5786 for as_dir in $PATH
5788 IFS=$as_save_IFS
5789 test -z "$as_dir" && as_dir=.
5790 for ac_exec_ext in '' $ac_executable_extensions; do
5791 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5792 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5793 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5794 break 2
5796 done
5797 done
5798 IFS=$as_save_IFS
5802 RANLIB=$ac_cv_prog_RANLIB
5803 if test -n "$RANLIB"; then
5804 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5805 $as_echo "$RANLIB" >&6; }
5806 else
5807 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5808 $as_echo "no" >&6; }
5813 if test -z "$ac_cv_prog_RANLIB"; then
5814 ac_ct_RANLIB=$RANLIB
5815 # Extract the first word of "ranlib", so it can be a program name with args.
5816 set dummy ranlib; ac_word=$2
5817 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5818 $as_echo_n "checking for $ac_word... " >&6; }
5819 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5820 $as_echo_n "(cached) " >&6
5821 else
5822 if test -n "$ac_ct_RANLIB"; then
5823 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5824 else
5825 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5826 for as_dir in $PATH
5828 IFS=$as_save_IFS
5829 test -z "$as_dir" && as_dir=.
5830 for ac_exec_ext in '' $ac_executable_extensions; do
5831 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5832 ac_cv_prog_ac_ct_RANLIB="ranlib"
5833 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5834 break 2
5836 done
5837 done
5838 IFS=$as_save_IFS
5842 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5843 if test -n "$ac_ct_RANLIB"; then
5844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5845 $as_echo "$ac_ct_RANLIB" >&6; }
5846 else
5847 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5848 $as_echo "no" >&6; }
5851 if test "x$ac_ct_RANLIB" = x; then
5852 RANLIB=":"
5853 else
5854 case $cross_compiling:$ac_tool_warned in
5855 yes:)
5856 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5857 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5858 ac_tool_warned=yes ;;
5859 esac
5860 RANLIB=$ac_ct_RANLIB
5862 else
5863 RANLIB="$ac_cv_prog_RANLIB"
5866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5867 $as_echo_n "checking whether ln -s works... " >&6; }
5868 LN_S=$as_ln_s
5869 if test "$LN_S" = "ln -s"; then
5870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5871 $as_echo "yes" >&6; }
5872 else
5873 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5874 $as_echo "no, using $LN_S" >&6; }
5877 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5878 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5879 if ${ac_cv_path_GREP+:} false; then :
5880 $as_echo_n "(cached) " >&6
5881 else
5882 if test -z "$GREP"; then
5883 ac_path_GREP_found=false
5884 # Loop through the user's path and test for each of PROGNAME-LIST
5885 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5886 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5888 IFS=$as_save_IFS
5889 test -z "$as_dir" && as_dir=.
5890 for ac_prog in grep ggrep; do
5891 for ac_exec_ext in '' $ac_executable_extensions; do
5892 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5893 as_fn_executable_p "$ac_path_GREP" || continue
5894 # Check for GNU ac_path_GREP and select it if it is found.
5895 # Check for GNU $ac_path_GREP
5896 case `"$ac_path_GREP" --version 2>&1` in
5897 *GNU*)
5898 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5900 ac_count=0
5901 $as_echo_n 0123456789 >"conftest.in"
5902 while :
5904 cat "conftest.in" "conftest.in" >"conftest.tmp"
5905 mv "conftest.tmp" "conftest.in"
5906 cp "conftest.in" "conftest.nl"
5907 $as_echo 'GREP' >> "conftest.nl"
5908 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5909 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5910 as_fn_arith $ac_count + 1 && ac_count=$as_val
5911 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5912 # Best one so far, save it but keep looking for a better one
5913 ac_cv_path_GREP="$ac_path_GREP"
5914 ac_path_GREP_max=$ac_count
5916 # 10*(2^10) chars as input seems more than enough
5917 test $ac_count -gt 10 && break
5918 done
5919 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5920 esac
5922 $ac_path_GREP_found && break 3
5923 done
5924 done
5925 done
5926 IFS=$as_save_IFS
5927 if test -z "$ac_cv_path_GREP"; then
5928 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5930 else
5931 ac_cv_path_GREP=$GREP
5935 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5936 $as_echo "$ac_cv_path_GREP" >&6; }
5937 GREP="$ac_cv_path_GREP"
5940 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5941 $as_echo_n "checking for egrep... " >&6; }
5942 if ${ac_cv_path_EGREP+:} false; then :
5943 $as_echo_n "(cached) " >&6
5944 else
5945 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5946 then ac_cv_path_EGREP="$GREP -E"
5947 else
5948 if test -z "$EGREP"; then
5949 ac_path_EGREP_found=false
5950 # Loop through the user's path and test for each of PROGNAME-LIST
5951 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5952 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5954 IFS=$as_save_IFS
5955 test -z "$as_dir" && as_dir=.
5956 for ac_prog in egrep; do
5957 for ac_exec_ext in '' $ac_executable_extensions; do
5958 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5959 as_fn_executable_p "$ac_path_EGREP" || continue
5960 # Check for GNU ac_path_EGREP and select it if it is found.
5961 # Check for GNU $ac_path_EGREP
5962 case `"$ac_path_EGREP" --version 2>&1` in
5963 *GNU*)
5964 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5966 ac_count=0
5967 $as_echo_n 0123456789 >"conftest.in"
5968 while :
5970 cat "conftest.in" "conftest.in" >"conftest.tmp"
5971 mv "conftest.tmp" "conftest.in"
5972 cp "conftest.in" "conftest.nl"
5973 $as_echo 'EGREP' >> "conftest.nl"
5974 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5975 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5976 as_fn_arith $ac_count + 1 && ac_count=$as_val
5977 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5978 # Best one so far, save it but keep looking for a better one
5979 ac_cv_path_EGREP="$ac_path_EGREP"
5980 ac_path_EGREP_max=$ac_count
5982 # 10*(2^10) chars as input seems more than enough
5983 test $ac_count -gt 10 && break
5984 done
5985 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5986 esac
5988 $ac_path_EGREP_found && break 3
5989 done
5990 done
5991 done
5992 IFS=$as_save_IFS
5993 if test -z "$ac_cv_path_EGREP"; then
5994 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5996 else
5997 ac_cv_path_EGREP=$EGREP
6002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6003 $as_echo "$ac_cv_path_EGREP" >&6; }
6004 EGREP="$ac_cv_path_EGREP"
6007 # Extract the first word of "ldconfig", so it can be a program name with args.
6008 set dummy ldconfig; ac_word=$2
6009 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6010 $as_echo_n "checking for $ac_word... " >&6; }
6011 if ${ac_cv_path_LDCONFIG+:} false; then :
6012 $as_echo_n "(cached) " >&6
6013 else
6014 case $LDCONFIG in
6015 [\\/]* | ?:[\\/]*)
6016 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6019 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6020 for as_dir in /sbin /usr/sbin $PATH
6022 IFS=$as_save_IFS
6023 test -z "$as_dir" && as_dir=.
6024 for ac_exec_ext in '' $ac_executable_extensions; do
6025 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6026 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6027 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6028 break 2
6030 done
6031 done
6032 IFS=$as_save_IFS
6034 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6036 esac
6038 LDCONFIG=$ac_cv_path_LDCONFIG
6039 if test -n "$LDCONFIG"; then
6040 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
6041 $as_echo "$LDCONFIG" >&6; }
6042 else
6043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6044 $as_echo "no" >&6; }
6048 for ac_prog in msgfmt
6050 # Extract the first word of "$ac_prog", so it can be a program name with args.
6051 set dummy $ac_prog; ac_word=$2
6052 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6053 $as_echo_n "checking for $ac_word... " >&6; }
6054 if ${ac_cv_prog_MSGFMT+:} false; then :
6055 $as_echo_n "(cached) " >&6
6056 else
6057 if test -n "$MSGFMT"; then
6058 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
6059 else
6060 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6061 for as_dir in $PATH
6063 IFS=$as_save_IFS
6064 test -z "$as_dir" && as_dir=.
6065 for ac_exec_ext in '' $ac_executable_extensions; do
6066 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6067 ac_cv_prog_MSGFMT="$ac_prog"
6068 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6069 break 2
6071 done
6072 done
6073 IFS=$as_save_IFS
6077 MSGFMT=$ac_cv_prog_MSGFMT
6078 if test -n "$MSGFMT"; then
6079 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6080 $as_echo "$MSGFMT" >&6; }
6081 else
6082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6083 $as_echo "no" >&6; }
6087 test -n "$MSGFMT" && break
6088 done
6089 test -n "$MSGFMT" || MSGFMT="false"
6091 if ${ac_tool_prefix+:} false; then :
6092 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6093 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6094 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6095 $as_echo_n "checking for $ac_word... " >&6; }
6096 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6097 $as_echo_n "(cached) " >&6
6098 else
6099 if test -n "$PKG_CONFIG"; then
6100 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6101 else
6102 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6103 for as_dir in $PATH
6105 IFS=$as_save_IFS
6106 test -z "$as_dir" && as_dir=.
6107 for ac_exec_ext in '' $ac_executable_extensions; do
6108 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6109 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
6110 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6111 break 2
6113 done
6114 done
6115 IFS=$as_save_IFS
6119 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6120 if test -n "$PKG_CONFIG"; then
6121 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6122 $as_echo "$PKG_CONFIG" >&6; }
6123 else
6124 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6125 $as_echo "no" >&6; }
6130 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
6131 if test "x$cross_compiling" = xyes; then :
6133 else
6134 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
6135 # Extract the first word of "pkg-config", so it can be a program name with args.
6136 set dummy pkg-config; ac_word=$2
6137 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6138 $as_echo_n "checking for $ac_word... " >&6; }
6139 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6140 $as_echo_n "(cached) " >&6
6141 else
6142 if test -n "$PKG_CONFIG"; then
6143 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6144 else
6145 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6146 for as_dir in $PATH
6148 IFS=$as_save_IFS
6149 test -z "$as_dir" && as_dir=.
6150 for ac_exec_ext in '' $ac_executable_extensions; do
6151 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6152 ac_cv_prog_PKG_CONFIG="pkg-config"
6153 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6154 break 2
6156 done
6157 done
6158 IFS=$as_save_IFS
6162 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6163 if test -n "$PKG_CONFIG"; then
6164 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6165 $as_echo "$PKG_CONFIG" >&6; }
6166 else
6167 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6168 $as_echo "no" >&6; }
6173 else
6174 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6177 if test "x$enable_maintainer_mode" != "xyes"
6178 then
6179 FONTFORGE=""
6180 RSVG=""
6181 CONVERT=""
6182 ICOTOOL=""
6183 else
6184 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6185 for ac_prog in fontforge
6187 # Extract the first word of "$ac_prog", so it can be a program name with args.
6188 set dummy $ac_prog; ac_word=$2
6189 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6190 $as_echo_n "checking for $ac_word... " >&6; }
6191 if ${ac_cv_prog_FONTFORGE+:} false; then :
6192 $as_echo_n "(cached) " >&6
6193 else
6194 if test -n "$FONTFORGE"; then
6195 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6196 else
6197 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6198 for as_dir in $PATH
6200 IFS=$as_save_IFS
6201 test -z "$as_dir" && as_dir=.
6202 for ac_exec_ext in '' $ac_executable_extensions; do
6203 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6204 ac_cv_prog_FONTFORGE="$ac_prog"
6205 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6206 break 2
6208 done
6209 done
6210 IFS=$as_save_IFS
6214 FONTFORGE=$ac_cv_prog_FONTFORGE
6215 if test -n "$FONTFORGE"; then
6216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6217 $as_echo "$FONTFORGE" >&6; }
6218 else
6219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6220 $as_echo "no" >&6; }
6224 test -n "$FONTFORGE" && break
6225 done
6226 test -n "$FONTFORGE" || FONTFORGE="false"
6228 for ac_prog in rsvg-convert rsvg
6230 # Extract the first word of "$ac_prog", so it can be a program name with args.
6231 set dummy $ac_prog; ac_word=$2
6232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6233 $as_echo_n "checking for $ac_word... " >&6; }
6234 if ${ac_cv_prog_RSVG+:} false; then :
6235 $as_echo_n "(cached) " >&6
6236 else
6237 if test -n "$RSVG"; then
6238 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6239 else
6240 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6241 for as_dir in $PATH
6243 IFS=$as_save_IFS
6244 test -z "$as_dir" && as_dir=.
6245 for ac_exec_ext in '' $ac_executable_extensions; do
6246 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6247 ac_cv_prog_RSVG="$ac_prog"
6248 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6249 break 2
6251 done
6252 done
6253 IFS=$as_save_IFS
6257 RSVG=$ac_cv_prog_RSVG
6258 if test -n "$RSVG"; then
6259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6260 $as_echo "$RSVG" >&6; }
6261 else
6262 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6263 $as_echo "no" >&6; }
6267 test -n "$RSVG" && break
6268 done
6269 test -n "$RSVG" || RSVG="false"
6271 for ac_prog in convert
6273 # Extract the first word of "$ac_prog", so it can be a program name with args.
6274 set dummy $ac_prog; ac_word=$2
6275 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6276 $as_echo_n "checking for $ac_word... " >&6; }
6277 if ${ac_cv_prog_CONVERT+:} false; then :
6278 $as_echo_n "(cached) " >&6
6279 else
6280 if test -n "$CONVERT"; then
6281 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6282 else
6283 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6284 for as_dir in $PATH
6286 IFS=$as_save_IFS
6287 test -z "$as_dir" && as_dir=.
6288 for ac_exec_ext in '' $ac_executable_extensions; do
6289 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6290 ac_cv_prog_CONVERT="$ac_prog"
6291 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6292 break 2
6294 done
6295 done
6296 IFS=$as_save_IFS
6300 CONVERT=$ac_cv_prog_CONVERT
6301 if test -n "$CONVERT"; then
6302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6303 $as_echo "$CONVERT" >&6; }
6304 else
6305 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6306 $as_echo "no" >&6; }
6310 test -n "$CONVERT" && break
6311 done
6312 test -n "$CONVERT" || CONVERT="false"
6314 for ac_prog in icotool
6316 # Extract the first word of "$ac_prog", so it can be a program name with args.
6317 set dummy $ac_prog; ac_word=$2
6318 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6319 $as_echo_n "checking for $ac_word... " >&6; }
6320 if ${ac_cv_prog_ICOTOOL+:} false; then :
6321 $as_echo_n "(cached) " >&6
6322 else
6323 if test -n "$ICOTOOL"; then
6324 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6325 else
6326 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6327 for as_dir in $PATH
6329 IFS=$as_save_IFS
6330 test -z "$as_dir" && as_dir=.
6331 for ac_exec_ext in '' $ac_executable_extensions; do
6332 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6333 ac_cv_prog_ICOTOOL="$ac_prog"
6334 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6335 break 2
6337 done
6338 done
6339 IFS=$as_save_IFS
6343 ICOTOOL=$ac_cv_prog_ICOTOOL
6344 if test -n "$ICOTOOL"; then
6345 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6346 $as_echo "$ICOTOOL" >&6; }
6347 else
6348 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6349 $as_echo "no" >&6; }
6353 test -n "$ICOTOOL" && break
6354 done
6355 test -n "$ICOTOOL" || ICOTOOL="false"
6357 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6358 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6360 if test "$CONVERT" = false
6361 then
6362 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6363 else
6364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6365 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6366 convert_version=`convert --version | head -n1`
6367 if test "x$convert_version" != "x"
6368 then
6369 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6370 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6371 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6372 then
6373 CONVERT=false
6376 if test "$CONVERT" = false
6377 then
6378 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6379 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6380 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6381 else
6382 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6383 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6387 if test "$ICOTOOL" = false
6388 then
6389 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6390 else
6391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6392 $as_echo_n "checking for recent enough icotool... " >&6; }
6393 icotool_version=`icotool --version | head -n1`
6394 if test "x$icotool_version" != "x"
6395 then
6396 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6397 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6398 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6399 then
6400 ICOTOOL=false
6401 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6404 if test "$ICOTOOL" = false
6405 then
6406 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6407 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6408 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6409 else
6410 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6411 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6415 with_gettext=yes
6416 with_gettextpo=yes
6417 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
6420 test "x$with_gettext" != xno || MSGFMT=false
6421 if test "$MSGFMT" != "false"
6422 then
6423 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6424 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6425 cat >conftest.po <<EOF
6426 # comment
6427 msgctxt "ctxt"
6428 msgid "id"
6429 msgstr "str"
6431 if $MSGFMT -o /dev/null conftest.po 2>&5
6432 then
6433 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6434 $as_echo "yes" >&6; }
6435 else
6436 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6437 $as_echo "no" >&6; }
6438 MSGFMT=false
6441 if test "$MSGFMT" = false; then :
6442 case "x$with_gettext" in
6443 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6444 xno) ;;
6445 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6446 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6447 esac
6448 enable_po=${enable_po:-no}
6452 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6453 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6454 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6455 $as_echo_n "(cached) " >&6
6456 else
6457 ac_check_lib_save_LIBS=$LIBS
6458 LIBS="-li386 $LIBS"
6459 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6460 /* end confdefs.h. */
6462 /* Override any GCC internal prototype to avoid an error.
6463 Use char because int might match the return type of a GCC
6464 builtin and then its argument prototype would still apply. */
6465 #ifdef __cplusplus
6466 extern "C"
6467 #endif
6468 char i386_set_ldt ();
6470 main ()
6472 return i386_set_ldt ();
6474 return 0;
6476 _ACEOF
6477 if ac_fn_c_try_link "$LINENO"; then :
6478 ac_cv_lib_i386_i386_set_ldt=yes
6479 else
6480 ac_cv_lib_i386_i386_set_ldt=no
6482 rm -f core conftest.err conftest.$ac_objext \
6483 conftest$ac_exeext conftest.$ac_ext
6484 LIBS=$ac_check_lib_save_LIBS
6486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6487 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6488 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6489 cat >>confdefs.h <<_ACEOF
6490 #define HAVE_LIBI386 1
6491 _ACEOF
6493 LIBS="-li386 $LIBS"
6497 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6498 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6499 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6500 $as_echo_n "(cached) " >&6
6501 else
6502 ac_check_lib_save_LIBS=$LIBS
6503 LIBS="-lossaudio $LIBS"
6504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6505 /* end confdefs.h. */
6507 /* Override any GCC internal prototype to avoid an error.
6508 Use char because int might match the return type of a GCC
6509 builtin and then its argument prototype would still apply. */
6510 #ifdef __cplusplus
6511 extern "C"
6512 #endif
6513 char _oss_ioctl ();
6515 main ()
6517 return _oss_ioctl ();
6519 return 0;
6521 _ACEOF
6522 if ac_fn_c_try_link "$LINENO"; then :
6523 ac_cv_lib_ossaudio__oss_ioctl=yes
6524 else
6525 ac_cv_lib_ossaudio__oss_ioctl=no
6527 rm -f core conftest.err conftest.$ac_objext \
6528 conftest$ac_exeext conftest.$ac_ext
6529 LIBS=$ac_check_lib_save_LIBS
6531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6532 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6533 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6534 cat >>confdefs.h <<_ACEOF
6535 #define HAVE_LIBOSSAUDIO 1
6536 _ACEOF
6538 LIBS="-lossaudio $LIBS"
6543 OPENGL_LIBS=""
6547 # Check whether --enable-largefile was given.
6548 if test "${enable_largefile+set}" = set; then :
6549 enableval=$enable_largefile;
6552 if test "$enable_largefile" != no; then
6554 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6555 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6556 if ${ac_cv_sys_largefile_CC+:} false; then :
6557 $as_echo_n "(cached) " >&6
6558 else
6559 ac_cv_sys_largefile_CC=no
6560 if test "$GCC" != yes; then
6561 ac_save_CC=$CC
6562 while :; do
6563 # IRIX 6.2 and later do not support large files by default,
6564 # so use the C compiler's -n32 option if that helps.
6565 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6566 /* end confdefs.h. */
6567 #include <sys/types.h>
6568 /* Check that off_t can represent 2**63 - 1 correctly.
6569 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6570 since some C++ compilers masquerading as C compilers
6571 incorrectly reject 9223372036854775807. */
6572 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6573 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6574 && LARGE_OFF_T % 2147483647 == 1)
6575 ? 1 : -1];
6577 main ()
6581 return 0;
6583 _ACEOF
6584 if ac_fn_c_try_compile "$LINENO"; then :
6585 break
6587 rm -f core conftest.err conftest.$ac_objext
6588 CC="$CC -n32"
6589 if ac_fn_c_try_compile "$LINENO"; then :
6590 ac_cv_sys_largefile_CC=' -n32'; break
6592 rm -f core conftest.err conftest.$ac_objext
6593 break
6594 done
6595 CC=$ac_save_CC
6596 rm -f conftest.$ac_ext
6599 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6600 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6601 if test "$ac_cv_sys_largefile_CC" != no; then
6602 CC=$CC$ac_cv_sys_largefile_CC
6605 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6606 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6607 if ${ac_cv_sys_file_offset_bits+:} false; then :
6608 $as_echo_n "(cached) " >&6
6609 else
6610 while :; do
6611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6612 /* end confdefs.h. */
6613 #include <sys/types.h>
6614 /* Check that off_t can represent 2**63 - 1 correctly.
6615 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6616 since some C++ compilers masquerading as C compilers
6617 incorrectly reject 9223372036854775807. */
6618 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6619 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6620 && LARGE_OFF_T % 2147483647 == 1)
6621 ? 1 : -1];
6623 main ()
6627 return 0;
6629 _ACEOF
6630 if ac_fn_c_try_compile "$LINENO"; then :
6631 ac_cv_sys_file_offset_bits=no; break
6633 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6635 /* end confdefs.h. */
6636 #define _FILE_OFFSET_BITS 64
6637 #include <sys/types.h>
6638 /* Check that off_t can represent 2**63 - 1 correctly.
6639 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6640 since some C++ compilers masquerading as C compilers
6641 incorrectly reject 9223372036854775807. */
6642 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6643 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6644 && LARGE_OFF_T % 2147483647 == 1)
6645 ? 1 : -1];
6647 main ()
6651 return 0;
6653 _ACEOF
6654 if ac_fn_c_try_compile "$LINENO"; then :
6655 ac_cv_sys_file_offset_bits=64; break
6657 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6658 ac_cv_sys_file_offset_bits=unknown
6659 break
6660 done
6662 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6663 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6664 case $ac_cv_sys_file_offset_bits in #(
6665 no | unknown) ;;
6667 cat >>confdefs.h <<_ACEOF
6668 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6669 _ACEOF
6671 esac
6672 rm -rf conftest*
6673 if test $ac_cv_sys_file_offset_bits = unknown; then
6674 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6675 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6676 if ${ac_cv_sys_large_files+:} false; then :
6677 $as_echo_n "(cached) " >&6
6678 else
6679 while :; do
6680 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6681 /* end confdefs.h. */
6682 #include <sys/types.h>
6683 /* Check that off_t can represent 2**63 - 1 correctly.
6684 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6685 since some C++ compilers masquerading as C compilers
6686 incorrectly reject 9223372036854775807. */
6687 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6688 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6689 && LARGE_OFF_T % 2147483647 == 1)
6690 ? 1 : -1];
6692 main ()
6696 return 0;
6698 _ACEOF
6699 if ac_fn_c_try_compile "$LINENO"; then :
6700 ac_cv_sys_large_files=no; break
6702 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6703 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6704 /* end confdefs.h. */
6705 #define _LARGE_FILES 1
6706 #include <sys/types.h>
6707 /* Check that off_t can represent 2**63 - 1 correctly.
6708 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6709 since some C++ compilers masquerading as C compilers
6710 incorrectly reject 9223372036854775807. */
6711 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6712 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6713 && LARGE_OFF_T % 2147483647 == 1)
6714 ? 1 : -1];
6716 main ()
6720 return 0;
6722 _ACEOF
6723 if ac_fn_c_try_compile "$LINENO"; then :
6724 ac_cv_sys_large_files=1; break
6726 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6727 ac_cv_sys_large_files=unknown
6728 break
6729 done
6731 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6732 $as_echo "$ac_cv_sys_large_files" >&6; }
6733 case $ac_cv_sys_large_files in #(
6734 no | unknown) ;;
6736 cat >>confdefs.h <<_ACEOF
6737 #define _LARGE_FILES $ac_cv_sys_large_files
6738 _ACEOF
6740 esac
6741 rm -rf conftest*
6748 ac_ext=c
6749 ac_cpp='$CPP $CPPFLAGS'
6750 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6751 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6752 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6753 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6754 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6755 # On Suns, sometimes $CPP names a directory.
6756 if test -n "$CPP" && test -d "$CPP"; then
6757 CPP=
6759 if test -z "$CPP"; then
6760 if ${ac_cv_prog_CPP+:} false; then :
6761 $as_echo_n "(cached) " >&6
6762 else
6763 # Double quotes because CPP needs to be expanded
6764 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6766 ac_preproc_ok=false
6767 for ac_c_preproc_warn_flag in '' yes
6769 # Use a header file that comes with gcc, so configuring glibc
6770 # with a fresh cross-compiler works.
6771 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6772 # <limits.h> exists even on freestanding compilers.
6773 # On the NeXT, cc -E runs the code through the compiler's parser,
6774 # not just through cpp. "Syntax error" is here to catch this case.
6775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6776 /* end confdefs.h. */
6777 #ifdef __STDC__
6778 # include <limits.h>
6779 #else
6780 # include <assert.h>
6781 #endif
6782 Syntax error
6783 _ACEOF
6784 if ac_fn_c_try_cpp "$LINENO"; then :
6786 else
6787 # Broken: fails on valid input.
6788 continue
6790 rm -f conftest.err conftest.i conftest.$ac_ext
6792 # OK, works on sane cases. Now check whether nonexistent headers
6793 # can be detected and how.
6794 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6795 /* end confdefs.h. */
6796 #include <ac_nonexistent.h>
6797 _ACEOF
6798 if ac_fn_c_try_cpp "$LINENO"; then :
6799 # Broken: success on invalid input.
6800 continue
6801 else
6802 # Passes both tests.
6803 ac_preproc_ok=:
6804 break
6806 rm -f conftest.err conftest.i conftest.$ac_ext
6808 done
6809 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6810 rm -f conftest.i conftest.err conftest.$ac_ext
6811 if $ac_preproc_ok; then :
6812 break
6815 done
6816 ac_cv_prog_CPP=$CPP
6819 CPP=$ac_cv_prog_CPP
6820 else
6821 ac_cv_prog_CPP=$CPP
6823 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6824 $as_echo "$CPP" >&6; }
6825 ac_preproc_ok=false
6826 for ac_c_preproc_warn_flag in '' yes
6828 # Use a header file that comes with gcc, so configuring glibc
6829 # with a fresh cross-compiler works.
6830 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6831 # <limits.h> exists even on freestanding compilers.
6832 # On the NeXT, cc -E runs the code through the compiler's parser,
6833 # not just through cpp. "Syntax error" is here to catch this case.
6834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6835 /* end confdefs.h. */
6836 #ifdef __STDC__
6837 # include <limits.h>
6838 #else
6839 # include <assert.h>
6840 #endif
6841 Syntax error
6842 _ACEOF
6843 if ac_fn_c_try_cpp "$LINENO"; then :
6845 else
6846 # Broken: fails on valid input.
6847 continue
6849 rm -f conftest.err conftest.i conftest.$ac_ext
6851 # OK, works on sane cases. Now check whether nonexistent headers
6852 # can be detected and how.
6853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6854 /* end confdefs.h. */
6855 #include <ac_nonexistent.h>
6856 _ACEOF
6857 if ac_fn_c_try_cpp "$LINENO"; then :
6858 # Broken: success on invalid input.
6859 continue
6860 else
6861 # Passes both tests.
6862 ac_preproc_ok=:
6863 break
6865 rm -f conftest.err conftest.i conftest.$ac_ext
6867 done
6868 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6869 rm -f conftest.i conftest.err conftest.$ac_ext
6870 if $ac_preproc_ok; then :
6872 else
6873 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6874 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6875 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6876 See \`config.log' for more details" "$LINENO" 5; }
6879 ac_ext=c
6880 ac_cpp='$CPP $CPPFLAGS'
6881 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6882 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6883 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6886 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6887 $as_echo_n "checking for ANSI C header files... " >&6; }
6888 if ${ac_cv_header_stdc+:} false; then :
6889 $as_echo_n "(cached) " >&6
6890 else
6891 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6892 /* end confdefs.h. */
6893 #include <stdlib.h>
6894 #include <stdarg.h>
6895 #include <string.h>
6896 #include <float.h>
6899 main ()
6903 return 0;
6905 _ACEOF
6906 if ac_fn_c_try_compile "$LINENO"; then :
6907 ac_cv_header_stdc=yes
6908 else
6909 ac_cv_header_stdc=no
6911 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6913 if test $ac_cv_header_stdc = yes; then
6914 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6915 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6916 /* end confdefs.h. */
6917 #include <string.h>
6919 _ACEOF
6920 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6921 $EGREP "memchr" >/dev/null 2>&1; then :
6923 else
6924 ac_cv_header_stdc=no
6926 rm -f conftest*
6930 if test $ac_cv_header_stdc = yes; then
6931 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6933 /* end confdefs.h. */
6934 #include <stdlib.h>
6936 _ACEOF
6937 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6938 $EGREP "free" >/dev/null 2>&1; then :
6940 else
6941 ac_cv_header_stdc=no
6943 rm -f conftest*
6947 if test $ac_cv_header_stdc = yes; then
6948 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6949 if test "$cross_compiling" = yes; then :
6951 else
6952 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6953 /* end confdefs.h. */
6954 #include <ctype.h>
6955 #include <stdlib.h>
6956 #if ((' ' & 0x0FF) == 0x020)
6957 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6958 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6959 #else
6960 # define ISLOWER(c) \
6961 (('a' <= (c) && (c) <= 'i') \
6962 || ('j' <= (c) && (c) <= 'r') \
6963 || ('s' <= (c) && (c) <= 'z'))
6964 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6965 #endif
6967 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6969 main ()
6971 int i;
6972 for (i = 0; i < 256; i++)
6973 if (XOR (islower (i), ISLOWER (i))
6974 || toupper (i) != TOUPPER (i))
6975 return 2;
6976 return 0;
6978 _ACEOF
6979 if ac_fn_c_try_run "$LINENO"; then :
6981 else
6982 ac_cv_header_stdc=no
6984 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6985 conftest.$ac_objext conftest.beam conftest.$ac_ext
6990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6991 $as_echo "$ac_cv_header_stdc" >&6; }
6992 if test $ac_cv_header_stdc = yes; then
6994 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
6998 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
6999 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7000 inttypes.h stdint.h unistd.h
7001 do :
7002 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7003 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7005 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7006 cat >>confdefs.h <<_ACEOF
7007 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7008 _ACEOF
7012 done
7015 for ac_header in \
7016 AL/al.h \
7017 ApplicationServices/ApplicationServices.h \
7018 AudioToolbox/AudioConverter.h \
7019 AudioUnit/AudioUnit.h \
7020 AudioUnit/AudioComponent.h \
7021 CL/cl.h \
7022 Carbon/Carbon.h \
7023 CommonCrypto/CommonCryptor.h \
7024 CoreAudio/CoreAudio.h \
7025 CoreServices/CoreServices.h \
7026 DiskArbitration/DiskArbitration.h \
7027 EGL/egl.h \
7028 IOKit/IOKitLib.h \
7029 IOKit/hid/IOHIDLib.h \
7030 OpenAL/al.h \
7031 OpenCL/opencl.h \
7032 QuickTime/ImageCompression.h \
7033 Security/Security.h \
7034 alias.h \
7035 alsa/asoundlib.h \
7036 arpa/inet.h \
7037 arpa/nameser.h \
7038 asm/types.h \
7039 asm/user.h \
7040 curses.h \
7041 direct.h \
7042 dirent.h \
7043 dlfcn.h \
7044 elf.h \
7045 float.h \
7046 fnmatch.h \
7047 getopt.h \
7048 gettext-po.h \
7049 grp.h \
7050 gsm.h \
7051 gsm/gsm.h \
7052 ieeefp.h \
7053 inet/mib2.h \
7054 io.h \
7055 kstat.h \
7056 libproc.h \
7057 link.h \
7058 linux/cdrom.h \
7059 linux/compiler.h \
7060 linux/filter.h \
7061 linux/hdreg.h \
7062 linux/hidraw.h \
7063 linux/input.h \
7064 linux/ioctl.h \
7065 linux/joystick.h \
7066 linux/major.h \
7067 linux/param.h \
7068 linux/serial.h \
7069 linux/types.h \
7070 linux/ucdrom.h \
7071 lwp.h \
7072 mach-o/nlist.h \
7073 mach-o/loader.h \
7074 mach/mach.h \
7075 mach/machine.h \
7076 machine/cpu.h \
7077 machine/limits.h \
7078 machine/sysarch.h \
7079 mntent.h \
7080 ncurses.h \
7081 netdb.h \
7082 netinet/in.h \
7083 netinet/in_systm.h \
7084 netinet/tcp.h \
7085 netinet/tcp_fsm.h \
7086 pcap/pcap.h \
7087 poll.h \
7088 port.h \
7089 process.h \
7090 pthread.h \
7091 pwd.h \
7092 sched.h \
7093 scsi/scsi.h \
7094 scsi/scsi_ioctl.h \
7095 scsi/sg.h \
7096 stdbool.h \
7097 stdint.h \
7098 stropts.h \
7099 sys/asoundlib.h \
7100 sys/attr.h \
7101 sys/auxv.h \
7102 sys/cdio.h \
7103 sys/elf32.h \
7104 sys/epoll.h \
7105 sys/event.h \
7106 sys/exec_elf.h \
7107 sys/filio.h \
7108 sys/inotify.h \
7109 sys/ioctl.h \
7110 sys/ipc.h \
7111 sys/limits.h \
7112 sys/link.h \
7113 sys/mman.h \
7114 sys/modem.h \
7115 sys/msg.h \
7116 sys/mtio.h \
7117 sys/param.h \
7118 sys/poll.h \
7119 sys/prctl.h \
7120 sys/protosw.h \
7121 sys/ptrace.h \
7122 sys/queue.h \
7123 sys/resource.h \
7124 sys/scsiio.h \
7125 sys/shm.h \
7126 sys/signal.h \
7127 sys/socket.h \
7128 sys/socketvar.h \
7129 sys/sockio.h \
7130 sys/statvfs.h \
7131 sys/strtio.h \
7132 sys/syscall.h \
7133 sys/sysinfo.h \
7134 sys/tihdr.h \
7135 sys/time.h \
7136 sys/timeout.h \
7137 sys/times.h \
7138 sys/uio.h \
7139 sys/user.h \
7140 sys/utsname.h \
7141 sys/vnode.h \
7142 sys/wait.h \
7143 syscall.h \
7144 termios.h \
7145 unistd.h \
7146 utime.h \
7147 valgrind/memcheck.h \
7148 valgrind/valgrind.h \
7149 zlib.h
7151 do :
7152 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7153 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7154 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7155 cat >>confdefs.h <<_ACEOF
7156 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7157 _ACEOF
7161 done
7163 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7164 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7166 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7171 if test $ac_cv_header_sys_mkdev_h = no; then
7172 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7173 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7175 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7182 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7183 if ${ac_cv_header_stat_broken+:} false; then :
7184 $as_echo_n "(cached) " >&6
7185 else
7186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7187 /* end confdefs.h. */
7188 #include <sys/types.h>
7189 #include <sys/stat.h>
7191 #if defined S_ISBLK && defined S_IFDIR
7192 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7193 #endif
7195 #if defined S_ISBLK && defined S_IFCHR
7196 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7197 #endif
7199 #if defined S_ISLNK && defined S_IFREG
7200 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7201 #endif
7203 #if defined S_ISSOCK && defined S_IFREG
7204 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7205 #endif
7207 _ACEOF
7208 if ac_fn_c_try_compile "$LINENO"; then :
7209 ac_cv_header_stat_broken=no
7210 else
7211 ac_cv_header_stat_broken=yes
7213 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7216 $as_echo "$ac_cv_header_stat_broken" >&6; }
7217 if test $ac_cv_header_stat_broken = yes; then
7219 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7225 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
7226 do :
7227 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7228 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7229 #ifdef HAVE_SYS_PARAM_H
7230 # include <sys/param.h>
7231 #endif
7233 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7234 cat >>confdefs.h <<_ACEOF
7235 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7236 _ACEOF
7240 done
7243 for ac_header in \
7244 netinet/ip.h \
7245 net/if.h \
7246 net/if_arp.h \
7247 net/if_dl.h \
7248 net/if_types.h \
7249 net/route.h \
7250 netinet/if_ether.h \
7251 netinet/if_inarp.h \
7252 netinet/in_pcb.h \
7253 netinet/ip_icmp.h \
7254 netinet/ip_var.h \
7255 netinet/udp.h \
7256 netipx/ipx.h \
7257 sys/un.h \
7259 do :
7260 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7261 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7262 #ifdef HAVE_SYS_SOCKET_H
7263 # include <sys/socket.h>
7264 #endif
7265 #ifdef HAVE_SYS_SOCKETVAR_H
7266 # include <sys/socketvar.h>
7267 #endif
7268 #ifdef HAVE_NET_ROUTE_H
7269 # include <net/route.h>
7270 #endif
7271 #ifdef HAVE_NETINET_IN_H
7272 # include <netinet/in.h>
7273 #endif
7274 #ifdef HAVE_NETINET_IN_SYSTM_H
7275 # include <netinet/in_systm.h>
7276 #endif
7277 #ifdef HAVE_NET_IF_H
7278 # include <net/if.h>
7279 #endif
7280 #ifdef HAVE_NETINET_IP_H
7281 # include <netinet/ip.h>
7282 #endif
7284 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7285 cat >>confdefs.h <<_ACEOF
7286 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7287 _ACEOF
7291 done
7294 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7295 do :
7296 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7297 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7298 #ifdef HAVE_ALIAS_H
7299 # include <alias.h>
7300 #endif
7301 #ifdef HAVE_SYS_SOCKET_H
7302 # include <sys/socket.h>
7303 #endif
7304 #ifdef HAVE_SYS_SOCKETVAR_H
7305 # include <sys/socketvar.h>
7306 #endif
7307 #ifdef HAVE_SYS_TIMEOUT_H
7308 # include <sys/timeout.h>
7309 #endif
7310 #ifdef HAVE_NETINET_IN_H
7311 # include <netinet/in.h>
7312 #endif
7313 #ifdef HAVE_NETINET_IN_SYSTM_H
7314 # include <netinet/in_systm.h>
7315 #endif
7316 #ifdef HAVE_NETINET_IP_H
7317 # include <netinet/ip.h>
7318 #endif
7319 #ifdef HAVE_NETINET_IP_VAR_H
7320 # include <netinet/ip_var.h>
7321 #endif
7322 #ifdef HAVE_NETINET_IP_ICMP_H
7323 # include <netinet/ip_icmp.h>
7324 #endif
7325 #ifdef HAVE_NETINET_UDP_H
7326 # include <netinet/udp.h>
7327 #endif
7328 #ifdef HAVE_NETINET_TCP_H
7329 # include <netinet/tcp.h>
7330 #endif
7331 #ifdef HAVE_NETINET_TCP_TIMER_H
7332 #include <netinet/tcp_timer.h>
7333 #endif
7335 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7336 cat >>confdefs.h <<_ACEOF
7337 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7338 _ACEOF
7342 done
7345 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7346 do :
7347 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7348 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7349 #ifdef HAVE_ASM_TYPES_H
7350 # include <asm/types.h>
7351 #endif
7352 #ifdef HAVE_SYS_SOCKET_H
7353 # include <sys/socket.h>
7354 #endif
7355 #ifdef HAVE_LINUX_TYPES_H
7356 # include <linux/types.h>
7357 #endif
7359 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7360 cat >>confdefs.h <<_ACEOF
7361 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7362 _ACEOF
7366 done
7369 for ac_header in mach-o/dyld_images.h
7370 do :
7371 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7372 # include <stdbool.h>
7373 #endif
7374 #ifdef HAVE_STDINT_H
7375 # include <stdint.h>
7376 #endif
7378 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7379 cat >>confdefs.h <<_ACEOF
7380 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7381 _ACEOF
7385 done
7388 for ac_header in resolv.h
7389 do :
7390 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7391 #ifdef HAVE_SYS_SOCKET_H
7392 # include <sys/socket.h>
7393 #endif
7394 #ifdef HAVE_NETINET_IN_H
7395 # include <netinet/in.h>
7396 #endif
7397 #ifdef HAVE_ARPA_NAMESER_H
7398 # include <arpa/nameser.h>
7399 #endif
7401 if test "x$ac_cv_header_resolv_h" = xyes; then :
7402 cat >>confdefs.h <<_ACEOF
7403 #define HAVE_RESOLV_H 1
7404 _ACEOF
7408 done
7411 for ac_header in ifaddrs.h
7412 do :
7413 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7415 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7416 cat >>confdefs.h <<_ACEOF
7417 #define HAVE_IFADDRS_H 1
7418 _ACEOF
7422 done
7425 for ac_header in sys/ucontext.h
7426 do :
7427 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7429 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7430 cat >>confdefs.h <<_ACEOF
7431 #define HAVE_SYS_UCONTEXT_H 1
7432 _ACEOF
7436 done
7439 for ac_header in sys/thr.h
7440 do :
7441 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7442 #ifdef HAVE_SYS_UCONTEXT_H
7443 #include <sys/ucontext.h>
7444 #endif
7446 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7447 cat >>confdefs.h <<_ACEOF
7448 #define HAVE_SYS_THR_H 1
7449 _ACEOF
7453 done
7456 for ac_header in pthread_np.h
7457 do :
7458 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7459 #include <pthread.h>
7460 #endif
7462 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7463 cat >>confdefs.h <<_ACEOF
7464 #define HAVE_PTHREAD_NP_H 1
7465 _ACEOF
7469 done
7472 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7473 do :
7474 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7475 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7476 #include <sys/time.h>
7477 #endif
7478 #include <sys/types.h>
7479 #ifdef HAVE_ASM_TYPES_H
7480 #include <asm/types.h>
7481 #endif
7483 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7484 cat >>confdefs.h <<_ACEOF
7485 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7486 _ACEOF
7490 done
7493 for ac_header in libprocstat.h
7494 do :
7495 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7496 #include <sys/param.h>
7497 #endif
7498 #ifdef HAVE_SYS_QUEUE_H
7499 #include <sys/queue.h>
7500 #endif
7501 #ifdef HAVE_SYS_SOCKET_H
7502 #include <sys/socket.h>
7503 #endif
7505 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7506 cat >>confdefs.h <<_ACEOF
7507 #define HAVE_LIBPROCSTAT_H 1
7508 _ACEOF
7512 done
7516 DLLFLAGS="-D_REENTRANT"
7518 LDRPATH_INSTALL=""
7520 LDRPATH_LOCAL=""
7522 LDEXECFLAGS=""
7524 WINELOADER_LDFLAGS=""
7526 LIBEXT="so"
7527 DLLEXT=".so"
7528 IMPLIBEXT="def"
7529 # Extract the first word of "ldd", so it can be a program name with args.
7530 set dummy ldd; ac_word=$2
7531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7532 $as_echo_n "checking for $ac_word... " >&6; }
7533 if ${ac_cv_path_LDD+:} false; then :
7534 $as_echo_n "(cached) " >&6
7535 else
7536 case $LDD in
7537 [\\/]* | ?:[\\/]*)
7538 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7541 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7542 as_dummy="/sbin:/usr/sbin:$PATH"
7543 for as_dir in $as_dummy
7545 IFS=$as_save_IFS
7546 test -z "$as_dir" && as_dir=.
7547 for ac_exec_ext in '' $ac_executable_extensions; do
7548 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7549 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7550 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7551 break 2
7553 done
7554 done
7555 IFS=$as_save_IFS
7557 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7559 esac
7561 LDD=$ac_cv_path_LDD
7562 if test -n "$LDD"; then
7563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7564 $as_echo "$LDD" >&6; }
7565 else
7566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7567 $as_echo "no" >&6; }
7571 if test -n "$ac_tool_prefix"; then
7572 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7573 set dummy ${ac_tool_prefix}otool; ac_word=$2
7574 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7575 $as_echo_n "checking for $ac_word... " >&6; }
7576 if ${ac_cv_prog_OTOOL+:} false; then :
7577 $as_echo_n "(cached) " >&6
7578 else
7579 if test -n "$OTOOL"; then
7580 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7581 else
7582 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7583 for as_dir in $PATH
7585 IFS=$as_save_IFS
7586 test -z "$as_dir" && as_dir=.
7587 for ac_exec_ext in '' $ac_executable_extensions; do
7588 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7589 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7590 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7591 break 2
7593 done
7594 done
7595 IFS=$as_save_IFS
7599 OTOOL=$ac_cv_prog_OTOOL
7600 if test -n "$OTOOL"; then
7601 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7602 $as_echo "$OTOOL" >&6; }
7603 else
7604 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7605 $as_echo "no" >&6; }
7610 if test -z "$ac_cv_prog_OTOOL"; then
7611 ac_ct_OTOOL=$OTOOL
7612 # Extract the first word of "otool", so it can be a program name with args.
7613 set dummy otool; ac_word=$2
7614 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7615 $as_echo_n "checking for $ac_word... " >&6; }
7616 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7617 $as_echo_n "(cached) " >&6
7618 else
7619 if test -n "$ac_ct_OTOOL"; then
7620 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7621 else
7622 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7623 for as_dir in $PATH
7625 IFS=$as_save_IFS
7626 test -z "$as_dir" && as_dir=.
7627 for ac_exec_ext in '' $ac_executable_extensions; do
7628 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7629 ac_cv_prog_ac_ct_OTOOL="otool"
7630 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7631 break 2
7633 done
7634 done
7635 IFS=$as_save_IFS
7639 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7640 if test -n "$ac_ct_OTOOL"; then
7641 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7642 $as_echo "$ac_ct_OTOOL" >&6; }
7643 else
7644 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7645 $as_echo "no" >&6; }
7648 if test "x$ac_ct_OTOOL" = x; then
7649 OTOOL="otool"
7650 else
7651 case $cross_compiling:$ac_tool_warned in
7652 yes:)
7653 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7654 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7655 ac_tool_warned=yes ;;
7656 esac
7657 OTOOL=$ac_ct_OTOOL
7659 else
7660 OTOOL="$ac_cv_prog_OTOOL"
7663 if test -n "$ac_tool_prefix"; then
7664 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7665 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7666 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7667 $as_echo_n "checking for $ac_word... " >&6; }
7668 if ${ac_cv_prog_READELF+:} false; then :
7669 $as_echo_n "(cached) " >&6
7670 else
7671 if test -n "$READELF"; then
7672 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7673 else
7674 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7675 for as_dir in $PATH
7677 IFS=$as_save_IFS
7678 test -z "$as_dir" && as_dir=.
7679 for ac_exec_ext in '' $ac_executable_extensions; do
7680 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7681 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7682 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7683 break 2
7685 done
7686 done
7687 IFS=$as_save_IFS
7691 READELF=$ac_cv_prog_READELF
7692 if test -n "$READELF"; then
7693 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7694 $as_echo "$READELF" >&6; }
7695 else
7696 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7697 $as_echo "no" >&6; }
7702 if test -z "$ac_cv_prog_READELF"; then
7703 ac_ct_READELF=$READELF
7704 # Extract the first word of "readelf", so it can be a program name with args.
7705 set dummy readelf; ac_word=$2
7706 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7707 $as_echo_n "checking for $ac_word... " >&6; }
7708 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7709 $as_echo_n "(cached) " >&6
7710 else
7711 if test -n "$ac_ct_READELF"; then
7712 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7713 else
7714 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7715 for as_dir in $PATH
7717 IFS=$as_save_IFS
7718 test -z "$as_dir" && as_dir=.
7719 for ac_exec_ext in '' $ac_executable_extensions; do
7720 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7721 ac_cv_prog_ac_ct_READELF="readelf"
7722 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7723 break 2
7725 done
7726 done
7727 IFS=$as_save_IFS
7731 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7732 if test -n "$ac_ct_READELF"; then
7733 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7734 $as_echo "$ac_ct_READELF" >&6; }
7735 else
7736 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7737 $as_echo "no" >&6; }
7740 if test "x$ac_ct_READELF" = x; then
7741 READELF="true"
7742 else
7743 case $cross_compiling:$ac_tool_warned in
7744 yes:)
7745 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7746 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7747 ac_tool_warned=yes ;;
7748 esac
7749 READELF=$ac_ct_READELF
7751 else
7752 READELF="$ac_cv_prog_READELF"
7755 wine_rules_file=conf$$rules.make
7756 rm -f $wine_rules_file
7757 SUBDIRS=""
7759 DISABLED_SUBDIRS=""
7761 CONFIGURE_TARGETS=""
7764 wine_fn_append_file ()
7766 as_fn_append $1 " \\$as_nl $2"
7769 wine_fn_append_rule ()
7771 $as_echo "$1" >>$wine_rules_file
7774 wine_fn_config_makefile ()
7776 wine_fn_append_file SUBDIRS $1
7777 if eval test \"x\$"$2"\" = x"no"; then :
7778 wine_fn_append_file DISABLED_SUBDIRS $1
7782 wine_fn_config_symlink ()
7784 ac_links=$@
7785 wine_fn_append_rule \
7786 "$ac_links:
7787 @./config.status \$@"
7788 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
7791 wine_binary="wine"
7792 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7793 WINELOADER_PROGRAMS="$wine_binary"
7795 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7797 case $host_os in
7798 cygwin*|mingw32*)
7799 if test -n "$ac_tool_prefix"; then
7800 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7801 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7802 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7803 $as_echo_n "checking for $ac_word... " >&6; }
7804 if ${ac_cv_prog_DLLTOOL+:} false; then :
7805 $as_echo_n "(cached) " >&6
7806 else
7807 if test -n "$DLLTOOL"; then
7808 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7809 else
7810 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7811 for as_dir in $PATH
7813 IFS=$as_save_IFS
7814 test -z "$as_dir" && as_dir=.
7815 for ac_exec_ext in '' $ac_executable_extensions; do
7816 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7817 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7818 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7819 break 2
7821 done
7822 done
7823 IFS=$as_save_IFS
7827 DLLTOOL=$ac_cv_prog_DLLTOOL
7828 if test -n "$DLLTOOL"; then
7829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7830 $as_echo "$DLLTOOL" >&6; }
7831 else
7832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7833 $as_echo "no" >&6; }
7838 if test -z "$ac_cv_prog_DLLTOOL"; then
7839 ac_ct_DLLTOOL=$DLLTOOL
7840 # Extract the first word of "dlltool", so it can be a program name with args.
7841 set dummy dlltool; ac_word=$2
7842 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7843 $as_echo_n "checking for $ac_word... " >&6; }
7844 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7845 $as_echo_n "(cached) " >&6
7846 else
7847 if test -n "$ac_ct_DLLTOOL"; then
7848 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7849 else
7850 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7851 for as_dir in $PATH
7853 IFS=$as_save_IFS
7854 test -z "$as_dir" && as_dir=.
7855 for ac_exec_ext in '' $ac_executable_extensions; do
7856 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7857 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7858 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7859 break 2
7861 done
7862 done
7863 IFS=$as_save_IFS
7867 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7868 if test -n "$ac_ct_DLLTOOL"; then
7869 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7870 $as_echo "$ac_ct_DLLTOOL" >&6; }
7871 else
7872 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7873 $as_echo "no" >&6; }
7876 if test "x$ac_ct_DLLTOOL" = x; then
7877 DLLTOOL="false"
7878 else
7879 case $cross_compiling:$ac_tool_warned in
7880 yes:)
7881 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7882 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7883 ac_tool_warned=yes ;;
7884 esac
7885 DLLTOOL=$ac_ct_DLLTOOL
7887 else
7888 DLLTOOL="$ac_cv_prog_DLLTOOL"
7891 LIBEXT="dll"
7892 DLLEXT=""
7893 IMPLIBEXT="a"
7894 enable_iphlpapi=${enable_iphlpapi:-no}
7895 enable_kernel32=${enable_kernel32:-no}
7896 enable_msvcrt=${enable_msvcrt:-no}
7897 enable_ntdll=${enable_ntdll:-no}
7898 enable_ws2_32=${enable_ws2_32:-no}
7899 enable_loader=${enable_loader:-no}
7900 enable_server=${enable_server:-no}
7901 with_x=${with_x:-no}
7902 with_pthread=${with_pthread:-no}
7904 crtlibs=""
7905 case $host_os in
7906 mingw32*)
7907 crtlibs="-lmsvcrt"
7908 SOCKET_LIBS="-lws2_32"
7910 esac
7912 LIBWINE_SHAREDLIB="libwine.dll"
7914 LIBWINE_IMPORTLIB="libwine.a"
7916 LIBWINE_INSTALL_LIB="libwine.dll"
7918 LIBWINE_INSTALL_DEV="libwine.a"
7920 LIBWINE_LDFLAGS="-shared \$(srcdir)/wine.def"
7922 LIBWINE_DEPENDS="wine.def"
7926 darwin*|macosx*)
7927 for ac_header in libunwind.h
7928 do :
7929 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
7930 if test "x$ac_cv_header_libunwind_h" = xyes; then :
7931 cat >>confdefs.h <<_ACEOF
7932 #define HAVE_LIBUNWIND_H 1
7933 _ACEOF
7937 done
7939 LIBEXT="dylib"
7940 DLLFLAGS="$DLLFLAGS -fPIC"
7941 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
7942 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7943 COREFOUNDATION_LIBS="-framework CoreFoundation"
7945 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
7947 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
7949 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
7951 CORESERVICES_LIBS="-framework CoreServices"
7953 APPKIT_LIBS="-framework AppKit"
7955 WINELOADER_LDFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
7956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
7957 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
7958 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
7959 $as_echo_n "(cached) " >&6
7960 else
7961 ac_wine_try_cflags_saved=$CFLAGS
7962 CFLAGS="$CFLAGS -Wl,-no_pie"
7963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7964 /* end confdefs.h. */
7965 int main(int argc, char **argv) { return 0; }
7966 _ACEOF
7967 if ac_fn_c_try_link "$LINENO"; then :
7968 ac_cv_cflags__Wl__no_pie=yes
7969 else
7970 ac_cv_cflags__Wl__no_pie=no
7972 rm -f core conftest.err conftest.$ac_objext \
7973 conftest$ac_exeext conftest.$ac_ext
7974 CFLAGS=$ac_wine_try_cflags_saved
7976 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
7977 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
7978 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
7979 WINELOADER_LDFLAGS="-Wl,-no_pie $WINELOADER_LDFLAGS"
7981 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
7982 then
7983 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
7986 if test "$ac_cv_header_Security_Security_h" = "yes"
7987 then
7988 SECURITY_LIBS="-framework Security -framework CoreFoundation"
7990 ac_save_LIBS="$LIBS"
7991 LIBS="$LIBS $SECURITY_LIBS"
7992 for ac_func in SSLCopyPeerCertificates
7993 do :
7994 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
7995 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
7996 cat >>confdefs.h <<_ACEOF
7997 #define HAVE_SSLCOPYPEERCERTIFICATES 1
7998 _ACEOF
8001 done
8003 LIBS="$ac_save_LIBS"
8004 with_gnutls=${with_gnutls:-no}
8006 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8007 then
8008 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8009 then
8010 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8012 else
8013 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8016 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8017 ac_save_LIBS="$LIBS"
8018 LIBS="$LIBS $COREAUDIO_LIBS"
8019 for ac_func in AUGraphAddNode
8020 do :
8021 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8022 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8023 cat >>confdefs.h <<_ACEOF
8024 #define HAVE_AUGRAPHADDNODE 1
8025 _ACEOF
8028 done
8030 LIBS="$ac_save_LIBS"
8032 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8033 then
8034 OPENAL_LIBS="-framework OpenAL"
8037 cat >>confdefs.h <<_ACEOF
8038 #define HAVE_OPENAL 1
8039 _ACEOF
8041 ac_cv_lib_openal=yes
8043 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8044 then
8045 OPENCL_LIBS="-framework OpenCL"
8047 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8049 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8050 then
8051 ac_save_LIBS="$LIBS"
8052 LIBS="$LIBS $IOKIT_LIBS"
8053 for ac_func in IOHIDManagerCreate
8054 do :
8055 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8056 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8057 cat >>confdefs.h <<_ACEOF
8058 #define HAVE_IOHIDMANAGERCREATE 1
8059 _ACEOF
8062 done
8064 LIBS="$ac_save_LIBS"
8066 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8067 then
8068 ac_save_LIBS="$LIBS"
8069 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8070 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8071 $as_echo_n "checking for the QuickTime framework... " >&6; }
8072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8073 /* end confdefs.h. */
8074 #include <QuickTime/ImageCompression.h>
8076 main ()
8078 CodecManagerVersion(NULL);
8080 return 0;
8082 _ACEOF
8083 if ac_fn_c_try_link "$LINENO"; then :
8084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8085 $as_echo "yes" >&6; }
8086 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8088 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8089 else
8090 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8091 $as_echo "no" >&6; }
8092 ac_cv_header_QuickTime_ImageCompression_h=no
8094 rm -f core conftest.err conftest.$ac_objext \
8095 conftest$ac_exeext conftest.$ac_ext
8096 LIBS="$ac_save_LIBS"
8098 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8099 then
8100 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8102 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8103 then
8104 CARBON_LIBS="-framework Carbon"
8108 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8109 then
8110 ac_save_LIBS="$LIBS"
8111 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8112 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8113 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8114 enable_winemac_drv=${enable_winemac_drv:-yes}
8117 LIBS="$ac_save_LIBS"
8120 if test "x$enable_win16" = "xyes"
8121 then
8122 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8123 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8124 if test "$cross_compiling" = yes; then :
8125 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8126 $as_echo "cross-compiling, assuming yes" >&6; }
8127 else
8128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8129 /* end confdefs.h. */
8130 asm(".text\n"
8131 "bad:\tnop;nop\n"
8132 "good:\tnop;nop\n\t"
8133 ".globl _testfunc\n"
8134 "_testfunc:\tcallw good");
8135 extern void testfunc();
8137 main ()
8139 unsigned short *p = (unsigned short *)testfunc;
8140 return p[0] != 0xe866 || p[1] != 0xfffa
8142 return 0;
8144 _ACEOF
8145 if ac_fn_c_try_run "$LINENO"; then :
8146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8147 $as_echo "yes" >&6; }
8148 else
8149 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8150 $as_echo "no" >&6; }
8151 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
8153 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8154 conftest.$ac_objext conftest.beam conftest.$ac_ext
8159 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
8161 LIBWINE_INSTALL_LIB="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8163 LIBWINE_INSTALL_DEV="libwine.dylib"
8165 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8167 WINELOADER_DEPENDS="wine_info.plist"
8171 linux-android*)
8172 DLLFLAGS="$DLLFLAGS -fPIC"
8173 LDEXECFLAGS="-Wl,-pie"
8174 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
8175 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8176 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8177 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8178 $as_echo_n "(cached) " >&6
8179 else
8180 ac_wine_try_cflags_saved=$CFLAGS
8181 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8182 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8183 /* end confdefs.h. */
8184 int main(int argc, char **argv) { return 0; }
8185 _ACEOF
8186 if ac_fn_c_try_link "$LINENO"; then :
8187 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8188 else
8189 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8191 rm -f core conftest.err conftest.$ac_objext \
8192 conftest$ac_exeext conftest.$ac_ext
8193 CFLAGS=$ac_wine_try_cflags_saved
8195 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8196 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8197 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8198 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
8200 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8201 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8202 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8203 if eval \${$as_ac_var+:} false; then :
8204 $as_echo_n "(cached) " >&6
8205 else
8206 ac_wine_try_cflags_saved=$CFLAGS
8207 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8208 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8209 /* end confdefs.h. */
8210 int main(int argc, char **argv) { return 0; }
8211 _ACEOF
8212 if ac_fn_c_try_link "$LINENO"; then :
8213 eval "$as_ac_var=yes"
8214 else
8215 eval "$as_ac_var=no"
8217 rm -f core conftest.err conftest.$ac_objext \
8218 conftest$ac_exeext conftest.$ac_ext
8219 CFLAGS=$ac_wine_try_cflags_saved
8221 eval ac_res=\$$as_ac_var
8222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8223 $as_echo "$ac_res" >&6; }
8224 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8225 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8226 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8227 else
8228 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8229 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8230 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8231 if eval \${$as_ac_var+:} false; then :
8232 $as_echo_n "(cached) " >&6
8233 else
8234 ac_wine_try_cflags_saved=$CFLAGS
8235 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8236 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8237 /* end confdefs.h. */
8238 int main(int argc, char **argv) { return 0; }
8239 _ACEOF
8240 if ac_fn_c_try_link "$LINENO"; then :
8241 eval "$as_ac_var=yes"
8242 else
8243 eval "$as_ac_var=no"
8245 rm -f core conftest.err conftest.$ac_objext \
8246 conftest$ac_exeext conftest.$ac_ext
8247 CFLAGS=$ac_wine_try_cflags_saved
8249 eval ac_res=\$$as_ac_var
8250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8251 $as_echo "$ac_res" >&6; }
8252 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8253 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8254 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8257 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8258 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8259 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8260 $as_echo_n "(cached) " >&6
8261 else
8262 ac_wine_try_cflags_saved=$CFLAGS
8263 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8264 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8265 /* end confdefs.h. */
8266 int main(int argc, char **argv) { return 0; }
8267 _ACEOF
8268 if ac_fn_c_try_link "$LINENO"; then :
8269 ac_cv_cflags__Wl___enable_new_dtags=yes
8270 else
8271 ac_cv_cflags__Wl___enable_new_dtags=no
8273 rm -f core conftest.err conftest.$ac_objext \
8274 conftest$ac_exeext conftest.$ac_ext
8275 CFLAGS=$ac_wine_try_cflags_saved
8277 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8278 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8279 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8280 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8283 LIBWINE_SHAREDLIB="libwine.so"
8285 LIBWINE_INSTALL_LIB="libwine.so"
8287 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
8290 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
8291 $as_echo_n "checking for -lEGL... " >&6; }
8292 if ${ac_cv_lib_soname_EGL+:} false; then :
8293 $as_echo_n "(cached) " >&6
8294 else
8295 ac_check_soname_save_LIBS=$LIBS
8296 LIBS="-lEGL $LIBS"
8297 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8298 /* end confdefs.h. */
8300 /* Override any GCC internal prototype to avoid an error.
8301 Use char because int might match the return type of a GCC
8302 builtin and then its argument prototype would still apply. */
8303 #ifdef __cplusplus
8304 extern "C"
8305 #endif
8306 char eglGetProcAddress ();
8308 main ()
8310 return eglGetProcAddress ();
8312 return 0;
8314 _ACEOF
8315 if ac_fn_c_try_link "$LINENO"; then :
8316 case "$LIBEXT" in
8317 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8318 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'` ;;
8319 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8320 if ${ac_cv_lib_soname_EGL:+false} :; then :
8321 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8322 fi ;;
8323 esac
8325 rm -f core conftest.err conftest.$ac_objext \
8326 conftest$ac_exeext conftest.$ac_ext
8327 LIBS=$ac_check_soname_save_LIBS
8329 if ${ac_cv_lib_soname_EGL:+false} :; then :
8330 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8331 $as_echo "not found" >&6; }
8333 else
8334 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
8335 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
8337 cat >>confdefs.h <<_ACEOF
8338 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
8339 _ACEOF
8343 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
8344 $as_echo_n "checking for -lGLESv2... " >&6; }
8345 if ${ac_cv_lib_soname_GLESv2+:} false; then :
8346 $as_echo_n "(cached) " >&6
8347 else
8348 ac_check_soname_save_LIBS=$LIBS
8349 LIBS="-lGLESv2 $LIBS"
8350 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8351 /* end confdefs.h. */
8353 /* Override any GCC internal prototype to avoid an error.
8354 Use char because int might match the return type of a GCC
8355 builtin and then its argument prototype would still apply. */
8356 #ifdef __cplusplus
8357 extern "C"
8358 #endif
8359 char glFlush ();
8361 main ()
8363 return glFlush ();
8365 return 0;
8367 _ACEOF
8368 if ac_fn_c_try_link "$LINENO"; then :
8369 case "$LIBEXT" in
8370 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8371 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'` ;;
8372 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8373 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
8374 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8375 fi ;;
8376 esac
8378 rm -f core conftest.err conftest.$ac_objext \
8379 conftest$ac_exeext conftest.$ac_ext
8380 LIBS=$ac_check_soname_save_LIBS
8382 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
8383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8384 $as_echo "not found" >&6; }
8386 else
8387 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
8388 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
8390 cat >>confdefs.h <<_ACEOF
8391 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
8392 _ACEOF
8397 if test "x$exec_prefix" = xNONE
8398 then
8399 case $host_cpu in
8400 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
8401 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
8402 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
8403 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
8404 esac
8409 DLLFLAGS="$DLLFLAGS -fPIC"
8410 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8411 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8412 if ${ac_cv_c_dll_gnuelf+:} false; then :
8413 $as_echo_n "(cached) " >&6
8414 else
8415 ac_wine_try_cflags_saved=$CFLAGS
8416 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8417 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8418 /* end confdefs.h. */
8419 void myfunc() {}
8420 _ACEOF
8421 if ac_fn_c_try_link "$LINENO"; then :
8422 ac_cv_c_dll_gnuelf="yes"
8423 else
8424 ac_cv_c_dll_gnuelf="no"
8426 rm -f core conftest.err conftest.$ac_objext \
8427 conftest$ac_exeext conftest.$ac_ext
8428 CFLAGS=$ac_wine_try_cflags_saved
8430 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8431 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8432 if test "$ac_cv_c_dll_gnuelf" = "yes"
8433 then
8434 LIBWINE_LDFLAGS="-shared"
8435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8436 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8437 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8438 $as_echo_n "(cached) " >&6
8439 else
8440 ac_wine_try_cflags_saved=$CFLAGS
8441 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8443 /* end confdefs.h. */
8444 int main(int argc, char **argv) { return 0; }
8445 _ACEOF
8446 if ac_fn_c_try_link "$LINENO"; then :
8447 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8448 else
8449 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8451 rm -f core conftest.err conftest.$ac_objext \
8452 conftest$ac_exeext conftest.$ac_ext
8453 CFLAGS=$ac_wine_try_cflags_saved
8455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8456 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8457 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8458 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
8459 else
8460 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8461 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8462 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8463 $as_echo_n "(cached) " >&6
8464 else
8465 ac_wine_try_cflags_saved=$CFLAGS
8466 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8467 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8468 /* end confdefs.h. */
8469 int main(int argc, char **argv) { return 0; }
8470 _ACEOF
8471 if ac_fn_c_try_link "$LINENO"; then :
8472 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8473 else
8474 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8476 rm -f core conftest.err conftest.$ac_objext \
8477 conftest$ac_exeext conftest.$ac_ext
8478 CFLAGS=$ac_wine_try_cflags_saved
8480 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8481 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8482 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8483 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
8487 echo '{ global: *; };' >conftest.map
8488 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8489 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8490 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8491 $as_echo_n "(cached) " >&6
8492 else
8493 ac_wine_try_cflags_saved=$CFLAGS
8494 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8495 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8496 /* end confdefs.h. */
8497 int main(int argc, char **argv) { return 0; }
8498 _ACEOF
8499 if ac_fn_c_try_link "$LINENO"; then :
8500 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8501 else
8502 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8504 rm -f core conftest.err conftest.$ac_objext \
8505 conftest$ac_exeext conftest.$ac_ext
8506 CFLAGS=$ac_wine_try_cflags_saved
8508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8509 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8510 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8511 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
8513 rm -f conftest.map
8515 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8516 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8517 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8518 $as_echo_n "(cached) " >&6
8519 else
8520 ac_wine_try_cflags_saved=$CFLAGS
8521 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8522 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8523 /* end confdefs.h. */
8524 int main(int argc, char **argv) { return 0; }
8525 _ACEOF
8526 if ac_fn_c_try_link "$LINENO"; then :
8527 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8528 else
8529 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8531 rm -f core conftest.err conftest.$ac_objext \
8532 conftest$ac_exeext conftest.$ac_ext
8533 CFLAGS=$ac_wine_try_cflags_saved
8535 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8536 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8537 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8538 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
8541 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8542 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8543 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8544 if eval \${$as_ac_var+:} false; then :
8545 $as_echo_n "(cached) " >&6
8546 else
8547 ac_wine_try_cflags_saved=$CFLAGS
8548 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8549 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8550 /* end confdefs.h. */
8551 int main(int argc, char **argv) { return 0; }
8552 _ACEOF
8553 if ac_fn_c_try_link "$LINENO"; then :
8554 eval "$as_ac_var=yes"
8555 else
8556 eval "$as_ac_var=no"
8558 rm -f core conftest.err conftest.$ac_objext \
8559 conftest$ac_exeext conftest.$ac_ext
8560 CFLAGS=$ac_wine_try_cflags_saved
8562 eval ac_res=\$$as_ac_var
8563 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8564 $as_echo "$ac_res" >&6; }
8565 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8566 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8567 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8568 else
8569 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8570 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8571 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8572 if eval \${$as_ac_var+:} false; then :
8573 $as_echo_n "(cached) " >&6
8574 else
8575 ac_wine_try_cflags_saved=$CFLAGS
8576 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8577 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8578 /* end confdefs.h. */
8579 int main(int argc, char **argv) { return 0; }
8580 _ACEOF
8581 if ac_fn_c_try_link "$LINENO"; then :
8582 eval "$as_ac_var=yes"
8583 else
8584 eval "$as_ac_var=no"
8586 rm -f core conftest.err conftest.$ac_objext \
8587 conftest$ac_exeext conftest.$ac_ext
8588 CFLAGS=$ac_wine_try_cflags_saved
8590 eval ac_res=\$$as_ac_var
8591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8592 $as_echo "$ac_res" >&6; }
8593 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8594 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8595 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8599 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8600 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8601 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8602 $as_echo_n "(cached) " >&6
8603 else
8604 ac_wine_try_cflags_saved=$CFLAGS
8605 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8606 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8607 /* end confdefs.h. */
8608 int main(int argc, char **argv) { return 0; }
8609 _ACEOF
8610 if ac_fn_c_try_link "$LINENO"; then :
8611 ac_cv_cflags__Wl___enable_new_dtags=yes
8612 else
8613 ac_cv_cflags__Wl___enable_new_dtags=no
8615 rm -f core conftest.err conftest.$ac_objext \
8616 conftest$ac_exeext conftest.$ac_ext
8617 CFLAGS=$ac_wine_try_cflags_saved
8619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8620 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8621 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8622 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8625 case $host_cpu in
8626 *i[3456789]86* | x86_64 | *aarch64*)
8627 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
8628 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
8629 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
8630 $as_echo_n "(cached) " >&6
8631 else
8632 ac_wine_try_cflags_saved=$CFLAGS
8633 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
8634 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8635 /* end confdefs.h. */
8636 int main(int argc, char **argv) { return 0; }
8637 _ACEOF
8638 if ac_fn_c_try_link "$LINENO"; then :
8639 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
8640 else
8641 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
8643 rm -f core conftest.err conftest.$ac_objext \
8644 conftest$ac_exeext conftest.$ac_ext
8645 CFLAGS=$ac_wine_try_cflags_saved
8647 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
8648 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
8649 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
8650 case $host_os in
8651 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
8652 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
8653 esac
8654 else
8655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
8656 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
8657 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
8658 $as_echo_n "(cached) " >&6
8659 else
8660 ac_wine_try_cflags_saved=$CFLAGS
8661 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
8662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8663 /* end confdefs.h. */
8664 int main(int argc, char **argv) { return 0; }
8665 _ACEOF
8666 if ac_fn_c_try_link "$LINENO"; then :
8667 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
8668 else
8669 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
8671 rm -f core conftest.err conftest.$ac_objext \
8672 conftest$ac_exeext conftest.$ac_ext
8673 CFLAGS=$ac_wine_try_cflags_saved
8675 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
8676 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
8677 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
8678 case $host_os in
8679 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8680 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
8681 esac
8683 # Extract the first word of "prelink", so it can be a program name with args.
8684 set dummy prelink; ac_word=$2
8685 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8686 $as_echo_n "checking for $ac_word... " >&6; }
8687 if ${ac_cv_path_PRELINK+:} false; then :
8688 $as_echo_n "(cached) " >&6
8689 else
8690 case $PRELINK in
8691 [\\/]* | ?:[\\/]*)
8692 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8695 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8696 for as_dir in /sbin /usr/sbin $PATH
8698 IFS=$as_save_IFS
8699 test -z "$as_dir" && as_dir=.
8700 for ac_exec_ext in '' $ac_executable_extensions; do
8701 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8702 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8703 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8704 break 2
8706 done
8707 done
8708 IFS=$as_save_IFS
8710 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8712 esac
8714 PRELINK=$ac_cv_path_PRELINK
8715 if test -n "$PRELINK"; then
8716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8717 $as_echo "$PRELINK" >&6; }
8718 else
8719 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8720 $as_echo "no" >&6; }
8724 if test "x$PRELINK" = xfalse
8725 then
8726 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
8729 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
8730 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
8731 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
8732 $as_echo_n "(cached) " >&6
8733 else
8734 ac_wine_try_cflags_saved=$CFLAGS
8735 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
8736 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8737 /* end confdefs.h. */
8738 int main(int argc, char **argv) { return 0; }
8739 _ACEOF
8740 if ac_fn_c_try_link "$LINENO"; then :
8741 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
8742 else
8743 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
8745 rm -f core conftest.err conftest.$ac_objext \
8746 conftest$ac_exeext conftest.$ac_ext
8747 CFLAGS=$ac_wine_try_cflags_saved
8749 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
8750 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
8751 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
8752 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
8755 esac
8757 else
8758 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8759 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8760 if ${ac_cv_c_dll_unixware+:} false; then :
8761 $as_echo_n "(cached) " >&6
8762 else
8763 ac_wine_try_cflags_saved=$CFLAGS
8764 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8765 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8766 /* end confdefs.h. */
8767 void myfunc() {}
8768 _ACEOF
8769 if ac_fn_c_try_link "$LINENO"; then :
8770 ac_cv_c_dll_unixware="yes"
8771 else
8772 ac_cv_c_dll_unixware="no"
8774 rm -f core conftest.err conftest.$ac_objext \
8775 conftest$ac_exeext conftest.$ac_ext
8776 CFLAGS=$ac_wine_try_cflags_saved
8778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8779 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8780 if test "$ac_cv_c_dll_unixware" = "yes"
8781 then
8782 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
8785 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
8787 LIBWINE_INSTALL_LIB="libwine.so.$libwine_version libwine.so.$libwine_soversion"
8789 LIBWINE_INSTALL_DEV="libwine.so"
8791 LIBWINE_DEPENDS="wine.map"
8794 esac
8796 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
8797 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8798 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
8799 enable_winemac_drv=${enable_winemac_drv:-no}
8800 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
8802 CROSSTARGET=""
8804 if test "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8805 then
8806 case "$host_cpu" in
8807 arm*)
8808 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
8809 i[3456789]86*)
8810 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
8811 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
8812 mingw32-gcc" ;;
8813 x86_64)
8814 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
8815 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
8817 ac_prefix_list="" ;;
8818 esac
8819 for ac_prog in $ac_prefix_list
8821 # Extract the first word of "$ac_prog", so it can be a program name with args.
8822 set dummy $ac_prog; ac_word=$2
8823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8824 $as_echo_n "checking for $ac_word... " >&6; }
8825 if ${ac_cv_prog_CROSSCC+:} false; then :
8826 $as_echo_n "(cached) " >&6
8827 else
8828 if test -n "$CROSSCC"; then
8829 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8830 else
8831 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8832 for as_dir in $PATH
8834 IFS=$as_save_IFS
8835 test -z "$as_dir" && as_dir=.
8836 for ac_exec_ext in '' $ac_executable_extensions; do
8837 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8838 ac_cv_prog_CROSSCC="$ac_prog"
8839 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8840 break 2
8842 done
8843 done
8844 IFS=$as_save_IFS
8848 CROSSCC=$ac_cv_prog_CROSSCC
8849 if test -n "$CROSSCC"; then
8850 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8851 $as_echo "$CROSSCC" >&6; }
8852 else
8853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8854 $as_echo "no" >&6; }
8858 test -n "$CROSSCC" && break
8859 done
8860 test -n "$CROSSCC" || CROSSCC="false"
8862 if test "$CROSSCC" != "false"
8863 then
8864 ac_save_CC="$CC"
8865 CC="$CROSSCC"
8866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8867 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8868 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8869 /* end confdefs.h. */
8872 main ()
8876 return 0;
8878 _ACEOF
8879 if ac_fn_c_try_compile "$LINENO"; then :
8880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8881 $as_echo "yes" >&6; }
8882 set x $CROSSCC
8883 shift
8884 while test $# -ge 1
8886 case "$1" in
8887 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8888 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
8889 esac
8890 shift
8891 done
8892 else
8893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8894 $as_echo "no" >&6; }
8896 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8897 CC="$ac_save_CC"
8898 CROSSCFLAGS=${CROSSCFLAGS:-$CFLAGS}
8904 if test "$ac_cv_header_pthread_h" = "yes"
8905 then
8906 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8907 if test "x$ac_cv_func_pthread_create" = xyes; then :
8909 else
8910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8911 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8912 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8913 $as_echo_n "(cached) " >&6
8914 else
8915 ac_check_lib_save_LIBS=$LIBS
8916 LIBS="-lpthread $LIBS"
8917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8918 /* end confdefs.h. */
8920 /* Override any GCC internal prototype to avoid an error.
8921 Use char because int might match the return type of a GCC
8922 builtin and then its argument prototype would still apply. */
8923 #ifdef __cplusplus
8924 extern "C"
8925 #endif
8926 char pthread_create ();
8928 main ()
8930 return pthread_create ();
8932 return 0;
8934 _ACEOF
8935 if ac_fn_c_try_link "$LINENO"; then :
8936 ac_cv_lib_pthread_pthread_create=yes
8937 else
8938 ac_cv_lib_pthread_pthread_create=no
8940 rm -f core conftest.err conftest.$ac_objext \
8941 conftest$ac_exeext conftest.$ac_ext
8942 LIBS=$ac_check_lib_save_LIBS
8944 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8945 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8946 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
8947 PTHREAD_LIBS="-lpthread"
8954 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
8955 case "x$with_pthread" in
8956 xno) ;;
8957 *) as_fn_error $? "pthread ${notice_platform}development files not found.
8958 Wine cannot support threads without libpthread.
8959 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8960 esac
8965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8966 $as_echo_n "checking for X... " >&6; }
8969 # Check whether --with-x was given.
8970 if test "${with_x+set}" = set; then :
8971 withval=$with_x;
8974 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8975 if test "x$with_x" = xno; then
8976 # The user explicitly disabled X.
8977 have_x=disabled
8978 else
8979 case $x_includes,$x_libraries in #(
8980 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
8981 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
8982 $as_echo_n "(cached) " >&6
8983 else
8984 # One or both of the vars are not set, and there is no cached value.
8985 ac_x_includes=no ac_x_libraries=no
8986 rm -f -r conftest.dir
8987 if mkdir conftest.dir; then
8988 cd conftest.dir
8989 cat >Imakefile <<'_ACEOF'
8990 incroot:
8991 @echo incroot='${INCROOT}'
8992 usrlibdir:
8993 @echo usrlibdir='${USRLIBDIR}'
8994 libdir:
8995 @echo libdir='${LIBDIR}'
8996 _ACEOF
8997 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
8998 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
8999 for ac_var in incroot usrlibdir libdir; do
9000 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
9001 done
9002 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9003 for ac_extension in a so sl dylib la dll; do
9004 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
9005 test -f "$ac_im_libdir/libX11.$ac_extension"; then
9006 ac_im_usrlibdir=$ac_im_libdir; break
9008 done
9009 # Screen out bogus values from the imake configuration. They are
9010 # bogus both because they are the default anyway, and because
9011 # using them would break gcc on systems where it needs fixed includes.
9012 case $ac_im_incroot in
9013 /usr/include) ac_x_includes= ;;
9014 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
9015 esac
9016 case $ac_im_usrlibdir in
9017 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
9018 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
9019 esac
9021 cd ..
9022 rm -f -r conftest.dir
9025 # Standard set of common directories for X headers.
9026 # Check X11 before X11Rn because it is often a symlink to the current release.
9027 ac_x_header_dirs='
9028 /usr/X11/include
9029 /usr/X11R7/include
9030 /usr/X11R6/include
9031 /usr/X11R5/include
9032 /usr/X11R4/include
9034 /usr/include/X11
9035 /usr/include/X11R7
9036 /usr/include/X11R6
9037 /usr/include/X11R5
9038 /usr/include/X11R4
9040 /usr/local/X11/include
9041 /usr/local/X11R7/include
9042 /usr/local/X11R6/include
9043 /usr/local/X11R5/include
9044 /usr/local/X11R4/include
9046 /usr/local/include/X11
9047 /usr/local/include/X11R7
9048 /usr/local/include/X11R6
9049 /usr/local/include/X11R5
9050 /usr/local/include/X11R4
9052 /usr/X386/include
9053 /usr/x386/include
9054 /usr/XFree86/include/X11
9056 /usr/include
9057 /usr/local/include
9058 /usr/unsupported/include
9059 /usr/athena/include
9060 /usr/local/x11r5/include
9061 /usr/lpp/Xamples/include
9063 /usr/openwin/include
9064 /usr/openwin/share/include'
9066 if test "$ac_x_includes" = no; then
9067 # Guess where to find include files, by looking for Xlib.h.
9068 # First, try using that file with no special directory specified.
9069 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9070 /* end confdefs.h. */
9071 #include <X11/Xlib.h>
9072 _ACEOF
9073 if ac_fn_c_try_cpp "$LINENO"; then :
9074 # We can compile using X headers with no special include directory.
9075 ac_x_includes=
9076 else
9077 for ac_dir in $ac_x_header_dirs; do
9078 if test -r "$ac_dir/X11/Xlib.h"; then
9079 ac_x_includes=$ac_dir
9080 break
9082 done
9084 rm -f conftest.err conftest.i conftest.$ac_ext
9085 fi # $ac_x_includes = no
9087 if test "$ac_x_libraries" = no; then
9088 # Check for the libraries.
9089 # See if we find them without any special options.
9090 # Don't add to $LIBS permanently.
9091 ac_save_LIBS=$LIBS
9092 LIBS="-lX11 $LIBS"
9093 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9094 /* end confdefs.h. */
9095 #include <X11/Xlib.h>
9097 main ()
9099 XrmInitialize ()
9101 return 0;
9103 _ACEOF
9104 if ac_fn_c_try_link "$LINENO"; then :
9105 LIBS=$ac_save_LIBS
9106 # We can link X programs with no special library path.
9107 ac_x_libraries=
9108 else
9109 LIBS=$ac_save_LIBS
9110 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9112 # Don't even attempt the hair of trying to link an X program!
9113 for ac_extension in a so sl dylib la dll; do
9114 if test -r "$ac_dir/libX11.$ac_extension"; then
9115 ac_x_libraries=$ac_dir
9116 break 2
9118 done
9119 done
9121 rm -f core conftest.err conftest.$ac_objext \
9122 conftest$ac_exeext conftest.$ac_ext
9123 fi # $ac_x_libraries = no
9125 case $ac_x_includes,$ac_x_libraries in #(
9126 no,* | *,no | *\'*)
9127 # Didn't find X, or a directory has "'" in its name.
9128 ac_cv_have_x="have_x=no";; #(
9130 # Record where we found X for the cache.
9131 ac_cv_have_x="have_x=yes\
9132 ac_x_includes='$ac_x_includes'\
9133 ac_x_libraries='$ac_x_libraries'"
9134 esac
9136 ;; #(
9137 *) have_x=yes;;
9138 esac
9139 eval "$ac_cv_have_x"
9140 fi # $with_x != no
9142 if test "$have_x" != yes; then
9143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9144 $as_echo "$have_x" >&6; }
9145 no_x=yes
9146 else
9147 # If each of the values was on the command line, it overrides each guess.
9148 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9149 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9150 # Update the cache value to reflect the command line values.
9151 ac_cv_have_x="have_x=yes\
9152 ac_x_includes='$x_includes'\
9153 ac_x_libraries='$x_libraries'"
9154 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9155 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9158 if test "$no_x" = yes; then
9159 # Not all programs may use this symbol, but it does not hurt to define it.
9161 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9163 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9164 else
9165 if test -n "$x_includes"; then
9166 X_CFLAGS="$X_CFLAGS -I$x_includes"
9169 # It would also be nice to do this for all -L options, not just this one.
9170 if test -n "$x_libraries"; then
9171 X_LIBS="$X_LIBS -L$x_libraries"
9172 # For Solaris; some versions of Sun CC require a space after -R and
9173 # others require no space. Words are not sufficient . . . .
9174 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9175 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9176 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9177 ac_xsave_c_werror_flag=$ac_c_werror_flag
9178 ac_c_werror_flag=yes
9179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9180 /* end confdefs.h. */
9183 main ()
9187 return 0;
9189 _ACEOF
9190 if ac_fn_c_try_link "$LINENO"; then :
9191 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9192 $as_echo "no" >&6; }
9193 X_LIBS="$X_LIBS -R$x_libraries"
9194 else
9195 LIBS="$ac_xsave_LIBS -R $x_libraries"
9196 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9197 /* end confdefs.h. */
9200 main ()
9204 return 0;
9206 _ACEOF
9207 if ac_fn_c_try_link "$LINENO"; then :
9208 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9209 $as_echo "yes" >&6; }
9210 X_LIBS="$X_LIBS -R $x_libraries"
9211 else
9212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9213 $as_echo "neither works" >&6; }
9215 rm -f core conftest.err conftest.$ac_objext \
9216 conftest$ac_exeext conftest.$ac_ext
9218 rm -f core conftest.err conftest.$ac_objext \
9219 conftest$ac_exeext conftest.$ac_ext
9220 ac_c_werror_flag=$ac_xsave_c_werror_flag
9221 LIBS=$ac_xsave_LIBS
9224 # Check for system-dependent libraries X programs must link with.
9225 # Do this before checking for the system-independent R6 libraries
9226 # (-lICE), since we may need -lsocket or whatever for X linking.
9228 if test "$ISC" = yes; then
9229 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9230 else
9231 # Martyn Johnson says this is needed for Ultrix, if the X
9232 # libraries were built with DECnet support. And Karl Berry says
9233 # the Alpha needs dnet_stub (dnet does not exist).
9234 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9235 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9236 /* end confdefs.h. */
9238 /* Override any GCC internal prototype to avoid an error.
9239 Use char because int might match the return type of a GCC
9240 builtin and then its argument prototype would still apply. */
9241 #ifdef __cplusplus
9242 extern "C"
9243 #endif
9244 char XOpenDisplay ();
9246 main ()
9248 return XOpenDisplay ();
9250 return 0;
9252 _ACEOF
9253 if ac_fn_c_try_link "$LINENO"; then :
9255 else
9256 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9257 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9258 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9259 $as_echo_n "(cached) " >&6
9260 else
9261 ac_check_lib_save_LIBS=$LIBS
9262 LIBS="-ldnet $LIBS"
9263 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9264 /* end confdefs.h. */
9266 /* Override any GCC internal prototype to avoid an error.
9267 Use char because int might match the return type of a GCC
9268 builtin and then its argument prototype would still apply. */
9269 #ifdef __cplusplus
9270 extern "C"
9271 #endif
9272 char dnet_ntoa ();
9274 main ()
9276 return dnet_ntoa ();
9278 return 0;
9280 _ACEOF
9281 if ac_fn_c_try_link "$LINENO"; then :
9282 ac_cv_lib_dnet_dnet_ntoa=yes
9283 else
9284 ac_cv_lib_dnet_dnet_ntoa=no
9286 rm -f core conftest.err conftest.$ac_objext \
9287 conftest$ac_exeext conftest.$ac_ext
9288 LIBS=$ac_check_lib_save_LIBS
9290 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9291 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9292 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9293 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9296 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9298 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9299 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9300 $as_echo_n "(cached) " >&6
9301 else
9302 ac_check_lib_save_LIBS=$LIBS
9303 LIBS="-ldnet_stub $LIBS"
9304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9305 /* end confdefs.h. */
9307 /* Override any GCC internal prototype to avoid an error.
9308 Use char because int might match the return type of a GCC
9309 builtin and then its argument prototype would still apply. */
9310 #ifdef __cplusplus
9311 extern "C"
9312 #endif
9313 char dnet_ntoa ();
9315 main ()
9317 return dnet_ntoa ();
9319 return 0;
9321 _ACEOF
9322 if ac_fn_c_try_link "$LINENO"; then :
9323 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9324 else
9325 ac_cv_lib_dnet_stub_dnet_ntoa=no
9327 rm -f core conftest.err conftest.$ac_objext \
9328 conftest$ac_exeext conftest.$ac_ext
9329 LIBS=$ac_check_lib_save_LIBS
9331 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9332 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9333 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9334 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9339 rm -f core conftest.err conftest.$ac_objext \
9340 conftest$ac_exeext conftest.$ac_ext
9341 LIBS="$ac_xsave_LIBS"
9343 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9344 # to get the SysV transport functions.
9345 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9346 # needs -lnsl.
9347 # The nsl library prevents programs from opening the X display
9348 # on Irix 5.2, according to T.E. Dickey.
9349 # The functions gethostbyname, getservbyname, and inet_addr are
9350 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9351 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9352 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9356 if test $ac_cv_func_gethostbyname = no; then
9357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9358 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9359 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9360 $as_echo_n "(cached) " >&6
9361 else
9362 ac_check_lib_save_LIBS=$LIBS
9363 LIBS="-lnsl $LIBS"
9364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9365 /* end confdefs.h. */
9367 /* Override any GCC internal prototype to avoid an error.
9368 Use char because int might match the return type of a GCC
9369 builtin and then its argument prototype would still apply. */
9370 #ifdef __cplusplus
9371 extern "C"
9372 #endif
9373 char gethostbyname ();
9375 main ()
9377 return gethostbyname ();
9379 return 0;
9381 _ACEOF
9382 if ac_fn_c_try_link "$LINENO"; then :
9383 ac_cv_lib_nsl_gethostbyname=yes
9384 else
9385 ac_cv_lib_nsl_gethostbyname=no
9387 rm -f core conftest.err conftest.$ac_objext \
9388 conftest$ac_exeext conftest.$ac_ext
9389 LIBS=$ac_check_lib_save_LIBS
9391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9392 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9393 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9394 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9397 if test $ac_cv_lib_nsl_gethostbyname = no; then
9398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9399 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9400 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9401 $as_echo_n "(cached) " >&6
9402 else
9403 ac_check_lib_save_LIBS=$LIBS
9404 LIBS="-lbsd $LIBS"
9405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9406 /* end confdefs.h. */
9408 /* Override any GCC internal prototype to avoid an error.
9409 Use char because int might match the return type of a GCC
9410 builtin and then its argument prototype would still apply. */
9411 #ifdef __cplusplus
9412 extern "C"
9413 #endif
9414 char gethostbyname ();
9416 main ()
9418 return gethostbyname ();
9420 return 0;
9422 _ACEOF
9423 if ac_fn_c_try_link "$LINENO"; then :
9424 ac_cv_lib_bsd_gethostbyname=yes
9425 else
9426 ac_cv_lib_bsd_gethostbyname=no
9428 rm -f core conftest.err conftest.$ac_objext \
9429 conftest$ac_exeext conftest.$ac_ext
9430 LIBS=$ac_check_lib_save_LIBS
9432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9433 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9434 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9435 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9441 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9442 # socket/setsockopt and other routines are undefined under SCO ODT
9443 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9444 # on later versions), says Simon Leinen: it contains gethostby*
9445 # variants that don't use the name server (or something). -lsocket
9446 # must be given before -lnsl if both are needed. We assume that
9447 # if connect needs -lnsl, so does gethostbyname.
9448 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9449 if test "x$ac_cv_func_connect" = xyes; then :
9453 if test $ac_cv_func_connect = no; then
9454 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9455 $as_echo_n "checking for connect in -lsocket... " >&6; }
9456 if ${ac_cv_lib_socket_connect+:} false; then :
9457 $as_echo_n "(cached) " >&6
9458 else
9459 ac_check_lib_save_LIBS=$LIBS
9460 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9461 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9462 /* end confdefs.h. */
9464 /* Override any GCC internal prototype to avoid an error.
9465 Use char because int might match the return type of a GCC
9466 builtin and then its argument prototype would still apply. */
9467 #ifdef __cplusplus
9468 extern "C"
9469 #endif
9470 char connect ();
9472 main ()
9474 return connect ();
9476 return 0;
9478 _ACEOF
9479 if ac_fn_c_try_link "$LINENO"; then :
9480 ac_cv_lib_socket_connect=yes
9481 else
9482 ac_cv_lib_socket_connect=no
9484 rm -f core conftest.err conftest.$ac_objext \
9485 conftest$ac_exeext conftest.$ac_ext
9486 LIBS=$ac_check_lib_save_LIBS
9488 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9489 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9490 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9491 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9496 # Guillermo Gomez says -lposix is necessary on A/UX.
9497 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9498 if test "x$ac_cv_func_remove" = xyes; then :
9502 if test $ac_cv_func_remove = no; then
9503 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9504 $as_echo_n "checking for remove in -lposix... " >&6; }
9505 if ${ac_cv_lib_posix_remove+:} false; then :
9506 $as_echo_n "(cached) " >&6
9507 else
9508 ac_check_lib_save_LIBS=$LIBS
9509 LIBS="-lposix $LIBS"
9510 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9511 /* end confdefs.h. */
9513 /* Override any GCC internal prototype to avoid an error.
9514 Use char because int might match the return type of a GCC
9515 builtin and then its argument prototype would still apply. */
9516 #ifdef __cplusplus
9517 extern "C"
9518 #endif
9519 char remove ();
9521 main ()
9523 return remove ();
9525 return 0;
9527 _ACEOF
9528 if ac_fn_c_try_link "$LINENO"; then :
9529 ac_cv_lib_posix_remove=yes
9530 else
9531 ac_cv_lib_posix_remove=no
9533 rm -f core conftest.err conftest.$ac_objext \
9534 conftest$ac_exeext conftest.$ac_ext
9535 LIBS=$ac_check_lib_save_LIBS
9537 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9538 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9539 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9540 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9545 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9546 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9547 if test "x$ac_cv_func_shmat" = xyes; then :
9551 if test $ac_cv_func_shmat = no; then
9552 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9553 $as_echo_n "checking for shmat in -lipc... " >&6; }
9554 if ${ac_cv_lib_ipc_shmat+:} false; then :
9555 $as_echo_n "(cached) " >&6
9556 else
9557 ac_check_lib_save_LIBS=$LIBS
9558 LIBS="-lipc $LIBS"
9559 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9560 /* end confdefs.h. */
9562 /* Override any GCC internal prototype to avoid an error.
9563 Use char because int might match the return type of a GCC
9564 builtin and then its argument prototype would still apply. */
9565 #ifdef __cplusplus
9566 extern "C"
9567 #endif
9568 char shmat ();
9570 main ()
9572 return shmat ();
9574 return 0;
9576 _ACEOF
9577 if ac_fn_c_try_link "$LINENO"; then :
9578 ac_cv_lib_ipc_shmat=yes
9579 else
9580 ac_cv_lib_ipc_shmat=no
9582 rm -f core conftest.err conftest.$ac_objext \
9583 conftest$ac_exeext conftest.$ac_ext
9584 LIBS=$ac_check_lib_save_LIBS
9586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9587 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9588 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9589 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9595 # Check for libraries that X11R6 Xt/Xaw programs need.
9596 ac_save_LDFLAGS=$LDFLAGS
9597 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9598 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9599 # check for ICE first), but we must link in the order -lSM -lICE or
9600 # we get undefined symbols. So assume we have SM if we have ICE.
9601 # These have to be linked with before -lX11, unlike the other
9602 # libraries we check for below, so use a different variable.
9603 # John Interrante, Karl Berry
9604 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9605 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9606 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9607 $as_echo_n "(cached) " >&6
9608 else
9609 ac_check_lib_save_LIBS=$LIBS
9610 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9611 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9612 /* end confdefs.h. */
9614 /* Override any GCC internal prototype to avoid an error.
9615 Use char because int might match the return type of a GCC
9616 builtin and then its argument prototype would still apply. */
9617 #ifdef __cplusplus
9618 extern "C"
9619 #endif
9620 char IceConnectionNumber ();
9622 main ()
9624 return IceConnectionNumber ();
9626 return 0;
9628 _ACEOF
9629 if ac_fn_c_try_link "$LINENO"; then :
9630 ac_cv_lib_ICE_IceConnectionNumber=yes
9631 else
9632 ac_cv_lib_ICE_IceConnectionNumber=no
9634 rm -f core conftest.err conftest.$ac_objext \
9635 conftest$ac_exeext conftest.$ac_ext
9636 LIBS=$ac_check_lib_save_LIBS
9638 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9639 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9640 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9641 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9644 LDFLAGS=$ac_save_LDFLAGS
9649 if test "$have_x" = "yes"
9650 then
9651 ac_save_CPPFLAGS="$CPPFLAGS"
9652 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9654 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9655 $as_echo_n "checking for -lX11... " >&6; }
9656 if ${ac_cv_lib_soname_X11+:} false; then :
9657 $as_echo_n "(cached) " >&6
9658 else
9659 ac_check_soname_save_LIBS=$LIBS
9660 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9662 /* end confdefs.h. */
9664 /* Override any GCC internal prototype to avoid an error.
9665 Use char because int might match the return type of a GCC
9666 builtin and then its argument prototype would still apply. */
9667 #ifdef __cplusplus
9668 extern "C"
9669 #endif
9670 char XCreateWindow ();
9672 main ()
9674 return XCreateWindow ();
9676 return 0;
9678 _ACEOF
9679 if ac_fn_c_try_link "$LINENO"; then :
9680 case "$LIBEXT" in
9681 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9682 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'` ;;
9683 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9684 if ${ac_cv_lib_soname_X11:+false} :; then :
9685 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9686 fi ;;
9687 esac
9689 rm -f core conftest.err conftest.$ac_objext \
9690 conftest$ac_exeext conftest.$ac_ext
9691 LIBS=$ac_check_soname_save_LIBS
9693 if ${ac_cv_lib_soname_X11:+false} :; then :
9694 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9695 $as_echo "not found" >&6; }
9697 else
9698 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9699 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9701 cat >>confdefs.h <<_ACEOF
9702 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9703 _ACEOF
9707 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9708 $as_echo_n "checking for -lXext... " >&6; }
9709 if ${ac_cv_lib_soname_Xext+:} false; then :
9710 $as_echo_n "(cached) " >&6
9711 else
9712 ac_check_soname_save_LIBS=$LIBS
9713 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9714 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9715 /* end confdefs.h. */
9717 /* Override any GCC internal prototype to avoid an error.
9718 Use char because int might match the return type of a GCC
9719 builtin and then its argument prototype would still apply. */
9720 #ifdef __cplusplus
9721 extern "C"
9722 #endif
9723 char XextCreateExtension ();
9725 main ()
9727 return XextCreateExtension ();
9729 return 0;
9731 _ACEOF
9732 if ac_fn_c_try_link "$LINENO"; then :
9733 case "$LIBEXT" in
9734 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9735 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'` ;;
9736 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9737 if ${ac_cv_lib_soname_Xext:+false} :; then :
9738 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9739 fi ;;
9740 esac
9742 rm -f core conftest.err conftest.$ac_objext \
9743 conftest$ac_exeext conftest.$ac_ext
9744 LIBS=$ac_check_soname_save_LIBS
9746 if ${ac_cv_lib_soname_Xext:+false} :; then :
9747 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9748 $as_echo "not found" >&6; }
9750 else
9751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9752 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9754 cat >>confdefs.h <<_ACEOF
9755 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9756 _ACEOF
9758 X_LIBS="$X_LIBS -lXext"
9760 X_LIBS="$X_LIBS -lX11"
9762 for ac_header in X11/Xlib.h \
9763 X11/XKBlib.h \
9764 X11/Xutil.h \
9765 X11/Xcursor/Xcursor.h \
9766 X11/extensions/shape.h \
9767 X11/extensions/XInput.h \
9768 X11/extensions/XInput2.h \
9769 X11/extensions/XShm.h \
9770 X11/extensions/Xcomposite.h \
9771 X11/extensions/Xfixes.h \
9772 X11/extensions/Xinerama.h \
9773 X11/extensions/Xrandr.h \
9774 X11/extensions/Xrender.h \
9775 X11/extensions/xf86vmode.h \
9776 X11/extensions/xf86vmproto.h
9777 do :
9778 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9779 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9780 # include <X11/Xlib.h>
9781 #endif
9782 #ifdef HAVE_X11_XUTIL_H
9783 # include <X11/Xutil.h>
9784 #endif
9786 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9787 cat >>confdefs.h <<_ACEOF
9788 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9789 _ACEOF
9793 done
9796 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9797 then
9798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9799 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9800 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9801 $as_echo_n "(cached) " >&6
9802 else
9803 ac_check_lib_save_LIBS=$LIBS
9804 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9806 /* end confdefs.h. */
9808 /* Override any GCC internal prototype to avoid an error.
9809 Use char because int might match the return type of a GCC
9810 builtin and then its argument prototype would still apply. */
9811 #ifdef __cplusplus
9812 extern "C"
9813 #endif
9814 char XkbQueryExtension ();
9816 main ()
9818 return XkbQueryExtension ();
9820 return 0;
9822 _ACEOF
9823 if ac_fn_c_try_link "$LINENO"; then :
9824 ac_cv_lib_X11_XkbQueryExtension=yes
9825 else
9826 ac_cv_lib_X11_XkbQueryExtension=no
9828 rm -f core conftest.err conftest.$ac_objext \
9829 conftest$ac_exeext conftest.$ac_ext
9830 LIBS=$ac_check_lib_save_LIBS
9832 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9833 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9834 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9836 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9842 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9843 then
9844 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9845 $as_echo_n "checking for -lXcursor... " >&6; }
9846 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9847 $as_echo_n "(cached) " >&6
9848 else
9849 ac_check_soname_save_LIBS=$LIBS
9850 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9851 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9852 /* end confdefs.h. */
9854 /* Override any GCC internal prototype to avoid an error.
9855 Use char because int might match the return type of a GCC
9856 builtin and then its argument prototype would still apply. */
9857 #ifdef __cplusplus
9858 extern "C"
9859 #endif
9860 char XcursorImageLoadCursor ();
9862 main ()
9864 return XcursorImageLoadCursor ();
9866 return 0;
9868 _ACEOF
9869 if ac_fn_c_try_link "$LINENO"; then :
9870 case "$LIBEXT" in
9871 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9872 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'` ;;
9873 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9874 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9875 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9876 fi ;;
9877 esac
9879 rm -f core conftest.err conftest.$ac_objext \
9880 conftest$ac_exeext conftest.$ac_ext
9881 LIBS=$ac_check_soname_save_LIBS
9883 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9884 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9885 $as_echo "not found" >&6; }
9887 else
9888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9889 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9891 cat >>confdefs.h <<_ACEOF
9892 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9893 _ACEOF
9898 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9899 case "x$with_xcursor" in
9900 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9901 xno) ;;
9902 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9903 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9904 esac
9908 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9909 then
9910 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9911 $as_echo_n "checking for -lXi... " >&6; }
9912 if ${ac_cv_lib_soname_Xi+:} false; then :
9913 $as_echo_n "(cached) " >&6
9914 else
9915 ac_check_soname_save_LIBS=$LIBS
9916 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9917 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9918 /* end confdefs.h. */
9920 /* Override any GCC internal prototype to avoid an error.
9921 Use char because int might match the return type of a GCC
9922 builtin and then its argument prototype would still apply. */
9923 #ifdef __cplusplus
9924 extern "C"
9925 #endif
9926 char XOpenDevice ();
9928 main ()
9930 return XOpenDevice ();
9932 return 0;
9934 _ACEOF
9935 if ac_fn_c_try_link "$LINENO"; then :
9936 case "$LIBEXT" in
9937 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9938 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'` ;;
9939 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9940 if ${ac_cv_lib_soname_Xi:+false} :; then :
9941 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9942 fi ;;
9943 esac
9945 rm -f core conftest.err conftest.$ac_objext \
9946 conftest$ac_exeext conftest.$ac_ext
9947 LIBS=$ac_check_soname_save_LIBS
9949 if ${ac_cv_lib_soname_Xi:+false} :; then :
9950 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9951 $as_echo "not found" >&6; }
9953 else
9954 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9955 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9957 cat >>confdefs.h <<_ACEOF
9958 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9959 _ACEOF
9964 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9965 case "x$with_xinput" in
9966 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9967 xno) ;;
9968 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9969 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9970 esac
9974 if test "x$ac_cv_lib_soname_Xi" != x
9975 then
9976 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9977 case "x$with_xinput2" in
9978 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9979 xno) ;;
9980 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
9981 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9982 esac
9987 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9988 then
9989 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9990 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9991 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
9992 $as_echo_n "(cached) " >&6
9993 else
9994 ac_check_lib_save_LIBS=$LIBS
9995 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
9996 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9997 /* end confdefs.h. */
9999 /* Override any GCC internal prototype to avoid an error.
10000 Use char because int might match the return type of a GCC
10001 builtin and then its argument prototype would still apply. */
10002 #ifdef __cplusplus
10003 extern "C"
10004 #endif
10005 char XShmQueryExtension ();
10007 main ()
10009 return XShmQueryExtension ();
10011 return 0;
10013 _ACEOF
10014 if ac_fn_c_try_link "$LINENO"; then :
10015 ac_cv_lib_Xext_XShmQueryExtension=yes
10016 else
10017 ac_cv_lib_Xext_XShmQueryExtension=no
10019 rm -f core conftest.err conftest.$ac_objext \
10020 conftest$ac_exeext conftest.$ac_ext
10021 LIBS=$ac_check_lib_save_LIBS
10023 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10024 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10025 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
10027 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10032 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10033 case "x$with_xshm" in
10034 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10035 xno) ;;
10036 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10037 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10038 esac
10042 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10043 then
10044 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10045 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10046 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
10047 $as_echo_n "(cached) " >&6
10048 else
10049 ac_check_lib_save_LIBS=$LIBS
10050 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10051 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10052 /* end confdefs.h. */
10054 /* Override any GCC internal prototype to avoid an error.
10055 Use char because int might match the return type of a GCC
10056 builtin and then its argument prototype would still apply. */
10057 #ifdef __cplusplus
10058 extern "C"
10059 #endif
10060 char XShapeQueryExtension ();
10062 main ()
10064 return XShapeQueryExtension ();
10066 return 0;
10068 _ACEOF
10069 if ac_fn_c_try_link "$LINENO"; then :
10070 ac_cv_lib_Xext_XShapeQueryExtension=yes
10071 else
10072 ac_cv_lib_Xext_XShapeQueryExtension=no
10074 rm -f core conftest.err conftest.$ac_objext \
10075 conftest$ac_exeext conftest.$ac_ext
10076 LIBS=$ac_check_lib_save_LIBS
10078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10079 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10080 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
10082 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10087 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10088 case "x$with_xshape" in
10089 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10090 xno) ;;
10091 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
10092 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10093 esac
10097 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10098 then
10099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10100 $as_echo_n "checking for -lXxf86vm... " >&6; }
10101 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
10102 $as_echo_n "(cached) " >&6
10103 else
10104 ac_check_soname_save_LIBS=$LIBS
10105 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10106 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10107 /* end confdefs.h. */
10109 /* Override any GCC internal prototype to avoid an error.
10110 Use char because int might match the return type of a GCC
10111 builtin and then its argument prototype would still apply. */
10112 #ifdef __cplusplus
10113 extern "C"
10114 #endif
10115 char XF86VidModeQueryExtension ();
10117 main ()
10119 return XF86VidModeQueryExtension ();
10121 return 0;
10123 _ACEOF
10124 if ac_fn_c_try_link "$LINENO"; then :
10125 case "$LIBEXT" in
10126 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10127 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'` ;;
10128 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10129 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10130 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10131 fi ;;
10132 esac
10134 rm -f core conftest.err conftest.$ac_objext \
10135 conftest$ac_exeext conftest.$ac_ext
10136 LIBS=$ac_check_soname_save_LIBS
10138 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10139 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10140 $as_echo "not found" >&6; }
10142 else
10143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10144 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10146 cat >>confdefs.h <<_ACEOF
10147 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10148 _ACEOF
10153 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10154 case "x$with_xxf86vm" in
10155 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10156 xno) ;;
10157 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10158 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10159 esac
10163 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10164 then
10165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10166 $as_echo_n "checking for -lXrender... " >&6; }
10167 if ${ac_cv_lib_soname_Xrender+:} false; then :
10168 $as_echo_n "(cached) " >&6
10169 else
10170 ac_check_soname_save_LIBS=$LIBS
10171 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10172 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10173 /* end confdefs.h. */
10175 /* Override any GCC internal prototype to avoid an error.
10176 Use char because int might match the return type of a GCC
10177 builtin and then its argument prototype would still apply. */
10178 #ifdef __cplusplus
10179 extern "C"
10180 #endif
10181 char XRenderQueryExtension ();
10183 main ()
10185 return XRenderQueryExtension ();
10187 return 0;
10189 _ACEOF
10190 if ac_fn_c_try_link "$LINENO"; then :
10191 case "$LIBEXT" in
10192 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10193 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'` ;;
10194 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10195 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10196 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10197 fi ;;
10198 esac
10200 rm -f core conftest.err conftest.$ac_objext \
10201 conftest$ac_exeext conftest.$ac_ext
10202 LIBS=$ac_check_soname_save_LIBS
10204 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10205 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10206 $as_echo "not found" >&6; }
10208 else
10209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10210 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10212 cat >>confdefs.h <<_ACEOF
10213 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10214 _ACEOF
10216 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10217 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10218 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10219 $as_echo_n "(cached) " >&6
10220 else
10221 ac_check_lib_save_LIBS=$LIBS
10222 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10223 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10224 /* end confdefs.h. */
10226 /* Override any GCC internal prototype to avoid an error.
10227 Use char because int might match the return type of a GCC
10228 builtin and then its argument prototype would still apply. */
10229 #ifdef __cplusplus
10230 extern "C"
10231 #endif
10232 char XRenderSetPictureTransform ();
10234 main ()
10236 return XRenderSetPictureTransform ();
10238 return 0;
10240 _ACEOF
10241 if ac_fn_c_try_link "$LINENO"; then :
10242 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10243 else
10244 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10246 rm -f core conftest.err conftest.$ac_objext \
10247 conftest$ac_exeext conftest.$ac_ext
10248 LIBS=$ac_check_lib_save_LIBS
10250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10251 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10252 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10254 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10258 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10259 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10260 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10261 $as_echo_n "(cached) " >&6
10262 else
10263 ac_check_lib_save_LIBS=$LIBS
10264 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10265 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10266 /* end confdefs.h. */
10268 /* Override any GCC internal prototype to avoid an error.
10269 Use char because int might match the return type of a GCC
10270 builtin and then its argument prototype would still apply. */
10271 #ifdef __cplusplus
10272 extern "C"
10273 #endif
10274 char XRenderCreateLinearGradient ();
10276 main ()
10278 return XRenderCreateLinearGradient ();
10280 return 0;
10282 _ACEOF
10283 if ac_fn_c_try_link "$LINENO"; then :
10284 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10285 else
10286 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10288 rm -f core conftest.err conftest.$ac_objext \
10289 conftest$ac_exeext conftest.$ac_ext
10290 LIBS=$ac_check_lib_save_LIBS
10292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10293 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10294 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10296 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10303 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10304 case "x$with_xrender" in
10305 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10306 xno) ;;
10307 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10308 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10309 esac
10313 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10314 then
10315 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10316 /* end confdefs.h. */
10317 #include <X11/Xlib.h>
10318 #include <X11/extensions/Xrandr.h>
10320 main ()
10322 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10324 return 0;
10326 _ACEOF
10327 if ac_fn_c_try_compile "$LINENO"; then :
10328 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10329 $as_echo_n "checking for -lXrandr... " >&6; }
10330 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10331 $as_echo_n "(cached) " >&6
10332 else
10333 ac_check_soname_save_LIBS=$LIBS
10334 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10335 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10336 /* end confdefs.h. */
10338 /* Override any GCC internal prototype to avoid an error.
10339 Use char because int might match the return type of a GCC
10340 builtin and then its argument prototype would still apply. */
10341 #ifdef __cplusplus
10342 extern "C"
10343 #endif
10344 char XRRQueryExtension ();
10346 main ()
10348 return XRRQueryExtension ();
10350 return 0;
10352 _ACEOF
10353 if ac_fn_c_try_link "$LINENO"; then :
10354 case "$LIBEXT" in
10355 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10356 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'` ;;
10357 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10358 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10359 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10360 fi ;;
10361 esac
10363 rm -f core conftest.err conftest.$ac_objext \
10364 conftest$ac_exeext conftest.$ac_ext
10365 LIBS=$ac_check_soname_save_LIBS
10367 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10368 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10369 $as_echo "not found" >&6; }
10371 else
10372 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10373 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10375 cat >>confdefs.h <<_ACEOF
10376 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10377 _ACEOF
10379 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10380 /* end confdefs.h. */
10381 #include <X11/Xlib.h>
10382 #include <X11/extensions/Xrandr.h>
10384 main ()
10386 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10388 return 0;
10390 _ACEOF
10391 if ac_fn_c_try_compile "$LINENO"; then :
10393 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10396 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10399 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10401 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10402 case "x$with_xrandr" in
10403 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10404 xno) ;;
10405 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10406 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10407 esac
10411 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
10412 then
10413 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10414 /* end confdefs.h. */
10415 #include <X11/Xlib.h>
10416 #include <X11/extensions/Xfixes.h>
10418 main ()
10420 static typeof(XFixesQueryVersion) * func; if (func) return 0;
10422 return 0;
10424 _ACEOF
10425 if ac_fn_c_try_compile "$LINENO"; then :
10426 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
10427 $as_echo_n "checking for -lXfixes... " >&6; }
10428 if ${ac_cv_lib_soname_Xfixes+:} false; then :
10429 $as_echo_n "(cached) " >&6
10430 else
10431 ac_check_soname_save_LIBS=$LIBS
10432 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
10433 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10434 /* end confdefs.h. */
10436 /* Override any GCC internal prototype to avoid an error.
10437 Use char because int might match the return type of a GCC
10438 builtin and then its argument prototype would still apply. */
10439 #ifdef __cplusplus
10440 extern "C"
10441 #endif
10442 char XFixesQueryVersion ();
10444 main ()
10446 return XFixesQueryVersion ();
10448 return 0;
10450 _ACEOF
10451 if ac_fn_c_try_link "$LINENO"; then :
10452 case "$LIBEXT" in
10453 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10454 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'` ;;
10455 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10456 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
10457 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10458 fi ;;
10459 esac
10461 rm -f core conftest.err conftest.$ac_objext \
10462 conftest$ac_exeext conftest.$ac_ext
10463 LIBS=$ac_check_soname_save_LIBS
10465 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
10466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10467 $as_echo "not found" >&6; }
10469 else
10470 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
10471 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
10473 cat >>confdefs.h <<_ACEOF
10474 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
10475 _ACEOF
10480 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10482 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
10483 case "x$with_xfixes" in
10484 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
10485 xno) ;;
10486 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
10487 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
10488 esac
10492 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10493 then
10494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10495 /* end confdefs.h. */
10496 #include <X11/Xlib.h>
10497 #include <X11/extensions/Xinerama.h>
10499 main ()
10501 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10503 return 0;
10505 _ACEOF
10506 if ac_fn_c_try_compile "$LINENO"; then :
10507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10508 $as_echo_n "checking for -lXinerama... " >&6; }
10509 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10510 $as_echo_n "(cached) " >&6
10511 else
10512 ac_check_soname_save_LIBS=$LIBS
10513 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10515 /* end confdefs.h. */
10517 /* Override any GCC internal prototype to avoid an error.
10518 Use char because int might match the return type of a GCC
10519 builtin and then its argument prototype would still apply. */
10520 #ifdef __cplusplus
10521 extern "C"
10522 #endif
10523 char XineramaQueryScreens ();
10525 main ()
10527 return XineramaQueryScreens ();
10529 return 0;
10531 _ACEOF
10532 if ac_fn_c_try_link "$LINENO"; then :
10533 case "$LIBEXT" in
10534 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10535 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'` ;;
10536 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10537 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10538 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10539 fi ;;
10540 esac
10542 rm -f core conftest.err conftest.$ac_objext \
10543 conftest$ac_exeext conftest.$ac_ext
10544 LIBS=$ac_check_soname_save_LIBS
10546 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10548 $as_echo "not found" >&6; }
10550 else
10551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10552 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10554 cat >>confdefs.h <<_ACEOF
10555 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10556 _ACEOF
10561 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10563 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10564 case "x$with_xinerama" in
10565 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10566 xno) ;;
10567 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10568 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10569 esac
10573 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10574 then
10575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10576 $as_echo_n "checking for -lXcomposite... " >&6; }
10577 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10578 $as_echo_n "(cached) " >&6
10579 else
10580 ac_check_soname_save_LIBS=$LIBS
10581 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10583 /* end confdefs.h. */
10585 /* Override any GCC internal prototype to avoid an error.
10586 Use char because int might match the return type of a GCC
10587 builtin and then its argument prototype would still apply. */
10588 #ifdef __cplusplus
10589 extern "C"
10590 #endif
10591 char XCompositeRedirectWindow ();
10593 main ()
10595 return XCompositeRedirectWindow ();
10597 return 0;
10599 _ACEOF
10600 if ac_fn_c_try_link "$LINENO"; then :
10601 case "$LIBEXT" in
10602 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10603 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'` ;;
10604 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10605 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10606 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10607 fi ;;
10608 esac
10610 rm -f core conftest.err conftest.$ac_objext \
10611 conftest$ac_exeext conftest.$ac_ext
10612 LIBS=$ac_check_soname_save_LIBS
10614 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10616 $as_echo "not found" >&6; }
10618 else
10619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10620 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10622 cat >>confdefs.h <<_ACEOF
10623 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10624 _ACEOF
10629 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10630 case "x$with_xcomposite" in
10631 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10632 xno) ;;
10633 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10634 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10635 esac
10639 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10640 #include <X11/Xlib.h>
10641 #endif
10643 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10645 cat >>confdefs.h <<_ACEOF
10646 #define HAVE_XICCALLBACK_CALLBACK 1
10647 _ACEOF
10651 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10652 #include <X11/Xlib.h>
10653 #endif
10655 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10657 cat >>confdefs.h <<_ACEOF
10658 #define HAVE_XEVENT_XCOOKIE 1
10659 _ACEOF
10666 opengl_msg=""
10667 if test "x$with_opengl" != "xno"
10668 then
10669 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10670 $as_echo_n "checking for -lGL... " >&6; }
10671 if ${ac_cv_lib_soname_GL+:} false; then :
10672 $as_echo_n "(cached) " >&6
10673 else
10674 ac_check_soname_save_LIBS=$LIBS
10675 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10676 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10677 /* end confdefs.h. */
10679 /* Override any GCC internal prototype to avoid an error.
10680 Use char because int might match the return type of a GCC
10681 builtin and then its argument prototype would still apply. */
10682 #ifdef __cplusplus
10683 extern "C"
10684 #endif
10685 char glXCreateContext ();
10687 main ()
10689 return glXCreateContext ();
10691 return 0;
10693 _ACEOF
10694 if ac_fn_c_try_link "$LINENO"; then :
10695 case "$LIBEXT" in
10696 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10697 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'` ;;
10698 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10699 if ${ac_cv_lib_soname_GL:+false} :; then :
10700 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10701 fi ;;
10702 esac
10704 rm -f core conftest.err conftest.$ac_objext \
10705 conftest$ac_exeext conftest.$ac_ext
10706 LIBS=$ac_check_soname_save_LIBS
10708 if ${ac_cv_lib_soname_GL:+false} :; then :
10709 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10710 $as_echo "not found" >&6; }
10711 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10712 $as_echo_n "checking for -lGL... " >&6; }
10713 if ${ac_cv_lib_soname_GL+:} false; then :
10714 $as_echo_n "(cached) " >&6
10715 else
10716 ac_check_soname_save_LIBS=$LIBS
10717 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"
10718 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10719 /* end confdefs.h. */
10721 /* Override any GCC internal prototype to avoid an error.
10722 Use char because int might match the return type of a GCC
10723 builtin and then its argument prototype would still apply. */
10724 #ifdef __cplusplus
10725 extern "C"
10726 #endif
10727 char glXCreateContext ();
10729 main ()
10731 return glXCreateContext ();
10733 return 0;
10735 _ACEOF
10736 if ac_fn_c_try_link "$LINENO"; then :
10737 case "$LIBEXT" in
10738 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10739 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'` ;;
10740 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10741 if ${ac_cv_lib_soname_GL:+false} :; then :
10742 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10743 fi ;;
10744 esac
10746 rm -f core conftest.err conftest.$ac_objext \
10747 conftest$ac_exeext conftest.$ac_ext
10748 LIBS=$ac_check_soname_save_LIBS
10750 if ${ac_cv_lib_soname_GL:+false} :; then :
10751 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10752 $as_echo "not found" >&6; }
10753 if test -f /usr/X11R6/lib/libGL.a
10754 then
10755 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10756 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10757 else
10758 opengl_msg="No OpenGL library found on this system."
10760 else
10761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10762 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10764 cat >>confdefs.h <<_ACEOF
10765 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10766 _ACEOF
10768 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"
10770 else
10771 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10772 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10774 cat >>confdefs.h <<_ACEOF
10775 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10776 _ACEOF
10778 OPENGL_LIBS="-lGL"
10780 if test "x$with_glu" != "xno"
10781 then
10782 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
10783 $as_echo_n "checking for -lGLU... " >&6; }
10784 if ${ac_cv_lib_soname_GLU+:} false; then :
10785 $as_echo_n "(cached) " >&6
10786 else
10787 ac_check_soname_save_LIBS=$LIBS
10788 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10789 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10790 /* end confdefs.h. */
10792 /* Override any GCC internal prototype to avoid an error.
10793 Use char because int might match the return type of a GCC
10794 builtin and then its argument prototype would still apply. */
10795 #ifdef __cplusplus
10796 extern "C"
10797 #endif
10798 char gluLookAt ();
10800 main ()
10802 return gluLookAt ();
10804 return 0;
10806 _ACEOF
10807 if ac_fn_c_try_link "$LINENO"; then :
10808 case "$LIBEXT" in
10809 dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10810 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'` ;;
10811 *) ac_cv_lib_soname_GLU=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLU\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLU\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10812 if ${ac_cv_lib_soname_GLU:+false} :; then :
10813 ac_cv_lib_soname_GLU=`$LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10814 fi ;;
10815 esac
10817 rm -f core conftest.err conftest.$ac_objext \
10818 conftest$ac_exeext conftest.$ac_ext
10819 LIBS=$ac_check_soname_save_LIBS
10821 if ${ac_cv_lib_soname_GLU:+false} :; then :
10822 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10823 $as_echo "not found" >&6; }
10825 else
10826 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
10827 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
10829 cat >>confdefs.h <<_ACEOF
10830 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
10831 _ACEOF
10835 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
10836 case "x$with_glu" in
10837 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10838 xno) ;;
10839 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10840 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10841 esac
10846 if test "x$with_osmesa" != "xno"
10847 then
10848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10849 $as_echo_n "checking for -lOSMesa... " >&6; }
10850 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10851 $as_echo_n "(cached) " >&6
10852 else
10853 ac_check_soname_save_LIBS=$LIBS
10854 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10856 /* end confdefs.h. */
10858 /* Override any GCC internal prototype to avoid an error.
10859 Use char because int might match the return type of a GCC
10860 builtin and then its argument prototype would still apply. */
10861 #ifdef __cplusplus
10862 extern "C"
10863 #endif
10864 char OSMesaGetProcAddress ();
10866 main ()
10868 return OSMesaGetProcAddress ();
10870 return 0;
10872 _ACEOF
10873 if ac_fn_c_try_link "$LINENO"; then :
10874 case "$LIBEXT" in
10875 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10876 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'` ;;
10877 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10878 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10879 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10880 fi ;;
10881 esac
10883 rm -f core conftest.err conftest.$ac_objext \
10884 conftest$ac_exeext conftest.$ac_ext
10885 LIBS=$ac_check_soname_save_LIBS
10887 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10888 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10889 $as_echo "not found" >&6; }
10891 else
10892 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10893 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10895 cat >>confdefs.h <<_ACEOF
10896 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10897 _ACEOF
10901 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10902 case "x$with_osmesa" in
10903 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10904 xno) ;;
10905 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10906 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10907 esac
10912 if test -n "$opengl_msg"; then :
10913 case "x$with_opengl" in
10914 x) as_fn_append wine_warnings "|$opengl_msg
10915 OpenGL and Direct3D won't be supported." ;;
10916 xno) ;;
10917 *) as_fn_error $? "$opengl_msg
10918 OpenGL and Direct3D won't be supported.
10919 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10920 esac
10924 CPPFLAGS="$ac_save_CPPFLAGS"
10925 else
10926 X_CFLAGS=""
10927 X_LIBS=""
10930 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
10931 then
10932 if test "x$X_LIBS" = "x"; then :
10933 case "x$with_x" in
10934 xno) ;;
10935 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10936 without X support, which probably isn't what you want. You will need
10937 to install ${notice_platform}development packages of Xlib at the very least.
10938 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10939 esac
10940 enable_winex11_drv=${enable_winex11_drv:-no}
10942 else
10943 if test "x$X_LIBS" = "x"; then :
10944 case "x$with_x" in
10945 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
10946 xno) ;;
10947 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
10948 This is an error since --with-x was requested." "$LINENO" 5 ;;
10949 esac
10950 enable_winex11_drv=${enable_winex11_drv:-no}
10954 if test "$ac_cv_header_CL_cl_h" = "yes"
10955 then
10956 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10957 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10958 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10959 $as_echo_n "(cached) " >&6
10960 else
10961 ac_check_lib_save_LIBS=$LIBS
10962 LIBS="-lOpenCL $LIBS"
10963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10964 /* end confdefs.h. */
10966 /* Override any GCC internal prototype to avoid an error.
10967 Use char because int might match the return type of a GCC
10968 builtin and then its argument prototype would still apply. */
10969 #ifdef __cplusplus
10970 extern "C"
10971 #endif
10972 char clGetPlatformInfo ();
10974 main ()
10976 return clGetPlatformInfo ();
10978 return 0;
10980 _ACEOF
10981 if ac_fn_c_try_link "$LINENO"; then :
10982 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10983 else
10984 ac_cv_lib_OpenCL_clGetPlatformInfo=no
10986 rm -f core conftest.err conftest.$ac_objext \
10987 conftest$ac_exeext conftest.$ac_ext
10988 LIBS=$ac_check_lib_save_LIBS
10990 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10991 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10992 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
10993 OPENCL_LIBS="-lOpenCL"
10998 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
10999 case "x$with_opencl" in
11000 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
11001 xno) ;;
11002 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
11003 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
11004 esac
11005 enable_opencl=${enable_opencl:-no}
11008 if test "$ac_cv_header_pcap_pcap_h" = "yes"
11009 then
11010 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
11011 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
11012 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
11013 $as_echo_n "(cached) " >&6
11014 else
11015 ac_check_lib_save_LIBS=$LIBS
11016 LIBS="-lpcap $LIBS"
11017 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11018 /* end confdefs.h. */
11020 /* Override any GCC internal prototype to avoid an error.
11021 Use char because int might match the return type of a GCC
11022 builtin and then its argument prototype would still apply. */
11023 #ifdef __cplusplus
11024 extern "C"
11025 #endif
11026 char pcap_create ();
11028 main ()
11030 return pcap_create ();
11032 return 0;
11034 _ACEOF
11035 if ac_fn_c_try_link "$LINENO"; then :
11036 ac_cv_lib_pcap_pcap_create=yes
11037 else
11038 ac_cv_lib_pcap_pcap_create=no
11040 rm -f core conftest.err conftest.$ac_objext \
11041 conftest$ac_exeext conftest.$ac_ext
11042 LIBS=$ac_check_lib_save_LIBS
11044 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
11045 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
11046 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
11047 PCAP_LIBS="-lpcap"
11052 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
11053 case "x$with_pcap" in
11054 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
11055 xno) ;;
11056 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
11057 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
11058 esac
11059 enable_wpcap=${enable_wpcap:-no}
11063 if test "x$with_xml" != "xno"
11064 then
11065 if ${XML2_CFLAGS:+false} :; then :
11066 if ${PKG_CONFIG+:} false; then :
11067 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
11070 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
11071 if ${XML2_LIBS:+false} :; then :
11072 if ${PKG_CONFIG+:} false; then :
11073 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
11076 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
11077 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
11078 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
11079 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
11080 ac_save_CPPFLAGS=$CPPFLAGS
11081 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
11082 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
11083 do :
11084 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11085 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11086 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11087 cat >>confdefs.h <<_ACEOF
11088 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11089 _ACEOF
11093 done
11095 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"
11096 then
11097 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
11098 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
11099 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
11100 $as_echo_n "(cached) " >&6
11101 else
11102 ac_check_lib_save_LIBS=$LIBS
11103 LIBS="-lxml2 $XML2_LIBS $LIBS"
11104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11105 /* end confdefs.h. */
11107 /* Override any GCC internal prototype to avoid an error.
11108 Use char because int might match the return type of a GCC
11109 builtin and then its argument prototype would still apply. */
11110 #ifdef __cplusplus
11111 extern "C"
11112 #endif
11113 char xmlParseMemory ();
11115 main ()
11117 return xmlParseMemory ();
11119 return 0;
11121 _ACEOF
11122 if ac_fn_c_try_link "$LINENO"; then :
11123 ac_cv_lib_xml2_xmlParseMemory=yes
11124 else
11125 ac_cv_lib_xml2_xmlParseMemory=no
11127 rm -f core conftest.err conftest.$ac_objext \
11128 conftest$ac_exeext conftest.$ac_ext
11129 LIBS=$ac_check_lib_save_LIBS
11131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11132 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11133 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
11135 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11137 else
11138 XML2_LIBS=""
11141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11142 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11143 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
11144 $as_echo_n "(cached) " >&6
11145 else
11146 ac_check_lib_save_LIBS=$LIBS
11147 LIBS="-lxml2 $XML2_LIBS $LIBS"
11148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11149 /* end confdefs.h. */
11151 /* Override any GCC internal prototype to avoid an error.
11152 Use char because int might match the return type of a GCC
11153 builtin and then its argument prototype would still apply. */
11154 #ifdef __cplusplus
11155 extern "C"
11156 #endif
11157 char xmlReadMemory ();
11159 main ()
11161 return xmlReadMemory ();
11163 return 0;
11165 _ACEOF
11166 if ac_fn_c_try_link "$LINENO"; then :
11167 ac_cv_lib_xml2_xmlReadMemory=yes
11168 else
11169 ac_cv_lib_xml2_xmlReadMemory=no
11171 rm -f core conftest.err conftest.$ac_objext \
11172 conftest$ac_exeext conftest.$ac_ext
11173 LIBS=$ac_check_lib_save_LIBS
11175 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11176 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11177 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
11179 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11183 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11184 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11185 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
11186 $as_echo_n "(cached) " >&6
11187 else
11188 ac_check_lib_save_LIBS=$LIBS
11189 LIBS="-lxml2 $XML2_LIBS $LIBS"
11190 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11191 /* end confdefs.h. */
11193 /* Override any GCC internal prototype to avoid an error.
11194 Use char because int might match the return type of a GCC
11195 builtin and then its argument prototype would still apply. */
11196 #ifdef __cplusplus
11197 extern "C"
11198 #endif
11199 char xmlNewDocPI ();
11201 main ()
11203 return xmlNewDocPI ();
11205 return 0;
11207 _ACEOF
11208 if ac_fn_c_try_link "$LINENO"; then :
11209 ac_cv_lib_xml2_xmlNewDocPI=yes
11210 else
11211 ac_cv_lib_xml2_xmlNewDocPI=no
11213 rm -f core conftest.err conftest.$ac_objext \
11214 conftest$ac_exeext conftest.$ac_ext
11215 LIBS=$ac_check_lib_save_LIBS
11217 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11218 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11219 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
11221 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11225 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11226 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11227 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
11228 $as_echo_n "(cached) " >&6
11229 else
11230 ac_check_lib_save_LIBS=$LIBS
11231 LIBS="-lxml2 $XML2_LIBS $LIBS"
11232 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11233 /* end confdefs.h. */
11235 /* Override any GCC internal prototype to avoid an error.
11236 Use char because int might match the return type of a GCC
11237 builtin and then its argument prototype would still apply. */
11238 #ifdef __cplusplus
11239 extern "C"
11240 #endif
11241 char xmlSchemaSetParserStructuredErrors ();
11243 main ()
11245 return xmlSchemaSetParserStructuredErrors ();
11247 return 0;
11249 _ACEOF
11250 if ac_fn_c_try_link "$LINENO"; then :
11251 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
11252 else
11253 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
11255 rm -f core conftest.err conftest.$ac_objext \
11256 conftest$ac_exeext conftest.$ac_ext
11257 LIBS=$ac_check_lib_save_LIBS
11259 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11260 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11261 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
11263 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11267 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11268 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11269 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
11270 $as_echo_n "(cached) " >&6
11271 else
11272 ac_check_lib_save_LIBS=$LIBS
11273 LIBS="-lxml2 $XML2_LIBS $LIBS"
11274 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11275 /* end confdefs.h. */
11277 /* Override any GCC internal prototype to avoid an error.
11278 Use char because int might match the return type of a GCC
11279 builtin and then its argument prototype would still apply. */
11280 #ifdef __cplusplus
11281 extern "C"
11282 #endif
11283 char xmlSchemaSetValidStructuredErrors ();
11285 main ()
11287 return xmlSchemaSetValidStructuredErrors ();
11289 return 0;
11291 _ACEOF
11292 if ac_fn_c_try_link "$LINENO"; then :
11293 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11294 else
11295 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11297 rm -f core conftest.err conftest.$ac_objext \
11298 conftest$ac_exeext conftest.$ac_ext
11299 LIBS=$ac_check_lib_save_LIBS
11301 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11302 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11303 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11305 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11309 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11310 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11311 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11312 $as_echo_n "(cached) " >&6
11313 else
11314 ac_check_lib_save_LIBS=$LIBS
11315 LIBS="-lxml2 $XML2_LIBS $LIBS"
11316 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11317 /* end confdefs.h. */
11319 /* Override any GCC internal prototype to avoid an error.
11320 Use char because int might match the return type of a GCC
11321 builtin and then its argument prototype would still apply. */
11322 #ifdef __cplusplus
11323 extern "C"
11324 #endif
11325 char xmlFirstElementChild ();
11327 main ()
11329 return xmlFirstElementChild ();
11331 return 0;
11333 _ACEOF
11334 if ac_fn_c_try_link "$LINENO"; then :
11335 ac_cv_lib_xml2_xmlFirstElementChild=yes
11336 else
11337 ac_cv_lib_xml2_xmlFirstElementChild=no
11339 rm -f core conftest.err conftest.$ac_objext \
11340 conftest$ac_exeext conftest.$ac_ext
11341 LIBS=$ac_check_lib_save_LIBS
11343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11344 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11345 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11347 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11351 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11353 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11355 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11359 else
11360 XML2_CFLAGS=""
11361 XML2_LIBS=""
11363 CPPFLAGS=$ac_save_CPPFLAGS
11364 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11365 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11368 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11369 case "x$with_xml" in
11370 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11371 xno) ;;
11372 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11373 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11374 esac
11378 if test "x$with_xslt" != "xno"
11379 then
11380 if ${XSLT_CFLAGS:+false} :; then :
11381 if ${PKG_CONFIG+:} false; then :
11382 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11385 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
11386 if ${XSLT_LIBS:+false} :; then :
11387 if ${PKG_CONFIG+:} false; then :
11388 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11391 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
11392 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11393 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11394 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11395 ac_save_CPPFLAGS=$CPPFLAGS
11396 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11397 for ac_header in libxslt/pattern.h libxslt/transform.h
11398 do :
11399 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11400 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11401 # include <libxslt/pattern.h>
11402 #endif
11404 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11405 cat >>confdefs.h <<_ACEOF
11406 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11407 _ACEOF
11411 done
11413 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11414 then
11415 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11416 $as_echo_n "checking for -lxslt... " >&6; }
11417 if ${ac_cv_lib_soname_xslt+:} false; then :
11418 $as_echo_n "(cached) " >&6
11419 else
11420 ac_check_soname_save_LIBS=$LIBS
11421 LIBS="-lxslt $XSLT_LIBS $LIBS"
11422 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11423 /* end confdefs.h. */
11425 /* Override any GCC internal prototype to avoid an error.
11426 Use char because int might match the return type of a GCC
11427 builtin and then its argument prototype would still apply. */
11428 #ifdef __cplusplus
11429 extern "C"
11430 #endif
11431 char xsltCompilePattern ();
11433 main ()
11435 return xsltCompilePattern ();
11437 return 0;
11439 _ACEOF
11440 if ac_fn_c_try_link "$LINENO"; then :
11441 case "$LIBEXT" in
11442 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11443 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'` ;;
11444 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11445 if ${ac_cv_lib_soname_xslt:+false} :; then :
11446 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11447 fi ;;
11448 esac
11450 rm -f core conftest.err conftest.$ac_objext \
11451 conftest$ac_exeext conftest.$ac_ext
11452 LIBS=$ac_check_soname_save_LIBS
11454 if ${ac_cv_lib_soname_xslt:+false} :; then :
11455 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11456 $as_echo "not found" >&6; }
11458 else
11459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11460 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11462 cat >>confdefs.h <<_ACEOF
11463 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11464 _ACEOF
11468 else
11469 XSLT_CFLAGS=""
11471 CPPFLAGS=$ac_save_CPPFLAGS
11472 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11473 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11476 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11477 case "x$with_xslt" in
11478 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11479 xno) ;;
11480 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11481 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11482 esac
11486 if test "x$with_dbus" != "xno"
11487 then
11488 if ${DBUS_CFLAGS:+false} :; then :
11489 if ${PKG_CONFIG+:} false; then :
11490 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11494 if ${DBUS_LIBS:+false} :; then :
11495 if ${PKG_CONFIG+:} false; then :
11496 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11501 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11502 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11503 ac_save_CPPFLAGS=$CPPFLAGS
11504 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11505 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11506 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11507 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11508 $as_echo_n "checking for -ldbus-1... " >&6; }
11509 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11510 $as_echo_n "(cached) " >&6
11511 else
11512 ac_check_soname_save_LIBS=$LIBS
11513 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11514 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11515 /* end confdefs.h. */
11517 /* Override any GCC internal prototype to avoid an error.
11518 Use char because int might match the return type of a GCC
11519 builtin and then its argument prototype would still apply. */
11520 #ifdef __cplusplus
11521 extern "C"
11522 #endif
11523 char dbus_connection_close ();
11525 main ()
11527 return dbus_connection_close ();
11529 return 0;
11531 _ACEOF
11532 if ac_fn_c_try_link "$LINENO"; then :
11533 case "$LIBEXT" in
11534 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11535 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'` ;;
11536 *) 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'`
11537 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11538 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11539 fi ;;
11540 esac
11542 rm -f core conftest.err conftest.$ac_objext \
11543 conftest$ac_exeext conftest.$ac_ext
11544 LIBS=$ac_check_soname_save_LIBS
11546 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11547 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11548 $as_echo "not found" >&6; }
11549 DBUS_CFLAGS=""
11550 else
11551 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11552 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11554 cat >>confdefs.h <<_ACEOF
11555 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11556 _ACEOF
11560 else
11561 DBUS_CFLAGS=""
11565 CPPFLAGS=$ac_save_CPPFLAGS
11566 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11567 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11570 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11571 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11572 case "x$with_dbus" in
11573 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11574 xno) ;;
11575 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11576 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11577 esac
11581 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11582 then
11583 if ${HAL_CFLAGS:+false} :; then :
11584 if ${PKG_CONFIG+:} false; then :
11585 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11589 if ${HAL_LIBS:+false} :; then :
11590 if ${PKG_CONFIG+:} false; then :
11591 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11595 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11596 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11597 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11598 ac_save_CPPFLAGS=$CPPFLAGS
11599 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11600 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11601 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11603 $as_echo_n "checking for -lhal... " >&6; }
11604 if ${ac_cv_lib_soname_hal+:} false; then :
11605 $as_echo_n "(cached) " >&6
11606 else
11607 ac_check_soname_save_LIBS=$LIBS
11608 LIBS="-lhal $HAL_LIBS $LIBS"
11609 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11610 /* end confdefs.h. */
11612 /* Override any GCC internal prototype to avoid an error.
11613 Use char because int might match the return type of a GCC
11614 builtin and then its argument prototype would still apply. */
11615 #ifdef __cplusplus
11616 extern "C"
11617 #endif
11618 char libhal_ctx_new ();
11620 main ()
11622 return libhal_ctx_new ();
11624 return 0;
11626 _ACEOF
11627 if ac_fn_c_try_link "$LINENO"; then :
11628 case "$LIBEXT" in
11629 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11630 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'` ;;
11631 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11632 if ${ac_cv_lib_soname_hal:+false} :; then :
11633 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11634 fi ;;
11635 esac
11637 rm -f core conftest.err conftest.$ac_objext \
11638 conftest$ac_exeext conftest.$ac_ext
11639 LIBS=$ac_check_soname_save_LIBS
11641 if ${ac_cv_lib_soname_hal:+false} :; then :
11642 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11643 $as_echo "not found" >&6; }
11644 HAL_CFLAGS=""
11645 else
11646 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11647 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11649 cat >>confdefs.h <<_ACEOF
11650 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11651 _ACEOF
11655 else
11656 HAL_CFLAGS=""
11660 CPPFLAGS=$ac_save_CPPFLAGS
11661 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11662 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11664 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11665 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11666 case "x$with_hal" in
11667 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11668 xno) ;;
11669 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11670 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11671 esac
11676 if test "x$with_gnutls" != "xno"
11677 then
11678 if ${GNUTLS_CFLAGS:+false} :; then :
11679 if ${PKG_CONFIG+:} false; then :
11680 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11684 if ${GNUTLS_LIBS:+false} :; then :
11685 if ${PKG_CONFIG+:} false; then :
11686 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11691 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11692 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11693 ac_save_CPPFLAGS=$CPPFLAGS
11694 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11695 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11696 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11697 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11698 /* end confdefs.h. */
11699 #include <gnutls/gnutls.h>
11700 #include <gnutls/crypto.h>
11702 main ()
11704 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11706 return 0;
11708 _ACEOF
11709 if ac_fn_c_try_compile "$LINENO"; then :
11710 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11711 $as_echo_n "checking for -lgnutls... " >&6; }
11712 if ${ac_cv_lib_soname_gnutls+:} false; then :
11713 $as_echo_n "(cached) " >&6
11714 else
11715 ac_check_soname_save_LIBS=$LIBS
11716 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11717 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11718 /* end confdefs.h. */
11720 /* Override any GCC internal prototype to avoid an error.
11721 Use char because int might match the return type of a GCC
11722 builtin and then its argument prototype would still apply. */
11723 #ifdef __cplusplus
11724 extern "C"
11725 #endif
11726 char gnutls_global_init ();
11728 main ()
11730 return gnutls_global_init ();
11732 return 0;
11734 _ACEOF
11735 if ac_fn_c_try_link "$LINENO"; then :
11736 case "$LIBEXT" in
11737 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11738 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'` ;;
11739 *) 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'`
11740 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11741 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'`
11742 fi ;;
11743 esac
11745 rm -f core conftest.err conftest.$ac_objext \
11746 conftest$ac_exeext conftest.$ac_ext
11747 LIBS=$ac_check_soname_save_LIBS
11749 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11750 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11751 $as_echo "not found" >&6; }
11752 GNUTLS_CFLAGS=""
11753 else
11754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11755 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11757 cat >>confdefs.h <<_ACEOF
11758 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11759 _ACEOF
11763 ac_wine_check_funcs_save_LIBS="$LIBS"
11764 LIBS="$LIBS $GNUTLS_LIBS"
11765 for ac_func in gnutls_cipher_init
11766 do :
11767 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
11768 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
11769 cat >>confdefs.h <<_ACEOF
11770 #define HAVE_GNUTLS_CIPHER_INIT 1
11771 _ACEOF
11773 else
11774 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
11776 done
11778 LIBS="$ac_wine_check_funcs_save_LIBS"
11780 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11781 else
11782 GNUTLS_CFLAGS=""
11786 CPPFLAGS=$ac_save_CPPFLAGS
11787 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11788 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11791 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11792 case "x$with_gnutls" in
11793 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11794 xno) ;;
11795 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11796 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11797 esac
11801 CURSES_LIBS=""
11802 if test "$ac_cv_header_ncurses_h" = "yes"
11803 then
11804 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11805 $as_echo_n "checking for -lncurses... " >&6; }
11806 if ${ac_cv_lib_soname_ncurses+:} false; then :
11807 $as_echo_n "(cached) " >&6
11808 else
11809 ac_check_soname_save_LIBS=$LIBS
11810 LIBS="-lncurses $LIBS"
11811 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11812 /* end confdefs.h. */
11814 /* Override any GCC internal prototype to avoid an error.
11815 Use char because int might match the return type of a GCC
11816 builtin and then its argument prototype would still apply. */
11817 #ifdef __cplusplus
11818 extern "C"
11819 #endif
11820 char waddch ();
11822 main ()
11824 return waddch ();
11826 return 0;
11828 _ACEOF
11829 if ac_fn_c_try_link "$LINENO"; then :
11830 case "$LIBEXT" in
11831 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11832 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'` ;;
11833 *) 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'`
11834 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11835 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11836 fi ;;
11837 esac
11839 rm -f core conftest.err conftest.$ac_objext \
11840 conftest$ac_exeext conftest.$ac_ext
11841 LIBS=$ac_check_soname_save_LIBS
11843 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11845 $as_echo "not found" >&6; }
11847 else
11848 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11849 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11851 cat >>confdefs.h <<_ACEOF
11852 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11853 _ACEOF
11855 CURSES_LIBS="-lncurses"
11857 elif test "$ac_cv_header_curses_h" = "yes"
11858 then
11859 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11860 $as_echo_n "checking for -lcurses... " >&6; }
11861 if ${ac_cv_lib_soname_curses+:} false; then :
11862 $as_echo_n "(cached) " >&6
11863 else
11864 ac_check_soname_save_LIBS=$LIBS
11865 LIBS="-lcurses $LIBS"
11866 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11867 /* end confdefs.h. */
11869 /* Override any GCC internal prototype to avoid an error.
11870 Use char because int might match the return type of a GCC
11871 builtin and then its argument prototype would still apply. */
11872 #ifdef __cplusplus
11873 extern "C"
11874 #endif
11875 char waddch ();
11877 main ()
11879 return waddch ();
11881 return 0;
11883 _ACEOF
11884 if ac_fn_c_try_link "$LINENO"; then :
11885 case "$LIBEXT" in
11886 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11887 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'` ;;
11888 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11889 if ${ac_cv_lib_soname_curses:+false} :; then :
11890 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11891 fi ;;
11892 esac
11894 rm -f core conftest.err conftest.$ac_objext \
11895 conftest$ac_exeext conftest.$ac_ext
11896 LIBS=$ac_check_soname_save_LIBS
11898 if ${ac_cv_lib_soname_curses:+false} :; then :
11899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11900 $as_echo "not found" >&6; }
11902 else
11903 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11904 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11906 cat >>confdefs.h <<_ACEOF
11907 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11908 _ACEOF
11910 CURSES_LIBS="-lcurses"
11913 ac_save_LIBS="$LIBS"
11914 LIBS="$LIBS $CURSES_LIBS"
11915 for ac_func in mousemask
11916 do :
11917 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11918 if test "x$ac_cv_func_mousemask" = xyes; then :
11919 cat >>confdefs.h <<_ACEOF
11920 #define HAVE_MOUSEMASK 1
11921 _ACEOF
11924 done
11926 LIBS="$ac_save_LIBS"
11927 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11928 case "x$with_curses" in
11929 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11930 xno) ;;
11931 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11932 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11933 esac
11937 if test "x$with_sane" != "xno"
11938 then
11939 if ${SANE_CFLAGS:+false} :; then :
11940 if ${PKG_CONFIG+:} false; then :
11941 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11944 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
11945 if ${SANE_LIBS:+false} :; then :
11946 if ${PKG_CONFIG+:} false; then :
11947 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11950 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
11952 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11953 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11954 ac_save_CPPFLAGS=$CPPFLAGS
11955 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
11956 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11957 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
11958 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11959 $as_echo_n "checking for -lsane... " >&6; }
11960 if ${ac_cv_lib_soname_sane+:} false; then :
11961 $as_echo_n "(cached) " >&6
11962 else
11963 ac_check_soname_save_LIBS=$LIBS
11964 LIBS="-lsane $SANE_LIBS $LIBS"
11965 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11966 /* end confdefs.h. */
11968 /* Override any GCC internal prototype to avoid an error.
11969 Use char because int might match the return type of a GCC
11970 builtin and then its argument prototype would still apply. */
11971 #ifdef __cplusplus
11972 extern "C"
11973 #endif
11974 char sane_init ();
11976 main ()
11978 return sane_init ();
11980 return 0;
11982 _ACEOF
11983 if ac_fn_c_try_link "$LINENO"; then :
11984 case "$LIBEXT" in
11985 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11986 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'` ;;
11987 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11988 if ${ac_cv_lib_soname_sane:+false} :; then :
11989 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11990 fi ;;
11991 esac
11993 rm -f core conftest.err conftest.$ac_objext \
11994 conftest$ac_exeext conftest.$ac_ext
11995 LIBS=$ac_check_soname_save_LIBS
11997 if ${ac_cv_lib_soname_sane:+false} :; then :
11998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11999 $as_echo "not found" >&6; }
12000 SANE_CFLAGS=""
12001 else
12002 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
12003 $as_echo "$ac_cv_lib_soname_sane" >&6; }
12005 cat >>confdefs.h <<_ACEOF
12006 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
12007 _ACEOF
12011 else
12012 SANE_CFLAGS=""
12016 CPPFLAGS=$ac_save_CPPFLAGS
12017 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12018 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12021 if test "x$ac_cv_lib_soname_sane" = "x"; then :
12022 case "x$with_sane" in
12023 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
12024 xno) ;;
12025 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
12026 This is an error since --with-sane was requested." "$LINENO" 5 ;;
12027 esac
12031 if test "x$with_v4l" != "xno"
12032 then
12033 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
12034 $as_echo_n "checking for -lv4l1... " >&6; }
12035 if ${ac_cv_lib_soname_v4l1+:} false; then :
12036 $as_echo_n "(cached) " >&6
12037 else
12038 ac_check_soname_save_LIBS=$LIBS
12039 LIBS="-lv4l1 $LIBS"
12040 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12041 /* end confdefs.h. */
12043 /* Override any GCC internal prototype to avoid an error.
12044 Use char because int might match the return type of a GCC
12045 builtin and then its argument prototype would still apply. */
12046 #ifdef __cplusplus
12047 extern "C"
12048 #endif
12049 char v4l1_open ();
12051 main ()
12053 return v4l1_open ();
12055 return 0;
12057 _ACEOF
12058 if ac_fn_c_try_link "$LINENO"; then :
12059 case "$LIBEXT" in
12060 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12061 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'` ;;
12062 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12063 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12064 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12065 fi ;;
12066 esac
12068 rm -f core conftest.err conftest.$ac_objext \
12069 conftest$ac_exeext conftest.$ac_ext
12070 LIBS=$ac_check_soname_save_LIBS
12072 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12073 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12074 $as_echo "not found" >&6; }
12076 else
12077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
12078 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
12080 cat >>confdefs.h <<_ACEOF
12081 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
12082 _ACEOF
12087 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
12088 case "x$with_v4l" in
12089 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
12090 xno) ;;
12091 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
12092 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
12093 esac
12097 if test "x$with_gphoto" != "xno"
12098 then
12099 if ${GPHOTO2_CFLAGS:+false} :; then :
12100 if ${PKG_CONFIG+:} false; then :
12101 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
12104 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
12105 if ${GPHOTO2_LIBS:+false} :; then :
12106 if ${PKG_CONFIG+:} false; then :
12107 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
12110 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
12111 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
12112 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
12113 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
12114 ac_save_CPPFLAGS=$CPPFLAGS
12115 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
12116 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
12117 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
12118 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
12119 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
12120 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
12121 $as_echo_n "(cached) " >&6
12122 else
12123 ac_check_lib_save_LIBS=$LIBS
12124 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
12125 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12126 /* end confdefs.h. */
12128 /* Override any GCC internal prototype to avoid an error.
12129 Use char because int might match the return type of a GCC
12130 builtin and then its argument prototype would still apply. */
12131 #ifdef __cplusplus
12132 extern "C"
12133 #endif
12134 char gp_camera_new ();
12136 main ()
12138 return gp_camera_new ();
12140 return 0;
12142 _ACEOF
12143 if ac_fn_c_try_link "$LINENO"; then :
12144 ac_cv_lib_gphoto2_gp_camera_new=yes
12145 else
12146 ac_cv_lib_gphoto2_gp_camera_new=no
12148 rm -f core conftest.err conftest.$ac_objext \
12149 conftest$ac_exeext conftest.$ac_ext
12150 LIBS=$ac_check_lib_save_LIBS
12152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12153 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12154 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
12156 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
12158 else
12159 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12162 else
12163 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12167 CPPFLAGS=$ac_save_CPPFLAGS
12168 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12169 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12171 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12172 if ${PKG_CONFIG+:} false; then :
12173 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12176 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
12177 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12178 if ${PKG_CONFIG+:} false; then :
12179 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12182 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
12183 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12184 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12185 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12186 ac_save_CPPFLAGS=$CPPFLAGS
12187 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12188 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12189 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
12190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12191 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12192 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
12193 $as_echo_n "(cached) " >&6
12194 else
12195 ac_check_lib_save_LIBS=$LIBS
12196 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12198 /* end confdefs.h. */
12200 /* Override any GCC internal prototype to avoid an error.
12201 Use char because int might match the return type of a GCC
12202 builtin and then its argument prototype would still apply. */
12203 #ifdef __cplusplus
12204 extern "C"
12205 #endif
12206 char gp_port_info_list_new ();
12208 main ()
12210 return gp_port_info_list_new ();
12212 return 0;
12214 _ACEOF
12215 if ac_fn_c_try_link "$LINENO"; then :
12216 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
12217 else
12218 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
12220 rm -f core conftest.err conftest.$ac_objext \
12221 conftest$ac_exeext conftest.$ac_ext
12222 LIBS=$ac_check_lib_save_LIBS
12224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12225 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12226 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
12228 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12230 else
12231 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12234 else
12235 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12239 CPPFLAGS=$ac_save_CPPFLAGS
12240 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12241 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12244 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12245 case "x$with_gphoto" in
12246 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12247 xno) ;;
12248 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12249 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12250 esac
12253 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12254 case "x$with_gphoto" in
12255 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12256 xno) ;;
12257 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12258 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12259 esac
12264 if test "$ac_cv_header_resolv_h" = "yes"
12265 then
12266 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12267 $as_echo_n "checking for resolver library... " >&6; }
12268 if ${ac_cv_have_resolv+:} false; then :
12269 $as_echo_n "(cached) " >&6
12270 else
12271 ac_save_LIBS="$LIBS"
12272 for lib in '' -lresolv
12274 LIBS="$lib $ac_save_LIBS"
12275 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12276 /* end confdefs.h. */
12277 #ifdef HAVE_NETINET_IN_H
12278 #include <netinet/in.h>
12279 #endif
12280 #include <resolv.h>
12282 main ()
12284 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12286 return 0;
12288 _ACEOF
12289 if ac_fn_c_try_link "$LINENO"; then :
12290 ac_cv_have_resolv=${lib:-"none required"}
12291 else
12292 ac_cv_have_resolv="not found"
12294 rm -f core conftest.err conftest.$ac_objext \
12295 conftest$ac_exeext conftest.$ac_ext
12296 test "x$ac_cv_have_resolv" = "xnot found" || break
12297 done
12298 LIBS="$ac_save_LIBS"
12300 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12301 $as_echo "$ac_cv_have_resolv" >&6; }
12303 case "$ac_cv_have_resolv" in
12304 "not found") ;;
12305 "none required")
12307 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12310 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12312 RESOLV_LIBS=$ac_cv_have_resolv
12314 esac
12317 if test "x$with_cms" != "xno"
12318 then
12319 if ${LCMS2_CFLAGS:+false} :; then :
12320 if ${PKG_CONFIG+:} false; then :
12321 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12325 if ${LCMS2_LIBS:+false} :; then :
12326 if ${PKG_CONFIG+:} false; then :
12327 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12331 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12332 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12333 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12334 ac_save_CPPFLAGS=$CPPFLAGS
12335 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12336 for ac_header in lcms2.h
12337 do :
12338 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12339 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12340 cat >>confdefs.h <<_ACEOF
12341 #define HAVE_LCMS2_H 1
12342 _ACEOF
12346 done
12348 if test "$ac_cv_header_lcms2_h" = "yes"
12349 then
12350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12351 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12352 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12353 $as_echo_n "(cached) " >&6
12354 else
12355 ac_check_lib_save_LIBS=$LIBS
12356 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12358 /* end confdefs.h. */
12360 /* Override any GCC internal prototype to avoid an error.
12361 Use char because int might match the return type of a GCC
12362 builtin and then its argument prototype would still apply. */
12363 #ifdef __cplusplus
12364 extern "C"
12365 #endif
12366 char cmsOpenProfileFromFile ();
12368 main ()
12370 return cmsOpenProfileFromFile ();
12372 return 0;
12374 _ACEOF
12375 if ac_fn_c_try_link "$LINENO"; then :
12376 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12377 else
12378 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12380 rm -f core conftest.err conftest.$ac_objext \
12381 conftest$ac_exeext conftest.$ac_ext
12382 LIBS=$ac_check_lib_save_LIBS
12384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12385 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12386 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12388 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12390 else
12391 LCMS2_LIBS=""
12394 else
12395 LCMS2_CFLAGS=""
12396 LCMS2_LIBS=""
12398 CPPFLAGS=$ac_save_CPPFLAGS
12399 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12400 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12403 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12404 case "x$with_cms" in
12405 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12406 xno) ;;
12407 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12408 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12409 esac
12413 if test "x$with_freetype" != "xno"
12414 then
12415 if ${FREETYPE_CFLAGS:+false} :; then :
12416 if ${PKG_CONFIG+:} false; then :
12417 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12420 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
12421 if ${FREETYPE_LIBS:+false} :; then :
12422 if ${PKG_CONFIG+:} false; then :
12423 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12426 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
12427 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12428 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12429 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12430 ac_save_CPPFLAGS=$CPPFLAGS
12431 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12432 for ac_header in ft2build.h
12433 do :
12434 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12435 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12436 cat >>confdefs.h <<_ACEOF
12437 #define HAVE_FT2BUILD_H 1
12438 _ACEOF
12442 done
12444 if test "$ac_cv_header_ft2build_h" = "yes"
12445 then
12446 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12447 $as_echo_n "checking for -lfreetype... " >&6; }
12448 if ${ac_cv_lib_soname_freetype+:} false; then :
12449 $as_echo_n "(cached) " >&6
12450 else
12451 ac_check_soname_save_LIBS=$LIBS
12452 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12453 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12454 /* end confdefs.h. */
12456 /* Override any GCC internal prototype to avoid an error.
12457 Use char because int might match the return type of a GCC
12458 builtin and then its argument prototype would still apply. */
12459 #ifdef __cplusplus
12460 extern "C"
12461 #endif
12462 char FT_Init_FreeType ();
12464 main ()
12466 return FT_Init_FreeType ();
12468 return 0;
12470 _ACEOF
12471 if ac_fn_c_try_link "$LINENO"; then :
12472 case "$LIBEXT" in
12473 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12474 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'` ;;
12475 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12476 if ${ac_cv_lib_soname_freetype:+false} :; then :
12477 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12478 fi ;;
12479 esac
12481 rm -f core conftest.err conftest.$ac_objext \
12482 conftest$ac_exeext conftest.$ac_ext
12483 LIBS=$ac_check_soname_save_LIBS
12485 if ${ac_cv_lib_soname_freetype:+false} :; then :
12486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12487 $as_echo "not found" >&6; }
12488 FREETYPE_LIBS=""
12489 else
12490 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12491 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12493 cat >>confdefs.h <<_ACEOF
12494 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12495 _ACEOF
12498 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12500 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12501 #include FT_MODULE_H
12503 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12505 cat >>confdefs.h <<_ACEOF
12506 #define HAVE_FT_TRUETYPEENGINETYPE 1
12507 _ACEOF
12513 else
12514 FREETYPE_CFLAGS=""
12515 FREETYPE_LIBS=""
12517 CPPFLAGS=$ac_save_CPPFLAGS
12518 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12519 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12522 if test "x$ac_cv_lib_soname_freetype" = x; then :
12523 case "x$with_freetype" in
12524 xno) ;;
12525 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12526 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12527 esac
12528 enable_fonts=${enable_fonts:-no}
12531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12532 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12533 if ${ac_cv_c_ppdev+:} false; then :
12534 $as_echo_n "(cached) " >&6
12535 else
12536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12537 /* end confdefs.h. */
12538 #ifdef HAVE_SYS_IOCTL_H
12539 # include <sys/ioctl.h>
12540 #endif
12541 #include <linux/ppdev.h>
12543 main ()
12545 ioctl (1,PPCLAIM,0)
12547 return 0;
12549 _ACEOF
12550 if ac_fn_c_try_compile "$LINENO"; then :
12551 ac_cv_c_ppdev="yes"
12552 else
12553 ac_cv_c_ppdev="no"
12555 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12557 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12558 $as_echo "$ac_cv_c_ppdev" >&6; }
12559 if test "$ac_cv_c_ppdev" = "yes"
12560 then
12562 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12566 ac_wine_check_funcs_save_LIBS="$LIBS"
12567 LIBS="$LIBS $PTHREAD_LIBS"
12568 for ac_func in \
12569 pthread_attr_get_np \
12570 pthread_getattr_np \
12571 pthread_getthreadid_np \
12572 pthread_get_stackaddr_np \
12573 pthread_get_stacksize_np
12574 do :
12575 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12576 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12577 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12578 cat >>confdefs.h <<_ACEOF
12579 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12580 _ACEOF
12583 done
12585 LIBS="$ac_wine_check_funcs_save_LIBS"
12587 if test "$ac_cv_header_zlib_h" = "yes"
12588 then
12589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12590 $as_echo_n "checking for inflate in -lz... " >&6; }
12591 if ${ac_cv_lib_z_inflate+:} false; then :
12592 $as_echo_n "(cached) " >&6
12593 else
12594 ac_check_lib_save_LIBS=$LIBS
12595 LIBS="-lz $LIBS"
12596 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12597 /* end confdefs.h. */
12599 /* Override any GCC internal prototype to avoid an error.
12600 Use char because int might match the return type of a GCC
12601 builtin and then its argument prototype would still apply. */
12602 #ifdef __cplusplus
12603 extern "C"
12604 #endif
12605 char inflate ();
12607 main ()
12609 return inflate ();
12611 return 0;
12613 _ACEOF
12614 if ac_fn_c_try_link "$LINENO"; then :
12615 ac_cv_lib_z_inflate=yes
12616 else
12617 ac_cv_lib_z_inflate=no
12619 rm -f core conftest.err conftest.$ac_objext \
12620 conftest$ac_exeext conftest.$ac_ext
12621 LIBS=$ac_check_lib_save_LIBS
12623 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12624 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12625 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12627 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12629 Z_LIBS="-lz"
12634 if test "x$Z_LIBS" = "x"; then :
12635 case "x$with_zlib" in
12636 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12637 xno) ;;
12638 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12639 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12640 esac
12644 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
12645 then
12646 if test "$ac_cv_header_gettext_po_h" = "yes"
12647 then
12648 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12649 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12650 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12651 $as_echo_n "(cached) " >&6
12652 else
12653 ac_check_lib_save_LIBS=$LIBS
12654 LIBS="-lgettextpo $LIBS"
12655 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12656 /* end confdefs.h. */
12658 /* Override any GCC internal prototype to avoid an error.
12659 Use char because int might match the return type of a GCC
12660 builtin and then its argument prototype would still apply. */
12661 #ifdef __cplusplus
12662 extern "C"
12663 #endif
12664 char po_message_msgctxt ();
12666 main ()
12668 return po_message_msgctxt ();
12670 return 0;
12672 _ACEOF
12673 if ac_fn_c_try_link "$LINENO"; then :
12674 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12675 else
12676 ac_cv_lib_gettextpo_po_message_msgctxt=no
12678 rm -f core conftest.err conftest.$ac_objext \
12679 conftest$ac_exeext conftest.$ac_ext
12680 LIBS=$ac_check_lib_save_LIBS
12682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12683 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12684 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12686 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12688 GETTEXTPO_LIBS="-lgettextpo"
12693 if test "x$GETTEXTPO_LIBS" = "x"; then :
12694 case "x$with_gettextpo" in
12695 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12696 xno) ;;
12697 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12698 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12699 esac
12702 if test "$srcdir" != .; then :
12703 case "x$with_gettextpo" in
12704 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
12705 xno) ;;
12706 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
12707 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12708 esac
12713 if test "x$with_pulse" != "xno";
12714 then
12715 if ${PULSE_CFLAGS:+false} :; then :
12716 if ${PKG_CONFIG+:} false; then :
12717 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
12721 if ${PULSE_LIBS:+false} :; then :
12722 if ${PKG_CONFIG+:} false; then :
12723 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
12728 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
12729 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
12730 ac_save_CPPFLAGS=$CPPFLAGS
12731 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
12732 for ac_header in pulse/pulseaudio.h
12733 do :
12734 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
12735 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
12736 cat >>confdefs.h <<_ACEOF
12737 #define HAVE_PULSE_PULSEAUDIO_H 1
12738 _ACEOF
12739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
12740 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
12741 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
12742 $as_echo_n "(cached) " >&6
12743 else
12744 ac_check_lib_save_LIBS=$LIBS
12745 LIBS="-lpulse $PULSE_LIBS $LIBS"
12746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12747 /* end confdefs.h. */
12749 /* Override any GCC internal prototype to avoid an error.
12750 Use char because int might match the return type of a GCC
12751 builtin and then its argument prototype would still apply. */
12752 #ifdef __cplusplus
12753 extern "C"
12754 #endif
12755 char pa_stream_is_corked ();
12757 main ()
12759 return pa_stream_is_corked ();
12761 return 0;
12763 _ACEOF
12764 if ac_fn_c_try_link "$LINENO"; then :
12765 ac_cv_lib_pulse_pa_stream_is_corked=yes
12766 else
12767 ac_cv_lib_pulse_pa_stream_is_corked=no
12769 rm -f core conftest.err conftest.$ac_objext \
12770 conftest$ac_exeext conftest.$ac_ext
12771 LIBS=$ac_check_lib_save_LIBS
12773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
12774 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
12775 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
12777 else
12778 PULSE_LIBS=""
12781 else
12782 PULSE_LIBS=""
12785 done
12787 CPPFLAGS=$ac_save_CPPFLAGS
12788 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12789 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12792 if test -z "$PULSE_LIBS"; then :
12793 case "x$with_pulse" in
12794 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
12795 xno) ;;
12796 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
12797 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
12798 esac
12799 enable_winepulse_drv=${enable_winepulse_drv:-no}
12802 if test "x$with_gstreamer" != "xno"
12803 then
12804 if ${GSTREAMER_CFLAGS:+false} :; then :
12805 if ${PKG_CONFIG+:} false; then :
12806 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12810 if ${GSTREAMER_LIBS:+false} :; then :
12811 if ${PKG_CONFIG+:} false; then :
12812 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12817 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
12818 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
12819 ac_save_CPPFLAGS=$CPPFLAGS
12820 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12821 ac_gst_incl=""
12822 for i in $GSTREAMER_CFLAGS
12824 case "$i" in
12825 -I*) ac_gst_incl="$ac_gst_incl $i";;
12826 esac
12827 done
12828 GSTREAMER_CFLAGS=$ac_gst_incl
12829 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12830 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
12831 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
12832 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
12833 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
12834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12835 /* end confdefs.h. */
12836 #include <gst/gst.h>
12838 main ()
12840 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12842 return 0;
12844 _ACEOF
12845 if ac_fn_c_try_compile "$LINENO"; then :
12846 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12847 $as_echo "yes" >&6; }
12848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
12849 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
12850 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
12851 $as_echo_n "(cached) " >&6
12852 else
12853 ac_check_lib_save_LIBS=$LIBS
12854 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
12855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12856 /* end confdefs.h. */
12858 /* Override any GCC internal prototype to avoid an error.
12859 Use char because int might match the return type of a GCC
12860 builtin and then its argument prototype would still apply. */
12861 #ifdef __cplusplus
12862 extern "C"
12863 #endif
12864 char gst_pad_new ();
12866 main ()
12868 return gst_pad_new ();
12870 return 0;
12872 _ACEOF
12873 if ac_fn_c_try_link "$LINENO"; then :
12874 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
12875 else
12876 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
12878 rm -f core conftest.err conftest.$ac_objext \
12879 conftest$ac_exeext conftest.$ac_ext
12880 LIBS=$ac_check_lib_save_LIBS
12882 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
12883 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
12884 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
12888 else
12889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12890 $as_echo "no" >&6; }
12891 ac_glib2_broken=yes
12892 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
12894 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12898 CPPFLAGS=$ac_save_CPPFLAGS
12899 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12900 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12903 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 :
12904 case "x$with_gstreamer" in
12905 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
12906 xno) ;;
12907 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
12908 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12909 esac
12912 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12914 ALSA_LIBS=""
12916 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12917 then
12918 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12919 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12920 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12921 $as_echo_n "(cached) " >&6
12922 else
12923 ac_check_lib_save_LIBS=$LIBS
12924 LIBS="-lasound $LIBS"
12925 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12926 /* end confdefs.h. */
12928 /* Override any GCC internal prototype to avoid an error.
12929 Use char because int might match the return type of a GCC
12930 builtin and then its argument prototype would still apply. */
12931 #ifdef __cplusplus
12932 extern "C"
12933 #endif
12934 char snd_pcm_hw_params_get_access_mask ();
12936 main ()
12938 return snd_pcm_hw_params_get_access_mask ();
12940 return 0;
12942 _ACEOF
12943 if ac_fn_c_try_link "$LINENO"; then :
12944 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
12945 else
12946 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
12948 rm -f core conftest.err conftest.$ac_objext \
12949 conftest$ac_exeext conftest.$ac_ext
12950 LIBS=$ac_check_lib_save_LIBS
12952 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12953 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12954 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
12955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12956 /* end confdefs.h. */
12957 #ifdef HAVE_ALSA_ASOUNDLIB_H
12958 #include <alsa/asoundlib.h>
12959 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12960 #include <sys/asoundlib.h>
12961 #endif
12963 main ()
12965 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12967 return 0;
12969 _ACEOF
12970 if ac_fn_c_try_compile "$LINENO"; then :
12971 ALSA_LIBS="-lasound"
12973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12977 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
12979 if test "x$with_oss" != xno
12980 then
12981 ac_save_CPPFLAGS="$CPPFLAGS"
12982 if test -f /etc/oss.conf
12983 then
12984 . /etc/oss.conf
12986 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12987 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
12988 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12989 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
12990 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12992 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
12994 cat >>confdefs.h <<_ACEOF
12995 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
12996 _ACEOF
12998 OSS4_CFLAGS="$ac_oss_incl"
13005 CPPFLAGS="$ac_save_CPPFLAGS"
13007 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
13008 case "x$with_oss" in
13009 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
13010 xno) ;;
13011 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
13012 This is an error since --with-oss was requested." "$LINENO" 5 ;;
13013 esac
13014 enable_wineoss_drv=${enable_wineoss_drv:-no}
13017 if test "x$with_udev" != "xno"
13018 then
13019 if ${UDEV_CFLAGS:+false} :; then :
13020 if ${PKG_CONFIG+:} false; then :
13021 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
13025 if ${UDEV_LIBS:+false} :; then :
13026 if ${PKG_CONFIG+:} false; then :
13027 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
13031 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
13032 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
13033 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
13034 ac_save_CPPFLAGS=$CPPFLAGS
13035 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
13036 for ac_header in libudev.h
13037 do :
13038 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
13039 if test "x$ac_cv_header_libudev_h" = xyes; then :
13040 cat >>confdefs.h <<_ACEOF
13041 #define HAVE_LIBUDEV_H 1
13042 _ACEOF
13043 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
13044 $as_echo_n "checking for udev_new in -ludev... " >&6; }
13045 if ${ac_cv_lib_udev_udev_new+:} false; then :
13046 $as_echo_n "(cached) " >&6
13047 else
13048 ac_check_lib_save_LIBS=$LIBS
13049 LIBS="-ludev $UDEV_LIBS $LIBS"
13050 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13051 /* end confdefs.h. */
13053 /* Override any GCC internal prototype to avoid an error.
13054 Use char because int might match the return type of a GCC
13055 builtin and then its argument prototype would still apply. */
13056 #ifdef __cplusplus
13057 extern "C"
13058 #endif
13059 char udev_new ();
13061 main ()
13063 return udev_new ();
13065 return 0;
13067 _ACEOF
13068 if ac_fn_c_try_link "$LINENO"; then :
13069 ac_cv_lib_udev_udev_new=yes
13070 else
13071 ac_cv_lib_udev_udev_new=no
13073 rm -f core conftest.err conftest.$ac_objext \
13074 conftest$ac_exeext conftest.$ac_ext
13075 LIBS=$ac_check_lib_save_LIBS
13077 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
13078 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
13079 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
13081 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
13083 else
13084 UDEV_LIBS=""
13087 else
13088 UDEV_LIBS=""
13091 done
13093 CPPFLAGS=$ac_save_CPPFLAGS
13094 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13095 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13098 if test "x$UDEV_LIBS" = "x"; then :
13099 case "x$with_udev" in
13100 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
13101 xno) ;;
13102 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
13103 This is an error since --with-udev was requested." "$LINENO" 5 ;;
13104 esac
13108 if test "x$with_sdl" != "xno"
13109 then
13110 if ${SDL2_CFLAGS:+false} :; then :
13111 if ${PKG_CONFIG+:} false; then :
13112 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
13116 if ${SDL2_LIBS:+false} :; then :
13117 if ${PKG_CONFIG+:} false; then :
13118 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
13122 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
13123 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
13124 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
13125 ac_save_CPPFLAGS=$CPPFLAGS
13126 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
13127 for ac_header in SDL2/SDL.h
13128 do :
13129 ac_fn_c_check_header_mongrel "$LINENO" "SDL2/SDL.h" "ac_cv_header_SDL2_SDL_h" "$ac_includes_default"
13130 if test "x$ac_cv_header_SDL2_SDL_h" = xyes; then :
13131 cat >>confdefs.h <<_ACEOF
13132 #define HAVE_SDL2_SDL_H 1
13133 _ACEOF
13134 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
13135 $as_echo_n "checking for -lSDL2... " >&6; }
13136 if ${ac_cv_lib_soname_SDL2+:} false; then :
13137 $as_echo_n "(cached) " >&6
13138 else
13139 ac_check_soname_save_LIBS=$LIBS
13140 LIBS="-lSDL2 $LIBS"
13141 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13142 /* end confdefs.h. */
13144 /* Override any GCC internal prototype to avoid an error.
13145 Use char because int might match the return type of a GCC
13146 builtin and then its argument prototype would still apply. */
13147 #ifdef __cplusplus
13148 extern "C"
13149 #endif
13150 char SDL_Init ();
13152 main ()
13154 return SDL_Init ();
13156 return 0;
13158 _ACEOF
13159 if ac_fn_c_try_link "$LINENO"; then :
13160 case "$LIBEXT" in
13161 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13162 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'` ;;
13163 *) 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'`
13164 if ${ac_cv_lib_soname_SDL2:+false} :; then :
13165 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13166 fi ;;
13167 esac
13169 rm -f core conftest.err conftest.$ac_objext \
13170 conftest$ac_exeext conftest.$ac_ext
13171 LIBS=$ac_check_soname_save_LIBS
13173 if ${ac_cv_lib_soname_SDL2:+false} :; then :
13174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13175 $as_echo "not found" >&6; }
13177 else
13178 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
13179 $as_echo "$ac_cv_lib_soname_SDL2" >&6; }
13181 cat >>confdefs.h <<_ACEOF
13182 #define SONAME_LIBSDL2 "$ac_cv_lib_soname_SDL2"
13183 _ACEOF
13189 done
13191 CPPFLAGS=$ac_save_CPPFLAGS
13192 test -z "$SDL2_CFLAGS" || SDL2_CFLAGS=`echo " $SDL2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13193 test -z "$SDL2_LIBS" || SDL2_LIBS=`echo " $SDL2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13196 if test "x$ac_cv_lib_soname_SDL2" = "x"; then :
13197 case "x$with_sdl" in
13198 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
13199 xno) ;;
13200 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
13201 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
13202 esac
13206 if test "x$with_capi" != "xno"
13207 then
13208 if ${CAPI20_CFLAGS:+false} :; then :
13209 if ${PKG_CONFIG+:} false; then :
13210 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
13214 if ${CAPI20_LIBS:+false} :; then :
13215 if ${PKG_CONFIG+:} false; then :
13216 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
13221 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
13222 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
13223 ac_save_CPPFLAGS=$CPPFLAGS
13224 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
13225 for ac_header in capi20.h linux/capi.h
13226 do :
13227 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13228 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
13230 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13231 cat >>confdefs.h <<_ACEOF
13232 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13233 _ACEOF
13237 done
13239 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
13240 then
13241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
13242 $as_echo_n "checking for -lcapi20... " >&6; }
13243 if ${ac_cv_lib_soname_capi20+:} false; then :
13244 $as_echo_n "(cached) " >&6
13245 else
13246 ac_check_soname_save_LIBS=$LIBS
13247 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
13248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13249 /* end confdefs.h. */
13251 /* Override any GCC internal prototype to avoid an error.
13252 Use char because int might match the return type of a GCC
13253 builtin and then its argument prototype would still apply. */
13254 #ifdef __cplusplus
13255 extern "C"
13256 #endif
13257 char capi20_register ();
13259 main ()
13261 return capi20_register ();
13263 return 0;
13265 _ACEOF
13266 if ac_fn_c_try_link "$LINENO"; then :
13267 case "$LIBEXT" in
13268 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13269 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'` ;;
13270 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13271 if ${ac_cv_lib_soname_capi20:+false} :; then :
13272 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13273 fi ;;
13274 esac
13276 rm -f core conftest.err conftest.$ac_objext \
13277 conftest$ac_exeext conftest.$ac_ext
13278 LIBS=$ac_check_soname_save_LIBS
13280 if ${ac_cv_lib_soname_capi20:+false} :; then :
13281 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13282 $as_echo "not found" >&6; }
13284 else
13285 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
13286 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
13288 cat >>confdefs.h <<_ACEOF
13289 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
13290 _ACEOF
13295 CPPFLAGS=$ac_save_CPPFLAGS
13296 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13297 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13300 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
13301 case "x$with_capi" in
13302 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
13303 xno) ;;
13304 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
13305 This is an error since --with-capi was requested." "$LINENO" 5 ;;
13306 esac
13310 if test "x$with_cups" != "xno"
13311 then
13312 if ${CUPS_CFLAGS:+false} :; then :
13313 if ${PKG_CONFIG+:} false; then :
13314 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
13317 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
13318 if ${CUPS_LIBS:+false} :; then :
13319 if ${PKG_CONFIG+:} false; then :
13320 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
13323 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
13324 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
13325 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
13326 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
13327 ac_save_CPPFLAGS=$CPPFLAGS
13328 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
13329 for ac_header in cups/cups.h cups/ppd.h
13330 do :
13331 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13332 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13333 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13334 cat >>confdefs.h <<_ACEOF
13335 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13336 _ACEOF
13340 done
13342 if test "$ac_cv_header_cups_cups_h" = "yes"
13343 then
13344 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
13345 $as_echo_n "checking for -lcups... " >&6; }
13346 if ${ac_cv_lib_soname_cups+:} false; then :
13347 $as_echo_n "(cached) " >&6
13348 else
13349 ac_check_soname_save_LIBS=$LIBS
13350 LIBS="-lcups $CUPS_LIBS $LIBS"
13351 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13352 /* end confdefs.h. */
13354 /* Override any GCC internal prototype to avoid an error.
13355 Use char because int might match the return type of a GCC
13356 builtin and then its argument prototype would still apply. */
13357 #ifdef __cplusplus
13358 extern "C"
13359 #endif
13360 char cupsGetDefault ();
13362 main ()
13364 return cupsGetDefault ();
13366 return 0;
13368 _ACEOF
13369 if ac_fn_c_try_link "$LINENO"; then :
13370 case "$LIBEXT" in
13371 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13372 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'` ;;
13373 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13374 if ${ac_cv_lib_soname_cups:+false} :; then :
13375 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13376 fi ;;
13377 esac
13379 rm -f core conftest.err conftest.$ac_objext \
13380 conftest$ac_exeext conftest.$ac_ext
13381 LIBS=$ac_check_soname_save_LIBS
13383 if ${ac_cv_lib_soname_cups:+false} :; then :
13384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13385 $as_echo "not found" >&6; }
13386 CUPS_LIBS=""
13387 else
13388 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
13389 $as_echo "$ac_cv_lib_soname_cups" >&6; }
13391 cat >>confdefs.h <<_ACEOF
13392 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
13393 _ACEOF
13397 else
13398 CUPS_CFLAGS=""
13399 CUPS_LIBS=""
13401 CPPFLAGS=$ac_save_CPPFLAGS
13402 test -z "$CUPS_CFLAGS" || CUPS_CFLAGS=`echo " $CUPS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13403 test -z "$CUPS_LIBS" || CUPS_LIBS=`echo " $CUPS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13406 if test "x$ac_cv_lib_soname_cups" = "x"; then :
13407 case "x$with_cups" in
13408 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
13409 xno) ;;
13410 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
13411 This is an error since --with-cups was requested." "$LINENO" 5 ;;
13412 esac
13416 if test "x$with_fontconfig" != "xno"
13417 then
13418 if ${FONTCONFIG_CFLAGS:+false} :; then :
13419 if ${PKG_CONFIG+:} false; then :
13420 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
13423 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
13424 if ${FONTCONFIG_LIBS:+false} :; then :
13425 if ${PKG_CONFIG+:} false; then :
13426 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
13429 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
13431 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
13432 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
13433 ac_save_CPPFLAGS=$CPPFLAGS
13434 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
13435 for ac_header in fontconfig/fontconfig.h
13436 do :
13437 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
13438 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
13439 cat >>confdefs.h <<_ACEOF
13440 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13441 _ACEOF
13445 done
13447 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13448 then
13449 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13450 $as_echo_n "checking for -lfontconfig... " >&6; }
13451 if ${ac_cv_lib_soname_fontconfig+:} false; then :
13452 $as_echo_n "(cached) " >&6
13453 else
13454 ac_check_soname_save_LIBS=$LIBS
13455 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13456 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13457 /* end confdefs.h. */
13459 /* Override any GCC internal prototype to avoid an error.
13460 Use char because int might match the return type of a GCC
13461 builtin and then its argument prototype would still apply. */
13462 #ifdef __cplusplus
13463 extern "C"
13464 #endif
13465 char FcInit ();
13467 main ()
13469 return FcInit ();
13471 return 0;
13473 _ACEOF
13474 if ac_fn_c_try_link "$LINENO"; then :
13475 case "$LIBEXT" in
13476 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13477 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'` ;;
13478 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13479 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13480 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13481 fi ;;
13482 esac
13484 rm -f core conftest.err conftest.$ac_objext \
13485 conftest$ac_exeext conftest.$ac_ext
13486 LIBS=$ac_check_soname_save_LIBS
13488 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13489 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13490 $as_echo "not found" >&6; }
13491 FONTCONFIG_CFLAGS=""
13492 else
13493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13494 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13496 cat >>confdefs.h <<_ACEOF
13497 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13498 _ACEOF
13502 else
13503 FONTCONFIG_CFLAGS=""
13505 CPPFLAGS=$ac_save_CPPFLAGS
13506 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13507 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13510 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13511 case "x$with_fontconfig" in
13512 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13513 xno) ;;
13514 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13515 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13516 esac
13520 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13521 then
13522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13523 $as_echo_n "checking for -lgsm... " >&6; }
13524 if ${ac_cv_lib_soname_gsm+:} false; then :
13525 $as_echo_n "(cached) " >&6
13526 else
13527 ac_check_soname_save_LIBS=$LIBS
13528 LIBS="-lgsm $LIBS"
13529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13530 /* end confdefs.h. */
13532 /* Override any GCC internal prototype to avoid an error.
13533 Use char because int might match the return type of a GCC
13534 builtin and then its argument prototype would still apply. */
13535 #ifdef __cplusplus
13536 extern "C"
13537 #endif
13538 char gsm_create ();
13540 main ()
13542 return gsm_create ();
13544 return 0;
13546 _ACEOF
13547 if ac_fn_c_try_link "$LINENO"; then :
13548 case "$LIBEXT" in
13549 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13550 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'` ;;
13551 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13552 if ${ac_cv_lib_soname_gsm:+false} :; then :
13553 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13554 fi ;;
13555 esac
13557 rm -f core conftest.err conftest.$ac_objext \
13558 conftest$ac_exeext conftest.$ac_ext
13559 LIBS=$ac_check_soname_save_LIBS
13561 if ${ac_cv_lib_soname_gsm:+false} :; then :
13562 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13563 $as_echo "not found" >&6; }
13565 else
13566 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13567 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13569 cat >>confdefs.h <<_ACEOF
13570 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13571 _ACEOF
13576 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13577 case "x$with_gsm" in
13578 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13579 xno) ;;
13580 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13581 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13582 esac
13586 if test "x$with_krb5" != "xno"
13587 then
13588 if ${KRB5_CFLAGS:+false} :; then :
13589 if ${PKG_CONFIG+:} false; then :
13590 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
13593 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
13594 if ${KRB5_LIBS:+false} :; then :
13595 if ${PKG_CONFIG+:} false; then :
13596 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
13599 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
13601 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
13602 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
13603 ac_save_CPPFLAGS=$CPPFLAGS
13604 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
13605 for ac_header in krb5/krb5.h
13606 do :
13607 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
13608 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
13609 cat >>confdefs.h <<_ACEOF
13610 #define HAVE_KRB5_KRB5_H 1
13611 _ACEOF
13615 done
13617 if test "$ac_cv_header_krb5_krb5_h" = "yes"
13618 then
13619 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
13620 $as_echo_n "checking for -lkrb5... " >&6; }
13621 if ${ac_cv_lib_soname_krb5+:} false; then :
13622 $as_echo_n "(cached) " >&6
13623 else
13624 ac_check_soname_save_LIBS=$LIBS
13625 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
13626 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13627 /* end confdefs.h. */
13629 /* Override any GCC internal prototype to avoid an error.
13630 Use char because int might match the return type of a GCC
13631 builtin and then its argument prototype would still apply. */
13632 #ifdef __cplusplus
13633 extern "C"
13634 #endif
13635 char krb5_init_context ();
13637 main ()
13639 return krb5_init_context ();
13641 return 0;
13643 _ACEOF
13644 if ac_fn_c_try_link "$LINENO"; then :
13645 case "$LIBEXT" in
13646 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13647 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'` ;;
13648 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13649 if ${ac_cv_lib_soname_krb5:+false} :; then :
13650 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13651 fi ;;
13652 esac
13654 rm -f core conftest.err conftest.$ac_objext \
13655 conftest$ac_exeext conftest.$ac_ext
13656 LIBS=$ac_check_soname_save_LIBS
13658 if ${ac_cv_lib_soname_krb5:+false} :; then :
13659 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13660 $as_echo "not found" >&6; }
13661 KRB5_CFLAGS=""
13662 else
13663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
13664 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
13666 cat >>confdefs.h <<_ACEOF
13667 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
13668 _ACEOF
13672 else
13673 KRB5_CFLAGS=""
13675 CPPFLAGS=$ac_save_CPPFLAGS
13676 test -z "$KRB5_CFLAGS" || KRB5_CFLAGS=`echo " $KRB5_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13677 test -z "$KRB5_LIBS" || KRB5_LIBS=`echo " $KRB5_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13679 else
13680 with_gssapi=${with_gssapi:-no}
13682 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
13683 case "x$with_krb5" in
13684 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found, Kerberos won't be supported." ;;
13685 xno) ;;
13686 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found, Kerberos won't be supported.
13687 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
13688 esac
13692 if test "x$with_gssapi" != "xno"
13693 then
13694 if ${GSSAPI_CFLAGS:+false} :; then :
13695 if ${PKG_CONFIG+:} false; then :
13696 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
13699 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
13700 if ${GSSAPI_LIBS:+false} :; then :
13701 if ${PKG_CONFIG+:} false; then :
13702 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
13705 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
13707 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
13708 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
13709 ac_save_CPPFLAGS=$CPPFLAGS
13710 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
13711 for ac_header in gssapi/gssapi.h gssapi/gssapi_ext.h
13712 do :
13713 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13714 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13715 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13716 cat >>confdefs.h <<_ACEOF
13717 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13718 _ACEOF
13722 done
13724 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
13725 then
13726 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
13727 $as_echo_n "checking for -lgssapi_krb5... " >&6; }
13728 if ${ac_cv_lib_soname_gssapi_krb5+:} false; then :
13729 $as_echo_n "(cached) " >&6
13730 else
13731 ac_check_soname_save_LIBS=$LIBS
13732 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
13733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13734 /* end confdefs.h. */
13736 /* Override any GCC internal prototype to avoid an error.
13737 Use char because int might match the return type of a GCC
13738 builtin and then its argument prototype would still apply. */
13739 #ifdef __cplusplus
13740 extern "C"
13741 #endif
13742 char gss_init_sec_context ();
13744 main ()
13746 return gss_init_sec_context ();
13748 return 0;
13750 _ACEOF
13751 if ac_fn_c_try_link "$LINENO"; then :
13752 case "$LIBEXT" in
13753 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13754 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'` ;;
13755 *) 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'`
13756 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
13757 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13758 fi ;;
13759 esac
13761 rm -f core conftest.err conftest.$ac_objext \
13762 conftest$ac_exeext conftest.$ac_ext
13763 LIBS=$ac_check_soname_save_LIBS
13765 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
13766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13767 $as_echo "not found" >&6; }
13768 GSSAPI_CFLAGS=""
13769 else
13770 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
13771 $as_echo "$ac_cv_lib_soname_gssapi_krb5" >&6; }
13773 cat >>confdefs.h <<_ACEOF
13774 #define SONAME_LIBGSSAPI_KRB5 "$ac_cv_lib_soname_gssapi_krb5"
13775 _ACEOF
13779 else
13780 GSSAPI_CFLAGS=""
13782 CPPFLAGS=$ac_save_CPPFLAGS
13783 test -z "$GSSAPI_CFLAGS" || GSSAPI_CFLAGS=`echo " $GSSAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13784 test -z "$GSSAPI_LIBS" || GSSAPI_LIBS=`echo " $GSSAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13787 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"; then :
13788 case "x$with_gssapi" in
13789 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
13790 xno) ;;
13791 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
13792 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
13793 esac
13797 if test "x$with_jpeg" != "xno"
13798 then
13799 if ${JPEG_CFLAGS:+false} :; then :
13800 if ${PKG_CONFIG+:} false; then :
13801 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13805 if ${JPEG_LIBS:+false} :; then :
13806 if ${PKG_CONFIG+:} false; then :
13807 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13812 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13813 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13814 ac_save_CPPFLAGS=$CPPFLAGS
13815 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
13816 for ac_header in jpeglib.h
13817 do :
13818 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13819 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
13820 cat >>confdefs.h <<_ACEOF
13821 #define HAVE_JPEGLIB_H 1
13822 _ACEOF
13826 done
13828 if test "$ac_cv_header_jpeglib_h" = "yes"
13829 then
13830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13831 $as_echo_n "checking for -ljpeg... " >&6; }
13832 if ${ac_cv_lib_soname_jpeg+:} false; then :
13833 $as_echo_n "(cached) " >&6
13834 else
13835 ac_check_soname_save_LIBS=$LIBS
13836 LIBS="-ljpeg $JPEG_LIBS $LIBS"
13837 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13838 /* end confdefs.h. */
13840 /* Override any GCC internal prototype to avoid an error.
13841 Use char because int might match the return type of a GCC
13842 builtin and then its argument prototype would still apply. */
13843 #ifdef __cplusplus
13844 extern "C"
13845 #endif
13846 char jpeg_start_decompress ();
13848 main ()
13850 return jpeg_start_decompress ();
13852 return 0;
13854 _ACEOF
13855 if ac_fn_c_try_link "$LINENO"; then :
13856 case "$LIBEXT" in
13857 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13858 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'` ;;
13859 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13860 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13861 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13862 fi ;;
13863 esac
13865 rm -f core conftest.err conftest.$ac_objext \
13866 conftest$ac_exeext conftest.$ac_ext
13867 LIBS=$ac_check_soname_save_LIBS
13869 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13870 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13871 $as_echo "not found" >&6; }
13872 JPEG_CFLAGS=""
13873 else
13874 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13875 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13877 cat >>confdefs.h <<_ACEOF
13878 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13879 _ACEOF
13883 else
13884 JPEG_CFLAGS=""
13886 CPPFLAGS=$ac_save_CPPFLAGS
13887 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13888 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13891 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13892 case "x$with_jpeg" in
13893 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13894 xno) ;;
13895 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13896 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13897 esac
13901 if test "x$with_png" != "xno"
13902 then
13903 if ${PNG_CFLAGS:+false} :; then :
13904 if ${PKG_CONFIG+:} false; then :
13905 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13908 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
13909 if ${PNG_LIBS:+false} :; then :
13910 if ${PKG_CONFIG+:} false; then :
13911 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
13914 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
13916 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13917 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13918 ac_save_CPPFLAGS=$CPPFLAGS
13919 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
13920 for ac_header in png.h
13921 do :
13922 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13923 if test "x$ac_cv_header_png_h" = xyes; then :
13924 cat >>confdefs.h <<_ACEOF
13925 #define HAVE_PNG_H 1
13926 _ACEOF
13930 done
13932 if test "$ac_cv_header_png_h" = "yes"
13933 then
13934 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13935 $as_echo_n "checking for -lpng... " >&6; }
13936 if ${ac_cv_lib_soname_png+:} false; then :
13937 $as_echo_n "(cached) " >&6
13938 else
13939 ac_check_soname_save_LIBS=$LIBS
13940 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
13941 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13942 /* end confdefs.h. */
13944 /* Override any GCC internal prototype to avoid an error.
13945 Use char because int might match the return type of a GCC
13946 builtin and then its argument prototype would still apply. */
13947 #ifdef __cplusplus
13948 extern "C"
13949 #endif
13950 char png_create_read_struct ();
13952 main ()
13954 return png_create_read_struct ();
13956 return 0;
13958 _ACEOF
13959 if ac_fn_c_try_link "$LINENO"; then :
13960 case "$LIBEXT" in
13961 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13962 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'` ;;
13963 *) 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'`
13964 if ${ac_cv_lib_soname_png:+false} :; then :
13965 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13966 fi ;;
13967 esac
13969 rm -f core conftest.err conftest.$ac_objext \
13970 conftest$ac_exeext conftest.$ac_ext
13971 LIBS=$ac_check_soname_save_LIBS
13973 if ${ac_cv_lib_soname_png:+false} :; then :
13974 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13975 $as_echo "not found" >&6; }
13976 PNG_CFLAGS=""
13977 else
13978 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13979 $as_echo "$ac_cv_lib_soname_png" >&6; }
13981 cat >>confdefs.h <<_ACEOF
13982 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13983 _ACEOF
13987 else
13988 PNG_CFLAGS=""
13990 CPPFLAGS=$ac_save_CPPFLAGS
13991 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13992 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13995 if test "x$ac_cv_lib_soname_png" = "x"; then :
13996 case "x$with_png" in
13997 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
13998 xno) ;;
13999 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
14000 This is an error since --with-png was requested." "$LINENO" 5 ;;
14001 esac
14005 if test "x$with_tiff" != "xno"
14006 then
14007 if ${TIFF_CFLAGS:+false} :; then :
14008 if ${PKG_CONFIG+:} false; then :
14009 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
14013 if ${TIFF_LIBS:+false} :; then :
14014 if ${PKG_CONFIG+:} false; then :
14015 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
14020 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
14021 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
14022 ac_save_CPPFLAGS=$CPPFLAGS
14023 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
14024 for ac_header in tiffio.h
14025 do :
14026 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
14027 if test "x$ac_cv_header_tiffio_h" = xyes; then :
14028 cat >>confdefs.h <<_ACEOF
14029 #define HAVE_TIFFIO_H 1
14030 _ACEOF
14034 done
14036 if test "$ac_cv_header_tiffio_h" = "yes"
14037 then
14038 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
14039 $as_echo_n "checking for -ltiff... " >&6; }
14040 if ${ac_cv_lib_soname_tiff+:} false; then :
14041 $as_echo_n "(cached) " >&6
14042 else
14043 ac_check_soname_save_LIBS=$LIBS
14044 LIBS="-ltiff $TIFF_LIBS $LIBS"
14045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14046 /* end confdefs.h. */
14048 /* Override any GCC internal prototype to avoid an error.
14049 Use char because int might match the return type of a GCC
14050 builtin and then its argument prototype would still apply. */
14051 #ifdef __cplusplus
14052 extern "C"
14053 #endif
14054 char TIFFClientOpen ();
14056 main ()
14058 return TIFFClientOpen ();
14060 return 0;
14062 _ACEOF
14063 if ac_fn_c_try_link "$LINENO"; then :
14064 case "$LIBEXT" in
14065 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14066 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'` ;;
14067 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14068 if ${ac_cv_lib_soname_tiff:+false} :; then :
14069 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14070 fi ;;
14071 esac
14073 rm -f core conftest.err conftest.$ac_objext \
14074 conftest$ac_exeext conftest.$ac_ext
14075 LIBS=$ac_check_soname_save_LIBS
14077 if ${ac_cv_lib_soname_tiff:+false} :; then :
14078 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14079 $as_echo "not found" >&6; }
14081 else
14082 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
14083 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
14085 cat >>confdefs.h <<_ACEOF
14086 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
14087 _ACEOF
14092 CPPFLAGS=$ac_save_CPPFLAGS
14093 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14094 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14097 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
14098 case "x$with_tiff" in
14099 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
14100 xno) ;;
14101 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
14102 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
14103 esac
14107 if test "x$with_mpg123" != "xno"
14108 then
14109 if ${MPG123_CFLAGS:+false} :; then :
14110 if ${PKG_CONFIG+:} false; then :
14111 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
14115 if ${MPG123_LIBS:+false} :; then :
14116 if ${PKG_CONFIG+:} false; then :
14117 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
14121 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
14122 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
14123 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
14124 ac_save_CPPFLAGS=$CPPFLAGS
14125 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
14126 for ac_header in mpg123.h
14127 do :
14128 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
14129 if test "x$ac_cv_header_mpg123_h" = xyes; then :
14130 cat >>confdefs.h <<_ACEOF
14131 #define HAVE_MPG123_H 1
14132 _ACEOF
14136 done
14138 if test "$ac_cv_header_mpg123_h" = "yes"
14139 then
14140 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
14141 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
14142 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
14143 $as_echo_n "(cached) " >&6
14144 else
14145 ac_check_lib_save_LIBS=$LIBS
14146 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
14147 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14148 /* end confdefs.h. */
14150 /* Override any GCC internal prototype to avoid an error.
14151 Use char because int might match the return type of a GCC
14152 builtin and then its argument prototype would still apply. */
14153 #ifdef __cplusplus
14154 extern "C"
14155 #endif
14156 char mpg123_feed ();
14158 main ()
14160 return mpg123_feed ();
14162 return 0;
14164 _ACEOF
14165 if ac_fn_c_try_link "$LINENO"; then :
14166 ac_cv_lib_mpg123_mpg123_feed=yes
14167 else
14168 ac_cv_lib_mpg123_mpg123_feed=no
14170 rm -f core conftest.err conftest.$ac_objext \
14171 conftest$ac_exeext conftest.$ac_ext
14172 LIBS=$ac_check_lib_save_LIBS
14174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
14175 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
14176 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
14178 else
14179 MPG123_LIBS=""
14182 else
14183 MPG123_CFLAGS=""
14184 MPG123_LIBS=""
14186 CPPFLAGS=$ac_save_CPPFLAGS
14187 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14188 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14191 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
14192 case "x$with_mpg123" in
14193 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
14194 xno) ;;
14195 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
14196 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
14197 esac
14198 enable_l3codeca_acm=${enable_l3codeca_acm:-no}
14201 if test "$ac_cv_header_AL_al_h" = "yes"
14202 then
14203 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
14204 $as_echo_n "checking for -lopenal... " >&6; }
14205 if ${ac_cv_lib_soname_openal+:} false; then :
14206 $as_echo_n "(cached) " >&6
14207 else
14208 ac_check_soname_save_LIBS=$LIBS
14209 LIBS="-lopenal $LIBS"
14210 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14211 /* end confdefs.h. */
14213 /* Override any GCC internal prototype to avoid an error.
14214 Use char because int might match the return type of a GCC
14215 builtin and then its argument prototype would still apply. */
14216 #ifdef __cplusplus
14217 extern "C"
14218 #endif
14219 char alGetSource3i ();
14221 main ()
14223 return alGetSource3i ();
14225 return 0;
14227 _ACEOF
14228 if ac_fn_c_try_link "$LINENO"; then :
14229 case "$LIBEXT" in
14230 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14231 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'` ;;
14232 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14233 if ${ac_cv_lib_soname_openal:+false} :; then :
14234 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14235 fi ;;
14236 esac
14238 rm -f core conftest.err conftest.$ac_objext \
14239 conftest$ac_exeext conftest.$ac_ext
14240 LIBS=$ac_check_soname_save_LIBS
14242 if ${ac_cv_lib_soname_openal:+false} :; then :
14243 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14244 $as_echo "not found" >&6; }
14246 else
14247 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
14248 $as_echo "$ac_cv_lib_soname_openal" >&6; }
14250 cat >>confdefs.h <<_ACEOF
14251 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
14252 _ACEOF
14254 OPENAL_LIBS="-lopenal"
14256 ac_cv_lib_openal=yes
14258 cat >>confdefs.h <<_ACEOF
14259 #define HAVE_OPENAL 1
14260 _ACEOF
14264 if test "x$ac_cv_lib_openal" != xyes; then :
14265 case "x$with_openal" in
14266 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
14267 xno) ;;
14268 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
14269 This is an error since --with-openal was requested." "$LINENO" 5 ;;
14270 esac
14271 enable_openal32=${enable_openal32:-no}
14274 if test "x$ac_cv_lib_openal" = xyes
14275 then
14276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
14277 $as_echo_n "checking for openal-soft... " >&6; }
14278 if ${ac_cv_have_openalsoft+:} false; then :
14279 $as_echo_n "(cached) " >&6
14280 else
14281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14282 /* end confdefs.h. */
14283 #include <AL/al.h>
14284 #include <AL/alc.h>
14285 #include <AL/alext.h>
14286 LPALCRENDERSAMPLESSOFT x;
14288 main ()
14292 return 0;
14294 _ACEOF
14295 if ac_fn_c_try_compile "$LINENO"; then :
14296 ac_cv_have_openalsoft=yes
14297 else
14298 ac_cv_have_openalsoft=no
14300 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14302 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
14303 $as_echo "$ac_cv_have_openalsoft" >&6; }
14305 if test "x$ac_cv_have_openalsoft" != xyes
14306 then
14307 as_fn_append wine_notices "|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported."
14308 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
14309 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
14310 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
14311 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
14312 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
14313 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
14314 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
14315 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
14316 enable_xapofx1_1=${enable_xapofx1_1:-no}
14317 enable_xapofx1_2=${enable_xapofx1_2:-no}
14318 enable_xapofx1_3=${enable_xapofx1_3:-no}
14319 enable_xapofx1_4=${enable_xapofx1_4:-no}
14320 enable_xapofx1_5=${enable_xapofx1_5:-no}
14321 enable_xaudio2_0=${enable_xaudio2_0:-no}
14322 enable_xaudio2_1=${enable_xaudio2_1:-no}
14323 enable_xaudio2_2=${enable_xaudio2_2:-no}
14324 enable_xaudio2_3=${enable_xaudio2_3:-no}
14325 enable_xaudio2_4=${enable_xaudio2_4:-no}
14326 enable_xaudio2_5=${enable_xaudio2_5:-no}
14327 enable_xaudio2_6=${enable_xaudio2_6:-no}
14328 enable_xaudio2_7=${enable_xaudio2_7:-no}
14329 enable_xaudio2_8=${enable_xaudio2_8:-no}
14330 enable_xaudio2_9=${enable_xaudio2_9:-no}
14333 if test "$ac_cv_header_kstat_h" = "yes"
14334 then
14335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
14336 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
14337 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
14338 $as_echo_n "(cached) " >&6
14339 else
14340 ac_check_lib_save_LIBS=$LIBS
14341 LIBS="-lkstat $LIBS"
14342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14343 /* end confdefs.h. */
14345 /* Override any GCC internal prototype to avoid an error.
14346 Use char because int might match the return type of a GCC
14347 builtin and then its argument prototype would still apply. */
14348 #ifdef __cplusplus
14349 extern "C"
14350 #endif
14351 char kstat_open ();
14353 main ()
14355 return kstat_open ();
14357 return 0;
14359 _ACEOF
14360 if ac_fn_c_try_link "$LINENO"; then :
14361 ac_cv_lib_kstat_kstat_open=yes
14362 else
14363 ac_cv_lib_kstat_kstat_open=no
14365 rm -f core conftest.err conftest.$ac_objext \
14366 conftest$ac_exeext conftest.$ac_ext
14367 LIBS=$ac_check_lib_save_LIBS
14369 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
14370 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
14371 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
14373 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
14375 KSTAT_LIBS="-lkstat"
14381 if test "$ac_cv_header_libprocstat_h" = "yes"
14382 then
14383 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
14384 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
14385 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
14386 $as_echo_n "(cached) " >&6
14387 else
14388 ac_check_lib_save_LIBS=$LIBS
14389 LIBS="-lprocstat $LIBS"
14390 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14391 /* end confdefs.h. */
14393 /* Override any GCC internal prototype to avoid an error.
14394 Use char because int might match the return type of a GCC
14395 builtin and then its argument prototype would still apply. */
14396 #ifdef __cplusplus
14397 extern "C"
14398 #endif
14399 char procstat_open_sysctl ();
14401 main ()
14403 return procstat_open_sysctl ();
14405 return 0;
14407 _ACEOF
14408 if ac_fn_c_try_link "$LINENO"; then :
14409 ac_cv_lib_procstat_procstat_open_sysctl=yes
14410 else
14411 ac_cv_lib_procstat_procstat_open_sysctl=no
14413 rm -f core conftest.err conftest.$ac_objext \
14414 conftest$ac_exeext conftest.$ac_ext
14415 LIBS=$ac_check_lib_save_LIBS
14417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
14418 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
14419 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
14421 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
14423 PROCSTAT_LIBS="-lprocstat"
14429 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
14430 $as_echo_n "checking for -lodbc... " >&6; }
14431 if ${ac_cv_lib_soname_odbc+:} false; then :
14432 $as_echo_n "(cached) " >&6
14433 else
14434 ac_check_soname_save_LIBS=$LIBS
14435 LIBS="-lodbc $LIBS"
14436 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14437 /* end confdefs.h. */
14439 /* Override any GCC internal prototype to avoid an error.
14440 Use char because int might match the return type of a GCC
14441 builtin and then its argument prototype would still apply. */
14442 #ifdef __cplusplus
14443 extern "C"
14444 #endif
14445 char SQLConnect ();
14447 main ()
14449 return SQLConnect ();
14451 return 0;
14453 _ACEOF
14454 if ac_fn_c_try_link "$LINENO"; then :
14455 case "$LIBEXT" in
14456 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14457 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'` ;;
14458 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14459 if ${ac_cv_lib_soname_odbc:+false} :; then :
14460 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14461 fi ;;
14462 esac
14464 rm -f core conftest.err conftest.$ac_objext \
14465 conftest$ac_exeext conftest.$ac_ext
14466 LIBS=$ac_check_soname_save_LIBS
14468 if ${ac_cv_lib_soname_odbc:+false} :; then :
14469 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14470 $as_echo "not found" >&6; }
14471 cat >>confdefs.h <<_ACEOF
14472 #define SONAME_LIBODBC "libodbc.$LIBEXT"
14473 _ACEOF
14475 else
14476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
14477 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
14479 cat >>confdefs.h <<_ACEOF
14480 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
14481 _ACEOF
14486 if test "x$with_netapi" != "xno"
14487 then
14488 if ${NETAPI_CFLAGS:+false} :; then :
14489 if ${PKG_CONFIG+:} false; then :
14490 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
14494 if ${NETAPI_LIBS:+false} :; then :
14495 if ${PKG_CONFIG+:} false; then :
14496 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
14501 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
14502 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
14503 ac_save_CPPFLAGS=$CPPFLAGS
14504 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
14505 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
14506 $as_echo_n "checking for -lnetapi... " >&6; }
14507 if ${ac_cv_lib_soname_netapi+:} false; then :
14508 $as_echo_n "(cached) " >&6
14509 else
14510 ac_check_soname_save_LIBS=$LIBS
14511 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
14512 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14513 /* end confdefs.h. */
14515 /* Override any GCC internal prototype to avoid an error.
14516 Use char because int might match the return type of a GCC
14517 builtin and then its argument prototype would still apply. */
14518 #ifdef __cplusplus
14519 extern "C"
14520 #endif
14521 char libnetapi_init ();
14523 main ()
14525 return libnetapi_init ();
14527 return 0;
14529 _ACEOF
14530 if ac_fn_c_try_link "$LINENO"; then :
14531 case "$LIBEXT" in
14532 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14533 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'` ;;
14534 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14535 if ${ac_cv_lib_soname_netapi:+false} :; then :
14536 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14537 fi ;;
14538 esac
14540 rm -f core conftest.err conftest.$ac_objext \
14541 conftest$ac_exeext conftest.$ac_ext
14542 LIBS=$ac_check_soname_save_LIBS
14544 if ${ac_cv_lib_soname_netapi:+false} :; then :
14545 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14546 $as_echo "not found" >&6; }
14547 cat >>confdefs.h <<_ACEOF
14548 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
14549 _ACEOF
14551 else
14552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
14553 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
14555 cat >>confdefs.h <<_ACEOF
14556 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
14557 _ACEOF
14561 CPPFLAGS=$ac_save_CPPFLAGS
14562 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14563 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14567 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
14568 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
14569 then
14570 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
14573 if test "x$with_vulkan" != "xno"
14574 then
14575 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
14576 $as_echo_n "checking for -lvulkan... " >&6; }
14577 if ${ac_cv_lib_soname_vulkan+:} false; then :
14578 $as_echo_n "(cached) " >&6
14579 else
14580 ac_check_soname_save_LIBS=$LIBS
14581 LIBS="-lvulkan $LIBS"
14582 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14583 /* end confdefs.h. */
14585 /* Override any GCC internal prototype to avoid an error.
14586 Use char because int might match the return type of a GCC
14587 builtin and then its argument prototype would still apply. */
14588 #ifdef __cplusplus
14589 extern "C"
14590 #endif
14591 char vkGetInstanceProcAddr ();
14593 main ()
14595 return vkGetInstanceProcAddr ();
14597 return 0;
14599 _ACEOF
14600 if ac_fn_c_try_link "$LINENO"; then :
14601 case "$LIBEXT" in
14602 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14603 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'` ;;
14604 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14605 if ${ac_cv_lib_soname_vulkan:+false} :; then :
14606 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14607 fi ;;
14608 esac
14610 rm -f core conftest.err conftest.$ac_objext \
14611 conftest$ac_exeext conftest.$ac_ext
14612 LIBS=$ac_check_soname_save_LIBS
14614 if ${ac_cv_lib_soname_vulkan:+false} :; then :
14615 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14616 $as_echo "not found" >&6; }
14618 else
14619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
14620 $as_echo "$ac_cv_lib_soname_vulkan" >&6; }
14622 cat >>confdefs.h <<_ACEOF
14623 #define SONAME_LIBVULKAN "$ac_cv_lib_soname_vulkan"
14624 _ACEOF
14629 if test "x$ac_cv_lib_soname_vulkan" = "x"; then :
14630 case "x$with_vulkan" in
14631 x) as_fn_append wine_notices "|libvulkan ${notice_platform}development files not found, Vulkan won't be supported." ;;
14632 xno) ;;
14633 *) as_fn_error $? "libvulkan ${notice_platform}development files not found, Vulkan won't be supported.
14634 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
14635 esac
14640 EXTRACFLAGS=""
14642 if test "x${GCC}" = "xyes"
14643 then
14644 EXTRACFLAGS="-Wall -pipe"
14646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
14647 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
14648 if ${ac_cv_c_gcc_strength_bug+:} false; then :
14649 $as_echo_n "(cached) " >&6
14650 else
14651 if test "$cross_compiling" = yes; then :
14652 ac_cv_c_gcc_strength_bug="no"
14653 else
14654 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14655 /* end confdefs.h. */
14656 int L[4] = {0,1,2,3};
14658 main ()
14660 static int Array[3];
14661 unsigned int B = 3;
14662 int i;
14663 for(i=0; i<B; i++) Array[i] = i - 3;
14664 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14665 L[i] = 4;
14666 return (Array[1] != -2 || L[2] != 3)
14668 return 0;
14670 _ACEOF
14671 if ac_fn_c_try_run "$LINENO"; then :
14672 ac_cv_c_gcc_strength_bug="no"
14673 else
14674 ac_cv_c_gcc_strength_bug="yes"
14676 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14677 conftest.$ac_objext conftest.beam conftest.$ac_ext
14681 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
14682 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
14683 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14684 then
14685 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
14688 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
14689 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
14690 if ${ac_cv_cflags__fno_builtin+:} false; then :
14691 $as_echo_n "(cached) " >&6
14692 else
14693 ac_wine_try_cflags_saved=$CFLAGS
14694 CFLAGS="$CFLAGS -fno-builtin"
14695 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14696 /* end confdefs.h. */
14697 int main(int argc, char **argv) { return 0; }
14698 _ACEOF
14699 if ac_fn_c_try_link "$LINENO"; then :
14700 ac_cv_cflags__fno_builtin=yes
14701 else
14702 ac_cv_cflags__fno_builtin=no
14704 rm -f core conftest.err conftest.$ac_objext \
14705 conftest$ac_exeext conftest.$ac_ext
14706 CFLAGS=$ac_wine_try_cflags_saved
14708 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
14709 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
14710 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
14711 BUILTINFLAG="-fno-builtin"
14714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
14715 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
14716 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
14717 $as_echo_n "(cached) " >&6
14718 else
14719 ac_wine_try_cflags_saved=$CFLAGS
14720 CFLAGS="$CFLAGS -fno-strict-aliasing"
14721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14722 /* end confdefs.h. */
14723 int main(int argc, char **argv) { return 0; }
14724 _ACEOF
14725 if ac_fn_c_try_link "$LINENO"; then :
14726 ac_cv_cflags__fno_strict_aliasing=yes
14727 else
14728 ac_cv_cflags__fno_strict_aliasing=no
14730 rm -f core conftest.err conftest.$ac_objext \
14731 conftest$ac_exeext conftest.$ac_ext
14732 CFLAGS=$ac_wine_try_cflags_saved
14734 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14735 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
14736 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
14737 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
14739 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
14740 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
14741 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
14742 $as_echo_n "(cached) " >&6
14743 else
14744 ac_wine_try_cflags_saved=$CFLAGS
14745 CFLAGS="$CFLAGS -fexcess-precision=standard"
14746 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14747 /* end confdefs.h. */
14748 int main(int argc, char **argv) { return 0; }
14749 _ACEOF
14750 if ac_fn_c_try_link "$LINENO"; then :
14751 ac_cv_cflags__fexcess_precision_standard=yes
14752 else
14753 ac_cv_cflags__fexcess_precision_standard=no
14755 rm -f core conftest.err conftest.$ac_objext \
14756 conftest$ac_exeext conftest.$ac_ext
14757 CFLAGS=$ac_wine_try_cflags_saved
14759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
14760 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
14761 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
14762 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
14765 saved_CFLAGS=$CFLAGS
14766 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
14767 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
14768 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
14769 $as_echo_n "(cached) " >&6
14770 else
14771 ac_wine_try_cflags_saved=$CFLAGS
14772 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14773 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14774 /* end confdefs.h. */
14775 int main(int argc, char **argv) { return 0; }
14776 _ACEOF
14777 if ac_fn_c_try_link "$LINENO"; then :
14778 ac_cv_cflags__Werror_unknown_warning_option=yes
14779 else
14780 ac_cv_cflags__Werror_unknown_warning_option=no
14782 rm -f core conftest.err conftest.$ac_objext \
14783 conftest$ac_exeext conftest.$ac_ext
14784 CFLAGS=$ac_wine_try_cflags_saved
14786 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14787 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14788 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
14789 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14791 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14792 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14793 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
14794 $as_echo_n "(cached) " >&6
14795 else
14796 ac_wine_try_cflags_saved=$CFLAGS
14797 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
14798 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14799 /* end confdefs.h. */
14800 int main(int argc, char **argv) { return 0; }
14801 _ACEOF
14802 if ac_fn_c_try_link "$LINENO"; then :
14803 ac_cv_cflags__Wdeclaration_after_statement=yes
14804 else
14805 ac_cv_cflags__Wdeclaration_after_statement=no
14807 rm -f core conftest.err conftest.$ac_objext \
14808 conftest$ac_exeext conftest.$ac_ext
14809 CFLAGS=$ac_wine_try_cflags_saved
14811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14812 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14813 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
14814 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
14816 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14817 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14818 if ${ac_cv_cflags__Wempty_body+:} false; then :
14819 $as_echo_n "(cached) " >&6
14820 else
14821 ac_wine_try_cflags_saved=$CFLAGS
14822 CFLAGS="$CFLAGS -Wempty-body"
14823 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14824 /* end confdefs.h. */
14825 int main(int argc, char **argv) { return 0; }
14826 _ACEOF
14827 if ac_fn_c_try_link "$LINENO"; then :
14828 ac_cv_cflags__Wempty_body=yes
14829 else
14830 ac_cv_cflags__Wempty_body=no
14832 rm -f core conftest.err conftest.$ac_objext \
14833 conftest$ac_exeext conftest.$ac_ext
14834 CFLAGS=$ac_wine_try_cflags_saved
14836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14837 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14838 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
14839 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
14841 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14842 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14843 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
14844 $as_echo_n "(cached) " >&6
14845 else
14846 ac_wine_try_cflags_saved=$CFLAGS
14847 CFLAGS="$CFLAGS -Wignored-qualifiers"
14848 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14849 /* end confdefs.h. */
14850 int main(int argc, char **argv) { return 0; }
14851 _ACEOF
14852 if ac_fn_c_try_link "$LINENO"; then :
14853 ac_cv_cflags__Wignored_qualifiers=yes
14854 else
14855 ac_cv_cflags__Wignored_qualifiers=no
14857 rm -f core conftest.err conftest.$ac_objext \
14858 conftest$ac_exeext conftest.$ac_ext
14859 CFLAGS=$ac_wine_try_cflags_saved
14861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14862 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14863 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
14864 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
14866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
14867 $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
14868 if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
14869 $as_echo_n "(cached) " >&6
14870 else
14871 ac_wine_try_cflags_saved=$CFLAGS
14872 CFLAGS="$CFLAGS -Wpacked-not-aligned"
14873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14874 /* end confdefs.h. */
14875 int main(int argc, char **argv) { return 0; }
14876 _ACEOF
14877 if ac_fn_c_try_link "$LINENO"; then :
14878 ac_cv_cflags__Wpacked_not_aligned=yes
14879 else
14880 ac_cv_cflags__Wpacked_not_aligned=no
14882 rm -f core conftest.err conftest.$ac_objext \
14883 conftest$ac_exeext conftest.$ac_ext
14884 CFLAGS=$ac_wine_try_cflags_saved
14886 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
14887 $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
14888 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
14889 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
14891 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
14892 $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
14893 if ${ac_cv_cflags__Wpragma_pack+:} false; then :
14894 $as_echo_n "(cached) " >&6
14895 else
14896 ac_wine_try_cflags_saved=$CFLAGS
14897 CFLAGS="$CFLAGS -Wpragma-pack"
14898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14899 /* end confdefs.h. */
14900 int main(int argc, char **argv) { return 0; }
14901 _ACEOF
14902 if ac_fn_c_try_link "$LINENO"; then :
14903 ac_cv_cflags__Wpragma_pack=yes
14904 else
14905 ac_cv_cflags__Wpragma_pack=no
14907 rm -f core conftest.err conftest.$ac_objext \
14908 conftest$ac_exeext conftest.$ac_ext
14909 CFLAGS=$ac_wine_try_cflags_saved
14911 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
14912 $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
14913 if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
14914 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
14916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
14917 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
14918 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
14919 $as_echo_n "(cached) " >&6
14920 else
14921 ac_wine_try_cflags_saved=$CFLAGS
14922 CFLAGS="$CFLAGS -Wshift-overflow=2"
14923 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14924 /* end confdefs.h. */
14925 int main(int argc, char **argv) { return 0; }
14926 _ACEOF
14927 if ac_fn_c_try_link "$LINENO"; then :
14928 ac_cv_cflags__Wshift_overflow_2=yes
14929 else
14930 ac_cv_cflags__Wshift_overflow_2=no
14932 rm -f core conftest.err conftest.$ac_objext \
14933 conftest$ac_exeext conftest.$ac_ext
14934 CFLAGS=$ac_wine_try_cflags_saved
14936 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
14937 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
14938 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
14939 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
14941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
14942 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
14943 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
14944 $as_echo_n "(cached) " >&6
14945 else
14946 ac_wine_try_cflags_saved=$CFLAGS
14947 CFLAGS="$CFLAGS -Wstrict-prototypes"
14948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14949 /* end confdefs.h. */
14950 int main(int argc, char **argv) { return 0; }
14951 _ACEOF
14952 if ac_fn_c_try_link "$LINENO"; then :
14953 ac_cv_cflags__Wstrict_prototypes=yes
14954 else
14955 ac_cv_cflags__Wstrict_prototypes=no
14957 rm -f core conftest.err conftest.$ac_objext \
14958 conftest$ac_exeext conftest.$ac_ext
14959 CFLAGS=$ac_wine_try_cflags_saved
14961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
14962 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
14963 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
14964 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
14966 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
14967 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
14968 if ${ac_cv_cflags__Wtype_limits+:} false; then :
14969 $as_echo_n "(cached) " >&6
14970 else
14971 ac_wine_try_cflags_saved=$CFLAGS
14972 CFLAGS="$CFLAGS -Wtype-limits"
14973 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14974 /* end confdefs.h. */
14975 int main(int argc, char **argv) { return 0; }
14976 _ACEOF
14977 if ac_fn_c_try_link "$LINENO"; then :
14978 ac_cv_cflags__Wtype_limits=yes
14979 else
14980 ac_cv_cflags__Wtype_limits=no
14982 rm -f core conftest.err conftest.$ac_objext \
14983 conftest$ac_exeext conftest.$ac_ext
14984 CFLAGS=$ac_wine_try_cflags_saved
14986 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
14987 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
14988 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
14989 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
14991 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
14992 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
14993 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
14994 $as_echo_n "(cached) " >&6
14995 else
14996 ac_wine_try_cflags_saved=$CFLAGS
14997 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
14998 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14999 /* end confdefs.h. */
15000 int main(int argc, char **argv) { return 0; }
15001 _ACEOF
15002 if ac_fn_c_try_link "$LINENO"; then :
15003 ac_cv_cflags__Wunused_but_set_parameter=yes
15004 else
15005 ac_cv_cflags__Wunused_but_set_parameter=no
15007 rm -f core conftest.err conftest.$ac_objext \
15008 conftest$ac_exeext conftest.$ac_ext
15009 CFLAGS=$ac_wine_try_cflags_saved
15011 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
15012 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
15013 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
15014 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
15016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
15017 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
15018 if ${ac_cv_cflags__Wvla+:} false; then :
15019 $as_echo_n "(cached) " >&6
15020 else
15021 ac_wine_try_cflags_saved=$CFLAGS
15022 CFLAGS="$CFLAGS -Wvla"
15023 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15024 /* end confdefs.h. */
15025 int main(int argc, char **argv) { return 0; }
15026 _ACEOF
15027 if ac_fn_c_try_link "$LINENO"; then :
15028 ac_cv_cflags__Wvla=yes
15029 else
15030 ac_cv_cflags__Wvla=no
15032 rm -f core conftest.err conftest.$ac_objext \
15033 conftest$ac_exeext conftest.$ac_ext
15034 CFLAGS=$ac_wine_try_cflags_saved
15036 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
15037 $as_echo "$ac_cv_cflags__Wvla" >&6; }
15038 if test "x$ac_cv_cflags__Wvla" = xyes; then :
15039 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
15041 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
15042 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
15043 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
15044 $as_echo_n "(cached) " >&6
15045 else
15046 ac_wine_try_cflags_saved=$CFLAGS
15047 CFLAGS="$CFLAGS -Wwrite-strings"
15048 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15049 /* end confdefs.h. */
15050 int main(int argc, char **argv) { return 0; }
15051 _ACEOF
15052 if ac_fn_c_try_link "$LINENO"; then :
15053 ac_cv_cflags__Wwrite_strings=yes
15054 else
15055 ac_cv_cflags__Wwrite_strings=no
15057 rm -f core conftest.err conftest.$ac_objext \
15058 conftest$ac_exeext conftest.$ac_ext
15059 CFLAGS=$ac_wine_try_cflags_saved
15061 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
15062 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
15063 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
15064 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
15067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
15068 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
15069 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
15070 $as_echo_n "(cached) " >&6
15071 else
15072 ac_wine_try_cflags_saved=$CFLAGS
15073 CFLAGS="$CFLAGS -Wpointer-arith"
15074 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15075 /* end confdefs.h. */
15076 int main(int argc, char **argv) { return 0; }
15077 _ACEOF
15078 if ac_fn_c_try_link "$LINENO"; then :
15079 ac_cv_cflags__Wpointer_arith=yes
15080 else
15081 ac_cv_cflags__Wpointer_arith=no
15083 rm -f core conftest.err conftest.$ac_objext \
15084 conftest$ac_exeext conftest.$ac_ext
15085 CFLAGS=$ac_wine_try_cflags_saved
15087 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
15088 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
15089 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
15090 saved_string_h_CFLAGS=$CFLAGS
15091 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
15092 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
15093 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
15094 if ${ac_cv_c_string_h_warnings+:} false; then :
15095 $as_echo_n "(cached) " >&6
15096 else
15097 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15098 /* end confdefs.h. */
15099 #include <string.h>
15101 main ()
15105 return 0;
15107 _ACEOF
15108 if ac_fn_c_try_compile "$LINENO"; then :
15109 ac_cv_c_string_h_warnings=no
15110 else
15111 ac_cv_c_string_h_warnings=yes
15113 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15115 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
15116 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
15117 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
15118 CFLAGS=$saved_string_h_CFLAGS
15121 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
15122 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
15123 if ${ac_cv_cflags__Wlogical_op+:} false; then :
15124 $as_echo_n "(cached) " >&6
15125 else
15126 ac_wine_try_cflags_saved=$CFLAGS
15127 CFLAGS="$CFLAGS -Wlogical-op"
15128 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15129 /* end confdefs.h. */
15130 int main(int argc, char **argv) { return 0; }
15131 _ACEOF
15132 if ac_fn_c_try_link "$LINENO"; then :
15133 ac_cv_cflags__Wlogical_op=yes
15134 else
15135 ac_cv_cflags__Wlogical_op=no
15137 rm -f core conftest.err conftest.$ac_objext \
15138 conftest$ac_exeext conftest.$ac_ext
15139 CFLAGS=$ac_wine_try_cflags_saved
15141 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
15142 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
15143 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
15144 saved_string_h_CFLAGS=$CFLAGS
15145 CFLAGS="$CFLAGS -Wlogical-op -Werror"
15146 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
15147 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
15148 if ${ac_cv_c_logicalop_noisy+:} false; then :
15149 $as_echo_n "(cached) " >&6
15150 else
15151 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15152 /* end confdefs.h. */
15153 #include <string.h>
15154 char*f(const char *h,char n) {return strchr(h,n);}
15156 main ()
15160 return 0;
15162 _ACEOF
15163 if ac_fn_c_try_compile "$LINENO"; then :
15164 ac_cv_c_logicalop_noisy=no
15165 else
15166 ac_cv_c_logicalop_noisy=yes
15168 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15170 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
15171 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
15172 CFLAGS=$saved_string_h_CFLAGS
15173 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
15176 CFLAGS=$saved_CFLAGS
15178 for ac_flag in $CFLAGS; do
15179 case $ac_flag in
15180 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
15181 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
15182 if ${ac_cv_cflags__gdwarf_2+:} false; then :
15183 $as_echo_n "(cached) " >&6
15184 else
15185 ac_wine_try_cflags_saved=$CFLAGS
15186 CFLAGS="$CFLAGS -gdwarf-2"
15187 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15188 /* end confdefs.h. */
15189 int main(int argc, char **argv) { return 0; }
15190 _ACEOF
15191 if ac_fn_c_try_link "$LINENO"; then :
15192 ac_cv_cflags__gdwarf_2=yes
15193 else
15194 ac_cv_cflags__gdwarf_2=no
15196 rm -f core conftest.err conftest.$ac_objext \
15197 conftest$ac_exeext conftest.$ac_ext
15198 CFLAGS=$ac_wine_try_cflags_saved
15200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
15201 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
15202 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
15203 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
15205 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
15206 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
15207 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
15208 $as_echo_n "(cached) " >&6
15209 else
15210 ac_wine_try_cflags_saved=$CFLAGS
15211 CFLAGS="$CFLAGS -gstrict-dwarf"
15212 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15213 /* end confdefs.h. */
15214 int main(int argc, char **argv) { return 0; }
15215 _ACEOF
15216 if ac_fn_c_try_link "$LINENO"; then :
15217 ac_cv_cflags__gstrict_dwarf=yes
15218 else
15219 ac_cv_cflags__gstrict_dwarf=no
15221 rm -f core conftest.err conftest.$ac_objext \
15222 conftest$ac_exeext conftest.$ac_ext
15223 CFLAGS=$ac_wine_try_cflags_saved
15225 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
15226 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
15227 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
15228 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
15229 fi ;;
15230 esac
15231 done
15233 case $host_cpu in
15234 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
15235 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
15236 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
15237 $as_echo_n "(cached) " >&6
15238 else
15239 ac_wine_try_cflags_saved=$CFLAGS
15240 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
15241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15242 /* end confdefs.h. */
15243 int main(int argc, char **argv) { return 0; }
15244 _ACEOF
15245 if ac_fn_c_try_link "$LINENO"; then :
15246 ac_cv_cflags__fno_omit_frame_pointer=yes
15247 else
15248 ac_cv_cflags__fno_omit_frame_pointer=no
15250 rm -f core conftest.err conftest.$ac_objext \
15251 conftest$ac_exeext conftest.$ac_ext
15252 CFLAGS=$ac_wine_try_cflags_saved
15254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
15255 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
15256 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
15257 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
15258 fi ;;
15259 esac
15261 case $host in
15262 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
15263 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
15264 if ${ac_cv_cflags__Wno_format+:} false; then :
15265 $as_echo_n "(cached) " >&6
15266 else
15267 ac_wine_try_cflags_saved=$CFLAGS
15268 CFLAGS="$CFLAGS -Wno-format"
15269 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15270 /* end confdefs.h. */
15271 int main(int argc, char **argv) { return 0; }
15272 _ACEOF
15273 if ac_fn_c_try_link "$LINENO"; then :
15274 ac_cv_cflags__Wno_format=yes
15275 else
15276 ac_cv_cflags__Wno_format=no
15278 rm -f core conftest.err conftest.$ac_objext \
15279 conftest$ac_exeext conftest.$ac_ext
15280 CFLAGS=$ac_wine_try_cflags_saved
15282 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
15283 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
15284 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
15285 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
15286 fi ;;
15287 esac
15289 if test "x$enable_maintainer_mode" = "xyes"
15290 then
15291 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
15292 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
15293 if ${ac_cv_cflags__Werror+:} false; then :
15294 $as_echo_n "(cached) " >&6
15295 else
15296 ac_wine_try_cflags_saved=$CFLAGS
15297 CFLAGS="$CFLAGS -Werror"
15298 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15299 /* end confdefs.h. */
15300 int main(int argc, char **argv) { return 0; }
15301 _ACEOF
15302 if ac_fn_c_try_link "$LINENO"; then :
15303 ac_cv_cflags__Werror=yes
15304 else
15305 ac_cv_cflags__Werror=no
15307 rm -f core conftest.err conftest.$ac_objext \
15308 conftest$ac_exeext conftest.$ac_ext
15309 CFLAGS=$ac_wine_try_cflags_saved
15311 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
15312 $as_echo "$ac_cv_cflags__Werror" >&6; }
15313 if test "x$ac_cv_cflags__Werror" = xyes; then :
15314 EXTRACFLAGS="$EXTRACFLAGS -Werror"
15318 saved_CFLAGS="$CFLAGS"
15319 CFLAGS="$CFLAGS -Werror"
15320 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
15321 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
15322 if ${ac_cv_have_ms_hook_prologue+:} false; then :
15323 $as_echo_n "(cached) " >&6
15324 else
15325 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15326 /* end confdefs.h. */
15327 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
15329 main ()
15333 return 0;
15335 _ACEOF
15336 if ac_fn_c_try_compile "$LINENO"; then :
15337 ac_cv_have_ms_hook_prologue="yes"
15338 else
15339 ac_cv_have_ms_hook_prologue="no"
15341 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15343 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
15344 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
15345 CFLAGS="$saved_CFLAGS"
15346 if test "$ac_cv_have_ms_hook_prologue" = "yes"
15347 then
15349 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
15351 else
15352 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
15358 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
15359 $as_echo_n "checking for the need to disable Fortify... " >&6; }
15360 if ${ac_cv_c_fortify_enabled+:} false; then :
15361 $as_echo_n "(cached) " >&6
15362 else
15363 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15364 /* end confdefs.h. */
15365 #include <string.h>
15367 main ()
15369 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
15370 #error Fortify enabled
15371 #endif
15373 return 0;
15375 _ACEOF
15376 if ac_fn_c_try_compile "$LINENO"; then :
15377 ac_cv_c_fortify_enabled=no
15378 else
15379 ac_cv_c_fortify_enabled=yes
15381 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15383 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
15384 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
15385 if test "$ac_cv_c_fortify_enabled" = yes
15386 then
15387 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
15391 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
15392 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
15393 if ${ac_cv_c_extern_prefix+:} false; then :
15394 $as_echo_n "(cached) " >&6
15395 else
15396 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15397 /* end confdefs.h. */
15398 extern int ac_test;
15400 main ()
15402 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
15404 return 0;
15406 _ACEOF
15407 if ac_fn_c_try_link "$LINENO"; then :
15408 ac_cv_c_extern_prefix="yes"
15409 else
15410 ac_cv_c_extern_prefix="no"
15412 rm -f core conftest.err conftest.$ac_objext \
15413 conftest$ac_exeext conftest.$ac_ext
15415 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
15416 $as_echo "$ac_cv_c_extern_prefix" >&6; }
15418 case $host_cpu in
15419 *i[3456789]86*)
15420 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
15421 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
15422 if ${ac_cv_c_stdcall_suffix+:} false; then :
15423 $as_echo_n "(cached) " >&6
15424 else
15425 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15426 /* end confdefs.h. */
15427 #ifndef _MSC_VER
15428 #define __stdcall __attribute__((__stdcall__))
15429 #endif
15430 int __stdcall ac_test(int i) { return i; }
15432 main ()
15434 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
15436 return 0;
15438 _ACEOF
15439 if ac_fn_c_try_link "$LINENO"; then :
15440 ac_cv_c_stdcall_suffix="yes"
15441 else
15442 ac_cv_c_stdcall_suffix="no"
15444 rm -f core conftest.err conftest.$ac_objext \
15445 conftest$ac_exeext conftest.$ac_ext
15447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
15448 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
15449 *) ac_cv_c_stdcall_suffix="no" ;;
15450 esac
15453 if test "$ac_cv_c_extern_prefix" = "yes"
15454 then
15455 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
15457 asm_name_prefix="_"
15458 else
15459 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
15461 asm_name_prefix=""
15465 if test "$ac_cv_c_stdcall_suffix" = "yes"
15466 then
15467 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
15469 else
15470 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
15475 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
15476 $as_echo_n "checking how to define a function in assembly code... " >&6; }
15477 if ${ac_cv_asm_func_def+:} false; then :
15478 $as_echo_n "(cached) " >&6
15479 else
15480 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15481 /* end confdefs.h. */
15484 main ()
15486 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
15488 return 0;
15490 _ACEOF
15491 if ac_fn_c_try_link "$LINENO"; then :
15492 ac_cv_asm_func_def=".def"
15493 else
15494 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15495 /* end confdefs.h. */
15498 main ()
15500 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
15502 return 0;
15504 _ACEOF
15505 if ac_fn_c_try_link "$LINENO"; then :
15506 ac_cv_asm_func_def=".type @function"
15507 else
15508 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15509 /* end confdefs.h. */
15512 main ()
15514 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
15516 return 0;
15518 _ACEOF
15519 if ac_fn_c_try_link "$LINENO"; then :
15520 ac_cv_asm_func_def=".type 2"
15521 else
15522 ac_cv_asm_func_def="unknown"
15524 rm -f core conftest.err conftest.$ac_objext \
15525 conftest$ac_exeext conftest.$ac_ext
15527 rm -f core conftest.err conftest.$ac_objext \
15528 conftest$ac_exeext conftest.$ac_ext
15530 rm -f core conftest.err conftest.$ac_objext \
15531 conftest$ac_exeext conftest.$ac_ext
15533 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
15534 $as_echo "$ac_cv_asm_func_def" >&6; }
15537 case "$ac_cv_asm_func_def" in
15538 ".def")
15539 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
15541 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
15542 ".type @function")
15543 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
15545 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
15546 ".type 2")
15547 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
15549 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
15551 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
15553 asm_func_header="" ;;
15554 esac
15556 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
15557 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
15558 if ${ac_cv_c_asm_outside_funcs+:} false; then :
15559 $as_echo_n "(cached) " >&6
15560 else
15561 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15562 /* end confdefs.h. */
15563 asm(".text\n\t.long 0");
15565 main ()
15569 return 0;
15571 _ACEOF
15572 if ac_fn_c_try_compile "$LINENO"; then :
15573 ac_cv_c_asm_outside_funcs="yes"
15574 else
15575 ac_cv_c_asm_outside_funcs="no"
15577 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15579 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
15580 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
15582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
15583 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
15584 if ${ac_cv_c_dot_previous+:} false; then :
15585 $as_echo_n "(cached) " >&6
15586 else
15587 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15588 /* end confdefs.h. */
15591 main ()
15593 asm(".text\nac_test:\t.long 0\n\t.previous");
15595 return 0;
15597 _ACEOF
15598 if ac_fn_c_try_link "$LINENO"; then :
15599 ac_cv_c_dot_previous="yes"
15600 else
15601 ac_cv_c_dot_previous="no"
15603 rm -f core conftest.err conftest.$ac_objext \
15604 conftest$ac_exeext conftest.$ac_ext
15606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
15607 $as_echo "$ac_cv_c_dot_previous" >&6; }
15609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
15610 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
15611 if ${ac_cv_c_cfi_support+:} false; then :
15612 $as_echo_n "(cached) " >&6
15613 else
15614 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15615 /* end confdefs.h. */
15616 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
15618 main ()
15622 return 0;
15624 _ACEOF
15625 if ac_fn_c_try_compile "$LINENO"; then :
15626 ac_cv_c_cfi_support="yes"
15627 else
15628 ac_cv_c_cfi_support="no"
15630 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15632 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
15633 $as_echo "$ac_cv_c_cfi_support" >&6; }
15635 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
15636 asm_func_trailer=""
15637 if test "$ac_cv_c_dot_previous" = "yes"
15638 then
15639 asm_func_trailer="\\n\\t.previous"
15641 if test "$ac_cv_c_cfi_support" = "yes"
15642 then
15643 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
15644 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
15646 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
15648 UNWINDFLAGS=-fasynchronous-unwind-tables
15650 else
15651 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
15653 if test "x$enable_win64" = "xyes"
15654 then
15655 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
15659 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
15662 if test "$ac_cv_c_asm_outside_funcs" = "yes"
15663 then
15664 cat >>confdefs.h <<_ACEOF
15665 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
15666 _ACEOF
15668 else
15669 cat >>confdefs.h <<_ACEOF
15670 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
15671 _ACEOF
15675 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
15678 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
15682 case $build_os in
15683 cygwin*|mingw32*) TOOLSEXT=".exe"
15685 esac
15687 case $host_os in
15688 linux*)
15689 case $host_cpu in
15690 *i[3456789]86*|x86_64*|*aarch64*)
15691 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
15692 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
15694 esac
15696 esac
15699 ac_save_CFLAGS="$CFLAGS"
15700 CFLAGS="$CFLAGS $BUILTINFLAG"
15701 for ac_func in \
15702 __res_get_state \
15703 __res_getservers \
15704 _finite \
15705 _isnan \
15706 _pclose \
15707 _popen \
15708 _snprintf \
15709 _spawnvp \
15710 _strdup \
15711 _stricmp \
15712 _strnicmp \
15713 _strtoi64 \
15714 _strtoui64 \
15715 _vsnprintf \
15716 asctime_r \
15717 chsize \
15718 dlopen \
15719 epoll_create \
15720 ffs \
15721 finitef \
15722 fnmatch \
15723 fork \
15724 fpclass \
15725 fstatfs \
15726 fstatvfs \
15727 ftruncate \
15728 futimens \
15729 futimes \
15730 futimesat \
15731 getattrlist \
15732 getauxval \
15733 getifaddrs \
15734 getopt_long_only \
15735 getpwuid \
15736 gettimeofday \
15737 getuid \
15738 isnanf \
15739 kqueue \
15740 lstat \
15741 memmove \
15742 mmap \
15743 pclose \
15744 pipe2 \
15745 poll \
15746 popen \
15747 port_create \
15748 prctl \
15749 pread \
15750 proc_pidinfo \
15751 pwrite \
15752 readdir \
15753 readlink \
15754 sched_yield \
15755 select \
15756 setproctitle \
15757 setprogname \
15758 setrlimit \
15759 settimeofday \
15760 sigaltstack \
15761 sigprocmask \
15762 snprintf \
15763 statfs \
15764 statvfs \
15765 strcasecmp \
15766 strdup \
15767 strerror \
15768 strncasecmp \
15769 strnlen \
15770 strtold \
15771 strtoll \
15772 strtoull \
15773 symlink \
15774 sysinfo \
15775 tcdrain \
15776 thr_kill2 \
15777 timegm \
15778 usleep \
15779 vsnprintf
15781 do :
15782 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15783 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15784 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15785 cat >>confdefs.h <<_ACEOF
15786 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15787 _ACEOF
15790 done
15792 CFLAGS="$ac_save_CFLAGS"
15794 if test "$ac_cv_func_dlopen" = no
15795 then
15796 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15797 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15798 if ${ac_cv_lib_dl_dlopen+:} false; then :
15799 $as_echo_n "(cached) " >&6
15800 else
15801 ac_check_lib_save_LIBS=$LIBS
15802 LIBS="-ldl $LIBS"
15803 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15804 /* end confdefs.h. */
15806 /* Override any GCC internal prototype to avoid an error.
15807 Use char because int might match the return type of a GCC
15808 builtin and then its argument prototype would still apply. */
15809 #ifdef __cplusplus
15810 extern "C"
15811 #endif
15812 char dlopen ();
15814 main ()
15816 return dlopen ();
15818 return 0;
15820 _ACEOF
15821 if ac_fn_c_try_link "$LINENO"; then :
15822 ac_cv_lib_dl_dlopen=yes
15823 else
15824 ac_cv_lib_dl_dlopen=no
15826 rm -f core conftest.err conftest.$ac_objext \
15827 conftest$ac_exeext conftest.$ac_ext
15828 LIBS=$ac_check_lib_save_LIBS
15830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15831 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15832 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
15833 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15834 DL_LIBS="-ldl"
15839 ac_wine_check_funcs_save_LIBS="$LIBS"
15840 LIBS="$LIBS $DL_LIBS"
15841 for ac_func in dladdr
15842 do :
15843 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
15844 if test "x$ac_cv_func_dladdr" = xyes; then :
15845 cat >>confdefs.h <<_ACEOF
15846 #define HAVE_DLADDR 1
15847 _ACEOF
15850 done
15852 LIBS="$ac_wine_check_funcs_save_LIBS"
15854 if test "$ac_cv_func_poll" = no
15855 then
15856 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15857 $as_echo_n "checking for poll in -lpoll... " >&6; }
15858 if ${ac_cv_lib_poll_poll+:} false; then :
15859 $as_echo_n "(cached) " >&6
15860 else
15861 ac_check_lib_save_LIBS=$LIBS
15862 LIBS="-lpoll $LIBS"
15863 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15864 /* end confdefs.h. */
15866 /* Override any GCC internal prototype to avoid an error.
15867 Use char because int might match the return type of a GCC
15868 builtin and then its argument prototype would still apply. */
15869 #ifdef __cplusplus
15870 extern "C"
15871 #endif
15872 char poll ();
15874 main ()
15876 return poll ();
15878 return 0;
15880 _ACEOF
15881 if ac_fn_c_try_link "$LINENO"; then :
15882 ac_cv_lib_poll_poll=yes
15883 else
15884 ac_cv_lib_poll_poll=no
15886 rm -f core conftest.err conftest.$ac_objext \
15887 conftest$ac_exeext conftest.$ac_ext
15888 LIBS=$ac_check_lib_save_LIBS
15890 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
15891 $as_echo "$ac_cv_lib_poll_poll" >&6; }
15892 if test "x$ac_cv_lib_poll_poll" = xyes; then :
15893 $as_echo "#define HAVE_POLL 1" >>confdefs.h
15894 POLL_LIBS="-lpoll"
15900 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15901 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15902 if ${ac_cv_search_gethostbyname+:} false; then :
15903 $as_echo_n "(cached) " >&6
15904 else
15905 ac_func_search_save_LIBS=$LIBS
15906 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15907 /* end confdefs.h. */
15909 /* Override any GCC internal prototype to avoid an error.
15910 Use char because int might match the return type of a GCC
15911 builtin and then its argument prototype would still apply. */
15912 #ifdef __cplusplus
15913 extern "C"
15914 #endif
15915 char gethostbyname ();
15917 main ()
15919 return gethostbyname ();
15921 return 0;
15923 _ACEOF
15924 for ac_lib in '' nsl; do
15925 if test -z "$ac_lib"; then
15926 ac_res="none required"
15927 else
15928 ac_res=-l$ac_lib
15929 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15931 if ac_fn_c_try_link "$LINENO"; then :
15932 ac_cv_search_gethostbyname=$ac_res
15934 rm -f core conftest.err conftest.$ac_objext \
15935 conftest$ac_exeext
15936 if ${ac_cv_search_gethostbyname+:} false; then :
15937 break
15939 done
15940 if ${ac_cv_search_gethostbyname+:} false; then :
15942 else
15943 ac_cv_search_gethostbyname=no
15945 rm conftest.$ac_ext
15946 LIBS=$ac_func_search_save_LIBS
15948 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15949 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15950 ac_res=$ac_cv_search_gethostbyname
15951 if test "$ac_res" != no; then :
15952 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15957 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
15958 $as_echo_n "checking for library containing connect... " >&6; }
15959 if ${ac_cv_search_connect+:} false; then :
15960 $as_echo_n "(cached) " >&6
15961 else
15962 ac_func_search_save_LIBS=$LIBS
15963 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15964 /* end confdefs.h. */
15966 /* Override any GCC internal prototype to avoid an error.
15967 Use char because int might match the return type of a GCC
15968 builtin and then its argument prototype would still apply. */
15969 #ifdef __cplusplus
15970 extern "C"
15971 #endif
15972 char connect ();
15974 main ()
15976 return connect ();
15978 return 0;
15980 _ACEOF
15981 for ac_lib in '' socket; do
15982 if test -z "$ac_lib"; then
15983 ac_res="none required"
15984 else
15985 ac_res=-l$ac_lib
15986 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15988 if ac_fn_c_try_link "$LINENO"; then :
15989 ac_cv_search_connect=$ac_res
15991 rm -f core conftest.err conftest.$ac_objext \
15992 conftest$ac_exeext
15993 if ${ac_cv_search_connect+:} false; then :
15994 break
15996 done
15997 if ${ac_cv_search_connect+:} false; then :
15999 else
16000 ac_cv_search_connect=no
16002 rm conftest.$ac_ext
16003 LIBS=$ac_func_search_save_LIBS
16005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
16006 $as_echo "$ac_cv_search_connect" >&6; }
16007 ac_res=$ac_cv_search_connect
16008 if test "$ac_res" != no; then :
16009 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16014 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
16015 $as_echo_n "checking for library containing inet_aton... " >&6; }
16016 if ${ac_cv_search_inet_aton+:} false; then :
16017 $as_echo_n "(cached) " >&6
16018 else
16019 ac_func_search_save_LIBS=$LIBS
16020 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16021 /* end confdefs.h. */
16023 /* Override any GCC internal prototype to avoid an error.
16024 Use char because int might match the return type of a GCC
16025 builtin and then its argument prototype would still apply. */
16026 #ifdef __cplusplus
16027 extern "C"
16028 #endif
16029 char inet_aton ();
16031 main ()
16033 return inet_aton ();
16035 return 0;
16037 _ACEOF
16038 for ac_lib in '' resolv; do
16039 if test -z "$ac_lib"; then
16040 ac_res="none required"
16041 else
16042 ac_res=-l$ac_lib
16043 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16045 if ac_fn_c_try_link "$LINENO"; then :
16046 ac_cv_search_inet_aton=$ac_res
16048 rm -f core conftest.err conftest.$ac_objext \
16049 conftest$ac_exeext
16050 if ${ac_cv_search_inet_aton+:} false; then :
16051 break
16053 done
16054 if ${ac_cv_search_inet_aton+:} false; then :
16056 else
16057 ac_cv_search_inet_aton=no
16059 rm conftest.$ac_ext
16060 LIBS=$ac_func_search_save_LIBS
16062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
16063 $as_echo "$ac_cv_search_inet_aton" >&6; }
16064 ac_res=$ac_cv_search_inet_aton
16065 if test "$ac_res" != no; then :
16066 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16071 for ac_func in \
16072 getaddrinfo \
16073 getnameinfo \
16074 getnetbyname \
16075 getprotobyname \
16076 getprotobynumber \
16077 getservbyport \
16078 inet_addr \
16079 inet_network \
16080 inet_ntop \
16081 inet_pton \
16082 sendmsg \
16083 socketpair \
16085 do :
16086 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16087 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16088 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16089 cat >>confdefs.h <<_ACEOF
16090 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16091 _ACEOF
16094 done
16097 ac_save_LIBS=$LIBS
16098 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
16099 $as_echo_n "checking for library containing clock_gettime... " >&6; }
16100 if ${ac_cv_search_clock_gettime+:} false; then :
16101 $as_echo_n "(cached) " >&6
16102 else
16103 ac_func_search_save_LIBS=$LIBS
16104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16105 /* end confdefs.h. */
16107 /* Override any GCC internal prototype to avoid an error.
16108 Use char because int might match the return type of a GCC
16109 builtin and then its argument prototype would still apply. */
16110 #ifdef __cplusplus
16111 extern "C"
16112 #endif
16113 char clock_gettime ();
16115 main ()
16117 return clock_gettime ();
16119 return 0;
16121 _ACEOF
16122 for ac_lib in '' rt; do
16123 if test -z "$ac_lib"; then
16124 ac_res="none required"
16125 else
16126 ac_res=-l$ac_lib
16127 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16129 if ac_fn_c_try_link "$LINENO"; then :
16130 ac_cv_search_clock_gettime=$ac_res
16132 rm -f core conftest.err conftest.$ac_objext \
16133 conftest$ac_exeext
16134 if ${ac_cv_search_clock_gettime+:} false; then :
16135 break
16137 done
16138 if ${ac_cv_search_clock_gettime+:} false; then :
16140 else
16141 ac_cv_search_clock_gettime=no
16143 rm conftest.$ac_ext
16144 LIBS=$ac_func_search_save_LIBS
16146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
16147 $as_echo "$ac_cv_search_clock_gettime" >&6; }
16148 ac_res=$ac_cv_search_clock_gettime
16149 if test "$ac_res" != no; then :
16150 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16152 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
16154 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
16158 LIBS=$ac_save_LIBS
16160 if test "x$with_ldap" != "xno"
16161 then
16162 if ${LDAP_CFLAGS:+false} :; then :
16163 if ${PKG_CONFIG+:} false; then :
16164 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
16168 if ${LDAP_LIBS:+false} :; then :
16169 if ${PKG_CONFIG+:} false; then :
16170 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
16174 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
16175 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
16176 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
16177 ac_save_CPPFLAGS=$CPPFLAGS
16178 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
16179 for ac_header in ldap.h lber.h
16180 do :
16181 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16182 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16183 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
16184 cat >>confdefs.h <<_ACEOF
16185 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16186 _ACEOF
16190 done
16192 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
16193 then
16194 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
16196 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
16197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
16198 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
16199 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
16200 $as_echo_n "(cached) " >&6
16201 else
16202 ac_check_lib_save_LIBS=$LIBS
16203 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
16204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16205 /* end confdefs.h. */
16207 /* Override any GCC internal prototype to avoid an error.
16208 Use char because int might match the return type of a GCC
16209 builtin and then its argument prototype would still apply. */
16210 #ifdef __cplusplus
16211 extern "C"
16212 #endif
16213 char ldap_initialize ();
16215 main ()
16217 return ldap_initialize ();
16219 return 0;
16221 _ACEOF
16222 if ac_fn_c_try_link "$LINENO"; then :
16223 ac_cv_lib_ldap_r_ldap_initialize=yes
16224 else
16225 ac_cv_lib_ldap_r_ldap_initialize=no
16227 rm -f core conftest.err conftest.$ac_objext \
16228 conftest$ac_exeext conftest.$ac_ext
16229 LIBS=$ac_check_lib_save_LIBS
16231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
16232 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
16233 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
16234 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
16235 $as_echo_n "checking for ber_init in -llber... " >&6; }
16236 if ${ac_cv_lib_lber_ber_init+:} false; then :
16237 $as_echo_n "(cached) " >&6
16238 else
16239 ac_check_lib_save_LIBS=$LIBS
16240 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
16241 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16242 /* end confdefs.h. */
16244 /* Override any GCC internal prototype to avoid an error.
16245 Use char because int might match the return type of a GCC
16246 builtin and then its argument prototype would still apply. */
16247 #ifdef __cplusplus
16248 extern "C"
16249 #endif
16250 char ber_init ();
16252 main ()
16254 return ber_init ();
16256 return 0;
16258 _ACEOF
16259 if ac_fn_c_try_link "$LINENO"; then :
16260 ac_cv_lib_lber_ber_init=yes
16261 else
16262 ac_cv_lib_lber_ber_init=no
16264 rm -f core conftest.err conftest.$ac_objext \
16265 conftest$ac_exeext conftest.$ac_ext
16266 LIBS=$ac_check_lib_save_LIBS
16268 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
16269 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
16270 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
16272 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
16274 else
16275 LDAP_LIBS=""
16278 else
16279 LDAP_LIBS=""
16282 else
16283 LDAP_LIBS=""
16286 ac_wine_check_funcs_save_LIBS="$LIBS"
16287 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
16288 for ac_func in \
16289 ldap_count_references \
16290 ldap_first_reference \
16291 ldap_next_reference \
16292 ldap_parse_reference \
16293 ldap_parse_sort_control \
16294 ldap_parse_sortresponse_control \
16295 ldap_parse_vlv_control \
16296 ldap_parse_vlvresponse_control
16297 do :
16298 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16299 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16300 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16301 cat >>confdefs.h <<_ACEOF
16302 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16303 _ACEOF
16306 done
16308 LIBS="$ac_wine_check_funcs_save_LIBS"
16309 else
16310 LDAP_LIBS=""
16312 CPPFLAGS=$ac_save_CPPFLAGS
16313 test -z "$LDAP_CFLAGS" || LDAP_CFLAGS=`echo " $LDAP_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16314 test -z "$LDAP_LIBS" || LDAP_LIBS=`echo " $LDAP_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16317 if test "x$LDAP_LIBS" = "x"; then :
16318 case "x$with_ldap" in
16319 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
16320 xno) ;;
16321 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
16322 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
16323 esac
16327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
16328 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
16329 if ${wine_cv_one_arg_mkdir+:} false; then :
16330 $as_echo_n "(cached) " >&6
16331 else
16332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16333 /* end confdefs.h. */
16334 #include <sys/stat.h>
16336 main ()
16338 mkdir("foo");
16340 return 0;
16342 _ACEOF
16343 if ac_fn_c_try_compile "$LINENO"; then :
16344 wine_cv_one_arg_mkdir=yes
16345 else
16346 wine_cv_one_arg_mkdir=no
16348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
16351 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
16352 if test "$wine_cv_one_arg_mkdir" = "yes"
16353 then
16355 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
16359 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
16360 $as_echo_n "checking for sched_setaffinity... " >&6; }
16361 if ${wine_cv_have_sched_setaffinity+:} false; then :
16362 $as_echo_n "(cached) " >&6
16363 else
16364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16365 /* end confdefs.h. */
16366 #define _GNU_SOURCE
16367 #include <sched.h>
16369 main ()
16371 sched_setaffinity(0, 0, 0);
16373 return 0;
16375 _ACEOF
16376 if ac_fn_c_try_link "$LINENO"; then :
16377 wine_cv_have_sched_setaffinity=yes
16378 else
16379 wine_cv_have_sched_setaffinity=no
16381 rm -f core conftest.err conftest.$ac_objext \
16382 conftest$ac_exeext conftest.$ac_ext
16384 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
16385 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
16386 if test "$wine_cv_have_sched_setaffinity" = "yes"
16387 then
16389 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
16393 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
16394 $as_echo_n "checking for fallocate... " >&6; }
16395 if ${wine_cv_have_fallocate+:} false; then :
16396 $as_echo_n "(cached) " >&6
16397 else
16398 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16399 /* end confdefs.h. */
16400 #define _GNU_SOURCE
16401 #include <fcntl.h>
16403 main ()
16405 fallocate(-1, 0, 0, 0);
16407 return 0;
16409 _ACEOF
16410 if ac_fn_c_try_link "$LINENO"; then :
16411 wine_cv_have_fallocate=yes
16412 else
16413 wine_cv_have_fallocate=no
16415 rm -f core conftest.err conftest.$ac_objext \
16416 conftest$ac_exeext conftest.$ac_ext
16418 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
16419 $as_echo "$wine_cv_have_fallocate" >&6; }
16420 if test "$wine_cv_have_fallocate" = "yes"
16421 then
16423 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
16428 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
16429 $as_echo_n "checking for inline... " >&6; }
16430 if ${ac_cv_c_inline+:} false; then :
16431 $as_echo_n "(cached) " >&6
16432 else
16433 ac_cv_c_inline=no
16434 for ac_kw in inline __inline__ __inline; do
16435 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16436 /* end confdefs.h. */
16437 #ifndef __cplusplus
16438 typedef int foo_t;
16439 static $ac_kw foo_t static_foo () {return 0; }
16440 $ac_kw foo_t foo () {return 0; }
16441 #endif
16443 _ACEOF
16444 if ac_fn_c_try_compile "$LINENO"; then :
16445 ac_cv_c_inline=$ac_kw
16447 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16448 test "$ac_cv_c_inline" != no && break
16449 done
16452 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
16453 $as_echo "$ac_cv_c_inline" >&6; }
16455 case $ac_cv_c_inline in
16456 inline | yes) ;;
16458 case $ac_cv_c_inline in
16459 no) ac_val=;;
16460 *) ac_val=$ac_cv_c_inline;;
16461 esac
16462 cat >>confdefs.h <<_ACEOF
16463 #ifndef __cplusplus
16464 #define inline $ac_val
16465 #endif
16466 _ACEOF
16468 esac
16470 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
16471 if test "x$ac_cv_type_mode_t" = xyes; then :
16473 cat >>confdefs.h <<_ACEOF
16474 #define HAVE_MODE_T 1
16475 _ACEOF
16479 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
16480 if test "x$ac_cv_type_off_t" = xyes; then :
16482 cat >>confdefs.h <<_ACEOF
16483 #define HAVE_OFF_T 1
16484 _ACEOF
16488 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
16489 if test "x$ac_cv_type_pid_t" = xyes; then :
16491 cat >>confdefs.h <<_ACEOF
16492 #define HAVE_PID_T 1
16493 _ACEOF
16497 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
16498 if test "x$ac_cv_type_size_t" = xyes; then :
16500 cat >>confdefs.h <<_ACEOF
16501 #define HAVE_SIZE_T 1
16502 _ACEOF
16506 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
16507 if test "x$ac_cv_type_ssize_t" = xyes; then :
16509 cat >>confdefs.h <<_ACEOF
16510 #define HAVE_SSIZE_T 1
16511 _ACEOF
16515 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
16516 if test "x$ac_cv_type_long_long" = xyes; then :
16518 cat >>confdefs.h <<_ACEOF
16519 #define HAVE_LONG_LONG 1
16520 _ACEOF
16524 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
16525 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
16527 cat >>confdefs.h <<_ACEOF
16528 #define HAVE_FSBLKCNT_T 1
16529 _ACEOF
16533 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
16534 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
16536 cat >>confdefs.h <<_ACEOF
16537 #define HAVE_FSFILCNT_T 1
16538 _ACEOF
16543 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
16544 #include <signal.h>
16546 if test "x$ac_cv_type_sigset_t" = xyes; then :
16548 cat >>confdefs.h <<_ACEOF
16549 #define HAVE_SIGSET_T 1
16550 _ACEOF
16555 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
16557 if test "x$ac_cv_type_request_sense" = xyes; then :
16559 cat >>confdefs.h <<_ACEOF
16560 #define HAVE_REQUEST_SENSE 1
16561 _ACEOF
16567 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
16568 #ifdef HAVE_SYS_SOCKET_H
16569 #include <sys/socket.h>
16570 #endif
16571 #ifdef HAVE_SYS_SOCKETVAR_H
16572 #include <sys/socketvar.h>
16573 #endif
16574 #ifdef HAVE_NET_ROUTE_H
16575 #include <net/route.h>
16576 #endif
16577 #ifdef HAVE_NETINET_IN_H
16578 #include <netinet/in.h>
16579 #endif
16580 #ifdef HAVE_NETINET_IN_SYSTM_H
16581 #include <netinet/in_systm.h>
16582 #endif
16583 #ifdef HAVE_NETINET_IP_H
16584 #include <netinet/ip.h>
16585 #endif
16586 #ifdef HAVE_NETINET_IN_PCB_H
16587 #include <netinet/in_pcb.h>
16588 #endif
16590 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
16592 cat >>confdefs.h <<_ACEOF
16593 #define HAVE_STRUCT_XINPGEN 1
16594 _ACEOF
16600 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
16601 #include <link.h>
16602 #endif
16603 #ifdef HAVE_SYS_LINK_H
16604 #include <sys/link.h>
16605 #endif
16607 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
16609 cat >>confdefs.h <<_ACEOF
16610 #define HAVE_STRUCT_R_DEBUG 1
16611 _ACEOF
16615 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
16616 #include <link.h>
16617 #endif
16618 #ifdef HAVE_SYS_LINK_H
16619 #include <sys/link.h>
16620 #endif
16622 if test "x$ac_cv_type_struct_link_map" = xyes; then :
16624 cat >>confdefs.h <<_ACEOF
16625 #define HAVE_STRUCT_LINK_MAP 1
16626 _ACEOF
16632 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
16633 #include <linux/input.h>
16634 #endif
16636 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
16638 cat >>confdefs.h <<_ACEOF
16639 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
16640 _ACEOF
16646 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
16647 $as_echo_n "checking for if_nameindex... " >&6; }
16648 if ${wine_cv_have_if_nameindex+:} false; then :
16649 $as_echo_n "(cached) " >&6
16650 else
16651 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16652 /* end confdefs.h. */
16653 #ifdef HAVE_SYS_TYPES_H
16654 #include <sys/types.h>
16655 #endif
16656 #ifdef HAVE_SYS_SOCKET_H
16657 #include <sys/socket.h>
16658 #endif
16659 #ifdef HAVE_NET_IF_H
16660 # include <net/if.h>
16661 #endif
16663 main ()
16665 struct if_nameindex *p = if_nameindex(); return p->if_index;
16667 return 0;
16669 _ACEOF
16670 if ac_fn_c_try_link "$LINENO"; then :
16671 wine_cv_have_if_nameindex=yes
16672 else
16673 wine_cv_have_if_nameindex=no
16675 rm -f core conftest.err conftest.$ac_objext \
16676 conftest$ac_exeext conftest.$ac_ext
16678 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
16679 $as_echo "$wine_cv_have_if_nameindex" >&6; }
16680 if test "$wine_cv_have_if_nameindex" = "yes"
16681 then
16683 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
16687 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
16688 $as_echo_n "checking for sigaddset... " >&6; }
16689 if ${wine_cv_have_sigaddset+:} false; then :
16690 $as_echo_n "(cached) " >&6
16691 else
16692 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16693 /* end confdefs.h. */
16694 #include <signal.h>
16696 main ()
16698 sigset_t set; sigaddset(&set,SIGTERM);
16700 return 0;
16702 _ACEOF
16703 if ac_fn_c_try_link "$LINENO"; then :
16704 wine_cv_have_sigaddset=yes
16705 else
16706 wine_cv_have_sigaddset=no
16708 rm -f core conftest.err conftest.$ac_objext \
16709 conftest$ac_exeext conftest.$ac_ext
16711 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
16712 $as_echo "$wine_cv_have_sigaddset" >&6; }
16713 if test "$wine_cv_have_sigaddset" = "yes"
16714 then
16716 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
16721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
16722 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
16723 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
16724 $as_echo_n "(cached) " >&6
16725 else
16726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16727 /* end confdefs.h. */
16728 #include <netdb.h>
16730 main ()
16733 char *name=0;
16734 struct hostent he;
16735 struct hostent *result;
16736 char *buf=0;
16737 int bufsize=0;
16738 int errnr;
16739 char *addr=0;
16740 int addrlen=0;
16741 int addrtype=0;
16742 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
16743 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
16746 return 0;
16748 _ACEOF
16749 if ac_fn_c_try_link "$LINENO"; then :
16750 wine_cv_linux_gethostbyname_r_6=yes
16751 else
16752 wine_cv_linux_gethostbyname_r_6=no
16755 rm -f core conftest.err conftest.$ac_objext \
16756 conftest$ac_exeext conftest.$ac_ext
16759 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
16760 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
16761 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
16762 then
16764 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
16768 if test "$ac_cv_header_linux_joystick_h" = "yes"
16769 then
16770 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
16771 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
16772 if ${wine_cv_linux_joystick_22_api+:} false; then :
16773 $as_echo_n "(cached) " >&6
16774 else
16775 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16776 /* end confdefs.h. */
16778 #include <sys/ioctl.h>
16779 #include <sys/types.h>
16780 #include <linux/joystick.h>
16782 struct js_event blub;
16783 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
16784 #error "no 2.2 header"
16785 #endif
16788 main ()
16790 /*empty*/
16792 return 0;
16794 _ACEOF
16795 if ac_fn_c_try_compile "$LINENO"; then :
16796 wine_cv_linux_joystick_22_api=yes
16797 else
16798 wine_cv_linux_joystick_22_api=no
16800 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16803 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
16804 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
16805 if test "$wine_cv_linux_joystick_22_api" = "yes"
16806 then
16808 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
16814 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
16815 #ifdef HAVE_SYS_PARAM_H
16816 # include <sys/param.h>
16817 #endif
16818 #ifdef HAVE_SYS_MOUNT_H
16819 # include <sys/mount.h>
16820 #endif
16821 #ifdef HAVE_SYS_VFS_H
16822 # include <sys/vfs.h>
16823 #endif
16824 #ifdef HAVE_SYS_STATFS_H
16825 # include <sys/statfs.h>
16826 #endif
16828 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
16830 cat >>confdefs.h <<_ACEOF
16831 #define HAVE_STRUCT_STATFS_F_BFREE 1
16832 _ACEOF
16836 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
16837 #ifdef HAVE_SYS_PARAM_H
16838 # include <sys/param.h>
16839 #endif
16840 #ifdef HAVE_SYS_MOUNT_H
16841 # include <sys/mount.h>
16842 #endif
16843 #ifdef HAVE_SYS_VFS_H
16844 # include <sys/vfs.h>
16845 #endif
16846 #ifdef HAVE_SYS_STATFS_H
16847 # include <sys/statfs.h>
16848 #endif
16850 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
16852 cat >>confdefs.h <<_ACEOF
16853 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
16854 _ACEOF
16858 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
16859 #ifdef HAVE_SYS_PARAM_H
16860 # include <sys/param.h>
16861 #endif
16862 #ifdef HAVE_SYS_MOUNT_H
16863 # include <sys/mount.h>
16864 #endif
16865 #ifdef HAVE_SYS_VFS_H
16866 # include <sys/vfs.h>
16867 #endif
16868 #ifdef HAVE_SYS_STATFS_H
16869 # include <sys/statfs.h>
16870 #endif
16872 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
16874 cat >>confdefs.h <<_ACEOF
16875 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
16876 _ACEOF
16880 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
16881 #ifdef HAVE_SYS_PARAM_H
16882 # include <sys/param.h>
16883 #endif
16884 #ifdef HAVE_SYS_MOUNT_H
16885 # include <sys/mount.h>
16886 #endif
16887 #ifdef HAVE_SYS_VFS_H
16888 # include <sys/vfs.h>
16889 #endif
16890 #ifdef HAVE_SYS_STATFS_H
16891 # include <sys/statfs.h>
16892 #endif
16894 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
16896 cat >>confdefs.h <<_ACEOF
16897 #define HAVE_STRUCT_STATFS_F_FFREE 1
16898 _ACEOF
16902 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
16903 #ifdef HAVE_SYS_PARAM_H
16904 # include <sys/param.h>
16905 #endif
16906 #ifdef HAVE_SYS_MOUNT_H
16907 # include <sys/mount.h>
16908 #endif
16909 #ifdef HAVE_SYS_VFS_H
16910 # include <sys/vfs.h>
16911 #endif
16912 #ifdef HAVE_SYS_STATFS_H
16913 # include <sys/statfs.h>
16914 #endif
16916 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
16918 cat >>confdefs.h <<_ACEOF
16919 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
16920 _ACEOF
16924 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
16925 #ifdef HAVE_SYS_PARAM_H
16926 # include <sys/param.h>
16927 #endif
16928 #ifdef HAVE_SYS_MOUNT_H
16929 # include <sys/mount.h>
16930 #endif
16931 #ifdef HAVE_SYS_VFS_H
16932 # include <sys/vfs.h>
16933 #endif
16934 #ifdef HAVE_SYS_STATFS_H
16935 # include <sys/statfs.h>
16936 #endif
16938 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
16940 cat >>confdefs.h <<_ACEOF
16941 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
16942 _ACEOF
16948 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
16949 #include <sys/statvfs.h>
16950 #endif
16952 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
16954 cat >>confdefs.h <<_ACEOF
16955 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
16956 _ACEOF
16962 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
16963 #include <dirent.h>
16964 #endif
16966 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
16968 cat >>confdefs.h <<_ACEOF
16969 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
16970 _ACEOF
16976 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
16977 #ifdef HAVE_SYS_SOCKET_H
16978 # include <sys/socket.h>
16979 #endif
16980 #ifdef HAVE_SYS_UN_H
16981 # include <sys/un.h>
16982 #endif
16984 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
16986 cat >>confdefs.h <<_ACEOF
16987 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
16988 _ACEOF
16992 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
16993 #ifdef HAVE_SYS_SOCKET_H
16994 # include <sys/socket.h>
16995 #endif
16996 #ifdef HAVE_SYS_UN_H
16997 # include <sys/un.h>
16998 #endif
17000 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
17002 cat >>confdefs.h <<_ACEOF
17003 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
17004 _ACEOF
17008 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
17009 #ifdef HAVE_SYS_SOCKET_H
17010 # include <sys/socket.h>
17011 #endif
17012 #ifdef HAVE_SYS_UN_H
17013 # include <sys/un.h>
17014 #endif
17016 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
17018 cat >>confdefs.h <<_ACEOF
17019 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
17020 _ACEOF
17026 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
17027 #ifdef HAVE_SCSI_SG_H
17028 #include <scsi/sg.h>
17029 #endif
17031 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
17033 cat >>confdefs.h <<_ACEOF
17034 #define HAVE_SCSIREQ_T_CMD 1
17035 _ACEOF
17039 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>
17040 #ifdef HAVE_SCSI_SG_H
17041 #include <scsi/sg.h>
17042 #endif
17044 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
17046 cat >>confdefs.h <<_ACEOF
17047 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
17048 _ACEOF
17054 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
17056 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
17058 cat >>confdefs.h <<_ACEOF
17059 #define HAVE_SIGINFO_T_SI_FD 1
17060 _ACEOF
17066 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
17067 #ifdef HAVE_SYS_MTIO_H
17068 #include <sys/mtio.h>
17069 #endif
17071 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
17073 cat >>confdefs.h <<_ACEOF
17074 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
17075 _ACEOF
17079 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
17080 #ifdef HAVE_SYS_MTIO_H
17081 #include <sys/mtio.h>
17082 #endif
17084 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
17086 cat >>confdefs.h <<_ACEOF
17087 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
17088 _ACEOF
17092 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
17093 #ifdef HAVE_SYS_MTIO_H
17094 #include <sys/mtio.h>
17095 #endif
17097 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
17099 cat >>confdefs.h <<_ACEOF
17100 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
17101 _ACEOF
17107 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
17108 #include <getopt.h>
17109 #endif
17111 if test "x$ac_cv_member_struct_option_name" = xyes; then :
17113 cat >>confdefs.h <<_ACEOF
17114 #define HAVE_STRUCT_OPTION_NAME 1
17115 _ACEOF
17121 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
17122 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
17124 cat >>confdefs.h <<_ACEOF
17125 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
17126 _ACEOF
17130 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
17131 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
17133 cat >>confdefs.h <<_ACEOF
17134 #define HAVE_STRUCT_STAT_ST_MTIM 1
17135 _ACEOF
17139 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
17140 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
17142 cat >>confdefs.h <<_ACEOF
17143 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
17144 _ACEOF
17148 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
17149 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
17151 cat >>confdefs.h <<_ACEOF
17152 #define HAVE_STRUCT_STAT_ST_CTIM 1
17153 _ACEOF
17157 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
17158 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
17160 cat >>confdefs.h <<_ACEOF
17161 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
17162 _ACEOF
17166 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
17167 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
17169 cat >>confdefs.h <<_ACEOF
17170 #define HAVE_STRUCT_STAT_ST_ATIM 1
17171 _ACEOF
17175 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
17176 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
17178 cat >>confdefs.h <<_ACEOF
17179 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
17180 _ACEOF
17184 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
17185 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
17187 cat >>confdefs.h <<_ACEOF
17188 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
17189 _ACEOF
17193 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
17194 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
17196 cat >>confdefs.h <<_ACEOF
17197 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
17198 _ACEOF
17202 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
17203 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
17205 cat >>confdefs.h <<_ACEOF
17206 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
17207 _ACEOF
17211 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
17212 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
17214 cat >>confdefs.h <<_ACEOF
17215 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
17216 _ACEOF
17220 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
17221 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
17223 cat >>confdefs.h <<_ACEOF
17224 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
17225 _ACEOF
17231 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
17232 #include <sys/types.h>
17233 #endif
17234 #ifdef HAVE_NETINET_IN_H
17235 #include <netinet/in.h>
17236 #endif
17238 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
17240 cat >>confdefs.h <<_ACEOF
17241 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
17242 _ACEOF
17248 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
17249 #include <sys/types.h>
17250 #endif
17251 #ifdef HAVE_NETINET_IN_H
17252 #include <netinet/in.h>
17253 #endif
17254 #ifdef HAVE_RESOLV_H
17255 #include <resolv.h>
17256 #endif
17258 if test "x$ac_cv_type_struct___res_state" = xyes; then :
17260 cat >>confdefs.h <<_ACEOF
17261 #define HAVE_STRUCT___RES_STATE 1
17262 _ACEOF
17268 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
17269 #include <resolv.h>
17270 #endif
17272 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
17274 cat >>confdefs.h <<_ACEOF
17275 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
17276 _ACEOF
17282 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
17283 #include <sys/types.h>
17284 #endif
17285 #ifdef HAVE_NETINET_IN_H
17286 # include <netinet/in.h>
17287 #endif
17288 #ifdef HAVE_ARPA_NAMESER_H
17289 # include <arpa/nameser.h>
17290 #endif
17292 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
17294 cat >>confdefs.h <<_ACEOF
17295 #define HAVE_NS_MSG__MSG_PTR 1
17296 _ACEOF
17302 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
17303 #include <sys/types.h>
17304 #endif
17305 #ifdef HAVE_NETINET_IN_H
17306 #include <netinet/in.h>
17307 #endif
17308 #ifdef HAVE_NETINET_IP_H
17309 #include <netinet/ip.h>
17310 #endif
17311 #ifdef HAVE_NETINET_IP_ICMP_H
17312 #include <netinet/ip_icmp.h>
17313 #endif
17314 #ifdef HAVE_NETINET_ICMP_VAR_H
17315 #include <netinet/icmp_var.h>
17316 #endif
17318 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
17320 cat >>confdefs.h <<_ACEOF
17321 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
17322 _ACEOF
17328 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
17329 #include <sys/types.h>
17330 #endif
17331 #ifdef HAVE_ALIAS_H
17332 #include <alias.h>
17333 #endif
17334 #ifdef HAVE_SYS_SOCKET_H
17335 #include <sys/socket.h>
17336 #endif
17337 #ifdef HAVE_SYS_SOCKETVAR_H
17338 #include <sys/socketvar.h>
17339 #endif
17340 #ifdef HAVE_SYS_TIMEOUT_H
17341 #include <sys/timeout.h>
17342 #endif
17343 #ifdef HAVE_NETINET_IN_H
17344 #include <netinet/in.h>
17345 #endif
17346 #ifdef HAVE_NETINET_IN_SYSTM_H
17347 #include <netinet/in_systm.h>
17348 #endif
17349 #ifdef HAVE_NETINET_IP_H
17350 #include <netinet/ip.h>
17351 #endif
17352 #ifdef HAVE_NETINET_IP_VAR_H
17353 #include <netinet/ip_var.h>
17354 #endif
17355 #ifdef HAVE_NETINET_IP_ICMP_H
17356 #include <netinet/ip_icmp.h>
17357 #endif
17358 #ifdef HAVE_NETINET_ICMP_VAR_H
17359 #include <netinet/icmp_var.h>
17360 #endif
17362 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
17364 cat >>confdefs.h <<_ACEOF
17365 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
17366 _ACEOF
17372 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
17373 #include <sys/types.h>
17374 #endif
17375 #ifdef HAVE_SYS_SOCKETVAR_H
17376 #include <sys/socketvar.h>
17377 #endif
17378 #ifdef HAVE_NETINET_IN_H
17379 #include <netinet/in.h>
17380 #endif
17381 #ifdef HAVE_NETINET_IP_VAR_H
17382 #include <netinet/ip_var.h>
17383 #endif
17385 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
17387 cat >>confdefs.h <<_ACEOF
17388 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
17389 _ACEOF
17395 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
17396 #include <netinet/ip_var.h>
17397 #endif
17399 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
17401 cat >>confdefs.h <<_ACEOF
17402 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
17403 _ACEOF
17409 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
17410 #include <sys/types.h>
17411 #endif
17412 #ifdef HAVE_SYS_SOCKETVAR_H
17413 #include <sys/socketvar.h>
17414 #endif
17415 #ifdef HAVE_NETINET_IN_H
17416 #include <netinet/in.h>
17417 #endif
17418 #ifdef HAVE_NETINET_TCP_H
17419 #include <netinet/tcp.h>
17420 #endif
17421 #ifdef HAVE_NETINET_TCP_VAR_H
17422 #include <netinet/tcp_var.h>
17423 #endif
17425 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
17427 cat >>confdefs.h <<_ACEOF
17428 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
17429 _ACEOF
17435 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
17436 #include <netinet/tcp_var.h>
17437 #endif
17439 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
17441 cat >>confdefs.h <<_ACEOF
17442 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
17443 _ACEOF
17449 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
17450 #include <sys/types.h>
17451 #endif
17452 #ifdef HAVE_NETINET_IN_H
17453 #include <netinet/in.h>
17454 #endif
17455 #ifdef HAVE_NETINET_IP_VAR_H
17456 #include <netinet/ip_var.h>
17457 #endif
17458 #ifdef HAVE_NETINET_UDP_H
17459 #include <netinet/udp.h>
17460 #endif
17461 #ifdef HAVE_NETINET_UDP_VAR_H
17462 #include <netinet/udp_var.h>
17463 #endif
17465 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
17467 cat >>confdefs.h <<_ACEOF
17468 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
17469 _ACEOF
17475 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
17476 #include <sys/types.h>
17477 #endif
17478 #ifdef HAVE_NET_IF_H
17479 # include <net/if.h>
17480 #endif
17482 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
17484 cat >>confdefs.h <<_ACEOF
17485 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
17486 _ACEOF
17492 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
17493 $as_echo_n "checking for timezone variable... " >&6; }
17494 if ${ac_cv_have_timezone+:} false; then :
17495 $as_echo_n "(cached) " >&6
17496 else
17497 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17498 /* end confdefs.h. */
17499 #include <time.h>
17501 main ()
17503 timezone = 1
17505 return 0;
17507 _ACEOF
17508 if ac_fn_c_try_link "$LINENO"; then :
17509 ac_cv_have_timezone="yes"
17510 else
17511 ac_cv_have_timezone="no"
17513 rm -f core conftest.err conftest.$ac_objext \
17514 conftest$ac_exeext conftest.$ac_ext
17516 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
17517 $as_echo "$ac_cv_have_timezone" >&6; }
17518 if test "$ac_cv_have_timezone" = "yes"
17519 then
17521 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
17524 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
17525 $as_echo_n "checking for daylight variable... " >&6; }
17526 if ${ac_cv_have_daylight+:} false; then :
17527 $as_echo_n "(cached) " >&6
17528 else
17529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17530 /* end confdefs.h. */
17531 #include <time.h>
17533 main ()
17535 daylight = 1
17537 return 0;
17539 _ACEOF
17540 if ac_fn_c_try_link "$LINENO"; then :
17541 ac_cv_have_daylight="yes"
17542 else
17543 ac_cv_have_daylight="no"
17545 rm -f core conftest.err conftest.$ac_objext \
17546 conftest$ac_exeext conftest.$ac_ext
17548 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
17549 $as_echo "$ac_cv_have_daylight" >&6; }
17550 if test "$ac_cv_have_daylight" = "yes"
17551 then
17553 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
17557 ac_save_LIBS="$LIBS"
17558 LIBS="$LIBS -lm"
17559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
17560 $as_echo_n "checking for isfinite... " >&6; }
17561 if ${ac_cv_have_isfinite+:} false; then :
17562 $as_echo_n "(cached) " >&6
17563 else
17564 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17565 /* end confdefs.h. */
17566 #define _GNU_SOURCE
17567 #include <math.h>
17569 main ()
17571 float f = 0.0; return isfinite(f)
17573 return 0;
17575 _ACEOF
17576 if ac_fn_c_try_link "$LINENO"; then :
17577 ac_cv_have_isfinite="yes"
17578 else
17579 ac_cv_have_isfinite="no"
17581 rm -f core conftest.err conftest.$ac_objext \
17582 conftest$ac_exeext conftest.$ac_ext
17584 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
17585 $as_echo "$ac_cv_have_isfinite" >&6; }
17586 if test "$ac_cv_have_isfinite" = "yes"
17587 then
17589 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
17593 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
17594 $as_echo_n "checking for isinf... " >&6; }
17595 if ${ac_cv_have_isinf+:} false; then :
17596 $as_echo_n "(cached) " >&6
17597 else
17598 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17599 /* end confdefs.h. */
17600 #include <math.h>
17602 main ()
17604 float f = 0.0; return isinf(f)
17606 return 0;
17608 _ACEOF
17609 if ac_fn_c_try_link "$LINENO"; then :
17610 ac_cv_have_isinf="yes"
17611 else
17612 ac_cv_have_isinf="no"
17614 rm -f core conftest.err conftest.$ac_objext \
17615 conftest$ac_exeext conftest.$ac_ext
17617 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
17618 $as_echo "$ac_cv_have_isinf" >&6; }
17619 if test "$ac_cv_have_isinf" = "yes"
17620 then
17622 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
17626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
17627 $as_echo_n "checking for isnan... " >&6; }
17628 if ${ac_cv_have_isnan+:} false; then :
17629 $as_echo_n "(cached) " >&6
17630 else
17631 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17632 /* end confdefs.h. */
17633 #include <math.h>
17635 main ()
17637 float f = 0.0; return isnan(f)
17639 return 0;
17641 _ACEOF
17642 if ac_fn_c_try_link "$LINENO"; then :
17643 ac_cv_have_isnan="yes"
17644 else
17645 ac_cv_have_isnan="no"
17647 rm -f core conftest.err conftest.$ac_objext \
17648 conftest$ac_exeext conftest.$ac_ext
17650 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
17651 $as_echo "$ac_cv_have_isnan" >&6; }
17652 if test "$ac_cv_have_isnan" = "yes"
17653 then
17655 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
17659 for ac_func in \
17660 acosh \
17661 acoshf \
17662 asinh \
17663 asinhf \
17664 atanh \
17665 atanhf \
17666 cbrt \
17667 cbrtf \
17668 erf \
17669 erfc \
17670 erfcf \
17671 erff \
17672 exp2 \
17673 exp2f \
17674 expm1 \
17675 expm1f \
17676 j0 \
17677 j1 \
17678 jn \
17679 lgamma \
17680 lgammaf \
17681 llrint \
17682 llrintf \
17683 llround \
17684 llroundf \
17685 log1p \
17686 log1pf \
17687 log2 \
17688 log2f \
17689 lrint \
17690 lrintf \
17691 lround \
17692 lroundf \
17693 nearbyint \
17694 nearbyintf \
17695 powl \
17696 remainder \
17697 remainderf \
17698 rint \
17699 rintf \
17700 round \
17701 roundf \
17702 trunc \
17703 truncf \
17704 y0 \
17705 y1 \
17708 do :
17709 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17710 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17711 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17712 cat >>confdefs.h <<_ACEOF
17713 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17714 _ACEOF
17717 done
17719 LIBS="$ac_save_LIBS"
17721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
17722 $as_echo_n "checking for __builtin_clz... " >&6; }
17723 if ${ac_cv_have___builtin_clz+:} false; then :
17724 $as_echo_n "(cached) " >&6
17725 else
17726 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17727 /* end confdefs.h. */
17730 main ()
17732 return __builtin_clz(1)
17734 return 0;
17736 _ACEOF
17737 if ac_fn_c_try_link "$LINENO"; then :
17738 ac_cv_have___builtin_clz="yes"
17739 else
17740 ac_cv_have___builtin_clz="no"
17742 rm -f core conftest.err conftest.$ac_objext \
17743 conftest$ac_exeext conftest.$ac_ext
17745 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
17746 $as_echo "$ac_cv_have___builtin_clz" >&6; }
17747 if test "$ac_cv_have___builtin_clz" = "yes"
17748 then
17750 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
17754 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
17755 $as_echo_n "checking for __builtin_popcount... " >&6; }
17756 if ${ac_cv_have___builtin_popcount+:} false; then :
17757 $as_echo_n "(cached) " >&6
17758 else
17759 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17760 /* end confdefs.h. */
17763 main ()
17765 return __builtin_popcount(1)
17767 return 0;
17769 _ACEOF
17770 if ac_fn_c_try_link "$LINENO"; then :
17771 ac_cv_have___builtin_popcount="yes"
17772 else
17773 ac_cv_have___builtin_popcount="no"
17775 rm -f core conftest.err conftest.$ac_objext \
17776 conftest$ac_exeext conftest.$ac_ext
17778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
17779 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
17780 if test "$ac_cv_have___builtin_popcount" = "yes"
17781 then
17783 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
17787 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
17788 $as_echo_n "checking for __clear_cache... " >&6; }
17789 if ${ac_cv_have___clear_cache+:} false; then :
17790 $as_echo_n "(cached) " >&6
17791 else
17792 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17793 /* end confdefs.h. */
17796 main ()
17798 __clear_cache((void*)0, (void*)0); return 0;
17800 return 0;
17802 _ACEOF
17803 if ac_fn_c_try_link "$LINENO"; then :
17804 ac_cv_have___clear_cache="yes"
17805 else
17806 ac_cv_have___clear_cache="no"
17808 rm -f core conftest.err conftest.$ac_objext \
17809 conftest$ac_exeext conftest.$ac_ext
17811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
17812 $as_echo "$ac_cv_have___clear_cache" >&6; }
17813 if test "$ac_cv_have___clear_cache" = "yes"
17814 then
17816 $as_echo "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
17821 case $host_cpu in
17822 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
17823 $as_echo_n "checking whether we need to define __i386__... " >&6; }
17824 if ${ac_cv_cpp_def___i386__+:} false; then :
17825 $as_echo_n "(cached) " >&6
17826 else
17827 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17828 /* end confdefs.h. */
17829 #ifndef __i386__
17831 #endif
17832 _ACEOF
17833 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17834 $EGREP "yes" >/dev/null 2>&1; then :
17835 ac_cv_cpp_def___i386__=yes
17836 else
17837 ac_cv_cpp_def___i386__=no
17839 rm -f conftest*
17842 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
17843 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
17844 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
17845 CFLAGS="$CFLAGS -D__i386__"
17846 LINTFLAGS="$LINTFLAGS -D__i386__"
17847 fi ;;
17848 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
17849 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
17850 if ${ac_cv_cpp_def___x86_64__+:} false; then :
17851 $as_echo_n "(cached) " >&6
17852 else
17853 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17854 /* end confdefs.h. */
17855 #ifndef __x86_64__
17857 #endif
17858 _ACEOF
17859 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17860 $EGREP "yes" >/dev/null 2>&1; then :
17861 ac_cv_cpp_def___x86_64__=yes
17862 else
17863 ac_cv_cpp_def___x86_64__=no
17865 rm -f conftest*
17868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
17869 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
17870 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
17871 CFLAGS="$CFLAGS -D__x86_64__"
17872 LINTFLAGS="$LINTFLAGS -D__x86_64__"
17873 fi ;;
17874 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
17875 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
17876 if ${ac_cv_cpp_def___sparc64__+:} false; then :
17877 $as_echo_n "(cached) " >&6
17878 else
17879 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17880 /* end confdefs.h. */
17881 #ifndef __sparc64__
17883 #endif
17884 _ACEOF
17885 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17886 $EGREP "yes" >/dev/null 2>&1; then :
17887 ac_cv_cpp_def___sparc64__=yes
17888 else
17889 ac_cv_cpp_def___sparc64__=no
17891 rm -f conftest*
17894 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
17895 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
17896 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
17897 CFLAGS="$CFLAGS -D__sparc64__"
17898 LINTFLAGS="$LINTFLAGS -D__sparc64__"
17899 fi ;;
17900 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
17901 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
17902 if ${ac_cv_cpp_def___sparc__+:} false; then :
17903 $as_echo_n "(cached) " >&6
17904 else
17905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17906 /* end confdefs.h. */
17907 #ifndef __sparc__
17909 #endif
17910 _ACEOF
17911 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17912 $EGREP "yes" >/dev/null 2>&1; then :
17913 ac_cv_cpp_def___sparc__=yes
17914 else
17915 ac_cv_cpp_def___sparc__=no
17917 rm -f conftest*
17920 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
17921 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
17922 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
17923 CFLAGS="$CFLAGS -D__sparc__"
17924 LINTFLAGS="$LINTFLAGS -D__sparc__"
17925 fi ;;
17926 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
17927 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
17928 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
17929 $as_echo_n "(cached) " >&6
17930 else
17931 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17932 /* end confdefs.h. */
17933 #ifndef __powerpc64__
17935 #endif
17936 _ACEOF
17937 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17938 $EGREP "yes" >/dev/null 2>&1; then :
17939 ac_cv_cpp_def___powerpc64__=yes
17940 else
17941 ac_cv_cpp_def___powerpc64__=no
17943 rm -f conftest*
17946 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
17947 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
17948 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
17949 CFLAGS="$CFLAGS -D__powerpc64__"
17950 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
17951 fi ;;
17952 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
17953 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
17954 if ${ac_cv_cpp_def___powerpc__+:} false; then :
17955 $as_echo_n "(cached) " >&6
17956 else
17957 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17958 /* end confdefs.h. */
17959 #ifndef __powerpc__
17961 #endif
17962 _ACEOF
17963 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17964 $EGREP "yes" >/dev/null 2>&1; then :
17965 ac_cv_cpp_def___powerpc__=yes
17966 else
17967 ac_cv_cpp_def___powerpc__=no
17969 rm -f conftest*
17972 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
17973 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
17974 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
17975 CFLAGS="$CFLAGS -D__powerpc__"
17976 LINTFLAGS="$LINTFLAGS -D__powerpc__"
17977 fi ;;
17978 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
17979 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
17980 if ${ac_cv_cpp_def___aarch64__+:} false; then :
17981 $as_echo_n "(cached) " >&6
17982 else
17983 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17984 /* end confdefs.h. */
17985 #ifndef __aarch64__
17987 #endif
17988 _ACEOF
17989 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17990 $EGREP "yes" >/dev/null 2>&1; then :
17991 ac_cv_cpp_def___aarch64__=yes
17992 else
17993 ac_cv_cpp_def___aarch64__=no
17995 rm -f conftest*
17998 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
17999 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
18000 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
18001 CFLAGS="$CFLAGS -D__aarch64__"
18002 LINTFLAGS="$LINTFLAGS -D__aarch64__"
18003 fi ;;
18004 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
18005 $as_echo_n "checking whether we need to define __arm__... " >&6; }
18006 if ${ac_cv_cpp_def___arm__+:} false; then :
18007 $as_echo_n "(cached) " >&6
18008 else
18009 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18010 /* end confdefs.h. */
18011 #ifndef __arm__
18013 #endif
18014 _ACEOF
18015 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18016 $EGREP "yes" >/dev/null 2>&1; then :
18017 ac_cv_cpp_def___arm__=yes
18018 else
18019 ac_cv_cpp_def___arm__=no
18021 rm -f conftest*
18024 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
18025 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
18026 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
18027 CFLAGS="$CFLAGS -D__arm__"
18028 LINTFLAGS="$LINTFLAGS -D__arm__"
18029 fi ;;
18030 esac
18032 case $host_vendor in
18033 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
18034 $as_echo_n "checking whether we need to define __sun__... " >&6; }
18035 if ${ac_cv_cpp_def___sun__+:} false; then :
18036 $as_echo_n "(cached) " >&6
18037 else
18038 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18039 /* end confdefs.h. */
18040 #ifndef __sun__
18042 #endif
18043 _ACEOF
18044 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18045 $EGREP "yes" >/dev/null 2>&1; then :
18046 ac_cv_cpp_def___sun__=yes
18047 else
18048 ac_cv_cpp_def___sun__=no
18050 rm -f conftest*
18053 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
18054 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
18055 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
18056 CFLAGS="$CFLAGS -D__sun__"
18057 LINTFLAGS="$LINTFLAGS -D__sun__"
18058 fi ;;
18059 esac
18065 ac_config_commands="$ac_config_commands include/stamp-h"
18067 $as_echo_n "creating Makefile rules..." >&6
18069 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
18070 SOCKET_LIBS = $SOCKET_LIBS
18071 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
18072 IOKIT_LIBS = $IOKIT_LIBS
18073 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
18074 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
18075 CORESERVICES_LIBS = $CORESERVICES_LIBS
18076 APPKIT_LIBS = $APPKIT_LIBS
18077 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
18078 SECURITY_LIBS = $SECURITY_LIBS
18079 COREAUDIO_LIBS = $COREAUDIO_LIBS
18080 OPENAL_LIBS = $OPENAL_LIBS
18081 OPENCL_LIBS = $OPENCL_LIBS
18082 QUICKTIME_LIBS = $QUICKTIME_LIBS
18083 CARBON_LIBS = $CARBON_LIBS
18084 PTHREAD_LIBS = $PTHREAD_LIBS
18085 X_CFLAGS = $X_CFLAGS
18086 X_PRE_LIBS = $X_PRE_LIBS
18087 X_LIBS = $X_LIBS
18088 X_EXTRA_LIBS = $X_EXTRA_LIBS
18089 PCAP_LIBS = $PCAP_LIBS
18090 XML2_CFLAGS = $XML2_CFLAGS
18091 XML2_LIBS = $XML2_LIBS
18092 XSLT_CFLAGS = $XSLT_CFLAGS
18093 XSLT_LIBS = $XSLT_LIBS
18094 DBUS_CFLAGS = $DBUS_CFLAGS
18095 DBUS_LIBS = $DBUS_LIBS
18096 HAL_CFLAGS = $HAL_CFLAGS
18097 HAL_LIBS = $HAL_LIBS
18098 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
18099 GNUTLS_LIBS = $GNUTLS_LIBS
18100 SANE_CFLAGS = $SANE_CFLAGS
18101 SANE_LIBS = $SANE_LIBS
18102 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
18103 GPHOTO2_LIBS = $GPHOTO2_LIBS
18104 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
18105 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
18106 RESOLV_LIBS = $RESOLV_LIBS
18107 LCMS2_CFLAGS = $LCMS2_CFLAGS
18108 LCMS2_LIBS = $LCMS2_LIBS
18109 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
18110 FREETYPE_LIBS = $FREETYPE_LIBS
18111 Z_LIBS = $Z_LIBS
18112 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
18113 PULSE_CFLAGS = $PULSE_CFLAGS
18114 PULSE_LIBS = $PULSE_LIBS
18115 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
18116 GSTREAMER_LIBS = $GSTREAMER_LIBS
18117 ALSA_LIBS = $ALSA_LIBS
18118 OSS4_CFLAGS = $OSS4_CFLAGS
18119 UDEV_CFLAGS = $UDEV_CFLAGS
18120 UDEV_LIBS = $UDEV_LIBS
18121 SDL2_CFLAGS = $SDL2_CFLAGS
18122 SDL2_LIBS = $SDL2_LIBS
18123 CAPI20_CFLAGS = $CAPI20_CFLAGS
18124 CAPI20_LIBS = $CAPI20_LIBS
18125 CUPS_CFLAGS = $CUPS_CFLAGS
18126 CUPS_LIBS = $CUPS_LIBS
18127 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
18128 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
18129 KRB5_CFLAGS = $KRB5_CFLAGS
18130 KRB5_LIBS = $KRB5_LIBS
18131 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
18132 GSSAPI_LIBS = $GSSAPI_LIBS
18133 JPEG_CFLAGS = $JPEG_CFLAGS
18134 JPEG_LIBS = $JPEG_LIBS
18135 PNG_CFLAGS = $PNG_CFLAGS
18136 PNG_LIBS = $PNG_LIBS
18137 TIFF_CFLAGS = $TIFF_CFLAGS
18138 TIFF_LIBS = $TIFF_LIBS
18139 MPG123_CFLAGS = $MPG123_CFLAGS
18140 MPG123_LIBS = $MPG123_LIBS
18141 KSTAT_LIBS = $KSTAT_LIBS
18142 PROCSTAT_LIBS = $PROCSTAT_LIBS
18143 NETAPI_CFLAGS = $NETAPI_CFLAGS
18144 NETAPI_LIBS = $NETAPI_LIBS
18145 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
18146 DL_LIBS = $DL_LIBS
18147 POLL_LIBS = $POLL_LIBS
18148 RT_LIBS = $RT_LIBS
18149 LDAP_CFLAGS = $LDAP_CFLAGS
18150 LDAP_LIBS = $LDAP_LIBS
18155 wine_fn_append_rule "
18156 # Rules automatically generated by configure
18158 .INIT: Makefile
18159 .MAKEFILEDEPS:
18160 all: Makefile
18161 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
18162 @./config.status Make.tmp Makefile
18163 depend: \$(MAKEDEP) dummy
18164 \$(MAKEDEP)"
18166 if test "x$enable_fonts" != xno; then
18167 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
18168 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
18169 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
18170 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
18171 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
18172 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
18174 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
18175 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
18176 ac_config_links="$ac_config_links wine:tools/winewrapper"
18177 wine_fn_config_symlink wine
18178 if test "x$enable_win64" != xno; then
18179 ac_config_links="$ac_config_links wine64:tools/winewrapper"
18180 wine_fn_config_symlink wine64
18183 wine_fn_config_makefile dlls/acledit enable_acledit
18184 wine_fn_config_makefile dlls/aclui enable_aclui
18185 wine_fn_config_makefile dlls/activeds enable_activeds
18186 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
18187 wine_fn_config_makefile dlls/adsiid enable_adsiid
18188 wine_fn_config_makefile dlls/adsldp enable_adsldp
18189 wine_fn_config_makefile dlls/adsldp/tests enable_tests
18190 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
18191 wine_fn_config_makefile dlls/advapi32 enable_advapi32
18192 wine_fn_config_makefile dlls/advapi32/tests enable_tests
18193 wine_fn_config_makefile dlls/advpack enable_advpack
18194 wine_fn_config_makefile dlls/advpack/tests enable_tests
18195 wine_fn_config_makefile dlls/amstream enable_amstream
18196 wine_fn_config_makefile dlls/amstream/tests enable_tests
18197 wine_fn_config_makefile dlls/api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
18198 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
18199 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
18200 wine_fn_config_makefile dlls/api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
18201 wine_fn_config_makefile dlls/api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
18202 wine_fn_config_makefile dlls/api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
18203 wine_fn_config_makefile dlls/api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
18204 wine_fn_config_makefile dlls/api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
18205 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
18206 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
18207 wine_fn_config_makefile dlls/api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
18208 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
18209 wine_fn_config_makefile dlls/api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
18210 wine_fn_config_makefile dlls/api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
18211 wine_fn_config_makefile dlls/api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
18212 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
18213 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
18214 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
18215 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
18216 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
18217 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
18218 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
18219 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
18220 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
18221 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
18222 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
18223 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
18224 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
18225 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
18226 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
18227 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
18228 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
18229 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
18230 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
18231 wine_fn_config_makefile dlls/api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
18232 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
18233 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
18234 wine_fn_config_makefile dlls/api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
18235 wine_fn_config_makefile dlls/api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
18236 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
18237 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
18238 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
18239 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
18240 wine_fn_config_makefile dlls/api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
18241 wine_fn_config_makefile dlls/api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
18242 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
18243 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
18244 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
18245 wine_fn_config_makefile dlls/api-ms-win-core-largeinteger-l1-1-0 enable_api_ms_win_core_largeinteger_l1_1_0
18246 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
18247 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
18248 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
18249 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
18250 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
18251 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
18252 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
18253 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
18254 wine_fn_config_makefile dlls/api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
18255 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
18256 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
18257 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
18258 wine_fn_config_makefile dlls/api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
18259 wine_fn_config_makefile dlls/api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
18260 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
18261 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
18262 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
18263 wine_fn_config_makefile dlls/api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
18264 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
18265 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
18266 wine_fn_config_makefile dlls/api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
18267 wine_fn_config_makefile dlls/api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
18268 wine_fn_config_makefile dlls/api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
18269 wine_fn_config_makefile dlls/api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
18270 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
18271 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
18272 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
18273 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
18274 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
18275 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
18276 wine_fn_config_makefile dlls/api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
18277 wine_fn_config_makefile dlls/api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
18278 wine_fn_config_makefile dlls/api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
18279 wine_fn_config_makefile dlls/api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
18280 wine_fn_config_makefile dlls/api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
18281 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
18282 wine_fn_config_makefile dlls/api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
18283 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
18284 wine_fn_config_makefile dlls/api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
18285 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
18286 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
18287 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
18288 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
18289 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
18290 wine_fn_config_makefile dlls/api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
18291 wine_fn_config_makefile dlls/api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
18292 wine_fn_config_makefile dlls/api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
18293 wine_fn_config_makefile dlls/api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
18294 wine_fn_config_makefile dlls/api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
18295 wine_fn_config_makefile dlls/api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
18296 wine_fn_config_makefile dlls/api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
18297 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
18298 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
18299 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
18300 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
18301 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
18302 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
18303 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
18304 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
18305 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
18306 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
18307 wine_fn_config_makefile dlls/api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
18308 wine_fn_config_makefile dlls/api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
18309 wine_fn_config_makefile dlls/api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
18310 wine_fn_config_makefile dlls/api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
18311 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
18312 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
18313 wine_fn_config_makefile dlls/api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
18314 wine_fn_config_makefile dlls/api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
18315 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
18316 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
18317 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
18318 wine_fn_config_makefile dlls/api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
18319 wine_fn_config_makefile dlls/api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
18320 wine_fn_config_makefile dlls/api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
18321 wine_fn_config_makefile dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
18322 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
18323 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
18324 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
18325 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
18326 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
18327 wine_fn_config_makefile dlls/api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
18328 wine_fn_config_makefile dlls/api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
18329 wine_fn_config_makefile dlls/api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
18330 wine_fn_config_makefile dlls/api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
18331 wine_fn_config_makefile dlls/api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
18332 wine_fn_config_makefile dlls/api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
18333 wine_fn_config_makefile dlls/api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
18334 wine_fn_config_makefile dlls/api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
18335 wine_fn_config_makefile dlls/api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
18336 wine_fn_config_makefile dlls/api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
18337 wine_fn_config_makefile dlls/api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
18338 wine_fn_config_makefile dlls/api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
18339 wine_fn_config_makefile dlls/api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
18340 wine_fn_config_makefile dlls/api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
18341 wine_fn_config_makefile dlls/api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
18342 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
18343 wine_fn_config_makefile dlls/api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
18344 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
18345 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
18346 wine_fn_config_makefile dlls/api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
18347 wine_fn_config_makefile dlls/api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
18348 wine_fn_config_makefile dlls/api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
18349 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
18350 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
18351 wine_fn_config_makefile dlls/api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
18352 wine_fn_config_makefile dlls/api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
18353 wine_fn_config_makefile dlls/api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
18354 wine_fn_config_makefile dlls/api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
18355 wine_fn_config_makefile dlls/api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
18356 wine_fn_config_makefile dlls/api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
18357 wine_fn_config_makefile dlls/api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
18358 wine_fn_config_makefile dlls/api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
18359 wine_fn_config_makefile dlls/api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
18360 wine_fn_config_makefile dlls/api-ms-win-gdi-dpiinfo-l1-1-0 enable_api_ms_win_gdi_dpiinfo_l1_1_0
18361 wine_fn_config_makefile dlls/api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
18362 wine_fn_config_makefile dlls/api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
18363 wine_fn_config_makefile dlls/api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
18364 wine_fn_config_makefile dlls/api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
18365 wine_fn_config_makefile dlls/api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
18366 wine_fn_config_makefile dlls/api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
18367 wine_fn_config_makefile dlls/api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
18368 wine_fn_config_makefile dlls/api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
18369 wine_fn_config_makefile dlls/api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
18370 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
18371 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-4 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
18372 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-window-l1-1-0 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
18373 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-winevent-l1-1-0 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
18374 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
18375 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-3 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
18376 wine_fn_config_makefile dlls/api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
18377 wine_fn_config_makefile dlls/api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
18378 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
18379 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
18380 wine_fn_config_makefile dlls/api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
18381 wine_fn_config_makefile dlls/api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
18382 wine_fn_config_makefile dlls/api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
18383 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
18384 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
18385 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
18386 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
18387 wine_fn_config_makefile dlls/api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
18388 wine_fn_config_makefile dlls/api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
18389 wine_fn_config_makefile dlls/api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
18390 wine_fn_config_makefile dlls/api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
18391 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
18392 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
18393 wine_fn_config_makefile dlls/api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
18394 wine_fn_config_makefile dlls/api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
18395 wine_fn_config_makefile dlls/api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
18396 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
18397 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
18398 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
18399 wine_fn_config_makefile dlls/api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
18400 wine_fn_config_makefile dlls/api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
18401 wine_fn_config_makefile dlls/apphelp enable_apphelp
18402 wine_fn_config_makefile dlls/apphelp/tests enable_tests
18403 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
18404 wine_fn_config_makefile dlls/atl enable_atl
18405 wine_fn_config_makefile dlls/atl/tests enable_tests
18406 wine_fn_config_makefile dlls/atl100 enable_atl100
18407 wine_fn_config_makefile dlls/atl100/tests enable_tests
18408 wine_fn_config_makefile dlls/atl110 enable_atl110
18409 wine_fn_config_makefile dlls/atl80 enable_atl80
18410 wine_fn_config_makefile dlls/atl80/tests enable_tests
18411 wine_fn_config_makefile dlls/atl90 enable_atl90
18412 wine_fn_config_makefile dlls/authz enable_authz
18413 wine_fn_config_makefile dlls/avicap32 enable_avicap32
18414 wine_fn_config_makefile dlls/avifil32 enable_avifil32
18415 wine_fn_config_makefile dlls/avifil32/tests enable_tests
18416 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
18417 wine_fn_config_makefile dlls/avrt enable_avrt
18418 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
18419 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
18420 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
18421 wine_fn_config_makefile dlls/browseui enable_browseui
18422 wine_fn_config_makefile dlls/browseui/tests enable_tests
18423 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
18424 wine_fn_config_makefile dlls/cabinet enable_cabinet
18425 wine_fn_config_makefile dlls/cabinet/tests enable_tests
18426 wine_fn_config_makefile dlls/capi2032 enable_capi2032
18427 wine_fn_config_makefile dlls/cards enable_cards
18428 wine_fn_config_makefile dlls/cdosys enable_cdosys
18429 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
18430 wine_fn_config_makefile dlls/clusapi enable_clusapi
18431 wine_fn_config_makefile dlls/combase enable_combase
18432 wine_fn_config_makefile dlls/combase/tests enable_tests
18433 wine_fn_config_makefile dlls/comcat enable_comcat
18434 wine_fn_config_makefile dlls/comcat/tests enable_tests
18435 wine_fn_config_makefile dlls/comctl32 enable_comctl32
18436 wine_fn_config_makefile dlls/comctl32/tests enable_tests
18437 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
18438 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
18439 wine_fn_config_makefile dlls/comm.drv16 enable_win16
18440 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
18441 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
18442 wine_fn_config_makefile dlls/compstui enable_compstui
18443 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
18444 wine_fn_config_makefile dlls/concrt140 enable_concrt140
18445 wine_fn_config_makefile dlls/connect enable_connect
18446 wine_fn_config_makefile dlls/credui enable_credui
18447 wine_fn_config_makefile dlls/credui/tests enable_tests
18448 wine_fn_config_makefile dlls/crtdll enable_crtdll
18449 wine_fn_config_makefile dlls/crypt32 enable_crypt32
18450 wine_fn_config_makefile dlls/crypt32/tests enable_tests
18451 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
18452 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
18453 wine_fn_config_makefile dlls/cryptext enable_cryptext
18454 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
18455 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
18456 wine_fn_config_makefile dlls/cryptui enable_cryptui
18457 wine_fn_config_makefile dlls/cryptui/tests enable_tests
18458 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
18459 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
18460 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
18461 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
18462 wine_fn_config_makefile dlls/d2d1 enable_d2d1
18463 wine_fn_config_makefile dlls/d2d1/tests enable_tests
18464 wine_fn_config_makefile dlls/d3d10 enable_d3d10
18465 wine_fn_config_makefile dlls/d3d10/tests enable_tests
18466 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
18467 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
18468 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
18469 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
18470 wine_fn_config_makefile dlls/d3d11 enable_d3d11
18471 wine_fn_config_makefile dlls/d3d11/tests enable_tests
18472 wine_fn_config_makefile dlls/d3d12 enable_d3d12
18473 wine_fn_config_makefile dlls/d3d12/tests enable_tests
18474 wine_fn_config_makefile dlls/d3d8 enable_d3d8
18475 wine_fn_config_makefile dlls/d3d8/tests enable_tests
18476 wine_fn_config_makefile dlls/d3d9 enable_d3d9
18477 wine_fn_config_makefile dlls/d3d9/tests enable_tests
18478 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
18479 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
18480 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
18481 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
18482 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
18483 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
18484 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
18485 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
18486 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
18487 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
18488 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
18489 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
18490 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
18491 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
18492 wine_fn_config_makefile dlls/d3dim enable_d3dim
18493 wine_fn_config_makefile dlls/d3drm enable_d3drm
18494 wine_fn_config_makefile dlls/d3drm/tests enable_tests
18495 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
18496 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
18497 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
18498 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
18499 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
18500 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
18501 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
18502 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
18503 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
18504 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
18505 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
18506 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
18507 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
18508 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
18509 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
18510 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
18511 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
18512 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
18513 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
18514 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
18515 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
18516 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
18517 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
18518 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
18519 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
18520 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
18521 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
18522 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
18523 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
18524 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
18525 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
18526 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
18527 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
18528 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
18529 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
18530 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
18531 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
18532 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
18533 wine_fn_config_makefile dlls/davclnt enable_davclnt
18534 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
18535 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
18536 wine_fn_config_makefile dlls/dciman32 enable_dciman32
18537 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
18538 wine_fn_config_makefile dlls/ddraw enable_ddraw
18539 wine_fn_config_makefile dlls/ddraw/tests enable_tests
18540 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
18541 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
18542 wine_fn_config_makefile dlls/devenum enable_devenum
18543 wine_fn_config_makefile dlls/devenum/tests enable_tests
18544 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
18545 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
18546 wine_fn_config_makefile dlls/difxapi enable_difxapi
18547 wine_fn_config_makefile dlls/dinput enable_dinput
18548 wine_fn_config_makefile dlls/dinput/tests enable_tests
18549 wine_fn_config_makefile dlls/dinput8 enable_dinput8
18550 wine_fn_config_makefile dlls/dinput8/tests enable_tests
18551 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
18552 wine_fn_config_makefile dlls/dispex enable_dispex
18553 wine_fn_config_makefile dlls/dispex/tests enable_tests
18554 wine_fn_config_makefile dlls/display.drv16 enable_win16
18555 wine_fn_config_makefile dlls/dmband enable_dmband
18556 wine_fn_config_makefile dlls/dmband/tests enable_tests
18557 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
18558 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
18559 wine_fn_config_makefile dlls/dmime enable_dmime
18560 wine_fn_config_makefile dlls/dmime/tests enable_tests
18561 wine_fn_config_makefile dlls/dmloader enable_dmloader
18562 wine_fn_config_makefile dlls/dmloader/tests enable_tests
18563 wine_fn_config_makefile dlls/dmscript enable_dmscript
18564 wine_fn_config_makefile dlls/dmscript/tests enable_tests
18565 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
18566 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
18567 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
18568 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
18569 wine_fn_config_makefile dlls/dmusic enable_dmusic
18570 wine_fn_config_makefile dlls/dmusic/tests enable_tests
18571 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
18572 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
18573 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
18574 wine_fn_config_makefile dlls/dplay enable_dplay
18575 wine_fn_config_makefile dlls/dplayx enable_dplayx
18576 wine_fn_config_makefile dlls/dplayx/tests enable_tests
18577 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
18578 wine_fn_config_makefile dlls/dpnet enable_dpnet
18579 wine_fn_config_makefile dlls/dpnet/tests enable_tests
18580 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
18581 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
18582 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
18583 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
18584 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
18585 wine_fn_config_makefile dlls/drmclien enable_drmclien
18586 wine_fn_config_makefile dlls/dsound enable_dsound
18587 wine_fn_config_makefile dlls/dsound/tests enable_tests
18588 wine_fn_config_makefile dlls/dsquery enable_dsquery
18589 wine_fn_config_makefile dlls/dssenh enable_dssenh
18590 wine_fn_config_makefile dlls/dssenh/tests enable_tests
18591 wine_fn_config_makefile dlls/dswave enable_dswave
18592 wine_fn_config_makefile dlls/dswave/tests enable_tests
18593 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
18594 wine_fn_config_makefile dlls/dwrite enable_dwrite
18595 wine_fn_config_makefile dlls/dwrite/tests enable_tests
18596 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
18597 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
18598 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
18599 wine_fn_config_makefile dlls/dxerr8 enable_dxerr8
18600 wine_fn_config_makefile dlls/dxerr9 enable_dxerr9
18601 wine_fn_config_makefile dlls/dxgi enable_dxgi
18602 wine_fn_config_makefile dlls/dxgi/tests enable_tests
18603 wine_fn_config_makefile dlls/dxguid enable_dxguid
18604 wine_fn_config_makefile dlls/dxva2 enable_dxva2
18605 wine_fn_config_makefile dlls/esent enable_esent
18606 wine_fn_config_makefile dlls/evr enable_evr
18607 wine_fn_config_makefile dlls/evr/tests enable_tests
18608 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
18609 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
18610 wine_fn_config_makefile dlls/ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
18611 wine_fn_config_makefile dlls/ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
18612 wine_fn_config_makefile dlls/ext-ms-win-dwmapi-ext-l1-1-0 enable_ext_ms_win_dwmapi_ext_l1_1_0
18613 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
18614 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
18615 wine_fn_config_makefile dlls/ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
18616 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
18617 wine_fn_config_makefile dlls/ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
18618 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
18619 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
18620 wine_fn_config_makefile dlls/ext-ms-win-ntuser-draw-l1-1-0 enable_ext_ms_win_ntuser_draw_l1_1_0
18621 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-3-0 enable_ext_ms_win_ntuser_gui_l1_3_0
18622 wine_fn_config_makefile dlls/ext-ms-win-ntuser-keyboard-l1-3-0 enable_ext_ms_win_ntuser_keyboard_l1_3_0
18623 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
18624 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-5-1 enable_ext_ms_win_ntuser_misc_l1_5_1
18625 wine_fn_config_makefile dlls/ext-ms-win-ntuser-mouse-l1-1-0 enable_ext_ms_win_ntuser_mouse_l1_1_0
18626 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
18627 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-3-1 enable_ext_ms_win_ntuser_private_l1_3_1
18628 wine_fn_config_makefile dlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
18629 wine_fn_config_makefile dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
18630 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
18631 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-4 enable_ext_ms_win_ntuser_window_l1_1_4
18632 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
18633 wine_fn_config_makefile dlls/ext-ms-win-oleacc-l1-1-0 enable_ext_ms_win_oleacc_l1_1_0
18634 wine_fn_config_makefile dlls/ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
18635 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-devcaps-l1-1-0 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
18636 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
18637 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
18638 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-cursor-l1-1-0 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
18639 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
18640 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
18641 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-2-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
18642 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-rawinput-l1-1-0 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
18643 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-syscolors-l1-1-0 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
18644 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
18645 wine_fn_config_makefile dlls/ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
18646 wine_fn_config_makefile dlls/ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
18647 wine_fn_config_makefile dlls/faultrep enable_faultrep
18648 wine_fn_config_makefile dlls/faultrep/tests enable_tests
18649 wine_fn_config_makefile dlls/fltlib enable_fltlib
18650 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
18651 wine_fn_config_makefile dlls/fntcache enable_fntcache
18652 wine_fn_config_makefile dlls/fontsub enable_fontsub
18653 wine_fn_config_makefile dlls/fusion enable_fusion
18654 wine_fn_config_makefile dlls/fusion/tests enable_tests
18655 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
18656 wine_fn_config_makefile dlls/gameux enable_gameux
18657 wine_fn_config_makefile dlls/gameux/tests enable_tests
18658 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
18659 wine_fn_config_makefile dlls/gdi32 enable_gdi32
18660 wine_fn_config_makefile dlls/gdi32/tests enable_tests
18661 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
18662 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
18663 wine_fn_config_makefile dlls/glu32 enable_glu32
18664 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
18665 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
18666 wine_fn_config_makefile dlls/hal enable_hal
18667 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
18668 wine_fn_config_makefile dlls/hid enable_hid
18669 wine_fn_config_makefile dlls/hid/tests enable_tests
18670 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
18671 wine_fn_config_makefile dlls/hlink enable_hlink
18672 wine_fn_config_makefile dlls/hlink/tests enable_tests
18673 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
18674 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
18675 wine_fn_config_makefile dlls/httpapi enable_httpapi
18676 wine_fn_config_makefile dlls/httpapi/tests enable_tests
18677 wine_fn_config_makefile dlls/iccvid enable_iccvid
18678 wine_fn_config_makefile dlls/icmp enable_icmp
18679 wine_fn_config_makefile dlls/ieframe enable_ieframe
18680 wine_fn_config_makefile dlls/ieframe/tests enable_tests
18681 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
18682 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
18683 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
18684 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
18685 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
18686 wine_fn_config_makefile dlls/imm.dll16 enable_win16
18687 wine_fn_config_makefile dlls/imm32 enable_imm32
18688 wine_fn_config_makefile dlls/imm32/tests enable_tests
18689 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
18690 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
18691 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
18692 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
18693 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
18694 wine_fn_config_makefile dlls/infosoft enable_infosoft
18695 wine_fn_config_makefile dlls/infosoft/tests enable_tests
18696 wine_fn_config_makefile dlls/initpki enable_initpki
18697 wine_fn_config_makefile dlls/inkobj enable_inkobj
18698 wine_fn_config_makefile dlls/inseng enable_inseng
18699 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
18700 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
18701 wine_fn_config_makefile dlls/iprop enable_iprop
18702 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
18703 wine_fn_config_makefile dlls/itircl enable_itircl
18704 wine_fn_config_makefile dlls/itss enable_itss
18705 wine_fn_config_makefile dlls/itss/tests enable_tests
18706 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
18707 wine_fn_config_makefile dlls/jscript enable_jscript
18708 wine_fn_config_makefile dlls/jscript/tests enable_tests
18709 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
18710 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
18711 wine_fn_config_makefile dlls/kerberos enable_kerberos
18712 wine_fn_config_makefile dlls/kernel32 enable_kernel32
18713 wine_fn_config_makefile dlls/kernel32/tests enable_tests
18714 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
18715 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
18716 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
18717 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
18718 wine_fn_config_makefile dlls/ksuser enable_ksuser
18719 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
18720 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
18721 wine_fn_config_makefile dlls/loadperf enable_loadperf
18722 wine_fn_config_makefile dlls/localspl enable_localspl
18723 wine_fn_config_makefile dlls/localspl/tests enable_tests
18724 wine_fn_config_makefile dlls/localui enable_localui
18725 wine_fn_config_makefile dlls/localui/tests enable_tests
18726 wine_fn_config_makefile dlls/lz32 enable_lz32
18727 wine_fn_config_makefile dlls/lz32/tests enable_tests
18728 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
18729 wine_fn_config_makefile dlls/mapi32 enable_mapi32
18730 wine_fn_config_makefile dlls/mapi32/tests enable_tests
18731 wine_fn_config_makefile dlls/mapistub enable_mapistub
18732 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
18733 wine_fn_config_makefile dlls/mcicda enable_mcicda
18734 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
18735 wine_fn_config_makefile dlls/mciseq enable_mciseq
18736 wine_fn_config_makefile dlls/mciwave enable_mciwave
18737 wine_fn_config_makefile dlls/mf enable_mf
18738 wine_fn_config_makefile dlls/mf/tests enable_tests
18739 wine_fn_config_makefile dlls/mf3216 enable_mf3216
18740 wine_fn_config_makefile dlls/mfplat enable_mfplat
18741 wine_fn_config_makefile dlls/mfplat/tests enable_tests
18742 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
18743 wine_fn_config_makefile dlls/mfuuid enable_mfuuid
18744 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
18745 wine_fn_config_makefile dlls/midimap enable_midimap
18746 wine_fn_config_makefile dlls/mlang enable_mlang
18747 wine_fn_config_makefile dlls/mlang/tests enable_tests
18748 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
18749 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
18750 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
18751 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
18752 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
18753 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
18754 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
18755 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
18756 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
18757 wine_fn_config_makefile dlls/mpr enable_mpr
18758 wine_fn_config_makefile dlls/mpr/tests enable_tests
18759 wine_fn_config_makefile dlls/mprapi enable_mprapi
18760 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
18761 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
18762 wine_fn_config_makefile dlls/msacm32 enable_msacm32
18763 wine_fn_config_makefile dlls/msacm32/tests enable_tests
18764 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
18765 wine_fn_config_makefile dlls/msasn1 enable_msasn1
18766 wine_fn_config_makefile dlls/mscat32 enable_mscat32
18767 wine_fn_config_makefile dlls/mscms enable_mscms
18768 wine_fn_config_makefile dlls/mscms/tests enable_tests
18769 wine_fn_config_makefile dlls/mscoree enable_mscoree
18770 wine_fn_config_makefile dlls/mscoree/tests enable_tests
18771 wine_fn_config_makefile dlls/msctf enable_msctf
18772 wine_fn_config_makefile dlls/msctf/tests enable_tests
18773 wine_fn_config_makefile dlls/msctfp enable_msctfp
18774 wine_fn_config_makefile dlls/msdaps enable_msdaps
18775 wine_fn_config_makefile dlls/msdelta enable_msdelta
18776 wine_fn_config_makefile dlls/msdmo enable_msdmo
18777 wine_fn_config_makefile dlls/msdmo/tests enable_tests
18778 wine_fn_config_makefile dlls/msdrm enable_msdrm
18779 wine_fn_config_makefile dlls/msftedit enable_msftedit
18780 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
18781 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
18782 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
18783 wine_fn_config_makefile dlls/mshtml enable_mshtml
18784 wine_fn_config_makefile dlls/mshtml/tests enable_tests
18785 wine_fn_config_makefile dlls/msi enable_msi
18786 wine_fn_config_makefile dlls/msi/tests enable_tests
18787 wine_fn_config_makefile dlls/msident enable_msident
18788 wine_fn_config_makefile dlls/msimg32 enable_msimg32
18789 wine_fn_config_makefile dlls/msimsg enable_msimsg
18790 wine_fn_config_makefile dlls/msimtf enable_msimtf
18791 wine_fn_config_makefile dlls/msisip enable_msisip
18792 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
18793 wine_fn_config_makefile dlls/msls31 enable_msls31
18794 wine_fn_config_makefile dlls/msnet32 enable_msnet32
18795 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
18796 wine_fn_config_makefile dlls/msports enable_msports
18797 wine_fn_config_makefile dlls/msrle32 enable_msrle32
18798 wine_fn_config_makefile dlls/msrle32/tests enable_tests
18799 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
18800 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
18801 wine_fn_config_makefile dlls/mssign32 enable_mssign32
18802 wine_fn_config_makefile dlls/mssip32 enable_mssip32
18803 wine_fn_config_makefile dlls/mstask enable_mstask
18804 wine_fn_config_makefile dlls/mstask/tests enable_tests
18805 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
18806 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
18807 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
18808 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
18809 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
18810 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
18811 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
18812 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
18813 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
18814 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
18815 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
18816 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
18817 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
18818 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
18819 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
18820 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
18821 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
18822 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
18823 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
18824 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
18825 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
18826 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
18827 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
18828 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
18829 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
18830 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
18831 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
18832 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
18833 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
18834 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
18835 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
18836 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
18837 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
18838 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
18839 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
18840 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
18841 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
18842 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
18843 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
18844 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
18845 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
18846 wine_fn_config_makefile dlls/mswsock enable_mswsock
18847 wine_fn_config_makefile dlls/msxml enable_msxml
18848 wine_fn_config_makefile dlls/msxml2 enable_msxml2
18849 wine_fn_config_makefile dlls/msxml3 enable_msxml3
18850 wine_fn_config_makefile dlls/msxml3/tests enable_tests
18851 wine_fn_config_makefile dlls/msxml4 enable_msxml4
18852 wine_fn_config_makefile dlls/msxml6 enable_msxml6
18853 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
18854 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
18855 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
18856 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
18857 wine_fn_config_makefile dlls/netapi32 enable_netapi32
18858 wine_fn_config_makefile dlls/netapi32/tests enable_tests
18859 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
18860 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
18861 wine_fn_config_makefile dlls/netprofm enable_netprofm
18862 wine_fn_config_makefile dlls/netprofm/tests enable_tests
18863 wine_fn_config_makefile dlls/newdev enable_newdev
18864 wine_fn_config_makefile dlls/ninput enable_ninput
18865 wine_fn_config_makefile dlls/normaliz enable_normaliz
18866 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
18867 wine_fn_config_makefile dlls/npptools enable_npptools
18868 wine_fn_config_makefile dlls/ntdll enable_ntdll
18869 wine_fn_config_makefile dlls/ntdll/tests enable_tests
18870 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
18871 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
18872 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
18873 wine_fn_config_makefile dlls/ntprint enable_ntprint
18874 wine_fn_config_makefile dlls/ntprint/tests enable_tests
18875 wine_fn_config_makefile dlls/objsel enable_objsel
18876 wine_fn_config_makefile dlls/odbc32 enable_odbc32
18877 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
18878 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
18879 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
18880 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
18881 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
18882 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
18883 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
18884 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
18885 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
18886 wine_fn_config_makefile dlls/ole32 enable_ole32
18887 wine_fn_config_makefile dlls/ole32/tests enable_tests
18888 wine_fn_config_makefile dlls/oleacc enable_oleacc
18889 wine_fn_config_makefile dlls/oleacc/tests enable_tests
18890 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
18891 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
18892 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
18893 wine_fn_config_makefile dlls/olecli32 enable_olecli32
18894 wine_fn_config_makefile dlls/oledb32 enable_oledb32
18895 wine_fn_config_makefile dlls/oledb32/tests enable_tests
18896 wine_fn_config_makefile dlls/oledlg enable_oledlg
18897 wine_fn_config_makefile dlls/oledlg/tests enable_tests
18898 wine_fn_config_makefile dlls/olepro32 enable_olepro32
18899 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
18900 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
18901 wine_fn_config_makefile dlls/olethk32 enable_olethk32
18902 wine_fn_config_makefile dlls/openal32 enable_openal32
18903 wine_fn_config_makefile dlls/opencl enable_opencl
18904 wine_fn_config_makefile dlls/opengl32 enable_opengl32
18905 wine_fn_config_makefile dlls/opengl32/tests enable_tests
18906 wine_fn_config_makefile dlls/packager enable_packager
18907 wine_fn_config_makefile dlls/packager/tests enable_tests
18908 wine_fn_config_makefile dlls/pdh enable_pdh
18909 wine_fn_config_makefile dlls/pdh/tests enable_tests
18910 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
18911 wine_fn_config_makefile dlls/pidgen enable_pidgen
18912 wine_fn_config_makefile dlls/powrprof enable_powrprof
18913 wine_fn_config_makefile dlls/printui enable_printui
18914 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
18915 wine_fn_config_makefile dlls/propsys enable_propsys
18916 wine_fn_config_makefile dlls/propsys/tests enable_tests
18917 wine_fn_config_makefile dlls/psapi enable_psapi
18918 wine_fn_config_makefile dlls/psapi/tests enable_tests
18919 wine_fn_config_makefile dlls/pstorec enable_pstorec
18920 wine_fn_config_makefile dlls/pstorec/tests enable_tests
18921 wine_fn_config_makefile dlls/qcap enable_qcap
18922 wine_fn_config_makefile dlls/qcap/tests enable_tests
18923 wine_fn_config_makefile dlls/qedit enable_qedit
18924 wine_fn_config_makefile dlls/qedit/tests enable_tests
18925 wine_fn_config_makefile dlls/qmgr enable_qmgr
18926 wine_fn_config_makefile dlls/qmgr/tests enable_tests
18927 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
18928 wine_fn_config_makefile dlls/quartz enable_quartz
18929 wine_fn_config_makefile dlls/quartz/tests enable_tests
18930 wine_fn_config_makefile dlls/query enable_query
18931 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
18932 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
18933 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
18934 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
18935 wine_fn_config_makefile dlls/regapi enable_regapi
18936 wine_fn_config_makefile dlls/resutils enable_resutils
18937 wine_fn_config_makefile dlls/riched20 enable_riched20
18938 wine_fn_config_makefile dlls/riched20/tests enable_tests
18939 wine_fn_config_makefile dlls/riched32 enable_riched32
18940 wine_fn_config_makefile dlls/riched32/tests enable_tests
18941 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
18942 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
18943 wine_fn_config_makefile dlls/rsabase enable_rsabase
18944 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
18945 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
18946 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
18947 wine_fn_config_makefile dlls/rtutils enable_rtutils
18948 wine_fn_config_makefile dlls/samlib enable_samlib
18949 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
18950 wine_fn_config_makefile dlls/sapi enable_sapi
18951 wine_fn_config_makefile dlls/sapi/tests enable_tests
18952 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
18953 wine_fn_config_makefile dlls/sccbase enable_sccbase
18954 wine_fn_config_makefile dlls/schannel enable_schannel
18955 wine_fn_config_makefile dlls/schannel/tests enable_tests
18956 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
18957 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
18958 wine_fn_config_makefile dlls/scrobj enable_scrobj
18959 wine_fn_config_makefile dlls/scrrun enable_scrrun
18960 wine_fn_config_makefile dlls/scrrun/tests enable_tests
18961 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
18962 wine_fn_config_makefile dlls/secur32 enable_secur32
18963 wine_fn_config_makefile dlls/secur32/tests enable_tests
18964 wine_fn_config_makefile dlls/security enable_security
18965 wine_fn_config_makefile dlls/sensapi enable_sensapi
18966 wine_fn_config_makefile dlls/serialui enable_serialui
18967 wine_fn_config_makefile dlls/serialui/tests enable_tests
18968 wine_fn_config_makefile dlls/setupapi enable_setupapi
18969 wine_fn_config_makefile dlls/setupapi/tests enable_tests
18970 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
18971 wine_fn_config_makefile dlls/sfc enable_sfc
18972 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
18973 wine_fn_config_makefile dlls/shcore enable_shcore
18974 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
18975 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
18976 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
18977 wine_fn_config_makefile dlls/shell.dll16 enable_win16
18978 wine_fn_config_makefile dlls/shell32 enable_shell32
18979 wine_fn_config_makefile dlls/shell32/tests enable_tests
18980 wine_fn_config_makefile dlls/shfolder enable_shfolder
18981 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
18982 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
18983 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
18984 wine_fn_config_makefile dlls/slc enable_slc
18985 wine_fn_config_makefile dlls/slc/tests enable_tests
18986 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
18987 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
18988 wine_fn_config_makefile dlls/softpub enable_softpub
18989 wine_fn_config_makefile dlls/sound.drv16 enable_win16
18990 wine_fn_config_makefile dlls/spoolss enable_spoolss
18991 wine_fn_config_makefile dlls/spoolss/tests enable_tests
18992 wine_fn_config_makefile dlls/sspicli enable_sspicli
18993 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
18994 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
18995 wine_fn_config_makefile dlls/sti enable_sti
18996 wine_fn_config_makefile dlls/sti/tests enable_tests
18997 wine_fn_config_makefile dlls/storage.dll16 enable_win16
18998 wine_fn_config_makefile dlls/stress.dll16 enable_win16
18999 wine_fn_config_makefile dlls/strmbase enable_strmbase
19000 wine_fn_config_makefile dlls/strmiids enable_strmiids
19001 wine_fn_config_makefile dlls/svrapi enable_svrapi
19002 wine_fn_config_makefile dlls/sxs enable_sxs
19003 wine_fn_config_makefile dlls/sxs/tests enable_tests
19004 wine_fn_config_makefile dlls/system.drv16 enable_win16
19005 wine_fn_config_makefile dlls/t2embed enable_t2embed
19006 wine_fn_config_makefile dlls/t2embed/tests enable_tests
19007 wine_fn_config_makefile dlls/tapi32 enable_tapi32
19008 wine_fn_config_makefile dlls/taskschd enable_taskschd
19009 wine_fn_config_makefile dlls/taskschd/tests enable_tests
19010 wine_fn_config_makefile dlls/tdh enable_tdh
19011 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
19012 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
19013 wine_fn_config_makefile dlls/traffic enable_traffic
19014 wine_fn_config_makefile dlls/twain.dll16 enable_win16
19015 wine_fn_config_makefile dlls/twain_32 enable_twain_32
19016 wine_fn_config_makefile dlls/twain_32/tests enable_tests
19017 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
19018 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
19019 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
19020 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
19021 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
19022 wine_fn_config_makefile dlls/unicows enable_unicows
19023 wine_fn_config_makefile dlls/updspapi enable_updspapi
19024 wine_fn_config_makefile dlls/url enable_url
19025 wine_fn_config_makefile dlls/urlmon enable_urlmon
19026 wine_fn_config_makefile dlls/urlmon/tests enable_tests
19027 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
19028 wine_fn_config_makefile dlls/user.exe16 enable_win16
19029 wine_fn_config_makefile dlls/user32 enable_user32
19030 wine_fn_config_makefile dlls/user32/tests enable_tests
19031 wine_fn_config_makefile dlls/userenv enable_userenv
19032 wine_fn_config_makefile dlls/userenv/tests enable_tests
19033 wine_fn_config_makefile dlls/usp10 enable_usp10
19034 wine_fn_config_makefile dlls/usp10/tests enable_tests
19035 wine_fn_config_makefile dlls/uuid enable_uuid
19036 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
19037 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
19038 wine_fn_config_makefile dlls/vbscript enable_vbscript
19039 wine_fn_config_makefile dlls/vbscript/tests enable_tests
19040 wine_fn_config_makefile dlls/vcomp enable_vcomp
19041 wine_fn_config_makefile dlls/vcomp/tests enable_tests
19042 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
19043 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
19044 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
19045 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
19046 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
19047 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
19048 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
19049 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
19050 wine_fn_config_makefile dlls/ver.dll16 enable_win16
19051 wine_fn_config_makefile dlls/version enable_version
19052 wine_fn_config_makefile dlls/version/tests enable_tests
19053 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
19054 wine_fn_config_makefile dlls/vmm.vxd enable_win16
19055 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
19056 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
19057 wine_fn_config_makefile dlls/vssapi enable_vssapi
19058 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
19059 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
19060 wine_fn_config_makefile dlls/w32skrnl enable_win16
19061 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
19062 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
19063 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
19064 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
19065 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
19066 wine_fn_config_makefile dlls/wdscore enable_wdscore
19067 wine_fn_config_makefile dlls/webservices enable_webservices
19068 wine_fn_config_makefile dlls/webservices/tests enable_tests
19069 wine_fn_config_makefile dlls/wer enable_wer
19070 wine_fn_config_makefile dlls/wer/tests enable_tests
19071 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
19072 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
19073 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
19074 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
19075 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
19076 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
19077 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
19078 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
19079 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
19080 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
19081 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
19082 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
19083 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
19084 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
19085 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
19086 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
19087 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
19088 wine_fn_config_makefile dlls/wined3d enable_wined3d
19089 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
19090 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
19091 wine_fn_config_makefile dlls/winejoystick.drv enable_winejoystick_drv
19092 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
19093 wine_fn_config_makefile dlls/winemapi enable_winemapi
19094 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
19095 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
19096 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
19097 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
19098 wine_fn_config_makefile dlls/wineqtdecoder enable_wineqtdecoder
19099 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
19100 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
19101 wine_fn_config_makefile dlls/wing.dll16 enable_win16
19102 wine_fn_config_makefile dlls/wing32 enable_wing32
19103 wine_fn_config_makefile dlls/winhttp enable_winhttp
19104 wine_fn_config_makefile dlls/winhttp/tests enable_tests
19105 wine_fn_config_makefile dlls/wininet enable_wininet
19106 wine_fn_config_makefile dlls/wininet/tests enable_tests
19107 wine_fn_config_makefile dlls/winmm enable_winmm
19108 wine_fn_config_makefile dlls/winmm/tests enable_tests
19109 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
19110 wine_fn_config_makefile dlls/winnls32 enable_winnls32
19111 wine_fn_config_makefile dlls/winscard enable_winscard
19112 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
19113 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
19114 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
19115 wine_fn_config_makefile dlls/winsta enable_winsta
19116 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
19117 wine_fn_config_makefile dlls/wintab32 enable_wintab32
19118 wine_fn_config_makefile dlls/wintab32/tests enable_tests
19119 wine_fn_config_makefile dlls/wintrust enable_wintrust
19120 wine_fn_config_makefile dlls/wintrust/tests enable_tests
19121 wine_fn_config_makefile dlls/winusb enable_winusb
19122 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
19123 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
19124 wine_fn_config_makefile dlls/wldap32 enable_wldap32
19125 wine_fn_config_makefile dlls/wldap32/tests enable_tests
19126 wine_fn_config_makefile dlls/wmasf enable_wmasf
19127 wine_fn_config_makefile dlls/wmi enable_wmi
19128 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
19129 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
19130 wine_fn_config_makefile dlls/wmp enable_wmp
19131 wine_fn_config_makefile dlls/wmp/tests enable_tests
19132 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
19133 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
19134 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
19135 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
19136 wine_fn_config_makefile dlls/wow32 enable_win16
19137 wine_fn_config_makefile dlls/wpc enable_wpc
19138 wine_fn_config_makefile dlls/wpc/tests enable_tests
19139 wine_fn_config_makefile dlls/wpcap enable_wpcap
19140 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
19141 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
19142 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
19143 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
19144 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
19145 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
19146 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
19147 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
19148 wine_fn_config_makefile dlls/wsock32 enable_wsock32
19149 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
19150 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
19151 wine_fn_config_makefile dlls/wuapi enable_wuapi
19152 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
19153 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
19154 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
19155 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
19156 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
19157 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
19158 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
19159 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
19160 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
19161 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
19162 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
19163 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
19164 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
19165 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
19166 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
19167 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
19168 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
19169 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
19170 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
19171 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
19172 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
19173 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
19174 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
19175 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
19176 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
19177 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
19178 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
19179 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
19180 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
19181 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
19182 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
19183 wine_fn_config_makefile dlls/xmllite enable_xmllite
19184 wine_fn_config_makefile dlls/xmllite/tests enable_tests
19185 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
19186 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
19187 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
19188 test -n "$with_wine64" || wine_fn_config_makefile fonts enable_fonts
19189 wine_fn_config_makefile include enable_include
19190 wine_fn_config_makefile libs/port enable_port
19191 wine_fn_config_makefile libs/wine enable_wine
19192 wine_fn_config_makefile libs/wpp enable_wpp
19193 wine_fn_config_makefile loader enable_loader
19194 wine_fn_config_makefile po enable_po
19195 wine_fn_config_makefile programs/arp enable_arp
19196 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
19197 wine_fn_config_makefile programs/attrib enable_attrib
19198 wine_fn_config_makefile programs/cabarc enable_cabarc
19199 wine_fn_config_makefile programs/cacls enable_cacls
19200 wine_fn_config_makefile programs/clock enable_clock
19201 wine_fn_config_makefile programs/cmd enable_cmd
19202 wine_fn_config_makefile programs/cmd/tests enable_tests
19203 wine_fn_config_makefile programs/conhost enable_conhost
19204 wine_fn_config_makefile programs/control enable_control
19205 wine_fn_config_makefile programs/cscript enable_cscript
19206 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
19207 wine_fn_config_makefile programs/dxdiag enable_dxdiag
19208 wine_fn_config_makefile programs/eject enable_eject
19209 wine_fn_config_makefile programs/expand enable_expand
19210 wine_fn_config_makefile programs/explorer enable_explorer
19211 wine_fn_config_makefile programs/extrac32 enable_extrac32
19212 wine_fn_config_makefile programs/findstr enable_findstr
19213 wine_fn_config_makefile programs/fsutil enable_fsutil
19214 wine_fn_config_makefile programs/hh enable_hh
19215 wine_fn_config_makefile programs/hostname enable_hostname
19216 wine_fn_config_makefile programs/icacls enable_icacls
19217 wine_fn_config_makefile programs/icinfo enable_icinfo
19218 wine_fn_config_makefile programs/iexplore enable_iexplore
19219 wine_fn_config_makefile programs/ipconfig enable_ipconfig
19220 wine_fn_config_makefile programs/lodctr enable_lodctr
19221 wine_fn_config_makefile programs/mofcomp enable_mofcomp
19222 wine_fn_config_makefile programs/mshta enable_mshta
19223 wine_fn_config_makefile programs/msiexec enable_msiexec
19224 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
19225 wine_fn_config_makefile programs/net enable_net
19226 wine_fn_config_makefile programs/netsh enable_netsh
19227 wine_fn_config_makefile programs/netstat enable_netstat
19228 wine_fn_config_makefile programs/ngen enable_ngen
19229 wine_fn_config_makefile programs/notepad enable_notepad
19230 wine_fn_config_makefile programs/oleview enable_oleview
19231 wine_fn_config_makefile programs/ping enable_ping
19232 wine_fn_config_makefile programs/plugplay enable_plugplay
19233 wine_fn_config_makefile programs/powershell enable_powershell
19234 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
19235 wine_fn_config_makefile programs/progman enable_progman
19236 wine_fn_config_makefile programs/reg enable_reg
19237 wine_fn_config_makefile programs/reg/tests enable_tests
19238 wine_fn_config_makefile programs/regasm enable_regasm
19239 wine_fn_config_makefile programs/regedit enable_regedit
19240 wine_fn_config_makefile programs/regedit/tests enable_tests
19241 wine_fn_config_makefile programs/regsvcs enable_regsvcs
19242 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
19243 wine_fn_config_makefile programs/rpcss enable_rpcss
19244 wine_fn_config_makefile programs/rundll.exe16 enable_win16
19245 wine_fn_config_makefile programs/rundll32 enable_rundll32
19246 wine_fn_config_makefile programs/sc enable_sc
19247 wine_fn_config_makefile programs/schtasks enable_schtasks
19248 wine_fn_config_makefile programs/schtasks/tests enable_tests
19249 wine_fn_config_makefile programs/sdbinst enable_sdbinst
19250 wine_fn_config_makefile programs/secedit enable_secedit
19251 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
19252 wine_fn_config_makefile programs/services enable_services
19253 wine_fn_config_makefile programs/services/tests enable_tests
19254 wine_fn_config_makefile programs/shutdown enable_shutdown
19255 wine_fn_config_makefile programs/spoolsv enable_spoolsv
19256 wine_fn_config_makefile programs/start enable_start
19257 wine_fn_config_makefile programs/subst enable_subst
19258 wine_fn_config_makefile programs/svchost enable_svchost
19259 wine_fn_config_makefile programs/systeminfo enable_systeminfo
19260 wine_fn_config_makefile programs/taskkill enable_taskkill
19261 wine_fn_config_makefile programs/tasklist enable_tasklist
19262 wine_fn_config_makefile programs/taskmgr enable_taskmgr
19263 wine_fn_config_makefile programs/termsv enable_termsv
19264 wine_fn_config_makefile programs/uninstaller enable_uninstaller
19265 wine_fn_config_makefile programs/unlodctr enable_unlodctr
19266 wine_fn_config_makefile programs/view enable_view
19267 wine_fn_config_makefile programs/wevtutil enable_wevtutil
19268 wine_fn_config_makefile programs/wineboot enable_wineboot
19269 wine_fn_config_makefile programs/winebrowser enable_winebrowser
19270 wine_fn_config_makefile programs/winecfg enable_winecfg
19271 wine_fn_config_makefile programs/wineconsole enable_wineconsole
19272 wine_fn_config_makefile programs/winedbg enable_winedbg
19273 wine_fn_config_makefile programs/winedevice enable_winedevice
19274 wine_fn_config_makefile programs/winefile enable_winefile
19275 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
19276 wine_fn_config_makefile programs/winemine enable_winemine
19277 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
19278 wine_fn_config_makefile programs/winepath enable_winepath
19279 wine_fn_config_makefile programs/winetest enable_winetest
19280 wine_fn_config_makefile programs/winevdm enable_win16
19281 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
19282 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
19283 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
19284 wine_fn_config_makefile programs/winver enable_winver
19285 wine_fn_config_makefile programs/wmic enable_wmic
19286 wine_fn_config_makefile programs/wmplayer enable_wmplayer
19287 wine_fn_config_makefile programs/wordpad enable_wordpad
19288 wine_fn_config_makefile programs/write enable_write
19289 wine_fn_config_makefile programs/wscript enable_wscript
19290 wine_fn_config_makefile programs/wscript/tests enable_tests
19291 wine_fn_config_makefile programs/wusa enable_wusa
19292 wine_fn_config_makefile programs/xcopy enable_xcopy
19293 wine_fn_config_makefile programs/xcopy/tests enable_tests
19294 test -n "$with_wine64" || wine_fn_config_makefile server enable_server
19295 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
19296 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
19297 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
19298 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
19299 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
19300 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
19301 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
19302 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
19303 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
19306 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
19307 wine_fn_append_file CONFIGURE_TARGETS "tags"
19308 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
19309 wine_fn_append_file CONFIGURE_TARGETS "config.log"
19310 wine_fn_append_file CONFIGURE_TARGETS "config.status"
19311 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
19312 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
19313 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
19315 if test "x$enable_tools" != xno
19316 then
19317 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
19318 ac_config_commands="$ac_config_commands tools/makedep"
19322 ac_config_commands="$ac_config_commands Makefile"
19325 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
19329 if test "x$enable_maintainer_mode" = xyes
19330 then
19331 wine_fn_append_rule "configure: configure.ac aclocal.m4
19332 autoconf --warnings=all
19333 include/config.h.in: include/stamp-h.in
19334 include/stamp-h.in: configure.ac aclocal.m4
19335 autoheader --warnings=all
19336 @echo timestamp > \$@"
19339 if test "x$enable_tools" != xno
19340 then
19341 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
19342 @./config.status tools/makedep
19343 Makefile: tools/makedep$ac_exeext
19344 fonts: tools/sfnt2fon
19345 include: tools tools/widl"
19346 else
19347 wine_fn_append_rule "\$(MAKEDEP):
19348 @echo \"You need to run make in $TOOLSDIR first\" && false"
19351 if test -n "$with_wine64"
19352 then
19353 wine_fn_append_rule "all: fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader
19354 fonts server:
19355 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
19356 $with_wine64/loader/wine:
19357 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
19358 $with_wine64/loader/wine-preloader:
19359 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
19360 clean::
19361 \$(RM) fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
19362 else
19363 WINELOADER_INSTALL="wine.inf l_intl.nls"
19365 case $host_os in
19366 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
19367 *) WINELOADER_INSTALL="$WINELOADER_INSTALL wine.desktop" ;;
19368 esac
19371 $as_echo " done" >&6
19372 cat >confcache <<\_ACEOF
19373 # This file is a shell script that caches the results of configure
19374 # tests run on this system so they can be shared between configure
19375 # scripts and configure runs, see configure's option --config-cache.
19376 # It is not useful on other systems. If it contains results you don't
19377 # want to keep, you may remove or edit it.
19379 # config.status only pays attention to the cache file if you give it
19380 # the --recheck option to rerun configure.
19382 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19383 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19384 # following values.
19386 _ACEOF
19388 # The following way of writing the cache mishandles newlines in values,
19389 # but we know of no workaround that is simple, portable, and efficient.
19390 # So, we kill variables containing newlines.
19391 # Ultrix sh set writes to stderr and can't be redirected directly,
19392 # and sets the high bit in the cache file unless we assign to the vars.
19394 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
19395 eval ac_val=\$$ac_var
19396 case $ac_val in #(
19397 *${as_nl}*)
19398 case $ac_var in #(
19399 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
19400 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
19401 esac
19402 case $ac_var in #(
19403 _ | IFS | as_nl) ;; #(
19404 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
19405 *) { eval $ac_var=; unset $ac_var;} ;;
19406 esac ;;
19407 esac
19408 done
19410 (set) 2>&1 |
19411 case $as_nl`(ac_space=' '; set) 2>&1` in #(
19412 *${as_nl}ac_space=\ *)
19413 # `set' does not quote correctly, so add quotes: double-quote
19414 # substitution turns \\\\ into \\, and sed turns \\ into \.
19415 sed -n \
19416 "s/'/'\\\\''/g;
19417 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19418 ;; #(
19420 # `set' quotes correctly as required by POSIX, so do not add quotes.
19421 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
19423 esac |
19424 sort
19426 sed '
19427 /^ac_cv_env_/b end
19428 t clear
19429 :clear
19430 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19431 t end
19432 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19433 :end' >>confcache
19434 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
19435 if test -w "$cache_file"; then
19436 if test "x$cache_file" != "x/dev/null"; then
19437 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
19438 $as_echo "$as_me: updating cache $cache_file" >&6;}
19439 if test ! -f "$cache_file" || test -h "$cache_file"; then
19440 cat confcache >"$cache_file"
19441 else
19442 case $cache_file in #(
19443 */* | ?:*)
19444 mv -f confcache "$cache_file"$$ &&
19445 mv -f "$cache_file"$$ "$cache_file" ;; #(
19447 mv -f confcache "$cache_file" ;;
19448 esac
19451 else
19452 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
19453 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
19456 rm -f confcache
19458 test "x$prefix" = xNONE && prefix=$ac_default_prefix
19459 # Let make expand exec_prefix.
19460 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
19462 DEFS=-DHAVE_CONFIG_H
19464 ac_libobjs=
19465 ac_ltlibobjs=
19467 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
19468 # 1. Remove the extension, and $U if already installed.
19469 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
19470 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
19471 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
19472 # will be set to the directory where LIBOBJS objects are built.
19473 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
19474 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
19475 done
19476 LIBOBJS=$ac_libobjs
19478 LTLIBOBJS=$ac_ltlibobjs
19482 : "${CONFIG_STATUS=./config.status}"
19483 ac_write_fail=0
19484 ac_clean_files_save=$ac_clean_files
19485 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
19486 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
19487 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
19488 as_write_fail=0
19489 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
19490 #! $SHELL
19491 # Generated by $as_me.
19492 # Run this file to recreate the current configuration.
19493 # Compiler output produced by configure, useful for debugging
19494 # configure, is in config.log if it exists.
19496 debug=false
19497 ac_cs_recheck=false
19498 ac_cs_silent=false
19500 SHELL=\${CONFIG_SHELL-$SHELL}
19501 export SHELL
19502 _ASEOF
19503 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
19504 ## -------------------- ##
19505 ## M4sh Initialization. ##
19506 ## -------------------- ##
19508 # Be more Bourne compatible
19509 DUALCASE=1; export DUALCASE # for MKS sh
19510 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
19511 emulate sh
19512 NULLCMD=:
19513 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19514 # is contrary to our usage. Disable this feature.
19515 alias -g '${1+"$@"}'='"$@"'
19516 setopt NO_GLOB_SUBST
19517 else
19518 case `(set -o) 2>/dev/null` in #(
19519 *posix*) :
19520 set -o posix ;; #(
19521 *) :
19523 esac
19527 as_nl='
19529 export as_nl
19530 # Printing a long string crashes Solaris 7 /usr/bin/printf.
19531 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
19532 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
19533 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
19534 # Prefer a ksh shell builtin over an external printf program on Solaris,
19535 # but without wasting forks for bash or zsh.
19536 if test -z "$BASH_VERSION$ZSH_VERSION" \
19537 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
19538 as_echo='print -r --'
19539 as_echo_n='print -rn --'
19540 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
19541 as_echo='printf %s\n'
19542 as_echo_n='printf %s'
19543 else
19544 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
19545 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
19546 as_echo_n='/usr/ucb/echo -n'
19547 else
19548 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
19549 as_echo_n_body='eval
19550 arg=$1;
19551 case $arg in #(
19552 *"$as_nl"*)
19553 expr "X$arg" : "X\\(.*\\)$as_nl";
19554 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
19555 esac;
19556 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
19558 export as_echo_n_body
19559 as_echo_n='sh -c $as_echo_n_body as_echo'
19561 export as_echo_body
19562 as_echo='sh -c $as_echo_body as_echo'
19565 # The user is always right.
19566 if test "${PATH_SEPARATOR+set}" != set; then
19567 PATH_SEPARATOR=:
19568 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
19569 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
19570 PATH_SEPARATOR=';'
19575 # IFS
19576 # We need space, tab and new line, in precisely that order. Quoting is
19577 # there to prevent editors from complaining about space-tab.
19578 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
19579 # splitting by setting IFS to empty value.)
19580 IFS=" "" $as_nl"
19582 # Find who we are. Look in the path if we contain no directory separator.
19583 as_myself=
19584 case $0 in #((
19585 *[\\/]* ) as_myself=$0 ;;
19586 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19587 for as_dir in $PATH
19589 IFS=$as_save_IFS
19590 test -z "$as_dir" && as_dir=.
19591 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
19592 done
19593 IFS=$as_save_IFS
19596 esac
19597 # We did not find ourselves, most probably we were run as `sh COMMAND'
19598 # in which case we are not to be found in the path.
19599 if test "x$as_myself" = x; then
19600 as_myself=$0
19602 if test ! -f "$as_myself"; then
19603 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
19604 exit 1
19607 # Unset variables that we do not need and which cause bugs (e.g. in
19608 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
19609 # suppresses any "Segmentation fault" message there. '((' could
19610 # trigger a bug in pdksh 5.2.14.
19611 for as_var in BASH_ENV ENV MAIL MAILPATH
19612 do eval test x\${$as_var+set} = xset \
19613 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
19614 done
19615 PS1='$ '
19616 PS2='> '
19617 PS4='+ '
19619 # NLS nuisances.
19620 LC_ALL=C
19621 export LC_ALL
19622 LANGUAGE=C
19623 export LANGUAGE
19625 # CDPATH.
19626 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
19629 # as_fn_error STATUS ERROR [LINENO LOG_FD]
19630 # ----------------------------------------
19631 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
19632 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
19633 # script with STATUS, using 1 if that was 0.
19634 as_fn_error ()
19636 as_status=$1; test $as_status -eq 0 && as_status=1
19637 if test "$4"; then
19638 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
19639 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
19641 $as_echo "$as_me: error: $2" >&2
19642 as_fn_exit $as_status
19643 } # as_fn_error
19646 # as_fn_set_status STATUS
19647 # -----------------------
19648 # Set $? to STATUS, without forking.
19649 as_fn_set_status ()
19651 return $1
19652 } # as_fn_set_status
19654 # as_fn_exit STATUS
19655 # -----------------
19656 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
19657 as_fn_exit ()
19659 set +e
19660 as_fn_set_status $1
19661 exit $1
19662 } # as_fn_exit
19664 # as_fn_unset VAR
19665 # ---------------
19666 # Portably unset VAR.
19667 as_fn_unset ()
19669 { eval $1=; unset $1;}
19671 as_unset=as_fn_unset
19672 # as_fn_append VAR VALUE
19673 # ----------------------
19674 # Append the text in VALUE to the end of the definition contained in VAR. Take
19675 # advantage of any shell optimizations that allow amortized linear growth over
19676 # repeated appends, instead of the typical quadratic growth present in naive
19677 # implementations.
19678 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
19679 eval 'as_fn_append ()
19681 eval $1+=\$2
19683 else
19684 as_fn_append ()
19686 eval $1=\$$1\$2
19688 fi # as_fn_append
19690 # as_fn_arith ARG...
19691 # ------------------
19692 # Perform arithmetic evaluation on the ARGs, and store the result in the
19693 # global $as_val. Take advantage of shells that can avoid forks. The arguments
19694 # must be portable across $(()) and expr.
19695 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
19696 eval 'as_fn_arith ()
19698 as_val=$(( $* ))
19700 else
19701 as_fn_arith ()
19703 as_val=`expr "$@" || test $? -eq 1`
19705 fi # as_fn_arith
19708 if expr a : '\(a\)' >/dev/null 2>&1 &&
19709 test "X`expr 00001 : '.*\(...\)'`" = X001; then
19710 as_expr=expr
19711 else
19712 as_expr=false
19715 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
19716 as_basename=basename
19717 else
19718 as_basename=false
19721 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
19722 as_dirname=dirname
19723 else
19724 as_dirname=false
19727 as_me=`$as_basename -- "$0" ||
19728 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19729 X"$0" : 'X\(//\)$' \| \
19730 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
19731 $as_echo X/"$0" |
19732 sed '/^.*\/\([^/][^/]*\)\/*$/{
19733 s//\1/
19736 /^X\/\(\/\/\)$/{
19737 s//\1/
19740 /^X\/\(\/\).*/{
19741 s//\1/
19744 s/.*/./; q'`
19746 # Avoid depending upon Character Ranges.
19747 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
19748 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19749 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
19750 as_cr_digits='0123456789'
19751 as_cr_alnum=$as_cr_Letters$as_cr_digits
19753 ECHO_C= ECHO_N= ECHO_T=
19754 case `echo -n x` in #(((((
19755 -n*)
19756 case `echo 'xy\c'` in
19757 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
19758 xy) ECHO_C='\c';;
19759 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
19760 ECHO_T=' ';;
19761 esac;;
19763 ECHO_N='-n';;
19764 esac
19766 rm -f conf$$ conf$$.exe conf$$.file
19767 if test -d conf$$.dir; then
19768 rm -f conf$$.dir/conf$$.file
19769 else
19770 rm -f conf$$.dir
19771 mkdir conf$$.dir 2>/dev/null
19773 if (echo >conf$$.file) 2>/dev/null; then
19774 if ln -s conf$$.file conf$$ 2>/dev/null; then
19775 as_ln_s='ln -s'
19776 # ... but there are two gotchas:
19777 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19778 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
19779 # In both cases, we have to default to `cp -pR'.
19780 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
19781 as_ln_s='cp -pR'
19782 elif ln conf$$.file conf$$ 2>/dev/null; then
19783 as_ln_s=ln
19784 else
19785 as_ln_s='cp -pR'
19787 else
19788 as_ln_s='cp -pR'
19790 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
19791 rmdir conf$$.dir 2>/dev/null
19794 # as_fn_mkdir_p
19795 # -------------
19796 # Create "$as_dir" as a directory, including parents if necessary.
19797 as_fn_mkdir_p ()
19800 case $as_dir in #(
19801 -*) as_dir=./$as_dir;;
19802 esac
19803 test -d "$as_dir" || eval $as_mkdir_p || {
19804 as_dirs=
19805 while :; do
19806 case $as_dir in #(
19807 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19808 *) as_qdir=$as_dir;;
19809 esac
19810 as_dirs="'$as_qdir' $as_dirs"
19811 as_dir=`$as_dirname -- "$as_dir" ||
19812 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19813 X"$as_dir" : 'X\(//\)[^/]' \| \
19814 X"$as_dir" : 'X\(//\)$' \| \
19815 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19816 $as_echo X"$as_dir" |
19817 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19818 s//\1/
19821 /^X\(\/\/\)[^/].*/{
19822 s//\1/
19825 /^X\(\/\/\)$/{
19826 s//\1/
19829 /^X\(\/\).*/{
19830 s//\1/
19833 s/.*/./; q'`
19834 test -d "$as_dir" && break
19835 done
19836 test -z "$as_dirs" || eval "mkdir $as_dirs"
19837 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
19840 } # as_fn_mkdir_p
19841 if mkdir -p . 2>/dev/null; then
19842 as_mkdir_p='mkdir -p "$as_dir"'
19843 else
19844 test -d ./-p && rmdir ./-p
19845 as_mkdir_p=false
19849 # as_fn_executable_p FILE
19850 # -----------------------
19851 # Test if FILE is an executable regular file.
19852 as_fn_executable_p ()
19854 test -f "$1" && test -x "$1"
19855 } # as_fn_executable_p
19856 as_test_x='test -x'
19857 as_executable_p=as_fn_executable_p
19859 # Sed expression to map a string onto a valid CPP name.
19860 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19862 # Sed expression to map a string onto a valid variable name.
19863 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19866 exec 6>&1
19867 ## ----------------------------------- ##
19868 ## Main body of $CONFIG_STATUS script. ##
19869 ## ----------------------------------- ##
19870 _ASEOF
19871 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
19873 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19874 # Save the log message, to keep $0 and so on meaningful, and to
19875 # report actual input values of CONFIG_FILES etc. instead of their
19876 # values after options handling.
19877 ac_log="
19878 This file was extended by Wine $as_me 3.3, which was
19879 generated by GNU Autoconf 2.69. Invocation command line was
19881 CONFIG_FILES = $CONFIG_FILES
19882 CONFIG_HEADERS = $CONFIG_HEADERS
19883 CONFIG_LINKS = $CONFIG_LINKS
19884 CONFIG_COMMANDS = $CONFIG_COMMANDS
19885 $ $0 $@
19887 on `(hostname || uname -n) 2>/dev/null | sed 1q`
19890 _ACEOF
19892 case $ac_config_files in *"
19893 "*) set x $ac_config_files; shift; ac_config_files=$*;;
19894 esac
19896 case $ac_config_headers in *"
19897 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
19898 esac
19901 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19902 # Files that config.status was made for.
19903 config_files="$ac_config_files"
19904 config_headers="$ac_config_headers"
19905 config_links="$ac_config_links"
19906 config_commands="$ac_config_commands"
19908 _ACEOF
19910 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19911 ac_cs_usage="\
19912 \`$as_me' instantiates files and other configuration actions
19913 from templates according to the current configuration. Unless the files
19914 and actions are specified as TAGs, all are instantiated by default.
19916 Usage: $0 [OPTION]... [TAG]...
19918 -h, --help print this help, then exit
19919 -V, --version print version number and configuration settings, then exit
19920 --config print configuration, then exit
19921 -q, --quiet, --silent
19922 do not print progress messages
19923 -d, --debug don't remove temporary files
19924 --recheck update $as_me by reconfiguring in the same conditions
19925 --file=FILE[:TEMPLATE]
19926 instantiate the configuration file FILE
19927 --header=FILE[:TEMPLATE]
19928 instantiate the configuration header FILE
19930 Configuration files:
19931 $config_files
19933 Configuration headers:
19934 $config_headers
19936 Configuration links:
19937 $config_links
19939 Configuration commands:
19940 $config_commands
19942 Report bugs to <wine-devel@winehq.org>.
19943 Wine home page: <https://www.winehq.org>."
19945 _ACEOF
19946 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19947 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
19948 ac_cs_version="\\
19949 Wine config.status 3.3
19950 configured by $0, generated by GNU Autoconf 2.69,
19951 with options \\"\$ac_cs_config\\"
19953 Copyright (C) 2012 Free Software Foundation, Inc.
19954 This config.status script is free software; the Free Software Foundation
19955 gives unlimited permission to copy, distribute and modify it."
19957 ac_pwd='$ac_pwd'
19958 srcdir='$srcdir'
19959 test -n "\$AWK" || AWK=awk
19960 _ACEOF
19962 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19963 # The default lists apply if the user does not specify any file.
19964 ac_need_defaults=:
19965 while test $# != 0
19967 case $1 in
19968 --*=?*)
19969 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19970 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
19971 ac_shift=:
19973 --*=)
19974 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19975 ac_optarg=
19976 ac_shift=:
19979 ac_option=$1
19980 ac_optarg=$2
19981 ac_shift=shift
19983 esac
19985 case $ac_option in
19986 # Handling of the options.
19987 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
19988 ac_cs_recheck=: ;;
19989 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
19990 $as_echo "$ac_cs_version"; exit ;;
19991 --config | --confi | --conf | --con | --co | --c )
19992 $as_echo "$ac_cs_config"; exit ;;
19993 --debug | --debu | --deb | --de | --d | -d )
19994 debug=: ;;
19995 --file | --fil | --fi | --f )
19996 $ac_shift
19997 case $ac_optarg in
19998 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
19999 '') as_fn_error $? "missing file argument" ;;
20000 esac
20001 as_fn_append CONFIG_FILES " '$ac_optarg'"
20002 ac_need_defaults=false;;
20003 --header | --heade | --head | --hea )
20004 $ac_shift
20005 case $ac_optarg in
20006 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20007 esac
20008 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
20009 ac_need_defaults=false;;
20010 --he | --h)
20011 # Conflict between --help and --header
20012 as_fn_error $? "ambiguous option: \`$1'
20013 Try \`$0 --help' for more information.";;
20014 --help | --hel | -h )
20015 $as_echo "$ac_cs_usage"; exit ;;
20016 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
20017 | -silent | --silent | --silen | --sile | --sil | --si | --s)
20018 ac_cs_silent=: ;;
20020 # This is an error.
20021 -*) as_fn_error $? "unrecognized option: \`$1'
20022 Try \`$0 --help' for more information." ;;
20024 *) as_fn_append ac_config_targets " $1"
20025 ac_need_defaults=false ;;
20027 esac
20028 shift
20029 done
20031 ac_configure_extra_args=
20033 if $ac_cs_silent; then
20034 exec 6>/dev/null
20035 ac_configure_extra_args="$ac_configure_extra_args --silent"
20038 _ACEOF
20039 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20040 if \$ac_cs_recheck; then
20041 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20042 shift
20043 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
20044 CONFIG_SHELL='$SHELL'
20045 export CONFIG_SHELL
20046 exec "\$@"
20049 _ACEOF
20050 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20051 exec 5>>config.log
20053 echo
20054 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20055 ## Running $as_me. ##
20056 _ASBOX
20057 $as_echo "$ac_log"
20058 } >&5
20060 _ACEOF
20061 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20063 # INIT-COMMANDS
20065 wine_fn_output_makedep ()
20067 as_dir=tools; as_fn_mkdir_p
20068 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
20070 wine_fn_output_makefile ()
20072 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
20073 `cat $wine_rules_file`
20074 _WINE_EOF
20075 as_fn_error $? "could not create Makefile" "$LINENO" 5
20078 _ACEOF
20080 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20082 # Handling of arguments.
20083 for ac_config_target in $ac_config_targets
20085 case $ac_config_target in
20086 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
20087 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
20088 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
20089 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
20090 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
20091 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
20092 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
20093 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
20094 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
20095 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
20096 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
20097 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
20098 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
20100 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
20101 esac
20102 done
20105 # If the user did not use the arguments to specify the items to instantiate,
20106 # then the envvar interface is used. Set only those that are not.
20107 # We use the long form for the default assignment because of an extremely
20108 # bizarre bug on SunOS 4.1.3.
20109 if $ac_need_defaults; then
20110 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
20111 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
20112 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
20113 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
20116 # Have a temporary directory for convenience. Make it in the build tree
20117 # simply because there is no reason against having it here, and in addition,
20118 # creating and moving files from /tmp can sometimes cause problems.
20119 # Hook for its removal unless debugging.
20120 # Note that there is a small window in which the directory will not be cleaned:
20121 # after its creation but before its name has been assigned to `$tmp'.
20122 $debug ||
20124 tmp= ac_tmp=
20125 trap 'exit_status=$?
20126 : "${ac_tmp:=$tmp}"
20127 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
20129 trap 'as_fn_exit 1' 1 2 13 15
20131 # Create a (secure) tmp directory for tmp files.
20134 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
20135 test -d "$tmp"
20136 } ||
20138 tmp=./conf$$-$RANDOM
20139 (umask 077 && mkdir "$tmp")
20140 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
20141 ac_tmp=$tmp
20143 # Set up the scripts for CONFIG_FILES section.
20144 # No need to generate them if there are no CONFIG_FILES.
20145 # This happens for instance with `./config.status config.h'.
20146 if test -n "$CONFIG_FILES"; then
20149 ac_cr=`echo X | tr X '\015'`
20150 # On cygwin, bash can eat \r inside `` if the user requested igncr.
20151 # But we know of no other shell where ac_cr would be empty at this
20152 # point, so we can use a bashism as a fallback.
20153 if test "x$ac_cr" = x; then
20154 eval ac_cr=\$\'\\r\'
20156 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
20157 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
20158 ac_cs_awk_cr='\\r'
20159 else
20160 ac_cs_awk_cr=$ac_cr
20163 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
20164 _ACEOF
20168 echo "cat >conf$$subs.awk <<_ACEOF" &&
20169 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
20170 echo "_ACEOF"
20171 } >conf$$subs.sh ||
20172 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20173 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
20174 ac_delim='%!_!# '
20175 for ac_last_try in false false false false false :; do
20176 . ./conf$$subs.sh ||
20177 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20179 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
20180 if test $ac_delim_n = $ac_delim_num; then
20181 break
20182 elif $ac_last_try; then
20183 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20184 else
20185 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20187 done
20188 rm -f conf$$subs.sh
20190 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20191 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
20192 _ACEOF
20193 sed -n '
20195 s/^/S["/; s/!.*/"]=/
20198 s/^[^!]*!//
20199 :repl
20200 t repl
20201 s/'"$ac_delim"'$//
20202 t delim
20205 s/\(.\{148\}\)..*/\1/
20206 t more1
20207 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
20210 b repl
20211 :more1
20212 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
20215 s/.\{148\}//
20216 t nl
20217 :delim
20219 s/\(.\{148\}\)..*/\1/
20220 t more2
20221 s/["\\]/\\&/g; s/^/"/; s/$/"/
20224 :more2
20225 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
20228 s/.\{148\}//
20229 t delim
20230 ' <conf$$subs.awk | sed '
20231 /^[^""]/{
20233 s/\n//
20235 ' >>$CONFIG_STATUS || ac_write_fail=1
20236 rm -f conf$$subs.awk
20237 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20238 _ACAWK
20239 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
20240 for (key in S) S_is_set[key] = 1
20241 FS = "\a"
20245 line = $ 0
20246 nfields = split(line, field, "@")
20247 substed = 0
20248 len = length(field[1])
20249 for (i = 2; i < nfields; i++) {
20250 key = field[i]
20251 keylen = length(key)
20252 if (S_is_set[key]) {
20253 value = S[key]
20254 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
20255 len += length(value) + length(field[++i])
20256 substed = 1
20257 } else
20258 len += 1 + keylen
20261 print line
20264 _ACAWK
20265 _ACEOF
20266 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20267 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
20268 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
20269 else
20271 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
20272 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
20273 _ACEOF
20275 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
20276 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
20277 # trailing colons and then remove the whole line if VPATH becomes empty
20278 # (actually we leave an empty line to preserve line numbers).
20279 if test "x$srcdir" = x.; then
20280 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
20282 s///
20283 s/^/:/
20284 s/[ ]*$/:/
20285 s/:\$(srcdir):/:/g
20286 s/:\${srcdir}:/:/g
20287 s/:@srcdir@:/:/g
20288 s/^:*//
20289 s/:*$//
20291 s/\(=[ ]*\).*/\1/
20293 s/\n//
20294 s/^[^=]*=[ ]*$//
20298 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20299 fi # test -n "$CONFIG_FILES"
20301 # Set up the scripts for CONFIG_HEADERS section.
20302 # No need to generate them if there are no CONFIG_HEADERS.
20303 # This happens for instance with `./config.status Makefile'.
20304 if test -n "$CONFIG_HEADERS"; then
20305 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
20306 BEGIN {
20307 _ACEOF
20309 # Transform confdefs.h into an awk script `defines.awk', embedded as
20310 # here-document in config.status, that substitutes the proper values into
20311 # config.h.in to produce config.h.
20313 # Create a delimiter string that does not exist in confdefs.h, to ease
20314 # handling of long lines.
20315 ac_delim='%!_!# '
20316 for ac_last_try in false false :; do
20317 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
20318 if test -z "$ac_tt"; then
20319 break
20320 elif $ac_last_try; then
20321 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
20322 else
20323 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20325 done
20327 # For the awk script, D is an array of macro values keyed by name,
20328 # likewise P contains macro parameters if any. Preserve backslash
20329 # newline sequences.
20331 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
20332 sed -n '
20333 s/.\{148\}/&'"$ac_delim"'/g
20334 t rset
20335 :rset
20336 s/^[ ]*#[ ]*define[ ][ ]*/ /
20337 t def
20339 :def
20340 s/\\$//
20341 t bsnl
20342 s/["\\]/\\&/g
20343 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
20344 D["\1"]=" \3"/p
20345 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
20347 :bsnl
20348 s/["\\]/\\&/g
20349 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
20350 D["\1"]=" \3\\\\\\n"\\/p
20351 t cont
20352 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
20353 t cont
20355 :cont
20357 s/.\{148\}/&'"$ac_delim"'/g
20358 t clear
20359 :clear
20360 s/\\$//
20361 t bsnlc
20362 s/["\\]/\\&/g; s/^/"/; s/$/"/p
20364 :bsnlc
20365 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
20366 b cont
20367 ' <confdefs.h | sed '
20368 s/'"$ac_delim"'/"\\\
20369 "/g' >>$CONFIG_STATUS || ac_write_fail=1
20371 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20372 for (key in D) D_is_set[key] = 1
20373 FS = "\a"
20375 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
20376 line = \$ 0
20377 split(line, arg, " ")
20378 if (arg[1] == "#") {
20379 defundef = arg[2]
20380 mac1 = arg[3]
20381 } else {
20382 defundef = substr(arg[1], 2)
20383 mac1 = arg[2]
20385 split(mac1, mac2, "(") #)
20386 macro = mac2[1]
20387 prefix = substr(line, 1, index(line, defundef) - 1)
20388 if (D_is_set[macro]) {
20389 # Preserve the white space surrounding the "#".
20390 print prefix "define", macro P[macro] D[macro]
20391 next
20392 } else {
20393 # Replace #undef with comments. This is necessary, for example,
20394 # in the case of _POSIX_SOURCE, which is predefined and required
20395 # on some systems where configure will not decide to define it.
20396 if (defundef == "undef") {
20397 print "/*", prefix defundef, macro, "*/"
20398 next
20402 { print }
20403 _ACAWK
20404 _ACEOF
20405 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20406 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
20407 fi # test -n "$CONFIG_HEADERS"
20410 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
20411 shift
20412 for ac_tag
20414 case $ac_tag in
20415 :[FHLC]) ac_mode=$ac_tag; continue;;
20416 esac
20417 case $ac_mode$ac_tag in
20418 :[FHL]*:*);;
20419 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
20420 :[FH]-) ac_tag=-:-;;
20421 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
20422 esac
20423 ac_save_IFS=$IFS
20424 IFS=:
20425 set x $ac_tag
20426 IFS=$ac_save_IFS
20427 shift
20428 ac_file=$1
20429 shift
20431 case $ac_mode in
20432 :L) ac_source=$1;;
20433 :[FH])
20434 ac_file_inputs=
20435 for ac_f
20437 case $ac_f in
20438 -) ac_f="$ac_tmp/stdin";;
20439 *) # Look for the file first in the build tree, then in the source tree
20440 # (if the path is not absolute). The absolute path cannot be DOS-style,
20441 # because $ac_f cannot contain `:'.
20442 test -f "$ac_f" ||
20443 case $ac_f in
20444 [\\/$]*) false;;
20445 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
20446 esac ||
20447 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
20448 esac
20449 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
20450 as_fn_append ac_file_inputs " '$ac_f'"
20451 done
20453 # Let's still pretend it is `configure' which instantiates (i.e., don't
20454 # use $as_me), people would be surprised to read:
20455 # /* config.h. Generated by config.status. */
20456 configure_input='Generated from '`
20457 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
20458 `' by configure.'
20459 if test x"$ac_file" != x-; then
20460 configure_input="$ac_file. $configure_input"
20461 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
20462 $as_echo "$as_me: creating $ac_file" >&6;}
20464 # Neutralize special characters interpreted by sed in replacement strings.
20465 case $configure_input in #(
20466 *\&* | *\|* | *\\* )
20467 ac_sed_conf_input=`$as_echo "$configure_input" |
20468 sed 's/[\\\\&|]/\\\\&/g'`;; #(
20469 *) ac_sed_conf_input=$configure_input;;
20470 esac
20472 case $ac_tag in
20473 *:-:* | *:-) cat >"$ac_tmp/stdin" \
20474 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
20475 esac
20477 esac
20479 ac_dir=`$as_dirname -- "$ac_file" ||
20480 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20481 X"$ac_file" : 'X\(//\)[^/]' \| \
20482 X"$ac_file" : 'X\(//\)$' \| \
20483 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
20484 $as_echo X"$ac_file" |
20485 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20486 s//\1/
20489 /^X\(\/\/\)[^/].*/{
20490 s//\1/
20493 /^X\(\/\/\)$/{
20494 s//\1/
20497 /^X\(\/\).*/{
20498 s//\1/
20501 s/.*/./; q'`
20502 as_dir="$ac_dir"; as_fn_mkdir_p
20503 ac_builddir=.
20505 case "$ac_dir" in
20506 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
20508 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
20509 # A ".." for each directory in $ac_dir_suffix.
20510 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
20511 case $ac_top_builddir_sub in
20512 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
20513 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
20514 esac ;;
20515 esac
20516 ac_abs_top_builddir=$ac_pwd
20517 ac_abs_builddir=$ac_pwd$ac_dir_suffix
20518 # for backward compatibility:
20519 ac_top_builddir=$ac_top_build_prefix
20521 case $srcdir in
20522 .) # We are building in place.
20523 ac_srcdir=.
20524 ac_top_srcdir=$ac_top_builddir_sub
20525 ac_abs_top_srcdir=$ac_pwd ;;
20526 [\\/]* | ?:[\\/]* ) # Absolute name.
20527 ac_srcdir=$srcdir$ac_dir_suffix;
20528 ac_top_srcdir=$srcdir
20529 ac_abs_top_srcdir=$srcdir ;;
20530 *) # Relative name.
20531 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
20532 ac_top_srcdir=$ac_top_build_prefix$srcdir
20533 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
20534 esac
20535 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
20538 case $ac_mode in
20541 # CONFIG_FILE
20544 _ACEOF
20546 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20547 # If the template does not know about datarootdir, expand it.
20548 # FIXME: This hack should be removed a few years after 2.60.
20549 ac_datarootdir_hack=; ac_datarootdir_seen=
20550 ac_sed_dataroot='
20551 /datarootdir/ {
20555 /@datadir@/p
20556 /@docdir@/p
20557 /@infodir@/p
20558 /@localedir@/p
20559 /@mandir@/p'
20560 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
20561 *datarootdir*) ac_datarootdir_seen=yes;;
20562 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
20563 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
20564 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
20565 _ACEOF
20566 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20567 ac_datarootdir_hack='
20568 s&@datadir@&$datadir&g
20569 s&@docdir@&$docdir&g
20570 s&@infodir@&$infodir&g
20571 s&@localedir@&$localedir&g
20572 s&@mandir@&$mandir&g
20573 s&\\\${datarootdir}&$datarootdir&g' ;;
20574 esac
20575 _ACEOF
20577 # Neutralize VPATH when `$srcdir' = `.'.
20578 # Shell code in configure.ac might set extrasub.
20579 # FIXME: do we really want to maintain this feature?
20580 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20581 ac_sed_extra="$ac_vpsub
20582 $extrasub
20583 _ACEOF
20584 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20586 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
20587 s|@configure_input@|$ac_sed_conf_input|;t t
20588 s&@top_builddir@&$ac_top_builddir_sub&;t t
20589 s&@top_build_prefix@&$ac_top_build_prefix&;t t
20590 s&@srcdir@&$ac_srcdir&;t t
20591 s&@abs_srcdir@&$ac_abs_srcdir&;t t
20592 s&@top_srcdir@&$ac_top_srcdir&;t t
20593 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
20594 s&@builddir@&$ac_builddir&;t t
20595 s&@abs_builddir@&$ac_abs_builddir&;t t
20596 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
20597 $ac_datarootdir_hack
20599 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
20600 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20602 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
20603 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
20604 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
20605 "$ac_tmp/out"`; test -z "$ac_out"; } &&
20606 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20607 which seems to be undefined. Please make sure it is defined" >&5
20608 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20609 which seems to be undefined. Please make sure it is defined" >&2;}
20611 rm -f "$ac_tmp/stdin"
20612 case $ac_file in
20613 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
20614 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
20615 esac \
20616 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20620 # CONFIG_HEADER
20622 if test x"$ac_file" != x-; then
20624 $as_echo "/* $configure_input */" \
20625 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
20626 } >"$ac_tmp/config.h" \
20627 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20628 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
20629 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
20630 $as_echo "$as_me: $ac_file is unchanged" >&6;}
20631 else
20632 rm -f "$ac_file"
20633 mv "$ac_tmp/config.h" "$ac_file" \
20634 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20636 else
20637 $as_echo "/* $configure_input */" \
20638 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
20639 || as_fn_error $? "could not create -" "$LINENO" 5
20644 # CONFIG_LINK
20647 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
20649 else
20650 # Prefer the file from the source tree if names are identical.
20651 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
20652 ac_source=$srcdir/$ac_source
20655 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
20656 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
20658 if test ! -r "$ac_source"; then
20659 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
20661 rm -f "$ac_file"
20663 # Try a relative symlink, then a hard link, then a copy.
20664 case $ac_source in
20665 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
20666 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
20667 esac
20668 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
20669 ln "$ac_source" "$ac_file" 2>/dev/null ||
20670 cp -p "$ac_source" "$ac_file" ||
20671 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
20674 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
20675 $as_echo "$as_me: executing $ac_file commands" >&6;}
20677 esac
20680 case $ac_file$ac_mode in
20681 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
20682 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
20683 "Makefile":C) wine_fn_output_makefile Makefile ;;
20685 esac
20686 done # for ac_tag
20689 as_fn_exit 0
20690 _ACEOF
20691 ac_clean_files=$ac_clean_files_save
20693 test $ac_write_fail = 0 ||
20694 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
20697 # configure is writing to config.log, and then calls config.status.
20698 # config.status does its own redirection, appending to config.log.
20699 # Unfortunately, on DOS this fails, as config.log is still kept open
20700 # by configure, so config.status won't be able to write to it; its
20701 # output is simply discarded. So we exec the FD to /dev/null,
20702 # effectively closing config.log, so it can be properly (re)opened and
20703 # appended to by config.status. When coming back to configure, we
20704 # need to make the FD available again.
20705 if test "$no_create" != yes; then
20706 ac_cs_success=:
20707 ac_config_status_args=
20708 test "$silent" = yes &&
20709 ac_config_status_args="$ac_config_status_args --quiet"
20710 exec 5>/dev/null
20711 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
20712 exec 5>>config.log
20713 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
20714 # would make configure fail if this is the last instruction.
20715 $ac_cs_success || as_fn_exit 1
20717 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
20718 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
20719 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
20723 if test "$no_create" = "yes"
20724 then
20725 exit 0
20728 ac_save_IFS="$IFS"
20729 if test "x$wine_notices" != x; then
20730 echo >&6
20731 IFS="|"
20732 for msg in $wine_notices; do
20733 IFS="$ac_save_IFS"
20734 if ${msg:+false} :; then :
20736 else
20737 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
20738 $as_echo "$as_me: $msg" >&6;}
20740 done
20742 IFS="|"
20743 for msg in $wine_warnings; do
20744 IFS="$ac_save_IFS"
20745 if ${msg:+false} :; then :
20747 else
20748 echo >&2
20749 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
20750 $as_echo "$as_me: WARNING: $msg" >&2;}
20752 done
20753 IFS="$ac_save_IFS"
20755 $as_echo "
20756 $as_me: Finished. Do '${ac_make}' to compile Wine.
20757 " >&6