user32: Try to load libpng only once.
[wine.git] / configure
blob73d909f4aecc8bbed4bf1629d308648b0dff40ee
1 #! /bin/sh
2 # Guess values for system-dependent variables and create Makefiles.
3 # Generated by GNU Autoconf 2.69 for Wine 3.5.
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.5'
584 PACKAGE_STRING='Wine 3.5'
585 PACKAGE_BUGREPORT='wine-devel@winehq.org'
586 PACKAGE_URL='https://www.winehq.org'
588 ac_unique_file="server/atom.c"
589 # Factoring default headers for most tests.
590 ac_includes_default="\
591 #include <stdio.h>
592 #ifdef HAVE_SYS_TYPES_H
593 # include <sys/types.h>
594 #endif
595 #ifdef HAVE_SYS_STAT_H
596 # include <sys/stat.h>
597 #endif
598 #ifdef STDC_HEADERS
599 # include <stdlib.h>
600 # include <stddef.h>
601 #else
602 # ifdef HAVE_STDLIB_H
603 # include <stdlib.h>
604 # endif
605 #endif
606 #ifdef HAVE_STRING_H
607 # if !defined STDC_HEADERS && defined HAVE_MEMORY_H
608 # include <memory.h>
609 # endif
610 # include <string.h>
611 #endif
612 #ifdef HAVE_STRINGS_H
613 # include <strings.h>
614 #endif
615 #ifdef HAVE_INTTYPES_H
616 # include <inttypes.h>
617 #endif
618 #ifdef HAVE_STDINT_H
619 # include <stdint.h>
620 #endif
621 #ifdef HAVE_UNISTD_H
622 # include <unistd.h>
623 #endif"
625 ac_subst_vars='LTLIBOBJS
626 LIBOBJS
627 WINELOADER_INSTALL
628 ALL_VARS_RULES
629 LDAP_LIBS
630 LDAP_CFLAGS
631 RT_LIBS
632 POLL_LIBS
633 DL_LIBS
634 TOOLSEXT
635 UNWINDFLAGS
636 EXCESS_PRECISION_CFLAGS
637 BUILTINFLAG
638 EXTRACFLAGS
639 NETAPI_LIBS
640 NETAPI_CFLAGS
641 PROCSTAT_LIBS
642 KSTAT_LIBS
643 MPG123_LIBS
644 MPG123_CFLAGS
645 TIFF_LIBS
646 TIFF_CFLAGS
647 PNG_LIBS
648 PNG_CFLAGS
649 JPEG_LIBS
650 JPEG_CFLAGS
651 GSSAPI_LIBS
652 GSSAPI_CFLAGS
653 KRB5_LIBS
654 KRB5_CFLAGS
655 FONTCONFIG_LIBS
656 FONTCONFIG_CFLAGS
657 CUPS_LIBS
658 CUPS_CFLAGS
659 CAPI20_LIBS
660 CAPI20_CFLAGS
661 SDL2_LIBS
662 SDL2_CFLAGS
663 UDEV_LIBS
664 UDEV_CFLAGS
665 OSS4_CFLAGS
666 ALSA_LIBS
667 GSTREAMER_LIBS
668 GSTREAMER_CFLAGS
669 PULSE_LIBS
670 PULSE_CFLAGS
671 GETTEXTPO_LIBS
672 Z_LIBS
673 FREETYPE_LIBS
674 FREETYPE_CFLAGS
675 LCMS2_LIBS
676 LCMS2_CFLAGS
677 RESOLV_LIBS
678 GPHOTO2_PORT_LIBS
679 GPHOTO2_PORT_CFLAGS
680 GPHOTO2_LIBS
681 GPHOTO2_CFLAGS
682 SANE_LIBS
683 SANE_CFLAGS
684 GNUTLS_LIBS
685 GNUTLS_CFLAGS
686 HAL_LIBS
687 HAL_CFLAGS
688 DBUS_LIBS
689 DBUS_CFLAGS
690 XSLT_LIBS
691 XSLT_CFLAGS
692 XML2_LIBS
693 XML2_CFLAGS
694 PCAP_LIBS
695 X_EXTRA_LIBS
696 X_LIBS
697 X_PRE_LIBS
698 X_CFLAGS
699 XMKMF
700 PTHREAD_LIBS
701 CROSSCFLAGS
702 CROSSCC
703 CROSSTARGET
704 PRELINK
705 WINELOADER_DEPENDS
706 CARBON_LIBS
707 QUICKTIME_LIBS
708 OPENCL_LIBS
709 OPENAL_LIBS
710 COREAUDIO_LIBS
711 SECURITY_LIBS
712 DISKARBITRATION_LIBS
713 APPKIT_LIBS
714 CORESERVICES_LIBS
715 APPLICATIONSERVICES_LIBS
716 FORCEFEEDBACK_LIBS
717 IOKIT_LIBS
718 COREFOUNDATION_LIBS
719 LIBWINE_DEPENDS
720 LIBWINE_LDFLAGS
721 LIBWINE_INSTALL_DEV
722 LIBWINE_INSTALL_LIB
723 LIBWINE_IMPORTLIB
724 LIBWINE_SHAREDLIB
725 SOCKET_LIBS
726 DLLTOOL
727 WINELOADER_PROGRAMS
728 CONFIGURE_TARGETS
729 DISABLED_SUBDIRS
730 SUBDIRS
731 READELF
732 OTOOL
734 WINELOADER_LDFLAGS
735 LDEXECFLAGS
736 LDRPATH_LOCAL
737 LDRPATH_INSTALL
738 DLLFLAGS
740 OPENGL_LIBS
741 ICOTOOL
742 CONVERT
743 RSVG
744 FONTFORGE
745 PKG_CONFIG
746 MSGFMT
747 LDCONFIG
748 EGREP
749 GREP
750 LN_S
751 RANLIB
752 ARFLAGS
753 STRIP
754 ac_ct_AR
756 BISON
757 FLEX
758 TOOLSDIR
759 wine64_disable
760 TARGETFLAGS
762 CPPBIN
763 ac_ct_CXX
764 CXXFLAGS
766 OBJEXT
767 EXEEXT
768 ac_ct_CC
769 CPPFLAGS
770 LDFLAGS
771 CFLAGS
773 SET_MAKE
774 host_os
775 host_vendor
776 host_cpu
777 host
778 build_os
779 build_vendor
780 build_cpu
781 build
782 target_alias
783 host_alias
784 build_alias
785 LIBS
786 ECHO_T
787 ECHO_N
788 ECHO_C
789 DEFS
790 mandir
791 localedir
792 libdir
793 psdir
794 pdfdir
795 dvidir
796 htmldir
797 infodir
798 docdir
799 oldincludedir
800 includedir
801 runstatedir
802 localstatedir
803 sharedstatedir
804 sysconfdir
805 datadir
806 datarootdir
807 libexecdir
808 sbindir
809 bindir
810 program_transform_name
811 prefix
812 exec_prefix
813 PACKAGE_URL
814 PACKAGE_BUGREPORT
815 PACKAGE_STRING
816 PACKAGE_VERSION
817 PACKAGE_TARNAME
818 PACKAGE_NAME
819 PATH_SEPARATOR
820 SHELL'
821 ac_subst_files=''
822 ac_user_opts='
823 enable_option_checking
824 enable_win16
825 enable_win64
826 enable_tests
827 enable_maintainer_mode
828 with_alsa
829 with_capi
830 with_cms
831 with_coreaudio
832 with_cups
833 with_curses
834 with_dbus
835 with_float_abi
836 with_fontconfig
837 with_freetype
838 with_gettext
839 with_gettextpo
840 with_gphoto
841 with_glu
842 with_gnutls
843 with_gsm
844 with_gssapi
845 with_gstreamer
846 with_hal
847 with_jpeg
848 with_krb5
849 with_ldap
850 with_mpg123
851 with_netapi
852 with_openal
853 with_opencl
854 with_opengl
855 with_osmesa
856 with_oss
857 with_pcap
858 with_png
859 with_pthread
860 with_pulse
861 with_sane
862 with_sdl
863 with_tiff
864 with_udev
865 with_v4l
866 with_vulkan
867 with_xcomposite
868 with_xcursor
869 with_xfixes
870 with_xinerama
871 with_xinput
872 with_xinput2
873 with_xml
874 with_xrandr
875 with_xrender
876 with_xshape
877 with_xshm
878 with_xslt
879 with_xxf86vm
880 with_zlib
881 with_wine_tools
882 with_wine64
883 enable_largefile
884 with_x
885 enable_acledit
886 enable_aclui
887 enable_activeds
888 enable_actxprxy
889 enable_adsiid
890 enable_adsldp
891 enable_adsldpc
892 enable_advapi32
893 enable_advpack
894 enable_amstream
895 enable_api_ms_win_appmodel_identity_l1_1_0
896 enable_api_ms_win_appmodel_runtime_l1_1_1
897 enable_api_ms_win_appmodel_runtime_l1_1_2
898 enable_api_ms_win_core_apiquery_l1_1_0
899 enable_api_ms_win_core_appcompat_l1_1_1
900 enable_api_ms_win_core_appinit_l1_1_0
901 enable_api_ms_win_core_atoms_l1_1_0
902 enable_api_ms_win_core_bem_l1_1_0
903 enable_api_ms_win_core_com_l1_1_0
904 enable_api_ms_win_core_com_l1_1_1
905 enable_api_ms_win_core_com_private_l1_1_0
906 enable_api_ms_win_core_console_l1_1_0
907 enable_api_ms_win_core_console_l2_1_0
908 enable_api_ms_win_core_crt_l1_1_0
909 enable_api_ms_win_core_crt_l2_1_0
910 enable_api_ms_win_core_datetime_l1_1_0
911 enable_api_ms_win_core_datetime_l1_1_1
912 enable_api_ms_win_core_debug_l1_1_0
913 enable_api_ms_win_core_debug_l1_1_1
914 enable_api_ms_win_core_delayload_l1_1_0
915 enable_api_ms_win_core_delayload_l1_1_1
916 enable_api_ms_win_core_errorhandling_l1_1_0
917 enable_api_ms_win_core_errorhandling_l1_1_1
918 enable_api_ms_win_core_errorhandling_l1_1_2
919 enable_api_ms_win_core_errorhandling_l1_1_3
920 enable_api_ms_win_core_fibers_l1_1_0
921 enable_api_ms_win_core_fibers_l1_1_1
922 enable_api_ms_win_core_file_l1_1_0
923 enable_api_ms_win_core_file_l1_2_0
924 enable_api_ms_win_core_file_l1_2_1
925 enable_api_ms_win_core_file_l1_2_2
926 enable_api_ms_win_core_file_l2_1_0
927 enable_api_ms_win_core_file_l2_1_1
928 enable_api_ms_win_core_file_l2_1_2
929 enable_api_ms_win_core_handle_l1_1_0
930 enable_api_ms_win_core_heap_l1_1_0
931 enable_api_ms_win_core_heap_l1_2_0
932 enable_api_ms_win_core_heap_l2_1_0
933 enable_api_ms_win_core_heap_obsolete_l1_1_0
934 enable_api_ms_win_core_interlocked_l1_1_0
935 enable_api_ms_win_core_interlocked_l1_2_0
936 enable_api_ms_win_core_io_l1_1_0
937 enable_api_ms_win_core_io_l1_1_1
938 enable_api_ms_win_core_job_l1_1_0
939 enable_api_ms_win_core_job_l2_1_0
940 enable_api_ms_win_core_kernel32_legacy_l1_1_0
941 enable_api_ms_win_core_kernel32_legacy_l1_1_1
942 enable_api_ms_win_core_kernel32_private_l1_1_1
943 enable_api_ms_win_core_largeinteger_l1_1_0
944 enable_api_ms_win_core_libraryloader_l1_1_0
945 enable_api_ms_win_core_libraryloader_l1_1_1
946 enable_api_ms_win_core_libraryloader_l1_2_0
947 enable_api_ms_win_core_libraryloader_l1_2_1
948 enable_api_ms_win_core_libraryloader_l1_2_2
949 enable_api_ms_win_core_localization_l1_1_0
950 enable_api_ms_win_core_localization_l1_2_0
951 enable_api_ms_win_core_localization_l1_2_1
952 enable_api_ms_win_core_localization_l2_1_0
953 enable_api_ms_win_core_localization_obsolete_l1_1_0
954 enable_api_ms_win_core_localization_obsolete_l1_2_0
955 enable_api_ms_win_core_localization_obsolete_l1_3_0
956 enable_api_ms_win_core_localization_private_l1_1_0
957 enable_api_ms_win_core_localregistry_l1_1_0
958 enable_api_ms_win_core_memory_l1_1_0
959 enable_api_ms_win_core_memory_l1_1_1
960 enable_api_ms_win_core_memory_l1_1_2
961 enable_api_ms_win_core_misc_l1_1_0
962 enable_api_ms_win_core_namedpipe_l1_1_0
963 enable_api_ms_win_core_namedpipe_l1_2_0
964 enable_api_ms_win_core_namespace_l1_1_0
965 enable_api_ms_win_core_normalization_l1_1_0
966 enable_api_ms_win_core_path_l1_1_0
967 enable_api_ms_win_core_privateprofile_l1_1_1
968 enable_api_ms_win_core_processenvironment_l1_1_0
969 enable_api_ms_win_core_processenvironment_l1_2_0
970 enable_api_ms_win_core_processthreads_l1_1_0
971 enable_api_ms_win_core_processthreads_l1_1_1
972 enable_api_ms_win_core_processthreads_l1_1_2
973 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
974 enable_api_ms_win_core_profile_l1_1_0
975 enable_api_ms_win_core_psapi_ansi_l1_1_0
976 enable_api_ms_win_core_psapi_l1_1_0
977 enable_api_ms_win_core_psapi_obsolete_l1_1_0
978 enable_api_ms_win_core_quirks_l1_1_0
979 enable_api_ms_win_core_realtime_l1_1_0
980 enable_api_ms_win_core_registry_l1_1_0
981 enable_api_ms_win_core_registry_l2_1_0
982 enable_api_ms_win_core_registryuserspecific_l1_1_0
983 enable_api_ms_win_core_rtlsupport_l1_1_0
984 enable_api_ms_win_core_rtlsupport_l1_2_0
985 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
986 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
987 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
988 enable_api_ms_win_core_shutdown_l1_1_0
989 enable_api_ms_win_core_sidebyside_l1_1_0
990 enable_api_ms_win_core_string_l1_1_0
991 enable_api_ms_win_core_string_l2_1_0
992 enable_api_ms_win_core_string_obsolete_l1_1_0
993 enable_api_ms_win_core_stringansi_l1_1_0
994 enable_api_ms_win_core_synch_ansi_l1_1_0
995 enable_api_ms_win_core_synch_l1_1_0
996 enable_api_ms_win_core_synch_l1_2_0
997 enable_api_ms_win_core_synch_l1_2_1
998 enable_api_ms_win_core_sysinfo_l1_1_0
999 enable_api_ms_win_core_sysinfo_l1_2_0
1000 enable_api_ms_win_core_sysinfo_l1_2_1
1001 enable_api_ms_win_core_threadpool_l1_1_0
1002 enable_api_ms_win_core_threadpool_l1_2_0
1003 enable_api_ms_win_core_threadpool_legacy_l1_1_0
1004 enable_api_ms_win_core_threadpool_private_l1_1_0
1005 enable_api_ms_win_core_timezone_l1_1_0
1006 enable_api_ms_win_core_toolhelp_l1_1_0
1007 enable_api_ms_win_core_url_l1_1_0
1008 enable_api_ms_win_core_util_l1_1_0
1009 enable_api_ms_win_core_version_l1_1_0
1010 enable_api_ms_win_core_version_l1_1_1
1011 enable_api_ms_win_core_version_private_l1_1_0
1012 enable_api_ms_win_core_versionansi_l1_1_0
1013 enable_api_ms_win_core_windowserrorreporting_l1_1_0
1014 enable_api_ms_win_core_winrt_error_l1_1_0
1015 enable_api_ms_win_core_winrt_error_l1_1_1
1016 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
1017 enable_api_ms_win_core_winrt_l1_1_0
1018 enable_api_ms_win_core_winrt_registration_l1_1_0
1019 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
1020 enable_api_ms_win_core_winrt_string_l1_1_0
1021 enable_api_ms_win_core_wow64_l1_1_0
1022 enable_api_ms_win_core_wow64_l1_1_1
1023 enable_api_ms_win_core_xstate_l1_1_0
1024 enable_api_ms_win_core_xstate_l2_1_0
1025 enable_api_ms_win_crt_conio_l1_1_0
1026 enable_api_ms_win_crt_convert_l1_1_0
1027 enable_api_ms_win_crt_environment_l1_1_0
1028 enable_api_ms_win_crt_filesystem_l1_1_0
1029 enable_api_ms_win_crt_heap_l1_1_0
1030 enable_api_ms_win_crt_locale_l1_1_0
1031 enable_api_ms_win_crt_math_l1_1_0
1032 enable_api_ms_win_crt_multibyte_l1_1_0
1033 enable_api_ms_win_crt_private_l1_1_0
1034 enable_api_ms_win_crt_process_l1_1_0
1035 enable_api_ms_win_crt_runtime_l1_1_0
1036 enable_api_ms_win_crt_stdio_l1_1_0
1037 enable_api_ms_win_crt_string_l1_1_0
1038 enable_api_ms_win_crt_time_l1_1_0
1039 enable_api_ms_win_crt_utility_l1_1_0
1040 enable_api_ms_win_devices_config_l1_1_1
1041 enable_api_ms_win_devices_query_l1_1_1
1042 enable_api_ms_win_downlevel_advapi32_l1_1_0
1043 enable_api_ms_win_downlevel_advapi32_l2_1_0
1044 enable_api_ms_win_downlevel_normaliz_l1_1_0
1045 enable_api_ms_win_downlevel_ole32_l1_1_0
1046 enable_api_ms_win_downlevel_shell32_l1_1_0
1047 enable_api_ms_win_downlevel_shlwapi_l1_1_0
1048 enable_api_ms_win_downlevel_shlwapi_l2_1_0
1049 enable_api_ms_win_downlevel_user32_l1_1_0
1050 enable_api_ms_win_downlevel_version_l1_1_0
1051 enable_api_ms_win_dx_d3dkmt_l1_1_0
1052 enable_api_ms_win_eventing_classicprovider_l1_1_0
1053 enable_api_ms_win_eventing_consumer_l1_1_0
1054 enable_api_ms_win_eventing_controller_l1_1_0
1055 enable_api_ms_win_eventing_legacy_l1_1_0
1056 enable_api_ms_win_eventing_provider_l1_1_0
1057 enable_api_ms_win_eventlog_legacy_l1_1_0
1058 enable_api_ms_win_gdi_dpiinfo_l1_1_0
1059 enable_api_ms_win_mm_joystick_l1_1_0
1060 enable_api_ms_win_mm_misc_l1_1_1
1061 enable_api_ms_win_mm_mme_l1_1_0
1062 enable_api_ms_win_mm_time_l1_1_0
1063 enable_api_ms_win_ntuser_dc_access_l1_1_0
1064 enable_api_ms_win_ntuser_rectangle_l1_1_0
1065 enable_api_ms_win_perf_legacy_l1_1_0
1066 enable_api_ms_win_power_base_l1_1_0
1067 enable_api_ms_win_power_setting_l1_1_0
1068 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
1069 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
1070 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
1071 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
1072 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
1073 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
1074 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
1075 enable_api_ms_win_security_activedirectoryclient_l1_1_0
1076 enable_api_ms_win_security_audit_l1_1_1
1077 enable_api_ms_win_security_base_l1_1_0
1078 enable_api_ms_win_security_base_l1_2_0
1079 enable_api_ms_win_security_base_private_l1_1_1
1080 enable_api_ms_win_security_credentials_l1_1_0
1081 enable_api_ms_win_security_grouppolicy_l1_1_0
1082 enable_api_ms_win_security_lsalookup_l1_1_0
1083 enable_api_ms_win_security_lsalookup_l1_1_1
1084 enable_api_ms_win_security_lsalookup_l2_1_0
1085 enable_api_ms_win_security_lsalookup_l2_1_1
1086 enable_api_ms_win_security_lsapolicy_l1_1_0
1087 enable_api_ms_win_security_provider_l1_1_0
1088 enable_api_ms_win_security_sddl_l1_1_0
1089 enable_api_ms_win_security_systemfunctions_l1_1_0
1090 enable_api_ms_win_service_core_l1_1_0
1091 enable_api_ms_win_service_core_l1_1_1
1092 enable_api_ms_win_service_management_l1_1_0
1093 enable_api_ms_win_service_management_l2_1_0
1094 enable_api_ms_win_service_private_l1_1_1
1095 enable_api_ms_win_service_winsvc_l1_1_0
1096 enable_api_ms_win_service_winsvc_l1_2_0
1097 enable_api_ms_win_shcore_obsolete_l1_1_0
1098 enable_api_ms_win_shcore_scaling_l1_1_1
1099 enable_api_ms_win_shcore_stream_l1_1_0
1100 enable_api_ms_win_shcore_thread_l1_1_0
1101 enable_api_ms_win_shell_shellcom_l1_1_0
1102 enable_api_ms_win_shell_shellfolders_l1_1_0
1103 enable_apphelp
1104 enable_appwiz_cpl
1105 enable_atl
1106 enable_atl100
1107 enable_atl110
1108 enable_atl80
1109 enable_atl90
1110 enable_authz
1111 enable_avicap32
1112 enable_avifil32
1113 enable_avrt
1114 enable_bcrypt
1115 enable_bluetoothapis
1116 enable_browseui
1117 enable_bthprops_cpl
1118 enable_cabinet
1119 enable_capi2032
1120 enable_cards
1121 enable_cdosys
1122 enable_cfgmgr32
1123 enable_clusapi
1124 enable_combase
1125 enable_comcat
1126 enable_comctl32
1127 enable_comdlg32
1128 enable_compstui
1129 enable_comsvcs
1130 enable_concrt140
1131 enable_connect
1132 enable_credui
1133 enable_crtdll
1134 enable_crypt32
1135 enable_cryptdlg
1136 enable_cryptdll
1137 enable_cryptext
1138 enable_cryptnet
1139 enable_cryptui
1140 enable_ctapi32
1141 enable_ctl3d32
1142 enable_d2d1
1143 enable_d3d10
1144 enable_d3d10_1
1145 enable_d3d10core
1146 enable_d3d11
1147 enable_d3d12
1148 enable_d3d8
1149 enable_d3d9
1150 enable_d3dcompiler_33
1151 enable_d3dcompiler_34
1152 enable_d3dcompiler_35
1153 enable_d3dcompiler_36
1154 enable_d3dcompiler_37
1155 enable_d3dcompiler_38
1156 enable_d3dcompiler_39
1157 enable_d3dcompiler_40
1158 enable_d3dcompiler_41
1159 enable_d3dcompiler_42
1160 enable_d3dcompiler_43
1161 enable_d3dcompiler_46
1162 enable_d3dcompiler_47
1163 enable_d3dim
1164 enable_d3drm
1165 enable_d3dx10_33
1166 enable_d3dx10_34
1167 enable_d3dx10_35
1168 enable_d3dx10_36
1169 enable_d3dx10_37
1170 enable_d3dx10_38
1171 enable_d3dx10_39
1172 enable_d3dx10_40
1173 enable_d3dx10_41
1174 enable_d3dx10_42
1175 enable_d3dx10_43
1176 enable_d3dx11_42
1177 enable_d3dx11_43
1178 enable_d3dx9_24
1179 enable_d3dx9_25
1180 enable_d3dx9_26
1181 enable_d3dx9_27
1182 enable_d3dx9_28
1183 enable_d3dx9_29
1184 enable_d3dx9_30
1185 enable_d3dx9_31
1186 enable_d3dx9_32
1187 enable_d3dx9_33
1188 enable_d3dx9_34
1189 enable_d3dx9_35
1190 enable_d3dx9_36
1191 enable_d3dx9_37
1192 enable_d3dx9_38
1193 enable_d3dx9_39
1194 enable_d3dx9_40
1195 enable_d3dx9_41
1196 enable_d3dx9_42
1197 enable_d3dx9_43
1198 enable_d3dxof
1199 enable_davclnt
1200 enable_dbgeng
1201 enable_dbghelp
1202 enable_dciman32
1203 enable_ddraw
1204 enable_ddrawex
1205 enable_devenum
1206 enable_dhcpcsvc
1207 enable_dhtmled_ocx
1208 enable_difxapi
1209 enable_dinput
1210 enable_dinput8
1211 enable_dispex
1212 enable_dmband
1213 enable_dmcompos
1214 enable_dmime
1215 enable_dmloader
1216 enable_dmscript
1217 enable_dmstyle
1218 enable_dmsynth
1219 enable_dmusic
1220 enable_dmusic32
1221 enable_dnsapi
1222 enable_dplay
1223 enable_dplayx
1224 enable_dpnaddr
1225 enable_dpnet
1226 enable_dpnhpast
1227 enable_dpnlobby
1228 enable_dpvoice
1229 enable_dpwsockx
1230 enable_drmclien
1231 enable_dsound
1232 enable_dsquery
1233 enable_dssenh
1234 enable_dswave
1235 enable_dwmapi
1236 enable_dwrite
1237 enable_dx8vb
1238 enable_dxdiagn
1239 enable_dxerr8
1240 enable_dxerr9
1241 enable_dxgi
1242 enable_dxguid
1243 enable_dxva2
1244 enable_esent
1245 enable_evr
1246 enable_explorerframe
1247 enable_ext_ms_win_authz_context_l1_1_0
1248 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
1249 enable_ext_ms_win_dwmapi_ext_l1_1_0
1250 enable_ext_ms_win_gdi_dc_create_l1_1_1
1251 enable_ext_ms_win_gdi_dc_l1_2_0
1252 enable_ext_ms_win_gdi_devcaps_l1_1_0
1253 enable_ext_ms_win_gdi_draw_l1_1_1
1254 enable_ext_ms_win_gdi_render_l1_1_0
1255 enable_ext_ms_win_kernel32_package_current_l1_1_0
1256 enable_ext_ms_win_kernel32_package_l1_1_1
1257 enable_ext_ms_win_ntuser_draw_l1_1_0
1258 enable_ext_ms_win_ntuser_gui_l1_3_0
1259 enable_ext_ms_win_ntuser_keyboard_l1_3_0
1260 enable_ext_ms_win_ntuser_message_l1_1_1
1261 enable_ext_ms_win_ntuser_misc_l1_5_1
1262 enable_ext_ms_win_ntuser_mouse_l1_1_0
1263 enable_ext_ms_win_ntuser_private_l1_1_1
1264 enable_ext_ms_win_ntuser_private_l1_3_1
1265 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
1266 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
1267 enable_ext_ms_win_ntuser_window_l1_1_1
1268 enable_ext_ms_win_ntuser_window_l1_1_4
1269 enable_ext_ms_win_ntuser_windowclass_l1_1_1
1270 enable_ext_ms_win_oleacc_l1_1_0
1271 enable_ext_ms_win_ras_rasapi32_l1_1_0
1272 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
1273 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
1274 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
1275 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
1276 enable_ext_ms_win_rtcore_ntuser_dc_access_l1_1_0
1277 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
1278 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
1279 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
1280 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
1281 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
1282 enable_ext_ms_win_security_credui_l1_1_0
1283 enable_ext_ms_win_security_cryptui_l1_1_0
1284 enable_faultrep
1285 enable_fltlib
1286 enable_fltmgr_sys
1287 enable_fntcache
1288 enable_fontsub
1289 enable_fusion
1290 enable_fwpuclnt
1291 enable_gameux
1292 enable_gdi32
1293 enable_gdiplus
1294 enable_glu32
1295 enable_gphoto2_ds
1296 enable_gpkcsp
1297 enable_hal
1298 enable_hhctrl_ocx
1299 enable_hid
1300 enable_hidclass_sys
1301 enable_hlink
1302 enable_hnetcfg
1303 enable_httpapi
1304 enable_iccvid
1305 enable_icmp
1306 enable_ieframe
1307 enable_ieproxy
1308 enable_imaadp32_acm
1309 enable_imagehlp
1310 enable_imm32
1311 enable_inetcomm
1312 enable_inetcpl_cpl
1313 enable_inetmib1
1314 enable_infosoft
1315 enable_initpki
1316 enable_inkobj
1317 enable_inseng
1318 enable_iphlpapi
1319 enable_iprop
1320 enable_irprops_cpl
1321 enable_itircl
1322 enable_itss
1323 enable_joy_cpl
1324 enable_jscript
1325 enable_jsproxy
1326 enable_kerberos
1327 enable_kernel32
1328 enable_kernelbase
1329 enable_ksuser
1330 enable_ktmw32
1331 enable_l3codeca_acm
1332 enable_loadperf
1333 enable_localspl
1334 enable_localui
1335 enable_lz32
1336 enable_mapi32
1337 enable_mapistub
1338 enable_mciavi32
1339 enable_mcicda
1340 enable_mciqtz32
1341 enable_mciseq
1342 enable_mciwave
1343 enable_mf
1344 enable_mf3216
1345 enable_mfplat
1346 enable_mfreadwrite
1347 enable_mfuuid
1348 enable_mgmtapi
1349 enable_midimap
1350 enable_mlang
1351 enable_mmcndmgr
1352 enable_mmdevapi
1353 enable_mountmgr_sys
1354 enable_mpr
1355 enable_mprapi
1356 enable_msacm32_drv
1357 enable_msacm32
1358 enable_msadp32_acm
1359 enable_msasn1
1360 enable_mscat32
1361 enable_mscms
1362 enable_mscoree
1363 enable_msctf
1364 enable_msctfp
1365 enable_msdaps
1366 enable_msdelta
1367 enable_msdmo
1368 enable_msdrm
1369 enable_msftedit
1370 enable_msg711_acm
1371 enable_msgsm32_acm
1372 enable_mshtml_tlb
1373 enable_mshtml
1374 enable_msi
1375 enable_msident
1376 enable_msimg32
1377 enable_msimsg
1378 enable_msimtf
1379 enable_msisip
1380 enable_msisys_ocx
1381 enable_msls31
1382 enable_msnet32
1383 enable_mspatcha
1384 enable_msports
1385 enable_msrle32
1386 enable_msscript_ocx
1387 enable_mssign32
1388 enable_mssip32
1389 enable_mstask
1390 enable_msvcirt
1391 enable_msvcm80
1392 enable_msvcm90
1393 enable_msvcp100
1394 enable_msvcp110
1395 enable_msvcp120
1396 enable_msvcp120_app
1397 enable_msvcp140
1398 enable_msvcp60
1399 enable_msvcp70
1400 enable_msvcp71
1401 enable_msvcp80
1402 enable_msvcp90
1403 enable_msvcr100
1404 enable_msvcr110
1405 enable_msvcr120
1406 enable_msvcr120_app
1407 enable_msvcr70
1408 enable_msvcr71
1409 enable_msvcr80
1410 enable_msvcr90
1411 enable_msvcrt
1412 enable_msvcrt20
1413 enable_msvcrt40
1414 enable_msvcrtd
1415 enable_msvfw32
1416 enable_msvidc32
1417 enable_mswsock
1418 enable_msxml
1419 enable_msxml2
1420 enable_msxml3
1421 enable_msxml4
1422 enable_msxml6
1423 enable_mtxdm
1424 enable_ncrypt
1425 enable_nddeapi
1426 enable_ndis_sys
1427 enable_netapi32
1428 enable_netcfgx
1429 enable_netprofm
1430 enable_newdev
1431 enable_ninput
1432 enable_normaliz
1433 enable_npmshtml
1434 enable_npptools
1435 enable_ntdll
1436 enable_ntdsapi
1437 enable_ntoskrnl_exe
1438 enable_ntprint
1439 enable_objsel
1440 enable_odbc32
1441 enable_odbccp32
1442 enable_odbccu32
1443 enable_ole32
1444 enable_oleacc
1445 enable_oleaut32
1446 enable_olecli32
1447 enable_oledb32
1448 enable_oledlg
1449 enable_olepro32
1450 enable_olesvr32
1451 enable_olethk32
1452 enable_openal32
1453 enable_opencl
1454 enable_opengl32
1455 enable_packager
1456 enable_pdh
1457 enable_photometadatahandler
1458 enable_pidgen
1459 enable_powrprof
1460 enable_printui
1461 enable_prntvpt
1462 enable_propsys
1463 enable_psapi
1464 enable_pstorec
1465 enable_qcap
1466 enable_qedit
1467 enable_qmgr
1468 enable_qmgrprxy
1469 enable_quartz
1470 enable_query
1471 enable_rasapi32
1472 enable_rasdlg
1473 enable_regapi
1474 enable_resutils
1475 enable_riched20
1476 enable_riched32
1477 enable_rpcrt4
1478 enable_rsabase
1479 enable_rsaenh
1480 enable_rstrtmgr
1481 enable_rtutils
1482 enable_samlib
1483 enable_sane_ds
1484 enable_sapi
1485 enable_sas
1486 enable_scarddlg
1487 enable_sccbase
1488 enable_schannel
1489 enable_schedsvc
1490 enable_scrobj
1491 enable_scrrun
1492 enable_scsiport_sys
1493 enable_secur32
1494 enable_security
1495 enable_sensapi
1496 enable_serialui
1497 enable_setupapi
1498 enable_sfc
1499 enable_sfc_os
1500 enable_shcore
1501 enable_shdoclc
1502 enable_shdocvw
1503 enable_shell32
1504 enable_shfolder
1505 enable_shlwapi
1506 enable_slbcsp
1507 enable_slc
1508 enable_snmpapi
1509 enable_softpub
1510 enable_spoolss
1511 enable_sspicli
1512 enable_stdole2_tlb
1513 enable_stdole32_tlb
1514 enable_sti
1515 enable_strmbase
1516 enable_strmdll
1517 enable_strmiids
1518 enable_svrapi
1519 enable_sxs
1520 enable_t2embed
1521 enable_tapi32
1522 enable_taskschd
1523 enable_tdh
1524 enable_tdi_sys
1525 enable_traffic
1526 enable_twain_32
1527 enable_ucrtbase
1528 enable_uiautomationcore
1529 enable_uiribbon
1530 enable_unicows
1531 enable_updspapi
1532 enable_url
1533 enable_urlmon
1534 enable_usbd_sys
1535 enable_user32
1536 enable_userenv
1537 enable_usp10
1538 enable_uuid
1539 enable_uxtheme
1540 enable_vbscript
1541 enable_vcomp
1542 enable_vcomp100
1543 enable_vcomp110
1544 enable_vcomp120
1545 enable_vcomp140
1546 enable_vcomp90
1547 enable_vcruntime140
1548 enable_vdmdbg
1549 enable_version
1550 enable_virtdisk
1551 enable_vssapi
1552 enable_vulkan_1
1553 enable_wbemdisp
1554 enable_wbemprox
1555 enable_wdscore
1556 enable_webservices
1557 enable_wer
1558 enable_wevtapi
1559 enable_wiaservc
1560 enable_wimgapi
1561 enable_windowscodecs
1562 enable_windowscodecsext
1563 enable_winealsa_drv
1564 enable_wineandroid_drv
1565 enable_winebus_sys
1566 enable_winecoreaudio_drv
1567 enable_winecrt0
1568 enable_wined3d
1569 enable_winegstreamer
1570 enable_winehid_sys
1571 enable_winejoystick_drv
1572 enable_winemac_drv
1573 enable_winemapi
1574 enable_wineoss_drv
1575 enable_wineps_drv
1576 enable_winepulse_drv
1577 enable_wineqtdecoder
1578 enable_winevulkan
1579 enable_winex11_drv
1580 enable_wing32
1581 enable_winhttp
1582 enable_wininet
1583 enable_winmm
1584 enable_winnls32
1585 enable_winscard
1586 enable_winspool_drv
1587 enable_winsta
1588 enable_wintab32
1589 enable_wintrust
1590 enable_winusb
1591 enable_wlanapi
1592 enable_wldap32
1593 enable_wmasf
1594 enable_wmi
1595 enable_wmiutils
1596 enable_wmp
1597 enable_wmphoto
1598 enable_wmvcore
1599 enable_wnaspi32
1600 enable_wpc
1601 enable_wpcap
1602 enable_ws2_32
1603 enable_wsdapi
1604 enable_wshom_ocx
1605 enable_wsnmp32
1606 enable_wsock32
1607 enable_wtsapi32
1608 enable_wuapi
1609 enable_wuaueng
1610 enable_x3daudio1_0
1611 enable_x3daudio1_1
1612 enable_x3daudio1_2
1613 enable_x3daudio1_3
1614 enable_x3daudio1_4
1615 enable_x3daudio1_5
1616 enable_x3daudio1_6
1617 enable_x3daudio1_7
1618 enable_xapofx1_1
1619 enable_xapofx1_2
1620 enable_xapofx1_3
1621 enable_xapofx1_4
1622 enable_xapofx1_5
1623 enable_xaudio2_0
1624 enable_xaudio2_1
1625 enable_xaudio2_2
1626 enable_xaudio2_3
1627 enable_xaudio2_4
1628 enable_xaudio2_5
1629 enable_xaudio2_6
1630 enable_xaudio2_7
1631 enable_xaudio2_8
1632 enable_xaudio2_9
1633 enable_xinput1_1
1634 enable_xinput1_2
1635 enable_xinput1_3
1636 enable_xinput1_4
1637 enable_xinput9_1_0
1638 enable_xmllite
1639 enable_xolehlp
1640 enable_xpsprint
1641 enable_xpssvcs
1642 enable_fonts
1643 enable_include
1644 enable_port
1645 enable_wine
1646 enable_wpp
1647 enable_loader
1648 enable_po
1649 enable_arp
1650 enable_aspnet_regiis
1651 enable_attrib
1652 enable_cabarc
1653 enable_cacls
1654 enable_clock
1655 enable_cmd
1656 enable_conhost
1657 enable_control
1658 enable_cscript
1659 enable_dpnsvr
1660 enable_dxdiag
1661 enable_eject
1662 enable_expand
1663 enable_explorer
1664 enable_extrac32
1665 enable_findstr
1666 enable_fsutil
1667 enable_hh
1668 enable_hostname
1669 enable_icacls
1670 enable_icinfo
1671 enable_iexplore
1672 enable_ipconfig
1673 enable_lodctr
1674 enable_mofcomp
1675 enable_mshta
1676 enable_msiexec
1677 enable_msinfo32
1678 enable_net
1679 enable_netsh
1680 enable_netstat
1681 enable_ngen
1682 enable_notepad
1683 enable_oleview
1684 enable_ping
1685 enable_plugplay
1686 enable_powershell
1687 enable_presentationfontcache
1688 enable_progman
1689 enable_reg
1690 enable_regasm
1691 enable_regedit
1692 enable_regsvcs
1693 enable_regsvr32
1694 enable_rpcss
1695 enable_rundll32
1696 enable_sc
1697 enable_schtasks
1698 enable_sdbinst
1699 enable_secedit
1700 enable_servicemodelreg
1701 enable_services
1702 enable_shutdown
1703 enable_spoolsv
1704 enable_start
1705 enable_subst
1706 enable_svchost
1707 enable_systeminfo
1708 enable_taskkill
1709 enable_tasklist
1710 enable_taskmgr
1711 enable_termsv
1712 enable_uninstaller
1713 enable_unlodctr
1714 enable_view
1715 enable_wevtutil
1716 enable_wineboot
1717 enable_winebrowser
1718 enable_winecfg
1719 enable_wineconsole
1720 enable_winedbg
1721 enable_winedevice
1722 enable_winefile
1723 enable_winemenubuilder
1724 enable_winemine
1725 enable_winemsibuilder
1726 enable_winepath
1727 enable_winetest
1728 enable_winhlp32
1729 enable_winver
1730 enable_wmic
1731 enable_wmplayer
1732 enable_wordpad
1733 enable_write
1734 enable_wscript
1735 enable_wusa
1736 enable_xcopy
1737 enable_server
1738 enable_tools
1739 enable_sfnt2fon
1740 enable_widl
1741 enable_winebuild
1742 enable_winedump
1743 enable_winegcc
1744 enable_winemaker
1745 enable_wmc
1746 enable_wrc
1748 ac_precious_vars='build_alias
1749 host_alias
1750 target_alias
1752 CFLAGS
1753 LDFLAGS
1754 LIBS
1755 CPPFLAGS
1757 CXXFLAGS
1760 XMKMF
1761 XML2_CFLAGS
1762 XML2_LIBS
1763 XSLT_CFLAGS
1764 XSLT_LIBS
1765 DBUS_CFLAGS
1766 DBUS_LIBS
1767 HAL_CFLAGS
1768 HAL_LIBS
1769 GNUTLS_CFLAGS
1770 GNUTLS_LIBS
1771 SANE_CFLAGS
1772 SANE_LIBS
1773 GPHOTO2_CFLAGS
1774 GPHOTO2_LIBS
1775 GPHOTO2_PORT_CFLAGS
1776 GPHOTO2_PORT_LIBS
1777 LCMS2_CFLAGS
1778 LCMS2_LIBS
1779 FREETYPE_CFLAGS
1780 FREETYPE_LIBS
1781 PULSE_CFLAGS
1782 PULSE_LIBS
1783 GSTREAMER_CFLAGS
1784 GSTREAMER_LIBS
1785 UDEV_CFLAGS
1786 UDEV_LIBS
1787 SDL2_CFLAGS
1788 SDL2_LIBS
1789 CAPI20_CFLAGS
1790 CAPI20_LIBS
1791 CUPS_CFLAGS
1792 CUPS_LIBS
1793 FONTCONFIG_CFLAGS
1794 FONTCONFIG_LIBS
1795 KRB5_CFLAGS
1796 KRB5_LIBS
1797 GSSAPI_CFLAGS
1798 GSSAPI_LIBS
1799 JPEG_CFLAGS
1800 JPEG_LIBS
1801 PNG_CFLAGS
1802 PNG_LIBS
1803 TIFF_CFLAGS
1804 TIFF_LIBS
1805 MPG123_CFLAGS
1806 MPG123_LIBS
1807 NETAPI_CFLAGS
1808 NETAPI_LIBS
1809 LDAP_CFLAGS
1810 LDAP_LIBS'
1813 # Initialize some variables set by options.
1814 ac_init_help=
1815 ac_init_version=false
1816 ac_unrecognized_opts=
1817 ac_unrecognized_sep=
1818 # The variables have the same names as the options, with
1819 # dashes changed to underlines.
1820 cache_file=/dev/null
1821 exec_prefix=NONE
1822 no_create=
1823 no_recursion=
1824 prefix=NONE
1825 program_prefix=NONE
1826 program_suffix=NONE
1827 program_transform_name=s,x,x,
1828 silent=
1829 site=
1830 srcdir=
1831 verbose=
1832 x_includes=NONE
1833 x_libraries=NONE
1835 # Installation directory options.
1836 # These are left unexpanded so users can "make install exec_prefix=/foo"
1837 # and all the variables that are supposed to be based on exec_prefix
1838 # by default will actually change.
1839 # Use braces instead of parens because sh, perl, etc. also accept them.
1840 # (The list follows the same order as the GNU Coding Standards.)
1841 bindir='${exec_prefix}/bin'
1842 sbindir='${exec_prefix}/sbin'
1843 libexecdir='${exec_prefix}/libexec'
1844 datarootdir='${prefix}/share'
1845 datadir='${datarootdir}'
1846 sysconfdir='${prefix}/etc'
1847 sharedstatedir='${prefix}/com'
1848 localstatedir='${prefix}/var'
1849 runstatedir='${localstatedir}/run'
1850 includedir='${prefix}/include'
1851 oldincludedir='/usr/include'
1852 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
1853 infodir='${datarootdir}/info'
1854 htmldir='${docdir}'
1855 dvidir='${docdir}'
1856 pdfdir='${docdir}'
1857 psdir='${docdir}'
1858 libdir='${exec_prefix}/lib'
1859 localedir='${datarootdir}/locale'
1860 mandir='${datarootdir}/man'
1862 ac_prev=
1863 ac_dashdash=
1864 for ac_option
1866 # If the previous option needs an argument, assign it.
1867 if test -n "$ac_prev"; then
1868 eval $ac_prev=\$ac_option
1869 ac_prev=
1870 continue
1873 case $ac_option in
1874 *=?*) ac_optarg=`expr "X$ac_option" : '[^=]*=\(.*\)'` ;;
1875 *=) ac_optarg= ;;
1876 *) ac_optarg=yes ;;
1877 esac
1879 # Accept the important Cygnus configure options, so we can diagnose typos.
1881 case $ac_dashdash$ac_option in
1883 ac_dashdash=yes ;;
1885 -bindir | --bindir | --bindi | --bind | --bin | --bi)
1886 ac_prev=bindir ;;
1887 -bindir=* | --bindir=* | --bindi=* | --bind=* | --bin=* | --bi=*)
1888 bindir=$ac_optarg ;;
1890 -build | --build | --buil | --bui | --bu)
1891 ac_prev=build_alias ;;
1892 -build=* | --build=* | --buil=* | --bui=* | --bu=*)
1893 build_alias=$ac_optarg ;;
1895 -cache-file | --cache-file | --cache-fil | --cache-fi \
1896 | --cache-f | --cache- | --cache | --cach | --cac | --ca | --c)
1897 ac_prev=cache_file ;;
1898 -cache-file=* | --cache-file=* | --cache-fil=* | --cache-fi=* \
1899 | --cache-f=* | --cache-=* | --cache=* | --cach=* | --cac=* | --ca=* | --c=*)
1900 cache_file=$ac_optarg ;;
1902 --config-cache | -C)
1903 cache_file=config.cache ;;
1905 -datadir | --datadir | --datadi | --datad)
1906 ac_prev=datadir ;;
1907 -datadir=* | --datadir=* | --datadi=* | --datad=*)
1908 datadir=$ac_optarg ;;
1910 -datarootdir | --datarootdir | --datarootdi | --datarootd | --dataroot \
1911 | --dataroo | --dataro | --datar)
1912 ac_prev=datarootdir ;;
1913 -datarootdir=* | --datarootdir=* | --datarootdi=* | --datarootd=* \
1914 | --dataroot=* | --dataroo=* | --dataro=* | --datar=*)
1915 datarootdir=$ac_optarg ;;
1917 -disable-* | --disable-*)
1918 ac_useropt=`expr "x$ac_option" : 'x-*disable-\(.*\)'`
1919 # Reject names that are not valid shell variable names.
1920 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1921 as_fn_error $? "invalid feature name: $ac_useropt"
1922 ac_useropt_orig=$ac_useropt
1923 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1924 case $ac_user_opts in
1926 "enable_$ac_useropt"
1927 "*) ;;
1928 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--disable-$ac_useropt_orig"
1929 ac_unrecognized_sep=', ';;
1930 esac
1931 eval enable_$ac_useropt=no ;;
1933 -docdir | --docdir | --docdi | --doc | --do)
1934 ac_prev=docdir ;;
1935 -docdir=* | --docdir=* | --docdi=* | --doc=* | --do=*)
1936 docdir=$ac_optarg ;;
1938 -dvidir | --dvidir | --dvidi | --dvid | --dvi | --dv)
1939 ac_prev=dvidir ;;
1940 -dvidir=* | --dvidir=* | --dvidi=* | --dvid=* | --dvi=* | --dv=*)
1941 dvidir=$ac_optarg ;;
1943 -enable-* | --enable-*)
1944 ac_useropt=`expr "x$ac_option" : 'x-*enable-\([^=]*\)'`
1945 # Reject names that are not valid shell variable names.
1946 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
1947 as_fn_error $? "invalid feature name: $ac_useropt"
1948 ac_useropt_orig=$ac_useropt
1949 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
1950 case $ac_user_opts in
1952 "enable_$ac_useropt"
1953 "*) ;;
1954 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--enable-$ac_useropt_orig"
1955 ac_unrecognized_sep=', ';;
1956 esac
1957 eval enable_$ac_useropt=\$ac_optarg ;;
1959 -exec-prefix | --exec_prefix | --exec-prefix | --exec-prefi \
1960 | --exec-pref | --exec-pre | --exec-pr | --exec-p | --exec- \
1961 | --exec | --exe | --ex)
1962 ac_prev=exec_prefix ;;
1963 -exec-prefix=* | --exec_prefix=* | --exec-prefix=* | --exec-prefi=* \
1964 | --exec-pref=* | --exec-pre=* | --exec-pr=* | --exec-p=* | --exec-=* \
1965 | --exec=* | --exe=* | --ex=*)
1966 exec_prefix=$ac_optarg ;;
1968 -gas | --gas | --ga | --g)
1969 # Obsolete; use --with-gas.
1970 with_gas=yes ;;
1972 -help | --help | --hel | --he | -h)
1973 ac_init_help=long ;;
1974 -help=r* | --help=r* | --hel=r* | --he=r* | -hr*)
1975 ac_init_help=recursive ;;
1976 -help=s* | --help=s* | --hel=s* | --he=s* | -hs*)
1977 ac_init_help=short ;;
1979 -host | --host | --hos | --ho)
1980 ac_prev=host_alias ;;
1981 -host=* | --host=* | --hos=* | --ho=*)
1982 host_alias=$ac_optarg ;;
1984 -htmldir | --htmldir | --htmldi | --htmld | --html | --htm | --ht)
1985 ac_prev=htmldir ;;
1986 -htmldir=* | --htmldir=* | --htmldi=* | --htmld=* | --html=* | --htm=* \
1987 | --ht=*)
1988 htmldir=$ac_optarg ;;
1990 -includedir | --includedir | --includedi | --included | --include \
1991 | --includ | --inclu | --incl | --inc)
1992 ac_prev=includedir ;;
1993 -includedir=* | --includedir=* | --includedi=* | --included=* | --include=* \
1994 | --includ=* | --inclu=* | --incl=* | --inc=*)
1995 includedir=$ac_optarg ;;
1997 -infodir | --infodir | --infodi | --infod | --info | --inf)
1998 ac_prev=infodir ;;
1999 -infodir=* | --infodir=* | --infodi=* | --infod=* | --info=* | --inf=*)
2000 infodir=$ac_optarg ;;
2002 -libdir | --libdir | --libdi | --libd)
2003 ac_prev=libdir ;;
2004 -libdir=* | --libdir=* | --libdi=* | --libd=*)
2005 libdir=$ac_optarg ;;
2007 -libexecdir | --libexecdir | --libexecdi | --libexecd | --libexec \
2008 | --libexe | --libex | --libe)
2009 ac_prev=libexecdir ;;
2010 -libexecdir=* | --libexecdir=* | --libexecdi=* | --libexecd=* | --libexec=* \
2011 | --libexe=* | --libex=* | --libe=*)
2012 libexecdir=$ac_optarg ;;
2014 -localedir | --localedir | --localedi | --localed | --locale)
2015 ac_prev=localedir ;;
2016 -localedir=* | --localedir=* | --localedi=* | --localed=* | --locale=*)
2017 localedir=$ac_optarg ;;
2019 -localstatedir | --localstatedir | --localstatedi | --localstated \
2020 | --localstate | --localstat | --localsta | --localst | --locals)
2021 ac_prev=localstatedir ;;
2022 -localstatedir=* | --localstatedir=* | --localstatedi=* | --localstated=* \
2023 | --localstate=* | --localstat=* | --localsta=* | --localst=* | --locals=*)
2024 localstatedir=$ac_optarg ;;
2026 -mandir | --mandir | --mandi | --mand | --man | --ma | --m)
2027 ac_prev=mandir ;;
2028 -mandir=* | --mandir=* | --mandi=* | --mand=* | --man=* | --ma=* | --m=*)
2029 mandir=$ac_optarg ;;
2031 -nfp | --nfp | --nf)
2032 # Obsolete; use --without-fp.
2033 with_fp=no ;;
2035 -no-create | --no-create | --no-creat | --no-crea | --no-cre \
2036 | --no-cr | --no-c | -n)
2037 no_create=yes ;;
2039 -no-recursion | --no-recursion | --no-recursio | --no-recursi \
2040 | --no-recurs | --no-recur | --no-recu | --no-rec | --no-re | --no-r)
2041 no_recursion=yes ;;
2043 -oldincludedir | --oldincludedir | --oldincludedi | --oldincluded \
2044 | --oldinclude | --oldinclud | --oldinclu | --oldincl | --oldinc \
2045 | --oldin | --oldi | --old | --ol | --o)
2046 ac_prev=oldincludedir ;;
2047 -oldincludedir=* | --oldincludedir=* | --oldincludedi=* | --oldincluded=* \
2048 | --oldinclude=* | --oldinclud=* | --oldinclu=* | --oldincl=* | --oldinc=* \
2049 | --oldin=* | --oldi=* | --old=* | --ol=* | --o=*)
2050 oldincludedir=$ac_optarg ;;
2052 -prefix | --prefix | --prefi | --pref | --pre | --pr | --p)
2053 ac_prev=prefix ;;
2054 -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*)
2055 prefix=$ac_optarg ;;
2057 -program-prefix | --program-prefix | --program-prefi | --program-pref \
2058 | --program-pre | --program-pr | --program-p)
2059 ac_prev=program_prefix ;;
2060 -program-prefix=* | --program-prefix=* | --program-prefi=* \
2061 | --program-pref=* | --program-pre=* | --program-pr=* | --program-p=*)
2062 program_prefix=$ac_optarg ;;
2064 -program-suffix | --program-suffix | --program-suffi | --program-suff \
2065 | --program-suf | --program-su | --program-s)
2066 ac_prev=program_suffix ;;
2067 -program-suffix=* | --program-suffix=* | --program-suffi=* \
2068 | --program-suff=* | --program-suf=* | --program-su=* | --program-s=*)
2069 program_suffix=$ac_optarg ;;
2071 -program-transform-name | --program-transform-name \
2072 | --program-transform-nam | --program-transform-na \
2073 | --program-transform-n | --program-transform- \
2074 | --program-transform | --program-transfor \
2075 | --program-transfo | --program-transf \
2076 | --program-trans | --program-tran \
2077 | --progr-tra | --program-tr | --program-t)
2078 ac_prev=program_transform_name ;;
2079 -program-transform-name=* | --program-transform-name=* \
2080 | --program-transform-nam=* | --program-transform-na=* \
2081 | --program-transform-n=* | --program-transform-=* \
2082 | --program-transform=* | --program-transfor=* \
2083 | --program-transfo=* | --program-transf=* \
2084 | --program-trans=* | --program-tran=* \
2085 | --progr-tra=* | --program-tr=* | --program-t=*)
2086 program_transform_name=$ac_optarg ;;
2088 -pdfdir | --pdfdir | --pdfdi | --pdfd | --pdf | --pd)
2089 ac_prev=pdfdir ;;
2090 -pdfdir=* | --pdfdir=* | --pdfdi=* | --pdfd=* | --pdf=* | --pd=*)
2091 pdfdir=$ac_optarg ;;
2093 -psdir | --psdir | --psdi | --psd | --ps)
2094 ac_prev=psdir ;;
2095 -psdir=* | --psdir=* | --psdi=* | --psd=* | --ps=*)
2096 psdir=$ac_optarg ;;
2098 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
2099 | -silent | --silent | --silen | --sile | --sil)
2100 silent=yes ;;
2102 -runstatedir | --runstatedir | --runstatedi | --runstated \
2103 | --runstate | --runstat | --runsta | --runst | --runs \
2104 | --run | --ru | --r)
2105 ac_prev=runstatedir ;;
2106 -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
2107 | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
2108 | --run=* | --ru=* | --r=*)
2109 runstatedir=$ac_optarg ;;
2111 -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
2112 ac_prev=sbindir ;;
2113 -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
2114 | --sbi=* | --sb=*)
2115 sbindir=$ac_optarg ;;
2117 -sharedstatedir | --sharedstatedir | --sharedstatedi \
2118 | --sharedstated | --sharedstate | --sharedstat | --sharedsta \
2119 | --sharedst | --shareds | --shared | --share | --shar \
2120 | --sha | --sh)
2121 ac_prev=sharedstatedir ;;
2122 -sharedstatedir=* | --sharedstatedir=* | --sharedstatedi=* \
2123 | --sharedstated=* | --sharedstate=* | --sharedstat=* | --sharedsta=* \
2124 | --sharedst=* | --shareds=* | --shared=* | --share=* | --shar=* \
2125 | --sha=* | --sh=*)
2126 sharedstatedir=$ac_optarg ;;
2128 -site | --site | --sit)
2129 ac_prev=site ;;
2130 -site=* | --site=* | --sit=*)
2131 site=$ac_optarg ;;
2133 -srcdir | --srcdir | --srcdi | --srcd | --src | --sr)
2134 ac_prev=srcdir ;;
2135 -srcdir=* | --srcdir=* | --srcdi=* | --srcd=* | --src=* | --sr=*)
2136 srcdir=$ac_optarg ;;
2138 -sysconfdir | --sysconfdir | --sysconfdi | --sysconfd | --sysconf \
2139 | --syscon | --sysco | --sysc | --sys | --sy)
2140 ac_prev=sysconfdir ;;
2141 -sysconfdir=* | --sysconfdir=* | --sysconfdi=* | --sysconfd=* | --sysconf=* \
2142 | --syscon=* | --sysco=* | --sysc=* | --sys=* | --sy=*)
2143 sysconfdir=$ac_optarg ;;
2145 -target | --target | --targe | --targ | --tar | --ta | --t)
2146 ac_prev=target_alias ;;
2147 -target=* | --target=* | --targe=* | --targ=* | --tar=* | --ta=* | --t=*)
2148 target_alias=$ac_optarg ;;
2150 -v | -verbose | --verbose | --verbos | --verbo | --verb)
2151 verbose=yes ;;
2153 -version | --version | --versio | --versi | --vers | -V)
2154 ac_init_version=: ;;
2156 -with-* | --with-*)
2157 ac_useropt=`expr "x$ac_option" : 'x-*with-\([^=]*\)'`
2158 # Reject names that are not valid shell variable names.
2159 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2160 as_fn_error $? "invalid package name: $ac_useropt"
2161 ac_useropt_orig=$ac_useropt
2162 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2163 case $ac_user_opts in
2165 "with_$ac_useropt"
2166 "*) ;;
2167 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--with-$ac_useropt_orig"
2168 ac_unrecognized_sep=', ';;
2169 esac
2170 eval with_$ac_useropt=\$ac_optarg ;;
2172 -without-* | --without-*)
2173 ac_useropt=`expr "x$ac_option" : 'x-*without-\(.*\)'`
2174 # Reject names that are not valid shell variable names.
2175 expr "x$ac_useropt" : ".*[^-+._$as_cr_alnum]" >/dev/null &&
2176 as_fn_error $? "invalid package name: $ac_useropt"
2177 ac_useropt_orig=$ac_useropt
2178 ac_useropt=`$as_echo "$ac_useropt" | sed 's/[-+.]/_/g'`
2179 case $ac_user_opts in
2181 "with_$ac_useropt"
2182 "*) ;;
2183 *) ac_unrecognized_opts="$ac_unrecognized_opts$ac_unrecognized_sep--without-$ac_useropt_orig"
2184 ac_unrecognized_sep=', ';;
2185 esac
2186 eval with_$ac_useropt=no ;;
2188 --x)
2189 # Obsolete; use --with-x.
2190 with_x=yes ;;
2192 -x-includes | --x-includes | --x-include | --x-includ | --x-inclu \
2193 | --x-incl | --x-inc | --x-in | --x-i)
2194 ac_prev=x_includes ;;
2195 -x-includes=* | --x-includes=* | --x-include=* | --x-includ=* | --x-inclu=* \
2196 | --x-incl=* | --x-inc=* | --x-in=* | --x-i=*)
2197 x_includes=$ac_optarg ;;
2199 -x-libraries | --x-libraries | --x-librarie | --x-librari \
2200 | --x-librar | --x-libra | --x-libr | --x-lib | --x-li | --x-l)
2201 ac_prev=x_libraries ;;
2202 -x-libraries=* | --x-libraries=* | --x-librarie=* | --x-librari=* \
2203 | --x-librar=* | --x-libra=* | --x-libr=* | --x-lib=* | --x-li=* | --x-l=*)
2204 x_libraries=$ac_optarg ;;
2206 -*) as_fn_error $? "unrecognized option: \`$ac_option'
2207 Try \`$0 --help' for more information"
2210 *=*)
2211 ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='`
2212 # Reject names that are not valid shell variable names.
2213 case $ac_envvar in #(
2214 '' | [0-9]* | *[!_$as_cr_alnum]* )
2215 as_fn_error $? "invalid variable name: \`$ac_envvar'" ;;
2216 esac
2217 eval $ac_envvar=\$ac_optarg
2218 export $ac_envvar ;;
2221 # FIXME: should be removed in autoconf 3.0.
2222 $as_echo "$as_me: WARNING: you should use --build, --host, --target" >&2
2223 expr "x$ac_option" : ".*[^-._$as_cr_alnum]" >/dev/null &&
2224 $as_echo "$as_me: WARNING: invalid host type: $ac_option" >&2
2225 : "${build_alias=$ac_option} ${host_alias=$ac_option} ${target_alias=$ac_option}"
2228 esac
2229 done
2231 if test -n "$ac_prev"; then
2232 ac_option=--`echo $ac_prev | sed 's/_/-/g'`
2233 as_fn_error $? "missing argument to $ac_option"
2236 if test -n "$ac_unrecognized_opts"; then
2237 case $enable_option_checking in
2238 no) ;;
2239 fatal) as_fn_error $? "unrecognized options: $ac_unrecognized_opts" ;;
2240 *) $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2 ;;
2241 esac
2244 # Check all directory arguments for consistency.
2245 for ac_var in exec_prefix prefix bindir sbindir libexecdir datarootdir \
2246 datadir sysconfdir sharedstatedir localstatedir includedir \
2247 oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
2248 libdir localedir mandir runstatedir
2250 eval ac_val=\$$ac_var
2251 # Remove trailing slashes.
2252 case $ac_val in
2253 */ )
2254 ac_val=`expr "X$ac_val" : 'X\(.*[^/]\)' \| "X$ac_val" : 'X\(.*\)'`
2255 eval $ac_var=\$ac_val;;
2256 esac
2257 # Be sure to have absolute directory names.
2258 case $ac_val in
2259 [\\/$]* | ?:[\\/]* ) continue;;
2260 NONE | '' ) case $ac_var in *prefix ) continue;; esac;;
2261 esac
2262 as_fn_error $? "expected an absolute directory name for --$ac_var: $ac_val"
2263 done
2265 # There might be people who depend on the old broken behavior: `$host'
2266 # used to hold the argument of --host etc.
2267 # FIXME: To remove some day.
2268 build=$build_alias
2269 host=$host_alias
2270 target=$target_alias
2272 # FIXME: To remove some day.
2273 if test "x$host_alias" != x; then
2274 if test "x$build_alias" = x; then
2275 cross_compiling=maybe
2276 elif test "x$build_alias" != "x$host_alias"; then
2277 cross_compiling=yes
2281 ac_tool_prefix=
2282 test -n "$host_alias" && ac_tool_prefix=$host_alias-
2284 test "$silent" = yes && exec 6>/dev/null
2287 ac_pwd=`pwd` && test -n "$ac_pwd" &&
2288 ac_ls_di=`ls -di .` &&
2289 ac_pwd_ls_di=`cd "$ac_pwd" && ls -di .` ||
2290 as_fn_error $? "working directory cannot be determined"
2291 test "X$ac_ls_di" = "X$ac_pwd_ls_di" ||
2292 as_fn_error $? "pwd does not report name of working directory"
2295 # Find the source files, if location was not specified.
2296 if test -z "$srcdir"; then
2297 ac_srcdir_defaulted=yes
2298 # Try the directory containing this script, then the parent directory.
2299 ac_confdir=`$as_dirname -- "$as_myself" ||
2300 $as_expr X"$as_myself" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
2301 X"$as_myself" : 'X\(//\)[^/]' \| \
2302 X"$as_myself" : 'X\(//\)$' \| \
2303 X"$as_myself" : 'X\(/\)' \| . 2>/dev/null ||
2304 $as_echo X"$as_myself" |
2305 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
2306 s//\1/
2309 /^X\(\/\/\)[^/].*/{
2310 s//\1/
2313 /^X\(\/\/\)$/{
2314 s//\1/
2317 /^X\(\/\).*/{
2318 s//\1/
2321 s/.*/./; q'`
2322 srcdir=$ac_confdir
2323 if test ! -r "$srcdir/$ac_unique_file"; then
2324 srcdir=..
2326 else
2327 ac_srcdir_defaulted=no
2329 if test ! -r "$srcdir/$ac_unique_file"; then
2330 test "$ac_srcdir_defaulted" = yes && srcdir="$ac_confdir or .."
2331 as_fn_error $? "cannot find sources ($ac_unique_file) in $srcdir"
2333 ac_msg="sources are in $srcdir, but \`cd $srcdir' does not work"
2334 ac_abs_confdir=`(
2335 cd "$srcdir" && test -r "./$ac_unique_file" || as_fn_error $? "$ac_msg"
2336 pwd)`
2337 # When building in place, set srcdir=.
2338 if test "$ac_abs_confdir" = "$ac_pwd"; then
2339 srcdir=.
2341 # Remove unnecessary trailing slashes from srcdir.
2342 # Double slashes in file names in object file debugging info
2343 # mess up M-x gdb in Emacs.
2344 case $srcdir in
2345 */) srcdir=`expr "X$srcdir" : 'X\(.*[^/]\)' \| "X$srcdir" : 'X\(.*\)'`;;
2346 esac
2347 for ac_var in $ac_precious_vars; do
2348 eval ac_env_${ac_var}_set=\${${ac_var}+set}
2349 eval ac_env_${ac_var}_value=\$${ac_var}
2350 eval ac_cv_env_${ac_var}_set=\${${ac_var}+set}
2351 eval ac_cv_env_${ac_var}_value=\$${ac_var}
2352 done
2355 # Report the --help message.
2357 if test "$ac_init_help" = "long"; then
2358 # Omit some internal or obsolete options to make the list less imposing.
2359 # This message is too long to be a string in the A/UX 3.1 sh.
2360 cat <<_ACEOF
2361 \`configure' configures Wine 3.5 to adapt to many kinds of systems.
2363 Usage: $0 [OPTION]... [VAR=VALUE]...
2365 To assign environment variables (e.g., CC, CFLAGS...), specify them as
2366 VAR=VALUE. See below for descriptions of some of the useful variables.
2368 Defaults for the options are specified in brackets.
2370 Configuration:
2371 -h, --help display this help and exit
2372 --help=short display options specific to this package
2373 --help=recursive display the short help of all the included packages
2374 -V, --version display version information and exit
2375 -q, --quiet, --silent do not print \`checking ...' messages
2376 --cache-file=FILE cache test results in FILE [disabled]
2377 -C, --config-cache alias for \`--cache-file=config.cache'
2378 -n, --no-create do not create output files
2379 --srcdir=DIR find the sources in DIR [configure dir or \`..']
2381 Installation directories:
2382 --prefix=PREFIX install architecture-independent files in PREFIX
2383 [$ac_default_prefix]
2384 --exec-prefix=EPREFIX install architecture-dependent files in EPREFIX
2385 [PREFIX]
2387 By default, \`make install' will install all the files in
2388 \`$ac_default_prefix/bin', \`$ac_default_prefix/lib' etc. You can specify
2389 an installation prefix other than \`$ac_default_prefix' using \`--prefix',
2390 for instance \`--prefix=\$HOME'.
2392 For better control, use the options below.
2394 Fine tuning of the installation directories:
2395 --bindir=DIR user executables [EPREFIX/bin]
2396 --sbindir=DIR system admin executables [EPREFIX/sbin]
2397 --libexecdir=DIR program executables [EPREFIX/libexec]
2398 --sysconfdir=DIR read-only single-machine data [PREFIX/etc]
2399 --sharedstatedir=DIR modifiable architecture-independent data [PREFIX/com]
2400 --localstatedir=DIR modifiable single-machine data [PREFIX/var]
2401 --runstatedir=DIR modifiable per-process data [LOCALSTATEDIR/run]
2402 --libdir=DIR object code libraries [EPREFIX/lib]
2403 --includedir=DIR C header files [PREFIX/include]
2404 --oldincludedir=DIR C header files for non-gcc [/usr/include]
2405 --datarootdir=DIR read-only arch.-independent data root [PREFIX/share]
2406 --datadir=DIR read-only architecture-independent data [DATAROOTDIR]
2407 --infodir=DIR info documentation [DATAROOTDIR/info]
2408 --localedir=DIR locale-dependent data [DATAROOTDIR/locale]
2409 --mandir=DIR man documentation [DATAROOTDIR/man]
2410 --docdir=DIR documentation root [DATAROOTDIR/doc/wine]
2411 --htmldir=DIR html documentation [DOCDIR]
2412 --dvidir=DIR dvi documentation [DOCDIR]
2413 --pdfdir=DIR pdf documentation [DOCDIR]
2414 --psdir=DIR ps documentation [DOCDIR]
2415 _ACEOF
2417 cat <<\_ACEOF
2419 X features:
2420 --x-includes=DIR X include files are in DIR
2421 --x-libraries=DIR X library files are in DIR
2423 System types:
2424 --build=BUILD configure for building on BUILD [guessed]
2425 --host=HOST cross-compile to build programs to run on HOST [BUILD]
2426 _ACEOF
2429 if test -n "$ac_init_help"; then
2430 case $ac_init_help in
2431 short | recursive ) echo "Configuration of Wine 3.5:";;
2432 esac
2433 cat <<\_ACEOF
2435 Optional Features:
2436 --disable-option-checking ignore unrecognized --enable/--with options
2437 --disable-FEATURE do not include FEATURE (same as --enable-FEATURE=no)
2438 --enable-FEATURE[=ARG] include FEATURE [ARG=yes]
2439 --disable-win16 do not include Win16 support
2440 --enable-win64 build a Win64 emulator on AMD64 (won't run Win32
2441 binaries)
2442 --disable-tests do not build the regression tests
2443 --enable-maintainer-mode
2444 enable maintainer-specific build rules
2445 --disable-largefile omit support for large files
2447 Optional Packages:
2448 --with-PACKAGE[=ARG] use PACKAGE [ARG=yes]
2449 --without-PACKAGE do not use PACKAGE (same as --with-PACKAGE=no)
2450 --without-alsa do not use the Alsa sound support
2451 --without-capi do not use CAPI (ISDN support)
2452 --without-cms do not use CMS (color management support)
2453 --without-coreaudio do not use the CoreAudio sound support
2454 --without-cups do not use CUPS
2455 --without-curses do not use (n)curses
2456 --without-dbus do not use DBus (dynamic device support)
2457 --with-float-abi=abi specify the ABI (soft|softfp|hard) for ARM platforms
2458 --without-fontconfig do not use fontconfig
2459 --without-freetype do not use the FreeType library
2460 --without-gettext do not use gettext
2461 --with-gettextpo use the GetTextPO library to rebuild po files
2462 --without-gphoto do not use gphoto (Digital Camera support)
2463 --without-glu do not use the GLU library
2464 --without-gnutls do not use GnuTLS (schannel support)
2465 --without-gsm do not use libgsm (GSM 06.10 codec support)
2466 --without-gssapi do not use GSSAPI (Kerberos SSP support)
2467 --without-gstreamer do not use GStreamer (codecs support)
2468 --without-hal do not use HAL (dynamic device support)
2469 --without-jpeg do not use JPEG
2470 --without-krb5 do not use krb5 (Kerberos)
2471 --without-ldap do not use LDAP
2472 --without-mpg123 do not use the mpg123 library
2473 --without-netapi do not use the Samba NetAPI library
2474 --without-openal do not use OpenAL
2475 --without-opencl do not use OpenCL
2476 --without-opengl do not use OpenGL
2477 --without-osmesa do not use the OSMesa library
2478 --without-oss do not use the OSS sound support
2479 --without-pcap do not use the Packet Capture library
2480 --without-png do not use PNG
2481 --without-pthread do not use the pthread library
2482 --without-pulse do not use PulseAudio sound support
2483 --without-sane do not use SANE (scanner support)
2484 --without-sdl do not use SDL
2485 --without-tiff do not use TIFF
2486 --without-udev do not use udev (plug and play support)
2487 --without-v4l do not use v4l1 (v4l support)
2488 --without-vulkan do not use Vulkan
2489 --without-xcomposite do not use the Xcomposite extension
2490 --without-xcursor do not use the Xcursor extension
2491 --without-xfixes do not use Xfixes for clipboard change notifications
2492 --without-xinerama do not use Xinerama (multi-monitor support)
2493 --without-xinput do not use the Xinput extension
2494 --without-xinput2 do not use the Xinput 2 extension
2495 --without-xml do not use XML
2496 --without-xrandr do not use Xrandr (resolution changes)
2497 --without-xrender do not use the Xrender extension
2498 --without-xshape do not use the Xshape extension
2499 --without-xshm do not use XShm (shared memory extension)
2500 --without-xslt do not use XSLT
2501 --without-xxf86vm do not use XFree video mode extension
2502 --without-zlib do not use Zlib (data compression)
2503 --with-wine-tools=DIR use Wine tools from directory DIR
2504 --with-wine64=DIR use the 64-bit Wine in DIR for a Wow64 build
2505 --with-x use the X Window System
2507 Some influential environment variables:
2508 CC C compiler command
2509 CFLAGS C compiler flags
2510 LDFLAGS linker flags, e.g. -L<lib dir> if you have libraries in a
2511 nonstandard directory <lib dir>
2512 LIBS libraries to pass to the linker, e.g. -l<library>
2513 CPPFLAGS (Objective) C/C++ preprocessor flags, e.g. -I<include dir> if
2514 you have headers in a nonstandard directory <include dir>
2515 CXX C++ compiler command
2516 CXXFLAGS C++ compiler flags
2517 CPP C preprocessor
2518 XMKMF Path to xmkmf, Makefile generator for X Window System
2519 XML2_CFLAGS C compiler flags for libxml-2.0, overriding pkg-config
2520 XML2_LIBS Linker flags for libxml-2.0, overriding pkg-config
2521 XSLT_CFLAGS C compiler flags for libxslt, overriding pkg-config
2522 XSLT_LIBS Linker flags for libxslt, overriding pkg-config
2523 DBUS_CFLAGS C compiler flags for dbus-1, overriding pkg-config
2524 DBUS_LIBS Linker flags for dbus-1, overriding pkg-config
2525 HAL_CFLAGS C compiler flags for hal, overriding pkg-config
2526 HAL_LIBS Linker flags for hal, overriding pkg-config
2527 GNUTLS_CFLAGS
2528 C compiler flags for gnutls, overriding pkg-config
2529 GNUTLS_LIBS Linker flags for gnutls, overriding pkg-config
2530 SANE_CFLAGS C compiler flags for libsane, overriding pkg-config
2531 SANE_LIBS Linker flags for libsane, overriding pkg-config
2532 GPHOTO2_CFLAGS
2533 C compiler flags for libgphoto2, overriding pkg-config
2534 GPHOTO2_LIBS
2535 Linker flags for libgphoto2, overriding pkg-config
2536 GPHOTO2_PORT_CFLAGS
2537 C compiler flags for libgphoto2_port, overriding pkg-config
2538 GPHOTO2_PORT_LIBS
2539 Linker flags for libgphoto2_port, overriding pkg-config
2540 LCMS2_CFLAGS
2541 C compiler flags for lcms2, overriding pkg-config
2542 LCMS2_LIBS Linker flags for lcms2, overriding pkg-config
2543 FREETYPE_CFLAGS
2544 C compiler flags for freetype2, overriding pkg-config
2545 FREETYPE_LIBS
2546 Linker flags for freetype2, overriding pkg-config
2547 PULSE_CFLAGS
2548 C compiler flags for libpulse, overriding pkg-config
2549 PULSE_LIBS Linker flags for libpulse, overriding pkg-config
2550 GSTREAMER_CFLAGS
2551 C compiler flags for gstreamer-1.0 gstreamer-video-1.0
2552 gstreamer-audio-1.0, overriding pkg-config
2553 GSTREAMER_LIBS
2554 Linker flags for gstreamer-1.0 gstreamer-video-1.0
2555 gstreamer-audio-1.0, overriding pkg-config
2556 UDEV_CFLAGS C compiler flags for libudev, overriding pkg-config
2557 UDEV_LIBS Linker flags for libudev, overriding pkg-config
2558 SDL2_CFLAGS C compiler flags for sdl2, overriding pkg-config
2559 SDL2_LIBS Linker flags for sdl2, overriding pkg-config
2560 CAPI20_CFLAGS
2561 C compiler flags for capi20, overriding pkg-config
2562 CAPI20_LIBS Linker flags for capi20, overriding pkg-config
2563 CUPS_CFLAGS C compiler flags for cups, overriding pkg-config
2564 CUPS_LIBS Linker flags for cups, overriding pkg-config
2565 FONTCONFIG_CFLAGS
2566 C compiler flags for fontconfig, overriding pkg-config
2567 FONTCONFIG_LIBS
2568 Linker flags for fontconfig, overriding pkg-config
2569 KRB5_CFLAGS C compiler flags for krb5, overriding pkg-config
2570 KRB5_LIBS Linker flags for krb5, overriding pkg-config
2571 GSSAPI_CFLAGS
2572 C compiler flags for krb5-gssapi, overriding pkg-config
2573 GSSAPI_LIBS Linker flags for krb5-gssapi, overriding pkg-config
2574 JPEG_CFLAGS C compiler flags for libjpeg, overriding pkg-config
2575 JPEG_LIBS Linker flags for libjpeg, overriding pkg-config
2576 PNG_CFLAGS C compiler flags for libpng, overriding pkg-config
2577 PNG_LIBS Linker flags for libpng, overriding pkg-config
2578 TIFF_CFLAGS C compiler flags for libtiff-4, overriding pkg-config
2579 TIFF_LIBS Linker flags for libtiff-4, overriding pkg-config
2580 MPG123_CFLAGS
2581 C compiler flags for libmpg123, overriding pkg-config
2582 MPG123_LIBS Linker flags for libmpg123, overriding pkg-config
2583 NETAPI_CFLAGS
2584 C compiler flags for netapi, overriding pkg-config
2585 NETAPI_LIBS Linker flags for netapi, overriding pkg-config
2586 LDAP_CFLAGS C compiler flags for openldap, overriding pkg-config
2587 LDAP_LIBS Linker flags for openldap, overriding pkg-config
2589 Use these variables to override the choices made by `configure' or to help
2590 it to find libraries and programs with nonstandard names/locations.
2592 Report bugs to <wine-devel@winehq.org>.
2593 Wine home page: <https://www.winehq.org>.
2594 _ACEOF
2595 ac_status=$?
2598 if test "$ac_init_help" = "recursive"; then
2599 # If there are subdirs, report their specific --help.
2600 for ac_dir in : $ac_subdirs_all; do test "x$ac_dir" = x: && continue
2601 test -d "$ac_dir" ||
2602 { cd "$srcdir" && ac_pwd=`pwd` && srcdir=. && test -d "$ac_dir"; } ||
2603 continue
2604 ac_builddir=.
2606 case "$ac_dir" in
2607 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
2609 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
2610 # A ".." for each directory in $ac_dir_suffix.
2611 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
2612 case $ac_top_builddir_sub in
2613 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
2614 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
2615 esac ;;
2616 esac
2617 ac_abs_top_builddir=$ac_pwd
2618 ac_abs_builddir=$ac_pwd$ac_dir_suffix
2619 # for backward compatibility:
2620 ac_top_builddir=$ac_top_build_prefix
2622 case $srcdir in
2623 .) # We are building in place.
2624 ac_srcdir=.
2625 ac_top_srcdir=$ac_top_builddir_sub
2626 ac_abs_top_srcdir=$ac_pwd ;;
2627 [\\/]* | ?:[\\/]* ) # Absolute name.
2628 ac_srcdir=$srcdir$ac_dir_suffix;
2629 ac_top_srcdir=$srcdir
2630 ac_abs_top_srcdir=$srcdir ;;
2631 *) # Relative name.
2632 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
2633 ac_top_srcdir=$ac_top_build_prefix$srcdir
2634 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
2635 esac
2636 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
2638 cd "$ac_dir" || { ac_status=$?; continue; }
2639 # Check for guested configure.
2640 if test -f "$ac_srcdir/configure.gnu"; then
2641 echo &&
2642 $SHELL "$ac_srcdir/configure.gnu" --help=recursive
2643 elif test -f "$ac_srcdir/configure"; then
2644 echo &&
2645 $SHELL "$ac_srcdir/configure" --help=recursive
2646 else
2647 $as_echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2
2648 fi || ac_status=$?
2649 cd "$ac_pwd" || { ac_status=$?; break; }
2650 done
2653 test -n "$ac_init_help" && exit $ac_status
2654 if $ac_init_version; then
2655 cat <<\_ACEOF
2656 Wine configure 3.5
2657 generated by GNU Autoconf 2.69
2659 Copyright (C) 2012 Free Software Foundation, Inc.
2660 This configure script is free software; the Free Software Foundation
2661 gives unlimited permission to copy, distribute and modify it.
2662 _ACEOF
2663 exit
2666 ## ------------------------ ##
2667 ## Autoconf initialization. ##
2668 ## ------------------------ ##
2670 # ac_fn_c_try_compile LINENO
2671 # --------------------------
2672 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2673 ac_fn_c_try_compile ()
2675 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2676 rm -f conftest.$ac_objext
2677 if { { ac_try="$ac_compile"
2678 case "(($ac_try" in
2679 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2680 *) ac_try_echo=$ac_try;;
2681 esac
2682 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2683 $as_echo "$ac_try_echo"; } >&5
2684 (eval "$ac_compile") 2>conftest.err
2685 ac_status=$?
2686 if test -s conftest.err; then
2687 grep -v '^ *+' conftest.err >conftest.er1
2688 cat conftest.er1 >&5
2689 mv -f conftest.er1 conftest.err
2691 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2692 test $ac_status = 0; } && {
2693 test -z "$ac_c_werror_flag" ||
2694 test ! -s conftest.err
2695 } && test -s conftest.$ac_objext; then :
2696 ac_retval=0
2697 else
2698 $as_echo "$as_me: failed program was:" >&5
2699 sed 's/^/| /' conftest.$ac_ext >&5
2701 ac_retval=1
2703 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2704 as_fn_set_status $ac_retval
2706 } # ac_fn_c_try_compile
2708 # ac_fn_cxx_try_compile LINENO
2709 # ----------------------------
2710 # Try to compile conftest.$ac_ext, and return whether this succeeded.
2711 ac_fn_cxx_try_compile ()
2713 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2714 rm -f conftest.$ac_objext
2715 if { { ac_try="$ac_compile"
2716 case "(($ac_try" in
2717 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2718 *) ac_try_echo=$ac_try;;
2719 esac
2720 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2721 $as_echo "$ac_try_echo"; } >&5
2722 (eval "$ac_compile") 2>conftest.err
2723 ac_status=$?
2724 if test -s conftest.err; then
2725 grep -v '^ *+' conftest.err >conftest.er1
2726 cat conftest.er1 >&5
2727 mv -f conftest.er1 conftest.err
2729 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2730 test $ac_status = 0; } && {
2731 test -z "$ac_cxx_werror_flag" ||
2732 test ! -s conftest.err
2733 } && test -s conftest.$ac_objext; then :
2734 ac_retval=0
2735 else
2736 $as_echo "$as_me: failed program was:" >&5
2737 sed 's/^/| /' conftest.$ac_ext >&5
2739 ac_retval=1
2741 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2742 as_fn_set_status $ac_retval
2744 } # ac_fn_cxx_try_compile
2746 # ac_fn_c_try_link LINENO
2747 # -----------------------
2748 # Try to link conftest.$ac_ext, and return whether this succeeded.
2749 ac_fn_c_try_link ()
2751 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2752 rm -f conftest.$ac_objext conftest$ac_exeext
2753 if { { ac_try="$ac_link"
2754 case "(($ac_try" in
2755 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2756 *) ac_try_echo=$ac_try;;
2757 esac
2758 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2759 $as_echo "$ac_try_echo"; } >&5
2760 (eval "$ac_link") 2>conftest.err
2761 ac_status=$?
2762 if test -s conftest.err; then
2763 grep -v '^ *+' conftest.err >conftest.er1
2764 cat conftest.er1 >&5
2765 mv -f conftest.er1 conftest.err
2767 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2768 test $ac_status = 0; } && {
2769 test -z "$ac_c_werror_flag" ||
2770 test ! -s conftest.err
2771 } && test -s conftest$ac_exeext && {
2772 test "$cross_compiling" = yes ||
2773 test -x conftest$ac_exeext
2774 }; then :
2775 ac_retval=0
2776 else
2777 $as_echo "$as_me: failed program was:" >&5
2778 sed 's/^/| /' conftest.$ac_ext >&5
2780 ac_retval=1
2782 # Delete the IPA/IPO (Inter Procedural Analysis/Optimization) information
2783 # created by the PGI compiler (conftest_ipa8_conftest.oo), as it would
2784 # interfere with the next link command; also delete a directory that is
2785 # left behind by Apple's compiler. We do this before executing the actions.
2786 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2787 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2788 as_fn_set_status $ac_retval
2790 } # ac_fn_c_try_link
2792 # ac_fn_c_try_cpp LINENO
2793 # ----------------------
2794 # Try to preprocess conftest.$ac_ext, and return whether this succeeded.
2795 ac_fn_c_try_cpp ()
2797 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2798 if { { ac_try="$ac_cpp conftest.$ac_ext"
2799 case "(($ac_try" in
2800 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2801 *) ac_try_echo=$ac_try;;
2802 esac
2803 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2804 $as_echo "$ac_try_echo"; } >&5
2805 (eval "$ac_cpp conftest.$ac_ext") 2>conftest.err
2806 ac_status=$?
2807 if test -s conftest.err; then
2808 grep -v '^ *+' conftest.err >conftest.er1
2809 cat conftest.er1 >&5
2810 mv -f conftest.er1 conftest.err
2812 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2813 test $ac_status = 0; } > conftest.i && {
2814 test -z "$ac_c_preproc_warn_flag$ac_c_werror_flag" ||
2815 test ! -s conftest.err
2816 }; then :
2817 ac_retval=0
2818 else
2819 $as_echo "$as_me: failed program was:" >&5
2820 sed 's/^/| /' conftest.$ac_ext >&5
2822 ac_retval=1
2824 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2825 as_fn_set_status $ac_retval
2827 } # ac_fn_c_try_cpp
2829 # ac_fn_c_check_header_mongrel LINENO HEADER VAR INCLUDES
2830 # -------------------------------------------------------
2831 # Tests whether HEADER exists, giving a warning if it cannot be compiled using
2832 # the include files in INCLUDES and setting the cache variable VAR
2833 # accordingly.
2834 ac_fn_c_check_header_mongrel ()
2836 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2837 if eval \${$3+:} false; then :
2838 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2839 $as_echo_n "checking for $2... " >&6; }
2840 if eval \${$3+:} false; then :
2841 $as_echo_n "(cached) " >&6
2843 eval ac_res=\$$3
2844 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2845 $as_echo "$ac_res" >&6; }
2846 else
2847 # Is the header compilable?
2848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 usability" >&5
2849 $as_echo_n "checking $2 usability... " >&6; }
2850 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2851 /* end confdefs.h. */
2853 #include <$2>
2854 _ACEOF
2855 if ac_fn_c_try_compile "$LINENO"; then :
2856 ac_header_compiler=yes
2857 else
2858 ac_header_compiler=no
2860 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2861 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_compiler" >&5
2862 $as_echo "$ac_header_compiler" >&6; }
2864 # Is the header present?
2865 { $as_echo "$as_me:${as_lineno-$LINENO}: checking $2 presence" >&5
2866 $as_echo_n "checking $2 presence... " >&6; }
2867 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2868 /* end confdefs.h. */
2869 #include <$2>
2870 _ACEOF
2871 if ac_fn_c_try_cpp "$LINENO"; then :
2872 ac_header_preproc=yes
2873 else
2874 ac_header_preproc=no
2876 rm -f conftest.err conftest.i conftest.$ac_ext
2877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_header_preproc" >&5
2878 $as_echo "$ac_header_preproc" >&6; }
2880 # So? What about this header?
2881 case $ac_header_compiler:$ac_header_preproc:$ac_c_preproc_warn_flag in #((
2882 yes:no: )
2883 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&5
2884 $as_echo "$as_me: WARNING: $2: accepted by the compiler, rejected by the preprocessor!" >&2;}
2885 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2886 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2888 no:yes:* )
2889 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: present but cannot be compiled" >&5
2890 $as_echo "$as_me: WARNING: $2: present but cannot be compiled" >&2;}
2891 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: check for missing prerequisite headers?" >&5
2892 $as_echo "$as_me: WARNING: $2: check for missing prerequisite headers?" >&2;}
2893 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: see the Autoconf documentation" >&5
2894 $as_echo "$as_me: WARNING: $2: see the Autoconf documentation" >&2;}
2895 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&5
2896 $as_echo "$as_me: WARNING: $2: section \"Present But Cannot Be Compiled\"" >&2;}
2897 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $2: proceeding with the compiler's result" >&5
2898 $as_echo "$as_me: WARNING: $2: proceeding with the compiler's result" >&2;}
2899 ( $as_echo "## ------------------------------------ ##
2900 ## Report this to wine-devel@winehq.org ##
2901 ## ------------------------------------ ##"
2902 ) | sed "s/^/$as_me: WARNING: /" >&2
2904 esac
2905 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2906 $as_echo_n "checking for $2... " >&6; }
2907 if eval \${$3+:} false; then :
2908 $as_echo_n "(cached) " >&6
2909 else
2910 eval "$3=\$ac_header_compiler"
2912 eval ac_res=\$$3
2913 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2914 $as_echo "$ac_res" >&6; }
2916 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2918 } # ac_fn_c_check_header_mongrel
2920 # ac_fn_c_try_run LINENO
2921 # ----------------------
2922 # Try to link conftest.$ac_ext, and return whether this succeeded. Assumes
2923 # that executables *can* be run.
2924 ac_fn_c_try_run ()
2926 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2927 if { { ac_try="$ac_link"
2928 case "(($ac_try" in
2929 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2930 *) ac_try_echo=$ac_try;;
2931 esac
2932 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2933 $as_echo "$ac_try_echo"; } >&5
2934 (eval "$ac_link") 2>&5
2935 ac_status=$?
2936 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2937 test $ac_status = 0; } && { ac_try='./conftest$ac_exeext'
2938 { { case "(($ac_try" in
2939 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
2940 *) ac_try_echo=$ac_try;;
2941 esac
2942 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
2943 $as_echo "$ac_try_echo"; } >&5
2944 (eval "$ac_try") 2>&5
2945 ac_status=$?
2946 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
2947 test $ac_status = 0; }; }; then :
2948 ac_retval=0
2949 else
2950 $as_echo "$as_me: program exited with status $ac_status" >&5
2951 $as_echo "$as_me: failed program was:" >&5
2952 sed 's/^/| /' conftest.$ac_ext >&5
2954 ac_retval=$ac_status
2956 rm -rf conftest.dSYM conftest_ipa8_conftest.oo
2957 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2958 as_fn_set_status $ac_retval
2960 } # ac_fn_c_try_run
2962 # ac_fn_c_check_header_compile LINENO HEADER VAR INCLUDES
2963 # -------------------------------------------------------
2964 # Tests whether HEADER exists and can be compiled using the include files in
2965 # INCLUDES, setting the cache variable VAR accordingly.
2966 ac_fn_c_check_header_compile ()
2968 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2969 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
2970 $as_echo_n "checking for $2... " >&6; }
2971 if eval \${$3+:} false; then :
2972 $as_echo_n "(cached) " >&6
2973 else
2974 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
2975 /* end confdefs.h. */
2977 #include <$2>
2978 _ACEOF
2979 if ac_fn_c_try_compile "$LINENO"; then :
2980 eval "$3=yes"
2981 else
2982 eval "$3=no"
2984 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
2986 eval ac_res=\$$3
2987 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
2988 $as_echo "$ac_res" >&6; }
2989 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
2991 } # ac_fn_c_check_header_compile
2993 # ac_fn_c_check_func LINENO FUNC VAR
2994 # ----------------------------------
2995 # Tests whether FUNC exists, setting the cache variable VAR accordingly
2996 ac_fn_c_check_func ()
2998 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
2999 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3000 $as_echo_n "checking for $2... " >&6; }
3001 if eval \${$3+:} false; then :
3002 $as_echo_n "(cached) " >&6
3003 else
3004 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3005 /* end confdefs.h. */
3006 /* Define $2 to an innocuous variant, in case <limits.h> declares $2.
3007 For example, HP-UX 11i <limits.h> declares gettimeofday. */
3008 #define $2 innocuous_$2
3010 /* System header to define __stub macros and hopefully few prototypes,
3011 which can conflict with char $2 (); below.
3012 Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
3013 <limits.h> exists even on freestanding compilers. */
3015 #ifdef __STDC__
3016 # include <limits.h>
3017 #else
3018 # include <assert.h>
3019 #endif
3021 #undef $2
3023 /* Override any GCC internal prototype to avoid an error.
3024 Use char because int might match the return type of a GCC
3025 builtin and then its argument prototype would still apply. */
3026 #ifdef __cplusplus
3027 extern "C"
3028 #endif
3029 char $2 ();
3030 /* The GNU C library defines this for functions which it implements
3031 to always fail with ENOSYS. Some functions are actually named
3032 something starting with __ and the normal name is an alias. */
3033 #if defined __stub_$2 || defined __stub___$2
3034 choke me
3035 #endif
3038 main ()
3040 return $2 ();
3042 return 0;
3044 _ACEOF
3045 if ac_fn_c_try_link "$LINENO"; then :
3046 eval "$3=yes"
3047 else
3048 eval "$3=no"
3050 rm -f core conftest.err conftest.$ac_objext \
3051 conftest$ac_exeext conftest.$ac_ext
3053 eval ac_res=\$$3
3054 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3055 $as_echo "$ac_res" >&6; }
3056 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3058 } # ac_fn_c_check_func
3060 # ac_fn_c_check_member LINENO AGGR MEMBER VAR INCLUDES
3061 # ----------------------------------------------------
3062 # Tries to find if the field MEMBER exists in type AGGR, after including
3063 # INCLUDES, setting cache variable VAR accordingly.
3064 ac_fn_c_check_member ()
3066 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3067 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2.$3" >&5
3068 $as_echo_n "checking for $2.$3... " >&6; }
3069 if eval \${$4+:} false; then :
3070 $as_echo_n "(cached) " >&6
3071 else
3072 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3073 /* end confdefs.h. */
3076 main ()
3078 static $2 ac_aggr;
3079 if (ac_aggr.$3)
3080 return 0;
3082 return 0;
3084 _ACEOF
3085 if ac_fn_c_try_compile "$LINENO"; then :
3086 eval "$4=yes"
3087 else
3088 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3089 /* end confdefs.h. */
3092 main ()
3094 static $2 ac_aggr;
3095 if (sizeof ac_aggr.$3)
3096 return 0;
3098 return 0;
3100 _ACEOF
3101 if ac_fn_c_try_compile "$LINENO"; then :
3102 eval "$4=yes"
3103 else
3104 eval "$4=no"
3106 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3108 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3110 eval ac_res=\$$4
3111 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3112 $as_echo "$ac_res" >&6; }
3113 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3115 } # ac_fn_c_check_member
3117 # ac_fn_c_check_type LINENO TYPE VAR INCLUDES
3118 # -------------------------------------------
3119 # Tests whether TYPE exists after having included INCLUDES, setting cache
3120 # variable VAR accordingly.
3121 ac_fn_c_check_type ()
3123 as_lineno=${as_lineno-"$1"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
3124 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $2" >&5
3125 $as_echo_n "checking for $2... " >&6; }
3126 if eval \${$3+:} false; then :
3127 $as_echo_n "(cached) " >&6
3128 else
3129 eval "$3=no"
3130 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3131 /* end confdefs.h. */
3134 main ()
3136 if (sizeof ($2))
3137 return 0;
3139 return 0;
3141 _ACEOF
3142 if ac_fn_c_try_compile "$LINENO"; then :
3143 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
3144 /* end confdefs.h. */
3147 main ()
3149 if (sizeof (($2)))
3150 return 0;
3152 return 0;
3154 _ACEOF
3155 if ac_fn_c_try_compile "$LINENO"; then :
3157 else
3158 eval "$3=yes"
3160 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3162 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
3164 eval ac_res=\$$3
3165 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
3166 $as_echo "$ac_res" >&6; }
3167 eval $as_lineno_stack; ${as_lineno_stack:+:} unset as_lineno
3169 } # ac_fn_c_check_type
3170 cat >config.log <<_ACEOF
3171 This file contains any messages produced by compilers while
3172 running configure, to aid debugging if configure makes a mistake.
3174 It was created by Wine $as_me 3.5, which was
3175 generated by GNU Autoconf 2.69. Invocation command line was
3177 $ $0 $@
3179 _ACEOF
3180 exec 5>>config.log
3182 cat <<_ASUNAME
3183 ## --------- ##
3184 ## Platform. ##
3185 ## --------- ##
3187 hostname = `(hostname || uname -n) 2>/dev/null | sed 1q`
3188 uname -m = `(uname -m) 2>/dev/null || echo unknown`
3189 uname -r = `(uname -r) 2>/dev/null || echo unknown`
3190 uname -s = `(uname -s) 2>/dev/null || echo unknown`
3191 uname -v = `(uname -v) 2>/dev/null || echo unknown`
3193 /usr/bin/uname -p = `(/usr/bin/uname -p) 2>/dev/null || echo unknown`
3194 /bin/uname -X = `(/bin/uname -X) 2>/dev/null || echo unknown`
3196 /bin/arch = `(/bin/arch) 2>/dev/null || echo unknown`
3197 /usr/bin/arch -k = `(/usr/bin/arch -k) 2>/dev/null || echo unknown`
3198 /usr/convex/getsysinfo = `(/usr/convex/getsysinfo) 2>/dev/null || echo unknown`
3199 /usr/bin/hostinfo = `(/usr/bin/hostinfo) 2>/dev/null || echo unknown`
3200 /bin/machine = `(/bin/machine) 2>/dev/null || echo unknown`
3201 /usr/bin/oslevel = `(/usr/bin/oslevel) 2>/dev/null || echo unknown`
3202 /bin/universe = `(/bin/universe) 2>/dev/null || echo unknown`
3204 _ASUNAME
3206 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
3207 for as_dir in $PATH
3209 IFS=$as_save_IFS
3210 test -z "$as_dir" && as_dir=.
3211 $as_echo "PATH: $as_dir"
3212 done
3213 IFS=$as_save_IFS
3215 } >&5
3217 cat >&5 <<_ACEOF
3220 ## ----------- ##
3221 ## Core tests. ##
3222 ## ----------- ##
3224 _ACEOF
3227 # Keep a trace of the command line.
3228 # Strip out --no-create and --no-recursion so they do not pile up.
3229 # Strip out --silent because we don't want to record it for future runs.
3230 # Also quote any args containing shell meta-characters.
3231 # Make two passes to allow for proper duplicate-argument suppression.
3232 ac_configure_args=
3233 ac_configure_args0=
3234 ac_configure_args1=
3235 ac_must_keep_next=false
3236 for ac_pass in 1 2
3238 for ac_arg
3240 case $ac_arg in
3241 -no-create | --no-c* | -n | -no-recursion | --no-r*) continue ;;
3242 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
3243 | -silent | --silent | --silen | --sile | --sil)
3244 continue ;;
3245 *\'*)
3246 ac_arg=`$as_echo "$ac_arg" | sed "s/'/'\\\\\\\\''/g"` ;;
3247 esac
3248 case $ac_pass in
3249 1) as_fn_append ac_configure_args0 " '$ac_arg'" ;;
3251 as_fn_append ac_configure_args1 " '$ac_arg'"
3252 if test $ac_must_keep_next = true; then
3253 ac_must_keep_next=false # Got value, back to normal.
3254 else
3255 case $ac_arg in
3256 *=* | --config-cache | -C | -disable-* | --disable-* \
3257 | -enable-* | --enable-* | -gas | --g* | -nfp | --nf* \
3258 | -q | -quiet | --q* | -silent | --sil* | -v | -verb* \
3259 | -with-* | --with-* | -without-* | --without-* | --x)
3260 case "$ac_configure_args0 " in
3261 "$ac_configure_args1"*" '$ac_arg' "* ) continue ;;
3262 esac
3264 -* ) ac_must_keep_next=true ;;
3265 esac
3267 as_fn_append ac_configure_args " '$ac_arg'"
3269 esac
3270 done
3271 done
3272 { ac_configure_args0=; unset ac_configure_args0;}
3273 { ac_configure_args1=; unset ac_configure_args1;}
3275 # When interrupted or exit'd, cleanup temporary files, and complete
3276 # config.log. We remove comments because anyway the quotes in there
3277 # would cause problems or look ugly.
3278 # WARNING: Use '\'' to represent an apostrophe within the trap.
3279 # WARNING: Do not start the trap code with a newline, due to a FreeBSD 4.0 bug.
3280 trap 'exit_status=$?
3281 # Save into config.log some information that might help in debugging.
3283 echo
3285 $as_echo "## ---------------- ##
3286 ## Cache variables. ##
3287 ## ---------------- ##"
3288 echo
3289 # The following way of writing the cache mishandles newlines in values,
3291 for ac_var in `(set) 2>&1 | sed -n '\''s/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'\''`; do
3292 eval ac_val=\$$ac_var
3293 case $ac_val in #(
3294 *${as_nl}*)
3295 case $ac_var in #(
3296 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
3297 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
3298 esac
3299 case $ac_var in #(
3300 _ | IFS | as_nl) ;; #(
3301 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
3302 *) { eval $ac_var=; unset $ac_var;} ;;
3303 esac ;;
3304 esac
3305 done
3306 (set) 2>&1 |
3307 case $as_nl`(ac_space='\'' '\''; set) 2>&1` in #(
3308 *${as_nl}ac_space=\ *)
3309 sed -n \
3310 "s/'\''/'\''\\\\'\'''\''/g;
3311 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\''\\2'\''/p"
3312 ;; #(
3314 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
3316 esac |
3317 sort
3319 echo
3321 $as_echo "## ----------------- ##
3322 ## Output variables. ##
3323 ## ----------------- ##"
3324 echo
3325 for ac_var in $ac_subst_vars
3327 eval ac_val=\$$ac_var
3328 case $ac_val in
3329 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3330 esac
3331 $as_echo "$ac_var='\''$ac_val'\''"
3332 done | sort
3333 echo
3335 if test -n "$ac_subst_files"; then
3336 $as_echo "## ------------------- ##
3337 ## File substitutions. ##
3338 ## ------------------- ##"
3339 echo
3340 for ac_var in $ac_subst_files
3342 eval ac_val=\$$ac_var
3343 case $ac_val in
3344 *\'\''*) ac_val=`$as_echo "$ac_val" | sed "s/'\''/'\''\\\\\\\\'\'''\''/g"`;;
3345 esac
3346 $as_echo "$ac_var='\''$ac_val'\''"
3347 done | sort
3348 echo
3351 if test -s confdefs.h; then
3352 $as_echo "## ----------- ##
3353 ## confdefs.h. ##
3354 ## ----------- ##"
3355 echo
3356 cat confdefs.h
3357 echo
3359 test "$ac_signal" != 0 &&
3360 $as_echo "$as_me: caught signal $ac_signal"
3361 $as_echo "$as_me: exit $exit_status"
3362 } >&5
3363 rm -f core *.core core.conftest.* &&
3364 rm -f -r conftest* confdefs* conf$$* $ac_clean_files &&
3365 exit $exit_status
3367 for ac_signal in 1 2 13 15; do
3368 trap 'ac_signal='$ac_signal'; as_fn_exit 1' $ac_signal
3369 done
3370 ac_signal=0
3372 # confdefs.h avoids OS command line length limits that DEFS can exceed.
3373 rm -f -r conftest* confdefs.h
3375 $as_echo "/* confdefs.h */" > confdefs.h
3377 # Predefined preprocessor variables.
3379 cat >>confdefs.h <<_ACEOF
3380 #define PACKAGE_NAME "$PACKAGE_NAME"
3381 _ACEOF
3383 cat >>confdefs.h <<_ACEOF
3384 #define PACKAGE_TARNAME "$PACKAGE_TARNAME"
3385 _ACEOF
3387 cat >>confdefs.h <<_ACEOF
3388 #define PACKAGE_VERSION "$PACKAGE_VERSION"
3389 _ACEOF
3391 cat >>confdefs.h <<_ACEOF
3392 #define PACKAGE_STRING "$PACKAGE_STRING"
3393 _ACEOF
3395 cat >>confdefs.h <<_ACEOF
3396 #define PACKAGE_BUGREPORT "$PACKAGE_BUGREPORT"
3397 _ACEOF
3399 cat >>confdefs.h <<_ACEOF
3400 #define PACKAGE_URL "$PACKAGE_URL"
3401 _ACEOF
3404 # Let the site file select an alternate cache file if it wants to.
3405 # Prefer an explicitly selected file to automatically selected ones.
3406 ac_site_file1=NONE
3407 ac_site_file2=NONE
3408 if test -n "$CONFIG_SITE"; then
3409 # We do not want a PATH search for config.site.
3410 case $CONFIG_SITE in #((
3411 -*) ac_site_file1=./$CONFIG_SITE;;
3412 */*) ac_site_file1=$CONFIG_SITE;;
3413 *) ac_site_file1=./$CONFIG_SITE;;
3414 esac
3415 elif test "x$prefix" != xNONE; then
3416 ac_site_file1=$prefix/share/config.site
3417 ac_site_file2=$prefix/etc/config.site
3418 else
3419 ac_site_file1=$ac_default_prefix/share/config.site
3420 ac_site_file2=$ac_default_prefix/etc/config.site
3422 for ac_site_file in "$ac_site_file1" "$ac_site_file2"
3424 test "x$ac_site_file" = xNONE && continue
3425 if test /dev/null != "$ac_site_file" && test -r "$ac_site_file"; then
3426 { $as_echo "$as_me:${as_lineno-$LINENO}: loading site script $ac_site_file" >&5
3427 $as_echo "$as_me: loading site script $ac_site_file" >&6;}
3428 sed 's/^/| /' "$ac_site_file" >&5
3429 . "$ac_site_file" \
3430 || { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3431 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3432 as_fn_error $? "failed to load site script $ac_site_file
3433 See \`config.log' for more details" "$LINENO" 5; }
3435 done
3437 if test -r "$cache_file"; then
3438 # Some versions of bash will fail to source /dev/null (special files
3439 # actually), so we avoid doing that. DJGPP emulates it as a regular file.
3440 if test /dev/null != "$cache_file" && test -f "$cache_file"; then
3441 { $as_echo "$as_me:${as_lineno-$LINENO}: loading cache $cache_file" >&5
3442 $as_echo "$as_me: loading cache $cache_file" >&6;}
3443 case $cache_file in
3444 [\\/]* | ?:[\\/]* ) . "$cache_file";;
3445 *) . "./$cache_file";;
3446 esac
3448 else
3449 { $as_echo "$as_me:${as_lineno-$LINENO}: creating cache $cache_file" >&5
3450 $as_echo "$as_me: creating cache $cache_file" >&6;}
3451 >$cache_file
3454 # Check that the precious variables saved in the cache have kept the same
3455 # value.
3456 ac_cache_corrupted=false
3457 for ac_var in $ac_precious_vars; do
3458 eval ac_old_set=\$ac_cv_env_${ac_var}_set
3459 eval ac_new_set=\$ac_env_${ac_var}_set
3460 eval ac_old_val=\$ac_cv_env_${ac_var}_value
3461 eval ac_new_val=\$ac_env_${ac_var}_value
3462 case $ac_old_set,$ac_new_set in
3463 set,)
3464 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&5
3465 $as_echo "$as_me: error: \`$ac_var' was set to \`$ac_old_val' in the previous run" >&2;}
3466 ac_cache_corrupted=: ;;
3467 ,set)
3468 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' was not set in the previous run" >&5
3469 $as_echo "$as_me: error: \`$ac_var' was not set in the previous run" >&2;}
3470 ac_cache_corrupted=: ;;
3471 ,);;
3473 if test "x$ac_old_val" != "x$ac_new_val"; then
3474 # differences in whitespace do not lead to failure.
3475 ac_old_val_w=`echo x $ac_old_val`
3476 ac_new_val_w=`echo x $ac_new_val`
3477 if test "$ac_old_val_w" != "$ac_new_val_w"; then
3478 { $as_echo "$as_me:${as_lineno-$LINENO}: error: \`$ac_var' has changed since the previous run:" >&5
3479 $as_echo "$as_me: error: \`$ac_var' has changed since the previous run:" >&2;}
3480 ac_cache_corrupted=:
3481 else
3482 { $as_echo "$as_me:${as_lineno-$LINENO}: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&5
3483 $as_echo "$as_me: warning: ignoring whitespace changes in \`$ac_var' since the previous run:" >&2;}
3484 eval $ac_var=\$ac_old_val
3486 { $as_echo "$as_me:${as_lineno-$LINENO}: former value: \`$ac_old_val'" >&5
3487 $as_echo "$as_me: former value: \`$ac_old_val'" >&2;}
3488 { $as_echo "$as_me:${as_lineno-$LINENO}: current value: \`$ac_new_val'" >&5
3489 $as_echo "$as_me: current value: \`$ac_new_val'" >&2;}
3490 fi;;
3491 esac
3492 # Pass precious variables to config.status.
3493 if test "$ac_new_set" = set; then
3494 case $ac_new_val in
3495 *\'*) ac_arg=$ac_var=`$as_echo "$ac_new_val" | sed "s/'/'\\\\\\\\''/g"` ;;
3496 *) ac_arg=$ac_var=$ac_new_val ;;
3497 esac
3498 case " $ac_configure_args " in
3499 *" '$ac_arg' "*) ;; # Avoid dups. Use of quotes ensures accuracy.
3500 *) as_fn_append ac_configure_args " '$ac_arg'" ;;
3501 esac
3503 done
3504 if $ac_cache_corrupted; then
3505 { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
3506 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
3507 { $as_echo "$as_me:${as_lineno-$LINENO}: error: changes in the environment can compromise the build" >&5
3508 $as_echo "$as_me: error: changes in the environment can compromise the build" >&2;}
3509 as_fn_error $? "run \`make distclean' and/or \`rm $cache_file' and start over" "$LINENO" 5
3511 ## -------------------- ##
3512 ## Main body of script. ##
3513 ## -------------------- ##
3515 ac_ext=c
3516 ac_cpp='$CPP $CPPFLAGS'
3517 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
3518 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
3519 ac_compiler_gnu=$ac_cv_c_compiler_gnu
3523 ac_config_headers="$ac_config_headers include/config.h"
3525 ac_aux_dir=
3526 for ac_dir in tools "$srcdir"/tools; do
3527 if test -f "$ac_dir/install-sh"; then
3528 ac_aux_dir=$ac_dir
3529 ac_install_sh="$ac_aux_dir/install-sh -c"
3530 break
3531 elif test -f "$ac_dir/install.sh"; then
3532 ac_aux_dir=$ac_dir
3533 ac_install_sh="$ac_aux_dir/install.sh -c"
3534 break
3535 elif test -f "$ac_dir/shtool"; then
3536 ac_aux_dir=$ac_dir
3537 ac_install_sh="$ac_aux_dir/shtool install -c"
3538 break
3540 done
3541 if test -z "$ac_aux_dir"; then
3542 as_fn_error $? "cannot find install-sh, install.sh, or shtool in tools \"$srcdir\"/tools" "$LINENO" 5
3545 # These three variables are undocumented and unsupported,
3546 # and are intended to be withdrawn in a future Autoconf release.
3547 # They can cause serious problems if a builder's source tree is in a directory
3548 # whose full name contains unusual characters.
3549 ac_config_guess="$SHELL $ac_aux_dir/config.guess" # Please don't use this var.
3550 ac_config_sub="$SHELL $ac_aux_dir/config.sub" # Please don't use this var.
3551 ac_configure="$SHELL $ac_aux_dir/configure" # Please don't use this var.
3555 libwine_version="1.0"
3559 # Check whether --enable-win16 was given.
3560 if test "${enable_win16+set}" = set; then :
3561 enableval=$enable_win16;
3564 # Check whether --enable-win64 was given.
3565 if test "${enable_win64+set}" = set; then :
3566 enableval=$enable_win64;
3569 # Check whether --enable-tests was given.
3570 if test "${enable_tests+set}" = set; then :
3571 enableval=$enable_tests;
3574 # Check whether --enable-maintainer-mode was given.
3575 if test "${enable_maintainer_mode+set}" = set; then :
3576 enableval=$enable_maintainer_mode;
3581 # Check whether --with-alsa was given.
3582 if test "${with_alsa+set}" = set; then :
3583 withval=$with_alsa; if test "x$withval" = "xno"; then ac_cv_header_sys_asoundlib_h=no; ac_cv_header_alsa_asoundlib_h=no; fi
3587 # Check whether --with-capi was given.
3588 if test "${with_capi+set}" = set; then :
3589 withval=$with_capi;
3593 # Check whether --with-cms was given.
3594 if test "${with_cms+set}" = set; then :
3595 withval=$with_cms;
3599 # Check whether --with-coreaudio was given.
3600 if test "${with_coreaudio+set}" = set; then :
3601 withval=$with_coreaudio; if test "x$withval" = "xno"; then ac_cv_header_CoreAudio_CoreAudio_h=no; fi
3605 # Check whether --with-cups was given.
3606 if test "${with_cups+set}" = set; then :
3607 withval=$with_cups;
3611 # Check whether --with-curses was given.
3612 if test "${with_curses+set}" = set; then :
3613 withval=$with_curses; if test "x$withval" = "xno"; then ac_cv_header_ncurses_h=no; ac_cv_header_curses_h=no; fi
3617 # Check whether --with-dbus was given.
3618 if test "${with_dbus+set}" = set; then :
3619 withval=$with_dbus;
3623 # Check whether --with-float-abi was given.
3624 if test "${with_float_abi+set}" = set; then :
3625 withval=$with_float_abi;
3629 # Check whether --with-fontconfig was given.
3630 if test "${with_fontconfig+set}" = set; then :
3631 withval=$with_fontconfig;
3635 # Check whether --with-freetype was given.
3636 if test "${with_freetype+set}" = set; then :
3637 withval=$with_freetype;
3641 # Check whether --with-gettext was given.
3642 if test "${with_gettext+set}" = set; then :
3643 withval=$with_gettext;
3647 # Check whether --with-gettextpo was given.
3648 if test "${with_gettextpo+set}" = set; then :
3649 withval=$with_gettextpo; if test "x$withval" = "xno"; then ac_cv_header_gettext_po_h=no; fi
3653 # Check whether --with-gphoto was given.
3654 if test "${with_gphoto+set}" = set; then :
3655 withval=$with_gphoto;
3659 # Check whether --with-glu was given.
3660 if test "${with_glu+set}" = set; then :
3661 withval=$with_glu;
3665 # Check whether --with-gnutls was given.
3666 if test "${with_gnutls+set}" = set; then :
3667 withval=$with_gnutls;
3671 # Check whether --with-gsm was given.
3672 if test "${with_gsm+set}" = set; then :
3673 withval=$with_gsm; if test "x$withval" = "xno"; then ac_cv_header_gsm_h=no; ac_cv_header_gsm_gsm_h=no; fi
3677 # Check whether --with-gssapi was given.
3678 if test "${with_gssapi+set}" = set; then :
3679 withval=$with_gssapi;
3683 # Check whether --with-gstreamer was given.
3684 if test "${with_gstreamer+set}" = set; then :
3685 withval=$with_gstreamer;
3689 # Check whether --with-hal was given.
3690 if test "${with_hal+set}" = set; then :
3691 withval=$with_hal;
3695 # Check whether --with-jpeg was given.
3696 if test "${with_jpeg+set}" = set; then :
3697 withval=$with_jpeg;
3701 # Check whether --with-krb5 was given.
3702 if test "${with_krb5+set}" = set; then :
3703 withval=$with_krb5;
3707 # Check whether --with-ldap was given.
3708 if test "${with_ldap+set}" = set; then :
3709 withval=$with_ldap; if test "x$withval" = "xno"; then ac_cv_header_ldap_h=no; ac_cv_header_lber_h=no; fi
3713 # Check whether --with-mpg123 was given.
3714 if test "${with_mpg123+set}" = set; then :
3715 withval=$with_mpg123;
3719 # Check whether --with-netapi was given.
3720 if test "${with_netapi+set}" = set; then :
3721 withval=$with_netapi;
3725 # Check whether --with-openal was given.
3726 if test "${with_openal+set}" = set; then :
3727 withval=$with_openal; if test "x$withval" = "xno"; then ac_cv_header_AL_al_h=no; ac_cv_header_OpenAL_al_h=no; fi
3731 # Check whether --with-opencl was given.
3732 if test "${with_opencl+set}" = set; then :
3733 withval=$with_opencl; if test "x$withval" = "xno"; then ac_cv_header_CL_cl_h=no; ac_cv_header_OpenCL_opencl_h=no; fi
3737 # Check whether --with-opengl was given.
3738 if test "${with_opengl+set}" = set; then :
3739 withval=$with_opengl;
3743 # Check whether --with-osmesa was given.
3744 if test "${with_osmesa+set}" = set; then :
3745 withval=$with_osmesa;
3749 # Check whether --with-oss was given.
3750 if test "${with_oss+set}" = set; then :
3751 withval=$with_oss;
3755 # Check whether --with-pcap was given.
3756 if test "${with_pcap+set}" = set; then :
3757 withval=$with_pcap; if test "x$withval" = "xno"; then ac_cv_header_pcap_pcap_h=no; fi
3761 # Check whether --with-png was given.
3762 if test "${with_png+set}" = set; then :
3763 withval=$with_png;
3767 # Check whether --with-pthread was given.
3768 if test "${with_pthread+set}" = set; then :
3769 withval=$with_pthread; if test "x$withval" = "xno"; then ac_cv_header_pthread_h=no; fi
3773 # Check whether --with-pulse was given.
3774 if test "${with_pulse+set}" = set; then :
3775 withval=$with_pulse;
3779 # Check whether --with-sane was given.
3780 if test "${with_sane+set}" = set; then :
3781 withval=$with_sane;
3785 # Check whether --with-sdl was given.
3786 if test "${with_sdl+set}" = set; then :
3787 withval=$with_sdl;
3791 # Check whether --with-tiff was given.
3792 if test "${with_tiff+set}" = set; then :
3793 withval=$with_tiff;
3797 # Check whether --with-udev was given.
3798 if test "${with_udev+set}" = set; then :
3799 withval=$with_udev;
3803 # Check whether --with-v4l was given.
3804 if test "${with_v4l+set}" = set; then :
3805 withval=$with_v4l;
3809 # Check whether --with-vulkan was given.
3810 if test "${with_vulkan+set}" = set; then :
3811 withval=$with_vulkan;
3815 # Check whether --with-xcomposite was given.
3816 if test "${with_xcomposite+set}" = set; then :
3817 withval=$with_xcomposite; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xcomposite_h=no; fi
3821 # Check whether --with-xcursor was given.
3822 if test "${with_xcursor+set}" = set; then :
3823 withval=$with_xcursor; if test "x$withval" = "xno"; then ac_cv_header_X11_Xcursor_Xcursor_h=no; fi
3827 # Check whether --with-xfixes was given.
3828 if test "${with_xfixes+set}" = set; then :
3829 withval=$with_xfixes; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xfixes_h=no; fi
3833 # Check whether --with-xinerama was given.
3834 if test "${with_xinerama+set}" = set; then :
3835 withval=$with_xinerama; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xinerama_h=no; fi
3839 # Check whether --with-xinput was given.
3840 if test "${with_xinput+set}" = set; then :
3841 withval=$with_xinput; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput_h=no; fi
3845 # Check whether --with-xinput2 was given.
3846 if test "${with_xinput2+set}" = set; then :
3847 withval=$with_xinput2; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XInput2_h=no; fi
3851 # Check whether --with-xml was given.
3852 if test "${with_xml+set}" = set; then :
3853 withval=$with_xml;
3857 # Check whether --with-xrandr was given.
3858 if test "${with_xrandr+set}" = set; then :
3859 withval=$with_xrandr; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrandr_h=no; fi
3863 # Check whether --with-xrender was given.
3864 if test "${with_xrender+set}" = set; then :
3865 withval=$with_xrender; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_Xrender_h=no; fi
3869 # Check whether --with-xshape was given.
3870 if test "${with_xshape+set}" = set; then :
3871 withval=$with_xshape; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_shape_h=no; fi
3875 # Check whether --with-xshm was given.
3876 if test "${with_xshm+set}" = set; then :
3877 withval=$with_xshm; if test "x$withval" = "xno"; then ac_cv_header_X11_extensions_XShm_h=no; fi
3881 # Check whether --with-xslt was given.
3882 if test "${with_xslt+set}" = set; then :
3883 withval=$with_xslt;
3887 # Check whether --with-xxf86vm was given.
3888 if test "${with_xxf86vm+set}" = set; then :
3889 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
3893 # Check whether --with-zlib was given.
3894 if test "${with_zlib+set}" = set; then :
3895 withval=$with_zlib; if test "x$withval" = "xno"; then ac_cv_header_zlib_h=no; fi
3900 # Check whether --with-wine-tools was given.
3901 if test "${with_wine_tools+set}" = set; then :
3902 withval=$with_wine_tools;
3906 # Check whether --with-wine64 was given.
3907 if test "${with_wine64+set}" = set; then :
3908 withval=$with_wine64;
3912 # Make sure we can run config.sub.
3913 $SHELL "$ac_aux_dir/config.sub" sun4 >/dev/null 2>&1 ||
3914 as_fn_error $? "cannot run $SHELL $ac_aux_dir/config.sub" "$LINENO" 5
3916 { $as_echo "$as_me:${as_lineno-$LINENO}: checking build system type" >&5
3917 $as_echo_n "checking build system type... " >&6; }
3918 if ${ac_cv_build+:} false; then :
3919 $as_echo_n "(cached) " >&6
3920 else
3921 ac_build_alias=$build_alias
3922 test "x$ac_build_alias" = x &&
3923 ac_build_alias=`$SHELL "$ac_aux_dir/config.guess"`
3924 test "x$ac_build_alias" = x &&
3925 as_fn_error $? "cannot guess build type; you must specify one" "$LINENO" 5
3926 ac_cv_build=`$SHELL "$ac_aux_dir/config.sub" $ac_build_alias` ||
3927 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $ac_build_alias failed" "$LINENO" 5
3930 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_build" >&5
3931 $as_echo "$ac_cv_build" >&6; }
3932 case $ac_cv_build in
3933 *-*-*) ;;
3934 *) as_fn_error $? "invalid value of canonical build" "$LINENO" 5;;
3935 esac
3936 build=$ac_cv_build
3937 ac_save_IFS=$IFS; IFS='-'
3938 set x $ac_cv_build
3939 shift
3940 build_cpu=$1
3941 build_vendor=$2
3942 shift; shift
3943 # Remember, the first character of IFS is used to create $*,
3944 # except with old shells:
3945 build_os=$*
3946 IFS=$ac_save_IFS
3947 case $build_os in *\ *) build_os=`echo "$build_os" | sed 's/ /-/g'`;; esac
3950 { $as_echo "$as_me:${as_lineno-$LINENO}: checking host system type" >&5
3951 $as_echo_n "checking host system type... " >&6; }
3952 if ${ac_cv_host+:} false; then :
3953 $as_echo_n "(cached) " >&6
3954 else
3955 if test "x$host_alias" = x; then
3956 ac_cv_host=$ac_cv_build
3957 else
3958 ac_cv_host=`$SHELL "$ac_aux_dir/config.sub" $host_alias` ||
3959 as_fn_error $? "$SHELL $ac_aux_dir/config.sub $host_alias failed" "$LINENO" 5
3963 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_host" >&5
3964 $as_echo "$ac_cv_host" >&6; }
3965 case $ac_cv_host in
3966 *-*-*) ;;
3967 *) as_fn_error $? "invalid value of canonical host" "$LINENO" 5;;
3968 esac
3969 host=$ac_cv_host
3970 ac_save_IFS=$IFS; IFS='-'
3971 set x $ac_cv_host
3972 shift
3973 host_cpu=$1
3974 host_vendor=$2
3975 shift; shift
3976 # Remember, the first character of IFS is used to create $*,
3977 # except with old shells:
3978 host_os=$*
3979 IFS=$ac_save_IFS
3980 case $host_os in *\ *) host_os=`echo "$host_os" | sed 's/ /-/g'`;; esac
3984 case "$srcdir" in
3985 .) ;;
3986 *) if test -f "$srcdir/Makefile" -o -f "$srcdir/include/config.h"; then
3987 as_fn_error $? "you are building out of the source tree, but the source tree contains object files.
3988 You need to run 'make distclean' in the source tree first." "$LINENO" 5
3989 fi ;;
3990 esac
3993 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ${MAKE-make} sets \$(MAKE)" >&5
3994 $as_echo_n "checking whether ${MAKE-make} sets \$(MAKE)... " >&6; }
3995 set x ${MAKE-make}
3996 ac_make=`$as_echo "$2" | sed 's/+/p/g; s/[^a-zA-Z0-9_]/_/g'`
3997 if eval \${ac_cv_prog_make_${ac_make}_set+:} false; then :
3998 $as_echo_n "(cached) " >&6
3999 else
4000 cat >conftest.make <<\_ACEOF
4001 SHELL = /bin/sh
4002 all:
4003 @echo '@@@%%%=$(MAKE)=@@@%%%'
4004 _ACEOF
4005 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
4006 case `${MAKE-make} -f conftest.make 2>/dev/null` in
4007 *@@@%%%=?*=@@@%%%*)
4008 eval ac_cv_prog_make_${ac_make}_set=yes;;
4010 eval ac_cv_prog_make_${ac_make}_set=no;;
4011 esac
4012 rm -f conftest.make
4014 if eval test \$ac_cv_prog_make_${ac_make}_set = yes; then
4015 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4016 $as_echo "yes" >&6; }
4017 SET_MAKE=
4018 else
4019 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4020 $as_echo "no" >&6; }
4021 SET_MAKE="MAKE=${MAKE-make}"
4024 ac_ext=c
4025 ac_cpp='$CPP $CPPFLAGS'
4026 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4027 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4028 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4029 if test -n "$ac_tool_prefix"; then
4030 # Extract the first word of "${ac_tool_prefix}gcc", so it can be a program name with args.
4031 set dummy ${ac_tool_prefix}gcc; ac_word=$2
4032 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4033 $as_echo_n "checking for $ac_word... " >&6; }
4034 if ${ac_cv_prog_CC+:} false; then :
4035 $as_echo_n "(cached) " >&6
4036 else
4037 if test -n "$CC"; then
4038 ac_cv_prog_CC="$CC" # Let the user override the test.
4039 else
4040 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4041 for as_dir in $PATH
4043 IFS=$as_save_IFS
4044 test -z "$as_dir" && as_dir=.
4045 for ac_exec_ext in '' $ac_executable_extensions; do
4046 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4047 ac_cv_prog_CC="${ac_tool_prefix}gcc"
4048 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4049 break 2
4051 done
4052 done
4053 IFS=$as_save_IFS
4057 CC=$ac_cv_prog_CC
4058 if test -n "$CC"; then
4059 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4060 $as_echo "$CC" >&6; }
4061 else
4062 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4063 $as_echo "no" >&6; }
4068 if test -z "$ac_cv_prog_CC"; then
4069 ac_ct_CC=$CC
4070 # Extract the first word of "gcc", so it can be a program name with args.
4071 set dummy gcc; ac_word=$2
4072 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4073 $as_echo_n "checking for $ac_word... " >&6; }
4074 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4075 $as_echo_n "(cached) " >&6
4076 else
4077 if test -n "$ac_ct_CC"; then
4078 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4079 else
4080 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4081 for as_dir in $PATH
4083 IFS=$as_save_IFS
4084 test -z "$as_dir" && as_dir=.
4085 for ac_exec_ext in '' $ac_executable_extensions; do
4086 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4087 ac_cv_prog_ac_ct_CC="gcc"
4088 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4089 break 2
4091 done
4092 done
4093 IFS=$as_save_IFS
4097 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4098 if test -n "$ac_ct_CC"; then
4099 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4100 $as_echo "$ac_ct_CC" >&6; }
4101 else
4102 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4103 $as_echo "no" >&6; }
4106 if test "x$ac_ct_CC" = x; then
4107 CC=""
4108 else
4109 case $cross_compiling:$ac_tool_warned in
4110 yes:)
4111 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4112 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4113 ac_tool_warned=yes ;;
4114 esac
4115 CC=$ac_ct_CC
4117 else
4118 CC="$ac_cv_prog_CC"
4121 if test -z "$CC"; then
4122 if test -n "$ac_tool_prefix"; then
4123 # Extract the first word of "${ac_tool_prefix}cc", so it can be a program name with args.
4124 set dummy ${ac_tool_prefix}cc; ac_word=$2
4125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4126 $as_echo_n "checking for $ac_word... " >&6; }
4127 if ${ac_cv_prog_CC+:} false; then :
4128 $as_echo_n "(cached) " >&6
4129 else
4130 if test -n "$CC"; then
4131 ac_cv_prog_CC="$CC" # Let the user override the test.
4132 else
4133 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4134 for as_dir in $PATH
4136 IFS=$as_save_IFS
4137 test -z "$as_dir" && as_dir=.
4138 for ac_exec_ext in '' $ac_executable_extensions; do
4139 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4140 ac_cv_prog_CC="${ac_tool_prefix}cc"
4141 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4142 break 2
4144 done
4145 done
4146 IFS=$as_save_IFS
4150 CC=$ac_cv_prog_CC
4151 if test -n "$CC"; then
4152 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4153 $as_echo "$CC" >&6; }
4154 else
4155 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4156 $as_echo "no" >&6; }
4162 if test -z "$CC"; then
4163 # Extract the first word of "cc", so it can be a program name with args.
4164 set dummy cc; ac_word=$2
4165 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4166 $as_echo_n "checking for $ac_word... " >&6; }
4167 if ${ac_cv_prog_CC+:} false; then :
4168 $as_echo_n "(cached) " >&6
4169 else
4170 if test -n "$CC"; then
4171 ac_cv_prog_CC="$CC" # Let the user override the test.
4172 else
4173 ac_prog_rejected=no
4174 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4175 for as_dir in $PATH
4177 IFS=$as_save_IFS
4178 test -z "$as_dir" && as_dir=.
4179 for ac_exec_ext in '' $ac_executable_extensions; do
4180 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4181 if test "$as_dir/$ac_word$ac_exec_ext" = "/usr/ucb/cc"; then
4182 ac_prog_rejected=yes
4183 continue
4185 ac_cv_prog_CC="cc"
4186 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4187 break 2
4189 done
4190 done
4191 IFS=$as_save_IFS
4193 if test $ac_prog_rejected = yes; then
4194 # We found a bogon in the path, so make sure we never use it.
4195 set dummy $ac_cv_prog_CC
4196 shift
4197 if test $# != 0; then
4198 # We chose a different compiler from the bogus one.
4199 # However, it has the same basename, so the bogon will be chosen
4200 # first if we set CC to just the basename; use the full file name.
4201 shift
4202 ac_cv_prog_CC="$as_dir/$ac_word${1+' '}$@"
4207 CC=$ac_cv_prog_CC
4208 if test -n "$CC"; then
4209 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4210 $as_echo "$CC" >&6; }
4211 else
4212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4213 $as_echo "no" >&6; }
4218 if test -z "$CC"; then
4219 if test -n "$ac_tool_prefix"; then
4220 for ac_prog in cl.exe
4222 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4223 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4224 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4225 $as_echo_n "checking for $ac_word... " >&6; }
4226 if ${ac_cv_prog_CC+:} false; then :
4227 $as_echo_n "(cached) " >&6
4228 else
4229 if test -n "$CC"; then
4230 ac_cv_prog_CC="$CC" # Let the user override the test.
4231 else
4232 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4233 for as_dir in $PATH
4235 IFS=$as_save_IFS
4236 test -z "$as_dir" && as_dir=.
4237 for ac_exec_ext in '' $ac_executable_extensions; do
4238 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4239 ac_cv_prog_CC="$ac_tool_prefix$ac_prog"
4240 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4241 break 2
4243 done
4244 done
4245 IFS=$as_save_IFS
4249 CC=$ac_cv_prog_CC
4250 if test -n "$CC"; then
4251 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CC" >&5
4252 $as_echo "$CC" >&6; }
4253 else
4254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4255 $as_echo "no" >&6; }
4259 test -n "$CC" && break
4260 done
4262 if test -z "$CC"; then
4263 ac_ct_CC=$CC
4264 for ac_prog in cl.exe
4266 # Extract the first word of "$ac_prog", so it can be a program name with args.
4267 set dummy $ac_prog; ac_word=$2
4268 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4269 $as_echo_n "checking for $ac_word... " >&6; }
4270 if ${ac_cv_prog_ac_ct_CC+:} false; then :
4271 $as_echo_n "(cached) " >&6
4272 else
4273 if test -n "$ac_ct_CC"; then
4274 ac_cv_prog_ac_ct_CC="$ac_ct_CC" # Let the user override the test.
4275 else
4276 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4277 for as_dir in $PATH
4279 IFS=$as_save_IFS
4280 test -z "$as_dir" && as_dir=.
4281 for ac_exec_ext in '' $ac_executable_extensions; do
4282 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4283 ac_cv_prog_ac_ct_CC="$ac_prog"
4284 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4285 break 2
4287 done
4288 done
4289 IFS=$as_save_IFS
4293 ac_ct_CC=$ac_cv_prog_ac_ct_CC
4294 if test -n "$ac_ct_CC"; then
4295 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CC" >&5
4296 $as_echo "$ac_ct_CC" >&6; }
4297 else
4298 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4299 $as_echo "no" >&6; }
4303 test -n "$ac_ct_CC" && break
4304 done
4306 if test "x$ac_ct_CC" = x; then
4307 CC=""
4308 else
4309 case $cross_compiling:$ac_tool_warned in
4310 yes:)
4311 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4312 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4313 ac_tool_warned=yes ;;
4314 esac
4315 CC=$ac_ct_CC
4322 test -z "$CC" && { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4323 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4324 as_fn_error $? "no acceptable C compiler found in \$PATH
4325 See \`config.log' for more details" "$LINENO" 5; }
4327 # Provide some information about the compiler.
4328 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler version" >&5
4329 set X $ac_compile
4330 ac_compiler=$2
4331 for ac_option in --version -v -V -qversion; do
4332 { { ac_try="$ac_compiler $ac_option >&5"
4333 case "(($ac_try" in
4334 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4335 *) ac_try_echo=$ac_try;;
4336 esac
4337 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4338 $as_echo "$ac_try_echo"; } >&5
4339 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4340 ac_status=$?
4341 if test -s conftest.err; then
4342 sed '10a\
4343 ... rest of stderr output deleted ...
4344 10q' conftest.err >conftest.er1
4345 cat conftest.er1 >&5
4347 rm -f conftest.er1 conftest.err
4348 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4349 test $ac_status = 0; }
4350 done
4352 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4353 /* end confdefs.h. */
4356 main ()
4360 return 0;
4362 _ACEOF
4363 ac_clean_files_save=$ac_clean_files
4364 ac_clean_files="$ac_clean_files a.out a.out.dSYM a.exe b.out"
4365 # Try to create an executable without -o first, disregard a.out.
4366 # It will help us diagnose broken compilers, and finding out an intuition
4367 # of exeext.
4368 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the C compiler works" >&5
4369 $as_echo_n "checking whether the C compiler works... " >&6; }
4370 ac_link_default=`$as_echo "$ac_link" | sed 's/ -o *conftest[^ ]*//'`
4372 # The possible output files:
4373 ac_files="a.out conftest.exe conftest a.exe a_out.exe b.out conftest.*"
4375 ac_rmfiles=
4376 for ac_file in $ac_files
4378 case $ac_file in
4379 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4380 * ) ac_rmfiles="$ac_rmfiles $ac_file";;
4381 esac
4382 done
4383 rm -f $ac_rmfiles
4385 if { { ac_try="$ac_link_default"
4386 case "(($ac_try" in
4387 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4388 *) ac_try_echo=$ac_try;;
4389 esac
4390 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4391 $as_echo "$ac_try_echo"; } >&5
4392 (eval "$ac_link_default") 2>&5
4393 ac_status=$?
4394 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4395 test $ac_status = 0; }; then :
4396 # Autoconf-2.13 could set the ac_cv_exeext variable to `no'.
4397 # So ignore a value of `no', otherwise this would lead to `EXEEXT = no'
4398 # in a Makefile. We should not override ac_cv_exeext if it was cached,
4399 # so that the user can short-circuit this test for compilers unknown to
4400 # Autoconf.
4401 for ac_file in $ac_files ''
4403 test -f "$ac_file" || continue
4404 case $ac_file in
4405 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj )
4407 [ab].out )
4408 # We found the default executable, but exeext='' is most
4409 # certainly right.
4410 break;;
4411 *.* )
4412 if test "${ac_cv_exeext+set}" = set && test "$ac_cv_exeext" != no;
4413 then :; else
4414 ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4416 # We set ac_cv_exeext here because the later test for it is not
4417 # safe: cross compilers may not add the suffix if given an `-o'
4418 # argument, so we may need to know it at that point already.
4419 # Even if this section looks crufty: it has the advantage of
4420 # actually working.
4421 break;;
4423 break;;
4424 esac
4425 done
4426 test "$ac_cv_exeext" = no && ac_cv_exeext=
4428 else
4429 ac_file=''
4431 if test -z "$ac_file"; then :
4432 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4433 $as_echo "no" >&6; }
4434 $as_echo "$as_me: failed program was:" >&5
4435 sed 's/^/| /' conftest.$ac_ext >&5
4437 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4438 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4439 as_fn_error 77 "C compiler cannot create executables
4440 See \`config.log' for more details" "$LINENO" 5; }
4441 else
4442 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
4443 $as_echo "yes" >&6; }
4445 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for C compiler default output file name" >&5
4446 $as_echo_n "checking for C compiler default output file name... " >&6; }
4447 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_file" >&5
4448 $as_echo "$ac_file" >&6; }
4449 ac_exeext=$ac_cv_exeext
4451 rm -f -r a.out a.out.dSYM a.exe conftest$ac_cv_exeext b.out
4452 ac_clean_files=$ac_clean_files_save
4453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of executables" >&5
4454 $as_echo_n "checking for suffix of executables... " >&6; }
4455 if { { ac_try="$ac_link"
4456 case "(($ac_try" in
4457 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4458 *) ac_try_echo=$ac_try;;
4459 esac
4460 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4461 $as_echo "$ac_try_echo"; } >&5
4462 (eval "$ac_link") 2>&5
4463 ac_status=$?
4464 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4465 test $ac_status = 0; }; then :
4466 # If both `conftest.exe' and `conftest' are `present' (well, observable)
4467 # catch `conftest.exe'. For instance with Cygwin, `ls conftest' will
4468 # work properly (i.e., refer to `conftest.exe'), while it won't with
4469 # `rm'.
4470 for ac_file in conftest.exe conftest conftest.*; do
4471 test -f "$ac_file" || continue
4472 case $ac_file in
4473 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM | *.o | *.obj ) ;;
4474 *.* ) ac_cv_exeext=`expr "$ac_file" : '[^.]*\(\..*\)'`
4475 break;;
4476 * ) break;;
4477 esac
4478 done
4479 else
4480 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4481 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4482 as_fn_error $? "cannot compute suffix of executables: cannot compile and link
4483 See \`config.log' for more details" "$LINENO" 5; }
4485 rm -f conftest conftest$ac_cv_exeext
4486 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_exeext" >&5
4487 $as_echo "$ac_cv_exeext" >&6; }
4489 rm -f conftest.$ac_ext
4490 EXEEXT=$ac_cv_exeext
4491 ac_exeext=$EXEEXT
4492 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4493 /* end confdefs.h. */
4494 #include <stdio.h>
4496 main ()
4498 FILE *f = fopen ("conftest.out", "w");
4499 return ferror (f) || fclose (f) != 0;
4502 return 0;
4504 _ACEOF
4505 ac_clean_files="$ac_clean_files conftest.out"
4506 # Check that the compiler produces executables we can run. If not, either
4507 # the compiler is broken, or we cross compile.
4508 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are cross compiling" >&5
4509 $as_echo_n "checking whether we are cross compiling... " >&6; }
4510 if test "$cross_compiling" != yes; then
4511 { { ac_try="$ac_link"
4512 case "(($ac_try" in
4513 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4514 *) ac_try_echo=$ac_try;;
4515 esac
4516 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4517 $as_echo "$ac_try_echo"; } >&5
4518 (eval "$ac_link") 2>&5
4519 ac_status=$?
4520 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4521 test $ac_status = 0; }
4522 if { ac_try='./conftest$ac_cv_exeext'
4523 { { case "(($ac_try" in
4524 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4525 *) ac_try_echo=$ac_try;;
4526 esac
4527 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4528 $as_echo "$ac_try_echo"; } >&5
4529 (eval "$ac_try") 2>&5
4530 ac_status=$?
4531 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4532 test $ac_status = 0; }; }; then
4533 cross_compiling=no
4534 else
4535 if test "$cross_compiling" = maybe; then
4536 cross_compiling=yes
4537 else
4538 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4539 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4540 as_fn_error $? "cannot run C compiled programs.
4541 If you meant to cross compile, use \`--host'.
4542 See \`config.log' for more details" "$LINENO" 5; }
4546 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $cross_compiling" >&5
4547 $as_echo "$cross_compiling" >&6; }
4549 rm -f conftest.$ac_ext conftest$ac_cv_exeext conftest.out
4550 ac_clean_files=$ac_clean_files_save
4551 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for suffix of object files" >&5
4552 $as_echo_n "checking for suffix of object files... " >&6; }
4553 if ${ac_cv_objext+:} false; then :
4554 $as_echo_n "(cached) " >&6
4555 else
4556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4557 /* end confdefs.h. */
4560 main ()
4564 return 0;
4566 _ACEOF
4567 rm -f conftest.o conftest.obj
4568 if { { ac_try="$ac_compile"
4569 case "(($ac_try" in
4570 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4571 *) ac_try_echo=$ac_try;;
4572 esac
4573 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4574 $as_echo "$ac_try_echo"; } >&5
4575 (eval "$ac_compile") 2>&5
4576 ac_status=$?
4577 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4578 test $ac_status = 0; }; then :
4579 for ac_file in conftest.o conftest.obj conftest.*; do
4580 test -f "$ac_file" || continue;
4581 case $ac_file in
4582 *.$ac_ext | *.xcoff | *.tds | *.d | *.pdb | *.xSYM | *.bb | *.bbg | *.map | *.inf | *.dSYM ) ;;
4583 *) ac_cv_objext=`expr "$ac_file" : '.*\.\(.*\)'`
4584 break;;
4585 esac
4586 done
4587 else
4588 $as_echo "$as_me: failed program was:" >&5
4589 sed 's/^/| /' conftest.$ac_ext >&5
4591 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
4592 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
4593 as_fn_error $? "cannot compute suffix of object files: cannot compile
4594 See \`config.log' for more details" "$LINENO" 5; }
4596 rm -f conftest.$ac_cv_objext conftest.$ac_ext
4598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_objext" >&5
4599 $as_echo "$ac_cv_objext" >&6; }
4600 OBJEXT=$ac_cv_objext
4601 ac_objext=$OBJEXT
4602 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C compiler" >&5
4603 $as_echo_n "checking whether we are using the GNU C compiler... " >&6; }
4604 if ${ac_cv_c_compiler_gnu+:} false; then :
4605 $as_echo_n "(cached) " >&6
4606 else
4607 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4608 /* end confdefs.h. */
4611 main ()
4613 #ifndef __GNUC__
4614 choke me
4615 #endif
4618 return 0;
4620 _ACEOF
4621 if ac_fn_c_try_compile "$LINENO"; then :
4622 ac_compiler_gnu=yes
4623 else
4624 ac_compiler_gnu=no
4626 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4627 ac_cv_c_compiler_gnu=$ac_compiler_gnu
4630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_compiler_gnu" >&5
4631 $as_echo "$ac_cv_c_compiler_gnu" >&6; }
4632 if test $ac_compiler_gnu = yes; then
4633 GCC=yes
4634 else
4635 GCC=
4637 ac_test_CFLAGS=${CFLAGS+set}
4638 ac_save_CFLAGS=$CFLAGS
4639 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC accepts -g" >&5
4640 $as_echo_n "checking whether $CC accepts -g... " >&6; }
4641 if ${ac_cv_prog_cc_g+:} false; then :
4642 $as_echo_n "(cached) " >&6
4643 else
4644 ac_save_c_werror_flag=$ac_c_werror_flag
4645 ac_c_werror_flag=yes
4646 ac_cv_prog_cc_g=no
4647 CFLAGS="-g"
4648 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4649 /* end confdefs.h. */
4652 main ()
4656 return 0;
4658 _ACEOF
4659 if ac_fn_c_try_compile "$LINENO"; then :
4660 ac_cv_prog_cc_g=yes
4661 else
4662 CFLAGS=""
4663 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4664 /* end confdefs.h. */
4667 main ()
4671 return 0;
4673 _ACEOF
4674 if ac_fn_c_try_compile "$LINENO"; then :
4676 else
4677 ac_c_werror_flag=$ac_save_c_werror_flag
4678 CFLAGS="-g"
4679 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4680 /* end confdefs.h. */
4683 main ()
4687 return 0;
4689 _ACEOF
4690 if ac_fn_c_try_compile "$LINENO"; then :
4691 ac_cv_prog_cc_g=yes
4693 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4695 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4697 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4698 ac_c_werror_flag=$ac_save_c_werror_flag
4700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_g" >&5
4701 $as_echo "$ac_cv_prog_cc_g" >&6; }
4702 if test "$ac_test_CFLAGS" = set; then
4703 CFLAGS=$ac_save_CFLAGS
4704 elif test $ac_cv_prog_cc_g = yes; then
4705 if test "$GCC" = yes; then
4706 CFLAGS="-g -O2"
4707 else
4708 CFLAGS="-g"
4710 else
4711 if test "$GCC" = yes; then
4712 CFLAGS="-O2"
4713 else
4714 CFLAGS=
4717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $CC option to accept ISO C89" >&5
4718 $as_echo_n "checking for $CC option to accept ISO C89... " >&6; }
4719 if ${ac_cv_prog_cc_c89+:} false; then :
4720 $as_echo_n "(cached) " >&6
4721 else
4722 ac_cv_prog_cc_c89=no
4723 ac_save_CC=$CC
4724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4725 /* end confdefs.h. */
4726 #include <stdarg.h>
4727 #include <stdio.h>
4728 struct stat;
4729 /* Most of the following tests are stolen from RCS 5.7's src/conf.sh. */
4730 struct buf { int x; };
4731 FILE * (*rcsopen) (struct buf *, struct stat *, int);
4732 static char *e (p, i)
4733 char **p;
4734 int i;
4736 return p[i];
4738 static char *f (char * (*g) (char **, int), char **p, ...)
4740 char *s;
4741 va_list v;
4742 va_start (v,p);
4743 s = g (p, va_arg (v,int));
4744 va_end (v);
4745 return s;
4748 /* OSF 4.0 Compaq cc is some sort of almost-ANSI by default. It has
4749 function prototypes and stuff, but not '\xHH' hex character constants.
4750 These don't provoke an error unfortunately, instead are silently treated
4751 as 'x'. The following induces an error, until -std is added to get
4752 proper ANSI mode. Curiously '\x00'!='x' always comes out true, for an
4753 array size at least. It's necessary to write '\x00'==0 to get something
4754 that's true only with -std. */
4755 int osf4_cc_array ['\x00' == 0 ? 1 : -1];
4757 /* IBM C 6 for AIX is almost-ANSI by default, but it replaces macro parameters
4758 inside strings and character constants. */
4759 #define FOO(x) 'x'
4760 int xlc6_cc_array[FOO(a) == 'x' ? 1 : -1];
4762 int test (int i, double x);
4763 struct s1 {int (*f) (int a);};
4764 struct s2 {int (*f) (double a);};
4765 int pairnames (int, char **, FILE *(*)(struct buf *, struct stat *, int), int, int);
4766 int argc;
4767 char **argv;
4769 main ()
4771 return f (e, argv, 0) != argv[0] || f (e, argv, 1) != argv[1];
4773 return 0;
4775 _ACEOF
4776 for ac_arg in '' -qlanglvl=extc89 -qlanglvl=ansi -std \
4777 -Ae "-Aa -D_HPUX_SOURCE" "-Xc -D__EXTENSIONS__"
4779 CC="$ac_save_CC $ac_arg"
4780 if ac_fn_c_try_compile "$LINENO"; then :
4781 ac_cv_prog_cc_c89=$ac_arg
4783 rm -f core conftest.err conftest.$ac_objext
4784 test "x$ac_cv_prog_cc_c89" != "xno" && break
4785 done
4786 rm -f conftest.$ac_ext
4787 CC=$ac_save_CC
4790 # AC_CACHE_VAL
4791 case "x$ac_cv_prog_cc_c89" in
4793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: none needed" >&5
4794 $as_echo "none needed" >&6; } ;;
4795 xno)
4796 { $as_echo "$as_me:${as_lineno-$LINENO}: result: unsupported" >&5
4797 $as_echo "unsupported" >&6; } ;;
4799 CC="$CC $ac_cv_prog_cc_c89"
4800 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cc_c89" >&5
4801 $as_echo "$ac_cv_prog_cc_c89" >&6; } ;;
4802 esac
4803 if test "x$ac_cv_prog_cc_c89" != xno; then :
4807 ac_ext=c
4808 ac_cpp='$CPP $CPPFLAGS'
4809 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4810 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4811 ac_compiler_gnu=$ac_cv_c_compiler_gnu
4813 ac_ext=cpp
4814 ac_cpp='$CXXCPP $CPPFLAGS'
4815 ac_compile='$CXX -c $CXXFLAGS $CPPFLAGS conftest.$ac_ext >&5'
4816 ac_link='$CXX -o conftest$ac_exeext $CXXFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
4817 ac_compiler_gnu=$ac_cv_cxx_compiler_gnu
4818 if test -z "$CXX"; then
4819 if test -n "$CCC"; then
4820 CXX=$CCC
4821 else
4822 if test -n "$ac_tool_prefix"; then
4823 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4825 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
4826 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
4827 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4828 $as_echo_n "checking for $ac_word... " >&6; }
4829 if ${ac_cv_prog_CXX+:} false; then :
4830 $as_echo_n "(cached) " >&6
4831 else
4832 if test -n "$CXX"; then
4833 ac_cv_prog_CXX="$CXX" # Let the user override the test.
4834 else
4835 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4836 for as_dir in $PATH
4838 IFS=$as_save_IFS
4839 test -z "$as_dir" && as_dir=.
4840 for ac_exec_ext in '' $ac_executable_extensions; do
4841 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4842 ac_cv_prog_CXX="$ac_tool_prefix$ac_prog"
4843 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4844 break 2
4846 done
4847 done
4848 IFS=$as_save_IFS
4852 CXX=$ac_cv_prog_CXX
4853 if test -n "$CXX"; then
4854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CXX" >&5
4855 $as_echo "$CXX" >&6; }
4856 else
4857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4858 $as_echo "no" >&6; }
4862 test -n "$CXX" && break
4863 done
4865 if test -z "$CXX"; then
4866 ac_ct_CXX=$CXX
4867 for ac_prog in g++ c++ gpp aCC CC cxx cc++ cl.exe FCC KCC RCC xlC_r xlC
4869 # Extract the first word of "$ac_prog", so it can be a program name with args.
4870 set dummy $ac_prog; ac_word=$2
4871 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
4872 $as_echo_n "checking for $ac_word... " >&6; }
4873 if ${ac_cv_prog_ac_ct_CXX+:} false; then :
4874 $as_echo_n "(cached) " >&6
4875 else
4876 if test -n "$ac_ct_CXX"; then
4877 ac_cv_prog_ac_ct_CXX="$ac_ct_CXX" # Let the user override the test.
4878 else
4879 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
4880 for as_dir in $PATH
4882 IFS=$as_save_IFS
4883 test -z "$as_dir" && as_dir=.
4884 for ac_exec_ext in '' $ac_executable_extensions; do
4885 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
4886 ac_cv_prog_ac_ct_CXX="$ac_prog"
4887 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
4888 break 2
4890 done
4891 done
4892 IFS=$as_save_IFS
4896 ac_ct_CXX=$ac_cv_prog_ac_ct_CXX
4897 if test -n "$ac_ct_CXX"; then
4898 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CXX" >&5
4899 $as_echo "$ac_ct_CXX" >&6; }
4900 else
4901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
4902 $as_echo "no" >&6; }
4906 test -n "$ac_ct_CXX" && break
4907 done
4909 if test "x$ac_ct_CXX" = x; then
4910 CXX="g++"
4911 else
4912 case $cross_compiling:$ac_tool_warned in
4913 yes:)
4914 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
4915 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
4916 ac_tool_warned=yes ;;
4917 esac
4918 CXX=$ac_ct_CXX
4924 # Provide some information about the compiler.
4925 $as_echo "$as_me:${as_lineno-$LINENO}: checking for C++ compiler version" >&5
4926 set X $ac_compile
4927 ac_compiler=$2
4928 for ac_option in --version -v -V -qversion; do
4929 { { ac_try="$ac_compiler $ac_option >&5"
4930 case "(($ac_try" in
4931 *\"* | *\`* | *\\*) ac_try_echo=\$ac_try;;
4932 *) ac_try_echo=$ac_try;;
4933 esac
4934 eval ac_try_echo="\"\$as_me:${as_lineno-$LINENO}: $ac_try_echo\""
4935 $as_echo "$ac_try_echo"; } >&5
4936 (eval "$ac_compiler $ac_option >&5") 2>conftest.err
4937 ac_status=$?
4938 if test -s conftest.err; then
4939 sed '10a\
4940 ... rest of stderr output deleted ...
4941 10q' conftest.err >conftest.er1
4942 cat conftest.er1 >&5
4944 rm -f conftest.er1 conftest.err
4945 $as_echo "$as_me:${as_lineno-$LINENO}: \$? = $ac_status" >&5
4946 test $ac_status = 0; }
4947 done
4949 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we are using the GNU C++ compiler" >&5
4950 $as_echo_n "checking whether we are using the GNU C++ compiler... " >&6; }
4951 if ${ac_cv_cxx_compiler_gnu+:} false; then :
4952 $as_echo_n "(cached) " >&6
4953 else
4954 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4955 /* end confdefs.h. */
4958 main ()
4960 #ifndef __GNUC__
4961 choke me
4962 #endif
4965 return 0;
4967 _ACEOF
4968 if ac_fn_cxx_try_compile "$LINENO"; then :
4969 ac_compiler_gnu=yes
4970 else
4971 ac_compiler_gnu=no
4973 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
4974 ac_cv_cxx_compiler_gnu=$ac_compiler_gnu
4977 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cxx_compiler_gnu" >&5
4978 $as_echo "$ac_cv_cxx_compiler_gnu" >&6; }
4979 if test $ac_compiler_gnu = yes; then
4980 GXX=yes
4981 else
4982 GXX=
4984 ac_test_CXXFLAGS=${CXXFLAGS+set}
4985 ac_save_CXXFLAGS=$CXXFLAGS
4986 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CXX accepts -g" >&5
4987 $as_echo_n "checking whether $CXX accepts -g... " >&6; }
4988 if ${ac_cv_prog_cxx_g+:} false; then :
4989 $as_echo_n "(cached) " >&6
4990 else
4991 ac_save_cxx_werror_flag=$ac_cxx_werror_flag
4992 ac_cxx_werror_flag=yes
4993 ac_cv_prog_cxx_g=no
4994 CXXFLAGS="-g"
4995 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
4996 /* end confdefs.h. */
4999 main ()
5003 return 0;
5005 _ACEOF
5006 if ac_fn_cxx_try_compile "$LINENO"; then :
5007 ac_cv_prog_cxx_g=yes
5008 else
5009 CXXFLAGS=""
5010 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5011 /* end confdefs.h. */
5014 main ()
5018 return 0;
5020 _ACEOF
5021 if ac_fn_cxx_try_compile "$LINENO"; then :
5023 else
5024 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5025 CXXFLAGS="-g"
5026 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5027 /* end confdefs.h. */
5030 main ()
5034 return 0;
5036 _ACEOF
5037 if ac_fn_cxx_try_compile "$LINENO"; then :
5038 ac_cv_prog_cxx_g=yes
5040 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5042 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5044 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5045 ac_cxx_werror_flag=$ac_save_cxx_werror_flag
5047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_prog_cxx_g" >&5
5048 $as_echo "$ac_cv_prog_cxx_g" >&6; }
5049 if test "$ac_test_CXXFLAGS" = set; then
5050 CXXFLAGS=$ac_save_CXXFLAGS
5051 elif test $ac_cv_prog_cxx_g = yes; then
5052 if test "$GXX" = yes; then
5053 CXXFLAGS="-g -O2"
5054 else
5055 CXXFLAGS="-g"
5057 else
5058 if test "$GXX" = yes; then
5059 CXXFLAGS="-O2"
5060 else
5061 CXXFLAGS=
5064 ac_ext=c
5065 ac_cpp='$CPP $CPPFLAGS'
5066 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
5067 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
5068 ac_compiler_gnu=$ac_cv_c_compiler_gnu
5070 if test -n "$ac_tool_prefix"; then
5071 # Extract the first word of "${ac_tool_prefix}cpp", so it can be a program name with args.
5072 set dummy ${ac_tool_prefix}cpp; ac_word=$2
5073 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5074 $as_echo_n "checking for $ac_word... " >&6; }
5075 if ${ac_cv_prog_CPPBIN+:} false; then :
5076 $as_echo_n "(cached) " >&6
5077 else
5078 if test -n "$CPPBIN"; then
5079 ac_cv_prog_CPPBIN="$CPPBIN" # Let the user override the test.
5080 else
5081 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5082 for as_dir in $PATH
5084 IFS=$as_save_IFS
5085 test -z "$as_dir" && as_dir=.
5086 for ac_exec_ext in '' $ac_executable_extensions; do
5087 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5088 ac_cv_prog_CPPBIN="${ac_tool_prefix}cpp"
5089 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5090 break 2
5092 done
5093 done
5094 IFS=$as_save_IFS
5098 CPPBIN=$ac_cv_prog_CPPBIN
5099 if test -n "$CPPBIN"; then
5100 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPPBIN" >&5
5101 $as_echo "$CPPBIN" >&6; }
5102 else
5103 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5104 $as_echo "no" >&6; }
5109 if test -z "$ac_cv_prog_CPPBIN"; then
5110 ac_ct_CPPBIN=$CPPBIN
5111 # Extract the first word of "cpp", so it can be a program name with args.
5112 set dummy cpp; ac_word=$2
5113 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5114 $as_echo_n "checking for $ac_word... " >&6; }
5115 if ${ac_cv_prog_ac_ct_CPPBIN+:} false; then :
5116 $as_echo_n "(cached) " >&6
5117 else
5118 if test -n "$ac_ct_CPPBIN"; then
5119 ac_cv_prog_ac_ct_CPPBIN="$ac_ct_CPPBIN" # Let the user override the test.
5120 else
5121 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5122 for as_dir in $PATH
5124 IFS=$as_save_IFS
5125 test -z "$as_dir" && as_dir=.
5126 for ac_exec_ext in '' $ac_executable_extensions; do
5127 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5128 ac_cv_prog_ac_ct_CPPBIN="cpp"
5129 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5130 break 2
5132 done
5133 done
5134 IFS=$as_save_IFS
5138 ac_ct_CPPBIN=$ac_cv_prog_ac_ct_CPPBIN
5139 if test -n "$ac_ct_CPPBIN"; then
5140 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_CPPBIN" >&5
5141 $as_echo "$ac_ct_CPPBIN" >&6; }
5142 else
5143 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5144 $as_echo "no" >&6; }
5147 if test "x$ac_ct_CPPBIN" = x; then
5148 CPPBIN="cpp"
5149 else
5150 case $cross_compiling:$ac_tool_warned in
5151 yes:)
5152 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5153 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5154 ac_tool_warned=yes ;;
5155 esac
5156 CPPBIN=$ac_ct_CPPBIN
5158 else
5159 CPPBIN="$ac_cv_prog_CPPBIN"
5163 cat >>confdefs.h <<_ACEOF
5164 #define EXEEXT "$ac_exeext"
5165 _ACEOF
5167 if test -n "$ac_tool_prefix"; then
5168 # Extract the first word of "${ac_tool_prefix}ld", so it can be a program name with args.
5169 set dummy ${ac_tool_prefix}ld; ac_word=$2
5170 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5171 $as_echo_n "checking for $ac_word... " >&6; }
5172 if ${ac_cv_prog_LD+:} false; then :
5173 $as_echo_n "(cached) " >&6
5174 else
5175 if test -n "$LD"; then
5176 ac_cv_prog_LD="$LD" # Let the user override the test.
5177 else
5178 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5179 for as_dir in $PATH
5181 IFS=$as_save_IFS
5182 test -z "$as_dir" && as_dir=.
5183 for ac_exec_ext in '' $ac_executable_extensions; do
5184 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5185 ac_cv_prog_LD="${ac_tool_prefix}ld"
5186 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5187 break 2
5189 done
5190 done
5191 IFS=$as_save_IFS
5195 LD=$ac_cv_prog_LD
5196 if test -n "$LD"; then
5197 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LD" >&5
5198 $as_echo "$LD" >&6; }
5199 else
5200 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5201 $as_echo "no" >&6; }
5206 if test -z "$ac_cv_prog_LD"; then
5207 ac_ct_LD=$LD
5208 # Extract the first word of "ld", so it can be a program name with args.
5209 set dummy ld; ac_word=$2
5210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5211 $as_echo_n "checking for $ac_word... " >&6; }
5212 if ${ac_cv_prog_ac_ct_LD+:} false; then :
5213 $as_echo_n "(cached) " >&6
5214 else
5215 if test -n "$ac_ct_LD"; then
5216 ac_cv_prog_ac_ct_LD="$ac_ct_LD" # Let the user override the test.
5217 else
5218 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5219 for as_dir in $PATH
5221 IFS=$as_save_IFS
5222 test -z "$as_dir" && as_dir=.
5223 for ac_exec_ext in '' $ac_executable_extensions; do
5224 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5225 ac_cv_prog_ac_ct_LD="ld"
5226 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5227 break 2
5229 done
5230 done
5231 IFS=$as_save_IFS
5235 ac_ct_LD=$ac_cv_prog_ac_ct_LD
5236 if test -n "$ac_ct_LD"; then
5237 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_LD" >&5
5238 $as_echo "$ac_ct_LD" >&6; }
5239 else
5240 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5241 $as_echo "no" >&6; }
5244 if test "x$ac_ct_LD" = x; then
5245 LD=""
5246 else
5247 case $cross_compiling:$ac_tool_warned in
5248 yes:)
5249 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5250 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5251 ac_tool_warned=yes ;;
5252 esac
5253 LD=$ac_ct_LD
5255 else
5256 LD="$ac_cv_prog_LD"
5260 case $host in
5261 *-darwin*)
5262 with_fontconfig=${with_fontconfig:-no}
5264 *-mingw32*|*-cygwin*)
5265 enable_win16=${enable_win16:-no}
5266 CFLAGS="$CFLAGS -D_WIN32"
5268 esac
5270 case $host in
5271 x86_64*|amd64*)
5272 if test "x$enable_win64" != "xyes" -a "$cross_compiling" != "yes"
5273 then
5274 CC="$CC -m32"
5275 CXX="$CXX -m32"
5276 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC works" >&5
5277 $as_echo_n "checking whether $CC works... " >&6; }
5279 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5280 /* end confdefs.h. */
5283 main ()
5287 return 0;
5289 _ACEOF
5290 if ac_fn_c_try_link "$LINENO"; then :
5291 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5292 $as_echo "yes" >&6; }
5293 else
5294 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5295 $as_echo "no" >&6; }
5296 as_fn_error $? "Cannot build a 32-bit program, you need to install 32-bit development libraries." "$LINENO" 5
5298 rm -f core conftest.err conftest.$ac_objext \
5299 conftest$ac_exeext conftest.$ac_ext
5300 host_cpu="i386"
5301 notice_platform="32-bit "
5302 TARGETFLAGS="-m32"
5304 PKG_CONFIG_PATH=${PKG_CONFIG_PATH:-/usr/lib/i386-linux-gnu/pkgconfig:/usr/lib/pkgconfig}
5305 export PKG_CONFIG_PATH
5306 enable_win16=${enable_win16:-yes}
5307 else
5308 if test "x${GCC}" = "xyes"
5309 then
5310 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports __builtin_ms_va_list" >&5
5311 $as_echo_n "checking whether $CC supports __builtin_ms_va_list... " >&6; }
5312 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5313 /* end confdefs.h. */
5314 #include <stdarg.h>
5316 main ()
5318 void func(__builtin_ms_va_list *args);
5320 return 0;
5322 _ACEOF
5323 if ac_fn_c_try_compile "$LINENO"; then :
5324 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5325 $as_echo "yes" >&6; }
5326 else
5327 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5328 $as_echo "no" >&6; }
5329 as_fn_error $? "You need gcc >= 4.4 or clang >= 3.8 to build Wine as 64-bit." "$LINENO" 5
5331 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
5333 CC="$CC -m64"
5334 CXX="$CXX -m64"
5335 host_cpu="x86_64"
5336 notice_platform="64-bit "
5337 TARGETFLAGS="-m64"
5341 arm*)
5342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports Thumb" >&5
5343 $as_echo_n "checking whether $CC supports Thumb... " >&6; }
5344 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5345 /* end confdefs.h. */
5346 int ac_test(int i) { return i; }
5348 main ()
5350 asm(".thumb\nblx ac_test\n.arm"); if (ac_test(1)) return 1
5352 return 0;
5354 _ACEOF
5355 if ac_fn_c_try_link "$LINENO"; then :
5356 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5357 $as_echo "yes" >&6; }
5358 else
5359 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5360 $as_echo "no" >&6; }
5361 as_fn_error $? "You need a target with Thumb support to build Wine for ARM." "$LINENO" 5
5363 rm -f core conftest.err conftest.$ac_objext \
5364 conftest$ac_exeext conftest.$ac_ext
5365 case $with_float_abi in
5366 soft|softfp|hard)
5367 float_abi=$with_float_abi ;;
5369 case $host_os in
5370 *eabihf)
5371 float_abi=hard ;;
5373 float_abi=softfp
5374 saved_CFLAGS=$CFLAGS
5375 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5376 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CC supports -mfloat-abi=$float_abi" >&5
5377 $as_echo_n "checking whether $CC supports -mfloat-abi=$float_abi... " >&6; }
5378 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
5379 /* end confdefs.h. */
5382 main ()
5384 asm("vmrs r2,fpscr");
5386 return 0;
5388 _ACEOF
5389 if ac_fn_c_try_link "$LINENO"; then :
5390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5391 $as_echo "yes" >&6; }
5392 else
5393 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5394 $as_echo "no" >&6; }
5395 float_abi=soft
5396 as_fn_append wine_warnings "|Floating point is not supported for this target. The resulting build won't be compatible with Windows ARM binaries."
5398 rm -f core conftest.err conftest.$ac_objext \
5399 conftest$ac_exeext conftest.$ac_ext
5400 CFLAGS=$saved_CFLAGS
5401 esac
5403 esac
5404 CFLAGS="$CFLAGS -marm -mfloat-abi=$float_abi"
5405 TARGETFLAGS="-marm -mfloat-abi=$float_abi"
5408 i[3456789]86*)
5409 enable_win16=${enable_win16:-yes}
5411 esac
5413 enable_win16=${enable_win16:-no}
5414 enable_win64=${enable_win64:-no}
5416 enable_winetest=${enable_winetest:-$enable_tests}
5418 if test -n "$with_wine64"
5419 then
5420 if test "x$enable_win64" = "xyes"
5421 then
5422 as_fn_error $? "--enable-win64 and --with-wine64 are mutually exclusive.
5423 --enable-win64 should be used in the 64-bit build tree, --with-wine64 in the 32-bit Wow64 build tree." "$LINENO" 5
5425 test "$srcdir" != . || as_fn_error $? "--with-wine64 cannot be used when building inside the source tree.
5426 You should create a separate build directory and run configure from there." "$LINENO" 5
5427 enable_fonts=${enable_fonts:-no}
5428 enable_server=${enable_server:-no}
5429 wine64_disable=\#
5431 elif test "x$enable_win64" = "xyes"
5432 then
5433 test "x$libdir" != "x\${exec_prefix}/lib" || libdir="\${exec_prefix}/lib64"
5436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the directory containing the Wine tools" >&5
5437 $as_echo_n "checking for the directory containing the Wine tools... " >&6; }
5438 if ${wine_cv_toolsdir+:} false; then :
5439 $as_echo_n "(cached) " >&6
5440 else
5441 wine_cv_toolsdir="$with_wine_tools"
5442 if test -z "$with_wine_tools"; then
5443 if test "$cross_compiling" = "yes"; then
5444 as_fn_error $? "you must use the --with-wine-tools option when cross-compiling." "$LINENO" 5
5445 elif test -n "$with_wine64"; then
5446 wine_cv_toolsdir="$with_wine64"
5449 if test -z "$wine_cv_toolsdir"; then
5450 wine_makedep=tools/makedep
5451 wine_cv_toolsdir="\$(top_builddir)"
5452 elif test -d "$wine_cv_toolsdir/tools/winebuild"; then
5453 wine_makedep=$wine_cv_toolsdir/tools/makedep
5454 case "$wine_cv_toolsdir" in
5455 /*) ;;
5456 *) wine_cv_toolsdir="\$(top_builddir)/$wine_cv_toolsdir" ;;
5457 esac
5458 enable_tools=${enable_tools:-no}
5459 test -f "$wine_makedep" || as_fn_error $? "the Wine tools have not yet been built in $wine_cv_toolsdir" "$LINENO" 5
5460 else
5461 as_fn_error $? "could not find Wine tools in $wine_cv_toolsdir" "$LINENO" 5
5464 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_toolsdir" >&5
5465 $as_echo "$wine_cv_toolsdir" >&6; }
5466 TOOLSDIR=$wine_cv_toolsdir
5468 if test -n "$host_alias" -a "$host_alias" != "$build_alias"
5469 then
5470 TARGETFLAGS="-b $host_alias $TARGETFLAGS"
5474 for ac_prog in flex
5476 # Extract the first word of "$ac_prog", so it can be a program name with args.
5477 set dummy $ac_prog; ac_word=$2
5478 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5479 $as_echo_n "checking for $ac_word... " >&6; }
5480 if ${ac_cv_prog_FLEX+:} false; then :
5481 $as_echo_n "(cached) " >&6
5482 else
5483 if test -n "$FLEX"; then
5484 ac_cv_prog_FLEX="$FLEX" # Let the user override the test.
5485 else
5486 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5487 for as_dir in $PATH
5489 IFS=$as_save_IFS
5490 test -z "$as_dir" && as_dir=.
5491 for ac_exec_ext in '' $ac_executable_extensions; do
5492 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5493 ac_cv_prog_FLEX="$ac_prog"
5494 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5495 break 2
5497 done
5498 done
5499 IFS=$as_save_IFS
5503 FLEX=$ac_cv_prog_FLEX
5504 if test -n "$FLEX"; then
5505 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FLEX" >&5
5506 $as_echo "$FLEX" >&6; }
5507 else
5508 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5509 $as_echo "no" >&6; }
5513 test -n "$FLEX" && break
5514 done
5515 test -n "$FLEX" || FLEX="none"
5517 if test "$FLEX" = "none"
5518 then
5519 as_fn_error $? "no suitable flex found. Please install the 'flex' package." "$LINENO" 5
5521 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether flex is recent enough" >&5
5522 $as_echo_n "checking whether flex is recent enough... " >&6; }
5523 cat >conftest.l <<EOF
5524 %top{
5525 #include "prediluvian.h"
5529 if $FLEX -t conftest.l >/dev/null 2>&5
5530 then
5531 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5532 $as_echo "yes" >&6; }
5533 else
5534 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5535 $as_echo "no" >&6; }
5536 as_fn_error $? "Your flex version is too old. Please install flex version 2.5.33 or newer." "$LINENO" 5
5539 for ac_prog in bison
5541 # Extract the first word of "$ac_prog", so it can be a program name with args.
5542 set dummy $ac_prog; ac_word=$2
5543 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5544 $as_echo_n "checking for $ac_word... " >&6; }
5545 if ${ac_cv_prog_BISON+:} false; then :
5546 $as_echo_n "(cached) " >&6
5547 else
5548 if test -n "$BISON"; then
5549 ac_cv_prog_BISON="$BISON" # Let the user override the test.
5550 else
5551 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5552 for as_dir in $PATH
5554 IFS=$as_save_IFS
5555 test -z "$as_dir" && as_dir=.
5556 for ac_exec_ext in '' $ac_executable_extensions; do
5557 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5558 ac_cv_prog_BISON="$ac_prog"
5559 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5560 break 2
5562 done
5563 done
5564 IFS=$as_save_IFS
5568 BISON=$ac_cv_prog_BISON
5569 if test -n "$BISON"; then
5570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $BISON" >&5
5571 $as_echo "$BISON" >&6; }
5572 else
5573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5574 $as_echo "no" >&6; }
5578 test -n "$BISON" && break
5579 done
5580 test -n "$BISON" || BISON="none"
5582 if test "$BISON" = "none"
5583 then
5584 as_fn_error $? "no suitable bison found. Please install the 'bison' package." "$LINENO" 5
5587 if test -n "$ac_tool_prefix"; then
5588 for ac_prog in ar gar
5590 # Extract the first word of "$ac_tool_prefix$ac_prog", so it can be a program name with args.
5591 set dummy $ac_tool_prefix$ac_prog; ac_word=$2
5592 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5593 $as_echo_n "checking for $ac_word... " >&6; }
5594 if ${ac_cv_prog_AR+:} false; then :
5595 $as_echo_n "(cached) " >&6
5596 else
5597 if test -n "$AR"; then
5598 ac_cv_prog_AR="$AR" # Let the user override the test.
5599 else
5600 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5601 for as_dir in $PATH
5603 IFS=$as_save_IFS
5604 test -z "$as_dir" && as_dir=.
5605 for ac_exec_ext in '' $ac_executable_extensions; do
5606 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5607 ac_cv_prog_AR="$ac_tool_prefix$ac_prog"
5608 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5609 break 2
5611 done
5612 done
5613 IFS=$as_save_IFS
5617 AR=$ac_cv_prog_AR
5618 if test -n "$AR"; then
5619 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $AR" >&5
5620 $as_echo "$AR" >&6; }
5621 else
5622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5623 $as_echo "no" >&6; }
5627 test -n "$AR" && break
5628 done
5630 if test -z "$AR"; then
5631 ac_ct_AR=$AR
5632 for ac_prog in ar gar
5634 # Extract the first word of "$ac_prog", so it can be a program name with args.
5635 set dummy $ac_prog; ac_word=$2
5636 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5637 $as_echo_n "checking for $ac_word... " >&6; }
5638 if ${ac_cv_prog_ac_ct_AR+:} false; then :
5639 $as_echo_n "(cached) " >&6
5640 else
5641 if test -n "$ac_ct_AR"; then
5642 ac_cv_prog_ac_ct_AR="$ac_ct_AR" # Let the user override the test.
5643 else
5644 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5645 for as_dir in $PATH
5647 IFS=$as_save_IFS
5648 test -z "$as_dir" && as_dir=.
5649 for ac_exec_ext in '' $ac_executable_extensions; do
5650 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5651 ac_cv_prog_ac_ct_AR="$ac_prog"
5652 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5653 break 2
5655 done
5656 done
5657 IFS=$as_save_IFS
5661 ac_ct_AR=$ac_cv_prog_ac_ct_AR
5662 if test -n "$ac_ct_AR"; then
5663 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_AR" >&5
5664 $as_echo "$ac_ct_AR" >&6; }
5665 else
5666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5667 $as_echo "no" >&6; }
5671 test -n "$ac_ct_AR" && break
5672 done
5674 if test "x$ac_ct_AR" = x; then
5675 AR="ar"
5676 else
5677 case $cross_compiling:$ac_tool_warned in
5678 yes:)
5679 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5680 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5681 ac_tool_warned=yes ;;
5682 esac
5683 AR=$ac_ct_AR
5687 if test -n "$ac_tool_prefix"; then
5688 # Extract the first word of "${ac_tool_prefix}strip", so it can be a program name with args.
5689 set dummy ${ac_tool_prefix}strip; ac_word=$2
5690 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5691 $as_echo_n "checking for $ac_word... " >&6; }
5692 if ${ac_cv_prog_STRIP+:} false; then :
5693 $as_echo_n "(cached) " >&6
5694 else
5695 if test -n "$STRIP"; then
5696 ac_cv_prog_STRIP="$STRIP" # Let the user override the test.
5697 else
5698 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5699 for as_dir in $PATH
5701 IFS=$as_save_IFS
5702 test -z "$as_dir" && as_dir=.
5703 for ac_exec_ext in '' $ac_executable_extensions; do
5704 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5705 ac_cv_prog_STRIP="${ac_tool_prefix}strip"
5706 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5707 break 2
5709 done
5710 done
5711 IFS=$as_save_IFS
5715 STRIP=$ac_cv_prog_STRIP
5716 if test -n "$STRIP"; then
5717 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $STRIP" >&5
5718 $as_echo "$STRIP" >&6; }
5719 else
5720 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5721 $as_echo "no" >&6; }
5726 if test -z "$ac_cv_prog_STRIP"; then
5727 ac_ct_STRIP=$STRIP
5728 # Extract the first word of "strip", so it can be a program name with args.
5729 set dummy strip; ac_word=$2
5730 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5731 $as_echo_n "checking for $ac_word... " >&6; }
5732 if ${ac_cv_prog_ac_ct_STRIP+:} false; then :
5733 $as_echo_n "(cached) " >&6
5734 else
5735 if test -n "$ac_ct_STRIP"; then
5736 ac_cv_prog_ac_ct_STRIP="$ac_ct_STRIP" # Let the user override the test.
5737 else
5738 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5739 for as_dir in $PATH
5741 IFS=$as_save_IFS
5742 test -z "$as_dir" && as_dir=.
5743 for ac_exec_ext in '' $ac_executable_extensions; do
5744 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5745 ac_cv_prog_ac_ct_STRIP="strip"
5746 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5747 break 2
5749 done
5750 done
5751 IFS=$as_save_IFS
5755 ac_ct_STRIP=$ac_cv_prog_ac_ct_STRIP
5756 if test -n "$ac_ct_STRIP"; then
5757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_STRIP" >&5
5758 $as_echo "$ac_ct_STRIP" >&6; }
5759 else
5760 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5761 $as_echo "no" >&6; }
5764 if test "x$ac_ct_STRIP" = x; then
5765 STRIP="strip"
5766 else
5767 case $cross_compiling:$ac_tool_warned in
5768 yes:)
5769 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5770 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5771 ac_tool_warned=yes ;;
5772 esac
5773 STRIP=$ac_ct_STRIP
5775 else
5776 STRIP="$ac_cv_prog_STRIP"
5779 ARFLAGS=rc
5781 if test -n "$ac_tool_prefix"; then
5782 # Extract the first word of "${ac_tool_prefix}ranlib", so it can be a program name with args.
5783 set dummy ${ac_tool_prefix}ranlib; ac_word=$2
5784 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5785 $as_echo_n "checking for $ac_word... " >&6; }
5786 if ${ac_cv_prog_RANLIB+:} false; then :
5787 $as_echo_n "(cached) " >&6
5788 else
5789 if test -n "$RANLIB"; then
5790 ac_cv_prog_RANLIB="$RANLIB" # Let the user override the test.
5791 else
5792 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5793 for as_dir in $PATH
5795 IFS=$as_save_IFS
5796 test -z "$as_dir" && as_dir=.
5797 for ac_exec_ext in '' $ac_executable_extensions; do
5798 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5799 ac_cv_prog_RANLIB="${ac_tool_prefix}ranlib"
5800 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5801 break 2
5803 done
5804 done
5805 IFS=$as_save_IFS
5809 RANLIB=$ac_cv_prog_RANLIB
5810 if test -n "$RANLIB"; then
5811 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RANLIB" >&5
5812 $as_echo "$RANLIB" >&6; }
5813 else
5814 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5815 $as_echo "no" >&6; }
5820 if test -z "$ac_cv_prog_RANLIB"; then
5821 ac_ct_RANLIB=$RANLIB
5822 # Extract the first word of "ranlib", so it can be a program name with args.
5823 set dummy ranlib; ac_word=$2
5824 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
5825 $as_echo_n "checking for $ac_word... " >&6; }
5826 if ${ac_cv_prog_ac_ct_RANLIB+:} false; then :
5827 $as_echo_n "(cached) " >&6
5828 else
5829 if test -n "$ac_ct_RANLIB"; then
5830 ac_cv_prog_ac_ct_RANLIB="$ac_ct_RANLIB" # Let the user override the test.
5831 else
5832 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5833 for as_dir in $PATH
5835 IFS=$as_save_IFS
5836 test -z "$as_dir" && as_dir=.
5837 for ac_exec_ext in '' $ac_executable_extensions; do
5838 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
5839 ac_cv_prog_ac_ct_RANLIB="ranlib"
5840 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
5841 break 2
5843 done
5844 done
5845 IFS=$as_save_IFS
5849 ac_ct_RANLIB=$ac_cv_prog_ac_ct_RANLIB
5850 if test -n "$ac_ct_RANLIB"; then
5851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_RANLIB" >&5
5852 $as_echo "$ac_ct_RANLIB" >&6; }
5853 else
5854 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
5855 $as_echo "no" >&6; }
5858 if test "x$ac_ct_RANLIB" = x; then
5859 RANLIB=":"
5860 else
5861 case $cross_compiling:$ac_tool_warned in
5862 yes:)
5863 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
5864 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
5865 ac_tool_warned=yes ;;
5866 esac
5867 RANLIB=$ac_ct_RANLIB
5869 else
5870 RANLIB="$ac_cv_prog_RANLIB"
5873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether ln -s works" >&5
5874 $as_echo_n "checking whether ln -s works... " >&6; }
5875 LN_S=$as_ln_s
5876 if test "$LN_S" = "ln -s"; then
5877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
5878 $as_echo "yes" >&6; }
5879 else
5880 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no, using $LN_S" >&5
5881 $as_echo "no, using $LN_S" >&6; }
5884 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for grep that handles long lines and -e" >&5
5885 $as_echo_n "checking for grep that handles long lines and -e... " >&6; }
5886 if ${ac_cv_path_GREP+:} false; then :
5887 $as_echo_n "(cached) " >&6
5888 else
5889 if test -z "$GREP"; then
5890 ac_path_GREP_found=false
5891 # Loop through the user's path and test for each of PROGNAME-LIST
5892 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5893 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5895 IFS=$as_save_IFS
5896 test -z "$as_dir" && as_dir=.
5897 for ac_prog in grep ggrep; do
5898 for ac_exec_ext in '' $ac_executable_extensions; do
5899 ac_path_GREP="$as_dir/$ac_prog$ac_exec_ext"
5900 as_fn_executable_p "$ac_path_GREP" || continue
5901 # Check for GNU ac_path_GREP and select it if it is found.
5902 # Check for GNU $ac_path_GREP
5903 case `"$ac_path_GREP" --version 2>&1` in
5904 *GNU*)
5905 ac_cv_path_GREP="$ac_path_GREP" ac_path_GREP_found=:;;
5907 ac_count=0
5908 $as_echo_n 0123456789 >"conftest.in"
5909 while :
5911 cat "conftest.in" "conftest.in" >"conftest.tmp"
5912 mv "conftest.tmp" "conftest.in"
5913 cp "conftest.in" "conftest.nl"
5914 $as_echo 'GREP' >> "conftest.nl"
5915 "$ac_path_GREP" -e 'GREP$' -e '-(cannot match)-' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5916 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5917 as_fn_arith $ac_count + 1 && ac_count=$as_val
5918 if test $ac_count -gt ${ac_path_GREP_max-0}; then
5919 # Best one so far, save it but keep looking for a better one
5920 ac_cv_path_GREP="$ac_path_GREP"
5921 ac_path_GREP_max=$ac_count
5923 # 10*(2^10) chars as input seems more than enough
5924 test $ac_count -gt 10 && break
5925 done
5926 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5927 esac
5929 $ac_path_GREP_found && break 3
5930 done
5931 done
5932 done
5933 IFS=$as_save_IFS
5934 if test -z "$ac_cv_path_GREP"; then
5935 as_fn_error $? "no acceptable grep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
5937 else
5938 ac_cv_path_GREP=$GREP
5942 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_GREP" >&5
5943 $as_echo "$ac_cv_path_GREP" >&6; }
5944 GREP="$ac_cv_path_GREP"
5947 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for egrep" >&5
5948 $as_echo_n "checking for egrep... " >&6; }
5949 if ${ac_cv_path_EGREP+:} false; then :
5950 $as_echo_n "(cached) " >&6
5951 else
5952 if echo a | $GREP -E '(a|b)' >/dev/null 2>&1
5953 then ac_cv_path_EGREP="$GREP -E"
5954 else
5955 if test -z "$EGREP"; then
5956 ac_path_EGREP_found=false
5957 # Loop through the user's path and test for each of PROGNAME-LIST
5958 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
5959 for as_dir in $PATH$PATH_SEPARATOR/usr/xpg4/bin
5961 IFS=$as_save_IFS
5962 test -z "$as_dir" && as_dir=.
5963 for ac_prog in egrep; do
5964 for ac_exec_ext in '' $ac_executable_extensions; do
5965 ac_path_EGREP="$as_dir/$ac_prog$ac_exec_ext"
5966 as_fn_executable_p "$ac_path_EGREP" || continue
5967 # Check for GNU ac_path_EGREP and select it if it is found.
5968 # Check for GNU $ac_path_EGREP
5969 case `"$ac_path_EGREP" --version 2>&1` in
5970 *GNU*)
5971 ac_cv_path_EGREP="$ac_path_EGREP" ac_path_EGREP_found=:;;
5973 ac_count=0
5974 $as_echo_n 0123456789 >"conftest.in"
5975 while :
5977 cat "conftest.in" "conftest.in" >"conftest.tmp"
5978 mv "conftest.tmp" "conftest.in"
5979 cp "conftest.in" "conftest.nl"
5980 $as_echo 'EGREP' >> "conftest.nl"
5981 "$ac_path_EGREP" 'EGREP$' < "conftest.nl" >"conftest.out" 2>/dev/null || break
5982 diff "conftest.out" "conftest.nl" >/dev/null 2>&1 || break
5983 as_fn_arith $ac_count + 1 && ac_count=$as_val
5984 if test $ac_count -gt ${ac_path_EGREP_max-0}; then
5985 # Best one so far, save it but keep looking for a better one
5986 ac_cv_path_EGREP="$ac_path_EGREP"
5987 ac_path_EGREP_max=$ac_count
5989 # 10*(2^10) chars as input seems more than enough
5990 test $ac_count -gt 10 && break
5991 done
5992 rm -f conftest.in conftest.tmp conftest.nl conftest.out;;
5993 esac
5995 $ac_path_EGREP_found && break 3
5996 done
5997 done
5998 done
5999 IFS=$as_save_IFS
6000 if test -z "$ac_cv_path_EGREP"; then
6001 as_fn_error $? "no acceptable egrep could be found in $PATH$PATH_SEPARATOR/usr/xpg4/bin" "$LINENO" 5
6003 else
6004 ac_cv_path_EGREP=$EGREP
6009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_path_EGREP" >&5
6010 $as_echo "$ac_cv_path_EGREP" >&6; }
6011 EGREP="$ac_cv_path_EGREP"
6014 # Extract the first word of "ldconfig", so it can be a program name with args.
6015 set dummy ldconfig; ac_word=$2
6016 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6017 $as_echo_n "checking for $ac_word... " >&6; }
6018 if ${ac_cv_path_LDCONFIG+:} false; then :
6019 $as_echo_n "(cached) " >&6
6020 else
6021 case $LDCONFIG in
6022 [\\/]* | ?:[\\/]*)
6023 ac_cv_path_LDCONFIG="$LDCONFIG" # Let the user override the test with a path.
6026 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6027 for as_dir in /sbin /usr/sbin $PATH
6029 IFS=$as_save_IFS
6030 test -z "$as_dir" && as_dir=.
6031 for ac_exec_ext in '' $ac_executable_extensions; do
6032 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6033 ac_cv_path_LDCONFIG="$as_dir/$ac_word$ac_exec_ext"
6034 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6035 break 2
6037 done
6038 done
6039 IFS=$as_save_IFS
6041 test -z "$ac_cv_path_LDCONFIG" && ac_cv_path_LDCONFIG="true"
6043 esac
6045 LDCONFIG=$ac_cv_path_LDCONFIG
6046 if test -n "$LDCONFIG"; then
6047 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDCONFIG" >&5
6048 $as_echo "$LDCONFIG" >&6; }
6049 else
6050 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6051 $as_echo "no" >&6; }
6055 for ac_prog in msgfmt
6057 # Extract the first word of "$ac_prog", so it can be a program name with args.
6058 set dummy $ac_prog; ac_word=$2
6059 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6060 $as_echo_n "checking for $ac_word... " >&6; }
6061 if ${ac_cv_prog_MSGFMT+:} false; then :
6062 $as_echo_n "(cached) " >&6
6063 else
6064 if test -n "$MSGFMT"; then
6065 ac_cv_prog_MSGFMT="$MSGFMT" # Let the user override the test.
6066 else
6067 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6068 for as_dir in $PATH
6070 IFS=$as_save_IFS
6071 test -z "$as_dir" && as_dir=.
6072 for ac_exec_ext in '' $ac_executable_extensions; do
6073 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6074 ac_cv_prog_MSGFMT="$ac_prog"
6075 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6076 break 2
6078 done
6079 done
6080 IFS=$as_save_IFS
6084 MSGFMT=$ac_cv_prog_MSGFMT
6085 if test -n "$MSGFMT"; then
6086 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $MSGFMT" >&5
6087 $as_echo "$MSGFMT" >&6; }
6088 else
6089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6090 $as_echo "no" >&6; }
6094 test -n "$MSGFMT" && break
6095 done
6096 test -n "$MSGFMT" || MSGFMT="false"
6098 if ${ac_tool_prefix+:} false; then :
6099 # Extract the first word of "${ac_tool_prefix}pkg-config", so it can be a program name with args.
6100 set dummy ${ac_tool_prefix}pkg-config; ac_word=$2
6101 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6102 $as_echo_n "checking for $ac_word... " >&6; }
6103 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6104 $as_echo_n "(cached) " >&6
6105 else
6106 if test -n "$PKG_CONFIG"; then
6107 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6108 else
6109 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6110 for as_dir in $PATH
6112 IFS=$as_save_IFS
6113 test -z "$as_dir" && as_dir=.
6114 for ac_exec_ext in '' $ac_executable_extensions; do
6115 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6116 ac_cv_prog_PKG_CONFIG="${ac_tool_prefix}pkg-config"
6117 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6118 break 2
6120 done
6121 done
6122 IFS=$as_save_IFS
6126 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6127 if test -n "$PKG_CONFIG"; then
6128 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6129 $as_echo "$PKG_CONFIG" >&6; }
6130 else
6131 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6132 $as_echo "no" >&6; }
6137 if ${ac_cv_prog_PKG_CONFIG:+false} :; then :
6138 if test "x$cross_compiling" = xyes; then :
6140 else
6141 { ac_cv_prog_PKG_CONFIG=; unset ac_cv_prog_PKG_CONFIG;}
6142 # Extract the first word of "pkg-config", so it can be a program name with args.
6143 set dummy pkg-config; ac_word=$2
6144 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6145 $as_echo_n "checking for $ac_word... " >&6; }
6146 if ${ac_cv_prog_PKG_CONFIG+:} false; then :
6147 $as_echo_n "(cached) " >&6
6148 else
6149 if test -n "$PKG_CONFIG"; then
6150 ac_cv_prog_PKG_CONFIG="$PKG_CONFIG" # Let the user override the test.
6151 else
6152 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6153 for as_dir in $PATH
6155 IFS=$as_save_IFS
6156 test -z "$as_dir" && as_dir=.
6157 for ac_exec_ext in '' $ac_executable_extensions; do
6158 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6159 ac_cv_prog_PKG_CONFIG="pkg-config"
6160 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6161 break 2
6163 done
6164 done
6165 IFS=$as_save_IFS
6169 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6170 if test -n "$PKG_CONFIG"; then
6171 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PKG_CONFIG" >&5
6172 $as_echo "$PKG_CONFIG" >&6; }
6173 else
6174 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6175 $as_echo "no" >&6; }
6180 else
6181 PKG_CONFIG=$ac_cv_prog_PKG_CONFIG
6184 if test "x$enable_maintainer_mode" != "xyes"
6185 then
6186 FONTFORGE=""
6187 RSVG=""
6188 CONVERT=""
6189 ICOTOOL=""
6190 else
6191 test "$srcdir" = . || as_fn_error $? "Maintainer mode cannot work out of tree." "$LINENO" 5
6192 for ac_prog in fontforge
6194 # Extract the first word of "$ac_prog", so it can be a program name with args.
6195 set dummy $ac_prog; ac_word=$2
6196 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6197 $as_echo_n "checking for $ac_word... " >&6; }
6198 if ${ac_cv_prog_FONTFORGE+:} false; then :
6199 $as_echo_n "(cached) " >&6
6200 else
6201 if test -n "$FONTFORGE"; then
6202 ac_cv_prog_FONTFORGE="$FONTFORGE" # Let the user override the test.
6203 else
6204 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6205 for as_dir in $PATH
6207 IFS=$as_save_IFS
6208 test -z "$as_dir" && as_dir=.
6209 for ac_exec_ext in '' $ac_executable_extensions; do
6210 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6211 ac_cv_prog_FONTFORGE="$ac_prog"
6212 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6213 break 2
6215 done
6216 done
6217 IFS=$as_save_IFS
6221 FONTFORGE=$ac_cv_prog_FONTFORGE
6222 if test -n "$FONTFORGE"; then
6223 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $FONTFORGE" >&5
6224 $as_echo "$FONTFORGE" >&6; }
6225 else
6226 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6227 $as_echo "no" >&6; }
6231 test -n "$FONTFORGE" && break
6232 done
6233 test -n "$FONTFORGE" || FONTFORGE="false"
6235 for ac_prog in rsvg-convert rsvg
6237 # Extract the first word of "$ac_prog", so it can be a program name with args.
6238 set dummy $ac_prog; ac_word=$2
6239 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6240 $as_echo_n "checking for $ac_word... " >&6; }
6241 if ${ac_cv_prog_RSVG+:} false; then :
6242 $as_echo_n "(cached) " >&6
6243 else
6244 if test -n "$RSVG"; then
6245 ac_cv_prog_RSVG="$RSVG" # Let the user override the test.
6246 else
6247 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6248 for as_dir in $PATH
6250 IFS=$as_save_IFS
6251 test -z "$as_dir" && as_dir=.
6252 for ac_exec_ext in '' $ac_executable_extensions; do
6253 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6254 ac_cv_prog_RSVG="$ac_prog"
6255 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6256 break 2
6258 done
6259 done
6260 IFS=$as_save_IFS
6264 RSVG=$ac_cv_prog_RSVG
6265 if test -n "$RSVG"; then
6266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $RSVG" >&5
6267 $as_echo "$RSVG" >&6; }
6268 else
6269 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6270 $as_echo "no" >&6; }
6274 test -n "$RSVG" && break
6275 done
6276 test -n "$RSVG" || RSVG="false"
6278 for ac_prog in convert
6280 # Extract the first word of "$ac_prog", so it can be a program name with args.
6281 set dummy $ac_prog; ac_word=$2
6282 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6283 $as_echo_n "checking for $ac_word... " >&6; }
6284 if ${ac_cv_prog_CONVERT+:} false; then :
6285 $as_echo_n "(cached) " >&6
6286 else
6287 if test -n "$CONVERT"; then
6288 ac_cv_prog_CONVERT="$CONVERT" # Let the user override the test.
6289 else
6290 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6291 for as_dir in $PATH
6293 IFS=$as_save_IFS
6294 test -z "$as_dir" && as_dir=.
6295 for ac_exec_ext in '' $ac_executable_extensions; do
6296 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6297 ac_cv_prog_CONVERT="$ac_prog"
6298 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6299 break 2
6301 done
6302 done
6303 IFS=$as_save_IFS
6307 CONVERT=$ac_cv_prog_CONVERT
6308 if test -n "$CONVERT"; then
6309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CONVERT" >&5
6310 $as_echo "$CONVERT" >&6; }
6311 else
6312 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6313 $as_echo "no" >&6; }
6317 test -n "$CONVERT" && break
6318 done
6319 test -n "$CONVERT" || CONVERT="false"
6321 for ac_prog in icotool
6323 # Extract the first word of "$ac_prog", so it can be a program name with args.
6324 set dummy $ac_prog; ac_word=$2
6325 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
6326 $as_echo_n "checking for $ac_word... " >&6; }
6327 if ${ac_cv_prog_ICOTOOL+:} false; then :
6328 $as_echo_n "(cached) " >&6
6329 else
6330 if test -n "$ICOTOOL"; then
6331 ac_cv_prog_ICOTOOL="$ICOTOOL" # Let the user override the test.
6332 else
6333 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
6334 for as_dir in $PATH
6336 IFS=$as_save_IFS
6337 test -z "$as_dir" && as_dir=.
6338 for ac_exec_ext in '' $ac_executable_extensions; do
6339 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
6340 ac_cv_prog_ICOTOOL="$ac_prog"
6341 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
6342 break 2
6344 done
6345 done
6346 IFS=$as_save_IFS
6350 ICOTOOL=$ac_cv_prog_ICOTOOL
6351 if test -n "$ICOTOOL"; then
6352 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ICOTOOL" >&5
6353 $as_echo "$ICOTOOL" >&6; }
6354 else
6355 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6356 $as_echo "no" >&6; }
6360 test -n "$ICOTOOL" && break
6361 done
6362 test -n "$ICOTOOL" || ICOTOOL="false"
6364 test "$FONTFORGE" != "false" || as_fn_error $? "You need fontforge to rebuild fonts in maintainer mode." "$LINENO" 5
6365 test "$RSVG" != "false" || as_fn_error $? "You need rsvg to rebuild icons in maintainer mode." "$LINENO" 5
6367 if test "$CONVERT" = false
6368 then
6369 as_fn_error $? "You need imagemagick to rebuild icons in maintainer mode." "$LINENO" 5
6370 else
6371 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough imagemagick" >&5
6372 $as_echo_n "checking for recent enough imagemagick... " >&6; }
6373 convert_version=`convert --version | head -n1`
6374 if test "x$convert_version" != "x"
6375 then
6376 convert_version_major=`expr "$convert_version" : '.* \([0-9]*\)\.[0-9]*'`
6377 convert_version_minor=`expr "$convert_version" : '.* [0-9]*\.\([0-9]*\)'`
6378 if test "$convert_version_major" -eq 6 -a "$convert_version_minor" -lt 6
6379 then
6380 CONVERT=false
6383 if test "$CONVERT" = false
6384 then
6385 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($convert_version_major.$convert_version_minor)" >&5
6386 $as_echo "no ($convert_version_major.$convert_version_minor)" >&6; }
6387 as_fn_error $? "You need imagemagick version 6.6 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6388 else
6389 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($convert_version_major.$convert_version_minor)" >&5
6390 $as_echo "yes ($convert_version_major.$convert_version_minor)" >&6; }
6394 if test "$ICOTOOL" = false
6395 then
6396 as_fn_error $? "You need icotool to rebuild icons in maintainer mode." "$LINENO" 5
6397 else
6398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for recent enough icotool" >&5
6399 $as_echo_n "checking for recent enough icotool... " >&6; }
6400 icotool_version=`icotool --version | head -n1`
6401 if test "x$icotool_version" != "x"
6402 then
6403 icotool_version_major=`expr "$icotool_version" : '.* \([0-9]*\)\.[0-9]*'`
6404 icotool_version_minor=`expr "$icotool_version" : '.* [0-9]*\.\([0-9]*\)'`
6405 if test "$icotool_version_major" -eq 0 -a "$icotool_version_minor" -lt 29
6406 then
6407 ICOTOOL=false
6408 as_fn_append wine_warnings "|icotool version 0.29.0 or newer is needed to rebuild icons."
6411 if test "$ICOTOOL" = false
6412 then
6413 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no ($icotool_version_major.$icotool_version_minor)" >&5
6414 $as_echo "no ($icotool_version_major.$icotool_version_minor)" >&6; }
6415 as_fn_error $? "You need icotool version 0.29.0 or newer to rebuild icons in maintainer mode." "$LINENO" 5
6416 else
6417 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes ($icotool_version_major.$icotool_version_minor)" >&5
6418 $as_echo "yes ($icotool_version_major.$icotool_version_minor)" >&6; }
6422 with_gettext=yes
6423 with_gettextpo=yes
6424 { ac_cv_header_gettext_po_h=; unset ac_cv_header_gettext_po_h;}
6427 test "x$with_gettext" != xno || MSGFMT=false
6428 if test "$MSGFMT" != "false"
6429 then
6430 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether msgfmt supports contexts" >&5
6431 $as_echo_n "checking whether msgfmt supports contexts... " >&6; }
6432 cat >conftest.po <<EOF
6433 # comment
6434 msgctxt "ctxt"
6435 msgid "id"
6436 msgstr "str"
6438 if $MSGFMT -o /dev/null conftest.po 2>&5
6439 then
6440 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
6441 $as_echo "yes" >&6; }
6442 else
6443 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
6444 $as_echo "no" >&6; }
6445 MSGFMT=false
6448 if test "$MSGFMT" = false; then :
6449 case "x$with_gettext" in
6450 x) as_fn_append wine_warnings "|gettext tools not found (or too old), translations won't be built." ;;
6451 xno) ;;
6452 *) as_fn_error $? "gettext tools not found (or too old), translations won't be built.
6453 This is an error since --with-gettext was requested." "$LINENO" 5 ;;
6454 esac
6455 enable_po=${enable_po:-no}
6459 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for i386_set_ldt in -li386" >&5
6460 $as_echo_n "checking for i386_set_ldt in -li386... " >&6; }
6461 if ${ac_cv_lib_i386_i386_set_ldt+:} false; then :
6462 $as_echo_n "(cached) " >&6
6463 else
6464 ac_check_lib_save_LIBS=$LIBS
6465 LIBS="-li386 $LIBS"
6466 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6467 /* end confdefs.h. */
6469 /* Override any GCC internal prototype to avoid an error.
6470 Use char because int might match the return type of a GCC
6471 builtin and then its argument prototype would still apply. */
6472 #ifdef __cplusplus
6473 extern "C"
6474 #endif
6475 char i386_set_ldt ();
6477 main ()
6479 return i386_set_ldt ();
6481 return 0;
6483 _ACEOF
6484 if ac_fn_c_try_link "$LINENO"; then :
6485 ac_cv_lib_i386_i386_set_ldt=yes
6486 else
6487 ac_cv_lib_i386_i386_set_ldt=no
6489 rm -f core conftest.err conftest.$ac_objext \
6490 conftest$ac_exeext conftest.$ac_ext
6491 LIBS=$ac_check_lib_save_LIBS
6493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_i386_i386_set_ldt" >&5
6494 $as_echo "$ac_cv_lib_i386_i386_set_ldt" >&6; }
6495 if test "x$ac_cv_lib_i386_i386_set_ldt" = xyes; then :
6496 cat >>confdefs.h <<_ACEOF
6497 #define HAVE_LIBI386 1
6498 _ACEOF
6500 LIBS="-li386 $LIBS"
6504 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _oss_ioctl in -lossaudio" >&5
6505 $as_echo_n "checking for _oss_ioctl in -lossaudio... " >&6; }
6506 if ${ac_cv_lib_ossaudio__oss_ioctl+:} false; then :
6507 $as_echo_n "(cached) " >&6
6508 else
6509 ac_check_lib_save_LIBS=$LIBS
6510 LIBS="-lossaudio $LIBS"
6511 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6512 /* end confdefs.h. */
6514 /* Override any GCC internal prototype to avoid an error.
6515 Use char because int might match the return type of a GCC
6516 builtin and then its argument prototype would still apply. */
6517 #ifdef __cplusplus
6518 extern "C"
6519 #endif
6520 char _oss_ioctl ();
6522 main ()
6524 return _oss_ioctl ();
6526 return 0;
6528 _ACEOF
6529 if ac_fn_c_try_link "$LINENO"; then :
6530 ac_cv_lib_ossaudio__oss_ioctl=yes
6531 else
6532 ac_cv_lib_ossaudio__oss_ioctl=no
6534 rm -f core conftest.err conftest.$ac_objext \
6535 conftest$ac_exeext conftest.$ac_ext
6536 LIBS=$ac_check_lib_save_LIBS
6538 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ossaudio__oss_ioctl" >&5
6539 $as_echo "$ac_cv_lib_ossaudio__oss_ioctl" >&6; }
6540 if test "x$ac_cv_lib_ossaudio__oss_ioctl" = xyes; then :
6541 cat >>confdefs.h <<_ACEOF
6542 #define HAVE_LIBOSSAUDIO 1
6543 _ACEOF
6545 LIBS="-lossaudio $LIBS"
6550 OPENGL_LIBS=""
6554 # Check whether --enable-largefile was given.
6555 if test "${enable_largefile+set}" = set; then :
6556 enableval=$enable_largefile;
6559 if test "$enable_largefile" != no; then
6561 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for special C compiler options needed for large files" >&5
6562 $as_echo_n "checking for special C compiler options needed for large files... " >&6; }
6563 if ${ac_cv_sys_largefile_CC+:} false; then :
6564 $as_echo_n "(cached) " >&6
6565 else
6566 ac_cv_sys_largefile_CC=no
6567 if test "$GCC" != yes; then
6568 ac_save_CC=$CC
6569 while :; do
6570 # IRIX 6.2 and later do not support large files by default,
6571 # so use the C compiler's -n32 option if that helps.
6572 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6573 /* end confdefs.h. */
6574 #include <sys/types.h>
6575 /* Check that off_t can represent 2**63 - 1 correctly.
6576 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6577 since some C++ compilers masquerading as C compilers
6578 incorrectly reject 9223372036854775807. */
6579 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6580 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6581 && LARGE_OFF_T % 2147483647 == 1)
6582 ? 1 : -1];
6584 main ()
6588 return 0;
6590 _ACEOF
6591 if ac_fn_c_try_compile "$LINENO"; then :
6592 break
6594 rm -f core conftest.err conftest.$ac_objext
6595 CC="$CC -n32"
6596 if ac_fn_c_try_compile "$LINENO"; then :
6597 ac_cv_sys_largefile_CC=' -n32'; break
6599 rm -f core conftest.err conftest.$ac_objext
6600 break
6601 done
6602 CC=$ac_save_CC
6603 rm -f conftest.$ac_ext
6606 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_largefile_CC" >&5
6607 $as_echo "$ac_cv_sys_largefile_CC" >&6; }
6608 if test "$ac_cv_sys_largefile_CC" != no; then
6609 CC=$CC$ac_cv_sys_largefile_CC
6612 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _FILE_OFFSET_BITS value needed for large files" >&5
6613 $as_echo_n "checking for _FILE_OFFSET_BITS value needed for large files... " >&6; }
6614 if ${ac_cv_sys_file_offset_bits+:} false; then :
6615 $as_echo_n "(cached) " >&6
6616 else
6617 while :; do
6618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6619 /* end confdefs.h. */
6620 #include <sys/types.h>
6621 /* Check that off_t can represent 2**63 - 1 correctly.
6622 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6623 since some C++ compilers masquerading as C compilers
6624 incorrectly reject 9223372036854775807. */
6625 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6626 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6627 && LARGE_OFF_T % 2147483647 == 1)
6628 ? 1 : -1];
6630 main ()
6634 return 0;
6636 _ACEOF
6637 if ac_fn_c_try_compile "$LINENO"; then :
6638 ac_cv_sys_file_offset_bits=no; break
6640 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6642 /* end confdefs.h. */
6643 #define _FILE_OFFSET_BITS 64
6644 #include <sys/types.h>
6645 /* Check that off_t can represent 2**63 - 1 correctly.
6646 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6647 since some C++ compilers masquerading as C compilers
6648 incorrectly reject 9223372036854775807. */
6649 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6650 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6651 && LARGE_OFF_T % 2147483647 == 1)
6652 ? 1 : -1];
6654 main ()
6658 return 0;
6660 _ACEOF
6661 if ac_fn_c_try_compile "$LINENO"; then :
6662 ac_cv_sys_file_offset_bits=64; break
6664 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6665 ac_cv_sys_file_offset_bits=unknown
6666 break
6667 done
6669 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_file_offset_bits" >&5
6670 $as_echo "$ac_cv_sys_file_offset_bits" >&6; }
6671 case $ac_cv_sys_file_offset_bits in #(
6672 no | unknown) ;;
6674 cat >>confdefs.h <<_ACEOF
6675 #define _FILE_OFFSET_BITS $ac_cv_sys_file_offset_bits
6676 _ACEOF
6678 esac
6679 rm -rf conftest*
6680 if test $ac_cv_sys_file_offset_bits = unknown; then
6681 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for _LARGE_FILES value needed for large files" >&5
6682 $as_echo_n "checking for _LARGE_FILES value needed for large files... " >&6; }
6683 if ${ac_cv_sys_large_files+:} false; then :
6684 $as_echo_n "(cached) " >&6
6685 else
6686 while :; do
6687 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6688 /* end confdefs.h. */
6689 #include <sys/types.h>
6690 /* Check that off_t can represent 2**63 - 1 correctly.
6691 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6692 since some C++ compilers masquerading as C compilers
6693 incorrectly reject 9223372036854775807. */
6694 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6695 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6696 && LARGE_OFF_T % 2147483647 == 1)
6697 ? 1 : -1];
6699 main ()
6703 return 0;
6705 _ACEOF
6706 if ac_fn_c_try_compile "$LINENO"; then :
6707 ac_cv_sys_large_files=no; break
6709 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6710 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6711 /* end confdefs.h. */
6712 #define _LARGE_FILES 1
6713 #include <sys/types.h>
6714 /* Check that off_t can represent 2**63 - 1 correctly.
6715 We can't simply define LARGE_OFF_T to be 9223372036854775807,
6716 since some C++ compilers masquerading as C compilers
6717 incorrectly reject 9223372036854775807. */
6718 #define LARGE_OFF_T ((((off_t) 1 << 31) << 31) - 1 + (((off_t) 1 << 31) << 31))
6719 int off_t_is_large[(LARGE_OFF_T % 2147483629 == 721
6720 && LARGE_OFF_T % 2147483647 == 1)
6721 ? 1 : -1];
6723 main ()
6727 return 0;
6729 _ACEOF
6730 if ac_fn_c_try_compile "$LINENO"; then :
6731 ac_cv_sys_large_files=1; break
6733 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6734 ac_cv_sys_large_files=unknown
6735 break
6736 done
6738 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_sys_large_files" >&5
6739 $as_echo "$ac_cv_sys_large_files" >&6; }
6740 case $ac_cv_sys_large_files in #(
6741 no | unknown) ;;
6743 cat >>confdefs.h <<_ACEOF
6744 #define _LARGE_FILES $ac_cv_sys_large_files
6745 _ACEOF
6747 esac
6748 rm -rf conftest*
6755 ac_ext=c
6756 ac_cpp='$CPP $CPPFLAGS'
6757 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6758 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6759 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6760 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to run the C preprocessor" >&5
6761 $as_echo_n "checking how to run the C preprocessor... " >&6; }
6762 # On Suns, sometimes $CPP names a directory.
6763 if test -n "$CPP" && test -d "$CPP"; then
6764 CPP=
6766 if test -z "$CPP"; then
6767 if ${ac_cv_prog_CPP+:} false; then :
6768 $as_echo_n "(cached) " >&6
6769 else
6770 # Double quotes because CPP needs to be expanded
6771 for CPP in "$CC -E" "$CC -E -traditional-cpp" "/lib/cpp"
6773 ac_preproc_ok=false
6774 for ac_c_preproc_warn_flag in '' yes
6776 # Use a header file that comes with gcc, so configuring glibc
6777 # with a fresh cross-compiler works.
6778 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6779 # <limits.h> exists even on freestanding compilers.
6780 # On the NeXT, cc -E runs the code through the compiler's parser,
6781 # not just through cpp. "Syntax error" is here to catch this case.
6782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6783 /* end confdefs.h. */
6784 #ifdef __STDC__
6785 # include <limits.h>
6786 #else
6787 # include <assert.h>
6788 #endif
6789 Syntax error
6790 _ACEOF
6791 if ac_fn_c_try_cpp "$LINENO"; then :
6793 else
6794 # Broken: fails on valid input.
6795 continue
6797 rm -f conftest.err conftest.i conftest.$ac_ext
6799 # OK, works on sane cases. Now check whether nonexistent headers
6800 # can be detected and how.
6801 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6802 /* end confdefs.h. */
6803 #include <ac_nonexistent.h>
6804 _ACEOF
6805 if ac_fn_c_try_cpp "$LINENO"; then :
6806 # Broken: success on invalid input.
6807 continue
6808 else
6809 # Passes both tests.
6810 ac_preproc_ok=:
6811 break
6813 rm -f conftest.err conftest.i conftest.$ac_ext
6815 done
6816 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6817 rm -f conftest.i conftest.err conftest.$ac_ext
6818 if $ac_preproc_ok; then :
6819 break
6822 done
6823 ac_cv_prog_CPP=$CPP
6826 CPP=$ac_cv_prog_CPP
6827 else
6828 ac_cv_prog_CPP=$CPP
6830 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CPP" >&5
6831 $as_echo "$CPP" >&6; }
6832 ac_preproc_ok=false
6833 for ac_c_preproc_warn_flag in '' yes
6835 # Use a header file that comes with gcc, so configuring glibc
6836 # with a fresh cross-compiler works.
6837 # Prefer <limits.h> to <assert.h> if __STDC__ is defined, since
6838 # <limits.h> exists even on freestanding compilers.
6839 # On the NeXT, cc -E runs the code through the compiler's parser,
6840 # not just through cpp. "Syntax error" is here to catch this case.
6841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6842 /* end confdefs.h. */
6843 #ifdef __STDC__
6844 # include <limits.h>
6845 #else
6846 # include <assert.h>
6847 #endif
6848 Syntax error
6849 _ACEOF
6850 if ac_fn_c_try_cpp "$LINENO"; then :
6852 else
6853 # Broken: fails on valid input.
6854 continue
6856 rm -f conftest.err conftest.i conftest.$ac_ext
6858 # OK, works on sane cases. Now check whether nonexistent headers
6859 # can be detected and how.
6860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6861 /* end confdefs.h. */
6862 #include <ac_nonexistent.h>
6863 _ACEOF
6864 if ac_fn_c_try_cpp "$LINENO"; then :
6865 # Broken: success on invalid input.
6866 continue
6867 else
6868 # Passes both tests.
6869 ac_preproc_ok=:
6870 break
6872 rm -f conftest.err conftest.i conftest.$ac_ext
6874 done
6875 # Because of `break', _AC_PREPROC_IFELSE's cleaning code was skipped.
6876 rm -f conftest.i conftest.err conftest.$ac_ext
6877 if $ac_preproc_ok; then :
6879 else
6880 { { $as_echo "$as_me:${as_lineno-$LINENO}: error: in \`$ac_pwd':" >&5
6881 $as_echo "$as_me: error: in \`$ac_pwd':" >&2;}
6882 as_fn_error $? "C preprocessor \"$CPP\" fails sanity check
6883 See \`config.log' for more details" "$LINENO" 5; }
6886 ac_ext=c
6887 ac_cpp='$CPP $CPPFLAGS'
6888 ac_compile='$CC -c $CFLAGS $CPPFLAGS conftest.$ac_ext >&5'
6889 ac_link='$CC -o conftest$ac_exeext $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS >&5'
6890 ac_compiler_gnu=$ac_cv_c_compiler_gnu
6893 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ANSI C header files" >&5
6894 $as_echo_n "checking for ANSI C header files... " >&6; }
6895 if ${ac_cv_header_stdc+:} false; then :
6896 $as_echo_n "(cached) " >&6
6897 else
6898 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6899 /* end confdefs.h. */
6900 #include <stdlib.h>
6901 #include <stdarg.h>
6902 #include <string.h>
6903 #include <float.h>
6906 main ()
6910 return 0;
6912 _ACEOF
6913 if ac_fn_c_try_compile "$LINENO"; then :
6914 ac_cv_header_stdc=yes
6915 else
6916 ac_cv_header_stdc=no
6918 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
6920 if test $ac_cv_header_stdc = yes; then
6921 # SunOS 4.x string.h does not declare mem*, contrary to ANSI.
6922 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6923 /* end confdefs.h. */
6924 #include <string.h>
6926 _ACEOF
6927 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6928 $EGREP "memchr" >/dev/null 2>&1; then :
6930 else
6931 ac_cv_header_stdc=no
6933 rm -f conftest*
6937 if test $ac_cv_header_stdc = yes; then
6938 # ISC 2.0.2 stdlib.h does not declare free, contrary to ANSI.
6939 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6940 /* end confdefs.h. */
6941 #include <stdlib.h>
6943 _ACEOF
6944 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
6945 $EGREP "free" >/dev/null 2>&1; then :
6947 else
6948 ac_cv_header_stdc=no
6950 rm -f conftest*
6954 if test $ac_cv_header_stdc = yes; then
6955 # /bin/cc in Irix-4.0.5 gets non-ANSI ctype macros unless using -ansi.
6956 if test "$cross_compiling" = yes; then :
6958 else
6959 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
6960 /* end confdefs.h. */
6961 #include <ctype.h>
6962 #include <stdlib.h>
6963 #if ((' ' & 0x0FF) == 0x020)
6964 # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
6965 # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
6966 #else
6967 # define ISLOWER(c) \
6968 (('a' <= (c) && (c) <= 'i') \
6969 || ('j' <= (c) && (c) <= 'r') \
6970 || ('s' <= (c) && (c) <= 'z'))
6971 # define TOUPPER(c) (ISLOWER(c) ? ((c) | 0x40) : (c))
6972 #endif
6974 #define XOR(e, f) (((e) && !(f)) || (!(e) && (f)))
6976 main ()
6978 int i;
6979 for (i = 0; i < 256; i++)
6980 if (XOR (islower (i), ISLOWER (i))
6981 || toupper (i) != TOUPPER (i))
6982 return 2;
6983 return 0;
6985 _ACEOF
6986 if ac_fn_c_try_run "$LINENO"; then :
6988 else
6989 ac_cv_header_stdc=no
6991 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
6992 conftest.$ac_objext conftest.beam conftest.$ac_ext
6997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stdc" >&5
6998 $as_echo "$ac_cv_header_stdc" >&6; }
6999 if test $ac_cv_header_stdc = yes; then
7001 $as_echo "#define STDC_HEADERS 1" >>confdefs.h
7005 # On IRIX 5.3, sys/types and inttypes.h are conflicting.
7006 for ac_header in sys/types.h sys/stat.h stdlib.h string.h memory.h strings.h \
7007 inttypes.h stdint.h unistd.h
7008 do :
7009 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7010 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default
7012 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7013 cat >>confdefs.h <<_ACEOF
7014 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7015 _ACEOF
7019 done
7022 for ac_header in \
7023 AL/al.h \
7024 ApplicationServices/ApplicationServices.h \
7025 AudioToolbox/AudioConverter.h \
7026 AudioUnit/AudioUnit.h \
7027 AudioUnit/AudioComponent.h \
7028 CL/cl.h \
7029 Carbon/Carbon.h \
7030 CommonCrypto/CommonCryptor.h \
7031 CoreAudio/CoreAudio.h \
7032 CoreServices/CoreServices.h \
7033 DiskArbitration/DiskArbitration.h \
7034 EGL/egl.h \
7035 IOKit/IOKitLib.h \
7036 IOKit/hid/IOHIDLib.h \
7037 OpenAL/al.h \
7038 OpenCL/opencl.h \
7039 QuickTime/ImageCompression.h \
7040 Security/Security.h \
7041 alias.h \
7042 alsa/asoundlib.h \
7043 arpa/inet.h \
7044 arpa/nameser.h \
7045 asm/types.h \
7046 asm/user.h \
7047 curses.h \
7048 direct.h \
7049 dirent.h \
7050 dlfcn.h \
7051 elf.h \
7052 float.h \
7053 fnmatch.h \
7054 getopt.h \
7055 gettext-po.h \
7056 grp.h \
7057 gsm.h \
7058 gsm/gsm.h \
7059 ieeefp.h \
7060 inet/mib2.h \
7061 io.h \
7062 kstat.h \
7063 libproc.h \
7064 link.h \
7065 linux/cdrom.h \
7066 linux/compiler.h \
7067 linux/filter.h \
7068 linux/hdreg.h \
7069 linux/hidraw.h \
7070 linux/input.h \
7071 linux/ioctl.h \
7072 linux/joystick.h \
7073 linux/major.h \
7074 linux/param.h \
7075 linux/serial.h \
7076 linux/types.h \
7077 linux/ucdrom.h \
7078 lwp.h \
7079 mach-o/nlist.h \
7080 mach-o/loader.h \
7081 mach/mach.h \
7082 mach/machine.h \
7083 machine/cpu.h \
7084 machine/limits.h \
7085 machine/sysarch.h \
7086 mntent.h \
7087 ncurses.h \
7088 netdb.h \
7089 netinet/in.h \
7090 netinet/in_systm.h \
7091 netinet/tcp.h \
7092 netinet/tcp_fsm.h \
7093 pcap/pcap.h \
7094 poll.h \
7095 port.h \
7096 process.h \
7097 pthread.h \
7098 pwd.h \
7099 sched.h \
7100 scsi/scsi.h \
7101 scsi/scsi_ioctl.h \
7102 scsi/sg.h \
7103 stdbool.h \
7104 stdint.h \
7105 stropts.h \
7106 sys/asoundlib.h \
7107 sys/attr.h \
7108 sys/auxv.h \
7109 sys/cdio.h \
7110 sys/elf32.h \
7111 sys/epoll.h \
7112 sys/event.h \
7113 sys/exec_elf.h \
7114 sys/filio.h \
7115 sys/inotify.h \
7116 sys/ioctl.h \
7117 sys/ipc.h \
7118 sys/limits.h \
7119 sys/link.h \
7120 sys/mman.h \
7121 sys/modem.h \
7122 sys/msg.h \
7123 sys/mtio.h \
7124 sys/param.h \
7125 sys/poll.h \
7126 sys/prctl.h \
7127 sys/protosw.h \
7128 sys/ptrace.h \
7129 sys/queue.h \
7130 sys/resource.h \
7131 sys/scsiio.h \
7132 sys/shm.h \
7133 sys/signal.h \
7134 sys/socket.h \
7135 sys/socketvar.h \
7136 sys/sockio.h \
7137 sys/statvfs.h \
7138 sys/strtio.h \
7139 sys/syscall.h \
7140 sys/sysinfo.h \
7141 sys/tihdr.h \
7142 sys/time.h \
7143 sys/timeout.h \
7144 sys/times.h \
7145 sys/uio.h \
7146 sys/user.h \
7147 sys/utsname.h \
7148 sys/vnode.h \
7149 sys/wait.h \
7150 syscall.h \
7151 termios.h \
7152 unistd.h \
7153 utime.h \
7154 valgrind/memcheck.h \
7155 valgrind/valgrind.h \
7156 zlib.h
7158 do :
7159 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7160 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
7161 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7162 cat >>confdefs.h <<_ACEOF
7163 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7164 _ACEOF
7168 done
7170 ac_fn_c_check_header_mongrel "$LINENO" "sys/mkdev.h" "ac_cv_header_sys_mkdev_h" "$ac_includes_default"
7171 if test "x$ac_cv_header_sys_mkdev_h" = xyes; then :
7173 $as_echo "#define MAJOR_IN_MKDEV 1" >>confdefs.h
7178 if test $ac_cv_header_sys_mkdev_h = no; then
7179 ac_fn_c_check_header_mongrel "$LINENO" "sys/sysmacros.h" "ac_cv_header_sys_sysmacros_h" "$ac_includes_default"
7180 if test "x$ac_cv_header_sys_sysmacros_h" = xyes; then :
7182 $as_echo "#define MAJOR_IN_SYSMACROS 1" >>confdefs.h
7188 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether stat file-mode macros are broken" >&5
7189 $as_echo_n "checking whether stat file-mode macros are broken... " >&6; }
7190 if ${ac_cv_header_stat_broken+:} false; then :
7191 $as_echo_n "(cached) " >&6
7192 else
7193 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7194 /* end confdefs.h. */
7195 #include <sys/types.h>
7196 #include <sys/stat.h>
7198 #if defined S_ISBLK && defined S_IFDIR
7199 extern char c1[S_ISBLK (S_IFDIR) ? -1 : 1];
7200 #endif
7202 #if defined S_ISBLK && defined S_IFCHR
7203 extern char c2[S_ISBLK (S_IFCHR) ? -1 : 1];
7204 #endif
7206 #if defined S_ISLNK && defined S_IFREG
7207 extern char c3[S_ISLNK (S_IFREG) ? -1 : 1];
7208 #endif
7210 #if defined S_ISSOCK && defined S_IFREG
7211 extern char c4[S_ISSOCK (S_IFREG) ? -1 : 1];
7212 #endif
7214 _ACEOF
7215 if ac_fn_c_try_compile "$LINENO"; then :
7216 ac_cv_header_stat_broken=no
7217 else
7218 ac_cv_header_stat_broken=yes
7220 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
7222 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_header_stat_broken" >&5
7223 $as_echo "$ac_cv_header_stat_broken" >&6; }
7224 if test $ac_cv_header_stat_broken = yes; then
7226 $as_echo "#define STAT_MACROS_BROKEN 1" >>confdefs.h
7232 for ac_header in sys/mount.h sys/statfs.h sys/sysctl.h sys/user.h sys/vfs.h
7233 do :
7234 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7235 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7236 #ifdef HAVE_SYS_PARAM_H
7237 # include <sys/param.h>
7238 #endif
7240 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7241 cat >>confdefs.h <<_ACEOF
7242 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7243 _ACEOF
7247 done
7250 for ac_header in \
7251 netinet/ip.h \
7252 net/if.h \
7253 net/if_arp.h \
7254 net/if_dl.h \
7255 net/if_types.h \
7256 net/route.h \
7257 netinet/if_ether.h \
7258 netinet/if_inarp.h \
7259 netinet/in_pcb.h \
7260 netinet/ip_icmp.h \
7261 netinet/ip_var.h \
7262 netinet/udp.h \
7263 netipx/ipx.h \
7264 sys/un.h \
7266 do :
7267 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7268 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7269 #ifdef HAVE_SYS_SOCKET_H
7270 # include <sys/socket.h>
7271 #endif
7272 #ifdef HAVE_SYS_SOCKETVAR_H
7273 # include <sys/socketvar.h>
7274 #endif
7275 #ifdef HAVE_NET_ROUTE_H
7276 # include <net/route.h>
7277 #endif
7278 #ifdef HAVE_NETINET_IN_H
7279 # include <netinet/in.h>
7280 #endif
7281 #ifdef HAVE_NETINET_IN_SYSTM_H
7282 # include <netinet/in_systm.h>
7283 #endif
7284 #ifdef HAVE_NET_IF_H
7285 # include <net/if.h>
7286 #endif
7287 #ifdef HAVE_NETINET_IP_H
7288 # include <netinet/ip.h>
7289 #endif
7291 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7292 cat >>confdefs.h <<_ACEOF
7293 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7294 _ACEOF
7298 done
7301 for ac_header in netinet/tcp_timer.h netinet/udp_var.h netinet/icmp_var.h netinet/tcp_var.h
7302 do :
7303 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7304 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7305 #ifdef HAVE_ALIAS_H
7306 # include <alias.h>
7307 #endif
7308 #ifdef HAVE_SYS_SOCKET_H
7309 # include <sys/socket.h>
7310 #endif
7311 #ifdef HAVE_SYS_SOCKETVAR_H
7312 # include <sys/socketvar.h>
7313 #endif
7314 #ifdef HAVE_SYS_TIMEOUT_H
7315 # include <sys/timeout.h>
7316 #endif
7317 #ifdef HAVE_NETINET_IN_H
7318 # include <netinet/in.h>
7319 #endif
7320 #ifdef HAVE_NETINET_IN_SYSTM_H
7321 # include <netinet/in_systm.h>
7322 #endif
7323 #ifdef HAVE_NETINET_IP_H
7324 # include <netinet/ip.h>
7325 #endif
7326 #ifdef HAVE_NETINET_IP_VAR_H
7327 # include <netinet/ip_var.h>
7328 #endif
7329 #ifdef HAVE_NETINET_IP_ICMP_H
7330 # include <netinet/ip_icmp.h>
7331 #endif
7332 #ifdef HAVE_NETINET_UDP_H
7333 # include <netinet/udp.h>
7334 #endif
7335 #ifdef HAVE_NETINET_TCP_H
7336 # include <netinet/tcp.h>
7337 #endif
7338 #ifdef HAVE_NETINET_TCP_TIMER_H
7339 #include <netinet/tcp_timer.h>
7340 #endif
7342 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7343 cat >>confdefs.h <<_ACEOF
7344 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7345 _ACEOF
7349 done
7352 for ac_header in linux/ipx.h linux/irda.h linux/rtnetlink.h
7353 do :
7354 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7355 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#include <sys/types.h>
7356 #ifdef HAVE_ASM_TYPES_H
7357 # include <asm/types.h>
7358 #endif
7359 #ifdef HAVE_SYS_SOCKET_H
7360 # include <sys/socket.h>
7361 #endif
7362 #ifdef HAVE_LINUX_TYPES_H
7363 # include <linux/types.h>
7364 #endif
7366 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7367 cat >>confdefs.h <<_ACEOF
7368 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7369 _ACEOF
7373 done
7376 for ac_header in mach-o/dyld_images.h
7377 do :
7378 ac_fn_c_check_header_compile "$LINENO" "mach-o/dyld_images.h" "ac_cv_header_mach_o_dyld_images_h" "#ifdef HAVE_STDBOOL_H
7379 # include <stdbool.h>
7380 #endif
7381 #ifdef HAVE_STDINT_H
7382 # include <stdint.h>
7383 #endif
7385 if test "x$ac_cv_header_mach_o_dyld_images_h" = xyes; then :
7386 cat >>confdefs.h <<_ACEOF
7387 #define HAVE_MACH_O_DYLD_IMAGES_H 1
7388 _ACEOF
7392 done
7395 for ac_header in resolv.h
7396 do :
7397 ac_fn_c_check_header_compile "$LINENO" "resolv.h" "ac_cv_header_resolv_h" "#include <sys/types.h>
7398 #ifdef HAVE_SYS_SOCKET_H
7399 # include <sys/socket.h>
7400 #endif
7401 #ifdef HAVE_NETINET_IN_H
7402 # include <netinet/in.h>
7403 #endif
7404 #ifdef HAVE_ARPA_NAMESER_H
7405 # include <arpa/nameser.h>
7406 #endif
7408 if test "x$ac_cv_header_resolv_h" = xyes; then :
7409 cat >>confdefs.h <<_ACEOF
7410 #define HAVE_RESOLV_H 1
7411 _ACEOF
7415 done
7418 for ac_header in ifaddrs.h
7419 do :
7420 ac_fn_c_check_header_compile "$LINENO" "ifaddrs.h" "ac_cv_header_ifaddrs_h" "#include <sys/types.h>
7422 if test "x$ac_cv_header_ifaddrs_h" = xyes; then :
7423 cat >>confdefs.h <<_ACEOF
7424 #define HAVE_IFADDRS_H 1
7425 _ACEOF
7429 done
7432 for ac_header in sys/ucontext.h
7433 do :
7434 ac_fn_c_check_header_compile "$LINENO" "sys/ucontext.h" "ac_cv_header_sys_ucontext_h" "#include <signal.h>
7436 if test "x$ac_cv_header_sys_ucontext_h" = xyes; then :
7437 cat >>confdefs.h <<_ACEOF
7438 #define HAVE_SYS_UCONTEXT_H 1
7439 _ACEOF
7443 done
7446 for ac_header in sys/thr.h
7447 do :
7448 ac_fn_c_check_header_compile "$LINENO" "sys/thr.h" "ac_cv_header_sys_thr_h" "#include <sys/types.h>
7449 #ifdef HAVE_SYS_UCONTEXT_H
7450 #include <sys/ucontext.h>
7451 #endif
7453 if test "x$ac_cv_header_sys_thr_h" = xyes; then :
7454 cat >>confdefs.h <<_ACEOF
7455 #define HAVE_SYS_THR_H 1
7456 _ACEOF
7460 done
7463 for ac_header in pthread_np.h
7464 do :
7465 ac_fn_c_check_header_compile "$LINENO" "pthread_np.h" "ac_cv_header_pthread_np_h" "#ifdef HAVE_PTHREAD_H
7466 #include <pthread.h>
7467 #endif
7469 if test "x$ac_cv_header_pthread_np_h" = xyes; then :
7470 cat >>confdefs.h <<_ACEOF
7471 #define HAVE_PTHREAD_NP_H 1
7472 _ACEOF
7476 done
7479 for ac_header in linux/videodev.h linux/videodev2.h libv4l1.h
7480 do :
7481 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
7482 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_SYS_TIME_H
7483 #include <sys/time.h>
7484 #endif
7485 #include <sys/types.h>
7486 #ifdef HAVE_ASM_TYPES_H
7487 #include <asm/types.h>
7488 #endif
7490 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
7491 cat >>confdefs.h <<_ACEOF
7492 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
7493 _ACEOF
7497 done
7500 for ac_header in libprocstat.h
7501 do :
7502 ac_fn_c_check_header_compile "$LINENO" "libprocstat.h" "ac_cv_header_libprocstat_h" "#ifdef HAVE_SYS_PARAM_H
7503 #include <sys/param.h>
7504 #endif
7505 #ifdef HAVE_SYS_QUEUE_H
7506 #include <sys/queue.h>
7507 #endif
7508 #ifdef HAVE_SYS_SOCKET_H
7509 #include <sys/socket.h>
7510 #endif
7512 if test "x$ac_cv_header_libprocstat_h" = xyes; then :
7513 cat >>confdefs.h <<_ACEOF
7514 #define HAVE_LIBPROCSTAT_H 1
7515 _ACEOF
7519 done
7523 DLLFLAGS="-D_REENTRANT"
7525 LDRPATH_INSTALL=""
7527 LDRPATH_LOCAL=""
7529 LDEXECFLAGS=""
7531 WINELOADER_LDFLAGS=""
7533 LIBEXT="so"
7534 DLLEXT=".so"
7535 IMPLIBEXT="def"
7536 # Extract the first word of "ldd", so it can be a program name with args.
7537 set dummy ldd; ac_word=$2
7538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7539 $as_echo_n "checking for $ac_word... " >&6; }
7540 if ${ac_cv_path_LDD+:} false; then :
7541 $as_echo_n "(cached) " >&6
7542 else
7543 case $LDD in
7544 [\\/]* | ?:[\\/]*)
7545 ac_cv_path_LDD="$LDD" # Let the user override the test with a path.
7548 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7549 as_dummy="/sbin:/usr/sbin:$PATH"
7550 for as_dir in $as_dummy
7552 IFS=$as_save_IFS
7553 test -z "$as_dir" && as_dir=.
7554 for ac_exec_ext in '' $ac_executable_extensions; do
7555 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7556 ac_cv_path_LDD="$as_dir/$ac_word$ac_exec_ext"
7557 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7558 break 2
7560 done
7561 done
7562 IFS=$as_save_IFS
7564 test -z "$ac_cv_path_LDD" && ac_cv_path_LDD="true"
7566 esac
7568 LDD=$ac_cv_path_LDD
7569 if test -n "$LDD"; then
7570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $LDD" >&5
7571 $as_echo "$LDD" >&6; }
7572 else
7573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7574 $as_echo "no" >&6; }
7578 if test -n "$ac_tool_prefix"; then
7579 # Extract the first word of "${ac_tool_prefix}otool", so it can be a program name with args.
7580 set dummy ${ac_tool_prefix}otool; ac_word=$2
7581 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7582 $as_echo_n "checking for $ac_word... " >&6; }
7583 if ${ac_cv_prog_OTOOL+:} false; then :
7584 $as_echo_n "(cached) " >&6
7585 else
7586 if test -n "$OTOOL"; then
7587 ac_cv_prog_OTOOL="$OTOOL" # Let the user override the test.
7588 else
7589 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7590 for as_dir in $PATH
7592 IFS=$as_save_IFS
7593 test -z "$as_dir" && as_dir=.
7594 for ac_exec_ext in '' $ac_executable_extensions; do
7595 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7596 ac_cv_prog_OTOOL="${ac_tool_prefix}otool"
7597 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7598 break 2
7600 done
7601 done
7602 IFS=$as_save_IFS
7606 OTOOL=$ac_cv_prog_OTOOL
7607 if test -n "$OTOOL"; then
7608 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $OTOOL" >&5
7609 $as_echo "$OTOOL" >&6; }
7610 else
7611 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7612 $as_echo "no" >&6; }
7617 if test -z "$ac_cv_prog_OTOOL"; then
7618 ac_ct_OTOOL=$OTOOL
7619 # Extract the first word of "otool", so it can be a program name with args.
7620 set dummy otool; ac_word=$2
7621 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7622 $as_echo_n "checking for $ac_word... " >&6; }
7623 if ${ac_cv_prog_ac_ct_OTOOL+:} false; then :
7624 $as_echo_n "(cached) " >&6
7625 else
7626 if test -n "$ac_ct_OTOOL"; then
7627 ac_cv_prog_ac_ct_OTOOL="$ac_ct_OTOOL" # Let the user override the test.
7628 else
7629 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7630 for as_dir in $PATH
7632 IFS=$as_save_IFS
7633 test -z "$as_dir" && as_dir=.
7634 for ac_exec_ext in '' $ac_executable_extensions; do
7635 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7636 ac_cv_prog_ac_ct_OTOOL="otool"
7637 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7638 break 2
7640 done
7641 done
7642 IFS=$as_save_IFS
7646 ac_ct_OTOOL=$ac_cv_prog_ac_ct_OTOOL
7647 if test -n "$ac_ct_OTOOL"; then
7648 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_OTOOL" >&5
7649 $as_echo "$ac_ct_OTOOL" >&6; }
7650 else
7651 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7652 $as_echo "no" >&6; }
7655 if test "x$ac_ct_OTOOL" = x; then
7656 OTOOL="otool"
7657 else
7658 case $cross_compiling:$ac_tool_warned in
7659 yes:)
7660 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7661 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7662 ac_tool_warned=yes ;;
7663 esac
7664 OTOOL=$ac_ct_OTOOL
7666 else
7667 OTOOL="$ac_cv_prog_OTOOL"
7670 if test -n "$ac_tool_prefix"; then
7671 # Extract the first word of "${ac_tool_prefix}readelf", so it can be a program name with args.
7672 set dummy ${ac_tool_prefix}readelf; ac_word=$2
7673 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7674 $as_echo_n "checking for $ac_word... " >&6; }
7675 if ${ac_cv_prog_READELF+:} false; then :
7676 $as_echo_n "(cached) " >&6
7677 else
7678 if test -n "$READELF"; then
7679 ac_cv_prog_READELF="$READELF" # Let the user override the test.
7680 else
7681 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7682 for as_dir in $PATH
7684 IFS=$as_save_IFS
7685 test -z "$as_dir" && as_dir=.
7686 for ac_exec_ext in '' $ac_executable_extensions; do
7687 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7688 ac_cv_prog_READELF="${ac_tool_prefix}readelf"
7689 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7690 break 2
7692 done
7693 done
7694 IFS=$as_save_IFS
7698 READELF=$ac_cv_prog_READELF
7699 if test -n "$READELF"; then
7700 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $READELF" >&5
7701 $as_echo "$READELF" >&6; }
7702 else
7703 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7704 $as_echo "no" >&6; }
7709 if test -z "$ac_cv_prog_READELF"; then
7710 ac_ct_READELF=$READELF
7711 # Extract the first word of "readelf", so it can be a program name with args.
7712 set dummy readelf; ac_word=$2
7713 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7714 $as_echo_n "checking for $ac_word... " >&6; }
7715 if ${ac_cv_prog_ac_ct_READELF+:} false; then :
7716 $as_echo_n "(cached) " >&6
7717 else
7718 if test -n "$ac_ct_READELF"; then
7719 ac_cv_prog_ac_ct_READELF="$ac_ct_READELF" # Let the user override the test.
7720 else
7721 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7722 for as_dir in $PATH
7724 IFS=$as_save_IFS
7725 test -z "$as_dir" && as_dir=.
7726 for ac_exec_ext in '' $ac_executable_extensions; do
7727 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7728 ac_cv_prog_ac_ct_READELF="readelf"
7729 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7730 break 2
7732 done
7733 done
7734 IFS=$as_save_IFS
7738 ac_ct_READELF=$ac_cv_prog_ac_ct_READELF
7739 if test -n "$ac_ct_READELF"; then
7740 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_READELF" >&5
7741 $as_echo "$ac_ct_READELF" >&6; }
7742 else
7743 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7744 $as_echo "no" >&6; }
7747 if test "x$ac_ct_READELF" = x; then
7748 READELF="true"
7749 else
7750 case $cross_compiling:$ac_tool_warned in
7751 yes:)
7752 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7753 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7754 ac_tool_warned=yes ;;
7755 esac
7756 READELF=$ac_ct_READELF
7758 else
7759 READELF="$ac_cv_prog_READELF"
7762 wine_rules_file=conf$$rules.make
7763 rm -f $wine_rules_file
7764 SUBDIRS=""
7766 DISABLED_SUBDIRS=""
7768 CONFIGURE_TARGETS=""
7771 wine_fn_append_file ()
7773 as_fn_append $1 " \\$as_nl $2"
7776 wine_fn_append_rule ()
7778 $as_echo "$1" >>$wine_rules_file
7781 wine_fn_config_makefile ()
7783 wine_fn_append_file SUBDIRS $1
7784 if eval test \"x\$"$2"\" = x"no"; then :
7785 wine_fn_append_file DISABLED_SUBDIRS $1
7789 wine_fn_config_symlink ()
7791 ac_links=$@
7792 wine_fn_append_rule \
7793 "$ac_links:
7794 @./config.status \$@"
7795 for f in $ac_links; do wine_fn_append_file CONFIGURE_TARGETS $f; done
7798 wine_binary="wine"
7799 test "x$enable_win64" != "xyes" || wine_binary="wine64"
7800 WINELOADER_PROGRAMS="$wine_binary"
7802 libwine_soversion=`expr $libwine_version : '\([0-9]*\)\..*'`
7804 case $host_os in
7805 cygwin*|mingw32*)
7806 if test -n "$ac_tool_prefix"; then
7807 # Extract the first word of "${ac_tool_prefix}dlltool", so it can be a program name with args.
7808 set dummy ${ac_tool_prefix}dlltool; ac_word=$2
7809 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7810 $as_echo_n "checking for $ac_word... " >&6; }
7811 if ${ac_cv_prog_DLLTOOL+:} false; then :
7812 $as_echo_n "(cached) " >&6
7813 else
7814 if test -n "$DLLTOOL"; then
7815 ac_cv_prog_DLLTOOL="$DLLTOOL" # Let the user override the test.
7816 else
7817 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7818 for as_dir in $PATH
7820 IFS=$as_save_IFS
7821 test -z "$as_dir" && as_dir=.
7822 for ac_exec_ext in '' $ac_executable_extensions; do
7823 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7824 ac_cv_prog_DLLTOOL="${ac_tool_prefix}dlltool"
7825 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7826 break 2
7828 done
7829 done
7830 IFS=$as_save_IFS
7834 DLLTOOL=$ac_cv_prog_DLLTOOL
7835 if test -n "$DLLTOOL"; then
7836 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $DLLTOOL" >&5
7837 $as_echo "$DLLTOOL" >&6; }
7838 else
7839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7840 $as_echo "no" >&6; }
7845 if test -z "$ac_cv_prog_DLLTOOL"; then
7846 ac_ct_DLLTOOL=$DLLTOOL
7847 # Extract the first word of "dlltool", so it can be a program name with args.
7848 set dummy dlltool; ac_word=$2
7849 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
7850 $as_echo_n "checking for $ac_word... " >&6; }
7851 if ${ac_cv_prog_ac_ct_DLLTOOL+:} false; then :
7852 $as_echo_n "(cached) " >&6
7853 else
7854 if test -n "$ac_ct_DLLTOOL"; then
7855 ac_cv_prog_ac_ct_DLLTOOL="$ac_ct_DLLTOOL" # Let the user override the test.
7856 else
7857 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
7858 for as_dir in $PATH
7860 IFS=$as_save_IFS
7861 test -z "$as_dir" && as_dir=.
7862 for ac_exec_ext in '' $ac_executable_extensions; do
7863 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
7864 ac_cv_prog_ac_ct_DLLTOOL="dlltool"
7865 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
7866 break 2
7868 done
7869 done
7870 IFS=$as_save_IFS
7874 ac_ct_DLLTOOL=$ac_cv_prog_ac_ct_DLLTOOL
7875 if test -n "$ac_ct_DLLTOOL"; then
7876 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_ct_DLLTOOL" >&5
7877 $as_echo "$ac_ct_DLLTOOL" >&6; }
7878 else
7879 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
7880 $as_echo "no" >&6; }
7883 if test "x$ac_ct_DLLTOOL" = x; then
7884 DLLTOOL="false"
7885 else
7886 case $cross_compiling:$ac_tool_warned in
7887 yes:)
7888 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: using cross tools not prefixed with host triplet" >&5
7889 $as_echo "$as_me: WARNING: using cross tools not prefixed with host triplet" >&2;}
7890 ac_tool_warned=yes ;;
7891 esac
7892 DLLTOOL=$ac_ct_DLLTOOL
7894 else
7895 DLLTOOL="$ac_cv_prog_DLLTOOL"
7898 LIBEXT="dll"
7899 DLLEXT=""
7900 IMPLIBEXT="a"
7901 enable_iphlpapi=${enable_iphlpapi:-no}
7902 enable_kernel32=${enable_kernel32:-no}
7903 enable_msvcrt=${enable_msvcrt:-no}
7904 enable_ntdll=${enable_ntdll:-no}
7905 enable_ws2_32=${enable_ws2_32:-no}
7906 enable_loader=${enable_loader:-no}
7907 enable_server=${enable_server:-no}
7908 with_x=${with_x:-no}
7909 with_pthread=${with_pthread:-no}
7911 crtlibs=""
7912 case $host_os in
7913 mingw32*)
7914 crtlibs="-lmsvcrt"
7915 SOCKET_LIBS="-lws2_32"
7917 esac
7919 LIBWINE_SHAREDLIB="libwine.dll"
7921 LIBWINE_IMPORTLIB="libwine.a"
7923 LIBWINE_INSTALL_LIB="libwine.dll"
7925 LIBWINE_INSTALL_DEV="libwine.a"
7927 LIBWINE_LDFLAGS="-shared \$(srcdir)/wine.def"
7929 LIBWINE_DEPENDS="wine.def"
7933 darwin*|macosx*)
7934 for ac_header in libunwind.h
7935 do :
7936 ac_fn_c_check_header_mongrel "$LINENO" "libunwind.h" "ac_cv_header_libunwind_h" "$ac_includes_default"
7937 if test "x$ac_cv_header_libunwind_h" = xyes; then :
7938 cat >>confdefs.h <<_ACEOF
7939 #define HAVE_LIBUNWIND_H 1
7940 _ACEOF
7944 done
7946 LIBEXT="dylib"
7947 DLLFLAGS="$DLLFLAGS -fPIC"
7948 LDRPATH_INSTALL="-Wl,-rpath,@loader_path/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
7949 LDRPATH_LOCAL="-Wl,-rpath,@loader_path/\$(top_builddir)/libs/wine"
7950 COREFOUNDATION_LIBS="-framework CoreFoundation"
7952 IOKIT_LIBS="-framework IOKit -framework CoreFoundation"
7954 FORCEFEEDBACK_LIBS="-framework ForceFeedback -framework CoreFoundation"
7956 APPLICATIONSERVICES_LIBS="-framework ApplicationServices"
7958 CORESERVICES_LIBS="-framework CoreServices"
7960 APPKIT_LIBS="-framework AppKit"
7962 WINELOADER_LDFLAGS="-image_base 0x7bf00000 -Wl,-pagezero_size,0x1000,-segaddr,WINE_DOS,0x00001000,-segaddr,WINE_SHAREDHEAP,0x7f000000,-sectcreate,__TEXT,__info_plist,wine_info.plist"
7963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-no_pie" >&5
7964 $as_echo_n "checking whether the compiler supports -Wl,-no_pie... " >&6; }
7965 if ${ac_cv_cflags__Wl__no_pie+:} false; then :
7966 $as_echo_n "(cached) " >&6
7967 else
7968 ac_wine_try_cflags_saved=$CFLAGS
7969 CFLAGS="$CFLAGS -Wl,-no_pie"
7970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
7971 /* end confdefs.h. */
7972 int main(int argc, char **argv) { return 0; }
7973 _ACEOF
7974 if ac_fn_c_try_link "$LINENO"; then :
7975 ac_cv_cflags__Wl__no_pie=yes
7976 else
7977 ac_cv_cflags__Wl__no_pie=no
7979 rm -f core conftest.err conftest.$ac_objext \
7980 conftest$ac_exeext conftest.$ac_ext
7981 CFLAGS=$ac_wine_try_cflags_saved
7983 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__no_pie" >&5
7984 $as_echo "$ac_cv_cflags__Wl__no_pie" >&6; }
7985 if test "x$ac_cv_cflags__Wl__no_pie" = xyes; then :
7986 WINELOADER_LDFLAGS="-Wl,-no_pie $WINELOADER_LDFLAGS"
7988 if test "$ac_cv_header_DiskArbitration_DiskArbitration_h" = "yes"
7989 then
7990 DISKARBITRATION_LIBS="-framework DiskArbitration -framework CoreFoundation"
7993 if test "$ac_cv_header_Security_Security_h" = "yes"
7994 then
7995 SECURITY_LIBS="-framework Security -framework CoreFoundation"
7997 ac_save_LIBS="$LIBS"
7998 LIBS="$LIBS $SECURITY_LIBS"
7999 for ac_func in SSLCopyPeerCertificates
8000 do :
8001 ac_fn_c_check_func "$LINENO" "SSLCopyPeerCertificates" "ac_cv_func_SSLCopyPeerCertificates"
8002 if test "x$ac_cv_func_SSLCopyPeerCertificates" = xyes; then :
8003 cat >>confdefs.h <<_ACEOF
8004 #define HAVE_SSLCOPYPEERCERTIFICATES 1
8005 _ACEOF
8008 done
8010 LIBS="$ac_save_LIBS"
8011 with_gnutls=${with_gnutls:-no}
8013 if test "$ac_cv_header_CoreAudio_CoreAudio_h" = "yes" -a "$ac_cv_header_AudioUnit_AudioUnit_h" = "yes"
8014 then
8015 if test "$ac_cv_header_AudioUnit_AudioComponent_h" = "yes"
8016 then
8017 COREAUDIO_LIBS="-framework CoreFoundation -framework CoreAudio -framework AudioUnit -framework AudioToolbox -framework CoreMIDI"
8019 else
8020 COREAUDIO_LIBS="-framework CoreAudio -framework AudioUnit -framework CoreServices -framework AudioToolbox -framework CoreMIDI"
8023 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-yes}
8024 ac_save_LIBS="$LIBS"
8025 LIBS="$LIBS $COREAUDIO_LIBS"
8026 for ac_func in AUGraphAddNode
8027 do :
8028 ac_fn_c_check_func "$LINENO" "AUGraphAddNode" "ac_cv_func_AUGraphAddNode"
8029 if test "x$ac_cv_func_AUGraphAddNode" = xyes; then :
8030 cat >>confdefs.h <<_ACEOF
8031 #define HAVE_AUGRAPHADDNODE 1
8032 _ACEOF
8035 done
8037 LIBS="$ac_save_LIBS"
8039 if test "$ac_cv_header_OpenAL_al_h" = "yes"
8040 then
8041 OPENAL_LIBS="-framework OpenAL"
8044 cat >>confdefs.h <<_ACEOF
8045 #define HAVE_OPENAL 1
8046 _ACEOF
8048 ac_cv_lib_openal=yes
8050 if test "$ac_cv_header_OpenCL_opencl_h" = "yes"
8051 then
8052 OPENCL_LIBS="-framework OpenCL"
8054 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
8056 if test "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes"
8057 then
8058 ac_save_LIBS="$LIBS"
8059 LIBS="$LIBS $IOKIT_LIBS"
8060 for ac_func in IOHIDManagerCreate
8061 do :
8062 ac_fn_c_check_func "$LINENO" "IOHIDManagerCreate" "ac_cv_func_IOHIDManagerCreate"
8063 if test "x$ac_cv_func_IOHIDManagerCreate" = xyes; then :
8064 cat >>confdefs.h <<_ACEOF
8065 #define HAVE_IOHIDMANAGERCREATE 1
8066 _ACEOF
8069 done
8071 LIBS="$ac_save_LIBS"
8073 if test "$ac_cv_header_QuickTime_ImageCompression_h" = "yes"
8074 then
8075 ac_save_LIBS="$LIBS"
8076 LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo $LIBS"
8077 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the QuickTime framework" >&5
8078 $as_echo_n "checking for the QuickTime framework... " >&6; }
8079 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8080 /* end confdefs.h. */
8081 #include <QuickTime/ImageCompression.h>
8083 main ()
8085 CodecManagerVersion(NULL);
8087 return 0;
8089 _ACEOF
8090 if ac_fn_c_try_link "$LINENO"; then :
8091 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8092 $as_echo "yes" >&6; }
8093 QUICKTIME_LIBS="-framework QuickTime -framework ApplicationServices -framework CoreVideo"
8095 enable_wineqtdecoder=${enable_wineqtdecoder:-yes}
8096 else
8097 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8098 $as_echo "no" >&6; }
8099 ac_cv_header_QuickTime_ImageCompression_h=no
8101 rm -f core conftest.err conftest.$ac_objext \
8102 conftest$ac_exeext conftest.$ac_ext
8103 LIBS="$ac_save_LIBS"
8105 if test "$ac_cv_header_QuickTime_ImageCompression_h" != "yes"
8106 then
8107 as_fn_append wine_notices "|QuickTime ${notice_platform}development files not found, video decoding won't be supported."
8109 if test "$ac_cv_header_Carbon_Carbon_h" = "yes"
8110 then
8111 CARBON_LIBS="-framework Carbon"
8115 if test "$ac_cv_header_ApplicationServices_ApplicationServices_h" = "yes"
8116 then
8117 ac_save_LIBS="$LIBS"
8118 LIBS="$LIBS $APPLICATIONSERVICES_LIBS"
8119 ac_fn_c_check_func "$LINENO" "CGDisplayModeGetWidth" "ac_cv_func_CGDisplayModeGetWidth"
8120 if test "x$ac_cv_func_CGDisplayModeGetWidth" = xyes; then :
8121 enable_winemac_drv=${enable_winemac_drv:-yes}
8124 LIBS="$ac_save_LIBS"
8127 if test "x$enable_win16" = "xyes"
8128 then
8129 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether 16-bit code can be built correctly" >&5
8130 $as_echo_n "checking whether 16-bit code can be built correctly... " >&6; }
8131 if test "$cross_compiling" = yes; then :
8132 { $as_echo "$as_me:${as_lineno-$LINENO}: result: cross-compiling, assuming yes" >&5
8133 $as_echo "cross-compiling, assuming yes" >&6; }
8134 else
8135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8136 /* end confdefs.h. */
8137 asm(".text\n"
8138 "bad:\tnop;nop\n"
8139 "good:\tnop;nop\n\t"
8140 ".globl _testfunc\n"
8141 "_testfunc:\tcallw good");
8142 extern void testfunc();
8144 main ()
8146 unsigned short *p = (unsigned short *)testfunc;
8147 return p[0] != 0xe866 || p[1] != 0xfffa
8149 return 0;
8151 _ACEOF
8152 if ac_fn_c_try_run "$LINENO"; then :
8153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8154 $as_echo "yes" >&6; }
8155 else
8156 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8157 $as_echo "no" >&6; }
8158 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
8160 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
8161 conftest.$ac_objext conftest.beam conftest.$ac_ext
8166 LIBWINE_SHAREDLIB="libwine.$libwine_version.dylib"
8168 LIBWINE_INSTALL_LIB="libwine.$libwine_version.dylib libwine.$libwine_soversion.dylib"
8170 LIBWINE_INSTALL_DEV="libwine.dylib"
8172 LIBWINE_LDFLAGS="-dynamiclib -install_name @rpath/libwine.$libwine_soversion.dylib -Wl,-rpath,@loader_path/ -compatibility_version $libwine_soversion -current_version $libwine_version"
8174 WINELOADER_DEPENDS="wine_info.plist"
8178 linux-android*)
8179 DLLFLAGS="$DLLFLAGS -fPIC"
8180 LDEXECFLAGS="-Wl,-pie"
8181 enable_wineandroid_drv=${enable_wineandroid_drv:-yes}
8182 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8183 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8184 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8185 $as_echo_n "(cached) " >&6
8186 else
8187 ac_wine_try_cflags_saved=$CFLAGS
8188 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8189 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8190 /* end confdefs.h. */
8191 int main(int argc, char **argv) { return 0; }
8192 _ACEOF
8193 if ac_fn_c_try_link "$LINENO"; then :
8194 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8195 else
8196 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8198 rm -f core conftest.err conftest.$ac_objext \
8199 conftest$ac_exeext conftest.$ac_ext
8200 CFLAGS=$ac_wine_try_cflags_saved
8202 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8203 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8204 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8205 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
8207 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8208 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8209 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8210 if eval \${$as_ac_var+:} false; then :
8211 $as_echo_n "(cached) " >&6
8212 else
8213 ac_wine_try_cflags_saved=$CFLAGS
8214 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8215 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8216 /* end confdefs.h. */
8217 int main(int argc, char **argv) { return 0; }
8218 _ACEOF
8219 if ac_fn_c_try_link "$LINENO"; then :
8220 eval "$as_ac_var=yes"
8221 else
8222 eval "$as_ac_var=no"
8224 rm -f core conftest.err conftest.$ac_objext \
8225 conftest$ac_exeext conftest.$ac_ext
8226 CFLAGS=$ac_wine_try_cflags_saved
8228 eval ac_res=\$$as_ac_var
8229 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8230 $as_echo "$ac_res" >&6; }
8231 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8232 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8233 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8234 else
8235 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8236 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8237 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8238 if eval \${$as_ac_var+:} false; then :
8239 $as_echo_n "(cached) " >&6
8240 else
8241 ac_wine_try_cflags_saved=$CFLAGS
8242 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8243 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8244 /* end confdefs.h. */
8245 int main(int argc, char **argv) { return 0; }
8246 _ACEOF
8247 if ac_fn_c_try_link "$LINENO"; then :
8248 eval "$as_ac_var=yes"
8249 else
8250 eval "$as_ac_var=no"
8252 rm -f core conftest.err conftest.$ac_objext \
8253 conftest$ac_exeext conftest.$ac_ext
8254 CFLAGS=$ac_wine_try_cflags_saved
8256 eval ac_res=\$$as_ac_var
8257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8258 $as_echo "$ac_res" >&6; }
8259 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8260 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8261 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8264 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8265 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8266 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8267 $as_echo_n "(cached) " >&6
8268 else
8269 ac_wine_try_cflags_saved=$CFLAGS
8270 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8271 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8272 /* end confdefs.h. */
8273 int main(int argc, char **argv) { return 0; }
8274 _ACEOF
8275 if ac_fn_c_try_link "$LINENO"; then :
8276 ac_cv_cflags__Wl___enable_new_dtags=yes
8277 else
8278 ac_cv_cflags__Wl___enable_new_dtags=no
8280 rm -f core conftest.err conftest.$ac_objext \
8281 conftest$ac_exeext conftest.$ac_ext
8282 CFLAGS=$ac_wine_try_cflags_saved
8284 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8285 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8286 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8287 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8290 LIBWINE_SHAREDLIB="libwine.so"
8292 LIBWINE_INSTALL_LIB="libwine.so"
8294 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so"
8297 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lEGL" >&5
8298 $as_echo_n "checking for -lEGL... " >&6; }
8299 if ${ac_cv_lib_soname_EGL+:} false; then :
8300 $as_echo_n "(cached) " >&6
8301 else
8302 ac_check_soname_save_LIBS=$LIBS
8303 LIBS="-lEGL $LIBS"
8304 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8305 /* end confdefs.h. */
8307 /* Override any GCC internal prototype to avoid an error.
8308 Use char because int might match the return type of a GCC
8309 builtin and then its argument prototype would still apply. */
8310 #ifdef __cplusplus
8311 extern "C"
8312 #endif
8313 char eglGetProcAddress ();
8315 main ()
8317 return eglGetProcAddress ();
8319 return 0;
8321 _ACEOF
8322 if ac_fn_c_try_link "$LINENO"; then :
8323 case "$LIBEXT" in
8324 dll) ac_cv_lib_soname_EGL=`$ac_cv_path_LDD conftest.exe | grep "EGL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8325 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'` ;;
8326 *) ac_cv_lib_soname_EGL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libEGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libEGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8327 if ${ac_cv_lib_soname_EGL:+false} :; then :
8328 ac_cv_lib_soname_EGL=`$LDD conftest$ac_exeext | grep "libEGL\\.$LIBEXT" | sed -e "s/^.*\(libEGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8329 fi ;;
8330 esac
8332 rm -f core conftest.err conftest.$ac_objext \
8333 conftest$ac_exeext conftest.$ac_ext
8334 LIBS=$ac_check_soname_save_LIBS
8336 if ${ac_cv_lib_soname_EGL:+false} :; then :
8337 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8338 $as_echo "not found" >&6; }
8340 else
8341 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_EGL" >&5
8342 $as_echo "$ac_cv_lib_soname_EGL" >&6; }
8344 cat >>confdefs.h <<_ACEOF
8345 #define SONAME_LIBEGL "$ac_cv_lib_soname_EGL"
8346 _ACEOF
8350 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLESv2" >&5
8351 $as_echo_n "checking for -lGLESv2... " >&6; }
8352 if ${ac_cv_lib_soname_GLESv2+:} false; then :
8353 $as_echo_n "(cached) " >&6
8354 else
8355 ac_check_soname_save_LIBS=$LIBS
8356 LIBS="-lGLESv2 $LIBS"
8357 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8358 /* end confdefs.h. */
8360 /* Override any GCC internal prototype to avoid an error.
8361 Use char because int might match the return type of a GCC
8362 builtin and then its argument prototype would still apply. */
8363 #ifdef __cplusplus
8364 extern "C"
8365 #endif
8366 char glFlush ();
8368 main ()
8370 return glFlush ();
8372 return 0;
8374 _ACEOF
8375 if ac_fn_c_try_link "$LINENO"; then :
8376 case "$LIBEXT" in
8377 dll) ac_cv_lib_soname_GLESv2=`$ac_cv_path_LDD conftest.exe | grep "GLESv2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
8378 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'` ;;
8379 *) ac_cv_lib_soname_GLESv2=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLESv2\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLESv2\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
8380 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
8381 ac_cv_lib_soname_GLESv2=`$LDD conftest$ac_exeext | grep "libGLESv2\\.$LIBEXT" | sed -e "s/^.*\(libGLESv2\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
8382 fi ;;
8383 esac
8385 rm -f core conftest.err conftest.$ac_objext \
8386 conftest$ac_exeext conftest.$ac_ext
8387 LIBS=$ac_check_soname_save_LIBS
8389 if ${ac_cv_lib_soname_GLESv2:+false} :; then :
8390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
8391 $as_echo "not found" >&6; }
8393 else
8394 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLESv2" >&5
8395 $as_echo "$ac_cv_lib_soname_GLESv2" >&6; }
8397 cat >>confdefs.h <<_ACEOF
8398 #define SONAME_LIBGLESV2 "$ac_cv_lib_soname_GLESv2"
8399 _ACEOF
8404 if test "x$exec_prefix" = xNONE
8405 then
8406 case $host_cpu in
8407 *i[3456]86*) exec_prefix='${prefix}/x86' ;;
8408 *x86_64*) exec_prefix='${prefix}/x86_64' ;;
8409 *arm*) exec_prefix='${prefix}/armeabi-v7a' ;;
8410 *aarch64*) exec_prefix='${prefix}/arm64-v8a' ;;
8411 esac
8416 DLLFLAGS="$DLLFLAGS -fPIC"
8417 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a GNU style ELF dll" >&5
8418 $as_echo_n "checking whether we can build a GNU style ELF dll... " >&6; }
8419 if ${ac_cv_c_dll_gnuelf+:} false; then :
8420 $as_echo_n "(cached) " >&6
8421 else
8422 ac_wine_try_cflags_saved=$CFLAGS
8423 CFLAGS="$CFLAGS -fPIC -shared -Wl,-Bsymbolic"
8424 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8425 /* end confdefs.h. */
8426 void myfunc() {}
8427 _ACEOF
8428 if ac_fn_c_try_link "$LINENO"; then :
8429 ac_cv_c_dll_gnuelf="yes"
8430 else
8431 ac_cv_c_dll_gnuelf="no"
8433 rm -f core conftest.err conftest.$ac_objext \
8434 conftest$ac_exeext conftest.$ac_ext
8435 CFLAGS=$ac_wine_try_cflags_saved
8437 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_gnuelf" >&5
8438 $as_echo "$ac_cv_c_dll_gnuelf" >&6; }
8439 if test "$ac_cv_c_dll_gnuelf" = "yes"
8440 then
8441 LIBWINE_LDFLAGS="-shared"
8442 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1" >&5
8443 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-soname,confest.so.1... " >&6; }
8444 if ${ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1+:} false; then :
8445 $as_echo_n "(cached) " >&6
8446 else
8447 ac_wine_try_cflags_saved=$CFLAGS
8448 CFLAGS="$CFLAGS -fPIC -shared -Wl,-soname,confest.so.1"
8449 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8450 /* end confdefs.h. */
8451 int main(int argc, char **argv) { return 0; }
8452 _ACEOF
8453 if ac_fn_c_try_link "$LINENO"; then :
8454 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=yes
8455 else
8456 ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1=no
8458 rm -f core conftest.err conftest.$ac_objext \
8459 conftest$ac_exeext conftest.$ac_ext
8460 CFLAGS=$ac_wine_try_cflags_saved
8462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&5
8463 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" >&6; }
8464 if test "x$ac_cv_cflags__fPIC__shared__Wl__soname_confest_so_1" = xyes; then :
8465 LIBWINE_LDFLAGS="-shared -Wl,-soname,libwine.so.$libwine_soversion"
8466 else
8467 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1" >&5
8468 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,-h,confest.so.1... " >&6; }
8469 if ${ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1+:} false; then :
8470 $as_echo_n "(cached) " >&6
8471 else
8472 ac_wine_try_cflags_saved=$CFLAGS
8473 CFLAGS="$CFLAGS -fPIC -shared -Wl,-h,confest.so.1"
8474 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8475 /* end confdefs.h. */
8476 int main(int argc, char **argv) { return 0; }
8477 _ACEOF
8478 if ac_fn_c_try_link "$LINENO"; then :
8479 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=yes
8480 else
8481 ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1=no
8483 rm -f core conftest.err conftest.$ac_objext \
8484 conftest$ac_exeext conftest.$ac_ext
8485 CFLAGS=$ac_wine_try_cflags_saved
8487 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&5
8488 $as_echo "$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" >&6; }
8489 if test "x$ac_cv_cflags__fPIC__shared__Wl__h_confest_so_1" = xyes; then :
8490 LIBWINE_LDFLAGS="-shared -Wl,-h,libwine.so.$libwine_soversion"
8494 echo '{ global: *; };' >conftest.map
8495 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map" >&5
8496 $as_echo_n "checking whether the compiler supports -fPIC -shared -Wl,--version-script=conftest.map... " >&6; }
8497 if ${ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map+:} false; then :
8498 $as_echo_n "(cached) " >&6
8499 else
8500 ac_wine_try_cflags_saved=$CFLAGS
8501 CFLAGS="$CFLAGS -fPIC -shared -Wl,--version-script=conftest.map"
8502 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8503 /* end confdefs.h. */
8504 int main(int argc, char **argv) { return 0; }
8505 _ACEOF
8506 if ac_fn_c_try_link "$LINENO"; then :
8507 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=yes
8508 else
8509 ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map=no
8511 rm -f core conftest.err conftest.$ac_objext \
8512 conftest$ac_exeext conftest.$ac_ext
8513 CFLAGS=$ac_wine_try_cflags_saved
8515 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&5
8516 $as_echo "$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" >&6; }
8517 if test "x$ac_cv_cflags__fPIC__shared__Wl___version_script_conftest_map" = xyes; then :
8518 LIBWINE_LDFLAGS="$LIBWINE_LDFLAGS -Wl,--version-script=\$(srcdir)/wine.map"
8520 rm -f conftest.map
8522 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--export-dynamic" >&5
8523 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--export-dynamic... " >&6; }
8524 if ${ac_cv_cflags__fPIC__Wl___export_dynamic+:} false; then :
8525 $as_echo_n "(cached) " >&6
8526 else
8527 ac_wine_try_cflags_saved=$CFLAGS
8528 CFLAGS="$CFLAGS -fPIC -Wl,--export-dynamic"
8529 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8530 /* end confdefs.h. */
8531 int main(int argc, char **argv) { return 0; }
8532 _ACEOF
8533 if ac_fn_c_try_link "$LINENO"; then :
8534 ac_cv_cflags__fPIC__Wl___export_dynamic=yes
8535 else
8536 ac_cv_cflags__fPIC__Wl___export_dynamic=no
8538 rm -f core conftest.err conftest.$ac_objext \
8539 conftest$ac_exeext conftest.$ac_ext
8540 CFLAGS=$ac_wine_try_cflags_saved
8542 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fPIC__Wl___export_dynamic" >&5
8543 $as_echo "$ac_cv_cflags__fPIC__Wl___export_dynamic" >&6; }
8544 if test "x$ac_cv_cflags__fPIC__Wl___export_dynamic" = xyes; then :
8545 WINELOADER_LDFLAGS="-Wl,--export-dynamic"
8548 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,--rpath,\\$ORIGIN/../lib" | $as_tr_sh`
8549 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib" >&5
8550 $as_echo_n "checking whether the compiler supports -fPIC -Wl,--rpath,\$ORIGIN/../lib... " >&6; }
8551 if eval \${$as_ac_var+:} false; then :
8552 $as_echo_n "(cached) " >&6
8553 else
8554 ac_wine_try_cflags_saved=$CFLAGS
8555 CFLAGS="$CFLAGS -fPIC -Wl,--rpath,\$ORIGIN/../lib"
8556 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8557 /* end confdefs.h. */
8558 int main(int argc, char **argv) { return 0; }
8559 _ACEOF
8560 if ac_fn_c_try_link "$LINENO"; then :
8561 eval "$as_ac_var=yes"
8562 else
8563 eval "$as_ac_var=no"
8565 rm -f core conftest.err conftest.$ac_objext \
8566 conftest$ac_exeext conftest.$ac_ext
8567 CFLAGS=$ac_wine_try_cflags_saved
8569 eval ac_res=\$$as_ac_var
8570 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8571 $as_echo "$ac_res" >&6; }
8572 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8573 LDRPATH_INSTALL="-Wl,--rpath,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8574 LDRPATH_LOCAL="-Wl,--rpath,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8575 else
8576 as_ac_var=`$as_echo "ac_cv_cflags_-fPIC -Wl,-R,\\$ORIGIN/../lib" | $as_tr_sh`
8577 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib" >&5
8578 $as_echo_n "checking whether the compiler supports -fPIC -Wl,-R,\$ORIGIN/../lib... " >&6; }
8579 if eval \${$as_ac_var+:} false; then :
8580 $as_echo_n "(cached) " >&6
8581 else
8582 ac_wine_try_cflags_saved=$CFLAGS
8583 CFLAGS="$CFLAGS -fPIC -Wl,-R,\$ORIGIN/../lib"
8584 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8585 /* end confdefs.h. */
8586 int main(int argc, char **argv) { return 0; }
8587 _ACEOF
8588 if ac_fn_c_try_link "$LINENO"; then :
8589 eval "$as_ac_var=yes"
8590 else
8591 eval "$as_ac_var=no"
8593 rm -f core conftest.err conftest.$ac_objext \
8594 conftest$ac_exeext conftest.$ac_ext
8595 CFLAGS=$ac_wine_try_cflags_saved
8597 eval ac_res=\$$as_ac_var
8598 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_res" >&5
8599 $as_echo "$ac_res" >&6; }
8600 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
8601 LDRPATH_INSTALL="-Wl,-R,\\\$\$ORIGIN/\`\$(MAKEDEP) -R \${bindir} \${libdir}\`"
8602 LDRPATH_LOCAL="-Wl,-R,\\\$\$ORIGIN/\$(top_builddir)/libs/wine"
8606 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--enable-new-dtags" >&5
8607 $as_echo_n "checking whether the compiler supports -Wl,--enable-new-dtags... " >&6; }
8608 if ${ac_cv_cflags__Wl___enable_new_dtags+:} false; then :
8609 $as_echo_n "(cached) " >&6
8610 else
8611 ac_wine_try_cflags_saved=$CFLAGS
8612 CFLAGS="$CFLAGS -Wl,--enable-new-dtags"
8613 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8614 /* end confdefs.h. */
8615 int main(int argc, char **argv) { return 0; }
8616 _ACEOF
8617 if ac_fn_c_try_link "$LINENO"; then :
8618 ac_cv_cflags__Wl___enable_new_dtags=yes
8619 else
8620 ac_cv_cflags__Wl___enable_new_dtags=no
8622 rm -f core conftest.err conftest.$ac_objext \
8623 conftest$ac_exeext conftest.$ac_ext
8624 CFLAGS=$ac_wine_try_cflags_saved
8626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___enable_new_dtags" >&5
8627 $as_echo "$ac_cv_cflags__Wl___enable_new_dtags" >&6; }
8628 if test "x$ac_cv_cflags__Wl___enable_new_dtags" = xyes; then :
8629 LDRPATH_INSTALL="$LDRPATH_INSTALL -Wl,--enable-new-dtags"
8632 case $host_cpu in
8633 *i[3456789]86* | x86_64 | *aarch64*)
8634 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000" >&5
8635 $as_echo_n "checking whether the compiler supports -Wl,-Ttext-segment=0x7bc00000... " >&6; }
8636 if ${ac_cv_cflags__Wl__Ttext_segment_0x7bc00000+:} false; then :
8637 $as_echo_n "(cached) " >&6
8638 else
8639 ac_wine_try_cflags_saved=$CFLAGS
8640 CFLAGS="$CFLAGS -Wl,-Ttext-segment=0x7bc00000"
8641 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8642 /* end confdefs.h. */
8643 int main(int argc, char **argv) { return 0; }
8644 _ACEOF
8645 if ac_fn_c_try_link "$LINENO"; then :
8646 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=yes
8647 else
8648 ac_cv_cflags__Wl__Ttext_segment_0x7bc00000=no
8650 rm -f core conftest.err conftest.$ac_objext \
8651 conftest$ac_exeext conftest.$ac_ext
8652 CFLAGS=$ac_wine_try_cflags_saved
8654 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&5
8655 $as_echo "$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" >&6; }
8656 if test "x$ac_cv_cflags__Wl__Ttext_segment_0x7bc00000" = xyes; then :
8657 case $host_os in
8658 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x60000000" ;;
8659 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-Ttext-segment=0x7c000000" ;;
8660 esac
8661 else
8662 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400" >&5
8663 $as_echo_n "checking whether the compiler supports -Wl,--section-start,.interp=0x7c000400... " >&6; }
8664 if ${ac_cv_cflags__Wl___section_start__interp_0x7c000400+:} false; then :
8665 $as_echo_n "(cached) " >&6
8666 else
8667 ac_wine_try_cflags_saved=$CFLAGS
8668 CFLAGS="$CFLAGS -Wl,--section-start,.interp=0x7c000400"
8669 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8670 /* end confdefs.h. */
8671 int main(int argc, char **argv) { return 0; }
8672 _ACEOF
8673 if ac_fn_c_try_link "$LINENO"; then :
8674 ac_cv_cflags__Wl___section_start__interp_0x7c000400=yes
8675 else
8676 ac_cv_cflags__Wl___section_start__interp_0x7c000400=no
8678 rm -f core conftest.err conftest.$ac_objext \
8679 conftest$ac_exeext conftest.$ac_ext
8680 CFLAGS=$ac_wine_try_cflags_saved
8682 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&5
8683 $as_echo "$ac_cv_cflags__Wl___section_start__interp_0x7c000400" >&6; }
8684 if test "x$ac_cv_cflags__Wl___section_start__interp_0x7c000400" = xyes; then :
8685 case $host_os in
8686 freebsd* | kfreebsd*-gnu) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x60000400" ;;
8687 *) WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,--section-start,.interp=0x7c000400" ;;
8688 esac
8690 # Extract the first word of "prelink", so it can be a program name with args.
8691 set dummy prelink; ac_word=$2
8692 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8693 $as_echo_n "checking for $ac_word... " >&6; }
8694 if ${ac_cv_path_PRELINK+:} false; then :
8695 $as_echo_n "(cached) " >&6
8696 else
8697 case $PRELINK in
8698 [\\/]* | ?:[\\/]*)
8699 ac_cv_path_PRELINK="$PRELINK" # Let the user override the test with a path.
8702 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8703 for as_dir in /sbin /usr/sbin $PATH
8705 IFS=$as_save_IFS
8706 test -z "$as_dir" && as_dir=.
8707 for ac_exec_ext in '' $ac_executable_extensions; do
8708 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8709 ac_cv_path_PRELINK="$as_dir/$ac_word$ac_exec_ext"
8710 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8711 break 2
8713 done
8714 done
8715 IFS=$as_save_IFS
8717 test -z "$ac_cv_path_PRELINK" && ac_cv_path_PRELINK="false"
8719 esac
8721 PRELINK=$ac_cv_path_PRELINK
8722 if test -n "$PRELINK"; then
8723 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $PRELINK" >&5
8724 $as_echo "$PRELINK" >&6; }
8725 else
8726 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8727 $as_echo "no" >&6; }
8731 if test "x$PRELINK" = xfalse
8732 then
8733 as_fn_append wine_warnings "|prelink not found and linker does not support relocation, base address of core dlls won't be set correctly."
8736 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wl,-z,max-page-size=0x1000" >&5
8737 $as_echo_n "checking whether the compiler supports -Wl,-z,max-page-size=0x1000... " >&6; }
8738 if ${ac_cv_cflags__Wl__z_max_page_size_0x1000+:} false; then :
8739 $as_echo_n "(cached) " >&6
8740 else
8741 ac_wine_try_cflags_saved=$CFLAGS
8742 CFLAGS="$CFLAGS -Wl,-z,max-page-size=0x1000"
8743 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8744 /* end confdefs.h. */
8745 int main(int argc, char **argv) { return 0; }
8746 _ACEOF
8747 if ac_fn_c_try_link "$LINENO"; then :
8748 ac_cv_cflags__Wl__z_max_page_size_0x1000=yes
8749 else
8750 ac_cv_cflags__Wl__z_max_page_size_0x1000=no
8752 rm -f core conftest.err conftest.$ac_objext \
8753 conftest$ac_exeext conftest.$ac_ext
8754 CFLAGS=$ac_wine_try_cflags_saved
8756 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wl__z_max_page_size_0x1000" >&5
8757 $as_echo "$ac_cv_cflags__Wl__z_max_page_size_0x1000" >&6; }
8758 if test "x$ac_cv_cflags__Wl__z_max_page_size_0x1000" = xyes; then :
8759 WINELOADER_LDFLAGS="$WINELOADER_LDFLAGS -Wl,-z,max-page-size=0x1000"
8762 esac
8764 else
8765 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can build a UnixWare (Solaris) dll" >&5
8766 $as_echo_n "checking whether we can build a UnixWare (Solaris) dll... " >&6; }
8767 if ${ac_cv_c_dll_unixware+:} false; then :
8768 $as_echo_n "(cached) " >&6
8769 else
8770 ac_wine_try_cflags_saved=$CFLAGS
8771 CFLAGS="$CFLAGS -fPIC -Wl,-G,-h,conftest.so.1.0,-B,symbolic"
8772 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8773 /* end confdefs.h. */
8774 void myfunc() {}
8775 _ACEOF
8776 if ac_fn_c_try_link "$LINENO"; then :
8777 ac_cv_c_dll_unixware="yes"
8778 else
8779 ac_cv_c_dll_unixware="no"
8781 rm -f core conftest.err conftest.$ac_objext \
8782 conftest$ac_exeext conftest.$ac_ext
8783 CFLAGS=$ac_wine_try_cflags_saved
8785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dll_unixware" >&5
8786 $as_echo "$ac_cv_c_dll_unixware" >&6; }
8787 if test "$ac_cv_c_dll_unixware" = "yes"
8788 then
8789 LIBWINE_LDFLAGS="-Wl,-G,-h,libwine.so.$libwine_soversion"
8792 LIBWINE_SHAREDLIB="libwine.so.$libwine_version"
8794 LIBWINE_INSTALL_LIB="libwine.so.$libwine_version libwine.so.$libwine_soversion"
8796 LIBWINE_INSTALL_DEV="libwine.so"
8798 LIBWINE_DEPENDS="wine.map"
8801 esac
8803 enable_winecoreaudio_drv=${enable_winecoreaudio_drv:-no}
8804 enable_wineqtdecoder=${enable_wineqtdecoder:-no}
8805 enable_wineandroid_drv=${enable_wineandroid_drv:-no}
8806 enable_winemac_drv=${enable_winemac_drv:-no}
8807 test "$ac_cv_header_linux_joystick_h" = "yes" -o "$ac_cv_header_IOKit_hid_IOHIDLib_h" = "yes" || enable_winejoystick_drv=${enable_winejoystick_drv:-no}
8809 CROSSTARGET=""
8811 if test "x$enable_tests" != xno -a "$LIBEXT" != "dll"
8812 then
8813 case "$host_cpu" in
8814 arm*)
8815 ac_prefix_list="armv7-w64-mingw32-clang armv7-w64-mingw32-gcc" ;;
8816 i[3456789]86*)
8817 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
8818 i686-w64-mingw32-clang i586-w64-mingw32-clang i486-w64-mingw32-clang i386-w64-mingw32-clang
8819 mingw32-gcc" ;;
8820 x86_64)
8821 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
8822 x86_64-w64-mingw32-clang amd64-w64-mingw32-clang " ;;
8824 ac_prefix_list="" ;;
8825 esac
8826 for ac_prog in $ac_prefix_list
8828 # Extract the first word of "$ac_prog", so it can be a program name with args.
8829 set dummy $ac_prog; ac_word=$2
8830 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for $ac_word" >&5
8831 $as_echo_n "checking for $ac_word... " >&6; }
8832 if ${ac_cv_prog_CROSSCC+:} false; then :
8833 $as_echo_n "(cached) " >&6
8834 else
8835 if test -n "$CROSSCC"; then
8836 ac_cv_prog_CROSSCC="$CROSSCC" # Let the user override the test.
8837 else
8838 as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
8839 for as_dir in $PATH
8841 IFS=$as_save_IFS
8842 test -z "$as_dir" && as_dir=.
8843 for ac_exec_ext in '' $ac_executable_extensions; do
8844 if as_fn_executable_p "$as_dir/$ac_word$ac_exec_ext"; then
8845 ac_cv_prog_CROSSCC="$ac_prog"
8846 $as_echo "$as_me:${as_lineno-$LINENO}: found $as_dir/$ac_word$ac_exec_ext" >&5
8847 break 2
8849 done
8850 done
8851 IFS=$as_save_IFS
8855 CROSSCC=$ac_cv_prog_CROSSCC
8856 if test -n "$CROSSCC"; then
8857 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $CROSSCC" >&5
8858 $as_echo "$CROSSCC" >&6; }
8859 else
8860 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8861 $as_echo "no" >&6; }
8865 test -n "$CROSSCC" && break
8866 done
8867 test -n "$CROSSCC" || CROSSCC="false"
8869 if test "$CROSSCC" != "false"
8870 then
8871 ac_save_CC="$CC"
8872 CC="$CROSSCC"
8873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether $CROSSCC works" >&5
8874 $as_echo_n "checking whether $CROSSCC works... " >&6; }
8875 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8876 /* end confdefs.h. */
8879 main ()
8883 return 0;
8885 _ACEOF
8886 if ac_fn_c_try_compile "$LINENO"; then :
8887 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
8888 $as_echo "yes" >&6; }
8889 set x $CROSSCC
8890 shift
8891 while test $# -ge 1
8893 case "$1" in
8894 *-gcc) CROSSTARGET=`expr "$1" : '\(.*\)-gcc'` ;;
8895 *-clang) CROSSTARGET=`expr "$1" : '\(.*\)-clang'` ;;
8896 esac
8897 shift
8898 done
8899 else
8900 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
8901 $as_echo "no" >&6; }
8903 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
8904 CC="$ac_save_CC"
8905 CROSSCFLAGS=${CROSSCFLAGS:-$CFLAGS}
8911 if test "$ac_cv_header_pthread_h" = "yes"
8912 then
8913 ac_fn_c_check_func "$LINENO" "pthread_create" "ac_cv_func_pthread_create"
8914 if test "x$ac_cv_func_pthread_create" = xyes; then :
8916 else
8917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pthread_create in -lpthread" >&5
8918 $as_echo_n "checking for pthread_create in -lpthread... " >&6; }
8919 if ${ac_cv_lib_pthread_pthread_create+:} false; then :
8920 $as_echo_n "(cached) " >&6
8921 else
8922 ac_check_lib_save_LIBS=$LIBS
8923 LIBS="-lpthread $LIBS"
8924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
8925 /* end confdefs.h. */
8927 /* Override any GCC internal prototype to avoid an error.
8928 Use char because int might match the return type of a GCC
8929 builtin and then its argument prototype would still apply. */
8930 #ifdef __cplusplus
8931 extern "C"
8932 #endif
8933 char pthread_create ();
8935 main ()
8937 return pthread_create ();
8939 return 0;
8941 _ACEOF
8942 if ac_fn_c_try_link "$LINENO"; then :
8943 ac_cv_lib_pthread_pthread_create=yes
8944 else
8945 ac_cv_lib_pthread_pthread_create=no
8947 rm -f core conftest.err conftest.$ac_objext \
8948 conftest$ac_exeext conftest.$ac_ext
8949 LIBS=$ac_check_lib_save_LIBS
8951 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pthread_pthread_create" >&5
8952 $as_echo "$ac_cv_lib_pthread_pthread_create" >&6; }
8953 if test "x$ac_cv_lib_pthread_pthread_create" = xyes; then :
8954 PTHREAD_LIBS="-lpthread"
8961 if test "x$ac_cv_func_pthread_create" != xyes -a "x$PTHREAD_LIBS" = x; then :
8962 case "x$with_pthread" in
8963 xno) ;;
8964 *) as_fn_error $? "pthread ${notice_platform}development files not found.
8965 Wine cannot support threads without libpthread.
8966 Use the --without-pthread option if you really want this." "$LINENO" 5 ;;
8967 esac
8972 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for X" >&5
8973 $as_echo_n "checking for X... " >&6; }
8976 # Check whether --with-x was given.
8977 if test "${with_x+set}" = set; then :
8978 withval=$with_x;
8981 # $have_x is `yes', `no', `disabled', or empty when we do not yet know.
8982 if test "x$with_x" = xno; then
8983 # The user explicitly disabled X.
8984 have_x=disabled
8985 else
8986 case $x_includes,$x_libraries in #(
8987 *\'*) as_fn_error $? "cannot use X directory names containing '" "$LINENO" 5;; #(
8988 *,NONE | NONE,*) if ${ac_cv_have_x+:} false; then :
8989 $as_echo_n "(cached) " >&6
8990 else
8991 # One or both of the vars are not set, and there is no cached value.
8992 ac_x_includes=no ac_x_libraries=no
8993 rm -f -r conftest.dir
8994 if mkdir conftest.dir; then
8995 cd conftest.dir
8996 cat >Imakefile <<'_ACEOF'
8997 incroot:
8998 @echo incroot='${INCROOT}'
8999 usrlibdir:
9000 @echo usrlibdir='${USRLIBDIR}'
9001 libdir:
9002 @echo libdir='${LIBDIR}'
9003 _ACEOF
9004 if (export CC; ${XMKMF-xmkmf}) >/dev/null 2>/dev/null && test -f Makefile; then
9005 # GNU make sometimes prints "make[1]: Entering ...", which would confuse us.
9006 for ac_var in incroot usrlibdir libdir; do
9007 eval "ac_im_$ac_var=\`\${MAKE-make} $ac_var 2>/dev/null | sed -n 's/^$ac_var=//p'\`"
9008 done
9009 # Open Windows xmkmf reportedly sets LIBDIR instead of USRLIBDIR.
9010 for ac_extension in a so sl dylib la dll; do
9011 if test ! -f "$ac_im_usrlibdir/libX11.$ac_extension" &&
9012 test -f "$ac_im_libdir/libX11.$ac_extension"; then
9013 ac_im_usrlibdir=$ac_im_libdir; break
9015 done
9016 # Screen out bogus values from the imake configuration. They are
9017 # bogus both because they are the default anyway, and because
9018 # using them would break gcc on systems where it needs fixed includes.
9019 case $ac_im_incroot in
9020 /usr/include) ac_x_includes= ;;
9021 *) test -f "$ac_im_incroot/X11/Xos.h" && ac_x_includes=$ac_im_incroot;;
9022 esac
9023 case $ac_im_usrlibdir in
9024 /usr/lib | /usr/lib64 | /lib | /lib64) ;;
9025 *) test -d "$ac_im_usrlibdir" && ac_x_libraries=$ac_im_usrlibdir ;;
9026 esac
9028 cd ..
9029 rm -f -r conftest.dir
9032 # Standard set of common directories for X headers.
9033 # Check X11 before X11Rn because it is often a symlink to the current release.
9034 ac_x_header_dirs='
9035 /usr/X11/include
9036 /usr/X11R7/include
9037 /usr/X11R6/include
9038 /usr/X11R5/include
9039 /usr/X11R4/include
9041 /usr/include/X11
9042 /usr/include/X11R7
9043 /usr/include/X11R6
9044 /usr/include/X11R5
9045 /usr/include/X11R4
9047 /usr/local/X11/include
9048 /usr/local/X11R7/include
9049 /usr/local/X11R6/include
9050 /usr/local/X11R5/include
9051 /usr/local/X11R4/include
9053 /usr/local/include/X11
9054 /usr/local/include/X11R7
9055 /usr/local/include/X11R6
9056 /usr/local/include/X11R5
9057 /usr/local/include/X11R4
9059 /usr/X386/include
9060 /usr/x386/include
9061 /usr/XFree86/include/X11
9063 /usr/include
9064 /usr/local/include
9065 /usr/unsupported/include
9066 /usr/athena/include
9067 /usr/local/x11r5/include
9068 /usr/lpp/Xamples/include
9070 /usr/openwin/include
9071 /usr/openwin/share/include'
9073 if test "$ac_x_includes" = no; then
9074 # Guess where to find include files, by looking for Xlib.h.
9075 # First, try using that file with no special directory specified.
9076 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9077 /* end confdefs.h. */
9078 #include <X11/Xlib.h>
9079 _ACEOF
9080 if ac_fn_c_try_cpp "$LINENO"; then :
9081 # We can compile using X headers with no special include directory.
9082 ac_x_includes=
9083 else
9084 for ac_dir in $ac_x_header_dirs; do
9085 if test -r "$ac_dir/X11/Xlib.h"; then
9086 ac_x_includes=$ac_dir
9087 break
9089 done
9091 rm -f conftest.err conftest.i conftest.$ac_ext
9092 fi # $ac_x_includes = no
9094 if test "$ac_x_libraries" = no; then
9095 # Check for the libraries.
9096 # See if we find them without any special options.
9097 # Don't add to $LIBS permanently.
9098 ac_save_LIBS=$LIBS
9099 LIBS="-lX11 $LIBS"
9100 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9101 /* end confdefs.h. */
9102 #include <X11/Xlib.h>
9104 main ()
9106 XrmInitialize ()
9108 return 0;
9110 _ACEOF
9111 if ac_fn_c_try_link "$LINENO"; then :
9112 LIBS=$ac_save_LIBS
9113 # We can link X programs with no special library path.
9114 ac_x_libraries=
9115 else
9116 LIBS=$ac_save_LIBS
9117 for ac_dir in `$as_echo "$ac_x_includes $ac_x_header_dirs" | sed s/include/lib/g`
9119 # Don't even attempt the hair of trying to link an X program!
9120 for ac_extension in a so sl dylib la dll; do
9121 if test -r "$ac_dir/libX11.$ac_extension"; then
9122 ac_x_libraries=$ac_dir
9123 break 2
9125 done
9126 done
9128 rm -f core conftest.err conftest.$ac_objext \
9129 conftest$ac_exeext conftest.$ac_ext
9130 fi # $ac_x_libraries = no
9132 case $ac_x_includes,$ac_x_libraries in #(
9133 no,* | *,no | *\'*)
9134 # Didn't find X, or a directory has "'" in its name.
9135 ac_cv_have_x="have_x=no";; #(
9137 # Record where we found X for the cache.
9138 ac_cv_have_x="have_x=yes\
9139 ac_x_includes='$ac_x_includes'\
9140 ac_x_libraries='$ac_x_libraries'"
9141 esac
9143 ;; #(
9144 *) have_x=yes;;
9145 esac
9146 eval "$ac_cv_have_x"
9147 fi # $with_x != no
9149 if test "$have_x" != yes; then
9150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $have_x" >&5
9151 $as_echo "$have_x" >&6; }
9152 no_x=yes
9153 else
9154 # If each of the values was on the command line, it overrides each guess.
9155 test "x$x_includes" = xNONE && x_includes=$ac_x_includes
9156 test "x$x_libraries" = xNONE && x_libraries=$ac_x_libraries
9157 # Update the cache value to reflect the command line values.
9158 ac_cv_have_x="have_x=yes\
9159 ac_x_includes='$x_includes'\
9160 ac_x_libraries='$x_libraries'"
9161 { $as_echo "$as_me:${as_lineno-$LINENO}: result: libraries $x_libraries, headers $x_includes" >&5
9162 $as_echo "libraries $x_libraries, headers $x_includes" >&6; }
9165 if test "$no_x" = yes; then
9166 # Not all programs may use this symbol, but it does not hurt to define it.
9168 $as_echo "#define X_DISPLAY_MISSING 1" >>confdefs.h
9170 X_CFLAGS= X_PRE_LIBS= X_LIBS= X_EXTRA_LIBS=
9171 else
9172 if test -n "$x_includes"; then
9173 X_CFLAGS="$X_CFLAGS -I$x_includes"
9176 # It would also be nice to do this for all -L options, not just this one.
9177 if test -n "$x_libraries"; then
9178 X_LIBS="$X_LIBS -L$x_libraries"
9179 # For Solaris; some versions of Sun CC require a space after -R and
9180 # others require no space. Words are not sufficient . . . .
9181 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether -R must be followed by a space" >&5
9182 $as_echo_n "checking whether -R must be followed by a space... " >&6; }
9183 ac_xsave_LIBS=$LIBS; LIBS="$LIBS -R$x_libraries"
9184 ac_xsave_c_werror_flag=$ac_c_werror_flag
9185 ac_c_werror_flag=yes
9186 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9187 /* end confdefs.h. */
9190 main ()
9194 return 0;
9196 _ACEOF
9197 if ac_fn_c_try_link "$LINENO"; then :
9198 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
9199 $as_echo "no" >&6; }
9200 X_LIBS="$X_LIBS -R$x_libraries"
9201 else
9202 LIBS="$ac_xsave_LIBS -R $x_libraries"
9203 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9204 /* end confdefs.h. */
9207 main ()
9211 return 0;
9213 _ACEOF
9214 if ac_fn_c_try_link "$LINENO"; then :
9215 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
9216 $as_echo "yes" >&6; }
9217 X_LIBS="$X_LIBS -R $x_libraries"
9218 else
9219 { $as_echo "$as_me:${as_lineno-$LINENO}: result: neither works" >&5
9220 $as_echo "neither works" >&6; }
9222 rm -f core conftest.err conftest.$ac_objext \
9223 conftest$ac_exeext conftest.$ac_ext
9225 rm -f core conftest.err conftest.$ac_objext \
9226 conftest$ac_exeext conftest.$ac_ext
9227 ac_c_werror_flag=$ac_xsave_c_werror_flag
9228 LIBS=$ac_xsave_LIBS
9231 # Check for system-dependent libraries X programs must link with.
9232 # Do this before checking for the system-independent R6 libraries
9233 # (-lICE), since we may need -lsocket or whatever for X linking.
9235 if test "$ISC" = yes; then
9236 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl_s -linet"
9237 else
9238 # Martyn Johnson says this is needed for Ultrix, if the X
9239 # libraries were built with DECnet support. And Karl Berry says
9240 # the Alpha needs dnet_stub (dnet does not exist).
9241 ac_xsave_LIBS="$LIBS"; LIBS="$LIBS $X_LIBS -lX11"
9242 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9243 /* end confdefs.h. */
9245 /* Override any GCC internal prototype to avoid an error.
9246 Use char because int might match the return type of a GCC
9247 builtin and then its argument prototype would still apply. */
9248 #ifdef __cplusplus
9249 extern "C"
9250 #endif
9251 char XOpenDisplay ();
9253 main ()
9255 return XOpenDisplay ();
9257 return 0;
9259 _ACEOF
9260 if ac_fn_c_try_link "$LINENO"; then :
9262 else
9263 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet" >&5
9264 $as_echo_n "checking for dnet_ntoa in -ldnet... " >&6; }
9265 if ${ac_cv_lib_dnet_dnet_ntoa+:} false; then :
9266 $as_echo_n "(cached) " >&6
9267 else
9268 ac_check_lib_save_LIBS=$LIBS
9269 LIBS="-ldnet $LIBS"
9270 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9271 /* end confdefs.h. */
9273 /* Override any GCC internal prototype to avoid an error.
9274 Use char because int might match the return type of a GCC
9275 builtin and then its argument prototype would still apply. */
9276 #ifdef __cplusplus
9277 extern "C"
9278 #endif
9279 char dnet_ntoa ();
9281 main ()
9283 return dnet_ntoa ();
9285 return 0;
9287 _ACEOF
9288 if ac_fn_c_try_link "$LINENO"; then :
9289 ac_cv_lib_dnet_dnet_ntoa=yes
9290 else
9291 ac_cv_lib_dnet_dnet_ntoa=no
9293 rm -f core conftest.err conftest.$ac_objext \
9294 conftest$ac_exeext conftest.$ac_ext
9295 LIBS=$ac_check_lib_save_LIBS
9297 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_dnet_ntoa" >&5
9298 $as_echo "$ac_cv_lib_dnet_dnet_ntoa" >&6; }
9299 if test "x$ac_cv_lib_dnet_dnet_ntoa" = xyes; then :
9300 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet"
9303 if test $ac_cv_lib_dnet_dnet_ntoa = no; then
9304 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dnet_ntoa in -ldnet_stub" >&5
9305 $as_echo_n "checking for dnet_ntoa in -ldnet_stub... " >&6; }
9306 if ${ac_cv_lib_dnet_stub_dnet_ntoa+:} false; then :
9307 $as_echo_n "(cached) " >&6
9308 else
9309 ac_check_lib_save_LIBS=$LIBS
9310 LIBS="-ldnet_stub $LIBS"
9311 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9312 /* end confdefs.h. */
9314 /* Override any GCC internal prototype to avoid an error.
9315 Use char because int might match the return type of a GCC
9316 builtin and then its argument prototype would still apply. */
9317 #ifdef __cplusplus
9318 extern "C"
9319 #endif
9320 char dnet_ntoa ();
9322 main ()
9324 return dnet_ntoa ();
9326 return 0;
9328 _ACEOF
9329 if ac_fn_c_try_link "$LINENO"; then :
9330 ac_cv_lib_dnet_stub_dnet_ntoa=yes
9331 else
9332 ac_cv_lib_dnet_stub_dnet_ntoa=no
9334 rm -f core conftest.err conftest.$ac_objext \
9335 conftest$ac_exeext conftest.$ac_ext
9336 LIBS=$ac_check_lib_save_LIBS
9338 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dnet_stub_dnet_ntoa" >&5
9339 $as_echo "$ac_cv_lib_dnet_stub_dnet_ntoa" >&6; }
9340 if test "x$ac_cv_lib_dnet_stub_dnet_ntoa" = xyes; then :
9341 X_EXTRA_LIBS="$X_EXTRA_LIBS -ldnet_stub"
9346 rm -f core conftest.err conftest.$ac_objext \
9347 conftest$ac_exeext conftest.$ac_ext
9348 LIBS="$ac_xsave_LIBS"
9350 # msh@cis.ufl.edu says -lnsl (and -lsocket) are needed for his 386/AT,
9351 # to get the SysV transport functions.
9352 # Chad R. Larson says the Pyramis MIS-ES running DC/OSx (SVR4)
9353 # needs -lnsl.
9354 # The nsl library prevents programs from opening the X display
9355 # on Irix 5.2, according to T.E. Dickey.
9356 # The functions gethostbyname, getservbyname, and inet_addr are
9357 # in -lbsd on LynxOS 3.0.1/i386, according to Lars Hecking.
9358 ac_fn_c_check_func "$LINENO" "gethostbyname" "ac_cv_func_gethostbyname"
9359 if test "x$ac_cv_func_gethostbyname" = xyes; then :
9363 if test $ac_cv_func_gethostbyname = no; then
9364 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lnsl" >&5
9365 $as_echo_n "checking for gethostbyname in -lnsl... " >&6; }
9366 if ${ac_cv_lib_nsl_gethostbyname+:} false; then :
9367 $as_echo_n "(cached) " >&6
9368 else
9369 ac_check_lib_save_LIBS=$LIBS
9370 LIBS="-lnsl $LIBS"
9371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9372 /* end confdefs.h. */
9374 /* Override any GCC internal prototype to avoid an error.
9375 Use char because int might match the return type of a GCC
9376 builtin and then its argument prototype would still apply. */
9377 #ifdef __cplusplus
9378 extern "C"
9379 #endif
9380 char gethostbyname ();
9382 main ()
9384 return gethostbyname ();
9386 return 0;
9388 _ACEOF
9389 if ac_fn_c_try_link "$LINENO"; then :
9390 ac_cv_lib_nsl_gethostbyname=yes
9391 else
9392 ac_cv_lib_nsl_gethostbyname=no
9394 rm -f core conftest.err conftest.$ac_objext \
9395 conftest$ac_exeext conftest.$ac_ext
9396 LIBS=$ac_check_lib_save_LIBS
9398 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_nsl_gethostbyname" >&5
9399 $as_echo "$ac_cv_lib_nsl_gethostbyname" >&6; }
9400 if test "x$ac_cv_lib_nsl_gethostbyname" = xyes; then :
9401 X_EXTRA_LIBS="$X_EXTRA_LIBS -lnsl"
9404 if test $ac_cv_lib_nsl_gethostbyname = no; then
9405 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gethostbyname in -lbsd" >&5
9406 $as_echo_n "checking for gethostbyname in -lbsd... " >&6; }
9407 if ${ac_cv_lib_bsd_gethostbyname+:} false; then :
9408 $as_echo_n "(cached) " >&6
9409 else
9410 ac_check_lib_save_LIBS=$LIBS
9411 LIBS="-lbsd $LIBS"
9412 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9413 /* end confdefs.h. */
9415 /* Override any GCC internal prototype to avoid an error.
9416 Use char because int might match the return type of a GCC
9417 builtin and then its argument prototype would still apply. */
9418 #ifdef __cplusplus
9419 extern "C"
9420 #endif
9421 char gethostbyname ();
9423 main ()
9425 return gethostbyname ();
9427 return 0;
9429 _ACEOF
9430 if ac_fn_c_try_link "$LINENO"; then :
9431 ac_cv_lib_bsd_gethostbyname=yes
9432 else
9433 ac_cv_lib_bsd_gethostbyname=no
9435 rm -f core conftest.err conftest.$ac_objext \
9436 conftest$ac_exeext conftest.$ac_ext
9437 LIBS=$ac_check_lib_save_LIBS
9439 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_bsd_gethostbyname" >&5
9440 $as_echo "$ac_cv_lib_bsd_gethostbyname" >&6; }
9441 if test "x$ac_cv_lib_bsd_gethostbyname" = xyes; then :
9442 X_EXTRA_LIBS="$X_EXTRA_LIBS -lbsd"
9448 # lieder@skyler.mavd.honeywell.com says without -lsocket,
9449 # socket/setsockopt and other routines are undefined under SCO ODT
9450 # 2.0. But -lsocket is broken on IRIX 5.2 (and is not necessary
9451 # on later versions), says Simon Leinen: it contains gethostby*
9452 # variants that don't use the name server (or something). -lsocket
9453 # must be given before -lnsl if both are needed. We assume that
9454 # if connect needs -lnsl, so does gethostbyname.
9455 ac_fn_c_check_func "$LINENO" "connect" "ac_cv_func_connect"
9456 if test "x$ac_cv_func_connect" = xyes; then :
9460 if test $ac_cv_func_connect = no; then
9461 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for connect in -lsocket" >&5
9462 $as_echo_n "checking for connect in -lsocket... " >&6; }
9463 if ${ac_cv_lib_socket_connect+:} false; then :
9464 $as_echo_n "(cached) " >&6
9465 else
9466 ac_check_lib_save_LIBS=$LIBS
9467 LIBS="-lsocket $X_EXTRA_LIBS $LIBS"
9468 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9469 /* end confdefs.h. */
9471 /* Override any GCC internal prototype to avoid an error.
9472 Use char because int might match the return type of a GCC
9473 builtin and then its argument prototype would still apply. */
9474 #ifdef __cplusplus
9475 extern "C"
9476 #endif
9477 char connect ();
9479 main ()
9481 return connect ();
9483 return 0;
9485 _ACEOF
9486 if ac_fn_c_try_link "$LINENO"; then :
9487 ac_cv_lib_socket_connect=yes
9488 else
9489 ac_cv_lib_socket_connect=no
9491 rm -f core conftest.err conftest.$ac_objext \
9492 conftest$ac_exeext conftest.$ac_ext
9493 LIBS=$ac_check_lib_save_LIBS
9495 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_socket_connect" >&5
9496 $as_echo "$ac_cv_lib_socket_connect" >&6; }
9497 if test "x$ac_cv_lib_socket_connect" = xyes; then :
9498 X_EXTRA_LIBS="-lsocket $X_EXTRA_LIBS"
9503 # Guillermo Gomez says -lposix is necessary on A/UX.
9504 ac_fn_c_check_func "$LINENO" "remove" "ac_cv_func_remove"
9505 if test "x$ac_cv_func_remove" = xyes; then :
9509 if test $ac_cv_func_remove = no; then
9510 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for remove in -lposix" >&5
9511 $as_echo_n "checking for remove in -lposix... " >&6; }
9512 if ${ac_cv_lib_posix_remove+:} false; then :
9513 $as_echo_n "(cached) " >&6
9514 else
9515 ac_check_lib_save_LIBS=$LIBS
9516 LIBS="-lposix $LIBS"
9517 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9518 /* end confdefs.h. */
9520 /* Override any GCC internal prototype to avoid an error.
9521 Use char because int might match the return type of a GCC
9522 builtin and then its argument prototype would still apply. */
9523 #ifdef __cplusplus
9524 extern "C"
9525 #endif
9526 char remove ();
9528 main ()
9530 return remove ();
9532 return 0;
9534 _ACEOF
9535 if ac_fn_c_try_link "$LINENO"; then :
9536 ac_cv_lib_posix_remove=yes
9537 else
9538 ac_cv_lib_posix_remove=no
9540 rm -f core conftest.err conftest.$ac_objext \
9541 conftest$ac_exeext conftest.$ac_ext
9542 LIBS=$ac_check_lib_save_LIBS
9544 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_posix_remove" >&5
9545 $as_echo "$ac_cv_lib_posix_remove" >&6; }
9546 if test "x$ac_cv_lib_posix_remove" = xyes; then :
9547 X_EXTRA_LIBS="$X_EXTRA_LIBS -lposix"
9552 # BSDI BSD/OS 2.1 needs -lipc for XOpenDisplay.
9553 ac_fn_c_check_func "$LINENO" "shmat" "ac_cv_func_shmat"
9554 if test "x$ac_cv_func_shmat" = xyes; then :
9558 if test $ac_cv_func_shmat = no; then
9559 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for shmat in -lipc" >&5
9560 $as_echo_n "checking for shmat in -lipc... " >&6; }
9561 if ${ac_cv_lib_ipc_shmat+:} false; then :
9562 $as_echo_n "(cached) " >&6
9563 else
9564 ac_check_lib_save_LIBS=$LIBS
9565 LIBS="-lipc $LIBS"
9566 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9567 /* end confdefs.h. */
9569 /* Override any GCC internal prototype to avoid an error.
9570 Use char because int might match the return type of a GCC
9571 builtin and then its argument prototype would still apply. */
9572 #ifdef __cplusplus
9573 extern "C"
9574 #endif
9575 char shmat ();
9577 main ()
9579 return shmat ();
9581 return 0;
9583 _ACEOF
9584 if ac_fn_c_try_link "$LINENO"; then :
9585 ac_cv_lib_ipc_shmat=yes
9586 else
9587 ac_cv_lib_ipc_shmat=no
9589 rm -f core conftest.err conftest.$ac_objext \
9590 conftest$ac_exeext conftest.$ac_ext
9591 LIBS=$ac_check_lib_save_LIBS
9593 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ipc_shmat" >&5
9594 $as_echo "$ac_cv_lib_ipc_shmat" >&6; }
9595 if test "x$ac_cv_lib_ipc_shmat" = xyes; then :
9596 X_EXTRA_LIBS="$X_EXTRA_LIBS -lipc"
9602 # Check for libraries that X11R6 Xt/Xaw programs need.
9603 ac_save_LDFLAGS=$LDFLAGS
9604 test -n "$x_libraries" && LDFLAGS="$LDFLAGS -L$x_libraries"
9605 # SM needs ICE to (dynamically) link under SunOS 4.x (so we have to
9606 # check for ICE first), but we must link in the order -lSM -lICE or
9607 # we get undefined symbols. So assume we have SM if we have ICE.
9608 # These have to be linked with before -lX11, unlike the other
9609 # libraries we check for below, so use a different variable.
9610 # John Interrante, Karl Berry
9611 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for IceConnectionNumber in -lICE" >&5
9612 $as_echo_n "checking for IceConnectionNumber in -lICE... " >&6; }
9613 if ${ac_cv_lib_ICE_IceConnectionNumber+:} false; then :
9614 $as_echo_n "(cached) " >&6
9615 else
9616 ac_check_lib_save_LIBS=$LIBS
9617 LIBS="-lICE $X_EXTRA_LIBS $LIBS"
9618 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9619 /* end confdefs.h. */
9621 /* Override any GCC internal prototype to avoid an error.
9622 Use char because int might match the return type of a GCC
9623 builtin and then its argument prototype would still apply. */
9624 #ifdef __cplusplus
9625 extern "C"
9626 #endif
9627 char IceConnectionNumber ();
9629 main ()
9631 return IceConnectionNumber ();
9633 return 0;
9635 _ACEOF
9636 if ac_fn_c_try_link "$LINENO"; then :
9637 ac_cv_lib_ICE_IceConnectionNumber=yes
9638 else
9639 ac_cv_lib_ICE_IceConnectionNumber=no
9641 rm -f core conftest.err conftest.$ac_objext \
9642 conftest$ac_exeext conftest.$ac_ext
9643 LIBS=$ac_check_lib_save_LIBS
9645 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ICE_IceConnectionNumber" >&5
9646 $as_echo "$ac_cv_lib_ICE_IceConnectionNumber" >&6; }
9647 if test "x$ac_cv_lib_ICE_IceConnectionNumber" = xyes; then :
9648 X_PRE_LIBS="$X_PRE_LIBS -lSM -lICE"
9651 LDFLAGS=$ac_save_LDFLAGS
9656 if test "$have_x" = "yes"
9657 then
9658 ac_save_CPPFLAGS="$CPPFLAGS"
9659 CPPFLAGS="$CPPFLAGS $X_CFLAGS"
9661 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lX11" >&5
9662 $as_echo_n "checking for -lX11... " >&6; }
9663 if ${ac_cv_lib_soname_X11+:} false; then :
9664 $as_echo_n "(cached) " >&6
9665 else
9666 ac_check_soname_save_LIBS=$LIBS
9667 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9668 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9669 /* end confdefs.h. */
9671 /* Override any GCC internal prototype to avoid an error.
9672 Use char because int might match the return type of a GCC
9673 builtin and then its argument prototype would still apply. */
9674 #ifdef __cplusplus
9675 extern "C"
9676 #endif
9677 char XCreateWindow ();
9679 main ()
9681 return XCreateWindow ();
9683 return 0;
9685 _ACEOF
9686 if ac_fn_c_try_link "$LINENO"; then :
9687 case "$LIBEXT" in
9688 dll) ac_cv_lib_soname_X11=`$ac_cv_path_LDD conftest.exe | grep "X11" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9689 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'` ;;
9690 *) ac_cv_lib_soname_X11=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libX11\\.$LIBEXT" | sed -e "s/^.*\\[\\(libX11\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9691 if ${ac_cv_lib_soname_X11:+false} :; then :
9692 ac_cv_lib_soname_X11=`$LDD conftest$ac_exeext | grep "libX11\\.$LIBEXT" | sed -e "s/^.*\(libX11\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9693 fi ;;
9694 esac
9696 rm -f core conftest.err conftest.$ac_objext \
9697 conftest$ac_exeext conftest.$ac_ext
9698 LIBS=$ac_check_soname_save_LIBS
9700 if ${ac_cv_lib_soname_X11:+false} :; then :
9701 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9702 $as_echo "not found" >&6; }
9704 else
9705 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_X11" >&5
9706 $as_echo "$ac_cv_lib_soname_X11" >&6; }
9708 cat >>confdefs.h <<_ACEOF
9709 #define SONAME_LIBX11 "$ac_cv_lib_soname_X11"
9710 _ACEOF
9714 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXext" >&5
9715 $as_echo_n "checking for -lXext... " >&6; }
9716 if ${ac_cv_lib_soname_Xext+:} false; then :
9717 $as_echo_n "(cached) " >&6
9718 else
9719 ac_check_soname_save_LIBS=$LIBS
9720 LIBS="-lXext $X_LIBS -lX11 $X_EXTRA_LIBS $LIBS"
9721 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9722 /* end confdefs.h. */
9724 /* Override any GCC internal prototype to avoid an error.
9725 Use char because int might match the return type of a GCC
9726 builtin and then its argument prototype would still apply. */
9727 #ifdef __cplusplus
9728 extern "C"
9729 #endif
9730 char XextCreateExtension ();
9732 main ()
9734 return XextCreateExtension ();
9736 return 0;
9738 _ACEOF
9739 if ac_fn_c_try_link "$LINENO"; then :
9740 case "$LIBEXT" in
9741 dll) ac_cv_lib_soname_Xext=`$ac_cv_path_LDD conftest.exe | grep "Xext" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9742 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'` ;;
9743 *) ac_cv_lib_soname_Xext=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXext\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXext\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9744 if ${ac_cv_lib_soname_Xext:+false} :; then :
9745 ac_cv_lib_soname_Xext=`$LDD conftest$ac_exeext | grep "libXext\\.$LIBEXT" | sed -e "s/^.*\(libXext\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9746 fi ;;
9747 esac
9749 rm -f core conftest.err conftest.$ac_objext \
9750 conftest$ac_exeext conftest.$ac_ext
9751 LIBS=$ac_check_soname_save_LIBS
9753 if ${ac_cv_lib_soname_Xext:+false} :; then :
9754 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9755 $as_echo "not found" >&6; }
9757 else
9758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xext" >&5
9759 $as_echo "$ac_cv_lib_soname_Xext" >&6; }
9761 cat >>confdefs.h <<_ACEOF
9762 #define SONAME_LIBXEXT "$ac_cv_lib_soname_Xext"
9763 _ACEOF
9765 X_LIBS="$X_LIBS -lXext"
9767 X_LIBS="$X_LIBS -lX11"
9769 for ac_header in X11/Xlib.h \
9770 X11/XKBlib.h \
9771 X11/Xutil.h \
9772 X11/Xcursor/Xcursor.h \
9773 X11/extensions/shape.h \
9774 X11/extensions/XInput.h \
9775 X11/extensions/XInput2.h \
9776 X11/extensions/XShm.h \
9777 X11/extensions/Xcomposite.h \
9778 X11/extensions/Xfixes.h \
9779 X11/extensions/Xinerama.h \
9780 X11/extensions/Xrandr.h \
9781 X11/extensions/Xrender.h \
9782 X11/extensions/xf86vmode.h \
9783 X11/extensions/xf86vmproto.h
9784 do :
9785 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
9786 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_X11_XLIB_H
9787 # include <X11/Xlib.h>
9788 #endif
9789 #ifdef HAVE_X11_XUTIL_H
9790 # include <X11/Xutil.h>
9791 #endif
9793 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
9794 cat >>confdefs.h <<_ACEOF
9795 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
9796 _ACEOF
9800 done
9803 if test "$ac_cv_header_X11_XKBlib_h" = "yes"
9804 then
9805 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XkbQueryExtension in -lX11" >&5
9806 $as_echo_n "checking for XkbQueryExtension in -lX11... " >&6; }
9807 if ${ac_cv_lib_X11_XkbQueryExtension+:} false; then :
9808 $as_echo_n "(cached) " >&6
9809 else
9810 ac_check_lib_save_LIBS=$LIBS
9811 LIBS="-lX11 $X_LIBS $X_EXTRA_LIBS $LIBS"
9812 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9813 /* end confdefs.h. */
9815 /* Override any GCC internal prototype to avoid an error.
9816 Use char because int might match the return type of a GCC
9817 builtin and then its argument prototype would still apply. */
9818 #ifdef __cplusplus
9819 extern "C"
9820 #endif
9821 char XkbQueryExtension ();
9823 main ()
9825 return XkbQueryExtension ();
9827 return 0;
9829 _ACEOF
9830 if ac_fn_c_try_link "$LINENO"; then :
9831 ac_cv_lib_X11_XkbQueryExtension=yes
9832 else
9833 ac_cv_lib_X11_XkbQueryExtension=no
9835 rm -f core conftest.err conftest.$ac_objext \
9836 conftest$ac_exeext conftest.$ac_ext
9837 LIBS=$ac_check_lib_save_LIBS
9839 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_X11_XkbQueryExtension" >&5
9840 $as_echo "$ac_cv_lib_X11_XkbQueryExtension" >&6; }
9841 if test "x$ac_cv_lib_X11_XkbQueryExtension" = xyes; then :
9843 $as_echo "#define HAVE_XKB 1" >>confdefs.h
9849 if test "$ac_cv_header_X11_Xcursor_Xcursor_h" = "yes"
9850 then
9851 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcursor" >&5
9852 $as_echo_n "checking for -lXcursor... " >&6; }
9853 if ${ac_cv_lib_soname_Xcursor+:} false; then :
9854 $as_echo_n "(cached) " >&6
9855 else
9856 ac_check_soname_save_LIBS=$LIBS
9857 LIBS="-lXcursor $X_LIBS $X_EXTRA_LIBS $LIBS"
9858 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9859 /* end confdefs.h. */
9861 /* Override any GCC internal prototype to avoid an error.
9862 Use char because int might match the return type of a GCC
9863 builtin and then its argument prototype would still apply. */
9864 #ifdef __cplusplus
9865 extern "C"
9866 #endif
9867 char XcursorImageLoadCursor ();
9869 main ()
9871 return XcursorImageLoadCursor ();
9873 return 0;
9875 _ACEOF
9876 if ac_fn_c_try_link "$LINENO"; then :
9877 case "$LIBEXT" in
9878 dll) ac_cv_lib_soname_Xcursor=`$ac_cv_path_LDD conftest.exe | grep "Xcursor" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9879 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'` ;;
9880 *) ac_cv_lib_soname_Xcursor=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcursor\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcursor\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9881 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9882 ac_cv_lib_soname_Xcursor=`$LDD conftest$ac_exeext | grep "libXcursor\\.$LIBEXT" | sed -e "s/^.*\(libXcursor\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9883 fi ;;
9884 esac
9886 rm -f core conftest.err conftest.$ac_objext \
9887 conftest$ac_exeext conftest.$ac_ext
9888 LIBS=$ac_check_soname_save_LIBS
9890 if ${ac_cv_lib_soname_Xcursor:+false} :; then :
9891 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9892 $as_echo "not found" >&6; }
9894 else
9895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcursor" >&5
9896 $as_echo "$ac_cv_lib_soname_Xcursor" >&6; }
9898 cat >>confdefs.h <<_ACEOF
9899 #define SONAME_LIBXCURSOR "$ac_cv_lib_soname_Xcursor"
9900 _ACEOF
9905 if test "x$ac_cv_lib_soname_Xcursor" = "x"; then :
9906 case "x$with_xcursor" in
9907 x) as_fn_append wine_notices "|libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported." ;;
9908 xno) ;;
9909 *) as_fn_error $? "libxcursor ${notice_platform}development files not found, the Xcursor extension won't be supported.
9910 This is an error since --with-xcursor was requested." "$LINENO" 5 ;;
9911 esac
9915 if test "$ac_cv_header_X11_extensions_XInput_h" = "yes"
9916 then
9917 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXi" >&5
9918 $as_echo_n "checking for -lXi... " >&6; }
9919 if ${ac_cv_lib_soname_Xi+:} false; then :
9920 $as_echo_n "(cached) " >&6
9921 else
9922 ac_check_soname_save_LIBS=$LIBS
9923 LIBS="-lXi $X_LIBS $X_EXTRA_LIBS $LIBS"
9924 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
9925 /* end confdefs.h. */
9927 /* Override any GCC internal prototype to avoid an error.
9928 Use char because int might match the return type of a GCC
9929 builtin and then its argument prototype would still apply. */
9930 #ifdef __cplusplus
9931 extern "C"
9932 #endif
9933 char XOpenDevice ();
9935 main ()
9937 return XOpenDevice ();
9939 return 0;
9941 _ACEOF
9942 if ac_fn_c_try_link "$LINENO"; then :
9943 case "$LIBEXT" in
9944 dll) ac_cv_lib_soname_Xi=`$ac_cv_path_LDD conftest.exe | grep "Xi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
9945 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'` ;;
9946 *) ac_cv_lib_soname_Xi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
9947 if ${ac_cv_lib_soname_Xi:+false} :; then :
9948 ac_cv_lib_soname_Xi=`$LDD conftest$ac_exeext | grep "libXi\\.$LIBEXT" | sed -e "s/^.*\(libXi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
9949 fi ;;
9950 esac
9952 rm -f core conftest.err conftest.$ac_objext \
9953 conftest$ac_exeext conftest.$ac_ext
9954 LIBS=$ac_check_soname_save_LIBS
9956 if ${ac_cv_lib_soname_Xi:+false} :; then :
9957 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
9958 $as_echo "not found" >&6; }
9960 else
9961 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xi" >&5
9962 $as_echo "$ac_cv_lib_soname_Xi" >&6; }
9964 cat >>confdefs.h <<_ACEOF
9965 #define SONAME_LIBXI "$ac_cv_lib_soname_Xi"
9966 _ACEOF
9971 if test "x$ac_cv_lib_soname_Xi" = "x"; then :
9972 case "x$with_xinput" in
9973 x) as_fn_append wine_notices "|libxi ${notice_platform}development files not found, the Xinput extension won't be supported." ;;
9974 xno) ;;
9975 *) as_fn_error $? "libxi ${notice_platform}development files not found, the Xinput extension won't be supported.
9976 This is an error since --with-xinput was requested." "$LINENO" 5 ;;
9977 esac
9981 if test "x$ac_cv_lib_soname_Xi" != x
9982 then
9983 if test "$ac_cv_header_X11_extensions_XInput2_h" != "yes"; then :
9984 case "x$with_xinput2" in
9985 x) as_fn_append wine_notices "|XInput2 headers not found, the XInput 2 extension won't be supported." ;;
9986 xno) ;;
9987 *) as_fn_error $? "XInput2 headers not found, the XInput 2 extension won't be supported.
9988 This is an error since --with-xinput2 was requested." "$LINENO" 5 ;;
9989 esac
9994 if test "$ac_cv_header_X11_extensions_XShm_h" = "yes"
9995 then
9996 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShmQueryExtension in -lXext" >&5
9997 $as_echo_n "checking for XShmQueryExtension in -lXext... " >&6; }
9998 if ${ac_cv_lib_Xext_XShmQueryExtension+:} false; then :
9999 $as_echo_n "(cached) " >&6
10000 else
10001 ac_check_lib_save_LIBS=$LIBS
10002 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10003 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10004 /* end confdefs.h. */
10006 /* Override any GCC internal prototype to avoid an error.
10007 Use char because int might match the return type of a GCC
10008 builtin and then its argument prototype would still apply. */
10009 #ifdef __cplusplus
10010 extern "C"
10011 #endif
10012 char XShmQueryExtension ();
10014 main ()
10016 return XShmQueryExtension ();
10018 return 0;
10020 _ACEOF
10021 if ac_fn_c_try_link "$LINENO"; then :
10022 ac_cv_lib_Xext_XShmQueryExtension=yes
10023 else
10024 ac_cv_lib_Xext_XShmQueryExtension=no
10026 rm -f core conftest.err conftest.$ac_objext \
10027 conftest$ac_exeext conftest.$ac_ext
10028 LIBS=$ac_check_lib_save_LIBS
10030 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShmQueryExtension" >&5
10031 $as_echo "$ac_cv_lib_Xext_XShmQueryExtension" >&6; }
10032 if test "x$ac_cv_lib_Xext_XShmQueryExtension" = xyes; then :
10034 $as_echo "#define HAVE_LIBXXSHM 1" >>confdefs.h
10039 if test "$ac_cv_lib_Xext_XShmQueryExtension" != "yes"; then :
10040 case "x$with_xshm" in
10041 x) as_fn_append wine_notices "|XShm ${notice_platform}development files not found, X Shared Memory won't be supported." ;;
10042 xno) ;;
10043 *) as_fn_error $? "XShm ${notice_platform}development files not found, X Shared Memory won't be supported.
10044 This is an error since --with-xshm was requested." "$LINENO" 5 ;;
10045 esac
10049 if test "$ac_cv_header_X11_extensions_shape_h" = "yes"
10050 then
10051 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XShapeQueryExtension in -lXext" >&5
10052 $as_echo_n "checking for XShapeQueryExtension in -lXext... " >&6; }
10053 if ${ac_cv_lib_Xext_XShapeQueryExtension+:} false; then :
10054 $as_echo_n "(cached) " >&6
10055 else
10056 ac_check_lib_save_LIBS=$LIBS
10057 LIBS="-lXext $X_LIBS $X_EXTRA_LIBS $LIBS"
10058 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10059 /* end confdefs.h. */
10061 /* Override any GCC internal prototype to avoid an error.
10062 Use char because int might match the return type of a GCC
10063 builtin and then its argument prototype would still apply. */
10064 #ifdef __cplusplus
10065 extern "C"
10066 #endif
10067 char XShapeQueryExtension ();
10069 main ()
10071 return XShapeQueryExtension ();
10073 return 0;
10075 _ACEOF
10076 if ac_fn_c_try_link "$LINENO"; then :
10077 ac_cv_lib_Xext_XShapeQueryExtension=yes
10078 else
10079 ac_cv_lib_Xext_XShapeQueryExtension=no
10081 rm -f core conftest.err conftest.$ac_objext \
10082 conftest$ac_exeext conftest.$ac_ext
10083 LIBS=$ac_check_lib_save_LIBS
10085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xext_XShapeQueryExtension" >&5
10086 $as_echo "$ac_cv_lib_Xext_XShapeQueryExtension" >&6; }
10087 if test "x$ac_cv_lib_Xext_XShapeQueryExtension" = xyes; then :
10089 $as_echo "#define HAVE_LIBXSHAPE 1" >>confdefs.h
10094 if test "$ac_cv_lib_Xext_XShapeQueryExtension" != "yes"; then :
10095 case "x$with_xshape" in
10096 x) as_fn_append wine_notices "|XShape ${notice_platform}development files not found, XShape won't be supported." ;;
10097 xno) ;;
10098 *) as_fn_error $? "XShape ${notice_platform}development files not found, XShape won't be supported.
10099 This is an error since --with-xshape was requested." "$LINENO" 5 ;;
10100 esac
10104 if test "$ac_cv_header_X11_extensions_xf86vmode_h" = "yes" -o "$ac_cv_header_X11_extensions_xf86vmproto_h" = "yes"
10105 then
10106 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXxf86vm" >&5
10107 $as_echo_n "checking for -lXxf86vm... " >&6; }
10108 if ${ac_cv_lib_soname_Xxf86vm+:} false; then :
10109 $as_echo_n "(cached) " >&6
10110 else
10111 ac_check_soname_save_LIBS=$LIBS
10112 LIBS="-lXxf86vm $X_LIBS $X_EXTRA_LIBS $LIBS"
10113 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10114 /* end confdefs.h. */
10116 /* Override any GCC internal prototype to avoid an error.
10117 Use char because int might match the return type of a GCC
10118 builtin and then its argument prototype would still apply. */
10119 #ifdef __cplusplus
10120 extern "C"
10121 #endif
10122 char XF86VidModeQueryExtension ();
10124 main ()
10126 return XF86VidModeQueryExtension ();
10128 return 0;
10130 _ACEOF
10131 if ac_fn_c_try_link "$LINENO"; then :
10132 case "$LIBEXT" in
10133 dll) ac_cv_lib_soname_Xxf86vm=`$ac_cv_path_LDD conftest.exe | grep "Xxf86vm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10134 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'` ;;
10135 *) ac_cv_lib_soname_Xxf86vm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXxf86vm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10136 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10137 ac_cv_lib_soname_Xxf86vm=`$LDD conftest$ac_exeext | grep "libXxf86vm\\.$LIBEXT" | sed -e "s/^.*\(libXxf86vm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10138 fi ;;
10139 esac
10141 rm -f core conftest.err conftest.$ac_objext \
10142 conftest$ac_exeext conftest.$ac_ext
10143 LIBS=$ac_check_soname_save_LIBS
10145 if ${ac_cv_lib_soname_Xxf86vm:+false} :; then :
10146 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10147 $as_echo "not found" >&6; }
10149 else
10150 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xxf86vm" >&5
10151 $as_echo "$ac_cv_lib_soname_Xxf86vm" >&6; }
10153 cat >>confdefs.h <<_ACEOF
10154 #define SONAME_LIBXXF86VM "$ac_cv_lib_soname_Xxf86vm"
10155 _ACEOF
10160 if test "x$ac_cv_lib_soname_Xxf86vm" = "x"; then :
10161 case "x$with_xxf86vm" in
10162 x) as_fn_append wine_notices "|libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported." ;;
10163 xno) ;;
10164 *) as_fn_error $? "libXxf86vm ${notice_platform}development files not found, XFree86 Vidmode won't be supported.
10165 This is an error since --with-xxf86vm was requested." "$LINENO" 5 ;;
10166 esac
10170 if test "$ac_cv_header_X11_extensions_Xrender_h" = "yes" -a "x$ac_cv_lib_soname_X11" != "x"
10171 then
10172 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrender" >&5
10173 $as_echo_n "checking for -lXrender... " >&6; }
10174 if ${ac_cv_lib_soname_Xrender+:} false; then :
10175 $as_echo_n "(cached) " >&6
10176 else
10177 ac_check_soname_save_LIBS=$LIBS
10178 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10179 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10180 /* end confdefs.h. */
10182 /* Override any GCC internal prototype to avoid an error.
10183 Use char because int might match the return type of a GCC
10184 builtin and then its argument prototype would still apply. */
10185 #ifdef __cplusplus
10186 extern "C"
10187 #endif
10188 char XRenderQueryExtension ();
10190 main ()
10192 return XRenderQueryExtension ();
10194 return 0;
10196 _ACEOF
10197 if ac_fn_c_try_link "$LINENO"; then :
10198 case "$LIBEXT" in
10199 dll) ac_cv_lib_soname_Xrender=`$ac_cv_path_LDD conftest.exe | grep "Xrender" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10200 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'` ;;
10201 *) ac_cv_lib_soname_Xrender=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrender\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrender\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10202 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10203 ac_cv_lib_soname_Xrender=`$LDD conftest$ac_exeext | grep "libXrender\\.$LIBEXT" | sed -e "s/^.*\(libXrender\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10204 fi ;;
10205 esac
10207 rm -f core conftest.err conftest.$ac_objext \
10208 conftest$ac_exeext conftest.$ac_ext
10209 LIBS=$ac_check_soname_save_LIBS
10211 if ${ac_cv_lib_soname_Xrender:+false} :; then :
10212 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10213 $as_echo "not found" >&6; }
10215 else
10216 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrender" >&5
10217 $as_echo "$ac_cv_lib_soname_Xrender" >&6; }
10219 cat >>confdefs.h <<_ACEOF
10220 #define SONAME_LIBXRENDER "$ac_cv_lib_soname_Xrender"
10221 _ACEOF
10223 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderSetPictureTransform in -lXrender" >&5
10224 $as_echo_n "checking for XRenderSetPictureTransform in -lXrender... " >&6; }
10225 if ${ac_cv_lib_Xrender_XRenderSetPictureTransform+:} false; then :
10226 $as_echo_n "(cached) " >&6
10227 else
10228 ac_check_lib_save_LIBS=$LIBS
10229 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10230 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10231 /* end confdefs.h. */
10233 /* Override any GCC internal prototype to avoid an error.
10234 Use char because int might match the return type of a GCC
10235 builtin and then its argument prototype would still apply. */
10236 #ifdef __cplusplus
10237 extern "C"
10238 #endif
10239 char XRenderSetPictureTransform ();
10241 main ()
10243 return XRenderSetPictureTransform ();
10245 return 0;
10247 _ACEOF
10248 if ac_fn_c_try_link "$LINENO"; then :
10249 ac_cv_lib_Xrender_XRenderSetPictureTransform=yes
10250 else
10251 ac_cv_lib_Xrender_XRenderSetPictureTransform=no
10253 rm -f core conftest.err conftest.$ac_objext \
10254 conftest$ac_exeext conftest.$ac_ext
10255 LIBS=$ac_check_lib_save_LIBS
10257 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderSetPictureTransform" >&5
10258 $as_echo "$ac_cv_lib_Xrender_XRenderSetPictureTransform" >&6; }
10259 if test "x$ac_cv_lib_Xrender_XRenderSetPictureTransform" = xyes; then :
10261 $as_echo "#define HAVE_XRENDERSETPICTURETRANSFORM 1" >>confdefs.h
10265 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for XRenderCreateLinearGradient in -lXrender" >&5
10266 $as_echo_n "checking for XRenderCreateLinearGradient in -lXrender... " >&6; }
10267 if ${ac_cv_lib_Xrender_XRenderCreateLinearGradient+:} false; then :
10268 $as_echo_n "(cached) " >&6
10269 else
10270 ac_check_lib_save_LIBS=$LIBS
10271 LIBS="-lXrender $X_LIBS $X_EXTRA_LIBS $LIBS"
10272 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10273 /* end confdefs.h. */
10275 /* Override any GCC internal prototype to avoid an error.
10276 Use char because int might match the return type of a GCC
10277 builtin and then its argument prototype would still apply. */
10278 #ifdef __cplusplus
10279 extern "C"
10280 #endif
10281 char XRenderCreateLinearGradient ();
10283 main ()
10285 return XRenderCreateLinearGradient ();
10287 return 0;
10289 _ACEOF
10290 if ac_fn_c_try_link "$LINENO"; then :
10291 ac_cv_lib_Xrender_XRenderCreateLinearGradient=yes
10292 else
10293 ac_cv_lib_Xrender_XRenderCreateLinearGradient=no
10295 rm -f core conftest.err conftest.$ac_objext \
10296 conftest$ac_exeext conftest.$ac_ext
10297 LIBS=$ac_check_lib_save_LIBS
10299 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&5
10300 $as_echo "$ac_cv_lib_Xrender_XRenderCreateLinearGradient" >&6; }
10301 if test "x$ac_cv_lib_Xrender_XRenderCreateLinearGradient" = xyes; then :
10303 $as_echo "#define HAVE_XRENDERCREATELINEARGRADIENT 1" >>confdefs.h
10310 if test "x$ac_cv_lib_soname_Xrender" = "x"; then :
10311 case "x$with_xrender" in
10312 x) as_fn_append wine_warnings "|libxrender ${notice_platform}development files not found, XRender won't be supported." ;;
10313 xno) ;;
10314 *) as_fn_error $? "libxrender ${notice_platform}development files not found, XRender won't be supported.
10315 This is an error since --with-xrender was requested." "$LINENO" 5 ;;
10316 esac
10320 if test "$ac_cv_header_X11_extensions_Xrandr_h" = "yes" -a "x$ac_cv_lib_soname_Xrender" != "x"
10321 then
10322 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10323 /* end confdefs.h. */
10324 #include <X11/Xlib.h>
10325 #include <X11/extensions/Xrandr.h>
10327 main ()
10329 static typeof(XRRSetScreenConfigAndRate) * func; if (func) return 0;
10331 return 0;
10333 _ACEOF
10334 if ac_fn_c_try_compile "$LINENO"; then :
10335 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXrandr" >&5
10336 $as_echo_n "checking for -lXrandr... " >&6; }
10337 if ${ac_cv_lib_soname_Xrandr+:} false; then :
10338 $as_echo_n "(cached) " >&6
10339 else
10340 ac_check_soname_save_LIBS=$LIBS
10341 LIBS="-lXrandr $X_LIBS $X_EXTRA_LIBS $LIBS"
10342 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10343 /* end confdefs.h. */
10345 /* Override any GCC internal prototype to avoid an error.
10346 Use char because int might match the return type of a GCC
10347 builtin and then its argument prototype would still apply. */
10348 #ifdef __cplusplus
10349 extern "C"
10350 #endif
10351 char XRRQueryExtension ();
10353 main ()
10355 return XRRQueryExtension ();
10357 return 0;
10359 _ACEOF
10360 if ac_fn_c_try_link "$LINENO"; then :
10361 case "$LIBEXT" in
10362 dll) ac_cv_lib_soname_Xrandr=`$ac_cv_path_LDD conftest.exe | grep "Xrandr" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10363 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'` ;;
10364 *) ac_cv_lib_soname_Xrandr=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXrandr\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXrandr\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10365 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10366 ac_cv_lib_soname_Xrandr=`$LDD conftest$ac_exeext | grep "libXrandr\\.$LIBEXT" | sed -e "s/^.*\(libXrandr\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10367 fi ;;
10368 esac
10370 rm -f core conftest.err conftest.$ac_objext \
10371 conftest$ac_exeext conftest.$ac_ext
10372 LIBS=$ac_check_soname_save_LIBS
10374 if ${ac_cv_lib_soname_Xrandr:+false} :; then :
10375 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10376 $as_echo "not found" >&6; }
10378 else
10379 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xrandr" >&5
10380 $as_echo "$ac_cv_lib_soname_Xrandr" >&6; }
10382 cat >>confdefs.h <<_ACEOF
10383 #define SONAME_LIBXRANDR "$ac_cv_lib_soname_Xrandr"
10384 _ACEOF
10386 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10387 /* end confdefs.h. */
10388 #include <X11/Xlib.h>
10389 #include <X11/extensions/Xrandr.h>
10391 main ()
10393 static typeof(XRRGetScreenResources) *f; if (f) return 0;
10395 return 0;
10397 _ACEOF
10398 if ac_fn_c_try_compile "$LINENO"; then :
10400 $as_echo "#define HAVE_XRRGETSCREENRESOURCES 1" >>confdefs.h
10403 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10406 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10408 if test "x$ac_cv_lib_soname_Xrandr" = "x"; then :
10409 case "x$with_xrandr" in
10410 x) as_fn_append wine_notices "|libxrandr ${notice_platform}development files not found, XRandr won't be supported." ;;
10411 xno) ;;
10412 *) as_fn_error $? "libxrandr ${notice_platform}development files not found, XRandr won't be supported.
10413 This is an error since --with-xrandr was requested." "$LINENO" 5 ;;
10414 esac
10418 if test "$ac_cv_header_X11_extensions_Xfixes_h" = "yes"
10419 then
10420 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10421 /* end confdefs.h. */
10422 #include <X11/Xlib.h>
10423 #include <X11/extensions/Xfixes.h>
10425 main ()
10427 static typeof(XFixesQueryVersion) * func; if (func) return 0;
10429 return 0;
10431 _ACEOF
10432 if ac_fn_c_try_compile "$LINENO"; then :
10433 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXfixes" >&5
10434 $as_echo_n "checking for -lXfixes... " >&6; }
10435 if ${ac_cv_lib_soname_Xfixes+:} false; then :
10436 $as_echo_n "(cached) " >&6
10437 else
10438 ac_check_soname_save_LIBS=$LIBS
10439 LIBS="-lXfixes $X_LIBS $X_EXTRA_LIBS $LIBS"
10440 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10441 /* end confdefs.h. */
10443 /* Override any GCC internal prototype to avoid an error.
10444 Use char because int might match the return type of a GCC
10445 builtin and then its argument prototype would still apply. */
10446 #ifdef __cplusplus
10447 extern "C"
10448 #endif
10449 char XFixesQueryVersion ();
10451 main ()
10453 return XFixesQueryVersion ();
10455 return 0;
10457 _ACEOF
10458 if ac_fn_c_try_link "$LINENO"; then :
10459 case "$LIBEXT" in
10460 dll) ac_cv_lib_soname_Xfixes=`$ac_cv_path_LDD conftest.exe | grep "Xfixes" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10461 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'` ;;
10462 *) ac_cv_lib_soname_Xfixes=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXfixes\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXfixes\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10463 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
10464 ac_cv_lib_soname_Xfixes=`$LDD conftest$ac_exeext | grep "libXfixes\\.$LIBEXT" | sed -e "s/^.*\(libXfixes\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10465 fi ;;
10466 esac
10468 rm -f core conftest.err conftest.$ac_objext \
10469 conftest$ac_exeext conftest.$ac_ext
10470 LIBS=$ac_check_soname_save_LIBS
10472 if ${ac_cv_lib_soname_Xfixes:+false} :; then :
10473 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10474 $as_echo "not found" >&6; }
10476 else
10477 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xfixes" >&5
10478 $as_echo "$ac_cv_lib_soname_Xfixes" >&6; }
10480 cat >>confdefs.h <<_ACEOF
10481 #define SONAME_LIBXFIXES "$ac_cv_lib_soname_Xfixes"
10482 _ACEOF
10487 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10489 if test "x$ac_cv_lib_soname_Xfixes" = "x"; then :
10490 case "x$with_xfixes" in
10491 x) as_fn_append wine_notices "|libxfixes ${notice_platform}development files not found, Xfixes won't be supported." ;;
10492 xno) ;;
10493 *) as_fn_error $? "libxfixes ${notice_platform}development files not found, Xfixes won't be supported.
10494 This is an error since --with-xfixes was requested." "$LINENO" 5 ;;
10495 esac
10499 if test "$ac_cv_header_X11_extensions_Xinerama_h" = "yes"
10500 then
10501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10502 /* end confdefs.h. */
10503 #include <X11/Xlib.h>
10504 #include <X11/extensions/Xinerama.h>
10506 main ()
10508 static typeof(XineramaQueryScreens) * func; if (func) return 0;
10510 return 0;
10512 _ACEOF
10513 if ac_fn_c_try_compile "$LINENO"; then :
10514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXinerama" >&5
10515 $as_echo_n "checking for -lXinerama... " >&6; }
10516 if ${ac_cv_lib_soname_Xinerama+:} false; then :
10517 $as_echo_n "(cached) " >&6
10518 else
10519 ac_check_soname_save_LIBS=$LIBS
10520 LIBS="-lXinerama $X_LIBS $X_EXTRA_LIBS $LIBS"
10521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10522 /* end confdefs.h. */
10524 /* Override any GCC internal prototype to avoid an error.
10525 Use char because int might match the return type of a GCC
10526 builtin and then its argument prototype would still apply. */
10527 #ifdef __cplusplus
10528 extern "C"
10529 #endif
10530 char XineramaQueryScreens ();
10532 main ()
10534 return XineramaQueryScreens ();
10536 return 0;
10538 _ACEOF
10539 if ac_fn_c_try_link "$LINENO"; then :
10540 case "$LIBEXT" in
10541 dll) ac_cv_lib_soname_Xinerama=`$ac_cv_path_LDD conftest.exe | grep "Xinerama" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10542 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'` ;;
10543 *) ac_cv_lib_soname_Xinerama=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXinerama\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXinerama\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10544 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10545 ac_cv_lib_soname_Xinerama=`$LDD conftest$ac_exeext | grep "libXinerama\\.$LIBEXT" | sed -e "s/^.*\(libXinerama\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10546 fi ;;
10547 esac
10549 rm -f core conftest.err conftest.$ac_objext \
10550 conftest$ac_exeext conftest.$ac_ext
10551 LIBS=$ac_check_soname_save_LIBS
10553 if ${ac_cv_lib_soname_Xinerama:+false} :; then :
10554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10555 $as_echo "not found" >&6; }
10557 else
10558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xinerama" >&5
10559 $as_echo "$ac_cv_lib_soname_Xinerama" >&6; }
10561 cat >>confdefs.h <<_ACEOF
10562 #define SONAME_LIBXINERAMA "$ac_cv_lib_soname_Xinerama"
10563 _ACEOF
10568 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
10570 if test "x$ac_cv_lib_soname_Xinerama" = "x"; then :
10571 case "x$with_xinerama" in
10572 x) as_fn_append wine_notices "|libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported." ;;
10573 xno) ;;
10574 *) as_fn_error $? "libxinerama ${notice_platform}development files not found, multi-monitor setups won't be supported.
10575 This is an error since --with-xinerama was requested." "$LINENO" 5 ;;
10576 esac
10580 if test "$ac_cv_header_X11_extensions_Xcomposite_h" = "yes"
10581 then
10582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lXcomposite" >&5
10583 $as_echo_n "checking for -lXcomposite... " >&6; }
10584 if ${ac_cv_lib_soname_Xcomposite+:} false; then :
10585 $as_echo_n "(cached) " >&6
10586 else
10587 ac_check_soname_save_LIBS=$LIBS
10588 LIBS="-lXcomposite $X_LIBS $X_EXTRA_LIBS $LIBS"
10589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10590 /* end confdefs.h. */
10592 /* Override any GCC internal prototype to avoid an error.
10593 Use char because int might match the return type of a GCC
10594 builtin and then its argument prototype would still apply. */
10595 #ifdef __cplusplus
10596 extern "C"
10597 #endif
10598 char XCompositeRedirectWindow ();
10600 main ()
10602 return XCompositeRedirectWindow ();
10604 return 0;
10606 _ACEOF
10607 if ac_fn_c_try_link "$LINENO"; then :
10608 case "$LIBEXT" in
10609 dll) ac_cv_lib_soname_Xcomposite=`$ac_cv_path_LDD conftest.exe | grep "Xcomposite" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10610 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'` ;;
10611 *) ac_cv_lib_soname_Xcomposite=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libXcomposite\\.$LIBEXT" | sed -e "s/^.*\\[\\(libXcomposite\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10612 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10613 ac_cv_lib_soname_Xcomposite=`$LDD conftest$ac_exeext | grep "libXcomposite\\.$LIBEXT" | sed -e "s/^.*\(libXcomposite\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10614 fi ;;
10615 esac
10617 rm -f core conftest.err conftest.$ac_objext \
10618 conftest$ac_exeext conftest.$ac_ext
10619 LIBS=$ac_check_soname_save_LIBS
10621 if ${ac_cv_lib_soname_Xcomposite:+false} :; then :
10622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10623 $as_echo "not found" >&6; }
10625 else
10626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_Xcomposite" >&5
10627 $as_echo "$ac_cv_lib_soname_Xcomposite" >&6; }
10629 cat >>confdefs.h <<_ACEOF
10630 #define SONAME_LIBXCOMPOSITE "$ac_cv_lib_soname_Xcomposite"
10631 _ACEOF
10636 if test "x$ac_cv_lib_soname_Xcomposite" = "x"; then :
10637 case "x$with_xcomposite" in
10638 x) as_fn_append wine_notices "|libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported." ;;
10639 xno) ;;
10640 *) as_fn_error $? "libxcomposite ${notice_platform}development files not found, Xcomposite won't be supported.
10641 This is an error since --with-xcomposite was requested." "$LINENO" 5 ;;
10642 esac
10646 ac_fn_c_check_member "$LINENO" "XICCallback" "callback" "ac_cv_member_XICCallback_callback" "#ifdef HAVE_X11_XLIB_H
10647 #include <X11/Xlib.h>
10648 #endif
10650 if test "x$ac_cv_member_XICCallback_callback" = xyes; then :
10652 cat >>confdefs.h <<_ACEOF
10653 #define HAVE_XICCALLBACK_CALLBACK 1
10654 _ACEOF
10658 ac_fn_c_check_member "$LINENO" "XEvent" "xcookie" "ac_cv_member_XEvent_xcookie" "#ifdef HAVE_X11_XLIB_H
10659 #include <X11/Xlib.h>
10660 #endif
10662 if test "x$ac_cv_member_XEvent_xcookie" = xyes; then :
10664 cat >>confdefs.h <<_ACEOF
10665 #define HAVE_XEVENT_XCOOKIE 1
10666 _ACEOF
10673 opengl_msg=""
10674 if test "x$with_opengl" != "xno"
10675 then
10676 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10677 $as_echo_n "checking for -lGL... " >&6; }
10678 if ${ac_cv_lib_soname_GL+:} false; then :
10679 $as_echo_n "(cached) " >&6
10680 else
10681 ac_check_soname_save_LIBS=$LIBS
10682 LIBS="-lGL $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10683 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10684 /* end confdefs.h. */
10686 /* Override any GCC internal prototype to avoid an error.
10687 Use char because int might match the return type of a GCC
10688 builtin and then its argument prototype would still apply. */
10689 #ifdef __cplusplus
10690 extern "C"
10691 #endif
10692 char glXCreateContext ();
10694 main ()
10696 return glXCreateContext ();
10698 return 0;
10700 _ACEOF
10701 if ac_fn_c_try_link "$LINENO"; then :
10702 case "$LIBEXT" in
10703 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10704 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'` ;;
10705 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10706 if ${ac_cv_lib_soname_GL:+false} :; then :
10707 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10708 fi ;;
10709 esac
10711 rm -f core conftest.err conftest.$ac_objext \
10712 conftest$ac_exeext conftest.$ac_ext
10713 LIBS=$ac_check_soname_save_LIBS
10715 if ${ac_cv_lib_soname_GL:+false} :; then :
10716 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10717 $as_echo "not found" >&6; }
10718 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGL" >&5
10719 $as_echo_n "checking for -lGL... " >&6; }
10720 if ${ac_cv_lib_soname_GL+:} false; then :
10721 $as_echo_n "(cached) " >&6
10722 else
10723 ac_check_soname_save_LIBS=$LIBS
10724 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"
10725 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10726 /* end confdefs.h. */
10728 /* Override any GCC internal prototype to avoid an error.
10729 Use char because int might match the return type of a GCC
10730 builtin and then its argument prototype would still apply. */
10731 #ifdef __cplusplus
10732 extern "C"
10733 #endif
10734 char glXCreateContext ();
10736 main ()
10738 return glXCreateContext ();
10740 return 0;
10742 _ACEOF
10743 if ac_fn_c_try_link "$LINENO"; then :
10744 case "$LIBEXT" in
10745 dll) ac_cv_lib_soname_GL=`$ac_cv_path_LDD conftest.exe | grep "GL" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10746 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'` ;;
10747 *) ac_cv_lib_soname_GL=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGL\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGL\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10748 if ${ac_cv_lib_soname_GL:+false} :; then :
10749 ac_cv_lib_soname_GL=`$LDD conftest$ac_exeext | grep "libGL\\.$LIBEXT" | sed -e "s/^.*\(libGL\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10750 fi ;;
10751 esac
10753 rm -f core conftest.err conftest.$ac_objext \
10754 conftest$ac_exeext conftest.$ac_ext
10755 LIBS=$ac_check_soname_save_LIBS
10757 if ${ac_cv_lib_soname_GL:+false} :; then :
10758 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10759 $as_echo "not found" >&6; }
10760 if test -f /usr/X11R6/lib/libGL.a
10761 then
10762 opengl_msg="/usr/X11R6/lib/libGL.a is present on your system.
10763 This probably prevents linking to OpenGL. Try deleting the file and restarting configure."
10764 else
10765 opengl_msg="No OpenGL library found on this system."
10767 else
10768 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10769 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10771 cat >>confdefs.h <<_ACEOF
10772 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10773 _ACEOF
10775 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"
10777 else
10778 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GL" >&5
10779 $as_echo "$ac_cv_lib_soname_GL" >&6; }
10781 cat >>confdefs.h <<_ACEOF
10782 #define SONAME_LIBGL "$ac_cv_lib_soname_GL"
10783 _ACEOF
10785 OPENGL_LIBS="-lGL"
10787 if test "x$with_glu" != "xno"
10788 then
10789 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lGLU" >&5
10790 $as_echo_n "checking for -lGLU... " >&6; }
10791 if ${ac_cv_lib_soname_GLU+:} false; then :
10792 $as_echo_n "(cached) " >&6
10793 else
10794 ac_check_soname_save_LIBS=$LIBS
10795 LIBS="-lGLU $OPENGL_LIBS $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10796 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10797 /* end confdefs.h. */
10799 /* Override any GCC internal prototype to avoid an error.
10800 Use char because int might match the return type of a GCC
10801 builtin and then its argument prototype would still apply. */
10802 #ifdef __cplusplus
10803 extern "C"
10804 #endif
10805 char gluLookAt ();
10807 main ()
10809 return gluLookAt ();
10811 return 0;
10813 _ACEOF
10814 if ac_fn_c_try_link "$LINENO"; then :
10815 case "$LIBEXT" in
10816 dll) ac_cv_lib_soname_GLU=`$ac_cv_path_LDD conftest.exe | grep "GLU" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10817 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'` ;;
10818 *) ac_cv_lib_soname_GLU=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libGLU\\.$LIBEXT" | sed -e "s/^.*\\[\\(libGLU\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10819 if ${ac_cv_lib_soname_GLU:+false} :; then :
10820 ac_cv_lib_soname_GLU=`$LDD conftest$ac_exeext | grep "libGLU\\.$LIBEXT" | sed -e "s/^.*\(libGLU\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10821 fi ;;
10822 esac
10824 rm -f core conftest.err conftest.$ac_objext \
10825 conftest$ac_exeext conftest.$ac_ext
10826 LIBS=$ac_check_soname_save_LIBS
10828 if ${ac_cv_lib_soname_GLU:+false} :; then :
10829 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10830 $as_echo "not found" >&6; }
10832 else
10833 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_GLU" >&5
10834 $as_echo "$ac_cv_lib_soname_GLU" >&6; }
10836 cat >>confdefs.h <<_ACEOF
10837 #define SONAME_LIBGLU "$ac_cv_lib_soname_GLU"
10838 _ACEOF
10842 if test "x$ac_cv_lib_soname_GLU" = "x"; then :
10843 case "x$with_glu" in
10844 x) as_fn_append wine_notices "|libGLU ${notice_platform}development files not found, GLU won't be supported." ;;
10845 xno) ;;
10846 *) as_fn_error $? "libGLU ${notice_platform}development files not found, GLU won't be supported.
10847 This is an error since --with-glu was requested." "$LINENO" 5 ;;
10848 esac
10853 if test "x$with_osmesa" != "xno"
10854 then
10855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lOSMesa" >&5
10856 $as_echo_n "checking for -lOSMesa... " >&6; }
10857 if ${ac_cv_lib_soname_OSMesa+:} false; then :
10858 $as_echo_n "(cached) " >&6
10859 else
10860 ac_check_soname_save_LIBS=$LIBS
10861 LIBS="-lOSMesa $X_LIBS -lm $X_EXTRA_LIBS $LIBS"
10862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10863 /* end confdefs.h. */
10865 /* Override any GCC internal prototype to avoid an error.
10866 Use char because int might match the return type of a GCC
10867 builtin and then its argument prototype would still apply. */
10868 #ifdef __cplusplus
10869 extern "C"
10870 #endif
10871 char OSMesaGetProcAddress ();
10873 main ()
10875 return OSMesaGetProcAddress ();
10877 return 0;
10879 _ACEOF
10880 if ac_fn_c_try_link "$LINENO"; then :
10881 case "$LIBEXT" in
10882 dll) ac_cv_lib_soname_OSMesa=`$ac_cv_path_LDD conftest.exe | grep "OSMesa" | sed -e "s/dll.*/dll/"';2,$d'` ;;
10883 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'` ;;
10884 *) ac_cv_lib_soname_OSMesa=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libOSMesa\\.$LIBEXT" | sed -e "s/^.*\\[\\(libOSMesa\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
10885 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10886 ac_cv_lib_soname_OSMesa=`$LDD conftest$ac_exeext | grep "libOSMesa\\.$LIBEXT" | sed -e "s/^.*\(libOSMesa\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
10887 fi ;;
10888 esac
10890 rm -f core conftest.err conftest.$ac_objext \
10891 conftest$ac_exeext conftest.$ac_ext
10892 LIBS=$ac_check_soname_save_LIBS
10894 if ${ac_cv_lib_soname_OSMesa:+false} :; then :
10895 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
10896 $as_echo "not found" >&6; }
10898 else
10899 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_OSMesa" >&5
10900 $as_echo "$ac_cv_lib_soname_OSMesa" >&6; }
10902 cat >>confdefs.h <<_ACEOF
10903 #define SONAME_LIBOSMESA "$ac_cv_lib_soname_OSMesa"
10904 _ACEOF
10908 if test "x$ac_cv_lib_soname_OSMesa" = "x"; then :
10909 case "x$with_osmesa" in
10910 x) as_fn_append wine_notices "|libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported." ;;
10911 xno) ;;
10912 *) as_fn_error $? "libOSMesa ${notice_platform}development files not found (or too old), OpenGL rendering in bitmaps won't be supported.
10913 This is an error since --with-osmesa was requested." "$LINENO" 5 ;;
10914 esac
10919 if test -n "$opengl_msg"; then :
10920 case "x$with_opengl" in
10921 x) as_fn_append wine_warnings "|$opengl_msg
10922 OpenGL and Direct3D won't be supported." ;;
10923 xno) ;;
10924 *) as_fn_error $? "$opengl_msg
10925 OpenGL and Direct3D won't be supported.
10926 This is an error since --with-opengl was requested." "$LINENO" 5 ;;
10927 esac
10931 CPPFLAGS="$ac_save_CPPFLAGS"
10932 else
10933 X_CFLAGS=""
10934 X_LIBS=""
10937 if test "$enable_wineandroid_drv$enable_winemac_drv" = "nono"
10938 then
10939 if test "x$X_LIBS" = "x"; then :
10940 case "x$with_x" in
10941 xno) ;;
10942 *) as_fn_error $? "X ${notice_platform}development files not found. Wine will be built
10943 without X support, which probably isn't what you want. You will need
10944 to install ${notice_platform}development packages of Xlib at the very least.
10945 Use the --without-x option if you really want this." "$LINENO" 5 ;;
10946 esac
10947 enable_winex11_drv=${enable_winex11_drv:-no}
10949 else
10950 if test "x$X_LIBS" = "x"; then :
10951 case "x$with_x" in
10952 x) as_fn_append wine_notices "|X ${notice_platform}development files not found, the X11 driver won't be supported." ;;
10953 xno) ;;
10954 *) as_fn_error $? "X ${notice_platform}development files not found, the X11 driver won't be supported.
10955 This is an error since --with-x was requested." "$LINENO" 5 ;;
10956 esac
10957 enable_winex11_drv=${enable_winex11_drv:-no}
10961 if test "$ac_cv_header_CL_cl_h" = "yes"
10962 then
10963 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for clGetPlatformInfo in -lOpenCL" >&5
10964 $as_echo_n "checking for clGetPlatformInfo in -lOpenCL... " >&6; }
10965 if ${ac_cv_lib_OpenCL_clGetPlatformInfo+:} false; then :
10966 $as_echo_n "(cached) " >&6
10967 else
10968 ac_check_lib_save_LIBS=$LIBS
10969 LIBS="-lOpenCL $LIBS"
10970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
10971 /* end confdefs.h. */
10973 /* Override any GCC internal prototype to avoid an error.
10974 Use char because int might match the return type of a GCC
10975 builtin and then its argument prototype would still apply. */
10976 #ifdef __cplusplus
10977 extern "C"
10978 #endif
10979 char clGetPlatformInfo ();
10981 main ()
10983 return clGetPlatformInfo ();
10985 return 0;
10987 _ACEOF
10988 if ac_fn_c_try_link "$LINENO"; then :
10989 ac_cv_lib_OpenCL_clGetPlatformInfo=yes
10990 else
10991 ac_cv_lib_OpenCL_clGetPlatformInfo=no
10993 rm -f core conftest.err conftest.$ac_objext \
10994 conftest$ac_exeext conftest.$ac_ext
10995 LIBS=$ac_check_lib_save_LIBS
10997 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_OpenCL_clGetPlatformInfo" >&5
10998 $as_echo "$ac_cv_lib_OpenCL_clGetPlatformInfo" >&6; }
10999 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" = xyes; then :
11000 OPENCL_LIBS="-lOpenCL"
11005 if test "x$ac_cv_lib_OpenCL_clGetPlatformInfo" != xyes; then :
11006 case "x$with_opencl" in
11007 x) as_fn_append wine_notices "|OpenCL ${notice_platform}development files not found, OpenCL won't be supported." ;;
11008 xno) ;;
11009 *) as_fn_error $? "OpenCL ${notice_platform}development files not found, OpenCL won't be supported.
11010 This is an error since --with-opencl was requested." "$LINENO" 5 ;;
11011 esac
11012 enable_opencl=${enable_opencl:-no}
11015 if test "$ac_cv_header_pcap_pcap_h" = "yes"
11016 then
11017 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pcap_create in -lpcap" >&5
11018 $as_echo_n "checking for pcap_create in -lpcap... " >&6; }
11019 if ${ac_cv_lib_pcap_pcap_create+:} false; then :
11020 $as_echo_n "(cached) " >&6
11021 else
11022 ac_check_lib_save_LIBS=$LIBS
11023 LIBS="-lpcap $LIBS"
11024 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11025 /* end confdefs.h. */
11027 /* Override any GCC internal prototype to avoid an error.
11028 Use char because int might match the return type of a GCC
11029 builtin and then its argument prototype would still apply. */
11030 #ifdef __cplusplus
11031 extern "C"
11032 #endif
11033 char pcap_create ();
11035 main ()
11037 return pcap_create ();
11039 return 0;
11041 _ACEOF
11042 if ac_fn_c_try_link "$LINENO"; then :
11043 ac_cv_lib_pcap_pcap_create=yes
11044 else
11045 ac_cv_lib_pcap_pcap_create=no
11047 rm -f core conftest.err conftest.$ac_objext \
11048 conftest$ac_exeext conftest.$ac_ext
11049 LIBS=$ac_check_lib_save_LIBS
11051 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pcap_pcap_create" >&5
11052 $as_echo "$ac_cv_lib_pcap_pcap_create" >&6; }
11053 if test "x$ac_cv_lib_pcap_pcap_create" = xyes; then :
11054 PCAP_LIBS="-lpcap"
11059 if test "x$ac_cv_lib_pcap_pcap_create" != xyes; then :
11060 case "x$with_pcap" in
11061 x) as_fn_append wine_notices "|pcap ${notice_platform}development files not found, wpcap won't be supported." ;;
11062 xno) ;;
11063 *) as_fn_error $? "pcap ${notice_platform}development files not found, wpcap won't be supported.
11064 This is an error since --with-pcap was requested." "$LINENO" 5 ;;
11065 esac
11066 enable_wpcap=${enable_wpcap:-no}
11070 if test "x$with_xml" != "xno"
11071 then
11072 if ${XML2_CFLAGS:+false} :; then :
11073 if ${PKG_CONFIG+:} false; then :
11074 XML2_CFLAGS=`$PKG_CONFIG --cflags libxml-2.0 2>/dev/null`
11077 test "$cross_compiling" = yes || XML2_CFLAGS=${XML2_CFLAGS:-`${XML2_CONFIG:-xml2-config} --cflags 2>/dev/null`}
11078 if ${XML2_LIBS:+false} :; then :
11079 if ${PKG_CONFIG+:} false; then :
11080 XML2_LIBS=`$PKG_CONFIG --libs libxml-2.0 2>/dev/null`
11083 test "$cross_compiling" = yes || XML2_LIBS=${XML2_LIBS:-`${XML2_CONFIG:-xml2-config} --libs 2>/dev/null`}
11084 XML2_LIBS=${XML2_LIBS:-"-lxml2"}
11085 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 cflags: $XML2_CFLAGS" >&5
11086 $as_echo "$as_me:${as_lineno-$LINENO}: libxml-2.0 libs: $XML2_LIBS" >&5
11087 ac_save_CPPFLAGS=$CPPFLAGS
11088 CPPFLAGS="$CPPFLAGS $XML2_CFLAGS"
11089 for ac_header in libxml/parser.h libxml/xmlsave.h libxml/SAX2.h
11090 do :
11091 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11092 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
11093 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11094 cat >>confdefs.h <<_ACEOF
11095 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11096 _ACEOF
11100 done
11102 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"
11103 then
11104 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlParseMemory in -lxml2" >&5
11105 $as_echo_n "checking for xmlParseMemory in -lxml2... " >&6; }
11106 if ${ac_cv_lib_xml2_xmlParseMemory+:} false; then :
11107 $as_echo_n "(cached) " >&6
11108 else
11109 ac_check_lib_save_LIBS=$LIBS
11110 LIBS="-lxml2 $XML2_LIBS $LIBS"
11111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11112 /* end confdefs.h. */
11114 /* Override any GCC internal prototype to avoid an error.
11115 Use char because int might match the return type of a GCC
11116 builtin and then its argument prototype would still apply. */
11117 #ifdef __cplusplus
11118 extern "C"
11119 #endif
11120 char xmlParseMemory ();
11122 main ()
11124 return xmlParseMemory ();
11126 return 0;
11128 _ACEOF
11129 if ac_fn_c_try_link "$LINENO"; then :
11130 ac_cv_lib_xml2_xmlParseMemory=yes
11131 else
11132 ac_cv_lib_xml2_xmlParseMemory=no
11134 rm -f core conftest.err conftest.$ac_objext \
11135 conftest$ac_exeext conftest.$ac_ext
11136 LIBS=$ac_check_lib_save_LIBS
11138 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlParseMemory" >&5
11139 $as_echo "$ac_cv_lib_xml2_xmlParseMemory" >&6; }
11140 if test "x$ac_cv_lib_xml2_xmlParseMemory" = xyes; then :
11142 $as_echo "#define HAVE_LIBXML2 1" >>confdefs.h
11144 else
11145 XML2_LIBS=""
11148 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlReadMemory in -lxml2" >&5
11149 $as_echo_n "checking for xmlReadMemory in -lxml2... " >&6; }
11150 if ${ac_cv_lib_xml2_xmlReadMemory+:} false; then :
11151 $as_echo_n "(cached) " >&6
11152 else
11153 ac_check_lib_save_LIBS=$LIBS
11154 LIBS="-lxml2 $XML2_LIBS $LIBS"
11155 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11156 /* end confdefs.h. */
11158 /* Override any GCC internal prototype to avoid an error.
11159 Use char because int might match the return type of a GCC
11160 builtin and then its argument prototype would still apply. */
11161 #ifdef __cplusplus
11162 extern "C"
11163 #endif
11164 char xmlReadMemory ();
11166 main ()
11168 return xmlReadMemory ();
11170 return 0;
11172 _ACEOF
11173 if ac_fn_c_try_link "$LINENO"; then :
11174 ac_cv_lib_xml2_xmlReadMemory=yes
11175 else
11176 ac_cv_lib_xml2_xmlReadMemory=no
11178 rm -f core conftest.err conftest.$ac_objext \
11179 conftest$ac_exeext conftest.$ac_ext
11180 LIBS=$ac_check_lib_save_LIBS
11182 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlReadMemory" >&5
11183 $as_echo "$ac_cv_lib_xml2_xmlReadMemory" >&6; }
11184 if test "x$ac_cv_lib_xml2_xmlReadMemory" = xyes; then :
11186 $as_echo "#define HAVE_XMLREADMEMORY 1" >>confdefs.h
11190 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlNewDocPI in -lxml2" >&5
11191 $as_echo_n "checking for xmlNewDocPI in -lxml2... " >&6; }
11192 if ${ac_cv_lib_xml2_xmlNewDocPI+:} false; then :
11193 $as_echo_n "(cached) " >&6
11194 else
11195 ac_check_lib_save_LIBS=$LIBS
11196 LIBS="-lxml2 $XML2_LIBS $LIBS"
11197 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11198 /* end confdefs.h. */
11200 /* Override any GCC internal prototype to avoid an error.
11201 Use char because int might match the return type of a GCC
11202 builtin and then its argument prototype would still apply. */
11203 #ifdef __cplusplus
11204 extern "C"
11205 #endif
11206 char xmlNewDocPI ();
11208 main ()
11210 return xmlNewDocPI ();
11212 return 0;
11214 _ACEOF
11215 if ac_fn_c_try_link "$LINENO"; then :
11216 ac_cv_lib_xml2_xmlNewDocPI=yes
11217 else
11218 ac_cv_lib_xml2_xmlNewDocPI=no
11220 rm -f core conftest.err conftest.$ac_objext \
11221 conftest$ac_exeext conftest.$ac_ext
11222 LIBS=$ac_check_lib_save_LIBS
11224 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlNewDocPI" >&5
11225 $as_echo "$ac_cv_lib_xml2_xmlNewDocPI" >&6; }
11226 if test "x$ac_cv_lib_xml2_xmlNewDocPI" = xyes; then :
11228 $as_echo "#define HAVE_XMLNEWDOCPI 1" >>confdefs.h
11232 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetParserStructuredErrors in -lxml2" >&5
11233 $as_echo_n "checking for xmlSchemaSetParserStructuredErrors in -lxml2... " >&6; }
11234 if ${ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors+:} false; then :
11235 $as_echo_n "(cached) " >&6
11236 else
11237 ac_check_lib_save_LIBS=$LIBS
11238 LIBS="-lxml2 $XML2_LIBS $LIBS"
11239 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11240 /* end confdefs.h. */
11242 /* Override any GCC internal prototype to avoid an error.
11243 Use char because int might match the return type of a GCC
11244 builtin and then its argument prototype would still apply. */
11245 #ifdef __cplusplus
11246 extern "C"
11247 #endif
11248 char xmlSchemaSetParserStructuredErrors ();
11250 main ()
11252 return xmlSchemaSetParserStructuredErrors ();
11254 return 0;
11256 _ACEOF
11257 if ac_fn_c_try_link "$LINENO"; then :
11258 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=yes
11259 else
11260 ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors=no
11262 rm -f core conftest.err conftest.$ac_objext \
11263 conftest$ac_exeext conftest.$ac_ext
11264 LIBS=$ac_check_lib_save_LIBS
11266 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&5
11267 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" >&6; }
11268 if test "x$ac_cv_lib_xml2_xmlSchemaSetParserStructuredErrors" = xyes; then :
11270 $as_echo "#define HAVE_XMLSCHEMASSETPARSERSTRUCTUREDERRORS 1" >>confdefs.h
11274 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlSchemaSetValidStructuredErrors in -lxml2" >&5
11275 $as_echo_n "checking for xmlSchemaSetValidStructuredErrors in -lxml2... " >&6; }
11276 if ${ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors+:} false; then :
11277 $as_echo_n "(cached) " >&6
11278 else
11279 ac_check_lib_save_LIBS=$LIBS
11280 LIBS="-lxml2 $XML2_LIBS $LIBS"
11281 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11282 /* end confdefs.h. */
11284 /* Override any GCC internal prototype to avoid an error.
11285 Use char because int might match the return type of a GCC
11286 builtin and then its argument prototype would still apply. */
11287 #ifdef __cplusplus
11288 extern "C"
11289 #endif
11290 char xmlSchemaSetValidStructuredErrors ();
11292 main ()
11294 return xmlSchemaSetValidStructuredErrors ();
11296 return 0;
11298 _ACEOF
11299 if ac_fn_c_try_link "$LINENO"; then :
11300 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=yes
11301 else
11302 ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors=no
11304 rm -f core conftest.err conftest.$ac_objext \
11305 conftest$ac_exeext conftest.$ac_ext
11306 LIBS=$ac_check_lib_save_LIBS
11308 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&5
11309 $as_echo "$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" >&6; }
11310 if test "x$ac_cv_lib_xml2_xmlSchemaSetValidStructuredErrors" = xyes; then :
11312 $as_echo "#define HAVE_XMLSCHEMASSETVALIDSTRUCTUREDERRORS 1" >>confdefs.h
11316 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for xmlFirstElementChild in -lxml2" >&5
11317 $as_echo_n "checking for xmlFirstElementChild in -lxml2... " >&6; }
11318 if ${ac_cv_lib_xml2_xmlFirstElementChild+:} false; then :
11319 $as_echo_n "(cached) " >&6
11320 else
11321 ac_check_lib_save_LIBS=$LIBS
11322 LIBS="-lxml2 $XML2_LIBS $LIBS"
11323 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11324 /* end confdefs.h. */
11326 /* Override any GCC internal prototype to avoid an error.
11327 Use char because int might match the return type of a GCC
11328 builtin and then its argument prototype would still apply. */
11329 #ifdef __cplusplus
11330 extern "C"
11331 #endif
11332 char xmlFirstElementChild ();
11334 main ()
11336 return xmlFirstElementChild ();
11338 return 0;
11340 _ACEOF
11341 if ac_fn_c_try_link "$LINENO"; then :
11342 ac_cv_lib_xml2_xmlFirstElementChild=yes
11343 else
11344 ac_cv_lib_xml2_xmlFirstElementChild=no
11346 rm -f core conftest.err conftest.$ac_objext \
11347 conftest$ac_exeext conftest.$ac_ext
11348 LIBS=$ac_check_lib_save_LIBS
11350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_xml2_xmlFirstElementChild" >&5
11351 $as_echo "$ac_cv_lib_xml2_xmlFirstElementChild" >&6; }
11352 if test "x$ac_cv_lib_xml2_xmlFirstElementChild" = xyes; then :
11354 $as_echo "#define HAVE_XMLFIRSTELEMENTCHILD 1" >>confdefs.h
11358 ac_fn_c_check_type "$LINENO" "xmlDocProperties" "ac_cv_type_xmlDocProperties" "#include <libxml/tree.h>
11360 if test "x$ac_cv_type_xmlDocProperties" = xyes; then :
11362 $as_echo "#define HAVE_XMLDOC_PROPERTIES 1" >>confdefs.h
11366 else
11367 XML2_CFLAGS=""
11368 XML2_LIBS=""
11370 CPPFLAGS=$ac_save_CPPFLAGS
11371 test -z "$XML2_CFLAGS" || XML2_CFLAGS=`echo " $XML2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11372 test -z "$XML2_LIBS" || XML2_LIBS=`echo " $XML2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11375 if test "$ac_cv_lib_xml2_xmlParseMemory" != "yes"; then :
11376 case "x$with_xml" in
11377 x) as_fn_append wine_warnings "|libxml2 ${notice_platform}development files not found (or too old), XML won't be supported." ;;
11378 xno) ;;
11379 *) as_fn_error $? "libxml2 ${notice_platform}development files not found (or too old), XML won't be supported.
11380 This is an error since --with-xml was requested." "$LINENO" 5 ;;
11381 esac
11385 if test "x$with_xslt" != "xno"
11386 then
11387 if ${XSLT_CFLAGS:+false} :; then :
11388 if ${PKG_CONFIG+:} false; then :
11389 XSLT_CFLAGS=`$PKG_CONFIG --cflags libxslt 2>/dev/null`
11392 test "$cross_compiling" = yes || XSLT_CFLAGS=${XSLT_CFLAGS:-`${XSLT_CONFIG:-xslt-config} --cflags 2>/dev/null`}
11393 if ${XSLT_LIBS:+false} :; then :
11394 if ${PKG_CONFIG+:} false; then :
11395 XSLT_LIBS=`$PKG_CONFIG --libs libxslt 2>/dev/null`
11398 test "$cross_compiling" = yes || XSLT_LIBS=${XSLT_LIBS:-`${XSLT_CONFIG:-xslt-config} --libs 2>/dev/null`}
11399 XSLT_LIBS=${XSLT_LIBS:-"-lxml2"}
11400 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt cflags: $XSLT_CFLAGS" >&5
11401 $as_echo "$as_me:${as_lineno-$LINENO}: libxslt libs: $XSLT_LIBS" >&5
11402 ac_save_CPPFLAGS=$CPPFLAGS
11403 CPPFLAGS="$CPPFLAGS $XSLT_CFLAGS"
11404 for ac_header in libxslt/pattern.h libxslt/transform.h
11405 do :
11406 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
11407 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#ifdef HAVE_LIBXSLT_PATTERN_H
11408 # include <libxslt/pattern.h>
11409 #endif
11411 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
11412 cat >>confdefs.h <<_ACEOF
11413 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
11414 _ACEOF
11418 done
11420 if test "$ac_cv_header_libxslt_transform_h" = "yes"
11421 then
11422 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lxslt" >&5
11423 $as_echo_n "checking for -lxslt... " >&6; }
11424 if ${ac_cv_lib_soname_xslt+:} false; then :
11425 $as_echo_n "(cached) " >&6
11426 else
11427 ac_check_soname_save_LIBS=$LIBS
11428 LIBS="-lxslt $XSLT_LIBS $LIBS"
11429 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11430 /* end confdefs.h. */
11432 /* Override any GCC internal prototype to avoid an error.
11433 Use char because int might match the return type of a GCC
11434 builtin and then its argument prototype would still apply. */
11435 #ifdef __cplusplus
11436 extern "C"
11437 #endif
11438 char xsltCompilePattern ();
11440 main ()
11442 return xsltCompilePattern ();
11444 return 0;
11446 _ACEOF
11447 if ac_fn_c_try_link "$LINENO"; then :
11448 case "$LIBEXT" in
11449 dll) ac_cv_lib_soname_xslt=`$ac_cv_path_LDD conftest.exe | grep "xslt" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11450 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'` ;;
11451 *) ac_cv_lib_soname_xslt=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libxslt\\.$LIBEXT" | sed -e "s/^.*\\[\\(libxslt\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11452 if ${ac_cv_lib_soname_xslt:+false} :; then :
11453 ac_cv_lib_soname_xslt=`$LDD conftest$ac_exeext | grep "libxslt\\.$LIBEXT" | sed -e "s/^.*\(libxslt\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11454 fi ;;
11455 esac
11457 rm -f core conftest.err conftest.$ac_objext \
11458 conftest$ac_exeext conftest.$ac_ext
11459 LIBS=$ac_check_soname_save_LIBS
11461 if ${ac_cv_lib_soname_xslt:+false} :; then :
11462 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11463 $as_echo "not found" >&6; }
11465 else
11466 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_xslt" >&5
11467 $as_echo "$ac_cv_lib_soname_xslt" >&6; }
11469 cat >>confdefs.h <<_ACEOF
11470 #define SONAME_LIBXSLT "$ac_cv_lib_soname_xslt"
11471 _ACEOF
11475 else
11476 XSLT_CFLAGS=""
11478 CPPFLAGS=$ac_save_CPPFLAGS
11479 test -z "$XSLT_CFLAGS" || XSLT_CFLAGS=`echo " $XSLT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11480 test -z "$XSLT_LIBS" || XSLT_LIBS=`echo " $XSLT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11483 if test "x$ac_cv_lib_soname_xslt" = "x"; then :
11484 case "x$with_xslt" in
11485 x) as_fn_append wine_warnings "|libxslt ${notice_platform}development files not found, xslt won't be supported." ;;
11486 xno) ;;
11487 *) as_fn_error $? "libxslt ${notice_platform}development files not found, xslt won't be supported.
11488 This is an error since --with-xslt was requested." "$LINENO" 5 ;;
11489 esac
11493 if test "x$with_dbus" != "xno"
11494 then
11495 if ${DBUS_CFLAGS:+false} :; then :
11496 if ${PKG_CONFIG+:} false; then :
11497 DBUS_CFLAGS=`$PKG_CONFIG --cflags dbus-1 2>/dev/null`
11501 if ${DBUS_LIBS:+false} :; then :
11502 if ${PKG_CONFIG+:} false; then :
11503 DBUS_LIBS=`$PKG_CONFIG --libs dbus-1 2>/dev/null`
11508 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 cflags: $DBUS_CFLAGS" >&5
11509 $as_echo "$as_me:${as_lineno-$LINENO}: dbus-1 libs: $DBUS_LIBS" >&5
11510 ac_save_CPPFLAGS=$CPPFLAGS
11511 CPPFLAGS="$CPPFLAGS $DBUS_CFLAGS"
11512 ac_fn_c_check_header_mongrel "$LINENO" "dbus/dbus.h" "ac_cv_header_dbus_dbus_h" "$ac_includes_default"
11513 if test "x$ac_cv_header_dbus_dbus_h" = xyes; then :
11514 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ldbus-1" >&5
11515 $as_echo_n "checking for -ldbus-1... " >&6; }
11516 if ${ac_cv_lib_soname_dbus_1+:} false; then :
11517 $as_echo_n "(cached) " >&6
11518 else
11519 ac_check_soname_save_LIBS=$LIBS
11520 LIBS="-ldbus-1 $DBUS_LIBS $LIBS"
11521 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11522 /* end confdefs.h. */
11524 /* Override any GCC internal prototype to avoid an error.
11525 Use char because int might match the return type of a GCC
11526 builtin and then its argument prototype would still apply. */
11527 #ifdef __cplusplus
11528 extern "C"
11529 #endif
11530 char dbus_connection_close ();
11532 main ()
11534 return dbus_connection_close ();
11536 return 0;
11538 _ACEOF
11539 if ac_fn_c_try_link "$LINENO"; then :
11540 case "$LIBEXT" in
11541 dll) ac_cv_lib_soname_dbus_1=`$ac_cv_path_LDD conftest.exe | grep "dbus-1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11542 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'` ;;
11543 *) 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'`
11544 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11545 ac_cv_lib_soname_dbus_1=`$LDD conftest$ac_exeext | grep "libdbus-1\\.$LIBEXT" | sed -e "s/^.*\(libdbus-1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11546 fi ;;
11547 esac
11549 rm -f core conftest.err conftest.$ac_objext \
11550 conftest$ac_exeext conftest.$ac_ext
11551 LIBS=$ac_check_soname_save_LIBS
11553 if ${ac_cv_lib_soname_dbus_1:+false} :; then :
11554 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11555 $as_echo "not found" >&6; }
11556 DBUS_CFLAGS=""
11557 else
11558 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_dbus_1" >&5
11559 $as_echo "$ac_cv_lib_soname_dbus_1" >&6; }
11561 cat >>confdefs.h <<_ACEOF
11562 #define SONAME_LIBDBUS_1 "$ac_cv_lib_soname_dbus_1"
11563 _ACEOF
11567 else
11568 DBUS_CFLAGS=""
11572 CPPFLAGS=$ac_save_CPPFLAGS
11573 test -z "$DBUS_CFLAGS" || DBUS_CFLAGS=`echo " $DBUS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11574 test -z "$DBUS_LIBS" || DBUS_LIBS=`echo " $DBUS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11577 if test "x$ac_cv_lib_soname_dbus_1" = "x" -a \
11578 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11579 case "x$with_dbus" in
11580 x) as_fn_append wine_notices "|libdbus ${notice_platform}development files not found, no dynamic device support." ;;
11581 xno) ;;
11582 *) as_fn_error $? "libdbus ${notice_platform}development files not found, no dynamic device support.
11583 This is an error since --with-dbus was requested." "$LINENO" 5 ;;
11584 esac
11588 if test "x$with_hal" != "xno" -a "x$ac_cv_lib_soname_dbus_1" != x
11589 then
11590 if ${HAL_CFLAGS:+false} :; then :
11591 if ${PKG_CONFIG+:} false; then :
11592 HAL_CFLAGS=`$PKG_CONFIG --cflags hal 2>/dev/null`
11596 if ${HAL_LIBS:+false} :; then :
11597 if ${PKG_CONFIG+:} false; then :
11598 HAL_LIBS=`$PKG_CONFIG --libs hal 2>/dev/null`
11602 HAL_LIBS=${HAL_LIBS:-"-ldbus-1"}
11603 $as_echo "$as_me:${as_lineno-$LINENO}: hal cflags: $HAL_CFLAGS" >&5
11604 $as_echo "$as_me:${as_lineno-$LINENO}: hal libs: $HAL_LIBS" >&5
11605 ac_save_CPPFLAGS=$CPPFLAGS
11606 CPPFLAGS="$CPPFLAGS $HAL_CFLAGS"
11607 ac_fn_c_check_header_mongrel "$LINENO" "hal/libhal.h" "ac_cv_header_hal_libhal_h" "$ac_includes_default"
11608 if test "x$ac_cv_header_hal_libhal_h" = xyes; then :
11609 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lhal" >&5
11610 $as_echo_n "checking for -lhal... " >&6; }
11611 if ${ac_cv_lib_soname_hal+:} false; then :
11612 $as_echo_n "(cached) " >&6
11613 else
11614 ac_check_soname_save_LIBS=$LIBS
11615 LIBS="-lhal $HAL_LIBS $LIBS"
11616 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11617 /* end confdefs.h. */
11619 /* Override any GCC internal prototype to avoid an error.
11620 Use char because int might match the return type of a GCC
11621 builtin and then its argument prototype would still apply. */
11622 #ifdef __cplusplus
11623 extern "C"
11624 #endif
11625 char libhal_ctx_new ();
11627 main ()
11629 return libhal_ctx_new ();
11631 return 0;
11633 _ACEOF
11634 if ac_fn_c_try_link "$LINENO"; then :
11635 case "$LIBEXT" in
11636 dll) ac_cv_lib_soname_hal=`$ac_cv_path_LDD conftest.exe | grep "hal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11637 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'` ;;
11638 *) ac_cv_lib_soname_hal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libhal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libhal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11639 if ${ac_cv_lib_soname_hal:+false} :; then :
11640 ac_cv_lib_soname_hal=`$LDD conftest$ac_exeext | grep "libhal\\.$LIBEXT" | sed -e "s/^.*\(libhal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11641 fi ;;
11642 esac
11644 rm -f core conftest.err conftest.$ac_objext \
11645 conftest$ac_exeext conftest.$ac_ext
11646 LIBS=$ac_check_soname_save_LIBS
11648 if ${ac_cv_lib_soname_hal:+false} :; then :
11649 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11650 $as_echo "not found" >&6; }
11651 HAL_CFLAGS=""
11652 else
11653 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_hal" >&5
11654 $as_echo "$ac_cv_lib_soname_hal" >&6; }
11656 cat >>confdefs.h <<_ACEOF
11657 #define SONAME_LIBHAL "$ac_cv_lib_soname_hal"
11658 _ACEOF
11662 else
11663 HAL_CFLAGS=""
11667 CPPFLAGS=$ac_save_CPPFLAGS
11668 test -z "$HAL_CFLAGS" || HAL_CFLAGS=`echo " $HAL_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11669 test -z "$HAL_LIBS" || HAL_LIBS=`echo " $HAL_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11671 if test "x$ac_cv_lib_soname_hal" = "x" -a \
11672 "x$ac_cv_header_DiskArbitration_DiskArbitration_h" != "xyes"; then :
11673 case "x$with_hal" in
11674 x) as_fn_append wine_notices "|libhal ${notice_platform}development files not found, no legacy dynamic device support." ;;
11675 xno) ;;
11676 *) as_fn_error $? "libhal ${notice_platform}development files not found, no legacy dynamic device support.
11677 This is an error since --with-hal was requested." "$LINENO" 5 ;;
11678 esac
11683 if test "x$with_gnutls" != "xno"
11684 then
11685 if ${GNUTLS_CFLAGS:+false} :; then :
11686 if ${PKG_CONFIG+:} false; then :
11687 GNUTLS_CFLAGS=`$PKG_CONFIG --cflags gnutls 2>/dev/null`
11691 if ${GNUTLS_LIBS:+false} :; then :
11692 if ${PKG_CONFIG+:} false; then :
11693 GNUTLS_LIBS=`$PKG_CONFIG --libs gnutls 2>/dev/null`
11698 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls cflags: $GNUTLS_CFLAGS" >&5
11699 $as_echo "$as_me:${as_lineno-$LINENO}: gnutls libs: $GNUTLS_LIBS" >&5
11700 ac_save_CPPFLAGS=$CPPFLAGS
11701 CPPFLAGS="$CPPFLAGS $GNUTLS_CFLAGS"
11702 ac_fn_c_check_header_mongrel "$LINENO" "gnutls/gnutls.h" "ac_cv_header_gnutls_gnutls_h" "$ac_includes_default"
11703 if test "x$ac_cv_header_gnutls_gnutls_h" = xyes; then :
11704 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11705 /* end confdefs.h. */
11706 #include <gnutls/gnutls.h>
11707 #include <gnutls/crypto.h>
11709 main ()
11711 static typeof(gnutls_mac_get_key_size) *func; if (func) return 0;
11713 return 0;
11715 _ACEOF
11716 if ac_fn_c_try_compile "$LINENO"; then :
11717 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgnutls" >&5
11718 $as_echo_n "checking for -lgnutls... " >&6; }
11719 if ${ac_cv_lib_soname_gnutls+:} false; then :
11720 $as_echo_n "(cached) " >&6
11721 else
11722 ac_check_soname_save_LIBS=$LIBS
11723 LIBS="-lgnutls $GNUTLS_LIBS $LIBS"
11724 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11725 /* end confdefs.h. */
11727 /* Override any GCC internal prototype to avoid an error.
11728 Use char because int might match the return type of a GCC
11729 builtin and then its argument prototype would still apply. */
11730 #ifdef __cplusplus
11731 extern "C"
11732 #endif
11733 char gnutls_global_init ();
11735 main ()
11737 return gnutls_global_init ();
11739 return 0;
11741 _ACEOF
11742 if ac_fn_c_try_link "$LINENO"; then :
11743 case "$LIBEXT" in
11744 dll) ac_cv_lib_soname_gnutls=`$ac_cv_path_LDD conftest.exe | grep "gnutls" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11745 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'` ;;
11746 *) 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'`
11747 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11748 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'`
11749 fi ;;
11750 esac
11752 rm -f core conftest.err conftest.$ac_objext \
11753 conftest$ac_exeext conftest.$ac_ext
11754 LIBS=$ac_check_soname_save_LIBS
11756 if ${ac_cv_lib_soname_gnutls:+false} :; then :
11757 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11758 $as_echo "not found" >&6; }
11759 GNUTLS_CFLAGS=""
11760 else
11761 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gnutls" >&5
11762 $as_echo "$ac_cv_lib_soname_gnutls" >&6; }
11764 cat >>confdefs.h <<_ACEOF
11765 #define SONAME_LIBGNUTLS "$ac_cv_lib_soname_gnutls"
11766 _ACEOF
11770 ac_wine_check_funcs_save_LIBS="$LIBS"
11771 LIBS="$LIBS $GNUTLS_LIBS"
11772 for ac_func in gnutls_cipher_init
11773 do :
11774 ac_fn_c_check_func "$LINENO" "gnutls_cipher_init" "ac_cv_func_gnutls_cipher_init"
11775 if test "x$ac_cv_func_gnutls_cipher_init" = xyes; then :
11776 cat >>confdefs.h <<_ACEOF
11777 #define HAVE_GNUTLS_CIPHER_INIT 1
11778 _ACEOF
11780 else
11781 as_fn_append wine_notices "|libgnutls ${notice_platform}development files too old, bcrypt encryption won't be supported."
11783 done
11785 LIBS="$ac_wine_check_funcs_save_LIBS"
11787 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
11788 else
11789 GNUTLS_CFLAGS=""
11793 CPPFLAGS=$ac_save_CPPFLAGS
11794 test -z "$GNUTLS_CFLAGS" || GNUTLS_CFLAGS=`echo " $GNUTLS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
11795 test -z "$GNUTLS_LIBS" || GNUTLS_LIBS=`echo " $GNUTLS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
11798 if test "x$ac_cv_lib_soname_gnutls" = "x"; then :
11799 case "x$with_gnutls" in
11800 x) as_fn_append wine_warnings "|libgnutls ${notice_platform}development files not found, no schannel support." ;;
11801 xno) ;;
11802 *) as_fn_error $? "libgnutls ${notice_platform}development files not found, no schannel support.
11803 This is an error since --with-gnutls was requested." "$LINENO" 5 ;;
11804 esac
11808 CURSES_LIBS=""
11809 if test "$ac_cv_header_ncurses_h" = "yes"
11810 then
11811 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lncurses" >&5
11812 $as_echo_n "checking for -lncurses... " >&6; }
11813 if ${ac_cv_lib_soname_ncurses+:} false; then :
11814 $as_echo_n "(cached) " >&6
11815 else
11816 ac_check_soname_save_LIBS=$LIBS
11817 LIBS="-lncurses $LIBS"
11818 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11819 /* end confdefs.h. */
11821 /* Override any GCC internal prototype to avoid an error.
11822 Use char because int might match the return type of a GCC
11823 builtin and then its argument prototype would still apply. */
11824 #ifdef __cplusplus
11825 extern "C"
11826 #endif
11827 char waddch ();
11829 main ()
11831 return waddch ();
11833 return 0;
11835 _ACEOF
11836 if ac_fn_c_try_link "$LINENO"; then :
11837 case "$LIBEXT" in
11838 dll) ac_cv_lib_soname_ncurses=`$ac_cv_path_LDD conftest.exe | grep "ncurses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11839 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'` ;;
11840 *) 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'`
11841 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11842 ac_cv_lib_soname_ncurses=`$LDD conftest$ac_exeext | grep "libncursesw\\{0,1\\}\\.$LIBEXT" | sed -e "s/^.*\(libncursesw\\{0,1\\}\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11843 fi ;;
11844 esac
11846 rm -f core conftest.err conftest.$ac_objext \
11847 conftest$ac_exeext conftest.$ac_ext
11848 LIBS=$ac_check_soname_save_LIBS
11850 if ${ac_cv_lib_soname_ncurses:+false} :; then :
11851 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11852 $as_echo "not found" >&6; }
11854 else
11855 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_ncurses" >&5
11856 $as_echo "$ac_cv_lib_soname_ncurses" >&6; }
11858 cat >>confdefs.h <<_ACEOF
11859 #define SONAME_LIBNCURSES "$ac_cv_lib_soname_ncurses"
11860 _ACEOF
11862 CURSES_LIBS="-lncurses"
11864 elif test "$ac_cv_header_curses_h" = "yes"
11865 then
11866 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcurses" >&5
11867 $as_echo_n "checking for -lcurses... " >&6; }
11868 if ${ac_cv_lib_soname_curses+:} false; then :
11869 $as_echo_n "(cached) " >&6
11870 else
11871 ac_check_soname_save_LIBS=$LIBS
11872 LIBS="-lcurses $LIBS"
11873 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11874 /* end confdefs.h. */
11876 /* Override any GCC internal prototype to avoid an error.
11877 Use char because int might match the return type of a GCC
11878 builtin and then its argument prototype would still apply. */
11879 #ifdef __cplusplus
11880 extern "C"
11881 #endif
11882 char waddch ();
11884 main ()
11886 return waddch ();
11888 return 0;
11890 _ACEOF
11891 if ac_fn_c_try_link "$LINENO"; then :
11892 case "$LIBEXT" in
11893 dll) ac_cv_lib_soname_curses=`$ac_cv_path_LDD conftest.exe | grep "curses" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11894 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'` ;;
11895 *) ac_cv_lib_soname_curses=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcurses\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcurses\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11896 if ${ac_cv_lib_soname_curses:+false} :; then :
11897 ac_cv_lib_soname_curses=`$LDD conftest$ac_exeext | grep "libcurses\\.$LIBEXT" | sed -e "s/^.*\(libcurses\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11898 fi ;;
11899 esac
11901 rm -f core conftest.err conftest.$ac_objext \
11902 conftest$ac_exeext conftest.$ac_ext
11903 LIBS=$ac_check_soname_save_LIBS
11905 if ${ac_cv_lib_soname_curses:+false} :; then :
11906 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
11907 $as_echo "not found" >&6; }
11909 else
11910 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_curses" >&5
11911 $as_echo "$ac_cv_lib_soname_curses" >&6; }
11913 cat >>confdefs.h <<_ACEOF
11914 #define SONAME_LIBCURSES "$ac_cv_lib_soname_curses"
11915 _ACEOF
11917 CURSES_LIBS="-lcurses"
11920 ac_save_LIBS="$LIBS"
11921 LIBS="$LIBS $CURSES_LIBS"
11922 for ac_func in mousemask
11923 do :
11924 ac_fn_c_check_func "$LINENO" "mousemask" "ac_cv_func_mousemask"
11925 if test "x$ac_cv_func_mousemask" = xyes; then :
11926 cat >>confdefs.h <<_ACEOF
11927 #define HAVE_MOUSEMASK 1
11928 _ACEOF
11931 done
11933 LIBS="$ac_save_LIBS"
11934 if test "x$ac_cv_lib_soname_curses$ac_cv_lib_soname_ncurses" = "x"; then :
11935 case "x$with_curses" in
11936 x) as_fn_append wine_notices "|lib(n)curses ${notice_platform}development files not found, curses won't be supported." ;;
11937 xno) ;;
11938 *) as_fn_error $? "lib(n)curses ${notice_platform}development files not found, curses won't be supported.
11939 This is an error since --with-curses was requested." "$LINENO" 5 ;;
11940 esac
11944 if test "x$with_sane" != "xno"
11945 then
11946 if ${SANE_CFLAGS:+false} :; then :
11947 if ${PKG_CONFIG+:} false; then :
11948 SANE_CFLAGS=`$PKG_CONFIG --cflags libsane 2>/dev/null`
11951 test "$cross_compiling" = yes || SANE_CFLAGS=${SANE_CFLAGS:-`${SANE_CONFIG:-sane-config} --cflags 2>/dev/null`}
11952 if ${SANE_LIBS:+false} :; then :
11953 if ${PKG_CONFIG+:} false; then :
11954 SANE_LIBS=`$PKG_CONFIG --libs libsane 2>/dev/null`
11957 test "$cross_compiling" = yes || SANE_LIBS=${SANE_LIBS:-`${SANE_CONFIG:-sane-config} --ldflags 2>/dev/null`}
11959 $as_echo "$as_me:${as_lineno-$LINENO}: libsane cflags: $SANE_CFLAGS" >&5
11960 $as_echo "$as_me:${as_lineno-$LINENO}: libsane libs: $SANE_LIBS" >&5
11961 ac_save_CPPFLAGS=$CPPFLAGS
11962 CPPFLAGS="$CPPFLAGS $SANE_CFLAGS"
11963 ac_fn_c_check_header_mongrel "$LINENO" "sane/sane.h" "ac_cv_header_sane_sane_h" "$ac_includes_default"
11964 if test "x$ac_cv_header_sane_sane_h" = xyes; then :
11965 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lsane" >&5
11966 $as_echo_n "checking for -lsane... " >&6; }
11967 if ${ac_cv_lib_soname_sane+:} false; then :
11968 $as_echo_n "(cached) " >&6
11969 else
11970 ac_check_soname_save_LIBS=$LIBS
11971 LIBS="-lsane $SANE_LIBS $LIBS"
11972 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
11973 /* end confdefs.h. */
11975 /* Override any GCC internal prototype to avoid an error.
11976 Use char because int might match the return type of a GCC
11977 builtin and then its argument prototype would still apply. */
11978 #ifdef __cplusplus
11979 extern "C"
11980 #endif
11981 char sane_init ();
11983 main ()
11985 return sane_init ();
11987 return 0;
11989 _ACEOF
11990 if ac_fn_c_try_link "$LINENO"; then :
11991 case "$LIBEXT" in
11992 dll) ac_cv_lib_soname_sane=`$ac_cv_path_LDD conftest.exe | grep "sane" | sed -e "s/dll.*/dll/"';2,$d'` ;;
11993 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'` ;;
11994 *) ac_cv_lib_soname_sane=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libsane\\.$LIBEXT" | sed -e "s/^.*\\[\\(libsane\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
11995 if ${ac_cv_lib_soname_sane:+false} :; then :
11996 ac_cv_lib_soname_sane=`$LDD conftest$ac_exeext | grep "libsane\\.$LIBEXT" | sed -e "s/^.*\(libsane\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
11997 fi ;;
11998 esac
12000 rm -f core conftest.err conftest.$ac_objext \
12001 conftest$ac_exeext conftest.$ac_ext
12002 LIBS=$ac_check_soname_save_LIBS
12004 if ${ac_cv_lib_soname_sane:+false} :; then :
12005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12006 $as_echo "not found" >&6; }
12007 SANE_CFLAGS=""
12008 else
12009 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_sane" >&5
12010 $as_echo "$ac_cv_lib_soname_sane" >&6; }
12012 cat >>confdefs.h <<_ACEOF
12013 #define SONAME_LIBSANE "$ac_cv_lib_soname_sane"
12014 _ACEOF
12018 else
12019 SANE_CFLAGS=""
12023 CPPFLAGS=$ac_save_CPPFLAGS
12024 test -z "$SANE_CFLAGS" || SANE_CFLAGS=`echo " $SANE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12025 test -z "$SANE_LIBS" || SANE_LIBS=`echo " $SANE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12028 if test "x$ac_cv_lib_soname_sane" = "x"; then :
12029 case "x$with_sane" in
12030 x) as_fn_append wine_notices "|libsane ${notice_platform}development files not found, scanners won't be supported." ;;
12031 xno) ;;
12032 *) as_fn_error $? "libsane ${notice_platform}development files not found, scanners won't be supported.
12033 This is an error since --with-sane was requested." "$LINENO" 5 ;;
12034 esac
12038 if test "x$with_v4l" != "xno"
12039 then
12040 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lv4l1" >&5
12041 $as_echo_n "checking for -lv4l1... " >&6; }
12042 if ${ac_cv_lib_soname_v4l1+:} false; then :
12043 $as_echo_n "(cached) " >&6
12044 else
12045 ac_check_soname_save_LIBS=$LIBS
12046 LIBS="-lv4l1 $LIBS"
12047 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12048 /* end confdefs.h. */
12050 /* Override any GCC internal prototype to avoid an error.
12051 Use char because int might match the return type of a GCC
12052 builtin and then its argument prototype would still apply. */
12053 #ifdef __cplusplus
12054 extern "C"
12055 #endif
12056 char v4l1_open ();
12058 main ()
12060 return v4l1_open ();
12062 return 0;
12064 _ACEOF
12065 if ac_fn_c_try_link "$LINENO"; then :
12066 case "$LIBEXT" in
12067 dll) ac_cv_lib_soname_v4l1=`$ac_cv_path_LDD conftest.exe | grep "v4l1" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12068 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'` ;;
12069 *) ac_cv_lib_soname_v4l1=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libv4l1\\.$LIBEXT" | sed -e "s/^.*\\[\\(libv4l1\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12070 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12071 ac_cv_lib_soname_v4l1=`$LDD conftest$ac_exeext | grep "libv4l1\\.$LIBEXT" | sed -e "s/^.*\(libv4l1\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12072 fi ;;
12073 esac
12075 rm -f core conftest.err conftest.$ac_objext \
12076 conftest$ac_exeext conftest.$ac_ext
12077 LIBS=$ac_check_soname_save_LIBS
12079 if ${ac_cv_lib_soname_v4l1:+false} :; then :
12080 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12081 $as_echo "not found" >&6; }
12083 else
12084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_v4l1" >&5
12085 $as_echo "$ac_cv_lib_soname_v4l1" >&6; }
12087 cat >>confdefs.h <<_ACEOF
12088 #define SONAME_LIBV4L1 "$ac_cv_lib_soname_v4l1"
12089 _ACEOF
12094 if test "x$ac_cv_lib_soname_v4l1" = "x"; then :
12095 case "x$with_v4l" in
12096 x) as_fn_append wine_notices "|libv4l ${notice_platform}development files not found." ;;
12097 xno) ;;
12098 *) as_fn_error $? "libv4l ${notice_platform}development files not found.
12099 This is an error since --with-v4l was requested." "$LINENO" 5 ;;
12100 esac
12104 if test "x$with_gphoto" != "xno"
12105 then
12106 if ${GPHOTO2_CFLAGS:+false} :; then :
12107 if ${PKG_CONFIG+:} false; then :
12108 GPHOTO2_CFLAGS=`$PKG_CONFIG --cflags libgphoto2 2>/dev/null`
12111 test "$cross_compiling" = yes || GPHOTO2_CFLAGS=${GPHOTO2_CFLAGS:-`${GPHOTO2_CONFIG:-gphoto2-config} --cflags 2>/dev/null`}
12112 if ${GPHOTO2_LIBS:+false} :; then :
12113 if ${PKG_CONFIG+:} false; then :
12114 GPHOTO2_LIBS=`$PKG_CONFIG --libs libgphoto2 2>/dev/null`
12117 test "$cross_compiling" = yes || GPHOTO2_LIBS=${GPHOTO2_LIBS:-`${GPHOTO2_CONFIG:-gphoto2-config} --libs 2>/dev/null`}
12118 GPHOTO2_LIBS=${GPHOTO2_LIBS:-"-lgphoto2"}
12119 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 cflags: $GPHOTO2_CFLAGS" >&5
12120 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2 libs: $GPHOTO2_LIBS" >&5
12121 ac_save_CPPFLAGS=$CPPFLAGS
12122 CPPFLAGS="$CPPFLAGS $GPHOTO2_CFLAGS"
12123 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-camera.h" "ac_cv_header_gphoto2_camera_h" "$ac_includes_default"
12124 if test "x$ac_cv_header_gphoto2_camera_h" = xyes; then :
12125 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_camera_new in -lgphoto2" >&5
12126 $as_echo_n "checking for gp_camera_new in -lgphoto2... " >&6; }
12127 if ${ac_cv_lib_gphoto2_gp_camera_new+:} false; then :
12128 $as_echo_n "(cached) " >&6
12129 else
12130 ac_check_lib_save_LIBS=$LIBS
12131 LIBS="-lgphoto2 $GPHOTO2_LIBS $LIBS"
12132 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12133 /* end confdefs.h. */
12135 /* Override any GCC internal prototype to avoid an error.
12136 Use char because int might match the return type of a GCC
12137 builtin and then its argument prototype would still apply. */
12138 #ifdef __cplusplus
12139 extern "C"
12140 #endif
12141 char gp_camera_new ();
12143 main ()
12145 return gp_camera_new ();
12147 return 0;
12149 _ACEOF
12150 if ac_fn_c_try_link "$LINENO"; then :
12151 ac_cv_lib_gphoto2_gp_camera_new=yes
12152 else
12153 ac_cv_lib_gphoto2_gp_camera_new=no
12155 rm -f core conftest.err conftest.$ac_objext \
12156 conftest$ac_exeext conftest.$ac_ext
12157 LIBS=$ac_check_lib_save_LIBS
12159 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_gp_camera_new" >&5
12160 $as_echo "$ac_cv_lib_gphoto2_gp_camera_new" >&6; }
12161 if test "x$ac_cv_lib_gphoto2_gp_camera_new" = xyes; then :
12163 $as_echo "#define HAVE_GPHOTO2 1" >>confdefs.h
12165 else
12166 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12169 else
12170 GPHOTO2_LIBS=""; GPHOTO2_CFLAGS=""
12174 CPPFLAGS=$ac_save_CPPFLAGS
12175 test -z "$GPHOTO2_CFLAGS" || GPHOTO2_CFLAGS=`echo " $GPHOTO2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12176 test -z "$GPHOTO2_LIBS" || GPHOTO2_LIBS=`echo " $GPHOTO2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12178 if ${GPHOTO2_PORT_CFLAGS:+false} :; then :
12179 if ${PKG_CONFIG+:} false; then :
12180 GPHOTO2_PORT_CFLAGS=`$PKG_CONFIG --cflags libgphoto2_port 2>/dev/null`
12183 test "$cross_compiling" = yes || GPHOTO2_PORT_CFLAGS=${GPHOTO2_PORT_CFLAGS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --cflags 2>/dev/null`}
12184 if ${GPHOTO2_PORT_LIBS:+false} :; then :
12185 if ${PKG_CONFIG+:} false; then :
12186 GPHOTO2_PORT_LIBS=`$PKG_CONFIG --libs libgphoto2_port 2>/dev/null`
12189 test "$cross_compiling" = yes || GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-`${GPHOTO2_PORT_CONFIG:-gphoto2-port-config} --libs 2>/dev/null`}
12190 GPHOTO2_PORT_LIBS=${GPHOTO2_PORT_LIBS:-"-lgphoto2_port"}
12191 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port cflags: $GPHOTO2_PORT_CFLAGS" >&5
12192 $as_echo "$as_me:${as_lineno-$LINENO}: libgphoto2_port libs: $GPHOTO2_PORT_LIBS" >&5
12193 ac_save_CPPFLAGS=$CPPFLAGS
12194 CPPFLAGS="$CPPFLAGS $GPHOTO2_PORT_CFLAGS"
12195 ac_fn_c_check_header_mongrel "$LINENO" "gphoto2-port.h" "ac_cv_header_gphoto2_port_h" "$ac_includes_default"
12196 if test "x$ac_cv_header_gphoto2_port_h" = xyes; then :
12197 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gp_port_info_list_new in -lgphoto2_port" >&5
12198 $as_echo_n "checking for gp_port_info_list_new in -lgphoto2_port... " >&6; }
12199 if ${ac_cv_lib_gphoto2_port_gp_port_info_list_new+:} false; then :
12200 $as_echo_n "(cached) " >&6
12201 else
12202 ac_check_lib_save_LIBS=$LIBS
12203 LIBS="-lgphoto2_port $GPHOTO2_PORT_LIBS $LIBS"
12204 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12205 /* end confdefs.h. */
12207 /* Override any GCC internal prototype to avoid an error.
12208 Use char because int might match the return type of a GCC
12209 builtin and then its argument prototype would still apply. */
12210 #ifdef __cplusplus
12211 extern "C"
12212 #endif
12213 char gp_port_info_list_new ();
12215 main ()
12217 return gp_port_info_list_new ();
12219 return 0;
12221 _ACEOF
12222 if ac_fn_c_try_link "$LINENO"; then :
12223 ac_cv_lib_gphoto2_port_gp_port_info_list_new=yes
12224 else
12225 ac_cv_lib_gphoto2_port_gp_port_info_list_new=no
12227 rm -f core conftest.err conftest.$ac_objext \
12228 conftest$ac_exeext conftest.$ac_ext
12229 LIBS=$ac_check_lib_save_LIBS
12231 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&5
12232 $as_echo "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" >&6; }
12233 if test "x$ac_cv_lib_gphoto2_port_gp_port_info_list_new" = xyes; then :
12235 $as_echo "#define HAVE_GPHOTO2_PORT 1" >>confdefs.h
12237 else
12238 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12241 else
12242 GPHOTO2_PORT_LIBS=""; GPHOTO2_PORT_CFLAGS=""
12246 CPPFLAGS=$ac_save_CPPFLAGS
12247 test -z "$GPHOTO2_PORT_CFLAGS" || GPHOTO2_PORT_CFLAGS=`echo " $GPHOTO2_PORT_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12248 test -z "$GPHOTO2_PORT_LIBS" || GPHOTO2_PORT_LIBS=`echo " $GPHOTO2_PORT_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12251 if test "$ac_cv_lib_gphoto2_gp_camera_new" != "yes"; then :
12252 case "x$with_gphoto" in
12253 x) as_fn_append wine_notices "|libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported." ;;
12254 xno) ;;
12255 *) as_fn_error $? "libgphoto2 ${notice_platform}development files not found, digital cameras won't be supported.
12256 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12257 esac
12260 if test "$ac_cv_lib_gphoto2_port_gp_port_info_list_new" != "yes"; then :
12261 case "x$with_gphoto" in
12262 x) as_fn_append wine_notices "|libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected." ;;
12263 xno) ;;
12264 *) as_fn_error $? "libgphoto2_port ${notice_platform}development files not found, digital cameras won't be auto-detected.
12265 This is an error since --with-gphoto was requested." "$LINENO" 5 ;;
12266 esac
12271 if test "$ac_cv_header_resolv_h" = "yes"
12272 then
12273 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for resolver library" >&5
12274 $as_echo_n "checking for resolver library... " >&6; }
12275 if ${ac_cv_have_resolv+:} false; then :
12276 $as_echo_n "(cached) " >&6
12277 else
12278 ac_save_LIBS="$LIBS"
12279 for lib in '' -lresolv
12281 LIBS="$lib $ac_save_LIBS"
12282 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12283 /* end confdefs.h. */
12284 #ifdef HAVE_NETINET_IN_H
12285 #include <netinet/in.h>
12286 #endif
12287 #include <resolv.h>
12289 main ()
12291 if (!(_res.options & RES_INIT)) res_init(); res_query("foo",ns_c_in,0,0,0)
12293 return 0;
12295 _ACEOF
12296 if ac_fn_c_try_link "$LINENO"; then :
12297 ac_cv_have_resolv=${lib:-"none required"}
12298 else
12299 ac_cv_have_resolv="not found"
12301 rm -f core conftest.err conftest.$ac_objext \
12302 conftest$ac_exeext conftest.$ac_ext
12303 test "x$ac_cv_have_resolv" = "xnot found" || break
12304 done
12305 LIBS="$ac_save_LIBS"
12307 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_resolv" >&5
12308 $as_echo "$ac_cv_have_resolv" >&6; }
12310 case "$ac_cv_have_resolv" in
12311 "not found") ;;
12312 "none required")
12314 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12317 $as_echo "#define HAVE_RESOLV 1" >>confdefs.h
12319 RESOLV_LIBS=$ac_cv_have_resolv
12321 esac
12324 if test "x$with_cms" != "xno"
12325 then
12326 if ${LCMS2_CFLAGS:+false} :; then :
12327 if ${PKG_CONFIG+:} false; then :
12328 LCMS2_CFLAGS=`$PKG_CONFIG --cflags lcms2 2>/dev/null`
12332 if ${LCMS2_LIBS:+false} :; then :
12333 if ${PKG_CONFIG+:} false; then :
12334 LCMS2_LIBS=`$PKG_CONFIG --libs lcms2 2>/dev/null`
12338 LCMS2_LIBS=${LCMS2_LIBS:-"-llcms2"}
12339 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 cflags: $LCMS2_CFLAGS" >&5
12340 $as_echo "$as_me:${as_lineno-$LINENO}: lcms2 libs: $LCMS2_LIBS" >&5
12341 ac_save_CPPFLAGS=$CPPFLAGS
12342 CPPFLAGS="$CPPFLAGS $LCMS2_CFLAGS"
12343 for ac_header in lcms2.h
12344 do :
12345 ac_fn_c_check_header_mongrel "$LINENO" "lcms2.h" "ac_cv_header_lcms2_h" "$ac_includes_default"
12346 if test "x$ac_cv_header_lcms2_h" = xyes; then :
12347 cat >>confdefs.h <<_ACEOF
12348 #define HAVE_LCMS2_H 1
12349 _ACEOF
12353 done
12355 if test "$ac_cv_header_lcms2_h" = "yes"
12356 then
12357 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for cmsOpenProfileFromFile in -llcms2" >&5
12358 $as_echo_n "checking for cmsOpenProfileFromFile in -llcms2... " >&6; }
12359 if ${ac_cv_lib_lcms2_cmsOpenProfileFromFile+:} false; then :
12360 $as_echo_n "(cached) " >&6
12361 else
12362 ac_check_lib_save_LIBS=$LIBS
12363 LIBS="-llcms2 $LCMS2_LIBS $LIBS"
12364 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12365 /* end confdefs.h. */
12367 /* Override any GCC internal prototype to avoid an error.
12368 Use char because int might match the return type of a GCC
12369 builtin and then its argument prototype would still apply. */
12370 #ifdef __cplusplus
12371 extern "C"
12372 #endif
12373 char cmsOpenProfileFromFile ();
12375 main ()
12377 return cmsOpenProfileFromFile ();
12379 return 0;
12381 _ACEOF
12382 if ac_fn_c_try_link "$LINENO"; then :
12383 ac_cv_lib_lcms2_cmsOpenProfileFromFile=yes
12384 else
12385 ac_cv_lib_lcms2_cmsOpenProfileFromFile=no
12387 rm -f core conftest.err conftest.$ac_objext \
12388 conftest$ac_exeext conftest.$ac_ext
12389 LIBS=$ac_check_lib_save_LIBS
12391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&5
12392 $as_echo "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" >&6; }
12393 if test "x$ac_cv_lib_lcms2_cmsOpenProfileFromFile" = xyes; then :
12395 $as_echo "#define HAVE_LCMS2 1" >>confdefs.h
12397 else
12398 LCMS2_LIBS=""
12401 else
12402 LCMS2_CFLAGS=""
12403 LCMS2_LIBS=""
12405 CPPFLAGS=$ac_save_CPPFLAGS
12406 test -z "$LCMS2_CFLAGS" || LCMS2_CFLAGS=`echo " $LCMS2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12407 test -z "$LCMS2_LIBS" || LCMS2_LIBS=`echo " $LCMS2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12410 if test "$ac_cv_lib_lcms2_cmsOpenProfileFromFile" != "yes"; then :
12411 case "x$with_cms" in
12412 x) as_fn_append wine_notices "|liblcms2 ${notice_platform}development files not found, Color Management won't be supported." ;;
12413 xno) ;;
12414 *) as_fn_error $? "liblcms2 ${notice_platform}development files not found, Color Management won't be supported.
12415 This is an error since --with-cms was requested." "$LINENO" 5 ;;
12416 esac
12420 if test "x$with_freetype" != "xno"
12421 then
12422 if ${FREETYPE_CFLAGS:+false} :; then :
12423 if ${PKG_CONFIG+:} false; then :
12424 FREETYPE_CFLAGS=`$PKG_CONFIG --cflags freetype2 2>/dev/null`
12427 test "$cross_compiling" = yes || FREETYPE_CFLAGS=${FREETYPE_CFLAGS:-`(${FREETYPE_CONFIG:-freetype-config} --cflags || ${FREETYPE2_CONFIG:-freetype2-config} --cflags) 2>/dev/null`}
12428 if ${FREETYPE_LIBS:+false} :; then :
12429 if ${PKG_CONFIG+:} false; then :
12430 FREETYPE_LIBS=`$PKG_CONFIG --libs freetype2 2>/dev/null`
12433 test "$cross_compiling" = yes || FREETYPE_LIBS=${FREETYPE_LIBS:-`(${FREETYPE_CONFIG:-freetype-config} --libs || ${FREETYPE2_CONFIG:-freetype2-config} --libs) 2>/dev/null`}
12434 FREETYPE_LIBS=${FREETYPE_LIBS:-"-lfreetype"}
12435 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 cflags: $FREETYPE_CFLAGS" >&5
12436 $as_echo "$as_me:${as_lineno-$LINENO}: freetype2 libs: $FREETYPE_LIBS" >&5
12437 ac_save_CPPFLAGS=$CPPFLAGS
12438 CPPFLAGS="$CPPFLAGS $FREETYPE_CFLAGS"
12439 for ac_header in ft2build.h
12440 do :
12441 ac_fn_c_check_header_mongrel "$LINENO" "ft2build.h" "ac_cv_header_ft2build_h" "$ac_includes_default"
12442 if test "x$ac_cv_header_ft2build_h" = xyes; then :
12443 cat >>confdefs.h <<_ACEOF
12444 #define HAVE_FT2BUILD_H 1
12445 _ACEOF
12449 done
12451 if test "$ac_cv_header_ft2build_h" = "yes"
12452 then
12453 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfreetype" >&5
12454 $as_echo_n "checking for -lfreetype... " >&6; }
12455 if ${ac_cv_lib_soname_freetype+:} false; then :
12456 $as_echo_n "(cached) " >&6
12457 else
12458 ac_check_soname_save_LIBS=$LIBS
12459 LIBS="-lfreetype $FREETYPE_LIBS $LIBS"
12460 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12461 /* end confdefs.h. */
12463 /* Override any GCC internal prototype to avoid an error.
12464 Use char because int might match the return type of a GCC
12465 builtin and then its argument prototype would still apply. */
12466 #ifdef __cplusplus
12467 extern "C"
12468 #endif
12469 char FT_Init_FreeType ();
12471 main ()
12473 return FT_Init_FreeType ();
12475 return 0;
12477 _ACEOF
12478 if ac_fn_c_try_link "$LINENO"; then :
12479 case "$LIBEXT" in
12480 dll) ac_cv_lib_soname_freetype=`$ac_cv_path_LDD conftest.exe | grep "freetype" | sed -e "s/dll.*/dll/"';2,$d'` ;;
12481 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'` ;;
12482 *) ac_cv_lib_soname_freetype=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfreetype\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfreetype\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
12483 if ${ac_cv_lib_soname_freetype:+false} :; then :
12484 ac_cv_lib_soname_freetype=`$LDD conftest$ac_exeext | grep "libfreetype\\.$LIBEXT" | sed -e "s/^.*\(libfreetype\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
12485 fi ;;
12486 esac
12488 rm -f core conftest.err conftest.$ac_objext \
12489 conftest$ac_exeext conftest.$ac_ext
12490 LIBS=$ac_check_soname_save_LIBS
12492 if ${ac_cv_lib_soname_freetype:+false} :; then :
12493 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
12494 $as_echo "not found" >&6; }
12495 FREETYPE_LIBS=""
12496 else
12497 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_freetype" >&5
12498 $as_echo "$ac_cv_lib_soname_freetype" >&6; }
12500 cat >>confdefs.h <<_ACEOF
12501 #define SONAME_LIBFREETYPE "$ac_cv_lib_soname_freetype"
12502 _ACEOF
12505 $as_echo "#define HAVE_FREETYPE 1" >>confdefs.h
12507 ac_fn_c_check_type "$LINENO" "FT_TrueTypeEngineType" "ac_cv_type_FT_TrueTypeEngineType" "#include <ft2build.h>
12508 #include FT_MODULE_H
12510 if test "x$ac_cv_type_FT_TrueTypeEngineType" = xyes; then :
12512 cat >>confdefs.h <<_ACEOF
12513 #define HAVE_FT_TRUETYPEENGINETYPE 1
12514 _ACEOF
12520 else
12521 FREETYPE_CFLAGS=""
12522 FREETYPE_LIBS=""
12524 CPPFLAGS=$ac_save_CPPFLAGS
12525 test -z "$FREETYPE_CFLAGS" || FREETYPE_CFLAGS=`echo " $FREETYPE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12526 test -z "$FREETYPE_LIBS" || FREETYPE_LIBS=`echo " $FREETYPE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12529 if test "x$ac_cv_lib_soname_freetype" = x; then :
12530 case "x$with_freetype" in
12531 xno) ;;
12532 *) as_fn_error $? "FreeType ${notice_platform}development files not found. Fonts will not be built.
12533 Use the --without-freetype option if you really want this." "$LINENO" 5 ;;
12534 esac
12535 enable_fonts=${enable_fonts:-no}
12538 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for parport header/ppdev.h" >&5
12539 $as_echo_n "checking for parport header/ppdev.h... " >&6; }
12540 if ${ac_cv_c_ppdev+:} false; then :
12541 $as_echo_n "(cached) " >&6
12542 else
12543 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12544 /* end confdefs.h. */
12545 #ifdef HAVE_SYS_IOCTL_H
12546 # include <sys/ioctl.h>
12547 #endif
12548 #include <linux/ppdev.h>
12550 main ()
12552 ioctl (1,PPCLAIM,0)
12554 return 0;
12556 _ACEOF
12557 if ac_fn_c_try_compile "$LINENO"; then :
12558 ac_cv_c_ppdev="yes"
12559 else
12560 ac_cv_c_ppdev="no"
12562 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12564 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_ppdev" >&5
12565 $as_echo "$ac_cv_c_ppdev" >&6; }
12566 if test "$ac_cv_c_ppdev" = "yes"
12567 then
12569 $as_echo "#define HAVE_PPDEV 1" >>confdefs.h
12573 ac_wine_check_funcs_save_LIBS="$LIBS"
12574 LIBS="$LIBS $PTHREAD_LIBS"
12575 for ac_func in \
12576 pthread_attr_get_np \
12577 pthread_getattr_np \
12578 pthread_getthreadid_np \
12579 pthread_get_stackaddr_np \
12580 pthread_get_stacksize_np
12581 do :
12582 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
12583 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
12584 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
12585 cat >>confdefs.h <<_ACEOF
12586 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
12587 _ACEOF
12590 done
12592 LIBS="$ac_wine_check_funcs_save_LIBS"
12594 if test "$ac_cv_header_zlib_h" = "yes"
12595 then
12596 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inflate in -lz" >&5
12597 $as_echo_n "checking for inflate in -lz... " >&6; }
12598 if ${ac_cv_lib_z_inflate+:} false; then :
12599 $as_echo_n "(cached) " >&6
12600 else
12601 ac_check_lib_save_LIBS=$LIBS
12602 LIBS="-lz $LIBS"
12603 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12604 /* end confdefs.h. */
12606 /* Override any GCC internal prototype to avoid an error.
12607 Use char because int might match the return type of a GCC
12608 builtin and then its argument prototype would still apply. */
12609 #ifdef __cplusplus
12610 extern "C"
12611 #endif
12612 char inflate ();
12614 main ()
12616 return inflate ();
12618 return 0;
12620 _ACEOF
12621 if ac_fn_c_try_link "$LINENO"; then :
12622 ac_cv_lib_z_inflate=yes
12623 else
12624 ac_cv_lib_z_inflate=no
12626 rm -f core conftest.err conftest.$ac_objext \
12627 conftest$ac_exeext conftest.$ac_ext
12628 LIBS=$ac_check_lib_save_LIBS
12630 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_z_inflate" >&5
12631 $as_echo "$ac_cv_lib_z_inflate" >&6; }
12632 if test "x$ac_cv_lib_z_inflate" = xyes; then :
12634 $as_echo "#define HAVE_ZLIB 1" >>confdefs.h
12636 Z_LIBS="-lz"
12641 if test "x$Z_LIBS" = "x"; then :
12642 case "x$with_zlib" in
12643 x) as_fn_append wine_notices "|libz ${notice_platform}development files not found, data compression won't be supported." ;;
12644 xno) ;;
12645 *) as_fn_error $? "libz ${notice_platform}development files not found, data compression won't be supported.
12646 This is an error since --with-zlib was requested." "$LINENO" 5 ;;
12647 esac
12651 if test "x$enable_tools" != xno -a "x$with_gettextpo" = xyes
12652 then
12653 if test "$ac_cv_header_gettext_po_h" = "yes"
12654 then
12655 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for po_message_msgctxt in -lgettextpo" >&5
12656 $as_echo_n "checking for po_message_msgctxt in -lgettextpo... " >&6; }
12657 if ${ac_cv_lib_gettextpo_po_message_msgctxt+:} false; then :
12658 $as_echo_n "(cached) " >&6
12659 else
12660 ac_check_lib_save_LIBS=$LIBS
12661 LIBS="-lgettextpo $LIBS"
12662 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12663 /* end confdefs.h. */
12665 /* Override any GCC internal prototype to avoid an error.
12666 Use char because int might match the return type of a GCC
12667 builtin and then its argument prototype would still apply. */
12668 #ifdef __cplusplus
12669 extern "C"
12670 #endif
12671 char po_message_msgctxt ();
12673 main ()
12675 return po_message_msgctxt ();
12677 return 0;
12679 _ACEOF
12680 if ac_fn_c_try_link "$LINENO"; then :
12681 ac_cv_lib_gettextpo_po_message_msgctxt=yes
12682 else
12683 ac_cv_lib_gettextpo_po_message_msgctxt=no
12685 rm -f core conftest.err conftest.$ac_objext \
12686 conftest$ac_exeext conftest.$ac_ext
12687 LIBS=$ac_check_lib_save_LIBS
12689 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gettextpo_po_message_msgctxt" >&5
12690 $as_echo "$ac_cv_lib_gettextpo_po_message_msgctxt" >&6; }
12691 if test "x$ac_cv_lib_gettextpo_po_message_msgctxt" = xyes; then :
12693 $as_echo "#define HAVE_LIBGETTEXTPO 1" >>confdefs.h
12695 GETTEXTPO_LIBS="-lgettextpo"
12700 if test "x$GETTEXTPO_LIBS" = "x"; then :
12701 case "x$with_gettextpo" in
12702 x) as_fn_append wine_notices "|GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt." ;;
12703 xno) ;;
12704 *) as_fn_error $? "GetText ${notice_platform}development files not found (or too old), po files can't be rebuilt.
12705 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12706 esac
12709 if test "$srcdir" != .; then :
12710 case "x$with_gettextpo" in
12711 x) as_fn_append wine_notices "|Rebuilding po files is not supported for out of tree builds." ;;
12712 xno) ;;
12713 *) as_fn_error $? "Rebuilding po files is not supported for out of tree builds.
12714 This is an error since --with-gettextpo was requested." "$LINENO" 5 ;;
12715 esac
12720 if test "x$with_pulse" != "xno";
12721 then
12722 if ${PULSE_CFLAGS:+false} :; then :
12723 if ${PKG_CONFIG+:} false; then :
12724 PULSE_CFLAGS=`$PKG_CONFIG --cflags libpulse 2>/dev/null`
12728 if ${PULSE_LIBS:+false} :; then :
12729 if ${PKG_CONFIG+:} false; then :
12730 PULSE_LIBS=`$PKG_CONFIG --libs libpulse 2>/dev/null`
12735 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse cflags: $PULSE_CFLAGS" >&5
12736 $as_echo "$as_me:${as_lineno-$LINENO}: libpulse libs: $PULSE_LIBS" >&5
12737 ac_save_CPPFLAGS=$CPPFLAGS
12738 CPPFLAGS="$CPPFLAGS $PULSE_CFLAGS"
12739 for ac_header in pulse/pulseaudio.h
12740 do :
12741 ac_fn_c_check_header_mongrel "$LINENO" "pulse/pulseaudio.h" "ac_cv_header_pulse_pulseaudio_h" "$ac_includes_default"
12742 if test "x$ac_cv_header_pulse_pulseaudio_h" = xyes; then :
12743 cat >>confdefs.h <<_ACEOF
12744 #define HAVE_PULSE_PULSEAUDIO_H 1
12745 _ACEOF
12746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for pa_stream_is_corked in -lpulse" >&5
12747 $as_echo_n "checking for pa_stream_is_corked in -lpulse... " >&6; }
12748 if ${ac_cv_lib_pulse_pa_stream_is_corked+:} false; then :
12749 $as_echo_n "(cached) " >&6
12750 else
12751 ac_check_lib_save_LIBS=$LIBS
12752 LIBS="-lpulse $PULSE_LIBS $LIBS"
12753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12754 /* end confdefs.h. */
12756 /* Override any GCC internal prototype to avoid an error.
12757 Use char because int might match the return type of a GCC
12758 builtin and then its argument prototype would still apply. */
12759 #ifdef __cplusplus
12760 extern "C"
12761 #endif
12762 char pa_stream_is_corked ();
12764 main ()
12766 return pa_stream_is_corked ();
12768 return 0;
12770 _ACEOF
12771 if ac_fn_c_try_link "$LINENO"; then :
12772 ac_cv_lib_pulse_pa_stream_is_corked=yes
12773 else
12774 ac_cv_lib_pulse_pa_stream_is_corked=no
12776 rm -f core conftest.err conftest.$ac_objext \
12777 conftest$ac_exeext conftest.$ac_ext
12778 LIBS=$ac_check_lib_save_LIBS
12780 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_pulse_pa_stream_is_corked" >&5
12781 $as_echo "$ac_cv_lib_pulse_pa_stream_is_corked" >&6; }
12782 if test "x$ac_cv_lib_pulse_pa_stream_is_corked" = xyes; then :
12784 else
12785 PULSE_LIBS=""
12788 else
12789 PULSE_LIBS=""
12792 done
12794 CPPFLAGS=$ac_save_CPPFLAGS
12795 test -z "$PULSE_CFLAGS" || PULSE_CFLAGS=`echo " $PULSE_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12796 test -z "$PULSE_LIBS" || PULSE_LIBS=`echo " $PULSE_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12799 if test -z "$PULSE_LIBS"; then :
12800 case "x$with_pulse" in
12801 x) as_fn_append wine_notices "|libpulse ${notice_platform}development files not found or too old, Pulse won't be supported." ;;
12802 xno) ;;
12803 *) as_fn_error $? "libpulse ${notice_platform}development files not found or too old, Pulse won't be supported.
12804 This is an error since --with-pulse was requested." "$LINENO" 5 ;;
12805 esac
12806 enable_winepulse_drv=${enable_winepulse_drv:-no}
12809 if test "x$with_gstreamer" != "xno"
12810 then
12811 if ${GSTREAMER_CFLAGS:+false} :; then :
12812 if ${PKG_CONFIG+:} false; then :
12813 GSTREAMER_CFLAGS=`$PKG_CONFIG --cflags gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12817 if ${GSTREAMER_LIBS:+false} :; then :
12818 if ${PKG_CONFIG+:} false; then :
12819 GSTREAMER_LIBS=`$PKG_CONFIG --libs gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 2>/dev/null`
12824 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 cflags: $GSTREAMER_CFLAGS" >&5
12825 $as_echo "$as_me:${as_lineno-$LINENO}: gstreamer-1.0 gstreamer-video-1.0 gstreamer-audio-1.0 libs: $GSTREAMER_LIBS" >&5
12826 ac_save_CPPFLAGS=$CPPFLAGS
12827 CPPFLAGS="$CPPFLAGS $GSTREAMER_CFLAGS"
12828 ac_gst_incl=""
12829 for i in $GSTREAMER_CFLAGS
12831 case "$i" in
12832 -I*) ac_gst_incl="$ac_gst_incl $i";;
12833 esac
12834 done
12835 GSTREAMER_CFLAGS=$ac_gst_incl
12836 CPPFLAGS="$ac_save_CPPFLAGS $GSTREAMER_CFLAGS"
12837 ac_fn_c_check_header_mongrel "$LINENO" "gst/gst.h" "ac_cv_header_gst_gst_h" "$ac_includes_default"
12838 if test "x$ac_cv_header_gst_gst_h" = xyes; then :
12839 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether gint64 defined by gst/gst.h is indeed 64-bit" >&5
12840 $as_echo_n "checking whether gint64 defined by gst/gst.h is indeed 64-bit... " >&6; }
12841 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12842 /* end confdefs.h. */
12843 #include <gst/gst.h>
12845 main ()
12847 static int a[sizeof(gint64) > 4 ? 1 : -1]; if (a[0]) return 0;
12849 return 0;
12851 _ACEOF
12852 if ac_fn_c_try_compile "$LINENO"; then :
12853 { $as_echo "$as_me:${as_lineno-$LINENO}: result: yes" >&5
12854 $as_echo "yes" >&6; }
12855 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gst_pad_new in -lgstreamer-1.0" >&5
12856 $as_echo_n "checking for gst_pad_new in -lgstreamer-1.0... " >&6; }
12857 if ${ac_cv_lib_gstreamer_1_0_gst_pad_new+:} false; then :
12858 $as_echo_n "(cached) " >&6
12859 else
12860 ac_check_lib_save_LIBS=$LIBS
12861 LIBS="-lgstreamer-1.0 $GSTREAMER_LIBS $LIBS"
12862 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12863 /* end confdefs.h. */
12865 /* Override any GCC internal prototype to avoid an error.
12866 Use char because int might match the return type of a GCC
12867 builtin and then its argument prototype would still apply. */
12868 #ifdef __cplusplus
12869 extern "C"
12870 #endif
12871 char gst_pad_new ();
12873 main ()
12875 return gst_pad_new ();
12877 return 0;
12879 _ACEOF
12880 if ac_fn_c_try_link "$LINENO"; then :
12881 ac_cv_lib_gstreamer_1_0_gst_pad_new=yes
12882 else
12883 ac_cv_lib_gstreamer_1_0_gst_pad_new=no
12885 rm -f core conftest.err conftest.$ac_objext \
12886 conftest$ac_exeext conftest.$ac_ext
12887 LIBS=$ac_check_lib_save_LIBS
12889 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_gstreamer_1_0_gst_pad_new" >&5
12890 $as_echo "$ac_cv_lib_gstreamer_1_0_gst_pad_new" >&6; }
12891 if test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes; then :
12895 else
12896 { $as_echo "$as_me:${as_lineno-$LINENO}: result: no" >&5
12897 $as_echo "no" >&6; }
12898 ac_glib2_broken=yes
12899 as_fn_append wine_notices "|glib-2.0 pkgconfig configuration is for the wrong architecture, winegstreamer won't be built."
12901 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12905 CPPFLAGS=$ac_save_CPPFLAGS
12906 test -z "$GSTREAMER_CFLAGS" || GSTREAMER_CFLAGS=`echo " $GSTREAMER_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
12907 test -z "$GSTREAMER_LIBS" || GSTREAMER_LIBS=`echo " $GSTREAMER_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
12910 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 :
12911 case "x$with_gstreamer" in
12912 x) as_fn_append wine_notices "|gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported." ;;
12913 xno) ;;
12914 *) as_fn_error $? "gstreamer-1.0 base plugins ${notice_platform}development files not found, GStreamer won't be supported.
12915 This is an error since --with-gstreamer was requested." "$LINENO" 5 ;;
12916 esac
12919 test "x$ac_cv_lib_gstreamer_1_0_gst_pad_new" = xyes || enable_winegstreamer=${enable_winegstreamer:-no}
12921 ALSA_LIBS=""
12923 if test "$ac_cv_header_sys_asoundlib_h" = "yes" -o "$ac_cv_header_alsa_asoundlib_h" = "yes"
12924 then
12925 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for snd_pcm_hw_params_get_access_mask in -lasound" >&5
12926 $as_echo_n "checking for snd_pcm_hw_params_get_access_mask in -lasound... " >&6; }
12927 if ${ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask+:} false; then :
12928 $as_echo_n "(cached) " >&6
12929 else
12930 ac_check_lib_save_LIBS=$LIBS
12931 LIBS="-lasound $LIBS"
12932 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12933 /* end confdefs.h. */
12935 /* Override any GCC internal prototype to avoid an error.
12936 Use char because int might match the return type of a GCC
12937 builtin and then its argument prototype would still apply. */
12938 #ifdef __cplusplus
12939 extern "C"
12940 #endif
12941 char snd_pcm_hw_params_get_access_mask ();
12943 main ()
12945 return snd_pcm_hw_params_get_access_mask ();
12947 return 0;
12949 _ACEOF
12950 if ac_fn_c_try_link "$LINENO"; then :
12951 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=yes
12952 else
12953 ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask=no
12955 rm -f core conftest.err conftest.$ac_objext \
12956 conftest$ac_exeext conftest.$ac_ext
12957 LIBS=$ac_check_lib_save_LIBS
12959 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&5
12960 $as_echo "$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" >&6; }
12961 if test "x$ac_cv_lib_asound_snd_pcm_hw_params_get_access_mask" = xyes; then :
12962 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
12963 /* end confdefs.h. */
12964 #ifdef HAVE_ALSA_ASOUNDLIB_H
12965 #include <alsa/asoundlib.h>
12966 #elif defined(HAVE_SYS_ASOUNDLIB_H)
12967 #include <sys/asoundlib.h>
12968 #endif
12970 main ()
12972 snd_pcm_hw_params_get_access_mask(NULL, NULL)
12974 return 0;
12976 _ACEOF
12977 if ac_fn_c_try_compile "$LINENO"; then :
12978 ALSA_LIBS="-lasound"
12980 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
12984 test -n "$ALSA_LIBS" || enable_winealsa_drv=${enable_winealsa_drv:-no}
12986 if test "x$with_oss" != xno
12987 then
12988 ac_save_CPPFLAGS="$CPPFLAGS"
12989 if test -f /etc/oss.conf
12990 then
12991 . /etc/oss.conf
12993 ac_oss_incl="-I${OSSLIBDIR:-/usr/lib/oss}/include"
12994 CPPFLAGS="$CPPFLAGS $ac_oss_incl"
12995 ac_fn_c_check_header_mongrel "$LINENO" "sys/soundcard.h" "ac_cv_header_sys_soundcard_h" "$ac_includes_default"
12996 if test "x$ac_cv_header_sys_soundcard_h" = xyes; then :
12997 ac_fn_c_check_member "$LINENO" "oss_sysinfo" "numaudioengines" "ac_cv_member_oss_sysinfo_numaudioengines" "#include <sys/soundcard.h>
12999 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" = xyes; then :
13001 cat >>confdefs.h <<_ACEOF
13002 #define HAVE_OSS_SYSINFO_NUMAUDIOENGINES 1
13003 _ACEOF
13005 OSS4_CFLAGS="$ac_oss_incl"
13012 CPPFLAGS="$ac_save_CPPFLAGS"
13014 if test "x$ac_cv_member_oss_sysinfo_numaudioengines" != xyes; then :
13015 case "x$with_oss" in
13016 x) as_fn_append wine_notices "|OSS sound system found but too old (OSSv4 needed), OSS won't be supported." ;;
13017 xno) ;;
13018 *) as_fn_error $? "OSS sound system found but too old (OSSv4 needed), OSS won't be supported.
13019 This is an error since --with-oss was requested." "$LINENO" 5 ;;
13020 esac
13021 enable_wineoss_drv=${enable_wineoss_drv:-no}
13024 if test "x$with_udev" != "xno"
13025 then
13026 if ${UDEV_CFLAGS:+false} :; then :
13027 if ${PKG_CONFIG+:} false; then :
13028 UDEV_CFLAGS=`$PKG_CONFIG --cflags libudev 2>/dev/null`
13032 if ${UDEV_LIBS:+false} :; then :
13033 if ${PKG_CONFIG+:} false; then :
13034 UDEV_LIBS=`$PKG_CONFIG --libs libudev 2>/dev/null`
13038 UDEV_LIBS=${UDEV_LIBS:-"-ludev"}
13039 $as_echo "$as_me:${as_lineno-$LINENO}: libudev cflags: $UDEV_CFLAGS" >&5
13040 $as_echo "$as_me:${as_lineno-$LINENO}: libudev libs: $UDEV_LIBS" >&5
13041 ac_save_CPPFLAGS=$CPPFLAGS
13042 CPPFLAGS="$CPPFLAGS $UDEV_CFLAGS"
13043 for ac_header in libudev.h
13044 do :
13045 ac_fn_c_check_header_mongrel "$LINENO" "libudev.h" "ac_cv_header_libudev_h" "$ac_includes_default"
13046 if test "x$ac_cv_header_libudev_h" = xyes; then :
13047 cat >>confdefs.h <<_ACEOF
13048 #define HAVE_LIBUDEV_H 1
13049 _ACEOF
13050 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for udev_new in -ludev" >&5
13051 $as_echo_n "checking for udev_new in -ludev... " >&6; }
13052 if ${ac_cv_lib_udev_udev_new+:} false; then :
13053 $as_echo_n "(cached) " >&6
13054 else
13055 ac_check_lib_save_LIBS=$LIBS
13056 LIBS="-ludev $UDEV_LIBS $LIBS"
13057 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13058 /* end confdefs.h. */
13060 /* Override any GCC internal prototype to avoid an error.
13061 Use char because int might match the return type of a GCC
13062 builtin and then its argument prototype would still apply. */
13063 #ifdef __cplusplus
13064 extern "C"
13065 #endif
13066 char udev_new ();
13068 main ()
13070 return udev_new ();
13072 return 0;
13074 _ACEOF
13075 if ac_fn_c_try_link "$LINENO"; then :
13076 ac_cv_lib_udev_udev_new=yes
13077 else
13078 ac_cv_lib_udev_udev_new=no
13080 rm -f core conftest.err conftest.$ac_objext \
13081 conftest$ac_exeext conftest.$ac_ext
13082 LIBS=$ac_check_lib_save_LIBS
13084 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_udev_udev_new" >&5
13085 $as_echo "$ac_cv_lib_udev_udev_new" >&6; }
13086 if test "x$ac_cv_lib_udev_udev_new" = xyes; then :
13088 $as_echo "#define HAVE_UDEV 1" >>confdefs.h
13090 else
13091 UDEV_LIBS=""
13094 else
13095 UDEV_LIBS=""
13098 done
13100 CPPFLAGS=$ac_save_CPPFLAGS
13101 test -z "$UDEV_CFLAGS" || UDEV_CFLAGS=`echo " $UDEV_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13102 test -z "$UDEV_LIBS" || UDEV_LIBS=`echo " $UDEV_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13105 if test "x$UDEV_LIBS" = "x"; then :
13106 case "x$with_udev" in
13107 x) as_fn_append wine_notices "|libudev ${notice_platform}development files not found, plug and play won't be supported." ;;
13108 xno) ;;
13109 *) as_fn_error $? "libudev ${notice_platform}development files not found, plug and play won't be supported.
13110 This is an error since --with-udev was requested." "$LINENO" 5 ;;
13111 esac
13115 if test "x$with_sdl" != "xno"
13116 then
13117 if ${SDL2_CFLAGS:+false} :; then :
13118 if ${PKG_CONFIG+:} false; then :
13119 SDL2_CFLAGS=`$PKG_CONFIG --cflags sdl2 2>/dev/null`
13123 if ${SDL2_LIBS:+false} :; then :
13124 if ${PKG_CONFIG+:} false; then :
13125 SDL2_LIBS=`$PKG_CONFIG --libs sdl2 2>/dev/null`
13129 SDL2_LIBS=${SDL2_LIBS:-"-lSDL2"}
13130 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 cflags: $SDL2_CFLAGS" >&5
13131 $as_echo "$as_me:${as_lineno-$LINENO}: sdl2 libs: $SDL2_LIBS" >&5
13132 ac_save_CPPFLAGS=$CPPFLAGS
13133 CPPFLAGS="$CPPFLAGS $SDL2_CFLAGS"
13134 for ac_header in SDL2/SDL.h
13135 do :
13136 ac_fn_c_check_header_mongrel "$LINENO" "SDL2/SDL.h" "ac_cv_header_SDL2_SDL_h" "$ac_includes_default"
13137 if test "x$ac_cv_header_SDL2_SDL_h" = xyes; then :
13138 cat >>confdefs.h <<_ACEOF
13139 #define HAVE_SDL2_SDL_H 1
13140 _ACEOF
13141 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lSDL2" >&5
13142 $as_echo_n "checking for -lSDL2... " >&6; }
13143 if ${ac_cv_lib_soname_SDL2+:} false; then :
13144 $as_echo_n "(cached) " >&6
13145 else
13146 ac_check_soname_save_LIBS=$LIBS
13147 LIBS="-lSDL2 $LIBS"
13148 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13149 /* end confdefs.h. */
13151 /* Override any GCC internal prototype to avoid an error.
13152 Use char because int might match the return type of a GCC
13153 builtin and then its argument prototype would still apply. */
13154 #ifdef __cplusplus
13155 extern "C"
13156 #endif
13157 char SDL_Init ();
13159 main ()
13161 return SDL_Init ();
13163 return 0;
13165 _ACEOF
13166 if ac_fn_c_try_link "$LINENO"; then :
13167 case "$LIBEXT" in
13168 dll) ac_cv_lib_soname_SDL2=`$ac_cv_path_LDD conftest.exe | grep "SDL2" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13169 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'` ;;
13170 *) 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'`
13171 if ${ac_cv_lib_soname_SDL2:+false} :; then :
13172 ac_cv_lib_soname_SDL2=`$LDD conftest$ac_exeext | grep "libSDL2-2.0*\\.$LIBEXT" | sed -e "s/^.*\(libSDL2-2.0*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13173 fi ;;
13174 esac
13176 rm -f core conftest.err conftest.$ac_objext \
13177 conftest$ac_exeext conftest.$ac_ext
13178 LIBS=$ac_check_soname_save_LIBS
13180 if ${ac_cv_lib_soname_SDL2:+false} :; then :
13181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13182 $as_echo "not found" >&6; }
13184 else
13185 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_SDL2" >&5
13186 $as_echo "$ac_cv_lib_soname_SDL2" >&6; }
13188 cat >>confdefs.h <<_ACEOF
13189 #define SONAME_LIBSDL2 "$ac_cv_lib_soname_SDL2"
13190 _ACEOF
13196 done
13198 CPPFLAGS=$ac_save_CPPFLAGS
13199 test -z "$SDL2_CFLAGS" || SDL2_CFLAGS=`echo " $SDL2_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13200 test -z "$SDL2_LIBS" || SDL2_LIBS=`echo " $SDL2_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13203 if test "x$ac_cv_lib_soname_SDL2" = "x"; then :
13204 case "x$with_sdl" in
13205 x) as_fn_append wine_notices "|libSDL2 ${notice_platform}development files not found, SDL2 won't be supported." ;;
13206 xno) ;;
13207 *) as_fn_error $? "libSDL2 ${notice_platform}development files not found, SDL2 won't be supported.
13208 This is an error since --with-sdl was requested." "$LINENO" 5 ;;
13209 esac
13213 if test "x$with_capi" != "xno"
13214 then
13215 if ${CAPI20_CFLAGS:+false} :; then :
13216 if ${PKG_CONFIG+:} false; then :
13217 CAPI20_CFLAGS=`$PKG_CONFIG --cflags capi20 2>/dev/null`
13221 if ${CAPI20_LIBS:+false} :; then :
13222 if ${PKG_CONFIG+:} false; then :
13223 CAPI20_LIBS=`$PKG_CONFIG --libs capi20 2>/dev/null`
13228 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 cflags: $CAPI20_CFLAGS" >&5
13229 $as_echo "$as_me:${as_lineno-$LINENO}: capi20 libs: $CAPI20_LIBS" >&5
13230 ac_save_CPPFLAGS=$CPPFLAGS
13231 CPPFLAGS="$CPPFLAGS $CAPI20_CFLAGS"
13232 for ac_header in capi20.h linux/capi.h
13233 do :
13234 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13235 ac_fn_c_check_header_compile "$LINENO" "$ac_header" "$as_ac_Header" "#define __user
13237 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13238 cat >>confdefs.h <<_ACEOF
13239 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13240 _ACEOF
13244 done
13246 if test "$ac_cv_header_capi20_h" = "yes" -a "$ac_cv_header_linux_capi_h" = "yes"
13247 then
13248 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcapi20" >&5
13249 $as_echo_n "checking for -lcapi20... " >&6; }
13250 if ${ac_cv_lib_soname_capi20+:} false; then :
13251 $as_echo_n "(cached) " >&6
13252 else
13253 ac_check_soname_save_LIBS=$LIBS
13254 LIBS="-lcapi20 $CAPI20_LIBS $LIBS"
13255 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13256 /* end confdefs.h. */
13258 /* Override any GCC internal prototype to avoid an error.
13259 Use char because int might match the return type of a GCC
13260 builtin and then its argument prototype would still apply. */
13261 #ifdef __cplusplus
13262 extern "C"
13263 #endif
13264 char capi20_register ();
13266 main ()
13268 return capi20_register ();
13270 return 0;
13272 _ACEOF
13273 if ac_fn_c_try_link "$LINENO"; then :
13274 case "$LIBEXT" in
13275 dll) ac_cv_lib_soname_capi20=`$ac_cv_path_LDD conftest.exe | grep "capi20" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13276 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'` ;;
13277 *) ac_cv_lib_soname_capi20=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcapi20\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcapi20\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13278 if ${ac_cv_lib_soname_capi20:+false} :; then :
13279 ac_cv_lib_soname_capi20=`$LDD conftest$ac_exeext | grep "libcapi20\\.$LIBEXT" | sed -e "s/^.*\(libcapi20\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13280 fi ;;
13281 esac
13283 rm -f core conftest.err conftest.$ac_objext \
13284 conftest$ac_exeext conftest.$ac_ext
13285 LIBS=$ac_check_soname_save_LIBS
13287 if ${ac_cv_lib_soname_capi20:+false} :; then :
13288 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13289 $as_echo "not found" >&6; }
13291 else
13292 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_capi20" >&5
13293 $as_echo "$ac_cv_lib_soname_capi20" >&6; }
13295 cat >>confdefs.h <<_ACEOF
13296 #define SONAME_LIBCAPI20 "$ac_cv_lib_soname_capi20"
13297 _ACEOF
13302 CPPFLAGS=$ac_save_CPPFLAGS
13303 test -z "$CAPI20_CFLAGS" || CAPI20_CFLAGS=`echo " $CAPI20_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13304 test -z "$CAPI20_LIBS" || CAPI20_LIBS=`echo " $CAPI20_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13307 if test "x$ac_cv_lib_soname_capi20" = "x"; then :
13308 case "x$with_capi" in
13309 x) as_fn_append wine_notices "|libcapi20 ${notice_platform}development files not found, ISDN won't be supported." ;;
13310 xno) ;;
13311 *) as_fn_error $? "libcapi20 ${notice_platform}development files not found, ISDN won't be supported.
13312 This is an error since --with-capi was requested." "$LINENO" 5 ;;
13313 esac
13317 if test "x$with_cups" != "xno"
13318 then
13319 if ${CUPS_CFLAGS:+false} :; then :
13320 if ${PKG_CONFIG+:} false; then :
13321 CUPS_CFLAGS=`$PKG_CONFIG --cflags cups 2>/dev/null`
13324 test "$cross_compiling" = yes || CUPS_CFLAGS=${CUPS_CFLAGS:-`${CUPS_CONFIG:-cups-config} --cflags 2>/dev/null`}
13325 if ${CUPS_LIBS:+false} :; then :
13326 if ${PKG_CONFIG+:} false; then :
13327 CUPS_LIBS=`$PKG_CONFIG --libs cups 2>/dev/null`
13330 test "$cross_compiling" = yes || CUPS_LIBS=${CUPS_LIBS:-`${CUPS_CONFIG:-cups-config} --libs 2>/dev/null`}
13331 CUPS_LIBS=${CUPS_LIBS:-"-lcups"}
13332 $as_echo "$as_me:${as_lineno-$LINENO}: cups cflags: $CUPS_CFLAGS" >&5
13333 $as_echo "$as_me:${as_lineno-$LINENO}: cups libs: $CUPS_LIBS" >&5
13334 ac_save_CPPFLAGS=$CPPFLAGS
13335 CPPFLAGS="$CPPFLAGS $CUPS_CFLAGS"
13336 for ac_header in cups/cups.h cups/ppd.h
13337 do :
13338 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13339 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13340 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13341 cat >>confdefs.h <<_ACEOF
13342 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13343 _ACEOF
13347 done
13349 if test "$ac_cv_header_cups_cups_h" = "yes"
13350 then
13351 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lcups" >&5
13352 $as_echo_n "checking for -lcups... " >&6; }
13353 if ${ac_cv_lib_soname_cups+:} false; then :
13354 $as_echo_n "(cached) " >&6
13355 else
13356 ac_check_soname_save_LIBS=$LIBS
13357 LIBS="-lcups $CUPS_LIBS $LIBS"
13358 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13359 /* end confdefs.h. */
13361 /* Override any GCC internal prototype to avoid an error.
13362 Use char because int might match the return type of a GCC
13363 builtin and then its argument prototype would still apply. */
13364 #ifdef __cplusplus
13365 extern "C"
13366 #endif
13367 char cupsGetDefault ();
13369 main ()
13371 return cupsGetDefault ();
13373 return 0;
13375 _ACEOF
13376 if ac_fn_c_try_link "$LINENO"; then :
13377 case "$LIBEXT" in
13378 dll) ac_cv_lib_soname_cups=`$ac_cv_path_LDD conftest.exe | grep "cups" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13379 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'` ;;
13380 *) ac_cv_lib_soname_cups=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libcups\\.$LIBEXT" | sed -e "s/^.*\\[\\(libcups\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13381 if ${ac_cv_lib_soname_cups:+false} :; then :
13382 ac_cv_lib_soname_cups=`$LDD conftest$ac_exeext | grep "libcups\\.$LIBEXT" | sed -e "s/^.*\(libcups\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13383 fi ;;
13384 esac
13386 rm -f core conftest.err conftest.$ac_objext \
13387 conftest$ac_exeext conftest.$ac_ext
13388 LIBS=$ac_check_soname_save_LIBS
13390 if ${ac_cv_lib_soname_cups:+false} :; then :
13391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13392 $as_echo "not found" >&6; }
13393 CUPS_LIBS=""
13394 else
13395 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_cups" >&5
13396 $as_echo "$ac_cv_lib_soname_cups" >&6; }
13398 cat >>confdefs.h <<_ACEOF
13399 #define SONAME_LIBCUPS "$ac_cv_lib_soname_cups"
13400 _ACEOF
13404 else
13405 CUPS_CFLAGS=""
13406 CUPS_LIBS=""
13408 CPPFLAGS=$ac_save_CPPFLAGS
13409 test -z "$CUPS_CFLAGS" || CUPS_CFLAGS=`echo " $CUPS_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13410 test -z "$CUPS_LIBS" || CUPS_LIBS=`echo " $CUPS_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13413 if test "x$ac_cv_lib_soname_cups" = "x"; then :
13414 case "x$with_cups" in
13415 x) as_fn_append wine_notices "|libcups ${notice_platform}development files not found, CUPS won't be supported." ;;
13416 xno) ;;
13417 *) as_fn_error $? "libcups ${notice_platform}development files not found, CUPS won't be supported.
13418 This is an error since --with-cups was requested." "$LINENO" 5 ;;
13419 esac
13423 if test "x$with_fontconfig" != "xno"
13424 then
13425 if ${FONTCONFIG_CFLAGS:+false} :; then :
13426 if ${PKG_CONFIG+:} false; then :
13427 FONTCONFIG_CFLAGS=`$PKG_CONFIG --cflags fontconfig 2>/dev/null`
13430 test "$cross_compiling" = yes || FONTCONFIG_CFLAGS=${FONTCONFIG_CFLAGS:-$X_CFLAGS}
13431 if ${FONTCONFIG_LIBS:+false} :; then :
13432 if ${PKG_CONFIG+:} false; then :
13433 FONTCONFIG_LIBS=`$PKG_CONFIG --libs fontconfig 2>/dev/null`
13436 test "$cross_compiling" = yes || FONTCONFIG_LIBS=${FONTCONFIG_LIBS:-$X_LIBS}
13438 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig cflags: $FONTCONFIG_CFLAGS" >&5
13439 $as_echo "$as_me:${as_lineno-$LINENO}: fontconfig libs: $FONTCONFIG_LIBS" >&5
13440 ac_save_CPPFLAGS=$CPPFLAGS
13441 CPPFLAGS="$CPPFLAGS $FONTCONFIG_CFLAGS"
13442 for ac_header in fontconfig/fontconfig.h
13443 do :
13444 ac_fn_c_check_header_mongrel "$LINENO" "fontconfig/fontconfig.h" "ac_cv_header_fontconfig_fontconfig_h" "$ac_includes_default"
13445 if test "x$ac_cv_header_fontconfig_fontconfig_h" = xyes; then :
13446 cat >>confdefs.h <<_ACEOF
13447 #define HAVE_FONTCONFIG_FONTCONFIG_H 1
13448 _ACEOF
13452 done
13454 if test "$ac_cv_header_fontconfig_fontconfig_h" = "yes"
13455 then
13456 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lfontconfig" >&5
13457 $as_echo_n "checking for -lfontconfig... " >&6; }
13458 if ${ac_cv_lib_soname_fontconfig+:} false; then :
13459 $as_echo_n "(cached) " >&6
13460 else
13461 ac_check_soname_save_LIBS=$LIBS
13462 LIBS="-lfontconfig $FONTCONFIG_LIBS $LIBS"
13463 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13464 /* end confdefs.h. */
13466 /* Override any GCC internal prototype to avoid an error.
13467 Use char because int might match the return type of a GCC
13468 builtin and then its argument prototype would still apply. */
13469 #ifdef __cplusplus
13470 extern "C"
13471 #endif
13472 char FcInit ();
13474 main ()
13476 return FcInit ();
13478 return 0;
13480 _ACEOF
13481 if ac_fn_c_try_link "$LINENO"; then :
13482 case "$LIBEXT" in
13483 dll) ac_cv_lib_soname_fontconfig=`$ac_cv_path_LDD conftest.exe | grep "fontconfig" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13484 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'` ;;
13485 *) ac_cv_lib_soname_fontconfig=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libfontconfig\\.$LIBEXT" | sed -e "s/^.*\\[\\(libfontconfig\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13486 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13487 ac_cv_lib_soname_fontconfig=`$LDD conftest$ac_exeext | grep "libfontconfig\\.$LIBEXT" | sed -e "s/^.*\(libfontconfig\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13488 fi ;;
13489 esac
13491 rm -f core conftest.err conftest.$ac_objext \
13492 conftest$ac_exeext conftest.$ac_ext
13493 LIBS=$ac_check_soname_save_LIBS
13495 if ${ac_cv_lib_soname_fontconfig:+false} :; then :
13496 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13497 $as_echo "not found" >&6; }
13498 FONTCONFIG_CFLAGS=""
13499 else
13500 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_fontconfig" >&5
13501 $as_echo "$ac_cv_lib_soname_fontconfig" >&6; }
13503 cat >>confdefs.h <<_ACEOF
13504 #define SONAME_LIBFONTCONFIG "$ac_cv_lib_soname_fontconfig"
13505 _ACEOF
13509 else
13510 FONTCONFIG_CFLAGS=""
13512 CPPFLAGS=$ac_save_CPPFLAGS
13513 test -z "$FONTCONFIG_CFLAGS" || FONTCONFIG_CFLAGS=`echo " $FONTCONFIG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13514 test -z "$FONTCONFIG_LIBS" || FONTCONFIG_LIBS=`echo " $FONTCONFIG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13517 if test "x$ac_cv_lib_soname_fontconfig" = "x"; then :
13518 case "x$with_fontconfig" in
13519 x) as_fn_append wine_notices "|fontconfig ${notice_platform}development files not found, fontconfig won't be supported." ;;
13520 xno) ;;
13521 *) as_fn_error $? "fontconfig ${notice_platform}development files not found, fontconfig won't be supported.
13522 This is an error since --with-fontconfig was requested." "$LINENO" 5 ;;
13523 esac
13527 if test "$ac_cv_header_gsm_h" = "yes" -o "$ac_cv_header_gsm_gsm_h" = "yes"
13528 then
13529 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgsm" >&5
13530 $as_echo_n "checking for -lgsm... " >&6; }
13531 if ${ac_cv_lib_soname_gsm+:} false; then :
13532 $as_echo_n "(cached) " >&6
13533 else
13534 ac_check_soname_save_LIBS=$LIBS
13535 LIBS="-lgsm $LIBS"
13536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13537 /* end confdefs.h. */
13539 /* Override any GCC internal prototype to avoid an error.
13540 Use char because int might match the return type of a GCC
13541 builtin and then its argument prototype would still apply. */
13542 #ifdef __cplusplus
13543 extern "C"
13544 #endif
13545 char gsm_create ();
13547 main ()
13549 return gsm_create ();
13551 return 0;
13553 _ACEOF
13554 if ac_fn_c_try_link "$LINENO"; then :
13555 case "$LIBEXT" in
13556 dll) ac_cv_lib_soname_gsm=`$ac_cv_path_LDD conftest.exe | grep "gsm" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13557 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'` ;;
13558 *) ac_cv_lib_soname_gsm=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libgsm\\.$LIBEXT" | sed -e "s/^.*\\[\\(libgsm\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13559 if ${ac_cv_lib_soname_gsm:+false} :; then :
13560 ac_cv_lib_soname_gsm=`$LDD conftest$ac_exeext | grep "libgsm\\.$LIBEXT" | sed -e "s/^.*\(libgsm\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13561 fi ;;
13562 esac
13564 rm -f core conftest.err conftest.$ac_objext \
13565 conftest$ac_exeext conftest.$ac_ext
13566 LIBS=$ac_check_soname_save_LIBS
13568 if ${ac_cv_lib_soname_gsm:+false} :; then :
13569 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13570 $as_echo "not found" >&6; }
13572 else
13573 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gsm" >&5
13574 $as_echo "$ac_cv_lib_soname_gsm" >&6; }
13576 cat >>confdefs.h <<_ACEOF
13577 #define SONAME_LIBGSM "$ac_cv_lib_soname_gsm"
13578 _ACEOF
13583 if test "x$ac_cv_lib_soname_gsm" = "x"; then :
13584 case "x$with_gsm" in
13585 x) as_fn_append wine_notices "|libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported." ;;
13586 xno) ;;
13587 *) as_fn_error $? "libgsm ${notice_platform}development files not found, gsm 06.10 codec won't be supported.
13588 This is an error since --with-gsm was requested." "$LINENO" 5 ;;
13589 esac
13593 if test "x$with_krb5" != "xno"
13594 then
13595 if ${KRB5_CFLAGS:+false} :; then :
13596 if ${PKG_CONFIG+:} false; then :
13597 KRB5_CFLAGS=`$PKG_CONFIG --cflags krb5 2>/dev/null`
13600 test "$cross_compiling" = yes || KRB5_CFLAGS=${KRB5_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags 2>/dev/null`}
13601 if ${KRB5_LIBS:+false} :; then :
13602 if ${PKG_CONFIG+:} false; then :
13603 KRB5_LIBS=`$PKG_CONFIG --libs krb5 2>/dev/null`
13606 test "$cross_compiling" = yes || KRB5_LIBS=${KRB5_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs 2>/dev/null`}
13608 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 cflags: $KRB5_CFLAGS" >&5
13609 $as_echo "$as_me:${as_lineno-$LINENO}: krb5 libs: $KRB5_LIBS" >&5
13610 ac_save_CPPFLAGS=$CPPFLAGS
13611 CPPFLAGS="$CPPFLAGS $KRB5_CFLAGS"
13612 for ac_header in krb5/krb5.h
13613 do :
13614 ac_fn_c_check_header_mongrel "$LINENO" "krb5/krb5.h" "ac_cv_header_krb5_krb5_h" "$ac_includes_default"
13615 if test "x$ac_cv_header_krb5_krb5_h" = xyes; then :
13616 cat >>confdefs.h <<_ACEOF
13617 #define HAVE_KRB5_KRB5_H 1
13618 _ACEOF
13622 done
13624 if test "$ac_cv_header_krb5_krb5_h" = "yes"
13625 then
13626 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lkrb5" >&5
13627 $as_echo_n "checking for -lkrb5... " >&6; }
13628 if ${ac_cv_lib_soname_krb5+:} false; then :
13629 $as_echo_n "(cached) " >&6
13630 else
13631 ac_check_soname_save_LIBS=$LIBS
13632 LIBS="-lkrb5 $KRB5_LIBS $LIBS"
13633 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13634 /* end confdefs.h. */
13636 /* Override any GCC internal prototype to avoid an error.
13637 Use char because int might match the return type of a GCC
13638 builtin and then its argument prototype would still apply. */
13639 #ifdef __cplusplus
13640 extern "C"
13641 #endif
13642 char krb5_init_context ();
13644 main ()
13646 return krb5_init_context ();
13648 return 0;
13650 _ACEOF
13651 if ac_fn_c_try_link "$LINENO"; then :
13652 case "$LIBEXT" in
13653 dll) ac_cv_lib_soname_krb5=`$ac_cv_path_LDD conftest.exe | grep "krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13654 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'` ;;
13655 *) ac_cv_lib_soname_krb5=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libkrb5\\.$LIBEXT" | sed -e "s/^.*\\[\\(libkrb5\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13656 if ${ac_cv_lib_soname_krb5:+false} :; then :
13657 ac_cv_lib_soname_krb5=`$LDD conftest$ac_exeext | grep "libkrb5\\.$LIBEXT" | sed -e "s/^.*\(libkrb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13658 fi ;;
13659 esac
13661 rm -f core conftest.err conftest.$ac_objext \
13662 conftest$ac_exeext conftest.$ac_ext
13663 LIBS=$ac_check_soname_save_LIBS
13665 if ${ac_cv_lib_soname_krb5:+false} :; then :
13666 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13667 $as_echo "not found" >&6; }
13668 KRB5_CFLAGS=""
13669 else
13670 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_krb5" >&5
13671 $as_echo "$ac_cv_lib_soname_krb5" >&6; }
13673 cat >>confdefs.h <<_ACEOF
13674 #define SONAME_LIBKRB5 "$ac_cv_lib_soname_krb5"
13675 _ACEOF
13679 else
13680 KRB5_CFLAGS=""
13682 CPPFLAGS=$ac_save_CPPFLAGS
13683 test -z "$KRB5_CFLAGS" || KRB5_CFLAGS=`echo " $KRB5_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13684 test -z "$KRB5_LIBS" || KRB5_LIBS=`echo " $KRB5_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13686 else
13687 with_gssapi=${with_gssapi:-no}
13689 if test "x$ac_cv_lib_soname_krb5" = "x"; then :
13690 case "x$with_krb5" in
13691 x) as_fn_append wine_notices "|libkrb5 ${notice_platform}development files not found, Kerberos won't be supported." ;;
13692 xno) ;;
13693 *) as_fn_error $? "libkrb5 ${notice_platform}development files not found, Kerberos won't be supported.
13694 This is an error since --with-krb5 was requested." "$LINENO" 5 ;;
13695 esac
13699 if test "x$with_gssapi" != "xno"
13700 then
13701 if ${GSSAPI_CFLAGS:+false} :; then :
13702 if ${PKG_CONFIG+:} false; then :
13703 GSSAPI_CFLAGS=`$PKG_CONFIG --cflags krb5-gssapi 2>/dev/null`
13706 test "$cross_compiling" = yes || GSSAPI_CFLAGS=${GSSAPI_CFLAGS:-`${KRB5_CONFIG:-krb5-config} --cflags gssapi 2>/dev/null`}
13707 if ${GSSAPI_LIBS:+false} :; then :
13708 if ${PKG_CONFIG+:} false; then :
13709 GSSAPI_LIBS=`$PKG_CONFIG --libs krb5-gssapi 2>/dev/null`
13712 test "$cross_compiling" = yes || GSSAPI_LIBS=${GSSAPI_LIBS:-`${KRB5_CONFIG:-krb5-config} --libs gssapi 2>/dev/null`}
13714 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi cflags: $GSSAPI_CFLAGS" >&5
13715 $as_echo "$as_me:${as_lineno-$LINENO}: krb5-gssapi libs: $GSSAPI_LIBS" >&5
13716 ac_save_CPPFLAGS=$CPPFLAGS
13717 CPPFLAGS="$CPPFLAGS $GSSAPI_CFLAGS"
13718 for ac_header in gssapi/gssapi.h gssapi/gssapi_ext.h
13719 do :
13720 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
13721 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
13722 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
13723 cat >>confdefs.h <<_ACEOF
13724 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
13725 _ACEOF
13729 done
13731 if test "$ac_cv_header_gssapi_gssapi_h" = "yes" -a "$ac_cv_header_gssapi_gssapi_ext_h" = "yes"
13732 then
13733 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lgssapi_krb5" >&5
13734 $as_echo_n "checking for -lgssapi_krb5... " >&6; }
13735 if ${ac_cv_lib_soname_gssapi_krb5+:} false; then :
13736 $as_echo_n "(cached) " >&6
13737 else
13738 ac_check_soname_save_LIBS=$LIBS
13739 LIBS="-lgssapi_krb5 $GSSAPI_LIBS $LIBS"
13740 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13741 /* end confdefs.h. */
13743 /* Override any GCC internal prototype to avoid an error.
13744 Use char because int might match the return type of a GCC
13745 builtin and then its argument prototype would still apply. */
13746 #ifdef __cplusplus
13747 extern "C"
13748 #endif
13749 char gss_init_sec_context ();
13751 main ()
13753 return gss_init_sec_context ();
13755 return 0;
13757 _ACEOF
13758 if ac_fn_c_try_link "$LINENO"; then :
13759 case "$LIBEXT" in
13760 dll) ac_cv_lib_soname_gssapi_krb5=`$ac_cv_path_LDD conftest.exe | grep "gssapi_krb5" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13761 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'` ;;
13762 *) 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'`
13763 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
13764 ac_cv_lib_soname_gssapi_krb5=`$LDD conftest$ac_exeext | grep "libgssapi_krb5\\.$LIBEXT" | sed -e "s/^.*\(libgssapi_krb5\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13765 fi ;;
13766 esac
13768 rm -f core conftest.err conftest.$ac_objext \
13769 conftest$ac_exeext conftest.$ac_ext
13770 LIBS=$ac_check_soname_save_LIBS
13772 if ${ac_cv_lib_soname_gssapi_krb5:+false} :; then :
13773 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13774 $as_echo "not found" >&6; }
13775 GSSAPI_CFLAGS=""
13776 else
13777 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_gssapi_krb5" >&5
13778 $as_echo "$ac_cv_lib_soname_gssapi_krb5" >&6; }
13780 cat >>confdefs.h <<_ACEOF
13781 #define SONAME_LIBGSSAPI_KRB5 "$ac_cv_lib_soname_gssapi_krb5"
13782 _ACEOF
13786 else
13787 GSSAPI_CFLAGS=""
13789 CPPFLAGS=$ac_save_CPPFLAGS
13790 test -z "$GSSAPI_CFLAGS" || GSSAPI_CFLAGS=`echo " $GSSAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13791 test -z "$GSSAPI_LIBS" || GSSAPI_LIBS=`echo " $GSSAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13794 if test "x$ac_cv_lib_soname_gssapi_krb5" = "x"; then :
13795 case "x$with_gssapi" in
13796 x) as_fn_append wine_notices "|libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support." ;;
13797 xno) ;;
13798 *) as_fn_error $? "libgssapi_krb5 ${notice_platform}development files not found (or too old), no Kerberos SSP support.
13799 This is an error since --with-gssapi was requested." "$LINENO" 5 ;;
13800 esac
13804 if test "x$with_jpeg" != "xno"
13805 then
13806 if ${JPEG_CFLAGS:+false} :; then :
13807 if ${PKG_CONFIG+:} false; then :
13808 JPEG_CFLAGS=`$PKG_CONFIG --cflags libjpeg 2>/dev/null`
13812 if ${JPEG_LIBS:+false} :; then :
13813 if ${PKG_CONFIG+:} false; then :
13814 JPEG_LIBS=`$PKG_CONFIG --libs libjpeg 2>/dev/null`
13819 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg cflags: $JPEG_CFLAGS" >&5
13820 $as_echo "$as_me:${as_lineno-$LINENO}: libjpeg libs: $JPEG_LIBS" >&5
13821 ac_save_CPPFLAGS=$CPPFLAGS
13822 CPPFLAGS="$CPPFLAGS $JPEG_CFLAGS"
13823 for ac_header in jpeglib.h
13824 do :
13825 ac_fn_c_check_header_mongrel "$LINENO" "jpeglib.h" "ac_cv_header_jpeglib_h" "$ac_includes_default"
13826 if test "x$ac_cv_header_jpeglib_h" = xyes; then :
13827 cat >>confdefs.h <<_ACEOF
13828 #define HAVE_JPEGLIB_H 1
13829 _ACEOF
13833 done
13835 if test "$ac_cv_header_jpeglib_h" = "yes"
13836 then
13837 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ljpeg" >&5
13838 $as_echo_n "checking for -ljpeg... " >&6; }
13839 if ${ac_cv_lib_soname_jpeg+:} false; then :
13840 $as_echo_n "(cached) " >&6
13841 else
13842 ac_check_soname_save_LIBS=$LIBS
13843 LIBS="-ljpeg $JPEG_LIBS $LIBS"
13844 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13845 /* end confdefs.h. */
13847 /* Override any GCC internal prototype to avoid an error.
13848 Use char because int might match the return type of a GCC
13849 builtin and then its argument prototype would still apply. */
13850 #ifdef __cplusplus
13851 extern "C"
13852 #endif
13853 char jpeg_start_decompress ();
13855 main ()
13857 return jpeg_start_decompress ();
13859 return 0;
13861 _ACEOF
13862 if ac_fn_c_try_link "$LINENO"; then :
13863 case "$LIBEXT" in
13864 dll) ac_cv_lib_soname_jpeg=`$ac_cv_path_LDD conftest.exe | grep "jpeg" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13865 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'` ;;
13866 *) ac_cv_lib_soname_jpeg=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libjpeg\\.$LIBEXT" | sed -e "s/^.*\\[\\(libjpeg\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
13867 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13868 ac_cv_lib_soname_jpeg=`$LDD conftest$ac_exeext | grep "libjpeg\\.$LIBEXT" | sed -e "s/^.*\(libjpeg\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13869 fi ;;
13870 esac
13872 rm -f core conftest.err conftest.$ac_objext \
13873 conftest$ac_exeext conftest.$ac_ext
13874 LIBS=$ac_check_soname_save_LIBS
13876 if ${ac_cv_lib_soname_jpeg:+false} :; then :
13877 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13878 $as_echo "not found" >&6; }
13879 JPEG_CFLAGS=""
13880 else
13881 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_jpeg" >&5
13882 $as_echo "$ac_cv_lib_soname_jpeg" >&6; }
13884 cat >>confdefs.h <<_ACEOF
13885 #define SONAME_LIBJPEG "$ac_cv_lib_soname_jpeg"
13886 _ACEOF
13890 else
13891 JPEG_CFLAGS=""
13893 CPPFLAGS=$ac_save_CPPFLAGS
13894 test -z "$JPEG_CFLAGS" || JPEG_CFLAGS=`echo " $JPEG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13895 test -z "$JPEG_LIBS" || JPEG_LIBS=`echo " $JPEG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
13898 if test "x$ac_cv_lib_soname_jpeg" = "x"; then :
13899 case "x$with_jpeg" in
13900 x) as_fn_append wine_warnings "|libjpeg ${notice_platform}development files not found, JPEG won't be supported." ;;
13901 xno) ;;
13902 *) as_fn_error $? "libjpeg ${notice_platform}development files not found, JPEG won't be supported.
13903 This is an error since --with-jpeg was requested." "$LINENO" 5 ;;
13904 esac
13908 if test "x$with_png" != "xno"
13909 then
13910 if ${PNG_CFLAGS:+false} :; then :
13911 if ${PKG_CONFIG+:} false; then :
13912 PNG_CFLAGS=`$PKG_CONFIG --cflags libpng 2>/dev/null`
13915 test "$cross_compiling" = yes || PNG_CFLAGS=${PNG_CFLAGS:-$X_CFLAGS}
13916 if ${PNG_LIBS:+false} :; then :
13917 if ${PKG_CONFIG+:} false; then :
13918 PNG_LIBS=`$PKG_CONFIG --libs libpng 2>/dev/null`
13921 test "$cross_compiling" = yes || PNG_LIBS=${PNG_LIBS:-$X_LIBS}
13923 $as_echo "$as_me:${as_lineno-$LINENO}: libpng cflags: $PNG_CFLAGS" >&5
13924 $as_echo "$as_me:${as_lineno-$LINENO}: libpng libs: $PNG_LIBS" >&5
13925 ac_save_CPPFLAGS=$CPPFLAGS
13926 CPPFLAGS="$CPPFLAGS $PNG_CFLAGS"
13927 for ac_header in png.h
13928 do :
13929 ac_fn_c_check_header_mongrel "$LINENO" "png.h" "ac_cv_header_png_h" "$ac_includes_default"
13930 if test "x$ac_cv_header_png_h" = xyes; then :
13931 cat >>confdefs.h <<_ACEOF
13932 #define HAVE_PNG_H 1
13933 _ACEOF
13937 done
13939 if test "$ac_cv_header_png_h" = "yes"
13940 then
13941 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lpng" >&5
13942 $as_echo_n "checking for -lpng... " >&6; }
13943 if ${ac_cv_lib_soname_png+:} false; then :
13944 $as_echo_n "(cached) " >&6
13945 else
13946 ac_check_soname_save_LIBS=$LIBS
13947 LIBS="-lpng $PNG_LIBS -lm -lz $LIBS"
13948 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
13949 /* end confdefs.h. */
13951 /* Override any GCC internal prototype to avoid an error.
13952 Use char because int might match the return type of a GCC
13953 builtin and then its argument prototype would still apply. */
13954 #ifdef __cplusplus
13955 extern "C"
13956 #endif
13957 char png_create_read_struct ();
13959 main ()
13961 return png_create_read_struct ();
13963 return 0;
13965 _ACEOF
13966 if ac_fn_c_try_link "$LINENO"; then :
13967 case "$LIBEXT" in
13968 dll) ac_cv_lib_soname_png=`$ac_cv_path_LDD conftest.exe | grep "png" | sed -e "s/dll.*/dll/"';2,$d'` ;;
13969 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'` ;;
13970 *) 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'`
13971 if ${ac_cv_lib_soname_png:+false} :; then :
13972 ac_cv_lib_soname_png=`$LDD conftest$ac_exeext | grep "libpng[0-9]*\\.$LIBEXT" | sed -e "s/^.*\(libpng[0-9]*\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
13973 fi ;;
13974 esac
13976 rm -f core conftest.err conftest.$ac_objext \
13977 conftest$ac_exeext conftest.$ac_ext
13978 LIBS=$ac_check_soname_save_LIBS
13980 if ${ac_cv_lib_soname_png:+false} :; then :
13981 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
13982 $as_echo "not found" >&6; }
13983 PNG_CFLAGS=""
13984 else
13985 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_png" >&5
13986 $as_echo "$ac_cv_lib_soname_png" >&6; }
13988 cat >>confdefs.h <<_ACEOF
13989 #define SONAME_LIBPNG "$ac_cv_lib_soname_png"
13990 _ACEOF
13994 else
13995 PNG_CFLAGS=""
13997 CPPFLAGS=$ac_save_CPPFLAGS
13998 test -z "$PNG_CFLAGS" || PNG_CFLAGS=`echo " $PNG_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
13999 test -z "$PNG_LIBS" || PNG_LIBS=`echo " $PNG_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14002 if test "x$ac_cv_lib_soname_png" = "x"; then :
14003 case "x$with_png" in
14004 x) as_fn_append wine_warnings "|libpng ${notice_platform}development files not found, PNG won't be supported." ;;
14005 xno) ;;
14006 *) as_fn_error $? "libpng ${notice_platform}development files not found, PNG won't be supported.
14007 This is an error since --with-png was requested." "$LINENO" 5 ;;
14008 esac
14012 if test "x$with_tiff" != "xno"
14013 then
14014 if ${TIFF_CFLAGS:+false} :; then :
14015 if ${PKG_CONFIG+:} false; then :
14016 TIFF_CFLAGS=`$PKG_CONFIG --cflags libtiff-4 2>/dev/null`
14020 if ${TIFF_LIBS:+false} :; then :
14021 if ${PKG_CONFIG+:} false; then :
14022 TIFF_LIBS=`$PKG_CONFIG --libs libtiff-4 2>/dev/null`
14027 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 cflags: $TIFF_CFLAGS" >&5
14028 $as_echo "$as_me:${as_lineno-$LINENO}: libtiff-4 libs: $TIFF_LIBS" >&5
14029 ac_save_CPPFLAGS=$CPPFLAGS
14030 CPPFLAGS="$CPPFLAGS $TIFF_CFLAGS"
14031 for ac_header in tiffio.h
14032 do :
14033 ac_fn_c_check_header_mongrel "$LINENO" "tiffio.h" "ac_cv_header_tiffio_h" "$ac_includes_default"
14034 if test "x$ac_cv_header_tiffio_h" = xyes; then :
14035 cat >>confdefs.h <<_ACEOF
14036 #define HAVE_TIFFIO_H 1
14037 _ACEOF
14041 done
14043 if test "$ac_cv_header_tiffio_h" = "yes"
14044 then
14045 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -ltiff" >&5
14046 $as_echo_n "checking for -ltiff... " >&6; }
14047 if ${ac_cv_lib_soname_tiff+:} false; then :
14048 $as_echo_n "(cached) " >&6
14049 else
14050 ac_check_soname_save_LIBS=$LIBS
14051 LIBS="-ltiff $TIFF_LIBS $LIBS"
14052 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14053 /* end confdefs.h. */
14055 /* Override any GCC internal prototype to avoid an error.
14056 Use char because int might match the return type of a GCC
14057 builtin and then its argument prototype would still apply. */
14058 #ifdef __cplusplus
14059 extern "C"
14060 #endif
14061 char TIFFClientOpen ();
14063 main ()
14065 return TIFFClientOpen ();
14067 return 0;
14069 _ACEOF
14070 if ac_fn_c_try_link "$LINENO"; then :
14071 case "$LIBEXT" in
14072 dll) ac_cv_lib_soname_tiff=`$ac_cv_path_LDD conftest.exe | grep "tiff" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14073 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'` ;;
14074 *) ac_cv_lib_soname_tiff=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libtiff\\.$LIBEXT" | sed -e "s/^.*\\[\\(libtiff\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14075 if ${ac_cv_lib_soname_tiff:+false} :; then :
14076 ac_cv_lib_soname_tiff=`$LDD conftest$ac_exeext | grep "libtiff\\.$LIBEXT" | sed -e "s/^.*\(libtiff\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14077 fi ;;
14078 esac
14080 rm -f core conftest.err conftest.$ac_objext \
14081 conftest$ac_exeext conftest.$ac_ext
14082 LIBS=$ac_check_soname_save_LIBS
14084 if ${ac_cv_lib_soname_tiff:+false} :; then :
14085 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14086 $as_echo "not found" >&6; }
14088 else
14089 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_tiff" >&5
14090 $as_echo "$ac_cv_lib_soname_tiff" >&6; }
14092 cat >>confdefs.h <<_ACEOF
14093 #define SONAME_LIBTIFF "$ac_cv_lib_soname_tiff"
14094 _ACEOF
14099 CPPFLAGS=$ac_save_CPPFLAGS
14100 test -z "$TIFF_CFLAGS" || TIFF_CFLAGS=`echo " $TIFF_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14101 test -z "$TIFF_LIBS" || TIFF_LIBS=`echo " $TIFF_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14104 if test "x$ac_cv_lib_soname_tiff" = "x"; then :
14105 case "x$with_tiff" in
14106 x) as_fn_append wine_notices "|libtiff ${notice_platform}development files not found, TIFF won't be supported." ;;
14107 xno) ;;
14108 *) as_fn_error $? "libtiff ${notice_platform}development files not found, TIFF won't be supported.
14109 This is an error since --with-tiff was requested." "$LINENO" 5 ;;
14110 esac
14114 if test "x$with_mpg123" != "xno"
14115 then
14116 if ${MPG123_CFLAGS:+false} :; then :
14117 if ${PKG_CONFIG+:} false; then :
14118 MPG123_CFLAGS=`$PKG_CONFIG --cflags libmpg123 2>/dev/null`
14122 if ${MPG123_LIBS:+false} :; then :
14123 if ${PKG_CONFIG+:} false; then :
14124 MPG123_LIBS=`$PKG_CONFIG --libs libmpg123 2>/dev/null`
14128 MPG123_LIBS=${MPG123_LIBS:-"-lmpg123"}
14129 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 cflags: $MPG123_CFLAGS" >&5
14130 $as_echo "$as_me:${as_lineno-$LINENO}: libmpg123 libs: $MPG123_LIBS" >&5
14131 ac_save_CPPFLAGS=$CPPFLAGS
14132 CPPFLAGS="$CPPFLAGS $MPG123_CFLAGS"
14133 for ac_header in mpg123.h
14134 do :
14135 ac_fn_c_check_header_mongrel "$LINENO" "mpg123.h" "ac_cv_header_mpg123_h" "$ac_includes_default"
14136 if test "x$ac_cv_header_mpg123_h" = xyes; then :
14137 cat >>confdefs.h <<_ACEOF
14138 #define HAVE_MPG123_H 1
14139 _ACEOF
14143 done
14145 if test "$ac_cv_header_mpg123_h" = "yes"
14146 then
14147 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for mpg123_feed in -lmpg123" >&5
14148 $as_echo_n "checking for mpg123_feed in -lmpg123... " >&6; }
14149 if ${ac_cv_lib_mpg123_mpg123_feed+:} false; then :
14150 $as_echo_n "(cached) " >&6
14151 else
14152 ac_check_lib_save_LIBS=$LIBS
14153 LIBS="-lmpg123 $MPG123_LIBS $LIBS"
14154 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14155 /* end confdefs.h. */
14157 /* Override any GCC internal prototype to avoid an error.
14158 Use char because int might match the return type of a GCC
14159 builtin and then its argument prototype would still apply. */
14160 #ifdef __cplusplus
14161 extern "C"
14162 #endif
14163 char mpg123_feed ();
14165 main ()
14167 return mpg123_feed ();
14169 return 0;
14171 _ACEOF
14172 if ac_fn_c_try_link "$LINENO"; then :
14173 ac_cv_lib_mpg123_mpg123_feed=yes
14174 else
14175 ac_cv_lib_mpg123_mpg123_feed=no
14177 rm -f core conftest.err conftest.$ac_objext \
14178 conftest$ac_exeext conftest.$ac_ext
14179 LIBS=$ac_check_lib_save_LIBS
14181 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_mpg123_mpg123_feed" >&5
14182 $as_echo "$ac_cv_lib_mpg123_mpg123_feed" >&6; }
14183 if test "x$ac_cv_lib_mpg123_mpg123_feed" = xyes; then :
14185 else
14186 MPG123_LIBS=""
14189 else
14190 MPG123_CFLAGS=""
14191 MPG123_LIBS=""
14193 CPPFLAGS=$ac_save_CPPFLAGS
14194 test -z "$MPG123_CFLAGS" || MPG123_CFLAGS=`echo " $MPG123_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14195 test -z "$MPG123_LIBS" || MPG123_LIBS=`echo " $MPG123_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14198 if test "x$ac_cv_lib_mpg123_mpg123_feed" != xyes -a x"$ac_cv_header_CoreAudio_CoreAudio_h" != xyes; then :
14199 case "x$with_mpg123" in
14200 x) as_fn_append wine_notices "|libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported." ;;
14201 xno) ;;
14202 *) as_fn_error $? "libmpg123 ${notice_platform}development files not found (or too old), mp3 codec won't be supported.
14203 This is an error since --with-mpg123 was requested." "$LINENO" 5 ;;
14204 esac
14205 enable_l3codeca_acm=${enable_l3codeca_acm:-no}
14208 if test "$ac_cv_header_AL_al_h" = "yes"
14209 then
14210 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lopenal" >&5
14211 $as_echo_n "checking for -lopenal... " >&6; }
14212 if ${ac_cv_lib_soname_openal+:} false; then :
14213 $as_echo_n "(cached) " >&6
14214 else
14215 ac_check_soname_save_LIBS=$LIBS
14216 LIBS="-lopenal $LIBS"
14217 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14218 /* end confdefs.h. */
14220 /* Override any GCC internal prototype to avoid an error.
14221 Use char because int might match the return type of a GCC
14222 builtin and then its argument prototype would still apply. */
14223 #ifdef __cplusplus
14224 extern "C"
14225 #endif
14226 char alGetSource3i ();
14228 main ()
14230 return alGetSource3i ();
14232 return 0;
14234 _ACEOF
14235 if ac_fn_c_try_link "$LINENO"; then :
14236 case "$LIBEXT" in
14237 dll) ac_cv_lib_soname_openal=`$ac_cv_path_LDD conftest.exe | grep "openal" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14238 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'` ;;
14239 *) ac_cv_lib_soname_openal=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libopenal\\.$LIBEXT" | sed -e "s/^.*\\[\\(libopenal\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14240 if ${ac_cv_lib_soname_openal:+false} :; then :
14241 ac_cv_lib_soname_openal=`$LDD conftest$ac_exeext | grep "libopenal\\.$LIBEXT" | sed -e "s/^.*\(libopenal\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14242 fi ;;
14243 esac
14245 rm -f core conftest.err conftest.$ac_objext \
14246 conftest$ac_exeext conftest.$ac_ext
14247 LIBS=$ac_check_soname_save_LIBS
14249 if ${ac_cv_lib_soname_openal:+false} :; then :
14250 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14251 $as_echo "not found" >&6; }
14253 else
14254 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_openal" >&5
14255 $as_echo "$ac_cv_lib_soname_openal" >&6; }
14257 cat >>confdefs.h <<_ACEOF
14258 #define SONAME_LIBOPENAL "$ac_cv_lib_soname_openal"
14259 _ACEOF
14261 OPENAL_LIBS="-lopenal"
14263 ac_cv_lib_openal=yes
14265 cat >>confdefs.h <<_ACEOF
14266 #define HAVE_OPENAL 1
14267 _ACEOF
14271 if test "x$ac_cv_lib_openal" != xyes; then :
14272 case "x$with_openal" in
14273 x) as_fn_append wine_notices "|libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported." ;;
14274 xno) ;;
14275 *) as_fn_error $? "libopenal ${notice_platform}development files not found (or too old), OpenAL won't be supported.
14276 This is an error since --with-openal was requested." "$LINENO" 5 ;;
14277 esac
14278 enable_openal32=${enable_openal32:-no}
14281 if test "x$ac_cv_lib_openal" = xyes
14282 then
14283 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for openal-soft" >&5
14284 $as_echo_n "checking for openal-soft... " >&6; }
14285 if ${ac_cv_have_openalsoft+:} false; then :
14286 $as_echo_n "(cached) " >&6
14287 else
14288 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14289 /* end confdefs.h. */
14290 #include <AL/al.h>
14291 #include <AL/alc.h>
14292 #include <AL/alext.h>
14293 LPALCRENDERSAMPLESSOFT x;
14295 main ()
14299 return 0;
14301 _ACEOF
14302 if ac_fn_c_try_compile "$LINENO"; then :
14303 ac_cv_have_openalsoft=yes
14304 else
14305 ac_cv_have_openalsoft=no
14307 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
14309 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_openalsoft" >&5
14310 $as_echo "$ac_cv_have_openalsoft" >&6; }
14312 if test "x$ac_cv_have_openalsoft" != xyes
14313 then
14314 as_fn_append wine_notices "|openal-soft ${notice_platform}development files not found (or too old), XAudio2 won't be supported."
14315 enable_x3daudio1_0=${enable_x3daudio1_0:-no}
14316 enable_x3daudio1_1=${enable_x3daudio1_1:-no}
14317 enable_x3daudio1_2=${enable_x3daudio1_2:-no}
14318 enable_x3daudio1_3=${enable_x3daudio1_3:-no}
14319 enable_x3daudio1_4=${enable_x3daudio1_4:-no}
14320 enable_x3daudio1_5=${enable_x3daudio1_5:-no}
14321 enable_x3daudio1_6=${enable_x3daudio1_6:-no}
14322 enable_x3daudio1_7=${enable_x3daudio1_7:-no}
14323 enable_xapofx1_1=${enable_xapofx1_1:-no}
14324 enable_xapofx1_2=${enable_xapofx1_2:-no}
14325 enable_xapofx1_3=${enable_xapofx1_3:-no}
14326 enable_xapofx1_4=${enable_xapofx1_4:-no}
14327 enable_xapofx1_5=${enable_xapofx1_5:-no}
14328 enable_xaudio2_0=${enable_xaudio2_0:-no}
14329 enable_xaudio2_1=${enable_xaudio2_1:-no}
14330 enable_xaudio2_2=${enable_xaudio2_2:-no}
14331 enable_xaudio2_3=${enable_xaudio2_3:-no}
14332 enable_xaudio2_4=${enable_xaudio2_4:-no}
14333 enable_xaudio2_5=${enable_xaudio2_5:-no}
14334 enable_xaudio2_6=${enable_xaudio2_6:-no}
14335 enable_xaudio2_7=${enable_xaudio2_7:-no}
14336 enable_xaudio2_8=${enable_xaudio2_8:-no}
14337 enable_xaudio2_9=${enable_xaudio2_9:-no}
14340 if test "$ac_cv_header_kstat_h" = "yes"
14341 then
14342 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for kstat_open in -lkstat" >&5
14343 $as_echo_n "checking for kstat_open in -lkstat... " >&6; }
14344 if ${ac_cv_lib_kstat_kstat_open+:} false; then :
14345 $as_echo_n "(cached) " >&6
14346 else
14347 ac_check_lib_save_LIBS=$LIBS
14348 LIBS="-lkstat $LIBS"
14349 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14350 /* end confdefs.h. */
14352 /* Override any GCC internal prototype to avoid an error.
14353 Use char because int might match the return type of a GCC
14354 builtin and then its argument prototype would still apply. */
14355 #ifdef __cplusplus
14356 extern "C"
14357 #endif
14358 char kstat_open ();
14360 main ()
14362 return kstat_open ();
14364 return 0;
14366 _ACEOF
14367 if ac_fn_c_try_link "$LINENO"; then :
14368 ac_cv_lib_kstat_kstat_open=yes
14369 else
14370 ac_cv_lib_kstat_kstat_open=no
14372 rm -f core conftest.err conftest.$ac_objext \
14373 conftest$ac_exeext conftest.$ac_ext
14374 LIBS=$ac_check_lib_save_LIBS
14376 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_kstat_kstat_open" >&5
14377 $as_echo "$ac_cv_lib_kstat_kstat_open" >&6; }
14378 if test "x$ac_cv_lib_kstat_kstat_open" = xyes; then :
14380 $as_echo "#define HAVE_LIBKSTAT 1" >>confdefs.h
14382 KSTAT_LIBS="-lkstat"
14388 if test "$ac_cv_header_libprocstat_h" = "yes"
14389 then
14390 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for procstat_open_sysctl in -lprocstat" >&5
14391 $as_echo_n "checking for procstat_open_sysctl in -lprocstat... " >&6; }
14392 if ${ac_cv_lib_procstat_procstat_open_sysctl+:} false; then :
14393 $as_echo_n "(cached) " >&6
14394 else
14395 ac_check_lib_save_LIBS=$LIBS
14396 LIBS="-lprocstat $LIBS"
14397 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14398 /* end confdefs.h. */
14400 /* Override any GCC internal prototype to avoid an error.
14401 Use char because int might match the return type of a GCC
14402 builtin and then its argument prototype would still apply. */
14403 #ifdef __cplusplus
14404 extern "C"
14405 #endif
14406 char procstat_open_sysctl ();
14408 main ()
14410 return procstat_open_sysctl ();
14412 return 0;
14414 _ACEOF
14415 if ac_fn_c_try_link "$LINENO"; then :
14416 ac_cv_lib_procstat_procstat_open_sysctl=yes
14417 else
14418 ac_cv_lib_procstat_procstat_open_sysctl=no
14420 rm -f core conftest.err conftest.$ac_objext \
14421 conftest$ac_exeext conftest.$ac_ext
14422 LIBS=$ac_check_lib_save_LIBS
14424 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_procstat_procstat_open_sysctl" >&5
14425 $as_echo "$ac_cv_lib_procstat_procstat_open_sysctl" >&6; }
14426 if test "x$ac_cv_lib_procstat_procstat_open_sysctl" = xyes; then :
14428 $as_echo "#define HAVE_LIBPROCSTAT 1" >>confdefs.h
14430 PROCSTAT_LIBS="-lprocstat"
14436 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lodbc" >&5
14437 $as_echo_n "checking for -lodbc... " >&6; }
14438 if ${ac_cv_lib_soname_odbc+:} false; then :
14439 $as_echo_n "(cached) " >&6
14440 else
14441 ac_check_soname_save_LIBS=$LIBS
14442 LIBS="-lodbc $LIBS"
14443 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14444 /* end confdefs.h. */
14446 /* Override any GCC internal prototype to avoid an error.
14447 Use char because int might match the return type of a GCC
14448 builtin and then its argument prototype would still apply. */
14449 #ifdef __cplusplus
14450 extern "C"
14451 #endif
14452 char SQLConnect ();
14454 main ()
14456 return SQLConnect ();
14458 return 0;
14460 _ACEOF
14461 if ac_fn_c_try_link "$LINENO"; then :
14462 case "$LIBEXT" in
14463 dll) ac_cv_lib_soname_odbc=`$ac_cv_path_LDD conftest.exe | grep "odbc" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14464 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'` ;;
14465 *) ac_cv_lib_soname_odbc=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libodbc\\.$LIBEXT" | sed -e "s/^.*\\[\\(libodbc\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14466 if ${ac_cv_lib_soname_odbc:+false} :; then :
14467 ac_cv_lib_soname_odbc=`$LDD conftest$ac_exeext | grep "libodbc\\.$LIBEXT" | sed -e "s/^.*\(libodbc\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14468 fi ;;
14469 esac
14471 rm -f core conftest.err conftest.$ac_objext \
14472 conftest$ac_exeext conftest.$ac_ext
14473 LIBS=$ac_check_soname_save_LIBS
14475 if ${ac_cv_lib_soname_odbc:+false} :; then :
14476 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14477 $as_echo "not found" >&6; }
14478 cat >>confdefs.h <<_ACEOF
14479 #define SONAME_LIBODBC "libodbc.$LIBEXT"
14480 _ACEOF
14482 else
14483 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_odbc" >&5
14484 $as_echo "$ac_cv_lib_soname_odbc" >&6; }
14486 cat >>confdefs.h <<_ACEOF
14487 #define SONAME_LIBODBC "$ac_cv_lib_soname_odbc"
14488 _ACEOF
14493 if test "x$with_netapi" != "xno"
14494 then
14495 if ${NETAPI_CFLAGS:+false} :; then :
14496 if ${PKG_CONFIG+:} false; then :
14497 NETAPI_CFLAGS=`$PKG_CONFIG --cflags netapi 2>/dev/null`
14501 if ${NETAPI_LIBS:+false} :; then :
14502 if ${PKG_CONFIG+:} false; then :
14503 NETAPI_LIBS=`$PKG_CONFIG --libs netapi 2>/dev/null`
14508 $as_echo "$as_me:${as_lineno-$LINENO}: netapi cflags: $NETAPI_CFLAGS" >&5
14509 $as_echo "$as_me:${as_lineno-$LINENO}: netapi libs: $NETAPI_LIBS" >&5
14510 ac_save_CPPFLAGS=$CPPFLAGS
14511 CPPFLAGS="$CPPFLAGS $NETAPI_CFLAGS"
14512 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lnetapi" >&5
14513 $as_echo_n "checking for -lnetapi... " >&6; }
14514 if ${ac_cv_lib_soname_netapi+:} false; then :
14515 $as_echo_n "(cached) " >&6
14516 else
14517 ac_check_soname_save_LIBS=$LIBS
14518 LIBS="-lnetapi $NETAPI_LIBS $LIBS"
14519 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14520 /* end confdefs.h. */
14522 /* Override any GCC internal prototype to avoid an error.
14523 Use char because int might match the return type of a GCC
14524 builtin and then its argument prototype would still apply. */
14525 #ifdef __cplusplus
14526 extern "C"
14527 #endif
14528 char libnetapi_init ();
14530 main ()
14532 return libnetapi_init ();
14534 return 0;
14536 _ACEOF
14537 if ac_fn_c_try_link "$LINENO"; then :
14538 case "$LIBEXT" in
14539 dll) ac_cv_lib_soname_netapi=`$ac_cv_path_LDD conftest.exe | grep "netapi" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14540 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'` ;;
14541 *) ac_cv_lib_soname_netapi=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libnetapi\\.$LIBEXT" | sed -e "s/^.*\\[\\(libnetapi\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14542 if ${ac_cv_lib_soname_netapi:+false} :; then :
14543 ac_cv_lib_soname_netapi=`$LDD conftest$ac_exeext | grep "libnetapi\\.$LIBEXT" | sed -e "s/^.*\(libnetapi\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14544 fi ;;
14545 esac
14547 rm -f core conftest.err conftest.$ac_objext \
14548 conftest$ac_exeext conftest.$ac_ext
14549 LIBS=$ac_check_soname_save_LIBS
14551 if ${ac_cv_lib_soname_netapi:+false} :; then :
14552 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14553 $as_echo "not found" >&6; }
14554 cat >>confdefs.h <<_ACEOF
14555 #define SONAME_LIBNETAPI "libnetapi.$LIBEXT"
14556 _ACEOF
14558 else
14559 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_netapi" >&5
14560 $as_echo "$ac_cv_lib_soname_netapi" >&6; }
14562 cat >>confdefs.h <<_ACEOF
14563 #define SONAME_LIBNETAPI "$ac_cv_lib_soname_netapi"
14564 _ACEOF
14568 CPPFLAGS=$ac_save_CPPFLAGS
14569 test -z "$NETAPI_CFLAGS" || NETAPI_CFLAGS=`echo " $NETAPI_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
14570 test -z "$NETAPI_LIBS" || NETAPI_LIBS=`echo " $NETAPI_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
14574 if test "x$enable_winealsa_drv$enable_winecoreaudio_drv$enable_winepulse_drv$enable_wineoss_drv$enable_wineandroid_drv" = xnonononono -a \
14575 "x$with_alsa$with_coreaudio$with_oss$with_pulse" != xnononono
14576 then
14577 as_fn_append wine_warnings "|No sound system was found. Windows applications will be silent."
14580 if test "x$with_vulkan" != "xno"
14581 then
14582 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for -lvulkan" >&5
14583 $as_echo_n "checking for -lvulkan... " >&6; }
14584 if ${ac_cv_lib_soname_vulkan+:} false; then :
14585 $as_echo_n "(cached) " >&6
14586 else
14587 ac_check_soname_save_LIBS=$LIBS
14588 LIBS="-lvulkan $LIBS"
14589 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14590 /* end confdefs.h. */
14592 /* Override any GCC internal prototype to avoid an error.
14593 Use char because int might match the return type of a GCC
14594 builtin and then its argument prototype would still apply. */
14595 #ifdef __cplusplus
14596 extern "C"
14597 #endif
14598 char vkGetInstanceProcAddr ();
14600 main ()
14602 return vkGetInstanceProcAddr ();
14604 return 0;
14606 _ACEOF
14607 if ac_fn_c_try_link "$LINENO"; then :
14608 case "$LIBEXT" in
14609 dll) ac_cv_lib_soname_vulkan=`$ac_cv_path_LDD conftest.exe | grep "vulkan" | sed -e "s/dll.*/dll/"';2,$d'` ;;
14610 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'` ;;
14611 *) ac_cv_lib_soname_vulkan=`$READELF -d conftest$ac_exeext | grep "NEEDED.*libvulkan\\.$LIBEXT" | sed -e "s/^.*\\[\\(libvulkan\\.$LIBEXT[^ ]*\\)\\].*$/\1/"';2,$d'`
14612 if ${ac_cv_lib_soname_vulkan:+false} :; then :
14613 ac_cv_lib_soname_vulkan=`$LDD conftest$ac_exeext | grep "libvulkan\\.$LIBEXT" | sed -e "s/^.*\(libvulkan\.$LIBEXT[^ ]*\).*$/\1/"';2,$d'`
14614 fi ;;
14615 esac
14617 rm -f core conftest.err conftest.$ac_objext \
14618 conftest$ac_exeext conftest.$ac_ext
14619 LIBS=$ac_check_soname_save_LIBS
14621 if ${ac_cv_lib_soname_vulkan:+false} :; then :
14622 { $as_echo "$as_me:${as_lineno-$LINENO}: result: not found" >&5
14623 $as_echo "not found" >&6; }
14625 else
14626 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_soname_vulkan" >&5
14627 $as_echo "$ac_cv_lib_soname_vulkan" >&6; }
14629 cat >>confdefs.h <<_ACEOF
14630 #define SONAME_LIBVULKAN "$ac_cv_lib_soname_vulkan"
14631 _ACEOF
14636 if test "x$ac_cv_lib_soname_vulkan" = "x"; then :
14637 case "x$with_vulkan" in
14638 x) as_fn_append wine_notices "|libvulkan ${notice_platform}development files not found, Vulkan won't be supported." ;;
14639 xno) ;;
14640 *) as_fn_error $? "libvulkan ${notice_platform}development files not found, Vulkan won't be supported.
14641 This is an error since --with-vulkan was requested." "$LINENO" 5 ;;
14642 esac
14647 EXTRACFLAGS=""
14649 if test "x${GCC}" = "xyes"
14650 then
14651 EXTRACFLAGS="-Wall -pipe"
14653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for gcc strength-reduce bug" >&5
14654 $as_echo_n "checking for gcc strength-reduce bug... " >&6; }
14655 if ${ac_cv_c_gcc_strength_bug+:} false; then :
14656 $as_echo_n "(cached) " >&6
14657 else
14658 if test "$cross_compiling" = yes; then :
14659 ac_cv_c_gcc_strength_bug="no"
14660 else
14661 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14662 /* end confdefs.h. */
14663 int L[4] = {0,1,2,3};
14665 main ()
14667 static int Array[3];
14668 unsigned int B = 3;
14669 int i;
14670 for(i=0; i<B; i++) Array[i] = i - 3;
14671 for(i=0; i<4 - 1; i++) L[i] = L[i + 1];
14672 L[i] = 4;
14673 return (Array[1] != -2 || L[2] != 3)
14675 return 0;
14677 _ACEOF
14678 if ac_fn_c_try_run "$LINENO"; then :
14679 ac_cv_c_gcc_strength_bug="no"
14680 else
14681 ac_cv_c_gcc_strength_bug="yes"
14683 rm -f core *.core core.conftest.* gmon.out bb.out conftest$ac_exeext \
14684 conftest.$ac_objext conftest.beam conftest.$ac_ext
14688 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_gcc_strength_bug" >&5
14689 $as_echo "$ac_cv_c_gcc_strength_bug" >&6; }
14690 if test "$ac_cv_c_gcc_strength_bug" = "yes"
14691 then
14692 EXTRACFLAGS="$EXTRACFLAGS -fno-strength-reduce"
14695 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-builtin" >&5
14696 $as_echo_n "checking whether the compiler supports -fno-builtin... " >&6; }
14697 if ${ac_cv_cflags__fno_builtin+:} false; then :
14698 $as_echo_n "(cached) " >&6
14699 else
14700 ac_wine_try_cflags_saved=$CFLAGS
14701 CFLAGS="$CFLAGS -fno-builtin"
14702 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14703 /* end confdefs.h. */
14704 int main(int argc, char **argv) { return 0; }
14705 _ACEOF
14706 if ac_fn_c_try_link "$LINENO"; then :
14707 ac_cv_cflags__fno_builtin=yes
14708 else
14709 ac_cv_cflags__fno_builtin=no
14711 rm -f core conftest.err conftest.$ac_objext \
14712 conftest$ac_exeext conftest.$ac_ext
14713 CFLAGS=$ac_wine_try_cflags_saved
14715 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_builtin" >&5
14716 $as_echo "$ac_cv_cflags__fno_builtin" >&6; }
14717 if test "x$ac_cv_cflags__fno_builtin" = xyes; then :
14718 BUILTINFLAG="-fno-builtin"
14721 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-strict-aliasing" >&5
14722 $as_echo_n "checking whether the compiler supports -fno-strict-aliasing... " >&6; }
14723 if ${ac_cv_cflags__fno_strict_aliasing+:} false; then :
14724 $as_echo_n "(cached) " >&6
14725 else
14726 ac_wine_try_cflags_saved=$CFLAGS
14727 CFLAGS="$CFLAGS -fno-strict-aliasing"
14728 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14729 /* end confdefs.h. */
14730 int main(int argc, char **argv) { return 0; }
14731 _ACEOF
14732 if ac_fn_c_try_link "$LINENO"; then :
14733 ac_cv_cflags__fno_strict_aliasing=yes
14734 else
14735 ac_cv_cflags__fno_strict_aliasing=no
14737 rm -f core conftest.err conftest.$ac_objext \
14738 conftest$ac_exeext conftest.$ac_ext
14739 CFLAGS=$ac_wine_try_cflags_saved
14741 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_strict_aliasing" >&5
14742 $as_echo "$ac_cv_cflags__fno_strict_aliasing" >&6; }
14743 if test "x$ac_cv_cflags__fno_strict_aliasing" = xyes; then :
14744 EXTRACFLAGS="$EXTRACFLAGS -fno-strict-aliasing"
14746 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fexcess-precision=standard" >&5
14747 $as_echo_n "checking whether the compiler supports -fexcess-precision=standard... " >&6; }
14748 if ${ac_cv_cflags__fexcess_precision_standard+:} false; then :
14749 $as_echo_n "(cached) " >&6
14750 else
14751 ac_wine_try_cflags_saved=$CFLAGS
14752 CFLAGS="$CFLAGS -fexcess-precision=standard"
14753 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14754 /* end confdefs.h. */
14755 int main(int argc, char **argv) { return 0; }
14756 _ACEOF
14757 if ac_fn_c_try_link "$LINENO"; then :
14758 ac_cv_cflags__fexcess_precision_standard=yes
14759 else
14760 ac_cv_cflags__fexcess_precision_standard=no
14762 rm -f core conftest.err conftest.$ac_objext \
14763 conftest$ac_exeext conftest.$ac_ext
14764 CFLAGS=$ac_wine_try_cflags_saved
14766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fexcess_precision_standard" >&5
14767 $as_echo "$ac_cv_cflags__fexcess_precision_standard" >&6; }
14768 if test "x$ac_cv_cflags__fexcess_precision_standard" = xyes; then :
14769 EXCESS_PRECISION_CFLAGS="-fexcess-precision=standard"
14772 saved_CFLAGS=$CFLAGS
14773 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror=unknown-warning-option" >&5
14774 $as_echo_n "checking whether the compiler supports -Werror=unknown-warning-option... " >&6; }
14775 if ${ac_cv_cflags__Werror_unknown_warning_option+:} false; then :
14776 $as_echo_n "(cached) " >&6
14777 else
14778 ac_wine_try_cflags_saved=$CFLAGS
14779 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14780 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14781 /* end confdefs.h. */
14782 int main(int argc, char **argv) { return 0; }
14783 _ACEOF
14784 if ac_fn_c_try_link "$LINENO"; then :
14785 ac_cv_cflags__Werror_unknown_warning_option=yes
14786 else
14787 ac_cv_cflags__Werror_unknown_warning_option=no
14789 rm -f core conftest.err conftest.$ac_objext \
14790 conftest$ac_exeext conftest.$ac_ext
14791 CFLAGS=$ac_wine_try_cflags_saved
14793 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror_unknown_warning_option" >&5
14794 $as_echo "$ac_cv_cflags__Werror_unknown_warning_option" >&6; }
14795 if test "x$ac_cv_cflags__Werror_unknown_warning_option" = xyes; then :
14796 CFLAGS="$CFLAGS -Werror=unknown-warning-option"
14798 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wdeclaration-after-statement" >&5
14799 $as_echo_n "checking whether the compiler supports -Wdeclaration-after-statement... " >&6; }
14800 if ${ac_cv_cflags__Wdeclaration_after_statement+:} false; then :
14801 $as_echo_n "(cached) " >&6
14802 else
14803 ac_wine_try_cflags_saved=$CFLAGS
14804 CFLAGS="$CFLAGS -Wdeclaration-after-statement"
14805 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14806 /* end confdefs.h. */
14807 int main(int argc, char **argv) { return 0; }
14808 _ACEOF
14809 if ac_fn_c_try_link "$LINENO"; then :
14810 ac_cv_cflags__Wdeclaration_after_statement=yes
14811 else
14812 ac_cv_cflags__Wdeclaration_after_statement=no
14814 rm -f core conftest.err conftest.$ac_objext \
14815 conftest$ac_exeext conftest.$ac_ext
14816 CFLAGS=$ac_wine_try_cflags_saved
14818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wdeclaration_after_statement" >&5
14819 $as_echo "$ac_cv_cflags__Wdeclaration_after_statement" >&6; }
14820 if test "x$ac_cv_cflags__Wdeclaration_after_statement" = xyes; then :
14821 EXTRACFLAGS="$EXTRACFLAGS -Wdeclaration-after-statement"
14823 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wempty-body" >&5
14824 $as_echo_n "checking whether the compiler supports -Wempty-body... " >&6; }
14825 if ${ac_cv_cflags__Wempty_body+:} false; then :
14826 $as_echo_n "(cached) " >&6
14827 else
14828 ac_wine_try_cflags_saved=$CFLAGS
14829 CFLAGS="$CFLAGS -Wempty-body"
14830 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14831 /* end confdefs.h. */
14832 int main(int argc, char **argv) { return 0; }
14833 _ACEOF
14834 if ac_fn_c_try_link "$LINENO"; then :
14835 ac_cv_cflags__Wempty_body=yes
14836 else
14837 ac_cv_cflags__Wempty_body=no
14839 rm -f core conftest.err conftest.$ac_objext \
14840 conftest$ac_exeext conftest.$ac_ext
14841 CFLAGS=$ac_wine_try_cflags_saved
14843 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wempty_body" >&5
14844 $as_echo "$ac_cv_cflags__Wempty_body" >&6; }
14845 if test "x$ac_cv_cflags__Wempty_body" = xyes; then :
14846 EXTRACFLAGS="$EXTRACFLAGS -Wempty-body"
14848 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wignored-qualifiers" >&5
14849 $as_echo_n "checking whether the compiler supports -Wignored-qualifiers... " >&6; }
14850 if ${ac_cv_cflags__Wignored_qualifiers+:} false; then :
14851 $as_echo_n "(cached) " >&6
14852 else
14853 ac_wine_try_cflags_saved=$CFLAGS
14854 CFLAGS="$CFLAGS -Wignored-qualifiers"
14855 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14856 /* end confdefs.h. */
14857 int main(int argc, char **argv) { return 0; }
14858 _ACEOF
14859 if ac_fn_c_try_link "$LINENO"; then :
14860 ac_cv_cflags__Wignored_qualifiers=yes
14861 else
14862 ac_cv_cflags__Wignored_qualifiers=no
14864 rm -f core conftest.err conftest.$ac_objext \
14865 conftest$ac_exeext conftest.$ac_ext
14866 CFLAGS=$ac_wine_try_cflags_saved
14868 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wignored_qualifiers" >&5
14869 $as_echo "$ac_cv_cflags__Wignored_qualifiers" >&6; }
14870 if test "x$ac_cv_cflags__Wignored_qualifiers" = xyes; then :
14871 EXTRACFLAGS="$EXTRACFLAGS -Wignored-qualifiers"
14873 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpacked-not-aligned" >&5
14874 $as_echo_n "checking whether the compiler supports -Wpacked-not-aligned... " >&6; }
14875 if ${ac_cv_cflags__Wpacked_not_aligned+:} false; then :
14876 $as_echo_n "(cached) " >&6
14877 else
14878 ac_wine_try_cflags_saved=$CFLAGS
14879 CFLAGS="$CFLAGS -Wpacked-not-aligned"
14880 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14881 /* end confdefs.h. */
14882 int main(int argc, char **argv) { return 0; }
14883 _ACEOF
14884 if ac_fn_c_try_link "$LINENO"; then :
14885 ac_cv_cflags__Wpacked_not_aligned=yes
14886 else
14887 ac_cv_cflags__Wpacked_not_aligned=no
14889 rm -f core conftest.err conftest.$ac_objext \
14890 conftest$ac_exeext conftest.$ac_ext
14891 CFLAGS=$ac_wine_try_cflags_saved
14893 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpacked_not_aligned" >&5
14894 $as_echo "$ac_cv_cflags__Wpacked_not_aligned" >&6; }
14895 if test "x$ac_cv_cflags__Wpacked_not_aligned" = xyes; then :
14896 EXTRACFLAGS="$EXTRACFLAGS -Wno-packed-not-aligned"
14898 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpragma-pack" >&5
14899 $as_echo_n "checking whether the compiler supports -Wpragma-pack... " >&6; }
14900 if ${ac_cv_cflags__Wpragma_pack+:} false; then :
14901 $as_echo_n "(cached) " >&6
14902 else
14903 ac_wine_try_cflags_saved=$CFLAGS
14904 CFLAGS="$CFLAGS -Wpragma-pack"
14905 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14906 /* end confdefs.h. */
14907 int main(int argc, char **argv) { return 0; }
14908 _ACEOF
14909 if ac_fn_c_try_link "$LINENO"; then :
14910 ac_cv_cflags__Wpragma_pack=yes
14911 else
14912 ac_cv_cflags__Wpragma_pack=no
14914 rm -f core conftest.err conftest.$ac_objext \
14915 conftest$ac_exeext conftest.$ac_ext
14916 CFLAGS=$ac_wine_try_cflags_saved
14918 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpragma_pack" >&5
14919 $as_echo "$ac_cv_cflags__Wpragma_pack" >&6; }
14920 if test "x$ac_cv_cflags__Wpragma_pack" = xyes; then :
14921 EXTRACFLAGS="$EXTRACFLAGS -Wno-pragma-pack"
14923 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wshift-overflow=2" >&5
14924 $as_echo_n "checking whether the compiler supports -Wshift-overflow=2... " >&6; }
14925 if ${ac_cv_cflags__Wshift_overflow_2+:} false; then :
14926 $as_echo_n "(cached) " >&6
14927 else
14928 ac_wine_try_cflags_saved=$CFLAGS
14929 CFLAGS="$CFLAGS -Wshift-overflow=2"
14930 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14931 /* end confdefs.h. */
14932 int main(int argc, char **argv) { return 0; }
14933 _ACEOF
14934 if ac_fn_c_try_link "$LINENO"; then :
14935 ac_cv_cflags__Wshift_overflow_2=yes
14936 else
14937 ac_cv_cflags__Wshift_overflow_2=no
14939 rm -f core conftest.err conftest.$ac_objext \
14940 conftest$ac_exeext conftest.$ac_ext
14941 CFLAGS=$ac_wine_try_cflags_saved
14943 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wshift_overflow_2" >&5
14944 $as_echo "$ac_cv_cflags__Wshift_overflow_2" >&6; }
14945 if test "x$ac_cv_cflags__Wshift_overflow_2" = xyes; then :
14946 EXTRACFLAGS="$EXTRACFLAGS -Wshift-overflow=2"
14948 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wstrict-prototypes" >&5
14949 $as_echo_n "checking whether the compiler supports -Wstrict-prototypes... " >&6; }
14950 if ${ac_cv_cflags__Wstrict_prototypes+:} false; then :
14951 $as_echo_n "(cached) " >&6
14952 else
14953 ac_wine_try_cflags_saved=$CFLAGS
14954 CFLAGS="$CFLAGS -Wstrict-prototypes"
14955 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14956 /* end confdefs.h. */
14957 int main(int argc, char **argv) { return 0; }
14958 _ACEOF
14959 if ac_fn_c_try_link "$LINENO"; then :
14960 ac_cv_cflags__Wstrict_prototypes=yes
14961 else
14962 ac_cv_cflags__Wstrict_prototypes=no
14964 rm -f core conftest.err conftest.$ac_objext \
14965 conftest$ac_exeext conftest.$ac_ext
14966 CFLAGS=$ac_wine_try_cflags_saved
14968 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wstrict_prototypes" >&5
14969 $as_echo "$ac_cv_cflags__Wstrict_prototypes" >&6; }
14970 if test "x$ac_cv_cflags__Wstrict_prototypes" = xyes; then :
14971 EXTRACFLAGS="$EXTRACFLAGS -Wstrict-prototypes"
14973 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wtype-limits" >&5
14974 $as_echo_n "checking whether the compiler supports -Wtype-limits... " >&6; }
14975 if ${ac_cv_cflags__Wtype_limits+:} false; then :
14976 $as_echo_n "(cached) " >&6
14977 else
14978 ac_wine_try_cflags_saved=$CFLAGS
14979 CFLAGS="$CFLAGS -Wtype-limits"
14980 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
14981 /* end confdefs.h. */
14982 int main(int argc, char **argv) { return 0; }
14983 _ACEOF
14984 if ac_fn_c_try_link "$LINENO"; then :
14985 ac_cv_cflags__Wtype_limits=yes
14986 else
14987 ac_cv_cflags__Wtype_limits=no
14989 rm -f core conftest.err conftest.$ac_objext \
14990 conftest$ac_exeext conftest.$ac_ext
14991 CFLAGS=$ac_wine_try_cflags_saved
14993 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wtype_limits" >&5
14994 $as_echo "$ac_cv_cflags__Wtype_limits" >&6; }
14995 if test "x$ac_cv_cflags__Wtype_limits" = xyes; then :
14996 EXTRACFLAGS="$EXTRACFLAGS -Wtype-limits"
14998 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wunused-but-set-parameter" >&5
14999 $as_echo_n "checking whether the compiler supports -Wunused-but-set-parameter... " >&6; }
15000 if ${ac_cv_cflags__Wunused_but_set_parameter+:} false; then :
15001 $as_echo_n "(cached) " >&6
15002 else
15003 ac_wine_try_cflags_saved=$CFLAGS
15004 CFLAGS="$CFLAGS -Wunused-but-set-parameter"
15005 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15006 /* end confdefs.h. */
15007 int main(int argc, char **argv) { return 0; }
15008 _ACEOF
15009 if ac_fn_c_try_link "$LINENO"; then :
15010 ac_cv_cflags__Wunused_but_set_parameter=yes
15011 else
15012 ac_cv_cflags__Wunused_but_set_parameter=no
15014 rm -f core conftest.err conftest.$ac_objext \
15015 conftest$ac_exeext conftest.$ac_ext
15016 CFLAGS=$ac_wine_try_cflags_saved
15018 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wunused_but_set_parameter" >&5
15019 $as_echo "$ac_cv_cflags__Wunused_but_set_parameter" >&6; }
15020 if test "x$ac_cv_cflags__Wunused_but_set_parameter" = xyes; then :
15021 EXTRACFLAGS="$EXTRACFLAGS -Wunused-but-set-parameter"
15023 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wvla" >&5
15024 $as_echo_n "checking whether the compiler supports -Wvla... " >&6; }
15025 if ${ac_cv_cflags__Wvla+:} false; then :
15026 $as_echo_n "(cached) " >&6
15027 else
15028 ac_wine_try_cflags_saved=$CFLAGS
15029 CFLAGS="$CFLAGS -Wvla"
15030 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15031 /* end confdefs.h. */
15032 int main(int argc, char **argv) { return 0; }
15033 _ACEOF
15034 if ac_fn_c_try_link "$LINENO"; then :
15035 ac_cv_cflags__Wvla=yes
15036 else
15037 ac_cv_cflags__Wvla=no
15039 rm -f core conftest.err conftest.$ac_objext \
15040 conftest$ac_exeext conftest.$ac_ext
15041 CFLAGS=$ac_wine_try_cflags_saved
15043 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wvla" >&5
15044 $as_echo "$ac_cv_cflags__Wvla" >&6; }
15045 if test "x$ac_cv_cflags__Wvla" = xyes; then :
15046 EXTRACFLAGS="$EXTRACFLAGS -Wvla"
15048 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wwrite-strings" >&5
15049 $as_echo_n "checking whether the compiler supports -Wwrite-strings... " >&6; }
15050 if ${ac_cv_cflags__Wwrite_strings+:} false; then :
15051 $as_echo_n "(cached) " >&6
15052 else
15053 ac_wine_try_cflags_saved=$CFLAGS
15054 CFLAGS="$CFLAGS -Wwrite-strings"
15055 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15056 /* end confdefs.h. */
15057 int main(int argc, char **argv) { return 0; }
15058 _ACEOF
15059 if ac_fn_c_try_link "$LINENO"; then :
15060 ac_cv_cflags__Wwrite_strings=yes
15061 else
15062 ac_cv_cflags__Wwrite_strings=no
15064 rm -f core conftest.err conftest.$ac_objext \
15065 conftest$ac_exeext conftest.$ac_ext
15066 CFLAGS=$ac_wine_try_cflags_saved
15068 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wwrite_strings" >&5
15069 $as_echo "$ac_cv_cflags__Wwrite_strings" >&6; }
15070 if test "x$ac_cv_cflags__Wwrite_strings" = xyes; then :
15071 EXTRACFLAGS="$EXTRACFLAGS -Wwrite-strings"
15074 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wpointer-arith" >&5
15075 $as_echo_n "checking whether the compiler supports -Wpointer-arith... " >&6; }
15076 if ${ac_cv_cflags__Wpointer_arith+:} false; then :
15077 $as_echo_n "(cached) " >&6
15078 else
15079 ac_wine_try_cflags_saved=$CFLAGS
15080 CFLAGS="$CFLAGS -Wpointer-arith"
15081 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15082 /* end confdefs.h. */
15083 int main(int argc, char **argv) { return 0; }
15084 _ACEOF
15085 if ac_fn_c_try_link "$LINENO"; then :
15086 ac_cv_cflags__Wpointer_arith=yes
15087 else
15088 ac_cv_cflags__Wpointer_arith=no
15090 rm -f core conftest.err conftest.$ac_objext \
15091 conftest$ac_exeext conftest.$ac_ext
15092 CFLAGS=$ac_wine_try_cflags_saved
15094 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wpointer_arith" >&5
15095 $as_echo "$ac_cv_cflags__Wpointer_arith" >&6; }
15096 if test "x$ac_cv_cflags__Wpointer_arith" = xyes; then :
15097 saved_string_h_CFLAGS=$CFLAGS
15098 CFLAGS="$CFLAGS -Wpointer-arith -Werror"
15099 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wpointer-arith" >&5
15100 $as_echo_n "checking for broken string.h that generates warnings with -Wpointer-arith... " >&6; }
15101 if ${ac_cv_c_string_h_warnings+:} false; then :
15102 $as_echo_n "(cached) " >&6
15103 else
15104 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15105 /* end confdefs.h. */
15106 #include <string.h>
15108 main ()
15112 return 0;
15114 _ACEOF
15115 if ac_fn_c_try_compile "$LINENO"; then :
15116 ac_cv_c_string_h_warnings=no
15117 else
15118 ac_cv_c_string_h_warnings=yes
15120 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15122 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_string_h_warnings" >&5
15123 $as_echo "$ac_cv_c_string_h_warnings" >&6; }
15124 test "$ac_cv_c_string_h_warnings" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wpointer-arith"
15125 CFLAGS=$saved_string_h_CFLAGS
15128 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wlogical-op" >&5
15129 $as_echo_n "checking whether the compiler supports -Wlogical-op... " >&6; }
15130 if ${ac_cv_cflags__Wlogical_op+:} false; then :
15131 $as_echo_n "(cached) " >&6
15132 else
15133 ac_wine_try_cflags_saved=$CFLAGS
15134 CFLAGS="$CFLAGS -Wlogical-op"
15135 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15136 /* end confdefs.h. */
15137 int main(int argc, char **argv) { return 0; }
15138 _ACEOF
15139 if ac_fn_c_try_link "$LINENO"; then :
15140 ac_cv_cflags__Wlogical_op=yes
15141 else
15142 ac_cv_cflags__Wlogical_op=no
15144 rm -f core conftest.err conftest.$ac_objext \
15145 conftest$ac_exeext conftest.$ac_ext
15146 CFLAGS=$ac_wine_try_cflags_saved
15148 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wlogical_op" >&5
15149 $as_echo "$ac_cv_cflags__Wlogical_op" >&6; }
15150 if test "x$ac_cv_cflags__Wlogical_op" = xyes; then :
15151 saved_string_h_CFLAGS=$CFLAGS
15152 CFLAGS="$CFLAGS -Wlogical-op -Werror"
15153 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for broken string.h that generates warnings with -Wlogical-op" >&5
15154 $as_echo_n "checking for broken string.h that generates warnings with -Wlogical-op... " >&6; }
15155 if ${ac_cv_c_logicalop_noisy+:} false; then :
15156 $as_echo_n "(cached) " >&6
15157 else
15158 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15159 /* end confdefs.h. */
15160 #include <string.h>
15161 char*f(const char *h,char n) {return strchr(h,n);}
15163 main ()
15167 return 0;
15169 _ACEOF
15170 if ac_fn_c_try_compile "$LINENO"; then :
15171 ac_cv_c_logicalop_noisy=no
15172 else
15173 ac_cv_c_logicalop_noisy=yes
15175 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15177 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_logicalop_noisy" >&5
15178 $as_echo "$ac_cv_c_logicalop_noisy" >&6; }
15179 CFLAGS=$saved_string_h_CFLAGS
15180 test "$ac_cv_c_logicalop_noisy" = yes || EXTRACFLAGS="$EXTRACFLAGS -Wlogical-op"
15183 CFLAGS=$saved_CFLAGS
15185 for ac_flag in $CFLAGS; do
15186 case $ac_flag in
15187 -g) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gdwarf-2" >&5
15188 $as_echo_n "checking whether the compiler supports -gdwarf-2... " >&6; }
15189 if ${ac_cv_cflags__gdwarf_2+:} false; then :
15190 $as_echo_n "(cached) " >&6
15191 else
15192 ac_wine_try_cflags_saved=$CFLAGS
15193 CFLAGS="$CFLAGS -gdwarf-2"
15194 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15195 /* end confdefs.h. */
15196 int main(int argc, char **argv) { return 0; }
15197 _ACEOF
15198 if ac_fn_c_try_link "$LINENO"; then :
15199 ac_cv_cflags__gdwarf_2=yes
15200 else
15201 ac_cv_cflags__gdwarf_2=no
15203 rm -f core conftest.err conftest.$ac_objext \
15204 conftest$ac_exeext conftest.$ac_ext
15205 CFLAGS=$ac_wine_try_cflags_saved
15207 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gdwarf_2" >&5
15208 $as_echo "$ac_cv_cflags__gdwarf_2" >&6; }
15209 if test "x$ac_cv_cflags__gdwarf_2" = xyes; then :
15210 EXTRACFLAGS="$EXTRACFLAGS -gdwarf-2"
15212 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -gstrict-dwarf" >&5
15213 $as_echo_n "checking whether the compiler supports -gstrict-dwarf... " >&6; }
15214 if ${ac_cv_cflags__gstrict_dwarf+:} false; then :
15215 $as_echo_n "(cached) " >&6
15216 else
15217 ac_wine_try_cflags_saved=$CFLAGS
15218 CFLAGS="$CFLAGS -gstrict-dwarf"
15219 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15220 /* end confdefs.h. */
15221 int main(int argc, char **argv) { return 0; }
15222 _ACEOF
15223 if ac_fn_c_try_link "$LINENO"; then :
15224 ac_cv_cflags__gstrict_dwarf=yes
15225 else
15226 ac_cv_cflags__gstrict_dwarf=no
15228 rm -f core conftest.err conftest.$ac_objext \
15229 conftest$ac_exeext conftest.$ac_ext
15230 CFLAGS=$ac_wine_try_cflags_saved
15232 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__gstrict_dwarf" >&5
15233 $as_echo "$ac_cv_cflags__gstrict_dwarf" >&6; }
15234 if test "x$ac_cv_cflags__gstrict_dwarf" = xyes; then :
15235 EXTRACFLAGS="$EXTRACFLAGS -gstrict-dwarf"
15236 fi ;;
15237 esac
15238 done
15240 case $host_cpu in
15241 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -fno-omit-frame-pointer" >&5
15242 $as_echo_n "checking whether the compiler supports -fno-omit-frame-pointer... " >&6; }
15243 if ${ac_cv_cflags__fno_omit_frame_pointer+:} false; then :
15244 $as_echo_n "(cached) " >&6
15245 else
15246 ac_wine_try_cflags_saved=$CFLAGS
15247 CFLAGS="$CFLAGS -fno-omit-frame-pointer"
15248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15249 /* end confdefs.h. */
15250 int main(int argc, char **argv) { return 0; }
15251 _ACEOF
15252 if ac_fn_c_try_link "$LINENO"; then :
15253 ac_cv_cflags__fno_omit_frame_pointer=yes
15254 else
15255 ac_cv_cflags__fno_omit_frame_pointer=no
15257 rm -f core conftest.err conftest.$ac_objext \
15258 conftest$ac_exeext conftest.$ac_ext
15259 CFLAGS=$ac_wine_try_cflags_saved
15261 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__fno_omit_frame_pointer" >&5
15262 $as_echo "$ac_cv_cflags__fno_omit_frame_pointer" >&6; }
15263 if test "x$ac_cv_cflags__fno_omit_frame_pointer" = xyes; then :
15264 EXTRACFLAGS="$EXTRACFLAGS -fno-omit-frame-pointer"
15265 fi ;;
15266 esac
15268 case $host in
15269 x86_64-*mingw32*|x86_64-*cygwin*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Wno-format" >&5
15270 $as_echo_n "checking whether the compiler supports -Wno-format... " >&6; }
15271 if ${ac_cv_cflags__Wno_format+:} false; then :
15272 $as_echo_n "(cached) " >&6
15273 else
15274 ac_wine_try_cflags_saved=$CFLAGS
15275 CFLAGS="$CFLAGS -Wno-format"
15276 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15277 /* end confdefs.h. */
15278 int main(int argc, char **argv) { return 0; }
15279 _ACEOF
15280 if ac_fn_c_try_link "$LINENO"; then :
15281 ac_cv_cflags__Wno_format=yes
15282 else
15283 ac_cv_cflags__Wno_format=no
15285 rm -f core conftest.err conftest.$ac_objext \
15286 conftest$ac_exeext conftest.$ac_ext
15287 CFLAGS=$ac_wine_try_cflags_saved
15289 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Wno_format" >&5
15290 $as_echo "$ac_cv_cflags__Wno_format" >&6; }
15291 if test "x$ac_cv_cflags__Wno_format" = xyes; then :
15292 EXTRACFLAGS="$EXTRACFLAGS -Wno-format"
15293 fi ;;
15294 esac
15296 if test "x$enable_maintainer_mode" = "xyes"
15297 then
15298 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether the compiler supports -Werror" >&5
15299 $as_echo_n "checking whether the compiler supports -Werror... " >&6; }
15300 if ${ac_cv_cflags__Werror+:} false; then :
15301 $as_echo_n "(cached) " >&6
15302 else
15303 ac_wine_try_cflags_saved=$CFLAGS
15304 CFLAGS="$CFLAGS -Werror"
15305 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15306 /* end confdefs.h. */
15307 int main(int argc, char **argv) { return 0; }
15308 _ACEOF
15309 if ac_fn_c_try_link "$LINENO"; then :
15310 ac_cv_cflags__Werror=yes
15311 else
15312 ac_cv_cflags__Werror=no
15314 rm -f core conftest.err conftest.$ac_objext \
15315 conftest$ac_exeext conftest.$ac_ext
15316 CFLAGS=$ac_wine_try_cflags_saved
15318 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cflags__Werror" >&5
15319 $as_echo "$ac_cv_cflags__Werror" >&6; }
15320 if test "x$ac_cv_cflags__Werror" = xyes; then :
15321 EXTRACFLAGS="$EXTRACFLAGS -Werror"
15325 saved_CFLAGS="$CFLAGS"
15326 CFLAGS="$CFLAGS -Werror"
15327 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ms_hook_prologue attribute" >&5
15328 $as_echo_n "checking for ms_hook_prologue attribute... " >&6; }
15329 if ${ac_cv_have_ms_hook_prologue+:} false; then :
15330 $as_echo_n "(cached) " >&6
15331 else
15332 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15333 /* end confdefs.h. */
15334 int __attribute__((__ms_hook_prologue__)) test(void) { return 0; }
15336 main ()
15340 return 0;
15342 _ACEOF
15343 if ac_fn_c_try_compile "$LINENO"; then :
15344 ac_cv_have_ms_hook_prologue="yes"
15345 else
15346 ac_cv_have_ms_hook_prologue="no"
15348 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15350 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_ms_hook_prologue" >&5
15351 $as_echo "$ac_cv_have_ms_hook_prologue" >&6; }
15352 CFLAGS="$saved_CFLAGS"
15353 if test "$ac_cv_have_ms_hook_prologue" = "yes"
15354 then
15356 $as_echo "#define DECLSPEC_HOTPATCH __attribute__((__ms_hook_prologue__))" >>confdefs.h
15358 else
15359 $as_echo "#define DECLSPEC_HOTPATCH /* */" >>confdefs.h
15365 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for the need to disable Fortify" >&5
15366 $as_echo_n "checking for the need to disable Fortify... " >&6; }
15367 if ${ac_cv_c_fortify_enabled+:} false; then :
15368 $as_echo_n "(cached) " >&6
15369 else
15370 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15371 /* end confdefs.h. */
15372 #include <string.h>
15374 main ()
15376 #if (defined(__USE_FORTIFY_LEVEL) && __USE_FORTIFY_LEVEL > 0) || (defined(_FORTIFY_SOURCE) && _FORTIFY_SOURCE > 0)
15377 #error Fortify enabled
15378 #endif
15380 return 0;
15382 _ACEOF
15383 if ac_fn_c_try_compile "$LINENO"; then :
15384 ac_cv_c_fortify_enabled=no
15385 else
15386 ac_cv_c_fortify_enabled=yes
15388 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15390 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_fortify_enabled" >&5
15391 $as_echo "$ac_cv_c_fortify_enabled" >&6; }
15392 if test "$ac_cv_c_fortify_enabled" = yes
15393 then
15394 CFLAGS="$CFLAGS -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=0"
15398 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need an underscore prefix" >&5
15399 $as_echo_n "checking whether external symbols need an underscore prefix... " >&6; }
15400 if ${ac_cv_c_extern_prefix+:} false; then :
15401 $as_echo_n "(cached) " >&6
15402 else
15403 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15404 /* end confdefs.h. */
15405 extern int ac_test;
15407 main ()
15409 asm(".globl _ac_test\n_ac_test:\t.long 0"); if (ac_test) return 1
15411 return 0;
15413 _ACEOF
15414 if ac_fn_c_try_link "$LINENO"; then :
15415 ac_cv_c_extern_prefix="yes"
15416 else
15417 ac_cv_c_extern_prefix="no"
15419 rm -f core conftest.err conftest.$ac_objext \
15420 conftest$ac_exeext conftest.$ac_ext
15422 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_extern_prefix" >&5
15423 $as_echo "$ac_cv_c_extern_prefix" >&6; }
15425 case $host_cpu in
15426 *i[3456789]86*)
15427 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether external symbols need stdcall decoration" >&5
15428 $as_echo_n "checking whether external symbols need stdcall decoration... " >&6; }
15429 if ${ac_cv_c_stdcall_suffix+:} false; then :
15430 $as_echo_n "(cached) " >&6
15431 else
15432 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15433 /* end confdefs.h. */
15434 #ifndef _MSC_VER
15435 #define __stdcall __attribute__((__stdcall__))
15436 #endif
15437 int __stdcall ac_test(int i) { return i; }
15439 main ()
15441 asm("jmp _ac_test@4"); if (ac_test(1)) return 1
15443 return 0;
15445 _ACEOF
15446 if ac_fn_c_try_link "$LINENO"; then :
15447 ac_cv_c_stdcall_suffix="yes"
15448 else
15449 ac_cv_c_stdcall_suffix="no"
15451 rm -f core conftest.err conftest.$ac_objext \
15452 conftest$ac_exeext conftest.$ac_ext
15454 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_stdcall_suffix" >&5
15455 $as_echo "$ac_cv_c_stdcall_suffix" >&6; } ;;
15456 *) ac_cv_c_stdcall_suffix="no" ;;
15457 esac
15460 if test "$ac_cv_c_extern_prefix" = "yes"
15461 then
15462 $as_echo "#define __ASM_NAME(name) \"_\" name" >>confdefs.h
15464 asm_name_prefix="_"
15465 else
15466 $as_echo "#define __ASM_NAME(name) name" >>confdefs.h
15468 asm_name_prefix=""
15472 if test "$ac_cv_c_stdcall_suffix" = "yes"
15473 then
15474 $as_echo "#define __ASM_STDCALL(args) \"@\" #args" >>confdefs.h
15476 else
15477 $as_echo "#define __ASM_STDCALL(args) \"\"" >>confdefs.h
15482 { $as_echo "$as_me:${as_lineno-$LINENO}: checking how to define a function in assembly code" >&5
15483 $as_echo_n "checking how to define a function in assembly code... " >&6; }
15484 if ${ac_cv_asm_func_def+:} false; then :
15485 $as_echo_n "(cached) " >&6
15486 else
15487 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15488 /* end confdefs.h. */
15491 main ()
15493 asm("\t.globl _ac_test\n\t.def _ac_test; .scl 2; .type 32; .endef\n_ac_test:\t.long 0");
15495 return 0;
15497 _ACEOF
15498 if ac_fn_c_try_link "$LINENO"; then :
15499 ac_cv_asm_func_def=".def"
15500 else
15501 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15502 /* end confdefs.h. */
15505 main ()
15507 asm("\t.globl _ac_test\n\t.type _ac_test,@function\n_ac_test:\t.long 0");
15509 return 0;
15511 _ACEOF
15512 if ac_fn_c_try_link "$LINENO"; then :
15513 ac_cv_asm_func_def=".type @function"
15514 else
15515 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15516 /* end confdefs.h. */
15519 main ()
15521 asm("\t.globl _ac_test\n\t.type _ac_test,2\n_ac_test:\t.long 0");
15523 return 0;
15525 _ACEOF
15526 if ac_fn_c_try_link "$LINENO"; then :
15527 ac_cv_asm_func_def=".type 2"
15528 else
15529 ac_cv_asm_func_def="unknown"
15531 rm -f core conftest.err conftest.$ac_objext \
15532 conftest$ac_exeext conftest.$ac_ext
15534 rm -f core conftest.err conftest.$ac_objext \
15535 conftest$ac_exeext conftest.$ac_ext
15537 rm -f core conftest.err conftest.$ac_objext \
15538 conftest$ac_exeext conftest.$ac_ext
15540 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_asm_func_def" >&5
15541 $as_echo "$ac_cv_asm_func_def" >&6; }
15544 case "$ac_cv_asm_func_def" in
15545 ".def")
15546 $as_echo "#define __ASM_FUNC(name) \".def \" __ASM_NAME(name) \"; .scl 2; .type 32; .endef\"" >>confdefs.h
15548 asm_func_header=".def $asm_name_prefix\" #name suffix \"; .scl 2; .type 32; .endef" ;;
15549 ".type @function")
15550 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",@function\"" >>confdefs.h
15552 asm_func_header=".type $asm_name_prefix\" #name suffix \",@function" ;;
15553 ".type 2")
15554 $as_echo "#define __ASM_FUNC(name) \".type \" __ASM_NAME(name) \",2\"" >>confdefs.h
15556 asm_func_header=".type $asm_name_prefix\" #name suffix \",2" ;;
15558 $as_echo "#define __ASM_FUNC(name) \"\"" >>confdefs.h
15560 asm_func_header="" ;;
15561 esac
15563 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether asm() works outside of functions" >&5
15564 $as_echo_n "checking whether asm() works outside of functions... " >&6; }
15565 if ${ac_cv_c_asm_outside_funcs+:} false; then :
15566 $as_echo_n "(cached) " >&6
15567 else
15568 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15569 /* end confdefs.h. */
15570 asm(".text\n\t.long 0");
15572 main ()
15576 return 0;
15578 _ACEOF
15579 if ac_fn_c_try_compile "$LINENO"; then :
15580 ac_cv_c_asm_outside_funcs="yes"
15581 else
15582 ac_cv_c_asm_outside_funcs="no"
15584 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15586 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_asm_outside_funcs" >&5
15587 $as_echo "$ac_cv_c_asm_outside_funcs" >&6; }
15589 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether .previous is supported in assembly code" >&5
15590 $as_echo_n "checking whether .previous is supported in assembly code... " >&6; }
15591 if ${ac_cv_c_dot_previous+:} false; then :
15592 $as_echo_n "(cached) " >&6
15593 else
15594 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15595 /* end confdefs.h. */
15598 main ()
15600 asm(".text\nac_test:\t.long 0\n\t.previous");
15602 return 0;
15604 _ACEOF
15605 if ac_fn_c_try_link "$LINENO"; then :
15606 ac_cv_c_dot_previous="yes"
15607 else
15608 ac_cv_c_dot_previous="no"
15610 rm -f core conftest.err conftest.$ac_objext \
15611 conftest$ac_exeext conftest.$ac_ext
15613 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_dot_previous" >&5
15614 $as_echo "$ac_cv_c_dot_previous" >&6; }
15616 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether CFI directives are supported in assembly code" >&5
15617 $as_echo_n "checking whether CFI directives are supported in assembly code... " >&6; }
15618 if ${ac_cv_c_cfi_support+:} false; then :
15619 $as_echo_n "(cached) " >&6
15620 else
15621 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15622 /* end confdefs.h. */
15623 asm(".text\nac_test:\t.cfi_startproc\n\t.long 0\n\t.cfi_endproc");
15625 main ()
15629 return 0;
15631 _ACEOF
15632 if ac_fn_c_try_compile "$LINENO"; then :
15633 ac_cv_c_cfi_support="yes"
15634 else
15635 ac_cv_c_cfi_support="no"
15637 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
15639 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_cfi_support" >&5
15640 $as_echo "$ac_cv_c_cfi_support" >&6; }
15642 asm_func_header=".globl $asm_name_prefix\" #name suffix \"\\n\\t$asm_func_header\\n$asm_name_prefix\" #name suffix \":\\n\\t"
15643 asm_func_trailer=""
15644 if test "$ac_cv_c_dot_previous" = "yes"
15645 then
15646 asm_func_trailer="\\n\\t.previous"
15648 if test "$ac_cv_c_cfi_support" = "yes"
15649 then
15650 asm_func_header="$asm_func_header.cfi_startproc\\n\\t"
15651 asm_func_trailer="\\n\\t.cfi_endproc$asm_func_trailer"
15653 $as_echo "#define __ASM_CFI(str) str" >>confdefs.h
15655 UNWINDFLAGS=-fasynchronous-unwind-tables
15657 else
15658 $as_echo "#define __ASM_CFI(str) \"\"" >>confdefs.h
15660 if test "x$enable_win64" = "xyes"
15661 then
15662 as_fn_append wine_warnings "|building 64-bit Wine without support for CFI directives; exception handling will not work properly."
15666 asm_func_code="$asm_func_header\" code \"$asm_func_trailer"
15669 if test "$ac_cv_c_asm_outside_funcs" = "yes"
15670 then
15671 cat >>confdefs.h <<_ACEOF
15672 #define __ASM_DEFINE_FUNC(name,suffix,code) asm(".text\n\t.align 4\n\t$asm_func_code");
15673 _ACEOF
15675 else
15676 cat >>confdefs.h <<_ACEOF
15677 #define __ASM_DEFINE_FUNC(name,suffix,code) void __asm_dummy_##name(void) { asm(".text\n\t.align 4\n\t$asm_func_code"); }
15678 _ACEOF
15682 $as_echo "#define __ASM_GLOBAL_FUNC(name,code) __ASM_DEFINE_FUNC(name,\"\",code)" >>confdefs.h
15685 $as_echo "#define __ASM_STDCALL_FUNC(name,args,code) __ASM_DEFINE_FUNC(name,__ASM_STDCALL(args),code)" >>confdefs.h
15689 case $build_os in
15690 cygwin*|mingw32*) TOOLSEXT=".exe"
15692 esac
15694 case $host_os in
15695 linux*)
15696 case $host_cpu in
15697 *i[3456789]86*|x86_64*|*aarch64*)
15698 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine-preloader"
15699 WINELOADER_PROGRAMS="$WINELOADER_PROGRAMS $wine_binary-preloader"
15701 esac
15703 esac
15706 ac_save_CFLAGS="$CFLAGS"
15707 CFLAGS="$CFLAGS $BUILTINFLAG"
15708 for ac_func in \
15709 __res_get_state \
15710 __res_getservers \
15711 _finite \
15712 _isnan \
15713 _pclose \
15714 _popen \
15715 _snprintf \
15716 _spawnvp \
15717 _strdup \
15718 _stricmp \
15719 _strnicmp \
15720 _strtoi64 \
15721 _strtoui64 \
15722 _vsnprintf \
15723 asctime_r \
15724 chsize \
15725 dlopen \
15726 epoll_create \
15727 ffs \
15728 finitef \
15729 fnmatch \
15730 fork \
15731 fpclass \
15732 fstatfs \
15733 fstatvfs \
15734 ftruncate \
15735 futimens \
15736 futimes \
15737 futimesat \
15738 getattrlist \
15739 getauxval \
15740 getifaddrs \
15741 getopt_long_only \
15742 getpwuid \
15743 gettimeofday \
15744 getuid \
15745 isnanf \
15746 kqueue \
15747 lstat \
15748 memmove \
15749 mmap \
15750 pclose \
15751 pipe2 \
15752 poll \
15753 popen \
15754 port_create \
15755 prctl \
15756 pread \
15757 proc_pidinfo \
15758 pwrite \
15759 readdir \
15760 readlink \
15761 sched_yield \
15762 select \
15763 setproctitle \
15764 setprogname \
15765 setrlimit \
15766 settimeofday \
15767 sigaltstack \
15768 sigprocmask \
15769 snprintf \
15770 statfs \
15771 statvfs \
15772 strcasecmp \
15773 strdup \
15774 strerror \
15775 strncasecmp \
15776 strnlen \
15777 strtold \
15778 strtoll \
15779 strtoull \
15780 symlink \
15781 sysinfo \
15782 tcdrain \
15783 thr_kill2 \
15784 timegm \
15785 usleep \
15786 vsnprintf
15788 do :
15789 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
15790 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
15791 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
15792 cat >>confdefs.h <<_ACEOF
15793 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
15794 _ACEOF
15797 done
15799 CFLAGS="$ac_save_CFLAGS"
15801 if test "$ac_cv_func_dlopen" = no
15802 then
15803 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for dlopen in -ldl" >&5
15804 $as_echo_n "checking for dlopen in -ldl... " >&6; }
15805 if ${ac_cv_lib_dl_dlopen+:} false; then :
15806 $as_echo_n "(cached) " >&6
15807 else
15808 ac_check_lib_save_LIBS=$LIBS
15809 LIBS="-ldl $LIBS"
15810 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15811 /* end confdefs.h. */
15813 /* Override any GCC internal prototype to avoid an error.
15814 Use char because int might match the return type of a GCC
15815 builtin and then its argument prototype would still apply. */
15816 #ifdef __cplusplus
15817 extern "C"
15818 #endif
15819 char dlopen ();
15821 main ()
15823 return dlopen ();
15825 return 0;
15827 _ACEOF
15828 if ac_fn_c_try_link "$LINENO"; then :
15829 ac_cv_lib_dl_dlopen=yes
15830 else
15831 ac_cv_lib_dl_dlopen=no
15833 rm -f core conftest.err conftest.$ac_objext \
15834 conftest$ac_exeext conftest.$ac_ext
15835 LIBS=$ac_check_lib_save_LIBS
15837 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_dl_dlopen" >&5
15838 $as_echo "$ac_cv_lib_dl_dlopen" >&6; }
15839 if test "x$ac_cv_lib_dl_dlopen" = xyes; then :
15840 $as_echo "#define HAVE_DLOPEN 1" >>confdefs.h
15841 DL_LIBS="-ldl"
15846 ac_wine_check_funcs_save_LIBS="$LIBS"
15847 LIBS="$LIBS $DL_LIBS"
15848 for ac_func in dladdr
15849 do :
15850 ac_fn_c_check_func "$LINENO" "dladdr" "ac_cv_func_dladdr"
15851 if test "x$ac_cv_func_dladdr" = xyes; then :
15852 cat >>confdefs.h <<_ACEOF
15853 #define HAVE_DLADDR 1
15854 _ACEOF
15857 done
15859 LIBS="$ac_wine_check_funcs_save_LIBS"
15861 if test "$ac_cv_func_poll" = no
15862 then
15863 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for poll in -lpoll" >&5
15864 $as_echo_n "checking for poll in -lpoll... " >&6; }
15865 if ${ac_cv_lib_poll_poll+:} false; then :
15866 $as_echo_n "(cached) " >&6
15867 else
15868 ac_check_lib_save_LIBS=$LIBS
15869 LIBS="-lpoll $LIBS"
15870 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15871 /* end confdefs.h. */
15873 /* Override any GCC internal prototype to avoid an error.
15874 Use char because int might match the return type of a GCC
15875 builtin and then its argument prototype would still apply. */
15876 #ifdef __cplusplus
15877 extern "C"
15878 #endif
15879 char poll ();
15881 main ()
15883 return poll ();
15885 return 0;
15887 _ACEOF
15888 if ac_fn_c_try_link "$LINENO"; then :
15889 ac_cv_lib_poll_poll=yes
15890 else
15891 ac_cv_lib_poll_poll=no
15893 rm -f core conftest.err conftest.$ac_objext \
15894 conftest$ac_exeext conftest.$ac_ext
15895 LIBS=$ac_check_lib_save_LIBS
15897 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_poll_poll" >&5
15898 $as_echo "$ac_cv_lib_poll_poll" >&6; }
15899 if test "x$ac_cv_lib_poll_poll" = xyes; then :
15900 $as_echo "#define HAVE_POLL 1" >>confdefs.h
15901 POLL_LIBS="-lpoll"
15907 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing gethostbyname" >&5
15908 $as_echo_n "checking for library containing gethostbyname... " >&6; }
15909 if ${ac_cv_search_gethostbyname+:} false; then :
15910 $as_echo_n "(cached) " >&6
15911 else
15912 ac_func_search_save_LIBS=$LIBS
15913 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15914 /* end confdefs.h. */
15916 /* Override any GCC internal prototype to avoid an error.
15917 Use char because int might match the return type of a GCC
15918 builtin and then its argument prototype would still apply. */
15919 #ifdef __cplusplus
15920 extern "C"
15921 #endif
15922 char gethostbyname ();
15924 main ()
15926 return gethostbyname ();
15928 return 0;
15930 _ACEOF
15931 for ac_lib in '' nsl; do
15932 if test -z "$ac_lib"; then
15933 ac_res="none required"
15934 else
15935 ac_res=-l$ac_lib
15936 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15938 if ac_fn_c_try_link "$LINENO"; then :
15939 ac_cv_search_gethostbyname=$ac_res
15941 rm -f core conftest.err conftest.$ac_objext \
15942 conftest$ac_exeext
15943 if ${ac_cv_search_gethostbyname+:} false; then :
15944 break
15946 done
15947 if ${ac_cv_search_gethostbyname+:} false; then :
15949 else
15950 ac_cv_search_gethostbyname=no
15952 rm conftest.$ac_ext
15953 LIBS=$ac_func_search_save_LIBS
15955 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_gethostbyname" >&5
15956 $as_echo "$ac_cv_search_gethostbyname" >&6; }
15957 ac_res=$ac_cv_search_gethostbyname
15958 if test "$ac_res" != no; then :
15959 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
15964 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing connect" >&5
15965 $as_echo_n "checking for library containing connect... " >&6; }
15966 if ${ac_cv_search_connect+:} false; then :
15967 $as_echo_n "(cached) " >&6
15968 else
15969 ac_func_search_save_LIBS=$LIBS
15970 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
15971 /* end confdefs.h. */
15973 /* Override any GCC internal prototype to avoid an error.
15974 Use char because int might match the return type of a GCC
15975 builtin and then its argument prototype would still apply. */
15976 #ifdef __cplusplus
15977 extern "C"
15978 #endif
15979 char connect ();
15981 main ()
15983 return connect ();
15985 return 0;
15987 _ACEOF
15988 for ac_lib in '' socket; do
15989 if test -z "$ac_lib"; then
15990 ac_res="none required"
15991 else
15992 ac_res=-l$ac_lib
15993 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
15995 if ac_fn_c_try_link "$LINENO"; then :
15996 ac_cv_search_connect=$ac_res
15998 rm -f core conftest.err conftest.$ac_objext \
15999 conftest$ac_exeext
16000 if ${ac_cv_search_connect+:} false; then :
16001 break
16003 done
16004 if ${ac_cv_search_connect+:} false; then :
16006 else
16007 ac_cv_search_connect=no
16009 rm conftest.$ac_ext
16010 LIBS=$ac_func_search_save_LIBS
16012 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_connect" >&5
16013 $as_echo "$ac_cv_search_connect" >&6; }
16014 ac_res=$ac_cv_search_connect
16015 if test "$ac_res" != no; then :
16016 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16021 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing inet_aton" >&5
16022 $as_echo_n "checking for library containing inet_aton... " >&6; }
16023 if ${ac_cv_search_inet_aton+:} false; then :
16024 $as_echo_n "(cached) " >&6
16025 else
16026 ac_func_search_save_LIBS=$LIBS
16027 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16028 /* end confdefs.h. */
16030 /* Override any GCC internal prototype to avoid an error.
16031 Use char because int might match the return type of a GCC
16032 builtin and then its argument prototype would still apply. */
16033 #ifdef __cplusplus
16034 extern "C"
16035 #endif
16036 char inet_aton ();
16038 main ()
16040 return inet_aton ();
16042 return 0;
16044 _ACEOF
16045 for ac_lib in '' resolv; do
16046 if test -z "$ac_lib"; then
16047 ac_res="none required"
16048 else
16049 ac_res=-l$ac_lib
16050 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16052 if ac_fn_c_try_link "$LINENO"; then :
16053 ac_cv_search_inet_aton=$ac_res
16055 rm -f core conftest.err conftest.$ac_objext \
16056 conftest$ac_exeext
16057 if ${ac_cv_search_inet_aton+:} false; then :
16058 break
16060 done
16061 if ${ac_cv_search_inet_aton+:} false; then :
16063 else
16064 ac_cv_search_inet_aton=no
16066 rm conftest.$ac_ext
16067 LIBS=$ac_func_search_save_LIBS
16069 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_inet_aton" >&5
16070 $as_echo "$ac_cv_search_inet_aton" >&6; }
16071 ac_res=$ac_cv_search_inet_aton
16072 if test "$ac_res" != no; then :
16073 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16078 for ac_func in \
16079 getaddrinfo \
16080 getnameinfo \
16081 getnetbyname \
16082 getprotobyname \
16083 getprotobynumber \
16084 getservbyport \
16085 inet_addr \
16086 inet_network \
16087 inet_ntop \
16088 inet_pton \
16089 sendmsg \
16090 socketpair \
16092 do :
16093 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16094 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16095 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16096 cat >>confdefs.h <<_ACEOF
16097 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16098 _ACEOF
16101 done
16104 ac_save_LIBS=$LIBS
16105 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for library containing clock_gettime" >&5
16106 $as_echo_n "checking for library containing clock_gettime... " >&6; }
16107 if ${ac_cv_search_clock_gettime+:} false; then :
16108 $as_echo_n "(cached) " >&6
16109 else
16110 ac_func_search_save_LIBS=$LIBS
16111 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16112 /* end confdefs.h. */
16114 /* Override any GCC internal prototype to avoid an error.
16115 Use char because int might match the return type of a GCC
16116 builtin and then its argument prototype would still apply. */
16117 #ifdef __cplusplus
16118 extern "C"
16119 #endif
16120 char clock_gettime ();
16122 main ()
16124 return clock_gettime ();
16126 return 0;
16128 _ACEOF
16129 for ac_lib in '' rt; do
16130 if test -z "$ac_lib"; then
16131 ac_res="none required"
16132 else
16133 ac_res=-l$ac_lib
16134 LIBS="-l$ac_lib $ac_func_search_save_LIBS"
16136 if ac_fn_c_try_link "$LINENO"; then :
16137 ac_cv_search_clock_gettime=$ac_res
16139 rm -f core conftest.err conftest.$ac_objext \
16140 conftest$ac_exeext
16141 if ${ac_cv_search_clock_gettime+:} false; then :
16142 break
16144 done
16145 if ${ac_cv_search_clock_gettime+:} false; then :
16147 else
16148 ac_cv_search_clock_gettime=no
16150 rm conftest.$ac_ext
16151 LIBS=$ac_func_search_save_LIBS
16153 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_search_clock_gettime" >&5
16154 $as_echo "$ac_cv_search_clock_gettime" >&6; }
16155 ac_res=$ac_cv_search_clock_gettime
16156 if test "$ac_res" != no; then :
16157 test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
16159 $as_echo "#define HAVE_CLOCK_GETTIME 1" >>confdefs.h
16161 test "$ac_res" = "none required" || RT_LIBS="$ac_res"
16165 LIBS=$ac_save_LIBS
16167 if test "x$with_ldap" != "xno"
16168 then
16169 if ${LDAP_CFLAGS:+false} :; then :
16170 if ${PKG_CONFIG+:} false; then :
16171 LDAP_CFLAGS=`$PKG_CONFIG --cflags openldap 2>/dev/null`
16175 if ${LDAP_LIBS:+false} :; then :
16176 if ${PKG_CONFIG+:} false; then :
16177 LDAP_LIBS=`$PKG_CONFIG --libs openldap 2>/dev/null`
16181 LDAP_LIBS=${LDAP_LIBS:-"-lldap_r -llber"}
16182 $as_echo "$as_me:${as_lineno-$LINENO}: openldap cflags: $LDAP_CFLAGS" >&5
16183 $as_echo "$as_me:${as_lineno-$LINENO}: openldap libs: $LDAP_LIBS" >&5
16184 ac_save_CPPFLAGS=$CPPFLAGS
16185 CPPFLAGS="$CPPFLAGS $LDAP_CFLAGS"
16186 for ac_header in ldap.h lber.h
16187 do :
16188 as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
16189 ac_fn_c_check_header_mongrel "$LINENO" "$ac_header" "$as_ac_Header" "$ac_includes_default"
16190 if eval test \"x\$"$as_ac_Header"\" = x"yes"; then :
16191 cat >>confdefs.h <<_ACEOF
16192 #define `$as_echo "HAVE_$ac_header" | $as_tr_cpp` 1
16193 _ACEOF
16197 done
16199 if test "$ac_cv_header_ldap_h" = "yes" -a "$ac_cv_header_lber_h" = "yes"
16200 then
16201 ac_fn_c_check_type "$LINENO" "LDAPSortKey" "ac_cv_type_LDAPSortKey" "#include <ldap.h>
16203 if test "x$ac_cv_type_LDAPSortKey" = xyes; then :
16204 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ldap_initialize in -lldap_r" >&5
16205 $as_echo_n "checking for ldap_initialize in -lldap_r... " >&6; }
16206 if ${ac_cv_lib_ldap_r_ldap_initialize+:} false; then :
16207 $as_echo_n "(cached) " >&6
16208 else
16209 ac_check_lib_save_LIBS=$LIBS
16210 LIBS="-lldap_r $PTHREAD_LIBS $LDAP_LIBS $LIBS"
16211 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16212 /* end confdefs.h. */
16214 /* Override any GCC internal prototype to avoid an error.
16215 Use char because int might match the return type of a GCC
16216 builtin and then its argument prototype would still apply. */
16217 #ifdef __cplusplus
16218 extern "C"
16219 #endif
16220 char ldap_initialize ();
16222 main ()
16224 return ldap_initialize ();
16226 return 0;
16228 _ACEOF
16229 if ac_fn_c_try_link "$LINENO"; then :
16230 ac_cv_lib_ldap_r_ldap_initialize=yes
16231 else
16232 ac_cv_lib_ldap_r_ldap_initialize=no
16234 rm -f core conftest.err conftest.$ac_objext \
16235 conftest$ac_exeext conftest.$ac_ext
16236 LIBS=$ac_check_lib_save_LIBS
16238 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_ldap_r_ldap_initialize" >&5
16239 $as_echo "$ac_cv_lib_ldap_r_ldap_initialize" >&6; }
16240 if test "x$ac_cv_lib_ldap_r_ldap_initialize" = xyes; then :
16241 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for ber_init in -llber" >&5
16242 $as_echo_n "checking for ber_init in -llber... " >&6; }
16243 if ${ac_cv_lib_lber_ber_init+:} false; then :
16244 $as_echo_n "(cached) " >&6
16245 else
16246 ac_check_lib_save_LIBS=$LIBS
16247 LIBS="-llber $PTHREAD_LIBS $LDAP_LIBS $LIBS"
16248 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16249 /* end confdefs.h. */
16251 /* Override any GCC internal prototype to avoid an error.
16252 Use char because int might match the return type of a GCC
16253 builtin and then its argument prototype would still apply. */
16254 #ifdef __cplusplus
16255 extern "C"
16256 #endif
16257 char ber_init ();
16259 main ()
16261 return ber_init ();
16263 return 0;
16265 _ACEOF
16266 if ac_fn_c_try_link "$LINENO"; then :
16267 ac_cv_lib_lber_ber_init=yes
16268 else
16269 ac_cv_lib_lber_ber_init=no
16271 rm -f core conftest.err conftest.$ac_objext \
16272 conftest$ac_exeext conftest.$ac_ext
16273 LIBS=$ac_check_lib_save_LIBS
16275 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_lib_lber_ber_init" >&5
16276 $as_echo "$ac_cv_lib_lber_ber_init" >&6; }
16277 if test "x$ac_cv_lib_lber_ber_init" = xyes; then :
16279 $as_echo "#define HAVE_LDAP 1" >>confdefs.h
16281 else
16282 LDAP_LIBS=""
16285 else
16286 LDAP_LIBS=""
16289 else
16290 LDAP_LIBS=""
16293 ac_wine_check_funcs_save_LIBS="$LIBS"
16294 LIBS="$LIBS $LDAP_LIBS $PTHREAD_LIBS"
16295 for ac_func in \
16296 ldap_count_references \
16297 ldap_first_reference \
16298 ldap_next_reference \
16299 ldap_parse_reference \
16300 ldap_parse_sort_control \
16301 ldap_parse_sortresponse_control \
16302 ldap_parse_vlv_control \
16303 ldap_parse_vlvresponse_control
16304 do :
16305 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
16306 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
16307 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
16308 cat >>confdefs.h <<_ACEOF
16309 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
16310 _ACEOF
16313 done
16315 LIBS="$ac_wine_check_funcs_save_LIBS"
16316 else
16317 LDAP_LIBS=""
16319 CPPFLAGS=$ac_save_CPPFLAGS
16320 test -z "$LDAP_CFLAGS" || LDAP_CFLAGS=`echo " $LDAP_CFLAGS" | sed 's/ -I\([^/]\)/ -I\$(top_builddir)\/\1/g'`
16321 test -z "$LDAP_LIBS" || LDAP_LIBS=`echo " $LDAP_LIBS" | sed 's/ -L\([^/]\)/ -L\$(top_builddir)\/\1/g'`
16324 if test "x$LDAP_LIBS" = "x"; then :
16325 case "x$with_ldap" in
16326 x) as_fn_append wine_notices "|libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported." ;;
16327 xno) ;;
16328 *) as_fn_error $? "libldap (OpenLDAP) ${notice_platform}development files not found, LDAP won't be supported.
16329 This is an error since --with-ldap was requested." "$LINENO" 5 ;;
16330 esac
16334 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether mkdir takes only one argument" >&5
16335 $as_echo_n "checking whether mkdir takes only one argument... " >&6; }
16336 if ${wine_cv_one_arg_mkdir+:} false; then :
16337 $as_echo_n "(cached) " >&6
16338 else
16339 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16340 /* end confdefs.h. */
16341 #include <sys/stat.h>
16343 main ()
16345 mkdir("foo");
16347 return 0;
16349 _ACEOF
16350 if ac_fn_c_try_compile "$LINENO"; then :
16351 wine_cv_one_arg_mkdir=yes
16352 else
16353 wine_cv_one_arg_mkdir=no
16355 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16357 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_one_arg_mkdir" >&5
16358 $as_echo "$wine_cv_one_arg_mkdir" >&6; }
16359 if test "$wine_cv_one_arg_mkdir" = "yes"
16360 then
16362 $as_echo "#define HAVE_ONE_ARG_MKDIR 1" >>confdefs.h
16366 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sched_setaffinity" >&5
16367 $as_echo_n "checking for sched_setaffinity... " >&6; }
16368 if ${wine_cv_have_sched_setaffinity+:} false; then :
16369 $as_echo_n "(cached) " >&6
16370 else
16371 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16372 /* end confdefs.h. */
16373 #define _GNU_SOURCE
16374 #include <sched.h>
16376 main ()
16378 sched_setaffinity(0, 0, 0);
16380 return 0;
16382 _ACEOF
16383 if ac_fn_c_try_link "$LINENO"; then :
16384 wine_cv_have_sched_setaffinity=yes
16385 else
16386 wine_cv_have_sched_setaffinity=no
16388 rm -f core conftest.err conftest.$ac_objext \
16389 conftest$ac_exeext conftest.$ac_ext
16391 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sched_setaffinity" >&5
16392 $as_echo "$wine_cv_have_sched_setaffinity" >&6; }
16393 if test "$wine_cv_have_sched_setaffinity" = "yes"
16394 then
16396 $as_echo "#define HAVE_SCHED_SETAFFINITY 1" >>confdefs.h
16400 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for fallocate" >&5
16401 $as_echo_n "checking for fallocate... " >&6; }
16402 if ${wine_cv_have_fallocate+:} false; then :
16403 $as_echo_n "(cached) " >&6
16404 else
16405 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16406 /* end confdefs.h. */
16407 #define _GNU_SOURCE
16408 #include <fcntl.h>
16410 main ()
16412 fallocate(-1, 0, 0, 0);
16414 return 0;
16416 _ACEOF
16417 if ac_fn_c_try_link "$LINENO"; then :
16418 wine_cv_have_fallocate=yes
16419 else
16420 wine_cv_have_fallocate=no
16422 rm -f core conftest.err conftest.$ac_objext \
16423 conftest$ac_exeext conftest.$ac_ext
16425 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_fallocate" >&5
16426 $as_echo "$wine_cv_have_fallocate" >&6; }
16427 if test "$wine_cv_have_fallocate" = "yes"
16428 then
16430 $as_echo "#define HAVE_FALLOCATE 1" >>confdefs.h
16435 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for inline" >&5
16436 $as_echo_n "checking for inline... " >&6; }
16437 if ${ac_cv_c_inline+:} false; then :
16438 $as_echo_n "(cached) " >&6
16439 else
16440 ac_cv_c_inline=no
16441 for ac_kw in inline __inline__ __inline; do
16442 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16443 /* end confdefs.h. */
16444 #ifndef __cplusplus
16445 typedef int foo_t;
16446 static $ac_kw foo_t static_foo () {return 0; }
16447 $ac_kw foo_t foo () {return 0; }
16448 #endif
16450 _ACEOF
16451 if ac_fn_c_try_compile "$LINENO"; then :
16452 ac_cv_c_inline=$ac_kw
16454 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16455 test "$ac_cv_c_inline" != no && break
16456 done
16459 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_c_inline" >&5
16460 $as_echo "$ac_cv_c_inline" >&6; }
16462 case $ac_cv_c_inline in
16463 inline | yes) ;;
16465 case $ac_cv_c_inline in
16466 no) ac_val=;;
16467 *) ac_val=$ac_cv_c_inline;;
16468 esac
16469 cat >>confdefs.h <<_ACEOF
16470 #ifndef __cplusplus
16471 #define inline $ac_val
16472 #endif
16473 _ACEOF
16475 esac
16477 ac_fn_c_check_type "$LINENO" "mode_t" "ac_cv_type_mode_t" "$ac_includes_default"
16478 if test "x$ac_cv_type_mode_t" = xyes; then :
16480 cat >>confdefs.h <<_ACEOF
16481 #define HAVE_MODE_T 1
16482 _ACEOF
16486 ac_fn_c_check_type "$LINENO" "off_t" "ac_cv_type_off_t" "$ac_includes_default"
16487 if test "x$ac_cv_type_off_t" = xyes; then :
16489 cat >>confdefs.h <<_ACEOF
16490 #define HAVE_OFF_T 1
16491 _ACEOF
16495 ac_fn_c_check_type "$LINENO" "pid_t" "ac_cv_type_pid_t" "$ac_includes_default"
16496 if test "x$ac_cv_type_pid_t" = xyes; then :
16498 cat >>confdefs.h <<_ACEOF
16499 #define HAVE_PID_T 1
16500 _ACEOF
16504 ac_fn_c_check_type "$LINENO" "size_t" "ac_cv_type_size_t" "$ac_includes_default"
16505 if test "x$ac_cv_type_size_t" = xyes; then :
16507 cat >>confdefs.h <<_ACEOF
16508 #define HAVE_SIZE_T 1
16509 _ACEOF
16513 ac_fn_c_check_type "$LINENO" "ssize_t" "ac_cv_type_ssize_t" "$ac_includes_default"
16514 if test "x$ac_cv_type_ssize_t" = xyes; then :
16516 cat >>confdefs.h <<_ACEOF
16517 #define HAVE_SSIZE_T 1
16518 _ACEOF
16522 ac_fn_c_check_type "$LINENO" "long long" "ac_cv_type_long_long" "$ac_includes_default"
16523 if test "x$ac_cv_type_long_long" = xyes; then :
16525 cat >>confdefs.h <<_ACEOF
16526 #define HAVE_LONG_LONG 1
16527 _ACEOF
16531 ac_fn_c_check_type "$LINENO" "fsblkcnt_t" "ac_cv_type_fsblkcnt_t" "$ac_includes_default"
16532 if test "x$ac_cv_type_fsblkcnt_t" = xyes; then :
16534 cat >>confdefs.h <<_ACEOF
16535 #define HAVE_FSBLKCNT_T 1
16536 _ACEOF
16540 ac_fn_c_check_type "$LINENO" "fsfilcnt_t" "ac_cv_type_fsfilcnt_t" "$ac_includes_default"
16541 if test "x$ac_cv_type_fsfilcnt_t" = xyes; then :
16543 cat >>confdefs.h <<_ACEOF
16544 #define HAVE_FSFILCNT_T 1
16545 _ACEOF
16550 ac_fn_c_check_type "$LINENO" "sigset_t" "ac_cv_type_sigset_t" "#include <sys/types.h>
16551 #include <signal.h>
16553 if test "x$ac_cv_type_sigset_t" = xyes; then :
16555 cat >>confdefs.h <<_ACEOF
16556 #define HAVE_SIGSET_T 1
16557 _ACEOF
16562 ac_fn_c_check_type "$LINENO" "request_sense" "ac_cv_type_request_sense" "#include <linux/cdrom.h>
16564 if test "x$ac_cv_type_request_sense" = xyes; then :
16566 cat >>confdefs.h <<_ACEOF
16567 #define HAVE_REQUEST_SENSE 1
16568 _ACEOF
16574 ac_fn_c_check_type "$LINENO" "struct xinpgen" "ac_cv_type_struct_xinpgen" "#include <sys/types.h>
16575 #ifdef HAVE_SYS_SOCKET_H
16576 #include <sys/socket.h>
16577 #endif
16578 #ifdef HAVE_SYS_SOCKETVAR_H
16579 #include <sys/socketvar.h>
16580 #endif
16581 #ifdef HAVE_NET_ROUTE_H
16582 #include <net/route.h>
16583 #endif
16584 #ifdef HAVE_NETINET_IN_H
16585 #include <netinet/in.h>
16586 #endif
16587 #ifdef HAVE_NETINET_IN_SYSTM_H
16588 #include <netinet/in_systm.h>
16589 #endif
16590 #ifdef HAVE_NETINET_IP_H
16591 #include <netinet/ip.h>
16592 #endif
16593 #ifdef HAVE_NETINET_IN_PCB_H
16594 #include <netinet/in_pcb.h>
16595 #endif
16597 if test "x$ac_cv_type_struct_xinpgen" = xyes; then :
16599 cat >>confdefs.h <<_ACEOF
16600 #define HAVE_STRUCT_XINPGEN 1
16601 _ACEOF
16607 ac_fn_c_check_type "$LINENO" "struct r_debug" "ac_cv_type_struct_r_debug" "#ifdef HAVE_LINK_H
16608 #include <link.h>
16609 #endif
16610 #ifdef HAVE_SYS_LINK_H
16611 #include <sys/link.h>
16612 #endif
16614 if test "x$ac_cv_type_struct_r_debug" = xyes; then :
16616 cat >>confdefs.h <<_ACEOF
16617 #define HAVE_STRUCT_R_DEBUG 1
16618 _ACEOF
16622 ac_fn_c_check_type "$LINENO" "struct link_map" "ac_cv_type_struct_link_map" "#ifdef HAVE_LINK_H
16623 #include <link.h>
16624 #endif
16625 #ifdef HAVE_SYS_LINK_H
16626 #include <sys/link.h>
16627 #endif
16629 if test "x$ac_cv_type_struct_link_map" = xyes; then :
16631 cat >>confdefs.h <<_ACEOF
16632 #define HAVE_STRUCT_LINK_MAP 1
16633 _ACEOF
16639 ac_fn_c_check_member "$LINENO" "struct ff_effect" "direction" "ac_cv_member_struct_ff_effect_direction" "#ifdef HAVE_LINUX_INPUT_H
16640 #include <linux/input.h>
16641 #endif
16643 if test "x$ac_cv_member_struct_ff_effect_direction" = xyes; then :
16645 cat >>confdefs.h <<_ACEOF
16646 #define HAVE_STRUCT_FF_EFFECT_DIRECTION 1
16647 _ACEOF
16653 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for if_nameindex" >&5
16654 $as_echo_n "checking for if_nameindex... " >&6; }
16655 if ${wine_cv_have_if_nameindex+:} false; then :
16656 $as_echo_n "(cached) " >&6
16657 else
16658 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16659 /* end confdefs.h. */
16660 #ifdef HAVE_SYS_TYPES_H
16661 #include <sys/types.h>
16662 #endif
16663 #ifdef HAVE_SYS_SOCKET_H
16664 #include <sys/socket.h>
16665 #endif
16666 #ifdef HAVE_NET_IF_H
16667 # include <net/if.h>
16668 #endif
16670 main ()
16672 struct if_nameindex *p = if_nameindex(); return p->if_index;
16674 return 0;
16676 _ACEOF
16677 if ac_fn_c_try_link "$LINENO"; then :
16678 wine_cv_have_if_nameindex=yes
16679 else
16680 wine_cv_have_if_nameindex=no
16682 rm -f core conftest.err conftest.$ac_objext \
16683 conftest$ac_exeext conftest.$ac_ext
16685 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_if_nameindex" >&5
16686 $as_echo "$wine_cv_have_if_nameindex" >&6; }
16687 if test "$wine_cv_have_if_nameindex" = "yes"
16688 then
16690 $as_echo "#define HAVE_IF_NAMEINDEX 1" >>confdefs.h
16694 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for sigaddset" >&5
16695 $as_echo_n "checking for sigaddset... " >&6; }
16696 if ${wine_cv_have_sigaddset+:} false; then :
16697 $as_echo_n "(cached) " >&6
16698 else
16699 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16700 /* end confdefs.h. */
16701 #include <signal.h>
16703 main ()
16705 sigset_t set; sigaddset(&set,SIGTERM);
16707 return 0;
16709 _ACEOF
16710 if ac_fn_c_try_link "$LINENO"; then :
16711 wine_cv_have_sigaddset=yes
16712 else
16713 wine_cv_have_sigaddset=no
16715 rm -f core conftest.err conftest.$ac_objext \
16716 conftest$ac_exeext conftest.$ac_ext
16718 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_have_sigaddset" >&5
16719 $as_echo "$wine_cv_have_sigaddset" >&6; }
16720 if test "$wine_cv_have_sigaddset" = "yes"
16721 then
16723 $as_echo "#define HAVE_SIGADDSET 1" >>confdefs.h
16728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we can use re-entrant gethostbyname_r Linux style" >&5
16729 $as_echo_n "checking whether we can use re-entrant gethostbyname_r Linux style... " >&6; }
16730 if ${wine_cv_linux_gethostbyname_r_6+:} false; then :
16731 $as_echo_n "(cached) " >&6
16732 else
16733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16734 /* end confdefs.h. */
16735 #include <netdb.h>
16737 main ()
16740 char *name=0;
16741 struct hostent he;
16742 struct hostent *result;
16743 char *buf=0;
16744 int bufsize=0;
16745 int errnr;
16746 char *addr=0;
16747 int addrlen=0;
16748 int addrtype=0;
16749 gethostbyname_r(name,&he,buf,bufsize,&result,&errnr);
16750 gethostbyaddr_r(addr, addrlen, addrtype,&he,buf,bufsize,&result,&errnr);
16753 return 0;
16755 _ACEOF
16756 if ac_fn_c_try_link "$LINENO"; then :
16757 wine_cv_linux_gethostbyname_r_6=yes
16758 else
16759 wine_cv_linux_gethostbyname_r_6=no
16762 rm -f core conftest.err conftest.$ac_objext \
16763 conftest$ac_exeext conftest.$ac_ext
16766 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_gethostbyname_r_6" >&5
16767 $as_echo "$wine_cv_linux_gethostbyname_r_6" >&6; }
16768 if test "$wine_cv_linux_gethostbyname_r_6" = "yes"
16769 then
16771 $as_echo "#define HAVE_LINUX_GETHOSTBYNAME_R_6 1" >>confdefs.h
16775 if test "$ac_cv_header_linux_joystick_h" = "yes"
16776 then
16777 { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether linux/joystick.h uses the Linux 2.2+ API" >&5
16778 $as_echo_n "checking whether linux/joystick.h uses the Linux 2.2+ API... " >&6; }
16779 if ${wine_cv_linux_joystick_22_api+:} false; then :
16780 $as_echo_n "(cached) " >&6
16781 else
16782 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
16783 /* end confdefs.h. */
16785 #include <sys/ioctl.h>
16786 #include <sys/types.h>
16787 #include <linux/joystick.h>
16789 struct js_event blub;
16790 #if !defined(JS_EVENT_AXIS) || !defined(JS_EVENT_BUTTON)
16791 #error "no 2.2 header"
16792 #endif
16795 main ()
16797 /*empty*/
16799 return 0;
16801 _ACEOF
16802 if ac_fn_c_try_compile "$LINENO"; then :
16803 wine_cv_linux_joystick_22_api=yes
16804 else
16805 wine_cv_linux_joystick_22_api=no
16807 rm -f core conftest.err conftest.$ac_objext conftest.$ac_ext
16810 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $wine_cv_linux_joystick_22_api" >&5
16811 $as_echo "$wine_cv_linux_joystick_22_api" >&6; }
16812 if test "$wine_cv_linux_joystick_22_api" = "yes"
16813 then
16815 $as_echo "#define HAVE_LINUX_22_JOYSTICK_API 1" >>confdefs.h
16821 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bfree" "ac_cv_member_struct_statfs_f_bfree" "#include <sys/types.h>
16822 #ifdef HAVE_SYS_PARAM_H
16823 # include <sys/param.h>
16824 #endif
16825 #ifdef HAVE_SYS_MOUNT_H
16826 # include <sys/mount.h>
16827 #endif
16828 #ifdef HAVE_SYS_VFS_H
16829 # include <sys/vfs.h>
16830 #endif
16831 #ifdef HAVE_SYS_STATFS_H
16832 # include <sys/statfs.h>
16833 #endif
16835 if test "x$ac_cv_member_struct_statfs_f_bfree" = xyes; then :
16837 cat >>confdefs.h <<_ACEOF
16838 #define HAVE_STRUCT_STATFS_F_BFREE 1
16839 _ACEOF
16843 ac_fn_c_check_member "$LINENO" "struct statfs" "f_bavail" "ac_cv_member_struct_statfs_f_bavail" "#include <sys/types.h>
16844 #ifdef HAVE_SYS_PARAM_H
16845 # include <sys/param.h>
16846 #endif
16847 #ifdef HAVE_SYS_MOUNT_H
16848 # include <sys/mount.h>
16849 #endif
16850 #ifdef HAVE_SYS_VFS_H
16851 # include <sys/vfs.h>
16852 #endif
16853 #ifdef HAVE_SYS_STATFS_H
16854 # include <sys/statfs.h>
16855 #endif
16857 if test "x$ac_cv_member_struct_statfs_f_bavail" = xyes; then :
16859 cat >>confdefs.h <<_ACEOF
16860 #define HAVE_STRUCT_STATFS_F_BAVAIL 1
16861 _ACEOF
16865 ac_fn_c_check_member "$LINENO" "struct statfs" "f_frsize" "ac_cv_member_struct_statfs_f_frsize" "#include <sys/types.h>
16866 #ifdef HAVE_SYS_PARAM_H
16867 # include <sys/param.h>
16868 #endif
16869 #ifdef HAVE_SYS_MOUNT_H
16870 # include <sys/mount.h>
16871 #endif
16872 #ifdef HAVE_SYS_VFS_H
16873 # include <sys/vfs.h>
16874 #endif
16875 #ifdef HAVE_SYS_STATFS_H
16876 # include <sys/statfs.h>
16877 #endif
16879 if test "x$ac_cv_member_struct_statfs_f_frsize" = xyes; then :
16881 cat >>confdefs.h <<_ACEOF
16882 #define HAVE_STRUCT_STATFS_F_FRSIZE 1
16883 _ACEOF
16887 ac_fn_c_check_member "$LINENO" "struct statfs" "f_ffree" "ac_cv_member_struct_statfs_f_ffree" "#include <sys/types.h>
16888 #ifdef HAVE_SYS_PARAM_H
16889 # include <sys/param.h>
16890 #endif
16891 #ifdef HAVE_SYS_MOUNT_H
16892 # include <sys/mount.h>
16893 #endif
16894 #ifdef HAVE_SYS_VFS_H
16895 # include <sys/vfs.h>
16896 #endif
16897 #ifdef HAVE_SYS_STATFS_H
16898 # include <sys/statfs.h>
16899 #endif
16901 if test "x$ac_cv_member_struct_statfs_f_ffree" = xyes; then :
16903 cat >>confdefs.h <<_ACEOF
16904 #define HAVE_STRUCT_STATFS_F_FFREE 1
16905 _ACEOF
16909 ac_fn_c_check_member "$LINENO" "struct statfs" "f_favail" "ac_cv_member_struct_statfs_f_favail" "#include <sys/types.h>
16910 #ifdef HAVE_SYS_PARAM_H
16911 # include <sys/param.h>
16912 #endif
16913 #ifdef HAVE_SYS_MOUNT_H
16914 # include <sys/mount.h>
16915 #endif
16916 #ifdef HAVE_SYS_VFS_H
16917 # include <sys/vfs.h>
16918 #endif
16919 #ifdef HAVE_SYS_STATFS_H
16920 # include <sys/statfs.h>
16921 #endif
16923 if test "x$ac_cv_member_struct_statfs_f_favail" = xyes; then :
16925 cat >>confdefs.h <<_ACEOF
16926 #define HAVE_STRUCT_STATFS_F_FAVAIL 1
16927 _ACEOF
16931 ac_fn_c_check_member "$LINENO" "struct statfs" "f_namelen" "ac_cv_member_struct_statfs_f_namelen" "#include <sys/types.h>
16932 #ifdef HAVE_SYS_PARAM_H
16933 # include <sys/param.h>
16934 #endif
16935 #ifdef HAVE_SYS_MOUNT_H
16936 # include <sys/mount.h>
16937 #endif
16938 #ifdef HAVE_SYS_VFS_H
16939 # include <sys/vfs.h>
16940 #endif
16941 #ifdef HAVE_SYS_STATFS_H
16942 # include <sys/statfs.h>
16943 #endif
16945 if test "x$ac_cv_member_struct_statfs_f_namelen" = xyes; then :
16947 cat >>confdefs.h <<_ACEOF
16948 #define HAVE_STRUCT_STATFS_F_NAMELEN 1
16949 _ACEOF
16955 ac_fn_c_check_member "$LINENO" "struct statvfs" "f_blocks" "ac_cv_member_struct_statvfs_f_blocks" "#ifdef HAVE_SYS_STATVFS_H
16956 #include <sys/statvfs.h>
16957 #endif
16959 if test "x$ac_cv_member_struct_statvfs_f_blocks" = xyes; then :
16961 cat >>confdefs.h <<_ACEOF
16962 #define HAVE_STRUCT_STATVFS_F_BLOCKS 1
16963 _ACEOF
16969 ac_fn_c_check_member "$LINENO" "struct dirent" "d_reclen" "ac_cv_member_struct_dirent_d_reclen" "#ifdef HAVE_DIRENT_H
16970 #include <dirent.h>
16971 #endif
16973 if test "x$ac_cv_member_struct_dirent_d_reclen" = xyes; then :
16975 cat >>confdefs.h <<_ACEOF
16976 #define HAVE_STRUCT_DIRENT_D_RECLEN 1
16977 _ACEOF
16983 ac_fn_c_check_member "$LINENO" "struct msghdr" "msg_accrights" "ac_cv_member_struct_msghdr_msg_accrights" "#include <sys/types.h>
16984 #ifdef HAVE_SYS_SOCKET_H
16985 # include <sys/socket.h>
16986 #endif
16987 #ifdef HAVE_SYS_UN_H
16988 # include <sys/un.h>
16989 #endif
16991 if test "x$ac_cv_member_struct_msghdr_msg_accrights" = xyes; then :
16993 cat >>confdefs.h <<_ACEOF
16994 #define HAVE_STRUCT_MSGHDR_MSG_ACCRIGHTS 1
16995 _ACEOF
16999 ac_fn_c_check_member "$LINENO" "struct sockaddr" "sa_len" "ac_cv_member_struct_sockaddr_sa_len" "#include <sys/types.h>
17000 #ifdef HAVE_SYS_SOCKET_H
17001 # include <sys/socket.h>
17002 #endif
17003 #ifdef HAVE_SYS_UN_H
17004 # include <sys/un.h>
17005 #endif
17007 if test "x$ac_cv_member_struct_sockaddr_sa_len" = xyes; then :
17009 cat >>confdefs.h <<_ACEOF
17010 #define HAVE_STRUCT_SOCKADDR_SA_LEN 1
17011 _ACEOF
17015 ac_fn_c_check_member "$LINENO" "struct sockaddr_un" "sun_len" "ac_cv_member_struct_sockaddr_un_sun_len" "#include <sys/types.h>
17016 #ifdef HAVE_SYS_SOCKET_H
17017 # include <sys/socket.h>
17018 #endif
17019 #ifdef HAVE_SYS_UN_H
17020 # include <sys/un.h>
17021 #endif
17023 if test "x$ac_cv_member_struct_sockaddr_un_sun_len" = xyes; then :
17025 cat >>confdefs.h <<_ACEOF
17026 #define HAVE_STRUCT_SOCKADDR_UN_SUN_LEN 1
17027 _ACEOF
17033 ac_fn_c_check_member "$LINENO" "scsireq_t" "cmd" "ac_cv_member_scsireq_t_cmd" "#include <sys/types.h>
17034 #ifdef HAVE_SCSI_SG_H
17035 #include <scsi/sg.h>
17036 #endif
17038 if test "x$ac_cv_member_scsireq_t_cmd" = xyes; then :
17040 cat >>confdefs.h <<_ACEOF
17041 #define HAVE_SCSIREQ_T_CMD 1
17042 _ACEOF
17046 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>
17047 #ifdef HAVE_SCSI_SG_H
17048 #include <scsi/sg.h>
17049 #endif
17051 if test "x$ac_cv_member_sg_io_hdr_t_interface_id" = xyes; then :
17053 cat >>confdefs.h <<_ACEOF
17054 #define HAVE_SG_IO_HDR_T_INTERFACE_ID 1
17055 _ACEOF
17061 ac_fn_c_check_member "$LINENO" "siginfo_t" "si_fd" "ac_cv_member_siginfo_t_si_fd" "#include <signal.h>
17063 if test "x$ac_cv_member_siginfo_t_si_fd" = xyes; then :
17065 cat >>confdefs.h <<_ACEOF
17066 #define HAVE_SIGINFO_T_SI_FD 1
17067 _ACEOF
17073 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blksiz" "ac_cv_member_struct_mtget_mt_blksiz" "#include <sys/types.h>
17074 #ifdef HAVE_SYS_MTIO_H
17075 #include <sys/mtio.h>
17076 #endif
17078 if test "x$ac_cv_member_struct_mtget_mt_blksiz" = xyes; then :
17080 cat >>confdefs.h <<_ACEOF
17081 #define HAVE_STRUCT_MTGET_MT_BLKSIZ 1
17082 _ACEOF
17086 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_gstat" "ac_cv_member_struct_mtget_mt_gstat" "#include <sys/types.h>
17087 #ifdef HAVE_SYS_MTIO_H
17088 #include <sys/mtio.h>
17089 #endif
17091 if test "x$ac_cv_member_struct_mtget_mt_gstat" = xyes; then :
17093 cat >>confdefs.h <<_ACEOF
17094 #define HAVE_STRUCT_MTGET_MT_GSTAT 1
17095 _ACEOF
17099 ac_fn_c_check_member "$LINENO" "struct mtget" "mt_blkno" "ac_cv_member_struct_mtget_mt_blkno" "#include <sys/types.h>
17100 #ifdef HAVE_SYS_MTIO_H
17101 #include <sys/mtio.h>
17102 #endif
17104 if test "x$ac_cv_member_struct_mtget_mt_blkno" = xyes; then :
17106 cat >>confdefs.h <<_ACEOF
17107 #define HAVE_STRUCT_MTGET_MT_BLKNO 1
17108 _ACEOF
17114 ac_fn_c_check_member "$LINENO" "struct option" "name" "ac_cv_member_struct_option_name" "#ifdef HAVE_GETOPT_H
17115 #include <getopt.h>
17116 #endif
17118 if test "x$ac_cv_member_struct_option_name" = xyes; then :
17120 cat >>confdefs.h <<_ACEOF
17121 #define HAVE_STRUCT_OPTION_NAME 1
17122 _ACEOF
17128 ac_fn_c_check_member "$LINENO" "struct stat" "st_blocks" "ac_cv_member_struct_stat_st_blocks" "$ac_includes_default"
17129 if test "x$ac_cv_member_struct_stat_st_blocks" = xyes; then :
17131 cat >>confdefs.h <<_ACEOF
17132 #define HAVE_STRUCT_STAT_ST_BLOCKS 1
17133 _ACEOF
17137 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtim" "ac_cv_member_struct_stat_st_mtim" "$ac_includes_default"
17138 if test "x$ac_cv_member_struct_stat_st_mtim" = xyes; then :
17140 cat >>confdefs.h <<_ACEOF
17141 #define HAVE_STRUCT_STAT_ST_MTIM 1
17142 _ACEOF
17146 ac_fn_c_check_member "$LINENO" "struct stat" "st_mtimespec" "ac_cv_member_struct_stat_st_mtimespec" "$ac_includes_default"
17147 if test "x$ac_cv_member_struct_stat_st_mtimespec" = xyes; then :
17149 cat >>confdefs.h <<_ACEOF
17150 #define HAVE_STRUCT_STAT_ST_MTIMESPEC 1
17151 _ACEOF
17155 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctim" "ac_cv_member_struct_stat_st_ctim" "$ac_includes_default"
17156 if test "x$ac_cv_member_struct_stat_st_ctim" = xyes; then :
17158 cat >>confdefs.h <<_ACEOF
17159 #define HAVE_STRUCT_STAT_ST_CTIM 1
17160 _ACEOF
17164 ac_fn_c_check_member "$LINENO" "struct stat" "st_ctimespec" "ac_cv_member_struct_stat_st_ctimespec" "$ac_includes_default"
17165 if test "x$ac_cv_member_struct_stat_st_ctimespec" = xyes; then :
17167 cat >>confdefs.h <<_ACEOF
17168 #define HAVE_STRUCT_STAT_ST_CTIMESPEC 1
17169 _ACEOF
17173 ac_fn_c_check_member "$LINENO" "struct stat" "st_atim" "ac_cv_member_struct_stat_st_atim" "$ac_includes_default"
17174 if test "x$ac_cv_member_struct_stat_st_atim" = xyes; then :
17176 cat >>confdefs.h <<_ACEOF
17177 #define HAVE_STRUCT_STAT_ST_ATIM 1
17178 _ACEOF
17182 ac_fn_c_check_member "$LINENO" "struct stat" "st_atimespec" "ac_cv_member_struct_stat_st_atimespec" "$ac_includes_default"
17183 if test "x$ac_cv_member_struct_stat_st_atimespec" = xyes; then :
17185 cat >>confdefs.h <<_ACEOF
17186 #define HAVE_STRUCT_STAT_ST_ATIMESPEC 1
17187 _ACEOF
17191 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtime" "ac_cv_member_struct_stat_st_birthtime" "$ac_includes_default"
17192 if test "x$ac_cv_member_struct_stat_st_birthtime" = xyes; then :
17194 cat >>confdefs.h <<_ACEOF
17195 #define HAVE_STRUCT_STAT_ST_BIRTHTIME 1
17196 _ACEOF
17200 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtim" "ac_cv_member_struct_stat_st_birthtim" "$ac_includes_default"
17201 if test "x$ac_cv_member_struct_stat_st_birthtim" = xyes; then :
17203 cat >>confdefs.h <<_ACEOF
17204 #define HAVE_STRUCT_STAT_ST_BIRTHTIM 1
17205 _ACEOF
17209 ac_fn_c_check_member "$LINENO" "struct stat" "st_birthtimespec" "ac_cv_member_struct_stat_st_birthtimespec" "$ac_includes_default"
17210 if test "x$ac_cv_member_struct_stat_st_birthtimespec" = xyes; then :
17212 cat >>confdefs.h <<_ACEOF
17213 #define HAVE_STRUCT_STAT_ST_BIRTHTIMESPEC 1
17214 _ACEOF
17218 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtime" "ac_cv_member_struct_stat___st_birthtime" "$ac_includes_default"
17219 if test "x$ac_cv_member_struct_stat___st_birthtime" = xyes; then :
17221 cat >>confdefs.h <<_ACEOF
17222 #define HAVE_STRUCT_STAT___ST_BIRTHTIME 1
17223 _ACEOF
17227 ac_fn_c_check_member "$LINENO" "struct stat" "__st_birthtim" "ac_cv_member_struct_stat___st_birthtim" "$ac_includes_default"
17228 if test "x$ac_cv_member_struct_stat___st_birthtim" = xyes; then :
17230 cat >>confdefs.h <<_ACEOF
17231 #define HAVE_STRUCT_STAT___ST_BIRTHTIM 1
17232 _ACEOF
17238 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
17239 #include <sys/types.h>
17240 #endif
17241 #ifdef HAVE_NETINET_IN_H
17242 #include <netinet/in.h>
17243 #endif
17245 if test "x$ac_cv_member_struct_sockaddr_in6_sin6_scope_id" = xyes; then :
17247 cat >>confdefs.h <<_ACEOF
17248 #define HAVE_STRUCT_SOCKADDR_IN6_SIN6_SCOPE_ID 1
17249 _ACEOF
17255 ac_fn_c_check_type "$LINENO" "struct __res_state" "ac_cv_type_struct___res_state" "#ifdef HAVE_SYS_TYPES_H
17256 #include <sys/types.h>
17257 #endif
17258 #ifdef HAVE_NETINET_IN_H
17259 #include <netinet/in.h>
17260 #endif
17261 #ifdef HAVE_RESOLV_H
17262 #include <resolv.h>
17263 #endif
17265 if test "x$ac_cv_type_struct___res_state" = xyes; then :
17267 cat >>confdefs.h <<_ACEOF
17268 #define HAVE_STRUCT___RES_STATE 1
17269 _ACEOF
17275 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
17276 #include <resolv.h>
17277 #endif
17279 if test "x$ac_cv_member_struct___res_state__u__ext_nscount6" = xyes; then :
17281 cat >>confdefs.h <<_ACEOF
17282 #define HAVE_STRUCT___RES_STATE__U__EXT_NSCOUNT6 1
17283 _ACEOF
17289 ac_fn_c_check_member "$LINENO" "ns_msg" "_msg_ptr" "ac_cv_member_ns_msg__msg_ptr" "#ifdef HAVE_SYS_TYPES_H
17290 #include <sys/types.h>
17291 #endif
17292 #ifdef HAVE_NETINET_IN_H
17293 # include <netinet/in.h>
17294 #endif
17295 #ifdef HAVE_ARPA_NAMESER_H
17296 # include <arpa/nameser.h>
17297 #endif
17299 if test "x$ac_cv_member_ns_msg__msg_ptr" = xyes; then :
17301 cat >>confdefs.h <<_ACEOF
17302 #define HAVE_NS_MSG__MSG_PTR 1
17303 _ACEOF
17309 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_inhist" "ac_cv_member_struct_icmpstat_icps_inhist" "#ifdef HAVE_SYS_TYPES_H
17310 #include <sys/types.h>
17311 #endif
17312 #ifdef HAVE_NETINET_IN_H
17313 #include <netinet/in.h>
17314 #endif
17315 #ifdef HAVE_NETINET_IP_H
17316 #include <netinet/ip.h>
17317 #endif
17318 #ifdef HAVE_NETINET_IP_ICMP_H
17319 #include <netinet/ip_icmp.h>
17320 #endif
17321 #ifdef HAVE_NETINET_ICMP_VAR_H
17322 #include <netinet/icmp_var.h>
17323 #endif
17325 if test "x$ac_cv_member_struct_icmpstat_icps_inhist" = xyes; then :
17327 cat >>confdefs.h <<_ACEOF
17328 #define HAVE_STRUCT_ICMPSTAT_ICPS_INHIST 1
17329 _ACEOF
17335 ac_fn_c_check_member "$LINENO" "struct icmpstat" "icps_outhist" "ac_cv_member_struct_icmpstat_icps_outhist" "#ifdef HAVE_SYS_TYPES_H
17336 #include <sys/types.h>
17337 #endif
17338 #ifdef HAVE_ALIAS_H
17339 #include <alias.h>
17340 #endif
17341 #ifdef HAVE_SYS_SOCKET_H
17342 #include <sys/socket.h>
17343 #endif
17344 #ifdef HAVE_SYS_SOCKETVAR_H
17345 #include <sys/socketvar.h>
17346 #endif
17347 #ifdef HAVE_SYS_TIMEOUT_H
17348 #include <sys/timeout.h>
17349 #endif
17350 #ifdef HAVE_NETINET_IN_H
17351 #include <netinet/in.h>
17352 #endif
17353 #ifdef HAVE_NETINET_IN_SYSTM_H
17354 #include <netinet/in_systm.h>
17355 #endif
17356 #ifdef HAVE_NETINET_IP_H
17357 #include <netinet/ip.h>
17358 #endif
17359 #ifdef HAVE_NETINET_IP_VAR_H
17360 #include <netinet/ip_var.h>
17361 #endif
17362 #ifdef HAVE_NETINET_IP_ICMP_H
17363 #include <netinet/ip_icmp.h>
17364 #endif
17365 #ifdef HAVE_NETINET_ICMP_VAR_H
17366 #include <netinet/icmp_var.h>
17367 #endif
17369 if test "x$ac_cv_member_struct_icmpstat_icps_outhist" = xyes; then :
17371 cat >>confdefs.h <<_ACEOF
17372 #define HAVE_STRUCT_ICMPSTAT_ICPS_OUTHIST 1
17373 _ACEOF
17379 ac_fn_c_check_member "$LINENO" "struct ipstat" "ips_total" "ac_cv_member_struct_ipstat_ips_total" "#ifdef HAVE_SYS_TYPES_H
17380 #include <sys/types.h>
17381 #endif
17382 #ifdef HAVE_SYS_SOCKETVAR_H
17383 #include <sys/socketvar.h>
17384 #endif
17385 #ifdef HAVE_NETINET_IN_H
17386 #include <netinet/in.h>
17387 #endif
17388 #ifdef HAVE_NETINET_IP_VAR_H
17389 #include <netinet/ip_var.h>
17390 #endif
17392 if test "x$ac_cv_member_struct_ipstat_ips_total" = xyes; then :
17394 cat >>confdefs.h <<_ACEOF
17395 #define HAVE_STRUCT_IPSTAT_IPS_TOTAL 1
17396 _ACEOF
17402 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
17403 #include <netinet/ip_var.h>
17404 #endif
17406 if test "x$ac_cv_member_struct_ip_stats_ips_total" = xyes; then :
17408 cat >>confdefs.h <<_ACEOF
17409 #define HAVE_STRUCT_IP_STATS_IPS_TOTAL 1
17410 _ACEOF
17416 ac_fn_c_check_member "$LINENO" "struct tcpstat" "tcps_connattempt" "ac_cv_member_struct_tcpstat_tcps_connattempt" "#ifdef HAVE_SYS_TYPES_H
17417 #include <sys/types.h>
17418 #endif
17419 #ifdef HAVE_SYS_SOCKETVAR_H
17420 #include <sys/socketvar.h>
17421 #endif
17422 #ifdef HAVE_NETINET_IN_H
17423 #include <netinet/in.h>
17424 #endif
17425 #ifdef HAVE_NETINET_TCP_H
17426 #include <netinet/tcp.h>
17427 #endif
17428 #ifdef HAVE_NETINET_TCP_VAR_H
17429 #include <netinet/tcp_var.h>
17430 #endif
17432 if test "x$ac_cv_member_struct_tcpstat_tcps_connattempt" = xyes; then :
17434 cat >>confdefs.h <<_ACEOF
17435 #define HAVE_STRUCT_TCPSTAT_TCPS_CONNATTEMPT 1
17436 _ACEOF
17442 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
17443 #include <netinet/tcp_var.h>
17444 #endif
17446 if test "x$ac_cv_member_struct_tcp_stats_tcps_connattempt" = xyes; then :
17448 cat >>confdefs.h <<_ACEOF
17449 #define HAVE_STRUCT_TCP_STATS_TCPS_CONNATTEMPT 1
17450 _ACEOF
17456 ac_fn_c_check_member "$LINENO" "struct udpstat" "udps_ipackets" "ac_cv_member_struct_udpstat_udps_ipackets" "#ifdef HAVE_SYS_TYPES_H
17457 #include <sys/types.h>
17458 #endif
17459 #ifdef HAVE_NETINET_IN_H
17460 #include <netinet/in.h>
17461 #endif
17462 #ifdef HAVE_NETINET_IP_VAR_H
17463 #include <netinet/ip_var.h>
17464 #endif
17465 #ifdef HAVE_NETINET_UDP_H
17466 #include <netinet/udp.h>
17467 #endif
17468 #ifdef HAVE_NETINET_UDP_VAR_H
17469 #include <netinet/udp_var.h>
17470 #endif
17472 if test "x$ac_cv_member_struct_udpstat_udps_ipackets" = xyes; then :
17474 cat >>confdefs.h <<_ACEOF
17475 #define HAVE_STRUCT_UDPSTAT_UDPS_IPACKETS 1
17476 _ACEOF
17482 ac_fn_c_check_member "$LINENO" "struct ifreq" "ifr_hwaddr" "ac_cv_member_struct_ifreq_ifr_hwaddr" "#ifdef HAVE_SYS_TYPES_H
17483 #include <sys/types.h>
17484 #endif
17485 #ifdef HAVE_NET_IF_H
17486 # include <net/if.h>
17487 #endif
17489 if test "x$ac_cv_member_struct_ifreq_ifr_hwaddr" = xyes; then :
17491 cat >>confdefs.h <<_ACEOF
17492 #define HAVE_STRUCT_IFREQ_IFR_HWADDR 1
17493 _ACEOF
17499 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for timezone variable" >&5
17500 $as_echo_n "checking for timezone variable... " >&6; }
17501 if ${ac_cv_have_timezone+:} false; then :
17502 $as_echo_n "(cached) " >&6
17503 else
17504 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17505 /* end confdefs.h. */
17506 #include <time.h>
17508 main ()
17510 timezone = 1
17512 return 0;
17514 _ACEOF
17515 if ac_fn_c_try_link "$LINENO"; then :
17516 ac_cv_have_timezone="yes"
17517 else
17518 ac_cv_have_timezone="no"
17520 rm -f core conftest.err conftest.$ac_objext \
17521 conftest$ac_exeext conftest.$ac_ext
17523 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_timezone" >&5
17524 $as_echo "$ac_cv_have_timezone" >&6; }
17525 if test "$ac_cv_have_timezone" = "yes"
17526 then
17528 $as_echo "#define HAVE_TIMEZONE 1" >>confdefs.h
17531 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for daylight variable" >&5
17532 $as_echo_n "checking for daylight variable... " >&6; }
17533 if ${ac_cv_have_daylight+:} false; then :
17534 $as_echo_n "(cached) " >&6
17535 else
17536 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17537 /* end confdefs.h. */
17538 #include <time.h>
17540 main ()
17542 daylight = 1
17544 return 0;
17546 _ACEOF
17547 if ac_fn_c_try_link "$LINENO"; then :
17548 ac_cv_have_daylight="yes"
17549 else
17550 ac_cv_have_daylight="no"
17552 rm -f core conftest.err conftest.$ac_objext \
17553 conftest$ac_exeext conftest.$ac_ext
17555 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_daylight" >&5
17556 $as_echo "$ac_cv_have_daylight" >&6; }
17557 if test "$ac_cv_have_daylight" = "yes"
17558 then
17560 $as_echo "#define HAVE_DAYLIGHT 1" >>confdefs.h
17564 ac_save_LIBS="$LIBS"
17565 LIBS="$LIBS -lm"
17566 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isfinite" >&5
17567 $as_echo_n "checking for isfinite... " >&6; }
17568 if ${ac_cv_have_isfinite+:} false; then :
17569 $as_echo_n "(cached) " >&6
17570 else
17571 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17572 /* end confdefs.h. */
17573 #define _GNU_SOURCE
17574 #include <math.h>
17576 main ()
17578 float f = 0.0; return isfinite(f)
17580 return 0;
17582 _ACEOF
17583 if ac_fn_c_try_link "$LINENO"; then :
17584 ac_cv_have_isfinite="yes"
17585 else
17586 ac_cv_have_isfinite="no"
17588 rm -f core conftest.err conftest.$ac_objext \
17589 conftest$ac_exeext conftest.$ac_ext
17591 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isfinite" >&5
17592 $as_echo "$ac_cv_have_isfinite" >&6; }
17593 if test "$ac_cv_have_isfinite" = "yes"
17594 then
17596 $as_echo "#define HAVE_ISFINITE 1" >>confdefs.h
17600 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isinf" >&5
17601 $as_echo_n "checking for isinf... " >&6; }
17602 if ${ac_cv_have_isinf+:} false; then :
17603 $as_echo_n "(cached) " >&6
17604 else
17605 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17606 /* end confdefs.h. */
17607 #include <math.h>
17609 main ()
17611 float f = 0.0; return isinf(f)
17613 return 0;
17615 _ACEOF
17616 if ac_fn_c_try_link "$LINENO"; then :
17617 ac_cv_have_isinf="yes"
17618 else
17619 ac_cv_have_isinf="no"
17621 rm -f core conftest.err conftest.$ac_objext \
17622 conftest$ac_exeext conftest.$ac_ext
17624 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isinf" >&5
17625 $as_echo "$ac_cv_have_isinf" >&6; }
17626 if test "$ac_cv_have_isinf" = "yes"
17627 then
17629 $as_echo "#define HAVE_ISINF 1" >>confdefs.h
17633 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for isnan" >&5
17634 $as_echo_n "checking for isnan... " >&6; }
17635 if ${ac_cv_have_isnan+:} false; then :
17636 $as_echo_n "(cached) " >&6
17637 else
17638 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17639 /* end confdefs.h. */
17640 #include <math.h>
17642 main ()
17644 float f = 0.0; return isnan(f)
17646 return 0;
17648 _ACEOF
17649 if ac_fn_c_try_link "$LINENO"; then :
17650 ac_cv_have_isnan="yes"
17651 else
17652 ac_cv_have_isnan="no"
17654 rm -f core conftest.err conftest.$ac_objext \
17655 conftest$ac_exeext conftest.$ac_ext
17657 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have_isnan" >&5
17658 $as_echo "$ac_cv_have_isnan" >&6; }
17659 if test "$ac_cv_have_isnan" = "yes"
17660 then
17662 $as_echo "#define HAVE_ISNAN 1" >>confdefs.h
17666 for ac_func in \
17667 acosh \
17668 acoshf \
17669 asinh \
17670 asinhf \
17671 atanh \
17672 atanhf \
17673 cbrt \
17674 cbrtf \
17675 erf \
17676 erfc \
17677 erfcf \
17678 erff \
17679 exp2 \
17680 exp2f \
17681 expm1 \
17682 expm1f \
17683 j0 \
17684 j1 \
17685 jn \
17686 lgamma \
17687 lgammaf \
17688 llrint \
17689 llrintf \
17690 llround \
17691 llroundf \
17692 log1p \
17693 log1pf \
17694 log2 \
17695 log2f \
17696 lrint \
17697 lrintf \
17698 lround \
17699 lroundf \
17700 nearbyint \
17701 nearbyintf \
17702 powl \
17703 remainder \
17704 remainderf \
17705 rint \
17706 rintf \
17707 round \
17708 roundf \
17709 trunc \
17710 truncf \
17711 y0 \
17712 y1 \
17715 do :
17716 as_ac_var=`$as_echo "ac_cv_func_$ac_func" | $as_tr_sh`
17717 ac_fn_c_check_func "$LINENO" "$ac_func" "$as_ac_var"
17718 if eval test \"x\$"$as_ac_var"\" = x"yes"; then :
17719 cat >>confdefs.h <<_ACEOF
17720 #define `$as_echo "HAVE_$ac_func" | $as_tr_cpp` 1
17721 _ACEOF
17724 done
17726 LIBS="$ac_save_LIBS"
17728 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_clz" >&5
17729 $as_echo_n "checking for __builtin_clz... " >&6; }
17730 if ${ac_cv_have___builtin_clz+:} false; then :
17731 $as_echo_n "(cached) " >&6
17732 else
17733 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17734 /* end confdefs.h. */
17737 main ()
17739 return __builtin_clz(1)
17741 return 0;
17743 _ACEOF
17744 if ac_fn_c_try_link "$LINENO"; then :
17745 ac_cv_have___builtin_clz="yes"
17746 else
17747 ac_cv_have___builtin_clz="no"
17749 rm -f core conftest.err conftest.$ac_objext \
17750 conftest$ac_exeext conftest.$ac_ext
17752 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_clz" >&5
17753 $as_echo "$ac_cv_have___builtin_clz" >&6; }
17754 if test "$ac_cv_have___builtin_clz" = "yes"
17755 then
17757 $as_echo "#define HAVE___BUILTIN_CLZ 1" >>confdefs.h
17761 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __builtin_popcount" >&5
17762 $as_echo_n "checking for __builtin_popcount... " >&6; }
17763 if ${ac_cv_have___builtin_popcount+:} false; then :
17764 $as_echo_n "(cached) " >&6
17765 else
17766 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17767 /* end confdefs.h. */
17770 main ()
17772 return __builtin_popcount(1)
17774 return 0;
17776 _ACEOF
17777 if ac_fn_c_try_link "$LINENO"; then :
17778 ac_cv_have___builtin_popcount="yes"
17779 else
17780 ac_cv_have___builtin_popcount="no"
17782 rm -f core conftest.err conftest.$ac_objext \
17783 conftest$ac_exeext conftest.$ac_ext
17785 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___builtin_popcount" >&5
17786 $as_echo "$ac_cv_have___builtin_popcount" >&6; }
17787 if test "$ac_cv_have___builtin_popcount" = "yes"
17788 then
17790 $as_echo "#define HAVE___BUILTIN_POPCOUNT 1" >>confdefs.h
17794 { $as_echo "$as_me:${as_lineno-$LINENO}: checking for __clear_cache" >&5
17795 $as_echo_n "checking for __clear_cache... " >&6; }
17796 if ${ac_cv_have___clear_cache+:} false; then :
17797 $as_echo_n "(cached) " >&6
17798 else
17799 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17800 /* end confdefs.h. */
17803 main ()
17805 __clear_cache((void*)0, (void*)0); return 0;
17807 return 0;
17809 _ACEOF
17810 if ac_fn_c_try_link "$LINENO"; then :
17811 ac_cv_have___clear_cache="yes"
17812 else
17813 ac_cv_have___clear_cache="no"
17815 rm -f core conftest.err conftest.$ac_objext \
17816 conftest$ac_exeext conftest.$ac_ext
17818 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_have___clear_cache" >&5
17819 $as_echo "$ac_cv_have___clear_cache" >&6; }
17820 if test "$ac_cv_have___clear_cache" = "yes"
17821 then
17823 $as_echo "#define HAVE___CLEAR_CACHE 1" >>confdefs.h
17828 case $host_cpu in
17829 *i[3456789]86*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __i386__" >&5
17830 $as_echo_n "checking whether we need to define __i386__... " >&6; }
17831 if ${ac_cv_cpp_def___i386__+:} false; then :
17832 $as_echo_n "(cached) " >&6
17833 else
17834 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17835 /* end confdefs.h. */
17836 #ifndef __i386__
17838 #endif
17839 _ACEOF
17840 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17841 $EGREP "yes" >/dev/null 2>&1; then :
17842 ac_cv_cpp_def___i386__=yes
17843 else
17844 ac_cv_cpp_def___i386__=no
17846 rm -f conftest*
17849 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___i386__" >&5
17850 $as_echo "$ac_cv_cpp_def___i386__" >&6; }
17851 if test "x$ac_cv_cpp_def___i386__" = xyes; then :
17852 CFLAGS="$CFLAGS -D__i386__"
17853 LINTFLAGS="$LINTFLAGS -D__i386__"
17854 fi ;;
17855 *x86_64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __x86_64__" >&5
17856 $as_echo_n "checking whether we need to define __x86_64__... " >&6; }
17857 if ${ac_cv_cpp_def___x86_64__+:} false; then :
17858 $as_echo_n "(cached) " >&6
17859 else
17860 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17861 /* end confdefs.h. */
17862 #ifndef __x86_64__
17864 #endif
17865 _ACEOF
17866 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17867 $EGREP "yes" >/dev/null 2>&1; then :
17868 ac_cv_cpp_def___x86_64__=yes
17869 else
17870 ac_cv_cpp_def___x86_64__=no
17872 rm -f conftest*
17875 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___x86_64__" >&5
17876 $as_echo "$ac_cv_cpp_def___x86_64__" >&6; }
17877 if test "x$ac_cv_cpp_def___x86_64__" = xyes; then :
17878 CFLAGS="$CFLAGS -D__x86_64__"
17879 LINTFLAGS="$LINTFLAGS -D__x86_64__"
17880 fi ;;
17881 *sparc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc64__" >&5
17882 $as_echo_n "checking whether we need to define __sparc64__... " >&6; }
17883 if ${ac_cv_cpp_def___sparc64__+:} false; then :
17884 $as_echo_n "(cached) " >&6
17885 else
17886 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17887 /* end confdefs.h. */
17888 #ifndef __sparc64__
17890 #endif
17891 _ACEOF
17892 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17893 $EGREP "yes" >/dev/null 2>&1; then :
17894 ac_cv_cpp_def___sparc64__=yes
17895 else
17896 ac_cv_cpp_def___sparc64__=no
17898 rm -f conftest*
17901 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc64__" >&5
17902 $as_echo "$ac_cv_cpp_def___sparc64__" >&6; }
17903 if test "x$ac_cv_cpp_def___sparc64__" = xyes; then :
17904 CFLAGS="$CFLAGS -D__sparc64__"
17905 LINTFLAGS="$LINTFLAGS -D__sparc64__"
17906 fi ;;
17907 *sparc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sparc__" >&5
17908 $as_echo_n "checking whether we need to define __sparc__... " >&6; }
17909 if ${ac_cv_cpp_def___sparc__+:} false; then :
17910 $as_echo_n "(cached) " >&6
17911 else
17912 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17913 /* end confdefs.h. */
17914 #ifndef __sparc__
17916 #endif
17917 _ACEOF
17918 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17919 $EGREP "yes" >/dev/null 2>&1; then :
17920 ac_cv_cpp_def___sparc__=yes
17921 else
17922 ac_cv_cpp_def___sparc__=no
17924 rm -f conftest*
17927 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sparc__" >&5
17928 $as_echo "$ac_cv_cpp_def___sparc__" >&6; }
17929 if test "x$ac_cv_cpp_def___sparc__" = xyes; then :
17930 CFLAGS="$CFLAGS -D__sparc__"
17931 LINTFLAGS="$LINTFLAGS -D__sparc__"
17932 fi ;;
17933 *powerpc64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc64__" >&5
17934 $as_echo_n "checking whether we need to define __powerpc64__... " >&6; }
17935 if ${ac_cv_cpp_def___powerpc64__+:} false; then :
17936 $as_echo_n "(cached) " >&6
17937 else
17938 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17939 /* end confdefs.h. */
17940 #ifndef __powerpc64__
17942 #endif
17943 _ACEOF
17944 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17945 $EGREP "yes" >/dev/null 2>&1; then :
17946 ac_cv_cpp_def___powerpc64__=yes
17947 else
17948 ac_cv_cpp_def___powerpc64__=no
17950 rm -f conftest*
17953 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc64__" >&5
17954 $as_echo "$ac_cv_cpp_def___powerpc64__" >&6; }
17955 if test "x$ac_cv_cpp_def___powerpc64__" = xyes; then :
17956 CFLAGS="$CFLAGS -D__powerpc64__"
17957 LINTFLAGS="$LINTFLAGS -D__powerpc64__"
17958 fi ;;
17959 *powerpc*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __powerpc__" >&5
17960 $as_echo_n "checking whether we need to define __powerpc__... " >&6; }
17961 if ${ac_cv_cpp_def___powerpc__+:} false; then :
17962 $as_echo_n "(cached) " >&6
17963 else
17964 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17965 /* end confdefs.h. */
17966 #ifndef __powerpc__
17968 #endif
17969 _ACEOF
17970 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17971 $EGREP "yes" >/dev/null 2>&1; then :
17972 ac_cv_cpp_def___powerpc__=yes
17973 else
17974 ac_cv_cpp_def___powerpc__=no
17976 rm -f conftest*
17979 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___powerpc__" >&5
17980 $as_echo "$ac_cv_cpp_def___powerpc__" >&6; }
17981 if test "x$ac_cv_cpp_def___powerpc__" = xyes; then :
17982 CFLAGS="$CFLAGS -D__powerpc__"
17983 LINTFLAGS="$LINTFLAGS -D__powerpc__"
17984 fi ;;
17985 *aarch64*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __aarch64__" >&5
17986 $as_echo_n "checking whether we need to define __aarch64__... " >&6; }
17987 if ${ac_cv_cpp_def___aarch64__+:} false; then :
17988 $as_echo_n "(cached) " >&6
17989 else
17990 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
17991 /* end confdefs.h. */
17992 #ifndef __aarch64__
17994 #endif
17995 _ACEOF
17996 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
17997 $EGREP "yes" >/dev/null 2>&1; then :
17998 ac_cv_cpp_def___aarch64__=yes
17999 else
18000 ac_cv_cpp_def___aarch64__=no
18002 rm -f conftest*
18005 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___aarch64__" >&5
18006 $as_echo "$ac_cv_cpp_def___aarch64__" >&6; }
18007 if test "x$ac_cv_cpp_def___aarch64__" = xyes; then :
18008 CFLAGS="$CFLAGS -D__aarch64__"
18009 LINTFLAGS="$LINTFLAGS -D__aarch64__"
18010 fi ;;
18011 *arm*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __arm__" >&5
18012 $as_echo_n "checking whether we need to define __arm__... " >&6; }
18013 if ${ac_cv_cpp_def___arm__+:} false; then :
18014 $as_echo_n "(cached) " >&6
18015 else
18016 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18017 /* end confdefs.h. */
18018 #ifndef __arm__
18020 #endif
18021 _ACEOF
18022 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18023 $EGREP "yes" >/dev/null 2>&1; then :
18024 ac_cv_cpp_def___arm__=yes
18025 else
18026 ac_cv_cpp_def___arm__=no
18028 rm -f conftest*
18031 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___arm__" >&5
18032 $as_echo "$ac_cv_cpp_def___arm__" >&6; }
18033 if test "x$ac_cv_cpp_def___arm__" = xyes; then :
18034 CFLAGS="$CFLAGS -D__arm__"
18035 LINTFLAGS="$LINTFLAGS -D__arm__"
18036 fi ;;
18037 esac
18039 case $host_vendor in
18040 *sun*) { $as_echo "$as_me:${as_lineno-$LINENO}: checking whether we need to define __sun__" >&5
18041 $as_echo_n "checking whether we need to define __sun__... " >&6; }
18042 if ${ac_cv_cpp_def___sun__+:} false; then :
18043 $as_echo_n "(cached) " >&6
18044 else
18045 cat confdefs.h - <<_ACEOF >conftest.$ac_ext
18046 /* end confdefs.h. */
18047 #ifndef __sun__
18049 #endif
18050 _ACEOF
18051 if (eval "$ac_cpp conftest.$ac_ext") 2>&5 |
18052 $EGREP "yes" >/dev/null 2>&1; then :
18053 ac_cv_cpp_def___sun__=yes
18054 else
18055 ac_cv_cpp_def___sun__=no
18057 rm -f conftest*
18060 { $as_echo "$as_me:${as_lineno-$LINENO}: result: $ac_cv_cpp_def___sun__" >&5
18061 $as_echo "$ac_cv_cpp_def___sun__" >&6; }
18062 if test "x$ac_cv_cpp_def___sun__" = xyes; then :
18063 CFLAGS="$CFLAGS -D__sun__"
18064 LINTFLAGS="$LINTFLAGS -D__sun__"
18065 fi ;;
18066 esac
18072 ac_config_commands="$ac_config_commands include/stamp-h"
18074 $as_echo_n "creating Makefile rules..." >&6
18076 ALL_VARS_RULES="OPENGL_LIBS = $OPENGL_LIBS
18077 SOCKET_LIBS = $SOCKET_LIBS
18078 COREFOUNDATION_LIBS = $COREFOUNDATION_LIBS
18079 IOKIT_LIBS = $IOKIT_LIBS
18080 FORCEFEEDBACK_LIBS = $FORCEFEEDBACK_LIBS
18081 APPLICATIONSERVICES_LIBS = $APPLICATIONSERVICES_LIBS
18082 CORESERVICES_LIBS = $CORESERVICES_LIBS
18083 APPKIT_LIBS = $APPKIT_LIBS
18084 DISKARBITRATION_LIBS = $DISKARBITRATION_LIBS
18085 SECURITY_LIBS = $SECURITY_LIBS
18086 COREAUDIO_LIBS = $COREAUDIO_LIBS
18087 OPENAL_LIBS = $OPENAL_LIBS
18088 OPENCL_LIBS = $OPENCL_LIBS
18089 QUICKTIME_LIBS = $QUICKTIME_LIBS
18090 CARBON_LIBS = $CARBON_LIBS
18091 PTHREAD_LIBS = $PTHREAD_LIBS
18092 X_CFLAGS = $X_CFLAGS
18093 X_PRE_LIBS = $X_PRE_LIBS
18094 X_LIBS = $X_LIBS
18095 X_EXTRA_LIBS = $X_EXTRA_LIBS
18096 PCAP_LIBS = $PCAP_LIBS
18097 XML2_CFLAGS = $XML2_CFLAGS
18098 XML2_LIBS = $XML2_LIBS
18099 XSLT_CFLAGS = $XSLT_CFLAGS
18100 XSLT_LIBS = $XSLT_LIBS
18101 DBUS_CFLAGS = $DBUS_CFLAGS
18102 DBUS_LIBS = $DBUS_LIBS
18103 HAL_CFLAGS = $HAL_CFLAGS
18104 HAL_LIBS = $HAL_LIBS
18105 GNUTLS_CFLAGS = $GNUTLS_CFLAGS
18106 GNUTLS_LIBS = $GNUTLS_LIBS
18107 SANE_CFLAGS = $SANE_CFLAGS
18108 SANE_LIBS = $SANE_LIBS
18109 GPHOTO2_CFLAGS = $GPHOTO2_CFLAGS
18110 GPHOTO2_LIBS = $GPHOTO2_LIBS
18111 GPHOTO2_PORT_CFLAGS = $GPHOTO2_PORT_CFLAGS
18112 GPHOTO2_PORT_LIBS = $GPHOTO2_PORT_LIBS
18113 RESOLV_LIBS = $RESOLV_LIBS
18114 LCMS2_CFLAGS = $LCMS2_CFLAGS
18115 LCMS2_LIBS = $LCMS2_LIBS
18116 FREETYPE_CFLAGS = $FREETYPE_CFLAGS
18117 FREETYPE_LIBS = $FREETYPE_LIBS
18118 Z_LIBS = $Z_LIBS
18119 GETTEXTPO_LIBS = $GETTEXTPO_LIBS
18120 PULSE_CFLAGS = $PULSE_CFLAGS
18121 PULSE_LIBS = $PULSE_LIBS
18122 GSTREAMER_CFLAGS = $GSTREAMER_CFLAGS
18123 GSTREAMER_LIBS = $GSTREAMER_LIBS
18124 ALSA_LIBS = $ALSA_LIBS
18125 OSS4_CFLAGS = $OSS4_CFLAGS
18126 UDEV_CFLAGS = $UDEV_CFLAGS
18127 UDEV_LIBS = $UDEV_LIBS
18128 SDL2_CFLAGS = $SDL2_CFLAGS
18129 SDL2_LIBS = $SDL2_LIBS
18130 CAPI20_CFLAGS = $CAPI20_CFLAGS
18131 CAPI20_LIBS = $CAPI20_LIBS
18132 CUPS_CFLAGS = $CUPS_CFLAGS
18133 CUPS_LIBS = $CUPS_LIBS
18134 FONTCONFIG_CFLAGS = $FONTCONFIG_CFLAGS
18135 FONTCONFIG_LIBS = $FONTCONFIG_LIBS
18136 KRB5_CFLAGS = $KRB5_CFLAGS
18137 KRB5_LIBS = $KRB5_LIBS
18138 GSSAPI_CFLAGS = $GSSAPI_CFLAGS
18139 GSSAPI_LIBS = $GSSAPI_LIBS
18140 JPEG_CFLAGS = $JPEG_CFLAGS
18141 JPEG_LIBS = $JPEG_LIBS
18142 PNG_CFLAGS = $PNG_CFLAGS
18143 PNG_LIBS = $PNG_LIBS
18144 TIFF_CFLAGS = $TIFF_CFLAGS
18145 TIFF_LIBS = $TIFF_LIBS
18146 MPG123_CFLAGS = $MPG123_CFLAGS
18147 MPG123_LIBS = $MPG123_LIBS
18148 KSTAT_LIBS = $KSTAT_LIBS
18149 PROCSTAT_LIBS = $PROCSTAT_LIBS
18150 NETAPI_CFLAGS = $NETAPI_CFLAGS
18151 NETAPI_LIBS = $NETAPI_LIBS
18152 EXCESS_PRECISION_CFLAGS = $EXCESS_PRECISION_CFLAGS
18153 DL_LIBS = $DL_LIBS
18154 POLL_LIBS = $POLL_LIBS
18155 RT_LIBS = $RT_LIBS
18156 LDAP_CFLAGS = $LDAP_CFLAGS
18157 LDAP_LIBS = $LDAP_LIBS
18162 wine_fn_append_rule "
18163 # Rules automatically generated by configure
18165 .INIT: Makefile
18166 .MAKEFILEDEPS:
18167 all: Makefile
18168 Makefile: $srcdir/Makefile.in config.status \$(MAKEDEP)
18169 @./config.status Make.tmp Makefile
18170 depend: \$(MAKEDEP) dummy
18171 \$(MAKEDEP)"
18173 if test "x$enable_fonts" != xno; then
18174 ac_config_links="$ac_config_links fonts/marlett.ttf:fonts/marlett.ttf"
18175 ac_config_links="$ac_config_links fonts/symbol.ttf:fonts/symbol.ttf"
18176 ac_config_links="$ac_config_links fonts/tahoma.ttf:fonts/tahoma.ttf"
18177 ac_config_links="$ac_config_links fonts/tahomabd.ttf:fonts/tahomabd.ttf"
18178 ac_config_links="$ac_config_links fonts/wingding.ttf:fonts/wingding.ttf"
18179 test "$srcdir" = "." || wine_fn_config_symlink fonts/marlett.ttf fonts/symbol.ttf fonts/tahoma.ttf fonts/tahomabd.ttf fonts/wingding.ttf
18181 ac_config_links="$ac_config_links loader/l_intl.nls:loader/l_intl.nls"
18182 test "$srcdir" = "." || wine_fn_config_symlink loader/l_intl.nls
18183 ac_config_links="$ac_config_links wine:tools/winewrapper"
18184 wine_fn_config_symlink wine
18185 if test "x$enable_win64" != xno; then
18186 ac_config_links="$ac_config_links wine64:tools/winewrapper"
18187 wine_fn_config_symlink wine64
18190 wine_fn_config_makefile dlls/acledit enable_acledit
18191 wine_fn_config_makefile dlls/aclui enable_aclui
18192 wine_fn_config_makefile dlls/activeds enable_activeds
18193 wine_fn_config_makefile dlls/actxprxy enable_actxprxy
18194 wine_fn_config_makefile dlls/adsiid enable_adsiid
18195 wine_fn_config_makefile dlls/adsldp enable_adsldp
18196 wine_fn_config_makefile dlls/adsldp/tests enable_tests
18197 wine_fn_config_makefile dlls/adsldpc enable_adsldpc
18198 wine_fn_config_makefile dlls/advapi32 enable_advapi32
18199 wine_fn_config_makefile dlls/advapi32/tests enable_tests
18200 wine_fn_config_makefile dlls/advpack enable_advpack
18201 wine_fn_config_makefile dlls/advpack/tests enable_tests
18202 wine_fn_config_makefile dlls/amstream enable_amstream
18203 wine_fn_config_makefile dlls/amstream/tests enable_tests
18204 wine_fn_config_makefile dlls/api-ms-win-appmodel-identity-l1-1-0 enable_api_ms_win_appmodel_identity_l1_1_0
18205 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-1 enable_api_ms_win_appmodel_runtime_l1_1_1
18206 wine_fn_config_makefile dlls/api-ms-win-appmodel-runtime-l1-1-2 enable_api_ms_win_appmodel_runtime_l1_1_2
18207 wine_fn_config_makefile dlls/api-ms-win-core-apiquery-l1-1-0 enable_api_ms_win_core_apiquery_l1_1_0
18208 wine_fn_config_makefile dlls/api-ms-win-core-appcompat-l1-1-1 enable_api_ms_win_core_appcompat_l1_1_1
18209 wine_fn_config_makefile dlls/api-ms-win-core-appinit-l1-1-0 enable_api_ms_win_core_appinit_l1_1_0
18210 wine_fn_config_makefile dlls/api-ms-win-core-atoms-l1-1-0 enable_api_ms_win_core_atoms_l1_1_0
18211 wine_fn_config_makefile dlls/api-ms-win-core-bem-l1-1-0 enable_api_ms_win_core_bem_l1_1_0
18212 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-0 enable_api_ms_win_core_com_l1_1_0
18213 wine_fn_config_makefile dlls/api-ms-win-core-com-l1-1-1 enable_api_ms_win_core_com_l1_1_1
18214 wine_fn_config_makefile dlls/api-ms-win-core-com-private-l1-1-0 enable_api_ms_win_core_com_private_l1_1_0
18215 wine_fn_config_makefile dlls/api-ms-win-core-console-l1-1-0 enable_api_ms_win_core_console_l1_1_0
18216 wine_fn_config_makefile dlls/api-ms-win-core-console-l2-1-0 enable_api_ms_win_core_console_l2_1_0
18217 wine_fn_config_makefile dlls/api-ms-win-core-crt-l1-1-0 enable_api_ms_win_core_crt_l1_1_0
18218 wine_fn_config_makefile dlls/api-ms-win-core-crt-l2-1-0 enable_api_ms_win_core_crt_l2_1_0
18219 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-0 enable_api_ms_win_core_datetime_l1_1_0
18220 wine_fn_config_makefile dlls/api-ms-win-core-datetime-l1-1-1 enable_api_ms_win_core_datetime_l1_1_1
18221 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-0 enable_api_ms_win_core_debug_l1_1_0
18222 wine_fn_config_makefile dlls/api-ms-win-core-debug-l1-1-1 enable_api_ms_win_core_debug_l1_1_1
18223 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-0 enable_api_ms_win_core_delayload_l1_1_0
18224 wine_fn_config_makefile dlls/api-ms-win-core-delayload-l1-1-1 enable_api_ms_win_core_delayload_l1_1_1
18225 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-0 enable_api_ms_win_core_errorhandling_l1_1_0
18226 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-1 enable_api_ms_win_core_errorhandling_l1_1_1
18227 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-2 enable_api_ms_win_core_errorhandling_l1_1_2
18228 wine_fn_config_makefile dlls/api-ms-win-core-errorhandling-l1-1-3 enable_api_ms_win_core_errorhandling_l1_1_3
18229 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-0 enable_api_ms_win_core_fibers_l1_1_0
18230 wine_fn_config_makefile dlls/api-ms-win-core-fibers-l1-1-1 enable_api_ms_win_core_fibers_l1_1_1
18231 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-1-0 enable_api_ms_win_core_file_l1_1_0
18232 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-0 enable_api_ms_win_core_file_l1_2_0
18233 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-1 enable_api_ms_win_core_file_l1_2_1
18234 wine_fn_config_makefile dlls/api-ms-win-core-file-l1-2-2 enable_api_ms_win_core_file_l1_2_2
18235 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-0 enable_api_ms_win_core_file_l2_1_0
18236 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-1 enable_api_ms_win_core_file_l2_1_1
18237 wine_fn_config_makefile dlls/api-ms-win-core-file-l2-1-2 enable_api_ms_win_core_file_l2_1_2
18238 wine_fn_config_makefile dlls/api-ms-win-core-handle-l1-1-0 enable_api_ms_win_core_handle_l1_1_0
18239 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-1-0 enable_api_ms_win_core_heap_l1_1_0
18240 wine_fn_config_makefile dlls/api-ms-win-core-heap-l1-2-0 enable_api_ms_win_core_heap_l1_2_0
18241 wine_fn_config_makefile dlls/api-ms-win-core-heap-l2-1-0 enable_api_ms_win_core_heap_l2_1_0
18242 wine_fn_config_makefile dlls/api-ms-win-core-heap-obsolete-l1-1-0 enable_api_ms_win_core_heap_obsolete_l1_1_0
18243 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-1-0 enable_api_ms_win_core_interlocked_l1_1_0
18244 wine_fn_config_makefile dlls/api-ms-win-core-interlocked-l1-2-0 enable_api_ms_win_core_interlocked_l1_2_0
18245 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-0 enable_api_ms_win_core_io_l1_1_0
18246 wine_fn_config_makefile dlls/api-ms-win-core-io-l1-1-1 enable_api_ms_win_core_io_l1_1_1
18247 wine_fn_config_makefile dlls/api-ms-win-core-job-l1-1-0 enable_api_ms_win_core_job_l1_1_0
18248 wine_fn_config_makefile dlls/api-ms-win-core-job-l2-1-0 enable_api_ms_win_core_job_l2_1_0
18249 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-0 enable_api_ms_win_core_kernel32_legacy_l1_1_0
18250 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-legacy-l1-1-1 enable_api_ms_win_core_kernel32_legacy_l1_1_1
18251 wine_fn_config_makefile dlls/api-ms-win-core-kernel32-private-l1-1-1 enable_api_ms_win_core_kernel32_private_l1_1_1
18252 wine_fn_config_makefile dlls/api-ms-win-core-largeinteger-l1-1-0 enable_api_ms_win_core_largeinteger_l1_1_0
18253 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-0 enable_api_ms_win_core_libraryloader_l1_1_0
18254 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-1-1 enable_api_ms_win_core_libraryloader_l1_1_1
18255 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-0 enable_api_ms_win_core_libraryloader_l1_2_0
18256 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-1 enable_api_ms_win_core_libraryloader_l1_2_1
18257 wine_fn_config_makefile dlls/api-ms-win-core-libraryloader-l1-2-2 enable_api_ms_win_core_libraryloader_l1_2_2
18258 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-1-0 enable_api_ms_win_core_localization_l1_1_0
18259 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-0 enable_api_ms_win_core_localization_l1_2_0
18260 wine_fn_config_makefile dlls/api-ms-win-core-localization-l1-2-1 enable_api_ms_win_core_localization_l1_2_1
18261 wine_fn_config_makefile dlls/api-ms-win-core-localization-l2-1-0 enable_api_ms_win_core_localization_l2_1_0
18262 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-1-0 enable_api_ms_win_core_localization_obsolete_l1_1_0
18263 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-2-0 enable_api_ms_win_core_localization_obsolete_l1_2_0
18264 wine_fn_config_makefile dlls/api-ms-win-core-localization-obsolete-l1-3-0 enable_api_ms_win_core_localization_obsolete_l1_3_0
18265 wine_fn_config_makefile dlls/api-ms-win-core-localization-private-l1-1-0 enable_api_ms_win_core_localization_private_l1_1_0
18266 wine_fn_config_makefile dlls/api-ms-win-core-localregistry-l1-1-0 enable_api_ms_win_core_localregistry_l1_1_0
18267 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-0 enable_api_ms_win_core_memory_l1_1_0
18268 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-1 enable_api_ms_win_core_memory_l1_1_1
18269 wine_fn_config_makefile dlls/api-ms-win-core-memory-l1-1-2 enable_api_ms_win_core_memory_l1_1_2
18270 wine_fn_config_makefile dlls/api-ms-win-core-misc-l1-1-0 enable_api_ms_win_core_misc_l1_1_0
18271 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-1-0 enable_api_ms_win_core_namedpipe_l1_1_0
18272 wine_fn_config_makefile dlls/api-ms-win-core-namedpipe-l1-2-0 enable_api_ms_win_core_namedpipe_l1_2_0
18273 wine_fn_config_makefile dlls/api-ms-win-core-namespace-l1-1-0 enable_api_ms_win_core_namespace_l1_1_0
18274 wine_fn_config_makefile dlls/api-ms-win-core-normalization-l1-1-0 enable_api_ms_win_core_normalization_l1_1_0
18275 wine_fn_config_makefile dlls/api-ms-win-core-path-l1-1-0 enable_api_ms_win_core_path_l1_1_0
18276 wine_fn_config_makefile dlls/api-ms-win-core-privateprofile-l1-1-1 enable_api_ms_win_core_privateprofile_l1_1_1
18277 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-1-0 enable_api_ms_win_core_processenvironment_l1_1_0
18278 wine_fn_config_makefile dlls/api-ms-win-core-processenvironment-l1-2-0 enable_api_ms_win_core_processenvironment_l1_2_0
18279 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-0 enable_api_ms_win_core_processthreads_l1_1_0
18280 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-1 enable_api_ms_win_core_processthreads_l1_1_1
18281 wine_fn_config_makefile dlls/api-ms-win-core-processthreads-l1-1-2 enable_api_ms_win_core_processthreads_l1_1_2
18282 wine_fn_config_makefile dlls/api-ms-win-core-processtopology-obsolete-l1-1-0 enable_api_ms_win_core_processtopology_obsolete_l1_1_0
18283 wine_fn_config_makefile dlls/api-ms-win-core-profile-l1-1-0 enable_api_ms_win_core_profile_l1_1_0
18284 wine_fn_config_makefile dlls/api-ms-win-core-psapi-ansi-l1-1-0 enable_api_ms_win_core_psapi_ansi_l1_1_0
18285 wine_fn_config_makefile dlls/api-ms-win-core-psapi-l1-1-0 enable_api_ms_win_core_psapi_l1_1_0
18286 wine_fn_config_makefile dlls/api-ms-win-core-psapi-obsolete-l1-1-0 enable_api_ms_win_core_psapi_obsolete_l1_1_0
18287 wine_fn_config_makefile dlls/api-ms-win-core-quirks-l1-1-0 enable_api_ms_win_core_quirks_l1_1_0
18288 wine_fn_config_makefile dlls/api-ms-win-core-realtime-l1-1-0 enable_api_ms_win_core_realtime_l1_1_0
18289 wine_fn_config_makefile dlls/api-ms-win-core-registry-l1-1-0 enable_api_ms_win_core_registry_l1_1_0
18290 wine_fn_config_makefile dlls/api-ms-win-core-registry-l2-1-0 enable_api_ms_win_core_registry_l2_1_0
18291 wine_fn_config_makefile dlls/api-ms-win-core-registryuserspecific-l1-1-0 enable_api_ms_win_core_registryuserspecific_l1_1_0
18292 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-1-0 enable_api_ms_win_core_rtlsupport_l1_1_0
18293 wine_fn_config_makefile dlls/api-ms-win-core-rtlsupport-l1-2-0 enable_api_ms_win_core_rtlsupport_l1_2_0
18294 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-legacy-l1-1-0 enable_api_ms_win_core_shlwapi_legacy_l1_1_0
18295 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-1-0 enable_api_ms_win_core_shlwapi_obsolete_l1_1_0
18296 wine_fn_config_makefile dlls/api-ms-win-core-shlwapi-obsolete-l1-2-0 enable_api_ms_win_core_shlwapi_obsolete_l1_2_0
18297 wine_fn_config_makefile dlls/api-ms-win-core-shutdown-l1-1-0 enable_api_ms_win_core_shutdown_l1_1_0
18298 wine_fn_config_makefile dlls/api-ms-win-core-sidebyside-l1-1-0 enable_api_ms_win_core_sidebyside_l1_1_0
18299 wine_fn_config_makefile dlls/api-ms-win-core-string-l1-1-0 enable_api_ms_win_core_string_l1_1_0
18300 wine_fn_config_makefile dlls/api-ms-win-core-string-l2-1-0 enable_api_ms_win_core_string_l2_1_0
18301 wine_fn_config_makefile dlls/api-ms-win-core-string-obsolete-l1-1-0 enable_api_ms_win_core_string_obsolete_l1_1_0
18302 wine_fn_config_makefile dlls/api-ms-win-core-stringansi-l1-1-0 enable_api_ms_win_core_stringansi_l1_1_0
18303 wine_fn_config_makefile dlls/api-ms-win-core-synch-ansi-l1-1-0 enable_api_ms_win_core_synch_ansi_l1_1_0
18304 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-1-0 enable_api_ms_win_core_synch_l1_1_0
18305 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-0 enable_api_ms_win_core_synch_l1_2_0
18306 wine_fn_config_makefile dlls/api-ms-win-core-synch-l1-2-1 enable_api_ms_win_core_synch_l1_2_1
18307 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-1-0 enable_api_ms_win_core_sysinfo_l1_1_0
18308 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-0 enable_api_ms_win_core_sysinfo_l1_2_0
18309 wine_fn_config_makefile dlls/api-ms-win-core-sysinfo-l1-2-1 enable_api_ms_win_core_sysinfo_l1_2_1
18310 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-1-0 enable_api_ms_win_core_threadpool_l1_1_0
18311 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-l1-2-0 enable_api_ms_win_core_threadpool_l1_2_0
18312 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-legacy-l1-1-0 enable_api_ms_win_core_threadpool_legacy_l1_1_0
18313 wine_fn_config_makefile dlls/api-ms-win-core-threadpool-private-l1-1-0 enable_api_ms_win_core_threadpool_private_l1_1_0
18314 wine_fn_config_makefile dlls/api-ms-win-core-timezone-l1-1-0 enable_api_ms_win_core_timezone_l1_1_0
18315 wine_fn_config_makefile dlls/api-ms-win-core-toolhelp-l1-1-0 enable_api_ms_win_core_toolhelp_l1_1_0
18316 wine_fn_config_makefile dlls/api-ms-win-core-url-l1-1-0 enable_api_ms_win_core_url_l1_1_0
18317 wine_fn_config_makefile dlls/api-ms-win-core-util-l1-1-0 enable_api_ms_win_core_util_l1_1_0
18318 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-0 enable_api_ms_win_core_version_l1_1_0
18319 wine_fn_config_makefile dlls/api-ms-win-core-version-l1-1-1 enable_api_ms_win_core_version_l1_1_1
18320 wine_fn_config_makefile dlls/api-ms-win-core-version-private-l1-1-0 enable_api_ms_win_core_version_private_l1_1_0
18321 wine_fn_config_makefile dlls/api-ms-win-core-versionansi-l1-1-0 enable_api_ms_win_core_versionansi_l1_1_0
18322 wine_fn_config_makefile dlls/api-ms-win-core-windowserrorreporting-l1-1-0 enable_api_ms_win_core_windowserrorreporting_l1_1_0
18323 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-0 enable_api_ms_win_core_winrt_error_l1_1_0
18324 wine_fn_config_makefile dlls/api-ms-win-core-winrt-error-l1-1-1 enable_api_ms_win_core_winrt_error_l1_1_1
18325 wine_fn_config_makefile dlls/api-ms-win-core-winrt-errorprivate-l1-1-1 enable_api_ms_win_core_winrt_errorprivate_l1_1_1
18326 wine_fn_config_makefile dlls/api-ms-win-core-winrt-l1-1-0 enable_api_ms_win_core_winrt_l1_1_0
18327 wine_fn_config_makefile dlls/api-ms-win-core-winrt-registration-l1-1-0 enable_api_ms_win_core_winrt_registration_l1_1_0
18328 wine_fn_config_makefile dlls/api-ms-win-core-winrt-roparameterizediid-l1-1-0 enable_api_ms_win_core_winrt_roparameterizediid_l1_1_0
18329 wine_fn_config_makefile dlls/api-ms-win-core-winrt-string-l1-1-0 enable_api_ms_win_core_winrt_string_l1_1_0
18330 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-0 enable_api_ms_win_core_wow64_l1_1_0
18331 wine_fn_config_makefile dlls/api-ms-win-core-wow64-l1-1-1 enable_api_ms_win_core_wow64_l1_1_1
18332 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l1-1-0 enable_api_ms_win_core_xstate_l1_1_0
18333 wine_fn_config_makefile dlls/api-ms-win-core-xstate-l2-1-0 enable_api_ms_win_core_xstate_l2_1_0
18334 wine_fn_config_makefile dlls/api-ms-win-crt-conio-l1-1-0 enable_api_ms_win_crt_conio_l1_1_0
18335 wine_fn_config_makefile dlls/api-ms-win-crt-convert-l1-1-0 enable_api_ms_win_crt_convert_l1_1_0
18336 wine_fn_config_makefile dlls/api-ms-win-crt-environment-l1-1-0 enable_api_ms_win_crt_environment_l1_1_0
18337 wine_fn_config_makefile dlls/api-ms-win-crt-filesystem-l1-1-0 enable_api_ms_win_crt_filesystem_l1_1_0
18338 wine_fn_config_makefile dlls/api-ms-win-crt-heap-l1-1-0 enable_api_ms_win_crt_heap_l1_1_0
18339 wine_fn_config_makefile dlls/api-ms-win-crt-locale-l1-1-0 enable_api_ms_win_crt_locale_l1_1_0
18340 wine_fn_config_makefile dlls/api-ms-win-crt-math-l1-1-0 enable_api_ms_win_crt_math_l1_1_0
18341 wine_fn_config_makefile dlls/api-ms-win-crt-multibyte-l1-1-0 enable_api_ms_win_crt_multibyte_l1_1_0
18342 wine_fn_config_makefile dlls/api-ms-win-crt-private-l1-1-0 enable_api_ms_win_crt_private_l1_1_0
18343 wine_fn_config_makefile dlls/api-ms-win-crt-process-l1-1-0 enable_api_ms_win_crt_process_l1_1_0
18344 wine_fn_config_makefile dlls/api-ms-win-crt-runtime-l1-1-0 enable_api_ms_win_crt_runtime_l1_1_0
18345 wine_fn_config_makefile dlls/api-ms-win-crt-stdio-l1-1-0 enable_api_ms_win_crt_stdio_l1_1_0
18346 wine_fn_config_makefile dlls/api-ms-win-crt-string-l1-1-0 enable_api_ms_win_crt_string_l1_1_0
18347 wine_fn_config_makefile dlls/api-ms-win-crt-time-l1-1-0 enable_api_ms_win_crt_time_l1_1_0
18348 wine_fn_config_makefile dlls/api-ms-win-crt-utility-l1-1-0 enable_api_ms_win_crt_utility_l1_1_0
18349 wine_fn_config_makefile dlls/api-ms-win-devices-config-l1-1-1 enable_api_ms_win_devices_config_l1_1_1
18350 wine_fn_config_makefile dlls/api-ms-win-devices-query-l1-1-1 enable_api_ms_win_devices_query_l1_1_1
18351 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l1-1-0 enable_api_ms_win_downlevel_advapi32_l1_1_0
18352 wine_fn_config_makefile dlls/api-ms-win-downlevel-advapi32-l2-1-0 enable_api_ms_win_downlevel_advapi32_l2_1_0
18353 wine_fn_config_makefile dlls/api-ms-win-downlevel-normaliz-l1-1-0 enable_api_ms_win_downlevel_normaliz_l1_1_0
18354 wine_fn_config_makefile dlls/api-ms-win-downlevel-ole32-l1-1-0 enable_api_ms_win_downlevel_ole32_l1_1_0
18355 wine_fn_config_makefile dlls/api-ms-win-downlevel-shell32-l1-1-0 enable_api_ms_win_downlevel_shell32_l1_1_0
18356 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l1-1-0 enable_api_ms_win_downlevel_shlwapi_l1_1_0
18357 wine_fn_config_makefile dlls/api-ms-win-downlevel-shlwapi-l2-1-0 enable_api_ms_win_downlevel_shlwapi_l2_1_0
18358 wine_fn_config_makefile dlls/api-ms-win-downlevel-user32-l1-1-0 enable_api_ms_win_downlevel_user32_l1_1_0
18359 wine_fn_config_makefile dlls/api-ms-win-downlevel-version-l1-1-0 enable_api_ms_win_downlevel_version_l1_1_0
18360 wine_fn_config_makefile dlls/api-ms-win-dx-d3dkmt-l1-1-0 enable_api_ms_win_dx_d3dkmt_l1_1_0
18361 wine_fn_config_makefile dlls/api-ms-win-eventing-classicprovider-l1-1-0 enable_api_ms_win_eventing_classicprovider_l1_1_0
18362 wine_fn_config_makefile dlls/api-ms-win-eventing-consumer-l1-1-0 enable_api_ms_win_eventing_consumer_l1_1_0
18363 wine_fn_config_makefile dlls/api-ms-win-eventing-controller-l1-1-0 enable_api_ms_win_eventing_controller_l1_1_0
18364 wine_fn_config_makefile dlls/api-ms-win-eventing-legacy-l1-1-0 enable_api_ms_win_eventing_legacy_l1_1_0
18365 wine_fn_config_makefile dlls/api-ms-win-eventing-provider-l1-1-0 enable_api_ms_win_eventing_provider_l1_1_0
18366 wine_fn_config_makefile dlls/api-ms-win-eventlog-legacy-l1-1-0 enable_api_ms_win_eventlog_legacy_l1_1_0
18367 wine_fn_config_makefile dlls/api-ms-win-gdi-dpiinfo-l1-1-0 enable_api_ms_win_gdi_dpiinfo_l1_1_0
18368 wine_fn_config_makefile dlls/api-ms-win-mm-joystick-l1-1-0 enable_api_ms_win_mm_joystick_l1_1_0
18369 wine_fn_config_makefile dlls/api-ms-win-mm-misc-l1-1-1 enable_api_ms_win_mm_misc_l1_1_1
18370 wine_fn_config_makefile dlls/api-ms-win-mm-mme-l1-1-0 enable_api_ms_win_mm_mme_l1_1_0
18371 wine_fn_config_makefile dlls/api-ms-win-mm-time-l1-1-0 enable_api_ms_win_mm_time_l1_1_0
18372 wine_fn_config_makefile dlls/api-ms-win-ntuser-dc-access-l1-1-0 enable_api_ms_win_ntuser_dc_access_l1_1_0
18373 wine_fn_config_makefile dlls/api-ms-win-ntuser-rectangle-l1-1-0 enable_api_ms_win_ntuser_rectangle_l1_1_0
18374 wine_fn_config_makefile dlls/api-ms-win-perf-legacy-l1-1-0 enable_api_ms_win_perf_legacy_l1_1_0
18375 wine_fn_config_makefile dlls/api-ms-win-power-base-l1-1-0 enable_api_ms_win_power_base_l1_1_0
18376 wine_fn_config_makefile dlls/api-ms-win-power-setting-l1-1-0 enable_api_ms_win_power_setting_l1_1_0
18377 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-draw-l1-1-0 enable_api_ms_win_rtcore_ntuser_draw_l1_1_0
18378 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-0 enable_api_ms_win_rtcore_ntuser_private_l1_1_0
18379 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-private-l1-1-4 enable_api_ms_win_rtcore_ntuser_private_l1_1_4
18380 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-window-l1-1-0 enable_api_ms_win_rtcore_ntuser_window_l1_1_0
18381 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-winevent-l1-1-0 enable_api_ms_win_rtcore_ntuser_winevent_l1_1_0
18382 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-0 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_0
18383 wine_fn_config_makefile dlls/api-ms-win-rtcore-ntuser-wmpointer-l1-1-3 enable_api_ms_win_rtcore_ntuser_wmpointer_l1_1_3
18384 wine_fn_config_makefile dlls/api-ms-win-security-activedirectoryclient-l1-1-0 enable_api_ms_win_security_activedirectoryclient_l1_1_0
18385 wine_fn_config_makefile dlls/api-ms-win-security-audit-l1-1-1 enable_api_ms_win_security_audit_l1_1_1
18386 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-1-0 enable_api_ms_win_security_base_l1_1_0
18387 wine_fn_config_makefile dlls/api-ms-win-security-base-l1-2-0 enable_api_ms_win_security_base_l1_2_0
18388 wine_fn_config_makefile dlls/api-ms-win-security-base-private-l1-1-1 enable_api_ms_win_security_base_private_l1_1_1
18389 wine_fn_config_makefile dlls/api-ms-win-security-credentials-l1-1-0 enable_api_ms_win_security_credentials_l1_1_0
18390 wine_fn_config_makefile dlls/api-ms-win-security-grouppolicy-l1-1-0 enable_api_ms_win_security_grouppolicy_l1_1_0
18391 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-0 enable_api_ms_win_security_lsalookup_l1_1_0
18392 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l1-1-1 enable_api_ms_win_security_lsalookup_l1_1_1
18393 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-0 enable_api_ms_win_security_lsalookup_l2_1_0
18394 wine_fn_config_makefile dlls/api-ms-win-security-lsalookup-l2-1-1 enable_api_ms_win_security_lsalookup_l2_1_1
18395 wine_fn_config_makefile dlls/api-ms-win-security-lsapolicy-l1-1-0 enable_api_ms_win_security_lsapolicy_l1_1_0
18396 wine_fn_config_makefile dlls/api-ms-win-security-provider-l1-1-0 enable_api_ms_win_security_provider_l1_1_0
18397 wine_fn_config_makefile dlls/api-ms-win-security-sddl-l1-1-0 enable_api_ms_win_security_sddl_l1_1_0
18398 wine_fn_config_makefile dlls/api-ms-win-security-systemfunctions-l1-1-0 enable_api_ms_win_security_systemfunctions_l1_1_0
18399 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-0 enable_api_ms_win_service_core_l1_1_0
18400 wine_fn_config_makefile dlls/api-ms-win-service-core-l1-1-1 enable_api_ms_win_service_core_l1_1_1
18401 wine_fn_config_makefile dlls/api-ms-win-service-management-l1-1-0 enable_api_ms_win_service_management_l1_1_0
18402 wine_fn_config_makefile dlls/api-ms-win-service-management-l2-1-0 enable_api_ms_win_service_management_l2_1_0
18403 wine_fn_config_makefile dlls/api-ms-win-service-private-l1-1-1 enable_api_ms_win_service_private_l1_1_1
18404 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-1-0 enable_api_ms_win_service_winsvc_l1_1_0
18405 wine_fn_config_makefile dlls/api-ms-win-service-winsvc-l1-2-0 enable_api_ms_win_service_winsvc_l1_2_0
18406 wine_fn_config_makefile dlls/api-ms-win-shcore-obsolete-l1-1-0 enable_api_ms_win_shcore_obsolete_l1_1_0
18407 wine_fn_config_makefile dlls/api-ms-win-shcore-scaling-l1-1-1 enable_api_ms_win_shcore_scaling_l1_1_1
18408 wine_fn_config_makefile dlls/api-ms-win-shcore-stream-l1-1-0 enable_api_ms_win_shcore_stream_l1_1_0
18409 wine_fn_config_makefile dlls/api-ms-win-shcore-thread-l1-1-0 enable_api_ms_win_shcore_thread_l1_1_0
18410 wine_fn_config_makefile dlls/api-ms-win-shell-shellcom-l1-1-0 enable_api_ms_win_shell_shellcom_l1_1_0
18411 wine_fn_config_makefile dlls/api-ms-win-shell-shellfolders-l1-1-0 enable_api_ms_win_shell_shellfolders_l1_1_0
18412 wine_fn_config_makefile dlls/apphelp enable_apphelp
18413 wine_fn_config_makefile dlls/apphelp/tests enable_tests
18414 wine_fn_config_makefile dlls/appwiz.cpl enable_appwiz_cpl
18415 wine_fn_config_makefile dlls/atl enable_atl
18416 wine_fn_config_makefile dlls/atl/tests enable_tests
18417 wine_fn_config_makefile dlls/atl100 enable_atl100
18418 wine_fn_config_makefile dlls/atl100/tests enable_tests
18419 wine_fn_config_makefile dlls/atl110 enable_atl110
18420 wine_fn_config_makefile dlls/atl80 enable_atl80
18421 wine_fn_config_makefile dlls/atl80/tests enable_tests
18422 wine_fn_config_makefile dlls/atl90 enable_atl90
18423 wine_fn_config_makefile dlls/authz enable_authz
18424 wine_fn_config_makefile dlls/avicap32 enable_avicap32
18425 wine_fn_config_makefile dlls/avifil32 enable_avifil32
18426 wine_fn_config_makefile dlls/avifil32/tests enable_tests
18427 wine_fn_config_makefile dlls/avifile.dll16 enable_win16
18428 wine_fn_config_makefile dlls/avrt enable_avrt
18429 wine_fn_config_makefile dlls/bcrypt enable_bcrypt
18430 wine_fn_config_makefile dlls/bcrypt/tests enable_tests
18431 wine_fn_config_makefile dlls/bluetoothapis enable_bluetoothapis
18432 wine_fn_config_makefile dlls/browseui enable_browseui
18433 wine_fn_config_makefile dlls/browseui/tests enable_tests
18434 wine_fn_config_makefile dlls/bthprops.cpl enable_bthprops_cpl
18435 wine_fn_config_makefile dlls/cabinet enable_cabinet
18436 wine_fn_config_makefile dlls/cabinet/tests enable_tests
18437 wine_fn_config_makefile dlls/capi2032 enable_capi2032
18438 wine_fn_config_makefile dlls/cards enable_cards
18439 wine_fn_config_makefile dlls/cdosys enable_cdosys
18440 wine_fn_config_makefile dlls/cfgmgr32 enable_cfgmgr32
18441 wine_fn_config_makefile dlls/clusapi enable_clusapi
18442 wine_fn_config_makefile dlls/combase enable_combase
18443 wine_fn_config_makefile dlls/combase/tests enable_tests
18444 wine_fn_config_makefile dlls/comcat enable_comcat
18445 wine_fn_config_makefile dlls/comcat/tests enable_tests
18446 wine_fn_config_makefile dlls/comctl32 enable_comctl32
18447 wine_fn_config_makefile dlls/comctl32/tests enable_tests
18448 wine_fn_config_makefile dlls/comdlg32 enable_comdlg32
18449 wine_fn_config_makefile dlls/comdlg32/tests enable_tests
18450 wine_fn_config_makefile dlls/comm.drv16 enable_win16
18451 wine_fn_config_makefile dlls/commdlg.dll16 enable_win16
18452 wine_fn_config_makefile dlls/compobj.dll16 enable_win16
18453 wine_fn_config_makefile dlls/compstui enable_compstui
18454 wine_fn_config_makefile dlls/comsvcs enable_comsvcs
18455 wine_fn_config_makefile dlls/concrt140 enable_concrt140
18456 wine_fn_config_makefile dlls/connect enable_connect
18457 wine_fn_config_makefile dlls/credui enable_credui
18458 wine_fn_config_makefile dlls/credui/tests enable_tests
18459 wine_fn_config_makefile dlls/crtdll enable_crtdll
18460 wine_fn_config_makefile dlls/crypt32 enable_crypt32
18461 wine_fn_config_makefile dlls/crypt32/tests enable_tests
18462 wine_fn_config_makefile dlls/cryptdlg enable_cryptdlg
18463 wine_fn_config_makefile dlls/cryptdll enable_cryptdll
18464 wine_fn_config_makefile dlls/cryptext enable_cryptext
18465 wine_fn_config_makefile dlls/cryptnet enable_cryptnet
18466 wine_fn_config_makefile dlls/cryptnet/tests enable_tests
18467 wine_fn_config_makefile dlls/cryptui enable_cryptui
18468 wine_fn_config_makefile dlls/cryptui/tests enable_tests
18469 wine_fn_config_makefile dlls/ctapi32 enable_ctapi32
18470 wine_fn_config_makefile dlls/ctl3d.dll16 enable_win16
18471 wine_fn_config_makefile dlls/ctl3d32 enable_ctl3d32
18472 wine_fn_config_makefile dlls/ctl3dv2.dll16 enable_win16
18473 wine_fn_config_makefile dlls/d2d1 enable_d2d1
18474 wine_fn_config_makefile dlls/d2d1/tests enable_tests
18475 wine_fn_config_makefile dlls/d3d10 enable_d3d10
18476 wine_fn_config_makefile dlls/d3d10/tests enable_tests
18477 wine_fn_config_makefile dlls/d3d10_1 enable_d3d10_1
18478 wine_fn_config_makefile dlls/d3d10_1/tests enable_tests
18479 wine_fn_config_makefile dlls/d3d10core enable_d3d10core
18480 wine_fn_config_makefile dlls/d3d10core/tests enable_tests
18481 wine_fn_config_makefile dlls/d3d11 enable_d3d11
18482 wine_fn_config_makefile dlls/d3d11/tests enable_tests
18483 wine_fn_config_makefile dlls/d3d12 enable_d3d12
18484 wine_fn_config_makefile dlls/d3d12/tests enable_tests
18485 wine_fn_config_makefile dlls/d3d8 enable_d3d8
18486 wine_fn_config_makefile dlls/d3d8/tests enable_tests
18487 wine_fn_config_makefile dlls/d3d9 enable_d3d9
18488 wine_fn_config_makefile dlls/d3d9/tests enable_tests
18489 wine_fn_config_makefile dlls/d3dcompiler_33 enable_d3dcompiler_33
18490 wine_fn_config_makefile dlls/d3dcompiler_34 enable_d3dcompiler_34
18491 wine_fn_config_makefile dlls/d3dcompiler_35 enable_d3dcompiler_35
18492 wine_fn_config_makefile dlls/d3dcompiler_36 enable_d3dcompiler_36
18493 wine_fn_config_makefile dlls/d3dcompiler_37 enable_d3dcompiler_37
18494 wine_fn_config_makefile dlls/d3dcompiler_38 enable_d3dcompiler_38
18495 wine_fn_config_makefile dlls/d3dcompiler_39 enable_d3dcompiler_39
18496 wine_fn_config_makefile dlls/d3dcompiler_40 enable_d3dcompiler_40
18497 wine_fn_config_makefile dlls/d3dcompiler_41 enable_d3dcompiler_41
18498 wine_fn_config_makefile dlls/d3dcompiler_42 enable_d3dcompiler_42
18499 wine_fn_config_makefile dlls/d3dcompiler_43 enable_d3dcompiler_43
18500 wine_fn_config_makefile dlls/d3dcompiler_43/tests enable_tests
18501 wine_fn_config_makefile dlls/d3dcompiler_46 enable_d3dcompiler_46
18502 wine_fn_config_makefile dlls/d3dcompiler_47 enable_d3dcompiler_47
18503 wine_fn_config_makefile dlls/d3dim enable_d3dim
18504 wine_fn_config_makefile dlls/d3drm enable_d3drm
18505 wine_fn_config_makefile dlls/d3drm/tests enable_tests
18506 wine_fn_config_makefile dlls/d3dx10_33 enable_d3dx10_33
18507 wine_fn_config_makefile dlls/d3dx10_34 enable_d3dx10_34
18508 wine_fn_config_makefile dlls/d3dx10_35 enable_d3dx10_35
18509 wine_fn_config_makefile dlls/d3dx10_36 enable_d3dx10_36
18510 wine_fn_config_makefile dlls/d3dx10_37 enable_d3dx10_37
18511 wine_fn_config_makefile dlls/d3dx10_38 enable_d3dx10_38
18512 wine_fn_config_makefile dlls/d3dx10_39 enable_d3dx10_39
18513 wine_fn_config_makefile dlls/d3dx10_40 enable_d3dx10_40
18514 wine_fn_config_makefile dlls/d3dx10_41 enable_d3dx10_41
18515 wine_fn_config_makefile dlls/d3dx10_42 enable_d3dx10_42
18516 wine_fn_config_makefile dlls/d3dx10_43 enable_d3dx10_43
18517 wine_fn_config_makefile dlls/d3dx10_43/tests enable_tests
18518 wine_fn_config_makefile dlls/d3dx11_42 enable_d3dx11_42
18519 wine_fn_config_makefile dlls/d3dx11_43 enable_d3dx11_43
18520 wine_fn_config_makefile dlls/d3dx11_43/tests enable_tests
18521 wine_fn_config_makefile dlls/d3dx9_24 enable_d3dx9_24
18522 wine_fn_config_makefile dlls/d3dx9_25 enable_d3dx9_25
18523 wine_fn_config_makefile dlls/d3dx9_26 enable_d3dx9_26
18524 wine_fn_config_makefile dlls/d3dx9_27 enable_d3dx9_27
18525 wine_fn_config_makefile dlls/d3dx9_28 enable_d3dx9_28
18526 wine_fn_config_makefile dlls/d3dx9_29 enable_d3dx9_29
18527 wine_fn_config_makefile dlls/d3dx9_30 enable_d3dx9_30
18528 wine_fn_config_makefile dlls/d3dx9_31 enable_d3dx9_31
18529 wine_fn_config_makefile dlls/d3dx9_32 enable_d3dx9_32
18530 wine_fn_config_makefile dlls/d3dx9_33 enable_d3dx9_33
18531 wine_fn_config_makefile dlls/d3dx9_34 enable_d3dx9_34
18532 wine_fn_config_makefile dlls/d3dx9_35 enable_d3dx9_35
18533 wine_fn_config_makefile dlls/d3dx9_36 enable_d3dx9_36
18534 wine_fn_config_makefile dlls/d3dx9_36/tests enable_tests
18535 wine_fn_config_makefile dlls/d3dx9_37 enable_d3dx9_37
18536 wine_fn_config_makefile dlls/d3dx9_38 enable_d3dx9_38
18537 wine_fn_config_makefile dlls/d3dx9_39 enable_d3dx9_39
18538 wine_fn_config_makefile dlls/d3dx9_40 enable_d3dx9_40
18539 wine_fn_config_makefile dlls/d3dx9_41 enable_d3dx9_41
18540 wine_fn_config_makefile dlls/d3dx9_42 enable_d3dx9_42
18541 wine_fn_config_makefile dlls/d3dx9_43 enable_d3dx9_43
18542 wine_fn_config_makefile dlls/d3dxof enable_d3dxof
18543 wine_fn_config_makefile dlls/d3dxof/tests enable_tests
18544 wine_fn_config_makefile dlls/davclnt enable_davclnt
18545 wine_fn_config_makefile dlls/dbgeng enable_dbgeng
18546 wine_fn_config_makefile dlls/dbghelp enable_dbghelp
18547 wine_fn_config_makefile dlls/dciman32 enable_dciman32
18548 wine_fn_config_makefile dlls/ddeml.dll16 enable_win16
18549 wine_fn_config_makefile dlls/ddraw enable_ddraw
18550 wine_fn_config_makefile dlls/ddraw/tests enable_tests
18551 wine_fn_config_makefile dlls/ddrawex enable_ddrawex
18552 wine_fn_config_makefile dlls/ddrawex/tests enable_tests
18553 wine_fn_config_makefile dlls/devenum enable_devenum
18554 wine_fn_config_makefile dlls/devenum/tests enable_tests
18555 wine_fn_config_makefile dlls/dhcpcsvc enable_dhcpcsvc
18556 wine_fn_config_makefile dlls/dhtmled.ocx enable_dhtmled_ocx
18557 wine_fn_config_makefile dlls/difxapi enable_difxapi
18558 wine_fn_config_makefile dlls/dinput enable_dinput
18559 wine_fn_config_makefile dlls/dinput/tests enable_tests
18560 wine_fn_config_makefile dlls/dinput8 enable_dinput8
18561 wine_fn_config_makefile dlls/dinput8/tests enable_tests
18562 wine_fn_config_makefile dlls/dispdib.dll16 enable_win16
18563 wine_fn_config_makefile dlls/dispex enable_dispex
18564 wine_fn_config_makefile dlls/dispex/tests enable_tests
18565 wine_fn_config_makefile dlls/display.drv16 enable_win16
18566 wine_fn_config_makefile dlls/dmband enable_dmband
18567 wine_fn_config_makefile dlls/dmband/tests enable_tests
18568 wine_fn_config_makefile dlls/dmcompos enable_dmcompos
18569 wine_fn_config_makefile dlls/dmcompos/tests enable_tests
18570 wine_fn_config_makefile dlls/dmime enable_dmime
18571 wine_fn_config_makefile dlls/dmime/tests enable_tests
18572 wine_fn_config_makefile dlls/dmloader enable_dmloader
18573 wine_fn_config_makefile dlls/dmloader/tests enable_tests
18574 wine_fn_config_makefile dlls/dmscript enable_dmscript
18575 wine_fn_config_makefile dlls/dmscript/tests enable_tests
18576 wine_fn_config_makefile dlls/dmstyle enable_dmstyle
18577 wine_fn_config_makefile dlls/dmstyle/tests enable_tests
18578 wine_fn_config_makefile dlls/dmsynth enable_dmsynth
18579 wine_fn_config_makefile dlls/dmsynth/tests enable_tests
18580 wine_fn_config_makefile dlls/dmusic enable_dmusic
18581 wine_fn_config_makefile dlls/dmusic/tests enable_tests
18582 wine_fn_config_makefile dlls/dmusic32 enable_dmusic32
18583 wine_fn_config_makefile dlls/dnsapi enable_dnsapi
18584 wine_fn_config_makefile dlls/dnsapi/tests enable_tests
18585 wine_fn_config_makefile dlls/dplay enable_dplay
18586 wine_fn_config_makefile dlls/dplayx enable_dplayx
18587 wine_fn_config_makefile dlls/dplayx/tests enable_tests
18588 wine_fn_config_makefile dlls/dpnaddr enable_dpnaddr
18589 wine_fn_config_makefile dlls/dpnet enable_dpnet
18590 wine_fn_config_makefile dlls/dpnet/tests enable_tests
18591 wine_fn_config_makefile dlls/dpnhpast enable_dpnhpast
18592 wine_fn_config_makefile dlls/dpnlobby enable_dpnlobby
18593 wine_fn_config_makefile dlls/dpvoice enable_dpvoice
18594 wine_fn_config_makefile dlls/dpvoice/tests enable_tests
18595 wine_fn_config_makefile dlls/dpwsockx enable_dpwsockx
18596 wine_fn_config_makefile dlls/drmclien enable_drmclien
18597 wine_fn_config_makefile dlls/dsound enable_dsound
18598 wine_fn_config_makefile dlls/dsound/tests enable_tests
18599 wine_fn_config_makefile dlls/dsquery enable_dsquery
18600 wine_fn_config_makefile dlls/dssenh enable_dssenh
18601 wine_fn_config_makefile dlls/dssenh/tests enable_tests
18602 wine_fn_config_makefile dlls/dswave enable_dswave
18603 wine_fn_config_makefile dlls/dswave/tests enable_tests
18604 wine_fn_config_makefile dlls/dwmapi enable_dwmapi
18605 wine_fn_config_makefile dlls/dwrite enable_dwrite
18606 wine_fn_config_makefile dlls/dwrite/tests enable_tests
18607 wine_fn_config_makefile dlls/dx8vb enable_dx8vb
18608 wine_fn_config_makefile dlls/dxdiagn enable_dxdiagn
18609 wine_fn_config_makefile dlls/dxdiagn/tests enable_tests
18610 wine_fn_config_makefile dlls/dxerr8 enable_dxerr8
18611 wine_fn_config_makefile dlls/dxerr9 enable_dxerr9
18612 wine_fn_config_makefile dlls/dxgi enable_dxgi
18613 wine_fn_config_makefile dlls/dxgi/tests enable_tests
18614 wine_fn_config_makefile dlls/dxguid enable_dxguid
18615 wine_fn_config_makefile dlls/dxva2 enable_dxva2
18616 wine_fn_config_makefile dlls/esent enable_esent
18617 wine_fn_config_makefile dlls/evr enable_evr
18618 wine_fn_config_makefile dlls/evr/tests enable_tests
18619 wine_fn_config_makefile dlls/explorerframe enable_explorerframe
18620 wine_fn_config_makefile dlls/explorerframe/tests enable_tests
18621 wine_fn_config_makefile dlls/ext-ms-win-authz-context-l1-1-0 enable_ext_ms_win_authz_context_l1_1_0
18622 wine_fn_config_makefile dlls/ext-ms-win-domainjoin-netjoin-l1-1-0 enable_ext_ms_win_domainjoin_netjoin_l1_1_0
18623 wine_fn_config_makefile dlls/ext-ms-win-dwmapi-ext-l1-1-0 enable_ext_ms_win_dwmapi_ext_l1_1_0
18624 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-create-l1-1-1 enable_ext_ms_win_gdi_dc_create_l1_1_1
18625 wine_fn_config_makefile dlls/ext-ms-win-gdi-dc-l1-2-0 enable_ext_ms_win_gdi_dc_l1_2_0
18626 wine_fn_config_makefile dlls/ext-ms-win-gdi-devcaps-l1-1-0 enable_ext_ms_win_gdi_devcaps_l1_1_0
18627 wine_fn_config_makefile dlls/ext-ms-win-gdi-draw-l1-1-1 enable_ext_ms_win_gdi_draw_l1_1_1
18628 wine_fn_config_makefile dlls/ext-ms-win-gdi-render-l1-1-0 enable_ext_ms_win_gdi_render_l1_1_0
18629 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-current-l1-1-0 enable_ext_ms_win_kernel32_package_current_l1_1_0
18630 wine_fn_config_makefile dlls/ext-ms-win-kernel32-package-l1-1-1 enable_ext_ms_win_kernel32_package_l1_1_1
18631 wine_fn_config_makefile dlls/ext-ms-win-ntuser-draw-l1-1-0 enable_ext_ms_win_ntuser_draw_l1_1_0
18632 wine_fn_config_makefile dlls/ext-ms-win-ntuser-gui-l1-3-0 enable_ext_ms_win_ntuser_gui_l1_3_0
18633 wine_fn_config_makefile dlls/ext-ms-win-ntuser-keyboard-l1-3-0 enable_ext_ms_win_ntuser_keyboard_l1_3_0
18634 wine_fn_config_makefile dlls/ext-ms-win-ntuser-message-l1-1-1 enable_ext_ms_win_ntuser_message_l1_1_1
18635 wine_fn_config_makefile dlls/ext-ms-win-ntuser-misc-l1-5-1 enable_ext_ms_win_ntuser_misc_l1_5_1
18636 wine_fn_config_makefile dlls/ext-ms-win-ntuser-mouse-l1-1-0 enable_ext_ms_win_ntuser_mouse_l1_1_0
18637 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-1-1 enable_ext_ms_win_ntuser_private_l1_1_1
18638 wine_fn_config_makefile dlls/ext-ms-win-ntuser-private-l1-3-1 enable_ext_ms_win_ntuser_private_l1_3_1
18639 wine_fn_config_makefile dlls/ext-ms-win-ntuser-rectangle-ext-l1-1-0 enable_ext_ms_win_ntuser_rectangle_ext_l1_1_0
18640 wine_fn_config_makefile dlls/ext-ms-win-ntuser-uicontext-ext-l1-1-0 enable_ext_ms_win_ntuser_uicontext_ext_l1_1_0
18641 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-1 enable_ext_ms_win_ntuser_window_l1_1_1
18642 wine_fn_config_makefile dlls/ext-ms-win-ntuser-window-l1-1-4 enable_ext_ms_win_ntuser_window_l1_1_4
18643 wine_fn_config_makefile dlls/ext-ms-win-ntuser-windowclass-l1-1-1 enable_ext_ms_win_ntuser_windowclass_l1_1_1
18644 wine_fn_config_makefile dlls/ext-ms-win-oleacc-l1-1-0 enable_ext_ms_win_oleacc_l1_1_0
18645 wine_fn_config_makefile dlls/ext-ms-win-ras-rasapi32-l1-1-0 enable_ext_ms_win_ras_rasapi32_l1_1_0
18646 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-devcaps-l1-1-0 enable_ext_ms_win_rtcore_gdi_devcaps_l1_1_0
18647 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-object-l1-1-0 enable_ext_ms_win_rtcore_gdi_object_l1_1_0
18648 wine_fn_config_makefile dlls/ext-ms-win-rtcore-gdi-rgn-l1-1-0 enable_ext_ms_win_rtcore_gdi_rgn_l1_1_0
18649 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-cursor-l1-1-0 enable_ext_ms_win_rtcore_ntuser_cursor_l1_1_0
18650 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
18651 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-1-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_1_0
18652 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-dpi-l1-2-0 enable_ext_ms_win_rtcore_ntuser_dpi_l1_2_0
18653 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-rawinput-l1-1-0 enable_ext_ms_win_rtcore_ntuser_rawinput_l1_1_0
18654 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-syscolors-l1-1-0 enable_ext_ms_win_rtcore_ntuser_syscolors_l1_1_0
18655 wine_fn_config_makefile dlls/ext-ms-win-rtcore-ntuser-sysparams-l1-1-0 enable_ext_ms_win_rtcore_ntuser_sysparams_l1_1_0
18656 wine_fn_config_makefile dlls/ext-ms-win-security-credui-l1-1-0 enable_ext_ms_win_security_credui_l1_1_0
18657 wine_fn_config_makefile dlls/ext-ms-win-security-cryptui-l1-1-0 enable_ext_ms_win_security_cryptui_l1_1_0
18658 wine_fn_config_makefile dlls/faultrep enable_faultrep
18659 wine_fn_config_makefile dlls/faultrep/tests enable_tests
18660 wine_fn_config_makefile dlls/fltlib enable_fltlib
18661 wine_fn_config_makefile dlls/fltmgr.sys enable_fltmgr_sys
18662 wine_fn_config_makefile dlls/fntcache enable_fntcache
18663 wine_fn_config_makefile dlls/fontsub enable_fontsub
18664 wine_fn_config_makefile dlls/fusion enable_fusion
18665 wine_fn_config_makefile dlls/fusion/tests enable_tests
18666 wine_fn_config_makefile dlls/fwpuclnt enable_fwpuclnt
18667 wine_fn_config_makefile dlls/gameux enable_gameux
18668 wine_fn_config_makefile dlls/gameux/tests enable_tests
18669 wine_fn_config_makefile dlls/gdi.exe16 enable_win16
18670 wine_fn_config_makefile dlls/gdi32 enable_gdi32
18671 wine_fn_config_makefile dlls/gdi32/tests enable_tests
18672 wine_fn_config_makefile dlls/gdiplus enable_gdiplus
18673 wine_fn_config_makefile dlls/gdiplus/tests enable_tests
18674 wine_fn_config_makefile dlls/glu32 enable_glu32
18675 wine_fn_config_makefile dlls/gphoto2.ds enable_gphoto2_ds
18676 wine_fn_config_makefile dlls/gpkcsp enable_gpkcsp
18677 wine_fn_config_makefile dlls/hal enable_hal
18678 wine_fn_config_makefile dlls/hhctrl.ocx enable_hhctrl_ocx
18679 wine_fn_config_makefile dlls/hid enable_hid
18680 wine_fn_config_makefile dlls/hid/tests enable_tests
18681 wine_fn_config_makefile dlls/hidclass.sys enable_hidclass_sys
18682 wine_fn_config_makefile dlls/hlink enable_hlink
18683 wine_fn_config_makefile dlls/hlink/tests enable_tests
18684 wine_fn_config_makefile dlls/hnetcfg enable_hnetcfg
18685 wine_fn_config_makefile dlls/hnetcfg/tests enable_tests
18686 wine_fn_config_makefile dlls/httpapi enable_httpapi
18687 wine_fn_config_makefile dlls/httpapi/tests enable_tests
18688 wine_fn_config_makefile dlls/iccvid enable_iccvid
18689 wine_fn_config_makefile dlls/icmp enable_icmp
18690 wine_fn_config_makefile dlls/ieframe enable_ieframe
18691 wine_fn_config_makefile dlls/ieframe/tests enable_tests
18692 wine_fn_config_makefile dlls/ieproxy enable_ieproxy
18693 wine_fn_config_makefile dlls/ifsmgr.vxd enable_win16
18694 wine_fn_config_makefile dlls/imaadp32.acm enable_imaadp32_acm
18695 wine_fn_config_makefile dlls/imagehlp enable_imagehlp
18696 wine_fn_config_makefile dlls/imagehlp/tests enable_tests
18697 wine_fn_config_makefile dlls/imm.dll16 enable_win16
18698 wine_fn_config_makefile dlls/imm32 enable_imm32
18699 wine_fn_config_makefile dlls/imm32/tests enable_tests
18700 wine_fn_config_makefile dlls/inetcomm enable_inetcomm
18701 wine_fn_config_makefile dlls/inetcomm/tests enable_tests
18702 wine_fn_config_makefile dlls/inetcpl.cpl enable_inetcpl_cpl
18703 wine_fn_config_makefile dlls/inetmib1 enable_inetmib1
18704 wine_fn_config_makefile dlls/inetmib1/tests enable_tests
18705 wine_fn_config_makefile dlls/infosoft enable_infosoft
18706 wine_fn_config_makefile dlls/infosoft/tests enable_tests
18707 wine_fn_config_makefile dlls/initpki enable_initpki
18708 wine_fn_config_makefile dlls/inkobj enable_inkobj
18709 wine_fn_config_makefile dlls/inseng enable_inseng
18710 wine_fn_config_makefile dlls/iphlpapi enable_iphlpapi
18711 wine_fn_config_makefile dlls/iphlpapi/tests enable_tests
18712 wine_fn_config_makefile dlls/iprop enable_iprop
18713 wine_fn_config_makefile dlls/irprops.cpl enable_irprops_cpl
18714 wine_fn_config_makefile dlls/itircl enable_itircl
18715 wine_fn_config_makefile dlls/itss enable_itss
18716 wine_fn_config_makefile dlls/itss/tests enable_tests
18717 wine_fn_config_makefile dlls/joy.cpl enable_joy_cpl
18718 wine_fn_config_makefile dlls/jscript enable_jscript
18719 wine_fn_config_makefile dlls/jscript/tests enable_tests
18720 wine_fn_config_makefile dlls/jsproxy enable_jsproxy
18721 wine_fn_config_makefile dlls/jsproxy/tests enable_tests
18722 wine_fn_config_makefile dlls/kerberos enable_kerberos
18723 wine_fn_config_makefile dlls/kernel32 enable_kernel32
18724 wine_fn_config_makefile dlls/kernel32/tests enable_tests
18725 wine_fn_config_makefile dlls/kernelbase enable_kernelbase
18726 wine_fn_config_makefile dlls/kernelbase/tests enable_tests
18727 wine_fn_config_makefile dlls/keyboard.drv16 enable_win16
18728 wine_fn_config_makefile dlls/krnl386.exe16 enable_win16
18729 wine_fn_config_makefile dlls/ksuser enable_ksuser
18730 wine_fn_config_makefile dlls/ktmw32 enable_ktmw32
18731 wine_fn_config_makefile dlls/l3codeca.acm enable_l3codeca_acm
18732 wine_fn_config_makefile dlls/loadperf enable_loadperf
18733 wine_fn_config_makefile dlls/localspl enable_localspl
18734 wine_fn_config_makefile dlls/localspl/tests enable_tests
18735 wine_fn_config_makefile dlls/localui enable_localui
18736 wine_fn_config_makefile dlls/localui/tests enable_tests
18737 wine_fn_config_makefile dlls/lz32 enable_lz32
18738 wine_fn_config_makefile dlls/lz32/tests enable_tests
18739 wine_fn_config_makefile dlls/lzexpand.dll16 enable_win16
18740 wine_fn_config_makefile dlls/mapi32 enable_mapi32
18741 wine_fn_config_makefile dlls/mapi32/tests enable_tests
18742 wine_fn_config_makefile dlls/mapistub enable_mapistub
18743 wine_fn_config_makefile dlls/mciavi32 enable_mciavi32
18744 wine_fn_config_makefile dlls/mcicda enable_mcicda
18745 wine_fn_config_makefile dlls/mciqtz32 enable_mciqtz32
18746 wine_fn_config_makefile dlls/mciseq enable_mciseq
18747 wine_fn_config_makefile dlls/mciwave enable_mciwave
18748 wine_fn_config_makefile dlls/mf enable_mf
18749 wine_fn_config_makefile dlls/mf/tests enable_tests
18750 wine_fn_config_makefile dlls/mf3216 enable_mf3216
18751 wine_fn_config_makefile dlls/mfplat enable_mfplat
18752 wine_fn_config_makefile dlls/mfplat/tests enable_tests
18753 wine_fn_config_makefile dlls/mfreadwrite enable_mfreadwrite
18754 wine_fn_config_makefile dlls/mfuuid enable_mfuuid
18755 wine_fn_config_makefile dlls/mgmtapi enable_mgmtapi
18756 wine_fn_config_makefile dlls/midimap enable_midimap
18757 wine_fn_config_makefile dlls/mlang enable_mlang
18758 wine_fn_config_makefile dlls/mlang/tests enable_tests
18759 wine_fn_config_makefile dlls/mmcndmgr enable_mmcndmgr
18760 wine_fn_config_makefile dlls/mmcndmgr/tests enable_tests
18761 wine_fn_config_makefile dlls/mmdevapi enable_mmdevapi
18762 wine_fn_config_makefile dlls/mmdevapi/tests enable_tests
18763 wine_fn_config_makefile dlls/mmdevldr.vxd enable_win16
18764 wine_fn_config_makefile dlls/mmsystem.dll16 enable_win16
18765 wine_fn_config_makefile dlls/monodebg.vxd enable_win16
18766 wine_fn_config_makefile dlls/mountmgr.sys enable_mountmgr_sys
18767 wine_fn_config_makefile dlls/mouse.drv16 enable_win16
18768 wine_fn_config_makefile dlls/mpr enable_mpr
18769 wine_fn_config_makefile dlls/mpr/tests enable_tests
18770 wine_fn_config_makefile dlls/mprapi enable_mprapi
18771 wine_fn_config_makefile dlls/msacm.dll16 enable_win16
18772 wine_fn_config_makefile dlls/msacm32.drv enable_msacm32_drv
18773 wine_fn_config_makefile dlls/msacm32 enable_msacm32
18774 wine_fn_config_makefile dlls/msacm32/tests enable_tests
18775 wine_fn_config_makefile dlls/msadp32.acm enable_msadp32_acm
18776 wine_fn_config_makefile dlls/msasn1 enable_msasn1
18777 wine_fn_config_makefile dlls/mscat32 enable_mscat32
18778 wine_fn_config_makefile dlls/mscms enable_mscms
18779 wine_fn_config_makefile dlls/mscms/tests enable_tests
18780 wine_fn_config_makefile dlls/mscoree enable_mscoree
18781 wine_fn_config_makefile dlls/mscoree/tests enable_tests
18782 wine_fn_config_makefile dlls/msctf enable_msctf
18783 wine_fn_config_makefile dlls/msctf/tests enable_tests
18784 wine_fn_config_makefile dlls/msctfp enable_msctfp
18785 wine_fn_config_makefile dlls/msdaps enable_msdaps
18786 wine_fn_config_makefile dlls/msdelta enable_msdelta
18787 wine_fn_config_makefile dlls/msdmo enable_msdmo
18788 wine_fn_config_makefile dlls/msdmo/tests enable_tests
18789 wine_fn_config_makefile dlls/msdrm enable_msdrm
18790 wine_fn_config_makefile dlls/msftedit enable_msftedit
18791 wine_fn_config_makefile dlls/msg711.acm enable_msg711_acm
18792 wine_fn_config_makefile dlls/msgsm32.acm enable_msgsm32_acm
18793 wine_fn_config_makefile dlls/mshtml.tlb enable_mshtml_tlb
18794 wine_fn_config_makefile dlls/mshtml enable_mshtml
18795 wine_fn_config_makefile dlls/mshtml/tests enable_tests
18796 wine_fn_config_makefile dlls/msi enable_msi
18797 wine_fn_config_makefile dlls/msi/tests enable_tests
18798 wine_fn_config_makefile dlls/msident enable_msident
18799 wine_fn_config_makefile dlls/msimg32 enable_msimg32
18800 wine_fn_config_makefile dlls/msimsg enable_msimsg
18801 wine_fn_config_makefile dlls/msimtf enable_msimtf
18802 wine_fn_config_makefile dlls/msisip enable_msisip
18803 wine_fn_config_makefile dlls/msisys.ocx enable_msisys_ocx
18804 wine_fn_config_makefile dlls/msls31 enable_msls31
18805 wine_fn_config_makefile dlls/msnet32 enable_msnet32
18806 wine_fn_config_makefile dlls/mspatcha enable_mspatcha
18807 wine_fn_config_makefile dlls/msports enable_msports
18808 wine_fn_config_makefile dlls/msrle32 enable_msrle32
18809 wine_fn_config_makefile dlls/msrle32/tests enable_tests
18810 wine_fn_config_makefile dlls/msscript.ocx enable_msscript_ocx
18811 wine_fn_config_makefile dlls/msscript.ocx/tests enable_tests
18812 wine_fn_config_makefile dlls/mssign32 enable_mssign32
18813 wine_fn_config_makefile dlls/mssip32 enable_mssip32
18814 wine_fn_config_makefile dlls/mstask enable_mstask
18815 wine_fn_config_makefile dlls/mstask/tests enable_tests
18816 wine_fn_config_makefile dlls/msvcirt enable_msvcirt
18817 wine_fn_config_makefile dlls/msvcirt/tests enable_tests
18818 wine_fn_config_makefile dlls/msvcm80 enable_msvcm80
18819 wine_fn_config_makefile dlls/msvcm90 enable_msvcm90
18820 wine_fn_config_makefile dlls/msvcp100 enable_msvcp100
18821 wine_fn_config_makefile dlls/msvcp100/tests enable_tests
18822 wine_fn_config_makefile dlls/msvcp110 enable_msvcp110
18823 wine_fn_config_makefile dlls/msvcp110/tests enable_tests
18824 wine_fn_config_makefile dlls/msvcp120 enable_msvcp120
18825 wine_fn_config_makefile dlls/msvcp120/tests enable_tests
18826 wine_fn_config_makefile dlls/msvcp120_app enable_msvcp120_app
18827 wine_fn_config_makefile dlls/msvcp140 enable_msvcp140
18828 wine_fn_config_makefile dlls/msvcp140/tests enable_tests
18829 wine_fn_config_makefile dlls/msvcp60 enable_msvcp60
18830 wine_fn_config_makefile dlls/msvcp60/tests enable_tests
18831 wine_fn_config_makefile dlls/msvcp70 enable_msvcp70
18832 wine_fn_config_makefile dlls/msvcp71 enable_msvcp71
18833 wine_fn_config_makefile dlls/msvcp80 enable_msvcp80
18834 wine_fn_config_makefile dlls/msvcp90 enable_msvcp90
18835 wine_fn_config_makefile dlls/msvcp90/tests enable_tests
18836 wine_fn_config_makefile dlls/msvcr100 enable_msvcr100
18837 wine_fn_config_makefile dlls/msvcr100/tests enable_tests
18838 wine_fn_config_makefile dlls/msvcr110 enable_msvcr110
18839 wine_fn_config_makefile dlls/msvcr120 enable_msvcr120
18840 wine_fn_config_makefile dlls/msvcr120/tests enable_tests
18841 wine_fn_config_makefile dlls/msvcr120_app enable_msvcr120_app
18842 wine_fn_config_makefile dlls/msvcr70 enable_msvcr70
18843 wine_fn_config_makefile dlls/msvcr71 enable_msvcr71
18844 wine_fn_config_makefile dlls/msvcr80 enable_msvcr80
18845 wine_fn_config_makefile dlls/msvcr90 enable_msvcr90
18846 wine_fn_config_makefile dlls/msvcr90/tests enable_tests
18847 wine_fn_config_makefile dlls/msvcrt enable_msvcrt
18848 wine_fn_config_makefile dlls/msvcrt/tests enable_tests
18849 wine_fn_config_makefile dlls/msvcrt20 enable_msvcrt20
18850 wine_fn_config_makefile dlls/msvcrt40 enable_msvcrt40
18851 wine_fn_config_makefile dlls/msvcrtd enable_msvcrtd
18852 wine_fn_config_makefile dlls/msvcrtd/tests enable_tests
18853 wine_fn_config_makefile dlls/msvfw32 enable_msvfw32
18854 wine_fn_config_makefile dlls/msvfw32/tests enable_tests
18855 wine_fn_config_makefile dlls/msvidc32 enable_msvidc32
18856 wine_fn_config_makefile dlls/msvideo.dll16 enable_win16
18857 wine_fn_config_makefile dlls/mswsock enable_mswsock
18858 wine_fn_config_makefile dlls/msxml enable_msxml
18859 wine_fn_config_makefile dlls/msxml2 enable_msxml2
18860 wine_fn_config_makefile dlls/msxml3 enable_msxml3
18861 wine_fn_config_makefile dlls/msxml3/tests enable_tests
18862 wine_fn_config_makefile dlls/msxml4 enable_msxml4
18863 wine_fn_config_makefile dlls/msxml6 enable_msxml6
18864 wine_fn_config_makefile dlls/mtxdm enable_mtxdm
18865 wine_fn_config_makefile dlls/ncrypt enable_ncrypt
18866 wine_fn_config_makefile dlls/nddeapi enable_nddeapi
18867 wine_fn_config_makefile dlls/ndis.sys enable_ndis_sys
18868 wine_fn_config_makefile dlls/netapi32 enable_netapi32
18869 wine_fn_config_makefile dlls/netapi32/tests enable_tests
18870 wine_fn_config_makefile dlls/netcfgx enable_netcfgx
18871 wine_fn_config_makefile dlls/netcfgx/tests enable_tests
18872 wine_fn_config_makefile dlls/netprofm enable_netprofm
18873 wine_fn_config_makefile dlls/netprofm/tests enable_tests
18874 wine_fn_config_makefile dlls/newdev enable_newdev
18875 wine_fn_config_makefile dlls/ninput enable_ninput
18876 wine_fn_config_makefile dlls/normaliz enable_normaliz
18877 wine_fn_config_makefile dlls/npmshtml enable_npmshtml
18878 wine_fn_config_makefile dlls/npptools enable_npptools
18879 wine_fn_config_makefile dlls/ntdll enable_ntdll
18880 wine_fn_config_makefile dlls/ntdll/tests enable_tests
18881 wine_fn_config_makefile dlls/ntdsapi enable_ntdsapi
18882 wine_fn_config_makefile dlls/ntdsapi/tests enable_tests
18883 wine_fn_config_makefile dlls/ntoskrnl.exe enable_ntoskrnl_exe
18884 wine_fn_config_makefile dlls/ntprint enable_ntprint
18885 wine_fn_config_makefile dlls/ntprint/tests enable_tests
18886 wine_fn_config_makefile dlls/objsel enable_objsel
18887 wine_fn_config_makefile dlls/odbc32 enable_odbc32
18888 wine_fn_config_makefile dlls/odbccp32 enable_odbccp32
18889 wine_fn_config_makefile dlls/odbccp32/tests enable_tests
18890 wine_fn_config_makefile dlls/odbccu32 enable_odbccu32
18891 wine_fn_config_makefile dlls/ole2.dll16 enable_win16
18892 wine_fn_config_makefile dlls/ole2conv.dll16 enable_win16
18893 wine_fn_config_makefile dlls/ole2disp.dll16 enable_win16
18894 wine_fn_config_makefile dlls/ole2nls.dll16 enable_win16
18895 wine_fn_config_makefile dlls/ole2prox.dll16 enable_win16
18896 wine_fn_config_makefile dlls/ole2thk.dll16 enable_win16
18897 wine_fn_config_makefile dlls/ole32 enable_ole32
18898 wine_fn_config_makefile dlls/ole32/tests enable_tests
18899 wine_fn_config_makefile dlls/oleacc enable_oleacc
18900 wine_fn_config_makefile dlls/oleacc/tests enable_tests
18901 wine_fn_config_makefile dlls/oleaut32 enable_oleaut32
18902 wine_fn_config_makefile dlls/oleaut32/tests enable_tests
18903 wine_fn_config_makefile dlls/olecli.dll16 enable_win16
18904 wine_fn_config_makefile dlls/olecli32 enable_olecli32
18905 wine_fn_config_makefile dlls/oledb32 enable_oledb32
18906 wine_fn_config_makefile dlls/oledb32/tests enable_tests
18907 wine_fn_config_makefile dlls/oledlg enable_oledlg
18908 wine_fn_config_makefile dlls/oledlg/tests enable_tests
18909 wine_fn_config_makefile dlls/olepro32 enable_olepro32
18910 wine_fn_config_makefile dlls/olesvr.dll16 enable_win16
18911 wine_fn_config_makefile dlls/olesvr32 enable_olesvr32
18912 wine_fn_config_makefile dlls/olethk32 enable_olethk32
18913 wine_fn_config_makefile dlls/openal32 enable_openal32
18914 wine_fn_config_makefile dlls/opencl enable_opencl
18915 wine_fn_config_makefile dlls/opengl32 enable_opengl32
18916 wine_fn_config_makefile dlls/opengl32/tests enable_tests
18917 wine_fn_config_makefile dlls/packager enable_packager
18918 wine_fn_config_makefile dlls/packager/tests enable_tests
18919 wine_fn_config_makefile dlls/pdh enable_pdh
18920 wine_fn_config_makefile dlls/pdh/tests enable_tests
18921 wine_fn_config_makefile dlls/photometadatahandler enable_photometadatahandler
18922 wine_fn_config_makefile dlls/pidgen enable_pidgen
18923 wine_fn_config_makefile dlls/powrprof enable_powrprof
18924 wine_fn_config_makefile dlls/printui enable_printui
18925 wine_fn_config_makefile dlls/prntvpt enable_prntvpt
18926 wine_fn_config_makefile dlls/propsys enable_propsys
18927 wine_fn_config_makefile dlls/propsys/tests enable_tests
18928 wine_fn_config_makefile dlls/psapi enable_psapi
18929 wine_fn_config_makefile dlls/psapi/tests enable_tests
18930 wine_fn_config_makefile dlls/pstorec enable_pstorec
18931 wine_fn_config_makefile dlls/pstorec/tests enable_tests
18932 wine_fn_config_makefile dlls/qcap enable_qcap
18933 wine_fn_config_makefile dlls/qcap/tests enable_tests
18934 wine_fn_config_makefile dlls/qedit enable_qedit
18935 wine_fn_config_makefile dlls/qedit/tests enable_tests
18936 wine_fn_config_makefile dlls/qmgr enable_qmgr
18937 wine_fn_config_makefile dlls/qmgr/tests enable_tests
18938 wine_fn_config_makefile dlls/qmgrprxy enable_qmgrprxy
18939 wine_fn_config_makefile dlls/quartz enable_quartz
18940 wine_fn_config_makefile dlls/quartz/tests enable_tests
18941 wine_fn_config_makefile dlls/query enable_query
18942 wine_fn_config_makefile dlls/rasapi16.dll16 enable_win16
18943 wine_fn_config_makefile dlls/rasapi32 enable_rasapi32
18944 wine_fn_config_makefile dlls/rasapi32/tests enable_tests
18945 wine_fn_config_makefile dlls/rasdlg enable_rasdlg
18946 wine_fn_config_makefile dlls/regapi enable_regapi
18947 wine_fn_config_makefile dlls/resutils enable_resutils
18948 wine_fn_config_makefile dlls/riched20 enable_riched20
18949 wine_fn_config_makefile dlls/riched20/tests enable_tests
18950 wine_fn_config_makefile dlls/riched32 enable_riched32
18951 wine_fn_config_makefile dlls/riched32/tests enable_tests
18952 wine_fn_config_makefile dlls/rpcrt4 enable_rpcrt4
18953 wine_fn_config_makefile dlls/rpcrt4/tests enable_tests
18954 wine_fn_config_makefile dlls/rsabase enable_rsabase
18955 wine_fn_config_makefile dlls/rsaenh enable_rsaenh
18956 wine_fn_config_makefile dlls/rsaenh/tests enable_tests
18957 wine_fn_config_makefile dlls/rstrtmgr enable_rstrtmgr
18958 wine_fn_config_makefile dlls/rtutils enable_rtutils
18959 wine_fn_config_makefile dlls/samlib enable_samlib
18960 wine_fn_config_makefile dlls/sane.ds enable_sane_ds
18961 wine_fn_config_makefile dlls/sapi enable_sapi
18962 wine_fn_config_makefile dlls/sapi/tests enable_tests
18963 wine_fn_config_makefile dlls/sas enable_sas
18964 wine_fn_config_makefile dlls/scarddlg enable_scarddlg
18965 wine_fn_config_makefile dlls/sccbase enable_sccbase
18966 wine_fn_config_makefile dlls/schannel enable_schannel
18967 wine_fn_config_makefile dlls/schannel/tests enable_tests
18968 wine_fn_config_makefile dlls/schedsvc enable_schedsvc
18969 wine_fn_config_makefile dlls/schedsvc/tests enable_tests
18970 wine_fn_config_makefile dlls/scrobj enable_scrobj
18971 wine_fn_config_makefile dlls/scrrun enable_scrrun
18972 wine_fn_config_makefile dlls/scrrun/tests enable_tests
18973 wine_fn_config_makefile dlls/scsiport.sys enable_scsiport_sys
18974 wine_fn_config_makefile dlls/secur32 enable_secur32
18975 wine_fn_config_makefile dlls/secur32/tests enable_tests
18976 wine_fn_config_makefile dlls/security enable_security
18977 wine_fn_config_makefile dlls/sensapi enable_sensapi
18978 wine_fn_config_makefile dlls/serialui enable_serialui
18979 wine_fn_config_makefile dlls/serialui/tests enable_tests
18980 wine_fn_config_makefile dlls/setupapi enable_setupapi
18981 wine_fn_config_makefile dlls/setupapi/tests enable_tests
18982 wine_fn_config_makefile dlls/setupx.dll16 enable_win16
18983 wine_fn_config_makefile dlls/sfc enable_sfc
18984 wine_fn_config_makefile dlls/sfc_os enable_sfc_os
18985 wine_fn_config_makefile dlls/shcore enable_shcore
18986 wine_fn_config_makefile dlls/shdoclc enable_shdoclc
18987 wine_fn_config_makefile dlls/shdocvw enable_shdocvw
18988 wine_fn_config_makefile dlls/shdocvw/tests enable_tests
18989 wine_fn_config_makefile dlls/shell.dll16 enable_win16
18990 wine_fn_config_makefile dlls/shell32 enable_shell32
18991 wine_fn_config_makefile dlls/shell32/tests enable_tests
18992 wine_fn_config_makefile dlls/shfolder enable_shfolder
18993 wine_fn_config_makefile dlls/shlwapi enable_shlwapi
18994 wine_fn_config_makefile dlls/shlwapi/tests enable_tests
18995 wine_fn_config_makefile dlls/slbcsp enable_slbcsp
18996 wine_fn_config_makefile dlls/slc enable_slc
18997 wine_fn_config_makefile dlls/slc/tests enable_tests
18998 wine_fn_config_makefile dlls/snmpapi enable_snmpapi
18999 wine_fn_config_makefile dlls/snmpapi/tests enable_tests
19000 wine_fn_config_makefile dlls/softpub enable_softpub
19001 wine_fn_config_makefile dlls/sound.drv16 enable_win16
19002 wine_fn_config_makefile dlls/spoolss enable_spoolss
19003 wine_fn_config_makefile dlls/spoolss/tests enable_tests
19004 wine_fn_config_makefile dlls/sspicli enable_sspicli
19005 wine_fn_config_makefile dlls/stdole2.tlb enable_stdole2_tlb
19006 wine_fn_config_makefile dlls/stdole32.tlb enable_stdole32_tlb
19007 wine_fn_config_makefile dlls/sti enable_sti
19008 wine_fn_config_makefile dlls/sti/tests enable_tests
19009 wine_fn_config_makefile dlls/storage.dll16 enable_win16
19010 wine_fn_config_makefile dlls/stress.dll16 enable_win16
19011 wine_fn_config_makefile dlls/strmbase enable_strmbase
19012 wine_fn_config_makefile dlls/strmdll enable_strmdll
19013 wine_fn_config_makefile dlls/strmiids enable_strmiids
19014 wine_fn_config_makefile dlls/svrapi enable_svrapi
19015 wine_fn_config_makefile dlls/sxs enable_sxs
19016 wine_fn_config_makefile dlls/sxs/tests enable_tests
19017 wine_fn_config_makefile dlls/system.drv16 enable_win16
19018 wine_fn_config_makefile dlls/t2embed enable_t2embed
19019 wine_fn_config_makefile dlls/t2embed/tests enable_tests
19020 wine_fn_config_makefile dlls/tapi32 enable_tapi32
19021 wine_fn_config_makefile dlls/taskschd enable_taskschd
19022 wine_fn_config_makefile dlls/taskschd/tests enable_tests
19023 wine_fn_config_makefile dlls/tdh enable_tdh
19024 wine_fn_config_makefile dlls/tdi.sys enable_tdi_sys
19025 wine_fn_config_makefile dlls/toolhelp.dll16 enable_win16
19026 wine_fn_config_makefile dlls/traffic enable_traffic
19027 wine_fn_config_makefile dlls/twain.dll16 enable_win16
19028 wine_fn_config_makefile dlls/twain_32 enable_twain_32
19029 wine_fn_config_makefile dlls/twain_32/tests enable_tests
19030 wine_fn_config_makefile dlls/typelib.dll16 enable_win16
19031 wine_fn_config_makefile dlls/ucrtbase enable_ucrtbase
19032 wine_fn_config_makefile dlls/ucrtbase/tests enable_tests
19033 wine_fn_config_makefile dlls/uiautomationcore enable_uiautomationcore
19034 wine_fn_config_makefile dlls/uiribbon enable_uiribbon
19035 wine_fn_config_makefile dlls/unicows enable_unicows
19036 wine_fn_config_makefile dlls/updspapi enable_updspapi
19037 wine_fn_config_makefile dlls/url enable_url
19038 wine_fn_config_makefile dlls/urlmon enable_urlmon
19039 wine_fn_config_makefile dlls/urlmon/tests enable_tests
19040 wine_fn_config_makefile dlls/usbd.sys enable_usbd_sys
19041 wine_fn_config_makefile dlls/user.exe16 enable_win16
19042 wine_fn_config_makefile dlls/user32 enable_user32
19043 wine_fn_config_makefile dlls/user32/tests enable_tests
19044 wine_fn_config_makefile dlls/userenv enable_userenv
19045 wine_fn_config_makefile dlls/userenv/tests enable_tests
19046 wine_fn_config_makefile dlls/usp10 enable_usp10
19047 wine_fn_config_makefile dlls/usp10/tests enable_tests
19048 wine_fn_config_makefile dlls/uuid enable_uuid
19049 wine_fn_config_makefile dlls/uxtheme enable_uxtheme
19050 wine_fn_config_makefile dlls/uxtheme/tests enable_tests
19051 wine_fn_config_makefile dlls/vbscript enable_vbscript
19052 wine_fn_config_makefile dlls/vbscript/tests enable_tests
19053 wine_fn_config_makefile dlls/vcomp enable_vcomp
19054 wine_fn_config_makefile dlls/vcomp/tests enable_tests
19055 wine_fn_config_makefile dlls/vcomp100 enable_vcomp100
19056 wine_fn_config_makefile dlls/vcomp110 enable_vcomp110
19057 wine_fn_config_makefile dlls/vcomp120 enable_vcomp120
19058 wine_fn_config_makefile dlls/vcomp140 enable_vcomp140
19059 wine_fn_config_makefile dlls/vcomp90 enable_vcomp90
19060 wine_fn_config_makefile dlls/vcruntime140 enable_vcruntime140
19061 wine_fn_config_makefile dlls/vdhcp.vxd enable_win16
19062 wine_fn_config_makefile dlls/vdmdbg enable_vdmdbg
19063 wine_fn_config_makefile dlls/ver.dll16 enable_win16
19064 wine_fn_config_makefile dlls/version enable_version
19065 wine_fn_config_makefile dlls/version/tests enable_tests
19066 wine_fn_config_makefile dlls/virtdisk enable_virtdisk
19067 wine_fn_config_makefile dlls/vmm.vxd enable_win16
19068 wine_fn_config_makefile dlls/vnbt.vxd enable_win16
19069 wine_fn_config_makefile dlls/vnetbios.vxd enable_win16
19070 wine_fn_config_makefile dlls/vssapi enable_vssapi
19071 wine_fn_config_makefile dlls/vtdapi.vxd enable_win16
19072 wine_fn_config_makefile dlls/vulkan-1 enable_vulkan_1
19073 wine_fn_config_makefile dlls/vwin32.vxd enable_win16
19074 wine_fn_config_makefile dlls/w32skrnl enable_win16
19075 wine_fn_config_makefile dlls/w32sys.dll16 enable_win16
19076 wine_fn_config_makefile dlls/wbemdisp enable_wbemdisp
19077 wine_fn_config_makefile dlls/wbemdisp/tests enable_tests
19078 wine_fn_config_makefile dlls/wbemprox enable_wbemprox
19079 wine_fn_config_makefile dlls/wbemprox/tests enable_tests
19080 wine_fn_config_makefile dlls/wdscore enable_wdscore
19081 wine_fn_config_makefile dlls/webservices enable_webservices
19082 wine_fn_config_makefile dlls/webservices/tests enable_tests
19083 wine_fn_config_makefile dlls/wer enable_wer
19084 wine_fn_config_makefile dlls/wer/tests enable_tests
19085 wine_fn_config_makefile dlls/wevtapi enable_wevtapi
19086 wine_fn_config_makefile dlls/wiaservc enable_wiaservc
19087 wine_fn_config_makefile dlls/wiaservc/tests enable_tests
19088 wine_fn_config_makefile dlls/wimgapi enable_wimgapi
19089 wine_fn_config_makefile dlls/win32s16.dll16 enable_win16
19090 wine_fn_config_makefile dlls/win87em.dll16 enable_win16
19091 wine_fn_config_makefile dlls/winaspi.dll16 enable_win16
19092 wine_fn_config_makefile dlls/windebug.dll16 enable_win16
19093 wine_fn_config_makefile dlls/windowscodecs enable_windowscodecs
19094 wine_fn_config_makefile dlls/windowscodecs/tests enable_tests
19095 wine_fn_config_makefile dlls/windowscodecsext enable_windowscodecsext
19096 wine_fn_config_makefile dlls/windowscodecsext/tests enable_tests
19097 wine_fn_config_makefile dlls/winealsa.drv enable_winealsa_drv
19098 wine_fn_config_makefile dlls/wineandroid.drv enable_wineandroid_drv
19099 wine_fn_config_makefile dlls/winebus.sys enable_winebus_sys
19100 wine_fn_config_makefile dlls/winecoreaudio.drv enable_winecoreaudio_drv
19101 wine_fn_config_makefile dlls/winecrt0 enable_winecrt0
19102 wine_fn_config_makefile dlls/wined3d enable_wined3d
19103 wine_fn_config_makefile dlls/winegstreamer enable_winegstreamer
19104 wine_fn_config_makefile dlls/winehid.sys enable_winehid_sys
19105 wine_fn_config_makefile dlls/winejoystick.drv enable_winejoystick_drv
19106 wine_fn_config_makefile dlls/winemac.drv enable_winemac_drv
19107 wine_fn_config_makefile dlls/winemapi enable_winemapi
19108 wine_fn_config_makefile dlls/wineoss.drv enable_wineoss_drv
19109 wine_fn_config_makefile dlls/wineps.drv enable_wineps_drv
19110 wine_fn_config_makefile dlls/wineps16.drv16 enable_win16
19111 wine_fn_config_makefile dlls/winepulse.drv enable_winepulse_drv
19112 wine_fn_config_makefile dlls/wineqtdecoder enable_wineqtdecoder
19113 wine_fn_config_makefile dlls/winevulkan enable_winevulkan
19114 wine_fn_config_makefile dlls/winex11.drv enable_winex11_drv
19115 wine_fn_config_makefile dlls/wing.dll16 enable_win16
19116 wine_fn_config_makefile dlls/wing32 enable_wing32
19117 wine_fn_config_makefile dlls/winhttp enable_winhttp
19118 wine_fn_config_makefile dlls/winhttp/tests enable_tests
19119 wine_fn_config_makefile dlls/wininet enable_wininet
19120 wine_fn_config_makefile dlls/wininet/tests enable_tests
19121 wine_fn_config_makefile dlls/winmm enable_winmm
19122 wine_fn_config_makefile dlls/winmm/tests enable_tests
19123 wine_fn_config_makefile dlls/winnls.dll16 enable_win16
19124 wine_fn_config_makefile dlls/winnls32 enable_winnls32
19125 wine_fn_config_makefile dlls/winscard enable_winscard
19126 wine_fn_config_makefile dlls/winsock.dll16 enable_win16
19127 wine_fn_config_makefile dlls/winspool.drv enable_winspool_drv
19128 wine_fn_config_makefile dlls/winspool.drv/tests enable_tests
19129 wine_fn_config_makefile dlls/winsta enable_winsta
19130 wine_fn_config_makefile dlls/wintab.dll16 enable_win16
19131 wine_fn_config_makefile dlls/wintab32 enable_wintab32
19132 wine_fn_config_makefile dlls/wintab32/tests enable_tests
19133 wine_fn_config_makefile dlls/wintrust enable_wintrust
19134 wine_fn_config_makefile dlls/wintrust/tests enable_tests
19135 wine_fn_config_makefile dlls/winusb enable_winusb
19136 wine_fn_config_makefile dlls/wlanapi enable_wlanapi
19137 wine_fn_config_makefile dlls/wlanapi/tests enable_tests
19138 wine_fn_config_makefile dlls/wldap32 enable_wldap32
19139 wine_fn_config_makefile dlls/wldap32/tests enable_tests
19140 wine_fn_config_makefile dlls/wmasf enable_wmasf
19141 wine_fn_config_makefile dlls/wmi enable_wmi
19142 wine_fn_config_makefile dlls/wmiutils enable_wmiutils
19143 wine_fn_config_makefile dlls/wmiutils/tests enable_tests
19144 wine_fn_config_makefile dlls/wmp enable_wmp
19145 wine_fn_config_makefile dlls/wmp/tests enable_tests
19146 wine_fn_config_makefile dlls/wmphoto enable_wmphoto
19147 wine_fn_config_makefile dlls/wmvcore enable_wmvcore
19148 wine_fn_config_makefile dlls/wmvcore/tests enable_tests
19149 wine_fn_config_makefile dlls/wnaspi32 enable_wnaspi32
19150 wine_fn_config_makefile dlls/wow32 enable_win16
19151 wine_fn_config_makefile dlls/wpc enable_wpc
19152 wine_fn_config_makefile dlls/wpc/tests enable_tests
19153 wine_fn_config_makefile dlls/wpcap enable_wpcap
19154 wine_fn_config_makefile dlls/ws2_32 enable_ws2_32
19155 wine_fn_config_makefile dlls/ws2_32/tests enable_tests
19156 wine_fn_config_makefile dlls/wsdapi enable_wsdapi
19157 wine_fn_config_makefile dlls/wsdapi/tests enable_tests
19158 wine_fn_config_makefile dlls/wshom.ocx enable_wshom_ocx
19159 wine_fn_config_makefile dlls/wshom.ocx/tests enable_tests
19160 wine_fn_config_makefile dlls/wsnmp32 enable_wsnmp32
19161 wine_fn_config_makefile dlls/wsnmp32/tests enable_tests
19162 wine_fn_config_makefile dlls/wsock32 enable_wsock32
19163 wine_fn_config_makefile dlls/wtsapi32 enable_wtsapi32
19164 wine_fn_config_makefile dlls/wtsapi32/tests enable_tests
19165 wine_fn_config_makefile dlls/wuapi enable_wuapi
19166 wine_fn_config_makefile dlls/wuaueng enable_wuaueng
19167 wine_fn_config_makefile dlls/x3daudio1_0 enable_x3daudio1_0
19168 wine_fn_config_makefile dlls/x3daudio1_1 enable_x3daudio1_1
19169 wine_fn_config_makefile dlls/x3daudio1_2 enable_x3daudio1_2
19170 wine_fn_config_makefile dlls/x3daudio1_3 enable_x3daudio1_3
19171 wine_fn_config_makefile dlls/x3daudio1_4 enable_x3daudio1_4
19172 wine_fn_config_makefile dlls/x3daudio1_5 enable_x3daudio1_5
19173 wine_fn_config_makefile dlls/x3daudio1_6 enable_x3daudio1_6
19174 wine_fn_config_makefile dlls/x3daudio1_7 enable_x3daudio1_7
19175 wine_fn_config_makefile dlls/xapofx1_1 enable_xapofx1_1
19176 wine_fn_config_makefile dlls/xapofx1_2 enable_xapofx1_2
19177 wine_fn_config_makefile dlls/xapofx1_3 enable_xapofx1_3
19178 wine_fn_config_makefile dlls/xapofx1_4 enable_xapofx1_4
19179 wine_fn_config_makefile dlls/xapofx1_5 enable_xapofx1_5
19180 wine_fn_config_makefile dlls/xaudio2_0 enable_xaudio2_0
19181 wine_fn_config_makefile dlls/xaudio2_1 enable_xaudio2_1
19182 wine_fn_config_makefile dlls/xaudio2_2 enable_xaudio2_2
19183 wine_fn_config_makefile dlls/xaudio2_3 enable_xaudio2_3
19184 wine_fn_config_makefile dlls/xaudio2_4 enable_xaudio2_4
19185 wine_fn_config_makefile dlls/xaudio2_5 enable_xaudio2_5
19186 wine_fn_config_makefile dlls/xaudio2_6 enable_xaudio2_6
19187 wine_fn_config_makefile dlls/xaudio2_7 enable_xaudio2_7
19188 wine_fn_config_makefile dlls/xaudio2_7/tests enable_tests
19189 wine_fn_config_makefile dlls/xaudio2_8 enable_xaudio2_8
19190 wine_fn_config_makefile dlls/xaudio2_9 enable_xaudio2_9
19191 wine_fn_config_makefile dlls/xinput1_1 enable_xinput1_1
19192 wine_fn_config_makefile dlls/xinput1_2 enable_xinput1_2
19193 wine_fn_config_makefile dlls/xinput1_3 enable_xinput1_3
19194 wine_fn_config_makefile dlls/xinput1_3/tests enable_tests
19195 wine_fn_config_makefile dlls/xinput1_4 enable_xinput1_4
19196 wine_fn_config_makefile dlls/xinput9_1_0 enable_xinput9_1_0
19197 wine_fn_config_makefile dlls/xmllite enable_xmllite
19198 wine_fn_config_makefile dlls/xmllite/tests enable_tests
19199 wine_fn_config_makefile dlls/xolehlp enable_xolehlp
19200 wine_fn_config_makefile dlls/xpsprint enable_xpsprint
19201 wine_fn_config_makefile dlls/xpssvcs enable_xpssvcs
19202 test -n "$with_wine64" || wine_fn_config_makefile fonts enable_fonts
19203 wine_fn_config_makefile include enable_include
19204 wine_fn_config_makefile libs/port enable_port
19205 wine_fn_config_makefile libs/wine enable_wine
19206 wine_fn_config_makefile libs/wpp enable_wpp
19207 wine_fn_config_makefile loader enable_loader
19208 wine_fn_config_makefile po enable_po
19209 wine_fn_config_makefile programs/arp enable_arp
19210 wine_fn_config_makefile programs/aspnet_regiis enable_aspnet_regiis
19211 wine_fn_config_makefile programs/attrib enable_attrib
19212 wine_fn_config_makefile programs/cabarc enable_cabarc
19213 wine_fn_config_makefile programs/cacls enable_cacls
19214 wine_fn_config_makefile programs/clock enable_clock
19215 wine_fn_config_makefile programs/cmd enable_cmd
19216 wine_fn_config_makefile programs/cmd/tests enable_tests
19217 wine_fn_config_makefile programs/conhost enable_conhost
19218 wine_fn_config_makefile programs/control enable_control
19219 wine_fn_config_makefile programs/cscript enable_cscript
19220 wine_fn_config_makefile programs/dpnsvr enable_dpnsvr
19221 wine_fn_config_makefile programs/dxdiag enable_dxdiag
19222 wine_fn_config_makefile programs/eject enable_eject
19223 wine_fn_config_makefile programs/expand enable_expand
19224 wine_fn_config_makefile programs/explorer enable_explorer
19225 wine_fn_config_makefile programs/extrac32 enable_extrac32
19226 wine_fn_config_makefile programs/findstr enable_findstr
19227 wine_fn_config_makefile programs/fsutil enable_fsutil
19228 wine_fn_config_makefile programs/hh enable_hh
19229 wine_fn_config_makefile programs/hostname enable_hostname
19230 wine_fn_config_makefile programs/icacls enable_icacls
19231 wine_fn_config_makefile programs/icinfo enable_icinfo
19232 wine_fn_config_makefile programs/iexplore enable_iexplore
19233 wine_fn_config_makefile programs/ipconfig enable_ipconfig
19234 wine_fn_config_makefile programs/lodctr enable_lodctr
19235 wine_fn_config_makefile programs/mofcomp enable_mofcomp
19236 wine_fn_config_makefile programs/mshta enable_mshta
19237 wine_fn_config_makefile programs/msiexec enable_msiexec
19238 wine_fn_config_makefile programs/msinfo32 enable_msinfo32
19239 wine_fn_config_makefile programs/net enable_net
19240 wine_fn_config_makefile programs/netsh enable_netsh
19241 wine_fn_config_makefile programs/netstat enable_netstat
19242 wine_fn_config_makefile programs/ngen enable_ngen
19243 wine_fn_config_makefile programs/notepad enable_notepad
19244 wine_fn_config_makefile programs/oleview enable_oleview
19245 wine_fn_config_makefile programs/ping enable_ping
19246 wine_fn_config_makefile programs/plugplay enable_plugplay
19247 wine_fn_config_makefile programs/powershell enable_powershell
19248 wine_fn_config_makefile programs/presentationfontcache enable_presentationfontcache
19249 wine_fn_config_makefile programs/progman enable_progman
19250 wine_fn_config_makefile programs/reg enable_reg
19251 wine_fn_config_makefile programs/reg/tests enable_tests
19252 wine_fn_config_makefile programs/regasm enable_regasm
19253 wine_fn_config_makefile programs/regedit enable_regedit
19254 wine_fn_config_makefile programs/regedit/tests enable_tests
19255 wine_fn_config_makefile programs/regsvcs enable_regsvcs
19256 wine_fn_config_makefile programs/regsvr32 enable_regsvr32
19257 wine_fn_config_makefile programs/rpcss enable_rpcss
19258 wine_fn_config_makefile programs/rundll.exe16 enable_win16
19259 wine_fn_config_makefile programs/rundll32 enable_rundll32
19260 wine_fn_config_makefile programs/sc enable_sc
19261 wine_fn_config_makefile programs/schtasks enable_schtasks
19262 wine_fn_config_makefile programs/schtasks/tests enable_tests
19263 wine_fn_config_makefile programs/sdbinst enable_sdbinst
19264 wine_fn_config_makefile programs/secedit enable_secedit
19265 wine_fn_config_makefile programs/servicemodelreg enable_servicemodelreg
19266 wine_fn_config_makefile programs/services enable_services
19267 wine_fn_config_makefile programs/services/tests enable_tests
19268 wine_fn_config_makefile programs/shutdown enable_shutdown
19269 wine_fn_config_makefile programs/spoolsv enable_spoolsv
19270 wine_fn_config_makefile programs/start enable_start
19271 wine_fn_config_makefile programs/subst enable_subst
19272 wine_fn_config_makefile programs/svchost enable_svchost
19273 wine_fn_config_makefile programs/systeminfo enable_systeminfo
19274 wine_fn_config_makefile programs/taskkill enable_taskkill
19275 wine_fn_config_makefile programs/tasklist enable_tasklist
19276 wine_fn_config_makefile programs/taskmgr enable_taskmgr
19277 wine_fn_config_makefile programs/termsv enable_termsv
19278 wine_fn_config_makefile programs/uninstaller enable_uninstaller
19279 wine_fn_config_makefile programs/unlodctr enable_unlodctr
19280 wine_fn_config_makefile programs/view enable_view
19281 wine_fn_config_makefile programs/wevtutil enable_wevtutil
19282 wine_fn_config_makefile programs/wineboot enable_wineboot
19283 wine_fn_config_makefile programs/winebrowser enable_winebrowser
19284 wine_fn_config_makefile programs/winecfg enable_winecfg
19285 wine_fn_config_makefile programs/wineconsole enable_wineconsole
19286 wine_fn_config_makefile programs/winedbg enable_winedbg
19287 wine_fn_config_makefile programs/winedevice enable_winedevice
19288 wine_fn_config_makefile programs/winefile enable_winefile
19289 wine_fn_config_makefile programs/winemenubuilder enable_winemenubuilder
19290 wine_fn_config_makefile programs/winemine enable_winemine
19291 wine_fn_config_makefile programs/winemsibuilder enable_winemsibuilder
19292 wine_fn_config_makefile programs/winepath enable_winepath
19293 wine_fn_config_makefile programs/winetest enable_winetest
19294 wine_fn_config_makefile programs/winevdm enable_win16
19295 wine_fn_config_makefile programs/winhelp.exe16 enable_win16
19296 wine_fn_config_makefile programs/winhlp32 enable_winhlp32
19297 wine_fn_config_makefile programs/winoldap.mod16 enable_win16
19298 wine_fn_config_makefile programs/winver enable_winver
19299 wine_fn_config_makefile programs/wmic enable_wmic
19300 wine_fn_config_makefile programs/wmplayer enable_wmplayer
19301 wine_fn_config_makefile programs/wordpad enable_wordpad
19302 wine_fn_config_makefile programs/write enable_write
19303 wine_fn_config_makefile programs/wscript enable_wscript
19304 wine_fn_config_makefile programs/wscript/tests enable_tests
19305 wine_fn_config_makefile programs/wusa enable_wusa
19306 wine_fn_config_makefile programs/xcopy enable_xcopy
19307 wine_fn_config_makefile programs/xcopy/tests enable_tests
19308 test -n "$with_wine64" || wine_fn_config_makefile server enable_server
19309 test "x$enable_tools" = xno || wine_fn_config_makefile tools enable_tools
19310 test "x$enable_tools" = xno || wine_fn_config_makefile tools/sfnt2fon enable_sfnt2fon
19311 test "x$enable_tools" = xno || wine_fn_config_makefile tools/widl enable_widl
19312 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winebuild enable_winebuild
19313 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winedump enable_winedump
19314 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winegcc enable_winegcc
19315 test "x$enable_tools" = xno || wine_fn_config_makefile tools/winemaker enable_winemaker
19316 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wmc enable_wmc
19317 test "x$enable_tools" = xno || wine_fn_config_makefile tools/wrc enable_wrc
19320 wine_fn_append_file CONFIGURE_TARGETS "TAGS"
19321 wine_fn_append_file CONFIGURE_TARGETS "tags"
19322 wine_fn_append_file CONFIGURE_TARGETS "autom4te.cache"
19323 wine_fn_append_file CONFIGURE_TARGETS "config.log"
19324 wine_fn_append_file CONFIGURE_TARGETS "config.status"
19325 wine_fn_append_file CONFIGURE_TARGETS "include/config.h"
19326 wine_fn_append_file CONFIGURE_TARGETS "include/stamp-h"
19327 test "$wine_binary" = wine || wine_fn_append_file CONFIGURE_TARGETS "loader/wine"
19329 if test "x$enable_tools" != xno
19330 then
19331 wine_fn_append_file CONFIGURE_TARGETS "tools/makedep$ac_exeext"
19332 ac_config_commands="$ac_config_commands tools/makedep"
19336 ac_config_commands="$ac_config_commands Makefile"
19339 ac_config_files="$ac_config_files Make.tmp:Makefile.in"
19343 if test "x$enable_maintainer_mode" = xyes
19344 then
19345 wine_fn_append_rule "configure: configure.ac aclocal.m4
19346 autoconf --warnings=all
19347 include/config.h.in: include/stamp-h.in
19348 include/stamp-h.in: configure.ac aclocal.m4
19349 autoheader --warnings=all
19350 @echo timestamp > \$@"
19353 if test "x$enable_tools" != xno
19354 then
19355 wine_fn_append_rule "tools/makedep$ac_exeext: $srcdir/tools/makedep.c include/config.h config.status
19356 @./config.status tools/makedep
19357 Makefile: tools/makedep$ac_exeext
19358 fonts: tools/sfnt2fon
19359 include: tools tools/widl"
19360 else
19361 wine_fn_append_rule "\$(MAKEDEP):
19362 @echo \"You need to run make in $TOOLSDIR first\" && false"
19365 if test -n "$with_wine64"
19366 then
19367 wine_fn_append_rule "all: fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader
19368 fonts server:
19369 \$(RM) \$@ && \$(LN_S) $with_wine64/\$@ \$@
19370 $with_wine64/loader/wine:
19371 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine \$@
19372 $with_wine64/loader/wine-preloader:
19373 \$(RM) \$@ && \$(LN_S) $ac_pwd/loader/wine-preloader \$@
19374 clean::
19375 \$(RM) fonts server $with_wine64/loader/wine $with_wine64/loader/wine-preloader"
19376 else
19377 WINELOADER_INSTALL="wine.inf l_intl.nls"
19379 case $host_os in
19380 cygwin*|mingw32*|darwin*|macosx*|linux-android*) ;;
19381 *) WINELOADER_INSTALL="$WINELOADER_INSTALL wine.desktop" ;;
19382 esac
19385 $as_echo " done" >&6
19386 cat >confcache <<\_ACEOF
19387 # This file is a shell script that caches the results of configure
19388 # tests run on this system so they can be shared between configure
19389 # scripts and configure runs, see configure's option --config-cache.
19390 # It is not useful on other systems. If it contains results you don't
19391 # want to keep, you may remove or edit it.
19393 # config.status only pays attention to the cache file if you give it
19394 # the --recheck option to rerun configure.
19396 # `ac_cv_env_foo' variables (set or unset) will be overridden when
19397 # loading this file, other *unset* `ac_cv_foo' will be assigned the
19398 # following values.
19400 _ACEOF
19402 # The following way of writing the cache mishandles newlines in values,
19403 # but we know of no workaround that is simple, portable, and efficient.
19404 # So, we kill variables containing newlines.
19405 # Ultrix sh set writes to stderr and can't be redirected directly,
19406 # and sets the high bit in the cache file unless we assign to the vars.
19408 for ac_var in `(set) 2>&1 | sed -n 's/^\([a-zA-Z_][a-zA-Z0-9_]*\)=.*/\1/p'`; do
19409 eval ac_val=\$$ac_var
19410 case $ac_val in #(
19411 *${as_nl}*)
19412 case $ac_var in #(
19413 *_cv_*) { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: cache variable $ac_var contains a newline" >&5
19414 $as_echo "$as_me: WARNING: cache variable $ac_var contains a newline" >&2;} ;;
19415 esac
19416 case $ac_var in #(
19417 _ | IFS | as_nl) ;; #(
19418 BASH_ARGV | BASH_SOURCE) eval $ac_var= ;; #(
19419 *) { eval $ac_var=; unset $ac_var;} ;;
19420 esac ;;
19421 esac
19422 done
19424 (set) 2>&1 |
19425 case $as_nl`(ac_space=' '; set) 2>&1` in #(
19426 *${as_nl}ac_space=\ *)
19427 # `set' does not quote correctly, so add quotes: double-quote
19428 # substitution turns \\\\ into \\, and sed turns \\ into \.
19429 sed -n \
19430 "s/'/'\\\\''/g;
19431 s/^\\([_$as_cr_alnum]*_cv_[_$as_cr_alnum]*\\)=\\(.*\\)/\\1='\\2'/p"
19432 ;; #(
19434 # `set' quotes correctly as required by POSIX, so do not add quotes.
19435 sed -n "/^[_$as_cr_alnum]*_cv_[_$as_cr_alnum]*=/p"
19437 esac |
19438 sort
19440 sed '
19441 /^ac_cv_env_/b end
19442 t clear
19443 :clear
19444 s/^\([^=]*\)=\(.*[{}].*\)$/test "${\1+set}" = set || &/
19445 t end
19446 s/^\([^=]*\)=\(.*\)$/\1=${\1=\2}/
19447 :end' >>confcache
19448 if diff "$cache_file" confcache >/dev/null 2>&1; then :; else
19449 if test -w "$cache_file"; then
19450 if test "x$cache_file" != "x/dev/null"; then
19451 { $as_echo "$as_me:${as_lineno-$LINENO}: updating cache $cache_file" >&5
19452 $as_echo "$as_me: updating cache $cache_file" >&6;}
19453 if test ! -f "$cache_file" || test -h "$cache_file"; then
19454 cat confcache >"$cache_file"
19455 else
19456 case $cache_file in #(
19457 */* | ?:*)
19458 mv -f confcache "$cache_file"$$ &&
19459 mv -f "$cache_file"$$ "$cache_file" ;; #(
19461 mv -f confcache "$cache_file" ;;
19462 esac
19465 else
19466 { $as_echo "$as_me:${as_lineno-$LINENO}: not updating unwritable cache $cache_file" >&5
19467 $as_echo "$as_me: not updating unwritable cache $cache_file" >&6;}
19470 rm -f confcache
19472 test "x$prefix" = xNONE && prefix=$ac_default_prefix
19473 # Let make expand exec_prefix.
19474 test "x$exec_prefix" = xNONE && exec_prefix='${prefix}'
19476 DEFS=-DHAVE_CONFIG_H
19478 ac_libobjs=
19479 ac_ltlibobjs=
19481 for ac_i in : $LIBOBJS; do test "x$ac_i" = x: && continue
19482 # 1. Remove the extension, and $U if already installed.
19483 ac_script='s/\$U\././;s/\.o$//;s/\.obj$//'
19484 ac_i=`$as_echo "$ac_i" | sed "$ac_script"`
19485 # 2. Prepend LIBOBJDIR. When used with automake>=1.10 LIBOBJDIR
19486 # will be set to the directory where LIBOBJS objects are built.
19487 as_fn_append ac_libobjs " \${LIBOBJDIR}$ac_i\$U.$ac_objext"
19488 as_fn_append ac_ltlibobjs " \${LIBOBJDIR}$ac_i"'$U.lo'
19489 done
19490 LIBOBJS=$ac_libobjs
19492 LTLIBOBJS=$ac_ltlibobjs
19496 : "${CONFIG_STATUS=./config.status}"
19497 ac_write_fail=0
19498 ac_clean_files_save=$ac_clean_files
19499 ac_clean_files="$ac_clean_files $CONFIG_STATUS"
19500 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $CONFIG_STATUS" >&5
19501 $as_echo "$as_me: creating $CONFIG_STATUS" >&6;}
19502 as_write_fail=0
19503 cat >$CONFIG_STATUS <<_ASEOF || as_write_fail=1
19504 #! $SHELL
19505 # Generated by $as_me.
19506 # Run this file to recreate the current configuration.
19507 # Compiler output produced by configure, useful for debugging
19508 # configure, is in config.log if it exists.
19510 debug=false
19511 ac_cs_recheck=false
19512 ac_cs_silent=false
19514 SHELL=\${CONFIG_SHELL-$SHELL}
19515 export SHELL
19516 _ASEOF
19517 cat >>$CONFIG_STATUS <<\_ASEOF || as_write_fail=1
19518 ## -------------------- ##
19519 ## M4sh Initialization. ##
19520 ## -------------------- ##
19522 # Be more Bourne compatible
19523 DUALCASE=1; export DUALCASE # for MKS sh
19524 if test -n "${ZSH_VERSION+set}" && (emulate sh) >/dev/null 2>&1; then :
19525 emulate sh
19526 NULLCMD=:
19527 # Pre-4.2 versions of Zsh do word splitting on ${1+"$@"}, which
19528 # is contrary to our usage. Disable this feature.
19529 alias -g '${1+"$@"}'='"$@"'
19530 setopt NO_GLOB_SUBST
19531 else
19532 case `(set -o) 2>/dev/null` in #(
19533 *posix*) :
19534 set -o posix ;; #(
19535 *) :
19537 esac
19541 as_nl='
19543 export as_nl
19544 # Printing a long string crashes Solaris 7 /usr/bin/printf.
19545 as_echo='\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\'
19546 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo
19547 as_echo=$as_echo$as_echo$as_echo$as_echo$as_echo$as_echo
19548 # Prefer a ksh shell builtin over an external printf program on Solaris,
19549 # but without wasting forks for bash or zsh.
19550 if test -z "$BASH_VERSION$ZSH_VERSION" \
19551 && (test "X`print -r -- $as_echo`" = "X$as_echo") 2>/dev/null; then
19552 as_echo='print -r --'
19553 as_echo_n='print -rn --'
19554 elif (test "X`printf %s $as_echo`" = "X$as_echo") 2>/dev/null; then
19555 as_echo='printf %s\n'
19556 as_echo_n='printf %s'
19557 else
19558 if test "X`(/usr/ucb/echo -n -n $as_echo) 2>/dev/null`" = "X-n $as_echo"; then
19559 as_echo_body='eval /usr/ucb/echo -n "$1$as_nl"'
19560 as_echo_n='/usr/ucb/echo -n'
19561 else
19562 as_echo_body='eval expr "X$1" : "X\\(.*\\)"'
19563 as_echo_n_body='eval
19564 arg=$1;
19565 case $arg in #(
19566 *"$as_nl"*)
19567 expr "X$arg" : "X\\(.*\\)$as_nl";
19568 arg=`expr "X$arg" : ".*$as_nl\\(.*\\)"`;;
19569 esac;
19570 expr "X$arg" : "X\\(.*\\)" | tr -d "$as_nl"
19572 export as_echo_n_body
19573 as_echo_n='sh -c $as_echo_n_body as_echo'
19575 export as_echo_body
19576 as_echo='sh -c $as_echo_body as_echo'
19579 # The user is always right.
19580 if test "${PATH_SEPARATOR+set}" != set; then
19581 PATH_SEPARATOR=:
19582 (PATH='/bin;/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 && {
19583 (PATH='/bin:/bin'; FPATH=$PATH; sh -c :) >/dev/null 2>&1 ||
19584 PATH_SEPARATOR=';'
19589 # IFS
19590 # We need space, tab and new line, in precisely that order. Quoting is
19591 # there to prevent editors from complaining about space-tab.
19592 # (If _AS_PATH_WALK were called with IFS unset, it would disable word
19593 # splitting by setting IFS to empty value.)
19594 IFS=" "" $as_nl"
19596 # Find who we are. Look in the path if we contain no directory separator.
19597 as_myself=
19598 case $0 in #((
19599 *[\\/]* ) as_myself=$0 ;;
19600 *) as_save_IFS=$IFS; IFS=$PATH_SEPARATOR
19601 for as_dir in $PATH
19603 IFS=$as_save_IFS
19604 test -z "$as_dir" && as_dir=.
19605 test -r "$as_dir/$0" && as_myself=$as_dir/$0 && break
19606 done
19607 IFS=$as_save_IFS
19610 esac
19611 # We did not find ourselves, most probably we were run as `sh COMMAND'
19612 # in which case we are not to be found in the path.
19613 if test "x$as_myself" = x; then
19614 as_myself=$0
19616 if test ! -f "$as_myself"; then
19617 $as_echo "$as_myself: error: cannot find myself; rerun with an absolute file name" >&2
19618 exit 1
19621 # Unset variables that we do not need and which cause bugs (e.g. in
19622 # pre-3.0 UWIN ksh). But do not cause bugs in bash 2.01; the "|| exit 1"
19623 # suppresses any "Segmentation fault" message there. '((' could
19624 # trigger a bug in pdksh 5.2.14.
19625 for as_var in BASH_ENV ENV MAIL MAILPATH
19626 do eval test x\${$as_var+set} = xset \
19627 && ( (unset $as_var) || exit 1) >/dev/null 2>&1 && unset $as_var || :
19628 done
19629 PS1='$ '
19630 PS2='> '
19631 PS4='+ '
19633 # NLS nuisances.
19634 LC_ALL=C
19635 export LC_ALL
19636 LANGUAGE=C
19637 export LANGUAGE
19639 # CDPATH.
19640 (unset CDPATH) >/dev/null 2>&1 && unset CDPATH
19643 # as_fn_error STATUS ERROR [LINENO LOG_FD]
19644 # ----------------------------------------
19645 # Output "`basename $0`: error: ERROR" to stderr. If LINENO and LOG_FD are
19646 # provided, also output the error to LOG_FD, referencing LINENO. Then exit the
19647 # script with STATUS, using 1 if that was 0.
19648 as_fn_error ()
19650 as_status=$1; test $as_status -eq 0 && as_status=1
19651 if test "$4"; then
19652 as_lineno=${as_lineno-"$3"} as_lineno_stack=as_lineno_stack=$as_lineno_stack
19653 $as_echo "$as_me:${as_lineno-$LINENO}: error: $2" >&$4
19655 $as_echo "$as_me: error: $2" >&2
19656 as_fn_exit $as_status
19657 } # as_fn_error
19660 # as_fn_set_status STATUS
19661 # -----------------------
19662 # Set $? to STATUS, without forking.
19663 as_fn_set_status ()
19665 return $1
19666 } # as_fn_set_status
19668 # as_fn_exit STATUS
19669 # -----------------
19670 # Exit the shell with STATUS, even in a "trap 0" or "set -e" context.
19671 as_fn_exit ()
19673 set +e
19674 as_fn_set_status $1
19675 exit $1
19676 } # as_fn_exit
19678 # as_fn_unset VAR
19679 # ---------------
19680 # Portably unset VAR.
19681 as_fn_unset ()
19683 { eval $1=; unset $1;}
19685 as_unset=as_fn_unset
19686 # as_fn_append VAR VALUE
19687 # ----------------------
19688 # Append the text in VALUE to the end of the definition contained in VAR. Take
19689 # advantage of any shell optimizations that allow amortized linear growth over
19690 # repeated appends, instead of the typical quadratic growth present in naive
19691 # implementations.
19692 if (eval "as_var=1; as_var+=2; test x\$as_var = x12") 2>/dev/null; then :
19693 eval 'as_fn_append ()
19695 eval $1+=\$2
19697 else
19698 as_fn_append ()
19700 eval $1=\$$1\$2
19702 fi # as_fn_append
19704 # as_fn_arith ARG...
19705 # ------------------
19706 # Perform arithmetic evaluation on the ARGs, and store the result in the
19707 # global $as_val. Take advantage of shells that can avoid forks. The arguments
19708 # must be portable across $(()) and expr.
19709 if (eval "test \$(( 1 + 1 )) = 2") 2>/dev/null; then :
19710 eval 'as_fn_arith ()
19712 as_val=$(( $* ))
19714 else
19715 as_fn_arith ()
19717 as_val=`expr "$@" || test $? -eq 1`
19719 fi # as_fn_arith
19722 if expr a : '\(a\)' >/dev/null 2>&1 &&
19723 test "X`expr 00001 : '.*\(...\)'`" = X001; then
19724 as_expr=expr
19725 else
19726 as_expr=false
19729 if (basename -- /) >/dev/null 2>&1 && test "X`basename -- / 2>&1`" = "X/"; then
19730 as_basename=basename
19731 else
19732 as_basename=false
19735 if (as_dir=`dirname -- /` && test "X$as_dir" = X/) >/dev/null 2>&1; then
19736 as_dirname=dirname
19737 else
19738 as_dirname=false
19741 as_me=`$as_basename -- "$0" ||
19742 $as_expr X/"$0" : '.*/\([^/][^/]*\)/*$' \| \
19743 X"$0" : 'X\(//\)$' \| \
19744 X"$0" : 'X\(/\)' \| . 2>/dev/null ||
19745 $as_echo X/"$0" |
19746 sed '/^.*\/\([^/][^/]*\)\/*$/{
19747 s//\1/
19750 /^X\/\(\/\/\)$/{
19751 s//\1/
19754 /^X\/\(\/\).*/{
19755 s//\1/
19758 s/.*/./; q'`
19760 # Avoid depending upon Character Ranges.
19761 as_cr_letters='abcdefghijklmnopqrstuvwxyz'
19762 as_cr_LETTERS='ABCDEFGHIJKLMNOPQRSTUVWXYZ'
19763 as_cr_Letters=$as_cr_letters$as_cr_LETTERS
19764 as_cr_digits='0123456789'
19765 as_cr_alnum=$as_cr_Letters$as_cr_digits
19767 ECHO_C= ECHO_N= ECHO_T=
19768 case `echo -n x` in #(((((
19769 -n*)
19770 case `echo 'xy\c'` in
19771 *c*) ECHO_T=' ';; # ECHO_T is single tab character.
19772 xy) ECHO_C='\c';;
19773 *) echo `echo ksh88 bug on AIX 6.1` > /dev/null
19774 ECHO_T=' ';;
19775 esac;;
19777 ECHO_N='-n';;
19778 esac
19780 rm -f conf$$ conf$$.exe conf$$.file
19781 if test -d conf$$.dir; then
19782 rm -f conf$$.dir/conf$$.file
19783 else
19784 rm -f conf$$.dir
19785 mkdir conf$$.dir 2>/dev/null
19787 if (echo >conf$$.file) 2>/dev/null; then
19788 if ln -s conf$$.file conf$$ 2>/dev/null; then
19789 as_ln_s='ln -s'
19790 # ... but there are two gotchas:
19791 # 1) On MSYS, both `ln -s file dir' and `ln file dir' fail.
19792 # 2) DJGPP < 2.04 has no symlinks; `ln -s' creates a wrapper executable.
19793 # In both cases, we have to default to `cp -pR'.
19794 ln -s conf$$.file conf$$.dir 2>/dev/null && test ! -f conf$$.exe ||
19795 as_ln_s='cp -pR'
19796 elif ln conf$$.file conf$$ 2>/dev/null; then
19797 as_ln_s=ln
19798 else
19799 as_ln_s='cp -pR'
19801 else
19802 as_ln_s='cp -pR'
19804 rm -f conf$$ conf$$.exe conf$$.dir/conf$$.file conf$$.file
19805 rmdir conf$$.dir 2>/dev/null
19808 # as_fn_mkdir_p
19809 # -------------
19810 # Create "$as_dir" as a directory, including parents if necessary.
19811 as_fn_mkdir_p ()
19814 case $as_dir in #(
19815 -*) as_dir=./$as_dir;;
19816 esac
19817 test -d "$as_dir" || eval $as_mkdir_p || {
19818 as_dirs=
19819 while :; do
19820 case $as_dir in #(
19821 *\'*) as_qdir=`$as_echo "$as_dir" | sed "s/'/'\\\\\\\\''/g"`;; #'(
19822 *) as_qdir=$as_dir;;
19823 esac
19824 as_dirs="'$as_qdir' $as_dirs"
19825 as_dir=`$as_dirname -- "$as_dir" ||
19826 $as_expr X"$as_dir" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
19827 X"$as_dir" : 'X\(//\)[^/]' \| \
19828 X"$as_dir" : 'X\(//\)$' \| \
19829 X"$as_dir" : 'X\(/\)' \| . 2>/dev/null ||
19830 $as_echo X"$as_dir" |
19831 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
19832 s//\1/
19835 /^X\(\/\/\)[^/].*/{
19836 s//\1/
19839 /^X\(\/\/\)$/{
19840 s//\1/
19843 /^X\(\/\).*/{
19844 s//\1/
19847 s/.*/./; q'`
19848 test -d "$as_dir" && break
19849 done
19850 test -z "$as_dirs" || eval "mkdir $as_dirs"
19851 } || test -d "$as_dir" || as_fn_error $? "cannot create directory $as_dir"
19854 } # as_fn_mkdir_p
19855 if mkdir -p . 2>/dev/null; then
19856 as_mkdir_p='mkdir -p "$as_dir"'
19857 else
19858 test -d ./-p && rmdir ./-p
19859 as_mkdir_p=false
19863 # as_fn_executable_p FILE
19864 # -----------------------
19865 # Test if FILE is an executable regular file.
19866 as_fn_executable_p ()
19868 test -f "$1" && test -x "$1"
19869 } # as_fn_executable_p
19870 as_test_x='test -x'
19871 as_executable_p=as_fn_executable_p
19873 # Sed expression to map a string onto a valid CPP name.
19874 as_tr_cpp="eval sed 'y%*$as_cr_letters%P$as_cr_LETTERS%;s%[^_$as_cr_alnum]%_%g'"
19876 # Sed expression to map a string onto a valid variable name.
19877 as_tr_sh="eval sed 'y%*+%pp%;s%[^_$as_cr_alnum]%_%g'"
19880 exec 6>&1
19881 ## ----------------------------------- ##
19882 ## Main body of $CONFIG_STATUS script. ##
19883 ## ----------------------------------- ##
19884 _ASEOF
19885 test $as_write_fail = 0 && chmod +x $CONFIG_STATUS || ac_write_fail=1
19887 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19888 # Save the log message, to keep $0 and so on meaningful, and to
19889 # report actual input values of CONFIG_FILES etc. instead of their
19890 # values after options handling.
19891 ac_log="
19892 This file was extended by Wine $as_me 3.5, which was
19893 generated by GNU Autoconf 2.69. Invocation command line was
19895 CONFIG_FILES = $CONFIG_FILES
19896 CONFIG_HEADERS = $CONFIG_HEADERS
19897 CONFIG_LINKS = $CONFIG_LINKS
19898 CONFIG_COMMANDS = $CONFIG_COMMANDS
19899 $ $0 $@
19901 on `(hostname || uname -n) 2>/dev/null | sed 1q`
19904 _ACEOF
19906 case $ac_config_files in *"
19907 "*) set x $ac_config_files; shift; ac_config_files=$*;;
19908 esac
19910 case $ac_config_headers in *"
19911 "*) set x $ac_config_headers; shift; ac_config_headers=$*;;
19912 esac
19915 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19916 # Files that config.status was made for.
19917 config_files="$ac_config_files"
19918 config_headers="$ac_config_headers"
19919 config_links="$ac_config_links"
19920 config_commands="$ac_config_commands"
19922 _ACEOF
19924 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19925 ac_cs_usage="\
19926 \`$as_me' instantiates files and other configuration actions
19927 from templates according to the current configuration. Unless the files
19928 and actions are specified as TAGs, all are instantiated by default.
19930 Usage: $0 [OPTION]... [TAG]...
19932 -h, --help print this help, then exit
19933 -V, --version print version number and configuration settings, then exit
19934 --config print configuration, then exit
19935 -q, --quiet, --silent
19936 do not print progress messages
19937 -d, --debug don't remove temporary files
19938 --recheck update $as_me by reconfiguring in the same conditions
19939 --file=FILE[:TEMPLATE]
19940 instantiate the configuration file FILE
19941 --header=FILE[:TEMPLATE]
19942 instantiate the configuration header FILE
19944 Configuration files:
19945 $config_files
19947 Configuration headers:
19948 $config_headers
19950 Configuration links:
19951 $config_links
19953 Configuration commands:
19954 $config_commands
19956 Report bugs to <wine-devel@winehq.org>.
19957 Wine home page: <https://www.winehq.org>."
19959 _ACEOF
19960 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
19961 ac_cs_config="`$as_echo "$ac_configure_args" | sed 's/^ //; s/[\\""\`\$]/\\\\&/g'`"
19962 ac_cs_version="\\
19963 Wine config.status 3.5
19964 configured by $0, generated by GNU Autoconf 2.69,
19965 with options \\"\$ac_cs_config\\"
19967 Copyright (C) 2012 Free Software Foundation, Inc.
19968 This config.status script is free software; the Free Software Foundation
19969 gives unlimited permission to copy, distribute and modify it."
19971 ac_pwd='$ac_pwd'
19972 srcdir='$srcdir'
19973 test -n "\$AWK" || AWK=awk
19974 _ACEOF
19976 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
19977 # The default lists apply if the user does not specify any file.
19978 ac_need_defaults=:
19979 while test $# != 0
19981 case $1 in
19982 --*=?*)
19983 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19984 ac_optarg=`expr "X$1" : 'X[^=]*=\(.*\)'`
19985 ac_shift=:
19987 --*=)
19988 ac_option=`expr "X$1" : 'X\([^=]*\)='`
19989 ac_optarg=
19990 ac_shift=:
19993 ac_option=$1
19994 ac_optarg=$2
19995 ac_shift=shift
19997 esac
19999 case $ac_option in
20000 # Handling of the options.
20001 -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
20002 ac_cs_recheck=: ;;
20003 --version | --versio | --versi | --vers | --ver | --ve | --v | -V )
20004 $as_echo "$ac_cs_version"; exit ;;
20005 --config | --confi | --conf | --con | --co | --c )
20006 $as_echo "$ac_cs_config"; exit ;;
20007 --debug | --debu | --deb | --de | --d | -d )
20008 debug=: ;;
20009 --file | --fil | --fi | --f )
20010 $ac_shift
20011 case $ac_optarg in
20012 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20013 '') as_fn_error $? "missing file argument" ;;
20014 esac
20015 as_fn_append CONFIG_FILES " '$ac_optarg'"
20016 ac_need_defaults=false;;
20017 --header | --heade | --head | --hea )
20018 $ac_shift
20019 case $ac_optarg in
20020 *\'*) ac_optarg=`$as_echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` ;;
20021 esac
20022 as_fn_append CONFIG_HEADERS " '$ac_optarg'"
20023 ac_need_defaults=false;;
20024 --he | --h)
20025 # Conflict between --help and --header
20026 as_fn_error $? "ambiguous option: \`$1'
20027 Try \`$0 --help' for more information.";;
20028 --help | --hel | -h )
20029 $as_echo "$ac_cs_usage"; exit ;;
20030 -q | -quiet | --quiet | --quie | --qui | --qu | --q \
20031 | -silent | --silent | --silen | --sile | --sil | --si | --s)
20032 ac_cs_silent=: ;;
20034 # This is an error.
20035 -*) as_fn_error $? "unrecognized option: \`$1'
20036 Try \`$0 --help' for more information." ;;
20038 *) as_fn_append ac_config_targets " $1"
20039 ac_need_defaults=false ;;
20041 esac
20042 shift
20043 done
20045 ac_configure_extra_args=
20047 if $ac_cs_silent; then
20048 exec 6>/dev/null
20049 ac_configure_extra_args="$ac_configure_extra_args --silent"
20052 _ACEOF
20053 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20054 if \$ac_cs_recheck; then
20055 set X $SHELL '$0' $ac_configure_args \$ac_configure_extra_args --no-create --no-recursion
20056 shift
20057 \$as_echo "running CONFIG_SHELL=$SHELL \$*" >&6
20058 CONFIG_SHELL='$SHELL'
20059 export CONFIG_SHELL
20060 exec "\$@"
20063 _ACEOF
20064 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20065 exec 5>>config.log
20067 echo
20068 sed 'h;s/./-/g;s/^.../## /;s/...$/ ##/;p;x;p;x' <<_ASBOX
20069 ## Running $as_me. ##
20070 _ASBOX
20071 $as_echo "$ac_log"
20072 } >&5
20074 _ACEOF
20075 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20077 # INIT-COMMANDS
20079 wine_fn_output_makedep ()
20081 as_dir=tools; as_fn_mkdir_p
20082 $CC -Iinclude -I$srcdir/include -D__WINESRC__ $EXTRACFLAGS $CPPFLAGS $CFLAGS -o tools/makedep$ac_exeext $srcdir/tools/makedep.c $LDFLAGS
20084 wine_fn_output_makefile ()
20086 cat Make.tmp - <<\_WINE_EOF >\$tmp/makefile && mv -f \$tmp/makefile \$1 && rm -f Make.tmp && "$wine_makedep" && return
20087 `cat $wine_rules_file`
20088 _WINE_EOF
20089 as_fn_error $? "could not create Makefile" "$LINENO" 5
20092 _ACEOF
20094 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20096 # Handling of arguments.
20097 for ac_config_target in $ac_config_targets
20099 case $ac_config_target in
20100 "include/config.h") CONFIG_HEADERS="$CONFIG_HEADERS include/config.h" ;;
20101 "include/stamp-h") CONFIG_COMMANDS="$CONFIG_COMMANDS include/stamp-h" ;;
20102 "fonts/marlett.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/marlett.ttf:fonts/marlett.ttf" ;;
20103 "fonts/symbol.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/symbol.ttf:fonts/symbol.ttf" ;;
20104 "fonts/tahoma.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahoma.ttf:fonts/tahoma.ttf" ;;
20105 "fonts/tahomabd.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/tahomabd.ttf:fonts/tahomabd.ttf" ;;
20106 "fonts/wingding.ttf") CONFIG_LINKS="$CONFIG_LINKS fonts/wingding.ttf:fonts/wingding.ttf" ;;
20107 "loader/l_intl.nls") CONFIG_LINKS="$CONFIG_LINKS loader/l_intl.nls:loader/l_intl.nls" ;;
20108 "wine") CONFIG_LINKS="$CONFIG_LINKS wine:tools/winewrapper" ;;
20109 "wine64") CONFIG_LINKS="$CONFIG_LINKS wine64:tools/winewrapper" ;;
20110 "tools/makedep") CONFIG_COMMANDS="$CONFIG_COMMANDS tools/makedep" ;;
20111 "Makefile") CONFIG_COMMANDS="$CONFIG_COMMANDS Makefile" ;;
20112 "Make.tmp") CONFIG_FILES="$CONFIG_FILES Make.tmp:Makefile.in" ;;
20114 *) as_fn_error $? "invalid argument: \`$ac_config_target'" "$LINENO" 5;;
20115 esac
20116 done
20119 # If the user did not use the arguments to specify the items to instantiate,
20120 # then the envvar interface is used. Set only those that are not.
20121 # We use the long form for the default assignment because of an extremely
20122 # bizarre bug on SunOS 4.1.3.
20123 if $ac_need_defaults; then
20124 test "${CONFIG_FILES+set}" = set || CONFIG_FILES=$config_files
20125 test "${CONFIG_HEADERS+set}" = set || CONFIG_HEADERS=$config_headers
20126 test "${CONFIG_LINKS+set}" = set || CONFIG_LINKS=$config_links
20127 test "${CONFIG_COMMANDS+set}" = set || CONFIG_COMMANDS=$config_commands
20130 # Have a temporary directory for convenience. Make it in the build tree
20131 # simply because there is no reason against having it here, and in addition,
20132 # creating and moving files from /tmp can sometimes cause problems.
20133 # Hook for its removal unless debugging.
20134 # Note that there is a small window in which the directory will not be cleaned:
20135 # after its creation but before its name has been assigned to `$tmp'.
20136 $debug ||
20138 tmp= ac_tmp=
20139 trap 'exit_status=$?
20140 : "${ac_tmp:=$tmp}"
20141 { test ! -d "$ac_tmp" || rm -fr "$ac_tmp"; } && exit $exit_status
20143 trap 'as_fn_exit 1' 1 2 13 15
20145 # Create a (secure) tmp directory for tmp files.
20148 tmp=`(umask 077 && mktemp -d "./confXXXXXX") 2>/dev/null` &&
20149 test -d "$tmp"
20150 } ||
20152 tmp=./conf$$-$RANDOM
20153 (umask 077 && mkdir "$tmp")
20154 } || as_fn_error $? "cannot create a temporary directory in ." "$LINENO" 5
20155 ac_tmp=$tmp
20157 # Set up the scripts for CONFIG_FILES section.
20158 # No need to generate them if there are no CONFIG_FILES.
20159 # This happens for instance with `./config.status config.h'.
20160 if test -n "$CONFIG_FILES"; then
20163 ac_cr=`echo X | tr X '\015'`
20164 # On cygwin, bash can eat \r inside `` if the user requested igncr.
20165 # But we know of no other shell where ac_cr would be empty at this
20166 # point, so we can use a bashism as a fallback.
20167 if test "x$ac_cr" = x; then
20168 eval ac_cr=\$\'\\r\'
20170 ac_cs_awk_cr=`$AWK 'BEGIN { print "a\rb" }' </dev/null 2>/dev/null`
20171 if test "$ac_cs_awk_cr" = "a${ac_cr}b"; then
20172 ac_cs_awk_cr='\\r'
20173 else
20174 ac_cs_awk_cr=$ac_cr
20177 echo 'BEGIN {' >"$ac_tmp/subs1.awk" &&
20178 _ACEOF
20182 echo "cat >conf$$subs.awk <<_ACEOF" &&
20183 echo "$ac_subst_vars" | sed 's/.*/&!$&$ac_delim/' &&
20184 echo "_ACEOF"
20185 } >conf$$subs.sh ||
20186 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20187 ac_delim_num=`echo "$ac_subst_vars" | grep -c '^'`
20188 ac_delim='%!_!# '
20189 for ac_last_try in false false false false false :; do
20190 . ./conf$$subs.sh ||
20191 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20193 ac_delim_n=`sed -n "s/.*$ac_delim\$/X/p" conf$$subs.awk | grep -c X`
20194 if test $ac_delim_n = $ac_delim_num; then
20195 break
20196 elif $ac_last_try; then
20197 as_fn_error $? "could not make $CONFIG_STATUS" "$LINENO" 5
20198 else
20199 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20201 done
20202 rm -f conf$$subs.sh
20204 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20205 cat >>"\$ac_tmp/subs1.awk" <<\\_ACAWK &&
20206 _ACEOF
20207 sed -n '
20209 s/^/S["/; s/!.*/"]=/
20212 s/^[^!]*!//
20213 :repl
20214 t repl
20215 s/'"$ac_delim"'$//
20216 t delim
20219 s/\(.\{148\}\)..*/\1/
20220 t more1
20221 s/["\\]/\\&/g; s/^/"/; s/$/\\n"\\/
20224 b repl
20225 :more1
20226 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
20229 s/.\{148\}//
20230 t nl
20231 :delim
20233 s/\(.\{148\}\)..*/\1/
20234 t more2
20235 s/["\\]/\\&/g; s/^/"/; s/$/"/
20238 :more2
20239 s/["\\]/\\&/g; s/^/"/; s/$/"\\/
20242 s/.\{148\}//
20243 t delim
20244 ' <conf$$subs.awk | sed '
20245 /^[^""]/{
20247 s/\n//
20249 ' >>$CONFIG_STATUS || ac_write_fail=1
20250 rm -f conf$$subs.awk
20251 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20252 _ACAWK
20253 cat >>"\$ac_tmp/subs1.awk" <<_ACAWK &&
20254 for (key in S) S_is_set[key] = 1
20255 FS = "\a"
20259 line = $ 0
20260 nfields = split(line, field, "@")
20261 substed = 0
20262 len = length(field[1])
20263 for (i = 2; i < nfields; i++) {
20264 key = field[i]
20265 keylen = length(key)
20266 if (S_is_set[key]) {
20267 value = S[key]
20268 line = substr(line, 1, len) "" value "" substr(line, len + keylen + 3)
20269 len += length(value) + length(field[++i])
20270 substed = 1
20271 } else
20272 len += 1 + keylen
20275 print line
20278 _ACAWK
20279 _ACEOF
20280 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20281 if sed "s/$ac_cr//" < /dev/null > /dev/null 2>&1; then
20282 sed "s/$ac_cr\$//; s/$ac_cr/$ac_cs_awk_cr/g"
20283 else
20285 fi < "$ac_tmp/subs1.awk" > "$ac_tmp/subs.awk" \
20286 || as_fn_error $? "could not setup config files machinery" "$LINENO" 5
20287 _ACEOF
20289 # VPATH may cause trouble with some makes, so we remove sole $(srcdir),
20290 # ${srcdir} and @srcdir@ entries from VPATH if srcdir is ".", strip leading and
20291 # trailing colons and then remove the whole line if VPATH becomes empty
20292 # (actually we leave an empty line to preserve line numbers).
20293 if test "x$srcdir" = x.; then
20294 ac_vpsub='/^[ ]*VPATH[ ]*=[ ]*/{
20296 s///
20297 s/^/:/
20298 s/[ ]*$/:/
20299 s/:\$(srcdir):/:/g
20300 s/:\${srcdir}:/:/g
20301 s/:@srcdir@:/:/g
20302 s/^:*//
20303 s/:*$//
20305 s/\(=[ ]*\).*/\1/
20307 s/\n//
20308 s/^[^=]*=[ ]*$//
20312 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20313 fi # test -n "$CONFIG_FILES"
20315 # Set up the scripts for CONFIG_HEADERS section.
20316 # No need to generate them if there are no CONFIG_HEADERS.
20317 # This happens for instance with `./config.status Makefile'.
20318 if test -n "$CONFIG_HEADERS"; then
20319 cat >"$ac_tmp/defines.awk" <<\_ACAWK ||
20320 BEGIN {
20321 _ACEOF
20323 # Transform confdefs.h into an awk script `defines.awk', embedded as
20324 # here-document in config.status, that substitutes the proper values into
20325 # config.h.in to produce config.h.
20327 # Create a delimiter string that does not exist in confdefs.h, to ease
20328 # handling of long lines.
20329 ac_delim='%!_!# '
20330 for ac_last_try in false false :; do
20331 ac_tt=`sed -n "/$ac_delim/p" confdefs.h`
20332 if test -z "$ac_tt"; then
20333 break
20334 elif $ac_last_try; then
20335 as_fn_error $? "could not make $CONFIG_HEADERS" "$LINENO" 5
20336 else
20337 ac_delim="$ac_delim!$ac_delim _$ac_delim!! "
20339 done
20341 # For the awk script, D is an array of macro values keyed by name,
20342 # likewise P contains macro parameters if any. Preserve backslash
20343 # newline sequences.
20345 ac_word_re=[_$as_cr_Letters][_$as_cr_alnum]*
20346 sed -n '
20347 s/.\{148\}/&'"$ac_delim"'/g
20348 t rset
20349 :rset
20350 s/^[ ]*#[ ]*define[ ][ ]*/ /
20351 t def
20353 :def
20354 s/\\$//
20355 t bsnl
20356 s/["\\]/\\&/g
20357 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
20358 D["\1"]=" \3"/p
20359 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2"/p
20361 :bsnl
20362 s/["\\]/\\&/g
20363 s/^ \('"$ac_word_re"'\)\(([^()]*)\)[ ]*\(.*\)/P["\1"]="\2"\
20364 D["\1"]=" \3\\\\\\n"\\/p
20365 t cont
20366 s/^ \('"$ac_word_re"'\)[ ]*\(.*\)/D["\1"]=" \2\\\\\\n"\\/p
20367 t cont
20369 :cont
20371 s/.\{148\}/&'"$ac_delim"'/g
20372 t clear
20373 :clear
20374 s/\\$//
20375 t bsnlc
20376 s/["\\]/\\&/g; s/^/"/; s/$/"/p
20378 :bsnlc
20379 s/["\\]/\\&/g; s/^/"/; s/$/\\\\\\n"\\/p
20380 b cont
20381 ' <confdefs.h | sed '
20382 s/'"$ac_delim"'/"\\\
20383 "/g' >>$CONFIG_STATUS || ac_write_fail=1
20385 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20386 for (key in D) D_is_set[key] = 1
20387 FS = "\a"
20389 /^[\t ]*#[\t ]*(define|undef)[\t ]+$ac_word_re([\t (]|\$)/ {
20390 line = \$ 0
20391 split(line, arg, " ")
20392 if (arg[1] == "#") {
20393 defundef = arg[2]
20394 mac1 = arg[3]
20395 } else {
20396 defundef = substr(arg[1], 2)
20397 mac1 = arg[2]
20399 split(mac1, mac2, "(") #)
20400 macro = mac2[1]
20401 prefix = substr(line, 1, index(line, defundef) - 1)
20402 if (D_is_set[macro]) {
20403 # Preserve the white space surrounding the "#".
20404 print prefix "define", macro P[macro] D[macro]
20405 next
20406 } else {
20407 # Replace #undef with comments. This is necessary, for example,
20408 # in the case of _POSIX_SOURCE, which is predefined and required
20409 # on some systems where configure will not decide to define it.
20410 if (defundef == "undef") {
20411 print "/*", prefix defundef, macro, "*/"
20412 next
20416 { print }
20417 _ACAWK
20418 _ACEOF
20419 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20420 as_fn_error $? "could not setup config headers machinery" "$LINENO" 5
20421 fi # test -n "$CONFIG_HEADERS"
20424 eval set X " :F $CONFIG_FILES :H $CONFIG_HEADERS :L $CONFIG_LINKS :C $CONFIG_COMMANDS"
20425 shift
20426 for ac_tag
20428 case $ac_tag in
20429 :[FHLC]) ac_mode=$ac_tag; continue;;
20430 esac
20431 case $ac_mode$ac_tag in
20432 :[FHL]*:*);;
20433 :L* | :C*:*) as_fn_error $? "invalid tag \`$ac_tag'" "$LINENO" 5;;
20434 :[FH]-) ac_tag=-:-;;
20435 :[FH]*) ac_tag=$ac_tag:$ac_tag.in;;
20436 esac
20437 ac_save_IFS=$IFS
20438 IFS=:
20439 set x $ac_tag
20440 IFS=$ac_save_IFS
20441 shift
20442 ac_file=$1
20443 shift
20445 case $ac_mode in
20446 :L) ac_source=$1;;
20447 :[FH])
20448 ac_file_inputs=
20449 for ac_f
20451 case $ac_f in
20452 -) ac_f="$ac_tmp/stdin";;
20453 *) # Look for the file first in the build tree, then in the source tree
20454 # (if the path is not absolute). The absolute path cannot be DOS-style,
20455 # because $ac_f cannot contain `:'.
20456 test -f "$ac_f" ||
20457 case $ac_f in
20458 [\\/$]*) false;;
20459 *) test -f "$srcdir/$ac_f" && ac_f="$srcdir/$ac_f";;
20460 esac ||
20461 as_fn_error 1 "cannot find input file: \`$ac_f'" "$LINENO" 5;;
20462 esac
20463 case $ac_f in *\'*) ac_f=`$as_echo "$ac_f" | sed "s/'/'\\\\\\\\''/g"`;; esac
20464 as_fn_append ac_file_inputs " '$ac_f'"
20465 done
20467 # Let's still pretend it is `configure' which instantiates (i.e., don't
20468 # use $as_me), people would be surprised to read:
20469 # /* config.h. Generated by config.status. */
20470 configure_input='Generated from '`
20471 $as_echo "$*" | sed 's|^[^:]*/||;s|:[^:]*/|, |g'
20472 `' by configure.'
20473 if test x"$ac_file" != x-; then
20474 configure_input="$ac_file. $configure_input"
20475 { $as_echo "$as_me:${as_lineno-$LINENO}: creating $ac_file" >&5
20476 $as_echo "$as_me: creating $ac_file" >&6;}
20478 # Neutralize special characters interpreted by sed in replacement strings.
20479 case $configure_input in #(
20480 *\&* | *\|* | *\\* )
20481 ac_sed_conf_input=`$as_echo "$configure_input" |
20482 sed 's/[\\\\&|]/\\\\&/g'`;; #(
20483 *) ac_sed_conf_input=$configure_input;;
20484 esac
20486 case $ac_tag in
20487 *:-:* | *:-) cat >"$ac_tmp/stdin" \
20488 || as_fn_error $? "could not create $ac_file" "$LINENO" 5 ;;
20489 esac
20491 esac
20493 ac_dir=`$as_dirname -- "$ac_file" ||
20494 $as_expr X"$ac_file" : 'X\(.*[^/]\)//*[^/][^/]*/*$' \| \
20495 X"$ac_file" : 'X\(//\)[^/]' \| \
20496 X"$ac_file" : 'X\(//\)$' \| \
20497 X"$ac_file" : 'X\(/\)' \| . 2>/dev/null ||
20498 $as_echo X"$ac_file" |
20499 sed '/^X\(.*[^/]\)\/\/*[^/][^/]*\/*$/{
20500 s//\1/
20503 /^X\(\/\/\)[^/].*/{
20504 s//\1/
20507 /^X\(\/\/\)$/{
20508 s//\1/
20511 /^X\(\/\).*/{
20512 s//\1/
20515 s/.*/./; q'`
20516 as_dir="$ac_dir"; as_fn_mkdir_p
20517 ac_builddir=.
20519 case "$ac_dir" in
20520 .) ac_dir_suffix= ac_top_builddir_sub=. ac_top_build_prefix= ;;
20522 ac_dir_suffix=/`$as_echo "$ac_dir" | sed 's|^\.[\\/]||'`
20523 # A ".." for each directory in $ac_dir_suffix.
20524 ac_top_builddir_sub=`$as_echo "$ac_dir_suffix" | sed 's|/[^\\/]*|/..|g;s|/||'`
20525 case $ac_top_builddir_sub in
20526 "") ac_top_builddir_sub=. ac_top_build_prefix= ;;
20527 *) ac_top_build_prefix=$ac_top_builddir_sub/ ;;
20528 esac ;;
20529 esac
20530 ac_abs_top_builddir=$ac_pwd
20531 ac_abs_builddir=$ac_pwd$ac_dir_suffix
20532 # for backward compatibility:
20533 ac_top_builddir=$ac_top_build_prefix
20535 case $srcdir in
20536 .) # We are building in place.
20537 ac_srcdir=.
20538 ac_top_srcdir=$ac_top_builddir_sub
20539 ac_abs_top_srcdir=$ac_pwd ;;
20540 [\\/]* | ?:[\\/]* ) # Absolute name.
20541 ac_srcdir=$srcdir$ac_dir_suffix;
20542 ac_top_srcdir=$srcdir
20543 ac_abs_top_srcdir=$srcdir ;;
20544 *) # Relative name.
20545 ac_srcdir=$ac_top_build_prefix$srcdir$ac_dir_suffix
20546 ac_top_srcdir=$ac_top_build_prefix$srcdir
20547 ac_abs_top_srcdir=$ac_pwd/$srcdir ;;
20548 esac
20549 ac_abs_srcdir=$ac_abs_top_srcdir$ac_dir_suffix
20552 case $ac_mode in
20555 # CONFIG_FILE
20558 _ACEOF
20560 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20561 # If the template does not know about datarootdir, expand it.
20562 # FIXME: This hack should be removed a few years after 2.60.
20563 ac_datarootdir_hack=; ac_datarootdir_seen=
20564 ac_sed_dataroot='
20565 /datarootdir/ {
20569 /@datadir@/p
20570 /@docdir@/p
20571 /@infodir@/p
20572 /@localedir@/p
20573 /@mandir@/p'
20574 case `eval "sed -n \"\$ac_sed_dataroot\" $ac_file_inputs"` in
20575 *datarootdir*) ac_datarootdir_seen=yes;;
20576 *@datadir@*|*@docdir@*|*@infodir@*|*@localedir@*|*@mandir@*)
20577 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&5
20578 $as_echo "$as_me: WARNING: $ac_file_inputs seems to ignore the --datarootdir setting" >&2;}
20579 _ACEOF
20580 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20581 ac_datarootdir_hack='
20582 s&@datadir@&$datadir&g
20583 s&@docdir@&$docdir&g
20584 s&@infodir@&$infodir&g
20585 s&@localedir@&$localedir&g
20586 s&@mandir@&$mandir&g
20587 s&\\\${datarootdir}&$datarootdir&g' ;;
20588 esac
20589 _ACEOF
20591 # Neutralize VPATH when `$srcdir' = `.'.
20592 # Shell code in configure.ac might set extrasub.
20593 # FIXME: do we really want to maintain this feature?
20594 cat >>$CONFIG_STATUS <<_ACEOF || ac_write_fail=1
20595 ac_sed_extra="$ac_vpsub
20596 $extrasub
20597 _ACEOF
20598 cat >>$CONFIG_STATUS <<\_ACEOF || ac_write_fail=1
20600 /@[a-zA-Z_][a-zA-Z_0-9]*@/!b
20601 s|@configure_input@|$ac_sed_conf_input|;t t
20602 s&@top_builddir@&$ac_top_builddir_sub&;t t
20603 s&@top_build_prefix@&$ac_top_build_prefix&;t t
20604 s&@srcdir@&$ac_srcdir&;t t
20605 s&@abs_srcdir@&$ac_abs_srcdir&;t t
20606 s&@top_srcdir@&$ac_top_srcdir&;t t
20607 s&@abs_top_srcdir@&$ac_abs_top_srcdir&;t t
20608 s&@builddir@&$ac_builddir&;t t
20609 s&@abs_builddir@&$ac_abs_builddir&;t t
20610 s&@abs_top_builddir@&$ac_abs_top_builddir&;t t
20611 $ac_datarootdir_hack
20613 eval sed \"\$ac_sed_extra\" "$ac_file_inputs" | $AWK -f "$ac_tmp/subs.awk" \
20614 >$ac_tmp/out || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20616 test -z "$ac_datarootdir_hack$ac_datarootdir_seen" &&
20617 { ac_out=`sed -n '/\${datarootdir}/p' "$ac_tmp/out"`; test -n "$ac_out"; } &&
20618 { ac_out=`sed -n '/^[ ]*datarootdir[ ]*:*=/p' \
20619 "$ac_tmp/out"`; test -z "$ac_out"; } &&
20620 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20621 which seems to be undefined. Please make sure it is defined" >&5
20622 $as_echo "$as_me: WARNING: $ac_file contains a reference to the variable \`datarootdir'
20623 which seems to be undefined. Please make sure it is defined" >&2;}
20625 rm -f "$ac_tmp/stdin"
20626 case $ac_file in
20627 -) cat "$ac_tmp/out" && rm -f "$ac_tmp/out";;
20628 *) rm -f "$ac_file" && mv "$ac_tmp/out" "$ac_file";;
20629 esac \
20630 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20634 # CONFIG_HEADER
20636 if test x"$ac_file" != x-; then
20638 $as_echo "/* $configure_input */" \
20639 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs"
20640 } >"$ac_tmp/config.h" \
20641 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20642 if diff "$ac_file" "$ac_tmp/config.h" >/dev/null 2>&1; then
20643 { $as_echo "$as_me:${as_lineno-$LINENO}: $ac_file is unchanged" >&5
20644 $as_echo "$as_me: $ac_file is unchanged" >&6;}
20645 else
20646 rm -f "$ac_file"
20647 mv "$ac_tmp/config.h" "$ac_file" \
20648 || as_fn_error $? "could not create $ac_file" "$LINENO" 5
20650 else
20651 $as_echo "/* $configure_input */" \
20652 && eval '$AWK -f "$ac_tmp/defines.awk"' "$ac_file_inputs" \
20653 || as_fn_error $? "could not create -" "$LINENO" 5
20658 # CONFIG_LINK
20661 if test "$ac_source" = "$ac_file" && test "$srcdir" = '.'; then
20663 else
20664 # Prefer the file from the source tree if names are identical.
20665 if test "$ac_source" = "$ac_file" || test ! -r "$ac_source"; then
20666 ac_source=$srcdir/$ac_source
20669 { $as_echo "$as_me:${as_lineno-$LINENO}: linking $ac_source to $ac_file" >&5
20670 $as_echo "$as_me: linking $ac_source to $ac_file" >&6;}
20672 if test ! -r "$ac_source"; then
20673 as_fn_error $? "$ac_source: file not found" "$LINENO" 5
20675 rm -f "$ac_file"
20677 # Try a relative symlink, then a hard link, then a copy.
20678 case $ac_source in
20679 [\\/$]* | ?:[\\/]* ) ac_rel_source=$ac_source ;;
20680 *) ac_rel_source=$ac_top_build_prefix$ac_source ;;
20681 esac
20682 ln -s "$ac_rel_source" "$ac_file" 2>/dev/null ||
20683 ln "$ac_source" "$ac_file" 2>/dev/null ||
20684 cp -p "$ac_source" "$ac_file" ||
20685 as_fn_error $? "cannot link or copy $ac_source to $ac_file" "$LINENO" 5
20688 :C) { $as_echo "$as_me:${as_lineno-$LINENO}: executing $ac_file commands" >&5
20689 $as_echo "$as_me: executing $ac_file commands" >&6;}
20691 esac
20694 case $ac_file$ac_mode in
20695 "include/stamp-h":C) echo timestamp > include/stamp-h ;;
20696 "tools/makedep":C) wine_fn_output_makedep || as_fn_exit $? ;;
20697 "Makefile":C) wine_fn_output_makefile Makefile ;;
20699 esac
20700 done # for ac_tag
20703 as_fn_exit 0
20704 _ACEOF
20705 ac_clean_files=$ac_clean_files_save
20707 test $ac_write_fail = 0 ||
20708 as_fn_error $? "write failure creating $CONFIG_STATUS" "$LINENO" 5
20711 # configure is writing to config.log, and then calls config.status.
20712 # config.status does its own redirection, appending to config.log.
20713 # Unfortunately, on DOS this fails, as config.log is still kept open
20714 # by configure, so config.status won't be able to write to it; its
20715 # output is simply discarded. So we exec the FD to /dev/null,
20716 # effectively closing config.log, so it can be properly (re)opened and
20717 # appended to by config.status. When coming back to configure, we
20718 # need to make the FD available again.
20719 if test "$no_create" != yes; then
20720 ac_cs_success=:
20721 ac_config_status_args=
20722 test "$silent" = yes &&
20723 ac_config_status_args="$ac_config_status_args --quiet"
20724 exec 5>/dev/null
20725 $SHELL $CONFIG_STATUS $ac_config_status_args || ac_cs_success=false
20726 exec 5>>config.log
20727 # Use ||, not &&, to avoid exiting from the if with $? = 1, which
20728 # would make configure fail if this is the last instruction.
20729 $ac_cs_success || as_fn_exit 1
20731 if test -n "$ac_unrecognized_opts" && test "$enable_option_checking" != no; then
20732 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: unrecognized options: $ac_unrecognized_opts" >&5
20733 $as_echo "$as_me: WARNING: unrecognized options: $ac_unrecognized_opts" >&2;}
20737 if test "$no_create" = "yes"
20738 then
20739 exit 0
20742 ac_save_IFS="$IFS"
20743 if test "x$wine_notices" != x; then
20744 echo >&6
20745 IFS="|"
20746 for msg in $wine_notices; do
20747 IFS="$ac_save_IFS"
20748 if ${msg:+false} :; then :
20750 else
20751 { $as_echo "$as_me:${as_lineno-$LINENO}: $msg" >&5
20752 $as_echo "$as_me: $msg" >&6;}
20754 done
20756 IFS="|"
20757 for msg in $wine_warnings; do
20758 IFS="$ac_save_IFS"
20759 if ${msg:+false} :; then :
20761 else
20762 echo >&2
20763 { $as_echo "$as_me:${as_lineno-$LINENO}: WARNING: $msg" >&5
20764 $as_echo "$as_me: WARNING: $msg" >&2;}
20766 done
20767 IFS="$ac_save_IFS"
20769 $as_echo "
20770 $as_me: Finished. Do '${ac_make}' to compile Wine.
20771 " >&6